# GroupDocs API References — Complete API Reference > Class library and REST API reference for GroupDocs document-processing SDKs across .NET, Java, Node.js, and Python. This file concatenates the entire API reference for every product, with navigation boilerplate removed. One top-level section per product, grouped by platform. # GroupDocs.Annotation > Add, edit, and remove annotations — comments, highlights, shapes, and stamps. ## Java ### GroupDocs.Annotation for Java Path: https://reference.groupdocs.com/annotation/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.annotation | The namespace provides classes to annotate documents for all popular document formats. | | com.groupdocs.annotation.cache | The namespace provides classes for customizing caching behaviour. | | com.groupdocs.annotation.exceptions | The namespace provides different exceptions classes. | | com.groupdocs.annotation.licenses | | | com.groupdocs.annotation.localization | The namespace provides classes checking supported locales. | | com.groupdocs.annotation.logging | The namespace provides classes for working with integrated or your own logger. | | com.groupdocs.annotation.models | The namespace provides annotation data classes. | | com.groupdocs.annotation.models.annotationmodels | The namespace provides annotation models data classes. | | com.groupdocs.annotation.models.annotationmodels.interfaces.annotations | The namespace provides annotation models interfaces. | | com.groupdocs.annotation.models.annotationmodels.interfaces.properties | The namespace provides annotation properties interfaces. | | com.groupdocs.annotation.models.formatspecificcomponents.pdf | The namespace provides format specific component models | | com.groupdocs.annotation.options | The namespace provides classes to specify additional options when loading, annotating and saving documents. | | com.groupdocs.annotation.options.export | The namespace provides classes to specify additional options when saving documents. | | com.groupdocs.annotation.options.pagepreview | The namespace provides classes to preview document pages. | ### com.groupdocs.annotation.cache Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.cache.md The namespace provides classes for customizing caching behaviour. #### Classes | Class | Description | | --- | --- | | FileCache | Represents a local on-disk cache. | #### Interfaces | Interface | Description | | --- | --- | | ICache | Defines methods required for storing rendered document and document resources cache. | ### FileCache Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.cache/filecache.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.annotation.cache.ICache ``` public class FileCache implements ICache ``` Represents a local on-disk cache. #### Constructors | Constructor | Description | | --- | --- | | FileCache() | Initializes new instance of FileCache class. | | FileCache(String path) | Initializes new instance of FileCache class. | #### Methods | Method | Description | | --- | --- | | getKeys(String filter) | Returns all file names that contains filter in filename. | | set(String key, Object value) | Serializes data to the local disk. | ##### FileCache() ``` public FileCache() ``` Initializes new instance of FileCache class. ##### FileCache(String path) ``` public FileCache(String path) ``` Initializes new instance of FileCache class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | path | java.lang.String | Path where cache data will be saved | ##### getKeys(String filter) ``` public final System.Collections.Generic.IGenericEnumerable getKeys(String filter) ``` Returns all file names that contains filter in filename. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filter | java.lang.String | The filter to use. | **Returns:** com.aspose.ms.System.Collections.Generic.IGenericEnumerable - File names that contains filter in filename. ##### set(String key, Object value) ``` public final void set(String key, Object value) ``` Serializes data to the local disk. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | An unique identifier for the cache entry. | | value | java.lang.Object | The object to serialize. | ### ICache Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.cache/icache.md ### com.groupdocs.annotation.exceptions Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.exceptions.md The namespace provides different exceptions classes. #### Classes | Class | Description | | --- | --- | | AnnotatorException | Represents errors that occur during document processing. | | ConvertFileException | The exception that is thrown when file conversion failed. | | CorruptedOrDamagedFileException | The exception that is thrown when file is corrupted or damaged. | | FileTypeNotSupportedException | The exception that is thrown when file type is not supported. | | IOException | The exception that is thrown when file processing is failed. | ### AnnotatorException Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.exceptions/annotatorexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException ``` public class AnnotatorException extends GroupDocsException ``` Represents errors that occur during document processing. #### Constructors | Constructor | Description | | --- | --- | | AnnotatorException(Throwable throwable) | Initializes a new instance of the AnnotatorException class. | | AnnotatorException(String message) | Initializes a new instance of the AnnotatorException class. | | AnnotatorException(String message, Exception innerException) | Initializes a new instance of the AnnotatorException class. | ##### AnnotatorException(Throwable throwable) ``` public AnnotatorException(Throwable throwable) ``` Initializes a new instance of the AnnotatorException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | the error object. | ##### AnnotatorException(String message) ``` public AnnotatorException(String message) ``` Initializes a new instance of the AnnotatorException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### AnnotatorException(String message, Exception innerException) ``` public AnnotatorException(String message, Exception innerException) ``` Initializes a new instance of the AnnotatorException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### ConvertFileException Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.exceptions/convertfileexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.annotation.exceptions.AnnotatorException ``` public class ConvertFileException extends AnnotatorException ``` The exception that is thrown when file conversion failed. #### Constructors | Constructor | Description | | --- | --- | | ConvertFileException(String message) | Initializes a new instance of the ConvertFileException class. | | ConvertFileException(String message, RuntimeException innerException) | Initializes a new instance of the ConvertFileException class. | ##### ConvertFileException(String message) ``` public ConvertFileException(String message) ``` Initializes a new instance of the ConvertFileException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### ConvertFileException(String message, RuntimeException innerException) ``` public ConvertFileException(String message, RuntimeException innerException) ``` Initializes a new instance of the ConvertFileException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### CorruptedOrDamagedFileException Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.exceptions/corruptedordamagedfileexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.annotation.exceptions.AnnotatorException ``` public class CorruptedOrDamagedFileException extends AnnotatorException ``` The exception that is thrown when file is corrupted or damaged. #### Constructors | Constructor | Description | | --- | --- | | CorruptedOrDamagedFileException(String message) | Initializes a new instance of the CorruptedOrDamagedFileException class. | | CorruptedOrDamagedFileException(String message, Exception innerException) | Initializes a new instance of the CorruptedOrDamagedFileException class. | ##### CorruptedOrDamagedFileException(String message) ``` public CorruptedOrDamagedFileException(String message) ``` Initializes a new instance of the CorruptedOrDamagedFileException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### CorruptedOrDamagedFileException(String message, Exception innerException) ``` public CorruptedOrDamagedFileException(String message, Exception innerException) ``` Initializes a new instance of the CorruptedOrDamagedFileException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.exceptions/filetypenotsupportedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.annotation.exceptions.AnnotatorException ``` public class FileTypeNotSupportedException extends AnnotatorException ``` The exception that is thrown when file type is not supported. #### Constructors | Constructor | Description | | --- | --- | | FileTypeNotSupportedException(String message) | Initializes a new instance of the FileTypeNotSupportedException class. | | FileTypeNotSupportedException(String message, RuntimeException innerException) | Initializes a new instance of the FileTypeNotSupportedException class. | ##### FileTypeNotSupportedException(String message) ``` public FileTypeNotSupportedException(String message) ``` Initializes a new instance of the FileTypeNotSupportedException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### FileTypeNotSupportedException(String message, RuntimeException innerException) ``` public FileTypeNotSupportedException(String message, RuntimeException innerException) ``` Initializes a new instance of the FileTypeNotSupportedException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### IOException Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.exceptions/ioexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.annotation.exceptions.AnnotatorException ``` public class IOException extends AnnotatorException ``` The exception that is thrown when file processing is failed. #### Constructors | Constructor | Description | | --- | --- | | IOException(String message) | Initializes a new instance of the IOException class. | | IOException(String message, RuntimeException innerException) | Initializes a new instance of the IOException class. | ##### IOException(String message) ``` public IOException(String message) ``` Initializes a new instance of the IOException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### IOException(String message, RuntimeException innerException) ``` public IOException(String message, RuntimeException innerException) ``` Initializes a new instance of the IOException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### com.groupdocs.annotation.licenses Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.licenses.md #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. | | Metered | Provides methods for applying Metered license. | ### License Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.licenses/license.md **Inheritance:** java.lang.Object ``` public class License ``` Provides methods to license the component. Learn more about licensing here . #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | isValidMeteredLicense() | | | isValidLicense() | Gets a value indicating whether this instance is valid license. | | setLicense(InputStream licenseStream) | Licenses the component. | | setLicenseInternal(System.IO.Stream licenseStream) | | | setMeteredLicense() | | | setLicense(Path licensePath) | Licenses the component. | | setLicense(String licensePath) | Licenses the component. | | resetLicense() | | ##### License() ``` public License() ``` ##### isValidMeteredLicense() ``` public static boolean isValidMeteredLicense() ``` **Returns:** boolean ##### isValidLicense() ``` public static boolean isValidLicense() ``` Gets a value indicating whether this instance is valid license. Value: true if this instance is valid license; otherwise, false . **Returns:** boolean ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Licenses the component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | The license stream. | ##### setLicenseInternal(System.IO.Stream licenseStream) ``` public void setLicenseInternal(System.IO.Stream licenseStream) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | com.aspose.ms.System.IO.Stream | | ##### setMeteredLicense() ``` public final void setMeteredLicense() ``` ##### setLicense(Path licensePath) ``` public final void setLicense(Path licensePath) ``` Licenses the component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.nio.file.Path | The license path. | ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Licenses the component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license path. | ##### resetLicense() ``` public static void resetLicense() ``` ### Metered Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.licenses/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods for applying Metered license. #### Constructors | Constructor | Description | | --- | --- | | Metered() | Initializes a new instance of this class. | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves count of credits consumed. | | increaseBytesCount(double length) | | | increaseCreditsByBytesCount(double length) | | | increaseCreditsByOne() | | ##### Metered() ``` public Metered() ``` Initializes a new instance of this class. ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | public key | | privateKey | java.lang.String | private key | ##### getConsumptionQuantity() ``` public static double getConsumptionQuantity() ``` Retrieves amount of MBs processed. **Returns:** double - consumption quantity ##### getConsumptionCredit() ``` public static double getConsumptionCredit() ``` Retrieves count of credits consumed. **Returns:** double - consumption credit ##### increaseBytesCount(double length) ``` public static void increaseBytesCount(double length) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | length | double | | ##### increaseCreditsByBytesCount(double length) ``` public static void increaseCreditsByBytesCount(double length) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | length | double | | ##### increaseCreditsByOne() ``` public static void increaseCreditsByOne() ``` ### com.groupdocs.annotation.localization Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.localization.md The namespace provides classes checking supported locales. #### Classes | Class | Description | | --- | --- | | SupportedLocales | Class that provides methods for checking GroupDocs.Annotation supported locales. | ### SupportedLocales Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.localization/supportedlocales.md **Inheritance:** java.lang.Object ``` public class SupportedLocales ``` Class that provides methods for checking GroupDocs.Annotation supported locales. #### Methods | Method | Description | | --- | --- | | isLocaleSupported(String culture) | Determines whether [is locale supported] [the specified culture]. | | isLocaleSupported(System.Globalization.CultureInfo culture) | Determines whether [is locale supported] [the specified culture]. | ##### isLocaleSupported(String culture) ``` public static boolean isLocaleSupported(String culture) ``` Determines whether [is locale supported] [the specified culture]. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | culture | java.lang.String | The culture. | **Returns:** boolean - ##### isLocaleSupported(System.Globalization.CultureInfo culture) ``` public static boolean isLocaleSupported(System.Globalization.CultureInfo culture) ``` Determines whether [is locale supported] [the specified culture]. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | culture | com.aspose.ms.System.Globalization.CultureInfo | The culture. | **Returns:** boolean - ### com.groupdocs.annotation.logging Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.logging.md The namespace provides classes for working with integrated or your own logger. ### com.groupdocs.annotation.models.annotationmodels.interfaces.annotations Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.md The namespace provides annotation models interfaces. #### Interfaces | Interface | Description | | --- | --- | | IAreaAnnotation | Defines Area annotation properties | | IArrowAnnotation | Defines Arrow annotation properties | | IDistanceAnnotation | Defines Distance annotation properties | | IEllipseAnnotation | Defines Ellipse annotation properties | | IHighlightAnnotation | Defines Highlight annotation properties | | IImageAnnotation | | | ILinkAnnotation | Defines Link annotation properties | | IPointAnnotation | Defines Point annotation properties | | IPolylineAnnotation | Defines Polyline annotation properties | | IReplacementAnnotation | Defines Replacement annotation properties | | IResourcesRedactionAnnotation | Defines Resourse redaction annotation properties | | ISearchTextFragment | Defines Search Text Fragment annotation properties | | ISquigglyAnnotation | Defines Squiggly annotation properties | | IStrikeoutAnnotation | Defines Strikeout annotation properties | | ITextFieldAnnotation | Defines Text field annotation properties | | ITextRedactionAnnotation | Defines Text redaction annotation properties | | IUnderlineAnnotation | Defines Underline annotation properties | | IWatermarkAnnotation | Defines Watermark annotation properties | ### IAreaAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/iareaannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenStyle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenWidth ``` public interface IAreaAnnotation extends IBackgroundColor, IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` Defines Area annotation properties ### IArrowAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/iarrowannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenStyle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenWidth ``` public interface IArrowAnnotation extends IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` Defines Arrow annotation properties ### IDistanceAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/idistanceannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenStyle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenWidth ``` public interface IDistanceAnnotation extends IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` Defines Distance annotation properties ### IEllipseAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/iellipseannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenStyle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenWidth ``` public interface IEllipseAnnotation extends IBackgroundColor, IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` Defines Ellipse annotation properties ### IHighlightAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/ihighlightannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPoints ``` public interface IHighlightAnnotation extends IBackgroundColor, IFontColor, IOpacity, IPoints ``` Defines Highlight annotation properties ### IImageAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/iimageannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IAngle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity ``` public interface IImageAnnotation extends IAngle, IBox, IOpacity ``` ### ILinkAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/ilinkannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPoints, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IUrl ``` public interface ILinkAnnotation extends IFontColor, IBackgroundColor, IOpacity, IPoints, IUrl ``` Defines Link annotation properties ### IPointAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/ipointannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox ``` public interface IPointAnnotation extends IBox ``` Defines Point annotation properties ### IPolylineAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/ipolylineannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenStyle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenWidth, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.ISvgPath ``` public interface IPolylineAnnotation extends IBox, IOpacity, IPenColor, IPenStyle, IPenWidth, ISvgPath ``` Defines Polyline annotation properties ### IReplacementAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/ireplacementannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontSize, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPoints, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.ITextToReplace ``` public interface IReplacementAnnotation extends IFontColor, IFontSize, IBackgroundColor, IOpacity, IPoints, ITextToReplace ``` Defines Replacement annotation properties ### IResourcesRedactionAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/iresourcesredactionannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox ``` public interface IResourcesRedactionAnnotation extends IBox ``` Defines Resourse redaction annotation properties ### ISearchTextFragment Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/isearchtextfragment.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontSize, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontFamily, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IText ``` public interface ISearchTextFragment extends IFontColor, IFontSize, IFontFamily, IBackgroundColor, IText ``` Defines Search Text Fragment annotation properties ### ISquigglyAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/isquigglyannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPoints ``` public interface ISquigglyAnnotation extends IFontColor, IOpacity, IPoints ``` Defines Squiggly annotation properties ### IStrikeoutAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/istrikeoutannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPoints ``` public interface IStrikeoutAnnotation extends IFontColor, IBackgroundColor, IOpacity, IPoints ``` Defines Strikeout annotation properties ### ITextFieldAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/itextfieldannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IText, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.ITextHAlignment, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontFamily, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontSize, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenStyle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPenWidth ``` public interface ITextFieldAnnotation extends IBackgroundColor, IBox, IText, ITextHAlignment, IFontColor, IFontFamily, IFontSize, IOpacity, IPenColor, IPenStyle, IPenWidth ``` Defines Text field annotation properties ### ITextRedactionAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/itextredactionannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPoints ``` public interface ITextRedactionAnnotation extends IFontColor, IPoints ``` Defines Text redaction annotation properties ### IUnderlineAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/iunderlineannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IPoints, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBackgroundColor ``` public interface IUnderlineAnnotation extends IFontColor, IOpacity, IPoints, IBackgroundColor ``` Defines Underline annotation properties ### IWatermarkAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.annotations/iwatermarkannotation.md **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IBox, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IText, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontColor, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontFamily, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IFontSize, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IOpacity, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IAngle, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IHorizontalAlignment, com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IVerticalAlignment ``` public interface IWatermarkAnnotation extends IBox, IText, IFontColor, IFontFamily, IFontSize, IOpacity, IAngle, IHorizontalAlignment, IVerticalAlignment ``` Defines Watermark annotation properties ### com.groupdocs.annotation.models.annotationmodels.interfaces.properties Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties.md The namespace provides annotation properties interfaces. #### Interfaces | Interface | Description | | --- | --- | | IAngle | Defines annotation rotation angle | | IBackgroundColor | Defines annotation background color | | IBox | Defines annotation position | | IFontColor | Defines annotation text font color | | IFontFamily | Defines annotation text font family | | IFontSize | Defines annotation text font size | | IOpacity | Defines annotation opacity | | IPenColor | Defines annotation pen color | | IPenStyle | Defines annotation pen style | | IPenWidth | Defines annotation pen width | | IPoints | Defines annotation position | | ISvgPath | Defines annotation svg path coordinates array | | IText | Defines annotation text | | ITextToReplace | Defines annotation text for replace | | IUrl | Defines annotation link url | ### IAngle Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/iangle.md ### IBackgroundColor Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ibackgroundcolor.md ### IBox Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ibox.md ### IFontColor Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontcolor.md ### IFontFamily Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontfamily.md ### IFontSize Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontsize.md ### IOpacity Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/iopacity.md ### IPenColor Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ipencolor.md ### IPenStyle Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ipenstyle.md ### IPenWidth Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ipenwidth.md ### IPoints Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/ipoints.md ### ISvgPath Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/isvgpath.md ### IText Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/itext.md ### ITextToReplace Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/itexttoreplace.md ### IUrl Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.interfaces.properties/iurl.md ### com.groupdocs.annotation.models.annotationmodels Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels.md The namespace provides annotation models data classes. #### Classes | Class | Description | | --- | --- | | AnnotationBase | Base class for all annotation types | | AreaAnnotation | Represents area annotation properties | | ArrowAnnotation | Represents Arrow annotation properties | | DistanceAnnotation | Represents Distance annotation properties | | EllipseAnnotation | Represents Ellipse annotation properties | | HighlightAnnotation | Represents Highlight annotation properties | | ImageAnnotation | Represents image annotation properties | | LinkAnnotation | Represents Link annotation properties | | PointAnnotation | Represents Point annotation properties | | PolylineAnnotation | Represents Polyline annotation properties | | ReplacementAnnotation | Represents Replacement annotation properties | | ResourcesRedactionAnnotation | Represents Resources redaction annotation properties | | SearchTextFragment | Represents Search Text annotation properties | | SquigglyAnnotation | Represents squiggly annotation properties | | StrikeoutAnnotation | Represents Strikeout annotation properties | | TextFieldAnnotation | Represents Text field annotation properties | | TextRedactionAnnotation | Represents Text redaction annotation properties | | UnderlineAnnotation | Represents Underline annotation properties | | WatermarkAnnotation | Represents Watermark annotation properties | ### AnnotationBase Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/annotationbase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.ICloneable, java.lang.Cloneable, com.aspose.ms.System.IEquatable ``` public abstract class AnnotationBase implements System.ICloneable, Cloneable, System.IEquatable ``` Base class for all annotation types #### Constructors | Constructor | Description | | --- | --- | | AnnotationBase() | | #### Methods | Method | Description | | --- | --- | | getCounter() | | | setCounter(int counter) | | | getId() | Gets or sets annotation unique identifier | | setId(int value) | Gets or sets annotation unique identifier | | getCreatedOn() | Gets or sets annotation creation date | | setCreatedOn(Date value) | Gets or sets annotation creation date | | getMessage() | Gets or sets annotation message | | setMessage(String value) | Gets or sets annotation message | | getPageNumber() | Gets or sets page number to be annotated | | setPageNumber(Integer value) | Gets or sets page number to be annotated | | getReplies() | Represents annotation replies collection | | setReplies(List value) | Represents annotation replies collection | | getStateBeforeAnnotation() | Text state before annotation | | setStateBeforeAnnotation(Object value) | Text state before annotation | | getType() | Gets or sets annotation type | | setType(int value) | Gets or sets annotation type | | getUser() | Gets or sets annotation creator | | setUser(User value) | Gets or sets annotation creator | | equals(AnnotationBase other) | Compares Base Annotations using IEquatable Equals method | | equals(Object obj) | Compares Base Annotations using standard object Equals method | | hashCode() | Returns HashCode of AnnotationBase Message, PageNumber and Type Properties | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### AnnotationBase() ``` public AnnotationBase() ``` ##### getCounter() ``` public static int getCounter() ``` **Returns:** int ##### setCounter(int counter) ``` public static void setCounter(int counter) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | counter | int | | ##### getId() ``` public final int getId() ``` Gets or sets annotation unique identifier **Returns:** int - ##### setId(int value) ``` public final void setId(int value) ``` Gets or sets annotation unique identifier **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getCreatedOn() ``` public final Date getCreatedOn() ``` Gets or sets annotation creation date **Returns:** java.util.Date - ##### setCreatedOn(Date value) ``` public final void setCreatedOn(Date value) ``` Gets or sets annotation creation date **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ##### getMessage() ``` public final String getMessage() ``` Gets or sets annotation message **Returns:** java.lang.String - ##### setMessage(String value) ``` public final void setMessage(String value) ``` Gets or sets annotation message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getPageNumber() ``` public final Integer getPageNumber() ``` Gets or sets page number to be annotated **Returns:** java.lang.Integer - ##### setPageNumber(Integer value) ``` public final void setPageNumber(Integer value) ``` Gets or sets page number to be annotated **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getReplies() ``` public final List getReplies() ``` Represents annotation replies collection **Returns:** java.util.List - ##### setReplies(List value) ``` public final void setReplies(List value) ``` Represents annotation replies collection **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getStateBeforeAnnotation() ``` public final Object getStateBeforeAnnotation() ``` Text state before annotation **Returns:** java.lang.Object - ##### setStateBeforeAnnotation(Object value) ``` public final void setStateBeforeAnnotation(Object value) ``` Text state before annotation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | | ##### getType() ``` public final int getType() ``` Gets or sets annotation type **Returns:** int - ##### setType(int value) ``` public final void setType(int value) ``` Gets or sets annotation type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getUser() ``` public final User getUser() ``` Gets or sets annotation creator **Returns:** User - ##### setUser(User value) ``` public final void setUser(User value) ``` Gets or sets annotation creator **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | User | | ##### equals(AnnotationBase other) ``` public final boolean equals(AnnotationBase other) ``` Compares Base Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | AnnotationBase | The AnnotationBase object to compare with the current object | **Returns:** boolean - ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Compares Base Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of AnnotationBase Message, PageNumber and Type Properties **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### AreaAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/areaannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBaseProps **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IAreaAnnotation ``` public class AreaAnnotation extends AnnotationBaseProps implements IAreaAnnotation ``` Represents area annotation properties #### Constructors | Constructor | Description | | --- | --- | | AreaAnnotation() | Initializes new instance of AreaAnnotation class. | #### Methods | Method | Description | | --- | --- | | getPenStyle() | Gets or sets annotation pen style | | setPenStyle(Byte value) | Gets or sets annotation pen style | | equals(AreaAnnotation other) | Compares Area Annotations using IEquatable Equals method | | deepClone() | Returns new Instance with same values | | equals(Object o) | | | hashCode() | | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### AreaAnnotation() ``` public AreaAnnotation() ``` Initializes new instance of AreaAnnotation class. ##### getPenStyle() ``` public final Byte getPenStyle() ``` Gets or sets annotation pen style **Returns:** java.lang.Byte - ##### setPenStyle(Byte value) ``` public final void setPenStyle(Byte value) ``` Gets or sets annotation pen style **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### equals(AreaAnnotation other) ``` public final boolean equals(AreaAnnotation other) ``` Compares Area Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | AreaAnnotation | The AreaAnnotation object to compare with the current object | **Returns:** boolean - ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Base Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of AnnotationBase Message, PageNumber and Type Properties **Returns:** int ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### ArrowAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/arrowannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IArrowAnnotation ``` public class ArrowAnnotation extends AnnotationBase implements IArrowAnnotation ``` Represents Arrow annotation properties #### Constructors | Constructor | Description | | --- | --- | | ArrowAnnotation() | Initializes new instance of ArrowAnnotation class. | #### Methods | Method | Description | | --- | --- | | getBox() | Gets or sets annotation position | | setBox(Rectangle value) | Gets or sets annotation position | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getPenColor() | Gets or sets annotation pen color | | setPenColor(Integer value) | Gets or sets annotation pen color | | getPenStyle() | Gets or sets annotation pen style | | setPenStyle(Byte value) | Gets or sets annotation pen style | | getPenWidth() | Gets or sets annotation pen width | | setPenWidth(Byte value) | Gets or sets annotation pen width | | equals(ArrowAnnotation other) | Compares Area Annotations using IEquatable Equals method | | equals(Object o) | Compares Arrow Annotations using standard object Equals method | | hashCode() | Returns HashCode of Arrow Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### ArrowAnnotation() ``` public ArrowAnnotation() ``` Initializes new instance of ArrowAnnotation class. ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets annotation position **Returns:** Rectangle - ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets annotation position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getPenColor() ``` public final Integer getPenColor() ``` Gets or sets annotation pen color **Returns:** java.lang.Integer - ##### setPenColor(Integer value) ``` public final void setPenColor(Integer value) ``` Gets or sets annotation pen color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getPenStyle() ``` public final Byte getPenStyle() ``` Gets or sets annotation pen style **Returns:** java.lang.Byte - ##### setPenStyle(Byte value) ``` public final void setPenStyle(Byte value) ``` Gets or sets annotation pen style **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### getPenWidth() ``` public final Byte getPenWidth() ``` Gets or sets annotation pen width **Returns:** java.lang.Byte - ##### setPenWidth(Byte value) ``` public final void setPenWidth(Byte value) ``` Gets or sets annotation pen width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### equals(ArrowAnnotation other) ``` public final boolean equals(ArrowAnnotation other) ``` Compares Area Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ArrowAnnotation | The ArrowAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Arrow Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Arrow Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### DistanceAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/distanceannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IDistanceAnnotation ``` public class DistanceAnnotation extends AnnotationBase implements IDistanceAnnotation ``` Represents Distance annotation properties #### Constructors | Constructor | Description | | --- | --- | | DistanceAnnotation() | Initializes new instance of DistanceAnnotation class. | #### Methods | Method | Description | | --- | --- | | getBox() | Gets or sets annotation position | | setBox(Rectangle value) | Gets or sets annotation position | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getPenColor() | Gets or sets annotation pen color | | setPenColor(Integer value) | Gets or sets annotation pen color | | getPenStyle() | Gets or sets annotation pen style | | setPenStyle(Byte value) | Gets or sets annotation pen style | | getPenWidth() | Gets or sets annotation pen width | | setPenWidth(Byte value) | Gets or sets annotation pen width | | equals(DistanceAnnotation other) | Compares Distance Annotations using IEquatable Equals method | | equals(Object o) | Compares Distance Annotations using standard object Equals method | | hashCode() | Returns HashCode of Distance Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### DistanceAnnotation() ``` public DistanceAnnotation() ``` Initializes new instance of DistanceAnnotation class. ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets annotation position **Returns:** Rectangle - ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets annotation position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getPenColor() ``` public final Integer getPenColor() ``` Gets or sets annotation pen color **Returns:** java.lang.Integer - ##### setPenColor(Integer value) ``` public final void setPenColor(Integer value) ``` Gets or sets annotation pen color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getPenStyle() ``` public final Byte getPenStyle() ``` Gets or sets annotation pen style **Returns:** java.lang.Byte - ##### setPenStyle(Byte value) ``` public final void setPenStyle(Byte value) ``` Gets or sets annotation pen style **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### getPenWidth() ``` public final Byte getPenWidth() ``` Gets or sets annotation pen width **Returns:** java.lang.Byte - ##### setPenWidth(Byte value) ``` public final void setPenWidth(Byte value) ``` Gets or sets annotation pen width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### equals(DistanceAnnotation other) ``` public final boolean equals(DistanceAnnotation other) ``` Compares Distance Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | DistanceAnnotation | The DistanceAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Distance Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Distance Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### EllipseAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/ellipseannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBaseProps **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IEllipseAnnotation ``` public class EllipseAnnotation extends AnnotationBaseProps implements IEllipseAnnotation ``` Represents Ellipse annotation properties #### Constructors | Constructor | Description | | --- | --- | | EllipseAnnotation() | Initializes new instance of EllipseAnnotation class. | #### Methods | Method | Description | | --- | --- | | getPenStyle() | Gets or sets annotation pen style | | setPenStyle(Byte value) | Gets or sets annotation pen style | | equals(EllipseAnnotation other) | Compares Ellipse Annotations using IEquatable Equals method | | equals(Object o) | Compares Ellipse Annotations using standard object Equals method | | hashCode() | Returns HashCode of Ellipse Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### EllipseAnnotation() ``` public EllipseAnnotation() ``` Initializes new instance of EllipseAnnotation class. ##### getPenStyle() ``` public final Byte getPenStyle() ``` Gets or sets annotation pen style **Returns:** java.lang.Byte - ##### setPenStyle(Byte value) ``` public final void setPenStyle(Byte value) ``` Gets or sets annotation pen style **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### equals(EllipseAnnotation other) ``` public final boolean equals(EllipseAnnotation other) ``` Compares Ellipse Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | EllipseAnnotation | The EllipseAnnotation object to compare with the current object | **Returns:** boolean ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Ellipse Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Ellipse Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### HighlightAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/highlightannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IHighlightAnnotation ``` public class HighlightAnnotation extends AnnotationBase implements IHighlightAnnotation ``` Represents Highlight annotation properties #### Constructors | Constructor | Description | | --- | --- | | HighlightAnnotation() | Initializes new instance of HighlightAnnotation class. | #### Methods | Method | Description | | --- | --- | | getBackgroundColor() | Gets or sets annotation background color | | setBackgroundColor(Integer value) | Gets or sets annotation background color | | getFontColor() | Gets or sets annotation text font color | | setFontColor(Integer value) | Gets or sets annotation text font color | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getPoints() | Gets or sets collection of points that describe rectangles with text | | setPoints(List value) | Gets or sets collection of points that describe rectangles with text | | equals(HighlightAnnotation other) | Compares Highlight Annotations using IEquatable Equals method | | equals(Object obj) | Compares Highlight Annotations using standard object Equals method | | hashCode() | Returns HashCode of Highlight Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### HighlightAnnotation() ``` public HighlightAnnotation() ``` Initializes new instance of HighlightAnnotation class. ##### getBackgroundColor() ``` public final Integer getBackgroundColor() ``` Gets or sets annotation background color **Returns:** java.lang.Integer ##### setBackgroundColor(Integer value) ``` public final void setBackgroundColor(Integer value) ``` Gets or sets annotation background color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getPoints() ``` public final List getPoints() ``` Gets or sets collection of points that describe rectangles with text **Returns:** java.util.List - ##### setPoints(List value) ``` public final void setPoints(List value) ``` Gets or sets collection of points that describe rectangles with text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### equals(HighlightAnnotation other) ``` public final boolean equals(HighlightAnnotation other) ``` Compares Highlight Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | HighlightAnnotation | The HighlightAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Compares Highlight Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Highlight Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### ImageAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/imageannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IImageAnnotation ``` public class ImageAnnotation extends AnnotationBase implements IImageAnnotation ``` Represents image annotation properties #### Constructors | Constructor | Description | | --- | --- | | ImageAnnotation() | Initializes new instance of ImageAnnotation class. | #### Methods | Method | Description | | --- | --- | | getBox() | Gets or sets annotation position | | setBox(Rectangle value) | Gets or sets annotation position | | getImagePath() | Gets or sets image path | | setImagePath(String value) | Gets or sets image path | | getImageData() | Gets or sets image data | | setImageData(String value) | Gets or sets image data | | getImageExtension() | Gets or sets image data | | setImageExtension(String value) | | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getAngle() | Gets or sets annotation rotation angle | | setAngle(Double value) | Gets or sets annotation rotation angle | | getZIndex() | Gets or sets z-index. | | setZIndex(Integer value) | Gets or sets annotation pen color | | getImage() | Gets image object | | equals(ImageAnnotation other) | Compares Image Annotations using IEquatable Equals method | | equals(Object o) | Compares Image Annotations using standard object Equals method | | hashCode() | Returns HashCode of Image Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### ImageAnnotation() ``` public ImageAnnotation() ``` Initializes new instance of ImageAnnotation class. ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets annotation position **Returns:** Rectangle ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets annotation position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### getImagePath() ``` public final String getImagePath() ``` Gets or sets image path **Returns:** java.lang.String - ##### setImagePath(String value) ``` public final void setImagePath(String value) ``` Gets or sets image path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getImageData() ``` public final String getImageData() ``` Gets or sets image data **Returns:** java.lang.String - ##### setImageData(String value) ``` public final void setImageData(String value) ``` Gets or sets image data **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getImageExtension() ``` public final String getImageExtension() ``` Gets or sets image data **Returns:** java.lang.String - ##### setImageExtension(String value) ``` public final void setImageExtension(String value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getAngle() ``` public final Double getAngle() ``` Gets or sets annotation rotation angle **Returns:** java.lang.Double ##### setAngle(Double value) ``` public final void setAngle(Double value) ``` Gets or sets annotation rotation angle **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getZIndex() ``` public final Integer getZIndex() ``` Gets or sets z-index. Default value is 0 The **z-index** property specifies the stack order of an element. **Returns:** java.lang.Integer - ##### setZIndex(Integer value) ``` public final void setZIndex(Integer value) ``` Gets or sets annotation pen color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getImage() ``` public final System.Drawing.Image getImage() ``` Gets image object **Returns:** com.aspose.ms.System.Drawing.Image - ##### equals(ImageAnnotation other) ``` public final boolean equals(ImageAnnotation other) ``` Compares Image Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ImageAnnotation | The ImageAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Image Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Image Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### LinkAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/linkannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ILinkAnnotation ``` public class LinkAnnotation extends AnnotationBase implements ILinkAnnotation ``` Represents Link annotation properties #### Constructors | Constructor | Description | | --- | --- | | LinkAnnotation() | Initializes new instance of LinkAnnotation class. | #### Methods | Method | Description | | --- | --- | | getFontColor() | Gets or sets annotation text font color | | setFontColor(Integer value) | Gets or sets annotation text font color | | getBackgroundColor() | Gets or sets annotation text font color | | setBackgroundColor(Integer value) | Gets or sets annotation text font color | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getPoints() | Coordinates | | setPoints(List value) | Coordinates | | getUrl() | Gets or sets annotation link url | | setUrl(String value) | Gets or sets annotation link url | | equals(LinkAnnotation other) | Compares Link Annotations using IEquatable Equals method | | equals(Object o) | Compares Link Annotations using standard object Equals method | | hashCode() | Returns HashCode of Link Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### LinkAnnotation() ``` public LinkAnnotation() ``` Initializes new instance of LinkAnnotation class. ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getBackgroundColor() ``` public final Integer getBackgroundColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setBackgroundColor(Integer value) ``` public final void setBackgroundColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getPoints() ``` public final List getPoints() ``` Coordinates **Returns:** java.util.List - ##### setPoints(List value) ``` public final void setPoints(List value) ``` Coordinates **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getUrl() ``` public final String getUrl() ``` Gets or sets annotation link url **Returns:** java.lang.String - ##### setUrl(String value) ``` public final void setUrl(String value) ``` Gets or sets annotation link url **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### equals(LinkAnnotation other) ``` public final boolean equals(LinkAnnotation other) ``` Compares Link Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | LinkAnnotation | The LinkAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Link Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Link Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### PointAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/pointannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IPointAnnotation ``` public class PointAnnotation extends AnnotationBase implements IPointAnnotation ``` Represents Point annotation properties #### Constructors | Constructor | Description | | --- | --- | | PointAnnotation() | Initializes new instance of PointAnnotation class. | #### Methods | Method | Description | | --- | --- | | getBox() | Gets or sets annotation position | | setBox(Rectangle value) | Gets or sets annotation position | | equals(PointAnnotation other) | Compares Point Annotations using IEquatable Equals method | | equals(Object o) | Compares Point Annotations using standard object Equals method | | hashCode() | Returns HashCode of Point Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### PointAnnotation() ``` public PointAnnotation() ``` Initializes new instance of PointAnnotation class. ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets annotation position **Returns:** Rectangle ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets annotation position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### equals(PointAnnotation other) ``` public final boolean equals(PointAnnotation other) ``` Compares Point Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | PointAnnotation | The PointAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Point Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Point Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### PolylineAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/polylineannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBasePropsV3 **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IPolylineAnnotation ``` public class PolylineAnnotation extends AnnotationBasePropsV3 implements IPolylineAnnotation ``` Represents Polyline annotation properties #### Constructors | Constructor | Description | | --- | --- | | PolylineAnnotation() | Initializes new instance of AreaAnnotation class. | #### Methods | Method | Description | | --- | --- | | getSvgPath() | Gets or sets annotation SVG path | | setSvgPath(String value) | Gets or sets annotation SVG path | | equals(PolylineAnnotation other) | Compares Polyline Annotations using IEquatable Equals method | | equals(Object o) | Compares Polyline Annotations using standard object Equals method | | hashCode() | Returns HashCode of Polyline Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### PolylineAnnotation() ``` public PolylineAnnotation() ``` Initializes new instance of AreaAnnotation class. ##### getSvgPath() ``` public final String getSvgPath() ``` Gets or sets annotation SVG path **Returns:** java.lang.String - ##### setSvgPath(String value) ``` public final void setSvgPath(String value) ``` Gets or sets annotation SVG path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### equals(PolylineAnnotation other) ``` public final boolean equals(PolylineAnnotation other) ``` Compares Polyline Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | PolylineAnnotation | The PolylineAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Polyline Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Polyline Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### ReplacementAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/replacementannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IReplacementAnnotation ``` public class ReplacementAnnotation extends AnnotationBase implements IReplacementAnnotation ``` Represents Replacement annotation properties #### Constructors | Constructor | Description | | --- | --- | | ReplacementAnnotation() | Initializes new instance of ReplacementAnnotation class. | #### Methods | Method | Description | | --- | --- | | getFontColor() | Gets or sets annotation text font color | | setFontColor(Integer value) | Gets or sets annotation text font color | | getBackgroundColor() | Gets annotation background color | | setBackgroundColor(Integer value) | Sets annotation background color | | getFontSize() | Gets or sets annotation text font size | | setFontSize(Double value) | Gets or sets annotation text font size | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getPoints() | Gets or sets collection of points that describe rectangles with text | | setPoints(List value) | Gets or sets collection of points that describe rectangles with text | | getTextToReplace() | Gets or sets text to be replaced | | setTextToReplace(String value) | Gets or sets text to be replaced | | equals(ReplacementAnnotation other) | Compares Replacement Annotations using IEquatable Equals method | | equals(Object o) | Compares Replacement Annotations using standard object Equals method | | hashCode() | Returns HashCode of Replacement Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### ReplacementAnnotation() ``` public ReplacementAnnotation() ``` Initializes new instance of ReplacementAnnotation class. ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getBackgroundColor() ``` public final Integer getBackgroundColor() ``` Gets annotation background color **Returns:** java.lang.Integer - ##### setBackgroundColor(Integer value) ``` public final void setBackgroundColor(Integer value) ``` Sets annotation background color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getFontSize() ``` public final Double getFontSize() ``` Gets or sets annotation text font size **Returns:** java.lang.Double - ##### setFontSize(Double value) ``` public final void setFontSize(Double value) ``` Gets or sets annotation text font size **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getPoints() ``` public final List getPoints() ``` Gets or sets collection of points that describe rectangles with text **Returns:** java.util.List - ##### setPoints(List value) ``` public final void setPoints(List value) ``` Gets or sets collection of points that describe rectangles with text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getTextToReplace() ``` public final String getTextToReplace() ``` Gets or sets text to be replaced **Returns:** java.lang.String - ##### setTextToReplace(String value) ``` public final void setTextToReplace(String value) ``` Gets or sets text to be replaced **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### equals(ReplacementAnnotation other) ``` public final boolean equals(ReplacementAnnotation other) ``` Compares Replacement Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ReplacementAnnotation | The ReplacementAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Replacement Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Replacement Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### ResourcesRedactionAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/resourcesredactionannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IResourcesRedactionAnnotation ``` public class ResourcesRedactionAnnotation extends AnnotationBase implements IResourcesRedactionAnnotation ``` Represents Resources redaction annotation properties #### Constructors | Constructor | Description | | --- | --- | | ResourcesRedactionAnnotation() | Initializes new instance of ResourcesRedactionAnnotation class. | #### Methods | Method | Description | | --- | --- | | getBox() | Gets or sets annotation position | | setBox(Rectangle value) | Gets or sets annotation position | | equals(ResourcesRedactionAnnotation other) | Compares Resources Redaction Annotations using IEquatable Equals method | | equals(Object o) | Compares Resources Redaction Annotations using standard object Equals method | | hashCode() | Returns HashCode of Resources Redaction Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### ResourcesRedactionAnnotation() ``` public ResourcesRedactionAnnotation() ``` Initializes new instance of ResourcesRedactionAnnotation class. ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets annotation position **Returns:** Rectangle - ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets annotation position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### equals(ResourcesRedactionAnnotation other) ``` public final boolean equals(ResourcesRedactionAnnotation other) ``` Compares Resources Redaction Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ResourcesRedactionAnnotation | The ResourcesRedactionAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Resources Redaction Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Resources Redaction Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### SearchTextFragment Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/searchtextfragment.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ISearchTextFragment ``` public class SearchTextFragment extends AnnotationBase implements ISearchTextFragment ``` Represents Search Text annotation properties #### Constructors | Constructor | Description | | --- | --- | | SearchTextFragment() | Initializes new instance of SearchTextFragment class. | #### Methods | Method | Description | | --- | --- | | getBackgroundColor() | Gets or sets annotation background color | | setBackgroundColor(Integer value) | Gets or sets annotation background color | | getText() | Gets or sets text | | setText(String value) | Gets or sets text | | getFontColor() | Gets or sets annotation text font color | | setFontColor(Integer value) | Gets or sets annotation text font color | | getFontFamily() | Gets or sets annotation text font family | | setFontFamily(String value) | Gets or sets annotation text font family | | getFontSize() | Gets or sets annotation text font size | | setFontSize(Double value) | Gets or sets annotation text font size | | equals(SearchTextFragment other) | Compares Search Text Annotations using IEquatable Equals method | | equals(Object o) | Compares Search Text Annotations using standard object Equals method | | hashCode() | Returns HashCode of Search Text Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### SearchTextFragment() ``` public SearchTextFragment() ``` Initializes new instance of SearchTextFragment class. ##### getBackgroundColor() ``` public final Integer getBackgroundColor() ``` Gets or sets annotation background color **Returns:** java.lang.Integer ##### setBackgroundColor(Integer value) ``` public final void setBackgroundColor(Integer value) ``` Gets or sets annotation background color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getText() ``` public final String getText() ``` Gets or sets text **Returns:** java.lang.String - ##### setText(String value) ``` public final void setText(String value) ``` Gets or sets text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getFontFamily() ``` public final String getFontFamily() ``` Gets or sets annotation text font family **Returns:** java.lang.String - ##### setFontFamily(String value) ``` public final void setFontFamily(String value) ``` Gets or sets annotation text font family **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSize() ``` public final Double getFontSize() ``` Gets or sets annotation text font size **Returns:** java.lang.Double - ##### setFontSize(Double value) ``` public final void setFontSize(Double value) ``` Gets or sets annotation text font size **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### equals(SearchTextFragment other) ``` public final boolean equals(SearchTextFragment other) ``` Compares Search Text Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | SearchTextFragment | The SearchTextFragment object to compare with the current object | **Returns:** boolean ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Search Text Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Search Text Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### SquigglyAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/squigglyannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ISquigglyAnnotation ``` public class SquigglyAnnotation extends AnnotationBase implements ISquigglyAnnotation ``` Represents squiggly annotation properties #### Constructors | Constructor | Description | | --- | --- | | SquigglyAnnotation() | Initializes new instance of SquigglyAnnotation class. | #### Methods | Method | Description | | --- | --- | | getFontColor() | Gets or sets annotation text font color | | setFontColor(Integer value) | Gets or sets annotation text font color | | getBackgroundColor() | Gets or sets annotation text font color | | setBackgroundColor(Integer value) | Gets or sets annotation text font color | | getSquigglyColor() | Gets or sets annotation text font color | | setSquigglyColor(Integer value) | Gets or sets annotation text font color | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getPoints() | Coordinates | | setPoints(List value) | Coordinates | | equals(SquigglyAnnotation other) | Compares squiggly Annotations using IEquatable Equals method | | equals(Object obj) | Compares Squiggly Annotations using standard object Equals method | | hashCode() | Returns HashCode of Squiggly Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### SquigglyAnnotation() ``` public SquigglyAnnotation() ``` Initializes new instance of SquigglyAnnotation class. ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getBackgroundColor() ``` public final Integer getBackgroundColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setBackgroundColor(Integer value) ``` public final void setBackgroundColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getSquigglyColor() ``` public final Integer getSquigglyColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setSquigglyColor(Integer value) ``` public final void setSquigglyColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getPoints() ``` public final List getPoints() ``` Coordinates **Returns:** java.util.List - ##### setPoints(List value) ``` public final void setPoints(List value) ``` Coordinates **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### equals(SquigglyAnnotation other) ``` public final boolean equals(SquigglyAnnotation other) ``` Compares squiggly Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | SquigglyAnnotation | The SquigglyAnnotation object to compare with the current object | **Returns:** boolean ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Compares Squiggly Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Squiggly Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### StrikeoutAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/strikeoutannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBasePropsV2 **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IStrikeoutAnnotation ``` public class StrikeoutAnnotation extends AnnotationBasePropsV2 implements IStrikeoutAnnotation ``` Represents Strikeout annotation properties #### Constructors | Constructor | Description | | --- | --- | | StrikeoutAnnotation() | Initializes new instance of StrikeoutAnnotation class. | #### Methods | Method | Description | | --- | --- | | equals(StrikeoutAnnotation other) | Compares Strikeout Annotations using IEquatable Equals method | | equals(Object o) | Compares Strikeout Annotations using standard object Equals method | | hashCode() | Returns HashCode of Strikeout Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### StrikeoutAnnotation() ``` public StrikeoutAnnotation() ``` Initializes new instance of StrikeoutAnnotation class. ##### equals(StrikeoutAnnotation other) ``` public final boolean equals(StrikeoutAnnotation other) ``` Compares Strikeout Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | StrikeoutAnnotation | The StrikeoutAnnotation object to compare with the current object | **Returns:** boolean ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Strikeout Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Strikeout Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### TextFieldAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/textfieldannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBaseProps **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ITextFieldAnnotation ``` public class TextFieldAnnotation extends AnnotationBaseProps implements ITextFieldAnnotation ``` Represents Text field annotation properties #### Constructors | Constructor | Description | | --- | --- | | TextFieldAnnotation() | Initializes new instance of TextFieldAnnotation class. | #### Methods | Method | Description | | --- | --- | | getText() | Gets or sets text | | setText(String value) | Gets or sets text | | getTextHorizontalAlignment() | Gets or sets text horizontal alignment | | setTextHorizontalAlignment(Integer value) | Gets or sets text horizontal alignment | | getFontColor() | Gets or sets annotation text font color | | setFontColor(Integer value) | Gets or sets annotation text font color | | getFontFamily() | Gets or sets annotation text font family | | setFontFamily(String value) | Gets or sets annotation text font family | | getFontSize() | Gets or sets annotation text font size | | setFontSize(Double value) | Gets or sets annotation text font size | | getPenStyle() | Gets or sets annotation pen style | | setPenStyle(Byte value) | Gets or sets annotation pen style | | equals(TextFieldAnnotation other) | Compares Text Field Annotations using IEquatable Equals method | | equals(Object o) | Compares Text Field Annotations using standard object Equals method | | hashCode() | Returns HashCode of Text Field Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### TextFieldAnnotation() ``` public TextFieldAnnotation() ``` Initializes new instance of TextFieldAnnotation class. ##### getText() ``` public final String getText() ``` Gets or sets text **Returns:** java.lang.String - ##### setText(String value) ``` public final void setText(String value) ``` Gets or sets text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getTextHorizontalAlignment() ``` public final Integer getTextHorizontalAlignment() ``` Gets or sets text horizontal alignment **Returns:** java.lang.Integer - ##### setTextHorizontalAlignment(Integer value) ``` public final void setTextHorizontalAlignment(Integer value) ``` Gets or sets text horizontal alignment **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getFontFamily() ``` public final String getFontFamily() ``` Gets or sets annotation text font family **Returns:** java.lang.String - ##### setFontFamily(String value) ``` public final void setFontFamily(String value) ``` Gets or sets annotation text font family **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSize() ``` public final Double getFontSize() ``` Gets or sets annotation text font size **Returns:** java.lang.Double - ##### setFontSize(Double value) ``` public final void setFontSize(Double value) ``` Gets or sets annotation text font size **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getPenStyle() ``` public final Byte getPenStyle() ``` Gets or sets annotation pen style **Returns:** java.lang.Byte - ##### setPenStyle(Byte value) ``` public final void setPenStyle(Byte value) ``` Gets or sets annotation pen style **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### equals(TextFieldAnnotation other) ``` public final boolean equals(TextFieldAnnotation other) ``` Compares Text Field Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TextFieldAnnotation | The TextFieldAnnotation object to compare with the current object | **Returns:** boolean ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Text Field Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Text Field Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### TextRedactionAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/textredactionannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ITextRedactionAnnotation ``` public class TextRedactionAnnotation extends AnnotationBase implements ITextRedactionAnnotation ``` Represents Text redaction annotation properties #### Constructors | Constructor | Description | | --- | --- | | TextRedactionAnnotation() | Initializes new instance of TextRedactionAnnotation class. | #### Methods | Method | Description | | --- | --- | | getFontColor() | Gets or sets annotation text font color | | setFontColor(Integer value) | Gets or sets annotation text font color | | getPoints() | Gets or sets collection of points that describe rectangles with text | | setPoints(List value) | Gets or sets collection of points that describe rectangles with text | | equals(TextRedactionAnnotation other) | Compares Text Redaction Annotations using IEquatable Equals method | | equals(Object o) | Compares Text Redaction Annotations using standard object Equals method | | hashCode() | Returns HashCode of Text Redaction Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### TextRedactionAnnotation() ``` public TextRedactionAnnotation() ``` Initializes new instance of TextRedactionAnnotation class. ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getPoints() ``` public final List getPoints() ``` Gets or sets collection of points that describe rectangles with text **Returns:** java.util.List - ##### setPoints(List value) ``` public final void setPoints(List value) ``` Gets or sets collection of points that describe rectangles with text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### equals(TextRedactionAnnotation other) ``` public final boolean equals(TextRedactionAnnotation other) ``` Compares Text Redaction Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TextRedactionAnnotation | The TextRedactionAnnotation object to compare with the current object | **Returns:** boolean ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Text Redaction Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Text Redaction Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### UnderlineAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/underlineannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBasePropsV2 **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IUnderlineAnnotation ``` public class UnderlineAnnotation extends AnnotationBasePropsV2 implements IUnderlineAnnotation ``` Represents Underline annotation properties #### Constructors | Constructor | Description | | --- | --- | | UnderlineAnnotation() | Initializes new instance of UnderlineAnnotation class. | #### Methods | Method | Description | | --- | --- | | getUnderlineColor() | Gets or sets annotation text font color | | setUnderlineColor(Integer value) | Gets or sets annotation text font color | | equals(UnderlineAnnotation other) | Compares Underline Annotations using IEquatable Equals method | | equals(Object o) | Compares Underline Annotations using standard object Equals method | | hashCode() | Returns HashCode of Underline Annotation | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### UnderlineAnnotation() ``` public UnderlineAnnotation() ``` Initializes new instance of UnderlineAnnotation class. ##### getUnderlineColor() ``` public final Integer getUnderlineColor() ``` Gets or sets annotation text font color **Returns:** java.lang.Integer - ##### setUnderlineColor(Integer value) ``` public final void setUnderlineColor(Integer value) ``` Gets or sets annotation text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### equals(UnderlineAnnotation other) ``` public final boolean equals(UnderlineAnnotation other) ``` Compares Underline Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | UnderlineAnnotation | The UnderlineAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Underline Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Underline Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### WatermarkAnnotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.annotationmodels/watermarkannotation.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IWatermarkAnnotation ``` public class WatermarkAnnotation extends AnnotationBase implements IWatermarkAnnotation ``` Represents Watermark annotation properties #### Constructors | Constructor | Description | | --- | --- | | WatermarkAnnotation() | Initializes new instance of WatermarkAnnotation class. | #### Methods | Method | Description | | --- | --- | | getBox() | Gets or sets annotation position | | setBox(Rectangle value) | Gets or sets annotation position | | getAutoScale() | Gets or sets auto scale for watermar | | setAutoScale(Boolean value) | Gets or sets auto scale for watermar | | getText() | Gets or sets watermark text | | setText(String value) | Gets or sets watermark text | | getFontColor() | Gets or sets watermark text font color | | setFontColor(Integer value) | Gets or sets watermark text font color | | getFontFamily() | Gets or sets watermark text font family | | setFontFamily(String value) | Gets or sets watermark text font family | | getFontSize() | Gets or sets watermark text font size | | setFontSize(Double value) | Gets or sets watermark text font size | | getOpacity() | Gets or sets annotation opacity | | setOpacity(Double value) | Gets or sets annotation opacity | | getAngle() | Gets or sets watermark rotation angle | | setAngle(Double value) | Gets or sets watermark rotation angle | | equals(WatermarkAnnotation other) | Compares Watermark Annotations using IEquatable Equals method | | equals(Object o) | Compares Watermark Annotations using standard object Equals method | | hashCode() | Returns HashCode of Watermark Annotation | | deepClone() | Returns new Instance with same values | | getHorizontalAlignment() | Gets or sets watermark horizontal alignment on document | | setHorizontalAlignment(Integer value) | Gets or sets watermark horizontal alignment on document | | getVerticalAlignment() | Gets or sets watermark vertical alignment on document | | setVerticalAlignment(Integer value) | Gets or sets watermark vertical alignment on document | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### WatermarkAnnotation() ``` public WatermarkAnnotation() ``` Initializes new instance of WatermarkAnnotation class. ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets annotation position **Returns:** Rectangle ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets annotation position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### getAutoScale() ``` public final Boolean getAutoScale() ``` Gets or sets auto scale for watermar **Returns:** java.lang.Boolean - ##### setAutoScale(Boolean value) ``` public final void setAutoScale(Boolean value) ``` Gets or sets auto scale for watermar **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | | ##### getText() ``` public final String getText() ``` Gets or sets watermark text **Returns:** java.lang.String - ##### setText(String value) ``` public final void setText(String value) ``` Gets or sets watermark text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontColor() ``` public final Integer getFontColor() ``` Gets or sets watermark text font color **Returns:** java.lang.Integer - ##### setFontColor(Integer value) ``` public final void setFontColor(Integer value) ``` Gets or sets watermark text font color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getFontFamily() ``` public final String getFontFamily() ``` Gets or sets watermark text font family **Returns:** java.lang.String - ##### setFontFamily(String value) ``` public final void setFontFamily(String value) ``` Gets or sets watermark text font family **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSize() ``` public final Double getFontSize() ``` Gets or sets watermark text font size **Returns:** java.lang.Double - ##### setFontSize(Double value) ``` public final void setFontSize(Double value) ``` Gets or sets watermark text font size **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getOpacity() ``` public final Double getOpacity() ``` Gets or sets annotation opacity **Returns:** java.lang.Double - ##### setOpacity(Double value) ``` public final void setOpacity(Double value) ``` Gets or sets annotation opacity **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### getAngle() ``` public final Double getAngle() ``` Gets or sets watermark rotation angle **Returns:** java.lang.Double - ##### setAngle(Double value) ``` public final void setAngle(Double value) ``` Gets or sets watermark rotation angle **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### equals(WatermarkAnnotation other) ``` public final boolean equals(WatermarkAnnotation other) ``` Compares Watermark Annotations using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | WatermarkAnnotation | The WatermarkAnnotation object to compare with the current object | **Returns:** boolean - ##### equals(Object o) ``` public boolean equals(Object o) ``` Compares Watermark Annotations using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Watermark Annotation **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### getHorizontalAlignment() ``` public final Integer getHorizontalAlignment() ``` Gets or sets watermark horizontal alignment on document **Returns:** java.lang.Integer - ##### setHorizontalAlignment(Integer value) ``` public final void setHorizontalAlignment(Integer value) ``` Gets or sets watermark horizontal alignment on document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getVerticalAlignment() ``` public final Integer getVerticalAlignment() ``` Gets or sets watermark vertical alignment on document **Returns:** java.lang.Integer - ##### setVerticalAlignment(Integer value) ``` public final void setVerticalAlignment(Integer value) ``` Gets or sets watermark vertical alignment on document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### com.groupdocs.annotation.models.formatspecificcomponents.pdf Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.formatspecificcomponents.pdf.md The namespace provides format specific component models #### Classes | Class | Description | | --- | --- | | ButtonComponent | Represents Button properties | | CheckBoxComponent | Represents CheckBox properties | | DropdownComponent | Represents dropdown component properties | ### ButtonComponent Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces.IButtonComponent ``` public class ButtonComponent extends AnnotationBase implements IButtonComponent ``` Represents Button properties #### Constructors | Constructor | Description | | --- | --- | | ButtonComponent() | Initializes new instance of ButtonComponent class. | #### Methods | Method | Description | | --- | --- | | getBox() | Gets or sets component position | | setBox(Rectangle value) | Gets or sets component position | | getStyle() | Gets or sets annotation border | | setStyle(Byte value) | Gets or sets annotation border | | getBorderWidth() | Gets or sets annotation border width | | setBorderWidth(Integer value) | Gets or sets annotation border width | | getBorderColor() | Gets or sets annotation border color | | setBorderColor(Integer value) | Gets or sets annotation border color | | getAlternateName() | Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat. | | setAlternateName(String value) | Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat. | | getPartialName() | Gets or sets component partial name | | setPartialName(String value) | Gets or sets component partial name | | getNormalCaption() | Gets or sets component normal caption | | setNormalCaption(String value) | Gets or sets component normal caption | | getRolloverCaption() | Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button. | | setRolloverCaption(String value) | Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button. | | getPenColor() | Gets or sets component pen color | | setPenColor(Integer value) | Gets or sets component pen color | | getButtonColor() | Gets or sets component color | | setButtonColor(Integer value) | Gets or sets component color | | equals(ButtonComponent other) | Compares Button Components using IEquatable Equals method | | equals(Object obj) | Compares Button Components using standard object Equals method | | hashCode() | Returns HashCode of Button Component | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### ButtonComponent() ``` public ButtonComponent() ``` Initializes new instance of ButtonComponent class. ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets component position **Returns:** Rectangle ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets component position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### getStyle() ``` public final Byte getStyle() ``` Gets or sets annotation border **Returns:** java.lang.Byte - ##### setStyle(Byte value) ``` public final void setStyle(Byte value) ``` Gets or sets annotation border **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### getBorderWidth() ``` public final Integer getBorderWidth() ``` Gets or sets annotation border width **Returns:** java.lang.Integer - ##### setBorderWidth(Integer value) ``` public final void setBorderWidth(Integer value) ``` Gets or sets annotation border width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getBorderColor() ``` public final Integer getBorderColor() ``` Gets or sets annotation border color **Returns:** java.lang.Integer - ##### setBorderColor(Integer value) ``` public final void setBorderColor(Integer value) ``` Gets or sets annotation border color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getAlternateName() ``` public final String getAlternateName() ``` Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat. **Returns:** java.lang.String - ##### setAlternateName(String value) ``` public final void setAlternateName(String value) ``` Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getPartialName() ``` public final String getPartialName() ``` Gets or sets component partial name **Returns:** java.lang.String - ##### setPartialName(String value) ``` public final void setPartialName(String value) ``` Gets or sets component partial name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getNormalCaption() ``` public final String getNormalCaption() ``` Gets or sets component normal caption **Returns:** java.lang.String - ##### setNormalCaption(String value) ``` public final void setNormalCaption(String value) ``` Gets or sets component normal caption **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getRolloverCaption() ``` public final String getRolloverCaption() ``` Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button. **Returns:** java.lang.String - ##### setRolloverCaption(String value) ``` public final void setRolloverCaption(String value) ``` Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getPenColor() ``` public final Integer getPenColor() ``` Gets or sets component pen color **Returns:** java.lang.Integer - ##### setPenColor(Integer value) ``` public final void setPenColor(Integer value) ``` Gets or sets component pen color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getButtonColor() ``` public final Integer getButtonColor() ``` Gets or sets component color **Returns:** java.lang.Integer - ##### setButtonColor(Integer value) ``` public final void setButtonColor(Integer value) ``` Gets or sets component color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### equals(ButtonComponent other) ``` public final boolean equals(ButtonComponent other) ``` Compares Button Components using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ButtonComponent | The ButtonComponent object to compare with the current object | **Returns:** boolean - ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Compares Button Components using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Button Component **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### CheckBoxComponent Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces.ICheckBoxComponent ``` public class CheckBoxComponent extends AnnotationBase implements ICheckBoxComponent ``` Represents CheckBox properties #### Constructors | Constructor | Description | | --- | --- | | CheckBoxComponent() | Initializes new instance of CheckBoxComponent class. | #### Methods | Method | Description | | --- | --- | | getChecked() | Gets or sets component checked | | setChecked(boolean value) | Gets or sets component checked | | getBox() | Gets or sets component position | | setBox(Rectangle value) | Gets or sets component position | | getPenColor() | Gets or sets component color | | setPenColor(Integer value) | Gets or sets component color | | getStyle() | Gets or sets style box | | setStyle(Byte value) | Gets or sets style box | | equals(CheckBoxComponent other) | Compares CheckBox Components using IEquatable Equals method | | equals(Object obj) | Compares CheckBox Components using standard object Equals method | | hashCode() | Returns HashCode of CheckBox Component | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### CheckBoxComponent() ``` public CheckBoxComponent() ``` Initializes new instance of CheckBoxComponent class. ##### getChecked() ``` public final boolean getChecked() ``` Gets or sets component checked **Returns:** boolean - ##### setChecked(boolean value) ``` public final void setChecked(boolean value) ``` Gets or sets component checked **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets component position **Returns:** Rectangle ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets component position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### getPenColor() ``` public final Integer getPenColor() ``` Gets or sets component color **Returns:** java.lang.Integer - ##### setPenColor(Integer value) ``` public final void setPenColor(Integer value) ``` Gets or sets component color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getStyle() ``` public final Byte getStyle() ``` Gets or sets style box **Returns:** java.lang.Byte - ##### setStyle(Byte value) ``` public final void setStyle(Byte value) ``` Gets or sets style box **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### equals(CheckBoxComponent other) ``` public final boolean equals(CheckBoxComponent other) ``` Compares CheckBox Components using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | CheckBoxComponent | The CheckBoxComponent object to compare with the current object | **Returns:** boolean - ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Compares CheckBox Components using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of CheckBox Component **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### DropdownComponent Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent.md **Inheritance:** java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase **All Implemented Interfaces:** com.groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces.IDropdownComponent ``` public class DropdownComponent extends AnnotationBase implements IDropdownComponent ``` Represents dropdown component properties #### Constructors | Constructor | Description | | --- | --- | | DropdownComponent() | Initializes new instance of CheckBoxComponent class. | #### Methods | Method | Description | | --- | --- | | getOptions() | List of options (drop down items) to be shown when component is clicked | | setOptions(List value) | List of options (drop down items) to be shown when component is clicked | | getSelectedOption() | Number of option to be selected by default | | setSelectedOption(Integer value) | Number of option to be selected by default | | getPlaceholder() | Text to shown when no options has been selected yet | | setPlaceholder(String value) | Text to shown when no options has been selected yet | | getBox() | Gets or sets component position | | setBox(Rectangle value) | Gets or sets component position | | getPenColor() | Gets or sets component pen color | | setPenColor(Integer value) | Gets or sets component pen color | | getPenStyle() | Gets or sets component pen style | | setPenStyle(Byte value) | Gets or sets component pen style | | getPenWidth() | Gets or sets component pen width | | setPenWidth(Byte value) | Gets or sets component pen width | | equals(DropdownComponent other) | Compares Dropdown component using IEquatable Equals method | | equals(Object obj) | Compares Dropdown Components using standard object Equals method | | hashCode() | Returns HashCode of Dropdown Component | | deepClone() | Returns new Instance with same values | | toString() | | | toString(ToStringStyle toStringStyle) | | ##### DropdownComponent() ``` public DropdownComponent() ``` Initializes new instance of CheckBoxComponent class. ##### getOptions() ``` public final List getOptions() ``` List of options (drop down items) to be shown when component is clicked **Returns:** java.util.List - ##### setOptions(List value) ``` public final void setOptions(List value) ``` List of options (drop down items) to be shown when component is clicked **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getSelectedOption() ``` public final Integer getSelectedOption() ``` Number of option to be selected by default **Returns:** java.lang.Integer ##### setSelectedOption(Integer value) ``` public final void setSelectedOption(Integer value) ``` Number of option to be selected by default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getPlaceholder() ``` public final String getPlaceholder() ``` Text to shown when no options has been selected yet **Returns:** java.lang.String ##### setPlaceholder(String value) ``` public final void setPlaceholder(String value) ``` Text to shown when no options has been selected yet **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getBox() ``` public final Rectangle getBox() ``` Gets or sets component position **Returns:** Rectangle ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Gets or sets component position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | | ##### getPenColor() ``` public final Integer getPenColor() ``` Gets or sets component pen color **Returns:** java.lang.Integer ##### setPenColor(Integer value) ``` public final void setPenColor(Integer value) ``` Gets or sets component pen color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | | ##### getPenStyle() ``` public final Byte getPenStyle() ``` Gets or sets component pen style **Returns:** java.lang.Byte ##### setPenStyle(Byte value) ``` public final void setPenStyle(Byte value) ``` Gets or sets component pen style **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### getPenWidth() ``` public final Byte getPenWidth() ``` Gets or sets component pen width **Returns:** java.lang.Byte ##### setPenWidth(Byte value) ``` public final void setPenWidth(Byte value) ``` Gets or sets component pen width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### equals(DropdownComponent other) ``` public final boolean equals(DropdownComponent other) ``` Compares Dropdown component using IEquatable Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | DropdownComponent | The DropdownComponent object to compare with the current object | **Returns:** boolean - ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Compares Dropdown Components using standard object Equals method **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Returns HashCode of Dropdown Component **Returns:** int ##### deepClone() ``` public Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### toString(ToStringStyle toStringStyle) ``` public String toString(ToStringStyle toStringStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | | **Returns:** java.lang.String ### com.groupdocs.annotation.models Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models.md The namespace provides annotation data classes. #### Classes | Class | Description | | --- | --- | | PageInfo | Represents Document Page Information. | | PenStyle | Pen style | | Point | Represents point. | | Rectangle | Represents rectangle. | | Reply | Represents annotation reply. | | User | Represents user properties. | #### Enumerations | Enum | Description | | --- | --- | | DocumentType | The annotation document type | ### DocumentType Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models/documenttype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum DocumentType extends Enum ``` The annotation document type #### Fields | Field | Description | | --- | --- | | UNDEFINED | The undefined | | PDF | Represents Pdf format | | CELLS | Represents Excel format | | SLIDES | Represents Powerpoint format | | WORDS | Represents Word format | | IMAGES | Represents Image format | | EMAIL | Represents Email format | | HTML | Represents HTML format | | DIAGRAM | Represents Diagram format | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### UNDEFINED ``` public static final DocumentType UNDEFINED ``` The undefined ##### PDF ``` public static final DocumentType PDF ``` Represents Pdf format ##### CELLS ``` public static final DocumentType CELLS ``` Represents Excel format ##### SLIDES ``` public static final DocumentType SLIDES ``` Represents Powerpoint format ##### WORDS ``` public static final DocumentType WORDS ``` Represents Word format ##### IMAGES ``` public static final DocumentType IMAGES ``` Represents Image format ##### EMAIL ``` public static final DocumentType EMAIL ``` Represents Email format ##### HTML ``` public static final DocumentType HTML ``` Represents HTML format ##### DIAGRAM ``` public static final DocumentType DIAGRAM ``` Represents Diagram format ##### values() ``` public static DocumentType[] values() ``` **Returns:** com.groupdocs.annotation.models.DocumentType[] ##### valueOf(String name) ``` public static DocumentType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** DocumentType ### PageInfo Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models/pageinfo.md **Inheritance:** java.lang.Object ``` public class PageInfo ``` Represents Document Page Information. #### Constructors | Constructor | Description | | --- | --- | | PageInfo() | | | PageInfo(int width, int height) | Initializes new instance of PageInfo class. | | PageInfo(PageInfo pageInfo) | Initializes new instance of PageInfo class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Page width | | setWidth(int value) | Page width | | getHeight() | Page height | | setHeight(int value) | Page height | | getPageNumber() | Page number | | setPageNumber(int value) | Page number | | getTextLines() | Text lines information | | setTextLines(List value) | Text lines information | | equals(Object obj) | | | equals(PageInfo obj1, PageInfo obj2) | | | hashCode() | | ##### PageInfo() ``` public PageInfo() ``` ##### PageInfo(int width, int height) ``` public PageInfo(int width, int height) ``` Initializes new instance of PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | Page Width. | | height | int | Page Height. | ##### PageInfo(PageInfo pageInfo) ``` public PageInfo(PageInfo pageInfo) ``` Initializes new instance of PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageInfo | PageInfo | Page Info source. | ##### getWidth() ``` public final int getWidth() ``` Page width **Returns:** int - ##### setWidth(int value) ``` public final void setWidth(int value) ``` Page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Page height **Returns:** int - ##### setHeight(int value) ``` public final void setHeight(int value) ``` Page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPageNumber() ``` public final int getPageNumber() ``` Page number **Returns:** int - ##### setPageNumber(int value) ``` public final void setPageNumber(int value) ``` Page number **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTextLines() ``` public final List getTextLines() ``` Text lines information **Returns:** java.util.List - ##### setTextLines(List value) ``` public final void setTextLines(List value) ``` Text lines information **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### equals(Object obj) ``` public boolean equals(Object obj) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | | **Returns:** boolean ##### equals(PageInfo obj1, PageInfo obj2) ``` public static boolean equals(PageInfo obj1, PageInfo obj2) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj1 | PageInfo | | | obj2 | PageInfo | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### PenStyle Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models/penstyle.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class PenStyle extends System.Enum ``` Pen style #### Fields | Field | Description | | --- | --- | | SOLID | Specifies a solid line | | DASH | Specifies a line consisting of dashes | | DASH_DOT | Specifies a line consisting of dashes and dots | | DOT | Specifies a line consisting of dots | | LONG_DASH | Specifies a line consisting of long dashes | | DASH_DOT_DOT | Specifies a line consisting of dashes and two dots | #### Methods | Method | Description | | --- | --- | | numbers() | | | getName(Byte type) | | ##### SOLID ``` public static final Byte SOLID ``` Specifies a solid line ##### DASH ``` public static final Byte DASH ``` Specifies a line consisting of dashes ##### DASH_DOT ``` public static final Byte DASH_DOT ``` Specifies a line consisting of dashes and dots ##### DOT ``` public static final Byte DOT ``` Specifies a line consisting of dots ##### LONG_DASH ``` public static final Byte LONG_DASH ``` Specifies a line consisting of long dashes ##### DASH_DOT_DOT ``` public static final Byte DASH_DOT_DOT ``` Specifies a line consisting of dashes and two dots ##### numbers() ``` public static Byte[] numbers() ``` **Returns:** java.lang.Byte[] ##### getName(Byte type) ``` public static String getName(Byte type) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.Byte | | **Returns:** java.lang.String ### Point Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models/point.md **Inheritance:** java.lang.Object ``` public class Point ``` Represents point. #### Constructors | Constructor | Description | | --- | --- | | Point() | | | Point(float x, float y) | Initializes a new instance of the Point struct. | | Point(Point point) | Initializes a new instance of Point class. | #### Methods | Method | Description | | --- | --- | | isPointCollectionsEqual(List points1, List points2) | | | opEquality(Point left, Point right) | Compares two Point objects. | | opInequality(Point left, Point right) | Compares two Point objects. | | equals(Point obj1, Point obj2) | | | getX() | Gets or sets the x. | | setX(float value) | Gets or sets the x. | | getY() | Gets or sets the y. | | setY(float value) | Gets or sets the y. | | equals(Object obj) | Determines whether the specified point is equal to the current point. | | hashCode() | Serves as the default hash function. | | toString() | | ##### Point() ``` public Point() ``` ##### Point(float x, float y) ``` public Point(float x, float y) ``` Initializes a new instance of the Point struct. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | x | float | The x. | | y | float | The y. | ##### Point(Point point) ``` public Point(Point point) ``` Initializes a new instance of Point class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | point | Point | The point source. | ##### isPointCollectionsEqual(List points1, List points2) ``` public static boolean isPointCollectionsEqual(List points1, List points2) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | points1 | java.util.List | | | points2 | java.util.List | | **Returns:** boolean ##### opEquality(Point left, Point right) ``` public static boolean opEquality(Point left, Point right) ``` Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Point | A Point to compare. | | right | Point | A Point to compare. | **Returns:** boolean - true if the Point.X and Point.Y values of left and right are equal; otherwise, false. ##### opInequality(Point left, Point right) ``` public static boolean opInequality(Point left, Point right) ``` Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Point | A Point to compare. | | right | Point | A Point to compare. | **Returns:** boolean - true if the Point.X and Point.Y values of left and right are not equal; otherwise, false. ##### equals(Point obj1, Point obj2) ``` public static boolean equals(Point obj1, Point obj2) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj1 | Point | | | obj2 | Point | | **Returns:** boolean ##### getX() ``` public final float getX() ``` Gets or sets the x. Value: The x. **Returns:** float - ##### setX(float value) ``` public final void setX(float value) ``` Gets or sets the x. Value: The x. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getY() ``` public final float getY() ``` Gets or sets the y. Value: The y. **Returns:** float - ##### setY(float value) ``` public final void setY(float value) ``` Gets or sets the y. Value: The y. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether the specified point is equal to the current point. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The point to compare with the current point. | **Returns:** boolean - if the specified point is equal to the current point; otherwise, . ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current point. ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### Rectangle Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models/rectangle.md **Inheritance:** java.lang.Object ``` public class Rectangle ``` Represents rectangle. #### Constructors | Constructor | Description | | --- | --- | | Rectangle() | | | Rectangle(float x, float y, float width, float height) | Initializes a new instance of the Rectangle class. | | Rectangle(Rectangle rectangle) | Initializes a new instance of Rectangle class. | #### Methods | Method | Description | | --- | --- | | opEquality(Rectangle left, Rectangle right) | Compares two Rectangle objects. | | opInequality(Rectangle left, Rectangle right) | Compares two Rectangle objects. | | equals(Rectangle obj1, Rectangle obj2) | | | getX() | Gets or sets the x. | | setX(float value) | Gets or sets the x. | | getY() | Gets or sets the y. | | setY(float value) | Gets or sets the y. | | getWidth() | Gets or sets the width. | | setWidth(float value) | Gets or sets the width. | | getHeight() | Gets or sets the height. | | setHeight(float value) | Gets or sets the height. | | equals(Object obj) | Determines whether the specified rectangle is equal to the current rectangle. | | hashCode() | Serves as the default hash function. | | toString() | | ##### Rectangle() ``` public Rectangle() ``` ##### Rectangle(float x, float y, float width, float height) ``` public Rectangle(float x, float y, float width, float height) ``` Initializes a new instance of the Rectangle class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | x | float | The x. | | y | float | The y. | | width | float | The width. | | height | float | The height. | ##### Rectangle(Rectangle rectangle) ``` public Rectangle(Rectangle rectangle) ``` Initializes a new instance of Rectangle class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangle. | ##### opEquality(Rectangle left, Rectangle right) ``` public static boolean opEquality(Rectangle left, Rectangle right) ``` Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Rectangle | A Rectangle to compare. | | right | Rectangle | A Rectangle to compare. | **Returns:** boolean - true if the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height values of left and right are equal; otherwise, false. ##### opInequality(Rectangle left, Rectangle right) ``` public static boolean opInequality(Rectangle left, Rectangle right) ``` Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Rectangle | A Rectangle to compare. | | right | Rectangle | A Rectangle to compare. | **Returns:** boolean - true if the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height values of left and right are not equal; otherwise, false. ##### equals(Rectangle obj1, Rectangle obj2) ``` public static boolean equals(Rectangle obj1, Rectangle obj2) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj1 | Rectangle | | | obj2 | Rectangle | | **Returns:** boolean ##### getX() ``` public final float getX() ``` Gets or sets the x. Value: The x. **Returns:** float - ##### setX(float value) ``` public final void setX(float value) ``` Gets or sets the x. Value: The x. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getY() ``` public final float getY() ``` Gets or sets the y. Value: The y. **Returns:** float - ##### setY(float value) ``` public final void setY(float value) ``` Gets or sets the y. Value: The y. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getWidth() ``` public final float getWidth() ``` Gets or sets the width. Value: The width. **Returns:** float - ##### setWidth(float value) ``` public final void setWidth(float value) ``` Gets or sets the width. Value: The width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getHeight() ``` public final float getHeight() ``` Gets or sets the height. Value: The height. **Returns:** float - ##### setHeight(float value) ``` public final void setHeight(float value) ``` Gets or sets the height. Value: The height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether the specified rectangle is equal to the current rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The rectangle to compare with the current rectangle. | **Returns:** boolean - if the specified rectangle is equal to the current rectangle; otherwise, . ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current rectangle. ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### Reply Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models/reply.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.ICloneable, java.lang.Cloneable ``` public class Reply implements System.ICloneable, Cloneable ``` Represents annotation reply. #### Constructors | Constructor | Description | | --- | --- | | Reply() | | #### Methods | Method | Description | | --- | --- | | getId() | Reply Id | | setId(int value) | Reply Id | | getUser() | Reply creator | | setUser(User value) | Reply creator | | getComment() | Reply comment | | setComment(String value) | Reply comment | | getRepliedOn() | Reply creation date | | setRepliedOn(Date value) | Reply creation date | | getParentReply() | Parent reply | | setParentReply(Reply value) | Parent reply | | deepClone() | Returns new Instance with same values | | clone() | | | toString() | | ##### Reply() ``` public Reply() ``` ##### getId() ``` public final int getId() ``` Reply Id **Returns:** int - ##### setId(int value) ``` public final void setId(int value) ``` Reply Id **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getUser() ``` public final User getUser() ``` Reply creator **Returns:** User - ##### setUser(User value) ``` public final void setUser(User value) ``` Reply creator **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | User | | ##### getComment() ``` public final String getComment() ``` Reply comment **Returns:** java.lang.String - ##### setComment(String value) ``` public final void setComment(String value) ``` Reply comment **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getRepliedOn() ``` public final Date getRepliedOn() ``` Reply creation date **Returns:** java.util.Date - ##### setRepliedOn(Date value) ``` public final void setRepliedOn(Date value) ``` Reply creation date **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ##### getParentReply() ``` public final Reply getParentReply() ``` Parent reply **Returns:** Reply - ##### setParentReply(Reply value) ``` public final void setParentReply(Reply value) ``` Parent reply **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Reply | | ##### deepClone() ``` public final Object deepClone() ``` Returns new Instance with same values **Returns:** java.lang.Object - ##### clone() ``` public Object clone() ``` **Returns:** java.lang.Object ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### User Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.models/user.md **Inheritance:** java.lang.Object ``` public class User ``` Represents user properties. #### Constructors | Constructor | Description | | --- | --- | | User() | Initializes new instance of User class. | | User(int id, String name, Role role) | Initializes new instance of User class. | #### Methods | Method | Description | | --- | --- | | getId() | User Id | | setId(int value) | User Id | | getName() | User name | | setName(String value) | User name | | getEmail() | Email | | setEmail(String value) | Email | | getRole() | Role | | setRole(Role value) | Role | | toString() | | ##### User() ``` public User() ``` Initializes new instance of User class. ##### User(int id, String name, Role role) ``` public User(int id, String name, Role role) ``` Initializes new instance of User class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | int | The user id. | | name | java.lang.String | The user name. | | role | Role | The user role. | ##### getId() ``` public final int getId() ``` User Id **Returns:** int - ##### setId(int value) ``` public final void setId(int value) ``` User Id **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getName() ``` public final String getName() ``` User name **Returns:** java.lang.String - ##### setName(String value) ``` public final void setName(String value) ``` User name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getEmail() ``` public final String getEmail() ``` Email **Returns:** java.lang.String - ##### setEmail(String value) ``` public final void setEmail(String value) ``` Email **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getRole() ``` public final Role getRole() ``` Role **Returns:** Role - ##### setRole(Role value) ``` public final void setRole(Role value) ``` Role **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Role | | ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### com.groupdocs.annotation.options.export Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.export.md The namespace provides classes to specify additional options when saving documents. #### Classes | Class | Description | | --- | --- | | AnnotationType | Annotation types | | SaveOptions | Allows to specify additional options (such as password) when saving annotated document. | ### AnnotationType Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.export/annotationtype.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class AnnotationType extends System.Enum ``` Annotation types #### Fields | Field | Description | | --- | --- | | NONE | Default value | | AREA | The area annotation type that highlights rectangular area within the document page | | ARROW | The annotation type that draws an arrow on the document page | | DISTANCE | The annotation type that measures distance between elements of a document page | | ELLIPSE | The annotation of elliptic form that marks parts of document content | | LINK | The annotation type that represents a hyperlink to a remote resource | | POINT | The point annotation type that sticks a comment to an any place within document page | | POLYLINE | The polyline annotation type that allows add drawing shapes and freehand lines to a document page | | RESOURCES_REDACTION | The annotation type that hides textual content behind black rectangle | | TEXT_FIELD | The text field annotation type represents textual comment inside colored frame | | TEXT_HIGHLIGHT | The annotation type that highlights and comments selected text | | TEXT_REDACTION | The annotation type that fills part of selected text with black rectangle. | | TEXT_REPLACEMENT | The annotation type that replaces original text with other provided text fragment | | TEXT_STRIKEOUT | The annotation type that marks text fragment with a strikethrough styling | | TEXT_UNDERLINE | The annotation type that marks text with a underline styling | | WATERMARK | The annotation type that adds textual watermark over document page | | IMAGE | The annotation type that adds image overlay over document page content | | DROPDOWN | The component type that adds dropdown component for pdf document **only** | | CHECKBOX | The annotation type that adds checkbox for pdf document | | BUTTON | The annotation type that adds button for pdf document | | TEXT_SQUIGGLY | The annotation type that squiggly and comments selected text | | SEARCH_TEXT | The annotation type that search fragment text in document | | ALL | All | #### Methods | Method | Description | | --- | --- | | numbers() | | | getName(int type) | | ##### NONE ``` public static final int NONE ``` Default value ##### AREA ``` public static final int AREA ``` The area annotation type that highlights rectangular area within the document page ##### ARROW ``` public static final int ARROW ``` The annotation type that draws an arrow on the document page ##### DISTANCE ``` public static final int DISTANCE ``` The annotation type that measures distance between elements of a document page ##### ELLIPSE ``` public static final int ELLIPSE ``` The annotation of elliptic form that marks parts of document content ##### LINK ``` public static final int LINK ``` The annotation type that represents a hyperlink to a remote resource ##### POINT ``` public static final int POINT ``` The point annotation type that sticks a comment to an any place within document page ##### POLYLINE ``` public static final int POLYLINE ``` The polyline annotation type that allows add drawing shapes and freehand lines to a document page ##### RESOURCES_REDACTION ``` public static final int RESOURCES_REDACTION ``` The annotation type that hides textual content behind black rectangle ##### TEXT_FIELD ``` public static final int TEXT_FIELD ``` The text field annotation type represents textual comment inside colored frame ##### TEXT_HIGHLIGHT ``` public static final int TEXT_HIGHLIGHT ``` The annotation type that highlights and comments selected text ##### TEXT_REDACTION ``` public static final int TEXT_REDACTION ``` The annotation type that fills part of selected text with black rectangle. ##### TEXT_REPLACEMENT ``` public static final int TEXT_REPLACEMENT ``` The annotation type that replaces original text with other provided text fragment ##### TEXT_STRIKEOUT ``` public static final int TEXT_STRIKEOUT ``` The annotation type that marks text fragment with a strikethrough styling ##### TEXT_UNDERLINE ``` public static final int TEXT_UNDERLINE ``` The annotation type that marks text with a underline styling ##### WATERMARK ``` public static final int WATERMARK ``` The annotation type that adds textual watermark over document page ##### IMAGE ``` public static final int IMAGE ``` The annotation type that adds image overlay over document page content ##### DROPDOWN ``` public static final int DROPDOWN ``` The component type that adds dropdown component for pdf document **only** ##### CHECKBOX ``` public static final int CHECKBOX ``` The annotation type that adds checkbox for pdf document ##### BUTTON ``` public static final int BUTTON ``` The annotation type that adds button for pdf document ##### TEXT_SQUIGGLY ``` public static final int TEXT_SQUIGGLY ``` The annotation type that squiggly and comments selected text ##### SEARCH_TEXT ``` public static final int SEARCH_TEXT ``` The annotation type that search fragment text in document ##### ALL ``` public static final int ALL ``` All ##### numbers() ``` public static int[] numbers() ``` **Returns:** int[] ##### getName(int type) ``` public static String getName(int type) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | int | | **Returns:** java.lang.String ### SaveOptions Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.export/saveoptions.md **Inheritance:** java.lang.Object ``` public class SaveOptions ``` Allows to specify additional options (such as password) when saving annotated document. #### Constructors | Constructor | Description | | --- | --- | | SaveOptions() | | #### Methods | Method | Description | | --- | --- | | getAnnotationTypes() | Defines what annotations will be in resultant document. | | setAnnotationTypes(int value) | Defines what annotations will be in resultant document. | | getOnlyAnnotatedPages() | Indicates whether to save only annotated pages or not;. | | setOnlyAnnotatedPages(boolean value) | Indicates whether to save only annotated pages or not;. | | getFirstPage() | First page number when saving page range. | | setFirstPage(int value) | First page number when saving page range. | | getLastPage() | Last page number when saving page range. | | setLastPage(int value) | Last page number when saving page range. | | getVersion() | Version Key that will be used to access current version | | setVersion(Object value) | Version Key that will be used to access current version | ##### SaveOptions() ``` public SaveOptions() ``` ##### getAnnotationTypes() ``` public final int getAnnotationTypes() ``` Defines what annotations will be in resultant document. **Returns:** int - ##### setAnnotationTypes(int value) ``` public final void setAnnotationTypes(int value) ``` Defines what annotations will be in resultant document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getOnlyAnnotatedPages() ``` public final boolean getOnlyAnnotatedPages() ``` Indicates whether to save only annotated pages or not;. **Returns:** boolean - ##### setOnlyAnnotatedPages(boolean value) ``` public final void setOnlyAnnotatedPages(boolean value) ``` Indicates whether to save only annotated pages or not;. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFirstPage() ``` public final int getFirstPage() ``` First page number when saving page range. **Returns:** int - ##### setFirstPage(int value) ``` public final void setFirstPage(int value) ``` First page number when saving page range. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getLastPage() ``` public final int getLastPage() ``` Last page number when saving page range. **Returns:** int - ##### setLastPage(int value) ``` public final void setLastPage(int value) ``` Last page number when saving page range. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getVersion() ``` public final Object getVersion() ``` Version Key that will be used to access current version **Returns:** java.lang.Object - ##### setVersion(Object value) ``` public final void setVersion(Object value) ``` Version Key that will be used to access current version **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | | ### com.groupdocs.annotation.options.pagepreview Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.pagepreview.md The namespace provides classes to preview document pages. #### Classes | Class | Description | | --- | --- | | CreatePageStream | Delegate that defines method to create output page preview stream. | | PreviewOptions | Represents document preview options. | | ReleasePageStream | Delegate that defines method to release output page preview stream. | | WorksheetColumnsRange | Represents a range of columns for a specified worksheet | #### Interfaces | Interface | Description | | --- | --- | | PageStreamFactory | Interface that defines method to create / release output page preview stream. | ### CreatePageStream Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.pagepreview/createpagestream.md **Inheritance:** java.lang.Object, com.aspose.ms.System.Delegate, com.aspose.ms.System.MulticastDelegate ``` public abstract class CreatePageStream extends System.MulticastDelegate ``` Delegate that defines method to create output page preview stream. #### Constructors | Constructor | Description | | --- | --- | | CreatePageStream() | | #### Methods | Method | Description | | --- | --- | | invoke(int pageNumber) | | | beginInvoke(int pageNumber, System.AsyncCallback callback, Object state) | | | endInvoke(System.IAsyncResult result) | | ##### CreatePageStream() ``` public CreatePageStream() ``` ##### invoke(int pageNumber) ``` public abstract OutputStream invoke(int pageNumber) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | **Returns:** java.io.OutputStream ##### beginInvoke(int pageNumber, System.AsyncCallback callback, Object state) ``` public final System.IAsyncResult beginInvoke(int pageNumber, System.AsyncCallback callback, Object state) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | | callback | com.aspose.ms.System.AsyncCallback | | | state | java.lang.Object | | **Returns:** com.aspose.ms.System.IAsyncResult ##### endInvoke(System.IAsyncResult result) ``` public final OutputStream endInvoke(System.IAsyncResult result) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | result | com.aspose.ms.System.IAsyncResult | | **Returns:** java.io.OutputStream ### PageStreamFactory Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.pagepreview/pagestreamfactory.md ### PreviewOptions Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.pagepreview/previewoptions.md **Inheritance:** java.lang.Object ``` public class PreviewOptions ``` Represents document preview options. #### Constructors | Constructor | Description | | --- | --- | | PreviewOptions(CreatePageStream createPageStream) | Initializes a new instance of PreviewOptions class. | | PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream) | Initializes a new instance of PreviewOptions class. | #### Methods | Method | Description | | --- | --- | | getCreatePageStream() | Delegate which defines method to create output page preview stream. | | setCreatePageStream(CreatePageStream value) | Delegate which defines method to create output page preview stream. | | getReleasePageStream() | Delegate which defines method to remove output page preview stream | | setReleasePageStream(ReleasePageStream value) | Delegate which defines method to remove output page preview stream | | getWidth() | Page preview width. | | setWidth(int value) | Page preview width. | | getHeight() | Page preview height. | | setHeight(int value) | Page preview height. | | getPageNumbers() | Page numbers that will be previewed. | | setPageNumbers(int[] value) | Page numbers that will be previewed. | | getPreviewFormat() | Preview image format. | | setPreviewFormat(int value) | Preview image format. | | getResolution() | | | setResolution(int value) | | | getRenderComments() | The property that controls whether comments will be generated on the preview. | | setRenderComments(boolean value) | The property that controls whether comments will be generated on the preview. | | getRenderAnnotations() | The property that controls whether annotations will be generated on the preview. | | setRenderAnnotations(boolean value) | The property that controls whether annotations will be generated on the preview. | | getWorksheetColumns() | Worksheet columns to generate. | | getWorksheetColumnsInternal() | | | setWorksheetColumns(List value) | Worksheet columns to generate. | | setWorksheetColumnsInternal(System.Collections.Generic.List value) | | ##### PreviewOptions(CreatePageStream createPageStream) ``` public PreviewOptions(CreatePageStream createPageStream) ``` Initializes a new instance of PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Delegate which defines method to create output page preview stream. | ##### PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream) ``` public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream) ``` Initializes a new instance of PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Delegate which defines method to create output page preview stream. | | releasePageStream | ReleasePageStream | Delegate which defines method to release output page preview stream. | ##### getCreatePageStream() ``` public final CreatePageStream getCreatePageStream() ``` Delegate which defines method to create output page preview stream. **Returns:** CreatePageStream - ##### setCreatePageStream(CreatePageStream value) ``` public final void setCreatePageStream(CreatePageStream value) ``` Delegate which defines method to create output page preview stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | CreatePageStream | | ##### getReleasePageStream() ``` public final ReleasePageStream getReleasePageStream() ``` Delegate which defines method to remove output page preview stream **Returns:** ReleasePageStream - ##### setReleasePageStream(ReleasePageStream value) ``` public final void setReleasePageStream(ReleasePageStream value) ``` Delegate which defines method to remove output page preview stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ReleasePageStream | | ##### getWidth() ``` public final int getWidth() ``` Page preview width. **Returns:** int - ##### setWidth(int value) ``` public final void setWidth(int value) ``` Page preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Page preview height. **Returns:** int - ##### setHeight(int value) ``` public final void setHeight(int value) ``` Page preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPageNumbers() ``` public final int[] getPageNumbers() ``` Page numbers that will be previewed. **Returns:** int[] - ##### setPageNumbers(int[] value) ``` public final void setPageNumbers(int[] value) ``` Page numbers that will be previewed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | | ##### getPreviewFormat() ``` public final int getPreviewFormat() ``` Preview image format. **Returns:** int - ##### setPreviewFormat(int value) ``` public final void setPreviewFormat(int value) ``` Preview image format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getResolution() ``` public int getResolution() ``` **Returns:** int ##### setResolution(int value) ``` public void setResolution(int value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getRenderComments() ``` public final boolean getRenderComments() ``` The property that controls whether comments will be generated on the preview. Default State - true. Now Supported only in MS Word document **Returns:** boolean - ##### setRenderComments(boolean value) ``` public final void setRenderComments(boolean value) ``` The property that controls whether comments will be generated on the preview. Default State - true. Now Supported only in MS Word document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRenderAnnotations() ``` public final boolean getRenderAnnotations() ``` The property that controls whether annotations will be generated on the preview. Default State - true. **Returns:** boolean - ##### setRenderAnnotations(boolean value) ``` public final void setRenderAnnotations(boolean value) ``` The property that controls whether annotations will be generated on the preview. Default State - true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getWorksheetColumns() ``` public final List getWorksheetColumns() ``` Worksheet columns to generate. Generation proceeds in the specified order. **Returns:** java.util.List - ##### getWorksheetColumnsInternal() ``` public System.Collections.Generic.List getWorksheetColumnsInternal() ``` **Returns:** com.aspose.ms.System.Collections.Generic.List ##### setWorksheetColumns(List value) ``` public final void setWorksheetColumns(List value) ``` Worksheet columns to generate. Generation proceeds in the specified order. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### setWorksheetColumnsInternal(System.Collections.Generic.List value) ``` public void setWorksheetColumnsInternal(System.Collections.Generic.List value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.aspose.ms.System.Collections.Generic.List | | ### ReleasePageStream Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.pagepreview/releasepagestream.md **Inheritance:** java.lang.Object, com.aspose.ms.System.Delegate, com.aspose.ms.System.MulticastDelegate ``` public abstract class ReleasePageStream extends System.MulticastDelegate ``` Delegate that defines method to release output page preview stream. #### Constructors | Constructor | Description | | --- | --- | | ReleasePageStream() | | #### Methods | Method | Description | | --- | --- | | invoke(int pageNumber, OutputStream pageStream) | | | beginInvoke(int pageNumber, OutputStream pageStream, System.AsyncCallback callback, Object state) | | | endInvoke(System.IAsyncResult result) | | ##### ReleasePageStream() ``` public ReleasePageStream() ``` ##### invoke(int pageNumber, OutputStream pageStream) ``` public abstract void invoke(int pageNumber, OutputStream pageStream) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | | pageStream | java.io.OutputStream | | ##### beginInvoke(int pageNumber, OutputStream pageStream, System.AsyncCallback callback, Object state) ``` public final System.IAsyncResult beginInvoke(int pageNumber, OutputStream pageStream, System.AsyncCallback callback, Object state) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | | pageStream | java.io.OutputStream | | | callback | com.aspose.ms.System.AsyncCallback | | | state | java.lang.Object | | **Returns:** com.aspose.ms.System.IAsyncResult ##### endInvoke(System.IAsyncResult result) ``` public final void endInvoke(System.IAsyncResult result) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | result | com.aspose.ms.System.IAsyncResult | | ### WorksheetColumnsRange Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.pagepreview/worksheetcolumnsrange.md **Inheritance:** java.lang.Object ``` public class WorksheetColumnsRange ``` Represents a range of columns for a specified worksheet #### Constructors | Constructor | Description | | --- | --- | | WorksheetColumnsRange(int worksheetIndex, int firstColumn, int lastColumn) | Initializes a new instance of WorksheetColumnsRange class. | | WorksheetColumnsRange(String worksheetName, int firstColumn, int lastColumn) | Initializes a new instance of WorksheetColumnsRange class. | #### Fields | Field | Description | | --- | --- | | firstColumn | | | lastColumn | | #### Methods | Method | Description | | --- | --- | | getWorksheetIndex() | | | getWorksheetName() | | ##### WorksheetColumnsRange(int worksheetIndex, int firstColumn, int lastColumn) ``` public WorksheetColumnsRange(int worksheetIndex, int firstColumn, int lastColumn) ``` Initializes a new instance of WorksheetColumnsRange class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | int | Worksheet index | | firstColumn | int | First column | | lastColumn | int | Last column | ##### WorksheetColumnsRange(String worksheetName, int firstColumn, int lastColumn) ``` public WorksheetColumnsRange(String worksheetName, int firstColumn, int lastColumn) ``` Initializes a new instance of WorksheetColumnsRange class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheetName | java.lang.String | Worksheet name | | firstColumn | int | First column | | lastColumn | int | Last column | ##### firstColumn ``` public final int firstColumn ``` ##### lastColumn ``` public final int lastColumn ``` ##### getWorksheetIndex() ``` public int getWorksheetIndex() ``` **Returns:** int ##### getWorksheetName() ``` public String getWorksheetName() ``` **Returns:** java.lang.String ### com.groupdocs.annotation.options Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.md The namespace provides classes to specify additional options when loading, annotating and saving documents. #### Classes | Class | Description | | --- | --- | | LoadOptions | Allows to specify additional options (such as password) when opening a document to annotate. | #### Enumerations | Enum | Description | | --- | --- | | FileType | Information about file, such as type, extension, etc. | ### FileType Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options/filetype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public enum FileType extends Enum implements System.IEquatable ``` Information about file, such as type, extension, etc. #### Fields | Field | Description | | --- | --- | | UNKNOWN | Unknown. | | DOC | Microsoft Word format. | | DOCX | Microsoft Word Open XML format. | | DOCM | Microsoft Word 2007 Macro file. | | DOT | Microsoft Word Document Template. | | DOTX | Microsoft Word Template. | | DOTM | Microsoft Word Macro-Enabled Document Template. | | RTF | Rich Text Format File. | | ODT | Open Document Text. | | XLS | Microsoft Excel Spreadsheet format. | | XLSX | Microsoft Excel Open XML Spreadsheet. | | XLSM | Microsoft Excel Spreadsheet Macros format | | XLSB | Excel Binary File Format | | ODS | OpenDocument Spreadsheet Document format | | PPT | Microsoft PowerPoint Presentation. | | PPTX | Microsoft PowerPoint Open XML Presentation. | | PPS | Microsoft PowerPoint Slide Show (Legacy). | | PPSX | Microsoft PowerPoint Slide Show. | | ODP | Open Document Presentation. | | TIF | Tagged Image File. | | TIFF | Tagged Image File Format | | JPEG | Joint Photographic Experts Group. | | JPG | Joint Photographic Experts Group. | | PNG | Portable Network Graphic File. | | BMP | Bitmap Image File. | | DWG | AutoCAD Drawing Database File. | | DXF | Drawing Exchange Format File. | | PDF | Adobe Portable Document format. | | HTM | Hypertext Markup Language File. | | HTML | Hypertext Markup Language File. | | EML | File in the MIME standard. | | EMLX | Apple's Mail.app program file format. | | VSD | Microsoft Visio VSD binary format. | | VSDX | Microsoft Visio 2013 VSDX file format. | | VSDM | Microsoft Visio Macro-Enabled Drawing. | | VSS | Microsoft Visio Stencil File. | | VSX | Microsoft Visio Stencil XML File. | | VSSX | Microsoft Visio Stencil File. | | VST | Microsoft Visio VST binary template format. | | VSTM | Microsoft Visio Macro-Enabled Drawing Template. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromFileNameOrExtension(String fileNameOrExtension) | Return FileType based on file name or extension. | | getSupportedFileTypes() | Get supported file types enumeration. | | fromFoundationFileType(int foundationFileType) | | | getFileFormat() | File format | | getExtension() | File extention | | typeEquals(FileType other) | File type equivalence check. | | opEquality(FileType left, FileType right) | Operator overload. | | opInequality(FileType left, FileType right) | Operator overload. | | toString() | Returns a string that represents the file type. | ##### UNKNOWN ``` public static final FileType UNKNOWN ``` Unknown. ##### DOC ``` public static final FileType DOC ``` Microsoft Word format. ##### DOCX ``` public static final FileType DOCX ``` Microsoft Word Open XML format. ##### DOCM ``` public static final FileType DOCM ``` Microsoft Word 2007 Macro file. ##### DOT ``` public static final FileType DOT ``` Microsoft Word Document Template. ##### DOTX ``` public static final FileType DOTX ``` Microsoft Word Template. ##### DOTM ``` public static final FileType DOTM ``` Microsoft Word Macro-Enabled Document Template. ##### RTF ``` public static final FileType RTF ``` Rich Text Format File. ##### ODT ``` public static final FileType ODT ``` Open Document Text. ##### XLS ``` public static final FileType XLS ``` Microsoft Excel Spreadsheet format. ##### XLSX ``` public static final FileType XLSX ``` Microsoft Excel Open XML Spreadsheet. ##### XLSM ``` public static final FileType XLSM ``` Microsoft Excel Spreadsheet Macros format ##### XLSB ``` public static final FileType XLSB ``` Excel Binary File Format ##### ODS ``` public static final FileType ODS ``` OpenDocument Spreadsheet Document format ##### PPT ``` public static final FileType PPT ``` Microsoft PowerPoint Presentation. ##### PPTX ``` public static final FileType PPTX ``` Microsoft PowerPoint Open XML Presentation. ##### PPS ``` public static final FileType PPS ``` Microsoft PowerPoint Slide Show (Legacy). ##### PPSX ``` public static final FileType PPSX ``` Microsoft PowerPoint Slide Show. ##### ODP ``` public static final FileType ODP ``` Open Document Presentation. ##### TIF ``` public static final FileType TIF ``` Tagged Image File. ##### TIFF ``` public static final FileType TIFF ``` Tagged Image File Format ##### JPEG ``` public static final FileType JPEG ``` Joint Photographic Experts Group. ##### JPG ``` public static final FileType JPG ``` Joint Photographic Experts Group. ##### PNG ``` public static final FileType PNG ``` Portable Network Graphic File. ##### BMP ``` public static final FileType BMP ``` Bitmap Image File. ##### DWG ``` public static final FileType DWG ``` AutoCAD Drawing Database File. ##### DXF ``` public static final FileType DXF ``` Drawing Exchange Format File. ##### PDF ``` public static final FileType PDF ``` Adobe Portable Document format. ##### HTM ``` public static final FileType HTM ``` Hypertext Markup Language File. ##### HTML ``` public static final FileType HTML ``` Hypertext Markup Language File. ##### EML ``` public static final FileType EML ``` File in the MIME standard. ##### EMLX ``` public static final FileType EMLX ``` Apple's Mail.app program file format. ##### VSD ``` public static final FileType VSD ``` Microsoft Visio VSD binary format. ##### VSDX ``` public static final FileType VSDX ``` Microsoft Visio 2013 VSDX file format. ##### VSDM ``` public static final FileType VSDM ``` Microsoft Visio Macro-Enabled Drawing. ##### VSS ``` public static final FileType VSS ``` Microsoft Visio Stencil File. ##### VSX ``` public static final FileType VSX ``` Microsoft Visio Stencil XML File. ##### VSSX ``` public static final FileType VSSX ``` Microsoft Visio Stencil File. ##### VST ``` public static final FileType VST ``` Microsoft Visio VST binary template format. ##### VSTM ``` public static final FileType VSTM ``` Microsoft Visio Macro-Enabled Drawing Template. ##### values() ``` public static FileType[] values() ``` **Returns:** com.groupdocs.annotation.options.FileType[] ##### valueOf(String name) ``` public static FileType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** FileType ##### fromFileNameOrExtension(String fileNameOrExtension) ``` public static FileType fromFileNameOrExtension(String fileNameOrExtension) ``` Return FileType based on file name or extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileNameOrExtension | java.lang.String | The file name or file extension. | **Returns:** FileType - The file type. ##### getSupportedFileTypes() ``` public static List getSupportedFileTypes() ``` Get supported file types enumeration. **Returns:** java.util.List - Enumeration of FileType. ##### fromFoundationFileType(int foundationFileType) ``` public static FileType fromFoundationFileType(int foundationFileType) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | foundationFileType | int | | **Returns:** FileType ##### getFileFormat() ``` public final String getFileFormat() ``` File format **Returns:** java.lang.String - ##### getExtension() ``` public final String getExtension() ``` File extention **Returns:** java.lang.String - ##### typeEquals(FileType other) ``` public final boolean typeEquals(FileType other) ``` File type equivalence check. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FileType | FileType object. | **Returns:** boolean - True if file types are equivalent, false if not. ##### opEquality(FileType left, FileType right) ``` public static boolean opEquality(FileType left, FileType right) ``` Operator overload. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | FileType | The left file type. | | right | FileType | The right file type. | **Returns:** boolean - True if file types are equivalent, false if not. ##### opInequality(FileType left, FileType right) ``` public static boolean opInequality(FileType left, FileType right) ``` Operator overload. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | FileType | The left file type. | | right | FileType | The right file type. | **Returns:** boolean - True if file types are different, false if not. ##### toString() ``` public String toString() ``` Returns a string that represents the file type. **Returns:** java.lang.String - A string that represents the file type. ### LoadOptions Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options/loadoptions.md **Inheritance:** java.lang.Object ``` public class LoadOptions ``` Allows to specify additional options (such as password) when opening a document to annotate. #### Constructors | Constructor | Description | | --- | --- | | LoadOptions() | | #### Methods | Method | Description | | --- | --- | | getPassword() | Document password | | setPassword(String value) | Document password | | getVersion() | Sets what version of document will be load. | | setVersion(Object value) | Sets what version of document will be load. | | getFontDirectories() | List of font directories to load custom fonts from | | setFontDirectories(List value) | List of font directories to load custom fonts from | ##### LoadOptions() ``` public LoadOptions() ``` ##### getPassword() ``` public final String getPassword() ``` Document password **Returns:** java.lang.String - ##### setPassword(String value) ``` public final void setPassword(String value) ``` Document password **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getVersion() ``` public final Object getVersion() ``` Sets what version of document will be load. Default State - last **Returns:** java.lang.Object - ##### setVersion(Object value) ``` public final void setVersion(Object value) ``` Sets what version of document will be load. Default State - last **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | | ##### getFontDirectories() ``` public final List getFontDirectories() ``` List of font directories to load custom fonts from **Returns:** java.util.List - ##### setFontDirectories(List value) ``` public final void setFontDirectories(List value) ``` List of font directories to load custom fonts from **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ### com.groupdocs.annotation Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.md The namespace provides classes to annotate documents for all popular document formats. The Main classes in this namespace are: * Annotator is the entry point for annotating documents. * AnnotatorSettings provides an easy way to customize caching, logging behaviour etc. * Document provides details about a document. The main class of this namespace is Annotator. This class provides methods for annotating document. #### Classes | Class | Description | | --- | --- | | Annotator | Represents main class that controls document annotating process. | | AnnotatorSettings | Defines settings for customizing Annotator behavior. | | Document | Represents document properties | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Information about document | ### Annotator Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation/annotator.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IDisposable, java.io.Closeable ``` public class Annotator implements System.IDisposable, Closeable ``` Represents main class that controls document annotating process. #### Constructors | Constructor | Description | | --- | --- | | Annotator(String filePath) | Initialise annotator class which accept document path | | Annotator(String filePath, LoadOptions loadOptions) | Initialise annotator class which accept document path | | Annotator(String filePath, AnnotatorSettings settings) | Initialise annotator class which accept document path | | Annotator(String filePath, LoadOptions loadOptions, AnnotatorSettings settings) | Initialise annotator class which accept document path | | Annotator(InputStream inputStream) | Initialise annotator class which accept document stream | | Annotator(InputStream inputStream, LoadOptions loadOptions) | Initialise annotator class which accept document stream | | Annotator(InputStream inputStream, AnnotatorSettings settings) | Initialise annotator class which accept document stream | | Annotator(InputStream inputStream, LoadOptions loadOptions, AnnotatorSettings settings) | Initialise annotator class which accept inputStream stream | #### Methods | Method | Description | | --- | --- | | getDocument() | Document | | getRotation() | Document Rotation | | setRotation(Byte value) | Document Rotation | | getProcessPages() | Document pages | | setProcessPages(int value) | Document pages | | save() | Saves document after adding, updating or removing annotations. | | save(SaveOptions saveOptions) | Saves document after adding, updating or removing annotations. | | save(OutputStream document) | Saves document after adding, updating or removing annotations. | | save(String filePath) | Saves document after adding, updating or removing annotations. | | save(OutputStream outputStream, SaveOptions saveOptions) | Saves outputStream after adding, updating or removing annotations. | | save(String filePath, SaveOptions saveOptions) | Saves document after adding, updating or removing annotations. | | dispose() | Dispose | | add(AnnotationBase annotation) | Adds annotation to document | | add(List annotations) | Adds collection of annotations to a document. | | update(AnnotationBase newAnnotation) | Updates document annotation. | | update(List annotations) | Updates collection of document annotations. | | remove(int annotationId) | Removes annotation from document by Id. | | remove(AnnotationBase annotation) | Removes annotation from document. | | remove(AnnotationBase[] annotationsToDelete) | Removes collection of annotations from document by provided annotation ids. | | remove(List annotationsIdsToDelete) | Removes collection of annotations from document by provided annotation ids. | | removeInternal(List annotationsToDelete) | Removes collection of annotations from document. | | get() | Gets collections of document annotations. | | getVersionsList() | Get versions. | | getVersion(Object version) | Get annotations from versions. | | get(int type) | Gets collection of document annotations by annotation type. | | importAnnotationsFromDocument(String outputPath) | Import annotations from document to XML file. | | exportAnnotationsFromDocument(String filePath) | Export annotations from XML document. | | close() | | ##### Annotator(String filePath) ``` public Annotator(String filePath) ``` Initialise annotator class which accept document path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path ##### Annotator(String filePath, LoadOptions loadOptions) ``` public Annotator(String filePath, LoadOptions loadOptions) ``` Initialise annotator class which accept document path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path | | loadOptions | LoadOptions | Load options ##### Annotator(String filePath, AnnotatorSettings settings) ``` public Annotator(String filePath, AnnotatorSettings settings) ``` Initialise annotator class which accept document path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path | | settings | AnnotatorSettings | Annotator settings ##### Annotator(String filePath, LoadOptions loadOptions, AnnotatorSettings settings) ``` public Annotator(String filePath, LoadOptions loadOptions, AnnotatorSettings settings) ``` Initialise annotator class which accept document path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path | | loadOptions | LoadOptions | Load options | | settings | AnnotatorSettings | Annotator settings ##### Annotator(InputStream inputStream) ``` public Annotator(InputStream inputStream) ``` Initialise annotator class which accept document stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputStream | java.io.InputStream | Document stream ##### Annotator(InputStream inputStream, LoadOptions loadOptions) ``` public Annotator(InputStream inputStream, LoadOptions loadOptions) ``` Initialise annotator class which accept document stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputStream | java.io.InputStream | Document stream | | loadOptions | LoadOptions | Load options ##### Annotator(InputStream inputStream, AnnotatorSettings settings) ``` public Annotator(InputStream inputStream, AnnotatorSettings settings) ``` Initialise annotator class which accept document stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputStream | java.io.InputStream | Document stream | | settings | AnnotatorSettings | Annotator settings ##### Annotator(InputStream inputStream, LoadOptions loadOptions, AnnotatorSettings settings) ``` public Annotator(InputStream inputStream, LoadOptions loadOptions, AnnotatorSettings settings) ``` Initialise annotator class which accept inputStream stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputStream | java.io.InputStream | Document stream | | loadOptions | LoadOptions | Load options | | settings | AnnotatorSettings | Annotator settings ##### getDocument() ``` public final Document getDocument() ``` Document **Returns:** Document - ##### getRotation() ``` public final Byte getRotation() ``` Document Rotation **Returns:** java.lang.Byte - ##### setRotation(Byte value) ``` public final void setRotation(Byte value) ``` Document Rotation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### getProcessPages() ``` public final int getProcessPages() ``` Document pages **Returns:** int - ##### setProcessPages(int value) ``` public final void setProcessPages(int value) ``` Document pages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### save() ``` public final void save() ``` Saves document after adding, updating or removing annotations. **Learn more about saving annotated documents** * * * ##### save(SaveOptions saveOptions) ``` public final void save(SaveOptions saveOptions) ``` Saves document after adding, updating or removing annotations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | saveOptions | SaveOptions | The save options. **Learn more about saving annotated documents** * * * | ##### save(OutputStream document) ``` public final void save(OutputStream document) ``` Saves document after adding, updating or removing annotations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The output stream. **Learn more about saving annotated documents** * * * | ##### save(String filePath) ``` public final void save(String filePath) ``` Saves document after adding, updating or removing annotations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The output file path. **Learn more about saving annotated documents** * * * | ##### save(OutputStream outputStream, SaveOptions saveOptions) ``` public final void save(OutputStream outputStream, SaveOptions saveOptions) ``` Saves outputStream after adding, updating or removing annotations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputStream | java.io.OutputStream | The output stream. | | saveOptions | SaveOptions | The save options. **Learn more about saving annotated documents** * * * | ##### save(String filePath, SaveOptions saveOptions) ``` public final void save(String filePath, SaveOptions saveOptions) ``` Saves document after adding, updating or removing annotations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The output file path. | | saveOptions | SaveOptions | The save options. **Learn more about saving annotated documents** * * * | ##### dispose() ``` public final void dispose() ``` Dispose ##### add(AnnotationBase annotation) ``` public final void add(AnnotationBase annotation) ``` Adds annotation to document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotation | AnnotationBase | The annotation to add. ##### add(List annotations) ``` public final void add(List annotations) ``` Adds collection of annotations to a document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotations | java.util.List | The annotations list to add. ##### update(AnnotationBase newAnnotation) ``` public final void update(AnnotationBase newAnnotation) ``` Updates document annotation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newAnnotation | AnnotationBase | The annotation to update (Id should be provided). ##### update(List annotations) ``` public final void update(List annotations) ``` Updates collection of document annotations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotations | java.util.List | The annotations list that will be set. ##### remove(int annotationId) ``` public final void remove(int annotationId) ``` Removes annotation from document by Id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotationId | int | The annotation's id that must be removed. ##### remove(AnnotationBase annotation) ``` public final void remove(AnnotationBase annotation) ``` Removes annotation from document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotation | AnnotationBase | Annotation that must be removed. ##### remove(AnnotationBase[] annotationsToDelete) ``` public final void remove(AnnotationBase[] annotationsToDelete) ``` Removes collection of annotations from document by provided annotation ids. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotationsToDelete | AnnotationBase\[\] | The annotation's id that must be removed. ##### remove(List annotationsIdsToDelete) ``` public final void remove(List annotationsIdsToDelete) ``` Removes collection of annotations from document by provided annotation ids. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotationsIdsToDelete | java.util.List | The annotation's id that must be removed. ##### removeInternal(List annotationsToDelete) ``` public final void removeInternal(List annotationsToDelete) ``` Removes collection of annotations from document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | annotationsToDelete | java.util.List | The annotations that must be removed. ##### get() ``` public final List get() ``` Gets collections of document annotations. **Returns:** java.util.List - The list of annotations. ##### getVersionsList() ``` public final List getVersionsList() ``` Get versions. **Returns:** java.util.List - The list of versions. ##### getVersion(Object version) ``` public final List getVersion(Object version) ``` Get annotations from versions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | version | java.lang.Object | The version's Key of versions which you want to return | **Returns:** java.util.List - The list of annotations from specific versions. If null will return last. ##### get(int type) ``` public final List get(int type) ``` Gets collection of document annotations by annotation type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | int | The annotations type that must be returned. **Returns:** java.util.List - The list of annotations by type. ##### importAnnotationsFromDocument(String outputPath) ``` public final void importAnnotationsFromDocument(String outputPath) ``` Import annotations from document to XML file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPath | java.lang.String | The output file path. ##### exportAnnotationsFromDocument(String filePath) ``` public final void exportAnnotationsFromDocument(String filePath) ``` Export annotations from XML document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The input file path. ##### close() ``` public void close() ``` ### AnnotatorSettings Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation/annotatorsettings.md **Inheritance:** java.lang.Object ``` public class AnnotatorSettings ``` Defines settings for customizing Annotator behavior. #### Constructors | Constructor | Description | | --- | --- | | AnnotatorSettings() | | #### Methods | Method | Description | | --- | --- | | getLogger() | Logger | | setLogger(ILogger value) | Logger | | getCache() | Cache | | setCache(ICache value) | Cache | ##### AnnotatorSettings() ``` public AnnotatorSettings() ``` ##### getLogger() ``` public final ILogger getLogger() ``` Logger **Returns:** com.groupdocs.foundation.logging.ILogger - ##### setLogger(ILogger value) ``` public final void setLogger(ILogger value) ``` Logger **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.groupdocs.foundation.logging.ILogger | | ##### getCache() ``` public final ICache getCache() ``` Cache **Returns:** ICache - ##### setCache(ICache value) ``` public final void setCache(ICache value) ``` Cache **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ICache | | ### Document Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation/document.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public class Document implements Closeable ``` Represents document properties #### Constructors | Constructor | Description | | --- | --- | | Document(InputStream stream) | Initializes new instance of Document class. | | Document(InputStream stream, String password) | Initializes new instance of Document class. | #### Methods | Method | Description | | --- | --- | | setCache(ICache value) | | | getName() | Document name | | setName(String value) | Document name | | getStreamSize() | Document size | | createStream() | Creates Document input stream | | getPassword() | Document password | | setPassword(String value) | | | getRotation() | Document Rotation | | setRotation(Byte value) | Document Rotation | | getProcessPages() | Document pages | | setProcessPages(int value) | Document pages | | generatePreview(PreviewOptions previewOptions) | Generates document pages preview. | | getDocumentInfo() | Gets information about document - document type and size, pages count etc. | | close() | | | addImageToDocument(String dataDir, String jpgFileName, int pageNumber, int imageQuality) | Change image quality and add image to document | ##### Document(InputStream stream) ``` public Document(InputStream stream) ``` Initializes new instance of Document class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | The document stream. | ##### Document(InputStream stream, String password) ``` public Document(InputStream stream, String password) ``` Initializes new instance of Document class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | The document stream. | | password | java.lang.String | The document password. | ##### setCache(ICache value) ``` public final void setCache(ICache value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ICache | | ##### getName() ``` public final String getName() ``` Document name **Returns:** java.lang.String - ##### setName(String value) ``` public final void setName(String value) ``` Document name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getStreamSize() ``` public final long getStreamSize() ``` Document size **Returns:** long - ##### createStream() ``` public final InputStream createStream() ``` Creates Document input stream **Returns:** java.io.InputStream ##### getPassword() ``` public final String getPassword() ``` Document password **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getRotation() ``` public final Byte getRotation() ``` Document Rotation **Returns:** java.lang.Byte - ##### setRotation(Byte value) ``` public final void setRotation(Byte value) ``` Document Rotation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | | ##### getProcessPages() ``` public final int getProcessPages() ``` Document pages **Returns:** int - ##### setProcessPages(int value) ``` public final void setProcessPages(int value) ``` Document pages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### generatePreview(PreviewOptions previewOptions) ``` public final void generatePreview(PreviewOptions previewOptions) ``` Generates document pages preview. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | The document preview options | ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets information about document - document type and size, pages count etc. **Returns:** IDocumentInfo - ##### close() ``` public void close() ``` ##### addImageToDocument(String dataDir, String jpgFileName, int pageNumber, int imageQuality) ``` public void addImageToDocument(String dataDir, String jpgFileName, int pageNumber, int imageQuality) ``` Change image quality and add image to document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataDir | java.lang.String | Specify the path to the input PDF file | | jpgFileName | java.lang.String | The path to the JPG file | | pageNumber | int | Page where the image will be inserted | | imageQuality | int | Set image quality from 1 to 100, "1" - is the smallest resolution "100" - is the largest | ### IDocumentInfo Path: https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation/idocumentinfo.md ## .NET ### GroupDocs.Annotation for .NET Path: https://reference.groupdocs.com/annotation/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Annotation | The namespace provides classes to annotate documents for all popular document formats. | | GroupDocs.Annotation.Cache | The namespace provides classes for customizing caching behaviour. | | GroupDocs.Annotation.Exceptions | The namespace contains all the exceptions used in GroupDocs.Annotation API. | | GroupDocs.Annotation.Localization | The namespace provides classes checking supported locales. | | GroupDocs.Annotation.Logging | The namespace provides classes for working with integrated or your own logger. | | GroupDocs.Annotation.Models | The namespace contains various of annotation models | | GroupDocs.Annotation.Models.AnnotationModels | The namespace provides annotation models data classes. | | GroupDocs.Annotation.Models.AnnotationModels.Interfaces.Annotations | The namespace provides annotation models interfaces. | | GroupDocs.Annotation.Models.AnnotationModels.Interfaces.Properties | The namespace provides annotation properties interfaces. | | GroupDocs.Annotation.Models.FormatSpecificComponents.Pdf | The namespace provides format specific component models | | GroupDocs.Annotation.Models.FormatSpecificComponents.Pdf.Interfaces | The namespace provides format specific component interfaces | | GroupDocs.Annotation.Options | The namespace provides classes to specify additional options when loading, annotating and saving documents. | | GroupDocs.Annotation.Projects.Cells.Models | The namespace provides classes to store information about the text | | GroupDocs.Annotation.Projects.Diagram.Models | The namespace provides classes to store information about the text, annotated fragments, char state | | GroupDocs.Annotation.Projects.Images.Models | The namespace provides classes of bytes with a specific offset in the byte array. | | GroupDocs.Annotation.Projects.Pdf.Models | The namespace provides a class to represent the default state model for text in a PDF document | | GroupDocs.Annotation.Projects.Slides.Models | The namespace provides classes to store information about the text | | GroupDocs.Annotation.Utility | | ### GroupDocs.Annotation.Cache Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache.md The namespace provides classes for customizing caching behaviour. #### Classes | Class | Description | | --- | --- | | FileCache | Class that allows to work with the local on-disk cache. | #### Interfaces | Interface | Description | | --- | --- | | ICache | Defines methods required for storing rendered document and document resources cache. | ### Class FileCache Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/filecache.md #### FileCache class Class that allows to work with the local on-disk cache. ```csharp public class FileCache : ICache ``` #### Constructors | Name | Description | | --- | --- | | FileCache() | Initializes new instance of `FileCache` class. | | FileCache(string) | Initializes new instance of `FileCache` class. | #### Methods | Name | Description | | --- | --- | | GetKeys(string) | Returns all file names that contains filter in filename. | | Set(string, object) | Serializes data to the local disk. | | TryGetValue(string, out object) | Deserializes data associated with this key if present. | ### FileCache.FileCache Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/filecache/filecache.md #### FileCache() Initializes new instance of `FileCache` class. ```csharp public FileCache() ``` #### FileCache(string) Initializes new instance of `FileCache` class. ```csharp public FileCache(string path) ``` | Parameter | Type | Description | | --- | --- | --- | | path | String | Path where cache data will be saved | ### FileCache.GetKeys Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/filecache/getkeys.md #### FileCache.GetKeys method Returns all file names that contains filter in filename. ```csharp public IEnumerable GetKeys(string filter) ``` | Parameter | Type | Description | | --- | --- | --- | | filter | String | The filter to use. | ##### Return Value File names that contains filter in filename. ### FileCache.Set Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/filecache/set.md #### FileCache.Set method Serializes data to the local disk. ```csharp public void Set(string key, object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | An unique identifier for the cache entry. | | value | Object | The object to serialize. | ### FileCache.TryGetValue Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/filecache/trygetvalue.md #### FileCache.TryGetValue method Deserializes data associated with this key if present. ```csharp public bool TryGetValue(string key, out object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A key identifying the requested entry. | | value | Object& | The located value or null. | ##### Return Value True if the key was found. ### Interface ICache Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/icache.md #### ICache interface Defines methods required for storing rendered document and document resources cache. ```csharp public interface ICache ``` #### Methods | Name | Description | | --- | --- | | GetKeys(string) | Returns all keys matching filter. | | Set(string, object) | Inserts a cache entry into the cache. | | TryGetValue(string, out object) | Gets the entry associated with this key if present. | ### ICache.GetKeys Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/icache/getkeys.md #### ICache.GetKeys method Returns all keys matching filter. ```csharp public IEnumerable GetKeys(string filter) ``` | Parameter | Type | Description | | --- | --- | --- | | filter | String | The filter to use. | ##### Return Value Keys matching the filter. ### ICache.Set Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/icache/set.md #### ICache.Set method Inserts a cache entry into the cache. ```csharp public void Set(string key, object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A unique identifier for the cache entry. | | value | Object | The object to insert. | ### ICache.TryGetValue Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.cache/icache/trygetvalue.md #### ICache.TryGetValue method Gets the entry associated with this key if present. ```csharp public bool TryGetValue(string key, out object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A key identifying the requested entry. | | value | Object& | The located value or null. | ##### Return Value True if the key was found. ### GroupDocs.Annotation.Exceptions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions.md The namespace contains all the exceptions used in GroupDocs.Annotation API. #### Classes | Class | Description | | --- | --- | | AnnotatorException | An error that occur during the document annotation process. | | ConvertFileException | The exception that is thrown if file conversion failed. | | CorruptedOrDamagedFileException | The exception that is thrown when file is corrupted or damaged. | | FileTypeNotSupportedException | The exception that is thrown when file type is not supported. | | ImageNotLoadedException | The exception that is thrown when image cannot be loaded from remote or local path. Usually happens if the provided "path" is incorrect. | | IOException | The exception that is thrown when trying to apply format-specific annotation to the wrong file type. | | PasswordProtectedFileException | The exception that is thrown when provided password is incorrect. | ### Class AnnotatorException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/annotatorexception.md #### AnnotatorException class An error that occur during the document annotation process. ```csharp public class AnnotatorException : Exception ``` #### Constructors | Name | Description | | --- | --- | | AnnotatorException(string) | Initializes a new instance of the `AnnotatorException` class. | | AnnotatorException(string, Exception) | Initializes a new instance of the `AnnotatorException` class. | ### AnnotatorException.AnnotatorException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/annotatorexception/annotatorexception.md #### AnnotatorException(string) Initializes a new instance of the `AnnotatorException` class. ```csharp public AnnotatorException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### AnnotatorException(string, Exception) Initializes a new instance of the `AnnotatorException` class. ```csharp public AnnotatorException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### Class ConvertFileException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/convertfileexception.md #### ConvertFileException class The exception that is thrown if file conversion failed. ```csharp public class ConvertFileException : AnnotatorException ``` #### Constructors | Name | Description | | --- | --- | | ConvertFileException(string) | Initializes a new instance of the `ConvertFileException` class. | | ConvertFileException(string, Exception) | Initializes a new instance of the `ConvertFileException` class. | ### ConvertFileException.ConvertFileException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/convertfileexception/convertfileexception.md #### ConvertFileException(string) Initializes a new instance of the `ConvertFileException` class. ```csharp public ConvertFileException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### ConvertFileException(string, Exception) Initializes a new instance of the `ConvertFileException` class. ```csharp public ConvertFileException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### Class CorruptedOrDamagedFileException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/corruptedordamagedfileexception.md #### CorruptedOrDamagedFileException class The exception that is thrown when file is corrupted or damaged. ```csharp public class CorruptedOrDamagedFileException : AnnotatorException ``` #### Constructors | Name | Description | | --- | --- | | CorruptedOrDamagedFileException(string) | Initializes a new instance of the `CorruptedOrDamagedFileException` class. | | CorruptedOrDamagedFileException(string, Exception) | Initializes a new instance of the `CorruptedOrDamagedFileException` class. | ### CorruptedOrDamagedFileException.CorruptedOrDamagedFileException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/corruptedordamagedfileexception/corruptedordamagedfileexception.md #### CorruptedOrDamagedFileException(string) Initializes a new instance of the `CorruptedOrDamagedFileException` class. ```csharp public CorruptedOrDamagedFileException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### CorruptedOrDamagedFileException(string, Exception) Initializes a new instance of the `CorruptedOrDamagedFileException` class. ```csharp public CorruptedOrDamagedFileException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### Class FileTypeNotSupportedException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/filetypenotsupportedexception.md #### FileTypeNotSupportedException class The exception that is thrown when file type is not supported. ```csharp public class FileTypeNotSupportedException : AnnotatorException ``` #### Constructors | Name | Description | | --- | --- | | FileTypeNotSupportedException(string) | Initializes a new instance of the `FileTypeNotSupportedException` class. | | FileTypeNotSupportedException(string, Exception) | Initializes a new instance of the `FileTypeNotSupportedException` class. | ### FileTypeNotSupportedException.FileTypeNotSupportedException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/filetypenotsupportedexception/filetypenotsupportedexception.md #### FileTypeNotSupportedException(string) Initializes a new instance of the `FileTypeNotSupportedException` class. ```csharp public FileTypeNotSupportedException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### FileTypeNotSupportedException(string, Exception) Initializes a new instance of the `FileTypeNotSupportedException` class. ```csharp public FileTypeNotSupportedException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### Class ImageNotLoadedException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/imagenotloadedexception.md #### ImageNotLoadedException class The exception that is thrown when image cannot be loaded from remote or local path. Usually happens if the provided "path" is incorrect. ```csharp public class ImageNotLoadedException : AnnotatorException ``` #### Constructors | Name | Description | | --- | --- | | ImageNotLoadedException(string) | Initializes a new instance of the `ImageNotLoadedException` class. | | ImageNotLoadedException(string, Exception) | Initializes a new instance of the `ImageNotLoadedException` class. | ### ImageNotLoadedException.ImageNotLoadedException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/imagenotloadedexception/imagenotloadedexception.md #### ImageNotLoadedException(string) Initializes a new instance of the `ImageNotLoadedException` class. ```csharp public ImageNotLoadedException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### ImageNotLoadedException(string, Exception) Initializes a new instance of the `ImageNotLoadedException` class. ```csharp public ImageNotLoadedException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### Class IOException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/ioexception.md #### IOException class The exception that is thrown when trying to apply format-specific annotation to the wrong file type. ```csharp public class IOException : AnnotatorException ``` #### Constructors | Name | Description | | --- | --- | | IOException(string) | Initializes a new instance of the `IOException` class. | | IOException(string, Exception) | Initializes a new instance of the `IOException` class. | ### IOException.IOException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/ioexception/ioexception.md #### IOException(string) Initializes a new instance of the `IOException` class. ```csharp public IOException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### IOException(string, Exception) Initializes a new instance of the `IOException` class. ```csharp public IOException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### Class PasswordProtectedFileException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/passwordprotectedfileexception.md #### PasswordProtectedFileException class The exception that is thrown when provided password is incorrect. ```csharp public class PasswordProtectedFileException : Exception ``` #### Constructors | Name | Description | | --- | --- | | PasswordProtectedFileException(string) | Initializes a new instance of the `AnnotatorException` class. | | PasswordProtectedFileException(string, Exception) | Initializes a new instance of the `AnnotatorException` class. | ### PasswordProtectedFileException.PasswordProtectedFileException Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.exceptions/passwordprotectedfileexception/passwordprotectedfileexception.md #### PasswordProtectedFileException(string) Initializes a new instance of the `AnnotatorException` class. ```csharp public PasswordProtectedFileException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### PasswordProtectedFileException(string, Exception) Initializes a new instance of the `AnnotatorException` class. ```csharp public PasswordProtectedFileException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### GroupDocs.Annotation.Localization Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.localization.md The namespace provides classes checking supported locales. #### Classes | Class | Description | | --- | --- | | SupportedLocales | Class that provides methods for checking GroupDocs.Annotation supported locales. | ### Class SupportedLocales Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.localization/supportedlocales.md #### SupportedLocales class Class that provides methods for checking GroupDocs.Annotation supported locales. ```csharp public static class SupportedLocales ``` #### Methods | Name | Description | | --- | --- | | static IsLocaleSupported(CultureInfo) | Determines whether specified culture is supported by GroupDocs.Annotation API. | | static IsLocaleSupported(string) | Determines whether specified culture is supported by GroupDocs.Annotation API. | ### SupportedLocales.IsLocaleSupported Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.localization/supportedlocales/islocalesupported.md #### IsLocaleSupported(string) Determines whether specified culture is supported by GroupDocs.Annotation API. ```csharp public static bool IsLocaleSupported(string culture) ``` | Parameter | Type | Description | | --- | --- | --- | | culture | String | The culture. | ##### Return Value True if locale is supported, false otherwise #### IsLocaleSupported(CultureInfo) Determines whether specified culture is supported by GroupDocs.Annotation API. ```csharp public static bool IsLocaleSupported(CultureInfo culture) ``` | Parameter | Type | Description | | --- | --- | --- | | culture | CultureInfo | The culture. | ### GroupDocs.Annotation.Logging Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging.md The namespace provides classes for working with integrated or your own logger. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Logger implementation which logs all information to the console. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | ILogger interface that defines shared logger contract | ### Class ConsoleLogger Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/consolelogger.md #### ConsoleLogger class Logger implementation which logs all information to the console. ```csharp public sealed class ConsoleLogger : ILogger ``` #### Constructors | Name | Description | | --- | --- | | ConsoleLogger() | The default constructor. | #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Logs error message. | | Trace(string) | Logs the process of annotating. | | Warning(string) | Logs warning message. | ### ConsoleLogger.ConsoleLogger Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/consolelogger/consolelogger.md #### ConsoleLogger constructor The default constructor. ```csharp public ConsoleLogger() ``` ### ConsoleLogger.Error Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/consolelogger/error.md #### ConsoleLogger.Error method Logs error message. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message. | | exception | Exception | The exception that was thrown. | ### ConsoleLogger.Trace Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/consolelogger/trace.md #### ConsoleLogger.Trace method Logs the process of annotating. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message. | ### ConsoleLogger.Warning Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/consolelogger/warning.md #### ConsoleLogger.Warning method Logs warning message. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message. | ### Interface ILogger Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/ilogger.md #### ILogger interface ILogger interface that defines shared logger contract ```csharp public interface ILogger ``` #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Error message. | | Trace(string) | Trace message. | | Warning(string) | Warning message. | ### ILogger.Error Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/ilogger/error.md #### ILogger.Error method Error message. ```csharp public void Error(string message, Exception ex) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The string to log. | | ex | Exception | The exception that was thrown. | ### ILogger.Trace Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/ilogger/trace.md #### ILogger.Trace method Trace message. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The string to log. | ### ILogger.Warning Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.logging/ilogger/warning.md #### ILogger.Warning method Warning message. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The string to log. | ### GroupDocs.Annotation.Models.AnnotationModels.Interfaces.Annotations Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations.md The namespace provides annotation models interfaces. #### Interfaces | Interface | Description | | --- | --- | | IAreaAnnotation | Defines the area annotation interface | | IArrowAnnotation | Defines the arrow annotation interface | | IDistanceAnnotation | Defines the distance annotation interface | | IEllipseAnnotation | Defines the ellipse annotation interface | | IHighlightAnnotation | Defines the highlight annotation interface | | ILinkAnnotation | Defines the link annotation interface | | IPointAnnotation | Defines the point annotation interface | | IPolylineAnnotation | Defines the polyline annotation interface | | IReplacementAnnotation | Defines the replacement annotation interface | | IResourcesRedactionAnnotation | Defines the resource redaction annotation interface | | ISerachTextFragment | Defines the search text fragment annotation interface | | ISquigglyAnnotation | Defines the squiggly annotation interface | | IStrikeoutAnnotation | Defines the strikeout annotation interface | | ITextFieldAnnotation | Defines the text field annotation interface | | ITextRedactionAnnotation | Defines the text redaction annotation interface | | IUnderlineAnnotation | Defines the underline annotation interface | | IWatermarkAnnotation | Defines the watermark annotation interface | ### Interface IAreaAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/iareaannotation.md #### IAreaAnnotation interface Defines the area annotation interface ```csharp public interface IAreaAnnotation : IBackgroundColor, IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` ### Interface IArrowAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/iarrowannotation.md #### IArrowAnnotation interface Defines the arrow annotation interface ```csharp public interface IArrowAnnotation : IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` ### Interface IDistanceAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/idistanceannotation.md #### IDistanceAnnotation interface Defines the distance annotation interface ```csharp public interface IDistanceAnnotation : IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` ### Interface IEllipseAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/iellipseannotation.md #### IEllipseAnnotation interface Defines the ellipse annotation interface ```csharp public interface IEllipseAnnotation : IBackgroundColor, IBox, IOpacity, IPenColor, IPenStyle, IPenWidth ``` ### Interface IHighlightAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/ihighlightannotation.md #### IHighlightAnnotation interface Defines the highlight annotation interface ```csharp public interface IHighlightAnnotation : IBackgroundColor, IFontColor, IOpacity, IPoints ``` ### Interface ILinkAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/ilinkannotation.md #### ILinkAnnotation interface Defines the link annotation interface ```csharp public interface ILinkAnnotation : IBackgroundColor, IFontColor, IOpacity, IPoints, IUrl ``` ### Interface IPointAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/ipointannotation.md #### IPointAnnotation interface Defines the point annotation interface ```csharp public interface IPointAnnotation : IBox ``` ### Interface IPolylineAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/ipolylineannotation.md #### IPolylineAnnotation interface Defines the polyline annotation interface ```csharp public interface IPolylineAnnotation : IBox, IOpacity, IPenColor, IPenStyle, IPenWidth, ISvgPath ``` ### Interface IReplacementAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/ireplacementannotation.md #### IReplacementAnnotation interface Defines the replacement annotation interface ```csharp public interface IReplacementAnnotation : IBackgroundColor, IFontColor, IFontSize, IOpacity, IPoints, ITextToReplace ``` ### Interface IResourcesRedactionAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/iresourcesredactionannotation.md #### IResourcesRedactionAnnotation interface Defines the resource redaction annotation interface ```csharp public interface IResourcesRedactionAnnotation : IBox ``` ### Interface ISerachTextFragment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/iserachtextfragment.md #### ISerachTextFragment interface Defines the search text fragment annotation interface ```csharp public interface ISerachTextFragment : IBackgroundColor, IFontColor, IFontFamily, IFontSize, IText ``` ### Interface ISquigglyAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/isquigglyannotation.md #### ISquigglyAnnotation interface Defines the squiggly annotation interface ```csharp public interface ISquigglyAnnotation : IBackgroundColor, IFontColor, IOpacity, IPoints, ISquigglyColor ``` ### Interface IStrikeoutAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/istrikeoutannotation.md #### IStrikeoutAnnotation interface Defines the strikeout annotation interface ```csharp public interface IStrikeoutAnnotation : IBackgroundColor, IFontColor, IOpacity, IPoints ``` ### Interface ITextFieldAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/itextfieldannotation.md #### ITextFieldAnnotation interface Defines the text field annotation interface ```csharp public interface ITextFieldAnnotation : IBackgroundColor, IBox, IFontColor, IFontFamily, IFontSize, IOpacity, IPenColor, IPenStyle, IPenWidth, IText, ITextHorizontalAlignment ``` ### Interface ITextRedactionAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/itextredactionannotation.md #### ITextRedactionAnnotation interface Defines the text redaction annotation interface ```csharp public interface ITextRedactionAnnotation : IFontColor, IPoints ``` ### Interface IUnderlineAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/iunderlineannotation.md #### IUnderlineAnnotation interface Defines the underline annotation interface ```csharp public interface IUnderlineAnnotation : IBackgroundColor, IFontColor, IOpacity, IPoints ``` ### Interface IWatermarkAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.annotations/iwatermarkannotation.md #### IWatermarkAnnotation interface Defines the watermark annotation interface ```csharp public interface IWatermarkAnnotation : IAngle, IBox, IFontColor, IFontFamily, IFontSize, IHorizontalAlignment, IOpacity, IText, IVerticalAlignment ``` ### GroupDocs.Annotation.Models.AnnotationModels.Interfaces.Properties Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties.md The namespace provides annotation properties interfaces. #### Interfaces | Interface | Description | | --- | --- | | IAngle | Interface that describes rotation angle | | IBackgroundColor | Interface that describes background color | | IBorderStyle | Interface that describes border style | | IBox | Interface that describes box (coordinates) | | IBoxStyle | Interface that describes box style | | IFontColor | Interface that describes font color | | IFontFamily | Interface that describes font family | | IFontSize | Interface that describes font size | | IHorizontalAlignment | Interface that describes horizontal alignment | | IOpacity | Interface that describes opacity | | IPenColor | Interface that describes pen color | | IPenStyle | Interface that describes pen style | | IPenWidth | Interface that describes pen width | | IPoints | Interface that describes position (coordinates) | | ISquigglyColor | Interface that describes squiggly line color | | ISvgPath | Interface that describes svg path coordinates array | | IText | Interface that describes text content | | ITextHorizontalAlignment | Interface that describes text horizontal alignment | | ITextToReplace | Interface that describes text for replace | | IUrl | Interface that describes link url | | IVerticalAlignment | Interface that describes vertical alignment | ### Interface IAngle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iangle.md #### IAngle interface Interface that describes rotation angle ```csharp public interface IAngle ``` #### Properties | Name | Description | | --- | --- | | Angle { get; set; } | Gets or sets annotation rotation angle | ### IAngle.Angle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iangle/angle.md #### IAngle.Angle property Gets or sets annotation rotation angle ```csharp public double? Angle { get; set; } ``` ### Interface IBackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ibackgroundcolor.md #### IBackgroundColor interface Interface that describes background color ```csharp public interface IBackgroundColor ``` #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets annotation background color | ### IBackgroundColor.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ibackgroundcolor/backgroundcolor.md #### IBackgroundColor.BackgroundColor property Gets or sets annotation background color ```csharp public int? BackgroundColor { get; set; } ``` ### Interface IBorderStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iborderstyle.md #### IBorderStyle interface Interface that describes border style ```csharp public interface IBorderStyle ``` #### Properties | Name | Description | | --- | --- | | Style { get; set; } | Gets or sets annotation border style | ### IBorderStyle.Style Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iborderstyle/style.md #### IBorderStyle.Style property Gets or sets annotation border style ```csharp public BorderStyle? Style { get; set; } ``` ### Interface IBox Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ibox.md #### IBox interface Interface that describes box (coordinates) ```csharp public interface IBox ``` #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets annotation position | ### IBox.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ibox/box.md #### IBox.Box property Gets or sets annotation position ```csharp public Rectangle Box { get; set; } ``` ### Interface IBoxStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iboxstyle.md #### IBoxStyle interface Interface that describes box style ```csharp public interface IBoxStyle ``` #### Properties | Name | Description | | --- | --- | | Style { get; set; } | Gets or sets annotation box style | ### IBoxStyle.Style Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iboxstyle/style.md #### IBoxStyle.Style property Gets or sets annotation box style ```csharp public BoxStyle? Style { get; set; } ``` ### Interface IFontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontcolor.md #### IFontColor interface Interface that describes font color ```csharp public interface IFontColor ``` #### Properties | Name | Description | | --- | --- | | FontColor { get; set; } | Gets or sets annotation text font color | ### IFontColor.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontcolor/fontcolor.md #### IFontColor.FontColor property Gets or sets annotation text font color ```csharp public int? FontColor { get; set; } ``` ### Interface IFontFamily Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontfamily.md #### IFontFamily interface Interface that describes font family ```csharp public interface IFontFamily ``` #### Properties | Name | Description | | --- | --- | | FontFamily { get; set; } | Gets or sets annotation text font family | ### IFontFamily.FontFamily Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontfamily/fontfamily.md #### IFontFamily.FontFamily property Gets or sets annotation text font family ```csharp public string FontFamily { get; set; } ``` ### Interface IFontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontsize.md #### IFontSize interface Interface that describes font size ```csharp public interface IFontSize ``` #### Properties | Name | Description | | --- | --- | | FontSize { get; set; } | Gets or sets annotation text font size | ### IFontSize.FontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ifontsize/fontsize.md #### IFontSize.FontSize property Gets or sets annotation text font size ```csharp public double? FontSize { get; set; } ``` ### Interface IHorizontalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ihorizontalalignment.md #### IHorizontalAlignment interface Interface that describes horizontal alignment ```csharp public interface IHorizontalAlignment ``` #### Properties | Name | Description | | --- | --- | | HorizontalAlignment { get; set; } | Gets or sets annotation horizontal alignment | ### IHorizontalAlignment.HorizontalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ihorizontalalignment/horizontalalignment.md #### IHorizontalAlignment.HorizontalAlignment property Gets or sets annotation horizontal alignment ```csharp public HorizontalAlignment HorizontalAlignment { get; set; } ``` ### Interface IOpacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iopacity.md #### IOpacity interface Interface that describes opacity ```csharp public interface IOpacity ``` #### Properties | Name | Description | | --- | --- | | Opacity { get; set; } | Gets or sets annotation opacity | ### IOpacity.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iopacity/opacity.md #### IOpacity.Opacity property Gets or sets annotation opacity ```csharp public double? Opacity { get; set; } ``` ### Interface IPenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipencolor.md #### IPenColor interface Interface that describes pen color ```csharp public interface IPenColor ``` #### Properties | Name | Description | | --- | --- | | PenColor { get; set; } | Gets or sets annotation pen color | ### IPenColor.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipencolor/pencolor.md #### IPenColor.PenColor property Gets or sets annotation pen color ```csharp public int? PenColor { get; set; } ``` ### Interface IPenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipenstyle.md #### IPenStyle interface Interface that describes pen style ```csharp public interface IPenStyle ``` #### Properties | Name | Description | | --- | --- | | PenStyle { get; set; } | Gets or sets annotation pen style | ### IPenStyle.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipenstyle/penstyle.md #### IPenStyle.PenStyle property Gets or sets annotation pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### Interface IPenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipenwidth.md #### IPenWidth interface Interface that describes pen width ```csharp public interface IPenWidth ``` #### Properties | Name | Description | | --- | --- | | PenWidth { get; set; } | Gets or sets annotation pen width | ### IPenWidth.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipenwidth/penwidth.md #### IPenWidth.PenWidth property Gets or sets annotation pen width ```csharp public byte? PenWidth { get; set; } ``` ### Interface IPoints Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipoints.md #### IPoints interface Interface that describes position (coordinates) ```csharp public interface IPoints ``` #### Properties | Name | Description | | --- | --- | | Points { get; set; } | Gets or sets annotation position | ### IPoints.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/ipoints/points.md #### IPoints.Points property Gets or sets annotation position ```csharp public List Points { get; set; } ``` ### Interface ISquigglyColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/isquigglycolor.md #### ISquigglyColor interface Interface that describes squiggly line color ```csharp public interface ISquigglyColor ``` #### Properties | Name | Description | | --- | --- | | SquigglyColor { get; set; } | Gets or sets squiggly line color | ### ISquigglyColor.SquigglyColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/isquigglycolor/squigglycolor.md #### ISquigglyColor.SquigglyColor property Gets or sets squiggly line color ```csharp public int? SquigglyColor { get; set; } ``` ### Interface ISvgPath Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/isvgpath.md #### ISvgPath interface Interface that describes svg path coordinates array ```csharp public interface ISvgPath ``` #### Properties | Name | Description | | --- | --- | | SvgPath { get; set; } | Gets or sets annotation svg path coordinates array | ### ISvgPath.SvgPath Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/isvgpath/svgpath.md #### ISvgPath.SvgPath property Gets or sets annotation svg path coordinates array ```csharp public string SvgPath { get; set; } ``` ### Interface IText Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/itext.md #### IText interface Interface that describes text content ```csharp public interface IText ``` #### Properties | Name | Description | | --- | --- | | Text { get; set; } | Gets or sets annotation text | ### IText.Text Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/itext/text.md #### IText.Text property Gets or sets annotation text ```csharp public string Text { get; set; } ``` ### Interface ITextHorizontalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/itexthorizontalalignment.md #### ITextHorizontalAlignment interface Interface that describes text horizontal alignment ```csharp public interface ITextHorizontalAlignment ``` #### Properties | Name | Description | | --- | --- | | TextHorizontalAlignment { get; set; } | Gets or sets annotation text horizontal alignment | ### ITextHorizontalAlignment.TextHorizontalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/itexthorizontalalignment/texthorizontalalignment.md #### ITextHorizontalAlignment.TextHorizontalAlignment property Gets or sets annotation text horizontal alignment ```csharp public HorizontalAlignment TextHorizontalAlignment { get; set; } ``` ### Interface ITextToReplace Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/itexttoreplace.md #### ITextToReplace interface Interface that describes text for replace ```csharp public interface ITextToReplace ``` #### Properties | Name | Description | | --- | --- | | TextToReplace { get; set; } | Gets or sets annotation text for replace | ### ITextToReplace.TextToReplace Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/itexttoreplace/texttoreplace.md #### ITextToReplace.TextToReplace property Gets or sets annotation text for replace ```csharp public string TextToReplace { get; set; } ``` ### Interface IUrl Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iurl.md #### IUrl interface Interface that describes link url ```csharp public interface IUrl ``` #### Properties | Name | Description | | --- | --- | | Url { get; set; } | Gets or sets annotation link url | ### IUrl.Url Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iurl/url.md #### IUrl.Url property Gets or sets annotation link url ```csharp public string Url { get; set; } ``` ### Interface IVerticalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iverticalalignment.md #### IVerticalAlignment interface Interface that describes vertical alignment ```csharp public interface IVerticalAlignment ``` #### Properties | Name | Description | | --- | --- | | VerticalAlignment { get; set; } | Gets or sets annotation vertical alignment | ### IVerticalAlignment.VerticalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.interfaces.properties/iverticalalignment/verticalalignment.md #### IVerticalAlignment.VerticalAlignment property Gets or sets annotation vertical alignment ```csharp public VerticalAlignment VerticalAlignment { get; set; } ``` ### GroupDocs.Annotation.Models.AnnotationModels Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels.md The namespace provides annotation models data classes. #### Classes | Class | Description | | --- | --- | | AnnotationBase | Base class for all annotation types. Contains basic annotation information | | AreaAnnotation | Represents area annotation properties | | ArrowAnnotation | Represents arrow annotation properties | | DistanceAnnotation | Represents distance annotation properties | | EllipseAnnotation | Represents ellipse annotation properties | | HighlightAnnotation | Represents highlight annotation properties | | ImageAnnotation | Represents image annotation properties | | LinkAnnotation | Represents link annotation properties | | PointAnnotation | Represents point annotation properties | | PolylineAnnotation | Represents polyline annotation properties | | ReplacementAnnotation | Represents replacement annotation properties | | ResourcesRedactionAnnotation | Represents resources redaction annotation properties | | SearchTextFragment | Represents searchText annotation properties | | SquigglyAnnotation | Represents squiggly annotation properties | | StrikeoutAnnotation | Represents strikeout annotation properties | | TextFieldAnnotation | Represents text field annotation properties | | TextRedactionAnnotation | Represents text redaction annotation properties | | UnderlineAnnotation | Represents underline annotation properties | | WatermarkAnnotation | Represents watermark annotation properties | ### Class AnnotationBase Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase.md #### AnnotationBase class Base class for all annotation types. Contains basic annotation information ```csharp public abstract class AnnotationBase : ICloneable, IEquatable ``` #### Properties | Name | Description | | --- | --- | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | PageNumber { get; set; } | Page number where the annotation should be located | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | virtual Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares Base Annotations using standard object Equals method | | override GetHashCode() | Returns HashCode of AnnotationBase Message, PageNumber and Type Properties | ### AnnotationBase.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/clone.md #### AnnotationBase.Clone method Returns new instance with the same values ```csharp public virtual object Clone() ``` ### AnnotationBase.CreatedOn Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/createdon.md #### AnnotationBase.CreatedOn property Gets or sets annotation creation date ```csharp public DateTime CreatedOn { get; set; } ``` ### AnnotationBase.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/equals.md #### Equals(AnnotationBase) Compares Base Annotations using IEquatable Equals method ```csharp public bool Equals(AnnotationBase other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | AnnotationBase | The AnnotationBase object to compare with the current object | #### Equals(object) Compares Base Annotations using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### AnnotationBase.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/gethashcode.md #### AnnotationBase.GetHashCode method Returns HashCode of AnnotationBase Message, PageNumber and Type Properties ```csharp public override int GetHashCode() ``` ### AnnotationBase.Id Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/id.md #### AnnotationBase.Id property Gets or sets annotation unique identifier. This field is auto-incremented. ```csharp public int Id { get; set; } ``` ### AnnotationBase.Message Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/message.md #### AnnotationBase.Message property Gets or sets annotation message ```csharp public string Message { get; set; } ``` ### AnnotationBase.PageNumber Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/pagenumber.md #### AnnotationBase.PageNumber property Page number where the annotation should be located ```csharp public int? PageNumber { get; set; } ``` ### AnnotationBase.Replies Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/replies.md #### AnnotationBase.Replies property The list of replies (comments) attached to the annotation ```csharp public List Replies { get; set; } ``` ### AnnotationBase.StateBeforeAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/statebeforeannotation.md #### AnnotationBase.StateBeforeAnnotation property Stores the previous state of the text. State that was before annotating ```csharp public object StateBeforeAnnotation { get; set; } ``` ### AnnotationBase.Type Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/type.md #### AnnotationBase.Type property Gets or sets annotation type ```csharp public AnnotationType Type { get; set; } ``` ### AnnotationBase.User Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/annotationbase/user.md #### AnnotationBase.User property Gets or sets annotation author ```csharp public User User { get; set; } ``` ### Class AreaAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation.md #### AreaAnnotation class Represents area annotation properties ```csharp public class AreaAnnotation : AnnotationBase, IAreaAnnotation, IEquatable ``` #### Constructors | Name | Description | | --- | --- | | AreaAnnotation() | Initializes new instance of `AreaAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets area annotation background color | | Box { get; set; } | Gets or sets area annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets area annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets area annotation pen color | | PenStyle { get; set; } | Gets or sets area annotation pen style | | PenWidth { get; set; } | Gets or sets area annotation pen width | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance of the area annotation with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(AreaAnnotation) | Compares area annotation using IEquatable Equals method | | override Equals(object) | Compares area annotation using standard object Equals method | | override GetHashCode() | Returns HashCode of Area Annotation instance | ### AreaAnnotation.AreaAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/areaannotation.md #### AreaAnnotation constructor Initializes new instance of `AreaAnnotation` class. ```csharp public AreaAnnotation() ``` ### AreaAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/backgroundcolor.md #### AreaAnnotation.BackgroundColor property Gets or sets area annotation background color ```csharp public int? BackgroundColor { get; set; } ``` ### AreaAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/box.md #### AreaAnnotation.Box property Gets or sets area annotation position ```csharp public Rectangle Box { get; set; } ``` ### AreaAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/clone.md #### AreaAnnotation.Clone method Returns new instance of the area annotation with the same values ```csharp public override object Clone() ``` ### AreaAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/equals.md #### Equals(AreaAnnotation) Compares area annotation using IEquatable Equals method ```csharp public bool Equals(AreaAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | AreaAnnotation | The AreaAnnotation object to compare with the current object | #### Equals(object) Compares area annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### AreaAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/gethashcode.md #### AreaAnnotation.GetHashCode method Returns HashCode of Area Annotation instance ```csharp public override int GetHashCode() ``` ### AreaAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/opacity.md #### AreaAnnotation.Opacity property Gets or sets area annotation opacity ```csharp public double? Opacity { get; set; } ``` ### AreaAnnotation.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/pencolor.md #### AreaAnnotation.PenColor property Gets or sets area annotation pen color ```csharp public int? PenColor { get; set; } ``` ### AreaAnnotation.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/penstyle.md #### AreaAnnotation.PenStyle property Gets or sets area annotation pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### AreaAnnotation.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/areaannotation/penwidth.md #### AreaAnnotation.PenWidth property Gets or sets area annotation pen width ```csharp public byte? PenWidth { get; set; } ``` ### Class ArrowAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation.md #### ArrowAnnotation class Represents arrow annotation properties ```csharp public class ArrowAnnotation : AnnotationBase, IArrowAnnotation, IEquatable ``` #### Constructors | Name | Description | | --- | --- | | ArrowAnnotation() | Initializes new instance of `ArrowAnnotation` class. | #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets arrow annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets arrow annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets arrow annotation pen color | | PenStyle { get; set; } | Gets or sets arrow annotation pen style | | PenWidth { get; set; } | Gets or sets arrow annotation pen width | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(ArrowAnnotation) | Compares area annotation using IEquatable Equals method | | override Equals(object) | Compares arrow annotation using standard object Equals method | | override GetHashCode() | Returns HashCode of the arrow annotation | ### ArrowAnnotation.ArrowAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/arrowannotation.md #### ArrowAnnotation constructor Initializes new instance of `ArrowAnnotation` class. ```csharp public ArrowAnnotation() ``` ### ArrowAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/box.md #### ArrowAnnotation.Box property Gets or sets arrow annotation position ```csharp public Rectangle Box { get; set; } ``` ### ArrowAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/clone.md #### ArrowAnnotation.Clone method Returns new instance with same values ```csharp public override object Clone() ``` ### ArrowAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/equals.md #### Equals(ArrowAnnotation) Compares area annotation using IEquatable Equals method ```csharp public bool Equals(ArrowAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ArrowAnnotation | The ArrowAnnotation object to compare with the current object | #### Equals(object) Compares arrow annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### ArrowAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/gethashcode.md #### ArrowAnnotation.GetHashCode method Returns HashCode of the arrow annotation ```csharp public override int GetHashCode() ``` ### ArrowAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/opacity.md #### ArrowAnnotation.Opacity property Gets or sets arrow annotation opacity ```csharp public double? Opacity { get; set; } ``` ### ArrowAnnotation.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/pencolor.md #### ArrowAnnotation.PenColor property Gets or sets arrow annotation pen color ```csharp public int? PenColor { get; set; } ``` ### ArrowAnnotation.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/penstyle.md #### ArrowAnnotation.PenStyle property Gets or sets arrow annotation pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### ArrowAnnotation.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/arrowannotation/penwidth.md #### ArrowAnnotation.PenWidth property Gets or sets arrow annotation pen width ```csharp public byte? PenWidth { get; set; } ``` ### Class DistanceAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation.md #### DistanceAnnotation class Represents distance annotation properties ```csharp public class DistanceAnnotation : AnnotationBase, IDistanceAnnotation, IEquatable ``` #### Constructors | Name | Description | | --- | --- | | DistanceAnnotation() | Initializes new instance of `DistanceAnnotation` class. | #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets distance annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets distance annotatio opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets distance annotatio pen color | | PenStyle { get; set; } | Gets or sets distance annotatio pen style | | PenWidth { get; set; } | Gets or sets distance annotatio pen width | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(DistanceAnnotation) | Compares distance annotation using IEquatable Equals method | | override Equals(object) | Compares distance annotation using standard object Equals method | | override GetHashCode() | Returns HashCode of the distance annotation | ### DistanceAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/box.md #### DistanceAnnotation.Box property Gets or sets distance annotation position ```csharp public Rectangle Box { get; set; } ``` ### DistanceAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/clone.md #### DistanceAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### DistanceAnnotation.DistanceAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/distanceannotation.md #### DistanceAnnotation constructor Initializes new instance of `DistanceAnnotation` class. ```csharp public DistanceAnnotation() ``` ### DistanceAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/equals.md #### Equals(DistanceAnnotation) Compares distance annotation using IEquatable Equals method ```csharp public bool Equals(DistanceAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | DistanceAnnotation | The DistanceAnnotation object to compare with the current object | #### Equals(object) Compares distance annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### DistanceAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/gethashcode.md #### DistanceAnnotation.GetHashCode method Returns HashCode of the distance annotation ```csharp public override int GetHashCode() ``` ### DistanceAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/opacity.md #### DistanceAnnotation.Opacity property Gets or sets distance annotatio opacity ```csharp public double? Opacity { get; set; } ``` ### DistanceAnnotation.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/pencolor.md #### DistanceAnnotation.PenColor property Gets or sets distance annotatio pen color ```csharp public int? PenColor { get; set; } ``` ### DistanceAnnotation.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/penstyle.md #### DistanceAnnotation.PenStyle property Gets or sets distance annotatio pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### DistanceAnnotation.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/distanceannotation/penwidth.md #### DistanceAnnotation.PenWidth property Gets or sets distance annotatio pen width ```csharp public byte? PenWidth { get; set; } ``` ### Class EllipseAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation.md #### EllipseAnnotation class Represents ellipse annotation properties ```csharp public class EllipseAnnotation : AnnotationBase, IEllipseAnnotation, IEquatable ``` #### Constructors | Name | Description | | --- | --- | | EllipseAnnotation() | Initializes new instance of `EllipseAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets ellipse annotation background color | | Box { get; set; } | Gets or sets ellipse annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets ellipse annotation pen color | | PenStyle { get; set; } | Gets or sets ellipse annotation pen style | | PenWidth { get; set; } | Gets or sets ellipse annotation pen width | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(EllipseAnnotation) | Compares ellipse annotation using IEquatable Equals method | | override Equals(object) | Compares ellipse annotation using standard object Equals method | | override GetHashCode() | Returns HashCode of the ellipse annotation | ### EllipseAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/backgroundcolor.md #### EllipseAnnotation.BackgroundColor property Gets or sets ellipse annotation background color ```csharp public int? BackgroundColor { get; set; } ``` ### EllipseAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/box.md #### EllipseAnnotation.Box property Gets or sets ellipse annotation position ```csharp public Rectangle Box { get; set; } ``` ### EllipseAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/clone.md #### EllipseAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### EllipseAnnotation.EllipseAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/ellipseannotation.md #### EllipseAnnotation constructor Initializes new instance of `EllipseAnnotation` class. ```csharp public EllipseAnnotation() ``` ### EllipseAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/equals.md #### Equals(EllipseAnnotation) Compares ellipse annotation using IEquatable Equals method ```csharp public bool Equals(EllipseAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | EllipseAnnotation | The EllipseAnnotation object to compare with the current object | #### Equals(object) Compares ellipse annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### EllipseAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/gethashcode.md #### EllipseAnnotation.GetHashCode method Returns HashCode of the ellipse annotation ```csharp public override int GetHashCode() ``` ### EllipseAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/opacity.md #### EllipseAnnotation.Opacity property Gets or sets annotation opacity ```csharp public double? Opacity { get; set; } ``` ### EllipseAnnotation.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/pencolor.md #### EllipseAnnotation.PenColor property Gets or sets ellipse annotation pen color ```csharp public int? PenColor { get; set; } ``` ### EllipseAnnotation.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/penstyle.md #### EllipseAnnotation.PenStyle property Gets or sets ellipse annotation pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### EllipseAnnotation.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/ellipseannotation/penwidth.md #### EllipseAnnotation.PenWidth property Gets or sets ellipse annotation pen width ```csharp public byte? PenWidth { get; set; } ``` ### Class HighlightAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation.md #### HighlightAnnotation class Represents highlight annotation properties ```csharp public class HighlightAnnotation : AnnotationBase, IEquatable, IHighlightAnnotation ``` #### Constructors | Name | Description | | --- | --- | | HighlightAnnotation() | Initializes new instance of `HighlightAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets highlight annotation background color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets highlight annotation text font color | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets highlight annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Points { get; set; } | Gets or sets collection of points that describe rectangles with text | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(HighlightAnnotation) | Compares highlight annotation using IEquatable Equals method | | override Equals(object) | Compares highlight annotations using standard object Equals method | | override GetHashCode() | Returns HashCode of the highlight annotation | ### HighlightAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/backgroundcolor.md #### HighlightAnnotation.BackgroundColor property Gets or sets highlight annotation background color ```csharp public int? BackgroundColor { get; set; } ``` ### HighlightAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/clone.md #### HighlightAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### HighlightAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/equals.md #### Equals(HighlightAnnotation) Compares highlight annotation using IEquatable Equals method ```csharp public bool Equals(HighlightAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | HighlightAnnotation | The HighlightAnnotation object to compare with the current object | #### Equals(object) Compares highlight annotations using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### HighlightAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/fontcolor.md #### HighlightAnnotation.FontColor property Gets or sets highlight annotation text font color ```csharp public int? FontColor { get; set; } ``` ### HighlightAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/gethashcode.md #### HighlightAnnotation.GetHashCode method Returns HashCode of the highlight annotation ```csharp public override int GetHashCode() ``` ### HighlightAnnotation.HighlightAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/highlightannotation.md #### HighlightAnnotation constructor Initializes new instance of `HighlightAnnotation` class. ```csharp public HighlightAnnotation() ``` ### HighlightAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/opacity.md #### HighlightAnnotation.Opacity property Gets or sets highlight annotation opacity ```csharp public double? Opacity { get; set; } ``` ### HighlightAnnotation.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/highlightannotation/points.md #### HighlightAnnotation.Points property Gets or sets collection of points that describe rectangles with text ```csharp public List Points { get; set; } ``` ### Class ImageAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation.md #### ImageAnnotation class Represents image annotation properties ```csharp public class ImageAnnotation : AnnotationBase, IAngle, IBox, IEquatable, IOpacity ``` #### Constructors | Name | Description | | --- | --- | | ImageAnnotation() | Initializes new instance of `ImageAnnotation` class. | #### Properties | Name | Description | | --- | --- | | Angle { get; set; } | Gets or sets image annotation rotation angle | | Box { get; set; } | Gets or sets image annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | ImageData { get; set; } | Gets or sets image annotation data | | ImageExtension { get; } | Gets the image extensions (png, jpg, svg etc) | | ImagePath { get; set; } | Gets or sets image annotation path | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets image annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | | ZIndex { get; set; } | Gets or sets image annotation z-index. Default value is 0 | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(ImageAnnotation) | Compares image annotation using IEquatable Equals method | | override Equals(object) | Compares image annotation using standard object Equals method | | override GetHashCode() | Returns HashCode of Image Annotation | | GetImage() | Gets image object | ### ImageAnnotation.Angle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/angle.md #### ImageAnnotation.Angle property Gets or sets image annotation rotation angle ```csharp public double? Angle { get; set; } ``` ### ImageAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/box.md #### ImageAnnotation.Box property Gets or sets image annotation position ```csharp public Rectangle Box { get; set; } ``` ### ImageAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/clone.md #### ImageAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### ImageAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/equals.md #### Equals(ImageAnnotation) Compares image annotation using IEquatable Equals method ```csharp public bool Equals(ImageAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ImageAnnotation | The ImageAnnotation object to compare with the current object | #### Equals(object) Compares image annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### ImageAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/gethashcode.md #### ImageAnnotation.GetHashCode method Returns HashCode of Image Annotation ```csharp public override int GetHashCode() ``` ### ImageAnnotation.GetImage Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/getimage.md #### ImageAnnotation.GetImage method Gets image object ```csharp public Image GetImage() ``` ### ImageAnnotation.ImageAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/imageannotation.md #### ImageAnnotation constructor Initializes new instance of `ImageAnnotation` class. ```csharp public ImageAnnotation() ``` ### ImageAnnotation.ImageData Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/imagedata.md #### ImageAnnotation.ImageData property Gets or sets image annotation data ```csharp public string ImageData { get; set; } ``` ### ImageAnnotation.ImageExtension Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/imageextension.md #### ImageAnnotation.ImageExtension property Gets the image extensions (png, jpg, svg etc) ```csharp public string ImageExtension { get; } ``` ### ImageAnnotation.ImagePath Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/imagepath.md #### ImageAnnotation.ImagePath property Gets or sets image annotation path ```csharp public string ImagePath { get; set; } ``` ### ImageAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/opacity.md #### ImageAnnotation.Opacity property Gets or sets image annotation opacity ```csharp public double? Opacity { get; set; } ``` ### ImageAnnotation.ZIndex Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/zindex.md #### ImageAnnotation.ZIndex property Gets or sets image annotation z-index. Default value is 0 The **z-index** property specifies the stack order of an element. ```csharp public int ZIndex { get; set; } ``` ### Class LinkAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation.md #### LinkAnnotation class Represents link annotation properties ```csharp public class LinkAnnotation : AnnotationBase, IEquatable, ILinkAnnotation ``` #### Constructors | Name | Description | | --- | --- | | LinkAnnotation() | Initializes new instance of `LinkAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets link annotation background color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets link annotation text color | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets link annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Points { get; set; } | Gets or sets link annotation coordinates as an array of points | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | Url { get; set; } | Gets or sets annotation link url | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(LinkAnnotation) | Compares link annotation using IEquatable Equals method | | override Equals(object) | Compares link annotation using standard object Equals method | | override GetHashCode() | Returns HashCode of link annotation | ### LinkAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/backgroundcolor.md #### LinkAnnotation.BackgroundColor property Gets or sets link annotation background color ```csharp public int? BackgroundColor { get; set; } ``` ### LinkAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/clone.md #### LinkAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### LinkAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/equals.md #### Equals(LinkAnnotation) Compares link annotation using IEquatable Equals method ```csharp public bool Equals(LinkAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | LinkAnnotation | The LinkAnnotation object to compare with the current object | #### Equals(object) Compares link annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### LinkAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/fontcolor.md #### LinkAnnotation.FontColor property Gets or sets link annotation text color ```csharp public int? FontColor { get; set; } ``` ### LinkAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/gethashcode.md #### LinkAnnotation.GetHashCode method Returns HashCode of link annotation ```csharp public override int GetHashCode() ``` ### LinkAnnotation.LinkAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/linkannotation.md #### LinkAnnotation constructor Initializes new instance of `LinkAnnotation` class. ```csharp public LinkAnnotation() ``` ### LinkAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/opacity.md #### LinkAnnotation.Opacity property Gets or sets link annotation opacity ```csharp public double? Opacity { get; set; } ``` ### LinkAnnotation.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/points.md #### LinkAnnotation.Points property Gets or sets link annotation coordinates as an array of points ```csharp public List Points { get; set; } ``` ### LinkAnnotation.Url Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/url.md #### LinkAnnotation.Url property Gets or sets annotation link url ```csharp public string Url { get; set; } ``` ### Class PointAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/pointannotation.md #### PointAnnotation class Represents point annotation properties ```csharp public class PointAnnotation : AnnotationBase, IEquatable, IPointAnnotation ``` #### Constructors | Name | Description | | --- | --- | | PointAnnotation() | Initializes new instance of `PointAnnotation` class. | #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets point annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | PageNumber { get; set; } | Page number where the annotation should be located | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares point annotation using standard object Equals method | | Equals(PointAnnotation) | Compares point annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the point annotation | ### PointAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/pointannotation/box.md #### PointAnnotation.Box property Gets or sets point annotation position ```csharp public Rectangle Box { get; set; } ``` ### PointAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/pointannotation/clone.md #### PointAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### PointAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/pointannotation/equals.md #### Equals(PointAnnotation) Compares point annotation using IEquatable Equals method ```csharp public bool Equals(PointAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | PointAnnotation | The PointAnnotation object to compare with the current object | #### Equals(object) Compares point annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### PointAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/pointannotation/gethashcode.md #### PointAnnotation.GetHashCode method Returns HashCode of the point annotation ```csharp public override int GetHashCode() ``` ### PointAnnotation.PointAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/pointannotation/pointannotation.md #### PointAnnotation constructor Initializes new instance of `PointAnnotation` class. ```csharp public PointAnnotation() ``` ### Class PolylineAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation.md #### PolylineAnnotation class Represents polyline annotation properties ```csharp public class PolylineAnnotation : AnnotationBase, IEquatable, IPolylineAnnotation ``` #### Constructors | Name | Description | | --- | --- | | PolylineAnnotation() | Initializes new instance of `AreaAnnotation` class. | #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets polyline annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets polyline annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets polyline annotation pen color | | PenStyle { get; set; } | Gets or sets polyline annotation pen style | | PenWidth { get; set; } | Gets or sets polyline annotation pen width | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | SvgPath { get; set; } | Gets or sets polyline annotation SVG path | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares polyline annotation using standard object Equals method | | Equals(PolylineAnnotation) | Compares polyline annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the polyline annotation | ### PolylineAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/box.md #### PolylineAnnotation.Box property Gets or sets polyline annotation position ```csharp public Rectangle Box { get; set; } ``` ### PolylineAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/clone.md #### PolylineAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### PolylineAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/equals.md #### Equals(PolylineAnnotation) Compares polyline annotation using IEquatable Equals method ```csharp public bool Equals(PolylineAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | PolylineAnnotation | The PolylineAnnotation object to compare with the current object | #### Equals(object) Compares polyline annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### PolylineAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/gethashcode.md #### PolylineAnnotation.GetHashCode method Returns HashCode of the polyline annotation ```csharp public override int GetHashCode() ``` ### PolylineAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/opacity.md #### PolylineAnnotation.Opacity property Gets or sets polyline annotation opacity ```csharp public double? Opacity { get; set; } ``` ### PolylineAnnotation.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/pencolor.md #### PolylineAnnotation.PenColor property Gets or sets polyline annotation pen color ```csharp public int? PenColor { get; set; } ``` ### PolylineAnnotation.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/penstyle.md #### PolylineAnnotation.PenStyle property Gets or sets polyline annotation pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### PolylineAnnotation.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/penwidth.md #### PolylineAnnotation.PenWidth property Gets or sets polyline annotation pen width ```csharp public byte? PenWidth { get; set; } ``` ### PolylineAnnotation.PolylineAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/polylineannotation.md #### PolylineAnnotation constructor Initializes new instance of `AreaAnnotation` class. ```csharp public PolylineAnnotation() ``` ### PolylineAnnotation.SvgPath Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/polylineannotation/svgpath.md #### PolylineAnnotation.SvgPath property Gets or sets polyline annotation SVG path ```csharp public string SvgPath { get; set; } ``` ### Class ReplacementAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation.md #### ReplacementAnnotation class Represents replacement annotation properties ```csharp public class ReplacementAnnotation : AnnotationBase, IEquatable, IReplacementAnnotation ``` #### Constructors | Name | Description | | --- | --- | | ReplacementAnnotation() | Initializes new instance of `ReplacementAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets replacement annotation background color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets replacement annotation text color | | FontSize { get; set; } | Gets or sets replacement annotation text size | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets replacement annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Points { get; set; } | Gets or sets collection of points that describe rectangles with text | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | TextToReplace { get; set; } | Gets or sets text to be replaced with | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares replacement annotation using standard object Equals method | | Equals(ReplacementAnnotation) | Compares replacement annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the replacement annotation | ### ReplacementAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/backgroundcolor.md #### ReplacementAnnotation.BackgroundColor property Gets or sets replacement annotation background color ```csharp public int? BackgroundColor { get; set; } ``` ### ReplacementAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/clone.md #### ReplacementAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### ReplacementAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/equals.md #### Equals(ReplacementAnnotation) Compares replacement annotation using IEquatable Equals method ```csharp public bool Equals(ReplacementAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ReplacementAnnotation | The ReplacementAnnotation object to compare with the current object | #### Equals(object) Compares replacement annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### ReplacementAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/fontcolor.md #### ReplacementAnnotation.FontColor property Gets or sets replacement annotation text color ```csharp public int? FontColor { get; set; } ``` ### ReplacementAnnotation.FontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/fontsize.md #### ReplacementAnnotation.FontSize property Gets or sets replacement annotation text size ```csharp public double? FontSize { get; set; } ``` ### ReplacementAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/gethashcode.md #### ReplacementAnnotation.GetHashCode method Returns HashCode of the replacement annotation ```csharp public override int GetHashCode() ``` ### ReplacementAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/opacity.md #### ReplacementAnnotation.Opacity property Gets or sets replacement annotation opacity ```csharp public double? Opacity { get; set; } ``` ### ReplacementAnnotation.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/points.md #### ReplacementAnnotation.Points property Gets or sets collection of points that describe rectangles with text ```csharp public List Points { get; set; } ``` ### ReplacementAnnotation.ReplacementAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/replacementannotation.md #### ReplacementAnnotation constructor Initializes new instance of `ReplacementAnnotation` class. ```csharp public ReplacementAnnotation() ``` ### ReplacementAnnotation.TextToReplace Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/replacementannotation/texttoreplace.md #### ReplacementAnnotation.TextToReplace property Gets or sets text to be replaced with ```csharp public string TextToReplace { get; set; } ``` ### Class ResourcesRedactionAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation.md #### ResourcesRedactionAnnotation class Represents resources redaction annotation properties ```csharp public class ResourcesRedactionAnnotation : AnnotationBase, IEquatable, IResourcesRedactionAnnotation ``` #### Constructors | Name | Description | | --- | --- | | ResourcesRedactionAnnotation() | Initializes new instance of `ResourcesRedactionAnnotation` class. | #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets resource redaction annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | PageNumber { get; set; } | Page number where the annotation should be located | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares resource redaction annotation using standard object Equals method | | Equals(ResourcesRedactionAnnotation) | Compares resource redaction annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the resource redaction annotation | ### ResourcesRedactionAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation/box.md #### ResourcesRedactionAnnotation.Box property Gets or sets resource redaction annotation position ```csharp public Rectangle Box { get; set; } ``` ### ResourcesRedactionAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation/clone.md #### ResourcesRedactionAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### ResourcesRedactionAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation/equals.md #### Equals(ResourcesRedactionAnnotation) Compares resource redaction annotation using IEquatable Equals method ```csharp public bool Equals(ResourcesRedactionAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ResourcesRedactionAnnotation | The ResourcesRedactionAnnotation object to compare with the current object | #### Equals(object) Compares resource redaction annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### ResourcesRedactionAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation/gethashcode.md #### ResourcesRedactionAnnotation.GetHashCode method Returns HashCode of the resource redaction annotation ```csharp public override int GetHashCode() ``` ### ResourcesRedactionAnnotation.ResourcesRedactionAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation/resourcesredactionannotation.md #### ResourcesRedactionAnnotation constructor Initializes new instance of `ResourcesRedactionAnnotation` class. ```csharp public ResourcesRedactionAnnotation() ``` ### Class SearchTextFragment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment.md #### SearchTextFragment class Represents searchText annotation properties ```csharp public class SearchTextFragment : AnnotationBase, IEquatable, ISerachTextFragment ``` #### Constructors | Name | Description | | --- | --- | | SearchTextFragment() | Initializes new instance of `SearchTextFragment` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets text background color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets text color | | FontFamily { get; set; } | Gets or sets text font family | | FontSize { get; set; } | Gets or sets text size | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | PageNumber { get; set; } | Page number where the annotation should be located | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Text { get; set; } | Gets or sets that need to be found | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares search text annotation using standard object Equals method | | Equals(SearchTextFragment) | Compares search text annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of SearchText Annotation | ### SearchTextFragment.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/backgroundcolor.md #### SearchTextFragment.BackgroundColor property Gets or sets text background color ```csharp public int? BackgroundColor { get; set; } ``` ### SearchTextFragment.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/clone.md #### SearchTextFragment.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### SearchTextFragment.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/equals.md #### Equals(SearchTextFragment) Compares search text annotation using IEquatable Equals method ```csharp public bool Equals(SearchTextFragment other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | SearchTextFragment | The SearchTextFragment object to compare with the current object | #### Equals(object) Compares search text annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### SearchTextFragment.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/fontcolor.md #### SearchTextFragment.FontColor property Gets or sets text color ```csharp public int? FontColor { get; set; } ``` ### SearchTextFragment.FontFamily Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/fontfamily.md #### SearchTextFragment.FontFamily property Gets or sets text font family ```csharp public string FontFamily { get; set; } ``` ### SearchTextFragment.FontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/fontsize.md #### SearchTextFragment.FontSize property Gets or sets text size ```csharp public double? FontSize { get; set; } ``` ### SearchTextFragment.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/gethashcode.md #### SearchTextFragment.GetHashCode method Returns HashCode of SearchText Annotation ```csharp public override int GetHashCode() ``` ### SearchTextFragment.SearchTextFragment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/searchtextfragment.md #### SearchTextFragment constructor Initializes new instance of `SearchTextFragment` class. ```csharp public SearchTextFragment() ``` ### SearchTextFragment.Text Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/searchtextfragment/text.md #### SearchTextFragment.Text property Gets or sets that need to be found ```csharp public string Text { get; set; } ``` ### Class SquigglyAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation.md #### SquigglyAnnotation class Represents squiggly annotation properties ```csharp public class SquigglyAnnotation : AnnotationBase, IEquatable, ISquigglyAnnotation ``` #### Constructors | Name | Description | | --- | --- | | SquigglyAnnotation() | Initializes new instance of `SquigglyAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets squiggly annotation text background color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets squiggly annotation text font color | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets squiggly annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Points { get; set; } | Gets or sets collection of points that describe rectangles with text | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | SquigglyColor { get; set; } | Gets or sets squiggly annotation color | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares squiggly annotation using standard object Equals method | | Equals(SquigglyAnnotation) | Compares squiggly annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the squiggly annotation | ### SquigglyAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/backgroundcolor.md #### SquigglyAnnotation.BackgroundColor property Gets or sets squiggly annotation text background color ```csharp public int? BackgroundColor { get; set; } ``` ### SquigglyAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/clone.md #### SquigglyAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### SquigglyAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/equals.md #### Equals(SquigglyAnnotation) Compares squiggly annotation using IEquatable Equals method ```csharp public bool Equals(SquigglyAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | SquigglyAnnotation | The SquigglyAnnotation object to compare with the current object | #### Equals(object) Compares squiggly annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### SquigglyAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/fontcolor.md #### SquigglyAnnotation.FontColor property Gets or sets squiggly annotation text font color ```csharp public int? FontColor { get; set; } ``` ### SquigglyAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/gethashcode.md #### SquigglyAnnotation.GetHashCode method Returns HashCode of the squiggly annotation ```csharp public override int GetHashCode() ``` ### SquigglyAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/opacity.md #### SquigglyAnnotation.Opacity property Gets or sets squiggly annotation opacity ```csharp public double? Opacity { get; set; } ``` ### SquigglyAnnotation.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/points.md #### SquigglyAnnotation.Points property Gets or sets collection of points that describe rectangles with text ```csharp public List Points { get; set; } ``` ### SquigglyAnnotation.SquigglyAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/squigglyannotation.md #### SquigglyAnnotation constructor Initializes new instance of `SquigglyAnnotation` class. ```csharp public SquigglyAnnotation() ``` ### SquigglyAnnotation.SquigglyColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/squigglyannotation/squigglycolor.md #### SquigglyAnnotation.SquigglyColor property Gets or sets squiggly annotation color ```csharp public int? SquigglyColor { get; set; } ``` ### Class StrikeoutAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation.md #### StrikeoutAnnotation class Represents strikeout annotation properties ```csharp public class StrikeoutAnnotation : AnnotationBase, IEquatable, IStrikeoutAnnotation ``` #### Constructors | Name | Description | | --- | --- | | StrikeoutAnnotation() | Initializes new instance of `StrikeoutAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets strikeout annotation text background color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets strikeout annotation text font color | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets strikeout annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Points { get; set; } | Gets or sets collection of points that describe rectangles with text | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares strikeout annotation using standard object Equals method | | Equals(StrikeoutAnnotation) | Compares strikeout annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the strikeout annotation | ### StrikeoutAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/backgroundcolor.md #### StrikeoutAnnotation.BackgroundColor property Gets or sets strikeout annotation text background color ```csharp public int? BackgroundColor { get; set; } ``` ### StrikeoutAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/clone.md #### StrikeoutAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### StrikeoutAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/equals.md #### Equals(StrikeoutAnnotation) Compares strikeout annotation using IEquatable Equals method ```csharp public bool Equals(StrikeoutAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | StrikeoutAnnotation | The StrikeoutAnnotation object to compare with the current object | #### Equals(object) Compares strikeout annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### StrikeoutAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/fontcolor.md #### StrikeoutAnnotation.FontColor property Gets or sets strikeout annotation text font color ```csharp public int? FontColor { get; set; } ``` ### StrikeoutAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/gethashcode.md #### StrikeoutAnnotation.GetHashCode method Returns HashCode of the strikeout annotation ```csharp public override int GetHashCode() ``` ### StrikeoutAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/opacity.md #### StrikeoutAnnotation.Opacity property Gets or sets strikeout annotation opacity ```csharp public double? Opacity { get; set; } ``` ### StrikeoutAnnotation.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/points.md #### StrikeoutAnnotation.Points property Gets or sets collection of points that describe rectangles with text ```csharp public List Points { get; set; } ``` ### StrikeoutAnnotation.StrikeoutAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/strikeoutannotation/strikeoutannotation.md #### StrikeoutAnnotation constructor Initializes new instance of `StrikeoutAnnotation` class. ```csharp public StrikeoutAnnotation() ``` ### Class TextFieldAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation.md #### TextFieldAnnotation class Represents text field annotation properties ```csharp public class TextFieldAnnotation : AnnotationBase, IEquatable, ITextFieldAnnotation ``` #### Constructors | Name | Description | | --- | --- | | TextFieldAnnotation() | Initializes new instance of `TextFieldAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets text field annotation background color | | Box { get; set; } | Gets or sets text field annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets text field annotation text font color | | FontFamily { get; set; } | Gets or sets text field annotation text font family | | FontSize { get; set; } | Gets or sets text field annotation font size | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets text field annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets text field annotation pen color | | PenStyle { get; set; } | Gets or sets text field annotation pen style | | PenWidth { get; set; } | Gets or sets text field annotation pen width | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Text { get; set; } | Gets or sets text field annotation text | | TextHorizontalAlignment { get; set; } | Gets or sets horizontal alignment of the text | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares text field annotation using standard object Equals method | | Equals(TextFieldAnnotation) | Compares text field annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the text field annotation | ### TextFieldAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/backgroundcolor.md #### TextFieldAnnotation.BackgroundColor property Gets or sets text field annotation background color ```csharp public int? BackgroundColor { get; set; } ``` ### TextFieldAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/box.md #### TextFieldAnnotation.Box property Gets or sets text field annotation position ```csharp public Rectangle Box { get; set; } ``` ### TextFieldAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/clone.md #### TextFieldAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### TextFieldAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/equals.md #### Equals(TextFieldAnnotation) Compares text field annotation using IEquatable Equals method ```csharp public bool Equals(TextFieldAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | TextFieldAnnotation | The TextFieldAnnotation object to compare with the current object | #### Equals(object) Compares text field annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### TextFieldAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/fontcolor.md #### TextFieldAnnotation.FontColor property Gets or sets text field annotation text font color ```csharp public int? FontColor { get; set; } ``` ### TextFieldAnnotation.FontFamily Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/fontfamily.md #### TextFieldAnnotation.FontFamily property Gets or sets text field annotation text font family ```csharp public string FontFamily { get; set; } ``` ### TextFieldAnnotation.FontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/fontsize.md #### TextFieldAnnotation.FontSize property Gets or sets text field annotation font size ```csharp public double? FontSize { get; set; } ``` ### TextFieldAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/gethashcode.md #### TextFieldAnnotation.GetHashCode method Returns HashCode of the text field annotation ```csharp public override int GetHashCode() ``` ### TextFieldAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/opacity.md #### TextFieldAnnotation.Opacity property Gets or sets text field annotation opacity ```csharp public double? Opacity { get; set; } ``` ### TextFieldAnnotation.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/pencolor.md #### TextFieldAnnotation.PenColor property Gets or sets text field annotation pen color ```csharp public int? PenColor { get; set; } ``` ### TextFieldAnnotation.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/penstyle.md #### TextFieldAnnotation.PenStyle property Gets or sets text field annotation pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### TextFieldAnnotation.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/penwidth.md #### TextFieldAnnotation.PenWidth property Gets or sets text field annotation pen width ```csharp public byte? PenWidth { get; set; } ``` ### TextFieldAnnotation.Text Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/text.md #### TextFieldAnnotation.Text property Gets or sets text field annotation text ```csharp public string Text { get; set; } ``` ### TextFieldAnnotation.TextFieldAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/textfieldannotation.md #### TextFieldAnnotation constructor Initializes new instance of `TextFieldAnnotation` class. ```csharp public TextFieldAnnotation() ``` ### TextFieldAnnotation.TextHorizontalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textfieldannotation/texthorizontalalignment.md #### TextFieldAnnotation.TextHorizontalAlignment property Gets or sets horizontal alignment of the text ```csharp public HorizontalAlignment TextHorizontalAlignment { get; set; } ``` ### Class TextRedactionAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textredactionannotation.md #### TextRedactionAnnotation class Represents text redaction annotation properties ```csharp public class TextRedactionAnnotation : AnnotationBase, IEquatable, ITextRedactionAnnotation ``` #### Constructors | Name | Description | | --- | --- | | TextRedactionAnnotation() | Initializes new instance of `TextRedactionAnnotation` class. | #### Properties | Name | Description | | --- | --- | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets text redaction annotation text font color | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | PageNumber { get; set; } | Page number where the annotation should be located | | Points { get; set; } | Gets or sets collection of points that describe rectangles with text | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares text redaction annotation using standard object Equals method | | Equals(TextRedactionAnnotation) | Compares text redaction annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the text redaction annotation | ### TextRedactionAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textredactionannotation/clone.md #### TextRedactionAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### TextRedactionAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textredactionannotation/equals.md #### Equals(TextRedactionAnnotation) Compares text redaction annotation using IEquatable Equals method ```csharp public bool Equals(TextRedactionAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | TextRedactionAnnotation | The TextRedactionAnnotation object to compare with the current object | #### Equals(object) Compares text redaction annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### TextRedactionAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textredactionannotation/fontcolor.md #### TextRedactionAnnotation.FontColor property Gets or sets text redaction annotation text font color ```csharp public int? FontColor { get; set; } ``` ### TextRedactionAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textredactionannotation/gethashcode.md #### TextRedactionAnnotation.GetHashCode method Returns HashCode of the text redaction annotation ```csharp public override int GetHashCode() ``` ### TextRedactionAnnotation.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textredactionannotation/points.md #### TextRedactionAnnotation.Points property Gets or sets collection of points that describe rectangles with text ```csharp public List Points { get; set; } ``` ### TextRedactionAnnotation.TextRedactionAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/textredactionannotation/textredactionannotation.md #### TextRedactionAnnotation constructor Initializes new instance of `TextRedactionAnnotation` class. ```csharp public TextRedactionAnnotation() ``` ### Class UnderlineAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation.md #### UnderlineAnnotation class Represents underline annotation properties ```csharp public class UnderlineAnnotation : AnnotationBase, IEquatable, IUnderlineAnnotation ``` #### Constructors | Name | Description | | --- | --- | | UnderlineAnnotation() | Initializes new instance of `UnderlineAnnotation` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets underline annotation text background color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets underline annotation text color | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets underline annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Points { get; set; } | Gets or sets collection of points that describe rectangles with text | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | UnderlineColor { get; set; } | Gets or sets underline annotation color | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares underline annotation using standard object Equals method | | Equals(UnderlineAnnotation) | Compares underline annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the underline annotation | ### UnderlineAnnotation.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/backgroundcolor.md #### UnderlineAnnotation.BackgroundColor property Gets or sets underline annotation text background color ```csharp public int? BackgroundColor { get; set; } ``` ### UnderlineAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/clone.md #### UnderlineAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### UnderlineAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/equals.md #### Equals(UnderlineAnnotation) Compares underline annotation using IEquatable Equals method ```csharp public bool Equals(UnderlineAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | UnderlineAnnotation | The UnderlineAnnotation object to compare with the current object | #### Equals(object) Compares underline annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### UnderlineAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/fontcolor.md #### UnderlineAnnotation.FontColor property Gets or sets underline annotation text color ```csharp public int? FontColor { get; set; } ``` ### UnderlineAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/gethashcode.md #### UnderlineAnnotation.GetHashCode method Returns HashCode of the underline annotation ```csharp public override int GetHashCode() ``` ### UnderlineAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/opacity.md #### UnderlineAnnotation.Opacity property Gets or sets underline annotation opacity ```csharp public double? Opacity { get; set; } ``` ### UnderlineAnnotation.Points Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/points.md #### UnderlineAnnotation.Points property Gets or sets collection of points that describe rectangles with text ```csharp public List Points { get; set; } ``` ### UnderlineAnnotation.UnderlineAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/underlineannotation.md #### UnderlineAnnotation constructor Initializes new instance of `UnderlineAnnotation` class. ```csharp public UnderlineAnnotation() ``` ### UnderlineAnnotation.UnderlineColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/underlineannotation/underlinecolor.md #### UnderlineAnnotation.UnderlineColor property Gets or sets underline annotation color ```csharp public int? UnderlineColor { get; set; } ``` ### Class WatermarkAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation.md #### WatermarkAnnotation class Represents watermark annotation properties ```csharp public class WatermarkAnnotation : AnnotationBase, IEquatable, IWatermarkAnnotation ``` #### Constructors | Name | Description | | --- | --- | | WatermarkAnnotation() | Initializes new instance of `WatermarkAnnotation` class. | #### Properties | Name | Description | | --- | --- | | Angle { get; set; } | Gets or sets watermark annotation rotation angle | | AutoScale { get; set; } | Gets or sets auto scale for watermark annotation | | Box { get; set; } | Gets or sets watermark annotation position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | FontColor { get; set; } | Gets or sets watermark annotation text color | | FontFamily { get; set; } | Gets or sets watermark annotation text font family | | FontSize { get; set; } | Gets or sets watermark annotation text size | | HorizontalAlignment { get; set; } | Gets or sets watermark horizontal alignment on document | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Opacity { get; set; } | Gets or sets watermark annotation opacity | | PageNumber { get; set; } | Page number where the annotation should be located | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Text { get; set; } | Gets or sets watermark text | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | | VerticalAlignment { get; set; } | Gets or sets watermark vertical alignment on document | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new instance with the same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | override Equals(object) | Compares watermark annotation using standard object Equals method | | Equals(WatermarkAnnotation) | Compares watermark annotation using IEquatable Equals method | | override GetHashCode() | Returns HashCode of the watermark annotation | ### WatermarkAnnotation.Angle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/angle.md #### WatermarkAnnotation.Angle property Gets or sets watermark annotation rotation angle ```csharp public double? Angle { get; set; } ``` ### WatermarkAnnotation.AutoScale Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/autoscale.md #### WatermarkAnnotation.AutoScale property Gets or sets auto scale for watermark annotation ```csharp public bool AutoScale { get; set; } ``` ### WatermarkAnnotation.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/box.md #### WatermarkAnnotation.Box property Gets or sets watermark annotation position ```csharp public Rectangle Box { get; set; } ``` ### WatermarkAnnotation.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/clone.md #### WatermarkAnnotation.Clone method Returns new instance with the same values ```csharp public override object Clone() ``` ### WatermarkAnnotation.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/equals.md #### Equals(WatermarkAnnotation) Compares watermark annotation using IEquatable Equals method ```csharp public bool Equals(WatermarkAnnotation other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | WatermarkAnnotation | The WatermarkAnnotation object to compare with the current object | #### Equals(object) Compares watermark annotation using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### WatermarkAnnotation.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/fontcolor.md #### WatermarkAnnotation.FontColor property Gets or sets watermark annotation text color ```csharp public int? FontColor { get; set; } ``` ### WatermarkAnnotation.FontFamily Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/fontfamily.md #### WatermarkAnnotation.FontFamily property Gets or sets watermark annotation text font family ```csharp public string FontFamily { get; set; } ``` ### WatermarkAnnotation.FontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/fontsize.md #### WatermarkAnnotation.FontSize property Gets or sets watermark annotation text size ```csharp public double? FontSize { get; set; } ``` ### WatermarkAnnotation.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/gethashcode.md #### WatermarkAnnotation.GetHashCode method Returns HashCode of the watermark annotation ```csharp public override int GetHashCode() ``` ### WatermarkAnnotation.HorizontalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/horizontalalignment.md #### WatermarkAnnotation.HorizontalAlignment property Gets or sets watermark horizontal alignment on document ```csharp public HorizontalAlignment HorizontalAlignment { get; set; } ``` ### WatermarkAnnotation.Opacity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/opacity.md #### WatermarkAnnotation.Opacity property Gets or sets watermark annotation opacity ```csharp public double? Opacity { get; set; } ``` ### WatermarkAnnotation.Text Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/text.md #### WatermarkAnnotation.Text property Gets or sets watermark text ```csharp public string Text { get; set; } ``` ### WatermarkAnnotation.VerticalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/verticalalignment.md #### WatermarkAnnotation.VerticalAlignment property Gets or sets watermark vertical alignment on document ```csharp public VerticalAlignment VerticalAlignment { get; set; } ``` ### WatermarkAnnotation.WatermarkAnnotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/watermarkannotation/watermarkannotation.md #### WatermarkAnnotation constructor Initializes new instance of `WatermarkAnnotation` class. ```csharp public WatermarkAnnotation() ``` ### GroupDocs.Annotation.Models.FormatSpecificComponents.Pdf.Interfaces Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces.md The namespace provides format specific component interfaces #### Interfaces | Interface | Description | | --- | --- | | IButtonComponent | Defines Button component properties | | ICheckBoxComponent | Defines CheckBox component properties | | IDropdownComponent | Defines Dropdown component properties | ### Interface IButtonComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces/ibuttoncomponent.md #### IButtonComponent interface Defines Button component properties ```csharp public interface IButtonComponent : IBorderStyle, IBox ``` ### Interface ICheckBoxComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces/icheckboxcomponent.md #### ICheckBoxComponent interface Defines CheckBox component properties ```csharp public interface ICheckBoxComponent : IBox, IBoxStyle ``` ### Interface IDropdownComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces/idropdowncomponent.md #### IDropdownComponent interface Defines Dropdown component properties ```csharp public interface IDropdownComponent : IBox, IPenColor, IPenStyle, IPenWidth ``` #### Properties | Name | Description | | --- | --- | | Options { get; set; } | List of options (drop down items) to be shown when component is clicked | | Placeholder { get; set; } | Text to shown when no options has been selected yet | | SelectedOption { get; set; } | Number of option to be selected by default | ### IDropdownComponent.Options Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces/idropdowncomponent/options.md #### IDropdownComponent.Options property List of options (drop down items) to be shown when component is clicked ```csharp public List Options { get; set; } ``` ### IDropdownComponent.Placeholder Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces/idropdowncomponent/placeholder.md #### IDropdownComponent.Placeholder property Text to shown when no options has been selected yet ```csharp public string Placeholder { get; set; } ``` ### IDropdownComponent.SelectedOption Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.interfaces/idropdowncomponent/selectedoption.md #### IDropdownComponent.SelectedOption property Number of option to be selected by default ```csharp public int? SelectedOption { get; set; } ``` ### GroupDocs.Annotation.Models.FormatSpecificComponents.Pdf Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf.md The namespace provides format specific component models #### Classes | Class | Description | | --- | --- | | ButtonComponent | Represents Button properties | | CheckBoxComponent | Represents CheckBox properties | | DropdownComponent | Represents dropdown component properties | ### Class ButtonComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent.md #### ButtonComponent class Represents Button properties ```csharp public class ButtonComponent : AnnotationBase, IButtonComponent, IEquatable ``` #### Constructors | Name | Description | | --- | --- | | ButtonComponent() | Initializes new instance of `ButtonComponent` class. | #### Properties | Name | Description | | --- | --- | | AlternateName { get; set; } | Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat. | | BorderColor { get; set; } | Gets or sets annotation border color | | BorderWidth { get; set; } | Gets or sets annotation border width | | Box { get; set; } | Gets or sets component position | | ButtonColor { get; set; } | Gets or sets component color | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | NormalCaption { get; set; } | Gets or sets component normal caption | | PageNumber { get; set; } | Page number where the annotation should be located | | PartialName { get; set; } | Gets or sets component partial name | | PenColor { get; set; } | Gets or sets component pen color | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | RolloverCaption { get; set; } | Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button. | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Style { get; set; } | Gets or sets annotation border | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new Instance with same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(ButtonComponent) | Compares Button Components using IEquatable Equals method | | override Equals(object) | Compares Button Components using standard object Equals method | | override GetHashCode() | Returns HashCode of Button Component | ### ButtonComponent.AlternateName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/alternatename.md #### ButtonComponent.AlternateName property Gets or sets component alternate name Alternate name is used as field tooltip in Adobe Acrobat. ```csharp public string AlternateName { get; set; } ``` ### ButtonComponent.BorderColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/bordercolor.md #### ButtonComponent.BorderColor property Gets or sets annotation border color ```csharp public int? BorderColor { get; set; } ``` ### ButtonComponent.BorderWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/borderwidth.md #### ButtonComponent.BorderWidth property Gets or sets annotation border width ```csharp public int? BorderWidth { get; set; } ``` ### ButtonComponent.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/box.md #### ButtonComponent.Box property Gets or sets component position ```csharp public Rectangle Box { get; set; } ``` ### ButtonComponent.ButtonColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/buttoncolor.md #### ButtonComponent.ButtonColor property Gets or sets component color ```csharp public int? ButtonColor { get; set; } ``` ### ButtonComponent.ButtonComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/buttoncomponent.md #### ButtonComponent constructor Initializes new instance of `ButtonComponent` class. ```csharp public ButtonComponent() ``` ### ButtonComponent.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/clone.md #### ButtonComponent.Clone method Returns new Instance with same values ```csharp public override object Clone() ``` ### ButtonComponent.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/equals.md #### Equals(ButtonComponent) Compares Button Components using IEquatable Equals method ```csharp public bool Equals(ButtonComponent other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ButtonComponent | The ButtonComponent object to compare with the current object | #### Equals(object) Compares Button Components using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### ButtonComponent.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/gethashcode.md #### ButtonComponent.GetHashCode method Returns HashCode of Button Component ```csharp public override int GetHashCode() ``` ### ButtonComponent.NormalCaption Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/normalcaption.md #### ButtonComponent.NormalCaption property Gets or sets component normal caption ```csharp public string NormalCaption { get; set; } ``` ### ButtonComponent.PartialName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/partialname.md #### ButtonComponent.PartialName property Gets or sets component partial name ```csharp public string PartialName { get; set; } ``` ### ButtonComponent.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/pencolor.md #### ButtonComponent.PenColor property Gets or sets component pen color ```csharp public int? PenColor { get; set; } ``` ### ButtonComponent.RolloverCaption Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/rollovercaption.md #### ButtonComponent.RolloverCaption property Gets or sets rollover caption of button which shall be displayed when the user rolls the cursor into its active area without pressing the mouse button. ```csharp public string RolloverCaption { get; set; } ``` ### ButtonComponent.Style Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/buttoncomponent/style.md #### ButtonComponent.Style property Gets or sets annotation border ```csharp public BorderStyle? Style { get; set; } ``` ### Class CheckBoxComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent.md #### CheckBoxComponent class Represents CheckBox properties ```csharp public class CheckBoxComponent : AnnotationBase, ICheckBoxComponent, IEquatable ``` #### Constructors | Name | Description | | --- | --- | | CheckBoxComponent() | Initializes new instance of `CheckBoxComponent` class. | #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets component position | | Checked { get; set; } | Gets or sets component checked | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets component color | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Style { get; set; } | Gets or sets style box | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new Instance with same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(CheckBoxComponent) | Compares CheckBox Components using IEquatable Equals method | | override Equals(object) | Compares CheckBox Components using standard object Equals method | | override GetHashCode() | Returns HashCode of CheckBox Component | ### CheckBoxComponent.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/box.md #### CheckBoxComponent.Box property Gets or sets component position ```csharp public Rectangle Box { get; set; } ``` ### CheckBoxComponent.CheckBoxComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/checkboxcomponent.md #### CheckBoxComponent constructor Initializes new instance of `CheckBoxComponent` class. ```csharp public CheckBoxComponent() ``` ### CheckBoxComponent.Checked Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/checked.md #### CheckBoxComponent.Checked property Gets or sets component checked ```csharp public bool Checked { get; set; } ``` ### CheckBoxComponent.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/clone.md #### CheckBoxComponent.Clone method Returns new Instance with same values ```csharp public override object Clone() ``` ### CheckBoxComponent.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/equals.md #### Equals(CheckBoxComponent) Compares CheckBox Components using IEquatable Equals method ```csharp public bool Equals(CheckBoxComponent other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | CheckBoxComponent | The CheckBoxComponent object to compare with the current object | #### Equals(object) Compares CheckBox Components using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### CheckBoxComponent.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/gethashcode.md #### CheckBoxComponent.GetHashCode method Returns HashCode of CheckBox Component ```csharp public override int GetHashCode() ``` ### CheckBoxComponent.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/pencolor.md #### CheckBoxComponent.PenColor property Gets or sets component color ```csharp public int? PenColor { get; set; } ``` ### CheckBoxComponent.Style Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/checkboxcomponent/style.md #### CheckBoxComponent.Style property Gets or sets style box ```csharp public BoxStyle? Style { get; set; } ``` ### Class DropdownComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent.md #### DropdownComponent class Represents dropdown component properties ```csharp public class DropdownComponent : AnnotationBase, IDropdownComponent ``` #### Constructors | Name | Description | | --- | --- | | DropdownComponent() | Initializes new instance of `DropdownComponent` class. | #### Properties | Name | Description | | --- | --- | | Box { get; set; } | Gets or sets component position | | CreatedOn { get; set; } | Gets or sets annotation creation date | | Id { get; set; } | Gets or sets annotation unique identifier. This field is auto-incremented. | | Message { get; set; } | Gets or sets annotation message | | Options { get; set; } | List of options (drop down items) to be shown when component is clicked | | PageNumber { get; set; } | Page number where the annotation should be located | | PenColor { get; set; } | Gets or sets component pen color | | PenStyle { get; set; } | Gets or sets component pen style | | PenWidth { get; set; } | Gets or sets component pen width | | Placeholder { get; set; } | Text to shown when no options has been selected yet | | Replies { get; set; } | The list of replies (comments) attached to the annotation | | SelectedOption { get; set; } | Number of option to be selected by default | | StateBeforeAnnotation { get; set; } | Stores the previous state of the text. State that was before annotating | | Type { get; set; } | Gets or sets annotation type | | User { get; set; } | Gets or sets annotation author | #### Methods | Name | Description | | --- | --- | | override Clone() | Returns new Instance with same values | | Equals(AnnotationBase) | Compares Base Annotations using IEquatable Equals method | | Equals(DropdownComponent) | Compares Dropdown component using IEquatable Equals method | | override Equals(object) | Compares Dropdown Components using standard object Equals method | | override GetHashCode() | Returns HashCode of Dropdown Component | ### DropdownComponent.Box Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/box.md #### DropdownComponent.Box property Gets or sets component position ```csharp public Rectangle Box { get; set; } ``` ### DropdownComponent.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/clone.md #### DropdownComponent.Clone method Returns new Instance with same values ```csharp public override object Clone() ``` ### DropdownComponent.DropdownComponent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/dropdowncomponent.md #### DropdownComponent constructor Initializes new instance of `DropdownComponent` class. ```csharp public DropdownComponent() ``` ### DropdownComponent.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/equals.md #### Equals(DropdownComponent) Compares Dropdown component using IEquatable Equals method ```csharp public bool Equals(DropdownComponent other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | DropdownComponent | The DropdownComponent object to compare with the current object | #### Equals(object) Compares Dropdown Components using standard object Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object | ### DropdownComponent.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/gethashcode.md #### DropdownComponent.GetHashCode method Returns HashCode of Dropdown Component ```csharp public override int GetHashCode() ``` ### DropdownComponent.Options Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/options.md #### DropdownComponent.Options property List of options (drop down items) to be shown when component is clicked ```csharp public List Options { get; set; } ``` ### DropdownComponent.PenColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/pencolor.md #### DropdownComponent.PenColor property Gets or sets component pen color ```csharp public int? PenColor { get; set; } ``` ### DropdownComponent.PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/penstyle.md #### DropdownComponent.PenStyle property Gets or sets component pen style ```csharp public PenStyle? PenStyle { get; set; } ``` ### DropdownComponent.PenWidth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/penwidth.md #### DropdownComponent.PenWidth property Gets or sets component pen width ```csharp public byte? PenWidth { get; set; } ``` ### DropdownComponent.Placeholder Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/placeholder.md #### DropdownComponent.Placeholder property Text to shown when no options has been selected yet ```csharp public string Placeholder { get; set; } ``` ### DropdownComponent.SelectedOption Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.formatspecificcomponents.pdf/dropdowncomponent/selectedoption.md #### DropdownComponent.SelectedOption property Number of option to be selected by default ```csharp public int? SelectedOption { get; set; } ``` ### GroupDocs.Annotation.Models Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.md The namespace contains various of annotation models #### Classes | Class | Description | | --- | --- | | Reply | Represents annotation comment. | | User | Class that represents User | | VersionsList | Class that defines serializable list of the document version information. | #### Structures | Structure | Description | | --- | --- | | PageInfo | Class that defines Document Page Information. | | Point | Point structure | | Rectangle | Rectangle structure | | TextLineInfo | Class that defines text line information | #### Enumeration | Enumeration | Description | | --- | --- | | BorderStyle | Describes all possible border styles. | | BoxStyle | Describes all possible checkbox styles. | | DocumentType | Describes all supported document types. | | HorizontalAlignment | Represents annotations horizontal alignment enum | | PenStyle | Describes all supported pen styles. | | ResolutionQuality | Describes all supported resolutions. They are used for generating document previews | | Role | Describes all possible user roles | | RotationDocument | Describes all possible document rotation angles | | VerticalAlignment | Represents annotations vertical alignment enum | ### Enum BorderStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/borderstyle.md #### BorderStyle enumeration Describes all possible border styles. ```csharp public enum BorderStyle : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Solid | `0` | Solid border | | Dashed | `1` | Dashed border | | Beveled | `2` | Beveled border | | Inset | `3` | Inset border | | Underline | `4` | Underline border | ### Enum BoxStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/boxstyle.md #### BoxStyle enumeration Describes all possible checkbox styles. ```csharp public enum BoxStyle : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Circle | `0` | Circle style | | Check | `1` | Check style | | Cross | `2` | Cross style | | Diamond | `3` | Diamond style | | Square | `4` | Square style | | Star | `5` | Star style | ### Enum DocumentType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/documenttype.md #### DocumentType enumeration Describes all supported document types. ```csharp public enum DocumentType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `-1` | The undefined | | Pdf | `0` | Pdf documen type | | Cells | `1` | Excel document type | | Slides | `2` | PowerPoint document type | | Words | `3` | Word document type | | Images | `4` | Image document type | | Email | `5` | Email document type | | Html | `6` | HTML document type | | Diagram | `7` | Visio document type | ### Enum HorizontalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/horizontalalignment.md #### HorizontalAlignment enumeration Represents annotations horizontal alignment enum ```csharp public enum HorizontalAlignment ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Default value, aligned wont be used | | Left | `1` | Target will be aligned to left side | | Center | `2` | Target will be aligned to center | | Right | `3` | Target will be aligned to right side | ### Struct PageInfo Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/pageinfo.md #### PageInfo structure Class that defines Document Page Information. ```csharp public struct PageInfo ``` #### Constructors | Name | Description | | --- | --- | | PageInfo(int, int) | Initializes new instance of `PageInfo` class. | #### Properties | Name | Description | | --- | --- | | Height { get; set; } | Page height | | PageNumber { get; set; } | Page number | | TextLines { get; set; } | Collection of text lines information | | Width { get; set; } | Page width | ### PageInfo.Height Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/pageinfo/height.md #### PageInfo.Height property Page height ```csharp public int Height { get; set; } ``` ### PageInfo.PageInfo Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/pageinfo/pageinfo.md #### PageInfo constructor Initializes new instance of `PageInfo` class. ```csharp public PageInfo(int width, int height) ``` | Parameter | Type | Description | | --- | --- | --- | | width | Int32 | Page Width. | | height | Int32 | Page Height. | ### PageInfo.PageNumber Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/pageinfo/pagenumber.md #### PageInfo.PageNumber property Page number ```csharp public int PageNumber { get; set; } ``` ### PageInfo.TextLines Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/pageinfo/textlines.md #### PageInfo.TextLines property Collection of text lines information ```csharp public List TextLines { get; set; } ``` ### PageInfo.Width Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/pageinfo/width.md #### PageInfo.Width property Page width ```csharp public int Width { get; set; } ``` ### Enum PenStyle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/penstyle.md #### PenStyle enumeration Describes all supported pen styles. ```csharp public enum PenStyle : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Solid | `0` | Specifies a solid line | | Dash | `1` | Specifies a dashed line | | DashDot | `2` | Specifies a line consisting of dashes and dots | | Dot | `3` | Specifies a dotted line | | LongDash | `4` | Specifies a line consisting of long dashes | | DashDotDot | `5` | Specifies a line consisting of dashes and two dots | ### Struct Point Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point.md #### Point structure Point structure ```csharp public struct Point ``` #### Constructors | Name | Description | | --- | --- | | Point(float, float) | Initializes a new instance of the `Point` struct. | #### Properties | Name | Description | | --- | --- | | X { get; set; } | Gets or sets the X coordinate value. | | Y { get; set; } | Gets or sets the Y coordinate value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether the specified point is equal to the current point. | | override GetHashCode() | Serves as the default hash function. | | operator == | Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are equal. | | operator != | Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are not equal. | ### Point.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point/equals.md #### Point.Equals method Determines whether the specified point is equal to the current point. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The point to compare with the current point. | ##### Return Value `true` if the specified point is equal to the current point; otherwise, `false`. ### Point.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point/gethashcode.md #### Point.GetHashCode method Serves as the default hash function. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current point. ### Point.op_Equality Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point/op_equality.md #### Point Equality operator Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are equal. ```csharp public static bool operator ==(Point left, Point right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Point | A Point to compare. | | right | Point | A Point to compare. | ##### Return Value true if the Point.X and Point.Y values of left and right are equal; otherwise, false. ### Point.op_Inequality Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point/op_inequality.md #### Point Inequality operator Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are not equal. ```csharp public static bool operator !=(Point left, Point right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Point | A Point to compare. | | right | Point | A Point to compare. | ##### Return Value true if the Point.X and Point.Y values of left and right are not equal; otherwise, false. ### Point.Point Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point/point.md #### Point constructor Initializes a new instance of the `Point` struct. ```csharp public Point(float x, float y) ``` | Parameter | Type | Description | | --- | --- | --- | | x | Single | The x coordinate | | y | Single | The y coordinate | ### Point.X Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point/x.md #### Point.X property Gets or sets the X coordinate value. ```csharp public float X { get; set; } ``` ### Point.Y Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/point/y.md #### Point.Y property Gets or sets the Y coordinate value. ```csharp public float Y { get; set; } ``` ### Struct Rectangle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle.md #### Rectangle structure Rectangle structure ```csharp public struct Rectangle ``` #### Constructors | Name | Description | | --- | --- | | Rectangle(float, float, float, float) | Initializes a new instance of the `Rectangle` struct. | #### Properties | Name | Description | | --- | --- | | Height { get; set; } | Gets or sets the height of the rectangle | | Width { get; set; } | Gets or sets the width of the rectangle | | X { get; set; } | Gets or sets the X coordinate | | Y { get; set; } | Gets or sets the Y coordinate | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether the specified rectangle is equal to the current rectangle. | | override GetHashCode() | Serves as the default hash function. | | operator == | Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are equal. | | operator != | Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are not equal. | ### Rectangle.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/equals.md #### Rectangle.Equals method Determines whether the specified rectangle is equal to the current rectangle. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The rectangle to compare with the current rectangle. | ##### Return Value `true` if the specified rectangle is equal to the current rectangle; otherwise, `false`. ### Rectangle.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/gethashcode.md #### Rectangle.GetHashCode method Serves as the default hash function. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current rectangle. ### Rectangle.Height Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/height.md #### Rectangle.Height property Gets or sets the height of the rectangle ```csharp public float Height { get; set; } ``` ### Rectangle.op_Equality Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/op_equality.md #### Rectangle Equality operator Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are equal. ```csharp public static bool operator ==(Rectangle left, Rectangle right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Rectangle | A Rectangle to compare. | | right | Rectangle | A Rectangle to compare. | ##### Return Value true if the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height values of left and right are equal; otherwise, false. ### Rectangle.op_Inequality Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/op_inequality.md #### Rectangle Inequality operator Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are not equal. ```csharp public static bool operator !=(Rectangle left, Rectangle right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Rectangle | A Rectangle to compare. | | right | Rectangle | A Rectangle to compare. | ##### Return Value true if the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height values of left and right are not equal; otherwise, false. ### Rectangle.Rectangle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/rectangle.md #### Rectangle constructor Initializes a new instance of the `Rectangle` struct. ```csharp public Rectangle(float x, float y, float width, float height) ``` | Parameter | Type | Description | | --- | --- | --- | | x | Single | The x coordinate (top left corner of the rectangle) | | y | Single | The y coordinate (top left corner of the rectangle) | | width | Single | The width of the rectangle | | height | Single | The height of the rectangle | ### Rectangle.Width Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/width.md #### Rectangle.Width property Gets or sets the width of the rectangle ```csharp public float Width { get; set; } ``` ### Rectangle.X Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/x.md #### Rectangle.X property Gets or sets the X coordinate ```csharp public float X { get; set; } ``` ### Rectangle.Y Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rectangle/y.md #### Rectangle.Y property Gets or sets the Y coordinate ```csharp public float Y { get; set; } ``` ### Class Reply Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply.md #### Reply class Represents annotation comment. ```csharp public class Reply : ICloneable ``` #### Constructors | Name | Description | | --- | --- | | Reply() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Comment { get; set; } | Comment text content | | Id { get; set; } | Comment identificator | | ParentReply { get; set; } | Parent сomment (in case current one is a reply to the original one) | | RepliedOn { get; set; } | Comment creation date and time | | User { get; set; } | Comment author | #### Methods | Name | Description | | --- | --- | | Clone() | Returns new Instance with same values | ### Reply.Clone Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply/clone.md #### Reply.Clone method Returns new Instance with same values ```csharp public object Clone() ``` ### Reply.Comment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply/comment.md #### Reply.Comment property Comment text content ```csharp public string Comment { get; set; } ``` ### Reply.Id Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply/id.md #### Reply.Id property Comment identificator ```csharp public int Id { get; set; } ``` ### Reply.ParentReply Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply/parentreply.md #### Reply.ParentReply property Parent сomment (in case current one is a reply to the original one) ```csharp public Reply ParentReply { get; set; } ``` ### Reply.RepliedOn Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply/repliedon.md #### Reply.RepliedOn property Comment creation date and time ```csharp public DateTime RepliedOn { get; set; } ``` ### Reply.Reply Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply/reply.md #### Reply constructor The default constructor. ```csharp public Reply() ``` ### Reply.User Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/reply/user.md #### Reply.User property Comment author ```csharp public User User { get; set; } ``` ### Enum ResolutionQuality Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/resolutionquality.md #### ResolutionQuality enumeration Describes all supported resolutions. They are used for generating document previews ```csharp public enum ResolutionQuality : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Default quality | | Low | `1` | Allows to create documents of small size with a low image quality | | Medium | `2` | Allows to create documents of medium size with a good image quality | | High | `3` | Allows to create documents of big size with a high image quality | ### Enum Role Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/role.md #### Role enumeration Describes all possible user roles ```csharp public enum Role ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Viewer | `0` | Viewer can only view comments | | Editor | `1` | Editor can view and edit comments | ### Enum RotationDocument Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/rotationdocument.md #### RotationDocument enumeration Describes all possible document rotation angles ```csharp public enum RotationDocument : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Default one. Document is not rotated. | | on90 | `1` | Rotate the document 90 degrees | | on180 | `2` | Rotate the document 180 degrees | | on270 | `3` | Rotate the document 270 degrees | ### Struct TextLineInfo Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/textlineinfo.md #### TextLineInfo structure Class that defines text line information ```csharp public struct TextLineInfo ``` #### Properties | Name | Description | | --- | --- | | Height { get; set; } | Line height | | LeftIndent { get; set; } | Indent from left | | Text { get; set; } | Line text content | | TopIndent { get; set; } | Indent from top | | Width { get; set; } | Line width | ### TextLineInfo.Height Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/textlineinfo/height.md #### TextLineInfo.Height property Line height ```csharp public double Height { get; set; } ``` ### TextLineInfo.LeftIndent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/textlineinfo/leftindent.md #### TextLineInfo.LeftIndent property Indent from left ```csharp public double LeftIndent { get; set; } ``` ### TextLineInfo.Text Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/textlineinfo/text.md #### TextLineInfo.Text property Line text content ```csharp public string Text { get; set; } ``` ### TextLineInfo.TopIndent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/textlineinfo/topindent.md #### TextLineInfo.TopIndent property Indent from top ```csharp public double TopIndent { get; set; } ``` ### TextLineInfo.Width Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/textlineinfo/width.md #### TextLineInfo.Width property Line width ```csharp public double Width { get; set; } ``` ### Class User Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/user.md #### User class Class that represents User ```csharp public class User ``` #### Constructors | Name | Description | | --- | --- | | User() | Initializes new instance of `User` class. | | User(int, string, Role) | Initializes new instance of `User` class. | #### Properties | Name | Description | | --- | --- | | Email { get; set; } | User email address | | Id { get; set; } | User udentificator | | Name { get; set; } | User name | | Role { get; set; } | User role | ### User.Email Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/user/email.md #### User.Email property User email address ```csharp public string Email { get; set; } ``` ### User.Id Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/user/id.md #### User.Id property User udentificator ```csharp public int Id { get; set; } ``` ### User.Name Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/user/name.md #### User.Name property User name ```csharp public string Name { get; set; } ``` ### User.Role Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/user/role.md #### User.Role property User role ```csharp public Role Role { get; set; } ``` ### User.User Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/user/user.md #### User() Initializes new instance of `User` class. ```csharp public User() ``` #### User(int, string, Role) Initializes new instance of `User` class. ```csharp public User(int id, string name, Role role) ``` | Parameter | Type | Description | | --- | --- | --- | | id | Int32 | The user id. | | name | String | The user name. | | role | Role | The user role. | ### Class VersionsList Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist.md #### VersionsList class Class that defines serializable list of the document version information. ```csharp public class VersionsList ``` #### Constructors | Name | Description | | --- | --- | | VersionsList() | Default constructor. | #### Properties | Name | Description | | --- | --- | | Version { get; set; } | Current version | | VersionsDictionary { get; set; } | | #### Methods | Name | Description | | --- | --- | | AddVersion(List<AnnotationBase>) | Add list of the annotations. | | AddVersion(object, List<AnnotationBase>) | Add list of annotations per version ley | | GetLastVersionKey() | | | GetPenultimateVersionKey() | | | GetVersion() | | | GetVersion(object) | | | GetVersionKeyByValue(List<AnnotationBase>) | | | ReplaceLastVersion(List<AnnotationBase>) | | ### VersionsList.AddVersion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/addversion.md #### AddVersion(List<AnnotationBase>) Add list of the annotations. ```csharp public void AddVersion(List annotations) ``` | Parameter | Type | Description | | --- | --- | --- | | annotations | List`1 | List of the annocations to add. `AnnotationBase` | #### AddVersion(object, List<AnnotationBase>) Add list of annotations per version ley ```csharp public void AddVersion(object newVersionKey, List annotations) ``` | Parameter | Type | Description | | --- | --- | --- | | newVersionKey | Object | Key of the version | | annotations | List`1 | List of the annotations | ##### Exceptions | exception | condition | | --- | --- | | Exception | Throws an exception if version key already exists | ### VersionsList.GetLastVersionKey Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/getlastversionkey.md #### VersionsList.GetLastVersionKey method ```csharp public object GetLastVersionKey() ``` ### VersionsList.GetPenultimateVersionKey Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/getpenultimateversionkey.md #### VersionsList.GetPenultimateVersionKey method ```csharp public object GetPenultimateVersionKey() ``` ### VersionsList.GetVersion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/getversion.md #### GetVersion(object) ```csharp public List GetVersion(object versionKey) ``` | Parameter | Type | Description | | --- | --- | --- | | versionKey | Object | | #### GetVersion() ```csharp public List GetVersion() ``` ### VersionsList.GetVersionKeyByValue Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/getversionkeybyvalue.md #### VersionsList.GetVersionKeyByValue method ```csharp public object GetVersionKeyByValue(List annotations) ``` | Parameter | Type | Description | | --- | --- | --- | | annotations | List`1 | | ### VersionsList.ReplaceLastVersion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/replacelastversion.md #### VersionsList.ReplaceLastVersion method ```csharp public void ReplaceLastVersion(List annotations) ``` | Parameter | Type | Description | | --- | --- | --- | | annotations | List`1 | | ### VersionsList.Version Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/version.md #### VersionsList.Version property Current version ```csharp public object Version { get; set; } ``` ### VersionsList.VersionsDictionary Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/versionsdictionary.md #### VersionsList.VersionsDictionary property ```csharp public SerializableDictionary> VersionsDictionary { get; set; } ``` ### VersionsList.VersionsList Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/versionslist/versionslist.md #### VersionsList constructor Default constructor. ```csharp public VersionsList() ``` ### Enum VerticalAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models/verticalalignment.md #### VerticalAlignment enumeration Represents annotations vertical alignment enum ```csharp public enum VerticalAlignment ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Default value, aligned wont be used | | Top | `1` | Target will be aligned to top side | | Center | `2` | Target will be aligned to center | | Bottom | `3` | Target will be aligned to bottom side | ### GroupDocs.Annotation.Options Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options.md The namespace provides classes to specify additional options when loading, annotating and saving documents. #### Classes | Class | Description | | --- | --- | | CreatePageStream | Delegate that defines method to create output page preview stream. | | LoadOptions | Allows to specify additional options (such as password) when opening a document to annotate. | | PreviewOptions | Represents document preview options. | | ReleasePageStream | Delegate that defines method to release output page preview stream. | | SaveOptions | Allows to specify additional options (such as password) when saving annotated document. | | WorksheetColumnsRange | Represents a range of columns for a specified worksheet | #### Enumeration | Enumeration | Description | | --- | --- | | AnnotationType | Enumeration that decribes annotation types supported by GroupDocs.Annotation for .NET | | PreviewFormats | Document preview supported formats. | ### Enum AnnotationType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/annotationtype.md #### AnnotationType enumeration Enumeration that decribes annotation types supported by GroupDocs.Annotation for .NET ```csharp [Flags] public enum AnnotationType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Default value | | Area | `2` | The area annotation type that highlights rectangular area within the document page | | Arrow | `4` | The annotation type that draws an arrow on the document page | | Distance | `8` | The annotation type that measures distance between elements of a document page | | Ellipse | `10` | The annotation of elliptic form that marks parts of document content | | Link | `20` | The annotation type that represents a hyperlink to a remote resource | | Point | `40` | The point annotation type that sticks a comment to an any place within document page | | Polyline | `80` | The polyline annotation type that allows add drawing shapes and freehand lines to a document page | | ResourcesRedaction | `100` | The annotation type that hides textual content behind black rectangle | | TextField | `200` | The text field annotation type represents textual comment inside colored frame | | TextHighlight | `400` | The annotation type that highlights and comments selected text | | TextRedaction | `800` | The annotation type that fills part of selected text with black rectangle. | | TextReplacement | `1000` | The annotation type that replaces original text with other provided text fragment | | TextStrikeout | `2000` | The annotation type that marks text fragment with a strikethrough styling | | TextUnderline | `4000` | The annotation type that marks text with a underline styling | | Watermark | `8000` | The annotation type that adds textual watermark over document page | | Image | `10000` | The annotation type that adds image overlay over document page content | | Dropdown | `20000` | The component type that adds dropdown component for pdf document **only** | | Checkbox | `21000` | The annotation type that adds checkbox for pdf document | | Button | `22000` | The annotation type that adds button for pdf document | | TextSquiggly | `2500` | The annotation type that squiggly and comments selected text | | SearchText | `2700` | The annotation type that search fragment text in document | | All | `7FFFFFFF` | All | ### Delegate CreatePageStream Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/createpagestream.md #### CreatePageStream delegate Delegate that defines method to create output page preview stream. ```csharp public delegate Stream CreatePageStream(int pageNumber); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number. | ### Class LoadOptions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/loadoptions.md #### LoadOptions class Allows to specify additional options (such as password) when opening a document to annotate. ```csharp public class LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | LoadOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | FontDirectories { get; set; } | List of font directories to load custom fonts from | | Password { get; set; } | Document password | | Version { get; set; } | Sets what version of document will be load. Default State - last | ### LoadOptions.FontDirectories Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/loadoptions/fontdirectories.md #### LoadOptions.FontDirectories property List of font directories to load custom fonts from ```csharp public List FontDirectories { get; set; } ``` ### LoadOptions.LoadOptions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/loadoptions/loadoptions.md #### LoadOptions constructor The default constructor. ```csharp public LoadOptions() ``` ### LoadOptions.Password Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/loadoptions/password.md #### LoadOptions.Password property Document password ```csharp public string Password { get; set; } ``` ### LoadOptions.Version Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/loadoptions/version.md #### LoadOptions.Version property Sets what version of document will be load. Default State - last ```csharp public object Version { get; set; } ``` ### Enum PreviewFormats Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewformats.md #### PreviewFormats enumeration Document preview supported formats. ```csharp public enum PreviewFormats ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PNG | `0` | Png (by default), can be take a lot of disc space / traffic if page contains a lot of color graphics | | JPEG | `1` | Jpeg - faster processing, small disc space using / traffic, but can be worst quality | | BMP | `2` | BMP - slow processing, high disc space usage / traffic, but best quality | ### Class PreviewOptions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions.md #### PreviewOptions class Represents document preview options. ```csharp public class PreviewOptions ``` #### Constructors | Name | Description | | --- | --- | | PreviewOptions(CreatePageStream) | Initializes a new instance of `PreviewOptions` class. | | PreviewOptions(CreatePageStream, ReleasePageStream) | Initializes a new instance of `PreviewOptions` class. | #### Properties | Name | Description | | --- | --- | | CreatePageStream { get; set; } | Delegate which defines method to create output page preview stream. | | Height { get; set; } | Page preview height. | | PageNumbers { get; set; } | Page numbers that will be previewed. | | PreviewFormat { get; set; } | Preview image format. | | ReleasePageStream { get; set; } | Delegate which defines method to remove output page preview stream | | RenderAnnotations { get; set; } | The property that controls whether annotations will be generated on the preview. Default State - true. | | RenderComments { get; set; } | The property that controls whether comments will be generated on the preview. Default State - true. Now Supported only in MS Word document | | Resolution { get; set; } | Gets or sets the resolution for generated images, in dots per inch. | | Width { get; set; } | Page preview width. | | WorksheetColumns { get; set; } | Worksheet columns to generate. Generation proceeds in the specified order. | ### PreviewOptions.CreatePageStream Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/createpagestream.md #### PreviewOptions.CreatePageStream property Delegate which defines method to create output page preview stream. ```csharp public CreatePageStream CreatePageStream { get; set; } ``` ### PreviewOptions.Height Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/height.md #### PreviewOptions.Height property Page preview height. ```csharp public int Height { get; set; } ``` ### PreviewOptions.PageNumbers Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/pagenumbers.md #### PreviewOptions.PageNumbers property Page numbers that will be previewed. ```csharp public int[] PageNumbers { get; set; } ``` ### PreviewOptions.PreviewFormat Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/previewformat.md #### PreviewOptions.PreviewFormat property Preview image format. ```csharp public PreviewFormats PreviewFormat { get; set; } ``` ### PreviewOptions.PreviewOptions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/previewoptions.md #### PreviewOptions(CreatePageStream) Initializes a new instance of `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Delegate which defines method to create output page preview stream. | #### PreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Delegate which defines method to create output page preview stream. | | releasePageStream | ReleasePageStream | Delegate which defines method to release output page preview stream. | ### PreviewOptions.ReleasePageStream Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/releasepagestream.md #### PreviewOptions.ReleasePageStream property Delegate which defines method to remove output page preview stream ```csharp public ReleasePageStream ReleasePageStream { get; set; } ``` ### PreviewOptions.RenderAnnotations Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/renderannotations.md #### PreviewOptions.RenderAnnotations property The property that controls whether annotations will be generated on the preview. Default State - true. ```csharp public bool RenderAnnotations { get; set; } ``` ### PreviewOptions.RenderComments Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/rendercomments.md #### PreviewOptions.RenderComments property The property that controls whether comments will be generated on the preview. Default State - true. Now Supported only in MS Word document ```csharp public bool RenderComments { get; set; } ``` ### PreviewOptions.Resolution Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/resolution.md #### PreviewOptions.Resolution property Gets or sets the resolution for generated images, in dots per inch. ```csharp public int Resolution { get; set; } ``` #### Remarks The default value is 96. ### PreviewOptions.Width Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/width.md #### PreviewOptions.Width property Page preview width. ```csharp public int Width { get; set; } ``` ### PreviewOptions.WorksheetColumns Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/previewoptions/worksheetcolumns.md #### PreviewOptions.WorksheetColumns property Worksheet columns to generate. Generation proceeds in the specified order. ```csharp public List WorksheetColumns { get; set; } ``` ### Delegate ReleasePageStream Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/releasepagestream.md #### ReleasePageStream delegate Delegate that defines method to release output page preview stream. ```csharp public delegate void ReleasePageStream(int pageNumber, Stream pageStream); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number. | | pageStream | Stream | The page stream. | ### Class SaveOptions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/saveoptions.md #### SaveOptions class Allows to specify additional options (such as password) when saving annotated document. ```csharp public class SaveOptions ``` #### Constructors | Name | Description | | --- | --- | | SaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | AnnotationTypes { get; set; } | Defines what annotations will be in resultant document. | | FirstPage { get; set; } | First page number when saving page range. | | LastPage { get; set; } | Last page number when saving page range. | | OnlyAnnotatedPages { get; set; } | Indicates whether to save only annotated pages or not;. | | Version { get; set; } | Version Key that will be used to access current version | ### SaveOptions.AnnotationTypes Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/saveoptions/annotationtypes.md #### SaveOptions.AnnotationTypes property Defines what annotations will be in resultant document. ```csharp public AnnotationType AnnotationTypes { get; set; } ``` ### SaveOptions.FirstPage Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/saveoptions/firstpage.md #### SaveOptions.FirstPage property First page number when saving page range. ```csharp public int FirstPage { get; set; } ``` ### SaveOptions.LastPage Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/saveoptions/lastpage.md #### SaveOptions.LastPage property Last page number when saving page range. ```csharp public int LastPage { get; set; } ``` ### SaveOptions.OnlyAnnotatedPages Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/saveoptions/onlyannotatedpages.md #### SaveOptions.OnlyAnnotatedPages property Indicates whether to save only annotated pages or not;. ```csharp public bool OnlyAnnotatedPages { get; set; } ``` ### SaveOptions.SaveOptions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/saveoptions/saveoptions.md #### SaveOptions constructor The default constructor. ```csharp public SaveOptions() ``` ### SaveOptions.Version Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/saveoptions/version.md #### SaveOptions.Version property Version Key that will be used to access current version ```csharp public object Version { get; set; } ``` ### Class WorksheetColumnsRange Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/worksheetcolumnsrange.md #### WorksheetColumnsRange class Represents a range of columns for a specified worksheet ```csharp public class WorksheetColumnsRange ``` #### Constructors | Name | Description | | --- | --- | | WorksheetColumnsRange(int, int, int) | Initializes a new instance of `WorksheetColumnsRange` class. | | WorksheetColumnsRange(string, int, int) | Initializes a new instance of `WorksheetColumnsRange` class. | ### WorksheetColumnsRange.WorksheetColumnsRange Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.options/worksheetcolumnsrange/worksheetcolumnsrange.md #### WorksheetColumnsRange(int, int, int) Initializes a new instance of `WorksheetColumnsRange` class. ```csharp public WorksheetColumnsRange(int worksheetIndex, int firstColumn, int lastColumn) ``` | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | Int32 | Worksheet index | | firstColumn | Int32 | First column | | lastColumn | Int32 | Last column | #### WorksheetColumnsRange(string, int, int) Initializes a new instance of `WorksheetColumnsRange` class. ```csharp public WorksheetColumnsRange(string worksheetName, int firstColumn, int lastColumn) ``` | Parameter | Type | Description | | --- | --- | --- | | worksheetName | String | Worksheet name | | firstColumn | Int32 | First column | | lastColumn | Int32 | Last column | ### GroupDocs.Annotation.Projects.Cells.Models Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models.md The namespace provides classes to store information about the text #### Classes | Class | Description | | --- | --- | | CellDefaultState | The class stores information about the state of the text before annotation | | CharDefaultState | class that stores information about the text | ### Class CellDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate.md #### CellDefaultState class The class stores information about the state of the text before annotation ```csharp public class CellDefaultState ``` #### Constructors | Name | Description | | --- | --- | | CellDefaultState() | Initialize instance of the CellDefaultState with default values. | #### Fields | Name | Description | | --- | --- | | FontColor | Font Color of text | | ForegroundArgbColor | Foreground Argb Color of text | | Pattern | Pattern pf text | | Strikeout | Strikeout of text | | Underline | Underline of text | | Value | Value | | X | X-axis location | | Y | Y-axis location | ### CellDefaultState.CellDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/celldefaultstate.md #### CellDefaultState constructor Initialize instance of the CellDefaultState with default values. ```csharp public CellDefaultState() ``` ### CellDefaultState.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/fontcolor.md #### CellDefaultState.FontColor field Font Color of text ```csharp public int FontColor; ``` ### CellDefaultState.ForegroundArgbColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/foregroundargbcolor.md #### CellDefaultState.ForegroundArgbColor field Foreground Argb Color of text ```csharp public int ForegroundArgbColor; ``` ### CellDefaultState.Pattern Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/pattern.md #### CellDefaultState.Pattern field Pattern pf text ```csharp public int Pattern; ``` ### CellDefaultState.Strikeout Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/strikeout.md #### CellDefaultState.Strikeout field Strikeout of text ```csharp public bool Strikeout; ``` ### CellDefaultState.Underline Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/underline.md #### CellDefaultState.Underline field Underline of text ```csharp public int Underline; ``` ### CellDefaultState.Value Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/value.md #### CellDefaultState.Value field Value ```csharp public object Value; ``` ### CellDefaultState.X Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/x.md #### CellDefaultState.X field X-axis location ```csharp public int X; ``` ### CellDefaultState.Y Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/celldefaultstate/y.md #### CellDefaultState.Y field Y-axis location ```csharp public int Y; ``` ### Class CharDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate.md #### CharDefaultState class class that stores information about the text ```csharp public class CharDefaultState ``` #### Constructors | Name | Description | | --- | --- | | CharDefaultState() | The default constructor. | #### Fields | Name | Description | | --- | --- | | ArgbColor | Argb Color of text | | FontName | Font family | | FontSize | Font size of text | | IsBold | Text Boldness | | IsItalic | IsItalic | | IsStrikeout | IsStrikeout | | Length | Length of text | | Start | Start of text | | Underline | Underline | ### CharDefaultState.ArgbColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/argbcolor.md #### CharDefaultState.ArgbColor field Argb Color of text ```csharp public int ArgbColor; ``` ### CharDefaultState.CharDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/chardefaultstate.md #### CharDefaultState constructor The default constructor. ```csharp public CharDefaultState() ``` ### CharDefaultState.FontName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/fontname.md #### CharDefaultState.FontName field Font family ```csharp public string FontName; ``` ### CharDefaultState.FontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/fontsize.md #### CharDefaultState.FontSize field Font size of text ```csharp public int FontSize; ``` ### CharDefaultState.IsBold Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/isbold.md #### CharDefaultState.IsBold field Text Boldness ```csharp public bool IsBold; ``` ### CharDefaultState.IsItalic Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/isitalic.md #### CharDefaultState.IsItalic field IsItalic ```csharp public bool IsItalic; ``` ### CharDefaultState.IsStrikeout Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/isstrikeout.md #### CharDefaultState.IsStrikeout field IsStrikeout ```csharp public bool IsStrikeout; ``` ### CharDefaultState.Length Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/length.md #### CharDefaultState.Length field Length of text ```csharp public int Length; ``` ### CharDefaultState.Start Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/start.md #### CharDefaultState.Start field Start of text ```csharp public int Start; ``` ### CharDefaultState.Underline Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.cells.models/chardefaultstate/underline.md #### CharDefaultState.Underline field Underline ```csharp public int Underline; ``` ### GroupDocs.Annotation.Projects.Diagram.Models Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models.md The namespace provides classes to store information about the text, annotated fragments, char state #### Classes | Class | Description | | --- | --- | | AnnotatedFragment | annotated text fragment | | AnnotationExtended | Annotation Extended | | AnnotationPosition | Annotation position | | CharState | Stores information about the state before the annotation | | FormatTxtState | Format text state | | ParagraphState | Stores information about the status of the paragraph | | Portion | Class of portion | | SaveLoadFormat | Save load format | | ShapeDefaultState | Chronologizes information about the text before applying a text annotation to it | #### Enumeration | Enumeration | Description | | --- | --- | | AnnotationElement | Annotation Element | ### Class AnnotatedFragment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotatedfragment.md #### AnnotatedFragment class annotated text fragment ```csharp public class AnnotatedFragment ``` #### Constructors | Name | Description | | --- | --- | | AnnotatedFragment(string, Rectangle) | | #### Properties | Name | Description | | --- | --- | | Rectangle { get; set; } | Rectangle area | | Text { get; set; } | Text | ### AnnotatedFragment.AnnotatedFragment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotatedfragment/annotatedfragment.md #### AnnotatedFragment constructor ```csharp public AnnotatedFragment(string text, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | The text of fragment | | rectangle | Rectangle | The rectangle area | ### AnnotatedFragment.Rectangle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotatedfragment/rectangle.md #### AnnotatedFragment.Rectangle property Rectangle area ```csharp public Rectangle Rectangle { get; set; } ``` ### AnnotatedFragment.Text Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotatedfragment/text.md #### AnnotatedFragment.Text property Text ```csharp public string Text { get; set; } ``` ### Enum AnnotationElement Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationelement.md #### AnnotationElement enumeration Annotation Element ```csharp public enum AnnotationElement ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PenColor | `0` | Specifies pen color property | | BackgroundColor | `1` | Specifies background color property | ### Class AnnotationExtended Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended.md #### AnnotationExtended class Annotation Extended ```csharp public class AnnotationExtended ``` #### Constructors | Name | Description | | --- | --- | | AnnotationExtended(AnnotationBase) | Creates instance with predefined annotation `AnnotationBase` | #### Properties | Name | Description | | --- | --- | | AfterLastPortion { get; set; } | After Last Portion | | Annotation { get; } | Annotation | | Begin { get; set; } | beginning of annotated text | | End { get; set; } | end of the annotated text | | FirstPortion { get; set; } | First Portion | | Fragments { get; set; } | list of text fragments | | WordRectangles { get; } | Word Rectangles | ### AnnotationExtended.AfterLastPortion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/afterlastportion.md #### AnnotationExtended.AfterLastPortion property After Last Portion ```csharp public Portion AfterLastPortion { get; set; } ``` ### AnnotationExtended.Annotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/annotation.md #### AnnotationExtended.Annotation property Annotation ```csharp public AnnotationBase Annotation { get; } ``` ### AnnotationExtended.AnnotationExtended Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/annotationextended.md #### AnnotationExtended constructor Creates instance with predefined annotation `AnnotationBase` ```csharp public AnnotationExtended(AnnotationBase annotation) ``` | Parameter | Type | Description | | --- | --- | --- | | annotation | AnnotationBase | | ### AnnotationExtended.Begin Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/begin.md #### AnnotationExtended.Begin property beginning of annotated text ```csharp public int? Begin { get; set; } ``` ### AnnotationExtended.End Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/end.md #### AnnotationExtended.End property end of the annotated text ```csharp public int? End { get; set; } ``` ### AnnotationExtended.FirstPortion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/firstportion.md #### AnnotationExtended.FirstPortion property First Portion ```csharp public Portion FirstPortion { get; set; } ``` ### AnnotationExtended.Fragments Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/fragments.md #### AnnotationExtended.Fragments property list of text fragments ```csharp public List Fragments { get; set; } ``` ### AnnotationExtended.WordRectangles Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationextended/wordrectangles.md #### AnnotationExtended.WordRectangles property Word Rectangles ```csharp public List WordRectangles { get; } ``` ### Class AnnotationPosition Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationposition.md #### AnnotationPosition class Annotation position ```csharp public class AnnotationPosition ``` #### Constructors | Name | Description | | --- | --- | | AnnotationPosition() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Begin { get; set; } | start of annotation | | End { get; set; } | End of annotation | | Position { get; set; } | annotation position | ### AnnotationPosition.AnnotationPosition Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationposition/annotationposition.md #### AnnotationPosition constructor The default constructor. ```csharp public AnnotationPosition() ``` ### AnnotationPosition.Begin Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationposition/begin.md #### AnnotationPosition.Begin property start of annotation ```csharp public int? Begin { get; set; } ``` ### AnnotationPosition.End Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationposition/end.md #### AnnotationPosition.End property End of annotation ```csharp public int End { get; set; } ``` ### AnnotationPosition.Position Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/annotationposition/position.md #### AnnotationPosition.Position property annotation position ```csharp public int Position { get; set; } ``` ### Class CharState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate.md #### CharState class Stores information about the state before the annotation ```csharp public class CharState ``` #### Constructors | Name | Description | | --- | --- | | CharState() | Initialize default instance of the CharState | #### Fields | Name | Description | | --- | --- | | AsianFont | Asian Font | | AsianFontName | Asian Font Name | | Case | Case of char | | Color | color of char | | ColorTrans | Color trans | | ComplexScriptFont | Complex Script Font | | ComplexScriptFontName | Complex Script Font Name | | ComplexScriptSize | Complex Script Size | | DblUnderline | Double underline | | Del | Del | | DoubleStrikethrough | Double strikethrough | | Font | Font of char | | FontName | Font name | | FontScale | font scale | | Highlight | highlight | | IX | IX | | LangID | Lang id | | Letterspace | Letterspace of char | | Locale | Locale | | LocalizeFont | LocalizeFont | | Overline | Overline | | Perpendicular | Perpendicular | | Pos | Pos | | RTLText | RTLText | | Size | Size of char | | Strikethru | Strikethru | | Style | Style of char | | UseVertical | Use Vertical | ### CharState.AsianFont Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/asianfont.md #### CharState.AsianFont field Asian Font ```csharp public int AsianFont; ``` ### CharState.AsianFontName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/asianfontname.md #### CharState.AsianFontName field Asian Font Name ```csharp public string AsianFontName; ``` ### CharState.Case Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/case.md #### CharState.Case field Case of char ```csharp public int Case; ``` ### CharState.CharState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/charstate.md #### CharState constructor Initialize default instance of the CharState ```csharp public CharState() ``` ### CharState.Color Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/color.md #### CharState.Color field color of char ```csharp public string Color; ``` ### CharState.ColorTrans Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/colortrans.md #### CharState.ColorTrans field Color trans ```csharp public double ColorTrans; ``` ### CharState.ComplexScriptFont Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/complexscriptfont.md #### CharState.ComplexScriptFont field Complex Script Font ```csharp public int ComplexScriptFont; ``` ### CharState.ComplexScriptFontName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/complexscriptfontname.md #### CharState.ComplexScriptFontName field Complex Script Font Name ```csharp public string ComplexScriptFontName; ``` ### CharState.ComplexScriptSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/complexscriptsize.md #### CharState.ComplexScriptSize field Complex Script Size ```csharp public double ComplexScriptSize; ``` ### CharState.DblUnderline Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/dblunderline.md #### CharState.DblUnderline field Double underline ```csharp public int DblUnderline; ``` ### CharState.Del Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/del.md #### CharState.Del field Del ```csharp public int Del; ``` ### CharState.DoubleStrikethrough Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/doublestrikethrough.md #### CharState.DoubleStrikethrough field Double strikethrough ```csharp public int DoubleStrikethrough; ``` ### CharState.Font Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/font.md #### CharState.Font field Font of char ```csharp public int Font; ``` ### CharState.FontName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/fontname.md #### CharState.FontName field Font name ```csharp public string FontName; ``` ### CharState.FontScale Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/fontscale.md #### CharState.FontScale field font scale ```csharp public double FontScale; ``` ### CharState.Highlight Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/highlight.md #### CharState.Highlight field highlight ```csharp public int Highlight; ``` ### CharState.IX Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/ix.md #### CharState.IX field IX ```csharp public int IX; ``` ### CharState.LangID Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/langid.md #### CharState.LangID field Lang id ```csharp public int LangID; ``` ### CharState.Letterspace Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/letterspace.md #### CharState.Letterspace field Letterspace of char ```csharp public double Letterspace; ``` ### CharState.Locale Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/locale.md #### CharState.Locale field Locale ```csharp public string Locale; ``` ### CharState.LocalizeFont Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/localizefont.md #### CharState.LocalizeFont field LocalizeFont ```csharp public int LocalizeFont; ``` ### CharState.Overline Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/overline.md #### CharState.Overline field Overline ```csharp public int Overline; ``` ### CharState.Perpendicular Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/perpendicular.md #### CharState.Perpendicular field Perpendicular ```csharp public string Perpendicular; ``` ### CharState.Pos Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/pos.md #### CharState.Pos field Pos ```csharp public int Pos; ``` ### CharState.RTLText Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/rtltext.md #### CharState.RTLText field RTLText ```csharp public int RTLText; ``` ### CharState.Size Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/size.md #### CharState.Size field Size of char ```csharp public double Size; ``` ### CharState.Strikethru Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/strikethru.md #### CharState.Strikethru field Strikethru ```csharp public int Strikethru; ``` ### CharState.Style Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/style.md #### CharState.Style field Style of char ```csharp public int Style; ``` ### CharState.UseVertical Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/charstate/usevertical.md #### CharState.UseVertical field Use Vertical ```csharp public int UseVertical; ``` ### Class FormatTxtState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/formattxtstate.md #### FormatTxtState class Format text state ```csharp public class FormatTxtState ``` #### Constructors | Name | Description | | --- | --- | | FormatTxtState() | Default constructor | | FormatTxtState(FormatTxt, Shape) | Creates an instance of the FormatTxtState with predefined values | #### Fields | Name | Description | | --- | --- | | FormatTxtType | Format text type | | Txt | Text | ### FormatTxtState.FormatTxtState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/formattxtstate/formattxtstate.md #### FormatTxtState() Default constructor ```csharp public FormatTxtState() ``` #### FormatTxtState(FormatTxt, Shape) Creates an instance of the FormatTxtState with predefined values ```csharp public FormatTxtState(FormatTxt formatTxt, Shape shape) ``` | Parameter | Type | Description | | --- | --- | --- | | formatTxt | FormatTxt | | | shape | Shape | | ### FormatTxtState.FormatTxtType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/formattxtstate/formattxttype.md #### FormatTxtState.FormatTxtType field Format text type ```csharp public int FormatTxtType; ``` ### FormatTxtState.Txt Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/formattxtstate/txt.md #### FormatTxtState.Txt field Text ```csharp public string Txt; ``` ### Class ParagraphState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate.md #### ParagraphState class Stores information about the status of the paragraph ```csharp public class ParagraphState ``` #### Constructors | Name | Description | | --- | --- | | ParagraphState() | The default constructor. | | ParagraphState(Para) | | #### Methods | Name | Description | | --- | --- | | GetPara() | | #### Fields | Name | Description | | --- | --- | | Bullet | Bullet | | BulletFont | Bullet Font | | BulletFontSize | Bullet Font Size | | BulletStr | BulletStr | | Del | Del | | Flags | Flags | | HorzAlign | HorzAlign | | IndFirst | IndFirst | | IndLeft | IndLeft | | IndRight | IndRight | | Ix | Ix | | LocalizeBulletFont | Localize Bullet Font | | SpAfter | SpAfter | | SpBefore | SpBefore | | SpLine | SpLine | | TextPosAfterBullet | TextPosAfterBullet | ### ParagraphState.Bullet Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/bullet.md #### ParagraphState.Bullet field Bullet ```csharp public int Bullet; ``` ### ParagraphState.BulletFont Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/bulletfont.md #### ParagraphState.BulletFont field Bullet Font ```csharp public int BulletFont; ``` ### ParagraphState.BulletFontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/bulletfontsize.md #### ParagraphState.BulletFontSize field Bullet Font Size ```csharp public double BulletFontSize; ``` ### ParagraphState.BulletStr Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/bulletstr.md #### ParagraphState.BulletStr field BulletStr ```csharp public string BulletStr; ``` ### ParagraphState.Del Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/del.md #### ParagraphState.Del field Del ```csharp public int Del; ``` ### ParagraphState.Flags Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/flags.md #### ParagraphState.Flags field Flags ```csharp public int Flags; ``` ### ParagraphState.GetPara Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/getpara.md #### ParagraphState.GetPara method ```csharp public Para GetPara() ``` ### ParagraphState.HorzAlign Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/horzalign.md #### ParagraphState.HorzAlign field HorzAlign ```csharp public int HorzAlign; ``` ### ParagraphState.IndFirst Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/indfirst.md #### ParagraphState.IndFirst field IndFirst ```csharp public double IndFirst; ``` ### ParagraphState.IndLeft Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/indleft.md #### ParagraphState.IndLeft field IndLeft ```csharp public double IndLeft; ``` ### ParagraphState.IndRight Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/indright.md #### ParagraphState.IndRight field IndRight ```csharp public double IndRight; ``` ### ParagraphState.Ix Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/ix.md #### ParagraphState.Ix field Ix ```csharp public int Ix; ``` ### ParagraphState.LocalizeBulletFont Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/localizebulletfont.md #### ParagraphState.LocalizeBulletFont field Localize Bullet Font ```csharp public int LocalizeBulletFont; ``` ### ParagraphState.ParagraphState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/paragraphstate.md #### ParagraphState() The default constructor. ```csharp public ParagraphState() ``` #### ParagraphState(Para) ```csharp public ParagraphState(Para paragraph) ``` ### ParagraphState.SpAfter Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/spafter.md #### ParagraphState.SpAfter field SpAfter ```csharp public double SpAfter; ``` ### ParagraphState.SpBefore Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/spbefore.md #### ParagraphState.SpBefore field SpBefore ```csharp public double SpBefore; ``` ### ParagraphState.SpLine Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/spline.md #### ParagraphState.SpLine field SpLine ```csharp public double SpLine; ``` ### ParagraphState.TextPosAfterBullet Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/paragraphstate/textposafterbullet.md #### ParagraphState.TextPosAfterBullet field TextPosAfterBullet ```csharp public double TextPosAfterBullet; ``` ### Class Portion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/portion.md #### Portion class Class of portion ```csharp public class Portion ``` #### Constructors | Name | Description | | --- | --- | | Portion(int, Char, List<FormatTxt>, string) | | #### Properties | Name | Description | | --- | --- | | Cp { get; } | Cp | | Ix { get; set; } | Ix | | Markers { get; set; } | Markers | | Text { get; set; } | Text | ### Portion.Cp Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/portion/cp.md #### Portion.Cp property Cp ```csharp public Char Cp { get; } ``` ### Portion.Ix Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/portion/ix.md #### Portion.Ix property Ix ```csharp public int Ix { get; set; } ``` ### Portion.Markers Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/portion/markers.md #### Portion.Markers property Markers ```csharp public List Markers { get; set; } ``` ### Portion.Portion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/portion/portion.md #### Portion constructor ```csharp public Portion(int ix, Char cp, List markers, string text) ``` ### Portion.Text Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/portion/text.md #### Portion.Text property Text ```csharp public string Text { get; set; } ``` ### Class SaveLoadFormat Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/saveloadformat.md #### SaveLoadFormat class Save load format ```csharp public class SaveLoadFormat ``` #### Constructors | Name | Description | | --- | --- | | SaveLoadFormat() | The default constructor. | #### Properties | Name | Description | | --- | --- | | LoadFormat { get; set; } | Load format | | SaveFormat { get; set; } | Save format | ### SaveLoadFormat.LoadFormat Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/saveloadformat/loadformat.md #### SaveLoadFormat.LoadFormat property Load format ```csharp public LoadFileFormat LoadFormat { get; set; } ``` ### SaveLoadFormat.SaveFormat Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/saveloadformat/saveformat.md #### SaveLoadFormat.SaveFormat property Save format ```csharp public SaveFileFormat SaveFormat { get; set; } ``` ### SaveLoadFormat.SaveLoadFormat Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/saveloadformat/saveloadformat.md #### SaveLoadFormat constructor The default constructor. ```csharp public SaveLoadFormat() ``` ### Class ShapeDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate.md #### ShapeDefaultState class Chronologizes information about the text before applying a text annotation to it ```csharp public class ShapeDefaultState ``` #### Constructors | Name | Description | | --- | --- | | ShapeDefaultState() | Initialize instance of the ShapeDefaultState with default values. | #### Fields | Name | Description | | --- | --- | | CharStateCollection | Array of char state | | FormatTxtStateCollection | Array of format text state | | PageId | Page id | | ParagraphStateCollection | Array of paragraph state | | ShapeDefaultName | Shape default name | | ShapeName | Shape name | ### ShapeDefaultState.CharStateCollection Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate/charstatecollection.md #### ShapeDefaultState.CharStateCollection field Array of char state ```csharp public CharState[] CharStateCollection; ``` ### ShapeDefaultState.FormatTxtStateCollection Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate/formattxtstatecollection.md #### ShapeDefaultState.FormatTxtStateCollection field Array of format text state ```csharp public FormatTxtState[] FormatTxtStateCollection; ``` ### ShapeDefaultState.PageId Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate/pageid.md #### ShapeDefaultState.PageId field Page id ```csharp public int PageId; ``` ### ShapeDefaultState.ParagraphStateCollection Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate/paragraphstatecollection.md #### ShapeDefaultState.ParagraphStateCollection field Array of paragraph state ```csharp public ParagraphState[] ParagraphStateCollection; ``` ### ShapeDefaultState.ShapeDefaultName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate/shapedefaultname.md #### ShapeDefaultState.ShapeDefaultName field Shape default name ```csharp public string ShapeDefaultName; ``` ### ShapeDefaultState.ShapeDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate/shapedefaultstate.md #### ShapeDefaultState constructor Initialize instance of the ShapeDefaultState with default values. ```csharp public ShapeDefaultState() ``` ### ShapeDefaultState.ShapeName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.diagram.models/shapedefaultstate/shapename.md #### ShapeDefaultState.ShapeName field Shape name ```csharp public string ShapeName; ``` ### GroupDocs.Annotation.Projects.Images.Models Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models.md The namespace provides classes of bytes with a specific offset in the byte array. #### Classes | Class | Description | | --- | --- | | BlockProperties | The representation of the properties of a data block. | | BlockWithOffset | This class is a block of bytes with a specific offset in the byte array. | | FramePage | TIFF frame model | | RepeatingBlockWithOffset | the representation of a repeating block of data with a certain offset in the byte array. | ### Class BlockProperties Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockproperties.md #### BlockProperties class The representation of the properties of a data block. ```csharp public class BlockProperties ``` #### Constructors | Name | Description | | --- | --- | | BlockProperties() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Offset { get; set; } | Data offset | | RepeatBegin { get; set; } | Start of a repeating data block | ### BlockProperties.BlockProperties Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockproperties/blockproperties.md #### BlockProperties constructor The default constructor. ```csharp public BlockProperties() ``` ### BlockProperties.Offset Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockproperties/offset.md #### BlockProperties.Offset property Data offset ```csharp public int? Offset { get; set; } ``` ### BlockProperties.RepeatBegin Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockproperties/repeatbegin.md #### BlockProperties.RepeatBegin property Start of a repeating data block ```csharp public int? RepeatBegin { get; set; } ``` ### Class BlockWithOffset Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockwithoffset.md #### BlockWithOffset class This class is a block of bytes with a specific offset in the byte array. ```csharp public class BlockWithOffset ``` #### Constructors | Name | Description | | --- | --- | | BlockWithOffset() | Create default instance of the BlockWithOffset | | BlockWithOffset(byte[], int, int) | Create instance of the BlockWithOffset with predefined values | #### Methods | Name | Description | | --- | --- | | virtual GetLength() | Returns size of block | | virtual RestoreBytes(byte[]) | Copies block bytes to given array. | #### Fields | Name | Description | | --- | --- | | Block | Byte block | | Offset | Byte block reduction information | ### BlockWithOffset.Block Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockwithoffset/block.md #### BlockWithOffset.Block field Byte block ```csharp public byte[] Block; ``` ### BlockWithOffset.BlockWithOffset Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockwithoffset/blockwithoffset.md #### BlockWithOffset() Create default instance of the BlockWithOffset ```csharp public BlockWithOffset() ``` #### BlockWithOffset(byte[], int, int) Create instance of the BlockWithOffset with predefined values ```csharp public BlockWithOffset(byte[] defaultBytes, int offset, int count) ``` | Parameter | Type | Description | | --- | --- | --- | | defaultBytes | Byte[] | | | offset | Int32 | | | count | Int32 | | ### BlockWithOffset.GetLength Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockwithoffset/getlength.md #### BlockWithOffset.GetLength method Returns size of block ```csharp public virtual int GetLength() ``` ##### Return Value Size in bytes of the block ### BlockWithOffset.Offset Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockwithoffset/offset.md #### BlockWithOffset.Offset field Byte block reduction information ```csharp public int Offset; ``` ### BlockWithOffset.RestoreBytes Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/blockwithoffset/restorebytes.md #### BlockWithOffset.RestoreBytes method Copies block bytes to given array. ```csharp public virtual void RestoreBytes(byte[] destination) ``` | Parameter | Type | Description | | --- | --- | --- | | destination | Byte[] | Destination array | ### Class FramePage Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/framepage.md #### FramePage class TIFF frame model ```csharp public class FramePage : IDisposable ``` #### Constructors | Name | Description | | --- | --- | | FramePage(int, TiffFrame) | Initializes new instance of `FramePage` class. | #### Properties | Name | Description | | --- | --- | | FrameImage { get; set; } | Frame image | | FrameNumber { get; } | Frame number | #### Methods | Name | Description | | --- | --- | | Dispose() | | | GetStream() | Get image stream | | StreamToImage(Stream) | Convert | ### FramePage.Dispose Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/framepage/dispose.md #### FramePage.Dispose method ```csharp public void Dispose() ``` ### FramePage.FrameImage Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/framepage/frameimage.md #### FramePage.FrameImage property Frame image ```csharp public TiffImage FrameImage { get; set; } ``` ### FramePage.FrameNumber Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/framepage/framenumber.md #### FramePage.FrameNumber property Frame number ```csharp public int FrameNumber { get; } ``` ### FramePage.FramePage Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/framepage/framepage.md #### FramePage constructor Initializes new instance of `FramePage` class. ```csharp public FramePage(int frameNumber, TiffFrame frame) ``` | Parameter | Type | Description | | --- | --- | --- | | frameNumber | Int32 | Index of TIFF frame | | frame | TiffFrame | TIFF frame | ### FramePage.GetStream Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/framepage/getstream.md #### FramePage.GetStream method Get image stream ```csharp public Stream GetStream() ``` ### FramePage.StreamToImage Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/framepage/streamtoimage.md #### FramePage.StreamToImage method Convert ```csharp public void StreamToImage(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | | ### Class RepeatingBlockWithOffset Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/repeatingblockwithoffset.md #### RepeatingBlockWithOffset class the representation of a repeating block of data with a certain offset in the byte array. ```csharp public class RepeatingBlockWithOffset : BlockWithOffset ``` #### Constructors | Name | Description | | --- | --- | | RepeatingBlockWithOffset() | Creates default instance of the RepeatingBlockWithOffset | | RepeatingBlockWithOffset(byte[], int, int, int) | Creates instance of the RepeatingBlockWithOffset with predefined values | #### Methods | Name | Description | | --- | --- | | override GetLength() | Returns size of block | | override RestoreBytes(byte[]) | Copies block bytes to given array. | #### Fields | Name | Description | | --- | --- | | Block | Byte block | | Offset | Byte block reduction information | | _repeatingCount | Number of repetitions of the data block | ### RepeatingBlockWithOffset._repeatingCount Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/repeatingblockwithoffset/_repeatingcount.md #### RepeatingBlockWithOffset._repeatingCount field Number of repetitions of the data block ```csharp public int _repeatingCount; ``` ### RepeatingBlockWithOffset.GetLength Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/repeatingblockwithoffset/getlength.md #### RepeatingBlockWithOffset.GetLength method Returns size of block ```csharp public override int GetLength() ``` ##### Return Value Size in bytes of the block ### RepeatingBlockWithOffset.RepeatingBlockWithOffset Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/repeatingblockwithoffset/repeatingblockwithoffset.md #### RepeatingBlockWithOffset() Creates default instance of the RepeatingBlockWithOffset ```csharp public RepeatingBlockWithOffset() ``` #### RepeatingBlockWithOffset(byte[], int, int, int) Creates instance of the RepeatingBlockWithOffset with predefined values ```csharp public RepeatingBlockWithOffset(byte[] defaultBytes, int offset, int count, int repeatingCount) ``` | Parameter | Type | Description | | --- | --- | --- | | defaultBytes | Byte[] | | | offset | Int32 | | | count | Int32 | | | repeatingCount | Int32 | | ### RepeatingBlockWithOffset.RestoreBytes Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.images.models/repeatingblockwithoffset/restorebytes.md #### RepeatingBlockWithOffset.RestoreBytes method Copies block bytes to given array. ```csharp public override void RestoreBytes(byte[] destination) ``` | Parameter | Type | Description | | --- | --- | --- | | destination | Byte[] | Destination array | ### GroupDocs.Annotation.Projects.Pdf.Models Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models.md The namespace provides a class to represent the default state model for text in a PDF document #### Classes | Class | Description | | --- | --- | | PdfTextDefaultState | Represents the default state model for the text in the PDF document | ### Class PdfTextDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate.md #### PdfTextDefaultState class Represents the default state model for the text in the PDF document ```csharp public class PdfTextDefaultState ``` #### Constructors | Name | Description | | --- | --- | | PdfTextDefaultState() | The default constructor. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Background color of text | | FontColor { get; set; } | Font color of text | | FontName { get; set; } | Font name of text | | FontSize { get; set; } | Font size of text | | IsBold { get; set; } | The text is bold | | IsItalic { get; set; } | The text is italic | | IsSquiggly { get; set; } | The text is squiggly | | IsStrikeout { get; set; } | The text is Strikeout | | IsSubscript { get; set; } | The text is Subscript | | IsSuperscript { get; set; } | The text is superscript | | IsUnderline { get; set; } | The text is underline | ### PdfTextDefaultState.BackgroundColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/backgroundcolor.md #### PdfTextDefaultState.BackgroundColor property Background color of text ```csharp public int? BackgroundColor { get; set; } ``` ### PdfTextDefaultState.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/fontcolor.md #### PdfTextDefaultState.FontColor property Font color of text ```csharp public int? FontColor { get; set; } ``` ### PdfTextDefaultState.FontName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/fontname.md #### PdfTextDefaultState.FontName property Font name of text ```csharp public string FontName { get; set; } ``` ### PdfTextDefaultState.FontSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/fontsize.md #### PdfTextDefaultState.FontSize property Font size of text ```csharp public int FontSize { get; set; } ``` ### PdfTextDefaultState.IsBold Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/isbold.md #### PdfTextDefaultState.IsBold property The text is bold ```csharp public bool IsBold { get; set; } ``` ### PdfTextDefaultState.IsItalic Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/isitalic.md #### PdfTextDefaultState.IsItalic property The text is italic ```csharp public bool IsItalic { get; set; } ``` ### PdfTextDefaultState.IsSquiggly Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/issquiggly.md #### PdfTextDefaultState.IsSquiggly property The text is squiggly ```csharp public bool IsSquiggly { get; set; } ``` ### PdfTextDefaultState.IsStrikeout Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/isstrikeout.md #### PdfTextDefaultState.IsStrikeout property The text is Strikeout ```csharp public bool IsStrikeout { get; set; } ``` ### PdfTextDefaultState.IsSubscript Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/issubscript.md #### PdfTextDefaultState.IsSubscript property The text is Subscript ```csharp public bool IsSubscript { get; set; } ``` ### PdfTextDefaultState.IsSuperscript Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/issuperscript.md #### PdfTextDefaultState.IsSuperscript property The text is superscript ```csharp public bool IsSuperscript { get; set; } ``` ### PdfTextDefaultState.IsUnderline Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/isunderline.md #### PdfTextDefaultState.IsUnderline property The text is underline ```csharp public bool IsUnderline { get; set; } ``` ### PdfTextDefaultState.PdfTextDefaultState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.pdf.models/pdftextdefaultstate/pdftextdefaultstate.md #### PdfTextDefaultState constructor The default constructor. ```csharp public PdfTextDefaultState() ``` ### GroupDocs.Annotation.Projects.Slides.Models Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models.md The namespace provides classes to store information about the text #### Classes | Class | Description | | --- | --- | | DefaultParagraphState | The default state representation for the paragraph in the presentation | | DefaultPortionState | The default state representation for a single text fragment (portion) in the presentation slides | | DefaultShapeState | Default state views for the form on the presentation slides | | ExtendedParagraph | It contains information about the paragraph, its coordinates and rectangles of text portions within the paragraph. | | ExtendedPortion | Serves as a data structure to facilitate the manipulation and visualization of individual text fragments on PowerPoint slides | | LineOfExtendedPortions | Serves as a container for a collection of extended fragments and provides line height as a property. | ### Class DefaultParagraphState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate.md #### DefaultParagraphState class The default state representation for the paragraph in the presentation ```csharp public class DefaultParagraphState ``` #### Constructors | Name | Description | | --- | --- | | DefaultParagraphState() | The default constructor. | #### Properties | Name | Description | | --- | --- | | AfterReplaceText { get; set; } | Text after replacement | | Depth { get; set; } | Depth of the paragraph | | EastAsianLineBreak { get; set; } | East Asian line break option | | FontAlignment { get; set; } | Font alignment | | HangingPunctuation { get; set; } | Hanging punctuation option | | Indent { get; set; } | Indentation value | | LatinLineBreak { get; set; } | Latin line break option | | MarginLeft { get; set; } | Left margin value | | MarginRight { get; set; } | Right margin value | | ParagraphText { get; set; } | Paragraph text | | PortionState { get; set; } | Default state for text portions | | RightToLeft { get; set; } | Right-to-left option | | SpaceAfter { get; set; } | Space after the paragraph | | SpaceBefore { get; set; } | Space before the paragraph | | SpaceWithin { get; set; } | Space within the paragraph | | TabSize { get; set; } | Tab size | | TextAligment { get; set; } | Text alignment | ### DefaultParagraphState.AfterReplaceText Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/afterreplacetext.md #### DefaultParagraphState.AfterReplaceText property Text after replacement ```csharp public string AfterReplaceText { get; set; } ``` ### DefaultParagraphState.DefaultParagraphState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/defaultparagraphstate.md #### DefaultParagraphState constructor The default constructor. ```csharp public DefaultParagraphState() ``` ### DefaultParagraphState.Depth Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/depth.md #### DefaultParagraphState.Depth property Depth of the paragraph ```csharp public short? Depth { get; set; } ``` ### DefaultParagraphState.EastAsianLineBreak Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/eastasianlinebreak.md #### DefaultParagraphState.EastAsianLineBreak property East Asian line break option ```csharp public bool EastAsianLineBreak { get; set; } ``` ### DefaultParagraphState.FontAlignment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/fontalignment.md #### DefaultParagraphState.FontAlignment property Font alignment ```csharp public int? FontAlignment { get; set; } ``` ### DefaultParagraphState.HangingPunctuation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/hangingpunctuation.md #### DefaultParagraphState.HangingPunctuation property Hanging punctuation option ```csharp public bool HangingPunctuation { get; set; } ``` ### DefaultParagraphState.Indent Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/indent.md #### DefaultParagraphState.Indent property Indentation value ```csharp public float? Indent { get; set; } ``` ### DefaultParagraphState.LatinLineBreak Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/latinlinebreak.md #### DefaultParagraphState.LatinLineBreak property Latin line break option ```csharp public bool LatinLineBreak { get; set; } ``` ### DefaultParagraphState.MarginLeft Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/marginleft.md #### DefaultParagraphState.MarginLeft property Left margin value ```csharp public float? MarginLeft { get; set; } ``` ### DefaultParagraphState.MarginRight Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/marginright.md #### DefaultParagraphState.MarginRight property Right margin value ```csharp public float? MarginRight { get; set; } ``` ### DefaultParagraphState.ParagraphText Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/paragraphtext.md #### DefaultParagraphState.ParagraphText property Paragraph text ```csharp public string ParagraphText { get; set; } ``` ### DefaultParagraphState.PortionState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/portionstate.md #### DefaultParagraphState.PortionState property Default state for text portions ```csharp public DefaultPortionState[] PortionState { get; set; } ``` ### DefaultParagraphState.RightToLeft Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/righttoleft.md #### DefaultParagraphState.RightToLeft property Right-to-left option ```csharp public bool RightToLeft { get; set; } ``` ### DefaultParagraphState.SpaceAfter Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/spaceafter.md #### DefaultParagraphState.SpaceAfter property Space after the paragraph ```csharp public float? SpaceAfter { get; set; } ``` ### DefaultParagraphState.SpaceBefore Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/spacebefore.md #### DefaultParagraphState.SpaceBefore property Space before the paragraph ```csharp public float? SpaceBefore { get; set; } ``` ### DefaultParagraphState.SpaceWithin Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/spacewithin.md #### DefaultParagraphState.SpaceWithin property Space within the paragraph ```csharp public float? SpaceWithin { get; set; } ``` ### DefaultParagraphState.TabSize Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/tabsize.md #### DefaultParagraphState.TabSize property Tab size ```csharp public float? TabSize { get; set; } ``` ### DefaultParagraphState.TextAligment Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultparagraphstate/textaligment.md #### DefaultParagraphState.TextAligment property Text alignment ```csharp public int? TextAligment { get; set; } ``` ### Class DefaultPortionState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate.md #### DefaultPortionState class The default state representation for a single text fragment (portion) in the presentation slides ```csharp public class DefaultPortionState ``` #### Constructors | Name | Description | | --- | --- | | DefaultPortionState() | The default constructor. | #### Properties | Name | Description | | --- | --- | | FillType { get; set; } | The fill type | | FontBold { get; set; } | Indicates if the font is bold | | FontColor { get; set; } | The font color | | FontFamily { get; set; } | The font family | | FontHeight { get; set; } | The font height | | FontItalic { get; set; } | Indicates if the font is italic | | HighlightColor { get; set; } | The highlight color | | PortionText { get; set; } | The text of the portion | | Spacing { get; set; } | The spacing | | StrikeoutType { get; set; } | The strikeout type | | UnderlineType { get; set; } | The underline type | | Url { get; set; } | The URL associated with the portion | ### DefaultPortionState.DefaultPortionState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/defaultportionstate.md #### DefaultPortionState constructor The default constructor. ```csharp public DefaultPortionState() ``` ### DefaultPortionState.FillType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/filltype.md #### DefaultPortionState.FillType property The fill type ```csharp public int? FillType { get; set; } ``` ### DefaultPortionState.FontBold Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/fontbold.md #### DefaultPortionState.FontBold property Indicates if the font is bold ```csharp public bool FontBold { get; set; } ``` ### DefaultPortionState.FontColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/fontcolor.md #### DefaultPortionState.FontColor property The font color ```csharp public int? FontColor { get; set; } ``` ### DefaultPortionState.FontFamily Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/fontfamily.md #### DefaultPortionState.FontFamily property The font family ```csharp public string FontFamily { get; set; } ``` ### DefaultPortionState.FontHeight Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/fontheight.md #### DefaultPortionState.FontHeight property The font height ```csharp public float? FontHeight { get; set; } ``` ### DefaultPortionState.FontItalic Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/fontitalic.md #### DefaultPortionState.FontItalic property Indicates if the font is italic ```csharp public bool FontItalic { get; set; } ``` ### DefaultPortionState.HighlightColor Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/highlightcolor.md #### DefaultPortionState.HighlightColor property The highlight color ```csharp public int? HighlightColor { get; set; } ``` ### DefaultPortionState.PortionText Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/portiontext.md #### DefaultPortionState.PortionText property The text of the portion ```csharp public string PortionText { get; set; } ``` ### DefaultPortionState.Spacing Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/spacing.md #### DefaultPortionState.Spacing property The spacing ```csharp public float? Spacing { get; set; } ``` ### DefaultPortionState.StrikeoutType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/strikeouttype.md #### DefaultPortionState.StrikeoutType property The strikeout type ```csharp public int? StrikeoutType { get; set; } ``` ### DefaultPortionState.UnderlineType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/underlinetype.md #### DefaultPortionState.UnderlineType property The underline type ```csharp public int? UnderlineType { get; set; } ``` ### DefaultPortionState.Url Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultportionstate/url.md #### DefaultPortionState.Url property The URL associated with the portion ```csharp public string Url { get; set; } ``` ### Class DefaultShapeState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultshapestate.md #### DefaultShapeState class Default state views for the form on the presentation slides ```csharp public class DefaultShapeState ``` #### Constructors | Name | Description | | --- | --- | | DefaultShapeState() | Initializes a new instance of the `DefaultShapeState` class. | #### Properties | Name | Description | | --- | --- | | GeneratedName { get; set; } | The generated name of the shape | | ParagraphStates { get; set; } | The array of default paragraph states for the shape | | ShapeOldName { get; set; } | The old name of the shape | ### DefaultShapeState.DefaultShapeState Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultshapestate/defaultshapestate.md #### DefaultShapeState constructor Initializes a new instance of the `DefaultShapeState` class. ```csharp public DefaultShapeState() ``` ### DefaultShapeState.GeneratedName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultshapestate/generatedname.md #### DefaultShapeState.GeneratedName property The generated name of the shape ```csharp public string GeneratedName { get; set; } ``` ### DefaultShapeState.ParagraphStates Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultshapestate/paragraphstates.md #### DefaultShapeState.ParagraphStates property The array of default paragraph states for the shape ```csharp public DefaultParagraphState[] ParagraphStates { get; set; } ``` ### DefaultShapeState.ShapeOldName Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/defaultshapestate/shapeoldname.md #### DefaultShapeState.ShapeOldName property The old name of the shape ```csharp public string ShapeOldName { get; set; } ``` ### Class ExtendedParagraph Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedparagraph.md #### ExtendedParagraph class It contains information about the paragraph, its coordinates and rectangles of text portions within the paragraph. ```csharp public class ExtendedParagraph ``` #### Properties | Name | Description | | --- | --- | | Lines { get; } | List of lines with extended portions. | | Paragraph { get; } | The original paragraph. | | PortionToExtended { get; } | Dictionary mapping portions to extended portions. | | Shape { get; } | The shape containing the paragraph. | | ShapeOffset { get; } | The offset of the shape. | ### ExtendedParagraph.Lines Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedparagraph/lines.md #### ExtendedParagraph.Lines property List of lines with extended portions. ```csharp public List Lines { get; } ``` ### ExtendedParagraph.Paragraph Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedparagraph/paragraph.md #### ExtendedParagraph.Paragraph property The original paragraph. ```csharp public IParagraph Paragraph { get; } ``` ### ExtendedParagraph.PortionToExtended Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedparagraph/portiontoextended.md #### ExtendedParagraph.PortionToExtended property Dictionary mapping portions to extended portions. ```csharp public SerializableDictionary PortionToExtended { get; } ``` ### ExtendedParagraph.Shape Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedparagraph/shape.md #### ExtendedParagraph.Shape property The shape containing the paragraph. ```csharp public IShape Shape { get; } ``` ### ExtendedParagraph.ShapeOffset Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedparagraph/shapeoffset.md #### ExtendedParagraph.ShapeOffset property The offset of the shape. ```csharp public PointF ShapeOffset { get; } ``` ### Class ExtendedPortion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedportion.md #### ExtendedPortion class Serves as a data structure to facilitate the manipulation and visualization of individual text fragments on PowerPoint slides ```csharp public class ExtendedPortion ``` #### Properties | Name | Description | | --- | --- | | ExtendedParagraph { get; set; } | | | Original { get; } | | | Rectangle { get; set; } | | ### ExtendedPortion.ExtendedParagraph Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedportion/extendedparagraph.md #### ExtendedPortion.ExtendedParagraph property ```csharp public ExtendedParagraph ExtendedParagraph { get; set; } ``` ### ExtendedPortion.Original Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedportion/original.md #### ExtendedPortion.Original property ```csharp public IPortion Original { get; } ``` ### ExtendedPortion.Rectangle Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/extendedportion/rectangle.md #### ExtendedPortion.Rectangle property ```csharp public RectangleF Rectangle { get; set; } ``` ### Class LineOfExtendedPortions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/lineofextendedportions.md #### LineOfExtendedPortions class Serves as a container for a collection of extended fragments and provides line height as a property. ```csharp public class LineOfExtendedPortions ``` #### Constructors | Name | Description | | --- | --- | | LineOfExtendedPortions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | EPortions { get; set; } | Gets or sets the list of extended portions in the line. | | Height { get; set; } | Gets or sets the height of the line. | ### LineOfExtendedPortions.EPortions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/lineofextendedportions/eportions.md #### LineOfExtendedPortions.EPortions property Gets or sets the list of extended portions in the line. ```csharp public List EPortions { get; set; } ``` ### LineOfExtendedPortions.Height Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/lineofextendedportions/height.md #### LineOfExtendedPortions.Height property Gets or sets the height of the line. ```csharp public float Height { get; set; } ``` ### LineOfExtendedPortions.LineOfExtendedPortions Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.projects.slides.models/lineofextendedportions/lineofextendedportions.md #### LineOfExtendedPortions constructor The default constructor. ```csharp public LineOfExtendedPortions() ``` ### GroupDocs.Annotation.Utility Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.utility.md #### Classes | Class | Description | | --- | --- | | SerializableDictionary<TKey,TValue> | Represents a serializable custom dictionary collection of keys and values. | ### Class SerializableDictionaryTKeyTValue Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.utility/serializabledictionary-2.md #### SerializableDictionary<TKey,TValue> class Represents a serializable custom dictionary collection of keys and values. ```csharp public class SerializableDictionary : Dictionary, IXmlSerializable ``` | Parameter | Description | | --- | --- | | TKey | The type of the keys in the dictionary. | | TValue | The type of the values in the dictionary. | #### Constructors | Name | Description | | --- | --- | | SerializableDictionary() | Initializes a new instance of the SerializableDictionary class that is empty, has the default initial capacity, and uses the default equality comparer for the key type. | #### Methods | Name | Description | | --- | --- | | GetObjectData(SerializationInfo, StreamingContext) | Serialize dictionary as a list of key-value pairs | | GetSchema() | Returns XML Scema of the collection | | ReadXml(XmlReader) | Reads collection data from the given reader XmlReader | | WriteXml(XmlWriter) | Writes collection data to given writer XmlWriter | ### SerializableDictionary2.GetObjectData Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.utility/serializabledictionary-2/getobjectdata.md #### SerializableDictionary<TKey,TValue>.GetObjectData method Serialize dictionary as a list of key-value pairs ```csharp public void GetObjectData(SerializationInfo info, StreamingContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | info | SerializationInfo | Serialization information SerializationInfo | | context | StreamingContext | Streaming context | ### SerializableDictionary2.GetSchema Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.utility/serializabledictionary-2/getschema.md #### SerializableDictionary<TKey,TValue>.GetSchema method Returns XML Scema of the collection ```csharp public XmlSchema GetSchema() ``` ### SerializableDictionary2.ReadXml Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.utility/serializabledictionary-2/readxml.md #### SerializableDictionary<TKey,TValue>.ReadXml method Reads collection data from the given reader XmlReader ```csharp public void ReadXml(XmlReader reader) ``` | Parameter | Type | Description | | --- | --- | --- | | reader | XmlReader | The instance of the System.Xml.XmlReader to read the collection from. | ### SerializableDictionary2.SerializableDictionary Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.utility/serializabledictionary-2/serializabledictionary.md #### SerializableDictionary<TKey,TValue> constructor Initializes a new instance of the SerializableDictionary class that is empty, has the default initial capacity, and uses the default equality comparer for the key type. ```csharp public SerializableDictionary() ``` ### SerializableDictionary2.WriteXml Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.utility/serializabledictionary-2/writexml.md #### SerializableDictionary<TKey,TValue>.WriteXml method Writes collection data to given writer XmlWriter ```csharp public void WriteXml(XmlWriter writer) ``` | Parameter | Type | Description | | --- | --- | --- | | writer | XmlWriter | The instance of the System.Xml.XmlWriter to save the collection to. | ### GroupDocs.Annotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation.md The namespace provides classes to annotate documents for all popular document formats. #### Classes | Class | Description | | --- | --- | | Annotator | The 'Annotator' class is the central component of the GroupDocs.Annotation API, designed to manage and facilitate the document annotation process across various formats. It offers a streamlined interface for applying diverse annotation types, making it the primary tool for integrating annotation functionality. | | AnnotatorSettings | Defines settings for customizing `Annotator` behavior. | | Document | Represents various document properties | | FileType | Information about file, such as type, extension, etc. | | License | Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). | | Metered | Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Interface that defines list of available document information | ### Class Annotator Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator.md #### Annotator class The 'Annotator' class is the central component of the GroupDocs.Annotation API, designed to manage and facilitate the document annotation process across various formats. It offers a streamlined interface for applying diverse annotation types, making it the primary tool for integrating annotation functionality. ```csharp public class Annotator : IDisposable ``` #### Constructors | Name | Description | | --- | --- | | Annotator(Stream) | Initialise annotator class which accept document stream | | Annotator(string) | Initialise annotator class which accept document path | | Annotator(Stream, AnnotatorSettings) | Initialise annotator class which accept document stream and settings | | Annotator(Stream, LoadOptions) | Initialise annotator class which accept document stream and options | | Annotator(string, AnnotatorSettings) | Initialise annotator class which accept document path and settings | | Annotator(string, LoadOptions) | Initialise annotator class which accept document path and options | | Annotator(Stream, LoadOptions, AnnotatorSettings) | Initialise annotator class which accept document stream, options and settings | | Annotator(string, LoadOptions, AnnotatorSettings) | Initialise annotator class which accept document path, options and settings | #### Properties | Name | Description | | --- | --- | | Document { get; } | Contains various information about the uploaded document | | ProcessPages { get; set; } | Count of processed pages | | Rotation { get; set; } | Specifies document rotation angle | #### Methods | Name | Description | | --- | --- | | Add(AnnotationBase) | Adds annotation to document | | Add(List<AnnotationBase>) | Adds collection of annotations to a document. | | Dispose() | Dispose | | ExportAnnotationsFromXMLFile(string) | Export annotations from XML file. | | Get() | Gets collections of document annotations. | | Get(AnnotationType) | Gets collection of document annotations by annotation type. | | GetVersion(object) | Get annotations from versions. | | GetVersionsList() | Get versions. | | ImportAnnotationsFromDocument(string) | Import annotations from document to XML file. | | Remove(AnnotationBase) | Removes annotation from the document. | | Remove(int) | Removes annotation from annotations list by Id. | | Remove(List<AnnotationBase>) | Removes collection of annotations from document. | | Remove(List<int>) | Removes collection of annotations from document by provided annotation ids. | | Save() | Saves document after adding, updating or removing annotations. | | Save(SaveOptions) | Saves document after adding, updating or removing annotations. | | Save(Stream) | Saves document after adding, updating or removing annotations. | | Save(string) | Saves document after adding, updating or removing annotations. | | Save(Stream, SaveOptions) | Saves document after adding, updating or removing annotations. | | Save(string, SaveOptions) | Saves document after adding, updating or removing annotations. | | Update(AnnotationBase) | Updates document annotation by id. | | Update(List<AnnotationBase>) | Updates collection of document annotations by overriding the previous list with a new one | ### Annotator.Add Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/add.md #### Add(AnnotationBase) Adds annotation to document ```csharp public void Add(AnnotationBase annotation) ``` | Parameter | Type | Description | | --- | --- | --- | | annotation | AnnotationBase | The annotation to add. | #### Add(List<AnnotationBase>) Adds collection of annotations to a document. ```csharp public void Add(List annotations) ``` | Parameter | Type | Description | | --- | --- | --- | | annotations | List`1 | The annotations list to add. | ### Annotator.Annotator Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/annotator.md #### Annotator(string) Initialise annotator class which accept document path ```csharp public Annotator(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | #### Annotator(string, LoadOptions) Initialise annotator class which accept document path and options ```csharp public Annotator(string filePath, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | | loadOptions | LoadOptions | Load options | #### Annotator(string, AnnotatorSettings) Initialise annotator class which accept document path and settings ```csharp public Annotator(string filePath, AnnotatorSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | | settings | AnnotatorSettings | Annotator settings | #### Annotator(string, LoadOptions, AnnotatorSettings) Initialise annotator class which accept document path, options and settings ```csharp public Annotator(string filePath, LoadOptions loadOptions, AnnotatorSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | | loadOptions | LoadOptions | Load options | | settings | AnnotatorSettings | Annotator settings | #### Annotator(Stream) Initialise annotator class which accept document stream ```csharp public Annotator(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Document stream | #### Annotator(Stream, LoadOptions) Initialise annotator class which accept document stream and options ```csharp public Annotator(Stream document, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Document stream | | loadOptions | LoadOptions | Load options | #### Annotator(Stream, AnnotatorSettings) Initialise annotator class which accept document stream and settings ```csharp public Annotator(Stream document, AnnotatorSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Document stream | | settings | AnnotatorSettings | Annotator settings | #### Annotator(Stream, LoadOptions, AnnotatorSettings) Initialise annotator class which accept document stream, options and settings ```csharp public Annotator(Stream document, LoadOptions loadOptions, AnnotatorSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Document stream | | loadOptions | LoadOptions | Load options | | settings | AnnotatorSettings | Annotator settings | ### Annotator.Dispose Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/dispose.md #### Annotator.Dispose method Dispose ```csharp public void Dispose() ``` ### Annotator.Document Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/document.md #### Annotator.Document property Contains various information about the uploaded document ```csharp public Document Document { get; } ``` ### Annotator.ExportAnnotationsFromXMLFile Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/exportannotationsfromxmlfile.md #### Annotator.ExportAnnotationsFromXMLFile method Export annotations from XML file. ```csharp public void ExportAnnotationsFromXMLFile(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The path to XML file. | ### Annotator.Get Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/get.md #### Get() Gets collections of document annotations. ```csharp public List Get() ``` ##### Return Value The list of annotations. #### Get(AnnotationType) Gets collection of document annotations by annotation type. ```csharp public List Get(AnnotationType type) ``` | Parameter | Type | Description | | --- | --- | --- | | type | AnnotationType | The annotations type that must be returned. | ##### Return Value The list of annotations by type. ### Annotator.GetVersion Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/getversion.md #### Annotator.GetVersion method Get annotations from versions. ```csharp public List GetVersion(object version) ``` | Parameter | Type | Description | | --- | --- | --- | | version | Object | The version's Key of versions which you want to return | ##### Return Value The list of annotations from specific versions. If null will return last. ### Annotator.GetVersionsList Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/getversionslist.md #### Annotator.GetVersionsList method Get versions. ```csharp public List GetVersionsList() ``` ##### Return Value The list of versions. ### Annotator.ImportAnnotationsFromDocument Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/importannotationsfromdocument.md #### Annotator.ImportAnnotationsFromDocument method Import annotations from document to XML file. ```csharp public void ImportAnnotationsFromDocument(string outputPath) ``` | Parameter | Type | Description | | --- | --- | --- | | outputPath | String | The output file path (must be in .xml format). | ### Annotator.ProcessPages Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/processpages.md #### Annotator.ProcessPages property Count of processed pages ```csharp public int ProcessPages { get; set; } ``` ### Annotator.Remove Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/remove.md #### Remove(int) Removes annotation from annotations list by Id. ```csharp public void Remove(int annotationId) ``` | Parameter | Type | Description | | --- | --- | --- | | annotationId | Int32 | The annotation's id that must be removed. | #### Remove(AnnotationBase) Removes annotation from the document. ```csharp public void Remove(AnnotationBase annotation) ``` | Parameter | Type | Description | | --- | --- | --- | | annotation | AnnotationBase | Annotation that must be removed. | #### Remove(List<int>) Removes collection of annotations from document by provided annotation ids. ```csharp public void Remove(List annotationIds) ``` | Parameter | Type | Description | | --- | --- | --- | | annotationIds | List`1 | The annotation's id that must be removed. | #### Remove(List<AnnotationBase>) Removes collection of annotations from document. ```csharp public void Remove(List annotationsToDelete) ``` | Parameter | Type | Description | | --- | --- | --- | | annotationsToDelete | List`1 | The annotations that must be removed. | ### Annotator.Rotation Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/rotation.md #### Annotator.Rotation property Specifies document rotation angle ```csharp public RotationDocument? Rotation { get; set; } ``` ### Annotator.Save Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/save.md #### Save() Saves document after adding, updating or removing annotations. ```csharp public void Save() ``` #### Remarks **Learn more about saving annotated documents** * More about how to save only annotated document pages: [Save only annotated pages](https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages) * More about how to save document with specific annotation types only: [Filtering annotation types on save](https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types) * More about how to save specific pages from the whole document: [Save specific page range](https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range) #### Save(SaveOptions) Saves document after adding, updating or removing annotations. ```csharp public void Save(SaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | saveOptions | SaveOptions | The save options. | #### Remarks **Learn more about saving annotated documents** * More about how to save only annotated document pages: [Save only annotated pages](https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages) * More about how to save document with specific annotation types only: [Filtering annotation types on save](https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types) * More about how to save specific pages from the whole document: [Save specific page range](https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range) #### Save(Stream) Saves document after adding, updating or removing annotations. ```csharp public void Save(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The output stream. | #### Remarks **Learn more about saving annotated documents** * More about how to save only annotated document pages: [Save only annotated pages](https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages) * More about how to save document with specific annotation types only: [Filtering annotation types on save](https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types) * More about how to save specific pages from the whole document: [Save specific page range](https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range) #### Save(string) Saves document after adding, updating or removing annotations. ```csharp public void Save(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The output file path. | #### Remarks **Learn more about saving annotated documents** * More about how to save only annotated document pages: [Save only annotated pages](https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages) * More about how to save document with specific annotation types only: [Filtering annotation types on save](https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types) * More about how to save specific pages from the whole document: [Save specific page range](https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range) #### Save(Stream, SaveOptions) Saves document after adding, updating or removing annotations. ```csharp public void Save(Stream document, SaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The output stream. | | saveOptions | SaveOptions | The save options. | #### Remarks **Learn more about saving annotated documents** * More about how to save only annotated document pages: [Save only annotated pages](https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages) * More about how to save document with specific annotation types only: [Filtering annotation types on save](https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types) * More about how to save specific pages from the whole document: [Save specific page range](https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range) #### Save(string, SaveOptions) Saves document after adding, updating or removing annotations. ```csharp public void Save(string filePath, SaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The output file path. | | saveOptions | SaveOptions | The save options. | #### Remarks **Learn more about saving annotated documents** * More about how to save only annotated document pages: [Save only annotated pages](https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages) * More about how to save document with specific annotation types only: [Filtering annotation types on save](https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types) * More about how to save specific pages from the whole document: [Save specific page range](https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range) ### Annotator.Update Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/update.md #### Update(AnnotationBase) Updates document annotation by id. ```csharp public void Update(AnnotationBase newAnnotation) ``` | Parameter | Type | Description | | --- | --- | --- | | newAnnotation | AnnotationBase | The annotation to update (Id should be provided). | #### Update(List<AnnotationBase>) Updates collection of document annotations by overriding the previous list with a new one ```csharp public void Update(List annotations) ``` | Parameter | Type | Description | | --- | --- | --- | | annotations | List`1 | The annotations list that will be set. | ### Class AnnotatorSettings Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotatorsettings.md #### AnnotatorSettings class Defines settings for customizing `Annotator` behavior. ```csharp public class AnnotatorSettings ``` #### Constructors | Name | Description | | --- | --- | | AnnotatorSettings() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Cache { get; set; } | Cache | | Logger { get; set; } | Logger | ### AnnotatorSettings.AnnotatorSettings Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotatorsettings/annotatorsettings.md #### AnnotatorSettings constructor The default constructor. ```csharp public AnnotatorSettings() ``` ### AnnotatorSettings.Cache Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotatorsettings/cache.md #### AnnotatorSettings.Cache property Cache ```csharp public ICache Cache { get; set; } ``` ### AnnotatorSettings.Logger Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotatorsettings/logger.md #### AnnotatorSettings.Logger property Logger ```csharp public ILogger Logger { get; set; } ``` ### Class Document Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document.md #### Document class Represents various document properties ```csharp public class Document ``` #### Constructors | Name | Description | | --- | --- | | Document(Stream) | Initializes new instance of `Document` class. | | Document(Stream, string) | Initializes new instance of `Document` class. | #### Properties | Name | Description | | --- | --- | | Name { get; set; } | Document name | | Password { get; } | Document password | | Stream { get; } | Document stream | #### Methods | Name | Description | | --- | --- | | AddImageToDocument(string, string, int, int) | Change image quality and add image to document | | GeneratePreview(PreviewOptions) | Generates document pages preview (screenshots of every page). | | GetDocumentInfo() | Gets information about document - document type and size, pages count and detailed information about every page. | ### Document.AddImageToDocument Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document/addimagetodocument.md #### Document.AddImageToDocument method Change image quality and add image to document ```csharp public void AddImageToDocument(string dataDir, string jpgFileName, int pageNumber, int imageQuality) ``` | Parameter | Type | Description | | --- | --- | --- | | dataDir | String | Specify the path to the input PDF file | | jpgFileName | String | The path to the JPG file | | pageNumber | Int32 | Page where the image will be inserted | | imageQuality | Int32 | Set image quality from 1 to 100, "1" - is the smallest resolution "100" - is the largest | ### Document.Document Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document/document.md #### Document(Stream) Initializes new instance of `Document` class. ```csharp public Document(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | The document stream. | #### Document(Stream, string) Initializes new instance of `Document` class. ```csharp public Document(Stream stream, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | The document stream. | | password | String | The document password. | ### Document.GeneratePreview Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document/generatepreview.md #### Document.GeneratePreview method Generates document pages preview (screenshots of every page). ```csharp public void GeneratePreview(PreviewOptions previewOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | The document preview options | ### Document.GetDocumentInfo Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document/getdocumentinfo.md #### Document.GetDocumentInfo method Gets information about document - document type and size, pages count and detailed information about every page. ```csharp public IDocumentInfo GetDocumentInfo() ``` ### Document.Name Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document/name.md #### Document.Name property Document name ```csharp public string Name { get; set; } ``` ### Document.Password Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document/password.md #### Document.Password property Document password ```csharp public string Password { get; } ``` ### Document.Stream Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/document/stream.md #### Document.Stream property Document stream ```csharp public Stream Stream { get; } ``` ### Class FileType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype.md #### FileType class Information about file, such as type, extension, etc. ```csharp public sealed class FileType : IEquatable ``` #### Properties | Name | Description | | --- | --- | | static Bmp { get; } | Bitmap Image File. | | static Doc { get; } | Microsoft Word format. | | static Docm { get; } | Microsoft Word 2007 Macro file. | | static Docx { get; } | Microsoft Word Open XML format. | | static Dot { get; } | Microsoft Word Document Template. | | static Dotm { get; } | Microsoft Word Macro-Enabled Document Template. | | static Dotx { get; } | Microsoft Word Template. | | static Dwg { get; } | AutoCAD Drawing Database File. | | static Dxf { get; } | Drawing Exchange Format File. | | static Eml { get; } | File in the MIME standard. | | static Emlx { get; } | Apple's Mail.app program file format. | | static Htm { get; } | Hypertext Markup Language File. | | static Html { get; } | Hypertext Markup Language File. | | static Jpeg { get; } | Joint Photographic Experts Group. | | static Jpg { get; } | Joint Photographic Experts Group. | | static Odp { get; } | Open Document Presentation. | | static Ods { get; } | OpenDocument Spreadsheet Document format | | static Odt { get; } | Open Document Text. | | static Pdf { get; } | Adobe Portable Document format. | | static Png { get; } | Portable Network Graphic File. | | static Pps { get; } | Microsoft PowerPoint Slide Show (Legacy). | | static Ppsx { get; } | Microsoft PowerPoint Slide Show. | | static Ppt { get; } | Microsoft PowerPoint Presentation. | | static Pptx { get; } | Microsoft PowerPoint Open XML Presentation. | | static Rtf { get; } | Rich Text Format File. | | static Tif { get; } | Tagged Image File. | | static Tiff { get; } | Tagged Image File Format | | static Unknown { get; } | Unknown. | | static Vsd { get; } | Microsoft Visio VSD binary format. | | static Vsdm { get; } | Microsoft Visio Macro-Enabled Drawing. | | static Vsdx { get; } | Microsoft Visio 2013 VSDX file format. | | static Vss { get; } | Microsoft Visio Stencil File. | | static Vssx { get; } | Microsoft Visio Stencil File. | | static Vst { get; } | Microsoft Visio VST binary template format. | | static Vstm { get; } | Microsoft Visio Macro-Enabled Drawing Template. | | static Vsx { get; } | Microsoft Visio Stencil XML File. | | static Xls { get; } | Microsoft Excel Spreadsheet format. | | static Xlsb { get; } | Excel Binary File Format | | static Xlsm { get; } | Microsoft Excel Spreadsheet Macros format | | static Xlsx { get; } | Microsoft Excel Open XML Spreadsheet. | | Extension { get; } | File extention | | FileFormat { get; } | File format | #### Methods | Name | Description | | --- | --- | | static FromFileNameOrExtension(string) | Return FileType based on file name or extension. | | Equals(FileType) | File type equivalence check. | | override Equals(object) | Equivalence check with object. | | override GetHashCode() | Get hash code. | | override ToString() | Returns a string that represents the file type. | | static GetSupportedFileTypes() | Get supported file types enumeration. | | operator == | Operator overload. | | operator != | Operator overload. | ### FileType.Bmp Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/bmp.md #### FileType.Bmp property Bitmap Image File. ```csharp public static FileType Bmp { get; } ``` ### FileType.Doc Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/doc.md #### FileType.Doc property Microsoft Word format. ```csharp public static FileType Doc { get; } ``` ### FileType.Docm Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/docm.md #### FileType.Docm property Microsoft Word 2007 Macro file. ```csharp public static FileType Docm { get; } ``` ### FileType.Docx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/docx.md #### FileType.Docx property Microsoft Word Open XML format. ```csharp public static FileType Docx { get; } ``` ### FileType.Dot Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/dot.md #### FileType.Dot property Microsoft Word Document Template. ```csharp public static FileType Dot { get; } ``` ### FileType.Dotm Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/dotm.md #### FileType.Dotm property Microsoft Word Macro-Enabled Document Template. ```csharp public static FileType Dotm { get; } ``` ### FileType.Dotx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/dotx.md #### FileType.Dotx property Microsoft Word Template. ```csharp public static FileType Dotx { get; } ``` ### FileType.Dwg Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/dwg.md #### FileType.Dwg property AutoCAD Drawing Database File. ```csharp public static FileType Dwg { get; } ``` ### FileType.Dxf Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/dxf.md #### FileType.Dxf property Drawing Exchange Format File. ```csharp public static FileType Dxf { get; } ``` ### FileType.Eml Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/eml.md #### FileType.Eml property File in the MIME standard. ```csharp public static FileType Eml { get; } ``` ### FileType.Emlx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/emlx.md #### FileType.Emlx property Apple's Mail.app program file format. ```csharp public static FileType Emlx { get; } ``` ### FileType.Equals Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/equals.md #### Equals(FileType) File type equivalence check. ```csharp public bool Equals(FileType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FileType | FileType object. | ##### Return Value True if file types are equivalent, false if not. #### Equals(object) Equivalence check with object. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Any object. | ##### Return Value True if file types are equivalent, false if not. ### FileType.Extension Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/extension.md #### FileType.Extension property File extention ```csharp public string Extension { get; } ``` ### FileType.FileFormat Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/fileformat.md #### FileType.FileFormat property File format ```csharp public string FileFormat { get; } ``` ### FileType.FromFileNameOrExtension Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/fromfilenameorextension.md #### FileType.FromFileNameOrExtension method Return FileType based on file name or extension. ```csharp public static FileType FromFileNameOrExtension(string fileNameOrExtension) ``` | Parameter | Type | Description | | --- | --- | --- | | fileNameOrExtension | String | The file name or file extension. | ##### Return Value The file type. ### FileType.GetHashCode Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/gethashcode.md #### FileType.GetHashCode method Get hash code. ```csharp public override int GetHashCode() ``` ##### Return Value Hash code. ### FileType.GetSupportedFileTypes Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/getsupportedfiletypes.md #### FileType.GetSupportedFileTypes method Get supported file types enumeration. ```csharp public static IEnumerable GetSupportedFileTypes() ``` ##### Return Value Enumeration of FileType. ### FileType.Htm Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/htm.md #### FileType.Htm property Hypertext Markup Language File. ```csharp public static FileType Htm { get; } ``` ### FileType.Html Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/html.md #### FileType.Html property Hypertext Markup Language File. ```csharp public static FileType Html { get; } ``` ### FileType.Jpeg Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/jpeg.md #### FileType.Jpeg property Joint Photographic Experts Group. ```csharp public static FileType Jpeg { get; } ``` ### FileType.Jpg Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/jpg.md #### FileType.Jpg property Joint Photographic Experts Group. ```csharp public static FileType Jpg { get; } ``` ### FileType.Odp Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/odp.md #### FileType.Odp property Open Document Presentation. ```csharp public static FileType Odp { get; } ``` ### FileType.Ods Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/ods.md #### FileType.Ods property OpenDocument Spreadsheet Document format ```csharp public static FileType Ods { get; } ``` ### FileType.Odt Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/odt.md #### FileType.Odt property Open Document Text. ```csharp public static FileType Odt { get; } ``` ### FileType.op_Equality Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/op_equality.md #### FileType Equality operator Operator overload. ```csharp public static bool operator ==(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | The left file type. | | right | FileType | The right file type. | ##### Return Value True if file types are equivalent, false if not. ### FileType.op_Inequality Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/op_inequality.md #### FileType Inequality operator Operator overload. ```csharp public static bool operator !=(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | The left file type. | | right | FileType | The right file type. | ##### Return Value True if file types are different, false if not. ### FileType.Pdf Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/pdf.md #### FileType.Pdf property Adobe Portable Document format. ```csharp public static FileType Pdf { get; } ``` ### FileType.Png Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/png.md #### FileType.Png property Portable Network Graphic File. ```csharp public static FileType Png { get; } ``` ### FileType.Pps Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/pps.md #### FileType.Pps property Microsoft PowerPoint Slide Show (Legacy). ```csharp public static FileType Pps { get; } ``` ### FileType.Ppsx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/ppsx.md #### FileType.Ppsx property Microsoft PowerPoint Slide Show. ```csharp public static FileType Ppsx { get; } ``` ### FileType.Ppt Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/ppt.md #### FileType.Ppt property Microsoft PowerPoint Presentation. ```csharp public static FileType Ppt { get; } ``` ### FileType.Pptx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/pptx.md #### FileType.Pptx property Microsoft PowerPoint Open XML Presentation. ```csharp public static FileType Pptx { get; } ``` ### FileType.Rtf Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/rtf.md #### FileType.Rtf property Rich Text Format File. ```csharp public static FileType Rtf { get; } ``` ### FileType.Tif Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/tif.md #### FileType.Tif property Tagged Image File. ```csharp public static FileType Tif { get; } ``` ### FileType.Tiff Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/tiff.md #### FileType.Tiff property Tagged Image File Format ```csharp public static FileType Tiff { get; } ``` ### FileType.ToString Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/tostring.md #### FileType.ToString method Returns a string that represents the file type. ```csharp public override string ToString() ``` ##### Return Value A string that represents the file type. ### FileType.Unknown Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/unknown.md #### FileType.Unknown property Unknown. ```csharp public static FileType Unknown { get; } ``` ### FileType.Vsd Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vsd.md #### FileType.Vsd property Microsoft Visio VSD binary format. ```csharp public static FileType Vsd { get; } ``` ### FileType.Vsdm Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vsdm.md #### FileType.Vsdm property Microsoft Visio Macro-Enabled Drawing. ```csharp public static FileType Vsdm { get; } ``` ### FileType.Vsdx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vsdx.md #### FileType.Vsdx property Microsoft Visio 2013 VSDX file format. ```csharp public static FileType Vsdx { get; } ``` ### FileType.Vss Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vss.md #### FileType.Vss property Microsoft Visio Stencil File. ```csharp public static FileType Vss { get; } ``` ### FileType.Vssx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vssx.md #### FileType.Vssx property Microsoft Visio Stencil File. ```csharp public static FileType Vssx { get; } ``` ### FileType.Vst Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vst.md #### FileType.Vst property Microsoft Visio VST binary template format. ```csharp public static FileType Vst { get; } ``` ### FileType.Vstm Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vstm.md #### FileType.Vstm property Microsoft Visio Macro-Enabled Drawing Template. ```csharp public static FileType Vstm { get; } ``` ### FileType.Vsx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/vsx.md #### FileType.Vsx property Microsoft Visio Stencil XML File. ```csharp public static FileType Vsx { get; } ``` ### FileType.Xls Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/xls.md #### FileType.Xls property Microsoft Excel Spreadsheet format. ```csharp public static FileType Xls { get; } ``` ### FileType.Xlsb Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/xlsb.md #### FileType.Xlsb property Excel Binary File Format ```csharp public static FileType Xlsb { get; } ``` ### FileType.Xlsm Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/xlsm.md #### FileType.Xlsm property Microsoft Excel Spreadsheet Macros format ```csharp public static FileType Xlsm { get; } ``` ### FileType.Xlsx Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/filetype/xlsx.md #### FileType.Xlsx property Microsoft Excel Open XML Spreadsheet. ```csharp public static FileType Xlsx { get; } ``` ### Interface IDocumentInfo Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/idocumentinfo.md #### IDocumentInfo interface Interface that defines list of available document information ```csharp public interface IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | FileType { get; set; } | Document file type | | PageCount { get; set; } | Amount of pages | | PagesInfo { get; set; } | A list of information about each page | | Size { get; set; } | File size in bytes | ### IDocumentInfo.FileType Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/idocumentinfo/filetype.md #### IDocumentInfo.FileType property Document file type ```csharp public FileType FileType { get; set; } ``` ### IDocumentInfo.PageCount Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/idocumentinfo/pagecount.md #### IDocumentInfo.PageCount property Amount of pages ```csharp public int PageCount { get; set; } ``` ### IDocumentInfo.PagesInfo Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/idocumentinfo/pagesinfo.md #### IDocumentInfo.PagesInfo property A list of information about each page ```csharp public List PagesInfo { get; set; } ``` ### IDocumentInfo.Size Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/idocumentinfo/size.md #### IDocumentInfo.Size property File size in bytes ```csharp public long Size { get; set; } ``` ### Class License Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/license.md #### License class Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). ```csharp public class License ``` #### Constructors | Name | Description | | --- | --- | | License() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | ### License.License Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/license/license.md #### License constructor The default constructor. ```csharp public License() ``` ### License.SetLicense Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/license/setlicense.md #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream licenseStream) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseStream | Stream | The license stream. | #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string licensePath) ``` | Parameter | Type | Description | | --- | --- | --- | | licensePath | String | The license path. | ### Class Metered Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/metered.md #### Metered class Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Activates product with Metered keys. | | static GetConsumptionCredit() | Retrieves count of credits consumed. | | static GetConsumptionQuantity() | Retrieves amount of MBs processed. | ### Metered.GetConsumptionCredit Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Retrieves count of credits consumed. ```csharp public static decimal GetConsumptionCredit() ``` ##### Return Value consumption credit ### Metered.GetConsumptionQuantity Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Retrieves amount of MBs processed. ```csharp public static decimal GetConsumptionQuantity() ``` ##### Return Value consumption quantity ### Metered.Metered Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/metered/metered.md #### Metered constructor The default constructor. ```csharp public Metered() ``` ### Metered.SetMeteredKey Path: https://reference.groupdocs.com/annotation/net/groupdocs.annotation/metered/setmeteredkey.md #### Metered.SetMeteredKey method Activates product with Metered keys. ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | public key | | privateKey | String | private key | ## Python ### GroupDocs.Annotation for Python via .NET Path: https://reference.groupdocs.com/annotation/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.annotation` | Main GroupDocs.Annotation namespace with top-level API classes. | | `groupdocs.annotation.cache` | Types under `groupdocs.annotation.cache`. | | `groupdocs.annotation.localization` | Types under `groupdocs.annotation.localization`. | | `groupdocs.annotation.logging` | Logging hooks and listener interfaces. | | `groupdocs.annotation.models` | Types under `groupdocs.annotation.models`. | | `groupdocs.annotation.models.annotation_models` | Types under `groupdocs.annotation.models.annotation_models`. | | `groupdocs.annotation.options` | Option classes for configuring conversions and operations. | | `groupdocs.annotation.utility` | Types under `groupdocs.annotation.utility`. | ##### Developer Guide * Task guides with runnable examples ### groupdocs.annotation.cache Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache.md Types under `groupdocs.annotation.cache`. ##### Classes | Class | Description | | :- | :- | | `FileCache` | Class that allows to work with the local on-disk cache. | | `ICache` | Defines methods required for storing rendered document and document resources cache. | ### FileCache class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache.md #### FileCache class Class that allows to work with the local on-disk cache. The FileCache type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `FileCache` class. | | __init__ | Initializes a new instance of `FileCache`. | ##### Methods | Method | Description | | :- | :- | | get_keys | Returns all file names that contain the filter in the filename. | | get_keys_file | | | get_keys_string | | | set | Serializes data to the local disk. | | set_file | | | set_string | | | try_get_value | Deserializes data associated with this key if present. | | try_get_value_file | | | try_get_value_string | | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/__init__.md #### __init__ Initializes a new instance of `FileCache` class. ```python def __init__(self): ... ``` #### __init__ Initializes a new instance of `FileCache`. ```python def __init__(self, path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | path | `str` | Path where cache data will be saved. | ### get_keys method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/get_keys.md #### get_keys Returns all file names that contain the filter in the filename. ```python def get_keys(self, filter): ... ``` | Parameter | Type | Description | | :- | :- | :- | | filter | `str` | The filter to use. | **Returns:** list[str]: File names that contain the filter in the filename. ### get_keys_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/get_keys_file.md #### get_keys_file ```python def get_keys_file(self): ... ``` ### get_keys_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/get_keys_string.md #### get_keys_string ```python def get_keys_string(self): ... ``` ### set method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/set.md #### set Serializes data to the local disk. ```python def set(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | An unique identifier for the cache entry. | | value | `Any` | The object to serialize. | ### set_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/set_file.md #### set_file ```python def set_file(self): ... ``` ### set_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/set_string.md #### set_string ```python def set_string(self): ... ``` ### try_get_value method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/try_get_value.md #### try_get_value Deserializes data associated with this key if present. ```python def try_get_value(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | A key identifying the requested entry. | | value | `Any` | The located value or None. | **Returns:** bool: True if the key was found. ### try_get_value_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/try_get_value_file.md #### try_get_value_file ```python def try_get_value_file(self): ... ``` ### try_get_value_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/filecache/try_get_value_string.md #### try_get_value_string ```python def try_get_value_string(self): ... ``` ### ICache class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache.md #### ICache class Defines methods required for storing rendered document and document resources cache. The ICache type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_keys | Returns all keys matching filter. | | get_keys_file | | | get_keys_string | | | set | Inserts a cache entry into the cache. | | set_file | | | set_string | | | try_get_value | Gets the entry associated with the given key if present. | | try_get_value_file | | | try_get_value_string | | ### get_keys method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/get_keys.md #### get_keys Returns all keys matching filter. ```python def get_keys(self, filter): ... ``` | Parameter | Type | Description | | :- | :- | :- | | filter | `str` | The filter to use. | **Returns:** Keys matching the filter. ### get_keys_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/get_keys_file.md #### get_keys_file ```python def get_keys_file(self): ... ``` ### get_keys_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/get_keys_string.md #### get_keys_string ```python def get_keys_string(self): ... ``` ### set method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/set.md #### set Inserts a cache entry into the cache. ```python def set(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | A unique identifier for the cache entry. | | value | `Any` | The object to insert. | ### set_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/set_file.md #### set_file ```python def set_file(self): ... ``` ### set_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/set_string.md #### set_string ```python def set_string(self): ... ``` ### try_get_value method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/try_get_value.md #### try_get_value Gets the entry associated with the given key if present. ```python def try_get_value(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | A key identifying the requested entry. | | value | `Any` | The located value or None. | **Returns:** bool: True if the key was found. ### try_get_value_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/try_get_value_file.md #### try_get_value_file ```python def try_get_value_file(self): ... ``` ### try_get_value_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.cache/icache/try_get_value_string.md #### try_get_value_string ```python def try_get_value_string(self): ... ``` ### groupdocs.annotation.localization Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.localization.md Types under `groupdocs.annotation.localization`. ##### Classes | Class | Description | | :- | :- | | `SupportedLocales` | Class that provides methods for checking GroupDocs.Annotation supported locales. | ### SupportedLocales class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.localization/supportedlocales.md #### SupportedLocales class Class that provides methods for checking GroupDocs.Annotation supported locales. The SupportedLocales type exposes the following members: ##### Methods | Method | Description | | :- | :- | | is_locale_supported | Determines whether the specified culture is supported by the GroupDocs.Annotation API. | | is_locale_supported | Determines whether specified culture is supported by GroupDocs.Annotation API. | | is_locale_supported_culture_info | | | is_locale_supported_file | | | is_locale_supported_string | | ### is_locale_supported method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.localization/supportedlocales/is_locale_supported.md #### is_locale_supported Determines whether the specified culture is supported by the GroupDocs.Annotation API. ```python def is_locale_supported(cls, culture): ... ``` | Parameter | Type | Description | | :- | :- | :- | | culture | `str` | The culture. | **Returns:** bool: True if locale is supported, False otherwise. #### is_locale_supported Determines whether specified culture is supported by GroupDocs.Annotation API. ```python def is_locale_supported(cls, culture): ... ``` | Parameter | Type | Description | | :- | :- | :- | | culture | `System.Globalization.CultureInfo` | The culture. | ### is_locale_supported_culture_info method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.localization/supportedlocales/is_locale_supported_culture_info.md #### is_locale_supported_culture_info ```python def is_locale_supported_culture_info(cls): ... ``` ### is_locale_supported_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.localization/supportedlocales/is_locale_supported_file.md #### is_locale_supported_file ```python def is_locale_supported_file(cls): ... ``` ### is_locale_supported_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.localization/supportedlocales/is_locale_supported_string.md #### is_locale_supported_string ```python def is_locale_supported_string(cls): ... ``` ### groupdocs.annotation.logging Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging.md Logging hooks and listener interfaces. ##### Classes | Class | Description | | :- | :- | | `ConsoleLogger` | Logger implementation which logs all information to the console. | | `ILogger` | ILogger interface that defines shared logger contract. | ### ConsoleLogger class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger.md #### ConsoleLogger class Logger implementation which logs all information to the console. The ConsoleLogger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | error | Logs error message. | | error_file | | | error_string | | | trace | Logs the process of annotating. | | trace_file | | | trace_string | | | warning | Logs warning message. | | warning_file | | | warning_string | | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/__init__.md #### __init__ ```python def __init__(self): ... ``` ### error method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/error.md #### error Logs error message. ```python def error(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | The message. | | exception | `Exception` | The exception that was thrown. | ### error_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/trace.md #### trace Logs the process of annotating. ```python def trace(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | The message. | ### trace_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/warning.md #### warning Logs warning message. ```python def warning(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | The message. | ### warning_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/consolelogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### ILogger class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger.md #### ILogger class ILogger interface that defines shared logger contract. The ILogger type exposes the following members: ##### Methods | Method | Description | | :- | :- | | error | Error message. | | error_file | | | error_string | | | trace | Trace message. | | trace_file | | | trace_string | | | warning | Warning message. | | warning_file | | | warning_string | | ### error method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/error.md #### error Error message. ```python def error(self, message, ex): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | The string to log. | | ex | `Exception` | The exception that was thrown. | ### error_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/trace.md #### trace Trace message. ```python def trace(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | The string to log. | ### trace_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/warning.md #### warning Warning message. ```python def warning(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | The string to log. | ### warning_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.logging/ilogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### groupdocs.annotation.models.annotation_models Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models.md Types under `groupdocs.annotation.models.annotation_models`. ##### Classes | Class | Description | | :- | :- | | `AnnotationBase` | Base class for all annotation types. Contains basic annotation information. | | `AreaAnnotation` | Represents area annotation properties. | | `ArrowAnnotation` | Represents arrow annotation properties. | | `DistanceAnnotation` | Represents distance annotation properties. | | `EllipseAnnotation` | Represents ellipse annotation properties. | | `HighlightAnnotation` | Represents highlight annotation properties. | | `ImageAnnotation` | Represents image annotation properties. | | `LinkAnnotation` | Represents link annotation properties. | | `PointAnnotation` | Represents point annotation properties. | | `PolylineAnnotation` | Represents polyline annotation properties. | | `ReplacementAnnotation` | Represents replacement annotation properties. | | `ResourcesRedactionAnnotation` | Represents resources redaction annotation properties. | | `SearchTextFragment` | Represents searchText annotation properties. | | `SquigglyAnnotation` | Represents squiggly annotation properties. | | `StrikeoutAnnotation` | Represents strikeout annotation properties. | | `TextFieldAnnotation` | Represents text field annotation properties. | | `TextRedactionAnnotation` | Represents text redaction annotation properties. | | `UnderlineAnnotation` | Represents underline annotation properties. | | `WatermarkAnnotation` | Represents watermark annotation properties. | ### AnnotationBase class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase.md #### AnnotationBase class Base class for all annotation types. Contains basic annotation information. The AnnotationBase type exposes the following members: ##### Methods | Method | Description | | :- | :- | | clone | Returns new instance with the same values. | | equals | Compares base annotations using the IEquatable Equals method. | | equals | Compares base annotations using the standard object `Equals` method. | | equals_annotation_base | | | equals_object | | | get_hash_code | Returns HashCode of AnnotationBase Message, PageNumber and Type Properties. | ##### Properties | Property | Description | | :- | :- | | created_on | The annotation creation date. | | id | The annotation unique identifier. This field is auto-incremented. | | message | The annotation message. | | page_number | The page number where the annotation should be located. | | replies | The list of replies (comments) attached to the annotation. | | state_before_annotation | The previous state of the text before annotating. | | type | The annotation type. | | user | The annotation author. | ##### Guides Task guides that use `AnnotationBase`: * AI agents and LLM integration ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/clone.md #### clone Returns new instance with the same values. ```python def clone(self): ... ``` ### created_on property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/created_on.md #### created_on property The annotation creation date. ##### Definition: ```python @property def created_on(self): ... @created_on.setter def created_on(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/equals.md #### equals Compares base annotations using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `AnnotationBase` | The AnnotationBase object to compare with the current object. | #### equals Compares base annotations using the standard object `Equals` method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_annotation_base method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/equals_annotation_base.md #### equals_annotation_base ```python def equals_annotation_base(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/get_hash_code.md #### get_hash_code Returns HashCode of AnnotationBase Message, PageNumber and Type Properties. ```python def get_hash_code(self): ... ``` ### id property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/id.md #### id property The annotation unique identifier. This field is auto-incremented. ##### Definition: ```python @property def id(self): ... @id.setter def id(self, value): ... ``` ### message property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/message.md #### message property The annotation message. ##### Definition: ```python @property def message(self): ... @message.setter def message(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/page_number.md #### page_number property The page number where the annotation should be located. ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### replies property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/replies.md #### replies property The list of replies (comments) attached to the annotation. Each reply is a `Reply` object representing a comment in the discussion thread. ##### Definition: ```python @property def replies(self): ... @replies.setter def replies(self, value): ... ``` ### state_before_annotation property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/state_before_annotation.md #### state_before_annotation property The previous state of the text before annotating. ##### Definition: ```python @property def state_before_annotation(self): ... @state_before_annotation.setter def state_before_annotation(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/type.md #### type property The annotation type. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### user property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/annotationbase/user.md #### user property The annotation author. ##### Definition: ```python @property def user(self): ... @user.setter def user(self, value): ... ``` ### AreaAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation.md #### AreaAnnotation class Represents area annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding area annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+area+annotation The AreaAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes new instance of `AreaAnnotation` class. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance of the area annotation with the same values. | | equals | Compares area annotation using the IEquatable `Equals` method. | | equals | Compares area annotation using the standard object Equals method. | | equals_area_annotation | | | equals_object | | | get_hash_code | Returns the hash code of the AreaAnnotation instance. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the area annotation. | | box | The area annotation position. | | opacity | The opacity of the area annotation. | | pen_color | The pen color of the area annotation. | | pen_style | The pen style of the area annotation. | | pen_width | The pen width of the area annotation. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color area = AreaAnnotation() area.box = Rectangle(100, 100, 200, 80) area.background_color = Color.yellow.to_argb() area.pen_color = Color.red.to_argb() area.opacity = 0.7 area.page_number = 0 area.message = "Flagged region" with Annotator("document.pdf") as annotator: annotator.add(area) annotator.save("annotated.pdf") ``` ##### Guides Task guides that use `AreaAnnotation`: * AI agents and LLM integration * Loading documents * Saving documents * Add annotations * Comments and replies * Hello, World! * GroupDocs.Annotation for Python via .NET Overview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/__init__.md #### __init__ Initializes new instance of `AreaAnnotation` class. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/background_color.md #### background_color property The background color of the area annotation. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/box.md #### box property The area annotation position. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/clone.md #### clone Returns a new instance of the area annotation with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/equals.md #### equals Compares area annotation using the IEquatable `Equals` method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `AreaAnnotation` | The `AreaAnnotation` object to compare with the current object. | #### equals Compares area annotation using the standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_area_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/equals_area_annotation.md #### equals_area_annotation ```python def equals_area_annotation(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/get_hash_code.md #### get_hash_code Returns the hash code of the AreaAnnotation instance. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the instance. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/opacity.md #### opacity property The opacity of the area annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### pen_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/pen_color.md #### pen_color property The pen color of the area annotation. ##### Definition: ```python @property def pen_color(self): ... @pen_color.setter def pen_color(self, value): ... ``` ### pen_style property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/pen_style.md #### pen_style property The pen style of the area annotation. ##### Definition: ```python @property def pen_style(self): ... @pen_style.setter def pen_style(self, value): ... ``` ### pen_width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/areaannotation/pen_width.md #### pen_width property The pen width of the area annotation. ##### Definition: ```python @property def pen_width(self): ... @pen_width.setter def pen_width(self, value): ... ``` ### ArrowAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation.md #### ArrowAnnotation class Represents arrow annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding arrow annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+arrow+annotation The ArrowAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new `ArrowAnnotation` instance. | ##### Methods | Method | Description | | :- | :- | | clone | Returns new instance with same values. | | equals | Compares area annotation using IEquatable Equals method. | | equals | Compares arrow annotation using standard object Equals method. | | equals_arrow_annotation | | | equals_object | | | get_hash_code | Returns HashCode of the arrow annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | box | The arrow annotation position. | | opacity | The opacity of the arrow annotation. | | pen_color | The arrow annotation pen color. | | pen_style | The pen style of the arrow annotation. | | pen_width | The pen width of the arrow annotation. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import ArrowAnnotation from groupdocs.pydrawing import Color def add_arrow_annotation(): with Annotator("./sample.pdf") as annotator: arrow = ArrowAnnotation() arrow.box = Rectangle(100, 100, 100, 100) arrow.pen_color = Color.blue.to_argb() arrow.pen_width = 2 arrow.pen_style = PenStyle.SOLID arrow.opacity = 0.9 arrow.page_number = 0 arrow.message = "This is an arrow annotation" annotator.add(arrow) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `ArrowAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/__init__.md #### __init__ Initializes a new `ArrowAnnotation` instance. ```python def __init__(self): ... ``` ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import ArrowAnnotation from groupdocs.pydrawing import Color with Annotator("./sample.pdf") as annotator: arrow = ArrowAnnotation() arrow.box = Rectangle(100, 100, 100, 100) arrow.pen_color = Color.blue.to_argb() arrow.pen_width = 2 arrow.pen_style = PenStyle.SOLID arrow.opacity = 0.9 arrow.page_number = 0 arrow.message = "This is an arrow annotation" annotator.add(arrow) annotator.save("./output.pdf") ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/box.md #### box property The arrow annotation position. The bounding box of the arrow annotation, represented by a `Rectangle`. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/clone.md #### clone Returns new instance with same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/equals.md #### equals Compares area annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `ArrowAnnotation` | The ArrowAnnotation object to compare with the current object. | #### equals Compares arrow annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_arrow_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/equals_arrow_annotation.md #### equals_arrow_annotation ```python def equals_arrow_annotation(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/get_hash_code.md #### get_hash_code Returns HashCode of the arrow annotation. ```python def get_hash_code(self): ... ``` ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/opacity.md #### opacity property The opacity of the arrow annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### pen_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/pen_color.md #### pen_color property The arrow annotation pen color. ##### Definition: ```python @property def pen_color(self): ... @pen_color.setter def pen_color(self, value): ... ``` ### pen_style property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/pen_style.md #### pen_style property The pen style of the arrow annotation. ##### Definition: ```python @property def pen_style(self): ... @pen_style.setter def pen_style(self, value): ... ``` ### pen_width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/arrowannotation/pen_width.md #### pen_width property The pen width of the arrow annotation. ##### Definition: ```python @property def pen_width(self): ... @pen_width.setter def pen_width(self, value): ... ``` ### DistanceAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation.md #### DistanceAnnotation class Represents distance annotation properties. Learn more: - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: [How to annotate documents using GroupDocs.Annotation for .NET](https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document) - More about adding distance annotations to documents of various types: [How to add distance annotations in C#](https://docs.groupdocs.com/display/annotationnet/Add+distance+annotation) The DistanceAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `DistanceAnnotation`. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares this distance annotation with another using the IEquatable Equals method. | | equals | Compares distance annotation using standard object Equals method. | | equals_distance_annotation | | | equals_object | | | get_hash_code | Returns HashCode of the distance annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | box | The distance annotation position. | | opacity | The opacity of the distance annotation. | | pen_color | The pen color of the distance annotation. | | pen_style | The pen style of the distance annotation. | | pen_width | The distance annotation pen width. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import DistanceAnnotation from groupdocs.pydrawing import Color def add_distance_annotation(): with Annotator("./sample.pdf") as annotator: distance = DistanceAnnotation() distance.box = Rectangle(100, 100, 100, 100) distance.pen_color = Color.blue.to_argb() distance.pen_width = 2 distance.pen_style = PenStyle.SOLID distance.opacity = 0.7 distance.page_number = 0 distance.message = "This is a distance annotation" annotator.add(distance) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `DistanceAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/__init__.md #### __init__ Initializes a new instance of `DistanceAnnotation`. ```python def __init__(self): ... ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/box.md #### box property The distance annotation position. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/equals.md #### equals Compares this distance annotation with another using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `DistanceAnnotation` | The DistanceAnnotation object to compare with the current object. | #### equals Compares distance annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | **Returns:** bool: True if the specified object is equal to the current distance annotation; otherwise False. ### equals_distance_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/equals_distance_annotation.md #### equals_distance_annotation ```python def equals_distance_annotation(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/get_hash_code.md #### get_hash_code Returns HashCode of the distance annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the distance annotation. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/opacity.md #### opacity property The opacity of the distance annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### pen_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/pen_color.md #### pen_color property The pen color of the distance annotation. ##### Definition: ```python @property def pen_color(self): ... @pen_color.setter def pen_color(self, value): ... ``` ### pen_style property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/pen_style.md #### pen_style property The pen style of the distance annotation. ##### Definition: ```python @property def pen_style(self): ... @pen_style.setter def pen_style(self, value): ... ``` ### pen_width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/distanceannotation/pen_width.md #### pen_width property The distance annotation pen width. ##### Definition: ```python @property def pen_width(self): ... @pen_width.setter def pen_width(self, value): ... ``` ### EllipseAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation.md #### EllipseAnnotation class Represents ellipse annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding ellipse annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+ellipse+annotation The EllipseAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes new instance of `EllipseAnnotation` class. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares this ellipse annotation with another using the IEquatable Equals method. | | equals | Compares the ellipse annotation with another object using the standard object Equals method. | | equals_ellipse_annotation | | | equals_object | | | get_hash_code | Returns the hash code of the ellipse annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the ellipse annotation. | | box | The ellipse annotation position. | | opacity | The opacity of the annotation. | | pen_color | The pen color of the ellipse annotation. | | pen_style | The pen style of the ellipse annotation. | | pen_width | The pen width of the ellipse annotation. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import EllipseAnnotation from groupdocs.pydrawing import Color def add_ellipse_annotation(): with Annotator("./sample.pdf") as annotator: ellipse = EllipseAnnotation() ellipse.box = Rectangle(100, 100, 200, 120) ellipse.background_color = Color.from_argb(255, 144, 238, 144).to_argb() ellipse.pen_color = Color.green.to_argb() ellipse.pen_width = 2 ellipse.pen_style = PenStyle.SOLID ellipse.opacity = 0.7 ellipse.page_number = 0 ellipse.message = "This is an ellipse annotation" annotator.add(ellipse) annotator.save("./output.pdf") if __name__ == "__main__": add_ellipse_annotation() ``` ##### Guides Task guides that use `EllipseAnnotation`: * AI agents and LLM integration * Saving documents * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/__init__.md #### __init__ Initializes new instance of `EllipseAnnotation` class. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/background_color.md #### background_color property The background color of the ellipse annotation. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/box.md #### box property The ellipse annotation position. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` **Returns:** EllipseAnnotation ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/equals.md #### equals Compares this ellipse annotation with another using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `EllipseAnnotation` | The EllipseAnnotation object to compare with the current object. | #### equals Compares the ellipse annotation with another object using the standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_ellipse_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/equals_ellipse_annotation.md #### equals_ellipse_annotation ```python def equals_ellipse_annotation(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/get_hash_code.md #### get_hash_code Returns the hash code of the ellipse annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the ellipse annotation. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/opacity.md #### opacity property The opacity of the annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### pen_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/pen_color.md #### pen_color property The pen color of the ellipse annotation. ##### Definition: ```python @property def pen_color(self): ... @pen_color.setter def pen_color(self, value): ... ``` ### pen_style property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/pen_style.md #### pen_style property The pen style of the ellipse annotation. ##### Definition: ```python @property def pen_style(self): ... @pen_style.setter def pen_style(self, value): ... ``` ### pen_width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/ellipseannotation/pen_width.md #### pen_width property The pen width of the ellipse annotation. ##### Definition: ```python @property def pen_width(self): ... @pen_width.setter def pen_width(self, value): ... ``` ### HighlightAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation.md #### HighlightAnnotation class Represents highlight annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding highlight annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+highlight+annotation The HighlightAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `HighlightAnnotation`. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares highlight annotation using IEquatable Equals method. | | equals | Compares highlight annotations using the standard object `Equals` method. | | equals_highlight_annotation | | | equals_object | | | get_hash_code | Returns the hash code of the highlight annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the highlight annotation as an ARGB integer. | | font_color | The highlight annotation text font color. | | opacity | The opacity of the highlight annotation. | | points | The collection of `Point` objects that describe rectangles with text. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import HighlightAnnotation from groupdocs.pydrawing import Color def add_highlight_annotation(): with Annotator("./sample.pdf") as annotator: highlight = HighlightAnnotation() # Text-markup annotations are positioned by the corner points of the # text region: top-left, top-right, bottom-left, bottom-right highlight.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] highlight.background_color = Color.yellow.to_argb() highlight.opacity = 0.7 highlight.page_number = 0 highlight.message = "This is a highlight annotation" annotator.add(highlight) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `HighlightAnnotation`: * AI agents and LLM integration * Add annotations * GroupDocs.Annotation for Python via .NET Overview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/__init__.md #### __init__ Initializes a new instance of `HighlightAnnotation`. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/background_color.md #### background_color property The background color of the highlight annotation as an ARGB integer. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/equals.md #### equals Compares highlight annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `HighlightAnnotation` | The HighlightAnnotation object to compare with the current object. | #### equals Compares highlight annotations using the standard object `Equals` method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_highlight_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/equals_highlight_annotation.md #### equals_highlight_annotation ```python def equals_highlight_annotation(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/font_color.md #### font_color property The highlight annotation text font color. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/get_hash_code.md #### get_hash_code Returns the hash code of the highlight annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the highlight annotation. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/opacity.md #### opacity property The opacity of the highlight annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### points property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/highlightannotation/points.md #### points property The collection of `Point` objects that describe rectangles with text. ##### Definition: ```python @property def points(self): ... @points.setter def points(self, value): ... ``` ### ImageAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation.md #### ImageAnnotation class Represents image annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding image annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+image+annotation The ImageAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new ImageAnnotation instance. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares image annotation using IEquatable Equals method. | | equals | Compares image annotation using standard object Equals method. | | equals_image_annotation | | | equals_object | | | get_hash_code | Returns the hash code of the image annotation. | | get_image | Gets image object. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | angle | The image annotation rotation angle. | | box | The image annotation position. | | image_data | The image annotation data. | | image_extension | The image extensions (png, jpg, svg etc). | | image_path | The image annotation path. | | opacity | The opacity of the image annotation. | | zindex | The image annotation z-index. Default value is 0. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import ImageAnnotation def add_image_annotation(): with Annotator("./sample.pdf") as annotator: image = ImageAnnotation() image.box = Rectangle(100, 100, 100, 100) image.image_path = "./stamp.png" image.opacity = 0.9 image.angle = 0.0 image.page_number = 0 image.message = "This is an image annotation" annotator.add(image) annotator.save("./output.pdf") if __name__ == "__main__": add_image_annotation() ``` ##### Guides Task guides that use `ImageAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/__init__.md #### __init__ Initializes a new ImageAnnotation instance. ```python def __init__(self): ... ``` ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import ImageAnnotation def add_image_annotation(): with Annotator("./sample.pdf") as annotator: image = ImageAnnotation() image.box = Rectangle(100, 100, 100, 100) image.image_path = "./stamp.png" image.opacity = 0.9 image.angle = 0.0 image.page_number = 0 image.message = "This is an image annotation" annotator.add(image) annotator.save("./output.pdf") ``` ### angle property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/angle.md #### angle property The image annotation rotation angle. ##### Definition: ```python @property def angle(self): ... @angle.setter def angle(self, value): ... ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/box.md #### box property The image annotation position. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/equals.md #### equals Compares image annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `ImageAnnotation` | The ImageAnnotation object to compare with the current object. | #### equals Compares image annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_image_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/equals_image_annotation.md #### equals_image_annotation ```python def equals_image_annotation(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/get_hash_code.md #### get_hash_code Returns the hash code of the image annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the image annotation. ### get_image method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/get_image.md #### get_image Gets image object. ```python def get_image(self): ... ``` ### image_data property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/image_data.md #### image_data property The image annotation data. ##### Definition: ```python @property def image_data(self): ... @image_data.setter def image_data(self, value): ... ``` ### image_extension property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/image_extension.md #### image_extension property The image extensions (png, jpg, svg etc). ##### Definition: ```python @property def image_extension(self): ... ``` ### image_path property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/image_path.md #### image_path property The image annotation path. ##### Definition: ```python @property def image_path(self): ... @image_path.setter def image_path(self, value): ... ``` ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/opacity.md #### opacity property The opacity of the image annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### zindex property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/imageannotation/zindex.md #### zindex property The image annotation z-index. Default value is 0. The z-index property specifies the stack order of an element. ##### Definition: ```python @property def zindex(self): ... @zindex.setter def zindex(self, value): ... ``` ### LinkAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation.md #### LinkAnnotation class Represents link annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding link annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+link+annotation The LinkAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `LinkAnnotation`. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares this link annotation with another using the IEquatable Equals method. | | equals | Compares link annotation using standard object Equals method. | | equals_link_annotation | | | equals_object | | | get_hash_code | Returns HashCode of link annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the link annotation. | | font_color | The text color of the link annotation. | | opacity | The opacity of the link annotation. | | points | The link annotation coordinates as a list of points. | | url | The annotation link URL. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import LinkAnnotation from groupdocs.pydrawing import Color def add_link_annotation(): with Annotator("./sample.pdf") as annotator: link = LinkAnnotation() link.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] link.url = "https://www.groupdocs.com" link.background_color = Color.azure.to_argb() link.opacity = 0.7 link.page_number = 0 link.message = "This is a link annotation" annotator.add(link) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `LinkAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/__init__.md #### __init__ Initializes a new instance of `LinkAnnotation`. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/background_color.md #### background_color property The background color of the link annotation. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` **Returns:** LinkAnnotation: A new `LinkAnnotation` instance containing the same property values as the original. ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/equals.md #### equals Compares this link annotation with another using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `LinkAnnotation` | The LinkAnnotation object to compare with the current object. | #### equals Compares link annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_link_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/equals_link_annotation.md #### equals_link_annotation ```python def equals_link_annotation(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/font_color.md #### font_color property The text color of the link annotation. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/get_hash_code.md #### get_hash_code Returns HashCode of link annotation. ```python def get_hash_code(self): ... ``` ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/opacity.md #### opacity property The opacity of the link annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### points property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/points.md #### points property The link annotation coordinates as a list of points. ##### Definition: ```python @property def points(self): ... @points.setter def points(self, value): ... ``` ### url property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/linkannotation/url.md #### url property The annotation link URL. ##### Definition: ```python @property def url(self): ... @url.setter def url(self, value): ... ``` ### PointAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation.md #### PointAnnotation class Represents point annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding point annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+point+annotation The PointAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new PointAnnotation instance. | ##### Methods | Method | Description | | :- | :- | | clone | Returns new instance with the same values. | | equals | Compares point annotation using IEquatable Equals method. | | equals | Compares point annotation using standard object Equals method. | | equals_object | | | equals_point_annotation | | | get_hash_code | Returns HashCode of the point annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | box | The point annotation position. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import PointAnnotation def add_point_annotation(): with Annotator("./sample.pdf") as annotator: point = PointAnnotation() point.box = Rectangle(100, 100, 0, 0) # a point is positioned by its box origin point.page_number = 0 point.message = "This is a point annotation" annotator.add(point) annotator.save("./output.pdf") if __name__ == "__main__": add_point_annotation() ``` ##### Guides Task guides that use `PointAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation/__init__.md #### __init__ Initializes a new PointAnnotation instance. ```python def __init__(self): ... ``` ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import PointAnnotation with Annotator("./sample.pdf") as annotator: point = PointAnnotation() point.box = Rectangle(100, 100, 0, 0) # positioned by box origin point.page_number = 0 point.message = "This is a point annotation" annotator.add(point) annotator.save("./output.pdf") ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation/box.md #### box property The point annotation position. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation/clone.md #### clone Returns new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation/equals.md #### equals Compares point annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `PointAnnotation` | The PointAnnotation object to compare with the current object. | #### equals Compares point annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_point_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation/equals_point_annotation.md #### equals_point_annotation ```python def equals_point_annotation(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/pointannotation/get_hash_code.md #### get_hash_code Returns HashCode of the point annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the point annotation. ### PolylineAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation.md #### PolylineAnnotation class Represents polyline annotation properties. Learn more: - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding polyline annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+polyline+annotation The PolylineAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `AreaAnnotation` class. | ##### Methods | Method | Description | | :- | :- | | clone | Returns new instance with the same values. | | equals | Compares this polyline annotation with another using the IEquatable Equals method. | | equals | Compares polyline annotation using standard object Equals method. | | equals_object | | | equals_polyline_annotation | | | get_hash_code | Returns hash code of the polyline annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | box | The polyline annotation position as a `Rectangle`. | | opacity | The polyline annotation opacity. | | pen_color | The pen color of the polyline annotation. | | pen_style | The pen style of the polyline annotation. | | pen_width | The polyline annotation pen width. | | svg_path | The SVG path of the polyline annotation. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import PolylineAnnotation from groupdocs.pydrawing import Color def add_polyline_annotation(): with Annotator("./sample.pdf") as annotator: polyline = PolylineAnnotation() polyline.box = Rectangle(100, 100, 200, 100) polyline.svg_path = "M 0 0 L 50 50 L 100 0 L 150 50" polyline.pen_color = Color.purple.to_argb() polyline.pen_width = 2 polyline.pen_style = PenStyle.SOLID polyline.opacity = 0.9 polyline.page_number = 0 polyline.message = "This is a polyline annotation" annotator.add(polyline) annotator.save("./output.pdf") if __name__ == "__main__": add_polyline_annotation() ``` ##### Guides Task guides that use `PolylineAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/__init__.md #### __init__ Initializes a new instance of `AreaAnnotation` class. ```python def __init__(self): ... ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/box.md #### box property The polyline annotation position as a `Rectangle`. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/clone.md #### clone Returns new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/equals.md #### equals Compares this polyline annotation with another using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `PolylineAnnotation` | The PolylineAnnotation object to compare with the current object. | #### equals Compares polyline annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_polyline_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/equals_polyline_annotation.md #### equals_polyline_annotation ```python def equals_polyline_annotation(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/get_hash_code.md #### get_hash_code Returns hash code of the polyline annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the polyline annotation. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/opacity.md #### opacity property The polyline annotation opacity. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### pen_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/pen_color.md #### pen_color property The pen color of the polyline annotation. Accepts an ARGB integer value, typically obtained via `Color..to_argb()`. ##### Definition: ```python @property def pen_color(self): ... @pen_color.setter def pen_color(self, value): ... ``` ### pen_style property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/pen_style.md #### pen_style property The pen style of the polyline annotation. ##### Definition: ```python @property def pen_style(self): ... @pen_style.setter def pen_style(self, value): ... ``` ### pen_width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/pen_width.md #### pen_width property The polyline annotation pen width. ##### Definition: ```python @property def pen_width(self): ... @pen_width.setter def pen_width(self, value): ... ``` ### svg_path property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/polylineannotation/svg_path.md #### svg_path property The SVG path of the polyline annotation. ##### Definition: ```python @property def svg_path(self): ... @svg_path.setter def svg_path(self, value): ... ``` ### ReplacementAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation.md #### ReplacementAnnotation class Represents replacement annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding replacement annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+replacement+annotation The ReplacementAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `ReplacementAnnotation`. | ##### Methods | Method | Description | | :- | :- | | clone | Returns new instance with the same values. | | equals | Compares replacement annotation using IEquatable Equals method. | | equals | Compares the replacement annotation with another object using the standard object Equals method. | | equals_object | | | equals_replacement_annotation | | | get_hash_code | Returns the hash code of the replacement annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the replacement annotation. | | font_color | The replacement annotation text color. | | font_size | The replacement annotation text size. | | opacity | The replacement annotation opacity. | | points | The collection of points that describe rectangles with text. | | text_to_replace | The text to be replaced. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import ReplacementAnnotation from groupdocs.pydrawing import Color def add_replacement_annotation(): with Annotator("./sample.pdf") as annotator: replacement = ReplacementAnnotation() replacement.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] replacement.text_to_replace = "replacement text" replacement.font_color = Color.black.to_argb() replacement.font_size = 12.0 replacement.opacity = 0.9 replacement.page_number = 0 replacement.message = "This is a text replacement annotation" annotator.add(replacement) annotator.save("./output.pdf") if __name__ == "__main__": add_replacement_annotation() ``` ##### Guides Task guides that use `ReplacementAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/__init__.md #### __init__ Initializes a new instance of `ReplacementAnnotation`. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/background_color.md #### background_color property The background color of the replacement annotation. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/clone.md #### clone Returns new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/equals.md #### equals Compares replacement annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `ReplacementAnnotation` | The ReplacementAnnotation object to compare with the current object | #### equals Compares the replacement annotation with another object using the standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_replacement_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/equals_replacement_annotation.md #### equals_replacement_annotation ```python def equals_replacement_annotation(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/font_color.md #### font_color property The replacement annotation text color. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### font_size property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/font_size.md #### font_size property The replacement annotation text size. ##### Definition: ```python @property def font_size(self): ... @font_size.setter def font_size(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/get_hash_code.md #### get_hash_code Returns the hash code of the replacement annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the replacement annotation. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/opacity.md #### opacity property The replacement annotation opacity. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### points property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/points.md #### points property The collection of points that describe rectangles with text. ##### Definition: ```python @property def points(self): ... @points.setter def points(self, value): ... ``` ### text_to_replace property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/replacementannotation/text_to_replace.md #### text_to_replace property The text to be replaced. ##### Definition: ```python @property def text_to_replace(self): ... @text_to_replace.setter def text_to_replace(self, value): ... ``` ### ResourcesRedactionAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation.md #### ResourcesRedactionAnnotation class Represents resources redaction annotation properties. Learn more: - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding resource redaction annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+resource+redaction+annotation The ResourcesRedactionAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new `ResourcesRedactionAnnotation` instance. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares resource redaction annotation using IEquatable Equals method. | | equals | Compares resource redaction annotation using standard object Equals method. | | equals_object | | | equals_resources_redaction_annotation | | | get_hash_code | Returns the hash code of the resource redaction annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | box | The resource redaction annotation position as a `Rectangle`. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import ResourcesRedactionAnnotation def add_resources_redaction_annotation(): with Annotator("./sample.pdf") as annotator: redaction = ResourcesRedactionAnnotation() redaction.box = Rectangle(100, 100, 200, 80) redaction.page_number = 0 redaction.message = "This is a resources redaction annotation" annotator.add(redaction) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `ResourcesRedactionAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation/__init__.md #### __init__ Initializes a new `ResourcesRedactionAnnotation` instance. ```python def __init__(self): ... ``` ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import ResourcesRedactionAnnotation with Annotator("./sample.pdf") as annotator: redaction = ResourcesRedactionAnnotation() redaction.box = Rectangle(100, 100, 200, 80) redaction.page_number = 0 redaction.message = "This is a resources redaction annotation" annotator.add(redaction) annotator.save("./output.pdf") ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation/box.md #### box property The resource redaction annotation position as a `Rectangle`. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation/equals.md #### equals Compares resource redaction annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `ResourcesRedactionAnnotation` | The ResourcesRedactionAnnotation object to compare with the current object. | **Returns:** bool: True if the annotations are equal; otherwise False. #### equals Compares resource redaction annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_resources_redaction_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation/equals_resources_redaction_annotation.md #### equals_resources_redaction_annotation ```python def equals_resources_redaction_annotation(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/resourcesredactionannotation/get_hash_code.md #### get_hash_code Returns the hash code of the resource redaction annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: The hash code. ### SearchTextFragment class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment.md #### SearchTextFragment class Represents searchText annotation properties. Learn more - More about annotation types and annotating PDF: How to annotate documents using GroupDocs.Annotation for .NET (https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document) - More about adding searchText annotations to documents of various types: How to add searchText annotations in C# (https://docs.groupdocs.com/display/annotationnet/Add+searchText+annotation) The SearchTextFragment type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `SearchTextFragment`. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares search text annotation using IEquatable Equals method. | | equals | Compares search text annotation using standard object Equals method. | | equals_object | | | equals_search_text_fragment | | | get_hash_code | Returns HashCode of SearchText Annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The text background color. | | font_color | The text color. | | font_family | The text font family. | | font_size | The text size. | | text | The text that needs to be found. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/__init__.md #### __init__ Initializes a new instance of `SearchTextFragment`. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/background_color.md #### background_color property The text background color. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` **Returns:** SearchTextFragment: A new `SearchTextFragment` instance containing the same values. ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/equals.md #### equals Compares search text annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `SearchTextFragment` | The SearchTextFragment object to compare with the current object. | #### equals Compares search text annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | **Returns:** bool: True if the specified object is equal to the current search text fragment; otherwise, False. ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_search_text_fragment method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/equals_search_text_fragment.md #### equals_search_text_fragment ```python def equals_search_text_fragment(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/font_color.md #### font_color property The text color. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### font_family property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/font_family.md #### font_family property The text font family. ##### Definition: ```python @property def font_family(self): ... @font_family.setter def font_family(self, value): ... ``` ### font_size property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/font_size.md #### font_size property The text size. ##### Definition: ```python @property def font_size(self): ... @font_size.setter def font_size(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/get_hash_code.md #### get_hash_code Returns HashCode of SearchText Annotation. ```python def get_hash_code(self): ... ``` ### text property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/searchtextfragment/text.md #### text property The text that needs to be found. ##### Definition: ```python @property def text(self): ... @text.setter def text(self, value): ... ``` ### SquigglyAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation.md #### SquigglyAnnotation class Represents squiggly annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding squiggly annotations to documents of various types: https://docs.groupdocs.com/annotation/net/add-squiggly-annotation/ The SquigglyAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `SquigglyAnnotation`. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares this squiggly annotation with another `SquigglyAnnotation` using the IEquatable Equals method. | | equals | Compares the squiggly annotation with another object using the standard object Equals method. | | equals_object | | | equals_squiggly_annotation | | | get_hash_code | Returns the hash code of the squiggly annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the squiggly annotation text. | | font_color | The font color of the squiggly annotation text. | | opacity | The opacity of the squiggly annotation. | | points | The collection of points that describe rectangles with text. | | squiggly_color | The color of the squiggly annotation. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import SquigglyAnnotation from groupdocs.pydrawing import Color def add_squiggly_annotation(): with Annotator("./sample.pdf") as annotator: squiggly = SquigglyAnnotation() squiggly.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] squiggly.squiggly_color = Color.red.to_argb() squiggly.opacity = 0.9 squiggly.page_number = 0 squiggly.message = "This is a squiggly annotation" annotator.add(squiggly) annotator.save("./output.pdf") if __name__ == "__main__": add_squiggly_annotation() ``` ##### Guides Task guides that use `SquigglyAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/__init__.md #### __init__ Initializes a new instance of `SquigglyAnnotation`. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/background_color.md #### background_color property The background color of the squiggly annotation text. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/equals.md #### equals Compares this squiggly annotation with another `SquigglyAnnotation` using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `SquigglyAnnotation` | The `SquigglyAnnotation` object to compare with the current object. | **Returns:** bool: True if the annotations are equal; otherwise False. #### equals Compares the squiggly annotation with another object using the standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_squiggly_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/equals_squiggly_annotation.md #### equals_squiggly_annotation ```python def equals_squiggly_annotation(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/font_color.md #### font_color property The font color of the squiggly annotation text. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/get_hash_code.md #### get_hash_code Returns the hash code of the squiggly annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: The hash code of the squiggly annotation. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/opacity.md #### opacity property The opacity of the squiggly annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### points property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/points.md #### points property The collection of points that describe rectangles with text. ##### Definition: ```python @property def points(self): ... @points.setter def points(self, value): ... ``` ### squiggly_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/squigglyannotation/squiggly_color.md #### squiggly_color property The color of the squiggly annotation. ##### Definition: ```python @property def squiggly_color(self): ... @squiggly_color.setter def squiggly_color(self, value): ... ``` ### StrikeoutAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation.md #### StrikeoutAnnotation class Represents strikeout annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding strikeout annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+strikeout+annotation The StrikeoutAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `StrikeoutAnnotation` class. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares the strikeout annotation with another using the IEquatable Equals method. | | equals | Compares strikeout annotation using standard object Equals method. | | equals_object | | | equals_strikeout_annotation | | | get_hash_code | Returns the hash code of the strikeout annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the strikeout annotation text. | | font_color | The font color of the strikeout annotation text. | | opacity | The opacity of the strikeout annotation. | | points | The collection of points that describe rectangles with text. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import StrikeoutAnnotation from groupdocs.pydrawing import Color def add_strikeout_annotation(): with Annotator("./sample.pdf") as annotator: strikeout = StrikeoutAnnotation() strikeout.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] strikeout.font_color = Color.red.to_argb() strikeout.opacity = 0.9 strikeout.page_number = 0 strikeout.message = "This is a strikeout annotation" annotator.add(strikeout) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `StrikeoutAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/__init__.md #### __init__ Initializes a new instance of `StrikeoutAnnotation` class. ```python def __init__(self): ... ``` ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import StrikeoutAnnotation from groupdocs.pydrawing import Color with Annotator("./sample.pdf") as annotator: strikeout = StrikeoutAnnotation() strikeout.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] strikeout.font_color = Color.red.to_argb() strikeout.opacity = 0.9 strikeout.page_number = 0 strikeout.message = "This is a strikeout annotation" annotator.add(strikeout) annotator.save("./output.pdf") ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/background_color.md #### background_color property The background color of the strikeout annotation text. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` **Returns:** StrikeoutAnnotation: New instance with the same values. ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/equals.md #### equals Compares the strikeout annotation with another using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `StrikeoutAnnotation` | The `StrikeoutAnnotation` object to compare with the current object. | #### equals Compares strikeout annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_strikeout_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/equals_strikeout_annotation.md #### equals_strikeout_annotation ```python def equals_strikeout_annotation(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/font_color.md #### font_color property The font color of the strikeout annotation text. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/get_hash_code.md #### get_hash_code Returns the hash code of the strikeout annotation. ```python def get_hash_code(self): ... ``` **Returns:** int ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/opacity.md #### opacity property The opacity of the strikeout annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### points property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/strikeoutannotation/points.md #### points property The collection of points that describe rectangles with text. ##### Definition: ```python @property def points(self): ... @points.setter def points(self, value): ... ``` ### TextFieldAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation.md #### TextFieldAnnotation class Represents text field annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: [How to annotate documents using GroupDocs.Annotation for .NET](https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document) - More about adding text field annotations to documents of various types: [How to add text field annotations in C#](https://docs.groupdocs.com/display/annotationnet/Add+text+field+annotation) The TextFieldAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new `TextFieldAnnotation` instance. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares this text field annotation with another using the IEquatable Equals method. | | equals | Compares text field annotation using standard object Equals method. | | equals_object | | | equals_text_field_annotation | | | get_hash_code | Returns HashCode of the text field annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The background color of the text field annotation. | | box | The text field annotation position. | | font_color | The font color of the text field annotation. | | font_family | The font family of the text field annotation. | | font_size | The font size of the text field annotation. | | opacity | The opacity of the text field annotation. | | pen_color | The pen color of the text field annotation. | | pen_style | The pen style of the text field annotation. | | pen_width | The pen width of the text field annotation. | | text | The text of the text field annotation. | | text_horizontal_alignment | The horizontal alignment of the text. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, HorizontalAlignment from groupdocs.annotation.models.annotation_models import TextFieldAnnotation from groupdocs.pydrawing import Color def add_text_field_annotation(): with Annotator("./sample.pdf") as annotator: text_field = TextFieldAnnotation() text_field.box = Rectangle(100, 100, 150, 50) text_field.text = "Some text in a field" text_field.font_family = "Arial" text_field.font_size = 12.0 text_field.font_color = Color.black.to_argb() text_field.background_color = Color.yellow.to_argb() text_field.text_horizontal_alignment = HorizontalAlignment.CENTER text_field.opacity = 0.9 text_field.page_number = 0 text_field.message = "This is a text field annotation" annotator.add(text_field) annotator.save("./output.pdf") if __name__ == "__main__": add_text_field_annotation() ``` ##### Guides Task guides that use `TextFieldAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/__init__.md #### __init__ Initializes a new `TextFieldAnnotation` instance. ```python def __init__(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/background_color.md #### background_color property The background color of the text field annotation. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/box.md #### box property The text field annotation position. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/equals.md #### equals Compares this text field annotation with another using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `TextFieldAnnotation` | The TextFieldAnnotation object to compare with the current object. | #### equals Compares text field annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_text_field_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/equals_text_field_annotation.md #### equals_text_field_annotation ```python def equals_text_field_annotation(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/font_color.md #### font_color property The font color of the text field annotation. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### font_family property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/font_family.md #### font_family property The font family of the text field annotation. ##### Definition: ```python @property def font_family(self): ... @font_family.setter def font_family(self, value): ... ``` ### font_size property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/font_size.md #### font_size property The font size of the text field annotation. ##### Definition: ```python @property def font_size(self): ... @font_size.setter def font_size(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/get_hash_code.md #### get_hash_code Returns HashCode of the text field annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code for this annotation. ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/opacity.md #### opacity property The opacity of the text field annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### pen_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/pen_color.md #### pen_color property The pen color of the text field annotation. ##### Definition: ```python @property def pen_color(self): ... @pen_color.setter def pen_color(self, value): ... ``` ### pen_style property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/pen_style.md #### pen_style property The pen style of the text field annotation. ##### Definition: ```python @property def pen_style(self): ... @pen_style.setter def pen_style(self, value): ... ``` ### pen_width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/pen_width.md #### pen_width property The pen width of the text field annotation. ##### Definition: ```python @property def pen_width(self): ... @pen_width.setter def pen_width(self, value): ... ``` ### text property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/text.md #### text property The text of the text field annotation. ##### Definition: ```python @property def text(self): ... @text.setter def text(self, value): ... ``` ### text_horizontal_alignment property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textfieldannotation/text_horizontal_alignment.md #### text_horizontal_alignment property The horizontal alignment of the text. ##### Definition: ```python @property def text_horizontal_alignment(self): ... @text_horizontal_alignment.setter def text_horizontal_alignment(self, value): ... ``` ### TextRedactionAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation.md #### TextRedactionAnnotation class Represents text redaction annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding text redaction annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+text+redaction+annotation The TextRedactionAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new `TextRedactionAnnotation` instance. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares this text redaction annotation with another using the IEquatable Equals method. | | equals | Compares text redaction annotation using standard object Equals method. | | equals_object | | | equals_text_redaction_annotation | | | get_hash_code | Returns hash code of the text redaction annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | font_color | The text font color of the text redaction annotation. | | points | The collection of points that describe rectangles with text. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import TextRedactionAnnotation from groupdocs.pydrawing import Color def add_text_redaction_annotation(): with Annotator("./sample.pdf") as annotator: redaction = TextRedactionAnnotation() redaction.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] redaction.font_color = Color.black.to_argb() redaction.page_number = 0 redaction.message = "This is a text redaction annotation" annotator.add(redaction) annotator.save("./output.pdf") if __name__ == "__main__": add_text_redaction_annotation() ``` ##### Guides Task guides that use `TextRedactionAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/__init__.md #### __init__ Initializes a new `TextRedactionAnnotation` instance. ```python def __init__(self): ... ``` ##### Example ```python from groupdocs.annotation.models.annotation_models import TextRedactionAnnotation # Create a text redaction annotation with default settings redaction = TextRedactionAnnotation() ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/equals.md #### equals Compares this text redaction annotation with another using the IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `TextRedactionAnnotation` | The TextRedactionAnnotation object to compare with the current object. | #### equals Compares text redaction annotation using standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_text_redaction_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/equals_text_redaction_annotation.md #### equals_text_redaction_annotation ```python def equals_text_redaction_annotation(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/font_color.md #### font_color property The text font color of the text redaction annotation. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/get_hash_code.md #### get_hash_code Returns hash code of the text redaction annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code of the annotation. ### points property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/textredactionannotation/points.md #### points property The collection of points that describe rectangles with text. ##### Definition: ```python @property def points(self): ... @points.setter def points(self, value): ... ``` ### UnderlineAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation.md #### UnderlineAnnotation class Represents underline annotation properties. Learn more - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding underline annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+underline+annotation The UnderlineAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new `UnderlineAnnotation` instance. | ##### Methods | Method | Description | | :- | :- | | clone | Returns new instance with the same values. | | equals | Compares this underline annotation with another underline annotation. | | equals | Compares underline annotation using the standard object Equals method. | | equals_object | | | equals_underline_annotation | | | get_hash_code | Returns HashCode of the underline annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | background_color | The underline annotation text background color. | | font_color | The text color of the underline annotation. | | opacity | The underline annotation opacity. | | points | The collection of points that describe rectangles with text. | | underline_color | The underline annotation color as an ARGB integer. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import UnderlineAnnotation from groupdocs.pydrawing import Color def add_underline_annotation(): with Annotator("./sample.pdf") as annotator: underline = UnderlineAnnotation() underline.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] underline.underline_color = Color.red.to_argb() underline.opacity = 0.9 underline.page_number = 0 underline.message = "This is an underline annotation" annotator.add(underline) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `UnderlineAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/__init__.md #### __init__ Initializes a new `UnderlineAnnotation` instance. ```python def __init__(self): ... ``` ##### Example ```python from groupdocs.annotation.models.annotation_models import UnderlineAnnotation underline = UnderlineAnnotation() ``` ### background_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/background_color.md #### background_color property The underline annotation text background color. ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/clone.md #### clone Returns new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/equals.md #### equals Compares this underline annotation with another underline annotation. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `UnderlineAnnotation` | The UnderlineAnnotation object to compare with the current object. | **Returns:** bool: True if the annotations are equal; otherwise False. #### equals Compares underline annotation using the standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_underline_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/equals_underline_annotation.md #### equals_underline_annotation ```python def equals_underline_annotation(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/font_color.md #### font_color property The text color of the underline annotation. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/get_hash_code.md #### get_hash_code Returns HashCode of the underline annotation. ```python def get_hash_code(self): ... ``` ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/opacity.md #### opacity property The underline annotation opacity. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### points property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/points.md #### points property The collection of points that describe rectangles with text. ##### Definition: ```python @property def points(self): ... @points.setter def points(self, value): ... ``` ### underline_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/underlineannotation/underline_color.md #### underline_color property The underline annotation color as an ARGB integer. ##### Definition: ```python @property def underline_color(self): ... @underline_color.setter def underline_color(self, value): ... ``` ### WatermarkAnnotation class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation.md #### WatermarkAnnotation class Represents watermark annotation properties. - More about annotation types and annotating PDF and Microsoft Word documents, Excel spreadsheets and PowerPoint Presentations: https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document - More about adding watermark annotations to documents of various types: https://docs.groupdocs.com/display/annotationnet/Add+watermark+annotation The WatermarkAnnotation type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes new instance of WatermarkAnnotation class. | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | | equals | Compares watermark annotation using IEquatable Equals method. | | equals | Compares watermark annotation using the standard object Equals method. | | equals_object | | | equals_watermark_annotation | | | get_hash_code | Returns the hash code of the watermark annotation. | | equals_annotation_base | (inherited from `AnnotationBase`) | ##### Properties | Property | Description | | :- | :- | | angle | The rotation angle of the watermark annotation. | | auto_scale | The auto scale setting for the watermark annotation. | | box | The watermark annotation position. | | font_color | The watermark annotation text color. | | font_family | The font family of the watermark annotation text. | | font_size | The watermark annotation text size. | | horizontal_alignment | The watermark horizontal alignment on the document. | | opacity | The opacity of the watermark annotation. | | text | The watermark text. | | vertical_alignment | The vertical alignment of the watermark on the document. | | created_on | The annotation creation date. (inherited from `AnnotationBase`) | | id | The annotation unique identifier. This field is auto-incremented. (inherited from `AnnotationBase`) | | message | The annotation message. (inherited from `AnnotationBase`) | | page_number | The page number where the annotation should be located. (inherited from `AnnotationBase`) | | replies | The list of replies (comments) attached to the annotation. (inherited from `AnnotationBase`) | | state_before_annotation | The previous state of the text before annotating. (inherited from `AnnotationBase`) | | type | The annotation type. (inherited from `AnnotationBase`) | | user | The annotation author. (inherited from `AnnotationBase`) | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, HorizontalAlignment, VerticalAlignment from groupdocs.annotation.models.annotation_models import WatermarkAnnotation from groupdocs.pydrawing import Color def add_watermark_annotation(): with Annotator("./sample.pdf") as annotator: watermark = WatermarkAnnotation() watermark.box = Rectangle(100, 100, 200, 100) watermark.text = "Watermark" watermark.font_family = "Arial" watermark.font_size = 24.0 watermark.font_color = Color.red.to_argb() watermark.angle = 45.0 watermark.auto_scale = True watermark.horizontal_alignment = HorizontalAlignment.CENTER watermark.vertical_alignment = VerticalAlignment.CENTER watermark.opacity = 0.5 watermark.page_number = 0 watermark.message = "This is a watermark annotation" annotator.add(watermark) annotator.save("./output.pdf") ``` ##### Guides Task guides that use `WatermarkAnnotation`: * AI agents and LLM integration * Add annotations ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/__init__.md #### __init__ Initializes new instance of WatermarkAnnotation class. ```python def __init__(self): ... ``` ### angle property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/angle.md #### angle property The rotation angle of the watermark annotation. ##### Definition: ```python @property def angle(self): ... @angle.setter def angle(self, value): ... ``` ### auto_scale property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/auto_scale.md #### auto_scale property The auto scale setting for the watermark annotation. ##### Definition: ```python @property def auto_scale(self): ... @auto_scale.setter def auto_scale(self, value): ... ``` ### box property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/box.md #### box property The watermark annotation position. ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/equals.md #### equals Compares watermark annotation using IEquatable Equals method. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `WatermarkAnnotation` | The WatermarkAnnotation object to compare with the current object. | #### equals Compares watermark annotation using the standard object Equals method. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The object to compare with the current object. | ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_watermark_annotation method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/equals_watermark_annotation.md #### equals_watermark_annotation ```python def equals_watermark_annotation(self): ... ``` ### font_color property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/font_color.md #### font_color property The watermark annotation text color. ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### font_family property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/font_family.md #### font_family property The font family of the watermark annotation text. ##### Definition: ```python @property def font_family(self): ... @font_family.setter def font_family(self, value): ... ``` ### font_size property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/font_size.md #### font_size property The watermark annotation text size. ##### Definition: ```python @property def font_size(self): ... @font_size.setter def font_size(self, value): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/get_hash_code.md #### get_hash_code Returns the hash code of the watermark annotation. ```python def get_hash_code(self): ... ``` **Returns:** int: The hash code. ### horizontal_alignment property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/horizontal_alignment.md #### horizontal_alignment property The watermark horizontal alignment on the document. ##### Definition: ```python @property def horizontal_alignment(self): ... @horizontal_alignment.setter def horizontal_alignment(self, value): ... ``` ### opacity property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/opacity.md #### opacity property The opacity of the watermark annotation. ##### Definition: ```python @property def opacity(self): ... @opacity.setter def opacity(self, value): ... ``` ### text property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/text.md #### text property The watermark text. ##### Definition: ```python @property def text(self): ... @text.setter def text(self, value): ... ``` ### vertical_alignment property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.annotation_models/watermarkannotation/vertical_alignment.md #### vertical_alignment property The vertical alignment of the watermark on the document. ##### Definition: ```python @property def vertical_alignment(self): ... @vertical_alignment.setter def vertical_alignment(self, value): ... ``` ### groupdocs.annotation.models Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models.md Types under `groupdocs.annotation.models`. ##### Classes | Class | Description | | :- | :- | | `PageInfo` | Class that defines Document Page Information. | | `Point` | Point structure. | | `Rectangle` | Rectangle structure. | | `Reply` | Represents an annotation comment. | | `TextLineInfo` | Class that defines text line information. | | `User` | Class that represents a user. | | `VersionsList` | Class that defines a serializable list of the document version information. | ##### Enumerations | Enum | Description | | :- | :- | | `BorderStyle` | | | `BoxStyle` | | | `DocumentType` | | | `HorizontalAlignment` | | | `PenStyle` | | | `ResolutionQuality` | | | `Role` | | | `RotationDocument` | | | `VerticalAlignment` | | ### BorderStyle class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/borderstyle.md #### BorderStyle class The BorderStyle type exposes the following members: ##### Fields | Field | Description | | :- | :- | | SOLID | Solid border | | DASHED | Dashed border | | BEVELED | Beveled border | | INSET | Inset border | | UNDERLINE | Underline border | ##### Guides Task guides that use `BorderStyle`: * AI agents and LLM integration ### BEVELED field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/borderstyle/beveled.md #### BEVELED field Beveled border ##### Value `2` ### DASHED field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/borderstyle/dashed.md #### DASHED field Dashed border ##### Value `1` ### INSET field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/borderstyle/inset.md #### INSET field Inset border ##### Value `3` ### SOLID field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/borderstyle/solid.md #### SOLID field Solid border ##### Value `0` ### UNDERLINE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/borderstyle/underline.md #### UNDERLINE field Underline border ##### Value `4` ### BoxStyle class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/boxstyle.md #### BoxStyle class The BoxStyle type exposes the following members: ##### Fields | Field | Description | | :- | :- | | CIRCLE | Circle style | | CHECK | Check style | | CROSS | Cross style | | DIAMOND | Diamond style | | SQUARE | Square style | | STAR | Star style | ##### Guides Task guides that use `BoxStyle`: * AI agents and LLM integration ### CHECK field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/boxstyle/check.md #### CHECK field Check style ##### Value `1` ### CIRCLE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/boxstyle/circle.md #### CIRCLE field Circle style ##### Value `0` ### CROSS field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/boxstyle/cross.md #### CROSS field Cross style ##### Value `2` ### DIAMOND field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/boxstyle/diamond.md #### DIAMOND field Diamond style ##### Value `3` ### SQUARE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/boxstyle/square.md #### SQUARE field Square style ##### Value `4` ### STAR field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/boxstyle/star.md #### STAR field Star style ##### Value `5` ### DocumentType class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype.md #### DocumentType class The DocumentType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PDF | Pdf documen type | | CELLS | Excel document type | | SLIDES | PowerPoint document type | | WORDS | Word document type | | IMAGES | Image document type | | EMAIL | Email document type | | HTML | HTML document type | | DIAGRAM | Visio document type | | UNDEFINED | The undefined | ### CELLS field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/cells.md #### CELLS field Excel document type ##### Value `1` ### DIAGRAM field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/diagram.md #### DIAGRAM field Visio document type ##### Value `7` ### EMAIL field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/email.md #### EMAIL field Email document type ##### Value `5` ### HTML field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/html.md #### HTML field HTML document type ##### Value `6` ### IMAGES field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/images.md #### IMAGES field Image document type ##### Value `4` ### PDF field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/pdf.md #### PDF field Pdf documen type ##### Value `0` ### SLIDES field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/slides.md #### SLIDES field PowerPoint document type ##### Value `2` ### UNDEFINED field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/undefined.md #### UNDEFINED field The undefined ##### Value `-1` ### WORDS field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/documenttype/words.md #### WORDS field Word document type ##### Value `3` ### HorizontalAlignment class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/horizontalalignment.md #### HorizontalAlignment class The HorizontalAlignment type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Default value, aligned wont be used | | LEFT | Target will be aligned to left side | | CENTER | Target will be aligned to center | | RIGHT | Target will be aligned to right side | ##### Guides Task guides that use `HorizontalAlignment`: * AI agents and LLM integration * Add annotations ### CENTER field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/horizontalalignment/center.md #### CENTER field Target will be aligned to center ##### Value `2` ### LEFT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/horizontalalignment/left.md #### LEFT field Target will be aligned to left side ##### Value `1` ### NONE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/horizontalalignment/none.md #### NONE field Default value, aligned wont be used ##### Value `0` ### RIGHT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/horizontalalignment/right.md #### RIGHT field Target will be aligned to right side ##### Value `3` ### PageInfo class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/pageinfo.md #### PageInfo class Class that defines Document Page Information. The PageInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `PageInfo`. | ##### Properties | Property | Description | | :- | :- | | height | The page height. | | page_number | The page number. | | text_lines | The collection of text lines information. | | width | The page width. | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/pageinfo/__init__.md #### __init__ Initializes a new instance of `PageInfo`. ```python def __init__(self, width, height): ... ``` | Parameter | Type | Description | | :- | :- | :- | | width | `int` | Page Width. | | height | `int` | Page Height. | ### height property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/pageinfo/height.md #### height property The page height. ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/pageinfo/page_number.md #### page_number property The page number. ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### text_lines property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/pageinfo/text_lines.md #### text_lines property The collection of text lines information. ##### Definition: ```python @property def text_lines(self): ... @text_lines.setter def text_lines(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/pageinfo/width.md #### width property The page width. ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### PenStyle class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/penstyle.md #### PenStyle class The PenStyle type exposes the following members: ##### Fields | Field | Description | | :- | :- | | SOLID | Specifies a solid line | | DASH | Specifies a dashed line | | DASH_DOT | Specifies a line consisting of dashes and dots | | DOT | Specifies a dotted line | | LONG_DASH | Specifies a line consisting of long dashes | | DASH_DOT_DOT | Specifies a line consisting of dashes and two dots | ##### Guides Task guides that use `PenStyle`: * Add annotations ### DASH field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/penstyle/dash.md #### DASH field Specifies a dashed line ##### Value `1` ### DASH_DOT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/penstyle/dash_dot.md #### DASH_DOT field Specifies a line consisting of dashes and dots ##### Value `2` ### DASH_DOT_DOT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/penstyle/dash_dot_dot.md #### DASH_DOT_DOT field Specifies a line consisting of dashes and two dots ##### Value `5` ### DOT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/penstyle/dot.md #### DOT field Specifies a dotted line ##### Value `3` ### LONG_DASH field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/penstyle/long_dash.md #### LONG_DASH field Specifies a line consisting of long dashes ##### Value `4` ### SOLID field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/penstyle/solid.md #### SOLID field Specifies a solid line ##### Value `0` ### Point class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/point.md #### Point class Point structure. The Point type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new Point with the specified coordinates. | ##### Methods | Method | Description | | :- | :- | | equals | Determines whether the specified point is equal to the current point. | | equals_object | | | get_hash_code | Serves as the default hash function. | ##### Properties | Property | Description | | :- | :- | | x | The X coordinate value. | | y | The Y coordinate value. | ##### Guides Task guides that use `Point`: * AI agents and LLM integration * Add annotations * GroupDocs.Annotation for Python via .NET Overview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/point/__init__.md #### __init__ Initializes a new Point with the specified coordinates. ```python def __init__(self, x, y): ... ``` | Parameter | Type | Description | | :- | :- | :- | | x | `float` | The x coordinate. | | y | `float` | The y coordinate. | ##### Example ```python from groupdocs.annotation.models import Point p = Point(80.0, 600.0) ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/point/equals.md #### equals Determines whether the specified point is equal to the current point. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The point to compare with the current point. | **Returns:** bool: True if the specified point is equal to the current point; otherwise, False. ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/point/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/point/get_hash_code.md #### get_hash_code Serves as the default hash function. ```python def get_hash_code(self): ... ``` **Returns:** int: A hash code for the current point. ### x property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/point/x.md #### x property The X coordinate value. ##### Definition: ```python @property def x(self): ... @x.setter def x(self, value): ... ``` ### y property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/point/y.md #### y property The Y coordinate value. ##### Definition: ```python @property def y(self): ... @y.setter def y(self, value): ... ``` ### Rectangle class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle.md #### Rectangle class Rectangle structure. The Rectangle type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new Rectangle. | ##### Methods | Method | Description | | :- | :- | | equals | Determines whether the specified rectangle is equal to the current rectangle. | | equals_object | | | get_hash_code | Serves as the default hash function. | ##### Properties | Property | Description | | :- | :- | | height | The height of the rectangle. | | width | The width of the rectangle. | | x | The X coordinate of the rectangle. | | y | The Y coordinate of the rectangle. | ##### Guides Task guides that use `Rectangle`: * AI agents and LLM integration * Loading documents * Saving documents * Add annotations * Comments and replies * Hello, World! * GroupDocs.Annotation for Python via .NET Overview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/__init__.md #### __init__ Initializes a new Rectangle. ```python def __init__(self, x, y, width, height): ... ``` | Parameter | Type | Description | | :- | :- | :- | | x | `float` | The x coordinate (top left corner of the rectangle). | | y | `float` | The y coordinate (top left corner of the rectangle). | | width | `float` | The width of the rectangle. | | height | `float` | The height of the rectangle. | ##### Example ```python from groupdocs.annotation.models import Rectangle # Create a rectangle at position (100, 100) with width 200 and height 80 rect = Rectangle(100, 100, 200, 80) ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/equals.md #### equals Determines whether the specified rectangle is equal to the current rectangle. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | The rectangle to compare with the current rectangle. | **Returns:** bool: True if the specified rectangle is equal to the current rectangle; otherwise, False. ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/get_hash_code.md #### get_hash_code Serves as the default hash function. ```python def get_hash_code(self): ... ``` **Returns:** int: A hash code for the current rectangle. ### height property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/height.md #### height property The height of the rectangle. ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/width.md #### width property The width of the rectangle. ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### x property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/x.md #### x property The X coordinate of the rectangle. ##### Definition: ```python @property def x(self): ... @x.setter def x(self, value): ... ``` ### y property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rectangle/y.md #### y property The Y coordinate of the rectangle. ##### Definition: ```python @property def y(self): ... @y.setter def y(self, value): ... ``` ### Reply class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply.md #### Reply class Represents an annotation comment. The Reply type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | clone | Returns a new instance with the same values. | ##### Properties | Property | Description | | :- | :- | | comment | The comment text content. | | id | The comment identifier. | | parent_reply | The parent comment (in case current one is a reply to the original one). | | replied_on | The comment creation date and time. | | user | The comment author. | ##### Example ```python from groupdocs.annotation.models import Reply # Create a reply and set its comment reply = Reply() reply.comment = "Please double-check this" ``` ##### Guides Task guides that use `Reply`: * AI agents and LLM integration * Comments and replies * GroupDocs.Annotation for Python via .NET Overview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/__init__.md #### __init__ ```python def __init__(self): ... ``` ### clone method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/clone.md #### clone Returns a new instance with the same values. ```python def clone(self): ... ``` ### comment property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/comment.md #### comment property The comment text content. ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### id property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/id.md #### id property The comment identifier. ##### Definition: ```python @property def id(self): ... @id.setter def id(self, value): ... ``` ### parent_reply property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/parent_reply.md #### parent_reply property The parent comment (in case current one is a reply to the original one). ##### Definition: ```python @property def parent_reply(self): ... @parent_reply.setter def parent_reply(self, value): ... ``` ### replied_on property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/replied_on.md #### replied_on property The comment creation date and time. ##### Definition: ```python @property def replied_on(self): ... @replied_on.setter def replied_on(self, value): ... ``` ### user property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/user.md #### user property The comment author. ##### Definition: ```python @property def user(self): ... @user.setter def user(self, value): ... ``` ### ResolutionQuality class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/resolutionquality.md #### ResolutionQuality class The ResolutionQuality type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Default quality | | LOW | Allows to create documents of small size with a low image quality | | MEDIUM | Allows to create documents of medium size with a good image quality | | HIGH | Allows to create documents of big size with a high image quality | ### HIGH field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/resolutionquality/high.md #### HIGH field Allows to create documents of big size with a high image quality ##### Value `3` ### LOW field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/resolutionquality/low.md #### LOW field Allows to create documents of small size with a low image quality ##### Value `1` ### MEDIUM field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/resolutionquality/medium.md #### MEDIUM field Allows to create documents of medium size with a good image quality ##### Value `2` ### NONE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/resolutionquality/none.md #### NONE field Default quality ##### Value `0` ### Role class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/role.md #### Role class The Role type exposes the following members: ##### Fields | Field | Description | | :- | :- | | VIEWER | Viewer can only view comments | | EDITOR | Editor can view and edit comments | ##### Guides Task guides that use `Role`: * AI agents and LLM integration * Comments and replies ### EDITOR field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/role/editor.md #### EDITOR field Editor can view and edit comments ##### Value `1` ### VIEWER field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/role/viewer.md #### VIEWER field Viewer can only view comments ##### Value `0` ### RotationDocument class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rotationdocument.md #### RotationDocument class The RotationDocument type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Default one. Document is not rotated. | | ON90 | Rotate the document 90 degrees | | ON180 | Rotate the document 180 degrees | | ON270 | Rotate the document 270 degrees | ##### Guides Task guides that use `RotationDocument`: * AI agents and LLM integration ### NONE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rotationdocument/none.md #### NONE field Default one. Document is not rotated. ##### Value `0` ### ON180 field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rotationdocument/on180.md #### ON180 field Rotate the document 180 degrees ##### Value `2` ### ON270 field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rotationdocument/on270.md #### ON270 field Rotate the document 270 degrees ##### Value `3` ### ON90 field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/rotationdocument/on90.md #### ON90 field Rotate the document 90 degrees ##### Value `1` ### TextLineInfo class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/textlineinfo.md #### TextLineInfo class Class that defines text line information. The TextLineInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | height | The line height. | | left_indent | The left indent from left. | | text | The line text content. | | top_indent | The indent from top. | | width | The line width. | ### height property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/textlineinfo/height.md #### height property The line height. ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### left_indent property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/textlineinfo/left_indent.md #### left_indent property The left indent from left. ##### Definition: ```python @property def left_indent(self): ... @left_indent.setter def left_indent(self, value): ... ``` ### text property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/textlineinfo/text.md #### text property The line text content. ##### Definition: ```python @property def text(self): ... @text.setter def text(self, value): ... ``` ### top_indent property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/textlineinfo/top_indent.md #### top_indent property The indent from top. ##### Definition: ```python @property def top_indent(self): ... @top_indent.setter def top_indent(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/textlineinfo/width.md #### width property The line width. ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### User class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/user.md #### User class Class that represents a user. The User type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `User` class. | | __init__ | Initializes a new instance of `User`. | ##### Properties | Property | Description | | :- | :- | | email | The user email address. | | id | The User identifier. | | name | The user name. | | role | The role of the user. | ##### Example ```python from groupdocs.annotation.models import User, Role user = User(name="Tom", role=Role.EDITOR) ``` ##### Guides Task guides that use `User`: * AI agents and LLM integration * Comments and replies ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/user/__init__.md #### __init__ Initializes a new instance of `User` class. ```python def __init__(self): ... ``` #### __init__ Initializes a new instance of `User`. ```python def __init__(self, id, name, role): ... ``` | Parameter | Type | Description | | :- | :- | :- | | id | `int` | The user id. | | name | `str` | The user name. | | role | `Role` | The user role. | ##### Example ```python from groupdocs.annotation.models import User, Role # Create a user with a name and role user = User(name="Tom", role=Role.EDITOR) # Create a user with an explicit id user_with_id = User(id=123, name="Jack", role=Role.VIEWER) ``` ### email property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/user/email.md #### email property The user email address. ##### Definition: ```python @property def email(self): ... @email.setter def email(self, value): ... ``` ### id property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/user/id.md #### id property The User identifier. ##### Definition: ```python @property def id(self): ... @id.setter def id(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/user/name.md #### name property The user name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### role property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/user/role.md #### role property The role of the user. ##### Definition: ```python @property def role(self): ... @role.setter def role(self, value): ... ``` ### VersionsList class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist.md #### VersionsList class Class that defines a serializable list of the document version information. The VersionsList type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of VersionsList. | ##### Methods | Method | Description | | :- | :- | | add_version | Add list of the annotations. | | add_version | Adds a list of annotations for a version key. | | add_version_list | | | add_version_object | | | get_last_version_key | Gets the last version key. | | get_penultimate_version_key | Retrieves the penultimate version key. | | get_version | . | | get_version | . | | get_version_key_by_value | . | | get_version_key_by_value_list | | | get_version_object | | | replace_last_version | . | | replace_last_version_list | | ##### Properties | Property | Description | | :- | :- | | version | The current version. | | versions_dictionary | The versions dictionary. | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/__init__.md #### __init__ Initializes a new instance of VersionsList. ```python def __init__(self): ... ``` ### add_version method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/add_version.md #### add_version Add list of the annotations. ```python def add_version(self, annotations): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotations | `List[AnnotationBase]` | List of the annotations to add. | #### add_version Adds a list of annotations for a version key. ```python def add_version(self, new_version_key, annotations): ... ``` | Parameter | Type | Description | | :- | :- | :- | | new_version_key | `Any` | Key of the version. | | annotations | `List[AnnotationBase]` | List of the annotations. | | Raises | Description | | :- | :- | | `Exception` | If the version key already exists. | ### add_version_list method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/add_version_list.md #### add_version_list ```python def add_version_list(self): ... ``` ### add_version_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/add_version_object.md #### add_version_object ```python def add_version_object(self): ... ``` ### get_last_version_key method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/get_last_version_key.md #### get_last_version_key Gets the last version key. ```python def get_last_version_key(self): ... ``` ### get_penultimate_version_key method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/get_penultimate_version_key.md #### get_penultimate_version_key Retrieves the penultimate version key. ```python def get_penultimate_version_key(self): ... ``` ### get_version method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/get_version.md #### get_version . ```python def get_version(self, version_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | version_key | `Any` | | #### get_version . ```python def get_version(self): ... ``` ### get_version_key_by_value method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/get_version_key_by_value.md #### get_version_key_by_value . ```python def get_version_key_by_value(self, annotations): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotations | `List[AnnotationBase]` | | ### get_version_key_by_value_list method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/get_version_key_by_value_list.md #### get_version_key_by_value_list ```python def get_version_key_by_value_list(self): ... ``` ### get_version_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/get_version_object.md #### get_version_object ```python def get_version_object(self): ... ``` ### replace_last_version method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/replace_last_version.md #### replace_last_version . ```python def replace_last_version(self, annotations): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotations | `List[AnnotationBase]` | | ### replace_last_version_list method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/replace_last_version_list.md #### replace_last_version_list ```python def replace_last_version_list(self): ... ``` ### version property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/version.md #### version property The current version. ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### versions_dictionary property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/versionslist/versions_dictionary.md #### versions_dictionary property The versions dictionary. ##### Definition: ```python @property def versions_dictionary(self): ... @versions_dictionary.setter def versions_dictionary(self, value): ... ``` ### VerticalAlignment class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/verticalalignment.md #### VerticalAlignment class The VerticalAlignment type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Default value, aligned wont be used | | TOP | Target will be aligned to top side | | CENTER | Target will be aligned to center | | BOTTOM | Target will be aligned to bottom side | ##### Guides Task guides that use `VerticalAlignment`: * AI agents and LLM integration * Add annotations ### BOTTOM field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/verticalalignment/bottom.md #### BOTTOM field Target will be aligned to bottom side ##### Value `3` ### CENTER field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/verticalalignment/center.md #### CENTER field Target will be aligned to center ##### Value `2` ### NONE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/verticalalignment/none.md #### NONE field Default value, aligned wont be used ##### Value `0` ### TOP field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/verticalalignment/top.md #### TOP field Target will be aligned to top side ##### Value `1` ### groupdocs.annotation.options Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options.md Option classes for configuring conversions and operations. ##### Classes | Class | Description | | :- | :- | | `CreatePageStream` | Delegate that defines method to create output page preview stream. | | `LoadOptions` | Allows to specify additional options (such as password) when opening a document to annotate. | | `PreviewOptions` | The class represents document preview options. | | `ReleasePageStream` | Delegate that defines method to release output page preview stream. | | `SaveOptions` | Allows to specify additional options (such as password) when saving an annotated document. | | `WorksheetColumnsRange` | Represents a range of columns for a specified worksheet. | ##### Enumerations | Enum | Description | | :- | :- | | `AnnotationType` | | | `PreviewFormats` | | ### AnnotationType class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype.md #### AnnotationType class The AnnotationType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Default value | | AREA | The area annotation type that highlights rectangular area within the document page | | ARROW | The annotation type that draws an arrow on the document page | | DISTANCE | The annotation type that measures distance between elements of a document page | | ELLIPSE | The annotation of elliptic form that marks parts of document content | | LINK | The annotation type that represents a hyperlink to a remote resource | | POINT | The point annotation type that sticks a comment to an any place within document page | | POLYLINE | The polyline annotation type that allows add drawing shapes and freehand lines to a document page | | RESOURCES_REDACTION | The annotation type that hides textual content behind black rectangle | | TEXT_FIELD | The text field annotation type represents textual comment inside colored frame | | TEXT_HIGHLIGHT | The annotation type that highlights and comments selected text | | TEXT_REDACTION | The annotation type that fills part of selected text with black rectangle. | | TEXT_REPLACEMENT | The annotation type that replaces original text with other provided text fragment | | TEXT_STRIKEOUT | The annotation type that marks text fragment with a strikethrough styling | | TEXT_SQUIGGLY | The annotation type that squiggly and comments selected text | | SEARCH_TEXT | The annotation type that search fragment text in document | | TEXT_UNDERLINE | The annotation type that marks text with a underline styling | | WATERMARK | The annotation type that adds textual watermark over document page | | IMAGE | The annotation type that adds image overlay over document page content | | DROPDOWN | The component type that adds dropdown component for pdf document only | | CHECKBOX | The annotation type that adds checkbox for pdf document | | BUTTON | The annotation type that adds button for pdf document | | ALL | All | ##### Guides Task guides that use `AnnotationType`: * AI agents and LLM integration * Saving documents * GroupDocs.Annotation for Python via .NET Overview ### ALL field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/all.md #### ALL field All ##### Value `2147483647` ### AREA field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/area.md #### AREA field The area annotation type that highlights rectangular area within the document page ##### Value `2` ### ARROW field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/arrow.md #### ARROW field The annotation type that draws an arrow on the document page ##### Value `4` ### BUTTON field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/button.md #### BUTTON field The annotation type that adds button for pdf document ##### Value `139264` ### CHECKBOX field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/checkbox.md #### CHECKBOX field The annotation type that adds checkbox for pdf document ##### Value `135168` ### DISTANCE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/distance.md #### DISTANCE field The annotation type that measures distance between elements of a document page ##### Value `8` ### DROPDOWN field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/dropdown.md #### DROPDOWN field The component type that adds dropdown component for pdf document only ##### Value `131072` ### ELLIPSE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/ellipse.md #### ELLIPSE field The annotation of elliptic form that marks parts of document content ##### Value `16` ### IMAGE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/image.md #### IMAGE field The annotation type that adds image overlay over document page content ##### Value `65536` ### LINK field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/link.md #### LINK field The annotation type that represents a hyperlink to a remote resource ##### Value `32` ### NONE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/none.md #### NONE field Default value ##### Value `0` ### POINT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/point.md #### POINT field The point annotation type that sticks a comment to an any place within document page ##### Value `64` ### POLYLINE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/polyline.md #### POLYLINE field The polyline annotation type that allows add drawing shapes and freehand lines to a document page ##### Value `128` ### RESOURCES_REDACTION field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/resources_redaction.md #### RESOURCES_REDACTION field The annotation type that hides textual content behind black rectangle ##### Value `256` ### SEARCH_TEXT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/search_text.md #### SEARCH_TEXT field The annotation type that search fragment text in document ##### Value `9984` ### TEXT_FIELD field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/text_field.md #### TEXT_FIELD field The text field annotation type represents textual comment inside colored frame ##### Value `512` ### TEXT_HIGHLIGHT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/text_highlight.md #### TEXT_HIGHLIGHT field The annotation type that highlights and comments selected text ##### Value `1024` ### TEXT_REDACTION field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/text_redaction.md #### TEXT_REDACTION field The annotation type that fills part of selected text with black rectangle. ##### Value `2048` ### TEXT_REPLACEMENT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/text_replacement.md #### TEXT_REPLACEMENT field The annotation type that replaces original text with other provided text fragment ##### Value `4096` ### TEXT_SQUIGGLY field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/text_squiggly.md #### TEXT_SQUIGGLY field The annotation type that squiggly and comments selected text ##### Value `9472` ### TEXT_STRIKEOUT field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/text_strikeout.md #### TEXT_STRIKEOUT field The annotation type that marks text fragment with a strikethrough styling ##### Value `8192` ### TEXT_UNDERLINE field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/text_underline.md #### TEXT_UNDERLINE field The annotation type that marks text with a underline styling ##### Value `16384` ### WATERMARK field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/watermark.md #### WATERMARK field The annotation type that adds textual watermark over document page ##### Value `32768` ### CreatePageStream class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream.md #### CreatePageStream class Delegate that defines method to create output page preview stream. The CreatePageStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | begin_invoke | | | begin_invoke_int32 | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream/__init__.md #### __init__ ```python def __init__(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `System.IntPtr` | | ### begin_invoke method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self, page_number, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | callback | `System.AsyncCallback` | | | object | `Any` | | ### begin_invoke_int32 method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream/end_invoke.md #### end_invoke ```python def end_invoke(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `System.IAsyncResult` | | ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream/invoke.md #### invoke ```python def invoke(self, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | ### invoke_int32 method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/createpagestream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### LoadOptions class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/loadoptions.md #### LoadOptions class Allows to specify additional options (such as password) when opening a document to annotate. The LoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Properties | Property | Description | | :- | :- | | font_directories | The list of font directories to load custom fonts from. | | password | The document password. | | version | The version of the document to load. Default is the latest version. | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.options import LoadOptions from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def load_password_protected_document(): # Provide the password through LoadOptions load_options = LoadOptions() load_options.password = "secret" with Annotator("./protected.docx", load_options=load_options) as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) area.background_color = Color.yellow.to_argb() area.page_number = 0 area.message = "Annotated a password-protected document" annotator.add(area) annotator.save("./output.docx") ``` ##### Guides Task guides that use `LoadOptions`: * AI agents and LLM integration * Loading documents ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/loadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### font_directories property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/loadoptions/font_directories.md #### font_directories property The list of font directories to load custom fonts from. ##### Definition: ```python @property def font_directories(self): ... @font_directories.setter def font_directories(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/loadoptions/password.md #### password property The document password. ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### version property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/loadoptions/version.md #### version property The version of the document to load. Default is the latest version. ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### PreviewFormats class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewformats.md #### PreviewFormats class The PreviewFormats type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PNG | Png (by default), can be take a lot of disc space / traffic if page contains a lot of color graphics | | JPEG | Jpeg - faster processing, small disc space using / traffic, but can be worst quality | | BMP | BMP - slow processing, high disc space usage / traffic, but best quality | ##### Guides Task guides that use `PreviewFormats`: * Generate document preview ### BMP field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewformats/bmp.md #### BMP field BMP - slow processing, high disc space usage / traffic, but best quality ##### Value `2` ### JPEG field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewformats/jpeg.md #### JPEG field Jpeg - faster processing, small disc space using / traffic, but can be worst quality ##### Value `1` ### PNG field Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewformats/png.md #### PNG field Png (by default), can be take a lot of disc space / traffic if page contains a lot of color graphics ##### Value `0` ### PreviewOptions class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions.md #### PreviewOptions class The class represents document preview options. The PreviewOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `PreviewOptions` class. | | __init__ | Initializes a new PreviewOptions instance. | ##### Properties | Property | Description | | :- | :- | | create_page_stream | The delegate that defines a method to create an output page preview stream. | | height | The page preview height. | | page_numbers | The page numbers that will be previewed. | | preview_format | The preview image format. | | release_page_stream | The delegate which defines method to remove output page preview stream. | | render_annotations | The property that controls whether annotations will be generated on the preview (default is True). | | render_comments | The property that controls whether comments will be generated on the preview; default is True and it is supported only in MS Word documents. | | resolution | The resolution for generated images, in dots per inch. | | width | The page preview width. | | worksheet_columns | The worksheet columns to generate. Generation proceeds in the specified order. | ##### Example ```python import os from groupdocs.annotation import Annotator from groupdocs.annotation.options import PreviewOptions, PreviewFormats def generate_document_preview(): output_dir = "./preview" os.makedirs(output_dir, exist_ok=True) open_streams = {} def create_page_stream(page_number): stream = open(os.path.join(output_dir, f"page_{page_number}.png"), "wb") open_streams[page_number] = stream return stream def release_page_stream(page_number, page_stream): stream = open_streams.pop(page_number, None) if stream: stream.close() with Annotator("./sample.pdf") as annotator: preview_options = PreviewOptions(create_page_stream, release_page_stream) preview_options.preview_format = PreviewFormats.PNG preview_options.page_numbers = [1] annotator.document.generate_preview(preview_options) print(f"Generated page preview image(s) in {output_dir}.") ``` ##### Guides Task guides that use `PreviewOptions`: * Generate document preview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/__init__.md #### __init__ Initializes a new instance of `PreviewOptions` class. ```python def __init__(self, create_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | Callable that defines method to create output page preview stream. | ##### Example ```python import os from groupdocs.annotation import Annotator from groupdocs.annotation.options import PreviewOptions, PreviewFormats def generate_document_preview(): output_dir = "./preview" os.makedirs(output_dir, exist_ok=True) open_streams = {} def create_page_stream(page_number): stream = open(os.path.join(output_dir, f"page_{page_number}.png"), "wb") open_streams[page_number] = stream return stream def release_page_stream(page_number, page_stream): stream = open_streams.pop(page_number, None) if stream: stream.close() with Annotator("./sample.pdf") as annotator: preview_options = PreviewOptions(create_page_stream, release_page_stream) preview_options.preview_format = PreviewFormats.PNG preview_options.page_numbers = [1] annotator.document.generate_preview(preview_options) print(f"Generated page preview image(s) in {output_dir}.") ``` #### __init__ Initializes a new PreviewOptions instance. ```python def __init__(self, create_page_stream, release_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | Delegate which defines method to create output page preview stream. | | release_page_stream | `ReleasePageStream` | Delegate which defines method to release output page preview stream. | ##### Example ```python import os from groupdocs.annotation import Annotator from groupdocs.annotation.options import PreviewOptions, PreviewFormats def generate_document_preview(): output_dir = "./preview" os.makedirs(output_dir, exist_ok=True) open_streams = {} def create_page_stream(page_number): stream = open(os.path.join(output_dir, f"page_{page_number}.png"), "wb") open_streams[page_number] = stream return stream def release_page_stream(page_number, page_stream): stream = open_streams.pop(page_number, None) if stream: stream.close() with Annotator("./sample.pdf") as annotator: preview_options = PreviewOptions(create_page_stream, release_page_stream) preview_options.preview_format = PreviewFormats.PNG preview_options.page_numbers = [1] annotator.document.generate_preview(preview_options) print(f"Generated page preview image(s) in {output_dir}.") ``` ### create_page_stream property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/create_page_stream.md #### create_page_stream property The delegate that defines a method to create an output page preview stream. The callable should accept a page number (`int`) and return a writable stream (`io.RawIOBase`). ##### Definition: ```python @property def create_page_stream(self): ... @create_page_stream.setter def create_page_stream(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/height.md #### height property The page preview height. ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### page_numbers property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/page_numbers.md #### page_numbers property The page numbers that will be previewed. ##### Definition: ```python @property def page_numbers(self): ... @page_numbers.setter def page_numbers(self, value): ... ``` ### preview_format property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/preview_format.md #### preview_format property The preview image format. ##### Definition: ```python @property def preview_format(self): ... @preview_format.setter def preview_format(self, value): ... ``` ### release_page_stream property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/release_page_stream.md #### release_page_stream property The delegate which defines method to remove output page preview stream. ##### Definition: ```python @property def release_page_stream(self): ... @release_page_stream.setter def release_page_stream(self, value): ... ``` ### render_annotations property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/render_annotations.md #### render_annotations property The property that controls whether annotations will be generated on the preview (default is True). ##### Definition: ```python @property def render_annotations(self): ... @render_annotations.setter def render_annotations(self, value): ... ``` ### render_comments property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/render_comments.md #### render_comments property The property that controls whether comments will be generated on the preview; default is True and it is supported only in MS Word documents. ##### Definition: ```python @property def render_comments(self): ... @render_comments.setter def render_comments(self, value): ... ``` ### resolution property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/resolution.md #### resolution property The resolution for generated images, in dots per inch. The default value is 96. ##### Definition: ```python @property def resolution(self): ... @resolution.setter def resolution(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/width.md #### width property The page preview width. ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### worksheet_columns property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/worksheet_columns.md #### worksheet_columns property The worksheet columns to generate. Generation proceeds in the specified order. ##### Definition: ```python @property def worksheet_columns(self): ... @worksheet_columns.setter def worksheet_columns(self, value): ... ``` ### ReleasePageStream class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream.md #### ReleasePageStream class Delegate that defines method to release output page preview stream. The ReleasePageStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | begin_invoke | | | begin_invoke_int32 | | | begin_invoke_stream | | | begin_invoke_streams | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | | invoke_stream | | | invoke_streams | | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/__init__.md #### __init__ ```python def __init__(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `System.IntPtr` | | ### begin_invoke method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self, page_number, page_stream, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | page_stream | `io.RawIOBase` | | | callback | `System.AsyncCallback` | | | object | `Any` | | ### begin_invoke_int32 method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### begin_invoke_stream method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/begin_invoke_stream.md #### begin_invoke_stream ```python def begin_invoke_stream(self): ... ``` ### begin_invoke_streams method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/begin_invoke_streams.md #### begin_invoke_streams ```python def begin_invoke_streams(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/end_invoke.md #### end_invoke ```python def end_invoke(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `System.IAsyncResult` | | ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/invoke.md #### invoke ```python def invoke(self, page_number, page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | page_stream | `io.RawIOBase` | | ### invoke_int32 method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### invoke_stream method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/invoke_stream.md #### invoke_stream ```python def invoke_stream(self): ... ``` ### invoke_streams method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/releasepagestream/invoke_streams.md #### invoke_streams ```python def invoke_streams(self): ... ``` ### SaveOptions class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions.md #### SaveOptions class Allows to specify additional options (such as password) when saving an annotated document. The SaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Properties | Property | Description | | :- | :- | | annotation_types | The annotations that will be in the resultant document. | | first_page | The first page number when saving a page range. | | last_page | The last page number when saving a page range. | | only_annotated_pages | The property indicates whether to save only annotated pages. | | version | The version key that will be used to access the current version. | ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.options import SaveOptions, AnnotationType with Annotator("document.pdf") as annotator: options = SaveOptions() options.annotation_types = AnnotationType.AREA options.first_page = 1 options.last_page = 2 annotator.save("filtered.pdf", save_options=options) ``` ##### Guides Task guides that use `SaveOptions`: * AI agents and LLM integration * Saving documents * GroupDocs.Annotation for Python via .NET Overview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### annotation_types property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions/annotation_types.md #### annotation_types property The annotations that will be in the resultant document. ##### Definition: ```python @property def annotation_types(self): ... @annotation_types.setter def annotation_types(self, value): ... ``` ### first_page property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions/first_page.md #### first_page property The first page number when saving a page range. ##### Definition: ```python @property def first_page(self): ... @first_page.setter def first_page(self, value): ... ``` ### last_page property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions/last_page.md #### last_page property The last page number when saving a page range. ##### Definition: ```python @property def last_page(self): ... @last_page.setter def last_page(self, value): ... ``` ### only_annotated_pages property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions/only_annotated_pages.md #### only_annotated_pages property The property indicates whether to save only annotated pages. ##### Definition: ```python @property def only_annotated_pages(self): ... @only_annotated_pages.setter def only_annotated_pages(self, value): ... ``` ### version property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions/version.md #### version property The version key that will be used to access the current version. ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### WorksheetColumnsRange class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/worksheetcolumnsrange.md #### WorksheetColumnsRange class Represents a range of columns for a specified worksheet. The WorksheetColumnsRange type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `WorksheetColumnsRange`. | | __init__ | Initializes a new instance of `WorksheetColumnsRange` class. | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/worksheetcolumnsrange/__init__.md #### __init__ Initializes a new instance of `WorksheetColumnsRange`. ```python def __init__(self, worksheet_index, first_column, last_column): ... ``` | Parameter | Type | Description | | :- | :- | :- | | worksheet_index | `int` | Worksheet index | | first_column | `int` | First column | | last_column | `int` | Last column | #### __init__ Initializes a new instance of `WorksheetColumnsRange` class. ```python def __init__(self, worksheet_name, first_column, last_column): ... ``` | Parameter | Type | Description | | :- | :- | :- | | worksheet_name | `str` | Worksheet name. | | first_column | `int` | First column. | | last_column | `int` | Last column. | ### groupdocs.annotation.utility Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility.md Types under `groupdocs.annotation.utility`. ##### Classes | Class | Description | | :- | :- | | `SerializableDictionary` | | ### SerializableDictionary class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary.md #### SerializableDictionary class The SerializableDictionary type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | get_object_data | | | get_object_data_serialization_info | | | get_schema | | | read_xml | | | read_xml_xml_reader | | | write_xml | | | write_xml_xml_writer | | ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/__init__.md #### __init__ ```python def __init__(self): ... ``` ### get_object_data method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/get_object_data.md #### get_object_data ```python def get_object_data(self, info, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | info | `System.Runtime.Serialization.SerializationInfo` | | | context | `System.Runtime.Serialization.StreamingContext` | | ### get_object_data_serialization_info method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/get_object_data_serialization_info.md #### get_object_data_serialization_info ```python def get_object_data_serialization_info(self): ... ``` ### get_schema method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/get_schema.md #### get_schema ```python def get_schema(self): ... ``` ### read_xml method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/read_xml.md #### read_xml ```python def read_xml(self, reader): ... ``` | Parameter | Type | Description | | :- | :- | :- | | reader | `System.Xml.XmlReader` | | ### read_xml_xml_reader method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/read_xml_xml_reader.md #### read_xml_xml_reader ```python def read_xml_xml_reader(self): ... ``` ### write_xml method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/write_xml.md #### write_xml ```python def write_xml(self, writer): ... ``` | Parameter | Type | Description | | :- | :- | :- | | writer | `System.Xml.XmlWriter` | | ### write_xml_xml_writer method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.utility/serializabledictionary/write_xml_xml_writer.md #### write_xml_xml_writer ```python def write_xml_xml_writer(self): ... ``` ### groupdocs.annotation Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.md Main GroupDocs.Annotation namespace with top-level API classes. ##### Classes | Class | Description | | :- | :- | | `Annotator` | The Annotator class is the central component of the GroupDocs.Annotation API, designed to manage and facilitate the document annotation process across various formats. | | `AnnotatorSettings` | Defines settings for customizing `Annotator` behavior. | | `Document` | Represents various document properties. | | `FileType` | Information about file, such as type, extension, etc. | | `IDocumentInfo` | Interface that defines list of available document information. | | `License` | Manages GroupDocs.Annotation licensing. | | `Metered` | Manages metered (pay-per-use) licensing. | ##### Exceptions | Exception | Description | | :- | :- | | `AnnotatorException` | An error that occur during the document annotation process. | | `ConvertFileException` | The exception that is thrown if file conversion failed. | | `CorruptedOrDamagedFileException` | The exception that is thrown when file is corrupted or damaged. | | `FileTypeNotSupportedException` | The exception that is thrown when file type is not supported. | | `GroupDocsAnnotationException` | Product-root exception for 'annotation' — every | | `IOException` | The exception that is thrown when trying to apply format-specific annotation to the wrong file type. | | `ImageNotLoadedException` | The exception that is thrown when image cannot be loaded from remote or local path. Usually happens if the provided "path" is incorrect. | | `PasswordProtectedFileException` | The exception that is thrown when provided password is incorrect. | ### Annotator class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator.md #### Annotator class The Annotator class is the central component of the GroupDocs.Annotation API, designed to manage and facilitate the document annotation process across various formats. Learn more - More about GroupDocs.Annotation features: GroupDocs.Annotation Developer Guide (https://docs.groupdocs.com/display/annotationnet/Developer+Guide) The Annotator type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes annotator class which accepts a document path. | | __init__ | Initializes annotator class which accepts document path and options. | | __init__ | Initializes annotator class which accepts document path and settings. | | __init__ | Initializes annotator class which accept document path, options and settings. | | __init__ | Initializes annotator class which accepts a document stream. | | __init__ | Initializes annotator class which accepts a document stream and options. | | __init__ | Initializes annotator class which accepts a document stream and settings. | | __init__ | Initializes annotator class which accepts a document stream, load options, and settings. | ##### Methods | Method | Description | | :- | :- | | add | Adds annotation to document. | | add | Adds a collection of annotations to a document. | | add_annotation_base | | | add_list | | | dispose | Dispose. | | export_annotations_to_xml_file | Exports annotations from the document to an XML file. | | export_annotations_to_xml_file_file | | | export_annotations_to_xml_file_string | | | get | Gets collections of document annotations. | | get | Returns a collection of document annotations filtered by the specified annotation type. | | get_annotation_type | | | get_version | Retrieves annotations from a specific version. | | get_version_object | | | get_versions_list | Retrieves the list of versions. | | import_annotations_from_xml_file | Export annotations from XML file. | | import_annotations_from_xml_file_file | | | import_annotations_from_xml_file_string | | | remove | Removes an annotation from the document by its identifier. | | remove | Removes an annotation from the document. | | remove | Removes a collection of annotations from the document using the provided annotation IDs. | | remove | Removes collection of annotations from document. | | remove_annotation_base | | | remove_int32 | | | remove_list | | | save | Saves document after adding, updating or removing annotations. | | save | Saves the document after adding, updating, or removing annotations. | | save | Saves document after adding, updating or removing annotations. | | save | Saves the document after adding, updating, or removing annotations. | | save | Saves document after adding, updating or removing annotations. | | save | Saves document after adding, updating or removing annotations. | | save_file | | | save_save_options | | | save_stream | | | save_streams | | | save_string | | | update | Updates document annotation by id. | | update | Updates collection of document annotations by overriding the previous list with a new one. | | update_annotation_base | | | update_list | | ##### Properties | Property | Description | | :- | :- | | document | The document contains various information about the uploaded document. | | process_pages | The count of processed pages. | | rotation | The document rotation angle. | ##### Example ```python from groupdocs.annotation import Annotator def export_annotations_to_xml(): with Annotator("./annotated.pdf") as annotator: annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") print("Exported annotations to ./exported_annotations.xml.") ``` ##### Guides Task guides that use `Annotator`: * AI agents and LLM integration * Generate document preview * Loading documents * Saving documents * Add annotations * Comments and replies * Import and export annotations * Manage annotations * Hello, World! * GroupDocs.Annotation for Python via .NET Overview ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/__init__.md #### __init__ Initializes annotator class which accepts a document path. - More about file types supported by GroupDocs.Annotation: https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats - More about GroupDocs.Annotation for .NET features: https://docs.groupdocs.com/display/annotationnet/Developer+Guide ```python def __init__(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | File path. | ##### Example ```python from groupdocs.annotation import Annotator with Annotator("./annotated.pdf") as annotator: # Export annotations to an XML file annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") ``` #### __init__ Initializes annotator class which accepts document path and options. Learn more - More about file types supported by GroupDocs.Annotation: https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats - More about GroupDocs.Annotation for .NET features: https://docs.groupdocs.com/display/annotationnet/Developer+Guide - More about how to open and annotate password-protected document: https://docs.groupdocs.com/display/annotationnet/Load+password-protected+documents - More about how to open and annotate document from URL, FTP, Amazon S3, Azure Blob Storage and others: https://docs.groupdocs.com/display/annotationnet/Loading+documents+from+different+sources ```python def __init__(self, file_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | File path. | | load_options | `LoadOptions` | Load options. | ##### Example ```python from groupdocs.annotation import Annotator def export_annotations_to_xml(): with Annotator("./annotated.pdf") as annotator: annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") print("Exported annotations to ./exported_annotations.xml.") ``` #### __init__ Initializes annotator class which accepts document path and settings. - More about file types supported by GroupDocs.Annotation: https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats - More about GroupDocs.Annotation for .NET features: https://docs.groupdocs.com/display/annotationnet/Developer+Guide ```python def __init__(self, file_path, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | File path. | | settings | `AnnotatorSettings` | Annotator settings. | ##### Example ```python from groupdocs.annotation import Annotator with Annotator("./sample.pdf") as annotator: # perform annotation operations here annotator.save("./output.pdf") ``` #### __init__ Initializes annotator class which accept document path, options and settings. Learn more: - More about file types supported by GroupDocs.Annotation: Document formats supported by GroupDocs.Annotation (https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats) - More about GroupDocs.Annotation for .NET features: Developer Guide (https://docs.groupdocs.com/display/annotationnet/Developer+Guide) - More about how to open and annotate password-protected document: Open and annotate password-protected document (https://docs.groupdocs.com/display/annotationnet/Load+password-protected+documents) - More about how to open and annotate document from URL, FTP, Amazon S3, Azure Blob Storage and others: Open and annotate documents from third-party storages (https://docs.groupdocs.com/display/annotationnet/Loading+documents+from+different+sources) ```python def __init__(self, file_path, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | File path. | | load_options | `LoadOptions` | Load options. | | settings | `AnnotatorSettings` | Annotator settings. | ##### Example ```python from groupdocs.annotation import Annotator def export_annotations_to_xml(): with Annotator("./annotated.pdf") as annotator: annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") print("Exported annotations to ./exported_annotations.xml.") ``` #### __init__ Initializes annotator class which accepts a document stream. Learn more - More about file types supported by GroupDocs.Annotation: https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats - More about GroupDocs.Annotation for .NET features: https://docs.groupdocs.com/display/annotationnet/Developer+Guide ```python def __init__(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `io.RawIOBase` | Document stream. | ##### Example ```python import io from groupdocs.annotation import Annotator with Annotator("document.pdf") as annotator: # add annotations here, e.g., annotator.add(area) buf = io.BytesIO() annotator.save(buf) # BytesIO is updated after save data = buf.getvalue() ``` #### __init__ Initializes annotator class which accepts a document stream and options. ```python def __init__(self, document, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `io.RawIOBase` | Document stream. | | load_options | `LoadOptions` | Load options. - More about file types supported by GroupDocs.Annotation: https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats - More about GroupDocs.Annotation for .NET features: https://docs.groupdocs.com/display/annotationnet/Developer+Guide - More about how to open and annotate password-protected document: https://docs.groupdocs.com/display/annotationnet/Load+password-protected+documents - More about how to open and annotate document from URL, FTP, Amazon S3, Azure Blob Storage and others: https://docs.groupdocs.com/display/annotationnet/Loading+documents+from+different+sources | ##### Example ```python from groupdocs.annotation import Annotator def export_annotations_to_xml(): with Annotator("./annotated.pdf") as annotator: annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") print("Exported annotations to ./exported_annotations.xml.") ``` #### __init__ Initializes annotator class which accepts a document stream and settings. - More about file types supported by GroupDocs.Annotation: [Document formats supported by GroupDocs.Annotation](https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats) - More about GroupDocs.Annotation for .NET features: [Developer Guide](https://docs.groupdocs.com/display/annotationnet/Developer+Guide) ```python def __init__(self, document, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `io.RawIOBase` | Document stream. | | settings | `AnnotatorSettings` | Annotator settings. | ##### Example ```python from groupdocs.annotation import Annotator def export_annotations_to_xml(): with Annotator("./annotated.pdf") as annotator: annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") print("Exported annotations to ./exported_annotations.xml.") ``` #### __init__ Initializes annotator class which accepts a document stream, load options, and settings. Learn more. - More about file types supported by GroupDocs.Annotation: https://docs.groupdocs.com/display/annotationnet/Supported+Document+Formats - More about GroupDocs.Annotation for .NET features: https://docs.groupdocs.com/display/annotationnet/Developer+Guide - More about how to open and annotate password-protected document: https://docs.groupdocs.com/display/annotationnet/Load+password-protected+documents - More about how to open and annotate document from URL, FTP, Amazon S3, Azure Blob Storage and others: https://docs.groupdocs.com/display/annotationnet/Loading+documents+from+different+sources ```python def __init__(self, document, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `io.RawIOBase` | Document stream. | | load_options | `LoadOptions` | Load options. | | settings | `AnnotatorSettings` | Annotator settings. | ### add method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/add.md #### add Adds annotation to document. Learn more - More about how to add annotation to document: How to annotate document in C# (https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document) ```python def add(self, annotation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotation | `AnnotationBase` | The annotation to add. | **Returns:** None. ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import PointAnnotation with Annotator("./sample.pdf") as annotator: point = PointAnnotation() point.box = Rectangle(100, 100, 0, 0) point.page_number = 0 point.message = "This is a point annotation" annotator.add(point) annotator.save("./output.pdf") ``` #### add Adds a collection of annotations to a document. Learn more - More about how to add annotation to document: [How to annotate document in C#](https://docs.groupdocs.com/display/annotationnet/Add+annotation+to+the+document) ```python def add(self, annotations): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotations | `List[AnnotationBase]` | The annotations list to add. | **Returns:** None. ##### Example ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import PointAnnotation def add_point_annotation(): with Annotator("./sample.pdf") as annotator: point = PointAnnotation() point.box = Rectangle(100, 100, 0, 0) # a point is positioned by its box origin point.page_number = 0 point.message = "This is a point annotation" annotator.add([point]) annotator.save("./output.pdf") ``` ### add_annotation_base method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/add_annotation_base.md #### add_annotation_base ```python def add_annotation_base(self): ... ``` ### add_list method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/add_list.md #### add_list ```python def add_list(self): ... ``` ### dispose method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/dispose.md #### dispose Dispose. ```python def dispose(self): ... ``` ### document property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/document.md #### document property The document contains various information about the uploaded document. ##### Definition: ```python @property def document(self): ... ``` ### export_annotations_to_xml_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/export_annotations_to_xml_file.md #### export_annotations_to_xml_file Exports annotations from the document to an XML file. Learn more: - More about how to import annotations: https://docs.groupdocs.com/display/annotationnet/Import+annotations+from+document ```python def export_annotations_to_xml_file(self, output_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_path | `str` | The output file path (must be in .xml format). | ##### Example ```python from groupdocs.annotation import Annotator def export_annotations_to_xml(): with Annotator("./annotated.pdf") as annotator: annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") print("Exported annotations to ./exported_annotations.xml.") ``` ### export_annotations_to_xml_file_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/export_annotations_to_xml_file_file.md #### export_annotations_to_xml_file_file ```python def export_annotations_to_xml_file_file(self): ... ``` ### export_annotations_to_xml_file_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/export_annotations_to_xml_file_string.md #### export_annotations_to_xml_file_string ```python def export_annotations_to_xml_file_string(self): ... ``` ### get method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/get.md #### get Gets collections of document annotations. Learn more: - More about how to get document annotations collection: How to get document annotations in C# (https://docs.groupdocs.com/display/annotationnet/Extract+annotations+from+document) ```python def get(self): ... ``` **Returns:** The list of annotations. ##### Example ```python from groupdocs.annotation import Annotator def get_all_annotations(): # Open a document that already contains annotations and list them with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() print(f"Found {len(annotations)} annotation(s):") for annotation in annotations: print(f" [{annotation.id}] {type(annotation).__name__}: {annotation.message}") if __name__ == "__main__": get_all_annotations() ``` #### get Returns a collection of document annotations filtered by the specified annotation type. ```python def get(self, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | type | `AnnotationType` | The annotation type that must be returned. | **Returns:** list[GroupDocs.Annotation.Annotation]: The list of annotations of the specified type. - Learn more: More about how to get document annotations collection: https://docs.groupdocs.com/display/annotationnet/Extract+annotations+from+document ##### Example ```python from groupdocs.annotation import Annotator def get_all_annotations(): # Open a document that already contains annotations and list them with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() print(f"Found {len(annotations)} annotation(s):") for annotation in annotations: print(f" [{annotation.id}] {type(annotation).__name__}: {annotation.message}") if __name__ == "__main__": get_all_annotations() ``` ### get_annotation_type method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/get_annotation_type.md #### get_annotation_type ```python def get_annotation_type(self): ... ``` ### get_version method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/get_version.md #### get_version Retrieves annotations from a specific version. ```python def get_version(self, version): ... ``` | Parameter | Type | Description | | :- | :- | :- | | version | `Any` | The version's key of the version you want to return. | **Returns:** The list of annotations from the specified version. If `None`, returns the latest version. ### get_version_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/get_version_object.md #### get_version_object ```python def get_version_object(self): ... ``` ### get_versions_list method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/get_versions_list.md #### get_versions_list Retrieves the list of versions. ```python def get_versions_list(self): ... ``` **Returns:** The list of versions. ### import_annotations_from_xml_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/import_annotations_from_xml_file.md #### import_annotations_from_xml_file Export annotations from XML file. Learn more - More about how to export annotations: https://docs.groupdocs.com/display/annotationnet/Export+annotations+from+document ```python def import_annotations_from_xml_file(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | The path to XML file. | ##### Example ```python from groupdocs.annotation import Annotator def import_annotations_from_xml(): with Annotator("./sample.pdf") as annotator: annotator.import_annotations_from_xml_file(file_path="./annotations.xml") annotator.save("./output.pdf") print("Imported annotations from ./annotations.xml. Output saved to ./output.pdf.") if __name__ == "__main__": import_annotations_from_xml() ``` ### import_annotations_from_xml_file_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/import_annotations_from_xml_file_file.md #### import_annotations_from_xml_file_file ```python def import_annotations_from_xml_file_file(self): ... ``` ### import_annotations_from_xml_file_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/import_annotations_from_xml_file_string.md #### import_annotations_from_xml_file_string ```python def import_annotations_from_xml_file_string(self): ... ``` ### process_pages property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/process_pages.md #### process_pages property The count of processed pages. ##### Definition: ```python @property def process_pages(self): ... @process_pages.setter def process_pages(self, value): ... ``` ### remove method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/remove.md #### remove Removes an annotation from the document by its identifier. - More about how to remove document annotations: https://docs.groupdocs.com/display/annotationnet/Remove+annotation+from+document ```python def remove(self, annotation_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotation_id | `int` | The annotation's id that must be removed. | ##### Example ```python from groupdocs.annotation import Annotator def remove_annotation_by_id(): # Open an annotated document and remove a single annotation by its id with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() if annotations: annotator.remove(annotation_id=annotations[0].id) annotator.save("./output.pdf") ``` #### remove Removes an annotation from the document. - More about how to remove document annotations: How to remove document annotations in C# (https://docs.groupdocs.com/display/annotationnet/Remove+annotation+from+document) ```python def remove(self, annotation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotation | `AnnotationBase` | Annotation that must be removed. | **Returns:** None. ##### Example ```python from groupdocs.annotation import Annotator def remove_annotation_by_object(): # Open an annotated document and remove a single annotation by its object with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() if annotations: annotator.remove(annotation=annotations[0]) annotator.save("./output.pdf") ``` #### remove Removes a collection of annotations from the document using the provided annotation IDs. More about how to remove document annotations: - https://docs.groupdocs.com/display/annotationnet/Remove+annotation+from+document ```python def remove(self, annotation_ids): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotation_ids | `List[int]` | Iterable of annotation IDs (e.g., list of str) that should be removed. | ##### Example ```python from groupdocs.annotation import Annotator def remove_annotation_by_id(): # Open an annotated document and remove a single annotation by its id with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() if annotations: annotator.remove(annotation_id=annotations[0].id) annotator.save("./output.pdf") ``` #### remove Removes collection of annotations from document. - More about how to remove document annotations: https://docs.groupdocs.com/display/annotationnet/Remove+annotation+from+document ```python def remove(self, annotations_to_delete): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotations_to_delete | `List[AnnotationBase]` | The annotations that must be removed. | ##### Example ```python from groupdocs.annotation import Annotator def remove_all_annotations(): with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() if annotations: annotator.remove(annotations_to_delete=annotations) annotator.save("./output.pdf") ``` ### remove_annotation_base method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/remove_annotation_base.md #### remove_annotation_base ```python def remove_annotation_base(self): ... ``` ### remove_int32 method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/remove_int32.md #### remove_int32 ```python def remove_int32(self): ... ``` ### remove_list method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/remove_list.md #### remove_list ```python def remove_list(self): ... ``` ### rotation property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/rotation.md #### rotation property The document rotation angle. ##### Definition: ```python @property def rotation(self): ... @rotation.setter def rotation(self, value): ... ``` ### save method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/save.md #### save Saves document after adding, updating or removing annotations. Learn more about saving annotated documents - More about how to save only annotated document pages: https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages - More about how to save document with specific annotation types only: https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types - More about how to save specific pages from the whole document: https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range ```python def save(self): ... ``` ##### Example ```python import io from groupdocs.annotation import Annotator with Annotator("document.pdf") as annotator: # add annotations here, e.g., annotator.add(area) buf = io.BytesIO() annotator.save(buf) # BytesIO is updated after save data = buf.getvalue() ``` #### save Saves the document after adding, updating, or removing annotations. ```python def save(self, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | save_options | `SaveOptions` | The save options. | **Returns:** None. - More about how to save only annotated document pages: Save only annotated pages (https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages) - More about how to save document with specific annotation types only: Filtering annotation types on save (https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types) - More about how to save specific pages from the whole document: Save specific page range (https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range) ##### Example ```python import io from groupdocs.annotation import Annotator from groupdocs.annotation.options import SaveOptions, AnnotationType with Annotator("document.pdf") as annotator: # add annotations here, e.g., annotator.add(area) # Save to a memory stream stream = io.BytesIO() annotator.save(stream) data = stream.getvalue() # Save with specific options options = SaveOptions() options.annotation_types = AnnotationType.AREA annotator.save("filtered.pdf", save_options=options) ``` #### save Saves document after adding, updating or removing annotations. Learn more about saving annotated documents. - More about how to save only annotated document pages: https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages - More about how to save document with specific annotation types only: https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types - More about how to save specific pages from the whole document: https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range ```python def save(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `io.RawIOBase` | The output stream. | ##### Example ```python import io from groupdocs.annotation import Annotator with Annotator("document.pdf") as annotator: # add annotations as needed, e.g., annotator.add(area) buf = io.BytesIO() annotator.save(buf) # BytesIO is updated after save data = buf.getvalue() ``` #### save Saves the document after adding, updating, or removing annotations. Learn more about saving annotated documents. - More about how to save only annotated document pages: https://docs.groupdocs.com/display/annotationnet/Save+only+annotated+pages - More about how to save document with specific annotation types only: https://docs.groupdocs.com/display/annotationnet/Filtering+annotation+types - More about how to save specific pages from the whole document: https://docs.groupdocs.com/display/annotationnet/Save+specific+page+range ```python def save(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | The output file path. | ##### Example ```python import io from groupdocs.annotation import Annotator with Annotator("document.pdf") as annotator: # add annotations here, e.g., annotator.add(area) buf = io.BytesIO() annotator.save(buf) # BytesIO is updated after save data = buf.getvalue() ``` #### save Saves document after adding, updating or removing annotations. **Learn more about saving annotated documents** - More about how to save only annotated document pages: - More about how to save document with specific annotation types only: - More about how to save specific pages from the whole document: ```python def save(self, document, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `io.RawIOBase` | The output stream or file path where the annotated document will be saved. | | save_options | `SaveOptions` | The save options that control which pages or annotation types are saved. | ##### Example ```python import io from groupdocs.annotation import Annotator from groupdocs.annotation.options import SaveOptions, AnnotationType # Save to a stream with Annotator("document.pdf") as annotator: # add annotations here buf = io.BytesIO() annotator.save(buf) # BytesIO is updated after save data = buf.getvalue() # Save to a file with filtering options options = SaveOptions() options.annotation_types = AnnotationType.AREA # render only area annotations options.first_page = 1 # 1‑based page index options.last_page = 2 with Annotator("document.pdf") as annotator: # add annotations here annotator.save("filtered.pdf", saveOptions=options) ``` #### save Saves document after adding, updating or removing annotations. - More about how to save only annotated document pages: - More about how to save document with specific annotation types only: - More about how to save specific pages from the whole document: ```python def save(self, file_path, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | The output file path. | | save_options | `SaveOptions` | The save options. | ##### Example ```python import io from groupdocs.annotation import Annotator from groupdocs.annotation.options import SaveOptions, AnnotationType # Save to a stream with Annotator("document.pdf") as annotator: # add annotations here buffer = io.BytesIO() annotator.save(buffer) # buffer now contains the PDF bytes data = buffer.getvalue() # Save with options (filter by type and page range) with Annotator("document.pdf") as annotator: # add annotations here options = SaveOptions() options.annotation_types = AnnotationType.AREA # render only area annotations options.first_page = 1 # 1‑based page numbers options.last_page = 2 annotator.save("filtered.pdf", save_options=options) ``` ### save_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/save_file.md #### save_file ```python def save_file(self): ... ``` ### save_save_options method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/save_save_options.md #### save_save_options ```python def save_save_options(self): ... ``` ### save_stream method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/save_stream.md #### save_stream ```python def save_stream(self): ... ``` ### save_streams method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/save_streams.md #### save_streams ```python def save_streams(self): ... ``` ### save_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/save_string.md #### save_string ```python def save_string(self): ... ``` ### update method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/update.md #### update Updates document annotation by id. Learn more - More about how to update document annotations: https://docs.groupdocs.com/display/annotationnet/Update+annotations ```python def update(self, new_annotation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | new_annotation | `AnnotationBase` | The annotation to update (Id should be provided). | ##### Example ```python from groupdocs.annotation import Annotator with Annotator("annotated.pdf") as annotator: annotations = annotator.get() annotator.update(annotations[0]) ``` #### update Updates collection of document annotations by overriding the previous list with a new one. - More about how to update document annotations: https://docs.groupdocs.com/display/annotationnet/Update+annotations ```python def update(self, annotations): ... ``` | Parameter | Type | Description | | :- | :- | :- | | annotations | `List[AnnotationBase]` | The annotations list that will be set. | ##### Example ```python from groupdocs.annotation import Annotator with Annotator("annotated.pdf") as annotator: all_annotations = annotator.get() # modify an annotation as needed annotator.update([all_annotations[0]]) # replace the current list with the modified annotation annotator.save("edited.pdf") ``` ### update_annotation_base method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/update_annotation_base.md #### update_annotation_base ```python def update_annotation_base(self): ... ``` ### update_list method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/update_list.md #### update_list ```python def update_list(self): ... ``` ### AnnotatorException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotatorexception.md #### AnnotatorException class An error that occur during the document annotation process. The AnnotatorException type exposes the following members: ### AnnotatorSettings class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotatorsettings.md #### AnnotatorSettings class Defines settings for customizing `Annotator` behavior. The AnnotatorSettings type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Properties | Property | Description | | :- | :- | | cache | The cache. | | logger | The logger. | ##### Guides Task guides that use `AnnotatorSettings`: * AI agents and LLM integration ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotatorsettings/__init__.md #### __init__ ```python def __init__(self): ... ``` ### cache property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotatorsettings/cache.md #### cache property The cache. ##### Definition: ```python @property def cache(self): ... @cache.setter def cache(self, value): ... ``` ### logger property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotatorsettings/logger.md #### logger property The logger. ##### Definition: ```python @property def logger(self): ... @logger.setter def logger(self, value): ... ``` ### ConvertFileException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/convertfileexception.md #### ConvertFileException class The exception that is thrown if file conversion failed. The ConvertFileException type exposes the following members: ### CorruptedOrDamagedFileException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/corruptedordamagedfileexception.md #### CorruptedOrDamagedFileException class The exception that is thrown when file is corrupted or damaged. The CorruptedOrDamagedFileException type exposes the following members: ### Document class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document.md #### Document class Represents various document properties. The Document type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `Document` class. | | __init__ | Initializes a new Document instance. | ##### Methods | Method | Description | | :- | :- | | add_image_to_document | Change image quality and add image to document. | | add_image_to_document_file | | | add_image_to_document_string | | | generate_preview | Generates document pages preview (screenshots of every page). | | generate_preview_preview_options | | | get_document_info | Retrieves information about the document, including its type, size, page count, and detailed page data. | ##### Properties | Property | Description | | :- | :- | | name | The document name. | | password | The document password. | | stream | The document stream. | ##### Guides Task guides that use `Document`: * AI agents and LLM integration ### __init__ constructor Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/__init__.md #### __init__ Initializes a new instance of `Document` class. ```python def __init__(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `io.RawIOBase` | The document stream. | #### __init__ Initializes a new Document instance. ```python def __init__(self, stream, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `io.RawIOBase` | The document stream. | | password | `str` | The document password. | ### add_image_to_document method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/add_image_to_document.md #### add_image_to_document Change image quality and add image to document. ```python def add_image_to_document(self, data_dir, jpg_file_name, page_number, image_quality): ... ``` | Parameter | Type | Description | | :- | :- | :- | | data_dir | `str` | Specify the path to the input PDF file. | | jpg_file_name | `str` | The path to the JPG file. | | page_number | `int` | Page where the image will be inserted. | | image_quality | `int` | Set image quality from 1 to 100, 1 is the smallest resolution, 100 is the largest. | ### add_image_to_document_file method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/add_image_to_document_file.md #### add_image_to_document_file ```python def add_image_to_document_file(self): ... ``` ### add_image_to_document_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/add_image_to_document_string.md #### add_image_to_document_string ```python def add_image_to_document_string(self): ... ``` ### generate_preview method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/generate_preview.md #### generate_preview Generates document pages preview (screenshots of every page). ```python def generate_preview(self, preview_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | preview_options | `PreviewOptions` | The document preview options | ##### Example ```python def generate_document_preview(): output_dir = "./preview" os.makedirs(output_dir, exist_ok=True) open_streams = {} def create_page_stream(page_number): stream = open(os.path.join(output_dir, f"page_{page_number}.png"), "wb") open_streams[page_number] = stream return stream def release_page_stream(page_number, page_stream): stream = open_streams.pop(page_number, None) if stream: stream.close() with Annotator("./sample.pdf") as annotator: preview_options = PreviewOptions(create_page_stream, release_page_stream) preview_options.preview_format = PreviewFormats.PNG preview_options.page_numbers = [1] annotator.document.generate_preview(preview_options) print(f"Generated page preview image(s) in {output_dir}.") if __name__ == "__main__": generate_document_preview() ``` ### generate_preview_preview_options method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/generate_preview_preview_options.md #### generate_preview_preview_options ```python def generate_preview_preview_options(self): ... ``` ### get_document_info method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/get_document_info.md #### get_document_info Retrieves information about the document, including its type, size, page count, and detailed page data. ```python def get_document_info(self): ... ``` ##### Example ```python with Annotator("document.pdf") as annotator: info = annotator.document.get_document_info() print(info.file_type.file_format, info.page_count, info.size) ``` ### name property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/name.md #### name property The document name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/password.md #### password property The document password. ##### Definition: ```python @property def password(self): ... ``` ### stream property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/stream.md #### stream property The document stream. ##### Definition: ```python @property def stream(self): ... ``` ### FileType class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype.md #### FileType class Information about file, such as type, extension, etc. The FileType type exposes the following members: ##### Methods | Method | Description | | :- | :- | | equals | File type equivalence check. | | equals | Equivalence check with object. | | equals_file_type | | | equals_object | | | from_file_name_or_extension | Return FileType based on file name or extension. | | get_hash_code | Get hash code. | | get_supported_file_types | Get supported file types enumeration. | | to_string | Returns a string that represents the file type. | ##### Properties | Property | Description | | :- | :- | | extension | The file extension. | | file_format | The file format. | ##### Example ```python from groupdocs.annotation import FileType # Retrieve a list of all supported file types supported = FileType.get_supported_file_types() print(supported) ``` ### equals method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/equals.md #### equals File type equivalence check. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `FileType` | FileType object. | **Returns:** bool: True if file types are equivalent, False if not. #### equals Equivalence check with object. ```python def equals(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | Any object. | **Returns:** bool: True if file types are equivalent, False if not. ### equals_file_type method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/equals_file_type.md #### equals_file_type ```python def equals_file_type(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### extension property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/extension.md #### extension property The file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/file_format.md #### file_format property The file format. ##### Definition: ```python @property def file_format(self): ... ``` ### from_file_name_or_extension method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/from_file_name_or_extension.md #### from_file_name_or_extension Return FileType based on file name or extension. ```python def from_file_name_or_extension(cls, file_name_or_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name_or_extension | `str` | The file name or file extension. | **Returns:** FileType: The file type. ### get_hash_code method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/get_hash_code.md #### get_hash_code Get hash code. ```python def get_hash_code(self): ... ``` **Returns:** int: Hash code. ### get_supported_file_types method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/get_supported_file_types.md #### get_supported_file_types Get supported file types enumeration. ```python def get_supported_file_types(cls): ... ``` **Returns:** Iterable[FileType]: Enumeration of supported file types. ##### Example ```python from groupdocs.annotation import FileType supported_formats = FileType.get_supported_file_types() for fmt in supported_formats: print(fmt) ``` ### to_string method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetype/to_string.md #### to_string Returns a string that represents the file type. ```python def to_string(self): ... ``` **Returns:** str: A string that represents the file type. ### FileTypeNotSupportedException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/filetypenotsupportedexception.md #### FileTypeNotSupportedException class The exception that is thrown when file type is not supported. The FileTypeNotSupportedException type exposes the following members: ### GroupDocsAnnotationException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/groupdocsannotationexception.md #### GroupDocsAnnotationException class Product-root exception for 'annotation' — every generated exception subclasses this, and callers can ``except GroupDocsAnnotationException:`` as a catch-all for this product without catching other GroupDocs errors. The GroupDocsAnnotationException type exposes the following members: ### IDocumentInfo class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/idocumentinfo.md #### IDocumentInfo class Interface that defines list of available document information. The IDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | file_type | The document file type. | | page_count | The amount of pages. | | pages_info | The list of information about each page. | | size | The file size in bytes. | ### file_type property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/idocumentinfo/file_type.md #### file_type property The document file type. ##### Definition: ```python @property def file_type(self): ... @file_type.setter def file_type(self, value): ... ``` ### page_count property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/idocumentinfo/page_count.md #### page_count property The amount of pages. ##### Definition: ```python @property def page_count(self): ... @page_count.setter def page_count(self, value): ... ``` ### pages_info property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/idocumentinfo/pages_info.md #### pages_info property The list of information about each page. ##### Definition: ```python @property def pages_info(self): ... @pages_info.setter def pages_info(self, value): ... ``` ### size property Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/idocumentinfo/size.md #### size property The file size in bytes. ##### Definition: ```python @property def size(self): ... @size.setter def size(self, value): ... ``` ### ImageNotLoadedException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/imagenotloadedexception.md #### ImageNotLoadedException class The exception that is thrown when image cannot be loaded from remote or local path. Usually happens if the provided "path" is incorrect. The ImageNotLoadedException type exposes the following members: ### IOException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/ioexception.md #### IOException class The exception that is thrown when trying to apply format-specific annotation to the wrong file type. The IOException type exposes the following members: ### License class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/license.md #### License class Manages GroupDocs.Annotation licensing. Licensed builds unlock the full feature set of the wrapper at runtime. Unlicensed builds run in evaluation mode with the same API surface but with limits on output size and watermarked content. The License type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_license | Apply a license to the current process. | ##### Guides Task guides that use `License`: * AI agents and LLM integration * Licensing and evaluation ### set_license method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/license/set_license.md #### set_license Apply a license to the current process. ```python def set_license(self, license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | Either a string path to a ``.lic`` file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. | | Raises | Description | | :- | :- | | `TypeError` | If ``license_source`` is neither a string path nor a readable file-like object. | ### Metered class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/metered.md #### Metered class Manages metered (pay-per-use) licensing. Metered licenses bill on actual consumption (typically pages or documents processed). Set the public/private key pair once at application startup; the wrapper reports usage back to the GroupDocs license server in the background. The Metered type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_consumption_credit | Return the remaining metered credit for the current key. | | get_consumption_quantity | Return the total metered quantity consumed so far. | | set_metered_key | Activate metered billing with the given public/private key pair. | ##### Guides Task guides that use `Metered`: * AI agents and LLM integration * Licensing and evaluation ### get_consumption_credit method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/metered/get_consumption_credit.md #### get_consumption_credit Return the remaining metered credit for the current key. ```python def get_consumption_credit(): ... ``` **Returns:** float: The remaining credit balance reported by the license server. ### get_consumption_quantity method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/metered/get_consumption_quantity.md #### get_consumption_quantity Return the total metered quantity consumed so far. ```python def get_consumption_quantity(): ... ``` **Returns:** float: The cumulative usage (typically in pages or documents) recorded against the current metered key. ### set_metered_key method Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/metered/set_metered_key.md #### set_metered_key Activate metered billing with the given public/private key pair. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | | The public key half of the metered credentials. | | private_key | | The private key half of the metered credentials. | ### PasswordProtectedFileException class Path: https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/passwordprotectedfileexception.md #### PasswordProtectedFileException class The exception that is thrown when provided password is incorrect. The PasswordProtectedFileException type exposes the following members: ### Developer Guide Path: https://reference.groupdocs.com/annotation/python-net/guides.md #### Developer Guide Task-oriented guides with runnable Python examples. | Guide | | | :- | :- | | Add annotations | | | Features Overview | | | GroupDocs.Annotation for Python via .NET Overview | | | Install GroupDocs.Annotation for Python via .NET | | | Loading documents | | | Hello, World! | | | Manage annotations | | | Saving documents | | | Supported Document Formats | | | Comments and replies | | | Generate document preview | | | Import and export annotations | | | Showcases | | | Licensing and evaluation | | | AI agents and LLM integration | | | System Requirements | | | How to Run Examples | | | Technical Support | | ### Add annotations Path: https://reference.groupdocs.com/annotation/python-net/guides/add-annotations.md GroupDocs.Annotation lets you add many kinds of annotations to PDF, Word, Excel, PowerPoint, image, and other documents. You create an annotation object, set its properties, call [`add`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/) on the [`Annotator`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/), and `save` the result. A few rules apply to every annotation: - **Position.** Box-style annotations (area, ellipse, point, arrow, distance, polyline, text field, watermark, resources redaction, image) are positioned with a `Rectangle(x, y, width, height)` assigned to the `.box` property. Text-markup annotations (highlight, underline, strikeout, squiggly, replacement, text redaction, link) are positioned with a list of corner `Point` objects assigned to the `.points` property, in the order top-left, top-right, bottom-left, bottom-right. - **Colors.** Every color property (`background_color`, `font_color`, `pen_color`, `underline_color`, `squiggly_color`) is a packed **ARGB integer**, not a `Color` object. Use `Color..to_argb()` or `Color.from_argb(a, r, g, b).to_argb()`. - **Page index.** `page_number` is **0-based** — `0` is the first page. #### Add an area annotation An area annotation draws a filled rectangle over a region of the page. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def add_area_annotation(): # Load the document to be annotated with Annotator("./sample.pdf") as annotator: # Configure an area (rectangle) annotation area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) # x, y, width, height area.background_color = Color.yellow.to_argb() area.pen_color = Color.red.to_argb() area.pen_width = 3 area.pen_style = PenStyle.SOLID area.opacity = 0.7 area.page_number = 0 area.message = "This is an area annotation" # Add the annotation and save the result annotator.add(area) annotator.save("./output.pdf") if __name__ == "__main__": add_area_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_area_annotation/output.pdf) #### Add an ellipse annotation An ellipse annotation draws a filled oval inside the bounding box. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import EllipseAnnotation from groupdocs.pydrawing import Color def add_ellipse_annotation(): with Annotator("./sample.pdf") as annotator: ellipse = EllipseAnnotation() ellipse.box = Rectangle(100, 100, 200, 120) ellipse.background_color = Color.from_argb(255, 144, 238, 144).to_argb() ellipse.pen_color = Color.green.to_argb() ellipse.pen_width = 2 ellipse.pen_style = PenStyle.SOLID ellipse.opacity = 0.7 ellipse.page_number = 0 ellipse.message = "This is an ellipse annotation" annotator.add(ellipse) annotator.save("./output.pdf") if __name__ == "__main__": add_ellipse_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_ellipse_annotation/output.pdf) #### Add a point annotation A point annotation marks a single location on the page. It is positioned by the origin of its box, so the width and height are `0`. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import PointAnnotation def add_point_annotation(): with Annotator("./sample.pdf") as annotator: point = PointAnnotation() point.box = Rectangle(100, 100, 0, 0) # a point is positioned by its box origin point.page_number = 0 point.message = "This is a point annotation" annotator.add(point) annotator.save("./output.pdf") if __name__ == "__main__": add_point_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_point_annotation/output.pdf) #### Add an arrow annotation An arrow annotation draws a directed line across the bounding box. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import ArrowAnnotation from groupdocs.pydrawing import Color def add_arrow_annotation(): with Annotator("./sample.pdf") as annotator: arrow = ArrowAnnotation() arrow.box = Rectangle(100, 100, 100, 100) arrow.pen_color = Color.blue.to_argb() arrow.pen_width = 2 arrow.pen_style = PenStyle.SOLID arrow.opacity = 0.9 arrow.page_number = 0 arrow.message = "This is an arrow annotation" annotator.add(arrow) annotator.save("./output.pdf") if __name__ == "__main__": add_arrow_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_arrow_annotation/output.pdf) #### Add a distance annotation A distance annotation measures the span between two points on the page. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import DistanceAnnotation from groupdocs.pydrawing import Color def add_distance_annotation(): with Annotator("./sample.pdf") as annotator: distance = DistanceAnnotation() distance.box = Rectangle(100, 100, 100, 100) distance.pen_color = Color.blue.to_argb() distance.pen_width = 2 distance.pen_style = PenStyle.SOLID distance.opacity = 0.7 distance.page_number = 0 distance.message = "This is a distance annotation" annotator.add(distance) annotator.save("./output.pdf") if __name__ == "__main__": add_distance_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_distance_annotation/output.pdf) #### Add a polyline annotation A polyline annotation draws a free-form shape described by an SVG path inside the bounding box. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, PenStyle from groupdocs.annotation.models.annotation_models import PolylineAnnotation from groupdocs.pydrawing import Color def add_polyline_annotation(): with Annotator("./sample.pdf") as annotator: polyline = PolylineAnnotation() polyline.box = Rectangle(100, 100, 200, 100) polyline.svg_path = "M 0 0 L 50 50 L 100 0 L 150 50" polyline.pen_color = Color.purple.to_argb() polyline.pen_width = 2 polyline.pen_style = PenStyle.SOLID polyline.opacity = 0.9 polyline.page_number = 0 polyline.message = "This is a polyline annotation" annotator.add(polyline) annotator.save("./output.pdf") if __name__ == "__main__": add_polyline_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_polyline_annotation/output.pdf) #### Add a highlight annotation Highlight, underline, strikeout, and squiggly are text-markup annotations: they are positioned by the corner `Point` objects of the text region rather than a box. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import HighlightAnnotation from groupdocs.pydrawing import Color def add_highlight_annotation(): with Annotator("./sample.pdf") as annotator: highlight = HighlightAnnotation() # Text-markup annotations are positioned by the corner points of the # text region: top-left, top-right, bottom-left, bottom-right highlight.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] highlight.background_color = Color.yellow.to_argb() highlight.opacity = 0.7 highlight.page_number = 0 highlight.message = "This is a highlight annotation" annotator.add(highlight) annotator.save("./output.pdf") if __name__ == "__main__": add_highlight_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_highlight_annotation/output.pdf) #### Add an underline annotation An underline annotation draws a line beneath the selected text region. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import UnderlineAnnotation from groupdocs.pydrawing import Color def add_underline_annotation(): with Annotator("./sample.pdf") as annotator: underline = UnderlineAnnotation() underline.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] underline.underline_color = Color.red.to_argb() underline.opacity = 0.9 underline.page_number = 0 underline.message = "This is an underline annotation" annotator.add(underline) annotator.save("./output.pdf") if __name__ == "__main__": add_underline_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_underline_annotation/output.pdf) #### Add a strikeout annotation A strikeout annotation draws a line through the selected text region. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import StrikeoutAnnotation from groupdocs.pydrawing import Color def add_strikeout_annotation(): with Annotator("./sample.pdf") as annotator: strikeout = StrikeoutAnnotation() strikeout.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] strikeout.font_color = Color.red.to_argb() strikeout.opacity = 0.9 strikeout.page_number = 0 strikeout.message = "This is a strikeout annotation" annotator.add(strikeout) annotator.save("./output.pdf") if __name__ == "__main__": add_strikeout_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_strikeout_annotation/output.pdf) #### Add a squiggly annotation A squiggly annotation draws a wavy line under the selected text region. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import SquigglyAnnotation from groupdocs.pydrawing import Color def add_squiggly_annotation(): with Annotator("./sample.pdf") as annotator: squiggly = SquigglyAnnotation() squiggly.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] squiggly.squiggly_color = Color.red.to_argb() squiggly.opacity = 0.9 squiggly.page_number = 0 squiggly.message = "This is a squiggly annotation" annotator.add(squiggly) annotator.save("./output.pdf") if __name__ == "__main__": add_squiggly_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_squiggly_annotation/output.pdf) #### Add a text field annotation A text field annotation places editable text inside a box, with font and alignment control. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, HorizontalAlignment from groupdocs.annotation.models.annotation_models import TextFieldAnnotation from groupdocs.pydrawing import Color def add_text_field_annotation(): with Annotator("./sample.pdf") as annotator: text_field = TextFieldAnnotation() text_field.box = Rectangle(100, 100, 150, 50) text_field.text = "Some text in a field" text_field.font_family = "Arial" text_field.font_size = 12.0 text_field.font_color = Color.black.to_argb() text_field.background_color = Color.yellow.to_argb() text_field.text_horizontal_alignment = HorizontalAlignment.CENTER text_field.opacity = 0.9 text_field.page_number = 0 text_field.message = "This is a text field annotation" annotator.add(text_field) annotator.save("./output.pdf") if __name__ == "__main__": add_text_field_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_text_field_annotation/output.pdf) #### Add a text replacement annotation A text replacement annotation marks a text region and provides replacement text. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import ReplacementAnnotation from groupdocs.pydrawing import Color def add_replacement_annotation(): with Annotator("./sample.pdf") as annotator: replacement = ReplacementAnnotation() replacement.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] replacement.text_to_replace = "replacement text" replacement.font_color = Color.black.to_argb() replacement.font_size = 12.0 replacement.opacity = 0.9 replacement.page_number = 0 replacement.message = "This is a text replacement annotation" annotator.add(replacement) annotator.save("./output.pdf") if __name__ == "__main__": add_replacement_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_replacement_annotation/output.pdf) #### Add a text redaction annotation A text redaction annotation hides a text region behind a solid block. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import TextRedactionAnnotation from groupdocs.pydrawing import Color def add_text_redaction_annotation(): with Annotator("./sample.pdf") as annotator: redaction = TextRedactionAnnotation() redaction.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] redaction.font_color = Color.black.to_argb() redaction.page_number = 0 redaction.message = "This is a text redaction annotation" annotator.add(redaction) annotator.save("./output.pdf") if __name__ == "__main__": add_text_redaction_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_text_redaction_annotation/output.pdf) #### Add a resources redaction annotation A resources redaction annotation blacks out a rectangular region, removing the underlying page resources. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import ResourcesRedactionAnnotation def add_resources_redaction_annotation(): with Annotator("./sample.pdf") as annotator: redaction = ResourcesRedactionAnnotation() redaction.box = Rectangle(100, 100, 200, 80) redaction.page_number = 0 redaction.message = "This is a resources redaction annotation" annotator.add(redaction) annotator.save("./output.pdf") if __name__ == "__main__": add_resources_redaction_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_resources_redaction_annotation/output.pdf) #### Add a watermark annotation A watermark annotation places rotated, scalable text over the page. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, HorizontalAlignment, VerticalAlignment from groupdocs.annotation.models.annotation_models import WatermarkAnnotation from groupdocs.pydrawing import Color def add_watermark_annotation(): with Annotator("./sample.pdf") as annotator: watermark = WatermarkAnnotation() watermark.box = Rectangle(100, 100, 200, 100) watermark.text = "Watermark" watermark.font_family = "Arial" watermark.font_size = 24.0 watermark.font_color = Color.red.to_argb() watermark.angle = 45.0 watermark.auto_scale = True watermark.horizontal_alignment = HorizontalAlignment.CENTER watermark.vertical_alignment = VerticalAlignment.CENTER watermark.opacity = 0.5 watermark.page_number = 0 watermark.message = "This is a watermark annotation" annotator.add(watermark) annotator.save("./output.pdf") if __name__ == "__main__": add_watermark_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_watermark_annotation/output.pdf) #### Add a link annotation A link annotation turns a text region into a clickable hyperlink. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import LinkAnnotation from groupdocs.pydrawing import Color def add_link_annotation(): with Annotator("./sample.pdf") as annotator: link = LinkAnnotation() link.points = [ Point(80, 600), Point(300, 600), Point(80, 575), Point(300, 575), ] link.url = "https://www.groupdocs.com" link.background_color = Color.azure.to_argb() link.opacity = 0.7 link.page_number = 0 link.message = "This is a link annotation" annotator.add(link) annotator.save("./output.pdf") if __name__ == "__main__": add_link_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_link_annotation/output.pdf) #### Add an image annotation An image annotation stamps a picture from disk onto the page. Set `image_path` to a local image file. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import ImageAnnotation def add_image_annotation(): with Annotator("./sample.pdf") as annotator: image = ImageAnnotation() image.box = Rectangle(100, 100, 100, 100) image.image_path = "./stamp.png" image.opacity = 0.9 image.angle = 0.0 image.page_number = 0 image.message = "This is an image annotation" annotator.add(image) annotator.save("./output.pdf") if __name__ == "__main__": add_image_annotation() ``` `sample.pdf` is the document used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/sample.pdf) to download it. `stamp.png` is the image stamped onto the page. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/add-annotations/stamp.png) to download it. ```text Binary file (PDF, 95 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/add-annotations/add_image_annotation/output.pdf) ### AI agents and LLM integration Path: https://reference.groupdocs.com/annotation/python-net/guides/agents-and-llm-integration.md GroupDocs.Annotation for Python via .NET is designed to work smoothly with AI coding assistants such as Claude Code, Cursor, and GitHub Copilot in agent mode. #### Built into the package The `groupdocs-annotation-net` wheel ships a bundled `AGENTS.md` reference. Once the package is installed, AI tools discover it automatically at `groupdocs/annotation/AGENTS.md`. It covers the canonical imports, the open → add → save workflow, per-operation recipes, licensing, the full API-surface tables, and troubleshooting — everything an agent needs to write correct annotation code without guessing. #### MCP server For on-demand documentation lookups, point your AI tool at the GroupDocs MCP server: ```json { "mcpServers": { "groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" } } } ``` This works with Claude Code (`~/.claude/settings.json`), Cursor (`.cursor/mcp.json`), VS Code Copilot (`.vscode/mcp.json`), and any MCP-compatible client. #### Machine-readable documentation LLM-optimized documentation for retrieval-augmented generation and context loading is available at [`https://docs.groupdocs.com/annotation/python-net/llms-full.txt`](https://docs.groupdocs.com/annotation/python-net/llms-full.txt). #### AGENTS.md reference The complete reference bundled inside the wheel is reproduced below. ````markdown # GroupDocs.Annotation for Python via .NET -- AGENTS.md > Instructions for AI agents working with this package. Add, edit, and remove annotations and markup on documents and images -- area/ellipse/arrow/point/distance/polyline shapes, text highlight/underline/strikeout/squiggly, replacement and redaction markups, watermarks, image and link stamps, editable text fields, and threaded review comments (replies) -- then save back to the original format. Works across PDF, Word, Excel, PowerPoint, Visio, CAD, images, email, and more through one unified API, with no MS Office or external software installed. ## Install ```bash pip install groupdocs-annotation-net ``` **Python**: 3.5 - 3.14 | **Platforms**: Windows, Linux, macOS ## Resources | Resource | URL | |---|---| | Documentation | https://docs.groupdocs.com/annotation/python-net/ | | LLM-optimized docs | https://docs.groupdocs.com/annotation/python-net/llms-full.txt | | API reference | https://reference.groupdocs.com/annotation/python-net/ | | Code examples | https://docs.groupdocs.com/annotation/python-net/developer-guide/ | | Release notes | https://releases.groupdocs.com/annotation/python-net/release-notes/ | | PyPI | https://pypi.org/project/groupdocs-annotation-net/ | | Free support forum | https://forum.groupdocs.com/c/annotation/ | | Temporary license | https://purchase.groupdocs.com/temporary-license | ## MCP Server If your environment has MCP configured, you can connect your AI tool to the GroupDocs documentation server for on-demand API lookups: ```json { "mcpServers": { "groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" } } } ``` Works with Claude Code (`~/.claude/settings.json`), Cursor (`.cursor/mcp.json`), VS Code Copilot (`.vscode/mcp.json`), and any MCP-compatible client. If MCP is unavailable, fall back to the LLM-optimized docs URL above and this file -- both are shipped inside the wheel. ## Imports ```python from groupdocs.annotation import Annotator, AnnotatorSettings, Document, FileType, License, Metered from groupdocs.annotation.options import ( AnnotationType, LoadOptions, SaveOptions, ) from groupdocs.annotation.models import ( Rectangle, Point, Reply, User, Role, PageInfo, BorderStyle, BoxStyle, HorizontalAlignment, VerticalAlignment, RotationDocument, ) from groupdocs.annotation.models.annotation_models import ( AnnotationBase, # shapes AreaAnnotation, ArrowAnnotation, DistanceAnnotation, EllipseAnnotation, PointAnnotation, PolylineAnnotation, # text markup HighlightAnnotation, UnderlineAnnotation, StrikeoutAnnotation, SquigglyAnnotation, ReplacementAnnotation, TextRedactionAnnotation, ResourcesRedactionAnnotation, # content WatermarkAnnotation, ImageAnnotation, LinkAnnotation, TextFieldAnnotation, ) from groupdocs.pydrawing import Color # use Color..to_argb() for ARGB ints ``` ## Open + annotate + save (the core workflow) `Annotator` is the entry point. The flow is always: **open → one or more `add(...)` calls → `save()`**. Each annotation is a plain object you configure with properties, then hand to `add`. Use `Annotator` as a context manager so the native document handle is released. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color with Annotator("document.pdf") as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 200, 80) # x, y, width, height area.page_number = 0 # 0-based page index area.background_color = Color.yellow.to_argb() # ARGB int, NOT a Color object area.message = "Review this" annotator.add(area) annotator.save("annotated.pdf") ``` **`Annotator(...)` constructor.** `Annotator(file_path)` or `Annotator(stream)`, optionally with `LoadOptions` and/or `AnnotatorSettings`: `Annotator("doc.pdf", LoadOptions(password="..."))`, `Annotator(stream, LoadOptions(), AnnotatorSettings(...))`. **`add(...)`** accepts a single annotation or a list of annotations. **`save(...)`** writes to a path or a writable stream; pass `SaveOptions` (as `save_options=...`) to control which annotation types and pages are rendered. By default `save()` renders all annotations onto the document. **Coordinates & colors.** Geometry uses `Rectangle(x, y, width, height)` and `Point(x, y)` from `groupdocs.annotation.models`. **Colors are ARGB integers**, not `Color` objects — always pass `Color..to_argb()` (or a literal ARGB int) to `background_color`, `font_color`, `pen_color`, `underline_color`, and `squiggly_color`. **Pages.** Annotation `page_number` is **0-based**, but `SaveOptions.first_page` / `last_page` are **1-based**. ## Operations ### Shape annotations (area / ellipse / arrow / point / distance / polyline) ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation, EllipseAnnotation from groupdocs.pydrawing import Color area = AreaAnnotation() area.box = Rectangle(100, 100, 200, 80) area.background_color = Color.yellow.to_argb() # ARGB int area.pen_color = Color.red.to_argb() # ARGB int area.opacity = 0.7 area.page_number = 0 area.message = "Flagged region" ell = EllipseAnnotation() ell.box = Rectangle(50, 200, 120, 60) ell.page_number = 0 with Annotator("document.pdf") as annotator: annotator.add([area, ell]) # add several at once annotator.save("annotated.pdf") ``` Shape types share `box`, `background_color` / `pen_color`, and `opacity`. `ArrowAnnotation`, `DistanceAnnotation`, and `PolylineAnnotation` use the same box/points surface; `PointAnnotation` anchors a comment at a single point. ### Text markup (highlight / underline / strikeout / squiggly / replacement) ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Point from groupdocs.annotation.models.annotation_models import HighlightAnnotation from groupdocs.pydrawing import Color hl = HighlightAnnotation() hl.font_color = Color.yellow.to_argb() hl.page_number = 0 # Quad points around the target text (top-left, top-right, bottom-right, bottom-left): hl.points = [Point(80, 730), Point(240, 730), Point(240, 750), Point(80, 750)] with Annotator("document.pdf") as annotator: annotator.add(hl) annotator.save("highlighted.pdf") ``` Text-markup types expose `points` (a list of `Point` describing the marked region) and `font_color`; the rest of the markup family (`UnderlineAnnotation`, `StrikeoutAnnotation`, `SquigglyAnnotation`, `ReplacementAnnotation`, `TextRedactionAnnotation`, `ResourcesRedactionAnnotation`) follows the same shape. ### Review comments (replies) ```python from groupdocs.annotation.models import Reply r1 = Reply(); r1.comment = "Please double-check this" r2 = Reply(); r2.comment = "Confirmed" area.replies = [r1, r2] # attach a comment thread to any annotation ``` `Reply` has `comment`, `user` (a `User`), `replied_on`, and `id`. A `User(id, name, role)` carries a `Role` (`VIEWER` / `EDITOR`). ### Content annotations (watermark / image / link / text field) `WatermarkAnnotation`, `ImageAnnotation` (set `image_path`), `LinkAnnotation` (set `url`), and `TextFieldAnnotation` are created and added the same way — configure their properties, then `annotator.add(...)`. ### List, update, remove ```python from groupdocs.annotation import Annotator from groupdocs.annotation.options import AnnotationType with Annotator("annotated.pdf") as annotator: all_annotations = annotator.get() # every annotation -> list areas = annotator.get(AnnotationType.AREA) # filter by type -> list annotator.update(all_annotations[0]) # push a modified annotation back annotator.remove(all_annotations[0]) # by object, or annotator.remove(id) annotator.save("edited.pdf") ``` ### Save options (page range + annotation-type filter) ```python from groupdocs.annotation import Annotator from groupdocs.annotation.options import SaveOptions, AnnotationType with Annotator("document.pdf") as annotator: annotator.add(area) options = SaveOptions() options.annotation_types = AnnotationType.AREA # render only area annotations options.first_page = 1 # 1-based options.last_page = 2 annotator.save("filtered.pdf", save_options=options) ``` ### Document info ```python with Annotator("document.pdf") as annotator: info = annotator.document.get_document_info() # format, page count, size print(info.file_type.file_format, info.page_count, info.size) ``` ### Save to a stream ```python import io with Annotator("document.pdf") as annotator: annotator.add(area) buf = io.BytesIO() annotator.save(buf) # BytesIO is updated after save data = buf.getvalue() ``` ## Licensing ```python from groupdocs.annotation import License # From file License().set_license("path/to/license.lic") # From stream with open("license.lic", "rb") as f: License().set_license(f) ``` Or auto-apply: `export GROUPDOCS_LIC_PATH="path/to/license.lic"` Metered licensing is also available: ```python from groupdocs.annotation import Metered Metered().set_metered_key("public-key", "private-key") print(Metered().get_consumption_quantity(), Metered().get_consumption_credit()) ``` **Evaluation vs licensed.** Without a license the library still runs and `save()` completes normally, but the output carries an evaluation watermark/banner (the output file is noticeably larger). There is no per-process document-open cap. Set `GROUPDOCS_LIC_PATH` (or call `License().set_license(...)`) and re-run to clear the watermark. A 30-day full license is free: https://purchase.groupdocs.com/temporary-license ## API Reference ### Annotator | Method | Returns | Description | |---|---|---| | `Annotator(file_path / stream [, load_options [, settings]])` | | Open by path or binary stream; optional `LoadOptions` / `AnnotatorSettings`. Context manager. | | `add(annotation)` / `add([annotations])` | `None` | Add one annotation or a list. | | `update(annotation)` | `None` | Replace an existing annotation (matched by id). | | `remove(annotation)` / `remove(id)` | `None` | Remove by object or by id; a list is also accepted. | | `get()` | `list` | All annotations on the document. | | `get(annotation_type)` | `list` | Annotations of one `AnnotationType`. | | `save(path)` / `save(path, save_options=...)` / `save(stream)` | `None` | Render annotations and write the result. | | `dispose()` | `None` | Release native resources (handled by `with`). | `Annotator` properties: `document` (`Document` — `get_document_info()`), `rotation`, `process_pages`. `AnnotatorSettings` carries `logger` / `cache`. ### Annotation types (`groupdocs.annotation.models.annotation_models`) | Type | Notes | |---|---| | `AreaAnnotation`, `EllipseAnnotation` | `box` (`Rectangle`), `background_color`, `pen_color`, `opacity` (ARGB-int colors). | | `ArrowAnnotation`, `DistanceAnnotation`, `PolylineAnnotation` | Line/shape markups; box + points. | | `PointAnnotation` | A single comment anchor at a point. | | `HighlightAnnotation`, `UnderlineAnnotation`, `StrikeoutAnnotation`, `SquigglyAnnotation` | Text markup; `points` (quad) + `font_color`. | | `ReplacementAnnotation`, `TextRedactionAnnotation`, `ResourcesRedactionAnnotation` | Replace / redact text or resources. | | `WatermarkAnnotation` | Text watermark stamp. | | `ImageAnnotation` | Image stamp (`image_path`). | | `LinkAnnotation` | Hyperlink over a region (`url`). | | `TextFieldAnnotation` | Editable text field. | | All | Inherit `id`, `message`, `page_number`, `replies`, `created_on`, `user`, `type` from `AnnotationBase`. | ### Options, models & enums | Type | Notes | |---|---| | `LoadOptions(password=...)` | Open protected input. | | `SaveOptions` | `annotation_types`, `first_page` (1-based), `last_page`, `only_annotated_pages`. | | `AnnotationType` | Enum of annotation kinds (filter for `get(...)` / `SaveOptions`). | | `Rectangle(x, y, width, height)` / `Point(x, y)` | Geometry (from `...models`). | | `Reply` | `comment`, `user`, `replied_on`, `id`. | | `User(id, name, role)` / `Role` | `VIEWER`, `EDITOR`. | | `BorderStyle`, `BoxStyle`, `HorizontalAlignment`, `VerticalAlignment`, `RotationDocument` | Styling enums. | ### License / Metered `License().set_license(path_or_stream)` · `Metered().set_metered_key(public, private)` · `Metered().get_consumption_quantity()` · `Metered().get_consumption_credit()` ## Key Patterns - **Properties**: use `snake_case` -- auto-mapped to .NET `PascalCase` - **Context managers**: `with Annotator(...) as a:` ensures the document handle is released - **Build then add**: construct an annotation object, set its properties, then `add(it)` — or `add([...])` for several - **Colors are ARGB ints**: always pass `Color..to_argb()` (e.g. `annotation.background_color = Color.yellow.to_argb()`), never a `Color` object - **Geometry**: `Rectangle(x, y, width, height)`, `Point(x, y)`; text markup uses a `points` quad - **Pages**: annotation `page_number` is **0-based**; `SaveOptions.first_page` / `last_page` are **1-based** - **Replies**: attach a `list[Reply]` to any annotation's `replies` for review comments - **Streams**: pass `open("file", "rb")` or `io.BytesIO(data)` where .NET expects a Stream; `BytesIO` is updated after `save(stream)` - **Enums**: case-insensitive, lazy-loaded (e.g., `AnnotationType.AREA`, `Role.EDITOR`) ## Platform Requirements | Platform | Requirements | |---|---| | Windows | None | | Linux | `apt install libgdiplus libfontconfig1 ttf-mscorefonts-installer` | | macOS | `brew install mono-libgdiplus` | ## Troubleshooting **Evaluation watermark on output** -- no license. Apply one with `License().set_license(...)` or set `GROUPDOCS_LIC_PATH`; a free 30-day license is at https://purchase.groupdocs.com/temporary-license **Password-protected source** -- the input is encrypted. Open it with `Annotator(path, LoadOptions(password="..."))`. **Unsupported or damaged file** -- the format isn't supported or the file is corrupted. Check it against the supported-formats list. **`System.Drawing.Common is not supported`** -- install libgdiplus: `sudo apt install libgdiplus` (Linux) / `brew install mono-libgdiplus` (macOS) **`Gdip` type initializer exception** -- outdated libgdiplus: `brew reinstall mono-libgdiplus` (macOS) **Garbled text / missing fonts** -- install fonts: `sudo apt install ttf-mscorefonts-installer fontconfig && sudo fc-cache -f` **`DllNotFoundException: libSkiaSharp`** -- stale system copy conflicts with bundled version. Rename it: `sudo mv /usr/local/lib/libSkiaSharp.dylib /usr/local/lib/libSkiaSharp.dylib.bak` **`DOTNET_SYSTEM_GLOBALIZATION_INVARIANT` errors** -- do NOT set this. Install ICU: `sudo apt install libicu-dev` **`TypeLoadException`** -- reinstall: `pip install --force-reinstall groupdocs-annotation-net` **Still stuck?** Post your question at https://forum.groupdocs.com/c/annotation/ -- the development team responds directly. ```` ### Comments and replies Path: https://reference.groupdocs.com/annotation/python-net/guides/comments-and-replies.md Every annotation can carry a discussion thread. You build the thread as a list of [`Reply`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/reply/) objects and assign it to the annotation's `replies` property. Each reply has a `comment` and a [`User`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.models/user/), and each user has a `name` and a `Role` (`Role.EDITOR` or `Role.VIEWER`). #### Add replies to an annotation The example below creates an area annotation and attaches a two-message conversation between two users before saving the document. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, Reply, User, Role from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def add_replies_to_annotation(): with Annotator("./sample.pdf") as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) area.background_color = Color.yellow.to_argb() area.page_number = 0 area.message = "Please review this section" # Attach a threaded discussion to the annotation first_reply = Reply() first_reply.comment = "Good catch, I'll take a look." first_reply.user = User(name="Tom", role=Role.EDITOR) second_reply = Reply() second_reply.comment = "Agreed, looks resolved now." second_reply.user = User(name="Jack", role=Role.VIEWER) area.replies = [first_reply, second_reply] annotator.add(area) annotator.save("./output.pdf") if __name__ == "__main__": add_replies_to_annotation() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/comments-and-replies/sample.pdf) to download it. ```text Binary file (PDF, 91 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/comments-and-replies/add_replies_to_annotation/output.pdf) ### Features Overview Path: https://reference.groupdocs.com/annotation/python-net/guides/features-overview.md GroupDocs.Annotation for Python via .NET adds annotations, markup, and review comments across a wide range of [supported document formats](https://docs.groupdocs.com/annotation/python-net/supported-document-formats/). Every annotation follows the same workflow: open a document with `Annotator`, add one or more annotations with `add()`, then `save()` the result — back to the original format or to another supported format. The capabilities below can be combined freely in a single pass. #### Text markup Mark up the text of a document with highlight, underline, strikeout, and squiggly-underline annotations, or replace and redact text. Text-markup annotations are positioned with a list of `Point` objects that describe the region they cover, and you can set colors such as `font_color`, `underline_color`, and `squiggly_color` (all passed as packed ARGB integers). See [Add Annotations](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/add-annotations/). #### Graphic (shape) annotations Draw geometric shapes over a page — area (rectangle), ellipse, point, arrow, distance, and polyline. Box-style shapes use a `Rectangle` (`box`) for position and size, while line-based shapes use `Point` coordinates. You can configure fill and pen colors (as ARGB integers) and the pen style. See [Add Annotations](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/add-annotations/). #### Watermarks, text fields, links, and image stamps Add a `WatermarkAnnotation` over a page, an editable `TextFieldAnnotation`, a clickable `LinkAnnotation`, or stamp an `ImageAnnotation` onto the document. These rich annotations let you label, brand, or augment a document without altering its underlying content. See [Add Annotations](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/add-annotations/). #### Comments and replies Attach an author and threaded review comments to any annotation. Each annotation carries a `user` (`User` with a `Role` of viewer or editor) and a list of `replies` (`Reply` objects with a comment, an author, and a timestamp), so you can model a full review conversation. See [Comments and Replies](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/comments-and-replies/). #### Managing annotations Add, update, get, and remove annotations. Retrieve all annotations, or filter by type with `get(type=AnnotationType.X)`; remove a single annotation by id or instance, or clear them all. See [Get Annotations](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/get-annotations/) and [Remove Annotations](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/remove-annotations/). #### Document information Inspect a document before annotating it — read the page count, file type, page dimensions, and size through `get_document_info()`, and list every format the API supports with `FileType.get_supported_file_types()`. See [Get Document Info](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/get-document-info/) and [Supported File Formats](https://docs.groupdocs.com/annotation/python-net/developer-guide/basic-usage/get-supported-file-formats/). #### Loading and saving Load documents from a local path or from a stream, including password-protected files, by passing `LoadOptions`. When saving, write back to the original format, save to a different path, restrict the output to specific pages with `SaveOptions.first_page`/`last_page` (1-based), or save only certain annotation types. See [Loading Documents](https://docs.groupdocs.com/annotation/python-net/developer-guide/advanced-usage/loading-documents/) and [Saving Documents](https://docs.groupdocs.com/annotation/python-net/developer-guide/advanced-usage/saving-documents/). #### On-premise GroupDocs.Annotation for Python via .NET runs entirely on your own infrastructure — your documents never leave your environment. The package is a self-contained wheel that bundles everything it needs, so no Microsoft Office, OpenOffice, Adobe Acrobat, or separate runtime has to be installed. See [System Requirements](https://docs.groupdocs.com/annotation/python-net/system-requirements/) for the supported platforms and native dependencies. ### Generate document preview Path: https://reference.groupdocs.com/annotation/python-net/guides/generate-document-preview.md Use [`Document.generate_preview`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/document/) to render document pages to image files (PNG, JPEG, or BMP). You configure the render with [`PreviewOptions`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/previewoptions/) and supply two callbacks: one that returns a writable stream for each page, and one that releases it after the page is written. #### Render pages to PNG images Pass the two callables directly to `PreviewOptions(create_page_stream, release_page_stream)` — the library invokes `create_page_stream(page_number)` to obtain a stream for each page and `release_page_stream(page_number, page_stream)` once the page has been written. Set `preview_format` and, optionally, `page_numbers` to limit which pages are rendered. ```python import os from groupdocs.annotation import Annotator from groupdocs.annotation.options import PreviewOptions, PreviewFormats def generate_document_preview(): output_dir = "./preview" os.makedirs(output_dir, exist_ok=True) # Track the open streams so each page's file can be closed after it is written open_streams = {} def create_page_stream(page_number): stream = open(os.path.join(output_dir, f"page_{page_number}.png"), "wb") open_streams[page_number] = stream return stream def release_page_stream(page_number, page_stream): stream = open_streams.pop(page_number, None) if stream: stream.close() with Annotator("./sample.pdf") as annotator: preview_options = PreviewOptions(create_page_stream, release_page_stream) preview_options.preview_format = PreviewFormats.PNG preview_options.page_numbers = [1] annotator.document.generate_preview(preview_options) print(f"Generated page preview image(s) in {output_dir}.") if __name__ == "__main__": generate_document_preview() ``` `PreviewFormats` supports `PNG`, `JPEG`, and `BMP`. Other useful `PreviewOptions` properties include `width`/`height`, `resolution`, `render_comments`, and `render_annotations`. ### Hello, World! Path: https://reference.groupdocs.com/annotation/python-net/guides/hello-world.md #### Introduction A "Hello, World!" example is often the first step when exploring GroupDocs.Annotation for Python via .NET. It serves as a simple test to confirm that your development environment is correctly set up and that the library is functioning as expected. #### Overview GroupDocs.Annotation for Python via .NET lets you add annotations, markup, and review comments to a wide range of document and image formats. A wide range of [supported formats](https://docs.groupdocs.com/annotation/python-net/supported-document-formats/) makes it versatile for different use cases. #### How to annotate a document The following steps demonstrate how to add an annotation to a document using GroupDocs.Annotation for Python via .NET: 1. Import the `groupdocs.annotation` classes you need. 2. Create an annotation and configure it (here, an area annotation with a yellow fill). 3. Open the document with an `Annotator`, pointing it at the sample file. 4. Add the annotation. 5. Save the result. #### Complete example The example below adds a yellow area (rectangle) annotation to the first page of a PDF and saves the annotated document: ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def hello_world(): # Describe a yellow area (rectangle) annotation on the first page area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) # x, y, width, height area.background_color = Color.yellow.to_argb() # packed ARGB int, not a Color object area.page_number = 0 # page numbers are 0-based area.message = "Welcome to GroupDocs.Annotation!" # Open the document, add the annotation, and save the result with Annotator("./sample.pdf") as annotator: annotator.add(area) annotator.save("./output.pdf") print("Annotation added successfully. Output saved to ./output.pdf.") if __name__ == "__main__": hello_world() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/getting-started/hello-world/sample.pdf) to download it. ```text Binary file (PDF) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/getting-started/hello-world/hello_world/output.pdf) This example writes the annotated document to `output.pdf`. Colors are passed as packed ARGB integers (for example `Color.yellow.to_argb()`), not as `Color` objects, and page numbers are 0-based, so `page_number = 0` targets the first page. To annotate a different format, simply open a file with another extension — the same code works across every [supported format](https://docs.groupdocs.com/annotation/python-net/supported-document-formats/). #### Additional resources This demo references the GroupDocs.Annotation for Python via .NET [code samples](https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Python-via-.NET/). ### How to Run Examples Path: https://reference.groupdocs.com/annotation/python-net/guides/how-to-run-examples.md Before running an example make sure that GroupDocs.Annotation for Python via .NET has been installed successfully. The complete examples project for **GroupDocs.Annotation for Python via .NET** is hosted on [GitHub](https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Python-via-.NET). It contains standalone, runnable scripts together with the sample documents they use, so the examples work out of the box. #### Prerequisites - [Python](https://www.python.org/) 3.5 – 3.14 installed and on your `PATH`. - [git](https://git-scm.com/) to clone the repository (or download the ZIP). - On Linux and macOS, the native libraries listed in the [System Requirements](https://docs.groupdocs.com/annotation/python-net/system-requirements/) (`libgdiplus`, `libfontconfig1`, `libicu-dev`, and fonts). - Optionally, a GroupDocs.Annotation license to remove the [evaluation watermark](https://docs.groupdocs.com/annotation/python-net/licensing-and-subscription/). #### Get the code Clone the repository with your favourite git client, or download the ZIP from GitHub: ```bash git clone https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Python-via-.NET.git cd GroupDocs.Annotation-for-Python-via-.NET ``` #### Project Structure The examples live under the `Examples/` folder, organized by topic. Directory names are kebab-case and each script is standalone: ```text GroupDocs.Annotation-for-Python-via-.NET/ ├── Dockerfile └── Examples/ ├── requirements.txt ├── run_all_examples.py ├── licensing/ │ ├── set_license_from_file.py │ ├── set_license_from_stream.py │ └── set_metered_license.py ├── getting-started/ │ └── hello-world/ │ └── hello_world.py └── developer-guide/ ├── basic-usage/ │ ├── add-annotations/ │ ├── comments-and-replies/ │ ├── get-annotations/ │ ├── get-document-info/ │ ├── get-supported-file-formats/ │ └── remove-annotations/ └── advanced-usage/ ├── loading-documents/ └── saving-documents/ ``` #### Setup Create and activate a virtual environment, then install the dependencies listed in `Examples/requirements.txt`: ```ps py -m venv .venv .venv\Scripts\activate py -m pip install -r Examples/requirements.txt ``` ```bash python3 -m venv .venv source .venv/bin/activate python3 -m pip install -r Examples/requirements.txt ``` ```bash python3 -m venv .venv source .venv/bin/activate python3 -m pip install -r Examples/requirements.txt ``` To run the examples without the evaluation watermark, point the `GROUPDOCS_LIC_PATH` environment variable at your license file. The example scripts read this variable and apply the license automatically: ```ps $env:GROUPDOCS_LIC_PATH = "C:\path\to\GroupDocs.Annotation.lic" ``` ```bash export GROUPDOCS_LIC_PATH="/path/to/GroupDocs.Annotation.lic" ``` ```bash export GROUPDOCS_LIC_PATH="/path/to/GroupDocs.Annotation.lic" ``` See [Licensing and Evaluation](https://docs.groupdocs.com/annotation/python-net/licensing-and-subscription/) for details on obtaining and applying a license. #### Run Run every example at once with the runner script: ```bash python Examples/run_all_examples.py ``` Or run a single example by passing its path directly: ```bash python Examples/developer-guide/basic-usage/add-annotations/add_area_annotation.py ``` The repository ships with all the sample documents and resources used by the examples, so the scripts run out of the box. Without a license the examples run in evaluation mode, which adds a watermark to each output document. There is no document-open limit, so every example completes successfully whether or not a license is applied. The `run_all_examples.py` runner launches each example in its own process and keeps the working directory set to the example's folder, so each script finds its input and output files. #### Run with Docker The repository includes a `Dockerfile` that installs the native dependencies and Python packages so you can run the examples in a clean, reproducible container. From the repository root: ```bash docker build -t groupdocs-annotation-examples . docker run --rm groupdocs-annotation-examples ``` To use a license inside the container, mount it and pass `GROUPDOCS_LIC_PATH`: ```bash docker run --rm \ -v /path/to/GroupDocs.Annotation.lic:/app/GroupDocs.Annotation.lic:ro \ -e GROUPDOCS_LIC_PATH=/app/GroupDocs.Annotation.lic \ groupdocs-annotation-examples ``` #### Continuous integration Because the examples run headlessly and exit with a non-zero status on failure, they fit naturally into a CI pipeline. Install `Examples/requirements.txt`, supply the license through the `GROUPDOCS_LIC_PATH` environment variable (store the license as a protected secret), make sure the Linux native dependencies are present on the runner, and invoke `python Examples/run_all_examples.py` as a build step. The provided `Dockerfile` is a convenient base image for such jobs. #### Troubleshooting - **Evaluation watermark on the output** — you are running unlicensed in evaluation mode. Set `GROUPDOCS_LIC_PATH` to a valid license to produce output without the watermark. See [Licensing and Evaluation](https://docs.groupdocs.com/annotation/python-net/licensing-and-subscription/). - **Missing or substituted fonts** — install fonts so annotated output matches the original: `apt install libfontconfig1 ttf-mscorefonts-installer`. - **ICU / globalization errors on Linux** — install ICU: `apt install libicu-dev`. - **`ModuleNotFoundError: No module named 'groupdocs'`** — the package is not installed in the active environment. Activate your virtual environment and re-run `pip install -r Examples/requirements.txt`. #### Contribute If you would like to add or improve an example, we encourage you to contribute to the project. All examples in this repository are open source and can be freely used in your own applications. To contribute, fork the repository, edit the code, and create a pull request. We will review the changes and include them if found helpful. ### Import and export annotations Path: https://reference.groupdocs.com/annotation/python-net/guides/import-export-annotations.md GroupDocs.Annotation can serialize a document's annotations to a standalone XML file and load them back into any document. This is useful for transferring a review between copies of a document, storing annotations separately from the source file, or applying the same set of annotations to multiple documents. - [`export_annotations_to_xml_file(output_path)`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/) — write the open document's annotations to an XML file. - [`import_annotations_from_xml_file(file_path)`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/) — read annotations from an XML file into the open document. #### Export annotations to XML Open an annotated document and write its annotations to an XML file. ```python from groupdocs.annotation import Annotator def export_annotations_to_xml(): with Annotator("./annotated.pdf") as annotator: annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml") print("Exported annotations to ./exported_annotations.xml.") if __name__ == "__main__": export_annotations_to_xml() ``` #### Import annotations from XML Load annotations from an XML file into a document, then save the result. ```python from groupdocs.annotation import Annotator def import_annotations_from_xml(): with Annotator("./sample.pdf") as annotator: annotator.import_annotations_from_xml_file(file_path="./annotations.xml") annotator.save("./output.pdf") print("Imported annotations from ./annotations.xml. Output saved to ./output.pdf.") if __name__ == "__main__": import_annotations_from_xml() ``` ### Install GroupDocs.Annotation for Python via .NET Path: https://reference.groupdocs.com/annotation/python-net/guides/installation.md GroupDocs.Annotation for Python via .NET is distributed as a pre-built wheel on [PyPI](https://pypi.org/project/groupdocs-annotation-net/). The PyPI index hosts a separate wheel for each supported platform, and `pip` picks the correct one automatically. Each wheel is self-contained: it bundles the embedded runtime and every managed dependency, so no Microsoft Office, OpenOffice, Adobe Acrobat, or separate runtime install is required. Before installing, confirm your environment matches the supported platforms and Python versions listed in the [System Requirements](https://docs.groupdocs.com/annotation/python-net/system-requirements/) topic. #### Install Package from PyPI Open a terminal and run the install command for your platform: ```ps py -m pip install groupdocs-annotation-net ``` ```bash python3 -m pip install groupdocs-annotation-net ``` ```bash python3 -m pip install groupdocs-annotation-net ``` After running the command you should see output similar to: ```bash Collecting groupdocs-annotation-net Downloading groupdocs_annotation_net-26.6.0-py3-none-win_amd64.whl.metadata (3.0 kB) Downloading groupdocs_annotation_net-26.6.0-py3-none-win_amd64.whl (40.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.0/40.0 MB 2.8 MB/s eta 0:00:00 Installing collected packages: groupdocs-annotation-net Successfully installed groupdocs-annotation-net-26.6.0 ``` The wheel file name will include a platform suffix that matches your operating system — for example `manylinux1_x86_64` on Ubuntu/Debian, `macosx_11_0_arm64` on Apple Silicon, or `win_amd64` on 64-bit Windows. #### Add the Package to `requirements.txt` For reproducible environments, pin the package version in your `requirements.txt`: ```txt groupdocs-annotation-net==26.6.0 ``` Then install all dependencies in one step: ```bash pip install -r requirements.txt ``` #### Install from a Pre-Downloaded Wheel If your build environment cannot reach PyPI, download the appropriate wheel from the [GroupDocs Releases website](https://releases.groupdocs.com/annotation/python-net/) and install it locally. Wheels are published for the following four platforms: - **Windows 64-bit**: file name ends with `win_amd64.whl` - **Linux x64 (glibc)**: file name ends with `manylinux1_x86_64.whl` - **macOS Intel**: file name ends with `macosx_10_14_x86_64.whl` - **macOS Apple Silicon**: file name ends with `macosx_11_0_arm64.whl` Place the downloaded wheel into your project folder, then install it: ```ps py -m pip install ./groupdocs_annotation_net-26.6.0-py3-none-win_amd64.whl ``` ```bash python3 -m pip install ./groupdocs_annotation_net-26.6.0-py3-none-manylinux1_x86_64.whl ``` ```bash python3 -m pip install ./groupdocs_annotation_net-26.6.0-py3-none-macosx_10_14_x86_64.whl ``` ```bash python3 -m pip install ./groupdocs_annotation_net-26.6.0-py3-none-macosx_11_0_arm64.whl ``` Expected output: ```bash Processing ./groupdocs_annotation_net-26.6.0-py3-none-*.whl Installing collected packages: groupdocs-annotation-net Successfully installed groupdocs-annotation-net-26.6.0 ``` #### Platform Prerequisites On Windows no extra steps are required. On Linux and macOS, install the native libraries the rendering engine depends on: ```bash apt install libgdiplus libfontconfig1 libicu-dev ttf-mscorefonts-installer ``` ```bash brew install mono-libgdiplus ``` The package runs on Windows, Linux, and macOS. On Linux and macOS the native libraries above provide graphics, fonts, and globalization support for the bundled engine; installing fonts (for example `ttf-mscorefonts-installer`) helps annotated output match the original document. See [System Requirements](https://docs.groupdocs.com/annotation/python-net/system-requirements/) for the full list. #### Verify the Installation Confirm the package imported correctly: ```bash python -c "import groupdocs.annotation; print('GroupDocs.Annotation is ready')" ``` You can also list the installed package with `pip show groupdocs-annotation-net` to confirm the version and location. #### Next Steps - Follow the [Hello, World!](https://docs.groupdocs.com/annotation/python-net/hello-world/) guide to add your first annotation. - Read the [Features Overview](https://docs.groupdocs.com/annotation/python-net/features-overview/) to see everything you can annotate. - Clone the [examples repository](https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Python-via-.NET) and read [How to Run Examples](https://docs.groupdocs.com/annotation/python-net/how-to-run-examples/) to try every documented scenario locally. ### Licensing and evaluation Path: https://reference.groupdocs.com/annotation/python-net/guides/licensing-and-subscription.md To explore the system effectively, you may want immediate access to the API. GroupDocs.Annotation simplifies this by offering various purchase plans, along with an evaluation mode and a 30-day Temporary License for evaluation. To learn more about licensing options, purchasing, and evaluation policies, refer to the [Purchase Policies and FAQ](https://purchase.groupdocs.com/policies) section. #### Purchased License After purchasing GroupDocs.Annotation for Python via .NET, you will receive a license file that unlocks the full functionality of the API. A few rules apply: - Apply the license **only once** per process, in your start-up code. - Apply it **before** constructing any `Annotator` or other GroupDocs.Annotation object. - A license can be applied from a file path, from a binary stream (handy when the license is an embedded resource), or as a [Metered License](https://purchase.groupdocs.com/faqs/licensing/metered/) that bills by usage. Use the [set_license](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/license/set_license/) method to license the component. Calling it more than once is harmless — it simply wastes a little processor time. ##### Set a license from a file The example below applies a license from a file path. It reads the path from the `GROUPDOCS_LIC_PATH` environment variable and falls back to a local `GroupDocs.Annotation.lic` file: ```python import os from groupdocs.annotation import License def set_license_from_file(): # Resolve the license path from the environment, with a local fallback license_path = os.environ.get("GROUPDOCS_LIC_PATH", "./GroupDocs.Annotation.lic") # Apply the license before using any annotation features if os.path.exists(license_path): License().set_license(license_path=license_path) print("License set successfully.") else: print("License file not found. Running in evaluation mode.") if __name__ == "__main__": set_license_from_file() ``` ##### Set a license from a stream You can also apply a license from any readable binary stream — useful when the license ships as an embedded resource: ```python import os from groupdocs.annotation import License def set_license_from_stream(): # Resolve the license path from the environment, with a local fallback license_path = os.environ.get("GROUPDOCS_LIC_PATH", "./GroupDocs.Annotation.lic") # Apply the license from an open binary stream if os.path.exists(license_path): with open(license_path, "rb") as license_stream: License().set_license(license_stream=license_stream) print("License set successfully from stream.") else: print("License file not found. Running in evaluation mode.") if __name__ == "__main__": set_license_from_stream() ``` ##### Set a metered license A Metered License lets you pay for what you use. Set the public and private keys with [set_metered_key](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/metered/set_metered_key/) before using the API, then query consumption at any time: ```python import os from groupdocs.annotation import Metered def set_metered_license(): # Read the metered public and private keys from the environment public_key = os.environ.get("GROUPDOCS_METERED_PUBLIC_KEY", "") private_key = os.environ.get("GROUPDOCS_METERED_PRIVATE_KEY", "") # Apply the metered keys before using any annotation features if public_key and private_key: metered = Metered() metered.set_metered_key(public_key=public_key, private_key=private_key) print("Metered license set successfully.") # Query the current metered consumption print(f"Consumption quantity: {Metered.get_consumption_quantity()}") print(f"Consumption credit: {Metered.get_consumption_credit()}") else: print("Metered keys not provided. Running in evaluation mode.") if __name__ == "__main__": set_metered_license() ``` ##### Changing the license file name You are not required to keep the license file name as `GroupDocs.Annotation.lic`. You can rename it to any preferred name and use that name when applying the license in your application. ##### "Cannot find license filename" exception When you download the license from the GroupDocs website it is saved as `GroupDocs.Annotation.lic`. However, some web browsers may automatically append `.xml`, resulting in `GroupDocs.Annotation.lic.xml`. If your Windows settings are configured to hide file extensions (the default), the file may still appear as `GroupDocs.Annotation.lic` in File Explorer even though the actual name is `GroupDocs.Annotation.lic.xml`. This discrepancy can cause `set_license` to throw an exception. To fix it, manually rename the file to remove the `.xml` extension, or disable "Hide extensions for known file types" in Windows. #### How to evaluate GroupDocs.Annotation You can evaluate GroupDocs.Annotation for Python via .NET without purchasing a license. The evaluation version is identical to the purchased one; it becomes fully licensed once you set a license. ##### Evaluation mode Without a license, GroupDocs.Annotation runs in evaluation mode: - The API is **fully functional** — you can open documents, add, get, update, and remove annotations, and save the result. Every operation completes successfully and no exception is thrown. - There is **no limit** on the number of documents you can open in a process and **no cap** on the number of annotations you can add. You can run as many `Annotator` operations as you like, one after another, in the same process. - An **evaluation watermark** is added to the output document, so the saved file is slightly larger than a licensed one. To remove the evaluation watermark, apply a purchased or temporary license as shown above. ##### Temporary License To produce output without the evaluation watermark while you assess the full features of GroupDocs.Annotation, you can request a 30-day ["Temporary License"](https://purchase.groupdocs.com/temporary-license). ### Loading documents Path: https://reference.groupdocs.com/annotation/python-net/guides/loading-documents.md The [`Annotator`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/) class can open a document from a file path or any readable binary stream, including password-protected files. The examples below show each loading scenario. #### Load from local disk When the document is on the local disk, pass its path to the `Annotator` constructor. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def load_from_local_disk(): # Load a document directly from a local file path with Annotator("./sample.pdf") as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) area.background_color = Color.yellow.to_argb() area.page_number = 0 area.message = "Loaded from local disk" annotator.add(area) annotator.save("./output.pdf") if __name__ == "__main__": load_from_local_disk() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/advanced-usage/loading-documents/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/advanced-usage/loading-documents/load_from_local_disk/output.pdf) #### Load from stream As an alternative to a local file, pass an open binary stream to the `document` parameter of the `Annotator` constructor. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def load_from_stream(): # Load a document from an open binary stream with open("./sample.pdf", "rb") as stream: with Annotator(document=stream) as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) area.background_color = Color.yellow.to_argb() area.page_number = 0 area.message = "Loaded from stream" annotator.add(area) annotator.save("./output.pdf") if __name__ == "__main__": load_from_stream() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/advanced-usage/loading-documents/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/advanced-usage/loading-documents/load_from_stream/output.pdf) #### Load a password-protected file To open an encrypted document, set the `password` property of [`LoadOptions`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/loadoptions/) and pass it to the `Annotator` through the `load_options` parameter. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.options import LoadOptions from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def load_password_protected_document(): # Provide the password through LoadOptions load_options = LoadOptions() load_options.password = "secret" with Annotator("./protected.docx", load_options=load_options) as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) area.background_color = Color.yellow.to_argb() area.page_number = 0 area.message = "Annotated a password-protected document" annotator.add(area) annotator.save("./output.docx") if __name__ == "__main__": load_password_protected_document() ``` `protected.docx` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/advanced-usage/loading-documents/protected.docx) to download it. ```text Binary file (DOCX, 10 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/advanced-usage/loading-documents/load_password_protected_document/output.docx) ### Manage annotations Path: https://reference.groupdocs.com/annotation/python-net/guides/manage-annotations.md Once a document contains annotations you can read them, remove a single one by its id, or remove them all. The [`Annotator`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation/annotator/) class exposes `get()` to list annotations and `remove(...)` to delete them. #### Get all annotations Call `get()` to return the list of annotations stored in the document. Each item exposes common properties such as `id`, `message`, `page_number`, and `replies`. ```python from groupdocs.annotation import Annotator def get_all_annotations(): # Open a document that already contains annotations and list them with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() print(f"Found {len(annotations)} annotation(s):") for annotation in annotations: print(f" [{annotation.id}] {type(annotation).__name__}: {annotation.message}") if __name__ == "__main__": get_all_annotations() ``` `annotated.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/manage-annotations/annotated.pdf) to download it. #### Remove an annotation by id Pass the `annotation_id` of the annotation you want to delete to `remove(...)`, then save the document. ```python from groupdocs.annotation import Annotator def remove_annotation_by_id(): # Open an annotated document and remove a single annotation by its id with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() if annotations: annotator.remove(annotation_id=annotations[0].id) annotator.save("./output.pdf") if __name__ == "__main__": remove_annotation_by_id() ``` `annotated.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/manage-annotations/annotated.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/manage-annotations/remove_annotation_by_id/output.pdf) #### Remove all annotations To clear every annotation, read the list with `get()` and pass it to `remove(...)` through the `annotations_to_delete` parameter. ```python from groupdocs.annotation import Annotator def remove_all_annotations(): # Open an annotated document and remove every annotation with Annotator("./annotated.pdf") as annotator: annotations = annotator.get() if annotations: annotator.remove(annotations_to_delete=annotations) annotator.save("./output.pdf") if __name__ == "__main__": remove_all_annotations() ``` `annotated.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/basic-usage/manage-annotations/annotated.pdf) to download it. ```text Binary file (PDF, 88 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/basic-usage/manage-annotations/remove_all_annotations/output.pdf) ### GroupDocs.Annotation for Python via .NET Overview Path: https://reference.groupdocs.com/annotation/python-net/guides/product-overview.md #### What is GroupDocs.Annotation? GroupDocs.Annotation for Python via .NET is a native Python library that **adds, edits, and removes annotations and markup** on documents — across PDF, Microsoft Word, Excel, PowerPoint, images, CAD, Visio, and email formats — through a single, format-independent API. It runs entirely on-premise, requires no Microsoft Office or Adobe Acrobat installation, and ships as a pre-built wheel on Windows, Linux, and macOS. Typical uses include: - **Document review & collaboration** — add area, shape, and text-markup annotations and attach threaded reviewer comments so teams can discuss a document in place. - **Legal & contract markup** — highlight clauses, strike out obsolete text, and flag regions that need attention before a document is signed or shared. - **Engineering & design review** — annotate CAD drawings and Visio diagrams with area, arrow, and distance markups. - **Content & e-learning feedback** — mark up images and scanned pages with points, watermarks, and image stamps. - **Automated annotation pipelines** — stamp watermarks, links, and notes across many documents and save only the annotation types or page ranges you need. #### Key Capabilities | Capability | Description | |---|---| | **Shape Annotations** | Draw area, ellipse, arrow, point, distance, and polyline annotations with configurable color and opacity. | | **Text Markup** | Highlight, underline, strikeout, and squiggly-mark text, plus replacement, text-redaction, and resources-redaction annotations. | | **Content Annotations** | Stamp watermarks, image annotations, hyperlinks, and editable text fields onto a document. | | **Comments & Replies** | Attach threaded review comments — with user and timestamp — to any annotation. | | **Manage Annotations** | List, update, and remove annotations, all of them or filtered by annotation type. | | **Save Filters** | Render only selected annotation types, or a specific page range, when saving the result. | | **Document Inspection** | Read file type, page count, and size without modifying the document. | Every capability is covered with runnable, copy-paste examples in the [Developer Guide](https://docs.groupdocs.com/annotation/python-net/developer-guide/). #### Quick Example Add an annotation and save the result with just a few lines of code. The example draws a yellow area annotation on the first page of `sample.pdf` and writes the result to `annotated.pdf`: ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.pydrawing import Color def annotate_area(): # Open the document with Annotator("./sample.pdf") as annotator: # Build an area annotation on the first page area = AreaAnnotation() area.box = Rectangle(100, 100, 200, 80) # x, y, width, height area.page_number = 0 # 0-based page index area.background_color = Color.yellow.to_argb() # ARGB int, not a Color object area.message = "Review this section" annotator.add(area) # Save the annotated document annotator.save("./annotated.pdf") if __name__ == "__main__": annotate_area() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/product-overview/sample.pdf) to download it. ```text Binary file (PDF, 1.0 MB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/product-overview/annotate_area/annotated.pdf) For richer review workflows, add several annotations, attach a comment thread, and save only the area annotations with a page-range filter using `SaveOptions`: ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle, Point, Reply from groupdocs.annotation.models.annotation_models import AreaAnnotation, HighlightAnnotation from groupdocs.annotation.options import SaveOptions, AnnotationType from groupdocs.pydrawing import Color def annotate_with_options(): with Annotator("./sample.pdf") as annotator: # An area annotation carrying a threaded review comment area = AreaAnnotation() area.box = Rectangle(100, 100, 200, 80) area.page_number = 0 area.background_color = Color.yellow.to_argb() area.message = "Please review" reply = Reply() reply.comment = "Confirmed, looks good" area.replies = [reply] # A text highlight described by a quad of points highlight = HighlightAnnotation() highlight.page_number = 0 highlight.font_color = Color.lime.to_argb() highlight.points = [Point(80, 730), Point(240, 730), Point(240, 750), Point(80, 750)] annotator.add([area, highlight]) # Render only area annotations, and only the first page options = SaveOptions() options.annotation_types = AnnotationType.AREA options.first_page = 1 # SaveOptions pages are 1-based options.last_page = 1 annotator.save("./annotated.pdf", save_options=options) if __name__ == "__main__": annotate_with_options() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/product-overview/sample.pdf) to download it. ```text Binary file (PDF, 1.0 MB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/product-overview/annotate_with_options/annotated.pdf) #### Where to next 1. **Install the package** — [Installation](https://docs.groupdocs.com/annotation/python-net/getting-started/installation/) walks through PyPI and offline wheel installation for Windows, Linux, and macOS. 2. **Run your first annotation** — [Hello, World!](https://docs.groupdocs.com/annotation/python-net/getting-started/hello-world/) annotates a document in under five minutes. 3. **Explore runnable examples** — [How to Run Examples](https://docs.groupdocs.com/annotation/python-net/getting-started/how-to-run-examples/) clones the GitHub repository and runs every documented scenario locally or in Docker. 4. **Use it in depth** — the [Developer Guide](https://docs.groupdocs.com/annotation/python-net/developer-guide/) covers every API surface with runnable, copy-paste code examples. 5. **Plug it into AI pipelines** — [AI Agents & LLM Integration]() explains the bundled `AGENTS.md`, the MCP server, and machine-readable docs. ### Saving documents Path: https://reference.groupdocs.com/annotation/python-net/guides/saving-documents.md By default `save()` writes every annotation back into the document. With [`SaveOptions`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/saveoptions/) you can persist only certain annotation types or limit the output to a range of pages. Pass the configured `SaveOptions` to `save()` through the `save_options` parameter. #### Save specific annotation types Set `annotation_types` to an [`AnnotationType`](https://reference.groupdocs.com/annotation/python-net/groupdocs.annotation.options/annotationtype/) value to write only annotations of that type, even if the document contains others. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation, EllipseAnnotation from groupdocs.annotation.options import SaveOptions, AnnotationType from groupdocs.pydrawing import Color def save_specific_annotation_types(): with Annotator("./sample.pdf") as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) area.background_color = Color.yellow.to_argb() area.page_number = 0 area.message = "Area" ellipse = EllipseAnnotation() ellipse.box = Rectangle(100, 250, 150, 80) ellipse.background_color = Color.from_argb(255, 144, 238, 144).to_argb() ellipse.page_number = 0 ellipse.message = "Ellipse" annotator.add(area) annotator.add(ellipse) # Persist only the area annotations save_options = SaveOptions() save_options.annotation_types = AnnotationType.AREA annotator.save("./output.pdf", save_options=save_options) if __name__ == "__main__": save_specific_annotation_types() ``` `sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/advanced-usage/saving-documents/sample.pdf) to download it. ```text Binary file (PDF, 90 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/advanced-usage/saving-documents/save_specific_annotation_types/output.pdf) #### Save a page range Set `first_page` and `last_page` to write only a range of pages. These values are **1-based** — page `1` is the first page. ```python from groupdocs.annotation import Annotator from groupdocs.annotation.models import Rectangle from groupdocs.annotation.models.annotation_models import AreaAnnotation from groupdocs.annotation.options import SaveOptions from groupdocs.pydrawing import Color def save_specific_pages(): with Annotator("./multipage_sample.pdf") as annotator: area = AreaAnnotation() area.box = Rectangle(100, 100, 100, 100) area.background_color = Color.yellow.to_argb() area.page_number = 0 area.message = "Page 1 annotation" annotator.add(area) # first_page / last_page are 1-based for SaveOptions save_options = SaveOptions() save_options.first_page = 1 save_options.last_page = 2 annotator.save("./output.pdf", save_options=save_options) if __name__ == "__main__": save_specific_pages() ``` `multipage_sample.pdf` is the sample file used in this example. Click [here](https://docs.groupdocs.com/annotation/python-net/_sample_files/developer-guide/advanced-usage/saving-documents/multipage_sample.pdf) to download it. ```text Binary file (PDF, 92 KB) ``` [Download full output](https://docs.groupdocs.com/annotation/python-net/_output_files/developer-guide/advanced-usage/saving-documents/save_specific_pages/output.pdf) ### Showcases Path: https://reference.groupdocs.com/annotation/python-net/guides/showcases.md Want to try GroupDocs.Annotation for Python via .NET by yourself? Explore the Python code examples, the real-world use cases below, and the free online demonstration to learn more about the document annotation features. #### GitHub Examples To get started with GroupDocs.Annotation for Python via .NET, explore the runnable code examples on GitHub. The repository provides standalone scripts that showcase every documented capability — shape annotations, text markup, watermarks, image and link stamps, comments and replies, as well as loading documents, listing and removing annotations, and saving with page-range and annotation-type filters. [GroupDocs.Annotation for Python via .NET GitHub Repository](https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-Python-via-.NET) See [How to Run Examples](https://docs.groupdocs.com/annotation/python-net/getting-started/how-to-run-examples/) to set up the project and run everything locally, and the [Developer Guide](https://docs.groupdocs.com/annotation/python-net/developer-guide/) for step-by-step explanations. #### Use cases GroupDocs.Annotation fits a wide range of document-review and markup scenarios: - **Document review & collaboration** — add area, ellipse, arrow, and text-markup annotations, then attach threaded reviewer comments so teams can discuss a document in place before it is finalized. See the [Developer Guide](https://docs.groupdocs.com/annotation/python-net/developer-guide/). - **Legal & contract markup** — highlight key clauses, strike out obsolete language, and flag regions that need attention with area annotations and notes, keeping the original document format intact. See the [Developer Guide](https://docs.groupdocs.com/annotation/python-net/developer-guide/). - **Engineering, CAD & Visio review** — annotate technical drawings and diagrams with area, arrow, and distance markups, and stamp watermarks or image annotations onto pages for sign-off. See the [Developer Guide](https://docs.groupdocs.com/annotation/python-net/developer-guide/). - **Automated annotation pipelines** — programmatically stamp watermarks, hyperlinks, and notes across many documents in an automated workflow, then save only the annotation types or page ranges you need. See the [Developer Guide](https://docs.groupdocs.com/annotation/python-net/developer-guide/). #### Online Demo To experience GroupDocs.Annotation without any installation, try the free online annotation app. It lets you upload a document, add annotations, and download the annotated result right in your browser: [Free Online Document Annotation App](https://products.groupdocs.app/annotation) The online demo is a convenient way to evaluate the library's capabilities in a real-world environment and decide whether it fits your document-review and markup needs. ### Supported Document Formats Path: https://reference.groupdocs.com/annotation/python-net/guides/supported-document-formats.md #### Supported File Formats The following tables list the file formats that GroupDocs.Annotation for Python via .NET can open, annotate, and save. You can add annotations, markup, and review comments to any of the formats below. ##### Word Processing | Format | Description | | --- | --- | | [DOC](https://docs.fileformat.com/word-processing/doc/) | Microsoft Word 97-2007 Document | | [DOCX](https://docs.fileformat.com/word-processing/docx/) | Office Open XML WordprocessingML Document (macro-free) | | [DOCM](https://docs.fileformat.com/word-processing/docm/) | Office Open XML WordprocessingML Macro-Enabled Document | | [DOT](https://docs.fileformat.com/word-processing/dot/) | Microsoft Word 97-2007 Template | | [DOTX](https://docs.fileformat.com/word-processing/dotx/) | Office Open XML WordprocessingML Template (macro-free) | | [DOTM](https://docs.fileformat.com/word-processing/dotm/) | Office Open XML WordprocessingML Macro-Enabled Template | | [RTF](https://docs.fileformat.com/word-processing/rtf/) | Rich Text Format | | [ODT](https://docs.fileformat.com/word-processing/odt/) | OpenDocument Text Document | ##### Spreadsheets | Format | Description | | --- | --- | | [XLS](https://docs.fileformat.com/spreadsheet/xls/) | Excel Workbook 97-2003 | | [XLSX](https://docs.fileformat.com/spreadsheet/xlsx/) | Office Open XML Workbook (2007 and later) | | [XLSM](https://docs.fileformat.com/spreadsheet/xlsm/) | Office Open XML Macro-Enabled Workbook | | [XLSB](https://docs.fileformat.com/spreadsheet/xlsb/) | Excel Binary Workbook | | [ODS](https://docs.fileformat.com/spreadsheet/ods/) | OpenDocument Spreadsheet | ##### Presentations | Format | Description | | --- | --- | | [PPT](https://docs.fileformat.com/presentation/ppt/) | PowerPoint Presentation 97-2003 | | [PPTX](https://docs.fileformat.com/presentation/pptx/) | Office Open XML Presentation | | [PPS](https://docs.fileformat.com/presentation/pps/) | PowerPoint Slide Show 97-2003 | | [PPSX](https://docs.fileformat.com/presentation/ppsx/) | Office Open XML Slide Show | | [ODP](https://docs.fileformat.com/presentation/odp/) | OpenDocument Presentation | ##### Portable Documents | Format | Description | | --- | --- | | [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format | ##### Images | Format | Description | | --- | --- | | [TIF/TIFF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | [JPG/JPEG](https://docs.fileformat.com/image/jpeg/) | Joint Photographic Experts Group image | | [PNG](https://docs.fileformat.com/image/png/) | Portable Network Graphics image | | [BMP](https://docs.fileformat.com/image/bmp/) | Bitmap image file | ##### CAD | Format | Description | | --- | --- | | [DWG](https://docs.fileformat.com/cad/dwg/) | AutoCAD Drawing Database file | | [DXF](https://docs.fileformat.com/cad/dxf/) | AutoCAD Drawing Exchange Format | ##### Diagrams | Format | Description | | --- | --- | | [VSD](https://docs.fileformat.com/visio/vsd/) | Microsoft Visio Drawing | | [VSDX](https://docs.fileformat.com/visio/vsdx/) | Microsoft Visio 2013 Drawing | | [VSDM](https://docs.fileformat.com/visio/vsdm/) | Visio Macro-Enabled Drawing | | [VSS](https://docs.fileformat.com/visio/vss/) | Visio Stencil | | [VSX](https://docs.fileformat.com/visio/vsx/) | Visio Stencil XML | | [VSSX](https://docs.fileformat.com/visio/vssx/) | Visio 2013 Stencil | | [VST](https://docs.fileformat.com/visio/vst/) | Visio Drawing Template | | [VSTM](https://docs.fileformat.com/visio/vstm/) | Visio Macro-Enabled Drawing Template | ##### Email | Format | Description | | --- | --- | | [EML](https://docs.fileformat.com/email/eml/) | E-mail message file | | [EMLX](https://docs.fileformat.com/email/emlx/) | Apple Mail message file | ##### Web | Format | Description | | --- | --- | | [HTM/HTML](https://docs.fileformat.com/web/html/) | HyperText Markup Language document | **Can't find your file format?** We're here to help! Please post a request on our [Free Support Forum](https://forum.groupdocs.com/c/annotation/), and our team will assist you. ### System Requirements Path: https://reference.groupdocs.com/annotation/python-net/guides/system-requirements.md GroupDocs.Annotation for Python via .NET operates independently of external software like Microsoft Word, Excel, PowerPoint, or Adobe Acrobat. To install it, simply follow one of the methods described in the [Installation](https://docs.groupdocs.com/annotation/python-net/installation/) section. #### Overview GroupDocs.Annotation for Python via .NET does not require Microsoft Office, OpenOffice, Adobe Acrobat, or any other external software to be installed. The package is a self-contained wheel that bundles everything it needs, so the only prerequisites are a supported version of Python and the operating-system packages listed below. #### Supported Python Versions GroupDocs.Annotation for Python via .NET supports the following Python versions: * Python 3.5 * Python 3.6 * Python 3.7 * Python 3.8 * Python 3.9 * Python 3.10 * Python 3.11 * Python 3.12 * Python 3.13 * Python 3.14 #### Supported Operating Systems The package is distributed as a self-contained wheel that runs on the following platforms: ##### Windows * Windows x64 No additional dependencies are required on Windows. ##### Linux * Linux x64 On Linux you need to install a few system packages for graphics, fonts, and globalization: ```bash apt install libgdiplus libfontconfig1 libicu-dev ttf-mscorefonts-installer ``` ##### macOS * macOS x64 (Intel) * macOS ARM64 (Apple Silicon) On macOS install the graphics library via Homebrew: ```bash brew install mono-libgdiplus ``` #### No Third-Party Software Required Unlike many document-processing tools, GroupDocs.Annotation for Python via .NET does not depend on Microsoft Office, OpenOffice, Adobe Acrobat, or any other application being installed on the machine. All loading, annotating, and saving of Word Processing documents, Spreadsheets, Presentations, PDFs, images, and the other [supported formats](https://docs.groupdocs.com/annotation/python-net/supported-document-formats/) is performed entirely by the bundled engine. ### Technical Support Path: https://reference.groupdocs.com/annotation/python-net/guides/technical-support.md GroupDocs provides unlimited free technical support for all of its products. Support is available to all users, including evaluation. The support is provided at the [Free Support Forum](https://forum.groupdocs.com/) and the [Paid Support Helpdesk](https://helpdesk.groupdocs.com/). Please note that GroupDocs does not provide technical support over the phone. Phone support is only available for sales and purchase questions. #### GroupDocs Free Support Forum If you need help with GroupDocs.Annotation, consider the following: * Make sure you are using the latest GroupDocs.Annotation version before reporting an issue. See [PyPI](https://pypi.org/project/groupdocs-annotation-net) to find out about the latest version. * Have a look through the forums, this documentation, and the [API Reference](https://reference.groupdocs.com/annotation/python-net/) before reporting an issue – perhaps your question has already been answered. * Post your question at the [GroupDocs.Annotation Free Support Forum](https://forum.groupdocs.com/c/annotation), and we'll assist you. Questions are answered directly by the GroupDocs.Annotation development team. * When expecting a reply on the forums, please allow for time zone differences. #### Paid Support Helpdesk Paid support issues have higher priority compared to free support requests. * Post your question at the [Paid Support Helpdesk](https://helpdesk.groupdocs.com/) to set a higher priority for the issue. #### Report an Issue or Feature Request When posting your issue, question, or feature request with GroupDocs.Annotation, follow these simple steps to make sure it is resolved in the most efficient way: * Include the original document and, if possible, the code snippet that is causing the problem. If you need to attach a few files, zip them into one. It is safe to attach your documents to the GroupDocs forums because only you and the GroupDocs developers will have access to the attached files. * Add information about the environment you are facing the issue in — operating system, Python version, and GroupDocs.Annotation version. * Try to report one issue per thread. If you have another issue, question, or feature request, please report it in a separate thread. # GroupDocs.Assembly > Generate documents and reports from templates and data using LINQ syntax. ## Java ### GroupDocs.Assembly for Java Path: https://reference.groupdocs.com/assembly/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.assembly | Provides classes for generating documents in popular office file formats based upon template documents and data obtained from various sources including databases, XML, JSON, OData, objects of custom Java types, and more. | | com.groupdocs.assembly.system | Provides types mimicking .NET types of the `System` namespace in Java. | | com.groupdocs.assembly.system.data | Provides types mimicking .NET types of the `System.Data` namespace in Java. | | com.groupdocs.assembly.system.data.common | Provides types mimicking .NET types of the `System.Data.Common` namespace in Java. | | com.groupdocs.assembly.system.drawing | Provides types mimicking .NET types of the `System.Drawing` namespace in Java. | ### com.groupdocs.assembly.system.data.common Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data.common.md Provides types mimicking .NET types of the `System.Data.Common` namespace in Java. #### Classes | Class | Description | | --- | --- | | DbDataReader | | ### DbDataReader Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data.common/dbdatareader.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.assembly.system.data.IDataReader, com.groupdocs.assembly.system.data.IDataRecord, java.lang.Iterable ``` public abstract class DbDataReader implements IDataReader, IDataRecord, Iterable ``` #### Constructors | Constructor | Description | | --- | --- | | DbDataReader() | | #### Methods | Method | Description | | --- | --- | | get(String columnName) | | ##### DbDataReader() ``` public DbDataReader() ``` ##### get(String columnName) ``` public abstract Object get(String columnName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | | **Returns:** java.lang.Object ### com.groupdocs.assembly.system.data Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data.md Provides types mimicking .NET types of the `System.Data` namespace in Java. #### Classes | Class | Description | | --- | --- | | Constraint | Represents a constraint that can be enforced on one or more DataColumn objects. | | ConstraintCollection | Represents a collection of constraints for a DataTable. | | ConstraintException | Represents the exception that is thrown when attempting an action that violates a constraint. | | DBNull | | | DataColumn | Represents the schema of a column in a DataTable. | | DataColumnCollection | Represents a collection of DataColumn objects for a DataTable. | | DataException | Represents the exception that is thrown when errors are generated using ADO.NET components. | | DataKey | | | DataRelation | Represents a parent/child relationship between two DataTable objects. | | DataRelationCollection | Represents the collection of DataRelation objects for this DataSet. | | DataRow | Represents a row of data in a DataTable. | | DataRowCollection | Represents a collection of rows for a DataTable. | | DataRowState | Specifies the state of a DataRow object. | | DataRowView | Represents a customized view of a DataRow. | | DataSet | Represents an in-memory cache of data. | | DataTable | Represents one table of in-memory data. | | DataTableCollection | Represents the collection of tables for the DataSet. | | DataTableReader | The DataTableReader obtains the contents of one or more DataTable objects in the form of one or more read-only, forward-only result sets. | | DataView | Represents a databindable, customized view of a DataTable for sorting, filtering, searching, editing, and navigation. | | ForeignKeyConstraint | Represents an action restriction enforced on a set of columns in a primary key/foreign key relationship when a value or row is either deleted or updated. | | InvalidConstraintException | Represents the exception that is thrown when incorrectly trying to create or access a relation. | | MappingType | A utility class providing constants. | | UniqueConstraint | Represents a restriction on a set of columns in which all values must be unique. | #### Interfaces | Interface | Description | | --- | --- | | DataTableEventListener | | | IDataReader | Provides a means of reading one or more forward-only streams of result sets obtained by executing a command at a data source, and is implemented by .NET Framework data providers that access relational databases. | | IDataRecord | Provides access to the column values within each row for a DataReader, and is implemented by .NET Framework data providers that access relational databases. | #### Enumerations | Enum | Description | | --- | --- | | Rule | A utility class providing constants. | | XmlReadMode | A utility class providing constants. | ### Constraint Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/constraint.md **Inheritance:** java.lang.Object ``` public abstract class Constraint ``` Represents a constraint that can be enforced on one or more DataColumn objects. #### Constructors | Constructor | Description | | --- | --- | | Constraint() | | #### Methods | Method | Description | | --- | --- | | getConstraintName() | The name of a constraint in the ConstraintCollection. | | setConstraintName(String value) | The name of a constraint in the ConstraintCollection. | ##### Constraint() ``` public Constraint() ``` ##### getConstraintName() ``` public String getConstraintName() ``` The name of a constraint in the ConstraintCollection. **Returns:** java.lang.String - The name of the Constraint. ##### setConstraintName(String value) ``` public void setConstraintName(String value) ``` The name of a constraint in the ConstraintCollection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the Constraint. | ### ConstraintCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/constraintcollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public final class ConstraintCollection implements Iterable ``` Represents a collection of constraints for a DataTable. #### Methods | Method | Description | | --- | --- | | get(String name) | Gets the Constraint from the collection with the specified name. | | get(int index) | Gets the Constraint from the collection at the specified index. | | add(Constraint constraint) | Adds the specified Constraint object to the collection. | | remove(Constraint constraint) | Removes the specified Constraint from the collection. | | contains(Constraint cc) | Indicates whether the Constraint object specified by name exists in the collection. | | getCount() | Gets the total number of elements in a collection. | | iterator() | | ##### get(String name) ``` public final Constraint get(String name) ``` Gets the Constraint from the collection with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The Constraint.getConstraintName() / Constraint.setConstraintName(java.lang.String) of the constraint to return. | **Returns:** Constraint - The Constraint with the specified name; otherwise a null value if the Constraint does not exist. ##### get(int index) ``` public final Constraint get(int index) ``` Gets the Constraint from the collection at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The index of the constraint to return. | **Returns:** Constraint - The Constraint at the specified index. ##### add(Constraint constraint) ``` public final void add(Constraint constraint) ``` Adds the specified Constraint object to the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | constraint | Constraint | The Constraint to add. | ##### remove(Constraint constraint) ``` public final void remove(Constraint constraint) ``` Removes the specified Constraint from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | constraint | Constraint | The Constraint to remove. | ##### contains(Constraint cc) ``` public final boolean contains(Constraint cc) ``` Indicates whether the Constraint object specified by name exists in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cc | Constraint | The Constraint to remove. | **Returns:** boolean - true if the collection contains the specified constraint; otherwise, false. ##### getCount() ``` public final int getCount() ``` Gets the total number of elements in a collection. **Returns:** int - The total number of elements in a collection. ##### iterator() ``` public final Iterator iterator() ``` **Returns:** java.util.Iterator ### ConstraintException Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/constraintexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException ``` public final class ConstraintException extends IllegalStateException ``` Represents the exception that is thrown when attempting an action that violates a constraint. #### Constructors | Constructor | Description | | --- | --- | | ConstraintException(String s) | Initializes a new instance of the ConstraintException class with the specified string. | ##### ConstraintException(String s) ``` public ConstraintException(String s) ``` Initializes a new instance of the ConstraintException class with the specified string. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | s | java.lang.String | The string to display when the exception is thrown. | ### DataColumn Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datacolumn.md **Inheritance:** java.lang.Object ``` public final class DataColumn ``` Represents the schema of a column in a DataTable. #### Constructors | Constructor | Description | | --- | --- | | DataColumn() | Initializes a new instance of a DataColumn class as type string. | | DataColumn(String columnName) | Inititalizes a new instance of the DataColumn class, as type string, using the specified column name. | | DataColumn(String name, DataTable table) | Initializes a new instance of the @\{link DataColumn\} class using the specified column name and table it belongs to. | | DataColumn(String columnName, Class dataType) | Inititalizes a new instance of the DataColumn class using the specified column name and data type. | | DataColumn(String name, Class type, DataTable table) | Initializes a new instance of the DataColumn class using the specified column name, data type and data table it belongs to. | #### Methods | Method | Description | | --- | --- | | getColumnName() | Gets the name of the column in the DataColumnCollection. | | setColumnName(String value) | Sets the name of the column in the DataColumnCollection. | | getAllowDBNull() | Gets a value that indicates whether null values are allowed in this column for rows that belong to the table. | | setAllowDBNull(boolean value) | Sets a value that indicates whether null values are allowed in this column for rows that belong to the table. | | getDataType() | Gets the type of data stored in the column. | | setDataType(Class value) | Sets the type of data stored in the column. | | setDefaultValue(Object value) | Sets the default value for the column when you are creating new rows. | | getDefaultValue() | Gets the default value for the column when you are creating new rows. | | getOrdinal() | Gets the position of the column in the DataColumnCollection collection. | | setOrdinal(int ordinal) | Changes the ordinal or position of the DataColumn to the specified ordinal or position. | | getColumnMapping() | Gets the MappingType of the column. | | setColumnMapping(int value) | Sets the MappingType of the column. | | getNamespace() | Gets the namespace of the DataColumn. | | setNamespace(String value) | Sets the namespace of the DataColumn. | | getPrefix() | Gets an XML prefix that aliases the namespace of the DataTable. | | setPrefix(String value) | Sets an XML prefix that aliases the namespace of the DataTable. | | getTable() | Gets the DataTable to which the column belongs to. | | getAutoIncrement() | Gets a value that indicates whether the column automatically increments the value of the column for new rows added to the table. | | setAutoIncrement(boolean value) | Sets a value that indicates whether the column automatically increments the value of the column for new rows added to the table. | | setMaxLength(int value) | Sets the maximum length of a text column. | | getMaxLength() | Gets the maximum length of a text column. | | getCaption() | Gets the caption for the column. | | setCaption(String value) | Sets the caption for the column. | | getAutoIncrementSeed() | Gets the starting value for a column that has its getAutoIncrement() / setAutoIncrement(boolean) property set to true. | | setAutoIncrementSeed(long value) | Sets the starting value for a column that has its getAutoIncrement() / setAutoIncrement(boolean) property set to true. | | getAutoIncrementStep() | Gets the increment used by a column with its getAutoIncrement() / setAutoIncrement(boolean) property set to true. | | setAutoIncrementStep(long value) | Sets the increment used by a column with its getAutoIncrement() / setAutoIncrement(boolean) property set to true. | | setReadOnly(boolean value) | Sets a value that indicates whether the column allows for changes as soon as a row has been added to the table. | | isReadOnly() | | | getReadOnly() | Gets a value that indicates whether the column allows for changes as soon as a row has been added to the table. | | getUnique() | Gets a value that indicates whether the values in each row of the column must be unique. | | isUnique() | | | setUnique(boolean value) | Sets a value that indicates whether the values in each row of the column must be unique. | | getExpression() | Gets the expression used to filter rows, calculate the values in a column, or create an aggregate column. | | areColumnSetsTheSame(DataColumn[] columnSet, DataColumn[] compareSet) | | | toString() | Gets the getExpression() of the column, if one exists. | ##### DataColumn() ``` public DataColumn() ``` Initializes a new instance of a DataColumn class as type string. ##### DataColumn(String columnName) ``` public DataColumn(String columnName) ``` Inititalizes a new instance of the DataColumn class, as type string, using the specified column name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | A string that represents the name of the column to be created. If set to null or an empty string (""), a default name will be specified when added to the columns collection. | ##### DataColumn(String name, DataTable table) ``` public DataColumn(String name, DataTable table) ``` Initializes a new instance of the @\{link DataColumn\} class using the specified column name and table it belongs to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | name of the DataColumn | | table | DataTable | the table this column belongs to | ##### DataColumn(String columnName, Class dataType) ``` public DataColumn(String columnName, Class dataType) ``` Inititalizes a new instance of the DataColumn class using the specified column name and data type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | A string that represents the name of the column to be created. If set to null or an empty string (""), a default name will be specified when added to the columns collection. | | dataType | java.lang.Class | A supported getDataType() / setDataType(java.lang.Class). | ##### DataColumn(String name, Class type, DataTable table) ``` public DataColumn(String name, Class type, DataTable table) ``` Initializes a new instance of the DataColumn class using the specified column name, data type and data table it belongs to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | name of the DataColumn | | type | java.lang.Class | data type | | table | DataTable | the table this column belongs to | ##### getColumnName() ``` public final String getColumnName() ``` Gets the name of the column in the DataColumnCollection. **Returns:** java.lang.String - The name of the column. ##### setColumnName(String value) ``` public final void setColumnName(String value) ``` Sets the name of the column in the DataColumnCollection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the column. | ##### getAllowDBNull() ``` public final boolean getAllowDBNull() ``` Gets a value that indicates whether null values are allowed in this column for rows that belong to the table. **Returns:** boolean - true if null values values are allowed; otherwise, false. The default is true. ##### setAllowDBNull(boolean value) ``` public final void setAllowDBNull(boolean value) ``` Sets a value that indicates whether null values are allowed in this column for rows that belong to the table. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if null values values are allowed; otherwise, false. The default is true. | ##### getDataType() ``` public final Class getDataType() ``` Gets the type of data stored in the column. **Returns:** java.lang.Class - A java.lang.Class object that represents the column data type. ##### setDataType(Class value) ``` public final void setDataType(Class value) ``` Sets the type of data stored in the column. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Class | A java.lang.Class object that represents the column data type. | ##### setDefaultValue(Object value) ``` public final void setDefaultValue(Object value) ``` Sets the default value for the column when you are creating new rows. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | A value appropriate to the column's getDataType() / setDataType(java.lang.Class). | ##### getDefaultValue() ``` public final Object getDefaultValue() ``` Gets the default value for the column when you are creating new rows. **Returns:** java.lang.Object - A value appropriate to the column's getDataType() / setDataType(java.lang.Class). ##### getOrdinal() ``` public final int getOrdinal() ``` Gets the position of the column in the DataColumnCollection collection. **Returns:** int - The position of the column. Gets -1 if the column is not a member of a collection. ##### setOrdinal(int ordinal) ``` public final void setOrdinal(int ordinal) ``` Changes the ordinal or position of the DataColumn to the specified ordinal or position. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ordinal | int | The specified ordinal. | ##### getColumnMapping() ``` public final int getColumnMapping() ``` Gets the MappingType of the column. **Returns:** int - One of the MappingType values. The returned value is one of MappingType constants. ##### setColumnMapping(int value) ``` public final void setColumnMapping(int value) ``` Sets the MappingType of the column. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | One of the MappingType values. The value must be one of MappingType constants. | ##### getNamespace() ``` public final String getNamespace() ``` Gets the namespace of the DataColumn. **Returns:** java.lang.String - The namespace of the DataColumn. ##### setNamespace(String value) ``` public final void setNamespace(String value) ``` Sets the namespace of the DataColumn. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The namespace of the DataColumn. | ##### getPrefix() ``` public final String getPrefix() ``` Gets an XML prefix that aliases the namespace of the DataTable. **Returns:** java.lang.String - The XML prefix for the DataTable namespace. ##### setPrefix(String value) ``` public final void setPrefix(String value) ``` Sets an XML prefix that aliases the namespace of the DataTable. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The XML prefix for the DataTable namespace. | ##### getTable() ``` public final DataTable getTable() ``` Gets the DataTable to which the column belongs to. **Returns:** DataTable - The DataTable that the DataColumn belongs to. ##### getAutoIncrement() ``` public final boolean getAutoIncrement() ``` Gets a value that indicates whether the column automatically increments the value of the column for new rows added to the table. **Returns:** boolean - true if the value of the column increments automatically; otherwise, false. The default is false. ##### setAutoIncrement(boolean value) ``` public final void setAutoIncrement(boolean value) ``` Sets a value that indicates whether the column automatically increments the value of the column for new rows added to the table. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the value of the column increments automatically; otherwise, false. The default is false. | ##### setMaxLength(int value) ``` public final void setMaxLength(int value) ``` Sets the maximum length of a text column. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The maximum length of the column in characters. If the column has no maximum length, the value is -1 (default). | ##### getMaxLength() ``` public final int getMaxLength() ``` Gets the maximum length of a text column. **Returns:** int - The maximum length of the column in characters. If the column has no maximum length, the value is -1 (default). ##### getCaption() ``` public final String getCaption() ``` Gets the caption for the column. **Returns:** java.lang.String - The caption of the column. If not set, returns the getColumnName() / setColumnName(java.lang.String) value. ##### setCaption(String value) ``` public final void setCaption(String value) ``` Sets the caption for the column. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The caption of the column. If not set, returns the getColumnName() / setColumnName(java.lang.String) value. | ##### getAutoIncrementSeed() ``` public final long getAutoIncrementSeed() ``` Gets the starting value for a column that has its getAutoIncrement() / setAutoIncrement(boolean) property set to true. **Returns:** long - The starting value for the getAutoIncrement() / setAutoIncrement(boolean) feature. ##### setAutoIncrementSeed(long value) ``` public final void setAutoIncrementSeed(long value) ``` Sets the starting value for a column that has its getAutoIncrement() / setAutoIncrement(boolean) property set to true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The starting value for the getAutoIncrement() / setAutoIncrement(boolean) feature. | ##### getAutoIncrementStep() ``` public final long getAutoIncrementStep() ``` Gets the increment used by a column with its getAutoIncrement() / setAutoIncrement(boolean) property set to true. **Returns:** long - The number by which the value of the column is automatically incremented. The default is 1. ##### setAutoIncrementStep(long value) ``` public final void setAutoIncrementStep(long value) ``` Sets the increment used by a column with its getAutoIncrement() / setAutoIncrement(boolean) property set to true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The number by which the value of the column is automatically incremented. The default is 1. | ##### setReadOnly(boolean value) ``` public final void setReadOnly(boolean value) ``` Sets a value that indicates whether the column allows for changes as soon as a row has been added to the table. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the column is read only; otherwise, false. The default is false. | ##### isReadOnly() ``` public final boolean isReadOnly() ``` **Returns:** boolean ##### getReadOnly() ``` public final boolean getReadOnly() ``` Gets a value that indicates whether the column allows for changes as soon as a row has been added to the table. **Returns:** boolean - true if the column is read only; otherwise, false. The default is false. ##### getUnique() ``` public final boolean getUnique() ``` Gets a value that indicates whether the values in each row of the column must be unique. **Returns:** boolean - true if the value must be unique; otherwise, false. The default is false. ##### isUnique() ``` public final boolean isUnique() ``` **Returns:** boolean ##### setUnique(boolean value) ``` public final void setUnique(boolean value) ``` Sets a value that indicates whether the values in each row of the column must be unique. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the value must be unique; otherwise, false. The default is false. | ##### getExpression() ``` public final String getExpression() ``` Gets the expression used to filter rows, calculate the values in a column, or create an aggregate column. **Returns:** java.lang.String - An expression to calculate the value of a column, or create an aggregate column. The return type of an expression is determined by the getDataType() / setDataType(java.lang.Class) of the column. ##### areColumnSetsTheSame(DataColumn[] columnSet, DataColumn[] compareSet) ``` public static boolean areColumnSetsTheSame(DataColumn[] columnSet, DataColumn[] compareSet) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnSet | DataColumn\[\] | | | compareSet | DataColumn\[\] | | **Returns:** boolean ##### toString() ``` public final String toString() ``` Gets the getExpression() of the column, if one exists. **Returns:** java.lang.String - The getExpression() value, if the property is set; otherwise, the getColumnName() / setColumnName(java.lang.String) property. ### DataColumnCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datacolumncollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public final class DataColumnCollection implements Iterable ``` Represents a collection of DataColumn objects for a DataTable. #### Methods | Method | Description | | --- | --- | | add(DataColumn column) | Creates and adds the specified DataColumn object to the DataColumnCollection. | | add(String columnName) | Creates and adds a DataColumn object that has the specified name to the DataColumnCollection. | | add(String columnName, Class type) | Creates and adds a DataColumn object that has the specified name and type to the DataColumnCollection. | | add(String columnName, Class type, int columnMapping, boolean allowAutoIncrement, boolean allowDBNull) | Creates and adds a DataColumn with the specified name, type and specific values to the columns collection. | | indexOf(String columnName) | Gets the index of the column with the specific name (the name is not case sensitive). | | indexOf(DataColumn column) | Gets the index of a column specified by name. | | get(int index) | Gets the DataColumn from the collection at the specified index. | | get(String name) | Gets the DataColumn from the collection with the specified name. | | contains(String name) | Checks whether the collection contains a column with the specified name. | | remove(String name) | Removes the DataColumn object that has the specified name from the collection. | | remove(DataColumn column) | Removes the specified DataColumn object from the collection. | | getCount() | | | iterator() | | | clear() | Clears the collection of any columns. | ##### add(DataColumn column) ``` public final void add(DataColumn column) ``` Creates and adds the specified DataColumn object to the DataColumnCollection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DataColumn | The DataColumn to add. | ##### add(String columnName) ``` public final void add(String columnName) ``` Creates and adds a DataColumn object that has the specified name to the DataColumnCollection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | The name of the column. | ##### add(String columnName, Class type) ``` public final DataColumn add(String columnName, Class type) ``` Creates and adds a DataColumn object that has the specified name and type to the DataColumnCollection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | The DataColumn.getColumnName() / DataColumn.setColumnName(java.lang.String) to use when you create the column. | | type | java.lang.Class | The DataColumn.getDataType() / DataColumn.setDataType(java.lang.Class) of the new column. | **Returns:** DataColumn - The newly created DataColumn. ##### add(String columnName, Class type, int columnMapping, boolean allowAutoIncrement, boolean allowDBNull) ``` public final DataColumn add(String columnName, Class type, int columnMapping, boolean allowAutoIncrement, boolean allowDBNull) ``` Creates and adds a DataColumn with the specified name, type and specific values to the columns collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | name | | type | java.lang.Class | data type | | columnMapping | int | column mapping type | | allowAutoIncrement | boolean | is auto increment allowed | | allowDBNull | boolean | is DBNull value allowed | **Returns:** DataColumn - created a DataColumn instance. ##### indexOf(String columnName) ``` public final int indexOf(String columnName) ``` Gets the index of the column with the specific name (the name is not case sensitive). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | The name of the column to find. | **Returns:** int - The zero-based index of the column with the specified name, or -1 if the column does not exist in the collection. ##### indexOf(DataColumn column) ``` public final int indexOf(DataColumn column) ``` Gets the index of a column specified by name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DataColumn | The name of the column to return. | **Returns:** int - The index of the column specified by column if it is found; otherwise, -1. ##### get(int index) ``` public final DataColumn get(int index) ``` Gets the DataColumn from the collection at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the column to return. | **Returns:** DataColumn - The DataColumn at the specified index. ##### get(String name) ``` public final DataColumn get(String name) ``` Gets the DataColumn from the collection with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The DataColumn.getColumnName() / DataColumn.setColumnName(java.lang.String) of the column to return. | **Returns:** DataColumn - The DataColumn in the collection with the specified DataColumn.getColumnName() / DataColumn.setColumnName(java.lang.String); otherwise a null value if the DataColumn does not exist. ##### contains(String name) ``` public final boolean contains(String name) ``` Checks whether the collection contains a column with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The DataColumn.getColumnName() / DataColumn.setColumnName(java.lang.String) of the column to look for. | **Returns:** boolean - true if a column exists with this name; otherwise, false. ##### remove(String name) ``` public final void remove(String name) ``` Removes the DataColumn object that has the specified name from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the column to remove. | ##### remove(DataColumn column) ``` public final void remove(DataColumn column) ``` Removes the specified DataColumn object from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DataColumn | The DataColumn to remove. | ##### getCount() ``` public final int getCount() ``` **Returns:** int - the total number of elements in a collection. ##### iterator() ``` public final Iterator iterator() ``` **Returns:** java.util.Iterator ##### clear() ``` public final void clear() ``` Clears the collection of any columns. ### DataException Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/dataexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException ``` public final class DataException extends IllegalStateException ``` Represents the exception that is thrown when errors are generated using ADO.NET components. #### Constructors | Constructor | Description | | --- | --- | | DataException(String s) | Initializes a new instance of the DataException class with the specified string. | | DataException(Exception ex) | Initializes a new instance of this class. | ##### DataException(String s) ``` public DataException(String s) ``` Initializes a new instance of the DataException class with the specified string. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | s | java.lang.String | The string to display when the exception is thrown. | ##### DataException(Exception ex) ``` public DataException(Exception ex) ``` Initializes a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ex | java.lang.Exception | | ### DataKey Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datakey.md **Inheritance:** java.lang.Object ``` public final class DataKey ``` #### Methods | Method | Description | | --- | --- | | getKeyValues(DataRow dataRow) | | | getTable() | | ##### getKeyValues(DataRow dataRow) ``` public final Object[] getKeyValues(DataRow dataRow) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataRow | DataRow | | **Returns:** java.lang.Object[] ##### getTable() ``` public final DataTable getTable() ``` **Returns:** DataTable ### DataRelation Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datarelation.md **Inheritance:** java.lang.Object ``` public final class DataRelation ``` Represents a parent/child relationship between two DataTable objects. #### Constructors | Constructor | Description | | --- | --- | | DataRelation(String relationName, DataTable parentTable, DataTable childTable, String[] parentColumnNames, String[] childColumnNames) | Initializes a new instance of the DataRelation class using the specified name, parent and child tables, matched arrays of parent and child columns. | | DataRelation(String relationName, DataColumn[] parentColumns, DataColumn[] childColumns, boolean createConstraints) | Initializes a new instance of the DataRelation class using the specified name, matched arrays of parent and child DataColumn objects, and value that indicates whether to create constraints. | | DataRelation(String relationName, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) | Initializes a new instance of the DataRelation class using the specified name, parent and child DataColumn objects, and a value that indicates whether to create constraints. | | DataRelation(String relationName, DataColumn parentColumn, DataColumn childColumn) | Initializes a new instance of the DataRelation class using the specified DataRelation name, and parent and child DataColumn objects. | #### Methods | Method | Description | | --- | --- | | getRelationName() | Gets the name used to retrieve a DataRelation from the DataRelationCollection. | | getParentTableName() | | | getChildTableName() | | | getParentTable() | Gets the parent DataTable of this DataRelation. | | getChildTable() | Gets the child table of this relation. | | getParentColumnNames() | | | getChildColumnNames() | | | getParentColumns() | Gets an array of DataColumn objects that are the parent columns of this DataRelation. | | getChildColumns() | Gets the child DataColumn objects of this relation. | | setNested(boolean value) | Sets a value that indicates whether DataRelation objects are nested. | | getParentKeyConstraint() | Gets the UniqueConstraint that guarantees that values in the parent column of a DataRelation are unique. | | setParentKeyConstraint(UniqueConstraint parentKeyConstraint) | | | getChildKeyConstraint() | Gets the ForeignKeyConstraint for the relation. | | setChildKeyConstraint(ForeignKeyConstraint childKeyConstraint) | | | getChildKey() | | | getParentKey() | | | getDataSet() | Gets the DataSet to which the DataRelation belongs. | | hashCode() | | | equals(Object obj) | | ##### DataRelation(String relationName, DataTable parentTable, DataTable childTable, String[] parentColumnNames, String[] childColumnNames) ``` public DataRelation(String relationName, DataTable parentTable, DataTable childTable, String[] parentColumnNames, String[] childColumnNames) ``` Initializes a new instance of the DataRelation class using the specified name, parent and child tables, matched arrays of parent and child columns. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relationName | java.lang.String | The name of the DataRelation. If null or an empty string (""), a default name will be given when the created object is added to the DataRelationCollection. | | parentTable | DataTable | The parent table in the relationship. | | childTable | DataTable | The child table in the relationship. | | parentColumnNames | java.lang.String[] | The parent DataColumn's name in the relationship. | | childColumnNames | java.lang.String[] | The child DataColumn;s in the relationship. | ##### DataRelation(String relationName, DataColumn[] parentColumns, DataColumn[] childColumns, boolean createConstraints) ``` public DataRelation(String relationName, DataColumn[] parentColumns, DataColumn[] childColumns, boolean createConstraints) ``` Initializes a new instance of the DataRelation class using the specified name, matched arrays of parent and child DataColumn objects, and value that indicates whether to create constraints. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relationName | java.lang.String | The name of the relation. If null or an empty string (""), a default name will be given when the created object is added to the DataRelationCollection. | | parentColumns | DataColumn\[\] | An array of parent DataColumn objects. | | childColumns | DataColumn\[\] | An array of child DataColumn objects. | | createConstraints | boolean | A value that indicates whether to create constraints. true, if constraints are created. Otherwise, false. | ##### DataRelation(String relationName, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) ``` public DataRelation(String relationName, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) ``` Initializes a new instance of the DataRelation class using the specified name, parent and child DataColumn objects, and a value that indicates whether to create constraints. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relationName | java.lang.String | The name of the relation. If null or an empty string (""), a default name will be given when the created object is added to the DataRelationCollection. | | parentColumn | DataColumn | The parent DataColumn in the relation. | | childColumn | DataColumn | The child DataColumn in the relation. | | createConstraints | boolean | A value that indicates whether constraints are created. true, if constraints are created. Otherwise, false. | ##### DataRelation(String relationName, DataColumn parentColumn, DataColumn childColumn) ``` public DataRelation(String relationName, DataColumn parentColumn, DataColumn childColumn) ``` Initializes a new instance of the DataRelation class using the specified DataRelation name, and parent and child DataColumn objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relationName | java.lang.String | The name of the DataRelation. If null or an empty string (""), a default name will be given when the created object is added to the DataRelationCollection. | | parentColumn | DataColumn | The parent DataColumn in the relationship. | | childColumn | DataColumn | The child DataColumn in the relationship. | ##### getRelationName() ``` public final String getRelationName() ``` Gets the name used to retrieve a DataRelation from the DataRelationCollection. **Returns:** java.lang.String - The name of the a DataRelation. ##### getParentTableName() ``` public final String getParentTableName() ``` **Returns:** java.lang.String - the parent DataTable's name of this DataRelation. ##### getChildTableName() ``` public final String getChildTableName() ``` **Returns:** java.lang.String - the child DataTable's name of this DataRelation. ##### getParentTable() ``` public final DataTable getParentTable() ``` Gets the parent DataTable of this DataRelation. **Returns:** DataTable - A DataTable that is the parent table of this relation. ##### getChildTable() ``` public final DataTable getChildTable() ``` Gets the child table of this relation. **Returns:** DataTable - A DataTable that is the child table of the relation. ##### getParentColumnNames() ``` public final String[] getParentColumnNames() ``` **Returns:** java.lang.String[] - the parent DataColumn names of this relation. ##### getChildColumnNames() ``` public final String[] getChildColumnNames() ``` **Returns:** java.lang.String[] - the child DataColumn names of this relation. ##### getParentColumns() ``` public final DataColumn[] getParentColumns() ``` Gets an array of DataColumn objects that are the parent columns of this DataRelation. **Returns:** com.groupdocs.assembly.system.data.DataColumn[] - An array of DataColumn objects that are the parent columns of this DataRelation. ##### getChildColumns() ``` public final DataColumn[] getChildColumns() ``` Gets the child DataColumn objects of this relation. **Returns:** com.groupdocs.assembly.system.data.DataColumn[] - An array of DataColumn objects. ##### setNested(boolean value) ``` public final void setNested(boolean value) ``` Sets a value that indicates whether DataRelation objects are nested. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true, if DataRelation objects are nested; otherwise, false. | ##### getParentKeyConstraint() ``` public final UniqueConstraint getParentKeyConstraint() ``` Gets the UniqueConstraint that guarantees that values in the parent column of a DataRelation are unique. **Returns:** UniqueConstraint - A UniqueConstraint that makes sure that values in a parent column are unique. ##### setParentKeyConstraint(UniqueConstraint parentKeyConstraint) ``` public final void setParentKeyConstraint(UniqueConstraint parentKeyConstraint) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parentKeyConstraint | UniqueConstraint | | ##### getChildKeyConstraint() ``` public final ForeignKeyConstraint getChildKeyConstraint() ``` Gets the ForeignKeyConstraint for the relation. **Returns:** ForeignKeyConstraint - A ForeignKeyConstraint. ##### setChildKeyConstraint(ForeignKeyConstraint childKeyConstraint) ``` public final void setChildKeyConstraint(ForeignKeyConstraint childKeyConstraint) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | childKeyConstraint | ForeignKeyConstraint | | ##### getChildKey() ``` public final DataKey getChildKey() ``` **Returns:** DataKey ##### getParentKey() ``` public final DataKey getParentKey() ``` **Returns:** DataKey ##### getDataSet() ``` public final DataSet getDataSet() ``` Gets the DataSet to which the DataRelation belongs. **Returns:** DataSet - A DataSet to which the DataRelation belongs. ##### hashCode() ``` public final int hashCode() ``` **Returns:** int ##### equals(Object obj) ``` public final boolean equals(Object obj) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | | **Returns:** boolean ### DataRelationCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datarelationcollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public final class DataRelationCollection implements Iterable ``` Represents the collection of DataRelation objects for this DataSet. #### Methods | Method | Description | | --- | --- | | add(DataRelation relation) | Adds a DataRelation to the DataRelationCollection. | | add(DataTable parentTable, DataTable childTable, String parentColumnName, String childColumnName) | Adds a relation to the collection. | | add(DataTable parentTable, DataTable childTable, String[] parentColumnNames, String[] childColumnNames) | Adds a relation to the collection. | | add(String name, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) | Creates a DataRelation with the specified name, parent and child columns, with optional constraints according to the value of the createConstraints parameter, and adds it to the collection. | | add(DataColumn parentColumn, DataColumn childColumn) | Creates a DataRelation with a specified parent and child column, and adds it to the collection. | | add(String name, DataColumn parentColumn, DataColumn childColumn) | Creates a DataRelation with the specified name, and parent and child columns, and adds it to the collection. | | iterator() | | | getCount() | | | contains(DataRelation relation) | Verifies whether a DataRelation with the specific name (case insensitive) exists in the collection. | | indexOf(DataRelation relation) | Gets the index of the specified DataRelation object. | | get(String name) | Gets the DataRelation object specified by name. | | get(int index) | Gets the DataRelation object at the specified index. | | removeAt(int index) | Removes the relation at the specified index from the collection. | | clear() | Clears the collection of any relations. | ##### add(DataRelation relation) ``` public final void add(DataRelation relation) ``` Adds a DataRelation to the DataRelationCollection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DataRelation | The DataRelation to add to the collection. | ##### add(DataTable parentTable, DataTable childTable, String parentColumnName, String childColumnName) ``` public final void add(DataTable parentTable, DataTable childTable, String parentColumnName, String childColumnName) ``` Adds a relation to the collection. Performs no checks on the duplication etc. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parentTable | DataTable | The parent table of the relation. | | childTable | DataTable | The child table of the relation. | | parentColumnName | java.lang.String | The parent column's name of the relation. | | childColumnName | java.lang.String | The child column's name of the relation. | ##### add(DataTable parentTable, DataTable childTable, String[] parentColumnNames, String[] childColumnNames) ``` public final void add(DataTable parentTable, DataTable childTable, String[] parentColumnNames, String[] childColumnNames) ``` Adds a relation to the collection. Performs no checks on the duplication etc. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parentTable | DataTable | The parent table of the relation. | | childTable | DataTable | The child table of the relation. | | parentColumnNames | java.lang.String[] | The array of parent column's name of the relation. | | childColumnNames | java.lang.String[] | The array of child column's name of the relation. | ##### add(String name, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) ``` public final void add(String name, DataColumn parentColumn, DataColumn childColumn, boolean createConstraints) ``` Creates a DataRelation with the specified name, parent and child columns, with optional constraints according to the value of the createConstraints parameter, and adds it to the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the relation. | | parentColumn | DataColumn | The parent column of the relation. | | childColumn | DataColumn | The child column of the relation. | | createConstraints | boolean | true to create constraints; otherwise false. (The default is true). | ##### add(DataColumn parentColumn, DataColumn childColumn) ``` public final void add(DataColumn parentColumn, DataColumn childColumn) ``` Creates a DataRelation with a specified parent and child column, and adds it to the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parentColumn | DataColumn | The parent column of the relation. | | childColumn | DataColumn | The child column of the relation. | ##### add(String name, DataColumn parentColumn, DataColumn childColumn) ``` public final void add(String name, DataColumn parentColumn, DataColumn childColumn) ``` Creates a DataRelation with the specified name, and parent and child columns, and adds it to the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the relation. | | parentColumn | DataColumn | The parent column of the relation. | | childColumn | DataColumn | The child column of the relation. | ##### iterator() ``` public final Iterator iterator() ``` **Returns:** java.util.Iterator ##### getCount() ``` public final int getCount() ``` **Returns:** int - the total number of elements in a collection ##### contains(DataRelation relation) ``` public final boolean contains(DataRelation relation) ``` Verifies whether a DataRelation with the specific name (case insensitive) exists in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DataRelation | The name of the relation to find. | **Returns:** boolean - true, if a relation with the specified name exists; otherwise false. ##### indexOf(DataRelation relation) ``` public final int indexOf(DataRelation relation) ``` Gets the index of the specified DataRelation object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DataRelation | The relation to search for. | **Returns:** int - The 0-based index of the relation, or -1 if the relation is not found in the collection. ##### get(String name) ``` public final DataRelation get(String name) ``` Gets the DataRelation object specified by name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the relation to find. | **Returns:** DataRelation - The named DataRelation, or a null value if the specified DataRelation does not exist. ##### get(int index) ``` public final DataRelation get(int index) ``` Gets the DataRelation object at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index to find. | **Returns:** DataRelation - The DataRelation, or a null value if the specified DataRelation does not exist. ##### removeAt(int index) ``` public final void removeAt(int index) ``` Removes the relation at the specified index from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The index of the relation to remove. | ##### clear() ``` public final void clear() ``` Clears the collection of any relations. ### DataRow Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datarow.md **Inheritance:** java.lang.Object ``` public class DataRow ``` Represents a row of data in a DataTable. #### Methods | Method | Description | | --- | --- | | readFrom(ResultSet resultSet) | Reads values from the java.sql.ResultSet | | get(int columnIndex) | Gets the data stored in the column specified by index. | | get(String columnName) | Gets the data stored in the column specified by name. | | get(DataColumn column) | Gets the data stored in the specified DataColumn. | | getTable() | Gets the DataTable for which this row has a schema. | | getChildRows(DataRelation relation) | Gets the child rows of this DataRow using the specified DataRelation. | | getParentRow(DataRelation relation) | Gets the parent row of a DataRow using the specified DataRelation. | | getParentRows(DataRelation relation) | Gets the parent rows of a DataRow using the specified DataRelation. | | set(int value, Object columnIndex) | Sets the data stored in the column specified by index. | | set(String value, Object columnName) | Sets the data stored in the column specified by name. | | set(DataColumn value, Object column) | Sets the data stored in the specified DataColumn. | | getRowState() | Gets the current state of the row with regard to its relationship to the DataRowCollection. | | setRowState(int state) | | | delete() | Deletes the DataRow. | | setOriginalValue(String columnName, Object data) | | | getOriginalValue(String columnName) | | | getItemArray() | Gets all the values for this row through an array. | | setItemArray(Object[] value) | Sets all the values for this row through an array. | | getKeyValues(DataKey childKey) | | | remove(int index) | | | toString() | | ##### readFrom(ResultSet resultSet) ``` public boolean readFrom(ResultSet resultSet) ``` Reads values from the java.sql.ResultSet **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resultSet | java.sql.ResultSet | storage to read from | **Returns:** boolean - true if no read errors occurred ##### get(int columnIndex) ``` public Object get(int columnIndex) ``` Gets the data stored in the column specified by index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnIndex | int | The zero-based index of the column. | **Returns:** java.lang.Object - An java.lang.Object that contains the data. ##### get(String columnName) ``` public Object get(String columnName) ``` Gets the data stored in the column specified by name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | The name of the column. | **Returns:** java.lang.Object - An java.lang.Object that contains the data. ##### get(DataColumn column) ``` public Object get(DataColumn column) ``` Gets the data stored in the specified DataColumn. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DataColumn | A DataColumn that contains the data. | **Returns:** java.lang.Object - An java.lang.Object that contains the data. ##### getTable() ``` public DataTable getTable() ``` Gets the DataTable for which this row has a schema. **Returns:** DataTable - The DataTable to which this row belongs. ##### getChildRows(DataRelation relation) ``` public DataRow[] getChildRows(DataRelation relation) ``` Gets the child rows of this DataRow using the specified DataRelation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DataRelation | The DataRelation to use. | **Returns:** com.groupdocs.assembly.system.data.DataRow[] - An array of DataRow objects or an array of length zero. ##### getParentRow(DataRelation relation) ``` public DataRow getParentRow(DataRelation relation) ``` Gets the parent row of a DataRow using the specified DataRelation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DataRelation | The DataRelation to use. | **Returns:** DataRow - The parent DataRow of the current row. ##### getParentRows(DataRelation relation) ``` public DataRow[] getParentRows(DataRelation relation) ``` Gets the parent rows of a DataRow using the specified DataRelation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DataRelation | The DataRelation to use. | **Returns:** com.groupdocs.assembly.system.data.DataRow[] - An array of DataRow objects or an array of length zero. ##### set(int value, Object columnIndex) ``` public void set(int value, Object columnIndex) ``` Sets the data stored in the column specified by index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | An java.lang.Object that contains the data. | | columnIndex | java.lang.Object | The zero-based index of the column. | ##### set(String value, Object columnName) ``` public void set(String value, Object columnName) ``` Sets the data stored in the column specified by name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An java.lang.Object that contains the data. | | columnName | java.lang.Object | The name of the column. | ##### set(DataColumn value, Object column) ``` public void set(DataColumn value, Object column) ``` Sets the data stored in the specified DataColumn. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | DataColumn | An java.lang.Object that contains the data. | | column | java.lang.Object | A DataColumn that contains the data. | ##### getRowState() ``` public int getRowState() ``` Gets the current state of the row with regard to its relationship to the DataRowCollection. **Returns:** int - One of the DataRowState values. The returned value is a bitwise combination of DataRowState constants. ##### setRowState(int state) ``` public void setRowState(int state) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | state | int | | ##### delete() ``` public void delete() ``` Deletes the DataRow. ##### setOriginalValue(String columnName, Object data) ``` public void setOriginalValue(String columnName, Object data) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | | | data | java.lang.Object | | ##### getOriginalValue(String columnName) ``` public Object getOriginalValue(String columnName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | | **Returns:** java.lang.Object ##### getItemArray() ``` public Object[] getItemArray() ``` Gets all the values for this row through an array. **Returns:** java.lang.Object[] - An array of type java.lang.Object. ##### setItemArray(Object[] value) ``` public void setItemArray(Object[] value) ``` Sets all the values for this row through an array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object[] | An array of type java.lang.Object. | ##### getKeyValues(DataKey childKey) ``` public Object[] getKeyValues(DataKey childKey) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | childKey | DataKey | | **Returns:** java.lang.Object[] ##### remove(int index) ``` public void remove(int index) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | | ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### DataRowCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datarowcollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public class DataRowCollection implements Iterable ``` Represents a collection of rows for a DataTable. #### Methods | Method | Description | | --- | --- | | add(DataRow row) | Adds the specified DataRow to the DataRowCollection object. | | add(Object[] values) | Creates a row using specified values and adds it to the DataRowCollection. | | get(int index) | Gets the row at the specified index. | | getCount() | Gets the total number of DataRow objects in this collection. | | iterator() | Gets an java.util.Iterator for this collection. | | clear() | Clears the collection of all rows. | | insertAt(DataRow row, int pos) | Inserts a new row into the collection at the specified location. | | removeAt(int index) | Removes the row at the specified index from the collection. | | find(String primaryKeyValue) | Gets the row specified by the primary key value. | | find(Object[] keys) | Gets the row that contains the specified primary key values. | | get(Object[] values) | Gets the row that contains the specified values. | ##### add(DataRow row) ``` public void add(DataRow row) ``` Adds the specified DataRow to the DataRowCollection object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | row | DataRow | The DataRow to add. | ##### add(Object[] values) ``` public void add(Object[] values) ``` Creates a row using specified values and adds it to the DataRowCollection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | java.lang.Object[] | The array of values that are used to create the new row. | ##### get(int index) ``` public DataRow get(int index) ``` Gets the row at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the row to return. | **Returns:** DataRow - The specified DataRow. ##### getCount() ``` public int getCount() ``` Gets the total number of DataRow objects in this collection. **Returns:** int - The total number of DataRow objects in this collection. ##### iterator() ``` public Iterator iterator() ``` Gets an java.util.Iterator for this collection. **Returns:** java.util.Iterator - An java.util.Iterator for this collection. ##### clear() ``` public void clear() ``` Clears the collection of all rows. ##### insertAt(DataRow row, int pos) ``` public void insertAt(DataRow row, int pos) ``` Inserts a new row into the collection at the specified location. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | row | DataRow | The DataRow to add. | | pos | int | The (zero-based) location in the collection where you want to add the DataRow. | ##### removeAt(int index) ``` public void removeAt(int index) ``` Removes the row at the specified index from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The index of the row to remove. | ##### find(String primaryKeyValue) ``` public DataRow find(String primaryKeyValue) ``` Gets the row specified by the primary key value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | primaryKeyValue | java.lang.String | The primary key value of the DataRow to find. | **Returns:** DataRow - A DataRow that contains the primary key value specified; otherwise a null value if the primary key value does not exist in the DataRowCollection. ##### find(Object[] keys) ``` public DataRow find(Object[] keys) ``` Gets the row that contains the specified primary key values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keys | java.lang.Object[] | An array of primary key values to find. The type of the array is Object. | **Returns:** DataRow - A DataRow object that contains the primary key values specified; otherwise a null value if the primary key value does not exist in the DataRowCollection. ##### get(Object[] values) ``` public DataRow get(Object[] values) ``` Gets the row that contains the specified values. If there is primary key's column(s) present then the index will be used. If there is no index then simple linear scan is used. Be carefully with that because it could take a significant amount of time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | java.lang.Object[] | row's data | **Returns:** DataRow - found row or `null` ### DataRowState Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datarowstate.md **Inheritance:** java.lang.Object ``` public final class DataRowState ``` Specifies the state of a DataRow object. #### Fields | Field | Description | | --- | --- | | DETACHED | Specifies that the row has been created but is not part of any DataRowCollection. | | UNCHANGED | Specifies that the row has not changed. | | ADDED | Specifies that the row has been added to a DataRowCollection. | | DELETED | Specifies that the row was deleted using the DataRow.delete() method of the DataRow. | | MODIFIED | Specifies that the row has been modified. | ##### DETACHED ``` public static final int DETACHED ``` Specifies that the row has been created but is not part of any DataRowCollection. A DataRow is in this state immediately after it has been created and before it is added to a collection, or if it has been removed from a collection. ##### UNCHANGED ``` public static final int UNCHANGED ``` Specifies that the row has not changed. ##### ADDED ``` public static final int ADDED ``` Specifies that the row has been added to a DataRowCollection. ##### DELETED ``` public static final int DELETED ``` Specifies that the row was deleted using the DataRow.delete() method of the DataRow. ##### MODIFIED ``` public static final int MODIFIED ``` Specifies that the row has been modified. ### DataRowView Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datarowview.md **Inheritance:** java.lang.Object ``` public class DataRowView ``` Represents a customized view of a DataRow. #### Constructors | Constructor | Description | | --- | --- | | DataRowView(DataView view, DataRow row) | Initializes a new instance of this class. | #### Methods | Method | Description | | --- | --- | | getRow() | Gets the DataRow being viewed. | ##### DataRowView(DataView view, DataRow row) ``` public DataRowView(DataView view, DataRow row) ``` Initializes a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | view | DataView | | | row | DataRow | | ##### getRow() ``` public DataRow getRow() ``` Gets the DataRow being viewed. **Returns:** DataRow - The DataRow being viewed by the DataRowView. ### DataSet Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/dataset.md **Inheritance:** java.lang.Object ``` public class DataSet ``` Represents an in-memory cache of data. #### Constructors | Constructor | Description | | --- | --- | | DataSet() | Initializes a new instance of the DataSet class. | | DataSet(Connection connection) | Initializes a new instance of the DataSet class with data taken from Connection. | | DataSet(Connection connection, String schemaName) | Initializes a new instance of the DataSet class with data taken from Connection. | | DataSet(String dataSetName) | Initializes a new instance of a DataSet class with the given name. | #### Methods | Method | Description | | --- | --- | | getDataSetName() | Gets the name of the current DataSet. | | setDataSetName(String value) | Sets the name of the current DataSet. | | getNamespace() | Gets the namespace of the DataSet. | | getTables() | Gets the collection of tables contained in the DataSet. | | getRelations() | Get the collection of relations that link tables and allow navigation from parent tables to child tables. | | close() | | | clear() | Clears the DataSet of any data by removing all rows in all tables. | | reset() | Resets the DataSet to its original state. | | readXml(InputStream xmlStream, XmlReadMode mode) | Reads XML schema and data into the DataSet using the specified java.io.InputStream and XmlReadMode. | | readXml(InputStream xmlStream) | Reads XML schema and data into the DataSet using the specified java.io.InputStream. | | readXml(String fileName) | Reads XML schema and data into the DataSet using the specified file. | | readXml(String xmlPath, XmlReadMode readMode) | Reads XML schema and data into the DataSet using the specified file and XmlReadMode. | | readXmlSchema(InputStream xmlStream) | Reads the XML schema from the specified Stream into the DataSet. | | readXmlSchema(String fileName) | Reads the XML schema from the specified file into the DataSet. | | setLocale(Locale locale) | Sets the locale information used to compare strings within the table. | | isLocaleSpecified() | | | getEnforceConstraints() | Gets a value indicating whether constraint rules are followed when attempting any update operation. | | setEnforceConstraints(boolean value) | Sets a value indicating whether constraint rules are followed when attempting any update operation. | ##### DataSet() ``` public DataSet() ``` Initializes a new instance of the DataSet class. ##### DataSet(Connection connection) ``` public DataSet(Connection connection) ``` Initializes a new instance of the DataSet class with data taken from Connection. Tables, Relations, Constraints and Indexes will be copied into DataSet. By default no schema name will be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | connection | java.sql.Connection | which contains DB data. | ##### DataSet(Connection connection, String schemaName) ``` public DataSet(Connection connection, String schemaName) ``` Initializes a new instance of the DataSet class with data taken from Connection. Tables, Relations, Constraints and Indexes will be copied into DataSet. `DataSet dataSet = new DataSet(conn, "PUBLIC"); // HSQLDB` or `DataSet dataSet = new DataSet(conn); // MYSQL's default schema name.` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | connection | java.sql.Connection | which contains DB data. | | schemaName | java.lang.String | which contains the tables to be imported. | ##### DataSet(String dataSetName) ``` public DataSet(String dataSetName) ``` Initializes a new instance of a DataSet class with the given name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSetName | java.lang.String | The name of the DataSet. | ##### getDataSetName() ``` public String getDataSetName() ``` Gets the name of the current DataSet. **Returns:** java.lang.String - The name of the DataSet. ##### setDataSetName(String value) ``` public void setDataSetName(String value) ``` Sets the name of the current DataSet. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the DataSet. | ##### getNamespace() ``` public String getNamespace() ``` Gets the namespace of the DataSet. **Returns:** java.lang.String - The namespace of the DataSet. ##### getTables() ``` public DataTableCollection getTables() ``` Gets the collection of tables contained in the DataSet. **Returns:** DataTableCollection - The DataTableCollection contained by this DataSet. An empty collection is returned if no DataTable objects exist. ##### getRelations() ``` public DataRelationCollection getRelations() ``` Get the collection of relations that link tables and allow navigation from parent tables to child tables. **Returns:** DataRelationCollection - A DataRelationCollection that contains a collection of DataRelation objects. An empty collection is returned if no DataRelation objects exist. ##### close() ``` public void close() ``` ##### clear() ``` public void clear() ``` Clears the DataSet of any data by removing all rows in all tables. ##### reset() ``` public void reset() ``` Resets the DataSet to its original state. Subclasses should override reset() to restore a DataSet to its original state. ##### readXml(InputStream xmlStream, XmlReadMode mode) ``` public XmlReadMode readXml(InputStream xmlStream, XmlReadMode mode) ``` Reads XML schema and data into the DataSet using the specified java.io.InputStream and XmlReadMode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlStream | java.io.InputStream | The Stream from which to read. | | mode | XmlReadMode | One of the XmlReadMode values. | **Returns:** XmlReadMode - The XmlReadMode used to read the data. ##### readXml(InputStream xmlStream) ``` public XmlReadMode readXml(InputStream xmlStream) ``` Reads XML schema and data into the DataSet using the specified java.io.InputStream. The \#readXml(InputStream, XmlReadMode).readXml(InputStream, XmlReadMode) method provides a way to read either data only, or both data and schema into a DataSet from an XML document, whereas the \#readXmlSchema(InputStream).readXmlSchema(InputStream) method reads only the schema. To read both data and schema, use one of the `readXML` overloads that includes the mode parameter, and set its value to ReadSchema. If an in-line schema is specified, the in-line schema is used to extend the existing relational structure prior to loading the data. If there are any conflicts (for example, the same column in the same table defined with different data types) an exception is raised. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlStream | java.io.InputStream | data stream | **Returns:** XmlReadMode - mode which was used while reading ##### readXml(String fileName) ``` public XmlReadMode readXml(String fileName) ``` Reads XML schema and data into the DataSet using the specified file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileName | java.lang.String | The filename (including the path) from which to read. | **Returns:** XmlReadMode - The XmlReadMode used to read the data. The returned value is one of XmlReadMode constants. ##### readXml(String xmlPath, XmlReadMode readMode) ``` public XmlReadMode readXml(String xmlPath, XmlReadMode readMode) ``` Reads XML schema and data into the DataSet using the specified file and XmlReadMode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlPath | java.lang.String | the specified file | | readMode | XmlReadMode | XmlReadMode | **Returns:** XmlReadMode - mode which was used while reading ##### readXmlSchema(InputStream xmlStream) ``` public void readXmlSchema(InputStream xmlStream) ``` Reads the XML schema from the specified Stream into the DataSet. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlStream | java.io.InputStream | won't be closed after the schema has been read. | ##### readXmlSchema(String fileName) ``` public void readXmlSchema(String fileName) ``` Reads the XML schema from the specified file into the DataSet. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileName | java.lang.String | The file name (including the path) from which to read. | ##### setLocale(Locale locale) ``` public void setLocale(Locale locale) ``` Sets the locale information used to compare strings within the table. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | locale | java.util.Locale | of this data set | ##### isLocaleSpecified() ``` public boolean isLocaleSpecified() ``` **Returns:** boolean - true if locale was set ##### getEnforceConstraints() ``` public boolean getEnforceConstraints() ``` Gets a value indicating whether constraint rules are followed when attempting any update operation. **Returns:** boolean - true if rules are enforced; otherwise false. The default is true. ##### setEnforceConstraints(boolean value) ``` public void setEnforceConstraints(boolean value) ``` Sets a value indicating whether constraint rules are followed when attempting any update operation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if rules are enforced; otherwise false. The default is true. | ### DataTable Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datatable.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.assembly.system.data.DataTableEventListener ``` public class DataTable implements DataTableEventListener ``` Represents one table of in-memory data. #### Constructors | Constructor | Description | | --- | --- | | DataTable() | Initializes a new instance of the DataTable class with no arguments. | | DataTable(String tableName) | Initializes a new instance of the DataTable class with the specified table name. | | DataTable(ResultSet resultSet) | Creates an object by wrapping the specified ResultSet. | | DataTable(ResultSet resultSet, String tableName) | Creates an object by wrapping the specified ResultSet. | #### Methods | Method | Description | | --- | --- | | close() | | | getTableName() | Gets the name of the DataTable. | | setTableName(String value) | Sets the name of the DataTable. | | containsColumn(String columnName) | Check whether the given column exists or not | | getColumnsCount() | | | getColumnName(int index) | Analog for .Net DataTable.Columns[i].ColumnName | | getResultSet() | Returns the underlying Java ResultSet object. | | getDataSet() | Gets the DataSet to which this table belongs. | | getChildRelations() | Gets the collection of child relations for this DataTable. | | getParentRelations() | Gets the collection of parent relations for this DataTable. | | getRows() | Gets the collection of rows that belong to this table. | | getColumns() | Gets the collection of columns that belong to this table. | | newRow() | Creates a new DataRow with the same schema as the table. | | getConstraints() | Gets the collection of constraints maintained by this table. | | getPrimaryKey() | Gets an array of columns that function as primary keys for the data table. | | setPrimaryKey(DataColumn[] value) | Sets an array of columns that function as primary keys for the data table. | | getNamespace() | Gets the namespace for the XML representation of the data stored in the DataTable. | | setNamespace(String value) | Sets the namespace for the XML representation of the data stored in the DataTable. | | getEnforceConstraints() | | | setEnforceConstraints(boolean enforceConstraints) | | | refresh() | Reloads all the data from ResultSet if it is present. | | acceptChanges() | Commits all the changes made to this table since the last time acceptChanges() was called. | | addEventListener(DataTableEventListener listener) | | | clearEventListneers() | | | onDataRowChanged(DataRow row) | | | onDataRowInserted(DataRow row) | | | onDataRowDeleted(DataRow row) | | | onDataColumnInserted(DataColumn column) | | | onDataColumnDeleted(DataColumn column) | | ##### DataTable() ``` public DataTable() ``` Initializes a new instance of the DataTable class with no arguments. ##### DataTable(String tableName) ``` public DataTable(String tableName) ``` Initializes a new instance of the DataTable class with the specified table name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tableName | java.lang.String | The name to give the table. If tableName is null or an empty string, a default name is given when added to the DataTableCollection. | ##### DataTable(ResultSet resultSet) ``` public DataTable(ResultSet resultSet) ``` Creates an object by wrapping the specified ResultSet. Attempts to retrieve the table name from the metadata of the first column of the ResultSet. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resultSet | java.sql.ResultSet | data set | ##### DataTable(ResultSet resultSet, String tableName) ``` public DataTable(ResultSet resultSet, String tableName) ``` Creates an object by wrapping the specified ResultSet. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resultSet | java.sql.ResultSet | data set | | tableName | java.lang.String | name of the table | ##### close() ``` public void close() ``` ##### getTableName() ``` public String getTableName() ``` Gets the name of the DataTable. **Returns:** java.lang.String - The name of the DataTable. ##### setTableName(String value) ``` public void setTableName(String value) ``` Sets the name of the DataTable. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the DataTable. | ##### containsColumn(String columnName) ``` public boolean containsColumn(String columnName) ``` Check whether the given column exists or not **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnName | java.lang.String | name of the column | **Returns:** boolean - `true` is column can be found by the given `columnName` ##### getColumnsCount() ``` public int getColumnsCount() ``` **Returns:** int - columns count ##### getColumnName(int index) ``` public String getColumnName(int index) ``` Analog for .Net DataTable.Columns[i].ColumnName **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | \- column's index | **Returns:** java.lang.String - column's name by its index. ##### getResultSet() ``` public ResultSet getResultSet() ``` Returns the underlying Java ResultSet object. Ideally we would like to work with DataTable in .Net manner. But some users and even some ours sample code are using this property. **Returns:** java.sql.ResultSet - the underlying java.sql.ResultSet ##### getDataSet() ``` public DataSet getDataSet() ``` Gets the DataSet to which this table belongs. **Returns:** DataSet - The DataSet to which this table belongs. ##### getChildRelations() ``` public DataRelationCollection getChildRelations() ``` Gets the collection of child relations for this DataTable. **Returns:** DataRelationCollection - A DataRelationCollection that contains the child relations for the table. An empty collection is returned if no DataRelation objects exist. ##### getParentRelations() ``` public DataRelationCollection getParentRelations() ``` Gets the collection of parent relations for this DataTable. **Returns:** DataRelationCollection - A DataRelationCollection that contains the parent relations for the table. An empty collection is returned if no DataRelation objects exist. ##### getRows() ``` public DataRowCollection getRows() ``` Gets the collection of rows that belong to this table. **Returns:** DataRowCollection - A DataRowCollection that contains DataRow objects; otherwise a null value if no DataRow objects exist. ##### getColumns() ``` public DataColumnCollection getColumns() ``` Gets the collection of columns that belong to this table. **Returns:** DataColumnCollection - A DataColumnCollection that contains the collection of DataColumn objects for the table. An empty collection is returned if no DataColumn objects exist. ##### newRow() ``` public DataRow newRow() ``` Creates a new DataRow with the same schema as the table. **Returns:** DataRow - A DataRow with the same schema as the DataTable. ##### getConstraints() ``` public ConstraintCollection getConstraints() ``` Gets the collection of constraints maintained by this table. **Returns:** ConstraintCollection - A ConstraintCollection that contains the collection of Constraint objects for the table. An empty collection is returned if no Constraint objects exist. ##### getPrimaryKey() ``` public DataColumn[] getPrimaryKey() ``` Gets an array of columns that function as primary keys for the data table. **Returns:** com.groupdocs.assembly.system.data.DataColumn[] - An array of DataColumn objects. ##### setPrimaryKey(DataColumn[] value) ``` public void setPrimaryKey(DataColumn[] value) ``` Sets an array of columns that function as primary keys for the data table. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | DataColumn\[\] | An array of DataColumn objects. | ##### getNamespace() ``` public String getNamespace() ``` Gets the namespace for the XML representation of the data stored in the DataTable. **Returns:** java.lang.String - The namespace of the DataTable. ##### setNamespace(String value) ``` public void setNamespace(String value) ``` Sets the namespace for the XML representation of the data stored in the DataTable. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The namespace of the DataTable. | ##### getEnforceConstraints() ``` public boolean getEnforceConstraints() ``` **Returns:** boolean - flag which indicates whether check constraint violation or not ##### setEnforceConstraints(boolean enforceConstraints) ``` public void setEnforceConstraints(boolean enforceConstraints) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | enforceConstraints | boolean | is the flag which indicates whether check constraint violation or not | ##### refresh() ``` public void refresh() ``` Reloads all the data from ResultSet if it is present. ##### acceptChanges() ``` public void acceptChanges() ``` Commits all the changes made to this table since the last time acceptChanges() was called. ##### addEventListener(DataTableEventListener listener) ``` public synchronized void addEventListener(DataTableEventListener listener) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | listener | DataTableEventListener | | ##### clearEventListneers() ``` public synchronized void clearEventListneers() ``` ##### onDataRowChanged(DataRow row) ``` public void onDataRowChanged(DataRow row) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | row | DataRow | | ##### onDataRowInserted(DataRow row) ``` public void onDataRowInserted(DataRow row) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | row | DataRow | | ##### onDataRowDeleted(DataRow row) ``` public void onDataRowDeleted(DataRow row) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | row | DataRow | | ##### onDataColumnInserted(DataColumn column) ``` public void onDataColumnInserted(DataColumn column) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DataColumn | | ##### onDataColumnDeleted(DataColumn column) ``` public void onDataColumnDeleted(DataColumn column) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DataColumn | | ### DataTableCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datatablecollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public final class DataTableCollection implements Iterable ``` Represents the collection of tables for the DataSet. #### Methods | Method | Description | | --- | --- | | iterator() | | | get(String name) | Gets the DataTable object with the specified name. | | get(String name, String tableNamespace) | Gets the DataTable object with the specified name in the specified namespace. | | add(DataTable table) | Adds the specified DataTable to the collection. | | add(String name) | Creates a DataTable object by using the specified name and adds it to the collection. | | get(int index) | Gets the DataTable object at the specified index. | | getCount() | | | contains(String name) | Gets a value that indicates whether a DataTable object with the specified name exists in the collection. | ##### iterator() ``` public final Iterator iterator() ``` **Returns:** java.util.Iterator ##### get(String name) ``` public final DataTable get(String name) ``` Gets the DataTable object with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the DataTable to find. | **Returns:** DataTable - A DataTable with the specified name; otherwise null if the DataTable does not exist. ##### get(String name, String tableNamespace) ``` public final DataTable get(String name, String tableNamespace) ``` Gets the DataTable object with the specified name in the specified namespace. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the DataTable to find. | | tableNamespace | java.lang.String | The name of the DataTable namespace to look in. | **Returns:** DataTable - A DataTable with the specified name; otherwise null if the DataTable does not exist. ##### add(DataTable table) ``` public final void add(DataTable table) ``` Adds the specified DataTable to the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | table | DataTable | The DataTable object to add. | ##### add(String name) ``` public final DataTable add(String name) ``` Creates a DataTable object by using the specified name and adds it to the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name to give the created DataTable. | **Returns:** DataTable - The newly created DataTable. ##### get(int index) ``` public final DataTable get(int index) ``` Gets the DataTable object at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the DataTable to find. | **Returns:** DataTable - A DataTable. ##### getCount() ``` public final int getCount() ``` **Returns:** int - total number of items in this collection. ##### contains(String name) ``` public final boolean contains(String name) ``` Gets a value that indicates whether a DataTable object with the specified name exists in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the DataTable to find. | **Returns:** boolean - true if the specified table exists; otherwise false. ### DataTableEventListener Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datatableeventlistener.md ### DataTableReader Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/datatablereader.md **Inheritance:** java.lang.Object, com.groupdocs.assembly.system.data.common.DbDataReader ``` public final class DataTableReader extends DbDataReader ``` The DataTableReader obtains the contents of one or more DataTable objects in the form of one or more read-only, forward-only result sets. #### Constructors | Constructor | Description | | --- | --- | | DataTableReader(DataTable dataTable) | Initializes a new instance of the DataTableReader class by using data from the supplied DataTable. | | DataTableReader(DataTable[] dataTables) | Initializes a new instance of the DataTableReader class using the supplied array of DataTable objects. | #### Methods | Method | Description | | --- | --- | | getFieldCount() | Returns the number of columns in the current row. | | isClosed() | Gets a value that indicates whether the DataTableReader is closed. | | get(int ordinal) | Gets the value of the specified column in its native format given the column ordinal. | | getName(int ordinal) | Gets the value of the specified column as a java.lang.String. | | getFieldType(int ordinal) | Gets the java.lang.Class that is the data type of the object. | | getValue(int ordinal) | Gets the value of the specified column in its native format. | | read() | Advances the DataTableReader to the next record. | | getDepth() | The depth of nesting for the current row of the DataTableReader. | | getRecordsAffected() | Gets the number of rows inserted, changed, or deleted by execution of the SQL statement. | | close() | Closes the current DataTableReader. | | getSchemaTable() | Returns a DataTable that describes the column metadata of the DataTableReader. | | nextResult() | Advances the DataTableReader to the next result set, if any. | | hasRows() | Gets a value that indicates whether the DataTableReader contains one or more rows. | | iterator() | Returns an enumerator that can be used to iterate through the item collection. | | get(String name) | Gets the value of the specified column in its native format given the column name. | ##### DataTableReader(DataTable dataTable) ``` public DataTableReader(DataTable dataTable) ``` Initializes a new instance of the DataTableReader class by using data from the supplied DataTable. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataTable | DataTable | The DataTable from which the new DataTableReader obtains its result set. | ##### DataTableReader(DataTable[] dataTables) ``` public DataTableReader(DataTable[] dataTables) ``` Initializes a new instance of the DataTableReader class using the supplied array of DataTable objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataTables | DataTable\[\] | The array of DataTable objects that supplies the results for the new DataTableReader object. | ##### getFieldCount() ``` public final int getFieldCount() ``` Returns the number of columns in the current row. **Returns:** int - When not positioned in a valid result set, 0; otherwise the number of columns in the current row. ##### isClosed() ``` public final boolean isClosed() ``` Gets a value that indicates whether the DataTableReader is closed. **Returns:** boolean - Returns true if the DataTableReader is closed; otherwise, false. ##### get(int ordinal) ``` public final Object get(int ordinal) ``` Gets the value of the specified column in its native format given the column ordinal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ordinal | int | The zero-based column ordinal. | **Returns:** java.lang.Object - The value of the specified column in its native format. ##### getName(int ordinal) ``` public final String getName(int ordinal) ``` Gets the value of the specified column as a java.lang.String. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ordinal | int | The zero-based column ordinal | **Returns:** java.lang.String - The name of the specified column. ##### getFieldType(int ordinal) ``` public final Class getFieldType(int ordinal) ``` Gets the java.lang.Class that is the data type of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ordinal | int | The zero-based column ordinal. | **Returns:** java.lang.Class - The java.lang.Class that is the data type of the object. ##### getValue(int ordinal) ``` public final Object getValue(int ordinal) ``` Gets the value of the specified column in its native format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ordinal | int | The zero-based column ordinal | **Returns:** java.lang.Object - The value of the specified column. This method returns DBNull for null columns. ##### read() ``` public final boolean read() ``` Advances the DataTableReader to the next record. **Returns:** boolean - true if there was another row to read; otherwise false. ##### getDepth() ``` public final int getDepth() ``` The depth of nesting for the current row of the DataTableReader. **Returns:** int - The depth of nesting for the current row; always zero. ##### getRecordsAffected() ``` public final int getRecordsAffected() ``` Gets the number of rows inserted, changed, or deleted by execution of the SQL statement. **Returns:** int - The DataTableReader does not support this property and always returns 0. ##### close() ``` public final void close() ``` Closes the current DataTableReader. ##### getSchemaTable() ``` public final DataTable getSchemaTable() ``` Returns a DataTable that describes the column metadata of the DataTableReader. **Returns:** DataTable - A DataTable that describes the column metadata. ##### nextResult() ``` public final boolean nextResult() ``` Advances the DataTableReader to the next result set, if any. **Returns:** boolean - true if there was another result set; otherwise false. ##### hasRows() ``` public final boolean hasRows() ``` Gets a value that indicates whether the DataTableReader contains one or more rows. **Returns:** boolean - true if the DataTableReader contains one or more rows; otherwise false. ##### iterator() ``` public final Iterator iterator() ``` Returns an enumerator that can be used to iterate through the item collection. **Returns:** java.util.Iterator - An java.util.Iterator object that represents the item collection. ##### get(String name) ``` public final Object get(String name) ``` Gets the value of the specified column in its native format given the column name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the column. | **Returns:** java.lang.Object - The value of the specified column in its native format. ### DataView Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/dataview.md **Inheritance:** java.lang.Object ``` public class DataView ``` Represents a databindable, customized view of a DataTable for sorting, filtering, searching, editing, and navigation. #### Constructors | Constructor | Description | | --- | --- | | DataView(DataTable table) | Initializes a new instance of the DataView class with the specified DataTable. | #### Methods | Method | Description | | --- | --- | | getCount() | Gets the number of records in the DataView. | | getTable() | Gets the source DataTable. | | get(int recordIndex) | Gets a row of data from a specified table. | | close() | Closes the DataView. | ##### DataView(DataTable table) ``` public DataView(DataTable table) ``` Initializes a new instance of the DataView class with the specified DataTable. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | table | DataTable | A DataTable to add to the DataView. | ##### getCount() ``` public int getCount() ``` Gets the number of records in the DataView. **Returns:** int - The number of records in the DataView. ##### getTable() ``` public DataTable getTable() ``` Gets the source DataTable. **Returns:** DataTable - A DataTable that provides the data for this view. ##### get(int recordIndex) ``` public DataRowView get(int recordIndex) ``` Gets a row of data from a specified table. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordIndex | int | The index of a record in the DataTable. | **Returns:** DataRowView - A DataRowView of the row that you want. ##### close() ``` public void close() ``` Closes the DataView. ### DBNull Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/dbnull.md **Inheritance:** java.lang.Object ``` public final class DBNull ``` #### Fields | Field | Description | | --- | --- | | Value | | #### Methods | Method | Description | | --- | --- | | toString() | | ##### Value ``` public static final DBNull Value ``` ##### toString() ``` public final String toString() ``` **Returns:** java.lang.String ### ForeignKeyConstraint Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/foreignkeyconstraint.md **Inheritance:** java.lang.Object, com.groupdocs.assembly.system.data.Constraint ``` public class ForeignKeyConstraint extends Constraint ``` Represents an action restriction enforced on a set of columns in a primary key/foreign key relationship when a value or row is either deleted or updated. #### Constructors | Constructor | Description | | --- | --- | | ForeignKeyConstraint(String constraintName, DataColumn[] parentColumns, DataColumn[] childColumns) | Initializes a new instance of the ForeignKeyConstraint class with the specified name, and arrays of parent and child DataColumn objects. | | ForeignKeyConstraint(DataColumn parentColumn, DataColumn childColumn) | Initializes a new instance of the ForeignKeyConstraint class with the specified parent and child DataColumn objects. | | ForeignKeyConstraint(String constraintName, DataColumn parentColumn, DataColumn childColumn) | Initializes a new instance of the ForeignKeyConstraint class with the specified name, parent and child DataColumn objects. | #### Methods | Method | Description | | --- | --- | | getDeleteRule() | Gets the action that occurs across this constraint when a row is deleted. | | getUpdateRule() | Gets the action that occurs across this constraint on when a row is updated. | | hashCode() | | | equals(Object key) | Gets a value indicating whether the current ForeignKeyConstraint is identical to the specified object. | | getColumns() | Gets the child columns of this constraint. | | getRelatedColumns() | The parent columns of this constraint. | | getTable() | Gets the child table of this constraint. | | getRelatedTable() | Gets the parent table of this constraint. | ##### ForeignKeyConstraint(String constraintName, DataColumn[] parentColumns, DataColumn[] childColumns) ``` public ForeignKeyConstraint(String constraintName, DataColumn[] parentColumns, DataColumn[] childColumns) ``` Initializes a new instance of the ForeignKeyConstraint class with the specified name, and arrays of parent and child DataColumn objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | constraintName | java.lang.String | The name of the ForeignKeyConstraint. If null or empty string, a default name will be given when added to the constraints collection. | | parentColumns | DataColumn\[\] | An array of parent DataColumn in the constraint. | | childColumns | DataColumn\[\] | An array of child DataColumn in the constraint. | ##### ForeignKeyConstraint(DataColumn parentColumn, DataColumn childColumn) ``` public ForeignKeyConstraint(DataColumn parentColumn, DataColumn childColumn) ``` Initializes a new instance of the ForeignKeyConstraint class with the specified parent and child DataColumn objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parentColumn | DataColumn | The parent DataColumn in the constraint. | | childColumn | DataColumn | The child DataColumn in the constraint. | ##### ForeignKeyConstraint(String constraintName, DataColumn parentColumn, DataColumn childColumn) ``` public ForeignKeyConstraint(String constraintName, DataColumn parentColumn, DataColumn childColumn) ``` Initializes a new instance of the ForeignKeyConstraint class with the specified name, parent and child DataColumn objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | constraintName | java.lang.String | The name of the constraint. | | parentColumn | DataColumn | The parent DataColumn in the constraint. | | childColumn | DataColumn | The child DataColumn in the constraint. | ##### getDeleteRule() ``` public Rule getDeleteRule() ``` Gets the action that occurs across this constraint when a row is deleted. **Returns:** Rule - One of the Rule values. The default is Cascade. The returned value is one of Rule constants. ##### getUpdateRule() ``` public Rule getUpdateRule() ``` Gets the action that occurs across this constraint on when a row is updated. **Returns:** Rule - One of the Rule values. The default is Cascade. The returned value is one of Rule constants. ##### hashCode() ``` public int hashCode() ``` **Returns:** int ##### equals(Object key) ``` public boolean equals(Object key) ``` Gets a value indicating whether the current ForeignKeyConstraint is identical to the specified object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.Object | The object to which this ForeignKeyConstraint is compared. Two ForeignKeyConstraint are equal if they constrain the same columns. | **Returns:** boolean - true, if the objects are identical; otherwise, false. ##### getColumns() ``` public DataColumn[] getColumns() ``` Gets the child columns of this constraint. **Returns:** com.groupdocs.assembly.system.data.DataColumn[] - An array of DataColumn objects that are the child columns of the constraint. ##### getRelatedColumns() ``` public DataColumn[] getRelatedColumns() ``` The parent columns of this constraint. **Returns:** com.groupdocs.assembly.system.data.DataColumn[] - An array of DataColumn objects that are the parent columns of the constraint. ##### getTable() ``` public DataTable getTable() ``` Gets the child table of this constraint. **Returns:** DataTable - A DataTable that is the child table in the constraint. ##### getRelatedTable() ``` public DataTable getRelatedTable() ``` Gets the parent table of this constraint. **Returns:** DataTable - The parent DataTable of this constraint. ### IDataReader Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/idatareader.md **All Implemented Interfaces:** com.groupdocs.assembly.system.data.IDataRecord ``` public interface IDataReader extends IDataRecord ``` Provides a means of reading one or more forward-only streams of result sets obtained by executing a command at a data source, and is implemented by .NET Framework data providers that access relational databases. #### Methods | Method | Description | | --- | --- | | read() | Advances the IDataReader to the next record. | | getDepth() | Gets a value indicating the depth of nesting for the current row. | | isClosed() | Gets a value indicating whether the data reader is closed. | | getRecordsAffected() | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. | | close() | Closes the IDataReader Object. | | getSchemaTable() | Returns a DataTable that describes the column metadata of the IDataReader. | | nextResult() | Advances the data reader to the next result, when reading the results of batch SQL statements. | ##### read() ``` public abstract boolean read() ``` Advances the IDataReader to the next record. **Returns:** boolean - true if there are more rows; otherwise, false. ##### getDepth() ``` public abstract int getDepth() ``` Gets a value indicating the depth of nesting for the current row. **Returns:** int - The level of nesting. ##### isClosed() ``` public abstract boolean isClosed() ``` Gets a value indicating whether the data reader is closed. **Returns:** boolean - true if the data reader is closed; otherwise, false. ##### getRecordsAffected() ``` public abstract int getRecordsAffected() ``` Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. **Returns:** int - The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for SELECT statements. ##### close() ``` public abstract void close() ``` Closes the IDataReader Object. ##### getSchemaTable() ``` public abstract DataTable getSchemaTable() ``` Returns a DataTable that describes the column metadata of the IDataReader. **Returns:** DataTable - A DataTable that describes the column metadata. ##### nextResult() ``` public abstract boolean nextResult() ``` Advances the data reader to the next result, when reading the results of batch SQL statements. **Returns:** boolean - true if there are more rows; otherwise, false. ### IDataRecord Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/idatarecord.md ### InvalidConstraintException Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/invalidconstraintexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException ``` public final class InvalidConstraintException extends IllegalStateException ``` Represents the exception that is thrown when incorrectly trying to create or access a relation. #### Constructors | Constructor | Description | | --- | --- | | InvalidConstraintException(String s) | Initializes a new instance of the InvalidConstraintException class with the specified string. | ##### InvalidConstraintException(String s) ``` public InvalidConstraintException(String s) ``` Initializes a new instance of the InvalidConstraintException class with the specified string. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | s | java.lang.String | The string to display when the exception is thrown. | ### MappingType Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/mappingtype.md **Inheritance:** java.lang.Object ``` public class MappingType ``` A utility class providing constants. Specifies how a DataColumn is mapped. #### Fields | Field | Description | | --- | --- | | ELEMENT | The column is mapped to an XML element. | | ATTRIBUTE | The column is mapped to an XML attribute. | | SIMPLE_CONTENT | The column is mapped to a text node. | | HIDDEN | The column is mapped to an internal structure. | ##### ELEMENT ``` public static final int ELEMENT ``` The column is mapped to an XML element. ##### ATTRIBUTE ``` public static final int ATTRIBUTE ``` The column is mapped to an XML attribute. ##### SIMPLE_CONTENT ``` public static final int SIMPLE_CONTENT ``` The column is mapped to a text node. ##### HIDDEN ``` public static final int HIDDEN ``` The column is mapped to an internal structure. ### Rule Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/rule.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum Rule extends Enum ``` A utility class providing constants. Indicates the action that occurs when a ForeignKeyConstraint is enforced. #### Fields | Field | Description | | --- | --- | | NONE | No action taken on related rows. | | CASCADE | Delete or update related rows. | | SET_NULL | Set values in related rows to DBNull. | | SET_DEFAULT | Set values in related rows to the value contained in the DataColumn.getDefaultValue() / DataColumn.setDefaultValue(java.lang.Object) property. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### NONE ``` public static final Rule NONE ``` No action taken on related rows. ##### CASCADE ``` public static final Rule CASCADE ``` Delete or update related rows. This is the default. ##### SET_NULL ``` public static final Rule SET_NULL ``` Set values in related rows to DBNull. ##### SET_DEFAULT ``` public static final Rule SET_DEFAULT ``` Set values in related rows to the value contained in the DataColumn.getDefaultValue() / DataColumn.setDefaultValue(java.lang.Object) property. ##### values() ``` public static Rule[] values() ``` **Returns:** com.groupdocs.assembly.system.data.Rule[] ##### valueOf(String name) ``` public static Rule valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** Rule ### UniqueConstraint Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/uniqueconstraint.md **Inheritance:** java.lang.Object, com.groupdocs.assembly.system.data.Constraint ``` public class UniqueConstraint extends Constraint ``` Represents a restriction on a set of columns in which all values must be unique. #### Constructors | Constructor | Description | | --- | --- | | UniqueConstraint(String name, DataColumn[] columns, boolean isPrimaryKey) | Initializes a new instance of the UniqueConstraint class with the specified name, an array of DataColumn objects to constrain, and a value specifying whether the constraint is a primary key. | | UniqueConstraint(DataColumn[] columns, boolean isPrimaryKey) | Initializes a new instance of the UniqueConstraint class with an array of DataColumn objects to constrain, and a value specifying whether the constraint is a primary key. | | UniqueConstraint(DataColumn[] columns) | Initializes a new instance of the UniqueConstraint class with the given array of DataColumn objects. | | UniqueConstraint(DataColumn column) | Initializes a new instance of the UniqueConstraint class with the specified DataColumn. | #### Methods | Method | Description | | --- | --- | | hashCode() | | | equals(Object key2) | Compares this constraint to a second to determine if both are identical. | | getColumns() | Gets the array of columns that this constraint affects. | | isPrimaryKey() | Gets a value indicating whether or not the constraint is on a primary key. | | getTable() | Gets the table to which this constraint belongs. | ##### UniqueConstraint(String name, DataColumn[] columns, boolean isPrimaryKey) ``` public UniqueConstraint(String name, DataColumn[] columns, boolean isPrimaryKey) ``` Initializes a new instance of the UniqueConstraint class with the specified name, an array of DataColumn objects to constrain, and a value specifying whether the constraint is a primary key. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the constraint. | | columns | DataColumn\[\] | An array of DataColumn objects to constrain. | | isPrimaryKey | boolean | true to indicate that the constraint is a primary key; otherwise, false. | ##### UniqueConstraint(DataColumn[] columns, boolean isPrimaryKey) ``` public UniqueConstraint(DataColumn[] columns, boolean isPrimaryKey) ``` Initializes a new instance of the UniqueConstraint class with an array of DataColumn objects to constrain, and a value specifying whether the constraint is a primary key. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columns | DataColumn\[\] | An array of DataColumn objects to constrain. | | isPrimaryKey | boolean | true to indicate that the constraint is a primary key; otherwise, false. | ##### UniqueConstraint(DataColumn[] columns) ``` public UniqueConstraint(DataColumn[] columns) ``` Initializes a new instance of the UniqueConstraint class with the given array of DataColumn objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columns | DataColumn\[\] | The array of DataColumn objects to constrain. | ##### UniqueConstraint(DataColumn column) ``` public UniqueConstraint(DataColumn column) ``` Initializes a new instance of the UniqueConstraint class with the specified DataColumn. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DataColumn | The DataColumn to constrain. | ##### hashCode() ``` public int hashCode() ``` **Returns:** int ##### equals(Object key2) ``` public boolean equals(Object key2) ``` Compares this constraint to a second to determine if both are identical. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key2 | java.lang.Object | The object to which this UniqueConstraint is compared. | **Returns:** boolean - true, if the contraints are equal; otherwise, false. ##### getColumns() ``` public DataColumn[] getColumns() ``` Gets the array of columns that this constraint affects. **Returns:** com.groupdocs.assembly.system.data.DataColumn[] - An array of DataColumn objects. ##### isPrimaryKey() ``` public boolean isPrimaryKey() ``` Gets a value indicating whether or not the constraint is on a primary key. **Returns:** boolean - true, if the constraint is on a primary key; otherwise, false. ##### getTable() ``` public DataTable getTable() ``` Gets the table to which this constraint belongs. **Returns:** DataTable - The DataTable to which the constraint belongs. ### XmlReadMode Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.data/xmlreadmode.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum XmlReadMode extends Enum ``` A utility class providing constants. Specifies how to read XML data and a relational schema into a DataSet. #### Fields | Field | Description | | --- | --- | | AUTO | Default. | | READ_SCHEMA | Reads any inline schema and loads the data. | | IGNORE_SCHEMA | Ignores any inline schema and reads data into the existing DataSet schema. | | INFER_SCHEMA | Ignores any inline schema, infers schema from the data and loads the data. | | DIFF_GRAM | Reads a DiffGram, applying changes from the DiffGram to the DataSet and preserving DataRow.getRowState() values. | | FRAGMENT | Reads XML fragments, such as those generated by executing FOR XML queries, against an instance of SQL Server. | | INFER_TYPED_SCHEMA | Ignores any inline schema, infers a strongly typed schema from the data, and loads the data. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### AUTO ``` public static final XmlReadMode AUTO ``` Default. ##### READ_SCHEMA ``` public static final XmlReadMode READ_SCHEMA ``` Reads any inline schema and loads the data. If the DataSet already contains schema, new tables may be added to the schema, but an exception is thrown if any tables in the inline schema already exist in the DataSet. ##### IGNORE_SCHEMA ``` public static final XmlReadMode IGNORE_SCHEMA ``` Ignores any inline schema and reads data into the existing DataSet schema. If any data does not match the existing schema, it is discarded (including data from differing namespaces defined for the DataSet). If the data is a DiffGram, IgnoreSchema has the same functionality as DiffGram. ##### INFER_SCHEMA ``` public static final XmlReadMode INFER_SCHEMA ``` Ignores any inline schema, infers schema from the data and loads the data. If the DataSet already contains a schema, the current schema is extended by adding new tables or adding columns to existing tables. An exception is thrown if the inferred table already exists but with a different namespace, or if any of the inferred columns conflict with existing columns. ##### DIFF_GRAM ``` public static final XmlReadMode DIFF_GRAM ``` Reads a DiffGram, applying changes from the DiffGram to the DataSet and preserving DataRow.getRowState() values. ##### FRAGMENT ``` public static final XmlReadMode FRAGMENT ``` Reads XML fragments, such as those generated by executing FOR XML queries, against an instance of SQL Server. When XmlReadMode is set to Fragment, the default namespace is read as the inline schema. ##### INFER_TYPED_SCHEMA ``` public static final XmlReadMode INFER_TYPED_SCHEMA ``` Ignores any inline schema, infers a strongly typed schema from the data, and loads the data. If the type cannot be inferred from the data, it is interpreted as string data. If the DataSet already contains a schema, the current schema is extended, either by adding new tables or by adding columns to existing tables. An exception is thrown if the inferred table already exists but with a different namespace, or if any of the inferred columns conflict with existing columns. ##### values() ``` public static XmlReadMode[] values() ``` **Returns:** com.groupdocs.assembly.system.data.XmlReadMode[] ##### valueOf(String name) ``` public static XmlReadMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmlReadMode ### com.groupdocs.assembly.system.drawing Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.drawing.md Provides types mimicking .NET types of the `System.Drawing` namespace in Java. #### Classes | Class | Description | | --- | --- | | GraphicsUnit | Specifies the unit of measure for the given data. | ### GraphicsUnit Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.drawing/graphicsunit.md **Inheritance:** java.lang.Object ``` public final class GraphicsUnit ``` Specifies the unit of measure for the given data. #### Fields | Field | Description | | --- | --- | | WORLD | Specifies the world coordinate system unit as the unit of measure. | | DISPLAY | Specifies the unit of measure of the display device. | | PIXEL | Specifies a device pixel as the unit of measure. | | POINT | Specifies a printer's point (1/72 inch) as the unit of measure. | | INCH | Specifies the inch as the unit of measure. | | DOCUMENT | Specifies the document unit (1/300 inch) as the unit of measure. | | MILLIMETER | Specifies the millimeter as the unit of measure. | ##### WORLD ``` public static final int WORLD ``` Specifies the world coordinate system unit as the unit of measure. ##### DISPLAY ``` public static final int DISPLAY ``` Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers. ##### PIXEL ``` public static final int PIXEL ``` Specifies a device pixel as the unit of measure. ##### POINT ``` public static final int POINT ``` Specifies a printer's point (1/72 inch) as the unit of measure. ##### INCH ``` public static final int INCH ``` Specifies the inch as the unit of measure. ##### DOCUMENT ``` public static final int DOCUMENT ``` Specifies the document unit (1/300 inch) as the unit of measure. ##### MILLIMETER ``` public static final int MILLIMETER ``` Specifies the millimeter as the unit of measure. ### com.groupdocs.assembly.system Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system.md Provides types mimicking .NET types of the `System` namespace in Java. #### Classes | Class | Description | | --- | --- | | OverflowException | The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. | ### OverflowException Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.system/overflowexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.ArithmeticException ``` public final class OverflowException extends ArithmeticException ``` The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. #### Constructors | Constructor | Description | | --- | --- | | OverflowException() | Initializes a new instance of the OverflowException class. | | OverflowException(String message) | Initializes a new instance of the OverflowException class with a specified error message. | | OverflowException(String message, Throwable cause) | Initializes a new instance of this class. | ##### OverflowException() ``` public OverflowException() ``` Initializes a new instance of the OverflowException class. ##### OverflowException(String message) ``` public OverflowException(String message) ``` Initializes a new instance of the OverflowException class with a specified error message. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### OverflowException(String message, Throwable cause) ``` public OverflowException(String message, Throwable cause) ``` Initializes a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | cause | java.lang.Throwable | | ### com.groupdocs.assembly Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly.md Provides classes for generating documents in popular office file formats based upon template documents and data obtained from various sources including databases, XML, JSON, OData, objects of custom Java types, and more. The central class of this package is DocumentAssembler. This class incorporates a set of settings to control document generation and performs document generation through its assembleDocument overloads. #### Classes | Class | Description | | --- | --- | | BarcodeSettings | Represents a set of settings controlling barcode generation while assembling a document. | | CsvDataLoadOptions | Represents options for parsing CSV data. | | CsvDataSource | Provides access to data of a CSV file or stream to be used while assembling a document. | | DataSourceInfo | Provides information on a single data source object to be used to assemble a document from a template. | | DocumentAssembler | Provides routines to populate template documents with data and a set of settings to control these routines. | | DocumentAssemblyOptions | A utility class providing constants. | | DocumentTable | Provides access to data of a single table (or spreadsheet) located in an external document to be used while assembling a document. | | DocumentTableCollection | Represents a read-only collection of DocumentTable objects of a particular DocumentTableSet instance. | | DocumentTableColumn | Represents a single column of a particular DocumentTable object. | | DocumentTableColumnCollection | Represents a read-only collection of DocumentTableColumn objects of a particular DocumentTable instance. | | DocumentTableLoadArgs | Provides data for the IDocumentTableLoadHandler.\#handle(com.groupdocs.assembly.DocumentTableLoadArgs) method. | | DocumentTableOptions | Provides a set of options to control extraction of data from a document table. | | DocumentTableRelation | Represents a parent-child relationship between two DocumentTable objects. | | DocumentTableRelationCollection | Represents the collection of DocumentTableRelation objects of a single DocumentTableSet instance. | | DocumentTableSet | Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while assembling a document. | | FileFormat | A utility class providing constants. | | JsonDataLoadOptions | Represents options for parsing JSON data. | | JsonDataSource | Provides access to data of a JSON file or stream to be used while assembling a document. | | JsonSimpleValueParseMode | A utility class providing constants. | | KnownTypeSet | Represents an unordered set (that is, a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within document templates to invoke the corresponding types' static members, perform type casts, etc. | | License | Provides methods to license the component. | | LoadSaveOptions | Specifies additional options for loading and saving of a document to be assembled. | | Metered | Provides methods to work with metered licensing. | | XmlDataLoadOptions | Represents options for XML data loading. | | XmlDataSource | Provides access to data of an XML file or stream to be used while assembling a document. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentTableLoadHandler | Overrides default loading of DocumentTable objects while creating a DocumentTableSet instance. | ### BarcodeSettings Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/barcodesettings.md **Inheritance:** java.lang.Object ``` public class BarcodeSettings ``` Represents a set of settings controlling barcode generation while assembling a document. #### Methods | Method | Description | | --- | --- | | getGraphicsUnit() | Gets a graphics unit used to measure getBaseXDimension() / setBaseXDimension(float) and getBaseYDimension() / setBaseYDimension(float). | | setGraphicsUnit(int value) | Sets a graphics unit used to measure getBaseXDimension() / setBaseXDimension(float) and getBaseYDimension() / setBaseYDimension(float). | | getBaseXDimension() | Gets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. | | setBaseXDimension(float value) | Sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. | | getBaseYDimension() | Gets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. | | setBaseYDimension(float value) | Sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. | | getResolution() | Gets the horizontal and vertical resolution of a barcode image being generated. | | getXResolution() | Gets the horizontal resolution of a barcode image being generated. | | getYResolution() | Gets the vertical resolution of a barcode image being generated. | | getUseAutoCorrection() | Gets a value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. | | setUseAutoCorrection(boolean value) | Sets a value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. | ##### getGraphicsUnit() ``` public int getGraphicsUnit() ``` Gets a graphics unit used to measure getBaseXDimension() / setBaseXDimension(float) and getBaseYDimension() / setBaseYDimension(float). The default value is GraphicsUnit.MILLIMETER. **Returns:** int - A graphics unit used to measure getBaseXDimension() / setBaseXDimension(float) and getBaseYDimension() / setBaseYDimension(float). The returned value is one of GraphicsUnit constants. ##### setGraphicsUnit(int value) ``` public void setGraphicsUnit(int value) ``` Sets a graphics unit used to measure getBaseXDimension() / setBaseXDimension(float) and getBaseYDimension() / setBaseYDimension(float). The default value is GraphicsUnit.MILLIMETER. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | A graphics unit used to measure getBaseXDimension() / setBaseXDimension(float) and getBaseYDimension() / setBaseYDimension(float). The value must be one of GraphicsUnit constants. | ##### getBaseXDimension() ``` public float getBaseXDimension() ``` Gets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. Measured in getGraphicsUnit() / setGraphicsUnit(int). When barcode scaling is applied through a template, an actual x-dimension is calculated upon the base x-dimension and a scaling factor. **Returns:** float - A base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. ##### setBaseXDimension(float value) ``` public void setBaseXDimension(float value) ``` Sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. Measured in getGraphicsUnit() / setGraphicsUnit(int). When barcode scaling is applied through a template, an actual x-dimension is calculated upon the base x-dimension and a scaling factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | A base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. | ##### getBaseYDimension() ``` public float getBaseYDimension() ``` Gets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. Measured in getGraphicsUnit() / setGraphicsUnit(int). Barcodes of some types (such as data matrix) may ignore an y-dimension and use an x-dimension for both width and height units. When barcode scaling is applied through a template, an actual y-dimension is calculated upon the base y-dimension and a scaling factor. **Returns:** float - A base y-dimension, that is, the smallest height of the unit of 2D barcode modules. ##### setBaseYDimension(float value) ``` public void setBaseYDimension(float value) ``` Sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. Measured in getGraphicsUnit() / setGraphicsUnit(int). Barcodes of some types (such as data matrix) may ignore an y-dimension and use an x-dimension for both width and height units. When barcode scaling is applied through a template, an actual y-dimension is calculated upon the base y-dimension and a scaling factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | A base y-dimension, that is, the smallest height of the unit of 2D barcode modules. | ##### getResolution() ``` public float getResolution() ``` Gets the horizontal and vertical resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. **Returns:** float - The horizontal and vertical resolution of a barcode image being generated. ##### getXResolution() ``` public float getXResolution() ``` Gets the horizontal resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. **Returns:** float - The horizontal resolution of a barcode image being generated. ##### getYResolution() ``` public float getYResolution() ``` Gets the vertical resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. **Returns:** float - The vertical resolution of a barcode image being generated. ##### getUseAutoCorrection() ``` public boolean getUseAutoCorrection() ``` Gets a value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. The default value is true. The auto-correction is not possible for Databar barcodes. **Returns:** boolean - A value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. ##### setUseAutoCorrection(boolean value) ``` public void setUseAutoCorrection(boolean value) ``` Sets a value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. The default value is true. The auto-correction is not possible for Databar barcodes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. | ### CsvDataLoadOptions Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/csvdataloadoptions.md **Inheritance:** java.lang.Object ``` public class CsvDataLoadOptions ``` Represents options for parsing CSV data. An instance of this class can be passed into constructors of CsvDataSource. #### Constructors | Constructor | Description | | --- | --- | | CsvDataLoadOptions() | Initializes a new instance of this class with default options. | | CsvDataLoadOptions(boolean hasHeaders) | Initializes a new instance of this class with specifying whether CSV data contains column names at the first line. | #### Methods | Method | Description | | --- | --- | | hasHeaders() | Gets a value indicating whether the first line of CSV data contains column names. | | hasHeaders(boolean value) | Sets a value indicating whether the first line of CSV data contains column names. | | getDelimiter() | Gets the character to be used as a column delimiter. | | setDelimiter(char value) | Sets the character to be used as a column delimiter. | | getQuoteChar() | Gets the character that is used to quote field values. | | setQuoteChar(char value) | Sets the character that is used to quote field values. | | getCommentChar() | Gets the character that is used to comment lines of CSV data. | | setCommentChar(char value) | Sets the character that is used to comment lines of CSV data. | ##### CsvDataLoadOptions() ``` public CsvDataLoadOptions() ``` Initializes a new instance of this class with default options. ##### CsvDataLoadOptions(boolean hasHeaders) ``` public CsvDataLoadOptions(boolean hasHeaders) ``` Initializes a new instance of this class with specifying whether CSV data contains column names at the first line. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | hasHeaders | boolean | | ##### hasHeaders() ``` public boolean hasHeaders() ``` Gets a value indicating whether the first line of CSV data contains column names. The default value is **false**. **Returns:** boolean - A value indicating whether the first line of CSV data contains column names. ##### hasHeaders(boolean value) ``` public void hasHeaders(boolean value) ``` Sets a value indicating whether the first line of CSV data contains column names. The default value is **false**. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A value indicating whether the first line of CSV data contains column names. | ##### getDelimiter() ``` public char getDelimiter() ``` Gets the character to be used as a column delimiter. The default value is ',' (comma). **Returns:** char - The character to be used as a column delimiter. ##### setDelimiter(char value) ``` public void setDelimiter(char value) ``` Sets the character to be used as a column delimiter. The default value is ',' (comma). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | char | The character to be used as a column delimiter. | ##### getQuoteChar() ``` public char getQuoteChar() ``` Gets the character that is used to quote field values. The default value is '"' (quotation mark). Double the character to place it into quoted text. **Returns:** char - The character that is used to quote field values. ##### setQuoteChar(char value) ``` public void setQuoteChar(char value) ``` Sets the character that is used to quote field values. The default value is '"' (quotation mark). Double the character to place it into quoted text. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | char | The character that is used to quote field values. | ##### getCommentChar() ``` public char getCommentChar() ``` Gets the character that is used to comment lines of CSV data. The default value is '\#' (number sign). **Returns:** char - The character that is used to comment lines of CSV data. ##### setCommentChar(char value) ``` public void setCommentChar(char value) ``` Sets the character that is used to comment lines of CSV data. The default value is '\#' (number sign). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | char | The character that is used to comment lines of CSV data. | ### CsvDataSource Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/csvdatasource.md **Inheritance:** java.lang.Object ``` public class CsvDataSource ``` Provides access to data of a CSV file or stream to be used while assembling a document. To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler. assembleDocument overloads. In template documents, a CsvDataSource instance should be treated in the same way as if it was a DataTable instance. For more information, see template syntax reference(https://docs.groupdocs.com/display/assemblyjava/Template+Syntax+-+Part+1+of+2\#TemplateSyntax-Part1of2-UsingDataSources). Data types of comma-separated values are determined automatically upon their string representations. So in template documents, you can work with typed values rather than just strings. The engine is capable to automatically recognize values of the following types: * java.lang.Long * java.lang.Double * java.lang.Boolean * java.util.Date * java.lang.String Note that for automatic recognition of data types to work, string representations of comma-separated values should be formed using invariant culture settings. To override default behavior of CSV data loading, initialize and pass a CsvDataLoadOptions instance to a constructor of this class. #### Constructors | Constructor | Description | | --- | --- | | CsvDataSource(String csvPath) | Creates a new data source with data from a CSV file using default options for parsing CSV data. | | CsvDataSource(String csvPath, CsvDataLoadOptions options) | Creates a new data source with data from a CSV file using the specified options for parsing CSV data. | | CsvDataSource(InputStream csvStream) | Creates a new data source with data from a CSV stream using default options for parsing CSV data. | | CsvDataSource(InputStream csvStream, CsvDataLoadOptions options) | Creates a new data source with data from a CSV stream using the specified options for parsing CSV data. | ##### CsvDataSource(String csvPath) ``` public CsvDataSource(String csvPath) ``` Creates a new data source with data from a CSV file using default options for parsing CSV data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | csvPath | java.lang.String | The path to the CSV file to be used as the data source. | ##### CsvDataSource(String csvPath, CsvDataLoadOptions options) ``` public CsvDataSource(String csvPath, CsvDataLoadOptions options) ``` Creates a new data source with data from a CSV file using the specified options for parsing CSV data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | csvPath | java.lang.String | The path to the CSV file to be used as the data source. | | options | CsvDataLoadOptions | Options for parsing the CSV data. | ##### CsvDataSource(InputStream csvStream) ``` public CsvDataSource(InputStream csvStream) ``` Creates a new data source with data from a CSV stream using default options for parsing CSV data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | csvStream | java.io.InputStream | The stream of CSV data to be used as the data source. | ##### CsvDataSource(InputStream csvStream, CsvDataLoadOptions options) ``` public CsvDataSource(InputStream csvStream, CsvDataLoadOptions options) ``` Creates a new data source with data from a CSV stream using the specified options for parsing CSV data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | csvStream | java.io.InputStream | The stream of CSV data to be used as the data source. | | options | CsvDataLoadOptions | Options for parsing the CSV data. | ### DataSourceInfo Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/datasourceinfo.md **Inheritance:** java.lang.Object ``` public class DataSourceInfo ``` Provides information on a single data source object to be used to assemble a document from a template. #### Constructors | Constructor | Description | | --- | --- | | DataSourceInfo() | Creates a new instance of this class without any properties specified. | | DataSourceInfo(Object dataSource) | Creates a new instance of this class with the data source object specified. | | DataSourceInfo(Object dataSource, String name) | Creates a new instance of this class with the data source object and its name specified. | #### Methods | Method | Description | | --- | --- | | getDataSource() | Gets the data source object. | | setDataSource(Object value) | Sets the data source object. | | getName() | Gets the name of the data source object to be used to access the data source object in a template document. | | setName(String value) | Sets the name of the data source object to be used to access the data source object in a template document. | ##### DataSourceInfo() ``` public DataSourceInfo() ``` Creates a new instance of this class without any properties specified. ##### DataSourceInfo(Object dataSource) ``` public DataSourceInfo(Object dataSource) ``` Creates a new instance of this class with the data source object specified. The data source object can be of one of the following types: * XmlDataSource * JsonDataSource * CsvDataSource * DocumentTableSet * DocumentTable * DataSet * DataTable * DataRow * IDataReader * IDataRecord * DataView * DataRowView * Any other arbitrary Java type For information on how to work with data sources of different types in template documents, see template syntax reference(https://docs.groupdocs.com/display/assemblyjava/Template+Syntax+-+Part+1+of+2\#TemplateSyntax-Part1of2-UsingDataSources). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSource | java.lang.Object | The data source object. | ##### DataSourceInfo(Object dataSource, String name) ``` public DataSourceInfo(Object dataSource, String name) ``` Creates a new instance of this class with the data source object and its name specified. The data source object can be of one of the following types: * XmlDataSource * JsonDataSource * CsvDataSource * DocumentTableSet * DocumentTable * DataSet * DataTable * DataRow * IDataReader * IDataRecord * DataView * DataRowView * Any other arbitrary Java type For information on how to work with data sources of different types in template documents, see template syntax reference(https://docs.groupdocs.com/display/assemblyjava/Template+Syntax+-+Part+1+of+2\#TemplateSyntax-Part1of2-UsingDataSources). When the name of the data source object is specified, you can access the data source object and its members in a template document using the name. When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself. When passing multiple DataSourceInfo instances to DocumentAssembler, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSource | java.lang.Object | The data source object. | | name | java.lang.String | The name of the data source object to be used to access the data source object in a template document. | ##### getDataSource() ``` public Object getDataSource() ``` Gets the data source object. The data source object can be of one of the following types: * XmlDataSource * JsonDataSource * CsvDataSource * DocumentTableSet * DocumentTable * DataSet * DataTable * DataRow * IDataReader * IDataRecord * DataView * DataRowView * Any other arbitrary Java type For information on how to work with data sources of different types in template documents, see template syntax reference(https://docs.groupdocs.com/display/assemblyjava/Template+Syntax+-+Part+1+of+2\#TemplateSyntax-Part1of2-UsingDataSources). **Returns:** java.lang.Object - The data source object. ##### setDataSource(Object value) ``` public void setDataSource(Object value) ``` Sets the data source object. The data source object can be of one of the following types: * XmlDataSource * JsonDataSource * CsvDataSource * DocumentTableSet * DocumentTable * DataSet * DataTable * DataRow * IDataReader * IDataRecord * DataView * DataRowView * Any other arbitrary Java type For information on how to work with data sources of different types in template documents, see template syntax reference(https://docs.groupdocs.com/display/assemblyjava/Template+Syntax+-+Part+1+of+2\#TemplateSyntax-Part1of2-UsingDataSources). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | The data source object. | ##### getName() ``` public String getName() ``` Gets the name of the data source object to be used to access the data source object in a template document. When the name of the data source object is specified, you can access the data source object and its members in a template document using the name. When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself. When passing multiple DataSourceInfo instances to DocumentAssembler, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique. **Returns:** java.lang.String - The name of the data source object to be used to access the data source object in a template document. ##### setName(String value) ``` public void setName(String value) ``` Sets the name of the data source object to be used to access the data source object in a template document. When the name of the data source object is specified, you can access the data source object and its members in a template document using the name. When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself. When passing multiple DataSourceInfo instances to DocumentAssembler, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the data source object to be used to access the data source object in a template document. | ### DocumentAssembler Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documentassembler.md **Inheritance:** java.lang.Object ``` public class DocumentAssembler ``` Provides routines to populate template documents with data and a set of settings to control these routines. #### Constructors | Constructor | Description | | --- | --- | | DocumentAssembler() | Initializes a new instance of this class. | #### Methods | Method | Description | | --- | --- | | assembleDocument(String sourcePath, String targetPath, DataSourceInfo[] dataSourceInfos) | Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using default LoadSaveOptions. | | assembleDocument(String sourcePath, String targetPath, LoadSaveOptions loadSaveOptions, DataSourceInfo[] dataSourceInfos) | Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using the given LoadSaveOptions. | | assembleDocument(InputStream sourceStream, OutputStream targetStream, DataSourceInfo[] dataSourceInfos) | Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using default LoadSaveOptions. | | assembleDocument(InputStream sourceStream, OutputStream targetStream, LoadSaveOptions loadSaveOptions, DataSourceInfo[] dataSourceInfos) | Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using the given LoadSaveOptions. | | getOptions() | Gets a set of flags controlling behavior of this DocumentAssembler instance while assembling a document. | | setOptions(int value) | Sets a set of flags controlling behavior of this DocumentAssembler instance while assembling a document. | | getBarcodeSettings() | Gets a set of settings controlling barcode generation while assembling a document. | | getKnownTypes() | Gets an unordered set (that is, a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within document templates processed by this assembler instance to invoke the corresponding types' static members, perform type casts, etc. | | getUseReflectionOptimization() | Gets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. | | setUseReflectionOptimization(boolean value) | Sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. | ##### DocumentAssembler() ``` public DocumentAssembler() ``` Initializes a new instance of this class. ##### assembleDocument(String sourcePath, String targetPath, DataSourceInfo[] dataSourceInfos) ``` public boolean assembleDocument(String sourcePath, String targetPath, DataSourceInfo[] dataSourceInfos) ``` Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using default LoadSaveOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sourcePath | java.lang.String | The path to a template document to be populated with data. | | targetPath | java.lang.String | The path to a result document. | | dataSourceInfos | DataSourceInfo\[\] | Provides information on data source objects to be used. | **Returns:** boolean - A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the getOptions() / setOptions(int) property includes the DocumentAssemblyOptions.INLINE\_ERROR\_MESSAGES option. ##### assembleDocument(String sourcePath, String targetPath, LoadSaveOptions loadSaveOptions, DataSourceInfo[] dataSourceInfos) ``` public boolean assembleDocument(String sourcePath, String targetPath, LoadSaveOptions loadSaveOptions, DataSourceInfo[] dataSourceInfos) ``` Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using the given LoadSaveOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sourcePath | java.lang.String | The path to a template document to be populated with data. | | targetPath | java.lang.String | The path to a result document. | | loadSaveOptions | LoadSaveOptions | Specifies additional options for document loading and saving. | | dataSourceInfos | DataSourceInfo\[\] | Provides information on data source objects to be used. | **Returns:** boolean - A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the getOptions() / setOptions(int) property includes the DocumentAssemblyOptions.INLINE\_ERROR\_MESSAGES option. ##### assembleDocument(InputStream sourceStream, OutputStream targetStream, DataSourceInfo[] dataSourceInfos) ``` public boolean assembleDocument(InputStream sourceStream, OutputStream targetStream, DataSourceInfo[] dataSourceInfos) ``` Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using default LoadSaveOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sourceStream | java.io.InputStream | The stream to read a template document from. | | targetStream | java.io.OutputStream | The stream to write a result document. | | dataSourceInfos | DataSourceInfo\[\] | Provides information on data source objects to be used. | **Returns:** boolean - A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the getOptions() / setOptions(int) property includes the DocumentAssemblyOptions.INLINE\_ERROR\_MESSAGES option. ##### assembleDocument(InputStream sourceStream, OutputStream targetStream, LoadSaveOptions loadSaveOptions, DataSourceInfo[] dataSourceInfos) ``` public boolean assembleDocument(InputStream sourceStream, OutputStream targetStream, LoadSaveOptions loadSaveOptions, DataSourceInfo[] dataSourceInfos) ``` Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using the given LoadSaveOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sourceStream | java.io.InputStream | The stream to read a template document from. | | targetStream | java.io.OutputStream | The stream to write a result document. | | loadSaveOptions | LoadSaveOptions | Specifies additional options for document loading and saving. | | dataSourceInfos | DataSourceInfo\[\] | Provides information on data source objects to be used. | **Returns:** boolean - A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the getOptions() / setOptions(int) property includes the DocumentAssemblyOptions.INLINE\_ERROR\_MESSAGES option. ##### getOptions() ``` public int getOptions() ``` Gets a set of flags controlling behavior of this DocumentAssembler instance while assembling a document. **Returns:** int - A set of flags controlling behavior of this DocumentAssembler instance while assembling a document. The returned value is a bitwise combination of DocumentAssemblyOptions constants. ##### setOptions(int value) ``` public void setOptions(int value) ``` Sets a set of flags controlling behavior of this DocumentAssembler instance while assembling a document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | A set of flags controlling behavior of this DocumentAssembler instance while assembling a document. The value must be a bitwise combination of DocumentAssemblyOptions constants. | ##### getBarcodeSettings() ``` public BarcodeSettings getBarcodeSettings() ``` Gets a set of settings controlling barcode generation while assembling a document. **Returns:** BarcodeSettings - A set of settings controlling barcode generation while assembling a document. ##### getKnownTypes() ``` public KnownTypeSet getKnownTypes() ``` Gets an unordered set (that is, a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within document templates processed by this assembler instance to invoke the corresponding types' static members, perform type casts, etc. **Returns:** KnownTypeSet - An unordered set (that is, a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within document templates processed by this assembler instance to invoke the corresponding types' static members, perform type casts, etc. ##### getUseReflectionOptimization() ``` public static boolean getUseReflectionOptimization() ``` Gets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true. There are some scenarios where it is preferrable to disable this optimization. For example, if you are dealing with small collections of data items all the time, then an overhead of dynamic class generation can be more noticeable than an overhead of direct reflection API calls. **Returns:** boolean - A value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. ##### setUseReflectionOptimization(boolean value) ``` public static void setUseReflectionOptimization(boolean value) ``` Sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true. There are some scenarios where it is preferrable to disable this optimization. For example, if you are dealing with small collections of data items all the time, then an overhead of dynamic class generation can be more noticeable than an overhead of direct reflection API calls. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. | ### DocumentAssemblyOptions Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documentassemblyoptions.md **Inheritance:** java.lang.Object ``` public final class DocumentAssemblyOptions ``` A utility class providing constants. Specifies options controlling behavior of DocumentAssembler while assembling a document. #### Fields | Field | Description | | --- | --- | | NONE | Specifies default options. | | ALLOW_MISSING_MEMBERS | Specifies that missing object members should be treated as null literals by the assembler. | | UPDATE_FIELDS_AND_FORMULAS | Specifies that fields of result Word Processing documents and formulas of result Spreadsheet documents should be updated by the assembler. | | REMOVE_EMPTY_PARAGRAPHS | Specifies that the assembler should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values. | | INLINE_ERROR_MESSAGES | Specifies that the assembler should inline template syntax error messages into output documents. | | USE_SPREADSHEET_DATA_TYPES | Relates to Spreadsheet documents only. | | length | | #### Methods | Method | Description | | --- | --- | | getName(int documentAssemblyOptions) | | | getNames(int documentAssemblyOptions) | | | toString(int documentAssemblyOptions) | | | fromName(String documentAssemblyOptionsName) | | | fromNames(Set documentAssemblyOptionsNames) | | | getValues() | | ##### NONE ``` public static final int NONE ``` Specifies default options. ##### ALLOW_MISSING_MEMBERS ``` public static final int ALLOW_MISSING_MEMBERS ``` Specifies that missing object members should be treated as null literals by the assembler. This option affects only access to instance (that is, non-static) object members and extension methods. If this option is not set, the assembler throws an exception when encounters a missing object member. ##### UPDATE_FIELDS_AND_FORMULAS ``` public static final int UPDATE_FIELDS_AND_FORMULAS ``` Specifies that fields of result Word Processing documents and formulas of result Spreadsheet documents should be updated by the assembler. ##### REMOVE_EMPTY_PARAGRAPHS ``` public static final int REMOVE_EMPTY_PARAGRAPHS ``` Specifies that the assembler should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values. At the moment, this option is supported only for templates of Word Processing, Presentation, and Email file formats. ##### INLINE_ERROR_MESSAGES ``` public static final int INLINE_ERROR_MESSAGES ``` Specifies that the assembler should inline template syntax error messages into output documents. If this option is not set, the assembler throws an exception when encounters a syntax error. ##### USE_SPREADSHEET_DATA_TYPES ``` public static final int USE_SPREADSHEET_DATA_TYPES ``` Relates to Spreadsheet documents only. Specifies that evaluated expression results should be mapped to corresponding Spreadsheet data types, which also affects their default formatting within cells. If this option is not set, expression results are always written as strings by the assembler. This option has no effect when expression results are formatted using template syntax - expression results are always written as strings then as well. ##### length ``` public static final int length ``` ##### getName(int documentAssemblyOptions) ``` public static String getName(int documentAssemblyOptions) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentAssemblyOptions | int | | **Returns:** java.lang.String ##### getNames(int documentAssemblyOptions) ``` public static Set getNames(int documentAssemblyOptions) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentAssemblyOptions | int | | **Returns:** java.util.Set ##### toString(int documentAssemblyOptions) ``` public static String toString(int documentAssemblyOptions) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentAssemblyOptions | int | | **Returns:** java.lang.String ##### fromName(String documentAssemblyOptionsName) ``` public static int fromName(String documentAssemblyOptionsName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentAssemblyOptionsName | java.lang.String | | **Returns:** int ##### fromNames(Set documentAssemblyOptionsNames) ``` public static int fromNames(Set documentAssemblyOptionsNames) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentAssemblyOptionsNames | java.util.Set | | **Returns:** int ##### getValues() ``` public static int[] getValues() ``` **Returns:** int[] ### DocumentTable Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttable.md **Inheritance:** java.lang.Object ``` public class DocumentTable ``` Provides access to data of a single table (or spreadsheet) located in an external document to be used while assembling a document. For documents of Spreadsheet file formats, a DocumentTable instance represents a single sheet. For documents of other file formats, a DocumentTable instance represents a single table. To access data of the corresponding table while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler. assembleDocument overloads. In template documents, a DocumentTable instance should be treated in the same way as if it was a DataTable instance. See template syntax reference for more information. #### Constructors | Constructor | Description | | --- | --- | | DocumentTable(String documentPath, int indexInDocument) | Creates a new instance of this class using default DocumentTableOptions. | | DocumentTable(String documentPath, int indexInDocument, DocumentTableOptions options) | Creates a new instance of this class. | | DocumentTable(InputStream documentStream, int indexInDocument) | Creates a new instance of this class using default DocumentTableOptions. | | DocumentTable(InputStream documentStream, int indexInDocument, DocumentTableOptions options) | Creates a new instance of this class. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the name of this table used to access the table's data in a template document passed to DocumentAssembler. | | setName(String value) | Sets the name of this table used to access the table's data in a template document passed to DocumentAssembler. | | getIndexInDocument() | Gets the original zero-based index of the corresponding table as per the source document. | | getColumns() | Gets the collection of DocumentTableColumn objects representing columns of the corresponding table. | ##### DocumentTable(String documentPath, int indexInDocument) ``` public DocumentTable(String documentPath, int indexInDocument) ``` Creates a new instance of this class using default DocumentTableOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentPath | java.lang.String | The path to a document containing the table to be accessed. | | indexInDocument | int | The zero-based index of the table in the document. | ##### DocumentTable(String documentPath, int indexInDocument, DocumentTableOptions options) ``` public DocumentTable(String documentPath, int indexInDocument, DocumentTableOptions options) ``` Creates a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentPath | java.lang.String | The path to a document containing the table to be accessed. | | indexInDocument | int | The zero-based index of the table in the document. | | options | DocumentTableOptions | A set of options controlling extraction of data from the table. If null, default options are applied. | ##### DocumentTable(InputStream documentStream, int indexInDocument) ``` public DocumentTable(InputStream documentStream, int indexInDocument) ``` Creates a new instance of this class using default DocumentTableOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStream | java.io.InputStream | The stream containing a document with the table to be accessed. | | indexInDocument | int | The zero-based index of the table in the document. | ##### DocumentTable(InputStream documentStream, int indexInDocument, DocumentTableOptions options) ``` public DocumentTable(InputStream documentStream, int indexInDocument, DocumentTableOptions options) ``` Creates a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStream | java.io.InputStream | The stream containing a document with the table to be accessed. | | indexInDocument | int | The zero-based index of the table in the document. | | options | DocumentTableOptions | A set of options controlling extraction of data from the table. If null, default options are applied. | ##### getName() ``` public String getName() ``` Gets the name of this table used to access the table's data in a template document passed to DocumentAssembler. If the table's name is read from a document, the name is automatically corrected so that it to be valid. However, if the table's name is set manually through this property and the name is invalid, an exception is thrown. The table's name is considered to be valid, if the following conditions are met: * The name is not empty. * The name's first character is a letter or underscore. * The rest of the name's characters are letters, underscores, digits, or the following characters: '@', '\#', '$'. * The corresponding DocumentTableSet object does not contain a DocumentTable instance with the same name. **Returns:** java.lang.String - The name of this table used to access the table's data in a template document passed to DocumentAssembler. ##### setName(String value) ``` public void setName(String value) ``` Sets the name of this table used to access the table's data in a template document passed to DocumentAssembler. If the table's name is read from a document, the name is automatically corrected so that it to be valid. However, if the table's name is set manually through this property and the name is invalid, an exception is thrown. The table's name is considered to be valid, if the following conditions are met: * The name is not empty. * The name's first character is a letter or underscore. * The rest of the name's characters are letters, underscores, digits, or the following characters: '@', '\#', '$'. * The corresponding DocumentTableSet object does not contain a DocumentTable instance with the same name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of this table used to access the table's data in a template document passed to DocumentAssembler. | ##### getIndexInDocument() ``` public int getIndexInDocument() ``` Gets the original zero-based index of the corresponding table as per the source document. Depending on an IDocumentTableLoadHandler implementation provided, this index may differ from the index of this DocumentTable instance within the table collection of the corresponding DocumentTableSet instance, if any. **Returns:** int - The original zero-based index of the corresponding table as per the source document. ##### getColumns() ``` public DocumentTableColumnCollection getColumns() ``` Gets the collection of DocumentTableColumn objects representing columns of the corresponding table. **Returns:** DocumentTableColumnCollection - The collection of DocumentTableColumn objects representing columns of the corresponding table. ### DocumentTableCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttablecollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public class DocumentTableCollection implements Iterable ``` Represents a read-only collection of DocumentTable objects of a particular DocumentTableSet instance. The collection is filled automatically while loading the corresponding tables from a document and can not be modified. However, properties of DocumentTable objects contained within the collection can be modified. #### Methods | Method | Description | | --- | --- | | iterator() | Returns an enumerator to iterate DocumentTable objects of this collection. | | contains(String name) | Returns a value indicating whether this collection contains a table with the specified name. | | contains(DocumentTable table) | Returns a value indicating whether this collection contains the specified table. | | indexOf(String name) | Returns the index of a table with the specified name within this collection. | | indexOf(DocumentTable table) | Returns the index of the specified table within this collection. | | get(int index) | Gets a DocumentTable instance from the collection at the specified index. | | get(String name) | Gets a DocumentTable instance with the specified name from the collection. | | getCount() | Gets the total number of DocumentTable objects in the collection. | ##### iterator() ``` public Iterator iterator() ``` Returns an enumerator to iterate DocumentTable objects of this collection. **Returns:** java.util.Iterator - An enumerator to iterate DocumentTable objects of this collection. ##### contains(String name) ``` public boolean contains(String name) ``` Returns a value indicating whether this collection contains a table with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The case-insensitive name of a table to look for. | **Returns:** boolean - A value indicating whether this collection contains a table with the specified name. ##### contains(DocumentTable table) ``` public boolean contains(DocumentTable table) ``` Returns a value indicating whether this collection contains the specified table. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | table | DocumentTable | A table to look for. | **Returns:** boolean - A value indicating whether this collection contains the specified table. ##### indexOf(String name) ``` public int indexOf(String name) ``` Returns the index of a table with the specified name within this collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The case-insensitive name of a table to find. | **Returns:** int - The zero-based index of a table with the specified name, or -1 if the table does not exist in this collection. ##### indexOf(DocumentTable table) ``` public int indexOf(DocumentTable table) ``` Returns the index of the specified table within this collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | table | DocumentTable | A table to find. | **Returns:** int - The zero-based index of the specified table, or -1 if the table does not exist in this collection. ##### get(int index) ``` public DocumentTable get(int index) ``` Gets a DocumentTable instance from the collection at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the table to return. | **Returns:** DocumentTable - A DocumentTable instance from the collection at the specified index. ##### get(String name) ``` public DocumentTable get(String name) ``` Gets a DocumentTable instance with the specified name from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The case-insensitive name of the table to return. | **Returns:** DocumentTable - A DocumentTable instance with the specified name from the collection or null if such an instance does not exist. ##### getCount() ``` public int getCount() ``` Gets the total number of DocumentTable objects in the collection. **Returns:** int - The total number of DocumentTable objects in the collection. ### DocumentTableColumn Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttablecolumn.md **Inheritance:** java.lang.Object ``` public class DocumentTableColumn ``` Represents a single column of a particular DocumentTable object. #### Methods | Method | Description | | --- | --- | | getName() | Gets the name of this column used to access the column's data in a template document passed to DocumentAssembler. | | setName(String value) | Sets the name of this column used to access the column's data in a template document passed to DocumentAssembler. | | getIndexInDocument() | Gets the original zero-based index of the corresponding table column as per the source document. | | getType() | Gets the type of cell values in this column. | | setType(Class value) | Sets the type of cell values in this column. | | getAllowsNull() | Gets a value indicating whether cells in this column contain null values or not. | ##### getName() ``` public String getName() ``` Gets the name of this column used to access the column's data in a template document passed to DocumentAssembler. If the column's name is read from a document (see DocumentTableOptions.getFirstRowContainsColumnNames() / DocumentTableOptions.setFirstRowContainsColumnNames(boolean)), the name is automatically corrected so that it to be valid. However, if the column's name is set manually through this property and the name is invalid, an exception is thrown. The column's name is considered to be valid, if the following conditions are met: * The name is not empty. * The name's first character is a letter or underscore. * The rest of the name's characters are letters, underscores, digits, or the following characters: '@', '\#', '$'. * The corresponding DocumentTable object does not contain a DocumentTableColumn instance with the same name. **Returns:** java.lang.String - The name of this column used to access the column's data in a template document passed to DocumentAssembler. ##### setName(String value) ``` public void setName(String value) ``` Sets the name of this column used to access the column's data in a template document passed to DocumentAssembler. If the column's name is read from a document (see DocumentTableOptions.getFirstRowContainsColumnNames() / DocumentTableOptions.setFirstRowContainsColumnNames(boolean)), the name is automatically corrected so that it to be valid. However, if the column's name is set manually through this property and the name is invalid, an exception is thrown. The column's name is considered to be valid, if the following conditions are met: * The name is not empty. * The name's first character is a letter or underscore. * The rest of the name's characters are letters, underscores, digits, or the following characters: '@', '\#', '$'. * The corresponding DocumentTable object does not contain a DocumentTableColumn instance with the same name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of this column used to access the column's data in a template document passed to DocumentAssembler. | ##### getIndexInDocument() ``` public int getIndexInDocument() ``` Gets the original zero-based index of the corresponding table column as per the source document. Depending on DocumentTableOptions specified, this index may differ from the index of this DocumentTableColumn instance within the column collection of the corresponding DocumentTable instance. **Returns:** int - The original zero-based index of the corresponding table column as per the source document. ##### getType() ``` public Class getType() ``` Gets the type of cell values in this column. For documents of non-Spreadsheet file formats, the initial type is always automatically determined as string. For documents of Spreadsheet file formats, the initial type is automatically determined depending on corresponding cell values. If cells of a particular Spreadsheet column contain values of different types, then the column's initial type is also automatically determined as string. **Returns:** java.lang.Class - The type of cell values in this column. ##### setType(Class value) ``` public void setType(Class value) ``` Sets the type of cell values in this column. For documents of non-Spreadsheet file formats, the initial type is always automatically determined as string. For documents of Spreadsheet file formats, the initial type is automatically determined depending on corresponding cell values. If cells of a particular Spreadsheet column contain values of different types, then the column's initial type is also automatically determined as string. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Class | The type of cell values in this column. | ##### getAllowsNull() ``` public boolean getAllowsNull() ``` Gets a value indicating whether cells in this column contain null values or not. Undefined and error values in cells of Spreadsheet documents are also considered to be null. **Returns:** boolean - A value indicating whether cells in this column contain null values or not. ### DocumentTableColumnCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttablecolumncollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public class DocumentTableColumnCollection implements Iterable ``` Represents a read-only collection of DocumentTableColumn objects of a particular DocumentTable instance. The collection is filled automatically while loading the corresponding table from a document and can not be modified. However, properties of DocumentTableColumn objects contained within the collection can be modified. #### Methods | Method | Description | | --- | --- | | iterator() | Returns an enumerator to iterate DocumentTableColumn objects of this collection. | | contains(String name) | Returns a value indicating whether this collection contains a column with the specified name. | | contains(DocumentTableColumn column) | Returns a value indicating whether this collection contains the specified column. | | indexOf(String name) | Returns the index of a column with the specified name within this collection. | | indexOf(DocumentTableColumn column) | Returns the index of the specified column within this collection. | | get(int index) | Gets a DocumentTableColumn instance from the collection at the specified index. | | get(String name) | Gets a DocumentTableColumn instance with the specified name from the collection. | | getCount() | Gets the total number of DocumentTableColumn objects in the collection. | ##### iterator() ``` public Iterator iterator() ``` Returns an enumerator to iterate DocumentTableColumn objects of this collection. **Returns:** java.util.Iterator - An enumerator to iterate DocumentTableColumn objects of this collection. ##### contains(String name) ``` public boolean contains(String name) ``` Returns a value indicating whether this collection contains a column with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The case-insensitive name of a column to look for. | **Returns:** boolean - A value indicating whether this collection contains a column with the specified name. ##### contains(DocumentTableColumn column) ``` public boolean contains(DocumentTableColumn column) ``` Returns a value indicating whether this collection contains the specified column. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DocumentTableColumn | A column to look for. | **Returns:** boolean - A value indicating whether this collection contains the specified column. ##### indexOf(String name) ``` public int indexOf(String name) ``` Returns the index of a column with the specified name within this collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The case-insensitive name of a column to find. | **Returns:** int - The zero-based index of a column with the specified name, or -1 if the column does not exist in this collection. ##### indexOf(DocumentTableColumn column) ``` public int indexOf(DocumentTableColumn column) ``` Returns the index of the specified column within this collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | DocumentTableColumn | A column to find. | **Returns:** int - The zero-based index of the specified column, or -1 if the column does not exist in this collection. ##### get(int index) ``` public DocumentTableColumn get(int index) ``` Gets a DocumentTableColumn instance from the collection at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the column to return. | **Returns:** DocumentTableColumn - A DocumentTableColumn instance from the collection at the specified index. ##### get(String name) ``` public DocumentTableColumn get(String name) ``` Gets a DocumentTableColumn instance with the specified name from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The case-insensitive name of the column to return. | **Returns:** DocumentTableColumn - A DocumentTableColumn instance with the specified name from the collection or null if such an instance does not exist. ##### getCount() ``` public int getCount() ``` Gets the total number of DocumentTableColumn objects in the collection. **Returns:** int - The total number of DocumentTableColumn objects in the collection. ### DocumentTableLoadArgs Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttableloadargs.md **Inheritance:** java.lang.Object ``` public class DocumentTableLoadArgs ``` Provides data for the IDocumentTableLoadHandler.handle(com.groupdocs.assembly.DocumentTableLoadArgs) method. #### Methods | Method | Description | | --- | --- | | getTableIndex() | Gets the zero-based index of the corresponding document table to be loaded. | | isLoaded() | Gets a value indicating whether the corresponding document table is to be loaded or not. | | isLoaded(boolean value) | Sets a value indicating whether the corresponding document table is to be loaded or not. | | getOptions() | Gets DocumentTableOptions to be used while loading the corresponding document table. | | setOptions(DocumentTableOptions value) | Sets DocumentTableOptions to be used while loading the corresponding document table. | ##### getTableIndex() ``` public int getTableIndex() ``` Gets the zero-based index of the corresponding document table to be loaded. **Returns:** int - The zero-based index of the corresponding document table to be loaded. ##### isLoaded() ``` public boolean isLoaded() ``` Gets a value indicating whether the corresponding document table is to be loaded or not. The default value is true. **Returns:** boolean - A value indicating whether the corresponding document table is to be loaded or not. ##### isLoaded(boolean value) ``` public void isLoaded(boolean value) ``` Sets a value indicating whether the corresponding document table is to be loaded or not. The default value is true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A value indicating whether the corresponding document table is to be loaded or not. | ##### getOptions() ``` public DocumentTableOptions getOptions() ``` Gets DocumentTableOptions to be used while loading the corresponding document table. The default value is null, which means that default DocumentTableOptions are to be applied. **Returns:** DocumentTableOptions - DocumentTableOptions to be used while loading the corresponding document table. ##### setOptions(DocumentTableOptions value) ``` public void setOptions(DocumentTableOptions value) ``` Sets DocumentTableOptions to be used while loading the corresponding document table. The default value is null, which means that default DocumentTableOptions are to be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | DocumentTableOptions | DocumentTableOptions to be used while loading the corresponding document table. | ### DocumentTableOptions Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttableoptions.md **Inheritance:** java.lang.Object ``` public class DocumentTableOptions ``` Provides a set of options to control extraction of data from a document table. #### Constructors | Constructor | Description | | --- | --- | | DocumentTableOptions() | Creates a new instance of this class. | #### Methods | Method | Description | | --- | --- | | getMinRowIndex() | Gets the smallest zero-based index of a row to be extracted from a document table. | | setMinRowIndex(int value) | Sets the smallest zero-based index of a row to be extracted from a document table. | | getMaxRowIndex() | Gets the largest zero-based index of a row to be extracted from a document table. | | setMaxRowIndex(int value) | Sets the largest zero-based index of a row to be extracted from a document table. | | getMinColumnIndex() | Gets the smallest zero-based index of a column to be extracted from a document table. | | setMinColumnIndex(int value) | Sets the smallest zero-based index of a column to be extracted from a document table. | | getMaxColumnIndex() | Gets the largest zero-based index of a column to be extracted from a document table. | | setMaxColumnIndex(int value) | Sets the largest zero-based index of a column to be extracted from a document table. | | getFirstRowContainsColumnNames() | Gets a value indicating whether column names are to be obtained from the first extracted row of a document table. | | setFirstRowContainsColumnNames(boolean value) | Sets a value indicating whether column names are to be obtained from the first extracted row of a document table. | ##### DocumentTableOptions() ``` public DocumentTableOptions() ``` Creates a new instance of this class. ##### getMinRowIndex() ``` public int getMinRowIndex() ``` Gets the smallest zero-based index of a row to be extracted from a document table. The default value is negative which means that the smallest row index is not limited. **Returns:** int - The smallest zero-based index of a row to be extracted from a document table. ##### setMinRowIndex(int value) ``` public void setMinRowIndex(int value) ``` Sets the smallest zero-based index of a row to be extracted from a document table. The default value is negative which means that the smallest row index is not limited. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The smallest zero-based index of a row to be extracted from a document table. | ##### getMaxRowIndex() ``` public int getMaxRowIndex() ``` Gets the largest zero-based index of a row to be extracted from a document table. The default value is negative which means that the largest row index is not limited. **Returns:** int - The largest zero-based index of a row to be extracted from a document table. ##### setMaxRowIndex(int value) ``` public void setMaxRowIndex(int value) ``` Sets the largest zero-based index of a row to be extracted from a document table. The default value is negative which means that the largest row index is not limited. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The largest zero-based index of a row to be extracted from a document table. | ##### getMinColumnIndex() ``` public int getMinColumnIndex() ``` Gets the smallest zero-based index of a column to be extracted from a document table. The default value is negative which means that the smallest column index is not limited. **Returns:** int - The smallest zero-based index of a column to be extracted from a document table. ##### setMinColumnIndex(int value) ``` public void setMinColumnIndex(int value) ``` Sets the smallest zero-based index of a column to be extracted from a document table. The default value is negative which means that the smallest column index is not limited. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The smallest zero-based index of a column to be extracted from a document table. | ##### getMaxColumnIndex() ``` public int getMaxColumnIndex() ``` Gets the largest zero-based index of a column to be extracted from a document table. The default value is negative which means that the largest column index is not limited. **Returns:** int - The largest zero-based index of a column to be extracted from a document table. ##### setMaxColumnIndex(int value) ``` public void setMaxColumnIndex(int value) ``` Sets the largest zero-based index of a column to be extracted from a document table. The default value is negative which means that the largest column index is not limited. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The largest zero-based index of a column to be extracted from a document table. | ##### getFirstRowContainsColumnNames() ``` public boolean getFirstRowContainsColumnNames() ``` Gets a value indicating whether column names are to be obtained from the first extracted row of a document table. The default value is false. If column names are not set to be obtained from the first extracted row of a document table, default column names are used instead. For documents of Spreadsheet file formats, default column names are defined as A, B, C, ... Z, AA, AB, and so on. For documents of other file formats, default column names are defined as Column1, Column2, Column3, and so on. **Returns:** boolean - A value indicating whether column names are to be obtained from the first extracted row of a document table. ##### setFirstRowContainsColumnNames(boolean value) ``` public void setFirstRowContainsColumnNames(boolean value) ``` Sets a value indicating whether column names are to be obtained from the first extracted row of a document table. The default value is false. If column names are not set to be obtained from the first extracted row of a document table, default column names are used instead. For documents of Spreadsheet file formats, default column names are defined as A, B, C, ... Z, AA, AB, and so on. For documents of other file formats, default column names are defined as Column1, Column2, Column3, and so on. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A value indicating whether column names are to be obtained from the first extracted row of a document table. | ### DocumentTableRelation Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttablerelation.md **Inheritance:** java.lang.Object ``` public class DocumentTableRelation ``` Represents a parent-child relationship between two DocumentTable objects. #### Methods | Method | Description | | --- | --- | | getParentColumn() | Gets the parent column of this relation. | | getChildColumn() | Gets the child column of this relation. | ##### getParentColumn() ``` public DocumentTableColumn getParentColumn() ``` Gets the parent column of this relation. **Returns:** DocumentTableColumn - The parent column of this relation. ##### getChildColumn() ``` public DocumentTableColumn getChildColumn() ``` Gets the child column of this relation. **Returns:** DocumentTableColumn - The child column of this relation. ### DocumentTableRelationCollection Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttablerelationcollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public class DocumentTableRelationCollection implements Iterable ``` Represents the collection of DocumentTableRelation objects of a single DocumentTableSet instance. #### Methods | Method | Description | | --- | --- | | add(DocumentTableColumn parentColumn, DocumentTableColumn childColumn) | Creates a DocumentTableRelation object for the specified parent and child columns, and adds it to the collection. | | remove(DocumentTableRelation relation) | Removes the specified relation from the collection. | | removeAt(int index) | Removes the relation at the specified index from the collection. | | clear() | Clears the collection of any relations. | | iterator() | Returns an enumerator to iterate DocumentTableRelation objects of this collection. | | contains(DocumentTableRelation relation) | Returns a value indicating whether this collection contains the specified relation. | | indexOf(DocumentTableRelation relation) | Returns the index of the specified relation within this collection. | | get(int index) | Gets a DocumentTableRelation instance from the collection at the specified index. | | getCount() | Gets the total number of DocumentTableRelation objects in the collection. | ##### add(DocumentTableColumn parentColumn, DocumentTableColumn childColumn) ``` public DocumentTableRelation add(DocumentTableColumn parentColumn, DocumentTableColumn childColumn) ``` Creates a DocumentTableRelation object for the specified parent and child columns, and adds it to the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parentColumn | DocumentTableColumn | The parent column of the relation. | | childColumn | DocumentTableColumn | The child column of the relation. | **Returns:** DocumentTableRelation - The created relation. ##### remove(DocumentTableRelation relation) ``` public void remove(DocumentTableRelation relation) ``` Removes the specified relation from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DocumentTableRelation | The relation to remove. | ##### removeAt(int index) ``` public void removeAt(int index) ``` Removes the relation at the specified index from the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The index of the relation to remove. | ##### clear() ``` public void clear() ``` Clears the collection of any relations. ##### iterator() ``` public Iterator iterator() ``` Returns an enumerator to iterate DocumentTableRelation objects of this collection. **Returns:** java.util.Iterator - An enumerator to iterate DocumentTableRelation objects of this collection. ##### contains(DocumentTableRelation relation) ``` public boolean contains(DocumentTableRelation relation) ``` Returns a value indicating whether this collection contains the specified relation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DocumentTableRelation | A relation to look for. | **Returns:** boolean - A value indicating whether this collection contains the specified relation. ##### indexOf(DocumentTableRelation relation) ``` public int indexOf(DocumentTableRelation relation) ``` Returns the index of the specified relation within this collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | DocumentTableRelation | A relation to find. | **Returns:** int - The zero-based index of the specified relation, or -1 if the relation does not exist in this collection. ##### get(int index) ``` public DocumentTableRelation get(int index) ``` Gets a DocumentTableRelation instance from the collection at the specified index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the relation to return. | **Returns:** DocumentTableRelation - A DocumentTableRelation instance from the collection at the specified index. ##### getCount() ``` public int getCount() ``` Gets the total number of DocumentTableRelation objects in the collection. **Returns:** int - The total number of DocumentTableRelation objects in the collection. ### DocumentTableSet Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/documenttableset.md **Inheritance:** java.lang.Object ``` public class DocumentTableSet ``` Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while assembling a document. Also, enables to define parent-child relations for the document tables thus simplifying access to related data within template documents. For documents of Spreadsheet file formats, a DocumentTableSet instance represents a set of sheets. For documents of other file formats, a DocumentTableSet instance represents a set of tables. To access data of the corresponding tables while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler. assembleDocument overloads. In template documents, a DocumentTableSet instance should be treated in the same way as if it was a DataSet instance. See template syntax reference for more information. #### Constructors | Constructor | Description | | --- | --- | | DocumentTableSet(String documentPath) | Creates a new instance of this class loading all tables from a document using default DocumentTableOptions. | | DocumentTableSet(String documentPath, IDocumentTableLoadHandler loadHandler) | Creates a new instance of this class. | | DocumentTableSet(InputStream documentStream) | Creates a new instance of this class loading all tables from a document using default DocumentTableOptions. | | DocumentTableSet(InputStream documentStream, IDocumentTableLoadHandler loadHandler) | Creates a new instance of this class. | #### Methods | Method | Description | | --- | --- | | getTables() | Gets the collection of DocumentTable objects representing tables of this set. | | getRelations() | Gets the collection of parent-child relations defined for document tables of this set. | ##### DocumentTableSet(String documentPath) ``` public DocumentTableSet(String documentPath) ``` Creates a new instance of this class loading all tables from a document using default DocumentTableOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentPath | java.lang.String | The path to a document containing tables to be accessed. | ##### DocumentTableSet(String documentPath, IDocumentTableLoadHandler loadHandler) ``` public DocumentTableSet(String documentPath, IDocumentTableLoadHandler loadHandler) ``` Creates a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentPath | java.lang.String | The path to a document containing tables to be accessed. | | loadHandler | IDocumentTableLoadHandler | An IDocumentTableLoadHandler implementation controlling how document tables are loaded. | ##### DocumentTableSet(InputStream documentStream) ``` public DocumentTableSet(InputStream documentStream) ``` Creates a new instance of this class loading all tables from a document using default DocumentTableOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStream | java.io.InputStream | The stream containing a document with tables to be accessed. | ##### DocumentTableSet(InputStream documentStream, IDocumentTableLoadHandler loadHandler) ``` public DocumentTableSet(InputStream documentStream, IDocumentTableLoadHandler loadHandler) ``` Creates a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStream | java.io.InputStream | The stream containing a document with tables to be accessed. | | loadHandler | IDocumentTableLoadHandler | An IDocumentTableLoadHandler implementation controlling how document tables are loaded. | ##### getTables() ``` public DocumentTableCollection getTables() ``` Gets the collection of DocumentTable objects representing tables of this set. **Returns:** DocumentTableCollection - The collection of DocumentTable objects representing tables of this set. ##### getRelations() ``` public DocumentTableRelationCollection getRelations() ``` Gets the collection of parent-child relations defined for document tables of this set. **Returns:** DocumentTableRelationCollection - The collection of parent-child relations defined for document tables of this set. ### FileFormat Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/fileformat.md **Inheritance:** java.lang.Object ``` public final class FileFormat ``` A utility class providing constants. Specifies the format of a file. #### Fields | Field | Description | | --- | --- | | UNSPECIFIED | Specifies an unset value. | | DOC | Specifies the Microsoft Word 97 - 2007 Binary Document format. | | DOT | Specifies the Microsoft Word 97 - 2007 Binary Template format. | | DOCX | Specifies the Office Open XML WordprocessingML Document (macro-free) format. | | DOCM | Specifies the Office Open XML WordprocessingML Macro-Enabled Document format. | | DOTX | Specifies the Office Open XML WordprocessingML Template (macro-free) format. | | DOTM | Specifies the Office Open XML WordprocessingML Macro-Enabled Template format. | | FLAT_OPC | Specifies the Office Open XML WordprocessingML format stored in a flat XML file instead of a ZIP package. | | FLAT_OPC_MACRO_ENABLED | Specifies the Office Open XML WordprocessingML Macro-Enabled Document format stored in a flat XML file instead of a ZIP package. | | FLAT_OPC_TEMPLATE | Specifies the Office Open XML WordprocessingML Template (macro-free) format stored in a flat XML file instead of a ZIP package. | | FLAT_OPC_TEMPLATE_MACRO_ENABLED | Specifies the Office Open XML WordprocessingML Macro-Enabled Template format stored in a flat XML file instead of a ZIP package. | | WORD_ML | | | ODT | Specifies the ODF Text Document format. | | OTT | Specifies the ODF Text Document Template format. | | XLS | Specifies the Microsoft Excel 97 - 2007 Binary Workbook format. | | XLSX | Specifies the Office Open XML SpreadsheetML Workbook (macro-free) format. | | XLSM | Specifies the Office Open XML SpreadsheetML Macro-Enabled Workbook format. | | XLTX | Specifies the Office Open XML SpreadsheetML Template (macro-free) format. | | XLTM | Specifies the Office Open XML SpreadsheetML Macro-Enabled Template format. | | XLAM | Specifies the Office Open XML SpreadsheetML Macro-Enabled Add-in format. | | XLSB | Specifies the Microsoft Excel 2007 Macro-Enabled Binary File format. | | SPREADSHEET_ML | | | ODS | Specifies the ODF Spreadsheet format. | | PPT | Specifies the Microsoft PowerPoint 97 - 2007 Binary Presentation format. | | PPS | Specifies the Microsoft PowerPoint 97 - 2007 Binary Slide Show format. | | PPTX | Specifies the Office Open XML PresentationML Presentation (macro-free) format. | | PPTM | Specifies the Office Open XML PresentationML Macro-Enabled Presentation format. | | PPSX | Specifies the Office Open XML PresentationML Slide Show (macro-free) format. | | PPSM | Specifies the Office Open XML PresentationML Macro-Enabled Slide Show format. | | POTX | Specifies the Office Open XML PresentationML Template (macro-free) format. | | POTM | Specifies the Office Open XML PresentationML Macro-Enabled Template format. | | ODP | Specifies the ODF Presentation format. | | MSG_ASCII | Specifies the Microsoft Outlook Message (MSG) format using ASCII character encoding. | | MSG_UNICODE | Specifies the Microsoft Outlook Message (MSG) format using Unicode character encoding. | | EML | Specifies the MIME standard format. | | EMLX | Specifies the Apple Mail.app program file format. | | RTF | Specifies the RTF format. | | TEXT | Specifies the plain text format. | | XML | Specifies the XML format of a general form. | | XAML | Specifies the Extensible Application Markup Language (XAML) format. | | XAML_PACKAGE | Specifies the Extensible Application Markup Language (XAML) package format. | | HTML | Specifies the HTML format. | | MHTML | Specifies the MHTML (Web archive) format. | | XPS | Specifies the XPS (XML Paper Specification) format. | | OPEN_XPS | Specifies the OpenXPS (Ecma-388) format. | | PDF | Specifies the PDF (Adobe Portable Document) format. | | EPUB | Specifies the IDPF EPUB format. | | PS | Specifies the PS (PostScript) format. | | PCL | Specifies the PCL (Printer Control Language) format. | | SVG | Specifies the SVG (Scalable Vector Graphics) format. | | TIFF | Specifies the TIFF format. | | MARKDOWN | Specifies the Markdown format. | | POT | Specifies the Microsoft PowerPoint 97 - 2007 Binary Template format. | | OTP | Specifies the ODF Presentation Template format. | | XLT | Specifies the Microsoft Excel 97 - 2007 Binary Template format. | | length | | #### Methods | Method | Description | | --- | --- | | getName(int fileFormat) | | | toString(int fileFormat) | | | fromName(String fileFormatName) | | | getValues() | | ##### UNSPECIFIED ``` public static final int UNSPECIFIED ``` Specifies an unset value. The default. ##### DOC ``` public static final int DOC ``` Specifies the Microsoft Word 97 - 2007 Binary Document format. ##### DOT ``` public static final int DOT ``` Specifies the Microsoft Word 97 - 2007 Binary Template format. ##### DOCX ``` public static final int DOCX ``` Specifies the Office Open XML WordprocessingML Document (macro-free) format. ##### DOCM ``` public static final int DOCM ``` Specifies the Office Open XML WordprocessingML Macro-Enabled Document format. ##### DOTX ``` public static final int DOTX ``` Specifies the Office Open XML WordprocessingML Template (macro-free) format. ##### DOTM ``` public static final int DOTM ``` Specifies the Office Open XML WordprocessingML Macro-Enabled Template format. ##### FLAT_OPC ``` public static final int FLAT_OPC ``` Specifies the Office Open XML WordprocessingML format stored in a flat XML file instead of a ZIP package. ##### FLAT_OPC_MACRO_ENABLED ``` public static final int FLAT_OPC_MACRO_ENABLED ``` Specifies the Office Open XML WordprocessingML Macro-Enabled Document format stored in a flat XML file instead of a ZIP package. ##### FLAT_OPC_TEMPLATE ``` public static final int FLAT_OPC_TEMPLATE ``` Specifies the Office Open XML WordprocessingML Template (macro-free) format stored in a flat XML file instead of a ZIP package. ##### FLAT_OPC_TEMPLATE_MACRO_ENABLED ``` public static final int FLAT_OPC_TEMPLATE_MACRO_ENABLED ``` Specifies the Office Open XML WordprocessingML Macro-Enabled Template format stored in a flat XML file instead of a ZIP package. ##### WORD_ML ``` public static final int WORD_ML ``` ##### ODT ``` public static final int ODT ``` Specifies the ODF Text Document format. ##### OTT ``` public static final int OTT ``` Specifies the ODF Text Document Template format. ##### XLS ``` public static final int XLS ``` Specifies the Microsoft Excel 97 - 2007 Binary Workbook format. ##### XLSX ``` public static final int XLSX ``` Specifies the Office Open XML SpreadsheetML Workbook (macro-free) format. ##### XLSM ``` public static final int XLSM ``` Specifies the Office Open XML SpreadsheetML Macro-Enabled Workbook format. ##### XLTX ``` public static final int XLTX ``` Specifies the Office Open XML SpreadsheetML Template (macro-free) format. ##### XLTM ``` public static final int XLTM ``` Specifies the Office Open XML SpreadsheetML Macro-Enabled Template format. ##### XLAM ``` public static final int XLAM ``` Specifies the Office Open XML SpreadsheetML Macro-Enabled Add-in format. ##### XLSB ``` public static final int XLSB ``` Specifies the Microsoft Excel 2007 Macro-Enabled Binary File format. ##### SPREADSHEET_ML ``` public static final int SPREADSHEET_ML ``` ##### ODS ``` public static final int ODS ``` Specifies the ODF Spreadsheet format. ##### PPT ``` public static final int PPT ``` Specifies the Microsoft PowerPoint 97 - 2007 Binary Presentation format. ##### PPS ``` public static final int PPS ``` Specifies the Microsoft PowerPoint 97 - 2007 Binary Slide Show format. ##### PPTX ``` public static final int PPTX ``` Specifies the Office Open XML PresentationML Presentation (macro-free) format. ##### PPTM ``` public static final int PPTM ``` Specifies the Office Open XML PresentationML Macro-Enabled Presentation format. ##### PPSX ``` public static final int PPSX ``` Specifies the Office Open XML PresentationML Slide Show (macro-free) format. ##### PPSM ``` public static final int PPSM ``` Specifies the Office Open XML PresentationML Macro-Enabled Slide Show format. ##### POTX ``` public static final int POTX ``` Specifies the Office Open XML PresentationML Template (macro-free) format. ##### POTM ``` public static final int POTM ``` Specifies the Office Open XML PresentationML Macro-Enabled Template format. ##### ODP ``` public static final int ODP ``` Specifies the ODF Presentation format. ##### MSG_ASCII ``` public static final int MSG_ASCII ``` Specifies the Microsoft Outlook Message (MSG) format using ASCII character encoding. ##### MSG_UNICODE ``` public static final int MSG_UNICODE ``` Specifies the Microsoft Outlook Message (MSG) format using Unicode character encoding. ##### EML ``` public static final int EML ``` Specifies the MIME standard format. ##### EMLX ``` public static final int EMLX ``` Specifies the Apple Mail.app program file format. ##### RTF ``` public static final int RTF ``` Specifies the RTF format. ##### TEXT ``` public static final int TEXT ``` Specifies the plain text format. ##### XML ``` public static final int XML ``` Specifies the XML format of a general form. ##### XAML ``` public static final int XAML ``` Specifies the Extensible Application Markup Language (XAML) format. ##### XAML_PACKAGE ``` public static final int XAML_PACKAGE ``` Specifies the Extensible Application Markup Language (XAML) package format. ##### HTML ``` public static final int HTML ``` Specifies the HTML format. ##### MHTML ``` public static final int MHTML ``` Specifies the MHTML (Web archive) format. ##### XPS ``` public static final int XPS ``` Specifies the XPS (XML Paper Specification) format. ##### OPEN_XPS ``` public static final int OPEN_XPS ``` Specifies the OpenXPS (Ecma-388) format. ##### PDF ``` public static final int PDF ``` Specifies the PDF (Adobe Portable Document) format. ##### EPUB ``` public static final int EPUB ``` Specifies the IDPF EPUB format. ##### PS ``` public static final int PS ``` Specifies the PS (PostScript) format. ##### PCL ``` public static final int PCL ``` Specifies the PCL (Printer Control Language) format. ##### SVG ``` public static final int SVG ``` Specifies the SVG (Scalable Vector Graphics) format. ##### TIFF ``` public static final int TIFF ``` Specifies the TIFF format. ##### MARKDOWN ``` public static final int MARKDOWN ``` Specifies the Markdown format. ##### POT ``` public static final int POT ``` Specifies the Microsoft PowerPoint 97 - 2007 Binary Template format. ##### OTP ``` public static final int OTP ``` Specifies the ODF Presentation Template format. ##### XLT ``` public static final int XLT ``` Specifies the Microsoft Excel 97 - 2007 Binary Template format. ##### length ``` public static final int length ``` ##### getName(int fileFormat) ``` public static String getName(int fileFormat) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | int | | **Returns:** java.lang.String ##### toString(int fileFormat) ``` public static String toString(int fileFormat) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | int | | **Returns:** java.lang.String ##### fromName(String fileFormatName) ``` public static int fromName(String fileFormatName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormatName | java.lang.String | | **Returns:** int ##### getValues() ``` public static int[] getValues() ``` **Returns:** int[] ### IDocumentTableLoadHandler Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/idocumenttableloadhandler.md ### JsonDataLoadOptions Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/jsondataloadoptions.md **Inheritance:** java.lang.Object ``` public class JsonDataLoadOptions ``` Represents options for parsing JSON data. An instance of this class can be passed into constructors of JsonDataSource. #### Constructors | Constructor | Description | | --- | --- | | JsonDataLoadOptions() | Initializes a new instance of this class with default options. | #### Methods | Method | Description | | --- | --- | | getSimpleValueParseMode() | Gets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. | | setSimpleValueParseMode(int value) | Sets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. | | getExactDateTimeParseFormat() | Gets an exact format for parsing JSON date-time values while loading JSON. | | setExactDateTimeParseFormat(String value) | Sets an exact format for parsing JSON date-time values while loading JSON. | | getExactDateTimeParseFormats() | Gets exact formats for parsing JSON date-time values while loading JSON. | | setExactDateTimeParseFormats(Iterable value) | Sets exact formats for parsing JSON date-time values while loading JSON. | | getAlwaysGenerateRootObject() | Gets a flag indicating whether a generated data source will always contain an object for a JSON root element. | | setAlwaysGenerateRootObject(boolean value) | Sets a flag indicating whether a generated data source will always contain an object for a JSON root element. | ##### JsonDataLoadOptions() ``` public JsonDataLoadOptions() ``` Initializes a new instance of this class with default options. ##### getSimpleValueParseMode() ``` public int getSimpleValueParseMode() ``` Gets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. The default is JsonSimpleValueParseMode.LOOSE. **Returns:** int - A mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. The returned value is one of JsonSimpleValueParseMode constants. ##### setSimpleValueParseMode(int value) ``` public void setSimpleValueParseMode(int value) ``` Sets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. The default is JsonSimpleValueParseMode.LOOSE. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | A mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. The value must be one of JsonSimpleValueParseMode constants. | ##### getExactDateTimeParseFormat() ``` public String getExactDateTimeParseFormat() ``` Gets an exact format for parsing JSON date-time values while loading JSON. The default is **null**. Strings encoded using Microsoft� JSON date-time format (for example, "/Date(1224043200000)/") are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way: * When getExactDateTimeParseFormat() / setExactDateTimeParseFormat(java.lang.String) is **null**, the ISO-8601 format and all date-time formats supported for the current, English USA, and English New Zealand cultures are used additionally in the mentioned order. * When getExactDateTimeParseFormat() / setExactDateTimeParseFormat(java.lang.String) is a non-empty string, it is used as a single additional date-time format utilizing the current culture. * When getExactDateTimeParseFormat() / setExactDateTimeParseFormat(java.lang.String) is an empty string, no additional date-time formats are used. **Returns:** java.lang.String - An exact format for parsing JSON date-time values while loading JSON. ##### setExactDateTimeParseFormat(String value) ``` public void setExactDateTimeParseFormat(String value) ``` Sets an exact format for parsing JSON date-time values while loading JSON. The default is **null**. Strings encoded using Microsoft� JSON date-time format (for example, "/Date(1224043200000)/") are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way: * When getExactDateTimeParseFormat() / setExactDateTimeParseFormat(java.lang.String) is **null**, the ISO-8601 format and all date-time formats supported for the current, English USA, and English New Zealand cultures are used additionally in the mentioned order. * When getExactDateTimeParseFormat() / setExactDateTimeParseFormat(java.lang.String) is a non-empty string, it is used as a single additional date-time format utilizing the current culture. * When getExactDateTimeParseFormat() / setExactDateTimeParseFormat(java.lang.String) is an empty string, no additional date-time formats are used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An exact format for parsing JSON date-time values while loading JSON. | ##### getExactDateTimeParseFormats() ``` public Iterable getExactDateTimeParseFormats() ``` Gets exact formats for parsing JSON date-time values while loading JSON. The default is **null**. Strings encoded using Microsoft� JSON date-time format (for example, "/Date(1224043200000)/") are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way: * When getExactDateTimeParseFormats() / setExactDateTimeParseFormats(java.lang.Iterable) is **null**, the ISO-8601 format and all date-time formats supported for the current, English USA, and English New Zealand cultures are used additionally in the mentioned order. * When getExactDateTimeParseFormats() / setExactDateTimeParseFormats(java.lang.Iterable) contains strings, they are used as additional date-time formats utilizing the current culture. * When getExactDateTimeParseFormats() / setExactDateTimeParseFormats(java.lang.Iterable) is empty, no additional date-time formats are used. **Returns:** java.lang.Iterable - Exact formats for parsing JSON date-time values while loading JSON. ##### setExactDateTimeParseFormats(Iterable value) ``` public void setExactDateTimeParseFormats(Iterable value) ``` Sets exact formats for parsing JSON date-time values while loading JSON. The default is **null**. Strings encoded using Microsoft� JSON date-time format (for example, "/Date(1224043200000)/") are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way: * When getExactDateTimeParseFormats() / setExactDateTimeParseFormats(java.lang.Iterable) is **null**, the ISO-8601 format and all date-time formats supported for the current, English USA, and English New Zealand cultures are used additionally in the mentioned order. * When getExactDateTimeParseFormats() / setExactDateTimeParseFormats(java.lang.Iterable) contains strings, they are used as additional date-time formats utilizing the current culture. * When getExactDateTimeParseFormats() / setExactDateTimeParseFormats(java.lang.Iterable) is empty, no additional date-time formats are used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Iterable | Exact formats for parsing JSON date-time values while loading JSON. | ##### getAlwaysGenerateRootObject() ``` public boolean getAlwaysGenerateRootObject() ``` Gets a flag indicating whether a generated data source will always contain an object for a JSON root element. If a JSON root element contains a single complex property, such an object is not created by default. The default value is **false**. **Returns:** boolean - A flag indicating whether a generated data source will always contain an object for a JSON root element. ##### setAlwaysGenerateRootObject(boolean value) ``` public void setAlwaysGenerateRootObject(boolean value) ``` Sets a flag indicating whether a generated data source will always contain an object for a JSON root element. If a JSON root element contains a single complex property, such an object is not created by default. The default value is **false**. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A flag indicating whether a generated data source will always contain an object for a JSON root element. | ### JsonDataSource Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/jsondatasource.md **Inheritance:** java.lang.Object ``` public class JsonDataSource ``` Provides access to data of a JSON file or stream to be used while assembling a document. To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler. assembleDocument overloads. In template documents, if a top-level JSON element is an array, a JsonDataSource instance should be treated in the same way as if it was a DataTable instance. If a top-level JSON element is an object, a JsonDataSource instance should be treated in the same way as if it was a DataRow instance. For more information, see template syntax reference(https://docs.groupdocs.com/display/assemblyjava/Template+Syntax+-+Part+1+of+2\#TemplateSyntax-Part1of2-UsingDataSources). In template documents, you can work with typed values of JSON elements. For convenience, the engine replaces the set of JSON simple types with the following one: * java.lang.Long * java.lang.Double * java.lang.Boolean * java.util.Date * java.lang.String The engine automatically recognizes values of the extra types upon their JSON representations. To override default behavior of JSON data loading, initialize and pass a JsonDataLoadOptions instance to a constructor of this class. #### Constructors | Constructor | Description | | --- | --- | | JsonDataSource(String jsonPath) | Creates a new data source with data from a JSON file using default options for parsing JSON data. | | JsonDataSource(String jsonPath, JsonDataLoadOptions options) | Creates a new data source with data from a JSON file using the specified options for parsing JSON data. | | JsonDataSource(InputStream jsonStream) | Creates a new data source with data from a JSON stream using default options for parsing JSON data. | | JsonDataSource(InputStream jsonStream, JsonDataLoadOptions options) | Initializes a new instance of this class. | ##### JsonDataSource(String jsonPath) ``` public JsonDataSource(String jsonPath) ``` Creates a new data source with data from a JSON file using default options for parsing JSON data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | jsonPath | java.lang.String | The path to the JSON file to be used as the data source. | ##### JsonDataSource(String jsonPath, JsonDataLoadOptions options) ``` public JsonDataSource(String jsonPath, JsonDataLoadOptions options) ``` Creates a new data source with data from a JSON file using the specified options for parsing JSON data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | jsonPath | java.lang.String | The path to the JSON file to be used as the data source. | | options | JsonDataLoadOptions | Options for parsing JSON data. | ##### JsonDataSource(InputStream jsonStream) ``` public JsonDataSource(InputStream jsonStream) ``` Creates a new data source with data from a JSON stream using default options for parsing JSON data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | jsonStream | java.io.InputStream | The stream of JSON data to be used as the data source. | ##### JsonDataSource(InputStream jsonStream, JsonDataLoadOptions options) ``` public JsonDataSource(InputStream jsonStream, JsonDataLoadOptions options) ``` Initializes a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | jsonStream | java.io.InputStream | | | options | JsonDataLoadOptions | | ### JsonSimpleValueParseMode Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/jsonsimplevalueparsemode.md **Inheritance:** java.lang.Object ``` public final class JsonSimpleValueParseMode ``` A utility class providing constants. Specifies a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. #### Fields | Field | Description | | --- | --- | | LOOSE | Specifies the mode where types of JSON simple values are determined upon parsing of their string representations. | | STRICT | Specifies the mode where types of JSON simple values are determined from JSON notation itself. | | length | | #### Methods | Method | Description | | --- | --- | | getName(int jsonSimpleValueParseMode) | | | toString(int jsonSimpleValueParseMode) | | | fromName(String jsonSimpleValueParseModeName) | | | getValues() | | ##### LOOSE ``` public static final int LOOSE ``` Specifies the mode where types of JSON simple values are determined upon parsing of their string representations. For example, the type of 'prop' from the JSON snippet '\{ prop: "123" \}' is determined as integer in this mode. ##### STRICT ``` public static final int STRICT ``` Specifies the mode where types of JSON simple values are determined from JSON notation itself. For example, the type of 'prop' from the JSON snippet '\{ prop: "123" \}' is determined as string in this mode. ##### length ``` public static final int length ``` ##### getName(int jsonSimpleValueParseMode) ``` public static String getName(int jsonSimpleValueParseMode) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | jsonSimpleValueParseMode | int | | **Returns:** java.lang.String ##### toString(int jsonSimpleValueParseMode) ``` public static String toString(int jsonSimpleValueParseMode) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | jsonSimpleValueParseMode | int | | **Returns:** java.lang.String ##### fromName(String jsonSimpleValueParseModeName) ``` public static int fromName(String jsonSimpleValueParseModeName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | jsonSimpleValueParseModeName | java.lang.String | | **Returns:** int ##### getValues() ``` public static int[] getValues() ``` **Returns:** int[] ### KnownTypeSet Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/knowntypeset.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public class KnownTypeSet implements Iterable ``` Represents an unordered set (that is, a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within document templates to invoke the corresponding types' static members, perform type casts, etc. #### Methods | Method | Description | | --- | --- | | add(Class type) | Adds the specified java.lang.Class object to the set. | | remove(Class type) | Removes the specified java.lang.Class object from the set. | | clear() | Removes all items from the set. | | iterator() | Returns An java.util.Iterator object to iterate over items of the set. | | getCount() | Gets the count of items in the set. | ##### add(Class type) ``` public void add(Class type) ``` Adds the specified java.lang.Class object to the set. Throws java.lang.IllegalArgumentException in the following cases: \- type is null. \- type represents a void type. \- type represents an invisible type, i.e. a non-public type or a public nested type which has a non-public outer type. \- type represents an array type. \- type has been added to the set already. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.Class | A java.lang.Class object to add. | ##### remove(Class type) ``` public void remove(Class type) ``` Removes the specified java.lang.Class object from the set. Throws java.lang.IllegalArgumentException if type is null. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.Class | A java.lang.Class object to remove. | ##### clear() ``` public void clear() ``` Removes all items from the set. ##### iterator() ``` public Iterator iterator() ``` Returns An java.util.Iterator object to iterate over items of the set. **Returns:** java.util.Iterator - An java.util.Iterator object to iterate over items of the set. ##### getCount() ``` public int getCount() ``` Gets the count of items in the set. **Returns:** int - The count of items in the set. ### License Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/license.md **Inheritance:** java.lang.Object ``` public class License ``` Provides methods to license the component. #### Constructors | Constructor | Description | | --- | --- | | License() | Initializes a new instance of this class. | #### Methods | Method | Description | | --- | --- | | setLicense(String licenseName) | Licenses the component. | | setLicense(InputStream stream) | Licenses the component. | | isLicensed() | Returns true if a valid license has been applied; false if the component is running in evaluation mode. | ##### License() ``` public License() ``` Initializes a new instance of this class. ##### setLicense(String licenseName) ``` public void setLicense(String licenseName) ``` Licenses the component. Tries to find the license in the following locations: 1. Explicit path. 2. The folder that contains the GroupDocs component JAR file. 3. The folder that contains the client's calling JAR file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseName | java.lang.String | Can be a full or short file name. Use an empty string to switch to evaluation mode. | ##### setLicense(InputStream stream) ``` public void setLicense(InputStream stream) ``` Licenses the component. Use this method to load a license from a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | A stream that contains the license. | ##### isLicensed() ``` public boolean isLicensed() ``` Returns true if a valid license has been applied; false if the component is running in evaluation mode. **Returns:** boolean - True if a valid license has been applied; false if the component is running in evaluation mode. ### LoadSaveOptions Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/loadsaveoptions.md **Inheritance:** java.lang.Object ``` public class LoadSaveOptions ``` Specifies additional options for loading and saving of a document to be assembled. #### Constructors | Constructor | Description | | --- | --- | | LoadSaveOptions() | Creates a new instance of this class without any properties specified. | | LoadSaveOptions(int saveFormat) | Creates a new instance of this class with the specified file format to save an assembled document to. | #### Methods | Method | Description | | --- | --- | | getSaveFormat() | Gets a file format to save an assembled document to. | | setSaveFormat(int value) | Sets a file format to save an assembled document to. | | getResourceLoadBaseUri() | Gets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. | | setResourceLoadBaseUri(String value) | Sets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. | | getResourceSaveFolder() | Gets a path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. | | setResourceSaveFolder(String value) | Sets a path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. | ##### LoadSaveOptions() ``` public LoadSaveOptions() ``` Creates a new instance of this class without any properties specified. ##### LoadSaveOptions(int saveFormat) ``` public LoadSaveOptions(int saveFormat) ``` Creates a new instance of this class with the specified file format to save an assembled document to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | saveFormat | int | A file format to save an assembled document to. The value must be one of FileFormat constants. | ##### getSaveFormat() ``` public int getSaveFormat() ``` Gets a file format to save an assembled document to. FileFormat.UNSPECIFIED is the default. When the value of this property is not specified, DocumentAssembler behaves as follows: \- When you specify a file path to save an assembled document, the save file format is determined upon file extension from the path. \- When you specify a stream to save an assembled document, the save file format remains the same as the file format of a loaded template document. Beware that it is not always possible to save an assembled document to any file format using GroupDocs.Assembly. For example, it is impossible to save a document loaded from a Word Processing file format (such as DOCX) to a Spreadsheet file format (such as XLSX). For more information on possible combinations of load and save file formats supported by GroupDocs.Assembly, please check GroupDocs.Assembly online documentation. **Returns:** int - A file format to save an assembled document to. The returned value is one of FileFormat constants. ##### setSaveFormat(int value) ``` public void setSaveFormat(int value) ``` Sets a file format to save an assembled document to. FileFormat.UNSPECIFIED is the default. When the value of this property is not specified, DocumentAssembler behaves as follows: \- When you specify a file path to save an assembled document, the save file format is determined upon file extension from the path. \- When you specify a stream to save an assembled document, the save file format remains the same as the file format of a loaded template document. Beware that it is not always possible to save an assembled document to any file format using GroupDocs.Assembly. For example, it is impossible to save a document loaded from a Word Processing file format (such as DOCX) to a Spreadsheet file format (such as XLSX). For more information on possible combinations of load and save file formats supported by GroupDocs.Assembly, please check GroupDocs.Assembly online documentation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | A file format to save an assembled document to. The value must be one of FileFormat constants. | ##### getResourceLoadBaseUri() ``` public String getResourceLoadBaseUri() ``` Gets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. The default value is an empty string. When loading an HTML document from a file, its containing folder is used as a base URI by default, which cannot happen when loading an HTML document from a stream. Set this property to specify a base URI when loading an HTML document from a stream or to override the default base URI when loading an HTML document from a file. A value of this property is ignored in the following cases: * An HTML document being loaded contains a BASE HTML element providing a base URI. * An HTML document being loaded is to be assembled and saved to HTML (external resource files are not loaded and relative URIs are not changed then). **Returns:** java.lang.String - A base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. ##### setResourceLoadBaseUri(String value) ``` public void setResourceLoadBaseUri(String value) ``` Sets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. The default value is an empty string. When loading an HTML document from a file, its containing folder is used as a base URI by default, which cannot happen when loading an HTML document from a stream. Set this property to specify a base URI when loading an HTML document from a stream or to override the default base URI when loading an HTML document from a file. A value of this property is ignored in the following cases: * An HTML document being loaded contains a BASE HTML element providing a base URI. * An HTML document being loaded is to be assembled and saved to HTML (external resource files are not loaded and relative URIs are not changed then). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. | ##### getResourceSaveFolder() ``` public String getResourceSaveFolder() ``` Gets a path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. The default value is an empty string. By default, when saving an assembled document to an HTML file, external resource files are stored to a folder having the same name as the HTML file without extension plus the "\_files" suffix. This folder is located in the same folder as the HTML file. However, this cannot be done when saving an assembled document to an HTML stream. Set this property to specify a path to a folder to store external resource files when saving an assembled document to an HTML stream or to override the default folder when saving an assembled document to an HTML file. A value of this property is ignored if an assembled document being saved to HTML was loaded from HTML as well (external resource files are not stored and links to them are not changed then). **Returns:** java.lang.String - A path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. ##### setResourceSaveFolder(String value) ``` public void setResourceSaveFolder(String value) ``` Sets a path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. The default value is an empty string. By default, when saving an assembled document to an HTML file, external resource files are stored to a folder having the same name as the HTML file without extension plus the "\_files" suffix. This folder is located in the same folder as the HTML file. However, this cannot be done when saving an assembled document to an HTML stream. Set this property to specify a path to a folder to store external resource files when saving an assembled document to an HTML stream or to override the default folder when saving an assembled document to an HTML file. A value of this property is ignored if an assembled document being saved to HTML was loaded from HTML as well (external resource files are not stored and links to them are not changed then). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. | ### Metered Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods to work with metered licensing. In this example, an attempt to set metered public and private keys is made: ``` Metered metered = new Metered(); metered.setMeteredKey("PublicKey", "PrivateKey"); ``` #### Constructors | Constructor | Description | | --- | --- | | Metered() | Creates a new instance of this class. | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Enables metered licensing for the component by specifying appropriate public and private metered keys. | | getConsumptionQuantity() | Returns the currently consumed number of megabytes. | | getConsumptionCredit() | Returns the currently consumed number of credits. | ##### Metered() ``` public Metered() ``` Creates a new instance of this class. ##### setMeteredKey(String publicKey, String privateKey) ``` public void setMeteredKey(String publicKey, String privateKey) ``` Enables metered licensing for the component by specifying appropriate public and private metered keys. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public metered key. | | privateKey | java.lang.String | The private metered key. | ##### getConsumptionQuantity() ``` public static double getConsumptionQuantity() ``` Returns the currently consumed number of megabytes. **Returns:** double - The currently consumed number of megabytes. ##### getConsumptionCredit() ``` public static double getConsumptionCredit() ``` Returns the currently consumed number of credits. **Returns:** double - The currently consumed number of credits. ### XmlDataLoadOptions Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/xmldataloadoptions.md **Inheritance:** java.lang.Object ``` public class XmlDataLoadOptions ``` Represents options for XML data loading. An instance of this class can be passed into constructors of XmlDataSource. #### Constructors | Constructor | Description | | --- | --- | | XmlDataLoadOptions() | Initializes a new instance of this class with default options. | #### Methods | Method | Description | | --- | --- | | getAlwaysGenerateRootObject() | Gets a flag indicating whether a generated data source will always contain an object for an XML root element. | | setAlwaysGenerateRootObject(boolean value) | Sets a flag indicating whether a generated data source will always contain an object for an XML root element. | ##### XmlDataLoadOptions() ``` public XmlDataLoadOptions() ``` Initializes a new instance of this class with default options. ##### getAlwaysGenerateRootObject() ``` public boolean getAlwaysGenerateRootObject() ``` Gets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default. The default value is **false**. **Returns:** boolean - A flag indicating whether a generated data source will always contain an object for an XML root element. ##### setAlwaysGenerateRootObject(boolean value) ``` public void setAlwaysGenerateRootObject(boolean value) ``` Sets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default. The default value is **false**. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A flag indicating whether a generated data source will always contain an object for an XML root element. | ### XmlDataSource Path: https://reference.groupdocs.com/assembly/java/com.groupdocs.assembly/xmldatasource.md **Inheritance:** java.lang.Object ``` public class XmlDataSource ``` Provides access to data of an XML file or stream to be used while assembling a document. To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler. assembleDocument overloads. In template documents, if a top-level XML element contains only a list of elements of the same type, an XmlDataSource instance should be treated in the same way as if it was a DataTable instance. Otherwise, an XmlDataSource instance should be treated in the same way as if it was a DataRow instance. For more information, see template syntax reference(https://docs.groupdocs.com/display/assemblyjava/Template+Syntax+-+Part+1+of+2\#TemplateSyntax-Part1of2-UsingDataSources). When XML Schema Definition is passed to a constructor of this class, data types of values of simple XML elements and attributes are determined according to the schema. So in template documents, you can work with typed values rather than just strings. When XML Schema Definition is not passed to a constructor of this class, data types of values of simple XML elements and attributes are determined automatically upon their string representations. So in template documents, you can work with typed values in this case as well. The engine is capable to automatically recognize values of the following types: * java.lang.Long * java.lang.Double * java.lang.Boolean * java.util.Date * java.lang.String Note that for automatic recognition of data types to work, string representations of values of simple XML elements and attributes should be formed using invariant culture settings. To override default behavior of XML data loading, initialize and pass a XmlDataLoadOptions instance to a constructor of this class. #### Constructors | Constructor | Description | | --- | --- | | XmlDataSource(String xmlPath) | Creates a new data source with data from an XML file using default options for XML data loading. | | XmlDataSource(InputStream xmlStream) | Creates a new data source with data from an XML stream using default options for XML data loading. | | XmlDataSource(String xmlPath, String xmlSchemaPath) | Creates a new data source with data from an XML file using an XML Schema Definition file. | | XmlDataSource(InputStream xmlStream, InputStream xmlSchemaStream) | Creates a new data source with data from an XML stream using an XML Schema Definition stream. | | XmlDataSource(String xmlPath, XmlDataLoadOptions options) | Creates a new data source with data from an XML file using the specified options for XML data loading. | | XmlDataSource(InputStream xmlStream, XmlDataLoadOptions options) | Initializes a new instance of this class. | | XmlDataSource(String xmlPath, String xmlSchemaPath, XmlDataLoadOptions options) | Creates a new data source with data from an XML file using an XML Schema Definition file. | | XmlDataSource(InputStream xmlStream, InputStream xmlSchemaStream, XmlDataLoadOptions options) | Initializes a new instance of this class. | ##### XmlDataSource(String xmlPath) ``` public XmlDataSource(String xmlPath) ``` Creates a new data source with data from an XML file using default options for XML data loading. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlPath | java.lang.String | The path to the XML file to be used as the data source. | ##### XmlDataSource(InputStream xmlStream) ``` public XmlDataSource(InputStream xmlStream) ``` Creates a new data source with data from an XML stream using default options for XML data loading. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlStream | java.io.InputStream | The stream of XML data to be used as the data source. | ##### XmlDataSource(String xmlPath, String xmlSchemaPath) ``` public XmlDataSource(String xmlPath, String xmlSchemaPath) ``` Creates a new data source with data from an XML file using an XML Schema Definition file. Default options are used for XML data loading. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlPath | java.lang.String | The path to the XML file to be used as the data source. | | xmlSchemaPath | java.lang.String | The path to the XML Schema Definition file that provides schema for the XML file. | ##### XmlDataSource(InputStream xmlStream, InputStream xmlSchemaStream) ``` public XmlDataSource(InputStream xmlStream, InputStream xmlSchemaStream) ``` Creates a new data source with data from an XML stream using an XML Schema Definition stream. Default options are used for XML data loading. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlStream | java.io.InputStream | The stream of XML data to be used as the data source. | | xmlSchemaStream | java.io.InputStream | The stream of XML Schema Definition that provides schema for the XML data. | ##### XmlDataSource(String xmlPath, XmlDataLoadOptions options) ``` public XmlDataSource(String xmlPath, XmlDataLoadOptions options) ``` Creates a new data source with data from an XML file using the specified options for XML data loading. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlPath | java.lang.String | The path to the XML file to be used as the data source. | | options | XmlDataLoadOptions | Options for XML data loading. | ##### XmlDataSource(InputStream xmlStream, XmlDataLoadOptions options) ``` public XmlDataSource(InputStream xmlStream, XmlDataLoadOptions options) ``` Initializes a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlStream | java.io.InputStream | | | options | XmlDataLoadOptions | | ##### XmlDataSource(String xmlPath, String xmlSchemaPath, XmlDataLoadOptions options) ``` public XmlDataSource(String xmlPath, String xmlSchemaPath, XmlDataLoadOptions options) ``` Creates a new data source with data from an XML file using an XML Schema Definition file. The specified options are used for XML data loading. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlPath | java.lang.String | The path to the XML file to be used as the data source. | | xmlSchemaPath | java.lang.String | The path to the XML Schema Definition file that provides schema for the XML file. | | options | XmlDataLoadOptions | Options for XML data loading. | ##### XmlDataSource(InputStream xmlStream, InputStream xmlSchemaStream, XmlDataLoadOptions options) ``` public XmlDataSource(InputStream xmlStream, InputStream xmlSchemaStream, XmlDataLoadOptions options) ``` Initializes a new instance of this class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xmlStream | java.io.InputStream | | | xmlSchemaStream | java.io.InputStream | | | options | XmlDataLoadOptions | | ## .NET ### GroupDocs.Assembly for .NET Path: https://reference.groupdocs.com/assembly/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Assembly | Provides classes for generating documents in popular office file formats based upon template documents and data obtained from various sources including databases, XML, JSON, OData, objects of custom .NET types, and more. | | GroupDocs.Assembly.Data | Provides classes for accessing data of external documents to be used while assembling a document. | ### GroupDocs.Assembly.Data Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data.md Provides classes for accessing data of external documents to be used while assembling a document. #### Classes | Class | Description | | --- | --- | | CsvDataLoadOptions | Represents options for parsing CSV data. | | CsvDataSource | Provides access to data of a CSV file or stream to be used while assembling a document. | | DocumentTable | Provides access to data of a single table (or spreadsheet) located in an external document to be used while assembling a document. | | DocumentTableCollection | Represents a read-only collection of `DocumentTable` objects of a particular `DocumentTableSet` instance. | | DocumentTableColumn | Represents a single column of a particular `DocumentTable` object. | | DocumentTableColumnCollection | Represents a read-only collection of `DocumentTableColumn` objects of a particular `DocumentTable` instance. | | DocumentTableLoadArgs | Provides data for the `Handle` method. | | DocumentTableOptions | Provides a set of options to control extraction of data from a document table. | | DocumentTableRelation | Represents a parent-child relationship between two `DocumentTable` objects. | | DocumentTableRelationCollection | Represents the collection of `DocumentTableRelation` objects of a single `DocumentTableSet` instance. | | DocumentTableSet | Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while assembling a document. Also, enables to define parent-child relations for the document tables thus simplifying access to related data within template documents. | | JsonDataLoadOptions | Represents options for parsing JSON data. | | JsonDataSource | Provides access to data of a JSON file or stream to be used while assembling a document. | | XmlDataLoadOptions | Represents options for XML data loading. | | XmlDataSource | Provides access to data of an XML file or stream to be used while assembling a document. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentTableLoadHandler | Overrides default loading of `DocumentTable` objects while creating a `DocumentTableSet` instance. | #### Enumeration | Enumeration | Description | | --- | --- | | JsonSimpleValueParseMode | Specifies a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. | ### CsvDataLoadOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdataloadoptions.md #### CsvDataLoadOptions class Represents options for parsing CSV data. ```csharp public class CsvDataLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | CsvDataLoadOptions() | Initializes a new instance of this class with default options. | | CsvDataLoadOptions(bool) | Initializes a new instance of this class with specifying whether CSV data contains column names at the first line. | #### Properties | Name | Description | | --- | --- | | CommentChar { get; set; } | Gets or sets the character that is used to comment lines of CSV data. | | Delimiter { get; set; } | Gets or sets the character to be used as a column delimiter. | | HasHeaders { get; set; } | Gets or sets a value indicating whether the first line of CSV data contains column names. | | QuoteChar { get; set; } | Gets or sets the character that is used to quote field values. | ##### Remarks An instance of this class can be passed into constructors of `CsvDataSource`. ### CommentChar Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdataloadoptions/commentchar.md #### CsvDataLoadOptions.CommentChar property Gets or sets the character that is used to comment lines of CSV data. ```csharp public char CommentChar { get; set; } ``` ##### Remarks The default value is '#' (number sign). ### CsvDataLoadOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdataloadoptions/csvdataloadoptions.md #### CsvDataLoadOptions() Initializes a new instance of this class with default options. ```csharp public CsvDataLoadOptions() ``` #### CsvDataLoadOptions(bool) Initializes a new instance of this class with specifying whether CSV data contains column names at the first line. ```csharp public CsvDataLoadOptions(bool hasHeaders) ``` ### Delimiter Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdataloadoptions/delimiter.md #### CsvDataLoadOptions.Delimiter property Gets or sets the character to be used as a column delimiter. ```csharp public char Delimiter { get; set; } ``` ##### Remarks The default value is ',' (comma). ### HasHeaders Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdataloadoptions/hasheaders.md #### CsvDataLoadOptions.HasHeaders property Gets or sets a value indicating whether the first line of CSV data contains column names. ```csharp public bool HasHeaders { get; set; } ``` ##### Remarks The default value is **false**. ### QuoteChar Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdataloadoptions/quotechar.md #### CsvDataLoadOptions.QuoteChar property Gets or sets the character that is used to quote field values. ```csharp public char QuoteChar { get; set; } ``` ##### Remarks The default value is '"' (quotation mark). Double the character to place it into quoted text. ### CsvDataSource Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdatasource.md #### CsvDataSource class Provides access to data of a CSV file or stream to be used while assembling a document. ```csharp public class CsvDataSource ``` #### Constructors | Name | Description | | --- | --- | | CsvDataSource(Stream) | Creates a new data source with data from a CSV stream using default options for parsing CSV data. | | CsvDataSource(string) | Creates a new data source with data from a CSV file using default options for parsing CSV data. | | CsvDataSource(Stream, CsvDataLoadOptions) | Creates a new data source with data from a CSV stream using the specified options for parsing CSV data. | | CsvDataSource(string, CsvDataLoadOptions) | Creates a new data source with data from a CSV file using the specified options for parsing CSV data. | ##### Remarks To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`.AssembleDocument overloads. In template documents, a `CsvDataSource` instance should be treated in the same way as if it was a DataTable instance. For more information, see template syntax reference (https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources). Data types of comma-separated values are determined automatically upon their string representations. So in template documents, you can work with typed values rather than just strings. The engine is capable to automatically recognize values of the following types: * `long?` * `double?` * `bool?` * `DateTime?` * `string` Note that for automatic recognition of data types to work, string representations of comma-separated values should be formed using invariant culture settings. To override default behavior of CSV data loading, initialize and pass a `CsvDataLoadOptions` instance to a constructor of this class. ### CsvDataSource Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/csvdatasource/csvdatasource.md #### CsvDataSource(string) Creates a new data source with data from a CSV file using default options for parsing CSV data. ```csharp public CsvDataSource(string csvPath) ``` | Parameter | Type | Description | | --- | --- | --- | | csvPath | String | The path to the CSV file to be used as the data source. | #### CsvDataSource(string, CsvDataLoadOptions) Creates a new data source with data from a CSV file using the specified options for parsing CSV data. ```csharp public CsvDataSource(string csvPath, CsvDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | csvPath | String | The path to the CSV file to be used as the data source. | | options | CsvDataLoadOptions | Options for parsing the CSV data. | #### CsvDataSource(Stream) Creates a new data source with data from a CSV stream using default options for parsing CSV data. ```csharp public CsvDataSource(Stream csvStream) ``` | Parameter | Type | Description | | --- | --- | --- | | csvStream | Stream | The stream of CSV data to be used as the data source. | #### CsvDataSource(Stream, CsvDataLoadOptions) Creates a new data source with data from a CSV stream using the specified options for parsing CSV data. ```csharp public CsvDataSource(Stream csvStream, CsvDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | csvStream | Stream | The stream of CSV data to be used as the data source. | | options | CsvDataLoadOptions | Options for parsing the CSV data. | ### DocumentTable Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttable.md #### DocumentTable class Provides access to data of a single table (or spreadsheet) located in an external document to be used while assembling a document. ```csharp public class DocumentTable ``` #### Constructors | Name | Description | | --- | --- | | DocumentTable(Stream, int) | Creates a new instance of this class using default `DocumentTableOptions`. | | DocumentTable(string, int) | Creates a new instance of this class using default `DocumentTableOptions`. | | DocumentTable(Stream, int, DocumentTableOptions) | Creates a new instance of this class. | | DocumentTable(string, int, DocumentTableOptions) | Creates a new instance of this class. | #### Properties | Name | Description | | --- | --- | | Columns { get; } | Gets the collection of `DocumentTableColumn` objects representing columns of the corresponding table. | | IndexInDocument { get; } | Gets the original zero-based index of the corresponding table as per the source document. | | Name { get; set; } | Gets or sets the name of this table used to access the table's data in a template document passed to `DocumentAssembler`. | ##### Remarks For documents of Spreadsheet file formats, a `DocumentTable` instance represents a single sheet. For documents of other file formats, a `DocumentTable` instance represents a single table. To access data of the corresponding table while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`.AssembleDocument overloads. In template documents, a `DocumentTable` instance should be treated in the same way as if it was a DataTable instance. See template syntax reference for more information. ### Columns Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttable/columns.md #### DocumentTable.Columns property Gets the collection of `DocumentTableColumn` objects representing columns of the corresponding table. ```csharp public DocumentTableColumnCollection Columns { get; } ``` ### DocumentTable Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttable/documenttable.md #### DocumentTable(string, int) Creates a new instance of this class using default `DocumentTableOptions`. ```csharp public DocumentTable(string documentPath, int indexInDocument) ``` | Parameter | Type | Description | | --- | --- | --- | | documentPath | String | The path to a document containing the table to be accessed. | | indexInDocument | Int32 | The zero-based index of the table in the document. | #### DocumentTable(string, int, DocumentTableOptions) Creates a new instance of this class. ```csharp public DocumentTable(string documentPath, int indexInDocument, DocumentTableOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | documentPath | String | The path to a document containing the table to be accessed. | | indexInDocument | Int32 | The zero-based index of the table in the document. | | options | DocumentTableOptions | A set of options controlling extraction of data from the table. If null, default options are applied. | #### DocumentTable(Stream, int) Creates a new instance of this class using default `DocumentTableOptions`. ```csharp public DocumentTable(Stream documentStream, int indexInDocument) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStream | Stream | The stream containing a document with the table to be accessed. | | indexInDocument | Int32 | The zero-based index of the table in the document. | #### DocumentTable(Stream, int, DocumentTableOptions) Creates a new instance of this class. ```csharp public DocumentTable(Stream documentStream, int indexInDocument, DocumentTableOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStream | Stream | The stream containing a document with the table to be accessed. | | indexInDocument | Int32 | The zero-based index of the table in the document. | | options | DocumentTableOptions | A set of options controlling extraction of data from the table. If null, default options are applied. | ### IndexInDocument Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttable/indexindocument.md #### DocumentTable.IndexInDocument property Gets the original zero-based index of the corresponding table as per the source document. ```csharp public int IndexInDocument { get; } ``` ##### Remarks Depending on an `IDocumentTableLoadHandler` implementation provided, this index may differ from the index of this `DocumentTable` instance within the table collection of the corresponding `DocumentTableSet` instance, if any. ### Name Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttable/name.md #### DocumentTable.Name property Gets or sets the name of this table used to access the table's data in a template document passed to `DocumentAssembler`. ```csharp public string Name { get; set; } ``` ##### Remarks If the table's name is read from a document, the name is automatically corrected so that it to be valid. However, if the table's name is set manually through this property and the name is invalid, an exception is thrown. The table's name is considered to be valid, if the following conditions are met: * The name is not empty. * The name's first character is a letter or underscore. * The rest of the name's characters are letters, underscores, digits, or the following characters: '@', '#', '$'. * The corresponding `DocumentTableSet` object does not contain a `DocumentTable` instance with the same name. ### DocumentTableCollection Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecollection.md #### DocumentTableCollection class Represents a read-only collection of `DocumentTable` objects of a particular `DocumentTableSet` instance. ```csharp public class DocumentTableCollection : IEnumerable ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the total number of `DocumentTable` objects in the collection. | | Item { get; } | Gets a `DocumentTable` instance from the collection at the specified index. (2 indexers) | #### Methods | Name | Description | | --- | --- | | Contains(DocumentTable) | Returns a value indicating whether this collection contains the specified table. | | Contains(string) | Returns a value indicating whether this collection contains a table with the specified name. | | GetEnumerator() | Returns an enumerator to iterate `DocumentTable` objects of this collection. | | IndexOf(DocumentTable) | Returns the index of the specified table within this collection. | | IndexOf(string) | Returns the index of a table with the specified name within this collection. | ##### Remarks The collection is filled automatically while loading the corresponding tables from a document and can not be modified. However, properties of `DocumentTable` objects contained within the collection can be modified. ### Contains Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecollection/contains.md #### Contains(string) Returns a value indicating whether this collection contains a table with the specified name. ```csharp public bool Contains(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The case-insensitive name of a table to look for. | ##### Return Value A value indicating whether this collection contains a table with the specified name. #### Contains(DocumentTable) Returns a value indicating whether this collection contains the specified table. ```csharp public bool Contains(DocumentTable table) ``` | Parameter | Type | Description | | --- | --- | --- | | table | DocumentTable | A table to look for. | ##### Return Value A value indicating whether this collection contains the specified table. ### Count Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecollection/count.md #### DocumentTableCollection.Count property Gets the total number of `DocumentTable` objects in the collection. ```csharp public int Count { get; } ``` ### GetEnumerator Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecollection/getenumerator.md #### DocumentTableCollection.GetEnumerator method Returns an enumerator to iterate `DocumentTable` objects of this collection. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An enumerator to iterate `DocumentTable` objects of this collection. ### IndexOf Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecollection/indexof.md #### IndexOf(string) Returns the index of a table with the specified name within this collection. ```csharp public int IndexOf(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The case-insensitive name of a table to find. | ##### Return Value The zero-based index of a table with the specified name, or -1 if the table does not exist in this collection. #### IndexOf(DocumentTable) Returns the index of the specified table within this collection. ```csharp public int IndexOf(DocumentTable table) ``` | Parameter | Type | Description | | --- | --- | --- | | table | DocumentTable | A table to find. | ##### Return Value The zero-based index of the specified table, or -1 if the table does not exist in this collection. ### Item Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecollection/item.md #### DocumentTableCollection indexer (1 of 2) Gets a `DocumentTable` instance from the collection at the specified index. ```csharp public DocumentTable this[int index] { get; } ``` | Parameter | Description | | --- | --- | | index | The zero-based index of the table to return. | ##### Return Value A `DocumentTable` instance from the collection at the specified index. #### DocumentTableCollection indexer (2 of 2) Gets a `DocumentTable` instance with the specified name from the collection. ```csharp public DocumentTable this[string name] { get; } ``` | Parameter | Description | | --- | --- | | name | The case-insensitive name of the table to return. | ##### Return Value A `DocumentTable` instance with the specified name from the collection or null if such an instance does not exist. ### DocumentTableColumn Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumn.md #### DocumentTableColumn class Represents a single column of a particular `DocumentTable` object. ```csharp public class DocumentTableColumn ``` #### Properties | Name | Description | | --- | --- | | AllowsNull { get; } | Gets a value indicating whether cells in this column contain null values or not. | | IndexInDocument { get; } | Gets the original zero-based index of the corresponding table column as per the source document. | | Name { get; set; } | Gets or sets the name of this column used to access the column's data in a template document passed to `DocumentAssembler`. | | Type { get; set; } | Gets or sets the type of cell values in this column. | ### AllowsNull Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumn/allowsnull.md #### DocumentTableColumn.AllowsNull property Gets a value indicating whether cells in this column contain null values or not. ```csharp public bool AllowsNull { get; } ``` ##### Remarks Undefined and error values in cells of Spreadsheet documents are also considered to be null. ### IndexInDocument Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumn/indexindocument.md #### DocumentTableColumn.IndexInDocument property Gets the original zero-based index of the corresponding table column as per the source document. ```csharp public int IndexInDocument { get; } ``` ##### Remarks Depending on `DocumentTableOptions` specified, this index may differ from the index of this `DocumentTableColumn` instance within the column collection of the corresponding `DocumentTable` instance. ### Name Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumn/name.md #### DocumentTableColumn.Name property Gets or sets the name of this column used to access the column's data in a template document passed to `DocumentAssembler`. ```csharp public string Name { get; set; } ``` ##### Remarks If the column's name is read from a document (see `FirstRowContainsColumnNames`), the name is automatically corrected so that it to be valid. However, if the column's name is set manually through this property and the name is invalid, an exception is thrown. The column's name is considered to be valid, if the following conditions are met: * The name is not empty. * The name's first character is a letter or underscore. * The rest of the name's characters are letters, underscores, digits, or the following characters: '@', '#', '$'. * The corresponding `DocumentTable` object does not contain a `DocumentTableColumn` instance with the same name. ### Type Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumn/type.md #### DocumentTableColumn.Type property Gets or sets the type of cell values in this column. ```csharp public Type Type { get; set; } ``` ##### Remarks For documents of non-Spreadsheet file formats, the initial type is always automatically determined as string. For documents of Spreadsheet file formats, the initial type is automatically determined depending on corresponding cell values. If cells of a particular Spreadsheet column contain values of different types, then the column's initial type is also automatically determined as string. ### DocumentTableColumnCollection Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumncollection.md #### DocumentTableColumnCollection class Represents a read-only collection of `DocumentTableColumn` objects of a particular `DocumentTable` instance. ```csharp public class DocumentTableColumnCollection : IEnumerable ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the total number of `DocumentTableColumn` objects in the collection. | | Item { get; } | Gets a `DocumentTableColumn` instance from the collection at the specified index. (2 indexers) | #### Methods | Name | Description | | --- | --- | | Contains(DocumentTableColumn) | Returns a value indicating whether this collection contains the specified column. | | Contains(string) | Returns a value indicating whether this collection contains a column with the specified name. | | GetEnumerator() | Returns an enumerator to iterate `DocumentTableColumn` objects of this collection. | | IndexOf(DocumentTableColumn) | Returns the index of the specified column within this collection. | | IndexOf(string) | Returns the index of a column with the specified name within this collection. | ##### Remarks The collection is filled automatically while loading the corresponding table from a document and can not be modified. However, properties of `DocumentTableColumn` objects contained within the collection can be modified. ### Contains Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumncollection/contains.md #### Contains(string) Returns a value indicating whether this collection contains a column with the specified name. ```csharp public bool Contains(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The case-insensitive name of a column to look for. | ##### Return Value A value indicating whether this collection contains a column with the specified name. #### Contains(DocumentTableColumn) Returns a value indicating whether this collection contains the specified column. ```csharp public bool Contains(DocumentTableColumn column) ``` | Parameter | Type | Description | | --- | --- | --- | | column | DocumentTableColumn | A column to look for. | ##### Return Value A value indicating whether this collection contains the specified column. ### Count Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumncollection/count.md #### DocumentTableColumnCollection.Count property Gets the total number of `DocumentTableColumn` objects in the collection. ```csharp public int Count { get; } ``` ### GetEnumerator Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumncollection/getenumerator.md #### DocumentTableColumnCollection.GetEnumerator method Returns an enumerator to iterate `DocumentTableColumn` objects of this collection. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An enumerator to iterate `DocumentTableColumn` objects of this collection. ### IndexOf Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumncollection/indexof.md #### IndexOf(string) Returns the index of a column with the specified name within this collection. ```csharp public int IndexOf(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The case-insensitive name of a column to find. | ##### Return Value The zero-based index of a column with the specified name, or -1 if the column does not exist in this collection. #### IndexOf(DocumentTableColumn) Returns the index of the specified column within this collection. ```csharp public int IndexOf(DocumentTableColumn column) ``` | Parameter | Type | Description | | --- | --- | --- | | column | DocumentTableColumn | A column to find. | ##### Return Value The zero-based index of the specified column, or -1 if the column does not exist in this collection. ### Item Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablecolumncollection/item.md #### DocumentTableColumnCollection indexer (1 of 2) Gets a `DocumentTableColumn` instance from the collection at the specified index. ```csharp public DocumentTableColumn this[int index] { get; } ``` | Parameter | Description | | --- | --- | | index | The zero-based index of the column to return. | ##### Return Value A `DocumentTableColumn` instance from the collection at the specified index. #### DocumentTableColumnCollection indexer (2 of 2) Gets a `DocumentTableColumn` instance with the specified name from the collection. ```csharp public DocumentTableColumn this[string name] { get; } ``` | Parameter | Description | | --- | --- | | name | The case-insensitive name of the column to return. | ##### Return Value A `DocumentTableColumn` instance with the specified name from the collection or null if such an instance does not exist. ### DocumentTableLoadArgs Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableloadargs.md #### DocumentTableLoadArgs class Provides data for the `Handle` method. ```csharp public class DocumentTableLoadArgs ``` #### Properties | Name | Description | | --- | --- | | IsLoaded { get; set; } | Gets or sets a value indicating whether the corresponding document table is to be loaded or not. The default value is true. | | Options { get; set; } | Gets or sets `DocumentTableOptions` to be used while loading the corresponding document table. The default value is null, which means that default `DocumentTableOptions` are to be applied. | | TableIndex { get; } | Gets the zero-based index of the corresponding document table to be loaded. | ### IsLoaded Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableloadargs/isloaded.md #### DocumentTableLoadArgs.IsLoaded property Gets or sets a value indicating whether the corresponding document table is to be loaded or not. The default value is true. ```csharp public bool IsLoaded { get; set; } ``` ### Options Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableloadargs/options.md #### DocumentTableLoadArgs.Options property Gets or sets `DocumentTableOptions` to be used while loading the corresponding document table. The default value is null, which means that default `DocumentTableOptions` are to be applied. ```csharp public DocumentTableOptions Options { get; set; } ``` ### TableIndex Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableloadargs/tableindex.md #### DocumentTableLoadArgs.TableIndex property Gets the zero-based index of the corresponding document table to be loaded. ```csharp public int TableIndex { get; } ``` ### DocumentTableOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableoptions.md #### DocumentTableOptions class Provides a set of options to control extraction of data from a document table. ```csharp public class DocumentTableOptions ``` #### Constructors | Name | Description | | --- | --- | | DocumentTableOptions() | Creates a new instance of this class. | #### Properties | Name | Description | | --- | --- | | FirstRowContainsColumnNames { get; set; } | Gets or sets a value indicating whether column names are to be obtained from the first extracted row of a document table. The default value is false. | | MaxColumnIndex { get; set; } | Gets or sets the largest zero-based index of a column to be extracted from a document table. The default value is negative which means that the largest column index is not limited. | | MaxRowIndex { get; set; } | Gets or sets the largest zero-based index of a row to be extracted from a document table. The default value is negative which means that the largest row index is not limited. | | MinColumnIndex { get; set; } | Gets or sets the smallest zero-based index of a column to be extracted from a document table. The default value is negative which means that the smallest column index is not limited. | | MinRowIndex { get; set; } | Gets or sets the smallest zero-based index of a row to be extracted from a document table. The default value is negative which means that the smallest row index is not limited. | ### DocumentTableOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableoptions/documenttableoptions.md #### DocumentTableOptions constructor Creates a new instance of this class. ```csharp public DocumentTableOptions() ``` ### FirstRowContainsColumnNames Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableoptions/firstrowcontainscolumnnames.md #### DocumentTableOptions.FirstRowContainsColumnNames property Gets or sets a value indicating whether column names are to be obtained from the first extracted row of a document table. The default value is false. ```csharp public bool FirstRowContainsColumnNames { get; set; } ``` ##### Remarks If column names are not set to be obtained from the first extracted row of a document table, default column names are used instead. For documents of Spreadsheet file formats, default column names are defined as A, B, C, ... Z, AA, AB, and so on. For documents of other file formats, default column names are defined as Column1, Column2, Column3, and so on. ### MaxColumnIndex Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableoptions/maxcolumnindex.md #### DocumentTableOptions.MaxColumnIndex property Gets or sets the largest zero-based index of a column to be extracted from a document table. The default value is negative which means that the largest column index is not limited. ```csharp public int MaxColumnIndex { get; set; } ``` ### MaxRowIndex Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableoptions/maxrowindex.md #### DocumentTableOptions.MaxRowIndex property Gets or sets the largest zero-based index of a row to be extracted from a document table. The default value is negative which means that the largest row index is not limited. ```csharp public int MaxRowIndex { get; set; } ``` ### MinColumnIndex Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableoptions/mincolumnindex.md #### DocumentTableOptions.MinColumnIndex property Gets or sets the smallest zero-based index of a column to be extracted from a document table. The default value is negative which means that the smallest column index is not limited. ```csharp public int MinColumnIndex { get; set; } ``` ### MinRowIndex Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableoptions/minrowindex.md #### DocumentTableOptions.MinRowIndex property Gets or sets the smallest zero-based index of a row to be extracted from a document table. The default value is negative which means that the smallest row index is not limited. ```csharp public int MinRowIndex { get; set; } ``` ### DocumentTableRelation Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelation.md #### DocumentTableRelation class Represents a parent-child relationship between two `DocumentTable` objects. ```csharp public class DocumentTableRelation ``` #### Properties | Name | Description | | --- | --- | | ChildColumn { get; } | Gets the child column of this relation. | | ParentColumn { get; } | Gets the parent column of this relation. | ### ChildColumn Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelation/childcolumn.md #### DocumentTableRelation.ChildColumn property Gets the child column of this relation. ```csharp public DocumentTableColumn ChildColumn { get; } ``` ### ParentColumn Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelation/parentcolumn.md #### DocumentTableRelation.ParentColumn property Gets the parent column of this relation. ```csharp public DocumentTableColumn ParentColumn { get; } ``` ### DocumentTableRelationCollection Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection.md #### DocumentTableRelationCollection class Represents the collection of `DocumentTableRelation` objects of a single `DocumentTableSet` instance. ```csharp public class DocumentTableRelationCollection : IEnumerable ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the total number of `DocumentTableRelation` objects in the collection. | | Item { get; } | Gets a `DocumentTableRelation` instance from the collection at the specified index. | #### Methods | Name | Description | | --- | --- | | Add(DocumentTableColumn, DocumentTableColumn) | Creates a `DocumentTableRelation` object for the specified parent and child columns, and adds it to the collection. | | Clear() | Clears the collection of any relations. | | Contains(DocumentTableRelation) | Returns a value indicating whether this collection contains the specified relation. | | GetEnumerator() | Returns an enumerator to iterate `DocumentTableRelation` objects of this collection. | | IndexOf(DocumentTableRelation) | Returns the index of the specified relation within this collection. | | Remove(DocumentTableRelation) | Removes the specified relation from the collection. | | RemoveAt(int) | Removes the relation at the specified index from the collection. | ### Add Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/add.md #### DocumentTableRelationCollection.Add method Creates a `DocumentTableRelation` object for the specified parent and child columns, and adds it to the collection. ```csharp public DocumentTableRelation Add(DocumentTableColumn parentColumn, DocumentTableColumn childColumn) ``` | Parameter | Type | Description | | --- | --- | --- | | parentColumn | DocumentTableColumn | The parent column of the relation. | | childColumn | DocumentTableColumn | The child column of the relation. | ##### Return Value The created relation. ### Clear Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/clear.md #### DocumentTableRelationCollection.Clear method Clears the collection of any relations. ```csharp public void Clear() ``` ### Contains Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/contains.md #### DocumentTableRelationCollection.Contains method Returns a value indicating whether this collection contains the specified relation. ```csharp public bool Contains(DocumentTableRelation relation) ``` | Parameter | Type | Description | | --- | --- | --- | | relation | DocumentTableRelation | A relation to look for. | ##### Return Value A value indicating whether this collection contains the specified relation. ### Count Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/count.md #### DocumentTableRelationCollection.Count property Gets the total number of `DocumentTableRelation` objects in the collection. ```csharp public int Count { get; } ``` ### GetEnumerator Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/getenumerator.md #### DocumentTableRelationCollection.GetEnumerator method Returns an enumerator to iterate `DocumentTableRelation` objects of this collection. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An enumerator to iterate `DocumentTableRelation` objects of this collection. ### IndexOf Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/indexof.md #### DocumentTableRelationCollection.IndexOf method Returns the index of the specified relation within this collection. ```csharp public int IndexOf(DocumentTableRelation relation) ``` | Parameter | Type | Description | | --- | --- | --- | | relation | DocumentTableRelation | A relation to find. | ##### Return Value The zero-based index of the specified relation, or -1 if the relation does not exist in this collection. ### Item Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/item.md #### DocumentTableRelationCollection indexer Gets a `DocumentTableRelation` instance from the collection at the specified index. ```csharp public DocumentTableRelation this[int index] { get; } ``` | Parameter | Description | | --- | --- | | index | The zero-based index of the relation to return. | ##### Return Value A `DocumentTableRelation` instance from the collection at the specified index. ### Remove Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/remove.md #### DocumentTableRelationCollection.Remove method Removes the specified relation from the collection. ```csharp public void Remove(DocumentTableRelation relation) ``` | Parameter | Type | Description | | --- | --- | --- | | relation | DocumentTableRelation | The relation to remove. | ### RemoveAt Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttablerelationcollection/removeat.md #### DocumentTableRelationCollection.RemoveAt method Removes the relation at the specified index from the collection. ```csharp public void RemoveAt(int index) ``` | Parameter | Type | Description | | --- | --- | --- | | index | Int32 | The index of the relation to remove. | ### DocumentTableSet Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableset.md #### DocumentTableSet class Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while assembling a document. Also, enables to define parent-child relations for the document tables thus simplifying access to related data within template documents. ```csharp public class DocumentTableSet ``` #### Constructors | Name | Description | | --- | --- | | DocumentTableSet(Stream) | Creates a new instance of this class loading all tables from a document using default `DocumentTableOptions`. | | DocumentTableSet(string) | Creates a new instance of this class loading all tables from a document using default `DocumentTableOptions`. | | DocumentTableSet(Stream, IDocumentTableLoadHandler) | Creates a new instance of this class. | | DocumentTableSet(string, IDocumentTableLoadHandler) | Creates a new instance of this class. | #### Properties | Name | Description | | --- | --- | | Relations { get; } | Gets the collection of parent-child relations defined for document tables of this set. | | Tables { get; } | Gets the collection of `DocumentTable` objects representing tables of this set. | ##### Remarks For documents of Spreadsheet file formats, a `DocumentTableSet` instance represents a set of sheets. For documents of other file formats, a `DocumentTableSet` instance represents a set of tables. To access data of the corresponding tables while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`.AssembleDocument overloads. In template documents, a `DocumentTableSet` instance should be treated in the same way as if it was a DataSet instance. See template syntax reference for more information. ### DocumentTableSet Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableset/documenttableset.md #### DocumentTableSet(string) Creates a new instance of this class loading all tables from a document using default `DocumentTableOptions`. ```csharp public DocumentTableSet(string documentPath) ``` | Parameter | Type | Description | | --- | --- | --- | | documentPath | String | The path to a document containing tables to be accessed. | #### DocumentTableSet(string, IDocumentTableLoadHandler) Creates a new instance of this class. ```csharp public DocumentTableSet(string documentPath, IDocumentTableLoadHandler loadHandler) ``` | Parameter | Type | Description | | --- | --- | --- | | documentPath | String | The path to a document containing tables to be accessed. | | loadHandler | IDocumentTableLoadHandler | An `IDocumentTableLoadHandler` implementation controlling how document tables are loaded. | #### DocumentTableSet(Stream) Creates a new instance of this class loading all tables from a document using default `DocumentTableOptions`. ```csharp public DocumentTableSet(Stream documentStream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStream | Stream | The stream containing a document with tables to be accessed. | #### DocumentTableSet(Stream, IDocumentTableLoadHandler) Creates a new instance of this class. ```csharp public DocumentTableSet(Stream documentStream, IDocumentTableLoadHandler loadHandler) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStream | Stream | The stream containing a document with tables to be accessed. | | loadHandler | IDocumentTableLoadHandler | An `IDocumentTableLoadHandler` implementation controlling how document tables are loaded. | ### Relations Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableset/relations.md #### DocumentTableSet.Relations property Gets the collection of parent-child relations defined for document tables of this set. ```csharp public DocumentTableRelationCollection Relations { get; } ``` ### Tables Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/documenttableset/tables.md #### DocumentTableSet.Tables property Gets the collection of `DocumentTable` objects representing tables of this set. ```csharp public DocumentTableCollection Tables { get; } ``` ### IDocumentTableLoadHandler Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/idocumenttableloadhandler.md #### IDocumentTableLoadHandler interface Overrides default loading of `DocumentTable` objects while creating a `DocumentTableSet` instance. ```csharp public interface IDocumentTableLoadHandler ``` #### Methods | Name | Description | | --- | --- | | Handle(DocumentTableLoadArgs) | Overrides default loading of a particular `DocumentTable` object while creating a `DocumentTableSet` instance. | ##### Remarks Implement this interface if you want to discard loading of specific `DocumentTable` objects or provide specific `DocumentTableOptions` for document tables being loaded. ### Handle Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/idocumenttableloadhandler/handle.md #### IDocumentTableLoadHandler.Handle method Overrides default loading of a particular `DocumentTable` object while creating a `DocumentTableSet` instance. ```csharp public void Handle(DocumentTableLoadArgs args) ``` ### JsonDataLoadOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsondataloadoptions.md #### JsonDataLoadOptions class Represents options for parsing JSON data. ```csharp public class JsonDataLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | JsonDataLoadOptions() | Initializes a new instance of this class with default options. | #### Properties | Name | Description | | --- | --- | | AlwaysGenerateRootObject { get; set; } | Gets or sets a flag indicating whether a generated data source will always contain an object for a JSON root element. If a JSON root element contains a single complex property, such an object is not created by default. | | ExactDateTimeParseFormats { get; set; } | Gets or sets exact formats for parsing JSON date-time values while loading JSON. The default is **null**. | | SimpleValueParseMode { get; set; } | Gets or sets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. The default is Loose. | ##### Remarks An instance of this class can be passed into constructors of `JsonDataSource`. ### AlwaysGenerateRootObject Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsondataloadoptions/alwaysgeneraterootobject.md #### JsonDataLoadOptions.AlwaysGenerateRootObject property Gets or sets a flag indicating whether a generated data source will always contain an object for a JSON root element. If a JSON root element contains a single complex property, such an object is not created by default. ```csharp public bool AlwaysGenerateRootObject { get; set; } ``` ##### Remarks The default value is **false**. ### ExactDateTimeParseFormats Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsondataloadoptions/exactdatetimeparseformats.md #### JsonDataLoadOptions.ExactDateTimeParseFormats property Gets or sets exact formats for parsing JSON date-time values while loading JSON. The default is **null**. ```csharp public IEnumerable ExactDateTimeParseFormats { get; set; } ``` ##### Remarks Strings encoded using Microsoft® JSON date-time format (for example, "/Date(1224043200000)/") are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way: * When `ExactDateTimeParseFormats` is **null**, the ISO-8601 format and all date-time formats supported for the current, English USA, and English New Zealand cultures are used additionally in the mentioned order. * When `ExactDateTimeParseFormats` contains strings, they are used as additional date-time formats utilizing the current culture. * When `ExactDateTimeParseFormats` is empty, no additional date-time formats are used. ### JsonDataLoadOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsondataloadoptions/jsondataloadoptions.md #### JsonDataLoadOptions constructor Initializes a new instance of this class with default options. ```csharp public JsonDataLoadOptions() ``` ### SimpleValueParseMode Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsondataloadoptions/simplevalueparsemode.md #### JsonDataLoadOptions.SimpleValueParseMode property Gets or sets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. The default is Loose. ```csharp public JsonSimpleValueParseMode SimpleValueParseMode { get; set; } ``` ### JsonDataSource Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsondatasource.md #### JsonDataSource class Provides access to data of a JSON file or stream to be used while assembling a document. ```csharp public class JsonDataSource ``` #### Constructors | Name | Description | | --- | --- | | JsonDataSource(Stream) | Creates a new data source with data from a JSON stream using default options for parsing JSON data. | | JsonDataSource(string) | Creates a new data source with data from a JSON file using default options for parsing JSON data. | | JsonDataSource(Stream, JsonDataLoadOptions) | Creates a new data source with data from a JSON stream using the specified options for parsing JSON data. | | JsonDataSource(string, JsonDataLoadOptions) | Creates a new data source with data from a JSON file using the specified options for parsing JSON data. | ##### Remarks To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`.AssembleDocument overloads. In template documents, if a top-level JSON element is an array, a `JsonDataSource` instance should be treated in the same way as if it was a DataTable instance. If a top-level JSON element is an object, a `JsonDataSource` instance should be treated in the same way as if it was a DataRow instance. For more information, see template syntax reference (https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources). In template documents, you can work with typed values of JSON elements. For convenience, the engine replaces the set of JSON simple types with the following one: * `long?` * `double?` * `bool?` * `DateTime?` * `string` The engine automatically recognizes values of the extra types upon their JSON representations. To override default behavior of JSON data loading, initialize and pass a `JsonDataLoadOptions` instance to a constructor of this class. ### JsonDataSource Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsondatasource/jsondatasource.md #### JsonDataSource(string) Creates a new data source with data from a JSON file using default options for parsing JSON data. ```csharp public JsonDataSource(string jsonPath) ``` | Parameter | Type | Description | | --- | --- | --- | | jsonPath | String | The path to the JSON file to be used as the data source. | #### JsonDataSource(string, JsonDataLoadOptions) Creates a new data source with data from a JSON file using the specified options for parsing JSON data. ```csharp public JsonDataSource(string jsonPath, JsonDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | jsonPath | String | The path to the JSON file to be used as the data source. | | options | JsonDataLoadOptions | Options for parsing JSON data. | #### JsonDataSource(Stream) Creates a new data source with data from a JSON stream using default options for parsing JSON data. ```csharp public JsonDataSource(Stream jsonStream) ``` | Parameter | Type | Description | | --- | --- | --- | | jsonStream | Stream | The stream of JSON data to be used as the data source. | #### JsonDataSource(Stream, JsonDataLoadOptions) Creates a new data source with data from a JSON stream using the specified options for parsing JSON data. ```csharp public JsonDataSource(Stream jsonStream, JsonDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | jsonStream | Stream | The stream of JSON data to be used as the data source. | | options | JsonDataLoadOptions | Options for parsing JSON data. | ### JsonSimpleValueParseMode Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/jsonsimplevalueparsemode.md #### JsonSimpleValueParseMode enumeration Specifies a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. ```csharp public enum JsonSimpleValueParseMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Loose | `0` | Specifies the mode where types of JSON simple values are determined upon parsing of their string representations. For example, the type of 'prop' from the JSON snippet '{ prop: "123" }' is determined as integer in this mode. | | Strict | `1` | Specifies the mode where types of JSON simple values are determined from JSON notation itself. For example, the type of 'prop' from the JSON snippet '{ prop: "123" }' is determined as string in this mode. | ### XmlDataLoadOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/xmldataloadoptions.md #### XmlDataLoadOptions class Represents options for XML data loading. ```csharp public class XmlDataLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | XmlDataLoadOptions() | Initializes a new instance of this class with default options. | #### Properties | Name | Description | | --- | --- | | AlwaysGenerateRootObject { get; set; } | Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default. | ##### Remarks An instance of this class can be passed into constructors of `XmlDataSource`. ### AlwaysGenerateRootObject Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/xmldataloadoptions/alwaysgeneraterootobject.md #### XmlDataLoadOptions.AlwaysGenerateRootObject property Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default. ```csharp public bool AlwaysGenerateRootObject { get; set; } ``` ##### Remarks The default value is **false**. ### XmlDataLoadOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/xmldataloadoptions/xmldataloadoptions.md #### XmlDataLoadOptions constructor Initializes a new instance of this class with default options. ```csharp public XmlDataLoadOptions() ``` ### XmlDataSource Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/xmldatasource.md #### XmlDataSource class Provides access to data of an XML file or stream to be used while assembling a document. ```csharp public class XmlDataSource ``` #### Constructors | Name | Description | | --- | --- | | XmlDataSource(Stream) | Creates a new data source with data from an XML stream using default options for XML data loading. | | XmlDataSource(string) | Creates a new data source with data from an XML file using default options for XML data loading. | | XmlDataSource(Stream, Stream) | Creates a new data source with data from an XML stream using an XML Schema Definition stream. Default options are used for XML data loading. | | XmlDataSource(Stream, XmlDataLoadOptions) | Creates a new data source with data from an XML stream using the specified options for XML data loading. | | XmlDataSource(string, string) | Creates a new data source with data from an XML file using an XML Schema Definition file. Default options are used for XML data loading. | | XmlDataSource(string, XmlDataLoadOptions) | Creates a new data source with data from an XML file using the specified options for XML data loading. | | XmlDataSource(Stream, Stream, XmlDataLoadOptions) | Creates a new data source with data from an XML stream using an XML Schema Definition stream. The specified options are used for XML data loading. | | XmlDataSource(string, string, XmlDataLoadOptions) | Creates a new data source with data from an XML file using an XML Schema Definition file. The specified options are used for XML data loading. | ##### Remarks To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`.AssembleDocument overloads. In template documents, if a top-level XML element contains only a list of elements of the same type, an `XmlDataSource` instance should be treated in the same way as if it was a DataTable instance. Otherwise, an `XmlDataSource` instance should be treated in the same way as if it was a DataRow instance. For more information, see template syntax reference (https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources). When XML Schema Definition is passed to a constructor of this class, data types of values of simple XML elements and attributes are determined according to the schema. So in template documents, you can work with typed values rather than just strings. When XML Schema Definition is not passed to a constructor of this class, data types of values of simple XML elements and attributes are determined automatically upon their string representations. So in template documents, you can work with typed values in this case as well. The engine is capable to automatically recognize values of the following types: * `long?` * `double?` * `bool?` * `DateTime?` * `string` Note that for automatic recognition of data types to work, string representations of values of simple XML elements and attributes should be formed using invariant culture settings. To override default behavior of XML data loading, initialize and pass a `XmlDataLoadOptions` instance to a constructor of this class. ### XmlDataSource Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.data/xmldatasource/xmldatasource.md #### XmlDataSource(string) Creates a new data source with data from an XML file using default options for XML data loading. ```csharp public XmlDataSource(string xmlPath) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlPath | String | The path to the XML file to be used as the data source. | #### XmlDataSource(Stream) Creates a new data source with data from an XML stream using default options for XML data loading. ```csharp public XmlDataSource(Stream xmlStream) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlStream | Stream | The stream of XML data to be used as the data source. | #### XmlDataSource(string, string) Creates a new data source with data from an XML file using an XML Schema Definition file. Default options are used for XML data loading. ```csharp public XmlDataSource(string xmlPath, string xmlSchemaPath) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlPath | String | The path to the XML file to be used as the data source. | | xmlSchemaPath | String | The path to the XML Schema Definition file that provides schema for the XML file. | #### XmlDataSource(Stream, Stream) Creates a new data source with data from an XML stream using an XML Schema Definition stream. Default options are used for XML data loading. ```csharp public XmlDataSource(Stream xmlStream, Stream xmlSchemaStream) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlStream | Stream | The stream of XML data to be used as the data source. | | xmlSchemaStream | Stream | The stream of XML Schema Definition that provides schema for the XML data. | #### XmlDataSource(string, XmlDataLoadOptions) Creates a new data source with data from an XML file using the specified options for XML data loading. ```csharp public XmlDataSource(string xmlPath, XmlDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlPath | String | The path to the XML file to be used as the data source. | | options | XmlDataLoadOptions | Options for XML data loading. | #### XmlDataSource(Stream, XmlDataLoadOptions) Creates a new data source with data from an XML stream using the specified options for XML data loading. ```csharp public XmlDataSource(Stream xmlStream, XmlDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlStream | Stream | The stream of XML data to be used as the data source. | | options | XmlDataLoadOptions | Options for XML data loading. | #### XmlDataSource(string, string, XmlDataLoadOptions) Creates a new data source with data from an XML file using an XML Schema Definition file. The specified options are used for XML data loading. ```csharp public XmlDataSource(string xmlPath, string xmlSchemaPath, XmlDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlPath | String | The path to the XML file to be used as the data source. | | xmlSchemaPath | String | The path to the XML Schema Definition file that provides schema for the XML file. | | options | XmlDataLoadOptions | Options for XML data loading. | #### XmlDataSource(Stream, Stream, XmlDataLoadOptions) Creates a new data source with data from an XML stream using an XML Schema Definition stream. The specified options are used for XML data loading. ```csharp public XmlDataSource(Stream xmlStream, Stream xmlSchemaStream, XmlDataLoadOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | xmlStream | Stream | The stream of XML data to be used as the data source. | | xmlSchemaStream | Stream | The stream of XML Schema Definition that provides schema for the XML data. | | options | XmlDataLoadOptions | Options for XML data loading. | ### GroupDocs.Assembly Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly.md Provides classes for generating documents in popular office file formats based upon template documents and data obtained from various sources including databases, XML, JSON, OData, objects of custom .NET types, and more. #### Classes | Class | Description | | --- | --- | | BarcodeSettings | Represents a set of settings controlling barcode generation while assembling a document. | | DataSourceInfo | Provides information on a single data source object to be used to assemble a document from a template. | | DocumentAssembler | Provides routines to populate template documents with data and a set of settings to control these routines. | | KnownTypeSet | Represents an unordered set (that is, a collection of unique items) containing Type objects which fully or partially qualified names can be used within document templates to invoke the corresponding types' static members, perform type casts, etc. | | License | Provides methods to license the component. | | LoadSaveOptions | Specifies additional options for loading and saving of a document to be assembled. | | Metered | Provides methods to work with metered licensing. | #### Enumeration | Enumeration | Description | | --- | --- | | DocumentAssemblyOptions | Specifies options controlling behavior of `DocumentAssembler` while assembling a document. | | FileFormat | Specifies the format of a file. | ### BarcodeSettings Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/barcodesettings.md #### BarcodeSettings class Represents a set of settings controlling barcode generation while assembling a document. ```csharp public class BarcodeSettings ``` #### Properties | Name | Description | | --- | --- | | BaseXDimension { get; set; } | Gets or sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. Measured in `GraphicsUnit`. | | BaseYDimension { get; set; } | Gets or sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. Measured in `GraphicsUnit`. | | GraphicsUnit { get; set; } | Gets or sets a graphics unit used to measure `BaseXDimension` and `BaseYDimension`. The default value is Millimeter. | | Resolution { get; set; } | Gets or sets the horizontal and vertical resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. | | UseAutoCorrection { get; set; } | Gets or sets a value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. The default value is true. | ### BaseXDimension Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/barcodesettings/basexdimension.md #### BarcodeSettings.BaseXDimension property Gets or sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. Measured in `GraphicsUnit`. ```csharp public float BaseXDimension { get; set; } ``` ##### Remarks When barcode scaling is applied through a template, an actual x-dimension is calculated upon the base x-dimension and a scaling factor. ### BaseYDimension Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/barcodesettings/baseydimension.md #### BarcodeSettings.BaseYDimension property Gets or sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. Measured in `GraphicsUnit`. ```csharp public float BaseYDimension { get; set; } ``` ##### Remarks Barcodes of some types (such as data matrix) may ignore an y-dimension and use an x-dimension for both width and height units. When barcode scaling is applied through a template, an actual y-dimension is calculated upon the base y-dimension and a scaling factor. ### GraphicsUnit Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/barcodesettings/graphicsunit.md #### BarcodeSettings.GraphicsUnit property Gets or sets a graphics unit used to measure `BaseXDimension` and `BaseYDimension`. The default value is Millimeter. ```csharp public GraphicsUnit GraphicsUnit { get; set; } ``` ### Resolution Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/barcodesettings/resolution.md #### BarcodeSettings.Resolution property Gets or sets the horizontal and vertical resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. ```csharp public float Resolution { get; set; } ``` ### UseAutoCorrection Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/barcodesettings/useautocorrection.md #### BarcodeSettings.UseAutoCorrection property Gets or sets a value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. The default value is true. ```csharp public bool UseAutoCorrection { get; set; } ``` ##### Remarks The auto-correction is not possible for Databar barcodes. ### DataSourceInfo Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo.md #### DataSourceInfo class Provides information on a single data source object to be used to assemble a document from a template. ```csharp public class DataSourceInfo ``` #### Constructors | Name | Description | | --- | --- | | DataSourceInfo() | Creates a new instance of this class without any properties specified. | | DataSourceInfo(object) | Creates a new instance of this class with the data source object specified. | | DataSourceInfo(object, string) | Creates a new instance of this class with the data source object and its name specified. | #### Properties | Name | Description | | --- | --- | | DataSource { get; set; } | Gets or sets the data source object. | | Name { get; set; } | Gets or sets the name of the data source object to be used to access the data source object in a template document. | ### DataSource Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/datasource.md #### DataSourceInfo.DataSource property Gets or sets the data source object. ```csharp public object DataSource { get; set; } ``` ##### Remarks The data source object can be of one of the following types: * `XmlDataSource` * `JsonDataSource` * `CsvDataSource` * `DocumentTableSet` * `DocumentTable` * DataSet * DataTable * DataRow * IDataReader * IDataRecord * DataView * DataRowView * Any other arbitrary non-dynamic and non-anonymous .NET type For information on how to work with data sources of different types in template documents, see template syntax reference (https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources). ### DataSourceInfo Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/datasourceinfo.md #### DataSourceInfo() Creates a new instance of this class without any properties specified. ```csharp public DataSourceInfo() ``` #### DataSourceInfo(object) Creates a new instance of this class with the data source object specified. ```csharp public DataSourceInfo(object dataSource) ``` | Parameter | Type | Description | | --- | --- | --- | | dataSource | Object | The data source object. | ##### Remarks The data source object can be of one of the following types: * `XmlDataSource` * `JsonDataSource` * `CsvDataSource` * `DocumentTableSet` * `DocumentTable` * DataSet * DataTable * DataRow * IDataReader * IDataRecord * DataView * DataRowView * Any other arbitrary non-dynamic and non-anonymous .NET type For information on how to work with data sources of different types in template documents, see template syntax reference (https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources). #### DataSourceInfo(object, string) Creates a new instance of this class with the data source object and its name specified. ```csharp public DataSourceInfo(object dataSource, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | dataSource | Object | The data source object. | | name | String | The name of the data source object to be used to access the data source object in a template document. | ##### Remarks The data source object can be of one of the following types: * `XmlDataSource` * `JsonDataSource` * `CsvDataSource` * `DocumentTableSet` * `DocumentTable` * DataSet * DataTable * DataRow * IDataReader * IDataRecord * DataView * DataRowView * Any other arbitrary non-dynamic and non-anonymous .NET type For information on how to work with data sources of different types in template documents, see template syntax reference (https://docs.groupdocs.com/display/assemblynet/Template+Syntax+-+Part+1+of+2#TemplateSyntax-Part1of2-UsingDataSources). When the name of the data source object is specified, you can access the data source object and its members in a template document using the name. When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself. When passing multiple `DataSourceInfo` instances to `DocumentAssembler`, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique. ### Name Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/datasourceinfo/name.md #### DataSourceInfo.Name property Gets or sets the name of the data source object to be used to access the data source object in a template document. ```csharp public string Name { get; set; } ``` ##### Remarks When the name of the data source object is specified, you can access the data source object and its members in a template document using the name. When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself. When passing multiple `DataSourceInfo` instances to `DocumentAssembler`, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique. ### DocumentAssembler Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassembler.md #### DocumentAssembler class Provides routines to populate template documents with data and a set of settings to control these routines. ```csharp public class DocumentAssembler ``` #### Constructors | Name | Description | | --- | --- | | DocumentAssembler() | Initializes a new instance of this class. | #### Properties | Name | Description | | --- | --- | | BarcodeSettings { get; } | Gets a set of settings controlling barcode generation while assembling a document. | | KnownTypes { get; } | Gets an unordered set (that is, a collection of unique items) containing Type objects which fully or partially qualified names can be used within document templates processed by this assembler instance to invoke the corresponding types' static members, perform type casts, etc. | | Options { get; set; } | Gets or sets a set of flags controlling behavior of this `DocumentAssembler` instance while assembling a document. | | static UseReflectionOptimization { get; set; } | Gets or sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true. | #### Methods | Name | Description | | --- | --- | | AssembleDocument(Stream, Stream, params DataSourceInfo[]) | Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using default `LoadSaveOptions`. | | AssembleDocument(string, string, params DataSourceInfo[]) | Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using default `LoadSaveOptions`. | | AssembleDocument(Stream, Stream, LoadSaveOptions, params DataSourceInfo[]) | Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using the given `LoadSaveOptions`. | | AssembleDocument(string, string, LoadSaveOptions, params DataSourceInfo[]) | Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using the given `LoadSaveOptions`. | ### AssembleDocument Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassembler/assembledocument.md #### AssembleDocument(string, string, params DataSourceInfo[]) Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using default `LoadSaveOptions`. ```csharp public bool AssembleDocument(string sourcePath, string targetPath, params DataSourceInfo[] dataSourceInfos) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to a template document to be populated with data. | | targetPath | String | The path to a result document. | | dataSourceInfos | DataSourceInfo[] | Provides information on data source objects to be used. | ##### Return Value A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `Options` property includes the InlineErrorMessages option. #### AssembleDocument(string, string, LoadSaveOptions, params DataSourceInfo[]) Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using the given `LoadSaveOptions`. ```csharp public bool AssembleDocument(string sourcePath, string targetPath, LoadSaveOptions loadSaveOptions, params DataSourceInfo[] dataSourceInfos) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to a template document to be populated with data. | | targetPath | String | The path to a result document. | | loadSaveOptions | LoadSaveOptions | Specifies additional options for document loading and saving. | | dataSourceInfos | DataSourceInfo[] | Provides information on data source objects to be used. | ##### Return Value A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `Options` property includes the InlineErrorMessages option. #### AssembleDocument(Stream, Stream, params DataSourceInfo[]) Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using default `LoadSaveOptions`. ```csharp public bool AssembleDocument(Stream sourceStream, Stream targetStream, params DataSourceInfo[] dataSourceInfos) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStream | Stream | The stream to read a template document from. | | targetStream | Stream | The stream to write a result document. | | dataSourceInfos | DataSourceInfo[] | Provides information on data source objects to be used. | ##### Return Value A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `Options` property includes the InlineErrorMessages option. #### AssembleDocument(Stream, Stream, LoadSaveOptions, params DataSourceInfo[]) Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using the given `LoadSaveOptions`. ```csharp public bool AssembleDocument(Stream sourceStream, Stream targetStream, LoadSaveOptions loadSaveOptions, params DataSourceInfo[] dataSourceInfos) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStream | Stream | The stream to read a template document from. | | targetStream | Stream | The stream to write a result document. | | loadSaveOptions | LoadSaveOptions | Specifies additional options for document loading and saving. | | dataSourceInfos | DataSourceInfo[] | Provides information on data source objects to be used. | ##### Return Value A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `Options` property includes the InlineErrorMessages option. ### BarcodeSettings Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassembler/barcodesettings.md #### DocumentAssembler.BarcodeSettings property Gets a set of settings controlling barcode generation while assembling a document. ```csharp public BarcodeSettings BarcodeSettings { get; } ``` ### DocumentAssembler Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassembler/documentassembler.md #### DocumentAssembler constructor Initializes a new instance of this class. ```csharp public DocumentAssembler() ``` ### KnownTypes Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassembler/knowntypes.md #### DocumentAssembler.KnownTypes property Gets an unordered set (that is, a collection of unique items) containing Type objects which fully or partially qualified names can be used within document templates processed by this assembler instance to invoke the corresponding types' static members, perform type casts, etc. ```csharp public KnownTypeSet KnownTypes { get; } ``` ### Options Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassembler/options.md #### DocumentAssembler.Options property Gets or sets a set of flags controlling behavior of this `DocumentAssembler` instance while assembling a document. ```csharp public DocumentAssemblyOptions Options { get; set; } ``` ### UseReflectionOptimization Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassembler/usereflectionoptimization.md #### DocumentAssembler.UseReflectionOptimization property Gets or sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true. ```csharp public static bool UseReflectionOptimization { get; set; } ``` ##### Remarks There are some scenarios where it is preferrable to disable this optimization. For example, if you are dealing with small collections of data items all the time, then an overhead of dynamic class generation can be more noticeable than an overhead of direct reflection API calls. ### DocumentAssemblyOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/documentassemblyoptions.md #### DocumentAssemblyOptions enumeration Specifies options controlling behavior of `DocumentAssembler` while assembling a document. ```csharp [Flags] public enum DocumentAssemblyOptions ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Specifies default options. | | AllowMissingMembers | `1` | Specifies that missing object members should be treated as null literals by the assembler. This option affects only access to instance (that is, non-static) object members and extension methods. If this option is not set, the assembler throws an exception when encounters a missing object member. | | UpdateFieldsAndFormulas | `2` | Specifies that fields of result Word Processing documents and formulas of result Spreadsheet documents should be updated by the assembler. | | RemoveEmptyParagraphs | `4` | Specifies that the assembler should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values. | | InlineErrorMessages | `8` | Specifies that the assembler should inline template syntax error messages into output documents. If this option is not set, the assembler throws an exception when encounters a syntax error. | | UseSpreadsheetDataTypes | `10` | Relates to Spreadsheet documents only. Specifies that evaluated expression results should be mapped to corresponding Spreadsheet data types, which also affects their default formatting within cells. If this option is not set, expression results are always written as strings by the assembler. This option has no effect when expression results are formatted using template syntax - expression results are always written as strings then as well. | ### FileFormat Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/fileformat.md #### FileFormat enumeration Specifies the format of a file. ```csharp public enum FileFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unspecified | `0` | Specifies an unset value. The default. | | Doc | `1` | Specifies the Microsoft Word 97 - 2007 Binary Document format. | | Dot | `2` | Specifies the Microsoft Word 97 - 2007 Binary Template format. | | Docx | `3` | Specifies the Office Open XML WordprocessingML Document (macro-free) format. | | Docm | `4` | Specifies the Office Open XML WordprocessingML Macro-Enabled Document format. | | Dotx | `5` | Specifies the Office Open XML WordprocessingML Template (macro-free) format. | | Dotm | `6` | Specifies the Office Open XML WordprocessingML Macro-Enabled Template format. | | FlatOpc | `7` | Specifies the Office Open XML WordprocessingML format stored in a flat XML file instead of a ZIP package. | | FlatOpcMacroEnabled | `8` | Specifies the Office Open XML WordprocessingML Macro-Enabled Document format stored in a flat XML file instead of a ZIP package. | | FlatOpcTemplate | `9` | Specifies the Office Open XML WordprocessingML Template (macro-free) format stored in a flat XML file instead of a ZIP package. | | FlatOpcTemplateMacroEnabled | `10` | Specifies the Office Open XML WordprocessingML Macro-Enabled Template format stored in a flat XML file instead of a ZIP package. | | WordML | `11` | Specifies the Microsoft Word 2003 WordprocessingML format. | | Odt | `12` | Specifies the ODF Text Document format. | | Ott | `13` | Specifies the ODF Text Document Template format. | | Xls | `14` | Specifies the Microsoft Excel 97 - 2007 Binary Workbook format. | | Xlsx | `15` | Specifies the Office Open XML SpreadsheetML Workbook (macro-free) format. | | Xlsm | `16` | Specifies the Office Open XML SpreadsheetML Macro-Enabled Workbook format. | | Xltx | `17` | Specifies the Office Open XML SpreadsheetML Template (macro-free) format. | | Xltm | `18` | Specifies the Office Open XML SpreadsheetML Macro-Enabled Template format. | | Xlam | `19` | Specifies the Office Open XML SpreadsheetML Macro-Enabled Add-in format. | | Xlsb | `20` | Specifies the Microsoft Excel 2007 Macro-Enabled Binary File format. | | SpreadsheetML | `21` | Specifies the Microsoft Excel 2003 SpreadsheetML format. | | Ods | `22` | Specifies the ODF Spreadsheet format. | | Ppt | `23` | Specifies the Microsoft PowerPoint 97 - 2007 Binary Presentation format. | | Pps | `24` | Specifies the Microsoft PowerPoint 97 - 2007 Binary Slide Show format. | | Pptx | `25` | Specifies the Office Open XML PresentationML Presentation (macro-free) format. | | Pptm | `26` | Specifies the Office Open XML PresentationML Macro-Enabled Presentation format. | | Ppsx | `27` | Specifies the Office Open XML PresentationML Slide Show (macro-free) format. | | Ppsm | `28` | Specifies the Office Open XML PresentationML Macro-Enabled Slide Show format. | | Potx | `29` | Specifies the Office Open XML PresentationML Template (macro-free) format. | | Potm | `30` | Specifies the Office Open XML PresentationML Macro-Enabled Template format. | | Odp | `31` | Specifies the ODF Presentation format. | | MsgAscii | `32` | Specifies the Microsoft Outlook Message (MSG) format using ASCII character encoding. | | MsgUnicode | `33` | Specifies the Microsoft Outlook Message (MSG) format using Unicode character encoding. | | Eml | `34` | Specifies the MIME standard format. | | Emlx | `35` | Specifies the Apple Mail.app program file format. | | Rtf | `36` | Specifies the RTF format. | | Text | `37` | Specifies the plain text format. | | Xml | `38` | Specifies the XML format of a general form. | | Xaml | `39` | Specifies the Extensible Application Markup Language (XAML) format. | | XamlPackage | `40` | Specifies the Extensible Application Markup Language (XAML) package format. | | Html | `41` | Specifies the HTML format. | | Mhtml | `42` | Specifies the MHTML (Web archive) format. | | Xps | `43` | Specifies the XPS (XML Paper Specification) format. | | OpenXps | `44` | Specifies the OpenXPS (Ecma-388) format. | | Pdf | `45` | Specifies the PDF (Adobe Portable Document) format. | | Epub | `46` | Specifies the IDPF EPUB format. | | Ps | `47` | Specifies the PS (PostScript) format. | | Pcl | `48` | Specifies the PCL (Printer Control Language) format. | | Svg | `49` | Specifies the SVG (Scalable Vector Graphics) format. | | Tiff | `50` | Specifies the TIFF format. | | Markdown | `51` | Specifies the Markdown format. | | Pot | `52` | Specifies the Microsoft PowerPoint 97 - 2007 Binary Template format. | | Otp | `53` | Specifies the ODF Presentation Template format. | | Xlt | `54` | Specifies the Microsoft Excel 97 - 2007 Binary Template format. | ### KnownTypeSet Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/knowntypeset.md #### KnownTypeSet class Represents an unordered set (that is, a collection of unique items) containing Type objects which fully or partially qualified names can be used within document templates to invoke the corresponding types' static members, perform type casts, etc. ```csharp public class KnownTypeSet : IEnumerable ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the count of items in the set. | #### Methods | Name | Description | | --- | --- | | Add(Type) | Adds the specified Type object to the set. | | Clear() | Removes all items from the set. | | GetEnumerator() | Returns An IEnumerator object to iterate over items of the set. | | Remove(Type) | Removes the specified Type object from the set. | ### Add Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/knowntypeset/add.md #### KnownTypeSet.Add method Adds the specified Type object to the set. Throws ArgumentException in the following cases: - *type* is null. - *type* represents a void type. - *type* represents an invisible type, i.e. a non-public type or a public nested type which has a non-public outer type. - *type* represents a generic type. - *type* represents an array type. - *type* has been added to the set already. ```csharp public void Add(Type type) ``` | Parameter | Type | Description | | --- | --- | --- | | type | Type | A Type object to add. | ### Clear Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/knowntypeset/clear.md #### KnownTypeSet.Clear method Removes all items from the set. ```csharp public void Clear() ``` ### Count Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/knowntypeset/count.md #### KnownTypeSet.Count property Gets the count of items in the set. ```csharp public int Count { get; } ``` ### GetEnumerator Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/knowntypeset/getenumerator.md #### KnownTypeSet.GetEnumerator method Returns An IEnumerator object to iterate over items of the set. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An IEnumerator object to iterate over items of the set. ### Remove Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/knowntypeset/remove.md #### KnownTypeSet.Remove method Removes the specified Type object from the set. Throws ArgumentException if *type* is null. ```csharp public void Remove(Type type) ``` | Parameter | Type | Description | | --- | --- | --- | | type | Type | A Type object to remove. | ### License Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/license.md #### License class Provides methods to license the component. ```csharp public class License ``` #### Constructors | Name | Description | | --- | --- | | License() | Initializes a new instance of this class. | #### Properties | Name | Description | | --- | --- | | IsLicensed { get; } | Returns true if a valid license has been applied; false if the component is running in evaluation mode. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | ### IsLicensed Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/license/islicensed.md #### License.IsLicensed property Returns true if a valid license has been applied; false if the component is running in evaluation mode. ```csharp public bool IsLicensed { get; } ``` ### License Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/license/license.md #### License constructor Initializes a new instance of this class. ```csharp public License() ``` ### SetLicense Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/license/setlicense.md #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string licenseName) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseName | String | Can be a full or short file name or name of an embedded resource. Use an empty string to switch to evaluation mode. | ##### Remarks Tries to find the license in the following locations: 1. Explicit path. 2. The folder that contains the GroupDocs component assembly. 3. The folder that contains the client's calling assembly. 4. The folder that contains the entry (startup) assembly. 5. An embedded resource in the client's calling assembly. #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | A stream that contains the license. | ##### Remarks Use this method to load a license from a stream. ### LoadSaveOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/loadsaveoptions.md #### LoadSaveOptions class Specifies additional options for loading and saving of a document to be assembled. ```csharp public class LoadSaveOptions ``` #### Constructors | Name | Description | | --- | --- | | LoadSaveOptions() | Creates a new instance of this class without any properties specified. | | LoadSaveOptions(FileFormat) | Creates a new instance of this class with the specified file format to save an assembled document to. | #### Properties | Name | Description | | --- | --- | | ResourceLoadBaseUri { get; set; } | Gets or sets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. The default value is an empty string. | | ResourceSaveFolder { get; set; } | Gets or sets a path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. The default value is an empty string. | | SaveFormat { get; set; } | Gets or sets a file format to save an assembled document to. Unspecified is the default. | ### LoadSaveOptions Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/loadsaveoptions/loadsaveoptions.md #### LoadSaveOptions() Creates a new instance of this class without any properties specified. ```csharp public LoadSaveOptions() ``` #### LoadSaveOptions(FileFormat) Creates a new instance of this class with the specified file format to save an assembled document to. ```csharp public LoadSaveOptions(FileFormat saveFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | saveFormat | FileFormat | A file format to save an assembled document to. | ### ResourceLoadBaseUri Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/loadsaveoptions/resourceloadbaseuri.md #### LoadSaveOptions.ResourceLoadBaseUri property Gets or sets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. The default value is an empty string. ```csharp public string ResourceLoadBaseUri { get; set; } ``` ##### Remarks When loading an HTML document from a file, its containing folder is used as a base URI by default, which cannot happen when loading an HTML document from a stream. Set this property to specify a base URI when loading an HTML document from a stream or to override the default base URI when loading an HTML document from a file. A value of this property is ignored in the following cases: * An HTML document being loaded contains a BASE HTML element providing a base URI. * An HTML document being loaded is to be assembled and saved to HTML (external resource files are not loaded and relative URIs are not changed then). ### ResourceSaveFolder Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/loadsaveoptions/resourcesavefolder.md #### LoadSaveOptions.ResourceSaveFolder property Gets or sets a path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. The default value is an empty string. ```csharp public string ResourceSaveFolder { get; set; } ``` ##### Remarks By default, when saving an assembled document to an HTML file, external resource files are stored to a folder having the same name as the HTML file without extension plus the "_files" suffix. This folder is located in the same folder as the HTML file. However, this cannot be done when saving an assembled document to an HTML stream. Set this property to specify a path to a folder to store external resource files when saving an assembled document to an HTML stream or to override the default folder when saving an assembled document to an HTML file. A value of this property is ignored if an assembled document being saved to HTML was loaded from HTML as well (external resource files are not stored and links to them are not changed then). ### SaveFormat Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/loadsaveoptions/saveformat.md #### LoadSaveOptions.SaveFormat property Gets or sets a file format to save an assembled document to. Unspecified is the default. ```csharp public FileFormat SaveFormat { get; set; } ``` ##### Remarks When the value of this property is not specified, `DocumentAssembler` behaves as follows: - When you specify a file path to save an assembled document, the save file format is determined upon file extension from the path. - When you specify a stream to save an assembled document, the save file format remains the same as the file format of a loaded template document. Beware that it is not always possible to save an assembled document to any file format using GroupDocs.Assembly. For example, it is impossible to save a document loaded from a Word Processing file format (such as DOCX) to a Spreadsheet file format (such as XLSX). For more information on possible combinations of load and save file formats supported by GroupDocs.Assembly, please check GroupDocs.Assembly online documentation. ### Metered Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/metered.md #### Metered class Provides methods to work with metered licensing. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | Creates a new instance of this class. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Enables metered licensing for the component by specifying appropriate public and private metered keys. | | static GetConsumptionCredit() | Returns the currently consumed number of credits. | | static GetConsumptionQuantity() | Returns the currently consumed number of megabytes. | ##### Examples In this example, an attempt to set metered public and private keys is made: ```csharp [C#] Metered metered = new Metered(); metered.SetMeteredKey("PublicKey", "PrivateKey"); [Visual Basic] Dim metered As Metered = New Metered metered.SetMeteredKey("PublicKey", "PrivateKey") ``` ### GetConsumptionCredit Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Returns the currently consumed number of credits. ```csharp public static decimal GetConsumptionCredit() ``` ##### Return Value The currently consumed number of credits. ### GetConsumptionQuantity Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Returns the currently consumed number of megabytes. ```csharp public static decimal GetConsumptionQuantity() ``` ##### Return Value The currently consumed number of megabytes. ### Metered Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/metered/metered.md #### Metered constructor Creates a new instance of this class. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/assembly/net/groupdocs.assembly/metered/setmeteredkey.md #### Metered.SetMeteredKey method Enables metered licensing for the component by specifying appropriate public and private metered keys. ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | The public metered key. | | privateKey | String | The private metered key. | ## Python ### GroupDocs.Assembly for Python via .NET Path: https://reference.groupdocs.com/assembly/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.assembly` | Provides classes for generating documents in popular office file formats based upon template documents and data
obtained from various sources including databases, XML, JSON, OData, objects of custom
types, and more. | | `groupdocs.assembly.data` | Provides classes for accessing data of external documents to be used while assembling a document. | ### groupdocs.assembly.data Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data.md Provides classes for accessing data of external documents to be used while assembling a document. ##### Classes | Class | Description | | :- | :- | | `CsvDataLoadOptions` | Represents options for parsing CSV data. | | `CsvDataSource` | Provides access to data of a CSV file or stream to be used while assembling a document. | | `DocumentTable` | Provides access to data of a single table (or spreadsheet) located in an external document to be used while
assembling a document. | | `DocumentTableCollection` | Represents a read-only collection of `DocumentTable` objects of a particular `DocumentTableSet`
instance. | | `DocumentTableColumn` | Represents a single column of a particular `DocumentTable` object. | | `DocumentTableColumnCollection` | Represents a read-only collection of `DocumentTableColumn` objects of a particular
`DocumentTable` instance. | | `DocumentTableLoadArgs` | Provides data for the `IDocumentTableLoadHandler.handle` method. | | `DocumentTableOptions` | Provides a set of options to control extraction of data from a document table. | | `DocumentTableRelation` | Represents a parent-child relationship between two `DocumentTable` objects. | | `DocumentTableRelationCollection` | Represents the collection of `DocumentTableRelation` objects of a single `DocumentTableSet`
instance. | | `DocumentTableSet` | Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while
assembling a document. Also, enables to define parent-child relations for the document tables thus simplifying
access to related data within template documents. | | `IDocumentTableLoadHandler` | Overrides default loading of `DocumentTable` objects while creating a `DocumentTableSet`
instance. | | `JsonDataLoadOptions` | Represents options for parsing JSON data. | | `JsonDataSource` | Provides access to data of a JSON file or stream to be used while assembling a document. | | `XmlDataLoadOptions` | Represents options for XML data loading. | | `XmlDataSource` | Provides access to data of an XML file or stream to be used while assembling a document. | ##### Enumerations | Enumeration | Description | | :- | :- | | `JsonSimpleValueParseMode` | Specifies a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON.
Such a mode does not affect parsing of date-time values. | ### CsvDataLoadOptions class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdataloadoptions.md #### CsvDataLoadOptions class Represents options for parsing CSV data. The CsvDataLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of this class with default options. | | __init__ | Initializes a new instance of this class with specifying whether CSV data contains column names
at the first line. | ##### Properties | Property | Description | | :- | :- | | has_headers | Gets or sets a value indicating whether the first line of CSV data contains column names. | | delimiter | Gets or sets the character to be used as a column delimiter. | | quote_char | Gets or sets the character that is used to quote field values. | | comment_char | Gets or sets the character that is used to comment lines of CSV data. | ##### Remarks An instance of this class can be passed into constructors of `CsvDataSource`. ### CsvDataLoadOptions constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdataloadoptions/__init__.md #### __init__ Initializes a new instance of this class with default options. ```python def __init__(self): ... ``` #### __init__ Initializes a new instance of this class with specifying whether CSV data contains column names at the first line. ```python def __init__(self, has_headers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | has_headers | bool | | ### comment_char property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdataloadoptions/comment_char.md #### comment_char property Gets or sets the character that is used to comment lines of CSV data. ##### Remarks The default value is '#' (number sign). ##### Definition: ```python @property def comment_char(self): ... @comment_char.setter def comment_char(self, value): ... ``` ### delimiter property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdataloadoptions/delimiter.md #### delimiter property Gets or sets the character to be used as a column delimiter. ##### Remarks The default value is ',' (comma). ##### Definition: ```python @property def delimiter(self): ... @delimiter.setter def delimiter(self, value): ... ``` ### has_headers property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdataloadoptions/has_headers.md #### has_headers property Gets or sets a value indicating whether the first line of CSV data contains column names. ##### Remarks The default value is **false** . ##### Definition: ```python @property def has_headers(self): ... @has_headers.setter def has_headers(self, value): ... ``` ### quote_char property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdataloadoptions/quote_char.md #### quote_char property Gets or sets the character that is used to quote field values. ##### Remarks The default value is '"' (quotation mark). Double the character to place it into quoted text. ##### Definition: ```python @property def quote_char(self): ... @quote_char.setter def quote_char(self, value): ... ``` ### CsvDataSource class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdatasource.md #### CsvDataSource class Provides access to data of a CSV file or stream to be used while assembling a document. The CsvDataSource type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new data source with data from a CSV file using default options for parsing CSV data. | | __init__ | Creates a new data source with data from a CSV file using the specified options for parsing CSV data. | | __init__ | Creates a new data source with data from a CSV stream using default options for parsing CSV data. | | __init__ | Creates a new data source with data from a CSV stream using the specified options for parsing CSV data. | ##### Remarks To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`. overloads. In template documents, a `CsvDataSource` instance should be treated in the same way as if it was a DataTable instance. For more information, see template syntax reference . Data types of comma-separated values are determined automatically upon their string representations. So in template documents, you can work with typed values rather than just strings. The engine is capable to automatically recognize values of the following types: Note that for automatic recognition of data types to work, string representations of comma-separated values should be formed using invariant culture settings. To override default behavior of CSV data loading, initialize and pass a `CsvDataLoadOptions` instance to a constructor of this class. ### CsvDataSource constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/csvdatasource/__init__.md #### __init__ Creates a new data source with data from a CSV file using default options for parsing CSV data. ```python def __init__(self, csv_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | csv_path | str | The path to the CSV file to be used as the data source. | #### __init__ Creates a new data source with data from a CSV stream using default options for parsing CSV data. ```python def __init__(self, csv_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | csv_stream | io.RawIOBase | The stream of CSV data to be used as the data source. | #### __init__ Creates a new data source with data from a CSV file using the specified options for parsing CSV data. ```python def __init__(self, csv_path, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | csv_path | str | The path to the CSV file to be used as the data source. | | options | `CsvDataLoadOptions` | Options for parsing the CSV data. | #### __init__ Creates a new data source with data from a CSV stream using the specified options for parsing CSV data. ```python def __init__(self, csv_stream, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | csv_stream | io.RawIOBase | The stream of CSV data to be used as the data source. | | options | `CsvDataLoadOptions` | Options for parsing the CSV data. | ### DocumentTable class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttable.md #### DocumentTable class Provides access to data of a single table (or spreadsheet) located in an external document to be used while assembling a document. The DocumentTable type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new instance of this class using default `DocumentTableOptions`. | | __init__ | Creates a new instance of this class. | | __init__ | Creates a new instance of this class using default `DocumentTableOptions`. | | __init__ | Creates a new instance of this class. | ##### Properties | Property | Description | | :- | :- | | name | Gets or sets the name of this table used to access the table's data in a template document passed to
`DocumentAssembler`. | | index_in_document | Gets the original zero-based index of the corresponding table as per the source document. | | columns | Gets the collection of `DocumentTableColumn` objects representing columns of
the corresponding table. | ##### Remarks For documents of Spreadsheet file formats, a `DocumentTable` instance represents a single sheet. For documents of other file formats, a `DocumentTable` instance represents a single table. To access data of the corresponding table while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`. overloads. In template documents, a `DocumentTable` instance should be treated in the same way as if it was a DataTable instance. See template syntax reference for more information. ### DocumentTable constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttable/__init__.md #### __init__ Creates a new instance of this class using default `DocumentTableOptions`. ```python def __init__(self, document_path, index_in_document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_path | str | The path to a document containing the table to be accessed. | | index_in_document | int | The zero-based index of the table in the document. | #### __init__ Creates a new instance of this class using default `DocumentTableOptions`. ```python def __init__(self, document_stream, index_in_document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream | io.RawIOBase | The stream containing a document with the table to be accessed. | | index_in_document | int | The zero-based index of the table in the document. | #### __init__ Creates a new instance of this class. ```python def __init__(self, document_path, index_in_document, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_path | str | The path to a document containing the table to be accessed. | | index_in_document | int | The zero-based index of the table in the document. | | options | `DocumentTableOptions` | A set of options controlling extraction of data from the table. If null, default options are applied. | #### __init__ Creates a new instance of this class. ```python def __init__(self, document_stream, index_in_document, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream | io.RawIOBase | The stream containing a document with the table to be accessed. | | index_in_document | int | The zero-based index of the table in the document. | | options | `DocumentTableOptions` | A set of options controlling extraction of data from the table. If null, default options are applied. | ### columns property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttable/columns.md #### columns property Gets the collection of `DocumentTableColumn` objects representing columns of the corresponding table. ##### Definition: ```python @property def columns(self): ... ``` ### index_in_document property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttable/index_in_document.md #### index_in_document property Gets the original zero-based index of the corresponding table as per the source document. ##### Remarks Depending on an `IDocumentTableLoadHandler` implementation provided, this index may differ from the index of this `DocumentTable` instance within the table collection of the corresponding `DocumentTableSet` instance, if any. ##### Definition: ```python @property def index_in_document(self): ... ``` ### name property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttable/name.md #### name property Gets or sets the name of this table used to access the table's data in a template document passed to `DocumentAssembler`. ##### Remarks If the table's name is read from a document, the name is automatically corrected so that it to be valid. However, if the table's name is set manually through this property and the name is invalid, an exception is thrown. The table's name is considered to be valid, if the following conditions are met: | | | | | | ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### DocumentTableCollection class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecollection.md #### DocumentTableCollection class Represents a read-only collection of `DocumentTable` objects of a particular `DocumentTableSet` instance. The DocumentTableCollection type exposes the following members: ##### Properties | Property | Description | | :- | :- | | count | Gets the total number of `DocumentTable` objects in the collection. | Gets a `DocumentTable` instance from the collection at the specified index. ##### Indexer | Name | Description | | :- | :- | | [index] | The zero-based index of the table to return. | ##### Methods | Method | Description | | :- | :- | | contains | Returns a value indicating whether this collection contains a table with the specified name. | | contains | Returns a value indicating whether this collection contains the specified table. | | index_of | Returns the index of a table with the specified name within this collection. | | index_of | Returns the index of the specified table within this collection. | ##### Remarks The collection is filled automatically while loading the corresponding tables from a document and can not be modified. However, properties of `DocumentTable` objects contained within the collection can be modified. ### DocumentTableCollection indexer Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecollection/__getitem__.md #### DocumentTableCollection indexer Gets a `DocumentTable` instance from the collection at the specified index. ##### Indexer | Name | Description | | :- | :- | | index | The zero-based index of the table to return. | ##### Returns A `DocumentTable` instance from the collection at the specified index. ### contains method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecollection/contains.md #### contains Returns a value indicating whether this collection contains a table with the specified name. ##### Returns A value indicating whether this collection contains a table with the specified name. ```python def contains(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | str | The case-insensitive name of a table to look for. | #### contains Returns a value indicating whether this collection contains the specified table. ##### Returns A value indicating whether this collection contains the specified table. ```python def contains(self, table): ... ``` | Parameter | Type | Description | | :- | :- | :- | | table | `DocumentTable` | A table to look for. | ### count property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecollection/count.md #### count property Gets the total number of `DocumentTable` objects in the collection. ##### Definition: ```python @property def count(self): ... ``` ### index_of method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecollection/index_of.md #### index_of Returns the index of a table with the specified name within this collection. ##### Returns The zero-based index of a table with the specified name, or -1 if the table does not exist in this collection. ```python def index_of(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | str | The case-insensitive name of a table to find. | #### index_of Returns the index of the specified table within this collection. ##### Returns The zero-based index of the specified table, or -1 if the table does not exist in this collection. ```python def index_of(self, table): ... ``` | Parameter | Type | Description | | :- | :- | :- | | table | `DocumentTable` | A table to find. | ### DocumentTableColumn class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumn.md #### DocumentTableColumn class Represents a single column of a particular `DocumentTable` object. The DocumentTableColumn type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets or sets the name of this column used to access the column's data in a template document passed to
`DocumentAssembler`. | | index_in_document | Gets the original zero-based index of the corresponding table column as per the source document. | | type | Gets or sets the type of cell values in this column. | | allows_null | Gets a value indicating whether cells in this column contain null values or not. | ### allows_null property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumn/allows_null.md #### allows_null property Gets a value indicating whether cells in this column contain null values or not. ##### Remarks Undefined and error values in cells of Spreadsheet documents are also considered to be null. ##### Definition: ```python @property def allows_null(self): ... ``` ### index_in_document property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumn/index_in_document.md #### index_in_document property Gets the original zero-based index of the corresponding table column as per the source document. ##### Remarks Depending on `DocumentTableOptions` specified, this index may differ from the index of this `DocumentTableColumn` instance within the column collection of the corresponding `DocumentTable` instance. ##### Definition: ```python @property def index_in_document(self): ... ``` ### name property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumn/name.md #### name property Gets or sets the name of this column used to access the column's data in a template document passed to `DocumentAssembler`. ##### Remarks If the column's name is read from a document (see `DocumentTableOptions.first_row_contains_column_names`), the name is automatically corrected so that it to be valid. However, if the column's name is set manually through this property and the name is invalid, an exception is thrown. The column's name is considered to be valid, if the following conditions are met: | | | | | | ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumn/type.md #### type property Gets or sets the type of cell values in this column. ##### Remarks For documents of non-Spreadsheet file formats, the initial type is always automatically determined as string. For documents of Spreadsheet file formats, the initial type is automatically determined depending on corresponding cell values. If cells of a particular Spreadsheet column contain values of different types, then the column's initial type is also automatically determined as string. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### DocumentTableColumnCollection class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumncollection.md #### DocumentTableColumnCollection class Represents a read-only collection of `DocumentTableColumn` objects of a particular `DocumentTable` instance. The DocumentTableColumnCollection type exposes the following members: ##### Properties | Property | Description | | :- | :- | | count | Gets the total number of `DocumentTableColumn` objects in the collection. | Gets a `DocumentTableColumn` instance from the collection at the specified index. ##### Indexer | Name | Description | | :- | :- | | [index] | The zero-based index of the column to return. | ##### Methods | Method | Description | | :- | :- | | contains | Returns a value indicating whether this collection contains a column with the specified name. | | contains | Returns a value indicating whether this collection contains the specified column. | | index_of | Returns the index of a column with the specified name within this collection. | | index_of | Returns the index of the specified column within this collection. | ##### Remarks The collection is filled automatically while loading the corresponding table from a document and can not be modified. However, properties of `DocumentTableColumn` objects contained within the collection can be modified. ### DocumentTableColumnCollection indexer Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumncollection/__getitem__.md #### DocumentTableColumnCollection indexer Gets a `DocumentTableColumn` instance from the collection at the specified index. ##### Indexer | Name | Description | | :- | :- | | index | The zero-based index of the column to return. | ##### Returns A `DocumentTableColumn` instance from the collection at the specified index. ### contains method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumncollection/contains.md #### contains Returns a value indicating whether this collection contains a column with the specified name. ##### Returns A value indicating whether this collection contains a column with the specified name. ```python def contains(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | str | The case-insensitive name of a column to look for. | #### contains Returns a value indicating whether this collection contains the specified column. ##### Returns A value indicating whether this collection contains the specified column. ```python def contains(self, column): ... ``` | Parameter | Type | Description | | :- | :- | :- | | column | `DocumentTableColumn` | A column to look for. | ### count property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumncollection/count.md #### count property Gets the total number of `DocumentTableColumn` objects in the collection. ##### Definition: ```python @property def count(self): ... ``` ### index_of method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablecolumncollection/index_of.md #### index_of Returns the index of a column with the specified name within this collection. ##### Returns The zero-based index of a column with the specified name, or -1 if the column does not exist in this collection. ```python def index_of(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | str | The case-insensitive name of a column to find. | #### index_of Returns the index of the specified column within this collection. ##### Returns The zero-based index of the specified column, or -1 if the column does not exist in this collection. ```python def index_of(self, column): ... ``` | Parameter | Type | Description | | :- | :- | :- | | column | `DocumentTableColumn` | A column to find. | ### DocumentTableLoadArgs class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableloadargs.md #### DocumentTableLoadArgs class Provides data for the `IDocumentTableLoadHandler.handle` method. The DocumentTableLoadArgs type exposes the following members: ##### Properties | Property | Description | | :- | :- | | table_index | Gets the zero-based index of the corresponding document table to be loaded. | | is_loaded | Gets or sets a value indicating whether the corresponding document table is to be loaded or not.
The default value is true. | | options | Gets or sets `DocumentTableOptions` to be used while loading the corresponding document table.
The default value is null, which means that default `DocumentTableOptions` are to be applied. | ### is_loaded property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableloadargs/is_loaded.md #### is_loaded property Gets or sets a value indicating whether the corresponding document table is to be loaded or not. The default value is true. ##### Definition: ```python @property def is_loaded(self): ... @is_loaded.setter def is_loaded(self, value): ... ``` ### options property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableloadargs/options.md #### options property Gets or sets `DocumentTableOptions` to be used while loading the corresponding document table. The default value is null, which means that default `DocumentTableOptions` are to be applied. ##### Definition: ```python @property def options(self): ... @options.setter def options(self, value): ... ``` ### table_index property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableloadargs/table_index.md #### table_index property Gets the zero-based index of the corresponding document table to be loaded. ##### Definition: ```python @property def table_index(self): ... ``` ### DocumentTableOptions class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableoptions.md #### DocumentTableOptions class Provides a set of options to control extraction of data from a document table. The DocumentTableOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new instance of this class. | ##### Properties | Property | Description | | :- | :- | | min_row_index | Gets or sets the smallest zero-based index of a row to be extracted from a document table.
The default value is negative which means that the smallest row index is not limited. | | max_row_index | Gets or sets the largest zero-based index of a row to be extracted from a document table.
The default value is negative which means that the largest row index is not limited. | | min_column_index | Gets or sets the smallest zero-based index of a column to be extracted from a document table.
The default value is negative which means that the smallest column index is not limited. | | max_column_index | Gets or sets the largest zero-based index of a column to be extracted from a document table.
The default value is negative which means that the largest column index is not limited. | | first_row_contains_column_names | Gets or sets a value indicating whether column names are to be obtained from the first
extracted row of a document table. The default value is false. | ### DocumentTableOptions constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableoptions/__init__.md #### __init__ Creates a new instance of this class. ```python def __init__(self): ... ``` ### first_row_contains_column_names property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableoptions/first_row_contains_column_names.md #### first_row_contains_column_names property Gets or sets a value indicating whether column names are to be obtained from the first extracted row of a document table. The default value is false. ##### Remarks If column names are not set to be obtained from the first extracted row of a document table, default column names are used instead. For documents of Spreadsheet file formats, default column names are defined as A, B, C, ... Z, AA, AB, and so on. For documents of other file formats, default column names are defined as Column1, Column2, Column3, and so on. ##### Definition: ```python @property def first_row_contains_column_names(self): ... @first_row_contains_column_names.setter def first_row_contains_column_names(self, value): ... ``` ### max_column_index property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableoptions/max_column_index.md #### max_column_index property Gets or sets the largest zero-based index of a column to be extracted from a document table. The default value is negative which means that the largest column index is not limited. ##### Definition: ```python @property def max_column_index(self): ... @max_column_index.setter def max_column_index(self, value): ... ``` ### max_row_index property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableoptions/max_row_index.md #### max_row_index property Gets or sets the largest zero-based index of a row to be extracted from a document table. The default value is negative which means that the largest row index is not limited. ##### Definition: ```python @property def max_row_index(self): ... @max_row_index.setter def max_row_index(self, value): ... ``` ### min_column_index property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableoptions/min_column_index.md #### min_column_index property Gets or sets the smallest zero-based index of a column to be extracted from a document table. The default value is negative which means that the smallest column index is not limited. ##### Definition: ```python @property def min_column_index(self): ... @min_column_index.setter def min_column_index(self, value): ... ``` ### min_row_index property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableoptions/min_row_index.md #### min_row_index property Gets or sets the smallest zero-based index of a row to be extracted from a document table. The default value is negative which means that the smallest row index is not limited. ##### Definition: ```python @property def min_row_index(self): ... @min_row_index.setter def min_row_index(self, value): ... ``` ### DocumentTableRelation class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelation.md #### DocumentTableRelation class Represents a parent-child relationship between two `DocumentTable` objects. The DocumentTableRelation type exposes the following members: ##### Properties | Property | Description | | :- | :- | | parent_column | Gets the parent column of this relation. | | child_column | Gets the child column of this relation. | ### child_column property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelation/child_column.md #### child_column property Gets the child column of this relation. ##### Definition: ```python @property def child_column(self): ... ``` ### parent_column property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelation/parent_column.md #### parent_column property Gets the parent column of this relation. ##### Definition: ```python @property def parent_column(self): ... ``` ### DocumentTableRelationCollection class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection.md #### DocumentTableRelationCollection class Represents the collection of `DocumentTableRelation` objects of a single `DocumentTableSet` instance. The DocumentTableRelationCollection type exposes the following members: ##### Properties | Property | Description | | :- | :- | | count | Gets the total number of `DocumentTableRelation` objects in the collection. | Gets a `DocumentTableRelation` instance from the collection at the specified index. ##### Indexer | Name | Description | | :- | :- | | [index] | The zero-based index of the relation to return. | ##### Methods | Method | Description | | :- | :- | | add | Creates a `DocumentTableRelation` object for the specified parent and child columns, and adds it
to the collection. | | remove | Removes the specified relation from the collection. | | remove_at | Removes the relation at the specified index from the collection. | | clear | Clears the collection of any relations. | | contains | Returns a value indicating whether this collection contains the specified relation. | | index_of | Returns the index of the specified relation within this collection. | ### DocumentTableRelationCollection indexer Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/__getitem__.md #### DocumentTableRelationCollection indexer Gets a `DocumentTableRelation` instance from the collection at the specified index. ##### Indexer | Name | Description | | :- | :- | | index | The zero-based index of the relation to return. | ##### Returns A `DocumentTableRelation` instance from the collection at the specified index. ### add method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/add.md #### add Creates a `DocumentTableRelation` object for the specified parent and child columns, and adds it to the collection. ##### Returns The created relation. ```python def add(self, parent_column, child_column): ... ``` | Parameter | Type | Description | | :- | :- | :- | | parent_column | `DocumentTableColumn` | The parent column of the relation. | | child_column | `DocumentTableColumn` | The child column of the relation. | ### clear method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/clear.md #### clear Clears the collection of any relations. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/contains.md #### contains Returns a value indicating whether this collection contains the specified relation. ##### Returns A value indicating whether this collection contains the specified relation. ```python def contains(self, relation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | relation | `DocumentTableRelation` | A relation to look for. | ### count property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/count.md #### count property Gets the total number of `DocumentTableRelation` objects in the collection. ##### Definition: ```python @property def count(self): ... ``` ### index_of method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/index_of.md #### index_of Returns the index of the specified relation within this collection. ##### Returns The zero-based index of the specified relation, or -1 if the relation does not exist in this collection. ```python def index_of(self, relation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | relation | `DocumentTableRelation` | A relation to find. | ### remove method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/remove.md #### remove Removes the specified relation from the collection. ```python def remove(self, relation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | relation | `DocumentTableRelation` | The relation to remove. | ### remove_at method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttablerelationcollection/remove_at.md #### remove_at Removes the relation at the specified index from the collection. ```python def remove_at(self, index): ... ``` | Parameter | Type | Description | | :- | :- | :- | | index | int | The index of the relation to remove. | ### DocumentTableSet class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableset.md #### DocumentTableSet class Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while assembling a document. Also, enables to define parent-child relations for the document tables thus simplifying access to related data within template documents. The DocumentTableSet type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new instance of this class loading all tables from a document using default
`DocumentTableOptions`. | | __init__ | Creates a new instance of this class. | | __init__ | Creates a new instance of this class loading all tables from a document using default
`DocumentTableOptions`. | | __init__ | Creates a new instance of this class. | ##### Properties | Property | Description | | :- | :- | | tables | Gets the collection of `DocumentTable` objects representing tables of this set. | | relations | Gets the collection of parent-child relations defined for document tables of this set. | ##### Remarks For documents of Spreadsheet file formats, a `DocumentTableSet` instance represents a set of sheets. For documents of other file formats, a `DocumentTableSet` instance represents a set of tables. To access data of the corresponding tables while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`. overloads. In template documents, a `DocumentTableSet` instance should be treated in the same way as if it was a DataSet instance. See template syntax reference for more information. ### DocumentTableSet constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableset/__init__.md #### __init__ Creates a new instance of this class loading all tables from a document using default `DocumentTableOptions`. ```python def __init__(self, document_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_path | str | The path to a document containing tables to be accessed. | #### __init__ Creates a new instance of this class loading all tables from a document using default `DocumentTableOptions`. ```python def __init__(self, document_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream | io.RawIOBase | The stream containing a document with tables to be accessed. | #### __init__ Creates a new instance of this class. ```python def __init__(self, document_path, load_handler): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_path | str | The path to a document containing tables to be accessed. | | load_handler | `IDocumentTableLoadHandler` | An `IDocumentTableLoadHandler` implementation controlling how document tables are loaded. | #### __init__ Creates a new instance of this class. ```python def __init__(self, document_stream, load_handler): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream | io.RawIOBase | The stream containing a document with tables to be accessed. | | load_handler | `IDocumentTableLoadHandler` | An `IDocumentTableLoadHandler` implementation controlling how document tables are loaded. | ### relations property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableset/relations.md #### relations property Gets the collection of parent-child relations defined for document tables of this set. ##### Definition: ```python @property def relations(self): ... ``` ### tables property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/documenttableset/tables.md #### tables property Gets the collection of `DocumentTable` objects representing tables of this set. ##### Definition: ```python @property def tables(self): ... ``` ### IDocumentTableLoadHandler class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/idocumenttableloadhandler.md #### IDocumentTableLoadHandler class Overrides default loading of `DocumentTable` objects while creating a `DocumentTableSet` instance. The IDocumentTableLoadHandler type exposes the following members: ##### Methods | Method | Description | | :- | :- | | handle | Overrides default loading of a particular `DocumentTable` object while creating
a `DocumentTableSet` instance. | ##### Remarks Implement this interface if you want to discard loading of specific `DocumentTable` objects or provide specific `DocumentTableOptions` for document tables being loaded. ### handle method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/idocumenttableloadhandler/handle.md #### handle Overrides default loading of a particular `DocumentTable` object while creating a `DocumentTableSet` instance. ```python def handle(self, args): ... ``` | Parameter | Type | Description | | :- | :- | :- | | args | `DocumentTableLoadArgs` | | ### JsonDataLoadOptions class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondataloadoptions.md #### JsonDataLoadOptions class Represents options for parsing JSON data. The JsonDataLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of this class with default options. | ##### Properties | Property | Description | | :- | :- | | simple_value_parse_mode | Gets or sets a mode for parsing JSON simple values (null, boolean, number, integer, and string)
while loading JSON. Such a mode does not affect parsing of date-time values. The default is
`JsonSimpleValueParseMode.LOOSE`. | | exact_date_time_parse_format | Gets or sets an exact format for parsing JSON date-time values while loading JSON. The default is **null** . | | exact_date_time_parse_formats | Gets or sets exact formats for parsing JSON date-time values while loading JSON. The default is **null** . | | always_generate_root_object | Gets or sets a flag indicating whether a generated data source will always contain an object for a JSON root
element. If a JSON root element contains a single complex property, such an object is not created by default. | ##### Remarks An instance of this class can be passed into constructors of `JsonDataSource`. ### JsonDataLoadOptions constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondataloadoptions/__init__.md #### __init__ Initializes a new instance of this class with default options. ```python def __init__(self): ... ``` ### always_generate_root_object property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondataloadoptions/always_generate_root_object.md #### always_generate_root_object property Gets or sets a flag indicating whether a generated data source will always contain an object for a JSON root element. If a JSON root element contains a single complex property, such an object is not created by default. ##### Remarks The default value is **false** . ##### Definition: ```python @property def always_generate_root_object(self): ... @always_generate_root_object.setter def always_generate_root_object(self, value): ... ``` ### exact_date_time_parse_format property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondataloadoptions/exact_date_time_parse_format.md #### exact_date_time_parse_format property Gets or sets an exact format for parsing JSON date-time values while loading JSON. The default is **null** . ##### Remarks Strings encoded using Microsoft® JSON date-time format (for example, "/Date(1224043200000)/") are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way: | | | | | ##### Definition: ```python @property def exact_date_time_parse_format(self): ... @exact_date_time_parse_format.setter def exact_date_time_parse_format(self, value): ... ``` ### exact_date_time_parse_formats property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondataloadoptions/exact_date_time_parse_formats.md #### exact_date_time_parse_formats property Gets or sets exact formats for parsing JSON date-time values while loading JSON. The default is **null** . ##### Remarks Strings encoded using Microsoft® JSON date-time format (for example, "/Date(1224043200000)/") are always recognized as date-time values regardless of a value of this property. The property defines additional formats to be used while parsing date-time values from strings in the following way: | | | | | ##### Definition: ```python @property def exact_date_time_parse_formats(self): ... @exact_date_time_parse_formats.setter def exact_date_time_parse_formats(self, value): ... ``` ### simple_value_parse_mode property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondataloadoptions/simple_value_parse_mode.md #### simple_value_parse_mode property Gets or sets a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. The default is `JsonSimpleValueParseMode.LOOSE`. ##### Definition: ```python @property def simple_value_parse_mode(self): ... @simple_value_parse_mode.setter def simple_value_parse_mode(self, value): ... ``` ### JsonDataSource class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondatasource.md #### JsonDataSource class Provides access to data of a JSON file or stream to be used while assembling a document. The JsonDataSource type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new data source with data from a JSON file using default options for parsing JSON data. | | __init__ | Creates a new data source with data from a JSON file using the specified options for parsing JSON data. | | __init__ | Creates a new data source with data from a JSON stream using default options for parsing JSON data. | | __init__ | Creates a new data source with data from a JSON stream using the specified options for parsing JSON data. | ##### Remarks To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`. overloads. In template documents, if a top-level JSON element is an array, a `JsonDataSource` instance should be treated in the same way as if it was a DataTable instance. If a top-level JSON element is an object, a `JsonDataSource` instance should be treated in the same way as if it was a DataRow instance. For more information, see template syntax reference . In template documents, you can work with typed values of JSON elements. For convenience, the engine replaces the set of JSON simple types with the following one: The engine automatically recognizes values of the extra types upon their JSON representations. To override default behavior of JSON data loading, initialize and pass a `JsonDataLoadOptions` instance to a constructor of this class. ### JsonDataSource constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsondatasource/__init__.md #### __init__ Creates a new data source with data from a JSON file using default options for parsing JSON data. ```python def __init__(self, json_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | json_path | str | The path to the JSON file to be used as the data source. | #### __init__ Creates a new data source with data from a JSON stream using default options for parsing JSON data. ```python def __init__(self, json_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | json_stream | io.RawIOBase | The stream of JSON data to be used as the data source. | #### __init__ Creates a new data source with data from a JSON file using the specified options for parsing JSON data. ```python def __init__(self, json_path, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | json_path | str | The path to the JSON file to be used as the data source. | | options | `JsonDataLoadOptions` | Options for parsing JSON data. | #### __init__ Creates a new data source with data from a JSON stream using the specified options for parsing JSON data. ```python def __init__(self, json_stream, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | json_stream | io.RawIOBase | The stream of JSON data to be used as the data source. | | options | `JsonDataLoadOptions` | Options for parsing JSON data. | ### JsonSimpleValueParseMode enumeration Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/jsonsimplevalueparsemode.md #### JsonSimpleValueParseMode enumeration Specifies a mode for parsing JSON simple values (null, boolean, number, integer, and string) while loading JSON. Such a mode does not affect parsing of date-time values. The JsonSimpleValueParseMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | LOOSE | Specifies the mode where types of JSON simple values are determined upon parsing of their string representations.
For example, the type of 'prop' from the JSON snippet '{ prop: "123" }' is determined as integer in this mode. | | STRICT | Specifies the mode where types of JSON simple values are determined from JSON notation itself.
For example, the type of 'prop' from the JSON snippet '{ prop: "123" }' is determined as string in this mode. | ### XmlDataLoadOptions class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/xmldataloadoptions.md #### XmlDataLoadOptions class Represents options for XML data loading. The XmlDataLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of this class with default options. | ##### Properties | Property | Description | | :- | :- | | always_generate_root_object | Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root
element. If an XML root element has no attributes and all its child elements have same names, such an object
is not created by default. | ##### Remarks An instance of this class can be passed into constructors of `XmlDataSource`. ### XmlDataLoadOptions constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/xmldataloadoptions/__init__.md #### __init__ Initializes a new instance of this class with default options. ```python def __init__(self): ... ``` ### always_generate_root_object property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/xmldataloadoptions/always_generate_root_object.md #### always_generate_root_object property Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default. ##### Remarks The default value is **false** . ##### Definition: ```python @property def always_generate_root_object(self): ... @always_generate_root_object.setter def always_generate_root_object(self, value): ... ``` ### XmlDataSource class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/xmldatasource.md #### XmlDataSource class Provides access to data of an XML file or stream to be used while assembling a document. The XmlDataSource type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new data source with data from an XML file using default options for XML data loading. | | __init__ | Creates a new data source with data from an XML stream using default options for XML data loading. | | __init__ | Creates a new data source with data from an XML file using an XML Schema Definition file. Default options
are used for XML data loading. | | __init__ | Creates a new data source with data from an XML stream using an XML Schema Definition stream. Default options
are used for XML data loading. | | __init__ | Creates a new data source with data from an XML file using the specified options for XML data loading. | | __init__ | Creates a new data source with data from an XML stream using the specified options for XML data loading. | | __init__ | Creates a new data source with data from an XML file using an XML Schema Definition file. The specified
options are used for XML data loading. | | __init__ | Creates a new data source with data from an XML stream using an XML Schema Definition stream. The specified
options are used for XML data loading. | ##### Remarks To access data of the corresponding file or stream while assembling a document, pass an instance of this class as a data source to one of `DocumentAssembler`. overloads. In template documents, if a top-level XML element contains only a list of elements of the same type, an `XmlDataSource` instance should be treated in the same way as if it was a DataTable instance. Otherwise, an `XmlDataSource` instance should be treated in the same way as if it was a DataRow instance. For more information, see template syntax reference . When XML Schema Definition is passed to a constructor of this class, data types of values of simple XML elements and attributes are determined according to the schema. So in template documents, you can work with typed values rather than just strings. When XML Schema Definition is not passed to a constructor of this class, data types of values of simple XML elements and attributes are determined automatically upon their string representations. So in template documents, you can work with typed values in this case as well. The engine is capable to automatically recognize values of the following types: Note that for automatic recognition of data types to work, string representations of values of simple XML elements and attributes should be formed using invariant culture settings. To override default behavior of XML data loading, initialize and pass a `XmlDataLoadOptions` instance to a constructor of this class. ### XmlDataSource constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.data/xmldatasource/__init__.md #### __init__ Creates a new data source with data from an XML file using default options for XML data loading. ```python def __init__(self, xml_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_path | str | The path to the XML file to be used as the data source. | #### __init__ Creates a new data source with data from an XML stream using default options for XML data loading. ```python def __init__(self, xml_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_stream | io.RawIOBase | The stream of XML data to be used as the data source. | #### __init__ Creates a new data source with data from an XML file using an XML Schema Definition file. Default options are used for XML data loading. ```python def __init__(self, xml_path, xml_schema_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_path | str | The path to the XML file to be used as the data source. | | xml_schema_path | str | The path to the XML Schema Definition file that provides schema for the XML
file. | #### __init__ Creates a new data source with data from an XML stream using an XML Schema Definition stream. Default options are used for XML data loading. ```python def __init__(self, xml_stream, xml_schema_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_stream | io.RawIOBase | The stream of XML data to be used as the data source. | | xml_schema_stream | io.RawIOBase | The stream of XML Schema Definition that provides schema for the XML data. | #### __init__ Creates a new data source with data from an XML file using the specified options for XML data loading. ```python def __init__(self, xml_path, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_path | str | The path to the XML file to be used as the data source. | | options | `XmlDataLoadOptions` | Options for XML data loading. | #### __init__ Creates a new data source with data from an XML stream using the specified options for XML data loading. ```python def __init__(self, xml_stream, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_stream | io.RawIOBase | The stream of XML data to be used as the data source. | | options | `XmlDataLoadOptions` | Options for XML data loading. | #### __init__ Creates a new data source with data from an XML file using an XML Schema Definition file. The specified options are used for XML data loading. ```python def __init__(self, xml_path, xml_schema_path, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_path | str | The path to the XML file to be used as the data source. | | xml_schema_path | str | The path to the XML Schema Definition file that provides schema for the XML
file. | | options | `XmlDataLoadOptions` | Options for XML data loading. | #### __init__ Creates a new data source with data from an XML stream using an XML Schema Definition stream. The specified options are used for XML data loading. ```python def __init__(self, xml_stream, xml_schema_stream, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xml_stream | io.RawIOBase | The stream of XML data to be used as the data source. | | xml_schema_stream | io.RawIOBase | The stream of XML Schema Definition that provides schema for the XML data. | | options | `XmlDataLoadOptions` | Options for XML data loading. | ### groupdocs.assembly Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly.md Provides classes for generating documents in popular office file formats based upon template documents and data obtained from various sources including databases, XML, JSON, OData, objects of custom types, and more. ##### Classes | Class | Description | | :- | :- | | `BarcodeSettings` | Represents a set of settings controlling barcode generation while assembling a document. | | `DataSourceInfo` | Provides information on a single data source object to be used to assemble a document from a template. | | `DocumentAssembler` | Provides routines to populate template documents with data and a set of settings to control these routines. | | `KnownTypeSet` | Represents an unordered set (that is, a collection of unique items) containing Type objects
which fully or partially qualified names can be used within document templates to invoke the corresponding
types' static members, perform type casts, etc. | | `License` | Provides methods to license the component. | | `LoadSaveOptions` | Specifies additional options for loading and saving of a document to be assembled. | | `Metered` | Provides methods to work with metered licensing. | ##### Enumerations | Enumeration | Description | | :- | :- | | `DocumentAssemblyOptions` | Specifies options controlling behavior of `DocumentAssembler` while assembling a document. | | `FileFormat` | Specifies the format of a file. | | `GraphicsUnit` | | ### BarcodeSettings class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings.md #### BarcodeSettings class Represents a set of settings controlling barcode generation while assembling a document. The BarcodeSettings type exposes the following members: ##### Properties | Property | Description | | :- | :- | | graphics_unit | Gets or sets a graphics unit used to measure `BarcodeSettings.base_x_dimension` and `BarcodeSettings.base_y_dimension`.
The default value is `GraphicsUnit.MILLIMETER`. | | base_x_dimension | Gets or sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces.
Measured in `BarcodeSettings.graphics_unit`. | | base_y_dimension | Gets or sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules.
Measured in `BarcodeSettings.graphics_unit`. | | resolution | Gets or sets the horizontal and vertical resolution of a barcode image being generated. Measured in dots
per inch. The default value is 96. | | x_resolution | Gets or sets the horizontal resolution of a barcode image being generated. Measured in dots per inch.
The default value is 96. | | y_resolution | Gets or sets the vertical resolution of a barcode image being generated. Measured in dots per inch.
The default value is 96. | | use_auto_correction | Gets or sets a value indicating whether an invalid barcode value should be corrected automatically
(if possible) to fit the barcode's specification or an exception should be thrown to indicate the error.
The default value is true. | ### base_x_dimension property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings/base_x_dimension.md #### base_x_dimension property Gets or sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. Measured in `BarcodeSettings.graphics_unit`. ##### Remarks When barcode scaling is applied through a template, an actual x-dimension is calculated upon the base x-dimension and a scaling factor. ##### Definition: ```python @property def base_x_dimension(self): ... @base_x_dimension.setter def base_x_dimension(self, value): ... ``` ### base_y_dimension property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings/base_y_dimension.md #### base_y_dimension property Gets or sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. Measured in `BarcodeSettings.graphics_unit`. ##### Remarks Barcodes of some types (such as data matrix) may ignore an y-dimension and use an x-dimension for both width and height units. When barcode scaling is applied through a template, an actual y-dimension is calculated upon the base y-dimension and a scaling factor. ##### Definition: ```python @property def base_y_dimension(self): ... @base_y_dimension.setter def base_y_dimension(self, value): ... ``` ### graphics_unit property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings/graphics_unit.md #### graphics_unit property Gets or sets a graphics unit used to measure `BarcodeSettings.base_x_dimension` and `BarcodeSettings.base_y_dimension`. The default value is `GraphicsUnit.MILLIMETER`. ##### Definition: ```python @property def graphics_unit(self): ... @graphics_unit.setter def graphics_unit(self, value): ... ``` ### resolution property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings/resolution.md #### resolution property Gets or sets the horizontal and vertical resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. ##### Definition: ```python @property def resolution(self): ... @resolution.setter def resolution(self, value): ... ``` ### use_auto_correction property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings/use_auto_correction.md #### use_auto_correction property Gets or sets a value indicating whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode's specification or an exception should be thrown to indicate the error. The default value is true. ##### Remarks The auto-correction is not possible for Databar barcodes. ##### Definition: ```python @property def use_auto_correction(self): ... @use_auto_correction.setter def use_auto_correction(self, value): ... ``` ### x_resolution property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings/x_resolution.md #### x_resolution property Gets or sets the horizontal resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. ##### Definition: ```python @property def x_resolution(self): ... @x_resolution.setter def x_resolution(self, value): ... ``` ### y_resolution property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/barcodesettings/y_resolution.md #### y_resolution property Gets or sets the vertical resolution of a barcode image being generated. Measured in dots per inch. The default value is 96. ##### Definition: ```python @property def y_resolution(self): ... @y_resolution.setter def y_resolution(self, value): ... ``` ### DataSourceInfo class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/datasourceinfo.md #### DataSourceInfo class Provides information on a single data source object to be used to assemble a document from a template. The DataSourceInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new instance of this class without any properties specified. | | __init__ | Creates a new instance of this class with the data source object specified. | | __init__ | Creates a new instance of this class with the data source object and its name specified. | ##### Properties | Property | Description | | :- | :- | | data_source | Gets or sets the data source object. | | name | Gets or sets the name of the data source object to be used to access the data source object in a template document. | ### DataSourceInfo constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/datasourceinfo/__init__.md #### __init__ Creates a new instance of this class without any properties specified. ```python def __init__(self): ... ``` #### __init__ Creates a new instance of this class with the data source object specified. ```python def __init__(self, data_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | data_source | any | The data source object. | #### __init__ Creates a new instance of this class with the data source object and its name specified. ```python def __init__(self, data_source, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | data_source | any | The data source object. | | name | str | The name of the data source object to be used to access the data source object in a template document. | ### data_source property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/datasourceinfo/data_source.md #### data_source property Gets or sets the data source object. ##### Remarks The data source object can be of one of the following types: | | | | | | For information on how to work with data sources of different types in template documents, see template syntax reference . ##### Definition: ```python @property def data_source(self): ... @data_source.setter def data_source(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/datasourceinfo/name.md #### name property Gets or sets the name of the data source object to be used to access the data source object in a template document. ##### Remarks When the name of the data source object is specified, you can access the data source object and its members in a template document using the name. When the name of the data source object is null or empty, you can still access members of the data source object in a template document using context object member access (see Template Syntax Reference for more information), but you cannot access the data source object itself. When passing multiple `DataSourceInfo` instances to `DocumentAssembler`, only the name of the first data source object can be null or empty. Names of the rest ones must be specified and unique. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### DocumentAssembler class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassembler.md #### DocumentAssembler class Provides routines to populate template documents with data and a set of settings to control these routines. The DocumentAssembler type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of this class. | ##### Properties | Property | Description | | :- | :- | | options | Gets or sets a set of flags controlling behavior of this `DocumentAssembler` instance
while assembling a document. | | barcode_settings | Gets a set of settings controlling barcode generation while assembling a document. | | known_types | Gets an unordered set (that is, a collection of unique items) containing Type objects
which fully or partially qualified names can be used within document templates processed by this
assembler instance to invoke the corresponding types' static members, perform type casts, etc. | | use_reflection_optimization | Gets or sets a value indicating whether invocations of custom type members performed via reflection API are
optimized using dynamic class generation or not. The default value is true. | ##### Methods | Method | Description | | :- | :- | | assemble_document | Loads a template document from the specified source path, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target path using default
`LoadSaveOptions`. | | assemble_document | Loads a template document from the specified source path, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target path using the given
`LoadSaveOptions`. | | assemble_document | Loads a template document from the specified source stream, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target stream using default
`LoadSaveOptions`. | | assemble_document | Loads a template document from the specified source stream, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target stream using the given
`LoadSaveOptions`. | ### DocumentAssembler constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassembler/__init__.md #### __init__ Initializes a new instance of this class. ```python def __init__(self): ... ``` ### assemble_document method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassembler/assemble_document.md #### assemble_document Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using default `LoadSaveOptions`. ##### Returns A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `DocumentAssembler.options` property includes the `DocumentAssemblyOptions.INLINE_ERROR_MESSAGES` option. ```python def assemble_document(self, source_path, target_path, data_source_infos): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | str | The path to a template document to be populated with data. | | target_path | str | The path to a result document. | | data_source_infos | list | Provides information on data source objects to be used. | #### assemble_document Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using default `LoadSaveOptions`. ##### Returns A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `DocumentAssembler.options` property includes the `DocumentAssemblyOptions.INLINE_ERROR_MESSAGES` option. ```python def assemble_document(self, source_stream, target_stream, data_source_infos): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_stream | io.RawIOBase | The stream to read a template document from. | | target_stream | io.RawIOBase | The stream to write a result document. | | data_source_infos | list | Provides information on data source objects to be used. | #### assemble_document Loads a template document from the specified source path, populates the template document with data from the specified single or multiple sources, and stores the result document to the target path using the given `LoadSaveOptions`. ##### Returns A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `DocumentAssembler.options` property includes the `DocumentAssemblyOptions.INLINE_ERROR_MESSAGES` option. ```python def assemble_document(self, source_path, target_path, load_save_options, data_source_infos): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | str | The path to a template document to be populated with data. | | target_path | str | The path to a result document. | | load_save_options | `LoadSaveOptions` | Specifies additional options for document loading and saving. | | data_source_infos | list | Provides information on data source objects to be used. | #### assemble_document Loads a template document from the specified source stream, populates the template document with data from the specified single or multiple sources, and stores the result document to the target stream using the given `LoadSaveOptions`. ##### Returns A flag indicating whether parsing of the template document was successful. The returned flag makes sense only if a value of the `DocumentAssembler.options` property includes the `DocumentAssemblyOptions.INLINE_ERROR_MESSAGES` option. ```python def assemble_document(self, source_stream, target_stream, load_save_options, data_source_infos): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_stream | io.RawIOBase | The stream to read a template document from. | | target_stream | io.RawIOBase | The stream to write a result document. | | load_save_options | `LoadSaveOptions` | Specifies additional options for document loading and saving. | | data_source_infos | list | Provides information on data source objects to be used. | ### barcode_settings property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassembler/barcode_settings.md #### barcode_settings property Gets a set of settings controlling barcode generation while assembling a document. ##### Definition: ```python @property def barcode_settings(self): ... ``` ### known_types property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassembler/known_types.md #### known_types property Gets an unordered set (that is, a collection of unique items) containing Type objects which fully or partially qualified names can be used within document templates processed by this assembler instance to invoke the corresponding types' static members, perform type casts, etc. ##### Definition: ```python @property def known_types(self): ... ``` ### options property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassembler/options.md #### options property Gets or sets a set of flags controlling behavior of this `DocumentAssembler` instance while assembling a document. ##### Definition: ```python @property def options(self): ... @options.setter def options(self, value): ... ``` ### use_reflection_optimization property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassembler/use_reflection_optimization.md #### use_reflection_optimization property Gets or sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true. ##### Remarks There are some scenarios where it is preferrable to disable this optimization. For example, if you are dealing with small collections of data items all the time, then an overhead of dynamic class generation can be more noticeable than an overhead of direct reflection API calls. ### DocumentAssemblyOptions enumeration Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/documentassemblyoptions.md #### DocumentAssemblyOptions enumeration Specifies options controlling behavior of `DocumentAssembler` while assembling a document. The DocumentAssemblyOptions type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Specifies default options. | | ALLOW_MISSING_MEMBERS | Specifies that missing object members should be treated as null literals by the assembler. This option
affects only access to instance (that is, non-static) object members and extension methods. If this
option is not set, the assembler throws an exception when encounters a missing object member. | | UPDATE_FIELDS_AND_FORMULAS | Specifies that fields of result Word Processing documents and formulas of result Spreadsheet documents
should be updated by the assembler. | | REMOVE_EMPTY_PARAGRAPHS | Specifies that the assembler should remove paragraphs becoming empty after template syntax tags are
removed or replaced with empty values. | | INLINE_ERROR_MESSAGES | Specifies that the assembler should inline template syntax error messages into output documents.
If this option is not set, the assembler throws an exception when encounters a syntax error. | | USE_SPREADSHEET_DATA_TYPES | Relates to Spreadsheet documents only. Specifies that evaluated expression results should be mapped to
corresponding Spreadsheet data types, which also affects their default formatting within cells. If this
option is not set, expression results are always written as strings by the assembler. This option has
no effect when expression results are formatted using template syntax - expression results are always
written as strings then as well. | ### FileFormat enumeration Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/fileformat.md #### FileFormat enumeration Specifies the format of a file. The FileFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNSPECIFIED | Specifies an unset value. The default. | | DOC | Specifies the Microsoft Word 97 - 2007 Binary Document format. | | DOT | Specifies the Microsoft Word 97 - 2007 Binary Template format. | | DOCX | Specifies the Office Open XML WordprocessingML Document (macro-free) format. | | DOCM | Specifies the Office Open XML WordprocessingML Macro-Enabled Document format. | | DOTX | Specifies the Office Open XML WordprocessingML Template (macro-free) format. | | DOTM | Specifies the Office Open XML WordprocessingML Macro-Enabled Template format. | | FLAT_OPC | Specifies the Office Open XML WordprocessingML format stored in a flat XML file instead of a ZIP package. | | FLAT_OPC_MACRO_ENABLED | Specifies the Office Open XML WordprocessingML Macro-Enabled Document format stored in a flat XML file
instead of a ZIP package. | | FLAT_OPC_TEMPLATE | Specifies the Office Open XML WordprocessingML Template (macro-free) format stored in a flat XML file
instead of a ZIP package. | | FLAT_OPC_TEMPLATE_MACRO_ENABLED | Specifies the Office Open XML WordprocessingML Macro-Enabled Template format stored in a flat XML file
instead of a ZIP package. | | WORD_ML | Specifies the Microsoft Word 2003 WordprocessingML format. | | ODT | Specifies the ODF Text Document format. | | OTT | Specifies the ODF Text Document Template format. | | XLS | Specifies the Microsoft Excel 97 - 2007 Binary Workbook format. | | XLSX | Specifies the Office Open XML SpreadsheetML Workbook (macro-free) format. | | XLSM | Specifies the Office Open XML SpreadsheetML Macro-Enabled Workbook format. | | XLTX | Specifies the Office Open XML SpreadsheetML Template (macro-free) format. | | XLTM | Specifies the Office Open XML SpreadsheetML Macro-Enabled Template format. | | XLAM | Specifies the Office Open XML SpreadsheetML Macro-Enabled Add-in format. | | XLSB | Specifies the Microsoft Excel 2007 Macro-Enabled Binary File format. | | SPREADSHEET_ML | Specifies the Microsoft Excel 2003 SpreadsheetML format. | | ODS | Specifies the ODF Spreadsheet format. | | PPT | Specifies the Microsoft PowerPoint 97 - 2007 Binary Presentation format. | | PPS | Specifies the Microsoft PowerPoint 97 - 2007 Binary Slide Show format. | | PPTX | Specifies the Office Open XML PresentationML Presentation (macro-free) format. | | PPTM | Specifies the Office Open XML PresentationML Macro-Enabled Presentation format. | | PPSX | Specifies the Office Open XML PresentationML Slide Show (macro-free) format. | | PPSM | Specifies the Office Open XML PresentationML Macro-Enabled Slide Show format. | | POTX | Specifies the Office Open XML PresentationML Template (macro-free) format. | | POTM | Specifies the Office Open XML PresentationML Macro-Enabled Template format. | | ODP | Specifies the ODF Presentation format. | | MSG_ASCII | Specifies the Microsoft Outlook Message (MSG) format using ASCII character encoding. | | MSG_UNICODE | Specifies the Microsoft Outlook Message (MSG) format using Unicode character encoding. | | EML | Specifies the MIME standard format. | | EMLX | Specifies the Apple Mail.app program file format. | | RTF | Specifies the RTF format. | | TEXT | Specifies the plain text format. | | XML | Specifies the XML format of a general form. | | XAML | Specifies the Extensible Application Markup Language (XAML) format. | | XAML_PACKAGE | Specifies the Extensible Application Markup Language (XAML) package format. | | HTML | Specifies the HTML format. | | MHTML | Specifies the MHTML (Web archive) format. | | XPS | Specifies the XPS (XML Paper Specification) format. | | OPEN_XPS | Specifies the OpenXPS (Ecma-388) format. | | PDF | Specifies the PDF (Adobe Portable Document) format. | | EPUB | Specifies the IDPF EPUB format. | | PS | Specifies the PS (PostScript) format. | | PCL | Specifies the PCL (Printer Control Language) format. | | SVG | Specifies the SVG (Scalable Vector Graphics) format. | | TIFF | Specifies the TIFF format. | | MARKDOWN | Specifies the Markdown format. | | POT | Specifies the Microsoft PowerPoint 97 - 2007 Binary Template format. | | OTP | Specifies the ODF Presentation Template format. | | XLT | Specifies the Microsoft Excel 97 - 2007 Binary Template format. | ### GraphicsUnit enumeration Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/graphicsunit.md #### GraphicsUnit enumeration The GraphicsUnit type exposes the following members: ##### Fields | Field | Description | | :- | :- | | WORLD | Specifies the world coordinate system unit as the unit of measure. | | DISPLAY | Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers. | | PIXEL | Specifies a device pixel as the unit of measure. | | POINT | Specifies a printer's point (1/72 inch) as the unit of measure. | | INCH | Specifies the inch as the unit of measure. | | DOCUMENT | Specifies the document unit (1/300 inch) as the unit of measure. | | MILLIMETER | Specifies the millimeter as the unit of measure. | ### KnownTypeSet class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/knowntypeset.md #### KnownTypeSet class Represents an unordered set (that is, a collection of unique items) containing Type objects which fully or partially qualified names can be used within document templates to invoke the corresponding types' static members, perform type casts, etc. The KnownTypeSet type exposes the following members: ##### Properties | Property | Description | | :- | :- | | count | Gets the count of items in the set. | ##### Methods | Method | Description | | :- | :- | | add | | | remove | | | clear | Removes all items from the set. | ### add method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/knowntypeset/add.md #### add ```python def add(self, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | type | Type | | ### clear method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/knowntypeset/clear.md #### clear Removes all items from the set. ```python def clear(self): ... ``` ### count property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/knowntypeset/count.md #### count property Gets the count of items in the set. ##### Definition: ```python @property def count(self): ... ``` ### remove method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/knowntypeset/remove.md #### remove ```python def remove(self, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | type | Type | | ### License class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/license.md #### License class Provides methods to license the component. The License type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of this class. | ##### Properties | Property | Description | | :- | :- | | is_licensed | Returns true if a valid license has been applied; false if the component is running in evaluation mode. | ##### Methods | Method | Description | | :- | :- | | set_license | Licenses the component. | | set_license | Licenses the component. | ### License constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/license/__init__.md #### __init__ Initializes a new instance of this class. ```python def __init__(self): ... ``` ### is_licensed property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/license/is_licensed.md #### is_licensed property Returns true if a valid license has been applied; false if the component is running in evaluation mode. ##### Definition: ```python @property def is_licensed(self): ... ``` ### set_license method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/license/set_license.md #### set_license Licenses the component. ```python def set_license(self, license_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_name | str | Can be a full or short file name.
Use an empty string to switch to evaluation mode. | #### set_license Licenses the component. ```python def set_license(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | A stream that contains the license. | ### LoadSaveOptions class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/loadsaveoptions.md #### LoadSaveOptions class Specifies additional options for loading and saving of a document to be assembled. The LoadSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new instance of this class without any properties specified. | | __init__ | Creates a new instance of this class with the specified file format to save an assembled document to. | ##### Properties | Property | Description | | :- | :- | | save_format | Gets or sets a file format to save an assembled document to. `FileFormat.UNSPECIFIED` is the default. | | resource_load_base_uri | Gets or sets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML
template document to be assembled and saved to a non-HTML format. The default value is an empty string. | | resource_save_folder | Gets or sets a path to a folder to store external resource files while an assembled document loaded from a non-HTML
format is being saved to HTML. The default value is an empty string. | ### LoadSaveOptions constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/loadsaveoptions/__init__.md #### __init__ Creates a new instance of this class without any properties specified. ```python def __init__(self): ... ``` #### __init__ Creates a new instance of this class with the specified file format to save an assembled document to. ```python def __init__(self, save_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | save_format | `FileFormat` | A file format to save an assembled document to. | ### resource_load_base_uri property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/loadsaveoptions/resource_load_base_uri.md #### resource_load_base_uri property Gets or sets a base URI to resolve external resource files' relative URIs to absolute ones while loading an HTML template document to be assembled and saved to a non-HTML format. The default value is an empty string. ##### Remarks When loading an HTML document from a file, its containing folder is used as a base URI by default, which cannot happen when loading an HTML document from a stream. Set this property to specify a base URI when loading an HTML document from a stream or to override the default base URI when loading an HTML document from a file. A value of this property is ignored in the following cases: | | | | ##### Definition: ```python @property def resource_load_base_uri(self): ... @resource_load_base_uri.setter def resource_load_base_uri(self, value): ... ``` ### resource_save_folder property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/loadsaveoptions/resource_save_folder.md #### resource_save_folder property Gets or sets a path to a folder to store external resource files while an assembled document loaded from a non-HTML format is being saved to HTML. The default value is an empty string. ##### Remarks By default, when saving an assembled document to an HTML file, external resource files are stored to a folder having the same name as the HTML file without extension plus the "_files" suffix. This folder is located in the same folder as the HTML file. However, this cannot be done when saving an assembled document to an HTML stream. Set this property to specify a path to a folder to store external resource files when saving an assembled document to an HTML stream or to override the default folder when saving an assembled document to an HTML file. A value of this property is ignored if an assembled document being saved to HTML was loaded from HTML as well (external resource files are not stored and links to them are not changed then). ##### Definition: ```python @property def resource_save_folder(self): ... @resource_save_folder.setter def resource_save_folder(self, value): ... ``` ### save_format property Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/loadsaveoptions/save_format.md #### save_format property Gets or sets a file format to save an assembled document to. `FileFormat.UNSPECIFIED` is the default. ##### Remarks When the value of this property is not specified, `DocumentAssembler` behaves as follows: - When you specify a file path to save an assembled document, the save file format is determined upon file extension from the path. - When you specify a stream to save an assembled document, the save file format remains the same as the file format of a loaded template document. Beware that it is not always possible to save an assembled document to any file format using GroupDocs.Assembly. For example, it is impossible to save a document loaded from a Word Processing file format (such as DOCX) to a Spreadsheet file format (such as XLSX). For more information on possible combinations of load and save file formats supported by GroupDocs.Assembly, please check GroupDocs.Assembly online documentation. ##### Definition: ```python @property def save_format(self): ... @save_format.setter def save_format(self, value): ... ``` ### Metered class Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/metered.md #### Metered class Provides methods to work with metered licensing. The Metered type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates a new instance of this class. | ##### Methods | Method | Description | | :- | :- | | set_metered_key | Enables metered licensing for the component by specifying appropriate public and private metered keys. | | get_consumption_quantity | Returns the currently consumed number of megabytes. | | get_consumption_credit | Returns the currently consumed number of credits. | ##### Example In this example, an attempt to set metered public and private keys is made: ### Metered constructor Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/metered/__init__.md #### __init__ Creates a new instance of this class. ```python def __init__(self): ... ``` ### get_consumption_credit method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/metered/get_consumption_credit.md #### get_consumption_credit Returns the currently consumed number of credits. ##### Returns The currently consumed number of credits. ```python def get_consumption_credit(self): ... ``` ### get_consumption_quantity method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/metered/get_consumption_quantity.md #### get_consumption_quantity Returns the currently consumed number of megabytes. ##### Returns The currently consumed number of megabytes. ```python def get_consumption_quantity(self): ... ``` ### set_metered_key method Path: https://reference.groupdocs.com/assembly/python-net/groupdocs.assembly/metered/set_metered_key.md #### set_metered_key Enables metered licensing for the component by specifying appropriate public and private metered keys. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | str | The public metered key. | | private_key | str | The private metered key. | # GroupDocs.Classification > Classify documents and text with IAB-2, Documents, and Sentiment taxonomies. ## Java ### GroupDocs.Classification for Java Path: https://reference.groupdocs.com/classification/java.md ## .NET ### GroupDocs.Classification for .NET Path: https://reference.groupdocs.com/classification/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Classification | The GroupDocs.Classification namespace provides classes for texts and documents classification The main classes in the namespace are Classifier is the entry point for the classification. Taxonomy represents all supported taxonomies. PrecisionRecallBalance represents all supported precision/recall balances for Documents taxonomy. | | GroupDocs.Classification.DTO | The GroupDcos.Classification.DTO namespace provide classes for data type objects. | | GroupDocs.Classification.Exceptions | The GroupDocs.Classification.Exceptions namespace provides exception classes. | ### GroupDocs.Classification.DTO Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto.md The GroupDcos.Classification.DTO namespace provide classes for data type objects. #### Classes | Class | Description | | --- | --- | | ClassificationResponse | Classification response. | | ClassificationResult | Classifition results. | | SentimentConfig | Configuration for the sentiment classification. | ### ClassificationResponse Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresponse.md #### ClassificationResponse class Classification response. ```csharp public class ClassificationResponse ``` #### Constructors | Name | Description | | --- | --- | | ClassificationResponse() | The default constructor. | #### Properties | Name | Description | | --- | --- | | BestClassName { get; set; } | Gets or sets best class name. | | BestClassProbability { get; set; } | Gets or sets best class probability. | | BestResults { get; set; } | Gets or sets array of best classes results. | ### BestClassName Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresponse/bestclassname.md #### ClassificationResponse.BestClassName property Gets or sets best class name. ```csharp public string BestClassName { get; set; } ``` ### BestClassProbability Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresponse/bestclassprobability.md #### ClassificationResponse.BestClassProbability property Gets or sets best class probability. ```csharp public float BestClassProbability { get; set; } ``` ### BestResults Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresponse/bestresults.md #### ClassificationResponse.BestResults property Gets or sets array of best classes results. ```csharp public ClassificationResult[] BestResults { get; set; } ``` ### ClassificationResponse Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresponse/classificationresponse.md #### ClassificationResponse constructor The default constructor. ```csharp public ClassificationResponse() ``` ### ClassificationResult Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresult.md #### ClassificationResult class Classifition results. ```csharp public class ClassificationResult ``` #### Constructors | Name | Description | | --- | --- | | ClassificationResult() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Name { get; set; } | Gets or sets the name of the class. | | Probability { get; set; } | Gets or sets the probability of class. | ### ClassificationResult Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresult/classificationresult.md #### ClassificationResult constructor The default constructor. ```csharp public ClassificationResult() ``` ### Name Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresult/name.md #### ClassificationResult.Name property Gets or sets the name of the class. ```csharp public string Name { get; set; } ``` ### Probability Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/classificationresult/probability.md #### ClassificationResult.Probability property Gets or sets the probability of class. ```csharp public float Probability { get; set; } ``` ### SentimentConfig Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/sentimentconfig.md #### SentimentConfig class Configuration for the sentiment classification. ```csharp public class SentimentConfig ``` #### Fields | Name | Description | | --- | --- | | static readonly AllLanguages | Sentiment configuration for all languages. | | static readonly ChineseLanguage | Sentiment configuration for the Chinese language. | | static readonly EnglishLanguage | Sentiment configuration for the English language. | ### AllLanguages Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/sentimentconfig/alllanguages.md #### SentimentConfig.AllLanguages field Sentiment configuration for all languages. ```csharp public static readonly SentimentConfig AllLanguages; ``` ### ChineseLanguage Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/sentimentconfig/chineselanguage.md #### SentimentConfig.ChineseLanguage field Sentiment configuration for the Chinese language. ```csharp public static readonly SentimentConfig ChineseLanguage; ``` ### EnglishLanguage Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.dto/sentimentconfig/englishlanguage.md #### SentimentConfig.EnglishLanguage field Sentiment configuration for the English language. ```csharp public static readonly SentimentConfig EnglishLanguage; ``` ### GroupDocs.Classification.Exceptions Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.exceptions.md The GroupDocs.Classification.Exceptions namespace provides exception classes. #### Classes | Class | Description | | --- | --- | | ApiException | GroupDocs.Classification api exception. | ### ApiException Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.exceptions/apiexception.md #### ApiException class GroupDocs.Classification api exception. ```csharp public class ApiException : Exception ``` #### Constructors | Name | Description | | --- | --- | | ApiException(string) | Initializes new instance of ApiException class. | ### ApiException Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.exceptions/apiexception/apiexception.md #### ApiException constructor Initializes new instance of ApiException class. ```csharp public ApiException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Message. | ### GroupDocs.Classification Path: https://reference.groupdocs.com/classification/net/groupdocs.classification.md The GroupDocs.Classification namespace provides classes for texts and documents classification The main classes in the namespace are Classifier is the entry point for the classification. Taxonomy represents all supported taxonomies. PrecisionRecallBalance represents all supported precision/recall balances for Documents taxonomy. #### Classes | Class | Description | | --- | --- | | Classifier | Provides methods for executing text classification. | | License | Provides methods to license the component. | | Metered | Provides methods to set metered key. | | SentimentClassifier | Provides methods for executing text classification. | | TaxonomyClasses | Available taxonomies. | #### Enumeration | Enumeration | Description | | --- | --- | | PrecisionRecallBalance | Enum for the balance between precision and recall. | | Taxonomy | Enum for supported taxonomies. | ### Classifier Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/classifier.md #### Classifier class Provides methods for executing text classification. ```csharp public class Classifier ``` #### Constructors | Name | Description | | --- | --- | | Classifier(SentimentConfig) | Initializes a new instance of the `Classifier` class. | #### Methods | Name | Description | | --- | --- | | Classify(string, int, Taxonomy, PrecisionRecallBalance) | Classifies text. | | Classify(Stream, string, int, Taxonomy, PrecisionRecallBalance, string) | Classifies document from stream. | | Classify(string, string, int, Taxonomy, PrecisionRecallBalance, string) | Classifies document by file name and directory name. | ### Classifier Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/classifier/classifier.md #### Classifier constructor Initializes a new instance of the `Classifier` class. ```csharp public Classifier(SentimentConfig sentimentConfig = null) ``` | Parameter | Type | Description | | --- | --- | --- | | sentimentConfig | SentimentConfig | Sentiment classifier configuration. | ### Classify Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/classifier/classify.md #### Classify(string, int, Taxonomy, PrecisionRecallBalance) Classifies text. ```csharp public ClassificationResponse Classify(string text, int bestClassesCount = 1, Taxonomy taxonomy = Taxonomy.Iab2, PrecisionRecallBalance precisionRecallBalance = PrecisionRecallBalance.Default) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | Raw text to classify. | | bestClassesCount | Int32 | Count of the best classes to return. | | taxonomy | Taxonomy | Taxonomy to use for classification. | | precisionRecallBalance | PrecisionRecallBalance | Balance between precision and recall: precision, recall or default. | ##### Return Value `ClassificationResponse` with classification results. ##### Exceptions | exception | condition | | --- | --- | | ApiException | An API exception occurred. | #### Classify(string, string, int, Taxonomy, PrecisionRecallBalance, string) Classifies document by file name and directory name. ```csharp public ClassificationResponse Classify(string filename, string directory, int bestClassesCount = 1, Taxonomy taxonomy = Taxonomy.Iab2, PrecisionRecallBalance precisionRecallBalance = PrecisionRecallBalance.Default, string password = null) ``` | Parameter | Type | Description | | --- | --- | --- | | filename | String | Document name. | | directory | String | Document directory. | | bestClassesCount | Int32 | Count of the best classes to return. | | taxonomy | Taxonomy | Taxonomy to use for classification. | | precisionRecallBalance | PrecisionRecallBalance | Balance between precision and recall: precision, recall or default. | | password | String | Document password. | ##### Return Value `ClassificationResponse` with classification results. ##### Exceptions | exception | condition | | --- | --- | | ApiException | An API exception occurred. | #### Classify(Stream, string, int, Taxonomy, PrecisionRecallBalance, string) Classifies document from stream. ```csharp public ClassificationResponse Classify(Stream stream, string filename = null, int bestClassesCount = 1, Taxonomy taxonomy = Taxonomy.Iab2, PrecisionRecallBalance precisionRecallBalance = PrecisionRecallBalance.Default, string password = null) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | File stream. | | filename | String | File name (for optional file type identification). | | bestClassesCount | Int32 | Count of the best classes to return. | | taxonomy | Taxonomy | Taxonomy to use for classification. | | precisionRecallBalance | PrecisionRecallBalance | Balance between precision and recall: precision, recall or default. | | password | String | Document password. | ##### Return Value `ClassificationResponse` with classification results. ##### Exceptions | exception | condition | | --- | --- | | ApiException | An API exception occurred. | ### License Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/license.md #### License class Provides methods to license the component. ```csharp public class License ``` #### Constructors | Name | Description | | --- | --- | | License() | Initializes a new instance of this class. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | ### License Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/license/license.md #### License constructor Initializes a new instance of this class. ```csharp public License() ``` ### SetLicense Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/license/setlicense.md #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string licenseName) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseName | String | Can be a full or short file name or name of an embedded resource. Use an empty string to switch to evaluation mode. | ##### Remarks Tries to find the license in the following locations: 1. Explicit path. 2. The folder that contains the Aspose component assembly. 3. The folder that contains the client's calling assembly. 4. The folder that contains the entry (startup) assembly. 5. An embedded resource in the client's calling assembly. **Note:**On the .NET Compact Framework, tries to find the license only in these locations: 1. Explicit path. 2. An embedded resource in the client's calling assembly. #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | A stream that contains the license. | ##### Remarks Use this method to load a license from a stream. ### Metered Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/metered.md #### Metered class Provides methods to set metered key. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | Initializes a new instance of this class. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Sets metered public and private key | | static GetConsumptionCredit() | Gets consumption credit | | static GetConsumptionQuantity() | Gets consumption file size | ##### Examples In this example, an attempt will be made to set metered public and private key ```csharp [C#] Metered matered = new Metered(); matered.SetMeteredKey("PublicKey", "PrivateKey"); [Visual Basic] Dim matered As Metered = New Metered matered.SetMeteredKey("PublicKey", "PrivateKey") ``` ### GetConsumptionCredit Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Gets consumption credit ```csharp public static decimal GetConsumptionCredit() ``` ##### Return Value consumption quantity ### GetConsumptionQuantity Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Gets consumption file size ```csharp public static decimal GetConsumptionQuantity() ``` ##### Return Value consumption quantity ### Metered Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/metered/metered.md #### Metered constructor Initializes a new instance of this class. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/metered/setmeteredkey.md #### Metered.SetMeteredKey method Sets metered public and private key ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | public key | | privateKey | String | private key | ### PrecisionRecallBalance Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/precisionrecallbalance.md #### PrecisionRecallBalance enumeration Enum for the balance between precision and recall. ```csharp public enum PrecisionRecallBalance ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Default | `0` | Default value for the balance between precision and recall. | | Precision | `1` | Priority for precision. | | Recall | `2` | Priority for recall. | ### SentimentClassifier Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/sentimentclassifier.md #### SentimentClassifier class Provides methods for executing text classification. ```csharp public class SentimentClassifier ``` #### Constructors | Name | Description | | --- | --- | | SentimentClassifier(SentimentConfig) | Initializes a new instance of the `SentimentClassifier` class. | #### Methods | Name | Description | | --- | --- | | Classify(string, int, Taxonomy) | Sentiment classification for a text. | | PositiveProbability(string) | Returns positive probability Sentiment classification for a text. | ### Classify Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/sentimentclassifier/classify.md #### SentimentClassifier.Classify method Sentiment classification for a text. ```csharp public ClassificationResponse Classify(string text, int bestClassesCount = 1, Taxonomy taxonomy = Taxonomy.Sentiment) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | Raw text to classify. | | bestClassesCount | Int32 | Count of the best classes to return. | | taxonomy | Taxonomy | Sentiment taxonomy (Sentiment or Sentiment3). | ##### Return Value `ClassificationResponse` with classification results. ##### Exceptions | exception | condition | | --- | --- | | ApiException | An API exception occurred. | ### PositiveProbability Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/sentimentclassifier/positiveprobability.md #### SentimentClassifier.PositiveProbability method Returns positive probability Sentiment classification for a text. ```csharp public float PositiveProbability(string text) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | Raw text to classify. | ##### Return Value Probability that the text is positive. ##### Exceptions | exception | condition | | --- | --- | | ApiException | An API exception occurred. | ### SentimentClassifier Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/sentimentclassifier/sentimentclassifier.md #### SentimentClassifier constructor Initializes a new instance of the `SentimentClassifier` class. ```csharp public SentimentClassifier(SentimentConfig config = null) ``` | Parameter | Type | Description | | --- | --- | --- | | config | SentimentConfig | Sentiment classifier configuration. | ### Taxonomy Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomy.md #### Taxonomy enumeration Enum for supported taxonomies. ```csharp public enum Taxonomy ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Iab2 | `0` | Default Taxonomy (IAB-2). | | Documents | `1` | Taxonomy with 10 document classes and one Others class. | | Sentiment | `2` | Taxonomy for the binary sentiment classification. | | Sentiment3 | `3` | Taxonomy for 3-classes sentiment classification (negative/neutral/positive). | ### TaxonomyClasses Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomyclasses.md #### TaxonomyClasses class Available taxonomies. ```csharp public class TaxonomyClasses ``` #### Constructors | Name | Description | | --- | --- | | TaxonomyClasses() | The default constructor. | #### Methods | Name | Description | | --- | --- | | static GetClassesForTaxonomy(Taxonomy) | Gets a list of the class names for the taxonomy. | #### Fields | Name | Description | | --- | --- | | static readonly DocumentsClasses | The list of classes in Documents taxonomy. | | static readonly Iab2Classes | The list of classes in IAB-2 taxonomy. | | static readonly Sentiment3Classes | The list of classes in Sentiment3 taxonomy. | | static readonly SentimentClasses | The list of classes in Sentiment taxonomy. | ### DocumentsClasses Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomyclasses/documentsclasses.md #### TaxonomyClasses.DocumentsClasses field The list of classes in Documents taxonomy. ```csharp public static readonly string[] DocumentsClasses; ``` ### GetClassesForTaxonomy Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomyclasses/getclassesfortaxonomy.md #### TaxonomyClasses.GetClassesForTaxonomy method Gets a list of the class names for the taxonomy. ```csharp public static string[] GetClassesForTaxonomy(Taxonomy taxonomy) ``` | Parameter | Type | Description | | --- | --- | --- | | taxonomy | Taxonomy | Taxonomy. | ##### Return Value List of the class names for the taxonomy. ### Iab2Classes Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomyclasses/iab2classes.md #### TaxonomyClasses.Iab2Classes field The list of classes in IAB-2 taxonomy. ```csharp public static readonly string[] Iab2Classes; ``` ### Sentiment3Classes Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomyclasses/sentiment3classes.md #### TaxonomyClasses.Sentiment3Classes field The list of classes in Sentiment3 taxonomy. ```csharp public static readonly string[] Sentiment3Classes; ``` ### SentimentClasses Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomyclasses/sentimentclasses.md #### TaxonomyClasses.SentimentClasses field The list of classes in Sentiment taxonomy. ```csharp public static readonly string[] SentimentClasses; ``` ### TaxonomyClasses Path: https://reference.groupdocs.com/classification/net/groupdocs.classification/taxonomyclasses/taxonomyclasses.md #### TaxonomyClasses constructor The default constructor. ```csharp public TaxonomyClasses() ``` # GroupDocs.Comparison > Detect and merge changes in text, style, and formatting across documents. ## Java ### GroupDocs.Comparison for Java Path: https://reference.groupdocs.com/comparison/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.comparison | The package provides classes to compare documents for all popular document formats. | | com.groupdocs.comparison.cells.style | Provides classes for working with component styles in Cells format files. | | com.groupdocs.comparison.common | Provides utility classes with methods that can be useful when using the GroupDocs.Comparison API. | | com.groupdocs.comparison.common.delegates | The package provides classes that allows to specify additional options for documents comparison process. | | com.groupdocs.comparison.common.exceptions | Provides exceptions which can be thrown during comparison process in GroupDocs.Comparison. | | com.groupdocs.comparison.common.function | Provides functional interfaces that allow accessing pages data during the document comparison process. | | com.groupdocs.comparison.interfaces | Provides interfaces that define contracts for various components and functionalities in GroupDocs.Comparison. | | com.groupdocs.comparison.license | Provides classes for working with GroupDocs.Comparison license. | | com.groupdocs.comparison.localization | Provides classes and interfaces for localization in GroupDocs.Comparison. | | com.groupdocs.comparison.logging | Provides classes and interfaces for logging in GroupDocs.Comparison. | | com.groupdocs.comparison.options | Provides classes and interfaces for configuring various options and settings related to document comparison. | | com.groupdocs.comparison.options.enums | Provides enumerations for various options and settings in GroupDocs.Comparison. | | com.groupdocs.comparison.options.load | Provides classes and options for configuring loading documents in GroupDocs.Comparison. | | com.groupdocs.comparison.options.save | Provides classes and options for saving and configuring the output of GroupDocs.Comparison. | | com.groupdocs.comparison.options.style | Provides classes and options for styling and configuring the visual appearance of the document comparison output in GroupDocs.Comparison. | | com.groupdocs.comparison.result | Provides classes and interfaces for working with the result of document comparison. | | com.groupdocs.comparison.utils | | | com.groupdocs.comparison.words.revision | Provides classes and interfaces for representing revisions and tracked changes in Word documents during the comparison process in GroupDocs.Comparison for Java. | ### com.groupdocs.comparison.cells.style Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.cells.style.md Provides classes for working with component styles in Cells format files. The classes in this package allow you to work with various styles and formatting options specific to Cells format files (e.g., Excel files). Key classes in this package include: * MergeType - Represents the enumeration the type of cell merge. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Enumerations | Enum | Description | | --- | --- | | MergeType | Enumerates the type of cell merge. | ### MergeType Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.cells.style/mergetype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum MergeType extends Enum ``` Enumerates the type of cell merge. #### Fields | Field | Description | | --- | --- | | NONE | Indicates that the cell does not merge. | | HORIZONTAL | Indicates that the cell merges along the row. | | VERTICAL | Indicates that the cell merges along the column. | | RANGE | Indicates that the cell merges along the row and column, creating an area. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### NONE ``` public static final MergeType NONE ``` Indicates that the cell does not merge. ##### HORIZONTAL ``` public static final MergeType HORIZONTAL ``` Indicates that the cell merges along the row. ##### VERTICAL ``` public static final MergeType VERTICAL ``` Indicates that the cell merges along the column. ##### RANGE ``` public static final MergeType RANGE ``` Indicates that the cell merges along the row and column, creating an area. ##### values() ``` public static MergeType[] values() ``` **Returns:** com.groupdocs.comparison.cells.style.MergeType[] ##### valueOf(String name) ``` public static MergeType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MergeType ### com.groupdocs.comparison.common.delegates Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.delegates.md The package provides classes that allows to specify additional options for documents comparison process. ### com.groupdocs.comparison.common.exceptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.exceptions.md Provides exceptions which can be thrown during comparison process in GroupDocs.Comparison. The main exception classes in this package are: * ComparisonException - The base exception class for all exceptions related to document comparison. * InvalidPasswordException - The exception that is thrown when an invalid password is provided for a password-protected document. * UnsupportedFileFormatException - The exception that is thrown when file of this format is not supported by Comparison. The exceptions in this package provide specific error handling and reporting for common operations in GroupDocs.Comparison. They allow for more granular error detection and handling, enabling developers to respond appropriately to different error scenarios. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | ComparisonException | Base class for all exception that is thrown while using Comparison API. | | DocumentComparisonException | The exception that is thrown when an error occurs while comparing documents. | | FileFormatException | The exception that is thrown when comparing files with different comparison types. | | InvalidPasswordException | The exception that is thrown when specified password is incorrect. | | PasswordProtectedFileException | The exception that is thrown when document is protected by password but the password was not provided. | | UnsupportedFileFormatException | The exception that is thrown when file of this format is not supported by Comparison. | ### ComparisonException Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.exceptions/comparisonexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException ``` public class ComparisonException extends GroupDocsException ``` Base class for all exception that is thrown while using Comparison API. #### Constructors | Constructor | Description | | --- | --- | | ComparisonException() | Initializes a new instance of the ComparisonException class. | | ComparisonException(String message) | Initializes a new instance of the ComparisonException class with error message. | | ComparisonException(String message, Throwable cause) | Initializes a new instance of the ComparisonException class with error message and an object that represents the cause of the exception. | | ComparisonException(Throwable cause) | Initializes a new instance of the ComparisonException class with an object that represents the cause of the exception. | ##### ComparisonException() ``` public ComparisonException() ``` Initializes a new instance of the ComparisonException class. ##### ComparisonException(String message) ``` public ComparisonException(String message) ``` Initializes a new instance of the ComparisonException class with error message. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message | ##### ComparisonException(String message, Throwable cause) ``` public ComparisonException(String message, Throwable cause) ``` Initializes a new instance of the ComparisonException class with error message and an object that represents the cause of the exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message | | cause | java.lang.Throwable | The cause of the exception | ##### ComparisonException(Throwable cause) ``` public ComparisonException(Throwable cause) ``` Initializes a new instance of the ComparisonException class with an object that represents the cause of the exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cause | java.lang.Throwable | The cause of the exception | ### DocumentComparisonException Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.exceptions/documentcomparisonexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.comparison.common.exceptions.ComparisonException ``` public class DocumentComparisonException extends ComparisonException ``` The exception that is thrown when an error occurs while comparing documents. #### Constructors | Constructor | Description | | --- | --- | | DocumentComparisonException(String message, Throwable cause) | Initializes a new instance of the DocumentComparisonException class with error message and an object that represents the cause of the exception. | | DocumentComparisonException(Throwable cause) | Initializes a new instance of the DocumentComparisonException class with an object that represents the cause of the exception. | ##### DocumentComparisonException(String message, Throwable cause) ``` public DocumentComparisonException(String message, Throwable cause) ``` Initializes a new instance of the DocumentComparisonException class with error message and an object that represents the cause of the exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message | | cause | java.lang.Throwable | The cause of the exception | ##### DocumentComparisonException(Throwable cause) ``` public DocumentComparisonException(Throwable cause) ``` Initializes a new instance of the DocumentComparisonException class with an object that represents the cause of the exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cause | java.lang.Throwable | The cause of the exception | ### FileFormatException Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.exceptions/fileformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.comparison.common.exceptions.ComparisonException ``` public class FileFormatException extends ComparisonException ``` The exception that is thrown when comparing files with different comparison types. #### Constructors | Constructor | Description | | --- | --- | | FileFormatException(String sourceComparisonType, String targetComparisonType) | Initializes a new instance of the FileFormatException class with source and target comparison types. | ##### FileFormatException(String sourceComparisonType, String targetComparisonType) ``` public FileFormatException(String sourceComparisonType, String targetComparisonType) ``` Initializes a new instance of the FileFormatException class with source and target comparison types. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sourceComparisonType | java.lang.String | The source comparison type | | targetComparisonType | java.lang.String | The target comparison type | ### InvalidPasswordException Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.exceptions/invalidpasswordexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.comparison.common.exceptions.ComparisonException ``` public class InvalidPasswordException extends ComparisonException ``` The exception that is thrown when specified password is incorrect. #### Constructors | Constructor | Description | | --- | --- | | InvalidPasswordException() | Initializes a new instance of the InvalidPasswordException class. | ##### InvalidPasswordException() ``` public InvalidPasswordException() ``` Initializes a new instance of the InvalidPasswordException class. ### PasswordProtectedFileException Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.exceptions/passwordprotectedfileexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.comparison.common.exceptions.ComparisonException ``` public class PasswordProtectedFileException extends ComparisonException ``` The exception that is thrown when document is protected by password but the password was not provided. #### Constructors | Constructor | Description | | --- | --- | | PasswordProtectedFileException() | Initializes a new instance of the PasswordProtectedFileException class. | | PasswordProtectedFileException(String message, Throwable cause) | Initializes a new instance of the PasswordProtectedFileException class with error message and an object that represents the cause of the exception. | ##### PasswordProtectedFileException() ``` public PasswordProtectedFileException() ``` Initializes a new instance of the PasswordProtectedFileException class. ##### PasswordProtectedFileException(String message, Throwable cause) ``` public PasswordProtectedFileException(String message, Throwable cause) ``` Initializes a new instance of the PasswordProtectedFileException class with error message and an object that represents the cause of the exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message | | cause | java.lang.Throwable | The cause of the exception | ### UnsupportedFileFormatException Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.exceptions/unsupportedfileformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.comparison.common.exceptions.ComparisonException ``` public class UnsupportedFileFormatException extends ComparisonException ``` The exception that is thrown when file of this format is not supported by Comparison. #### Constructors | Constructor | Description | | --- | --- | | UnsupportedFileFormatException() | Initializes a new instance of the UnsupportedFileFormatException class. | | UnsupportedFileFormatException(String filePath) | Initializes a new instance of the UnsupportedFileFormatException class with path to the file. | | UnsupportedFileFormatException(Throwable cause) | Initializes a new instance of the UnsupportedFileFormatException class with an object that represents the cause of the exception. | ##### UnsupportedFileFormatException() ``` public UnsupportedFileFormatException() ``` Initializes a new instance of the UnsupportedFileFormatException class. ##### UnsupportedFileFormatException(String filePath) ``` public UnsupportedFileFormatException(String filePath) ``` Initializes a new instance of the UnsupportedFileFormatException class with path to the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file | ##### UnsupportedFileFormatException(Throwable cause) ``` public UnsupportedFileFormatException(Throwable cause) ``` Initializes a new instance of the UnsupportedFileFormatException class with an object that represents the cause of the exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cause | java.lang.Throwable | The cause of the exception | ### com.groupdocs.comparison.common.function Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.function.md Provides functional interfaces that allow accessing pages data during the document comparison process. The functional interfaces in this package are used to access data of pages when performing document comparison using GroupDocs.Comparison. The main functional interfaces in this package are: * CreatePageStreamFunction - Allows handling creating output stream used by Comparison to save pages data. * ReleasePageStreamFunction - Allows handling releasing output stream used by Comparison to save pages data. These functional interfaces can be used to define custom logic and behavior when working with document pages. They provide flexibility to customize how and where to save pages are processed. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Interfaces | Interface | Description | | --- | --- | | CreatePageStreamFunction | Functional interface that is used to create output stream used by Comparison to save preview image. | | ReleasePageStreamFunction | Functional interface that is used to close output stream that was used by Comparison to save preview image. | ### CreatePageStreamFunction Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.function/createpagestreamfunction.md ### ReleasePageStreamFunction Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.function/releasepagestreamfunction.md ### com.groupdocs.comparison.common Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common.md Provides utility classes with methods that can be useful when using the GroupDocs.Comparison API. The classes in this package offer various utility methods that can assist in working with the GroupDocs.Comparison API and performing common tasks related to document comparison. Key classes in this package include: * Utils - Provides common helper methods which can be useful when using Comparison API. These utility classes aim to simplify common tasks and provide convenience methods for working with files, paths, and streams in the context of document comparison using the GroupDocs.Comparison API. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | MemoryCleaner | Cleans different resources to free memory. | | Utils | Utility class that provides common helper methods which can be useful when using Comparison API. | ### MemoryCleaner Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common/memorycleaner.md **Inheritance:** java.lang.Object ``` public final class MemoryCleaner ``` Cleans different resources to free memory. This class provides methods to clear heap memory, delete temp files, and clear font registry information. It also includes a method to safely clear thread-local instances for the current thread. Example usage: ```` // Clean heap memory, keeping font settings MemoryCleaner.clearKeepingFontSettings(); // Clean heap memory and delete temp files MemoryCleaner.clear(); // Clean heap memory from static PDF instances MemoryCleaner.clearStaticInstances(); // Delete all temp files created by PDF in the system temp directory MemoryCleaner.clearAllTempFiles(); // Clear font registry information from heap memory MemoryCleaner.clearFontRegistry(); // Safely clear thread-local instances for the current thread MemoryCleaner.clearCurrentThreadLocals(); ```` #### Constructors | Constructor | Description | | --- | --- | | MemoryCleaner() | | #### Methods | Method | Description | | --- | --- | | clearKeepingFontSettings() | Clears heap memory from static PDF instances (static and threadLocal) and deletes all temp files. | | clear() | Clears heap memory from static PDF instances (static and threadLocal) and deletes all temp files. | | clearStaticInstances() | Clears heap memory from static PDF instances. | | clearAllTempFiles() | Clears temp files created by GroupDocs.Comparison in the system temp directory. | | clearFontRegistry() | Clears font registry information from heap memory. | | clearCurrentThreadLocals() | Safely clears heap memory from thread-local instances for the current thread. | ##### MemoryCleaner() ``` public MemoryCleaner() ``` ##### clearKeepingFontSettings() ``` public static void clearKeepingFontSettings() ``` Clears heap memory from static PDF instances (static and threadLocal) and deletes all temp files. This method does not affect font settings. ##### clear() ``` public static void clear() ``` Clears heap memory from static PDF instances (static and threadLocal) and deletes all temp files. ##### clearStaticInstances() ``` public static void clearStaticInstances() ``` Clears heap memory from static PDF instances. ##### clearAllTempFiles() ``` public static void clearAllTempFiles() ``` Clears temp files created by GroupDocs.Comparison in the system temp directory. ##### clearFontRegistry() ``` public static void clearFontRegistry() ``` Clears font registry information from heap memory. ##### clearCurrentThreadLocals() ``` public static void clearCurrentThreadLocals() ``` Safely clears heap memory from thread-local instances for the current thread. ### Utils Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.common/utils.md **Inheritance:** java.lang.Object ``` public class Utils ``` Utility class that provides common helper methods which can be useful when using Comparison API. #### Constructors | Constructor | Description | | --- | --- | | Utils() | | #### Methods | Method | Description | | --- | --- | | getMethodByTag(Class clazz, String methodTag, boolean isGetter) | | | closeStreams(Closeable[] closeables) | Quietly closes all provided objects catching and logging all IOException. | | closeStreams(BiConsumer consumer, Closeable[] closeables) | Closes the specified streams, suppressing any exceptions that occur logging or processing IOException | | isText(String data) | Checks that input string has only chars allowed in usual string of any language | | containsOnlyLatinCharsAndPunctuation(String data) | | | toString(TextStyle textStyle) | | ##### Utils() ``` public Utils() ``` ##### getMethodByTag(Class clazz, String methodTag, boolean isGetter) ``` public static Optional getMethodByTag(Class clazz, String methodTag, boolean isGetter) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | clazz | java.lang.Class | | | methodTag | java.lang.String | | | isGetter | boolean | | **Returns:** java.util.Optional ##### closeStreams(Closeable[] closeables) ``` public static boolean closeStreams(Closeable[] closeables) ``` Quietly closes all provided objects catching and logging all IOException. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | closeables | java.io.Closeable[] | Any object that implements Closeable interface, may be null | **Returns:** boolean - true if all closeable objects were closed without exception, otherwise false ##### closeStreams(BiConsumer consumer, Closeable[] closeables) ``` public static boolean closeStreams(BiConsumer consumer, Closeable[] closeables) ``` Closes the specified streams, suppressing any exceptions that occur logging or processing IOException If any of the streams is null or encounters an exception while closing, it is ignored. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | consumer | java.util.function.BiConsumer | Will be called for each pair of closeable and IOException when closing throws the exception, may be null | | closeables | java.io.Closeable[] | Any object that implements Closeable interface, may be null | **Returns:** boolean - true if all closeable objects were closed without exception, otherwise false ##### isText(String data) ``` public static boolean isText(String data) ``` Checks that input string has only chars allowed in usual string of any language **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | data | java.lang.String | | **Returns:** boolean ##### containsOnlyLatinCharsAndPunctuation(String data) ``` public static boolean containsOnlyLatinCharsAndPunctuation(String data) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | data | java.lang.String | | **Returns:** boolean ##### toString(TextStyle textStyle) ``` public static void toString(TextStyle textStyle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | textStyle | com.aspose.note.TextStyle | | ### com.groupdocs.comparison.interfaces Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.interfaces.md Provides interfaces that define contracts for various components and functionalities in GroupDocs.Comparison. The main interfaces in this package are: * IDocumentInfo - The interface that defines the contract for the information about a document. The interfaces in this package provide the necessary contracts for implementing and interacting with different components and functionalities in GroupDocs.Comparison. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Provides access to document properties. | ### IDocumentInfo Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.interfaces/idocumentinfo.md **All Implemented Interfaces:** java.io.Closeable ``` public interface IDocumentInfo extends Closeable ``` Provides access to document properties. More details about its usage can be found in Document.getDocumentInfo() method or in a documentation. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { try (IDocumentInfo documentInfo = comparer.getSource().getDocumentInfo()) { for (int i = 0; i < documentInfo.getPageCount(); i++) { System.out.printf("File type: %s%nNumber of pages: %d", documentInfo.getFileType().getFileFormat(), documentInfo.getPageCount()); } } } ```` #### Methods | Method | Description | | --- | --- | | getFileType() | Gets a type of the file represented by FileType enum. | | setFileType(FileType value) | Sets a type of the file using FileType enum. | | getPageCount() | Gets a count of the file. | | setPageCount(int value) | Sets a count of the file. | | getSize() | Gets a size of the file. | | setSize(long value) | Sets a size of the file. | | getPagesInfo() | Gets information for each page of the file using PageInfo class. | | setPagesInfo(List pageInfos) | Sets information for each page of the file using PageInfo class. | | close() | Destroys the object making it impossible to get information of the document using this instance of IDocumentInfo object. | ##### getFileType() ``` public abstract FileType getFileType() ``` Gets a type of the file represented by FileType enum. **Returns:** FileType - the type of the file ##### setFileType(FileType value) ``` public abstract void setFileType(FileType value) ``` Sets a type of the file using FileType enum. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | The type of the file | ##### getPageCount() ``` public abstract int getPageCount() ``` Gets a count of the file. **Returns:** int - the count of the file ##### setPageCount(int value) ``` public abstract void setPageCount(int value) ``` Sets a count of the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The count of the file | ##### getSize() ``` public abstract long getSize() ``` Gets a size of the file. **Returns:** long - the size of the file ##### setSize(long value) ``` public abstract void setSize(long value) ``` Sets a size of the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The size of the file | ##### getPagesInfo() ``` public abstract List getPagesInfo() ``` Gets information for each page of the file using PageInfo class. **Returns:** java.util.List - information for each page of the file ##### setPagesInfo(List pageInfos) ``` public abstract void setPagesInfo(List pageInfos) ``` Sets information for each page of the file using PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageInfos | java.util.List | Information for each page of the file | ##### close() ``` public abstract void close() ``` Destroys the object making it impossible to get information of the document using this instance of IDocumentInfo object. Also deletes temporary files and releases used resources. ### com.groupdocs.comparison.license Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.license.md Provides classes for working with GroupDocs.Comparison license. The classes in this package allow you to manage and apply licenses for GroupDocs.Comparison. You can load and set the license file, check the license status, and perform license-related operations. To use the license-related functionality, you need a valid license file provided by GroupDocs. You can load the license file using the License class and then apply it to the GroupDocs.Comparison library. For more details on how to work with licenses in GroupDocs.Comparison, please refer to the Licensing FAQ. #### Classes | Class | Description | | --- | --- | | License | The License class provides methods to set and apply licenses for GroupDocs.Comparison. | | Metered | Provides methods to apply metered license to Comparison. | ### License Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.license/license.md **Inheritance:** java.lang.Object ``` public class License ``` The License class provides methods to set and apply licenses for GroupDocs.Comparison. It allows you to enable or disable specific features of the library based on the license applied. * More about GroupDocs.Comparison licensing: Evaluation Limitations and Licensing Example usage: ```` final License license = new License(); license.setLicense("GroupDocs.License.lic"); ```` #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | isValidLicense() | Gets a value indicating whether license was set or no. | | setLicense(InputStream licenseStream) | Sets a license to Comparison using input stream. | | setLicense(Path licensePath) | Sets a license to Comparison using license file path. | | setLicense(String licensePath) | Sets a license to Comparison using license file path. | ##### License() ``` public License() ``` ##### isValidLicense() ``` public static boolean isValidLicense() ``` Gets a value indicating whether license was set or no. **Returns:** boolean - true if license was set successfully, otherwise false ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Sets a license to Comparison using input stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | The license stream, null unsets license | ##### setLicense(Path licensePath) ``` public final void setLicense(Path licensePath) ``` Sets a license to Comparison using license file path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.nio.file.Path | The license file path | ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Sets a license to Comparison using license file path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license file path | ### Metered Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.license/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods to apply metered license to Comparison. * More about GroupDocs.Comparison licensing: Evaluation Limitations and Licensing Short example usage: ```` final Metered metered = new Metered(); metered.setMeteredKey(publicKey, privateKey); ```` #### Constructors | Constructor | Description | | --- | --- | | Metered() | Initializes a new instance of the Metered class. | #### Methods | Method | Description | | --- | --- | | getConsumptionQuantity() | Gets consumption quantity. | | getConsumptionCredit() | Retrieves amount of used credits. | | setMeteredKey(String publicKey, String privateKey) | Applies metered license using public and private keys. | ##### Metered() ``` public Metered() ``` Initializes a new instance of the Metered class. ##### getConsumptionQuantity() ``` public static double getConsumptionQuantity() ``` Gets consumption quantity. **Returns:** double - consumption quantity ##### getConsumptionCredit() ``` public static double getConsumptionCredit() ``` Retrieves amount of used credits. **Returns:** double - number of already used credits ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Applies metered license using public and private keys. Example usage: ```` final Metered metered = new Metered(); metered.setMeteredKey(publicKey, privateKey); ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | Public key | | privateKey | java.lang.String | Private key | ### com.groupdocs.comparison.localization Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.localization.md Provides classes and interfaces for localization in GroupDocs.Comparison. The localization functionality allows you to customize the text and messages displayed in the comparison process based on different languages or regional preferences. The main classes and interfaces in this package are: * SupportedLocales - A class provides constants representing the supported locales for GroupDocs.Comparison. By using the localization functionality, you can customize the text and messages used in GroupDocs.Comparison to match the language or preferences of your users. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | SupportedLocales | The SupportedLocales class provides constants representing the supported locales for GroupDocs.Comparison. | ### SupportedLocales Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.localization/supportedlocales.md **Inheritance:** java.lang.Object ``` public class SupportedLocales ``` The SupportedLocales class provides constants representing the supported locales for GroupDocs.Comparison. It allows you to specify the locale for language-specific operations, such as formatting and displaying messages. For more information about locales, refer to the Java Locale documentation: Java Locale Example usage: ```` final boolean localeSupported = SupportedLocales.isLocaleSupported(Locale.CANADA); ```` #### Methods | Method | Description | | --- | --- | | isLocaleSupported(String localeString) | Determines whether locale supported or not. | | isLocaleSupported(Locale locale) | Determines whether locale supported or not. | | isLocaleSupported(CultureInfo culture) | Determines whether locale, represented as CultureInfo, supported or not. | ##### isLocaleSupported(String localeString) ``` public static boolean isLocaleSupported(String localeString) ``` Determines whether locale supported or not. Format of localeString is xx-YY or xx_YY , examples: en-US , en_US **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | localeString | java.lang.String | The locale to be checked, may be null | **Returns:** boolean - true if supported, otherwise false ##### isLocaleSupported(Locale locale) ``` public static boolean isLocaleSupported(Locale locale) ``` Determines whether locale supported or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | locale | java.util.Locale | The locale to be checked, not null | **Returns:** boolean - true if supported, otherwise false ##### isLocaleSupported(CultureInfo culture) ``` public static boolean isLocaleSupported(CultureInfo culture) ``` Determines whether locale, represented as CultureInfo, supported or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | culture | com.groupdocs.foundation.utils.CultureInfo | The culture to be checked, not null | **Returns:** boolean - true if supported, otherwise false ### com.groupdocs.comparison.logging Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.logging.md Provides classes and interfaces for logging in GroupDocs.Comparison. The logging functionality allows you to record and monitor various events and messages during the execution of the comparison process. The main classes and interfaces in this package are: * com.groupdocs.comparison.logging.ILogger - The interface that defines the contract for a logger. * ComparisonLogger - Provides methods and a way to configure integrated or set user defined logger. * com.groupdocs.comparison.logging.ConsoleLogger - Provides logger implementation which sends all messages to console. By using the logging functionality, you can customize how log messages are handled, such as writing them to a file, console, or any other destination of your choice. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | ComparisonLogger | Implements logging methods and a way to configure integrated or set user defined logger. | | FileLogger | Logger that writes logs to file. | ### ComparisonLogger Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.logging/comparisonlogger.md **Inheritance:** java.lang.Object ``` public class ComparisonLogger ``` Implements logging methods and a way to configure integrated or set user defined logger. The class allows setting up integrated or custom logger and writing log messages. Example usage: ```` ComparisonLogger.setLogger(new com.groupdocs.comparison.logging.ConsoleLogger(false, true, true, true)); ComparisonLogger.warning(exceptionObject, "Warning message with parameters: {}, {}", "parameter1", 2); ```` #### Methods | Method | Description | | --- | --- | | trace(String message, Object[] arguments) | Writes trace message to pre-configured logger. | | trace(Throwable throwable, String message, Object[] arguments) | Writes trace message, stacktrace and message from an exception to pre-configured logger. | | isTraceEnabled() | Checks whether trace logging enabled in pre-configured logger. | | debug(String message, Object[] arguments) | Writes debug message to pre-configured logger. | | debug(Throwable throwable, String message, Object[] arguments) | Writes debug message, stacktrace and message from an exception to pre-configured logger. | | isDebugEnabled() | Checks whether debug logging enabled in pre-configured logger. | | warning(String message, Object[] arguments) | Writes warning message to pre-configured logger. | | warning(Throwable throwable, String message, Object[] arguments) | Writes warning message, stacktrace and message from an exception to pre-configured logger. | | isWarningEnabled() | Checks whether warning logging enabled in pre-configured logger. | | error(String message, Object[] arguments) | Writes error message to pre-configured logger. | | error(Throwable throwable, String message, Object[] arguments) | Writes error message, stacktrace and message from an exception to pre-configured logger. | | isErrorEnabled() | Checks whether error logging enabled in pre-configured logger. | | getLogger() | Gets pre-configured logger that will be used to write all types of logs. | | setLogger(ILogger logger) | Sets the logger that will be used to write all types of logs. | ##### trace(String message, Object[] arguments) ``` public static void trace(String message, Object[] arguments) ``` Writes trace message to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### trace(Throwable throwable, String message, Object[] arguments) ``` public static void trace(Throwable throwable, String message, Object[] arguments) ``` Writes trace message, stacktrace and message from an exception to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace, if null behaviour depends on logger | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### isTraceEnabled() ``` public static boolean isTraceEnabled() ``` Checks whether trace logging enabled in pre-configured logger. **Returns:** boolean - true if enabled in pre-configured logger, otherwise false ##### debug(String message, Object[] arguments) ``` public static void debug(String message, Object[] arguments) ``` Writes debug message to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### debug(Throwable throwable, String message, Object[] arguments) ``` public static void debug(Throwable throwable, String message, Object[] arguments) ``` Writes debug message, stacktrace and message from an exception to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace, if null behaviour depends on logger | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### isDebugEnabled() ``` public static boolean isDebugEnabled() ``` Checks whether debug logging enabled in pre-configured logger. **Returns:** boolean - true if enabled in pre-configured logger, otherwise false ##### warning(String message, Object[] arguments) ``` public static void warning(String message, Object[] arguments) ``` Writes warning message to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### warning(Throwable throwable, String message, Object[] arguments) ``` public static void warning(Throwable throwable, String message, Object[] arguments) ``` Writes warning message, stacktrace and message from an exception to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace, if null behaviour depends on logger | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### isWarningEnabled() ``` public static boolean isWarningEnabled() ``` Checks whether warning logging enabled in pre-configured logger. **Returns:** boolean - true if enabled in pre-configured logger, otherwise false ##### error(String message, Object[] arguments) ``` public static void error(String message, Object[] arguments) ``` Writes error message to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### error(Throwable throwable, String message, Object[] arguments) ``` public static void error(Throwable throwable, String message, Object[] arguments) ``` Writes error message, stacktrace and message from an exception to pre-configured logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace, if null behaviour depends on logger | | message | java.lang.String | The message, if null behaviour depends on logger | | arguments | java.lang.Object[] | The arguments to be embedded into message, if null behaviour depends on logger | ##### isErrorEnabled() ``` public static boolean isErrorEnabled() ``` Checks whether error logging enabled in pre-configured logger. **Returns:** boolean - true if enabled in pre-configured logger, otherwise false ##### getLogger() ``` public static synchronized ILogger getLogger() ``` Gets pre-configured logger that will be used to write all types of logs. **Returns:** com.groupdocs.foundation.logging.ILogger - the logger ##### setLogger(ILogger logger) ``` public static synchronized void setLogger(ILogger logger) ``` Sets the logger that will be used to write all types of logs. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | logger | com.groupdocs.foundation.logging.ILogger | The logger | ### FileLogger Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.logging/filelogger.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.foundation.logging.ILogger ``` public class FileLogger implements ILogger ``` Logger that writes logs to file. Should be used together with ComparisonLogger. Example usage: ```` ComparisonLogger.setLogger(new FileLogger("/path/to/file.log.txt", false, true, true, true)); ```` #### Constructors | Constructor | Description | | --- | --- | | FileLogger(String filePath) | Initializes a new instance of the FileLogger class with file path. | | FileLogger(String filePath, boolean isTraceEnabled, boolean isDebugEnabled, boolean isWarningEnabled, boolean isErrorEnabled) | Initializes a new instance of the FileLogger class with file path and logs levels configuration. | #### Fields | Field | Description | | --- | --- | | MESSAGE | | | EXCEPTION | | #### Methods | Method | Description | | --- | --- | | trace(String message, Object[] arguments) | Writes a trace message to the file. | | trace(Throwable throwable, String message, Object[] arguments) | Writes a trace message to the file. | | isTraceEnabled() | Checks whether trace logging enabled. | | debug(String message, Object[] arguments) | Writes a debug message to the file. | | debug(Throwable throwable, String message, Object[] arguments) | Writes a debug message to the file. | | isDebugEnabled() | Checks whether debug logging enabled. | | warning(String message, Object[] arguments) | Writes a warning message to the file. | | warning(Throwable throwable, String message, Object[] arguments) | Writes a warning message to the file. | | isWarningEnabled() | Checks whether warning logging enabled. | | error(String message, Object[] arguments) | Writes an error message to the file. | | error(Throwable throwable, String message, Object[] arguments) | Writes an error message to the file. | | isErrorEnabled() | Checks whether error logging enabled. | ##### FileLogger(String filePath) ``` public FileLogger(String filePath) ``` Initializes a new instance of the FileLogger class with file path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file that will be used to write logs | ##### FileLogger(String filePath, boolean isTraceEnabled, boolean isDebugEnabled, boolean isWarningEnabled, boolean isErrorEnabled) ``` public FileLogger(String filePath, boolean isTraceEnabled, boolean isDebugEnabled, boolean isWarningEnabled, boolean isErrorEnabled) ``` Initializes a new instance of the FileLogger class with file path and logs levels configuration. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file that will be used to write logs | | isTraceEnabled | boolean | True to enable trace logging, false otherwise | | isDebugEnabled | boolean | True to enable debug logging, false otherwise | | isWarningEnabled | boolean | True to enable warning logging, false otherwise | | isErrorEnabled | boolean | True to enable error logging, false otherwise | ##### MESSAGE ``` public static final String MESSAGE ``` ##### EXCEPTION ``` public static final String EXCEPTION ``` ##### trace(String message, Object[] arguments) ``` public void trace(String message, Object[] arguments) ``` Writes a trace message to the file. Trace log messages provide maximum detailed information about application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### trace(Throwable throwable, String message, Object[] arguments) ``` public void trace(Throwable throwable, String message, Object[] arguments) ``` Writes a trace message to the file. Trace log messages provide maximum detailed information about application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### isTraceEnabled() ``` public boolean isTraceEnabled() ``` Checks whether trace logging enabled. **Returns:** boolean - true if enabled, otherwise false ##### debug(String message, Object[] arguments) ``` public void debug(String message, Object[] arguments) ``` Writes a debug message to the file. Debug log messages provide information about different processes in application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### debug(Throwable throwable, String message, Object[] arguments) ``` public void debug(Throwable throwable, String message, Object[] arguments) ``` Writes a debug message to the file. Debug log messages provide information about different processes in application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### isDebugEnabled() ``` public boolean isDebugEnabled() ``` Checks whether debug logging enabled. **Returns:** boolean - true if enabled, otherwise false ##### warning(String message, Object[] arguments) ``` public void warning(String message, Object[] arguments) ``` Writes a warning message to the file. Warning log messages provide information about unexpected and recoverable events in application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### warning(Throwable throwable, String message, Object[] arguments) ``` public void warning(Throwable throwable, String message, Object[] arguments) ``` Writes a warning message to the file. Warning log messages provide information about unexpected and recoverable events in application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### isWarningEnabled() ``` public boolean isWarningEnabled() ``` Checks whether warning logging enabled. **Returns:** boolean - true if enabled, otherwise false ##### error(String message, Object[] arguments) ``` public void error(String message, Object[] arguments) ``` Writes an error message to the file. Error log messages provide information about unrecoverable events in application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### error(Throwable throwable, String message, Object[] arguments) ``` public void error(Throwable throwable, String message, Object[] arguments) ``` Writes an error message to the file. Error log messages provide information about unrecoverable events in application flow. The message can contain one or few {} which will be replaced by corresponding arguments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | throwable | java.lang.Throwable | The throwable object that will be used to get the stacktrace | | message | java.lang.String | The message. | | arguments | java.lang.Object[] | The arguments, replaces {} in message in order of passing, null will be written as 'null' | ##### isErrorEnabled() ``` public boolean isErrorEnabled() ``` Checks whether error logging enabled. **Returns:** boolean - true if enabled, otherwise false ### com.groupdocs.comparison.options.enums Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.enums.md Provides enumerations for various options and settings in GroupDocs.Comparison. The classes in this package contain enumerations that define different options and settings used in GroupDocs.Comparison for customization and configuration purposes. These enumerations are used as parameters in various methods and classes to control the behavior and appearance of the document comparison process. Some of the key enumerations in this package include ChangeType, com.groupdocs.comparison.cells.style.ComparisonStyle, and more. These enumerations allow you to get the type of changes, the style of comparison and other options for the document comparison process. For more details on the available options and how to use them in GroupDocs.Comparison, please refer to the GroupDocs.Comparison Documentation. #### Enumerations | Enum | Description | | --- | --- | | ComparisonType | Represents the type of comparison to be performed. | | FolderComparisonExtension | The FolderComparisonExtension class is an enumeration that represents different file extensions that can be used in folder comparison. | | MetadataType | Determines from where the result document will take metadata information. | | PaperSize | Represents the paper size options for document comparison. | | PasswordSaveOption | Enumerates the options for saving password information in a document during the comparison process. | | PreviewFormats | Enumerates the supported preview formats for document comparison. | ### ComparisonType Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.enums/comparisontype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum ComparisonType extends Enum ``` Represents the type of comparison to be performed. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); CompareOptions compareOptions = new CompareOptions(); compareOptions.setComparisonType(ComparisonType.CELLS); comparer.compare(resultFile, compareOptions); } ```` #### Fields | Field | Description | | --- | --- | | TEXT | Files must be compared as text documents. | | SLIDES | Files must be compared as presentation documents. | | WORDS | Files must be compared as words documents. | | CELLS | Files must be compared as excel documents. | | PDF | Files must be compared as pdf documents. | | IMAGING | Files must be compared as image documents. | | EMAIL | Files must be compared as email documents. | | NOTE | Files must be compared as note documents. | | HTML | Files must be compared as html documents. | | DIAGRAM | Files must be compared as diagram documents. | | DIFFERENT | Files must be compared as documents in different formats. | | SVG | Files must be compared as svg documents. | | UNDEFINED | For internal use. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of ComparisonType to get the enum constant. | | toString() | String representation of ComparisonType. | ##### TEXT ``` public static final ComparisonType TEXT ``` Files must be compared as text documents. ##### SLIDES ``` public static final ComparisonType SLIDES ``` Files must be compared as presentation documents. ##### WORDS ``` public static final ComparisonType WORDS ``` Files must be compared as words documents. ##### CELLS ``` public static final ComparisonType CELLS ``` Files must be compared as excel documents. ##### PDF ``` public static final ComparisonType PDF ``` Files must be compared as pdf documents. ##### IMAGING ``` public static final ComparisonType IMAGING ``` Files must be compared as image documents. ##### EMAIL ``` public static final ComparisonType EMAIL ``` Files must be compared as email documents. ##### NOTE ``` public static final ComparisonType NOTE ``` Files must be compared as note documents. ##### HTML ``` public static final ComparisonType HTML ``` Files must be compared as html documents. ##### DIAGRAM ``` public static final ComparisonType DIAGRAM ``` Files must be compared as diagram documents. ##### DIFFERENT ``` public static final ComparisonType DIFFERENT ``` Files must be compared as documents in different formats. ##### SVG ``` public static final ComparisonType SVG ``` Files must be compared as svg documents. ##### UNDEFINED ``` public static final ComparisonType UNDEFINED ``` For internal use. ##### values() ``` public static ComparisonType[] values() ``` **Returns:** com.groupdocs.comparison.options.enums.ComparisonType[] ##### valueOf(String name) ``` public static ComparisonType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ComparisonType ##### fromString(String toStringValue) ``` public static ComparisonType fromString(String toStringValue) ``` Parses string representation of ComparisonType to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of ComparisonType | **Returns:** ComparisonType - ComparisonType enum constant associated with input string ##### toString() ``` public String toString() ``` String representation of ComparisonType. **Returns:** java.lang.String - string value of enum constant ### FolderComparisonExtension Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.enums/foldercomparisonextension.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum FolderComparisonExtension extends Enum ``` The FolderComparisonExtension class is an enumeration that represents different file extensions that can be used in folder comparison. #### Fields | Field | Description | | --- | --- | | HTML | HTML. | | TXT | TXT. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of FolderComparisonExtension to get the enum constant. | | toString() | String representation of FolderComparisonExtension. | ##### HTML ``` public static final FolderComparisonExtension HTML ``` HTML. ##### TXT ``` public static final FolderComparisonExtension TXT ``` TXT. ##### values() ``` public static FolderComparisonExtension[] values() ``` **Returns:** com.groupdocs.comparison.options.enums.FolderComparisonExtension[] ##### valueOf(String name) ``` public static FolderComparisonExtension valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** com.groupdocs.comparison.options.enums.FolderComparisonExtension ##### fromString(String toStringValue) ``` public static FolderComparisonExtension fromString(String toStringValue) ``` Parses string representation of FolderComparisonExtension to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of FolderComparisonExtension | **Returns:** com.groupdocs.comparison.options.enums.FolderComparisonExtension - FolderComparisonExtension enum constant associated with input string ##### toString() ``` public String toString() ``` String representation of FolderComparisonExtension. **Returns:** java.lang.String - string value of enum constant ### MetadataType Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.enums/metadatatype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum MetadataType extends Enum ``` Determines from where the result document will take metadata information. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); SaveOptions saveOptions = new SaveOptions(); saveOptions.setCloneMetadataType(MetadataType.FILE_AUTHOR); comparer.compare(resultFile, saveOptions); } ```` #### Fields | Field | Description | | --- | --- | | DEFAULT | Metadata will be left as is. | | SOURCE | Metedata will be taken from source document. | | TARGET | Metedata will be taken from target document. | | FILE_AUTHOR | Metedata will be set by user. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of MetadataType to get the enum constant. | | toString() | String representation of MetadataType. | ##### DEFAULT ``` public static final MetadataType DEFAULT ``` Metadata will be left as is. ##### SOURCE ``` public static final MetadataType SOURCE ``` Metedata will be taken from source document. ##### TARGET ``` public static final MetadataType TARGET ``` Metedata will be taken from target document. ##### FILE_AUTHOR ``` public static final MetadataType FILE_AUTHOR ``` Metedata will be set by user. ##### values() ``` public static MetadataType[] values() ``` **Returns:** com.groupdocs.comparison.options.enums.MetadataType[] ##### valueOf(String name) ``` public static MetadataType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MetadataType ##### fromString(String toStringValue) ``` public static MetadataType fromString(String toStringValue) ``` Parses string representation of MetadataType to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of MetadataType | **Returns:** MetadataType - MetadataType enum constant associated with input string ##### toString() ``` public String toString() ``` String representation of MetadataType. **Returns:** java.lang.String - string value of enum constant ### PaperSize Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.enums/papersize.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PaperSize extends Enum ``` Represents the paper size options for document comparison. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); CompareOptions compareOptions = new CompareOptions(); compareOptions.setPaperSize(PaperSize.A6); comparer.compare(resultFile, compareOptions); } ```` #### Fields | Field | Description | | --- | --- | | DEFAULT | Default paper size. | | A0 | Standard paper size A0 (841mm x 1189mm). | | A1 | Standard paper size A1 (594mm x 841mm). | | A2 | Standard paper size A2 (420mm x 594mm). | | A3 | Standard paper size A3 (297mm x 420mm). | | A4 | Standard paper size A4 (210mm x 297mm). | | A5 | Standard paper size A5 (148mm x 210mm). | | A6 | Standard paper size A6 (105mm x 148mm). | | A7 | Standard paper size A7 (74mm x 105mm). | | A8 | Standard paper size A8 (52mm x 74mm). | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of PaperSize to get the enum constant. | | toString() | String representation of PaperSize. | ##### DEFAULT ``` public static final PaperSize DEFAULT ``` Default paper size. ##### A0 ``` public static final PaperSize A0 ``` Standard paper size A0 (841mm x 1189mm). ##### A1 ``` public static final PaperSize A1 ``` Standard paper size A1 (594mm x 841mm). ##### A2 ``` public static final PaperSize A2 ``` Standard paper size A2 (420mm x 594mm). ##### A3 ``` public static final PaperSize A3 ``` Standard paper size A3 (297mm x 420mm). ##### A4 ``` public static final PaperSize A4 ``` Standard paper size A4 (210mm x 297mm). ##### A5 ``` public static final PaperSize A5 ``` Standard paper size A5 (148mm x 210mm). ##### A6 ``` public static final PaperSize A6 ``` Standard paper size A6 (105mm x 148mm). ##### A7 ``` public static final PaperSize A7 ``` Standard paper size A7 (74mm x 105mm). ##### A8 ``` public static final PaperSize A8 ``` Standard paper size A8 (52mm x 74mm). ##### values() ``` public static PaperSize[] values() ``` **Returns:** com.groupdocs.comparison.options.enums.PaperSize[] ##### valueOf(String name) ``` public static PaperSize valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PaperSize ##### fromString(String toStringValue) ``` public static PaperSize fromString(String toStringValue) ``` Parses string representation of PaperSize to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of PaperSize | **Returns:** PaperSize - PaperSize enum constant associated with input string ##### toString() ``` public String toString() ``` String representation of PaperSize. **Returns:** java.lang.String - string value of enum constant ### PasswordSaveOption Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.enums/passwordsaveoption.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PasswordSaveOption extends Enum ``` Enumerates the options for saving password information in a document during the comparison process. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); CompareOptions compareOptions = new CompareOptions(); compareOptions.setPasswordSaveOption(PasswordSaveOption.SOURCE); comparer.compare(resultFile, compareOptions); } ```` #### Fields | Field | Description | | --- | --- | | NONE | Do not save the password. | | SOURCE | Use password from source document. | | TARGET | Use password from target document. | | USER | \* Use password provided by user. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of PasswordSaveOption to get the enum constant. | | toString() | String representation of PasswordSaveOption. | ##### NONE ``` public static final PasswordSaveOption NONE ``` Do not save the password. ##### SOURCE ``` public static final PasswordSaveOption SOURCE ``` Use password from source document. ##### TARGET ``` public static final PasswordSaveOption TARGET ``` Use password from target document. ##### USER ``` public static final PasswordSaveOption USER ``` \* Use password provided by user. ##### values() ``` public static PasswordSaveOption[] values() ``` **Returns:** com.groupdocs.comparison.options.enums.PasswordSaveOption[] ##### valueOf(String name) ``` public static PasswordSaveOption valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PasswordSaveOption ##### fromString(String toStringValue) ``` public static PasswordSaveOption fromString(String toStringValue) ``` Parses string representation of PasswordSaveOption to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of PasswordSaveOption | **Returns:** PasswordSaveOption - PasswordSaveOption enum constant associated with input string ##### toString() ``` public String toString() ``` String representation of PasswordSaveOption. **Returns:** java.lang.String - string value of enum constant ### PreviewFormats Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.enums/previewformats.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PreviewFormats extends Enum ``` Enumerates the supported preview formats for document comparison. The PreviewFormats enum provides a list of formats that can be used to generate previews of compared documents. Supported formats include: * #PNG.PNG - Portable Network Graphics (.png) * #JPEG.JPEG - Joint Photographic Experts Group (.jpeg) * #BMP.BMP - Bitmap Picture (.bmp) Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); PreviewOptions previewOptions = new PreviewOptions( pageNumber -> Files.newOutputStream(Paths.get(String.format("preview-page_%d.png", pageNumber))) ); previewOptions.setPreviewFormat(PreviewFormats.PNG); comparer.getTargets().get(0).generatePreview(previewOptions); } ```` #### Fields | Field | Description | | --- | --- | | PNG | PNG - may consume significant disk space or network traffic if the page contains numerous color graphics. | | JPEG | Jpeg - provides faster processing with smaller disk space usage and network traffic, but may result in lower image quality. | | BMP | BMP - offers the best image quality but requires slower processing with higher disk space usage and network traffic. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of PreviewFormats to get the enum constant. | | toString() | String representation of PreviewFormats. | ##### PNG ``` public static final PreviewFormats PNG ``` PNG - may consume significant disk space or network traffic if the page contains numerous color graphics. Default preview format. ##### JPEG ``` public static final PreviewFormats JPEG ``` Jpeg - provides faster processing with smaller disk space usage and network traffic, but may result in lower image quality. ##### BMP ``` public static final PreviewFormats BMP ``` BMP - offers the best image quality but requires slower processing with higher disk space usage and network traffic. ##### values() ``` public static PreviewFormats[] values() ``` **Returns:** com.groupdocs.comparison.options.enums.PreviewFormats[] ##### valueOf(String name) ``` public static PreviewFormats valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PreviewFormats ##### fromString(String toStringValue) ``` public static PreviewFormats fromString(String toStringValue) ``` Parses string representation of PreviewFormats to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of PreviewFormats | **Returns:** PreviewFormats - PreviewFormats enum constant associated with input string ##### toString() ``` public String toString() ``` String representation of PreviewFormats. **Returns:** java.lang.String - string value of enum constant ### com.groupdocs.comparison.options.load Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.load.md Provides classes and options for configuring loading documents in GroupDocs.Comparison. The classes in this package are used to load the source and target documents with specific options. They provide options for specifying document formats, loading password-protected documents, setting fonts directories and more. The key class in this package is LoadOptions. Classes in the package allow you to configure specific options and settings related to different document formats for accurate and customized document comparison. For more details on loading and configuring documents using GroupDocs.Comparison, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | LoadOptions | Allows specifying additional options when loading a document. | ### LoadOptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.load/loadoptions.md **Inheritance:** java.lang.Object ``` public class LoadOptions ``` Allows specifying additional options when loading a document. Example usage: ```` final LoadOptions loadOptions = new LoadOptions(); loadOptions.setPassword("passw"); loadOptions.setFileType(FileType.PDF); try (Comparer comparer = new Comparer(sourceFile, loadOptions)) { comparer.add(targetFile); comparer.compare(resultFile); } ```` #### Constructors | Constructor | Description | | --- | --- | | LoadOptions() | Initializes a new instance of the LoadOptions class. | | LoadOptions(boolean isLoadText) | Initializes a new instance of the LoadOptions class with a flag which means that input string is a text to compare, not path. | | LoadOptions(String password) | Initializes a new instance of the LoadOptions class with a password to load document. | | LoadOptions(boolean isLoadText, String password) | Initializes a new instance of the LoadOptions class with a flag which means that input string is a text to compare and a password to load document. | | LoadOptions(FileType fileType) | Initializes a new instance of the LoadOptions class with a type of a file. | #### Methods | Method | Description | | --- | --- | | isLoadText() | Gets a flag that indicates that the string passed to Comparer constructor or to Comparer.add(String) method is comparison text, not file paths (For Text Comparison only). | | setLoadText(boolean value) | Sets a flag that indicates that the string passed to Comparer constructor or to Comparer.add(String) method is comparison text, not file paths (For Text Comparison only). | | getPassword() | Gets a password that will be used to load a document. | | setPassword(String value) | Sets a password that should be used to load a document. | | getFontDirectories() | Gets a list of directories where font files to load a document are placed. | | setFontDirectories(List value) | Sets a list of directories where font files to load a document are placed. | | getFileType() | Gets a type of a file that is loading. | | setFileType(FileType value) | Sets a type of a file that is loading. | ##### LoadOptions() ``` public LoadOptions() ``` Initializes a new instance of the LoadOptions class. ##### LoadOptions(boolean isLoadText) ``` public LoadOptions(boolean isLoadText) ``` Initializes a new instance of the LoadOptions class with a flag which means that input string is a text to compare, not path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isLoadText | boolean | The flag which means that input string is a text to compare, not path | ##### LoadOptions(String password) ``` public LoadOptions(String password) ``` Initializes a new instance of the LoadOptions class with a password to load document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password to load document | ##### LoadOptions(boolean isLoadText, String password) ``` public LoadOptions(boolean isLoadText, String password) ``` Initializes a new instance of the LoadOptions class with a flag which means that input string is a text to compare and a password to load document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isLoadText | boolean | The flag which means that input string is a text to compare, not path | | password | java.lang.String | The password to load document | ##### LoadOptions(FileType fileType) ``` public LoadOptions(FileType fileType) ``` Initializes a new instance of the LoadOptions class with a type of a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file | ##### isLoadText() ``` public boolean isLoadText() ``` Gets a flag that indicates that the string passed to Comparer constructor or to Comparer.add(String) method is comparison text, not file paths (For Text Comparison only). **Returns:** boolean - true if input string is a text to compare, otherwise false ##### setLoadText(boolean value) ``` public void setLoadText(boolean value) ``` Sets a flag that indicates that the string passed to Comparer constructor or to Comparer.add(String) method is comparison text, not file paths (For Text Comparison only). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if input string is a text to compare, otherwise false | ##### getPassword() ``` public final String getPassword() ``` Gets a password that will be used to load a document. **Returns:** java.lang.String - the password to load the document ##### setPassword(String value) ``` public final void setPassword(String value) ``` Sets a password that should be used to load a document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The password to load the document | ##### getFontDirectories() ``` public List getFontDirectories() ``` Gets a list of directories where font files to load a document are placed. **Returns:** java.util.List - the list of directories with font files ##### setFontDirectories(List value) ``` public void setFontDirectories(List value) ``` Sets a list of directories where font files to load a document are placed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | The list of directories with font files | ##### getFileType() ``` public FileType getFileType() ``` Gets a type of a file that is loading. **Returns:** FileType - the type of the file ##### setFileType(FileType value) ``` public void setFileType(FileType value) ``` Sets a type of a file that is loading. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | The type of the file | ### com.groupdocs.comparison.options.save Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.save.md Provides classes and options for saving and configuring the output of GroupDocs.Comparison. The classes in this package are used to save and configure the output document of the comparison process in GroupDocs.Comparison. They provide options for specifying metadata, output document password, and more. The key class in this package is SaveOptions. Classes in this package allow you to configure specific options and settings related to different output formats for generating the desired output document of the comparison process. For more details on saving and configuring the output using GroupDocs.Comparison, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | SaveOptions | Allows specifying additional options when saving a document. | ### SaveOptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.save/saveoptions.md **Inheritance:** java.lang.Object ``` public class SaveOptions ``` Allows specifying additional options when saving a document. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); final SaveOptions saveOptions = new SaveOptions(); saveOptions.setPassword("passw"); comparer.compare(resultFile, saveOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | SaveOptions() | Initializes a new instance of the SaveOptions class. | #### Methods | Method | Description | | --- | --- | | getCloneMetadataType() | Gets a strategy of processing metadata saving result document. | | setCloneMetadataType(MetadataType value) | Sets a stragegy of processing metadata saving result document. | | getFileAuthorMetadata() | Gets a metadata object that will be set into result document when setCloneMetadataType(MetadataType) is set to MetadataType.FILE_AUTHOR. | | setFileAuthorMetadata(FileAuthorMetadata value) | Sets a metadata object that should be set into result document when setCloneMetadataType(MetadataType) is set to MetadataType.FILE_AUTHOR. | | getPassword() | Gets a password for result document. | | setPassword(String value) | Sets a password for result document. | | getFolderPath() | Gets a folder path to which result images will be saved. | | setFolderPath(String value) | Sets a folder path to which result images should be saved. | | setFolderPath(Path value) | Sets a folder path to which result images should be saved. | ##### SaveOptions() ``` public SaveOptions() ``` Initializes a new instance of the SaveOptions class. ##### getCloneMetadataType() ``` public final MetadataType getCloneMetadataType() ``` Gets a strategy of processing metadata saving result document. Possible values are in enum MetadataType **Returns:** MetadataType - the stragegy of processing metadata ##### setCloneMetadataType(MetadataType value) ``` public final void setCloneMetadataType(MetadataType value) ``` Sets a stragegy of processing metadata saving result document. Possible values are in enum MetadataType **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | MetadataType | The stragegy of processing metadata | ##### getFileAuthorMetadata() ``` public final FileAuthorMetadata getFileAuthorMetadata() ``` Gets a metadata object that will be set into result document when setCloneMetadataType(MetadataType) is set to MetadataType.FILE_AUTHOR. **Returns:** FileAuthorMetadata - the metadata object ##### setFileAuthorMetadata(FileAuthorMetadata value) ``` public final void setFileAuthorMetadata(FileAuthorMetadata value) ``` Sets a metadata object that should be set into result document when setCloneMetadataType(MetadataType) is set to MetadataType.FILE_AUTHOR. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileAuthorMetadata | The metadata object | ##### getPassword() ``` public final String getPassword() ``` Gets a password for result document. **Returns:** java.lang.String - the password ##### setPassword(String value) ``` public final void setPassword(String value) ``` Sets a password for result document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The password | ##### getFolderPath() ``` public final String getFolderPath() ``` Gets a folder path to which result images will be saved. Used for Imaging Comparison only. **Returns:** java.lang.String - the folder path to save result images ##### setFolderPath(String value) ``` public final void setFolderPath(String value) ``` Sets a folder path to which result images should be saved. Used for Imaging Comparison only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The folder path to save result images | ##### setFolderPath(Path value) ``` public final void setFolderPath(Path value) ``` Sets a folder path to which result images should be saved. Used for Imaging Comparison only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.file.Path | The folder path to save result images | ### com.groupdocs.comparison.options.style Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.style.md Provides classes and options for styling and configuring the visual appearance of the document comparison output in GroupDocs.Comparison. The classes in this package are used to define and customize various styling aspects of the document comparison output, such as colors, highlighting, underlining, and more. They allow you to control the visual appearance of added, deleted, and modified content in the comparison result. The key class in this package include StyleSettings. Classes in the package provide methods and properties to define and configure the style settings for different components and elements of the comparison result. You can set font styles, colors, highlighting, underlining, and other formatting options to achieve the desired visual representation of the changes. For more details on styling and configuring the appearance of the document comparison output using GroupDocs.Comparison, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | DiagramMasterSetting | Represents the settings for diagram master comparison. | | Size | Represents the size of document in comparison. | | StyleSettings | This class represents style settings for text formatting. | #### Enumerations | Enum | Description | | --- | --- | | DetalisationLevel | Specifies the level of comparison details. | ### DetalisationLevel Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.style/detalisationlevel.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum DetalisationLevel extends Enum ``` Specifies the level of comparison details. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); CompareOptions compareOptions = new CompareOptions(); compareOptions.setDetectStyleChanges(false); compareOptions.setDetalisationLevel(DetalisationLevel.HIGH); comparer.compare(resultFile, compareOptions); } ```` #### Fields | Field | Description | | --- | --- | | LOW | Represents the Low comparison level. | | MIDDLE | Represents the Middle comparison level. | | HIGH | Represents the High comparison level. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of DetalisationLevel to get the enum constant. | | toString() | String representation of DetalisationLevel. | ##### LOW ``` public static final DetalisationLevel LOW ``` Represents the Low comparison level. The "Low" level provides the best speed for comparisons but sacrifices comparison quality. Comparison is performed per-word. ##### MIDDLE ``` public static final DetalisationLevel MIDDLE ``` Represents the Middle comparison level. The "Middle" level is a reasonable compromise between comparison speed and quality. Comparison is performed per-character, but ignoring character case and spaces count. ##### HIGH ``` public static final DetalisationLevel HIGH ``` Represents the High comparison level. The "High" level is the best comparison quality, but the lowest speed. Comparison is performed per-character considering character case and spaces count. ##### values() ``` public static DetalisationLevel[] values() ``` **Returns:** com.groupdocs.comparison.options.style.DetalisationLevel[] ##### valueOf(String name) ``` public static DetalisationLevel valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** DetalisationLevel ##### fromString(String toStringValue) ``` public static DetalisationLevel fromString(String toStringValue) ``` Parses string representation of DetalisationLevel to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of DetalisationLevel | **Returns:** DetalisationLevel - DetalisationLevel enum constant associated with input string ##### toString() ``` public String toString() ``` String representation of DetalisationLevel. **Returns:** java.lang.String - string value of enum constant ### DiagramMasterSetting Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.style/diagrammastersetting.md **Inheritance:** java.lang.Object ``` public class DiagramMasterSetting ``` Represents the settings for diagram master comparison. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); final DiagramMasterSetting diagramMasterSetting = new DiagramMasterSetting(); diagramMasterSetting.setMasterPath(masterFilePath); final CompareOptions compareOptions = new CompareOptions(); compareOptions.setDiagramMasterSetting(diagramMasterSetting); comparer.compare(resultFile, compareOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | DiagramMasterSetting() | Initializes a new instance of the DiagramMasterSetting class. | #### Methods | Method | Description | | --- | --- | | isUseSourceMaster() | Gets a flag that indicates whether source master path will be used. | | setUseSourceMaster(boolean value) | Gets a flag that indicates whether source master path should be used. | | getMasterPath() | Gets a master path that will be used to render documents. | | setMasterPath(String value) | Sets a master path that should be used to render documents. | ##### DiagramMasterSetting() ``` public DiagramMasterSetting() ``` Initializes a new instance of the DiagramMasterSetting class. ##### isUseSourceMaster() ``` public final boolean isUseSourceMaster() ``` Gets a flag that indicates whether source master path will be used. **Returns:** boolean - true if source master path will be shown, otherwise false ##### setUseSourceMaster(boolean value) ``` public final void setUseSourceMaster(boolean value) ``` Gets a flag that indicates whether source master path should be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if source master path should be shown, otherwise false | ##### getMasterPath() ``` public final String getMasterPath() ``` Gets a master path that will be used to render documents. MasterPath is needed to create a result document from a set of default shapes. **Returns:** java.lang.String - path of master document if it is set, otherwise default master path ##### setMasterPath(String value) ``` public final void setMasterPath(String value) ``` Sets a master path that should be used to render documents. MasterPath is needed to create a result document from a set of default shapes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Path of master document if it is set, otherwise default master path | ### Size Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.style/size.md **Inheritance:** java.lang.Object ``` public class Size ``` Represents the size of document in comparison. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); final Size originalSize = new Size(100, 200); StyleSettings styleSettings = new StyleSettings(); styleSettings.setOriginalSize(originalSize); final CompareOptions compareOptions = new CompareOptions(); compareOptions.setInsertedItemStyle(styleSettings); comparer.compare(resultFile, compareOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | Size() | Initializes a new instance of the Size class. | | Size(int width, int height) | Initializes a new instance of the Size class with width and height of a document. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width of an original document. | | setWidth(int value) | Sets the width of an original document. | | getHeight() | Gets the height of an original document. | | setHeight(int value) | Sets the height of an original document. | ##### Size() ``` public Size() ``` Initializes a new instance of the Size class. ##### Size(int width, int height) ``` public Size(int width, int height) ``` Initializes a new instance of the Size class with width and height of a document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | | | height | int | | ##### getWidth() ``` public final int getWidth() ``` Gets the width of an original document. **Returns:** int - the width of the document ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets the width of an original document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The width of the document | ##### getHeight() ``` public final int getHeight() ``` Gets the height of an original document. **Returns:** int - the height of the document ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets the height of an original document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The height of the document | ### StyleSettings Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.style/stylesettings.md **Inheritance:** java.lang.Object ``` public class StyleSettings ``` This class represents style settings for text formatting. Use this class to customize the font color, highlight color, style attributes (bold, underline, italic, strikethrough), string separators, original sizes, and word separators for text. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); StyleSettings styleSettings = new StyleSettings(); styleSettings.setFontColor(Color.GREEN); styleSettings.setBold(true); styleSettings.setUnderline(true); final CompareOptions compareOptions = new CompareOptions(); compareOptions.setInsertedItemStyle(styleSettings); comparer.compare(resultFile, compareOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | StyleSettings() | Initializes a new instance of the StyleSettings class. | #### Methods | Method | Description | | --- | --- | | getFontColor() | Gets the font color. | | setFontColor(Color value) | Sets the font color. | | getShapeColor() | Gets the shape color. | | setShapeColor(Color value) | Sets the shape color. | | getHighlightColor() | Gets the highlight color. | | setHighlightColor(Color value) | Sets the highlight color. | | isBold() | Gets a flag that indicates whether the text will be bold or not. | | setBold(boolean value) | Sets a flag that indicates whether the text should be bold or not. | | isUnderline() | Gets a flag that indicates whether the text will be underlined or not. | | setUnderline(boolean value) | Sets a flag that indicates whether the text should be underlined or not. | | isItalic() | Gets a flag that indicates whether the text will be italic or not. | | setItalic(boolean value) | Sets a flag that indicates whether the text should be italic or not. | | isStrikethrough() | Gets a flag that indicates whether the text will be strike through or not. | | setStrikethrough(boolean value) | Sets a flag that indicates whether the text should be strike through or not. | | getStartStringSeparator() | Gets the start string separator. | | setStartStringSeparator(String value) | Sets the start string separator. | | getEndStringSeparator() | Gets the end string separator. | | setEndStringSeparator(String value) | Sets the end string separator. | | getOriginalSize() | Gets the original size of comparing documents. | | setOriginalSize(Size value) | Sets the original size of comparing documents. | | getWordsSeparators() | Gets the word separator chars. | | setWordsSeparators(char[] value) | Sets the word separator chars. | ##### StyleSettings() ``` public StyleSettings() ``` Initializes a new instance of the StyleSettings class. ##### getFontColor() ``` public final Color getFontColor() ``` Gets the font color. **Returns:** java.awt.Color - the font color. ##### setFontColor(Color value) ``` public final void setFontColor(Color value) ``` Sets the font color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.awt.Color | The new font color. | ##### getShapeColor() ``` public final Color getShapeColor() ``` Gets the shape color. **Returns:** java.awt.Color - the shape color. ##### setShapeColor(Color value) ``` public final void setShapeColor(Color value) ``` Sets the shape color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.awt.Color | The new shape color. | ##### getHighlightColor() ``` public final Color getHighlightColor() ``` Gets the highlight color. **Returns:** java.awt.Color - the highlight color. ##### setHighlightColor(Color value) ``` public final void setHighlightColor(Color value) ``` Sets the highlight color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.awt.Color | The new highlight color. | ##### isBold() ``` public final boolean isBold() ``` Gets a flag that indicates whether the text will be bold or not. **Returns:** boolean - true if the text will be bold, false otherwise. ##### setBold(boolean value) ``` public final void setBold(boolean value) ``` Sets a flag that indicates whether the text should be bold or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the text should be bold, false otherwise. | ##### isUnderline() ``` public final boolean isUnderline() ``` Gets a flag that indicates whether the text will be underlined or not. **Returns:** boolean - true if the text will be underlined, false otherwise. ##### setUnderline(boolean value) ``` public final void setUnderline(boolean value) ``` Sets a flag that indicates whether the text should be underlined or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the text should be underlined, false otherwise. | ##### isItalic() ``` public final boolean isItalic() ``` Gets a flag that indicates whether the text will be italic or not. **Returns:** boolean - true if the text will be italic, false otherwise. ##### setItalic(boolean value) ``` public final void setItalic(boolean value) ``` Sets a flag that indicates whether the text should be italic or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the text should be italic, false otherwise. | ##### isStrikethrough() ``` public final boolean isStrikethrough() ``` Gets a flag that indicates whether the text will be strike through or not. **Returns:** boolean - true if the text will be strike through, false otherwise. ##### setStrikethrough(boolean value) ``` public final void setStrikethrough(boolean value) ``` Sets a flag that indicates whether the text should be strike through or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the text should be strike through, false otherwise. | ##### getStartStringSeparator() ``` public final String getStartStringSeparator() ``` Gets the start string separator. **Returns:** java.lang.String - the start string separator. ##### setStartStringSeparator(String value) ``` public final void setStartStringSeparator(String value) ``` Sets the start string separator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The new start string separator. | ##### getEndStringSeparator() ``` public final String getEndStringSeparator() ``` Gets the end string separator. **Returns:** java.lang.String - the end string separator. ##### setEndStringSeparator(String value) ``` public final void setEndStringSeparator(String value) ``` Sets the end string separator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The new end string separator. | ##### getOriginalSize() ``` public final Size getOriginalSize() ``` Gets the original size of comparing documents. **Returns:** Size - the original size of comparing documents. ##### setOriginalSize(Size value) ``` public final void setOriginalSize(Size value) ``` Sets the original size of comparing documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Size | The new original size of comparing documents. | ##### getWordsSeparators() ``` public final char[] getWordsSeparators() ``` Gets the word separator chars. **Returns:** char[] - the word separators. ##### setWordsSeparators(char[] value) ``` public final void setWordsSeparators(char[] value) ``` Sets the word separator chars. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | char[] | The new word separators. | ### com.groupdocs.comparison.options Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options.md Provides classes and interfaces for configuring various options and settings related to document comparison. These options include comparison settings, load options, save options, style settings, and more. Use these classes to customize the behavior and appearance of the document comparison process. Key classes in this package: * CompareOptions - Represents the options for document comparison. * LoadOptions - Represents the options for loading documents. * SaveOptions - Represents the options for saving comparison results. * StyleSettings - Represents style settings for text formatting. For more details on working with options classes using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | ApplyChangeOptions | Allows updating the list of changes before applying them to the resulting document. | | CompareOptions | Allows configuring the process of document comparison. | | FileAuthorMetadata | Allows configuring information about the document's author metadata. | | GetChangeOptions | Allows configuring filtering for retrieving specific change types from the comparison result. | | OriginalSize | Represents the original size of a document in a comparison result. | | PreviewOptions | Provides options for generating document previews in the comparison process. | ### ApplyChangeOptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/applychangeoptions.md **Inheritance:** java.lang.Object ``` public class ApplyChangeOptions ``` Allows updating the list of changes before applying them to the resulting document. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(); ChangeInfo[] changes = comparer.getChanges(); changes[0].setComparisonAction(ComparisonAction.REJECT); final ApplyChangeOptions applyChangeOptions = new ApplyChangeOptions(changes); comparer.applyChanges(resultFile, applyChangeOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | ApplyChangeOptions() | Initializes a new instance of the ApplyChangeOptions class. | | ApplyChangeOptions(List changes) | Initializes a new instance of the ApplyChangeOptions class with list of changes. | | ApplyChangeOptions(ChangeInfo[] changes) | Initializes a new instance of the ApplyChangeOptions class with array of changes. | #### Methods | Method | Description | | --- | --- | | getChanges() | Gets an array of changes that must be applied to the resulting document. | | setChanges(ChangeInfo[] value) | Sets an array of changes that must be applied to the resulting document. | | setChanges(List value) | Sets a list of changes that must be applied to the resulting document. | | isSaveOriginalState() | Gets a flag that determines is original state should be saved. | | setSaveOriginalState(boolean saveOriginalState) | Sets a flag that determines is original state should be saved. | ##### ApplyChangeOptions() ``` public ApplyChangeOptions() ``` Initializes a new instance of the ApplyChangeOptions class. ##### ApplyChangeOptions(List changes) ``` public ApplyChangeOptions(List changes) ``` Initializes a new instance of the ApplyChangeOptions class with list of changes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | changes | java.util.List | The list of changes to be applied | ##### ApplyChangeOptions(ChangeInfo[] changes) ``` public ApplyChangeOptions(ChangeInfo[] changes) ``` Initializes a new instance of the ApplyChangeOptions class with array of changes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | changes | ChangeInfo\[\] | The list of changes to be applied | ##### getChanges() ``` public final ChangeInfo[] getChanges() ``` Gets an array of changes that must be applied to the resulting document. **Returns:** com.groupdocs.comparison.result.ChangeInfo[] - the array of changes to be applied ##### setChanges(ChangeInfo[] value) ``` public final void setChanges(ChangeInfo[] value) ``` Sets an array of changes that must be applied to the resulting document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ChangeInfo\[\] | The array of changes to be applied | ##### setChanges(List value) ``` public final void setChanges(List value) ``` Sets a list of changes that must be applied to the resulting document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | The list of changes to be applied | ##### isSaveOriginalState() ``` public boolean isSaveOriginalState() ``` Gets a flag that determines is original state should be saved. Default value: false. **Returns:** boolean - true if original state should be saved, otherwise false ##### setSaveOriginalState(boolean saveOriginalState) ``` public void setSaveOriginalState(boolean saveOriginalState) ``` Sets a flag that determines is original state should be saved. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | saveOriginalState | boolean | True if original state should be saved, otherwise false | ### CompareOptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/compareoptions.md **Inheritance:** java.lang.Object ``` public class CompareOptions ``` Allows configuring the process of document comparison. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); final StyleSettings styleSettings = new StyleSettings(); styleSettings.setHighlightColor(Color.RED); styleSettings.setFontColor(Color.GREEN); styleSettings.setUnderline(true); CompareOptions compareOptions = new CompareOptions(); compareOptions.setInsertedItemStyle(styleSettings); comparer.compare(resultFile, compareOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | CompareOptions() | Initializes a new instance of the CompareOptions class. | | CompareOptions(StyleSettings insertedItemStyle, StyleSettings deletedItemStyle, StyleSettings changedItemStyle) | Initializes a new instance of the CompareOptions class with settings for different styles. | #### Fields | Field | Description | | --- | --- | | ignoreChangeSettings | | #### Methods | Method | Description | | --- | --- | | getIgnoreChangeSettings() | Get settings to ignore changes based on similarity. | | setIgnoreChangeSettings(IgnoreChangeSensitivitySettings ignoreChangeSettings) | Sets settings to ignore changes based on similarity. | | getUserMasterPath() | Gets the path to the user master's template for Diagrams. | | setUserMasterPath(String userMasterPath) | Sets the path to the user master's template for Diagrams. | | getComparisonType() | Gets a type of source and target documents as ComparisonType object so that Comparison will know how to compare them. | | setComparisonType(ComparisonType comparisonType) | Sets a type of source and target documents as ComparisonType object so that Comparison will know how to compare them. | | getPaperSize() | Gets a size of a paper in result document as PaperSize object. | | setPaperSize(PaperSize value) | Sets a size of a paper in result document as PaperSize object. | | getCalculateCoordinatesMode() | Gets a calculate coordinates mode as CalculateCoordinatesModeEnumeration object. | | setCalculateCoordinatesMode(CalculateCoordinatesModeEnumeration calculateCoordinatesMode) | Sets a calculate coordinates mode as CalculateCoordinatesModeEnumeration object. | | isShowDeletedContent() | Gets a flag that indicates whether to show deleted components in resultant document or not. | | setShowDeletedContent(boolean value) | Sets a flag that indicates whether to show deleted components in resultant document or not. | | isShowInsertedContent() | Gets a flag that indicates whether to show inserted components in resultant document or not. | | setShowInsertedContent(boolean value) | Sets a flag that indicates whether to show inserted components in resultant document or not. | | isGenerateSummaryPage() | Gets a flag that indicates whether to add summary page with detected changes statistics to resultant document or not. | | setGenerateSummaryPage(boolean value) | Sets a flag that indicates whether to add summary page with detected changes statistics to resultant document or not. | | isExtendedSummaryPage() | Gets a flag that indicates whether to add extended file comparison information to the summary page or not. | | setExtendedSummaryPage(boolean value) | Sets a flag that indicates whether to add extended file comparison information to the summary page or not. | | isShowOnlySummaryPage() | Gets a flag that indicates whether to leave in the resulting document only a page with statistics of detected changes or not. | | setShowOnlySummaryPage(boolean value) | Sets a flag that indicates whether to leave in the resulting document only a page with statistics of detected changes or not. | | isDetectStyleChanges() | Gets a flag that indicates whether to detect style changes or not. | | setDetectStyleChanges(boolean value) | Sets a flag that indicates whether to detect style changes or not. | | isMarkNestedContent() | Gets a flag that indicates whether to mark the children of the deleted or inserted elements as deleted or inserted. | | setMarkNestedContent(boolean value) | Sets a flag that indicates whether to mark the children of the deleted or inserted elements as deleted or inserted. | | isCalculateCoordinates() | Gets a flag that indicates whether to calculate coordinates for changed components. | | setCalculateCoordinates(boolean value) | Sets a flag that indicates whether to calculate coordinates for changed components. | | isHeaderFootersComparison() | Gets a flag that indicates whether to compare header/footer contents. | | setHeaderFootersComparison(boolean value) | Sets a flag that indicates whether to compare header/footer contents. | | getDetalisationLevel() | Gets a level of comparison detalization represented as DetalisationLevel. | | setDetalisationLevel(DetalisationLevel value) | Sets a level of comparison detalization represented as DetalisationLevel. | | isMarkChangedContent() | Gets a flag that indicates whether frames for shapes in Word Processing and for rectangles in Image documents will be used. | | setMarkChangedContent(boolean value) | Sets a flag that indicates whether frames for shapes in Word Processing and for rectangles in Image documents will be used. | | getInsertedItemStyle() | Gets a style settings that will be applied to inserted items. | | setInsertedItemStyle(StyleSettings value) | Sets a style settings that will be applied to inserted items. | | getDeletedItemStyle() | Gets a style settings that will be applied to deleted items. | | setDeletedItemStyle(StyleSettings value) | Sets a style settings that will be applied to deleted items. | | getChangedItemStyle() | Gets a style settings that will be applied to changed items. | | setChangedItemStyle(StyleSettings value) | Sets a style settings that will be applied to changed items. | | isCompareImagesPdf() | Get a value indicating whether to compare images. | | setCompareImagesPdf(boolean compareImagesPdf) | Set a value indicating whether to compare images. | | getImagesInheritanceMode() | Get a value indicating whether images inheritance mode | | setImagesInheritanceMode(ImagesInheritance imagesInheritanceMode) | Set a value indicating whether to images inheritance mode. | | getSensitivityOfComparison() | Gets a sensitivity of comparison. | | setSensitivityOfComparison(int value) | Sets a sensitivity of comparison. | | setSensitivityOfComparisonForTables(Integer value) | Sets a sensitivity of comparison for tables. | | getSensitivityOfComparisonForTables() | Get a sensitivity of comparison for tables. | | setWordsSeparatorChars(char[] value) | Sets an array of delimiters which will be used to split text into words. | | getPasswordSaveOption() | Gets a password save option represented by PasswordSaveOption object. | | setPasswordSaveOption(PasswordSaveOption value) | Sets a password save option represented by PasswordSaveOption object. | | getOriginalSize() | Gets an original sizes of compared documents represented by OriginalSize object. | | setOriginalSize(OriginalSize value) | Sets an original sizes of compared documents represented by OriginalSize object. | | getDiagramMasterSetting() | Gets a setting of master page for Diagram documents represented by DiagramMasterSetting object. | | setDiagramMasterSetting(DiagramMasterSetting value) | Sets a setting of master page for Diagram documents represented by DiagramMasterSetting object. | | isDirectoryCompare() | Returns a flag that indicates whether directory comparison is enabled. | | setDirectoryCompare(boolean directoryCompare) | Sets a flag that indicates whether directory comparison should be enabled. | | isShowOnlyChanged() | Returns a boolean value that indicates whether only changed items should be displayed. | | setShowOnlyChanged(boolean showOnlyChanged) | Sets the value indicating whether only changed items should be displayed. | | getFolderComparisonExtension() | Gets the format of the resulting folder comparison file. | | setFolderComparisonExtension(FolderComparisonExtension folderComparisonExtension) | Sets the format of the resulting folder comparison file. | ##### CompareOptions() ``` public CompareOptions() ``` Initializes a new instance of the CompareOptions class. ##### CompareOptions(StyleSettings insertedItemStyle, StyleSettings deletedItemStyle, StyleSettings changedItemStyle) ``` public CompareOptions(StyleSettings insertedItemStyle, StyleSettings deletedItemStyle, StyleSettings changedItemStyle) ``` Initializes a new instance of the CompareOptions class with settings for different styles. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | insertedItemStyle | StyleSettings | Style settings for inserted items | | deletedItemStyle | StyleSettings | Style settings for deleted items | | changedItemStyle | StyleSettings | Style settings for changed style items | ##### ignoreChangeSettings ``` public IgnoreChangeSensitivitySettings ignoreChangeSettings ``` ##### getIgnoreChangeSettings() ``` public IgnoreChangeSensitivitySettings getIgnoreChangeSettings() ``` Get settings to ignore changes based on similarity. **Returns:** com.groupdocs.comparison.options.IgnoreChangeSensitivitySettings - Settings to ignore changes. ##### setIgnoreChangeSettings(IgnoreChangeSensitivitySettings ignoreChangeSettings) ``` public void setIgnoreChangeSettings(IgnoreChangeSensitivitySettings ignoreChangeSettings) ``` Sets settings to ignore changes based on similarity. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ignoreChangeSettings | com.groupdocs.comparison.options.IgnoreChangeSensitivitySettings | Settings to ignore changes. | ##### getUserMasterPath() ``` public String getUserMasterPath() ``` Gets the path to the user master's template for Diagrams. **Returns:** java.lang.String - The path to the user master's template for Diagrams. ##### setUserMasterPath(String userMasterPath) ``` public void setUserMasterPath(String userMasterPath) ``` Sets the path to the user master's template for Diagrams. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | userMasterPath | java.lang.String | The path to the user master's template for Diagrams. | ##### getComparisonType() ``` public ComparisonType getComparisonType() ``` Gets a type of source and target documents as ComparisonType object so that Comparison will know how to compare them. When this option is set, LoadOptions.getFileType() option will be omitted. **Returns:** ComparisonType - the type of source and target documents ##### setComparisonType(ComparisonType comparisonType) ``` public void setComparisonType(ComparisonType comparisonType) ``` Sets a type of source and target documents as ComparisonType object so that Comparison will know how to compare them. When this option is set, LoadOptions.setFileType(FileType) option will be omitted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | comparisonType | ComparisonType | The type of source and target documents | ##### getPaperSize() ``` public final PaperSize getPaperSize() ``` Gets a size of a paper in result document as PaperSize object. **Returns:** PaperSize - the size of a paper in result document ##### setPaperSize(PaperSize value) ``` public final void setPaperSize(PaperSize value) ``` Sets a size of a paper in result document as PaperSize object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PaperSize | The size of a paper in result document | ##### getCalculateCoordinatesMode() ``` public CalculateCoordinatesModeEnumeration getCalculateCoordinatesMode() ``` Gets a calculate coordinates mode as CalculateCoordinatesModeEnumeration object. **Returns:** CalculateCoordinatesModeEnumeration - the calculate coordinates mode ##### setCalculateCoordinatesMode(CalculateCoordinatesModeEnumeration calculateCoordinatesMode) ``` public void setCalculateCoordinatesMode(CalculateCoordinatesModeEnumeration calculateCoordinatesMode) ``` Sets a calculate coordinates mode as CalculateCoordinatesModeEnumeration object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | calculateCoordinatesMode | CalculateCoordinatesModeEnumeration | The calculate coordinates mode | ##### isShowDeletedContent() ``` public final boolean isShowDeletedContent() ``` Gets a flag that indicates whether to show deleted components in resultant document or not. **Returns:** boolean - true if deleted components in resultant document will be shown, otherwise false ##### setShowDeletedContent(boolean value) ``` public final void setShowDeletedContent(boolean value) ``` Sets a flag that indicates whether to show deleted components in resultant document or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if deleted components in resultant document should be shown, otherwise false | ##### isShowInsertedContent() ``` public final boolean isShowInsertedContent() ``` Gets a flag that indicates whether to show inserted components in resultant document or not. **Returns:** boolean - true if inserted components in resultant document should be shown, otherwise false ##### setShowInsertedContent(boolean value) ``` public final void setShowInsertedContent(boolean value) ``` Sets a flag that indicates whether to show inserted components in resultant document or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if inserted components in resultant document should be shown, otherwise false | ##### isGenerateSummaryPage() ``` public final boolean isGenerateSummaryPage() ``` Gets a flag that indicates whether to add summary page with detected changes statistics to resultant document or not. **Returns:** boolean - true if summary page will be added, otherwise false ##### setGenerateSummaryPage(boolean value) ``` public final void setGenerateSummaryPage(boolean value) ``` Sets a flag that indicates whether to add summary page with detected changes statistics to resultant document or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if summary page should be added, otherwise false | ##### isExtendedSummaryPage() ``` public boolean isExtendedSummaryPage() ``` Gets a flag that indicates whether to add extended file comparison information to the summary page or not. **Returns:** boolean - true if extended file comparison information will be added to summary page, otherwise false ##### setExtendedSummaryPage(boolean value) ``` public void setExtendedSummaryPage(boolean value) ``` Sets a flag that indicates whether to add extended file comparison information to the summary page or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if extended file comparison information should be added to summary page, otherwise false | ##### isShowOnlySummaryPage() ``` public boolean isShowOnlySummaryPage() ``` Gets a flag that indicates whether to leave in the resulting document only a page with statistics of detected changes or not. **Returns:** boolean - true if in the resulting document only a page with statistics of detected changes will be left, otherwise false ##### setShowOnlySummaryPage(boolean value) ``` public void setShowOnlySummaryPage(boolean value) ``` Sets a flag that indicates whether to leave in the resulting document only a page with statistics of detected changes or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if in the resulting document only a page with statistics of detected changes should be left, otherwise false | ##### isDetectStyleChanges() ``` public final boolean isDetectStyleChanges() ``` Gets a flag that indicates whether to detect style changes or not. **Returns:** boolean - true if style changes will be detected, otherwise false ##### setDetectStyleChanges(boolean value) ``` public final void setDetectStyleChanges(boolean value) ``` Sets a flag that indicates whether to detect style changes or not. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if style changes should be detected, otherwise false | ##### isMarkNestedContent() ``` public final boolean isMarkNestedContent() ``` Gets a flag that indicates whether to mark the children of the deleted or inserted elements as deleted or inserted. **Returns:** boolean - true if the children of the deleted or inserted elements will be marked as deleted or inserted, otherwise false ##### setMarkNestedContent(boolean value) ``` public final void setMarkNestedContent(boolean value) ``` Sets a flag that indicates whether to mark the children of the deleted or inserted elements as deleted or inserted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the children of the deleted or inserted elements should be marked as deleted or inserted, otherwise false | ##### isCalculateCoordinates() ``` public final boolean isCalculateCoordinates() ``` Gets a flag that indicates whether to calculate coordinates for changed components. **Returns:** boolean - true if coordinates for changed components will be calculated, otherwise false ##### setCalculateCoordinates(boolean value) ``` public final void setCalculateCoordinates(boolean value) ``` Sets a flag that indicates whether to calculate coordinates for changed components. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if coordinates for changed components should be calculated, otherwise false | ##### isHeaderFootersComparison() ``` public final boolean isHeaderFootersComparison() ``` Gets a flag that indicates whether to compare header/footer contents. **Returns:** boolean - true if header/footer contents will be compared, otherwise false ##### setHeaderFootersComparison(boolean value) ``` public final void setHeaderFootersComparison(boolean value) ``` Sets a flag that indicates whether to compare header/footer contents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if header/footer contents should be compared, otherwise false | ##### getDetalisationLevel() ``` public final DetalisationLevel getDetalisationLevel() ``` Gets a level of comparison detalization represented as DetalisationLevel. Default value is DetalisationLevel.LOW. **Returns:** DetalisationLevel - the level of comparison detalization ##### setDetalisationLevel(DetalisationLevel value) ``` public final void setDetalisationLevel(DetalisationLevel value) ``` Sets a level of comparison detalization represented as DetalisationLevel. Default value is DetalisationLevel.LOW **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | DetalisationLevel | The level of comparison detalization | ##### isMarkChangedContent() ``` public final boolean isMarkChangedContent() ``` Gets a flag that indicates whether frames for shapes in Word Processing and for rectangles in Image documents will be used. **Returns:** boolean - true if frames will be used, otherwise false ##### setMarkChangedContent(boolean value) ``` public final void setMarkChangedContent(boolean value) ``` Sets a flag that indicates whether frames for shapes in Word Processing and for rectangles in Image documents will be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if frames should be used, otherwise false | ##### getInsertedItemStyle() ``` public final StyleSettings getInsertedItemStyle() ``` Gets a style settings that will be applied to inserted items. **Returns:** StyleSettings - style settings of inserted items ##### setInsertedItemStyle(StyleSettings value) ``` public final void setInsertedItemStyle(StyleSettings value) ``` Sets a style settings that will be applied to inserted items. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | StyleSettings | Style settings of inserted items | ##### getDeletedItemStyle() ``` public final StyleSettings getDeletedItemStyle() ``` Gets a style settings that will be applied to deleted items. **Returns:** StyleSettings - style settings of deleted items ##### setDeletedItemStyle(StyleSettings value) ``` public final void setDeletedItemStyle(StyleSettings value) ``` Sets a style settings that will be applied to deleted items. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | StyleSettings | Style settings of deleted items | ##### getChangedItemStyle() ``` public final StyleSettings getChangedItemStyle() ``` Gets a style settings that will be applied to changed items. **Returns:** StyleSettings - style settings of changed items ##### setChangedItemStyle(StyleSettings value) ``` public final void setChangedItemStyle(StyleSettings value) ``` Sets a style settings that will be applied to changed items. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | StyleSettings | Style settings of changed items | ##### isCompareImagesPdf() ``` public boolean isCompareImagesPdf() ``` Get a value indicating whether to compare images. **Returns:** boolean - compare images ##### setCompareImagesPdf(boolean compareImagesPdf) ``` public void setCompareImagesPdf(boolean compareImagesPdf) ``` Set a value indicating whether to compare images. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | compareImagesPdf | boolean | Compare images | ##### getImagesInheritanceMode() ``` public ImagesInheritance getImagesInheritanceMode() ``` Get a value indicating whether images inheritance mode **Returns:** com.groupdocs.comparison.options.enums.ImagesInheritance - compare images ##### setImagesInheritanceMode(ImagesInheritance imagesInheritanceMode) ``` public void setImagesInheritanceMode(ImagesInheritance imagesInheritanceMode) ``` Set a value indicating whether to images inheritance mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imagesInheritanceMode | com.groupdocs.comparison.options.enums.ImagesInheritance | Images inheritance mode | ##### getSensitivityOfComparison() ``` public final int getSensitivityOfComparison() ``` Gets a sensitivity of comparison. The percentage of deleted and inserted elements of two compared objects in relation to all elements of these objects. * If this percentage if exceeded, the object aren't compared but are considered completely inserted and deleted. * Min value - 0% =\> The comparison doesn't occur for any length of the common subsequence of two compared object. * Default value - 75% =\> Comparison occurs if the percentage of deleted and inserted elements of two compared object with respect to all elements of these objects isn't more then 75. * Max value - 100% =\> The comparison occurs at any length of the common subsequence of two compared objects. **Returns:** int - the sensitivity of comparison ##### setSensitivityOfComparison(int value) ``` public final void setSensitivityOfComparison(int value) ``` Sets a sensitivity of comparison. The percentage of deleted and inserted elements of two compared objects in relation to all elements of these objects. * If this percentage if exceeded, the object aren't compared but are considered completely inserted and deleted. * Min value - 0% =\> The comparison doesn't occur for any length of the common subsequence of two compared object. * Default value - 75% =\> Comparison occurs if the percentage of deleted and inserted elements of two compared object with respect to all elements of these objects isn't more then 75. * Max value - 100% =\> The comparison occurs at any length of the common subsequence of two compared objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The sensitivity of comparison | ##### setSensitivityOfComparisonForTables(Integer value) ``` public void setSensitivityOfComparisonForTables(Integer value) ``` Sets a sensitivity of comparison for tables. If the value is null, SensitivityOfComparison is used instead. The percentage of deleted and inserted elements of two compared objects in relation to all elements of these objects. * if this percentage if exceeded, the object aren't compared but are considered completely inserted and deleted. * Min value - 0% =\> The comparison doesn't occur for any length of the common subsequence of two compared object. * Default value - 75% =\> Comparison occurs, if the percentage of deleted and inserted elements of two compared object with respect to all elements of these objects isn't more then 75. * Max value - 100% =\> The comparison occurs at any length of the common subsequence of two compared objects. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The sensitivity of comparison for tables | ##### getSensitivityOfComparisonForTables() ``` public final Integer getSensitivityOfComparisonForTables() ``` Get a sensitivity of comparison for tables. If the value is null, SensitivityOfComparison is used instead. The percentage of deleted and inserted elements of two compared objects in relation to all elements of these objects. * if this percentage if exceeded, the object aren't compared but are considered completely inserted and deleted. * Min value - 0% =\> The comparison doesn't occur for any length of the common subsequence of two compared object. * Default value - 75% =\> Comparison occurs, if the percentage of deleted and inserted elements of two compared object with respect to all elements of these objects isn't more then 75. * Max value - 100% =\> The comparison occurs at any length of the common subsequence of two compared objects. **Returns:** java.lang.Integer - The sensitivity of comparison for tables ##### setWordsSeparatorChars(char[] value) ``` public final void setWordsSeparatorChars(char[] value) ``` Sets an array of delimiters which will be used to split text into words. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | char[] | The array of delimiters to split text into words | ##### getPasswordSaveOption() ``` public final PasswordSaveOption getPasswordSaveOption() ``` Gets a password save option represented by PasswordSaveOption object. **Returns:** PasswordSaveOption - the password save option ##### setPasswordSaveOption(PasswordSaveOption value) ``` public final void setPasswordSaveOption(PasswordSaveOption value) ``` Sets a password save option represented by PasswordSaveOption object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PasswordSaveOption | The password save option | ##### getOriginalSize() ``` public final OriginalSize getOriginalSize() ``` Gets an original sizes of compared documents represented by OriginalSize object. **Returns:** OriginalSize - the original size of documents ##### setOriginalSize(OriginalSize value) ``` public final void setOriginalSize(OriginalSize value) ``` Sets an original sizes of compared documents represented by OriginalSize object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | OriginalSize | The original size of documents | ##### getDiagramMasterSetting() ``` public final DiagramMasterSetting getDiagramMasterSetting() ``` Gets a setting of master page for Diagram documents represented by DiagramMasterSetting object. **Returns:** DiagramMasterSetting - the diagram master page setting ##### setDiagramMasterSetting(DiagramMasterSetting value) ``` public final void setDiagramMasterSetting(DiagramMasterSetting value) ``` Sets a setting of master page for Diagram documents represented by DiagramMasterSetting object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | DiagramMasterSetting | The diagram master page setting | ##### isDirectoryCompare() ``` public boolean isDirectoryCompare() ``` Returns a flag that indicates whether directory comparison is enabled. **Returns:** boolean - true if directory comparison is enabled, otherwise false ##### setDirectoryCompare(boolean directoryCompare) ``` public void setDirectoryCompare(boolean directoryCompare) ``` Sets a flag that indicates whether directory comparison should be enabled. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | directoryCompare | boolean | true if directory comparison should be enabled, otherwise false | ##### isShowOnlyChanged() ``` public boolean isShowOnlyChanged() ``` Returns a boolean value that indicates whether only changed items should be displayed. **Returns:** boolean - true if only changed items should be displayed, otherwise false ##### setShowOnlyChanged(boolean showOnlyChanged) ``` public void setShowOnlyChanged(boolean showOnlyChanged) ``` Sets the value indicating whether only changed items should be displayed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | showOnlyChanged | boolean | the boolean value indicating whether only changed items should be displayed | ##### getFolderComparisonExtension() ``` public FolderComparisonExtension getFolderComparisonExtension() ``` Gets the format of the resulting folder comparison file. **Returns:** com.groupdocs.comparison.options.enums.FolderComparisonExtension - the FolderComparisonExtension representing the format of the resulting folder comparison file ##### setFolderComparisonExtension(FolderComparisonExtension folderComparisonExtension) ``` public void setFolderComparisonExtension(FolderComparisonExtension folderComparisonExtension) ``` Sets the format of the resulting folder comparison file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | folderComparisonExtension | com.groupdocs.comparison.options.enums.FolderComparisonExtension | the FolderComparisonExtension representing the format of the resulting folder comparison file | ### FileAuthorMetadata Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/fileauthormetadata.md **Inheritance:** java.lang.Object ``` public class FileAuthorMetadata ``` Allows configuring information about the document's author metadata. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); SaveOptions saveOptions = new SaveOptions(); saveOptions.setCloneMetadataType(MetadataType.FILE_AUTHOR); final FileAuthorMetadata fileAuthorMetadata = new FileAuthorMetadata(); fileAuthorMetadata.setAuthor("Tom"); fileAuthorMetadata.setCompany("GroupDocs"); fileAuthorMetadata.setLastSaveBy("Jack"); saveOptions.setFileAuthorMetadata(fileAuthorMetadata); comparer.compare(resultFile, saveOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | FileAuthorMetadata() | Initializes a new instance of the FileAuthorMetadata class. | #### Fields | Field | Description | | --- | --- | | GROUP_DOCS | | #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of a document. | | setAuthor(String value) | Sets the author of a document. | | getLastSaveBy() | Gets name of a person who saved the document for the last time. | | setLastSaveBy(String value) | Sets name of a person who saved the document for the last time. | | getCompany() | Gets name of a company whose document is. | | setCompany(String value) | Sets name of a company whose document is. | ##### FileAuthorMetadata() ``` public FileAuthorMetadata() ``` Initializes a new instance of the FileAuthorMetadata class. ##### GROUP_DOCS ``` public static final String GROUP_DOCS ``` ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of a document. **Returns:** java.lang.String - the author ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the author of a document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author | ##### getLastSaveBy() ``` public final String getLastSaveBy() ``` Gets name of a person who saved the document for the last time. **Returns:** java.lang.String - the name ##### setLastSaveBy(String value) ``` public final void setLastSaveBy(String value) ``` Sets name of a person who saved the document for the last time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of a person | ##### getCompany() ``` public final String getCompany() ``` Gets name of a company whose document is. **Returns:** java.lang.String - the name of a company ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets name of a company whose document is. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of a company | ### GetChangeOptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/getchangeoptions.md **Inheritance:** java.lang.Object ``` public class GetChangeOptions ``` Allows configuring filtering for retrieving specific change types from the comparison result. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(); GetChangeOptions getChangeOptions = new GetChangeOptions(); getChangeOptions.setFilter(ChangeType.DELETED); ChangeInfo[] changes = comparer.getChanges(getChangeOptions); System.out.println(Arrays.toString(changes)); } ```` #### Constructors | Constructor | Description | | --- | --- | | GetChangeOptions() | Initializes a new instance of the GetChangeOptions class. | | GetChangeOptions(ChangeType filter) | Initializes a new instance of the GetChangeOptions class for specified filter type. | #### Methods | Method | Description | | --- | --- | | getFilter() | Gets the filter for retrieving specific change types from the comparison result. | | setFilter(ChangeType value) | Sets the filter for retrieving specific change types from the comparison result. | ##### GetChangeOptions() ``` public GetChangeOptions() ``` Initializes a new instance of the GetChangeOptions class. ##### GetChangeOptions(ChangeType filter) ``` public GetChangeOptions(ChangeType filter) ``` Initializes a new instance of the GetChangeOptions class for specified filter type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filter | ChangeType | | ##### getFilter() ``` public final ChangeType getFilter() ``` Gets the filter for retrieving specific change types from the comparison result. **Returns:** ChangeType - the filter specifying the types of changes to be retrieved. ##### setFilter(ChangeType value) ``` public final void setFilter(ChangeType value) ``` Sets the filter for retrieving specific change types from the comparison result. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ChangeType | The filter specifying the types of changes to be retrieved. | ### OriginalSize Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/originalsize.md **Inheritance:** java.lang.Object ``` public class OriginalSize ``` Represents the original size of a document in a comparison result. The original size includes the dimensions (width and height) of the document's pages. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); CompareOptions compareOptions = new CompareOptions(); final OriginalSize originalSize = compareOptions.getOriginalSize(); originalSize.setWidth(480); originalSize.setHeight(640); comparer.compare(resultFile, compareOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | OriginalSize() | | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width of the document's pages. | | setWidth(int value) | Sets the width of the document's pages. | | getHeight() | Gets the height of the document's pages. | | setHeight(int value) | Sets the height of the document's pages. | ##### OriginalSize() ``` public OriginalSize() ``` ##### getWidth() ``` public final int getWidth() ``` Gets the width of the document's pages. **Returns:** int - the width of the document's pages. ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets the width of the document's pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The width of the document's pages. | ##### getHeight() ``` public final int getHeight() ``` Gets the height of the document's pages. **Returns:** int - the height of the document's pages. ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets the height of the document's pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The height of the document's pages. | ### PreviewOptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/previewoptions.md **Inheritance:** java.lang.Object ``` public class PreviewOptions ``` Provides options for generating document previews in the comparison process. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { PreviewOptions previewOptions = new PreviewOptions( pageNumber -> Files.newOutputStream(Paths.get(String.format("preview-page_%d.png", pageNumber))) ); previewOptions.setPreviewFormat(PreviewFormats.PNG); previewOptions.setPageNumbers(new int[]{1, 2}); comparer.getSource().generatePreview(previewOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | PreviewOptions(Delegates.CreatePageStream createPageStream) | Initializes a new instance of the PreviewOptions class specifying Delegates.CreatePageStream function. | | PreviewOptions(CreatePageStreamFunction createPageStream) | Initializes a new instance of the PreviewOptions class specifying CreatePageStreamFunction function. | | PreviewOptions(Delegates.CreatePageStream createPageStream, Delegates.ReleasePageStream releasePageStream) | Initializes a new instance of the PreviewOptions class specifying Delegates.CreatePageStream and Delegates.ReleasePageStream function. | | PreviewOptions(CreatePageStreamFunction createPageStream, ReleasePageStreamFunction releasePageStream) | Initializes a new instance of the PreviewOptions class specifying CreatePageStreamFunction and ReleasePageStreamFunction function. | #### Methods | Method | Description | | --- | --- | | getCreatePageStream() | Gets a function to create output page preview stream. | | setCreatePageStream(Delegates.CreatePageStream createPageStream) | Sets a function to create output page preview stream. | | setCreatePageStream(CreatePageStreamFunction createPageStream) | Sets a function to create output page preview stream. | | getReleasePageStream() | Gets a function to release output page preview stream. | | setReleasePageStream(Delegates.ReleasePageStream releasePageStream) | Gets a function to release output page preview stream. | | setReleasePageStream(ReleasePageStreamFunction releasePageStream) | Sets a function to release output page preview stream. | | getWidth() | Gets the width of the preview images. | | setWidth(int value) | Sets the width of the preview images. | | getHeight() | Gets the height of the preview images. | | setHeight(int value) | Sets the height of the preview images. | | getPageNumbers() | Gets an array of page numbers for which preview images will be generated. | | setPageNumbers(int[] value) | Sets an array of page numbers for which preview images will be generated. | | getPreviewFormat() | Gets a format of preview images. | | setPreviewFormat(PreviewFormats value) | Sets a format of preview images. | ##### PreviewOptions(Delegates.CreatePageStream createPageStream) ``` public PreviewOptions(Delegates.CreatePageStream createPageStream) ``` Initializes a new instance of the PreviewOptions class specifying Delegates.CreatePageStream function. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The function to create output page preview stream. | ##### PreviewOptions(CreatePageStreamFunction createPageStream) ``` public PreviewOptions(CreatePageStreamFunction createPageStream) ``` Initializes a new instance of the PreviewOptions class specifying CreatePageStreamFunction function. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStreamFunction | The function to create output page preview stream. | ##### PreviewOptions(Delegates.CreatePageStream createPageStream, Delegates.ReleasePageStream releasePageStream) ``` public PreviewOptions(Delegates.CreatePageStream createPageStream, Delegates.ReleasePageStream releasePageStream) ``` Initializes a new instance of the PreviewOptions class specifying Delegates.CreatePageStream and Delegates.ReleasePageStream function. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The function to create output page preview stream. | | releasePageStream | ReleasePageStream | The function to release output page preview stream. | ##### PreviewOptions(CreatePageStreamFunction createPageStream, ReleasePageStreamFunction releasePageStream) ``` public PreviewOptions(CreatePageStreamFunction createPageStream, ReleasePageStreamFunction releasePageStream) ``` Initializes a new instance of the PreviewOptions class specifying CreatePageStreamFunction and ReleasePageStreamFunction function. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStreamFunction | The function to create output page preview stream. | | releasePageStream | ReleasePageStreamFunction | The function to release output page preview stream. | ##### getCreatePageStream() ``` public CreatePageStreamFunction getCreatePageStream() ``` Gets a function to create output page preview stream. **Returns:** CreatePageStreamFunction - the function to create output page preview stream. ##### setCreatePageStream(Delegates.CreatePageStream createPageStream) ``` public void setCreatePageStream(Delegates.CreatePageStream createPageStream) ``` Sets a function to create output page preview stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The function to create output page preview stream. | ##### setCreatePageStream(CreatePageStreamFunction createPageStream) ``` public void setCreatePageStream(CreatePageStreamFunction createPageStream) ``` Sets a function to create output page preview stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStreamFunction | The function to create output page preview stream. | ##### getReleasePageStream() ``` public ReleasePageStreamFunction getReleasePageStream() ``` Gets a function to release output page preview stream. **Returns:** ReleasePageStreamFunction - the function to release output page preview stream. ##### setReleasePageStream(Delegates.ReleasePageStream releasePageStream) ``` public void setReleasePageStream(Delegates.ReleasePageStream releasePageStream) ``` Gets a function to release output page preview stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | releasePageStream | ReleasePageStream | The function to release output page preview stream. | ##### setReleasePageStream(ReleasePageStreamFunction releasePageStream) ``` public void setReleasePageStream(ReleasePageStreamFunction releasePageStream) ``` Sets a function to release output page preview stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | releasePageStream | ReleasePageStreamFunction | The function to release output page preview stream. | ##### getWidth() ``` public final int getWidth() ``` Gets the width of the preview images. **Returns:** int - the width of the preview images. ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets the width of the preview images. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The width of the preview images. | ##### getHeight() ``` public final int getHeight() ``` Gets the height of the preview images. **Returns:** int - the height of the preview images. ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets the height of the preview images. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The height of the preview images. | ##### getPageNumbers() ``` public final int[] getPageNumbers() ``` Gets an array of page numbers for which preview images will be generated. **Returns:** int[] - page numbers array ##### setPageNumbers(int[] value) ``` public final void setPageNumbers(int[] value) ``` Sets an array of page numbers for which preview images will be generated. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | Page numbers array | ##### getPreviewFormat() ``` public final PreviewFormats getPreviewFormat() ``` Gets a format of preview images. **Returns:** PreviewFormats - preview images format ##### setPreviewFormat(PreviewFormats value) ``` public final void setPreviewFormat(PreviewFormats value) ``` Sets a format of preview images. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PreviewFormats | Preview images format | ### com.groupdocs.comparison.result Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result.md Provides classes and interfaces for working with the result of document comparison. The comparison result includes information about changes, revisions, differences, and other comparison-related data. Key classes in this package: * ChangeInfo - Represents information about a specific change in the comparison result. * PageInfo - Represents information about a page in the comparison result. * StyleChangeInfo - Represents information about a style change in a compared document. For more details on working with result of the comparison process using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | ChangeInfo | The ChangeInfo class represents information about a specific change in a document comparison. | | PageInfo | The PageInfo class represents information about a specific page in a document. | | Rectangle | The Rectangle class represents changed area on a document. | | StyleChangeInfo | The StyleChangeInfo class represents information about a style change in a compared document. | #### Enumerations | Enum | Description | | --- | --- | | ChangeType | The ChangeType enum represents the types of changes that can occur during the document comparison process. | | ComparisonAction | The ComparisonAction enum represents the actions that can be applied to a change during the document comparison process. | | FileType | The FileType enum represents the type of a file used in the document comparison process. | ### ChangeInfo Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result/changeinfo.md **Inheritance:** java.lang.Object ``` public class ChangeInfo ``` The ChangeInfo class represents information about a specific change in a document comparison. It provides details such as the type of change, the affected area, and the content before and after the change. Use this class to retrieve information about individual changes within a comparison result. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(resultFile); // Get a list of changes from the comparison result ChangeInfo[] changes = comparer.getChanges(); // Iterate through the changes and retrieve information for (ChangeInfo change : changes) { ChangeType changeType = change.getType(); String componentType = change.getComponentType(); PageInfo pageInfo = change.getPageInfo(); // Process the change information as needed // ... } } ```` #### Constructors | Constructor | Description | | --- | --- | | ChangeInfo() | | #### Methods | Method | Description | | --- | --- | | getRow() | | | setRow(Integer row) | | | getColumn() | | | setColumn(Integer column) | | | getColumnHeader() | | | setColumnHeader(String columnHeader) | | | getId() | Gets unique id of the change. | | setId(int value) | Sets unique id of the change. | | getComparisonAction() | Gets the action that will be applied to the change. | | setComparisonAction(ComparisonAction value) | Sets the action that should be applied to the change. | | getPageInfo() | Gets information about the page, on which current change was found. | | setPageInfo(PageInfo value) | Sets information about the page, on which current change was found. | | getBox() | Gets coordinates of changed element on the page. | | setBox(Rectangle value) | Sets coordinates of changed element on the page. | | getText() | Gets text value of the change. | | setText(String value) | Sets text value of the change. | | getStyleChanges() | Gets the list of style changes. | | setStyleChanges(List value) | Sets the list of style changes. | | getAuthors() | Gets the list of authors. | | setAuthors(List value) | Sets the list of authors. | | getType() | Gets the type of the change represented by enum ChangeType. | | getTargetText() | Gets changed text from target document. | | setTargetText(String value) | Sets changed text from target document. | | getSourceText() | Gets changed text from source document. | | setSourceText(String value) | Sets changed text from source document. | | getComponentType() | Gets the type of the changed component. | | setComponentType(String value) | Sets the type of the changed component. | | toString() | | ##### ChangeInfo() ``` public ChangeInfo() ``` ##### getRow() ``` public Integer getRow() ``` **Returns:** java.lang.Integer ##### setRow(Integer row) ``` public void setRow(Integer row) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | row | java.lang.Integer | | ##### getColumn() ``` public Integer getColumn() ``` **Returns:** java.lang.Integer ##### setColumn(Integer column) ``` public void setColumn(Integer column) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | column | java.lang.Integer | | ##### getColumnHeader() ``` public String getColumnHeader() ``` **Returns:** java.lang.String ##### setColumnHeader(String columnHeader) ``` public void setColumnHeader(String columnHeader) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnHeader | java.lang.String | | ##### getId() ``` public final int getId() ``` Gets unique id of the change. **Returns:** int - the id of the change ##### setId(int value) ``` public final void setId(int value) ``` Sets unique id of the change. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The id of the change | ##### getComparisonAction() ``` public final ComparisonAction getComparisonAction() ``` Gets the action that will be applied to the change. Action (ComparisonAction.ACCEPT or ComparisonAction.REJECT) tells comparison what to do with this change. **Returns:** ComparisonAction - the action that will be applied to the change ##### setComparisonAction(ComparisonAction value) ``` public final void setComparisonAction(ComparisonAction value) ``` Sets the action that should be applied to the change. Action (ComparisonAction.ACCEPT or ComparisonAction.REJECT) tells comparison what to do with this change. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ComparisonAction | The action that should be applied to the change | ##### getPageInfo() ``` public final PageInfo getPageInfo() ``` Gets information about the page, on which current change was found. **Returns:** PageInfo - information about the page ##### setPageInfo(PageInfo value) ``` public final void setPageInfo(PageInfo value) ``` Sets information about the page, on which current change was found. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PageInfo | Information about the page | ##### getBox() ``` public final Rectangle getBox() ``` Gets coordinates of changed element on the page. **Returns:** Rectangle - coordinates of changed element ##### setBox(Rectangle value) ``` public final void setBox(Rectangle value) ``` Sets coordinates of changed element on the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rectangle | Coordinates of changed element, not null | ##### getText() ``` public final String getText() ``` Gets text value of the change. **Returns:** java.lang.String - text value of the change ##### setText(String value) ``` public final void setText(String value) ``` Sets text value of the change. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Text value of the change | ##### getStyleChanges() ``` public final List getStyleChanges() ``` Gets the list of style changes. **Returns:** java.util.List - the list of style changes ##### setStyleChanges(List value) ``` public final void setStyleChanges(List value) ``` Sets the list of style changes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | The list of style changes | ##### getAuthors() ``` public final List getAuthors() ``` Gets the list of authors. **Returns:** java.util.List - the list of authors ##### setAuthors(List value) ``` public final void setAuthors(List value) ``` Sets the list of authors. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | The list of authors | ##### getType() ``` public final ChangeType getType() ``` Gets the type of the change represented by enum ChangeType. **Returns:** ChangeType - the type of the change ##### getTargetText() ``` public String getTargetText() ``` Gets changed text from target document. **Returns:** java.lang.String - the changed text ##### setTargetText(String value) ``` public void setTargetText(String value) ``` Sets changed text from target document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The changed text | ##### getSourceText() ``` public String getSourceText() ``` Gets changed text from source document. **Returns:** java.lang.String - the changed text ##### setSourceText(String value) ``` public void setSourceText(String value) ``` Sets changed text from source document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The changed text | ##### getComponentType() ``` public String getComponentType() ``` Gets the type of the changed component. **Returns:** java.lang.String - the type of the changed component ##### setComponentType(String value) ``` public void setComponentType(String value) ``` Sets the type of the changed component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the changed component | ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### ChangeType Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result/changetype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum ChangeType extends Enum ``` The ChangeType enum represents the types of changes that can occur during the document comparison process. Each constant in this enum represents a specific type of change and provides a human-readable description and a numeric value. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(); final ChangeInfo[] changes = comparer.getChanges(); for (ChangeInfo changeInfo : changes) { // Get the ChangeType for a specific change final ChangeType changeType = changeInfo.getType(); // Print the ChangeType information System.out.println("Description: " + changeType.toString()); System.out.println("Value: " + changeType.toInt()); } } ```` #### Fields | Field | Description | | --- | --- | | NONE | Represents no change. | | MODIFIED | Represents a modified change. | | INSERTED | Represents an inserted change. | | DELETED | Represents a deleted change. | | ADDED | Represents an added change. | | NOT_MODIFIED | Represents a not modified change. | | STYLE_CHANGED | Represents a style changed change. | | RESIZED | Represents a resized change. | | MOVED | Represents a moved change. | | MOVED_AND_RESIZED | Represents a moved and resized change. | | SHIFTED_AND_RESIZED | Represents a shifted and resized change. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of ChangeType to get the enum constant. | | fromInt(int intValue) | Creates new constant of enum ChangeType using provided numeric value. | | toString() | String representation of ChangeType. | | toInt() | Numeric representation of ChangeType. | ##### NONE ``` public static final ChangeType NONE ``` Represents no change. ##### MODIFIED ``` public static final ChangeType MODIFIED ``` Represents a modified change. ##### INSERTED ``` public static final ChangeType INSERTED ``` Represents an inserted change. ##### DELETED ``` public static final ChangeType DELETED ``` Represents a deleted change. ##### ADDED ``` public static final ChangeType ADDED ``` Represents an added change. ##### NOT_MODIFIED ``` public static final ChangeType NOT_MODIFIED ``` Represents a not modified change. ##### STYLE_CHANGED ``` public static final ChangeType STYLE_CHANGED ``` Represents a style changed change. ##### RESIZED ``` public static final ChangeType RESIZED ``` Represents a resized change. ##### MOVED ``` public static final ChangeType MOVED ``` Represents a moved change. ##### MOVED_AND_RESIZED ``` public static final ChangeType MOVED_AND_RESIZED ``` Represents a moved and resized change. ##### SHIFTED_AND_RESIZED ``` public static final ChangeType SHIFTED_AND_RESIZED ``` Represents a shifted and resized change. ##### values() ``` public static ChangeType[] values() ``` **Returns:** com.groupdocs.comparison.result.ChangeType[] ##### valueOf(String name) ``` public static ChangeType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ChangeType ##### fromString(String toStringValue) ``` public static ChangeType fromString(String toStringValue) ``` Parses string representation of ChangeType to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of ChangeType | **Returns:** ChangeType - ChangeType enum constant associated with input string ##### fromInt(int intValue) ``` public static ChangeType fromInt(int intValue) ``` Creates new constant of enum ChangeType using provided numeric value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | intValue | int | The numeric representation of ChangeType | **Returns:** ChangeType - ChangeType enum constant associated with numeric value ##### toString() ``` public String toString() ``` String representation of ChangeType. **Returns:** java.lang.String - string value of enum constant ##### toInt() ``` public int toInt() ``` Numeric representation of ChangeType. **Returns:** int - numeric value of enum constant ### ComparisonAction Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result/comparisonaction.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum ComparisonAction extends Enum ``` The ComparisonAction enum represents the actions that can be applied to a change during the document comparison process. Each constant in this enum represents a specific action and provides a human-readable description and a numeric value. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(); final ChangeInfo[] changes = comparer.getChanges(); for (ChangeInfo changeInfo : changes) { if (changeInfo.getId() % 2 == 0) { changeInfo.setComparisonAction(ComparisonAction.REJECT); } } comparer.applyChanges(resultFile, changes); } ```` #### Fields | Field | Description | | --- | --- | | NONE | Represents no action. | | ACCEPT | Represents an accept action. | | REJECT | Represents a reject action. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromString(String toStringValue) | Parses string representation of ComparisonAction to get the enum constant. | | fromInt(int intValue) | Creates new constant of enum ComparisonAction using provided numeric value. | | toString() | String representation of ComparisonAction. | | toInt() | Numeric representation of ComparisonAction. | ##### NONE ``` public static final ComparisonAction NONE ``` Represents no action. The change will have no effect. ##### ACCEPT ``` public static final ComparisonAction ACCEPT ``` Represents an accept action. The change will be visible in the result file. ##### REJECT ``` public static final ComparisonAction REJECT ``` Represents a reject action. The change will be invisible in the result file. ##### values() ``` public static ComparisonAction[] values() ``` **Returns:** com.groupdocs.comparison.result.ComparisonAction[] ##### valueOf(String name) ``` public static ComparisonAction valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ComparisonAction ##### fromString(String toStringValue) ``` public static ComparisonAction fromString(String toStringValue) ``` Parses string representation of ComparisonAction to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of ComparisonAction | **Returns:** ComparisonAction - ComparisonAction enum constant associated with input string ##### fromInt(int intValue) ``` public static ComparisonAction fromInt(int intValue) ``` Creates new constant of enum ComparisonAction using provided numeric value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | intValue | int | The numeric representation of ComparisonAction | **Returns:** ComparisonAction - ComparisonAction enum constant associated with numeric value ##### toString() ``` public String toString() ``` String representation of ComparisonAction. **Returns:** java.lang.String - string value of enum constant ##### toInt() ``` public int toInt() ``` Numeric representation of ComparisonAction. **Returns:** int - numeric value of enum constant ### FileType Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result/filetype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public enum FileType extends Enum implements System.IEquatable ``` The FileType enum represents the type of a file used in the document comparison process. It defines different file types such as Word documents, PDF files, and more. Provides methods to obtain list of all file types supported by GroupDocs.Comparison, detect file type by extension etc. Use this enum to specify the file type when working with the GroupDocs.Comparison library. * Learn more about file formats supported by GroupDocs.Comparison: Full list of supported document formats * Learn more about getting supported file types in Java: How to get supported file formats in Java Example usage: ```` // Set the file type to Word document final FileType fileType = FileType.DOCX; // Perform comparison using the specified file type final LoadOptions loadOptions = new LoadOptions(fileType); try (Comparer comparer = new Comparer(sourceFile, loadOptions)) { comparer.add(targetFile); comparer.compare(resultFile, compareOptions); } ```` #### Fields | Field | Description | | --- | --- | | UNKNOWN | Unknown type | | AS | ActionScript Programming Language format | | AS3 | ActionScript Programming Language format | | ASM | Assembler Programming Language format | | BAT | Script file in DOS, OS/2 and Microsoft Windows | | CMD | Script file in DOS, OS/2 and Microsoft Windows | | C | C-Based Programming Language format | | H | C-Based header files contain definitions of Functions and Variables | | PDF | Adobe Portable Document format | | DOC | Microsoft Word 97-2003 Document | | DOCM | Microsoft Word Macro-Enabled Document | | DOCX | Microsoft Word Document | | DOT | Microsoft Word 97-2003 Template | | DOTM | Microsoft Word Macro-Enabled Template | | DOTX | Microsoft Word Template | | XLS | Microsoft Excel 97-2003 Worksheet | | XLT | Microsoft Excel template | | XLSX | Microsoft Excel Worksheet | | XLTM | Microsoft Excel macro-enabled template | | XLSB | Microsoft Excel Binary Worksheet | | XLSM | Microsoft Excel Macro-Enabled Worksheet | | POT | Microsoft PowerPoint template | | POTX | Microsoft PowerPoint Template | | POTM | Microsoft PowerPoint Template with support for Macros | | PPS | Microsoft PowerPoint 97-2003 Slide Show | | PPSX | Microsoft PowerPoint Slide Show | | PPTX | Microsoft PowerPoint Presentation | | PPT | Microsoft PowerPoint 97-2003 Presentation | | PPTM | Microsoft PowerPoint Macro-Enabled Presentation | | PPSM | Microsoft PowerPoint Macro-Enabled Slide Show Presentation | | VSDX | Microsoft Visio Drawing | | VSD | Microsoft Visio 2003-2010 Drawing | | VSS | Microsoft Visio 2003-2010 Stencil | | VST | Microsoft Visio 2003-2010 Template | | VDX | Microsoft Visio 2003-2010 XML Drawing | | ONE | Microsoft OneNote Document | | ODT | OpenDocument Text | | ODP | OpenDocument Presentation | | OTP | OpenDocument Presentation Template | | ODS | OpenDocument Spreadsheet | | OTT | OpenDocument Text Template | | RTF | Rich Text Document | | TXT | Plain Text Document | | CSV | Comma Separated Values File | | HTML | HyperText Markup Language | | MHTML | Mime HTML | | MOBI | Mobipocket e-book format | | DCM | Digital Imaging and Communications in Medicine | | DJVU | Deja Vu format | | DWG | Autodesk Design Data Formats | | DXF | AutoCAD Drawing Interchange | | BMP | Bitmap Picture | | GIF | Graphics Interchange Format | | JPEG | Joint Photographic Experts Group | | JPG | Joint Photographic Experts Group | | PNG | Portable Network Graphics | | SVG | Scalar Vector Graphics | | EML | E-mail Message | | EMLX | Apple Mail E-mail File | | MSG | Microsoft Outlook E-mail Message | | CAD | CAD file format | | CPP | C-Based Programming Language format | | CC | C-Based Programming Language format | | CXX | C-Based Programming Language format | | HXX | Header Files that are written in the C++ programming language | | HH | Header information referenced by a C++ source code file | | HPP | Header Files that are written in the C++ programming language | | CMAKE | Tool for managing the build process of software | | CS | CSharp Programming Language format | | CSX | CSharp script file format | | CAKE | CSharp cross-platform build automation system format | | DIFF | Data comparison tool format | | PATCH | List of differences format | | REJ | Rejected files format | | GROOVY | Source code file written in Groovy format | | GVY | Source code file written in Groovy format | | GRADLE | Build-automation system format | | HAML | Markup language for simplified HTML generation | | JS | JavaScript Programming Language format | | ES6 | JavaScript standardised scripting language format | | MJS | Extension for EcmaScript (ES) module files | | PAC | Proxy Auto-Configuration file for JavaScript function format | | JSON | Lightweight format for storing and transporting data | | BOWERRC | Configuration file for package control on the server-side | | JSHINTRC | JavaScript code quality tool | | JSCSRC | JavaScript configuration file format | | WEBMANIFEST | Manifest file includes information about the app | | JSMAP | JSON file that contains information on how to translate code back to source code | | HAR | The HTTP Archive format | | JAVA | Java Programming Language format | | LESS | Dynamic preprocessor style sheet language format | | LOG | Logging keeps a registry of events, processes, messages and communication | | MAKE | Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal | | MK | Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal | | MD | Markdown Language format | | MKD | Markdown Language format | | MDWN | Markdown Language format | | MDOWN | Markdown Language format | | MARKDOWN | Markdown Language format | | MARKDN | Markdown Language format | | MDTXT | Markdown Language format | | MDTEXT | Markdown Language format | | ML | Caml Programming Language format | | MLI | Caml Programming Language format | | OBJC | Objective-C Programming Language format | | OBJCP | Objective-C++ Programming Language format | | PHP | PHP Programming Language format | | PHP4 | PHP Programming Language format | | PHP5 | PHP Programming Language format | | PHTML | Standard file extension for PHP 2 programs format | | CTP | CakePHP Template format | | PL | Perl Programming Language format | | PM | Perl module format | | POD | Perl lightweight markup language format | | T | Perl test file format | | PSGI | Interface between web servers and web applications and frameworks written in the Perl programming | | P6 | Perl Programming Language format | | PL6 | Perl Programming Language format | | PM6 | Perl module format | | NQP | Intermediate language used to build the Rakudo Perl 6 compiler | | PROP | Properties file format | | CFG | Configuration file used for storing settings | | CONF | Configuration file used on Unix and Linux based systems | | DIR | Directory is a location for storing files on computer | | PY | Python Programming Language format | | RPY | Python-based file engine to create and run games | | PYW | Files used in Windows to indicate a script needs to be run | | CPY | Controller Python Script format | | GYP | Build automation tool format | | GYPI | Build automation tool format | | PYI | Python Interface file format | | IPY | IPython Script format | | RST | Lightweight markup language | | RB | Ruby Programming Language format | | ERB | Ruby Programming Language format | | RJS | Ruby Programming Language format | | GEMSPEC | Developer file that specifies the attributes of a RubyGems | | RAKE | Ruby build automation tool | | RU | Rack configuration file format | | PODSPEC | Ruby build settings format | | RBI | Ruby Interface file format | | SASS | Style sheet language format | | SCSS | Style sheet language format | | SCALA | Scala Programming Language format | | SBT | SBT build tool for Scala format | | SC | Scala worksheet format | | SH | Script programmed for bash format | | BASH | Type of interpreter that processes shell commands | | BASHRC | File determines the behavior of interactive shells | | EBUILD | Specialized bash script which automates compilation and installation procedures for software packages | | SQL | Structured Query Language format | | DSQL | Dynamic Structured Query Language format | | VIM | Vim source code file format | | YAML | Human-readable data-serialization language format | | YML | Human-readable data-serialization language format | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromFileNameOrExtension(String value) | Return FileType based on file name or extension | | getSupportedFileTypes() | Gets list of supported file types | | areEquals(FileType left, FileType right) | Checks the equality of provided file types | | areNotEquals(FileType left, FileType right) | Checks are provided file types not equals | | getFileFormat() | Gets text description of the file type | | getExtension() | Gets the extension of the file type | | toString() | Gets string representation of FileType, for example 'PHP Programming Language format (.php)' | ##### UNKNOWN ``` public static final FileType UNKNOWN ``` Unknown type ##### AS ``` public static final FileType AS ``` ActionScript Programming Language format ##### AS3 ``` public static final FileType AS3 ``` ActionScript Programming Language format ##### ASM ``` public static final FileType ASM ``` Assembler Programming Language format ##### BAT ``` public static final FileType BAT ``` Script file in DOS, OS/2 and Microsoft Windows ##### CMD ``` public static final FileType CMD ``` Script file in DOS, OS/2 and Microsoft Windows ##### C ``` public static final FileType C ``` C-Based Programming Language format ##### H ``` public static final FileType H ``` C-Based header files contain definitions of Functions and Variables ##### PDF ``` public static final FileType PDF ``` Adobe Portable Document format ##### DOC ``` public static final FileType DOC ``` Microsoft Word 97-2003 Document ##### DOCM ``` public static final FileType DOCM ``` Microsoft Word Macro-Enabled Document ##### DOCX ``` public static final FileType DOCX ``` Microsoft Word Document ##### DOT ``` public static final FileType DOT ``` Microsoft Word 97-2003 Template ##### DOTM ``` public static final FileType DOTM ``` Microsoft Word Macro-Enabled Template ##### DOTX ``` public static final FileType DOTX ``` Microsoft Word Template ##### XLS ``` public static final FileType XLS ``` Microsoft Excel 97-2003 Worksheet ##### XLT ``` public static final FileType XLT ``` Microsoft Excel template ##### XLSX ``` public static final FileType XLSX ``` Microsoft Excel Worksheet ##### XLTM ``` public static final FileType XLTM ``` Microsoft Excel macro-enabled template ##### XLSB ``` public static final FileType XLSB ``` Microsoft Excel Binary Worksheet ##### XLSM ``` public static final FileType XLSM ``` Microsoft Excel Macro-Enabled Worksheet ##### POT ``` public static final FileType POT ``` Microsoft PowerPoint template ##### POTX ``` public static final FileType POTX ``` Microsoft PowerPoint Template ##### POTM ``` public static final FileType POTM ``` Microsoft PowerPoint Template with support for Macros ##### PPS ``` public static final FileType PPS ``` Microsoft PowerPoint 97-2003 Slide Show ##### PPSX ``` public static final FileType PPSX ``` Microsoft PowerPoint Slide Show ##### PPTX ``` public static final FileType PPTX ``` Microsoft PowerPoint Presentation ##### PPT ``` public static final FileType PPT ``` Microsoft PowerPoint 97-2003 Presentation ##### PPTM ``` public static final FileType PPTM ``` Microsoft PowerPoint Macro-Enabled Presentation ##### PPSM ``` public static final FileType PPSM ``` Microsoft PowerPoint Macro-Enabled Slide Show Presentation ##### VSDX ``` public static final FileType VSDX ``` Microsoft Visio Drawing ##### VSD ``` public static final FileType VSD ``` Microsoft Visio 2003-2010 Drawing ##### VSS ``` public static final FileType VSS ``` Microsoft Visio 2003-2010 Stencil ##### VST ``` public static final FileType VST ``` Microsoft Visio 2003-2010 Template ##### VDX ``` public static final FileType VDX ``` Microsoft Visio 2003-2010 XML Drawing ##### ONE ``` public static final FileType ONE ``` Microsoft OneNote Document ##### ODT ``` public static final FileType ODT ``` OpenDocument Text ##### ODP ``` public static final FileType ODP ``` OpenDocument Presentation ##### OTP ``` public static final FileType OTP ``` OpenDocument Presentation Template ##### ODS ``` public static final FileType ODS ``` OpenDocument Spreadsheet ##### OTT ``` public static final FileType OTT ``` OpenDocument Text Template ##### RTF ``` public static final FileType RTF ``` Rich Text Document ##### TXT ``` public static final FileType TXT ``` Plain Text Document ##### CSV ``` public static final FileType CSV ``` Comma Separated Values File ##### HTML ``` public static final FileType HTML ``` HyperText Markup Language ##### MHTML ``` public static final FileType MHTML ``` Mime HTML ##### MOBI ``` public static final FileType MOBI ``` Mobipocket e-book format ##### DCM ``` public static final FileType DCM ``` Digital Imaging and Communications in Medicine ##### DJVU ``` public static final FileType DJVU ``` Deja Vu format ##### DWG ``` public static final FileType DWG ``` Autodesk Design Data Formats ##### DXF ``` public static final FileType DXF ``` AutoCAD Drawing Interchange ##### BMP ``` public static final FileType BMP ``` Bitmap Picture ##### GIF ``` public static final FileType GIF ``` Graphics Interchange Format ##### JPEG ``` public static final FileType JPEG ``` Joint Photographic Experts Group ##### JPG ``` public static final FileType JPG ``` Joint Photographic Experts Group ##### PNG ``` public static final FileType PNG ``` Portable Network Graphics ##### SVG ``` public static final FileType SVG ``` Scalar Vector Graphics ##### EML ``` public static final FileType EML ``` E-mail Message ##### EMLX ``` public static final FileType EMLX ``` Apple Mail E-mail File ##### MSG ``` public static final FileType MSG ``` Microsoft Outlook E-mail Message ##### CAD ``` public static final FileType CAD ``` CAD file format ##### CPP ``` public static final FileType CPP ``` C-Based Programming Language format ##### CC ``` public static final FileType CC ``` C-Based Programming Language format ##### CXX ``` public static final FileType CXX ``` C-Based Programming Language format ##### HXX ``` public static final FileType HXX ``` Header Files that are written in the C++ programming language ##### HH ``` public static final FileType HH ``` Header information referenced by a C++ source code file ##### HPP ``` public static final FileType HPP ``` Header Files that are written in the C++ programming language ##### CMAKE ``` public static final FileType CMAKE ``` Tool for managing the build process of software ##### CS ``` public static final FileType CS ``` CSharp Programming Language format ##### CSX ``` public static final FileType CSX ``` CSharp script file format ##### CAKE ``` public static final FileType CAKE ``` CSharp cross-platform build automation system format ##### DIFF ``` public static final FileType DIFF ``` Data comparison tool format ##### PATCH ``` public static final FileType PATCH ``` List of differences format ##### REJ ``` public static final FileType REJ ``` Rejected files format ##### GROOVY ``` public static final FileType GROOVY ``` Source code file written in Groovy format ##### GVY ``` public static final FileType GVY ``` Source code file written in Groovy format ##### GRADLE ``` public static final FileType GRADLE ``` Build-automation system format ##### HAML ``` public static final FileType HAML ``` Markup language for simplified HTML generation ##### JS ``` public static final FileType JS ``` JavaScript Programming Language format ##### ES6 ``` public static final FileType ES6 ``` JavaScript standardised scripting language format ##### MJS ``` public static final FileType MJS ``` Extension for EcmaScript (ES) module files ##### PAC ``` public static final FileType PAC ``` Proxy Auto-Configuration file for JavaScript function format ##### JSON ``` public static final FileType JSON ``` Lightweight format for storing and transporting data ##### BOWERRC ``` public static final FileType BOWERRC ``` Configuration file for package control on the server-side ##### JSHINTRC ``` public static final FileType JSHINTRC ``` JavaScript code quality tool ##### JSCSRC ``` public static final FileType JSCSRC ``` JavaScript configuration file format ##### WEBMANIFEST ``` public static final FileType WEBMANIFEST ``` Manifest file includes information about the app ##### JSMAP ``` public static final FileType JSMAP ``` JSON file that contains information on how to translate code back to source code ##### HAR ``` public static final FileType HAR ``` The HTTP Archive format ##### JAVA ``` public static final FileType JAVA ``` Java Programming Language format ##### LESS ``` public static final FileType LESS ``` Dynamic preprocessor style sheet language format ##### LOG ``` public static final FileType LOG ``` Logging keeps a registry of events, processes, messages and communication ##### MAKE ``` public static final FileType MAKE ``` Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal ##### MK ``` public static final FileType MK ``` Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal ##### MD ``` public static final FileType MD ``` Markdown Language format ##### MKD ``` public static final FileType MKD ``` Markdown Language format ##### MDWN ``` public static final FileType MDWN ``` Markdown Language format ##### MDOWN ``` public static final FileType MDOWN ``` Markdown Language format ##### MARKDOWN ``` public static final FileType MARKDOWN ``` Markdown Language format ##### MARKDN ``` public static final FileType MARKDN ``` Markdown Language format ##### MDTXT ``` public static final FileType MDTXT ``` Markdown Language format ##### MDTEXT ``` public static final FileType MDTEXT ``` Markdown Language format ##### ML ``` public static final FileType ML ``` Caml Programming Language format ##### MLI ``` public static final FileType MLI ``` Caml Programming Language format ##### OBJC ``` public static final FileType OBJC ``` Objective-C Programming Language format ##### OBJCP ``` public static final FileType OBJCP ``` Objective-C++ Programming Language format ##### PHP ``` public static final FileType PHP ``` PHP Programming Language format ##### PHP4 ``` public static final FileType PHP4 ``` PHP Programming Language format ##### PHP5 ``` public static final FileType PHP5 ``` PHP Programming Language format ##### PHTML ``` public static final FileType PHTML ``` Standard file extension for PHP 2 programs format ##### CTP ``` public static final FileType CTP ``` CakePHP Template format ##### PL ``` public static final FileType PL ``` Perl Programming Language format ##### PM ``` public static final FileType PM ``` Perl module format ##### POD ``` public static final FileType POD ``` Perl lightweight markup language format ##### T ``` public static final FileType T ``` Perl test file format ##### PSGI ``` public static final FileType PSGI ``` Interface between web servers and web applications and frameworks written in the Perl programming ##### P6 ``` public static final FileType P6 ``` Perl Programming Language format ##### PL6 ``` public static final FileType PL6 ``` Perl Programming Language format ##### PM6 ``` public static final FileType PM6 ``` Perl module format ##### NQP ``` public static final FileType NQP ``` Intermediate language used to build the Rakudo Perl 6 compiler ##### PROP ``` public static final FileType PROP ``` Properties file format ##### CFG ``` public static final FileType CFG ``` Configuration file used for storing settings ##### CONF ``` public static final FileType CONF ``` Configuration file used on Unix and Linux based systems ##### DIR ``` public static final FileType DIR ``` Directory is a location for storing files on computer ##### PY ``` public static final FileType PY ``` Python Programming Language format ##### RPY ``` public static final FileType RPY ``` Python-based file engine to create and run games ##### PYW ``` public static final FileType PYW ``` Files used in Windows to indicate a script needs to be run ##### CPY ``` public static final FileType CPY ``` Controller Python Script format ##### GYP ``` public static final FileType GYP ``` Build automation tool format ##### GYPI ``` public static final FileType GYPI ``` Build automation tool format ##### PYI ``` public static final FileType PYI ``` Python Interface file format ##### IPY ``` public static final FileType IPY ``` IPython Script format ##### RST ``` public static final FileType RST ``` Lightweight markup language ##### RB ``` public static final FileType RB ``` Ruby Programming Language format ##### ERB ``` public static final FileType ERB ``` Ruby Programming Language format ##### RJS ``` public static final FileType RJS ``` Ruby Programming Language format ##### GEMSPEC ``` public static final FileType GEMSPEC ``` Developer file that specifies the attributes of a RubyGems ##### RAKE ``` public static final FileType RAKE ``` Ruby build automation tool ##### RU ``` public static final FileType RU ``` Rack configuration file format ##### PODSPEC ``` public static final FileType PODSPEC ``` Ruby build settings format ##### RBI ``` public static final FileType RBI ``` Ruby Interface file format ##### SASS ``` public static final FileType SASS ``` Style sheet language format ##### SCSS ``` public static final FileType SCSS ``` Style sheet language format ##### SCALA ``` public static final FileType SCALA ``` Scala Programming Language format ##### SBT ``` public static final FileType SBT ``` SBT build tool for Scala format ##### SC ``` public static final FileType SC ``` Scala worksheet format ##### SH ``` public static final FileType SH ``` Script programmed for bash format ##### BASH ``` public static final FileType BASH ``` Type of interpreter that processes shell commands ##### BASHRC ``` public static final FileType BASHRC ``` File determines the behavior of interactive shells ##### EBUILD ``` public static final FileType EBUILD ``` Specialized bash script which automates compilation and installation procedures for software packages ##### SQL ``` public static final FileType SQL ``` Structured Query Language format ##### DSQL ``` public static final FileType DSQL ``` Dynamic Structured Query Language format ##### VIM ``` public static final FileType VIM ``` Vim source code file format ##### YAML ``` public static final FileType YAML ``` Human-readable data-serialization language format ##### YML ``` public static final FileType YML ``` Human-readable data-serialization language format ##### values() ``` public static FileType[] values() ``` **Returns:** com.groupdocs.comparison.result.FileType[] ##### valueOf(String name) ``` public static FileType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** FileType ##### fromFileNameOrExtension(String value) ``` public static FileType fromFileNameOrExtension(String value) ``` Return FileType based on file name or extension **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | File name or extension, not null | **Returns:** FileType - the file type ##### getSupportedFileTypes() ``` public static List getSupportedFileTypes() ``` Gets list of supported file types **Returns:** java.util.List - list of FileType ##### areEquals(FileType left, FileType right) ``` public static boolean areEquals(FileType left, FileType right) ``` Checks the equality of provided file types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left FileType object. | | right | FileType | Right FileType object. | **Returns:** boolean - true if equal, otherwise false ##### areNotEquals(FileType left, FileType right) ``` public static boolean areNotEquals(FileType left, FileType right) ``` Checks are provided file types not equals **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left FileType object. | | right | FileType | Right FileType object. | **Returns:** boolean - true if not equal, otherwise false ##### getFileFormat() ``` public String getFileFormat() ``` Gets text description of the file type **Returns:** java.lang.String - file type descriptiuon ##### getExtension() ``` public String getExtension() ``` Gets the extension of the file type **Returns:** java.lang.String - extension of the file type ##### toString() ``` public String toString() ``` Gets string representation of FileType, for example 'PHP Programming Language format (.php)' **Returns:** java.lang.String - string representation ### PageInfo Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result/pageinfo.md **Inheritance:** java.lang.Object ``` public class PageInfo ``` The PageInfo class represents information about a specific page in a document. It provides details such as the page number, width, height, and other relevant properties. Use this class to retrieve information about individual pages in a document during the comparison process. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(resultFile); final ChangeInfo[] changes = comparer.getChanges(); for (ChangeInfo change : changes) { final PageInfo pageInfo = change.getPageInfo(); // Print the page information System.out.println("Page Number: " + pageInfo.getPageNumber()); System.out.println("Page Width: " + pageInfo.getWidth()); System.out.println("Page Height: " + pageInfo.getHeight()); } } ```` #### Constructors | Constructor | Description | | --- | --- | | PageInfo(int pageNumber, int width, int height) | Initializes a new instance of the PageInfo class with configuring pageNumber, width and height. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width of the page | | setWidth(int value) | Sets the width of the page | | getHeight() | Gets the height of the page | | setHeight(int value) | Sets the height of the page | | getPageNumber() | Gets the number of the page | | setPageNumber(int value) | Sets the number of the page | | toString() | | ##### PageInfo(int pageNumber, int width, int height) ``` public PageInfo(int pageNumber, int width, int height) ``` Initializes a new instance of the PageInfo class with configuring pageNumber, width and height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | The number of the page | | width | int | The width of the page | | height | int | The height of the page | ##### getWidth() ``` public final int getWidth() ``` Gets the width of the page **Returns:** int - the width of the page ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets the width of the page **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The width of the page | ##### getHeight() ``` public final int getHeight() ``` Gets the height of the page **Returns:** int - the height of the page ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets the height of the page **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The height of the page | ##### getPageNumber() ``` public final int getPageNumber() ``` Gets the number of the page **Returns:** int - the number of the page ##### setPageNumber(int value) ``` public final void setPageNumber(int value) ``` Sets the number of the page **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The number of the page | ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### Rectangle Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result/rectangle.md **Inheritance:** java.lang.Object ``` public final class Rectangle ``` The Rectangle class represents changed area on a document. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(resultFile); final ChangeInfo[] changes = comparer.getChanges(); for (ChangeInfo change : changes) { final Rectangle box = change.getBox(); // Print the changed area on page System.out.println("Changed area on a page: " + box.getX() + ", " + box.getY() + ", " + box.getWidth() + ", " + box.getHeight()); } } ```` #### Constructors | Constructor | Description | | --- | --- | | Rectangle() | Initializes a new instance of the Rectangle class. | | Rectangle(Rectangle other) | Creates a new Rectangle object that is a copy of the specified rectangle. | | Rectangle(double x, double y, double width, double height) | Creates a new instance of the Rectangle class with the specified x, y, width, and height. | #### Methods | Method | Description | | --- | --- | | getHeight() | Gets the height of the rectangle. | | setHeight(double value) | Sets the height of the rectangle. | | getWidth() | Gets the width of the rectangle. | | setWidth(double value) | Sets the width of the rectangle. | | getX() | Gets the x-coordinate of the top-left corner of the rectangle. | | setX(double value) | Sets the x-coordinate of the top-left corner of the rectangle. | | getY() | Gets the y-coordinate of the top-left corner of the rectangle. | | setY(double value) | Sets the y-coordinate of the top-left corner of the rectangle. | | equals(Object o) | {@inheritDoc} | | hashCode() | {@inheritDoc} | | toString() | {@inheritDoc} | ##### Rectangle() ``` public Rectangle() ``` Initializes a new instance of the Rectangle class. ##### Rectangle(Rectangle other) ``` public Rectangle(Rectangle other) ``` Creates a new Rectangle object that is a copy of the specified rectangle.
**Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Rectangle | The rectangle to be copied | ##### Rectangle(double x, double y, double width, double height) ``` public Rectangle(double x, double y, double width, double height) ``` Creates a new instance of the Rectangle class with the specified x, y, width, and height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | x | double | The x-coordinate of the top-left corner of the rectangle | | y | double | The y-coordinate of the top-left corner of the rectangle | | width | double | The width of the rectangle | | height | double | The height of the rectangle | ##### getHeight() ``` public double getHeight() ``` Gets the height of the rectangle. **Returns:** double - the height of the rectangle ##### setHeight(double value) ``` public void setHeight(double value) ``` Sets the height of the rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The height of the rectangle | ##### getWidth() ``` public double getWidth() ``` Gets the width of the rectangle. **Returns:** double - the width of the rectangle ##### setWidth(double value) ``` public void setWidth(double value) ``` Sets the width of the rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The width of the rectangle | ##### getX() ``` public double getX() ``` Gets the x-coordinate of the top-left corner of the rectangle. **Returns:** double - the x-coordinate of the top-left corner of the rectangle ##### setX(double value) ``` public void setX(double value) ``` Sets the x-coordinate of the top-left corner of the rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The x-coordinate of the top-left corner of the rectangle | ##### getY() ``` public double getY() ``` Gets the y-coordinate of the top-left corner of the rectangle. **Returns:** double - the y-coordinate of the top-left corner of the rectangle ##### setY(double value) ``` public void setY(double value) ``` Sets the y-coordinate of the top-left corner of the rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The y-coordinate of the top-left corner of the rectangle | ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### StyleChangeInfo Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.result/stylechangeinfo.md **Inheritance:** java.lang.Object ``` public class StyleChangeInfo ``` The StyleChangeInfo class represents information about a style change in a compared document. It provides details such as the changed property name, values before and after the change, and so on. Use this class to retrieve information about style changes during the document comparison process. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); comparer.compare(); final ChangeInfo[] changes = comparer.getChanges(); for (ChangeInfo change : changes) { // Access the style change information final List styleChanges = change.getStyleChanges(); for (StyleChangeInfo styleChange : styleChanges) { // Print the style change information System.out.println("PropertyName: " + styleChange.getPropertyName()); System.out.println("OldValue: " + styleChange.getOldValue()); System.out.println("NewValue: " + styleChange.getNewValue()); } } } ```` #### Constructors | Constructor | Description | | --- | --- | | StyleChangeInfo() | | #### Methods | Method | Description | | --- | --- | | getPropertyName() | Gets the name of the property that was changed. | | setPropertyName(String value) | Sets the name of the property that was changed. | | getNewValue() | Gets the new value of the property. | | setNewValue(Object value) | Sets the new value of the property. | | getOldValue() | Gets the old value of the property. | | setOldValue(Object value) | Sets the old value of the property. | | equals(Object o) | {@inheritDoc} | | hashCode() | {@inheritDoc} | ##### StyleChangeInfo() ``` public StyleChangeInfo() ``` ##### getPropertyName() ``` public final String getPropertyName() ``` Gets the name of the property that was changed. **Returns:** java.lang.String - the property name ##### setPropertyName(String value) ``` public final void setPropertyName(String value) ``` Sets the name of the property that was changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The property name | ##### getNewValue() ``` public final Object getNewValue() ``` Gets the new value of the property. **Returns:** java.lang.Object - the new value of the property ##### setNewValue(Object value) ``` public final void setNewValue(Object value) ``` Sets the new value of the property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | The new value of the property | ##### getOldValue() ``` public final Object getOldValue() ``` Gets the old value of the property. **Returns:** java.lang.Object - the old value of the property ##### setOldValue(Object value) ``` public final void setOldValue(Object value) ``` Sets the old value of the property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | The old value of the property | ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### com.groupdocs.comparison.utils Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.utils.md ### com.groupdocs.comparison.words.revision Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.words.revision.md Provides classes and interfaces for representing revisions and tracked changes in Word documents during the comparison process in GroupDocs.Comparison for Java. The classes in this package are used to represent revisions and tracked changes made to Word documents during the comparison process. These revisions include insertions, deletions, formatting changes, and other modifications to the document content. The key classes in this package include RevisionHandler, RevisionAction, and RevisionInfo. By using the classes and interfaces in this package, you can access, analyze, and manipulate revisions and tracked changes in Word documents. For more details on working with revisions and tracked changes in Word documents using GroupDocs.Comparison for Java, please refer to the GroupDocs.Comparison Documentation. #### Classes | Class | Description | | --- | --- | | ApplyRevisionOptions | The ApplyRevisionOptions class allows you to update the state of revisions before they are applied to the final document. | | RevisionHandler | Represents a class that controls the handling of revisions. | | RevisionInfo | Represents a revision in the document. | #### Enumerations | Enum | Description | | --- | --- | | RevisionAction | Represents an action that can be applied to a revision. | | RevisionType | Represents the types of revisions in a document. | ### ApplyRevisionOptions Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.words.revision/applyrevisionoptions.md **Inheritance:** java.lang.Object ``` public class ApplyRevisionOptions ``` The ApplyRevisionOptions class allows you to update the state of revisions before they are applied to the final document. It provides various constructors and properties to customize the revision application process. Example usage: ```` try (RevisionHandler revisionHandler = new RevisionHandler(sourceFile)) { List revisionList = revisionHandler.getRevisions(); for (RevisionInfo revisionInfo : revisionList) { if (revisionInfo.getType() == RevisionType.DELETION) // Set an action to be applied to the revision revisionInfo.setAction(RevisionAction.Accept); } // Create an instance of ApplyRevisionOptions ApplyRevisionOptions revisionChanges = new ApplyRevisionOptions(); revisionChanges.setChanges(revisionList); // Apply the revisions using the options revisionHandler.applyRevisionChanges(resultFile, revisionChanges); } ```` #### Constructors | Constructor | Description | | --- | --- | | ApplyRevisionOptions() | Initializes a new instance of the ApplyRevisionOptions class. | | ApplyRevisionOptions(List changes) | Instantiates a new ApplyRevisionOptions object with the specified list of revisions. | | ApplyRevisionOptions(List changes, RevisionAction revisionAction) | Instantiates a new ApplyRevisionOptions object with the specified list of revisions and a common revision action. | | ApplyRevisionOptions(RevisionAction revisionAction) | Instantiates a new ApplyRevisionOptions object with a common revision action. | #### Methods | Method | Description | | --- | --- | | getChanges() | Gets the list of revisions to be applied. | | setChanges(List changes) | Sets the list of revisions to be applied. | | getCommonHandler() | Gets the common revision action to be applied to all revisions. | | setCommonHandler(RevisionAction commonHandler) | Sets the common revision action to be applied to all revisions. | ##### ApplyRevisionOptions() ``` public ApplyRevisionOptions() ``` Initializes a new instance of the ApplyRevisionOptions class. ##### ApplyRevisionOptions(List changes) ``` public ApplyRevisionOptions(List changes) ``` Instantiates a new ApplyRevisionOptions object with the specified list of revisions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | changes | java.util.List | The list of revisions to be applied | ##### ApplyRevisionOptions(List changes, RevisionAction revisionAction) ``` public ApplyRevisionOptions(List changes, RevisionAction revisionAction) ``` Instantiates a new ApplyRevisionOptions object with the specified list of revisions and a common revision action. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | changes | java.util.List | The list of revisions to be applied | | revisionAction | RevisionAction | The common revision action to be applied to all revisions | ##### ApplyRevisionOptions(RevisionAction revisionAction) ``` public ApplyRevisionOptions(RevisionAction revisionAction) ``` Instantiates a new ApplyRevisionOptions object with a common revision action. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | revisionAction | RevisionAction | The common revision action to be applied to all revisions | ##### getChanges() ``` public List getChanges() ``` Gets the list of revisions to be applied. **Returns:** java.util.List - the list of revisions ##### setChanges(List changes) ``` public void setChanges(List changes) ``` Sets the list of revisions to be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | changes | java.util.List | The list of revisions | ##### getCommonHandler() ``` public RevisionAction getCommonHandler() ``` Gets the common revision action to be applied to all revisions. **Returns:** RevisionAction - the common revision action ##### setCommonHandler(RevisionAction commonHandler) ``` public void setCommonHandler(RevisionAction commonHandler) ``` Sets the common revision action to be applied to all revisions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | commonHandler | RevisionAction | The common revision action | ### RevisionAction Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.words.revision/revisionaction.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum RevisionAction extends Enum ``` Represents an action that can be applied to a revision. Example usage: ```` try (RevisionHandler revisionHandler = new RevisionHandler(sourceFile)) { List revisionList = revisionHandler.getRevisions(); for (RevisionInfo revisionInfo : revisionList) { if (revisionInfo.getType() == RevisionType.DELETION) // Set an action to be applied to the revision revisionInfo.setAction(RevisionAction.Accept); } // Create an instance of ApplyRevisionOptions ApplyRevisionOptions revisionChanges = new ApplyRevisionOptions(); revisionChanges.setChanges(revisionList); // Apply the revisions using the options revisionHandler.applyRevisionChanges(resultFile, revisionChanges); } ```` #### Fields | Field | Description | | --- | --- | | NONE | Indicates that no action is to be taken. | | ACCEPT | Indicates that the revision will be displayed if it is of type INSERTION, or it will be removed if the type is DELETION. | | REJECT | Indicates that the revision will be removed if it is of type INSERTION, or it will be displayed if the type is DELETION. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### NONE ``` public static final RevisionAction NONE ``` Indicates that no action is to be taken. ##### ACCEPT ``` public static final RevisionAction ACCEPT ``` Indicates that the revision will be displayed if it is of type INSERTION, or it will be removed if the type is DELETION. ##### REJECT ``` public static final RevisionAction REJECT ``` Indicates that the revision will be removed if it is of type INSERTION, or it will be displayed if the type is DELETION. ##### values() ``` public static RevisionAction[] values() ``` **Returns:** com.groupdocs.comparison.words.revision.RevisionAction[] ##### valueOf(String name) ``` public static RevisionAction valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** RevisionAction ### RevisionHandler Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.words.revision/revisionhandler.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public class RevisionHandler implements Closeable ``` Represents a class that controls the handling of revisions. The RevisionHandler class allows you to work with revisions in documents. It provides methods to retrieve the list of revisions, apply changes to revisions, and save the modified document. Example usage: ```` try (RevisionHandler revisionHandler = new RevisionHandler(sourceFile)) { List revisionList = revisionHandler.getRevisions(); for (RevisionInfo revisionInfo : revisionList) { if (revisionInfo.getType() == RevisionType.DELETION) // Set an action to be applied to the revision revisionInfo.setAction(RevisionAction.Accept); } // Create an instance of ApplyRevisionOptions ApplyRevisionOptions revisionChanges = new ApplyRevisionOptions(); revisionChanges.setChanges(revisionList); // Apply the revisions using the options revisionHandler.applyRevisionChanges(resultFile, revisionChanges); } ```` #### Constructors | Constructor | Description | | --- | --- | | RevisionHandler(String filePath) | Initializes a new instance of the RevisionHandler class with the path to the file containing revisions. | | RevisionHandler(Path filePath) | Initializes a new instance of the RevisionHandler class with the path to the file containing revisions. | | RevisionHandler(InputStream file, FileType fileType) | Initializes a new instance of the RevisionHandler class with a file stream containing revisions. | | RevisionHandler(Document document) | Initializes a new instance of the RevisionHandler class with a document. | #### Fields | Field | Description | | --- | --- | | SOURCE_PATH_IS_NULL | | #### Methods | Method | Description | | --- | --- | | getRevisions() | Gets the list of all revisions. | | applyRevisionChanges(ApplyRevisionOptions changes) | Processes changes in revisions and applies them to the original file. | | applyRevisionChanges(Path filePath, ApplyRevisionOptions changes) | Processes changes in revisions and writes the result to the specified file. | | applyRevisionChanges(String filePath, ApplyRevisionOptions changes) | Processes changes in revisions and writes the result to the specified file. | | applyRevisionChanges(OutputStream outputStream, ApplyRevisionOptions changes) | Processes changes in revisions and writes the result to the document stream. | | close() | | ##### RevisionHandler(String filePath) ``` public RevisionHandler(String filePath) ``` Initializes a new instance of the RevisionHandler class with the path to the file containing revisions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | ##### RevisionHandler(Path filePath) ``` public RevisionHandler(Path filePath) ``` Initializes a new instance of the RevisionHandler class with the path to the file containing revisions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the file. | ##### RevisionHandler(InputStream file, FileType fileType) ``` public RevisionHandler(InputStream file, FileType fileType) ``` Initializes a new instance of the RevisionHandler class with a file stream containing revisions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | file | java.io.InputStream | The source document stream. | | fileType | FileType | The type of the file. | ##### RevisionHandler(Document document) ``` public RevisionHandler(Document document) ``` Initializes a new instance of the RevisionHandler class with a document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | com.aspose.words.Document | The document. | ##### SOURCE_PATH_IS_NULL ``` public static final String SOURCE_PATH_IS_NULL ``` ##### getRevisions() ``` public List getRevisions() ``` Gets the list of all revisions. Due to the fact that revisions were originally sorted in a group, revisions must be taken from a List. In the List, a single revision can be split into multiple revisions with the same general text. Since the List may contain revisions with the same general text, this must be controlled when creating a list of revisions for the user. This is controlled here using List\ groups. **Returns:** java.util.List - the list of revisions. ##### applyRevisionChanges(ApplyRevisionOptions changes) ``` public void applyRevisionChanges(ApplyRevisionOptions changes) ``` Processes changes in revisions and applies them to the original file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | changes | ApplyRevisionOptions | The list of changed revisions. | ##### applyRevisionChanges(Path filePath, ApplyRevisionOptions changes) ``` public void applyRevisionChanges(Path filePath, ApplyRevisionOptions changes) ``` Processes changes in revisions and writes the result to the specified file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The result file path. | | changes | ApplyRevisionOptions | The list of changed revisions. | ##### applyRevisionChanges(String filePath, ApplyRevisionOptions changes) ``` public void applyRevisionChanges(String filePath, ApplyRevisionOptions changes) ``` Processes changes in revisions and writes the result to the specified file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The result file path. | | changes | ApplyRevisionOptions | The list of changed revisions. | ##### applyRevisionChanges(OutputStream outputStream, ApplyRevisionOptions changes) ``` public void applyRevisionChanges(OutputStream outputStream, ApplyRevisionOptions changes) ``` Processes changes in revisions and writes the result to the document stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputStream | java.io.OutputStream | The result document stream. | | changes | ApplyRevisionOptions | The list of changed revisions. | ##### close() ``` public void close() ``` ### RevisionInfo Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.words.revision/revisioninfo.md **Inheritance:** java.lang.Object ``` public class RevisionInfo ``` Represents a revision in the document. A revision encapsulates information about revision change made to the document. This class provides methods to retrieve information about the revision, such as its type, content, author, and so on. Example usage: ```` try (RevisionHandler revisionHandler = new RevisionHandler(sourceFile)) { List revisionList = revisionHandler.getRevisions(); for (RevisionInfo revisionInfo : revisionList) { System.out.println("Revision Type: " + revisionInfo.getType()); System.out.println("Text: " + revisionInfo.getText()); System.out.println("Author: " + revisionInfo.getAuthor()); } } ```` #### Constructors | Constructor | Description | | --- | --- | | RevisionInfo() | | #### Methods | Method | Description | | --- | --- | | getAction() | Gets the action associated with the revision (accept or reject). | | setAction(RevisionAction value) | Sets the value associated with the revision (accept or reject). | | getText() | Gets the text content of the revision. | | setText(String value) | Sets the value content of the revision. | | getAuthor() | Gets the author of the revision. | | setAuthor(String value) | Sets the value of the revision. | | getType() | Gets the type of the revision, depending on the type the Action (accept or reject) logic changes. | | setType(RevisionType value) | Sets the value of the revision, depending on the value the Action (accept or reject) logic changes. | ##### RevisionInfo() ``` public RevisionInfo() ``` ##### getAction() ``` public RevisionAction getAction() ``` Gets the action associated with the revision (accept or reject). This field allows you to influence the display of the revision. **Returns:** RevisionAction - the action associated with the revision. ##### setAction(RevisionAction value) ``` public void setAction(RevisionAction value) ``` Sets the value associated with the revision (accept or reject). This field allows you to influence the display of the revision. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | RevisionAction | The value associated with the revision. | ##### getText() ``` public String getText() ``` Gets the text content of the revision. **Returns:** java.lang.String - the text content of the revision. ##### setText(String value) ``` public void setText(String value) ``` Sets the value content of the revision. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value content of the revision. | ##### getAuthor() ``` public String getAuthor() ``` Gets the author of the revision. **Returns:** java.lang.String - the author of the revision. ##### setAuthor(String value) ``` public void setAuthor(String value) ``` Sets the value of the revision. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the revision. | ##### getType() ``` public RevisionType getType() ``` Gets the type of the revision, depending on the type the Action (accept or reject) logic changes. **Returns:** RevisionType - the type of the revision. ##### setType(RevisionType value) ``` public void setType(RevisionType value) ``` Sets the value of the revision, depending on the value the Action (accept or reject) logic changes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | RevisionType | The value of the revision. | ### RevisionType Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.words.revision/revisiontype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum RevisionType extends Enum ``` Represents the types of revisions in a document. Example usage: ```` try (RevisionHandler revisionHandler = new RevisionHandler(sourceFile)) { List revisionList = revisionHandler.getRevisions(); for (RevisionInfo revisionInfo : revisionList) { if (revisionInfo.getType() == RevisionType.DELETION) // Set an action to be applied to the revision revisionInfo.setAction(RevisionAction.Accept); } // Create an instance of ApplyRevisionOptions ApplyRevisionOptions revisionChanges = new ApplyRevisionOptions(); revisionChanges.setChanges(revisionList); // Apply the revisions using the options revisionHandler.applyRevisionChanges(resultFile, revisionChanges); } ```` #### Fields | Field | Description | | --- | --- | | INSERTION | Represents a type when new content was inserted in the document. | | DELETION | Represents a type when content was removed from the document. | | FORMAT_CHANGE | Represents a type when change of formatting was applied to the parent node. | | STYLE_DEFINITION_CHANGE | Represents a type when change of formatting was applied to the parent style. | | MOVING | Represents a type when content was moved in the document. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | fromInt(int toIntValue) | Creates new constant of enum RevisionType using provided numeric value. | | fromString(String toStringValue) | Parses string representation of RevisionType to get the enum constant. | | toInt() | Numeric representation of RevisionType. | | toString() | String representation of RevisionType. | ##### INSERTION ``` public static final RevisionType INSERTION ``` Represents a type when new content was inserted in the document. ##### DELETION ``` public static final RevisionType DELETION ``` Represents a type when content was removed from the document. ##### FORMAT_CHANGE ``` public static final RevisionType FORMAT_CHANGE ``` Represents a type when change of formatting was applied to the parent node. ##### STYLE_DEFINITION_CHANGE ``` public static final RevisionType STYLE_DEFINITION_CHANGE ``` Represents a type when change of formatting was applied to the parent style. ##### MOVING ``` public static final RevisionType MOVING ``` Represents a type when content was moved in the document. ##### values() ``` public static RevisionType[] values() ``` **Returns:** com.groupdocs.comparison.words.revision.RevisionType[] ##### valueOf(String name) ``` public static RevisionType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** RevisionType ##### fromInt(int toIntValue) ``` public static RevisionType fromInt(int toIntValue) ``` Creates new constant of enum RevisionType using provided numeric value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toIntValue | int | The numeric representation of RevisionType | **Returns:** RevisionType - RevisionType enum constant associated with numeric value ##### fromString(String toStringValue) ``` public static RevisionType fromString(String toStringValue) ``` Parses string representation of RevisionType to get the enum constant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | toStringValue | java.lang.String | The string representation of RevisionType | **Returns:** RevisionType - RevisionType enum constant associated with input string ##### toInt() ``` public int toInt() ``` Numeric representation of RevisionType. **Returns:** int - numeric value of enum constant ##### toString() ``` public String toString() ``` String representation of RevisionType. **Returns:** java.lang.String - string value of enum constant ### com.groupdocs.comparison Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.md The package provides classes to compare documents for all popular document formats. The Main classes in this package are: * Comparer is the entry point for comparing documents. * Document provides details about a document. * ComparerSettings defines settings for customizing logging behaviour. The main class of this namespace is Comparer. This class provides methods for adding documents, obtaining changes, comparing documents etc. #### Classes | Class | Description | | --- | --- | | Comparer | The Comparer class provides functionality for comparing documents and generating comparison results. | | ComparerSettings | Defines settings for customizing the behavior of the Comparer class. | | Document | Represents a document for comparison process. | ### Comparer Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison/comparer.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IDisposable, java.io.Closeable ``` public class Comparer implements System.IDisposable, Closeable ``` The Comparer class provides functionality for comparing documents and generating comparison results. It allows you to compare various types of documents, such as PDF, Word, Excel, PowerPoint, and more. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); CompareOptions compareOptions = new CompareOptions(); compareOptions.setDetectStyleChanges(true); comparer.compare(resultFile, compareOptions); } ```` #### Constructors | Constructor | Description | | --- | --- | | Comparer(String filePath) | Initializes new instance of Comparer class with the specified source file path. | | Comparer(String filePath, CompareOptions compareOptions) | Initializes a new instance of the Comparer class with the specified folder path and compare options. | | Comparer(Path filePath) | Initializes new instance of Comparer class with the specified source file path. | | Comparer(String filePath, LoadOptions loadOptions) | Initializes new instance of Comparer with the specified source file path and LoadOptions. | | Comparer(Path filePath, LoadOptions loadOptions) | Initializes new instance of Comparer with the specified source file path and LoadOptions. | | Comparer(Path filePath, CompareOptions compareOptions) | Initializes new instance of Comparer with the specified source file path and LoadOptions. | | Comparer(String filePath, LoadOptions loadOptions, ComparerSettings settings) | Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. | | Comparer(String filePath, LoadOptions loadOptions, ComparerSettings settings, CompareOptions compareOptions) | Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. | | Comparer(String filePath, ComparerSettings settings) | Initializes new instance of Comparer class with the specified source file path and ComparerSettings. | | Comparer(Path filePath, ComparerSettings settings) | Initializes new instance of Comparer class with the specified source file path and ComparerSettings. | | Comparer(Path filePath, LoadOptions loadOptions, ComparerSettings settings) | Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. | | Comparer(Path filePath, LoadOptions loadOptions, ComparerSettings settings, CompareOptions compareOptions) | Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. | | Comparer(InputStream document) | Initializes new instance of Comparer class with the specified source document stream. | | Comparer(InputStream document, LoadOptions loadOptions) | Initializes new instance of Comparer with the specified source document stream and LoadOptions. | | Comparer(InputStream document, ComparerSettings settings) | Initializes new instance of Comparer class with the specified source document stream and ComparerSettings. | | Comparer(InputStream document, LoadOptions loadOptions, ComparerSettings settings) | Initializes new instance of Comparer class with the specified document stream, LoadOptions and ComparerSettings. | | Comparer(ComparerSettings settings) | Initializes new instance of Comparer class with the specified ComparerSettings. | #### Fields | Field | Description | | --- | --- | | FILE_PATH | | #### Methods | Method | Description | | --- | --- | | getSource() | Gets the source document that is being compared. | | getTargets() | List of target documents to compare with source file. | | compare() | Compares the specified file with the target documents without saving result with default options. | | compare(String filePath) | Compares the specified file with the target documents and generates a comparison result. | | compare(Path filePath) | Compares the specified file with the target documents and generates a comparison result. | | compare(OutputStream outputStream) | Compares the specified file with the target documents and writes a comparison result to the output stream. | | compare(String filePath, CompareOptions compareOptions) | Compares the specified file with the target documents and writes a comparison result to the provided file path. | | compare(Path filePath, CompareOptions compareOptions) | Compares the specified file with the target documents and writes a comparison result to the provided file path. | | compare(OutputStream stream, CompareOptions compareOptions) | Compares the specified file with the target documents and writes a comparison result to the output stream. | | compare(SaveOptions saveOptions, CompareOptions compareOptions) | Compares the specified file with the target documents without saving result. | | compare(String filePath, SaveOptions saveOptions) | Compares the specified file with the target documents and writes a comparison result to the provided file path. | | compare(Path filePath, SaveOptions saveOptions) | Compares the specified file with the target documents and writes a comparison result to the provided file path. | | compare(OutputStream stream, SaveOptions saveOptions) | Compares the specified file with the target documents and writes a comparison result to the provided file path. | | compare(CompareOptions compareOptions) | Compares the specified file with the target documents without saving result. | | compare(OutputStream outputStream, SaveOptions saveOptions, CompareOptions compareOptions) | Compares the specified file with the target documents and writes a comparison result to the provided output stream. | | compare(String filePath, SaveOptions saveOptions, CompareOptions compareOptions) | Compares the specified file with the target documents and writes a comparison result to the provided file path. | | compareDirectory(String filePath, CompareOptions compareOptions) | Compares the specified directory with the target directory and saves the comparison result to the provided file path. | | compareDirectory(Path filePath, CompareOptions compareOptions) | Compares the specified directory with the target directory and saves the comparison result to the provided file path. | | compare(Path filePath, SaveOptions saveOptions, CompareOptions compareOptions) | Compares the specified file with the target documents and writes a comparison result to the provided file path. | | add(String filePath) | Adds the specified target document to the comparison process. | | add(String filePath, CompareOptions compareOptions) | Adds the specified target document or folder to the comparison process. | | add(Path filePath) | Adds the specified target document to the comparison process. | | add(String[] filePaths) | Adds the specified target documents to the comparison process. | | add(Path[] filePaths) | Adds the specified target documents to the comparison process. | | add(String filePath, LoadOptions loadOptions) | Adds the specified target document to the comparison process with loading options specified. | | add(Path filePath, LoadOptions loadOptions) | Adds the specified target document to the comparison process with loading options specified. | | add(Path filePath, CompareOptions compareOptions) | Adds the specified target document to the comparison process with loading options specified. | | add(InputStream document) | Adds the specified target document to the comparison process. | | add(InputStream[] documents) | Adds the specified target documents to the comparison process. | | add(InputStream document, LoadOptions loadOptions) | Adds the specified target document to the comparison process with loading options specified. | | getChanges() | Retrieves an array of ChangeInfo objects representing the changes detected during the comparison process. | | getChanges(GetChangeOptions getChangeOptions) | Retrieves an array of ChangeInfo objects representing the changes detected during the comparison process. | | applyChanges(String filePath, ApplyChangeOptions applyChangeOptions) | Accepts or rejects changes and applies them to result document. | | applyChanges(Path filePath, ApplyChangeOptions applyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | applyChanges(OutputStream document, ApplyChangeOptions applyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | applyChanges(String filePath, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | applyChanges(Path filePath, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | applyChanges(OutputStream document, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | getResultString() | Gets result string after comparison (For Text Comparison only). | | getSourceFolder() | Returns the source folder that is being compared. | | getTargetFolder() | Returns the target folder that is being compared. | | selfComparisonCheck(Document source, Document target) | Self-comparison check (e498c23). | | close() | Releases resources. | ##### Comparer(String filePath) ``` public Comparer(String filePath) ``` Initializes new instance of Comparer class with the specified source file path. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the source document | ##### Comparer(String filePath, CompareOptions compareOptions) ``` public Comparer(String filePath, CompareOptions compareOptions) ``` Initializes a new instance of the Comparer class with the specified folder path and compare options. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the source document or folder | | compareOptions | CompareOptions | The compare options for folder comparison | ##### Comparer(Path filePath) ``` public Comparer(Path filePath) ``` Initializes new instance of Comparer class with the specified source file path. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the source document | ##### Comparer(String filePath, LoadOptions loadOptions) ``` public Comparer(String filePath, LoadOptions loadOptions) ``` Initializes new instance of Comparer with the specified source file path and LoadOptions. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the source document | | loadOptions | LoadOptions | The custom load options to be applied to the document | ##### Comparer(Path filePath, LoadOptions loadOptions) ``` public Comparer(Path filePath, LoadOptions loadOptions) ``` Initializes new instance of Comparer with the specified source file path and LoadOptions. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the source document | | loadOptions | LoadOptions | The custom load options to be applied to the document | ##### Comparer(Path filePath, CompareOptions compareOptions) ``` public Comparer(Path filePath, CompareOptions compareOptions) ``` Initializes new instance of Comparer with the specified source file path and LoadOptions. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the source document | | compareOptions | CompareOptions | The compare options for folder comparison | ##### Comparer(String filePath, LoadOptions loadOptions, ComparerSettings settings) ``` public Comparer(String filePath, LoadOptions loadOptions, ComparerSettings settings) ``` Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the source document | | loadOptions | LoadOptions | The custom load options to be applied to the document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | ##### Comparer(String filePath, LoadOptions loadOptions, ComparerSettings settings, CompareOptions compareOptions) ``` public Comparer(String filePath, LoadOptions loadOptions, ComparerSettings settings, CompareOptions compareOptions) ``` Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the source document or folder or text to be compared | | loadOptions | LoadOptions | The custom load options to be applied to the document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | | compareOptions | CompareOptions | The compare options for folder comparison | ##### Comparer(String filePath, ComparerSettings settings) ``` public Comparer(String filePath, ComparerSettings settings) ``` Initializes new instance of Comparer class with the specified source file path and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the source document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | ##### Comparer(Path filePath, ComparerSettings settings) ``` public Comparer(Path filePath, ComparerSettings settings) ``` Initializes new instance of Comparer class with the specified source file path and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the source document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | ##### Comparer(Path filePath, LoadOptions loadOptions, ComparerSettings settings) ``` public Comparer(Path filePath, LoadOptions loadOptions, ComparerSettings settings) ``` Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the source document | | loadOptions | LoadOptions | The custom load options to be applied to the document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | ##### Comparer(Path filePath, LoadOptions loadOptions, ComparerSettings settings, CompareOptions compareOptions) ``` public Comparer(Path filePath, LoadOptions loadOptions, ComparerSettings settings, CompareOptions compareOptions) ``` Initializes new instance of Comparer class with the specified source file path, LoadOptions and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the source document or folder | | loadOptions | LoadOptions | The custom load options to be applied to the document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | | compareOptions | CompareOptions | The compare options for folder comparison | ##### Comparer(InputStream document) ``` public Comparer(InputStream document) ``` Initializes new instance of Comparer class with the specified source document stream. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The input stream of the source document | ##### Comparer(InputStream document, LoadOptions loadOptions) ``` public Comparer(InputStream document, LoadOptions loadOptions) ``` Initializes new instance of Comparer with the specified source document stream and LoadOptions. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The input stream of the source document | | loadOptions | LoadOptions | The custom load options to be applied to the document | ##### Comparer(InputStream document, ComparerSettings settings) ``` public Comparer(InputStream document, ComparerSettings settings) ``` Initializes new instance of Comparer class with the specified source document stream and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The input stream of the source document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | ##### Comparer(InputStream document, LoadOptions loadOptions, ComparerSettings settings) ``` public Comparer(InputStream document, LoadOptions loadOptions, ComparerSettings settings) ``` Initializes new instance of Comparer class with the specified document stream, LoadOptions and ComparerSettings. * More about file types supported by GroupDocs.Comparison: Document formats supported by GroupDocs.Comparison * More about GroupDocs.Comparison for Java features: Developer Guide * More about how to open and compare password-protected documents: Open and compare password-protected documents * More about how to open and compare document from URL, FTP, Amazon S3 and others: Open and compare documents from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The stream with data of a document to be compared | | loadOptions | LoadOptions | The custom load options to be applied to the document | | settings | ComparerSettings | The comparer settings to be used for the comparison process | ##### Comparer(ComparerSettings settings) ``` public Comparer(ComparerSettings settings) ``` Initializes new instance of Comparer class with the specified ComparerSettings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | settings | ComparerSettings | the settings | ##### FILE_PATH ``` public static final String FILE_PATH ``` ##### getSource() ``` public final Document getSource() ``` Gets the source document that is being compared. **Returns:** Document - the source document ##### getTargets() ``` public final List getTargets() ``` List of target documents to compare with source file. **Returns:** java.util.List - the target documents ##### compare() ``` public final Path compare() ``` Compares the specified file with the target documents without saving result with default options. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Returns:** java.nio.file.Path - the path of result document or null ##### compare(String filePath) ``` public final Path compare(String filePath) ``` Compares the specified file with the target documents and generates a comparison result. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Result document path | **Returns:** java.nio.file.Path - result file path or null. In some situations it's extension can be changed ##### compare(Path filePath) ``` public final Path compare(Path filePath) ``` Compares the specified file with the target documents and generates a comparison result. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Result document path | **Returns:** java.nio.file.Path - result file path, in some situations it's extension can be changed ##### compare(OutputStream outputStream) ``` public final Path compare(OutputStream outputStream) ``` Compares the specified file with the target documents and writes a comparison result to the output stream. Note: In cases when return value is null, use data that was written into outputStream * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputStream | java.io.OutputStream | Result document stream | **Returns:** java.nio.file.Path - result file path or null when data from outputStream must be used. In some situations result file's extension can be changed ##### compare(String filePath, CompareOptions compareOptions) ``` public final Path compare(String filePath, CompareOptions compareOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided file path. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents * More about advanced comparsion options - accepting and rejecting detected changes, adjusting comparison sensitivity etc.: Advanced comparison options guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Result document file path | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - result file path, in some situations it's extension can be changed ##### compare(Path filePath, CompareOptions compareOptions) ``` public final Path compare(Path filePath, CompareOptions compareOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided file path. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents * More about advanced comparsion options - accepting and rejecting detected changes, adjusting comparison sensitivity etc.: Advanced comparison options guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Result document file path | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - result file path, in some situations it's extension can be changed ##### compare(OutputStream stream, CompareOptions compareOptions) ``` public final Path compare(OutputStream stream, CompareOptions compareOptions) ``` Compares the specified file with the target documents and writes a comparison result to the output stream. Note: In case return value is null, use data that was written into outputStream. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents * More about advanced comparsion options - accepting and rejecting detected changes, adjusting comparison sensitivity etc.: Advanced comparison options guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.OutputStream | Result document stream | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - result file path or null when data from outputStream must be used. In some situations result file's extension can be changed ##### compare(SaveOptions saveOptions, CompareOptions compareOptions) ``` public final Path compare(SaveOptions saveOptions, CompareOptions compareOptions) ``` Compares the specified file with the target documents without saving result. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents * More about advanced comparison options - accepting and rejecting detected changes, adjusting comparison sensitivity etc.: Advanced comparison options guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | saveOptions | SaveOptions | Save options | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - the path of the result document or null ##### compare(String filePath, SaveOptions saveOptions) ``` public final Path compare(String filePath, SaveOptions saveOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided file path. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Result document file path | | saveOptions | SaveOptions | Save options | **Returns:** java.nio.file.Path - result file path, in some situations it's extension can be changed ##### compare(Path filePath, SaveOptions saveOptions) ``` public final Path compare(Path filePath, SaveOptions saveOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided file path. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Result document file path | | saveOptions | SaveOptions | Save options | **Returns:** java.nio.file.Path - result file path, in some situations it's extension can be changed ##### compare(OutputStream stream, SaveOptions saveOptions) ``` public final Path compare(OutputStream stream, SaveOptions saveOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided file path. Note: In case return value is null, use data that was written into outputStream * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.OutputStream | Result document stream | | saveOptions | SaveOptions | Save options | **Returns:** java.nio.file.Path - result file path or null when data from outputStream must be used. In some situations result file's extension can be changed ##### compare(CompareOptions compareOptions) ``` public final Path compare(CompareOptions compareOptions) ``` Compares the specified file with the target documents without saving result. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - the path to the result file or null ##### compare(OutputStream outputStream, SaveOptions saveOptions, CompareOptions compareOptions) ``` public final Path compare(OutputStream outputStream, SaveOptions saveOptions, CompareOptions compareOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided output stream. Note: In case return value is null, use data that was written into outputStream * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents * More about advanced comparsion options - accepting and rejecting detected changes, adjusting comparison sensitivity etc.: Advanced comparison options guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputStream | java.io.OutputStream | Result document stream | | saveOptions | SaveOptions | The save options to be used for the saving the result document | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - result file path or null when data from outputStream must be used. In some situations result file's extension can be changed ##### compare(String filePath, SaveOptions saveOptions, CompareOptions compareOptions) ``` public final Path compare(String filePath, SaveOptions saveOptions, CompareOptions compareOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided file path. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents * More about advanced comparison options - accepting and rejecting detected changes, adjusting comparison sensitivity etc.: Advanced comparison options guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Result document file path | | saveOptions | SaveOptions | The save options to be used for the saving the result document | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - result file path, in some situations it's extension can be changed ##### compareDirectory(String filePath, CompareOptions compareOptions) ``` public void compareDirectory(String filePath, CompareOptions compareOptions) ``` Compares the specified directory with the target directory and saves the comparison result to the provided file path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path where the comparison result will be saved. | | compareOptions | CompareOptions | The options to be used for the directory comparison process. | ##### compareDirectory(Path filePath, CompareOptions compareOptions) ``` public void compareDirectory(Path filePath, CompareOptions compareOptions) ``` Compares the specified directory with the target directory and saves the comparison result to the provided file path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The file path where the comparison result will be saved. | | compareOptions | CompareOptions | The options to be used for the directory comparison process. | ##### compare(Path filePath, SaveOptions saveOptions, CompareOptions compareOptions) ``` public final Path compare(Path filePath, SaveOptions saveOptions, CompareOptions compareOptions) ``` Compares the specified file with the target documents and writes a comparison result to the provided file path. * More about how to compare documents: How to compare documents in Java * More about how to compare contracts, drafts and legal documents in Java: How to compare contracts, drafts and legal documents * More about advanced comparsion options - accepting and rejecting detected changes, adjusting comparison sensitivity etc.: Advanced comparison options guide **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Result document file path | | saveOptions | SaveOptions | The save options to be used for the saving the result document | | compareOptions | CompareOptions | The compare options to be used for the comparison process | **Returns:** java.nio.file.Path - result file path, in some situations it's extension can be changed ##### add(String filePath) ``` public final void add(String filePath) ``` Adds the specified target document to the comparison process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the target document to be added | ##### add(String filePath, CompareOptions compareOptions) ``` public void add(String filePath, CompareOptions compareOptions) ``` Adds the specified target document or folder to the comparison process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the target document or folder to be added | | compareOptions | CompareOptions | The options for the comparison | ##### add(Path filePath) ``` public final void add(Path filePath) ``` Adds the specified target document to the comparison process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the target document to be added | ##### add(String[] filePaths) ``` public final void add(String[] filePaths) ``` Adds the specified target documents to the comparison process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePaths | java.lang.String[] | Paths to the target documents to be added | ##### add(Path[] filePaths) ``` public final void add(Path[] filePaths) ``` Adds the specified target documents to the comparison process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePaths | java.nio.file.Path[] | Paths to the target documents to be added | ##### add(String filePath, LoadOptions loadOptions) ``` public final void add(String filePath, LoadOptions loadOptions) ``` Adds the specified target document to the comparison process with loading options specified. * More about how to open and compare password-protected documents using GroupDocs.Comparison for Java: How to open and compare password-protected documents * More about how to open and compare documents stored at local disk: How to open and compare files by file path * More about how to open and compare documents from URL, FTP, Amazon S3 and other storages: How to open and compare files from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Path to the target document to be added | | loadOptions | LoadOptions | The custom load options to be applied to the document | ##### add(Path filePath, LoadOptions loadOptions) ``` public final void add(Path filePath, LoadOptions loadOptions) ``` Adds the specified target document to the comparison process with loading options specified. * More about how to open and compare password-protected documents using GroupDocs.Comparison for Java: How to open and compare password-protected documents * More about how to open and compare documents stored at local disk: How to open and compare files by file path * More about how to open and compare documents from URL, FTP, Amazon S3 and other storages: How to open and compare files from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Path to the target document to be added | | loadOptions | LoadOptions | The custom load options to be applied to the document | ##### add(Path filePath, CompareOptions compareOptions) ``` public final void add(Path filePath, CompareOptions compareOptions) ``` Adds the specified target document to the comparison process with loading options specified. * More about how to open and compare password-protected documents using GroupDocs.Comparison for Java: How to open and compare password-protected documents * More about how to open and compare documents stored at local disk: How to open and compare files by file path * More about how to open and compare documents from URL, FTP, Amazon S3 and other storages: How to open and compare files from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | The path to the target document or folder to be added | | compareOptions | CompareOptions | The options for the comparison | ##### add(InputStream document) ``` public final void add(InputStream document) ``` Adds the specified target document to the comparison process. * More about how to open and compare password-protected documents using GroupDocs.Comparison for Java: How to open and compare password-protected documents * More about how to open and compare documents stored at local disk: How to open and compare files by file path * More about how to open and compare documents from URL, FTP, Amazon S3 and other storages: How to open and compare files from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The stream with data of a document to be compared | ##### add(InputStream[] documents) ``` public final void add(InputStream[] documents) ``` Adds the specified target documents to the comparison process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documents | java.io.InputStream[] | Streams with data of documents to be compared | ##### add(InputStream document, LoadOptions loadOptions) ``` public final void add(InputStream document, LoadOptions loadOptions) ``` Adds the specified target document to the comparison process with loading options specified. * More about how to open and compare password-protected documents using GroupDocs.Comparison for Java: How to open and compare password-protected documents * More about how to open and compare documents stored at local disk: How to open and compare files by file path * More about how to open and compare documents from URL, FTP, Amazon S3 and other storages: How to open and compare files from third-party storages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The stream with data of a document to be compared | | loadOptions | LoadOptions | The custom load options to be applied to the document | ##### getChanges() ``` public final ChangeInfo[] getChanges() ``` Retrieves an array of ChangeInfo objects representing the changes detected during the comparison process. Use this method to get detailed information about the changes between the source document and the target document(s). Each ChangeInfo object contains information such as the type of change, the affected area, and the content before and after the change. * More about how to obtain collection of detected differences between compared documents in Java: How to get list of changes between documents in Java * More about how to get changes coordinates at pages image preview when comparing documents using GroupDocs.Comparison for Java: How to get changes coordinates programmatically **Returns:** com.groupdocs.comparison.result.ChangeInfo[] - an array of ChangeInfo objects representing the changes detected during the comparison process ##### getChanges(GetChangeOptions getChangeOptions) ``` public final ChangeInfo[] getChanges(GetChangeOptions getChangeOptions) ``` Retrieves an array of ChangeInfo objects representing the changes detected during the comparison process. Use this method to get detailed information about the changes between the source document and the target document(s). Each ChangeInfo object contains information such as the type of change, the affected area, and the content before and after the change. Parameter GetChangeOptions allows to filter changes in different way. * More about how to obtain collection of detected differences between compared documents in Java: How to get list of changes between documents in Java * More about how to get changes coordinates at pages image preview when comparing documents using GroupDocs.Comparison for Java: How to get changes coordinates programmatically **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | getChangeOptions | GetChangeOptions | The object that allows to filter changes | **Returns:** com.groupdocs.comparison.result.ChangeInfo[] - an array of ChangeInfo objects representing the changes detected during the comparison process ##### applyChanges(String filePath, ApplyChangeOptions applyChangeOptions) ``` public final void applyChanges(String filePath, ApplyChangeOptions applyChangeOptions) ``` Accepts or rejects changes and applies them to result document. * More about how apply or reject detected differences between compared documents in a resultant document: How to apply or reject changes detected during document comparison in Java **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Result document file path | | applyChangeOptions | ApplyChangeOptions | The custom apply change options to configure process of applying changes | ##### applyChanges(Path filePath, ApplyChangeOptions applyChangeOptions) ``` public final void applyChanges(Path filePath, ApplyChangeOptions applyChangeOptions) ``` Accepts or rejects changes and applies them to resultant document. * More about how apply or reject detected differences between compared documents in a resultant document: How to apply or reject changes detected during document comparison in Java **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Result document file path | | applyChangeOptions | ApplyChangeOptions | The custom apply change options to configure process of applying changes | ##### applyChanges(OutputStream document, ApplyChangeOptions applyChangeOptions) ``` public final void applyChanges(OutputStream document, ApplyChangeOptions applyChangeOptions) ``` Accepts or rejects changes and applies them to resultant document. * More about how apply or reject detected differences between compared documents in a resultant document: How to apply or reject changes detected during document comparison in Java **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | Result document output stream | | applyChangeOptions | ApplyChangeOptions | The custom apply change options to configure process of applying changes | ##### applyChanges(String filePath, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` public final void applyChanges(String filePath, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` Accepts or rejects changes and applies them to resultant document. * More about how apply or reject detected differences between compared documents in a resultant document: How to apply or reject changes detected during document comparison in Java **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Result document file path | | saveOptions | SaveOptions | The save options to configure saving result document | | applyChangeOptions | ApplyChangeOptions | The custom apply change options to configure process of applying changes | ##### applyChanges(Path filePath, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` public final void applyChanges(Path filePath, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` Accepts or rejects changes and applies them to resultant document. * More about how apply or reject detected differences between compared documents in a resultant document: How to apply or reject changes detected during document comparison in Java **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Result document file path | | saveOptions | SaveOptions | The save options to configure saving result document | | applyChangeOptions | ApplyChangeOptions | The custom apply change options to configure process of applying changes | ##### applyChanges(OutputStream document, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` public final void applyChanges(OutputStream document, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` Accepts or rejects changes and applies them to resultant document. * More about how apply or reject detected differences between compared documents in a resultant document: How to apply or reject changes detected during document comparison in Java **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | Result document output stream | | saveOptions | SaveOptions | The save options to configure saving result document | | applyChangeOptions | ApplyChangeOptions | The custom apply change options to configure process of applying changes | ##### getResultString() ``` public String getResultString() ``` Gets result string after comparison (For Text Comparison only). **Returns:** java.lang.String - the result string ##### getSourceFolder() ``` public String getSourceFolder() ``` Returns the source folder that is being compared. **Returns:** java.lang.String - the source folder ##### getTargetFolder() ``` public String getTargetFolder() ``` Returns the target folder that is being compared. **Returns:** java.lang.String - the target folder ##### selfComparisonCheck(Document source, Document target) ``` public static void selfComparisonCheck(Document source, Document target) ``` Self-comparison check (e498c23). C# 7a7668c internal; kept public so core.common tests can call. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | Document | | | target | Document | | ##### close() ``` public void close() ``` Releases resources. ### ComparerSettings Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison/comparersettings.md **Inheritance:** java.lang.Object ``` public class ComparerSettings ``` Defines settings for customizing the behavior of the Comparer class. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { comparer.add(targetFile); final ComparerSettings comparerSettings = new ComparerSettings(); comparerSettings.setLogger(new ConsoleLogger(false, false, true, true)); comparer.compare(resultFile, comparerSettings); } ```` #### Constructors | Constructor | Description | | --- | --- | | ComparerSettings() | Instantiates new instance of ComparerSettings class. | | ComparerSettings(ILogger logger) | Instantiates new instance of ComparerSettings class. | #### Methods | Method | Description | | --- | --- | | getLogger() | Gets the logger implementation used for logging. | | setLogger(ILogger value) | Sets the logger implementation for logging. | ##### ComparerSettings() ``` public ComparerSettings() ``` Instantiates new instance of ComparerSettings class. ##### ComparerSettings(ILogger logger) ``` public ComparerSettings(ILogger logger) ``` Instantiates new instance of ComparerSettings class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | logger | com.groupdocs.foundation.logging.ILogger | logger to be used | ##### getLogger() ``` public final ILogger getLogger() ``` Gets the logger implementation used for logging. **Returns:** com.groupdocs.foundation.logging.ILogger - the logger ##### setLogger(ILogger value) ``` public final void setLogger(ILogger value) ``` Sets the logger implementation for logging. Use com.groupdocs.foundation.logging.NullLogger#NULL_LOGGER.NULL_LOGGER to disable logging. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.groupdocs.foundation.logging.ILogger | the logger implementation to set | ### Document Path: https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison/document.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public class Document implements Closeable ``` Represents a document for comparison process. The Document class provides methods to load, generate preview images, and manipulate documents during the comparison process. Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { try (IDocumentInfo info = comparer.getSource().getDocumentInfo()) { System.out.println("File type: " + info.getFileType()); System.out.println("Number of pages: " + info.getPageCount()); System.out.println("Document size: " + info.getSize()); } } ```` #### Constructors | Constructor | Description | | --- | --- | | Document(InputStream stream) | Initializes new instance of Document class with the specified document stream. | | Document(String filePath) | Initializes new instance of Document class with the specified document path. | | Document(Path filePath) | Initializes new instance of Document class with the specified document path. | | Document(Path filePath, String password) | Initializes new instance of Document class with the specified document path and a password. | | Document(Path filePath, LoadOptions loadOptions) | Initializes new instance of Document class with the specified document path and load options. | | Document(String filePath, String password) | Initializes new instance of Document class with the specified document path and a password. | | Document(String filePath, LoadOptions loadOptions) | Initializes new instance of Document class with the specified document path and load options. | | Document(InputStream stream, String password) | Initializes new instance of Document class with the specified document stream and a password. | | Document(String filePathOrTextContent, boolean isLoadText) | Initializes new instance of Document class with the specified document path or text content and a flag that indicates what was passed. | | Document(InputStream inputStream, LoadOptions loadOptions) | Initializes new instance of Document class with the specified document stream and load options. | #### Methods | Method | Description | | --- | --- | | getChanges() | Gets a list of ChangeInfo objects representing the changes detected during the comparison process. | | setChanges(List value) | Sets a list of ChangeInfo objects representing the changes detected during the comparison process. | | getName() | Gets the name of the document. | | setName(String value) | Sets the name of the document. | | getFileType() | Gets the type of the document. | | setFileType(FileType fileType) | Sets the type of the document. | | createStream() | Creates new stream with document content. | | getStreamLength() | Gets the size of the document | | getPassword() | Gets the password of the document | | generatePreview(PreviewOptions previewOptions) | Generates document previews based on the provided PreviewOptions. | | getDocumentInfo() | Gets information about the document, including document type, page count, page sizes, and more. | | close() | | ##### Document(InputStream stream) ``` public Document(InputStream stream) ``` Initializes new instance of Document class with the specified document stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | Document stream | ##### Document(String filePath) ``` public Document(String filePath) ``` Initializes new instance of Document class with the specified document path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Document path | ##### Document(Path filePath) ``` public Document(Path filePath) ``` Initializes new instance of Document class with the specified document path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Document path | ##### Document(Path filePath, String password) ``` public Document(Path filePath, String password) ``` Initializes new instance of Document class with the specified document path and a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Document path | | password | java.lang.String | Document password | ##### Document(Path filePath, LoadOptions loadOptions) ``` public Document(Path filePath, LoadOptions loadOptions) ``` Initializes new instance of Document class with the specified document path and load options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.nio.file.Path | Document path | | loadOptions | LoadOptions | Load options | ##### Document(String filePath, String password) ``` public Document(String filePath, String password) ``` Initializes new instance of Document class with the specified document path and a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Document path | | password | java.lang.String | Document password | ##### Document(String filePath, LoadOptions loadOptions) ``` public Document(String filePath, LoadOptions loadOptions) ``` Initializes new instance of Document class with the specified document path and load options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Document path | | loadOptions | LoadOptions | Load options | ##### Document(InputStream stream, String password) ``` public Document(InputStream stream, String password) ``` Initializes new instance of Document class with the specified document stream and a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | Document stream | | password | java.lang.String | Document password | ##### Document(String filePathOrTextContent, boolean isLoadText) ``` public Document(String filePathOrTextContent, boolean isLoadText) ``` Initializes new instance of Document class with the specified document path or text content and a flag that indicates what was passed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathOrTextContent | java.lang.String | the file path | | isLoadText | boolean | the is load text | ##### Document(InputStream inputStream, LoadOptions loadOptions) ``` public Document(InputStream inputStream, LoadOptions loadOptions) ``` Initializes new instance of Document class with the specified document stream and load options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputStream | java.io.InputStream | Document stream | | loadOptions | LoadOptions | Load options | ##### getChanges() ``` public final List getChanges() ``` Gets a list of ChangeInfo objects representing the changes detected during the comparison process. Use this method to get detailed information about the changes between the source document and the target document(s). Each ChangeInfo object contains information such as the type of change, the affected area, and the content before and after the change. **Returns:** java.util.List - a list of ChangeInfo objects representing the changes detected during the comparison process ##### setChanges(List value) ``` public final void setChanges(List value) ``` Sets a list of ChangeInfo objects representing the changes detected during the comparison process. Use this method to get detailed information about the changes between the source document and the target document(s). Each ChangeInfo object contains information such as the type of change, the affected area, and the content before and after the change. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | a list of ChangeInfo objects representing the changes detected during the comparison process | ##### getName() ``` public final String getName() ``` Gets the name of the document. **Returns:** java.lang.String - the name of the document ##### setName(String value) ``` public final void setName(String value) ``` Sets the name of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | the name of the document | ##### getFileType() ``` public FileType getFileType() ``` Gets the type of the document. **Returns:** FileType - the type of the document ##### setFileType(FileType fileType) ``` public void setFileType(FileType fileType) ``` Sets the type of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | the type of the document | ##### createStream() ``` public InputStream createStream() ``` Creates new stream with document content. **Returns:** java.io.InputStream - the stream with document content ##### getStreamLength() ``` public long getStreamLength() ``` Gets the size of the document **Returns:** long - the size of the document ##### getPassword() ``` public String getPassword() ``` Gets the password of the document **Returns:** java.lang.String - the password of the document ##### generatePreview(PreviewOptions previewOptions) ``` public final void generatePreview(PreviewOptions previewOptions) ``` Generates document previews based on the provided PreviewOptions. This method generates previews of the document pages according to the specified options, such as preview format, page numbers, and output stream provider. The generated previews can be saved or further processed as needed. * Learn more about how to generate previews for document pages: How to generate document pages preview using GroupDocs.Comparison Example usage: ```` try (Comparer comparer = new Comparer(sourceFile)) { PreviewOptions previewOptions = new PreviewOptions( pageNumber -> Files.newOutputStream(Paths.get("preview-image-page-" + pageNumber + ".png")) ); previewOptions.setPreviewFormat(PreviewFormats.PNG); previewOptions.setPageNumbers(new int[]{1, 2}); comparer.getSource().generatePreview(previewOptions); } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | The preview options specifying the format, page numbers and so on | ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets information about the document, including document type, page count, page sizes, and more. * Learn more about document file type, page count, size, and other format-specific properties: How to get document info using GroupDocs.Comparison **Returns:** IDocumentInfo - the document information ##### close() ``` public void close() ``` ## .NET ### GroupDocs.Comparison for .NET Path: https://reference.groupdocs.com/comparison/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Comparison | The namespace provides classes to compare documents for all popular document formats. | | GroupDocs.Comparison.Cells.Style | The namespace provides classes for working with component styles in Cells format file. | | GroupDocs.Comparison.Common.Delegates | The namespace provides classes for creating and releasing streams used by `PreviewOptions`. | | GroupDocs.Comparison.Common.Exceptions | The namespace provides different exception classes. | | GroupDocs.Comparison.Interfaces | The namespace provides interfaces to instantiate output objects. | | GroupDocs.Comparison.Localization | The namespace provides classes checking supported locales. | | GroupDocs.Comparison.Logging | The namespace provides classes for working with integrated or your own logger. | | GroupDocs.Comparison.Options | The namespace provides classes that allows to specify additional options for documents comparison process. | | GroupDocs.Comparison.Result | The namespace provides classes which represents the comparison results. | | GroupDocs.Comparison.Words.Revision | The namespace provides classes for working with revisions in WORD format file. | ### GroupDocs.Comparison.Cells.Style Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.cells.style.md The namespace provides classes for working with component styles in Cells format file. #### Enumeration | Enumeration | Description | | --- | --- | | MergeType | Enumerates the type of cell merge. | ### MergeType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.cells.style/mergetype.md #### MergeType enumeration Enumerates the type of cell merge. ```csharp public enum MergeType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Cell does not merge. | | Horizontal | `1` | Cell merges along row. | | Vertical | `2` | Cell merges along column. | | Range | `3` | Cell merges along row and column creating area. | ### GroupDocs.Comparison.Common.Delegates Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.delegates.md The namespace provides classes for creating and releasing streams used by `PreviewOptions`. #### Classes | Class | Description | | --- | --- | | CreatePageStream | Delegate which defines method to create output page preview stream used by `PreviewOptions`. | | ReleasePageStream | Delegate which defines method to release output page preview stream used by `PreviewOptions`. | ### CreatePageStream Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.delegates/createpagestream.md #### CreatePageStream delegate Delegate which defines method to create output page preview stream used by `PreviewOptions`. ```csharp public delegate Stream CreatePageStream(int pageNumber); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The number of previewed page. | ##### Return Value Stream of image ### ReleasePageStream Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.delegates/releasepagestream.md #### ReleasePageStream delegate Delegate which defines method to release output page preview stream used by `PreviewOptions`. ```csharp public delegate void ReleasePageStream(int pageNumber, Stream pageStream); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The number of previewed page. | | pageStream | Stream | The page stream to release. | ### GroupDocs.Comparison.Common.Exceptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions.md The namespace provides different exception classes. #### Classes | Class | Description | | --- | --- | | ComparisonException | Base class for all comparison process exceptions. | | DocumentComparisonException | The exception that is thrown when an error occurs while comparing documents. | | FileFormatException | The exception that is thrown when comparing files with different formats. | | InvalidPasswordException | The exception that is thrown when specified password is incorrect. | | PasswordProtectedFileException | The exception that is thrown when the document is protected by password. | | UnsupportedFileFormatException | The exception that is thrown when file of this format doesn't support comparison. | ### ComparisonException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/comparisonexception.md #### ComparisonException class Base class for all comparison process exceptions. ```csharp public class ComparisonException : ApplicationException ``` #### Constructors | Name | Description | | --- | --- | | ComparisonException() | Initializes a new instance of the `ComparisonException` class. | | ComparisonException(string) | Initializes a new instance of the `ComparisonException` class with a specified error message. | | ComparisonException(string, Exception) | Initializes a new instance of the `ComparisonException` class with a specified error message and a reference to the inner exception that is the cause of this exception. | ### ComparisonException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/comparisonexception/comparisonexception.md #### ComparisonException() Initializes a new instance of the `ComparisonException` class. ```csharp public ComparisonException() ``` #### ComparisonException(string) Initializes a new instance of the `ComparisonException` class with a specified error message. ```csharp public ComparisonException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The exception message | #### ComparisonException(string, Exception) Initializes a new instance of the `ComparisonException` class with a specified error message and a reference to the inner exception that is the cause of this exception. ```csharp public ComparisonException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The exception message | | innerException | Exception | The inner exception | ### DocumentComparisonException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/documentcomparisonexception.md #### DocumentComparisonException class The exception that is thrown when an error occurs while comparing documents. ```csharp public class DocumentComparisonException : ComparisonException ``` #### Constructors | Name | Description | | --- | --- | | DocumentComparisonException(string) | Initializes a new instance of `DocumentComparisonException` class. | ### DocumentComparisonException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/documentcomparisonexception/documentcomparisonexception.md #### DocumentComparisonException constructor Initializes a new instance of `DocumentComparisonException` class. ```csharp public DocumentComparisonException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | | ### FileFormatException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/fileformatexception.md #### FileFormatException class The exception that is thrown when comparing files with different formats. ```csharp public class FileFormatException : ComparisonException ``` #### Constructors | Name | Description | | --- | --- | | FileFormatException(string, string) | Initializes a new instance of `FileFormatException` class. | ### FileFormatException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/fileformatexception/fileformatexception.md #### FileFormatException constructor Initializes a new instance of `FileFormatException` class. ```csharp public FileFormatException(string sourcePath, string targetPath) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The source file path | | targetPath | String | The target file path | ### InvalidPasswordException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/invalidpasswordexception.md #### InvalidPasswordException class The exception that is thrown when specified password is incorrect. ```csharp public class InvalidPasswordException : ComparisonException ``` #### Constructors | Name | Description | | --- | --- | | InvalidPasswordException() | Initializes a new instance of `InvalidPasswordException` class. | ### InvalidPasswordException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/invalidpasswordexception/invalidpasswordexception.md #### InvalidPasswordException constructor Initializes a new instance of `InvalidPasswordException` class. ```csharp public InvalidPasswordException() ``` ### PasswordProtectedFileException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/passwordprotectedfileexception.md #### PasswordProtectedFileException class The exception that is thrown when the document is protected by password. ```csharp public class PasswordProtectedFileException : ComparisonException ``` #### Constructors | Name | Description | | --- | --- | | PasswordProtectedFileException() | Initializes a new instance of `PasswordProtectedFileException` class. | ### PasswordProtectedFileException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/passwordprotectedfileexception/passwordprotectedfileexception.md #### PasswordProtectedFileException constructor Initializes a new instance of `PasswordProtectedFileException` class. ```csharp public PasswordProtectedFileException() ``` ### UnsupportedFileFormatException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/unsupportedfileformatexception.md #### UnsupportedFileFormatException class The exception that is thrown when file of this format doesn't support comparison. ```csharp public class UnsupportedFileFormatException : ComparisonException ``` #### Constructors | Name | Description | | --- | --- | | UnsupportedFileFormatException() | Initializes a new instance of `UnsupportedFileFormatException` class. | | UnsupportedFileFormatException(string) | Initializes a new instance of `UnsupportedFileFormatException` class. | ### UnsupportedFileFormatException Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.common.exceptions/unsupportedfileformatexception/unsupportedfileformatexception.md #### UnsupportedFileFormatException() Initializes a new instance of `UnsupportedFileFormatException` class. ```csharp public UnsupportedFileFormatException() ``` #### UnsupportedFileFormatException(string) Initializes a new instance of `UnsupportedFileFormatException` class. ```csharp public UnsupportedFileFormatException(string pathFile) ``` | Parameter | Type | Description | | --- | --- | --- | | pathFile | String | | ### GroupDocs.Comparison.Interfaces Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.interfaces.md The namespace provides interfaces to instantiate output objects. #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Defines document description properties. | ### IDocumentInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.interfaces/idocumentinfo.md #### IDocumentInfo interface Defines document description properties. ```csharp public interface IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | FileType { get; set; } | Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Comparison, detect file type by extension etc. | | PageCount { get; set; } | Number of pages in document. | | PagesInfo { get; set; } | Pages Information (Page Number, Width, Height). | | Size { get; set; } | File size. | ### FileType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.interfaces/idocumentinfo/filetype.md #### IDocumentInfo.FileType property Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Comparison, detect file type by extension etc. ```csharp public FileType FileType { get; set; } ``` ### PageCount Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.interfaces/idocumentinfo/pagecount.md #### IDocumentInfo.PageCount property Number of pages in document. ```csharp public int PageCount { get; set; } ``` ### PagesInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.interfaces/idocumentinfo/pagesinfo.md #### IDocumentInfo.PagesInfo property Pages Information (Page Number, Width, Height). ```csharp public List PagesInfo { get; set; } ``` ### Size Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.interfaces/idocumentinfo/size.md #### IDocumentInfo.Size property File size. ```csharp public long Size { get; set; } ``` ### GroupDocs.Comparison.Localization Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.localization.md The namespace provides classes checking supported locales. #### Classes | Class | Description | | --- | --- | | SupportedLocales | Class that provides methods for checking supported locales of GroupDocs.Comparison. | ### SupportedLocales Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.localization/supportedlocales.md #### SupportedLocales class Class that provides methods for checking supported locales of GroupDocs.Comparison. ```csharp public static class SupportedLocales ``` #### Methods | Name | Description | | --- | --- | | static IsLocaleSupported(CultureInfo) | Determines whether the locale is supported. | | static IsLocaleSupported(string) | Determines whether the locale is supported. | ### IsLocaleSupported Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.localization/supportedlocales/islocalesupported.md #### IsLocaleSupported(string) Determines whether the locale is supported. ```csharp public static bool IsLocaleSupported(string culture) ``` | Parameter | Type | Description | | --- | --- | --- | | culture | String | The culture. | #### IsLocaleSupported(CultureInfo) Determines whether the locale is supported. ```csharp public static bool IsLocaleSupported(CultureInfo culture) ``` | Parameter | Type | Description | | --- | --- | --- | | culture | CultureInfo | The culture. | ### GroupDocs.Comparison.Logging Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging.md The namespace provides classes for working with integrated or your own logger. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Represents logger implementation which sends all messages to console. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | Logger interface. | ### ConsoleLogger Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/consolelogger.md #### ConsoleLogger class Represents logger implementation which sends all messages to console. ```csharp public sealed class ConsoleLogger : ILogger ``` #### Constructors | Name | Description | | --- | --- | | ConsoleLogger() | The default constructor. | #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Logs error message. | | Trace(string) | Logs the process of comparison. | | Warning(string) | Logs warning message. | ### ConsoleLogger Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/consolelogger/consolelogger.md #### ConsoleLogger constructor The default constructor. ```csharp public ConsoleLogger() ``` ### Error Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/consolelogger/error.md #### ConsoleLogger.Error method Logs error message. ```csharp public void Error(string message, Exception ex) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Error message | | ex | Exception | Exception object | ### Trace Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/consolelogger/trace.md #### ConsoleLogger.Trace method Logs the process of comparison. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Log message | ### Warning Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/consolelogger/warning.md #### ConsoleLogger.Warning method Logs warning message. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Warning message | ### ILogger Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/ilogger.md #### ILogger interface Logger interface. ```csharp public interface ILogger ``` #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Error message. | | Trace(string) | Trace message. | | Warning(string) | Warning message. | ### Error Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/ilogger/error.md #### ILogger.Error method Error message. ```csharp public void Error(string message, Exception ex) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message | | ex | Exception | The exception message | ### Trace Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/ilogger/trace.md #### ILogger.Trace method Trace message. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### Warning Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.logging/ilogger/warning.md #### ILogger.Warning method Warning message. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The warning message | ### GroupDocs.Comparison.Options Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options.md The namespace provides classes that allows to specify additional options for documents comparison process. #### Classes | Class | Description | | --- | --- | | ApplyChangeOptions | Allows to update the list of changes before applying them to the resulting document. | | CompareOptions | Allows to set different compare options. | | DiagramMasterSetting | Diagram master settings. | | FileAuthorMetadata | Information about document's author metadata. | | GetChangeOptions | The option allows to filter changes by type. | | IgnoreChangeSensitivitySettings | The option allows to ignore changes by similarity percentage. | | LoadOptions | Allows to specify additional options when loading a document. | | OriginalSize | Represents original page size. Used only for comparing image with different formats. | | PagesSetup | Specifies which pages to include in the comparison. | | PdfCompareOptions | PDF document specific compare options. Inherits common options from `CompareOptions`. | | PreviewOptions | Represents document preview options. | | PreviewResolution | Represents resolution settings for document preview generation. | | SaveOptions | Allows to specify additional options (such as password) when saving a document. | | Size | Document size. | | StyleSettings | Style settings. Allows to define style rules for changes. Used in `CompareOptions` class. | | WordCompareOptions | Word document specific compare options. Inherits common options from `CompareOptions`. | #### Enumeration | Enumeration | Description | | --- | --- | | CalculateCoordinatesModeEnumeration | Enumerates the type of coordinates calculation. | | ChangeType | Specifies change type. | | PdfCompareOptions.ComparisonDisplayMode | Controls how Pdf comparison result document is laid out. | | WordCompareOptions.ComparisonDisplayMode | Defines how Word comparison results are displayed for `WordCompareOptions`. | | DetalisationLevel | Specifies the level of comparison details. | | FolderComparisonExtension | Folder extensions. | | ImagesInheritance | Source of images inheritance when image comparison is disabled. | | MetadataType | Determines from where result document will take metadata information | | PaperSize | The option to set the Paper size of the result document after comparison. | | PasswordSaveOption | Specifies the password save option. | | PreviewFormats | Document preview supported formats. | ### ApplyChangeOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/applychangeoptions.md #### ApplyChangeOptions class Allows to update the list of changes before applying them to the resulting document. ```csharp public class ApplyChangeOptions ``` #### Constructors | Name | Description | | --- | --- | | ApplyChangeOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Changes { get; set; } | List of changes that must be applied to the resulting document. | | SaveOriginalState { get; set; } | After applying the changes, keep the original state of the compared result. | ### ApplyChangeOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/applychangeoptions/applychangeoptions.md #### ApplyChangeOptions constructor The default constructor. ```csharp public ApplyChangeOptions() ``` ### Changes Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/applychangeoptions/changes.md #### ApplyChangeOptions.Changes property List of changes that must be applied to the resulting document. ```csharp public ChangeInfo[] Changes { get; set; } ``` ### SaveOriginalState Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/applychangeoptions/saveoriginalstate.md #### ApplyChangeOptions.SaveOriginalState property After applying the changes, keep the original state of the compared result. ```csharp public bool SaveOriginalState { get; set; } ``` ### CalculateCoordinatesModeEnumeration Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/calculatecoordinatesmodeenumeration.md #### CalculateCoordinatesModeEnumeration enumeration Enumerates the type of coordinates calculation. ```csharp public enum CalculateCoordinatesModeEnumeration ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Source | `0` | Calculate coordinates of source elements. | | Target | `1` | Calculate coordinates of target elements. | | Result | `2` | Calculate coordinates of result elements (default). | ### ChangeType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/changetype.md #### ChangeType enumeration Specifies change type. ```csharp public enum ChangeType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | The none. | | Modified | `1` | The modified. | | Inserted | `2` | The inserted. | | Deleted | `3` | The deleted. | | Added | `4` | The added. | | NotModified | `5` | The not modified. | | StyleChanged | `6` | Style changed. | | Resized | `7` | Resized. | | Moved | `8` | Moved. | | MovedAndResized | `9` | The moved and resized. | | ShiftedAndResized | `10` | The shifted and resized. | ### CompareOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions.md #### CompareOptions class Allows to set different compare options. ```csharp public class CompareOptions ``` #### Constructors | Name | Description | | --- | --- | | CompareOptions() | Initializes a new instance of the `CompareOptions` class. | #### Properties | Name | Description | | --- | --- | | CalculateCoordinates { get; set; } | Indicates whether to calculate coordinates for changed components. | | CalculateCoordinatesMode { get; set; } | Specifies the coordinate calculation for changed components mode. | | ChangedItemStyle { get; set; } | Describes style for changed components. | | DeletedItemStyle { get; set; } | Describes style for deleted components. | | DetalisationLevel { get; set; } | Gets or sets the comparison detail level. | | DetectStyleChanges { get; set; } | Indicates whether to detect style changes or not. | | DiagramMasterSetting { get; set; } | Gets or sets the path value for master or use compare without path of master. This option only for Diagram. | | DirectoryCompare { get; set; } | Control to turn on comparison of folders. | | ExtendedSummaryPage { get; set; } | Indicates whether to add extended file comparison information to the summary page or not. | | FolderComparisonExtension { get; set; } | Gets or sets the format of the resulting folder comparison file. | | GenerateSummaryPage { get; set; } | Indicates whether to add summary page with detected changes statistics to resultant document or not. | | HeaderFootersComparison { get; set; } | Control to turn on comparison of header/footer contents. | | IgnoreChangeSettings { get; set; } | Gets or sets settings to ignore changes based on similarity. | | InsertedItemStyle { get; set; } | Describes style for inserted components. | | MarkChangedContent { get; set; } | Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents. | | MarkNestedContent { get; set; } | Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted. | | OriginalSize { get; set; } | Get or sets the original sizes of compared documents. | | PaperSize { get; set; } | Gets or sets the result document paper size. | | PasswordSaveOption { get; set; } | Gets or sets the password save option. | | SensitivityOfComparison { get; set; } | Gets or sets a sensitivity of comparison. | | SensitivityOfComparisonForTables { get; set; } | Gets or sets a sensitivity of comparison for tables. | | ShowDeletedContent { get; set; } | Indicates whether to show deleted components in resultant document or not. | | ShowInsertedContent { get; set; } | Indicates whether to show inserted components in resultant document or not. | | ShowOnlyChanged { get; set; } | Controls to enable the display of only changed items. | | ShowOnlySummaryPage { get; set; } | Indicates whether to leave in the resulting document only a page with statistics of detected changes in the resulting document or not. | | UserMasterPath { get; set; } | Path to user master's template for Diagrams. | | WordsSeparatorChars { set; } | Gets or sets an array of delimiters to split text into words. | ### CalculateCoordinates Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/calculatecoordinates.md #### CompareOptions.CalculateCoordinates property Indicates whether to calculate coordinates for changed components. ```csharp public bool CalculateCoordinates { get; set; } ``` ### CalculateCoordinatesMode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/calculatecoordinatesmode.md #### CompareOptions.CalculateCoordinatesMode property Specifies the coordinate calculation for changed components mode. ```csharp public CalculateCoordinatesModeEnumeration CalculateCoordinatesMode { get; set; } ``` ### ChangedItemStyle Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/changeditemstyle.md #### CompareOptions.ChangedItemStyle property Describes style for changed components. ```csharp public StyleSettings ChangedItemStyle { get; set; } ``` ### CompareOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/compareoptions.md #### CompareOptions constructor Initializes a new instance of the `CompareOptions` class. ```csharp public CompareOptions() ``` ### DeletedItemStyle Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/deleteditemstyle.md #### CompareOptions.DeletedItemStyle property Describes style for deleted components. ```csharp public StyleSettings DeletedItemStyle { get; set; } ``` ### DetalisationLevel Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/detalisationlevel.md #### CompareOptions.DetalisationLevel property Gets or sets the comparison detail level. ```csharp public DetalisationLevel DetalisationLevel { get; set; } ``` ### DetectStyleChanges Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/detectstylechanges.md #### CompareOptions.DetectStyleChanges property Indicates whether to detect style changes or not. ```csharp public bool DetectStyleChanges { get; set; } ``` ### DiagramMasterSetting Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/diagrammastersetting.md #### CompareOptions.DiagramMasterSetting property Gets or sets the path value for master or use compare without path of master. This option only for Diagram. ```csharp public DiagramMasterSetting DiagramMasterSetting { get; set; } ``` ##### Property Value The master option for Diagram. ### DirectoryCompare Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/directorycompare.md #### CompareOptions.DirectoryCompare property Control to turn on comparison of folders. ```csharp public bool DirectoryCompare { get; set; } ``` ### ExtendedSummaryPage Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/extendedsummarypage.md #### CompareOptions.ExtendedSummaryPage property Indicates whether to add extended file comparison information to the summary page or not. ```csharp public bool ExtendedSummaryPage { get; set; } ``` ### FolderComparisonExtension Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/foldercomparisonextension.md #### CompareOptions.FolderComparisonExtension property Gets or sets the format of the resulting folder comparison file. ```csharp public FolderComparisonExtension FolderComparisonExtension { get; set; } ``` ### GenerateSummaryPage Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/generatesummarypage.md #### CompareOptions.GenerateSummaryPage property Indicates whether to add summary page with detected changes statistics to resultant document or not. ```csharp public bool GenerateSummaryPage { get; set; } ``` ### HeaderFootersComparison Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/headerfooterscomparison.md #### CompareOptions.HeaderFootersComparison property Control to turn on comparison of header/footer contents. ```csharp public bool HeaderFootersComparison { get; set; } ``` ### IgnoreChangeSettings Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/ignorechangesettings.md #### CompareOptions.IgnoreChangeSettings property Gets or sets settings to ignore changes based on similarity. ```csharp public IgnoreChangeSensitivitySettings IgnoreChangeSettings { get; set; } ``` ##### Property Value Settings to ignore changes. ### InsertedItemStyle Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/inserteditemstyle.md #### CompareOptions.InsertedItemStyle property Describes style for inserted components. ```csharp public StyleSettings InsertedItemStyle { get; set; } ``` ### MarkChangedContent Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/markchangedcontent.md #### CompareOptions.MarkChangedContent property Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents. ```csharp public bool MarkChangedContent { get; set; } ``` ### MarkNestedContent Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/marknestedcontent.md #### CompareOptions.MarkNestedContent property Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted. ```csharp public bool MarkNestedContent { get; set; } ``` ### OriginalSize Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/originalsize.md #### CompareOptions.OriginalSize property Get or sets the original sizes of compared documents. ```csharp public OriginalSize OriginalSize { get; set; } ``` ### PaperSize Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/papersize.md #### CompareOptions.PaperSize property Gets or sets the result document paper size. ```csharp public PaperSize PaperSize { get; set; } ``` ### PasswordSaveOption Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/passwordsaveoption.md #### CompareOptions.PasswordSaveOption property Gets or sets the password save option. ```csharp public PasswordSaveOption PasswordSaveOption { get; set; } ``` ##### Property Value The password save option. ### SensitivityOfComparison Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/sensitivityofcomparison.md #### CompareOptions.SensitivityOfComparison property Gets or sets a sensitivity of comparison. ```csharp public int SensitivityOfComparison { get; set; } ``` ##### Property Value The percentage of deleted and inserted elements of two compared objects in relation to all elements of these objects. if this percentage if exceeded, the object aren't compared but are considered completely inserted and deleted. Min value - 0% => The comparison doesn't occur for any length of the common subsequence of two compared object. Default value - 75% => Comparison occurs if the percentage of deleted and inserted elements of two compared object with respect to all elements of these objects isn't more then 75. Max value - 100% => The comparison occurs at any length of the common subsequence of two compared objects. ### SensitivityOfComparisonForTables Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/sensitivityofcomparisonfortables.md #### CompareOptions.SensitivityOfComparisonForTables property Gets or sets a sensitivity of comparison for tables. ```csharp public int? SensitivityOfComparisonForTables { get; set; } ``` ##### Property Value If the value is null, SensitivityOfComparison is used instead. The percentage of deleted and inserted elements of two compared objects in relation to all elements of these objects. if this percentage if exceeded, the object aren't compared but are considered completely inserted and deleted. Min value - 0% => The comparison doesn't occur for any length of the common subsequence of two compared object. Default value - 75% => Comparison occurs if the percentage of deleted and inserted elements of two compared object with respect to all elements of these objects isn't more then 75. Max value - 100% => The comparison occurs at any length of the common subsequence of two compared objects. ### ShowDeletedContent Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/showdeletedcontent.md #### CompareOptions.ShowDeletedContent property Indicates whether to show deleted components in resultant document or not. ```csharp public bool ShowDeletedContent { get; set; } ``` ### ShowInsertedContent Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/showinsertedcontent.md #### CompareOptions.ShowInsertedContent property Indicates whether to show inserted components in resultant document or not. ```csharp public bool ShowInsertedContent { get; set; } ``` ### ShowOnlyChanged Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/showonlychanged.md #### CompareOptions.ShowOnlyChanged property Controls to enable the display of only changed items. ```csharp public bool ShowOnlyChanged { get; set; } ``` ### ShowOnlySummaryPage Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/showonlysummarypage.md #### CompareOptions.ShowOnlySummaryPage property Indicates whether to leave in the resulting document only a page with statistics of detected changes in the resulting document or not. ```csharp public bool ShowOnlySummaryPage { get; set; } ``` ### UserMasterPath Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/usermasterpath.md #### CompareOptions.UserMasterPath property Path to user master's template for Diagrams. ```csharp public string UserMasterPath { get; set; } ``` ### WordsSeparatorChars Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/compareoptions/wordsseparatorchars.md #### CompareOptions.WordsSeparatorChars property Gets or sets an array of delimiters to split text into words. ```csharp public char[] WordsSeparatorChars { set; } ``` ##### Property Value The words separator chars. ### DetalisationLevel Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/detalisationlevel.md #### DetalisationLevel enumeration Specifies the level of comparison details. ```csharp public enum DetalisationLevel ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Low | `0` | Low level. Provides the best speed comparison sacrificing comparison quality. Comparison is perfromed per-word. | | Middle | `1` | Middle level. A reasonable compromise between comparison speed and quality. Comparison is perfromed per-character, but ignoring character case and spaces count. | | High | `2` | High level. The best comparison quality, but the lowest speed. Comparison is perfromed per-character considering character case and spaces count. | ### DiagramMasterSetting Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/diagrammastersetting.md #### DiagramMasterSetting class Diagram master settings. ```csharp public class DiagramMasterSetting ``` #### Constructors | Name | Description | | --- | --- | | DiagramMasterSetting() | Initializes a new instance of the `DiagramMasterSetting` class. | #### Properties | Name | Description | | --- | --- | | MasterPath { get; set; } | Path for Master. Set this value or use default Comparison Master. MasterPath is needed to create a document result from a set of default shapes. | | UseSourceMaster { get; set; } | Set true for use master with source document or use false value for use Master with Path . | ### DiagramMasterSetting Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/diagrammastersetting/diagrammastersetting.md #### DiagramMasterSetting constructor Initializes a new instance of the `DiagramMasterSetting` class. ```csharp public DiagramMasterSetting() ``` ### MasterPath Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/diagrammastersetting/masterpath.md #### DiagramMasterSetting.MasterPath property Path for Master. Set this value or use default Comparison Master. MasterPath is needed to create a document result from a set of default shapes. ```csharp public string MasterPath { get; set; } ``` ### UseSourceMaster Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/diagrammastersetting/usesourcemaster.md #### DiagramMasterSetting.UseSourceMaster property Set true for use master with source document or use false value for use Master with Path . ```csharp public bool UseSourceMaster { get; set; } ``` ### FileAuthorMetadata Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/fileauthormetadata.md #### FileAuthorMetadata class Information about document's author metadata. ```csharp public class FileAuthorMetadata ``` #### Constructors | Name | Description | | --- | --- | | FileAuthorMetadata() | Initializes a new instance of the `FileAuthorMetadata` class. | #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets the author. | | Company { get; set; } | Gets or sets the company. | | LastSaveBy { get; set; } | Gets or sets the last save by. | ### Author Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/fileauthormetadata/author.md #### FileAuthorMetadata.Author property Gets or sets the author. ```csharp public string Author { get; set; } ``` ### Company Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/fileauthormetadata/company.md #### FileAuthorMetadata.Company property Gets or sets the company. ```csharp public string Company { get; set; } ``` ### FileAuthorMetadata Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/fileauthormetadata/fileauthormetadata.md #### FileAuthorMetadata constructor Initializes a new instance of the `FileAuthorMetadata` class. ```csharp public FileAuthorMetadata() ``` ### LastSaveBy Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/fileauthormetadata/lastsaveby.md #### FileAuthorMetadata.LastSaveBy property Gets or sets the last save by. ```csharp public string LastSaveBy { get; set; } ``` ### FolderComparisonExtension Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/foldercomparisonextension.md #### FolderComparisonExtension enumeration Folder extensions. ```csharp public enum FolderComparisonExtension ``` ##### Values | Name | Value | Description | | --- | --- | --- | | HTML | `0` | HTML. | | TXT | `1` | TXT. | ### GetChangeOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/getchangeoptions.md #### GetChangeOptions class The option allows to filter changes by type. ```csharp public class GetChangeOptions ``` #### Constructors | Name | Description | | --- | --- | | GetChangeOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Filter { get; set; } | Type of changes. | ### Filter Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/getchangeoptions/filter.md #### GetChangeOptions.Filter property Type of changes. ```csharp public ChangeType Filter { get; set; } ``` ### GetChangeOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/getchangeoptions/getchangeoptions.md #### GetChangeOptions constructor The default constructor. ```csharp public GetChangeOptions() ``` ### IgnoreChangeSensitivitySettings Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/ignorechangesensitivitysettings.md #### IgnoreChangeSensitivitySettings class The option allows to ignore changes by similarity percentage. ```csharp public class IgnoreChangeSensitivitySettings ``` #### Constructors | Name | Description | | --- | --- | | IgnoreChangeSensitivitySettings() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Ignore { get; set; } | Set ignore option to true or false. | | IgnorePercent { get; set; } | Gets or sets a sensitivity for ignoring changes. Ignores the change if the similarity is less than the specified value. | ### Ignore Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/ignorechangesensitivitysettings/ignore.md #### IgnoreChangeSensitivitySettings.Ignore property Set ignore option to true or false. ```csharp public bool Ignore { get; set; } ``` ### IgnoreChangeSensitivitySettings Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/ignorechangesensitivitysettings/ignorechangesensitivitysettings.md #### IgnoreChangeSensitivitySettings constructor The default constructor. ```csharp public IgnoreChangeSensitivitySettings() ``` ### IgnorePercent Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/ignorechangesensitivitysettings/ignorepercent.md #### IgnoreChangeSensitivitySettings.IgnorePercent property Gets or sets a sensitivity for ignoring changes. Ignores the change if the similarity is less than the specified value. ```csharp public int IgnorePercent { get; set; } ``` ### ImagesInheritance Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/imagesinheritance.md #### ImagesInheritance enumeration Source of images inheritance when image comparison is disabled. ```csharp public enum ImagesInheritance ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Source | `0` | Inherit images from source document. | | Target | `1` | Inherit images from target document. | ### LoadOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions.md #### LoadOptions class Allows to specify additional options when loading a document. ```csharp public class LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | LoadOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | FileType { get; set; } | Manually set the file type for comparison to override automatic file type detection. | | FontDirectories { get; set; } | List of font directories to load. | | LoadText { get; set; } | Indicates that the strings passed are comparison text, not file paths (For Text Comparison only). | | Password { get; set; } | Password of document. | ### FileType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions/filetype.md #### LoadOptions.FileType property Manually set the file type for comparison to override automatic file type detection. ```csharp public FileType FileType { get; set; } ``` ### FontDirectories Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions/fontdirectories.md #### LoadOptions.FontDirectories property List of font directories to load. ```csharp public List FontDirectories { get; set; } ``` ### LoadOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions/loadoptions.md #### LoadOptions constructor The default constructor. ```csharp public LoadOptions() ``` ### LoadText Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions/loadtext.md #### LoadOptions.LoadText property Indicates that the strings passed are comparison text, not file paths (For Text Comparison only). ```csharp public bool LoadText { get; set; } ``` ### Password Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions/password.md #### LoadOptions.Password property Password of document. ```csharp public string Password { get; set; } ``` ### MetadataType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/metadatatype.md #### MetadataType enumeration Determines from where result document will take metadata information ```csharp public enum MetadataType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Default | `0` | Default | | Source | `1` | Metedata takes from source document | | Target | `2` | Metadata takes from target document | | FileAuthor | `3` | Metadata sets by user | ### OriginalSize Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/originalsize.md #### OriginalSize class Represents original page size. Used only for comparing image with different formats. ```csharp public class OriginalSize ``` #### Constructors | Name | Description | | --- | --- | | OriginalSize() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Height { get; set; } | Height of original document | | Width { get; set; } | Width of original document | ### Height Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/originalsize/height.md #### OriginalSize.Height property Height of original document ```csharp public int Height { get; set; } ``` ### OriginalSize Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/originalsize/originalsize.md #### OriginalSize constructor The default constructor. ```csharp public OriginalSize() ``` ### Width Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/originalsize/width.md #### OriginalSize.Width property Width of original document ```csharp public int Width { get; set; } ``` ### PagesSetup Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pagessetup.md #### PagesSetup class Specifies which pages to include in the comparison. ```csharp public class PagesSetup ``` #### Constructors | Name | Description | | --- | --- | | PagesSetup() | The default constructor. | #### Properties | Name | Description | | --- | --- | | EndPage { get; set; } | Gets or sets the 1-based end page number (inclusive). When null, comparison goes to the last page. | | StartPage { get; set; } | Gets or sets the 1-based start page number. When null, comparison starts from the first page. | ### EndPage Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pagessetup/endpage.md #### PagesSetup.EndPage property Gets or sets the 1-based end page number (inclusive). When null, comparison goes to the last page. ```csharp public int? EndPage { get; set; } ``` ### PagesSetup Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pagessetup/pagessetup.md #### PagesSetup constructor The default constructor. ```csharp public PagesSetup() ``` ### StartPage Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pagessetup/startpage.md #### PagesSetup.StartPage property Gets or sets the 1-based start page number. When null, comparison starts from the first page. ```csharp public int? StartPage { get; set; } ``` ### PaperSize Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/papersize.md #### PaperSize enumeration The option to set the Paper size of the result document after comparison. ```csharp public enum PaperSize ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Default | `0` | Default | | A0 | `1` | A0 | | A1 | `2` | A1 | | A2 | `3` | A2 | | A3 | `4` | A3 | | A4 | `5` | A4 | | A5 | `6` | A5 | | A6 | `7` | A6 | | A7 | `8` | A7 | | A8 | `9` | A8 | ### PasswordSaveOption Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/passwordsaveoption.md #### PasswordSaveOption enumeration Specifies the password save option. ```csharp public enum PasswordSaveOption ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Default password. | | Source | `1` | Source password. | | Target | `2` | Target password. | | User | `3` | The user password. | ### PdfCompareOptions.ComparisonDisplayMode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions.comparisondisplaymode.md #### PdfCompareOptions.ComparisonDisplayMode enumeration Controls how Pdf comparison result document is laid out. ```csharp public enum ComparisonDisplayMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Inline | `0` | Default mode. Produces a single merged PDF document where deleted content is highlighted in one color and inserted content in another. Both source and target content coexist on the same pages, which may cause overlap when the documents differ significantly. | | SideBySide | `1` | Each result page shows a source page and its corresponding target page side by side. Deletions appear on the left (source side) and insertions on the right (target side). Content from the two documents never overlaps, making this mode suitable when the documents differ heavily. | | Interleaved | `2` | Produces a document with alternating pages: odd-numbered pages come from the source document (showing deletions) and even-numbered pages come from the target document (showing insertions). Open the result in a PDF viewer with "Two Page View" enabled to see each source/target pair side by side on screen. Like SideBySide, this mode prevents content overlap and is best suited for heavily differing documents. | ### PdfCompareOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions.md #### PdfCompareOptions class PDF document specific compare options. Inherits common options from `CompareOptions`. ```csharp public class PdfCompareOptions : CompareOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfCompareOptions() | Initializes a new instance of the `PdfCompareOptions` class. | #### Properties | Name | Description | | --- | --- | | AnnotationAuthorName { get; set; } | Gets or sets the author name used for annotations when `DisplayMode` is set to Interleaved. | | CalculateCoordinates { get; set; } | Indicates whether to calculate coordinates for changed components. | | CalculateCoordinatesMode { get; set; } | Specifies the coordinate calculation for changed components mode. | | ChangedItemStyle { get; set; } | Describes style for changed components. | | CompareImagesPdf { get; set; } | Gets or sets a value indicating whether to compare images in PDF documents. | | DeletedItemStyle { get; set; } | Describes style for deleted components. | | DetalisationLevel { get; set; } | Gets or sets the comparison detail level. | | DetectStyleChanges { get; set; } | Indicates whether to detect style changes or not. | | DiagramMasterSetting { get; set; } | Gets or sets the path value for master or use compare without path of master. This option only for Diagram. | | DirectoryCompare { get; set; } | Control to turn on comparison of folders. | | DisplayMode { get; set; } | Gets or sets how the comparison result document is laid out. The default value is Inline. | | ExtendedSummaryPage { get; set; } | Indicates whether to add extended file comparison information to the summary page or not. | | FolderComparisonExtension { get; set; } | Gets or sets the format of the resulting folder comparison file. | | GenerateSummaryPage { get; set; } | Indicates whether to add summary page with detected changes statistics to resultant document or not. | | HeaderFootersComparison { get; set; } | Control to turn on comparison of header/footer contents. | | IgnoreChangeSettings { get; set; } | Gets or sets settings to ignore changes based on similarity. | | ImagesInheritanceMode { get; set; } | Specifies the source of images inheritance when image comparison is disabled. | | InsertedItemStyle { get; set; } | Describes style for inserted components. | | MarkChangedContent { get; set; } | Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents. | | MarkNestedContent { get; set; } | Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted. | | OriginalSize { get; set; } | Get or sets the original sizes of compared documents. | | PagesSetup { get; set; } | Gets or sets the page range to compare. When null, all pages are compared. | | PaperSize { get; set; } | Gets or sets the result document paper size. | | PasswordSaveOption { get; set; } | Gets or sets the password save option. | | SensitivityOfComparison { get; set; } | Gets or sets a sensitivity of comparison. | | SensitivityOfComparisonForTables { get; set; } | Gets or sets a sensitivity of comparison for tables. | | ShowDeletedContent { get; set; } | Indicates whether to show deleted components in resultant document or not. | | ShowInsertedContent { get; set; } | Indicates whether to show inserted components in resultant document or not. | | ShowOnlyChanged { get; set; } | Controls to enable the display of only changed items. | | ShowOnlySummaryPage { get; set; } | Indicates whether to leave in the resulting document only a page with statistics of detected changes in the resulting document or not. | | UserMasterPath { get; set; } | Path to user master's template for Diagrams. | | WordsSeparatorChars { set; } | Gets or sets an array of delimiters to split text into words. | ### AnnotationAuthorName Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions/annotationauthorname.md #### PdfCompareOptions.AnnotationAuthorName property Gets or sets the author name used for annotations when `DisplayMode` is set to Interleaved. ```csharp public string AnnotationAuthorName { get; set; } ``` ### CompareImagesPdf Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions/compareimagespdf.md #### PdfCompareOptions.CompareImagesPdf property Gets or sets a value indicating whether to compare images in PDF documents. ```csharp public bool CompareImagesPdf { get; set; } ``` ### DisplayMode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions/displaymode.md #### PdfCompareOptions.DisplayMode property Gets or sets how the comparison result document is laid out. The default value is Inline. ```csharp public ComparisonDisplayMode DisplayMode { get; set; } ``` ### ImagesInheritanceMode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions/imagesinheritancemode.md #### PdfCompareOptions.ImagesInheritanceMode property Specifies the source of images inheritance when image comparison is disabled. ```csharp public ImagesInheritance ImagesInheritanceMode { get; set; } ``` ### PagesSetup Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions/pagessetup.md #### PdfCompareOptions.PagesSetup property Gets or sets the page range to compare. When null, all pages are compared. ```csharp public PagesSetup PagesSetup { get; set; } ``` ### PdfCompareOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/pdfcompareoptions/pdfcompareoptions.md #### PdfCompareOptions constructor Initializes a new instance of the `PdfCompareOptions` class. ```csharp public PdfCompareOptions() ``` ### PreviewFormats Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewformats.md #### PreviewFormats enumeration Document preview supported formats. ```csharp public enum PreviewFormats ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PNG | `0` | Png (by default), can be take a lot of disc space / traffic if page contains a lot of color graphics. | | JPEG | `1` | Jpeg - faster processing, small disc space using / traffic, but can be worst quality. | | BMP | `2` | BMP - slow processing, high disc space usage / traffic, but best quality. | ### PreviewOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions.md #### PreviewOptions class Represents document preview options. ```csharp public class PreviewOptions ``` #### Constructors | Name | Description | | --- | --- | | PreviewOptions(CreatePageStream) | Initializes a new instance of `PreviewOptions` class. | | PreviewOptions(CreatePageStream, ReleasePageStream) | Initializes a new instance of `PreviewOptions` class. | #### Properties | Name | Description | | --- | --- | | CreatePageStream { get; set; } | Delegate which defines method to create output page preview stream. | | Height { get; set; } | Preview height. | | PageNumbers { get; set; } | Page numbers that will be previewed. | | PreviewFormat { get; set; } | Preview image format. | | ReleasePageStream { get; set; } | Delegate which defines method to remove output page preview stream. | | Resolution { get; set; } | Resolution settings for preview generation. | | Width { get; set; } | Preview width. | ### CreatePageStream Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/createpagestream.md #### PreviewOptions.CreatePageStream property Delegate which defines method to create output page preview stream. ```csharp public CreatePageStream CreatePageStream { get; set; } ``` ### Height Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/height.md #### PreviewOptions.Height property Preview height. ```csharp public int Height { get; set; } ``` ### PageNumbers Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/pagenumbers.md #### PreviewOptions.PageNumbers property Page numbers that will be previewed. ```csharp public int[] PageNumbers { get; set; } ``` ### PreviewFormat Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/previewformat.md #### PreviewOptions.PreviewFormat property Preview image format. ```csharp public PreviewFormats PreviewFormat { get; set; } ``` ### PreviewOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/previewoptions.md #### PreviewOptions(CreatePageStream) Initializes a new instance of `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Delegate which defines method to create output page preview stream. | #### PreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Delegate which defines method to create output page preview stream. | | releasePageStream | ReleasePageStream | Delegate which defines method to release output page preview stream. | ### ReleasePageStream Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/releasepagestream.md #### PreviewOptions.ReleasePageStream property Delegate which defines method to remove output page preview stream. ```csharp public ReleasePageStream ReleasePageStream { get; set; } ``` ### Resolution Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/resolution.md #### PreviewOptions.Resolution property Resolution settings for preview generation. ```csharp public PreviewResolution Resolution { get; set; } ``` ### Width Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewoptions/width.md #### PreviewOptions.Width property Preview width. ```csharp public int Width { get; set; } ``` ### PreviewResolution Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewresolution.md #### PreviewResolution class Represents resolution settings for document preview generation. ```csharp public class PreviewResolution ``` #### Constructors | Name | Description | | --- | --- | | PreviewResolution() | The default constructor. | #### Properties | Name | Description | | --- | --- | | HorizontalResolution { get; set; } | Horizontal resolution in DPI (dots per inch). | | VerticalResolution { get; set; } | Vertical resolution in DPI (dots per inch). | ### HorizontalResolution Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewresolution/horizontalresolution.md #### PreviewResolution.HorizontalResolution property Horizontal resolution in DPI (dots per inch). ```csharp public float HorizontalResolution { get; set; } ``` ### PreviewResolution Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewresolution/previewresolution.md #### PreviewResolution constructor The default constructor. ```csharp public PreviewResolution() ``` ### VerticalResolution Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/previewresolution/verticalresolution.md #### PreviewResolution.VerticalResolution property Vertical resolution in DPI (dots per inch). ```csharp public float VerticalResolution { get; set; } ``` ### SaveOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/saveoptions.md #### SaveOptions class Allows to specify additional options (such as password) when saving a document. ```csharp public class SaveOptions ``` #### Constructors | Name | Description | | --- | --- | | SaveOptions() | Initializes a new instance of the `SaveOptions` class. | #### Properties | Name | Description | | --- | --- | | CloneMetadataType { get; set; } | Gets or sets a value indicating whether to clone metadata to target document or not. | | FileAuthorMetadata { get; set; } | Used when MetadataType is set to FileAuthor. | | FolderPath { get; set; } | Gets or sets the folder path for saving result images(For Imaging Comparison only). | | Password { get; set; } | Gets or sets the password for result document. | ### CloneMetadataType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/saveoptions/clonemetadatatype.md #### SaveOptions.CloneMetadataType property Gets or sets a value indicating whether to clone metadata to target document or not. ```csharp public MetadataType CloneMetadataType { get; set; } ``` ### FileAuthorMetadata Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/saveoptions/fileauthormetadata.md #### SaveOptions.FileAuthorMetadata property Used when MetadataType is set to FileAuthor. ```csharp public FileAuthorMetadata FileAuthorMetadata { get; set; } ``` ### FolderPath Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/saveoptions/folderpath.md #### SaveOptions.FolderPath property Gets or sets the folder path for saving result images(For Imaging Comparison only). ```csharp public string FolderPath { get; set; } ``` ### Password Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/saveoptions/password.md #### SaveOptions.Password property Gets or sets the password for result document. ```csharp public string Password { get; set; } ``` ### SaveOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/saveoptions/saveoptions.md #### SaveOptions constructor Initializes a new instance of the `SaveOptions` class. ```csharp public SaveOptions() ``` ### Size Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/size.md #### Size class Document size. ```csharp public class Size ``` #### Constructors | Name | Description | | --- | --- | | Size() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Height { get; set; } | Height of original document. | | Width { get; set; } | Width of original document. | ### Height Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/size/height.md #### Size.Height property Height of original document. ```csharp public int Height { get; set; } ``` ### Size Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/size/size.md #### Size constructor The default constructor. ```csharp public Size() ``` ### Width Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/size/width.md #### Size.Width property Width of original document. ```csharp public int Width { get; set; } ``` ### StyleSettings Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings.md #### StyleSettings class Style settings. Allows to define style rules for changes. Used in `CompareOptions` class. ```csharp public class StyleSettings ``` #### Constructors | Name | Description | | --- | --- | | StyleSettings() | Initializes a new instance of the `StyleSettings` class. | #### Properties | Name | Description | | --- | --- | | BoarderColor { get; set; } | Gets or sets the boarder color. If not set, then the FontColor color is used. | | EndStringSeparator { get; set; } | Gets or sets the end separator string. | | FontColor { get; set; } | Gets or sets the font color. | | HighlightColor { get; set; } | Gets or sets the highlight color. | | IsBold { get; set; } | Gets or sets a value indicating whether this is bold. | | IsItalic { get; set; } | Gets or sets a value indicating whether this is italic. | | IsStrikethrough { get; set; } | Gets or sets a value indicating whether strike through. | | IsUnderline { get; set; } | Gets or sets a value indicating whether this is underline. | | OriginalSize { get; set; } | Get or sets the original sizes of comparing documents. | | ShapeColor { get; set; } | Gets or sets the shape color. If not set, then the FontColor color is used. | | StartStringSeparator { get; set; } | Gets or sets the begin separator string. | | WordsSeparators { get; set; } | Gets or sets the words separator chars. | ### BoarderColor Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/boardercolor.md #### StyleSettings.BoarderColor property Gets or sets the boarder color. If not set, then the FontColor color is used. ```csharp public Color BoarderColor { get; set; } ``` ### EndStringSeparator Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/endstringseparator.md #### StyleSettings.EndStringSeparator property Gets or sets the end separator string. ```csharp public string EndStringSeparator { get; set; } ``` ### FontColor Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/fontcolor.md #### StyleSettings.FontColor property Gets or sets the font color. ```csharp public Color FontColor { get; set; } ``` ### HighlightColor Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/highlightcolor.md #### StyleSettings.HighlightColor property Gets or sets the highlight color. ```csharp public Color HighlightColor { get; set; } ``` ### IsBold Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/isbold.md #### StyleSettings.IsBold property Gets or sets a value indicating whether this is bold. ```csharp public bool IsBold { get; set; } ``` ### IsItalic Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/isitalic.md #### StyleSettings.IsItalic property Gets or sets a value indicating whether this is italic. ```csharp public bool IsItalic { get; set; } ``` ### IsStrikethrough Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/isstrikethrough.md #### StyleSettings.IsStrikethrough property Gets or sets a value indicating whether strike through. ```csharp public bool IsStrikethrough { get; set; } ``` ### IsUnderline Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/isunderline.md #### StyleSettings.IsUnderline property Gets or sets a value indicating whether this is underline. ```csharp public bool IsUnderline { get; set; } ``` ### OriginalSize Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/originalsize.md #### StyleSettings.OriginalSize property Get or sets the original sizes of comparing documents. ```csharp public Size OriginalSize { get; set; } ``` ### ShapeColor Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/shapecolor.md #### StyleSettings.ShapeColor property Gets or sets the shape color. If not set, then the FontColor color is used. ```csharp public Color ShapeColor { get; set; } ``` ### StartStringSeparator Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/startstringseparator.md #### StyleSettings.StartStringSeparator property Gets or sets the begin separator string. ```csharp public string StartStringSeparator { get; set; } ``` ### StyleSettings Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/stylesettings.md #### StyleSettings constructor Initializes a new instance of the `StyleSettings` class. ```csharp public StyleSettings() ``` ### WordsSeparators Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/stylesettings/wordsseparators.md #### StyleSettings.WordsSeparators property Gets or sets the words separator chars. ```csharp public char[] WordsSeparators { get; set; } ``` ### WordCompareOptions.ComparisonDisplayMode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions.comparisondisplaymode.md #### WordCompareOptions.ComparisonDisplayMode enumeration Defines how Word comparison results are displayed for `WordCompareOptions`. ```csharp public enum ComparisonDisplayMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Revisions | `0` | Default behavior: use Word's built-in Track Changes mode and show differences as revisions. | | Highlight | `1` | Render differences as highlighted content directly in the document instead of using Track Changes. | ### WordCompareOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions.md #### WordCompareOptions class Word document specific compare options. Inherits common options from `CompareOptions`. ```csharp public class WordCompareOptions : CompareOptions ``` #### Constructors | Name | Description | | --- | --- | | WordCompareOptions() | Initializes a new instance of the `WordCompareOptions` class. | #### Properties | Name | Description | | --- | --- | | CalculateCoordinates { get; set; } | Indicates whether to calculate coordinates for changed components. | | CalculateCoordinatesMode { get; set; } | Specifies the coordinate calculation for changed components mode. | | ChangedItemStyle { get; set; } | Describes style for changed components. | | CompareBookmarks { get; set; } | Gets or sets whether bookmarks in the source and target documents are compared and differences included in the result. | | CompareDocumentProperty { get; set; } | Gets or sets whether built-in and custom document properties are compared and differences included in the result (e.g. on the properties summary page). | | CompareVariableProperty { get; set; } | Gets or sets whether document variable properties (e.g. DOCVARIABLE fields) are compared and differences included in the result. | | DeletedItemStyle { get; set; } | Describes style for deleted components. | | DetalisationLevel { get; set; } | Gets or sets the comparison detail level. | | DetectStyleChanges { get; set; } | Indicates whether to detect style changes or not. | | DiagramMasterSetting { get; set; } | Gets or sets the path value for master or use compare without path of master. This option only for Diagram. | | DirectoryCompare { get; set; } | Control to turn on comparison of folders. | | DisplayMode { get; set; } | Gets or sets how comparison results are displayed: as Word revisions in Track Changes mode (Revisions) or as highlighted changes rendered directly into the document (Highlight). | | ExtendedSummaryPage { get; set; } | Indicates whether to add extended file comparison information to the summary page or not. | | FolderComparisonExtension { get; set; } | Gets or sets the format of the resulting folder comparison file. | | GenerateSummaryPage { get; set; } | Indicates whether to add summary page with detected changes statistics to resultant document or not. | | HeaderFootersComparison { get; set; } | Control to turn on comparison of header/footer contents. | | IgnoreChangeSettings { get; set; } | Gets or sets settings to ignore changes based on similarity. | | InsertedItemStyle { get; set; } | Describes style for inserted components. | | LeaveGaps { get; set; } | Gets or sets whether empty lines are left in place of inserted or deleted content to preserve layout and line count; used with `ShowInsertedContent` and `ShowDeletedContent`. | | MarkChangedContent { get; set; } | Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents. | | MarkLineBreaks { get; set; } | Gets or sets whether paragraph (line) breaks that differ between documents are visually marked in the result. | | MarkNestedContent { get; set; } | Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted. | | OriginalSize { get; set; } | Get or sets the original sizes of compared documents. | | PaperSize { get; set; } | Gets or sets the result document paper size. | | PasswordSaveOption { get; set; } | Gets or sets the password save option. | | RevisionAuthorName { get; set; } | Gets or sets the author name used for revisions when !:WordTrackChanges is enabled. If set, this name is applied to revision markup in the result document. | | SensitivityOfComparison { get; set; } | Gets or sets a sensitivity of comparison. | | SensitivityOfComparisonForTables { get; set; } | Gets or sets a sensitivity of comparison for tables. | | ShowDeletedContent { get; set; } | Indicates whether to show deleted components in resultant document or not. | | ShowInsertedContent { get; set; } | Indicates whether to show inserted components in resultant document or not. | | ShowOnlyChanged { get; set; } | Controls to enable the display of only changed items. | | ShowOnlySummaryPage { get; set; } | Indicates whether to leave in the resulting document only a page with statistics of detected changes in the resulting document or not. | | ShowRevisions { get; set; } | Gets or sets whether the result document keeps revision markup visible. If false, all revisions are accepted and the result appears as final text. This setting is meaningful only when `DisplayMode` is set to Highlight. The default value is true. | | UserMasterPath { get; set; } | Path to user master's template for Diagrams. | | WordsSeparatorChars { set; } | Gets or sets an array of delimiters to split text into words. | ### CompareBookmarks Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/comparebookmarks.md #### WordCompareOptions.CompareBookmarks property Gets or sets whether bookmarks in the source and target documents are compared and differences included in the result. ```csharp public bool CompareBookmarks { get; set; } ``` ### CompareDocumentProperty Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/comparedocumentproperty.md #### WordCompareOptions.CompareDocumentProperty property Gets or sets whether built-in and custom document properties are compared and differences included in the result (e.g. on the properties summary page). ```csharp public bool CompareDocumentProperty { get; set; } ``` ### CompareVariableProperty Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/comparevariableproperty.md #### WordCompareOptions.CompareVariableProperty property Gets or sets whether document variable properties (e.g. DOCVARIABLE fields) are compared and differences included in the result. ```csharp public bool CompareVariableProperty { get; set; } ``` ### DisplayMode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/displaymode.md #### WordCompareOptions.DisplayMode property Gets or sets how comparison results are displayed: as Word revisions in Track Changes mode (Revisions) or as highlighted changes rendered directly into the document (Highlight). ```csharp public ComparisonDisplayMode DisplayMode { get; set; } ``` ### LeaveGaps Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/leavegaps.md #### WordCompareOptions.LeaveGaps property Gets or sets whether empty lines are left in place of inserted or deleted content to preserve layout and line count; used with `ShowInsertedContent` and `ShowDeletedContent`. ```csharp public bool LeaveGaps { get; set; } ``` ### MarkLineBreaks Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/marklinebreaks.md #### WordCompareOptions.MarkLineBreaks property Gets or sets whether paragraph (line) breaks that differ between documents are visually marked in the result. ```csharp public bool MarkLineBreaks { get; set; } ``` ### RevisionAuthorName Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/revisionauthorname.md #### WordCompareOptions.RevisionAuthorName property Gets or sets the author name used for revisions when !:WordTrackChanges is enabled. If set, this name is applied to revision markup in the result document. ```csharp public string RevisionAuthorName { get; set; } ``` ### ShowRevisions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/showrevisions.md #### WordCompareOptions.ShowRevisions property Gets or sets whether the result document keeps revision markup visible. If false, all revisions are accepted and the result appears as final text. This setting is meaningful only when `DisplayMode` is set to Highlight. The default value is true. ```csharp public bool ShowRevisions { get; set; } ``` ### WordCompareOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/wordcompareoptions/wordcompareoptions.md #### WordCompareOptions constructor Initializes a new instance of the `WordCompareOptions` class. ```csharp public WordCompareOptions() ``` ### GroupDocs.Comparison.Result Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result.md The namespace provides classes which represents the comparison results. #### Classes | Class | Description | | --- | --- | | ChangeInfo | Represents information about change. | | FileType | Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Comparison, detect file type by extension etc. | | PageInfo | Represents information about page's size and number. | | StyleChangeInfo | Represents information about style change. | #### Structures | Structure | Description | | --- | --- | | Rectangle | Rectangle model. | #### Enumeration | Enumeration | Description | | --- | --- | | ComparisonAction | An action that can be applied to change. | ### ChangeInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo.md #### ChangeInfo class Represents information about change. ```csharp public class ChangeInfo ``` #### Constructors | Name | Description | | --- | --- | | ChangeInfo() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Authors { get; set; } | List of Authors. | | Box { get; set; } | Coordinates of changed element. | | Column { get; set; } | Zero-based column index of the changed cell. Populated for Cells comparer (XLSX, CSV, ODS, etc.), null otherwise. | | ColumnHeader { get; set; } | Column header text taken from the first row of the worksheet for the corresponding column. Populated for Cells comparer when the first row contains header values, null otherwise. | | ComparisonAction { get; set; } | Action (accept or reject). This field tells comparison what to do with this change. | | ComponentType { get; set; } | Type of changed component. | | Id { get; set; } | Id of change. | | PageInfo { get; set; } | Page where current change is placed. | | Row { get; set; } | Zero-based row index of the changed cell. Populated for Cells comparer (XLSX, CSV, ODS, etc.), null otherwise. | | SourceText { get; set; } | Changed text of source document. | | StyleChanges { get; set; } | Array of style changes. | | TargetText { get; set; } | Changed text of target document. | | Text { get; set; } | Text value of change. | | Type { get; } | Type of change. | ### Authors Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/authors.md #### ChangeInfo.Authors property List of Authors. ```csharp public List Authors { get; set; } ``` ### Box Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/box.md #### ChangeInfo.Box property Coordinates of changed element. ```csharp public Rectangle Box { get; set; } ``` ### ChangeInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/changeinfo.md #### ChangeInfo constructor The default constructor. ```csharp public ChangeInfo() ``` ### Column Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/column.md #### ChangeInfo.Column property Zero-based column index of the changed cell. Populated for Cells comparer (XLSX, CSV, ODS, etc.), null otherwise. ```csharp public int? Column { get; set; } ``` ### ColumnHeader Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/columnheader.md #### ChangeInfo.ColumnHeader property Column header text taken from the first row of the worksheet for the corresponding column. Populated for Cells comparer when the first row contains header values, null otherwise. ```csharp public string ColumnHeader { get; set; } ``` ### ComparisonAction Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/comparisonaction.md #### ChangeInfo.ComparisonAction property Action (accept or reject). This field tells comparison what to do with this change. ```csharp public ComparisonAction ComparisonAction { get; set; } ``` ### ComponentType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/componenttype.md #### ChangeInfo.ComponentType property Type of changed component. ```csharp public string ComponentType { get; set; } ``` ### Id Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/id.md #### ChangeInfo.Id property Id of change. ```csharp public int Id { get; set; } ``` ### PageInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/pageinfo.md #### ChangeInfo.PageInfo property Page where current change is placed. ```csharp public PageInfo PageInfo { get; set; } ``` ### Row Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/row.md #### ChangeInfo.Row property Zero-based row index of the changed cell. Populated for Cells comparer (XLSX, CSV, ODS, etc.), null otherwise. ```csharp public int? Row { get; set; } ``` ### SourceText Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/sourcetext.md #### ChangeInfo.SourceText property Changed text of source document. ```csharp public string SourceText { get; set; } ``` ### StyleChanges Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/stylechanges.md #### ChangeInfo.StyleChanges property Array of style changes. ```csharp public StyleChangeInfo[] StyleChanges { get; set; } ``` ### TargetText Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/targettext.md #### ChangeInfo.TargetText property Changed text of target document. ```csharp public string TargetText { get; set; } ``` ### Text Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/text.md #### ChangeInfo.Text property Text value of change. ```csharp public string Text { get; set; } ``` ### Type Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/changeinfo/type.md #### ChangeInfo.Type property Type of change. ```csharp public ChangeType Type { get; } ``` ### ComparisonAction Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/comparisonaction.md #### ComparisonAction enumeration An action that can be applied to change. ```csharp public enum ComparisonAction ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Nothing to do | | Accept | `1` | Change will be visible on result file | | Reject | `2` | Reject will be invisible on result file | ### FileType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype.md #### FileType class Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Comparison, detect file type by extension etc. ```csharp public sealed class FileType : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | File extention | | FileFormat { get; } | File format | #### Methods | Name | Description | | --- | --- | | static FromFileNameOrExtension(string) | Return FileType based on file name or extension | | Equals(FileType) | File type equivalence check | | override Equals(object) | Equivalence check with object | | override GetHashCode() | Get hash code | | override ToString() | ToString | | static GetSupportedFileTypes() | Get supported file types enumeration | | operator == | Operator overload | | operator != | Operator overload | #### Fields | Name | Description | | --- | --- | | static readonly AS | ActionScript Programming Language format | | static readonly AS3 | ActionScript Programming Language format | | static readonly ASM | ASM format | | static readonly BASH | Type of interpreter that processes shell commands | | static readonly BASHRC | File determines the behavior of interactive shells | | static readonly BAT | Script file in DOS, OS/2 and Microsoft Windows | | static readonly BMP | Bitmap Picture | | static readonly BOWERRC | Configuration file for package control on the server-side | | static readonly C | C-Based Programming Language format | | static readonly CAD | CAD file format | | static readonly CAKE | CSharp cross-platform build automation system format | | static readonly CC | C-Based Programming Language format | | static readonly CFG | Configuration file used for storing settings | | static readonly CMAKE | Tool for managing the build process of software | | static readonly CMD | Script file in DOS, OS/2 and Microsoft Windows | | static readonly CONF | Configuration file used on Unix and Linux based systems | | static readonly CPP | C-Based Programming Language format | | static readonly CPY | Controller Python Script format | | static readonly CS | CSharp Programming Language format | | static readonly CSV | Comma Separated Values File | | static readonly CSX | CSharp script file format | | static readonly CTP | CakePHP Template format | | static readonly CXX | C-Based Programming Language format | | static readonly DCM | Digital Imaging and Communications in Medicine | | static readonly DIFF | Data comparison tool format | | static readonly DIR | Directory is a location for storing files on computer | | static readonly DJVU | Deja Vu format | | static readonly DOC | Microsoft Word 97-2003 Document | | static readonly DOCM | Microsoft Word Macro-Enabled Document | | static readonly DOCX | Microsoft Word Document | | static readonly DOT | Microsoft Word 97-2003 Template | | static readonly DOTM | Microsoft Word Macro-Enabled Template | | static readonly DOTX | Microsoft Word Template | | static readonly DSQL | Dynamic Structured Query Language format | | static readonly DWG | Autodesk Design Data Formats | | static readonly DXF | AutoCAD Drawing Interchange | | static readonly EBUILD | Specialized bash script which automates compilation and installation procedures for software packages | | static readonly EML | E-mail Message | | static readonly EMLX | Apple Mail E-mail File | | static readonly ERB | Ruby Programming Language format | | static readonly ES6 | JavaScript standardised scripting language format | | static readonly GEMSPEC | Developer file that specifies the attributes of a RubyGems | | static readonly GIF | Graphics Interchange Format | | static readonly GRADLE | Build-automation system format | | static readonly GROOVY | Source code file written in Groovy format | | static readonly GVY | Source code file written in Groovy format | | static readonly GYP | Build automation tool format | | static readonly GYPI | Build automation tool format | | static readonly H | C-Based header files contain definitions of Functions and Variables | | static readonly HAML | Markup language for simplified HTML generation | | static readonly HAR | The HTTP Archive format | | static readonly HH | Header information referenced by a C++ source code file | | static readonly HPP | Header Files that are written in the C++ programming language | | static readonly HTML | HyperText Markup Language | | static readonly HXX | Header Files that are written in the C++ programming language | | static readonly IPY | IPython Script format | | static readonly JAVA | Java Programming Language format | | static readonly JPEG | Joint Photographic Experts Group | | static readonly JS | JavaScript Programming Language format | | static readonly JSCSRC | JavaScript configuration file format | | static readonly JSHINTRC | JavaScript code quality tool | | static readonly JSMAP | JSON file that contains information on how to translate code back to source code | | static readonly JSON | Lightweight format for storing and transporting data | | static readonly LESS | Dynamic preprocessor style sheet language format | | static readonly LOG | Logging keeps a registry of events, processes, messages and communication | | static readonly MAKE | Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal | | static readonly MARKDN | Markdown Language format | | static readonly MARKDOWN | Markdown Language format | | static readonly MD | Markdown Language format | | static readonly MDOWN | Markdown Language format | | static readonly MDTEXT | Markdown Language format | | static readonly MDTXT | Markdown Language format | | static readonly MDWN | Markdown Language format | | static readonly MHTML | Mime HTML | | static readonly MJS | Extension for EcmaScript (ES) module files | | static readonly MK | Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal | | static readonly MKD | Markdown Language format | | static readonly ML | Caml Programming Language format | | static readonly MLI | Caml Programming Language format | | static readonly MOBI | Mobipocket e-book format | | static readonly MSG | Microsoft Outlook E-mail Message | | static readonly NQP | Intermediate language used to build the Rakudo Perl 6 compiler | | static readonly OBJC | Objective-C Programming Language format | | static readonly OBJCP | Objective-C++ Programming Language format | | static readonly ODP | OpenDocument Presentation | | static readonly ODS | OpenDocument Spreadsheet | | static readonly ODT | OpenDocument Text | | static readonly ONE | Microsoft OneNote Document | | static readonly OTP | OpenDocument Presentation Template | | static readonly OTT | OpenDocument Text Template | | static readonly P6 | Perl Programming Language format | | static readonly PAC | Proxy Auto-Configuration file for JavaScript function format | | static readonly PATCH | List of differences format | | static readonly PDF | Adobe Portable Document format | | static readonly PHP | PHP Programming Language format | | static readonly PHP4 | PHP Programming Language format | | static readonly PHP5 | PHP Programming Language format | | static readonly PHTML | Standard file extension for PHP 2 programs format | | static readonly PL | Perl Programming Language format | | static readonly PL6 | Perl Programming Language format | | static readonly PM | Perl module format | | static readonly PM6 | Perl module format | | static readonly PNG | Portable Network Graphics | | static readonly POD | Perl lightweight markup language format | | static readonly PODSPEC | Ruby build settings format | | static readonly POT | Microsoft PowerPoint template | | static readonly POTX | Microsoft PowerPoint Template | | static readonly PPS | Microsoft PowerPoint 97-2003 Slide Show | | static readonly PPSX | Microsoft PowerPoint Slide Show | | static readonly PPT | Microsoft PowerPoint 97-2003 Presentation | | static readonly PPTX | Microsoft PowerPoint Presentation | | static readonly PROP | Properties file format | | static readonly PSGI | Interface between web servers and web applications and frameworks written in the Perl programming | | static readonly PY | Python Programming Language format | | static readonly PYI | Python Interface file format | | static readonly PYW | Files used in Windows to indicate a script needs to be run | | static readonly RAKE | Ruby build automation tool | | static readonly RB | Ruby Programming Language format | | static readonly RBI | Ruby Interface file format | | static readonly REJ | Rejected files format | | static readonly RJS | Ruby Programming Language format | | static readonly RPY | Python-based file engine to create and run games | | static readonly RST | Lightweight markup language | | static readonly RTF | Rich Text Document | | static readonly RU | Rack configuration file format | | static readonly SASS | Style sheet language format | | static readonly SBT | SBT build tool for Scala format | | static readonly SC | Scala worksheet format | | static readonly SCALA | Scala Programming Language format | | static readonly SCSS | Style sheet language format | | static readonly SH | Script programmed for bash format | | static readonly SQL | Structured Query Language format | | static readonly SVG | Scalar Vector Graphics | | static readonly T | Perl test file format | | static readonly TXT | Plain Text Document | | static readonly UNKNOWN | Unknown type | | static readonly VDX | Microsoft Visio 2003-2010 XML Drawing | | static readonly VIM | Vim source code file format | | static readonly VSD | Microsoft Visio 2003-2010 Drawing | | static readonly VSDX | Microsoft Visio Drawing | | static readonly VSS | Microsoft Visio 2003-2010 Stencil | | static readonly VST | Microsoft Visio 2003-2010 Template | | static readonly WEBMANIFEST | Manifest file includes information about the app | | static readonly XLS | Microsoft Excel 97-2003 Worksheet | | static readonly XLSB | Microsoft Excel Binary Worksheet | | static readonly XLSM | Microsoft Excel Macro-Enabled Worksheet | | static readonly XLSX | Microsoft Excel Worksheet | | static readonly XLT | Microsoft Excel template | | static readonly XLTM | Microsoft Excel macro-enabled template | | static readonly YAML | Human-readable data-serialization language format | | static readonly YML | Human-readable data-serialization language format | ### AS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/as.md #### FileType.AS field ActionScript Programming Language format ```csharp public static readonly FileType AS; ``` ### AS3 Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/as3.md #### FileType.AS3 field ActionScript Programming Language format ```csharp public static readonly FileType AS3; ``` ### ASM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/asm.md #### FileType.ASM field ASM format ```csharp public static readonly FileType ASM; ``` ### BASH Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/bash.md #### FileType.BASH field Type of interpreter that processes shell commands ```csharp public static readonly FileType BASH; ``` ### BASHRC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/bashrc.md #### FileType.BASHRC field File determines the behavior of interactive shells ```csharp public static readonly FileType BASHRC; ``` ### BAT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/bat.md #### FileType.BAT field Script file in DOS, OS/2 and Microsoft Windows ```csharp public static readonly FileType BAT; ``` ### BMP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/bmp.md #### FileType.BMP field Bitmap Picture ```csharp public static readonly FileType BMP; ``` ### BOWERRC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/bowerrc.md #### FileType.BOWERRC field Configuration file for package control on the server-side ```csharp public static readonly FileType BOWERRC; ``` ### C Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/c.md #### FileType.C field C-Based Programming Language format ```csharp public static readonly FileType C; ``` ### CAD Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cad.md #### FileType.CAD field CAD file format ```csharp public static readonly FileType CAD; ``` ### CAKE Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cake.md #### FileType.CAKE field CSharp cross-platform build automation system format ```csharp public static readonly FileType CAKE; ``` ### CC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cc.md #### FileType.CC field C-Based Programming Language format ```csharp public static readonly FileType CC; ``` ### CFG Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cfg.md #### FileType.CFG field Configuration file used for storing settings ```csharp public static readonly FileType CFG; ``` ### CMAKE Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cmake.md #### FileType.CMAKE field Tool for managing the build process of software ```csharp public static readonly FileType CMAKE; ``` ### CMD Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cmd.md #### FileType.CMD field Script file in DOS, OS/2 and Microsoft Windows ```csharp public static readonly FileType CMD; ``` ### CONF Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/conf.md #### FileType.CONF field Configuration file used on Unix and Linux based systems ```csharp public static readonly FileType CONF; ``` ### CPP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cpp.md #### FileType.CPP field C-Based Programming Language format ```csharp public static readonly FileType CPP; ``` ### CPY Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cpy.md #### FileType.CPY field Controller Python Script format ```csharp public static readonly FileType CPY; ``` ### CS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cs.md #### FileType.CS field CSharp Programming Language format ```csharp public static readonly FileType CS; ``` ### CSV Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/csv.md #### FileType.CSV field Comma Separated Values File ```csharp public static readonly FileType CSV; ``` ### CSX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/csx.md #### FileType.CSX field CSharp script file format ```csharp public static readonly FileType CSX; ``` ### CTP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ctp.md #### FileType.CTP field CakePHP Template format ```csharp public static readonly FileType CTP; ``` ### CXX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/cxx.md #### FileType.CXX field C-Based Programming Language format ```csharp public static readonly FileType CXX; ``` ### DCM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dcm.md #### FileType.DCM field Digital Imaging and Communications in Medicine ```csharp public static readonly FileType DCM; ``` ### DIFF Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/diff.md #### FileType.DIFF field Data comparison tool format ```csharp public static readonly FileType DIFF; ``` ### DIR Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dir.md #### FileType.DIR field Directory is a location for storing files on computer ```csharp public static readonly FileType DIR; ``` ### DJVU Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/djvu.md #### FileType.DJVU field Deja Vu format ```csharp public static readonly FileType DJVU; ``` ### DOC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/doc.md #### FileType.DOC field Microsoft Word 97-2003 Document ```csharp public static readonly FileType DOC; ``` ### DOCM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/docm.md #### FileType.DOCM field Microsoft Word Macro-Enabled Document ```csharp public static readonly FileType DOCM; ``` ### DOCX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/docx.md #### FileType.DOCX field Microsoft Word Document ```csharp public static readonly FileType DOCX; ``` ### DOT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dot.md #### FileType.DOT field Microsoft Word 97-2003 Template ```csharp public static readonly FileType DOT; ``` ### DOTM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dotm.md #### FileType.DOTM field Microsoft Word Macro-Enabled Template ```csharp public static readonly FileType DOTM; ``` ### DOTX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dotx.md #### FileType.DOTX field Microsoft Word Template ```csharp public static readonly FileType DOTX; ``` ### DSQL Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dsql.md #### FileType.DSQL field Dynamic Structured Query Language format ```csharp public static readonly FileType DSQL; ``` ### DWG Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dwg.md #### FileType.DWG field Autodesk Design Data Formats ```csharp public static readonly FileType DWG; ``` ### DXF Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/dxf.md #### FileType.DXF field AutoCAD Drawing Interchange ```csharp public static readonly FileType DXF; ``` ### EBUILD Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ebuild.md #### FileType.EBUILD field Specialized bash script which automates compilation and installation procedures for software packages ```csharp public static readonly FileType EBUILD; ``` ### EML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/eml.md #### FileType.EML field E-mail Message ```csharp public static readonly FileType EML; ``` ### EMLX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/emlx.md #### FileType.EMLX field Apple Mail E-mail File ```csharp public static readonly FileType EMLX; ``` ### Equals Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/equals.md #### Equals(FileType) File type equivalence check ```csharp public bool Equals(FileType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FileType | FileType object | ##### Return Value True if file types are equivalent, false if not #### Equals(object) Equivalence check with object ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Any object | ##### Return Value True if file types is equivalent, false if not ### ERB Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/erb.md #### FileType.ERB field Ruby Programming Language format ```csharp public static readonly FileType ERB; ``` ### ES6 Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/es6.md #### FileType.ES6 field JavaScript standardised scripting language format ```csharp public static readonly FileType ES6; ``` ### Extension Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/extension.md #### FileType.Extension property File extention ```csharp public string Extension { get; } ``` ### FileFormat Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/fileformat.md #### FileType.FileFormat property File format ```csharp public string FileFormat { get; } ``` ### FromFileNameOrExtension Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/fromfilenameorextension.md #### FileType.FromFileNameOrExtension method Return FileType based on file name or extension ```csharp public static FileType FromFileNameOrExtension(string fileNameOrExtension) ``` | Parameter | Type | Description | | --- | --- | --- | | fileNameOrExtension | String | File name or extension | ### GEMSPEC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/gemspec.md #### FileType.GEMSPEC field Developer file that specifies the attributes of a RubyGems ```csharp public static readonly FileType GEMSPEC; ``` ### GetHashCode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/gethashcode.md #### FileType.GetHashCode method Get hash code ```csharp public override int GetHashCode() ``` ##### Return Value Hash code ### GetSupportedFileTypes Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/getsupportedfiletypes.md #### FileType.GetSupportedFileTypes method Get supported file types enumeration ```csharp public static IEnumerable GetSupportedFileTypes() ``` ##### Return Value Enumeration of FileType ### GIF Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/gif.md #### FileType.GIF field Graphics Interchange Format ```csharp public static readonly FileType GIF; ``` ### GRADLE Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/gradle.md #### FileType.GRADLE field Build-automation system format ```csharp public static readonly FileType GRADLE; ``` ### GROOVY Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/groovy.md #### FileType.GROOVY field Source code file written in Groovy format ```csharp public static readonly FileType GROOVY; ``` ### GVY Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/gvy.md #### FileType.GVY field Source code file written in Groovy format ```csharp public static readonly FileType GVY; ``` ### GYP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/gyp.md #### FileType.GYP field Build automation tool format ```csharp public static readonly FileType GYP; ``` ### GYPI Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/gypi.md #### FileType.GYPI field Build automation tool format ```csharp public static readonly FileType GYPI; ``` ### H Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/h.md #### FileType.H field C-Based header files contain definitions of Functions and Variables ```csharp public static readonly FileType H; ``` ### HAML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/haml.md #### FileType.HAML field Markup language for simplified HTML generation ```csharp public static readonly FileType HAML; ``` ### HAR Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/har.md #### FileType.HAR field The HTTP Archive format ```csharp public static readonly FileType HAR; ``` ### HH Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/hh.md #### FileType.HH field Header information referenced by a C++ source code file ```csharp public static readonly FileType HH; ``` ### HPP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/hpp.md #### FileType.HPP field Header Files that are written in the C++ programming language ```csharp public static readonly FileType HPP; ``` ### HTML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/html.md #### FileType.HTML field HyperText Markup Language ```csharp public static readonly FileType HTML; ``` ### HXX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/hxx.md #### FileType.HXX field Header Files that are written in the C++ programming language ```csharp public static readonly FileType HXX; ``` ### IPY Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ipy.md #### FileType.IPY field IPython Script format ```csharp public static readonly FileType IPY; ``` ### JAVA Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/java.md #### FileType.JAVA field Java Programming Language format ```csharp public static readonly FileType JAVA; ``` ### JPEG Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/jpeg.md #### FileType.JPEG field Joint Photographic Experts Group ```csharp public static readonly FileType JPEG; ``` ### JS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/js.md #### FileType.JS field JavaScript Programming Language format ```csharp public static readonly FileType JS; ``` ### JSCSRC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/jscsrc.md #### FileType.JSCSRC field JavaScript configuration file format ```csharp public static readonly FileType JSCSRC; ``` ### JSHINTRC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/jshintrc.md #### FileType.JSHINTRC field JavaScript code quality tool ```csharp public static readonly FileType JSHINTRC; ``` ### JSMAP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/jsmap.md #### FileType.JSMAP field JSON file that contains information on how to translate code back to source code ```csharp public static readonly FileType JSMAP; ``` ### JSON Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/json.md #### FileType.JSON field Lightweight format for storing and transporting data ```csharp public static readonly FileType JSON; ``` ### LESS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/less.md #### FileType.LESS field Dynamic preprocessor style sheet language format ```csharp public static readonly FileType LESS; ``` ### LOG Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/log.md #### FileType.LOG field Logging keeps a registry of events, processes, messages and communication ```csharp public static readonly FileType LOG; ``` ### MAKE Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/make.md #### FileType.MAKE field Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal ```csharp public static readonly FileType MAKE; ``` ### MARKDN Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/markdn.md #### FileType.MARKDN field Markdown Language format ```csharp public static readonly FileType MARKDN; ``` ### MARKDOWN Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/markdown.md #### FileType.MARKDOWN field Markdown Language format ```csharp public static readonly FileType MARKDOWN; ``` ### MD Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/md.md #### FileType.MD field Markdown Language format ```csharp public static readonly FileType MD; ``` ### MDOWN Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mdown.md #### FileType.MDOWN field Markdown Language format ```csharp public static readonly FileType MDOWN; ``` ### MDTEXT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mdtext.md #### FileType.MDTEXT field Markdown Language format ```csharp public static readonly FileType MDTEXT; ``` ### MDTXT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mdtxt.md #### FileType.MDTXT field Markdown Language format ```csharp public static readonly FileType MDTXT; ``` ### MDWN Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mdwn.md #### FileType.MDWN field Markdown Language format ```csharp public static readonly FileType MDWN; ``` ### MHTML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mhtml.md #### FileType.MHTML field Mime HTML ```csharp public static readonly FileType MHTML; ``` ### MJS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mjs.md #### FileType.MJS field Extension for EcmaScript (ES) module files ```csharp public static readonly FileType MJS; ``` ### MK Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mk.md #### FileType.MK field Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal ```csharp public static readonly FileType MK; ``` ### MKD Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mkd.md #### FileType.MKD field Markdown Language format ```csharp public static readonly FileType MKD; ``` ### ML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ml.md #### FileType.ML field Caml Programming Language format ```csharp public static readonly FileType ML; ``` ### MLI Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mli.md #### FileType.MLI field Caml Programming Language format ```csharp public static readonly FileType MLI; ``` ### MOBI Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/mobi.md #### FileType.MOBI field Mobipocket e-book format ```csharp public static readonly FileType MOBI; ``` ### MSG Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/msg.md #### FileType.MSG field Microsoft Outlook E-mail Message ```csharp public static readonly FileType MSG; ``` ### NQP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/nqp.md #### FileType.NQP field Intermediate language used to build the Rakudo Perl 6 compiler ```csharp public static readonly FileType NQP; ``` ### OBJC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/objc.md #### FileType.OBJC field Objective-C Programming Language format ```csharp public static readonly FileType OBJC; ``` ### OBJCP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/objcp.md #### FileType.OBJCP field Objective-C++ Programming Language format ```csharp public static readonly FileType OBJCP; ``` ### ODP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/odp.md #### FileType.ODP field OpenDocument Presentation ```csharp public static readonly FileType ODP; ``` ### ODS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ods.md #### FileType.ODS field OpenDocument Spreadsheet ```csharp public static readonly FileType ODS; ``` ### ODT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/odt.md #### FileType.ODT field OpenDocument Text ```csharp public static readonly FileType ODT; ``` ### ONE Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/one.md #### FileType.ONE field Microsoft OneNote Document ```csharp public static readonly FileType ONE; ``` ### op_Equality Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/op_equality.md #### FileType Equality operator Operator overload ```csharp public static bool operator ==(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left `FileType` object. | | right | FileType | Right `FileType` object. | ### op_Inequality Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/op_inequality.md #### FileType Inequality operator Operator overload ```csharp public static bool operator !=(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left `FileType` object. | | right | FileType | Right `FileType` object. | ### OTP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/otp.md #### FileType.OTP field OpenDocument Presentation Template ```csharp public static readonly FileType OTP; ``` ### OTT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ott.md #### FileType.OTT field OpenDocument Text Template ```csharp public static readonly FileType OTT; ``` ### P6 Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/p6.md #### FileType.P6 field Perl Programming Language format ```csharp public static readonly FileType P6; ``` ### PAC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pac.md #### FileType.PAC field Proxy Auto-Configuration file for JavaScript function format ```csharp public static readonly FileType PAC; ``` ### PATCH Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/patch.md #### FileType.PATCH field List of differences format ```csharp public static readonly FileType PATCH; ``` ### PDF Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pdf.md #### FileType.PDF field Adobe Portable Document format ```csharp public static readonly FileType PDF; ``` ### PHP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/php.md #### FileType.PHP field PHP Programming Language format ```csharp public static readonly FileType PHP; ``` ### PHP4 Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/php4.md #### FileType.PHP4 field PHP Programming Language format ```csharp public static readonly FileType PHP4; ``` ### PHP5 Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/php5.md #### FileType.PHP5 field PHP Programming Language format ```csharp public static readonly FileType PHP5; ``` ### PHTML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/phtml.md #### FileType.PHTML field Standard file extension for PHP 2 programs format ```csharp public static readonly FileType PHTML; ``` ### PL Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pl.md #### FileType.PL field Perl Programming Language format ```csharp public static readonly FileType PL; ``` ### PL6 Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pl6.md #### FileType.PL6 field Perl Programming Language format ```csharp public static readonly FileType PL6; ``` ### PM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pm.md #### FileType.PM field Perl module format ```csharp public static readonly FileType PM; ``` ### PM6 Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pm6.md #### FileType.PM6 field Perl module format ```csharp public static readonly FileType PM6; ``` ### PNG Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/png.md #### FileType.PNG field Portable Network Graphics ```csharp public static readonly FileType PNG; ``` ### POD Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pod.md #### FileType.POD field Perl lightweight markup language format ```csharp public static readonly FileType POD; ``` ### PODSPEC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/podspec.md #### FileType.PODSPEC field Ruby build settings format ```csharp public static readonly FileType PODSPEC; ``` ### POT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pot.md #### FileType.POT field Microsoft PowerPoint template ```csharp public static readonly FileType POT; ``` ### POTX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/potx.md #### FileType.POTX field Microsoft PowerPoint Template ```csharp public static readonly FileType POTX; ``` ### PPS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pps.md #### FileType.PPS field Microsoft PowerPoint 97-2003 Slide Show ```csharp public static readonly FileType PPS; ``` ### PPSX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ppsx.md #### FileType.PPSX field Microsoft PowerPoint Slide Show ```csharp public static readonly FileType PPSX; ``` ### PPT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ppt.md #### FileType.PPT field Microsoft PowerPoint 97-2003 Presentation ```csharp public static readonly FileType PPT; ``` ### PPTX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pptx.md #### FileType.PPTX field Microsoft PowerPoint Presentation ```csharp public static readonly FileType PPTX; ``` ### PROP Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/prop.md #### FileType.PROP field Properties file format ```csharp public static readonly FileType PROP; ``` ### PSGI Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/psgi.md #### FileType.PSGI field Interface between web servers and web applications and frameworks written in the Perl programming ```csharp public static readonly FileType PSGI; ``` ### PY Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/py.md #### FileType.PY field Python Programming Language format ```csharp public static readonly FileType PY; ``` ### PYI Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pyi.md #### FileType.PYI field Python Interface file format ```csharp public static readonly FileType PYI; ``` ### PYW Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/pyw.md #### FileType.PYW field Files used in Windows to indicate a script needs to be run ```csharp public static readonly FileType PYW; ``` ### RAKE Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rake.md #### FileType.RAKE field Ruby build automation tool ```csharp public static readonly FileType RAKE; ``` ### RB Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rb.md #### FileType.RB field Ruby Programming Language format ```csharp public static readonly FileType RB; ``` ### RBI Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rbi.md #### FileType.RBI field Ruby Interface file format ```csharp public static readonly FileType RBI; ``` ### REJ Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rej.md #### FileType.REJ field Rejected files format ```csharp public static readonly FileType REJ; ``` ### RJS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rjs.md #### FileType.RJS field Ruby Programming Language format ```csharp public static readonly FileType RJS; ``` ### RPY Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rpy.md #### FileType.RPY field Python-based file engine to create and run games ```csharp public static readonly FileType RPY; ``` ### RST Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rst.md #### FileType.RST field Lightweight markup language ```csharp public static readonly FileType RST; ``` ### RTF Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/rtf.md #### FileType.RTF field Rich Text Document ```csharp public static readonly FileType RTF; ``` ### RU Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/ru.md #### FileType.RU field Rack configuration file format ```csharp public static readonly FileType RU; ``` ### SASS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/sass.md #### FileType.SASS field Style sheet language format ```csharp public static readonly FileType SASS; ``` ### SBT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/sbt.md #### FileType.SBT field SBT build tool for Scala format ```csharp public static readonly FileType SBT; ``` ### SC Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/sc.md #### FileType.SC field Scala worksheet format ```csharp public static readonly FileType SC; ``` ### SCALA Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/scala.md #### FileType.SCALA field Scala Programming Language format ```csharp public static readonly FileType SCALA; ``` ### SCSS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/scss.md #### FileType.SCSS field Style sheet language format ```csharp public static readonly FileType SCSS; ``` ### SH Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/sh.md #### FileType.SH field Script programmed for bash format ```csharp public static readonly FileType SH; ``` ### SQL Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/sql.md #### FileType.SQL field Structured Query Language format ```csharp public static readonly FileType SQL; ``` ### SVG Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/svg.md #### FileType.SVG field Scalar Vector Graphics ```csharp public static readonly FileType SVG; ``` ### T Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/t.md #### FileType.T field Perl test file format ```csharp public static readonly FileType T; ``` ### ToString Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/tostring.md #### FileType.ToString method ToString ```csharp public override string ToString() ``` ### TXT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/txt.md #### FileType.TXT field Plain Text Document ```csharp public static readonly FileType TXT; ``` ### UNKNOWN Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/unknown.md #### FileType.UNKNOWN field Unknown type ```csharp public static readonly FileType UNKNOWN; ``` ### VDX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/vdx.md #### FileType.VDX field Microsoft Visio 2003-2010 XML Drawing ```csharp public static readonly FileType VDX; ``` ### VIM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/vim.md #### FileType.VIM field Vim source code file format ```csharp public static readonly FileType VIM; ``` ### VSD Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/vsd.md #### FileType.VSD field Microsoft Visio 2003-2010 Drawing ```csharp public static readonly FileType VSD; ``` ### VSDX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/vsdx.md #### FileType.VSDX field Microsoft Visio Drawing ```csharp public static readonly FileType VSDX; ``` ### VSS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/vss.md #### FileType.VSS field Microsoft Visio 2003-2010 Stencil ```csharp public static readonly FileType VSS; ``` ### VST Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/vst.md #### FileType.VST field Microsoft Visio 2003-2010 Template ```csharp public static readonly FileType VST; ``` ### WEBMANIFEST Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/webmanifest.md #### FileType.WEBMANIFEST field Manifest file includes information about the app ```csharp public static readonly FileType WEBMANIFEST; ``` ### XLS Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/xls.md #### FileType.XLS field Microsoft Excel 97-2003 Worksheet ```csharp public static readonly FileType XLS; ``` ### XLSB Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/xlsb.md #### FileType.XLSB field Microsoft Excel Binary Worksheet ```csharp public static readonly FileType XLSB; ``` ### XLSM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/xlsm.md #### FileType.XLSM field Microsoft Excel Macro-Enabled Worksheet ```csharp public static readonly FileType XLSM; ``` ### XLSX Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/xlsx.md #### FileType.XLSX field Microsoft Excel Worksheet ```csharp public static readonly FileType XLSX; ``` ### XLT Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/xlt.md #### FileType.XLT field Microsoft Excel template ```csharp public static readonly FileType XLT; ``` ### XLTM Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/xltm.md #### FileType.XLTM field Microsoft Excel macro-enabled template ```csharp public static readonly FileType XLTM; ``` ### YAML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/yaml.md #### FileType.YAML field Human-readable data-serialization language format ```csharp public static readonly FileType YAML; ``` ### YML Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/yml.md #### FileType.YML field Human-readable data-serialization language format ```csharp public static readonly FileType YML; ``` ### PageInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/pageinfo.md #### PageInfo class Represents information about page's size and number. ```csharp public class PageInfo ``` #### Constructors | Name | Description | | --- | --- | | PageInfo(int, int, int) | Create new Instance of PageInfo | #### Properties | Name | Description | | --- | --- | | Height { get; set; } | Page height | | PageNumber { get; set; } | Page number | | Width { get; set; } | Page width | ### Height Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/pageinfo/height.md #### PageInfo.Height property Page height ```csharp public int Height { get; set; } ``` ### PageInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/pageinfo/pageinfo.md #### PageInfo constructor Create new Instance of PageInfo ```csharp public PageInfo(int pageNumber, int width, int height) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The Page Number | | width | Int32 | Width of Page | | height | Int32 | Height of Page | ### PageNumber Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/pageinfo/pagenumber.md #### PageInfo.PageNumber property Page number ```csharp public int PageNumber { get; set; } ``` ### Width Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/pageinfo/width.md #### PageInfo.Width property Page width ```csharp public int Width { get; set; } ``` ### Rectangle Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/rectangle.md #### Rectangle structure Rectangle model. ```csharp public struct Rectangle ``` #### Constructors | Name | Description | | --- | --- | | Rectangle(float, float, float, float) | Creates a new instance of Rectangle | #### Properties | Name | Description | | --- | --- | | Height { get; set; } | Height | | Width { get; set; } | Width | | X { get; set; } | X coordinate | | Y { get; set; } | Y coordinate | ### Height Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/rectangle/height.md #### Rectangle.Height property Height ```csharp public float Height { get; set; } ``` ### Rectangle Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/rectangle/rectangle.md #### Rectangle constructor Creates a new instance of Rectangle ```csharp public Rectangle(float x, float y, float width, float height) ``` | Parameter | Type | Description | | --- | --- | --- | | x | Single | X position of rectangle | | y | Single | Y position of Rectangle | | width | Single | Width of Rectangle | | height | Single | Height of Rectangle | ### Width Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/rectangle/width.md #### Rectangle.Width property Width ```csharp public float Width { get; set; } ``` ### X Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/rectangle/x.md #### Rectangle.X property X coordinate ```csharp public float X { get; set; } ``` ### Y Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/rectangle/y.md #### Rectangle.Y property Y coordinate ```csharp public float Y { get; set; } ``` ### StyleChangeInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/stylechangeinfo.md #### StyleChangeInfo class Represents information about style change. ```csharp public sealed class StyleChangeInfo : IEquatable ``` #### Constructors | Name | Description | | --- | --- | | StyleChangeInfo() | The default constructor. | #### Properties | Name | Description | | --- | --- | | NewValue { get; set; } | Gets or Sets the new value of property. | | OldValue { get; set; } | Gets or Sets the old value of property. | | PropertyName { get; set; } | Gets or Sets the name of the property that was changed. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equivalence check with object. | | Equals(StyleChangeInfo) | Style change equivalence check. | | override GetHashCode() | Generates a hash code for the current StyleChangeInfo instance. | ### Equals Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/stylechangeinfo/equals.md #### Equals(object) Equivalence check with object. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Any object | ##### Return Value True if file types is equivalent, false if not #### Equals(StyleChangeInfo) Style change equivalence check. ```csharp public bool Equals(StyleChangeInfo other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | StyleChangeInfo | StyleChangeInfo object | ### GetHashCode Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/stylechangeinfo/gethashcode.md #### StyleChangeInfo.GetHashCode method Generates a hash code for the current StyleChangeInfo instance. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code representing the current object. ### NewValue Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/stylechangeinfo/newvalue.md #### StyleChangeInfo.NewValue property Gets or Sets the new value of property. ```csharp public object NewValue { get; set; } ``` ### OldValue Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/stylechangeinfo/oldvalue.md #### StyleChangeInfo.OldValue property Gets or Sets the old value of property. ```csharp public object OldValue { get; set; } ``` ### PropertyName Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/stylechangeinfo/propertyname.md #### StyleChangeInfo.PropertyName property Gets or Sets the name of the property that was changed. ```csharp public string PropertyName { get; set; } ``` ### StyleChangeInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/stylechangeinfo/stylechangeinfo.md #### StyleChangeInfo constructor The default constructor. ```csharp public StyleChangeInfo() ``` ### GroupDocs.Comparison.Words.Revision Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision.md The namespace provides classes for working with revisions in WORD format file. #### Classes | Class | Description | | --- | --- | | ApplyRevisionOptions | Allows you to update the state of revisions before they are applied to the final document. | | RevisionHandler | Represents the main class that controls revision handling. | | RevisionInfo | Provides information about one revision. | #### Enumeration | Enumeration | Description | | --- | --- | | RevisionAction | Action that can be applied to a revision. | | RevisionType | Specifies the type of change being tracked. | ### ApplyRevisionOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/applyrevisionoptions.md #### ApplyRevisionOptions class Allows you to update the state of revisions before they are applied to the final document. ```csharp public class ApplyRevisionOptions ``` #### Constructors | Name | Description | | --- | --- | | ApplyRevisionOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Changes { get; set; } | The list of revisions processed, which will be applied to the resulting document. | | CommonHandler { get; set; } | Indicates whether to apply one action for all revisions | ### ApplyRevisionOptions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/applyrevisionoptions/applyrevisionoptions.md #### ApplyRevisionOptions constructor The default constructor. ```csharp public ApplyRevisionOptions() ``` ### Changes Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/applyrevisionoptions/changes.md #### ApplyRevisionOptions.Changes property The list of revisions processed, which will be applied to the resulting document. ```csharp public List Changes { get; set; } ``` ### CommonHandler Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/applyrevisionoptions/commonhandler.md #### ApplyRevisionOptions.CommonHandler property Indicates whether to apply one action for all revisions ```csharp public RevisionAction CommonHandler { get; set; } ``` ### RevisionAction Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisionaction.md #### RevisionAction enumeration Action that can be applied to a revision. ```csharp public enum RevisionAction ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Nothing to do. | | Accept | `1` | The revision will be displayed if it is of type INSERTION or will be removed if the type is DELETION. | | Reject | `2` | The revision will be removed if it is of type INSERTION or will be displayed if the type is DELETION. | ### RevisionHandler Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisionhandler.md #### RevisionHandler class Represents the main class that controls revision handling. ```csharp public sealed class RevisionHandler : IDisposable ``` #### Constructors | Name | Description | | --- | --- | | RevisionHandler(Stream) | Initializes new instance of `RevisionHandler` class with a file stream with revisions. | | RevisionHandler(string) | Initializes new instance of `RevisionHandler` class with the path to the file with revisions. | | RevisionHandler(Stream, bool) | Initializes new instance of `RevisionHandler` class with a file stream with revisions and explicit stream-ownership control. | #### Methods | Name | Description | | --- | --- | | ApplyRevisionChanges(ApplyRevisionOptions) | Processes changes in revisions and applies them to the same file from which the revisions were taken. | | ApplyRevisionChanges(Stream, ApplyRevisionOptions) | Processes changes in revisions and the result is written to the document stream. | | ApplyRevisionChanges(string, ApplyRevisionOptions) | Processes changes in revisions, and the result is written to the specified file by path. | | Dispose() | Releases resources. | | GetRevisions() | Gets list of all revisions. | ### ApplyRevisionChanges Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisionhandler/applyrevisionchanges.md #### ApplyRevisionChanges(ApplyRevisionOptions) Processes changes in revisions and applies them to the same file from which the revisions were taken. ```csharp public void ApplyRevisionChanges(ApplyRevisionOptions changes) ``` | Parameter | Type | Description | | --- | --- | --- | | changes | ApplyRevisionOptions | List of changed revisions | #### ApplyRevisionChanges(string, ApplyRevisionOptions) Processes changes in revisions, and the result is written to the specified file by path. ```csharp public void ApplyRevisionChanges(string filePath, ApplyRevisionOptions changes) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Result file path | | changes | ApplyRevisionOptions | List of changed revisions | #### ApplyRevisionChanges(Stream, ApplyRevisionOptions) Processes changes in revisions and the result is written to the document stream. ```csharp public void ApplyRevisionChanges(Stream document, ApplyRevisionOptions changes) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Result document | | changes | ApplyRevisionOptions | List of changed revisions | ### Dispose Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisionhandler/dispose.md #### RevisionHandler.Dispose method Releases resources. ```csharp public void Dispose() ``` ### GetRevisions Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisionhandler/getrevisions.md #### RevisionHandler.GetRevisions method Gets list of all revisions. ```csharp public List GetRevisions() ``` ### RevisionHandler Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisionhandler/revisionhandler.md #### RevisionHandler(string) Initializes new instance of `RevisionHandler` class with the path to the file with revisions. ```csharp public RevisionHandler(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | #### RevisionHandler(Stream) Initializes new instance of `RevisionHandler` class with a file stream with revisions. ```csharp public RevisionHandler(Stream file) ``` | Parameter | Type | Description | | --- | --- | --- | | file | Stream | Source document stream | #### RevisionHandler(Stream, bool) Initializes new instance of `RevisionHandler` class with a file stream with revisions and explicit stream-ownership control. ```csharp public RevisionHandler(Stream file, bool leaveOpen) ``` | Parameter | Type | Description | | --- | --- | --- | | file | Stream | Source document stream | | leaveOpen | Boolean | When true, the caller retains ownership of *file* and is responsible for disposing it. When false (default), `Dispose` closes the stream. | ### RevisionInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisioninfo.md #### RevisionInfo class Provides information about one revision. ```csharp public class RevisionInfo ``` #### Constructors | Name | Description | | --- | --- | | RevisionInfo() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Action { get; set; } | Action (accept or reject). This field allows you to influence the display of the revision. | | Author { get; } | Author of revision. | | Text { get; } | The text that is in revision. | | Type { get; } | RevisionHandler type, depending on the type the Action (accept or reject) logic changes. | ### Action Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisioninfo/action.md #### RevisionInfo.Action property Action (accept or reject). This field allows you to influence the display of the revision. ```csharp public RevisionAction Action { get; set; } ``` ### Author Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisioninfo/author.md #### RevisionInfo.Author property Author of revision. ```csharp public string Author { get; } ``` ### RevisionInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisioninfo/revisioninfo.md #### RevisionInfo constructor The default constructor. ```csharp public RevisionInfo() ``` ### Text Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisioninfo/text.md #### RevisionInfo.Text property The text that is in revision. ```csharp public string Text { get; } ``` ### Type Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisioninfo/type.md #### RevisionInfo.Type property RevisionHandler type, depending on the type the Action (accept or reject) logic changes. ```csharp public RevisionType Type { get; } ``` ### RevisionType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.words.revision/revisiontype.md #### RevisionType enumeration Specifies the type of change being tracked. ```csharp public enum RevisionType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Insertion | `0` | New content was inserted in the document. | | Deletion | `1` | Content was removed from the document. | | FormatChange | `2` | Change of formatting was applied to the parent node. | | StyleDefinitionChange | `3` | Change of formatting was applied to the parent style. | | Moving | `4` | Content was moved in the document. | ### GroupDocs.Comparison Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison.md The namespace provides classes to compare documents for all popular document formats. #### Classes | Class | Description | | --- | --- | | Comparer | Represents main class that controls the documents comparison process. | | ComparerSettings | Defines settings for customizing `Comparer` behaviour. | | Document | Represents compared document. | | License | Provides methods to license the component. | | Metered | Provides methods for applying Metered license. | ### Comparer Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer.md #### Comparer class Represents main class that controls the documents comparison process. ```csharp public sealed class Comparer : IDisposable ``` #### Constructors | Name | Description | | --- | --- | | Comparer(Stream) | Initializes new instance of `Comparer` class with source document stream. | | Comparer(string) | Initializes new instance of `Comparer` class with source file path. | | Comparer(Stream, ComparerSettings) | Initializes new instance of `Comparer` class with source document stream and `ComparerSettings`. | | Comparer(Stream, LoadOptions) | Initializes new instance of `Comparer` with source document stream and `LoadOptions`. | | Comparer(string, CompareOptions) | Initializes new instance of `Comparer` with source folder path and `CompareOptions`. | | Comparer(string, ComparerSettings) | Initializes new instance of `Comparer` class with source file path and `ComparerSettings`. | | Comparer(string, LoadOptions) | Initializes new instance of `Comparer` with source file path and `LoadOptions`. | | Comparer(Stream, LoadOptions, ComparerSettings) | Initializes new instance of `Comparer` class with document stream, `LoadOptions` and `ComparerSettings`. | | Comparer(string, LoadOptions, ComparerSettings) | Initializes new instance of `Comparer` class with source file path, `LoadOptions` and `ComparerSettings`. | #### Properties | Name | Description | | --- | --- | | Result { get; } | Result document. | | Source { get; } | Source file that is being compared. | | SourceFolder { get; } | Source folder that is being compared. | | TargetFolder { get; set; } | Target folder that is being compared. | | Targets { get; } | List of target files to compare with source file. | #### Methods | Name | Description | | --- | --- | | Add(Stream) | Adds document stream to comparison. | | Add(string) | Adds file to comparison. | | Add(Stream, LoadOptions) | Adds document stream to comparison with loading options specified. | | Add(string, CompareOptions) | Adds folder to comparison. | | Add(string, LoadOptions) | Adds file to comparison with loading options specified. | | ApplyChanges(Stream, ApplyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | ApplyChanges(string, ApplyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | ApplyChanges(Stream, SaveOptions, ApplyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | ApplyChanges(string, SaveOptions, ApplyChangeOptions) | Accepts or rejects changes and applies them to resultant document. | | Compare() | Compares documents without saving result with default options | | Compare(CompareOptions) | Compares documents without saving result. | | Compare(Stream) | Compares documents and saves result to file stream | | Compare(string) | Compares documents and saves result to file path | | Compare(SaveOptions, CompareOptions) | Compares documents without saving result. | | Compare(Stream, CompareOptions) | Compares documents and saves result to file stream | | Compare(Stream, SaveOptions) | Compares documents and save result to file stream | | Compare(string, CompareOptions) | Compares documents and saves result to file path | | Compare(string, SaveOptions) | Compares documents and save result to file path | | Compare(Stream, SaveOptions, CompareOptions) | Compares documents and saves result to a stream. | | Compare(string, SaveOptions, CompareOptions) | Compares documents and saves result to file path | | CompareDirectory(string, CompareOptions) | Compares directory and saves result to file path | | Dispose() | Releases resources. | | GetChanges() | Gets list of changes between source and target file(s). | | GetChanges(ChangeType) | Gets list of changes between source and target file(s). | | GetChanges(GetChangeOptions) | Gets list of changes between source and target file(s). | | GetResultDocumentStream() | Gets the stream of result document, returns null if stream does not exist | | GetResultString() | Get result string after comparison (For Text Comparison only). | ### Add Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/add.md #### Add(string) Adds file to comparison. ```csharp public void Add(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Compared file path | #### Add(string, CompareOptions) Adds folder to comparison. ```csharp public void Add(string filePath, CompareOptions compareOptions) ``` #### Add(string, LoadOptions) Adds file to comparison with loading options specified. ```csharp public void Add(string filePath, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Compared file path | | loadOptions | LoadOptions | Load options | #### Add(Stream) Adds document stream to comparison. ```csharp public void Add(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Compared document stream | #### Add(Stream, LoadOptions) Adds document stream to comparison with loading options specified. ```csharp public void Add(Stream document, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Compared document stream | | loadOptions | LoadOptions | Load options | ### ApplyChanges Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/applychanges.md #### ApplyChanges(string, ApplyChangeOptions) Accepts or rejects changes and applies them to resultant document. ```csharp public void ApplyChanges(string filePath, ApplyChangeOptions applyChangeOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Result file path | | applyChangeOptions | ApplyChangeOptions | Apply change options | #### ApplyChanges(Stream, ApplyChangeOptions) Accepts or rejects changes and applies them to resultant document. ```csharp public void ApplyChanges(Stream stream, ApplyChangeOptions applyChangeOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | Result document | | applyChangeOptions | ApplyChangeOptions | Apply change options | #### ApplyChanges(string, SaveOptions, ApplyChangeOptions) Accepts or rejects changes and applies them to resultant document. ```csharp public void ApplyChanges(string filePath, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Result file path | | saveOptions | SaveOptions | Save options | | applyChangeOptions | ApplyChangeOptions | Apply change options | #### ApplyChanges(Stream, SaveOptions, ApplyChangeOptions) Accepts or rejects changes and applies them to resultant document. ```csharp public void ApplyChanges(Stream stream, SaveOptions saveOptions, ApplyChangeOptions applyChangeOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | Result document | | saveOptions | SaveOptions | Save options | | applyChangeOptions | ApplyChangeOptions | Apply change options | ### Compare Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/compare.md #### Compare() Compares documents without saving result with default options ```csharp public Document Compare() ``` #### Compare(string) Compares documents and saves result to file path ```csharp public Document Compare(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Result document path | #### Compare(Stream) Compares documents and saves result to file stream ```csharp public Document Compare(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | Result document stream | #### Compare(string, CompareOptions) Compares documents and saves result to file path ```csharp public Document Compare(string filePath, CompareOptions compareOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Result document file path | | compareOptions | CompareOptions | Compare options | #### Compare(Stream, CompareOptions) Compares documents and saves result to file stream ```csharp public Document Compare(Stream document, CompareOptions compareOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Result document stream | | compareOptions | CompareOptions | Compare options | #### Compare(SaveOptions, CompareOptions) Compares documents without saving result. ```csharp public Document Compare(SaveOptions saveOptions, CompareOptions compareOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | saveOptions | SaveOptions | Save options | | compareOptions | CompareOptions | Compare options | #### Compare(string, SaveOptions) Compares documents and save result to file path ```csharp public Document Compare(string filePath, SaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Result document file path | | saveOptions | SaveOptions | Save options | #### Compare(Stream, SaveOptions) Compares documents and save result to file stream ```csharp public Document Compare(Stream document, SaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Result document stream | | saveOptions | SaveOptions | Save options | #### Compare(CompareOptions) Compares documents without saving result. ```csharp public Document Compare(CompareOptions compareOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | compareOptions | CompareOptions | Compare options | #### Compare(Stream, SaveOptions, CompareOptions) Compares documents and saves result to a stream. ```csharp public Document Compare(Stream stream, SaveOptions saveOptions, CompareOptions compareOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | Result document stream | | saveOptions | SaveOptions | Save options | | compareOptions | CompareOptions | Compare options | #### Compare(string, SaveOptions, CompareOptions) Compares documents and saves result to file path ```csharp public Document Compare(string filePath, SaveOptions saveOptions, CompareOptions compareOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Result document file path | | saveOptions | SaveOptions | Save options | | compareOptions | CompareOptions | Compare options | ### CompareDirectory Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/comparedirectory.md #### Comparer.CompareDirectory method Compares directory and saves result to file path ```csharp public void CompareDirectory(string filePath, CompareOptions compareOptions) ``` ### Comparer Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/comparer.md #### Comparer(string) Initializes new instance of `Comparer` class with source file path. ```csharp public Comparer(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | #### Comparer(string, CompareOptions) Initializes new instance of `Comparer` with source folder path and `CompareOptions`. ```csharp public Comparer(string folderPath, CompareOptions compareOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | folderPath | String | Folder path | | compareOptions | CompareOptions | Compare options | #### Comparer(string, LoadOptions) Initializes new instance of `Comparer` with source file path and `LoadOptions`. ```csharp public Comparer(string filePath, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | | loadOptions | LoadOptions | Load options | #### Comparer(string, ComparerSettings) Initializes new instance of `Comparer` class with source file path and `ComparerSettings`. ```csharp public Comparer(string filePath, ComparerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | | settings | ComparerSettings | Settings for comparison | #### Comparer(string, LoadOptions, ComparerSettings) Initializes new instance of `Comparer` class with source file path, `LoadOptions` and `ComparerSettings`. ```csharp public Comparer(string filePath, LoadOptions loadOptions, ComparerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path | | loadOptions | LoadOptions | Load options | | settings | ComparerSettings | Settings for comparison | #### Comparer(Stream) Initializes new instance of `Comparer` class with source document stream. ```csharp public Comparer(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Source document stream | #### Comparer(Stream, LoadOptions) Initializes new instance of `Comparer` with source document stream and `LoadOptions`. ```csharp public Comparer(Stream document, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Source document stream | | loadOptions | LoadOptions | Load options | #### Comparer(Stream, ComparerSettings) Initializes new instance of `Comparer` class with source document stream and `ComparerSettings`. ```csharp public Comparer(Stream document, ComparerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Source document stream | | settings | ComparerSettings | Settings for comparison | #### Comparer(Stream, LoadOptions, ComparerSettings) Initializes new instance of `Comparer` class with document stream, `LoadOptions` and `ComparerSettings`. ```csharp public Comparer(Stream document, LoadOptions loadOptions, ComparerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Source document stream | | loadOptions | LoadOptions | Load options | | settings | ComparerSettings | Settings for comparison | ### Dispose Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/dispose.md #### Comparer.Dispose method Releases resources. ```csharp public void Dispose() ``` ### GetChanges Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/getchanges.md #### GetChanges() Gets list of changes between source and target file(s). ```csharp public ChangeInfo[] GetChanges() ``` #### GetChanges(GetChangeOptions) Gets list of changes between source and target file(s). ```csharp public ChangeInfo[] GetChanges(GetChangeOptions getChangeOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | getChangeOptions | GetChangeOptions | Get change options | #### GetChanges(ChangeType) Gets list of changes between source and target file(s). ```csharp public ChangeInfo[] GetChanges(ChangeType filter) ``` | Parameter | Type | Description | | --- | --- | --- | | filter | ChangeType | Specifies change type | ### GetResultDocumentStream Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/getresultdocumentstream.md #### Comparer.GetResultDocumentStream method Gets the stream of result document, returns null if stream does not exist ```csharp public Stream GetResultDocumentStream() ``` ### GetResultString Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/getresultstring.md #### Comparer.GetResultString method Get result string after comparison (For Text Comparison only). ```csharp public string GetResultString() ``` ### Result Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/result.md #### Comparer.Result property Result document. ```csharp public Document Result { get; } ``` ### Source Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/source.md #### Comparer.Source property Source file that is being compared. ```csharp public Document Source { get; } ``` ### SourceFolder Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/sourcefolder.md #### Comparer.SourceFolder property Source folder that is being compared. ```csharp public string SourceFolder { get; } ``` ### TargetFolder Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/targetfolder.md #### Comparer.TargetFolder property Target folder that is being compared. ```csharp public string TargetFolder { get; set; } ``` ### Targets Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/targets.md #### Comparer.Targets property List of target files to compare with source file. ```csharp public List Targets { get; } ``` ### ComparerSettings Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparersettings.md #### ComparerSettings class Defines settings for customizing `Comparer` behaviour. ```csharp public class ComparerSettings ``` #### Constructors | Name | Description | | --- | --- | | ComparerSettings() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Logger { get; set; } | Logger implementation. | ### ComparerSettings Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparersettings/comparersettings.md #### ComparerSettings constructor The default constructor. ```csharp public ComparerSettings() ``` ### Logger Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparersettings/logger.md #### ComparerSettings.Logger property Logger implementation. ```csharp public ILogger Logger { get; set; } ``` ### Document Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document.md #### Document class Represents compared document. ```csharp public class Document ``` #### Constructors | Name | Description | | --- | --- | | Document(Stream) | Initializes new instance of `Document` class. | | Document(string) | Initializes new instance of `Document` class. | | Document(Stream, string) | Initializes new instance of `Document` class. | | Document(string, string) | Initializes new instance of `Document` class. | #### Properties | Name | Description | | --- | --- | | Changes { get; set; } | List of changes. Contains extensive description about change type, position, content etc. | | FileType { get; } | Document file type. | | Name { get; set; } | Document name. | | Password { get; } | Document password. | | Stream { get; } | Document stream. | #### Methods | Name | Description | | --- | --- | | GeneratePreview(PreviewOptions) | Generates document pages preview. | | GetDocumentInfo() | Gets information about document - document type, pages count, page sizes etc. | ### Changes Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/changes.md #### Document.Changes property List of changes. Contains extensive description about change type, position, content etc. ```csharp public List Changes { get; set; } ``` ### Document Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/document.md #### Document(Stream) Initializes new instance of `Document` class. ```csharp public Document(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | Document stream | #### Document(string) Initializes new instance of `Document` class. ```csharp public Document(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Document path | #### Document(string, string) Initializes new instance of `Document` class. ```csharp public Document(string filePath, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Document path | | password | String | Document password | #### Document(Stream, string) Initializes new instance of `Document` class. ```csharp public Document(Stream stream, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | Document stream | | password | String | Document password | ### FileType Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/filetype.md #### Document.FileType property Document file type. ```csharp public FileType FileType { get; } ``` ### GeneratePreview Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/generatepreview.md #### Document.GeneratePreview method Generates document pages preview. ```csharp public void GeneratePreview(PreviewOptions previewOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | The document preview options | ### GetDocumentInfo Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/getdocumentinfo.md #### Document.GetDocumentInfo method Gets information about document - document type, pages count, page sizes etc. ```csharp public IDocumentInfo GetDocumentInfo() ``` ### Name Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/name.md #### Document.Name property Document name. ```csharp public string Name { get; set; } ``` ### Password Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/password.md #### Document.Password property Document password. ```csharp public string Password { get; } ``` ### Stream Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/document/stream.md #### Document.Stream property Document stream. ```csharp public Stream Stream { get; } ``` ### License Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/license.md #### License class Provides methods to license the component. ```csharp public class License ``` #### Constructors | Name | Description | | --- | --- | | License() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component using license stream. | | SetLicense(string) | Licenses the component using license path. | ### License Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/license/license.md #### License constructor The default constructor. ```csharp public License() ``` ### SetLicense Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/license/setlicense.md #### SetLicense(Stream) Licenses the component using license stream. ```csharp public void SetLicense(Stream licenseStream) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseStream | Stream | The license stream. | #### SetLicense(string) Licenses the component using license path. ```csharp public void SetLicense(string licensePath) ``` | Parameter | Type | Description | | --- | --- | --- | | licensePath | String | The license path. | ### Metered Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/metered.md #### Metered class Provides methods for applying Metered license. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | Initializes a new instance of the `Metered` class. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Sets metered public and private key | | static GetConsumptionCredit() | Retrieves amount of used credits | | static GetConsumptionQuantity() | Gets consumption quantity | ### GetConsumptionCredit Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Retrieves amount of used credits ```csharp public static decimal GetConsumptionCredit() ``` ##### Return Value Number of already used credits ### GetConsumptionQuantity Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Gets consumption quantity ```csharp public static decimal GetConsumptionQuantity() ``` ##### Return Value consumption quantity ### Metered Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/metered/metered.md #### Metered constructor Initializes a new instance of the `Metered` class. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/comparison/net/groupdocs.comparison/metered/setmeteredkey.md #### Metered.SetMeteredKey method Sets metered public and private key ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | public key | | privateKey | String | private key | ## Python ### GroupDocs.Comparison for Python via .NET Path: https://reference.groupdocs.com/comparison/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.comparison` | Main GroupDocs.Comparison namespace with top-level API classes. | | `groupdocs.comparison.interfaces` | Types under `groupdocs.comparison.interfaces`. | | `groupdocs.comparison.localization` | Types under `groupdocs.comparison.localization`. | | `groupdocs.comparison.logging` | Logging hooks and listener interfaces. | | `groupdocs.comparison.options` | Option classes for configuring conversions and operations. | | `groupdocs.comparison.result` | Types under `groupdocs.comparison.result`. | ### groupdocs.comparison.cells.style Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.cells.style.md The namespace provides classes for working with component styles in Cells format file. ##### Enumerations | Enumeration | Description | | :- | :- | | `MergeType` | Enumerates the type of cell merge. | ### MergeType enumeration Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.cells.style/mergetype.md #### MergeType enumeration Enumerates the type of cell merge. The MergeType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Cell does not merge. | | HORIZONTAL | Cell merges along row. | | VERTICAL | Cell merges along column. | | RANGE | Cell merges along row and column creating area. | ### groupdocs.comparison.cells Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.cells.md ### groupdocs.comparison.common.exceptions Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions.md The namespace provides different exception classes. ##### Classes | Class | Description | | :- | :- | | `ComparisonException` | Base class for all comparison process exceptions. | | `DocumentComparisonException` | The exception that is thrown when an error occurs while comparing documents. | | `FileFormatException` | The exception that is thrown when comparing files with different formats. | | `InvalidPasswordException` | The exception that is thrown when specified password is incorrect. | | `PasswordProtectedFileException` | The exception that is thrown when the document is protected by password. | | `UnsupportedFileFormatException` | The exception that is thrown when file of this format doesn't support comparison. | ### ComparisonException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/comparisonexception.md #### ComparisonException class Base class for all comparison process exceptions. The ComparisonException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `ComparisonException` class. | | __init__ | Initializes a new instance of the `ComparisonException` class with a specified error message. | ### ComparisonException constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/comparisonexception/__init__.md #### __init__ Initializes a new instance of the `ComparisonException` class. ```python def __init__(self): ... ``` #### __init__ Initializes a new instance of the `ComparisonException` class with a specified error message. ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The exception message | ### DocumentComparisonException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/documentcomparisonexception.md #### DocumentComparisonException class The exception that is thrown when an error occurs while comparing documents. **Inheritance:** `DocumentComparisonException` → `ComparisonException` The DocumentComparisonException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `DocumentComparisonException` class. | ### DocumentComparisonException constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/documentcomparisonexception/__init__.md #### __init__ Initializes a new instance of `DocumentComparisonException` class. ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | | ### FileFormatException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/fileformatexception.md #### FileFormatException class The exception that is thrown when comparing files with different formats. **Inheritance:** `FileFormatException` → `ComparisonException` The FileFormatException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `FileFormatException` class. | ### FileFormatException constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/fileformatexception/__init__.md #### __init__ Initializes a new instance of `FileFormatException` class. ```python def __init__(self, source_path, target_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | System.String | The source file path | | target_path | System.String | The target file path | ### InvalidPasswordException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/invalidpasswordexception.md #### InvalidPasswordException class The exception that is thrown when specified password is incorrect. **Inheritance:** `InvalidPasswordException` → `ComparisonException` The InvalidPasswordException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `InvalidPasswordException` class. | ### InvalidPasswordException constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/invalidpasswordexception/__init__.md #### __init__ Initializes a new instance of `InvalidPasswordException` class. ```python def __init__(self): ... ``` ### PasswordProtectedFileException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/passwordprotectedfileexception.md #### PasswordProtectedFileException class The exception that is thrown when the document is protected by password. **Inheritance:** `PasswordProtectedFileException` → `ComparisonException` The PasswordProtectedFileException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `PasswordProtectedFileException` class. | ### PasswordProtectedFileException constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/passwordprotectedfileexception/__init__.md #### __init__ Initializes a new instance of `PasswordProtectedFileException` class. ```python def __init__(self): ... ``` ### UnsupportedFileFormatException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/unsupportedfileformatexception.md #### UnsupportedFileFormatException class The exception that is thrown when file of this format doesn't support comparison. **Inheritance:** `UnsupportedFileFormatException` → `ComparisonException` The UnsupportedFileFormatException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of `UnsupportedFileFormatException` class. | | __init__ | Initializes a new instance of `UnsupportedFileFormatException` class. | ### UnsupportedFileFormatException constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.exceptions/unsupportedfileformatexception/__init__.md #### __init__ Initializes a new instance of `UnsupportedFileFormatException` class. ```python def __init__(self): ... ``` #### __init__ Initializes a new instance of `UnsupportedFileFormatException` class. ```python def __init__(self, path_file): ... ``` | Parameter | Type | Description | | :- | :- | :- | | path_file | System.String | | ### groupdocs.comparison.common Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.common.md The namespace provides helpers classes. ### groupdocs.comparison.interfaces Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.interfaces.md Types under `groupdocs.comparison.interfaces`. ##### Classes | Class | Description | | :- | :- | | `IDocumentInfo` | | ### IDocumentInfo class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.interfaces/idocumentinfo.md #### IDocumentInfo class The IDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | file_type | | | page_count | | | pages_info | | | size | | ### file_type property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.interfaces/idocumentinfo/file_type.md ##### Definition: ```python @property def file_type(self): ... @file_type.setter def file_type(self, value): ... ``` ### page_count property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.interfaces/idocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... @page_count.setter def page_count(self, value): ... ``` ### pages_info property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.interfaces/idocumentinfo/pages_info.md ##### Definition: ```python @property def pages_info(self): ... @pages_info.setter def pages_info(self, value): ... ``` ### size property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.interfaces/idocumentinfo/size.md ##### Definition: ```python @property def size(self): ... @size.setter def size(self, value): ... ``` ### groupdocs.comparison.localization Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization.md Types under `groupdocs.comparison.localization`. ##### Classes | Class | Description | | :- | :- | | `SupportedLocales` | | ### SupportedLocales class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization/supportedlocales.md #### SupportedLocales class The SupportedLocales type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _is_locale_supported_culture_info | | | _is_locale_supported_string | | | is_locale_supported | | | is_locale_supported_culture_info | | | is_locale_supported_file | | | is_locale_supported_string | | ### _is_locale_supported_culture_info method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization/supportedlocales/_is_locale_supported_culture_info.md #### _is_locale_supported_culture_info ```python def _is_locale_supported_culture_info(cls, culture): ... ``` | Parameter | Type | Description | | :- | :- | :- | | culture | `CultureInfo` | | **Returns:** bool ### _is_locale_supported_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization/supportedlocales/_is_locale_supported_string.md #### _is_locale_supported_string ```python def _is_locale_supported_string(cls, culture): ... ``` | Parameter | Type | Description | | :- | :- | :- | | culture | `str` | | **Returns:** bool ### is_locale_supported method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization/supportedlocales/is_locale_supported.md #### is_locale_supported ```python def is_locale_supported(cls): ... ``` ### is_locale_supported_culture_info method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization/supportedlocales/is_locale_supported_culture_info.md #### is_locale_supported_culture_info ```python def is_locale_supported_culture_info(cls): ... ``` ### is_locale_supported_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization/supportedlocales/is_locale_supported_file.md #### is_locale_supported_file ```python def is_locale_supported_file(cls): ... ``` ### is_locale_supported_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.localization/supportedlocales/is_locale_supported_string.md #### is_locale_supported_string ```python def is_locale_supported_string(cls): ... ``` ### groupdocs.comparison.logging Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging.md Logging hooks and listener interfaces. ##### Classes | Class | Description | | :- | :- | | `ConsoleLogger` | | | `ILogger` | | ### ConsoleLogger class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger.md #### ConsoleLogger class The ConsoleLogger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _init_noargs | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _error_string_exception method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, ex): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | ex | `Exception` | | ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _trace_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/consolelogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### ILogger class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger.md #### ILogger class The ILogger type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### _error_string_exception method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, ex): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | ex | `Exception` | | ### _trace_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.logging/ilogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### groupdocs.comparison.options Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options.md Option classes for configuring conversions and operations. ##### Classes | Class | Description | | :- | :- | | `ApplyChangeOptions` | | | `CompareOptions` | | | `DiagramMasterSetting` | | | `FileAuthorMetadata` | | | `GetChangeOptions` | | | `IgnoreChangeSensitivitySettings` | | | `LoadOptions` | | | `OriginalSize` | | | `PagesSetup` | | | `PdfCompareOptions` | | | `PreviewOptions` | | | `PreviewResolution` | | | `SaveOptions` | | | `Size` | | | `StyleSettings` | | | `WordCompareOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `CalculateCoordinatesModeEnumeration` | | | `ChangeType` | | | `ComparisonDisplayMode` | | | `DetalisationLevel` | | | `FolderComparisonExtension` | | | `ImagesInheritance` | | | `MetadataType` | | | `PaperSize` | | | `PasswordSaveOption` | | | `PreviewFormats` | | ### ApplyChangeOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/applychangeoptions.md #### ApplyChangeOptions class The ApplyChangeOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | changes | | | save_original_state | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/applychangeoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/applychangeoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### changes property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/applychangeoptions/changes.md ##### Definition: ```python @property def changes(self): ... @changes.setter def changes(self, value): ... ``` ### save_original_state property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/applychangeoptions/save_original_state.md ##### Definition: ```python @property def save_original_state(self): ... @save_original_state.setter def save_original_state(self, value): ... ``` ### CalculateCoordinatesModeEnumeration class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/calculatecoordinatesmodeenumeration.md #### CalculateCoordinatesModeEnumeration class The CalculateCoordinatesModeEnumeration type exposes the following members: ##### Fields | Field | Description | | :- | :- | | SOURCE | | | TARGET | | | RESULT | | ### RESULT field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/calculatecoordinatesmodeenumeration/result.md ##### Value `2` ### SOURCE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/calculatecoordinatesmodeenumeration/source.md ##### Value `0` ### TARGET field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/calculatecoordinatesmodeenumeration/target.md ##### Value `1` ### ChangeType class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype.md #### ChangeType class The ChangeType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | | | MODIFIED | | | INSERTED | | | DELETED | | | ADDED | | | NOT_MODIFIED | | | STYLE_CHANGED | | | RESIZED | | | MOVED | | | MOVED_AND_RESIZED | | | SHIFTED_AND_RESIZED | | ### ADDED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/added.md ##### Value `4` ### DELETED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/deleted.md ##### Value `3` ### INSERTED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/inserted.md ##### Value `2` ### MODIFIED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/modified.md ##### Value `1` ### MOVED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/moved.md ##### Value `8` ### MOVED_AND_RESIZED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/moved_and_resized.md ##### Value `9` ### NONE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/none.md ##### Value `0` ### NOT_MODIFIED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/not_modified.md ##### Value `5` ### RESIZED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/resized.md ##### Value `7` ### SHIFTED_AND_RESIZED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/shifted_and_resized.md ##### Value `10` ### STYLE_CHANGED field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/changetype/style_changed.md ##### Value `6` ### CompareOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions.md #### CompareOptions class The CompareOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | calculate_coordinates | | | calculate_coordinates_mode | | | changed_item_style | | | compare_bookmarks | | | compare_document_property | | | compare_images_pdf | | | compare_variable_property | | | deleted_item_style | | | detalisation_level | | | detect_style_changes | | | diagram_master_setting | | | directory_compare | | | extended_summary_page | | | folder_comparison_extension | | | generate_summary_page | | | header_footers_comparison | | | ignore_change_settings | | | images_inheritance_mode | | | inserted_item_style | | | leave_gaps | | | mark_changed_content | | | mark_line_breaks | | | mark_nested_content | | | original_size | | | paper_size | | | password_save_option | | | revision_author_name | | | sensitivity_of_comparison | | | sensitivity_of_comparison_for_tables | | | show_deleted_content | | | show_inserted_content | | | show_only_changed | | | show_only_summary_page | | | show_revisions | | | user_master_path | | | word_track_changes | | | words_separator_chars | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### calculate_coordinates property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/calculate_coordinates.md ##### Definition: ```python @property def calculate_coordinates(self): ... @calculate_coordinates.setter def calculate_coordinates(self, value): ... ``` ### calculate_coordinates_mode property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/calculate_coordinates_mode.md ##### Definition: ```python @property def calculate_coordinates_mode(self): ... @calculate_coordinates_mode.setter def calculate_coordinates_mode(self, value): ... ``` ### changed_item_style property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/changed_item_style.md ##### Definition: ```python @property def changed_item_style(self): ... @changed_item_style.setter def changed_item_style(self, value): ... ``` ### compare_bookmarks property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/compare_bookmarks.md ##### Definition: ```python @property def compare_bookmarks(self): ... @compare_bookmarks.setter def compare_bookmarks(self, value): ... ``` ### compare_document_property property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/compare_document_property.md ##### Definition: ```python @property def compare_document_property(self): ... @compare_document_property.setter def compare_document_property(self, value): ... ``` ### compare_images_pdf property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/compare_images_pdf.md ##### Definition: ```python @property def compare_images_pdf(self): ... @compare_images_pdf.setter def compare_images_pdf(self, value): ... ``` ### compare_variable_property property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/compare_variable_property.md ##### Definition: ```python @property def compare_variable_property(self): ... @compare_variable_property.setter def compare_variable_property(self, value): ... ``` ### deleted_item_style property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/deleted_item_style.md ##### Definition: ```python @property def deleted_item_style(self): ... @deleted_item_style.setter def deleted_item_style(self, value): ... ``` ### detalisation_level property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/detalisation_level.md ##### Definition: ```python @property def detalisation_level(self): ... @detalisation_level.setter def detalisation_level(self, value): ... ``` ### detect_style_changes property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/detect_style_changes.md ##### Definition: ```python @property def detect_style_changes(self): ... @detect_style_changes.setter def detect_style_changes(self, value): ... ``` ### diagram_master_setting property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/diagram_master_setting.md ##### Definition: ```python @property def diagram_master_setting(self): ... @diagram_master_setting.setter def diagram_master_setting(self, value): ... ``` ### directory_compare property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/directory_compare.md ##### Definition: ```python @property def directory_compare(self): ... @directory_compare.setter def directory_compare(self, value): ... ``` ### extended_summary_page property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/extended_summary_page.md ##### Definition: ```python @property def extended_summary_page(self): ... @extended_summary_page.setter def extended_summary_page(self, value): ... ``` ### folder_comparison_extension property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/folder_comparison_extension.md ##### Definition: ```python @property def folder_comparison_extension(self): ... @folder_comparison_extension.setter def folder_comparison_extension(self, value): ... ``` ### generate_summary_page property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/generate_summary_page.md ##### Definition: ```python @property def generate_summary_page(self): ... @generate_summary_page.setter def generate_summary_page(self, value): ... ``` ### header_footers_comparison property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/header_footers_comparison.md ##### Definition: ```python @property def header_footers_comparison(self): ... @header_footers_comparison.setter def header_footers_comparison(self, value): ... ``` ### ignore_change_settings property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/ignore_change_settings.md ##### Definition: ```python @property def ignore_change_settings(self): ... @ignore_change_settings.setter def ignore_change_settings(self, value): ... ``` ### images_inheritance_mode property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/images_inheritance_mode.md ##### Definition: ```python @property def images_inheritance_mode(self): ... @images_inheritance_mode.setter def images_inheritance_mode(self, value): ... ``` ### inserted_item_style property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/inserted_item_style.md ##### Definition: ```python @property def inserted_item_style(self): ... @inserted_item_style.setter def inserted_item_style(self, value): ... ``` ### leave_gaps property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/leave_gaps.md ##### Definition: ```python @property def leave_gaps(self): ... @leave_gaps.setter def leave_gaps(self, value): ... ``` ### mark_changed_content property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/mark_changed_content.md ##### Definition: ```python @property def mark_changed_content(self): ... @mark_changed_content.setter def mark_changed_content(self, value): ... ``` ### mark_line_breaks property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/mark_line_breaks.md ##### Definition: ```python @property def mark_line_breaks(self): ... @mark_line_breaks.setter def mark_line_breaks(self, value): ... ``` ### mark_nested_content property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/mark_nested_content.md ##### Definition: ```python @property def mark_nested_content(self): ... @mark_nested_content.setter def mark_nested_content(self, value): ... ``` ### original_size property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/original_size.md ##### Definition: ```python @property def original_size(self): ... @original_size.setter def original_size(self, value): ... ``` ### paper_size property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/paper_size.md ##### Definition: ```python @property def paper_size(self): ... @paper_size.setter def paper_size(self, value): ... ``` ### password_save_option property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/password_save_option.md ##### Definition: ```python @property def password_save_option(self): ... @password_save_option.setter def password_save_option(self, value): ... ``` ### revision_author_name property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/revision_author_name.md ##### Definition: ```python @property def revision_author_name(self): ... @revision_author_name.setter def revision_author_name(self, value): ... ``` ### sensitivity_of_comparison property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/sensitivity_of_comparison.md ##### Definition: ```python @property def sensitivity_of_comparison(self): ... @sensitivity_of_comparison.setter def sensitivity_of_comparison(self, value): ... ``` ### sensitivity_of_comparison_for_tables property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/sensitivity_of_comparison_for_tables.md ##### Definition: ```python @property def sensitivity_of_comparison_for_tables(self): ... @sensitivity_of_comparison_for_tables.setter def sensitivity_of_comparison_for_tables(self, value): ... ``` ### show_deleted_content property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/show_deleted_content.md ##### Definition: ```python @property def show_deleted_content(self): ... @show_deleted_content.setter def show_deleted_content(self, value): ... ``` ### show_inserted_content property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/show_inserted_content.md ##### Definition: ```python @property def show_inserted_content(self): ... @show_inserted_content.setter def show_inserted_content(self, value): ... ``` ### show_only_changed property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/show_only_changed.md ##### Definition: ```python @property def show_only_changed(self): ... @show_only_changed.setter def show_only_changed(self, value): ... ``` ### show_only_summary_page property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/show_only_summary_page.md ##### Definition: ```python @property def show_only_summary_page(self): ... @show_only_summary_page.setter def show_only_summary_page(self, value): ... ``` ### show_revisions property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/show_revisions.md ##### Definition: ```python @property def show_revisions(self): ... @show_revisions.setter def show_revisions(self, value): ... ``` ### user_master_path property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/user_master_path.md ##### Definition: ```python @property def user_master_path(self): ... @user_master_path.setter def user_master_path(self, value): ... ``` ### word_track_changes property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/word_track_changes.md ##### Definition: ```python @property def word_track_changes(self): ... @word_track_changes.setter def word_track_changes(self, value): ... ``` ### words_separator_chars property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/compareoptions/words_separator_chars.md ##### Definition: ```python @property def words_separator_chars(self): ... @words_separator_chars.setter def words_separator_chars(self, value): ... ``` ### ComparisonDisplayMode class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/comparisondisplaymode.md #### ComparisonDisplayMode class The ComparisonDisplayMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | REVISIONS | | | HIGHLIGHT | | ### HIGHLIGHT field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/comparisondisplaymode/highlight.md ##### Value `1` ### REVISIONS field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/comparisondisplaymode/revisions.md ##### Value `0` ### DetalisationLevel class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/detalisationlevel.md #### DetalisationLevel class The DetalisationLevel type exposes the following members: ##### Fields | Field | Description | | :- | :- | | LOW | | | MIDDLE | | | HIGH | | ### HIGH field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/detalisationlevel/high.md ##### Value `2` ### LOW field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/detalisationlevel/low.md ##### Value `0` ### MIDDLE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/detalisationlevel/middle.md ##### Value `1` ### DiagramMasterSetting class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/diagrammastersetting.md #### DiagramMasterSetting class The DiagramMasterSetting type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | master_path | | | use_source_master | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/diagrammastersetting/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/diagrammastersetting/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### master_path property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/diagrammastersetting/master_path.md ##### Definition: ```python @property def master_path(self): ... @master_path.setter def master_path(self, value): ... ``` ### use_source_master property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/diagrammastersetting/use_source_master.md ##### Definition: ```python @property def use_source_master(self): ... @use_source_master.setter def use_source_master(self, value): ... ``` ### FileAuthorMetadata class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/fileauthormetadata.md #### FileAuthorMetadata class The FileAuthorMetadata type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | author | | | company | | | last_save_by | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/fileauthormetadata/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/fileauthormetadata/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### author property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/fileauthormetadata/author.md ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### company property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/fileauthormetadata/company.md ##### Definition: ```python @property def company(self): ... @company.setter def company(self, value): ... ``` ### last_save_by property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/fileauthormetadata/last_save_by.md ##### Definition: ```python @property def last_save_by(self): ... @last_save_by.setter def last_save_by(self, value): ... ``` ### FolderComparisonExtension class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/foldercomparisonextension.md #### FolderComparisonExtension class The FolderComparisonExtension type exposes the following members: ##### Fields | Field | Description | | :- | :- | | HTML | | | TXT | | ### HTML field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/foldercomparisonextension/html.md ##### Value `0` ### TXT field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/foldercomparisonextension/txt.md ##### Value `1` ### GetChangeOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/getchangeoptions.md #### GetChangeOptions class The GetChangeOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | filter | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/getchangeoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/getchangeoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### filter property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/getchangeoptions/filter.md ##### Definition: ```python @property def filter(self): ... @filter.setter def filter(self, value): ... ``` ### IgnoreChangeSensitivitySettings class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/ignorechangesensitivitysettings.md #### IgnoreChangeSensitivitySettings class The IgnoreChangeSensitivitySettings type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | ignore | | | ignore_percent | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/ignorechangesensitivitysettings/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/ignorechangesensitivitysettings/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### ignore property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/ignorechangesensitivitysettings/ignore.md ##### Definition: ```python @property def ignore(self): ... @ignore.setter def ignore(self, value): ... ``` ### ignore_percent property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/ignorechangesensitivitysettings/ignore_percent.md ##### Definition: ```python @property def ignore_percent(self): ... @ignore_percent.setter def ignore_percent(self, value): ... ``` ### ImagesInheritance class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/imagesinheritance.md #### ImagesInheritance class The ImagesInheritance type exposes the following members: ##### Fields | Field | Description | | :- | :- | | SOURCE | | | TARGET | | ### SOURCE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/imagesinheritance/source.md ##### Value `0` ### TARGET field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/imagesinheritance/target.md ##### Value `1` ### LoadOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/loadoptions.md #### LoadOptions class The LoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | file_type | | | font_directories | | | load_text | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/loadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/loadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/loadoptions/file_type.md ##### Definition: ```python @property def file_type(self): ... @file_type.setter def file_type(self, value): ... ``` ### font_directories property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/loadoptions/font_directories.md ##### Definition: ```python @property def font_directories(self): ... @font_directories.setter def font_directories(self, value): ... ``` ### load_text property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/loadoptions/load_text.md ##### Definition: ```python @property def load_text(self): ... @load_text.setter def load_text(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/loadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### MetadataType class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/metadatatype.md #### MetadataType class The MetadataType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | DEFAULT | | | SOURCE | | | TARGET | | | FILE_AUTHOR | | ### DEFAULT field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/metadatatype/default.md ##### Value `0` ### FILE_AUTHOR field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/metadatatype/file_author.md ##### Value `3` ### SOURCE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/metadatatype/source.md ##### Value `1` ### TARGET field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/metadatatype/target.md ##### Value `2` ### OriginalSize class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/originalsize.md #### OriginalSize class The OriginalSize type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | height | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/originalsize/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/originalsize/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### height property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/originalsize/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/originalsize/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### PagesSetup class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pagessetup.md #### PagesSetup class The PagesSetup type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | end_page | | | start_page | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pagessetup/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pagessetup/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### end_page property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pagessetup/end_page.md ##### Definition: ```python @property def end_page(self): ... @end_page.setter def end_page(self, value): ... ``` ### start_page property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pagessetup/start_page.md ##### Definition: ```python @property def start_page(self): ... @start_page.setter def start_page(self, value): ... ``` ### PaperSize class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize.md #### PaperSize class The PaperSize type exposes the following members: ##### Fields | Field | Description | | :- | :- | | DEFAULT | | | A0 | | | A1 | | | A2 | | | A3 | | | A4 | | | A5 | | | A6 | | | A7 | | | A8 | | ### A0 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a0.md ##### Value `1` ### A1 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a1.md ##### Value `2` ### A2 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a2.md ##### Value `3` ### A3 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a3.md ##### Value `4` ### A4 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a4.md ##### Value `5` ### A5 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a5.md ##### Value `6` ### A6 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a6.md ##### Value `7` ### A7 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a7.md ##### Value `8` ### A8 field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/a8.md ##### Value `9` ### DEFAULT field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/papersize/default.md ##### Value `0` ### PasswordSaveOption class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/passwordsaveoption.md #### PasswordSaveOption class The PasswordSaveOption type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | | | SOURCE | | | TARGET | | | USER | | ### NONE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/passwordsaveoption/none.md ##### Value `0` ### SOURCE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/passwordsaveoption/source.md ##### Value `1` ### TARGET field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/passwordsaveoption/target.md ##### Value `2` ### USER field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/passwordsaveoption/user.md ##### Value `3` ### PdfCompareOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions.md #### PdfCompareOptions class The PdfCompareOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | annotation_author_name | | | compare_images_pdf | | | display_mode | | | images_inheritance_mode | | | pages_setup | | | calculate_coordinates | (inherited from `CompareOptions`) | | calculate_coordinates_mode | (inherited from `CompareOptions`) | | changed_item_style | (inherited from `CompareOptions`) | | compare_bookmarks | (inherited from `CompareOptions`) | | compare_document_property | (inherited from `CompareOptions`) | | compare_variable_property | (inherited from `CompareOptions`) | | deleted_item_style | (inherited from `CompareOptions`) | | detalisation_level | (inherited from `CompareOptions`) | | detect_style_changes | (inherited from `CompareOptions`) | | diagram_master_setting | (inherited from `CompareOptions`) | | directory_compare | (inherited from `CompareOptions`) | | extended_summary_page | (inherited from `CompareOptions`) | | folder_comparison_extension | (inherited from `CompareOptions`) | | generate_summary_page | (inherited from `CompareOptions`) | | header_footers_comparison | (inherited from `CompareOptions`) | | ignore_change_settings | (inherited from `CompareOptions`) | | inserted_item_style | (inherited from `CompareOptions`) | | leave_gaps | (inherited from `CompareOptions`) | | mark_changed_content | (inherited from `CompareOptions`) | | mark_line_breaks | (inherited from `CompareOptions`) | | mark_nested_content | (inherited from `CompareOptions`) | | original_size | (inherited from `CompareOptions`) | | paper_size | (inherited from `CompareOptions`) | | password_save_option | (inherited from `CompareOptions`) | | revision_author_name | (inherited from `CompareOptions`) | | sensitivity_of_comparison | (inherited from `CompareOptions`) | | sensitivity_of_comparison_for_tables | (inherited from `CompareOptions`) | | show_deleted_content | (inherited from `CompareOptions`) | | show_inserted_content | (inherited from `CompareOptions`) | | show_only_changed | (inherited from `CompareOptions`) | | show_only_summary_page | (inherited from `CompareOptions`) | | show_revisions | (inherited from `CompareOptions`) | | user_master_path | (inherited from `CompareOptions`) | | word_track_changes | (inherited from `CompareOptions`) | | words_separator_chars | (inherited from `CompareOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### annotation_author_name property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions/annotation_author_name.md ##### Definition: ```python @property def annotation_author_name(self): ... @annotation_author_name.setter def annotation_author_name(self, value): ... ``` ### compare_images_pdf property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions/compare_images_pdf.md ##### Definition: ```python @property def compare_images_pdf(self): ... @compare_images_pdf.setter def compare_images_pdf(self, value): ... ``` ### display_mode property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions/display_mode.md ##### Definition: ```python @property def display_mode(self): ... @display_mode.setter def display_mode(self, value): ... ``` ### images_inheritance_mode property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions/images_inheritance_mode.md ##### Definition: ```python @property def images_inheritance_mode(self): ... @images_inheritance_mode.setter def images_inheritance_mode(self, value): ... ``` ### pages_setup property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/pdfcompareoptions/pages_setup.md ##### Definition: ```python @property def pages_setup(self): ... @pages_setup.setter def pages_setup(self, value): ... ``` ### PreviewFormats class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewformats.md #### PreviewFormats class The PreviewFormats type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PNG | | | JPEG | | | BMP | | ### BMP field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewformats/bmp.md ##### Value `2` ### JPEG field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewformats/jpeg.md ##### Value `1` ### PNG field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewformats/png.md ##### Value `0` ### PreviewOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions.md #### PreviewOptions class The PreviewOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_create_page_stream | | | _init_create_page_stream_release_page_stream | | ##### Properties | Property | Description | | :- | :- | | create_page_stream | | | height | | | page_numbers | | | preview_format | | | release_page_stream | | | resolution | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_create_page_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/_init_create_page_stream.md #### _init_create_page_stream ```python def _init_create_page_stream(self, create_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | ### _init_create_page_stream_release_page_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/_init_create_page_stream_release_page_stream.md #### _init_create_page_stream_release_page_stream ```python def _init_create_page_stream_release_page_stream(self, create_page_stream, release_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | release_page_stream | `ReleasePageStream` | | ### create_page_stream property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/create_page_stream.md ##### Definition: ```python @property def create_page_stream(self): ... @create_page_stream.setter def create_page_stream(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### page_numbers property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/page_numbers.md ##### Definition: ```python @property def page_numbers(self): ... @page_numbers.setter def page_numbers(self, value): ... ``` ### preview_format property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/preview_format.md ##### Definition: ```python @property def preview_format(self): ... @preview_format.setter def preview_format(self, value): ... ``` ### release_page_stream property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/release_page_stream.md ##### Definition: ```python @property def release_page_stream(self): ... @release_page_stream.setter def release_page_stream(self, value): ... ``` ### resolution property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/resolution.md ##### Definition: ```python @property def resolution(self): ... @resolution.setter def resolution(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### PreviewResolution class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewresolution.md #### PreviewResolution class The PreviewResolution type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | horizontal_resolution | | | vertical_resolution | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewresolution/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewresolution/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### horizontal_resolution property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewresolution/horizontal_resolution.md ##### Definition: ```python @property def horizontal_resolution(self): ... @horizontal_resolution.setter def horizontal_resolution(self, value): ... ``` ### vertical_resolution property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/previewresolution/vertical_resolution.md ##### Definition: ```python @property def vertical_resolution(self): ... @vertical_resolution.setter def vertical_resolution(self, value): ... ``` ### SaveOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/saveoptions.md #### SaveOptions class The SaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | clone_metadata_type | | | file_author_metadata | | | folder_path | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/saveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/saveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone_metadata_type property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/saveoptions/clone_metadata_type.md ##### Definition: ```python @property def clone_metadata_type(self): ... @clone_metadata_type.setter def clone_metadata_type(self, value): ... ``` ### file_author_metadata property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/saveoptions/file_author_metadata.md ##### Definition: ```python @property def file_author_metadata(self): ... @file_author_metadata.setter def file_author_metadata(self, value): ... ``` ### folder_path property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/saveoptions/folder_path.md ##### Definition: ```python @property def folder_path(self): ... @folder_path.setter def folder_path(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/saveoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### Size class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/size.md #### Size class The Size type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | height | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/size/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/size/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### height property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/size/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/size/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### StyleSettings class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings.md #### StyleSettings class The StyleSettings type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | boarder_color | | | end_string_separator | | | font_color | | | highlight_color | | | is_bold | | | is_italic | | | is_strikethrough | | | is_underline | | | original_size | | | shape_color | | | start_string_separator | | | words_separators | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### boarder_color property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/boarder_color.md ##### Definition: ```python @property def boarder_color(self): ... @boarder_color.setter def boarder_color(self, value): ... ``` ### end_string_separator property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/end_string_separator.md ##### Definition: ```python @property def end_string_separator(self): ... @end_string_separator.setter def end_string_separator(self, value): ... ``` ### font_color property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/font_color.md ##### Definition: ```python @property def font_color(self): ... @font_color.setter def font_color(self, value): ... ``` ### highlight_color property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/highlight_color.md ##### Definition: ```python @property def highlight_color(self): ... @highlight_color.setter def highlight_color(self, value): ... ``` ### is_bold property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/is_bold.md ##### Definition: ```python @property def is_bold(self): ... @is_bold.setter def is_bold(self, value): ... ``` ### is_italic property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/is_italic.md ##### Definition: ```python @property def is_italic(self): ... @is_italic.setter def is_italic(self, value): ... ``` ### is_strikethrough property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/is_strikethrough.md ##### Definition: ```python @property def is_strikethrough(self): ... @is_strikethrough.setter def is_strikethrough(self, value): ... ``` ### is_underline property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/is_underline.md ##### Definition: ```python @property def is_underline(self): ... @is_underline.setter def is_underline(self, value): ... ``` ### original_size property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/original_size.md ##### Definition: ```python @property def original_size(self): ... @original_size.setter def original_size(self, value): ... ``` ### shape_color property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/shape_color.md ##### Definition: ```python @property def shape_color(self): ... @shape_color.setter def shape_color(self, value): ... ``` ### start_string_separator property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/start_string_separator.md ##### Definition: ```python @property def start_string_separator(self): ... @start_string_separator.setter def start_string_separator(self, value): ... ``` ### words_separators property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/stylesettings/words_separators.md ##### Definition: ```python @property def words_separators(self): ... @words_separators.setter def words_separators(self, value): ... ``` ### WordCompareOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions.md #### WordCompareOptions class The WordCompareOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | compare_bookmarks | | | compare_document_property | | | compare_variable_property | | | display_mode | | | leave_gaps | | | mark_line_breaks | | | revision_author_name | | | show_revisions | | | calculate_coordinates | (inherited from `CompareOptions`) | | calculate_coordinates_mode | (inherited from `CompareOptions`) | | changed_item_style | (inherited from `CompareOptions`) | | compare_images_pdf | (inherited from `CompareOptions`) | | deleted_item_style | (inherited from `CompareOptions`) | | detalisation_level | (inherited from `CompareOptions`) | | detect_style_changes | (inherited from `CompareOptions`) | | diagram_master_setting | (inherited from `CompareOptions`) | | directory_compare | (inherited from `CompareOptions`) | | extended_summary_page | (inherited from `CompareOptions`) | | folder_comparison_extension | (inherited from `CompareOptions`) | | generate_summary_page | (inherited from `CompareOptions`) | | header_footers_comparison | (inherited from `CompareOptions`) | | ignore_change_settings | (inherited from `CompareOptions`) | | images_inheritance_mode | (inherited from `CompareOptions`) | | inserted_item_style | (inherited from `CompareOptions`) | | mark_changed_content | (inherited from `CompareOptions`) | | mark_nested_content | (inherited from `CompareOptions`) | | original_size | (inherited from `CompareOptions`) | | paper_size | (inherited from `CompareOptions`) | | password_save_option | (inherited from `CompareOptions`) | | sensitivity_of_comparison | (inherited from `CompareOptions`) | | sensitivity_of_comparison_for_tables | (inherited from `CompareOptions`) | | show_deleted_content | (inherited from `CompareOptions`) | | show_inserted_content | (inherited from `CompareOptions`) | | show_only_changed | (inherited from `CompareOptions`) | | show_only_summary_page | (inherited from `CompareOptions`) | | user_master_path | (inherited from `CompareOptions`) | | word_track_changes | (inherited from `CompareOptions`) | | words_separator_chars | (inherited from `CompareOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_bookmarks property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/compare_bookmarks.md ##### Definition: ```python @property def compare_bookmarks(self): ... @compare_bookmarks.setter def compare_bookmarks(self, value): ... ``` ### compare_document_property property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/compare_document_property.md ##### Definition: ```python @property def compare_document_property(self): ... @compare_document_property.setter def compare_document_property(self, value): ... ``` ### compare_variable_property property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/compare_variable_property.md ##### Definition: ```python @property def compare_variable_property(self): ... @compare_variable_property.setter def compare_variable_property(self, value): ... ``` ### display_mode property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/display_mode.md ##### Definition: ```python @property def display_mode(self): ... @display_mode.setter def display_mode(self, value): ... ``` ### leave_gaps property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/leave_gaps.md ##### Definition: ```python @property def leave_gaps(self): ... @leave_gaps.setter def leave_gaps(self, value): ... ``` ### mark_line_breaks property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/mark_line_breaks.md ##### Definition: ```python @property def mark_line_breaks(self): ... @mark_line_breaks.setter def mark_line_breaks(self, value): ... ``` ### revision_author_name property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/revision_author_name.md ##### Definition: ```python @property def revision_author_name(self): ... @revision_author_name.setter def revision_author_name(self, value): ... ``` ### show_revisions property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.options/wordcompareoptions/show_revisions.md ##### Definition: ```python @property def show_revisions(self): ... @show_revisions.setter def show_revisions(self, value): ... ``` ### groupdocs.comparison.result Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result.md Types under `groupdocs.comparison.result`. ##### Classes | Class | Description | | :- | :- | | `ChangeInfo` | | | `FileType` | | | `PageInfo` | | | `Rectangle` | | | `StyleChangeInfo` | | ##### Enumerations | Enum | Description | | :- | :- | | `ComparisonAction` | | ### ChangeInfo class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo.md #### ChangeInfo class The ChangeInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | authors | | | box | | | comparison_action | | | component_type | | | id | | | page_info | | | source_text | | | style_changes | | | target_text | | | text | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### authors property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/authors.md ##### Definition: ```python @property def authors(self): ... @authors.setter def authors(self, value): ... ``` ### box property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/box.md ##### Definition: ```python @property def box(self): ... @box.setter def box(self, value): ... ``` ### comparison_action property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/comparison_action.md ##### Definition: ```python @property def comparison_action(self): ... @comparison_action.setter def comparison_action(self, value): ... ``` ### component_type property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/component_type.md ##### Definition: ```python @property def component_type(self): ... @component_type.setter def component_type(self, value): ... ``` ### id property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/id.md ##### Definition: ```python @property def id(self): ... @id.setter def id(self, value): ... ``` ### page_info property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/page_info.md ##### Definition: ```python @property def page_info(self): ... @page_info.setter def page_info(self, value): ... ``` ### source_text property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/source_text.md ##### Definition: ```python @property def source_text(self): ... @source_text.setter def source_text(self, value): ... ``` ### style_changes property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/style_changes.md ##### Definition: ```python @property def style_changes(self): ... @style_changes.setter def style_changes(self, value): ... ``` ### target_text property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/target_text.md ##### Definition: ```python @property def target_text(self): ... @target_text.setter def target_text(self, value): ... ``` ### text property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/text.md ##### Definition: ```python @property def text(self): ... @text.setter def text(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/changeinfo/type.md ##### Definition: ```python @property def type(self): ... ``` ### ComparisonAction class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/comparisonaction.md #### ComparisonAction class The ComparisonAction type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | | | ACCEPT | | | REJECT | | ### ACCEPT field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/comparisonaction/accept.md ##### Value `1` ### NONE field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/comparisonaction/none.md ##### Value `0` ### REJECT field Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/comparisonaction/reject.md ##### Value `2` ### FileType class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype.md #### FileType class The FileType type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_file_type | | | _equals_object | | | _get_hash_code_noargs | | | _to_string_noargs | | | equals | | | equals_file_type | | | equals_object | | | from_file_name_or_extension | | | get_hash_code | | | get_supported_file_types | | | to_string | | ##### Properties | Property | Description | | :- | :- | | extension | | | file_format | | ### _equals_file_type method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/_equals_file_type.md #### _equals_file_type ```python def _equals_file_type(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `FileType` | | **Returns:** bool ### _equals_object method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### _to_string_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### AS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/as.md #### AS property ActionScript Programming Language format ### AS3 property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/as3.md #### AS3 property ActionScript Programming Language format ### ASM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/asm.md #### ASM property ASM format ### BASH property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/bash.md #### BASH property Type of interpreter that processes shell commands ### BASHRC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/bashrc.md #### BASHRC property File determines the behavior of interactive shells ### BAT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/bat.md #### BAT property Script file in DOS, OS/2 and Microsoft Windows ### BMP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/bmp.md #### BMP property Bitmap Picture ### BOWERRC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/bowerrc.md #### BOWERRC property Configuration file for package control on the server-side ### C property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/c.md #### C property C-Based Programming Language format ### CAD property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cad.md #### CAD property CAD file format ### CAKE property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cake.md #### CAKE property CSharp cross-platform build automation system format ### CC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cc.md #### CC property C-Based Programming Language format ### CFG property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cfg.md #### CFG property Configuration file used for storing settings ### CMAKE property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cmake.md #### CMAKE property Tool for managing the build process of software ### CMD property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cmd.md #### CMD property Script file in DOS, OS/2 and Microsoft Windows ### CONF property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/conf.md #### CONF property Configuration file used on Unix and Linux based systems ### CPP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cpp.md #### CPP property C-Based Programming Language format ### CPY property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cpy.md #### CPY property Controller Python Script format ### CS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cs.md #### CS property CSharp Programming Language format ### CSV property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/csv.md #### CSV property Comma Separated Values File ### CSX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/csx.md #### CSX property CSharp script file format ### CTP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ctp.md #### CTP property CakePHP Template format ### CXX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/cxx.md #### CXX property C-Based Programming Language format ### DCM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dcm.md #### DCM property Digital Imaging and Communications in Medicine ### DIFF property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/diff.md #### DIFF property Data comparison tool format ### DIR property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dir.md #### DIR property Directory is a location for storing files on computer ### DJVU property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/djvu.md #### DJVU property Deja Vu format ### DOC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/doc.md #### DOC property Microsoft Word 97-2003 Document ### DOCM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/docm.md #### DOCM property Microsoft Word Macro-Enabled Document ### DOCX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/docx.md #### DOCX property Microsoft Word Document ### DOT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dot.md #### DOT property Microsoft Word 97-2003 Template ### DOTM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dotm.md #### DOTM property Microsoft Word Macro-Enabled Template ### DOTX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dotx.md #### DOTX property Microsoft Word Template ### DSQL property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dsql.md #### DSQL property Dynamic Structured Query Language format ### DWG property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dwg.md #### DWG property Autodesk Design Data Formats ### DXF property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/dxf.md #### DXF property AutoCAD Drawing Interchange ### EBUILD property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ebuild.md #### EBUILD property Specialized bash script which automates compilation and installation procedures for software packages ### EML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/eml.md #### EML property E-mail Message ### EMLX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/emlx.md #### EMLX property Apple Mail E-mail File ### equals method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/equals.md #### equals ```python def equals(self): ... ``` ### equals_file_type method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/equals_file_type.md #### equals_file_type ```python def equals_file_type(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### ERB property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/erb.md #### ERB property Ruby Programming Language format ### ES6 property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/es6.md #### ES6 property JavaScript standardised scripting language format ### extension property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### from_file_name_or_extension method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/from_file_name_or_extension.md #### from_file_name_or_extension ```python def from_file_name_or_extension(cls, file_name_or_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name_or_extension | `str` | | **Returns:** FileType ### GEMSPEC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/gemspec.md #### GEMSPEC property Developer file that specifies the attributes of a RubyGems ### get_hash_code method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### get_supported_file_types method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/get_supported_file_types.md #### get_supported_file_types ```python def get_supported_file_types(cls): ... ``` **Returns:** List[Any] ### GIF property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/gif.md #### GIF property Graphics Interchange Format ### GRADLE property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/gradle.md #### GRADLE property Build-automation system format ### GROOVY property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/groovy.md #### GROOVY property Source code file written in Groovy format ### GVY property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/gvy.md #### GVY property Source code file written in Groovy format ### GYP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/gyp.md #### GYP property Build automation tool format ### GYPI property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/gypi.md #### GYPI property Build automation tool format ### H property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/h.md #### H property C-Based header files contain definitions of Functions and Variables ### HAML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/haml.md #### HAML property Markup language for simplified HTML generation ### HAR property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/har.md #### HAR property The HTTP Archive format ### HH property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/hh.md #### HH property Header information referenced by a C++ source code file ### HPP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/hpp.md #### HPP property Header Files that are written in the C++ programming language ### HTML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/html.md #### HTML property HyperText Markup Language ### HXX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/hxx.md #### HXX property Header Files that are written in the C++ programming language ### IPY property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ipy.md #### IPY property IPython Script format ### JAVA property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/java.md #### JAVA property Java Programming Language format ### JPEG property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/jpeg.md #### JPEG property Joint Photographic Experts Group ### JS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/js.md #### JS property JavaScript Programming Language format ### JSCSRC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/jscsrc.md #### JSCSRC property JavaScript configuration file format ### JSHINTRC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/jshintrc.md #### JSHINTRC property JavaScript code quality tool ### JSMAP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/jsmap.md #### JSMAP property JSON file that contains information on how to translate code back to source code ### JSON property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/json.md #### JSON property Lightweight format for storing and transporting data ### LESS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/less.md #### LESS property Dynamic preprocessor style sheet language format ### LOG property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/log.md #### LOG property Logging keeps a registry of events, processes, messages and communication ### MAKE property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/make.md #### MAKE property Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal ### MARKDN property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/markdn.md #### MARKDN property Markdown Language format ### MARKDOWN property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/markdown.md #### MARKDOWN property Markdown Language format ### MD property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/md.md #### MD property Markdown Language format ### MDOWN property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mdown.md #### MDOWN property Markdown Language format ### MDTEXT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mdtext.md #### MDTEXT property Markdown Language format ### MDTXT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mdtxt.md #### MDTXT property Markdown Language format ### MDWN property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mdwn.md #### MDWN property Markdown Language format ### MHTML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mhtml.md #### MHTML property Mime HTML ### MJS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mjs.md #### MJS property Extension for EcmaScript (ES) module files ### MK property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mk.md #### MK property Makefile is a file containing a set of directives used by a make build automation tool to generate a target/goal ### MKD property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mkd.md #### MKD property Markdown Language format ### ML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ml.md #### ML property Caml Programming Language format ### MLI property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mli.md #### MLI property Caml Programming Language format ### MOBI property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/mobi.md #### MOBI property Mobipocket e-book format ### MSG property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/msg.md #### MSG property Microsoft Outlook E-mail Message ### NQP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/nqp.md #### NQP property Intermediate language used to build the Rakudo Perl 6 compiler ### OBJC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/objc.md #### OBJC property Objective-C Programming Language format ### OBJCP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/objcp.md #### OBJCP property Objective-C++ Programming Language format ### ODP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/odp.md #### ODP property OpenDocument Presentation ### ODS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ods.md #### ODS property OpenDocument Spreadsheet ### ODT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/odt.md #### ODT property OpenDocument Text ### ONE property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/one.md #### ONE property Microsoft OneNote Document ### OTP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/otp.md #### OTP property OpenDocument Presentation Template ### OTT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ott.md #### OTT property OpenDocument Text Template ### P6 property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/p6.md #### P6 property Perl Programming Language format ### PAC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pac.md #### PAC property Proxy Auto-Configuration file for JavaScript function format ### PATCH property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/patch.md #### PATCH property List of differences format ### PDF property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pdf.md #### PDF property Adobe Portable Document format ### PHP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/php.md #### PHP property PHP Programming Language format ### PHP4 property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/php4.md #### PHP4 property PHP Programming Language format ### PHP5 property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/php5.md #### PHP5 property PHP Programming Language format ### PHTML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/phtml.md #### PHTML property Standard file extension for PHP 2 programs format ### PL property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pl.md #### PL property Perl Programming Language format ### PL6 property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pl6.md #### PL6 property Perl Programming Language format ### PM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pm.md #### PM property Perl module format ### PM6 property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pm6.md #### PM6 property Perl module format ### PNG property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/png.md #### PNG property Portable Network Graphics ### POD property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pod.md #### POD property Perl lightweight markup language format ### PODSPEC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/podspec.md #### PODSPEC property Ruby build settings format ### POT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pot.md #### POT property Microsoft PowerPoint template ### POTX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/potx.md #### POTX property Microsoft PowerPoint Template ### PPS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pps.md #### PPS property Microsoft PowerPoint 97-2003 Slide Show ### PPSX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ppsx.md #### PPSX property Microsoft PowerPoint Slide Show ### PPT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ppt.md #### PPT property Microsoft PowerPoint 97-2003 Presentation ### PPTX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pptx.md #### PPTX property Microsoft PowerPoint Presentation ### PROP property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/prop.md #### PROP property Properties file format ### PSGI property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/psgi.md #### PSGI property Interface between web servers and web applications and frameworks written in the Perl programming ### PY property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/py.md #### PY property Python Programming Language format ### PYI property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pyi.md #### PYI property Python Interface file format ### PYW property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/pyw.md #### PYW property Files used in Windows to indicate a script needs to be run ### RAKE property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rake.md #### RAKE property Ruby build automation tool ### RB property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rb.md #### RB property Ruby Programming Language format ### RBI property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rbi.md #### RBI property Ruby Interface file format ### REJ property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rej.md #### REJ property Rejected files format ### RJS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rjs.md #### RJS property Ruby Programming Language format ### RPY property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rpy.md #### RPY property Python-based file engine to create and run games ### RST property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rst.md #### RST property Lightweight markup language ### RTF property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/rtf.md #### RTF property Rich Text Document ### RU property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/ru.md #### RU property Rack configuration file format ### SASS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/sass.md #### SASS property Style sheet language format ### SBT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/sbt.md #### SBT property SBT build tool for Scala format ### SC property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/sc.md #### SC property Scala worksheet format ### SCALA property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/scala.md #### SCALA property Scala Programming Language format ### SCSS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/scss.md #### SCSS property Style sheet language format ### SH property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/sh.md #### SH property Script programmed for bash format ### SQL property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/sql.md #### SQL property Structured Query Language format ### SVG property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/svg.md #### SVG property Scalar Vector Graphics ### T property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/t.md #### T property Perl test file format ### to_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/to_string.md #### to_string ```python def to_string(self): ... ``` ### TXT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/txt.md #### TXT property Plain Text Document ### UNKNOWN property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/unknown.md #### UNKNOWN property Unknown type ### VDX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/vdx.md #### VDX property Microsoft Visio 2003-2010 XML Drawing ### VIM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/vim.md #### VIM property Vim source code file format ### VSD property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/vsd.md #### VSD property Microsoft Visio 2003-2010 Drawing ### VSDX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/vsdx.md #### VSDX property Microsoft Visio Drawing ### VSS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/vss.md #### VSS property Microsoft Visio 2003-2010 Stencil ### VST property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/vst.md #### VST property Microsoft Visio 2003-2010 Template ### WEBMANIFEST property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/webmanifest.md #### WEBMANIFEST property Manifest file includes information about the app ### XLS property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/xls.md #### XLS property Microsoft Excel 97-2003 Worksheet ### XLSB property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/xlsb.md #### XLSB property Microsoft Excel Binary Worksheet ### XLSM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/xlsm.md #### XLSM property Microsoft Excel Macro-Enabled Worksheet ### XLSX property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/xlsx.md #### XLSX property Microsoft Excel Worksheet ### XLT property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/xlt.md #### XLT property Microsoft Excel template ### XLTM property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/xltm.md #### XLTM property Microsoft Excel macro-enabled template ### YAML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/yaml.md #### YAML property Human-readable data-serialization language format ### YML property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/filetype/yml.md #### YML property Human-readable data-serialization language format ### PageInfo class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/pageinfo.md #### PageInfo class The PageInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_int32_int32_int32 | | ##### Properties | Property | Description | | :- | :- | | height | | | page_number | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/pageinfo/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_int32_int32_int32 method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/pageinfo/_init_int32_int32_int32.md #### _init_int32_int32_int32 ```python def _init_int32_int32_int32(self, page_number, width, height): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | width | `int` | | | height | `int` | | ### height property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/pageinfo/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/pageinfo/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/pageinfo/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### Rectangle class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/rectangle.md #### Rectangle class The Rectangle type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_single_single_single_single | | ##### Properties | Property | Description | | :- | :- | | height | | | width | | | x | | | y | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/rectangle/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_single_single_single_single method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/rectangle/_init_single_single_single_single.md #### _init_single_single_single_single ```python def _init_single_single_single_single(self, x, y, width, height): ... ``` | Parameter | Type | Description | | :- | :- | :- | | x | `float` | | | y | `float` | | | width | `float` | | | height | `float` | | ### height property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/rectangle/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/rectangle/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### x property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/rectangle/x.md ##### Definition: ```python @property def x(self): ... @x.setter def x(self, value): ... ``` ### y property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/rectangle/y.md ##### Definition: ```python @property def y(self): ... @y.setter def y(self, value): ... ``` ### StyleChangeInfo class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo.md #### StyleChangeInfo class The StyleChangeInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _equals_object | | | _equals_style_change_info | | | _get_hash_code_noargs | | | _init_noargs | | | equals | | | equals_object | | | equals_style_change_info | | | get_hash_code | | ##### Properties | Property | Description | | :- | :- | | new_value | | | old_value | | | property_name | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _equals_object method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _equals_style_change_info method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/_equals_style_change_info.md #### _equals_style_change_info ```python def _equals_style_change_info(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `StyleChangeInfo` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/equals.md #### equals ```python def equals(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_style_change_info method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/equals_style_change_info.md #### equals_style_change_info ```python def equals_style_change_info(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### new_value property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/new_value.md ##### Definition: ```python @property def new_value(self): ... @new_value.setter def new_value(self, value): ... ``` ### old_value property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/old_value.md ##### Definition: ```python @property def old_value(self): ... @old_value.setter def old_value(self, value): ... ``` ### property_name property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.result/stylechangeinfo/property_name.md ##### Definition: ```python @property def property_name(self): ... @property_name.setter def property_name(self, value): ... ``` ### groupdocs.comparison.words.revision Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision.md The namespace provides classes for working with revisions in WORD format file. ##### Classes | Class | Description | | :- | :- | | `ApplyRevisionOptions` | Allows you to update the state of revisions before they are applied to the final document. | | `RevisionHandler` | Represents the main class that controls revision handling. | | `RevisionInfo` | Provides information about one revision. | ##### Enumerations | Enumeration | Description | | :- | :- | | `RevisionAction` | Action that can be applied to a revision. | | `RevisionType` | Specifies the type of change being tracked. | ### ApplyRevisionOptions class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/applyrevisionoptions.md #### ApplyRevisionOptions class Allows you to update the state of revisions before they are applied to the final document. The ApplyRevisionOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Constructs a new instance of ApplyRevisionOptions | ##### Properties | Property | Description | | :- | :- | | changes | The list of revisions processed, which will be applied to the resulting document. | | common_handler | Indicates whether to apply one action for all revisions | ### ApplyRevisionOptions constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/applyrevisionoptions/__init__.md #### __init__ Constructs a new instance of ApplyRevisionOptions ```python def __init__(self): ... ``` ### changes property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/applyrevisionoptions/changes.md #### changes property The list of revisions processed, which will be applied to the resulting document. ##### Definition: ```python @property def changes(self): ... @changes.setter def changes(self, value): ... ``` ### common_handler property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/applyrevisionoptions/common_handler.md #### common_handler property Indicates whether to apply one action for all revisions ##### Definition: ```python @property def common_handler(self): ... @common_handler.setter def common_handler(self, value): ... ``` ### RevisionAction enumeration Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisionaction.md #### RevisionAction enumeration Action that can be applied to a revision. The RevisionAction type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Nothing to do. | | ACCEPT | The revision will be displayed if it is of type INSERTION or will be removed if the type is DELETION. | | REJECT | The revision will be removed if it is of type INSERTION or will be displayed if the type is DELETION. | ### RevisionHandler class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisionhandler.md #### RevisionHandler class Represents the main class that controls revision handling. The RevisionHandler type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes new instance of `RevisionHandler` class with the path to the file with revisions. | | __init__ | Initializes new instance of `RevisionHandler` class with a file stream with revisions. | ##### Methods | Method | Description | | :- | :- | | apply_revision_changes | Processes changes in revisions and applies them to the same file from which the revisions were taken. | | apply_revision_changes | Processes changes in revisions, and the result is written to the specified file by path. | | apply_revision_changes | Processes changes in revisions and the result is written to the document stream. | | get_revisions | Gets list of all revisions. | ### RevisionHandler constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisionhandler/__init__.md #### __init__ Initializes new instance of `RevisionHandler` class with the path to the file with revisions. ```python def __init__(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | System.String | File path | #### __init__ Initializes new instance of `RevisionHandler` class with a file stream with revisions. ```python def __init__(self, file): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file | io.RawIOBase | Source document stream | ### apply_revision_changes method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisionhandler/apply_revision_changes.md #### apply_revision_changes Processes changes in revisions and applies them to the same file from which the revisions were taken. ```python def apply_revision_changes(self, changes): ... ``` | Parameter | Type | Description | | :- | :- | :- | | changes | groupdocs.comparison.words.revision.ApplyRevisionOptions | List of changed revisions | #### apply_revision_changes Processes changes in revisions, and the result is written to the specified file by path. ```python def apply_revision_changes(self, file_path, changes): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | System.String | Result file path | | changes | groupdocs.comparison.words.revision.ApplyRevisionOptions | List of changed revisions | #### apply_revision_changes Processes changes in revisions and the result is written to the document stream. ```python def apply_revision_changes(self, document, changes): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | io.RawIOBase | Result document | | changes | groupdocs.comparison.words.revision.ApplyRevisionOptions | List of changed revisions | ### get_revisions method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisionhandler/get_revisions.md #### get_revisions Gets list of all revisions. ```python def get_revisions(self): ... ``` ### RevisionInfo class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisioninfo.md #### RevisionInfo class Provides information about one revision. The RevisionInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Constructs a new instance of RevisionInfo | ##### Properties | Property | Description | | :- | :- | | action | Action (accept or reject). This field allows you to influence the display of the revision. | | text | The text that is in revision. | | author | Author of revision. | | type | RevisionHandler type, depending on the type the Action (accept or reject) logic changes. | ### RevisionInfo constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisioninfo/__init__.md #### __init__ Constructs a new instance of RevisionInfo ```python def __init__(self): ... ``` ### action property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisioninfo/action.md #### action property Action (accept or reject). This field allows you to influence the display of the revision. ##### Definition: ```python @property def action(self): ... @action.setter def action(self, value): ... ``` ### author property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisioninfo/author.md #### author property Author of revision. ##### Definition: ```python @property def author(self): ... ``` ### text property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisioninfo/text.md #### text property The text that is in revision. ##### Definition: ```python @property def text(self): ... ``` ### type property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisioninfo/type.md #### type property RevisionHandler type, depending on the type the Action (accept or reject) logic changes. ##### Definition: ```python @property def type(self): ... ``` ### RevisionType enumeration Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.revision/revisiontype.md #### RevisionType enumeration Specifies the type of change being tracked. The RevisionType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | INSERTION | New content was inserted in the document. | | DELETION | Content was removed from the document. | | FORMAT_CHANGE | Change of formatting was applied to the parent node. | | STYLE_DEFINITION_CHANGE | Change of formatting was applied to the parent style. | | MOVING | Content was moved in the document. | ### groupdocs.comparison.words Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.words.md ### groupdocs.comparison Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison.md Main GroupDocs.Comparison namespace with top-level API classes. ##### Classes | Class | Description | | :- | :- | | `Comparer` | | | `ComparerSettings` | | | `Document` | | | `License` | Manages GroupDocs.Comparison licensing. | | `Metered` | Manages metered (pay-per-use) licensing. | ##### Exceptions | Exception | Description | | :- | :- | | `ComparisonException` | | | `DocumentComparisonException` | | | `FileFormatException` | | | `GroupDocsComparisonException` | Product-root exception for 'comparison' — every | | `InvalidPasswordException` | | | `PasswordProtectedFileException` | | | `UnsupportedFileFormatException` | | ### Comparer class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer.md #### Comparer class The Comparer type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _add_stream | | | _add_stream_load_options | | | _add_string | | | _add_string_compare_options | | | _add_string_load_options | | | _apply_changes_stream_apply_change_options | | | _apply_changes_stream_save_options_apply_change_options | | | _apply_changes_string_apply_change_options | | | _apply_changes_string_save_options_apply_change_options | | | _compare_compare_options | | | _compare_directory_string_compare_options | | | _compare_noargs | | | _compare_save_options_compare_options | | | _compare_stream | | | _compare_stream_compare_options | | | _compare_stream_save_options | | | _compare_stream_save_options_compare_options | | | _compare_string | | | _compare_string_compare_options | | | _compare_string_save_options | | | _compare_string_save_options_compare_options | | | _dispose_noargs | | | _get_changes_change_type | | | _get_changes_get_change_options | | | _get_changes_noargs | | | _get_result_document_stream_noargs | | | _get_result_string_noargs | | | _init_stream | | | _init_stream_comparer_settings | | | _init_stream_load_options | | | _init_stream_load_options_comparer_settings | | | _init_string | | | _init_string_compare_options | | | _init_string_comparer_settings | | | _init_string_load_options | | | _init_string_load_options_comparer_settings | | | add | | | add_file | | | add_stream | | | add_streams | | | add_string | | | apply_changes | | | apply_changes_file | | | apply_changes_stream | | | apply_changes_streams | | | apply_changes_string | | | compare | | | compare_compare_options | | | compare_directory | | | compare_directory_file | | | compare_directory_string | | | compare_file | | | compare_save_options | | | compare_stream | | | compare_streams | | | compare_string | | | dispose | | | get_changes | | | get_changes_change_type | | | get_changes_get_change_options | | | get_result_document_stream | | | get_result_string | | ##### Properties | Property | Description | | :- | :- | | result | | | source | | | source_folder | | | source_folder | | | target_folder | | | target_folder | | | targets | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _add_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_add_stream.md #### _add_stream ```python def _add_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | ### _add_stream_load_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_add_stream_load_options.md #### _add_stream_load_options ```python def _add_stream_load_options(self, document, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | load_options | `LoadOptions` | | ### _add_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_add_string.md #### _add_string ```python def _add_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _add_string_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_add_string_compare_options.md #### _add_string_compare_options ```python def _add_string_compare_options(self, file_path, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | compare_options | `CompareOptions` | | ### _add_string_load_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_add_string_load_options.md #### _add_string_load_options ```python def _add_string_load_options(self, file_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `LoadOptions` | | ### _apply_changes_stream_apply_change_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_apply_changes_stream_apply_change_options.md #### _apply_changes_stream_apply_change_options ```python def _apply_changes_stream_apply_change_options(self, stream, apply_change_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | | apply_change_options | `ApplyChangeOptions` | | ### _apply_changes_stream_save_options_apply_change_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_apply_changes_stream_save_options_apply_change_options.md #### _apply_changes_stream_save_options_apply_change_options ```python def _apply_changes_stream_save_options_apply_change_options(self, stream, save_options, apply_change_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | | save_options | `SaveOptions` | | | apply_change_options | `ApplyChangeOptions` | | ### _apply_changes_string_apply_change_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_apply_changes_string_apply_change_options.md #### _apply_changes_string_apply_change_options ```python def _apply_changes_string_apply_change_options(self, file_path, apply_change_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | apply_change_options | `ApplyChangeOptions` | | ### _apply_changes_string_save_options_apply_change_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_apply_changes_string_save_options_apply_change_options.md #### _apply_changes_string_save_options_apply_change_options ```python def _apply_changes_string_save_options_apply_change_options(self, file_path, save_options, apply_change_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | save_options | `SaveOptions` | | | apply_change_options | `ApplyChangeOptions` | | ### _compare_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_compare_options.md #### _compare_compare_options ```python def _compare_compare_options(self, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | compare_options | `CompareOptions` | | **Returns:** Document ### _compare_directory_string_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_directory_string_compare_options.md #### _compare_directory_string_compare_options ```python def _compare_directory_string_compare_options(self, file_path, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | compare_options | `CompareOptions` | | ### _compare_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_noargs.md #### _compare_noargs ```python def _compare_noargs(self): ... ``` **Returns:** Document ### _compare_save_options_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_save_options_compare_options.md #### _compare_save_options_compare_options ```python def _compare_save_options_compare_options(self, save_options, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | save_options | `SaveOptions` | | | compare_options | `CompareOptions` | | **Returns:** Document ### _compare_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_stream.md #### _compare_stream ```python def _compare_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | **Returns:** Document ### _compare_stream_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_stream_compare_options.md #### _compare_stream_compare_options ```python def _compare_stream_compare_options(self, document, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | compare_options | `CompareOptions` | | **Returns:** Document ### _compare_stream_save_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_stream_save_options.md #### _compare_stream_save_options ```python def _compare_stream_save_options(self, document, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | save_options | `SaveOptions` | | **Returns:** Document ### _compare_stream_save_options_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_stream_save_options_compare_options.md #### _compare_stream_save_options_compare_options ```python def _compare_stream_save_options_compare_options(self, stream, save_options, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | | save_options | `SaveOptions` | | | compare_options | `CompareOptions` | | **Returns:** Document ### _compare_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_string.md #### _compare_string ```python def _compare_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | **Returns:** Document ### _compare_string_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_string_compare_options.md #### _compare_string_compare_options ```python def _compare_string_compare_options(self, file_path, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | compare_options | `CompareOptions` | | **Returns:** Document ### _compare_string_save_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_string_save_options.md #### _compare_string_save_options ```python def _compare_string_save_options(self, file_path, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | save_options | `SaveOptions` | | **Returns:** Document ### _compare_string_save_options_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_compare_string_save_options_compare_options.md #### _compare_string_save_options_compare_options ```python def _compare_string_save_options_compare_options(self, file_path, save_options, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | save_options | `SaveOptions` | | | compare_options | `CompareOptions` | | **Returns:** Document ### _dispose_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_dispose_noargs.md #### _dispose_noargs ```python def _dispose_noargs(self): ... ``` ### _get_changes_change_type method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_get_changes_change_type.md #### _get_changes_change_type ```python def _get_changes_change_type(self, filter): ... ``` | Parameter | Type | Description | | :- | :- | :- | | filter | `ChangeType` | | **Returns:** List[ChangeInfo] ### _get_changes_get_change_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_get_changes_get_change_options.md #### _get_changes_get_change_options ```python def _get_changes_get_change_options(self, get_change_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | get_change_options | `GetChangeOptions` | | **Returns:** List[ChangeInfo] ### _get_changes_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_get_changes_noargs.md #### _get_changes_noargs ```python def _get_changes_noargs(self): ... ``` **Returns:** List[ChangeInfo] ### _get_result_document_stream_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_get_result_document_stream_noargs.md #### _get_result_document_stream_noargs ```python def _get_result_document_stream_noargs(self): ... ``` **Returns:** Stream ### _get_result_string_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_get_result_string_noargs.md #### _get_result_string_noargs ```python def _get_result_string_noargs(self): ... ``` **Returns:** str ### _init_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_stream.md #### _init_stream ```python def _init_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | ### _init_stream_comparer_settings method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_stream_comparer_settings.md #### _init_stream_comparer_settings ```python def _init_stream_comparer_settings(self, document, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | settings | `ComparerSettings` | | ### _init_stream_load_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_stream_load_options.md #### _init_stream_load_options ```python def _init_stream_load_options(self, document, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | load_options | `LoadOptions` | | ### _init_stream_load_options_comparer_settings method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_stream_load_options_comparer_settings.md #### _init_stream_load_options_comparer_settings ```python def _init_stream_load_options_comparer_settings(self, document, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | load_options | `LoadOptions` | | | settings | `ComparerSettings` | | ### _init_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_string.md #### _init_string ```python def _init_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _init_string_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_string_compare_options.md #### _init_string_compare_options ```python def _init_string_compare_options(self, folder_path, compare_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | folder_path | `str` | | | compare_options | `CompareOptions` | | ### _init_string_comparer_settings method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_string_comparer_settings.md #### _init_string_comparer_settings ```python def _init_string_comparer_settings(self, file_path, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | settings | `ComparerSettings` | | ### _init_string_load_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_string_load_options.md #### _init_string_load_options ```python def _init_string_load_options(self, file_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `LoadOptions` | | ### _init_string_load_options_comparer_settings method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/_init_string_load_options_comparer_settings.md #### _init_string_load_options_comparer_settings ```python def _init_string_load_options_comparer_settings(self, file_path, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `LoadOptions` | | | settings | `ComparerSettings` | | ### add method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/add.md #### add ```python def add(self): ... ``` ### add_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/add_file.md #### add_file ```python def add_file(self): ... ``` ### add_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/add_stream.md #### add_stream ```python def add_stream(self): ... ``` ### add_streams method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/add_streams.md #### add_streams ```python def add_streams(self): ... ``` ### add_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/add_string.md #### add_string ```python def add_string(self): ... ``` ### apply_changes method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/apply_changes.md #### apply_changes ```python def apply_changes(self): ... ``` ### apply_changes_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/apply_changes_file.md #### apply_changes_file ```python def apply_changes_file(self): ... ``` ### apply_changes_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/apply_changes_stream.md #### apply_changes_stream ```python def apply_changes_stream(self): ... ``` ### apply_changes_streams method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/apply_changes_streams.md #### apply_changes_streams ```python def apply_changes_streams(self): ... ``` ### apply_changes_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/apply_changes_string.md #### apply_changes_string ```python def apply_changes_string(self): ... ``` ### compare method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare.md #### compare ```python def compare(self): ... ``` ### compare_compare_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_compare_options.md #### compare_compare_options ```python def compare_compare_options(self): ... ``` ### compare_directory method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_directory.md #### compare_directory ```python def compare_directory(self): ... ``` ### compare_directory_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_directory_file.md #### compare_directory_file ```python def compare_directory_file(self): ... ``` ### compare_directory_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_directory_string.md #### compare_directory_string ```python def compare_directory_string(self): ... ``` ### compare_file method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_file.md #### compare_file ```python def compare_file(self): ... ``` ### compare_save_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_save_options.md #### compare_save_options ```python def compare_save_options(self): ... ``` ### compare_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_stream.md #### compare_stream ```python def compare_stream(self): ... ``` ### compare_streams method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_streams.md #### compare_streams ```python def compare_streams(self): ... ``` ### compare_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/compare_string.md #### compare_string ```python def compare_string(self): ... ``` ### dispose method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/dispose.md #### dispose ```python def dispose(self): ... ``` ### get_changes method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/get_changes.md #### get_changes ```python def get_changes(self): ... ``` ### get_changes_change_type method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/get_changes_change_type.md #### get_changes_change_type ```python def get_changes_change_type(self): ... ``` ### get_changes_get_change_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/get_changes_get_change_options.md #### get_changes_get_change_options ```python def get_changes_get_change_options(self): ... ``` ### get_result_document_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/get_result_document_stream.md #### get_result_document_stream ```python def get_result_document_stream(self): ... ``` ### get_result_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/get_result_string.md #### get_result_string ```python def get_result_string(self): ... ``` ### result property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/result.md ##### Definition: ```python @property def result(self): ... ``` ### source property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/source.md ##### Definition: ```python @property def source(self): ... ``` ### source_folder property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/source_folder.md ##### Definition: ```python @property def source_folder(self): ... ``` ### target_folder property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/target_folder.md ##### Definition: ```python @property def target_folder(self): ... @target_folder.setter def target_folder(self, value): ... ``` ### targets property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparer/targets.md ##### Definition: ```python @property def targets(self): ... ``` ### ComparerSettings class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparersettings.md #### ComparerSettings class The ComparerSettings type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | logger | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparersettings/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparersettings/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### logger property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparersettings/logger.md ##### Definition: ```python @property def logger(self): ... @logger.setter def logger(self, value): ... ``` ### ComparisonException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/comparisonexception.md #### ComparisonException class The ComparisonException type exposes the following members: ### Document class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document.md #### Document class The Document type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _generate_preview_preview_options | | | _get_document_info_noargs | | | _init_stream | | | _init_stream_string | | | _init_string | | | _init_string_string | | | generate_preview | | | generate_preview_preview_options | | | get_document_info | | ##### Properties | Property | Description | | :- | :- | | changes | | | file_type | | | name | | | password | | | stream | | ### __init__ constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _generate_preview_preview_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/_generate_preview_preview_options.md #### _generate_preview_preview_options ```python def _generate_preview_preview_options(self, preview_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | preview_options | `PreviewOptions` | | ### _get_document_info_noargs method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/_get_document_info_noargs.md #### _get_document_info_noargs ```python def _get_document_info_noargs(self): ... ``` **Returns:** IDocumentInfo ### _init_stream method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/_init_stream.md #### _init_stream ```python def _init_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | ### _init_stream_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/_init_stream_string.md #### _init_stream_string ```python def _init_stream_string(self, stream, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | | password | `str` | | ### _init_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/_init_string.md #### _init_string ```python def _init_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _init_string_string method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/_init_string_string.md #### _init_string_string ```python def _init_string_string(self, file_path, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | password | `str` | | ### changes property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/changes.md ##### Definition: ```python @property def changes(self): ... @changes.setter def changes(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/file_type.md ##### Definition: ```python @property def file_type(self): ... ``` ### generate_preview method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/generate_preview.md #### generate_preview ```python def generate_preview(self): ... ``` ### generate_preview_preview_options method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/generate_preview_preview_options.md #### generate_preview_preview_options ```python def generate_preview_preview_options(self): ... ``` ### get_document_info method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/get_document_info.md #### get_document_info ```python def get_document_info(self): ... ``` ### name property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/name.md ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/password.md ##### Definition: ```python @property def password(self): ... ``` ### stream property Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/document/stream.md ##### Definition: ```python @property def stream(self): ... ``` ### DocumentComparisonException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/documentcomparisonexception.md #### DocumentComparisonException class The DocumentComparisonException type exposes the following members: ### FileFormatException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/fileformatexception.md #### FileFormatException class The FileFormatException type exposes the following members: ### GroupDocsComparisonException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/groupdocscomparisonexception.md #### GroupDocsComparisonException class Product-root exception for 'comparison' — every generated exception subclasses this, and callers can ``except GroupDocsComparisonException:`` as a catch-all for this product without catching other GroupDocs errors. The GroupDocsComparisonException type exposes the following members: ### InvalidPasswordException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/invalidpasswordexception.md #### InvalidPasswordException class The InvalidPasswordException type exposes the following members: ### License class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/license.md #### License class Manages GroupDocs.Comparison licensing. Licensed builds unlock the full feature set of the wrapper at runtime. Unlicensed builds run in evaluation mode with the same API surface but with limits on output size and watermarked content. The License type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_license | Apply a license to the current process. | ### License constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/license/__init__.md #### __init__ Constructs a new instance of License ```python def __init__(self): ... ``` ### set_license method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/license/set_license.md #### set_license Apply a license to the current process. ```python def set_license(self, license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | Either a string path to a ``.lic`` file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. | | Raises | Description | | :- | :- | | `TypeError` | If ``license_source`` is neither a string path nor a readable file-like object. | ### Metered class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/metered.md #### Metered class Manages metered (pay-per-use) licensing. Metered licenses bill on actual consumption (typically pages or documents processed). Set the public/private key pair once at application startup; the wrapper reports usage back to the GroupDocs license server in the background. The Metered type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_consumption_credit | Return the remaining metered credit for the current key. | | get_consumption_quantity | Return the total metered quantity consumed so far. | | set_metered_key | Activate metered billing with the given public/private key pair. | ### Metered constructor Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/metered/__init__.md #### __init__ Initializes a new instance of the `Metered` class. ```python def __init__(self): ... ``` ### get_consumption_credit method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/metered/get_consumption_credit.md #### get_consumption_credit Return the remaining metered credit for the current key. ```python def get_consumption_credit(): ... ``` **Returns:** float: The remaining credit balance reported by the license server. ### get_consumption_quantity method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/metered/get_consumption_quantity.md #### get_consumption_quantity Return the total metered quantity consumed so far. ```python def get_consumption_quantity(): ... ``` **Returns:** float: The cumulative usage (typically in pages or documents) recorded against the current metered key. ### set_metered_key method Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/metered/set_metered_key.md #### set_metered_key Activate metered billing with the given public/private key pair. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | | The public key half of the metered credentials. | | private_key | | The private key half of the metered credentials. | ### PasswordProtectedFileException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/passwordprotectedfileexception.md #### PasswordProtectedFileException class The PasswordProtectedFileException type exposes the following members: ### UnsupportedFileFormatException class Path: https://reference.groupdocs.com/comparison/python-net/groupdocs.comparison/unsupportedfileformatexception.md #### UnsupportedFileFormatException class The UnsupportedFileFormatException type exposes the following members: # GroupDocs.Conversion > Convert between 170+ document and image formats — PDF, Office, CAD, email, and more. ## Java ### GroupDocs.Conversion for Java Path: https://reference.groupdocs.com/conversion/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.conversion | The scope for GroupDocs.Conversion classes | | com.groupdocs.conversion.caching | The GroupDocs.Conversion.Caching namespace provides classes for customizing caching behaviour. | | com.groupdocs.conversion.contracts | The GroupDocs.Conversion.Contracts namespace provides members to instantiate and release output document, manage font substitutions etc. | | com.groupdocs.conversion.contracts.documentinfo | The GroupDocs.Conversion.Contracts.Documentinfo namespace provides metadata for a document. | | com.groupdocs.conversion.exceptions | The GroupDocs.Conversion.Exceptions namespace provides different exceptions classes. | | com.groupdocs.conversion.filetypes | The GroupDocs.Conversion.FileTypes namespace provides classes which represent supported file types. | | com.groupdocs.conversion.fluent | | | com.groupdocs.conversion.integration.audio | | | com.groupdocs.conversion.integration.ocr | The GroupDocs.Conversion.Integration.Ocr package provides metadata for a OCR. | | com.groupdocs.conversion.integration.video | | | com.groupdocs.conversion.licensing | The GroupDocs.Conversion.Legacy.Licensing namespace provides classes for applying of the license | | com.groupdocs.conversion.logging | The GroupDocs.Conversion.Logging namespace provides classes for customizing logging behaviour. | | com.groupdocs.conversion.options.convert | The GroupDocs.Conversion.Options.Convert namespace provides classes to specify additional options for document conversion process. | | com.groupdocs.conversion.options.load | The GroupDocs.Conversion.Options.Load namespace provides classes to specify additional options for document loading process. | | com.groupdocs.conversion.reporting | The GroupDocs.Conversion.Options.Load namespace provides classes to implement converter listening. | ### com.groupdocs.conversion.caching Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.caching.md The GroupDocs.Conversion.Caching namespace provides classes for customizing caching behaviour. **Learn more** More about caching and optimizing conversion process performance: Caching conversion results #### Classes | Class | Description | | --- | --- | | FileCache | File caching behaviour. | | MemoryCache | Memory caching behaviour. | #### Interfaces | Interface | Description | | --- | --- | | ICache | Defines methods required for storing rendered document and document resources \\u0441ache. | ### FileCache Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.caching/filecache.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.caching.ICache ``` public final class FileCache implements ICache ``` File caching behaviour. Means that cache is stored on the file system **Learn more** More about caching and optimizing conversion process performance: Caching conversion results #### Constructors | Constructor | Description | | --- | --- | | FileCache(String cachePath) | Creates new instance of FileCache class | #### Methods | Method | Description | | --- | --- | | set(String key, Object value) | Inserts a cache entry into the cache. | | tryGetValue(String key) | Gets the entry associated with this key if present. | | getKeys(String filter) | Returns all keys matching filter. | ##### FileCache(String cachePath) ``` public FileCache(String cachePath) ``` Creates new instance of FileCache class **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cachePath | java.lang.String | Relative or absolute path where document cache will be stored | ##### set(String key, Object value) ``` public void set(String key, Object value) ``` Inserts a cache entry into the cache. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A unique identifier for the cache entry. | | value | java.lang.Object | The object to insert. | ##### tryGetValue(String key) ``` public Object tryGetValue(String key) ``` Gets the entry associated with this key if present. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A key identifying the requested entry. | **Returns:** java.lang.Object - Object if the key was found or else null. ##### getKeys(String filter) ``` public Iterable getKeys(String filter) ``` Returns all keys matching filter. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filter | java.lang.String | The filter to use. | **Returns:** java.lang.Iterable - Keys matching the filter. ### ICache Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.caching/icache.md ### MemoryCache Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.caching/memorycache.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.caching.ICache ``` public class MemoryCache implements ICache ``` Memory caching behaviour. Means that cache is stored in the memory **Learn more** More about caching and optimizing conversion process performance: Caching conversion results #### Constructors | Constructor | Description | | --- | --- | | MemoryCache() | Creates new instance of MemoryCache class | #### Methods | Method | Description | | --- | --- | | set(String key, Object value) | Inserts a cache entry into the cache. | | tryGetValue(String key) | Gets the entry associated with this key if present. | | getKeys(String filter) | Returns all keys matching filter. | ##### MemoryCache() ``` public MemoryCache() ``` Creates new instance of MemoryCache class ##### set(String key, Object value) ``` public void set(String key, Object value) ``` Inserts a cache entry into the cache. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A unique identifier for the cache entry. | | value | java.lang.Object | The object to insert. | ##### tryGetValue(String key) ``` public Object tryGetValue(String key) ``` Gets the entry associated with this key if present. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A key identifying the requested entry. | **Returns:** java.lang.Object - The located value or null. ##### getKeys(String filter) ``` public Iterable getKeys(String filter) ``` Returns all keys matching filter. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filter | java.lang.String | he filter to use. | **Returns:** java.lang.Iterable - Keys matching the filter. ### com.groupdocs.conversion.contracts.documentinfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo.md The GroupDocs.Conversion.Contracts.Documentinfo namespace provides metadata for a document. #### Classes | Class | Description | | --- | --- | | AudioDocumentInfo | Contains Audio document metadata | | CadDocumentInfo | Contains Cad document metadata | | CgmDocumentInfo | Contains Cgm document metadata | | CsvDocumentInfo | Contains Csv document metadata | | DiagramDocumentInfo | Contains Diagram document metadata | | DjVuDocumentInfo | Contains DjVu document metadata | | DocumentInfo | Provides base implementation for retrieving polymorphic document information | | EmailDocumentInfo | Contains Email document metadata | | EpsDocumentInfo | Contains Ps document metadata | | EpubDocumentInfo | Contains Epub document metadata | | FontDocumentInfo | Contains Font document metadata | | IcoDocumentInfo | Contains Ico document metadata | | ImageDocumentInfo | Contains Image document metadata | | JsonDocumentInfo | Contains Json document metadata | | MarkdownDocumentInfo | Contains Md document metadata | | NoteDocumentInfo | Contains Note document metadata | | PasswordProtectedDocumentInfo | Provided document is password protected | | PclDocumentInfo | Contains Pcl document metadata | | PdfDocumentInfo | Contains Pdf document metadata | | PersonalStorageDocumentInfo | Contains personal storage document metadata | | PersonalStorageFolderInfo | Personal Storage Folder info | | PresentationDocumentInfo | Contains Presentation document metadata | | ProjectManagementDocumentInfo | Contains ProjectManagement document metadata | | PsDocumentInfo | Contains Ps document metadata | | PsdDocumentInfo | Contains Psd document metadata | | PublisherDocumentInfo | Contains Publisher document metadata | | SpreadsheetDocumentInfo | Contains Spreadsheet document metadata | | SvgDocumentInfo | Contains Svg document metadata | | TableOfContentsItem | Contains Table of contents item metadata | | TexDocumentInfo | Contains Tex document metadata | | TsvDocumentInfo | Contains Tsv document metadata | | TxtDocumentInfo | Contains Txt document metadata | | VcfDocumentInfo | Contains Vcf document metadata | | VideoDocumentInfo | Contains Video document metadata | | WebDocumentInfo | Contains Web document metadata | | WordProcessingDocumentInfo | Contains Wordprocessing document metadata | | XmlDocumentInfo | Contains Xml document metadata | | XpsDocumentInfo | Contains Xps document metadata | | XslFoDocumentInfo | Contains XslFo document metadata | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Contains metadata for a document. | ### AudioDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/audiodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class AudioDocumentInfo extends DocumentInfo ``` Contains Audio document metadata #### Constructors | Constructor | Description | | --- | --- | | AudioDocumentInfo(FileType format, long size) | | ##### AudioDocumentInfo(FileType format, long size) ``` public AudioDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### CadDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/caddocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class CadDocumentInfo extends DocumentInfo ``` Contains Cad document metadata #### Constructors | Constructor | Description | | --- | --- | | CadDocumentInfo(Image cad, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getWidth() | width | | getHeight() | height | | getLayouts() | layouts in the document | | getLayers() | layers in the document | ##### CadDocumentInfo(Image cad, FileType format, long size) ``` public CadDocumentInfo(Image cad, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cad | com.aspose.cad.Image | | | format | FileType | | | size | long | | ##### getWidth() ``` public int getWidth() ``` width **Returns:** int - width ##### getHeight() ``` public int getHeight() ``` height **Returns:** int - height ##### getLayouts() ``` public List getLayouts() ``` layouts in the document **Returns:** java.util.List - layouts in the document ##### getLayers() ``` public List getLayers() ``` layers in the document **Returns:** java.util.List - layers in the document ### CgmDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/cgmdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class CgmDocumentInfo extends PdfDocumentInfo ``` Contains Cgm document metadata #### Constructors | Constructor | Description | | --- | --- | | CgmDocumentInfo(Document cgm, FileType format, long size) | | ##### CgmDocumentInfo(Document cgm, FileType format, long size) ``` public CgmDocumentInfo(Document cgm, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cgm | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### CsvDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/csvdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.SpreadsheetDocumentInfo ``` public class CsvDocumentInfo extends SpreadsheetDocumentInfo ``` Contains Csv document metadata #### Constructors | Constructor | Description | | --- | --- | | CsvDocumentInfo(Workbook csv, FileType format, long size) | | ##### CsvDocumentInfo(Workbook csv, FileType format, long size) ``` public CsvDocumentInfo(Workbook csv, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | csv | com.aspose.cells.Workbook | | | format | FileType | | | size | long | | ### DiagramDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/diagramdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class DiagramDocumentInfo extends DocumentInfo ``` Contains Diagram document metadata #### Constructors | Constructor | Description | | --- | --- | | DiagramDocumentInfo(Diagram diagram, FileType format, long size) | | ##### DiagramDocumentInfo(Diagram diagram, FileType format, long size) ``` public DiagramDocumentInfo(Diagram diagram, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | diagram | com.aspose.diagram.Diagram | | | format | FileType | | | size | long | | ### DjVuDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/djvudocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.ImageDocumentInfo ``` public class DjVuDocumentInfo extends ImageDocumentInfo ``` Contains DjVu document metadata #### Constructors | Constructor | Description | | --- | --- | | DjVuDocumentInfo(DjvuImage image, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getVerticalResolution() | Gets vertical resolution | | getHorizontalResolution() | Get horizontal resolution | | getOpacity() | Gets image opacity | ##### DjVuDocumentInfo(DjvuImage image, FileType format, long size) ``` public DjVuDocumentInfo(DjvuImage image, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | com.aspose.imaging.fileformats.djvu.DjvuImage | | | format | FileType | | | size | long | | ##### getVerticalResolution() ``` public double getVerticalResolution() ``` Gets vertical resolution **Returns:** double - vertical resolution ##### getHorizontalResolution() ``` public double getHorizontalResolution() ``` Get horizontal resolution **Returns:** double - horizontal resolution ##### getOpacity() ``` public float getOpacity() ``` Gets image opacity **Returns:** float - image opacity ### DocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/documentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.contracts.documentinfo.IDocumentInfo ``` public abstract class DocumentInfo implements IDocumentInfo ``` Provides base implementation for retrieving polymorphic document information #### Methods | Method | Description | | --- | --- | | getPropertyNames() | {@inheritDoc} | | getProperty(String propertyName) | {@inheritDoc} | | getPagesCount() | {@inheritDoc} | | getFormat() | {@inheritDoc} | | getSize() | {@inheritDoc} | | getCreationDate() | {@inheritDoc} | ##### getPropertyNames() ``` public List getPropertyNames() ``` List of all properties which could be get for the current document info **Returns:** java.util.List ##### getProperty(String propertyName) ``` public String getProperty(String propertyName) ``` Get value for a property provided as a key **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | | **Returns:** java.lang.String ##### getPagesCount() ``` public int getPagesCount() ``` Document pages count. **Returns:** int ##### getFormat() ``` public String getFormat() ``` Document format **Returns:** java.lang.String ##### getSize() ``` public long getSize() ``` Document size in bytes **Returns:** long ##### getCreationDate() ``` public Date getCreationDate() ``` Document creation date **Returns:** java.util.Date ### EmailDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/emaildocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class EmailDocumentInfo extends DocumentInfo ``` Contains Email document metadata #### Constructors | Constructor | Description | | --- | --- | | EmailDocumentInfo(MailMessage mail, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | isSigned() | Gets is signed | | isEncrypted() | Gets is encrypted | | isHtml() | Gets is html | | getAttachmentsCount() | Gets attachments count | | getAttachmentsNames() | Gets attachments names | ##### EmailDocumentInfo(MailMessage mail, FileType format, long size) ``` public EmailDocumentInfo(MailMessage mail, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mail | com.aspose.email.MailMessage | | | format | FileType | | | size | long | | ##### isSigned() ``` public boolean isSigned() ``` Gets is signed **Returns:** boolean - true if is signed ##### isEncrypted() ``` public boolean isEncrypted() ``` Gets is encrypted **Returns:** boolean - true if is encrypted ##### isHtml() ``` public boolean isHtml() ``` Gets is html **Returns:** boolean - true if is html ##### getAttachmentsCount() ``` public int getAttachmentsCount() ``` Gets attachments count **Returns:** int - attachments count ##### getAttachmentsNames() ``` public List getAttachmentsNames() ``` Gets attachments names **Returns:** java.util.List - attachments names ### EpsDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/epsdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.ImageDocumentInfo ``` public class EpsDocumentInfo extends ImageDocumentInfo ``` Contains Ps document metadata #### Constructors | Constructor | Description | | --- | --- | | EpsDocumentInfo(Image ps, FileType format, long size) | | ##### EpsDocumentInfo(Image ps, FileType format, long size) ``` public EpsDocumentInfo(Image ps, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ps | com.aspose.imaging.Image | | | format | FileType | | | size | long | | ### EpubDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/epubdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class EpubDocumentInfo extends PdfDocumentInfo ``` Contains Epub document metadata #### Constructors | Constructor | Description | | --- | --- | | EpubDocumentInfo(Document epub, FileType format, long size) | | ##### EpubDocumentInfo(Document epub, FileType format, long size) ``` public EpubDocumentInfo(Document epub, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | epub | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### FontDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/fontdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class FontDocumentInfo extends DocumentInfo ``` Contains Font document metadata #### Constructors | Constructor | Description | | --- | --- | | FontDocumentInfo(FileType format, long size) | | ##### FontDocumentInfo(FileType format, long size) ``` public FontDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### IcoDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/icodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.ImageDocumentInfo ``` public class IcoDocumentInfo extends ImageDocumentInfo ``` Contains Ico document metadata #### Constructors | Constructor | Description | | --- | --- | | IcoDocumentInfo(Image ico, FileType format, long size) | | ##### IcoDocumentInfo(Image ico, FileType format, long size) ``` public IcoDocumentInfo(Image ico, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ico | com.aspose.imaging.Image | | | format | FileType | | | size | long | | ### IDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/idocumentinfo.md ### ImageDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/imagedocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class ImageDocumentInfo extends DocumentInfo ``` Contains Image document metadata #### Constructors | Constructor | Description | | --- | --- | | ImageDocumentInfo(Image image, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getBitsPerPixel() | Gets bits per pixel | | getHeight() | Gets height | | getWidth() | Gets width | ##### ImageDocumentInfo(Image image, FileType format, long size) ``` public ImageDocumentInfo(Image image, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | com.aspose.imaging.Image | | | format | FileType | | | size | long | | ##### getBitsPerPixel() ``` public int getBitsPerPixel() ``` Gets bits per pixel **Returns:** int - bits per pixel ##### getHeight() ``` public int getHeight() ``` Gets height **Returns:** int - height ##### getWidth() ``` public int getWidth() ``` Gets width **Returns:** int - width ### JsonDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/jsondocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class JsonDocumentInfo extends DocumentInfo ``` Contains Json document metadata #### Constructors | Constructor | Description | | --- | --- | | JsonDocumentInfo(FileType format, long size) | | ##### JsonDocumentInfo(FileType format, long size) ``` public JsonDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### MarkdownDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/markdowndocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.WordProcessingDocumentInfo ``` public class MarkdownDocumentInfo extends WordProcessingDocumentInfo ``` Contains Md document metadata #### Constructors | Constructor | Description | | --- | --- | | MarkdownDocumentInfo(Document txt, FileType format, long size) | | ##### MarkdownDocumentInfo(Document txt, FileType format, long size) ``` public MarkdownDocumentInfo(Document txt, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | txt | com.aspose.words.Document | | | format | FileType | | | size | long | | ### NoteDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/notedocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class NoteDocumentInfo extends DocumentInfo ``` Contains Note document metadata #### Constructors | Constructor | Description | | --- | --- | | NoteDocumentInfo(Document note, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getTitle() | Gets title | ##### NoteDocumentInfo(Document note, FileType format, long size) ``` public NoteDocumentInfo(Document note, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | note | com.aspose.note.Document | | | format | FileType | | | size | long | | ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ### PasswordProtectedDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/passwordprotecteddocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PasswordProtectedDocumentInfo extends DocumentInfo ``` Provided document is password protected #### Constructors | Constructor | Description | | --- | --- | | PasswordProtectedDocumentInfo(FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | isPasswordProtected() | Gets is document password protected | ##### PasswordProtectedDocumentInfo(FileType format, long size) ``` public PasswordProtectedDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is document password protected **Returns:** boolean ### PclDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/pcldocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PclDocumentInfo extends DocumentInfo ``` Contains Pcl document metadata #### Constructors | Constructor | Description | | --- | --- | | PclDocumentInfo(Document pcl, FileType format, long size) | | ##### PclDocumentInfo(Document pcl, FileType format, long size) ``` public PclDocumentInfo(Document pcl, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pcl | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### PdfDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/pdfdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PdfDocumentInfo extends DocumentInfo ``` Contains Pdf document metadata #### Constructors | Constructor | Description | | --- | --- | | PdfDocumentInfo(Document pdf, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getVersion() | Gets version | | getTitle() | Gets title | | getAuthor() | Gets author | | isPasswordProtected() | Gets is encrypted | | isLandscape() | Gets is page landscaped | | getHeight() | Gets page height | | getWidth() | Gets page width | | getTableOfContents() | Gets Table of contents | | setTableOfContents(List tableOfContents) | Sets Table of contents | ##### PdfDocumentInfo(Document pdf, FileType format, long size) ``` public PdfDocumentInfo(Document pdf, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pdf | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ##### getVersion() ``` public String getVersion() ``` Gets version **Returns:** java.lang.String - version ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is encrypted **Returns:** boolean - true if encrypted ##### isLandscape() ``` public boolean isLandscape() ``` Gets is page landscaped **Returns:** boolean - true if page is landscaped ##### getHeight() ``` public double getHeight() ``` Gets page height **Returns:** double - page height ##### getWidth() ``` public double getWidth() ``` Gets page width **Returns:** double - page width ##### getTableOfContents() ``` public List getTableOfContents() ``` Gets Table of contents **Returns:** java.util.List - Table of contents ##### setTableOfContents(List tableOfContents) ``` public void setTableOfContents(List tableOfContents) ``` Sets Table of contents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tableOfContents | java.util.List | Table of contents | ### PersonalStorageDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/personalstoragedocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PersonalStorageDocumentInfo extends DocumentInfo ``` Contains personal storage document metadata #### Constructors | Constructor | Description | | --- | --- | | PersonalStorageDocumentInfo(PersonalStorage storage, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | isPasswordProtected() | Is storage password protected | | getRootFolderName() | Root folder name | | getContentCount() | Get count of contents in the root folder | | getFolders() | Folders in the storage | ##### PersonalStorageDocumentInfo(PersonalStorage storage, FileType format, long size) ``` public PersonalStorageDocumentInfo(PersonalStorage storage, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | storage | com.aspose.email.PersonalStorage | | | format | FileType | | | size | long | | ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Is storage password protected **Returns:** boolean ##### getRootFolderName() ``` public String getRootFolderName() ``` Root folder name **Returns:** java.lang.String - Root folder name ##### getContentCount() ``` public int getContentCount() ``` Get count of contents in the root folder **Returns:** int - count of contents in the root folder ##### getFolders() ``` public List getFolders() ``` Folders in the storage **Returns:** java.util.List - Folders in the storage ### PersonalStorageFolderInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/personalstoragefolderinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public class PersonalStorageFolderInfo extends ValueObject ``` Personal Storage Folder info #### Constructors | Constructor | Description | | --- | --- | | PersonalStorageFolderInfo(String name, List items) | | #### Fields | Field | Description | | --- | --- | | items | | #### Methods | Method | Description | | --- | --- | | getName() | Name of the folder | | getItemsCount() | Count of the items in the folder | | getSubFolders() | | | getItems() | | | toString() | String representation of personal storage folder info | ##### PersonalStorageFolderInfo(String name, List items) ``` public PersonalStorageFolderInfo(String name, List items) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | | items | java.util.List | | ##### items ``` public List items ``` ##### getName() ``` public String getName() ``` Name of the folder **Returns:** java.lang.String ##### getItemsCount() ``` public int getItemsCount() ``` Count of the items in the folder **Returns:** int ##### getSubFolders() ``` public List getSubFolders() ``` **Returns:** java.util.List ##### getItems() ``` public List getItems() ``` **Returns:** java.util.List ##### toString() ``` public String toString() ``` String representation of personal storage folder info **Returns:** java.lang.String - String representation of personal storage folder info in format FolderName (ItemsCount) ### PresentationDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/presentationdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PresentationDocumentInfo extends DocumentInfo ``` Contains Presentation document metadata #### Constructors | Constructor | Description | | --- | --- | | PresentationDocumentInfo(Presentation presentation, FileType format, long size, boolean isPasswordProtected) | | #### Methods | Method | Description | | --- | --- | | getTitle() | Gets title | | setTitle(String title) | Sets title | | getAuthor() | Gets author | | setAuthor(String author) | Sets author | | isPasswordProtected() | Gets is the document password protected | ##### PresentationDocumentInfo(Presentation presentation, FileType format, long size, boolean isPasswordProtected) ``` public PresentationDocumentInfo(Presentation presentation, FileType format, long size, boolean isPasswordProtected) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | presentation | com.aspose.slides.Presentation | | | format | FileType | | | size | long | | | isPasswordProtected | boolean | | ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### setTitle(String title) ``` public void setTitle(String title) ``` Sets title **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | title | java.lang.String | title | ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### setAuthor(String author) ``` public void setAuthor(String author) ``` Sets author **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | author | java.lang.String | author | ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is the document password protected **Returns:** boolean - `true` if document is password protected ### ProjectManagementDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/projectmanagementdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class ProjectManagementDocumentInfo extends DocumentInfo ``` Contains ProjectManagement document metadata #### Constructors | Constructor | Description | | --- | --- | | ProjectManagementDocumentInfo(Project project, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getTasksCount() | Gets task count | | getStartDate() | Gets Project start date | | getEndDate() | Gets Project end date | ##### ProjectManagementDocumentInfo(Project project, FileType format, long size) ``` public ProjectManagementDocumentInfo(Project project, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | project | com.aspose.tasks.Project | | | format | FileType | | | size | long | | ##### getTasksCount() ``` public int getTasksCount() ``` Gets task count **Returns:** int - task count ##### getStartDate() ``` public Date getStartDate() ``` Gets Project start date **Returns:** java.util.Date - Project start date ##### getEndDate() ``` public Date getEndDate() ``` Gets Project end date **Returns:** java.util.Date - Project end date ### PsdDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/psddocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PsdDocumentInfo extends DocumentInfo ``` Contains Psd document metadata #### Constructors | Constructor | Description | | --- | --- | | PsdDocumentInfo(Image image, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getBitsPerPixel() | Gets bits per pixel | | getHeight() | Gets height | | getWidth() | Gets width | ##### PsdDocumentInfo(Image image, FileType format, long size) ``` public PsdDocumentInfo(Image image, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | com.aspose.psd.Image | | | format | FileType | | | size | long | | ##### getBitsPerPixel() ``` public int getBitsPerPixel() ``` Gets bits per pixel **Returns:** int - bits per pixel ##### getHeight() ``` public int getHeight() ``` Gets height **Returns:** int - height ##### getWidth() ``` public int getWidth() ``` Gets width **Returns:** int - width ### PsDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/psdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PsDocumentInfo extends DocumentInfo ``` Contains Ps document metadata #### Constructors | Constructor | Description | | --- | --- | | PsDocumentInfo(Document ps, FileType format, long size) | | ##### PsDocumentInfo(Document ps, FileType format, long size) ``` public PsDocumentInfo(Document ps, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ps | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### PublisherDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/publisherdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PublisherDocumentInfo extends DocumentInfo ``` Contains Publisher document metadata #### Constructors | Constructor | Description | | --- | --- | | PublisherDocumentInfo(FileType format, long size) | | ##### PublisherDocumentInfo(FileType format, long size) ``` public PublisherDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### SpreadsheetDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/spreadsheetdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class SpreadsheetDocumentInfo extends DocumentInfo ``` Contains Spreadsheet document metadata #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getTitle() | Gets title | | getWorksheetsCount() | Gets worksheets count | | getAuthor() | Gets author | | isPasswordProtected() | Gets is document password protected | | getWorksheets() | Worksheets names | | setWorksheets(List worksheets) | | ##### SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) ``` public SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | spreadsheet | com.aspose.cells.Workbook | | | isPasswordProtected | boolean | | | format | FileType | | | size | long | | ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### getWorksheetsCount() ``` public int getWorksheetsCount() ``` Gets worksheets count **Returns:** int - worksheets count ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is document password protected **Returns:** boolean - true if document is password protected ##### getWorksheets() ``` public List getWorksheets() ``` Worksheets names **Returns:** java.util.List ##### setWorksheets(List worksheets) ``` public void setWorksheets(List worksheets) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheets | java.util.List | | ### SvgDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/svgdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class SvgDocumentInfo extends DocumentInfo ``` Contains Svg document metadata #### Constructors | Constructor | Description | | --- | --- | | SvgDocumentInfo(FileType format, long size) | | ##### SvgDocumentInfo(FileType format, long size) ``` public SvgDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### TableOfContentsItem Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/tableofcontentsitem.md **Inheritance:** java.lang.Object ``` public class TableOfContentsItem ``` Contains Table of contents item metadata #### Constructors | Constructor | Description | | --- | --- | | TableOfContentsItem(String title, int page) | Default constructor | #### Methods | Method | Description | | --- | --- | | getTitle() | Bookmark title | | getPage() | Bookmark page | ##### TableOfContentsItem(String title, int page) ``` public TableOfContentsItem(String title, int page) ``` Default constructor **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | title | java.lang.String | title | | page | int | page | ##### getTitle() ``` public String getTitle() ``` Bookmark title **Returns:** java.lang.String - Bookmark title ##### getPage() ``` public int getPage() ``` Bookmark page **Returns:** int - Bookmark page ### TexDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/texdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class TexDocumentInfo extends DocumentInfo ``` Contains Tex document metadata #### Constructors | Constructor | Description | | --- | --- | | TexDocumentInfo(Document tex, FileType format, long size) | | ##### TexDocumentInfo(Document tex, FileType format, long size) ``` public TexDocumentInfo(Document tex, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tex | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### TsvDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/tsvdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.SpreadsheetDocumentInfo ``` public class TsvDocumentInfo extends SpreadsheetDocumentInfo ``` Contains Tsv document metadata #### Constructors | Constructor | Description | | --- | --- | | TsvDocumentInfo(Workbook tsv, FileType format, long size) | | ##### TsvDocumentInfo(Workbook tsv, FileType format, long size) ``` public TsvDocumentInfo(Workbook tsv, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tsv | com.aspose.cells.Workbook | | | format | FileType | | | size | long | | ### TxtDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/txtdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.WordProcessingDocumentInfo ``` public class TxtDocumentInfo extends WordProcessingDocumentInfo ``` Contains Txt document metadata #### Constructors | Constructor | Description | | --- | --- | | TxtDocumentInfo(Document txt, FileType format, long size) | | ##### TxtDocumentInfo(Document txt, FileType format, long size) ``` public TxtDocumentInfo(Document txt, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | txt | com.aspose.words.Document | | | format | FileType | | | size | long | | ### VcfDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/vcfdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class VcfDocumentInfo extends DocumentInfo ``` Contains Vcf document metadata #### Constructors | Constructor | Description | | --- | --- | | VcfDocumentInfo(List vcf, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getContactsCount() | | ##### VcfDocumentInfo(List vcf, FileType format, long size) ``` public VcfDocumentInfo(List vcf, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | vcf | java.util.List | | | format | FileType | | | size | long | | ##### getContactsCount() ``` public int getContactsCount() ``` **Returns:** int ### VideoDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/videodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class VideoDocumentInfo extends DocumentInfo ``` Contains Video document metadata #### Constructors | Constructor | Description | | --- | --- | | VideoDocumentInfo(FileType format, long size) | | ##### VideoDocumentInfo(FileType format, long size) ``` public VideoDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### WebDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/webdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class WebDocumentInfo extends DocumentInfo ``` Contains Web document metadata #### Constructors | Constructor | Description | | --- | --- | | WebDocumentInfo(System.IO.Stream document, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getEncoding() | | ##### WebDocumentInfo(System.IO.Stream document, FileType format, long size) ``` public WebDocumentInfo(System.IO.Stream document, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | com.aspose.ms.System.IO.Stream | | | format | FileType | | | size | long | | ##### getEncoding() ``` public System.Text.Encoding getEncoding() ``` **Returns:** com.aspose.ms.System.Text.Encoding ### WordProcessingDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/wordprocessingdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class WordProcessingDocumentInfo extends DocumentInfo ``` Contains Wordprocessing document metadata #### Constructors | Constructor | Description | | --- | --- | | WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getWords() | Gets words count | | getLines() | Gets lines count | | getTitle() | Gets title | | getAuthor() | Gets author | | isPasswordProtected() | Gets is document password protected | | getTableOfContents() | Table of contents | ##### WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) ``` public WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | wordprocessing | com.aspose.words.Document | | | isPasswordProtected | boolean | | | format | FileType | | | size | long | | ##### getWords() ``` public int getWords() ``` Gets words count **Returns:** int - words count ##### getLines() ``` public int getLines() ``` Gets lines count **Returns:** int - lines count ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is document password protected **Returns:** boolean - `true` if document is password protected ##### getTableOfContents() ``` public List getTableOfContents() ``` Table of contents **Returns:** java.util.List - Table of contents ### XmlDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/xmldocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class XmlDocumentInfo extends DocumentInfo ``` Contains Xml document metadata #### Constructors | Constructor | Description | | --- | --- | | XmlDocumentInfo(FileType format, long size) | | ##### XmlDocumentInfo(FileType format, long size) ``` public XmlDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### XpsDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/xpsdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class XpsDocumentInfo extends PdfDocumentInfo ``` Contains Xps document metadata #### Constructors | Constructor | Description | | --- | --- | | XpsDocumentInfo(Document xps, FileType format, long size) | | ##### XpsDocumentInfo(Document xps, FileType format, long size) ``` public XpsDocumentInfo(Document xps, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xps | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### XslFoDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.documentinfo/xslfodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class XslFoDocumentInfo extends PdfDocumentInfo ``` Contains XslFo document metadata #### Constructors | Constructor | Description | | --- | --- | | XslFoDocumentInfo(Document xslfo, FileType format, long size) | | ##### XslFoDocumentInfo(Document xslfo, FileType format, long size) ``` public XslFoDocumentInfo(Document xslfo, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xslfo | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### com.groupdocs.conversion.contracts Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts.md The GroupDocs.Conversion.Contracts namespace provides members to instantiate and release output document, manage font substitutions etc. #### Classes | Class | Description | | --- | --- | | ConversionPair | Represents conversion pair | | Enumeration | Generic enumeration class. | | FontSubstitute | Describes substitution for missing font. | | PossibleConversions | Represents a mapping what conversion pairs are supported for specific source file format | | TargetConversion | Represents possible target conversion and a flag is it a primary or secondary | | ValueObject | Abstract value object class. | #### Interfaces | Interface | Description | | --- | --- | | ConvertOptionsProvider | Describes delegate to provide convert options for specific source document. | | ConvertedDocumentStream | Describes delegate to receive converted document stream. | | ConvertedPageStream | Describes delegate to receive converted page stream. | | ConverterSettingsProvider | Supplier for ConverterSettings | | DocumentStreamProvider | Supplier for InputStream | | DocumentStreamsProvider | Supplier for InputStream array | | IDocument | Interface for documents | | SaveDocumentStream | Describes delegate for saving converted document into output stream. | | SaveDocumentStreamForFileType | Describes delegate for saving converted document into stream. | | SavePageStream | Describes delegate for saving converted document page into stream. | | SavePageStreamForFileType | Describes delegate for saving converted document page into stream. | ### ConversionPair Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/conversionpair.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public class ConversionPair extends ValueObject ``` Represents conversion pair #### Fields | Field | Description | | --- | --- | | NULL | | #### Methods | Method | Description | | --- | --- | | createPrimary(FileType source, FileType target) | Creates primary conversion pair | | createPrimary(List sources, List targets) | Creates primary conversion pairs | | createPrimary(List sources, List targets, Pair[] excludedPairs) | | | createSecondary(FileType source, FileType target) | Creates secondary conversion pair | | createSecondary(Iterable sources, Iterable targets) | Creates secondary conversion pairs | | getEqualityComponents() | Equality components | | toString() | Conversion pair string representation | | getSource() | Source file format | | getTarget() | Target file format | | isPrimary() | Primary conversion pair or not | ##### NULL ``` public static final ConversionPair NULL ``` ##### createPrimary(FileType source, FileType target) ``` public static ConversionPair createPrimary(FileType source, FileType target) ``` Creates primary conversion pair **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | FileType | source | | target | FileType | target | **Returns:** ConversionPair - ConversionPair ##### createPrimary(List sources, List targets) ``` public static List createPrimary(List sources, List targets) ``` Creates primary conversion pairs **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sources | java.util.List | sources file type | | targets | java.util.List | targets file type | **Returns:** java.util.List - primary conversion pairs ##### createPrimary(List sources, List targets, Pair[] excludedPairs) ``` public static List createPrimary(List sources, List targets, Pair[] excludedPairs) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sources | java.util.List | | | targets | java.util.List | | | excludedPairs | com.groupdocs.conversion.contracts.Pair[] | | **Returns:** java.util.List ##### createSecondary(FileType source, FileType target) ``` public static ConversionPair createSecondary(FileType source, FileType target) ``` Creates secondary conversion pair **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | FileType | source file type | | target | FileType | target file type | **Returns:** ConversionPair - secondary conversion pair ##### createSecondary(Iterable sources, Iterable targets) ``` public static List createSecondary(Iterable sources, Iterable targets) ``` Creates secondary conversion pairs **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sources | java.lang.Iterable | sources file type | | targets | java.lang.Iterable | targets file type | **Returns:** java.util.List - secondary conversion pairs ##### getEqualityComponents() ``` public System.Collections.Generic.IGenericEnumerable getEqualityComponents() ``` Equality components **Returns:** com.aspose.ms.System.Collections.Generic.IGenericEnumerable - equality components ##### toString() ``` public String toString() ``` Conversion pair string representation **Returns:** java.lang.String - string ##### getSource() ``` public FileType getSource() ``` Source file format **Returns:** FileType - source file format ##### getTarget() ``` public FileType getTarget() ``` Target file format **Returns:** FileType - target file format ##### isPrimary() ``` public boolean isPrimary() ``` Primary conversion pair or not **Returns:** boolean - true if primary, else if not ### ConvertedDocumentStream Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/converteddocumentstream.md ### ConvertedPageStream Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/convertedpagestream.md ### ConverterSettingsProvider Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/convertersettingsprovider.md **All Implemented Interfaces:** java.util.function.Supplier ``` public interface ConverterSettingsProvider extends Supplier ``` Supplier for ConverterSettings ### ConvertOptionsProvider Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/convertoptionsprovider.md ### DocumentStreamProvider Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/documentstreamprovider.md **All Implemented Interfaces:** java.util.function.Supplier ``` public interface DocumentStreamProvider extends Supplier ``` Supplier for InputStream ### DocumentStreamsProvider Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/documentstreamsprovider.md **All Implemented Interfaces:** java.util.function.Supplier ``` public interface DocumentStreamsProvider extends Supplier ``` Supplier for InputStream array ### Enumeration Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/enumeration.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Comparable, java.io.Serializable, com.aspose.ms.System.IEquatable ``` public abstract class Enumeration implements Comparable, Serializable, System.IEquatable ``` Generic enumeration class. TKey : #### Methods | Method | Description | | --- | --- | | toString() | Returns a string that represents the current object. | | getAll(Class typeOfT) | Returns all enumeration values. | | equals(Object obj) | Determines whether two object instances are equal. | | equals(Enumeration other) | Determines whether two object instances are equal. | | hashCode() | Serves as the default hash function. | | fromValue(Class typeOfT, String value) | Returns object by key. | | fromDisplayName(Class typeOfT, String displayName) | Returns object by display name. | | compareTo(Object obj) | Compares current object to other. | | op_Equality(Enumeration left, Enumeration right) | Equality operator. | | op_Inequality(Enumeration left, Enumeration right) | Inequality operator. | ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - String representation ##### getAll(Class typeOfT) ``` public static List getAll(Class typeOfT) ``` Returns all enumeration values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | **Returns:** java.util.List - Enumerable of the provided type T : Enumerated object type. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### equals(Enumeration other) ``` public boolean equals(Enumeration other) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Enumeration | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current object. ##### fromValue(Class typeOfT, String value) ``` public static T fromValue(Class typeOfT, String value) ``` Returns object by key. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | value | java.lang.String | The value | **Returns:** T - The object ##### fromDisplayName(Class typeOfT, String displayName) ``` public static T fromDisplayName(Class typeOfT, String displayName) ``` Returns object by display name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | displayName | java.lang.String | The display name | **Returns:** T - The object ##### compareTo(Object obj) ``` public final int compareTo(Object obj) ``` Compares current object to other. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The other object | **Returns:** int - zero if equal ##### op_Equality(Enumeration left, Enumeration right) ``` public static boolean op_Equality(Enumeration left, Enumeration right) ``` Equality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Enumeration | The first object | | right | Enumeration | The second object | **Returns:** boolean - true if objects are equal ##### op_Inequality(Enumeration left, Enumeration right) ``` public static boolean op_Inequality(Enumeration left, Enumeration right) ``` Inequality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Enumeration | The first object | | right | Enumeration | The second object | **Returns:** boolean - true if objects are not equal ### FontSubstitute Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/fontsubstitute.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public class FontSubstitute extends ValueObject implements Serializable ``` Describes substitution for missing font. #### Methods | Method | Description | | --- | --- | | create(String originalFont, String substituteWith) | Instantiate new font substitution pair. | | getOriginalFontName() | The original font name. | | getSubstituteFontName() | The substitute font name. | ##### create(String originalFont, String substituteWith) ``` public static FontSubstitute create(String originalFont, String substituteWith) ``` Instantiate new font substitution pair. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | originalFont | java.lang.String | Font from the source document. | | substituteWith | java.lang.String | Font which will be used to replace originalFont. | **Returns:** FontSubstitute - substitution pair ##### getOriginalFontName() ``` public String getOriginalFontName() ``` The original font name. **Returns:** java.lang.String - the original font name. ##### getSubstituteFontName() ``` public String getSubstituteFontName() ``` The substitute font name. **Returns:** java.lang.String - the substitute font name. ### IDocument Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/idocument.md **All Implemented Interfaces:** com.aspose.ms.System.IDisposable, com.groupdocs.conversion.contracts.IDocumentSave ``` public interface IDocument extends System.IDisposable, IDocumentSave ``` Interface for documents #### Methods | Method | Description | | --- | --- | | getFormat() | | | getContentStream() | | | getLoadOptions() | | | getInfo() | | | getSize() | | | getPagesCount() | | | ensureLoaded() | | ##### getFormat() ``` public abstract FileType getFormat() ``` **Returns:** FileType ##### getContentStream() ``` public abstract System.IO.MemoryStream getContentStream() ``` **Returns:** com.aspose.ms.System.IO.MemoryStream ##### getLoadOptions() ``` public abstract LoadOptions getLoadOptions() ``` **Returns:** LoadOptions ##### getInfo() ``` public abstract IDocumentInfo getInfo() ``` **Returns:** IDocumentInfo ##### getSize() ``` public abstract long getSize() ``` **Returns:** long ##### getPagesCount() ``` public abstract int getPagesCount() ``` **Returns:** int ##### ensureLoaded() ``` public abstract void ensureLoaded() ``` ### PossibleConversions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/possibleconversions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public final class PossibleConversions extends ValueObject ``` Represents a mapping what conversion pairs are supported for specific source file format #### Constructors | Constructor | Description | | --- | --- | | PossibleConversions(FileType source) | Creates possible conversion list for specified source file format | #### Fields | Field | Description | | --- | --- | | NULL | | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | Predefined load options which could be used to convert from current type | | getAll() | All target file types and primary/secondary flag | | getTargetConversion(FileType target) | Returns target conversion for specified target file type | | getTargetConversion(String extension) | | | getPrimary() | Primary target file types | | getSecondary() | Secondary target file types | | add(ConversionPair pair) | Add conversion pair | | forTarget(FileType target) | Find conversion pair in current list for target file type | | getSource() | Source file formats | ##### PossibleConversions(FileType source) ``` public PossibleConversions(FileType source) ``` Creates possible conversion list for specified source file format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | FileType | source file type | ##### NULL ``` public static final PossibleConversions NULL ``` ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Predefined load options which could be used to convert from current type **Returns:** LoadOptions - load options ##### getAll() ``` public Iterable getAll() ``` All target file types and primary/secondary flag **Returns:** java.lang.Iterable - Iterable of TargetConversion ##### getTargetConversion(FileType target) ``` public TargetConversion getTargetConversion(FileType target) ``` Returns target conversion for specified target file type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | target | FileType | target file type | **Returns:** TargetConversion - conversions ##### getTargetConversion(String extension) ``` public TargetConversion getTargetConversion(String extension) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | | **Returns:** TargetConversion ##### getPrimary() ``` public Iterable getPrimary() ``` Primary target file types **Returns:** java.lang.Iterable - primary target file types ##### getSecondary() ``` public Iterable getSecondary() ``` Secondary target file types **Returns:** java.lang.Iterable - secondary target file types ##### add(ConversionPair pair) ``` public void add(ConversionPair pair) ``` Add conversion pair **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pair | ConversionPair | conversion pair | ##### forTarget(FileType target) ``` public ConversionPair forTarget(FileType target) ``` Find conversion pair in current list for target file type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | target | FileType | target file type | **Returns:** ConversionPair - conversion pair ##### getSource() ``` public FileType getSource() ``` Source file formats **Returns:** FileType - file formats ### SaveDocumentStream Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/savedocumentstream.md ### SaveDocumentStreamForFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/savedocumentstreamforfiletype.md ### SavePageStream Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/savepagestream.md ### SavePageStreamForFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/savepagestreamforfiletype.md ### TargetConversion Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/targetconversion.md **Inheritance:** java.lang.Object ``` public final class TargetConversion ``` Represents possible target conversion and a flag is it a primary or secondary #### Methods | Method | Description | | --- | --- | | getFormat() | Target document format | | isPrimary() | Is the conversion primary | | getConvertOptions() | Predefined convert options which could be used to convert to current type | ##### getFormat() ``` public FileType getFormat() ``` Target document format **Returns:** FileType - Target document format ##### isPrimary() ``` public boolean isPrimary() ``` Is the conversion primary **Returns:** boolean - `true` if primary ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Predefined convert options which could be used to convert to current type **Returns:** ConvertOptions - convert options ### ValueObject Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.contracts/valueobject.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable, java.io.Serializable ``` public abstract class ValueObject implements System.IEquatable, Serializable ``` Abstract value object class. #### Constructors | Constructor | Description | | --- | --- | | ValueObject() | | #### Methods | Method | Description | | --- | --- | | equals(Object obj) | Determines whether two object instances are equal. | | equals(ValueObject other) | Determines whether two object instances are equal. | | hashCode() | Serves as the default hash function. | | op_Equality(ValueObject a, ValueObject b) | Equality operator. | | op_Inequality(ValueObject a, ValueObject b) | Inequality operator. | ##### ValueObject() ``` public ValueObject() ``` ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### equals(ValueObject other) ``` public final boolean equals(ValueObject other) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ValueObject | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current object. ##### op_Equality(ValueObject a, ValueObject b) ``` public static boolean op_Equality(ValueObject a, ValueObject b) ``` Equality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | a | ValueObject | The first object | | b | ValueObject | The second object | **Returns:** boolean - true if objects are equal ##### op_Inequality(ValueObject a, ValueObject b) ``` public static boolean op_Inequality(ValueObject a, ValueObject b) ``` Inequality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | a | ValueObject | The first object | | b | ValueObject | The second object | **Returns:** boolean - true if objects are not equal ### com.groupdocs.conversion.exceptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions.md The GroupDocs.Conversion.Exceptions namespace provides different exceptions classes. #### Classes | Class | Description | | --- | --- | | ConversionNotSupportedException | GroupDocs exception thrown when the conversion from source file to target file type is not supported | | CorruptOrDamagedFileException | GroupDocs exception thrown when the file is corrupt or damaged | | FileTypeNotSupportedException | GroupDocs exception thrown when the file type is not supported | | FontSubstituteException | Thrown if font substitute is illegal | | GroupDocsConversionException | GroupDocs.Conversion general exception | | IncorrectPasswordException | GroupDocs exception thrown when the file is password protected, password is provided but is incorrect | | InvalidConvertOptionsException | Thrown if provided convert options are invalid | | InvalidConverterSettingsException | Thrown if provided converter settings are invalid | | PasswordRequiredException | GroupDocs exception thrown when the file is password protected and password is not provided | ### ConversionNotSupportedException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/conversionnotsupportedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class ConversionNotSupportedException extends GroupDocsConversionException ``` GroupDocs exception thrown when the conversion from source file to target file type is not supported #### Constructors | Constructor | Description | | --- | --- | | ConversionNotSupportedException() | Default constructor | | ConversionNotSupportedException(FileType source, FileType target) | Creates an exception instance with a source FileType and a target Filetype | | ConversionNotSupportedException(String message) | Creates an exception instance with a message | ##### ConversionNotSupportedException() ``` public ConversionNotSupportedException() ``` Default constructor ##### ConversionNotSupportedException(FileType source, FileType target) ``` public ConversionNotSupportedException(FileType source, FileType target) ``` Creates an exception instance with a source FileType and a target Filetype **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | FileType | The source file type | | target | FileType | The target file type | ##### ConversionNotSupportedException(String message) ``` public ConversionNotSupportedException(String message) ``` Creates an exception instance with a message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ### CorruptOrDamagedFileException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/corruptordamagedfileexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class CorruptOrDamagedFileException extends GroupDocsConversionException ``` GroupDocs exception thrown when the file is corrupt or damaged #### Constructors | Constructor | Description | | --- | --- | | CorruptOrDamagedFileException() | Default constructor | | CorruptOrDamagedFileException(FileType fileType) | Creates an exception instance with a FileType | | CorruptOrDamagedFileException(String message) | Creates an exception instance with a message | | CorruptOrDamagedFileException(String message, RuntimeException exception) | Creates an exception instance with a message and propagates the inner exception | ##### CorruptOrDamagedFileException() ``` public CorruptOrDamagedFileException() ``` Default constructor ##### CorruptOrDamagedFileException(FileType fileType) ``` public CorruptOrDamagedFileException(FileType fileType) ``` Creates an exception instance with a FileType **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type | ##### CorruptOrDamagedFileException(String message) ``` public CorruptOrDamagedFileException(String message) ``` Creates an exception instance with a message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ##### CorruptOrDamagedFileException(String message, RuntimeException exception) ``` public CorruptOrDamagedFileException(String message, RuntimeException exception) ``` Creates an exception instance with a message and propagates the inner exception **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | | exception | java.lang.RuntimeException | The inner exception | ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/filetypenotsupportedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class FileTypeNotSupportedException extends GroupDocsConversionException ``` GroupDocs exception thrown when the file type is not supported #### Constructors | Constructor | Description | | --- | --- | | FileTypeNotSupportedException() | Default constructor | | FileTypeNotSupportedException(FileType fileType) | Creates an exception instance with a FileType | | FileTypeNotSupportedException(String message) | Creates an exception instance with a message | ##### FileTypeNotSupportedException() ``` public FileTypeNotSupportedException() ``` Default constructor ##### FileTypeNotSupportedException(FileType fileType) ``` public FileTypeNotSupportedException(FileType fileType) ``` Creates an exception instance with a FileType **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type | ##### FileTypeNotSupportedException(String message) ``` public FileTypeNotSupportedException(String message) ``` Creates an exception instance with a message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ### FontSubstituteException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/fontsubstituteexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class FontSubstituteException extends GroupDocsConversionException ``` Thrown if font substitute is illegal #### Constructors | Constructor | Description | | --- | --- | | FontSubstituteException() | Default constructor | | FontSubstituteException(String message) | Creates an exception with a specific message | ##### FontSubstituteException() ``` public FontSubstituteException() ``` Default constructor ##### FontSubstituteException(String message) ``` public FontSubstituteException(String message) ``` Creates an exception with a specific message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ### GroupDocsConversionException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/groupdocsconversionexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception ``` public class GroupDocsConversionException extends System.Exception ``` GroupDocs.Conversion general exception #### Constructors | Constructor | Description | | --- | --- | | GroupDocsConversionException() | Default constructor | | GroupDocsConversionException(String message) | Creates an exception with a specific message | | GroupDocsConversionException(String message, RuntimeException exception) | Create an exception with a specific message and propagate the inner exception | ##### GroupDocsConversionException() ``` public GroupDocsConversionException() ``` Default constructor ##### GroupDocsConversionException(String message) ``` public GroupDocsConversionException(String message) ``` Creates an exception with a specific message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ##### GroupDocsConversionException(String message, RuntimeException exception) ``` public GroupDocsConversionException(String message, RuntimeException exception) ``` Create an exception with a specific message and propagate the inner exception **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | | exception | java.lang.RuntimeException | The inner exception | ### IncorrectPasswordException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/incorrectpasswordexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class IncorrectPasswordException extends GroupDocsConversionException ``` GroupDocs exception thrown when the file is password protected, password is provided but is incorrect #### Constructors | Constructor | Description | | --- | --- | | IncorrectPasswordException() | Default constructor | | IncorrectPasswordException(FileType fileType) | Creates an exception instance with a FileType | | IncorrectPasswordException(String message) | Creates an exception instance with a message | ##### IncorrectPasswordException() ``` public IncorrectPasswordException() ``` Default constructor ##### IncorrectPasswordException(FileType fileType) ``` public IncorrectPasswordException(FileType fileType) ``` Creates an exception instance with a FileType **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type | ##### IncorrectPasswordException(String message) ``` public IncorrectPasswordException(String message) ``` Creates an exception instance with a message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ### InvalidConverterSettingsException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/invalidconvertersettingsexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class InvalidConverterSettingsException extends GroupDocsConversionException ``` Thrown if provided converter settings are invalid #### Constructors | Constructor | Description | | --- | --- | | InvalidConverterSettingsException() | Default constructor | | InvalidConverterSettingsException(String message) | Creates an exception with a specific message | ##### InvalidConverterSettingsException() ``` public InvalidConverterSettingsException() ``` Default constructor ##### InvalidConverterSettingsException(String message) ``` public InvalidConverterSettingsException(String message) ``` Creates an exception with a specific message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ### InvalidConvertOptionsException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/invalidconvertoptionsexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class InvalidConvertOptionsException extends GroupDocsConversionException ``` Thrown if provided convert options are invalid #### Constructors | Constructor | Description | | --- | --- | | InvalidConvertOptionsException() | Default constructor | | InvalidConvertOptionsException(String message) | Creates an exception with a specific message | ##### InvalidConvertOptionsException() ``` public InvalidConvertOptionsException() ``` Default constructor ##### InvalidConvertOptionsException(String message) ``` public InvalidConvertOptionsException(String message) ``` Creates an exception with a specific message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ### PasswordRequiredException Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.exceptions/passwordrequiredexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException ``` public final class PasswordRequiredException extends GroupDocsConversionException ``` GroupDocs exception thrown when the file is password protected and password is not provided #### Constructors | Constructor | Description | | --- | --- | | PasswordRequiredException() | Default constructor | | PasswordRequiredException(FileType fileType) | Creates an exception instance with a FileType | | PasswordRequiredException(String message) | Creates an exception instance with a message | ##### PasswordRequiredException() ``` public PasswordRequiredException() ``` Default constructor ##### PasswordRequiredException(FileType fileType) ``` public PasswordRequiredException(FileType fileType) ``` Creates an exception instance with a FileType **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type | ##### PasswordRequiredException(String message) ``` public PasswordRequiredException(String message) ``` Creates an exception instance with a message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message | ### com.groupdocs.conversion.filetypes Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes.md The GroupDocs.Conversion.FileTypes namespace provides classes which represent supported file types. #### Classes | Class | Description | | --- | --- | | AudioFileType | Defines Audio documents Includes the following types: , , , , , , , , , Learn more about audio formats [here](https://docs.fileformat.com/audio/). | | CadFileType | Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. | | DatabaseFileType | Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. | | DiagramFileType | Defines Diagram documents. | | EBookFileType | Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. | | EmailFileType | Defines Email file formats that are used by email applications to store their various data including email messages, attachments, folders, address books etc. | | FileType | File type base class | | FontFileType | Defines Font documents. | | ImageFileType | Defines image documents. | | NoteFileType | Defines Note-taking formats. | | PageDescriptionLanguageFileType | Defines Page description documents. | | PdfFileType | Defines Pdf documents. | | PresentationFileType | Defines Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. | | ProjectManagementFileType | Defines Project file formats that are created by Project Management software such as Microsoft Project, Primavera P6 etc. | | PublisherFileType | Defines Publisher documents. | | SpreadsheetFileType | Defines Spreadsheet documents. | | VideoFileType | Defines Video documents Includes the following types: , , , , , , , Learn more about video formats [here](https://docs.fileformat.com/video/). | | WebFileType | Defines Web documents. | | WordProcessingFileType | Defines Word Processing files that contain user information in plain text or rich text format. | ### AudioFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/audiofiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public class AudioFileType extends FileType ``` Defines Audio documents Includes the following types: , , , , , , , , , Learn more about audio formats here. #### Constructors | Constructor | Description | | --- | --- | | AudioFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Mp3 | Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. | | Aac | AAC (Advanced Audio Coding) refers to digital audio coding standard that represent audio files based on lossy audio compression. | | Aiff | The AIFF (Audio Interchange File Format) is an uncompressed audio file format developed by Apple in 1998, but is based on EA IFF 85 Learn more about this file format here. | | Flac | FLAC(Free Lossless Audio Codec) is a lossless compression audio coding format developed by Xiph.Org Foundation Learn more about this file format here. | | M4a | The M4A file format is an audio file created by using the AAC (Advanced Audio Coding) which is known as a lossy compression. | | Wma | A file with .wma extension represents an audio file that is saved in the Advanced Systems Format (ASF) format. | | Ac3 | A file with a .ac3 extension is an Audio Codec 3 file, introduced by Dolby Laboratories. | | Ogg | OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. | | Wav | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | ##### AudioFileType() ``` public AudioFileType() ``` Serialization constructor ##### Mp3 ``` public static final AudioFileType Mp3 ``` Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format here. ##### Aac ``` public static final AudioFileType Aac ``` AAC (Advanced Audio Coding) refers to digital audio coding standard that represent audio files based on lossy audio compression. Learn more about this file format here. ##### Aiff ``` public static final AudioFileType Aiff ``` The AIFF (Audio Interchange File Format) is an uncompressed audio file format developed by Apple in 1998, but is based on EA IFF 85 Learn more about this file format here. ##### Flac ``` public static final AudioFileType Flac ``` FLAC(Free Lossless Audio Codec) is a lossless compression audio coding format developed by Xiph.Org Foundation Learn more about this file format here. ##### M4a ``` public static final AudioFileType M4a ``` The M4A file format is an audio file created by using the AAC (Advanced Audio Coding) which is known as a lossy compression. Learn more about this file format here. ##### Wma ``` public static final AudioFileType Wma ``` A file with .wma extension represents an audio file that is saved in the Advanced Systems Format (ASF) format. Learn more about this file format here. ##### Ac3 ``` public static final AudioFileType Ac3 ``` A file with a .ac3 extension is an Audio Codec 3 file, introduced by Dolby Laboratories. It is an audio format that can contain up to six channels of audio output. Learn more about this file format here. ##### Ogg ``` public static final AudioFileType Ogg ``` OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. Learn more about this file format here. ##### Wav ``` public static final AudioFileType Wav ``` WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ### CadFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/cadfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class CadFileType extends FileType implements Serializable ``` Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: Dgn, Dwf, Dwg, Dwt, Dxf, Ifc, Igs, Plt, Stl. Cf2. Dwfx. Learn more about CAD formats here. #### Constructors | Constructor | Description | | --- | --- | | CadFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Dxf | DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. | | Dwg | DFiles with DWG extension represent proprietary binary files used for containing 2D and 3D design data. | | Dgn | DGN, Design, files are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System. | | Dwf | Design Web Format (DWF) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files. | | Stl | STL, abbreviation for stereolithrography, is an interchangeable file format that represents 3-dimensional surface geometry. | | Ifc | Files with IFC extension refer to Industry Foundation Classes (IFC) file format that establishes international standards to import and export building objects and their properties. | | Plt | The PLT file format is a vector-based plotter file introduced by Autodesk, Inc. | | Igs | Igs document format | | Dwt | A DWT file is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files. | | Dwfx | DWFX file is a 2D or 3D drawing created with Autodesk CAD software. | | Cf2 | Common File Format File. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### CadFileType() ``` public CadFileType() ``` Serialization constructor ##### Dxf ``` public static final CadFileType Dxf ``` DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format here. ##### Dwg ``` public static final CadFileType Dwg ``` DFiles with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format here ##### Dgn ``` public static final CadFileType Dgn ``` DGN, Design, files are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System. Learn more about this file format here. ##### Dwf ``` public static final CadFileType Dwf ``` Design Web Format (DWF) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files. It contains graphics and text as part of design data and reduce the size of the file due to its compressed format. Learn more about this file format here. ##### Stl ``` public static final CadFileType Stl ``` STL, abbreviation for stereolithrography, is an interchangeable file format that represents 3-dimensional surface geometry. The file format finds its usage in several fields such as rapid prototyping, 3D printing and computer-aided manufacturing. Learn more about this file format here. ##### Ifc ``` public static final CadFileType Ifc ``` Files with IFC extension refer to Industry Foundation Classes (IFC) file format that establishes international standards to import and export building objects and their properties. This file format provides interoperability between different software applications. Learn more about this file format here. ##### Plt ``` public static final CadFileType Plt ``` The PLT file format is a vector-based plotter file introduced by Autodesk, Inc. and contains information for a certain CAD file. Plotting details require accuracy and precision in production, and usage of PLT file guarantee this as all images are printed using lines instead of dots. Learn more about this file format here. ##### Igs ``` public static final CadFileType Igs ``` Igs document format ##### Dwt ``` public static final CadFileType Dwt ``` A DWT file is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files. Learn more about this file format here. ##### Dwfx ``` public static final CadFileType Dwfx ``` DWFX file is a 2D or 3D drawing created with Autodesk CAD software. It is saved in the DWFx format, which is similar to a . DWF file, but is formatted using Microsoft's XML Paper Specification (XPS). ##### Cf2 ``` public static final CadFileType Cf2 ``` Common File Format File. CAD file that contains 3D package designs or other model data; can be processed and cut by a CAD/CAM machine, such as a die cutting device. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### DatabaseFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/databasefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class DatabaseFileType extends FileType implements Serializable ``` Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: Nsf, Log, Sql, Learn more about CAD formats here. #### Constructors | Constructor | Description | | --- | --- | | DatabaseFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Nsf | A file with .nsf (Notes Storage Facility) extension is a database file format used by the IBM Notes software, which was previously known as Lotus Notes. | | Log | A file with .log extension contains the list of plain text with timestamp. | | Sql | A file with .sql extension is a Structured Query Language (SQL) file that contains code to work with relational databases. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | ##### DatabaseFileType() ``` public DatabaseFileType() ``` Serialization constructor ##### Nsf ``` public static final DatabaseFileType Nsf ``` A file with .nsf (Notes Storage Facility) extension is a database file format used by the IBM Notes software, which was previously known as Lotus Notes. It defines the schema to store different kind of objects such like emails, appointments, documents, forms and views. Learn more about this file format here. ##### Log ``` public static final DatabaseFileType Log ``` A file with .log extension contains the list of plain text with timestamp. Usually, certain activity detail is logged by the softwares or operating systems to help the developers or users to track what was happening at a certain time period. Learn more about this file format here. ##### Sql ``` public static final DatabaseFileType Sql ``` A file with .sql extension is a Structured Query Language (SQL) file that contains code to work with relational databases. It is used to write SQL statements for CRUD (Create, Read, Update, and Delete) operations on databases. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ### DiagramFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/diagramfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class DiagramFileType extends FileType implements Serializable ``` Defines Diagram documents. Includes the following types: Vdw, Vdx, Vsd, Vsdm, Vsdx, Vss, Vssm, Vssx, Vst, Vstm, Vstx, Vsx, Vtx. #### Constructors | Constructor | Description | | --- | --- | | DiagramFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Vsd | VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. | | Vsdx | Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. | | Vss | VSS are stencil files created with Microsoft Visio 2007 and earlier. | | Vst | Files with VST extension are vector image files created with Microsoft Visio and act as template for creating further files. | | Vsx | Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. | | Vtx | A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format. | | Vdw | VDW is the Visio Graphics Service file format that specifies the streams and storages required for rendering a Web drawing. | | Vdx | Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. | | Vssx | Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above. | | Vstx | Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above. | | Vsdm | Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros. | | Vssm | Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros. | | Vstm | Files with VSTM extension are template files created with Microsoft Visio that support macros. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### DiagramFileType() ``` public DiagramFileType() ``` Serialization constructor ##### Vsd ``` public static final DiagramFileType Vsd ``` VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format here. ##### Vsdx ``` public static final DiagramFileType Vsdx ``` Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format here. ##### Vss ``` public static final DiagramFileType Vss ``` VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format here. ##### Vst ``` public static final DiagramFileType Vst ``` Files with VST extension are vector image files created with Microsoft Visio and act as template for creating further files. These template files are in binary file format and contain the default layout and settings that are utilized for creation of new Visio drawings. Learn more about this file format here. ##### Vsx ``` public static final DiagramFileType Vsx ``` Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format here. ##### Vtx ``` public static final DiagramFileType Vtx ``` A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format here. ##### Vdw ``` public static final DiagramFileType Vdw ``` VDW is the Visio Graphics Service file format that specifies the streams and storages required for rendering a Web drawing. Learn more about this file format here. ##### Vdx ``` public static final DiagramFileType Vdx ``` Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format here. ##### Vssx ``` public static final DiagramFileType Vssx ``` Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format here. ##### Vstx ``` public static final DiagramFileType Vstx ``` Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format here. ##### Vsdm ``` public static final DiagramFileType Vsdm ``` Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format here. ##### Vssm ``` public static final DiagramFileType Vssm ``` Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format here. ##### Vstm ``` public static final DiagramFileType Vstm ``` Files with VSTM extension are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static final FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### EBookFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/ebookfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class EBookFileType extends FileType implements Serializable ``` Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: Epub, Mobi, Azw3, Learn more about CAD formats here. #### Constructors | Constructor | Description | | --- | --- | | EBookFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Epub | EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. | | Mobi | The MOBI file format is one of the most widely used ebook file format. | | Azw3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### EBookFileType() ``` public EBookFileType() ``` Serialization constructor ##### Epub ``` public static final EBookFileType Epub ``` EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format here. ##### Mobi ``` public static final EBookFileType Mobi ``` The MOBI file format is one of the most widely used ebook file format. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as proprietary format for Mobipocket Reader. Learn more about this file format here. ##### Azw3 ``` public static final EBookFileType Azw3 ``` AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files and is used on Kindle Fire devices only with backward compatibility for the ancestor file format i.e. MOBI and AZW. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### EmailFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/emailfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class EmailFileType extends FileType implements Serializable ``` Defines Email file formats that are used by email applications to store their various data including email messages, attachments, folders, address books etc. Includes the following file types: Eml, Emlx, Msg, Vcf. Pst. Ost. Olm. Learn more about Email formats here. #### Constructors | Constructor | Description | | --- | --- | | EmailFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Msg | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. | | Eml | EML file format represents email messages saved using Outlook and other relevant applications. | | Emlx | The EMLX file format is implemented and developed by Apple. | | Vcf | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. | | Mbox | MBox file format is a generic term that represents a container for collection of electronic mail messages. | | Pst | Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. | | Ost | OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. | | Olm | A file with .olm extension is a Microsoft Outlook file for Mac Operating System. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | ##### EmailFileType() ``` public EmailFileType() ``` Serialization constructor ##### Msg ``` public static final EmailFileType Msg ``` MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format here. ##### Eml ``` public static final EmailFileType Eml ``` EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format here. ##### Emlx ``` public static final EmailFileType Emlx ``` The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format here. ##### Vcf ``` public static final EmailFileType Vcf ``` VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format here. ##### Mbox ``` public static final EmailFileType Mbox ``` MBox file format is a generic term that represents a container for collection of electronic mail messages. The messages are stored inside the container along with their attachments. Learn more about this file format here. ##### Pst ``` public static final EmailFileType Pst ``` Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format here. ##### Ost ``` public static final EmailFileType Ost ``` OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format here. ##### Olm ``` public static final EmailFileType Olm ``` A file with .olm extension is a Microsoft Outlook file for Mac Operating System. An OLM file stores email messages, journals, calendar data, and other types of application data. These are similar to PST files used by Outlook on Windows Operating System. However, OLM files created by Outlook for Mac can\\u2019t be opened in Outlook for Windows. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ### FileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/filetype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration ``` public class FileType extends Enumeration ``` File type base class #### Constructors | Constructor | Description | | --- | --- | | FileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Unknown | Unknown file type | #### Methods | Method | Description | | --- | --- | | getFileFormat() | The file format | | getExtension() | The file extension | | getFamily() | The file family | | getDescription() | Description of the file type | | fromFilename(String fileName) | Returns FileType for specified fileName | | fromExtension(String fileExtension) | Gets FileType for provided fileExtension | | fromStream(InputStream inputStream) | Returns FileType for provided document stream | | getAllTypes(Class typeOfT) | Returns all enumeration values. | | getAllTypes(Class typeOfT, FileType[] excluded) | | | getAllTypes(Class typeOfT, FileType[][] excluded) | | | toString() | String representation | | getLoadOptions() | Prepared default load options for the source file type | | getConvertOptions() | Prepared default convert options for the file type | | isObsolete() | | | equals(Enumeration other) | | | equals(Object obj) | | | hashCode() | | ##### FileType() ``` public FileType() ``` Serialization constructor ##### Unknown ``` public static final FileType Unknown ``` Unknown file type ##### getFileFormat() ``` public final String getFileFormat() ``` The file format **Returns:** java.lang.String ##### getExtension() ``` public final String getExtension() ``` The file extension **Returns:** java.lang.String ##### getFamily() ``` public String getFamily() ``` The file family **Returns:** java.lang.String - The file family ##### getDescription() ``` public final String getDescription() ``` Description of the file type **Returns:** java.lang.String - description ##### fromFilename(String fileName) ``` public static FileType fromFilename(String fileName) ``` Returns FileType for specified fileName **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileName | java.lang.String | The file name | **Returns:** FileType - The file type of specified file name ##### fromExtension(String fileExtension) ``` public static FileType fromExtension(String fileExtension) ``` Gets FileType for provided fileExtension **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileExtension | java.lang.String | file extension | **Returns:** FileType - file type ##### fromStream(InputStream inputStream) ``` public static FileType fromStream(InputStream inputStream) ``` Returns FileType for provided document stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputStream | java.io.InputStream | TStream which will be probed | **Returns:** FileType - The file type of provided stream ##### getAllTypes(Class typeOfT) ``` public static List getAllTypes(Class typeOfT) ``` Returns all enumeration values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | **Returns:** java.util.List - Enumerable of file types T : Enumerated object type. ##### getAllTypes(Class typeOfT, FileType[] excluded) ``` public static List getAllTypes(Class typeOfT, FileType[] excluded) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | excluded | FileType\[\] | | **Returns:** java.util.List ##### getAllTypes(Class typeOfT, FileType[][] excluded) ``` public static List getAllTypes(Class typeOfT, FileType[][] excluded) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | excluded | FileType\[\] | | **Returns:** java.util.List ##### toString() ``` public String toString() ``` String representation **Returns:** java.lang.String - String representation of file type ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions - NULL if there is not file type specific load options ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions - NULL if the conversion to the type not supported ##### isObsolete() ``` public boolean isObsolete() ``` **Returns:** boolean ##### equals(Enumeration other) ``` public boolean equals(Enumeration other) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Enumeration | | **Returns:** boolean ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int ### FontFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/fontfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class FontFileType extends FileType implements Serializable ``` Defines Font documents. Includes the following types: Ttf, Eot, Otf, Cff, Type1, Woff, Woff2, Learn more about Font formats here. #### Constructors | Constructor | Description | | --- | --- | | FontFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Ttf | A file with .ttf extension represents font files based on the TrueType specifications font technology. | | Eot | A file with .eot extension is an OpenType font that is embedded in a document. | | Otf | A file with .otf extension refers to OpenType font format. | | Cff | A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. | | Type1 | Type 1 fonts is a deprecated Adobe technology which was widely used in the desktop based publishing software and printers that could use PostScript. | | Woff | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). | | Woff2 | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### FontFileType() ``` public FontFileType() ``` Serialization constructor ##### Ttf ``` public static final FontFileType Ttf ``` A file with .ttf extension represents font files based on the TrueType specifications font technology. It was initially designed and launched by Apple Computer, Inc for Mac OS and was later adopted by Microsoft for Windows OS. Learn more about this file format here. ##### Eot ``` public static final FontFileType Eot ``` A file with .eot extension is an OpenType font that is embedded in a document. These are mostly used in web files such as a Web page. It was created by Microsoft and is supported by Microsoft Products including PowerPoint presentation .pps file. Learn more about this file format here. ##### Otf ``` public static final FontFileType Otf ``` A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Developed by Microsoft and Adobe, OTF combines the features of PostScript and TrueType font formats. Learn more about this file format here. ##### Cff ``` public static final FontFileType Cff ``` A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. CFF acts as a container to store multiple fonts together in a single unit known as a FontSet. Learn more about this file format here. ##### Type1 ``` public static final FontFileType Type1 ``` Type 1 fonts is a deprecated Adobe technology which was widely used in the desktop based publishing software and printers that could use PostScript. Although Type 1 fonts are not supported in many modern platforms, web browsers and mobile operating systems, but these are still supported in some of the operating systems. Learn more about this file format here. ##### Woff ``` public static final FontFileType Woff ``` A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format here. ##### Woff2 ``` public static final FontFileType Woff2 ``` A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### ImageFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/imagefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class ImageFileType extends FileType implements Serializable ``` Defines image documents. Includes the following file types: Ai, Bmp, Cdr, Cmx, Dcm, Dib, DjVu, Dng, Emf, Emz, Gif, Ico, J2c, J2k, Jls, Jp2, Jpc, Jpeg, Jpf, Jpg, Jpm, Jpx, Odg, Png, Psd, Svg, Svgz, Tga, Tif, Tiff, Webp, Wmf, Wmz. Learn more about Image formats here. #### Constructors | Constructor | Description | | --- | --- | | ImageFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Tiff | TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | Tif | TTIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | Jpg | A JPG is a type of image format that is saved using the method of lossy compression. | | Jpeg | A JPEG is a type of image format that is saved using the method of lossy compression. | | Png | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. | | Gif | A GIF or Graphical Interchange Format is a type of highly compressed image. | | Bmp | BMP represent Bitmap Image files that are used to store bitmap digital images. | | Ico | Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. | | Psd | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. | | Wmf | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. | | Emf | Enhanced metafile format (EMF) stores graphical images device-independently. | | Dcm | Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. | | Dicom | Files with .DICOM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. | | Webp | WWebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. | | Dng | DNG is a digital camera image format used for the storage of raw files. | | Jp2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. | | Odg | The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. | | J2c | J2c document format | | J2k | J2K file is an image that is compressed using the wavelet compression instead of DCT compression. | | Jpx | Jpx document format | | Jpf | Jpf document format | | Jpm | Jpm document format | | Cdr | A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. | | Cmx | Files with CMX extension are Corel Exchange image file format that is used as presentation by CorelSuite applications. | | Dib | DDIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. | | Jpc | Jpc document format | | Jls | Jls document format | | DjVu | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. | | Otg | An OTG file is a drawing template that is created using the OpenDocument standard that follows the OASIS Office Applications 1.0 specification. | | Ai | AI, Adobe Illustrator Artwork, represents single-page vector-based drawings in either the EPS or PDF formats. | | Emz | n EMZ file is actually a compressed version of a Microsoft EMF file. | | Wmz | An WMZ file is actually a compressed version of a Microsoft WMF file. | | Svgz | An SVGZ file is actually a compressed version of a SVG file. | | Tga | A file with .tga extension is a raster graphic format and was created by Truevision Inc. | | Psb | Adobe photoshop saves files in two formats. | | Fodg | FODG is a uncompressed XML-format file used for storing OpenDocument text data. | | Heic | | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | isVectorImage(FileType fileType) | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### ImageFileType() ``` public ImageFileType() ``` Serialization constructor ##### Tiff ``` public static final ImageFileType Tiff ``` TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format here. ##### Tif ``` public static final ImageFileType Tif ``` TTIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format here. ##### Jpg ``` public static final ImageFileType Jpg ``` A JPG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format here. ##### Jpeg ``` public static final ImageFileType Jpeg ``` A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format here. ##### Png ``` public static final ImageFileType Png ``` PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations. Learn more about this file format here. ##### Gif ``` public static final ImageFileType Gif ``` A GIF or Graphical Interchange Format is a type of highly compressed image. For each image GIF typically allow up to 8 bits per pixel and up to 256 colours are allowed across the image. Learn more about this file format here. ##### Bmp ``` public static final ImageFileType Bmp ``` BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format here. ##### Ico ``` public static final ImageFileType Ico ``` Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format here. ##### Psd ``` public static final ImageFileType Psd ``` PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format here. ##### Wmf ``` public static final ImageFileType Wmf ``` Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format here. ##### Emf ``` public static final ImageFileType Emf ``` Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format here. ##### Dcm ``` public static final ImageFileType Dcm ``` Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format here. ##### Dicom ``` public static final ImageFileType Dicom ``` Files with .DICOM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format here. ##### Webp ``` public static final ImageFileType Webp ``` WWebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format here. ##### Dng ``` public static final ImageFileType Dng ``` DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. Learn more about this file format here. ##### Jp2 ``` public static final ImageFileType Jp2 ``` JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. /// Learn more about this file format here. ##### Odg ``` public static final ImageFileType Odg ``` The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format here. ##### J2c ``` public static final ImageFileType J2c ``` J2c document format ##### J2k ``` public static final ImageFileType J2k ``` J2K file is an image that is compressed using the wavelet compression instead of DCT compression. Learn more about this file format here. ##### Jpx ``` public static final ImageFileType Jpx ``` Jpx document format ##### Jpf ``` public static final ImageFileType Jpf ``` Jpf document format ##### Jpm ``` public static final ImageFileType Jpm ``` Jpm document format ##### Cdr ``` public static final ImageFileType Cdr ``` A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. Learn more about this file format here. ##### Cmx ``` public static final ImageFileType Cmx ``` Files with CMX extension are Corel Exchange image file format that is used as presentation by CorelSuite applications. Learn more about this file format here. ##### Dib ``` public static final ImageFileType Dib ``` DDIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format here. ##### Jpc ``` public static final ImageFileType Jpc ``` Jpc document format ##### Jls ``` public static final ImageFileType Jls ``` Jls document format ##### DjVu ``` public static final ImageFileType DjVu ``` DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format here. ##### Otg ``` public static final ImageFileType Otg ``` An OTG file is a drawing template that is created using the OpenDocument standard that follows the OASIS Office Applications 1.0 specification. Learn more about this file format here. ##### Ai ``` public static final ImageFileType Ai ``` AI, Adobe Illustrator Artwork, represents single-page vector-based drawings in either the EPS or PDF formats. ##### Emz ``` public static final ImageFileType Emz ``` n EMZ file is actually a compressed version of a Microsoft EMF file. This allows for easier distribution of the file online. When an EMF file is compressed using the .GZIP compression algorithm, it is then given the .emz file extension. ##### Wmz ``` public static final ImageFileType Wmz ``` An WMZ file is actually a compressed version of a Microsoft WMF file. This allows for easier distribution of the file online. When an EWMFMF file is compressed using the .GZIP compression algorithm, it is then given the .wmz file extension. ##### Svgz ``` public static final ImageFileType Svgz ``` An SVGZ file is actually a compressed version of a SVG file. This allows for easier distribution of the file online. When an SVG file is compressed using the .GZIP compression algorithm, it is then given the .svgz file extension. ##### Tga ``` public static final ImageFileType Tga ``` A file with .tga extension is a raster graphic format and was created by Truevision Inc. Learn more about this file format here. ##### Psb ``` public static final ImageFileType Psb ``` Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as \\u201cPhotoshop Big\\u201d. Learn more about this file format here. ##### Fodg ``` public static final ImageFileType Fodg ``` FODG is a uncompressed XML-format file used for storing OpenDocument text data. FODG extension is associated with open source office productivity suites Libre Office and OpenOffice.org. ##### Heic ``` public static final ImageFileType Heic ``` ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### isVectorImage(FileType fileType) ``` public static boolean isVectorImage(FileType fileType) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | | **Returns:** boolean ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### NoteFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/notefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public final class NoteFileType extends FileType ``` Defines Note-taking formats. Includes the following file types: One. Learn more about Note-taking formats here. #### Constructors | Constructor | Description | | --- | --- | | NoteFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | One | File represented by .ONE extension are created by Microsoft OneNote application. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | ##### NoteFileType() ``` public NoteFileType() ``` Serialization constructor ##### One ``` public static final NoteFileType One ``` File represented by .ONE extension are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ### PageDescriptionLanguageFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PageDescriptionLanguageFileType extends FileType implements Serializable ``` Defines Page description documents. Includes the following types: Svg, Eps, Cgm, Xps, Tex, Ps, Pcl, Oxps, #### Constructors | Constructor | Description | | --- | --- | | PageDescriptionLanguageFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Svg | An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. | | Eps | Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. | | Cgm | Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. | | Xps | An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. | | Tex | TeX is a language that comprises of programming as well as mark-up features, used to typeset documents. | | Ps | PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. | | Pcl | PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). | | Oxps | The file format OXPS is known as Open XML Paper Specification. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### PageDescriptionLanguageFileType() ``` public PageDescriptionLanguageFileType() ``` Serialization constructor ##### Svg ``` public static final PageDescriptionLanguageFileType Svg ``` An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format here. ##### Eps ``` public static final PageDescriptionLanguageFileType Eps ``` Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format here. ##### Cgm ``` public static final PageDescriptionLanguageFileType Cgm ``` Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. CGM uses object-oriented approach and many function provisions for image production. Learn more about this file format here. ##### Xps ``` public static final PageDescriptionLanguageFileType Xps ``` An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. This format was developed by Microsoft as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. Learn more about this file format here. ##### Tex ``` public static final PageDescriptionLanguageFileType Tex ``` TeX is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format here. ##### Ps ``` public static final PageDescriptionLanguageFileType Ps ``` PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. The main focus of PostScript (PS) is to facilitate the two-dimensional graphic design. Learn more about this file format here. ##### Pcl ``` public static final PageDescriptionLanguageFileType Pcl ``` PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format here. ##### Oxps ``` public static final PageDescriptionLanguageFileType Oxps ``` The file format OXPS is known as Open XML Paper Specification. It\\u2019s a page description language and document format. Microsoft is the developer of this format. OXPS file format is very much familiar to these PDF files. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### PdfFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/pdffiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfFileType extends FileType implements Serializable ``` Defines Pdf documents. Includes the following file types: Pdf, #### Constructors | Constructor | Description | | --- | --- | | PdfFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Pdf | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### PdfFileType() ``` public PdfFileType() ``` Serialization constructor ##### Pdf ``` public static final PdfFileType Pdf ``` Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static final FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### PresentationFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/presentationfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PresentationFileType extends FileType implements Serializable ``` Defines Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. Includes the following file types: Odp, Otp, Pot, Potm, Potx, Pps, Ppsm, Ppsx, Ppt, Pptm, Pptx. Learn more about Presentation formats here. #### Constructors | Constructor | Description | | --- | --- | | PresentationFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Ppt | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. | | Pps | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. | | Pptx | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. | | Ppsx | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. | | Odp | Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. | | Otp | Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. | | Potx | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. | | Pot | Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. | | Potm | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. | | Pptm | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. | | Ppsm | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. | | Fodp | Files with FODP extension represent OpenDocument Flat XML Presentation. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### PresentationFileType() ``` public PresentationFileType() ``` Serialization constructor ##### Ppt ``` public static final PresentationFileType Ppt ``` A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format here. ##### Pps ``` public static final PresentationFileType Pps ``` PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format here. ##### Pptx ``` public static final PresentationFileType Pptx ``` Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format here. ##### Ppsx ``` public static final PresentationFileType Ppsx ``` PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format here. ##### Odp ``` public static final PresentationFileType Odp ``` Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format here. ##### Otp ``` public static final PresentationFileType Otp ``` Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format here. ##### Potx ``` public static final PresentationFileType Potx ``` Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format here. ##### Pot ``` public static final PresentationFileType Pot ``` Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format here. ##### Potm ``` public static final PresentationFileType Potm ``` Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format here. ##### Pptm ``` public static final PresentationFileType Pptm ``` Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format here. ##### Ppsm ``` public static final PresentationFileType Ppsm ``` Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format here. ##### Fodp ``` public static final PresentationFileType Fodp ``` Files with FODP extension represent OpenDocument Flat XML Presentation. Presentation file saved in the OpenDocument format, but saved using a flat XML format instead of the .ZIP container used by standard .ODP files ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### ProjectManagementFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/projectmanagementfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public final class ProjectManagementFileType extends FileType ``` Defines Project file formats that are created by Project Management software such as Microsoft Project, Primavera P6 etc. A project file is a collection of tasks, resources, and their scheduling to get a measurable output in the form or a product or a service. Project management documents. Includes the following file types: Mpp, Mpt, Mpx. Learn more about Project Management formats here. #### Constructors | Constructor | Description | | --- | --- | | ProjectManagementFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Mpt | Microsoft Project template files, contain basic information and structure along with document settings for creating .MPP files. | | Mpp | MPP is Microsoft Project data file that stores information related to project management in an integrated manner. | | Mpx | Microsoft Exchange File Format, is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating. | | Xer | The XER file format is a proprietary project file format used by Primavera P6 project planning and management application. | #### Methods | Method | Description | | --- | --- | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### ProjectManagementFileType() ``` public ProjectManagementFileType() ``` Serialization constructor ##### Mpt ``` public static final ProjectManagementFileType Mpt ``` Microsoft Project template files, contain basic information and structure along with document settings for creating .MPP files. Learn more about this file format here. ##### Mpp ``` public static final ProjectManagementFileType Mpp ``` MPP is Microsoft Project data file that stores information related to project management in an integrated manner. Learn more about this file format here. ##### Mpx ``` public static final ProjectManagementFileType Mpx ``` Microsoft Exchange File Format, is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating. Learn more about this file format here. ##### Xer ``` public static final ProjectManagementFileType Xer ``` The XER file format is a proprietary project file format used by Primavera P6 project planning and management application. Learn more about this file format here. ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### PublisherFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/publisherfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PublisherFileType extends FileType implements Serializable ``` Defines Publisher documents. Includes the following types: Pub, Learn more about Font formats here. #### Constructors | Constructor | Description | | --- | --- | | PublisherFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Pub | A PUB file is a Microsoft Publisher document file format. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### PublisherFileType() ``` public PublisherFileType() ``` Serialization constructor ##### Pub ``` public static final PublisherFileType Pub ``` A PUB file is a Microsoft Publisher document file format. It is used to create several types of design layout documents such as newsletters, flyers, brochures, postcards, etc. PUB files can contain text, raster and vector images. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### SpreadsheetFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/spreadsheetfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class SpreadsheetFileType extends FileType implements Serializable ``` Defines Spreadsheet documents. Includes the following file types: Csv, Fods, Ods, Ots, Tsv, Xlam, Xls, Xlsb, Xlsm, Xlsx, Xlt, Xltm, Xltx. Learn more about Spreadsheet formats here. #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Xls | XLS represents Excel Binary File Format. | | Xlsx | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. | | Xlsm | XLSM is a type of Spreadsheet files that support macros. | | Xlsb | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. | | Ods | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. | | Ots | A file with .ots extension is an OpenDocument Spreadsheet Template file that is created with the Calc application software included in Apache OpenOffice. | | Xltx | XLTX file represents Microsoft Excel Template that are based on the Office OpenXML file format specifications. | | Xlt | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. | | Xltm | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. | | Tsv | A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. | | Xlam | XLAM is an Macro-Enabled Add-In file that is used to add new functions to spreadsheets. | | Csv | Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. | | Fods | A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. | | Dif | DIF stands for Data Interchange Format that is used to import/export spreadsheets data between different applications. | | Sxc | The file format SXC(Sun XML Calc) belongs to an office suite called OpenOffice.org. | | Numbers | The files with .numbers extension are classified as spreadsheet file type, that\\u2019s why they are similar to the .xlsx files; but the Numbers files are created by using Apple iWork Numbers spreadsheet software. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### SpreadsheetFileType() ``` public SpreadsheetFileType() ``` Serialization constructor ##### Xls ``` public static final SpreadsheetFileType Xls ``` XLS represents Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format here. ##### Xlsx ``` public static final SpreadsheetFileType Xlsx ``` XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format here. ##### Xlsm ``` public static final SpreadsheetFileType Xlsm ``` XLSM is a type of Spreadsheet files that support macros. Learn more about this file format here. ##### Xlsb ``` public static final SpreadsheetFileType Xlsb ``` XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format here. ##### Ods ``` public static final SpreadsheetFileType Ods ``` Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. Learn more about this file format here. ##### Ots ``` public static final SpreadsheetFileType Ots ``` A file with .ots extension is an OpenDocument Spreadsheet Template file that is created with the Calc application software included in Apache OpenOffice. Calc application software is the similar to Excel available in Microsoft Office. Learn more about this file format here. ##### Xltx ``` public static final SpreadsheetFileType Xltx ``` XLTX file represents Microsoft Excel Template that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format here. ##### Xlt ``` public static final SpreadsheetFileType Xlt ``` Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format here. ##### Xltm ``` public static final SpreadsheetFileType Xltm ``` The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format here. ##### Tsv ``` public static final SpreadsheetFileType Tsv ``` A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format here. ##### Xlam ``` public static final SpreadsheetFileType Xlam ``` XLAM is an Macro-Enabled Add-In file that is used to add new functions to spreadsheets. An Add-In is a supplemental program that runs additional code and provides additional functionality for spreadsheets. Learn more about this file format here ##### Csv ``` public static final SpreadsheetFileType Csv ``` Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format here. ##### Fods ``` public static final SpreadsheetFileType Fods ``` A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. The format is specified as part of ODF 1.2 specifications published and maintained by OASIS. Learn more about this file format here. ##### Dif ``` public static final SpreadsheetFileType Dif ``` DIF stands for Data Interchange Format that is used to import/export spreadsheets data between different applications. These include Microsoft Excel, OpenOffice Calc, StarCalc and many others. Learn more about this file format here. ##### Sxc ``` public static final SpreadsheetFileType Sxc ``` The file format SXC(Sun XML Calc) belongs to an office suite called OpenOffice.org. This format generally deals with the spreadsheet needs of users as it is an XML based spreadsheet file format. SXC format supports formulas, functions, macros and charts along with DataPilot. Learn more about this file format here. ##### Numbers ``` public static final SpreadsheetFileType Numbers ``` The files with .numbers extension are classified as spreadsheet file type, that\\u2019s why they are similar to the .xlsx files; but the Numbers files are created by using Apple iWork Numbers spreadsheet software. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static final FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### VideoFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/videofiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public class VideoFileType extends FileType ``` Defines Video documents Includes the following types: , , , , , , , Learn more about video formats here. #### Constructors | Constructor | Description | | --- | --- | | VideoFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Mp4 | MP4(short for MPEG-4 Part 14) is a file format based on ISO/IEC 14496-12:2004 that is based on QuickTime File Format but formally specifies support for Initial Object Descriptors (IOD) and other MPEG features. | | Avi | The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. | | Flv | FLV (Flash Video) is a container file format with the .flv extension. | | Mkv | MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. | | Mov | MOV or QuickTime file format is a multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. | | Webm | A file with a .webm extension is a video file based on the open, royalty-free WebM file format. | | Wmv | Windows Media Video is the compressed video format developed by Microsoft. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | ##### VideoFileType() ``` public VideoFileType() ``` Serialization constructor ##### Mp4 ``` public static final VideoFileType Mp4 ``` MP4(short for MPEG-4 Part 14) is a file format based on ISO/IEC 14496-12:2004 that is based on QuickTime File Format but formally specifies support for Initial Object Descriptors (IOD) and other MPEG features. Learn more about this file format here. ##### Avi ``` public static final VideoFileType Avi ``` The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. It holds the audio and video data created and compressed using several codecs (Coders/Decoders) such as XVid and DivX. Learn more about this file format here. ##### Flv ``` public static final VideoFileType Flv ``` FLV (Flash Video) is a container file format with the .flv extension. FLV is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format here. ##### Mkv ``` public static final VideoFileType Mkv ``` MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. An MKV file is the Matroska multimedia container format used for video. Learn more about this file format here. ##### Mov ``` public static final VideoFileType Mov ``` MOV or QuickTime file format is a multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text, etc. Learn more about this file format here. ##### Webm ``` public static final VideoFileType Webm ``` A file with a .webm extension is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format here. ##### Wmv ``` public static final VideoFileType Wmv ``` Windows Media Video is the compressed video format developed by Microsoft. After the standardization by the Society of Motion Picture and Television Engineers (SMPTE), WMV is now considered to be an open standard format. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ### WebFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/webfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class WebFileType extends FileType implements Serializable ``` Defines Web documents. Includes the following types: Xml, Json, Html, Htm, Mht, Mhtml, Chm, Learn more about web formats here. #### Constructors | Constructor | Description | | --- | --- | | WebFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Xml | XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. | | Json | JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. | | Html | HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. | | Htm | HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers. | | Mht | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. | | Mhtml | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. | | Chm | The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### WebFileType() ``` public WebFileType() ``` Serialization constructor ##### Xml ``` public static final WebFileType Xml ``` XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format here. ##### Json ``` public static final WebFileType Json ``` JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format here. ##### Html ``` public static final WebFileType Html ``` HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format here. ##### Htm ``` public static final WebFileType Htm ``` HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format here. ##### Mht ``` public static final WebFileType Mht ``` Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format here. ##### Mhtml ``` public static final WebFileType Mhtml ``` Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format here. ##### Chm ``` public static final WebFileType Chm ``` The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. It provides an index for quick accessing the topics and navigation to different parts of the help document. Learn more about this file format here. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### WordProcessingFileType Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.filetypes/wordprocessingfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class WordProcessingFileType extends FileType implements Serializable ``` Defines Word Processing files that contain user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Includes the following file types: Doc, Docm, Docx, Dot, Dotm, Dotx, Odt, Ott, Rtf, Txt, Md, Learn more about Word Processing formats here. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Doc | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. | | Docm | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | Docx | DOCX is a well-known format for Microsoft Word documents. | | Dot | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | Dotm | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. | | Dotx | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | Rtf | Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. | | Odt | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | Ott | Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. | | Txt | A file with .TXT extension represents a text document that contains plain text in the form of lines. | | Md | Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. | | Ml | Ml file | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### WordProcessingFileType() ``` public WordProcessingFileType() ``` Serialization constructor ##### Doc ``` public static final WordProcessingFileType Doc ``` Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format here. ##### Docm ``` public static final WordProcessingFileType Docm ``` DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format here. ##### Docx ``` public static final WordProcessingFileType Docx ``` DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format here. ##### Dot ``` public static final WordProcessingFileType Dot ``` Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format here. ##### Dotm ``` public static final WordProcessingFileType Dotm ``` A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format here. ##### Dotx ``` public static final WordProcessingFileType Dotx ``` Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format here. ##### Rtf ``` public static final WordProcessingFileType Rtf ``` Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format here. ##### Odt ``` public static final WordProcessingFileType Odt ``` ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format here. ##### Ott ``` public static final WordProcessingFileType Ott ``` Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format here. ##### Txt ``` public static final WordProcessingFileType Txt ``` A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format here. ##### Md ``` public static final WordProcessingFileType Md ``` Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. MD files are saved in plain text format that uses Markdown language which also includes inline text symbols, defining how a text can be formatted such as indentations, table formatting, fonts, and headers. Learn more about this file format here. ##### Ml ``` public static final WordProcessingFileType Ml ``` Ml file ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### com.groupdocs.conversion.fluent Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent.md #### Interfaces | Interface | Description | | --- | --- | | IConversionByPageCompleted | Handle conversion page completed | | IConversionByPageCompletedOrConvert | Handle conversion completed or execute conversion | | IConversionCompleted | Handle conversion completed | | IConversionCompletedOrConvert | Handle conversion completed or execute conversion | | IConversionCompressResult | Can compress all conversion results in single archive | | IConversionCompressResultCompleted | Handle compression completed | | IConversionConvert | Execute conversion | | IConversionConvertByPageOptions | Conversion convert options | | IConversionConvertOptions | Conversion convert options | | IConversionFrom | Setup source for conversion | | IConversionGetDocumentInfo | Gets source document info - pages count and other document properties specific to the file type. | | IConversionGetPossibleConversions | Gets possible conversions for the source document. | | IConversionIsPasswordProtected | Checks if source document is password protected | | IConversionLoadOptions | Conversion load options | | IConversionLoadOptionsOrSourceDocumentLoaded | Conversion load options or actions with loaded document | | IConversionSettings | Setup conversion settings | | IConversionSettingsOrConversionFrom | Conversion settings or conversion source | | IConversionSourceDocumentLoaded | Provides possible actions with loaded document | | IConversionTo | Set how converted document to be stored | ### IConversionByPageCompleted Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionbypagecompleted.md ### IConversionByPageCompletedOrConvert Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionbypagecompletedorconvert.md **All Implemented Interfaces:** com.groupdocs.conversion.fluent.IConversionByPageCompleted, com.groupdocs.conversion.fluent.IConversionConvert, com.groupdocs.conversion.fluent.IConversionCompressResult ``` public interface IConversionByPageCompletedOrConvert extends IConversionByPageCompleted, IConversionConvert, IConversionCompressResult ``` Handle conversion completed or execute conversion ### IConversionCompleted Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversioncompleted.md ### IConversionCompletedOrConvert Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversioncompletedorconvert.md **All Implemented Interfaces:** com.groupdocs.conversion.fluent.IConversionCompleted, com.groupdocs.conversion.fluent.IConversionConvert, com.groupdocs.conversion.fluent.IConversionCompressResult ``` public interface IConversionCompletedOrConvert extends IConversionCompleted, IConversionConvert, IConversionCompressResult ``` Handle conversion completed or execute conversion ### IConversionCompressResult Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversioncompressresult.md ### IConversionCompressResultCompleted Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversioncompressresultcompleted.md ### IConversionConvert Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionconvert.md ### IConversionConvertByPageOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionconvertbypageoptions.md ### IConversionConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionconvertoptions.md ### IConversionFrom Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionfrom.md ### IConversionGetDocumentInfo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversiongetdocumentinfo.md ### IConversionGetPossibleConversions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversiongetpossibleconversions.md ### IConversionIsPasswordProtected Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionispasswordprotected.md ### IConversionLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionloadoptions.md ### IConversionLoadOptionsOrSourceDocumentLoaded Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionloadoptionsorsourcedocumentloaded.md **All Implemented Interfaces:** com.groupdocs.conversion.fluent.IConversionLoadOptions, com.groupdocs.conversion.fluent.IConversionSourceDocumentLoaded ``` public interface IConversionLoadOptionsOrSourceDocumentLoaded extends IConversionLoadOptions, IConversionSourceDocumentLoaded ``` Conversion load options or actions with loaded document ### IConversionSettings Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionsettings.md ### IConversionSettingsOrConversionFrom Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionsettingsorconversionfrom.md **All Implemented Interfaces:** com.groupdocs.conversion.fluent.IConversionSettings, com.groupdocs.conversion.fluent.IConversionFrom ``` public interface IConversionSettingsOrConversionFrom extends IConversionSettings, IConversionFrom ``` Conversion settings or conversion source ### IConversionSourceDocumentLoaded Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionsourcedocumentloaded.md **All Implemented Interfaces:** com.groupdocs.conversion.fluent.IConversionTo, com.groupdocs.conversion.fluent.IConversionGetPossibleConversions, com.groupdocs.conversion.fluent.IConversionGetDocumentInfo, com.groupdocs.conversion.fluent.IConversionIsPasswordProtected ``` public interface IConversionSourceDocumentLoaded extends IConversionTo, IConversionGetPossibleConversions, IConversionGetDocumentInfo, IConversionIsPasswordProtected ``` Provides possible actions with loaded document ### IConversionTo Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.fluent/iconversionto.md ### com.groupdocs.conversion.integration.audio Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.audio.md #### Interfaces | Interface | Description | | --- | --- | | IAudioConnector | Defines methods that are required to convert audio to audio documents. | ### IAudioConnector Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.audio/iaudioconnector.md ### com.groupdocs.conversion.integration.ocr Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.ocr.md The GroupDocs.Conversion.Integration.Ocr package provides metadata for a OCR. #### Classes | Class | Description | | --- | --- | | RecognizedImage | Represents text, extracted from an image as a result of its recognition process. | | TextFragment | Represents a part of recognized text (word, symbol, etc), extracted by OCR engine. | | TextLine | Represents text, extracted from an image as a result of its recognition process. | #### Interfaces | Interface | Description | | --- | --- | | IOcrConnector | Defines methods that are required to apply OCR to image documents and embedded images. | ### IOcrConnector Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.ocr/iocrconnector.md ### RecognizedImage Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.ocr/recognizedimage.md **Inheritance:** java.lang.Object ``` public class RecognizedImage ``` Represents text, extracted from an image as a result of its recognition process. #### Constructors | Constructor | Description | | --- | --- | | RecognizedImage(List lines) | Initializes a new instance of the class, using a set of recognized lines. | #### Fields | Field | Description | | --- | --- | | EMPTY | Empty recognized image | #### Methods | Method | Description | | --- | --- | | getLines() | Gets lines of text, with their fragments, recognized within the document. | | getText() | Gets textual equivalent of the structured text | ##### RecognizedImage(List lines) ``` public RecognizedImage(List lines) ``` Initializes a new instance of the class, using a set of recognized lines. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | lines | java.util.List | an IEnumerable (e.g. a list or an array) of recognized lines | ##### EMPTY ``` public static final RecognizedImage EMPTY ``` Empty recognized image ##### getLines() ``` public TextLine[] getLines() ``` Gets lines of text, with their fragments, recognized within the document. **Returns:** com.groupdocs.conversion.integration.ocr.TextLine[] ##### getText() ``` public String getText() ``` Gets textual equivalent of the structured text **Returns:** java.lang.String ### TextFragment Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.ocr/textfragment.md **Inheritance:** java.lang.Object ``` public class TextFragment ``` Represents a part of recognized text (word, symbol, etc), extracted by OCR engine. #### Constructors | Constructor | Description | | --- | --- | | TextFragment(String text, Rectangle rectangle) | Initializes a new instance of the recognized text fragment. | #### Methods | Method | Description | | --- | --- | | getText() | Gets a textual content of the recognized text fragment. | | getRectangle() | Gets a bounding rectangle of the recognized text fragment. | ##### TextFragment(String text, Rectangle rectangle) ``` public TextFragment(String text, Rectangle rectangle) ``` Initializes a new instance of the recognized text fragment. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | text | java.lang.String | textual content of the recognized text fragment | | rectangle | java.awt.Rectangle | bounding rectangle of the recognized text fragment | ##### getText() ``` public String getText() ``` Gets a textual content of the recognized text fragment. **Returns:** java.lang.String ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets a bounding rectangle of the recognized text fragment. **Returns:** Rectangle ### TextLine Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.ocr/textline.md **Inheritance:** java.lang.Object ``` public class TextLine ``` Represents text, extracted from an image as a result of its recognition process. #### Constructors | Constructor | Description | | --- | --- | | TextLine(List fragments) | Initializes a new instance of a line of text, extracted by OCR engine from an image. | #### Methods | Method | Description | | --- | --- | | getFragments() | Gets an array of text fragments, such as symbols and words, recognized in the line. | ##### TextLine(List fragments) ``` public TextLine(List fragments) ``` Initializes a new instance of a line of text, extracted by OCR engine from an image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fragments | java.util.List | initial set of text fragments | ##### getFragments() ``` public TextFragment[] getFragments() ``` Gets an array of text fragments, such as symbols and words, recognized in the line. **Returns:** com.groupdocs.conversion.integration.ocr.TextFragment[] ### com.groupdocs.conversion.integration.video Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.integration.video.md ### com.groupdocs.conversion.licensing Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.licensing.md The GroupDocs.Conversion.Legacy.Licensing namespace provides classes for applying of the license #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. | | Metered | Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. | ### License Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.licensing/license.md **Inheritance:** java.lang.Object ``` public final class License ``` Provides methods to license the component. Learn more about licensing here . **Learn more** More about licensing: GroupDocs Licensing FAQ More about GroupDocs.Conversion licensing: Evaluation Limitations and Licensing #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | isLicensed() | Returns true if a valid license has been applied; false if the component is running in evaluation mode. | | setLicense(InputStream licenseStream) | | | setLicense(System.IO.Stream licenseStream) | Licenses the component. | | setLicense(String licensePath) | Licenses the component. | | resetLicense() | | ##### License() ``` public License() ``` ##### isLicensed() ``` public boolean isLicensed() ``` Returns true if a valid license has been applied; false if the component is running in evaluation mode. **Returns:** boolean ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | | ##### setLicense(System.IO.Stream licenseStream) ``` public final void setLicense(System.IO.Stream licenseStream) ``` Licenses the component.
*** ** * ** *** > ``` > The following example demonstrates how to set a license > passing Stream of the license file. > using (FileStream licenseStream = new FileStream("LicenseFile.lic", FileMode.Open)) > { > GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License(); > lic.SetLicense(licenseStream); > } > > > ```
**Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | com.aspose.ms.System.IO.Stream | The license stream. | ##### setLicense(String licensePath) ``` public void setLicense(String licensePath) ``` Licenses the component.
*** ** * ** *** > ``` > The following example demonstrates how to set a license > passing a path to the license file. > string licensePath = "GroupDocs.Conversion.lic"; > GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License(); > lic.SetLicense(licensePath); > > > ```
**Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license path. | ##### resetLicense() ``` public static void resetLicense() ``` ### Metered Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.licensing/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods for applying Metered license. **Learn more** More about Metered licensing: Metered Licensing FAQ More about GroupDocs.Conversion licensing: Evaluation Limitations and Licensing #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves count of credits consumed. | | increaseBytesCount(long bytesCount) | | | consumeCreditsBySize(long bytesCount) | | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys.
*** ** * ** *** > ``` > Following example demonstrates how to activate product with Metered keys. > string publicKey = "Public Key"; > string privateKey = "Private Key"; > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > > > ```
**Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed.
*** ** * ** *** > ``` > Following example demonstrates how to retrieve amount of MBs processed. > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal mbProcessed = Metered.GetConsumptionQuantity(); > > > ```
**Returns:** java.math.BigDecimal ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves count of credits consumed.
*** ** * ** *** > ``` > Following example demonstrates how to retrieve count of credits consumed. > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal creditsConsumed = Metered.GetConsumptionCredit(); > > > ```
**Returns:** java.math.BigDecimal ##### increaseBytesCount(long bytesCount) ``` public static void increaseBytesCount(long bytesCount) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | bytesCount | long | | ##### consumeCreditsBySize(long bytesCount) ``` public static void consumeCreditsBySize(long bytesCount) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | bytesCount | long | | ### com.groupdocs.conversion.logging Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.logging.md The GroupDocs.Conversion.Logging namespace provides classes for customizing logging behaviour. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Console logger implementation. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | Defines the methods that are used to perform logging. | ### ConsoleLogger Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.logging/consolelogger.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.logging.ILogger ``` public final class ConsoleLogger implements ILogger ``` Console logger implementation. #### Constructors | Constructor | Description | | --- | --- | | ConsoleLogger() | | #### Methods | Method | Description | | --- | --- | | trace(String message) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | warning(String message) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | | error(String message, Exception exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | ##### ConsoleLogger() ``` public ConsoleLogger() ``` ##### trace(String message) ``` public void trace(String message) ``` Writes trace log message; Trace log messages provides generally useful information about application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The trace message. | ##### warning(String message) ``` public void warning(String message) ``` Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The warning message. | ##### error(String message, Exception exception) ``` public void error(String message, Exception exception) ``` Writes error log message; Error log messages provides information about unrecoverable events in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message. | | exception | java.lang.Exception | The exception. | ### ILogger Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.logging/ilogger.md ### com.groupdocs.conversion.options.convert Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert.md The GroupDocs.Conversion.Options.Convert namespace provides classes to specify additional options for document conversion process. #### Classes | Class | Description | | --- | --- | | CadConvertOptions | Options for conversion to Cad type. | | CommonConvertOptions | abstract generic common conversion options class. | | ConvertOptions | The general conversion options class. | | DiagramConvertOptions | Options for conversion to Diagram file type. | | EBookConvertOptions | Options for conversion to EBook file type. | | EmailConvertOptions | Options for conversion to Email file type. | | Font | Font settings | | FontConvertOptions | Options for conversion to EBook file type. | | ImageConvertOptions | Options for conversion to Image file type. | | ImageFlipModes | Describes image flip modes. | | JpegOptions | Options for conversion to Jpeg file type. | | JpgColorModes | Describes Jpg color modes enumeration. | | JpgCompressionMethods | Describes Jpg compression modes | | NoConvertOptions | Special convert option class, which instructs converter to copy source document without any processing | | PageDescriptionLanguageConvertOptions | Options for conversion to page descriptions language file type. | | PdfConvertOptions | Options for conversion to Pdf file type. | | PdfDirection | Describes Pdf text direction. | | PdfFormats | Describes Pdf formats enumeration. | | PdfFormattingOptions | Defines Pdf formatting options. | | PdfOptimizationOptions | Defines Pdf optimization options. | | PdfOptions | Options for conversion to Pdf file type. | | PdfPageLayout | Describes Pdf page layout. | | PdfPageMode | Describes Pdf page mode | | PresentationConvertOptions | Describes options for conversion to Presentation file type. | | ProjectManagementConvertOptions | Options for conversion to Project management file type. | | PsdColorModes | Defines Psd color modes enumeration. | | PsdCompressionMethods | Describes Psd compression methods. | | PsdOptions | Options for converting to Psd file type. | | Rotation | Describes page rotation enumeration | | RtfOptions | Options for conversion to RTF file type. | | SpreadsheetConvertOptions | Options for conversion to Spreadsheet file type. | | TiffCompressionMethods | Describes Tiff compression methods enumeration. | | TiffOptions | Options for conversion to TIFF file type. | | WatermarkImageOptions | Options for settings watermark to the converted document | | WatermarkOptions | Options for settings watermark to the converted document | | WatermarkTextOptions | Options for settings text watermark to the converted document | | WebConvertOptions | Options for conversion to Web file type. | | WebpOptions | Options for conversion to Webp file type. | | WordProcessingConvertOptions | Options for conversion to WordProcessing file type. | #### Interfaces | Interface | Description | | --- | --- | | IConvertOptions | Represents convert options | | IPageMarginConvertOptions | Represents convert options that support page margins | | IPageOrientationConvertOptions | Represents convert options that support page orientation | | IPageRangedConvertOptions | Represents convert options that support conversion of specific list of pages | | IPageSize | | | IPageSizeConvertOptions | Represents convert options that support page size | | IPagedConvertOptions | Represents convert options that allows conversion to perform page limitation by specifying start page and pages count | | IPdfRecognitionModeOptions | Represents convert options that control recognition mode when converting from PDF | | IWatermarkedConvertOptions | Represents convert options that allow output of conversion to be watermarked | #### Enumerations | Enum | Description | | --- | --- | | PageOrientation | | | PageSize | | | PdfRecognitionMode | | ### CadConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/cadconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IPagedConvertOptions ``` public class CadConvertOptions extends ConvertOptions implements IPagedConvertOptions ``` Options for conversion to Cad type. #### Constructors | Constructor | Description | | --- | --- | | CadConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getPageNumber() | | | setPageNumber(int pageNumber) | | | getPagesCount() | | | setPagesCount(int pagesCount) | | ##### CadConvertOptions() ``` public CadConvertOptions() ``` Initializes new instance of class. ##### getPageNumber() ``` public Integer getPageNumber() ``` Gets the page number to start conversion from. **Returns:** java.lang.Integer ##### setPageNumber(int pageNumber) ``` public void setPageNumber(int pageNumber) ``` Sets the page number to start conversion from. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | ##### getPagesCount() ``` public Integer getPagesCount() ``` Gets number of pages to convert starting from PageNumber. **Returns:** java.lang.Integer ##### setPagesCount(int pagesCount) ``` public void setPagesCount(int pagesCount) ``` Sets number of pages to convert starting from PageNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pagesCount | int | | ### CommonConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/commonconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IWatermarkedConvertOptions, com.groupdocs.conversion.options.convert.IPagedConvertOptions, com.groupdocs.conversion.options.convert.IPageRangedConvertOptions ``` public abstract class CommonConvertOptions extends ConvertOptions implements IWatermarkedConvertOptions, IPagedConvertOptions, IPageRangedConvertOptions ``` abstract generic common conversion options class. #### Methods | Method | Description | | --- | --- | | getWatermark() | | | setWatermark(WatermarkOptions watermark) | | | getPageNumber() | | | setPageNumber(int pageNumber) | | | getPagesCount() | | | setPagesCount(int pagesCount) | | | getPages() | | | setPages(List pages) | | ##### getWatermark() ``` public WatermarkOptions getWatermark() ``` Gets watermark specific options **Returns:** WatermarkOptions ##### setWatermark(WatermarkOptions watermark) ``` public void setWatermark(WatermarkOptions watermark) ``` Sets watermark specific options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | watermark | WatermarkOptions | | ##### getPageNumber() ``` public Integer getPageNumber() ``` Gets the page number to start conversion from. **Returns:** java.lang.Integer ##### setPageNumber(int pageNumber) ``` public void setPageNumber(int pageNumber) ``` Sets the page number to start conversion from. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | ##### getPagesCount() ``` public Integer getPagesCount() ``` Gets number of pages to convert starting from PageNumber. **Returns:** java.lang.Integer ##### setPagesCount(int pagesCount) ``` public void setPagesCount(int pagesCount) ``` Sets number of pages to convert starting from PageNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pagesCount | int | | ##### getPages() ``` public List getPages() ``` Gets The list of page indexes to be converted. Should be specified to convert specific pages. **Returns:** java.util.List ##### setPages(List pages) ``` public void setPages(List pages) ``` Sets the list of page indexes to be converted. Should be specified to convert specific pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pages | java.util.List | | ### ConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/convertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.convert.IConvertOptions, java.lang.Cloneable ``` public abstract class ConvertOptions extends ValueObject implements Serializable, IConvertOptions, Cloneable ``` The general conversion options class. #### Methods | Method | Description | | --- | --- | | getFormat() | {@inheritDoc} | | setFormat(FileType value) | The desired file type the input document should be converted to. | | deepClone() | Clones current options instance. | | getFormat_ConvertOptions_New() | The desired file type the input document should be converted to. | | setFormat_ConvertOptions_New(TFileType value) | The desired file type the input document should be converted to. | ##### getFormat() ``` public FileType getFormat() ``` Gets the desired file type the input document should be converted to. **Returns:** FileType ##### setFormat(FileType value) ``` public void setFormat(FileType value) ``` The desired file type the input document should be converted to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | | ##### deepClone() ``` public final Object deepClone() ``` Clones current options instance. **Returns:** java.lang.Object - ##### getFormat_ConvertOptions_New() ``` public final TFileType getFormat_ConvertOptions_New() ``` The desired file type the input document should be converted to. **Returns:** TFileType ##### setFormat_ConvertOptions_New(TFileType value) ``` public final void setFormat_ConvertOptions_New(TFileType value) ``` The desired file type the input document should be converted to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TFileType | | ### DiagramConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/diagramconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions ``` public class DiagramConvertOptions extends CommonConvertOptions ``` Options for conversion to Diagram file type. #### Constructors | Constructor | Description | | --- | --- | | DiagramConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | isAutoFitPageToDrawingContent() | Defines whether need enlarge page to fit drawing content or not | | setAutoFitPageToDrawingContent(boolean autoFitPageToDrawingContent) | Sets need enlarge page flag | ##### DiagramConvertOptions() ``` public DiagramConvertOptions() ``` Initializes new instance of class. ##### isAutoFitPageToDrawingContent() ``` public boolean isAutoFitPageToDrawingContent() ``` Defines whether need enlarge page to fit drawing content or not **Returns:** boolean - need enlarge page flag ##### setAutoFitPageToDrawingContent(boolean autoFitPageToDrawingContent) ``` public void setAutoFitPageToDrawingContent(boolean autoFitPageToDrawingContent) ``` Sets need enlarge page flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | autoFitPageToDrawingContent | boolean | need enlarge page flag | ### EBookConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ebookconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions ``` public class EBookConvertOptions extends CommonConvertOptions implements IPageSizeConvertOptions, IPageOrientationConvertOptions ``` Options for conversion to EBook file type. #### Constructors | Constructor | Description | | --- | --- | | EBookConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getPageSize() | | | setPageSize(PageSize pageSize) | | | getPageWidth() | | | setPageWidth(float pageWidth) | | | getPageHeight() | | | setPageHeight(float pageHeight) | | | getPageOrientation() | | | setPageOrientation(PageOrientation pageOrientation) | | ##### EBookConvertOptions() ``` public EBookConvertOptions() ``` Initializes new instance of class. ##### getPageSize() ``` public PageSize getPageSize() ``` Gets desired page size after conversion **Returns:** PageSize ##### setPageSize(PageSize pageSize) ``` public void setPageSize(PageSize pageSize) ``` Set desired page size after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageSize | PageSize | | ##### getPageWidth() ``` public float getPageWidth() ``` Specified page width in points if is set to PageSize.Custom **Returns:** float ##### setPageWidth(float pageWidth) ``` public void setPageWidth(float pageWidth) ``` Set desired page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageWidth | float | | ##### getPageHeight() ``` public float getPageHeight() ``` Specified page height in points if is set to PageSize.Custom **Returns:** float ##### setPageHeight(float pageHeight) ``` public void setPageHeight(float pageHeight) ``` Set desired page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageHeight | float | | ##### getPageOrientation() ``` public PageOrientation getPageOrientation() ``` Gets page orientation after conversion **Returns:** PageOrientation ##### setPageOrientation(PageOrientation pageOrientation) ``` public void setPageOrientation(PageOrientation pageOrientation) ``` Sets desired page orientation after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageOrientation | PageOrientation | | ### EmailConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/emailconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public class EmailConvertOptions extends ConvertOptions implements Serializable ``` Options for conversion to Email file type. #### Constructors | Constructor | Description | | --- | --- | | EmailConvertOptions() | Initializes new instance of class. | ##### EmailConvertOptions() ``` public EmailConvertOptions() ``` Initializes new instance of class. ### Font Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/font.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public class Font extends ValueObject ``` Font settings #### Constructors | Constructor | Description | | --- | --- | | Font(String fontFamilyName, float size) | creates new Font instance | #### Methods | Method | Description | | --- | --- | | getFamilyName() | Fets font family name | | getSize() | Gets font size | | isBold() | Font bold flag | | setBold(boolean bold) | Sets Font bold flag | | isItalic() | Font italic flag | | setItalic(boolean italic) | Sets font italic flag | | isUnderline() | Gets Font underline | | setUnderline(boolean underline) | Sets Font underline | | getDefault() | | | clone(float newSize) | | ##### Font(String fontFamilyName, float size) ``` public Font(String fontFamilyName, float size) ``` creates new Font instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontFamilyName | java.lang.String | Font name | | size | float | Font size | ##### getFamilyName() ``` public String getFamilyName() ``` Fets font family name **Returns:** java.lang.String - Font family name ##### getSize() ``` public float getSize() ``` Gets font size **Returns:** float - Font size ##### isBold() ``` public boolean isBold() ``` Font bold flag **Returns:** boolean - true if bold ##### setBold(boolean bold) ``` public void setBold(boolean bold) ``` Sets Font bold flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | bold | boolean | true if bold | ##### isItalic() ``` public boolean isItalic() ``` Font italic flag **Returns:** boolean - true if Italic ##### setItalic(boolean italic) ``` public void setItalic(boolean italic) ``` Sets font italic flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | italic | boolean | true if Italic | ##### isUnderline() ``` public boolean isUnderline() ``` Gets Font underline **Returns:** boolean - true if Font is underline ##### setUnderline(boolean underline) ``` public void setUnderline(boolean underline) ``` Sets Font underline **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | underline | boolean | Font underline flag | ##### getDefault() ``` public static Font getDefault() ``` **Returns:** Font ##### clone(float newSize) ``` public Font clone(float newSize) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newSize | float | | **Returns:** Font ### FontConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/fontconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions ``` public class FontConvertOptions extends ConvertOptions ``` Options for conversion to EBook file type. #### Constructors | Constructor | Description | | --- | --- | | FontConvertOptions() | Initializes new instance of class. | ##### FontConvertOptions() ``` public FontConvertOptions() ``` Initializes new instance of class. ### IConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/iconvertoptions.md ### ImageConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/imageconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class ImageConvertOptions extends CommonConvertOptions implements Serializable ``` Options for conversion to Image file type. #### Constructors | Constructor | Description | | --- | --- | | ImageConvertOptions() | Initializes new instance of ImageConvertOptions class. | #### Fields | Field | Description | | --- | --- | | DEFAULT_DPI | | #### Methods | Method | Description | | --- | --- | | getWidth() | Desired image width after conversion. | | setWidth(int value) | Desired image width after conversion. | | getHeight() | Desired image height after conversion. | | setHeight(int value) | Desired image height after conversion. | | getUsePdf() | If true , the input firstly is converted to PDF and after that to desired format. | | setUsePdf(boolean value) | If true , the input firstly is converted to PDF and after that to desired format. | | getHorizontalResolution() | Desired image horizontal resolution after conversion. | | setHorizontalResolution(int value) | Desired image horizontal resolution after conversion. | | getVerticalResolution() | Desired image vertical resolution after conversion. | | setVerticalResolution(int value) | Desired image vertical resolution after conversion. | | getTiffOptions() | Tiff specific convert options. | | setTiffOptions(TiffOptions value) | Tiff specific convert options. | | getPsdOptions() | Psd specific convert options. | | setPsdOptions(PsdOptions value) | Psd specific convert options. | | getWebpOptions() | Webp specific convert options. | | setWebpOptions(WebpOptions value) | Webp specific convert options. | | getGrayscale() | Indicates whether to convert into grayscale image. | | setGrayscale(boolean value) | Indicates whether to convert into grayscale image. | | getRotateAngle() | Image rotation angle. | | setRotateAngle(int value) | Image rotation angle. | | getJpegOptions() | Jpeg specific convert options. | | setJpegOptions(JpegOptions value) | Jpeg specific convert options. | | getFlipMode() | Image flip mode. | | setFlipMode(ImageFlipModes value) | Image flip mode. | | getBrightness() | Adjusts image brightness. | | setBrightness(int value) | Adjusts image brightness. | | getContrast() | Adjusts image contrast. | | setContrast(int value) | Adjusts image contrast. | | getGamma() | Adjusts image gamma. | | setGamma(float value) | Adjusts image gamma. | | getBackgroundColor() | Gets background color | | setBackgroundColor(System.Drawing.Color backgroundColor) | Sets background color where supported by the source format | ##### ImageConvertOptions() ``` public ImageConvertOptions() ``` Initializes new instance of ImageConvertOptions class. ##### DEFAULT_DPI ``` public static final int DEFAULT_DPI ``` ##### getWidth() ``` public final int getWidth() ``` Desired image width after conversion. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Desired image width after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Desired image height after conversion. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Desired image height after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getUsePdf() ``` public final boolean getUsePdf() ``` If true , the input firstly is converted to PDF and after that to desired format. **Returns:** boolean ##### setUsePdf(boolean value) ``` public final void setUsePdf(boolean value) ``` If true , the input firstly is converted to PDF and after that to desired format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHorizontalResolution() ``` public final int getHorizontalResolution() ``` Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Returns:** int ##### setHorizontalResolution(int value) ``` public final void setHorizontalResolution(int value) ``` Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getVerticalResolution() ``` public final int getVerticalResolution() ``` Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Returns:** int ##### setVerticalResolution(int value) ``` public final void setVerticalResolution(int value) ``` Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTiffOptions() ``` public final TiffOptions getTiffOptions() ``` Tiff specific convert options. **Returns:** TiffOptions ##### setTiffOptions(TiffOptions value) ``` public final void setTiffOptions(TiffOptions value) ``` Tiff specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffOptions | | ##### getPsdOptions() ``` public final PsdOptions getPsdOptions() ``` Psd specific convert options. **Returns:** PsdOptions ##### setPsdOptions(PsdOptions value) ``` public final void setPsdOptions(PsdOptions value) ``` Psd specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PsdOptions | | ##### getWebpOptions() ``` public final WebpOptions getWebpOptions() ``` Webp specific convert options. **Returns:** WebpOptions ##### setWebpOptions(WebpOptions value) ``` public final void setWebpOptions(WebpOptions value) ``` Webp specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WebpOptions | | ##### getGrayscale() ``` public final boolean getGrayscale() ``` Indicates whether to convert into grayscale image. **Returns:** boolean ##### setGrayscale(boolean value) ``` public final void setGrayscale(boolean value) ``` Indicates whether to convert into grayscale image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRotateAngle() ``` public final int getRotateAngle() ``` Image rotation angle. **Returns:** int ##### setRotateAngle(int value) ``` public final void setRotateAngle(int value) ``` Image rotation angle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getJpegOptions() ``` public final JpegOptions getJpegOptions() ``` Jpeg specific convert options. **Returns:** JpegOptions ##### setJpegOptions(JpegOptions value) ``` public final void setJpegOptions(JpegOptions value) ``` Jpeg specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | JpegOptions | | ##### getFlipMode() ``` public final ImageFlipModes getFlipMode() ``` Image flip mode. **Returns:** ImageFlipModes ##### setFlipMode(ImageFlipModes value) ``` public final void setFlipMode(ImageFlipModes value) ``` Image flip mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ImageFlipModes | | ##### getBrightness() ``` public final int getBrightness() ``` Adjusts image brightness. **Returns:** int ##### setBrightness(int value) ``` public final void setBrightness(int value) ``` Adjusts image brightness. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getContrast() ``` public final int getContrast() ``` Adjusts image contrast. **Returns:** int ##### setContrast(int value) ``` public final void setContrast(int value) ``` Adjusts image contrast. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getGamma() ``` public final float getGamma() ``` Adjusts image gamma. **Returns:** float ##### setGamma(float value) ``` public final void setGamma(float value) ``` Adjusts image gamma. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getBackgroundColor() ``` public System.Drawing.Color getBackgroundColor() ``` Gets background color **Returns:** com.aspose.ms.System.Drawing.Color - background color ##### setBackgroundColor(System.Drawing.Color backgroundColor) ``` public void setBackgroundColor(System.Drawing.Color backgroundColor) ``` Sets background color where supported by the source format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | backgroundColor | com.aspose.ms.System.Drawing.Color | background color | ### ImageFlipModes Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/imageflipmodes.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class ImageFlipModes extends Enumeration implements Serializable ``` Describes image flip modes. #### Constructors | Constructor | Description | | --- | --- | | ImageFlipModes() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | None | No flipping. | | FlipX | Horizontal flip. | | FlipY | Flip vertical. | | FlipXY | Flip horizontal and vertical. | ##### ImageFlipModes() ``` public ImageFlipModes() ``` Serialization constructor ##### None ``` public static final ImageFlipModes None ``` No flipping. ##### FlipX ``` public static final ImageFlipModes FlipX ``` Horizontal flip. ##### FlipY ``` public static final ImageFlipModes FlipY ``` Flip vertical. ##### FlipXY ``` public static final ImageFlipModes FlipXY ``` Flip horizontal and vertical. ### IPagedConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ipagedconvertoptions.md **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IConvertOptions ``` public interface IPagedConvertOptions extends IConvertOptions ``` Represents convert options that allows conversion to perform page limitation by specifying start page and pages count #### Methods | Method | Description | | --- | --- | | getPageNumber() | Gets the page number to start conversion from. | | setPageNumber(int pageNumber) | Sets the page number to start conversion from. | | getPagesCount() | Gets number of pages to convert starting from PageNumber. | | setPagesCount(int pagesCount) | Sets number of pages to convert starting from PageNumber. | ##### getPageNumber() ``` public abstract Integer getPageNumber() ``` Gets the page number to start conversion from. **Returns:** java.lang.Integer - The page number to start conversion from. ##### setPageNumber(int pageNumber) ``` public abstract void setPageNumber(int pageNumber) ``` Sets the page number to start conversion from. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | The page number to start conversion from. | ##### getPagesCount() ``` public abstract Integer getPagesCount() ``` Gets number of pages to convert starting from PageNumber. **Returns:** java.lang.Integer - Number of pages to convert starting from PageNumber. ##### setPagesCount(int pagesCount) ``` public abstract void setPagesCount(int pagesCount) ``` Sets number of pages to convert starting from PageNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pagesCount | int | Number of pages to convert starting from PageNumber. | ### IPageMarginConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ipagemarginconvertoptions.md **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IConvertOptions ``` public interface IPageMarginConvertOptions extends IConvertOptions ``` Represents convert options that support page margins #### Methods | Method | Description | | --- | --- | | getMarginTop() | Gets desired page top margin in points after conversion. | | setMarginTop(float marginTop) | Sets desired page top margin in points after conversion. | | getMarginBottom() | Gets desired page bottom margin in points after conversion. | | setMarginBottom(float marginBottom) | Sets desired page bottom margin in points after conversion. | | getMarginLeft() | Gets desired page left margin in points after conversion. | | setMarginLeft(float marginLeft) | Sets desired page left margin in points after conversion. | | getMarginRight() | Gets desired page right margin in points after conversion. | | setMarginRight(float marginRight) | Sets desired page right margin in points after conversion. | ##### getMarginTop() ``` public abstract float getMarginTop() ``` Gets desired page top margin in points after conversion. **Returns:** float ##### setMarginTop(float marginTop) ``` public abstract void setMarginTop(float marginTop) ``` Sets desired page top margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | marginTop | float | | ##### getMarginBottom() ``` public abstract float getMarginBottom() ``` Gets desired page bottom margin in points after conversion. **Returns:** float ##### setMarginBottom(float marginBottom) ``` public abstract void setMarginBottom(float marginBottom) ``` Sets desired page bottom margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | marginBottom | float | | ##### getMarginLeft() ``` public abstract float getMarginLeft() ``` Gets desired page left margin in points after conversion. **Returns:** float ##### setMarginLeft(float marginLeft) ``` public abstract void setMarginLeft(float marginLeft) ``` Sets desired page left margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | marginLeft | float | | ##### getMarginRight() ``` public abstract float getMarginRight() ``` Gets desired page right margin in points after conversion. **Returns:** float ##### setMarginRight(float marginRight) ``` public abstract void setMarginRight(float marginRight) ``` Sets desired page right margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | marginRight | float | | ### IPageOrientationConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ipageorientationconvertoptions.md **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IConvertOptions ``` public interface IPageOrientationConvertOptions extends IConvertOptions ``` Represents convert options that support page orientation #### Methods | Method | Description | | --- | --- | | getPageOrientation() | Gets page orientation after conversion | | setPageOrientation(PageOrientation pageOrientation) | Sets desired page orientation after conversion | ##### getPageOrientation() ``` public abstract PageOrientation getPageOrientation() ``` Gets page orientation after conversion **Returns:** PageOrientation ##### setPageOrientation(PageOrientation pageOrientation) ``` public abstract void setPageOrientation(PageOrientation pageOrientation) ``` Sets desired page orientation after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageOrientation | PageOrientation | | ### IPageRangedConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ipagerangedconvertoptions.md **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IConvertOptions ``` public interface IPageRangedConvertOptions extends IConvertOptions ``` Represents convert options that support conversion of specific list of pages #### Methods | Method | Description | | --- | --- | | getPages() | Gets The list of page indexes to be converted. | | setPages(List pages) | Sets the list of page indexes to be converted. | ##### getPages() ``` public abstract List getPages() ``` Gets The list of page indexes to be converted. Should be specified to convert specific pages. **Returns:** java.util.List - The list of page indexes to be converted. Should be specified to convert specific pages. ##### setPages(List pages) ``` public abstract void setPages(List pages) ``` Sets the list of page indexes to be converted. Should be specified to convert specific pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pages | java.util.List | The list of page indexes to be converted. Should be specified to convert specific pages. | ### IPageSize Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ipagesize.md ### IPageSizeConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ipagesizeconvertoptions.md **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IConvertOptions ``` public interface IPageSizeConvertOptions extends IConvertOptions ``` Represents convert options that support page size #### Methods | Method | Description | | --- | --- | | getPageSize() | Gets desired page size after conversion | | setPageSize(PageSize pageSize) | Set desired page size after conversion | | getPageWidth() | Specified page width in points if is set to PageSize.Custom | | setPageWidth(float pageWidth) | Set desired page width | | getPageHeight() | Specified page height in points if is set to PageSize.Custom | | setPageHeight(float pageHeight) | Set desired page height | ##### getPageSize() ``` public abstract PageSize getPageSize() ``` Gets desired page size after conversion **Returns:** PageSize ##### setPageSize(PageSize pageSize) ``` public abstract void setPageSize(PageSize pageSize) ``` Set desired page size after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageSize | PageSize | | ##### getPageWidth() ``` public abstract float getPageWidth() ``` Specified page width in points if is set to PageSize.Custom **Returns:** float ##### setPageWidth(float pageWidth) ``` public abstract void setPageWidth(float pageWidth) ``` Set desired page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageWidth | float | | ##### getPageHeight() ``` public abstract float getPageHeight() ``` Specified page height in points if is set to PageSize.Custom **Returns:** float ##### setPageHeight(float pageHeight) ``` public abstract void setPageHeight(float pageHeight) ``` Set desired page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageHeight | float | | ### IPdfRecognitionModeOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/ipdfrecognitionmodeoptions.md **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IConvertOptions ``` public interface IPdfRecognitionModeOptions extends IConvertOptions ``` Represents convert options that control recognition mode when converting from PDF #### Methods | Method | Description | | --- | --- | | getPdfRecognitionMode() | Gets recognition mode when converting from pdf | | setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) | Sets recognition mode when converting from pdf | ##### getPdfRecognitionMode() ``` public abstract PdfRecognitionMode getPdfRecognitionMode() ``` Gets recognition mode when converting from pdf **Returns:** PdfRecognitionMode ##### setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) ``` public abstract void setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) ``` Sets recognition mode when converting from pdf **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pdfRecognitionMode | PdfRecognitionMode | | ### IWatermarkedConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/iwatermarkedconvertoptions.md **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IConvertOptions ``` public interface IWatermarkedConvertOptions extends IConvertOptions ``` Represents convert options that allow output of conversion to be watermarked #### Methods | Method | Description | | --- | --- | | getWatermark() | Gets watermark specific options | | setWatermark(WatermarkOptions watermark) | Sets watermark specific options | ##### getWatermark() ``` public abstract WatermarkOptions getWatermark() ``` Gets watermark specific options **Returns:** WatermarkOptions - Watermark specific options ##### setWatermark(WatermarkOptions watermark) ``` public abstract void setWatermark(WatermarkOptions watermark) ``` Sets watermark specific options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | watermark | WatermarkOptions | Watermark specific options | ### JpegOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/jpegoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class JpegOptions extends ValueObject implements Serializable ``` Options for conversion to Jpeg file type. #### Constructors | Constructor | Description | | --- | --- | | JpegOptions() | Initializes new instance of JpegOptions class. | #### Methods | Method | Description | | --- | --- | | getQuality() | Desired image quality. | | setQuality(int value) | Desired image quality. | | getColorMode() | Jpg color mode. | | setColorMode(JpgColorModes value) | Jpg color mode. | | getCompression() | Jpg compression method. | | setCompression(JpgCompressionMethods value) | Jpg compression method. | ##### JpegOptions() ``` public JpegOptions() ``` Initializes new instance of JpegOptions class. ##### getQuality() ``` public final int getQuality() ``` Desired image quality. The value must be between 0 and 100. The default value is 100. **Returns:** int ##### setQuality(int value) ``` public final void setQuality(int value) ``` Desired image quality. The value must be between 0 and 100. The default value is 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getColorMode() ``` public final JpgColorModes getColorMode() ``` Jpg color mode. **Returns:** JpgColorModes ##### setColorMode(JpgColorModes value) ``` public final void setColorMode(JpgColorModes value) ``` Jpg color mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | JpgColorModes | | ##### getCompression() ``` public final JpgCompressionMethods getCompression() ``` Jpg compression method. **Returns:** JpgCompressionMethods ##### setCompression(JpgCompressionMethods value) ``` public final void setCompression(JpgCompressionMethods value) ``` Jpg compression method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | JpgCompressionMethods | | ### JpgColorModes Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/jpgcolormodes.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class JpgColorModes extends Enumeration implements Serializable ``` Describes Jpg color modes enumeration. #### Constructors | Constructor | Description | | --- | --- | | JpgColorModes() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | YCbCr | YCbCr image. | | Rgb | RGB. | | Cmyk | CMYK. | | Ycck | Ycck. | | Grayscale | Grayscale. | ##### JpgColorModes() ``` public JpgColorModes() ``` Serialization constructor ##### YCbCr ``` public static final JpgColorModes YCbCr ``` YCbCr image. Standard option for jpeg images. ##### Rgb ``` public static final JpgColorModes Rgb ``` RGB. ##### Cmyk ``` public static final JpgColorModes Cmyk ``` CMYK. ##### Ycck ``` public static final JpgColorModes Ycck ``` Ycck. ##### Grayscale ``` public static final JpgColorModes Grayscale ``` Grayscale. ### JpgCompressionMethods Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/jpgcompressionmethods.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class JpgCompressionMethods extends Enumeration implements Serializable ``` Describes Jpg compression modes #### Constructors | Constructor | Description | | --- | --- | | JpgCompressionMethods() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Baseline | The baseline compression. | | Progressive | Progressive compression. | | Lossless | Lossless compression. | | JpegLs | JpegLs compression. | ##### JpgCompressionMethods() ``` public JpgCompressionMethods() ``` Serialization constructor ##### Baseline ``` public static final JpgCompressionMethods Baseline ``` The baseline compression. ##### Progressive ``` public static final JpgCompressionMethods Progressive ``` Progressive compression. ##### Lossless ``` public static final JpgCompressionMethods Lossless ``` Lossless compression. ##### JpegLs ``` public static final JpgCompressionMethods JpegLs ``` JpegLs compression. ### NoConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/noconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions ``` public class NoConvertOptions extends ConvertOptions ``` Special convert option class, which instructs converter to copy source document without any processing #### Constructors | Constructor | Description | | --- | --- | | NoConvertOptions() | | ##### NoConvertOptions() ``` public NoConvertOptions() ``` ### PageDescriptionLanguageConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions ``` public class PageDescriptionLanguageConvertOptions extends CommonConvertOptions ``` Options for conversion to page descriptions language file type. #### Constructors | Constructor | Description | | --- | --- | | PageDescriptionLanguageConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Desired page width after conversion. | | setWidth(int width) | | | getHeight() | Desired page height after conversion. | | setHeight(int height) | | ##### PageDescriptionLanguageConvertOptions() ``` public PageDescriptionLanguageConvertOptions() ``` Initializes new instance of class. ##### getWidth() ``` public int getWidth() ``` Desired page width after conversion. **Returns:** int ##### setWidth(int width) ``` public void setWidth(int width) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | | ##### getHeight() ``` public int getHeight() ``` Desired page height after conversion. **Returns:** int ##### setHeight(int height) ``` public void setHeight(int height) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | height | int | | ### PageOrientation Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pageorientation.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PageOrientation extends Enum ``` #### Fields | Field | Description | | --- | --- | | LANDSCAPE | | | PORTRAIT | | | DEFAULT | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getKey() | | | getName() | | ##### LANDSCAPE ``` public static final PageOrientation LANDSCAPE ``` ##### PORTRAIT ``` public static final PageOrientation PORTRAIT ``` ##### DEFAULT ``` public static final PageOrientation DEFAULT ``` ##### values() ``` public static PageOrientation[] values() ``` **Returns:** com.groupdocs.conversion.options.convert.PageOrientation[] ##### valueOf(String name) ``` public static PageOrientation valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PageOrientation ##### getKey() ``` public String getKey() ``` **Returns:** java.lang.String ##### getName() ``` public String getName() ``` **Returns:** java.lang.String ### PageSize Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pagesize.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IPageSize ``` public enum PageSize extends Enum implements IPageSize ``` #### Fields | Field | Description | | --- | --- | | A3 | | | A4 | | | A5 | | | B4 | | | B5 | | | CUSTOM | | | ENVELOPE_DL | | | EXECUTIVE | | | FOLIO | | | LEDGER | | | LEGAL | | | LETTER | | | PAPER_10_X_14 | | | PAPER_11_X_17 | | | QUARTO | | | STATEMENT | | | TABLOID | | | UNSET | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | createCustom(float width, float height) | | | getKey() | | | getName() | | | getWidth() | | | getHeight() | | | pointsToPixels(float points, int dpi) | | | pixelsToPoints(int pixels, int dpi) | | ##### A3 ``` public static final PageSize A3 ``` ##### A4 ``` public static final PageSize A4 ``` ##### A5 ``` public static final PageSize A5 ``` ##### B4 ``` public static final PageSize B4 ``` ##### B5 ``` public static final PageSize B5 ``` ##### CUSTOM ``` public static final PageSize CUSTOM ``` ##### ENVELOPE_DL ``` public static final PageSize ENVELOPE_DL ``` ##### EXECUTIVE ``` public static final PageSize EXECUTIVE ``` ##### FOLIO ``` public static final PageSize FOLIO ``` ##### LEDGER ``` public static final PageSize LEDGER ``` ##### LEGAL ``` public static final PageSize LEGAL ``` ##### LETTER ``` public static final PageSize LETTER ``` ##### PAPER_10_X_14 ``` public static final PageSize PAPER_10_X_14 ``` ##### PAPER_11_X_17 ``` public static final PageSize PAPER_11_X_17 ``` ##### QUARTO ``` public static final PageSize QUARTO ``` ##### STATEMENT ``` public static final PageSize STATEMENT ``` ##### TABLOID ``` public static final PageSize TABLOID ``` ##### UNSET ``` public static final PageSize UNSET ``` ##### values() ``` public static PageSize[] values() ``` **Returns:** com.groupdocs.conversion.options.convert.PageSize[] ##### valueOf(String name) ``` public static PageSize valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PageSize ##### createCustom(float width, float height) ``` public static PageSize.PageSizeCustom createCustom(float width, float height) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | float | | | height | float | | **Returns:** PageSizeCustom ##### getKey() ``` public String getKey() ``` **Returns:** java.lang.String ##### getName() ``` public String getName() ``` **Returns:** java.lang.String ##### getWidth() ``` public double getWidth() ``` **Returns:** double ##### getHeight() ``` public double getHeight() ``` **Returns:** double ##### pointsToPixels(float points, int dpi) ``` public static int pointsToPixels(float points, int dpi) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | points | float | | | dpi | int | | **Returns:** int ##### pixelsToPoints(int pixels, int dpi) ``` public static float pixelsToPoints(int pixels, int dpi) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pixels | int | | | dpi | int | | **Returns:** float ### PdfConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions ``` public class PdfConvertOptions extends CommonConvertOptions implements Serializable, IPageMarginConvertOptions, IPageSizeConvertOptions, IPageOrientationConvertOptions ``` Options for conversion to Pdf file type. #### Constructors | Constructor | Description | | --- | --- | | PdfConvertOptions() | Initializes new instance of PdfConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getDpi() | Desired page DPI after conversion. | | setDpi(int value) | Desired page DPI after conversion. | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getMarginTop() | Desired page top margin in points after conversion. | | setMarginTop(float value) | Desired page top margin in points after conversion. | | getMarginBottom() | Desired page bottom margin in points after conversion. | | setMarginBottom(float value) | Desired page bottom margin in points after conversion. | | getMarginLeft() | Desired page left margin in points after conversion. | | setMarginLeft(float value) | Desired page left margin in points after conversion. | | getMarginRight() | Desired page right margin in points after conversion. | | setMarginRight(float value) | Desired page right margin in points after conversion. | | getPdfOptions() | Pdf specific convert options | | setPdfOptions(PdfOptions value) | Pdf specific convert options | | getRotate() | Page rotation | | setRotate(Rotation value) | Page rotation | | getPageOrientation() | | | setPageOrientation(PageOrientation pageOrientation) | | | getPageSize() | | | setPageSize(PageSize pageSize) | | | getPageWidth() | | | setPageWidth(float pageWidth) | | | getPageHeight() | | | setPageHeight(float pageHeight) | | ##### PdfConvertOptions() ``` public PdfConvertOptions() ``` Initializes new instance of PdfConvertOptions class. ##### getDpi() ``` public final int getDpi() ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Returns:** int ##### setDpi(int value) ``` public final void setDpi(int value) ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getMarginTop() ``` public final float getMarginTop() ``` Desired page top margin in points after conversion. **Returns:** float ##### setMarginTop(float value) ``` public final void setMarginTop(float value) ``` Desired page top margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMarginBottom() ``` public final float getMarginBottom() ``` Desired page bottom margin in points after conversion. **Returns:** float ##### setMarginBottom(float value) ``` public final void setMarginBottom(float value) ``` Desired page bottom margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMarginLeft() ``` public final float getMarginLeft() ``` Desired page left margin in points after conversion. **Returns:** float ##### setMarginLeft(float value) ``` public final void setMarginLeft(float value) ``` Desired page left margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMarginRight() ``` public final float getMarginRight() ``` Desired page right margin in points after conversion. **Returns:** float ##### setMarginRight(float value) ``` public final void setMarginRight(float value) ``` Desired page right margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getPdfOptions() ``` public final PdfOptions getPdfOptions() ``` Pdf specific convert options **Returns:** PdfOptions ##### setPdfOptions(PdfOptions value) ``` public final void setPdfOptions(PdfOptions value) ``` Pdf specific convert options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfOptions | | ##### getRotate() ``` public final Rotation getRotate() ``` Page rotation **Returns:** Rotation ##### setRotate(Rotation value) ``` public final void setRotate(Rotation value) ``` Page rotation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rotation | | ##### getPageOrientation() ``` public PageOrientation getPageOrientation() ``` Gets page orientation after conversion **Returns:** PageOrientation ##### setPageOrientation(PageOrientation pageOrientation) ``` public void setPageOrientation(PageOrientation pageOrientation) ``` Sets desired page orientation after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageOrientation | PageOrientation | | ##### getPageSize() ``` public PageSize getPageSize() ``` Gets desired page size after conversion **Returns:** PageSize ##### setPageSize(PageSize pageSize) ``` public void setPageSize(PageSize pageSize) ``` Set desired page size after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageSize | PageSize | | ##### getPageWidth() ``` public float getPageWidth() ``` Specified page width in points if is set to PageSize.Custom **Returns:** float ##### setPageWidth(float pageWidth) ``` public void setPageWidth(float pageWidth) ``` Set desired page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageWidth | float | | ##### getPageHeight() ``` public float getPageHeight() ``` Specified page height in points if is set to PageSize.Custom **Returns:** float ##### setPageHeight(float pageHeight) ``` public void setPageHeight(float pageHeight) ``` Set desired page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageHeight | float | | ### PdfDirection Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfdirection.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PdfDirection extends Enumeration implements Serializable ``` Describes Pdf text direction. #### Constructors | Constructor | Description | | --- | --- | | PdfDirection() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | L2R | Left to right. | | R2L | Right to left. | ##### PdfDirection() ``` public PdfDirection() ``` Serialization constructor ##### L2R ``` public static final PdfDirection L2R ``` Left to right. ##### R2L ``` public static final PdfDirection R2L ``` Right to left. ### PdfFormats Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfformats.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfFormats extends Enumeration implements Serializable ``` Describes Pdf formats enumeration. #### Constructors | Constructor | Description | | --- | --- | | PdfFormats() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Default | Default pdf format | | PdfA_1A | PDF/A-1a \\u2013 Level A (accessible) conformance. | | PdfA_1B | PDF/A-1b \\u2013 Level B (basic) conformance. | | PdfA_2A | PDF/A-2a conformance. | | PdfA_3A | PDF/A-3a conformance. | | PdfA_2B | PDF/A-2b conformance. | | PdfA_2U | PDF/A-2u conformance. | | PdfA_3B | PDF/A-3b conformance. | | PdfA_3U | PDF/A-3u conformance. | | v1_3 | PDF version 1.3. | | v1_4 | PDF version 1.4. | | v1_5 | PDF version 1.5. | | v1_6 | PDF version 1.6. | | v1_7 | PDF version 1.7. | | PdfX_1A | PDF/X-1a conformance. | | PdfX_3 | PDF/X-3 conformance. | | PdfUA_1 | PDF/UA-1 conformance. | ##### PdfFormats() ``` public PdfFormats() ``` Serialization constructor ##### Default ``` public static final PdfFormats Default ``` Default pdf format ##### PdfA_1A ``` public static final PdfFormats PdfA_1A ``` PDF/A-1a \\u2013 Level A (accessible) conformance. ##### PdfA_1B ``` public static final PdfFormats PdfA_1B ``` PDF/A-1b \\u2013 Level B (basic) conformance. ##### PdfA_2A ``` public static final PdfFormats PdfA_2A ``` PDF/A-2a conformance. ##### PdfA_3A ``` public static final PdfFormats PdfA_3A ``` PDF/A-3a conformance. ##### PdfA_2B ``` public static final PdfFormats PdfA_2B ``` PDF/A-2b conformance. ##### PdfA_2U ``` public static final PdfFormats PdfA_2U ``` PDF/A-2u conformance. ##### PdfA_3B ``` public static final PdfFormats PdfA_3B ``` PDF/A-3b conformance. ##### PdfA_3U ``` public static final PdfFormats PdfA_3U ``` PDF/A-3u conformance. ##### v1_3 ``` public static final PdfFormats v1_3 ``` PDF version 1.3. ##### v1_4 ``` public static final PdfFormats v1_4 ``` PDF version 1.4. ##### v1_5 ``` public static final PdfFormats v1_5 ``` PDF version 1.5. ##### v1_6 ``` public static final PdfFormats v1_6 ``` PDF version 1.6. ##### v1_7 ``` public static final PdfFormats v1_7 ``` PDF version 1.7. ##### PdfX_1A ``` public static final PdfFormats PdfX_1A ``` PDF/X-1a conformance. ##### PdfX_3 ``` public static final PdfFormats PdfX_3 ``` PDF/X-3 conformance. ##### PdfUA_1 ``` public static final PdfFormats PdfUA_1 ``` PDF/UA-1 conformance. ### PdfFormattingOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfformattingoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfFormattingOptions extends ValueObject implements Serializable ``` Defines Pdf formatting options. #### Constructors | Constructor | Description | | --- | --- | | PdfFormattingOptions() | | #### Methods | Method | Description | | --- | --- | | getCenterWindow() | Specifies whether position of the document's window will be centered on the screen. | | setCenterWindow(boolean value) | Specifies whether position of the document's window will be centered on the screen. | | getDirection() | Sets reading order of text: L2R (left to right) or R2L (right to left). | | setDirection(PdfDirection value) | Sets reading order of text: L2R (left to right) or R2L (right to left). | | getDisplayDocTitle() | Specifies whether document's window title bar should display document title. | | setDisplayDocTitle(boolean value) | Specifies whether document's window title bar should display document title. | | getFitWindow() | Specifies whether document window must be resized to fit the first displayed page. | | setFitWindow(boolean value) | Specifies whether document window must be resized to fit the first displayed page. | | getHideMenuBar() | Specifies whether menu bar should be hidden when document is active. | | setHideMenuBar(boolean value) | Specifies whether menu bar should be hidden when document is active. | | getHideToolBar() | Specifies whether toolbar should be hidden when document is active. | | setHideToolBar(boolean value) | Specifies whether toolbar should be hidden when document is active. | | getHideWindowUI() | Specifies whether user interface elements should be hidden when document is active. | | setHideWindowUI(boolean value) | Specifies whether user interface elements should be hidden when document is active. | | getNonFullScreenPageMode() | Sets page mode, specifying how to display the document on exiting full-screen mode. | | setNonFullScreenPageMode(PdfPageMode value) | Sets page mode, specifying how to display the document on exiting full-screen mode. | | getPageLayout() | Sets page layout which shall be used when the document is opened. | | setPageLayout(PdfPageLayout value) | Sets page layout which shall be used when the document is opened. | | getPageMode() | Sets page mode, specifying how document should be displayed when opened. | | setPageMode(PdfPageMode value) | Sets page mode, specifying how document should be displayed when opened. | ##### PdfFormattingOptions() ``` public PdfFormattingOptions() ``` ##### getCenterWindow() ``` public final boolean getCenterWindow() ``` Specifies whether position of the document's window will be centered on the screen. Default: false. **Returns:** boolean ##### setCenterWindow(boolean value) ``` public final void setCenterWindow(boolean value) ``` Specifies whether position of the document's window will be centered on the screen. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDirection() ``` public final PdfDirection getDirection() ``` Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R. **Returns:** PdfDirection ##### setDirection(PdfDirection value) ``` public final void setDirection(PdfDirection value) ``` Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfDirection | | ##### getDisplayDocTitle() ``` public final boolean getDisplayDocTitle() ``` Specifies whether document's window title bar should display document title. Default: false. **Returns:** boolean ##### setDisplayDocTitle(boolean value) ``` public final void setDisplayDocTitle(boolean value) ``` Specifies whether document's window title bar should display document title. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFitWindow() ``` public final boolean getFitWindow() ``` Specifies whether document window must be resized to fit the first displayed page. Default: false. **Returns:** boolean ##### setFitWindow(boolean value) ``` public final void setFitWindow(boolean value) ``` Specifies whether document window must be resized to fit the first displayed page. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHideMenuBar() ``` public final boolean getHideMenuBar() ``` Specifies whether menu bar should be hidden when document is active. Default: false. **Returns:** boolean ##### setHideMenuBar(boolean value) ``` public final void setHideMenuBar(boolean value) ``` Specifies whether menu bar should be hidden when document is active. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHideToolBar() ``` public final boolean getHideToolBar() ``` Specifies whether toolbar should be hidden when document is active. Default: false. **Returns:** boolean ##### setHideToolBar(boolean value) ``` public final void setHideToolBar(boolean value) ``` Specifies whether toolbar should be hidden when document is active. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHideWindowUI() ``` public final boolean getHideWindowUI() ``` Specifies whether user interface elements should be hidden when document is active. Default: false. **Returns:** boolean ##### setHideWindowUI(boolean value) ``` public final void setHideWindowUI(boolean value) ``` Specifies whether user interface elements should be hidden when document is active. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getNonFullScreenPageMode() ``` public final PdfPageMode getNonFullScreenPageMode() ``` Sets page mode, specifying how to display the document on exiting full-screen mode. **Returns:** PdfPageMode ##### setNonFullScreenPageMode(PdfPageMode value) ``` public final void setNonFullScreenPageMode(PdfPageMode value) ``` Sets page mode, specifying how to display the document on exiting full-screen mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfPageMode | | ##### getPageLayout() ``` public final PdfPageLayout getPageLayout() ``` Sets page layout which shall be used when the document is opened. **Returns:** PdfPageLayout ##### setPageLayout(PdfPageLayout value) ``` public final void setPageLayout(PdfPageLayout value) ``` Sets page layout which shall be used when the document is opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfPageLayout | | ##### getPageMode() ``` public final PdfPageMode getPageMode() ``` Sets page mode, specifying how document should be displayed when opened. **Returns:** PdfPageMode ##### setPageMode(PdfPageMode value) ``` public final void setPageMode(PdfPageMode value) ``` Sets page mode, specifying how document should be displayed when opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfPageMode | | ### PdfOptimizationOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfoptimizationoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfOptimizationOptions extends ValueObject implements Serializable ``` Defines Pdf optimization options. #### Constructors | Constructor | Description | | --- | --- | | PdfOptimizationOptions() | Initializes new instance of PdfOptimizationOptions class. | #### Methods | Method | Description | | --- | --- | | getLinkDuplicateStreams() | Link duplicate streams | | setLinkDuplicateStreams(boolean value) | Link duplicate streams | | getRemoveUnusedObjects() | Remove unused objects | | setRemoveUnusedObjects(boolean value) | Remove unused objects | | getRemoveUnusedStreams() | Remove unused streams | | setRemoveUnusedStreams(boolean value) | Remove unused streams | | getCompressImages() | If CompressImages set to true , all images in the document are recompressed. | | setCompressImages(boolean value) | If CompressImages set to true , all images in the document are recompressed. | | getImageQuality() | Value in percent where 100% is unchanged quality and image size. | | setImageQuality(int value) | Value in percent where 100% is unchanged quality and image size. | | getUnembedFonts() | Make fonts not embedded if set to true | | setUnembedFonts(boolean value) | Make fonts not embedded if set to true | | getFontSubsetStrategy() | | | setFontSubsetStrategy(PdfFontSubsetStrategy fontSubsetStrategy) | Set font subset strategy | ##### PdfOptimizationOptions() ``` public PdfOptimizationOptions() ``` Initializes new instance of PdfOptimizationOptions class. ##### getLinkDuplicateStreams() ``` public final boolean getLinkDuplicateStreams() ``` Link duplicate streams **Returns:** boolean ##### setLinkDuplicateStreams(boolean value) ``` public final void setLinkDuplicateStreams(boolean value) ``` Link duplicate streams **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRemoveUnusedObjects() ``` public final boolean getRemoveUnusedObjects() ``` Remove unused objects **Returns:** boolean ##### setRemoveUnusedObjects(boolean value) ``` public final void setRemoveUnusedObjects(boolean value) ``` Remove unused objects **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRemoveUnusedStreams() ``` public final boolean getRemoveUnusedStreams() ``` Remove unused streams **Returns:** boolean ##### setRemoveUnusedStreams(boolean value) ``` public final void setRemoveUnusedStreams(boolean value) ``` Remove unused streams **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getCompressImages() ``` public final boolean getCompressImages() ``` If CompressImages set to true , all images in the document are recompressed. The compression is defined by the ImageQuality property. **Returns:** boolean ##### setCompressImages(boolean value) ``` public final void setCompressImages(boolean value) ``` If CompressImages set to true , all images in the document are recompressed. The compression is defined by the ImageQuality property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getImageQuality() ``` public final int getImageQuality() ``` Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100 **Returns:** int ##### setImageQuality(int value) ``` public final void setImageQuality(int value) ``` Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100 **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getUnembedFonts() ``` public final boolean getUnembedFonts() ``` Make fonts not embedded if set to true **Returns:** boolean ##### setUnembedFonts(boolean value) ``` public final void setUnembedFonts(boolean value) ``` Make fonts not embedded if set to true **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFontSubsetStrategy() ``` public PdfFontSubsetStrategy getFontSubsetStrategy() ``` **Returns:** PdfFontSubsetStrategy ##### setFontSubsetStrategy(PdfFontSubsetStrategy fontSubsetStrategy) ``` public void setFontSubsetStrategy(PdfFontSubsetStrategy fontSubsetStrategy) ``` Set font subset strategy **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontSubsetStrategy | PdfFontSubsetStrategy | | ### PdfOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfOptions extends ValueObject implements Serializable ``` Options for conversion to Pdf file type. #### Constructors | Constructor | Description | | --- | --- | | PdfOptions() | ctor | #### Methods | Method | Description | | --- | --- | | getPdfFormat() | Sets the pdf format of the converted document. | | setPdfFormat(PdfFormats value) | Sets the pdf format of the converted document. | | getRemovePdfACompliance() | Removes Pdf-A Compliance | | setRemovePdfACompliance(boolean value) | Removes Pdf-A Compliance | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | | getLinearize() | Linearizes PDF Document for the Web | | setLinearize(boolean value) | Linearizes PDF Document for the Web | | getOptimizationOptions() | Pdf optimization options | | setOptimizationOptions(PdfOptimizationOptions value) | Pdf optimization options | | getGrayscale() | Convert a PDF from RGB colorspace to grayscale | | setGrayscale(boolean value) | Convert a PDF from RGB colorspace to grayscale | | getFormattingOptions() | Pdf formatting options | | setFormattingOptions(PdfFormattingOptions value) | Pdf formatting options | | getDocumentInfo() | Meta information of PDF document. | | setDocumentInfo(PdfDocumentInfo documentInfo) | | ##### PdfOptions() ``` public PdfOptions() ``` ctor ##### getPdfFormat() ``` public final PdfFormats getPdfFormat() ``` Sets the pdf format of the converted document. **Returns:** PdfFormats ##### setPdfFormat(PdfFormats value) ``` public final void setPdfFormat(PdfFormats value) ``` Sets the pdf format of the converted document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfFormats | | ##### getRemovePdfACompliance() ``` public final boolean getRemovePdfACompliance() ``` Removes Pdf-A Compliance **Returns:** boolean ##### setRemovePdfACompliance(boolean value) ``` public final void setRemovePdfACompliance(boolean value) ``` Removes Pdf-A Compliance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getLinearize() ``` public final boolean getLinearize() ``` Linearizes PDF Document for the Web **Returns:** boolean ##### setLinearize(boolean value) ``` public final void setLinearize(boolean value) ``` Linearizes PDF Document for the Web **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOptimizationOptions() ``` public final PdfOptimizationOptions getOptimizationOptions() ``` Pdf optimization options **Returns:** PdfOptimizationOptions ##### setOptimizationOptions(PdfOptimizationOptions value) ``` public final void setOptimizationOptions(PdfOptimizationOptions value) ``` Pdf optimization options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfOptimizationOptions | | ##### getGrayscale() ``` public final boolean getGrayscale() ``` Convert a PDF from RGB colorspace to grayscale **Returns:** boolean ##### setGrayscale(boolean value) ``` public final void setGrayscale(boolean value) ``` Convert a PDF from RGB colorspace to grayscale **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFormattingOptions() ``` public final PdfFormattingOptions getFormattingOptions() ``` Pdf formatting options **Returns:** PdfFormattingOptions ##### setFormattingOptions(PdfFormattingOptions value) ``` public final void setFormattingOptions(PdfFormattingOptions value) ``` Pdf formatting options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfFormattingOptions | | ##### getDocumentInfo() ``` public PdfDocumentInfo getDocumentInfo() ``` Meta information of PDF document. **Returns:** PdfDocumentInfo ##### setDocumentInfo(PdfDocumentInfo documentInfo) ``` public void setDocumentInfo(PdfDocumentInfo documentInfo) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentInfo | PdfDocumentInfo | | ### PdfPageLayout Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfpagelayout.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PdfPageLayout extends Enumeration implements Serializable ``` Describes Pdf page layout. #### Constructors | Constructor | Description | | --- | --- | | PdfPageLayout() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Default | Default layout. | | SinglePage | Single page. | | OneColumn | Display pages in one column. | | TwoColumnLeft | Display the pages in two columns, with odd-numbered pages on the left. | | TwoColumnRight | Display the pages in two columns, with odd-numbered pages on the right. | | TwoPagesLeft | Display the pages two at a time, with odd-numbered pages on the left. | | TwoPagesRight | Display the pages two at a time, with odd-numbered pages on the right. | ##### PdfPageLayout() ``` public PdfPageLayout() ``` Serialization constructor ##### Default ``` public static final PdfPageLayout Default ``` Default layout. ##### SinglePage ``` public static final PdfPageLayout SinglePage ``` Single page. ##### OneColumn ``` public static final PdfPageLayout OneColumn ``` Display pages in one column. ##### TwoColumnLeft ``` public static final PdfPageLayout TwoColumnLeft ``` Display the pages in two columns, with odd-numbered pages on the left. ##### TwoColumnRight ``` public static final PdfPageLayout TwoColumnRight ``` Display the pages in two columns, with odd-numbered pages on the right. ##### TwoPagesLeft ``` public static final PdfPageLayout TwoPagesLeft ``` Display the pages two at a time, with odd-numbered pages on the left. ##### TwoPagesRight ``` public static final PdfPageLayout TwoPagesRight ``` Display the pages two at a time, with odd-numbered pages on the right. ### PdfPageMode Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfpagemode.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PdfPageMode extends Enumeration implements Serializable ``` Describes Pdf page mode #### Constructors | Constructor | Description | | --- | --- | | PdfPageMode() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | UseNone | Don't use any components. | | UseOutlines | Document outline visible. | | UseThumbs | Thumbnail images visible. | | FullScreen | FullScreenFull-screen mode, with no menu bar, window controls, or any other window visible. | | UseOC | Optional content group panel visible. | | UseAttachments | Attachments panel visible. | ##### PdfPageMode() ``` public PdfPageMode() ``` Serialization constructor ##### UseNone ``` public static final PdfPageMode UseNone ``` Don't use any components. ##### UseOutlines ``` public static final PdfPageMode UseOutlines ``` Document outline visible. ##### UseThumbs ``` public static final PdfPageMode UseThumbs ``` Thumbnail images visible. ##### FullScreen ``` public static final PdfPageMode FullScreen ``` FullScreenFull-screen mode, with no menu bar, window controls, or any other window visible. ##### UseOC ``` public static final PdfPageMode UseOC ``` Optional content group panel visible. ##### UseAttachments ``` public static final PdfPageMode UseAttachments ``` Attachments panel visible. ### PdfRecognitionMode Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/pdfrecognitionmode.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PdfRecognitionMode extends Enum ``` #### Fields | Field | Description | | --- | --- | | TEXTBOX | | | FLOW | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getKey() | | | getName() | | ##### TEXTBOX ``` public static final PdfRecognitionMode TEXTBOX ``` ##### FLOW ``` public static final PdfRecognitionMode FLOW ``` ##### values() ``` public static PdfRecognitionMode[] values() ``` **Returns:** com.groupdocs.conversion.options.convert.PdfRecognitionMode[] ##### valueOf(String name) ``` public static PdfRecognitionMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PdfRecognitionMode ##### getKey() ``` public String getKey() ``` **Returns:** java.lang.String ##### getName() ``` public String getName() ``` **Returns:** java.lang.String ### PresentationConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/presentationconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public class PresentationConvertOptions extends CommonConvertOptions implements Serializable ``` Describes options for conversion to Presentation file type. #### Constructors | Constructor | Description | | --- | --- | | PresentationConvertOptions() | Initializes new instance of PresentationConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | ##### PresentationConvertOptions() ``` public PresentationConvertOptions() ``` Initializes new instance of PresentationConvertOptions class. ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### ProjectManagementConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/projectmanagementconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions ``` public class ProjectManagementConvertOptions extends ConvertOptions ``` Options for conversion to Project management file type. #### Constructors | Constructor | Description | | --- | --- | | ProjectManagementConvertOptions() | Initializes new instance of class. | ##### ProjectManagementConvertOptions() ``` public ProjectManagementConvertOptions() ``` Initializes new instance of class. ### PsdColorModes Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/psdcolormodes.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PsdColorModes extends Enumeration implements Serializable ``` Defines Psd color modes enumeration. #### Constructors | Constructor | Description | | --- | --- | | PsdColorModes() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Bitmap | Bitmap. | | Grayscale | Grayscale. | | Indexed | Indexed. | | Rgb | RGB. | | Cmyk | CMYK. | | Multichannel | Multichannel. | | Duotone | Duotone. | | Lab | Lab. | ##### PsdColorModes() ``` public PsdColorModes() ``` Serialization constructor ##### Bitmap ``` public static final PsdColorModes Bitmap ``` Bitmap. ##### Grayscale ``` public static final PsdColorModes Grayscale ``` Grayscale. ##### Indexed ``` public static final PsdColorModes Indexed ``` Indexed. ##### Rgb ``` public static final PsdColorModes Rgb ``` RGB. ##### Cmyk ``` public static final PsdColorModes Cmyk ``` CMYK. ##### Multichannel ``` public static final PsdColorModes Multichannel ``` Multichannel. ##### Duotone ``` public static final PsdColorModes Duotone ``` Duotone. ##### Lab ``` public static final PsdColorModes Lab ``` Lab. ### PsdCompressionMethods Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/psdcompressionmethods.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PsdCompressionMethods extends Enumeration implements Serializable ``` Describes Psd compression methods. #### Constructors | Constructor | Description | | --- | --- | | PsdCompressionMethods() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Raw | RAW. | | Rle | RLE. | | ZipWithoutPrediction | ZipWithoutPrediction. | | ZipWithPrediction | ZipWithPrediction. | ##### PsdCompressionMethods() ``` public PsdCompressionMethods() ``` Serialization constructor ##### Raw ``` public static final PsdCompressionMethods Raw ``` RAW. ##### Rle ``` public static final PsdCompressionMethods Rle ``` RLE. ##### ZipWithoutPrediction ``` public static final PsdCompressionMethods ZipWithoutPrediction ``` ZipWithoutPrediction. ##### ZipWithPrediction ``` public static final PsdCompressionMethods ZipWithPrediction ``` ZipWithPrediction. ### PsdOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/psdoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PsdOptions extends ValueObject implements Serializable ``` Options for converting to Psd file type. #### Constructors | Constructor | Description | | --- | --- | | PsdOptions() | Initializes new instance of PsdOptions class. | #### Methods | Method | Description | | --- | --- | | getChannelBitsCount() | Bits count per color channel. | | setChannelBitsCount(short value) | Bits count per color channel. | | getChannelsCount() | Color channels count. | | setChannelsCount(short value) | Color channels count. | | getColorMode() | Psd color mode. | | setColorMode(PsdColorModes value) | Psd color mode. | | getCompression() | Psd compression method. | | setCompression(PsdCompressionMethods value) | Psd compression method. | | getVersion() | Psd file version. | | setVersion(int value) | Psd file version. | ##### PsdOptions() ``` public PsdOptions() ``` Initializes new instance of PsdOptions class. ##### getChannelBitsCount() ``` public final short getChannelBitsCount() ``` Bits count per color channel. **Returns:** short ##### setChannelBitsCount(short value) ``` public final void setChannelBitsCount(short value) ``` Bits count per color channel. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | short | | ##### getChannelsCount() ``` public final short getChannelsCount() ``` Color channels count. **Returns:** short ##### setChannelsCount(short value) ``` public final void setChannelsCount(short value) ``` Color channels count. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | short | | ##### getColorMode() ``` public final PsdColorModes getColorMode() ``` Psd color mode. **Returns:** PsdColorModes ##### setColorMode(PsdColorModes value) ``` public final void setColorMode(PsdColorModes value) ``` Psd color mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PsdColorModes | | ##### getCompression() ``` public final PsdCompressionMethods getCompression() ``` Psd compression method. **Returns:** PsdCompressionMethods ##### setCompression(PsdCompressionMethods value) ``` public final void setCompression(PsdCompressionMethods value) ``` Psd compression method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PsdCompressionMethods | | ##### getVersion() ``` public final int getVersion() ``` Psd file version. **Returns:** int ##### setVersion(int value) ``` public final void setVersion(int value) ``` Psd file version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### Rotation Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/rotation.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class Rotation extends Enumeration implements Serializable ``` Describes page rotation enumeration #### Constructors | Constructor | Description | | --- | --- | | Rotation() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | None | None. | | On90 | 90 degrees. | | On180 | 180 degrees. | | On270 | 270 degrees. | ##### Rotation() ``` public Rotation() ``` Serialization constructor ##### None ``` public static final Rotation None ``` None. ##### On90 ``` public static final Rotation On90 ``` 90 degrees. ##### On180 ``` public static final Rotation On180 ``` 180 degrees. ##### On270 ``` public static final Rotation On270 ``` 270 degrees. ### RtfOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/rtfoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class RtfOptions extends ValueObject implements Serializable ``` Options for conversion to RTF file type. #### Constructors | Constructor | Description | | --- | --- | | RtfOptions() | | #### Methods | Method | Description | | --- | --- | | getExportImagesForOldReaders() | Specifies whether the keywords for "old readers" are written to RTF or not. | | setExportImagesForOldReaders(boolean value) | Specifies whether the keywords for "old readers" are written to RTF or not. | ##### RtfOptions() ``` public RtfOptions() ``` ##### getExportImagesForOldReaders() ``` public final boolean getExportImagesForOldReaders() ``` Specifies whether the keywords for "old readers" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False. **Returns:** boolean ##### setExportImagesForOldReaders(boolean value) ``` public final void setExportImagesForOldReaders(boolean value) ``` Specifies whether the keywords for "old readers" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### SpreadsheetConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/spreadsheetconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public class SpreadsheetConvertOptions extends CommonConvertOptions implements Serializable ``` Options for conversion to Spreadsheet file type. #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetConvertOptions() | Initializes new instance of SpreadsheetConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | | getSeparator() | Specifies the separator to be used when convert to a delimited formats | | setSeparator(char separator) | | | setFormat(FileType value) | | ##### SpreadsheetConvertOptions() ``` public SpreadsheetConvertOptions() ``` Initializes new instance of SpreadsheetConvertOptions class. ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getSeparator() ``` public char getSeparator() ``` Specifies the separator to be used when convert to a delimited formats **Returns:** char ##### setSeparator(char separator) ``` public void setSeparator(char separator) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | separator | char | | ##### setFormat(FileType value) ``` public void setFormat(FileType value) ``` The desired file type the input document should be converted to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | | ### TiffCompressionMethods Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/tiffcompressionmethods.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class TiffCompressionMethods extends Enumeration implements Serializable ``` Describes Tiff compression methods enumeration. #### Constructors | Constructor | Description | | --- | --- | | TiffCompressionMethods() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Lzw | LZW compression. | | None | No compression. | | Ccitt3 | CCITT3 compression. | | Ccitt4 | CCITT4 compression. | | Rle | RLE compression. | ##### TiffCompressionMethods() ``` public TiffCompressionMethods() ``` Serialization constructor ##### Lzw ``` public static final TiffCompressionMethods Lzw ``` LZW compression. ##### None ``` public static final TiffCompressionMethods None ``` No compression. ##### Ccitt3 ``` public static final TiffCompressionMethods Ccitt3 ``` CCITT3 compression. ##### Ccitt4 ``` public static final TiffCompressionMethods Ccitt4 ``` CCITT4 compression. ##### Rle ``` public static final TiffCompressionMethods Rle ``` RLE compression. ### TiffOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/tiffoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class TiffOptions extends ValueObject implements Serializable ``` Options for conversion to TIFF file type. #### Constructors | Constructor | Description | | --- | --- | | TiffOptions() | ctor | #### Methods | Method | Description | | --- | --- | | getCompression() | Sets Tiff compression. | | setCompression(TiffCompressionMethods value) | Sets Tiff compression. | ##### TiffOptions() ``` public TiffOptions() ``` ctor ##### getCompression() ``` public final TiffCompressionMethods getCompression() ``` Sets Tiff compression. **Returns:** TiffCompressionMethods ##### setCompression(TiffCompressionMethods value) ``` public final void setCompression(TiffCompressionMethods value) ``` Sets Tiff compression. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffCompressionMethods | | ### WatermarkImageOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/watermarkimageoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.WatermarkOptions ``` public class WatermarkImageOptions extends WatermarkOptions ``` Options for settings watermark to the converted document #### Constructors | Constructor | Description | | --- | --- | | WatermarkImageOptions(byte[] image) | | #### Methods | Method | Description | | --- | --- | | getImage() | | ##### WatermarkImageOptions(byte[] image) ``` public WatermarkImageOptions(byte[] image) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | byte[] | | ##### getImage() ``` public byte[] getImage() ``` **Returns:** byte[] ### WatermarkOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/watermarkoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.lang.Cloneable, java.io.Serializable ``` public abstract class WatermarkOptions extends ValueObject implements Cloneable, Serializable ``` Options for settings watermark to the converted document #### Constructors | Constructor | Description | | --- | --- | | WatermarkOptions() | Create WatermarkOptions class and set watermark text | #### Methods | Method | Description | | --- | --- | | getWidth() | Watermark width | | setWidth(int value) | Watermark width | | getHeight() | Watermark height | | setHeight(int value) | Watermark height | | getTop() | Watermark top position | | setTop(int value) | Watermark top position | | getLeft() | Watermark left position | | setLeft(int value) | Watermark left position | | getRotationAngle() | Watermark rotation angle | | setRotationAngle(int value) | Watermark rotation angle | | getTransparency() | Watermark transparency. | | setTransparency(double value) | Watermark transparency. | | getBackground() | Indicates that the watermark is stamped as background. | | setBackground(boolean value) | Indicates that the watermark is stamped as background. | | isAutoAlign() | | | setAutoAlign(boolean autoAlign) | | | deepClone() | Clone current instance | ##### WatermarkOptions() ``` public WatermarkOptions() ``` Create WatermarkOptions class and set watermark text ##### getWidth() ``` public final int getWidth() ``` Watermark width **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Watermark width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Watermark height **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Watermark height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTop() ``` public final int getTop() ``` Watermark top position **Returns:** int ##### setTop(int value) ``` public final void setTop(int value) ``` Watermark top position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getLeft() ``` public final int getLeft() ``` Watermark left position **Returns:** int ##### setLeft(int value) ``` public final void setLeft(int value) ``` Watermark left position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getRotationAngle() ``` public final int getRotationAngle() ``` Watermark rotation angle **Returns:** int ##### setRotationAngle(int value) ``` public final void setRotationAngle(int value) ``` Watermark rotation angle **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTransparency() ``` public final double getTransparency() ``` Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. **Returns:** double ##### setTransparency(double value) ``` public final void setTransparency(double value) ``` Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | | ##### getBackground() ``` public final boolean getBackground() ``` Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. **Returns:** boolean ##### setBackground(boolean value) ``` public final void setBackground(boolean value) ``` Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### isAutoAlign() ``` public boolean isAutoAlign() ``` **Returns:** boolean ##### setAutoAlign(boolean autoAlign) ``` public void setAutoAlign(boolean autoAlign) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | autoAlign | boolean | | ##### deepClone() ``` public final Object deepClone() ``` Clone current instance **Returns:** java.lang.Object - instance ### WatermarkTextOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/watermarktextoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.WatermarkOptions ``` public class WatermarkTextOptions extends WatermarkOptions ``` Options for settings text watermark to the converted document #### Constructors | Constructor | Description | | --- | --- | | WatermarkTextOptions(String text) | | #### Methods | Method | Description | | --- | --- | | getText() | Watermark text | | setText(String value) | Watermark text | | getWatermarkFont() | Watermark font if text watermark is applied | | setWatermarkFont(Font watermarkFont) | Sets Watermark font if text watermark is applied | | getColor() | Watermark font color if text watermark is applied | | getColorInternal() | | | setColor(Color value) | Watermark font color if text watermark is applied | | getHexColor() | | ##### WatermarkTextOptions(String text) ``` public WatermarkTextOptions(String text) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | text | java.lang.String | | ##### getText() ``` public final String getText() ``` Watermark text **Returns:** java.lang.String ##### setText(String value) ``` public final void setText(String value) ``` Watermark text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getWatermarkFont() ``` public Font getWatermarkFont() ``` Watermark font if text watermark is applied **Returns:** Font - font ##### setWatermarkFont(Font watermarkFont) ``` public void setWatermarkFont(Font watermarkFont) ``` Sets Watermark font if text watermark is applied **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | watermarkFont | Font | font | ##### getColor() ``` public final Color getColor() ``` Watermark font color if text watermark is applied **Returns:** java.awt.Color ##### getColorInternal() ``` public System.Drawing.Color getColorInternal() ``` **Returns:** com.aspose.ms.System.Drawing.Color ##### setColor(Color value) ``` public final void setColor(Color value) ``` Watermark font color if text watermark is applied **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.awt.Color | | ##### getHexColor() ``` public String getHexColor() ``` **Returns:** java.lang.String ### WebConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/webconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions ``` public class WebConvertOptions extends CommonConvertOptions ``` Options for conversion to Web file type. #### Constructors | Constructor | Description | | --- | --- | | WebConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | isUsePdf() | | | setUsePdf(boolean usePdf) | | | isFixedLayout() | | | setFixedLayout(boolean fixedLayout) | | | isFixedLayoutShowBorders() | | | setFixedLayoutShowBorders(boolean fixedLayoutShowBorders) | | | getZoom() | | | setZoom(int zoom) | | | isEmbedFontResources() | Specifies whether to embed font resources within the main HTML. | | setEmbedFontResources(boolean embedFontResources) | Specifies whether to embed font resources within the main HTML. | ##### WebConvertOptions() ``` public WebConvertOptions() ``` Initializes new instance of class. ##### isUsePdf() ``` public boolean isUsePdf() ``` **Returns:** boolean ##### setUsePdf(boolean usePdf) ``` public void setUsePdf(boolean usePdf) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | usePdf | boolean | | ##### isFixedLayout() ``` public boolean isFixedLayout() ``` **Returns:** boolean ##### setFixedLayout(boolean fixedLayout) ``` public void setFixedLayout(boolean fixedLayout) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fixedLayout | boolean | | ##### isFixedLayoutShowBorders() ``` public boolean isFixedLayoutShowBorders() ``` **Returns:** boolean ##### setFixedLayoutShowBorders(boolean fixedLayoutShowBorders) ``` public void setFixedLayoutShowBorders(boolean fixedLayoutShowBorders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fixedLayoutShowBorders | boolean | | ##### getZoom() ``` public int getZoom() ``` **Returns:** int ##### setZoom(int zoom) ``` public void setZoom(int zoom) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | zoom | int | | ##### isEmbedFontResources() ``` public boolean isEmbedFontResources() ``` Specifies whether to embed font resources within the main HTML. Default is false. Note: If FixedLayout is set to true, font resources will always be embedded. **Returns:** boolean ##### setEmbedFontResources(boolean embedFontResources) ``` public void setEmbedFontResources(boolean embedFontResources) ``` Specifies whether to embed font resources within the main HTML. Default is false. Note: If FixedLayout is set to true, font resources will always be embedded. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | embedFontResources | boolean | | ### WebpOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/webpoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class WebpOptions extends ValueObject implements Serializable ``` Options for conversion to Webp file type. #### Constructors | Constructor | Description | | --- | --- | | WebpOptions() | | #### Methods | Method | Description | | --- | --- | | getLossless() | Indicates if the compression of the converted file will be lossless. | | setLossless(boolean value) | Indicates if the compression of the converted file will be lossless. | | getQuality() | Gets or sets the quality. | | setQuality(int value) | Gets or sets the quality. | ##### WebpOptions() ``` public WebpOptions() ``` ##### getLossless() ``` public final boolean getLossless() ``` Indicates if the compression of the converted file will be lossless. **Returns:** boolean ##### setLossless(boolean value) ``` public final void setLossless(boolean value) ``` Indicates if the compression of the converted file will be lossless. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getQuality() ``` public final int getQuality() ``` Gets or sets the quality. **Returns:** int ##### setQuality(int value) ``` public final void setQuality(int value) ``` Gets or sets the quality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### WordProcessingConvertOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.convert/wordprocessingconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions, com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions ``` public class WordProcessingConvertOptions extends CommonConvertOptions implements Serializable, IPageMarginConvertOptions, IPageSizeConvertOptions, IPageOrientationConvertOptions, IPdfRecognitionModeOptions ``` Options for conversion to WordProcessing file type. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingConvertOptions() | Initializes new instance of WordProcessingConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getDpi() | Desired page DPI after conversion. | | setDpi(int value) | Desired page DPI after conversion. | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getRtfOptions() | RTF specific convert options | | setRtfOptions(RtfOptions value) | RTF specific convert options | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | | getMarginTop() | Desired page top margin in points after conversion. | | setMarginTop(float value) | Desired page top margin in points after conversion. | | getMarginBottom() | Desired page bottom margin in points after conversion. | | setMarginBottom(float value) | Desired page bottom margin in points after conversion. | | getMarginLeft() | Desired page left margin in points after conversion. | | setMarginLeft(float value) | Desired page left margin in points after conversion. | | getMarginRight() | Desired page right margin in points after conversion. | | setMarginRight(float value) | Desired page right margin in points after conversion. | | getPageOrientation() | | | setPageOrientation(PageOrientation pageOrientation) | | | getPageSize() | | | setPageSize(PageSize pageSize) | | | getPageWidth() | | | setPageWidth(float pageWidth) | | | getPageHeight() | | | setPageHeight(float pageHeight) | | | getPdfRecognitionMode() | | | setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) | | | getMarkdownOptions() | Gets | | setMarkdownOptions(MarkdownOptions markdownOptions) | Sets | ##### WordProcessingConvertOptions() ``` public WordProcessingConvertOptions() ``` Initializes new instance of WordProcessingConvertOptions class. ##### getDpi() ``` public final int getDpi() ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Returns:** int ##### setDpi(int value) ``` public final void setDpi(int value) ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getRtfOptions() ``` public final RtfOptions getRtfOptions() ``` RTF specific convert options **Returns:** RtfOptions ##### setRtfOptions(RtfOptions value) ``` public final void setRtfOptions(RtfOptions value) ``` RTF specific convert options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | RtfOptions | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginTop() ``` public final float getMarginTop() ``` Desired page top margin in points after conversion. **Returns:** float ##### setMarginTop(float value) ``` public final void setMarginTop(float value) ``` Desired page top margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMarginBottom() ``` public final float getMarginBottom() ``` Desired page bottom margin in points after conversion. **Returns:** float ##### setMarginBottom(float value) ``` public final void setMarginBottom(float value) ``` Desired page bottom margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMarginLeft() ``` public final float getMarginLeft() ``` Desired page left margin in points after conversion. **Returns:** float ##### setMarginLeft(float value) ``` public final void setMarginLeft(float value) ``` Desired page left margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMarginRight() ``` public final float getMarginRight() ``` Desired page right margin in points after conversion. **Returns:** float ##### setMarginRight(float value) ``` public final void setMarginRight(float value) ``` Desired page right margin in points after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getPageOrientation() ``` public PageOrientation getPageOrientation() ``` Gets page orientation after conversion **Returns:** PageOrientation ##### setPageOrientation(PageOrientation pageOrientation) ``` public void setPageOrientation(PageOrientation pageOrientation) ``` Sets desired page orientation after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageOrientation | PageOrientation | | ##### getPageSize() ``` public PageSize getPageSize() ``` Gets desired page size after conversion **Returns:** PageSize ##### setPageSize(PageSize pageSize) ``` public void setPageSize(PageSize pageSize) ``` Set desired page size after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageSize | PageSize | | ##### getPageWidth() ``` public float getPageWidth() ``` Specified page width in points if is set to PageSize.Custom **Returns:** float ##### setPageWidth(float pageWidth) ``` public void setPageWidth(float pageWidth) ``` Set desired page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageWidth | float | | ##### getPageHeight() ``` public float getPageHeight() ``` Specified page height in points if is set to PageSize.Custom **Returns:** float ##### setPageHeight(float pageHeight) ``` public void setPageHeight(float pageHeight) ``` Set desired page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageHeight | float | | ##### getPdfRecognitionMode() ``` public PdfRecognitionMode getPdfRecognitionMode() ``` Gets recognition mode when converting from pdf **Returns:** PdfRecognitionMode ##### setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) ``` public void setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) ``` Sets recognition mode when converting from pdf **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pdfRecognitionMode | PdfRecognitionMode | | ##### getMarkdownOptions() ``` public MarkdownOptions getMarkdownOptions() ``` Gets **Returns:** MarkdownOptions ##### setMarkdownOptions(MarkdownOptions markdownOptions) ``` public void setMarkdownOptions(MarkdownOptions markdownOptions) ``` Sets **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | markdownOptions | MarkdownOptions | | ### com.groupdocs.conversion.options.load Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load.md The GroupDocs.Conversion.Options.Load namespace provides classes to specify additional options for document loading process. #### Classes | Class | Description | | --- | --- | | AudioLoadOptions | | | CadDrawTypeMode | Represents possible modes for colorization of objects. | | CadLoadOptions | Options for loading CAD documents. | | CsvLoadOptions | Options for loading Csv documents. | | DatabaseLoadOptions | Options for loading database documents. | | DiagramLoadOptions | Options for loading Diagram documents. | | EBookLoadOptions | Options for loading EBook documents. | | EmailField | Describes email fields enumeration | | EmailLoadOptions | Options for loading Email documents. | | EpubLoadOptions | Options for loading Epub documents. | | FontLoadOptions | Options for loading Font documents. | | ImageLoadOptions | Options for loading Image documents. | | LoadOptions | Abstract document load options class. | | MboxLoadOptions | Options for loading Mbox documents. | | NoteLoadOptions | Options for loading One documents. | | NsfLoadOptions | Options for loading Nsf documents. | | PageDescriptionLanguageLoadOptions | Options for loading page description language documents. | | PdfLoadOptions | Options for loading Pdf documents. | | PersonalStorageLoadOptions | Options for loading personal storage documents. | | PresentationLoadOptions | Options for loading Presentation documents. | | PublisherLoadOptions | Options for loading Publisher documents. | | SpreadsheetLoadOptions | Options for loading Spreadsheet documents. | | TsvLoadOptions | Options for loading Tsv documents. | | TxtLeadingSpacesOptions | Describes txt leading spaces options enumeration. | | TxtLoadOptions | Options for loading Txt documents. | | TxtTrailingSpacesOptions | Describes txt trailing spaces options enumeration. | | VcfLoadOptions | Options for loading Vcf documents. | | VideoLoadOptions | Options for loading video documents. | | WebLoadOptions | Options for loading web documents. | | WordProcessingBookmarksOptions | Options for handling bookmarks in WordProcessing | | WordProcessingLoadOptions | Options for loading WordProcessing documents. | | XmlLoadOptions | Options for loading XML documents. | ### AudioLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/audioloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class AudioLoadOptions extends LoadOptions ``` #### Constructors | Constructor | Description | | --- | --- | | AudioLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getAudioConnector() | | | setAudioConnector(IAudioConnector audioConnector) | Sets audio connector | ##### AudioLoadOptions() ``` public AudioLoadOptions() ``` Initializes new instance of class. ##### getAudioConnector() ``` public IAudioConnector getAudioConnector() ``` **Returns:** IAudioConnector ##### setAudioConnector(IAudioConnector audioConnector) ``` public void setAudioConnector(IAudioConnector audioConnector) ``` Sets audio connector **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | audioConnector | IAudioConnector | Audio connector | ### CadDrawTypeMode Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/caddrawtypemode.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration ``` public class CadDrawTypeMode extends Enumeration ``` Represents possible modes for colorization of objects. #### Constructors | Constructor | Description | | --- | --- | | CadDrawTypeMode() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | UseDrawColor | Allows to use common color. | | UseObjectColor | Allows to use separate color for every object. | ##### CadDrawTypeMode() ``` public CadDrawTypeMode() ``` Serialization constructor ##### UseDrawColor ``` public static final CadDrawTypeMode UseDrawColor ``` Allows to use common color. ##### UseObjectColor ``` public static final CadDrawTypeMode UseObjectColor ``` Allows to use separate color for every object. ### CadLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/cadloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class CadLoadOptions extends LoadOptions implements Serializable ``` Options for loading CAD documents. #### Constructors | Constructor | Description | | --- | --- | | CadLoadOptions() | Initializes new instance of CadLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getWidth() | Sets desired page width for converting CAD document | | setWidth(int value) | Sets desired page width for converting CAD document | | getHeight() | Sets desired page height for converting CAD document | | setHeight(int value) | Sets desired page height for converting CAD document | | getLayoutNames() | Specifies which CAD layouts to be converted | | setLayoutNames(String[] value) | Specififies which CAD layouts to be converted | | getDrawType() | Gets type of drawing. | | setDrawType(CadDrawTypeMode drawType) | Sets type of drawing. | | getBackgroundColor() | Gets a background color. | | setBackgroundColor(System.Drawing.Color backgroundColor) | Sets a background color. | | getFontDirectories() | | | setFontDirectories(List fontDirectories) | | | getCtbSources() | Gets the CTB sources. | | setCtbSources(Map ctbSources) | Sets the CTB sources. | | getDrawColor() | Gets foreground color. | | setDrawColor(System.Drawing.Color drawColor) | Sets foreground color. | ##### CadLoadOptions() ``` public CadLoadOptions() ``` Initializes new instance of CadLoadOptions class. ##### getFormat() ``` public CadFileType getFormat() ``` Input document file type **Returns:** CadFileType ##### getWidth() ``` public final int getWidth() ``` Sets desired page width for converting CAD document **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets desired page width for converting CAD document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Sets desired page height for converting CAD document **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets desired page height for converting CAD document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getLayoutNames() ``` public final String[] getLayoutNames() ``` Specifies which CAD layouts to be converted **Returns:** java.lang.String[] ##### setLayoutNames(String[] value) ``` public final void setLayoutNames(String[] value) ``` Specififies which CAD layouts to be converted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | | ##### getDrawType() ``` public CadDrawTypeMode getDrawType() ``` Gets type of drawing. **Returns:** CadDrawTypeMode ##### setDrawType(CadDrawTypeMode drawType) ``` public void setDrawType(CadDrawTypeMode drawType) ``` Sets type of drawing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | drawType | CadDrawTypeMode | | ##### getBackgroundColor() ``` public System.Drawing.Color getBackgroundColor() ``` Gets a background color. **Returns:** com.aspose.ms.System.Drawing.Color ##### setBackgroundColor(System.Drawing.Color backgroundColor) ``` public void setBackgroundColor(System.Drawing.Color backgroundColor) ``` Sets a background color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | backgroundColor | com.aspose.ms.System.Drawing.Color | | ##### getFontDirectories() ``` public List getFontDirectories() ``` **Returns:** java.util.List ##### setFontDirectories(List fontDirectories) ``` public void setFontDirectories(List fontDirectories) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontDirectories | java.util.List | | ##### getCtbSources() ``` public Map getCtbSources() ``` Gets the CTB sources. **Returns:** java.util.Map ##### setCtbSources(Map ctbSources) ``` public void setCtbSources(Map ctbSources) ``` Sets the CTB sources. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ctbSources | java.util.Map | | ##### getDrawColor() ``` public System.Drawing.Color getDrawColor() ``` Gets foreground color. **Returns:** com.aspose.ms.System.Drawing.Color ##### setDrawColor(System.Drawing.Color drawColor) ``` public void setDrawColor(System.Drawing.Color drawColor) ``` Sets foreground color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | drawColor | com.aspose.ms.System.Drawing.Color | | ### CsvLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/csvloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions, com.groupdocs.conversion.options.load.SpreadsheetLoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class CsvLoadOptions extends SpreadsheetLoadOptions implements Serializable ``` Options for loading Csv documents. #### Constructors | Constructor | Description | | --- | --- | | CsvLoadOptions() | Initializes new instance of CsvLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getSeparator() | Delimiter of a Csv file. | | setSeparator(char value) | Delimiter of a Csv file. | | isMultiEncoded() | True means the file contains several encodings. | | setMultiEncoded(boolean value) | True means the file contains several encodings. | | hasFormula() | Indicates whether text is formula if it starts with "=". | | setFormula(boolean value) | Indicates whether text is formula if it starts with "=". | | getConvertNumericData() | Indicates whether the string in the file is converted to numeric. | | setConvertNumericData(boolean value) | Indicates whether the string in the file is converted to numeric. | | getConvertDateTimeData() | Indicates whether the string in the file is converted to date. | | setConvertDateTimeData(boolean value) | Indicates whether the string in the file is converted to date. | | getEncoding() | Encoding. | | getEncodingInternal() | | | setEncoding(Charset value) | Encoding. | | setEncodingInternal(System.Text.Encoding value) | | ##### CsvLoadOptions() ``` public CsvLoadOptions() ``` Initializes new instance of CsvLoadOptions class. ##### getSeparator() ``` public final char getSeparator() ``` Delimiter of a Csv file. **Returns:** char ##### setSeparator(char value) ``` public final void setSeparator(char value) ``` Delimiter of a Csv file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | char | | ##### isMultiEncoded() ``` public final boolean isMultiEncoded() ``` True means the file contains several encodings. **Returns:** boolean ##### setMultiEncoded(boolean value) ``` public final void setMultiEncoded(boolean value) ``` True means the file contains several encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### hasFormula() ``` public final boolean hasFormula() ``` Indicates whether text is formula if it starts with "=". **Returns:** boolean ##### setFormula(boolean value) ``` public final void setFormula(boolean value) ``` Indicates whether text is formula if it starts with "=". **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertNumericData() ``` public final boolean getConvertNumericData() ``` Indicates whether the string in the file is converted to numeric. Default is True. **Returns:** boolean ##### setConvertNumericData(boolean value) ``` public final void setConvertNumericData(boolean value) ``` Indicates whether the string in the file is converted to numeric. Default is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertDateTimeData() ``` public final boolean getConvertDateTimeData() ``` Indicates whether the string in the file is converted to date. Default is True. **Returns:** boolean ##### setConvertDateTimeData(boolean value) ``` public final void setConvertDateTimeData(boolean value) ``` Indicates whether the string in the file is converted to date. Default is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getEncoding() ``` public final Charset getEncoding() ``` Encoding. Default is Encoding.Default. **Returns:** java.nio.charset.Charset ##### getEncodingInternal() ``` public System.Text.Encoding getEncodingInternal() ``` **Returns:** com.aspose.ms.System.Text.Encoding ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Encoding. Default is Encoding.Default. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### setEncodingInternal(System.Text.Encoding value) ``` public void setEncodingInternal(System.Text.Encoding value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.aspose.ms.System.Text.Encoding | | ### DatabaseLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/databaseloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class DatabaseLoadOptions extends LoadOptions ``` Options for loading database documents. #### Constructors | Constructor | Description | | --- | --- | | DatabaseLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(DatabaseFileType format) | Sets Input document file type. | ##### DatabaseLoadOptions() ``` public DatabaseLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public DatabaseFileType getFormat() ``` Gets Input document file type. **Returns:** DatabaseFileType ##### setFormat(DatabaseFileType format) ``` public void setFormat(DatabaseFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | DatabaseFileType | | ### DiagramLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/diagramloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class DiagramLoadOptions extends LoadOptions implements Serializable ``` Options for loading Diagram documents. #### Constructors | Constructor | Description | | --- | --- | | DiagramLoadOptions() | Initializes new instance of DiagramLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Diagram document. | | setDefaultFont(String value) | Default font for Diagram document. | ##### DiagramLoadOptions() ``` public DiagramLoadOptions() ``` Initializes new instance of DiagramLoadOptions class. ##### getFormat() ``` public final DiagramFileType getFormat() ``` Input document file type **Returns:** DiagramFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Diagram document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Diagram document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### EBookLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/ebookloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class EBookLoadOptions extends LoadOptions ``` Options for loading EBook documents. #### Constructors | Constructor | Description | | --- | --- | | EBookLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(EBookFileType format) | Sets Input document file type. | ##### EBookLoadOptions() ``` public EBookLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public EBookFileType getFormat() ``` Gets Input document file type. **Returns:** EBookFileType ##### setFormat(EBookFileType format) ``` public void setFormat(EBookFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | EBookFileType | | ### EmailField Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/emailfield.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class EmailField extends Enumeration implements Serializable ``` Describes email fields enumeration #### Constructors | Constructor | Description | | --- | --- | | EmailField() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Start | Default field text is "Start". | | Attachments | Default field text is "Attachments". | | Cc | Default field text is "Cc". | | Bcc | Default field text is "Bcc". | | End | Default field text is "End". | | From | Default field text is "From". | | Importance | Default field text is "Importance". | | Location | Default field text is "Location". | | Organizer | Default field text is "Organizer". | | PageHeader | Default field text is "PageHeader". | | Recurrence | Default field text is "Recurrence". | | RecurrencePattern | Default field text is "RecurrencePattern". | | RequiredAttendees | Default field text is "RequiredAttendees". | | Sent | Default field text is "Sent". | | ShowTimeAs | Default field text is "ShowTimeAs". | | Subject | Default field text is "Subject". | | TabField | Default field text is "TabField". | | To | Default field text is "To". | ##### EmailField() ``` public EmailField() ``` Serialization constructor ##### Start ``` public static final EmailField Start ``` Default field text is "Start". ##### Attachments ``` public static final EmailField Attachments ``` Default field text is "Attachments". ##### Cc ``` public static final EmailField Cc ``` Default field text is "Cc". ##### Bcc ``` public static final EmailField Bcc ``` Default field text is "Bcc". ##### End ``` public static final EmailField End ``` Default field text is "End". ##### From ``` public static final EmailField From ``` Default field text is "From". ##### Importance ``` public static final EmailField Importance ``` Default field text is "Importance". ##### Location ``` public static final EmailField Location ``` Default field text is "Location". ##### Organizer ``` public static final EmailField Organizer ``` Default field text is "Organizer". ##### PageHeader ``` public static final EmailField PageHeader ``` Default field text is "PageHeader". ##### Recurrence ``` public static final EmailField Recurrence ``` Default field text is "Recurrence". ##### RecurrencePattern ``` public static final EmailField RecurrencePattern ``` Default field text is "RecurrencePattern". ##### RequiredAttendees ``` public static final EmailField RequiredAttendees ``` Default field text is "RequiredAttendees". ##### Sent ``` public static final EmailField Sent ``` Default field text is "Sent". ##### ShowTimeAs ``` public static final EmailField ShowTimeAs ``` Default field text is "ShowTimeAs". ##### Subject ``` public static final EmailField Subject ``` Default field text is "Subject". ##### TabField ``` public static final EmailField TabField ``` Default field text is "TabField". ##### To ``` public static final EmailField To ``` Default field text is "To". ### EmailLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/emailloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions, java.lang.Cloneable, java.io.Serializable ``` public final class EmailLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions, Cloneable, Serializable ``` Options for loading Email documents. #### Constructors | Constructor | Description | | --- | --- | | EmailLoadOptions() | Initializes new instance of EmailLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDisplayHeader() | Option to display or hide the email header. | | setDisplayHeader(boolean value) | Option to display or hide the email header. | | getDisplayFromEmailAddress() | Option to display or hide "from" email address. | | setDisplayFromEmailAddress(boolean value) | Option to display or hide "from" email address. | | getDisplayToEmailAddress() | Option to display or hide "to" email address. | | setDisplayToEmailAddress(boolean value) | Option to display or hide "to" email address. | | getDisplayCcEmailAddress() | Option to display or hide "Cc" email address. | | setDisplayCcEmailAddress(boolean value) | Option to display or hide "Cc" email address. | | getDisplayBccEmailAddress() | Option to display or hide "Bcc" email address. | | setDisplayBccEmailAddress(boolean value) | Option to display or hide "Bcc" email address. | | getTimeZoneOffset() | Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. | | getTimeZoneOffsetInternal() | | | getResourceLoadingTimeout() | Timeout for loading external resources | | setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) | Timeout for loading external resources (setter) | | setTimeZoneOffset(Double value) | Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. | | deepClone() | Clones current instance. | | getFieldTextMap() | Gets the mapping between email message and field text representation | | setFieldTextMap(Map fieldTextMap) | Sets the mapping between email message and field text representation | | isPreserveOriginalDate() | Defines whether need to keep original date header string in mail message when saving or not (Default value is true) | | setPreserveOriginalDate(boolean preserveOriginalDate) | Defines whether need to keep original date header string in mail message when saving or not | | isConvertOwner() | | | setConvertOwner(boolean convertOwner) | | | isConvertOwned() | | | setConvertOwned(boolean convertOwned) | | | getDepth() | | | setDepth(int depth) | | | isDisplayAttachments() | Gets option to display or hide attachments in the header. | | setDisplayAttachments(boolean displayAttachments) | Sets option to display or hide attachments in the header. | | isDisplaySubject() | Gets option to display or hide subject in the header. | | setDisplaySubject(boolean displaySubject) | Sets option to display or hide subject in the header | | isDisplaySent() | Gets option to display or hide sent date/time in the header. | | setDisplaySent(boolean displaySent) | Sets option to display or hide sent date/time in the header. | | isSkipExternalResources() | Skips the http resource loading if true | | setSkipExternalResources(boolean skipExternalResources) | | ##### EmailLoadOptions() ``` public EmailLoadOptions() ``` Initializes new instance of EmailLoadOptions class. ##### getFormat() ``` public final EmailFileType getFormat() ``` Input document file type **Returns:** EmailFileType ##### getDisplayHeader() ``` public final boolean getDisplayHeader() ``` Option to display or hide the email header. Default: true. **Returns:** boolean ##### setDisplayHeader(boolean value) ``` public final void setDisplayHeader(boolean value) ``` Option to display or hide the email header. Default: true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayFromEmailAddress() ``` public final boolean getDisplayFromEmailAddress() ``` Option to display or hide "from" email address. Default: true. **Returns:** boolean ##### setDisplayFromEmailAddress(boolean value) ``` public final void setDisplayFromEmailAddress(boolean value) ``` Option to display or hide "from" email address. Default: true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayToEmailAddress() ``` public final boolean getDisplayToEmailAddress() ``` Option to display or hide "to" email address. Default: true. **Returns:** boolean ##### setDisplayToEmailAddress(boolean value) ``` public final void setDisplayToEmailAddress(boolean value) ``` Option to display or hide "to" email address. Default: true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayCcEmailAddress() ``` public final boolean getDisplayCcEmailAddress() ``` Option to display or hide "Cc" email address. Default: false. **Returns:** boolean ##### setDisplayCcEmailAddress(boolean value) ``` public final void setDisplayCcEmailAddress(boolean value) ``` Option to display or hide "Cc" email address. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayBccEmailAddress() ``` public final boolean getDisplayBccEmailAddress() ``` Option to display or hide "Bcc" email address. Default: false. **Returns:** boolean ##### setDisplayBccEmailAddress(boolean value) ``` public final void setDisplayBccEmailAddress(boolean value) ``` Option to display or hide "Bcc" email address. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTimeZoneOffset() ``` public final Double getTimeZoneOffset() ``` Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. **Returns:** java.lang.Double ##### getTimeZoneOffsetInternal() ``` public System.TimeSpan getTimeZoneOffsetInternal() ``` **Returns:** com.aspose.ms.System.TimeSpan ##### getResourceLoadingTimeout() ``` public System.TimeSpan getResourceLoadingTimeout() ``` Timeout for loading external resources **Returns:** com.aspose.ms.System.TimeSpan ##### setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) ``` public void setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) ``` Timeout for loading external resources (setter) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resourceLoadingTimeout | com.aspose.ms.System.TimeSpan | | ##### setTimeZoneOffset(Double value) ``` public final void setTimeZoneOffset(Double value) ``` Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### deepClone() ``` public final Object deepClone() ``` Clones current instance. **Returns:** java.lang.Object - ##### getFieldTextMap() ``` public Map getFieldTextMap() ``` Gets the mapping between email message and field text representation **Returns:** java.util.Map - mapping ##### setFieldTextMap(Map fieldTextMap) ``` public void setFieldTextMap(Map fieldTextMap) ``` Sets the mapping between email message and field text representation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fieldTextMap | java.util.Map | mapping | ##### isPreserveOriginalDate() ``` public boolean isPreserveOriginalDate() ``` Defines whether need to keep original date header string in mail message when saving or not (Default value is true) **Returns:** boolean - preserve original date if true ##### setPreserveOriginalDate(boolean preserveOriginalDate) ``` public void setPreserveOriginalDate(boolean preserveOriginalDate) ``` Defines whether need to keep original date header string in mail message when saving or not **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | preserveOriginalDate | boolean | preserve original date | ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted **Returns:** boolean ##### setConvertOwner(boolean convertOwner) ``` public void setConvertOwner(boolean convertOwner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwner | boolean | | ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### setConvertOwned(boolean convertOwned) ``` public void setConvertOwned(boolean convertOwned) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwned | boolean | | ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ##### isDisplayAttachments() ``` public boolean isDisplayAttachments() ``` Gets option to display or hide attachments in the header. Default: true. **Returns:** boolean ##### setDisplayAttachments(boolean displayAttachments) ``` public void setDisplayAttachments(boolean displayAttachments) ``` Sets option to display or hide attachments in the header. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | displayAttachments | boolean | | ##### isDisplaySubject() ``` public boolean isDisplaySubject() ``` Gets option to display or hide subject in the header. Default: true. **Returns:** boolean ##### setDisplaySubject(boolean displaySubject) ``` public void setDisplaySubject(boolean displaySubject) ``` Sets option to display or hide subject in the header **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | displaySubject | boolean | | ##### isDisplaySent() ``` public boolean isDisplaySent() ``` Gets option to display or hide sent date/time in the header. Default: true. **Returns:** boolean ##### setDisplaySent(boolean displaySent) ``` public void setDisplaySent(boolean displaySent) ``` Sets option to display or hide sent date/time in the header. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | displaySent | boolean | | ##### isSkipExternalResources() ``` public boolean isSkipExternalResources() ``` Skips the http resource loading if true **Returns:** boolean ##### setSkipExternalResources(boolean skipExternalResources) ``` public void setSkipExternalResources(boolean skipExternalResources) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skipExternalResources | boolean | | ### EpubLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/epubloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class EpubLoadOptions extends LoadOptions implements Serializable ``` Options for loading Epub documents. #### Constructors | Constructor | Description | | --- | --- | | EpubLoadOptions() | Initializes new instance of EpubLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | ##### EpubLoadOptions() ``` public EpubLoadOptions() ``` Initializes new instance of EpubLoadOptions class. ##### getFormat() ``` public final EBookFileType getFormat() ``` Input document file type **Returns:** EBookFileType ### FontLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/fontloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class FontLoadOptions extends LoadOptions ``` Options for loading Font documents. #### Constructors | Constructor | Description | | --- | --- | | FontLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(FontFileType format) | Sets Input document file type. | ##### FontLoadOptions() ``` public FontLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public FontFileType getFormat() ``` Gets Input document file type. **Returns:** FontFileType ##### setFormat(FontFileType format) ``` public void setFormat(FontFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FontFileType | | ### ImageLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/imageloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class ImageLoadOptions extends LoadOptions implements Serializable ``` Options for loading Image documents. #### Constructors | Constructor | Description | | --- | --- | | ImageLoadOptions() | Initializes new instance of ImageLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Psd, Emf, Wmf document types. | | setDefaultFont(String value) | Default font for Psd, Emf, Wmf document types. | | isRecognitionEnabled() | | | getOcrConnector() | | | setOcrConnector(IOcrConnector ocrConnector) | Set image OCR connector | | getResetFontFolders() | Reset font folders before loading document | | setResetFontFolders(boolean resetFontFolders) | | ##### ImageLoadOptions() ``` public ImageLoadOptions() ``` Initializes new instance of ImageLoadOptions class. ##### getFormat() ``` public final ImageFileType getFormat() ``` Input document file type **Returns:** ImageFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### isRecognitionEnabled() ``` public boolean isRecognitionEnabled() ``` **Returns:** boolean ##### getOcrConnector() ``` public IOcrConnector getOcrConnector() ``` **Returns:** IOcrConnector ##### setOcrConnector(IOcrConnector ocrConnector) ``` public void setOcrConnector(IOcrConnector ocrConnector) ``` Set image OCR connector **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ocrConnector | IOcrConnector | OCR connector instance | ##### getResetFontFolders() ``` public boolean getResetFontFolders() ``` Reset font folders before loading document **Returns:** boolean ##### setResetFontFolders(boolean resetFontFolders) ``` public void setResetFontFolders(boolean resetFontFolders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resetFontFolders | boolean | | ### LoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/loadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public abstract class LoadOptions extends ValueObject implements Serializable ``` Abstract document load options class. #### Constructors | Constructor | Description | | --- | --- | | LoadOptions() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Input document file type | | setFormat(FileType value) | Input document file type | ##### LoadOptions() ``` public LoadOptions() ``` ##### getFormat() ``` public FileType getFormat() ``` Input document file type **Returns:** FileType ##### setFormat(FileType value) ``` public void setFormat(FileType value) ``` Input document file type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | | ### MboxLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/mboxloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class MboxLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions ``` Options for loading Mbox documents. #### Constructors | Constructor | Description | | --- | --- | | MboxLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | isConvertOwner() | The owner will not be converted | | isConvertOwned() | {@inheritDoc} | | getDepth() | {@inheritDoc} Default: 3 | | setDepth(int depth) | {@inheritDoc} | | getEqualityComponents() | {@inheritDoc} | ##### MboxLoadOptions() ``` public MboxLoadOptions() ``` Initializes new instance of class. ##### isConvertOwner() ``` public boolean isConvertOwner() ``` The owner will not be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion Default: 3 **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ##### getEqualityComponents() ``` public List getEqualityComponents() ``` **Returns:** java.util.List ### NoteLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/noteloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class NoteLoadOptions extends LoadOptions implements Serializable ``` Options for loading One documents. #### Constructors | Constructor | Description | | --- | --- | | NoteLoadOptions() | Initializes new instance of NoteLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Note document. | | setDefaultFont(String value) | Default font for Note document. | | getFontSubstitutes() | Substitute specific fonts when converting Note document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Note document. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | ##### NoteLoadOptions() ``` public NoteLoadOptions() ``` Initializes new instance of NoteLoadOptions class. ##### getFormat() ``` public final NoteFileType getFormat() ``` Input document file type **Returns:** NoteFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Note document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Note document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Note document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Note document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### NsfLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/nsfloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class NsfLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions ``` Options for loading Nsf documents. #### Constructors | Constructor | Description | | --- | --- | | NsfLoadOptions() | | #### Methods | Method | Description | | --- | --- | | isConvertOwner() | | | isConvertOwned() | {@inheritDoc} | | getDepth() | | | setDepth(int depth) | | ##### NsfLoadOptions() ``` public NsfLoadOptions() ``` ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### PageDescriptionLanguageLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class PageDescriptionLanguageLoadOptions extends LoadOptions ``` Options for loading page description language documents. #### Constructors | Constructor | Description | | --- | --- | | PageDescriptionLanguageLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(PageDescriptionLanguageFileType format) | Sets Input document file type. | ##### PageDescriptionLanguageLoadOptions() ``` public PageDescriptionLanguageLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public PageDescriptionLanguageFileType getFormat() ``` Gets Input document file type. **Returns:** PageDescriptionLanguageFileType ##### setFormat(PageDescriptionLanguageFileType format) ``` public void setFormat(PageDescriptionLanguageFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | PageDescriptionLanguageFileType | | ### PdfLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/pdfloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.load.IPageNumberingLoadOptions ``` public final class PdfLoadOptions extends LoadOptions implements Serializable, IPageNumberingLoadOptions ``` Options for loading Pdf documents. #### Constructors | Constructor | Description | | --- | --- | | PdfLoadOptions() | Initializes new instance of PdfLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getRemoveEmbeddedFiles() | Remove embedded files. | | setRemoveEmbeddedFiles(boolean value) | Remove embedded files. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getDefaultFont() | Default font for Pdf document. | | setDefaultFont(String value) | Default font for Pdf document. | | getFontSubstitutes() | Substitute specific fonts when converting Pdf document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Pdf document. | | getHidePdfAnnotations() | Hide annotations in Pdf documents. | | setHidePdfAnnotations(boolean value) | Hide annotations in Pdf documents. | | getFlattenAllFields() | Flatten all the fields of the PDF form. | | setFlattenAllFields(boolean value) | Flatten all the fields of the PDF form. | | getResetFontFolders() | Reset font folders before loading document | | setResetFontFolders(boolean resetFontFolders) | | | isPageNumbering() | Enable or disable generation of page numbering in converted document. | | setPageNumbering(boolean isPageNumbering) | | | isRemoveJavascript() | Gets the Remove JavaScript flag | | setRemoveJavascript(boolean removeJavascript) | Sets the Remove JavaScript flag | ##### PdfLoadOptions() ``` public PdfLoadOptions() ``` Initializes new instance of PdfLoadOptions class. ##### getFormat() ``` public final PdfFileType getFormat() ``` Input document file type **Returns:** PdfFileType ##### getRemoveEmbeddedFiles() ``` public final boolean getRemoveEmbeddedFiles() ``` Remove embedded files. **Returns:** boolean ##### setRemoveEmbeddedFiles(boolean value) ``` public final void setRemoveEmbeddedFiles(boolean value) ``` Remove embedded files. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Pdf document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Pdf document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Pdf document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Pdf document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getHidePdfAnnotations() ``` public final boolean getHidePdfAnnotations() ``` Hide annotations in Pdf documents. **Returns:** boolean ##### setHidePdfAnnotations(boolean value) ``` public final void setHidePdfAnnotations(boolean value) ``` Hide annotations in Pdf documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFlattenAllFields() ``` public final boolean getFlattenAllFields() ``` Flatten all the fields of the PDF form. **Returns:** boolean ##### setFlattenAllFields(boolean value) ``` public final void setFlattenAllFields(boolean value) ``` Flatten all the fields of the PDF form. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getResetFontFolders() ``` public boolean getResetFontFolders() ``` Reset font folders before loading document **Returns:** boolean ##### setResetFontFolders(boolean resetFontFolders) ``` public void setResetFontFolders(boolean resetFontFolders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resetFontFolders | boolean | | ##### isPageNumbering() ``` public boolean isPageNumbering() ``` Enable or disable generation of page numbering in converted document. Default: false **Returns:** boolean ##### setPageNumbering(boolean isPageNumbering) ``` public void setPageNumbering(boolean isPageNumbering) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isPageNumbering | boolean | | ##### isRemoveJavascript() ``` public boolean isRemoveJavascript() ``` Gets the Remove JavaScript flag **Returns:** boolean ##### setRemoveJavascript(boolean removeJavascript) ``` public void setRemoveJavascript(boolean removeJavascript) ``` Sets the Remove JavaScript flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | removeJavascript | boolean | | ### PersonalStorageLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/personalstorageloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class PersonalStorageLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions ``` Options for loading personal storage documents. #### Constructors | Constructor | Description | | --- | --- | | PersonalStorageLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFolder() | Folder which to be processed Default is Inbox | | setFolder(String folder) | Set folder which to be processed | | isConvertOwner() | {@inheritDoc} The owner will not be converted | | isConvertOwned() | {@inheritDoc} | | getDepth() | {@inheritDoc} | | setDepth(int depth) | {@inheritDoc} | ##### PersonalStorageLoadOptions() ``` public PersonalStorageLoadOptions() ``` Initializes new instance of class. ##### getFolder() ``` public String getFolder() ``` Folder which to be processed Default is Inbox **Returns:** java.lang.String - Folder which to be processed ##### setFolder(String folder) ``` public void setFolder(String folder) ``` Set folder which to be processed **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | folder | java.lang.String | folder | ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted The owner will not be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### PresentationLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/presentationloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.load.IResourceLoadingOptions, com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class PresentationLoadOptions extends LoadOptions implements Serializable, IResourceLoadingOptions, IDocumentsContainerLoadOptions ``` Options for loading Presentation documents. #### Constructors | Constructor | Description | | --- | --- | | PresentationLoadOptions() | Initializes new instance of EmailLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for rendering the presentation. | | setDefaultFont(String value) | Default font for rendering the presentation. | | getFontSubstitutes() | Substitute specific fonts when converting Presentation document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Presentation document. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getHideComments() | Hide comments. | | setHideComments(boolean value) | Hide comments. | | getShowHiddenSlides() | Show hidden slides. | | setShowHiddenSlides(boolean value) | Show hidden slides. | | getSkipExternalResources() | {@inheritDoc} | | setSkipExternalResources(boolean skip) | {@inheritDoc} | | getWhitelistedResources() | {@inheritDoc} | | setWhitelistedResources(List whiteList) | {@inheritDoc} | | getDocumentFontSources() | | | setDocumentFontSources(List documentFontSources) | | | getNotesPosition() | Represents the way comments are printed with the slide. | | setNotesPosition(PresentationNotesPosition notesPosition) | Represents the way notes are printed with the slide. | | getCommentsPosition() | | | setCommentsPosition(PresentationCommentsPosition commentsPosition) | | | isConvertOwner() | | | setConvertOwner(boolean convertOwner) | | | isConvertOwned() | | | setConvertOwned(boolean convertOwned) | | | getDepth() | | | setDepth(int depth) | | ##### PresentationLoadOptions() ``` public PresentationLoadOptions() ``` Initializes new instance of EmailLoadOptions class. ##### getFormat() ``` public final PresentationFileType getFormat() ``` Input document file type **Returns:** PresentationFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for rendering the presentation. The following font will be used if a presentation font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for rendering the presentation. The following font will be used if a presentation font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Presentation document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Presentation document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getHideComments() ``` public final boolean getHideComments() ``` Hide comments. **Returns:** boolean ##### setHideComments(boolean value) ``` public final void setHideComments(boolean value) ``` Hide comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getShowHiddenSlides() ``` public final boolean getShowHiddenSlides() ``` Show hidden slides. **Returns:** boolean ##### setShowHiddenSlides(boolean value) ``` public final void setShowHiddenSlides(boolean value) ``` Show hidden slides. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getSkipExternalResources() ``` public boolean getSkipExternalResources() ``` If true all external resource will not be loading with exception of the resources in the **Returns:** boolean ##### setSkipExternalResources(boolean skip) ``` public void setSkipExternalResources(boolean skip) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skip | boolean | | ##### getWhitelistedResources() ``` public List getWhitelistedResources() ``` External resources that will be always loaded **Returns:** java.util.List ##### setWhitelistedResources(List whiteList) ``` public void setWhitelistedResources(List whiteList) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteList | java.util.List | | ##### getDocumentFontSources() ``` public List getDocumentFontSources() ``` **Returns:** java.util.List ##### setDocumentFontSources(List documentFontSources) ``` public void setDocumentFontSources(List documentFontSources) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentFontSources | java.util.List | | ##### getNotesPosition() ``` public PresentationNotesPosition getNotesPosition() ``` Represents the way comments are printed with the slide. Default is None. **Returns:** PresentationNotesPosition ##### setNotesPosition(PresentationNotesPosition notesPosition) ``` public void setNotesPosition(PresentationNotesPosition notesPosition) ``` Represents the way notes are printed with the slide. Default is None. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | notesPosition | PresentationNotesPosition | | ##### getCommentsPosition() ``` public PresentationCommentsPosition getCommentsPosition() ``` **Returns:** PresentationCommentsPosition - ##### setCommentsPosition(PresentationCommentsPosition commentsPosition) ``` public void setCommentsPosition(PresentationCommentsPosition commentsPosition) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | commentsPosition | PresentationCommentsPosition | | ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted **Returns:** boolean ##### setConvertOwner(boolean convertOwner) ``` public void setConvertOwner(boolean convertOwner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwner | boolean | | ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### setConvertOwned(boolean convertOwned) ``` public void setConvertOwned(boolean convertOwned) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwned | boolean | | ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### PublisherLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/publisherloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class PublisherLoadOptions extends LoadOptions ``` Options for loading Publisher documents. #### Constructors | Constructor | Description | | --- | --- | | PublisherLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(PublisherFileType format) | Sets Input document file type. | ##### PublisherLoadOptions() ``` public PublisherLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public PublisherFileType getFormat() ``` Gets Input document file type. **Returns:** PublisherFileType ##### setFormat(PublisherFileType format) ``` public void setFormat(PublisherFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | PublisherFileType | | ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/spreadsheetloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.lang.Cloneable, java.io.Serializable, com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class SpreadsheetLoadOptions extends LoadOptions implements Cloneable, Serializable, IDocumentsContainerLoadOptions ``` Options for loading Spreadsheet documents. #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetLoadOptions() | Initializes new instance of SpreadsheetLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getSheets() | Get sheet name to convert | | setSheets(List sheets) | Set sheet name to convert | | getCultureInfo() | Get the system culture info at the time file is loaded | | setCultureInfo(System.Globalization.CultureInfo cultureInfo) | Set the system culture info at the time file is loaded | | getFormat() | | | getDefaultFont() | Default font for spreadsheet document. | | setDefaultFont(String value) | Default font for spreadsheet document. | | getFontSubstitutes() | Substitute specific fonts when converting spreadsheet document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting spreadsheet document. | | getShowGridLines() | Show grid lines when converting Excel files. | | setShowGridLines(boolean value) | Show grid lines when converting Excel files. | | getShowHiddenSheets() | Show hidden sheets when converting Excel files. | | setShowHiddenSheets(boolean value) | Show hidden sheets when converting Excel files. | | getOnePagePerSheet() | If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. | | setOnePagePerSheet(boolean value) | If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. | | getAllColumnsInOnePagePerSheet() | Gets AllColumnsInOnePagePerSheet property | | setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet) | Sets AllColumnsInOnePagePerSheet property | | getOptimizePdfSize() | If True and converting to Pdf the conversion is optimized for better file size than print quality. | | setOptimizePdfSize(boolean value) | If True and converting to Pdf the conversion is optimized for better file size than print quality. | | getConvertRange() | Convert specific range when converting to other than spreadsheet format. | | setConvertRange(String value) | Convert specific range when converting to other than spreadsheet format. | | getSkipEmptyRowsAndColumns() | Skips empty rows and columns when converting. | | setSkipEmptyRowsAndColumns(boolean value) | Skips empty rows and columns when converting. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getHideComments() | Hide comments. | | setHideComments(boolean value) | Hide comments. | | isCheckExcelRestriction() | Whether check restriction of excel file when user modify cells related objects. | | setCheckExcelRestriction(boolean checkExcelRestriction) | | | getSheetIndexes() | Gets List of sheet indexes to convert. | | setSheetIndexes(List sheetIndexes) | Sets List of sheet indexes to convert. | | isAutoFitRows() | Autofits all rows when converting | | setAutoFitRows(boolean autoFitRows) | | | getResetFontFolders() | Reset font folders before loading document | | setResetFontFolders(boolean resetFontFolders) | | | deepClone() | Clones current instance. | | getRowsPerPage() | Split a worksheet into pages by rows. | | setRowsPerPage(int rowsPerPage) | Split a worksheet into pages by rows. | | getColumnsPerPage() | Split a worksheet into pages by columns. | | setColumnsPerPage(int columnsPerPage) | Split a worksheet into pages by columns. | | isConvertOwner() | | | setConvertOwner(boolean convertOwner) | | | isConvertOwned() | | | setConvertOwned(boolean convertOwned) | | | getDepth() | | | setDepth(int depth) | | ##### SpreadsheetLoadOptions() ``` public SpreadsheetLoadOptions() ``` Initializes new instance of SpreadsheetLoadOptions class. ##### getSheets() ``` public List getSheets() ``` Get sheet name to convert **Returns:** java.util.List ##### setSheets(List sheets) ``` public void setSheets(List sheets) ``` Set sheet name to convert **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sheets | java.util.List | | ##### getCultureInfo() ``` public System.Globalization.CultureInfo getCultureInfo() ``` Get the system culture info at the time file is loaded **Returns:** com.aspose.ms.System.Globalization.CultureInfo ##### setCultureInfo(System.Globalization.CultureInfo cultureInfo) ``` public void setCultureInfo(System.Globalization.CultureInfo cultureInfo) ``` Set the system culture info at the time file is loaded **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cultureInfo | com.aspose.ms.System.Globalization.CultureInfo | | ##### getFormat() ``` public final SpreadsheetFileType getFormat() ``` Input document file type **Returns:** SpreadsheetFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for spreadsheet document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for spreadsheet document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting spreadsheet document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting spreadsheet document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getShowGridLines() ``` public final boolean getShowGridLines() ``` Show grid lines when converting Excel files. **Returns:** boolean ##### setShowGridLines(boolean value) ``` public final void setShowGridLines(boolean value) ``` Show grid lines when converting Excel files. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getShowHiddenSheets() ``` public final boolean getShowHiddenSheets() ``` Show hidden sheets when converting Excel files. **Returns:** boolean ##### setShowHiddenSheets(boolean value) ``` public final void setShowHiddenSheets(boolean value) ``` Show hidden sheets when converting Excel files. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOnePagePerSheet() ``` public final boolean getOnePagePerSheet() ``` If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is false. **Returns:** boolean ##### setOnePagePerSheet(boolean value) ``` public final void setOnePagePerSheet(boolean value) ``` If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getAllColumnsInOnePagePerSheet() ``` public boolean getAllColumnsInOnePagePerSheet() ``` Gets AllColumnsInOnePagePerSheet property **Returns:** boolean - true if fit all columns to ont page ##### setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet) ``` public void setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet) ``` Sets AllColumnsInOnePagePerSheet property **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | allColumnsInOnePagePerSheet | boolean | AllColumnsInOnePagePerSheet property | ##### getOptimizePdfSize() ``` public final boolean getOptimizePdfSize() ``` If True and converting to Pdf the conversion is optimized for better file size than print quality. **Returns:** boolean ##### setOptimizePdfSize(boolean value) ``` public final void setOptimizePdfSize(boolean value) ``` If True and converting to Pdf the conversion is optimized for better file size than print quality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertRange() ``` public final String getConvertRange() ``` Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". **Returns:** java.lang.String ##### setConvertRange(String value) ``` public final void setConvertRange(String value) ``` Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getSkipEmptyRowsAndColumns() ``` public final boolean getSkipEmptyRowsAndColumns() ``` Skips empty rows and columns when converting. Default is True. **Returns:** boolean ##### setSkipEmptyRowsAndColumns(boolean value) ``` public final void setSkipEmptyRowsAndColumns(boolean value) ``` Skips empty rows and columns when converting. Default is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getHideComments() ``` public final boolean getHideComments() ``` Hide comments. **Returns:** boolean ##### setHideComments(boolean value) ``` public final void setHideComments(boolean value) ``` Hide comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### isCheckExcelRestriction() ``` public boolean isCheckExcelRestriction() ``` Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. **Returns:** boolean - check restriction flag ##### setCheckExcelRestriction(boolean checkExcelRestriction) ``` public void setCheckExcelRestriction(boolean checkExcelRestriction) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | checkExcelRestriction | boolean | | ##### getSheetIndexes() ``` public List getSheetIndexes() ``` Gets List of sheet indexes to convert. **Returns:** java.util.List ##### setSheetIndexes(List sheetIndexes) ``` public void setSheetIndexes(List sheetIndexes) ``` Sets List of sheet indexes to convert. The indexes must be zero-based **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sheetIndexes | java.util.List | | ##### isAutoFitRows() ``` public boolean isAutoFitRows() ``` Autofits all rows when converting **Returns:** boolean ##### setAutoFitRows(boolean autoFitRows) ``` public void setAutoFitRows(boolean autoFitRows) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | autoFitRows | boolean | | ##### getResetFontFolders() ``` public boolean getResetFontFolders() ``` Reset font folders before loading document **Returns:** boolean ##### setResetFontFolders(boolean resetFontFolders) ``` public void setResetFontFolders(boolean resetFontFolders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resetFontFolders | boolean | | ##### deepClone() ``` public final Object deepClone() ``` Clones current instance. **Returns:** java.lang.Object - ##### getRowsPerPage() ``` public int getRowsPerPage() ``` Split a worksheet into pages by rows. Default is 0, no pagination. **Returns:** int ##### setRowsPerPage(int rowsPerPage) ``` public void setRowsPerPage(int rowsPerPage) ``` Split a worksheet into pages by rows. Default is 0, no pagination. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rowsPerPage | int | | ##### getColumnsPerPage() ``` public int getColumnsPerPage() ``` Split a worksheet into pages by columns. Default is 0, no pagination. **Returns:** int ##### setColumnsPerPage(int columnsPerPage) ``` public void setColumnsPerPage(int columnsPerPage) ``` Split a worksheet into pages by columns. Default is 0, no pagination. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnsPerPage | int | | ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted **Returns:** boolean ##### setConvertOwner(boolean convertOwner) ``` public void setConvertOwner(boolean convertOwner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwner | boolean | | ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### setConvertOwned(boolean convertOwned) ``` public void setConvertOwned(boolean convertOwned) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwned | boolean | | ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### TsvLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/tsvloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions, com.groupdocs.conversion.options.load.SpreadsheetLoadOptions ``` public class TsvLoadOptions extends SpreadsheetLoadOptions ``` Options for loading Tsv documents. #### Constructors | Constructor | Description | | --- | --- | | TsvLoadOptions() | Initializes new instance of class. | ##### TsvLoadOptions() ``` public TsvLoadOptions() ``` Initializes new instance of class. ### TxtLeadingSpacesOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/txtleadingspacesoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class TxtLeadingSpacesOptions extends Enumeration implements Serializable ``` Describes txt leading spaces options enumeration. #### Constructors | Constructor | Description | | --- | --- | | TxtLeadingSpacesOptions() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | ConvertToIndent | Converts leading spaces to indents. | | Preserve | Preserves leading spaces. | | Trim | Trims leading spaces. | ##### TxtLeadingSpacesOptions() ``` public TxtLeadingSpacesOptions() ``` Serialization constructor ##### ConvertToIndent ``` public static final TxtLeadingSpacesOptions ConvertToIndent ``` Converts leading spaces to indents. ##### Preserve ``` public static final TxtLeadingSpacesOptions Preserve ``` Preserves leading spaces. ##### Trim ``` public static final TxtLeadingSpacesOptions Trim ``` Trims leading spaces. ### TxtLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/txtloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class TxtLoadOptions extends LoadOptions implements Serializable ``` Options for loading Txt documents. #### Constructors | Constructor | Description | | --- | --- | | TxtLoadOptions() | Initializes new instance of TxtLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDetectNumberingWithWhitespaces() | Allows to specify how numbered list items are recognized when plain text document is converted. | | setDetectNumberingWithWhitespaces(boolean value) | Allows to specify how numbered list items are recognized when plain text document is converted. | | getTrailingSpacesOptions() | Gets or sets preferred option of a trailing space handling. | | setTrailingSpacesOptions(TxtTrailingSpacesOptions value) | Gets or sets preferred option of a trailing space handling. | | getLeadingSpacesOptions() | Gets or sets preferred option of a leading space handling. | | setLeadingSpacesOptions(TxtLeadingSpacesOptions value) | Gets or sets preferred option of a leading space handling. | | getEncoding() | Gets or sets the encoding that will be used when loading Txt document. | | getEncodingInternal() | | | setEncoding(Charset value) | Gets or sets the encoding that will be used when loading Txt document. | ##### TxtLoadOptions() ``` public TxtLoadOptions() ``` Initializes new instance of TxtLoadOptions class. ##### getFormat() ``` public WordProcessingFileType getFormat() ``` Input document file type **Returns:** WordProcessingFileType ##### getDetectNumberingWithWhitespaces() ``` public final boolean getDetectNumberingWithWhitespaces() ``` Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true.
*** ** * ** *** If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols.
**Returns:** boolean ##### setDetectNumberingWithWhitespaces(boolean value) ``` public final void setDetectNumberingWithWhitespaces(boolean value) ``` Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true.
*** ** * ** *** If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols.
**Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTrailingSpacesOptions() ``` public final TxtTrailingSpacesOptions getTrailingSpacesOptions() ``` Gets or sets preferred option of a trailing space handling. Default value is TxtTrailingSpacesOptions.Trim. **Returns:** TxtTrailingSpacesOptions ##### setTrailingSpacesOptions(TxtTrailingSpacesOptions value) ``` public final void setTrailingSpacesOptions(TxtTrailingSpacesOptions value) ``` Gets or sets preferred option of a trailing space handling. Default value is TxtTrailingSpacesOptions.Trim. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TxtTrailingSpacesOptions | | ##### getLeadingSpacesOptions() ``` public final TxtLeadingSpacesOptions getLeadingSpacesOptions() ``` Gets or sets preferred option of a leading space handling. Default value is TxtLeadingSpacesOptions.ConvertToIndent. **Returns:** TxtLeadingSpacesOptions ##### setLeadingSpacesOptions(TxtLeadingSpacesOptions value) ``` public final void setLeadingSpacesOptions(TxtLeadingSpacesOptions value) ``` Gets or sets preferred option of a leading space handling. Default value is TxtLeadingSpacesOptions.ConvertToIndent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TxtLeadingSpacesOptions | | ##### getEncoding() ``` public final Charset getEncoding() ``` Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. **Returns:** java.nio.charset.Charset ##### getEncodingInternal() ``` public System.Text.Encoding getEncodingInternal() ``` **Returns:** com.aspose.ms.System.Text.Encoding ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ### TxtTrailingSpacesOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/txttrailingspacesoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class TxtTrailingSpacesOptions extends Enumeration implements Serializable ``` Describes txt trailing spaces options enumeration. #### Constructors | Constructor | Description | | --- | --- | | TxtTrailingSpacesOptions() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Preserve | Preserves trailing spaces | | Trim | Trims trailing spaces | ##### TxtTrailingSpacesOptions() ``` public TxtTrailingSpacesOptions() ``` Serialization constructor ##### Preserve ``` public static final TxtTrailingSpacesOptions Preserve ``` Preserves trailing spaces ##### Trim ``` public static final TxtTrailingSpacesOptions Trim ``` Trims trailing spaces ### VcfLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/vcfloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class VcfLoadOptions extends LoadOptions ``` Options for loading Vcf documents. #### Constructors | Constructor | Description | | --- | --- | | VcfLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets or sets the encoding that will be used when loading Vcf document. | | setEncoding(System.Text.Encoding encoding) | | ##### VcfLoadOptions() ``` public VcfLoadOptions() ``` Initializes new instance of class. ##### getEncoding() ``` public System.Text.Encoding getEncoding() ``` Gets or sets the encoding that will be used when loading Vcf document. Default is Encoding.Default. **Returns:** com.aspose.ms.System.Text.Encoding ##### setEncoding(System.Text.Encoding encoding) ``` public void setEncoding(System.Text.Encoding encoding) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | com.aspose.ms.System.Text.Encoding | | ### VideoLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/videoloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class VideoLoadOptions extends LoadOptions ``` Options for loading video documents. #### Constructors | Constructor | Description | | --- | --- | | VideoLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getVideoConnector() | | | setVideoConnector(IVideoConnector videoConnector) | Set video document connector | ##### VideoLoadOptions() ``` public VideoLoadOptions() ``` Initializes new instance of class. ##### getVideoConnector() ``` public IVideoConnector getVideoConnector() ``` **Returns:** IVideoConnector ##### setVideoConnector(IVideoConnector videoConnector) ``` public void setVideoConnector(IVideoConnector videoConnector) ``` Set video document connector **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | videoConnector | IVideoConnector | Video connector instance | ### WebLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/webloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.load.IResourceLoadingOptions, com.groupdocs.conversion.options.load.IPageNumberingLoadOptions ``` public class WebLoadOptions extends LoadOptions implements Serializable, IResourceLoadingOptions, IPageNumberingLoadOptions ``` Options for loading web documents. #### Constructors | Constructor | Description | | --- | --- | | WebLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(WebFileType format) | Sets Input document file type. | | isPageNumbering() | | | setPageNumbering(boolean pageNumbering) | | | getBasePath() | | | setBasePath(String basePath) | | | getEncoding() | | | setEncoding(String encoding) | | | getResourceLoadingTimeout() | Gets timeout for loading external resources in milliseconds | | setResourceLoadingTimeout(long resourceLoadingTimeout) | Sets timeout for loading external resources in milliseconds | | getSkipExternalResources() | {@inheritDoc} | | setSkipExternalResources(boolean skip) | {@inheritDoc} | | getWhitelistedResources() | {@inheritDoc} | | setWhitelistedResources(List whiteList) | {@inheritDoc} | | isUsePdf() | Use pdf for the conversion. | | setUsePdf(boolean usePdf) | | ##### WebLoadOptions() ``` public WebLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public WebFileType getFormat() ``` Gets Input document file type. **Returns:** WebFileType ##### setFormat(WebFileType format) ``` public void setFormat(WebFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | WebFileType | | ##### isPageNumbering() ``` public boolean isPageNumbering() ``` Enable or disable generation of page numbering in converted document. Default: false **Returns:** boolean ##### setPageNumbering(boolean pageNumbering) ``` public void setPageNumbering(boolean pageNumbering) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbering | boolean | | ##### getBasePath() ``` public String getBasePath() ``` **Returns:** java.lang.String ##### setBasePath(String basePath) ``` public void setBasePath(String basePath) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | basePath | java.lang.String | | ##### getEncoding() ``` public String getEncoding() ``` **Returns:** java.lang.String ##### setEncoding(String encoding) ``` public void setEncoding(String encoding) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | java.lang.String | | ##### getResourceLoadingTimeout() ``` public long getResourceLoadingTimeout() ``` Gets timeout for loading external resources in milliseconds **Returns:** long ##### setResourceLoadingTimeout(long resourceLoadingTimeout) ``` public void setResourceLoadingTimeout(long resourceLoadingTimeout) ``` Sets timeout for loading external resources in milliseconds **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resourceLoadingTimeout | long | | ##### getSkipExternalResources() ``` public boolean getSkipExternalResources() ``` If true all external resource will not be loading with exception of the resources in the **Returns:** boolean ##### setSkipExternalResources(boolean skip) ``` public void setSkipExternalResources(boolean skip) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skip | boolean | | ##### getWhitelistedResources() ``` public List getWhitelistedResources() ``` External resources that will be always loaded **Returns:** java.util.List ##### setWhitelistedResources(List whiteList) ``` public void setWhitelistedResources(List whiteList) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteList | java.util.List | | ##### isUsePdf() ``` public boolean isUsePdf() ``` Use pdf for the conversion. Default: false **Returns:** boolean ##### setUsePdf(boolean usePdf) ``` public void setUsePdf(boolean usePdf) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | usePdf | boolean | | ### WordProcessingBookmarksOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/wordprocessingbookmarksoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public class WordProcessingBookmarksOptions extends ValueObject implements Serializable ``` Options for handling bookmarks in WordProcessing #### Constructors | Constructor | Description | | --- | --- | | WordProcessingBookmarksOptions() | | #### Methods | Method | Description | | --- | --- | | getBookmarksOutlineLevel() | Specifies the default level in the document outline at which to display Word bookmarks. | | setBookmarksOutlineLevel(int value) | Specifies the default level in the document outline at which to display Word bookmarks. | | getHeadingsOutlineLevels() | Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. | | setHeadingsOutlineLevels(int value) | Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. | | getExpandedOutlineLevels() | Specifies how many levels in the document outline to show expanded when the file is viewed. | | setExpandedOutlineLevels(int value) | Specifies how many levels in the document outline to show expanded when the file is viewed. | ##### WordProcessingBookmarksOptions() ``` public WordProcessingBookmarksOptions() ``` ##### getBookmarksOutlineLevel() ``` public final int getBookmarksOutlineLevel() ``` Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9. **Returns:** int ##### setBookmarksOutlineLevel(int value) ``` public final void setBookmarksOutlineLevel(int value) ``` Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeadingsOutlineLevels() ``` public final int getHeadingsOutlineLevels() ``` Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9. **Returns:** int ##### setHeadingsOutlineLevels(int value) ``` public final void setHeadingsOutlineLevels(int value) ``` Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getExpandedOutlineLevels() ``` public final int getExpandedOutlineLevels() ``` Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS. **Returns:** int ##### setExpandedOutlineLevels(int value) ``` public final void setExpandedOutlineLevels(int value) ``` Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/wordprocessingloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.load.IResourceLoadingOptions, com.groupdocs.conversion.options.load.IPageNumberingLoadOptions, com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class WordProcessingLoadOptions extends LoadOptions implements Serializable, IResourceLoadingOptions, IPageNumberingLoadOptions, IDocumentsContainerLoadOptions ``` Options for loading WordProcessing documents. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingLoadOptions() | Initializes new instance of WordProcessingLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Words document. | | setDefaultFont(String value) | Default font for Words document. | | getAutoFontSubstitution() | If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. | | setAutoFontSubstitution(boolean value) | If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. | | getFontSubstitutes() | Substitute specific fonts when converting Words document. | | isEmbedTrueTypeFonts() | If EmbedTrueTypeFonts is true, GroupDocs.Conversion embed true type fonts in the output document. | | setEmbedTrueTypeFonts(boolean embedTrueTypeFonts) | | | isUpdatePageLayout() | Update page layout after loading. | | setUpdatePageLayout(boolean updatePageLayout) | | | isUpdateFields() | Update fields after loading. | | setUpdateFields(boolean updateFields) | | | isKeepDateFieldOriginalValue() | Keep original value of date field. | | setKeepDateFieldOriginalValue(boolean keepDateFieldOriginalValue) | Sets Keep original value of date field. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Words document. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getHideWordTrackedChanges() | Hide markup and track changes for Word documents. | | setHideWordTrackedChanges(boolean value) | Hide markup and track changes for Word documents. | | setHideComments(boolean value) | Hide comments. | | getBookmarkOptions() | Bookmarks options | | setBookmarkOptions(WordProcessingBookmarksOptions value) | Bookmarks options | | isPreserveFontFields() | Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. | | setPreserveFontFields(boolean preserveFontFields) | Sets preserveFontFields flag | | isUseTextShaper() | Specifies whether to use a text shaper for better kerning display. | | setUseTextShaper(boolean isUseTextShaper) | Specifies whether to use a text shaper for better kerning display. | | isPreserveDocumentStructure() | Determines whether the document structure should be preserved when converting to PDF (default is false). | | setPreserveDocumentStructure(boolean preserveDocumentStructure) | | | getSkipExternalResources() | {@inheritDoc} | | setSkipExternalResources(boolean skip) | {@inheritDoc} | | getWhitelistedResources() | {@inheritDoc} | | setWhitelistedResources(List whiteList) | {@inheritDoc} | | getCommentDisplayMode() | Specifies how comments should be displayed in the output document. | | setCommentDisplayMode(WordProcessingCommentDisplay commentDisplayMode) | | | getShowFullCommenterName() | Show full commenter name in comments. | | setShowFullCommenterName(boolean showFullCommenterName) | | | isPageNumbering() | Enable or disable generation of page numbering in converted document. | | setPageNumbering(boolean isPageNumbering) | | | getHyphenationOptions() | Gets hyphenation options for WordProcessing documents. | | setHyphenationOptions(HyphenationOptions hyphenationOptions) | Sets hyphenation options for WordProcessing documents. | | isInterruptThreadIfImageExceptionThrown() | Gets InterruptThreadIfImageExceptionThrown flag Default: false If true then interrupt the main conversion thread if an exception in a image processing thread occurred | | setInterruptThreadIfImageExceptionThrown(boolean interruptThreadIfImageExceptionThrown) | Sets InterruptThreadIfImageExceptionThrown flag | | isAutoDetectRtlDirection() | When enabled (default), paragraphs and runs whose text is dominantly right-to-left (RTL) will have their bidi flags repaired before conversion. | | setAutoDetectRtlDirection(boolean autoDetectRtlDirection) | Sets the autoDetectRtlDirection | | isConvertOwner() | | | setConvertOwner(boolean convertOwner) | | | isConvertOwned() | | | setConvertOwned(boolean convertOwned) | | | getDepth() | | | setDepth(int depth) | | ##### WordProcessingLoadOptions() ``` public WordProcessingLoadOptions() ``` Initializes new instance of WordProcessingLoadOptions class. ##### getFormat() ``` public final WordProcessingFileType getFormat() ``` Input document file type **Returns:** WordProcessingFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Words document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Words document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getAutoFontSubstitution() ``` public final boolean getAutoFontSubstitution() ``` If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True. **Returns:** boolean ##### setAutoFontSubstitution(boolean value) ``` public final void setAutoFontSubstitution(boolean value) ``` If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Words document. **Returns:** java.util.List ##### isEmbedTrueTypeFonts() ``` public boolean isEmbedTrueTypeFonts() ``` If EmbedTrueTypeFonts is true, GroupDocs.Conversion embed true type fonts in the output document. Default: false **Returns:** boolean ##### setEmbedTrueTypeFonts(boolean embedTrueTypeFonts) ``` public void setEmbedTrueTypeFonts(boolean embedTrueTypeFonts) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | embedTrueTypeFonts | boolean | | ##### isUpdatePageLayout() ``` public boolean isUpdatePageLayout() ``` Update page layout after loading. Default: false **Returns:** boolean ##### setUpdatePageLayout(boolean updatePageLayout) ``` public void setUpdatePageLayout(boolean updatePageLayout) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updatePageLayout | boolean | | ##### isUpdateFields() ``` public boolean isUpdateFields() ``` Update fields after loading. Default: false **Returns:** boolean ##### setUpdateFields(boolean updateFields) ``` public void setUpdateFields(boolean updateFields) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updateFields | boolean | | ##### isKeepDateFieldOriginalValue() ``` public boolean isKeepDateFieldOriginalValue() ``` Keep original value of date field. Default: false **Returns:** boolean ##### setKeepDateFieldOriginalValue(boolean keepDateFieldOriginalValue) ``` public void setKeepDateFieldOriginalValue(boolean keepDateFieldOriginalValue) ``` Sets Keep original value of date field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keepDateFieldOriginalValue | boolean | | ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Words document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getHideWordTrackedChanges() ``` public final boolean getHideWordTrackedChanges() ``` Hide markup and track changes for Word documents. **Returns:** boolean ##### setHideWordTrackedChanges(boolean value) ``` public final void setHideWordTrackedChanges(boolean value) ``` Hide markup and track changes for Word documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### setHideComments(boolean value) ``` public final void setHideComments(boolean value) ``` Hide comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getBookmarkOptions() ``` public final WordProcessingBookmarksOptions getBookmarkOptions() ``` Bookmarks options **Returns:** WordProcessingBookmarksOptions ##### setBookmarkOptions(WordProcessingBookmarksOptions value) ``` public final void setBookmarkOptions(WordProcessingBookmarksOptions value) ``` Bookmarks options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WordProcessingBookmarksOptions | | ##### isPreserveFontFields() ``` public boolean isPreserveFontFields() ``` Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false. **Returns:** boolean - preserveFontFields flag ##### setPreserveFontFields(boolean preserveFontFields) ``` public void setPreserveFontFields(boolean preserveFontFields) ``` Sets preserveFontFields flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | preserveFontFields | boolean | preserve Microsoft Word form fields as form fields in PDF or convert them to text | ##### isUseTextShaper() ``` public boolean isUseTextShaper() ``` Specifies whether to use a text shaper for better kerning display. Default is false. **Returns:** boolean ##### setUseTextShaper(boolean isUseTextShaper) ``` public void setUseTextShaper(boolean isUseTextShaper) ``` Specifies whether to use a text shaper for better kerning display. Default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isUseTextShaper | boolean | isUseTextShaper flag | ##### isPreserveDocumentStructure() ``` public boolean isPreserveDocumentStructure() ``` Determines whether the document structure should be preserved when converting to PDF (default is false). Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. **Returns:** boolean ##### setPreserveDocumentStructure(boolean preserveDocumentStructure) ``` public void setPreserveDocumentStructure(boolean preserveDocumentStructure) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | preserveDocumentStructure | boolean | | ##### getSkipExternalResources() ``` public boolean getSkipExternalResources() ``` If true all external resource will not be loading with exception of the resources in the **Returns:** boolean ##### setSkipExternalResources(boolean skip) ``` public void setSkipExternalResources(boolean skip) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skip | boolean | | ##### getWhitelistedResources() ``` public List getWhitelistedResources() ``` External resources that will be always loaded **Returns:** java.util.List ##### setWhitelistedResources(List whiteList) ``` public void setWhitelistedResources(List whiteList) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteList | java.util.List | | ##### getCommentDisplayMode() ``` public WordProcessingCommentDisplay getCommentDisplayMode() ``` Specifies how comments should be displayed in the output document. Default is ShowInBalloons. **Returns:** WordProcessingCommentDisplay ##### setCommentDisplayMode(WordProcessingCommentDisplay commentDisplayMode) ``` public void setCommentDisplayMode(WordProcessingCommentDisplay commentDisplayMode) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | commentDisplayMode | WordProcessingCommentDisplay | | ##### getShowFullCommenterName() ``` public boolean getShowFullCommenterName() ``` Show full commenter name in comments. Default is false. **Returns:** boolean ##### setShowFullCommenterName(boolean showFullCommenterName) ``` public void setShowFullCommenterName(boolean showFullCommenterName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | showFullCommenterName | boolean | | ##### isPageNumbering() ``` public boolean isPageNumbering() ``` Enable or disable generation of page numbering in converted document. Default: false **Returns:** boolean ##### setPageNumbering(boolean isPageNumbering) ``` public void setPageNumbering(boolean isPageNumbering) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isPageNumbering | boolean | | ##### getHyphenationOptions() ``` public HyphenationOptions getHyphenationOptions() ``` Gets hyphenation options for WordProcessing documents. **Returns:** HyphenationOptions ##### setHyphenationOptions(HyphenationOptions hyphenationOptions) ``` public void setHyphenationOptions(HyphenationOptions hyphenationOptions) ``` Sets hyphenation options for WordProcessing documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | hyphenationOptions | HyphenationOptions | | ##### isInterruptThreadIfImageExceptionThrown() ``` public boolean isInterruptThreadIfImageExceptionThrown() ``` Gets InterruptThreadIfImageExceptionThrown flag Default: false If true then interrupt the main conversion thread if an exception in a image processing thread occurred **Returns:** boolean ##### setInterruptThreadIfImageExceptionThrown(boolean interruptThreadIfImageExceptionThrown) ``` public void setInterruptThreadIfImageExceptionThrown(boolean interruptThreadIfImageExceptionThrown) ``` Sets InterruptThreadIfImageExceptionThrown flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | interruptThreadIfImageExceptionThrown | boolean | | ##### isAutoDetectRtlDirection() ``` public boolean isAutoDetectRtlDirection() ``` When enabled (default), paragraphs and runs whose text is dominantly right-to-left (RTL) will have their bidi flags repaired before conversion. This matches the heuristic applied by Microsoft Word and LibreOffice and fixes rendering of Arabic/Hebrew documents produced by generators (notably Google Docs) that emit OOXML without and with on runs containing only RTL script. Set to false to preserve strict OOXML interpretation of the source markup. **Returns:** boolean ##### setAutoDetectRtlDirection(boolean autoDetectRtlDirection) ``` public void setAutoDetectRtlDirection(boolean autoDetectRtlDirection) ``` Sets the autoDetectRtlDirection **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | autoDetectRtlDirection | boolean | autoDetectRtlDirection | ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted **Returns:** boolean ##### setConvertOwner(boolean convertOwner) ``` public void setConvertOwner(boolean convertOwner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwner | boolean | | ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### setConvertOwned(boolean convertOwned) ``` public void setConvertOwned(boolean convertOwned) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwned | boolean | | ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### XmlLoadOptions Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.options.load/xmlloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions, com.groupdocs.conversion.options.load.WebLoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class XmlLoadOptions extends WebLoadOptions implements Serializable ``` Options for loading XML documents. #### Constructors | Constructor | Description | | --- | --- | | XmlLoadOptions() | Initializes new instance of XmlLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getXslFoFactory() | XSL-FO document stream to convert XML-FO using XSL. | | setXslFoFactory(Supplier value) | XSL document stream to convert XML-FO using XSL. | | getXsltFactory() | get XSLT document stream to convert XML performing XSL transformation to HTML. | | setXsltFactory(Supplier value) | set XSLT document stream to convert XML performing XSL transformation to HTML. | | isUseAsDataSource() | Use Xml document as data source | | setUseAsDataSource(boolean useAsDataSource) | Set use Xml document as data source | ##### XmlLoadOptions() ``` public XmlLoadOptions() ``` Initializes new instance of XmlLoadOptions class. ##### getXslFoFactory() ``` public final Supplier getXslFoFactory() ``` XSL-FO document stream to convert XML-FO using XSL. **Returns:** java.util.function.Supplier ##### setXslFoFactory(Supplier value) ``` public final void setXslFoFactory(Supplier value) ``` XSL document stream to convert XML-FO using XSL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.function.Supplier | | ##### getXsltFactory() ``` public final Supplier getXsltFactory() ``` get XSLT document stream to convert XML performing XSL transformation to HTML. **Returns:** java.util.function.Supplier ##### setXsltFactory(Supplier value) ``` public final void setXsltFactory(Supplier value) ``` set XSLT document stream to convert XML performing XSL transformation to HTML. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.function.Supplier | | ##### isUseAsDataSource() ``` public boolean isUseAsDataSource() ``` Use Xml document as data source **Returns:** boolean - true if use ##### setUseAsDataSource(boolean useAsDataSource) ``` public void setUseAsDataSource(boolean useAsDataSource) ``` Set use Xml document as data source **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useAsDataSource | boolean | use Xml document as data source | ### com.groupdocs.conversion.reporting Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.reporting.md The GroupDocs.Conversion.Options.Load namespace provides classes to implement converter listening. **Learn more** More about monitoring conversion progress: Listening to conversion process events #### Interfaces | Interface | Description | | --- | --- | | IConverterListener | Defines the methods that are used to perform converter listening. | ### IConverterListener Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.reporting/iconverterlistener.md ### com.groupdocs.conversion Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion.md The scope for GroupDocs.Conversion classes #### Classes | Class | Description | | --- | --- | | Converter | Represents main class that controls document conversion process. | | ConverterSettings | Defines settings for customizing Converter behaviour. | ### Converter Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion/converter.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public class Converter implements Closeable ``` Represents main class that controls document conversion process. #### Constructors | Constructor | Description | | --- | --- | | Converter() | Initializes new instance of class for fluent conversion setup. | | Converter(Supplier document) | Initializes new instance of Converter class. | | Converter(Supplier document, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(Supplier document, LoadOptionsProvider loadOptions) | Initializes new instance of Converter class. | | Converter(Supplier document, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions) | Initializes new instance of class. | | Converter(Supplier document, LoadOptionsForNameFileTypeStreamProvider loadOptions) | Initializes new instance of class. | | Converter(Supplier document, LoadOptionsForNameFileTypeStreamProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of class. | | Converter(String filePath) | Initializes new instance of Converter class. | | Converter(String filePath, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(String filePath, LoadOptionsProvider loadOptions) | Initializes new instance of Converter class. | | Converter(String filePath, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions) | Initializes new instance of class. | | Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) | | | Converter(String filePath, LoadOptionsForNameFileTypeStreamProvider loadOptions) | | | Converter(String filePath, LoadOptionsForNameFileTypeStreamProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | tweakPackageUtil(String vendor, String version, String specTitle) | | | convert(SaveDocumentStream document, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStream document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(String filePath, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStream document, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStream document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | withSettings(ConverterSettingsProvider settingsProvider) | | | load(String fileName) | | | load(String[] fileNames) | | | load(DocumentStreamProvider documentStreamProvider) | | | load(DocumentStreamsProvider documentStreamProvider) | | | getDocumentInfo() | Gets source document info - pages count and other document properties specific to the file type. | | isDocumentPasswordProtected() | Checks is source document is password protected | | getPossibleConversions() | Gets possible conversions for the source document. | | getAllPossibleConversions() | Gets all supported conversions **Learn more** Learn more about supported conversions: Full list of supported conversions Learn more about available conversions: How to get supported conversions in code | | getPossibleConversions(String extension) | Gets supported conversions for provided document extension Converter.GetPossibleConversions(".docx") Converter.GetPossibleConversions("docx") **Learn more** Learn more about supported conversions: Full list of supported conversions Learn more about available conversions: How to get supported conversions in code | | dispose() | Releases resources. | | close() | | ##### Converter() ``` public Converter() ``` Initializes new instance of class for fluent conversion setup. Sample fluent conversion usage: ` var converter = new Converter(); ` ` converter` ` .Load("")` ` .ConvertTo("")` ` .Convert(); ` ` converter` ` .WithSettings(() => new ConverterSettings())` ` .Load("").WithOptions(new PdfLoadOptions())` ` .ConvertTo("").WithOptions(new PdfConvertOptions())` ` .OnConversionCompleted(convertedDocumentStream => { })` ` .Convert(); ` ` converter` ` .Load("").WithOptions(new PdfLoadOptions())` ` .ConvertByPageTo((number => new FileStream("", FileMode.Create))).WithOptions(new PdfConvertOptions())` ` .OnConversionCompleted((number, stream) => {})` ` .Convert(); ` ` converter.Load("").GetPossibleConversions();` ` converter.Load("").GetDocumentInfo();` ` converter.Load("").WithOptions(new PdfLoadOptions()).GetPossibleConversions();` ` converter.Load("").WithOptions(new PdfLoadOptions()).GetDocumentInfo();` ` ` ##### Converter(Supplier document) ``` public Converter(Supplier document) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | input stream supplier. | ##### Converter(Supplier document, ConverterSettingsProvider settings) ``` public Converter(Supplier document, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(Supplier document, LoadOptionsProvider loadOptions) ``` public Converter(Supplier document, LoadOptionsProvider loadOptions) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | loadOptions | LoadOptionsProvider | A load options supplier. | ##### Converter(Supplier document, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(Supplier document, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | loadOptions | LoadOptionsProvider | A document load options supplier. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions) ``` public Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions) ``` Initializes new instance of class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | loadOptions | LoadOptionsForFileTypeProvider | The function that return document load options. | ##### Converter(Supplier document, LoadOptionsForNameFileTypeStreamProvider loadOptions) ``` public Converter(Supplier document, LoadOptionsForNameFileTypeStreamProvider loadOptions) ``` Initializes new instance of class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | A supplier that returns readable stream. | | loadOptions | LoadOptionsForNameFileTypeStreamProvider | A function that returns document load options. | ##### Converter(Supplier document, LoadOptionsForNameFileTypeStreamProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(Supplier document, LoadOptionsForNameFileTypeStreamProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | A supplier that returns readable stream. | | loadOptions | LoadOptionsForNameFileTypeStreamProvider | A function that returns document load options. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(String filePath) ``` public Converter(String filePath) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | ##### Converter(String filePath, ConverterSettingsProvider settings) ``` public Converter(String filePath, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(String filePath, LoadOptionsProvider loadOptions) ``` public Converter(String filePath, LoadOptionsProvider loadOptions) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsProvider | The load options supplier. | ##### Converter(String filePath, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(String filePath, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsProvider | The document load options supplier. | | settings | ConverterSettingsProvider | The Converter settings supplier. | ##### Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions) ``` public Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions) ``` Initializes new instance of class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsForFileTypeProvider | The document load options function. | ##### Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | | | loadOptions | LoadOptionsForFileTypeProvider | | | settings | ConverterSettingsProvider | | ##### Converter(String filePath, LoadOptionsForNameFileTypeStreamProvider loadOptions) ``` public Converter(String filePath, LoadOptionsForNameFileTypeStreamProvider loadOptions) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | | | loadOptions | LoadOptionsForNameFileTypeStreamProvider | | ##### Converter(String filePath, LoadOptionsForNameFileTypeStreamProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(String filePath, LoadOptionsForNameFileTypeStreamProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of class. **Learn more** More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: Loading document from different sources More about document loading options dependent on file type: Load options for different document types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsForNameFileTypeStreamProvider | The document load options function. | | settings | ConverterSettingsProvider | The Converter settings supplier. | ##### tweakPackageUtil(String vendor, String version, String specTitle) ``` public static void tweakPackageUtil(String vendor, String version, String specTitle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | vendor | java.lang.String | | | version | java.lang.String | | | specTitle | java.lang.String | | ##### convert(SaveDocumentStream document, ConvertOptions convertOptions) ``` public final void convert(SaveDocumentStream document, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | The output stream supplier. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | output stream supplier | | documentCompleted | ConvertedDocumentStream | the delegate that receive converted document stream. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | the convert options specific to desired target file type. | ##### convert(SaveDocumentStream document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStream document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | The output stream supplier. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | The output stream supplier. | | documentCompleted | ConvertedDocumentStream | The delegate that receive converted document stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SaveDocumentStreamForFileType document, ConvertOptions convertOptions) ``` public void convert(SaveDocumentStreamForFileType document, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function | | documentCompleted | ConvertedDocumentStream | The delegate that receive converted document stream | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type | ##### convert(SaveDocumentStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function. | | documentCompleted | ConvertedDocumentStream | The delegate that receive converted document stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(String filePath, ConvertOptions convertOptions) ``` public final void convert(String filePath, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStream document, ConvertOptions convertOptions) ``` public final void convert(SavePageStream document, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | The page output stream function. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | The output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStream document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStream document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | The output stream function. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | Output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SavePageStreamForFileType document, ConvertOptions convertOptions) ``` public void convert(SavePageStreamForFileType document, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page. **Learn more** More about document conversion basic scenarios: How to convert document in 3 steps Conversion use cases, advanced settings and customizations: Convert document with advanced settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### withSettings(ConverterSettingsProvider settingsProvider) ``` public IConversionFrom withSettings(ConverterSettingsProvider settingsProvider) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | settingsProvider | ConverterSettingsProvider | | **Returns:** IConversionFrom ##### load(String fileName) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(String fileName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileName | java.lang.String | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### load(String[] fileNames) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(String[] fileNames) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileNames | java.lang.String[] | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### load(DocumentStreamProvider documentStreamProvider) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(DocumentStreamProvider documentStreamProvider) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | DocumentStreamProvider | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### load(DocumentStreamsProvider documentStreamProvider) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(DocumentStreamsProvider documentStreamProvider) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | DocumentStreamsProvider | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets source document info - pages count and other document properties specific to the file type. **Learn more** Learn more about converted document - file type, pages count, creation date and many other format specific properties: How to get document info **Returns:** IDocumentInfo - document info ##### isDocumentPasswordProtected() ``` public boolean isDocumentPasswordProtected() ``` Checks is source document is password protected **Returns:** boolean - true if document is password protected **Learn more** Learn more about converted document - file type, pages count, creation date and many other format specific properties: How to check is the document password protected ##### getPossibleConversions() ``` public final PossibleConversions getPossibleConversions() ``` Gets possible conversions for the source document. **Learn more** Learn more about supported conversions: Full list of supported conversions Learn more about available conversions: How to get supported conversions in code **Returns:** PossibleConversions - possible conversions ##### getAllPossibleConversions() ``` public static List getAllPossibleConversions() ``` Gets all supported conversions **Learn more** Learn more about supported conversions: Full list of supported conversions Learn more about available conversions: How to get supported conversions in code **Returns:** java.util.List - supported conversions ##### getPossibleConversions(String extension) ``` public static PossibleConversions getPossibleConversions(String extension) ``` Gets supported conversions for provided document extension Converter.GetPossibleConversions(".docx") Converter.GetPossibleConversions("docx") **Learn more** Learn more about supported conversions: Full list of supported conversions Learn more about available conversions: How to get supported conversions in code **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | Document extension | **Returns:** PossibleConversions - possible conversions ##### dispose() ``` public final void dispose() ``` Releases resources. ##### close() ``` public void close() ``` ### ConverterSettings Path: https://reference.groupdocs.com/conversion/java/com.groupdocs.conversion/convertersettings.md **Inheritance:** java.lang.Object ``` public final class ConverterSettings ``` Defines settings for customizing Converter behaviour. #### Constructors | Constructor | Description | | --- | --- | | ConverterSettings() | | #### Methods | Method | Description | | --- | --- | | getCache() | The cache implementation used for storing conversion results. | | setCache(ICache value) | The cache implementation used for storing conversion results. | | getLogger() | The logger implementation used for logging conversion process. | | setLogger(ILogger value) | The logger implementation used for logging conversion process. | | getListener() | Gets the converter listener implementation used for monitoring conversion status and progress | | setListener(IConverterListener listener) | Sets the converter listener implementation used for monitoring conversion status and progress | | getFontDirectories() | The custom font directories paths | | getFontDirectoriesInternal() | | | setFontDirectories(List value) | The custom font directories paths | | listConverterSettings() | | | getTempFolder() | Temp folder used for conversion | | setTempFolder(String tempFolder) | Sets Temp folder used for conversion | ##### ConverterSettings() ``` public ConverterSettings() ``` ##### getCache() ``` public final ICache getCache() ``` The cache implementation used for storing conversion results. **Returns:** ICache ##### setCache(ICache value) ``` public final void setCache(ICache value) ``` The cache implementation used for storing conversion results. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ICache | | ##### getLogger() ``` public final ILogger getLogger() ``` The logger implementation used for logging conversion process. **Returns:** ILogger ##### setLogger(ILogger value) ``` public final void setLogger(ILogger value) ``` The logger implementation used for logging conversion process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ILogger | | ##### getListener() ``` public IConverterListener getListener() ``` Gets the converter listener implementation used for monitoring conversion status and progress **Returns:** IConverterListener - The converter listener ##### setListener(IConverterListener listener) ``` public void setListener(IConverterListener listener) ``` Sets the converter listener implementation used for monitoring conversion status and progress **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | listener | IConverterListener | The converter listener | ##### getFontDirectories() ``` public final List getFontDirectories() ``` The custom font directories paths **Returns:** java.util.List ##### getFontDirectoriesInternal() ``` public List getFontDirectoriesInternal() ``` **Returns:** java.util.List ##### setFontDirectories(List value) ``` public void setFontDirectories(List value) ``` The custom font directories paths **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### listConverterSettings() ``` public List listConverterSettings() ``` **Returns:** java.util.List ##### getTempFolder() ``` public String getTempFolder() ``` Temp folder used for conversion **Returns:** java.lang.String ##### setTempFolder(String tempFolder) ``` public void setTempFolder(String tempFolder) ``` Sets Temp folder used for conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tempFolder | java.lang.String | | ## .NET ### GroupDocs.Conversion for .NET Path: https://reference.groupdocs.com/conversion/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Conversion | The namespace provides classes to convert documents into all popular file formats in a simple and intuitive way. | | GroupDocs.Conversion.Caching | The namespace provides classes for customizing caching behaviour. | | GroupDocs.Conversion.Contracts | The namespace provides members to instantiate and release output document, manage font substitutions etc. | | GroupDocs.Conversion.Exceptions | The namespace provides different exceptions classes. | | GroupDocs.Conversion.FileTypes | The namespace provides classes which represent supported file types. | | GroupDocs.Conversion.Fluent | The namespace provides interfaces for fluent conversion. | | GroupDocs.Conversion.Integration.Audio | The namespace provides interfaces and classes, required for audio conversion support. | | GroupDocs.Conversion.Integration.Heic | The namespace provides interfaces and classes, required for heic conversion support. | | GroupDocs.Conversion.Integration.Ocr | The namespace provides interfaces and classes, required for Optical Character Recognition (OCR) support. | | GroupDocs.Conversion.Integration.Video | The namespace provides interfaces and classes, required for video conversion support. | | GroupDocs.Conversion.Logging | The namespace provides classes for customizing logging behaviour. | | GroupDocs.Conversion.Options | The namespace provides classes to specify additional options for document loading and conversion process. | | GroupDocs.Conversion.Options.Convert | The namespace provides classes to specify additional options for document conversion process. | | GroupDocs.Conversion.Options.Load | The namespace provides classes to specify additional options for document loading process. | ### GroupDocs.Conversion.Caching Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching.md The namespace provides classes for customizing caching behaviour. #### Classes | Class | Description | | --- | --- | | FileCache | File caching behaviour. Means that cache is stored on the file system | | MemoryCache | Memory caching behaviour. Means that cache is stored in the memory | #### Interfaces | Interface | Description | | --- | --- | | ICache | Defines methods required for storing rendered document and document resources сache. | ### FileCache Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/filecache.md #### FileCache class File caching behaviour. Means that cache is stored on the file system ```csharp public sealed class FileCache : ICache ``` #### Constructors | Name | Description | | --- | --- | | FileCache(string) | Creates new instance of FileCache class | #### Methods | Name | Description | | --- | --- | | GetKeys(string) | Returns all keys matching filter. | | Set(string, object) | Inserts a cache entry into the cache. | | TryGetValue(string, out object) | Gets the entry associated with this key if present. | ### FileCache Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/filecache/filecache.md #### FileCache constructor Creates new instance of FileCache class ```csharp public FileCache(string cachePath) ``` | Parameter | Type | Description | | --- | --- | --- | | cachePath | String | Relative or absolute path where document cache will be stored | ### GetKeys Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/filecache/getkeys.md #### FileCache.GetKeys method Returns all keys matching filter. ```csharp public IEnumerable GetKeys(string filter) ``` | Parameter | Type | Description | | --- | --- | --- | | filter | String | The filter to use. | ##### Return Value Keys matching the filter. ### Set Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/filecache/set.md #### FileCache.Set method Inserts a cache entry into the cache. ```csharp public void Set(string key, object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A unique identifier for the cache entry. | | value | Object | The object to insert. | ### TryGetValue Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/filecache/trygetvalue.md #### FileCache.TryGetValue method Gets the entry associated with this key if present. ```csharp public bool TryGetValue(string key, out object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A key identifying the requested entry. | | value | Object& | The located value or null. | ##### Return Value ```csharp True ``` if the key was found. ### ICache Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/icache.md #### ICache interface Defines methods required for storing rendered document and document resources сache. ```csharp public interface ICache ``` #### Methods | Name | Description | | --- | --- | | GetKeys(string) | Returns all keys matching filter. | | Set(string, object) | Inserts a cache entry into the cache. | | TryGetValue(string, out object) | Gets the entry associated with this key if present. | ### GetKeys Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/icache/getkeys.md #### ICache.GetKeys method Returns all keys matching filter. ```csharp public IEnumerable GetKeys(string filter) ``` | Parameter | Type | Description | | --- | --- | --- | | filter | String | The filter to use. | ##### Return Value Keys matching the filter. ### Set Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/icache/set.md #### ICache.Set method Inserts a cache entry into the cache. ```csharp public void Set(string key, object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A unique identifier for the cache entry. | | value | Object | The object to insert. | ### TryGetValue Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/icache/trygetvalue.md #### ICache.TryGetValue method Gets the entry associated with this key if present. ```csharp public bool TryGetValue(string key, out object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A key identifying the requested entry. | | value | Object& | The located value or null. | ##### Return Value ```csharp True ``` if the key was found. ### MemoryCache Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/memorycache.md #### MemoryCache class Memory caching behaviour. Means that cache is stored in the memory ```csharp public sealed class MemoryCache : ICache ``` #### Constructors | Name | Description | | --- | --- | | MemoryCache() | Creates new instance of MemoryCache class | #### Methods | Name | Description | | --- | --- | | GetKeys(string) | Returns all keys matching filter. | | Set(string, object) | Inserts a cache entry into the cache. | | TryGetValue(string, out object) | Gets the entry associated with this key if present. | ### GetKeys Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/memorycache/getkeys.md #### MemoryCache.GetKeys method Returns all keys matching filter. ```csharp public IEnumerable GetKeys(string filter) ``` | Parameter | Type | Description | | --- | --- | --- | | filter | String | The filter to use. | ##### Return Value Keys matching the filter. ### MemoryCache Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/memorycache/memorycache.md #### MemoryCache constructor Creates new instance of MemoryCache class ```csharp public MemoryCache() ``` ### Set Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/memorycache/set.md #### MemoryCache.Set method Inserts a cache entry into the cache. ```csharp public void Set(string key, object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A unique identifier for the cache entry. | | value | Object | The object to insert. | ### TryGetValue Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.caching/memorycache/trygetvalue.md #### MemoryCache.TryGetValue method Gets the entry associated with this key if present. ```csharp public bool TryGetValue(string key, out object value) ``` | Parameter | Type | Description | | --- | --- | --- | | key | String | A key identifying the requested entry. | | value | Object& | The located value or null. | ##### Return Value ```csharp True ``` if the key was found. ### GroupDocs.Conversion.Contracts Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts.md The namespace provides members to instantiate and release output document, manage font substitutions etc. #### Classes | Class | Description | | --- | --- | | AudioDocumentInfo | Contains Audio document metadata | | BitmapInfo | Object containing array of pixels and bitmap information. | | Bzip2DocumentInfo | Contains Bzip2 document metadata | | CabDocumentInfo | Contains Cab document metadata | | CadDocumentInfo | Contains Cad document metadata | | CgmDocumentInfo | Contains Cgm document metadata | | CompressionNodeInfo | Represents a node in a compressed file | | CpioDocumentInfo | Contains Cpio document metadata | | CsvDocumentInfo | Contains Csv document metadata | | DiagramDocumentInfo | Contains Diagram document metadata | | DjVuDocumentInfo | Contains DjVu document metadata | | DocumentInfo | Provides base implementation for retrieving polymorphic document information | | EmailDocumentInfo | Contains Email document metadata | | Enumeration | Generic enumeration class. | | EpsDocumentInfo | Contains Ps document metadata | | FlagsEnumeration | Represents an abstract base class for creating enumerations that support bitwise flag operations. | | FontDocumentInfo | Contains Font document metadata | | FontSubstitute | Describes substitution for missing font. | | FontTransformation | Describes font transformation configuration including font attributes. Font transformations are applied after document loading and font substitution. | | GisDocumentInfo | Contains GIS document metadata | | GzipDocumentInfo | Contains Gzip document metadata | | HeicDocumentInfo | Contains Heic document metadata | | IcoDocumentInfo | Contains Ico document metadata | | ImageDocumentInfo | Contains Image document metadata | | InlineXbrlDocumentInfo | Contains iXbrl document metadata | | IsoDocumentInfo | Contains ISO document metadata | | JsonDocumentInfo | Contains Json document metadata | | LhaDocumentInfo | Contains compression document metadata | | Lz4DocumentInfo | Contains Lzip document metadata | | LzipDocumentInfo | Contains Lzip document metadata | | LzmaDocumentInfo | Contains Lzma document metadata | | NoteDocumentInfo | Contains Note document metadata | | OlmDocumentInfo | Contains personal storage document metadata | | OlmFolderInfo | Personal Storage Folder info | | PasswordProtectedDocumentInfo | Provided document is password protected | | PclDocumentInfo | Contains Pcl document metadata | | PdfDocumentInfo | Contains Pdf document metadata | | PersonalStorageDocumentInfo | Contains personal storage document metadata | | PersonalStorageFolderInfo | Personal Storage Folder info | | PersonalStorageItemInfo | Personal Storage Item info | | BitmapInfo.PixelFormat | Describes pixel format enumeration | | PossibleConversions | Represents a mapping what conversion pairs are supported for specific source file format | | PresentationDocumentInfo | Contains Presentation document metadata | | ProjectManagementDocumentInfo | Contains ProjectManagement document metadata | | PsdDocumentInfo | Contains Psd document metadata | | PsDocumentInfo | Contains Ps document metadata | | PublisherDocumentInfo | Contains Publisher document metadata | | RarDocumentInfo | Contains Rar document metadata | | Rectangle | Represents a rectangle defined by its edges for cropping purposes. | | SevenZipDocumentInfo | Contains 7Zip document metadata | | SpreadsheetDocumentInfo | Contains Spreadsheet document metadata | | SvgDocumentInfo | Contains Svg document metadata | | TableOfContentsItem | Contains Table of contents item metadata | | TarDocumentInfo | Contains Tar document metadata | | TargetConversion | Represents possible target conversion and a flag is it a primary or secondary | | TexDocumentInfo | Contains Tex document metadata | | ThreeDDocumentInfo | Contains 3D document metadata | | TsvDocumentInfo | Contains Tsv document metadata | | TxtDocumentInfo | Contains Txt document metadata | | UueDocumentInfo | Contains Uue document metadata | | ValueObject | Abstract value object class. | | VcfDocumentInfo | Contains Vcf document metadata | | VideoDocumentInfo | Contains Video document metadata | | WebDocumentInfo | Contains Web document metadata | | WordProcessingDocumentInfo | Contains WordProcessing document metadata | | XbrlDocumentInfo | Contains Xbrl document metadata | | XmlDocumentInfo | Contains Xml document metadata | | XpsDocumentInfo | Contains Xps document metadata | | XslFoDocumentInfo | Contains XslFo document metadata | | XzDocumentInfo | Contains Xz document metadata | | ZDocumentInfo | Contains Z document metadata | | ZipDocumentInfo | Contains compression document metadata | | ZstDocumentInfo | Contains Zst document metadata | #### Interfaces | Interface | Description | | --- | --- | | ICompressionDocumentHierarchyInfo | Defines metadata for a compression document hierarchy. | | IDocumentInfo | Contains metadata for a document. | | IDocumentsContainerLoadOptions | Loading options for documents container | ### AudioDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/audiodocumentinfo.md #### AudioDocumentInfo class Contains Audio document metadata ```csharp public class AudioDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### BitmapInfo.PixelFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.pixelformat.md #### BitmapInfo.PixelFormat class Describes pixel format enumeration ```csharp public class PixelFormat : Enumeration ``` #### Constructors | Name | Description | | --- | --- | | PixelFormat() | Serialization constructor | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Argb32 | Argb32 pixel format. | | static readonly Bgr24 | Bgr24 pixel format. | | static readonly Bgra32 | Bgra32 pixel format. | | static readonly Rgb24 | Rgb24 pixel format. | | static readonly Rgba32 | Rgba32 pixel format. | ### Argb32 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.pixelformat/argb32.md #### BitmapInfo.PixelFormat.Argb32 field Argb32 pixel format. ```csharp public static readonly PixelFormat Argb32; ``` ### Bgr24 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.pixelformat/bgr24.md #### BitmapInfo.PixelFormat.Bgr24 field Bgr24 pixel format. ```csharp public static readonly PixelFormat Bgr24; ``` ### Bgra32 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.pixelformat/bgra32.md #### BitmapInfo.PixelFormat.Bgra32 field Bgra32 pixel format. ```csharp public static readonly PixelFormat Bgra32; ``` ### PixelFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.pixelformat/pixelformat.md #### BitmapInfo.PixelFormat constructor Serialization constructor ```csharp public PixelFormat() ``` ### Rgb24 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.pixelformat/rgb24.md #### BitmapInfo.PixelFormat.Rgb24 field Rgb24 pixel format. ```csharp public static readonly PixelFormat Rgb24; ``` ### Rgba32 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.pixelformat/rgba32.md #### BitmapInfo.PixelFormat.Rgba32 field Rgba32 pixel format. ```csharp public static readonly PixelFormat Rgba32; ``` ### BitmapInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo.md #### BitmapInfo class Object containing array of pixels and bitmap information. ```csharp public class BitmapInfo : ValueObject ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Gets the pixel format of the bitmap. | | Height { get; } | Gets the height of the bitmap. | | PixelBytes { get; } | Gets the array of pixels. | | Width { get; } | Gets the width of the bitmap. | #### Methods | Name | Description | | --- | --- | | static Create(byte[], int, int, PixelFormat) | Create new BitmapInfo instance | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | #### Other Members | Name | Description | | --- | --- | | class PixelFormat | Describes pixel format enumeration | ### Create Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo/create.md #### BitmapInfo.Create method Create new BitmapInfo instance ```csharp public static BitmapInfo Create(byte[] pixelBytes, int width, int height, PixelFormat format) ``` | Parameter | Type | Description | | --- | --- | --- | | pixelBytes | Byte[] | Array of pixels. | | width | Int32 | Width of the bitmap. | | height | Int32 | Height of the bitmap. | | format | PixelFormat | Pixel format of the bitmap. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo/format.md #### BitmapInfo.Format property Gets the pixel format of the bitmap. ```csharp public PixelFormat Format { get; } ``` ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo/height.md #### BitmapInfo.Height property Gets the height of the bitmap. ```csharp public int Height { get; } ``` ### PixelBytes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo/pixelbytes.md #### BitmapInfo.PixelBytes property Gets the array of pixels. ```csharp public byte[] PixelBytes { get; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bitmapinfo/width.md #### BitmapInfo.Width property Gets the width of the bitmap. ```csharp public int Width { get; } ``` ### Bzip2DocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/bzip2documentinfo.md #### Bzip2DocumentInfo class Contains Bzip2 document metadata ```csharp public class Bzip2DocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### CabDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/cabdocumentinfo.md #### CabDocumentInfo class Contains Cab document metadata ```csharp public class CabDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/cabdocumentinfo/contenttree.md #### CabDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### CadDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/caddocumentinfo.md #### CadDocumentInfo class Contains Cad document metadata ```csharp public class CadDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Height | | Item { get; } | Implements `Item` | | Layers { get; } | Layers in the document | | Layouts { get; } | Layouts in the document | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Width { get; } | Width | ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/caddocumentinfo/height.md #### CadDocumentInfo.Height property Height ```csharp public int Height { get; } ``` ### Layers Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/caddocumentinfo/layers.md #### CadDocumentInfo.Layers property Layers in the document ```csharp public IList Layers { get; } ``` ### Layouts Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/caddocumentinfo/layouts.md #### CadDocumentInfo.Layouts property Layouts in the document ```csharp public IList Layouts { get; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/caddocumentinfo/width.md #### CadDocumentInfo.Width property Width ```csharp public int Width { get; } ``` ### CgmDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/cgmdocumentinfo.md #### CgmDocumentInfo class Contains Cgm document metadata ```csharp public class CgmDocumentInfo : PdfDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets page height | | IsLandscape { get; } | Gets is page landscaped | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | TableOfContents { get; } | Table of contents | | Title { get; } | Gets title | | Version { get; } | Gets version | | Width { get; } | Gets page width | ### CompressionNodeInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/compressionnodeinfo.md #### CompressionNodeInfo class Represents a node in a compressed file ```csharp public class CompressionNodeInfo ``` #### Constructors | Name | Description | | --- | --- | | CompressionNodeInfo() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Children { get; } | Child nodes of this node | | FileSize { get; set; } | Size of the file in bytes (only relevant for file nodes) | | IsFile { get; set; } | Whether the node is a file or a directory | | Name { get; set; } | The name of the node | ### Children Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/compressionnodeinfo/children.md #### CompressionNodeInfo.Children property Child nodes of this node ```csharp public List Children { get; } ``` ### CompressionNodeInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/compressionnodeinfo/compressionnodeinfo.md #### CompressionNodeInfo constructor The default constructor. ```csharp public CompressionNodeInfo() ``` ### FileSize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/compressionnodeinfo/filesize.md #### CompressionNodeInfo.FileSize property Size of the file in bytes (only relevant for file nodes) ```csharp public ulong FileSize { get; set; } ``` ### IsFile Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/compressionnodeinfo/isfile.md #### CompressionNodeInfo.IsFile property Whether the node is a file or a directory ```csharp public bool IsFile { get; set; } ``` ### Name Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/compressionnodeinfo/name.md #### CompressionNodeInfo.Name property The name of the node ```csharp public string Name { get; set; } ``` ### CpioDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/cpiodocumentinfo.md #### CpioDocumentInfo class Contains Cpio document metadata ```csharp public class CpioDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/cpiodocumentinfo/contenttree.md #### CpioDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### CsvDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/csvdocumentinfo.md #### CsvDocumentInfo class Contains Csv document metadata ```csharp public class CsvDocumentInfo : SpreadsheetDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | ActiveWorksheetIndex { get; } | Gets active worksheet index | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Title { get; } | Gets title | | Worksheets { get; } | Worksheets names | | WorksheetsCount { get; } | Gets worksheets count | ### DiagramDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/diagramdocumentinfo.md #### DiagramDocumentInfo class Contains Diagram document metadata ```csharp public class DiagramDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### DjVuDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/djvudocumentinfo.md #### DjVuDocumentInfo class Contains DjVu document metadata ```csharp public class DjVuDocumentInfo : ImageDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets bits per pixel | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets height | | HorizontalResolution { get; } | Get horizontal resolution | | Item { get; } | Implements `Item` | | Opacity { get; } | Gets image opacity | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | VerticalResolution { get; } | Gets vertical resolution | | Width { get; } | Gets width | ### HorizontalResolution Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/djvudocumentinfo/horizontalresolution.md #### DjVuDocumentInfo.HorizontalResolution property Get horizontal resolution ```csharp public double HorizontalResolution { get; } ``` ### Opacity Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/djvudocumentinfo/opacity.md #### DjVuDocumentInfo.Opacity property Gets image opacity ```csharp public float Opacity { get; } ``` ### VerticalResolution Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/djvudocumentinfo/verticalresolution.md #### DjVuDocumentInfo.VerticalResolution property Gets vertical resolution ```csharp public double VerticalResolution { get; } ``` ### DocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/documentinfo.md #### DocumentInfo class Provides base implementation for retrieving polymorphic document information ```csharp public abstract class DocumentInfo : IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### CreationDate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/documentinfo/creationdate.md #### DocumentInfo.CreationDate property Implements `CreationDate` ```csharp public DateTime CreationDate { get; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/documentinfo/format.md #### DocumentInfo.Format property Implements `Format` ```csharp public string Format { get; } ``` ### Item Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/documentinfo/item.md #### DocumentInfo indexer Implements `Item` ```csharp public object this[string propertyName] { get; } ``` ### PagesCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/documentinfo/pagescount.md #### DocumentInfo.PagesCount property Implements `PagesCount` ```csharp public int PagesCount { get; } ``` ### PropertyNames Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/documentinfo/propertynames.md #### DocumentInfo.PropertyNames property Implements `PropertyNames` ```csharp public string[] PropertyNames { get; } ``` ### Size Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/documentinfo/size.md #### DocumentInfo.Size property Implements `Size` ```csharp public long Size { get; } ``` ### EmailDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/emaildocumentinfo.md #### EmailDocumentInfo class Contains Email document metadata ```csharp public class EmailDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | AttachmentsCount { get; } | Gets attachments count | | AttachmentsNames { get; } | Gets attachments names | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsEncrypted { get; } | Gets is encrypted | | IsHtml { get; } | Gets is html | | IsSigned { get; } | Gets is signed | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### AttachmentsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/emaildocumentinfo/attachmentscount.md #### EmailDocumentInfo.AttachmentsCount property Gets attachments count ```csharp public int AttachmentsCount { get; } ``` ### AttachmentsNames Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/emaildocumentinfo/attachmentsnames.md #### EmailDocumentInfo.AttachmentsNames property Gets attachments names ```csharp public IList AttachmentsNames { get; } ``` ### IsEncrypted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/emaildocumentinfo/isencrypted.md #### EmailDocumentInfo.IsEncrypted property Gets is encrypted ```csharp public bool IsEncrypted { get; } ``` ### IsHtml Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/emaildocumentinfo/ishtml.md #### EmailDocumentInfo.IsHtml property Gets is html ```csharp public bool IsHtml { get; } ``` ### IsSigned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/emaildocumentinfo/issigned.md #### EmailDocumentInfo.IsSigned property Gets is signed ```csharp public bool IsSigned { get; } ``` ### Enumeration Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration.md #### Enumeration class Generic enumeration class. ```csharp public abstract class Enumeration : IComparable, IEquatable ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | | static FromDisplayName<T>(string) | Returns object by display name. | | static FromValue<T>(string) | Returns object by key. | | static GetAll<T>() | Returns all enumeration values. | | operator == | Equality operator. | | operator != | Inequality operator. | ### CompareTo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/compareto.md #### Enumeration.CompareTo method Compares current object to other. ```csharp public int CompareTo(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The other object | ##### Return Value zero if equal ### Equals Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/equals.md #### Equals(object) Determines whether two object instances are equal. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object. | ##### Return Value `true` if the specified object is equal to the current object; otherwise, `false`. #### Equals(Enumeration) Determines whether two object instances are equal. ```csharp public virtual bool Equals(Enumeration other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Enumeration | The object to compare with the current object. | ##### Return Value `true` if the specified object is equal to the current object; otherwise, `false`. ### FromDisplayName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/fromdisplayname.md #### Enumeration.FromDisplayName<T> method Returns object by display name. ```csharp public static T FromDisplayName(string displayName) where T : Enumeration ``` | Parameter | Type | Description | | --- | --- | --- | | displayName | String | The display name | ##### Return Value The object ### FromValue Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/fromvalue.md #### Enumeration.FromValue<T> method Returns object by key. ```csharp public static T FromValue(string value) where T : Enumeration ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | The value | ##### Return Value The object ### GetAll Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/getall.md #### Enumeration.GetAll<T> method Returns all enumeration values. ```csharp public static IEnumerable GetAll() where T : Enumeration ``` | Parameter | Description | | --- | --- | | T | Enumerated object type. | ##### Return Value Enumerable of the provided type ### GetHashCode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/gethashcode.md #### Enumeration.GetHashCode method Serves as the default hash function. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current object. ### op_Equality Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/op_equality.md #### Enumeration Equality operator Equality operator. ```csharp public static bool operator ==(Enumeration left, Enumeration right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Enumeration | The first object | | right | Enumeration | The second object | ##### Return Value `true` if objects are equal ### op_Inequality Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/op_inequality.md #### Enumeration Inequality operator Inequality operator. ```csharp public static bool operator !=(Enumeration left, Enumeration right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Enumeration | The first object | | right | Enumeration | The second object | ##### Return Value `true` if objects are not equal ### ToString Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/enumeration/tostring.md #### Enumeration.ToString method Returns a string that represents the current object. ```csharp public override string ToString() ``` ##### Return Value String representation ### EpsDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/epsdocumentinfo.md #### EpsDocumentInfo class Contains Ps document metadata ```csharp public class EpsDocumentInfo : ImageDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets bits per pixel | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets height | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Width { get; } | Gets width | ### FlagsEnumeration Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/flagsenumeration.md #### FlagsEnumeration class Represents an abstract base class for creating enumerations that support bitwise flag operations. ```csharp public abstract class FlagsEnumeration : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | virtual HasFlag<T>(T) | Checks if the current flag has the specified flag. | | virtual HasFlagValue(int) | Checks if the current flag has the specified value. | | override ToString() | Converts the current object to a string. | | static Combine<T>(T, T) | Combines two flags enumerations into one. | ### Combine Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/flagsenumeration/combine.md #### FlagsEnumeration.Combine<T> method Combines two flags enumerations into one. ```csharp public static T Combine(T left, T right) where T : FlagsEnumeration ``` | Parameter | Description | | --- | --- | | T | | | left | | | right | | ### HasFlag Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/flagsenumeration/hasflag.md #### FlagsEnumeration.HasFlag<T> method Checks if the current flag has the specified flag. ```csharp public virtual bool HasFlag(T flag) where T : FlagsEnumeration ``` | Parameter | Type | Description | | --- | --- | --- | | flag | T | The flag to check. | ##### Return Value `true` if the flag is present; otherwise, `false`. ### HasFlagValue Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/flagsenumeration/hasflagvalue.md #### FlagsEnumeration.HasFlagValue method Checks if the current flag has the specified value. ```csharp public virtual bool HasFlagValue(int value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Int32 | The flag value to check. | ##### Return Value `true` if the value is present; otherwise, `false`. ### ToString Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/flagsenumeration/tostring.md #### FlagsEnumeration.ToString method Converts the current object to a string. ```csharp public override string ToString() ``` ##### Return Value The string representation of the key. ### FontDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fontdocumentinfo.md #### FontDocumentInfo class Contains Font document metadata ```csharp public class FontDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### FontSubstitute Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fontsubstitute.md #### FontSubstitute class Describes substitution for missing font. ```csharp public class FontSubstitute : ValueObject ``` #### Properties | Name | Description | | --- | --- | | OriginalFontName { get; } | The original font name. | | SubstituteFontName { get; } | The substitute font name. | #### Methods | Name | Description | | --- | --- | | static Create(string, string) | Instantiate new font substitution pair. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Create Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fontsubstitute/create.md #### FontSubstitute.Create method Instantiate new font substitution pair. ```csharp public static FontSubstitute Create(string originalFont, string substituteWith) ``` | Parameter | Type | Description | | --- | --- | --- | | originalFont | String | Font from the source document. | | substituteWith | String | Font which will be used to replace "originalFont. | ### OriginalFontName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fontsubstitute/originalfontname.md #### FontSubstitute.OriginalFontName property The original font name. ```csharp public string OriginalFontName { get; } ``` ### SubstituteFontName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fontsubstitute/substitutefontname.md #### FontSubstitute.SubstituteFontName property The substitute font name. ```csharp public string SubstituteFontName { get; } ``` ### FontTransformation Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation.md #### FontTransformation class Describes font transformation configuration including font attributes. Font transformations are applied after document loading and font substitution. ```csharp public class FontTransformation : ValueObject ``` #### Properties | Name | Description | | --- | --- | | MatchAnySize { get; } | When true, matches any font size for the original font name. When false, matches exact font size specified in OriginalFont. | | MatchAnyStyle { get; } | When true, matches any font style (bold, italic, underline) for the original font. When false, matches exact font style specified in OriginalFont. | | OriginalFont { get; } | The original font specification to match and replace. | | ReplacementFont { get; } | The replacement font specification. | #### Methods | Name | Description | | --- | --- | | static Create(Font, Font) | Creates a font transformation with exact font matching (size and style must match). | | static CreateByName(string, string) | Creates a font transformation by name only, matching any size and style. The replacement font will preserve the original font's size and style. | | static CreateFlexible(Font, Font, bool, bool) | Creates a font transformation with flexible matching options. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Create Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation/create.md #### FontTransformation.Create method Creates a font transformation with exact font matching (size and style must match). ```csharp public static FontTransformation Create(Font originalFont, Font replacementFont) ``` | Parameter | Type | Description | | --- | --- | --- | | originalFont | Font | Font specification to transform. | | replacementFont | Font | Font specification to transform to. | ### CreateByName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation/createbyname.md #### FontTransformation.CreateByName method Creates a font transformation by name only, matching any size and style. The replacement font will preserve the original font's size and style. ```csharp public static FontTransformation CreateByName(string originalFontName, string replacementFontName) ``` | Parameter | Type | Description | | --- | --- | --- | | originalFontName | String | Original font family name to transform. | | replacementFontName | String | Replacement font family name. | ### CreateFlexible Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation/createflexible.md #### FontTransformation.CreateFlexible method Creates a font transformation with flexible matching options. ```csharp public static FontTransformation CreateFlexible(Font originalFont, Font replacementFont, bool matchAnySize, bool matchAnyStyle) ``` | Parameter | Type | Description | | --- | --- | --- | | originalFont | Font | Font specification to match. | | replacementFont | Font | Font specification to transform to. | | matchAnySize | Boolean | True to match any size, false to match exact size. | | matchAnyStyle | Boolean | True to match any style, false to match exact style. | ### MatchAnySize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation/matchanysize.md #### FontTransformation.MatchAnySize property When true, matches any font size for the original font name. When false, matches exact font size specified in OriginalFont. ```csharp public bool MatchAnySize { get; } ``` ### MatchAnyStyle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation/matchanystyle.md #### FontTransformation.MatchAnyStyle property When true, matches any font style (bold, italic, underline) for the original font. When false, matches exact font style specified in OriginalFont. ```csharp public bool MatchAnyStyle { get; } ``` ### OriginalFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation/originalfont.md #### FontTransformation.OriginalFont property The original font specification to match and replace. ```csharp public Font OriginalFont { get; } ``` ### ReplacementFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/fonttransformation/replacementfont.md #### FontTransformation.ReplacementFont property The replacement font specification. ```csharp public Font ReplacementFont { get; } ``` ### GisDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/gisdocumentinfo.md #### GisDocumentInfo class Contains GIS document metadata ```csharp public class GisDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### GzipDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/gzipdocumentinfo.md #### GzipDocumentInfo class Contains Gzip document metadata ```csharp public class GzipDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### HeicDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/heicdocumentinfo.md #### HeicDocumentInfo class Contains Heic document metadata ```csharp public class HeicDocumentInfo : ImageDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets bits per pixel | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets height | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Width { get; } | Gets width | ### IcoDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/icodocumentinfo.md #### IcoDocumentInfo class Contains Ico document metadata ```csharp public class IcoDocumentInfo : ImageDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets bits per pixel | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets height | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Width { get; } | Gets width | ### ICompressionDocumentHierarchyInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/icompressiondocumenthierarchyinfo.md #### ICompressionDocumentHierarchyInfo interface Defines metadata for a compression document hierarchy. ```csharp public interface ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/icompressiondocumenthierarchyinfo/contenttree.md #### ICompressionDocumentHierarchyInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### IDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentinfo.md #### IDocumentInfo interface Contains metadata for a document. ```csharp public interface IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Document creation date | | Format { get; } | Document format | | Item { get; } | Get value for a property provided as a key | | PagesCount { get; } | Document pages count. | | PropertyNames { get; } | Enumerable of all properties which could be get for the current document info | | Size { get; } | Document size in bytes | ### CreationDate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentinfo/creationdate.md #### IDocumentInfo.CreationDate property Document creation date ```csharp public DateTime CreationDate { get; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentinfo/format.md #### IDocumentInfo.Format property Document format ```csharp public string Format { get; } ``` ### Item Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentinfo/item.md #### IDocumentInfo indexer Get value for a property provided as a key ```csharp public object this[string propertyName] { get; } ``` | Parameter | Description | | --- | --- | | propertyName | property name | ### PagesCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentinfo/pagescount.md #### IDocumentInfo.PagesCount property Document pages count. ```csharp public int PagesCount { get; } ``` ### PropertyNames Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentinfo/propertynames.md #### IDocumentInfo.PropertyNames property Enumerable of all properties which could be get for the current document info ```csharp public string[] PropertyNames { get; } ``` ### Size Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentinfo/size.md #### IDocumentInfo.Size property Document size in bytes ```csharp public long Size { get; } ``` ### IDocumentsContainerLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentscontainerloadoptions.md #### IDocumentsContainerLoadOptions interface Loading options for documents container ```csharp public interface IDocumentsContainerLoadOptions ``` #### Properties | Name | Description | | --- | --- | | ConvertOwned { get; } | Option to control whether the owned documents in the documents container must be converted | | ConvertOwner { get; } | Option to control whether the documents container itself must be converted If this property is true the documents container will be the first converted document | | Depth { get; } | Option to control how many levels in depth to perform conversion | ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentscontainerloadoptions/convertowned.md #### IDocumentsContainerLoadOptions.ConvertOwned property Option to control whether the owned documents in the documents container must be converted ```csharp public bool ConvertOwned { get; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentscontainerloadoptions/convertowner.md #### IDocumentsContainerLoadOptions.ConvertOwner property Option to control whether the documents container itself must be converted If this property is true the documents container will be the first converted document ```csharp public bool ConvertOwner { get; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/idocumentscontainerloadoptions/depth.md #### IDocumentsContainerLoadOptions.Depth property Option to control how many levels in depth to perform conversion ```csharp public int Depth { get; } ``` ### ImageDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/imagedocumentinfo.md #### ImageDocumentInfo class Contains Image document metadata ```csharp public class ImageDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets bits per pixel | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets height | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Width { get; } | Gets width | ### BitsPerPixel Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/imagedocumentinfo/bitsperpixel.md #### ImageDocumentInfo.BitsPerPixel property Gets bits per pixel ```csharp public int BitsPerPixel { get; } ``` ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/imagedocumentinfo/height.md #### ImageDocumentInfo.Height property Gets height ```csharp public int Height { get; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/imagedocumentinfo/width.md #### ImageDocumentInfo.Width property Gets width ```csharp public int Width { get; } ``` ### InlineXbrlDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/inlinexbrldocumentinfo.md #### InlineXbrlDocumentInfo class Contains iXbrl document metadata ```csharp public class InlineXbrlDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### IsoDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/isodocumentinfo.md #### IsoDocumentInfo class Contains ISO document metadata ```csharp public class IsoDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/isodocumentinfo/contenttree.md #### IsoDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### JsonDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/jsondocumentinfo.md #### JsonDocumentInfo class Contains Json document metadata ```csharp public class JsonDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### LhaDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/lhadocumentinfo.md #### LhaDocumentInfo class Contains compression document metadata ```csharp public class LhaDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/lhadocumentinfo/contenttree.md #### LhaDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### Lz4DocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/lz4documentinfo.md #### Lz4DocumentInfo class Contains Lzip document metadata ```csharp public class Lz4DocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### LzipDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/lzipdocumentinfo.md #### LzipDocumentInfo class Contains Lzip document metadata ```csharp public class LzipDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### LzmaDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/lzmadocumentinfo.md #### LzmaDocumentInfo class Contains Lzma document metadata ```csharp public class LzmaDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### NoteDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/notedocumentinfo.md #### NoteDocumentInfo class Contains Note document metadata ```csharp public class NoteDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Title { get; } | Gets title | ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/notedocumentinfo/title.md #### NoteDocumentInfo.Title property Gets title ```csharp public string Title { get; } ``` ### OlmDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/olmdocumentinfo.md #### OlmDocumentInfo class Contains personal storage document metadata ```csharp public class OlmDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Folders { get; } | Folders in the storage | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### Folders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/olmdocumentinfo/folders.md #### OlmDocumentInfo.Folders property Folders in the storage ```csharp public IList Folders { get; } ``` ### OlmFolderInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/olmfolderinfo.md #### OlmFolderInfo class Personal Storage Folder info ```csharp public sealed class OlmFolderInfo : ValueObject ``` #### Properties | Name | Description | | --- | --- | | ItemsCount { get; } | Count of the items in the folder | | Name { get; } | Name of the folder | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation of personal storage folder info | ### ItemsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/olmfolderinfo/itemscount.md #### OlmFolderInfo.ItemsCount property Count of the items in the folder ```csharp public int ItemsCount { get; } ``` ### Name Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/olmfolderinfo/name.md #### OlmFolderInfo.Name property Name of the folder ```csharp public string Name { get; } ``` ### ToString Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/olmfolderinfo/tostring.md #### OlmFolderInfo.ToString method String representation of personal storage folder info ```csharp public override string ToString() ``` ##### Return Value String representation of personal storage folder info in format FolderName (ItemsCount) ### PasswordProtectedDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo.md #### PasswordProtectedDocumentInfo class Provided document is password protected ```csharp public class PasswordProtectedDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### IsPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/ispasswordprotected.md #### PasswordProtectedDocumentInfo.IsPasswordProtected property Gets is document password protected ```csharp public bool IsPasswordProtected { get; } ``` ### PclDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pcldocumentinfo.md #### PclDocumentInfo class Contains Pcl document metadata ```csharp public class PclDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### PdfDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo.md #### PdfDocumentInfo class Contains Pdf document metadata ```csharp public class PdfDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets page height | | IsLandscape { get; } | Gets is page landscaped | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | TableOfContents { get; } | Table of contents | | Title { get; } | Gets title | | Version { get; } | Gets version | | Width { get; } | Gets page width | ### Author Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/author.md #### PdfDocumentInfo.Author property Gets author ```csharp public string Author { get; } ``` ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/height.md #### PdfDocumentInfo.Height property Gets page height ```csharp public double Height { get; } ``` ### IsLandscape Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/islandscape.md #### PdfDocumentInfo.IsLandscape property Gets is page landscaped ```csharp public bool IsLandscape { get; } ``` ### IsPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/ispasswordprotected.md #### PdfDocumentInfo.IsPasswordProtected property Gets is document password protected ```csharp public bool IsPasswordProtected { get; } ``` ### TableOfContents Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/tableofcontents.md #### PdfDocumentInfo.TableOfContents property Table of contents ```csharp public IList TableOfContents { get; } ``` ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/title.md #### PdfDocumentInfo.Title property Gets title ```csharp public string Title { get; } ``` ### Version Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/version.md #### PdfDocumentInfo.Version property Gets version ```csharp public string Version { get; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/pdfdocumentinfo/width.md #### PdfDocumentInfo.Width property Gets page width ```csharp public double Width { get; } ``` ### PersonalStorageDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragedocumentinfo.md #### PersonalStorageDocumentInfo class Contains personal storage document metadata ```csharp public class PersonalStorageDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | ContentCount { get; } | Get count of contents in the root folder | | CreationDate { get; } | Implements `CreationDate` | | Folders { get; } | Folders in the storage | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Is storage password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | RootFolderName { get; } | Root folder name | | Size { get; } | Implements `Size` | ### ContentCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragedocumentinfo/contentcount.md #### PersonalStorageDocumentInfo.ContentCount property Get count of contents in the root folder ```csharp public int ContentCount { get; } ``` ### Folders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragedocumentinfo/folders.md #### PersonalStorageDocumentInfo.Folders property Folders in the storage ```csharp public IList Folders { get; } ``` ### IsPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragedocumentinfo/ispasswordprotected.md #### PersonalStorageDocumentInfo.IsPasswordProtected property Is storage password protected ```csharp public bool IsPasswordProtected { get; } ``` ### RootFolderName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragedocumentinfo/rootfoldername.md #### PersonalStorageDocumentInfo.RootFolderName property Root folder name ```csharp public string RootFolderName { get; } ``` ### PersonalStorageFolderInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragefolderinfo.md #### PersonalStorageFolderInfo class Personal Storage Folder info ```csharp public sealed class PersonalStorageFolderInfo : ValueObject ``` #### Properties | Name | Description | | --- | --- | | Items { get; } | Items in the folder | | ItemsCount { get; } | Count of the items in the folder | | Name { get; } | Name of the folder | | SubFolders { get; } | Sub Folders | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation of personal storage folder info | ### Items Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragefolderinfo/items.md #### PersonalStorageFolderInfo.Items property Items in the folder ```csharp public IList Items { get; } ``` ### ItemsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragefolderinfo/itemscount.md #### PersonalStorageFolderInfo.ItemsCount property Count of the items in the folder ```csharp public int ItemsCount { get; } ``` ### Name Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragefolderinfo/name.md #### PersonalStorageFolderInfo.Name property Name of the folder ```csharp public string Name { get; } ``` ### SubFolders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragefolderinfo/subfolders.md #### PersonalStorageFolderInfo.SubFolders property Sub Folders ```csharp public IList SubFolders { get; } ``` ### ToString Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstoragefolderinfo/tostring.md #### PersonalStorageFolderInfo.ToString method String representation of personal storage folder info ```csharp public override string ToString() ``` ##### Return Value String representation of personal storage folder info in format FolderName (ItemsCount) ### PersonalStorageItemInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo.md #### PersonalStorageItemInfo class Personal Storage Item info ```csharp public sealed class PersonalStorageItemInfo : ValueObject ``` #### Properties | Name | Description | | --- | --- | | AttachmentsCount { get; } | Item Attachments Count | | Bcc { get; } | Item Bcc | | Cc { get; } | Item Cc | | From { get; } | Item From | | Sent { get; } | Item Sent DateTime | | Size { get; } | Item Size | | Subject { get; } | Item Subject | | Title { get; } | Item Title | | To { get; } | Item To | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AttachmentsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/attachmentscount.md #### PersonalStorageItemInfo.AttachmentsCount property Item Attachments Count ```csharp public int AttachmentsCount { get; } ``` ### Bcc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/bcc.md #### PersonalStorageItemInfo.Bcc property Item Bcc ```csharp public string Bcc { get; } ``` ### Cc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/cc.md #### PersonalStorageItemInfo.Cc property Item Cc ```csharp public string Cc { get; } ``` ### From Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/from.md #### PersonalStorageItemInfo.From property Item From ```csharp public string From { get; } ``` ### Sent Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/sent.md #### PersonalStorageItemInfo.Sent property Item Sent DateTime ```csharp public DateTime? Sent { get; } ``` ### Size Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/size.md #### PersonalStorageItemInfo.Size property Item Size ```csharp public long Size { get; } ``` ### Subject Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/subject.md #### PersonalStorageItemInfo.Subject property Item Subject ```csharp public string Subject { get; } ``` ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/title.md #### PersonalStorageItemInfo.Title property Item Title ```csharp public string Title { get; } ``` ### To Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/personalstorageiteminfo/to.md #### PersonalStorageItemInfo.To property Item To ```csharp public string To { get; } ``` ### PossibleConversions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/possibleconversions.md #### PossibleConversions class Represents a mapping what conversion pairs are supported for specific source file format ```csharp public sealed class PossibleConversions : ValueObject ``` #### Properties | Name | Description | | --- | --- | | All { get; } | All target file types and primary/secondary flag IEnumerable of `TargetConversion` | | Item { get; } | Returns target conversion for specified target file type (2 indexers) | | LoadOptions { get; } | Predefined load options which could be used to convert from current type | | Primary { get; } | Primary target file types | | Secondary { get; } | Secondary target file types | | Source { get; } | Source file formats | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### All Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/possibleconversions/all.md #### PossibleConversions.All property All target file types and primary/secondary flag IEnumerable of `TargetConversion` ```csharp public IEnumerable All { get; } ``` ### Item Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/possibleconversions/item.md #### PossibleConversions indexer (1 of 2) Returns target conversion for specified target file type ```csharp public TargetConversion this[FileType target] { get; } ``` | Parameter | Description | | --- | --- | | target | The file type for which to get the target conversion | ##### Return Value `TargetConversion` or null #### PossibleConversions indexer (2 of 2) Returns target conversion for specified target file type extension ```csharp public TargetConversion this[string extension] { get; } ``` | Parameter | Description | | --- | --- | | extension | file extension for which to return the target conversion | ##### Return Value `TargetConversion` or null ### LoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/possibleconversions/loadoptions.md #### PossibleConversions.LoadOptions property Predefined load options which could be used to convert from current type ```csharp public LoadOptions LoadOptions { get; } ``` ### Primary Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/possibleconversions/primary.md #### PossibleConversions.Primary property Primary target file types ```csharp public IEnumerable Primary { get; } ``` ### Secondary Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/possibleconversions/secondary.md #### PossibleConversions.Secondary property Secondary target file types ```csharp public IEnumerable Secondary { get; } ``` ### Source Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/possibleconversions/source.md #### PossibleConversions.Source property Source file formats ```csharp public FileType Source { get; } ``` ### PresentationDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/presentationdocumentinfo.md #### PresentationDocumentInfo class Contains Presentation document metadata ```csharp public class PresentationDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Gets is the document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Title { get; } | Gets title | ### Author Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/presentationdocumentinfo/author.md #### PresentationDocumentInfo.Author property Gets author ```csharp public string Author { get; } ``` ### IsPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/presentationdocumentinfo/ispasswordprotected.md #### PresentationDocumentInfo.IsPasswordProtected property Gets is the document password protected ```csharp public bool IsPasswordProtected { get; } ``` ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/presentationdocumentinfo/title.md #### PresentationDocumentInfo.Title property Gets title ```csharp public string Title { get; } ``` ### ProjectManagementDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/projectmanagementdocumentinfo.md #### ProjectManagementDocumentInfo class Contains ProjectManagement document metadata ```csharp public class ProjectManagementDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | EndDate { get; } | Project end date | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | StartDate { get; } | Project start date | | TasksCount { get; } | Tasks count | ### EndDate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/enddate.md #### ProjectManagementDocumentInfo.EndDate property Project end date ```csharp public DateTime EndDate { get; } ``` ### StartDate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/startdate.md #### ProjectManagementDocumentInfo.StartDate property Project start date ```csharp public DateTime StartDate { get; } ``` ### TasksCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/taskscount.md #### ProjectManagementDocumentInfo.TasksCount property Tasks count ```csharp public int TasksCount { get; } ``` ### PsdDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/psddocumentinfo.md #### PsdDocumentInfo class Contains Psd document metadata ```csharp public class PsdDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets bits per pixel | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets height | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Width { get; } | Gets width | ### BitsPerPixel Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/psddocumentinfo/bitsperpixel.md #### PsdDocumentInfo.BitsPerPixel property Gets bits per pixel ```csharp public int BitsPerPixel { get; } ``` ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/psddocumentinfo/height.md #### PsdDocumentInfo.Height property Gets height ```csharp public int Height { get; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/psddocumentinfo/width.md #### PsdDocumentInfo.Width property Gets width ```csharp public int Width { get; } ``` ### PsDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/psdocumentinfo.md #### PsDocumentInfo class Contains Ps document metadata ```csharp public class PsDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### PublisherDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/publisherdocumentinfo.md #### PublisherDocumentInfo class Contains Publisher document metadata ```csharp public class PublisherDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### RarDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rardocumentinfo.md #### RarDocumentInfo class Contains Rar document metadata ```csharp public class RarDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rardocumentinfo/contenttree.md #### RarDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### Rectangle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle.md #### Rectangle class Represents a rectangle defined by its edges for cropping purposes. ```csharp public sealed class Rectangle : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | Rectangle(int, int, int, int) | Initializes a new instance of the `Rectangle` struct with specified edges. | #### Properties | Name | Description | | --- | --- | | Bottom { get; } | Gets the bottom edge of the rectangle. | | Height { get; } | Gets the height of the rectangle based on top and bottom edges. | | Left { get; } | Gets the left edge of the rectangle. | | Right { get; } | Gets the right edge of the rectangle. | | Top { get; } | Gets the top edge of the rectangle. | | Width { get; } | Gets the width of the rectangle based on left and right edges. | #### Methods | Name | Description | | --- | --- | | Crop(int, int, int, int) | Creates a cropped version of the current rectangle by removing specified margins. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string representation of the rectangle. | ### Bottom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/bottom.md #### Rectangle.Bottom property Gets the bottom edge of the rectangle. ```csharp public int Bottom { get; } ``` ### Crop Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/crop.md #### Rectangle.Crop method Creates a cropped version of the current rectangle by removing specified margins. ```csharp public Rectangle Crop(int cropLeft, int cropTop, int cropRight, int cropBottom) ``` | Parameter | Type | Description | | --- | --- | --- | | cropLeft | Int32 | The number of pixels to remove from the left side. | | cropTop | Int32 | The number of pixels to remove from the top side. | | cropRight | Int32 | The number of pixels to remove from the right side. | | cropBottom | Int32 | The number of pixels to remove from the bottom side. | ##### Return Value A new cropped rectangle. ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/height.md #### Rectangle.Height property Gets the height of the rectangle based on top and bottom edges. ```csharp public int Height { get; } ``` ### Left Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/left.md #### Rectangle.Left property Gets the left edge of the rectangle. ```csharp public int Left { get; } ``` ### Rectangle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/rectangle.md #### Rectangle constructor Initializes a new instance of the `Rectangle` struct with specified edges. ```csharp public Rectangle(int left, int top, int right, int bottom) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Int32 | The left edge of the rectangle. | | top | Int32 | The top edge of the rectangle. | | right | Int32 | The right edge of the rectangle. | | bottom | Int32 | The bottom edge of the rectangle. | ### Right Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/right.md #### Rectangle.Right property Gets the right edge of the rectangle. ```csharp public int Right { get; } ``` ### Top Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/top.md #### Rectangle.Top property Gets the top edge of the rectangle. ```csharp public int Top { get; } ``` ### ToString Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/tostring.md #### Rectangle.ToString method Returns a string representation of the rectangle. ```csharp public override string ToString() ``` ##### Return Value A string representing the rectangle's position and size. ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/rectangle/width.md #### Rectangle.Width property Gets the width of the rectangle based on left and right edges. ```csharp public int Width { get; } ``` ### SevenZipDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/sevenzipdocumentinfo.md #### SevenZipDocumentInfo class Contains 7Zip document metadata ```csharp public class SevenZipDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/sevenzipdocumentinfo/contenttree.md #### SevenZipDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### SpreadsheetDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/spreadsheetdocumentinfo.md #### SpreadsheetDocumentInfo class Contains Spreadsheet document metadata ```csharp public class SpreadsheetDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | ActiveWorksheetIndex { get; } | Gets active worksheet index | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Title { get; } | Gets title | | Worksheets { get; } | Worksheets names | | WorksheetsCount { get; } | Gets worksheets count | ### ActiveWorksheetIndex Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/activeworksheetindex.md #### SpreadsheetDocumentInfo.ActiveWorksheetIndex property Gets active worksheet index ```csharp public int ActiveWorksheetIndex { get; } ``` ### Author Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/author.md #### SpreadsheetDocumentInfo.Author property Gets author ```csharp public string Author { get; } ``` ### IsPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/ispasswordprotected.md #### SpreadsheetDocumentInfo.IsPasswordProtected property Gets is document password protected ```csharp public bool IsPasswordProtected { get; } ``` ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/title.md #### SpreadsheetDocumentInfo.Title property Gets title ```csharp public string Title { get; } ``` ### Worksheets Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/worksheets.md #### SpreadsheetDocumentInfo.Worksheets property Worksheets names ```csharp public string[] Worksheets { get; } ``` ### WorksheetsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/worksheetscount.md #### SpreadsheetDocumentInfo.WorksheetsCount property Gets worksheets count ```csharp public int WorksheetsCount { get; } ``` ### SvgDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/svgdocumentinfo.md #### SvgDocumentInfo class Contains Svg document metadata ```csharp public class SvgDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### TableOfContentsItem Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/tableofcontentsitem.md #### TableOfContentsItem class Contains Table of contents item metadata ```csharp public class TableOfContentsItem ``` #### Properties | Name | Description | | --- | --- | | Page { get; } | Bookmark page | | Title { get; } | Bookmark title | ### Page Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/tableofcontentsitem/page.md #### TableOfContentsItem.Page property Bookmark page ```csharp public int Page { get; } ``` ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/tableofcontentsitem/title.md #### TableOfContentsItem.Title property Bookmark title ```csharp public string Title { get; } ``` ### TarDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/tardocumentinfo.md #### TarDocumentInfo class Contains Tar document metadata ```csharp public class TarDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/tardocumentinfo/contenttree.md #### TarDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### TargetConversion Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/targetconversion.md #### TargetConversion class Represents possible target conversion and a flag is it a primary or secondary ```csharp public sealed class TargetConversion ``` #### Properties | Name | Description | | --- | --- | | ConvertOptions { get; } | Predefined convert options which could be used to convert to current type | | Format { get; } | Target document format | | IsPrimary { get; } | Is the conversion primary | ### ConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/targetconversion/convertoptions.md #### TargetConversion.ConvertOptions property Predefined convert options which could be used to convert to current type ```csharp public ConvertOptions ConvertOptions { get; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/targetconversion/format.md #### TargetConversion.Format property Target document format ```csharp public FileType Format { get; } ``` ### IsPrimary Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/targetconversion/isprimary.md #### TargetConversion.IsPrimary property Is the conversion primary ```csharp public bool IsPrimary { get; } ``` ### TexDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/texdocumentinfo.md #### TexDocumentInfo class Contains Tex document metadata ```csharp public class TexDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ThreeDDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/threeddocumentinfo.md #### ThreeDDocumentInfo class Contains 3D document metadata ```csharp public class ThreeDDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### TsvDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/tsvdocumentinfo.md #### TsvDocumentInfo class Contains Tsv document metadata ```csharp public class TsvDocumentInfo : SpreadsheetDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | ActiveWorksheetIndex { get; } | Gets active worksheet index | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | Title { get; } | Gets title | | Worksheets { get; } | Worksheets names | | WorksheetsCount { get; } | Gets worksheets count | ### TxtDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/txtdocumentinfo.md #### TxtDocumentInfo class Contains Txt document metadata ```csharp public class TxtDocumentInfo : WordProcessingDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | Lines { get; } | Gets lines count | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | TableOfContents { get; } | Table of contents | | Title { get; } | Gets title | | Words { get; } | Gets words count | ### UueDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/uuedocumentinfo.md #### UueDocumentInfo class Contains Uue document metadata ```csharp public class UueDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ValueObject Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/valueobject.md #### ValueObject class Abstract value object class. ```csharp public abstract class ValueObject : IEquatable ``` #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | operator == | Equality operator. | | operator != | Inequality operator. | ### Equals Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/valueobject/equals.md #### Equals(object) Determines whether two object instances are equal. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object. | ##### Return Value `true` if the specified object is equal to the current object; otherwise, `false`. #### Equals(ValueObject) Determines whether two object instances are equal. ```csharp public virtual bool Equals(ValueObject other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ValueObject | The object to compare with the current object. | ##### Return Value `true` if the specified object is equal to the current object; otherwise, `false`. ### GetHashCode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/valueobject/gethashcode.md #### ValueObject.GetHashCode method Serves as the default hash function. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current object. ### op_Equality Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/valueobject/op_equality.md #### ValueObject Equality operator Equality operator. ```csharp public static bool operator ==(ValueObject a, ValueObject b) ``` | Parameter | Type | Description | | --- | --- | --- | | a | ValueObject | The first object | | b | ValueObject | The second object | ##### Return Value `true` if objects are equal ### op_Inequality Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/valueobject/op_inequality.md #### ValueObject Inequality operator Inequality operator. ```csharp public static bool operator !=(ValueObject a, ValueObject b) ``` | Parameter | Type | Description | | --- | --- | --- | | a | ValueObject | The first object | | b | ValueObject | The second object | ##### Return Value `true` if objects are not equal ### VcfDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/vcfdocumentinfo.md #### VcfDocumentInfo class Contains Vcf document metadata ```csharp public class VcfDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | ContactsCount { get; } | Contacts count | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContactsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/vcfdocumentinfo/contactscount.md #### VcfDocumentInfo.ContactsCount property Contacts count ```csharp public int ContactsCount { get; } ``` ### VideoDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/videodocumentinfo.md #### VideoDocumentInfo class Contains Video document metadata ```csharp public class VideoDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### WebDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/webdocumentinfo.md #### WebDocumentInfo class Contains Web document metadata ```csharp public class WebDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Encoding { get; } | Detected document encoding | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### Encoding Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/webdocumentinfo/encoding.md #### WebDocumentInfo.Encoding property Detected document encoding ```csharp public Encoding Encoding { get; } ``` ### WordProcessingDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/wordprocessingdocumentinfo.md #### WordProcessingDocumentInfo class Contains WordProcessing document metadata ```csharp public class WordProcessingDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | Lines { get; } | Gets lines count | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | TableOfContents { get; } | Table of contents | | Title { get; } | Gets title | | Words { get; } | Gets words count | ### Author Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/author.md #### WordProcessingDocumentInfo.Author property Gets author ```csharp public string Author { get; } ``` ### IsPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/ispasswordprotected.md #### WordProcessingDocumentInfo.IsPasswordProtected property Gets is document password protected ```csharp public bool IsPasswordProtected { get; } ``` ### Lines Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/lines.md #### WordProcessingDocumentInfo.Lines property Gets lines count ```csharp public int Lines { get; } ``` ### TableOfContents Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/tableofcontents.md #### WordProcessingDocumentInfo.TableOfContents property Table of contents ```csharp public IList TableOfContents { get; } ``` ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/title.md #### WordProcessingDocumentInfo.Title property Gets title ```csharp public string Title { get; } ``` ### Words Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/words.md #### WordProcessingDocumentInfo.Words property Gets words count ```csharp public int Words { get; } ``` ### XbrlDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/xbrldocumentinfo.md #### XbrlDocumentInfo class Contains Xbrl document metadata ```csharp public class XbrlDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### XmlDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/xmldocumentinfo.md #### XmlDocumentInfo class Contains Xml document metadata ```csharp public class XmlDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### XpsDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/xpsdocumentinfo.md #### XpsDocumentInfo class Contains Xps document metadata ```csharp public class XpsDocumentInfo : PdfDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets page height | | IsLandscape { get; } | Gets is page landscaped | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | TableOfContents { get; } | Table of contents | | Title { get; } | Gets title | | Version { get; } | Gets version | | Width { get; } | Gets page width | ### XslFoDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/xslfodocumentinfo.md #### XslFoDocumentInfo class Contains XslFo document metadata ```csharp public class XslFoDocumentInfo : PdfDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets author | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Height { get; } | Gets page height | | IsLandscape { get; } | Gets is page landscaped | | IsPasswordProtected { get; } | Gets is document password protected | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | | TableOfContents { get; } | Table of contents | | Title { get; } | Gets title | | Version { get; } | Gets version | | Width { get; } | Gets page width | ### XzDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/xzdocumentinfo.md #### XzDocumentInfo class Contains Xz document metadata ```csharp public class XzDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ZDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/zdocumentinfo.md #### ZDocumentInfo class Contains Z document metadata ```csharp public class ZDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ZipDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/zipdocumentinfo.md #### ZipDocumentInfo class Contains compression document metadata ```csharp public class ZipDocumentInfo : DocumentInfo, ICompressionDocumentHierarchyInfo ``` #### Properties | Name | Description | | --- | --- | | ContentTree { get; } | Gets the hierarchical structure of the compressed content. | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### ContentTree Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/zipdocumentinfo/contenttree.md #### ZipDocumentInfo.ContentTree property Gets the hierarchical structure of the compressed content. ```csharp public CompressionNodeInfo ContentTree { get; } ``` ### ZstDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.contracts/zstdocumentinfo.md #### ZstDocumentInfo class Contains Zst document metadata ```csharp public class ZstDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | CreationDate { get; } | Implements `CreationDate` | | Format { get; } | Implements `Format` | | Item { get; } | Implements `Item` | | PagesCount { get; } | Implements `PagesCount` | | PropertyNames { get; } | Implements `PropertyNames` | | Size { get; } | Implements `Size` | ### GroupDocs.Conversion.Exceptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions.md The namespace provides different exceptions classes. #### Classes | Class | Description | | --- | --- | | ConversionByPageFailedException | Conversion by page failed exception | | ConversionFailedException | Conversion failed exception | | ConversionNotSupportedException | GroupDocs exception thrown when the conversion from source file to target file type is not supported | | CorruptOrDamagedFileException | GroupDocs exception thrown when the file is corrupt or damaged | | FileTypeNotSupportedException | GroupDocs exception thrown when the file type is not supported | | FontSubstituteException | Thrown if font substitute is illegal | | GroupDocsConversionException | GroupDocs.Conversion general exception | | IncorrectPasswordException | GroupDocs exception thrown when the file is password protected, password is provided but is incorrect | | InvalidConverterSettingsException | Thrown if provided converter settings are invalid | | InvalidConvertOptionsException | Thrown if provided convert options are invalid | | InvalidLoadOptionsException | Thrown if provided load options are invalid | | PasswordRequiredException | GroupDocs exception thrown when the file is password protected and password is not provided | | SourceDocumentFactoryNotProvidedException | GroupDocs exception thrown when the source document factory is not provided | ### ConversionByPageFailedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionbypagefailedexception.md #### ConversionByPageFailedException class Conversion by page failed exception ```csharp public class ConversionByPageFailedException : Exception ``` #### Constructors | Name | Description | | --- | --- | | ConversionByPageFailedException() | Default constructor | | ConversionByPageFailedException(ConvertedPageContext, Exception) | Creates an exception with a specific message and propagates the inner exception | #### Properties | Name | Description | | --- | --- | | ConversionContext { get; } | Conversion context that caused the conversion to fail | | Exception { get; } | Exception that caused the conversion to fail | #### Methods | Name | Description | | --- | --- | | override GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo with the data needed to serialize the target object. | ### ConversionByPageFailedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionbypagefailedexception/conversionbypagefailedexception.md #### ConversionByPageFailedException() Default constructor ```csharp public ConversionByPageFailedException() ``` #### ConversionByPageFailedException(ConvertedPageContext, Exception) Creates an exception with a specific message and propagates the inner exception ```csharp public ConversionByPageFailedException(ConvertedPageContext convertedContext, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | convertedContext | ConvertedPageContext | | | exception | Exception | The inner exception | ### ConversionContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionbypagefailedexception/conversioncontext.md #### ConversionByPageFailedException.ConversionContext property Conversion context that caused the conversion to fail ```csharp public ConvertedPageContext ConversionContext { get; } ``` ### Exception Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionbypagefailedexception/exception.md #### ConversionByPageFailedException.Exception property Exception that caused the conversion to fail ```csharp public Exception Exception { get; } ``` ### GetObjectData Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionbypagefailedexception/getobjectdata.md #### ConversionByPageFailedException.GetObjectData method Populates a SerializationInfo with the data needed to serialize the target object. ```csharp public override void GetObjectData(SerializationInfo info, StreamingContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | info | SerializationInfo | The SerializationInfo to populate with data. | | context | StreamingContext | The destination for this serialization. | ### ConversionFailedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionfailedexception.md #### ConversionFailedException class Conversion failed exception ```csharp public class ConversionFailedException : Exception ``` #### Constructors | Name | Description | | --- | --- | | ConversionFailedException() | Default constructor | | ConversionFailedException(ConvertedContext, Exception) | Creates an exception with a specific message and propagates the inner exception | #### Properties | Name | Description | | --- | --- | | ConversionContext { get; } | Conversion context that caused the conversion to fail | | Exception { get; } | Exception that caused the conversion to fail | #### Methods | Name | Description | | --- | --- | | override GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo with the data needed to serialize the target object. | ### ConversionContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionfailedexception/conversioncontext.md #### ConversionFailedException.ConversionContext property Conversion context that caused the conversion to fail ```csharp public ConvertedContext ConversionContext { get; } ``` ### ConversionFailedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionfailedexception/conversionfailedexception.md #### ConversionFailedException() Default constructor ```csharp public ConversionFailedException() ``` #### ConversionFailedException(ConvertedContext, Exception) Creates an exception with a specific message and propagates the inner exception ```csharp public ConversionFailedException(ConvertedContext convertedContext, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | convertedContext | ConvertedContext | | | exception | Exception | The inner exception | ### Exception Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionfailedexception/exception.md #### ConversionFailedException.Exception property Exception that caused the conversion to fail ```csharp public Exception Exception { get; } ``` ### GetObjectData Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionfailedexception/getobjectdata.md #### ConversionFailedException.GetObjectData method Populates a SerializationInfo with the data needed to serialize the target object. ```csharp public override void GetObjectData(SerializationInfo info, StreamingContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | info | SerializationInfo | The SerializationInfo to populate with data. | | context | StreamingContext | The destination for this serialization. | ### ConversionNotSupportedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionnotsupportedexception.md #### ConversionNotSupportedException class GroupDocs exception thrown when the conversion from source file to target file type is not supported ```csharp public sealed class ConversionNotSupportedException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | ConversionNotSupportedException(string) | Creates an exception instance with a message | ### ConversionNotSupportedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/conversionnotsupportedexception/conversionnotsupportedexception.md #### ConversionNotSupportedException constructor Creates an exception instance with a message ```csharp public ConversionNotSupportedException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### CorruptOrDamagedFileException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/corruptordamagedfileexception.md #### CorruptOrDamagedFileException class GroupDocs exception thrown when the file is corrupt or damaged ```csharp public sealed class CorruptOrDamagedFileException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | CorruptOrDamagedFileException() | Default constructor | | CorruptOrDamagedFileException(FileType) | Creates an exception instance with a FileType | | CorruptOrDamagedFileException(string) | Creates an exception instance with a message | | CorruptOrDamagedFileException(string, Exception) | Creates an exception instance with a message and propagates the inner exception | ### CorruptOrDamagedFileException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/corruptordamagedfileexception/corruptordamagedfileexception.md #### CorruptOrDamagedFileException() Default constructor ```csharp public CorruptOrDamagedFileException() ``` #### CorruptOrDamagedFileException(FileType) Creates an exception instance with a FileType ```csharp public CorruptOrDamagedFileException(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type | #### CorruptOrDamagedFileException(string) Creates an exception instance with a message ```csharp public CorruptOrDamagedFileException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | #### CorruptOrDamagedFileException(string, Exception) Creates an exception instance with a message and propagates the inner exception ```csharp public CorruptOrDamagedFileException(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | | exception | Exception | The inner exception | ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/filetypenotsupportedexception.md #### FileTypeNotSupportedException class GroupDocs exception thrown when the file type is not supported ```csharp public sealed class FileTypeNotSupportedException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | FileTypeNotSupportedException() | Default constructor | | FileTypeNotSupportedException(FileType) | Creates an exception instance with a FileType | | FileTypeNotSupportedException(string) | Creates an exception instance with a message | ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/filetypenotsupportedexception/filetypenotsupportedexception.md #### FileTypeNotSupportedException() Default constructor ```csharp public FileTypeNotSupportedException() ``` #### FileTypeNotSupportedException(FileType) Creates an exception instance with a FileType ```csharp public FileTypeNotSupportedException(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type | #### FileTypeNotSupportedException(string) Creates an exception instance with a message ```csharp public FileTypeNotSupportedException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### FontSubstituteException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/fontsubstituteexception.md #### FontSubstituteException class Thrown if font substitute is illegal ```csharp public sealed class FontSubstituteException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | FontSubstituteException() | Default constructor | | FontSubstituteException(string) | Creates an exception with a specific message | ### FontSubstituteException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/fontsubstituteexception/fontsubstituteexception.md #### FontSubstituteException() Default constructor ```csharp public FontSubstituteException() ``` #### FontSubstituteException(string) Creates an exception with a specific message ```csharp public FontSubstituteException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### GroupDocsConversionException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/groupdocsconversionexception.md #### GroupDocsConversionException class GroupDocs.Conversion general exception ```csharp public class GroupDocsConversionException : Exception ``` #### Constructors | Name | Description | | --- | --- | | GroupDocsConversionException() | Default constructor | | GroupDocsConversionException(string) | Creates an exception with a specific message | | GroupDocsConversionException(string, Exception) | Creates an exception with a specific message and propagates the inner exception | ### GroupDocsConversionException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/groupdocsconversionexception/groupdocsconversionexception.md #### GroupDocsConversionException() Default constructor ```csharp public GroupDocsConversionException() ``` #### GroupDocsConversionException(string) Creates an exception with a specific message ```csharp public GroupDocsConversionException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | #### GroupDocsConversionException(string, Exception) Creates an exception with a specific message and propagates the inner exception ```csharp public GroupDocsConversionException(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | | exception | Exception | The inner exception | ### IncorrectPasswordException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/incorrectpasswordexception.md #### IncorrectPasswordException class GroupDocs exception thrown when the file is password protected, password is provided but is incorrect ```csharp public sealed class IncorrectPasswordException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | IncorrectPasswordException() | Default constructor | ### IncorrectPasswordException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/incorrectpasswordexception/incorrectpasswordexception.md #### IncorrectPasswordException constructor Default constructor ```csharp public IncorrectPasswordException() ``` ### InvalidConverterSettingsException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/invalidconvertersettingsexception.md #### InvalidConverterSettingsException class Thrown if provided converter settings are invalid ```csharp public sealed class InvalidConverterSettingsException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | InvalidConverterSettingsException() | Default constructor | | InvalidConverterSettingsException(string) | Creates an exception with a specific message | ### InvalidConverterSettingsException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/invalidconvertersettingsexception/invalidconvertersettingsexception.md #### InvalidConverterSettingsException() Default constructor ```csharp public InvalidConverterSettingsException() ``` #### InvalidConverterSettingsException(string) Creates an exception with a specific message ```csharp public InvalidConverterSettingsException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### InvalidConvertOptionsException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/invalidconvertoptionsexception.md #### InvalidConvertOptionsException class Thrown if provided convert options are invalid ```csharp public sealed class InvalidConvertOptionsException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | InvalidConvertOptionsException() | Default constructor | | InvalidConvertOptionsException(string) | Creates an exception with a specific message | ### InvalidConvertOptionsException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/invalidconvertoptionsexception/invalidconvertoptionsexception.md #### InvalidConvertOptionsException() Default constructor ```csharp public InvalidConvertOptionsException() ``` #### InvalidConvertOptionsException(string) Creates an exception with a specific message ```csharp public InvalidConvertOptionsException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### InvalidLoadOptionsException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/invalidloadoptionsexception.md #### InvalidLoadOptionsException class Thrown if provided load options are invalid ```csharp public sealed class InvalidLoadOptionsException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | InvalidLoadOptionsException() | Default constructor | | InvalidLoadOptionsException(string) | Creates an exception with a specific message | ### InvalidLoadOptionsException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/invalidloadoptionsexception/invalidloadoptionsexception.md #### InvalidLoadOptionsException() Default constructor ```csharp public InvalidLoadOptionsException() ``` #### InvalidLoadOptionsException(string) Creates an exception with a specific message ```csharp public InvalidLoadOptionsException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### PasswordRequiredException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/passwordrequiredexception.md #### PasswordRequiredException class GroupDocs exception thrown when the file is password protected and password is not provided ```csharp public sealed class PasswordRequiredException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | PasswordRequiredException() | Default constructor | | PasswordRequiredException(FileType) | Creates an exception instance with a FileType | | PasswordRequiredException(string) | Creates an exception instance with a message | ### PasswordRequiredException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/passwordrequiredexception/passwordrequiredexception.md #### PasswordRequiredException() Default constructor ```csharp public PasswordRequiredException() ``` #### PasswordRequiredException(FileType) Creates an exception instance with a FileType ```csharp public PasswordRequiredException(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type | #### PasswordRequiredException(string) Creates an exception instance with a message ```csharp public PasswordRequiredException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message | ### SourceDocumentFactoryNotProvidedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/sourcedocumentfactorynotprovidedexception.md #### SourceDocumentFactoryNotProvidedException class GroupDocs exception thrown when the source document factory is not provided ```csharp public sealed class SourceDocumentFactoryNotProvidedException : GroupDocsConversionException ``` #### Constructors | Name | Description | | --- | --- | | SourceDocumentFactoryNotProvidedException() | Creates an exception instance with a message | ### SourceDocumentFactoryNotProvidedException Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.exceptions/sourcedocumentfactorynotprovidedexception/sourcedocumentfactorynotprovidedexception.md #### SourceDocumentFactoryNotProvidedException constructor Creates an exception instance with a message ```csharp public SourceDocumentFactoryNotProvidedException() ``` ### GroupDocs.Conversion.FileTypes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes.md The namespace provides classes which represent supported file types. #### Classes | Class | Description | | --- | --- | | AudioFileType | Defines Audio documents Includes the following types: `Mp3`, `Aac`, `Aiff`, `Flac`, `M4a`, `Wma`, `Ac3`, `Ogg`, `Wav`, Learn more about audio formats [here](https://docs.fileformat.com/audio/). | | CadFileType | Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: `Cf2``Dgn`, `Dwf`, `Dwfx``Dwg`, `Dwt`, `Dxf`, `Ifc`, `Igs`, `Plt`, `Stl`. Learn more about CAD formats [here](https://wiki.fileformat.com/cad). | | CompressionFileType | Defines compression formats. Includes the following file types: `Zip`. `Rar`. `SevenZ`. `Tar`. `Gz`. `Gzip`. `Bz2`. `Lz`. `Z`. `Xz`. `Xz`. `Cpio`. `Cab`. `Lzma`. `Zst`. `Uue`. `Lha`. `Lz4`. Learn more about compression formats [here](https://docs.fileformat.com/compression/). | | DatabaseFileType | Defines database documents. Includes the following file types: `Nsf``Log``Sql` | | DiagramFileType | Defines Diagram documents. Includes the following types: `Vdw`, `Vdx`, `Vsd`, `Vsdm`, `Vsdx`, `Vss`, `Vssm`, `Vssx`, `Vst`, `Vstm`, `Vstx`, `Vsx`, `Vtx`. | | EBookFileType | Defines EBook documents. Includes the following file types: `Epub``Mobi``Azw3` | | EmailFileType | Defines Email file formats that are used by email applications to store their various data including email messages, attachments, folders, address books etc. Includes the following file types: `Eml`, `Emlx`, `Msg`, `Vcf`. `Mbox`. `Pst`. `Ost`. `Olm`. Learn more about Email formats [here](https://wiki.fileformat.com/email). | | FileType | File type base class | | FinanceFileType | Defines Finance documents Includes the following types: `Xbrl``IXbrl``Ofx` Learn more about Finance formats [here](https://docs.fileformat.com/finance/). | | FontFileType | Defines Font documents Includes the following types: `Ttf``Eot``Otf``Cff``Type1``Woff``Woff2` Learn more about Font formats [here](https://docs.fileformat.com/font/). | | GisFileType | Defines GIS documents. Includes the following file types: `Shp`. `GeoJson`. `Gdb`. `Gml`. `Kml`. `Gpx`. `TopoJson`. `Osm`. | | ImageFileType | Defines image documents. Includes the following file types: `Ai`, `Avif`, `Bmp`, `Cdr`, `Cmx`, `Dcm`, `Dib`, `DjVu`, `Dng`, `Emf`, `Emz`, `Gif`, `Heic``Ico`, `J2c`, `J2k`, `Jls`, `Jp2`, `Jpc`, `Jfif`. `Jpeg`, `Jpf`, `Jpg`, `Jpm`, `Jpx`, `Odg`, `Png`, `Psd`, `Tif`, `Tiff`, `Webp`, `Wmf`. `Wmz`. Learn more about Image formats [here](https://wiki.fileformat.com/image). | | NoteFileType | Defines Note-taking formats. Includes the following file types: `One`. Learn more about Note-taking formats [here](https://wiki.fileformat.com/note-taking). | | PageDescriptionLanguageFileType | Defines Page description documents. Includes the following file types: `Svg``Svgz``Eps``Cgm``Xps``Tex``Ps``Pcl``Oxps` | | PdfFileType | Defines Pdf documents. Includes the following file types: `Pdf`, | | PresentationFileType | Defines Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. Includes the following file types: `Odp`, `Otp`, `Pot`, `Potm`, `Potx`, `Pps`, `Ppsm`, `Ppsx`, `Ppt`, `Pptm`, `Pptx`. Learn more about Presentation formats [here](https://wiki.fileformat.com/presentation). | | ProjectManagementFileType | Defines Project file formats that are created by Project Management software such as Microsoft Project, Primavera P6 etc. A project file is a collection of tasks, resources, and their scheduling to get a measurable output in the form or a product or a service. Project management documents. Includes the following file types: `Mpp`, `Mpt`, `Mpx`. Learn more about Project Management formats [here](https://wiki.fileformat.com/project-management). | | PublisherFileType | Defines Publisher documents Includes the following types: `Pub` Learn more about Publisher formats [here](https://docs.fileformat.com/publisher/). | | SpreadsheetFileType | Defines Spreadsheet documents. Includes the following file types: `Csv`, `Fods`, `Ods`, `Ots`, `Tsv`, `Xlam`, `Xls`, `Xlsb`, `Xlsm`, `Xlsx`, `Xlt`, `Xltm`, `Xltx`. Learn more about Spreadsheet formats [here](https://wiki.fileformat.com/spreadsheet). | | ThreeDFileType | Defines 3D documents Includes the following types: `Fbx``ThreeDS``ThreeMF``Amf``Ase``Rvm``Dae``Drc``Gltf``Obj``Ply``Jt``U3d``Usd``Usdz``Vrml``X``Glb``Ma``Mb` Learn more about 3D formats [here](https://wiki.fileformat.com/3d). | | VideoFileType | Defines Video documents Includes the following types: `Mp4`, `Avi`, `Flv`, `Mkv`, `Mov`, `Webm`, `Wmv`, Learn more about video formats [here](https://docs.fileformat.com/video/). | | WebFileType | Defines Web documents. Includes the following file types: `Xml``Json``Html``Htm``Mht``Mhtml``Chm` | | WordProcessingFileType | Defines Word Processing files that contain user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Includes the following file types: `Doc`, `Docm`, `Docx`, `Dot`, `Dotm`, `Dotx`, `Odt`, `Ott`, `Rtf`, `Txt`. `Md`. Learn more about Word Processing formats [here](https://wiki.fileformat.com/word-processing). | ### AudioFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype.md #### AudioFileType class Defines Audio documents Includes the following types: `Mp3`, `Aac`, `Aiff`, `Flac`, `M4a`, `Wma`, `Ac3`, `Ogg`, `Wav`, Learn more about audio formats [here](https://docs.fileformat.com/audio/). ```csharp public sealed class AudioFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | AudioFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Aac | AAC (Advanced Audio Coding) refers to digital audio coding standard that represent audio files based on lossy audio compression. Learn more about this file format [here](https://docs.fileformat.com/audio/aac/). | | static readonly Ac3 | A file with a .ac3 extension is an Audio Codec 3 file, introduced by Dolby Laboratories. It is an audio format that can contain up to six channels of audio output. Learn more about this file format [here](https://docs.fileformat.com/audio/ac3/). | | static readonly Aiff | The AIFF (Audio Interchange File Format) is an uncompressed audio file format developed by Apple in 1998, but is based on EA IFF 85 Learn more about this file format [here](https://docs.fileformat.com/audio/aiff/). | | static readonly Flac | FLAC(Free Lossless Audio Codec) is a lossless compression audio coding format developed by Xiph.Org Foundation Learn more about this file format [here](https://docs.fileformat.com/audio/flac/). | | static readonly M4a | The M4A file format is an audio file created by using the AAC (Advanced Audio Coding) which is known as a lossy compression. Learn more about this file format [here](https://docs.fileformat.com/audio/m4a/). | | static readonly Mp3 | Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here](https://docs.fileformat.com/audio/mp3/). | | static readonly Ogg | OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. Learn more about this file format [here](https://docs.fileformat.com/audio/ogg/). | | static readonly Wav | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft’s Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here](https://docs.fileformat.com/audio/ogg/). | | static readonly Wma | A file with .wma extension represents an audio file that is saved in the Advanced Systems Format (ASF) format. Learn more about this file format [here](https://docs.fileformat.com/audio/wma/). | ### Aac Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/aac.md #### AudioFileType.Aac field AAC (Advanced Audio Coding) refers to digital audio coding standard that represent audio files based on lossy audio compression. Learn more about this file format [here](https://docs.fileformat.com/audio/aac/). ```csharp public static readonly AudioFileType Aac; ``` ### Ac3 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/ac3.md #### AudioFileType.Ac3 field A file with a .ac3 extension is an Audio Codec 3 file, introduced by Dolby Laboratories. It is an audio format that can contain up to six channels of audio output. Learn more about this file format [here](https://docs.fileformat.com/audio/ac3/). ```csharp public static readonly AudioFileType Ac3; ``` ### Aiff Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/aiff.md #### AudioFileType.Aiff field The AIFF (Audio Interchange File Format) is an uncompressed audio file format developed by Apple in 1998, but is based on EA IFF 85 Learn more about this file format [here](https://docs.fileformat.com/audio/aiff/). ```csharp public static readonly AudioFileType Aiff; ``` ### AudioFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/audiofiletype.md #### AudioFileType constructor Serialization constructor ```csharp public AudioFileType() ``` ### Flac Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/flac.md #### AudioFileType.Flac field FLAC(Free Lossless Audio Codec) is a lossless compression audio coding format developed by Xiph.Org Foundation Learn more about this file format [here](https://docs.fileformat.com/audio/flac/). ```csharp public static readonly AudioFileType Flac; ``` ### M4a Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/m4a.md #### AudioFileType.M4a field The M4A file format is an audio file created by using the AAC (Advanced Audio Coding) which is known as a lossy compression. Learn more about this file format [here](https://docs.fileformat.com/audio/m4a/). ```csharp public static readonly AudioFileType M4a; ``` ### Mp3 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/mp3.md #### AudioFileType.Mp3 field Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here](https://docs.fileformat.com/audio/mp3/). ```csharp public static readonly AudioFileType Mp3; ``` ### Ogg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/ogg.md #### AudioFileType.Ogg field OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. Learn more about this file format [here](https://docs.fileformat.com/audio/ogg/). ```csharp public static readonly AudioFileType Ogg; ``` ### Wav Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/wav.md #### AudioFileType.Wav field WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft’s Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here](https://docs.fileformat.com/audio/ogg/). ```csharp public static readonly AudioFileType Wav; ``` ### Wma Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/audiofiletype/wma.md #### AudioFileType.Wma field A file with .wma extension represents an audio file that is saved in the Advanced Systems Format (ASF) format. Learn more about this file format [here](https://docs.fileformat.com/audio/wma/). ```csharp public static readonly AudioFileType Wma; ``` ### CadFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype.md #### CadFileType class Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: `Cf2``Dgn`, `Dwf`, `Dwfx``Dwg`, `Dwt`, `Dxf`, `Ifc`, `Igs`, `Plt`, `Stl`. Learn more about CAD formats [here](https://wiki.fileformat.com/cad). ```csharp public sealed class CadFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | CadFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Cf2 | Common File Format File. CAD file that contains 3D package designs or other model data; can be processed and cut by a CAD/CAM machine, such as a die cutting device. | | static readonly Dgn | DGN, Design, files are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System. Learn more about this file format [here](https://wiki.fileformat.com/cad/dgn). | | static readonly Dwf | Design Web Format (DWF) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files. It contains graphics and text as part of design data and reduce the size of the file due to its compressed format. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwf). | | static readonly Dwfx | DWFX file is a 2D or 3D drawing created with Autodesk CAD software. It is saved in the DWFx format, which is similar to a . DWF file, but is formatted using Microsoft's XML Paper Specification (XPS). | | static readonly Dwg | Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwg). | | static readonly Dwt | A DWT file is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwt). | | static readonly Dxf | DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here](https://wiki.fileformat.com/cad/dxf). | | static readonly Ifc | Files with IFC extension refer to Industry Foundation Classes (IFC) file format that establishes international standards to import and export building objects and their properties. This file format provides interoperability between different software applications. Learn more about this file format [here](https://wiki.fileformat.com/cad/ifc). | | static readonly Igs | Igs document format | | static readonly Plt | The PLT file format is a vector-based plotter file introduced by Autodesk, Inc. and contains information for a certain CAD file. Plotting details require accuracy and precision in production, and usage of PLT file guarantee this as all images are printed using lines instead of dots. Learn more about this file format [here](https://wiki.fileformat.com/cad/plt). | | static readonly Stl | STL, abbreviation for stereolithrography, is an interchangeable file format that represents 3-dimensional surface geometry. The file format finds its usage in several fields such as rapid prototyping, 3D printing and computer-aided manufacturing. Learn more about this file format [here](https://wiki.fileformat.com/cad/stl). | ### CadFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/cadfiletype.md #### CadFileType constructor Serialization constructor ```csharp public CadFileType() ``` ### Cf2 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/cf2.md #### CadFileType.Cf2 field Common File Format File. CAD file that contains 3D package designs or other model data; can be processed and cut by a CAD/CAM machine, such as a die cutting device. ```csharp public static readonly CadFileType Cf2; ``` ### Dgn Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/dgn.md #### CadFileType.Dgn field DGN, Design, files are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System. Learn more about this file format [here](https://wiki.fileformat.com/cad/dgn). ```csharp public static readonly CadFileType Dgn; ``` ### Dwf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/dwf.md #### CadFileType.Dwf field Design Web Format (DWF) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files. It contains graphics and text as part of design data and reduce the size of the file due to its compressed format. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwf). ```csharp public static readonly CadFileType Dwf; ``` ### Dwfx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/dwfx.md #### CadFileType.Dwfx field DWFX file is a 2D or 3D drawing created with Autodesk CAD software. It is saved in the DWFx format, which is similar to a . DWF file, but is formatted using Microsoft's XML Paper Specification (XPS). ```csharp public static readonly CadFileType Dwfx; ``` ### Dwg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/dwg.md #### CadFileType.Dwg field Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwg). ```csharp public static readonly CadFileType Dwg; ``` ### Dwt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/dwt.md #### CadFileType.Dwt field A DWT file is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwt). ```csharp public static readonly CadFileType Dwt; ``` ### Dxf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/dxf.md #### CadFileType.Dxf field DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here](https://wiki.fileformat.com/cad/dxf). ```csharp public static readonly CadFileType Dxf; ``` ### Ifc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/ifc.md #### CadFileType.Ifc field Files with IFC extension refer to Industry Foundation Classes (IFC) file format that establishes international standards to import and export building objects and their properties. This file format provides interoperability between different software applications. Learn more about this file format [here](https://wiki.fileformat.com/cad/ifc). ```csharp public static readonly CadFileType Ifc; ``` ### Igs Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/igs.md #### CadFileType.Igs field Igs document format ```csharp public static readonly CadFileType Igs; ``` ### Plt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/plt.md #### CadFileType.Plt field The PLT file format is a vector-based plotter file introduced by Autodesk, Inc. and contains information for a certain CAD file. Plotting details require accuracy and precision in production, and usage of PLT file guarantee this as all images are printed using lines instead of dots. Learn more about this file format [here](https://wiki.fileformat.com/cad/plt). ```csharp public static readonly CadFileType Plt; ``` ### Stl Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/cadfiletype/stl.md #### CadFileType.Stl field STL, abbreviation for stereolithrography, is an interchangeable file format that represents 3-dimensional surface geometry. The file format finds its usage in several fields such as rapid prototyping, 3D printing and computer-aided manufacturing. Learn more about this file format [here](https://wiki.fileformat.com/cad/stl). ```csharp public static readonly CadFileType Stl; ``` ### CompressionFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype.md #### CompressionFileType class Defines compression formats. Includes the following file types: `Zip`. `Rar`. `SevenZ`. `Tar`. `Gz`. `Gzip`. `Bz2`. `Lz`. `Z`. `Xz`. `Xz`. `Cpio`. `Cab`. `Lzma`. `Zst`. `Uue`. `Lha`. `Lz4`. Learn more about compression formats [here](https://docs.fileformat.com/compression/). ```csharp public sealed class CompressionFileType : FileType ``` #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | | IsMultiFileArchive { get; } | Defines if the format supports multiple files/folders in a single archive. | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Bz2 | BZ2 are compressed files generated using the BZIP2 open source compression method, mostly on UNIX or Linux system. It is used for compression of a single file and is not meant for archiving of multiple files. Learn more about this file format [here](https://docs.fileformat.com/compression/bz2/). | | static readonly Cab | A file with a .cab extension belongs to a windows cabinet file that belongs to the category of system files. It is a file that is saved in the archive file format in the versions of Microsoft Windows that support compressed data algorithms, such as the LZX, Quantum, and ZIP. Learn more about this file format [here](https://docs.fileformat.com/system/cab/). | | static readonly Cpio | Cpio is a general file archiver utility and its associated file format. It is primarily installed on Unix-like computer operating systems. | | static readonly Gz | A GZ file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs. Learn more about this file format [here](https://docs.fileformat.com/compression/gz/). | | static readonly Gzip | A Gzip file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs. Learn more about this file format [here](https://docs.fileformat.com/compression/gz/). | | static readonly Iso | A file with .iso extension is an uncompressed archive disk image file that represents the contents of entire data on an optical disc such as CD or DVD. Based on the ISO-9660 standard, the ISO image file format contains the disc data along with the filesystem information that is stored in it. Learn more about this file format [here](https://docs.fileformat.com/compression/iso/). | | static readonly Lha | A file with .lzh and .lha extension usually relates to archive compression file format. This file format is the same as other file compression formats like ZIP, RAR, etc. The main purpose of these file formats is to reduce the size of the format for easily sending as well as to keep them together in compressed form. | | static readonly Lz | A file with .lz extension is a compressed archive file created with Lzip, which is a free command-line tool for compression. It supports concatenation to compress support files. LZ files have media type application/lzip and support higher compression rations than BZ2. Learn more about this file format [here](https://docs.fileformat.com/compression/bz2/). | | static readonly Lz4 | A file with .lz4 extension is a compressed archive file created with applications/utilities that support LZ4 compression. The LZ4 algorithm focuses on trade-off between speed and compression ratio. Compressed LZ4 archives can be created using the LZ4 command-line utility and can be decompressed using the same. Learn more about this file format [here](https://docs.fileformat.com/compression/lz4/). | | static readonly Lzma | A file with .lzma extension is a compressed archive file created using the LZMA (Lempel-Ziv-Markov chain Algorithm) compression method. These are mainly found/used on Unix operating system and are similar to other compression algorithms such as ZIP for minimising file size. Learn more about this file format [here](https://docs.fileformat.com/compression/lzma/). | | static readonly Rar | Files with .rar extension are archive files that are created for storing information in compressed or normal form. RAR, which stands for Roshal ARchive file format. Learn more about this file format [here](https://docs.fileformat.com/compression/rar/). | | static readonly SevenZ | 7z is an archiving format for compressing files and folders with a high compression ratio. It is based on Open Source architecture which makes it possible to use any compression and encryption algorithms. Learn more about this file format [here](https://docs.fileformat.com/compression/7z/). | | static readonly Tar | Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Multiple files are stored in an uncompressed format with the support of adding files as well as folders to the archive. Learn more about this file format [here](https://docs.fileformat.com/compression/tar/). | | static readonly Uue | A uuencoded archive is a file or collection of files that have been encoded using the Unix-to-Unix encoding scheme (uuencode). This encoding method converts binary data into a text format, which makes it easier to send files over channels that only support text, such as email. | | static readonly Xz | XZ is a compressed file format that utilizes the LZMA2 compression algorithm. It was designed as a replacement for the popular gzip and bzip2 formats, and offers a number of advantages over these older standards. Learn more about this file format [here](https://docs.fileformat.com/compression/xz/). | | static readonly Z | A Z file is a category of files belonging to the UNIX Compressed data files. Compressed Unix files are the most popular and widely used extension type of the Z file. Learn more about this file format [here](https://docs.fileformat.com/compression/z/). | | static readonly Zip | A file with .zip extension is an archive that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size. Learn more about this file format [here](https://docs.fileformat.com/compression/zip/). | | static readonly Zst | A ZST file is a compressed file that is generated with the Zstandard (zstd) compression algorithm. It is a compressed file that is created with lossless compression by the algorithm. Learn more about this file format [here](https://docs.fileformat.com/compression/zst/). | ### Bz2 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/bz2.md #### CompressionFileType.Bz2 field BZ2 are compressed files generated using the BZIP2 open source compression method, mostly on UNIX or Linux system. It is used for compression of a single file and is not meant for archiving of multiple files. Learn more about this file format [here](https://docs.fileformat.com/compression/bz2/). ```csharp public static readonly CompressionFileType Bz2; ``` ### Cab Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/cab.md #### CompressionFileType.Cab field A file with a .cab extension belongs to a windows cabinet file that belongs to the category of system files. It is a file that is saved in the archive file format in the versions of Microsoft Windows that support compressed data algorithms, such as the LZX, Quantum, and ZIP. Learn more about this file format [here](https://docs.fileformat.com/system/cab/). ```csharp public static readonly CompressionFileType Cab; ``` ### Cpio Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/cpio.md #### CompressionFileType.Cpio field Cpio is a general file archiver utility and its associated file format. It is primarily installed on Unix-like computer operating systems. ```csharp public static readonly CompressionFileType Cpio; ``` ### Gz Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/gz.md #### CompressionFileType.Gz field A GZ file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs. Learn more about this file format [here](https://docs.fileformat.com/compression/gz/). ```csharp public static readonly CompressionFileType Gz; ``` ### Gzip Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/gzip.md #### CompressionFileType.Gzip field A Gzip file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs. Learn more about this file format [here](https://docs.fileformat.com/compression/gz/). ```csharp public static readonly CompressionFileType Gzip; ``` ### IsMultiFileArchive Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/ismultifilearchive.md #### CompressionFileType.IsMultiFileArchive property Defines if the format supports multiple files/folders in a single archive. ```csharp public bool IsMultiFileArchive { get; } ``` ### Iso Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/iso.md #### CompressionFileType.Iso field A file with .iso extension is an uncompressed archive disk image file that represents the contents of entire data on an optical disc such as CD or DVD. Based on the ISO-9660 standard, the ISO image file format contains the disc data along with the filesystem information that is stored in it. Learn more about this file format [here](https://docs.fileformat.com/compression/iso/). ```csharp public static readonly CompressionFileType Iso; ``` ### Lha Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/lha.md #### CompressionFileType.Lha field A file with .lzh and .lha extension usually relates to archive compression file format. This file format is the same as other file compression formats like ZIP, RAR, etc. The main purpose of these file formats is to reduce the size of the format for easily sending as well as to keep them together in compressed form. ```csharp public static readonly CompressionFileType Lha; ``` ### Lz Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/lz.md #### CompressionFileType.Lz field A file with .lz extension is a compressed archive file created with Lzip, which is a free command-line tool for compression. It supports concatenation to compress support files. LZ files have media type application/lzip and support higher compression rations than BZ2. Learn more about this file format [here](https://docs.fileformat.com/compression/bz2/). ```csharp public static readonly CompressionFileType Lz; ``` ### Lz4 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/lz4.md #### CompressionFileType.Lz4 field A file with .lz4 extension is a compressed archive file created with applications/utilities that support LZ4 compression. The LZ4 algorithm focuses on trade-off between speed and compression ratio. Compressed LZ4 archives can be created using the LZ4 command-line utility and can be decompressed using the same. Learn more about this file format [here](https://docs.fileformat.com/compression/lz4/). ```csharp public static readonly CompressionFileType Lz4; ``` ### Lzma Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/lzma.md #### CompressionFileType.Lzma field A file with .lzma extension is a compressed archive file created using the LZMA (Lempel-Ziv-Markov chain Algorithm) compression method. These are mainly found/used on Unix operating system and are similar to other compression algorithms such as ZIP for minimising file size. Learn more about this file format [here](https://docs.fileformat.com/compression/lzma/). ```csharp public static readonly CompressionFileType Lzma; ``` ### Rar Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/rar.md #### CompressionFileType.Rar field Files with .rar extension are archive files that are created for storing information in compressed or normal form. RAR, which stands for Roshal ARchive file format. Learn more about this file format [here](https://docs.fileformat.com/compression/rar/). ```csharp public static readonly CompressionFileType Rar; ``` ### SevenZ Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/sevenz.md #### CompressionFileType.SevenZ field 7z is an archiving format for compressing files and folders with a high compression ratio. It is based on Open Source architecture which makes it possible to use any compression and encryption algorithms. Learn more about this file format [here](https://docs.fileformat.com/compression/7z/). ```csharp public static readonly CompressionFileType SevenZ; ``` ### Tar Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/tar.md #### CompressionFileType.Tar field Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Multiple files are stored in an uncompressed format with the support of adding files as well as folders to the archive. Learn more about this file format [here](https://docs.fileformat.com/compression/tar/). ```csharp public static readonly CompressionFileType Tar; ``` ### Uue Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/uue.md #### CompressionFileType.Uue field A uuencoded archive is a file or collection of files that have been encoded using the Unix-to-Unix encoding scheme (uuencode). This encoding method converts binary data into a text format, which makes it easier to send files over channels that only support text, such as email. ```csharp public static readonly CompressionFileType Uue; ``` ### Xz Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/xz.md #### CompressionFileType.Xz field XZ is a compressed file format that utilizes the LZMA2 compression algorithm. It was designed as a replacement for the popular gzip and bzip2 formats, and offers a number of advantages over these older standards. Learn more about this file format [here](https://docs.fileformat.com/compression/xz/). ```csharp public static readonly CompressionFileType Xz; ``` ### Z Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/z.md #### CompressionFileType.Z field A Z file is a category of files belonging to the UNIX Compressed data files. Compressed Unix files are the most popular and widely used extension type of the Z file. Learn more about this file format [here](https://docs.fileformat.com/compression/z/). ```csharp public static readonly CompressionFileType Z; ``` ### Zip Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/zip.md #### CompressionFileType.Zip field A file with .zip extension is an archive that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size. Learn more about this file format [here](https://docs.fileformat.com/compression/zip/). ```csharp public static readonly CompressionFileType Zip; ``` ### Zst Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/compressionfiletype/zst.md #### CompressionFileType.Zst field A ZST file is a compressed file that is generated with the Zstandard (zstd) compression algorithm. It is a compressed file that is created with lossless compression by the algorithm. Learn more about this file format [here](https://docs.fileformat.com/compression/zst/). ```csharp public static readonly CompressionFileType Zst; ``` ### DatabaseFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/databasefiletype.md #### DatabaseFileType class Defines database documents. Includes the following file types: `Nsf``Log``Sql` ```csharp public sealed class DatabaseFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | DatabaseFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Log | A file with .log extension contains the list of plain text with timestamp. Usually, certain activity detail is logged by the softwares or operating systems to help the developers or users to track what was happening at a certain time period. Learn more about this file format [here](https://docs.fileformat.com/database/log). | | static readonly Nsf | A file with .nsf (Notes Storage Facility) extension is a database file format used by the IBM Notes software, which was previously known as Lotus Notes. It defines the schema to store different kind of objects such like emails, appointments, documents, forms and views. Learn more about this file format [here](https://docs.fileformat.com/database/nsf). | | static readonly Sql | A file with .sql extension is a Structured Query Language (SQL) file that contains code to work with relational databases. It is used to write SQL statements for CRUD (Create, Read, Update, and Delete) operations on databases. Learn more about this file format [here](https://docs.fileformat.com/database/sql). | ### DatabaseFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/databasefiletype/databasefiletype.md #### DatabaseFileType constructor Serialization constructor ```csharp public DatabaseFileType() ``` ### Log Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/databasefiletype/log.md #### DatabaseFileType.Log field A file with .log extension contains the list of plain text with timestamp. Usually, certain activity detail is logged by the softwares or operating systems to help the developers or users to track what was happening at a certain time period. Learn more about this file format [here](https://docs.fileformat.com/database/log). ```csharp public static readonly DatabaseFileType Log; ``` ### Nsf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/databasefiletype/nsf.md #### DatabaseFileType.Nsf field A file with .nsf (Notes Storage Facility) extension is a database file format used by the IBM Notes software, which was previously known as Lotus Notes. It defines the schema to store different kind of objects such like emails, appointments, documents, forms and views. Learn more about this file format [here](https://docs.fileformat.com/database/nsf). ```csharp public static readonly DatabaseFileType Nsf; ``` ### Sql Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/databasefiletype/sql.md #### DatabaseFileType.Sql field A file with .sql extension is a Structured Query Language (SQL) file that contains code to work with relational databases. It is used to write SQL statements for CRUD (Create, Read, Update, and Delete) operations on databases. Learn more about this file format [here](https://docs.fileformat.com/database/sql). ```csharp public static readonly DatabaseFileType Sql; ``` ### DiagramFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype.md #### DiagramFileType class Defines Diagram documents. Includes the following types: `Vdw`, `Vdx`, `Vsd`, `Vsdm`, `Vsdx`, `Vss`, `Vssm`, `Vssx`, `Vst`, `Vstm`, `Vstx`, `Vsx`, `Vtx`. ```csharp public sealed class DiagramFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | DiagramFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Vdw | VDW is the Visio Graphics Service file format that specifies the streams and storages required for rendering a Web drawing. Learn more about this file format [here](https://wiki.fileformat.com/web/vdw). | | static readonly Vdx | Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/image/vdx). | | static readonly Vsd | VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here](https://wiki.fileformat.com/image/vsd). | | static readonly Vsdm | Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here](https://wiki.fileformat.com/image/vsdm). | | static readonly Vsdx | Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here](https://wiki.fileformat.com/image/vsdx). | | static readonly Vss | VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here](https://wiki.fileformat.com/image/vss). | | static readonly Vssm | Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here](https://wiki.fileformat.com/image/vssm). | | static readonly Vssx | Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here](https://wiki.fileformat.com/image/vssx). | | static readonly Vst | Files with VST extension are vector image files created with Microsoft Visio and act as template for creating further files. These template files are in binary file format and contain the default layout and settings that are utilized for creation of new Visio drawings. Learn more about this file format [here](https://wiki.fileformat.com/image/vst). | | static readonly Vstm | Files with VSTM extension are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here](https://wiki.fileformat.com/image/vstm). | | static readonly Vstx | Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here](https://wiki.fileformat.com/image/vstx). | | static readonly Vsx | Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here](https://wiki.fileformat.com/image/vsx). | | static readonly Vtx | A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here](https://wiki.fileformat.com/image/vtx). | ### DiagramFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/diagramfiletype.md #### DiagramFileType constructor Serialization constructor ```csharp public DiagramFileType() ``` ### Vdw Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vdw.md #### DiagramFileType.Vdw field VDW is the Visio Graphics Service file format that specifies the streams and storages required for rendering a Web drawing. Learn more about this file format [here](https://wiki.fileformat.com/web/vdw). ```csharp public static readonly DiagramFileType Vdw; ``` ### Vdx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vdx.md #### DiagramFileType.Vdx field Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/image/vdx). ```csharp public static readonly DiagramFileType Vdx; ``` ### Vsd Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vsd.md #### DiagramFileType.Vsd field VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here](https://wiki.fileformat.com/image/vsd). ```csharp public static readonly DiagramFileType Vsd; ``` ### Vsdm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vsdm.md #### DiagramFileType.Vsdm field Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here](https://wiki.fileformat.com/image/vsdm). ```csharp public static readonly DiagramFileType Vsdm; ``` ### Vsdx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vsdx.md #### DiagramFileType.Vsdx field Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here](https://wiki.fileformat.com/image/vsdx). ```csharp public static readonly DiagramFileType Vsdx; ``` ### Vss Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vss.md #### DiagramFileType.Vss field VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here](https://wiki.fileformat.com/image/vss). ```csharp public static readonly DiagramFileType Vss; ``` ### Vssm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vssm.md #### DiagramFileType.Vssm field Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here](https://wiki.fileformat.com/image/vssm). ```csharp public static readonly DiagramFileType Vssm; ``` ### Vssx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vssx.md #### DiagramFileType.Vssx field Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here](https://wiki.fileformat.com/image/vssx). ```csharp public static readonly DiagramFileType Vssx; ``` ### Vst Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vst.md #### DiagramFileType.Vst field Files with VST extension are vector image files created with Microsoft Visio and act as template for creating further files. These template files are in binary file format and contain the default layout and settings that are utilized for creation of new Visio drawings. Learn more about this file format [here](https://wiki.fileformat.com/image/vst). ```csharp public static readonly DiagramFileType Vst; ``` ### Vstm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vstm.md #### DiagramFileType.Vstm field Files with VSTM extension are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here](https://wiki.fileformat.com/image/vstm). ```csharp public static readonly DiagramFileType Vstm; ``` ### Vstx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vstx.md #### DiagramFileType.Vstx field Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here](https://wiki.fileformat.com/image/vstx). ```csharp public static readonly DiagramFileType Vstx; ``` ### Vsx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vsx.md #### DiagramFileType.Vsx field Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here](https://wiki.fileformat.com/image/vsx). ```csharp public static readonly DiagramFileType Vsx; ``` ### Vtx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/diagramfiletype/vtx.md #### DiagramFileType.Vtx field A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here](https://wiki.fileformat.com/image/vtx). ```csharp public static readonly DiagramFileType Vtx; ``` ### EBookFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/ebookfiletype.md #### EBookFileType class Defines EBook documents. Includes the following file types: `Epub``Mobi``Azw3` ```csharp public sealed class EBookFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | EBookFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Azw3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files and is used on Kindle Fire devices only with backward compatibility for the ancestor file format i.e. MOBI and AZW. Learn more about this file format [here](https://docs.fileformat.com/ebook/azw3/). | | static readonly Epub | EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub). | | static readonly Mobi | The MOBI file format is one of the most widely used ebook file format. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as proprietary format for Mobipocket Reader. Learn more about this file format [here](https://wiki.fileformat.com/ebook/mobi). | ### Azw3 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/ebookfiletype/azw3.md #### EBookFileType.Azw3 field AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files and is used on Kindle Fire devices only with backward compatibility for the ancestor file format i.e. MOBI and AZW. Learn more about this file format [here](https://docs.fileformat.com/ebook/azw3/). ```csharp public static readonly EBookFileType Azw3; ``` ### EBookFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/ebookfiletype/ebookfiletype.md #### EBookFileType constructor Serialization constructor ```csharp public EBookFileType() ``` ### Epub Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/ebookfiletype/epub.md #### EBookFileType.Epub field EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub). ```csharp public static readonly EBookFileType Epub; ``` ### Mobi Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/ebookfiletype/mobi.md #### EBookFileType.Mobi field The MOBI file format is one of the most widely used ebook file format. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as proprietary format for Mobipocket Reader. Learn more about this file format [here](https://wiki.fileformat.com/ebook/mobi). ```csharp public static readonly EBookFileType Mobi; ``` ### EmailFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype.md #### EmailFileType class Defines Email file formats that are used by email applications to store their various data including email messages, attachments, folders, address books etc. Includes the following file types: `Eml`, `Emlx`, `Msg`, `Vcf`. `Mbox`. `Pst`. `Ost`. `Olm`. Learn more about Email formats [here](https://wiki.fileformat.com/email). ```csharp public sealed class EmailFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | EmailFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Eml | EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format [here](https://wiki.fileformat.com/email/eml). | | static readonly Emlx | The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here](https://wiki.fileformat.com/email/emlx). | | static readonly Ics | ICS (iCalendar) file format is used to represent and exchange calendaring and scheduling information such as events, to-dos, and free/busy data. Learn more about this file format [here](https://wiki.fileformat.com/email/ics). | | static readonly Mbox | MBox file format is a generic term that represents a container for collection of electronic mail messages. The messages are stored inside the container along with their attachments. Learn more about this file format [here](https://docs.fileformat.com/email/mbox/). | | static readonly Msg | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://wiki.fileformat.com/email/msg). | | static readonly Olm | A file with .olm extension is a Microsoft Outlook file for Mac Operating System. An OLM file stores email messages, journals, calendar data, and other types of application data. These are similar to PST files used by Outlook on Windows Operating System. However, OLM files created by Outlook for Mac can’t be opened in Outlook for Windows. Learn more about this file format [here](https://wiki.fileformat.com/email/olm). | | static readonly Ost | OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here](https://wiki.fileformat.com/email/ost). | | static readonly Pst | Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here](https://wiki.fileformat.com/email/pst). | | static readonly Vcf | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here](https://wiki.fileformat.com/email/vcf). | ### EmailFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/emailfiletype.md #### EmailFileType constructor Serialization constructor ```csharp public EmailFileType() ``` ### Eml Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/eml.md #### EmailFileType.Eml field EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format [here](https://wiki.fileformat.com/email/eml). ```csharp public static readonly EmailFileType Eml; ``` ### Emlx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/emlx.md #### EmailFileType.Emlx field The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here](https://wiki.fileformat.com/email/emlx). ```csharp public static readonly EmailFileType Emlx; ``` ### Ics Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/ics.md #### EmailFileType.Ics field ICS (iCalendar) file format is used to represent and exchange calendaring and scheduling information such as events, to-dos, and free/busy data. Learn more about this file format [here](https://wiki.fileformat.com/email/ics). ```csharp public static readonly EmailFileType Ics; ``` ### Mbox Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/mbox.md #### EmailFileType.Mbox field MBox file format is a generic term that represents a container for collection of electronic mail messages. The messages are stored inside the container along with their attachments. Learn more about this file format [here](https://docs.fileformat.com/email/mbox/). ```csharp public static readonly EmailFileType Mbox; ``` ### Msg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/msg.md #### EmailFileType.Msg field MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://wiki.fileformat.com/email/msg). ```csharp public static readonly EmailFileType Msg; ``` ### Olm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/olm.md #### EmailFileType.Olm field A file with .olm extension is a Microsoft Outlook file for Mac Operating System. An OLM file stores email messages, journals, calendar data, and other types of application data. These are similar to PST files used by Outlook on Windows Operating System. However, OLM files created by Outlook for Mac can’t be opened in Outlook for Windows. Learn more about this file format [here](https://wiki.fileformat.com/email/olm). ```csharp public static readonly EmailFileType Olm; ``` ### Ost Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/ost.md #### EmailFileType.Ost field OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here](https://wiki.fileformat.com/email/ost). ```csharp public static readonly EmailFileType Ost; ``` ### Pst Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/pst.md #### EmailFileType.Pst field Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here](https://wiki.fileformat.com/email/pst). ```csharp public static readonly EmailFileType Pst; ``` ### Vcf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/emailfiletype/vcf.md #### EmailFileType.Vcf field VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here](https://wiki.fileformat.com/email/vcf). ```csharp public static readonly EmailFileType Vcf; ``` ### FileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype.md #### FileType class File type base class ```csharp public class FileType : Enumeration ``` #### Constructors | Name | Description | | --- | --- | | FileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Gets FileType for provided fileExtension | | static FromFilename(string) | Returns FileType for specified fileName | | static FromStream(Stream) | Returns FileType for provided document stream | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | | static GetAll<T>() | Returns all enumeration values. | | implicit operator | Implicit conversion to string | #### Fields | Name | Description | | --- | --- | | static readonly Unknown | Unknown file type | ### Description Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/description.md #### FileType.Description property File type description ```csharp public string Description { get; } ``` ##### Return Value Description of the file type ### Equals Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/equals.md #### FileType.Equals method Implements `Equals` ```csharp public override bool Equals(Enumeration other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Enumeration | The object with which to compare | ### Extension Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/extension.md #### FileType.Extension property The file extension ```csharp public string Extension { get; } ``` ### Family Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/family.md #### FileType.Family property The file family ```csharp public string Family { get; } ``` ### FileFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/fileformat.md #### FileType.FileFormat property The file format ```csharp public string FileFormat { get; } ``` ### FileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/filetype.md #### FileType constructor Serialization constructor ```csharp public FileType() ``` ### FromExtension Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/fromextension.md #### FileType.FromExtension method Gets FileType for provided fileExtension ```csharp public static FileType FromExtension(string fileExtension) ``` | Parameter | Type | Description | | --- | --- | --- | | fileExtension | String | File extension | ##### Return Value File type ### FromFilename Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/fromfilename.md #### FileType.FromFilename method Returns FileType for specified fileName ```csharp public static FileType FromFilename(string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String | The file name | ##### Return Value The file type of specified file name ### FromStream Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/fromstream.md #### FileType.FromStream method Returns FileType for provided document stream ```csharp public static FileType FromStream(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | Stream which will be probed | ##### Return Value The file type of provided stream ### GetAll Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/getall.md #### FileType.GetAll<T> method Returns all enumeration values. ```csharp public static IEnumerable GetAll() where T : FileType ``` | Parameter | Description | | --- | --- | | T | Enumerated object type. | ##### Return Value Enumerable of file types ### op_Implicit Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/op_implicit.md #### FileType Implicit operator Implicit conversion to string ```csharp public static implicit operator string(FileType type) ``` | Parameter | Type | Description | | --- | --- | --- | | type | FileType | File type | ### ToString Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/tostring.md #### FileType.ToString method String representation ```csharp public override string ToString() ``` ##### Return Value String representation of file type ### Unknown Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/filetype/unknown.md #### FileType.Unknown field Unknown file type ```csharp public static readonly FileType Unknown; ``` ### FinanceFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/financefiletype.md #### FinanceFileType class Defines Finance documents Includes the following types: `Xbrl``IXbrl``Ofx` Learn more about Finance formats [here](https://docs.fileformat.com/finance/). ```csharp public sealed class FinanceFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | FinanceFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly IXbrl | Inside the iXBRL, contents of XBRL are wrapped in xHTML file format that uses XML tags. Like XBRL, is the root element of iXBRL files. The XHTML format represents its contents as collection of different document types and modules. All the files in XHTML are based on XML file format and conform to the XML document standards. Learn more about this file format [here](https://docs.fileformat.com/finance/ixbrl/). | | static readonly Ofx | Open Financial Exchange (OFX) is a data-stream format for exchanging financial information that evolved from Microsoft's Open Financial Connectivity (OFC) and Intuit's Open Exchange file formats. Learn more about this file format [here](https://en.wikipedia.org/wiki/Open_Financial_Exchange). | | static readonly Xbrl | XBRL is an open international standard for digital business reporting that is widely used globally. It is an XML based language that uses XBRL elements, known as tags, to describe each item of business data to formulate data for report sorting and analysis. Learn more about this file format [here](https://docs.fileformat.com/finance/xbrl/). | ### FinanceFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/financefiletype/financefiletype.md #### FinanceFileType constructor Serialization constructor ```csharp public FinanceFileType() ``` ### IXbrl Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/financefiletype/ixbrl.md #### FinanceFileType.IXbrl field Inside the iXBRL, contents of XBRL are wrapped in xHTML file format that uses XML tags. Like XBRL, is the root element of iXBRL files. The XHTML format represents its contents as collection of different document types and modules. All the files in XHTML are based on XML file format and conform to the XML document standards. Learn more about this file format [here](https://docs.fileformat.com/finance/ixbrl/). ```csharp public static readonly FinanceFileType IXbrl; ``` ### Ofx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/financefiletype/ofx.md #### FinanceFileType.Ofx field Open Financial Exchange (OFX) is a data-stream format for exchanging financial information that evolved from Microsoft's Open Financial Connectivity (OFC) and Intuit's Open Exchange file formats. Learn more about this file format [here](https://en.wikipedia.org/wiki/Open_Financial_Exchange). ```csharp public static readonly FinanceFileType Ofx; ``` ### Xbrl Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/financefiletype/xbrl.md #### FinanceFileType.Xbrl field XBRL is an open international standard for digital business reporting that is widely used globally. It is an XML based language that uses XBRL elements, known as tags, to describe each item of business data to formulate data for report sorting and analysis. Learn more about this file format [here](https://docs.fileformat.com/finance/xbrl/). ```csharp public static readonly FinanceFileType Xbrl; ``` ### FontFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype.md #### FontFileType class Defines Font documents Includes the following types: `Ttf``Eot``Otf``Cff``Type1``Woff``Woff2` Learn more about Font formats [here](https://docs.fileformat.com/font/). ```csharp public sealed class FontFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | FontFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Cff | A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. CFF acts as a container to store multiple fonts together in a single unit known as a FontSet. Learn more about this file format [here](https://docs.fileformat.com/font/cff/). | | static readonly Eot | A file with .eot extension is an OpenType font that is embedded in a document. These are mostly used in web files such as a Web page. It was created by Microsoft and is supported by Microsoft Products including PowerPoint presentation .pps file. Learn more about this file format [here](https://docs.fileformat.com/font/eot/). | | static readonly Otf | A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Developed by Microsoft and Adobe, OTF combines the features of PostScript and TrueType font formats. Learn more about this file format [here](https://docs.fileformat.com/font/otf/). | | static readonly Ttf | A file with .ttf extension represents font files based on the TrueType specifications font technology. It was initially designed and launched by Apple Computer, Inc for Mac OS and was later adopted by Microsoft for Windows OS. Learn more about this file format [here](https://docs.fileformat.com/font/ttf/). | | static readonly Type1 | Type 1 fonts is a deprecated Adobe technology which was widely used in the desktop based publishing software and printers that could use PostScript. Although Type 1 fonts are not supported in many modern platforms, web browsers and mobile operating systems, but these are still supported in some of the operating systems. Learn more about this file format [here](https://docs.fileformat.com/font/type1/). | | static readonly Woff | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format [here](https://docs.fileformat.com/font/woff/). | | static readonly Woff2 | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format [here](https://docs.fileformat.com/font/woff/). | ### Cff Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/cff.md #### FontFileType.Cff field A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. CFF acts as a container to store multiple fonts together in a single unit known as a FontSet. Learn more about this file format [here](https://docs.fileformat.com/font/cff/). ```csharp public static readonly FontFileType Cff; ``` ### Eot Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/eot.md #### FontFileType.Eot field A file with .eot extension is an OpenType font that is embedded in a document. These are mostly used in web files such as a Web page. It was created by Microsoft and is supported by Microsoft Products including PowerPoint presentation .pps file. Learn more about this file format [here](https://docs.fileformat.com/font/eot/). ```csharp public static readonly FontFileType Eot; ``` ### FontFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/fontfiletype.md #### FontFileType constructor Serialization constructor ```csharp public FontFileType() ``` ### Otf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/otf.md #### FontFileType.Otf field A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Developed by Microsoft and Adobe, OTF combines the features of PostScript and TrueType font formats. Learn more about this file format [here](https://docs.fileformat.com/font/otf/). ```csharp public static readonly FontFileType Otf; ``` ### Ttf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/ttf.md #### FontFileType.Ttf field A file with .ttf extension represents font files based on the TrueType specifications font technology. It was initially designed and launched by Apple Computer, Inc for Mac OS and was later adopted by Microsoft for Windows OS. Learn more about this file format [here](https://docs.fileformat.com/font/ttf/). ```csharp public static readonly FontFileType Ttf; ``` ### Type1 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/type1.md #### FontFileType.Type1 field Type 1 fonts is a deprecated Adobe technology which was widely used in the desktop based publishing software and printers that could use PostScript. Although Type 1 fonts are not supported in many modern platforms, web browsers and mobile operating systems, but these are still supported in some of the operating systems. Learn more about this file format [here](https://docs.fileformat.com/font/type1/). ```csharp public static readonly FontFileType Type1; ``` ### Woff Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/woff.md #### FontFileType.Woff field A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format [here](https://docs.fileformat.com/font/woff/). ```csharp public static readonly FontFileType Woff; ``` ### Woff2 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/fontfiletype/woff2.md #### FontFileType.Woff2 field A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format [here](https://docs.fileformat.com/font/woff/). ```csharp public static readonly FontFileType Woff2; ``` ### GisFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype.md #### GisFileType class Defines GIS documents. Includes the following file types: `Shp`. `GeoJson`. `Gdb`. `Gml`. `Kml`. `Gpx`. `TopoJson`. `Osm`. ```csharp public sealed class GisFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | GisFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Gdb | ESRI file Geodatabase (FileGDB) is a collection of files in a folder on disc that hold related geospatial data such as feature datasets, feature classes and associated tables. It requires certain other files to be kept alongside the .gdb file in the same directory for it to work. Learn more about this file format [here](https://docs.fileformat.com/database/gdb/). | | static readonly GeoJson | GeoJSON is a JSON based format designed to represent the geographical features with their non-spatial attributes. This format defines different JSON (JavaScript Object Notation) objects and their joining fashion. JSON format represents a collective information about the Geographical features, their spatial extents, and properties. Learn more about this file format [here](https://docs.fileformat.com/gis/geojson/). | | static readonly Gml | GML stands for Geography Markup Language that is based on XML specifications developed by the Open Geospatial Consortium (OGC). The format is used to store geographic data features for interchange among different file formats. It serves as a modeling language for geographic systems as well as an open interchange format for geographic transactions on the internet. Learn more about this file format [here](https://docs.fileformat.com/gis/gml/). | | static readonly Gpx | Files with GPX extension represent GPS Exchange format for interchange of GPS data between applications and web services on the internet. It is a light-weight XML file format that contains GPS data i.e. waypoints, routes and tracks to be imported and red by multiple programs. Learn more about this file format [here](https://docs.fileformat.com/gis/gpx/). | | static readonly Kml | KML (Keyhole Markup Language) contains geospatial information in XML notation. Files saved as KML can be opened in Geographic Information System (GIS) applications provided they support it. Many applications have started providing support for KML file format after it has been adopted as international standard. KML uses a tag-based structure with nested elements and attributes. Learn more about this file format [here](https://docs.fileformat.com/gis/kml/). | | static readonly Osm | The OSM file format is a structured data format used to store geographical data in the OpenStreetMap project. OSM files are typically in XML format and contain information such as the location of roads, buildings, points of interest, and other features on the map. Learn more about this file format [here](https://docs.fileformat.com/gis/osm/). | | static readonly Shp | SHP is the file extension for one of the primary file types used for representation of ESRI Shapefile. It represents Geospatial information in the form of vector data to be used by Geographic Information Systems (GIS) applications. Learn more about this file format [here](https://docs.fileformat.com/gis/shp/). | | static readonly TopoJson | TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. | ### Gdb Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/gdb.md #### GisFileType.Gdb field ESRI file Geodatabase (FileGDB) is a collection of files in a folder on disc that hold related geospatial data such as feature datasets, feature classes and associated tables. It requires certain other files to be kept alongside the .gdb file in the same directory for it to work. Learn more about this file format [here](https://docs.fileformat.com/database/gdb/). ```csharp public static readonly GisFileType Gdb; ``` ### GeoJson Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/geojson.md #### GisFileType.GeoJson field GeoJSON is a JSON based format designed to represent the geographical features with their non-spatial attributes. This format defines different JSON (JavaScript Object Notation) objects and their joining fashion. JSON format represents a collective information about the Geographical features, their spatial extents, and properties. Learn more about this file format [here](https://docs.fileformat.com/gis/geojson/). ```csharp public static readonly GisFileType GeoJson; ``` ### GisFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/gisfiletype.md #### GisFileType constructor Serialization constructor ```csharp public GisFileType() ``` ### Gml Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/gml.md #### GisFileType.Gml field GML stands for Geography Markup Language that is based on XML specifications developed by the Open Geospatial Consortium (OGC). The format is used to store geographic data features for interchange among different file formats. It serves as a modeling language for geographic systems as well as an open interchange format for geographic transactions on the internet. Learn more about this file format [here](https://docs.fileformat.com/gis/gml/). ```csharp public static readonly GisFileType Gml; ``` ### Gpx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/gpx.md #### GisFileType.Gpx field Files with GPX extension represent GPS Exchange format for interchange of GPS data between applications and web services on the internet. It is a light-weight XML file format that contains GPS data i.e. waypoints, routes and tracks to be imported and red by multiple programs. Learn more about this file format [here](https://docs.fileformat.com/gis/gpx/). ```csharp public static readonly GisFileType Gpx; ``` ### Kml Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/kml.md #### GisFileType.Kml field KML (Keyhole Markup Language) contains geospatial information in XML notation. Files saved as KML can be opened in Geographic Information System (GIS) applications provided they support it. Many applications have started providing support for KML file format after it has been adopted as international standard. KML uses a tag-based structure with nested elements and attributes. Learn more about this file format [here](https://docs.fileformat.com/gis/kml/). ```csharp public static readonly GisFileType Kml; ``` ### Osm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/osm.md #### GisFileType.Osm field The OSM file format is a structured data format used to store geographical data in the OpenStreetMap project. OSM files are typically in XML format and contain information such as the location of roads, buildings, points of interest, and other features on the map. Learn more about this file format [here](https://docs.fileformat.com/gis/osm/). ```csharp public static readonly GisFileType Osm; ``` ### Shp Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/shp.md #### GisFileType.Shp field SHP is the file extension for one of the primary file types used for representation of ESRI Shapefile. It represents Geospatial information in the form of vector data to be used by Geographic Information Systems (GIS) applications. Learn more about this file format [here](https://docs.fileformat.com/gis/shp/). ```csharp public static readonly GisFileType Shp; ``` ### TopoJson Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/gisfiletype/topojson.md #### GisFileType.TopoJson field TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. ```csharp public static readonly GisFileType TopoJson; ``` ### ImageFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype.md #### ImageFileType class Defines image documents. Includes the following file types: `Ai`, `Avif`, `Bmp`, `Cdr`, `Cmx`, `Dcm`, `Dib`, `DjVu`, `Dng`, `Emf`, `Emz`, `Gif`, `Heic``Ico`, `J2c`, `J2k`, `Jls`, `Jp2`, `Jpc`, `Jfif`. `Jpeg`, `Jpf`, `Jpg`, `Jpm`, `Jpx`, `Odg`, `Png`, `Psd`, `Tif`, `Tiff`, `Webp`, `Wmf`. `Wmz`. Learn more about Image formats [here](https://wiki.fileformat.com/image). ```csharp public sealed class ImageFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | ImageFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | | IsRaster { get; } | Defines if the image is raster | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Ai | AI, Adobe Illustrator Artwork, represents single-page vector-based drawings in either the EPS or PDF formats. | | static readonly Avif | AVIF (AV1 Image File Format) is an image file format that stores images compressed with AV1 in HEIF file format. AVIF files are stored with the .avif extension. Version 1 of the AVIF was finalized in February 2019. It has features like High Dynamic Range (HDR), support for 8, 10, and 12 color depth, support for any color space(ISO/IEC CICP and ICC profiles, wide color gamut), etc. Learn more about this file format [here](https://docs.fileformat.com/image/avif/). | | static readonly Bmp | BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp). | | static readonly Cdr | A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. Learn more about this file format [here](https://wiki.fileformat.com/image/cdr). | | static readonly Cmx | Files with CMX extension are Corel Exchange image file format that is used as presentation by CorelSuite applications. Learn more about this file format [here](https://wiki.fileformat.com/image/cmx). | | static readonly Dcm | Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here](https://wiki.fileformat.com/image/dcm). | | static readonly Dib | DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format [here](https://wiki.fileformat.com/image/dib). | | static readonly Dicom | Files with .DICOM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here](https://wiki.fileformat.com/image/dicom). | | static readonly DjVu | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu). | | static readonly Dng | DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. Learn more about this file format [here](https://wiki.fileformat.com/image/dng). | | static readonly Emf | Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format [here](https://wiki.fileformat.com/image/emf). | | static readonly Emz | An EMZ file is actually a compressed version of a Microsoft EMF file. This allows for easier distribution of the file online. When an EMF file is compressed using the .GZIP compression algorithm, it is then given the .emz file extension. | | static readonly Fodg | FODG is a uncompressed XML-format file used for storing OpenDocument text data. FODG extension is associated with open source office productivity suites Libre Office and OpenOffice.org. | | static readonly Gif | A GIF or Graphical Interchange Format is a type of highly compressed image. For each image GIF typically allow up to 8 bits per pixel and up to 256 colours are allowed across the image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif). | | static readonly Heic | An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. The format was adopted by Apple as variant of the HEIF with the launch of iOS 11. Learn more about this file format [here](https://docs.fileformat.com/image/heic/). | | static readonly Ico | Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format [here](https://wiki.fileformat.com/image/ico). | | static readonly J2c | J2c document format | | static readonly J2k | J2K file is an image that is compressed using the wavelet compression instead of DCT compression. Learn more about this file format [here](https://wiki.fileformat.com/image/j2k). | | static readonly Jfif | JFIF (JPEG File Interchange Format (JFIF)) is an image format file that uses the .jfif extension. JFIF builds over JIF (JPEG Interchange Format) by reducing complexity and solving its limitations. Learn more about this file format [here](https://docs.fileformat.com/image/jfif/). | | static readonly Jls | Jls document format | | static readonly Jp2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2). | | static readonly Jpc | Jpc document format | | static readonly Jpeg | A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg). | | static readonly Jpf | Jpf document format | | static readonly Jpg | A JPG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg). | | static readonly Jpm | Jpm document format | | static readonly Jpx | Jpx document format | | static readonly Odg | The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format [here](https://wiki.fileformat.com/image/odg). | | static readonly Otg | An OTG file is a drawing template that is created using the OpenDocument standard that follows the OASIS Office Applications 1.0 specification. Learn more about this file format [here](https://wiki.fileformat.com/image/otg). | | static readonly Png | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations. Learn more about this file format [here](https://wiki.fileformat.com/image/png). | | static readonly Psb | Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as “Photoshop Big”. Learn more about this file format [here](https://docs.fileformat.com/image/psb). | | static readonly Psd | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here](https://wiki.fileformat.com/image/psd). | | static readonly Tga | A file with .tga extension is a raster graphic format and was created by Truevision Inc. Learn more about this file format [here](https://docs.fileformat.com/image/tga). | | static readonly Tif | TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff). | | static readonly Tiff | TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff). | | static readonly Webp | WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp). | | static readonly Wmf | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf). | | static readonly Wmz | An WMZ file is actually a compressed version of a Microsoft WMF file. This allows for easier distribution of the file online. When an EWMFMF file is compressed using the .GZIP compression algorithm, it is then given the .wmz file extension. | ### Ai Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/ai.md #### ImageFileType.Ai field AI, Adobe Illustrator Artwork, represents single-page vector-based drawings in either the EPS or PDF formats. ```csharp public static readonly ImageFileType Ai; ``` ### Avif Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/avif.md #### ImageFileType.Avif field AVIF (AV1 Image File Format) is an image file format that stores images compressed with AV1 in HEIF file format. AVIF files are stored with the .avif extension. Version 1 of the AVIF was finalized in February 2019. It has features like High Dynamic Range (HDR), support for 8, 10, and 12 color depth, support for any color space(ISO/IEC CICP and ICC profiles, wide color gamut), etc. Learn more about this file format [here](https://docs.fileformat.com/image/avif/). ```csharp public static readonly ImageFileType Avif; ``` ### Bmp Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/bmp.md #### ImageFileType.Bmp field BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp). ```csharp public static readonly ImageFileType Bmp; ``` ### Cdr Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/cdr.md #### ImageFileType.Cdr field A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. Learn more about this file format [here](https://wiki.fileformat.com/image/cdr). ```csharp public static readonly ImageFileType Cdr; ``` ### Cmx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/cmx.md #### ImageFileType.Cmx field Files with CMX extension are Corel Exchange image file format that is used as presentation by CorelSuite applications. Learn more about this file format [here](https://wiki.fileformat.com/image/cmx). ```csharp public static readonly ImageFileType Cmx; ``` ### Dcm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/dcm.md #### ImageFileType.Dcm field Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here](https://wiki.fileformat.com/image/dcm). ```csharp public static readonly ImageFileType Dcm; ``` ### Dib Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/dib.md #### ImageFileType.Dib field DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format [here](https://wiki.fileformat.com/image/dib). ```csharp public static readonly ImageFileType Dib; ``` ### Dicom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/dicom.md #### ImageFileType.Dicom field Files with .DICOM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here](https://wiki.fileformat.com/image/dicom). ```csharp public static readonly ImageFileType Dicom; ``` ### DjVu Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/djvu.md #### ImageFileType.DjVu field DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu). ```csharp public static readonly ImageFileType DjVu; ``` ### Dng Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/dng.md #### ImageFileType.Dng field DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. Learn more about this file format [here](https://wiki.fileformat.com/image/dng). ```csharp public static readonly ImageFileType Dng; ``` ### Emf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/emf.md #### ImageFileType.Emf field Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format [here](https://wiki.fileformat.com/image/emf). ```csharp public static readonly ImageFileType Emf; ``` ### Emz Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/emz.md #### ImageFileType.Emz field An EMZ file is actually a compressed version of a Microsoft EMF file. This allows for easier distribution of the file online. When an EMF file is compressed using the .GZIP compression algorithm, it is then given the .emz file extension. ```csharp public static readonly ImageFileType Emz; ``` ### Fodg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/fodg.md #### ImageFileType.Fodg field FODG is a uncompressed XML-format file used for storing OpenDocument text data. FODG extension is associated with open source office productivity suites Libre Office and OpenOffice.org. ```csharp public static readonly ImageFileType Fodg; ``` ### Gif Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/gif.md #### ImageFileType.Gif field A GIF or Graphical Interchange Format is a type of highly compressed image. For each image GIF typically allow up to 8 bits per pixel and up to 256 colours are allowed across the image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif). ```csharp public static readonly ImageFileType Gif; ``` ### Heic Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/heic.md #### ImageFileType.Heic field An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. The format was adopted by Apple as variant of the HEIF with the launch of iOS 11. Learn more about this file format [here](https://docs.fileformat.com/image/heic/). ```csharp public static readonly ImageFileType Heic; ``` ### Ico Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/ico.md #### ImageFileType.Ico field Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format [here](https://wiki.fileformat.com/image/ico). ```csharp public static readonly ImageFileType Ico; ``` ### ImageFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/imagefiletype.md #### ImageFileType constructor Serialization constructor ```csharp public ImageFileType() ``` ### IsRaster Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/israster.md #### ImageFileType.IsRaster property Defines if the image is raster ```csharp public bool IsRaster { get; } ``` ### J2c Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/j2c.md #### ImageFileType.J2c field J2c document format ```csharp public static readonly ImageFileType J2c; ``` ### J2k Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/j2k.md #### ImageFileType.J2k field J2K file is an image that is compressed using the wavelet compression instead of DCT compression. Learn more about this file format [here](https://wiki.fileformat.com/image/j2k). ```csharp public static readonly ImageFileType J2k; ``` ### Jfif Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jfif.md #### ImageFileType.Jfif field JFIF (JPEG File Interchange Format (JFIF)) is an image format file that uses the .jfif extension. JFIF builds over JIF (JPEG Interchange Format) by reducing complexity and solving its limitations. Learn more about this file format [here](https://docs.fileformat.com/image/jfif/). ```csharp public static readonly ImageFileType Jfif; ``` ### Jls Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jls.md #### ImageFileType.Jls field Jls document format ```csharp public static readonly ImageFileType Jls; ``` ### Jp2 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jp2.md #### ImageFileType.Jp2 field JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2). ```csharp public static readonly ImageFileType Jp2; ``` ### Jpc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jpc.md #### ImageFileType.Jpc field Jpc document format ```csharp public static readonly ImageFileType Jpc; ``` ### Jpeg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jpeg.md #### ImageFileType.Jpeg field A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg). ```csharp public static readonly ImageFileType Jpeg; ``` ### Jpf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jpf.md #### ImageFileType.Jpf field Jpf document format ```csharp public static readonly ImageFileType Jpf; ``` ### Jpg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jpg.md #### ImageFileType.Jpg field A JPG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg). ```csharp public static readonly ImageFileType Jpg; ``` ### Jpm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jpm.md #### ImageFileType.Jpm field Jpm document format ```csharp public static readonly ImageFileType Jpm; ``` ### Jpx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/jpx.md #### ImageFileType.Jpx field Jpx document format ```csharp public static readonly ImageFileType Jpx; ``` ### Odg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/odg.md #### ImageFileType.Odg field The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format [here](https://wiki.fileformat.com/image/odg). ```csharp public static readonly ImageFileType Odg; ``` ### Otg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/otg.md #### ImageFileType.Otg field An OTG file is a drawing template that is created using the OpenDocument standard that follows the OASIS Office Applications 1.0 specification. Learn more about this file format [here](https://wiki.fileformat.com/image/otg). ```csharp public static readonly ImageFileType Otg; ``` ### Png Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/png.md #### ImageFileType.Png field PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations. Learn more about this file format [here](https://wiki.fileformat.com/image/png). ```csharp public static readonly ImageFileType Png; ``` ### Psb Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/psb.md #### ImageFileType.Psb field Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as “Photoshop Big”. Learn more about this file format [here](https://docs.fileformat.com/image/psb). ```csharp public static readonly ImageFileType Psb; ``` ### Psd Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/psd.md #### ImageFileType.Psd field PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here](https://wiki.fileformat.com/image/psd). ```csharp public static readonly ImageFileType Psd; ``` ### Tga Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/tga.md #### ImageFileType.Tga field A file with .tga extension is a raster graphic format and was created by Truevision Inc. Learn more about this file format [here](https://docs.fileformat.com/image/tga). ```csharp public static readonly ImageFileType Tga; ``` ### Tif Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/tif.md #### ImageFileType.Tif field TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff). ```csharp public static readonly ImageFileType Tif; ``` ### Tiff Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/tiff.md #### ImageFileType.Tiff field TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff). ```csharp public static readonly ImageFileType Tiff; ``` ### Webp Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/webp.md #### ImageFileType.Webp field WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp). ```csharp public static readonly ImageFileType Webp; ``` ### Wmf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/wmf.md #### ImageFileType.Wmf field Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf). ```csharp public static readonly ImageFileType Wmf; ``` ### Wmz Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/imagefiletype/wmz.md #### ImageFileType.Wmz field An WMZ file is actually a compressed version of a Microsoft WMF file. This allows for easier distribution of the file online. When an EWMFMF file is compressed using the .GZIP compression algorithm, it is then given the .wmz file extension. ```csharp public static readonly ImageFileType Wmz; ``` ### NoteFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/notefiletype.md #### NoteFileType class Defines Note-taking formats. Includes the following file types: `One`. Learn more about Note-taking formats [here](https://wiki.fileformat.com/note-taking). ```csharp public sealed class NoteFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | NoteFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly One | File represented by .ONE extension are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/one). | ### NoteFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/notefiletype/notefiletype.md #### NoteFileType constructor Serialization constructor ```csharp public NoteFileType() ``` ### One Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/notefiletype/one.md #### NoteFileType.One field File represented by .ONE extension are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/one). ```csharp public static readonly NoteFileType One; ``` ### PageDescriptionLanguageFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype.md #### PageDescriptionLanguageFileType class Defines Page description documents. Includes the following file types: `Svg``Svgz``Eps``Cgm``Xps``Tex``Ps``Pcl``Oxps` ```csharp public sealed class PageDescriptionLanguageFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | PageDescriptionLanguageFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Cgm | Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. CGM uses object-oriented approach and many function provisions for image production. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/cgm). | | static readonly Eps | Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/eps). | | static readonly Oxps | The file format OXPS is known as Open XML Paper Specification. It’s a page description language and document format. Microsoft is the developer of this format. OXPS file format is very much familiar to these PDF files. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/oxps). | | static readonly Pcl | PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/pcl). | | static readonly Ps | PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. The main focus of PostScript (PS) is to facilitate the two-dimensional graphic design. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/ps). | | static readonly Svg | An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/svg). | | static readonly Svgz | An SVGZ file is actually a compressed version of a SVG file. This allows for easier distribution of the file online. When an SVG file is compressed using the .GZIP compression algorithm, it is then given the .svgz file extension. | | static readonly Tex | TeX is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/tex). | | static readonly Xps | An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. This format was developed by Microsoft as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/xps). | ### Cgm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/cgm.md #### PageDescriptionLanguageFileType.Cgm field Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. CGM uses object-oriented approach and many function provisions for image production. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/cgm). ```csharp public static readonly PageDescriptionLanguageFileType Cgm; ``` ### Eps Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/eps.md #### PageDescriptionLanguageFileType.Eps field Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/eps). ```csharp public static readonly PageDescriptionLanguageFileType Eps; ``` ### Oxps Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/oxps.md #### PageDescriptionLanguageFileType.Oxps field The file format OXPS is known as Open XML Paper Specification. It’s a page description language and document format. Microsoft is the developer of this format. OXPS file format is very much familiar to these PDF files. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/oxps). ```csharp public static readonly PageDescriptionLanguageFileType Oxps; ``` ### PageDescriptionLanguageFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/pagedescriptionlanguagefiletype.md #### PageDescriptionLanguageFileType constructor Serialization constructor ```csharp public PageDescriptionLanguageFileType() ``` ### Pcl Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/pcl.md #### PageDescriptionLanguageFileType.Pcl field PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/pcl). ```csharp public static readonly PageDescriptionLanguageFileType Pcl; ``` ### Ps Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/ps.md #### PageDescriptionLanguageFileType.Ps field PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. The main focus of PostScript (PS) is to facilitate the two-dimensional graphic design. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/ps). ```csharp public static readonly PageDescriptionLanguageFileType Ps; ``` ### Svg Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/svg.md #### PageDescriptionLanguageFileType.Svg field An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/svg). ```csharp public static readonly PageDescriptionLanguageFileType Svg; ``` ### Svgz Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/svgz.md #### PageDescriptionLanguageFileType.Svgz field An SVGZ file is actually a compressed version of a SVG file. This allows for easier distribution of the file online. When an SVG file is compressed using the .GZIP compression algorithm, it is then given the .svgz file extension. ```csharp public static readonly PageDescriptionLanguageFileType Svgz; ``` ### Tex Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/tex.md #### PageDescriptionLanguageFileType.Tex field TeX is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/tex). ```csharp public static readonly PageDescriptionLanguageFileType Tex; ``` ### Xps Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/xps.md #### PageDescriptionLanguageFileType.Xps field An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. This format was developed by Microsoft as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/xps). ```csharp public static readonly PageDescriptionLanguageFileType Xps; ``` ### PdfFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pdffiletype.md #### PdfFileType class Defines Pdf documents. Includes the following file types: `Pdf`, ```csharp public sealed class PdfFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | PdfFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Pdf | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://wiki.fileformat.com/view/pdf). | ### Pdf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pdffiletype/pdf.md #### PdfFileType.Pdf field Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://wiki.fileformat.com/view/pdf). ```csharp public static readonly PdfFileType Pdf; ``` ### PdfFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/pdffiletype/pdffiletype.md #### PdfFileType constructor Serialization constructor ```csharp public PdfFileType() ``` ### PresentationFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype.md #### PresentationFileType class Defines Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. Includes the following file types: `Odp`, `Otp`, `Pot`, `Potm`, `Potx`, `Pps`, `Ppsm`, `Ppsx`, `Ppt`, `Pptm`, `Pptx`. Learn more about Presentation formats [here](https://wiki.fileformat.com/presentation). ```csharp public sealed class PresentationFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | PresentationFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Fodp | Files with FODP extension represent OpenDocument Flat XML Presentation. Presentation file saved in the OpenDocument format, but saved using a flat XML format instead of the .ZIP container used by standard .ODP files | | static readonly Odp | Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here](https://wiki.fileformat.com/presentation/odp). | | static readonly Otp | Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/otp). | | static readonly Pot | Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot). | | static readonly Potm | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm). | | static readonly Potx | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx). | | static readonly Pps | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps). | | static readonly Ppsm | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm). | | static readonly Ppsx | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx). | | static readonly Ppt | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt). | | static readonly Pptm | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm). | | static readonly Pptx | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx). | ### Fodp Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/fodp.md #### PresentationFileType.Fodp field Files with FODP extension represent OpenDocument Flat XML Presentation. Presentation file saved in the OpenDocument format, but saved using a flat XML format instead of the .ZIP container used by standard .ODP files ```csharp public static readonly PresentationFileType Fodp; ``` ### Odp Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/odp.md #### PresentationFileType.Odp field Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here](https://wiki.fileformat.com/presentation/odp). ```csharp public static readonly PresentationFileType Odp; ``` ### Otp Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/otp.md #### PresentationFileType.Otp field Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/otp). ```csharp public static readonly PresentationFileType Otp; ``` ### Pot Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/pot.md #### PresentationFileType.Pot field Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot). ```csharp public static readonly PresentationFileType Pot; ``` ### Potm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/potm.md #### PresentationFileType.Potm field Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm). ```csharp public static readonly PresentationFileType Potm; ``` ### Potx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/potx.md #### PresentationFileType.Potx field Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx). ```csharp public static readonly PresentationFileType Potx; ``` ### Pps Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/pps.md #### PresentationFileType.Pps field PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps). ```csharp public static readonly PresentationFileType Pps; ``` ### Ppsm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/ppsm.md #### PresentationFileType.Ppsm field Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm). ```csharp public static readonly PresentationFileType Ppsm; ``` ### Ppsx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/ppsx.md #### PresentationFileType.Ppsx field PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx). ```csharp public static readonly PresentationFileType Ppsx; ``` ### Ppt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/ppt.md #### PresentationFileType.Ppt field A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt). ```csharp public static readonly PresentationFileType Ppt; ``` ### Pptm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/pptm.md #### PresentationFileType.Pptm field Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm). ```csharp public static readonly PresentationFileType Pptm; ``` ### Pptx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/pptx.md #### PresentationFileType.Pptx field Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx). ```csharp public static readonly PresentationFileType Pptx; ``` ### PresentationFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/presentationfiletype/presentationfiletype.md #### PresentationFileType constructor Serialization constructor ```csharp public PresentationFileType() ``` ### ProjectManagementFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/projectmanagementfiletype.md #### ProjectManagementFileType class Defines Project file formats that are created by Project Management software such as Microsoft Project, Primavera P6 etc. A project file is a collection of tasks, resources, and their scheduling to get a measurable output in the form or a product or a service. Project management documents. Includes the following file types: `Mpp`, `Mpt`, `Mpx`. Learn more about Project Management formats [here](https://wiki.fileformat.com/project-management). ```csharp public sealed class ProjectManagementFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | ProjectManagementFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Mpp | MPP is Microsoft Project data file that stores information related to project management in an integrated manner. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpp). | | static readonly Mpt | Microsoft Project template files, contain basic information and structure along with document settings for creating .MPP files. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpt). | | static readonly Mpx | Microsoft Exchange File Format, is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpx). | | static readonly Xer | The XER file format is a proprietary project file format used by Primavera P6 project planning and management application. Learn more about this file format [here](https://docs.fileformat.com/project-management/xer). | ### Mpp Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/projectmanagementfiletype/mpp.md #### ProjectManagementFileType.Mpp field MPP is Microsoft Project data file that stores information related to project management in an integrated manner. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpp). ```csharp public static readonly ProjectManagementFileType Mpp; ``` ### Mpt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/projectmanagementfiletype/mpt.md #### ProjectManagementFileType.Mpt field Microsoft Project template files, contain basic information and structure along with document settings for creating .MPP files. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpt). ```csharp public static readonly ProjectManagementFileType Mpt; ``` ### Mpx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/projectmanagementfiletype/mpx.md #### ProjectManagementFileType.Mpx field Microsoft Exchange File Format, is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpx). ```csharp public static readonly ProjectManagementFileType Mpx; ``` ### ProjectManagementFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/projectmanagementfiletype/projectmanagementfiletype.md #### ProjectManagementFileType constructor Serialization constructor ```csharp public ProjectManagementFileType() ``` ### Xer Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/projectmanagementfiletype/xer.md #### ProjectManagementFileType.Xer field The XER file format is a proprietary project file format used by Primavera P6 project planning and management application. Learn more about this file format [here](https://docs.fileformat.com/project-management/xer). ```csharp public static readonly ProjectManagementFileType Xer; ``` ### PublisherFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/publisherfiletype.md #### PublisherFileType class Defines Publisher documents Includes the following types: `Pub` Learn more about Publisher formats [here](https://docs.fileformat.com/publisher/). ```csharp public sealed class PublisherFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | PublisherFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Pub | A PUB file is a Microsoft Publisher document file format. It is used to create several types of design layout documents such as newsletters, flyers, brochures, postcards, etc. PUB files can contain text, raster and vector images. Learn more about this file format [here](https://docs.fileformat.com/publisher/pub/). | ### Pub Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/publisherfiletype/pub.md #### PublisherFileType.Pub field A PUB file is a Microsoft Publisher document file format. It is used to create several types of design layout documents such as newsletters, flyers, brochures, postcards, etc. PUB files can contain text, raster and vector images. Learn more about this file format [here](https://docs.fileformat.com/publisher/pub/). ```csharp public static readonly PublisherFileType Pub; ``` ### PublisherFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/publisherfiletype/publisherfiletype.md #### PublisherFileType constructor Serialization constructor ```csharp public PublisherFileType() ``` ### SpreadsheetFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype.md #### SpreadsheetFileType class Defines Spreadsheet documents. Includes the following file types: `Csv`, `Fods`, `Ods`, `Ots`, `Tsv`, `Xlam`, `Xls`, `Xlsb`, `Xlsm`, `Xlsx`, `Xlt`, `Xltm`, `Xltx`. Learn more about Spreadsheet formats [here](https://wiki.fileformat.com/spreadsheet). ```csharp public sealed class SpreadsheetFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | SpreadsheetFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Csv | Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/csv). | | static readonly Dif | DIF stands for Data Interchange Format that is used to import/export spreadsheets data between different applications. These include Microsoft Excel, OpenOffice Calc, StarCalc and many others. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/dif). | | static readonly FlatOpc | Flat OPC Excel is Office Open XML SpreadsheetML stored in a flat XML file instead of a ZIP package. | | static readonly Fods | A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. The format is specified as part of ODF 1.2 specifications published and maintained by OASIS. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/fods). | | static readonly Numbers | The files with .numbers extension are classified as spreadsheet file type, that's why they are similar to the .xlsx files; but the Numbers files are created by using Apple iWork Numbers spreadsheet software. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/numbers). | | static readonly Ods | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods). | | static readonly Ots | A file with .ots extension is an OpenDocument Spreadsheet Template file that is created with the Calc application software included in Apache OpenOffice. Calc application software is the similar to Excel available in Microsoft Office. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ots). | | static readonly Sxc | The file format SXC(Sun XML Calc) belongs to an office suite called OpenOffice.org. This format generally deals with the spreadsheet needs of users as it is an XML based spreadsheet file format. SXC format supports formulas, functions, macros and charts along with DataPilot. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/sxc). | | static readonly Tsv | A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/tsv). | | static readonly Xlam | XLAM is an Macro-Enabled Add-In file that is used to add new functions to spreadsheets. An Add-In is a supplemental program that runs additional code and provides additional functionality for spreadsheets. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlam/). | | static readonly Xls | XLS represents Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xls). | | static readonly Xlsb | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsb). | | static readonly Xlsm | XLSM is a type of Spreadsheet files that support macros. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsm). | | static readonly Xlsx | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsx). | | static readonly Xlt | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlt). | | static readonly Xltm | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltm). | | static readonly Xltx | XLTX file represents Microsoft Excel Template that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltx). | ### Csv Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/csv.md #### SpreadsheetFileType.Csv field Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/csv). ```csharp public static readonly SpreadsheetFileType Csv; ``` ### Dif Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/dif.md #### SpreadsheetFileType.Dif field DIF stands for Data Interchange Format that is used to import/export spreadsheets data between different applications. These include Microsoft Excel, OpenOffice Calc, StarCalc and many others. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/dif). ```csharp public static readonly SpreadsheetFileType Dif; ``` ### FlatOpc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/flatopc.md #### SpreadsheetFileType.FlatOpc field Flat OPC Excel is Office Open XML SpreadsheetML stored in a flat XML file instead of a ZIP package. ```csharp public static readonly SpreadsheetFileType FlatOpc; ``` ### Fods Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/fods.md #### SpreadsheetFileType.Fods field A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. The format is specified as part of ODF 1.2 specifications published and maintained by OASIS. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/fods). ```csharp public static readonly SpreadsheetFileType Fods; ``` ### Numbers Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/numbers.md #### SpreadsheetFileType.Numbers field The files with .numbers extension are classified as spreadsheet file type, that's why they are similar to the .xlsx files; but the Numbers files are created by using Apple iWork Numbers spreadsheet software. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/numbers). ```csharp public static readonly SpreadsheetFileType Numbers; ``` ### Ods Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/ods.md #### SpreadsheetFileType.Ods field Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods). ```csharp public static readonly SpreadsheetFileType Ods; ``` ### Ots Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/ots.md #### SpreadsheetFileType.Ots field A file with .ots extension is an OpenDocument Spreadsheet Template file that is created with the Calc application software included in Apache OpenOffice. Calc application software is the similar to Excel available in Microsoft Office. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ots). ```csharp public static readonly SpreadsheetFileType Ots; ``` ### SpreadsheetFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/spreadsheetfiletype.md #### SpreadsheetFileType constructor Serialization constructor ```csharp public SpreadsheetFileType() ``` ### Sxc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/sxc.md #### SpreadsheetFileType.Sxc field The file format SXC(Sun XML Calc) belongs to an office suite called OpenOffice.org. This format generally deals with the spreadsheet needs of users as it is an XML based spreadsheet file format. SXC format supports formulas, functions, macros and charts along with DataPilot. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/sxc). ```csharp public static readonly SpreadsheetFileType Sxc; ``` ### Tsv Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/tsv.md #### SpreadsheetFileType.Tsv field A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/tsv). ```csharp public static readonly SpreadsheetFileType Tsv; ``` ### Xlam Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlam.md #### SpreadsheetFileType.Xlam field XLAM is an Macro-Enabled Add-In file that is used to add new functions to spreadsheets. An Add-In is a supplemental program that runs additional code and provides additional functionality for spreadsheets. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlam/). ```csharp public static readonly SpreadsheetFileType Xlam; ``` ### Xls Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xls.md #### SpreadsheetFileType.Xls field XLS represents Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xls). ```csharp public static readonly SpreadsheetFileType Xls; ``` ### Xlsb Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlsb.md #### SpreadsheetFileType.Xlsb field XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsb). ```csharp public static readonly SpreadsheetFileType Xlsb; ``` ### Xlsm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlsm.md #### SpreadsheetFileType.Xlsm field XLSM is a type of Spreadsheet files that support macros. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsm). ```csharp public static readonly SpreadsheetFileType Xlsm; ``` ### Xlsx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlsx.md #### SpreadsheetFileType.Xlsx field XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsx). ```csharp public static readonly SpreadsheetFileType Xlsx; ``` ### Xlt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlt.md #### SpreadsheetFileType.Xlt field Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlt). ```csharp public static readonly SpreadsheetFileType Xlt; ``` ### Xltm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xltm.md #### SpreadsheetFileType.Xltm field The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltm). ```csharp public static readonly SpreadsheetFileType Xltm; ``` ### Xltx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/spreadsheetfiletype/xltx.md #### SpreadsheetFileType.Xltx field XLTX file represents Microsoft Excel Template that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltx). ```csharp public static readonly SpreadsheetFileType Xltx; ``` ### ThreeDFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype.md #### ThreeDFileType class Defines 3D documents Includes the following types: `Fbx``ThreeDS``ThreeMF``Amf``Ase``Rvm``Dae``Drc``Gltf``Obj``Ply``Jt``U3d``Usd``Usdz``Vrml``X``Glb``Ma``Mb` Learn more about 3D formats [here](https://wiki.fileformat.com/3d). ```csharp public sealed class ThreeDFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | ThreeDFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Amf | An AMF file consists of guidelines for objects description in order to be used by Additive Manufacturing processes. It contains an opening XML tag and ends with a element. This is preceded by an XML declaration line specifying the XML version and encoding of the file. Learn more about this file format [here](https://docs.fileformat.com/3d/amf). | | static readonly Ase | A file with a .ase extension is an Autodesk ASCII Scene Export file format that is an ASCII representation of a scene, containing 2D or 3D information while exporting scene data using Autodesk. Learn more about this file format [here](https://docs.fileformat.com/3d/ase). | | static readonly Dae | A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. This file format is based on the COLLADA (COLLAborative Design Activity) XML schema which is an open standard XML schema for the exchange of digital assets among graphics software applications. Learn more about this file format [here](https://docs.fileformat.com/3d/dae). | | static readonly Drc | A file with .drc extension is a compressed 3D file format created with Google Draco library. Google offers Draco as open source library for compressing and decompressing 3D geometric meshes and point clouds, and improves storage and transmission of 3D graphics. Learn more about this file format [here](https://docs.fileformat.com/3d/drc). | | static readonly Fbx | FBX, FilmBox, is a popular 3D file format that was originally developed by Kaydara for MotionBuilder. It was acquired by Autodesk Inc in 2006 and is now one of the main 3D exchange formats as used by many 3D tools. FBX is available in both binary and ASCII file format. Learn more about this file format [here](https://docs.fileformat.com/3d/fbx). | | static readonly Glb | GLB is the binary file format representation of 3D models saved in the GL Transmission Format (glTF). This binary format stores the glTF asset (JSON, .bin and images) in a binary blob. Learn more about this file format [here](https://docs.fileformat.com/3d/glb). | | static readonly Gltf | glTF (GL Transmission Format) is a 3D file format that stores 3D model information in JSON format. The use of JSON minimizes both the size of 3D assets and the runtime processing needed to unpack and use those assets. Learn more about this file format [here](https://docs.fileformat.com/3d/gltf). | | static readonly Jt | JT (Jupiter Tessellation) is an efficient, industry-focused and flexible ISO-standardized 3D data format developed by Siemens PLM Software. Mechanical CAD domains of Aerospace, automotive industry, and Heavy Equipment use JT as their most leading 3D visualization format. Learn more about this file format [here](https://docs.fileformat.com/3d/jt). | | static readonly Ma | A file with .ma extension is a 3D project file created with Autodesk Maya application. It contains large list of textual commands to specify information about the file. Learn more about this file format [here](https://docs.fileformat.com/3d/ma). | | static readonly Mb | A file with .mb extension is a binary project file created with Autodesk Maya application. Unlike the MA file format, which is in ASCII file format, MB files are stored in binary file format. Learn more about this file format [here](https://docs.fileformat.com/3d/mb). | | static readonly Obj | OBJ files are used by Wavefront’s Advanced Visualizer application to define and store the geometric objects. Backward and forward transmission of geometric data is made possible through OBJ files. Learn more about this file format [here](https://docs.fileformat.com/3d/obj). | | static readonly Ply | PLY, Polygon File Format, represents 3D file format that stores graphical objects described as a collection of polygons. The purpose of this file format was to establish a simple and easy file type that is general enough to be useful for a wide range of models. Learn more about this file format [here](https://docs.fileformat.com/3d/ply). | | static readonly Rvm | RVM data files are related to AVEVA PDMS. RVM file is an AVEVA Plant Design Management System Model project file. AVEVA’s Plant Design Management System (PDMS) is the most popular 3D design system using data-centric technology for managing projects. Learn more about this file format [here](https://docs.fileformat.com/3d/rvm). | | static readonly ThreeDS | A file with .3ds extension represents 3D Sudio (DOS) mesh file format used by Autodesk 3D Studio. Autodesk 3D Studio has been in 3D file format market since 1990s and has now evolved to 3D Studio MAX for working with 3D modeling, animation and rendering. Learn more about this file format [here](https://docs.fileformat.com/3d/3ds). | | static readonly ThreeMF | 3MF, 3D Manufacturing Format, is used by applications to render 3D object models to a variety of other applications, platforms, services and printers. It was built to avoid the limitations and issues in other 3D file formats, like STL, for working with the latest versions of 3D printers. Learn more about this file format [here](https://docs.fileformat.com/3d/3mf). | | static readonly U3d | U3D (Universal 3D) is a compressed file format and data structure for 3D computer graphics. It contains 3D model information such as triangle meshes, lighting, shading, motion data, lines and points with color and structure. Learn more about this file format [here](https://docs.fileformat.com/3d/u3d). | | static readonly Usd | A file with .usd extension is a Universal Scene Description file format that encodes data for the purpose of data interchanging and augmenting between digital content creation applications. Developed by Pixar, USD provides the ability to interchange elemental assets (such as models) or animation. Learn more about this file format [here](https://docs.fileformat.com/3d/usd). | | static readonly Usdz | A file with .usdz is an uncompressed and unencrypted ZIP archive for the USD (Universal Scene Description) file format that contains and proxies for files of other formats (such as textures, and animations) embedded within the archive and runs them directly with the USD run-time without any need of unpacking. Learn more about this file format [here](https://docs.fileformat.com/3d/usdz). | | static readonly Vrml | The Virtual Reality Modeling Language (VRML) is a file format for representation of interactive 3D world objects over the World Wide Web (www). It finds its usage in creating three-dimensional representations of complex scenes such as illustrations, definition and virtual reality presentations. Learn more about this file format [here](https://docs.fileformat.com/3d/vrml). | | static readonly X | A file with .x extension refers to DirectX 3D Graphics legacy file format that was introduced with Microsoft DirectX 2.0. It was used for 3D graphics rendering in games and specifies the structures for meshes, textures, animations, and user-defined objects. It has been deprecated since 2014 as the Autodesk FBX file format serves better as a more modern format. Learn more about this file format [here](https://docs.fileformat.com/3d/x). | ### Amf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/amf.md #### ThreeDFileType.Amf field An AMF file consists of guidelines for objects description in order to be used by Additive Manufacturing processes. It contains an opening XML tag and ends with a element. This is preceded by an XML declaration line specifying the XML version and encoding of the file. Learn more about this file format [here](https://docs.fileformat.com/3d/amf). ```csharp public static readonly ThreeDFileType Amf; ``` ### Ase Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/ase.md #### ThreeDFileType.Ase field A file with a .ase extension is an Autodesk ASCII Scene Export file format that is an ASCII representation of a scene, containing 2D or 3D information while exporting scene data using Autodesk. Learn more about this file format [here](https://docs.fileformat.com/3d/ase). ```csharp public static readonly ThreeDFileType Ase; ``` ### Dae Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/dae.md #### ThreeDFileType.Dae field A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. This file format is based on the COLLADA (COLLAborative Design Activity) XML schema which is an open standard XML schema for the exchange of digital assets among graphics software applications. Learn more about this file format [here](https://docs.fileformat.com/3d/dae). ```csharp public static readonly ThreeDFileType Dae; ``` ### Drc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/drc.md #### ThreeDFileType.Drc field A file with .drc extension is a compressed 3D file format created with Google Draco library. Google offers Draco as open source library for compressing and decompressing 3D geometric meshes and point clouds, and improves storage and transmission of 3D graphics. Learn more about this file format [here](https://docs.fileformat.com/3d/drc). ```csharp public static readonly ThreeDFileType Drc; ``` ### Fbx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/fbx.md #### ThreeDFileType.Fbx field FBX, FilmBox, is a popular 3D file format that was originally developed by Kaydara for MotionBuilder. It was acquired by Autodesk Inc in 2006 and is now one of the main 3D exchange formats as used by many 3D tools. FBX is available in both binary and ASCII file format. Learn more about this file format [here](https://docs.fileformat.com/3d/fbx). ```csharp public static readonly ThreeDFileType Fbx; ``` ### Glb Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/glb.md #### ThreeDFileType.Glb field GLB is the binary file format representation of 3D models saved in the GL Transmission Format (glTF). This binary format stores the glTF asset (JSON, .bin and images) in a binary blob. Learn more about this file format [here](https://docs.fileformat.com/3d/glb). ```csharp public static readonly ThreeDFileType Glb; ``` ### Gltf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/gltf.md #### ThreeDFileType.Gltf field glTF (GL Transmission Format) is a 3D file format that stores 3D model information in JSON format. The use of JSON minimizes both the size of 3D assets and the runtime processing needed to unpack and use those assets. Learn more about this file format [here](https://docs.fileformat.com/3d/gltf). ```csharp public static readonly ThreeDFileType Gltf; ``` ### Jt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/jt.md #### ThreeDFileType.Jt field JT (Jupiter Tessellation) is an efficient, industry-focused and flexible ISO-standardized 3D data format developed by Siemens PLM Software. Mechanical CAD domains of Aerospace, automotive industry, and Heavy Equipment use JT as their most leading 3D visualization format. Learn more about this file format [here](https://docs.fileformat.com/3d/jt). ```csharp public static readonly ThreeDFileType Jt; ``` ### Ma Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/ma.md #### ThreeDFileType.Ma field A file with .ma extension is a 3D project file created with Autodesk Maya application. It contains large list of textual commands to specify information about the file. Learn more about this file format [here](https://docs.fileformat.com/3d/ma). ```csharp public static readonly ThreeDFileType Ma; ``` ### Mb Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/mb.md #### ThreeDFileType.Mb field A file with .mb extension is a binary project file created with Autodesk Maya application. Unlike the MA file format, which is in ASCII file format, MB files are stored in binary file format. Learn more about this file format [here](https://docs.fileformat.com/3d/mb). ```csharp public static readonly ThreeDFileType Mb; ``` ### Obj Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/obj.md #### ThreeDFileType.Obj field OBJ files are used by Wavefront’s Advanced Visualizer application to define and store the geometric objects. Backward and forward transmission of geometric data is made possible through OBJ files. Learn more about this file format [here](https://docs.fileformat.com/3d/obj). ```csharp public static readonly ThreeDFileType Obj; ``` ### Ply Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/ply.md #### ThreeDFileType.Ply field PLY, Polygon File Format, represents 3D file format that stores graphical objects described as a collection of polygons. The purpose of this file format was to establish a simple and easy file type that is general enough to be useful for a wide range of models. Learn more about this file format [here](https://docs.fileformat.com/3d/ply). ```csharp public static readonly ThreeDFileType Ply; ``` ### Rvm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/rvm.md #### ThreeDFileType.Rvm field RVM data files are related to AVEVA PDMS. RVM file is an AVEVA Plant Design Management System Model project file. AVEVA’s Plant Design Management System (PDMS) is the most popular 3D design system using data-centric technology for managing projects. Learn more about this file format [here](https://docs.fileformat.com/3d/rvm). ```csharp public static readonly ThreeDFileType Rvm; ``` ### ThreeDFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/threedfiletype.md #### ThreeDFileType constructor Serialization constructor ```csharp public ThreeDFileType() ``` ### ThreeDS Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/threeds.md #### ThreeDFileType.ThreeDS field A file with .3ds extension represents 3D Sudio (DOS) mesh file format used by Autodesk 3D Studio. Autodesk 3D Studio has been in 3D file format market since 1990s and has now evolved to 3D Studio MAX for working with 3D modeling, animation and rendering. Learn more about this file format [here](https://docs.fileformat.com/3d/3ds). ```csharp public static readonly ThreeDFileType ThreeDS; ``` ### ThreeMF Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/threemf.md #### ThreeDFileType.ThreeMF field 3MF, 3D Manufacturing Format, is used by applications to render 3D object models to a variety of other applications, platforms, services and printers. It was built to avoid the limitations and issues in other 3D file formats, like STL, for working with the latest versions of 3D printers. Learn more about this file format [here](https://docs.fileformat.com/3d/3mf). ```csharp public static readonly ThreeDFileType ThreeMF; ``` ### U3d Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/u3d.md #### ThreeDFileType.U3d field U3D (Universal 3D) is a compressed file format and data structure for 3D computer graphics. It contains 3D model information such as triangle meshes, lighting, shading, motion data, lines and points with color and structure. Learn more about this file format [here](https://docs.fileformat.com/3d/u3d). ```csharp public static readonly ThreeDFileType U3d; ``` ### Usd Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/usd.md #### ThreeDFileType.Usd field A file with .usd extension is a Universal Scene Description file format that encodes data for the purpose of data interchanging and augmenting between digital content creation applications. Developed by Pixar, USD provides the ability to interchange elemental assets (such as models) or animation. Learn more about this file format [here](https://docs.fileformat.com/3d/usd). ```csharp public static readonly ThreeDFileType Usd; ``` ### Usdz Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/usdz.md #### ThreeDFileType.Usdz field A file with .usdz is an uncompressed and unencrypted ZIP archive for the USD (Universal Scene Description) file format that contains and proxies for files of other formats (such as textures, and animations) embedded within the archive and runs them directly with the USD run-time without any need of unpacking. Learn more about this file format [here](https://docs.fileformat.com/3d/usdz). ```csharp public static readonly ThreeDFileType Usdz; ``` ### Vrml Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/vrml.md #### ThreeDFileType.Vrml field The Virtual Reality Modeling Language (VRML) is a file format for representation of interactive 3D world objects over the World Wide Web (www). It finds its usage in creating three-dimensional representations of complex scenes such as illustrations, definition and virtual reality presentations. Learn more about this file format [here](https://docs.fileformat.com/3d/vrml). ```csharp public static readonly ThreeDFileType Vrml; ``` ### X Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/threedfiletype/x.md #### ThreeDFileType.X field A file with .x extension refers to DirectX 3D Graphics legacy file format that was introduced with Microsoft DirectX 2.0. It was used for 3D graphics rendering in games and specifies the structures for meshes, textures, animations, and user-defined objects. It has been deprecated since 2014 as the Autodesk FBX file format serves better as a more modern format. Learn more about this file format [here](https://docs.fileformat.com/3d/x). ```csharp public static readonly ThreeDFileType X; ``` ### VideoFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype.md #### VideoFileType class Defines Video documents Includes the following types: `Mp4`, `Avi`, `Flv`, `Mkv`, `Mov`, `Webm`, `Wmv`, Learn more about video formats [here](https://docs.fileformat.com/video/). ```csharp public sealed class VideoFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | VideoFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Avi | The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. It holds the audio and video data created and compressed using several codecs (Coders/Decoders) such as XVid and DivX. Learn more about this file format [here](https://docs.fileformat.com/video/avi/). | | static readonly Flv | FLV (Flash Video) is a container file format with the .flv extension. FLV is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here](https://docs.fileformat.com/video/flv/). | | static readonly Mkv | MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. An MKV file is the Matroska multimedia container format used for video. Learn more about this file format [here](https://docs.fileformat.com/video/mkv/). | | static readonly Mov | MOV or QuickTime file format is a multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text, etc. Learn more about this file format [here](https://docs.fileformat.com/video/mov/). | | static readonly Mp4 | MP4(short for MPEG-4 Part 14) is a file format based on ISO/IEC 14496-12:2004 that is based on QuickTime File Format but formally specifies support for Initial Object Descriptors (IOD) and other MPEG features. Learn more about this file format [here](https://docs.fileformat.com/video/mp4/). | | static readonly Webm | A file with a .webm extension is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here](https://docs.fileformat.com/video/webm//). | | static readonly Wmv | Windows Media Video is the compressed video format developed by Microsoft. After the standardization by the Society of Motion Picture and Television Engineers (SMPTE), WMV is now considered to be an open standard format. Learn more about this file format [here](https://docs.fileformat.com/video/wmv/). | ### Avi Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/avi.md #### VideoFileType.Avi field The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. It holds the audio and video data created and compressed using several codecs (Coders/Decoders) such as XVid and DivX. Learn more about this file format [here](https://docs.fileformat.com/video/avi/). ```csharp public static readonly VideoFileType Avi; ``` ### Flv Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/flv.md #### VideoFileType.Flv field FLV (Flash Video) is a container file format with the .flv extension. FLV is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here](https://docs.fileformat.com/video/flv/). ```csharp public static readonly VideoFileType Flv; ``` ### Mkv Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/mkv.md #### VideoFileType.Mkv field MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. An MKV file is the Matroska multimedia container format used for video. Learn more about this file format [here](https://docs.fileformat.com/video/mkv/). ```csharp public static readonly VideoFileType Mkv; ``` ### Mov Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/mov.md #### VideoFileType.Mov field MOV or QuickTime file format is a multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text, etc. Learn more about this file format [here](https://docs.fileformat.com/video/mov/). ```csharp public static readonly VideoFileType Mov; ``` ### Mp4 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/mp4.md #### VideoFileType.Mp4 field MP4(short for MPEG-4 Part 14) is a file format based on ISO/IEC 14496-12:2004 that is based on QuickTime File Format but formally specifies support for Initial Object Descriptors (IOD) and other MPEG features. Learn more about this file format [here](https://docs.fileformat.com/video/mp4/). ```csharp public static readonly VideoFileType Mp4; ``` ### VideoFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/videofiletype.md #### VideoFileType constructor Serialization constructor ```csharp public VideoFileType() ``` ### Webm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/webm.md #### VideoFileType.Webm field A file with a .webm extension is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here](https://docs.fileformat.com/video/webm//). ```csharp public static readonly VideoFileType Webm; ``` ### Wmv Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/videofiletype/wmv.md #### VideoFileType.Wmv field Windows Media Video is the compressed video format developed by Microsoft. After the standardization by the Society of Motion Picture and Television Engineers (SMPTE), WMV is now considered to be an open standard format. Learn more about this file format [here](https://docs.fileformat.com/video/wmv/). ```csharp public static readonly VideoFileType Wmv; ``` ### WebFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype.md #### WebFileType class Defines Web documents. Includes the following file types: `Xml``Json``Html``Htm``Mht``Mhtml``Chm` ```csharp public sealed class WebFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | WebFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Chm | The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. It provides an index for quick accessing the topics and navigation to different parts of the help document. Learn more about this file format [here](https://docs.fileformat.com/web/chm). | | static readonly Htm | HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html). | | static readonly Html | HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html). | | static readonly Json | JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format [here](https://docs.fileformat.com/web/json). | | static readonly Mht | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml). | | static readonly Mhtml | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml). | | static readonly Xml | XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here](https://wiki.fileformat.com/web/xml). | ### Chm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/chm.md #### WebFileType.Chm field The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. It provides an index for quick accessing the topics and navigation to different parts of the help document. Learn more about this file format [here](https://docs.fileformat.com/web/chm). ```csharp public static readonly WebFileType Chm; ``` ### Htm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/htm.md #### WebFileType.Htm field HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html). ```csharp public static readonly WebFileType Htm; ``` ### Html Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/html.md #### WebFileType.Html field HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html). ```csharp public static readonly WebFileType Html; ``` ### Json Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/json.md #### WebFileType.Json field JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format [here](https://docs.fileformat.com/web/json). ```csharp public static readonly WebFileType Json; ``` ### Mht Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/mht.md #### WebFileType.Mht field Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml). ```csharp public static readonly WebFileType Mht; ``` ### Mhtml Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/mhtml.md #### WebFileType.Mhtml field Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml). ```csharp public static readonly WebFileType Mhtml; ``` ### WebFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/webfiletype.md #### WebFileType constructor Serialization constructor ```csharp public WebFileType() ``` ### Xml Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/webfiletype/xml.md #### WebFileType.Xml field XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here](https://wiki.fileformat.com/web/xml). ```csharp public static readonly WebFileType Xml; ``` ### WordProcessingFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype.md #### WordProcessingFileType class Defines Word Processing files that contain user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Includes the following file types: `Doc`, `Docm`, `Docx`, `Dot`, `Dotm`, `Dotx`, `Odt`, `Ott`, `Rtf`, `Txt`. `Md`. Learn more about Word Processing formats [here](https://wiki.fileformat.com/word-processing). ```csharp public sealed class WordProcessingFileType : FileType ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingFileType() | Serialization constructor | #### Properties | Name | Description | | --- | --- | | Description { get; } | File type description | | Extension { get; } | The file extension | | Family { get; } | The file family | | FileFormat { get; } | The file format | #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | override Equals(Enumeration) | Implements `Equals` | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | String representation | #### Fields | Name | Description | | --- | --- | | static readonly Doc | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc). | | static readonly Docm | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm). | | static readonly Docx | DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx). | | static readonly Dot | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot). | | static readonly Dotm | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm). | | static readonly Dotx | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx). | | static readonly FlatOpc | Flat OPC Word is Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. | | static readonly Md | Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. MD files are saved in plain text format that uses Markdown language which also includes inline text symbols, defining how a text can be formatted such as indentations, table formatting, fonts, and headers. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/md). | | static readonly Odt | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt). | | static readonly Ott | Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/ott). | | static readonly Rtf | Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/rtf). | | static readonly Txt | A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt). | ### Doc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/doc.md #### WordProcessingFileType.Doc field Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc). ```csharp public static readonly WordProcessingFileType Doc; ``` ### Docm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/docm.md #### WordProcessingFileType.Docm field DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm). ```csharp public static readonly WordProcessingFileType Docm; ``` ### Docx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/docx.md #### WordProcessingFileType.Docx field DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx). ```csharp public static readonly WordProcessingFileType Docx; ``` ### Dot Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/dot.md #### WordProcessingFileType.Dot field Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot). ```csharp public static readonly WordProcessingFileType Dot; ``` ### Dotm Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/dotm.md #### WordProcessingFileType.Dotm field A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm). ```csharp public static readonly WordProcessingFileType Dotm; ``` ### Dotx Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/dotx.md #### WordProcessingFileType.Dotx field Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx). ```csharp public static readonly WordProcessingFileType Dotx; ``` ### FlatOpc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/flatopc.md #### WordProcessingFileType.FlatOpc field Flat OPC Word is Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. ```csharp public static readonly WordProcessingFileType FlatOpc; ``` ### Md Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/md.md #### WordProcessingFileType.Md field Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. MD files are saved in plain text format that uses Markdown language which also includes inline text symbols, defining how a text can be formatted such as indentations, table formatting, fonts, and headers. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/md). ```csharp public static readonly WordProcessingFileType Md; ``` ### Odt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/odt.md #### WordProcessingFileType.Odt field ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt). ```csharp public static readonly WordProcessingFileType Odt; ``` ### Ott Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/ott.md #### WordProcessingFileType.Ott field Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/ott). ```csharp public static readonly WordProcessingFileType Ott; ``` ### Rtf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/rtf.md #### WordProcessingFileType.Rtf field Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/rtf). ```csharp public static readonly WordProcessingFileType Rtf; ``` ### Txt Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/txt.md #### WordProcessingFileType.Txt field A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt). ```csharp public static readonly WordProcessingFileType Txt; ``` ### WordProcessingFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.filetypes/wordprocessingfiletype/wordprocessingfiletype.md #### WordProcessingFileType constructor Serialization constructor ```csharp public WordProcessingFileType() ``` ### GroupDocs.Conversion.Fluent Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent.md The namespace provides interfaces for fluent conversion. #### Interfaces | Interface | Description | | --- | --- | | IConversionByPageCompleted | Handle conversion page completed | | IConversionByPageCompletedOrConvert | Handle conversion completed or execute conversion | | IConversionByPageHandlerOnly | Fluent interface for setting only by-page conversion handlers. Inherits `IConversionByPageHandlersStage` for `Convert`/`Compress`; the staged `OnConversion*` overloads are kept via the `new` keyword to preserve back-compat. | | IConversionByPageHandlersStage | Flattened by-page conversion handlers stage. Per-page mirror of `IConversionHandlersStage`. | | IConversionByPageOptionsOrHandlerSetup | Fluent interface for setting by-page conversion options or handler setup. Allows setting options or handlers in any order, but only once each, or skipping both. | | IConversionCompleted | Handle conversion completed | | IConversionCompletedOrConvert | Handle conversion completed or execute conversion | | IConversionCompressResult | Can compress all conversion results in single archive | | IConversionCompressResultCompletedOrConvert | Continuation after `Compress(...)`. Proceed directly with `Convert`; the inherited Stream}) is obsolete — register the handler at the entry stage via `WithEvents` instead. | | IConversionConvert | Execute conversion | | IConversionConvertByPageOptions | Conversion convert options | | IConversionConvertOptionOrCompletedOrConvert | Conversion convert options or conversion completed or execute | | IConversionConvertOptionOrPageCompletedOrConvert | Conversion convert options or conversion completed or execute | | IConversionConvertOptions | Conversion convert options | | IConversionConvertOrCompress | Compress or convert | | IConversionFrom | Setup source for conversion | | IConversionGetDocumentInfo | Gets source document info - pages count and other document properties specific to the file type. | | IConversionGetPossibleConversions | Gets possible conversions for the source document. | | IConversionHandlerOnly | Fluent interface for setting only conversion handlers. Inherits `IConversionHandlersStage` for `Convert`/`Compress`; the staged `OnConversion*` overloads are kept via the `new` keyword to preserve the existing return types and back-compat. | | IConversionHandlersStage | Flattened conversion handlers stage. Allows setting `OnConversionCompleted` or `OnConversionFailed` in any order and any number of times, before proceeding to `Convert` / `Compress`. Events should be registered at the early stage via `WithEvents` instead of in this stage. | | IConversionIsPasswordProtected | Checks if source document is password protected | | IConversionLoadOptions | Conversion load options | | IConversionLoadOptionsOrSourceDocumentLoaded | Conversion load options or actions with loaded document | | IConversionOptionsOnly | Fluent interface for setting only conversion options. | | IConversionOptionsOrHandlerSetup | Conversion options or conversion handler setup. Exposes both the obsolete staged chain (`IConversionHandlerOnly`) and the new flat `IConversionHandlersStage`. | | IConversionSettings | Setup conversion settings or events at the entry stage (before `Load`). | | IConversionSettingsOrConversionFrom | Conversion settings or conversion source | | IConversionSourceDocumentLoaded | Provides possible actions with loaded document | | IConversionTo | Set how converted document to be stored | ### IConversionByPageCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagecompleted.md #### IConversionByPageCompleted interface Handle conversion page completed ```csharp public interface IConversionByPageCompleted ``` #### Methods | Name | Description | | --- | --- | | OnConversionCompleted(Action<ConvertedPageContext>) | Receive converted page stream. Will be fired only if "ConvertTo(convertedStreamProvider)" is set. | ### OnConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagecompleted/onconversioncompleted.md #### IConversionByPageCompleted.OnConversionCompleted method Receive converted page stream. Will be fired only if "ConvertTo(convertedStreamProvider)" is set. ```csharp public IConversionConvertOrCompress OnConversionCompleted( Action convertedPageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | convertedPageStream | Action`1 | Converted page stream provider The `ConvertedPageContext` | ##### Return Value Interface to continue conversion building ### IConversionByPageCompletedOrConvert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagecompletedorconvert.md #### IConversionByPageCompletedOrConvert interface Handle conversion completed or execute conversion ```csharp public interface IConversionByPageCompletedOrConvert : IConversionByPageCompleted, IConversionCompressResult, IConversionConvert ``` ### IConversionByPageHandlerOnly Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagehandleronly.md #### IConversionByPageHandlerOnly interface Fluent interface for setting only by-page conversion handlers. Inherits `IConversionByPageHandlersStage` for `Convert`/`Compress`; the staged `OnConversion*` overloads are kept via the `new` keyword to preserve back-compat. ```csharp public interface IConversionByPageHandlerOnly : IConversionByPageHandlersStage ``` #### Methods | Name | Description | | --- | --- | | OnConversionCompleted(Action<ConvertedPageContext>) | Registers a callback to be invoked when a page conversion completes successfully. | | OnConversionFailed(Action<ConvertedPageContext, Exception>) | Registers a callback to be invoked when a page conversion fails. | ### OnConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagehandleronly/onconversioncompleted.md #### IConversionByPageHandlerOnly.OnConversionCompleted method Registers a callback to be invoked when a page conversion completes successfully. ```csharp public IConversionByPageHandlerFailed OnConversionCompleted( Action onCompleted) ``` | Parameter | Type | Description | | --- | --- | --- | | onCompleted | Action`1 | An action to handle the completion, receiving the converted page context. | ##### Return Value Interface to continue conversion building, allowing only OnConversionFailed or Convert/Compress. ### OnConversionFailed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagehandleronly/onconversionfailed.md #### IConversionByPageHandlerOnly.OnConversionFailed method Registers a callback to be invoked when a page conversion fails. ```csharp public IConversionByPageHandlerCompleted OnConversionFailed( Action onFailed) ``` | Parameter | Type | Description | | --- | --- | --- | | onFailed | Action`2 | An action to handle the failure, receiving the converted page context and the exception that caused the failure. | ##### Return Value Interface to continue conversion building, allowing only OnConversionCompleted or Convert/Compress. ### IConversionByPageHandlersStage Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagehandlersstage.md #### IConversionByPageHandlersStage interface Flattened by-page conversion handlers stage. Per-page mirror of `IConversionHandlersStage`. ```csharp public interface IConversionByPageHandlersStage : IConversionConvertOrCompress ``` #### Methods | Name | Description | | --- | --- | | OnConversionCompleted(Action<ConvertedPageContext>) | Registers a callback to be invoked when a page conversion completes successfully. Re-invoking replaces any previously set handler. | | OnConversionFailed(Action<ConvertedPageContext, Exception>) | Registers a callback to be invoked when a page conversion fails. Re-invoking replaces any previously set handler. | ### OnConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagehandlersstage/onconversioncompleted.md #### IConversionByPageHandlersStage.OnConversionCompleted method Registers a callback to be invoked when a page conversion completes successfully. Re-invoking replaces any previously set handler. ```csharp public IConversionByPageHandlersStage OnConversionCompleted( Action onCompleted) ``` | Parameter | Type | Description | | --- | --- | --- | | onCompleted | Action`1 | An action to handle the completion, receiving the converted page context. | ##### Return Value This stage, so additional handlers or `Convert` / `Compress` may be chained. ### OnConversionFailed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypagehandlersstage/onconversionfailed.md #### IConversionByPageHandlersStage.OnConversionFailed method Registers a callback to be invoked when a page conversion fails. Re-invoking replaces any previously set handler. ```csharp public IConversionByPageHandlersStage OnConversionFailed( Action onFailed) ``` | Parameter | Type | Description | | --- | --- | --- | | onFailed | Action`2 | An action to handle the failure, receiving the converted page context and the exception that caused the failure. | ##### Return Value This stage, so additional handlers or `Convert` / `Compress` may be chained. ### IConversionByPageOptionsOrHandlerSetup Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionbypageoptionsorhandlersetup.md #### IConversionByPageOptionsOrHandlerSetup interface Fluent interface for setting by-page conversion options or handler setup. Allows setting options or handlers in any order, but only once each, or skipping both. ```csharp public interface IConversionByPageOptionsOrHandlerSetup : IConversionByPageHandlerOnly, IConversionConvertByPageOptions ``` ### IConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversioncompleted.md #### IConversionCompleted interface Handle conversion completed ```csharp public interface IConversionCompleted ``` #### Methods | Name | Description | | --- | --- | | OnConversionCompleted(Action<ConvertedContext>) | Receive converted document stream. Will be fired only if "ConvertTo(string fileName)" or ConvertTo(convertedStreamProvider)" is set. | ### OnConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversioncompleted/onconversioncompleted.md #### IConversionCompleted.OnConversionCompleted method Receive converted document stream. Will be fired only if "ConvertTo(string fileName)" or ConvertTo(convertedStreamProvider)" is set. ```csharp public IConversionConvertOrCompress OnConversionCompleted( Action convertedFileStream) ``` | Parameter | Type | Description | | --- | --- | --- | | convertedFileStream | Action`1 | Converted document stream provider The `ConvertedContext` | ##### Return Value Interface to continue conversion building ### IConversionCompletedOrConvert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversioncompletedorconvert.md #### IConversionCompletedOrConvert interface Handle conversion completed or execute conversion ```csharp public interface IConversionCompletedOrConvert : IConversionCompleted, IConversionCompressResult, IConversionConvert ``` ### IConversionCompressResult Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversioncompressresult.md #### IConversionCompressResult interface Can compress all conversion results in single archive ```csharp public interface IConversionCompressResult ``` #### Methods | Name | Description | | --- | --- | | Compress(CompressionConvertOptions) | Call this method to compress results of conversion. Register a compressed-stream handler at the entry stage via `WithEvents` (setting `OnCompressionCompleted`) rather than via the obsolete fluent chain method on the returned interface. | ### Compress Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversioncompressresult/compress.md #### IConversionCompressResult.Compress method Call this method to compress results of conversion. Register a compressed-stream handler at the entry stage via `WithEvents` (setting `OnCompressionCompleted`) rather than via the obsolete fluent chain method on the returned interface. ```csharp public IConversionCompressResultCompletedOrConvert Compress(CompressionConvertOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | options | CompressionConvertOptions | Compression convert options | ##### Return Value Continuation that proceeds to `Convert`. ### IConversionCompressResultCompletedOrConvert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversioncompressresultcompletedorconvert.md #### IConversionCompressResultCompletedOrConvert interface Continuation after `Compress(...)`. Proceed directly with `Convert`; the inherited Stream}) is obsolete — register the handler at the entry stage via `WithEvents` instead. ```csharp public interface IConversionCompressResultCompletedOrConvert : IConversionCompressResultCompleted, IConversionConvert ``` ### IConversionConvert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvert.md #### IConversionConvert interface Execute conversion ```csharp public interface IConversionConvert ``` #### Methods | Name | Description | | --- | --- | | Convert(CancellationToken) | Execute conversion chain | ### Convert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvert/convert.md #### IConversionConvert.Convert method Execute conversion chain ```csharp public void Convert(CancellationToken cancellationToken = default) ``` ### IConversionConvertByPageOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvertbypageoptions.md #### IConversionConvertByPageOptions interface Conversion convert options ```csharp public interface IConversionConvertByPageOptions ``` #### Methods | Name | Description | | --- | --- | | WithOptions(ConvertOptions) | Set convert options | | WithOptions(Func<ConvertContext, ConvertOptions>) | Set convert options | ### WithOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvertbypageoptions/withoptions.md #### WithOptions(ConvertOptions) Set convert options ```csharp public IConversionByPageHandlerSetup WithOptions(ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptions | ConvertOptions | Convert options | ##### Return Value Interface to continue conversion building #### WithOptions(Func<ConvertContext, ConvertOptions>) Set convert options ```csharp public IConversionByPageHandlerSetup WithOptions( Func convertOptionsProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptionsProvider | Func`2 | Convert options The `ConvertContext` | ##### Return Value Interface to continue conversion building ### IConversionConvertOptionOrCompletedOrConvert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvertoptionorcompletedorconvert.md #### IConversionConvertOptionOrCompletedOrConvert interface Conversion convert options or conversion completed or execute ```csharp public interface IConversionConvertOptionOrCompletedOrConvert : IConversionCompleted, IConversionCompressResult, IConversionConvert, IConversionConvertOptions ``` ### IConversionConvertOptionOrPageCompletedOrConvert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvertoptionorpagecompletedorconvert.md #### IConversionConvertOptionOrPageCompletedOrConvert interface Conversion convert options or conversion completed or execute ```csharp public interface IConversionConvertOptionOrPageCompletedOrConvert : IConversionByPageCompleted, IConversionCompressResult, IConversionConvert, IConversionConvertByPageOptions ``` ### IConversionConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvertoptions.md #### IConversionConvertOptions interface Conversion convert options ```csharp public interface IConversionConvertOptions ``` #### Methods | Name | Description | | --- | --- | | WithOptions(ConvertOptions) | Set convert options | | WithOptions(Func<ConvertContext, ConvertOptions>) | Set convert options | ### WithOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvertoptions/withoptions.md #### WithOptions(ConvertOptions) Set convert options ```csharp public IConversionHandlerSetup WithOptions(ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptions | ConvertOptions | Convert options | ##### Return Value Interface to continue conversion building #### WithOptions(Func<ConvertContext, ConvertOptions>) Set convert options ```csharp public IConversionHandlerSetup WithOptions( Func convertOptionsProvider) ``` | Parameter | Description | | --- | --- | | convertOptionsProvider | Convert options provider | | convertOptionsProvider arg1arg1 | The `ConvertContext` | ##### Return Value Interface to continue conversion building ### IConversionConvertOrCompress Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionconvertorcompress.md #### IConversionConvertOrCompress interface Compress or convert ```csharp public interface IConversionConvertOrCompress : IConversionCompressResult, IConversionConvert ``` ### IConversionFrom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionfrom.md #### IConversionFrom interface Setup source for conversion ```csharp public interface IConversionFrom ``` #### Methods | Name | Description | | --- | --- | | Load(Func<Stream>) | Set source document stream | | Load(Func<Stream[]>) | Set source documents streams array | | Load(string) | Set source document fileName | | Load(string[]) | Set source documents array | | WithEvents(Action<ConversionEvents>) | Register conversion lifecycle event handlers on a `ConversionEvents` bag that lives for the converter's lifetime and fires on every conversion run. May be called before or after `WithSettings`. Multiple calls accumulate: the same internal bag is passed to each *configure* action, so handlers set in earlier calls survive unless overwritten by a later one. | ### Load Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionfrom/load.md #### Load(string) Set source document fileName ```csharp public IConversionLoadOptionsOrSourceDocumentLoaded Load(string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String | Source document | #### Load(string[]) Set source documents array ```csharp public IConversionLoadOptionsOrSourceDocumentLoaded Load(string[] fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String[] | Set of source documents | #### Load(Func<Stream>) Set source document stream ```csharp public IConversionLoadOptionsOrSourceDocumentLoaded Load(Func documentStreamProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | Func`1 | Source document stream provider | ##### Exceptions | exception | condition | | --- | --- | | InvalidConverterSettingsException | If validation of converter settings fails this exception will be thrown | #### Load(Func<Stream[]>) Set source documents streams array ```csharp public IConversionLoadOptionsOrSourceDocumentLoaded Load(Func documentStreamProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | Func`1 | Source document streams provider | ##### Exceptions | exception | condition | | --- | --- | | InvalidConverterSettingsException | If validation of converter settings fails this exception will be thrown | ### WithEvents Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionfrom/withevents.md #### IConversionFrom.WithEvents method Register conversion lifecycle event handlers on a `ConversionEvents` bag that lives for the converter's lifetime and fires on every conversion run. May be called before or after `WithSettings`. Multiple calls accumulate: the same internal bag is passed to each *configure* action, so handlers set in earlier calls survive unless overwritten by a later one. ```csharp public IConversionFrom WithEvents(Action configure) ``` | Parameter | Type | Description | | --- | --- | --- | | configure | Action`1 | Action that mutates the events bag. | ##### Return Value This stage so that further entry-stage calls or `Load` may be chained. ### IConversionGetDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversiongetdocumentinfo.md #### IConversionGetDocumentInfo interface Gets source document info - pages count and other document properties specific to the file type. ```csharp public interface IConversionGetDocumentInfo ``` #### Methods | Name | Description | | --- | --- | | GetDocumentInfo() | Gets source document info - pages count and other document properties specific to the file type. | ### GetDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversiongetdocumentinfo/getdocumentinfo.md #### IConversionGetDocumentInfo.GetDocumentInfo method Gets source document info - pages count and other document properties specific to the file type. ```csharp public IDocumentInfo GetDocumentInfo() ``` ### IConversionGetPossibleConversions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversiongetpossibleconversions.md #### IConversionGetPossibleConversions interface Gets possible conversions for the source document. ```csharp public interface IConversionGetPossibleConversions ``` #### Methods | Name | Description | | --- | --- | | GetPossibleConversions() | Gets possible conversions for the source document. | ### GetPossibleConversions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversiongetpossibleconversions/getpossibleconversions.md #### IConversionGetPossibleConversions.GetPossibleConversions method Gets possible conversions for the source document. ```csharp public PossibleConversions GetPossibleConversions() ``` ### IConversionHandlerOnly Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionhandleronly.md #### IConversionHandlerOnly interface Fluent interface for setting only conversion handlers. Inherits `IConversionHandlersStage` for `Convert`/`Compress`; the staged `OnConversion*` overloads are kept via the `new` keyword to preserve the existing return types and back-compat. ```csharp public interface IConversionHandlerOnly : IConversionHandlersStage ``` #### Methods | Name | Description | | --- | --- | | OnConversionCompleted(Action<ConvertedContext>) | Registers a callback to be invoked when a document conversion completes successfully. | | OnConversionFailed(Action<ConvertedContext, Exception>) | Registers a callback to be invoked when a document conversion fails. | ### OnConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionhandleronly/onconversioncompleted.md #### IConversionHandlerOnly.OnConversionCompleted method Registers a callback to be invoked when a document conversion completes successfully. ```csharp public IConversionHandlerFailed OnConversionCompleted(Action onCompleted) ``` | Parameter | Type | Description | | --- | --- | --- | | onCompleted | Action`1 | An action to handle the completion, receiving the conversion context. | ##### Return Value Interface to continue conversion building, allowing only OnConversionFailed or Convert/Compress. ### OnConversionFailed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionhandleronly/onconversionfailed.md #### IConversionHandlerOnly.OnConversionFailed method Registers a callback to be invoked when a document conversion fails. ```csharp public IConversionHandlerCompleted OnConversionFailed(Action onFailed) ``` | Parameter | Type | Description | | --- | --- | --- | | onFailed | Action`2 | An action to handle the failure, receiving the conversion context and the exception that caused the failure. | ##### Return Value Interface to continue conversion building, allowing only OnConversionCompleted or Convert/Compress. ### IConversionHandlersStage Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionhandlersstage.md #### IConversionHandlersStage interface Flattened conversion handlers stage. Allows setting `OnConversionCompleted` or `OnConversionFailed` in any order and any number of times, before proceeding to `Convert` / `Compress`. Events should be registered at the early stage via `WithEvents` instead of in this stage. ```csharp public interface IConversionHandlersStage : IConversionConvertOrCompress ``` #### Methods | Name | Description | | --- | --- | | OnConversionCompleted(Action<ConvertedContext>) | Registers a callback to be invoked when a document conversion completes successfully. Re-invoking replaces any previously set handler. | | OnConversionFailed(Action<ConvertedContext, Exception>) | Registers a callback to be invoked when a document conversion fails. Re-invoking replaces any previously set handler. | ### OnConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionhandlersstage/onconversioncompleted.md #### IConversionHandlersStage.OnConversionCompleted method Registers a callback to be invoked when a document conversion completes successfully. Re-invoking replaces any previously set handler. ```csharp public IConversionHandlersStage OnConversionCompleted(Action onCompleted) ``` | Parameter | Type | Description | | --- | --- | --- | | onCompleted | Action`1 | An action to handle the completion, receiving the conversion context. | ##### Return Value This stage, so additional handlers or `Convert` / `Compress` may be chained. ### OnConversionFailed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionhandlersstage/onconversionfailed.md #### IConversionHandlersStage.OnConversionFailed method Registers a callback to be invoked when a document conversion fails. Re-invoking replaces any previously set handler. ```csharp public IConversionHandlersStage OnConversionFailed(Action onFailed) ``` | Parameter | Type | Description | | --- | --- | --- | | onFailed | Action`2 | An action to handle the failure, receiving the conversion context and the exception that caused the failure. | ##### Return Value This stage, so additional handlers or `Convert` / `Compress` may be chained. ### IConversionIsPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionispasswordprotected.md #### IConversionIsPasswordProtected interface Checks if source document is password protected ```csharp public interface IConversionIsPasswordProtected ``` #### Methods | Name | Description | | --- | --- | | IsDocumentPasswordProtected() | Checks if source document is password protected | ### IsDocumentPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionispasswordprotected/isdocumentpasswordprotected.md #### IConversionIsPasswordProtected.IsDocumentPasswordProtected method Checks if source document is password protected ```csharp public bool IsDocumentPasswordProtected() ``` ### IConversionLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionloadoptions.md #### IConversionLoadOptions interface Conversion load options ```csharp public interface IConversionLoadOptions ``` #### Methods | Name | Description | | --- | --- | | WithOptions(Func<LoadContext, LoadOptions>) | Provide load options for the document currently being loading | | WithOptions(LoadOptions) | Set load options | ### WithOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionloadoptions/withoptions.md #### WithOptions(LoadOptions) Set load options ```csharp public IConversionSourceDocumentLoaded WithOptions(LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | loadOptions | LoadOptions | Load options | #### WithOptions(Func<LoadContext, LoadOptions>) Provide load options for the document currently being loading ```csharp public IConversionSourceDocumentLoaded WithOptions( Func loadOptionsProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | loadOptionsProvider | Func`2 | Load options provider The load options context | ### IConversionLoadOptionsOrSourceDocumentLoaded Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionloadoptionsorsourcedocumentloaded.md #### IConversionLoadOptionsOrSourceDocumentLoaded interface Conversion load options or actions with loaded document ```csharp public interface IConversionLoadOptionsOrSourceDocumentLoaded : IConversionLoadOptions, IConversionSourceDocumentLoaded ``` ### IConversionOptionsOnly Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionoptionsonly.md #### IConversionOptionsOnly interface Fluent interface for setting only conversion options. ```csharp public interface IConversionOptionsOnly ``` #### Methods | Name | Description | | --- | --- | | WithOptions(ConvertOptions) | Sets conversion options for the conversion process. | | WithOptions(Func<ConvertContext, ConvertOptions>) | Sets conversion options using a provider function. | ### WithOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionoptionsonly/withoptions.md #### WithOptions(ConvertOptions) Sets conversion options for the conversion process. ```csharp public IConversionHandlerSetup WithOptions(ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptions | ConvertOptions | Conversion options. | ##### Return Value Handler setup interface to continue conversion building. #### WithOptions(Func<ConvertContext, ConvertOptions>) Sets conversion options using a provider function. ```csharp public IConversionHandlerSetup WithOptions(Func optionsProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | optionsProvider | Func`2 | A function that provides conversion options based on the conversion context. | ##### Return Value Handler setup interface to continue conversion building. ### IConversionOptionsOrHandlerSetup Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionoptionsorhandlersetup.md #### IConversionOptionsOrHandlerSetup interface Conversion options or conversion handler setup. Exposes both the obsolete staged chain (`IConversionHandlerOnly`) and the new flat `IConversionHandlersStage`. ```csharp public interface IConversionOptionsOrHandlerSetup : IConversionHandlerOnly, IConversionOptionsOnly ``` ### IConversionSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionsettings.md #### IConversionSettings interface Setup conversion settings or events at the entry stage (before `Load`). ```csharp public interface IConversionSettings ``` #### Methods | Name | Description | | --- | --- | | WithEvents(Action<ConversionEvents>) | Register conversion lifecycle event handlers on a `ConversionEvents` bag that lives for the converter's lifetime and fires on every conversion run. Sits at the same entry stage as `WithSettings`. Multiple calls accumulate: the same internal bag is passed to each *configure* action, so handlers set in earlier calls survive unless overwritten by a later one. | | WithSettings(Func<ConverterSettings>) | Set converter settings | ### WithEvents Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionsettings/withevents.md #### IConversionSettings.WithEvents method Register conversion lifecycle event handlers on a `ConversionEvents` bag that lives for the converter's lifetime and fires on every conversion run. Sits at the same entry stage as `WithSettings`. Multiple calls accumulate: the same internal bag is passed to each *configure* action, so handlers set in earlier calls survive unless overwritten by a later one. ```csharp public IConversionFrom WithEvents(Action configure) ``` | Parameter | Type | Description | | --- | --- | --- | | configure | Action`1 | Action that mutates the events bag. | ##### Return Value The source-selection stage so that `Load` may be chained. ### WithSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionsettings/withsettings.md #### IConversionSettings.WithSettings method Set converter settings ```csharp public IConversionFrom WithSettings(Func settingsProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | settingsProvider | Func`1 | Settings provider | ### IConversionSettingsOrConversionFrom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionsettingsorconversionfrom.md #### IConversionSettingsOrConversionFrom interface Conversion settings or conversion source ```csharp public interface IConversionSettingsOrConversionFrom : IConversionFrom, IConversionSettings ``` ### IConversionSourceDocumentLoaded Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionsourcedocumentloaded.md #### IConversionSourceDocumentLoaded interface Provides possible actions with loaded document ```csharp public interface IConversionSourceDocumentLoaded : IConversionGetDocumentInfo, IConversionGetPossibleConversions, IConversionIsPasswordProtected, IConversionTo ``` ### IConversionTo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionto.md #### IConversionTo interface Set how converted document to be stored ```csharp public interface IConversionTo ``` #### Methods | Name | Description | | --- | --- | | ConvertByPageTo(Func<SavePageContext, Stream>) | Save converted page as stream | | ConvertTo(Func<SaveContext, Stream>) | Save converted document as stream | | ConvertTo(string) | Save converted document as file | ### ConvertByPageTo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionto/convertbypageto.md #### IConversionTo.ConvertByPageTo method Save converted page as stream ```csharp public IConversionByPageOptionsOrHandlerSetup ConvertByPageTo( Func convertedStreamProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | convertedStreamProvider | Func`2 | Converted document page stream provider The save context | ##### Return Value Page options or handler setup interface to continue conversion building ### ConvertTo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.fluent/iconversionto/convertto.md #### ConvertTo(string) Save converted document as file ```csharp public IConversionOptionsOrHandlerSetup ConvertTo(string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String | Converted document | ##### Return Value Options or handler setup interface to continue conversion building #### ConvertTo(Func<SaveContext, Stream>) Save converted document as stream ```csharp public IConversionOptionsOrHandlerSetup ConvertTo(Func convertedStreamProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | convertedStreamProvider | Func`2 | Converted document stream provider The save context | ##### Return Value Options or handler setup interface to continue conversion building ### GroupDocs.Conversion.Integration.Audio Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.audio.md The namespace provides interfaces and classes, required for audio conversion support. #### Interfaces | Interface | Description | | --- | --- | | IAudioConnector | Defines methods that are required to convert audio to audio documents. | ### IAudioConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.audio/iaudioconnector.md #### IAudioConnector interface Defines methods that are required to convert audio to audio documents. ```csharp public interface IAudioConnector ``` #### Methods | Name | Description | | --- | --- | | ConvertAudio(Stream, AudioConvertOptions) | Does the Audio conversion provided as a stream. | ### ConvertAudio Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.audio/iaudioconnector/convertaudio.md #### IAudioConnector.ConvertAudio method Does the Audio conversion provided as a stream. ```csharp public Stream ConvertAudio(Stream sourceStream, AudioConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStream | Stream | Stream, containing an audio to process | | convertOptions | AudioConvertOptions | Audio convert options | ##### Return Value Converted audio ### GroupDocs.Conversion.Integration.Heic Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.heic.md The namespace provides interfaces and classes, required for heic conversion support. #### Interfaces | Interface | Description | | --- | --- | | IHeicConnector | Defines methods that are required to convert from Heic image. | ### IHeicConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.heic/iheicconnector.md #### IHeicConnector interface Defines methods that are required to convert from Heic image. ```csharp public interface IHeicConnector ``` #### Methods | Name | Description | | --- | --- | | GetBitmapInfo(Stream) | Convert Heic image to raster image | ### GetBitmapInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.heic/iheicconnector/getbitmapinfo.md #### IHeicConnector.GetBitmapInfo method Convert Heic image to raster image ```csharp public BitmapInfo GetBitmapInfo(Stream heicStream) ``` | Parameter | Type | Description | | --- | --- | --- | | heicStream | Stream | Stream, containing an image to process | ##### Return Value Object containing array of pixels and bitmap information. ### GroupDocs.Conversion.Integration.Ocr Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr.md The namespace provides interfaces and classes, required for Optical Character Recognition (OCR) support. #### Classes | Class | Description | | --- | --- | | RecognizedImage | Represents text, extracted from an image as a result of its recognition process. | | TextFragment | Represents a part of recognized text (word, symbol, etc), extracted by OCR engine. | | TextLine | Represents text, extracted from an image as a result of its recognition process. | #### Interfaces | Interface | Description | | --- | --- | | IOcrConnector | Defines methods that are required to apply OCR to image documents and embedded images. | ### IOcrConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/iocrconnector.md #### IOcrConnector interface Defines methods that are required to apply OCR to image documents and embedded images. ```csharp public interface IOcrConnector ``` #### Methods | Name | Description | | --- | --- | | Recognize(Stream) | Does the OCR processing of an image, provided as a stream. | ### Recognize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/iocrconnector/recognize.md #### IOcrConnector.Recognize method Does the OCR processing of an image, provided as a stream. ```csharp public RecognizedImage Recognize(Stream imageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | imageStream | Stream | Stream, containing an image to process | ##### Return Value Structured recognized text, containing lines, words and their bounding rectangles ### RecognizedImage Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/recognizedimage.md #### RecognizedImage class Represents text, extracted from an image as a result of its recognition process. ```csharp public class RecognizedImage ``` #### Constructors | Name | Description | | --- | --- | | RecognizedImage(IEnumerable<TextLine>) | Initializes a new instance of the class, using a set of recognized lines. | #### Properties | Name | Description | | --- | --- | | Lines { get; } | Gets lines of text, with their fragments, recognized within the document. | | Text { get; } | Gets textual equivalent of the structured text | #### Fields | Name | Description | | --- | --- | | static readonly Empty | Empty recognized image | ### Empty Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/recognizedimage/empty.md #### RecognizedImage.Empty field Empty recognized image ```csharp public static readonly RecognizedImage Empty; ``` ### Lines Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/recognizedimage/lines.md #### RecognizedImage.Lines property Gets lines of text, with their fragments, recognized within the document. ```csharp public TextLine[] Lines { get; } ``` ### RecognizedImage Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/recognizedimage/recognizedimage.md #### RecognizedImage constructor Initializes a new instance of the class, using a set of recognized lines. ```csharp public RecognizedImage(IEnumerable lines) ``` | Parameter | Type | Description | | --- | --- | --- | | lines | IEnumerable`1 | an IEnumerable (e.g. a list or an array) of recognized lines | ### Text Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/recognizedimage/text.md #### RecognizedImage.Text property Gets textual equivalent of the structured text ```csharp public string Text { get; } ``` ### TextFragment Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/textfragment.md #### TextFragment class Represents a part of recognized text (word, symbol, etc), extracted by OCR engine. ```csharp public class TextFragment ``` #### Constructors | Name | Description | | --- | --- | | TextFragment(string, Rectangle) | Initializes a new instance of the recognized text fragment. | #### Properties | Name | Description | | --- | --- | | Rectangle { get; } | Gets a bounding rectangle of the recognized text fragment. | | Text { get; } | Gets a textual content of the recognized text fragment. | ### Rectangle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/textfragment/rectangle.md #### TextFragment.Rectangle property Gets a bounding rectangle of the recognized text fragment. ```csharp public Rectangle Rectangle { get; } ``` ### Text Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/textfragment/text.md #### TextFragment.Text property Gets a textual content of the recognized text fragment. ```csharp public string Text { get; } ``` ### TextFragment Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/textfragment/textfragment.md #### TextFragment constructor Initializes a new instance of the recognized text fragment. ```csharp public TextFragment(string text, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | textual content of the recognized text fragment | | rectangle | Rectangle | bounding rectangle of the recognized text fragment | ### TextLine Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/textline.md #### TextLine class Represents text, extracted from an image as a result of its recognition process. ```csharp public class TextLine ``` #### Constructors | Name | Description | | --- | --- | | TextLine(IEnumerable<TextFragment>) | Initializes a new instance of a line of text, extracted by OCR engine from an image. | #### Properties | Name | Description | | --- | --- | | Fragments { get; } | Gets an array of text fragments, such as symbols and words, recognized in the line. | ### Fragments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/textline/fragments.md #### TextLine.Fragments property Gets an array of text fragments, such as symbols and words, recognized in the line. ```csharp public TextFragment[] Fragments { get; } ``` ### TextLine Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.ocr/textline/textline.md #### TextLine constructor Initializes a new instance of a line of text, extracted by OCR engine from an image. ```csharp public TextLine(IEnumerable fragments) ``` | Parameter | Type | Description | | --- | --- | --- | | fragments | IEnumerable`1 | initial set of text fragments | ### GroupDocs.Conversion.Integration.Video Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.video.md The namespace provides interfaces and classes, required for video conversion support. #### Interfaces | Interface | Description | | --- | --- | | IPresentationVideoConnector | Defines methods that are required to convert presentation documents to video. | | IVideoConnector | Defines methods that are required to convert video documents. | ### IPresentationVideoConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.video/ipresentationvideoconnector.md #### IPresentationVideoConnector interface Defines methods that are required to convert presentation documents to video. ```csharp public interface IPresentationVideoConnector ``` #### Methods | Name | Description | | --- | --- | | CreateVideoFromPngFrames(List<Stream>, VideoConvertOptions) | Combines a list of PNG frames into a video. | ### CreateVideoFromPngFrames Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.video/ipresentationvideoconnector/createvideofrompngframes.md #### IPresentationVideoConnector.CreateVideoFromPngFrames method Combines a list of PNG frames into a video. ```csharp public Stream CreateVideoFromPngFrames(List pngFrames, VideoConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | pngFrames | List`1 | List of PNG frames | | convertOptions | VideoConvertOptions | Video convert options | ##### Return Value Converted video ### IVideoConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.video/ivideoconnector.md #### IVideoConnector interface Defines methods that are required to convert video documents. ```csharp public interface IVideoConnector ``` #### Methods | Name | Description | | --- | --- | | ConvertVideo(Stream, VideoConvertOptions) | Does the Video conversion provided as a stream. | ### ConvertVideo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.integration.video/ivideoconnector/convertvideo.md #### IVideoConnector.ConvertVideo method Does the Video conversion provided as a stream. ```csharp public Stream ConvertVideo(Stream sourceStream, VideoConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStream | Stream | Stream, containing an video to process | | convertOptions | VideoConvertOptions | Video convert options | ##### Return Value Converted video ### GroupDocs.Conversion.Logging Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging.md The namespace provides classes for customizing logging behaviour. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Console logger implementation. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | Defines the methods that are used to perform logging. | ### ConsoleLogger Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/consolelogger.md #### ConsoleLogger class Console logger implementation. ```csharp public sealed class ConsoleLogger : ILogger ``` #### Constructors | Name | Description | | --- | --- | | ConsoleLogger() | The default constructor. | #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | | Trace(string) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | Warning(string) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | ### ConsoleLogger Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/consolelogger/consolelogger.md #### ConsoleLogger constructor The default constructor. ```csharp public ConsoleLogger() ``` ### Error Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/consolelogger/error.md #### ConsoleLogger.Error method Writes error log message; Error log messages provides information about unrecoverable events in application flow. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The exception. | ### Trace Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/consolelogger/trace.md #### ConsoleLogger.Trace method Writes trace log message; Trace log messages provides generally useful information about application flow. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The trace message. | ### Warning Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/consolelogger/warning.md #### ConsoleLogger.Warning method Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The warning message. | ### ILogger Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/ilogger.md #### ILogger interface Defines the methods that are used to perform logging. ```csharp public interface ILogger ``` #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | | Trace(string) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | Warning(string) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | ### Error Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/ilogger/error.md #### ILogger.Error method Writes error log message; Error log messages provides information about unrecoverable events in application flow. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The exception. | ### Trace Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/ilogger/trace.md #### ILogger.Trace method Writes trace log message; Trace log messages provides generally useful information about application flow. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The trace message. | ### Warning Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.logging/ilogger/warning.md #### ILogger.Warning method Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The warning message. | ### GroupDocs.Conversion.Options.Convert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert.md The namespace provides classes to specify additional options for document conversion process. #### Classes | Class | Description | | --- | --- | | AudioConvertOptions | Options for conversion to Audio type. | | CadConvertOptions | Options for conversion to Cad type. | | CommonConvertOptions<TFileType> | Abstract generic common conversion options class. | | CompressionConvertOptions | Options for conversion to Compression file type. | | ConvertOptions | The general conversion options class. | | ConvertOptions<TFileType> | Abstract generic conversion options class. | | DiagramConvertOptions | Options for conversion to Diagram file type. | | EBookConvertOptions | Options for conversion to EBook file type. | | EmailConvertOptions | Options for conversion to Email file type. | | FinanceConvertOptions | Options for conversion to finance type. | | Font | Font settings | | FontConvertOptions | Options for conversion to Font type. | | GisConvertOptions | Options for conversion to GIS type. | | ImageConvertOptions | Options for conversion to Image file type. | | ImageFlipModes | Describes image flip modes. | | JpegOptions | Options for conversion to Jpeg file type. | | JpgColorModes | Describes Jpg color modes enumeration. | | JpgCompressionMethods | Describes Jpg compression modes | | MarkdownImageSavingArgs | Arguments passed to `ImageSaving`. | | MarkdownOptions | Options for conversion to markdown file type. | | NoConvertOptions | Special convert option class, which instructs converter to copy source document without any processing | | PageDescriptionLanguageConvertOptions | Options for conversion to page descriptions language file type. | | PageOrientation | Specifies page orientation | | PageResizeMode | Specifies how content should be scaled when page size is changed | | PdfConvertOptions | Options for conversion to Pdf file type. | | PdfDirection | Describes Pdf text direction. | | PdfDocumentInfo | Represents meta information of PDF document. | | PdfFontSubsetStrategy | Specifies font subsetting strategy | | PdfFormats | Describes Pdf formats enumeration. | | PdfFormattingOptions | Defines Pdf formatting options. | | PdfOptimizationOptions | Defines Pdf optimization options. | | PdfOptions | Options for conversion to Pdf file type. | | PdfPageLayout | Describes Pdf page layout. | | PdfPageMode | Describes Pdf page mode | | PdfRecognitionMode | Allows to control how a PDF document is converted into a word processing document. | | PresentationConvertOptions | Describes options for conversion to Presentation file type. | | ProjectManagementConvertOptions | Options for conversion to Project management file type. | | PsdColorModes | Defines Psd color modes enumeration. | | PsdCompressionMethods | Describes Psd compression methods. | | PsdOptions | Options for converting to Psd file type. | | Rotation | Describes page rotation enumeration | | RtfOptions | Options for conversion to RTF file type. | | SpreadsheetConvertOptions | Options for conversion to Spreadsheet file type. | | ThreeDConvertOptions | Options for conversion to 3D type. | | TiffCompressionMethods | Describes Tiff compression methods enumeration. | | TiffOptions | Options for conversion to TIFF file type. | | VideoConvertOptions | Options for conversion to Video type. | | WatermarkImageOptions | Options for settings watermark to the converted document | | WatermarkOptions | Options for settings watermark to the converted document | | WatermarkTextOptions | Options for settings text watermark to the converted document | | WebConvertOptions | Options for conversion to Web file type. | | WebpOptions | Options for conversion to Webp file type. | | WordProcessingConvertOptions | Options for conversion to WordProcessing file type. | #### Interfaces | Interface | Description | | --- | --- | | IConvertOptions | Represents convert options | | IDpiConvertOptions | Represents convert options that support DPI (Dots Per Inch) settings. | | IMarkdownImageSavingCallback | Handles custom processing of images while saving to Markdown. Invoked once per image; mutate `MarkdownImageSavingArgs` to control the URI embedded in the Markdown output and/or redirect where the image bytes are written. | | IPagedConvertOptions | Represents convert options that allows conversion to perform page limitation by specifying start page and pages count | | IPageRangedConvertOptions | Represents convert options that support conversion of specific list of pages | | IPasswordConvertOptions | Represents convert options that support password protection for converted documents. | | IPdfRecognitionModeOptions | Represents convert options that control recognition mode when converting from PDF | | IUsePdfConvertOptions | Represents options that support converting to PDF if required | | IWatermarkedConvertOptions | Represents convert options that allow output of conversion to be watermarked | | IZoomConvertOptions | Represents convert options that allows conversion to be performed with zoom options | ### AudioConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/audioconvertoptions.md #### AudioConvertOptions class Options for conversion to Audio type. ```csharp public class AudioConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | AudioConvertOptions() | Initializes new instance of `AudioConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AudioConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/audioconvertoptions/audioconvertoptions.md #### AudioConvertOptions constructor Initializes new instance of `AudioConvertOptions` class. ```csharp public AudioConvertOptions() ``` ### CadConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/cadconvertoptions.md #### CadConvertOptions class Options for conversion to Cad type. ```csharp public class CadConvertOptions : ConvertOptions, IPagedConvertOptions, IPageSizeOptions ``` #### Constructors | Name | Description | | --- | --- | | CadConvertOptions() | Initializes new instance of `CadConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | PagesCount { get; set; } | Implements `PagesCount` | | SizeSettings { get; set; } | Page size settings | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### CadConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/cadconvertoptions/cadconvertoptions.md #### CadConvertOptions constructor Initializes new instance of `CadConvertOptions` class. ```csharp public CadConvertOptions() ``` ### PageNumber Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/cadconvertoptions/pagenumber.md #### CadConvertOptions.PageNumber property Implements `PageNumber` ```csharp public int PageNumber { get; set; } ``` ### PagesCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/cadconvertoptions/pagescount.md #### CadConvertOptions.PagesCount property Implements `PagesCount` ```csharp public int PagesCount { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/cadconvertoptions/sizesettings.md #### CadConvertOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### CommonConvertOptionsTFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/commonconvertoptions-1.md #### CommonConvertOptions<TFileType> class Abstract generic common conversion options class. ```csharp public abstract class CommonConvertOptions : ConvertOptions, IPagedConvertOptions, IPageRangedConvertOptions, IWatermarkedConvertOptions where TFileType : FileType ``` #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | Watermark { get; set; } | Implements `Watermark` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### PageNumber Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/commonconvertoptions-1/pagenumber.md #### CommonConvertOptions<TFileType>.PageNumber property Implements `PageNumber` ```csharp public int PageNumber { get; set; } ``` ### Pages Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/commonconvertoptions-1/pages.md #### CommonConvertOptions<TFileType>.Pages property Implements `Pages` ```csharp public List Pages { get; set; } ``` ### PagesCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/commonconvertoptions-1/pagescount.md #### CommonConvertOptions<TFileType>.PagesCount property Implements `PagesCount` ```csharp public int PagesCount { get; set; } ``` ### Watermark Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/commonconvertoptions-1/watermark.md #### CommonConvertOptions<TFileType>.Watermark property Implements `Watermark` ```csharp public WatermarkOptions Watermark { get; set; } ``` ### CompressionConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/compressionconvertoptions.md #### CompressionConvertOptions class Options for conversion to Compression file type. ```csharp public class CompressionConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | CompressionConvertOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | Password { get; set; } | Set this property if you want to protect the converted document with a password. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### CompressionConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/compressionconvertoptions/compressionconvertoptions.md #### CompressionConvertOptions constructor The default constructor. ```csharp public CompressionConvertOptions() ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/compressionconvertoptions/password.md #### CompressionConvertOptions.Password property Set this property if you want to protect the converted document with a password. ```csharp public string Password { get; set; } ``` ### ConvertOptionsTFileType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/convertoptions-1.md #### ConvertOptions<TFileType> class Abstract generic conversion options class. ```csharp public abstract class ConvertOptions : ConvertOptions where TFileType : FileType ``` #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/convertoptions-1/format.md #### ConvertOptions<TFileType>.Format property The desired file type the input document should be converted to. ```csharp public TFileType Format { get; set; } ``` ### ConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/convertoptions.md #### ConvertOptions class The general conversion options class. ```csharp public abstract class ConvertOptions : ValueObject, ICloneable, IConvertOptions ``` #### Properties | Name | Description | | --- | --- | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/convertoptions/clone.md #### ConvertOptions.Clone method Clones current options instance. ```csharp public object Clone() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/convertoptions/format.md #### ConvertOptions.Format property Implements `Format` ```csharp public virtual FileType Format { get; set; } ``` ### DiagramConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/diagramconvertoptions.md #### DiagramConvertOptions class Options for conversion to Diagram file type. ```csharp public sealed class DiagramConvertOptions : CommonConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | DiagramConvertOptions() | Initializes new instance of `DiagramConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | AutoFitPageToDrawingContent { get; set; } | Defines whether need enlarge page to fit drawing content or not | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | Watermark { get; set; } | Implements `Watermark` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AutoFitPageToDrawingContent Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/diagramconvertoptions/autofitpagetodrawingcontent.md #### DiagramConvertOptions.AutoFitPageToDrawingContent property Defines whether need enlarge page to fit drawing content or not ```csharp public bool AutoFitPageToDrawingContent { get; set; } ``` ### DiagramConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/diagramconvertoptions/diagramconvertoptions.md #### DiagramConvertOptions constructor Initializes new instance of `DiagramConvertOptions` class. ```csharp public DiagramConvertOptions() ``` ### EBookConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ebookconvertoptions.md #### EBookConvertOptions class Options for conversion to EBook file type. ```csharp public class EBookConvertOptions : CommonConvertOptions, IPageOrientationOptions, IPageSizeOptions ``` #### Constructors | Name | Description | | --- | --- | | EBookConvertOptions() | Initializes new instance of `EBookConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | FallbackPageSize { get; set; } | Fallback page size | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | OrientationSettings { get; set; } | Page orientation settings | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | SizeSettings { get; set; } | Page size settings | | Watermark { get; set; } | Implements `Watermark` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### EBookConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ebookconvertoptions/ebookconvertoptions.md #### EBookConvertOptions constructor Initializes new instance of `EBookConvertOptions` class. ```csharp public EBookConvertOptions() ``` ### FallbackPageSize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ebookconvertoptions/fallbackpagesize.md #### EBookConvertOptions.FallbackPageSize property Fallback page size ```csharp public PageSize FallbackPageSize { get; set; } ``` ### OrientationSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ebookconvertoptions/orientationsettings.md #### EBookConvertOptions.OrientationSettings property Page orientation settings ```csharp public PageOrientation OrientationSettings { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ebookconvertoptions/sizesettings.md #### EBookConvertOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### EmailConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/emailconvertoptions.md #### EmailConvertOptions class Options for conversion to Email file type. ```csharp public class EmailConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | EmailConvertOptions() | Initializes new instance of `EmailConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | AttachmentContentHandler { get; set; } | A delegate to handle custom processing of email attachments. The delegate takes the attachment name, content type and original attachment stream as parameters and returns the modified attachment stream. | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AttachmentContentHandler Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/emailconvertoptions/attachmentcontenthandler.md #### EmailConvertOptions.AttachmentContentHandler property A delegate to handle custom processing of email attachments. The delegate takes the attachment name, content type and original attachment stream as parameters and returns the modified attachment stream. ```csharp public Func AttachmentContentHandler { get; set; } ``` ### EmailConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/emailconvertoptions/emailconvertoptions.md #### EmailConvertOptions constructor Initializes new instance of `EmailConvertOptions` class. ```csharp public EmailConvertOptions() ``` ### FinanceConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/financeconvertoptions.md #### FinanceConvertOptions class Options for conversion to finance type. ```csharp public class FinanceConvertOptions : ConvertOptions, IPagedConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | FinanceConvertOptions() | Initializes new instance of `FinanceConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | PagesCount { get; set; } | Implements `PagesCount` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### FinanceConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/financeconvertoptions/financeconvertoptions.md #### FinanceConvertOptions constructor Initializes new instance of `FinanceConvertOptions` class. ```csharp public FinanceConvertOptions() ``` ### PageNumber Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/financeconvertoptions/pagenumber.md #### FinanceConvertOptions.PageNumber property Implements `PageNumber` ```csharp public int PageNumber { get; set; } ``` ### PagesCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/financeconvertoptions/pagescount.md #### FinanceConvertOptions.PagesCount property Implements `PagesCount` ```csharp public int PagesCount { get; set; } ``` ### Font Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/font.md #### Font class Font settings ```csharp public class Font : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | Font(string) | creates new Font instance with default size 12 | | Font(string, float) | creates new Font instance | #### Properties | Name | Description | | --- | --- | | Bold { get; set; } | Font bold | | FamilyName { get; } | Font family name | | Italic { get; set; } | Font italic | | Size { get; } | Font size | | Underline { get; set; } | Font underline | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Bold Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/font/bold.md #### Font.Bold property Font bold ```csharp public bool Bold { get; set; } ``` ### FamilyName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/font/familyname.md #### Font.FamilyName property Font family name ```csharp public string FamilyName { get; } ``` ### Font Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/font/font.md #### Font(string) creates new Font instance with default size 12 ```csharp public Font(string fontFamilyName) ``` | Parameter | Type | Description | | --- | --- | --- | | fontFamilyName | String | Font name | #### Font(string, float) creates new Font instance ```csharp public Font(string fontFamilyName, float size) ``` | Parameter | Type | Description | | --- | --- | --- | | fontFamilyName | String | Font name | | size | Single | Font size | ### Italic Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/font/italic.md #### Font.Italic property Font italic ```csharp public bool Italic { get; set; } ``` ### Size Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/font/size.md #### Font.Size property Font size ```csharp public float Size { get; } ``` ### Underline Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/font/underline.md #### Font.Underline property Font underline ```csharp public bool Underline { get; set; } ``` ### FontConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/fontconvertoptions.md #### FontConvertOptions class Options for conversion to Font type. ```csharp public class FontConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | FontConvertOptions() | Initializes a new instance of the `FontConvertOptions` class with default output format. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### FontConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/fontconvertoptions/fontconvertoptions.md #### FontConvertOptions constructor Initializes a new instance of the `FontConvertOptions` class with default output format. ```csharp public FontConvertOptions() ``` ### GisConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/gisconvertoptions.md #### GisConvertOptions class Options for conversion to GIS type. ```csharp public class GisConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | GisConvertOptions() | Initializes new instance of `GisConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### GisConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/gisconvertoptions/gisconvertoptions.md #### GisConvertOptions constructor Initializes new instance of `GisConvertOptions` class. ```csharp public GisConvertOptions() ``` ### IConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/iconvertoptions.md #### IConvertOptions interface Represents convert options ```csharp public interface IConvertOptions ``` #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/iconvertoptions/format.md #### IConvertOptions.Format property The desired file type the input document should be converted to. ```csharp public FileType Format { get; set; } ``` ### IDpiConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/idpiconvertoptions.md #### IDpiConvertOptions interface Represents convert options that support DPI (Dots Per Inch) settings. ```csharp public interface IDpiConvertOptions : IConvertOptions ``` #### Properties | Name | Description | | --- | --- | | Dpi { get; set; } | Desired page DPI after conversion. | ### Dpi Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/idpiconvertoptions/dpi.md #### IDpiConvertOptions.Dpi property Desired page DPI after conversion. ```csharp public int Dpi { get; set; } ``` ### ImageConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions.md #### ImageConvertOptions class Options for conversion to Image file type. ```csharp public sealed class ImageConvertOptions : CommonConvertOptions, IUsePdfConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | ImageConvertOptions() | Initializes new instance of `ImageConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Sets background color where supported by the source format | | Brightness { get; set; } | Adjusts image brightness. | | Contrast { get; set; } | Adjusts image contrast. | | CropArea { get; set; } | Crop raster image area after conversion | | FlipMode { get; set; } | Image flip mode. | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | Gamma { get; set; } | Adjusts image gamma. | | Grayscale { get; set; } | Indicates whether to convert into grayscale image. | | Height { get; set; } | Desired image height after conversion. | | HorizontalResolution { get; set; } | Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. | | JpegOptions { get; set; } | Jpeg specific convert options. | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | PsdOptions { get; set; } | Psd specific convert options. | | RotateAngle { get; set; } | Image rotation angle. | | TiffOptions { get; set; } | Tiff specific convert options. | | UsePdf { get; set; } | If `true`, the input firstly is converted to PDF and after that to desired format | | VerticalResolution { get; set; } | Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. | | Watermark { get; set; } | Implements `Watermark` | | WebpOptions { get; set; } | Webp specific convert options. | | Width { get; set; } | Desired image width after conversion. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### BackgroundColor Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/backgroundcolor.md #### ImageConvertOptions.BackgroundColor property Sets background color where supported by the source format ```csharp public Color? BackgroundColor { get; set; } ``` ### Brightness Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/brightness.md #### ImageConvertOptions.Brightness property Adjusts image brightness. ```csharp public int Brightness { get; set; } ``` ### Contrast Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/contrast.md #### ImageConvertOptions.Contrast property Adjusts image contrast. ```csharp public int Contrast { get; set; } ``` ### CropArea Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/croparea.md #### ImageConvertOptions.CropArea property Crop raster image area after conversion ```csharp public Rectangle CropArea { get; set; } ``` ### FlipMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/flipmode.md #### ImageConvertOptions.FlipMode property Image flip mode. ```csharp public ImageFlipModes FlipMode { get; set; } ``` ### Gamma Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/gamma.md #### ImageConvertOptions.Gamma property Adjusts image gamma. ```csharp public float Gamma { get; set; } ``` ### Grayscale Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/grayscale.md #### ImageConvertOptions.Grayscale property Indicates whether to convert into grayscale image. ```csharp public bool Grayscale { get; set; } ``` ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/height.md #### ImageConvertOptions.Height property Desired image height after conversion. ```csharp public int Height { get; set; } ``` ### HorizontalResolution Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/horizontalresolution.md #### ImageConvertOptions.HorizontalResolution property Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. ```csharp public int HorizontalResolution { get; set; } ``` ### ImageConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/imageconvertoptions.md #### ImageConvertOptions constructor Initializes new instance of `ImageConvertOptions` class. ```csharp public ImageConvertOptions() ``` ### JpegOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/jpegoptions.md #### ImageConvertOptions.JpegOptions property Jpeg specific convert options. ```csharp public JpegOptions JpegOptions { get; set; } ``` ### PsdOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/psdoptions.md #### ImageConvertOptions.PsdOptions property Psd specific convert options. ```csharp public PsdOptions PsdOptions { get; set; } ``` ### RotateAngle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/rotateangle.md #### ImageConvertOptions.RotateAngle property Image rotation angle. ```csharp public int RotateAngle { get; set; } ``` ### TiffOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/tiffoptions.md #### ImageConvertOptions.TiffOptions property Tiff specific convert options. ```csharp public TiffOptions TiffOptions { get; set; } ``` ### UsePdf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/usepdf.md #### ImageConvertOptions.UsePdf property If `true`, the input firstly is converted to PDF and after that to desired format ```csharp public bool UsePdf { get; set; } ``` ### VerticalResolution Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/verticalresolution.md #### ImageConvertOptions.VerticalResolution property Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. ```csharp public int VerticalResolution { get; set; } ``` ### WebpOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/webpoptions.md #### ImageConvertOptions.WebpOptions property Webp specific convert options. ```csharp public WebpOptions WebpOptions { get; set; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageconvertoptions/width.md #### ImageConvertOptions.Width property Desired image width after conversion. ```csharp public int Width { get; set; } ``` ### ImageFlipModes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageflipmodes.md #### ImageFlipModes class Describes image flip modes. ```csharp public class ImageFlipModes : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly FlipX | Horizontal flip. | | static readonly FlipXY | Flip horizontal and vertical. | | static readonly FlipY | Flip vertical. | | static readonly None | No flipping. | ### FlipX Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageflipmodes/flipx.md #### ImageFlipModes.FlipX field Horizontal flip. ```csharp public static readonly ImageFlipModes FlipX; ``` ### FlipXY Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageflipmodes/flipxy.md #### ImageFlipModes.FlipXY field Flip horizontal and vertical. ```csharp public static readonly ImageFlipModes FlipXY; ``` ### FlipY Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageflipmodes/flipy.md #### ImageFlipModes.FlipY field Flip vertical. ```csharp public static readonly ImageFlipModes FlipY; ``` ### None Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imageflipmodes/none.md #### ImageFlipModes.None field No flipping. ```csharp public static readonly ImageFlipModes None; ``` ### IMarkdownImageSavingCallback Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imarkdownimagesavingcallback.md #### IMarkdownImageSavingCallback interface Handles custom processing of images while saving to Markdown. Invoked once per image; mutate `MarkdownImageSavingArgs` to control the URI embedded in the Markdown output and/or redirect where the image bytes are written. ```csharp public interface IMarkdownImageSavingCallback ``` #### Methods | Name | Description | | --- | --- | | ImageSaving(MarkdownImageSavingArgs) | Called for each image being written to the Markdown document. | ##### Examples Scenario 1 — capture image bytes in memory and embed placeholder ids (useful when the caller wants to store images elsewhere or post-process them): ```csharp class CaptureImagesCallback : IMarkdownImageSavingCallback { private int _index; private readonly Dictionary _images; public CaptureImagesCallback(Dictionary images) => _images = images; public void ImageSaving(MarkdownImageSavingArgs args) { var id = $"image{_index++}"; var buffer = new MemoryStream(); _images[id] = buffer; args.ImageStream = buffer; // redirect image bytes into our buffer args.ImageFileName = id; // placeholder URI written into the .md args.KeepImageStreamOpen = true; // keep buffer readable after Convert() returns } } var captured = new Dictionary(); try { var options = new WordProcessingConvertOptions { Format = WordProcessingFileType.Md }; options.MarkdownOptions.ImageSavingCallback = new CaptureImagesCallback(captured); using var converter = new Converter("source.pdf"); converter.Convert("output.md", options); // captured["image0"], captured["image1"], ... now hold the image bytes } finally { foreach (var s in captured.Values) s.Dispose(); // caller owns the streams } ``` Scenario 2 — persist images to disk alongside the .md and reference them by file name: ```csharp class FileImagesCallback : IMarkdownImageSavingCallback { private readonly string _outputFolder; private int _index; public FileImagesCallback(string outputFolder) => _outputFolder = outputFolder; public void ImageSaving(MarkdownImageSavingArgs args) { var fileName = $"image{_index++}.png"; args.ImageStream = new FileStream(Path.Combine(_outputFolder, fileName), FileMode.Create); args.ImageFileName = fileName; // written into the .md as ![](image0.png) // KeepImageStreamOpen left at default (false) → the converter flushes and closes the file. } } var options = new WordProcessingConvertOptions { Format = WordProcessingFileType.Md }; options.MarkdownOptions.ImageSavingCallback = new FileImagesCallback("./out"); using var converter = new Converter("source.pdf"); converter.Convert("./out/output.md", options); // ./out/image0.png, ./out/image1.png, ... are written and closed by the converter. ``` ### ImageSaving Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/imarkdownimagesavingcallback/imagesaving.md #### IMarkdownImageSavingCallback.ImageSaving method Called for each image being written to the Markdown document. ```csharp public void ImageSaving(MarkdownImageSavingArgs args) ``` | Parameter | Type | Description | | --- | --- | --- | | args | MarkdownImageSavingArgs | Mutable arguments describing the current image. | ### IPagedConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipagedconvertoptions.md #### IPagedConvertOptions interface Represents convert options that allows conversion to perform page limitation by specifying start page and pages count ```csharp public interface IPagedConvertOptions : IConvertOptions ``` #### Properties | Name | Description | | --- | --- | | PageNumber { get; set; } | The page number to start conversion from. | | PagesCount { get; set; } | Number of pages to convert starting from `PageNumber`. | ### PageNumber Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipagedconvertoptions/pagenumber.md #### IPagedConvertOptions.PageNumber property The page number to start conversion from. ```csharp public int PageNumber { get; set; } ``` ##### Remarks default is 1 ### PagesCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipagedconvertoptions/pagescount.md #### IPagedConvertOptions.PagesCount property Number of pages to convert starting from `PageNumber`. ```csharp public int PagesCount { get; set; } ``` ### IPageRangedConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipagerangedconvertoptions.md #### IPageRangedConvertOptions interface Represents convert options that support conversion of specific list of pages ```csharp public interface IPageRangedConvertOptions : IConvertOptions ``` #### Properties | Name | Description | | --- | --- | | Pages { get; set; } | The list of page indexes to be converted. Should be specified to convert specific pages. | ### Pages Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipagerangedconvertoptions/pages.md #### IPageRangedConvertOptions.Pages property The list of page indexes to be converted. Should be specified to convert specific pages. ```csharp public List Pages { get; set; } ``` ### IPasswordConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipasswordconvertoptions.md #### IPasswordConvertOptions interface Represents convert options that support password protection for converted documents. ```csharp public interface IPasswordConvertOptions ``` #### Properties | Name | Description | | --- | --- | | Password { get; set; } | Set this property if you want to protect the converted document with a password. | ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipasswordconvertoptions/password.md #### IPasswordConvertOptions.Password property Set this property if you want to protect the converted document with a password. ```csharp public string Password { get; set; } ``` ### IPdfRecognitionModeOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipdfrecognitionmodeoptions.md #### IPdfRecognitionModeOptions interface Represents convert options that control recognition mode when converting from PDF ```csharp public interface IPdfRecognitionModeOptions ``` #### Properties | Name | Description | | --- | --- | | PdfRecognitionMode { get; set; } | Recognition mode when converting from pdf | ### PdfRecognitionMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/ipdfrecognitionmodeoptions/pdfrecognitionmode.md #### IPdfRecognitionModeOptions.PdfRecognitionMode property Recognition mode when converting from pdf ```csharp public PdfRecognitionMode PdfRecognitionMode { get; set; } ``` ### IUsePdfConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/iusepdfconvertoptions.md #### IUsePdfConvertOptions interface Represents options that support converting to PDF if required ```csharp public interface IUsePdfConvertOptions ``` #### Properties | Name | Description | | --- | --- | | UsePdf { get; set; } | If `true`, the input firstly is converted to PDF and after that to desired format | ### UsePdf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/iusepdfconvertoptions/usepdf.md #### IUsePdfConvertOptions.UsePdf property If `true`, the input firstly is converted to PDF and after that to desired format ```csharp public bool UsePdf { get; set; } ``` ### IWatermarkedConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/iwatermarkedconvertoptions.md #### IWatermarkedConvertOptions interface Represents convert options that allow output of conversion to be watermarked ```csharp public interface IWatermarkedConvertOptions : IConvertOptions ``` #### Properties | Name | Description | | --- | --- | | Watermark { get; set; } | Watermark specific options | ### Watermark Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/iwatermarkedconvertoptions/watermark.md #### IWatermarkedConvertOptions.Watermark property Watermark specific options ```csharp public WatermarkOptions Watermark { get; set; } ``` ### IZoomConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/izoomconvertoptions.md #### IZoomConvertOptions interface Represents convert options that allows conversion to be performed with zoom options ```csharp public interface IZoomConvertOptions ``` #### Properties | Name | Description | | --- | --- | | Zoom { get; set; } | Specifies the zoom level in percentage. Default is 100. | ### Zoom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/izoomconvertoptions/zoom.md #### IZoomConvertOptions.Zoom property Specifies the zoom level in percentage. Default is 100. ```csharp public int Zoom { get; set; } ``` ### JpegOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpegoptions.md #### JpegOptions class Options for conversion to Jpeg file type. ```csharp public sealed class JpegOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | JpegOptions() | Initializes new instance of `JpegOptions` class. | #### Properties | Name | Description | | --- | --- | | ColorMode { get; set; } | Jpg color mode. | | Compression { get; set; } | Jpg compression method. | | Quality { get; set; } | Desired image quality. The value must be between 0 and 100. The default value is 100. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### ColorMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpegoptions/colormode.md #### JpegOptions.ColorMode property Jpg color mode. ```csharp public JpgColorModes ColorMode { get; set; } ``` ### Compression Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpegoptions/compression.md #### JpegOptions.Compression property Jpg compression method. ```csharp public JpgCompressionMethods Compression { get; set; } ``` ### JpegOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpegoptions/jpegoptions.md #### JpegOptions constructor Initializes new instance of `JpegOptions` class. ```csharp public JpegOptions() ``` ### Quality Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpegoptions/quality.md #### JpegOptions.Quality property Desired image quality. The value must be between 0 and 100. The default value is 100. ```csharp public int Quality { get; set; } ``` ### JpgColorModes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcolormodes.md #### JpgColorModes class Describes Jpg color modes enumeration. ```csharp public class JpgColorModes : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Cmyk | CMYK. | | static readonly Grayscale | Grayscale. | | static readonly Rgb | RGB. | | static readonly YCbCr | YCbCr image. Standard option for jpeg images. | | static readonly Ycck | Ycck. | ### Cmyk Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcolormodes/cmyk.md #### JpgColorModes.Cmyk field CMYK. ```csharp public static readonly JpgColorModes Cmyk; ``` ### Grayscale Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcolormodes/grayscale.md #### JpgColorModes.Grayscale field Grayscale. ```csharp public static readonly JpgColorModes Grayscale; ``` ### Rgb Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcolormodes/rgb.md #### JpgColorModes.Rgb field RGB. ```csharp public static readonly JpgColorModes Rgb; ``` ### YCbCr Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcolormodes/ycbcr.md #### JpgColorModes.YCbCr field YCbCr image. Standard option for jpeg images. ```csharp public static readonly JpgColorModes YCbCr; ``` ### Ycck Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcolormodes/ycck.md #### JpgColorModes.Ycck field Ycck. ```csharp public static readonly JpgColorModes Ycck; ``` ### JpgCompressionMethods Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcompressionmethods.md #### JpgCompressionMethods class Describes Jpg compression modes ```csharp public class JpgCompressionMethods : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Baseline | The baseline compression. | | static readonly JpegLs | JpegLs compression. | | static readonly Lossless | Lossless compression. | | static readonly Progressive | Progressive compression. | ### Baseline Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcompressionmethods/baseline.md #### JpgCompressionMethods.Baseline field The baseline compression. ```csharp public static readonly JpgCompressionMethods Baseline; ``` ### JpegLs Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcompressionmethods/jpegls.md #### JpgCompressionMethods.JpegLs field JpegLs compression. ```csharp public static readonly JpgCompressionMethods JpegLs; ``` ### Lossless Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcompressionmethods/lossless.md #### JpgCompressionMethods.Lossless field Lossless compression. ```csharp public static readonly JpgCompressionMethods Lossless; ``` ### Progressive Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/jpgcompressionmethods/progressive.md #### JpgCompressionMethods.Progressive field Progressive compression. ```csharp public static readonly JpgCompressionMethods Progressive; ``` ### MarkdownImageSavingArgs Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownimagesavingargs.md #### MarkdownImageSavingArgs class Arguments passed to `ImageSaving`. ```csharp public sealed class MarkdownImageSavingArgs ``` #### Properties | Name | Description | | --- | --- | | ImageFileName { get; set; } | File name (or placeholder id) embedded as the image URI in the Markdown output. Assign to rewrite the URI. | | ImageStream { get; set; } | Destination stream the converter will write the image bytes into after this callback returns. Replace it with your own writable stream (e.g. a FileStream for disk persistence or a MemoryStream you intend to read afterwards). | | KeepImageStreamOpen { get; set; } | When false (default), the converter closes `ImageStream` after writing — idiomatic for FileStream replacements that should be flushed to disk. Set to true to keep the stream open after conversion completes (typical for a MemoryStream you intend to read yourself); the caller then owns disposal. | ### ImageFileName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownimagesavingargs/imagefilename.md #### MarkdownImageSavingArgs.ImageFileName property File name (or placeholder id) embedded as the image URI in the Markdown output. Assign to rewrite the URI. ```csharp public string ImageFileName { get; set; } ``` ### ImageStream Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownimagesavingargs/imagestream.md #### MarkdownImageSavingArgs.ImageStream property Destination stream the converter will write the image bytes into after this callback returns. Replace it with your own writable stream (e.g. a FileStream for disk persistence or a MemoryStream you intend to read afterwards). ```csharp public Stream ImageStream { get; set; } ``` ### KeepImageStreamOpen Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownimagesavingargs/keepimagestreamopen.md #### MarkdownImageSavingArgs.KeepImageStreamOpen property When false (default), the converter closes `ImageStream` after writing — idiomatic for FileStream replacements that should be flushed to disk. Set to true to keep the stream open after conversion completes (typical for a MemoryStream you intend to read yourself); the caller then owns disposal. ```csharp public bool KeepImageStreamOpen { get; set; } ``` ### MarkdownOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownoptions.md #### MarkdownOptions class Options for conversion to markdown file type. ```csharp public sealed class MarkdownOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | MarkdownOptions() | Initializes new instance of `MarkdownOptions` class. | #### Properties | Name | Description | | --- | --- | | ExportImagesAsBase64 { get; set; } | Export images as base64. Default is true. Ignored when `ImageSavingCallback` is set. | | ImageSavingCallback { get; set; } | Callback invoked once per image while saving Markdown. Lets the caller persist images externally and substitute the URI embedded in the document. Takes precedence over `ExportImagesAsBase64` when not null. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### ExportImagesAsBase64 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownoptions/exportimagesasbase64.md #### MarkdownOptions.ExportImagesAsBase64 property Export images as base64. Default is true. Ignored when `ImageSavingCallback` is set. ```csharp public bool ExportImagesAsBase64 { get; set; } ``` ### ImageSavingCallback Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownoptions/imagesavingcallback.md #### MarkdownOptions.ImageSavingCallback property Callback invoked once per image while saving Markdown. Lets the caller persist images externally and substitute the URI embedded in the document. Takes precedence over `ExportImagesAsBase64` when not null. ```csharp public IMarkdownImageSavingCallback ImageSavingCallback { get; set; } ``` ### MarkdownOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/markdownoptions/markdownoptions.md #### MarkdownOptions constructor Initializes new instance of `MarkdownOptions` class. ```csharp public MarkdownOptions() ``` ### NoConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/noconvertoptions.md #### NoConvertOptions class Special convert option class, which instructs converter to copy source document without any processing ```csharp public sealed class NoConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | NoConvertOptions() | Initializes a new instance of the `NoConvertOptions` class with the default format. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### NoConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/noconvertoptions/noconvertoptions.md #### NoConvertOptions constructor Initializes a new instance of the `NoConvertOptions` class with the default format. ```csharp public NoConvertOptions() ``` ### PageDescriptionLanguageConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions.md #### PageDescriptionLanguageConvertOptions class Options for conversion to page descriptions language file type. ```csharp public class PageDescriptionLanguageConvertOptions : CommonConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | PageDescriptionLanguageConvertOptions() | Initializes a new instance of the `PageDescriptionLanguageConvertOptions`. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | Height { get; set; } | Desired page height after conversion. | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | Watermark { get; set; } | Implements `Watermark` | | Width { get; set; } | Desired page width after conversion. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/height.md #### PageDescriptionLanguageConvertOptions.Height property Desired page height after conversion. ```csharp public int Height { get; set; } ``` ### PageDescriptionLanguageConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/pagedescriptionlanguageconvertoptions.md #### PageDescriptionLanguageConvertOptions constructor Initializes a new instance of the `PageDescriptionLanguageConvertOptions`. ```csharp public PageDescriptionLanguageConvertOptions() ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/width.md #### PageDescriptionLanguageConvertOptions.Width property Desired page width after conversion. ```csharp public int Width { get; set; } ``` ### PageOrientation Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageorientation.md #### PageOrientation class Specifies page orientation ```csharp public sealed class PageOrientation : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static Default | Default page orientation e.g. as is in source document | | static Landscape | Landscape page orientation (wide and short). | | static Portrait | Portrait page orientation (narrow and tall). | ### Default Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageorientation/default.md #### PageOrientation.Default field Default page orientation e.g. as is in source document ```csharp public static PageOrientation Default; ``` ### Landscape Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageorientation/landscape.md #### PageOrientation.Landscape field Landscape page orientation (wide and short). ```csharp public static PageOrientation Landscape; ``` ### Portrait Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageorientation/portrait.md #### PageOrientation.Portrait field Portrait page orientation (narrow and tall). ```csharp public static PageOrientation Portrait; ``` ### PageResizeMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageresizemode.md #### PageResizeMode class Specifies how content should be scaled when page size is changed ```csharp public sealed class PageResizeMode : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static AlignTopLeft | No scaling applied. Content is aligned to top-left corner. | | static ScaleToFill | Stretch content to fill entire page. May distort aspect ratio. | | static ScaleToFit | Scale content proportionally to fit entire page without overflow. May result in white space. | | static ScaleToHeight | Scale content proportionally to match page height. Width may overflow and be cropped. | | static ScaleToWidth | Scale content proportionally to match page width. Height may overflow and be cropped. | ### AlignTopLeft Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageresizemode/aligntopleft.md #### PageResizeMode.AlignTopLeft field No scaling applied. Content is aligned to top-left corner. ```csharp public static PageResizeMode AlignTopLeft; ``` ### ScaleToFill Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageresizemode/scaletofill.md #### PageResizeMode.ScaleToFill field Stretch content to fill entire page. May distort aspect ratio. ```csharp public static PageResizeMode ScaleToFill; ``` ### ScaleToFit Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageresizemode/scaletofit.md #### PageResizeMode.ScaleToFit field Scale content proportionally to fit entire page without overflow. May result in white space. ```csharp public static PageResizeMode ScaleToFit; ``` ### ScaleToHeight Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageresizemode/scaletoheight.md #### PageResizeMode.ScaleToHeight field Scale content proportionally to match page height. Width may overflow and be cropped. ```csharp public static PageResizeMode ScaleToHeight; ``` ### ScaleToWidth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pageresizemode/scaletowidth.md #### PageResizeMode.ScaleToWidth field Scale content proportionally to match page width. Height may overflow and be cropped. ```csharp public static PageResizeMode ScaleToWidth; ``` ### PdfConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions.md #### PdfConvertOptions class Options for conversion to Pdf file type. ```csharp public class PdfConvertOptions : CommonConvertOptions, IDpiConvertOptions, IPageMarginOptions, IPageOrientationOptions, IPageSizeOptions, IPasswordConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfConvertOptions() | Initializes new instance of `PdfConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Dpi { get; set; } | Desired page DPI after conversion. The default resolution is: 96 dpi. | | EmbedFullFonts { get; set; } | When set to true, the full font file is embedded into the PDF instead of a subset. This increases the output file size but ensures better compatibility when editing the resulting PDF. Applies only when converting from WordProcessing documents. | | FallbackPageSize { get; set; } | Fallback page size | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | MarginSettings { get; set; } | Page margin settings | | OrientationSettings { get; set; } | Page orientation settings | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | Password { get; set; } | Set this property if you want to protect the converted document with a password. | | PdfOptions { get; set; } | Pdf specific convert options | | ResizeMode { get; set; } | Specifies how content should be scaled when page size is changed. Default is AlignTopLeft (no scaling). | | Rotate { get; set; } | Page rotation | | SizeSettings { get; set; } | Page size settings | | Watermark { get; set; } | Implements `Watermark` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Dpi Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/dpi.md #### PdfConvertOptions.Dpi property Desired page DPI after conversion. The default resolution is: 96 dpi. ```csharp public int Dpi { get; set; } ``` ### EmbedFullFonts Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/embedfullfonts.md #### PdfConvertOptions.EmbedFullFonts property When set to true, the full font file is embedded into the PDF instead of a subset. This increases the output file size but ensures better compatibility when editing the resulting PDF. Applies only when converting from WordProcessing documents. ```csharp public bool EmbedFullFonts { get; set; } ``` ### FallbackPageSize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/fallbackpagesize.md #### PdfConvertOptions.FallbackPageSize property Fallback page size ```csharp public PageSize FallbackPageSize { get; set; } ``` ### MarginSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/marginsettings.md #### PdfConvertOptions.MarginSettings property Page margin settings ```csharp public PageMarginOptions MarginSettings { get; set; } ``` ### OrientationSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/orientationsettings.md #### PdfConvertOptions.OrientationSettings property Page orientation settings ```csharp public PageOrientation OrientationSettings { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/password.md #### PdfConvertOptions.Password property Set this property if you want to protect the converted document with a password. ```csharp public string Password { get; set; } ``` ### PdfConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/pdfconvertoptions.md #### PdfConvertOptions constructor Initializes new instance of `PdfConvertOptions` class. ```csharp public PdfConvertOptions() ``` ### PdfOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/pdfoptions.md #### PdfConvertOptions.PdfOptions property Pdf specific convert options ```csharp public PdfOptions PdfOptions { get; set; } ``` ### ResizeMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/resizemode.md #### PdfConvertOptions.ResizeMode property Specifies how content should be scaled when page size is changed. Default is AlignTopLeft (no scaling). ```csharp public PageResizeMode ResizeMode { get; set; } ``` ### Rotate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/rotate.md #### PdfConvertOptions.Rotate property Page rotation ```csharp public Rotation Rotate { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfconvertoptions/sizesettings.md #### PdfConvertOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### PdfDirection Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdirection.md #### PdfDirection class Describes Pdf text direction. ```csharp public class PdfDirection : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly L2R | Left to right. | | static readonly R2L | Right to left. | ### L2R Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdirection/l2r.md #### PdfDirection.L2R field Left to right. ```csharp public static readonly PdfDirection L2R; ``` ### R2L Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdirection/r2l.md #### PdfDirection.R2L field Right to left. ```csharp public static readonly PdfDirection R2L; ``` ### PdfDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo.md #### PdfDocumentInfo class Represents meta information of PDF document. ```csharp public sealed class PdfDocumentInfo : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | PdfDocumentInfo() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets document author. | | CreationDate { get; set; } | Gets or sets the date of document creation. | | CreationTimeZone { get; set; } | Time zone of creation date | | Creator { get; set; } | Gets or sets document creator. | | Keywords { get; set; } | Gets or set the keywords of the document. | | ModDate { get; set; } | Gets or sets the date of document modification. | | ModTimeZone { get; set; } | Time zone of modification date. | | Producer { get; set; } | Gets or sets the document producer. | | Subject { get; set; } | Gets or sets the subject of the document. | | Title { get; set; } | Gets or sets document title. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Author Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/author.md #### PdfDocumentInfo.Author property Gets or sets document author. ```csharp public string Author { get; set; } ``` ### CreationDate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/creationdate.md #### PdfDocumentInfo.CreationDate property Gets or sets the date of document creation. ```csharp public DateTime? CreationDate { get; set; } ``` ### CreationTimeZone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/creationtimezone.md #### PdfDocumentInfo.CreationTimeZone property Time zone of creation date ```csharp public TimeSpan? CreationTimeZone { get; set; } ``` ### Creator Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/creator.md #### PdfDocumentInfo.Creator property Gets or sets document creator. ```csharp public string Creator { get; set; } ``` ### Keywords Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/keywords.md #### PdfDocumentInfo.Keywords property Gets or set the keywords of the document. ```csharp public string Keywords { get; set; } ``` ### ModDate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/moddate.md #### PdfDocumentInfo.ModDate property Gets or sets the date of document modification. ```csharp public DateTime? ModDate { get; set; } ``` ### ModTimeZone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/modtimezone.md #### PdfDocumentInfo.ModTimeZone property Time zone of modification date. ```csharp public TimeSpan? ModTimeZone { get; set; } ``` ### PdfDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/pdfdocumentinfo.md #### PdfDocumentInfo constructor The default constructor. ```csharp public PdfDocumentInfo() ``` ### Producer Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/producer.md #### PdfDocumentInfo.Producer property Gets or sets the document producer. ```csharp public string Producer { get; set; } ``` ### Subject Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/subject.md #### PdfDocumentInfo.Subject property Gets or sets the subject of the document. ```csharp public string Subject { get; set; } ``` ### Title Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfdocumentinfo/title.md #### PdfDocumentInfo.Title property Gets or sets document title. ```csharp public string Title { get; set; } ``` ### PdfFontSubsetStrategy Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdffontsubsetstrategy.md #### PdfFontSubsetStrategy class Specifies font subsetting strategy ```csharp public sealed class PdfFontSubsetStrategy : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly None | Do not subset fonts | | static readonly SubsetAllFonts | Subset all fonts, used in a document. | | static readonly SubsetEmbeddedFontsOnly | Portrait page orientation (narrow and tall). | ### None Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/none.md #### PdfFontSubsetStrategy.None field Do not subset fonts ```csharp public static readonly PdfFontSubsetStrategy None; ``` ### SubsetAllFonts Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/subsetallfonts.md #### PdfFontSubsetStrategy.SubsetAllFonts field Subset all fonts, used in a document. ```csharp public static readonly PdfFontSubsetStrategy SubsetAllFonts; ``` ### SubsetEmbeddedFontsOnly Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/subsetembeddedfontsonly.md #### PdfFontSubsetStrategy.SubsetEmbeddedFontsOnly field Portrait page orientation (narrow and tall). ```csharp public static readonly PdfFontSubsetStrategy SubsetEmbeddedFontsOnly; ``` ### PdfFormats Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats.md #### PdfFormats class Describes Pdf formats enumeration. ```csharp public sealed class PdfFormats : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Default | Default pdf format | | static readonly PdfA_1A | PDF/A-1a – Level A (accessible) conformance. | | static readonly PdfA_1B | PDF/A-1b – Level B (basic) conformance. | | static readonly PdfA_2A | PDF/A-2a conformance. | | static readonly PdfA_2B | PDF/A-2b conformance. | | static readonly PdfA_2U | PDF/A-2u conformance. | | static readonly PdfA_3A | PDF/A-3a conformance. | | static readonly PdfA_3B | PDF/A-3b conformance. | | static readonly PdfA_3U | PDF/A-3u conformance. | | static readonly PdfA_4 | PDF/A-4 conformance. | | static readonly PdfA_4E | PDF/A-4E conformance. | | static readonly PdfA_4F | PDF/A-4F conformance. | | static readonly PdfUA_1 | PDF/UA-1 conformance. | | static readonly PdfX_1A | PDF/X-1a conformance. | | static readonly PdfX_3 | PDF/X-3 conformance. | | static readonly v1_3 | PDF version 1.3. | | static readonly v1_4 | PDF version 1.4. | | static readonly v1_5 | PDF version 1.5. | | static readonly v1_6 | PDF version 1.6. | | static readonly v1_7 | PDF version 1.7. | ### Default Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/default.md #### PdfFormats.Default field Default pdf format ```csharp public static readonly PdfFormats Default; ``` ### PdfA_1A Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_1a.md #### PdfFormats.PdfA_1A field PDF/A-1a – Level A (accessible) conformance. ```csharp public static readonly PdfFormats PdfA_1A; ``` ### PdfA_1B Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_1b.md #### PdfFormats.PdfA_1B field PDF/A-1b – Level B (basic) conformance. ```csharp public static readonly PdfFormats PdfA_1B; ``` ### PdfA_2A Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_2a.md #### PdfFormats.PdfA_2A field PDF/A-2a conformance. ```csharp public static readonly PdfFormats PdfA_2A; ``` ### PdfA_2B Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_2b.md #### PdfFormats.PdfA_2B field PDF/A-2b conformance. ```csharp public static readonly PdfFormats PdfA_2B; ``` ### PdfA_2U Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_2u.md #### PdfFormats.PdfA_2U field PDF/A-2u conformance. ```csharp public static readonly PdfFormats PdfA_2U; ``` ### PdfA_3A Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_3a.md #### PdfFormats.PdfA_3A field PDF/A-3a conformance. ```csharp public static readonly PdfFormats PdfA_3A; ``` ### PdfA_3B Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_3b.md #### PdfFormats.PdfA_3B field PDF/A-3b conformance. ```csharp public static readonly PdfFormats PdfA_3B; ``` ### PdfA_3U Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_3u.md #### PdfFormats.PdfA_3U field PDF/A-3u conformance. ```csharp public static readonly PdfFormats PdfA_3U; ``` ### PdfA_4 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_4.md #### PdfFormats.PdfA_4 field PDF/A-4 conformance. ```csharp public static readonly PdfFormats PdfA_4; ``` ### PdfA_4E Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_4e.md #### PdfFormats.PdfA_4E field PDF/A-4E conformance. ```csharp public static readonly PdfFormats PdfA_4E; ``` ### PdfA_4F Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfa_4f.md #### PdfFormats.PdfA_4F field PDF/A-4F conformance. ```csharp public static readonly PdfFormats PdfA_4F; ``` ### PdfUA_1 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfua_1.md #### PdfFormats.PdfUA_1 field PDF/UA-1 conformance. ```csharp public static readonly PdfFormats PdfUA_1; ``` ### PdfX_1A Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfx_1a.md #### PdfFormats.PdfX_1A field PDF/X-1a conformance. ```csharp public static readonly PdfFormats PdfX_1A; ``` ### PdfX_3 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/pdfx_3.md #### PdfFormats.PdfX_3 field PDF/X-3 conformance. ```csharp public static readonly PdfFormats PdfX_3; ``` ### v1_3 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/v1_3.md #### PdfFormats.v1_3 field PDF version 1.3. ```csharp public static readonly PdfFormats v1_3; ``` ### v1_4 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/v1_4.md #### PdfFormats.v1_4 field PDF version 1.4. ```csharp public static readonly PdfFormats v1_4; ``` ### v1_5 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/v1_5.md #### PdfFormats.v1_5 field PDF version 1.5. ```csharp public static readonly PdfFormats v1_5; ``` ### v1_6 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/v1_6.md #### PdfFormats.v1_6 field PDF version 1.6. ```csharp public static readonly PdfFormats v1_6; ``` ### v1_7 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformats/v1_7.md #### PdfFormats.v1_7 field PDF version 1.7. ```csharp public static readonly PdfFormats v1_7; ``` ### PdfFormattingOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions.md #### PdfFormattingOptions class Defines Pdf formatting options. ```csharp public sealed class PdfFormattingOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | PdfFormattingOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | CenterWindow { get; set; } | Specifies whether position of the document's window will be centered on the screen. Default: false. | | Direction { get; set; } | Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R. | | DisplayDocTitle { get; set; } | Specifies whether document's window title bar should display document title. Default: false. | | FitWindow { get; set; } | Specifies whether document window must be resized to fit the first displayed page. Default: false. | | HideMenuBar { get; set; } | Specifies whether menu bar should be hidden when document is active. Default: false. | | HideToolBar { get; set; } | Specifies whether toolbar should be hidden when document is active. Default: false. | | HideWindowUI { get; set; } | Specifies whether user interface elements should be hidden when document is active. Default: false. | | NonFullScreenPageMode { get; set; } | Sets page mode, specifying how to display the document on exiting full-screen mode. | | PageLayout { get; set; } | Sets page layout which shall be used when the document is opened. | | PageMode { get; set; } | Sets page mode, specifying how document should be displayed when opened. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### CenterWindow Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/centerwindow.md #### PdfFormattingOptions.CenterWindow property Specifies whether position of the document's window will be centered on the screen. Default: false. ```csharp public bool CenterWindow { get; set; } ``` ### Direction Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/direction.md #### PdfFormattingOptions.Direction property Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R. ```csharp public PdfDirection Direction { get; set; } ``` ### DisplayDocTitle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/displaydoctitle.md #### PdfFormattingOptions.DisplayDocTitle property Specifies whether document's window title bar should display document title. Default: false. ```csharp public bool DisplayDocTitle { get; set; } ``` ### FitWindow Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/fitwindow.md #### PdfFormattingOptions.FitWindow property Specifies whether document window must be resized to fit the first displayed page. Default: false. ```csharp public bool FitWindow { get; set; } ``` ### HideMenuBar Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/hidemenubar.md #### PdfFormattingOptions.HideMenuBar property Specifies whether menu bar should be hidden when document is active. Default: false. ```csharp public bool HideMenuBar { get; set; } ``` ### HideToolBar Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/hidetoolbar.md #### PdfFormattingOptions.HideToolBar property Specifies whether toolbar should be hidden when document is active. Default: false. ```csharp public bool HideToolBar { get; set; } ``` ### HideWindowUI Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/hidewindowui.md #### PdfFormattingOptions.HideWindowUI property Specifies whether user interface elements should be hidden when document is active. Default: false. ```csharp public bool HideWindowUI { get; set; } ``` ### NonFullScreenPageMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/nonfullscreenpagemode.md #### PdfFormattingOptions.NonFullScreenPageMode property Sets page mode, specifying how to display the document on exiting full-screen mode. ```csharp public PdfPageMode NonFullScreenPageMode { get; set; } ``` ### PageLayout Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/pagelayout.md #### PdfFormattingOptions.PageLayout property Sets page layout which shall be used when the document is opened. ```csharp public PdfPageLayout PageLayout { get; set; } ``` ### PageMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/pagemode.md #### PdfFormattingOptions.PageMode property Sets page mode, specifying how document should be displayed when opened. ```csharp public PdfPageMode PageMode { get; set; } ``` ### PdfFormattingOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfformattingoptions/pdfformattingoptions.md #### PdfFormattingOptions constructor The default constructor. ```csharp public PdfFormattingOptions() ``` ### PdfOptimizationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions.md #### PdfOptimizationOptions class Defines Pdf optimization options. ```csharp public sealed class PdfOptimizationOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | PdfOptimizationOptions() | Initializes new instance of `PdfOptimizationOptions` class. | #### Properties | Name | Description | | --- | --- | | CompressImages { get; set; } | If CompressImages set to `true`, all images in the document are re-compressed. The compression is defined by the ImageQuality property. | | FontSubsetStrategy { get; set; } | Set font subset strategy | | ImageQuality { get; set; } | Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100 | | LinkDuplicateStreams { get; set; } | Link duplicate streams | | RemoveUnusedObjects { get; set; } | Remove unused objects | | RemoveUnusedStreams { get; set; } | Remove unused streams | | UnembedFonts { get; set; } | Make fonts not embedded if set to true | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### CompressImages Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/compressimages.md #### PdfOptimizationOptions.CompressImages property If CompressImages set to `true`, all images in the document are re-compressed. The compression is defined by the ImageQuality property. ```csharp public bool CompressImages { get; set; } ``` ### FontSubsetStrategy Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/fontsubsetstrategy.md #### PdfOptimizationOptions.FontSubsetStrategy property Set font subset strategy ```csharp public PdfFontSubsetStrategy FontSubsetStrategy { get; set; } ``` ### ImageQuality Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/imagequality.md #### PdfOptimizationOptions.ImageQuality property Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100 ```csharp public int ImageQuality { get; set; } ``` ### LinkDuplicateStreams Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/linkduplicatestreams.md #### PdfOptimizationOptions.LinkDuplicateStreams property Link duplicate streams ```csharp public bool LinkDuplicateStreams { get; set; } ``` ### PdfOptimizationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/pdfoptimizationoptions.md #### PdfOptimizationOptions constructor Initializes new instance of `PdfOptimizationOptions` class. ```csharp public PdfOptimizationOptions() ``` ### RemoveUnusedObjects Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/removeunusedobjects.md #### PdfOptimizationOptions.RemoveUnusedObjects property Remove unused objects ```csharp public bool RemoveUnusedObjects { get; set; } ``` ### RemoveUnusedStreams Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/removeunusedstreams.md #### PdfOptimizationOptions.RemoveUnusedStreams property Remove unused streams ```csharp public bool RemoveUnusedStreams { get; set; } ``` ### UnembedFonts Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptimizationoptions/unembedfonts.md #### PdfOptimizationOptions.UnembedFonts property Make fonts not embedded if set to true ```csharp public bool UnembedFonts { get; set; } ``` ### PdfOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions.md #### PdfOptions class Options for conversion to Pdf file type. ```csharp public sealed class PdfOptions : ValueObject, IZoomConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfOptions() | Initializes a new instance of the `PdfOptions` class. | #### Properties | Name | Description | | --- | --- | | DocumentInfo { get; set; } | Meta information of PDF document. | | FormattingOptions { get; set; } | Pdf formatting options | | Grayscale { get; set; } | Convert a PDF from RGB colorspace to grayscale | | Linearize { get; set; } | Linearizes PDF Document for the Web | | OptimizationOptions { get; set; } | Pdf optimization options | | PdfFormat { get; set; } | Sets the pdf format of the converted document. | | RemovePdfACompliance { get; set; } | Removes Pdf-A Compliance | | Zoom { get; set; } | Specifies the zoom level in percentage. Default is 100. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### DocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/documentinfo.md #### PdfOptions.DocumentInfo property Meta information of PDF document. ```csharp public PdfDocumentInfo DocumentInfo { get; set; } ``` ### FormattingOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/formattingoptions.md #### PdfOptions.FormattingOptions property Pdf formatting options ```csharp public PdfFormattingOptions FormattingOptions { get; set; } ``` ### Grayscale Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/grayscale.md #### PdfOptions.Grayscale property Convert a PDF from RGB colorspace to grayscale ```csharp public bool Grayscale { get; set; } ``` ### Linearize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/linearize.md #### PdfOptions.Linearize property Linearizes PDF Document for the Web ```csharp public bool Linearize { get; set; } ``` ### OptimizationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/optimizationoptions.md #### PdfOptions.OptimizationOptions property Pdf optimization options ```csharp public PdfOptimizationOptions OptimizationOptions { get; set; } ``` ### PdfFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/pdfformat.md #### PdfOptions.PdfFormat property Sets the pdf format of the converted document. ```csharp public PdfFormats PdfFormat { get; set; } ``` ### PdfOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/pdfoptions.md #### PdfOptions constructor Initializes a new instance of the `PdfOptions` class. ```csharp public PdfOptions() ``` ### RemovePdfACompliance Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/removepdfacompliance.md #### PdfOptions.RemovePdfACompliance property Removes Pdf-A Compliance ```csharp public bool RemovePdfACompliance { get; set; } ``` ### Zoom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfoptions/zoom.md #### PdfOptions.Zoom property Specifies the zoom level in percentage. Default is 100. ```csharp public int Zoom { get; set; } ``` ### PdfPageLayout Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout.md #### PdfPageLayout class Describes Pdf page layout. ```csharp public class PdfPageLayout : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Default | Default layout. | | static readonly OneColumn | Display pages in one column. | | static readonly SinglePage | Single page. | | static readonly TwoColumnLeft | Display the pages in two columns, with odd-numbered pages on the left. | | static readonly TwoColumnRight | Display the pages in two columns, with odd-numbered pages on the right. | | static readonly TwoPagesLeft | Display the pages two at a time, with odd-numbered pages on the left. | | static readonly TwoPagesRight | Display the pages two at a time, with odd-numbered pages on the right. | ### Default Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout/default.md #### PdfPageLayout.Default field Default layout. ```csharp public static readonly PdfPageLayout Default; ``` ### OneColumn Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout/onecolumn.md #### PdfPageLayout.OneColumn field Display pages in one column. ```csharp public static readonly PdfPageLayout OneColumn; ``` ### SinglePage Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout/singlepage.md #### PdfPageLayout.SinglePage field Single page. ```csharp public static readonly PdfPageLayout SinglePage; ``` ### TwoColumnLeft Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout/twocolumnleft.md #### PdfPageLayout.TwoColumnLeft field Display the pages in two columns, with odd-numbered pages on the left. ```csharp public static readonly PdfPageLayout TwoColumnLeft; ``` ### TwoColumnRight Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout/twocolumnright.md #### PdfPageLayout.TwoColumnRight field Display the pages in two columns, with odd-numbered pages on the right. ```csharp public static readonly PdfPageLayout TwoColumnRight; ``` ### TwoPagesLeft Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout/twopagesleft.md #### PdfPageLayout.TwoPagesLeft field Display the pages two at a time, with odd-numbered pages on the left. ```csharp public static readonly PdfPageLayout TwoPagesLeft; ``` ### TwoPagesRight Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagelayout/twopagesright.md #### PdfPageLayout.TwoPagesRight field Display the pages two at a time, with odd-numbered pages on the right. ```csharp public static readonly PdfPageLayout TwoPagesRight; ``` ### PdfPageMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagemode.md #### PdfPageMode class Describes Pdf page mode ```csharp public class PdfPageMode : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly FullScreen | FullScreenFull-screen mode, with no menu bar, window controls, or any other window visible. | | static readonly UseAttachments | Attachments panel visible. | | static readonly UseNone | Don't use any components. | | static readonly UseOC | Optional content group panel visible. | | static readonly UseOutlines | Document outline visible. | | static readonly UseThumbs | Thumbnail images visible. | ### FullScreen Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagemode/fullscreen.md #### PdfPageMode.FullScreen field FullScreenFull-screen mode, with no menu bar, window controls, or any other window visible. ```csharp public static readonly PdfPageMode FullScreen; ``` ### UseAttachments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagemode/useattachments.md #### PdfPageMode.UseAttachments field Attachments panel visible. ```csharp public static readonly PdfPageMode UseAttachments; ``` ### UseNone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagemode/usenone.md #### PdfPageMode.UseNone field Don't use any components. ```csharp public static readonly PdfPageMode UseNone; ``` ### UseOC Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagemode/useoc.md #### PdfPageMode.UseOC field Optional content group panel visible. ```csharp public static readonly PdfPageMode UseOC; ``` ### UseOutlines Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagemode/useoutlines.md #### PdfPageMode.UseOutlines field Document outline visible. ```csharp public static readonly PdfPageMode UseOutlines; ``` ### UseThumbs Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfpagemode/usethumbs.md #### PdfPageMode.UseThumbs field Thumbnail images visible. ```csharp public static readonly PdfPageMode UseThumbs; ``` ### PdfRecognitionMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfrecognitionmode.md #### PdfRecognitionMode class Allows to control how a PDF document is converted into a word processing document. ```csharp public sealed class PdfRecognitionMode : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Flow | Full recognition mode, the engine performs grouping and multi-level analysis to restore the original document author's intent and produce a maximally editable document. The downside is that the output document might look different from the original PDF file. | | static readonly Textbox | This mode is fast and good for maximally preserving original look of the PDF file, but editability of the resulting document could be limited. Every visually grouped block of text int the original PDF file is converted into a textbox in the resulting document. This achieves maximal resemblance of the output document to the original PDF file. The output document will look good, but it will consist entirely of textboxes and it could makes further editing of the document in Microsoft Word quite hard. This is the default mode. | ### Flow Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfrecognitionmode/flow.md #### PdfRecognitionMode.Flow field Full recognition mode, the engine performs grouping and multi-level analysis to restore the original document author's intent and produce a maximally editable document. The downside is that the output document might look different from the original PDF file. ```csharp public static readonly PdfRecognitionMode Flow; ``` ### Textbox Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/pdfrecognitionmode/textbox.md #### PdfRecognitionMode.Textbox field This mode is fast and good for maximally preserving original look of the PDF file, but editability of the resulting document could be limited. Every visually grouped block of text int the original PDF file is converted into a textbox in the resulting document. This achieves maximal resemblance of the output document to the original PDF file. The output document will look good, but it will consist entirely of textboxes and it could makes further editing of the document in Microsoft Word quite hard. This is the default mode. ```csharp public static readonly PdfRecognitionMode Textbox; ``` ### PresentationConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/presentationconvertoptions.md #### PresentationConvertOptions class Describes options for conversion to Presentation file type. ```csharp public class PresentationConvertOptions : CommonConvertOptions, IPasswordConvertOptions, IZoomConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | PresentationConvertOptions() | Initializes new instance of `PresentationConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | Password { get; set; } | Set this property if you want to protect the converted document with a password. | | Watermark { get; set; } | Implements `Watermark` | | Zoom { get; set; } | Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/presentationconvertoptions/password.md #### PresentationConvertOptions.Password property Set this property if you want to protect the converted document with a password. ```csharp public string Password { get; set; } ``` ### PresentationConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/presentationconvertoptions/presentationconvertoptions.md #### PresentationConvertOptions constructor Initializes new instance of `PresentationConvertOptions` class. ```csharp public PresentationConvertOptions() ``` ### Zoom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/presentationconvertoptions/zoom.md #### PresentationConvertOptions.Zoom property Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. ```csharp public int Zoom { get; set; } ``` ### ProjectManagementConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/projectmanagementconvertoptions.md #### ProjectManagementConvertOptions class Options for conversion to Project management file type. ```csharp public class ProjectManagementConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | ProjectManagementConvertOptions() | Initializes new instance of `ProjectManagementConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### ProjectManagementConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/projectmanagementconvertoptions/projectmanagementconvertoptions.md #### ProjectManagementConvertOptions constructor Initializes new instance of `ProjectManagementConvertOptions` class. ```csharp public ProjectManagementConvertOptions() ``` ### PsdColorModes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes.md #### PsdColorModes class Defines Psd color modes enumeration. ```csharp public class PsdColorModes : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Bitmap | Bitmap. | | static readonly Cmyk | CMYK. | | static readonly Duotone | Duotone. | | static readonly Grayscale | Grayscale. | | static readonly Indexed | Indexed. | | static readonly Lab | Lab. | | static readonly Multichannel | Multichannel. | | static readonly Rgb | RGB. | ### Bitmap Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/bitmap.md #### PsdColorModes.Bitmap field Bitmap. ```csharp public static readonly PsdColorModes Bitmap; ``` ### Cmyk Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/cmyk.md #### PsdColorModes.Cmyk field CMYK. ```csharp public static readonly PsdColorModes Cmyk; ``` ### Duotone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/duotone.md #### PsdColorModes.Duotone field Duotone. ```csharp public static readonly PsdColorModes Duotone; ``` ### Grayscale Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/grayscale.md #### PsdColorModes.Grayscale field Grayscale. ```csharp public static readonly PsdColorModes Grayscale; ``` ### Indexed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/indexed.md #### PsdColorModes.Indexed field Indexed. ```csharp public static readonly PsdColorModes Indexed; ``` ### Lab Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/lab.md #### PsdColorModes.Lab field Lab. ```csharp public static readonly PsdColorModes Lab; ``` ### Multichannel Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/multichannel.md #### PsdColorModes.Multichannel field Multichannel. ```csharp public static readonly PsdColorModes Multichannel; ``` ### Rgb Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcolormodes/rgb.md #### PsdColorModes.Rgb field RGB. ```csharp public static readonly PsdColorModes Rgb; ``` ### PsdCompressionMethods Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcompressionmethods.md #### PsdCompressionMethods class Describes Psd compression methods. ```csharp public class PsdCompressionMethods : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Raw | RAW. | | static readonly Rle | RLE. | | static readonly ZipWithoutPrediction | ZipWithoutPrediction. | | static readonly ZipWithPrediction | ZipWithPrediction. | ### Raw Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcompressionmethods/raw.md #### PsdCompressionMethods.Raw field RAW. ```csharp public static readonly PsdCompressionMethods Raw; ``` ### Rle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcompressionmethods/rle.md #### PsdCompressionMethods.Rle field RLE. ```csharp public static readonly PsdCompressionMethods Rle; ``` ### ZipWithoutPrediction Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcompressionmethods/zipwithoutprediction.md #### PsdCompressionMethods.ZipWithoutPrediction field ZipWithoutPrediction. ```csharp public static readonly PsdCompressionMethods ZipWithoutPrediction; ``` ### ZipWithPrediction Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdcompressionmethods/zipwithprediction.md #### PsdCompressionMethods.ZipWithPrediction field ZipWithPrediction. ```csharp public static readonly PsdCompressionMethods ZipWithPrediction; ``` ### PsdOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdoptions.md #### PsdOptions class Options for converting to Psd file type. ```csharp public sealed class PsdOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | PsdOptions() | Initializes new instance of `PsdOptions` class. | #### Properties | Name | Description | | --- | --- | | ChannelBitsCount { get; set; } | Bits count per color channel. | | ChannelsCount { get; set; } | Color channels count. | | ColorMode { get; set; } | Psd color mode. | | Compression { get; set; } | Psd compression method. | | Version { get; set; } | Psd file version. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### ChannelBitsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdoptions/channelbitscount.md #### PsdOptions.ChannelBitsCount property Bits count per color channel. ```csharp public short ChannelBitsCount { get; set; } ``` ### ChannelsCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdoptions/channelscount.md #### PsdOptions.ChannelsCount property Color channels count. ```csharp public short ChannelsCount { get; set; } ``` ### ColorMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdoptions/colormode.md #### PsdOptions.ColorMode property Psd color mode. ```csharp public PsdColorModes ColorMode { get; set; } ``` ### Compression Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdoptions/compression.md #### PsdOptions.Compression property Psd compression method. ```csharp public PsdCompressionMethods Compression { get; set; } ``` ### PsdOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdoptions/psdoptions.md #### PsdOptions constructor Initializes new instance of `PsdOptions` class. ```csharp public PsdOptions() ``` ### Version Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/psdoptions/version.md #### PsdOptions.Version property Psd file version. ```csharp public int Version { get; set; } ``` ### Rotation Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rotation.md #### Rotation class Describes page rotation enumeration ```csharp public class Rotation : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly None | None. | | static readonly On180 | 180 degrees. | | static readonly On270 | 270 degrees. | | static readonly On90 | 90 degrees. | ### None Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rotation/none.md #### Rotation.None field None. ```csharp public static readonly Rotation None; ``` ### On180 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rotation/on180.md #### Rotation.On180 field 180 degrees. ```csharp public static readonly Rotation On180; ``` ### On270 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rotation/on270.md #### Rotation.On270 field 270 degrees. ```csharp public static readonly Rotation On270; ``` ### On90 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rotation/on90.md #### Rotation.On90 field 90 degrees. ```csharp public static readonly Rotation On90; ``` ### RtfOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rtfoptions.md #### RtfOptions class Options for conversion to RTF file type. ```csharp public sealed class RtfOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | RtfOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ExportImagesForOldReaders { get; set; } | Specifies whether the keywords for "old readers" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### ExportImagesForOldReaders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rtfoptions/exportimagesforoldreaders.md #### RtfOptions.ExportImagesForOldReaders property Specifies whether the keywords for "old readers" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False. ```csharp public bool ExportImagesForOldReaders { get; set; } ``` ### RtfOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/rtfoptions/rtfoptions.md #### RtfOptions constructor The default constructor. ```csharp public RtfOptions() ``` ### SpreadsheetConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/spreadsheetconvertoptions.md #### SpreadsheetConvertOptions class Options for conversion to Spreadsheet file type. ```csharp public class SpreadsheetConvertOptions : CommonConvertOptions, IPasswordConvertOptions, IZoomConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | SpreadsheetConvertOptions() | Initializes new instance of `SpreadsheetConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Encoding { get; set; } | Specifies the encoding to be used when convert to a delimited formats | | Format { get; set; } | The desired file type the input document should be converted to. (2 properties) | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | Password { get; set; } | Set this property if you want to protect the converted document with a password. | | Separator { get; set; } | Specifies the separator to be used when convert to a delimited formats | | Watermark { get; set; } | Implements `Watermark` | | Zoom { get; set; } | Specifies the zoom level in percentage. Default is 100. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Encoding Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/encoding.md #### SpreadsheetConvertOptions.Encoding property Specifies the encoding to be used when convert to a delimited formats ```csharp public Encoding Encoding { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/format.md #### SpreadsheetConvertOptions.Format property The desired file type the input document should be converted to. ```csharp public SpreadsheetFileType Format { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/password.md #### SpreadsheetConvertOptions.Password property Set this property if you want to protect the converted document with a password. ```csharp public string Password { get; set; } ``` ### Separator Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/separator.md #### SpreadsheetConvertOptions.Separator property Specifies the separator to be used when convert to a delimited formats ```csharp public char Separator { get; set; } ``` ### SpreadsheetConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/spreadsheetconvertoptions.md #### SpreadsheetConvertOptions constructor Initializes new instance of `SpreadsheetConvertOptions` class. ```csharp public SpreadsheetConvertOptions() ``` ### Zoom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/zoom.md #### SpreadsheetConvertOptions.Zoom property Specifies the zoom level in percentage. Default is 100. ```csharp public int Zoom { get; set; } ``` ### ThreeDConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/threedconvertoptions.md #### ThreeDConvertOptions class Options for conversion to 3D type. ```csharp public class ThreeDConvertOptions : ConvertOptions, IPagedConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | ThreeDConvertOptions() | Initializes new instance of `ThreeDConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | PagesCount { get; set; } | Implements `PagesCount` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### PageNumber Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/threedconvertoptions/pagenumber.md #### ThreeDConvertOptions.PageNumber property Implements `PageNumber` ```csharp public int PageNumber { get; set; } ``` ### PagesCount Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/threedconvertoptions/pagescount.md #### ThreeDConvertOptions.PagesCount property Implements `PagesCount` ```csharp public int PagesCount { get; set; } ``` ### ThreeDConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/threedconvertoptions/threedconvertoptions.md #### ThreeDConvertOptions constructor Initializes new instance of `ThreeDConvertOptions` class. ```csharp public ThreeDConvertOptions() ``` ### TiffCompressionMethods Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffcompressionmethods.md #### TiffCompressionMethods class Describes Tiff compression methods enumeration. ```csharp public class TiffCompressionMethods : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Ccitt3 | CCITT3 compression. | | static readonly Ccitt4 | CCITT4 compression. | | static readonly Lzw | LZW compression. | | static readonly None | No compression. | | static readonly Rle | RLE compression. | ### Ccitt3 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffcompressionmethods/ccitt3.md #### TiffCompressionMethods.Ccitt3 field CCITT3 compression. ```csharp public static readonly TiffCompressionMethods Ccitt3; ``` ### Ccitt4 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffcompressionmethods/ccitt4.md #### TiffCompressionMethods.Ccitt4 field CCITT4 compression. ```csharp public static readonly TiffCompressionMethods Ccitt4; ``` ### Lzw Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffcompressionmethods/lzw.md #### TiffCompressionMethods.Lzw field LZW compression. ```csharp public static readonly TiffCompressionMethods Lzw; ``` ### None Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffcompressionmethods/none.md #### TiffCompressionMethods.None field No compression. ```csharp public static readonly TiffCompressionMethods None; ``` ### Rle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffcompressionmethods/rle.md #### TiffCompressionMethods.Rle field RLE compression. ```csharp public static readonly TiffCompressionMethods Rle; ``` ### TiffOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffoptions.md #### TiffOptions class Options for conversion to TIFF file type. ```csharp public sealed class TiffOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | TiffOptions() | Initializes a new instance of the `TiffOptions` class. | #### Properties | Name | Description | | --- | --- | | Compression { get; set; } | Sets Tiff compression. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Compression Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffoptions/compression.md #### TiffOptions.Compression property Sets Tiff compression. ```csharp public TiffCompressionMethods Compression { get; set; } ``` ### TiffOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/tiffoptions/tiffoptions.md #### TiffOptions constructor Initializes a new instance of the `TiffOptions` class. ```csharp public TiffOptions() ``` ### VideoConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/videoconvertoptions.md #### VideoConvertOptions class Options for conversion to Video type. ```csharp public sealed class VideoConvertOptions : ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | VideoConvertOptions() | Initializes new instance of `VideoConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | AudioFormat { get; set; } | What audio format to be used | | ExtractAudioOnly { get; set; } | If set to true, extracts the audio from the video | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | FramesPerSecond { get; set; } | Frames per second. Default is 30. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AudioFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/videoconvertoptions/audioformat.md #### VideoConvertOptions.AudioFormat property What audio format to be used ```csharp public AudioFileType AudioFormat { get; set; } ``` ### ExtractAudioOnly Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/videoconvertoptions/extractaudioonly.md #### VideoConvertOptions.ExtractAudioOnly property If set to true, extracts the audio from the video ```csharp public bool ExtractAudioOnly { get; set; } ``` ### FramesPerSecond Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/videoconvertoptions/framespersecond.md #### VideoConvertOptions.FramesPerSecond property Frames per second. Default is 30. ```csharp public double FramesPerSecond { get; set; } ``` ### VideoConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/videoconvertoptions/videoconvertoptions.md #### VideoConvertOptions constructor Initializes new instance of `VideoConvertOptions` class. ```csharp public VideoConvertOptions() ``` ### WatermarkImageOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkimageoptions.md #### WatermarkImageOptions class Options for settings watermark to the converted document ```csharp public sealed class WatermarkImageOptions : WatermarkOptions ``` #### Constructors | Name | Description | | --- | --- | | WatermarkImageOptions(byte[]) | Create WatermarkOptions class and set watermark text | #### Properties | Name | Description | | --- | --- | | AutoAlign { get; set; } | Auto scale the watermark. If the value is true the position and size is automatically calculated to fit the page size. | | Background { get; set; } | Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. | | Height { get; set; } | Watermark height | | Image { get; } | Image watermark | | Left { get; set; } | Watermark left position | | RotationAngle { get; set; } | Watermark rotation angle | | Top { get; set; } | Watermark top position | | Transparency { get; set; } | Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. | | Width { get; set; } | Watermark width | #### Methods | Name | Description | | --- | --- | | Clone() | Clone current instance | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Image Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkimageoptions/image.md #### WatermarkImageOptions.Image property Image watermark ```csharp public byte[] Image { get; } ``` ### WatermarkImageOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkimageoptions/watermarkimageoptions.md #### WatermarkImageOptions constructor Create WatermarkOptions class and set watermark text ```csharp public WatermarkImageOptions(byte[] image) ``` | Parameter | Type | Description | | --- | --- | --- | | image | Byte[] | The image to be used as watermark | ### WatermarkOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions.md #### WatermarkOptions class Options for settings watermark to the converted document ```csharp public abstract class WatermarkOptions : ValueObject, ICloneable ``` #### Properties | Name | Description | | --- | --- | | AutoAlign { get; set; } | Auto scale the watermark. If the value is true the position and size is automatically calculated to fit the page size. | | Background { get; set; } | Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. | | Height { get; set; } | Watermark height | | Left { get; set; } | Watermark left position | | RotationAngle { get; set; } | Watermark rotation angle | | Top { get; set; } | Watermark top position | | Transparency { get; set; } | Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. | | Width { get; set; } | Watermark width | #### Methods | Name | Description | | --- | --- | | Clone() | Clone current instance | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AutoAlign Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/autoalign.md #### WatermarkOptions.AutoAlign property Auto scale the watermark. If the value is true the position and size is automatically calculated to fit the page size. ```csharp public bool AutoAlign { get; set; } ``` ### Background Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/background.md #### WatermarkOptions.Background property Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. ```csharp public bool Background { get; set; } ``` ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/clone.md #### WatermarkOptions.Clone method Clone current instance ```csharp public object Clone() ``` ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/height.md #### WatermarkOptions.Height property Watermark height ```csharp public int Height { get; set; } ``` ### Left Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/left.md #### WatermarkOptions.Left property Watermark left position ```csharp public int Left { get; set; } ``` ### RotationAngle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/rotationangle.md #### WatermarkOptions.RotationAngle property Watermark rotation angle ```csharp public int RotationAngle { get; set; } ``` ### Top Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/top.md #### WatermarkOptions.Top property Watermark top position ```csharp public int Top { get; set; } ``` ### Transparency Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/transparency.md #### WatermarkOptions.Transparency property Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. ```csharp public double Transparency { get; set; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarkoptions/width.md #### WatermarkOptions.Width property Watermark width ```csharp public int Width { get; set; } ``` ### WatermarkTextOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarktextoptions.md #### WatermarkTextOptions class Options for settings text watermark to the converted document ```csharp public sealed class WatermarkTextOptions : WatermarkOptions ``` #### Constructors | Name | Description | | --- | --- | | WatermarkTextOptions(string) | Create WatermarkOptions class and set watermark text | #### Properties | Name | Description | | --- | --- | | AutoAlign { get; set; } | Auto scale the watermark. If the value is true the position and size is automatically calculated to fit the page size. | | Background { get; set; } | Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. | | Color { get; set; } | Watermark font color if text watermark is applied | | Height { get; set; } | Watermark height | | Left { get; set; } | Watermark left position | | RotationAngle { get; set; } | Watermark rotation angle | | Text { get; } | Watermark text | | Top { get; set; } | Watermark top position | | Transparency { get; set; } | Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. | | WatermarkFont { get; set; } | Watermark font if text watermark is applied | | Width { get; set; } | Watermark width | #### Methods | Name | Description | | --- | --- | | Clone() | Clone current instance | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Color Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarktextoptions/color.md #### WatermarkTextOptions.Color property Watermark font color if text watermark is applied ```csharp public Color Color { get; set; } ``` ### Text Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarktextoptions/text.md #### WatermarkTextOptions.Text property Watermark text ```csharp public string Text { get; } ``` ### WatermarkFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarktextoptions/watermarkfont.md #### WatermarkTextOptions.WatermarkFont property Watermark font if text watermark is applied ```csharp public Font WatermarkFont { get; set; } ``` ### WatermarkTextOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/watermarktextoptions/watermarktextoptions.md #### WatermarkTextOptions constructor Create WatermarkOptions class and set watermark text ```csharp public WatermarkTextOptions(string text) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | The text to be used as watermark. | ### WebConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webconvertoptions.md #### WebConvertOptions class Options for conversion to Web file type. ```csharp public class WebConvertOptions : CommonConvertOptions, IUsePdfConvertOptions, IZoomConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | WebConvertOptions() | Initializes new instance of `WebConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | EmbedFontResources { get; set; } | Specifies whether to embed font resources within the main HTML. Default is false. Note: If FixedLayout is set to true, font resources will always be embedded. | | FixedLayout { get; set; } | If `true` fixed layout will be used e.g. absolutely positioned html elements Default: true | | FixedLayoutShowBorders { get; set; } | Show page borders when converting to fixed layout. Default is True. | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | UsePdf { get; set; } | If `true`, the input firstly is converted to PDF and after that to desired format | | Watermark { get; set; } | Implements `Watermark` | | Zoom { get; set; } | Specifies the zoom level in percentage. Default is 100. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### EmbedFontResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webconvertoptions/embedfontresources.md #### WebConvertOptions.EmbedFontResources property Specifies whether to embed font resources within the main HTML. Default is false. Note: If FixedLayout is set to true, font resources will always be embedded. ```csharp public bool EmbedFontResources { get; set; } ``` ### FixedLayout Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webconvertoptions/fixedlayout.md #### WebConvertOptions.FixedLayout property If `true` fixed layout will be used e.g. absolutely positioned html elements Default: true ```csharp public bool FixedLayout { get; set; } ``` ### FixedLayoutShowBorders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webconvertoptions/fixedlayoutshowborders.md #### WebConvertOptions.FixedLayoutShowBorders property Show page borders when converting to fixed layout. Default is True. ```csharp public bool FixedLayoutShowBorders { get; set; } ``` ### UsePdf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webconvertoptions/usepdf.md #### WebConvertOptions.UsePdf property If `true`, the input firstly is converted to PDF and after that to desired format ```csharp public bool UsePdf { get; set; } ``` ### WebConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webconvertoptions/webconvertoptions.md #### WebConvertOptions constructor Initializes new instance of `WebConvertOptions` class. ```csharp public WebConvertOptions() ``` ### Zoom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webconvertoptions/zoom.md #### WebConvertOptions.Zoom property Specifies the zoom level in percentage. Default is 100. ```csharp public int Zoom { get; set; } ``` ### WebpOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webpoptions.md #### WebpOptions class Options for conversion to Webp file type. ```csharp public sealed class WebpOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | WebpOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Lossless { get; set; } | Indicates if the compression of the converted file will be lossless. | | Quality { get; set; } | Gets or sets the quality. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Lossless Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webpoptions/lossless.md #### WebpOptions.Lossless property Indicates if the compression of the converted file will be lossless. ```csharp public bool Lossless { get; set; } ``` ### Quality Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webpoptions/quality.md #### WebpOptions.Quality property Gets or sets the quality. ```csharp public int Quality { get; set; } ``` ### WebpOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/webpoptions/webpoptions.md #### WebpOptions constructor The default constructor. ```csharp public WebpOptions() ``` ### WordProcessingConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions.md #### WordProcessingConvertOptions class Options for conversion to WordProcessing file type. ```csharp public class WordProcessingConvertOptions : CommonConvertOptions, IDpiConvertOptions, IPageMarginOptions, IPageOrientationOptions, IPageSizeOptions, IPasswordConvertOptions, IPdfRecognitionModeOptions, IZoomConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingConvertOptions() | Initializes new instance of `WordProcessingConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Dpi { get; set; } | Desired page DPI after conversion. The default resolution is: 96 dpi. | | FallbackPageSize { get; set; } | Fallback page size | | Format { get; set; } | The desired file type the input document should be converted to. | | virtual Format { get; set; } | Implements `Format` | | MarginSettings { get; set; } | Page margin settings | | MarkdownOptions { get; set; } | Implements `MarkdownOptions` | | OrientationSettings { get; set; } | Page orientation settings | | PageNumber { get; set; } | Implements `PageNumber` | | Pages { get; set; } | Implements `Pages` | | PagesCount { get; set; } | Implements `PagesCount` | | Password { get; set; } | Set this property if you want to protect the converted document with a password. | | PdfRecognitionMode { get; set; } | Implements `PdfRecognitionMode` | | RtfOptions { get; set; } | RTF specific convert options | | SizeSettings { get; set; } | Page size settings | | Watermark { get; set; } | Implements `Watermark` | | Zoom { get; set; } | Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current options instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Dpi Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/dpi.md #### WordProcessingConvertOptions.Dpi property Desired page DPI after conversion. The default resolution is: 96 dpi. ```csharp public int Dpi { get; set; } ``` ### FallbackPageSize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/fallbackpagesize.md #### WordProcessingConvertOptions.FallbackPageSize property Fallback page size ```csharp public PageSize FallbackPageSize { get; set; } ``` ### MarginSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/marginsettings.md #### WordProcessingConvertOptions.MarginSettings property Page margin settings ```csharp public PageMarginOptions MarginSettings { get; set; } ``` ### MarkdownOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/markdownoptions.md #### WordProcessingConvertOptions.MarkdownOptions property Implements `MarkdownOptions` ```csharp public MarkdownOptions MarkdownOptions { get; set; } ``` ### OrientationSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/orientationsettings.md #### WordProcessingConvertOptions.OrientationSettings property Page orientation settings ```csharp public PageOrientation OrientationSettings { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/password.md #### WordProcessingConvertOptions.Password property Set this property if you want to protect the converted document with a password. ```csharp public string Password { get; set; } ``` ### PdfRecognitionMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/pdfrecognitionmode.md #### WordProcessingConvertOptions.PdfRecognitionMode property Implements `PdfRecognitionMode` ```csharp public PdfRecognitionMode PdfRecognitionMode { get; set; } ``` ### RtfOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/rtfoptions.md #### WordProcessingConvertOptions.RtfOptions property RTF specific convert options ```csharp public RtfOptions RtfOptions { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/sizesettings.md #### WordProcessingConvertOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### WordProcessingConvertOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/wordprocessingconvertoptions.md #### WordProcessingConvertOptions constructor Initializes new instance of `WordProcessingConvertOptions` class. ```csharp public WordProcessingConvertOptions() ``` ### Zoom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/zoom.md #### WordProcessingConvertOptions.Zoom property Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. ```csharp public int Zoom { get; set; } ``` ### GroupDocs.Conversion.Options.Load Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load.md The namespace provides classes to specify additional options for document loading process. #### Classes | Class | Description | | --- | --- | | AttachmentIcon | Represents an attachment icon configuration for email attachments. | | AudioLoadOptions | Options for loading audio documents. | | BaseImageLoadOptions | Options for loading Image documents. | | CadDrawTypeMode | Represents possible modes for colorization of objects. | | CadLoadOptions | Options for loading CAD documents. | | CompressionLoadOptions | Options for loading compression documents. | | CsvLoadOptions | Options for loading Csv documents. | | DatabaseLoadOptions | Options for loading database documents. | | DiagramLoadOptions | Options for loading Diagram documents. | | EBookLoadOptions | Options for loading EBook documents. | | EmailField | Describes email fields enumeration | | EmailLoadOptions | Options for loading Email documents. | | EpubLoadOptions | Options for loading Epub documents. | | FinanceLoadOptions | Options for loading finance documents. | | FontLoadOptions | Options for loading Font documents. | | GisLoadOptions | Options for loading GIS documents. | | GmlLoadOptions | Options for loading Gml documents. | | HtmlRenderingModes | Describes html rendering modes enumeration. | | HyphenationOptions | Options for setting hyphenation documents. | | ImageLoadOptions | Options for loading Image documents. | | LoadOptions | Abstract document load options class. | | MboxLoadOptions | Options for loading Mbox documents. | | NoteLoadOptions | Options for loading One documents. | | NsfLoadOptions | Options for loading Nsf documents. | | OlmLoadOptions | Options for loading Olm documents. | | PageDescriptionLanguageLoadOptions | Options for loading page description language documents. | | PageLayoutOptions | Describes page layout modes when loading web documents. | | PclLoadOptions | Options for loading Pcl documents. | | PdfLoadOptions | Options for loading Pdf documents. | | PersonalStorageLoadOptions | Options for loading personal storage documents. | | PresentationCommentsPosition | Represents the way comments are printed with the slide. | | PresentationLoadOptions | Options for loading Presentation documents. | | PresentationNotesPosition | Represents the way notes are printed with the slide. | | PublisherLoadOptions | Options for loading Publisher documents. | | RasterImageLoadOptions | Options for loading Image documents. | | SpreadsheetLoadOptions | Options for loading Spreadsheet documents. | | SpreadsheetPrintComments | Represents the way comments are printed with the sheet. | | SvgLoadOptions | Options for loading Svg documents. | | ThreeDLoadOptions | Options for loading 3D documents. | | TsvLoadOptions | Options for loading Tsv documents. | | TxtLeadingSpacesOptions | Describes txt leading spaces options enumeration. | | TxtLoadOptions | Options for loading Txt documents. | | TxtTrailingSpacesOptions | Describes txt trailing spaces options enumeration. | | VcfLoadOptions | Options for loading Vcf documents. | | VectorizationOptions | Options for vectorization images. | | VideoLoadOptions | Options for loading video documents. | | WebLoadOptions | Options for loading web documents. | | WordProcessingBookmarksOptions | Options for handling bookmarks in WordProcessing | | WordProcessingCommentDisplay | Specifies the rendering mode for document comments. | | WordProcessingLoadOptions | Options for loading WordProcessing documents. | | XmlLoadOptions | Options for loading XML documents. | #### Interfaces | Interface | Description | | --- | --- | | ICustomCssStyleOptions | Represents options for custom CSS styling during document conversion | | IFontSubstituteLoadOptions | Options for loading documents with font substitutes. | | IFontTransformationLoadOptions | Options for loading documents with font transformations. Font transformations occur after document loading and font substitution are complete. | | IMetadataLoadOptions | Options to control metadata in the converted document. | | IPageNumberingLoadOptions | Options to control page numbering in the converted document. | | IResourceLoadingOptions | Represents set of options to control how external resources will be loaded | ### AttachmentIcon Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/attachmenticon.md #### AttachmentIcon class Represents an attachment icon configuration for email attachments. ```csharp public class AttachmentIcon : ISerializable ``` #### Constructors | Name | Description | | --- | --- | | AttachmentIcon(string, byte[]) | Initializes a new instance of the `AttachmentIcon` class. | #### Properties | Name | Description | | --- | --- | | FileExtension { get; } | Gets or sets the file extension (e.g., ".pdf", ".docx"). | | IconData { get; } | Gets or sets the icon data as byte array. | #### Methods | Name | Description | | --- | --- | | virtual GetObjectData(SerializationInfo, StreamingContext) | Implements ISerializable.GetObjectData. | ### AttachmentIcon Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/attachmenticon/attachmenticon.md #### AttachmentIcon constructor Initializes a new instance of the `AttachmentIcon` class. ```csharp public AttachmentIcon(string fileExtension, byte[] iconData) ``` | Parameter | Type | Description | | --- | --- | --- | | fileExtension | String | The file extension. | | iconData | Byte[] | The icon data as byte array. | ### FileExtension Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/attachmenticon/fileextension.md #### AttachmentIcon.FileExtension property Gets or sets the file extension (e.g., ".pdf", ".docx"). ```csharp public string FileExtension { get; } ``` ### GetObjectData Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/attachmenticon/getobjectdata.md #### AttachmentIcon.GetObjectData method Implements ISerializable.GetObjectData. ```csharp public virtual void GetObjectData(SerializationInfo info, StreamingContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | info | SerializationInfo | The SerializationInfo. | | context | StreamingContext | The StreamingContext. | ### IconData Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/attachmenticon/icondata.md #### AttachmentIcon.IconData property Gets or sets the icon data as byte array. ```csharp public byte[] IconData { get; } ``` ### AudioLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/audioloadoptions.md #### AudioLoadOptions class Options for loading audio documents. ```csharp public sealed class AudioLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | AudioLoadOptions() | Initializes new instance of `AudioLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | SetAudioConnector(IAudioConnector) | Set audio document connector | ### AudioLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/audioloadoptions/audioloadoptions.md #### AudioLoadOptions constructor Initializes new instance of `AudioLoadOptions` class. ```csharp public AudioLoadOptions() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/audioloadoptions/format.md #### AudioLoadOptions.Format property Input document file type. ```csharp public AudioFileType Format { get; set; } ``` ### SetAudioConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/audioloadoptions/setaudioconnector.md #### AudioLoadOptions.SetAudioConnector method Set audio document connector ```csharp public void SetAudioConnector(IAudioConnector audioConnector) ``` | Parameter | Type | Description | | --- | --- | --- | | audioConnector | IAudioConnector | Audio connector instance | ### BaseImageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/baseimageloadoptions.md #### BaseImageLoadOptions class Options for loading Image documents. ```csharp public abstract class BaseImageLoadOptions : LoadOptions ``` #### Properties | Name | Description | | --- | --- | | DefaultFont { get; set; } | Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | ResetFontFolders { get; set; } | Reset font folders before loading document | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/baseimageloadoptions/defaultfont.md #### BaseImageLoadOptions.DefaultFont property Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/baseimageloadoptions/format.md #### BaseImageLoadOptions.Format property Input document file type. ```csharp public ImageFileType Format { get; set; } ``` ### ResetFontFolders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/baseimageloadoptions/resetfontfolders.md #### BaseImageLoadOptions.ResetFontFolders property Reset font folders before loading document ```csharp public bool ResetFontFolders { get; set; } ``` ### CadDrawTypeMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/caddrawtypemode.md #### CadDrawTypeMode class Represents possible modes for colorization of objects. ```csharp public class CadDrawTypeMode : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly UseDrawColor | Allows to use common color. | | static readonly UseObjectColor | Allows to use separate color for every object. | ### UseDrawColor Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/caddrawtypemode/usedrawcolor.md #### CadDrawTypeMode.UseDrawColor field Allows to use common color. ```csharp public static readonly CadDrawTypeMode UseDrawColor; ``` ### UseObjectColor Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/caddrawtypemode/useobjectcolor.md #### CadDrawTypeMode.UseObjectColor field Allows to use separate color for every object. ```csharp public static readonly CadDrawTypeMode UseObjectColor; ``` ### CadLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions.md #### CadLoadOptions class Options for loading CAD documents. ```csharp public sealed class CadLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | CadLoadOptions() | Initializes new instance of `CadLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets a background color. | | CtbSources { get; set; } | Gets or sets the CTB sources. | | DrawColor { get; set; } | Gets or sets foreground color. | | DrawType { get; set; } | Gets or sets type of drawing. | | Format { get; set; } | Input document file type | | virtual Format { get; } | Input document file type. | | LayoutNames { get; set; } | Specifies which CAD layouts to be converted | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### BackgroundColor Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions/backgroundcolor.md #### CadLoadOptions.BackgroundColor property Gets or sets a background color. ```csharp public Color BackgroundColor { get; set; } ``` ### CadLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions/cadloadoptions.md #### CadLoadOptions constructor Initializes new instance of `CadLoadOptions` class. ```csharp public CadLoadOptions() ``` ### CtbSources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions/ctbsources.md #### CadLoadOptions.CtbSources property Gets or sets the CTB sources. ```csharp public IDictionary CtbSources { get; set; } ``` ### DrawColor Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions/drawcolor.md #### CadLoadOptions.DrawColor property Gets or sets foreground color. ```csharp public Color DrawColor { get; set; } ``` ### DrawType Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions/drawtype.md #### CadLoadOptions.DrawType property Gets or sets type of drawing. ```csharp public CadDrawTypeMode DrawType { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions/format.md #### CadLoadOptions.Format property Input document file type ```csharp public CadFileType Format { get; set; } ``` ### LayoutNames Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/cadloadoptions/layoutnames.md #### CadLoadOptions.LayoutNames property Specifies which CAD layouts to be converted ```csharp public string[] LayoutNames { get; set; } ``` ### CompressionLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/compressionloadoptions.md #### CompressionLoadOptions class Options for loading compression documents. ```csharp public sealed class CompressionLoadOptions : LoadOptions, IDocumentsContainerLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | CompressionLoadOptions() | Initializes new instance of `CompressionLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | ConvertOwned { get; } | Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted | | ConvertOwner { get; } | Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted | | Depth { get; set; } | Implements `Depth` Default: 3 | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | Password { get; set; } | Set password to load protected document. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### CompressionLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/compressionloadoptions/compressionloadoptions.md #### CompressionLoadOptions constructor Initializes new instance of `CompressionLoadOptions` class. ```csharp public CompressionLoadOptions() ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/compressionloadoptions/convertowned.md #### CompressionLoadOptions.ConvertOwned property Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted ```csharp public bool ConvertOwned { get; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/compressionloadoptions/convertowner.md #### CompressionLoadOptions.ConvertOwner property Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted ```csharp public bool ConvertOwner { get; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/compressionloadoptions/depth.md #### CompressionLoadOptions.Depth property Implements `Depth` Default: 3 ```csharp public int Depth { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/compressionloadoptions/format.md #### CompressionLoadOptions.Format property Input document file type. ```csharp public CompressionFileType Format { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/compressionloadoptions/password.md #### CompressionLoadOptions.Password property Set password to load protected document. ```csharp public string Password { get; set; } ``` ### CsvLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions.md #### CsvLoadOptions class Options for loading Csv documents. ```csharp public sealed class CsvLoadOptions : SpreadsheetLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | CsvLoadOptions() | Initializes new instance of `CsvLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | AllColumnsInOnePagePerSheet { get; set; } | If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. | | AutoFitRows { get; set; } | Autofits all rows when converting | | CheckExcelRestriction { get; set; } | Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. | | ClearBuiltInDocumentProperties { get; set; } | Removes built-in metadata properties from the document. | | ClearCustomDocumentProperties { get; set; } | Removes custom metadata properties from the document. | | ColumnsPerPage { get; set; } | Split a worksheet into pages by columns. Default is 0, no pagination. | | ConvertDateTimeData { get; set; } | Indicates whether the string in the file is converted to date. Default is True. | | ConvertNumericData { get; set; } | Indicates whether the string in the file is converted to numeric. Default is True. | | ConvertOwned { get; set; } | Implements `ConvertOwned` Default is false | | ConvertOwner { get; set; } | Implements `ConvertOwner` Default is true | | ConvertRange { get; set; } | Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". | | CultureInfo { get; set; } | Get or set the system culture info at the time file is loaded | | DefaultFont { get; set; } | Default font for spreadsheet document. The following font will be used if a font is missing. | | Depth { get; set; } | Implements `Depth` Default: 1 | | Encoding { get; set; } | Encoding. Default is Encoding.Default. | | FontSubstitutes { get; set; } | Substitute specific fonts when converting spreadsheet document. | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | HasFormula { get; set; } | Indicates whether text is formula if it starts with "=". | | IgnoreFormulaCalculationErrors { get; set; } | Indicates whether to ignore formula calculation errors. The error may be unsupported function, external links, etc. Default is false. | | IsMultiEncoded { get; set; } | True means the file contains several encodings. | | MarginSettings { get; set; } | Page margin settings | | OnePagePerSheet { get; set; } | If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true. | | OptimizePdfSize { get; set; } | If True and converting to Pdf the conversion is optimized for better file size than print quality. | | Password { get; set; } | Set password to unprotect protected document. | | PreserveDocumentStructure { get; set; } | Determines whether the document structure should be preserved when converting to PDF (default is false). | | PrintComments { get; set; } | Represents the way comments are printed with the sheet. Default is PrintNoComments. | | ResetFontFolders { get; set; } | Reset font folders before loading document | | RowsPerPage { get; set; } | Split a worksheet into pages by rows. Default is 0, no pagination. | | Separator { get; set; } | Delimiter of a Csv file. | | SheetIndexes { get; set; } | List of sheet indexes to convert. The indexes must be zero-based | | Sheets { get; set; } | Sheet name to convert | | ShowGridLines { get; set; } | Show grid lines when converting Excel files. | | ShowHiddenSheets { get; set; } | Show hidden sheets when converting Excel files. | | SizeSettings { get; set; } | Page size settings | | SkipEmptyRowsAndColumns { get; set; } | Skips empty rows and columns when converting. Default is True. | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | SkipFooters { get; set; } | Skip footers when converting spreadsheet documents. Default: false. | | SkipHeaders { get; set; } | Skip headers when converting spreadsheet documents. Default: false. | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### ConvertDateTimeData Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/convertdatetimedata.md #### CsvLoadOptions.ConvertDateTimeData property Indicates whether the string in the file is converted to date. Default is True. ```csharp public bool ConvertDateTimeData { get; set; } ``` ### ConvertNumericData Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/convertnumericdata.md #### CsvLoadOptions.ConvertNumericData property Indicates whether the string in the file is converted to numeric. Default is True. ```csharp public bool ConvertNumericData { get; set; } ``` ### CsvLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/csvloadoptions.md #### CsvLoadOptions constructor Initializes new instance of `CsvLoadOptions` class. ```csharp public CsvLoadOptions() ``` ### Encoding Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/encoding.md #### CsvLoadOptions.Encoding property Encoding. Default is Encoding.Default. ```csharp public Encoding Encoding { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/format.md #### CsvLoadOptions.Format property Input document file type. ```csharp public SpreadsheetFileType Format { get; } ``` ### HasFormula Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/hasformula.md #### CsvLoadOptions.HasFormula property Indicates whether text is formula if it starts with "=". ```csharp public bool HasFormula { get; set; } ``` ### IsMultiEncoded Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/ismultiencoded.md #### CsvLoadOptions.IsMultiEncoded property True means the file contains several encodings. ```csharp public bool IsMultiEncoded { get; set; } ``` ### Separator Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/csvloadoptions/separator.md #### CsvLoadOptions.Separator property Delimiter of a Csv file. ```csharp public char Separator { get; set; } ``` ### DatabaseLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/databaseloadoptions.md #### DatabaseLoadOptions class Options for loading database documents. ```csharp public sealed class DatabaseLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | DatabaseLoadOptions() | Initializes new instance of `DatabaseLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### DatabaseLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/databaseloadoptions/databaseloadoptions.md #### DatabaseLoadOptions constructor Initializes new instance of `DatabaseLoadOptions` class. ```csharp public DatabaseLoadOptions() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/databaseloadoptions/format.md #### DatabaseLoadOptions.Format property Input document file type. ```csharp public DatabaseFileType Format { get; set; } ``` ### DiagramLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/diagramloadoptions.md #### DiagramLoadOptions class Options for loading Diagram documents. ```csharp public sealed class DiagramLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | DiagramLoadOptions() | Initializes new instance of `DiagramLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | DefaultFont { get; set; } | Default font for Diagram document. The following font will be used if a font is missing. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/diagramloadoptions/defaultfont.md #### DiagramLoadOptions.DefaultFont property Default font for Diagram document. The following font will be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### DiagramLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/diagramloadoptions/diagramloadoptions.md #### DiagramLoadOptions constructor Initializes new instance of `DiagramLoadOptions` class. ```csharp public DiagramLoadOptions() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/diagramloadoptions/format.md #### DiagramLoadOptions.Format property Input document file type. ```csharp public DiagramFileType Format { get; set; } ``` ### EBookLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ebookloadoptions.md #### EBookLoadOptions class Options for loading EBook documents. ```csharp public class EBookLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | EBookLoadOptions() | Initializes new instance of `EBookLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### EBookLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ebookloadoptions/ebookloadoptions.md #### EBookLoadOptions constructor Initializes new instance of `EBookLoadOptions` class. ```csharp public EBookLoadOptions() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ebookloadoptions/format.md #### EBookLoadOptions.Format property Input document file type. ```csharp public EBookFileType Format { get; set; } ``` ### EmailField Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield.md #### EmailField class Describes email fields enumeration ```csharp public class EmailField : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Attachments | Default field text is "Attachments". | | static readonly Bcc | Default field text is "Bcc". | | static readonly Cc | Default field text is "Cc". | | static readonly End | Default field text is "End". | | static readonly From | Default field text is "From". | | static readonly Importance | Default field text is "Importance". | | static readonly Location | Default field text is "Location". | | static readonly Organizer | Default field text is "Organizer". | | static readonly PageHeader | Default field text is "PageHeader". | | static readonly Recurrence | Default field text is "Recurrence". | | static readonly RecurrencePattern | Default field text is "RecurrencePattern". | | static readonly RequiredAttendees | Default field text is "RequiredAttendees". | | static readonly Sent | Default field text is "Sent". | | static readonly ShowTimeAs | Default field text is "ShowTimeAs". | | static readonly Start | Default field text is "Start". | | static readonly Subject | Default field text is "Subject". | | static readonly TabField | Default field text is "TabField". | | static readonly To | Default field text is "To". | ### Attachments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/attachments.md #### EmailField.Attachments field Default field text is "Attachments". ```csharp public static readonly EmailField Attachments; ``` ### Bcc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/bcc.md #### EmailField.Bcc field Default field text is "Bcc". ```csharp public static readonly EmailField Bcc; ``` ### Cc Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/cc.md #### EmailField.Cc field Default field text is "Cc". ```csharp public static readonly EmailField Cc; ``` ### End Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/end.md #### EmailField.End field Default field text is "End". ```csharp public static readonly EmailField End; ``` ### From Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/from.md #### EmailField.From field Default field text is "From". ```csharp public static readonly EmailField From; ``` ### Importance Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/importance.md #### EmailField.Importance field Default field text is "Importance". ```csharp public static readonly EmailField Importance; ``` ### Location Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/location.md #### EmailField.Location field Default field text is "Location". ```csharp public static readonly EmailField Location; ``` ### Organizer Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/organizer.md #### EmailField.Organizer field Default field text is "Organizer". ```csharp public static readonly EmailField Organizer; ``` ### PageHeader Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/pageheader.md #### EmailField.PageHeader field Default field text is "PageHeader". ```csharp public static readonly EmailField PageHeader; ``` ### Recurrence Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/recurrence.md #### EmailField.Recurrence field Default field text is "Recurrence". ```csharp public static readonly EmailField Recurrence; ``` ### RecurrencePattern Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/recurrencepattern.md #### EmailField.RecurrencePattern field Default field text is "RecurrencePattern". ```csharp public static readonly EmailField RecurrencePattern; ``` ### RequiredAttendees Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/requiredattendees.md #### EmailField.RequiredAttendees field Default field text is "RequiredAttendees". ```csharp public static readonly EmailField RequiredAttendees; ``` ### Sent Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/sent.md #### EmailField.Sent field Default field text is "Sent". ```csharp public static readonly EmailField Sent; ``` ### ShowTimeAs Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/showtimeas.md #### EmailField.ShowTimeAs field Default field text is "ShowTimeAs". ```csharp public static readonly EmailField ShowTimeAs; ``` ### Start Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/start.md #### EmailField.Start field Default field text is "Start". ```csharp public static readonly EmailField Start; ``` ### Subject Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/subject.md #### EmailField.Subject field Default field text is "Subject". ```csharp public static readonly EmailField Subject; ``` ### TabField Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/tabfield.md #### EmailField.TabField field Default field text is "TabField". ```csharp public static readonly EmailField TabField; ``` ### To Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailfield/to.md #### EmailField.To field Default field text is "To". ```csharp public static readonly EmailField To; ``` ### EmailLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions.md #### EmailLoadOptions class Options for loading Email documents. ```csharp public sealed class EmailLoadOptions : LoadOptions, ICustomCssStyleOptions, IDocumentsContainerLoadOptions, IFontSubstituteLoadOptions, IPageMarginOptions, IPageOrientationOptions, IPageSizeOptions, IResourceLoadingOptions ``` #### Constructors | Name | Description | | --- | --- | | EmailLoadOptions() | Initializes new instance of `EmailLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | AttachmentIcons { get; set; } | Gets or sets the list of attachment icons. The list can be customized to provide specific icons for different file types. By default, contains common file type icons. | | ConvertOwned { get; set; } | Implements `ConvertOwned` Default is true | | ConvertOwner { get; set; } | Implements `ConvertOwner` Default is true | | CustomCssStyle { get; set; } | Implements `CustomCssStyle` | | DefaultFont { get; set; } | Default font for email document. The following font will be used if a font is missing. | | Depth { get; set; } | Implements `Depth` Default: 1 | | DisplayAttachments { get; set; } | Option to display or hide attachments in the header. Default: true. | | DisplayBccEmailAddress { get; set; } | Option to display or hide "Bcc" email address. Default: false. | | DisplayCcEmailAddress { get; set; } | Option to display or hide "Cc" email address. Default: false. | | DisplayEmailAddresses { get; set; } | Option to control whether email addresses are displayed alongside names. Example: "John Doe <john.doe@sample.com>" or just "John Doe." Default: true. | | DisplayFromEmailAddress { get; set; } | Option to display or hide "from" email address. Default: true. | | DisplayHeader { get; set; } | Option to display or hide the email header. Default: true. | | DisplaySent { get; set; } | Option to display or hide sent date/time in the header. Default: true. | | DisplaySubject { get; set; } | Option to display or hide subject in the header. Default: true. | | DisplayToEmailAddress { get; set; } | Option to display or hide "to" email address. Default: true. | | FieldTextMap { get; set; } | The mapping between email message `EmailField` and field text representation | | FontSubstitutes { get; set; } | List of font substitutes. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | MarginSettings { get; set; } | Page margin settings | | OrientationSettings { get; set; } | Page orientation settings | | PreserveOriginalDate { get; set; } | Defines whether need to keep original date header string in mail message when saving or not (Default value is true) | | ResourceLoadingTimeout { get; set; } | Timeout for loading external resources | | SizeSettings { get; set; } | Page size settings | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | TimeZoneOffset { get; set; } | Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. | | UseDefaultAttachmentIcons { get; set; } | Gets or sets whether to use default attachment icons. Default: true. | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AttachmentIcons Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/attachmenticons.md #### EmailLoadOptions.AttachmentIcons property Gets or sets the list of attachment icons. The list can be customized to provide specific icons for different file types. By default, contains common file type icons. ```csharp public IList AttachmentIcons { get; set; } ``` ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/clone.md #### EmailLoadOptions.Clone method Clones current instance. ```csharp public object Clone() ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/convertowned.md #### EmailLoadOptions.ConvertOwned property Implements `ConvertOwned` Default is true ```csharp public bool ConvertOwned { get; set; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/convertowner.md #### EmailLoadOptions.ConvertOwner property Implements `ConvertOwner` Default is true ```csharp public bool ConvertOwner { get; set; } ``` ### CustomCssStyle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/customcssstyle.md #### EmailLoadOptions.CustomCssStyle property Implements `CustomCssStyle` ```csharp public string CustomCssStyle { get; set; } ``` ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/defaultfont.md #### EmailLoadOptions.DefaultFont property Default font for email document. The following font will be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/depth.md #### EmailLoadOptions.Depth property Implements `Depth` Default: 1 ```csharp public int Depth { get; set; } ``` ### DisplayAttachments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displayattachments.md #### EmailLoadOptions.DisplayAttachments property Option to display or hide attachments in the header. Default: true. ```csharp public bool DisplayAttachments { get; set; } ``` ### DisplayBccEmailAddress Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displaybccemailaddress.md #### EmailLoadOptions.DisplayBccEmailAddress property Option to display or hide "Bcc" email address. Default: false. ```csharp public bool DisplayBccEmailAddress { get; set; } ``` ### DisplayCcEmailAddress Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displayccemailaddress.md #### EmailLoadOptions.DisplayCcEmailAddress property Option to display or hide "Cc" email address. Default: false. ```csharp public bool DisplayCcEmailAddress { get; set; } ``` ### DisplayEmailAddresses Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displayemailaddresses.md #### EmailLoadOptions.DisplayEmailAddresses property Option to control whether email addresses are displayed alongside names. Example: "John Doe <john.doe@sample.com>" or just "John Doe." Default: true. ```csharp public bool DisplayEmailAddresses { get; set; } ``` ### DisplayFromEmailAddress Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displayfromemailaddress.md #### EmailLoadOptions.DisplayFromEmailAddress property Option to display or hide "from" email address. Default: true. ```csharp public bool DisplayFromEmailAddress { get; set; } ``` ### DisplayHeader Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displayheader.md #### EmailLoadOptions.DisplayHeader property Option to display or hide the email header. Default: true. ```csharp public bool DisplayHeader { get; set; } ``` ### DisplaySent Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displaysent.md #### EmailLoadOptions.DisplaySent property Option to display or hide sent date/time in the header. Default: true. ```csharp public bool DisplaySent { get; set; } ``` ### DisplaySubject Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displaysubject.md #### EmailLoadOptions.DisplaySubject property Option to display or hide subject in the header. Default: true. ```csharp public bool DisplaySubject { get; set; } ``` ### DisplayToEmailAddress Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/displaytoemailaddress.md #### EmailLoadOptions.DisplayToEmailAddress property Option to display or hide "to" email address. Default: true. ```csharp public bool DisplayToEmailAddress { get; set; } ``` ### EmailLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/emailloadoptions.md #### EmailLoadOptions constructor Initializes new instance of `EmailLoadOptions` class. ```csharp public EmailLoadOptions() ``` ### FieldTextMap Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/fieldtextmap.md #### EmailLoadOptions.FieldTextMap property The mapping between email message `EmailField` and field text representation ```csharp public Dictionary FieldTextMap { get; set; } ``` ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/fontsubstitutes.md #### EmailLoadOptions.FontSubstitutes property List of font substitutes. ```csharp public IList FontSubstitutes { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/format.md #### EmailLoadOptions.Format property Input document file type. ```csharp public EmailFileType Format { get; set; } ``` ### MarginSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/marginsettings.md #### EmailLoadOptions.MarginSettings property Page margin settings ```csharp public PageMarginOptions MarginSettings { get; set; } ``` ### OrientationSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/orientationsettings.md #### EmailLoadOptions.OrientationSettings property Page orientation settings ```csharp public PageOrientation OrientationSettings { get; set; } ``` ### PreserveOriginalDate Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/preserveoriginaldate.md #### EmailLoadOptions.PreserveOriginalDate property Defines whether need to keep original date header string in mail message when saving or not (Default value is true) ```csharp public bool PreserveOriginalDate { get; set; } ``` ### ResourceLoadingTimeout Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/resourceloadingtimeout.md #### EmailLoadOptions.ResourceLoadingTimeout property Timeout for loading external resources ```csharp public TimeSpan ResourceLoadingTimeout { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/sizesettings.md #### EmailLoadOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### SkipExternalResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/skipexternalresources.md #### EmailLoadOptions.SkipExternalResources property Implements `SkipExternalResources` ```csharp public bool SkipExternalResources { get; set; } ``` ### TimeZoneOffset Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/timezoneoffset.md #### EmailLoadOptions.TimeZoneOffset property Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. ```csharp public TimeSpan TimeZoneOffset { get; set; } ``` ### UseDefaultAttachmentIcons Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/usedefaultattachmenticons.md #### EmailLoadOptions.UseDefaultAttachmentIcons property Gets or sets whether to use default attachment icons. Default: true. ```csharp public bool UseDefaultAttachmentIcons { get; set; } ``` ### WhitelistedResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/emailloadoptions/whitelistedresources.md #### EmailLoadOptions.WhitelistedResources property Implements `WhitelistedResources` ```csharp public IList WhitelistedResources { get; set; } ``` ### EpubLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/epubloadoptions.md #### EpubLoadOptions class Options for loading Epub documents. ```csharp public sealed class EpubLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | EpubLoadOptions() | Initializes new instance of `EpubLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### EpubLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/epubloadoptions/epubloadoptions.md #### EpubLoadOptions constructor Initializes new instance of `EpubLoadOptions` class. ```csharp public EpubLoadOptions() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/epubloadoptions/format.md #### EpubLoadOptions.Format property Input document file type. ```csharp public EBookFileType Format { get; } ``` ### FinanceLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/financeloadoptions.md #### FinanceLoadOptions class Options for loading finance documents. ```csharp public class FinanceLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | FinanceLoadOptions() | Initializes new instance of `FinanceLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### FinanceLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/financeloadoptions/financeloadoptions.md #### FinanceLoadOptions constructor Initializes new instance of `FinanceLoadOptions` class. ```csharp public FinanceLoadOptions() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/financeloadoptions/format.md #### FinanceLoadOptions.Format property Input document file type. ```csharp public FinanceFileType Format { get; set; } ``` ### FontLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/fontloadoptions.md #### FontLoadOptions class Options for loading Font documents. ```csharp public class FontLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | FontLoadOptions() | Initializes new instance of `FontLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### FontLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/fontloadoptions/fontloadoptions.md #### FontLoadOptions constructor Initializes new instance of `FontLoadOptions` class. ```csharp public FontLoadOptions() ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/fontloadoptions/format.md #### FontLoadOptions.Format property Input document file type. ```csharp public FontFileType Format { get; set; } ``` ### GisLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gisloadoptions.md #### GisLoadOptions class Options for loading GIS documents. ```csharp public class GisLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | GisLoadOptions() | Initializes new instance of `GisLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | Height { get; set; } | Sets desired page height for converting GIS document. Default is 1000. | | Width { get; set; } | Sets desired page width for converting GIS document. Default is 1000. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gisloadoptions/format.md #### GisLoadOptions.Format property Input document file type. ```csharp public GisFileType Format { get; set; } ``` ### GisLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gisloadoptions/gisloadoptions.md #### GisLoadOptions constructor Initializes new instance of `GisLoadOptions` class. ```csharp public GisLoadOptions() ``` ### Height Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gisloadoptions/height.md #### GisLoadOptions.Height property Sets desired page height for converting GIS document. Default is 1000. ```csharp public int Height { get; set; } ``` ### Width Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gisloadoptions/width.md #### GisLoadOptions.Width property Sets desired page width for converting GIS document. Default is 1000. ```csharp public int Width { get; set; } ``` ### GmlLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gmlloadoptions.md #### GmlLoadOptions class Options for loading Gml documents. ```csharp public sealed class GmlLoadOptions : GisLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | GmlLoadOptions() | Initializes new instance of `GmlLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | Height { get; set; } | Sets desired page height for converting GIS document. Default is 1000. | | LoadSchemasFromInternet { get; set; } | Determines whether Conversion is allowed to load XML schema from Internet. If set to false, schemas with absolute URIs that does not start with ‘file://’ would not be loaded. Default is false. | | RestoreSchema { get; set; } | Determines whether Conversion is allowed to parse attributes in a Gml file in which an XML schema is missing or cannot be loaded. If set to true, Conversion reader does not require the presence of an XML Schema. Default is false. | | SchemaLocation { get; set; } | Space separated list of URI pairs. First URI in every pair is a URI of the namespace, second URI is a Path to XML schema of the namespace. If set to null, Conversion will try read schemaLocation from the root element of the document. Default is null | | Width { get; set; } | Sets desired page width for converting GIS document. Default is 1000. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gmlloadoptions/format.md #### GmlLoadOptions.Format property Input document file type. ```csharp public GisFileType Format { get; } ``` ### GmlLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gmlloadoptions/gmlloadoptions.md #### GmlLoadOptions constructor Initializes new instance of `GmlLoadOptions` class. ```csharp public GmlLoadOptions() ``` ### LoadSchemasFromInternet Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gmlloadoptions/loadschemasfrominternet.md #### GmlLoadOptions.LoadSchemasFromInternet property Determines whether Conversion is allowed to load XML schema from Internet. If set to false, schemas with absolute URIs that does not start with ‘file://’ would not be loaded. Default is false. ```csharp public bool LoadSchemasFromInternet { get; set; } ``` ### RestoreSchema Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gmlloadoptions/restoreschema.md #### GmlLoadOptions.RestoreSchema property Determines whether Conversion is allowed to parse attributes in a Gml file in which an XML schema is missing or cannot be loaded. If set to true, Conversion reader does not require the presence of an XML Schema. Default is false. ```csharp public bool RestoreSchema { get; set; } ``` ### SchemaLocation Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/gmlloadoptions/schemalocation.md #### GmlLoadOptions.SchemaLocation property Space separated list of URI pairs. First URI in every pair is a URI of the namespace, second URI is a Path to XML schema of the namespace. If set to null, Conversion will try read schemaLocation from the root element of the document. Default is null ```csharp public string SchemaLocation { get; set; } ``` ### HtmlRenderingModes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/htmlrenderingmodes.md #### HtmlRenderingModes class Describes html rendering modes enumeration. ```csharp public class HtmlRenderingModes : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly AbsolutePositioning | Absolute positioning rendering mode | | static readonly Flow | Flow rendering mode | ### AbsolutePositioning Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/htmlrenderingmodes/absolutepositioning.md #### HtmlRenderingModes.AbsolutePositioning field Absolute positioning rendering mode ```csharp public static readonly HtmlRenderingModes AbsolutePositioning; ``` ### Flow Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/htmlrenderingmodes/flow.md #### HtmlRenderingModes.Flow field Flow rendering mode ```csharp public static readonly HtmlRenderingModes Flow; ``` ### HyphenationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/hyphenationoptions.md #### HyphenationOptions class Options for setting hyphenation documents. ```csharp public sealed class HyphenationOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | HyphenationOptions() | Creates new instance of `HyphenationOptions` class. | #### Properties | Name | Description | | --- | --- | | AutoHyphenation { get; set; } | Gets or sets value determining whether automatic hyphenation is turned on for the document. Default value for this property is false. | | HyphenateCaps { get; set; } | Gets or sets value determining whether words written in all capital letters are hyphenated. Default value for this property is true. | | HyphenationDictionaries { get; set; } | Dictionary containing associates between ISO language codes with provided hyphenation dictionary streams. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AutoHyphenation Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/hyphenationoptions/autohyphenation.md #### HyphenationOptions.AutoHyphenation property Gets or sets value determining whether automatic hyphenation is turned on for the document. Default value for this property is false. ```csharp public bool AutoHyphenation { get; set; } ``` ### HyphenateCaps Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/hyphenationoptions/hyphenatecaps.md #### HyphenationOptions.HyphenateCaps property Gets or sets value determining whether words written in all capital letters are hyphenated. Default value for this property is true. ```csharp public bool HyphenateCaps { get; set; } ``` ### HyphenationDictionaries Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/hyphenationoptions/hyphenationdictionaries.md #### HyphenationOptions.HyphenationDictionaries property Dictionary containing associates between ISO language codes with provided hyphenation dictionary streams. ```csharp public Dictionary HyphenationDictionaries { get; set; } ``` ### HyphenationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/hyphenationoptions/hyphenationoptions.md #### HyphenationOptions constructor Creates new instance of `HyphenationOptions` class. ```csharp public HyphenationOptions() ``` ### ICustomCssStyleOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/icustomcssstyleoptions.md #### ICustomCssStyleOptions interface Represents options for custom CSS styling during document conversion ```csharp public interface ICustomCssStyleOptions ``` #### Properties | Name | Description | | --- | --- | | CustomCssStyle { get; set; } | Custom CSS style to be applied to the document during conversion. This style will be applied to the document's <head> tag to customize rendering. | ### CustomCssStyle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/icustomcssstyleoptions/customcssstyle.md #### ICustomCssStyleOptions.CustomCssStyle property Custom CSS style to be applied to the document during conversion. This style will be applied to the document's <head> tag to customize rendering. ```csharp public string CustomCssStyle { get; set; } ``` ### IFontSubstituteLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ifontsubstituteloadoptions.md #### IFontSubstituteLoadOptions interface Options for loading documents with font substitutes. ```csharp public interface IFontSubstituteLoadOptions ``` #### Properties | Name | Description | | --- | --- | | DefaultFont { get; set; } | The font to be used if a font is missing. | | FontSubstitutes { get; set; } | Substitute specific fonts | ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ifontsubstituteloadoptions/defaultfont.md #### IFontSubstituteLoadOptions.DefaultFont property The font to be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ifontsubstituteloadoptions/fontsubstitutes.md #### IFontSubstituteLoadOptions.FontSubstitutes property Substitute specific fonts ```csharp public IList FontSubstitutes { get; set; } ``` ### IFontTransformationLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ifonttransformationloadoptions.md #### IFontTransformationLoadOptions interface Options for loading documents with font transformations. Font transformations occur after document loading and font substitution are complete. ```csharp public interface IFontTransformationLoadOptions ``` #### Properties | Name | Description | | --- | --- | | FontTransformations { get; set; } | Transform existing fonts after document loading and font substitution. Transformations are applied in the order they appear in the list. Use this for styling, branding, or accessibility font changes. | ### FontTransformations Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ifonttransformationloadoptions/fonttransformations.md #### IFontTransformationLoadOptions.FontTransformations property Transform existing fonts after document loading and font substitution. Transformations are applied in the order they appear in the list. Use this for styling, branding, or accessibility font changes. ```csharp public IList FontTransformations { get; set; } ``` ### ImageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/imageloadoptions.md #### ImageLoadOptions class Options for loading Image documents. ```csharp public sealed class ImageLoadOptions : BaseImageLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | ImageLoadOptions() | Initializes a new instance of the `ImageLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | DefaultFont { get; set; } | Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | ResetFontFolders { get; set; } | Reset font folders before loading document | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/imageloadoptions/format.md #### ImageLoadOptions.Format property Input document file type. ```csharp public ImageFileType Format { get; set; } ``` ### ImageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/imageloadoptions/imageloadoptions.md #### ImageLoadOptions constructor Initializes a new instance of the `ImageLoadOptions` class. ```csharp public ImageLoadOptions() ``` ### IMetadataLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/imetadataloadoptions.md #### IMetadataLoadOptions interface Options to control metadata in the converted document. ```csharp public interface IMetadataLoadOptions ``` #### Properties | Name | Description | | --- | --- | | ClearBuiltInDocumentProperties { get; set; } | Removes built-in metadata properties from the document. | | ClearCustomDocumentProperties { get; set; } | Removes custom metadata properties from the document. | ### ClearBuiltInDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/imetadataloadoptions/clearbuiltindocumentproperties.md #### IMetadataLoadOptions.ClearBuiltInDocumentProperties property Removes built-in metadata properties from the document. ```csharp public bool ClearBuiltInDocumentProperties { get; set; } ``` ### ClearCustomDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/imetadataloadoptions/clearcustomdocumentproperties.md #### IMetadataLoadOptions.ClearCustomDocumentProperties property Removes custom metadata properties from the document. ```csharp public bool ClearCustomDocumentProperties { get; set; } ``` ### IPageNumberingLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ipagenumberingloadoptions.md #### IPageNumberingLoadOptions interface Options to control page numbering in the converted document. ```csharp public interface IPageNumberingLoadOptions ``` #### Properties | Name | Description | | --- | --- | | PageNumbering { get; set; } | Enable or disable generation of page numbering in converted document. Default: false | ### PageNumbering Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/ipagenumberingloadoptions/pagenumbering.md #### IPageNumberingLoadOptions.PageNumbering property Enable or disable generation of page numbering in converted document. Default: false ```csharp public bool PageNumbering { get; set; } ``` ### IResourceLoadingOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/iresourceloadingoptions.md #### IResourceLoadingOptions interface Represents set of options to control how external resources will be loaded ```csharp public interface IResourceLoadingOptions ``` #### Properties | Name | Description | | --- | --- | | SkipExternalResources { get; set; } | If true, all external resources will not be loaded except those in `WhitelistedResources` list. Default: true | | WhitelistedResources { get; set; } | External resources that will be always loaded | ### SkipExternalResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/iresourceloadingoptions/skipexternalresources.md #### IResourceLoadingOptions.SkipExternalResources property If true, all external resources will not be loaded except those in `WhitelistedResources` list. Default: true ```csharp public bool SkipExternalResources { get; set; } ``` ### WhitelistedResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/iresourceloadingoptions/whitelistedresources.md #### IResourceLoadingOptions.WhitelistedResources property External resources that will be always loaded ```csharp public IList WhitelistedResources { get; set; } ``` ### LoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/loadoptions.md #### LoadOptions class Abstract document load options class. ```csharp public abstract class LoadOptions : ValueObject ``` #### Properties | Name | Description | | --- | --- | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/loadoptions/format.md #### LoadOptions.Format property Input document file type. ```csharp public virtual FileType Format { get; } ``` ### MboxLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/mboxloadoptions.md #### MboxLoadOptions class Options for loading Mbox documents. ```csharp public sealed class MboxLoadOptions : LoadOptions, IDocumentsContainerLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | MboxLoadOptions() | Initializes new instance of `MboxLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | ConvertOwned { get; } | Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted | | ConvertOwner { get; } | Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted | | Depth { get; set; } | Implements `Depth` Default: 3 | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/mboxloadoptions/clone.md #### MboxLoadOptions.Clone method Clones current instance. ```csharp public object Clone() ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/mboxloadoptions/convertowned.md #### MboxLoadOptions.ConvertOwned property Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted ```csharp public bool ConvertOwned { get; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/mboxloadoptions/convertowner.md #### MboxLoadOptions.ConvertOwner property Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted ```csharp public bool ConvertOwner { get; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/mboxloadoptions/depth.md #### MboxLoadOptions.Depth property Implements `Depth` Default: 3 ```csharp public int Depth { get; set; } ``` ### MboxLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/mboxloadoptions/mboxloadoptions.md #### MboxLoadOptions constructor Initializes new instance of `MboxLoadOptions` class. ```csharp public MboxLoadOptions() ``` ### NoteLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/noteloadoptions.md #### NoteLoadOptions class Options for loading One documents. ```csharp public sealed class NoteLoadOptions : LoadOptions, IFontSubstituteLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | NoteLoadOptions() | Initializes new instance of `NoteLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | DefaultFont { get; set; } | Default font for Note document. The following font will be used if a font is missing. | | FontSubstitutes { get; set; } | Substitute specific fonts when converting Note document. | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | Password { get; set; } | Set password to unprotect protected document. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/noteloadoptions/defaultfont.md #### NoteLoadOptions.DefaultFont property Default font for Note document. The following font will be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/noteloadoptions/fontsubstitutes.md #### NoteLoadOptions.FontSubstitutes property Substitute specific fonts when converting Note document. ```csharp public IList FontSubstitutes { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/noteloadoptions/format.md #### NoteLoadOptions.Format property Input document file type. ```csharp public NoteFileType Format { get; } ``` ### NoteLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/noteloadoptions/noteloadoptions.md #### NoteLoadOptions constructor Initializes new instance of `NoteLoadOptions` class. ```csharp public NoteLoadOptions() ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/noteloadoptions/password.md #### NoteLoadOptions.Password property Set password to unprotect protected document. ```csharp public string Password { get; set; } ``` ### NsfLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/nsfloadoptions.md #### NsfLoadOptions class Options for loading Nsf documents. ```csharp public sealed class NsfLoadOptions : LoadOptions, IDocumentsContainerLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | NsfLoadOptions() | Initializes new instance of `NsfLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | ConvertOwned { get; } | Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted | | ConvertOwner { get; } | Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted | | Depth { get; set; } | Implements `Depth` Default: 3 | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/nsfloadoptions/clone.md #### NsfLoadOptions.Clone method Clones current instance. ```csharp public object Clone() ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/nsfloadoptions/convertowned.md #### NsfLoadOptions.ConvertOwned property Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted ```csharp public bool ConvertOwned { get; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/nsfloadoptions/convertowner.md #### NsfLoadOptions.ConvertOwner property Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted ```csharp public bool ConvertOwner { get; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/nsfloadoptions/depth.md #### NsfLoadOptions.Depth property Implements `Depth` Default: 3 ```csharp public int Depth { get; set; } ``` ### NsfLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/nsfloadoptions/nsfloadoptions.md #### NsfLoadOptions constructor Initializes new instance of `NsfLoadOptions` class. ```csharp public NsfLoadOptions() ``` ### OlmLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/olmloadoptions.md #### OlmLoadOptions class Options for loading Olm documents. ```csharp public sealed class OlmLoadOptions : LoadOptions, IDocumentsContainerLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | OlmLoadOptions() | Initializes new instance of `OlmLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | ConvertOwned { get; } | Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted | | ConvertOwner { get; } | Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted | | Depth { get; set; } | Implements `Depth` Default: 3 | | Folder { get; set; } | Folder which to be processed Default is Inbox | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/olmloadoptions/clone.md #### OlmLoadOptions.Clone method Clones current instance. ```csharp public object Clone() ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/olmloadoptions/convertowned.md #### OlmLoadOptions.ConvertOwned property Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted ```csharp public bool ConvertOwned { get; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/olmloadoptions/convertowner.md #### OlmLoadOptions.ConvertOwner property Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted ```csharp public bool ConvertOwner { get; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/olmloadoptions/depth.md #### OlmLoadOptions.Depth property Implements `Depth` Default: 3 ```csharp public int Depth { get; set; } ``` ### Folder Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/olmloadoptions/folder.md #### OlmLoadOptions.Folder property Folder which to be processed Default is Inbox ```csharp public string Folder { get; set; } ``` ### OlmLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/olmloadoptions/olmloadoptions.md #### OlmLoadOptions constructor Initializes new instance of `OlmLoadOptions` class. ```csharp public OlmLoadOptions() ``` ### PageDescriptionLanguageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions.md #### PageDescriptionLanguageLoadOptions class Options for loading page description language documents. ```csharp public class PageDescriptionLanguageLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | PageDescriptionLanguageLoadOptions() | Initializes new instance of `PageDescriptionLanguageLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions/format.md #### PageDescriptionLanguageLoadOptions.Format property Input document file type. ```csharp public PageDescriptionLanguageFileType Format { get; set; } ``` ### PageDescriptionLanguageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions/pagedescriptionlanguageloadoptions.md #### PageDescriptionLanguageLoadOptions constructor Initializes new instance of `PageDescriptionLanguageLoadOptions` class. ```csharp public PageDescriptionLanguageLoadOptions() ``` ### PageLayoutOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagelayoutoptions.md #### PageLayoutOptions class Describes page layout modes when loading web documents. ```csharp public class PageLayoutOptions : FlagsEnumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | virtual HasFlag<T>(T) | Checks if the current flag has the specified flag. | | virtual HasFlagValue(int) | Checks if the current flag has the specified value. | | override ToString() | Converts the current object to a string. | | operator | | Combines two `PageLayoutOptions` flags using bitwise OR. | #### Fields | Name | Description | | --- | --- | | static readonly None | Default value | | static readonly ScaleToPageHeight | This flag indicates that the content of the document will be scaled to fit the height of the first page. All document content will be placed on the single page only. | | static readonly ScaleToPageWidth | Indicates that the content of the document will be scaled to fit the page where the difference between the available page width and the overlapping content is greatest. | ### None Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagelayoutoptions/none.md #### PageLayoutOptions.None field Default value ```csharp public static readonly PageLayoutOptions None; ``` ### op_BitwiseOr Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagelayoutoptions/op_bitwiseor.md #### PageLayoutOptions BitwiseOr operator Combines two `PageLayoutOptions` flags using bitwise OR. ```csharp public static PageLayoutOptions operator |(PageLayoutOptions left, PageLayoutOptions right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | PageLayoutOptions | The first flag. | | right | PageLayoutOptions | The second flag. | ##### Return Value A combined `PageLayoutOptions` containing both flags. ### ScaleToPageHeight Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagelayoutoptions/scaletopageheight.md #### PageLayoutOptions.ScaleToPageHeight field This flag indicates that the content of the document will be scaled to fit the height of the first page. All document content will be placed on the single page only. ```csharp public static readonly PageLayoutOptions ScaleToPageHeight; ``` ### ScaleToPageWidth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pagelayoutoptions/scaletopagewidth.md #### PageLayoutOptions.ScaleToPageWidth field Indicates that the content of the document will be scaled to fit the page where the difference between the available page width and the overlapping content is greatest. ```csharp public static readonly PageLayoutOptions ScaleToPageWidth; ``` ### PclLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pclloadoptions.md #### PclLoadOptions class Options for loading Pcl documents. ```csharp public sealed class PclLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | PclLoadOptions() | Initializes new instance of `PclLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | ResetFontFolders { get; set; } | Reset font folders before loading document | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pclloadoptions/format.md #### PclLoadOptions.Format property Input document file type. ```csharp public PageDescriptionLanguageFileType Format { get; } ``` ### PclLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pclloadoptions/pclloadoptions.md #### PclLoadOptions constructor Initializes new instance of `PclLoadOptions` class. ```csharp public PclLoadOptions() ``` ### ResetFontFolders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pclloadoptions/resetfontfolders.md #### PclLoadOptions.ResetFontFolders property Reset font folders before loading document ```csharp public bool ResetFontFolders { get; set; } ``` ### PdfLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions.md #### PdfLoadOptions class Options for loading Pdf documents. ```csharp public sealed class PdfLoadOptions : LoadOptions, IDocumentsContainerLoadOptions, IFontSubstituteLoadOptions, IFontTransformationLoadOptions, IMetadataLoadOptions, IPageNumberingLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfLoadOptions() | Initializes new instance of `PdfLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | ClearBuiltInDocumentProperties { get; set; } | Removes built-in metadata properties from the document. | | ClearCustomDocumentProperties { get; set; } | Removes custom metadata properties from the document. | | ConvertOwned { get; set; } | Implements `ConvertOwned` Default is false | | ConvertOwner { get; set; } | Implements `ConvertOwner` Default is true | | DefaultFont { get; set; } | Default font for Pdf document. The following font will be used if a font is missing. | | Depth { get; set; } | Implements `Depth` Default: 1 | | FlattenAllFields { get; set; } | Flatten all the fields of the PDF form. | | FontSubstitutes { get; set; } | Substitute specific fonts when converting Pdf document. | | FontTransformations { get; set; } | Transform existing fonts after document loading and font substitution are complete. Font transformations can modify any fonts in the document, including fonts that were successfully loaded. | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | HidePdfAnnotations { get; set; } | Hide annotations in Pdf documents. | | PageNumbering { get; set; } | Enable or disable generation of page numbering in converted document. Default: false | | Password { get; set; } | Set password to unprotect protected document. | | RemoveEmbeddedFiles { get; set; } | Remove embedded files. | | RemoveJavascript { get; set; } | Remove javascript. | | ResetFontFolders { get; set; } | Reset font folders before loading document | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### ClearBuiltInDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/clearbuiltindocumentproperties.md #### PdfLoadOptions.ClearBuiltInDocumentProperties property Removes built-in metadata properties from the document. ```csharp public bool ClearBuiltInDocumentProperties { get; set; } ``` ### ClearCustomDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/clearcustomdocumentproperties.md #### PdfLoadOptions.ClearCustomDocumentProperties property Removes custom metadata properties from the document. ```csharp public bool ClearCustomDocumentProperties { get; set; } ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/convertowned.md #### PdfLoadOptions.ConvertOwned property Implements `ConvertOwned` Default is false ```csharp public bool ConvertOwned { get; set; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/convertowner.md #### PdfLoadOptions.ConvertOwner property Implements `ConvertOwner` Default is true ```csharp public bool ConvertOwner { get; set; } ``` ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/defaultfont.md #### PdfLoadOptions.DefaultFont property Default font for Pdf document. The following font will be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/depth.md #### PdfLoadOptions.Depth property Implements `Depth` Default: 1 ```csharp public int Depth { get; set; } ``` ### FlattenAllFields Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/flattenallfields.md #### PdfLoadOptions.FlattenAllFields property Flatten all the fields of the PDF form. ```csharp public bool FlattenAllFields { get; set; } ``` ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/fontsubstitutes.md #### PdfLoadOptions.FontSubstitutes property Substitute specific fonts when converting Pdf document. ```csharp public IList FontSubstitutes { get; set; } ``` ### FontTransformations Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/fonttransformations.md #### PdfLoadOptions.FontTransformations property Transform existing fonts after document loading and font substitution are complete. Font transformations can modify any fonts in the document, including fonts that were successfully loaded. ```csharp public IList FontTransformations { get; set; } ``` ##### Remarks **Note:** Font transformations are applied after all font substitution steps are complete. Transformations are processed in the order they appear in the list. Use cases: Styling changes, branding requirements, accessibility improvements. ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/format.md #### PdfLoadOptions.Format property Input document file type. ```csharp public PdfFileType Format { get; } ``` ### HidePdfAnnotations Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/hidepdfannotations.md #### PdfLoadOptions.HidePdfAnnotations property Hide annotations in Pdf documents. ```csharp public bool HidePdfAnnotations { get; set; } ``` ### PageNumbering Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/pagenumbering.md #### PdfLoadOptions.PageNumbering property Enable or disable generation of page numbering in converted document. Default: false ```csharp public bool PageNumbering { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/password.md #### PdfLoadOptions.Password property Set password to unprotect protected document. ```csharp public string Password { get; set; } ``` ### PdfLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/pdfloadoptions.md #### PdfLoadOptions constructor Initializes new instance of `PdfLoadOptions` class. ```csharp public PdfLoadOptions() ``` ### RemoveEmbeddedFiles Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/removeembeddedfiles.md #### PdfLoadOptions.RemoveEmbeddedFiles property Remove embedded files. ```csharp public bool RemoveEmbeddedFiles { get; set; } ``` ### RemoveJavascript Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/removejavascript.md #### PdfLoadOptions.RemoveJavascript property Remove javascript. ```csharp public bool RemoveJavascript { get; set; } ``` ### ResetFontFolders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/pdfloadoptions/resetfontfolders.md #### PdfLoadOptions.ResetFontFolders property Reset font folders before loading document ```csharp public bool ResetFontFolders { get; set; } ``` ### PersonalStorageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions.md #### PersonalStorageLoadOptions class Options for loading personal storage documents. ```csharp public sealed class PersonalStorageLoadOptions : LoadOptions, IDocumentsContainerLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | PersonalStorageLoadOptions() | Initializes new instance of `PersonalStorageLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | ConvertOwned { get; } | Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted | | ConvertOwner { get; } | Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted | | Depth { get; set; } | Implements `Depth` Default: 3 | | Folder { get; set; } | Folder which to be processed Default is Inbox | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions/clone.md #### PersonalStorageLoadOptions.Clone method Clones current instance. ```csharp public object Clone() ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions/convertowned.md #### PersonalStorageLoadOptions.ConvertOwned property Implements `ConvertOwned` Readonly. Set to true. The owned documents will be converted ```csharp public bool ConvertOwned { get; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions/convertowner.md #### PersonalStorageLoadOptions.ConvertOwner property Implements `ConvertOwner` Readonly. Set to false. The owner will not be converted ```csharp public bool ConvertOwner { get; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions/depth.md #### PersonalStorageLoadOptions.Depth property Implements `Depth` Default: 3 ```csharp public int Depth { get; set; } ``` ### Folder Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions/folder.md #### PersonalStorageLoadOptions.Folder property Folder which to be processed Default is Inbox ```csharp public string Folder { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions/format.md #### PersonalStorageLoadOptions.Format property Input document file type. ```csharp public EmailFileType Format { get; set; } ``` ### PersonalStorageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/personalstorageloadoptions/personalstorageloadoptions.md #### PersonalStorageLoadOptions constructor Initializes new instance of `PersonalStorageLoadOptions` class. ```csharp public PersonalStorageLoadOptions() ``` ### PresentationCommentsPosition Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationcommentsposition.md #### PresentationCommentsPosition class Represents the way comments are printed with the slide. ```csharp public class PresentationCommentsPosition : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Bottom | Represents the comments are printed at end of the page. | | static readonly None | Represents the comments are not printed. | | static readonly Right | Represents the comments are printed at the right of the page. | ### Bottom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationcommentsposition/bottom.md #### PresentationCommentsPosition.Bottom field Represents the comments are printed at end of the page. ```csharp public static readonly PresentationCommentsPosition Bottom; ``` ### None Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationcommentsposition/none.md #### PresentationCommentsPosition.None field Represents the comments are not printed. ```csharp public static readonly PresentationCommentsPosition None; ``` ### Right Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationcommentsposition/right.md #### PresentationCommentsPosition.Right field Represents the comments are printed at the right of the page. ```csharp public static readonly PresentationCommentsPosition Right; ``` ### PresentationLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions.md #### PresentationLoadOptions class Options for loading Presentation documents. ```csharp public class PresentationLoadOptions : LoadOptions, IDocumentsContainerLoadOptions, IFontSubstituteLoadOptions, IMetadataLoadOptions, IResourceLoadingOptions ``` #### Constructors | Name | Description | | --- | --- | | PresentationLoadOptions() | Initializes new instance of `PresentationLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | ClearBuiltInDocumentProperties { get; set; } | Removes built-in metadata properties from the document. | | ClearCustomDocumentProperties { get; set; } | Removes custom metadata properties from the document. | | CommentsPosition { get; set; } | Represents the way comments are printed with the slide. Default is None. | | ConvertOwned { get; set; } | Implements `ConvertOwned` Default is false | | ConvertOwner { get; set; } | Implements `ConvertOwner` Default is true | | DefaultFont { get; set; } | Default font for rendering the presentation. The following font will be used if a presentation font is missing. | | Depth { get; set; } | Implements `Depth` Default: 1 | | FontSubstitutes { get; set; } | Substitute specific fonts when converting Presentation document. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | NotesPosition { get; set; } | Represents the way notes are printed with the slide. Default is None. | | Password { get; set; } | Set password to unprotect protected document. | | PreserveDocumentStructure { get; set; } | Determines whether the document structure should be preserved when converting to PDF (default is false). | | ShowHiddenSlides { get; set; } | Show hidden slides. | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | SetVideoConnector(IPresentationVideoConnector) | Set video document connector | ### ClearBuiltInDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/clearbuiltindocumentproperties.md #### PresentationLoadOptions.ClearBuiltInDocumentProperties property Removes built-in metadata properties from the document. ```csharp public bool ClearBuiltInDocumentProperties { get; set; } ``` ### ClearCustomDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/clearcustomdocumentproperties.md #### PresentationLoadOptions.ClearCustomDocumentProperties property Removes custom metadata properties from the document. ```csharp public bool ClearCustomDocumentProperties { get; set; } ``` ### CommentsPosition Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/commentsposition.md #### PresentationLoadOptions.CommentsPosition property Represents the way comments are printed with the slide. Default is None. ```csharp public PresentationCommentsPosition CommentsPosition { get; set; } ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/convertowned.md #### PresentationLoadOptions.ConvertOwned property Implements `ConvertOwned` Default is false ```csharp public bool ConvertOwned { get; set; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/convertowner.md #### PresentationLoadOptions.ConvertOwner property Implements `ConvertOwner` Default is true ```csharp public bool ConvertOwner { get; set; } ``` ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/defaultfont.md #### PresentationLoadOptions.DefaultFont property Default font for rendering the presentation. The following font will be used if a presentation font is missing. ```csharp public string DefaultFont { get; set; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/depth.md #### PresentationLoadOptions.Depth property Implements `Depth` Default: 1 ```csharp public int Depth { get; set; } ``` ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/fontsubstitutes.md #### PresentationLoadOptions.FontSubstitutes property Substitute specific fonts when converting Presentation document. ```csharp public IList FontSubstitutes { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/format.md #### PresentationLoadOptions.Format property Input document file type. ```csharp public PresentationFileType Format { get; set; } ``` ### NotesPosition Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/notesposition.md #### PresentationLoadOptions.NotesPosition property Represents the way notes are printed with the slide. Default is None. ```csharp public PresentationNotesPosition NotesPosition { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/password.md #### PresentationLoadOptions.Password property Set password to unprotect protected document. ```csharp public string Password { get; set; } ``` ### PresentationLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/presentationloadoptions.md #### PresentationLoadOptions constructor Initializes new instance of `PresentationLoadOptions` class. ```csharp public PresentationLoadOptions() ``` ### PreserveDocumentStructure Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/preservedocumentstructure.md #### PresentationLoadOptions.PreserveDocumentStructure property Determines whether the document structure should be preserved when converting to PDF (default is false). ```csharp public bool PreserveDocumentStructure { get; set; } ``` ##### Remarks Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. ### SetVideoConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/setvideoconnector.md #### PresentationLoadOptions.SetVideoConnector method Set video document connector ```csharp public void SetVideoConnector(IPresentationVideoConnector videoConnector) ``` | Parameter | Type | Description | | --- | --- | --- | | videoConnector | IPresentationVideoConnector | Video connector instance | ### ShowHiddenSlides Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/showhiddenslides.md #### PresentationLoadOptions.ShowHiddenSlides property Show hidden slides. ```csharp public bool ShowHiddenSlides { get; set; } ``` ### SkipExternalResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/skipexternalresources.md #### PresentationLoadOptions.SkipExternalResources property Implements `SkipExternalResources` ```csharp public bool SkipExternalResources { get; set; } ``` ### WhitelistedResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationloadoptions/whitelistedresources.md #### PresentationLoadOptions.WhitelistedResources property Implements `WhitelistedResources` ```csharp public IList WhitelistedResources { get; set; } ``` ### PresentationNotesPosition Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationnotesposition.md #### PresentationNotesPosition class Represents the way notes are printed with the slide. ```csharp public class PresentationNotesPosition : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly BottomFull | Specifies the notes should be full displayed using additional pages as it is needed. | | static readonly BottomTruncated | Specifies the notes should be displayed in only one page. | | static readonly None | Notes will not be printed. | ### BottomFull Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationnotesposition/bottomfull.md #### PresentationNotesPosition.BottomFull field Specifies the notes should be full displayed using additional pages as it is needed. ```csharp public static readonly PresentationNotesPosition BottomFull; ``` ### BottomTruncated Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationnotesposition/bottomtruncated.md #### PresentationNotesPosition.BottomTruncated field Specifies the notes should be displayed in only one page. ```csharp public static readonly PresentationNotesPosition BottomTruncated; ``` ### None Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/presentationnotesposition/none.md #### PresentationNotesPosition.None field Notes will not be printed. ```csharp public static readonly PresentationNotesPosition None; ``` ### PublisherLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/publisherloadoptions.md #### PublisherLoadOptions class Options for loading Publisher documents. ```csharp public class PublisherLoadOptions : LoadOptions, IFontSubstituteLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | PublisherLoadOptions() | Initializes new instance of `PublisherLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | DefaultFont { get; set; } | Default font for Publisher document. The following font will be used if a font is missing. | | FontSubstitutes { get; set; } | Substitute specific fonts when converting Publisher document. | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/publisherloadoptions/defaultfont.md #### PublisherLoadOptions.DefaultFont property Default font for Publisher document. The following font will be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/publisherloadoptions/fontsubstitutes.md #### PublisherLoadOptions.FontSubstitutes property Substitute specific fonts when converting Publisher document. ```csharp public IList FontSubstitutes { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/publisherloadoptions/format.md #### PublisherLoadOptions.Format property Input document file type. ```csharp public PublisherFileType Format { get; } ``` ### PublisherLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/publisherloadoptions/publisherloadoptions.md #### PublisherLoadOptions constructor Initializes new instance of `PublisherLoadOptions` class. ```csharp public PublisherLoadOptions() ``` ### RasterImageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/rasterimageloadoptions.md #### RasterImageLoadOptions class Options for loading Image documents. ```csharp public sealed class RasterImageLoadOptions : BaseImageLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | RasterImageLoadOptions() | Initializes a new instance of the `RasterImageLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | CropArea { get; set; } | Crop image area before conversion | | DefaultFont { get; set; } | Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | ResetFontFolders { get; set; } | Reset font folders before loading document | | VectorizationOptions { get; set; } | Sets vectorization options | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | SetHeicConnector(IHeicConnector) | Set Heic image connector | | SetOcrConnector(IOcrConnector) | Set image OCR connector | ### CropArea Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/rasterimageloadoptions/croparea.md #### RasterImageLoadOptions.CropArea property Crop image area before conversion ```csharp public Rectangle CropArea { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/rasterimageloadoptions/format.md #### RasterImageLoadOptions.Format property Input document file type. ```csharp public ImageFileType Format { get; set; } ``` ### RasterImageLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/rasterimageloadoptions/rasterimageloadoptions.md #### RasterImageLoadOptions constructor Initializes a new instance of the `RasterImageLoadOptions` class. ```csharp public RasterImageLoadOptions() ``` ### SetHeicConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/rasterimageloadoptions/setheicconnector.md #### RasterImageLoadOptions.SetHeicConnector method Set Heic image connector ```csharp public void SetHeicConnector(IHeicConnector heicConnector) ``` | Parameter | Type | Description | | --- | --- | --- | | heicConnector | IHeicConnector | Heic connector instance | ### SetOcrConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/rasterimageloadoptions/setocrconnector.md #### RasterImageLoadOptions.SetOcrConnector method Set image OCR connector ```csharp public void SetOcrConnector(IOcrConnector ocrConnector) ``` | Parameter | Type | Description | | --- | --- | --- | | ocrConnector | IOcrConnector | OCR connector instance | ### VectorizationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/rasterimageloadoptions/vectorizationoptions.md #### RasterImageLoadOptions.VectorizationOptions property Sets vectorization options ```csharp public VectorizationOptions VectorizationOptions { get; set; } ``` ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions.md #### SpreadsheetLoadOptions class Options for loading Spreadsheet documents. ```csharp public class SpreadsheetLoadOptions : LoadOptions, IDocumentsContainerLoadOptions, IFontSubstituteLoadOptions, IMetadataLoadOptions, IPageMarginOptions, IPageSizeOptions, IResourceLoadingOptions ``` #### Constructors | Name | Description | | --- | --- | | SpreadsheetLoadOptions() | Initializes new instance of `SpreadsheetLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | AllColumnsInOnePagePerSheet { get; set; } | If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. | | AutoFitRows { get; set; } | Autofits all rows when converting | | CheckExcelRestriction { get; set; } | Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. | | ClearBuiltInDocumentProperties { get; set; } | Removes built-in metadata properties from the document. | | ClearCustomDocumentProperties { get; set; } | Removes custom metadata properties from the document. | | ColumnsPerPage { get; set; } | Split a worksheet into pages by columns. Default is 0, no pagination. | | ConvertOwned { get; set; } | Implements `ConvertOwned` Default is false | | ConvertOwner { get; set; } | Implements `ConvertOwner` Default is true | | ConvertRange { get; set; } | Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". | | CultureInfo { get; set; } | Get or set the system culture info at the time file is loaded | | DefaultFont { get; set; } | Default font for spreadsheet document. The following font will be used if a font is missing. | | Depth { get; set; } | Implements `Depth` Default: 1 | | FontSubstitutes { get; set; } | Substitute specific fonts when converting spreadsheet document. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | IgnoreFormulaCalculationErrors { get; set; } | Indicates whether to ignore formula calculation errors. The error may be unsupported function, external links, etc. Default is false. | | MarginSettings { get; set; } | Page margin settings | | OnePagePerSheet { get; set; } | If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true. | | OptimizePdfSize { get; set; } | If True and converting to Pdf the conversion is optimized for better file size than print quality. | | Password { get; set; } | Set password to unprotect protected document. | | PreserveDocumentStructure { get; set; } | Determines whether the document structure should be preserved when converting to PDF (default is false). | | PrintComments { get; set; } | Represents the way comments are printed with the sheet. Default is PrintNoComments. | | ResetFontFolders { get; set; } | Reset font folders before loading document | | RowsPerPage { get; set; } | Split a worksheet into pages by rows. Default is 0, no pagination. | | SheetIndexes { get; set; } | List of sheet indexes to convert. The indexes must be zero-based | | Sheets { get; set; } | Sheet name to convert | | ShowGridLines { get; set; } | Show grid lines when converting Excel files. | | ShowHiddenSheets { get; set; } | Show hidden sheets when converting Excel files. | | SizeSettings { get; set; } | Page size settings | | SkipEmptyRowsAndColumns { get; set; } | Skips empty rows and columns when converting. Default is True. | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | SkipFooters { get; set; } | Skip footers when converting spreadsheet documents. Default: false. | | SkipHeaders { get; set; } | Skip headers when converting spreadsheet documents. Default: false. | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### AllColumnsInOnePagePerSheet Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/allcolumnsinonepagepersheet.md #### SpreadsheetLoadOptions.AllColumnsInOnePagePerSheet property If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. ```csharp public bool AllColumnsInOnePagePerSheet { get; set; } ``` ### AutoFitRows Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/autofitrows.md #### SpreadsheetLoadOptions.AutoFitRows property Autofits all rows when converting ```csharp public bool AutoFitRows { get; set; } ``` ### CheckExcelRestriction Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/checkexcelrestriction.md #### SpreadsheetLoadOptions.CheckExcelRestriction property Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. ```csharp public bool CheckExcelRestriction { get; set; } ``` ### ClearBuiltInDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/clearbuiltindocumentproperties.md #### SpreadsheetLoadOptions.ClearBuiltInDocumentProperties property Removes built-in metadata properties from the document. ```csharp public bool ClearBuiltInDocumentProperties { get; set; } ``` ### ClearCustomDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/clearcustomdocumentproperties.md #### SpreadsheetLoadOptions.ClearCustomDocumentProperties property Removes custom metadata properties from the document. ```csharp public bool ClearCustomDocumentProperties { get; set; } ``` ### Clone Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/clone.md #### SpreadsheetLoadOptions.Clone method Clones current instance. ```csharp public object Clone() ``` ### ColumnsPerPage Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/columnsperpage.md #### SpreadsheetLoadOptions.ColumnsPerPage property Split a worksheet into pages by columns. Default is 0, no pagination. ```csharp public int ColumnsPerPage { get; set; } ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/convertowned.md #### SpreadsheetLoadOptions.ConvertOwned property Implements `ConvertOwned` Default is false ```csharp public bool ConvertOwned { get; set; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/convertowner.md #### SpreadsheetLoadOptions.ConvertOwner property Implements `ConvertOwner` Default is true ```csharp public bool ConvertOwner { get; set; } ``` ### ConvertRange Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/convertrange.md #### SpreadsheetLoadOptions.ConvertRange property Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". ```csharp public string ConvertRange { get; set; } ``` ### CultureInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/cultureinfo.md #### SpreadsheetLoadOptions.CultureInfo property Get or set the system culture info at the time file is loaded ```csharp public CultureInfo CultureInfo { get; set; } ``` ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/defaultfont.md #### SpreadsheetLoadOptions.DefaultFont property Default font for spreadsheet document. The following font will be used if a font is missing. ```csharp public string DefaultFont { get; set; } ``` ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/depth.md #### SpreadsheetLoadOptions.Depth property Implements `Depth` Default: 1 ```csharp public int Depth { get; set; } ``` ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/fontsubstitutes.md #### SpreadsheetLoadOptions.FontSubstitutes property Substitute specific fonts when converting spreadsheet document. ```csharp public IList FontSubstitutes { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/format.md #### SpreadsheetLoadOptions.Format property Input document file type. ```csharp public SpreadsheetFileType Format { get; set; } ``` ### IgnoreFormulaCalculationErrors Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/ignoreformulacalculationerrors.md #### SpreadsheetLoadOptions.IgnoreFormulaCalculationErrors property Indicates whether to ignore formula calculation errors. The error may be unsupported function, external links, etc. Default is false. ```csharp public bool IgnoreFormulaCalculationErrors { get; set; } ``` ### MarginSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/marginsettings.md #### SpreadsheetLoadOptions.MarginSettings property Page margin settings ```csharp public PageMarginOptions MarginSettings { get; set; } ``` ### OnePagePerSheet Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/onepagepersheet.md #### SpreadsheetLoadOptions.OnePagePerSheet property If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true. ```csharp public bool OnePagePerSheet { get; set; } ``` ### OptimizePdfSize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/optimizepdfsize.md #### SpreadsheetLoadOptions.OptimizePdfSize property If True and converting to Pdf the conversion is optimized for better file size than print quality. ```csharp public bool OptimizePdfSize { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/password.md #### SpreadsheetLoadOptions.Password property Set password to unprotect protected document. ```csharp public string Password { get; set; } ``` ### PreserveDocumentStructure Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/preservedocumentstructure.md #### SpreadsheetLoadOptions.PreserveDocumentStructure property Determines whether the document structure should be preserved when converting to PDF (default is false). ```csharp public bool PreserveDocumentStructure { get; set; } ``` ##### Remarks Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. ### PrintComments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/printcomments.md #### SpreadsheetLoadOptions.PrintComments property Represents the way comments are printed with the sheet. Default is PrintNoComments. ```csharp public SpreadsheetPrintComments PrintComments { get; set; } ``` ### ResetFontFolders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/resetfontfolders.md #### SpreadsheetLoadOptions.ResetFontFolders property Reset font folders before loading document ```csharp public bool ResetFontFolders { get; set; } ``` ### RowsPerPage Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/rowsperpage.md #### SpreadsheetLoadOptions.RowsPerPage property Split a worksheet into pages by rows. Default is 0, no pagination. ```csharp public int RowsPerPage { get; set; } ``` ### SheetIndexes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/sheetindexes.md #### SpreadsheetLoadOptions.SheetIndexes property List of sheet indexes to convert. The indexes must be zero-based ```csharp public IList SheetIndexes { get; set; } ``` ### Sheets Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/sheets.md #### SpreadsheetLoadOptions.Sheets property Sheet name to convert ```csharp public IList Sheets { get; set; } ``` ### ShowGridLines Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/showgridlines.md #### SpreadsheetLoadOptions.ShowGridLines property Show grid lines when converting Excel files. ```csharp public bool ShowGridLines { get; set; } ``` ### ShowHiddenSheets Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/showhiddensheets.md #### SpreadsheetLoadOptions.ShowHiddenSheets property Show hidden sheets when converting Excel files. ```csharp public bool ShowHiddenSheets { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/sizesettings.md #### SpreadsheetLoadOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### SkipEmptyRowsAndColumns Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/skipemptyrowsandcolumns.md #### SpreadsheetLoadOptions.SkipEmptyRowsAndColumns property Skips empty rows and columns when converting. Default is True. ```csharp public bool SkipEmptyRowsAndColumns { get; set; } ``` ### SkipExternalResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/skipexternalresources.md #### SpreadsheetLoadOptions.SkipExternalResources property Implements `SkipExternalResources` ```csharp public bool SkipExternalResources { get; set; } ``` ### SkipFooters Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/skipfooters.md #### SpreadsheetLoadOptions.SkipFooters property Skip footers when converting spreadsheet documents. Default: false. ```csharp public bool SkipFooters { get; set; } ``` ### SkipHeaders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/skipheaders.md #### SpreadsheetLoadOptions.SkipHeaders property Skip headers when converting spreadsheet documents. Default: false. ```csharp public bool SkipHeaders { get; set; } ``` ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/spreadsheetloadoptions.md #### SpreadsheetLoadOptions constructor Initializes new instance of `SpreadsheetLoadOptions` class. ```csharp public SpreadsheetLoadOptions() ``` ### WhitelistedResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetloadoptions/whitelistedresources.md #### SpreadsheetLoadOptions.WhitelistedResources property Implements `WhitelistedResources` ```csharp public IList WhitelistedResources { get; set; } ``` ### SpreadsheetPrintComments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetprintcomments.md #### SpreadsheetPrintComments class Represents the way comments are printed with the sheet. ```csharp public class SpreadsheetPrintComments : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly PrintInPlace | Represents to print comments as displayed on sheet. | | static readonly PrintNoComments | Represents not to print comments. | | static readonly PrintSheetEnd | Represents to print comments at end of sheet. | | static readonly PrintWithThreadedComments | Represents to print comments as displayed on sheet include threaded comments. | ### PrintInPlace Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetprintcomments/printinplace.md #### SpreadsheetPrintComments.PrintInPlace field Represents to print comments as displayed on sheet. ```csharp public static readonly SpreadsheetPrintComments PrintInPlace; ``` ### PrintNoComments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetprintcomments/printnocomments.md #### SpreadsheetPrintComments.PrintNoComments field Represents not to print comments. ```csharp public static readonly SpreadsheetPrintComments PrintNoComments; ``` ### PrintSheetEnd Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetprintcomments/printsheetend.md #### SpreadsheetPrintComments.PrintSheetEnd field Represents to print comments at end of sheet. ```csharp public static readonly SpreadsheetPrintComments PrintSheetEnd; ``` ### PrintWithThreadedComments Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/spreadsheetprintcomments/printwiththreadedcomments.md #### SpreadsheetPrintComments.PrintWithThreadedComments field Represents to print comments as displayed on sheet include threaded comments. ```csharp public static readonly SpreadsheetPrintComments PrintWithThreadedComments; ``` ### SvgLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions.md #### SvgLoadOptions class Options for loading Svg documents. ```csharp public class SvgLoadOptions : LoadOptions, IResourceLoadingOptions ``` #### Constructors | Name | Description | | --- | --- | | SvgLoadOptions() | Initializes new instance of `SvgLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | CropToContentBounds { get; set; } | Gets or sets a value indicating whether to crop the SVG bounding box to the content bounds before conversion. The default is false. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | MinimumHeight { get; set; } | Set minimum height for converting SVG document. It's used when converting to raster formats. Default is 600. | | MinimumWidth { get; set; } | Set minimum width for converting SVG document. It's used when converting to raster formats. Default is 800. | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | WhitelistedResources { get; set; } | External resources that will always be loaded. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### CropToContentBounds Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions/croptocontentbounds.md #### SvgLoadOptions.CropToContentBounds property Gets or sets a value indicating whether to crop the SVG bounding box to the content bounds before conversion. The default is false. ```csharp public bool CropToContentBounds { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions/format.md #### SvgLoadOptions.Format property Input document file type. ```csharp public PageDescriptionLanguageFileType Format { get; set; } ``` ### MinimumHeight Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions/minimumheight.md #### SvgLoadOptions.MinimumHeight property Set minimum height for converting SVG document. It's used when converting to raster formats. Default is 600. ```csharp public int MinimumHeight { get; set; } ``` ### MinimumWidth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions/minimumwidth.md #### SvgLoadOptions.MinimumWidth property Set minimum width for converting SVG document. It's used when converting to raster formats. Default is 800. ```csharp public int MinimumWidth { get; set; } ``` ### SkipExternalResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions/skipexternalresources.md #### SvgLoadOptions.SkipExternalResources property Implements `SkipExternalResources` ```csharp public bool SkipExternalResources { get; set; } ``` ### SvgLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions/svgloadoptions.md #### SvgLoadOptions constructor Initializes new instance of `SvgLoadOptions` class. ```csharp public SvgLoadOptions() ``` ### WhitelistedResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/svgloadoptions/whitelistedresources.md #### SvgLoadOptions.WhitelistedResources property External resources that will always be loaded. ```csharp public IList WhitelistedResources { get; set; } ``` ### ThreeDLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/threedloadoptions.md #### ThreeDLoadOptions class Options for loading 3D documents. ```csharp public class ThreeDLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | ThreeDLoadOptions() | Initializes new instance of `ThreeDLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/threedloadoptions/format.md #### ThreeDLoadOptions.Format property Input document file type. ```csharp public ThreeDFileType Format { get; set; } ``` ### ThreeDLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/threedloadoptions/threedloadoptions.md #### ThreeDLoadOptions constructor Initializes new instance of `ThreeDLoadOptions` class. ```csharp public ThreeDLoadOptions() ``` ### TsvLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/tsvloadoptions.md #### TsvLoadOptions class Options for loading Tsv documents. ```csharp public sealed class TsvLoadOptions : SpreadsheetLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | TsvLoadOptions() | Initializes new instance of `TsvLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | AllColumnsInOnePagePerSheet { get; set; } | If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. | | AutoFitRows { get; set; } | Autofits all rows when converting | | CheckExcelRestriction { get; set; } | Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. | | ClearBuiltInDocumentProperties { get; set; } | Removes built-in metadata properties from the document. | | ClearCustomDocumentProperties { get; set; } | Removes custom metadata properties from the document. | | ColumnsPerPage { get; set; } | Split a worksheet into pages by columns. Default is 0, no pagination. | | ConvertOwned { get; set; } | Implements `ConvertOwned` Default is false | | ConvertOwner { get; set; } | Implements `ConvertOwner` Default is true | | ConvertRange { get; set; } | Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". | | CultureInfo { get; set; } | Get or set the system culture info at the time file is loaded | | DefaultFont { get; set; } | Default font for spreadsheet document. The following font will be used if a font is missing. | | Depth { get; set; } | Implements `Depth` Default: 1 | | FontSubstitutes { get; set; } | Substitute specific fonts when converting spreadsheet document. | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | IgnoreFormulaCalculationErrors { get; set; } | Indicates whether to ignore formula calculation errors. The error may be unsupported function, external links, etc. Default is false. | | MarginSettings { get; set; } | Page margin settings | | OnePagePerSheet { get; set; } | If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true. | | OptimizePdfSize { get; set; } | If True and converting to Pdf the conversion is optimized for better file size than print quality. | | Password { get; set; } | Set password to unprotect protected document. | | PreserveDocumentStructure { get; set; } | Determines whether the document structure should be preserved when converting to PDF (default is false). | | PrintComments { get; set; } | Represents the way comments are printed with the sheet. Default is PrintNoComments. | | ResetFontFolders { get; set; } | Reset font folders before loading document | | RowsPerPage { get; set; } | Split a worksheet into pages by rows. Default is 0, no pagination. | | SheetIndexes { get; set; } | List of sheet indexes to convert. The indexes must be zero-based | | Sheets { get; set; } | Sheet name to convert | | ShowGridLines { get; set; } | Show grid lines when converting Excel files. | | ShowHiddenSheets { get; set; } | Show hidden sheets when converting Excel files. | | SizeSettings { get; set; } | Page size settings | | SkipEmptyRowsAndColumns { get; set; } | Skips empty rows and columns when converting. Default is True. | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | SkipFooters { get; set; } | Skip footers when converting spreadsheet documents. Default: false. | | SkipHeaders { get; set; } | Skip headers when converting spreadsheet documents. Default: false. | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | #### Methods | Name | Description | | --- | --- | | Clone() | Clones current instance. | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/tsvloadoptions/format.md #### TsvLoadOptions.Format property Input document file type. ```csharp public SpreadsheetFileType Format { get; } ``` ### TsvLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/tsvloadoptions/tsvloadoptions.md #### TsvLoadOptions constructor Initializes new instance of `TsvLoadOptions` class. ```csharp public TsvLoadOptions() ``` ### TxtLeadingSpacesOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtleadingspacesoptions.md #### TxtLeadingSpacesOptions class Describes txt leading spaces options enumeration. ```csharp public class TxtLeadingSpacesOptions : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly ConvertToIndent | Converts leading spaces to indents. | | static readonly Preserve | Preserves leading spaces. | | static readonly Trim | Trims leading spaces. | ### ConvertToIndent Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtleadingspacesoptions/converttoindent.md #### TxtLeadingSpacesOptions.ConvertToIndent field Converts leading spaces to indents. ```csharp public static readonly TxtLeadingSpacesOptions ConvertToIndent; ``` ### Preserve Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtleadingspacesoptions/preserve.md #### TxtLeadingSpacesOptions.Preserve field Preserves leading spaces. ```csharp public static readonly TxtLeadingSpacesOptions Preserve; ``` ### Trim Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtleadingspacesoptions/trim.md #### TxtLeadingSpacesOptions.Trim field Trims leading spaces. ```csharp public static readonly TxtLeadingSpacesOptions Trim; ``` ### TxtLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions.md #### TxtLoadOptions class Options for loading Txt documents. ```csharp public sealed class TxtLoadOptions : LoadOptions, IPageMarginOptions, IPageSizeOptions ``` #### Constructors | Name | Description | | --- | --- | | TxtLoadOptions() | Initializes new instance of `TxtLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | DefaultFont { get; set; } | Font to use when rendering plain text content during conversion. Since TXT files don't contain font information, this property specifies the display font for the text content. Default: Arial 10pt. | | DetectNumberingWithWhitespaces { get; set; } | Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true. | | Encoding { get; set; } | Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | LeadingSpacesOptions { get; set; } | Gets or sets preferred option of a leading space handling. Default value is `ConvertToIndent`. | | MarginSettings { get; set; } | Page margin settings | | SizeSettings { get; set; } | Page size settings | | TrailingSpacesOptions { get; set; } | Gets or sets preferred option of a trailing space handling. Default value is `Trim`. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ##### Remarks **Font Configuration for Plain Text:** Since TXT files don't contain font information, use DefaultTextFont to specify the font for rendering the plain text content during conversion. ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/defaultfont.md #### TxtLoadOptions.DefaultFont property Font to use when rendering plain text content during conversion. Since TXT files don't contain font information, this property specifies the display font for the text content. Default: Arial 10pt. ```csharp public Font DefaultFont { get; set; } ``` ### DetectNumberingWithWhitespaces Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/detectnumberingwithwhitespaces.md #### TxtLoadOptions.DetectNumberingWithWhitespaces property Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true. ```csharp public bool DetectNumberingWithWhitespaces { get; set; } ``` ##### Remarks If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "•", "*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. ### Encoding Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/encoding.md #### TxtLoadOptions.Encoding property Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. ```csharp public Encoding Encoding { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/format.md #### TxtLoadOptions.Format property Input document file type. ```csharp public WordProcessingFileType Format { get; } ``` ### LeadingSpacesOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/leadingspacesoptions.md #### TxtLoadOptions.LeadingSpacesOptions property Gets or sets preferred option of a leading space handling. Default value is `ConvertToIndent`. ```csharp public TxtLeadingSpacesOptions LeadingSpacesOptions { get; set; } ``` ### MarginSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/marginsettings.md #### TxtLoadOptions.MarginSettings property Page margin settings ```csharp public PageMarginOptions MarginSettings { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/sizesettings.md #### TxtLoadOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### TrailingSpacesOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/trailingspacesoptions.md #### TxtLoadOptions.TrailingSpacesOptions property Gets or sets preferred option of a trailing space handling. Default value is `Trim`. ```csharp public TxtTrailingSpacesOptions TrailingSpacesOptions { get; set; } ``` ### TxtLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txtloadoptions/txtloadoptions.md #### TxtLoadOptions constructor Initializes new instance of `TxtLoadOptions` class. ```csharp public TxtLoadOptions() ``` ### TxtTrailingSpacesOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txttrailingspacesoptions.md #### TxtTrailingSpacesOptions class Describes txt trailing spaces options enumeration. ```csharp public class TxtTrailingSpacesOptions : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Preserve | Preserves trailing spaces | | static readonly Trim | Trims trailing spaces | ### Preserve Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txttrailingspacesoptions/preserve.md #### TxtTrailingSpacesOptions.Preserve field Preserves trailing spaces ```csharp public static readonly TxtTrailingSpacesOptions Preserve; ``` ### Trim Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/txttrailingspacesoptions/trim.md #### TxtTrailingSpacesOptions.Trim field Trims trailing spaces ```csharp public static readonly TxtTrailingSpacesOptions Trim; ``` ### VcfLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vcfloadoptions.md #### VcfLoadOptions class Options for loading Vcf documents. ```csharp public sealed class VcfLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | VcfLoadOptions() | Initializes new instance of `VcfLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Encoding { get; set; } | Gets or sets the encoding that will be used when loading Vcf document. Default is Encoding.Default. | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Encoding Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vcfloadoptions/encoding.md #### VcfLoadOptions.Encoding property Gets or sets the encoding that will be used when loading Vcf document. Default is Encoding.Default. ```csharp public Encoding Encoding { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vcfloadoptions/format.md #### VcfLoadOptions.Format property Input document file type. ```csharp public EmailFileType Format { get; } ``` ### VcfLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vcfloadoptions/vcfloadoptions.md #### VcfLoadOptions constructor Initializes new instance of `VcfLoadOptions` class. ```csharp public VcfLoadOptions() ``` ### VectorizationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions.md #### VectorizationOptions class Options for vectorization images. ```csharp public class VectorizationOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | VectorizationOptions() | Default constructor for VectorizationOptions. | #### Properties | Name | Description | | --- | --- | | BackgroundColor { get; set; } | Gets or sets background color. Default value is transparent white. | | ColorsLimit { get; set; } | Gets or sets the maximum number of colors used to quantize an image. Default value is 25. | | EnableVectorization { get; set; } | Enable vectorization images. Default is false. | | ImageSizeLimit { get; set; } | Gets or sets maximal dimension of image determined by multiplication image width and height. The size of the image will be scaled based on this property. Default value is 1800000. | | LineWidth { get; set; } | Gets or sets the line width. The value of this parameter is affected by the graphics scale. Default value is 1. | | Severity { get; set; } | Sets image trace smoother severity | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### BackgroundColor Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions/backgroundcolor.md #### VectorizationOptions.BackgroundColor property Gets or sets background color. Default value is transparent white. ```csharp public Color BackgroundColor { get; set; } ``` ### ColorsLimit Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions/colorslimit.md #### VectorizationOptions.ColorsLimit property Gets or sets the maximum number of colors used to quantize an image. Default value is 25. ```csharp public int ColorsLimit { get; set; } ``` ### EnableVectorization Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions/enablevectorization.md #### VectorizationOptions.EnableVectorization property Enable vectorization images. Default is false. ```csharp public bool EnableVectorization { get; set; } ``` ### ImageSizeLimit Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions/imagesizelimit.md #### VectorizationOptions.ImageSizeLimit property Gets or sets maximal dimension of image determined by multiplication image width and height. The size of the image will be scaled based on this property. Default value is 1800000. ```csharp public int ImageSizeLimit { get; set; } ``` ### LineWidth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions/linewidth.md #### VectorizationOptions.LineWidth property Gets or sets the line width. The value of this parameter is affected by the graphics scale. Default value is 1. ```csharp public float LineWidth { get; set; } ``` ### Severity Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions/severity.md #### VectorizationOptions.Severity property Sets image trace smoother severity ```csharp public int Severity { get; set; } ``` ### VectorizationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/vectorizationoptions/vectorizationoptions.md #### VectorizationOptions constructor Default constructor for VectorizationOptions. ```csharp public VectorizationOptions() ``` ### VideoLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/videoloadoptions.md #### VideoLoadOptions class Options for loading video documents. ```csharp public sealed class VideoLoadOptions : LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | VideoLoadOptions() | Initializes new instance of `VideoLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | SetVideoConnector(IVideoConnector) | Set video document connector | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/videoloadoptions/format.md #### VideoLoadOptions.Format property Input document file type. ```csharp public VideoFileType Format { get; set; } ``` ### SetVideoConnector Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/videoloadoptions/setvideoconnector.md #### VideoLoadOptions.SetVideoConnector method Set video document connector ```csharp public void SetVideoConnector(IVideoConnector videoConnector) ``` | Parameter | Type | Description | | --- | --- | --- | | videoConnector | IVideoConnector | Video connector instance | ### VideoLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/videoloadoptions/videoloadoptions.md #### VideoLoadOptions constructor Initializes new instance of `VideoLoadOptions` class. ```csharp public VideoLoadOptions() ``` ### WebLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions.md #### WebLoadOptions class Options for loading web documents. ```csharp public class WebLoadOptions : LoadOptions, ICustomCssStyleOptions, IPageNumberingLoadOptions, IResourceLoadingOptions ``` #### Constructors | Name | Description | | --- | --- | | WebLoadOptions() | Initializes new instance of `WebLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | BasePath { get; set; } | The base path/url for the html | | ConfigureHeaders { get; set; } | Action for configuration of the request headers. First parameter of the action is the Uri. | | CredentialsProvider { get; set; } | Credentials provider for the Uri. | | CustomCssStyle { get; set; } | Implements `CustomCssStyle` | | Encoding { get; set; } | Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | HtmlRenderingMode { get; set; } | Controls how HTML content is rendered. Default: AbsolutePositioning | | PageLayoutOptions { get; set; } | Specifies the page layout options when loading web documents. | | PageNumbering { get; set; } | Enable or disable generation of page numbering in converted document. Default: false | | ResourceLoadingTimeout { get; set; } | Timeout for loading external resources | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | UsePdf { get; set; } | Use pdf for the conversion. Default: false | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | | Zoom { get; set; } | Specifies the zoom level as a percentage. The zoom level is applied to the document's <body> tag before conversion, scaling the document's visual appearance. A value of 100% represents the original size. The default value is 100. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### BasePath Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/basepath.md #### WebLoadOptions.BasePath property The base path/url for the html ```csharp public string BasePath { get; set; } ``` ### ConfigureHeaders Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/configureheaders.md #### WebLoadOptions.ConfigureHeaders property Action for configuration of the request headers. First parameter of the action is the Uri. ```csharp public Action ConfigureHeaders { get; set; } ``` ### CredentialsProvider Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/credentialsprovider.md #### WebLoadOptions.CredentialsProvider property Credentials provider for the Uri. ```csharp public Func CredentialsProvider { get; set; } ``` ### CustomCssStyle Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/customcssstyle.md #### WebLoadOptions.CustomCssStyle property Implements `CustomCssStyle` ```csharp public string CustomCssStyle { get; set; } ``` ### Encoding Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/encoding.md #### WebLoadOptions.Encoding property Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute ```csharp public string Encoding { get; set; } ``` ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/format.md #### WebLoadOptions.Format property Input document file type. ```csharp public WebFileType Format { get; set; } ``` ### HtmlRenderingMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/htmlrenderingmode.md #### WebLoadOptions.HtmlRenderingMode property Controls how HTML content is rendered. Default: AbsolutePositioning ```csharp public HtmlRenderingModes HtmlRenderingMode { get; set; } ``` ### PageLayoutOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/pagelayoutoptions.md #### WebLoadOptions.PageLayoutOptions property Specifies the page layout options when loading web documents. ```csharp public PageLayoutOptions PageLayoutOptions { get; set; } ``` ### PageNumbering Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/pagenumbering.md #### WebLoadOptions.PageNumbering property Enable or disable generation of page numbering in converted document. Default: false ```csharp public bool PageNumbering { get; set; } ``` ### ResourceLoadingTimeout Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/resourceloadingtimeout.md #### WebLoadOptions.ResourceLoadingTimeout property Timeout for loading external resources ```csharp public TimeSpan ResourceLoadingTimeout { get; set; } ``` ### SkipExternalResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/skipexternalresources.md #### WebLoadOptions.SkipExternalResources property Implements `SkipExternalResources` ```csharp public bool SkipExternalResources { get; set; } ``` ### UsePdf Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/usepdf.md #### WebLoadOptions.UsePdf property Use pdf for the conversion. Default: false ```csharp public bool UsePdf { get; set; } ``` ### WebLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/webloadoptions.md #### WebLoadOptions constructor Initializes new instance of `WebLoadOptions` class. ```csharp public WebLoadOptions() ``` ### WhitelistedResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/whitelistedresources.md #### WebLoadOptions.WhitelistedResources property Implements `WhitelistedResources` ```csharp public IList WhitelistedResources { get; set; } ``` ### Zoom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/webloadoptions/zoom.md #### WebLoadOptions.Zoom property Specifies the zoom level as a percentage. The zoom level is applied to the document's <body> tag before conversion, scaling the document's visual appearance. A value of 100% represents the original size. The default value is 100. ```csharp public int Zoom { get; set; } ``` ### WordProcessingBookmarksOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions.md #### WordProcessingBookmarksOptions class Options for handling bookmarks in WordProcessing ```csharp public class WordProcessingBookmarksOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingBookmarksOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | BookmarksOutlineLevel { get; set; } | Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9. | | ExpandedOutlineLevels { get; set; } | Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS. | | HeadingsOutlineLevels { get; set; } | Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### BookmarksOutlineLevel Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/bookmarksoutlinelevel.md #### WordProcessingBookmarksOptions.BookmarksOutlineLevel property Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9. ```csharp public int BookmarksOutlineLevel { get; set; } ``` ### ExpandedOutlineLevels Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/expandedoutlinelevels.md #### WordProcessingBookmarksOptions.ExpandedOutlineLevels property Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS. ```csharp public int ExpandedOutlineLevels { get; set; } ``` ### HeadingsOutlineLevels Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/headingsoutlinelevels.md #### WordProcessingBookmarksOptions.HeadingsOutlineLevels property Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9. ```csharp public int HeadingsOutlineLevels { get; set; } ``` ### WordProcessingBookmarksOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/wordprocessingbookmarksoptions.md #### WordProcessingBookmarksOptions constructor The default constructor. ```csharp public WordProcessingBookmarksOptions() ``` ### WordProcessingCommentDisplay Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingcommentdisplay.md #### WordProcessingCommentDisplay class Specifies the rendering mode for document comments. ```csharp public class WordProcessingCommentDisplay : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly Annotation | Renders document comments in annotations. This is only available for Pdf format. | | static readonly Balloon | Renders document comments in balloons in the margin. This is the default value. | | static readonly Hidden | No document comments are rendered. | ### Annotation Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingcommentdisplay/annotation.md #### WordProcessingCommentDisplay.Annotation field Renders document comments in annotations. This is only available for Pdf format. ```csharp public static readonly WordProcessingCommentDisplay Annotation; ``` ### Balloon Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingcommentdisplay/balloon.md #### WordProcessingCommentDisplay.Balloon field Renders document comments in balloons in the margin. This is the default value. ```csharp public static readonly WordProcessingCommentDisplay Balloon; ``` ### Hidden Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingcommentdisplay/hidden.md #### WordProcessingCommentDisplay.Hidden field No document comments are rendered. ```csharp public static readonly WordProcessingCommentDisplay Hidden; ``` ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions.md #### WordProcessingLoadOptions class Options for loading WordProcessing documents. ```csharp public class WordProcessingLoadOptions : LoadOptions, IDocumentsContainerLoadOptions, IFontSubstituteLoadOptions, IFontTransformationLoadOptions, IMetadataLoadOptions, IPageMarginOptions, IPageNumberingLoadOptions, IPageSizeOptions, IResourceLoadingOptions ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingLoadOptions() | Initializes new instance of `WordProcessingLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | AutoDetectRtlDirection { get; set; } | When true (default), paragraphs and runs whose text is dominantly right-to-left will have their bidi flags repaired before conversion. This matches the heuristic Microsoft Word and LibreOffice apply and fixes rendering of Arabic/Hebrew documents produced by generators (notably Google Docs) that emit OOXML without <w:bidi/> and with <w:rtl w:val="0"/> on runs that contain only RTL script. Set to false to preserve strict OOXML interpretation of the source markup. | | BookmarkOptions { get; set; } | Bookmarks options | | ClearBuiltInDocumentProperties { get; set; } | Removes built-in metadata properties from the document. | | ClearCustomDocumentProperties { get; set; } | Removes custom metadata properties from the document. | | CommentDisplayMode { get; set; } | Specifies how comments should be displayed in the output document. Default is ShowInBalloons. | | ConvertOwned { get; set; } | Implements `ConvertOwned` Default is false | | ConvertOwner { get; set; } | Implements `ConvertOwner` Default is true | | DefaultFont { get; set; } | Sets the default font for a WordProcessing document. | | Depth { get; set; } | Implements `Depth` Default: 1 | | EmbedTrueTypeFonts { get; set; } | If EmbedTrueTypeFonts is true, GroupDocs.Conversion embed true type fonts in the output document. Default: true | | FontConfigSubstitutionEnabled { get; set; } | Automatically substitutes missing fonts based on FontConfig in the system. Default: false. | | FontInfoSubstitutionEnabled { get; set; } | Automatically substitutes missing fonts based on FontInfo in the document. Default: false. | | FontNameSubstitutionEnabled { get; set; } | Automatically substitutes missing fonts based on the font name. Default: false. | | FontSubstitutes { get; set; } | Substitutes specific fonts when converting a WordsProcessing document. | | FontTransformations { get; set; } | Transform existing fonts after document loading and font substitution are complete. Font transformations can modify any fonts in the document, including fonts that were successfully loaded. | | Format { get; set; } | Input document file type. | | virtual Format { get; } | Input document file type. | | HideWordTrackedChanges { get; set; } | Hide markup and track changes for Word documents. | | HyphenationOptions { get; set; } | Set hyphenation options for WordProcessing documents. | | KeepDateFieldOriginalValue { get; set; } | Keep original value of date field. Default: false | | MarginSettings { get; set; } | Page margin settings | | PageNumbering { get; set; } | Enable or disable generation of page numbering in converted document. Default: false | | Password { get; set; } | Set password to unprotect protected document. | | PreserveDocumentStructure { get; set; } | Determines whether the document structure should be preserved when converting to PDF (default is false). | | PreserveFormFields { get; set; } | Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false. | | ShowFullCommenterName { get; set; } | Show full commenter name in comments. Default is false. | | SizeSettings { get; set; } | Page size settings | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | UpdateFields { get; set; } | Update fields after loading. Default: false | | UpdatePageLayout { get; set; } | Update page layout after loading. Default: false | | UseTextShaper { get; set; } | Specifies whether to use a text shaper for better kerning display. Default is false. | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ##### Remarks **Font Processing Pipeline:** **Phase 1 - Font Substitution (during document loading):** • Handles missing/unavailable fonts using FontSubstitutes, DefaultFont, and system substitution • Processing order: FontName → FontConfig → FontSubstitutes → FontInfo → DefaultFont **Phase 2 - Font Replacement (after document loading):** • Modifies any existing fonts in the loaded document using FontReplacements • Applied after all font substitution is complete ### AutoDetectRtlDirection Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/autodetectrtldirection.md #### WordProcessingLoadOptions.AutoDetectRtlDirection property When true (default), paragraphs and runs whose text is dominantly right-to-left will have their bidi flags repaired before conversion. This matches the heuristic Microsoft Word and LibreOffice apply and fixes rendering of Arabic/Hebrew documents produced by generators (notably Google Docs) that emit OOXML without <w:bidi/> and with <w:rtl w:val="0"/> on runs that contain only RTL script. Set to false to preserve strict OOXML interpretation of the source markup. ```csharp public bool AutoDetectRtlDirection { get; set; } ``` ### BookmarkOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/bookmarkoptions.md #### WordProcessingLoadOptions.BookmarkOptions property Bookmarks options ```csharp public WordProcessingBookmarksOptions BookmarkOptions { get; set; } ``` ### ClearBuiltInDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/clearbuiltindocumentproperties.md #### WordProcessingLoadOptions.ClearBuiltInDocumentProperties property Removes built-in metadata properties from the document. ```csharp public bool ClearBuiltInDocumentProperties { get; set; } ``` ### ClearCustomDocumentProperties Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/clearcustomdocumentproperties.md #### WordProcessingLoadOptions.ClearCustomDocumentProperties property Removes custom metadata properties from the document. ```csharp public bool ClearCustomDocumentProperties { get; set; } ``` ### CommentDisplayMode Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/commentdisplaymode.md #### WordProcessingLoadOptions.CommentDisplayMode property Specifies how comments should be displayed in the output document. Default is ShowInBalloons. ```csharp public WordProcessingCommentDisplay CommentDisplayMode { get; set; } ``` ### ConvertOwned Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/convertowned.md #### WordProcessingLoadOptions.ConvertOwned property Implements `ConvertOwned` Default is false ```csharp public bool ConvertOwned { get; set; } ``` ### ConvertOwner Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/convertowner.md #### WordProcessingLoadOptions.ConvertOwner property Implements `ConvertOwner` Default is true ```csharp public bool ConvertOwner { get; set; } ``` ### DefaultFont Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/defaultfont.md #### WordProcessingLoadOptions.DefaultFont property Sets the default font for a WordProcessing document. ```csharp public string DefaultFont { get; set; } ``` ##### Remarks **Note:** The order of substitution is as follows: 1) Automatically substitute missing fonts based on font name (if enabled). 2) Automatically substitute missing fonts based on FontConfig (if enabled). 3) Substitute missing fonts based on FontSubstitutes (if set). 4) Automatically substitute missing fonts based on FontInfo (if enabled). 5) Substitute missing fonts based on DefaultFont (if set). ### Depth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/depth.md #### WordProcessingLoadOptions.Depth property Implements `Depth` Default: 1 ```csharp public int Depth { get; set; } ``` ### EmbedTrueTypeFonts Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/embedtruetypefonts.md #### WordProcessingLoadOptions.EmbedTrueTypeFonts property If EmbedTrueTypeFonts is true, GroupDocs.Conversion embed true type fonts in the output document. Default: true ```csharp public bool EmbedTrueTypeFonts { get; set; } ``` ### FontConfigSubstitutionEnabled Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/fontconfigsubstitutionenabled.md #### WordProcessingLoadOptions.FontConfigSubstitutionEnabled property Automatically substitutes missing fonts based on FontConfig in the system. Default: false. ```csharp public bool FontConfigSubstitutionEnabled { get; set; } ``` ##### Remarks **Note:** The order of substitution is as follows: 1) Automatically substitute missing fonts based on font name (if enabled). 2) Automatically substitute missing fonts based on FontConfig (if enabled). 3) Substitute missing fonts based on FontSubstitutes (if set). 4) Automatically substitute missing fonts based on FontInfo (if enabled). 5) Substitute missing fonts based on DefaultFont (if set). ### FontInfoSubstitutionEnabled Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/fontinfosubstitutionenabled.md #### WordProcessingLoadOptions.FontInfoSubstitutionEnabled property Automatically substitutes missing fonts based on FontInfo in the document. Default: false. ```csharp public bool FontInfoSubstitutionEnabled { get; set; } ``` ##### Remarks **Note:** The order of substitution is as follows: 1) Automatically substitute missing fonts based on font name (if enabled). 2) Automatically substitute missing fonts based on FontConfig (if enabled). 3) Substitute missing fonts based on FontSubstitutes (if set). 4) Automatically substitute missing fonts based on FontInfo (if enabled). 5) Substitute missing fonts based on DefaultFont (if set). ### FontNameSubstitutionEnabled Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/fontnamesubstitutionenabled.md #### WordProcessingLoadOptions.FontNameSubstitutionEnabled property Automatically substitutes missing fonts based on the font name. Default: false. ```csharp public bool FontNameSubstitutionEnabled { get; set; } ``` ##### Remarks **Note:** The order of substitution is as follows: 1) Automatically substitute missing fonts based on font name (if enabled). 2) Automatically substitute missing fonts based on FontConfig (if enabled). 3) Substitute missing fonts based on FontSubstitutes (if set). 4) Automatically substitute missing fonts based on FontInfo (if enabled). 5) Substitute missing fonts based on DefaultFont (if set). ### FontSubstitutes Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/fontsubstitutes.md #### WordProcessingLoadOptions.FontSubstitutes property Substitutes specific fonts when converting a WordsProcessing document. ```csharp public IList FontSubstitutes { get; set; } ``` ##### Remarks **Note:** The order of substitution is as follows: 1) Automatically substitute missing fonts based on font name (if enabled). 2) Automatically substitute missing fonts based on FontConfig (if enabled). 3) Substitute missing fonts based on FontSubstitutes (if set). 4) Automatically substitute missing fonts based on FontInfo (if enabled). 5) Substitute missing fonts based on DefaultFont (if set). ### FontTransformations Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/fonttransformations.md #### WordProcessingLoadOptions.FontTransformations property Transform existing fonts after document loading and font substitution are complete. Font transformations can modify any fonts in the document, including fonts that were successfully loaded. ```csharp public IList FontTransformations { get; set; } ``` ##### Remarks **Note:** Font transformations are applied after all font substitution steps are complete. Transformations are processed in the order they appear in the list. Use cases: Styling changes, branding requirements, accessibility improvements. ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/format.md #### WordProcessingLoadOptions.Format property Input document file type. ```csharp public WordProcessingFileType Format { get; set; } ``` ### HideWordTrackedChanges Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/hidewordtrackedchanges.md #### WordProcessingLoadOptions.HideWordTrackedChanges property Hide markup and track changes for Word documents. ```csharp public bool HideWordTrackedChanges { get; set; } ``` ### HyphenationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/hyphenationoptions.md #### WordProcessingLoadOptions.HyphenationOptions property Set hyphenation options for WordProcessing documents. ```csharp public HyphenationOptions HyphenationOptions { get; set; } ``` ### KeepDateFieldOriginalValue Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/keepdatefieldoriginalvalue.md #### WordProcessingLoadOptions.KeepDateFieldOriginalValue property Keep original value of date field. Default: false ```csharp public bool KeepDateFieldOriginalValue { get; set; } ``` ### MarginSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/marginsettings.md #### WordProcessingLoadOptions.MarginSettings property Page margin settings ```csharp public PageMarginOptions MarginSettings { get; set; } ``` ### PageNumbering Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/pagenumbering.md #### WordProcessingLoadOptions.PageNumbering property Enable or disable generation of page numbering in converted document. Default: false ```csharp public bool PageNumbering { get; set; } ``` ### Password Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/password.md #### WordProcessingLoadOptions.Password property Set password to unprotect protected document. ```csharp public string Password { get; set; } ``` ### PreserveDocumentStructure Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/preservedocumentstructure.md #### WordProcessingLoadOptions.PreserveDocumentStructure property Determines whether the document structure should be preserved when converting to PDF (default is false). ```csharp public bool PreserveDocumentStructure { get; set; } ``` ##### Remarks Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. ### PreserveFormFields Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/preserveformfields.md #### WordProcessingLoadOptions.PreserveFormFields property Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false. ```csharp public bool PreserveFormFields { get; set; } ``` ### ShowFullCommenterName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/showfullcommentername.md #### WordProcessingLoadOptions.ShowFullCommenterName property Show full commenter name in comments. Default is false. ```csharp public bool ShowFullCommenterName { get; set; } ``` ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/sizesettings.md #### WordProcessingLoadOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### SkipExternalResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/skipexternalresources.md #### WordProcessingLoadOptions.SkipExternalResources property Implements `SkipExternalResources` ```csharp public bool SkipExternalResources { get; set; } ``` ### UpdateFields Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/updatefields.md #### WordProcessingLoadOptions.UpdateFields property Update fields after loading. Default: false ```csharp public bool UpdateFields { get; set; } ``` ### UpdatePageLayout Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/updatepagelayout.md #### WordProcessingLoadOptions.UpdatePageLayout property Update page layout after loading. Default: false ```csharp public bool UpdatePageLayout { get; set; } ``` ### UseTextShaper Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/usetextshaper.md #### WordProcessingLoadOptions.UseTextShaper property Specifies whether to use a text shaper for better kerning display. Default is false. ```csharp public bool UseTextShaper { get; set; } ``` ### WhitelistedResources Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/whitelistedresources.md #### WordProcessingLoadOptions.WhitelistedResources property Implements `WhitelistedResources` ```csharp public IList WhitelistedResources { get; set; } ``` ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/wordprocessingloadoptions/wordprocessingloadoptions.md #### WordProcessingLoadOptions constructor Initializes new instance of `WordProcessingLoadOptions` class. ```csharp public WordProcessingLoadOptions() ``` ### XmlLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/xmlloadoptions.md #### XmlLoadOptions class Options for loading XML documents. ```csharp public sealed class XmlLoadOptions : WebLoadOptions ``` #### Constructors | Name | Description | | --- | --- | | XmlLoadOptions() | Initializes new instance of `XmlLoadOptions` class. | #### Properties | Name | Description | | --- | --- | | BasePath { get; set; } | The base path/url for the html | | ConfigureHeaders { get; set; } | Action for configuration of the request headers. First parameter of the action is the Uri. | | CredentialsProvider { get; set; } | Credentials provider for the Uri. | | CustomCssStyle { get; set; } | Implements `CustomCssStyle` | | Encoding { get; set; } | Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute | | Format { get; } | Input document file type. | | virtual Format { get; } | Input document file type. | | HtmlRenderingMode { get; set; } | Controls how HTML content is rendered. Default: AbsolutePositioning | | PageLayoutOptions { get; set; } | Specifies the page layout options when loading web documents. | | PageNumbering { get; set; } | Enable or disable generation of page numbering in converted document. Default: false | | ResourceLoadingTimeout { get; set; } | Timeout for loading external resources | | SkipExternalResources { get; set; } | Implements `SkipExternalResources` | | UseAsDataSource { get; set; } | Use Xml document as data source | | UsePdf { get; set; } | Use pdf for the conversion. Default: false | | WhitelistedResources { get; set; } | Implements `WhitelistedResources` | | XslFoFactory { get; set; } | XSL-FO document stream to convert XML using XSL-FO markup file. | | XsltFactory { get; set; } | XSLT document stream to convert XML performing XSL transformation to HTML. | | Zoom { get; set; } | Specifies the zoom level as a percentage. The zoom level is applied to the document's <body> tag before conversion, scaling the document's visual appearance. A value of 100% represents the original size. The default value is 100. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Format Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/xmlloadoptions/format.md #### XmlLoadOptions.Format property Input document file type. ```csharp public WebFileType Format { get; } ``` ### UseAsDataSource Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/xmlloadoptions/useasdatasource.md #### XmlLoadOptions.UseAsDataSource property Use Xml document as data source ```csharp public bool UseAsDataSource { get; set; } ``` ### XmlLoadOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/xmlloadoptions/xmlloadoptions.md #### XmlLoadOptions constructor Initializes new instance of `XmlLoadOptions` class. ```csharp public XmlLoadOptions() ``` ### XslFoFactory Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/xmlloadoptions/xslfofactory.md #### XmlLoadOptions.XslFoFactory property XSL-FO document stream to convert XML using XSL-FO markup file. ```csharp public Func XslFoFactory { get; set; } ``` ### XsltFactory Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.load/xmlloadoptions/xsltfactory.md #### XmlLoadOptions.XsltFactory property XSLT document stream to convert XML performing XSL transformation to HTML. ```csharp public Func XsltFactory { get; set; } ``` ### GroupDocs.Conversion.Options Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options.md The namespace provides classes to specify additional options for document loading and conversion process. #### Classes | Class | Description | | --- | --- | | PageMarginOptions | Represents options that support page margins | | PageSize | Specifies page size | | PageSizeOptions | Represents options that support page size | #### Interfaces | Interface | Description | | --- | --- | | IPageMarginOptions | Represents options that support page margins | | IPageOrientationOptions | Represents options that support page orientation | | IPageSizeOptions | Represents options that support page size | ### IPageMarginOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/ipagemarginoptions.md #### IPageMarginOptions interface Represents options that support page margins ```csharp public interface IPageMarginOptions ``` #### Properties | Name | Description | | --- | --- | | MarginSettings { get; set; } | Page margin settings | ### MarginSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/ipagemarginoptions/marginsettings.md #### IPageMarginOptions.MarginSettings property Page margin settings ```csharp public PageMarginOptions MarginSettings { get; set; } ``` ### IPageOrientationOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/ipageorientationoptions.md #### IPageOrientationOptions interface Represents options that support page orientation ```csharp public interface IPageOrientationOptions ``` #### Properties | Name | Description | | --- | --- | | OrientationSettings { get; set; } | Page orientation settings | ### OrientationSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/ipageorientationoptions/orientationsettings.md #### IPageOrientationOptions.OrientationSettings property Page orientation settings ```csharp public PageOrientation OrientationSettings { get; set; } ``` ### IPageSizeOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/ipagesizeoptions.md #### IPageSizeOptions interface Represents options that support page size ```csharp public interface IPageSizeOptions ``` #### Properties | Name | Description | | --- | --- | | SizeSettings { get; set; } | Page size settings | ### SizeSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/ipagesizeoptions/sizesettings.md #### IPageSizeOptions.SizeSettings property Page size settings ```csharp public PageSizeOptions SizeSettings { get; set; } ``` ### PageMarginOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagemarginoptions.md #### PageMarginOptions class Represents options that support page margins ```csharp public class PageMarginOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | PageMarginOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Bottom { get; set; } | Desired page bottom margin in points. | | Left { get; set; } | Desired page left margin in points. | | Right { get; set; } | Desired page right margin in points. | | Top { get; set; } | Desired page top margin in points. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### Bottom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagemarginoptions/bottom.md #### PageMarginOptions.Bottom property Desired page bottom margin in points. ```csharp public float? Bottom { get; set; } ``` ### Left Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagemarginoptions/left.md #### PageMarginOptions.Left property Desired page left margin in points. ```csharp public float? Left { get; set; } ``` ### PageMarginOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagemarginoptions/pagemarginoptions.md #### PageMarginOptions constructor The default constructor. ```csharp public PageMarginOptions() ``` ### Right Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagemarginoptions/right.md #### PageMarginOptions.Right property Desired page right margin in points. ```csharp public float? Right { get; set; } ``` ### Top Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagemarginoptions/top.md #### PageMarginOptions.Top property Desired page top margin in points. ```csharp public float? Top { get; set; } ``` ### PageSize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize.md #### PageSize class Specifies page size ```csharp public sealed class PageSize : Enumeration ``` #### Methods | Name | Description | | --- | --- | | CompareTo(object) | Compares current object to other. | | virtual Equals(Enumeration) | Determines whether two object instances are equal. | | override Equals(object) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly A3 | 297 x 420 mm. | | static readonly A4 | 210 x 297 mm. | | static readonly A5 | 148 x 210 mm. | | static readonly B4 | 250 x 353 mm | | static readonly B5 | 176 x 250 mm. | | static readonly Custom | Custom paper size. | | static readonly EnvelopeDL | 110 x 220 mm. | | static readonly Executive | 7.25 x 10.5 inches. | | static readonly Folio | 8.5 x 13 inches. | | static readonly Ledger | 17 x 11 inches. | | static readonly Legal | 8.5 x 14 inches. | | static readonly Letter | 8.5 x 11 inches. | | static readonly Paper10x14 | 10 x 14 inches. | | static readonly Paper11x17 | 11 x 17 inches. | | static readonly Quarto | 8.47 x 10.83 inches. | | static readonly Statement | 8.5 x 5.5 inches. | | static readonly Tabloid | 11 x 17 inches. | | static readonly Unset | Unset paper size. | ### A3 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/a3.md #### PageSize.A3 field 297 x 420 mm. ```csharp public static readonly PageSize A3; ``` ### A4 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/a4.md #### PageSize.A4 field 210 x 297 mm. ```csharp public static readonly PageSize A4; ``` ### A5 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/a5.md #### PageSize.A5 field 148 x 210 mm. ```csharp public static readonly PageSize A5; ``` ### B4 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/b4.md #### PageSize.B4 field 250 x 353 mm ```csharp public static readonly PageSize B4; ``` ### B5 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/b5.md #### PageSize.B5 field 176 x 250 mm. ```csharp public static readonly PageSize B5; ``` ### Custom Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/custom.md #### PageSize.Custom field Custom paper size. ```csharp public static readonly PageSize Custom; ``` ### EnvelopeDL Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/envelopedl.md #### PageSize.EnvelopeDL field 110 x 220 mm. ```csharp public static readonly PageSize EnvelopeDL; ``` ### Executive Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/executive.md #### PageSize.Executive field 7.25 x 10.5 inches. ```csharp public static readonly PageSize Executive; ``` ### Folio Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/folio.md #### PageSize.Folio field 8.5 x 13 inches. ```csharp public static readonly PageSize Folio; ``` ### Ledger Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/ledger.md #### PageSize.Ledger field 17 x 11 inches. ```csharp public static readonly PageSize Ledger; ``` ### Legal Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/legal.md #### PageSize.Legal field 8.5 x 14 inches. ```csharp public static readonly PageSize Legal; ``` ### Letter Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/letter.md #### PageSize.Letter field 8.5 x 11 inches. ```csharp public static readonly PageSize Letter; ``` ### Paper10x14 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/paper10x14.md #### PageSize.Paper10x14 field 10 x 14 inches. ```csharp public static readonly PageSize Paper10x14; ``` ### Paper11x17 Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/paper11x17.md #### PageSize.Paper11x17 field 11 x 17 inches. ```csharp public static readonly PageSize Paper11x17; ``` ### Quarto Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/quarto.md #### PageSize.Quarto field 8.47 x 10.83 inches. ```csharp public static readonly PageSize Quarto; ``` ### Statement Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/statement.md #### PageSize.Statement field 8.5 x 5.5 inches. ```csharp public static readonly PageSize Statement; ``` ### Tabloid Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/tabloid.md #### PageSize.Tabloid field 11 x 17 inches. ```csharp public static readonly PageSize Tabloid; ``` ### Unset Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesize/unset.md #### PageSize.Unset field Unset paper size. ```csharp public static readonly PageSize Unset; ``` ### PageSizeOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesizeoptions.md #### PageSizeOptions class Represents options that support page size ```csharp public sealed class PageSizeOptions : ValueObject ``` #### Constructors | Name | Description | | --- | --- | | PageSizeOptions() | Default constructor. Initializes `PageSize` to `Unset`. | #### Properties | Name | Description | | --- | --- | | PageHeight { get; set; } | Page height in points to be applied before conversion. When set, `PageSize` is automatically changed to `Custom`. | | PageSize { get; set; } | Implements `PageSize` | | PageWidth { get; set; } | Page width in points to be applied before conversion. When set, `PageSize` is automatically changed to `Custom`. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether two object instances are equal. | | virtual Equals(ValueObject) | Determines whether two object instances are equal. | | override GetHashCode() | Serves as the default hash function. | ### PageHeight Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesizeoptions/pageheight.md #### PageSizeOptions.PageHeight property Page height in points to be applied before conversion. When set, `PageSize` is automatically changed to `Custom`. ```csharp public float PageHeight { get; set; } ``` ### PageSize Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesizeoptions/pagesize.md #### PageSizeOptions.PageSize property Implements `PageSize` ```csharp public PageSize PageSize { get; set; } ``` ### PageSizeOptions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesizeoptions/pagesizeoptions.md #### PageSizeOptions constructor Default constructor. Initializes `PageSize` to `Unset`. ```csharp public PageSizeOptions() ``` ### PageWidth Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.options/pagesizeoptions/pagewidth.md #### PageSizeOptions.PageWidth property Page width in points to be applied before conversion. When set, `PageSize` is automatically changed to `Custom`. ```csharp public float PageWidth { get; set; } ``` ### GroupDocs.Conversion Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion.md The namespace provides classes to convert documents into all popular file formats in a simple and intuitive way. #### Classes | Class | Description | | --- | --- | | ConversionEvents | Aggregates conversion lifecycle event handlers. Pass an instance to the `Converter` constructor's `events` parameter or to the fluent `WithEvents` method. Prefer this over the individual `ConverterSettings` handler properties, which are obsolete. | | ConvertContext | Defines convert context. | | ConvertedContext | Defines convert context. | | ConvertedPageContext | Defines convert page context. | | Converter | Represents main class that controls document conversion process. | | ConverterSettings | Defines settings for customizing `Converter` behaviour. | | FluentConverter | Class for fluent conversion setup. | | License | Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). | | LoadContext | Defines load context. | | Metered | Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. | | SaveContext | Defines save context. | | SavePageContext | Defines save page context. | ### ConversionEvents Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents.md #### ConversionEvents class Aggregates conversion lifecycle event handlers. Pass an instance to the `Converter` constructor's `events` parameter or to the fluent `WithEvents` method. Prefer this over the individual `ConverterSettings` handler properties, which are obsolete. ```csharp public sealed class ConversionEvents ``` #### Constructors | Name | Description | | --- | --- | | ConversionEvents() | The default constructor. | #### Properties | Name | Description | | --- | --- | | OnCompressionCompleted { get; set; } | Fired when compression of conversion output completes. Only invoked in builds that include the compression pipeline (LIB_ZIP). | | OnConversionCompleted { get; set; } | Fired once when the conversion run finishes, regardless of success or failure. | | OnConversionProgress { get; set; } | Fired periodically with conversion progress as a percentage (0–100). | | OnConversionStarted { get; set; } | Fired once at the start of the conversion run, before any document is processed. | | OnDocumentConverted { get; set; } | Fired once per whole-document conversion that completes successfully. | | OnDocumentFailed { get; set; } | Fired once per whole-document conversion that fails. | | OnPageConverted { get; set; } | Fired once per page when a per-page conversion completes successfully. | | OnPageFailed { get; set; } | Fired once per page when a per-page conversion fails. | ### ConversionEvents Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/conversionevents.md #### ConversionEvents constructor The default constructor. ```csharp public ConversionEvents() ``` ### OnCompressionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/oncompressioncompleted.md #### ConversionEvents.OnCompressionCompleted property Fired when compression of conversion output completes. Only invoked in builds that include the compression pipeline (LIB_ZIP). ```csharp public Action OnCompressionCompleted { get; set; } ``` ### OnConversionCompleted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/onconversioncompleted.md #### ConversionEvents.OnConversionCompleted property Fired once when the conversion run finishes, regardless of success or failure. ```csharp public Action OnConversionCompleted { get; set; } ``` ### OnConversionProgress Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/onconversionprogress.md #### ConversionEvents.OnConversionProgress property Fired periodically with conversion progress as a percentage (0–100). ```csharp public Action OnConversionProgress { get; set; } ``` ### OnConversionStarted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/onconversionstarted.md #### ConversionEvents.OnConversionStarted property Fired once at the start of the conversion run, before any document is processed. ```csharp public Action OnConversionStarted { get; set; } ``` ### OnDocumentConverted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/ondocumentconverted.md #### ConversionEvents.OnDocumentConverted property Fired once per whole-document conversion that completes successfully. ```csharp public Action OnDocumentConverted { get; set; } ``` ### OnDocumentFailed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/ondocumentfailed.md #### ConversionEvents.OnDocumentFailed property Fired once per whole-document conversion that fails. ```csharp public Action OnDocumentFailed { get; set; } ``` ### OnPageConverted Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/onpageconverted.md #### ConversionEvents.OnPageConverted property Fired once per page when a per-page conversion completes successfully. ```csharp public Action OnPageConverted { get; set; } ``` ### OnPageFailed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/conversionevents/onpagefailed.md #### ConversionEvents.OnPageFailed property Fired once per page when a per-page conversion fails. ```csharp public Action OnPageFailed { get; set; } ``` ### ConvertContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertcontext.md #### ConvertContext class Defines convert context. ```csharp public sealed class ConvertContext ``` #### Properties | Name | Description | | --- | --- | | CancellationToken { get; set; } | Cancellation token. | | SourceFileName { get; } | Source file name. | | SourceFormat { get; } | Source format. | ### CancellationToken Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertcontext/cancellationtoken.md #### ConvertContext.CancellationToken property Cancellation token. ```csharp public CancellationToken CancellationToken { get; set; } ``` ### SourceFileName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertcontext/sourcefilename.md #### ConvertContext.SourceFileName property Source file name. ```csharp public string SourceFileName { get; } ``` ### SourceFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertcontext/sourceformat.md #### ConvertContext.SourceFormat property Source format. ```csharp public FileType SourceFormat { get; } ``` ### ConvertedContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedcontext.md #### ConvertedContext class Defines convert context. ```csharp public sealed class ConvertedContext ``` #### Properties | Name | Description | | --- | --- | | ConvertedFormat { get; } | Converted format. | | ConvertedStream { get; } | Converted file stream. | | HierarchyLevel { get; } | Hierarchy level. | | ItemIndex { get; } | Item index. | | SourceFileName { get; } | Source file name. | | SourceFormat { get; } | Source format. | ### ConvertedFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedcontext/convertedformat.md #### ConvertedContext.ConvertedFormat property Converted format. ```csharp public FileType ConvertedFormat { get; } ``` ### ConvertedStream Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedcontext/convertedstream.md #### ConvertedContext.ConvertedStream property Converted file stream. ```csharp public Stream ConvertedStream { get; } ``` ### HierarchyLevel Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedcontext/hierarchylevel.md #### ConvertedContext.HierarchyLevel property Hierarchy level. ```csharp public int HierarchyLevel { get; } ``` ### ItemIndex Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedcontext/itemindex.md #### ConvertedContext.ItemIndex property Item index. ```csharp public int ItemIndex { get; } ``` ### SourceFileName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedcontext/sourcefilename.md #### ConvertedContext.SourceFileName property Source file name. ```csharp public string SourceFileName { get; } ``` ### SourceFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedcontext/sourceformat.md #### ConvertedContext.SourceFormat property Source format. ```csharp public FileType SourceFormat { get; } ``` ### ConvertedPageContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedpagecontext.md #### ConvertedPageContext class Defines convert page context. ```csharp public sealed class ConvertedPageContext ``` #### Properties | Name | Description | | --- | --- | | ConvertedFormat { get; } | Converted file format. | | ConvertedStream { get; } | Converted file stream. | | Page { get; } | Page number from the source document. | | SourceFileName { get; } | Source file name. | | SourceFormat { get; } | Source file format. | ### ConvertedFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedpagecontext/convertedformat.md #### ConvertedPageContext.ConvertedFormat property Converted file format. ```csharp public FileType ConvertedFormat { get; } ``` ### ConvertedStream Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedpagecontext/convertedstream.md #### ConvertedPageContext.ConvertedStream property Converted file stream. ```csharp public Stream ConvertedStream { get; } ``` ### Page Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedpagecontext/page.md #### ConvertedPageContext.Page property Page number from the source document. ```csharp public int Page { get; } ``` ### SourceFileName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedpagecontext/sourcefilename.md #### ConvertedPageContext.SourceFileName property Source file name. ```csharp public string SourceFileName { get; } ``` ### SourceFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertedpagecontext/sourceformat.md #### ConvertedPageContext.SourceFormat property Source file format. ```csharp public FileType SourceFormat { get; } ``` ### Converter Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter.md #### Converter class Represents main class that controls document conversion process. ```csharp public sealed class Converter : IDisposable ``` #### Constructors | Name | Description | | --- | --- | | Converter(Func<Stream>) | Initializes new instance of `Converter` class. | | Converter(string) | Initializes new instance of `Converter` class. | | Converter(Func<Stream>, Func<ConverterSettings>) | Initializes new instance of `Converter` class. | | Converter(string, Func<ConverterSettings>) | Initializes new instance of `Converter` class. | | Converter(Func<Stream>, Func<ConverterSettings>, Func<ConversionEvents>) | Initializes new instance of `Converter` class with explicit conversion events. | | Converter(Func<Stream>, Func<LoadContext, LoadOptions>, Func<ConverterSettings>) | Initializes new instance of `Converter` class. | | Converter(string, Func<ConverterSettings>, Func<ConversionEvents>) | Initializes new instance of `Converter` class with explicit conversion events. | | Converter(string, Func<LoadContext, LoadOptions>, Func<ConverterSettings>) | Initializes new instance of `Converter` class. | | Converter(Func<Stream>, Func<LoadContext, LoadOptions>, Func<ConverterSettings>, Func<ConversionEvents>) | Initializes new instance of `Converter` class with explicit conversion events. | | Converter(string, Func<LoadContext, LoadOptions>, Func<ConverterSettings>, Func<ConversionEvents>) | Initializes new instance of `Converter` class with explicit conversion events. | #### Methods | Name | Description | | --- | --- | | Convert(ConvertOptions, Action<ConvertedContext>, CancellationToken) | Converts source document. Saves the whole converted document. | | Convert(ConvertOptions, Action<ConvertedPageContext>, CancellationToken) | Converts source document. Saves the converted document page by page. | | Convert(Func<ConvertContext, ConvertOptions>, Action<ConvertedContext>, CancellationToken) | Converts source document. Saves the whole converted document. | | Convert(Func<ConvertContext, ConvertOptions>, Action<ConvertedPageContext>, CancellationToken) | Converts source document. Saves the converted document page by page. | | Convert(Func<SaveContext, Stream>, ConvertOptions, CancellationToken) | Converts source document. Saves the whole converted document. | | Convert(Func<SaveContext, Stream>, Func<ConvertContext, ConvertOptions>, CancellationToken) | Converts source document. Saves the whole converted document. | | Convert(Func<SavePageContext, Stream>, ConvertOptions, CancellationToken) | Converts source document. Saves the converted document page by page. | | Convert(Func<SavePageContext, Stream>, Func<ConvertContext, ConvertOptions>, CancellationToken) | Converts source document. Saves the converted document page by page. | | Convert(string, ConvertOptions, CancellationToken) | Converts source document. Saves the whole converted document. | | Dispose() | Releases resources. | | GetDocumentInfo() | Gets source document info - pages count and other document properties specific to the file type. | | GetDocumentInfo<T>() | Gets source document info - pages count and other document properties specific to the file type. | | GetPossibleConversions() | Gets possible conversions for the source document. | | IsDocumentPasswordProtected() | Checks is source document is password protected | | static GetAllPossibleConversions() | Gets all supported conversions | | static GetPossibleConversions(string) | Gets supported conversions for provided document extension | ##### Examples **Basic conversion from file path:** ```csharp // Convert DOCX to PDF using (var converter = new Converter("sample.docx")) { var options = new PdfConvertOptions(); converter.Convert("output.pdf", options); } ``` **Conversion with custom options:** ```csharp // Convert DOCX to PDF with watermark and specific page range using (var converter = new Converter("sample.docx")) { var options = new PdfConvertOptions { PageNumber = 1, PagesCount = 3, Watermark = new WatermarkTextOptions("CONFIDENTIAL") { Color = System.Drawing.Color.Red, Width = 300, Height = 100 } }; converter.Convert("output.pdf", options); } ``` **Conversion from stream:** ```csharp // Convert document from stream to stream using (var sourceStream = File.OpenRead("sample.docx")) using (var converter = new Converter(() => sourceStream)) using (var outputStream = File.Create("output.pdf")) { var options = new PdfConvertOptions(); converter.Convert((SaveContext context) => outputStream, options); } ``` **Conversion with load options (password-protected document):** ```csharp // Load password-protected document and convert to PDF var loadOptions = new WordProcessingLoadOptions { Password = "secret_password" }; using (var converter = new Converter("protected.docx", (LoadContext context) => loadOptions)) { var convertOptions = new PdfConvertOptions(); converter.Convert("output.pdf", convertOptions); } ``` **Page-by-page conversion:** ```csharp // Convert document pages to separate image files using (var converter = new Converter("sample.pdf")) { var options = new ImageConvertOptions { Format = ImageFileType.Png }; converter.Convert( (SavePageContext context) => File.Create($"page-{context.Page}.png"), options ); } ``` **Registering conversion event handlers (recommended path):** ```csharp // Aggregate all event handlers in a ConversionEvents bag and pass it to the Converter. var events = new ConversionEvents { OnDocumentConverted = ctx => Console.WriteLine($"Done: {ctx.SourceFileName}"), OnDocumentFailed = (ctx, ex) => Console.Error.WriteLine($"Conversion of {ctx.SourceFileName} failed: {ex.Message}"), OnPageFailed = (ctx, ex) => Console.Error.WriteLine($"Page {ctx.Page} of {ctx.SourceFileName} failed: {ex.Message}"), }; using (var converter = new Converter("sample.docx", () => new ConverterSettings(), () => events)) { converter.Convert("output.pdf", new PdfConvertOptions()); } ``` The flat `OnConversionFailed`, `OnConversionByPageFailed`, and `OnCompressionCompleted` properties on `ConverterSettings` still work but are obsolete; new code should pass a `ConversionEvents` instance via the `events` constructor parameter. **Get document information:** ```csharp // Retrieve document metadata before conversion using (var converter = new Converter("sample.docx")) { var info = converter.GetDocumentInfo(); Console.WriteLine($"Document has {info.PagesCount} pages"); Console.WriteLine($"Format: {info.Format}"); Console.WriteLine($"Size: {info.Size} bytes"); } ``` ### Convert Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter/convert.md #### Convert(Func<SaveContext, Stream>, ConvertOptions, CancellationToken) Converts source document. Saves the whole converted document. ```csharp public void Convert(Func targetStreamProvider, ConvertOptions convertOptions, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | targetStreamProvider | Func`2 | The delegate that saves converted document to a stream. | | convertOptions | ConvertOptions | The convert options specific to desired target file type. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(ConvertOptions, Action<ConvertedContext>, CancellationToken) Converts source document. Saves the whole converted document. ```csharp public void Convert(ConvertOptions convertOptions, Action documentCompleted, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptions | ConvertOptions | The convert options specific to desired target file type. | | documentCompleted | Action`1 | Delegate that receives the converted document stream. Signature: `Action`. The `ConvertedContext` parameter contains the converted document stream and metadata. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(Func<SaveContext, Stream>, Func<ConvertContext, ConvertOptions>, CancellationToken) Converts source document. Saves the whole converted document. ```csharp public void Convert(Func targetStreamProvider, Func convertOptionsProvider, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | targetStreamProvider | Func`2 | Delegate that provides the stream to save the converted document. Signature: `Func`. The `SaveContext` parameter contains information about the save operation. | | convertOptionsProvider | Func`2 | Delegate that provides conversion options. Signature: `Func`. The `ConvertContext` parameter contains information about the conversion operation. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(Func<ConvertContext, ConvertOptions>, Action<ConvertedContext>, CancellationToken) Converts source document. Saves the whole converted document. ```csharp public void Convert(Func convertOptionsProvider, Action documentCompleted, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptionsProvider | Func`2 | Delegate that provides conversion options. Signature: `Func`. The `ConvertContext` parameter contains information about the conversion operation. | | documentCompleted | Action`1 | Delegate that receives the converted document stream. Signature: `Action`. The `ConvertedContext` parameter contains the converted document stream and metadata. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(string, ConvertOptions, CancellationToken) Converts source document. Saves the whole converted document. ```csharp public void Convert(string filePath, ConvertOptions convertOptions, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path to the source document. | | convertOptions | ConvertOptions | The convert options specific to desired target file type. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(Func<SavePageContext, Stream>, Func<ConvertContext, ConvertOptions>, CancellationToken) Converts source document. Saves the converted document page by page. ```csharp public void Convert(Func targetStreamProvider, Func convertOptionsProvider, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | targetStreamProvider | Func`2 | Delegate that provides a stream for saving each converted page. Signature: `Func`. The `SavePageContext` parameter contains page number and document information. | | convertOptionsProvider | Func`2 | Delegate that provides conversion options. Signature: `Func`. The `ConvertContext` parameter contains information about the conversion operation. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(Func<SavePageContext, Stream>, ConvertOptions, CancellationToken) Converts source document. Saves the converted document page by page. ```csharp public void Convert(Func targetStreamProvider, ConvertOptions convertOptions, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | targetStreamProvider | Func`2 | Delegate that provides a stream for saving each converted page. Signature: `Func`. The `SavePageContext` parameter contains page number and document information. | | convertOptions | ConvertOptions | The convert options specific to desired target file type. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(ConvertOptions, Action<ConvertedPageContext>, CancellationToken) Converts source document. Saves the converted document page by page. ```csharp public void Convert(ConvertOptions convertOptions, Action documentCompleted, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | documentCompleted | ConvertOptions | Delegate that receives each converted page. Signature: `Action`. The `ConvertedPageContext` parameter contains page number, stream, source file name, and target file type. | | convertOptions | Action`1 | The convert options specific to desired target file type. | | cancellationToken | CancellationToken | The cancellation token. | #### Convert(Func<ConvertContext, ConvertOptions>, Action<ConvertedPageContext>, CancellationToken) Converts source document. Saves the converted document page by page. ```csharp public void Convert(Func convertOptionsProvider, Action documentCompleted, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptionsProvider | Func`2 | Delegate that provides conversion options. Signature: `Func`. The `ConvertContext` parameter contains information about the conversion operation. | | documentCompleted | Action`1 | Delegate that receives each converted page. Signature: `Action`. The `ConvertedPageContext` parameter contains page number, stream, source file name, and target file type. | | cancellationToken | CancellationToken | The cancellation token. | ### Converter Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter/converter.md #### Converter(Func<Stream>) Initializes new instance of `Converter` class. ```csharp public Converter(Func sourceStreamProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStreamProvider | Func`1 | The method that returns readable stream. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *sourceStreamProvider* is null. | #### Converter(Func<Stream>, Func<ConverterSettings>) Initializes new instance of `Converter` class. ```csharp public Converter(Func sourceStreamProvider, Func settings) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStreamProvider | Func`1 | The method that returns readable stream. | | settings | Func`1 | The Converter settings. | #### Converter(Func<Stream>, Func<LoadContext, LoadOptions>, Func<ConverterSettings>) Initializes new instance of `Converter` class. ```csharp public Converter(Func sourceStreamProvider, Func loadOptions, Func settings = null) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStreamProvider | Func`1 | The method that returns readable stream. | | loadOptions | Func`2 | Delegate that provides load options for the document. Signature: `Func`. The `LoadContext` parameter contains information about the document being loaded. | | settings | Func`1 | The Converter settings. | #### Converter(Func<Stream>, Func<LoadContext, LoadOptions>, Func<ConverterSettings>, Func<ConversionEvents>) Initializes new instance of `Converter` class with explicit conversion events. ```csharp public Converter(Func sourceStreamProvider, Func loadOptions, Func settings, Func events) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStreamProvider | Func`1 | The method that returns readable stream. | | loadOptions | Func`2 | Delegate that provides load options for the document. | | settings | Func`1 | The Converter settings. | | events | Func`1 | Delegate that provides aggregated `ConversionEvents` registered for the converter's lifetime. | #### Converter(Func<Stream>, Func<ConverterSettings>, Func<ConversionEvents>) Initializes new instance of `Converter` class with explicit conversion events. ```csharp public Converter(Func sourceStreamProvider, Func settings, Func events) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStreamProvider | Func`1 | The method that returns readable stream. | | settings | Func`1 | The Converter settings. | | events | Func`1 | Delegate that provides aggregated `ConversionEvents` registered for the converter's lifetime. | #### Converter(string) Initializes new instance of `Converter` class. ```csharp public Converter(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path to the source document. | #### Converter(string, Func<ConverterSettings>) Initializes new instance of `Converter` class. ```csharp public Converter(string filePath, Func settings) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path to the source document. | | settings | Func`1 | The Converter settings. | #### Converter(string, Func<LoadContext, LoadOptions>, Func<ConverterSettings>) Initializes new instance of `Converter` class. ```csharp public Converter(string filePath, Func loadOptions, Func settings = null) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path to the source document. | | loadOptions | Func`2 | Delegate that provides load options for the document. Signature: `Func`. The `LoadContext` parameter contains information about the document being loaded. | | settings | Func`1 | The Converter settings. | #### Converter(string, Func<LoadContext, LoadOptions>, Func<ConverterSettings>, Func<ConversionEvents>) Initializes new instance of `Converter` class with explicit conversion events. ```csharp public Converter(string filePath, Func loadOptions, Func settings, Func events) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path to the source document. | | loadOptions | Func`2 | Delegate that provides load options for the document. | | settings | Func`1 | The Converter settings. | | events | Func`1 | Delegate that provides aggregated `ConversionEvents` registered for the converter's lifetime. | #### Converter(string, Func<ConverterSettings>, Func<ConversionEvents>) Initializes new instance of `Converter` class with explicit conversion events. ```csharp public Converter(string filePath, Func settings, Func events) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path to the source document. | | settings | Func`1 | The Converter settings. | | events | Func`1 | Delegate that provides aggregated `ConversionEvents` registered for the converter's lifetime. | ### Dispose Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter/dispose.md #### Converter.Dispose method Releases resources. ```csharp public void Dispose() ``` ### GetAllPossibleConversions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter/getallpossibleconversions.md #### Converter.GetAllPossibleConversions method Gets all supported conversions ```csharp public static IEnumerable GetAllPossibleConversions() ``` ##### Return Value Collection of all possible conversions. ### GetDocumentInfo Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter/getdocumentinfo.md #### GetDocumentInfo() Gets source document info - pages count and other document properties specific to the file type. ```csharp public IDocumentInfo GetDocumentInfo() ``` ##### Return Value Document information as `IDocumentInfo`. #### GetDocumentInfo<T>() Gets source document info - pages count and other document properties specific to the file type. ```csharp public T GetDocumentInfo() where T : IDocumentInfo ``` | Parameter | Description | | --- | --- | | T | The specific document info type. | ##### Return Value Document information as the specified type T. ### GetPossibleConversions Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter/getpossibleconversions.md #### GetPossibleConversions() Gets possible conversions for the source document. ```csharp public PossibleConversions GetPossibleConversions() ``` ##### Return Value Possible conversions as `PossibleConversions`. #### GetPossibleConversions(string) Gets supported conversions for provided document extension ```csharp public static PossibleConversions GetPossibleConversions(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | Document extension | ##### Return Value Possible conversions for the specified extension as `PossibleConversions`. ##### Examples Converter.GetPossibleConversions(".docx") Converter.GetPossibleConversions("docx") ### IsDocumentPasswordProtected Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/converter/isdocumentpasswordprotected.md #### Converter.IsDocumentPasswordProtected method Checks is source document is password protected ```csharp public bool IsDocumentPasswordProtected() ``` ##### Return Value true if document is password protected ### ConverterSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertersettings.md #### ConverterSettings class Defines settings for customizing `Converter` behaviour. ```csharp public sealed class ConverterSettings ``` #### Constructors | Name | Description | | --- | --- | | ConverterSettings() | Default constructor | #### Properties | Name | Description | | --- | --- | | Cache { get; set; } | The cache implementation used for storing conversion results. | | FontDirectories { get; } | The custom font directories paths | | Logger { get; set; } | The logger implementation used for logging conversion process. | | ScanFontDirectoriesRecursively { get; set; } | If true, the converter will scan font directories recursively. | | TempFolder { get; set; } | Temp folder used for conversion | ### Cache Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertersettings/cache.md #### ConverterSettings.Cache property The cache implementation used for storing conversion results. ```csharp public ICache Cache { get; set; } ``` ### ConverterSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertersettings/convertersettings.md #### ConverterSettings constructor Default constructor ```csharp public ConverterSettings() ``` ### FontDirectories Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertersettings/fontdirectories.md #### ConverterSettings.FontDirectories property The custom font directories paths ```csharp public List FontDirectories { get; } ``` ### Logger Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertersettings/logger.md #### ConverterSettings.Logger property The logger implementation used for logging conversion process. ```csharp public ILogger Logger { get; set; } ``` ### ScanFontDirectoriesRecursively Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertersettings/scanfontdirectoriesrecursively.md #### ConverterSettings.ScanFontDirectoriesRecursively property If true, the converter will scan font directories recursively. ```csharp public bool ScanFontDirectoriesRecursively { get; set; } ``` ### TempFolder Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/convertersettings/tempfolder.md #### ConverterSettings.TempFolder property Temp folder used for conversion ```csharp public string TempFolder { get; set; } ``` ### FluentConverter Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/fluentconverter.md #### FluentConverter class Class for fluent conversion setup. ```csharp public static class FluentConverter ``` #### Methods | Name | Description | | --- | --- | | static Load(Func<Stream>) | Configure source document stream | | static Load(Func<Stream[]>) | Configure set of source documents streams | | static Load(string) | Configure source document for conversion | | static Load(string[]) | Configure set of source documents | | static WithEvents(Action<ConversionEvents>) | Entry-stage variant of the fluent chain that starts with conversion lifecycle event handlers. Sits at the same entry stage as `WithSettings`, and the resulting `ConversionEvents` bag fires on every conversion run by the converter. | | static WithSettings(Func<ConverterSettings>) | Configure conversion settings | ##### Remarks Sample fluent conversion usage: ```csharp var converter = FluentConverter.Create(); ``` ```csharp FluentConverter.Load("") .ConvertTo("") .Convert(); ``` ```csharp // Recommended: aggregate handlers via WithEvents at the early stage (before Load). FluentConverter .WithEvents(e => { e.OnDocumentConverted = ctx => Console.WriteLine($"Done: {ctx.SourceFileName}"); e.OnDocumentFailed = (ctx, ex) => Console.Error.WriteLine(ex.Message); }) .Load("input.docx") .ConvertTo("output.pdf").WithOptions(new PdfConvertOptions()) .Convert(); ``` ```csharp // Per-page mirror: per-page handlers via WithEvents at the early stage. FluentConverter .WithEvents(e => { e.OnPageConverted = ctx => Console.WriteLine($"page {ctx.Page} done"); e.OnPageFailed = (ctx, ex) => Console.Error.WriteLine($"page {ctx.Page}: {ex.Message}"); }) .Load("input.pdf") .ConvertByPageTo(ctx => new FileStream($"page-{ctx.Page}.png", FileMode.Create)) .WithOptions(new ImageConvertOptions { Format = ImageFileType.Png }) .Convert(); ``` ```csharp // Legacy chain still compiles unchanged (now backed by the obsolete staged interfaces): FluentConverter.WithSettings(() => new ConverterSettings()) .Load("").WithOptions(new PdfLoadOptions()) .ConvertTo("").WithOptions(new PdfConvertOptions()) .OnConversionCompleted(convertedDocumentStream => { }) .Convert(); ``` ```csharp FluentConverter.Load("").GetPossibleConversions(); FluentConverter.Load("").GetDocumentInfo(); FluentConverter.Load("").WithOptions(new PdfLoadOptions()).GetPossibleConversions(); FluentConverter.Load("").WithOptions(new PdfLoadOptions()).GetDocumentInfo(); ``` ### Load Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/fluentconverter/load.md #### Load(string) Configure source document for conversion ```csharp public static IConversionLoadOptionsOrSourceDocumentLoaded Load(string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String | Source document | #### Load(string[]) Configure set of source documents ```csharp public static IConversionLoadOptionsOrSourceDocumentLoaded Load(string[] fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String[] | Array of source files | #### Load(Func<Stream>) Configure source document stream ```csharp public static IConversionLoadOptionsOrSourceDocumentLoaded Load(Func documentStreamProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | Func`1 | Source document stream provider | #### Load(Func<Stream[]>) Configure set of source documents streams ```csharp public static IConversionLoadOptionsOrSourceDocumentLoaded Load( Func documentStreamProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | Func`1 | Set of source documents streams provider | ### WithEvents Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/fluentconverter/withevents.md #### FluentConverter.WithEvents method Entry-stage variant of the fluent chain that starts with conversion lifecycle event handlers. Sits at the same entry stage as `WithSettings`, and the resulting `ConversionEvents` bag fires on every conversion run by the converter. ```csharp public static IConversionFrom WithEvents(Action configure) ``` | Parameter | Type | Description | | --- | --- | --- | | configure | Action`1 | Action that mutates the events bag. | ##### Return Value The source-selection stage so that `Load` may be chained. ### WithSettings Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/fluentconverter/withsettings.md #### FluentConverter.WithSettings method Configure conversion settings ```csharp public static IConversionFrom WithSettings(Func settingsProvider) ``` | Parameter | Type | Description | | --- | --- | --- | | settingsProvider | Func`1 | Provider of ConverterSettings | ### License Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/license.md #### License class Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). ```csharp public sealed class License ``` #### Constructors | Name | Description | | --- | --- | | License() | The default constructor. | #### Properties | Name | Description | | --- | --- | | IsLicensed { get; } | Returns true if a valid license has been applied; false if the component is running in evaluation mode. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | ### IsLicensed Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/license/islicensed.md #### License.IsLicensed property Returns true if a valid license has been applied; false if the component is running in evaluation mode. ```csharp public bool IsLicensed { get; } ``` ### License Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/license/license.md #### License constructor The default constructor. ```csharp public License() ``` ### SetLicense Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/license/setlicense.md #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream licenseStream) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseStream | Stream | The license stream. | ##### Examples The following example demonstrates how to set a license passing Stream of the license file. ```csharp using (FileStream licenseStream = new FileStream("LicenseFile.lic", FileMode.Open)) { GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License(); lic.SetLicense(licenseStream); } ``` #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string licensePath) ``` | Parameter | Type | Description | | --- | --- | --- | | licensePath | String | The license path. | ##### Examples The following example demonstrates how to set a license passing a path to the license file. ```csharp string licensePath = "GroupDocs.Conversion.lic"; GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License(); lic.SetLicense(licensePath); ``` ### LoadContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/loadcontext.md #### LoadContext class Defines load context. ```csharp public sealed class LoadContext ``` #### Properties | Name | Description | | --- | --- | | HierarchyLevel { get; } | Hierarchy level. | | ItemIndex { get; } | Item index. | | SourceFileName { get; } | Source file name. | | SourceFormat { get; } | Source format. | | SourceStream { get; } | Source stream. | ### HierarchyLevel Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/loadcontext/hierarchylevel.md #### LoadContext.HierarchyLevel property Hierarchy level. ```csharp public int HierarchyLevel { get; } ``` ### ItemIndex Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/loadcontext/itemindex.md #### LoadContext.ItemIndex property Item index. ```csharp public int ItemIndex { get; } ``` ### SourceFileName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/loadcontext/sourcefilename.md #### LoadContext.SourceFileName property Source file name. ```csharp public string SourceFileName { get; } ``` ### SourceFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/loadcontext/sourceformat.md #### LoadContext.SourceFormat property Source format. ```csharp public FileType SourceFormat { get; } ``` ### SourceStream Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/loadcontext/sourcestream.md #### LoadContext.SourceStream property Source stream. ```csharp public Stream SourceStream { get; } ``` ### Metered Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/metered.md #### Metered class Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. ```csharp public sealed class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Activates product with Metered keys. | | static GetConsumptionCredit() | Retrieves count of credits consumed. | | static GetConsumptionQuantity() | Retrieves amount of MBs processed. | ### GetConsumptionCredit Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Retrieves count of credits consumed. ```csharp public static decimal GetConsumptionCredit() ``` ##### Examples Following example demonstrates how to retrieve count of credits consumed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal creditsConsumed = Metered.GetConsumptionCredit(); ``` ### GetConsumptionQuantity Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Retrieves amount of MBs processed. ```csharp public static decimal GetConsumptionQuantity() ``` ##### Examples Following example demonstrates how to retrieve amount of MBs processed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal mbProcessed = Metered.GetConsumptionQuantity(); ``` ### Metered Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/metered/metered.md #### Metered constructor The default constructor. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/metered/setmeteredkey.md #### Metered.SetMeteredKey method Activates product with Metered keys. ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | The public key. | | privateKey | String | The private key. | ##### Examples Following example demonstrates how to activate product with Metered keys. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); ``` ### SaveContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savecontext.md #### SaveContext class Defines save context. ```csharp public sealed class SaveContext ``` #### Properties | Name | Description | | --- | --- | | HierarchyLevel { get; } | Hierarchy level. | | ItemIndex { get; } | Item index. | | SourceFileName { get; } | Source file name. | | SourceFormat { get; } | Source format. | | TargetFormat { get; } | Target format. | ### HierarchyLevel Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savecontext/hierarchylevel.md #### SaveContext.HierarchyLevel property Hierarchy level. ```csharp public int HierarchyLevel { get; } ``` ### ItemIndex Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savecontext/itemindex.md #### SaveContext.ItemIndex property Item index. ```csharp public int ItemIndex { get; } ``` ### SourceFileName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savecontext/sourcefilename.md #### SaveContext.SourceFileName property Source file name. ```csharp public string SourceFileName { get; } ``` ### SourceFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savecontext/sourceformat.md #### SaveContext.SourceFormat property Source format. ```csharp public FileType SourceFormat { get; } ``` ### TargetFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savecontext/targetformat.md #### SaveContext.TargetFormat property Target format. ```csharp public FileType TargetFormat { get; } ``` ### SavePageContext Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savepagecontext.md #### SavePageContext class Defines save page context. ```csharp public sealed class SavePageContext ``` #### Properties | Name | Description | | --- | --- | | Page { get; } | Page number from the source document. | | SourceFileName { get; } | Source file name. | | SourceFormat { get; } | Source format. | | TargetFormat { get; } | Target format. | ### Page Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savepagecontext/page.md #### SavePageContext.Page property Page number from the source document. ```csharp public int Page { get; } ``` ### SourceFileName Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savepagecontext/sourcefilename.md #### SavePageContext.SourceFileName property Source file name. ```csharp public string SourceFileName { get; } ``` ### SourceFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savepagecontext/sourceformat.md #### SavePageContext.SourceFormat property Source format. ```csharp public FileType SourceFormat { get; } ``` ### TargetFormat Path: https://reference.groupdocs.com/conversion/net/groupdocs.conversion/savepagecontext/targetformat.md #### SavePageContext.TargetFormat property Target format. ```csharp public FileType TargetFormat { get; } ``` ## Node.js ### GroupDocs.Conversion for Node.js via Java Path: https://reference.groupdocs.com/conversion/nodejs-java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.conversion | The scope for GroupDocs.Conversion classes | | com.groupdocs.conversion.caching | The GroupDocs.Conversion.Caching namespace provides classes for customizing caching behaviour. | | com.groupdocs.conversion.contracts | The GroupDocs.Conversion.Contracts namespace provides members to instantiate and release output document, manage font substitutions etc. | | com.groupdocs.conversion.contracts.documentinfo | The GroupDocs.Conversion.Contracts.Documentinfo namespace provides metadata for a document. | | com.groupdocs.conversion.filetypes | The GroupDocs.Conversion.FileTypes namespace provides classes which represent supported file types. | | com.groupdocs.conversion.licensing | The GroupDocs.Conversion.Legacy.Licensing namespace provides classes for applying of the license | | com.groupdocs.conversion.logging | The GroupDocs.Conversion.Logging namespace provides classes for customizing logging behaviour. | | com.groupdocs.conversion.options.convert | The GroupDocs.Conversion.Options.Convert namespace provides classes to specify additional options for document conversion process. | | com.groupdocs.conversion.options.load | The GroupDocs.Conversion.Options.Load namespace provides classes to specify additional options for document loading process. | | com.groupdocs.conversion.reporting | The GroupDocs.Conversion.Options.Load namespace provides classes to implement converter listening. | ### com.groupdocs.conversion.caching Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.caching.md The GroupDocs.Conversion.Caching namespace provides classes for customizing caching behaviour. **Learn more**More about caching and optimizing conversion process performance: [Caching conversion results][] [Caching conversion results]: https://docs.groupdocs.com/display/conversionnet/Caching #### Classes | Class | Description | | --- | --- | | FileCache | File caching behaviour. | | MemoryCache | Memory caching behaviour. | ### FileCache Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.caching/filecache.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.caching.ICache ``` public final class FileCache implements ICache ``` File caching behaviour. Means that cache is stored on the file system **Learn more**More about caching and optimizing conversion process performance: [Caching conversion results][] [Caching conversion results]: https://docs.groupdocs.com/display/conversionnet/Caching #### Constructors | Constructor | Description | | --- | --- | | FileCache(String cachePath) | Creates new instance of FileCache class | #### Methods | Method | Description | | --- | --- | | set(String key, Object value) | Inserts a cache entry into the cache. | | tryGetValue(String key) | Gets the entry associated with this key if present. | | getKeys(String filter) | Returns all keys matching filter. | ##### FileCache(String cachePath) ``` public FileCache(String cachePath) ``` Creates new instance of FileCache class **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cachePath | java.lang.String | Relative or absolute path where document cache will be stored | ##### set(String key, Object value) ``` public void set(String key, Object value) ``` Inserts a cache entry into the cache. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A unique identifier for the cache entry. | | value | java.lang.Object | The object to insert. | ##### tryGetValue(String key) ``` public Object tryGetValue(String key) ``` Gets the entry associated with this key if present. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A key identifying the requested entry. | **Returns:** java.lang.Object - Object if the key was found or else null. ##### getKeys(String filter) ``` public Iterable getKeys(String filter) ``` Returns all keys matching filter. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filter | java.lang.String | The filter to use. | **Returns:** java.lang.Iterable - Keys matching the filter. ### MemoryCache Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.caching/memorycache.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.caching.ICache ``` public class MemoryCache implements ICache ``` Memory caching behaviour. Means that cache is stored in the memory **Learn more**More about caching and optimizing conversion process performance: [Caching conversion results][] [Caching conversion results]: https://docs.groupdocs.com/display/conversionnet/Caching #### Constructors | Constructor | Description | | --- | --- | | MemoryCache() | Creates new instance of MemoryCache class | #### Methods | Method | Description | | --- | --- | | set(String key, Object value) | Inserts a cache entry into the cache. | | tryGetValue(String key) | Gets the entry associated with this key if present. | | getKeys(String filter) | Returns all keys matching filter. | ##### MemoryCache() ``` public MemoryCache() ``` Creates new instance of MemoryCache class ##### set(String key, Object value) ``` public void set(String key, Object value) ``` Inserts a cache entry into the cache. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A unique identifier for the cache entry. | | value | java.lang.Object | The object to insert. | ##### tryGetValue(String key) ``` public Object tryGetValue(String key) ``` Gets the entry associated with this key if present. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | key | java.lang.String | A key identifying the requested entry. | **Returns:** java.lang.Object - The located value or null. ##### getKeys(String filter) ``` public Iterable getKeys(String filter) ``` Returns all keys matching filter. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filter | java.lang.String | he filter to use. | **Returns:** java.lang.Iterable - Keys matching the filter. ### com.groupdocs.conversion.contracts.documentinfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo.md The GroupDocs.Conversion.Contracts.Documentinfo namespace provides metadata for a document. #### Classes | Class | Description | | --- | --- | | AudioDocumentInfo | Contains Audio document metadata | | CadDocumentInfo | Contains Cad document metadata | | CgmDocumentInfo | Contains Cgm document metadata | | CsvDocumentInfo | Contains Csv document metadata | | DiagramDocumentInfo | Contains Diagram document metadata | | DjVuDocumentInfo | Contains DjVu document metadata | | DocumentInfo | Provides base implementation for retrieving polymorphic document information | | EmailDocumentInfo | Contains Email document metadata | | EmptyDocumentInfo | Empty Document Info | | EpsDocumentInfo | Contains Ps document metadata | | EpubDocumentInfo | Contains Epub document metadata | | FontDocumentInfo | Contains Font document metadata | | IcoDocumentInfo | Contains Ico document metadata | | ImageDocumentInfo | Contains Image document metadata | | JsonDocumentInfo | Contains Json document metadata | | MarkdownDocumentInfo | Contains Md document metadata | | NoteDocumentInfo | Contains Note document metadata | | OlmDocumentInfo | Contains olm document metadata | | OlmFolderInfo | Olm Folder info | | PasswordProtectedDocumentInfo | Provided document is password protected | | PclDocumentInfo | Contains Pcl document metadata | | PdfDocumentInfo | Contains Pdf document metadata | | PersonalStorageDocumentInfo | Contains personal storage document metadata | | PersonalStorageFolderInfo | Personal Storage Folder info | | PresentationDocumentInfo | Contains Presentation document metadata | | ProjectManagementDocumentInfo | Contains ProjectManagement document metadata | | PsDocumentInfo | Contains Ps document metadata | | PsdDocumentInfo | Contains Psd document metadata | | PublisherDocumentInfo | Contains Publisher document metadata | | SpreadsheetDocumentInfo | Contains Spreadsheet document metadata | | SvgDocumentInfo | Contains Svg document metadata | | TableOfContentsItem | Contains Table of contents item metadata | | TexDocumentInfo | Contains Tex document metadata | | TsvDocumentInfo | Contains Tsv document metadata | | TxtDocumentInfo | Contains Txt document metadata | | VcfDocumentInfo | Contains Vcf document metadata | | VideoDocumentInfo | Contains Video document metadata | | WebDocumentInfo | Contains Web document metadata | | WordProcessingDocumentInfo | Contains Wordprocessing document metadata | | XmlDocumentInfo | Contains Xml document metadata | | XpsDocumentInfo | Contains Xps document metadata | | XslFoDocumentInfo | Contains XslFo document metadata | ### AudioDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/audiodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class AudioDocumentInfo extends DocumentInfo ``` Contains Audio document metadata #### Constructors | Constructor | Description | | --- | --- | | AudioDocumentInfo(FileType format, long size) | | ##### AudioDocumentInfo(FileType format, long size) ``` public AudioDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### CadDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/caddocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class CadDocumentInfo extends DocumentInfo ``` Contains Cad document metadata #### Constructors | Constructor | Description | | --- | --- | | CadDocumentInfo(Image cad, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getWidth() | width | | getHeight() | height | | getLayouts() | layouts in the document | | getLayers() | layers in the document | ##### CadDocumentInfo(Image cad, FileType format, long size) ``` public CadDocumentInfo(Image cad, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cad | com.aspose.cad.Image | | | format | FileType | | | size | long | | ##### getWidth() ``` public int getWidth() ``` width **Returns:** int - width ##### getHeight() ``` public int getHeight() ``` height **Returns:** int - height ##### getLayouts() ``` public List getLayouts() ``` layouts in the document **Returns:** java.util.List - layouts in the document ##### getLayers() ``` public List getLayers() ``` layers in the document **Returns:** java.util.List - layers in the document ### CgmDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/cgmdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class CgmDocumentInfo extends PdfDocumentInfo ``` Contains Cgm document metadata #### Constructors | Constructor | Description | | --- | --- | | CgmDocumentInfo(Document cgm, FileType format, long size) | | ##### CgmDocumentInfo(Document cgm, FileType format, long size) ``` public CgmDocumentInfo(Document cgm, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cgm | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### CsvDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/csvdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.SpreadsheetDocumentInfo ``` public class CsvDocumentInfo extends SpreadsheetDocumentInfo ``` Contains Csv document metadata #### Constructors | Constructor | Description | | --- | --- | | CsvDocumentInfo(Workbook csv, FileType format, long size) | | ##### CsvDocumentInfo(Workbook csv, FileType format, long size) ``` public CsvDocumentInfo(Workbook csv, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | csv | com.aspose.cells.Workbook | | | format | FileType | | | size | long | | ### DiagramDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/diagramdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class DiagramDocumentInfo extends DocumentInfo ``` Contains Diagram document metadata #### Constructors | Constructor | Description | | --- | --- | | DiagramDocumentInfo(Diagram diagram, FileType format, long size) | | ##### DiagramDocumentInfo(Diagram diagram, FileType format, long size) ``` public DiagramDocumentInfo(Diagram diagram, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | diagram | com.aspose.diagram.Diagram | | | format | FileType | | | size | long | | ### DjVuDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/djvudocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.ImageDocumentInfo ``` public class DjVuDocumentInfo extends ImageDocumentInfo ``` Contains DjVu document metadata #### Constructors | Constructor | Description | | --- | --- | | DjVuDocumentInfo(DjvuImage image, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getVerticalResolution() | Gets vertical resolution | | getHorizontalResolution() | Get horizontal resolution | | getOpacity() | Gets image opacity | ##### DjVuDocumentInfo(DjvuImage image, FileType format, long size) ``` public DjVuDocumentInfo(DjvuImage image, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | com.aspose.imaging.fileformats.djvu.DjvuImage | | | format | FileType | | | size | long | | ##### getVerticalResolution() ``` public double getVerticalResolution() ``` Gets vertical resolution **Returns:** double - vertical resolution ##### getHorizontalResolution() ``` public double getHorizontalResolution() ``` Get horizontal resolution **Returns:** double - horizontal resolution ##### getOpacity() ``` public float getOpacity() ``` Gets image opacity **Returns:** float - image opacity ### DocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/documentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.contracts.documentinfo.IDocumentInfo ``` public abstract class DocumentInfo implements IDocumentInfo ``` Provides base implementation for retrieving polymorphic document information #### Methods | Method | Description | | --- | --- | | getPropertyNames() | \{@inheritDoc\} | | getProperty(String propertyName) | \{@inheritDoc\} | | getPagesCount() | \{@inheritDoc\} | | getFormat() | \{@inheritDoc\} | | getSize() | \{@inheritDoc\} | | getCreationDate() | \{@inheritDoc\} | ##### getPropertyNames() ``` public List getPropertyNames() ``` List of all properties which could be get for the current document info **Returns:** java.util.List ##### getProperty(String propertyName) ``` public String getProperty(String propertyName) ``` Get value for a property provided as a key **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | | **Returns:** java.lang.String ##### getPagesCount() ``` public int getPagesCount() ``` Document pages count. **Returns:** int ##### getFormat() ``` public String getFormat() ``` Document format **Returns:** java.lang.String ##### getSize() ``` public long getSize() ``` Document size in bytes **Returns:** long ##### getCreationDate() ``` public Date getCreationDate() ``` Document creation date **Returns:** java.util.Date ### EmailDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/emaildocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class EmailDocumentInfo extends DocumentInfo ``` Contains Email document metadata #### Constructors | Constructor | Description | | --- | --- | | EmailDocumentInfo(MailMessage mail, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | isSigned() | Gets is signed | | isEncrypted() | Gets is encrypted | | isHtml() | Gets is html | | getAttachmentsCount() | Gets attachments count | | getAttachmentsNames() | Gets attachments names | ##### EmailDocumentInfo(MailMessage mail, FileType format, long size) ``` public EmailDocumentInfo(MailMessage mail, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mail | com.aspose.email.MailMessage | | | format | FileType | | | size | long | | ##### isSigned() ``` public boolean isSigned() ``` Gets is signed **Returns:** boolean - true if is signed ##### isEncrypted() ``` public boolean isEncrypted() ``` Gets is encrypted **Returns:** boolean - true if is encrypted ##### isHtml() ``` public boolean isHtml() ``` Gets is html **Returns:** boolean - true if is html ##### getAttachmentsCount() ``` public int getAttachmentsCount() ``` Gets attachments count **Returns:** int - attachments count ##### getAttachmentsNames() ``` public List getAttachmentsNames() ``` Gets attachments names **Returns:** java.util.List - attachments names ### EmptyDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/emptydocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class EmptyDocumentInfo extends DocumentInfo ``` Empty Document Info #### Constructors | Constructor | Description | | --- | --- | | EmptyDocumentInfo(FileType format, long size) | C-tor | ##### EmptyDocumentInfo(FileType format, long size) ``` public EmptyDocumentInfo(FileType format, long size) ``` C-tor **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | Document file format | | size | long | Document size | ### EpsDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/epsdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.ImageDocumentInfo ``` public class EpsDocumentInfo extends ImageDocumentInfo ``` Contains Ps document metadata #### Constructors | Constructor | Description | | --- | --- | | EpsDocumentInfo(Image ps, FileType format, long size) | | ##### EpsDocumentInfo(Image ps, FileType format, long size) ``` public EpsDocumentInfo(Image ps, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ps | com.aspose.imaging.Image | | | format | FileType | | | size | long | | ### EpubDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/epubdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class EpubDocumentInfo extends PdfDocumentInfo ``` Contains Epub document metadata #### Constructors | Constructor | Description | | --- | --- | | EpubDocumentInfo(Document epub, FileType format, long size) | | ##### EpubDocumentInfo(Document epub, FileType format, long size) ``` public EpubDocumentInfo(Document epub, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | epub | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### FontDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/fontdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class FontDocumentInfo extends DocumentInfo ``` Contains Font document metadata #### Constructors | Constructor | Description | | --- | --- | | FontDocumentInfo(FileType format, long size) | | ##### FontDocumentInfo(FileType format, long size) ``` public FontDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### IcoDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/icodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.ImageDocumentInfo ``` public class IcoDocumentInfo extends ImageDocumentInfo ``` Contains Ico document metadata #### Constructors | Constructor | Description | | --- | --- | | IcoDocumentInfo(Image ico, FileType format, long size) | | ##### IcoDocumentInfo(Image ico, FileType format, long size) ``` public IcoDocumentInfo(Image ico, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ico | com.aspose.imaging.Image | | | format | FileType | | | size | long | | ### ImageDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/imagedocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class ImageDocumentInfo extends DocumentInfo ``` Contains Image document metadata #### Constructors | Constructor | Description | | --- | --- | | ImageDocumentInfo(Image image, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getBitsPerPixel() | Gets bits per pixel | | getHeight() | Gets height | | getWidth() | Gets width | ##### ImageDocumentInfo(Image image, FileType format, long size) ``` public ImageDocumentInfo(Image image, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | com.aspose.imaging.Image | | | format | FileType | | | size | long | | ##### getBitsPerPixel() ``` public int getBitsPerPixel() ``` Gets bits per pixel **Returns:** int - bits per pixel ##### getHeight() ``` public int getHeight() ``` Gets height **Returns:** int - height ##### getWidth() ``` public int getWidth() ``` Gets width **Returns:** int - width ### JsonDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/jsondocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class JsonDocumentInfo extends DocumentInfo ``` Contains Json document metadata #### Constructors | Constructor | Description | | --- | --- | | JsonDocumentInfo(FileType format, long size) | | ##### JsonDocumentInfo(FileType format, long size) ``` public JsonDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### MarkdownDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/markdowndocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.WordProcessingDocumentInfo ``` public class MarkdownDocumentInfo extends WordProcessingDocumentInfo ``` Contains Md document metadata #### Constructors | Constructor | Description | | --- | --- | | MarkdownDocumentInfo(Document txt, FileType format, long size) | | ##### MarkdownDocumentInfo(Document txt, FileType format, long size) ``` public MarkdownDocumentInfo(Document txt, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | txt | com.aspose.words.Document | | | format | FileType | | | size | long | | ### NoteDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/notedocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class NoteDocumentInfo extends DocumentInfo ``` Contains Note document metadata #### Constructors | Constructor | Description | | --- | --- | | NoteDocumentInfo(Document note, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getTitle() | Gets title | ##### NoteDocumentInfo(Document note, FileType format, long size) ``` public NoteDocumentInfo(Document note, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | note | com.aspose.note.Document | | | format | FileType | | | size | long | | ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ### OlmDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/olmdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class OlmDocumentInfo extends DocumentInfo ``` Contains olm document metadata #### Constructors | Constructor | Description | | --- | --- | | OlmDocumentInfo(OlmStorage storage, long size) | | #### Methods | Method | Description | | --- | --- | | getFolders() | Folders in the storage | ##### OlmDocumentInfo(OlmStorage storage, long size) ``` public OlmDocumentInfo(OlmStorage storage, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | storage | com.aspose.email.OlmStorage | | | size | long | | ##### getFolders() ``` public List getFolders() ``` Folders in the storage **Returns:** java.util.List ### OlmFolderInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/olmfolderinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public class OlmFolderInfo extends ValueObject ``` Olm Folder info #### Constructors | Constructor | Description | | --- | --- | | OlmFolderInfo(String name, int count) | | #### Methods | Method | Description | | --- | --- | | getName() | Name of the folder | | getItemsCount() | Count of the items in the folder | | toString() | String representation of personal storage folder info String representation of personal storage folder info in format FolderName (ItemsCount) | ##### OlmFolderInfo(String name, int count) ``` public OlmFolderInfo(String name, int count) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | | count | int | | ##### getName() ``` public String getName() ``` Name of the folder **Returns:** java.lang.String ##### getItemsCount() ``` public int getItemsCount() ``` Count of the items in the folder **Returns:** int ##### toString() ``` public String toString() ``` String representation of personal storage folder info String representation of personal storage folder info in format FolderName (ItemsCount) **Returns:** java.lang.String ### PasswordProtectedDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/passwordprotecteddocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PasswordProtectedDocumentInfo extends DocumentInfo ``` Provided document is password protected #### Constructors | Constructor | Description | | --- | --- | | PasswordProtectedDocumentInfo(FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | isPasswordProtected() | Gets is document password protected | ##### PasswordProtectedDocumentInfo(FileType format, long size) ``` public PasswordProtectedDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is document password protected **Returns:** boolean ### PclDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/pcldocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PclDocumentInfo extends DocumentInfo ``` Contains Pcl document metadata #### Constructors | Constructor | Description | | --- | --- | | PclDocumentInfo(Document pcl, FileType format, long size) | | ##### PclDocumentInfo(Document pcl, FileType format, long size) ``` public PclDocumentInfo(Document pcl, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pcl | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### PdfDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/pdfdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PdfDocumentInfo extends DocumentInfo ``` Contains Pdf document metadata #### Constructors | Constructor | Description | | --- | --- | | PdfDocumentInfo(Document pdf, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getVersion() | Gets version | | getTitle() | Gets title | | getAuthor() | Gets author | | isPasswordProtected() | Gets is encrypted | | isLandscape() | Gets is page landscaped | | getHeight() | Gets page height | | getWidth() | Gets page width | | getTableOfContents() | Gets Table of contents | | setTableOfContents(List tableOfContents) | Sets Table of contents | ##### PdfDocumentInfo(Document pdf, FileType format, long size) ``` public PdfDocumentInfo(Document pdf, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pdf | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ##### getVersion() ``` public String getVersion() ``` Gets version **Returns:** java.lang.String - version ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is encrypted **Returns:** boolean - true if encrypted ##### isLandscape() ``` public boolean isLandscape() ``` Gets is page landscaped **Returns:** boolean - true if page is landscaped ##### getHeight() ``` public double getHeight() ``` Gets page height **Returns:** double - page height ##### getWidth() ``` public double getWidth() ``` Gets page width **Returns:** double - page width ##### getTableOfContents() ``` public List getTableOfContents() ``` Gets Table of contents **Returns:** java.util.List - Table of contents ##### setTableOfContents(List tableOfContents) ``` public void setTableOfContents(List tableOfContents) ``` Sets Table of contents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tableOfContents | java.util.List | Table of contents | ### PersonalStorageDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/personalstoragedocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PersonalStorageDocumentInfo extends DocumentInfo ``` Contains personal storage document metadata #### Constructors | Constructor | Description | | --- | --- | | PersonalStorageDocumentInfo(PersonalStorage storage, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | isPasswordProtected() | Is storage password protected | | getRootFolderName() | Root folder name | | getContentCount() | Get count of contents in the root folder | | getFolders() | Folders in the storage | ##### PersonalStorageDocumentInfo(PersonalStorage storage, FileType format, long size) ``` public PersonalStorageDocumentInfo(PersonalStorage storage, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | storage | com.aspose.email.PersonalStorage | | | format | FileType | | | size | long | | ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Is storage password protected **Returns:** boolean ##### getRootFolderName() ``` public String getRootFolderName() ``` Root folder name **Returns:** java.lang.String - Root folder name ##### getContentCount() ``` public int getContentCount() ``` Get count of contents in the root folder **Returns:** int - count of contents in the root folder ##### getFolders() ``` public List getFolders() ``` Folders in the storage **Returns:** java.util.List - Folders in the storage ### PersonalStorageFolderInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/personalstoragefolderinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public class PersonalStorageFolderInfo extends ValueObject ``` Personal Storage Folder info #### Constructors | Constructor | Description | | --- | --- | | PersonalStorageFolderInfo(String name, List items) | | #### Fields | Field | Description | | --- | --- | | items | | #### Methods | Method | Description | | --- | --- | | getName() | Name of the folder | | getItemsCount() | Count of the items in the folder | | getSubFolders() | | | getItems() | | | toString() | String representation of personal storage folder info | ##### PersonalStorageFolderInfo(String name, List items) ``` public PersonalStorageFolderInfo(String name, List items) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | | items | java.util.List | | ##### items ``` public List items ``` ##### getName() ``` public String getName() ``` Name of the folder **Returns:** java.lang.String ##### getItemsCount() ``` public int getItemsCount() ``` Count of the items in the folder **Returns:** int ##### getSubFolders() ``` public List getSubFolders() ``` **Returns:** java.util.List ##### getItems() ``` public List getItems() ``` **Returns:** java.util.List ##### toString() ``` public String toString() ``` String representation of personal storage folder info **Returns:** java.lang.String - String representation of personal storage folder info in format FolderName (ItemsCount) ### PresentationDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/presentationdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PresentationDocumentInfo extends DocumentInfo ``` Contains Presentation document metadata #### Constructors | Constructor | Description | | --- | --- | | PresentationDocumentInfo(Presentation presentation, FileType format, long size, boolean isPasswordProtected) | | #### Methods | Method | Description | | --- | --- | | getTitle() | Gets title | | setTitle(String title) | Sets title | | getAuthor() | Gets author | | setAuthor(String author) | Sets author | | isPasswordProtected() | Gets is the document password protected | ##### PresentationDocumentInfo(Presentation presentation, FileType format, long size, boolean isPasswordProtected) ``` public PresentationDocumentInfo(Presentation presentation, FileType format, long size, boolean isPasswordProtected) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | presentation | com.aspose.slides.Presentation | | | format | FileType | | | size | long | | | isPasswordProtected | boolean | | ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### setTitle(String title) ``` public void setTitle(String title) ``` Sets title **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | title | java.lang.String | title | ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### setAuthor(String author) ``` public void setAuthor(String author) ``` Sets author **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | author | java.lang.String | author | ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is the document password protected **Returns:** boolean - `true` if document is password protected ### ProjectManagementDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/projectmanagementdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class ProjectManagementDocumentInfo extends DocumentInfo ``` Contains ProjectManagement document metadata #### Constructors | Constructor | Description | | --- | --- | | ProjectManagementDocumentInfo(Project project, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getTasksCount() | Gets task count | | getStartDate() | Gets Project start date | | getEndDate() | Gets Project end date | ##### ProjectManagementDocumentInfo(Project project, FileType format, long size) ``` public ProjectManagementDocumentInfo(Project project, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | project | com.aspose.tasks.Project | | | format | FileType | | | size | long | | ##### getTasksCount() ``` public int getTasksCount() ``` Gets task count **Returns:** int - task count ##### getStartDate() ``` public Date getStartDate() ``` Gets Project start date **Returns:** java.util.Date - Project start date ##### getEndDate() ``` public Date getEndDate() ``` Gets Project end date **Returns:** java.util.Date - Project end date ### PsdDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/psddocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PsdDocumentInfo extends DocumentInfo ``` Contains Psd document metadata #### Constructors | Constructor | Description | | --- | --- | | PsdDocumentInfo(Image image, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getBitsPerPixel() | Gets bits per pixel | | getHeight() | Gets height | | getWidth() | Gets width | ##### PsdDocumentInfo(Image image, FileType format, long size) ``` public PsdDocumentInfo(Image image, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | com.aspose.psd.Image | | | format | FileType | | | size | long | | ##### getBitsPerPixel() ``` public int getBitsPerPixel() ``` Gets bits per pixel **Returns:** int - bits per pixel ##### getHeight() ``` public int getHeight() ``` Gets height **Returns:** int - height ##### getWidth() ``` public int getWidth() ``` Gets width **Returns:** int - width ### PsDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/psdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PsDocumentInfo extends DocumentInfo ``` Contains Ps document metadata #### Constructors | Constructor | Description | | --- | --- | | PsDocumentInfo(Document ps, FileType format, long size) | | ##### PsDocumentInfo(Document ps, FileType format, long size) ``` public PsDocumentInfo(Document ps, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ps | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### PublisherDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/publisherdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class PublisherDocumentInfo extends DocumentInfo ``` Contains Publisher document metadata #### Constructors | Constructor | Description | | --- | --- | | PublisherDocumentInfo(FileType format, long size) | | ##### PublisherDocumentInfo(FileType format, long size) ``` public PublisherDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### SpreadsheetDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/spreadsheetdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class SpreadsheetDocumentInfo extends DocumentInfo ``` Contains Spreadsheet document metadata #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getTitle() | Gets title | | getWorksheetsCount() | Gets worksheets count | | getAuthor() | Gets author | | isPasswordProtected() | Gets is document password protected | | getWorksheets() | Worksheets names | | setWorksheets(List worksheets) | | ##### SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) ``` public SpreadsheetDocumentInfo(Workbook spreadsheet, boolean isPasswordProtected, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | spreadsheet | com.aspose.cells.Workbook | | | isPasswordProtected | boolean | | | format | FileType | | | size | long | | ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### getWorksheetsCount() ``` public int getWorksheetsCount() ``` Gets worksheets count **Returns:** int - worksheets count ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is document password protected **Returns:** boolean - true if document is password protected ##### getWorksheets() ``` public List getWorksheets() ``` Worksheets names **Returns:** java.util.List ##### setWorksheets(List worksheets) ``` public void setWorksheets(List worksheets) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheets | java.util.List | | ### SvgDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/svgdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class SvgDocumentInfo extends DocumentInfo ``` Contains Svg document metadata #### Constructors | Constructor | Description | | --- | --- | | SvgDocumentInfo(FileType format, long size) | | ##### SvgDocumentInfo(FileType format, long size) ``` public SvgDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### TableOfContentsItem Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/tableofcontentsitem.md **Inheritance:** java.lang.Object ``` public class TableOfContentsItem ``` Contains Table of contents item metadata #### Constructors | Constructor | Description | | --- | --- | | TableOfContentsItem(String title, int page) | Default constructor | #### Methods | Method | Description | | --- | --- | | getTitle() | Bookmark title | | getPage() | Bookmark page | ##### TableOfContentsItem(String title, int page) ``` public TableOfContentsItem(String title, int page) ``` Default constructor **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | title | java.lang.String | title | | page | int | page | ##### getTitle() ``` public String getTitle() ``` Bookmark title **Returns:** java.lang.String - Bookmark title ##### getPage() ``` public int getPage() ``` Bookmark page **Returns:** int - Bookmark page ### TexDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/texdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class TexDocumentInfo extends DocumentInfo ``` Contains Tex document metadata #### Constructors | Constructor | Description | | --- | --- | | TexDocumentInfo(Document tex, FileType format, long size) | | ##### TexDocumentInfo(Document tex, FileType format, long size) ``` public TexDocumentInfo(Document tex, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tex | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### TsvDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/tsvdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.SpreadsheetDocumentInfo ``` public class TsvDocumentInfo extends SpreadsheetDocumentInfo ``` Contains Tsv document metadata #### Constructors | Constructor | Description | | --- | --- | | TsvDocumentInfo(Workbook tsv, FileType format, long size) | | ##### TsvDocumentInfo(Workbook tsv, FileType format, long size) ``` public TsvDocumentInfo(Workbook tsv, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tsv | com.aspose.cells.Workbook | | | format | FileType | | | size | long | | ### TxtDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/txtdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.WordProcessingDocumentInfo ``` public class TxtDocumentInfo extends WordProcessingDocumentInfo ``` Contains Txt document metadata #### Constructors | Constructor | Description | | --- | --- | | TxtDocumentInfo(Document txt, FileType format, long size) | | ##### TxtDocumentInfo(Document txt, FileType format, long size) ``` public TxtDocumentInfo(Document txt, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | txt | com.aspose.words.Document | | | format | FileType | | | size | long | | ### VcfDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/vcfdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class VcfDocumentInfo extends DocumentInfo ``` Contains Vcf document metadata #### Constructors | Constructor | Description | | --- | --- | | VcfDocumentInfo(List vcf, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getContactsCount() | | ##### VcfDocumentInfo(List vcf, FileType format, long size) ``` public VcfDocumentInfo(List vcf, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | vcf | java.util.List | | | format | FileType | | | size | long | | ##### getContactsCount() ``` public int getContactsCount() ``` **Returns:** int ### VideoDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/videodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class VideoDocumentInfo extends DocumentInfo ``` Contains Video document metadata #### Constructors | Constructor | Description | | --- | --- | | VideoDocumentInfo(FileType format, long size) | | ##### VideoDocumentInfo(FileType format, long size) ``` public VideoDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### WebDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/webdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class WebDocumentInfo extends DocumentInfo ``` Contains Web document metadata #### Constructors | Constructor | Description | | --- | --- | | WebDocumentInfo(System.IO.Stream document, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getEncoding() | | ##### WebDocumentInfo(System.IO.Stream document, FileType format, long size) ``` public WebDocumentInfo(System.IO.Stream document, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | com.aspose.ms.System.IO.Stream | | | format | FileType | | | size | long | | ##### getEncoding() ``` public System.Text.Encoding getEncoding() ``` **Returns:** com.aspose.ms.System.Text.Encoding ### WordProcessingDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/wordprocessingdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class WordProcessingDocumentInfo extends DocumentInfo ``` Contains Wordprocessing document metadata #### Constructors | Constructor | Description | | --- | --- | | WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) | | #### Methods | Method | Description | | --- | --- | | getWords() | Gets words count | | getLines() | Gets lines count | | getTitle() | Gets title | | getAuthor() | Gets author | | isPasswordProtected() | Gets is document password protected | | getTableOfContents() | Table of contents | ##### WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) ``` public WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | wordprocessing | com.aspose.words.Document | | | isPasswordProtected | boolean | | | format | FileType | | | size | long | | ##### getWords() ``` public int getWords() ``` Gets words count **Returns:** int - words count ##### getLines() ``` public int getLines() ``` Gets lines count **Returns:** int - lines count ##### getTitle() ``` public String getTitle() ``` Gets title **Returns:** java.lang.String - title ##### getAuthor() ``` public String getAuthor() ``` Gets author **Returns:** java.lang.String - author ##### isPasswordProtected() ``` public boolean isPasswordProtected() ``` Gets is document password protected **Returns:** boolean - `true` if document is password protected ##### getTableOfContents() ``` public List getTableOfContents() ``` Table of contents **Returns:** java.util.List - Table of contents ### XmlDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/xmldocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo ``` public class XmlDocumentInfo extends DocumentInfo ``` Contains Xml document metadata #### Constructors | Constructor | Description | | --- | --- | | XmlDocumentInfo(FileType format, long size) | | ##### XmlDocumentInfo(FileType format, long size) ``` public XmlDocumentInfo(FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FileType | | | size | long | | ### XpsDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/xpsdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class XpsDocumentInfo extends PdfDocumentInfo ``` Contains Xps document metadata #### Constructors | Constructor | Description | | --- | --- | | XpsDocumentInfo(Document xps, FileType format, long size) | | ##### XpsDocumentInfo(Document xps, FileType format, long size) ``` public XpsDocumentInfo(Document xps, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xps | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### XslFoDocumentInfo Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.documentinfo/xslfodocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo, com.groupdocs.conversion.contracts.documentinfo.PdfDocumentInfo ``` public class XslFoDocumentInfo extends PdfDocumentInfo ``` Contains XslFo document metadata #### Constructors | Constructor | Description | | --- | --- | | XslFoDocumentInfo(Document xslfo, FileType format, long size) | | ##### XslFoDocumentInfo(Document xslfo, FileType format, long size) ``` public XslFoDocumentInfo(Document xslfo, FileType format, long size) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | xslfo | com.aspose.pdf.Document | | | format | FileType | | | size | long | | ### com.groupdocs.conversion.contracts Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts.md The GroupDocs.Conversion.Contracts namespace provides members to instantiate and release output document, manage font substitutions etc. #### Classes | Class | Description | | --- | --- | | ConversionPair | Represents conversion pair | | Enumeration | Generic enumeration class. | | FontSubstitute | Describes substitution for missing font. | | PossibleConversions | Represents a mapping what conversion pairs are supported for specific source file format | | TargetConversion | Represents possible target conversion and a flag is it a primary or secondary | | ValueObject | Abstract value object class. | #### Interfaces | Interface | Description | | --- | --- | | ConvertOptionsProvider | Describes delegate to provide convert options for specific source document. | | ConvertedDocumentStream | Describes delegate to receive converted document stream. | | ConvertedPageStream | Describes delegate to receive converted page stream. | | ConverterSettingsProvider | Supplier for ConverterSettings | | DocumentStreamProvider | Supplier for InputStream | | DocumentStreamsProvider | Supplier for InputStream array | | SaveDocumentStream | Describes delegate for saving converted document into output stream. | | SaveDocumentStreamForFileType | Describes delegate for saving converted document into stream. | | SavePageStream | Describes delegate for saving converted document page into stream. | | SavePageStreamForFileType | Describes delegate for saving converted document page into stream. | ### ConversionPair Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/conversionpair.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public class ConversionPair extends ValueObject ``` Represents conversion pair #### Fields | Field | Description | | --- | --- | | NULL | | #### Methods | Method | Description | | --- | --- | | createPrimary(FileType source, FileType target) | Creates primary conversion pair | | createPrimary(List sources, List targets) | Creates primary conversion pairs | | createPrimary(List sources, List targets, Pair[] excludedPairs) | | | createSecondary(FileType source, FileType target) | Creates secondary conversion pair | | createSecondary(Iterable sources, Iterable targets) | Creates secondary conversion pairs | | getEqualityComponents() | Equality components | | toString() | Conversion pair string representation | | getSource() | Source file format | | getTarget() | Target file format | | isPrimary() | Primary conversion pair or not | ##### NULL ``` public static final ConversionPair NULL ``` ##### createPrimary(FileType source, FileType target) ``` public static ConversionPair createPrimary(FileType source, FileType target) ``` Creates primary conversion pair **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | FileType | source | | target | FileType | target | **Returns:** ConversionPair - ConversionPair ##### createPrimary(List sources, List targets) ``` public static List createPrimary(List sources, List targets) ``` Creates primary conversion pairs **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sources | java.util.List | sources file type | | targets | java.util.List | targets file type | **Returns:** java.util.List - primary conversion pairs ##### createPrimary(List sources, List targets, Pair[] excludedPairs) ``` public static List createPrimary(List sources, List targets, Pair[] excludedPairs) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sources | java.util.List | | | targets | java.util.List | | | excludedPairs | com.groupdocs.conversion.contracts.Pair[] | | **Returns:** java.util.List ##### createSecondary(FileType source, FileType target) ``` public static ConversionPair createSecondary(FileType source, FileType target) ``` Creates secondary conversion pair **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | FileType | source file type | | target | FileType | target file type | **Returns:** ConversionPair - secondary conversion pair ##### createSecondary(Iterable sources, Iterable targets) ``` public static List createSecondary(Iterable sources, Iterable targets) ``` Creates secondary conversion pairs **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sources | java.lang.Iterable | sources file type | | targets | java.lang.Iterable | targets file type | **Returns:** java.util.List - secondary conversion pairs ##### getEqualityComponents() ``` public System.Collections.Generic.IGenericEnumerable getEqualityComponents() ``` Equality components **Returns:** com.aspose.ms.System.Collections.Generic.IGenericEnumerable - equality components ##### toString() ``` public String toString() ``` Conversion pair string representation **Returns:** java.lang.String - string ##### getSource() ``` public FileType getSource() ``` Source file format **Returns:** FileType - source file format ##### getTarget() ``` public FileType getTarget() ``` Target file format **Returns:** FileType - target file format ##### isPrimary() ``` public boolean isPrimary() ``` Primary conversion pair or not **Returns:** boolean - true if primary, else if not ### ConvertedDocumentStream Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/converteddocumentstream.md ### ConvertedPageStream Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/convertedpagestream.md ### ConverterSettingsProvider Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/convertersettingsprovider.md **All Implemented Interfaces:** java.util.function.Supplier ``` public interface ConverterSettingsProvider extends Supplier ``` Supplier for ConverterSettings ### ConvertOptionsProvider Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/convertoptionsprovider.md ### DocumentStreamProvider Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/documentstreamprovider.md **All Implemented Interfaces:** java.util.function.Supplier ``` public interface DocumentStreamProvider extends Supplier ``` Supplier for InputStream ### DocumentStreamsProvider Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/documentstreamsprovider.md **All Implemented Interfaces:** java.util.function.Supplier ``` public interface DocumentStreamsProvider extends Supplier ``` Supplier for InputStream array ### Enumeration Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/enumeration.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Comparable, java.io.Serializable, com.aspose.ms.System.IEquatable ``` public abstract class Enumeration implements Comparable, Serializable, System.IEquatable ``` Generic enumeration class. TKey : #### Methods | Method | Description | | --- | --- | | toString() | Returns a string that represents the current object. | | getAll(Class typeOfT) | Returns all enumeration values. | | equals(Object obj) | Determines whether two object instances are equal. | | equals(Enumeration other) | Determines whether two object instances are equal. | | hashCode() | Serves as the default hash function. | | fromValue(Class typeOfT, String value) | Returns object by key. | | fromDisplayName(Class typeOfT, String displayName) | Returns object by display name. | | compareTo(Object obj) | Compares current object to other. | | op_Equality(Enumeration left, Enumeration right) | Equality operator. | | op_Inequality(Enumeration left, Enumeration right) | Inequality operator. | ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - String representation ##### getAll(Class typeOfT) ``` public static List getAll(Class typeOfT) ``` Returns all enumeration values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | **Returns:** java.util.List - Enumerable of the provided type T : Enumerated object type. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### equals(Enumeration other) ``` public boolean equals(Enumeration other) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Enumeration | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current object. ##### fromValue(Class typeOfT, String value) ``` public static T fromValue(Class typeOfT, String value) ``` Returns object by key. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | value | java.lang.String | The value | **Returns:** T - The object ##### fromDisplayName(Class typeOfT, String displayName) ``` public static T fromDisplayName(Class typeOfT, String displayName) ``` Returns object by display name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | displayName | java.lang.String | The display name | **Returns:** T - The object ##### compareTo(Object obj) ``` public final int compareTo(Object obj) ``` Compares current object to other. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The other object | **Returns:** int - zero if equal ##### op_Equality(Enumeration left, Enumeration right) ``` public static boolean op_Equality(Enumeration left, Enumeration right) ``` Equality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Enumeration | The first object | | right | Enumeration | The second object | **Returns:** boolean - true if objects are equal ##### op_Inequality(Enumeration left, Enumeration right) ``` public static boolean op_Inequality(Enumeration left, Enumeration right) ``` Inequality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Enumeration | The first object | | right | Enumeration | The second object | **Returns:** boolean - true if objects are not equal ### FontSubstitute Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/fontsubstitute.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public class FontSubstitute extends ValueObject implements Serializable ``` Describes substitution for missing font. #### Methods | Method | Description | | --- | --- | | create(String originalFont, String substituteWith) | Instantiate new font substitution pair. | | getOriginalFontName() | The original font name. | | getSubstituteFontName() | The substitute font name. | ##### create(String originalFont, String substituteWith) ``` public static FontSubstitute create(String originalFont, String substituteWith) ``` Instantiate new font substitution pair. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | originalFont | java.lang.String | Font from the source document. | | substituteWith | java.lang.String | Font which will be used to replace originalFont. | **Returns:** FontSubstitute - substitution pair ##### getOriginalFontName() ``` public String getOriginalFontName() ``` The original font name. **Returns:** java.lang.String - the original font name. ##### getSubstituteFontName() ``` public String getSubstituteFontName() ``` The substitute font name. **Returns:** java.lang.String - the substitute font name. ### PossibleConversions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/possibleconversions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public final class PossibleConversions extends ValueObject ``` Represents a mapping what conversion pairs are supported for specific source file format #### Constructors | Constructor | Description | | --- | --- | | PossibleConversions(FileType source) | Creates possible conversion list for specified source file format | #### Fields | Field | Description | | --- | --- | | NULL | | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | Predefined load options which could be used to convert from current type | | getAll() | All target file types and primary/secondary flag | | getTargetConversion(FileType target) | Returns target conversion for specified target file type | | getTargetConversion(String extension) | | | getPrimary() | Primary target file types | | getSecondary() | Secondary target file types | | add(ConversionPair pair) | Add conversion pair | | forTarget(FileType target) | Find conversion pair in current list for target file type | | getSource() | Source file formats | ##### PossibleConversions(FileType source) ``` public PossibleConversions(FileType source) ``` Creates possible conversion list for specified source file format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | source | FileType | source file type | ##### NULL ``` public static final PossibleConversions NULL ``` ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Predefined load options which could be used to convert from current type **Returns:** LoadOptions - load options ##### getAll() ``` public Iterable getAll() ``` All target file types and primary/secondary flag **Returns:** java.lang.Iterable - Iterable of TargetConversion ##### getTargetConversion(FileType target) ``` public TargetConversion getTargetConversion(FileType target) ``` Returns target conversion for specified target file type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | target | FileType | target file type | **Returns:** TargetConversion - conversions ##### getTargetConversion(String extension) ``` public TargetConversion getTargetConversion(String extension) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | | **Returns:** TargetConversion ##### getPrimary() ``` public Iterable getPrimary() ``` Primary target file types **Returns:** java.lang.Iterable - primary target file types ##### getSecondary() ``` public Iterable getSecondary() ``` Secondary target file types **Returns:** java.lang.Iterable - secondary target file types ##### add(ConversionPair pair) ``` public void add(ConversionPair pair) ``` Add conversion pair **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pair | ConversionPair | conversion pair | ##### forTarget(FileType target) ``` public ConversionPair forTarget(FileType target) ``` Find conversion pair in current list for target file type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | target | FileType | target file type | **Returns:** ConversionPair - conversion pair ##### getSource() ``` public FileType getSource() ``` Source file formats **Returns:** FileType - file formats ### SaveDocumentStream Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/savedocumentstream.md ### SaveDocumentStreamForFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/savedocumentstreamforfiletype.md ### SavePageStream Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/savepagestream.md ### SavePageStreamForFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/savepagestreamforfiletype.md ### TargetConversion Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/targetconversion.md **Inheritance:** java.lang.Object ``` public final class TargetConversion ``` Represents possible target conversion and a flag is it a primary or secondary #### Methods | Method | Description | | --- | --- | | getFormat() | Target document format | | isPrimary() | Is the conversion primary | | getConvertOptions() | Predefined convert options which could be used to convert to current type | ##### getFormat() ``` public FileType getFormat() ``` Target document format **Returns:** FileType - Target document format ##### isPrimary() ``` public boolean isPrimary() ``` Is the conversion primary **Returns:** boolean - `true` if primary ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Predefined convert options which could be used to convert to current type **Returns:** ConvertOptions - convert options ### ValueObject Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.contracts/valueobject.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable, java.io.Serializable ``` public abstract class ValueObject implements System.IEquatable, Serializable ``` Abstract value object class. #### Constructors | Constructor | Description | | --- | --- | | ValueObject() | | #### Methods | Method | Description | | --- | --- | | equals(Object obj) | Determines whether two object instances are equal. | | equals(ValueObject other) | Determines whether two object instances are equal. | | hashCode() | Serves as the default hash function. | | op_Equality(ValueObject a, ValueObject b) | Equality operator. | | op_Inequality(ValueObject a, ValueObject b) | Inequality operator. | ##### ValueObject() ``` public ValueObject() ``` ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### equals(ValueObject other) ``` public final boolean equals(ValueObject other) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ValueObject | The object to compare with the current object. | **Returns:** boolean - true if the specified object is equal to the current object; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current object. ##### op_Equality(ValueObject a, ValueObject b) ``` public static boolean op_Equality(ValueObject a, ValueObject b) ``` Equality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | a | ValueObject | The first object | | b | ValueObject | The second object | **Returns:** boolean - true if objects are equal ##### op_Inequality(ValueObject a, ValueObject b) ``` public static boolean op_Inequality(ValueObject a, ValueObject b) ``` Inequality operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | a | ValueObject | The first object | | b | ValueObject | The second object | **Returns:** boolean - true if objects are not equal ### com.groupdocs.conversion.filetypes Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes.md The GroupDocs.Conversion.FileTypes namespace provides classes which represent supported file types. #### Classes | Class | Description | | --- | --- | | AudioFileType | Defines Audio documents Includes the following types: , , , , , , , , , Learn more about audio formats [here][].[here]: https://docs.fileformat.com/audio/ | | CadFileType | Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. | | DatabaseFileType | Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. | | DiagramFileType | Defines Diagram documents. | | EBookFileType | Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. | | EmailFileType | Defines Email file formats that are used by email applications to store their various data including email messages, attachments, folders, address books etc. | | FileType | File type base class | | FontFileType | Defines Font documents. | | ImageFileType | Defines image documents. | | NoteFileType | Defines Note-taking formats. | | PageDescriptionLanguageFileType | Defines Page description documents. | | PdfFileType | Defines Pdf documents. | | PresentationFileType | Defines Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. | | ProjectManagementFileType | Defines Project file formats that are created by Project Management software such as Microsoft Project, Primavera P6 etc. | | PublisherFileType | Defines Publisher documents. | | SpreadsheetFileType | Defines Spreadsheet documents. | | VideoFileType | Defines Video documents Includes the following types: , , , , , , , Learn more about video formats [here][].[here]: https://docs.fileformat.com/video/ | | WebFileType | Defines Web documents. | | WordProcessingFileType | Defines Word Processing files that contain user information in plain text or rich text format. | ### AudioFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/audiofiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public class AudioFileType extends FileType ``` Defines Audio documents Includes the following types: , , , , , , , , , Learn more about audio formats [here][]. [here]: https://docs.fileformat.com/audio/ #### Constructors | Constructor | Description | | --- | --- | | AudioFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Mp3 | Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. | | Aac | AAC (Advanced Audio Coding) refers to digital audio coding standard that represent audio files based on lossy audio compression. | | Aiff | The AIFF (Audio Interchange File Format) is an uncompressed audio file format developed by Apple in 1998, but is based on EA IFF 85 Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/aiff/ | | Flac | FLAC(Free Lossless Audio Codec) is a lossless compression audio coding format developed by Xiph.Org Foundation Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/flac/ | | M4a | The M4A file format is an audio file created by using the AAC (Advanced Audio Coding) which is known as a lossy compression. | | Wma | A file with .wma extension represents an audio file that is saved in the Advanced Systems Format (ASF) format. | | Ac3 | A file with a .ac3 extension is an Audio Codec 3 file, introduced by Dolby Laboratories. | | Ogg | OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. | | Wav | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | ##### AudioFileType() ``` public AudioFileType() ``` Serialization constructor ##### Mp3 ``` public static final AudioFileType Mp3 ``` Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/mp3/ ##### Aac ``` public static final AudioFileType Aac ``` AAC (Advanced Audio Coding) refers to digital audio coding standard that represent audio files based on lossy audio compression. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/aac/ ##### Aiff ``` public static final AudioFileType Aiff ``` The AIFF (Audio Interchange File Format) is an uncompressed audio file format developed by Apple in 1998, but is based on EA IFF 85 Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/aiff/ ##### Flac ``` public static final AudioFileType Flac ``` FLAC(Free Lossless Audio Codec) is a lossless compression audio coding format developed by Xiph.Org Foundation Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/flac/ ##### M4a ``` public static final AudioFileType M4a ``` The M4A file format is an audio file created by using the AAC (Advanced Audio Coding) which is known as a lossy compression. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/m4a/ ##### Wma ``` public static final AudioFileType Wma ``` A file with .wma extension represents an audio file that is saved in the Advanced Systems Format (ASF) format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/wma/ ##### Ac3 ``` public static final AudioFileType Ac3 ``` A file with a .ac3 extension is an Audio Codec 3 file, introduced by Dolby Laboratories. It is an audio format that can contain up to six channels of audio output. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/ac3/ ##### Ogg ``` public static final AudioFileType Ogg ``` OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/ogg/ ##### Wav ``` public static final AudioFileType Wav ``` WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/ogg/ ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ### CadFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/cadfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class CadFileType extends FileType implements Serializable ``` Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: Dgn, Dwf, Dwg, Dwt, Dxf, Ifc, Igs, Plt, Stl. Cf2. Dwfx. Learn more about CAD formats [here][]. [here]: https://wiki.fileformat.com/cad #### Constructors | Constructor | Description | | --- | --- | | CadFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Dxf | DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. | | Dwg | DFiles with DWG extension represent proprietary binary files used for containing 2D and 3D design data. | | Dgn | DGN, Design, files are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System. | | Dwf | Design Web Format (DWF) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files. | | Stl | STL, abbreviation for stereolithrography, is an interchangeable file format that represents 3-dimensional surface geometry. | | Ifc | Files with IFC extension refer to Industry Foundation Classes (IFC) file format that establishes international standards to import and export building objects and their properties. | | Plt | The PLT file format is a vector-based plotter file introduced by Autodesk, Inc. | | Igs | Igs document format | | Dwt | A DWT file is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files. | | Dwfx | DWFX file is a 2D or 3D drawing created with Autodesk CAD software. | | Cf2 | Common File Format File. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### CadFileType() ``` public CadFileType() ``` Serialization constructor ##### Dxf ``` public static final CadFileType Dxf ``` DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dxf ##### Dwg ``` public static final CadFileType Dwg ``` DFiles with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format [here][] [here]: https://wiki.fileformat.com/cad/dwg ##### Dgn ``` public static final CadFileType Dgn ``` DGN, Design, files are drawings created by and supported by CAD applications such as MicroStation and Intergraph Interactive Graphics Design System. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dgn ##### Dwf ``` public static final CadFileType Dwf ``` Design Web Format (DWF) represents 2D/3D drawing in compressed format for viewing, reviewing or printing design files. It contains graphics and text as part of design data and reduce the size of the file due to its compressed format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dwf ##### Stl ``` public static final CadFileType Stl ``` STL, abbreviation for stereolithrography, is an interchangeable file format that represents 3-dimensional surface geometry. The file format finds its usage in several fields such as rapid prototyping, 3D printing and computer-aided manufacturing. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/stl ##### Ifc ``` public static final CadFileType Ifc ``` Files with IFC extension refer to Industry Foundation Classes (IFC) file format that establishes international standards to import and export building objects and their properties. This file format provides interoperability between different software applications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/ifc ##### Plt ``` public static final CadFileType Plt ``` The PLT file format is a vector-based plotter file introduced by Autodesk, Inc. and contains information for a certain CAD file. Plotting details require accuracy and precision in production, and usage of PLT file guarantee this as all images are printed using lines instead of dots. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/plt ##### Igs ``` public static final CadFileType Igs ``` Igs document format ##### Dwt ``` public static final CadFileType Dwt ``` A DWT file is an AutoCAD drawing template file that is used as starter for creating drawings that can be saved as DWG files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dwt ##### Dwfx ``` public static final CadFileType Dwfx ``` DWFX file is a 2D or 3D drawing created with Autodesk CAD software. It is saved in the DWFx format, which is similar to a . DWF file, but is formatted using Microsoft's XML Paper Specification (XPS). ##### Cf2 ``` public static final CadFileType Cf2 ``` Common File Format File. CAD file that contains 3D package designs or other model data; can be processed and cut by a CAD/CAM machine, such as a die cutting device. ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### DatabaseFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/databasefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class DatabaseFileType extends FileType implements Serializable ``` Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: Nsf, Log, Sql, Learn more about CAD formats [here][]. [here]: https://wiki.fileformat.com/cad #### Constructors | Constructor | Description | | --- | --- | | DatabaseFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Nsf | A file with .nsf (Notes Storage Facility) extension is a database file format used by the IBM Notes software, which was previously known as Lotus Notes. | | Log | A file with .log extension contains the list of plain text with timestamp. | | Sql | A file with .sql extension is a Structured Query Language (SQL) file that contains code to work with relational databases. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | ##### DatabaseFileType() ``` public DatabaseFileType() ``` Serialization constructor ##### Nsf ``` public static final DatabaseFileType Nsf ``` A file with .nsf (Notes Storage Facility) extension is a database file format used by the IBM Notes software, which was previously known as Lotus Notes. It defines the schema to store different kind of objects such like emails, appointments, documents, forms and views. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/database/nsf ##### Log ``` public static final DatabaseFileType Log ``` A file with .log extension contains the list of plain text with timestamp. Usually, certain activity detail is logged by the softwares or operating systems to help the developers or users to track what was happening at a certain time period. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/database/log ##### Sql ``` public static final DatabaseFileType Sql ``` A file with .sql extension is a Structured Query Language (SQL) file that contains code to work with relational databases. It is used to write SQL statements for CRUD (Create, Read, Update, and Delete) operations on databases. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/database/sql ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ### DiagramFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/diagramfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class DiagramFileType extends FileType implements Serializable ``` Defines Diagram documents. Includes the following types: Vdw, Vdx, Vsd, Vsdm, Vsdx, Vss, Vssm, Vssx, Vst, Vstm, Vstx, Vsx, Vtx. #### Constructors | Constructor | Description | | --- | --- | | DiagramFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Vsd | VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. | | Vsdx | Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. | | Vss | VSS are stencil files created with Microsoft Visio 2007 and earlier. | | Vst | Files with VST extension are vector image files created with Microsoft Visio and act as template for creating further files. | | Vsx | Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. | | Vtx | A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format. | | Vdw | VDW is the Visio Graphics Service file format that specifies the streams and storages required for rendering a Web drawing. | | Vdx | Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. | | Vssx | Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above. | | Vstx | Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above. | | Vsdm | Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros. | | Vssm | Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros. | | Vstm | Files with VSTM extension are template files created with Microsoft Visio that support macros. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### DiagramFileType() ``` public DiagramFileType() ``` Serialization constructor ##### Vsd ``` public static final DiagramFileType Vsd ``` VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vsd ##### Vsdx ``` public static final DiagramFileType Vsdx ``` Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vsdx ##### Vss ``` public static final DiagramFileType Vss ``` VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vss ##### Vst ``` public static final DiagramFileType Vst ``` Files with VST extension are vector image files created with Microsoft Visio and act as template for creating further files. These template files are in binary file format and contain the default layout and settings that are utilized for creation of new Visio drawings. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vst ##### Vsx ``` public static final DiagramFileType Vsx ``` Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vsx ##### Vtx ``` public static final DiagramFileType Vtx ``` A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vtx ##### Vdw ``` public static final DiagramFileType Vdw ``` VDW is the Visio Graphics Service file format that specifies the streams and storages required for rendering a Web drawing. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/web/vdw ##### Vdx ``` public static final DiagramFileType Vdx ``` Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vdx ##### Vssx ``` public static final DiagramFileType Vssx ``` Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vssx ##### Vstx ``` public static final DiagramFileType Vstx ``` Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vstx ##### Vsdm ``` public static final DiagramFileType Vsdm ``` Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vsdm ##### Vssm ``` public static final DiagramFileType Vssm ``` Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vssm ##### Vstm ``` public static final DiagramFileType Vstm ``` Files with VSTM extension are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/vstm ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static final FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### EBookFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/ebookfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class EBookFileType extends FileType implements Serializable ``` Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs. Includes the following types: Epub, Mobi, Azw3, Learn more about CAD formats [here][]. [here]: https://wiki.fileformat.com/cad #### Constructors | Constructor | Description | | --- | --- | | EBookFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Epub | EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. | | Mobi | The MOBI file format is one of the most widely used ebook file format. | | Azw3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### EBookFileType() ``` public EBookFileType() ``` Serialization constructor ##### Epub ``` public static final EBookFileType Epub ``` EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/ebook/epub ##### Mobi ``` public static final EBookFileType Mobi ``` The MOBI file format is one of the most widely used ebook file format. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as proprietary format for Mobipocket Reader. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/ebook/mobi ##### Azw3 ``` public static final EBookFileType Azw3 ``` AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files and is used on Kindle Fire devices only with backward compatibility for the ancestor file format i.e. MOBI and AZW. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/ebook/azw3/ ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### EmailFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/emailfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class EmailFileType extends FileType implements Serializable ``` Defines Email file formats that are used by email applications to store their various data including email messages, attachments, folders, address books etc. Includes the following file types: Eml, Emlx, Msg, Vcf. Pst. Ost. Olm. Learn more about Email formats [here][]. [here]: https://wiki.fileformat.com/email #### Constructors | Constructor | Description | | --- | --- | | EmailFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Msg | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. | | Eml | EML file format represents email messages saved using Outlook and other relevant applications. | | Emlx | The EMLX file format is implemented and developed by Apple. | | Vcf | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. | | Mbox | MBox file format is a generic term that represents a container for collection of electronic mail messages. | | Pst | Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. | | Ost | OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. | | Olm | A file with .olm extension is a Microsoft Outlook file for Mac Operating System. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | ##### EmailFileType() ``` public EmailFileType() ``` Serialization constructor ##### Msg ``` public static final EmailFileType Msg ``` MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/msg ##### Eml ``` public static final EmailFileType Eml ``` EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/eml ##### Emlx ``` public static final EmailFileType Emlx ``` The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/emlx ##### Vcf ``` public static final EmailFileType Vcf ``` VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/vcf ##### Mbox ``` public static final EmailFileType Mbox ``` MBox file format is a generic term that represents a container for collection of electronic mail messages. The messages are stored inside the container along with their attachments. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/email/mbox/ ##### Pst ``` public static final EmailFileType Pst ``` Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/pst ##### Ost ``` public static final EmailFileType Ost ``` OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/ost ##### Olm ``` public static final EmailFileType Olm ``` A file with .olm extension is a Microsoft Outlook file for Mac Operating System. An OLM file stores email messages, journals, calendar data, and other types of application data. These are similar to PST files used by Outlook on Windows Operating System. However, OLM files created by Outlook for Mac can\\u2019t be opened in Outlook for Windows. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/olm ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ### FileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/filetype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration ``` public class FileType extends Enumeration ``` File type base class #### Constructors | Constructor | Description | | --- | --- | | FileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Unknown | Unknown file type | #### Methods | Method | Description | | --- | --- | | getFileFormat() | The file format | | getExtension() | The file extension | | getFamily() | The file family | | getDescription() | Description of the file type | | fromFilename(String fileName) | Returns FileType for specified fileName | | fromExtension(String fileExtension) | Gets FileType for provided fileExtension | | fromStream(InputStream inputStream) | Returns FileType for provided document stream | | getAllTypes(Class typeOfT) | Returns all enumeration values. | | getAllTypes(Class typeOfT, FileType[] excluded) | | | getAllTypes(Class typeOfT, FileType[][] excluded) | | | toString() | String representation | | getLoadOptions() | Prepared default load options for the source file type | | getConvertOptions() | Prepared default convert options for the file type | | isObsolete() | | | equals(Enumeration other) | | | equals(Object obj) | | | hashCode() | | ##### FileType() ``` public FileType() ``` Serialization constructor ##### Unknown ``` public static final FileType Unknown ``` Unknown file type ##### getFileFormat() ``` public final String getFileFormat() ``` The file format **Returns:** java.lang.String ##### getExtension() ``` public final String getExtension() ``` The file extension **Returns:** java.lang.String ##### getFamily() ``` public String getFamily() ``` The file family **Returns:** java.lang.String - The file family ##### getDescription() ``` public final String getDescription() ``` Description of the file type **Returns:** java.lang.String - description ##### fromFilename(String fileName) ``` public static FileType fromFilename(String fileName) ``` Returns FileType for specified fileName **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileName | java.lang.String | The file name | **Returns:** FileType - The file type of specified file name ##### fromExtension(String fileExtension) ``` public static FileType fromExtension(String fileExtension) ``` Gets FileType for provided fileExtension **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileExtension | java.lang.String | file extension | **Returns:** FileType - file type ##### fromStream(InputStream inputStream) ``` public static FileType fromStream(InputStream inputStream) ``` Returns FileType for provided document stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputStream | java.io.InputStream | TStream which will be probed | **Returns:** FileType - The file type of provided stream ##### getAllTypes(Class typeOfT) ``` public static List getAllTypes(Class typeOfT) ``` Returns all enumeration values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | **Returns:** java.util.List - Enumerable of file types T : Enumerated object type. ##### getAllTypes(Class typeOfT, FileType[] excluded) ``` public static List getAllTypes(Class typeOfT, FileType[] excluded) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | excluded | FileType\[\] | | **Returns:** java.util.List ##### getAllTypes(Class typeOfT, FileType[][] excluded) ``` public static List getAllTypes(Class typeOfT, FileType[][] excluded) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | typeOfT | java.lang.Class | | | excluded | FileType\[\] | | **Returns:** java.util.List ##### toString() ``` public String toString() ``` String representation **Returns:** java.lang.String - String representation of file type ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions - NULL if there is not file type specific load options ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions - NULL if the conversion to the type not supported ##### isObsolete() ``` public boolean isObsolete() ``` **Returns:** boolean ##### equals(Enumeration other) ``` public boolean equals(Enumeration other) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Enumeration | | **Returns:** boolean ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether two object instances are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int ### FontFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/fontfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class FontFileType extends FileType implements Serializable ``` Defines Font documents. Includes the following types: Ttf, Eot, Otf, Cff, Type1, Woff, Woff2, Learn more about Font formats [here][]. [here]: https://wiki.fileformat.com/font #### Constructors | Constructor | Description | | --- | --- | | FontFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Ttf | A file with .ttf extension represents font files based on the TrueType specifications font technology. | | Eot | A file with .eot extension is an OpenType font that is embedded in a document. | | Otf | A file with .otf extension refers to OpenType font format. | | Cff | A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. | | Type1 | Type 1 fonts is a deprecated Adobe technology which was widely used in the desktop based publishing software and printers that could use PostScript. | | Woff | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). | | Woff2 | A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### FontFileType() ``` public FontFileType() ``` Serialization constructor ##### Ttf ``` public static final FontFileType Ttf ``` A file with .ttf extension represents font files based on the TrueType specifications font technology. It was initially designed and launched by Apple Computer, Inc for Mac OS and was later adopted by Microsoft for Windows OS. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/ttf/ ##### Eot ``` public static final FontFileType Eot ``` A file with .eot extension is an OpenType font that is embedded in a document. These are mostly used in web files such as a Web page. It was created by Microsoft and is supported by Microsoft Products including PowerPoint presentation .pps file. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/eot/ ##### Otf ``` public static final FontFileType Otf ``` A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Developed by Microsoft and Adobe, OTF combines the features of PostScript and TrueType font formats. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/otf/ ##### Cff ``` public static final FontFileType Cff ``` A file with .cff extension is a Compact Font Format and is also known as a PostScript Type 1, or CIDFont. CFF acts as a container to store multiple fonts together in a single unit known as a FontSet. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/cff/ ##### Type1 ``` public static final FontFileType Type1 ``` Type 1 fonts is a deprecated Adobe technology which was widely used in the desktop based publishing software and printers that could use PostScript. Although Type 1 fonts are not supported in many modern platforms, web browsers and mobile operating systems, but these are still supported in some of the operating systems. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/type1/ ##### Woff ``` public static final FontFileType Woff ``` A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/woff/ ##### Woff2 ``` public static final FontFileType Woff2 ``` A file with .woff extension is a web font file based on the Web Open Font Format (WOFF). It has format-specific compressed container based on either TrueType (.TTF) or OpenType (.OTT) font types. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/woff/ ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### ImageFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/imagefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class ImageFileType extends FileType implements Serializable ``` Defines image documents. Includes the following file types: Ai, Bmp, Cdr, Cmx, Dcm, Dib, DjVu, Dng, Emf, Emz, Gif, Ico, J2c, J2k, Jls, Jp2, Jpc, Jpeg, Jpf, Jpg, Jpm, Jpx, Odg, Png, Psd, Svg, Svgz, Tga, Tif, Tiff, Webp, Wmf, Wmz. Learn more about Image formats [here][]. [here]: https://wiki.fileformat.com/image #### Constructors | Constructor | Description | | --- | --- | | ImageFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Tiff | TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | Tif | TTIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | Jpg | A JPG is a type of image format that is saved using the method of lossy compression. | | Jpeg | A JPEG is a type of image format that is saved using the method of lossy compression. | | Png | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. | | Gif | A GIF or Graphical Interchange Format is a type of highly compressed image. | | Bmp | BMP represent Bitmap Image files that are used to store bitmap digital images. | | Ico | Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. | | Psd | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. | | Wmf | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. | | Emf | Enhanced metafile format (EMF) stores graphical images device-independently. | | Dcm | Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. | | Dicom | Files with .DICOM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. | | Webp | WWebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. | | Dng | DNG is a digital camera image format used for the storage of raw files. | | Jp2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. | | Odg | The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. | | J2c | J2c document format | | J2k | J2K file is an image that is compressed using the wavelet compression instead of DCT compression. | | Jpx | Jpx document format | | Jpf | Jpf document format | | Jpm | Jpm document format | | Cdr | A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. | | Cmx | Files with CMX extension are Corel Exchange image file format that is used as presentation by CorelSuite applications. | | Dib | DDIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. | | Jpc | Jpc document format | | Jls | Jls document format | | DjVu | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. | | Otg | An OTG file is a drawing template that is created using the OpenDocument standard that follows the OASIS Office Applications 1.0 specification. | | Ai | AI, Adobe Illustrator Artwork, represents single-page vector-based drawings in either the EPS or PDF formats. | | Emz | n EMZ file is actually a compressed version of a Microsoft EMF file. | | Wmz | An WMZ file is actually a compressed version of a Microsoft WMF file. | | Svgz | An SVGZ file is actually a compressed version of a SVG file. | | Tga | A file with .tga extension is a raster graphic format and was created by Truevision Inc. | | Psb | Adobe photoshop saves files in two formats. | | Fodg | FODG is a uncompressed XML-format file used for storing OpenDocument text data. | | Heic | | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | isVectorImage(FileType fileType) | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### ImageFileType() ``` public ImageFileType() ``` Serialization constructor ##### Tiff ``` public static final ImageFileType Tiff ``` TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/tiff ##### Tif ``` public static final ImageFileType Tif ``` TTIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/tiff ##### Jpg ``` public static final ImageFileType Jpg ``` A JPG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg ##### Jpeg ``` public static final ImageFileType Jpeg ``` A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg ##### Png ``` public static final ImageFileType Png ``` PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/png ##### Gif ``` public static final ImageFileType Gif ``` A GIF or Graphical Interchange Format is a type of highly compressed image. For each image GIF typically allow up to 8 bits per pixel and up to 256 colours are allowed across the image. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/gif ##### Bmp ``` public static final ImageFileType Bmp ``` BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/bmp ##### Ico ``` public static final ImageFileType Ico ``` Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/ico ##### Psd ``` public static final ImageFileType Psd ``` PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/psd ##### Wmf ``` public static final ImageFileType Wmf ``` Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/wmf ##### Emf ``` public static final ImageFileType Emf ``` Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/emf ##### Dcm ``` public static final ImageFileType Dcm ``` Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/dcm ##### Dicom ``` public static final ImageFileType Dicom ``` Files with .DICOM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/dicom ##### Webp ``` public static final ImageFileType Webp ``` WWebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/webp ##### Dng ``` public static final ImageFileType Dng ``` DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/dng ##### Jp2 ``` public static final ImageFileType Jp2 ``` JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. /// Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jp2 ##### Odg ``` public static final ImageFileType Odg ``` The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/odg ##### J2c ``` public static final ImageFileType J2c ``` J2c document format ##### J2k ``` public static final ImageFileType J2k ``` J2K file is an image that is compressed using the wavelet compression instead of DCT compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/j2k ##### Jpx ``` public static final ImageFileType Jpx ``` Jpx document format ##### Jpf ``` public static final ImageFileType Jpf ``` Jpf document format ##### Jpm ``` public static final ImageFileType Jpm ``` Jpm document format ##### Cdr ``` public static final ImageFileType Cdr ``` A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/cdr ##### Cmx ``` public static final ImageFileType Cmx ``` Files with CMX extension are Corel Exchange image file format that is used as presentation by CorelSuite applications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/cmx ##### Dib ``` public static final ImageFileType Dib ``` DDIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/dib ##### Jpc ``` public static final ImageFileType Jpc ``` Jpc document format ##### Jls ``` public static final ImageFileType Jls ``` Jls document format ##### DjVu ``` public static final ImageFileType DjVu ``` DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/djvu ##### Otg ``` public static final ImageFileType Otg ``` An OTG file is a drawing template that is created using the OpenDocument standard that follows the OASIS Office Applications 1.0 specification. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/otg ##### Ai ``` public static final ImageFileType Ai ``` AI, Adobe Illustrator Artwork, represents single-page vector-based drawings in either the EPS or PDF formats. ##### Emz ``` public static final ImageFileType Emz ``` n EMZ file is actually a compressed version of a Microsoft EMF file. This allows for easier distribution of the file online. When an EMF file is compressed using the .GZIP compression algorithm, it is then given the .emz file extension. ##### Wmz ``` public static final ImageFileType Wmz ``` An WMZ file is actually a compressed version of a Microsoft WMF file. This allows for easier distribution of the file online. When an EWMFMF file is compressed using the .GZIP compression algorithm, it is then given the .wmz file extension. ##### Svgz ``` public static final ImageFileType Svgz ``` An SVGZ file is actually a compressed version of a SVG file. This allows for easier distribution of the file online. When an SVG file is compressed using the .GZIP compression algorithm, it is then given the .svgz file extension. ##### Tga ``` public static final ImageFileType Tga ``` A file with .tga extension is a raster graphic format and was created by Truevision Inc. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/tga ##### Psb ``` public static final ImageFileType Psb ``` Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as \\u201cPhotoshop Big\\u201d. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/psb ##### Fodg ``` public static final ImageFileType Fodg ``` FODG is a uncompressed XML-format file used for storing OpenDocument text data. FODG extension is associated with open source office productivity suites Libre Office and OpenOffice.org. ##### Heic ``` public static final ImageFileType Heic ``` ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### isVectorImage(FileType fileType) ``` public static boolean isVectorImage(FileType fileType) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | | **Returns:** boolean ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### NoteFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/notefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public final class NoteFileType extends FileType ``` Defines Note-taking formats. Includes the following file types: One. Learn more about Note-taking formats [here][]. [here]: https://wiki.fileformat.com/note-taking #### Constructors | Constructor | Description | | --- | --- | | NoteFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | One | File represented by .ONE extension are created by Microsoft OneNote application. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | ##### NoteFileType() ``` public NoteFileType() ``` Serialization constructor ##### One ``` public static final NoteFileType One ``` File represented by .ONE extension are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/note-taking/one ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ### PageDescriptionLanguageFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PageDescriptionLanguageFileType extends FileType implements Serializable ``` Defines Page description documents. Includes the following types: Svg, Eps, Cgm, Xps, Tex, Ps, Pcl, Oxps, #### Constructors | Constructor | Description | | --- | --- | | PageDescriptionLanguageFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Svg | An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. | | Eps | Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. | | Cgm | Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. | | Xps | An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. | | Tex | TeX is a language that comprises of programming as well as mark-up features, used to typeset documents. | | Ps | PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. | | Pcl | PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). | | Oxps | The file format OXPS is known as Open XML Paper Specification. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### PageDescriptionLanguageFileType() ``` public PageDescriptionLanguageFileType() ``` Serialization constructor ##### Svg ``` public static final PageDescriptionLanguageFileType Svg ``` An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/page-description-language/svg ##### Eps ``` public static final PageDescriptionLanguageFileType Eps ``` Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/page-description-language/eps ##### Cgm ``` public static final PageDescriptionLanguageFileType Cgm ``` Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. CGM uses object-oriented approach and many function provisions for image production. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/page-description-language/cgm ##### Xps ``` public static final PageDescriptionLanguageFileType Xps ``` An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. This format was developed by Microsoft as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/page-description-language/xps ##### Tex ``` public static final PageDescriptionLanguageFileType Tex ``` TeX is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/page-description-language/tex ##### Ps ``` public static final PageDescriptionLanguageFileType Ps ``` PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. The main focus of PostScript (PS) is to facilitate the two-dimensional graphic design. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/page-description-language/ps ##### Pcl ``` public static final PageDescriptionLanguageFileType Pcl ``` PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/page-description-language/pcl ##### Oxps ``` public static final PageDescriptionLanguageFileType Oxps ``` The file format OXPS is known as Open XML Paper Specification. It\\u2019s a page description language and document format. Microsoft is the developer of this format. OXPS file format is very much familiar to these PDF files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/page-description-language/oxps ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### PdfFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/pdffiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfFileType extends FileType implements Serializable ``` Defines Pdf documents. Includes the following file types: Pdf, #### Constructors | Constructor | Description | | --- | --- | | PdfFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Pdf | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### PdfFileType() ``` public PdfFileType() ``` Serialization constructor ##### Pdf ``` public static final PdfFileType Pdf ``` Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/view/pdf ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static final FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### PresentationFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/presentationfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PresentationFileType extends FileType implements Serializable ``` Defines Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. Includes the following file types: Odp, Otp, Pot, Potm, Potx, Pps, Ppsm, Ppsx, Ppt, Pptm, Pptx. Learn more about Presentation formats [here][]. [here]: https://wiki.fileformat.com/presentation #### Constructors | Constructor | Description | | --- | --- | | PresentationFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Ppt | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. | | Pps | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. | | Pptx | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. | | Ppsx | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. | | Odp | Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. | | Otp | Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. | | Potx | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. | | Pot | Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. | | Potm | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. | | Pptm | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. | | Ppsm | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. | | Fodp | Files with FODP extension represent OpenDocument Flat XML Presentation. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### PresentationFileType() ``` public PresentationFileType() ``` Serialization constructor ##### Ppt ``` public static final PresentationFileType Ppt ``` A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppt ##### Pps ``` public static final PresentationFileType Pps ``` PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pps ##### Pptx ``` public static final PresentationFileType Pptx ``` Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pptx ##### Ppsx ``` public static final PresentationFileType Ppsx ``` PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppsx ##### Odp ``` public static final PresentationFileType Odp ``` Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/odp ##### Otp ``` public static final PresentationFileType Otp ``` Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/otp ##### Potx ``` public static final PresentationFileType Potx ``` Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/potx ##### Pot ``` public static final PresentationFileType Pot ``` Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pot ##### Potm ``` public static final PresentationFileType Potm ``` Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/potm ##### Pptm ``` public static final PresentationFileType Pptm ``` Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pptm ##### Ppsm ``` public static final PresentationFileType Ppsm ``` Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppsm ##### Fodp ``` public static final PresentationFileType Fodp ``` Files with FODP extension represent OpenDocument Flat XML Presentation. Presentation file saved in the OpenDocument format, but saved using a flat XML format instead of the .ZIP container used by standard .ODP files ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### ProjectManagementFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/projectmanagementfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public final class ProjectManagementFileType extends FileType ``` Defines Project file formats that are created by Project Management software such as Microsoft Project, Primavera P6 etc. A project file is a collection of tasks, resources, and their scheduling to get a measurable output in the form or a product or a service. Project management documents. Includes the following file types: Mpp, Mpt, Mpx. Learn more about Project Management formats [here][]. [here]: https://wiki.fileformat.com/project-management #### Constructors | Constructor | Description | | --- | --- | | ProjectManagementFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Mpt | Microsoft Project template files, contain basic information and structure along with document settings for creating .MPP files. | | Mpp | MPP is Microsoft Project data file that stores information related to project management in an integrated manner. | | Mpx | Microsoft Exchange File Format, is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating. | | Xer | The XER file format is a proprietary project file format used by Primavera P6 project planning and management application. | #### Methods | Method | Description | | --- | --- | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### ProjectManagementFileType() ``` public ProjectManagementFileType() ``` Serialization constructor ##### Mpt ``` public static final ProjectManagementFileType Mpt ``` Microsoft Project template files, contain basic information and structure along with document settings for creating .MPP files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/project-management/mpt ##### Mpp ``` public static final ProjectManagementFileType Mpp ``` MPP is Microsoft Project data file that stores information related to project management in an integrated manner. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/project-management/mpp ##### Mpx ``` public static final ProjectManagementFileType Mpx ``` Microsoft Exchange File Format, is an ASCII file format for transferring of project information between Microsoft Project (MSP) and other applications that support the MPX file format such as Primavera Project Planner, Sciforma and Timerline Precision Estimating. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/project-management/mpx ##### Xer ``` public static final ProjectManagementFileType Xer ``` The XER file format is a proprietary project file format used by Primavera P6 project planning and management application. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/project-management/xer ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### PublisherFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/publisherfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class PublisherFileType extends FileType implements Serializable ``` Defines Publisher documents. Includes the following types: Pub, Learn more about Font formats [here][]. [here]: https://wiki.fileformat.com/publisher #### Constructors | Constructor | Description | | --- | --- | | PublisherFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Pub | A PUB file is a Microsoft Publisher document file format. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### PublisherFileType() ``` public PublisherFileType() ``` Serialization constructor ##### Pub ``` public static final PublisherFileType Pub ``` A PUB file is a Microsoft Publisher document file format. It is used to create several types of design layout documents such as newsletters, flyers, brochures, postcards, etc. PUB files can contain text, raster and vector images. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/publisher/pub/ ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### SpreadsheetFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/spreadsheetfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class SpreadsheetFileType extends FileType implements Serializable ``` Defines Spreadsheet documents. Includes the following file types: Csv, Fods, Ods, Ots, Tsv, Xlam, Xls, Xlsb, Xlsm, Xlsx, Xlt, Xltm, Xltx. Learn more about Spreadsheet formats [here][]. [here]: https://wiki.fileformat.com/spreadsheet #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Xls | XLS represents Excel Binary File Format. | | Xlsx | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. | | Xlsm | XLSM is a type of Spreadsheet files that support macros. | | Xlsb | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. | | Ods | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. | | Ots | A file with .ots extension is an OpenDocument Spreadsheet Template file that is created with the Calc application software included in Apache OpenOffice. | | Xltx | XLTX file represents Microsoft Excel Template that are based on the Office OpenXML file format specifications. | | Xlt | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. | | Xltm | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. | | Tsv | A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. | | Xlam | XLAM is an Macro-Enabled Add-In file that is used to add new functions to spreadsheets. | | Csv | Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. | | Fods | A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. | | Dif | DIF stands for Data Interchange Format that is used to import/export spreadsheets data between different applications. | | Sxc | The file format SXC(Sun XML Calc) belongs to an office suite called OpenOffice.org. | | Numbers | The files with .numbers extension are classified as spreadsheet file type, that\\u2019s why they are similar to the .xlsx files; but the Numbers files are created by using Apple iWork Numbers spreadsheet software. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### SpreadsheetFileType() ``` public SpreadsheetFileType() ``` Serialization constructor ##### Xls ``` public static final SpreadsheetFileType Xls ``` XLS represents Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/xls ##### Xlsx ``` public static final SpreadsheetFileType Xlsx ``` XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/xlsx ##### Xlsm ``` public static final SpreadsheetFileType Xlsm ``` XLSM is a type of Spreadsheet files that support macros. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/xlsm ##### Xlsb ``` public static final SpreadsheetFileType Xlsb ``` XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/xlsb ##### Ods ``` public static final SpreadsheetFileType Ods ``` Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/ods ##### Ots ``` public static final SpreadsheetFileType Ots ``` A file with .ots extension is an OpenDocument Spreadsheet Template file that is created with the Calc application software included in Apache OpenOffice. Calc application software is the similar to Excel available in Microsoft Office. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/ots ##### Xltx ``` public static final SpreadsheetFileType Xltx ``` XLTX file represents Microsoft Excel Template that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/xltx ##### Xlt ``` public static final SpreadsheetFileType Xlt ``` Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/xlt ##### Xltm ``` public static final SpreadsheetFileType Xltm ``` The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/xltm ##### Tsv ``` public static final SpreadsheetFileType Tsv ``` A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/tsv ##### Xlam ``` public static final SpreadsheetFileType Xlam ``` XLAM is an Macro-Enabled Add-In file that is used to add new functions to spreadsheets. An Add-In is a supplemental program that runs additional code and provides additional functionality for spreadsheets. Learn more about this file format [here][] [here]: https://docs.fileformat.com/spreadsheet/xlam/ ##### Csv ``` public static final SpreadsheetFileType Csv ``` Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/csv ##### Fods ``` public static final SpreadsheetFileType Fods ``` A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. The format is specified as part of ODF 1.2 specifications published and maintained by OASIS. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/fods ##### Dif ``` public static final SpreadsheetFileType Dif ``` DIF stands for Data Interchange Format that is used to import/export spreadsheets data between different applications. These include Microsoft Excel, OpenOffice Calc, StarCalc and many others. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/dif ##### Sxc ``` public static final SpreadsheetFileType Sxc ``` The file format SXC(Sun XML Calc) belongs to an office suite called OpenOffice.org. This format generally deals with the spreadsheet needs of users as it is an XML based spreadsheet file format. SXC format supports formulas, functions, macros and charts along with DataPilot. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/sxc ##### Numbers ``` public static final SpreadsheetFileType Numbers ``` The files with .numbers extension are classified as spreadsheet file type, that\\u2019s why they are similar to the .xlsx files; but the Numbers files are created by using Apple iWork Numbers spreadsheet software. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/numbers ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static final FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static final FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### VideoFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/videofiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType ``` public class VideoFileType extends FileType ``` Defines Video documents Includes the following types: , , , , , , , Learn more about video formats [here][]. [here]: https://docs.fileformat.com/video/ #### Constructors | Constructor | Description | | --- | --- | | VideoFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Mp4 | MP4(short for MPEG-4 Part 14) is a file format based on ISO/IEC 14496-12:2004 that is based on QuickTime File Format but formally specifies support for Initial Object Descriptors (IOD) and other MPEG features. | | Avi | The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. | | Flv | FLV (Flash Video) is a container file format with the .flv extension. | | Mkv | MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. | | Mov | MOV or QuickTime file format is a multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. | | Webm | A file with a .webm extension is a video file based on the open, royalty-free WebM file format. | | Wmv | Windows Media Video is the compressed video format developed by Microsoft. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | ##### VideoFileType() ``` public VideoFileType() ``` Serialization constructor ##### Mp4 ``` public static final VideoFileType Mp4 ``` MP4(short for MPEG-4 Part 14) is a file format based on ISO/IEC 14496-12:2004 that is based on QuickTime File Format but formally specifies support for Initial Object Descriptors (IOD) and other MPEG features. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/mp4/ ##### Avi ``` public static final VideoFileType Avi ``` The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. It holds the audio and video data created and compressed using several codecs (Coders/Decoders) such as XVid and DivX. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/avi/ ##### Flv ``` public static final VideoFileType Flv ``` FLV (Flash Video) is a container file format with the .flv extension. FLV is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/flv/ ##### Mkv ``` public static final VideoFileType Mkv ``` MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. An MKV file is the Matroska multimedia container format used for video. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/mkv/ ##### Mov ``` public static final VideoFileType Mov ``` MOV or QuickTime file format is a multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text, etc. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/mov/ ##### Webm ``` public static final VideoFileType Webm ``` A file with a .webm extension is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/webm// ##### Wmv ``` public static final VideoFileType Wmv ``` Windows Media Video is the compressed video format developed by Microsoft. After the standardization by the Society of Motion Picture and Television Engineers (SMPTE), WMV is now considered to be an open standard format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/wmv/ ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ### WebFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/webfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class WebFileType extends FileType implements Serializable ``` Defines Web documents. Includes the following types: Xml, Json, Html, Htm, Mht, Mhtml, Chm, Learn more about web formats [here][]. [here]: https://wiki.fileformat.com/web #### Constructors | Constructor | Description | | --- | --- | | WebFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Xml | XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. | | Json | JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. | | Html | HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. | | Htm | HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers. | | Mht | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. | | Mhtml | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. | | Chm | The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedTargetTypes() | | ##### WebFileType() ``` public WebFileType() ``` Serialization constructor ##### Xml ``` public static final WebFileType Xml ``` XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/web/xml ##### Json ``` public static final WebFileType Json ``` JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/json ##### Html ``` public static final WebFileType Html ``` HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/web/html ##### Htm ``` public static final WebFileType Htm ``` HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/web/html ##### Mht ``` public static final WebFileType Mht ``` Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/web/mhtml ##### Mhtml ``` public static final WebFileType Mhtml ``` Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/web/mhtml ##### Chm ``` public static final WebFileType Chm ``` The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. It provides an index for quick accessing the topics and navigation to different parts of the help document. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/chm ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### WordProcessingFileType Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.filetypes/wordprocessingfiletype.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration, com.groupdocs.conversion.filetypes.FileType **All Implemented Interfaces:** java.io.Serializable ``` public final class WordProcessingFileType extends FileType implements Serializable ``` Defines Word Processing files that contain user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Includes the following file types: Doc, Docm, Docx, Dot, Dotm, Dotx, Odt, Ott, Rtf, Txt, Md, Learn more about Word Processing formats [here][]. [here]: https://wiki.fileformat.com/word-processing #### Constructors | Constructor | Description | | --- | --- | | WordProcessingFileType() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Doc | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. | | Docm | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | Docx | DOCX is a well-known format for Microsoft Word documents. | | Dot | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | Dotm | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. | | Dotx | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | Rtf | Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. | | Odt | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | Ott | Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. | | Txt | A file with .TXT extension represents a text document that contains plain text in the form of lines. | | Md | Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. | | Ml | Ml file | #### Methods | Method | Description | | --- | --- | | getLoadOptions() | | | getConvertOptions() | | | getExcludedSourceTypes() | | | getExcludedTargetTypes() | | ##### WordProcessingFileType() ``` public WordProcessingFileType() ``` Serialization constructor ##### Doc ``` public static final WordProcessingFileType Doc ``` Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/doc ##### Docm ``` public static final WordProcessingFileType Docm ``` DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/docm ##### Docx ``` public static final WordProcessingFileType Docx ``` DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/docx ##### Dot ``` public static final WordProcessingFileType Dot ``` Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dot ##### Dotm ``` public static final WordProcessingFileType Dotm ``` A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dotm ##### Dotx ``` public static final WordProcessingFileType Dotx ``` Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dotx ##### Rtf ``` public static final WordProcessingFileType Rtf ``` Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/rtf ##### Odt ``` public static final WordProcessingFileType Odt ``` ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/odt ##### Ott ``` public static final WordProcessingFileType Ott ``` Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/ott ##### Txt ``` public static final WordProcessingFileType Txt ``` A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/txt ##### Md ``` public static final WordProcessingFileType Md ``` Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. MD files are saved in plain text format that uses Markdown language which also includes inline text symbols, defining how a text can be formatted such as indentations, table formatting, fonts, and headers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/md ##### Ml ``` public static final WordProcessingFileType Ml ``` Ml file ##### getLoadOptions() ``` public LoadOptions getLoadOptions() ``` Prepared default load options for the source file type **Returns:** LoadOptions ##### getConvertOptions() ``` public ConvertOptions getConvertOptions() ``` Prepared default convert options for the file type **Returns:** ConvertOptions ##### getExcludedSourceTypes() ``` public static FileType[] getExcludedSourceTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ##### getExcludedTargetTypes() ``` public static FileType[] getExcludedTargetTypes() ``` **Returns:** com.groupdocs.conversion.filetypes.FileType[] ### com.groupdocs.conversion.licensing Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.licensing.md The GroupDocs.Conversion.Legacy.Licensing namespace provides classes for applying of the license #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. | | Metered | Provides methods for applying [Metered][] license.[Metered]: https://purchase.groupdocs.com/faqs/licensing/metered | ### License Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.licensing/license.md **Inheritance:** java.lang.Object ``` public final class License ``` Provides methods to license the component. Learn more about licensing [here][] . **Learn more**More about licensing: [GroupDocs Licensing FAQ][here]More about GroupDocs.Conversion licensing: [Evaluation Limitations and Licensing][] [here]: https://purchase.groupdocs.com/faqs/licensing [Evaluation Limitations and Licensing]: https://docs.groupdocs.com/display/conversionnet/Evaluation+Limitations+and+Licensing+of+GroupDocs.Conversion #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | isLicensed() | Returns true if a valid license has been applied; false if the component is running in evaluation mode. | | setLicense(InputStream licenseStream) | | | setLicense(System.IO.Stream licenseStream) | Licenses the component. | | setLicense(String licensePath) | Licenses the component. | | resetLicense() | | ##### License() ``` public License() ``` ##### isLicensed() ``` public boolean isLicensed() ``` Returns true if a valid license has been applied; false if the component is running in evaluation mode. **Returns:** boolean ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | | ##### setLicense(System.IO.Stream licenseStream) ``` public final void setLicense(System.IO.Stream licenseStream) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing Stream of the license file. > > using (FileStream licenseStream = new FileStream("LicenseFile.lic", FileMode.Open)) > { > GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License(); > lic.SetLicense(licenseStream); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | com.aspose.ms.System.IO.Stream | The license stream. | ##### setLicense(String licensePath) ``` public void setLicense(String licensePath) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing a path to the license file. > > string licensePath = "GroupDocs.Conversion.lic"; > GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License(); > lic.SetLicense(licensePath); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license path. | ##### resetLicense() ``` public static void resetLicense() ``` ### Metered Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.licensing/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods for applying [Metered][] license. **Learn more**More about Metered licensing: [Metered Licensing FAQ][Metered]More about GroupDocs.Conversion licensing: [Evaluation Limitations and Licensing][] [Metered]: https://purchase.groupdocs.com/faqs/licensing/metered [Evaluation Limitations and Licensing]: https://docs.groupdocs.com/display/conversionnet/Evaluation+Limitations+and+Licensing+of+GroupDocs.Conversion #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves count of credits consumed. | | increaseBytesCount(long bytesCount) | | | consumeCreditsBySize(long bytesCount) | | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. > ``` > Following example demonstrates how to activate product with Metered keys. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed. > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal mbProcessed = Metered.GetConsumptionQuantity(); > ``` **Returns:** java.math.BigDecimal ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves count of credits consumed. > ``` > Following example demonstrates how to retrieve count of credits consumed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal creditsConsumed = Metered.GetConsumptionCredit(); > ``` **Returns:** java.math.BigDecimal ##### increaseBytesCount(long bytesCount) ``` public static void increaseBytesCount(long bytesCount) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | bytesCount | long | | ##### consumeCreditsBySize(long bytesCount) ``` public static void consumeCreditsBySize(long bytesCount) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | bytesCount | long | | ### com.groupdocs.conversion.logging Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.logging.md The GroupDocs.Conversion.Logging namespace provides classes for customizing logging behaviour. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Console logger implementation. | ### ConsoleLogger Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.logging/consolelogger.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.conversion.logging.ILogger ``` public final class ConsoleLogger implements ILogger ``` Console logger implementation. #### Constructors | Constructor | Description | | --- | --- | | ConsoleLogger() | | #### Methods | Method | Description | | --- | --- | | trace(String message) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | warning(String message) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | | error(String message, Exception exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | ##### ConsoleLogger() ``` public ConsoleLogger() ``` ##### trace(String message) ``` public void trace(String message) ``` Writes trace log message; Trace log messages provides generally useful information about application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The trace message. | ##### warning(String message) ``` public void warning(String message) ``` Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The warning message. | ##### error(String message, Exception exception) ``` public void error(String message, Exception exception) ``` Writes error log message; Error log messages provides information about unrecoverable events in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message. | | exception | java.lang.Exception | The exception. | ### com.groupdocs.conversion.options.convert Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert.md The GroupDocs.Conversion.Options.Convert namespace provides classes to specify additional options for document conversion process. #### Classes | Class | Description | | --- | --- | | CadConvertOptions | Options for conversion to Cad type. | | CommonConvertOptions | abstract generic common conversion options class. | | ConvertOptions | The general conversion options class. | | DiagramConvertOptions | Options for conversion to Diagram file type. | | EBookConvertOptions | Options for conversion to EBook file type. | | EmailConvertOptions | Options for conversion to Email file type. | | Font | Font settings | | FontConvertOptions | Options for conversion to EBook file type. | | ImageConvertOptions | Options for conversion to Image file type. | | ImageFlipModes | Describes image flip modes. | | JpegOptions | Options for conversion to Jpeg file type. | | JpgColorModes | Describes Jpg color modes enumeration. | | JpgCompressionMethods | Describes Jpg compression modes | | NoConvertOptions | Special convert option class, which instructs converter to copy source document without any processing | | PageDescriptionLanguageConvertOptions | Options for conversion to page descriptions language file type. | | PdfConvertOptions | Options for conversion to Pdf file type. | | PdfDirection | Describes Pdf text direction. | | PdfFormats | Describes Pdf formats enumeration. | | PdfFormattingOptions | Defines Pdf formatting options. | | PdfOptimizationOptions | Defines Pdf optimization options. | | PdfOptions | Options for conversion to Pdf file type. | | PdfPageLayout | Describes Pdf page layout. | | PdfPageMode | Describes Pdf page mode | | PresentationConvertOptions | Describes options for conversion to Presentation file type. | | ProjectManagementConvertOptions | Options for conversion to Project management file type. | | PsdColorModes | Defines Psd color modes enumeration. | | PsdCompressionMethods | Describes Psd compression methods. | | PsdOptions | Options for converting to Psd file type. | | Rotation | Describes page rotation enumeration | | RtfOptions | Options for conversion to RTF file type. | | SpreadsheetConvertOptions | Options for conversion to Spreadsheet file type. | | TiffCompressionMethods | Describes Tiff compression methods enumeration. | | TiffOptions | Options for conversion to TIFF file type. | | WatermarkImageOptions | Options for settings watermark to the converted document | | WatermarkOptions | Options for settings watermark to the converted document | | WatermarkTextOptions | Options for settings text watermark to the converted document | | WebConvertOptions | Options for conversion to Web file type. | | WebpOptions | Options for conversion to Webp file type. | | WordProcessingConvertOptions | Options for conversion to WordProcessing file type. | #### Enumerations | Enum | Description | | --- | --- | | PageOrientation | | | PageSize | | | PdfRecognitionMode | | ### CadConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/cadconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IPagedConvertOptions ``` public class CadConvertOptions extends ConvertOptions implements IPagedConvertOptions ``` Options for conversion to Cad type. #### Constructors | Constructor | Description | | --- | --- | | CadConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getPageNumber() | | | setPageNumber(int pageNumber) | | | getPagesCount() | | | setPagesCount(int pagesCount) | | ##### CadConvertOptions() ``` public CadConvertOptions() ``` Initializes new instance of class. ##### getPageNumber() ``` public Integer getPageNumber() ``` Gets the page number to start conversion from. **Returns:** java.lang.Integer ##### setPageNumber(int pageNumber) ``` public void setPageNumber(int pageNumber) ``` Sets the page number to start conversion from. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | ##### getPagesCount() ``` public Integer getPagesCount() ``` Gets number of pages to convert starting from PageNumber. **Returns:** java.lang.Integer ##### setPagesCount(int pagesCount) ``` public void setPagesCount(int pagesCount) ``` Sets number of pages to convert starting from PageNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pagesCount | int | | ### CommonConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/commonconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IWatermarkedConvertOptions, com.groupdocs.conversion.options.convert.IPagedConvertOptions, com.groupdocs.conversion.options.convert.IPageRangedConvertOptions ``` public abstract class CommonConvertOptions extends ConvertOptions implements IWatermarkedConvertOptions, IPagedConvertOptions, IPageRangedConvertOptions ``` abstract generic common conversion options class. #### Methods | Method | Description | | --- | --- | | getWatermark() | | | setWatermark(WatermarkOptions watermark) | | | getPageNumber() | | | setPageNumber(int pageNumber) | | | getPagesCount() | | | setPagesCount(int pagesCount) | | | getPages() | | | setPages(List pages) | | ##### getWatermark() ``` public WatermarkOptions getWatermark() ``` Gets watermark specific options **Returns:** WatermarkOptions ##### setWatermark(WatermarkOptions watermark) ``` public void setWatermark(WatermarkOptions watermark) ``` Sets watermark specific options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | watermark | WatermarkOptions | | ##### getPageNumber() ``` public Integer getPageNumber() ``` Gets the page number to start conversion from. **Returns:** java.lang.Integer ##### setPageNumber(int pageNumber) ``` public void setPageNumber(int pageNumber) ``` Sets the page number to start conversion from. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | | ##### getPagesCount() ``` public Integer getPagesCount() ``` Gets number of pages to convert starting from PageNumber. **Returns:** java.lang.Integer ##### setPagesCount(int pagesCount) ``` public void setPagesCount(int pagesCount) ``` Sets number of pages to convert starting from PageNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pagesCount | int | | ##### getPages() ``` public List getPages() ``` Gets The list of page indexes to be converted. Should be specified to convert specific pages. **Returns:** java.util.List ##### setPages(List pages) ``` public void setPages(List pages) ``` Sets the list of page indexes to be converted. Should be specified to convert specific pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pages | java.util.List | | ### ConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/convertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.convert.IConvertOptions, java.lang.Cloneable ``` public abstract class ConvertOptions extends ValueObject implements Serializable, IConvertOptions, Cloneable ``` The general conversion options class. #### Methods | Method | Description | | --- | --- | | getFormat() | \{@inheritDoc\} | | setFormat(FileType value) | The desired file type the input document should be converted to. | | deepClone() | Clones current options instance. | | getFormat_ConvertOptions_New() | The desired file type the input document should be converted to. | | setFormat_ConvertOptions_New(TFileType value) | The desired file type the input document should be converted to. | ##### getFormat() ``` public FileType getFormat() ``` Gets the desired file type the input document should be converted to. **Returns:** FileType ##### setFormat(FileType value) ``` public void setFormat(FileType value) ``` The desired file type the input document should be converted to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | | ##### deepClone() ``` public final Object deepClone() ``` Clones current options instance. **Returns:** java.lang.Object - ##### getFormat_ConvertOptions_New() ``` public final TFileType getFormat_ConvertOptions_New() ``` The desired file type the input document should be converted to. **Returns:** TFileType ##### setFormat_ConvertOptions_New(TFileType value) ``` public final void setFormat_ConvertOptions_New(TFileType value) ``` The desired file type the input document should be converted to. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TFileType | | ### DiagramConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/diagramconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions ``` public class DiagramConvertOptions extends CommonConvertOptions ``` Options for conversion to Diagram file type. #### Constructors | Constructor | Description | | --- | --- | | DiagramConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | isAutoFitPageToDrawingContent() | Defines whether need enlarge page to fit drawing content or not | | setAutoFitPageToDrawingContent(boolean autoFitPageToDrawingContent) | Sets need enlarge page flag | ##### DiagramConvertOptions() ``` public DiagramConvertOptions() ``` Initializes new instance of class. ##### isAutoFitPageToDrawingContent() ``` public boolean isAutoFitPageToDrawingContent() ``` Defines whether need enlarge page to fit drawing content or not **Returns:** boolean - need enlarge page flag ##### setAutoFitPageToDrawingContent(boolean autoFitPageToDrawingContent) ``` public void setAutoFitPageToDrawingContent(boolean autoFitPageToDrawingContent) ``` Sets need enlarge page flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | autoFitPageToDrawingContent | boolean | need enlarge page flag | ### EBookConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/ebookconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions ``` public class EBookConvertOptions extends CommonConvertOptions implements IPageSizeConvertOptions, IPageOrientationConvertOptions ``` Options for conversion to EBook file type. #### Constructors | Constructor | Description | | --- | --- | | EBookConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getPageSize() | | | setPageSize(PageSize pageSize) | | | getPageWidth() | | | setPageWidth(float pageWidth) | | | getPageHeight() | | | setPageHeight(float pageHeight) | | | getPageOrientation() | | | setPageOrientation(PageOrientation pageOrientation) | | ##### EBookConvertOptions() ``` public EBookConvertOptions() ``` Initializes new instance of class. ##### getPageSize() ``` public PageSize getPageSize() ``` Gets desired page size after conversion **Returns:** PageSize ##### setPageSize(PageSize pageSize) ``` public void setPageSize(PageSize pageSize) ``` Set desired page size after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageSize | PageSize | | ##### getPageWidth() ``` public float getPageWidth() ``` Specified page width in points if is set to PageSize.Custom **Returns:** float ##### setPageWidth(float pageWidth) ``` public void setPageWidth(float pageWidth) ``` Set desired page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageWidth | float | | ##### getPageHeight() ``` public float getPageHeight() ``` Specified page height in points if is set to PageSize.Custom **Returns:** float ##### setPageHeight(float pageHeight) ``` public void setPageHeight(float pageHeight) ``` Set desired page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageHeight | float | | ##### getPageOrientation() ``` public PageOrientation getPageOrientation() ``` Gets page orientation after conversion **Returns:** PageOrientation ##### setPageOrientation(PageOrientation pageOrientation) ``` public void setPageOrientation(PageOrientation pageOrientation) ``` Sets desired page orientation after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageOrientation | PageOrientation | | ### EmailConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/emailconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public class EmailConvertOptions extends ConvertOptions implements Serializable ``` Options for conversion to Email file type. #### Constructors | Constructor | Description | | --- | --- | | EmailConvertOptions() | Initializes new instance of class. | ##### EmailConvertOptions() ``` public EmailConvertOptions() ``` Initializes new instance of class. ### Font Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/font.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject ``` public class Font extends ValueObject ``` Font settings #### Constructors | Constructor | Description | | --- | --- | | Font(String fontFamilyName, float size) | creates new Font instance | #### Methods | Method | Description | | --- | --- | | getFamilyName() | Fets font family name | | getSize() | Gets font size | | isBold() | Font bold flag | | setBold(boolean bold) | Sets Font bold flag | | isItalic() | Font italic flag | | setItalic(boolean italic) | Sets font italic flag | | isUnderline() | Gets Font underline | | setUnderline(boolean underline) | Sets Font underline | | getDefault() | | | clone(float newSize) | | ##### Font(String fontFamilyName, float size) ``` public Font(String fontFamilyName, float size) ``` creates new Font instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontFamilyName | java.lang.String | Font name | | size | float | Font size | ##### getFamilyName() ``` public String getFamilyName() ``` Fets font family name **Returns:** java.lang.String - Font family name ##### getSize() ``` public float getSize() ``` Gets font size **Returns:** float - Font size ##### isBold() ``` public boolean isBold() ``` Font bold flag **Returns:** boolean - true if bold ##### setBold(boolean bold) ``` public void setBold(boolean bold) ``` Sets Font bold flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | bold | boolean | true if bold | ##### isItalic() ``` public boolean isItalic() ``` Font italic flag **Returns:** boolean - true if Italic ##### setItalic(boolean italic) ``` public void setItalic(boolean italic) ``` Sets font italic flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | italic | boolean | true if Italic | ##### isUnderline() ``` public boolean isUnderline() ``` Gets Font underline **Returns:** boolean - true if Font is underline ##### setUnderline(boolean underline) ``` public void setUnderline(boolean underline) ``` Sets Font underline **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | underline | boolean | Font underline flag | ##### getDefault() ``` public static Font getDefault() ``` **Returns:** Font ##### clone(float newSize) ``` public Font clone(float newSize) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newSize | float | | **Returns:** Font ### FontConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/fontconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions ``` public class FontConvertOptions extends ConvertOptions ``` Options for conversion to EBook file type. #### Constructors | Constructor | Description | | --- | --- | | FontConvertOptions() | Initializes new instance of class. | ##### FontConvertOptions() ``` public FontConvertOptions() ``` Initializes new instance of class. ### ImageConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/imageconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class ImageConvertOptions extends CommonConvertOptions implements Serializable ``` Options for conversion to Image file type. #### Constructors | Constructor | Description | | --- | --- | | ImageConvertOptions() | Initializes new instance of ImageConvertOptions class. | #### Fields | Field | Description | | --- | --- | | DEFAULT_DPI | | #### Methods | Method | Description | | --- | --- | | getWidth() | Desired image width after conversion. | | setWidth(int value) | Desired image width after conversion. | | getHeight() | Desired image height after conversion. | | setHeight(int value) | Desired image height after conversion. | | getUsePdf() | If true , the input firstly is converted to PDF and after that to desired format. | | setUsePdf(boolean value) | If true , the input firstly is converted to PDF and after that to desired format. | | getHorizontalResolution() | Desired image horizontal resolution after conversion. | | setHorizontalResolution(int value) | Desired image horizontal resolution after conversion. | | getVerticalResolution() | Desired image vertical resolution after conversion. | | setVerticalResolution(int value) | Desired image vertical resolution after conversion. | | getTiffOptions() | Tiff specific convert options. | | setTiffOptions(TiffOptions value) | Tiff specific convert options. | | getPsdOptions() | Psd specific convert options. | | setPsdOptions(PsdOptions value) | Psd specific convert options. | | getWebpOptions() | Webp specific convert options. | | setWebpOptions(WebpOptions value) | Webp specific convert options. | | getGrayscale() | Indicates whether to convert into grayscale image. | | setGrayscale(boolean value) | Indicates whether to convert into grayscale image. | | getRotateAngle() | Image rotation angle. | | setRotateAngle(int value) | Image rotation angle. | | getJpegOptions() | Jpeg specific convert options. | | setJpegOptions(JpegOptions value) | Jpeg specific convert options. | | getFlipMode() | Image flip mode. | | setFlipMode(ImageFlipModes value) | Image flip mode. | | getBrightness() | Adjusts image brightness. | | setBrightness(int value) | Adjusts image brightness. | | getContrast() | Adjusts image contrast. | | setContrast(int value) | Adjusts image contrast. | | getGamma() | Adjusts image gamma. | | setGamma(double value) | Adjusts image gamma. | | setGamma(float value) | Adjusts image gamma. | | getBackgroundColor() | Gets background color | | setBackgroundColor(System.Drawing.Color backgroundColor) | Sets background color where supported by the source format | ##### ImageConvertOptions() ``` public ImageConvertOptions() ``` Initializes new instance of ImageConvertOptions class. ##### DEFAULT_DPI ``` public static final int DEFAULT_DPI ``` ##### getWidth() ``` public final int getWidth() ``` Desired image width after conversion. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Desired image width after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Desired image height after conversion. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Desired image height after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getUsePdf() ``` public final boolean getUsePdf() ``` If true , the input firstly is converted to PDF and after that to desired format. **Returns:** boolean ##### setUsePdf(boolean value) ``` public final void setUsePdf(boolean value) ``` If true , the input firstly is converted to PDF and after that to desired format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHorizontalResolution() ``` public final int getHorizontalResolution() ``` Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Returns:** int ##### setHorizontalResolution(int value) ``` public final void setHorizontalResolution(int value) ``` Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getVerticalResolution() ``` public final int getVerticalResolution() ``` Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Returns:** int ##### setVerticalResolution(int value) ``` public final void setVerticalResolution(int value) ``` Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTiffOptions() ``` public final TiffOptions getTiffOptions() ``` Tiff specific convert options. **Returns:** TiffOptions ##### setTiffOptions(TiffOptions value) ``` public final void setTiffOptions(TiffOptions value) ``` Tiff specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffOptions | | ##### getPsdOptions() ``` public final PsdOptions getPsdOptions() ``` Psd specific convert options. **Returns:** PsdOptions ##### setPsdOptions(PsdOptions value) ``` public final void setPsdOptions(PsdOptions value) ``` Psd specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PsdOptions | | ##### getWebpOptions() ``` public final WebpOptions getWebpOptions() ``` Webp specific convert options. **Returns:** WebpOptions ##### setWebpOptions(WebpOptions value) ``` public final void setWebpOptions(WebpOptions value) ``` Webp specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WebpOptions | | ##### getGrayscale() ``` public final boolean getGrayscale() ``` Indicates whether to convert into grayscale image. **Returns:** boolean ##### setGrayscale(boolean value) ``` public final void setGrayscale(boolean value) ``` Indicates whether to convert into grayscale image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRotateAngle() ``` public final int getRotateAngle() ``` Image rotation angle. **Returns:** int ##### setRotateAngle(int value) ``` public final void setRotateAngle(int value) ``` Image rotation angle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getJpegOptions() ``` public final JpegOptions getJpegOptions() ``` Jpeg specific convert options. **Returns:** JpegOptions ##### setJpegOptions(JpegOptions value) ``` public final void setJpegOptions(JpegOptions value) ``` Jpeg specific convert options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | JpegOptions | | ##### getFlipMode() ``` public final ImageFlipModes getFlipMode() ``` Image flip mode. **Returns:** ImageFlipModes ##### setFlipMode(ImageFlipModes value) ``` public final void setFlipMode(ImageFlipModes value) ``` Image flip mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ImageFlipModes | | ##### getBrightness() ``` public final int getBrightness() ``` Adjusts image brightness. **Returns:** int ##### setBrightness(int value) ``` public final void setBrightness(int value) ``` Adjusts image brightness. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getContrast() ``` public final int getContrast() ``` Adjusts image contrast. **Returns:** int ##### setContrast(int value) ``` public final void setContrast(int value) ``` Adjusts image contrast. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getGamma() ``` public final double getGamma() ``` Adjusts image gamma. **Returns:** double ##### setGamma(double value) ``` public final void setGamma(double value) ``` Adjusts image gamma. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | | ##### setGamma(float value) ``` public final void setGamma(float value) ``` Adjusts image gamma. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getBackgroundColor() ``` public System.Drawing.Color getBackgroundColor() ``` Gets background color **Returns:** com.aspose.ms.System.Drawing.Color - background color ##### setBackgroundColor(System.Drawing.Color backgroundColor) ``` public void setBackgroundColor(System.Drawing.Color backgroundColor) ``` Sets background color where supported by the source format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | backgroundColor | com.aspose.ms.System.Drawing.Color | background color | ### ImageFlipModes Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/imageflipmodes.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class ImageFlipModes extends Enumeration implements Serializable ``` Describes image flip modes. #### Constructors | Constructor | Description | | --- | --- | | ImageFlipModes() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | None | No flipping. | | FlipX | Horizontal flip. | | FlipY | Flip vertical. | | FlipXY | Flip horizontal and vertical. | ##### ImageFlipModes() ``` public ImageFlipModes() ``` Serialization constructor ##### None ``` public static final ImageFlipModes None ``` No flipping. ##### FlipX ``` public static final ImageFlipModes FlipX ``` Horizontal flip. ##### FlipY ``` public static final ImageFlipModes FlipY ``` Flip vertical. ##### FlipXY ``` public static final ImageFlipModes FlipXY ``` Flip horizontal and vertical. ### JpegOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/jpegoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class JpegOptions extends ValueObject implements Serializable ``` Options for conversion to Jpeg file type. #### Constructors | Constructor | Description | | --- | --- | | JpegOptions() | Initializes new instance of JpegOptions class. | #### Methods | Method | Description | | --- | --- | | getQuality() | Desired image quality. | | setQuality(int value) | Desired image quality. | | getColorMode() | Jpg color mode. | | setColorMode(JpgColorModes value) | Jpg color mode. | | getCompression() | Jpg compression method. | | setCompression(JpgCompressionMethods value) | Jpg compression method. | ##### JpegOptions() ``` public JpegOptions() ``` Initializes new instance of JpegOptions class. ##### getQuality() ``` public final int getQuality() ``` Desired image quality. The value must be between 0 and 100. The default value is 100. **Returns:** int ##### setQuality(int value) ``` public final void setQuality(int value) ``` Desired image quality. The value must be between 0 and 100. The default value is 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getColorMode() ``` public final JpgColorModes getColorMode() ``` Jpg color mode. **Returns:** JpgColorModes ##### setColorMode(JpgColorModes value) ``` public final void setColorMode(JpgColorModes value) ``` Jpg color mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | JpgColorModes | | ##### getCompression() ``` public final JpgCompressionMethods getCompression() ``` Jpg compression method. **Returns:** JpgCompressionMethods ##### setCompression(JpgCompressionMethods value) ``` public final void setCompression(JpgCompressionMethods value) ``` Jpg compression method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | JpgCompressionMethods | | ### JpgColorModes Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/jpgcolormodes.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class JpgColorModes extends Enumeration implements Serializable ``` Describes Jpg color modes enumeration. #### Constructors | Constructor | Description | | --- | --- | | JpgColorModes() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | YCbCr | YCbCr image. | | Rgb | RGB. | | Cmyk | CMYK. | | Ycck | Ycck. | | Grayscale | Grayscale. | ##### JpgColorModes() ``` public JpgColorModes() ``` Serialization constructor ##### YCbCr ``` public static final JpgColorModes YCbCr ``` YCbCr image. Standard option for jpeg images. ##### Rgb ``` public static final JpgColorModes Rgb ``` RGB. ##### Cmyk ``` public static final JpgColorModes Cmyk ``` CMYK. ##### Ycck ``` public static final JpgColorModes Ycck ``` Ycck. ##### Grayscale ``` public static final JpgColorModes Grayscale ``` Grayscale. ### JpgCompressionMethods Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/jpgcompressionmethods.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class JpgCompressionMethods extends Enumeration implements Serializable ``` Describes Jpg compression modes #### Constructors | Constructor | Description | | --- | --- | | JpgCompressionMethods() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Baseline | The baseline compression. | | Progressive | Progressive compression. | | Lossless | Lossless compression. | | JpegLs | JpegLs compression. | ##### JpgCompressionMethods() ``` public JpgCompressionMethods() ``` Serialization constructor ##### Baseline ``` public static final JpgCompressionMethods Baseline ``` The baseline compression. ##### Progressive ``` public static final JpgCompressionMethods Progressive ``` Progressive compression. ##### Lossless ``` public static final JpgCompressionMethods Lossless ``` Lossless compression. ##### JpegLs ``` public static final JpgCompressionMethods JpegLs ``` JpegLs compression. ### NoConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/noconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions ``` public class NoConvertOptions extends ConvertOptions ``` Special convert option class, which instructs converter to copy source document without any processing #### Constructors | Constructor | Description | | --- | --- | | NoConvertOptions() | | ##### NoConvertOptions() ``` public NoConvertOptions() ``` ### PageDescriptionLanguageConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions ``` public class PageDescriptionLanguageConvertOptions extends CommonConvertOptions ``` Options for conversion to page descriptions language file type. #### Constructors | Constructor | Description | | --- | --- | | PageDescriptionLanguageConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Desired page width after conversion. | | setWidth(int width) | | | getHeight() | Desired page height after conversion. | | setHeight(int height) | | ##### PageDescriptionLanguageConvertOptions() ``` public PageDescriptionLanguageConvertOptions() ``` Initializes new instance of class. ##### getWidth() ``` public int getWidth() ``` Desired page width after conversion. **Returns:** int ##### setWidth(int width) ``` public void setWidth(int width) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | | ##### getHeight() ``` public int getHeight() ``` Desired page height after conversion. **Returns:** int ##### setHeight(int height) ``` public void setHeight(int height) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | height | int | | ### PageOrientation Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pageorientation.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PageOrientation extends Enum ``` #### Fields | Field | Description | | --- | --- | | LANDSCAPE | | | PORTRAIT | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getKey() | | | getName() | | ##### LANDSCAPE ``` public static final PageOrientation LANDSCAPE ``` ##### PORTRAIT ``` public static final PageOrientation PORTRAIT ``` ##### values() ``` public static PageOrientation[] values() ``` **Returns:** com.groupdocs.conversion.options.convert.PageOrientation[] ##### valueOf(String name) ``` public static PageOrientation valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PageOrientation ##### getKey() ``` public String getKey() ``` **Returns:** java.lang.String ##### getName() ``` public String getName() ``` **Returns:** java.lang.String ### PageSize Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pagesize.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.conversion.options.convert.IPageSize ``` public enum PageSize extends Enum implements IPageSize ``` #### Fields | Field | Description | | --- | --- | | A3 | | | A4 | | | A5 | | | B4 | | | B5 | | | CUSTOM | | | ENVELOPE_DL | | | EXECUTIVE | | | FOLIO | | | LEDGER | | | LEGAL | | | LETTER | | | PAPER_10_X_14 | | | PAPER_11_X_17 | | | QUARTO | | | STATEMENT | | | TABLOID | | | UNSET | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | createCustom(float width, float height) | | | getKey() | | | getName() | | | getWidth() | | | getHeight() | | | pointsToPixels(float points, int dpi) | | | pixelsToPoints(int pixels, int dpi) | | ##### A3 ``` public static final PageSize A3 ``` ##### A4 ``` public static final PageSize A4 ``` ##### A5 ``` public static final PageSize A5 ``` ##### B4 ``` public static final PageSize B4 ``` ##### B5 ``` public static final PageSize B5 ``` ##### CUSTOM ``` public static final PageSize CUSTOM ``` ##### ENVELOPE_DL ``` public static final PageSize ENVELOPE_DL ``` ##### EXECUTIVE ``` public static final PageSize EXECUTIVE ``` ##### FOLIO ``` public static final PageSize FOLIO ``` ##### LEDGER ``` public static final PageSize LEDGER ``` ##### LEGAL ``` public static final PageSize LEGAL ``` ##### LETTER ``` public static final PageSize LETTER ``` ##### PAPER_10_X_14 ``` public static final PageSize PAPER_10_X_14 ``` ##### PAPER_11_X_17 ``` public static final PageSize PAPER_11_X_17 ``` ##### QUARTO ``` public static final PageSize QUARTO ``` ##### STATEMENT ``` public static final PageSize STATEMENT ``` ##### TABLOID ``` public static final PageSize TABLOID ``` ##### UNSET ``` public static final PageSize UNSET ``` ##### values() ``` public static PageSize[] values() ``` **Returns:** com.groupdocs.conversion.options.convert.PageSize[] ##### valueOf(String name) ``` public static PageSize valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PageSize ##### createCustom(float width, float height) ``` public static PageSize.PageSizeCustom createCustom(float width, float height) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | float | | | height | float | | **Returns:** PageSizeCustom ##### getKey() ``` public String getKey() ``` **Returns:** java.lang.String ##### getName() ``` public String getName() ``` **Returns:** java.lang.String ##### getWidth() ``` public float getWidth() ``` **Returns:** float ##### getHeight() ``` public float getHeight() ``` **Returns:** float ##### pointsToPixels(float points, int dpi) ``` public static int pointsToPixels(float points, int dpi) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | points | float | | | dpi | int | | **Returns:** int ##### pixelsToPoints(int pixels, int dpi) ``` public static float pixelsToPoints(int pixels, int dpi) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pixels | int | | | dpi | int | | **Returns:** float ### PdfConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions ``` public class PdfConvertOptions extends CommonConvertOptions implements Serializable, IPageMarginConvertOptions, IPageSizeConvertOptions, IPageOrientationConvertOptions ``` Options for conversion to Pdf file type. #### Constructors | Constructor | Description | | --- | --- | | PdfConvertOptions() | Initializes new instance of PdfConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getDpi() | Desired page DPI after conversion. | | setDpi(int value) | Desired page DPI after conversion. | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getMarginTop() | Desired page top margin in pixels after conversion. | | setMarginTop(int value) | Desired page top margin in pixels after conversion. | | getMarginBottom() | Desired page bottom margin in pixels after conversion. | | setMarginBottom(int value) | Desired page bottom margin in pixels after conversion. | | getMarginLeft() | Desired page left margin in pixels after conversion. | | setMarginLeft(int value) | Desired page left margin in pixels after conversion. | | getMarginRight() | Desired page right margin in pixels after conversion. | | setMarginRight(int value) | Desired page right margin in pixels after conversion. | | getPdfOptions() | Pdf specific convert options | | setPdfOptions(PdfOptions value) | Pdf specific convert options | | getRotate() | Page rotation | | setRotate(Rotation value) | Page rotation | | getPageOrientation() | | | setPageOrientation(PageOrientation pageOrientation) | | | getPageSize() | | | setPageSize(PageSize pageSize) | | | getPageWidth() | | | setPageWidth(float pageWidth) | | | getPageHeight() | | | setPageHeight(float pageHeight) | | ##### PdfConvertOptions() ``` public PdfConvertOptions() ``` Initializes new instance of PdfConvertOptions class. ##### getDpi() ``` public final int getDpi() ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Returns:** int ##### setDpi(int value) ``` public final void setDpi(int value) ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getMarginTop() ``` public final int getMarginTop() ``` Desired page top margin in pixels after conversion. **Returns:** int ##### setMarginTop(int value) ``` public final void setMarginTop(int value) ``` Desired page top margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginBottom() ``` public final int getMarginBottom() ``` Desired page bottom margin in pixels after conversion. **Returns:** int ##### setMarginBottom(int value) ``` public final void setMarginBottom(int value) ``` Desired page bottom margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginLeft() ``` public final int getMarginLeft() ``` Desired page left margin in pixels after conversion. **Returns:** int ##### setMarginLeft(int value) ``` public final void setMarginLeft(int value) ``` Desired page left margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginRight() ``` public final int getMarginRight() ``` Desired page right margin in pixels after conversion. **Returns:** int ##### setMarginRight(int value) ``` public final void setMarginRight(int value) ``` Desired page right margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPdfOptions() ``` public final PdfOptions getPdfOptions() ``` Pdf specific convert options **Returns:** PdfOptions ##### setPdfOptions(PdfOptions value) ``` public final void setPdfOptions(PdfOptions value) ``` Pdf specific convert options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfOptions | | ##### getRotate() ``` public final Rotation getRotate() ``` Page rotation **Returns:** Rotation ##### setRotate(Rotation value) ``` public final void setRotate(Rotation value) ``` Page rotation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Rotation | | ##### getPageOrientation() ``` public PageOrientation getPageOrientation() ``` Gets page orientation after conversion **Returns:** PageOrientation ##### setPageOrientation(PageOrientation pageOrientation) ``` public void setPageOrientation(PageOrientation pageOrientation) ``` Sets desired page orientation after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageOrientation | PageOrientation | | ##### getPageSize() ``` public PageSize getPageSize() ``` Gets desired page size after conversion **Returns:** PageSize ##### setPageSize(PageSize pageSize) ``` public void setPageSize(PageSize pageSize) ``` Set desired page size after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageSize | PageSize | | ##### getPageWidth() ``` public float getPageWidth() ``` Specified page width in points if is set to PageSize.Custom **Returns:** float ##### setPageWidth(float pageWidth) ``` public void setPageWidth(float pageWidth) ``` Set desired page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageWidth | float | | ##### getPageHeight() ``` public float getPageHeight() ``` Specified page height in points if is set to PageSize.Custom **Returns:** float ##### setPageHeight(float pageHeight) ``` public void setPageHeight(float pageHeight) ``` Set desired page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageHeight | float | | ### PdfDirection Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfdirection.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PdfDirection extends Enumeration implements Serializable ``` Describes Pdf text direction. #### Constructors | Constructor | Description | | --- | --- | | PdfDirection() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | L2R | Left to right. | | R2L | Right to left. | ##### PdfDirection() ``` public PdfDirection() ``` Serialization constructor ##### L2R ``` public static final PdfDirection L2R ``` Left to right. ##### R2L ``` public static final PdfDirection R2L ``` Right to left. ### PdfFormats Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfformats.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfFormats extends Enumeration implements Serializable ``` Describes Pdf formats enumeration. #### Constructors | Constructor | Description | | --- | --- | | PdfFormats() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Default | Default pdf format | | PdfA_1A | PDF/A-1a \\u2013 Level A (accessible) conformance. | | PdfA_1B | PDF/A-1b \\u2013 Level B (basic) conformance. | | PdfA_2A | PDF/A-2a conformance. | | PdfA_3A | PDF/A-3a conformance. | | PdfA_2B | PDF/A-2b conformance. | | PdfA_2U | PDF/A-2u conformance. | | PdfA_3B | PDF/A-3b conformance. | | PdfA_3U | PDF/A-3u conformance. | | v1_3 | PDF version 1.3. | | v1_4 | PDF version 1.4. | | v1_5 | PDF version 1.5. | | v1_6 | PDF version 1.6. | | v1_7 | PDF version 1.7. | | PdfX_1A | PDF/X-1a conformance. | | PdfX_3 | PDF/X-3 conformance. | | PdfUA_1 | PDF/UA-1 conformance. | ##### PdfFormats() ``` public PdfFormats() ``` Serialization constructor ##### Default ``` public static final PdfFormats Default ``` Default pdf format ##### PdfA_1A ``` public static final PdfFormats PdfA_1A ``` PDF/A-1a \\u2013 Level A (accessible) conformance. ##### PdfA_1B ``` public static final PdfFormats PdfA_1B ``` PDF/A-1b \\u2013 Level B (basic) conformance. ##### PdfA_2A ``` public static final PdfFormats PdfA_2A ``` PDF/A-2a conformance. ##### PdfA_3A ``` public static final PdfFormats PdfA_3A ``` PDF/A-3a conformance. ##### PdfA_2B ``` public static final PdfFormats PdfA_2B ``` PDF/A-2b conformance. ##### PdfA_2U ``` public static final PdfFormats PdfA_2U ``` PDF/A-2u conformance. ##### PdfA_3B ``` public static final PdfFormats PdfA_3B ``` PDF/A-3b conformance. ##### PdfA_3U ``` public static final PdfFormats PdfA_3U ``` PDF/A-3u conformance. ##### v1_3 ``` public static final PdfFormats v1_3 ``` PDF version 1.3. ##### v1_4 ``` public static final PdfFormats v1_4 ``` PDF version 1.4. ##### v1_5 ``` public static final PdfFormats v1_5 ``` PDF version 1.5. ##### v1_6 ``` public static final PdfFormats v1_6 ``` PDF version 1.6. ##### v1_7 ``` public static final PdfFormats v1_7 ``` PDF version 1.7. ##### PdfX_1A ``` public static final PdfFormats PdfX_1A ``` PDF/X-1a conformance. ##### PdfX_3 ``` public static final PdfFormats PdfX_3 ``` PDF/X-3 conformance. ##### PdfUA_1 ``` public static final PdfFormats PdfUA_1 ``` PDF/UA-1 conformance. ### PdfFormattingOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfformattingoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfFormattingOptions extends ValueObject implements Serializable ``` Defines Pdf formatting options. #### Constructors | Constructor | Description | | --- | --- | | PdfFormattingOptions() | | #### Methods | Method | Description | | --- | --- | | getCenterWindow() | Specifies whether position of the document's window will be centered on the screen. | | setCenterWindow(boolean value) | Specifies whether position of the document's window will be centered on the screen. | | getDirection() | Sets reading order of text: L2R (left to right) or R2L (right to left). | | setDirection(PdfDirection value) | Sets reading order of text: L2R (left to right) or R2L (right to left). | | getDisplayDocTitle() | Specifies whether document's window title bar should display document title. | | setDisplayDocTitle(boolean value) | Specifies whether document's window title bar should display document title. | | getFitWindow() | Specifies whether document window must be resized to fit the first displayed page. | | setFitWindow(boolean value) | Specifies whether document window must be resized to fit the first displayed page. | | getHideMenuBar() | Specifies whether menu bar should be hidden when document is active. | | setHideMenuBar(boolean value) | Specifies whether menu bar should be hidden when document is active. | | getHideToolBar() | Specifies whether toolbar should be hidden when document is active. | | setHideToolBar(boolean value) | Specifies whether toolbar should be hidden when document is active. | | getHideWindowUI() | Specifies whether user interface elements should be hidden when document is active. | | setHideWindowUI(boolean value) | Specifies whether user interface elements should be hidden when document is active. | | getNonFullScreenPageMode() | Sets page mode, specifying how to display the document on exiting full-screen mode. | | setNonFullScreenPageMode(PdfPageMode value) | Sets page mode, specifying how to display the document on exiting full-screen mode. | | getPageLayout() | Sets page layout which shall be used when the document is opened. | | setPageLayout(PdfPageLayout value) | Sets page layout which shall be used when the document is opened. | | getPageMode() | Sets page mode, specifying how document should be displayed when opened. | | setPageMode(PdfPageMode value) | Sets page mode, specifying how document should be displayed when opened. | ##### PdfFormattingOptions() ``` public PdfFormattingOptions() ``` ##### getCenterWindow() ``` public final boolean getCenterWindow() ``` Specifies whether position of the document's window will be centered on the screen. Default: false. **Returns:** boolean ##### setCenterWindow(boolean value) ``` public final void setCenterWindow(boolean value) ``` Specifies whether position of the document's window will be centered on the screen. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDirection() ``` public final PdfDirection getDirection() ``` Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R. **Returns:** PdfDirection ##### setDirection(PdfDirection value) ``` public final void setDirection(PdfDirection value) ``` Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfDirection | | ##### getDisplayDocTitle() ``` public final boolean getDisplayDocTitle() ``` Specifies whether document's window title bar should display document title. Default: false. **Returns:** boolean ##### setDisplayDocTitle(boolean value) ``` public final void setDisplayDocTitle(boolean value) ``` Specifies whether document's window title bar should display document title. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFitWindow() ``` public final boolean getFitWindow() ``` Specifies whether document window must be resized to fit the first displayed page. Default: false. **Returns:** boolean ##### setFitWindow(boolean value) ``` public final void setFitWindow(boolean value) ``` Specifies whether document window must be resized to fit the first displayed page. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHideMenuBar() ``` public final boolean getHideMenuBar() ``` Specifies whether menu bar should be hidden when document is active. Default: false. **Returns:** boolean ##### setHideMenuBar(boolean value) ``` public final void setHideMenuBar(boolean value) ``` Specifies whether menu bar should be hidden when document is active. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHideToolBar() ``` public final boolean getHideToolBar() ``` Specifies whether toolbar should be hidden when document is active. Default: false. **Returns:** boolean ##### setHideToolBar(boolean value) ``` public final void setHideToolBar(boolean value) ``` Specifies whether toolbar should be hidden when document is active. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getHideWindowUI() ``` public final boolean getHideWindowUI() ``` Specifies whether user interface elements should be hidden when document is active. Default: false. **Returns:** boolean ##### setHideWindowUI(boolean value) ``` public final void setHideWindowUI(boolean value) ``` Specifies whether user interface elements should be hidden when document is active. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getNonFullScreenPageMode() ``` public final PdfPageMode getNonFullScreenPageMode() ``` Sets page mode, specifying how to display the document on exiting full-screen mode. **Returns:** PdfPageMode ##### setNonFullScreenPageMode(PdfPageMode value) ``` public final void setNonFullScreenPageMode(PdfPageMode value) ``` Sets page mode, specifying how to display the document on exiting full-screen mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfPageMode | | ##### getPageLayout() ``` public final PdfPageLayout getPageLayout() ``` Sets page layout which shall be used when the document is opened. **Returns:** PdfPageLayout ##### setPageLayout(PdfPageLayout value) ``` public final void setPageLayout(PdfPageLayout value) ``` Sets page layout which shall be used when the document is opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfPageLayout | | ##### getPageMode() ``` public final PdfPageMode getPageMode() ``` Sets page mode, specifying how document should be displayed when opened. **Returns:** PdfPageMode ##### setPageMode(PdfPageMode value) ``` public final void setPageMode(PdfPageMode value) ``` Sets page mode, specifying how document should be displayed when opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfPageMode | | ### PdfOptimizationOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfoptimizationoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfOptimizationOptions extends ValueObject implements Serializable ``` Defines Pdf optimization options. #### Constructors | Constructor | Description | | --- | --- | | PdfOptimizationOptions() | Initializes new instance of PdfOptimizationOptions class. | #### Methods | Method | Description | | --- | --- | | getLinkDuplicateStreams() | Link duplicate streams | | setLinkDuplicateStreams(boolean value) | Link duplicate streams | | getRemoveUnusedObjects() | Remove unused objects | | setRemoveUnusedObjects(boolean value) | Remove unused objects | | getRemoveUnusedStreams() | Remove unused streams | | setRemoveUnusedStreams(boolean value) | Remove unused streams | | getCompressImages() | If CompressImages set to true , all images in the document are recompressed. | | setCompressImages(boolean value) | If CompressImages set to true , all images in the document are recompressed. | | getImageQuality() | Value in percent where 100% is unchanged quality and image size. | | setImageQuality(int value) | Value in percent where 100% is unchanged quality and image size. | | getUnembedFonts() | Make fonts not embedded if set to true | | setUnembedFonts(boolean value) | Make fonts not embedded if set to true | | getFontSubsetStrategy() | | | setFontSubsetStrategy(PdfFontSubsetStrategy fontSubsetStrategy) | Set font subset strategy | ##### PdfOptimizationOptions() ``` public PdfOptimizationOptions() ``` Initializes new instance of PdfOptimizationOptions class. ##### getLinkDuplicateStreams() ``` public final boolean getLinkDuplicateStreams() ``` Link duplicate streams **Returns:** boolean ##### setLinkDuplicateStreams(boolean value) ``` public final void setLinkDuplicateStreams(boolean value) ``` Link duplicate streams **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRemoveUnusedObjects() ``` public final boolean getRemoveUnusedObjects() ``` Remove unused objects **Returns:** boolean ##### setRemoveUnusedObjects(boolean value) ``` public final void setRemoveUnusedObjects(boolean value) ``` Remove unused objects **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRemoveUnusedStreams() ``` public final boolean getRemoveUnusedStreams() ``` Remove unused streams **Returns:** boolean ##### setRemoveUnusedStreams(boolean value) ``` public final void setRemoveUnusedStreams(boolean value) ``` Remove unused streams **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getCompressImages() ``` public final boolean getCompressImages() ``` If CompressImages set to true , all images in the document are recompressed. The compression is defined by the ImageQuality property. **Returns:** boolean ##### setCompressImages(boolean value) ``` public final void setCompressImages(boolean value) ``` If CompressImages set to true , all images in the document are recompressed. The compression is defined by the ImageQuality property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getImageQuality() ``` public final int getImageQuality() ``` Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100 **Returns:** int ##### setImageQuality(int value) ``` public final void setImageQuality(int value) ``` Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100 **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getUnembedFonts() ``` public final boolean getUnembedFonts() ``` Make fonts not embedded if set to true **Returns:** boolean ##### setUnembedFonts(boolean value) ``` public final void setUnembedFonts(boolean value) ``` Make fonts not embedded if set to true **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFontSubsetStrategy() ``` public PdfFontSubsetStrategy getFontSubsetStrategy() ``` **Returns:** PdfFontSubsetStrategy ##### setFontSubsetStrategy(PdfFontSubsetStrategy fontSubsetStrategy) ``` public void setFontSubsetStrategy(PdfFontSubsetStrategy fontSubsetStrategy) ``` Set font subset strategy **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontSubsetStrategy | PdfFontSubsetStrategy | | ### PdfOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfOptions extends ValueObject implements Serializable ``` Options for conversion to Pdf file type. #### Constructors | Constructor | Description | | --- | --- | | PdfOptions() | ctor | #### Methods | Method | Description | | --- | --- | | getPdfFormat() | Sets the pdf format of the converted document. | | setPdfFormat(PdfFormats value) | Sets the pdf format of the converted document. | | getRemovePdfACompliance() | Removes Pdf-A Compliance | | setRemovePdfACompliance(boolean value) | Removes Pdf-A Compliance | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | | getLinearize() | Linearizes PDF Document for the Web | | setLinearize(boolean value) | Linearizes PDF Document for the Web | | getOptimizationOptions() | Pdf optimization options | | setOptimizationOptions(PdfOptimizationOptions value) | Pdf optimization options | | getGrayscale() | Convert a PDF from RGB colorspace to grayscale | | setGrayscale(boolean value) | Convert a PDF from RGB colorspace to grayscale | | getFormattingOptions() | Pdf formatting options | | setFormattingOptions(PdfFormattingOptions value) | Pdf formatting options | | getDocumentInfo() | Meta information of PDF document. | | setDocumentInfo(PdfDocumentInfo documentInfo) | | ##### PdfOptions() ``` public PdfOptions() ``` ctor ##### getPdfFormat() ``` public final PdfFormats getPdfFormat() ``` Sets the pdf format of the converted document. **Returns:** PdfFormats ##### setPdfFormat(PdfFormats value) ``` public final void setPdfFormat(PdfFormats value) ``` Sets the pdf format of the converted document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfFormats | | ##### getRemovePdfACompliance() ``` public final boolean getRemovePdfACompliance() ``` Removes Pdf-A Compliance **Returns:** boolean ##### setRemovePdfACompliance(boolean value) ``` public final void setRemovePdfACompliance(boolean value) ``` Removes Pdf-A Compliance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getLinearize() ``` public final boolean getLinearize() ``` Linearizes PDF Document for the Web **Returns:** boolean ##### setLinearize(boolean value) ``` public final void setLinearize(boolean value) ``` Linearizes PDF Document for the Web **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOptimizationOptions() ``` public final PdfOptimizationOptions getOptimizationOptions() ``` Pdf optimization options **Returns:** PdfOptimizationOptions ##### setOptimizationOptions(PdfOptimizationOptions value) ``` public final void setOptimizationOptions(PdfOptimizationOptions value) ``` Pdf optimization options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfOptimizationOptions | | ##### getGrayscale() ``` public final boolean getGrayscale() ``` Convert a PDF from RGB colorspace to grayscale **Returns:** boolean ##### setGrayscale(boolean value) ``` public final void setGrayscale(boolean value) ``` Convert a PDF from RGB colorspace to grayscale **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFormattingOptions() ``` public final PdfFormattingOptions getFormattingOptions() ``` Pdf formatting options **Returns:** PdfFormattingOptions ##### setFormattingOptions(PdfFormattingOptions value) ``` public final void setFormattingOptions(PdfFormattingOptions value) ``` Pdf formatting options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PdfFormattingOptions | | ##### getDocumentInfo() ``` public PdfDocumentInfo getDocumentInfo() ``` Meta information of PDF document. **Returns:** PdfDocumentInfo ##### setDocumentInfo(PdfDocumentInfo documentInfo) ``` public void setDocumentInfo(PdfDocumentInfo documentInfo) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentInfo | PdfDocumentInfo | | ### PdfPageLayout Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfpagelayout.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PdfPageLayout extends Enumeration implements Serializable ``` Describes Pdf page layout. #### Constructors | Constructor | Description | | --- | --- | | PdfPageLayout() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Default | Default layout. | | SinglePage | Single page. | | OneColumn | Display pages in one column. | | TwoColumnLeft | Display the pages in two columns, with odd-numbered pages on the left. | | TwoColumnRight | Display the pages in two columns, with odd-numbered pages on the right. | | TwoPagesLeft | Display the pages two at a time, with odd-numbered pages on the left. | | TwoPagesRight | Display the pages two at a time, with odd-numbered pages on the right. | ##### PdfPageLayout() ``` public PdfPageLayout() ``` Serialization constructor ##### Default ``` public static final PdfPageLayout Default ``` Default layout. ##### SinglePage ``` public static final PdfPageLayout SinglePage ``` Single page. ##### OneColumn ``` public static final PdfPageLayout OneColumn ``` Display pages in one column. ##### TwoColumnLeft ``` public static final PdfPageLayout TwoColumnLeft ``` Display the pages in two columns, with odd-numbered pages on the left. ##### TwoColumnRight ``` public static final PdfPageLayout TwoColumnRight ``` Display the pages in two columns, with odd-numbered pages on the right. ##### TwoPagesLeft ``` public static final PdfPageLayout TwoPagesLeft ``` Display the pages two at a time, with odd-numbered pages on the left. ##### TwoPagesRight ``` public static final PdfPageLayout TwoPagesRight ``` Display the pages two at a time, with odd-numbered pages on the right. ### PdfPageMode Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfpagemode.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PdfPageMode extends Enumeration implements Serializable ``` Describes Pdf page mode #### Constructors | Constructor | Description | | --- | --- | | PdfPageMode() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | UseNone | Don't use any components. | | UseOutlines | Document outline visible. | | UseThumbs | Thumbnail images visible. | | FullScreen | FullScreenFull-screen mode, with no menu bar, window controls, or any other window visible. | | UseOC | Optional content group panel visible. | | UseAttachments | Attachments panel visible. | ##### PdfPageMode() ``` public PdfPageMode() ``` Serialization constructor ##### UseNone ``` public static final PdfPageMode UseNone ``` Don't use any components. ##### UseOutlines ``` public static final PdfPageMode UseOutlines ``` Document outline visible. ##### UseThumbs ``` public static final PdfPageMode UseThumbs ``` Thumbnail images visible. ##### FullScreen ``` public static final PdfPageMode FullScreen ``` FullScreenFull-screen mode, with no menu bar, window controls, or any other window visible. ##### UseOC ``` public static final PdfPageMode UseOC ``` Optional content group panel visible. ##### UseAttachments ``` public static final PdfPageMode UseAttachments ``` Attachments panel visible. ### PdfRecognitionMode Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/pdfrecognitionmode.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PdfRecognitionMode extends Enum ``` #### Fields | Field | Description | | --- | --- | | TEXTBOX | | | FLOW | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getKey() | | | getName() | | ##### TEXTBOX ``` public static final PdfRecognitionMode TEXTBOX ``` ##### FLOW ``` public static final PdfRecognitionMode FLOW ``` ##### values() ``` public static PdfRecognitionMode[] values() ``` **Returns:** com.groupdocs.conversion.options.convert.PdfRecognitionMode[] ##### valueOf(String name) ``` public static PdfRecognitionMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PdfRecognitionMode ##### getKey() ``` public String getKey() ``` **Returns:** java.lang.String ##### getName() ``` public String getName() ``` **Returns:** java.lang.String ### PresentationConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/presentationconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public class PresentationConvertOptions extends CommonConvertOptions implements Serializable ``` Describes options for conversion to Presentation file type. #### Constructors | Constructor | Description | | --- | --- | | PresentationConvertOptions() | Initializes new instance of PresentationConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | ##### PresentationConvertOptions() ``` public PresentationConvertOptions() ``` Initializes new instance of PresentationConvertOptions class. ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### ProjectManagementConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/projectmanagementconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions ``` public class ProjectManagementConvertOptions extends ConvertOptions ``` Options for conversion to Project management file type. #### Constructors | Constructor | Description | | --- | --- | | ProjectManagementConvertOptions() | Initializes new instance of class. | ##### ProjectManagementConvertOptions() ``` public ProjectManagementConvertOptions() ``` Initializes new instance of class. ### PsdColorModes Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/psdcolormodes.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PsdColorModes extends Enumeration implements Serializable ``` Defines Psd color modes enumeration. #### Constructors | Constructor | Description | | --- | --- | | PsdColorModes() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Bitmap | Bitmap. | | Grayscale | Grayscale. | | Indexed | Indexed. | | Rgb | RGB. | | Cmyk | CMYK. | | Multichannel | Multichannel. | | Duotone | Duotone. | | Lab | Lab. | ##### PsdColorModes() ``` public PsdColorModes() ``` Serialization constructor ##### Bitmap ``` public static final PsdColorModes Bitmap ``` Bitmap. ##### Grayscale ``` public static final PsdColorModes Grayscale ``` Grayscale. ##### Indexed ``` public static final PsdColorModes Indexed ``` Indexed. ##### Rgb ``` public static final PsdColorModes Rgb ``` RGB. ##### Cmyk ``` public static final PsdColorModes Cmyk ``` CMYK. ##### Multichannel ``` public static final PsdColorModes Multichannel ``` Multichannel. ##### Duotone ``` public static final PsdColorModes Duotone ``` Duotone. ##### Lab ``` public static final PsdColorModes Lab ``` Lab. ### PsdCompressionMethods Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/psdcompressionmethods.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class PsdCompressionMethods extends Enumeration implements Serializable ``` Describes Psd compression methods. #### Constructors | Constructor | Description | | --- | --- | | PsdCompressionMethods() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Raw | RAW. | | Rle | RLE. | | ZipWithoutPrediction | ZipWithoutPrediction. | | ZipWithPrediction | ZipWithPrediction. | ##### PsdCompressionMethods() ``` public PsdCompressionMethods() ``` Serialization constructor ##### Raw ``` public static final PsdCompressionMethods Raw ``` RAW. ##### Rle ``` public static final PsdCompressionMethods Rle ``` RLE. ##### ZipWithoutPrediction ``` public static final PsdCompressionMethods ZipWithoutPrediction ``` ZipWithoutPrediction. ##### ZipWithPrediction ``` public static final PsdCompressionMethods ZipWithPrediction ``` ZipWithPrediction. ### PsdOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/psdoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class PsdOptions extends ValueObject implements Serializable ``` Options for converting to Psd file type. #### Constructors | Constructor | Description | | --- | --- | | PsdOptions() | Initializes new instance of PsdOptions class. | #### Methods | Method | Description | | --- | --- | | getChannelBitsCount() | Bits count per color channel. | | setChannelBitsCount(short value) | Bits count per color channel. | | getChannelsCount() | Color channels count. | | setChannelsCount(short value) | Color channels count. | | getColorMode() | Psd color mode. | | setColorMode(PsdColorModes value) | Psd color mode. | | getCompression() | Psd compression method. | | setCompression(PsdCompressionMethods value) | Psd compression method. | | getVersion() | Psd file version. | | setVersion(int value) | Psd file version. | ##### PsdOptions() ``` public PsdOptions() ``` Initializes new instance of PsdOptions class. ##### getChannelBitsCount() ``` public final short getChannelBitsCount() ``` Bits count per color channel. **Returns:** short ##### setChannelBitsCount(short value) ``` public final void setChannelBitsCount(short value) ``` Bits count per color channel. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | short | | ##### getChannelsCount() ``` public final short getChannelsCount() ``` Color channels count. **Returns:** short ##### setChannelsCount(short value) ``` public final void setChannelsCount(short value) ``` Color channels count. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | short | | ##### getColorMode() ``` public final PsdColorModes getColorMode() ``` Psd color mode. **Returns:** PsdColorModes ##### setColorMode(PsdColorModes value) ``` public final void setColorMode(PsdColorModes value) ``` Psd color mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PsdColorModes | | ##### getCompression() ``` public final PsdCompressionMethods getCompression() ``` Psd compression method. **Returns:** PsdCompressionMethods ##### setCompression(PsdCompressionMethods value) ``` public final void setCompression(PsdCompressionMethods value) ``` Psd compression method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PsdCompressionMethods | | ##### getVersion() ``` public final int getVersion() ``` Psd file version. **Returns:** int ##### setVersion(int value) ``` public final void setVersion(int value) ``` Psd file version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### Rotation Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/rotation.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class Rotation extends Enumeration implements Serializable ``` Describes page rotation enumeration #### Constructors | Constructor | Description | | --- | --- | | Rotation() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | None | None. | | On90 | 90 degrees. | | On180 | 180 degrees. | | On270 | 270 degrees. | ##### Rotation() ``` public Rotation() ``` Serialization constructor ##### None ``` public static final Rotation None ``` None. ##### On90 ``` public static final Rotation On90 ``` 90 degrees. ##### On180 ``` public static final Rotation On180 ``` 180 degrees. ##### On270 ``` public static final Rotation On270 ``` 270 degrees. ### RtfOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/rtfoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class RtfOptions extends ValueObject implements Serializable ``` Options for conversion to RTF file type. #### Constructors | Constructor | Description | | --- | --- | | RtfOptions() | | #### Methods | Method | Description | | --- | --- | | getExportImagesForOldReaders() | Specifies whether the keywords for "old readers" are written to RTF or not. | | setExportImagesForOldReaders(boolean value) | Specifies whether the keywords for "old readers" are written to RTF or not. | ##### RtfOptions() ``` public RtfOptions() ``` ##### getExportImagesForOldReaders() ``` public final boolean getExportImagesForOldReaders() ``` Specifies whether the keywords for "old readers" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False. **Returns:** boolean ##### setExportImagesForOldReaders(boolean value) ``` public final void setExportImagesForOldReaders(boolean value) ``` Specifies whether the keywords for "old readers" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### SpreadsheetConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/spreadsheetconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable ``` public class SpreadsheetConvertOptions extends CommonConvertOptions implements Serializable ``` Options for conversion to Spreadsheet file type. #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetConvertOptions() | Initializes new instance of SpreadsheetConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | ##### SpreadsheetConvertOptions() ``` public SpreadsheetConvertOptions() ``` Initializes new instance of SpreadsheetConvertOptions class. ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### TiffCompressionMethods Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/tiffcompressionmethods.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class TiffCompressionMethods extends Enumeration implements Serializable ``` Describes Tiff compression methods enumeration. #### Constructors | Constructor | Description | | --- | --- | | TiffCompressionMethods() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Lzw | LZW compression. | | None | No compression. | | Ccitt3 | CCITT3 compression. | | Ccitt4 | CCITT4 compression. | | Rle | RLE compression. | ##### TiffCompressionMethods() ``` public TiffCompressionMethods() ``` Serialization constructor ##### Lzw ``` public static final TiffCompressionMethods Lzw ``` LZW compression. ##### None ``` public static final TiffCompressionMethods None ``` No compression. ##### Ccitt3 ``` public static final TiffCompressionMethods Ccitt3 ``` CCITT3 compression. ##### Ccitt4 ``` public static final TiffCompressionMethods Ccitt4 ``` CCITT4 compression. ##### Rle ``` public static final TiffCompressionMethods Rle ``` RLE compression. ### TiffOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/tiffoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class TiffOptions extends ValueObject implements Serializable ``` Options for conversion to TIFF file type. #### Constructors | Constructor | Description | | --- | --- | | TiffOptions() | ctor | #### Methods | Method | Description | | --- | --- | | getCompression() | Sets Tiff compression. | | setCompression(TiffCompressionMethods value) | Sets Tiff compression. | ##### TiffOptions() ``` public TiffOptions() ``` ctor ##### getCompression() ``` public final TiffCompressionMethods getCompression() ``` Sets Tiff compression. **Returns:** TiffCompressionMethods ##### setCompression(TiffCompressionMethods value) ``` public final void setCompression(TiffCompressionMethods value) ``` Sets Tiff compression. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffCompressionMethods | | ### WatermarkImageOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/watermarkimageoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.WatermarkOptions ``` public class WatermarkImageOptions extends WatermarkOptions ``` Options for settings watermark to the converted document #### Constructors | Constructor | Description | | --- | --- | | WatermarkImageOptions(byte[] image) | | #### Methods | Method | Description | | --- | --- | | getImage() | | ##### WatermarkImageOptions(byte[] image) ``` public WatermarkImageOptions(byte[] image) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | image | byte[] | | ##### getImage() ``` public byte[] getImage() ``` **Returns:** byte[] ### WatermarkOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/watermarkoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.lang.Cloneable, java.io.Serializable ``` public abstract class WatermarkOptions extends ValueObject implements Cloneable, Serializable ``` Options for settings watermark to the converted document #### Constructors | Constructor | Description | | --- | --- | | WatermarkOptions() | Create WatermarkOptions class and set watermark text | #### Methods | Method | Description | | --- | --- | | getWidth() | Watermark width | | setWidth(int value) | Watermark width | | getHeight() | Watermark height | | setHeight(int value) | Watermark height | | getTop() | Watermark top position | | setTop(int value) | Watermark top position | | getLeft() | Watermark left position | | setLeft(int value) | Watermark left position | | getRotationAngle() | Watermark rotation angle | | setRotationAngle(int value) | Watermark rotation angle | | getTransparency() | Watermark transparency. | | setTransparency(double value) | Watermark transparency. | | getBackground() | Indicates that the watermark is stamped as background. | | setBackground(boolean value) | Indicates that the watermark is stamped as background. | | isAutoAlign() | | | setAutoAlign(boolean autoAlign) | | | deepClone() | Clone current instance | ##### WatermarkOptions() ``` public WatermarkOptions() ``` Create WatermarkOptions class and set watermark text ##### getWidth() ``` public final int getWidth() ``` Watermark width **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Watermark width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Watermark height **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Watermark height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTop() ``` public final int getTop() ``` Watermark top position **Returns:** int ##### setTop(int value) ``` public final void setTop(int value) ``` Watermark top position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getLeft() ``` public final int getLeft() ``` Watermark left position **Returns:** int ##### setLeft(int value) ``` public final void setLeft(int value) ``` Watermark left position **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getRotationAngle() ``` public final int getRotationAngle() ``` Watermark rotation angle **Returns:** int ##### setRotationAngle(int value) ``` public final void setRotationAngle(int value) ``` Watermark rotation angle **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTransparency() ``` public final double getTransparency() ``` Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. **Returns:** double ##### setTransparency(double value) ``` public final void setTransparency(double value) ``` Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | | ##### getBackground() ``` public final boolean getBackground() ``` Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. **Returns:** boolean ##### setBackground(boolean value) ``` public final void setBackground(boolean value) ``` Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### isAutoAlign() ``` public boolean isAutoAlign() ``` **Returns:** boolean ##### setAutoAlign(boolean autoAlign) ``` public void setAutoAlign(boolean autoAlign) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | autoAlign | boolean | | ##### deepClone() ``` public final Object deepClone() ``` Clone current instance **Returns:** java.lang.Object - instance ### WatermarkTextOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/watermarktextoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.WatermarkOptions ``` public class WatermarkTextOptions extends WatermarkOptions ``` Options for settings text watermark to the converted document #### Constructors | Constructor | Description | | --- | --- | | WatermarkTextOptions(String text) | | #### Methods | Method | Description | | --- | --- | | getText() | Watermark text | | setText(String value) | Watermark text | | getWatermarkFont() | Watermark font if text watermark is applied | | setWatermarkFont(Font watermarkFont) | Sets Watermark font if text watermark is applied | | getColor() | Watermark font color if text watermark is applied | | getColorInternal() | | | setColor(int argb) | Watermark font color as argb if text watermark is applied | | setColor(String colorName) | Watermark font color name if text watermark is applied | | setColor(Color value) | Watermark font color if text watermark is applied | | getHexColor() | | ##### WatermarkTextOptions(String text) ``` public WatermarkTextOptions(String text) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | text | java.lang.String | | ##### getText() ``` public final String getText() ``` Watermark text **Returns:** java.lang.String ##### setText(String value) ``` public final void setText(String value) ``` Watermark text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getWatermarkFont() ``` public Font getWatermarkFont() ``` Watermark font if text watermark is applied **Returns:** Font - font ##### setWatermarkFont(Font watermarkFont) ``` public void setWatermarkFont(Font watermarkFont) ``` Sets Watermark font if text watermark is applied **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | watermarkFont | Font | font | ##### getColor() ``` public final Color getColor() ``` Watermark font color if text watermark is applied **Returns:** java.awt.Color ##### getColorInternal() ``` public System.Drawing.Color getColorInternal() ``` **Returns:** com.aspose.ms.System.Drawing.Color ##### setColor(int argb) ``` public final void setColor(int argb) ``` Watermark font color as argb if text watermark is applied **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | argb | int | | ##### setColor(String colorName) ``` public final void setColor(String colorName) ``` Watermark font color name if text watermark is applied **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | colorName | java.lang.String | | ##### setColor(Color value) ``` public final void setColor(Color value) ``` Watermark font color if text watermark is applied **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.awt.Color | | ##### getHexColor() ``` public String getHexColor() ``` **Returns:** java.lang.String ### WebConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/webconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions ``` public class WebConvertOptions extends CommonConvertOptions ``` Options for conversion to Web file type. #### Constructors | Constructor | Description | | --- | --- | | WebConvertOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | isUsePdf() | | | setUsePdf(boolean usePdf) | | | isFixedLayout() | | | setFixedLayout(boolean fixedLayout) | | | isFixedLayoutShowBorders() | | | setFixedLayoutShowBorders(boolean fixedLayoutShowBorders) | | | getZoom() | | | setZoom(int zoom) | | ##### WebConvertOptions() ``` public WebConvertOptions() ``` Initializes new instance of class. ##### isUsePdf() ``` public boolean isUsePdf() ``` **Returns:** boolean ##### setUsePdf(boolean usePdf) ``` public void setUsePdf(boolean usePdf) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | usePdf | boolean | | ##### isFixedLayout() ``` public boolean isFixedLayout() ``` **Returns:** boolean ##### setFixedLayout(boolean fixedLayout) ``` public void setFixedLayout(boolean fixedLayout) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fixedLayout | boolean | | ##### isFixedLayoutShowBorders() ``` public boolean isFixedLayoutShowBorders() ``` **Returns:** boolean ##### setFixedLayoutShowBorders(boolean fixedLayoutShowBorders) ``` public void setFixedLayoutShowBorders(boolean fixedLayoutShowBorders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fixedLayoutShowBorders | boolean | | ##### getZoom() ``` public int getZoom() ``` **Returns:** int ##### setZoom(int zoom) ``` public void setZoom(int zoom) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | zoom | int | | ### WebpOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/webpoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public final class WebpOptions extends ValueObject implements Serializable ``` Options for conversion to Webp file type. #### Constructors | Constructor | Description | | --- | --- | | WebpOptions() | | #### Methods | Method | Description | | --- | --- | | getLossless() | Indicates if the compression of the converted file will be lossless. | | setLossless(boolean value) | Indicates if the compression of the converted file will be lossless. | | getQuality() | Gets or sets the quality. | | setQuality(int value) | Gets or sets the quality. | ##### WebpOptions() ``` public WebpOptions() ``` ##### getLossless() ``` public final boolean getLossless() ``` Indicates if the compression of the converted file will be lossless. **Returns:** boolean ##### setLossless(boolean value) ``` public final void setLossless(boolean value) ``` Indicates if the compression of the converted file will be lossless. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getQuality() ``` public final int getQuality() ``` Gets or sets the quality. **Returns:** int ##### setQuality(int value) ``` public final void setQuality(int value) ``` Gets or sets the quality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### WordProcessingConvertOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.convert/wordprocessingconvertoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions, com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions ``` public class WordProcessingConvertOptions extends CommonConvertOptions implements Serializable, IPageMarginConvertOptions, IPageSizeConvertOptions, IPageOrientationConvertOptions, IPdfRecognitionModeOptions ``` Options for conversion to WordProcessing file type. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingConvertOptions() | Initializes new instance of WordProcessingConvertOptions class. | #### Methods | Method | Description | | --- | --- | | getDpi() | Desired page DPI after conversion. | | setDpi(int value) | Desired page DPI after conversion. | | getPassword() | Set this property if you want to protect the converted document with a password. | | setPassword(String value) | Set this property if you want to protect the converted document with a password. | | getRtfOptions() | RTF specific convert options | | setRtfOptions(RtfOptions value) | RTF specific convert options | | getZoom() | Specifies the zoom level in percentage. | | setZoom(int value) | Specifies the zoom level in percentage. | | getMarginTop() | Desired page top margin in pixels after conversion. | | setMarginTop(int value) | Desired page top margin in pixels after conversion. | | getMarginBottom() | Desired page bottom margin in pixels after conversion. | | setMarginBottom(int value) | Desired page bottom margin in pixels after conversion. | | getMarginLeft() | Desired page left margin in pixels after conversion. | | setMarginLeft(int value) | Desired page left margin in pixels after conversion. | | getMarginRight() | Desired page right margin in pixels after conversion. | | setMarginRight(int value) | Desired page right margin in pixels after conversion. | | getPageOrientation() | | | setPageOrientation(PageOrientation pageOrientation) | | | getPageSize() | | | setPageSize(PageSize pageSize) | | | getPageWidth() | | | setPageWidth(float pageWidth) | | | getPageHeight() | | | setPageHeight(float pageHeight) | | | getPdfRecognitionMode() | | | setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) | | ##### WordProcessingConvertOptions() ``` public WordProcessingConvertOptions() ``` Initializes new instance of WordProcessingConvertOptions class. ##### getDpi() ``` public final int getDpi() ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Returns:** int ##### setDpi(int value) ``` public final void setDpi(int value) ``` Desired page DPI after conversion. The default resolution is: 96 dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` Set this property if you want to protect the converted document with a password. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set this property if you want to protect the converted document with a password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getRtfOptions() ``` public final RtfOptions getRtfOptions() ``` RTF specific convert options **Returns:** RtfOptions ##### setRtfOptions(RtfOptions value) ``` public final void setRtfOptions(RtfOptions value) ``` RTF specific convert options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | RtfOptions | | ##### getZoom() ``` public final int getZoom() ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Returns:** int ##### setZoom(int value) ``` public final void setZoom(int value) ``` Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginTop() ``` public final int getMarginTop() ``` Desired page top margin in pixels after conversion. **Returns:** int ##### setMarginTop(int value) ``` public final void setMarginTop(int value) ``` Desired page top margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginBottom() ``` public final int getMarginBottom() ``` Desired page bottom margin in pixels after conversion. **Returns:** int ##### setMarginBottom(int value) ``` public final void setMarginBottom(int value) ``` Desired page bottom margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginLeft() ``` public final int getMarginLeft() ``` Desired page left margin in pixels after conversion. **Returns:** int ##### setMarginLeft(int value) ``` public final void setMarginLeft(int value) ``` Desired page left margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMarginRight() ``` public final int getMarginRight() ``` Desired page right margin in pixels after conversion. **Returns:** int ##### setMarginRight(int value) ``` public final void setMarginRight(int value) ``` Desired page right margin in pixels after conversion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPageOrientation() ``` public PageOrientation getPageOrientation() ``` Gets page orientation after conversion **Returns:** PageOrientation ##### setPageOrientation(PageOrientation pageOrientation) ``` public void setPageOrientation(PageOrientation pageOrientation) ``` Sets desired page orientation after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageOrientation | PageOrientation | | ##### getPageSize() ``` public PageSize getPageSize() ``` Gets desired page size after conversion **Returns:** PageSize ##### setPageSize(PageSize pageSize) ``` public void setPageSize(PageSize pageSize) ``` Set desired page size after conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageSize | PageSize | | ##### getPageWidth() ``` public float getPageWidth() ``` Specified page width in points if is set to PageSize.Custom **Returns:** float ##### setPageWidth(float pageWidth) ``` public void setPageWidth(float pageWidth) ``` Set desired page width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageWidth | float | | ##### getPageHeight() ``` public float getPageHeight() ``` Specified page height in points if is set to PageSize.Custom **Returns:** float ##### setPageHeight(float pageHeight) ``` public void setPageHeight(float pageHeight) ``` Set desired page height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageHeight | float | | ##### getPdfRecognitionMode() ``` public PdfRecognitionMode getPdfRecognitionMode() ``` Gets recognition mode when converting from pdf **Returns:** PdfRecognitionMode ##### setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) ``` public void setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode) ``` Sets recognition mode when converting from pdf **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pdfRecognitionMode | PdfRecognitionMode | | ### com.groupdocs.conversion.options.load Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load.md The GroupDocs.Conversion.Options.Load namespace provides classes to specify additional options for document loading process. #### Classes | Class | Description | | --- | --- | | AudioLoadOptions | | | CadDrawTypeMode | Represents possible modes for colorization of objects. | | CadLoadOptions | Options for loading CAD documents. | | CompressionLoadOptions | Options for loading compression documents. | | CsvLoadOptions | Options for loading Csv documents. | | DatabaseLoadOptions | Options for loading database documents. | | DiagramLoadOptions | Options for loading Diagram documents. | | EBookLoadOptions | Options for loading EBook documents. | | EmailField | Describes email fields enumeration | | EmailLoadOptions | Options for loading Email documents. | | EmptyLoadOptions | Base class for load options | | EpubLoadOptions | Options for loading Epub documents. | | FontLoadOptions | Options for loading Font documents. | | ImageLoadOptions | Options for loading Image documents. | | ImageRecognitionLanguage | Image Recognition Language | | LoadOptions | Abstract document load options class. | | MboxLoadOptions | Options for loading Mbox documents. | | NoteLoadOptions | Options for loading One documents. | | NsfLoadOptions | Options for loading Nsf documents. | | OlmLoadOptions | Options for loading Olm documents. | | PageDescriptionLanguageLoadOptions | Options for loading page description language documents. | | PdfLoadOptions | Options for loading Pdf documents. | | PersonalStorageLoadOptions | Options for loading personal storage documents. | | PresentationLoadOptions | Options for loading Presentation documents. | | PublisherLoadOptions | Options for loading Publisher documents. | | SpreadsheetLoadOptions | Options for loading Spreadsheet documents. | | TsvLoadOptions | Options for loading Tsv documents. | | TxtLeadingSpacesOptions | Describes txt leading spaces options enumeration. | | TxtLoadOptions | Options for loading Txt documents. | | TxtTrailingSpacesOptions | Describes txt trailing spaces options enumeration. | | VcfLoadOptions | Options for loading Vcf documents. | | VideoLoadOptions | Options for loading video documents. | | WebLoadOptions | Options for loading web documents. | | WordProcessingBookmarksOptions | Options for handling bookmarks in WordProcessing | | WordProcessingLoadOptions | Options for loading WordProcessing documents. | | XmlLoadOptions | Options for loading XML documents. | ### AudioLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/audioloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class AudioLoadOptions extends LoadOptions ``` #### Constructors | Constructor | Description | | --- | --- | | AudioLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getAudioConnector() | | | setAudioConnector(IAudioConnector audioConnector) | Sets audio connector | ##### AudioLoadOptions() ``` public AudioLoadOptions() ``` Initializes new instance of class. ##### getAudioConnector() ``` public IAudioConnector getAudioConnector() ``` **Returns:** IAudioConnector ##### setAudioConnector(IAudioConnector audioConnector) ``` public void setAudioConnector(IAudioConnector audioConnector) ``` Sets audio connector **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | audioConnector | IAudioConnector | Audio connector | ### CadDrawTypeMode Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/caddrawtypemode.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration ``` public class CadDrawTypeMode extends Enumeration ``` Represents possible modes for colorization of objects. #### Constructors | Constructor | Description | | --- | --- | | CadDrawTypeMode() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | UseDrawColor | Allows to use common color. | | UseObjectColor | Allows to use separate color for every object. | ##### CadDrawTypeMode() ``` public CadDrawTypeMode() ``` Serialization constructor ##### UseDrawColor ``` public static final CadDrawTypeMode UseDrawColor ``` Allows to use common color. ##### UseObjectColor ``` public static final CadDrawTypeMode UseObjectColor ``` Allows to use separate color for every object. ### CadLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/cadloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class CadLoadOptions extends LoadOptions implements Serializable ``` Options for loading CAD documents. #### Constructors | Constructor | Description | | --- | --- | | CadLoadOptions() | Initializes new instance of CadLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getWidth() | Sets desired page width for converting CAD document | | setWidth(int value) | Sets desired page width for converting CAD document | | getHeight() | Sets desired page height for converting CAD document | | setHeight(int value) | Sets desired page height for converting CAD document | | getLayoutNames() | Specifies which CAD layouts to be converted | | setLayoutNames(String[] value) | Specififies which CAD layouts to be converted | | getDrawType() | Gets type of drawing. | | setDrawType(CadDrawTypeMode drawType) | Sets type of drawing. | | getBackgroundColor() | Gets a background color. | | setBackgroundColor(System.Drawing.Color backgroundColor) | Sets a background color. | | getFontDirectories() | | | setFontDirectories(List fontDirectories) | | ##### CadLoadOptions() ``` public CadLoadOptions() ``` Initializes new instance of CadLoadOptions class. ##### getFormat() ``` public CadFileType getFormat() ``` Input document file type **Returns:** CadFileType ##### getWidth() ``` public final int getWidth() ``` Sets desired page width for converting CAD document **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets desired page width for converting CAD document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Sets desired page height for converting CAD document **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets desired page height for converting CAD document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getLayoutNames() ``` public final String[] getLayoutNames() ``` Specifies which CAD layouts to be converted **Returns:** java.lang.String[] ##### setLayoutNames(String[] value) ``` public final void setLayoutNames(String[] value) ``` Specififies which CAD layouts to be converted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | | ##### getDrawType() ``` public CadDrawTypeMode getDrawType() ``` Gets type of drawing. **Returns:** CadDrawTypeMode ##### setDrawType(CadDrawTypeMode drawType) ``` public void setDrawType(CadDrawTypeMode drawType) ``` Sets type of drawing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | drawType | CadDrawTypeMode | | ##### getBackgroundColor() ``` public System.Drawing.Color getBackgroundColor() ``` Gets a background color. **Returns:** com.aspose.ms.System.Drawing.Color ##### setBackgroundColor(System.Drawing.Color backgroundColor) ``` public void setBackgroundColor(System.Drawing.Color backgroundColor) ``` Sets a background color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | backgroundColor | com.aspose.ms.System.Drawing.Color | | ##### getFontDirectories() ``` public List getFontDirectories() ``` **Returns:** java.util.List ##### setFontDirectories(List fontDirectories) ``` public void setFontDirectories(List fontDirectories) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontDirectories | java.util.List | | ### CompressionLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/compressionloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class CompressionLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions ``` Options for loading compression documents. #### Constructors | Constructor | Description | | --- | --- | | CompressionLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | isConvertOwner() | The owner will not be converted | | isConvertOwned() | | | getDepth() | | | setDepth(int depth) | | | getPassword() | | | setPassword(String password) | Set password to load protected document. | | getEqualityComponents() | | ##### CompressionLoadOptions() ``` public CompressionLoadOptions() ``` Initializes new instance of class. ##### isConvertOwner() ``` public boolean isConvertOwner() ``` The owner will not be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ##### getPassword() ``` public String getPassword() ``` **Returns:** java.lang.String ##### setPassword(String password) ``` public void setPassword(String password) ``` Set password to load protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | password | ##### getEqualityComponents() ``` public List getEqualityComponents() ``` **Returns:** java.util.List ### CsvLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/csvloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions, com.groupdocs.conversion.options.load.SpreadsheetLoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class CsvLoadOptions extends SpreadsheetLoadOptions implements Serializable ``` Options for loading Csv documents. #### Constructors | Constructor | Description | | --- | --- | | CsvLoadOptions() | Initializes new instance of CsvLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getSeparator() | Delimiter of a Csv file. | | setSeparator(String value) | Delimiter of a Csv file. | | setSeparator(char value) | Delimiter of a Csv file. | | isMultiEncoded() | True means the file contains several encodings. | | setMultiEncoded(boolean value) | True means the file contains several encodings. | | hasFormula() | Indicates whether text is formula if it starts with "=". | | setFormula(boolean value) | Indicates whether text is formula if it starts with "=". | | getConvertNumericData() | Indicates whether the string in the file is converted to numeric. | | setConvertNumericData(boolean value) | Indicates whether the string in the file is converted to numeric. | | getConvertDateTimeData() | Indicates whether the string in the file is converted to date. | | setConvertDateTimeData(boolean value) | Indicates whether the string in the file is converted to date. | | getEncoding() | Encoding. | | getEncodingInternal() | | | setEncoding(Charset value) | Encoding. | | setEncoding(String charsetName) | Gets or sets the encoding that will be used when loading Txt document. | | setEncodingInternal(System.Text.Encoding value) | | ##### CsvLoadOptions() ``` public CsvLoadOptions() ``` Initializes new instance of CsvLoadOptions class. ##### getSeparator() ``` public final char getSeparator() ``` Delimiter of a Csv file. **Returns:** char ##### setSeparator(String value) ``` public final void setSeparator(String value) ``` Delimiter of a Csv file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### setSeparator(char value) ``` public final void setSeparator(char value) ``` Delimiter of a Csv file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | char | | ##### isMultiEncoded() ``` public final boolean isMultiEncoded() ``` True means the file contains several encodings. **Returns:** boolean ##### setMultiEncoded(boolean value) ``` public final void setMultiEncoded(boolean value) ``` True means the file contains several encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### hasFormula() ``` public final boolean hasFormula() ``` Indicates whether text is formula if it starts with "=". **Returns:** boolean ##### setFormula(boolean value) ``` public final void setFormula(boolean value) ``` Indicates whether text is formula if it starts with "=". **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertNumericData() ``` public final boolean getConvertNumericData() ``` Indicates whether the string in the file is converted to numeric. Default is True. **Returns:** boolean ##### setConvertNumericData(boolean value) ``` public final void setConvertNumericData(boolean value) ``` Indicates whether the string in the file is converted to numeric. Default is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertDateTimeData() ``` public final boolean getConvertDateTimeData() ``` Indicates whether the string in the file is converted to date. Default is True. **Returns:** boolean ##### setConvertDateTimeData(boolean value) ``` public final void setConvertDateTimeData(boolean value) ``` Indicates whether the string in the file is converted to date. Default is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getEncoding() ``` public final Charset getEncoding() ``` Encoding. Default is Encoding.Default. **Returns:** java.nio.charset.Charset ##### getEncodingInternal() ``` public System.Text.Encoding getEncodingInternal() ``` **Returns:** com.aspose.ms.System.Text.Encoding ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Encoding. Default is Encoding.Default. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### setEncoding(String charsetName) ``` public final void setEncoding(String charsetName) ``` Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | charsetName | java.lang.String | | ##### setEncodingInternal(System.Text.Encoding value) ``` public void setEncodingInternal(System.Text.Encoding value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.aspose.ms.System.Text.Encoding | | ### DatabaseLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/databaseloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class DatabaseLoadOptions extends LoadOptions ``` Options for loading database documents. #### Constructors | Constructor | Description | | --- | --- | | DatabaseLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(DatabaseFileType format) | Sets Input document file type. | ##### DatabaseLoadOptions() ``` public DatabaseLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public DatabaseFileType getFormat() ``` Gets Input document file type. **Returns:** DatabaseFileType ##### setFormat(DatabaseFileType format) ``` public void setFormat(DatabaseFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | DatabaseFileType | | ### DiagramLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/diagramloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class DiagramLoadOptions extends LoadOptions implements Serializable ``` Options for loading Diagram documents. #### Constructors | Constructor | Description | | --- | --- | | DiagramLoadOptions() | Initializes new instance of DiagramLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Diagram document. | | setDefaultFont(String value) | Default font for Diagram document. | ##### DiagramLoadOptions() ``` public DiagramLoadOptions() ``` Initializes new instance of DiagramLoadOptions class. ##### getFormat() ``` public final DiagramFileType getFormat() ``` Input document file type **Returns:** DiagramFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Diagram document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Diagram document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### EBookLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/ebookloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class EBookLoadOptions extends LoadOptions ``` Options for loading EBook documents. #### Constructors | Constructor | Description | | --- | --- | | EBookLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(EBookFileType format) | Sets Input document file type. | ##### EBookLoadOptions() ``` public EBookLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public EBookFileType getFormat() ``` Gets Input document file type. **Returns:** EBookFileType ##### setFormat(EBookFileType format) ``` public void setFormat(EBookFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | EBookFileType | | ### EmailField Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/emailfield.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class EmailField extends Enumeration implements Serializable ``` Describes email fields enumeration #### Constructors | Constructor | Description | | --- | --- | | EmailField() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Start | Default field text is "Start". | | Attachments | Default field text is "Attachments". | | Cc | Default field text is "Cc". | | Bcc | Default field text is "Bcc". | | End | Default field text is "End". | | From | Default field text is "From". | | Importance | Default field text is "Importance". | | Location | Default field text is "Location". | | Organizer | Default field text is "Organizer". | | PageHeader | Default field text is "PageHeader". | | Recurrence | Default field text is "Recurrence". | | RecurrencePattern | Default field text is "RecurrencePattern". | | RequiredAttendees | Default field text is "RequiredAttendees". | | Sent | Default field text is "Sent". | | ShowTimeAs | Default field text is "ShowTimeAs". | | Subject | Default field text is "Subject". | | TabField | Default field text is "TabField". | | To | Default field text is "To". | ##### EmailField() ``` public EmailField() ``` Serialization constructor ##### Start ``` public static final EmailField Start ``` Default field text is "Start". ##### Attachments ``` public static final EmailField Attachments ``` Default field text is "Attachments". ##### Cc ``` public static final EmailField Cc ``` Default field text is "Cc". ##### Bcc ``` public static final EmailField Bcc ``` Default field text is "Bcc". ##### End ``` public static final EmailField End ``` Default field text is "End". ##### From ``` public static final EmailField From ``` Default field text is "From". ##### Importance ``` public static final EmailField Importance ``` Default field text is "Importance". ##### Location ``` public static final EmailField Location ``` Default field text is "Location". ##### Organizer ``` public static final EmailField Organizer ``` Default field text is "Organizer". ##### PageHeader ``` public static final EmailField PageHeader ``` Default field text is "PageHeader". ##### Recurrence ``` public static final EmailField Recurrence ``` Default field text is "Recurrence". ##### RecurrencePattern ``` public static final EmailField RecurrencePattern ``` Default field text is "RecurrencePattern". ##### RequiredAttendees ``` public static final EmailField RequiredAttendees ``` Default field text is "RequiredAttendees". ##### Sent ``` public static final EmailField Sent ``` Default field text is "Sent". ##### ShowTimeAs ``` public static final EmailField ShowTimeAs ``` Default field text is "ShowTimeAs". ##### Subject ``` public static final EmailField Subject ``` Default field text is "Subject". ##### TabField ``` public static final EmailField TabField ``` Default field text is "TabField". ##### To ``` public static final EmailField To ``` Default field text is "To". ### EmailLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/emailloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions, java.lang.Cloneable, java.io.Serializable ``` public final class EmailLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions, Cloneable, Serializable ``` Options for loading Email documents. #### Constructors | Constructor | Description | | --- | --- | | EmailLoadOptions() | Initializes new instance of EmailLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDisplayHeader() | Option to display or hide the email header. | | setDisplayHeader(boolean value) | Option to display or hide the email header. | | getDisplayFromEmailAddress() | Option to display or hide "from" email address. | | setDisplayFromEmailAddress(boolean value) | Option to display or hide "from" email address. | | getDisplayEmailAddress() | Option to display or hide email address. | | setDisplayEmailAddress(boolean value) | Option to display or hide email address. | | getDisplayToEmailAddress() | Option to display or hide "to" email address. | | setDisplayToEmailAddress(boolean value) | Option to display or hide "to" email address. | | getDisplayCcEmailAddress() | Option to display or hide "Cc" email address. | | setDisplayCcEmailAddress(boolean value) | Option to display or hide "Cc" email address. | | getDisplayBccEmailAddress() | Option to display or hide "Bcc" email address. | | setDisplayBccEmailAddress(boolean value) | Option to display or hide "Bcc" email address. | | getTimeZoneOffset() | Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. | | getTimeZoneOffsetInternal() | | | getResourceLoadingTimeout() | Timeout for loading external resources | | setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) | Timeout for loading external resources (setter) | | setTimeZoneOffset(Double value) | Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. | | deepClone() | Clones current instance. | | getFieldTextMap() | Gets the mapping between email message and field text representation | | setFieldTextMap(Map fieldTextMap) | Sets the mapping between email message and field text representation | | isPreserveOriginalDate() | Defines whether need to keep original date header string in mail message when saving or not (Default value is true) | | setPreserveOriginalDate(boolean preserveOriginalDate) | Defines whether need to keep original date header string in mail message when saving or not | | isConvertOwner() | | | setConvertOwner(boolean convertOwner) | | | isConvertOwned() | | | setConvertOwned(boolean convertOwned) | | | getDepth() | | | setDepth(int depth) | | ##### EmailLoadOptions() ``` public EmailLoadOptions() ``` Initializes new instance of EmailLoadOptions class. ##### getFormat() ``` public final EmailFileType getFormat() ``` Input document file type **Returns:** EmailFileType ##### getDisplayHeader() ``` public final boolean getDisplayHeader() ``` Option to display or hide the email header. Default: true. **Returns:** boolean ##### setDisplayHeader(boolean value) ``` public final void setDisplayHeader(boolean value) ``` Option to display or hide the email header. Default: true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayFromEmailAddress() ``` public final boolean getDisplayFromEmailAddress() ``` Option to display or hide "from" email address. Default: true. **Returns:** boolean ##### setDisplayFromEmailAddress(boolean value) ``` public final void setDisplayFromEmailAddress(boolean value) ``` Option to display or hide "from" email address. Default: true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayEmailAddress() ``` public final boolean getDisplayEmailAddress() ``` Option to display or hide email address. Default: true. **Returns:** boolean ##### setDisplayEmailAddress(boolean value) ``` public final void setDisplayEmailAddress(boolean value) ``` Option to display or hide email address. Default: true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayToEmailAddress() ``` public final boolean getDisplayToEmailAddress() ``` Option to display or hide "to" email address. Default: true. **Returns:** boolean ##### setDisplayToEmailAddress(boolean value) ``` public final void setDisplayToEmailAddress(boolean value) ``` Option to display or hide "to" email address. Default: true. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayCcEmailAddress() ``` public final boolean getDisplayCcEmailAddress() ``` Option to display or hide "Cc" email address. Default: false. **Returns:** boolean ##### setDisplayCcEmailAddress(boolean value) ``` public final void setDisplayCcEmailAddress(boolean value) ``` Option to display or hide "Cc" email address. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDisplayBccEmailAddress() ``` public final boolean getDisplayBccEmailAddress() ``` Option to display or hide "Bcc" email address. Default: false. **Returns:** boolean ##### setDisplayBccEmailAddress(boolean value) ``` public final void setDisplayBccEmailAddress(boolean value) ``` Option to display or hide "Bcc" email address. Default: false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTimeZoneOffset() ``` public final Double getTimeZoneOffset() ``` Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. **Returns:** java.lang.Double ##### getTimeZoneOffsetInternal() ``` public System.TimeSpan getTimeZoneOffsetInternal() ``` **Returns:** com.aspose.ms.System.TimeSpan ##### getResourceLoadingTimeout() ``` public System.TimeSpan getResourceLoadingTimeout() ``` Timeout for loading external resources **Returns:** com.aspose.ms.System.TimeSpan ##### setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) ``` public void setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) ``` Timeout for loading external resources (setter) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resourceLoadingTimeout | com.aspose.ms.System.TimeSpan | | ##### setTimeZoneOffset(Double value) ``` public final void setTimeZoneOffset(Double value) ``` Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | | ##### deepClone() ``` public final Object deepClone() ``` Clones current instance. **Returns:** java.lang.Object - ##### getFieldTextMap() ``` public Map getFieldTextMap() ``` Gets the mapping between email message and field text representation **Returns:** java.util.Map - mapping ##### setFieldTextMap(Map fieldTextMap) ``` public void setFieldTextMap(Map fieldTextMap) ``` Sets the mapping between email message and field text representation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fieldTextMap | java.util.Map | mapping | ##### isPreserveOriginalDate() ``` public boolean isPreserveOriginalDate() ``` Defines whether need to keep original date header string in mail message when saving or not (Default value is true) **Returns:** boolean - preserve original date if true ##### setPreserveOriginalDate(boolean preserveOriginalDate) ``` public void setPreserveOriginalDate(boolean preserveOriginalDate) ``` Defines whether need to keep original date header string in mail message when saving or not **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | preserveOriginalDate | boolean | preserve original date | ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted **Returns:** boolean ##### setConvertOwner(boolean convertOwner) ``` public void setConvertOwner(boolean convertOwner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwner | boolean | | ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### setConvertOwned(boolean convertOwned) ``` public void setConvertOwned(boolean convertOwned) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | convertOwned | boolean | | ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### EmptyLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/emptyloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class EmptyLoadOptions extends LoadOptions implements Serializable ``` Base class for load options #### Constructors | Constructor | Description | | --- | --- | | EmptyLoadOptions() | | ##### EmptyLoadOptions() ``` public EmptyLoadOptions() ``` ### EpubLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/epubloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class EpubLoadOptions extends LoadOptions implements Serializable ``` Options for loading Epub documents. #### Constructors | Constructor | Description | | --- | --- | | EpubLoadOptions() | Initializes new instance of EpubLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | ##### EpubLoadOptions() ``` public EpubLoadOptions() ``` Initializes new instance of EpubLoadOptions class. ##### getFormat() ``` public final EBookFileType getFormat() ``` Input document file type **Returns:** EBookFileType ### FontLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/fontloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class FontLoadOptions extends LoadOptions ``` Options for loading Font documents. #### Constructors | Constructor | Description | | --- | --- | | FontLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(FontFileType format) | Sets Input document file type. | ##### FontLoadOptions() ``` public FontLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public FontFileType getFormat() ``` Gets Input document file type. **Returns:** FontFileType ##### setFormat(FontFileType format) ``` public void setFormat(FontFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | FontFileType | | ### ImageLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/imageloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class ImageLoadOptions extends LoadOptions implements Serializable ``` Options for loading Image documents. #### Constructors | Constructor | Description | | --- | --- | | ImageLoadOptions() | Initializes new instance of ImageLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Psd, Emf, Wmf document types. | | setDefaultFont(String value) | Default font for Psd, Emf, Wmf document types. | | isRecognitionEnabled() | | | getOcrConnector() | | | setOcrConnector(IOcrConnector ocrConnector) | Set image OCR connector | | getResetFontFolders() | Reset font folders before loading document | | setResetFontFolders(boolean resetFontFolders) | | ##### ImageLoadOptions() ``` public ImageLoadOptions() ``` Initializes new instance of ImageLoadOptions class. ##### getFormat() ``` public final ImageFileType getFormat() ``` Input document file type **Returns:** ImageFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### isRecognitionEnabled() ``` public boolean isRecognitionEnabled() ``` **Returns:** boolean ##### getOcrConnector() ``` public IOcrConnector getOcrConnector() ``` **Returns:** IOcrConnector ##### setOcrConnector(IOcrConnector ocrConnector) ``` public void setOcrConnector(IOcrConnector ocrConnector) ``` Set image OCR connector **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ocrConnector | IOcrConnector | OCR connector instance | ##### getResetFontFolders() ``` public boolean getResetFontFolders() ``` Reset font folders before loading document **Returns:** boolean ##### setResetFontFolders(boolean resetFontFolders) ``` public void setResetFontFolders(boolean resetFontFolders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resetFontFolders | boolean | | ### ImageRecognitionLanguage Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/imagerecognitionlanguage.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration ``` public class ImageRecognitionLanguage extends Enumeration ``` Image Recognition Language #### Constructors | Constructor | Description | | --- | --- | | ImageRecognitionLanguage() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | None | Default language is None. | | Eng | English alphabet | | Deu | German alphabet | | Por | Portuguese alphabet | | Spa | Spanish alphabet | | Fra | French alphabet | | Ita | Italian alphabet | | Cze | Czech alphabet | | Dan | Danish alphabet | | Dum | Dutch alphabet | | Est | Estonian alphabet | | Fin | Finnish alphabet | | Lav | Latvian alphabet | | Lit | Lithuanian alphabet | | Nor | Norwegian alphabet | | Pol | Polish alphabet | | Rum | Romanian alphabet | | SrpHrv | Serbo-Croatian alphabet | | Slk | Slovak alphabet | | Slv | Slovene alphabet | | Swe | Swedish alphabet | | Chi | Chinese alphabet | ##### ImageRecognitionLanguage() ``` public ImageRecognitionLanguage() ``` Serialization constructor ##### None ``` public static final ImageRecognitionLanguage None ``` Default language is None. ##### Eng ``` public static final ImageRecognitionLanguage Eng ``` English alphabet ##### Deu ``` public static final ImageRecognitionLanguage Deu ``` German alphabet ##### Por ``` public static final ImageRecognitionLanguage Por ``` Portuguese alphabet ##### Spa ``` public static final ImageRecognitionLanguage Spa ``` Spanish alphabet ##### Fra ``` public static final ImageRecognitionLanguage Fra ``` French alphabet ##### Ita ``` public static final ImageRecognitionLanguage Ita ``` Italian alphabet ##### Cze ``` public static final ImageRecognitionLanguage Cze ``` Czech alphabet ##### Dan ``` public static final ImageRecognitionLanguage Dan ``` Danish alphabet ##### Dum ``` public static final ImageRecognitionLanguage Dum ``` Dutch alphabet ##### Est ``` public static final ImageRecognitionLanguage Est ``` Estonian alphabet ##### Fin ``` public static final ImageRecognitionLanguage Fin ``` Finnish alphabet ##### Lav ``` public static final ImageRecognitionLanguage Lav ``` Latvian alphabet ##### Lit ``` public static final ImageRecognitionLanguage Lit ``` Lithuanian alphabet ##### Nor ``` public static final ImageRecognitionLanguage Nor ``` Norwegian alphabet ##### Pol ``` public static final ImageRecognitionLanguage Pol ``` Polish alphabet ##### Rum ``` public static final ImageRecognitionLanguage Rum ``` Romanian alphabet ##### SrpHrv ``` public static final ImageRecognitionLanguage SrpHrv ``` Serbo-Croatian alphabet ##### Slk ``` public static final ImageRecognitionLanguage Slk ``` Slovak alphabet ##### Slv ``` public static final ImageRecognitionLanguage Slv ``` Slovene alphabet ##### Swe ``` public static final ImageRecognitionLanguage Swe ``` Swedish alphabet ##### Chi ``` public static final ImageRecognitionLanguage Chi ``` Chinese alphabet ### LoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/loadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public abstract class LoadOptions extends ValueObject implements Serializable ``` Abstract document load options class. #### Constructors | Constructor | Description | | --- | --- | | LoadOptions() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Input document file type | | setFormat(FileType value) | Input document file type | ##### LoadOptions() ``` public LoadOptions() ``` ##### getFormat() ``` public FileType getFormat() ``` Input document file type **Returns:** FileType ##### setFormat(FileType value) ``` public void setFormat(FileType value) ``` Input document file type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | | ### MboxLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/mboxloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class MboxLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions ``` Options for loading Mbox documents. #### Constructors | Constructor | Description | | --- | --- | | MboxLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | isConvertOwner() | The owner will not be converted | | isConvertOwned() | \{@inheritDoc\} | | getDepth() | \{@inheritDoc\} Default: 3 | | setDepth(int depth) | \{@inheritDoc\} | | getEqualityComponents() | \{@inheritDoc\} | ##### MboxLoadOptions() ``` public MboxLoadOptions() ``` Initializes new instance of class. ##### isConvertOwner() ``` public boolean isConvertOwner() ``` The owner will not be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion Default: 3 **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ##### getEqualityComponents() ``` public List getEqualityComponents() ``` **Returns:** java.util.List ### NoteLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/noteloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class NoteLoadOptions extends LoadOptions implements Serializable ``` Options for loading One documents. #### Constructors | Constructor | Description | | --- | --- | | NoteLoadOptions() | Initializes new instance of NoteLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Note document. | | setDefaultFont(String value) | Default font for Note document. | | getFontSubstitutes() | Substitute specific fonts when converting Note document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Note document. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | ##### NoteLoadOptions() ``` public NoteLoadOptions() ``` Initializes new instance of NoteLoadOptions class. ##### getFormat() ``` public final NoteFileType getFormat() ``` Input document file type **Returns:** NoteFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Note document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Note document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Note document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Note document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### NsfLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/nsfloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class NsfLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions ``` Options for loading Nsf documents. #### Constructors | Constructor | Description | | --- | --- | | NsfLoadOptions() | | #### Methods | Method | Description | | --- | --- | | isConvertOwner() | | | isConvertOwned() | \{@inheritDoc\} | | getDepth() | | | setDepth(int depth) | | ##### NsfLoadOptions() ``` public NsfLoadOptions() ``` ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### OlmLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/olmloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions, java.lang.Cloneable, java.io.Serializable ``` public final class OlmLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions, Cloneable, Serializable ``` Options for loading Olm documents. #### Constructors | Constructor | Description | | --- | --- | | OlmLoadOptions() | Initializes new instance of OlmLoadOptions class. | #### Fields | Field | Description | | --- | --- | | folder | | #### Methods | Method | Description | | --- | --- | | memberwiseClone() | | | isConvertOwner() | The owner will not be converted | | isConvertOwned() | \{@inheritDoc\} | | getFolder() | Folder which to be processed Default is Inbox | | setFolder(String folder) | | | getDepth() | \{@inheritDoc\} Default: 3 | | setDepth(int depth) | | | deepClone() | Clones current instance. | ##### OlmLoadOptions() ``` public OlmLoadOptions() ``` Initializes new instance of OlmLoadOptions class. ##### folder ``` public String folder ``` ##### memberwiseClone() ``` public Object memberwiseClone() ``` **Returns:** java.lang.Object ##### isConvertOwner() ``` public boolean isConvertOwner() ``` The owner will not be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getFolder() ``` public String getFolder() ``` Folder which to be processed Default is Inbox **Returns:** java.lang.String ##### setFolder(String folder) ``` public void setFolder(String folder) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | folder | java.lang.String | | ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion Default: 3 **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ##### deepClone() ``` public Object deepClone() ``` Clones current instance. **Returns:** java.lang.Object ### PageDescriptionLanguageLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class PageDescriptionLanguageLoadOptions extends LoadOptions ``` Options for loading page description language documents. #### Constructors | Constructor | Description | | --- | --- | | PageDescriptionLanguageLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(PageDescriptionLanguageFileType format) | Sets Input document file type. | ##### PageDescriptionLanguageLoadOptions() ``` public PageDescriptionLanguageLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public PageDescriptionLanguageFileType getFormat() ``` Gets Input document file type. **Returns:** PageDescriptionLanguageFileType ##### setFormat(PageDescriptionLanguageFileType format) ``` public void setFormat(PageDescriptionLanguageFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | PageDescriptionLanguageFileType | | ### PdfLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/pdfloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class PdfLoadOptions extends LoadOptions implements Serializable ``` Options for loading Pdf documents. #### Constructors | Constructor | Description | | --- | --- | | PdfLoadOptions() | Initializes new instance of PdfLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getRemoveEmbeddedFiles() | Remove embedded files. | | setRemoveEmbeddedFiles(boolean value) | Remove embedded files. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getDefaultFont() | Default font for Pdf document. | | setDefaultFont(String value) | Default font for Pdf document. | | getFontSubstitutes() | Substitute specific fonts when converting Pdf document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Pdf document. | | getHidePdfAnnotations() | Hide annotations in Pdf documents. | | setHidePdfAnnotations(boolean value) | Hide annotations in Pdf documents. | | getFlattenAllFields() | Flatten all the fields of the PDF form. | | setFlattenAllFields(boolean value) | Flatten all the fields of the PDF form. | | getResetFontFolders() | Reset font folders before loading document | | setResetFontFolders(boolean resetFontFolders) | | ##### PdfLoadOptions() ``` public PdfLoadOptions() ``` Initializes new instance of PdfLoadOptions class. ##### getFormat() ``` public final PdfFileType getFormat() ``` Input document file type **Returns:** PdfFileType ##### getRemoveEmbeddedFiles() ``` public final boolean getRemoveEmbeddedFiles() ``` Remove embedded files. **Returns:** boolean ##### setRemoveEmbeddedFiles(boolean value) ``` public final void setRemoveEmbeddedFiles(boolean value) ``` Remove embedded files. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Pdf document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Pdf document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Pdf document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Pdf document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getHidePdfAnnotations() ``` public final boolean getHidePdfAnnotations() ``` Hide annotations in Pdf documents. **Returns:** boolean ##### setHidePdfAnnotations(boolean value) ``` public final void setHidePdfAnnotations(boolean value) ``` Hide annotations in Pdf documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFlattenAllFields() ``` public final boolean getFlattenAllFields() ``` Flatten all the fields of the PDF form. **Returns:** boolean ##### setFlattenAllFields(boolean value) ``` public final void setFlattenAllFields(boolean value) ``` Flatten all the fields of the PDF form. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getResetFontFolders() ``` public boolean getResetFontFolders() ``` Reset font folders before loading document **Returns:** boolean ##### setResetFontFolders(boolean resetFontFolders) ``` public void setResetFontFolders(boolean resetFontFolders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resetFontFolders | boolean | | ### PersonalStorageLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/personalstorageloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions ``` public class PersonalStorageLoadOptions extends LoadOptions implements IDocumentsContainerLoadOptions ``` Options for loading personal storage documents. #### Constructors | Constructor | Description | | --- | --- | | PersonalStorageLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFolder() | Folder which to be processed Default is Inbox | | setFolder(String folder) | Set folder which to be processed | | isConvertOwner() | \{@inheritDoc\} The owner will not be converted | | isConvertOwned() | \{@inheritDoc\} | | getDepth() | \{@inheritDoc\} | | setDepth(int depth) | \{@inheritDoc\} | ##### PersonalStorageLoadOptions() ``` public PersonalStorageLoadOptions() ``` Initializes new instance of class. ##### getFolder() ``` public String getFolder() ``` Folder which to be processed Default is Inbox **Returns:** java.lang.String - Folder which to be processed ##### setFolder(String folder) ``` public void setFolder(String folder) ``` Set folder which to be processed **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | folder | java.lang.String | folder | ##### isConvertOwner() ``` public boolean isConvertOwner() ``` Gets option to control whether the documents container itself must be converted The owner will not be converted **Returns:** boolean ##### isConvertOwned() ``` public boolean isConvertOwned() ``` Option to control whether the owned documents in the documents container must be converted **Returns:** boolean ##### getDepth() ``` public int getDepth() ``` Option to control how many levels in depth to perform conversion **Returns:** int ##### setDepth(int depth) ``` public void setDepth(int depth) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | | ### PresentationLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/presentationloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.load.IResourceLoadingOptions ``` public class PresentationLoadOptions extends LoadOptions implements Serializable, IResourceLoadingOptions ``` Options for loading Presentation documents. #### Constructors | Constructor | Description | | --- | --- | | PresentationLoadOptions() | Initializes new instance of EmailLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for rendering the presentation. | | setDefaultFont(String value) | Default font for rendering the presentation. | | getFontSubstitutes() | Substitute specific fonts when converting Presentation document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Presentation document. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getHideComments() | Hide comments. | | setHideComments(boolean value) | Hide comments. | | getShowHiddenSlides() | Show hidden slides. | | setShowHiddenSlides(boolean value) | Show hidden slides. | | getSkipExternalResources() | \{@inheritDoc\} | | setSkipExternalResources(boolean skip) | \{@inheritDoc\} | | getWhitelistedResources() | \{@inheritDoc\} | | setWhitelistedResources(List whiteList) | \{@inheritDoc\} | | getDocumentFontSources() | | | setDocumentFontSources(List documentFontSources) | | | getNotesPosition() | Represents the way comments are printed with the slide. | | setNotesPosition(PresentationNotesPosition notesPosition) | Represents the way notes are printed with the slide. | | getCommentsPosition() | | | setCommentsPosition(PresentationCommentsPosition commentsPosition) | | ##### PresentationLoadOptions() ``` public PresentationLoadOptions() ``` Initializes new instance of EmailLoadOptions class. ##### getFormat() ``` public final PresentationFileType getFormat() ``` Input document file type **Returns:** PresentationFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for rendering the presentation. The following font will be used if a presentation font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for rendering the presentation. The following font will be used if a presentation font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Presentation document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Presentation document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getHideComments() ``` public final boolean getHideComments() ``` Hide comments. **Returns:** boolean ##### setHideComments(boolean value) ``` public final void setHideComments(boolean value) ``` Hide comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getShowHiddenSlides() ``` public final boolean getShowHiddenSlides() ``` Show hidden slides. **Returns:** boolean ##### setShowHiddenSlides(boolean value) ``` public final void setShowHiddenSlides(boolean value) ``` Show hidden slides. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getSkipExternalResources() ``` public boolean getSkipExternalResources() ``` If true all external resource will not be loading with exception of the resources in the **Returns:** boolean ##### setSkipExternalResources(boolean skip) ``` public void setSkipExternalResources(boolean skip) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skip | boolean | | ##### getWhitelistedResources() ``` public List getWhitelistedResources() ``` External resources that will be always loaded **Returns:** java.util.List ##### setWhitelistedResources(List whiteList) ``` public void setWhitelistedResources(List whiteList) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteList | java.util.List | | ##### getDocumentFontSources() ``` public List getDocumentFontSources() ``` **Returns:** java.util.List ##### setDocumentFontSources(List documentFontSources) ``` public void setDocumentFontSources(List documentFontSources) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentFontSources | java.util.List | | ##### getNotesPosition() ``` public PresentationNotesPosition getNotesPosition() ``` Represents the way comments are printed with the slide. Default is None. **Returns:** PresentationNotesPosition ##### setNotesPosition(PresentationNotesPosition notesPosition) ``` public void setNotesPosition(PresentationNotesPosition notesPosition) ``` Represents the way notes are printed with the slide. Default is None. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | notesPosition | PresentationNotesPosition | | ##### getCommentsPosition() ``` public PresentationCommentsPosition getCommentsPosition() ``` **Returns:** PresentationCommentsPosition - ##### setCommentsPosition(PresentationCommentsPosition commentsPosition) ``` public void setCommentsPosition(PresentationCommentsPosition commentsPosition) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | commentsPosition | PresentationCommentsPosition | | ### PublisherLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/publisherloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class PublisherLoadOptions extends LoadOptions ``` Options for loading Publisher documents. #### Constructors | Constructor | Description | | --- | --- | | PublisherLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(PublisherFileType format) | Sets Input document file type. | ##### PublisherLoadOptions() ``` public PublisherLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public PublisherFileType getFormat() ``` Gets Input document file type. **Returns:** PublisherFileType ##### setFormat(PublisherFileType format) ``` public void setFormat(PublisherFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | PublisherFileType | | ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/spreadsheetloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.lang.Cloneable, java.io.Serializable ``` public class SpreadsheetLoadOptions extends LoadOptions implements Cloneable, Serializable ``` Options for loading Spreadsheet documents. #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetLoadOptions() | Initializes new instance of SpreadsheetLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getSheets() | Get sheet name to convert | | setSheets(List sheets) | Set sheet name to convert | | getCultureInfo() | Get the system culture info at the time file is loaded | | setCultureInfo(System.Globalization.CultureInfo cultureInfo) | Set the system culture info at the time file is loaded | | getFormat() | | | getDefaultFont() | Default font for spreadsheet document. | | setDefaultFont(String value) | Default font for spreadsheet document. | | getFontSubstitutes() | Substitute specific fonts when converting spreadsheet document. | | setFontSubstitutes(List value) | Substitute specific fonts when converting spreadsheet document. | | getShowGridLines() | Show grid lines when converting Excel files. | | setShowGridLines(boolean value) | Show grid lines when converting Excel files. | | getShowHiddenSheets() | Show hidden sheets when converting Excel files. | | setShowHiddenSheets(boolean value) | Show hidden sheets when converting Excel files. | | getOnePagePerSheet() | If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. | | setOnePagePerSheet(boolean value) | If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. | | getAllColumnsInOnePagePerSheet() | Gets AllColumnsInOnePagePerSheet property | | setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet) | Sets AllColumnsInOnePagePerSheet property | | getOptimizePdfSize() | If True and converting to Pdf the conversion is optimized for better file size than print quality. | | setOptimizePdfSize(boolean value) | If True and converting to Pdf the conversion is optimized for better file size than print quality. | | getConvertRange() | Convert specific range when converting to other than spreadsheet format. | | setConvertRange(String value) | Convert specific range when converting to other than spreadsheet format. | | getSkipEmptyRowsAndColumns() | Skips empty rows and columns when converting. | | setSkipEmptyRowsAndColumns(boolean value) | Skips empty rows and columns when converting. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getHideComments() | Hide comments. | | setHideComments(boolean value) | Hide comments. | | isCheckExcelRestriction() | Whether check restriction of excel file when user modify cells related objects. | | setCheckExcelRestriction(boolean checkExcelRestriction) | | | getSheetIndexes() | Gets List of sheet indexes to convert. | | setSheetIndexes(List sheetIndexes) | Sets List of sheet indexes to convert. | | isAutoFitRows() | Autofits all rows when converting | | setAutoFitRows(boolean autoFitRows) | | | getResetFontFolders() | Reset font folders before loading document | | setResetFontFolders(boolean resetFontFolders) | | | deepClone() | Clones current instance. | ##### SpreadsheetLoadOptions() ``` public SpreadsheetLoadOptions() ``` Initializes new instance of SpreadsheetLoadOptions class. ##### getSheets() ``` public List getSheets() ``` Get sheet name to convert **Returns:** java.util.List ##### setSheets(List sheets) ``` public void setSheets(List sheets) ``` Set sheet name to convert **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sheets | java.util.List | | ##### getCultureInfo() ``` public System.Globalization.CultureInfo getCultureInfo() ``` Get the system culture info at the time file is loaded **Returns:** com.aspose.ms.System.Globalization.CultureInfo ##### setCultureInfo(System.Globalization.CultureInfo cultureInfo) ``` public void setCultureInfo(System.Globalization.CultureInfo cultureInfo) ``` Set the system culture info at the time file is loaded **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cultureInfo | com.aspose.ms.System.Globalization.CultureInfo | | ##### getFormat() ``` public final SpreadsheetFileType getFormat() ``` Input document file type **Returns:** SpreadsheetFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for spreadsheet document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for spreadsheet document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting spreadsheet document. **Returns:** java.util.List ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting spreadsheet document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getShowGridLines() ``` public final boolean getShowGridLines() ``` Show grid lines when converting Excel files. **Returns:** boolean ##### setShowGridLines(boolean value) ``` public final void setShowGridLines(boolean value) ``` Show grid lines when converting Excel files. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getShowHiddenSheets() ``` public final boolean getShowHiddenSheets() ``` Show hidden sheets when converting Excel files. **Returns:** boolean ##### setShowHiddenSheets(boolean value) ``` public final void setShowHiddenSheets(boolean value) ``` Show hidden sheets when converting Excel files. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOnePagePerSheet() ``` public final boolean getOnePagePerSheet() ``` If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is false. **Returns:** boolean ##### setOnePagePerSheet(boolean value) ``` public final void setOnePagePerSheet(boolean value) ``` If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getAllColumnsInOnePagePerSheet() ``` public boolean getAllColumnsInOnePagePerSheet() ``` Gets AllColumnsInOnePagePerSheet property **Returns:** boolean - true if fit all columns to ont page ##### setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet) ``` public void setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet) ``` Sets AllColumnsInOnePagePerSheet property **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | allColumnsInOnePagePerSheet | boolean | AllColumnsInOnePagePerSheet property | ##### getOptimizePdfSize() ``` public final boolean getOptimizePdfSize() ``` If True and converting to Pdf the conversion is optimized for better file size than print quality. **Returns:** boolean ##### setOptimizePdfSize(boolean value) ``` public final void setOptimizePdfSize(boolean value) ``` If True and converting to Pdf the conversion is optimized for better file size than print quality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertRange() ``` public final String getConvertRange() ``` Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". **Returns:** java.lang.String ##### setConvertRange(String value) ``` public final void setConvertRange(String value) ``` Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getSkipEmptyRowsAndColumns() ``` public final boolean getSkipEmptyRowsAndColumns() ``` Skips empty rows and columns when converting. Default is True. **Returns:** boolean ##### setSkipEmptyRowsAndColumns(boolean value) ``` public final void setSkipEmptyRowsAndColumns(boolean value) ``` Skips empty rows and columns when converting. Default is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getHideComments() ``` public final boolean getHideComments() ``` Hide comments. **Returns:** boolean ##### setHideComments(boolean value) ``` public final void setHideComments(boolean value) ``` Hide comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### isCheckExcelRestriction() ``` public boolean isCheckExcelRestriction() ``` Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. **Returns:** boolean - check restriction flag ##### setCheckExcelRestriction(boolean checkExcelRestriction) ``` public void setCheckExcelRestriction(boolean checkExcelRestriction) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | checkExcelRestriction | boolean | | ##### getSheetIndexes() ``` public List getSheetIndexes() ``` Gets List of sheet indexes to convert. **Returns:** java.util.List ##### setSheetIndexes(List sheetIndexes) ``` public void setSheetIndexes(List sheetIndexes) ``` Sets List of sheet indexes to convert. The indexes must be zero-based **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | sheetIndexes | java.util.List | | ##### isAutoFitRows() ``` public boolean isAutoFitRows() ``` Autofits all rows when converting **Returns:** boolean ##### setAutoFitRows(boolean autoFitRows) ``` public void setAutoFitRows(boolean autoFitRows) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | autoFitRows | boolean | | ##### getResetFontFolders() ``` public boolean getResetFontFolders() ``` Reset font folders before loading document **Returns:** boolean ##### setResetFontFolders(boolean resetFontFolders) ``` public void setResetFontFolders(boolean resetFontFolders) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resetFontFolders | boolean | | ##### deepClone() ``` public final Object deepClone() ``` Clones current instance. **Returns:** java.lang.Object - ### TsvLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/tsvloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions, com.groupdocs.conversion.options.load.SpreadsheetLoadOptions ``` public class TsvLoadOptions extends SpreadsheetLoadOptions ``` Options for loading Tsv documents. #### Constructors | Constructor | Description | | --- | --- | | TsvLoadOptions() | Initializes new instance of class. | ##### TsvLoadOptions() ``` public TsvLoadOptions() ``` Initializes new instance of class. ### TxtLeadingSpacesOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/txtleadingspacesoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class TxtLeadingSpacesOptions extends Enumeration implements Serializable ``` Describes txt leading spaces options enumeration. #### Constructors | Constructor | Description | | --- | --- | | TxtLeadingSpacesOptions() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | ConvertToIndent | Converts leading spaces to indents. | | Preserve | Preserves leading spaces. | | Trim | Trims leading spaces. | ##### TxtLeadingSpacesOptions() ``` public TxtLeadingSpacesOptions() ``` Serialization constructor ##### ConvertToIndent ``` public static final TxtLeadingSpacesOptions ConvertToIndent ``` Converts leading spaces to indents. ##### Preserve ``` public static final TxtLeadingSpacesOptions Preserve ``` Preserves leading spaces. ##### Trim ``` public static final TxtLeadingSpacesOptions Trim ``` Trims leading spaces. ### TxtLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/txtloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class TxtLoadOptions extends LoadOptions implements Serializable ``` Options for loading Txt documents. #### Constructors | Constructor | Description | | --- | --- | | TxtLoadOptions() | Initializes new instance of TxtLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDetectNumberingWithWhitespaces() | Allows to specify how numbered list items are recognized when plain text document is converted. | | setDetectNumberingWithWhitespaces(boolean value) | Allows to specify how numbered list items are recognized when plain text document is converted. | | getTrailingSpacesOptions() | Gets or sets preferred option of a trailing space handling. | | setTrailingSpacesOptions(TxtTrailingSpacesOptions value) | Gets or sets preferred option of a trailing space handling. | | getLeadingSpacesOptions() | Gets or sets preferred option of a leading space handling. | | setLeadingSpacesOptions(TxtLeadingSpacesOptions value) | Gets or sets preferred option of a leading space handling. | | getEncoding() | Gets or sets the encoding that will be used when loading Txt document. | | getEncodingInternal() | | | setEncoding(Charset value) | Gets or sets the encoding that will be used when loading Txt document. | | setEncoding(String charsetName) | Gets or sets the encoding that will be used when loading Txt document. | ##### TxtLoadOptions() ``` public TxtLoadOptions() ``` Initializes new instance of TxtLoadOptions class. ##### getFormat() ``` public WordProcessingFileType getFormat() ``` Input document file type **Returns:** WordProcessingFileType ##### getDetectNumberingWithWhitespaces() ``` public final boolean getDetectNumberingWithWhitespaces() ``` Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true. If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. **Returns:** boolean ##### setDetectNumberingWithWhitespaces(boolean value) ``` public final void setDetectNumberingWithWhitespaces(boolean value) ``` Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true. If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTrailingSpacesOptions() ``` public final TxtTrailingSpacesOptions getTrailingSpacesOptions() ``` Gets or sets preferred option of a trailing space handling. Default value is TxtTrailingSpacesOptions.Trim. **Returns:** TxtTrailingSpacesOptions ##### setTrailingSpacesOptions(TxtTrailingSpacesOptions value) ``` public final void setTrailingSpacesOptions(TxtTrailingSpacesOptions value) ``` Gets or sets preferred option of a trailing space handling. Default value is TxtTrailingSpacesOptions.Trim. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TxtTrailingSpacesOptions | | ##### getLeadingSpacesOptions() ``` public final TxtLeadingSpacesOptions getLeadingSpacesOptions() ``` Gets or sets preferred option of a leading space handling. Default value is TxtLeadingSpacesOptions.ConvertToIndent. **Returns:** TxtLeadingSpacesOptions ##### setLeadingSpacesOptions(TxtLeadingSpacesOptions value) ``` public final void setLeadingSpacesOptions(TxtLeadingSpacesOptions value) ``` Gets or sets preferred option of a leading space handling. Default value is TxtLeadingSpacesOptions.ConvertToIndent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TxtLeadingSpacesOptions | | ##### getEncoding() ``` public final Charset getEncoding() ``` Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. **Returns:** java.nio.charset.Charset ##### getEncodingInternal() ``` public System.Text.Encoding getEncodingInternal() ``` **Returns:** com.aspose.ms.System.Text.Encoding ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### setEncoding(String charsetName) ``` public final void setEncoding(String charsetName) ``` Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | charsetName | java.lang.String | | ### TxtTrailingSpacesOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/txttrailingspacesoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.Enumeration **All Implemented Interfaces:** java.io.Serializable ``` public class TxtTrailingSpacesOptions extends Enumeration implements Serializable ``` Describes txt trailing spaces options enumeration. #### Constructors | Constructor | Description | | --- | --- | | TxtTrailingSpacesOptions() | Serialization constructor | #### Fields | Field | Description | | --- | --- | | Preserve | Preserves trailing spaces | | Trim | Trims trailing spaces | ##### TxtTrailingSpacesOptions() ``` public TxtTrailingSpacesOptions() ``` Serialization constructor ##### Preserve ``` public static final TxtTrailingSpacesOptions Preserve ``` Preserves trailing spaces ##### Trim ``` public static final TxtTrailingSpacesOptions Trim ``` Trims trailing spaces ### VcfLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/vcfloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class VcfLoadOptions extends LoadOptions ``` Options for loading Vcf documents. #### Constructors | Constructor | Description | | --- | --- | | VcfLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets or sets the encoding that will be used when loading Vcf document. | | setEncoding(System.Text.Encoding encoding) | | ##### VcfLoadOptions() ``` public VcfLoadOptions() ``` Initializes new instance of class. ##### getEncoding() ``` public System.Text.Encoding getEncoding() ``` Gets or sets the encoding that will be used when loading Vcf document. Default is Encoding.Default. **Returns:** com.aspose.ms.System.Text.Encoding ##### setEncoding(System.Text.Encoding encoding) ``` public void setEncoding(System.Text.Encoding encoding) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | com.aspose.ms.System.Text.Encoding | | ### VideoLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/videoloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions ``` public class VideoLoadOptions extends LoadOptions ``` Options for loading video documents. #### Constructors | Constructor | Description | | --- | --- | | VideoLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getVideoConnector() | | | setVideoConnector(IVideoConnector videoConnector) | Set video document connector | ##### VideoLoadOptions() ``` public VideoLoadOptions() ``` Initializes new instance of class. ##### getVideoConnector() ``` public IVideoConnector getVideoConnector() ``` **Returns:** IVideoConnector ##### setVideoConnector(IVideoConnector videoConnector) ``` public void setVideoConnector(IVideoConnector videoConnector) ``` Set video document connector **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | videoConnector | IVideoConnector | Video connector instance | ### WebLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/webloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.load.IResourceLoadingOptions ``` public class WebLoadOptions extends LoadOptions implements Serializable, IResourceLoadingOptions ``` Options for loading web documents. #### Constructors | Constructor | Description | | --- | --- | | WebLoadOptions() | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | getFormat() | Gets Input document file type. | | setFormat(WebFileType format) | Sets Input document file type. | | isPageNumbering() | | | setPageNumbering(boolean pageNumbering) | | | getBasePath() | | | setBasePath(String basePath) | | | getEncoding() | | | setEncoding(String encoding) | | | getResourceLoadingTimeout() | | | setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) | | | getSkipExternalResources() | \{@inheritDoc\} | | setSkipExternalResources(boolean skip) | \{@inheritDoc\} | | getWhitelistedResources() | \{@inheritDoc\} | | setWhitelistedResources(List whiteList) | \{@inheritDoc\} | ##### WebLoadOptions() ``` public WebLoadOptions() ``` Initializes new instance of class. ##### getFormat() ``` public WebFileType getFormat() ``` Gets Input document file type. **Returns:** WebFileType ##### setFormat(WebFileType format) ``` public void setFormat(WebFileType format) ``` Sets Input document file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | WebFileType | | ##### isPageNumbering() ``` public boolean isPageNumbering() ``` **Returns:** boolean ##### setPageNumbering(boolean pageNumbering) ``` public void setPageNumbering(boolean pageNumbering) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbering | boolean | | ##### getBasePath() ``` public String getBasePath() ``` **Returns:** java.lang.String ##### setBasePath(String basePath) ``` public void setBasePath(String basePath) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | basePath | java.lang.String | | ##### getEncoding() ``` public String getEncoding() ``` **Returns:** java.lang.String ##### setEncoding(String encoding) ``` public void setEncoding(String encoding) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | java.lang.String | | ##### getResourceLoadingTimeout() ``` public System.TimeSpan getResourceLoadingTimeout() ``` **Returns:** com.aspose.ms.System.TimeSpan ##### setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) ``` public void setResourceLoadingTimeout(System.TimeSpan resourceLoadingTimeout) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | resourceLoadingTimeout | com.aspose.ms.System.TimeSpan | | ##### getSkipExternalResources() ``` public boolean getSkipExternalResources() ``` If true all external resource will not be loading with exception of the resources in the **Returns:** boolean ##### setSkipExternalResources(boolean skip) ``` public void setSkipExternalResources(boolean skip) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skip | boolean | | ##### getWhitelistedResources() ``` public List getWhitelistedResources() ``` External resources that will be always loaded **Returns:** java.util.List ##### setWhitelistedResources(List whiteList) ``` public void setWhitelistedResources(List whiteList) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteList | java.util.List | | ### WordProcessingBookmarksOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/wordprocessingbookmarksoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject **All Implemented Interfaces:** java.io.Serializable ``` public class WordProcessingBookmarksOptions extends ValueObject implements Serializable ``` Options for handling bookmarks in WordProcessing #### Constructors | Constructor | Description | | --- | --- | | WordProcessingBookmarksOptions() | | #### Methods | Method | Description | | --- | --- | | getBookmarksOutlineLevel() | Specifies the default level in the document outline at which to display Word bookmarks. | | setBookmarksOutlineLevel(int value) | Specifies the default level in the document outline at which to display Word bookmarks. | | getHeadingsOutlineLevels() | Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. | | setHeadingsOutlineLevels(int value) | Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. | | getExpandedOutlineLevels() | Specifies how many levels in the document outline to show expanded when the file is viewed. | | setExpandedOutlineLevels(int value) | Specifies how many levels in the document outline to show expanded when the file is viewed. | ##### WordProcessingBookmarksOptions() ``` public WordProcessingBookmarksOptions() ``` ##### getBookmarksOutlineLevel() ``` public final int getBookmarksOutlineLevel() ``` Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9. **Returns:** int ##### setBookmarksOutlineLevel(int value) ``` public final void setBookmarksOutlineLevel(int value) ``` Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeadingsOutlineLevels() ``` public final int getHeadingsOutlineLevels() ``` Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9. **Returns:** int ##### setHeadingsOutlineLevels(int value) ``` public final void setHeadingsOutlineLevels(int value) ``` Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getExpandedOutlineLevels() ``` public final int getExpandedOutlineLevels() ``` Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS. **Returns:** int ##### setExpandedOutlineLevels(int value) ``` public final void setExpandedOutlineLevels(int value) ``` Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/wordprocessingloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions **All Implemented Interfaces:** java.io.Serializable, com.groupdocs.conversion.options.load.IResourceLoadingOptions ``` public class WordProcessingLoadOptions extends LoadOptions implements Serializable, IResourceLoadingOptions ``` Options for loading WordProcessing documents. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingLoadOptions() | Initializes new instance of WordProcessingLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getFormat() | | | getDefaultFont() | Default font for Words document. | | setDefaultFont(String value) | Default font for Words document. | | getAutoFontSubstitution() | If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. | | setAutoFontSubstitution(boolean value) | If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. | | getFontSubstitutes() | Substitute specific fonts when converting Words document. | | isEmbedTrueTypeFonts() | If EmbedTrueTypeFonts is true, GroupDocs.Conversion embed true type fonts in the output document. | | setEmbedTrueTypeFonts(boolean embedTrueTypeFonts) | | | isUpdatePageLayout() | Update page layout after loading. | | setUpdatePageLayout(boolean updatePageLayout) | | | isUpdateFields() | Update fields after loading. | | setUpdateFields(boolean updateFields) | | | isKeepDateFieldOriginalValue() | Keep original value of date field. | | setKeepDateFieldOriginalValue(boolean keepDateFieldOriginalValue) | Sets Keep original value of date field. | | setFontSubstitutes(List value) | Substitute specific fonts when converting Words document. | | getPassword() | Set password to unprotect protected document. | | setPassword(String value) | Set password to unprotect protected document. | | getHideWordTrackedChanges() | Hide markup and track changes for Word documents. | | setHideWordTrackedChanges(boolean value) | Hide markup and track changes for Word documents. | | setHideComments(boolean value) | Hide comments. | | getBookmarkOptions() | Bookmarks options | | setBookmarkOptions(WordProcessingBookmarksOptions value) | Bookmarks options | | isPreserveFontFields() | Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. | | setPreserveFontFields(boolean preserveFontFields) | Sets preserveFontFields flag | | isUseTextShaper() | Specifies whether to use a text shaper for better kerning display. | | setUseTextShaper(boolean isUseTextShaper) | Specifies whether to use a text shaper for better kerning display. | | isPreserveDocumentStructure() | Determines whether the document structure should be preserved when converting to PDF (default is false). | | setPreserveDocumentStructure(boolean preserveDocumentStructure) | | | getSkipExternalResources() | \{@inheritDoc\} | | setSkipExternalResources(boolean skip) | \{@inheritDoc\} | | getWhitelistedResources() | \{@inheritDoc\} | | setWhitelistedResources(List whiteList) | \{@inheritDoc\} | | getCommentDisplayMode() | Specifies how comments should be displayed in the output document. | | setCommentDisplayMode(WordProcessingCommentDisplay commentDisplayMode) | | | getShowFullCommenterName() | Show full commenter name in comments. | | setShowFullCommenterName(boolean showFullCommenterName) | | ##### WordProcessingLoadOptions() ``` public WordProcessingLoadOptions() ``` Initializes new instance of WordProcessingLoadOptions class. ##### getFormat() ``` public final WordProcessingFileType getFormat() ``` Input document file type **Returns:** WordProcessingFileType ##### getDefaultFont() ``` public final String getDefaultFont() ``` Default font for Words document. The following font will be used if a font is missing. **Returns:** java.lang.String ##### setDefaultFont(String value) ``` public final void setDefaultFont(String value) ``` Default font for Words document. The following font will be used if a font is missing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getAutoFontSubstitution() ``` public final boolean getAutoFontSubstitution() ``` If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True. **Returns:** boolean ##### setAutoFontSubstitution(boolean value) ``` public final void setAutoFontSubstitution(boolean value) ``` If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFontSubstitutes() ``` public final List getFontSubstitutes() ``` Substitute specific fonts when converting Words document. **Returns:** java.util.List ##### isEmbedTrueTypeFonts() ``` public boolean isEmbedTrueTypeFonts() ``` If EmbedTrueTypeFonts is true, GroupDocs.Conversion embed true type fonts in the output document. Default: false **Returns:** boolean ##### setEmbedTrueTypeFonts(boolean embedTrueTypeFonts) ``` public void setEmbedTrueTypeFonts(boolean embedTrueTypeFonts) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | embedTrueTypeFonts | boolean | | ##### isUpdatePageLayout() ``` public boolean isUpdatePageLayout() ``` Update page layout after loading. Default: false **Returns:** boolean ##### setUpdatePageLayout(boolean updatePageLayout) ``` public void setUpdatePageLayout(boolean updatePageLayout) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updatePageLayout | boolean | | ##### isUpdateFields() ``` public boolean isUpdateFields() ``` Update fields after loading. Default: false **Returns:** boolean ##### setUpdateFields(boolean updateFields) ``` public void setUpdateFields(boolean updateFields) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updateFields | boolean | | ##### isKeepDateFieldOriginalValue() ``` public boolean isKeepDateFieldOriginalValue() ``` Keep original value of date field. Default: false **Returns:** boolean ##### setKeepDateFieldOriginalValue(boolean keepDateFieldOriginalValue) ``` public void setKeepDateFieldOriginalValue(boolean keepDateFieldOriginalValue) ``` Sets Keep original value of date field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keepDateFieldOriginalValue | boolean | | ##### setFontSubstitutes(List value) ``` public final void setFontSubstitutes(List value) ``` Substitute specific fonts when converting Words document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### getPassword() ``` public final String getPassword() ``` Set password to unprotect protected document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Set password to unprotect protected document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getHideWordTrackedChanges() ``` public final boolean getHideWordTrackedChanges() ``` Hide markup and track changes for Word documents. **Returns:** boolean ##### setHideWordTrackedChanges(boolean value) ``` public final void setHideWordTrackedChanges(boolean value) ``` Hide markup and track changes for Word documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### setHideComments(boolean value) ``` public final void setHideComments(boolean value) ``` Hide comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getBookmarkOptions() ``` public final WordProcessingBookmarksOptions getBookmarkOptions() ``` Bookmarks options **Returns:** WordProcessingBookmarksOptions ##### setBookmarkOptions(WordProcessingBookmarksOptions value) ``` public final void setBookmarkOptions(WordProcessingBookmarksOptions value) ``` Bookmarks options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WordProcessingBookmarksOptions | | ##### isPreserveFontFields() ``` public boolean isPreserveFontFields() ``` Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false. **Returns:** boolean - preserveFontFields flag ##### setPreserveFontFields(boolean preserveFontFields) ``` public void setPreserveFontFields(boolean preserveFontFields) ``` Sets preserveFontFields flag **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | preserveFontFields | boolean | preserve Microsoft Word form fields as form fields in PDF or convert them to text | ##### isUseTextShaper() ``` public boolean isUseTextShaper() ``` Specifies whether to use a text shaper for better kerning display. Default is false. **Returns:** boolean ##### setUseTextShaper(boolean isUseTextShaper) ``` public void setUseTextShaper(boolean isUseTextShaper) ``` Specifies whether to use a text shaper for better kerning display. Default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isUseTextShaper | boolean | isUseTextShaper flag | ##### isPreserveDocumentStructure() ``` public boolean isPreserveDocumentStructure() ``` Determines whether the document structure should be preserved when converting to PDF (default is false). Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. **Returns:** boolean ##### setPreserveDocumentStructure(boolean preserveDocumentStructure) ``` public void setPreserveDocumentStructure(boolean preserveDocumentStructure) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | preserveDocumentStructure | boolean | | ##### getSkipExternalResources() ``` public boolean getSkipExternalResources() ``` If true all external resource will not be loading with exception of the resources in the **Returns:** boolean ##### setSkipExternalResources(boolean skip) ``` public void setSkipExternalResources(boolean skip) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skip | boolean | | ##### getWhitelistedResources() ``` public List getWhitelistedResources() ``` External resources that will be always loaded **Returns:** java.util.List ##### setWhitelistedResources(List whiteList) ``` public void setWhitelistedResources(List whiteList) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteList | java.util.List | | ##### getCommentDisplayMode() ``` public WordProcessingCommentDisplay getCommentDisplayMode() ``` Specifies how comments should be displayed in the output document. Default is ShowInBalloons. **Returns:** WordProcessingCommentDisplay ##### setCommentDisplayMode(WordProcessingCommentDisplay commentDisplayMode) ``` public void setCommentDisplayMode(WordProcessingCommentDisplay commentDisplayMode) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | commentDisplayMode | WordProcessingCommentDisplay | | ##### getShowFullCommenterName() ``` public boolean getShowFullCommenterName() ``` Show full commenter name in comments. Default is false. **Returns:** boolean ##### setShowFullCommenterName(boolean showFullCommenterName) ``` public void setShowFullCommenterName(boolean showFullCommenterName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | showFullCommenterName | boolean | | ### XmlLoadOptions Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.options.load/xmlloadoptions.md **Inheritance:** java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions, com.groupdocs.conversion.options.load.WebLoadOptions **All Implemented Interfaces:** java.io.Serializable ``` public final class XmlLoadOptions extends WebLoadOptions implements Serializable ``` Options for loading XML documents. #### Constructors | Constructor | Description | | --- | --- | | XmlLoadOptions() | Initializes new instance of XmlLoadOptions class. | #### Methods | Method | Description | | --- | --- | | getXslFoFactory() | XSL-FO document stream to convert XML-FO using XSL. | | setXslFoFactory(Supplier value) | XSL document stream to convert XML-FO using XSL. | | getXsltFactory() | get XSLT document stream to convert XML performing XSL transformation to HTML. | | setXsltFactory(Supplier value) | set XSLT document stream to convert XML performing XSL transformation to HTML. | | isUseAsDataSource() | Use Xml document as data source | | setUseAsDataSource(boolean useAsDataSource) | Set use Xml document as data source | ##### XmlLoadOptions() ``` public XmlLoadOptions() ``` Initializes new instance of XmlLoadOptions class. ##### getXslFoFactory() ``` public final Supplier getXslFoFactory() ``` XSL-FO document stream to convert XML-FO using XSL. **Returns:** java.util.function.Supplier ##### setXslFoFactory(Supplier value) ``` public final void setXslFoFactory(Supplier value) ``` XSL document stream to convert XML-FO using XSL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.function.Supplier | | ##### getXsltFactory() ``` public final Supplier getXsltFactory() ``` get XSLT document stream to convert XML performing XSL transformation to HTML. **Returns:** java.util.function.Supplier ##### setXsltFactory(Supplier value) ``` public final void setXsltFactory(Supplier value) ``` set XSLT document stream to convert XML performing XSL transformation to HTML. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.function.Supplier | | ##### isUseAsDataSource() ``` public boolean isUseAsDataSource() ``` Use Xml document as data source **Returns:** boolean - true if use ##### setUseAsDataSource(boolean useAsDataSource) ``` public void setUseAsDataSource(boolean useAsDataSource) ``` Set use Xml document as data source **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useAsDataSource | boolean | use Xml document as data source | ### com.groupdocs.conversion.reporting Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.reporting.md The GroupDocs.Conversion.Options.Load namespace provides classes to implement converter listening. **Learn more**More about monitoring conversion progress: [Listening to conversion process events][] [Listening to conversion process events]: https://docs.groupdocs.com/display/conversionnet/Listening ### com.groupdocs.conversion Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion.md The scope for GroupDocs.Conversion classes #### Classes | Class | Description | | --- | --- | | Converter | Represents main class that controls document conversion process. | | ConverterSettings | Defines settings for customizing Converter behaviour. | ### Converter Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion/converter.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public class Converter implements Closeable ``` Represents main class that controls document conversion process. #### Constructors | Constructor | Description | | --- | --- | | Converter() | Initializes new instance of class for fluent conversion setup. | | Converter(Supplier document) | Initializes new instance of Converter class. | | Converter(Supplier document, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(Supplier document, LoadOptionsProvider loadOptions) | Initializes new instance of Converter class. | | Converter(Supplier document, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions) | Initializes new instance of class. | | Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of class. | | Converter(String filePath) | Initializes new instance of Converter class. | | Converter(String filePath, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(String filePath, LoadOptionsProvider loadOptions) | Initializes new instance of Converter class. | | Converter(String filePath, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of Converter class. | | Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions) | Initializes new instance of class. | | Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) | Initializes new instance of class. | #### Methods | Method | Description | | --- | --- | | tweakPackageUtil(String vendor, String version, String specTitle) | | | convert(SaveDocumentStream document, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStream document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(String filePath, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStream document, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStream document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) | Converts source document. | | withSettings(ConverterSettingsProvider settingsProvider) | | | load(String fileName) | | | load(String[] fileNames) | | | load(DocumentStreamProvider documentStreamProvider) | | | load(DocumentStreamsProvider documentStreamProvider) | | | getDocumentInfo() | Gets source document info - pages count and other document properties specific to the file type. | | isDocumentPasswordProtected() | Checks is source document is password protected | | getPossibleConversions() | Gets possible conversions for the source document. | | getAllPossibleConversions() | Gets all supported conversions **Learn more**Learn more about supported conversions: [Full list of supported conversions][]Learn more about available conversions: [How to get supported conversions in code][] [Full list of supported conversions]: https://docs.groupdocs.com/display/conversionnet/Supported+Document+Formats [How to get supported conversions in code]: https://docs.groupdocs.com/display/conversionnet/Get+possible+conversions | | getPossibleConversions(String extension) | Gets supported conversions for provided document extension Converter.GetPossibleConversions(".docx") Converter.GetPossibleConversions("docx")**Learn more**Learn more about supported conversions: [Full list of supported conversions][]Learn more about available conversions: [How to get supported conversions in code][] [Full list of supported conversions]: https://docs.groupdocs.com/display/conversionnet/Supported+Document+Formats [How to get supported conversions in code]: https://docs.groupdocs.com/display/conversionnet/Get+possible+conversions | | dispose() | Releases resources. | | close() | | ##### Converter() ``` public Converter() ``` Initializes new instance of class for fluent conversion setup. Sample fluent conversion usage: `var converter = new Converter();` `converter .Load("") .ConvertTo("") .Convert();` `converter .WithSettings(() => new ConverterSettings()) .Load("").WithOptions(new PdfLoadOptions()) .ConvertTo("").WithOptions(new PdfConvertOptions()) .OnConversionCompleted(convertedDocumentStream => { }) .Convert();` `converter .Load("").WithOptions(new PdfLoadOptions()) .ConvertByPageTo((number => new FileStream("", FileMode.Create))).WithOptions(new PdfConvertOptions()) .OnConversionCompleted((number, stream) => {}) .Convert();` `converter.Load("").GetPossibleConversions(); converter.Load("").GetDocumentInfo(); converter.Load("").WithOptions(new PdfLoadOptions()).GetPossibleConversions(); converter.Load("").WithOptions(new PdfLoadOptions()).GetDocumentInfo();` ##### Converter(Supplier document) ``` public Converter(Supplier document) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | input stream supplier. | ##### Converter(Supplier document, ConverterSettingsProvider settings) ``` public Converter(Supplier document, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(Supplier document, LoadOptionsProvider loadOptions) ``` public Converter(Supplier document, LoadOptionsProvider loadOptions) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | loadOptions | LoadOptionsProvider | A load options supplier. | ##### Converter(Supplier document, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(Supplier document, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | loadOptions | LoadOptionsProvider | A document load options supplier. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions) ``` public Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions) ``` Initializes new instance of class.**Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | An input stream supplier. | | loadOptions | LoadOptionsForFileTypeProvider | The function that return document load options. | ##### Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(Supplier document, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of class.**Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.util.function.Supplier | A supplier that returns readable stream. | | loadOptions | LoadOptionsForFileTypeProvider | A function that returns document load options. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(String filePath) ``` public Converter(String filePath) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | ##### Converter(String filePath, ConverterSettingsProvider settings) ``` public Converter(String filePath, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | settings | ConverterSettingsProvider | A Converter settings supplier. | ##### Converter(String filePath, LoadOptionsProvider loadOptions) ``` public Converter(String filePath, LoadOptionsProvider loadOptions) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsProvider | The load options supplier. | ##### Converter(String filePath, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(String filePath, LoadOptionsProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of Converter class. **Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsProvider | The document load options supplier. | | settings | ConverterSettingsProvider | The Converter settings supplier. | ##### Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions) ``` public Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions) ``` Initializes new instance of class.**Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsForFileTypeProvider | The document load options function. | ##### Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) ``` public Converter(String filePath, LoadOptionsForFileTypeProvider loadOptions, ConverterSettingsProvider settings) ``` Initializes new instance of class.**Learn more**More about how to load and convert documents stored at FTP, Amazon S3 Storage, Windows Azure or any other third-party storage: [Loading document from different sources][]More about document loading options dependent on file type: [Load options for different document types][] [Loading document from different sources]: https://docs.groupdocs.com/display/conversionnet/Loading+documents+from+different+sources [Load options for different document types]: https://docs.groupdocs.com/display/conversionnet/Load+options+for+different+document+types **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | loadOptions | LoadOptionsForFileTypeProvider | The document load options function. | | settings | ConverterSettingsProvider | The Converter settings supplier. | ##### tweakPackageUtil(String vendor, String version, String specTitle) ``` public static void tweakPackageUtil(String vendor, String version, String specTitle) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | vendor | java.lang.String | | | version | java.lang.String | | | specTitle | java.lang.String | | ##### convert(SaveDocumentStream document, ConvertOptions convertOptions) ``` public final void convert(SaveDocumentStream document, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | The output stream supplier. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | output stream supplier | | documentCompleted | ConvertedDocumentStream | the delegate that receive converted document stream. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | the convert options specific to desired target file type. | ##### convert(SaveDocumentStream document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStream document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | The output stream supplier. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStream | The output stream supplier. | | documentCompleted | ConvertedDocumentStream | The delegate that receive converted document stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SaveDocumentStreamForFileType document, ConvertOptions convertOptions) ``` public void convert(SaveDocumentStreamForFileType document, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function | | documentCompleted | ConvertedDocumentStream | The delegate that receive converted document stream | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type | ##### convert(SaveDocumentStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SaveDocumentStreamForFileType document, ConvertedDocumentStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the whole converted document.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SaveDocumentStreamForFileType | Output stream function. | | documentCompleted | ConvertedDocumentStream | The delegate that receive converted document stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(String filePath, ConvertOptions convertOptions) ``` public final void convert(String filePath, ConvertOptions convertOptions) ``` Converts source document. Saves the whole converted document. **Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path to the source document. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStream document, ConvertOptions convertOptions) ``` public final void convert(SavePageStream document, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page. **Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | The page output stream function. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page. **Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | The output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStream document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStream document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | The output stream function. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStream document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStream | Output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SavePageStreamForFileType document, ConvertOptions convertOptions) ``` public void convert(SavePageStreamForFileType document, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` public void convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptions convertOptions) ``` Converts source document. Saves the converted document page by page.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptions | com.groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ##### convert(SavePageStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStreamForFileType document, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` public void convert(SavePageStreamForFileType document, ConvertedPageStream documentCompleted, ConvertOptionsProvider convertOptionsProvider) ``` Converts source document. Saves the converted document page by page.**Learn more**More about document conversion basic scenarios: [How to convert document in 3 steps][]Conversion use cases, advanced settings and customizations: [Convert document with advanced settings][] [How to convert document in 3 steps]: https://docs.groupdocs.com/display/conversionnet/Convert+document [Convert document with advanced settings]: https://docs.groupdocs.com/display/conversionnet/Converting **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | SavePageStreamForFileType | An output stream function. | | documentCompleted | ConvertedPageStream | The delegate that receive converted document page stream. | | convertOptionsProvider | ConvertOptionsProvider | Convert options provider. Will be called for each conversion to provide specific convert options to desired target document type. | ##### withSettings(ConverterSettingsProvider settingsProvider) ``` public IConversionFrom withSettings(ConverterSettingsProvider settingsProvider) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | settingsProvider | ConverterSettingsProvider | | **Returns:** IConversionFrom ##### load(String fileName) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(String fileName) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileName | java.lang.String | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### load(String[] fileNames) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(String[] fileNames) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileNames | java.lang.String[] | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### load(DocumentStreamProvider documentStreamProvider) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(DocumentStreamProvider documentStreamProvider) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | DocumentStreamProvider | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### load(DocumentStreamsProvider documentStreamProvider) ``` public IConversionLoadOptionsOrSourceDocumentLoaded load(DocumentStreamsProvider documentStreamProvider) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentStreamProvider | DocumentStreamsProvider | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets source document info - pages count and other document properties specific to the file type. **Learn more**Learn more about converted document - file type, pages count, creation date and many other format specific properties: [How to get document info][] [How to get document info]: https://docs.groupdocs.com/display/conversionnet/Get+document+info **Returns:** IDocumentInfo - document info ##### isDocumentPasswordProtected() ``` public boolean isDocumentPasswordProtected() ``` Checks is source document is password protected **Returns:** boolean - true if document is password protected **Learn more**Learn more about converted document - file type, pages count, creation date and many other format specific properties: [How to check is the document password protected][] [How to check is the document password protected]: https://docs.groupdocs.com/display/conversionnet/Is+document+password+protected ##### getPossibleConversions() ``` public final PossibleConversions getPossibleConversions() ``` Gets possible conversions for the source document. **Learn more**Learn more about supported conversions: [Full list of supported conversions][]Learn more about available conversions: [How to get supported conversions in code][] [Full list of supported conversions]: https://docs.groupdocs.com/display/conversionnet/Supported+Document+Formats [How to get supported conversions in code]: https://docs.groupdocs.com/display/conversionnet/Get+possible+conversions **Returns:** PossibleConversions - possible conversions ##### getAllPossibleConversions() ``` public static List getAllPossibleConversions() ``` Gets all supported conversions **Learn more**Learn more about supported conversions: [Full list of supported conversions][]Learn more about available conversions: [How to get supported conversions in code][] [Full list of supported conversions]: https://docs.groupdocs.com/display/conversionnet/Supported+Document+Formats [How to get supported conversions in code]: https://docs.groupdocs.com/display/conversionnet/Get+possible+conversions **Returns:** java.util.List - supported conversions ##### getPossibleConversions(String extension) ``` public static PossibleConversions getPossibleConversions(String extension) ``` Gets supported conversions for provided document extension Converter.GetPossibleConversions(".docx") Converter.GetPossibleConversions("docx")**Learn more**Learn more about supported conversions: [Full list of supported conversions][]Learn more about available conversions: [How to get supported conversions in code][] [Full list of supported conversions]: https://docs.groupdocs.com/display/conversionnet/Supported+Document+Formats [How to get supported conversions in code]: https://docs.groupdocs.com/display/conversionnet/Get+possible+conversions **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | Document extension | **Returns:** PossibleConversions - possible conversions ##### dispose() ``` public final void dispose() ``` Releases resources. ##### close() ``` public void close() ``` ### ConverterSettings Path: https://reference.groupdocs.com/conversion/nodejs-java/com.groupdocs.conversion/convertersettings.md **Inheritance:** java.lang.Object ``` public final class ConverterSettings ``` Defines settings for customizing Converter behaviour. #### Constructors | Constructor | Description | | --- | --- | | ConverterSettings() | | #### Methods | Method | Description | | --- | --- | | getCache() | The cache implementation used for storing conversion results. | | setCache(ICache value) | The cache implementation used for storing conversion results. | | getLogger() | The logger implementation used for logging conversion process. | | setLogger(ILogger value) | The logger implementation used for logging conversion process. | | getListener() | Gets the converter listener implementation used for monitoring conversion status and progress | | setListener(IConverterListener listener) | Sets the converter listener implementation used for monitoring conversion status and progress | | getFontDirectories() | The custom font directories paths | | getFontDirectoriesInternal() | | | setFontDirectories(List value) | The custom font directories paths | | listConverterSettings() | | | getTempFolder() | Temp folder used for conversion | | setTempFolder(String tempFolder) | Sets Temp folder used for conversion | ##### ConverterSettings() ``` public ConverterSettings() ``` ##### getCache() ``` public final ICache getCache() ``` The cache implementation used for storing conversion results. **Returns:** ICache ##### setCache(ICache value) ``` public final void setCache(ICache value) ``` The cache implementation used for storing conversion results. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ICache | | ##### getLogger() ``` public final ILogger getLogger() ``` The logger implementation used for logging conversion process. **Returns:** ILogger ##### setLogger(ILogger value) ``` public final void setLogger(ILogger value) ``` The logger implementation used for logging conversion process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ILogger | | ##### getListener() ``` public IConverterListener getListener() ``` Gets the converter listener implementation used for monitoring conversion status and progress **Returns:** IConverterListener - The converter listener ##### setListener(IConverterListener listener) ``` public void setListener(IConverterListener listener) ``` Sets the converter listener implementation used for monitoring conversion status and progress **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | listener | IConverterListener | The converter listener | ##### getFontDirectories() ``` public final List getFontDirectories() ``` The custom font directories paths **Returns:** java.util.List ##### getFontDirectoriesInternal() ``` public List getFontDirectoriesInternal() ``` **Returns:** java.util.List ##### setFontDirectories(List value) ``` public void setFontDirectories(List value) ``` The custom font directories paths **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ##### listConverterSettings() ``` public List listConverterSettings() ``` **Returns:** java.util.List ##### getTempFolder() ``` public String getTempFolder() ``` Temp folder used for conversion **Returns:** java.lang.String ##### setTempFolder(String tempFolder) ``` public void setTempFolder(String tempFolder) ``` Sets Temp folder used for conversion **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tempFolder | java.lang.String | | ## Python ### GroupDocs.Conversion for Python via .NET Path: https://reference.groupdocs.com/conversion/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.conversion` | Main GroupDocs.Conversion namespace with top-level API classes. | | `groupdocs.conversion.caching` | Types under `groupdocs.conversion.caching`. | | `groupdocs.conversion.contracts` | Result, context, and data-transfer types returned by the API. | | `groupdocs.conversion.file_types` | Types under `groupdocs.conversion.file_types`. | | `groupdocs.conversion.filetypes` | File type constants and format identifiers. | | `groupdocs.conversion.fluent` | Types under `groupdocs.conversion.fluent`. | | `groupdocs.conversion.logging` | Logging hooks and listener interfaces. | | `groupdocs.conversion.options` | Option classes for configuring conversions and operations. | | `groupdocs.conversion.options.convert` | Types under `groupdocs.conversion.options.convert`. | | `groupdocs.conversion.options.load` | Types under `groupdocs.conversion.options.load`. | | `groupdocs.conversion.reporting` | Types under `groupdocs.conversion.reporting`. | ### groupdocs.conversion.caching Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching.md Types under `groupdocs.conversion.caching`. ##### Classes | Class | Description | | :- | :- | | `FileCache` | | | `ICache` | | | `MemoryCache` | | ### FileCache class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache.md #### FileCache class The FileCache type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _get_keys_string | | | _init_string | | | _set_string_object | | | _try_get_value_string_object_ | | | get_keys | | | get_keys_file | | | get_keys_string | | | set | | | set_file | | | set_string | | | try_get_value | | | try_get_value_file | | | try_get_value_string | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _get_keys_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/_get_keys_string.md #### _get_keys_string ```python def _get_keys_string(self, filter): ... ``` | Parameter | Type | Description | | :- | :- | :- | | filter | `str` | | **Returns:** List[Any] ### _init_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/_init_string.md #### _init_string ```python def _init_string(self, cache_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | cache_path | `str` | | ### _set_string_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/_set_string_object.md #### _set_string_object ```python def _set_string_object(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | | | value | `Any` | | ### _try_get_value_string_object_ method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/_try_get_value_string_object_.md #### _try_get_value_string_object_ ```python def _try_get_value_string_object_(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | | | value | `Any` | | **Returns:** bool ### get_keys method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/get_keys.md #### get_keys ```python def get_keys(self): ... ``` ### get_keys_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/get_keys_file.md #### get_keys_file ```python def get_keys_file(self): ... ``` ### get_keys_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/get_keys_string.md #### get_keys_string ```python def get_keys_string(self): ... ``` ### set method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/set.md #### set ```python def set(self): ... ``` ### set_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/set_file.md #### set_file ```python def set_file(self): ... ``` ### set_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/set_string.md #### set_string ```python def set_string(self): ... ``` ### try_get_value method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/try_get_value.md #### try_get_value ```python def try_get_value(self): ... ``` ### try_get_value_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/try_get_value_file.md #### try_get_value_file ```python def try_get_value_file(self): ... ``` ### try_get_value_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/filecache/try_get_value_string.md #### try_get_value_string ```python def try_get_value_string(self): ... ``` ### ICache class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache.md #### ICache class The ICache type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _get_keys_string | | | _set_string_object | | | _try_get_value_string_object_ | | | get_keys | | | get_keys_file | | | get_keys_string | | | set | | | set_file | | | set_string | | | try_get_value | | | try_get_value_file | | | try_get_value_string | | ### _get_keys_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/_get_keys_string.md #### _get_keys_string ```python def _get_keys_string(self, filter): ... ``` | Parameter | Type | Description | | :- | :- | :- | | filter | `str` | | **Returns:** List[Any] ### _set_string_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/_set_string_object.md #### _set_string_object ```python def _set_string_object(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | | | value | `Any` | | ### _try_get_value_string_object_ method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/_try_get_value_string_object_.md #### _try_get_value_string_object_ ```python def _try_get_value_string_object_(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | | | value | `Any` | | **Returns:** bool ### get_keys method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/get_keys.md #### get_keys ```python def get_keys(self): ... ``` ### get_keys_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/get_keys_file.md #### get_keys_file ```python def get_keys_file(self): ... ``` ### get_keys_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/get_keys_string.md #### get_keys_string ```python def get_keys_string(self): ... ``` ### set method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/set.md #### set ```python def set(self): ... ``` ### set_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/set_file.md #### set_file ```python def set_file(self): ... ``` ### set_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/set_string.md #### set_string ```python def set_string(self): ... ``` ### try_get_value method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/try_get_value.md #### try_get_value ```python def try_get_value(self): ... ``` ### try_get_value_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/try_get_value_file.md #### try_get_value_file ```python def try_get_value_file(self): ... ``` ### try_get_value_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/icache/try_get_value_string.md #### try_get_value_string ```python def try_get_value_string(self): ... ``` ### MemoryCache class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache.md #### MemoryCache class The MemoryCache type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _get_keys_string | | | _init_noargs | | | _set_string_object | | | _try_get_value_string_object_ | | | get_keys | | | get_keys_file | | | get_keys_string | | | set | | | set_file | | | set_string | | | try_get_value | | | try_get_value_file | | | try_get_value_string | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _get_keys_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/_get_keys_string.md #### _get_keys_string ```python def _get_keys_string(self, filter): ... ``` | Parameter | Type | Description | | :- | :- | :- | | filter | `str` | | **Returns:** List[Any] ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _set_string_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/_set_string_object.md #### _set_string_object ```python def _set_string_object(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | | | value | `Any` | | ### _try_get_value_string_object_ method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/_try_get_value_string_object_.md #### _try_get_value_string_object_ ```python def _try_get_value_string_object_(self, key, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | key | `str` | | | value | `Any` | | **Returns:** bool ### get_keys method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/get_keys.md #### get_keys ```python def get_keys(self): ... ``` ### get_keys_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/get_keys_file.md #### get_keys_file ```python def get_keys_file(self): ... ``` ### get_keys_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/get_keys_string.md #### get_keys_string ```python def get_keys_string(self): ... ``` ### set method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/set.md #### set ```python def set(self): ... ``` ### set_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/set_file.md #### set_file ```python def set_file(self): ... ``` ### set_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/set_string.md #### set_string ```python def set_string(self): ... ``` ### try_get_value method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/try_get_value.md #### try_get_value ```python def try_get_value(self): ... ``` ### try_get_value_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/try_get_value_file.md #### try_get_value_file ```python def try_get_value_file(self): ... ``` ### try_get_value_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.caching/memorycache/try_get_value_string.md #### try_get_value_string ```python def try_get_value_string(self): ... ``` ### groupdocs.conversion.contracts Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts.md Result, context, and data-transfer types returned by the API. ##### Classes | Class | Description | | :- | :- | | `AudioDocumentInfo` | | | `BitmapInfo` | | | `Bzip2DocumentInfo` | | | `CabDocumentInfo` | | | `CadDocumentInfo` | | | `CgmDocumentInfo` | | | `CompressionNodeInfo` | | | `CpioDocumentInfo` | | | `CsvDocumentInfo` | | | `DiagramDocumentInfo` | | | `DjVuDocumentInfo` | | | `DocumentInfo` | | | `EmailDocumentInfo` | | | `Enumeration` | | | `EpsDocumentInfo` | | | `FlagsEnumeration` | | | `FontDocumentInfo` | | | `FontSubstitute` | | | `FontTransformation` | | | `GisDocumentInfo` | | | `GzipDocumentInfo` | | | `HeicDocumentInfo` | | | `ICompressionDocumentHierarchyInfo` | | | `IDocumentInfo` | | | `IDocumentsContainerLoadOptions` | | | `IcoDocumentInfo` | | | `ImageDocumentInfo` | | | `InlineXbrlDocumentInfo` | | | `IsoDocumentInfo` | | | `JsonDocumentInfo` | | | `LhaDocumentInfo` | | | `Lz4DocumentInfo` | | | `LzipDocumentInfo` | | | `LzmaDocumentInfo` | | | `NoteDocumentInfo` | | | `OlmDocumentInfo` | | | `OlmFolderInfo` | | | `PasswordProtectedDocumentInfo` | | | `PclDocumentInfo` | | | `PdfDocumentInfo` | | | `PersonalStorageDocumentInfo` | | | `PersonalStorageFolderInfo` | | | `PersonalStorageItemInfo` | | | `PixelFormat` | | | `PossibleConversions` | | | `PresentationDocumentInfo` | | | `ProjectManagementDocumentInfo` | | | `PsDocumentInfo` | | | `PsdDocumentInfo` | | | `PublisherDocumentInfo` | | | `RarDocumentInfo` | | | `Rectangle` | | | `SevenZipDocumentInfo` | | | `SpreadsheetDocumentInfo` | | | `SvgDocumentInfo` | | | `TableOfContentsItem` | | | `TarDocumentInfo` | | | `TargetConversion` | | | `TexDocumentInfo` | | | `ThreeDDocumentInfo` | | | `TsvDocumentInfo` | | | `TxtDocumentInfo` | | | `UueDocumentInfo` | | | `ValueObject` | | | `VcfDocumentInfo` | | | `VideoDocumentInfo` | | | `WebDocumentInfo` | | | `WordProcessingDocumentInfo` | | | `XbrlDocumentInfo` | | | `XmlDocumentInfo` | | | `XpsDocumentInfo` | | | `XslFoDocumentInfo` | | | `XzDocumentInfo` | | | `ZDocumentInfo` | | | `ZipDocumentInfo` | | | `ZstDocumentInfo` | | ### AudioDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/audiodocumentinfo.md #### AudioDocumentInfo class The AudioDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/audiodocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/audiodocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/audiodocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/audiodocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/audiodocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/audiodocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### BitmapInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bitmapinfo.md #### BitmapInfo class The BitmapInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | create | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | | height | | | pixel_bytes | | | width | | ### create method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bitmapinfo/create.md #### create ```python def create(cls, pixel_bytes, width, height, format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | pixel_bytes | `bytes` | | | width | `int` | | | height | `int` | | | format | `Any` | | **Returns:** BitmapInfo ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bitmapinfo/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bitmapinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bitmapinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### pixel_bytes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bitmapinfo/pixel_bytes.md ##### Definition: ```python @property def pixel_bytes(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bitmapinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### Bzip2DocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bzip2documentinfo.md #### Bzip2DocumentInfo class The Bzip2DocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bzip2documentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bzip2documentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bzip2documentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bzip2documentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bzip2documentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/bzip2documentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### CabDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo.md #### CabDocumentInfo class The CabDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cabdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### CadDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo.md #### CadDocumentInfo class The CadDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | height | | | item | | | layers | | | layouts | | | pages_count | | | property_names | | | size | | | width | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### layers property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/layers.md ##### Definition: ```python @property def layers(self): ... ``` ### layouts property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/layouts.md ##### Definition: ```python @property def layouts(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/caddocumentinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### CgmDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo.md #### CgmDocumentInfo class The CgmDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | author | (inherited from `PdfDocumentInfo`) | | height | (inherited from `PdfDocumentInfo`) | | is_landscape | (inherited from `PdfDocumentInfo`) | | is_password_protected | (inherited from `PdfDocumentInfo`) | | table_of_contents | (inherited from `PdfDocumentInfo`) | | title | (inherited from `PdfDocumentInfo`) | | version | (inherited from `PdfDocumentInfo`) | | width | (inherited from `PdfDocumentInfo`) | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/author.md #### author property Gets author ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/height.md #### height property Gets page height ### is_landscape property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/is_landscape.md #### is_landscape property Gets is page landscaped ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/is_password_protected.md #### is_password_protected property Gets is document password protected ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/table_of_contents.md #### table_of_contents property Table of contents ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/title.md #### title property Gets title ### version property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/version.md #### version property Gets version ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cgmdocumentinfo/width.md #### width property Gets page width ### CompressionNodeInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/compressionnodeinfo.md #### CompressionNodeInfo class The CompressionNodeInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | children | | | file_size | | | is_file | | | name | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/compressionnodeinfo/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/compressionnodeinfo/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### children property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/compressionnodeinfo/children.md ##### Definition: ```python @property def children(self): ... ``` ### file_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/compressionnodeinfo/file_size.md ##### Definition: ```python @property def file_size(self): ... @file_size.setter def file_size(self, value): ... ``` ### is_file property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/compressionnodeinfo/is_file.md ##### Definition: ```python @property def is_file(self): ... @is_file.setter def is_file(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/compressionnodeinfo/name.md ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### CpioDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo.md #### CpioDocumentInfo class The CpioDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/cpiodocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### CsvDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo.md #### CsvDocumentInfo class The CsvDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | active_worksheet_index | (inherited from `SpreadsheetDocumentInfo`) | | author | (inherited from `SpreadsheetDocumentInfo`) | | is_password_protected | (inherited from `SpreadsheetDocumentInfo`) | | title | (inherited from `SpreadsheetDocumentInfo`) | | worksheets | (inherited from `SpreadsheetDocumentInfo`) | | worksheets_count | (inherited from `SpreadsheetDocumentInfo`) | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/author.md #### author property Gets author ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/is_password_protected.md #### is_password_protected property Gets is document password protected ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/title.md #### title property Gets title ### worksheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/worksheets.md #### worksheets property Worksheets names ### worksheets_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/csvdocumentinfo/worksheets_count.md #### worksheets_count property Gets worksheets count ### DiagramDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/diagramdocumentinfo.md #### DiagramDocumentInfo class The DiagramDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/diagramdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/diagramdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/diagramdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/diagramdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/diagramdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/diagramdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### DjVuDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo.md #### DjVuDocumentInfo class The DjVuDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | horizontal_resolution | | | item | | | opacity | | | pages_count | | | property_names | | | size | | | vertical_resolution | | | bits_per_pixel | (inherited from `ImageDocumentInfo`) | | height | (inherited from `ImageDocumentInfo`) | | width | (inherited from `ImageDocumentInfo`) | ### bits_per_pixel property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/bits_per_pixel.md #### bits_per_pixel property Gets bits per pixel ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/height.md #### height property Gets height ### horizontal_resolution property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/horizontal_resolution.md ##### Definition: ```python @property def horizontal_resolution(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### opacity property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/opacity.md ##### Definition: ```python @property def opacity(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### vertical_resolution property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/vertical_resolution.md ##### Definition: ```python @property def vertical_resolution(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/djvudocumentinfo/width.md #### width property Gets width ### DocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/documentinfo.md #### DocumentInfo class The DocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/documentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... @creation_date.setter def creation_date(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/documentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/documentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/documentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/documentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/documentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### EmailDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo.md #### EmailDocumentInfo class The EmailDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | attachments_count | | | attachments_names | | | creation_date | | | format | | | is_encrypted | | | is_html | | | is_signed | | | item | | | pages_count | | | property_names | | | size | | ### attachments_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/attachments_count.md ##### Definition: ```python @property def attachments_count(self): ... ``` ### attachments_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/attachments_names.md ##### Definition: ```python @property def attachments_names(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### is_html property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/is_html.md ##### Definition: ```python @property def is_html(self): ... ``` ### is_signed property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/is_signed.md ##### Definition: ```python @property def is_signed(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/emaildocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### Enumeration class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration.md #### Enumeration class The Enumeration type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | | | _equals_enumeration | | | _equals_object | | | _get_hash_code_noargs | | | _to_string_noargs | | | compare_to | | | compare_to_object | | | equals | | | equals_enumeration | | | equals_object | | | from_display_name | | | from_value | | | get_all | | | get_hash_code | | | to_string | | ### _compare_to_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/_compare_to_object.md #### _compare_to_object ```python def _compare_to_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** int ### _equals_enumeration method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/_equals_enumeration.md #### _equals_enumeration ```python def _equals_enumeration(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `Enumeration` | | **Returns:** bool ### _equals_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### _to_string_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/compare_to.md #### compare_to ```python def compare_to(self): ... ``` ### compare_to_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/compare_to_object.md #### compare_to_object ```python def compare_to_object(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/equals.md #### equals ```python def equals(self): ... ``` ### equals_enumeration method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/equals_enumeration.md #### equals_enumeration ```python def equals_enumeration(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### from_display_name method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/from_display_name.md #### from_display_name ```python def from_display_name(cls, display_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | display_name | `str` | | **Returns:** Any ### from_value method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/from_value.md #### from_value ```python def from_value(cls, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `str` | | **Returns:** Any ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/get_all.md #### get_all ```python def get_all(cls): ... ``` **Returns:** Any ### get_hash_code method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/enumeration/to_string.md #### to_string ```python def to_string(self): ... ``` ### EpsDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo.md #### EpsDocumentInfo class The EpsDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | bits_per_pixel | (inherited from `ImageDocumentInfo`) | | height | (inherited from `ImageDocumentInfo`) | | width | (inherited from `ImageDocumentInfo`) | ### bits_per_pixel property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/bits_per_pixel.md #### bits_per_pixel property Gets bits per pixel ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/height.md #### height property Gets height ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epsdocumentinfo/width.md #### width property Gets width ### EpubDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo.md #### EpubDocumentInfo class Contains Epub document metadata **Inheritance:** `EpubDocumentInfo` → `PdfDocumentInfo` → `DocumentInfo` The EpubDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages_count | Implements `IDocumentInfo.pages_count` | | format | Implements `IDocumentInfo.format` | | size | Implements `IDocumentInfo.size` | | creation_date | Implements `IDocumentInfo.creation_date` | | property_names | Implements `IDocumentInfo.property_names` | | version | Gets version | | title | Gets title | | author | Gets author | | is_password_protected | Gets is document password protected | | is_landscape | Gets is page landscaped | | height | Gets page height | | width | Gets page width | | table_of_contents | Table of contents | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/author.md #### author property Gets author ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/creation_date.md #### creation_date property Implements `IDocumentInfo.creation_date` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/format.md #### format property Implements `IDocumentInfo.format` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/height.md #### height property Gets page height ### is_landscape property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/is_landscape.md #### is_landscape property Gets is page landscaped ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/is_password_protected.md #### is_password_protected property Gets is document password protected ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/pages_count.md #### pages_count property Implements `IDocumentInfo.pages_count` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/property_names.md #### property_names property Implements `IDocumentInfo.property_names` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/size.md #### size property Implements `IDocumentInfo.size` ### table_of_contents property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/table_of_contents.md #### table_of_contents property Table of contents ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/title.md #### title property Gets title ### version property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/version.md #### version property Gets version ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/epubdocumentinfo/width.md #### width property Gets page width ### FlagsEnumeration class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration.md #### FlagsEnumeration class The FlagsEnumeration type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _has_flag_arg | | | _has_flag_value_int32 | | | _to_string_noargs | | | combine | | | has_flag | | | has_flag_value | | | has_flag_value_int32 | | | to_string | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | ### _has_flag_arg method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/_has_flag_arg.md #### _has_flag_arg ```python def _has_flag_arg(self, flag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | flag | `Any` | | **Returns:** bool ### _has_flag_value_int32 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/_has_flag_value_int32.md #### _has_flag_value_int32 ```python def _has_flag_value_int32(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `int` | | **Returns:** bool ### _to_string_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### combine method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/combine.md #### combine ```python def combine(cls, left, right): ... ``` | Parameter | Type | Description | | :- | :- | :- | | left | `Any` | | | right | `Any` | | **Returns:** Any ### has_flag method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/has_flag.md #### has_flag ```python def has_flag(self): ... ``` ### has_flag_value method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/has_flag_value.md #### has_flag_value ```python def has_flag_value(self): ... ``` ### has_flag_value_int32 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/has_flag_value_int32.md #### has_flag_value_int32 ```python def has_flag_value_int32(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/flagsenumeration/to_string.md #### to_string ```python def to_string(self): ... ``` ### FontDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontdocumentinfo.md #### FontDocumentInfo class The FontDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### FontSubstitute class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontsubstitute.md #### FontSubstitute class The FontSubstitute type exposes the following members: ##### Methods | Method | Description | | :- | :- | | create | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | original_font_name | | | substitute_font_name | | ### create method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontsubstitute/create.md #### create ```python def create(cls, original_font, substitute_with): ... ``` | Parameter | Type | Description | | :- | :- | :- | | original_font | `str` | | | substitute_with | `str` | | **Returns:** FontSubstitute ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontsubstitute/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### original_font_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontsubstitute/original_font_name.md ##### Definition: ```python @property def original_font_name(self): ... ``` ### substitute_font_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fontsubstitute/substitute_font_name.md ##### Definition: ```python @property def substitute_font_name(self): ... ``` ### FontTransformation class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation.md #### FontTransformation class The FontTransformation type exposes the following members: ##### Methods | Method | Description | | :- | :- | | create | | | create_by_name | | | create_flexible | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | match_any_size | | | match_any_style | | | original_font | | | replacement_font | | ### create method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation/create.md #### create ```python def create(cls, original_font, replacement_font): ... ``` | Parameter | Type | Description | | :- | :- | :- | | original_font | `Font` | | | replacement_font | `Font` | | **Returns:** FontTransformation ### create_by_name method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation/create_by_name.md #### create_by_name ```python def create_by_name(cls, original_font_name, replacement_font_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | original_font_name | `str` | | | replacement_font_name | `str` | | **Returns:** FontTransformation ### create_flexible method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation/create_flexible.md #### create_flexible ```python def create_flexible(cls, original_font, replacement_font, match_any_size, match_any_style): ... ``` | Parameter | Type | Description | | :- | :- | :- | | original_font | `Font` | | | replacement_font | `Font` | | | match_any_size | `bool` | | | match_any_style | `bool` | | **Returns:** FontTransformation ### match_any_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation/match_any_size.md ##### Definition: ```python @property def match_any_size(self): ... ``` ### match_any_style property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation/match_any_style.md ##### Definition: ```python @property def match_any_style(self): ... ``` ### original_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation/original_font.md ##### Definition: ```python @property def original_font(self): ... ``` ### replacement_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/fonttransformation/replacement_font.md ##### Definition: ```python @property def replacement_font(self): ... ``` ### GisDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gisdocumentinfo.md #### GisDocumentInfo class The GisDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gisdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gisdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gisdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gisdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gisdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gisdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### GzipDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gzipdocumentinfo.md #### GzipDocumentInfo class The GzipDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gzipdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gzipdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gzipdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gzipdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gzipdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/gzipdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### HeicDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo.md #### HeicDocumentInfo class The HeicDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | bits_per_pixel | (inherited from `ImageDocumentInfo`) | | height | (inherited from `ImageDocumentInfo`) | | width | (inherited from `ImageDocumentInfo`) | ### bits_per_pixel property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/bits_per_pixel.md #### bits_per_pixel property Gets bits per pixel ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/height.md #### height property Gets height ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/heicdocumentinfo/width.md #### width property Gets width ### IcoDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo.md #### IcoDocumentInfo class The IcoDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | bits_per_pixel | (inherited from `ImageDocumentInfo`) | | height | (inherited from `ImageDocumentInfo`) | | width | (inherited from `ImageDocumentInfo`) | ### bits_per_pixel property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/bits_per_pixel.md #### bits_per_pixel property Gets bits per pixel ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/height.md #### height property Gets height ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icodocumentinfo/width.md #### width property Gets width ### ICompressionDocumentHierarchyInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icompressiondocumenthierarchyinfo.md #### ICompressionDocumentHierarchyInfo class The ICompressionDocumentHierarchyInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/icompressiondocumenthierarchyinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### IDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentinfo.md #### IDocumentInfo class The IDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### IDocumentsContainerLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentscontainerloadoptions.md #### IDocumentsContainerLoadOptions class The IDocumentsContainerLoadOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | convert_owned | | | convert_owner | | | depth | | ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentscontainerloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentscontainerloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/idocumentscontainerloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... ``` ### ImageDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo.md #### ImageDocumentInfo class The ImageDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | bits_per_pixel | | | creation_date | | | format | | | height | | | item | | | pages_count | | | property_names | | | size | | | width | | ### bits_per_pixel property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/bits_per_pixel.md ##### Definition: ```python @property def bits_per_pixel(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/imagedocumentinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### InlineXbrlDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/inlinexbrldocumentinfo.md #### InlineXbrlDocumentInfo class The InlineXbrlDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/inlinexbrldocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/inlinexbrldocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/inlinexbrldocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/inlinexbrldocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/inlinexbrldocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/inlinexbrldocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### IsoDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo.md #### IsoDocumentInfo class The IsoDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/isodocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### JsonDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/jsondocumentinfo.md #### JsonDocumentInfo class The JsonDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/jsondocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/jsondocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/jsondocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/jsondocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/jsondocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/jsondocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### LhaDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo.md #### LhaDocumentInfo class The LhaDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lhadocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### Lz4DocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lz4documentinfo.md #### Lz4DocumentInfo class The Lz4DocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lz4documentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lz4documentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lz4documentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lz4documentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lz4documentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lz4documentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### LzipDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzipdocumentinfo.md #### LzipDocumentInfo class The LzipDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzipdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzipdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzipdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzipdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzipdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzipdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### LzmaDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzmadocumentinfo.md #### LzmaDocumentInfo class The LzmaDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzmadocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzmadocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzmadocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzmadocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzmadocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/lzmadocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### NoteDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo.md #### NoteDocumentInfo class The NoteDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | title | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/notedocumentinfo/title.md ##### Definition: ```python @property def title(self): ... ``` ### OlmDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo.md #### OlmDocumentInfo class The OlmDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | folders | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### folders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo/folders.md ##### Definition: ```python @property def folders(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### OlmFolderInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmfolderinfo.md #### OlmFolderInfo class The OlmFolderInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | | | to_string | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | items_count | | | name | | ### _to_string_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmfolderinfo/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmfolderinfo/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### items_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmfolderinfo/items_count.md ##### Definition: ```python @property def items_count(self): ... ``` ### name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmfolderinfo/name.md ##### Definition: ```python @property def name(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/olmfolderinfo/to_string.md #### to_string ```python def to_string(self): ... ``` ### PasswordProtectedDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo.md #### PasswordProtectedDocumentInfo class The PasswordProtectedDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | is_password_protected | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/is_password_protected.md ##### Definition: ```python @property def is_password_protected(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/passwordprotecteddocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### PclDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pcldocumentinfo.md #### PclDocumentInfo class The PclDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pcldocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pcldocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pcldocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pcldocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pcldocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pcldocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### PdfDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo.md #### PdfDocumentInfo class The PdfDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | author | | | creation_date | | | format | | | height | | | is_landscape | | | is_password_protected | | | item | | | pages_count | | | property_names | | | size | | | table_of_contents | | | title | | | version | | | width | | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/author.md ##### Definition: ```python @property def author(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### is_landscape property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/is_landscape.md ##### Definition: ```python @property def is_landscape(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/is_password_protected.md ##### Definition: ```python @property def is_password_protected(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/table_of_contents.md ##### Definition: ```python @property def table_of_contents(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/title.md ##### Definition: ```python @property def title(self): ... ``` ### version property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/version.md ##### Definition: ```python @property def version(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pdfdocumentinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### PersonalStorageDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo.md #### PersonalStorageDocumentInfo class The PersonalStorageDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_count | | | creation_date | | | folders | | | format | | | is_password_protected | | | item | | | pages_count | | | property_names | | | root_folder_name | | | size | | ### content_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/content_count.md ##### Definition: ```python @property def content_count(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### folders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/folders.md ##### Definition: ```python @property def folders(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/is_password_protected.md ##### Definition: ```python @property def is_password_protected(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### root_folder_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/root_folder_name.md ##### Definition: ```python @property def root_folder_name(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragedocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### PersonalStorageFolderInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo.md #### PersonalStorageFolderInfo class The PersonalStorageFolderInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | | | to_string | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | items | | | items_count | | | name | | | sub_folders | | ### _to_string_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### items property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo/items.md ##### Definition: ```python @property def items(self): ... ``` ### items_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo/items_count.md ##### Definition: ```python @property def items_count(self): ... ``` ### name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo/name.md ##### Definition: ```python @property def name(self): ... ``` ### sub_folders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo/sub_folders.md ##### Definition: ```python @property def sub_folders(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstoragefolderinfo/to_string.md #### to_string ```python def to_string(self): ... ``` ### PersonalStorageItemInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo.md #### PersonalStorageItemInfo class The PersonalStorageItemInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | attachments_count | | | bcc | | | cc | | | from_ | | | sent | | | size | | | subject | | | title | | | to | | ### attachments_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/attachments_count.md ##### Definition: ```python @property def attachments_count(self): ... ``` ### bcc property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/bcc.md ##### Definition: ```python @property def bcc(self): ... ``` ### cc property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/cc.md ##### Definition: ```python @property def cc(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### from_ property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/from_.md ##### Definition: ```python @property def from_(self): ... ``` ### from_address property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/from_address.md #### from_address property Item From ##### Definition: ```python @property def from_address(self): ... ``` ### sent property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/sent.md ##### Definition: ```python @property def sent(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### subject property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/subject.md ##### Definition: ```python @property def subject(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/title.md ##### Definition: ```python @property def title(self): ... ``` ### to property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/personalstorageiteminfo/to.md ##### Definition: ```python @property def to(self): ... ``` ### PixelFormat class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat.md #### PixelFormat class The PixelFormat type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Argb32 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat/argb32.md ### Bgr24 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat/bgr24.md ### Bgra32 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat/bgra32.md ### Rgb24 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat/rgb24.md ### Rgba32 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/pixelformat/rgba32.md ### PossibleConversions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions.md #### PossibleConversions class The PossibleConversions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | all | | | item | | | item | | | load_options | | | primary | | | secondary | | | source | | ### all property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions/all.md ##### Definition: ```python @property def all(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions/item.md ##### Definition: ```python @property def item(self): ... ``` ### load_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions/load_options.md ##### Definition: ```python @property def load_options(self): ... ``` ### primary property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions/primary.md ##### Definition: ```python @property def primary(self): ... ``` ### secondary property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions/secondary.md ##### Definition: ```python @property def secondary(self): ... ``` ### source property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/possibleconversions/source.md ##### Definition: ```python @property def source(self): ... ``` ### PresentationDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo.md #### PresentationDocumentInfo class The PresentationDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | author | | | creation_date | | | format | | | is_password_protected | | | item | | | pages_count | | | property_names | | | size | | | title | | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/author.md ##### Definition: ```python @property def author(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/is_password_protected.md ##### Definition: ```python @property def is_password_protected(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/presentationdocumentinfo/title.md ##### Definition: ```python @property def title(self): ... ``` ### ProjectManagementDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo.md #### ProjectManagementDocumentInfo class The ProjectManagementDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | end_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | start_date | | | tasks_count | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### end_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/end_date.md ##### Definition: ```python @property def end_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### start_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/start_date.md ##### Definition: ```python @property def start_date(self): ... ``` ### tasks_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/projectmanagementdocumentinfo/tasks_count.md ##### Definition: ```python @property def tasks_count(self): ... ``` ### PsdDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo.md #### PsdDocumentInfo class The PsdDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | bits_per_pixel | | | creation_date | | | format | | | height | | | item | | | pages_count | | | property_names | | | size | | | width | | ### bits_per_pixel property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/bits_per_pixel.md ##### Definition: ```python @property def bits_per_pixel(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psddocumentinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### PsDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psdocumentinfo.md #### PsDocumentInfo class The PsDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/psdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### PublisherDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/publisherdocumentinfo.md #### PublisherDocumentInfo class The PublisherDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/publisherdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/publisherdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/publisherdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/publisherdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/publisherdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/publisherdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### RarDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo.md #### RarDocumentInfo class The RarDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rardocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### Rectangle class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle.md #### Rectangle class The Rectangle type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _crop_int32_int32_int32_int32 | | | _init_int32_int32_int32_int32 | | | _to_string_noargs | | | crop | | | crop_int32 | | | to_string | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | bottom | | | height | | | left | | | right | | | top | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _crop_int32_int32_int32_int32 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/_crop_int32_int32_int32_int32.md #### _crop_int32_int32_int32_int32 ```python def _crop_int32_int32_int32_int32(self, crop_left, crop_top, crop_right, crop_bottom): ... ``` | Parameter | Type | Description | | :- | :- | :- | | crop_left | `int` | | | crop_top | `int` | | | crop_right | `int` | | | crop_bottom | `int` | | **Returns:** Rectangle ### _init_int32_int32_int32_int32 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/_init_int32_int32_int32_int32.md #### _init_int32_int32_int32_int32 ```python def _init_int32_int32_int32_int32(self, left, top, right, bottom): ... ``` | Parameter | Type | Description | | :- | :- | :- | | left | `int` | | | top | `int` | | | right | `int` | | | bottom | `int` | | ### _to_string_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### bottom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/bottom.md ##### Definition: ```python @property def bottom(self): ... ``` ### crop method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/crop.md #### crop ```python def crop(self): ... ``` ### crop_int32 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/crop_int32.md #### crop_int32 ```python def crop_int32(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/height.md ##### Definition: ```python @property def height(self): ... ``` ### left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/left.md ##### Definition: ```python @property def left(self): ... ``` ### right property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/right.md ##### Definition: ```python @property def right(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/to_string.md #### to_string ```python def to_string(self): ... ``` ### top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/top.md ##### Definition: ```python @property def top(self): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/rectangle/width.md ##### Definition: ```python @property def width(self): ... ``` ### SevenZipDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo.md #### SevenZipDocumentInfo class The SevenZipDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/sevenzipdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### SpreadsheetDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo.md #### SpreadsheetDocumentInfo class The SpreadsheetDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | active_worksheet_index | | | author | | | creation_date | | | format | | | is_password_protected | | | item | | | pages_count | | | property_names | | | size | | | title | | | worksheets | | | worksheets_count | | ### active_worksheet_index property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/active_worksheet_index.md ##### Definition: ```python @property def active_worksheet_index(self): ... ``` ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/author.md ##### Definition: ```python @property def author(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/is_password_protected.md ##### Definition: ```python @property def is_password_protected(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/title.md ##### Definition: ```python @property def title(self): ... ``` ### worksheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/worksheets.md ##### Definition: ```python @property def worksheets(self): ... ``` ### worksheets_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/spreadsheetdocumentinfo/worksheets_count.md ##### Definition: ```python @property def worksheets_count(self): ... ``` ### SvgDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/svgdocumentinfo.md #### SvgDocumentInfo class The SvgDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/svgdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/svgdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/svgdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/svgdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/svgdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/svgdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### TableOfContentsItem class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tableofcontentsitem.md #### TableOfContentsItem class The TableOfContentsItem type exposes the following members: ##### Properties | Property | Description | | :- | :- | | page | | | title | | ### page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tableofcontentsitem/page.md ##### Definition: ```python @property def page(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tableofcontentsitem/title.md ##### Definition: ```python @property def title(self): ... ``` ### TarDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo.md #### TarDocumentInfo class The TarDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tardocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### TargetConversion class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/targetconversion.md #### TargetConversion class The TargetConversion type exposes the following members: ##### Properties | Property | Description | | :- | :- | | convert_options | | | format | | | is_primary | | ### convert_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/targetconversion/convert_options.md ##### Definition: ```python @property def convert_options(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/targetconversion/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_primary property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/targetconversion/is_primary.md ##### Definition: ```python @property def is_primary(self): ... ``` ### TexDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/texdocumentinfo.md #### TexDocumentInfo class The TexDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/texdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/texdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/texdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/texdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/texdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/texdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### ThreeDDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/threeddocumentinfo.md #### ThreeDDocumentInfo class The ThreeDDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/threeddocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/threeddocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/threeddocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/threeddocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/threeddocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/threeddocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### TsvDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo.md #### TsvDocumentInfo class The TsvDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | active_worksheet_index | (inherited from `SpreadsheetDocumentInfo`) | | author | (inherited from `SpreadsheetDocumentInfo`) | | is_password_protected | (inherited from `SpreadsheetDocumentInfo`) | | title | (inherited from `SpreadsheetDocumentInfo`) | | worksheets | (inherited from `SpreadsheetDocumentInfo`) | | worksheets_count | (inherited from `SpreadsheetDocumentInfo`) | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/author.md #### author property Gets author ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/is_password_protected.md #### is_password_protected property Gets is document password protected ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/title.md #### title property Gets title ### worksheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/worksheets.md #### worksheets property Worksheets names ### worksheets_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/tsvdocumentinfo/worksheets_count.md #### worksheets_count property Gets worksheets count ### TxtDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo.md #### TxtDocumentInfo class The TxtDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | author | (inherited from `WordProcessingDocumentInfo`) | | is_password_protected | (inherited from `WordProcessingDocumentInfo`) | | lines | (inherited from `WordProcessingDocumentInfo`) | | table_of_contents | (inherited from `WordProcessingDocumentInfo`) | | title | (inherited from `WordProcessingDocumentInfo`) | | words | (inherited from `WordProcessingDocumentInfo`) | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/author.md #### author property Gets author ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/is_password_protected.md #### is_password_protected property Gets is document password protected ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### lines property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/lines.md #### lines property Gets lines count ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/table_of_contents.md #### table_of_contents property Table of contents ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/title.md #### title property Gets title ### words property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/txtdocumentinfo/words.md #### words property Gets words count ### UueDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/uuedocumentinfo.md #### UueDocumentInfo class The UueDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/uuedocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/uuedocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/uuedocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/uuedocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/uuedocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/uuedocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### ValueObject class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject.md #### ValueObject class The ValueObject type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_object | | | _equals_value_object | | | _get_hash_code_noargs | | | equals | | | equals_object | | | equals_value_object | | | get_hash_code | | ### _equals_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _equals_value_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject/_equals_value_object.md #### _equals_value_object ```python def _equals_value_object(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `ValueObject` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject/equals.md #### equals ```python def equals(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_value_object method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject/equals_value_object.md #### equals_value_object ```python def equals_value_object(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/valueobject/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### VcfDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo.md #### VcfDocumentInfo class The VcfDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | contacts_count | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### contacts_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo/contacts_count.md ##### Definition: ```python @property def contacts_count(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/vcfdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### VideoDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/videodocumentinfo.md #### VideoDocumentInfo class The VideoDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/videodocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/videodocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/videodocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/videodocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/videodocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/videodocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### WebDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo.md #### WebDocumentInfo class The WebDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | encoding | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo/encoding.md ##### Definition: ```python @property def encoding(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/webdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### WordProcessingDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo.md #### WordProcessingDocumentInfo class The WordProcessingDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | author | | | creation_date | | | format | | | is_password_protected | | | item | | | lines | | | pages_count | | | property_names | | | size | | | table_of_contents | | | title | | | words | | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/author.md ##### Definition: ```python @property def author(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/is_password_protected.md ##### Definition: ```python @property def is_password_protected(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### lines property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/lines.md ##### Definition: ```python @property def lines(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/table_of_contents.md ##### Definition: ```python @property def table_of_contents(self): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/title.md ##### Definition: ```python @property def title(self): ... ``` ### words property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/wordprocessingdocumentinfo/words.md ##### Definition: ```python @property def words(self): ... ``` ### XbrlDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xbrldocumentinfo.md #### XbrlDocumentInfo class The XbrlDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xbrldocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xbrldocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xbrldocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xbrldocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xbrldocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xbrldocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### XmlDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xmldocumentinfo.md #### XmlDocumentInfo class The XmlDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xmldocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xmldocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xmldocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xmldocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xmldocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xmldocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### XpsDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo.md #### XpsDocumentInfo class The XpsDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | author | (inherited from `PdfDocumentInfo`) | | height | (inherited from `PdfDocumentInfo`) | | is_landscape | (inherited from `PdfDocumentInfo`) | | is_password_protected | (inherited from `PdfDocumentInfo`) | | table_of_contents | (inherited from `PdfDocumentInfo`) | | title | (inherited from `PdfDocumentInfo`) | | version | (inherited from `PdfDocumentInfo`) | | width | (inherited from `PdfDocumentInfo`) | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/author.md #### author property Gets author ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/height.md #### height property Gets page height ### is_landscape property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/is_landscape.md #### is_landscape property Gets is page landscaped ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/is_password_protected.md #### is_password_protected property Gets is document password protected ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/table_of_contents.md #### table_of_contents property Table of contents ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/title.md #### title property Gets title ### version property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/version.md #### version property Gets version ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xpsdocumentinfo/width.md #### width property Gets page width ### XslFoDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo.md #### XslFoDocumentInfo class The XslFoDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | | author | (inherited from `PdfDocumentInfo`) | | height | (inherited from `PdfDocumentInfo`) | | is_landscape | (inherited from `PdfDocumentInfo`) | | is_password_protected | (inherited from `PdfDocumentInfo`) | | table_of_contents | (inherited from `PdfDocumentInfo`) | | title | (inherited from `PdfDocumentInfo`) | | version | (inherited from `PdfDocumentInfo`) | | width | (inherited from `PdfDocumentInfo`) | ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/author.md #### author property Gets author ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/height.md #### height property Gets page height ### is_landscape property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/is_landscape.md #### is_landscape property Gets is page landscaped ### is_password_protected property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/is_password_protected.md #### is_password_protected property Gets is document password protected ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/table_of_contents.md #### table_of_contents property Table of contents ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/title.md #### title property Gets title ### version property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/version.md #### version property Gets version ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xslfodocumentinfo/width.md #### width property Gets page width ### XzDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xzdocumentinfo.md #### XzDocumentInfo class The XzDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xzdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xzdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xzdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xzdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xzdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/xzdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### ZDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zdocumentinfo.md #### ZDocumentInfo class The ZDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### ZipDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo.md #### ZipDocumentInfo class The ZipDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | content_tree | | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### content_tree property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo/content_tree.md ##### Definition: ```python @property def content_tree(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zipdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### ZstDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zstdocumentinfo.md #### ZstDocumentInfo class The ZstDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | creation_date | | | format | | | item | | | pages_count | | | property_names | | | size | | ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zstdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zstdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### item property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zstdocumentinfo/item.md ##### Definition: ```python @property def item(self): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zstdocumentinfo/pages_count.md ##### Definition: ```python @property def pages_count(self): ... ``` ### property_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zstdocumentinfo/property_names.md ##### Definition: ```python @property def property_names(self): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.contracts/zstdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### groupdocs.conversion.exceptions Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions.md The module provides different exceptions classes. ##### Classes | Class | Description | | :- | :- | | `ConversionNotSupportedException` | GroupDocs exception thrown when the conversion from source file to target file type is not supported | | `CorruptOrDamagedFileException` | GroupDocs exception thrown when the file is corrupt or damaged | | `FileTypeNotSupportedException` | GroupDocs exception thrown when the file type is not supported | | `FontSubstituteException` | Thrown if font substitute is illegal | | `GroupDocsConversionException` | GroupDocs.Conversion general exception | | `IncorrectPasswordException` | GroupDocs exception thrown when the file is password protected, password is provided but is incorrect | | `InvalidConvertOptionsException` | Thrown if provided convert options are invalid | | `InvalidConverterSettingsException` | Thrown if provided converter settings are invalid | | `PasswordRequiredException` | GroupDocs exception thrown when the file is password protected and password is not provided | | `SourceDocumentFactoryNotProvidedException` | GroupDocs exception thrown when the source document factory is not provided | ### ConversionNotSupportedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/conversionnotsupportedexception.md #### ConversionNotSupportedException class GroupDocs exception thrown when the conversion from source file to target file type is not supported **Inheritance:** `ConversionNotSupportedException` → `GroupDocsConversionException` The ConversionNotSupportedException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates an exception instance with a message | ### ConversionNotSupportedException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/conversionnotsupportedexception/__init__.md #### __init__ Creates an exception instance with a message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### CorruptOrDamagedFileException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/corruptordamagedfileexception.md #### CorruptOrDamagedFileException class GroupDocs exception thrown when the file is corrupt or damaged **Inheritance:** `CorruptOrDamagedFileException` → `GroupDocsConversionException` The CorruptOrDamagedFileException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception instance with a FileType | | __init__ | Creates an exception instance with a message | ### CorruptOrDamagedFileException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/corruptordamagedfileexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception instance with a FileType ```python def __init__(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | groupdocs.conversion.filetypes.FileType | The file type | #### __init__ Creates an exception instance with a message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### FileTypeNotSupportedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/filetypenotsupportedexception.md #### FileTypeNotSupportedException class GroupDocs exception thrown when the file type is not supported **Inheritance:** `FileTypeNotSupportedException` → `GroupDocsConversionException` The FileTypeNotSupportedException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception instance with a FileType | | __init__ | Creates an exception instance with a message | ### FileTypeNotSupportedException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/filetypenotsupportedexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception instance with a FileType ```python def __init__(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | groupdocs.conversion.filetypes.FileType | The file type | #### __init__ Creates an exception instance with a message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### FontSubstituteException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/fontsubstituteexception.md #### FontSubstituteException class Thrown if font substitute is illegal **Inheritance:** `FontSubstituteException` → `GroupDocsConversionException` The FontSubstituteException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception with a specific message | ### FontSubstituteException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/fontsubstituteexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception with a specific message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### GroupDocsConversionException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/groupdocsconversionexception.md #### GroupDocsConversionException class GroupDocs.Conversion general exception The GroupDocsConversionException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception with a specific message | ### GroupDocsConversionException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/groupdocsconversionexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception with a specific message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### IncorrectPasswordException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/incorrectpasswordexception.md #### IncorrectPasswordException class GroupDocs exception thrown when the file is password protected, password is provided but is incorrect **Inheritance:** `IncorrectPasswordException` → `GroupDocsConversionException` The IncorrectPasswordException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception instance with a FileType | | __init__ | Creates an exception instance with a message | ### IncorrectPasswordException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/incorrectpasswordexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception instance with a FileType ```python def __init__(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | groupdocs.conversion.filetypes.FileType | The file type | #### __init__ Creates an exception instance with a message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### InvalidConverterSettingsException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/invalidconvertersettingsexception.md #### InvalidConverterSettingsException class Thrown if provided converter settings are invalid **Inheritance:** `InvalidConverterSettingsException` → `GroupDocsConversionException` The InvalidConverterSettingsException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception with a specific message | ### InvalidConverterSettingsException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/invalidconvertersettingsexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception with a specific message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### InvalidConvertOptionsException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/invalidconvertoptionsexception.md #### InvalidConvertOptionsException class Thrown if provided convert options are invalid **Inheritance:** `InvalidConvertOptionsException` → `GroupDocsConversionException` The InvalidConvertOptionsException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception with a specific message | ### InvalidConvertOptionsException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/invalidconvertoptionsexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception with a specific message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### PasswordRequiredException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/passwordrequiredexception.md #### PasswordRequiredException class GroupDocs exception thrown when the file is password protected and password is not provided **Inheritance:** `PasswordRequiredException` → `GroupDocsConversionException` The PasswordRequiredException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Default constructor | | __init__ | Creates an exception instance with a FileType | | __init__ | Creates an exception instance with a message | ### PasswordRequiredException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/passwordrequiredexception/__init__.md #### __init__ Default constructor ```python def __init__(self): ... ``` #### __init__ Creates an exception instance with a FileType ```python def __init__(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | groupdocs.conversion.filetypes.FileType | The file type | #### __init__ Creates an exception instance with a message ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message | ### SourceDocumentFactoryNotProvidedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/sourcedocumentfactorynotprovidedexception.md #### SourceDocumentFactoryNotProvidedException class GroupDocs exception thrown when the source document factory is not provided **Inheritance:** `SourceDocumentFactoryNotProvidedException` → `GroupDocsConversionException` The SourceDocumentFactoryNotProvidedException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Creates an exception instance with a message | ### SourceDocumentFactoryNotProvidedException constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.exceptions/sourcedocumentfactorynotprovidedexception/__init__.md #### __init__ Creates an exception instance with a message ```python def __init__(self): ... ``` ### groupdocs.conversion.file_types Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types.md Types under `groupdocs.conversion.file_types`. ##### Classes | Class | Description | | :- | :- | | `AudioFileType` | | | `CadFileType` | | | `CompressionFileType` | | | `DatabaseFileType` | | | `DiagramFileType` | | | `EBookFileType` | | | `EmailFileType` | | | `FileType` | | | `FinanceFileType` | | | `FontFileType` | | | `GisFileType` | | | `ImageFileType` | | | `NoteFileType` | | | `PageDescriptionLanguageFileType` | | | `PdfFileType` | | | `PresentationFileType` | | | `ProjectManagementFileType` | | | `PublisherFileType` | | | `SpreadsheetFileType` | | | `ThreeDFileType` | | | `VideoFileType` | | | `WebFileType` | | | `WordProcessingFileType` | | ### AudioFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/audiofiletype.md #### AudioFileType class The AudioFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/audiofiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/audiofiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### CadFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/cadfiletype.md #### CadFileType class The CadFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/cadfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/cadfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### CompressionFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/compressionfiletype.md #### CompressionFileType class The CompressionFileType type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _init_noargs | (inherited from `FileType`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | is_multi_file_archive | | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### is_multi_file_archive property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/compressionfiletype/is_multi_file_archive.md ##### Definition: ```python @property def is_multi_file_archive(self): ... ``` ### DatabaseFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/databasefiletype.md #### DatabaseFileType class The DatabaseFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/databasefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/databasefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### DiagramFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/diagramfiletype.md #### DiagramFileType class The DiagramFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/diagramfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/diagramfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### EBookFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/ebookfiletype.md #### EBookFileType class The EBookFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/ebookfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/ebookfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### EmailFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/emailfiletype.md #### EmailFileType class The EmailFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/emailfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/emailfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### FileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype.md #### FileType class The FileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _equals_enumeration | | | _init_noargs | | | _to_string_noargs | | | equals | | | from_extension | | | from_filename | | | from_stream | | | get_all | | | to_string | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | ##### Properties | Property | Description | | :- | :- | | description | | | extension | | | family | | | file_format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _equals_enumeration method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/_equals_enumeration.md #### _equals_enumeration ```python def _equals_enumeration(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `Enumeration` | | **Returns:** bool ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _to_string_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/description.md ##### Definition: ```python @property def description(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/equals.md #### equals ```python def equals(self): ... ``` ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/family.md ##### Definition: ```python @property def family(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/from_extension.md #### from_extension ```python def from_extension(cls, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | `str` | | **Returns:** FileType ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/from_filename.md #### from_filename ```python def from_filename(cls, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `str` | | **Returns:** FileType ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/from_stream.md #### from_stream ```python def from_stream(cls, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | **Returns:** FileType ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/get_all.md #### get_all ```python def get_all(cls): ... ``` **Returns:** List[Any] ### to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/filetype/to_string.md #### to_string ```python def to_string(self): ... ``` ### FinanceFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/financefiletype.md #### FinanceFileType class The FinanceFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/financefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/financefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### FontFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/fontfiletype.md #### FontFileType class The FontFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/fontfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/fontfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### GisFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/gisfiletype.md #### GisFileType class The GisFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/gisfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/gisfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### ImageFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/imagefiletype.md #### ImageFileType class The ImageFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | is_raster | | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/imagefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/imagefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### is_raster property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/imagefiletype/is_raster.md ##### Definition: ```python @property def is_raster(self): ... ``` ### NoteFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/notefiletype.md #### NoteFileType class The NoteFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/notefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/notefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### PageDescriptionLanguageFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/pagedescriptionlanguagefiletype.md #### PageDescriptionLanguageFileType class The PageDescriptionLanguageFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/pagedescriptionlanguagefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/pagedescriptionlanguagefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### PdfFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/pdffiletype.md #### PdfFileType class The PdfFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/pdffiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/pdffiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### PresentationFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/presentationfiletype.md #### PresentationFileType class The PresentationFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/presentationfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/presentationfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### ProjectManagementFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/projectmanagementfiletype.md #### ProjectManagementFileType class The ProjectManagementFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/projectmanagementfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/projectmanagementfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### PublisherFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/publisherfiletype.md #### PublisherFileType class The PublisherFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/publisherfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/publisherfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### SpreadsheetFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/spreadsheetfiletype.md #### SpreadsheetFileType class The SpreadsheetFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/spreadsheetfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/spreadsheetfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### ThreeDFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/threedfiletype.md #### ThreeDFileType class The ThreeDFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/threedfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/threedfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### VideoFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/videofiletype.md #### VideoFileType class The VideoFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/videofiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/videofiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### WebFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/webfiletype.md #### WebFileType class The WebFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/webfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/webfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### WordProcessingFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/wordprocessingfiletype.md #### WordProcessingFileType class The WordProcessingFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/wordprocessingfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.file_types/wordprocessingfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### groupdocs.conversion.filetypes Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes.md File type constants and format identifiers. ##### Classes | Class | Description | | :- | :- | | `AudioFileType` | | | `CadFileType` | | | `CompressionFileType` | | | `DatabaseFileType` | | | `DiagramFileType` | | | `EBookFileType` | | | `EmailFileType` | | | `FileType` | | | `FinanceFileType` | | | `FontFileType` | | | `GisFileType` | | | `ImageFileType` | | | `NoteFileType` | | | `PageDescriptionLanguageFileType` | | | `PdfFileType` | | | `PresentationFileType` | | | `ProjectManagementFileType` | | | `PublisherFileType` | | | `SpreadsheetFileType` | | | `ThreeDFileType` | | | `VideoFileType` | | | `WebFileType` | | | `WordProcessingFileType` | | ### AudioFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype.md #### AudioFileType class The AudioFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Aac field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/aac.md ### Ac3 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/ac3.md ### Aiff field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/aiff.md ### Flac field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/flac.md ### M4a field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/m4a.md ### Mp3 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/mp3.md ### Ogg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/ogg.md ### Wav field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/wav.md ### Wma field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/audiofiletype/wma.md ### CadFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype.md #### CadFileType class The CadFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Cf2 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/cf2.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/description.md #### description property File type description ### Dgn field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/dgn.md ### Dwf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/dwf.md ### Dwfx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/dwfx.md ### Dwg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/dwg.md ### Dwt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/dwt.md ### Dxf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/dxf.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Ifc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/ifc.md ### Igs field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/igs.md ### Plt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/plt.md ### Stl field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/stl.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/cadfiletype/unknown.md #### UNKNOWN property Unknown file type ### CompressionFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype.md #### CompressionFileType class The CompressionFileType type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _init_noargs | (inherited from `FileType`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | is_multi_file_archive | | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### CompressionFileType constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### Bz2 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/bz2.md ### Cab field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/cab.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Cpio field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/cpio.md ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Gz field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/gz.md ### Gzip field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/gzip.md ### is_multi_file_archive property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/is_multi_file_archive.md ##### Definition: ```python @property def is_multi_file_archive(self): ... ``` ### Iso field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/iso.md ### Lha field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/lha.md ### Lz field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/lz.md ### Lz4 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/lz4.md ### Lzma field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/lzma.md ### Rar field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/rar.md ### SEVEN_Z property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/seven_z.md #### SEVEN_Z property 7z is an archiving format for compressing files and folders with a high compression ratio. It is based on Open Source architecture which makes it possible to use any compression and encryption algorithms. Learn more about this file format [here](https://docs.fileformat.com/compression/7z/). ### SevenZ field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/sevenz.md ### Tar field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/tar.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/unknown.md #### UNKNOWN property Unknown file type ### Uue field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/uue.md ### Xz field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/xz.md ### Z field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/z.md ### Zip field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/zip.md ### Zst field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/compressionfiletype/zst.md ### DatabaseFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype.md #### DatabaseFileType class The DatabaseFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Log field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/log.md ### Nsf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/nsf.md ### Sql field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/sql.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/databasefiletype/unknown.md #### UNKNOWN property Unknown file type ### DiagramFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype.md #### DiagramFileType class The DiagramFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/unknown.md #### UNKNOWN property Unknown file type ### Vdw field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vdw.md ### Vdx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vdx.md ### Vsd field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vsd.md ### Vsdm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vsdm.md ### Vsdx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vsdx.md ### Vss field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vss.md ### Vssm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vssm.md ### Vssx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vssx.md ### Vst field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vst.md ### Vstm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vstm.md ### Vstx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vstx.md ### Vsx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vsx.md ### Vtx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/diagramfiletype/vtx.md ### EBookFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype.md #### EBookFileType class The EBookFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Azw3 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/azw3.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/description.md #### description property File type description ### Epub field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/epub.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Mobi field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/mobi.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/ebookfiletype/unknown.md #### UNKNOWN property Unknown file type ### EmailFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype.md #### EmailFileType class The EmailFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/description.md #### description property File type description ### Eml field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/eml.md ### Emlx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/emlx.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Ics field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/ics.md ### Mbox field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/mbox.md ### Msg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/msg.md ### Olm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/olm.md ### Ost field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/ost.md ### Pst field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/pst.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/unknown.md #### UNKNOWN property Unknown file type ### Vcf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/emailfiletype/vcf.md ### FileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype.md #### FileType class The FileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _equals_enumeration | | | _init_noargs | | | _to_string_noargs | | | equals | | | equals_enumeration | | | from_extension | | | from_filename | | | from_stream | | | get_all | | | to_string | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | ##### Properties | Property | Description | | :- | :- | | description | | | extension | | | family | | | file_format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _equals_enumeration method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/_equals_enumeration.md #### _equals_enumeration ```python def _equals_enumeration(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `Enumeration` | | **Returns:** bool ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _to_string_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/description.md ##### Definition: ```python @property def description(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/equals.md #### equals ```python def equals(self): ... ``` ### equals_enumeration method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/equals_enumeration.md #### equals_enumeration ```python def equals_enumeration(self): ... ``` ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/family.md ##### Definition: ```python @property def family(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/from_extension.md #### from_extension ```python def from_extension(cls, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | `str` | | **Returns:** FileType ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/from_filename.md #### from_filename ```python def from_filename(cls, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `str` | | **Returns:** FileType ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/from_stream.md #### from_stream ```python def from_stream(cls, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | **Returns:** FileType ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/get_all.md #### get_all ```python def get_all(cls): ... ``` **Returns:** List[Any] ### to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/to_string.md #### to_string ```python def to_string(self): ... ``` ### Unknown field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/filetype/unknown.md ### FinanceFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype.md #### FinanceFileType class The FinanceFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### I_XBRL property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/i_xbrl.md #### I_XBRL property Inside the iXBRL, contents of XBRL are wrapped in xHTML file format that uses XML tags. Like XBRL, is the root element of iXBRL files. The XHTML format represents its contents as collection of different document types and modules. All the files in XHTML are based on XML file format and conform to the XML document standards. Learn more about this file format [here](https://docs.fileformat.com/finance/ixbrl/). ### IXbrl field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/ixbrl.md ### Ofx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/ofx.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/unknown.md #### UNKNOWN property Unknown file type ### Xbrl field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/financefiletype/xbrl.md ### FontFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype.md #### FontFileType class The FontFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Cff field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/cff.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/description.md #### description property File type description ### Eot field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/eot.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Otf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/otf.md ### Ttf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/ttf.md ### Type1 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/type1.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/unknown.md #### UNKNOWN property Unknown file type ### Woff field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/woff.md ### Woff2 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/fontfiletype/woff2.md ### GisFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype.md #### GisFileType class The GisFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Gdb field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/gdb.md ### GEO_JSON property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/geo_json.md #### GEO_JSON property GeoJSON is a JSON based format designed to represent the geographical features with their non-spatial attributes. This format defines different JSON (JavaScript Object Notation) objects and their joining fashion. JSON format represents a collective information about the Geographical features, their spatial extents, and properties. Learn more about this file format [here](https://docs.fileformat.com/gis/geojson/). ### GeoJson field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/geojson.md ### Gml field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/gml.md ### Gpx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/gpx.md ### Kml field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/kml.md ### Osm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/osm.md ### Shp field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/shp.md ### TOPO_JSON property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/topo_json.md #### TOPO_JSON property TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. ### TopoJson field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/topojson.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/gisfiletype/unknown.md #### UNKNOWN property Unknown file type ### ImageFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype.md #### ImageFileType class The ImageFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | is_raster | | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Ai field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/ai.md ### Avif field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/avif.md ### Bmp field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/bmp.md ### Cdr field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/cdr.md ### Cmx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/cmx.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Dcm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/dcm.md ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/description.md #### description property File type description ### Dib field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/dib.md ### Dicom field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/dicom.md ### DJ_VU property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/dj_vu.md #### DJ_VU property DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu). ### DjVu field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/djvu.md ### Dng field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/dng.md ### Emf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/emf.md ### Emz field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/emz.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/file_format.md #### file_format property The file format ### Fodg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/fodg.md ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Gif field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/gif.md ### Heic field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/heic.md ### Ico field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/ico.md ### is_raster property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/is_raster.md ##### Definition: ```python @property def is_raster(self): ... ``` ### J2c field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/j2c.md ### J2k field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/j2k.md ### Jfif field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jfif.md ### Jls field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jls.md ### Jp2 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jp2.md ### Jpc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jpc.md ### Jpeg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jpeg.md ### Jpf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jpf.md ### Jpg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jpg.md ### Jpm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jpm.md ### Jpx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/jpx.md ### Odg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/odg.md ### Otg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/otg.md ### Png field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/png.md ### Psb field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/psb.md ### Psd field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/psd.md ### SVGZ property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/svgz.md #### SVGZ property An SVGZ file is actually a compressed version of a SVG file. This allows for easier distribution of the file online. When an SVG file is compressed using the .GZIP compression algorithm, it is then given the .svgz file extension. ### Tga field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/tga.md ### Tif field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/tif.md ### Tiff field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/tiff.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/unknown.md #### UNKNOWN property Unknown file type ### Webp field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/webp.md ### Wmf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/wmf.md ### Wmz field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/imagefiletype/wmz.md ### NoteFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype.md #### NoteFileType class The NoteFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### One field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/one.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/notefiletype/unknown.md #### UNKNOWN property Unknown file type ### PageDescriptionLanguageFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype.md #### PageDescriptionLanguageFileType class The PageDescriptionLanguageFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Cgm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/cgm.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/description.md #### description property File type description ### Eps field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/eps.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Oxps field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/oxps.md ### Pcl field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/pcl.md ### Ps field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/ps.md ### Svg field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/svg.md ### Svgz field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/svgz.md ### Tex field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/tex.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/unknown.md #### UNKNOWN property Unknown file type ### Xps field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pagedescriptionlanguagefiletype/xps.md ### PdfFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype.md #### PdfFileType class The PdfFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Pdf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/pdf.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/pdffiletype/unknown.md #### UNKNOWN property Unknown file type ### PresentationFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype.md #### PresentationFileType class The PresentationFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/file_format.md #### file_format property The file format ### Fodp field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/fodp.md ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Odp field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/odp.md ### Otp field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/otp.md ### Pot field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/pot.md ### Potm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/potm.md ### Potx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/potx.md ### Pps field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/pps.md ### Ppsm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/ppsm.md ### Ppsx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/ppsx.md ### Ppt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/ppt.md ### Pptm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/pptm.md ### Pptx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/pptx.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/presentationfiletype/unknown.md #### UNKNOWN property Unknown file type ### ProjectManagementFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype.md #### ProjectManagementFileType class The ProjectManagementFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Mpp field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/mpp.md ### Mpt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/mpt.md ### Mpx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/mpx.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/unknown.md #### UNKNOWN property Unknown file type ### Xer field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/projectmanagementfiletype/xer.md ### PublisherFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype.md #### PublisherFileType class The PublisherFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Pub field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/pub.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/publisherfiletype/unknown.md #### UNKNOWN property Unknown file type ### SpreadsheetFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype.md #### SpreadsheetFileType class The SpreadsheetFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Csv field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/csv.md ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/description.md #### description property File type description ### Dif field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/dif.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/file_format.md #### file_format property The file format ### FlatOpc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/flatopc.md ### Fods field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/fods.md ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Numbers field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/numbers.md ### Ods field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/ods.md ### Ots field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/ots.md ### Sxc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/sxc.md ### Tsv field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/tsv.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/unknown.md #### UNKNOWN property Unknown file type ### Xlam field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlam.md ### Xls field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xls.md ### Xlsb field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlsb.md ### Xlsm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlsm.md ### Xlsx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlsx.md ### Xlt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xlt.md ### Xltm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xltm.md ### Xltx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/spreadsheetfiletype/xltx.md ### ThreeDFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype.md #### ThreeDFileType class The ThreeDFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Amf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/amf.md ### Ase field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/ase.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Dae field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/dae.md ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/description.md #### description property File type description ### Drc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/drc.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/family.md #### family property The file family ### Fbx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/fbx.md ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Glb field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/glb.md ### Gltf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/gltf.md ### Jt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/jt.md ### Ma field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/ma.md ### Mb field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/mb.md ### Obj field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/obj.md ### Ply field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/ply.md ### Rvm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/rvm.md ### THREE_DS property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/three_ds.md #### THREE_DS property A file with .3ds extension represents 3D Sudio (DOS) mesh file format used by Autodesk 3D Studio. Autodesk 3D Studio has been in 3D file format market since 1990s and has now evolved to 3D Studio MAX for working with 3D modeling, animation and rendering. Learn more about this file format [here](https://docs.fileformat.com/3d/3ds). ### THREE_MF property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/three_mf.md #### THREE_MF property 3MF, 3D Manufacturing Format, is used by applications to render 3D object models to a variety of other applications, platforms, services and printers. It was built to avoid the limitations and issues in other 3D file formats, like STL, for working with the latest versions of 3D printers. Learn more about this file format [here](https://docs.fileformat.com/3d/3mf). ### ThreeDS field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/threeds.md ### ThreeMF field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/threemf.md ### U3d field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/u3d.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/unknown.md #### UNKNOWN property Unknown file type ### Usd field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/usd.md ### Usdz field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/usdz.md ### Vrml field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/vrml.md ### X field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/threedfiletype/x.md ### VideoFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype.md #### VideoFileType class The VideoFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Avi field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/avi.md ### Flv field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/flv.md ### Mkv field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/mkv.md ### Mov field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/mov.md ### Mp4 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/mp4.md ### Webm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/webm.md ### Wmv field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/videofiletype/wmv.md ### WebFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype.md #### WebFileType class The WebFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### Chm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/chm.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/description.md #### description property File type description ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/file_format.md #### file_format property The file format ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Htm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/htm.md ### Html field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/html.md ### Json field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/json.md ### Mht field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/mht.md ### Mhtml field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/mhtml.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/unknown.md #### UNKNOWN property Unknown file type ### Xml field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/webfiletype/xml.md ### WordProcessingFileType class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype.md #### WordProcessingFileType class The WordProcessingFileType type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `FileType`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `FileType`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `FileType`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_extension | (inherited from `FileType`) | | from_filename | (inherited from `FileType`) | | from_stream | (inherited from `FileType`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `FileType`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `FileType`) | ##### Properties | Property | Description | | :- | :- | | description | (inherited from `FileType`) | | extension | (inherited from `FileType`) | | family | (inherited from `FileType`) | | file_format | (inherited from `FileType`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### description property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/description.md #### description property File type description ### Doc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/doc.md ### Docm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/docm.md ### Docx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/docx.md ### Dot field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/dot.md ### Dotm field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/dotm.md ### Dotx field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/dotx.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/equals.md #### equals Implements `Enumeration.equals` ##### Returns ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object with which to compare | ### extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/extension.md #### extension property The file extension ### family property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/family.md #### family property The file family ### file_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/file_format.md #### file_format property The file format ### FlatOpc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/flatopc.md ### from_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/from_extension.md #### from_extension Gets FileType for provided fileExtension ##### Returns File type ```python def from_extension(self, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | System.String | File extension | ### from_filename method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/from_filename.md #### from_filename Returns FileType for specified fileName ##### Returns The file type of specified file name ```python def from_filename(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | System.String | The file name | ### from_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/from_stream.md #### from_stream Returns FileType for provided document stream ##### Returns The file type of provided stream ```python def from_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | Stream which will be probed | ### Md field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/md.md ### Odt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/odt.md ### Ott field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/ott.md ### Rtf field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/rtf.md ### Txt field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/txt.md ### UNKNOWN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.filetypes/wordprocessingfiletype/unknown.md #### UNKNOWN property Unknown file type ### groupdocs.conversion.fluent Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent.md Types under `groupdocs.conversion.fluent`. ##### Classes | Class | Description | | :- | :- | | `IConversionByPageCompleted` | | | `IConversionByPageHandlerCompleted` | | | `IConversionByPageHandlerFailed` | | | `IConversionByPageHandlerOnly` | | | `IConversionByPageHandlerSetup` | | | `IConversionCompleted` | | | `IConversionCompressResult` | | | `IConversionCompressResultCompleted` | | | `IConversionConvert` | | | `IConversionConvertByPageOptions` | | | `IConversionConvertOptions` | | | `IConversionFrom` | | | `IConversionGetDocumentInfo` | | | `IConversionGetPossibleConversions` | | | `IConversionHandlerCompleted` | | | `IConversionHandlerFailed` | | | `IConversionHandlerOnly` | | | `IConversionHandlerSetup` | | | `IConversionIsPasswordProtected` | | | `IConversionLoadOptions` | | | `IConversionOptionsOnly` | | | `IConversionSettings` | | | `IConversionTo` | | ##### Enumerations | Enum | Description | | :- | :- | | `IConversionByPageCompletedOrConvert` | | | `IConversionByPageOptionsOrHandlerSetup` | | | `IConversionCompletedOrConvert` | | | `IConversionCompressResultCompletedOrConvert` | | | `IConversionConvertOptionOrCompletedOrConvert` | | | `IConversionConvertOptionOrPageCompletedOrConvert` | | | `IConversionConvertOrCompress` | | | `IConversionLoadOptionsOrSourceDocumentLoaded` | | | `IConversionOptionsOrHandlerSetup` | | | `IConversionSettingsOrConversionFrom` | | | `IConversionSourceDocumentLoaded` | | ### IConversionByPageCompleted class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagecompleted.md #### IConversionByPageCompleted class The IConversionByPageCompleted type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_174a | | | on_conversion_completed | | | on_conversion_completed_action | | ### _on_conversion_completed_action_1_174a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagecompleted/_on_conversion_completed_action_1_174a.md #### _on_conversion_completed_action_1_174a ```python def _on_conversion_completed_action_1_174a(self, converted_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | converted_page_stream | `ConvertedPageContext` | | **Returns:** IConversionConvertOrCompress ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagecompleted/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagecompleted/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### IConversionByPageCompletedOrConvert class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagecompletedorconvert.md #### IConversionByPageCompletedOrConvert class The IConversionByPageCompletedOrConvert type exposes the following members: ### IConversionByPageHandlerCompleted class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlercompleted.md #### IConversionByPageHandlerCompleted class The IConversionByPageHandlerCompleted type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_174a | | | on_conversion_completed | | | on_conversion_completed_action | | ### _on_conversion_completed_action_1_174a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlercompleted/_on_conversion_completed_action_1_174a.md #### _on_conversion_completed_action_1_174a ```python def _on_conversion_completed_action_1_174a(self, on_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_completed | `ConvertedPageContext` | | **Returns:** IConversionConvertOrCompress ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlercompleted/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlercompleted/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### IConversionByPageHandlerFailed class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlerfailed.md #### IConversionByPageHandlerFailed class The IConversionByPageHandlerFailed type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_failed_action_2_1f81 | | | on_conversion_failed | | | on_conversion_failed_action | | ### _on_conversion_failed_action_2_1f81 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlerfailed/_on_conversion_failed_action_2_1f81.md #### _on_conversion_failed_action_2_1f81 ```python def _on_conversion_failed_action_2_1f81(self, on_failed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_failed | `Exception` | | **Returns:** IConversionConvertOrCompress ### on_conversion_failed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlerfailed/on_conversion_failed.md #### on_conversion_failed ```python def on_conversion_failed(self): ... ``` ### on_conversion_failed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlerfailed/on_conversion_failed_action.md #### on_conversion_failed_action ```python def on_conversion_failed_action(self): ... ``` ### IConversionByPageHandlerOnly class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandleronly.md #### IConversionByPageHandlerOnly class The IConversionByPageHandlerOnly type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_174a | | | _on_conversion_failed_action_2_1f81 | | | on_conversion_completed | | | on_conversion_completed_action | | | on_conversion_failed | | | on_conversion_failed_action | | ### _on_conversion_completed_action_1_174a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandleronly/_on_conversion_completed_action_1_174a.md #### _on_conversion_completed_action_1_174a ```python def _on_conversion_completed_action_1_174a(self, on_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_completed | `ConvertedPageContext` | | **Returns:** IConversionByPageHandlerFailed ### _on_conversion_failed_action_2_1f81 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandleronly/_on_conversion_failed_action_2_1f81.md #### _on_conversion_failed_action_2_1f81 ```python def _on_conversion_failed_action_2_1f81(self, on_failed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_failed | `Exception` | | **Returns:** IConversionByPageHandlerCompleted ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandleronly/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandleronly/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### on_conversion_failed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandleronly/on_conversion_failed.md #### on_conversion_failed ```python def on_conversion_failed(self): ... ``` ### on_conversion_failed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandleronly/on_conversion_failed_action.md #### on_conversion_failed_action ```python def on_conversion_failed_action(self): ... ``` ### IConversionByPageHandlerSetup class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlersetup.md #### IConversionByPageHandlerSetup class The IConversionByPageHandlerSetup type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_174a | | | _on_conversion_failed_action_2_1f81 | | | on_conversion_completed | | | on_conversion_completed_action | | | on_conversion_failed | | | on_conversion_failed_action | | ### _on_conversion_completed_action_1_174a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlersetup/_on_conversion_completed_action_1_174a.md #### _on_conversion_completed_action_1_174a ```python def _on_conversion_completed_action_1_174a(self, on_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_completed | `ConvertedPageContext` | | **Returns:** IConversionByPageHandlerFailed ### _on_conversion_failed_action_2_1f81 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlersetup/_on_conversion_failed_action_2_1f81.md #### _on_conversion_failed_action_2_1f81 ```python def _on_conversion_failed_action_2_1f81(self, on_failed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_failed | `Exception` | | **Returns:** IConversionByPageHandlerCompleted ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlersetup/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlersetup/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### on_conversion_failed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlersetup/on_conversion_failed.md #### on_conversion_failed ```python def on_conversion_failed(self): ... ``` ### on_conversion_failed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypagehandlersetup/on_conversion_failed_action.md #### on_conversion_failed_action ```python def on_conversion_failed_action(self): ... ``` ### IConversionByPageOptionsOrHandlerSetup class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionbypageoptionsorhandlersetup.md #### IConversionByPageOptionsOrHandlerSetup class The IConversionByPageOptionsOrHandlerSetup type exposes the following members: ### IConversionCompleted class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompleted.md #### IConversionCompleted class The IConversionCompleted type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_dd_8b | | | on_conversion_completed | | | on_conversion_completed_action | | ### _on_conversion_completed_action_1_dd_8b method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompleted/_on_conversion_completed_action_1_dd_8b.md #### _on_conversion_completed_action_1_dd_8b ```python def _on_conversion_completed_action_1_dd_8b(self, converted_file_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | converted_file_stream | `ConvertedContext` | | **Returns:** IConversionConvertOrCompress ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompleted/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompleted/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### IConversionCompletedOrConvert class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompletedorconvert.md #### IConversionCompletedOrConvert class The IConversionCompletedOrConvert type exposes the following members: ### IConversionCompressResult class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresult.md #### IConversionCompressResult class The IConversionCompressResult type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compress_compression_convert_options | | | compress | | | compress_compression_convert_options | | ### _compress_compression_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresult/_compress_compression_convert_options.md #### _compress_compression_convert_options ```python def _compress_compression_convert_options(self, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | options | `CompressionConvertOptions` | | **Returns:** IConversionCompressResultCompletedOrConvert ### compress method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresult/compress.md #### compress ```python def compress(self): ... ``` ### compress_compression_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresult/compress_compression_convert_options.md #### compress_compression_convert_options ```python def compress_compression_convert_options(self): ... ``` ### IConversionCompressResultCompleted class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresultcompleted.md #### IConversionCompressResultCompleted class The IConversionCompressResultCompleted type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_compression_completed_action_1_e_2e2 | | | on_compression_completed | | | on_compression_completed_action | | ### _on_compression_completed_action_1_e_2e2 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresultcompleted/_on_compression_completed_action_1_e_2e2.md #### _on_compression_completed_action_1_e_2e2 ```python def _on_compression_completed_action_1_e_2e2(self, compressed_document_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | compressed_document_stream | `Stream` | | **Returns:** IConversionConvert ### on_compression_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresultcompleted/on_compression_completed.md #### on_compression_completed ```python def on_compression_completed(self): ... ``` ### on_compression_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresultcompleted/on_compression_completed_action.md #### on_compression_completed_action ```python def on_compression_completed_action(self): ... ``` ### IConversionCompressResultCompletedOrConvert class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversioncompressresultcompletedorconvert.md #### IConversionCompressResultCompletedOrConvert class The IConversionCompressResultCompletedOrConvert type exposes the following members: ### IConversionConvert class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvert.md #### IConversionConvert class The IConversionConvert type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _convert_noargs | | | convert | | ### _convert_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvert/_convert_noargs.md #### _convert_noargs ```python def _convert_noargs(self): ... ``` ### convert method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvert/convert.md #### convert ```python def convert(self): ... ``` ### IConversionConvertByPageOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertbypageoptions.md #### IConversionConvertByPageOptions class The IConversionConvertByPageOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _with_options_convert_options | | | _with_options_func_2_8b05 | | | with_options | | | with_options_convert_options | | | with_options_func | | ### _with_options_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertbypageoptions/_with_options_convert_options.md #### _with_options_convert_options ```python def _with_options_convert_options(self, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | | **Returns:** IConversionByPageHandlerSetup ### _with_options_func_2_8b05 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertbypageoptions/_with_options_func_2_8b05.md #### _with_options_func_2_8b05 ```python def _with_options_func_2_8b05(self, convert_options_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options_provider | `ConvertOptions` | | **Returns:** IConversionByPageHandlerSetup ### with_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertbypageoptions/with_options.md #### with_options ```python def with_options(self): ... ``` ### with_options_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertbypageoptions/with_options_convert_options.md #### with_options_convert_options ```python def with_options_convert_options(self): ... ``` ### with_options_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertbypageoptions/with_options_func.md #### with_options_func ```python def with_options_func(self): ... ``` ### IConversionConvertOptionOrCompletedOrConvert class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptionorcompletedorconvert.md #### IConversionConvertOptionOrCompletedOrConvert class The IConversionConvertOptionOrCompletedOrConvert type exposes the following members: ### IConversionConvertOptionOrPageCompletedOrConvert class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptionorpagecompletedorconvert.md #### IConversionConvertOptionOrPageCompletedOrConvert class The IConversionConvertOptionOrPageCompletedOrConvert type exposes the following members: ### IConversionConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptions.md #### IConversionConvertOptions class The IConversionConvertOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _with_options_convert_options | | | _with_options_func_2_8b05 | | | with_options | | | with_options_convert_options | | | with_options_func | | ### _with_options_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptions/_with_options_convert_options.md #### _with_options_convert_options ```python def _with_options_convert_options(self, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | | **Returns:** IConversionHandlerSetup ### _with_options_func_2_8b05 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptions/_with_options_func_2_8b05.md #### _with_options_func_2_8b05 ```python def _with_options_func_2_8b05(self, convert_options_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options_provider | `ConvertOptions` | | **Returns:** IConversionHandlerSetup ### with_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptions/with_options.md #### with_options ```python def with_options(self): ... ``` ### with_options_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptions/with_options_convert_options.md #### with_options_convert_options ```python def with_options_convert_options(self): ... ``` ### with_options_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertoptions/with_options_func.md #### with_options_func ```python def with_options_func(self): ... ``` ### IConversionConvertOrCompress class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionconvertorcompress.md #### IConversionConvertOrCompress class The IConversionConvertOrCompress type exposes the following members: ### IConversionFrom class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom.md #### IConversionFrom class The IConversionFrom type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _load_func_1_4427 | | | _load_func_1_e_2e2 | | | _load_string | | | _load_string_array | | | load | | | load_file | | | load_files | | | load_func | | | load_string | | | load_strings | | ### _load_func_1_4427 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/_load_func_1_4427.md #### _load_func_1_4427 ```python def _load_func_1_4427(self, document_stream_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream_provider | `List[Stream]` | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### _load_func_1_e_2e2 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/_load_func_1_e_2e2.md #### _load_func_1_e_2e2 ```python def _load_func_1_e_2e2(self, document_stream_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream_provider | `Stream` | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### _load_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/_load_string.md #### _load_string ```python def _load_string(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `str` | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### _load_string_array method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/_load_string_array.md #### _load_string_array ```python def _load_string_array(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `List[str]` | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### load method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/load.md #### load ```python def load(self): ... ``` ### load_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/load_file.md #### load_file ```python def load_file(self): ... ``` ### load_files method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/load_files.md #### load_files ```python def load_files(self): ... ``` ### load_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/load_func.md #### load_func ```python def load_func(self): ... ``` ### load_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/load_string.md #### load_string ```python def load_string(self): ... ``` ### load_strings method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionfrom/load_strings.md #### load_strings ```python def load_strings(self): ... ``` ### IConversionGetDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversiongetdocumentinfo.md #### IConversionGetDocumentInfo class The IConversionGetDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _get_document_info_noargs | | | get_document_info | | ### _get_document_info_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversiongetdocumentinfo/_get_document_info_noargs.md #### _get_document_info_noargs ```python def _get_document_info_noargs(self): ... ``` **Returns:** IDocumentInfo ### get_document_info method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversiongetdocumentinfo/get_document_info.md #### get_document_info ```python def get_document_info(self): ... ``` ### IConversionGetPossibleConversions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversiongetpossibleconversions.md #### IConversionGetPossibleConversions class The IConversionGetPossibleConversions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _get_possible_conversions_noargs | | | get_possible_conversions | | ### _get_possible_conversions_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversiongetpossibleconversions/_get_possible_conversions_noargs.md #### _get_possible_conversions_noargs ```python def _get_possible_conversions_noargs(self): ... ``` **Returns:** PossibleConversions ### get_possible_conversions method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversiongetpossibleconversions/get_possible_conversions.md #### get_possible_conversions ```python def get_possible_conversions(self): ... ``` ### IConversionHandlerCompleted class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlercompleted.md #### IConversionHandlerCompleted class The IConversionHandlerCompleted type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_dd_8b | | | on_conversion_completed | | | on_conversion_completed_action | | ### _on_conversion_completed_action_1_dd_8b method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlercompleted/_on_conversion_completed_action_1_dd_8b.md #### _on_conversion_completed_action_1_dd_8b ```python def _on_conversion_completed_action_1_dd_8b(self, on_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_completed | `ConvertedContext` | | **Returns:** IConversionConvertOrCompress ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlercompleted/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlercompleted/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### IConversionHandlerFailed class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlerfailed.md #### IConversionHandlerFailed class The IConversionHandlerFailed type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_failed_action_2_7d_6a | | | on_conversion_failed | | | on_conversion_failed_action | | ### _on_conversion_failed_action_2_7d_6a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlerfailed/_on_conversion_failed_action_2_7d_6a.md #### _on_conversion_failed_action_2_7d_6a ```python def _on_conversion_failed_action_2_7d_6a(self, on_failed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_failed | `Exception` | | **Returns:** IConversionConvertOrCompress ### on_conversion_failed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlerfailed/on_conversion_failed.md #### on_conversion_failed ```python def on_conversion_failed(self): ... ``` ### on_conversion_failed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlerfailed/on_conversion_failed_action.md #### on_conversion_failed_action ```python def on_conversion_failed_action(self): ... ``` ### IConversionHandlerOnly class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandleronly.md #### IConversionHandlerOnly class The IConversionHandlerOnly type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_dd_8b | | | _on_conversion_failed_action_2_7d_6a | | | on_conversion_completed | | | on_conversion_completed_action | | | on_conversion_failed | | | on_conversion_failed_action | | ### _on_conversion_completed_action_1_dd_8b method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandleronly/_on_conversion_completed_action_1_dd_8b.md #### _on_conversion_completed_action_1_dd_8b ```python def _on_conversion_completed_action_1_dd_8b(self, on_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_completed | `ConvertedContext` | | **Returns:** IConversionHandlerFailed ### _on_conversion_failed_action_2_7d_6a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandleronly/_on_conversion_failed_action_2_7d_6a.md #### _on_conversion_failed_action_2_7d_6a ```python def _on_conversion_failed_action_2_7d_6a(self, on_failed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_failed | `Exception` | | **Returns:** IConversionHandlerCompleted ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandleronly/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandleronly/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### on_conversion_failed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandleronly/on_conversion_failed.md #### on_conversion_failed ```python def on_conversion_failed(self): ... ``` ### on_conversion_failed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandleronly/on_conversion_failed_action.md #### on_conversion_failed_action ```python def on_conversion_failed_action(self): ... ``` ### IConversionHandlerSetup class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlersetup.md #### IConversionHandlerSetup class The IConversionHandlerSetup type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _on_conversion_completed_action_1_dd_8b | | | _on_conversion_failed_action_2_7d_6a | | | on_conversion_completed | | | on_conversion_completed_action | | | on_conversion_failed | | | on_conversion_failed_action | | ### _on_conversion_completed_action_1_dd_8b method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlersetup/_on_conversion_completed_action_1_dd_8b.md #### _on_conversion_completed_action_1_dd_8b ```python def _on_conversion_completed_action_1_dd_8b(self, on_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_completed | `ConvertedContext` | | **Returns:** IConversionHandlerFailed ### _on_conversion_failed_action_2_7d_6a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlersetup/_on_conversion_failed_action_2_7d_6a.md #### _on_conversion_failed_action_2_7d_6a ```python def _on_conversion_failed_action_2_7d_6a(self, on_failed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | on_failed | `Exception` | | **Returns:** IConversionHandlerCompleted ### on_conversion_completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlersetup/on_conversion_completed.md #### on_conversion_completed ```python def on_conversion_completed(self): ... ``` ### on_conversion_completed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlersetup/on_conversion_completed_action.md #### on_conversion_completed_action ```python def on_conversion_completed_action(self): ... ``` ### on_conversion_failed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlersetup/on_conversion_failed.md #### on_conversion_failed ```python def on_conversion_failed(self): ... ``` ### on_conversion_failed_action method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionhandlersetup/on_conversion_failed_action.md #### on_conversion_failed_action ```python def on_conversion_failed_action(self): ... ``` ### IConversionIsPasswordProtected class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionispasswordprotected.md #### IConversionIsPasswordProtected class The IConversionIsPasswordProtected type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _is_document_password_protected_noargs | | | is_document_password_protected | | ### _is_document_password_protected_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionispasswordprotected/_is_document_password_protected_noargs.md #### _is_document_password_protected_noargs ```python def _is_document_password_protected_noargs(self): ... ``` **Returns:** bool ### is_document_password_protected method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionispasswordprotected/is_document_password_protected.md #### is_document_password_protected ```python def is_document_password_protected(self): ... ``` ### IConversionLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionloadoptions.md #### IConversionLoadOptions class The IConversionLoadOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _with_options_func_2_cc52 | | | _with_options_load_options | | | with_options | | | with_options_func | | | with_options_load_options | | ### _with_options_func_2_cc52 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionloadoptions/_with_options_func_2_cc52.md #### _with_options_func_2_cc52 ```python def _with_options_func_2_cc52(self, load_options_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | load_options_provider | `LoadOptions` | | **Returns:** IConversionSourceDocumentLoaded ### _with_options_load_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionloadoptions/_with_options_load_options.md #### _with_options_load_options ```python def _with_options_load_options(self, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | load_options | `LoadOptions` | | **Returns:** IConversionSourceDocumentLoaded ### with_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionloadoptions/with_options.md #### with_options ```python def with_options(self): ... ``` ### with_options_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionloadoptions/with_options_func.md #### with_options_func ```python def with_options_func(self): ... ``` ### with_options_load_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionloadoptions/with_options_load_options.md #### with_options_load_options ```python def with_options_load_options(self): ... ``` ### IConversionLoadOptionsOrSourceDocumentLoaded class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionloadoptionsorsourcedocumentloaded.md #### IConversionLoadOptionsOrSourceDocumentLoaded class The IConversionLoadOptionsOrSourceDocumentLoaded type exposes the following members: ### IConversionOptionsOnly class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionoptionsonly.md #### IConversionOptionsOnly class The IConversionOptionsOnly type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _with_options_convert_options | | | _with_options_func_2_8b05 | | | with_options | | | with_options_convert_options | | | with_options_func | | ### _with_options_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionoptionsonly/_with_options_convert_options.md #### _with_options_convert_options ```python def _with_options_convert_options(self, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | | **Returns:** IConversionHandlerSetup ### _with_options_func_2_8b05 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionoptionsonly/_with_options_func_2_8b05.md #### _with_options_func_2_8b05 ```python def _with_options_func_2_8b05(self, options_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | options_provider | `ConvertOptions` | | **Returns:** IConversionHandlerSetup ### with_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionoptionsonly/with_options.md #### with_options ```python def with_options(self): ... ``` ### with_options_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionoptionsonly/with_options_convert_options.md #### with_options_convert_options ```python def with_options_convert_options(self): ... ``` ### with_options_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionoptionsonly/with_options_func.md #### with_options_func ```python def with_options_func(self): ... ``` ### IConversionOptionsOrHandlerSetup class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionoptionsorhandlersetup.md #### IConversionOptionsOrHandlerSetup class The IConversionOptionsOrHandlerSetup type exposes the following members: ### IConversionSettings class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionsettings.md #### IConversionSettings class The IConversionSettings type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _with_settings_func_1_ec_4e | | | with_settings | | | with_settings_func | | ### _with_settings_func_1_ec_4e method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionsettings/_with_settings_func_1_ec_4e.md #### _with_settings_func_1_ec_4e ```python def _with_settings_func_1_ec_4e(self, settings_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | settings_provider | `ConverterSettings` | | **Returns:** IConversionFrom ### with_settings method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionsettings/with_settings.md #### with_settings ```python def with_settings(self): ... ``` ### with_settings_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionsettings/with_settings_func.md #### with_settings_func ```python def with_settings_func(self): ... ``` ### IConversionSettingsOrConversionFrom class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionsettingsorconversionfrom.md #### IConversionSettingsOrConversionFrom class The IConversionSettingsOrConversionFrom type exposes the following members: ### IConversionSourceDocumentLoaded class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionsourcedocumentloaded.md #### IConversionSourceDocumentLoaded class The IConversionSourceDocumentLoaded type exposes the following members: ### IConversionTo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto.md #### IConversionTo class The IConversionTo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _convert_by_page_to_func_2_83b4 | | | _convert_to_func_2_1f04 | | | _convert_to_string | | | convert_by_page_to | | | convert_by_page_to_func | | | convert_to | | | convert_to_file | | | convert_to_func | | | convert_to_string | | ### _convert_by_page_to_func_2_83b4 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/_convert_by_page_to_func_2_83b4.md #### _convert_by_page_to_func_2_83b4 ```python def _convert_by_page_to_func_2_83b4(self, converted_stream_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | converted_stream_provider | `Stream` | | **Returns:** IConversionByPageOptionsOrHandlerSetup ### _convert_to_func_2_1f04 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/_convert_to_func_2_1f04.md #### _convert_to_func_2_1f04 ```python def _convert_to_func_2_1f04(self, converted_stream_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | converted_stream_provider | `Stream` | | **Returns:** IConversionOptionsOrHandlerSetup ### _convert_to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/_convert_to_string.md #### _convert_to_string ```python def _convert_to_string(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `str` | | **Returns:** IConversionOptionsOrHandlerSetup ### convert_by_page_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/convert_by_page_to.md #### convert_by_page_to ```python def convert_by_page_to(self): ... ``` ### convert_by_page_to_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/convert_by_page_to_func.md #### convert_by_page_to_func ```python def convert_by_page_to_func(self): ... ``` ### convert_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/convert_to.md #### convert_to ```python def convert_to(self): ... ``` ### convert_to_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/convert_to_file.md #### convert_to_file ```python def convert_to_file(self): ... ``` ### convert_to_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/convert_to_func.md #### convert_to_func ```python def convert_to_func(self): ... ``` ### convert_to_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.fluent/iconversionto/convert_to_string.md #### convert_to_string ```python def convert_to_string(self): ... ``` ### groupdocs.conversion.logging Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging.md Logging hooks and listener interfaces. ##### Classes | Class | Description | | :- | :- | | `ConsoleLogger` | | | `ILogger` | | ### ConsoleLogger class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger.md #### ConsoleLogger class The ConsoleLogger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _init_noargs | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _error_string_exception method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | exception | `Exception` | | ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _trace_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/consolelogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### FileLogger class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/filelogger.md #### FileLogger class File logger implementation. The FileLogger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `FileLogger` class with the specified file path. | ##### Methods | Method | Description | | :- | :- | | trace | Writes trace log message;
Trace log messages provide generally useful information about application flow. | | warning | Writes warning log message;
Warning log messages provide information about unexpected and recoverable events in application flow. | | error | Writes error log message;
Error log messages provide information about unrecoverable events in application flow. | ### FileLogger constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/filelogger/__init__.md #### __init__ Initializes a new instance of the `FileLogger` class with the specified file path. ```python def __init__(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | System.String | The file path where logs will be written. | ### error method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/filelogger/error.md #### error Writes error log message; Error log messages provide information about unrecoverable events in application flow. ```python def error(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The error message. | | exception | System.String | The exception. | ### trace method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/filelogger/trace.md #### trace Writes trace log message; Trace log messages provide generally useful information about application flow. ```python def trace(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The trace message. | ### warning method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/filelogger/warning.md #### warning Writes warning log message; Warning log messages provide information about unexpected and recoverable events in application flow. ```python def warning(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The warning message. | ### ILogger class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger.md #### ILogger class The ILogger type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### _error_string_exception method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | exception | `Exception` | | ### _trace_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.logging/ilogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### groupdocs.conversion.options.convert Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert.md Types under `groupdocs.conversion.options.convert`. ##### Classes | Class | Description | | :- | :- | | `AudioConvertOptions` | | | `CadConvertOptions` | | | `CommonConvertOptions` | | | `CompressionConvertOptions` | | | `ConvertOptions` | | | `DiagramConvertOptions` | | | `EBookConvertOptions` | | | `EmailConvertOptions` | | | `FinanceConvertOptions` | | | `Font` | | | `FontConvertOptions` | | | `GisConvertOptions` | | | `IConvertOptions` | | | `IDpiConvertOptions` | | | `IPageRangedConvertOptions` | | | `IPagedConvertOptions` | | | `IPasswordConvertOptions` | | | `IPdfRecognitionModeOptions` | | | `IUsePdfConvertOptions` | | | `IWatermarkedConvertOptions` | | | `IZoomConvertOptions` | | | `ImageConvertOptions` | | | `JpegOptions` | | | `MarkdownOptions` | | | `NoConvertOptions` | | | `PageDescriptionLanguageConvertOptions` | | | `PdfConvertOptions` | | | `PdfDocumentInfo` | | | `PdfFormattingOptions` | | | `PdfOptimizationOptions` | | | `PdfOptions` | | | `PresentationConvertOptions` | | | `ProjectManagementConvertOptions` | | | `PsdOptions` | | | `RtfOptions` | | | `SpreadsheetConvertOptions` | | | `ThreeDConvertOptions` | | | `TiffOptions` | | | `VideoConvertOptions` | | | `WatermarkImageOptions` | | | `WatermarkOptions` | | | `WatermarkTextOptions` | | | `WebConvertOptions` | | | `WebpOptions` | | | `WordProcessingConvertOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `ImageFlipModes` | | | `JpgColorModes` | | | `JpgCompressionMethods` | | | `PageOrientation` | | | `PageResizeMode` | | | `PdfDirection` | | | `PdfFontSubsetStrategy` | | | `PdfFormats` | | | `PdfPageLayout` | | | `PdfPageMode` | | | `PdfRecognitionMode` | | | `PsdColorModes` | | | `PsdCompressionMethods` | | | `Rotation` | | | `TiffCompressionMethods` | | ### AudioConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/audioconvertoptions.md #### AudioConvertOptions class The AudioConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/audioconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/audioconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/audioconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### CadConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions.md #### CadConvertOptions class The CadConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | | page_height | | | page_number | | | page_size | | | page_width | | | pages_count | | | size_settings | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/page_height.md ##### Definition: ```python @property def page_height(self): ... @page_height.setter def page_height(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/page_size.md ##### Definition: ```python @property def page_size(self): ... @page_size.setter def page_size(self, value): ... ``` ### page_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/page_width.md ##### Definition: ```python @property def page_width(self): ... @page_width.setter def page_width(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/cadconvertoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### CommonConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions.md #### CommonConvertOptions class The CommonConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | format | | | page_number | | | pages | | | pages_count | | | watermark | | ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/commonconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### CompressionConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/compressionconvertoptions.md #### CompressionConvertOptions class The CompressionConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/compressionconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/compressionconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/compressionconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/compressionconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/compressionconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/compressionconvertoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### ConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/convertoptions.md #### ConvertOptions class The ConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | format | | ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/convertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/convertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/convertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### DiagramConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions.md #### DiagramConvertOptions class The DiagramConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | auto_fit_page_to_drawing_content | | | format | | | page_number | | | pages | | | pages_count | | | watermark | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### auto_fit_page_to_drawing_content property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/auto_fit_page_to_drawing_content.md ##### Definition: ```python @property def auto_fit_page_to_drawing_content(self): ... @auto_fit_page_to_drawing_content.setter def auto_fit_page_to_drawing_content(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/diagramconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### EBookConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions.md #### EBookConvertOptions class The EBookConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | fallback_page_size | | | format | | | orientation_settings | | | page_height | | | page_number | | | page_size | | | page_width | | | pages | | | pages_count | | | size_settings | | | watermark | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### fallback_page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/fallback_page_size.md ##### Definition: ```python @property def fallback_page_size(self): ... @fallback_page_size.setter def fallback_page_size(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### orientation_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/orientation_settings.md ##### Definition: ```python @property def orientation_settings(self): ... @orientation_settings.setter def orientation_settings(self, value): ... ``` ### page_height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/page_height.md ##### Definition: ```python @property def page_height(self): ... @page_height.setter def page_height(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### page_orientation property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/page_orientation.md #### page_orientation property Implements `IPageOrientationConvertOptions.page_orientation` ##### Definition: ```python @property def page_orientation(self): ... @page_orientation.setter def page_orientation(self, value): ... ``` ### page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/page_size.md ##### Definition: ```python @property def page_size(self): ... @page_size.setter def page_size(self, value): ... ``` ### page_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/page_width.md ##### Definition: ```python @property def page_width(self): ... @page_width.setter def page_width(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ebookconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### EmailConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/emailconvertoptions.md #### EmailConvertOptions class The EmailConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | attachment_content_handler | | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/emailconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/emailconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### attachment_content_handler property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/emailconvertoptions/attachment_content_handler.md ##### Definition: ```python @property def attachment_content_handler(self): ... @attachment_content_handler.setter def attachment_content_handler(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/emailconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/emailconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/emailconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### FinanceConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions.md #### FinanceConvertOptions class The FinanceConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | | page_number | | | pages_count | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/financeconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### Font class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font.md #### Font class The Font type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_string | | | _init_string_single | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | bold | | | family_name | | | italic | | | size | | | underline | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/_init_string.md #### _init_string ```python def _init_string(self, font_family_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | font_family_name | `str` | | ### _init_string_single method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/_init_string_single.md #### _init_string_single ```python def _init_string_single(self, font_family_name, size): ... ``` | Parameter | Type | Description | | :- | :- | :- | | font_family_name | `str` | | | size | `float` | | ### bold property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/bold.md ##### Definition: ```python @property def bold(self): ... @bold.setter def bold(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### family_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/family_name.md ##### Definition: ```python @property def family_name(self): ... ``` ### italic property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/italic.md ##### Definition: ```python @property def italic(self): ... @italic.setter def italic(self, value): ... ``` ### size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/size.md ##### Definition: ```python @property def size(self): ... ``` ### underline property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/font/underline.md ##### Definition: ```python @property def underline(self): ... @underline.setter def underline(self, value): ... ``` ### FontConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/fontconvertoptions.md #### FontConvertOptions class The FontConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/fontconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/fontconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/fontconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/fontconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/fontconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### GisConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/gisconvertoptions.md #### GisConvertOptions class The GisConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/gisconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/gisconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/gisconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/gisconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/gisconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### IConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/iconvertoptions.md #### IConvertOptions class The IConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | format | | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/iconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### IDpiConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/idpiconvertoptions.md #### IDpiConvertOptions class The IDpiConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | dpi | | ### dpi property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/idpiconvertoptions/dpi.md ##### Definition: ```python @property def dpi(self): ... @dpi.setter def dpi(self, value): ... ``` ### ImageConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions.md #### ImageConvertOptions class The ImageConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | background_color | | | brightness | | | contrast | | | crop_area | | | flip_mode | | | format | | | gamma | | | grayscale | | | height | | | horizontal_resolution | | | jpeg_options | | | page_number | | | pages | | | pages_count | | | psd_options | | | rotate_angle | | | tiff_options | | | use_pdf | | | vertical_resolution | | | watermark | | | webp_options | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/background_color.md ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### brightness property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/brightness.md ##### Definition: ```python @property def brightness(self): ... @brightness.setter def brightness(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### contrast property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/contrast.md ##### Definition: ```python @property def contrast(self): ... @contrast.setter def contrast(self, value): ... ``` ### crop_area property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/crop_area.md ##### Definition: ```python @property def crop_area(self): ... @crop_area.setter def crop_area(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### flip_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/flip_mode.md ##### Definition: ```python @property def flip_mode(self): ... @flip_mode.setter def flip_mode(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### gamma property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/gamma.md ##### Definition: ```python @property def gamma(self): ... @gamma.setter def gamma(self, value): ... ``` ### grayscale property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/grayscale.md ##### Definition: ```python @property def grayscale(self): ... @grayscale.setter def grayscale(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### horizontal_resolution property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/horizontal_resolution.md ##### Definition: ```python @property def horizontal_resolution(self): ... @horizontal_resolution.setter def horizontal_resolution(self, value): ... ``` ### jpeg_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/jpeg_options.md ##### Definition: ```python @property def jpeg_options(self): ... @jpeg_options.setter def jpeg_options(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### psd_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/psd_options.md ##### Definition: ```python @property def psd_options(self): ... @psd_options.setter def psd_options(self, value): ... ``` ### rotate_angle property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/rotate_angle.md ##### Definition: ```python @property def rotate_angle(self): ... @rotate_angle.setter def rotate_angle(self, value): ... ``` ### tiff_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/tiff_options.md ##### Definition: ```python @property def tiff_options(self): ... @tiff_options.setter def tiff_options(self, value): ... ``` ### use_pdf property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/use_pdf.md ##### Definition: ```python @property def use_pdf(self): ... @use_pdf.setter def use_pdf(self, value): ... ``` ### vertical_resolution property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/vertical_resolution.md ##### Definition: ```python @property def vertical_resolution(self): ... @vertical_resolution.setter def vertical_resolution(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### webp_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/webp_options.md ##### Definition: ```python @property def webp_options(self): ... @webp_options.setter def webp_options(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageconvertoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### ImageFlipModes class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes.md #### ImageFlipModes class The ImageFlipModes type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### ImageFlipModes constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### FLIP_X property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/flip_x.md #### FLIP_X property Horizontal flip. ### FLIP_XY property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/flip_xy.md #### FLIP_XY property Flip horizontal and vertical. ### FLIP_Y property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/flip_y.md #### FLIP_Y property Flip vertical. ### FlipX field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/flipx.md ### FlipXY field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/flipxy.md ### FlipY field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/flipy.md ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### None field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/imageflipmodes/none.md ### IPagedConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagedconvertoptions.md #### IPagedConvertOptions class The IPagedConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | page_number | | | pages_count | | ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagedconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagedconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### IPageMarginConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagemarginconvertoptions.md #### IPageMarginConvertOptions class Represents convert options that support page margins The IPageMarginConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | margin_top | Desired page top margin in points after conversion. | | margin_bottom | Desired page bottom margin in points after conversion. | | margin_left | Desired page left margin in points after conversion. | | margin_right | Desired page right margin in points after conversion. | ### margin_bottom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagemarginconvertoptions/margin_bottom.md #### margin_bottom property Desired page bottom margin in points after conversion. ##### Definition: ```python @property def margin_bottom(self): ... @margin_bottom.setter def margin_bottom(self, value): ... ``` ### margin_left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagemarginconvertoptions/margin_left.md #### margin_left property Desired page left margin in points after conversion. ##### Definition: ```python @property def margin_left(self): ... @margin_left.setter def margin_left(self, value): ... ``` ### margin_right property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagemarginconvertoptions/margin_right.md #### margin_right property Desired page right margin in points after conversion. ##### Definition: ```python @property def margin_right(self): ... @margin_right.setter def margin_right(self, value): ... ``` ### margin_top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagemarginconvertoptions/margin_top.md #### margin_top property Desired page top margin in points after conversion. ##### Definition: ```python @property def margin_top(self): ... @margin_top.setter def margin_top(self, value): ... ``` ### IPageOrientationConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipageorientationconvertoptions.md #### IPageOrientationConvertOptions class Represents convert options that support page orientation The IPageOrientationConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | page_orientation | Desired page orientation after conversion | ### page_orientation property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipageorientationconvertoptions/page_orientation.md #### page_orientation property Desired page orientation after conversion ##### Definition: ```python @property def page_orientation(self): ... @page_orientation.setter def page_orientation(self, value): ... ``` ### IPageRangedConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagerangedconvertoptions.md #### IPageRangedConvertOptions class The IPageRangedConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages | | ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagerangedconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### IPageSizeConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagesizeconvertoptions.md #### IPageSizeConvertOptions class Represents convert options that support page size The IPageSizeConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | page_size | Desired page size after conversion | | page_width | Specified page width in points if `IPageSizeConvertOptions.page_size` is set to PageSize.Custom | | page_height | Specified page height in points if `IPageSizeConvertOptions.page_size` is set to PageSize.Custom | ### page_height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagesizeconvertoptions/page_height.md #### page_height property Specified page height in points if `IPageSizeConvertOptions.page_size` is set to PageSize.Custom ##### Definition: ```python @property def page_height(self): ... @page_height.setter def page_height(self, value): ... ``` ### page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagesizeconvertoptions/page_size.md #### page_size property Desired page size after conversion ##### Definition: ```python @property def page_size(self): ... @page_size.setter def page_size(self, value): ... ``` ### page_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipagesizeconvertoptions/page_width.md #### page_width property Specified page width in points if `IPageSizeConvertOptions.page_size` is set to PageSize.Custom ##### Definition: ```python @property def page_width(self): ... @page_width.setter def page_width(self, value): ... ``` ### IPasswordConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipasswordconvertoptions.md #### IPasswordConvertOptions class The IPasswordConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | password | | ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipasswordconvertoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### IPdfRecognitionModeOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipdfrecognitionmodeoptions.md #### IPdfRecognitionModeOptions class The IPdfRecognitionModeOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pdf_recognition_mode | | ### pdf_recognition_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/ipdfrecognitionmodeoptions/pdf_recognition_mode.md ##### Definition: ```python @property def pdf_recognition_mode(self): ... @pdf_recognition_mode.setter def pdf_recognition_mode(self, value): ... ``` ### IUsePdfConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/iusepdfconvertoptions.md #### IUsePdfConvertOptions class The IUsePdfConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | use_pdf | | ### use_pdf property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/iusepdfconvertoptions/use_pdf.md ##### Definition: ```python @property def use_pdf(self): ... @use_pdf.setter def use_pdf(self, value): ... ``` ### IWatermarkedConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/iwatermarkedconvertoptions.md #### IWatermarkedConvertOptions class The IWatermarkedConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | watermark | | ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/iwatermarkedconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### IZoomConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/izoomconvertoptions.md #### IZoomConvertOptions class The IZoomConvertOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | zoom | | ### zoom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/izoomconvertoptions/zoom.md ##### Definition: ```python @property def zoom(self): ... @zoom.setter def zoom(self, value): ... ``` ### JpegOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpegoptions.md #### JpegOptions class The JpegOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | color_mode | | | compression | | | quality | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpegoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpegoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### color_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpegoptions/color_mode.md ##### Definition: ```python @property def color_mode(self): ... @color_mode.setter def color_mode(self, value): ... ``` ### compression property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpegoptions/compression.md ##### Definition: ```python @property def compression(self): ... @compression.setter def compression(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpegoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### quality property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpegoptions/quality.md ##### Definition: ```python @property def quality(self): ... @quality.setter def quality(self, value): ... ``` ### JpgColorModes class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes.md #### JpgColorModes class The JpgColorModes type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### JpgColorModes constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### Cmyk field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/cmyk.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### Grayscale field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/grayscale.md ### Rgb field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/rgb.md ### Y_CB_CR property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/y_cb_cr.md #### Y_CB_CR property YCbCr image. Standard option for jpeg images. ### YCbCr field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/ycbcr.md ### Ycck field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcolormodes/ycck.md ### JpgCompressionMethods class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods.md #### JpgCompressionMethods class The JpgCompressionMethods type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### JpgCompressionMethods constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### Baseline field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/baseline.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### JPEG_LS property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/jpeg_ls.md #### JPEG_LS property JpegLs compression. ### JpegLs field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/jpegls.md ### Lossless field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/lossless.md ### Progressive field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/jpgcompressionmethods/progressive.md ### MarkdownOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/markdownoptions.md #### MarkdownOptions class The MarkdownOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | export_images_as_base64 | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/markdownoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/markdownoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/markdownoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### export_images_as_base64 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/markdownoptions/export_images_as_base64.md ##### Definition: ```python @property def export_images_as_base64(self): ... @export_images_as_base64.setter def export_images_as_base64(self, value): ... ``` ### NoConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/noconvertoptions.md #### NoConvertOptions class The NoConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/noconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/noconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/noconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/noconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/noconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### PageDescriptionLanguageConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions.md #### PageDescriptionLanguageConvertOptions class The PageDescriptionLanguageConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | | height | | | page_number | | | pages | | | pages_count | | | watermark | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagedescriptionlanguageconvertoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### PageOrientation class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageorientation.md #### PageOrientation class The PageOrientation type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PageOrientation constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageorientation/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageorientation/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Default field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageorientation/default.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageorientation/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### Landscape field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageorientation/landscape.md ### Portrait field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageorientation/portrait.md ### PageResizeMode class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageresizemode.md #### PageResizeMode class The PageResizeMode type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### AlignTopLeft field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageresizemode/aligntopleft.md ### ScaleToFill field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageresizemode/scaletofill.md ### ScaleToFit field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageresizemode/scaletofit.md ### ScaleToHeight field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageresizemode/scaletoheight.md ### ScaleToWidth field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pageresizemode/scaletowidth.md ### PageSize class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize.md #### PageSize class Specifies page size **Inheritance:** `PageSize` → `Enumeration` The PageSize type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Serialization constructor | ##### Properties | Property | Description | | :- | :- | | A3 | 297 x 420 mm. | | A4 | 210 x 297 mm. | | A5 | 148 x 210 mm. | | B4 | 250 x 353 mm | | B5 | 176 x 250 mm. | | CUSTOM | Custom paper size. | | ENVELOPE_DL | 110 x 220 mm. | | EXECUTIVE | 7.25 x 10.5 inches. | | FOLIO | 8.5 x 13 inches. | | LEDGER | 17 x 11 inches. | | LEGAL | 8.5 x 14 inches. | | LETTER | 8.5 x 11 inches. | | PAPER_10X14 | 10 x 14 inches. | | PAPER_11X17 | 11 x 17 inches. | | QUARTO | 8.47 x 10.83 inches. | | STATEMENT | 8.5 x 5.5 inches. | | TABLOID | 11 x 17 inches. | | UNSET | Unset paper size. | ##### Methods | Method | Description | | :- | :- | | equals | Determines whether two object instances are equal. | | compare_to | Compares current object to other. | ### PageSize constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### A3 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/a3.md #### A3 property 297 x 420 mm. ### A4 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/a4.md #### A4 property 210 x 297 mm. ### A5 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/a5.md #### A5 property 148 x 210 mm. ### B4 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/b4.md #### B4 property 250 x 353 mm ### B5 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/b5.md #### B5 property 176 x 250 mm. ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### CUSTOM property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/custom.md #### CUSTOM property Custom paper size. ### ENVELOPE_DL property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/envelope_dl.md #### ENVELOPE_DL property 110 x 220 mm. ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### EXECUTIVE property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/executive.md #### EXECUTIVE property 7.25 x 10.5 inches. ### FOLIO property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/folio.md #### FOLIO property 8.5 x 13 inches. ### LEDGER property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/ledger.md #### LEDGER property 17 x 11 inches. ### LEGAL property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/legal.md #### LEGAL property 8.5 x 14 inches. ### LETTER property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/letter.md #### LETTER property 8.5 x 11 inches. ### PAPER_10X14 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/paper_10x14.md #### PAPER_10X14 property 10 x 14 inches. ### PAPER_11X17 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/paper_11x17.md #### PAPER_11X17 property 11 x 17 inches. ### QUARTO property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/quarto.md #### QUARTO property 8.47 x 10.83 inches. ### STATEMENT property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/statement.md #### STATEMENT property 8.5 x 5.5 inches. ### TABLOID property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/tabloid.md #### TABLOID property 11 x 17 inches. ### UNSET property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pagesize/unset.md #### UNSET property Unset paper size. ### PdfConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions.md #### PdfConvertOptions class The PdfConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | dpi | | | embed_full_fonts | | | fallback_page_size | | | format | | | margin_settings | | | orientation_settings | | | page_number | | | pages | | | pages_count | | | password | | | pdf_options | | | resize_mode | | | rotate | | | size_settings | | | watermark | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### dpi property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/dpi.md ##### Definition: ```python @property def dpi(self): ... @dpi.setter def dpi(self, value): ... ``` ### embed_full_fonts property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/embed_full_fonts.md ##### Definition: ```python @property def embed_full_fonts(self): ... @embed_full_fonts.setter def embed_full_fonts(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### fallback_page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/fallback_page_size.md ##### Definition: ```python @property def fallback_page_size(self): ... @fallback_page_size.setter def fallback_page_size(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### margin_bottom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/margin_bottom.md #### margin_bottom property Implements `IPageMarginConvertOptions.margin_bottom` ##### Definition: ```python @property def margin_bottom(self): ... @margin_bottom.setter def margin_bottom(self, value): ... ``` ### margin_left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/margin_left.md #### margin_left property Implements `IPageMarginConvertOptions.margin_left` ##### Definition: ```python @property def margin_left(self): ... @margin_left.setter def margin_left(self, value): ... ``` ### margin_right property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/margin_right.md #### margin_right property Implements `IPageMarginConvertOptions.margin_right` ##### Definition: ```python @property def margin_right(self): ... @margin_right.setter def margin_right(self, value): ... ``` ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### margin_top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/margin_top.md #### margin_top property Implements `IPageMarginConvertOptions.margin_top` ##### Definition: ```python @property def margin_top(self): ... @margin_top.setter def margin_top(self, value): ... ``` ### orientation_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/orientation_settings.md ##### Definition: ```python @property def orientation_settings(self): ... @orientation_settings.setter def orientation_settings(self, value): ... ``` ### page_height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/page_height.md #### page_height property Implements `IPageSizeConvertOptions.page_height` ##### Definition: ```python @property def page_height(self): ... @page_height.setter def page_height(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### page_orientation property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/page_orientation.md #### page_orientation property Implements `IPageOrientationConvertOptions.page_orientation` ##### Definition: ```python @property def page_orientation(self): ... @page_orientation.setter def page_orientation(self, value): ... ``` ### page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/page_size.md #### page_size property Implements `IPageSizeConvertOptions.page_size` ##### Definition: ```python @property def page_size(self): ... @page_size.setter def page_size(self, value): ... ``` ### page_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/page_width.md #### page_width property Implements `IPageSizeConvertOptions.page_width` ##### Definition: ```python @property def page_width(self): ... @page_width.setter def page_width(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### pdf_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/pdf_options.md ##### Definition: ```python @property def pdf_options(self): ... @pdf_options.setter def pdf_options(self, value): ... ``` ### resize_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/resize_mode.md ##### Definition: ```python @property def resize_mode(self): ... @resize_mode.setter def resize_mode(self, value): ... ``` ### rotate property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/rotate.md ##### Definition: ```python @property def rotate(self): ... @rotate.setter def rotate(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### PdfDirection class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdirection.md #### PdfDirection class The PdfDirection type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PdfDirection constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdirection/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdirection/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdirection/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdirection/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### L2R field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdirection/l2r.md ### R2L field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdirection/r2l.md ### PdfDocumentInfo class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo.md #### PdfDocumentInfo class The PdfDocumentInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | author | | | creation_date | | | creation_time_zone | | | creator | | | keywords | | | mod_date | | | mod_time_zone | | | producer | | | subject | | | title | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### author property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/author.md ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### creation_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/creation_date.md ##### Definition: ```python @property def creation_date(self): ... @creation_date.setter def creation_date(self, value): ... ``` ### creation_time_zone property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/creation_time_zone.md ##### Definition: ```python @property def creation_time_zone(self): ... @creation_time_zone.setter def creation_time_zone(self, value): ... ``` ### creator property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/creator.md ##### Definition: ```python @property def creator(self): ... @creator.setter def creator(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### keywords property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/keywords.md ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### mod_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/mod_date.md ##### Definition: ```python @property def mod_date(self): ... @mod_date.setter def mod_date(self, value): ... ``` ### mod_time_zone property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/mod_time_zone.md ##### Definition: ```python @property def mod_time_zone(self): ... @mod_time_zone.setter def mod_time_zone(self, value): ... ``` ### producer property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/producer.md ##### Definition: ```python @property def producer(self): ... @producer.setter def producer(self, value): ... ``` ### subject property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/subject.md ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfdocumentinfo/title.md ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### PdfFontSubsetStrategy class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy.md #### PdfFontSubsetStrategy class The PdfFontSubsetStrategy type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PdfFontSubsetStrategy constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### None field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/none.md ### subset_all_fonts property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/subset_all_fonts.md #### subset_all_fonts property Subset all fonts, used in a document. ### subset_embedded_fonts_only property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/subset_embedded_fonts_only.md #### subset_embedded_fonts_only property Portrait page orientation (narrow and tall). ### SubsetAllFonts field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/subsetallfonts.md ### SubsetEmbeddedFontsOnly field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdffontsubsetstrategy/subsetembeddedfontsonly.md ### PdfFormats class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats.md #### PdfFormats class The PdfFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PdfFormats constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Default field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/default.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### PDF_A_1A property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_1a.md #### PDF_A_1A property PDF/A-1a – Level A (accessible) conformance. ### PDF_A_1B property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_1b.md #### PDF_A_1B property PDF/A-1b – Level B (basic) conformance. ### PDF_A_2A property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_2a.md #### PDF_A_2A property PDF/A-2a conformance. ### PDF_A_2B property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_2b.md #### PDF_A_2B property PDF/A-2b conformance. ### PDF_A_2U property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_2u.md #### PDF_A_2U property PDF/A-2u conformance. ### PDF_A_3A property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_3a.md #### PDF_A_3A property PDF/A-3a conformance. ### PDF_A_3B property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_3b.md #### PDF_A_3B property PDF/A-3b conformance. ### PDF_A_3U property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_a_3u.md #### PDF_A_3U property PDF/A-3u conformance. ### PDF_UA_1 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_ua_1.md #### PDF_UA_1 property PDF/UA-1 conformance. ### PDF_X_1A property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_x_1a.md #### PDF_X_1A property PDF/X-1a conformance. ### PDF_X_3 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdf_x_3.md #### PDF_X_3 property PDF/X-3 conformance. ### PdfA_1A field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_1a.md ### PdfA_1B field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_1b.md ### PdfA_2A field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_2a.md ### PdfA_2B field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_2b.md ### PdfA_2U field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_2u.md ### PdfA_3A field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_3a.md ### PdfA_3B field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_3b.md ### PdfA_3U field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_3u.md ### PdfA_4 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_4.md ### PdfA_4E field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_4e.md ### PdfA_4F field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfa_4f.md ### PdfUA_1 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfua_1.md ### PdfX_1A field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfx_1a.md ### PdfX_3 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/pdfx_3.md ### v1_3 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v1_3.md ### v1_4 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v1_4.md ### v1_5 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v1_5.md ### v1_6 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v1_6.md ### v1_7 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v1_7.md ### V_1_3 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v_1_3.md #### V_1_3 property PDF version 1.3. ### V_1_4 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v_1_4.md #### V_1_4 property PDF version 1.4. ### V_1_5 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v_1_5.md #### V_1_5 property PDF version 1.5. ### V_1_6 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v_1_6.md #### V_1_6 property PDF version 1.6. ### V_1_7 property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformats/v_1_7.md #### V_1_7 property PDF version 1.7. ### PdfFormattingOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions.md #### PdfFormattingOptions class The PdfFormattingOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | center_window | | | direction | | | display_doc_title | | | fit_window | | | hide_menu_bar | | | hide_tool_bar | | | hide_window_ui | | | non_full_screen_page_mode | | | page_layout | | | page_mode | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### center_window property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/center_window.md ##### Definition: ```python @property def center_window(self): ... @center_window.setter def center_window(self, value): ... ``` ### direction property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/direction.md ##### Definition: ```python @property def direction(self): ... @direction.setter def direction(self, value): ... ``` ### display_doc_title property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/display_doc_title.md ##### Definition: ```python @property def display_doc_title(self): ... @display_doc_title.setter def display_doc_title(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### fit_window property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/fit_window.md ##### Definition: ```python @property def fit_window(self): ... @fit_window.setter def fit_window(self, value): ... ``` ### hide_menu_bar property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/hide_menu_bar.md ##### Definition: ```python @property def hide_menu_bar(self): ... @hide_menu_bar.setter def hide_menu_bar(self, value): ... ``` ### hide_tool_bar property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/hide_tool_bar.md ##### Definition: ```python @property def hide_tool_bar(self): ... @hide_tool_bar.setter def hide_tool_bar(self, value): ... ``` ### hide_window_ui property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/hide_window_ui.md ##### Definition: ```python @property def hide_window_ui(self): ... @hide_window_ui.setter def hide_window_ui(self, value): ... ``` ### non_full_screen_page_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/non_full_screen_page_mode.md ##### Definition: ```python @property def non_full_screen_page_mode(self): ... @non_full_screen_page_mode.setter def non_full_screen_page_mode(self, value): ... ``` ### page_layout property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/page_layout.md ##### Definition: ```python @property def page_layout(self): ... @page_layout.setter def page_layout(self, value): ... ``` ### page_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfformattingoptions/page_mode.md ##### Definition: ```python @property def page_mode(self): ... @page_mode.setter def page_mode(self, value): ... ``` ### PdfOptimizationOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions.md #### PdfOptimizationOptions class The PdfOptimizationOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | compress_images | | | font_subset_strategy | | | image_quality | | | link_duplicate_streams | | | remove_unused_objects | | | remove_unused_streams | | | unembed_fonts | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compress_images property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/compress_images.md ##### Definition: ```python @property def compress_images(self): ... @compress_images.setter def compress_images(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_subset_strategy property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/font_subset_strategy.md ##### Definition: ```python @property def font_subset_strategy(self): ... @font_subset_strategy.setter def font_subset_strategy(self, value): ... ``` ### image_quality property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/image_quality.md ##### Definition: ```python @property def image_quality(self): ... @image_quality.setter def image_quality(self, value): ... ``` ### link_duplicate_streams property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/link_duplicate_streams.md ##### Definition: ```python @property def link_duplicate_streams(self): ... @link_duplicate_streams.setter def link_duplicate_streams(self, value): ... ``` ### remove_unused_objects property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/remove_unused_objects.md ##### Definition: ```python @property def remove_unused_objects(self): ... @remove_unused_objects.setter def remove_unused_objects(self, value): ... ``` ### remove_unused_streams property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/remove_unused_streams.md ##### Definition: ```python @property def remove_unused_streams(self): ... @remove_unused_streams.setter def remove_unused_streams(self, value): ... ``` ### unembed_fonts property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptimizationoptions/unembed_fonts.md ##### Definition: ```python @property def unembed_fonts(self): ... @unembed_fonts.setter def unembed_fonts(self, value): ... ``` ### PdfOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions.md #### PdfOptions class The PdfOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | document_info | | | formatting_options | | | grayscale | | | linearize | | | optimization_options | | | pdf_format | | | remove_pdf_acompliance | | | zoom | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### document_info property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/document_info.md ##### Definition: ```python @property def document_info(self): ... @document_info.setter def document_info(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### formatting_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/formatting_options.md ##### Definition: ```python @property def formatting_options(self): ... @formatting_options.setter def formatting_options(self, value): ... ``` ### grayscale property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/grayscale.md ##### Definition: ```python @property def grayscale(self): ... @grayscale.setter def grayscale(self, value): ... ``` ### linearize property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/linearize.md ##### Definition: ```python @property def linearize(self): ... @linearize.setter def linearize(self, value): ... ``` ### optimization_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/optimization_options.md ##### Definition: ```python @property def optimization_options(self): ... @optimization_options.setter def optimization_options(self, value): ... ``` ### pdf_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/pdf_format.md ##### Definition: ```python @property def pdf_format(self): ... @pdf_format.setter def pdf_format(self, value): ... ``` ### remove_pdf_a_compliance property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/remove_pdf_a_compliance.md #### remove_pdf_a_compliance property The setting that removes PDF/A compliance. ##### Definition: ```python @property def remove_pdf_a_compliance(self): ... @remove_pdf_a_compliance.setter def remove_pdf_a_compliance(self, value): ... ``` ### remove_pdf_acompliance property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/remove_pdf_acompliance.md ##### Definition: ```python @property def remove_pdf_acompliance(self): ... @remove_pdf_acompliance.setter def remove_pdf_acompliance(self, value): ... ``` ### zoom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfoptions/zoom.md ##### Definition: ```python @property def zoom(self): ... @zoom.setter def zoom(self, value): ... ``` ### PdfPageLayout class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout.md #### PdfPageLayout class The PdfPageLayout type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PdfPageLayout constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Default field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/default.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### ONE_COLUMN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/one_column.md #### ONE_COLUMN property Display pages in one column. ### OneColumn field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/onecolumn.md ### SINGLE_PAGE property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/single_page.md #### SINGLE_PAGE property Single page. ### SinglePage field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/singlepage.md ### TWO_COLUMN_LEFT property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/two_column_left.md #### TWO_COLUMN_LEFT property Display the pages in two columns, with odd-numbered pages on the left. ### TWO_COLUMN_RIGHT property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/two_column_right.md #### TWO_COLUMN_RIGHT property Display the pages in two columns, with odd-numbered pages on the right. ### TWO_PAGES_LEFT property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/two_pages_left.md #### TWO_PAGES_LEFT property Display the pages two at a time, with odd-numbered pages on the left. ### TWO_PAGES_RIGHT property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/two_pages_right.md #### TWO_PAGES_RIGHT property Display the pages two at a time, with odd-numbered pages on the right. ### TwoColumnLeft field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/twocolumnleft.md ### TwoColumnRight field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/twocolumnright.md ### TwoPagesLeft field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/twopagesleft.md ### TwoPagesRight field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagelayout/twopagesright.md ### PdfPageMode class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode.md #### PdfPageMode class The PdfPageMode type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PdfPageMode constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### FULL_SCREEN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/full_screen.md #### FULL_SCREEN property FullScreenFull-screen mode, with no menu bar, window controls, or any other window visible. ### FullScreen field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/fullscreen.md ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### USE_ATTACHMENTS property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/use_attachments.md #### USE_ATTACHMENTS property Attachments panel visible. ### USE_NONE property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/use_none.md #### USE_NONE property Don't use any components. ### USE_OC property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/use_oc.md #### USE_OC property Optional content group panel visible. ### USE_OUTLINES property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/use_outlines.md #### USE_OUTLINES property Document outline visible. ### USE_THUMBS property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/use_thumbs.md #### USE_THUMBS property Thumbnail images visible. ### UseAttachments field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/useattachments.md ### UseNone field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/usenone.md ### UseOC field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/useoc.md ### UseOutlines field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/useoutlines.md ### UseThumbs field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfpagemode/usethumbs.md ### PdfRecognitionMode class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfrecognitionmode.md #### PdfRecognitionMode class The PdfRecognitionMode type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PdfRecognitionMode constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfrecognitionmode/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfrecognitionmode/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfrecognitionmode/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### Flow field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfrecognitionmode/flow.md ### Textbox field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/pdfrecognitionmode/textbox.md ### PresentationConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions.md #### PresentationConvertOptions class The PresentationConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | | page_number | | | pages | | | pages_count | | | password | | | watermark | | | zoom | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### zoom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/presentationconvertoptions/zoom.md ##### Definition: ```python @property def zoom(self): ... @zoom.setter def zoom(self, value): ... ``` ### ProjectManagementConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/projectmanagementconvertoptions.md #### ProjectManagementConvertOptions class The ProjectManagementConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/projectmanagementconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/projectmanagementconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/projectmanagementconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/projectmanagementconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/projectmanagementconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### PsdColorModes class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes.md #### PsdColorModes class The PsdColorModes type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PsdColorModes constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### Bitmap field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/bitmap.md ### Cmyk field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/cmyk.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### Duotone field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/duotone.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### Grayscale field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/grayscale.md ### Indexed field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/indexed.md ### Lab field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/lab.md ### Multichannel field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/multichannel.md ### Rgb field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcolormodes/rgb.md ### PsdCompressionMethods class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods.md #### PsdCompressionMethods class The PsdCompressionMethods type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PsdCompressionMethods constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### Raw field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/raw.md ### Rle field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/rle.md ### ZIP_WITH_PREDICTION property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/zip_with_prediction.md #### ZIP_WITH_PREDICTION property ZipWithPrediction. ### ZIP_WITHOUT_PREDICTION property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/zip_without_prediction.md #### ZIP_WITHOUT_PREDICTION property ZipWithoutPrediction. ### ZipWithoutPrediction field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/zipwithoutprediction.md ### ZipWithPrediction field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdcompressionmethods/zipwithprediction.md ### PsdOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions.md #### PsdOptions class The PsdOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | channel_bits_count | | | channels_count | | | color_mode | | | compression | | | version | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### channel_bits_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/channel_bits_count.md ##### Definition: ```python @property def channel_bits_count(self): ... @channel_bits_count.setter def channel_bits_count(self, value): ... ``` ### channels_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/channels_count.md ##### Definition: ```python @property def channels_count(self): ... @channels_count.setter def channels_count(self, value): ... ``` ### color_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/color_mode.md ##### Definition: ```python @property def color_mode(self): ... @color_mode.setter def color_mode(self, value): ... ``` ### compression property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/compression.md ##### Definition: ```python @property def compression(self): ... @compression.setter def compression(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### version property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/psdoptions/version.md ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### Rotation class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation.md #### Rotation class The Rotation type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### Rotation constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### None field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/none.md ### On180 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/on180.md ### On270 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/on270.md ### On90 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rotation/on90.md ### RtfOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rtfoptions.md #### RtfOptions class The RtfOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | export_images_for_old_readers | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rtfoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rtfoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rtfoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### export_images_for_old_readers property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/rtfoptions/export_images_for_old_readers.md ##### Definition: ```python @property def export_images_for_old_readers(self): ... @export_images_for_old_readers.setter def export_images_for_old_readers(self, value): ... ``` ### SpreadsheetConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions.md #### SpreadsheetConvertOptions class The SpreadsheetConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | encoding | | | format | | | page_number | | | pages | | | pages_count | | | password | | | separator | | | watermark | | | zoom | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### separator property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/separator.md ##### Definition: ```python @property def separator(self): ... @separator.setter def separator(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### zoom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/spreadsheetconvertoptions/zoom.md ##### Definition: ```python @property def zoom(self): ... @zoom.setter def zoom(self, value): ... ``` ### ThreeDConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions.md #### ThreeDConvertOptions class The ThreeDConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | format | | | page_number | | | pages_count | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/threedconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### TiffCompressionMethods class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods.md #### TiffCompressionMethods class The TiffCompressionMethods type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### TiffCompressionMethods constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### Ccitt3 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/ccitt3.md ### Ccitt4 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/ccitt4.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### Lzw field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/lzw.md ### None field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/none.md ### Rle field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffcompressionmethods/rle.md ### TiffOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffoptions.md #### TiffOptions class The TiffOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | compression | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compression property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffoptions/compression.md ##### Definition: ```python @property def compression(self): ... @compression.setter def compression(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/tiffoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### VideoConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/videoconvertoptions.md #### VideoConvertOptions class The VideoConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | audio_format | | | extract_audio_only | | | format | | | frames_per_second | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/videoconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/videoconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### audio_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/videoconvertoptions/audio_format.md ##### Definition: ```python @property def audio_format(self): ... @audio_format.setter def audio_format(self, value): ... ``` ### extract_audio_only property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/videoconvertoptions/extract_audio_only.md ##### Definition: ```python @property def extract_audio_only(self): ... @extract_audio_only.setter def extract_audio_only(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/videoconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### frames_per_second property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/videoconvertoptions/frames_per_second.md ##### Definition: ```python @property def frames_per_second(self): ... @frames_per_second.setter def frames_per_second(self, value): ... ``` ### WatermarkImageOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions.md #### WatermarkImageOptions class The WatermarkImageOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_byte_array | | | _clone_noargs | (inherited from `WatermarkOptions`) | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | clone | (inherited from `WatermarkOptions`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | image | | | auto_align | (inherited from `WatermarkOptions`) | | background | (inherited from `WatermarkOptions`) | | height | (inherited from `WatermarkOptions`) | | left | (inherited from `WatermarkOptions`) | | rotation_angle | (inherited from `WatermarkOptions`) | | top | (inherited from `WatermarkOptions`) | | transparency | (inherited from `WatermarkOptions`) | | width | (inherited from `WatermarkOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_byte_array method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/_init_byte_array.md #### _init_byte_array ```python def _init_byte_array(self, image): ... ``` | Parameter | Type | Description | | :- | :- | :- | | image | `bytes` | | ### auto_align property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/auto_align.md #### auto_align property Auto scale the watermark. If the value is true the position and size is automatically calculated to fit the page size. ### background property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/background.md #### background property Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/clone.md #### clone Clone current instance ##### Returns ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/height.md #### height property Watermark height ### image property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/image.md ##### Definition: ```python @property def image(self): ... ``` ### left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/left.md #### left property Watermark left position ### rotation_angle property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/rotation_angle.md #### rotation_angle property Watermark rotation angle ### top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/top.md #### top property Watermark top position ### transparency property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/transparency.md #### transparency property Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkimageoptions/width.md #### width property Watermark width ### WatermarkOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions.md #### WatermarkOptions class The WatermarkOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | clone | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | auto_align | | | background | | | height | | | left | | | rotation_angle | | | top | | | transparency | | | width | | ### _clone_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** Any ### auto_align property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/auto_align.md ##### Definition: ```python @property def auto_align(self): ... @auto_align.setter def auto_align(self, value): ... ``` ### background property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/background.md ##### Definition: ```python @property def background(self): ... @background.setter def background(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/clone.md #### clone ```python def clone(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/left.md ##### Definition: ```python @property def left(self): ... @left.setter def left(self, value): ... ``` ### rotation_angle property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/rotation_angle.md ##### Definition: ```python @property def rotation_angle(self): ... @rotation_angle.setter def rotation_angle(self, value): ... ``` ### top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/top.md ##### Definition: ```python @property def top(self): ... @top.setter def top(self, value): ... ``` ### transparency property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/transparency.md ##### Definition: ```python @property def transparency(self): ... @transparency.setter def transparency(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarkoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### WatermarkTextOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions.md #### WatermarkTextOptions class The WatermarkTextOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_string | | | _clone_noargs | (inherited from `WatermarkOptions`) | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | clone | (inherited from `WatermarkOptions`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | color | | | text | | | watermark_font | | | auto_align | (inherited from `WatermarkOptions`) | | background | (inherited from `WatermarkOptions`) | | height | (inherited from `WatermarkOptions`) | | left | (inherited from `WatermarkOptions`) | | rotation_angle | (inherited from `WatermarkOptions`) | | top | (inherited from `WatermarkOptions`) | | transparency | (inherited from `WatermarkOptions`) | | width | (inherited from `WatermarkOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/_init_string.md #### _init_string ```python def _init_string(self, text): ... ``` | Parameter | Type | Description | | :- | :- | :- | | text | `str` | | ### auto_align property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/auto_align.md #### auto_align property Auto scale the watermark. If the value is true the position and size is automatically calculated to fit the page size. ### background property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/background.md #### background property Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top. ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/clone.md #### clone Clone current instance ##### Returns ```python def clone(self): ... ``` ### color property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/color.md ##### Definition: ```python @property def color(self): ... @color.setter def color(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/height.md #### height property Watermark height ### left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/left.md #### left property Watermark left position ### rotation_angle property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/rotation_angle.md #### rotation_angle property Watermark rotation angle ### text property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/text.md ##### Definition: ```python @property def text(self): ... ``` ### top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/top.md #### top property Watermark top position ### transparency property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/transparency.md #### transparency property Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible. ### watermark_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/watermark_font.md ##### Definition: ```python @property def watermark_font(self): ... @watermark_font.setter def watermark_font(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/watermarktextoptions/width.md #### width property Watermark width ### WebConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions.md #### WebConvertOptions class The WebConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | embed_font_resources | | | fixed_layout | | | fixed_layout_show_borders | | | format | | | page_number | | | pages | | | pages_count | | | use_pdf | | | watermark | | | zoom | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### embed_font_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/embed_font_resources.md ##### Definition: ```python @property def embed_font_resources(self): ... @embed_font_resources.setter def embed_font_resources(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### fixed_layout property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/fixed_layout.md ##### Definition: ```python @property def fixed_layout(self): ... @fixed_layout.setter def fixed_layout(self, value): ... ``` ### fixed_layout_show_borders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/fixed_layout_show_borders.md ##### Definition: ```python @property def fixed_layout_show_borders(self): ... @fixed_layout_show_borders.setter def fixed_layout_show_borders(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### use_pdf property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/use_pdf.md ##### Definition: ```python @property def use_pdf(self): ... @use_pdf.setter def use_pdf(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### zoom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webconvertoptions/zoom.md ##### Definition: ```python @property def zoom(self): ... @zoom.setter def zoom(self, value): ... ``` ### WebpOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webpoptions.md #### WebpOptions class The WebpOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | lossless | | | quality | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webpoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webpoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webpoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### lossless property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webpoptions/lossless.md ##### Definition: ```python @property def lossless(self): ... @lossless.setter def lossless(self, value): ... ``` ### quality property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/webpoptions/quality.md ##### Definition: ```python @property def quality(self): ... @quality.setter def quality(self, value): ... ``` ### WordProcessingConvertOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions.md #### WordProcessingConvertOptions class The WordProcessingConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | dpi | | | fallback_page_size | | | format | | | margin_settings | | | markdown_options | | | orientation_settings | | | page_number | | | pages | | | pages_count | | | password | | | pdf_recognition_mode | | | rtf_options | | | size_settings | | | watermark | | | zoom | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/clone.md #### clone Clones current options instance. ##### Returns ```python def clone(self): ... ``` ### dpi property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/dpi.md ##### Definition: ```python @property def dpi(self): ... @dpi.setter def dpi(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### fallback_page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/fallback_page_size.md ##### Definition: ```python @property def fallback_page_size(self): ... @fallback_page_size.setter def fallback_page_size(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### margin_bottom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/margin_bottom.md #### margin_bottom property Implements `IPageMarginConvertOptions.margin_bottom` ##### Definition: ```python @property def margin_bottom(self): ... @margin_bottom.setter def margin_bottom(self, value): ... ``` ### margin_left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/margin_left.md #### margin_left property Implements `IPageMarginConvertOptions.margin_left` ##### Definition: ```python @property def margin_left(self): ... @margin_left.setter def margin_left(self, value): ... ``` ### margin_right property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/margin_right.md #### margin_right property Implements `IPageMarginConvertOptions.margin_right` ##### Definition: ```python @property def margin_right(self): ... @margin_right.setter def margin_right(self, value): ... ``` ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### margin_top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/margin_top.md #### margin_top property Implements `IPageMarginConvertOptions.margin_top` ##### Definition: ```python @property def margin_top(self): ... @margin_top.setter def margin_top(self, value): ... ``` ### markdown_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/markdown_options.md ##### Definition: ```python @property def markdown_options(self): ... @markdown_options.setter def markdown_options(self, value): ... ``` ### orientation_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/orientation_settings.md ##### Definition: ```python @property def orientation_settings(self): ... @orientation_settings.setter def orientation_settings(self, value): ... ``` ### page_height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/page_height.md #### page_height property Implements `IPageSizeConvertOptions.page_height` ##### Definition: ```python @property def page_height(self): ... @page_height.setter def page_height(self, value): ... ``` ### page_number property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... @page_number.setter def page_number(self, value): ... ``` ### page_orientation property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/page_orientation.md #### page_orientation property Implements `IPageOrientationConvertOptions.page_orientation` ##### Definition: ```python @property def page_orientation(self): ... @page_orientation.setter def page_orientation(self, value): ... ``` ### page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/page_size.md #### page_size property Implements `IPageSizeConvertOptions.page_size` ##### Definition: ```python @property def page_size(self): ... @page_size.setter def page_size(self, value): ... ``` ### page_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/page_width.md #### page_width property Implements `IPageSizeConvertOptions.page_width` ##### Definition: ```python @property def page_width(self): ... @page_width.setter def page_width(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### pages_count property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/pages_count.md ##### Definition: ```python @property def pages_count(self): ... @pages_count.setter def pages_count(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### pdf_recognition_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/pdf_recognition_mode.md ##### Definition: ```python @property def pdf_recognition_mode(self): ... @pdf_recognition_mode.setter def pdf_recognition_mode(self, value): ... ``` ### rtf_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/rtf_options.md ##### Definition: ```python @property def rtf_options(self): ... @rtf_options.setter def rtf_options(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### watermark property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/watermark.md ##### Definition: ```python @property def watermark(self): ... @watermark.setter def watermark(self, value): ... ``` ### zoom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.convert/wordprocessingconvertoptions/zoom.md ##### Definition: ```python @property def zoom(self): ... @zoom.setter def zoom(self, value): ... ``` ### groupdocs.conversion.options.load Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load.md Types under `groupdocs.conversion.options.load`. ##### Classes | Class | Description | | :- | :- | | `AttachmentIcon` | | | `AudioLoadOptions` | | | `BaseImageLoadOptions` | | | `CadLoadOptions` | | | `CompressionLoadOptions` | | | `CsvLoadOptions` | | | `DatabaseLoadOptions` | | | `DiagramLoadOptions` | | | `EBookLoadOptions` | | | `EmailLoadOptions` | | | `EpubLoadOptions` | | | `FinanceLoadOptions` | | | `FontLoadOptions` | | | `GisLoadOptions` | | | `GmlLoadOptions` | | | `HyphenationOptions` | | | `ICustomCssStyleOptions` | | | `IFontSubstituteLoadOptions` | | | `IFontTransformationLoadOptions` | | | `IMetadataLoadOptions` | | | `IPageNumberingLoadOptions` | | | `IResourceLoadingOptions` | | | `ImageLoadOptions` | | | `LoadOptions` | | | `MboxLoadOptions` | | | `NoteLoadOptions` | | | `NsfLoadOptions` | | | `OlmLoadOptions` | | | `PageDescriptionLanguageLoadOptions` | | | `PclLoadOptions` | | | `PdfLoadOptions` | | | `PersonalStorageLoadOptions` | | | `PresentationLoadOptions` | | | `PublisherLoadOptions` | | | `RasterImageLoadOptions` | | | `SpreadsheetLoadOptions` | | | `SvgLoadOptions` | | | `ThreeDLoadOptions` | | | `TsvLoadOptions` | | | `TxtLoadOptions` | | | `VcfLoadOptions` | | | `VectorizationOptions` | | | `VideoLoadOptions` | | | `WebLoadOptions` | | | `WordProcessingBookmarksOptions` | | | `WordProcessingLoadOptions` | | | `XmlLoadOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `CadDrawTypeMode` | | | `EmailField` | | | `HtmlRenderingModes` | | | `PageLayoutOptions` | | | `PresentationCommentsPosition` | | | `PresentationNotesPosition` | | | `SpreadsheetPrintComments` | | | `TxtLeadingSpacesOptions` | | | `TxtTrailingSpacesOptions` | | | `WordProcessingCommentDisplay` | | ### AttachmentIcon class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon.md #### AttachmentIcon class The AttachmentIcon type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _get_object_data_serialization_info_streaming_context | | | _init_string_byte_array | | | get_object_data | | | get_object_data_serialization_info | | ##### Properties | Property | Description | | :- | :- | | file_extension | | | icon_data | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _get_object_data_serialization_info_streaming_context method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon/_get_object_data_serialization_info_streaming_context.md #### _get_object_data_serialization_info_streaming_context ```python def _get_object_data_serialization_info_streaming_context(self, info, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | info | `SerializationInfo` | | | context | `StreamingContext` | | ### _init_string_byte_array method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon/_init_string_byte_array.md #### _init_string_byte_array ```python def _init_string_byte_array(self, file_extension, icon_data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | `str` | | | icon_data | `bytes` | | ### file_extension property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon/file_extension.md ##### Definition: ```python @property def file_extension(self): ... ``` ### get_object_data method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon/get_object_data.md #### get_object_data ```python def get_object_data(self): ... ``` ### get_object_data_serialization_info method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon/get_object_data_serialization_info.md #### get_object_data_serialization_info ```python def get_object_data_serialization_info(self): ... ``` ### icon_data property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/attachmenticon/icon_data.md ##### Definition: ```python @property def icon_data(self): ... ``` ### AudioLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/audioloadoptions.md #### AudioLoadOptions class The AudioLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _set_audio_connector_iaudio_connector | | | set_audio_connector | | | set_audio_connector_iaudio_connector | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/audioloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/audioloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _set_audio_connector_iaudio_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/audioloadoptions/_set_audio_connector_iaudio_connector.md #### _set_audio_connector_iaudio_connector ```python def _set_audio_connector_iaudio_connector(self, audio_connector): ... ``` | Parameter | Type | Description | | :- | :- | :- | | audio_connector | `IAudioConnector` | | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/audioloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### set_audio_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/audioloadoptions/set_audio_connector.md #### set_audio_connector ```python def set_audio_connector(self): ... ``` ### set_audio_connector_iaudio_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/audioloadoptions/set_audio_connector_iaudio_connector.md #### set_audio_connector_iaudio_connector ```python def set_audio_connector_iaudio_connector(self): ... ``` ### BaseImageLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/baseimageloadoptions.md #### BaseImageLoadOptions class The BaseImageLoadOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | default_font | | | format | | | reset_font_folders | | ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/baseimageloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/baseimageloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/baseimageloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### reset_font_folders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/baseimageloadoptions/reset_font_folders.md ##### Definition: ```python @property def reset_font_folders(self): ... @reset_font_folders.setter def reset_font_folders(self, value): ... ``` ### CadDrawTypeMode class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode.md #### CadDrawTypeMode class The CadDrawTypeMode type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### CadDrawTypeMode constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### USE_DRAW_COLOR property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/use_draw_color.md #### USE_DRAW_COLOR property Allows to use common color. ### USE_OBJECT_COLOR property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/use_object_color.md #### USE_OBJECT_COLOR property Allows to use separate color for every object. ### UseDrawColor field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/usedrawcolor.md ### UseObjectColor field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/caddrawtypemode/useobjectcolor.md ### CadLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions.md #### CadLoadOptions class The CadLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | background_color | | | ctb_sources | | | draw_color | | | draw_type | | | format | | | layout_names | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/background_color.md ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### ctb_sources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/ctb_sources.md ##### Definition: ```python @property def ctb_sources(self): ... @ctb_sources.setter def ctb_sources(self, value): ... ``` ### draw_color property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/draw_color.md ##### Definition: ```python @property def draw_color(self): ... @draw_color.setter def draw_color(self, value): ... ``` ### draw_type property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/draw_type.md ##### Definition: ```python @property def draw_type(self): ... @draw_type.setter def draw_type(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### layout_names property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/cadloadoptions/layout_names.md ##### Definition: ```python @property def layout_names(self): ... @layout_names.setter def layout_names(self, value): ... ``` ### CompressionLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions.md #### CompressionLoadOptions class The CompressionLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | convert_owned | | | convert_owner | | | depth | | | format | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/compressionloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### CsvLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions.md #### CsvLoadOptions class The CsvLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _clone_noargs | (inherited from `SpreadsheetLoadOptions`) | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | clone | (inherited from `SpreadsheetLoadOptions`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | clear_built_in_document_properties | | | clear_custom_document_properties | | | convert_date_time_data | | | convert_numeric_data | | | convert_owned | | | convert_owner | | | default_font | | | depth | | | encoding | | | font_substitutes | | | format | | | has_formula | | | is_multi_encoded | | | margin_settings | | | separator | | | size_settings | | | skip_external_resources | | | whitelisted_resources | | | all_columns_in_one_page_per_sheet | (inherited from `SpreadsheetLoadOptions`) | | auto_fit_rows | (inherited from `SpreadsheetLoadOptions`) | | check_excel_restriction | (inherited from `SpreadsheetLoadOptions`) | | columns_per_page | (inherited from `SpreadsheetLoadOptions`) | | convert_range | (inherited from `SpreadsheetLoadOptions`) | | culture_info | (inherited from `SpreadsheetLoadOptions`) | | ignore_formula_calculation_errors | (inherited from `SpreadsheetLoadOptions`) | | one_page_per_sheet | (inherited from `SpreadsheetLoadOptions`) | | optimize_pdf_size | (inherited from `SpreadsheetLoadOptions`) | | password | (inherited from `SpreadsheetLoadOptions`) | | preserve_document_structure | (inherited from `SpreadsheetLoadOptions`) | | print_comments | (inherited from `SpreadsheetLoadOptions`) | | reset_font_folders | (inherited from `SpreadsheetLoadOptions`) | | rows_per_page | (inherited from `SpreadsheetLoadOptions`) | | sheet_indexes | (inherited from `SpreadsheetLoadOptions`) | | sheets | (inherited from `SpreadsheetLoadOptions`) | | show_grid_lines | (inherited from `SpreadsheetLoadOptions`) | | show_hidden_sheets | (inherited from `SpreadsheetLoadOptions`) | | skip_empty_rows_and_columns | (inherited from `SpreadsheetLoadOptions`) | | skip_footers | (inherited from `SpreadsheetLoadOptions`) | | skip_headers | (inherited from `SpreadsheetLoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### all_columns_in_one_page_per_sheet property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/all_columns_in_one_page_per_sheet.md #### all_columns_in_one_page_per_sheet property If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. ### auto_fit_rows property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/auto_fit_rows.md #### auto_fit_rows property Autofits all rows when converting ### check_excel_restriction property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/check_excel_restriction.md #### check_excel_restriction property Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. ### clear_built_in_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/clear_built_in_document_properties.md ##### Definition: ```python @property def clear_built_in_document_properties(self): ... @clear_built_in_document_properties.setter def clear_built_in_document_properties(self, value): ... ``` ### clear_custom_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/clear_custom_document_properties.md ##### Definition: ```python @property def clear_custom_document_properties(self): ... @clear_custom_document_properties.setter def clear_custom_document_properties(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/clone.md #### clone Clones current instance. ##### Returns ```python def clone(self): ... ``` ### columns_per_page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/columns_per_page.md #### columns_per_page property Split a worksheet into pages by columns. Default is 0, no pagination. ### convert_date_time_data property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/convert_date_time_data.md ##### Definition: ```python @property def convert_date_time_data(self): ... @convert_date_time_data.setter def convert_date_time_data(self, value): ... ``` ### convert_numeric_data property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/convert_numeric_data.md ##### Definition: ```python @property def convert_numeric_data(self): ... @convert_numeric_data.setter def convert_numeric_data(self, value): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### convert_range property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/convert_range.md #### convert_range property Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". ### culture_info property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/culture_info.md #### culture_info property Get or set the system culture info at the time file is loaded, e.g. "en-US". ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### has_formula property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/has_formula.md ##### Definition: ```python @property def has_formula(self): ... @has_formula.setter def has_formula(self, value): ... ``` ### hide_comments property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/hide_comments.md #### hide_comments property Hide comments. ### is_multi_encoded property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/is_multi_encoded.md ##### Definition: ```python @property def is_multi_encoded(self): ... @is_multi_encoded.setter def is_multi_encoded(self, value): ... ``` ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### one_page_per_sheet property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/one_page_per_sheet.md #### one_page_per_sheet property If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true. ### optimize_pdf_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/optimize_pdf_size.md #### optimize_pdf_size property If True and converting to Pdf the conversion is optimized for better file size than print quality. ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/password.md #### password property Set password to unprotect protected document. ### rows_per_page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/rows_per_page.md #### rows_per_page property Split a worksheet into pages by rows. Default is 0, no pagination. ### separator property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/separator.md ##### Definition: ```python @property def separator(self): ... @separator.setter def separator(self, value): ... ``` ### sheet_indexes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/sheet_indexes.md #### sheet_indexes property List of sheet indexes to convert. The indexes must be zero-based ### sheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/sheets.md #### sheets property Sheet name to convert ### show_grid_lines property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/show_grid_lines.md #### show_grid_lines property Show grid lines when converting Excel files. ### show_hidden_sheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/show_hidden_sheets.md #### show_hidden_sheets property Show hidden sheets when converting Excel files. ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### skip_empty_rows_and_columns property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/skip_empty_rows_and_columns.md #### skip_empty_rows_and_columns property Skips empty rows and columns when converting. Default is True. ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/csvloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### CtbSource class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ctbsource.md #### CtbSource class Represents a CTB source with a name and associated data stream. The CtbSource type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `CtbSource` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the name of the CTB source. | | data | Gets the data stream associated with the CTB source. | ### CtbSource constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ctbsource/__init__.md #### __init__ Initializes a new instance of the `CtbSource` class. ```python def __init__(self, name, data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | The name of the CTB source. | | data | io.RawIOBase | The data stream associated with the CTB source. | ### data property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ctbsource/data.md #### data property Gets the data stream associated with the CTB source. ##### Definition: ```python @property def data(self): ... ``` ### name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ctbsource/name.md #### name property Gets the name of the CTB source. ##### Definition: ```python @property def name(self): ... ``` ### DatabaseLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/databaseloadoptions.md #### DatabaseLoadOptions class The DatabaseLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/databaseloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/databaseloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/databaseloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/databaseloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### DiagramLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/diagramloadoptions.md #### DiagramLoadOptions class The DiagramLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | default_font | | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/diagramloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/diagramloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/diagramloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/diagramloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/diagramloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### EBookLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ebookloadoptions.md #### EBookLoadOptions class The EBookLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ebookloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ebookloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ebookloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ebookloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### EmailField class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield.md #### EmailField class The EmailField type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### EmailField constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### Attachments field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/attachments.md ### Bcc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/bcc.md ### Cc field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/cc.md ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### End field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/end.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### From field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/from.md ### Importance field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/importance.md ### Location field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/location.md ### Organizer field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/organizer.md ### PAGE_HEADER property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/page_header.md #### PAGE_HEADER property Default field text is "PageHeader". ### PageHeader field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/pageheader.md ### Recurrence field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/recurrence.md ### RECURRENCE_PATTERN property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/recurrence_pattern.md #### RECURRENCE_PATTERN property Default field text is "RecurrencePattern". ### RecurrencePattern field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/recurrencepattern.md ### REQUIRED_ATTENDEES property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/required_attendees.md #### REQUIRED_ATTENDEES property Default field text is "RequiredAttendees". ### RequiredAttendees field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/requiredattendees.md ### Sent field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/sent.md ### SHOW_TIME_AS property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/show_time_as.md #### SHOW_TIME_AS property Default field text is "ShowTimeAs". ### ShowTimeAs field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/showtimeas.md ### Start field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/start.md ### Subject field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/subject.md ### TAB_FIELD property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/tab_field.md #### TAB_FIELD property Default field text is "TabField". ### TabField field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/tabfield.md ### To field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfield/to.md ### EmailFieldText class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfieldtext.md #### EmailFieldText class Represents a mapping between an email field and its text representation. The EmailFieldText type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `EmailFieldText` class. | ##### Properties | Property | Description | | :- | :- | | email_field | Gets the email field. | | text_representation | Gets the text representation of the email field. | ### EmailFieldText constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfieldtext/__init__.md #### __init__ Initializes a new instance of the `EmailFieldText` class. ```python def __init__(self, email_field, text_representation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | email_field | groupdocs.conversion.options.load.EmailField | The email field. | | text_representation | System.String | The text representation of the email field. | ### email_field property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfieldtext/email_field.md #### email_field property Gets the email field. ##### Definition: ```python @property def email_field(self): ... ``` ### text_representation property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailfieldtext/text_representation.md #### text_representation property Gets the text representation of the email field. ##### Definition: ```python @property def text_representation(self): ... ``` ### EmailLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions.md #### EmailLoadOptions class The EmailLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _init_noargs | | | clone | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | attachment_icons | | | convert_owned | | | convert_owner | | | custom_css_style | | | default_font | | | depth | | | display_attachments | | | display_bcc_email_address | | | display_cc_email_address | | | display_email_addresses | | | display_from_email_address | | | display_header | | | display_sent | | | display_subject | | | display_to_email_address | | | field_text_map | | | font_substitutes | | | format | | | margin_settings | | | orientation_settings | | | preserve_original_date | | | resource_loading_timeout | | | size_settings | | | skip_external_resources | | | time_zone_offset | | | use_default_attachment_icons | | | whitelisted_resources | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _clone_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** Any ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### attachment_icons property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/attachment_icons.md ##### Definition: ```python @property def attachment_icons(self): ... @attachment_icons.setter def attachment_icons(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/clone.md #### clone ```python def clone(self): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... @convert_owned.setter def convert_owned(self, value): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... @convert_owner.setter def convert_owner(self, value): ... ``` ### custom_css_style property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/custom_css_style.md ##### Definition: ```python @property def custom_css_style(self): ... @custom_css_style.setter def custom_css_style(self, value): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### display_attachments property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_attachments.md ##### Definition: ```python @property def display_attachments(self): ... @display_attachments.setter def display_attachments(self, value): ... ``` ### display_bcc_email_address property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_bcc_email_address.md ##### Definition: ```python @property def display_bcc_email_address(self): ... @display_bcc_email_address.setter def display_bcc_email_address(self, value): ... ``` ### display_cc_email_address property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_cc_email_address.md ##### Definition: ```python @property def display_cc_email_address(self): ... @display_cc_email_address.setter def display_cc_email_address(self, value): ... ``` ### display_email_addresses property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_email_addresses.md ##### Definition: ```python @property def display_email_addresses(self): ... @display_email_addresses.setter def display_email_addresses(self, value): ... ``` ### display_from_email_address property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_from_email_address.md ##### Definition: ```python @property def display_from_email_address(self): ... @display_from_email_address.setter def display_from_email_address(self, value): ... ``` ### display_header property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_header.md ##### Definition: ```python @property def display_header(self): ... @display_header.setter def display_header(self, value): ... ``` ### display_sent property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_sent.md ##### Definition: ```python @property def display_sent(self): ... @display_sent.setter def display_sent(self, value): ... ``` ### display_subject property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_subject.md ##### Definition: ```python @property def display_subject(self): ... @display_subject.setter def display_subject(self, value): ... ``` ### display_to_email_address property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/display_to_email_address.md ##### Definition: ```python @property def display_to_email_address(self): ... @display_to_email_address.setter def display_to_email_address(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### field_text_map property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/field_text_map.md ##### Definition: ```python @property def field_text_map(self): ... @field_text_map.setter def field_text_map(self, value): ... ``` ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### orientation_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/orientation_settings.md ##### Definition: ```python @property def orientation_settings(self): ... @orientation_settings.setter def orientation_settings(self, value): ... ``` ### preserve_original_date property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/preserve_original_date.md ##### Definition: ```python @property def preserve_original_date(self): ... @preserve_original_date.setter def preserve_original_date(self, value): ... ``` ### resource_loading_timeout property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/resource_loading_timeout.md ##### Definition: ```python @property def resource_loading_timeout(self): ... @resource_loading_timeout.setter def resource_loading_timeout(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### time_zone_offset property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/time_zone_offset.md ##### Definition: ```python @property def time_zone_offset(self): ... @time_zone_offset.setter def time_zone_offset(self, value): ... ``` ### use_default_attachment_icons property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/use_default_attachment_icons.md ##### Definition: ```python @property def use_default_attachment_icons(self): ... @use_default_attachment_icons.setter def use_default_attachment_icons(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/emailloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### EpubLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/epubloadoptions.md #### EpubLoadOptions class The EpubLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/epubloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/epubloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/epubloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/epubloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### FinanceLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/financeloadoptions.md #### FinanceLoadOptions class The FinanceLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/financeloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/financeloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/financeloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/financeloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### FontLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/fontloadoptions.md #### FontLoadOptions class The FontLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/fontloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/fontloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/fontloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/fontloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### GisLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gisloadoptions.md #### GisLoadOptions class The GisLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | | height | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gisloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gisloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gisloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gisloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gisloadoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gisloadoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### GmlLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions.md #### GmlLoadOptions class The GmlLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | | load_schemas_from_internet | | | restore_schema | | | schema_location | | | height | (inherited from `GisLoadOptions`) | | width | (inherited from `GisLoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/height.md #### height property Sets desired page height for converting GIS document. Default is 1000. ### load_schemas_from_internet property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/load_schemas_from_internet.md ##### Definition: ```python @property def load_schemas_from_internet(self): ... @load_schemas_from_internet.setter def load_schemas_from_internet(self, value): ... ``` ### restore_schema property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/restore_schema.md ##### Definition: ```python @property def restore_schema(self): ... @restore_schema.setter def restore_schema(self, value): ... ``` ### schema_location property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/schema_location.md ##### Definition: ```python @property def schema_location(self): ... @schema_location.setter def schema_location(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/gmlloadoptions/width.md #### width property Sets desired page width for converting GIS document. Default is 1000. ### Header class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/header.md #### Header class Represents a header with a name and value. The Header type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `Header` class with the specified header name and header value. | ##### Properties | Property | Description | | :- | :- | | header_name | Gets the header name. | | header_value | Gets the header value. | ### Header constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/header/__init__.md #### __init__ Initializes a new instance of the `Header` class with the specified header name and header value. ```python def __init__(self, header_name, header_value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | header_name | System.String | The header name to set. | | header_value | System.String | The header value to set. | ### header_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/header/header_name.md #### header_name property Gets the header name. ##### Definition: ```python @property def header_name(self): ... ``` ### header_value property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/header/header_value.md #### header_value property Gets the header value. ##### Definition: ```python @property def header_value(self): ... ``` ### HtmlRenderingModes class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/htmlrenderingmodes.md #### HtmlRenderingModes class The HtmlRenderingModes type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### AbsolutePositioning field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/htmlrenderingmodes/absolutepositioning.md ### Flow field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/htmlrenderingmodes/flow.md ### HyphenationDictionary class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationdictionary.md #### HyphenationDictionary class Represents a mapping between an ISO language code and its associated hyphenation dictionary stream. The HyphenationDictionary type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `HyphenationDictionary` class. | ##### Properties | Property | Description | | :- | :- | | language_code | Gets the ISO language code. | | dictionary_stream | Gets the stream of the hyphenation dictionary. | ### HyphenationDictionary constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationdictionary/__init__.md #### __init__ Initializes a new instance of the `HyphenationDictionary` class. ```python def __init__(self, language_code, dictionary_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | language_code | System.String | The ISO language code. | | dictionary_stream | io.RawIOBase | The stream of the hyphenation dictionary associated with the language code. | ### dictionary_stream property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationdictionary/dictionary_stream.md #### dictionary_stream property Gets the stream of the hyphenation dictionary. ##### Definition: ```python @property def dictionary_stream(self): ... ``` ### language_code property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationdictionary/language_code.md #### language_code property Gets the ISO language code. ##### Definition: ```python @property def language_code(self): ... ``` ### HyphenationOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationoptions.md #### HyphenationOptions class The HyphenationOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | auto_hyphenation | | | hyphenate_caps | | | hyphenation_dictionaries | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### auto_hyphenation property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationoptions/auto_hyphenation.md ##### Definition: ```python @property def auto_hyphenation(self): ... @auto_hyphenation.setter def auto_hyphenation(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### hyphenate_caps property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationoptions/hyphenate_caps.md ##### Definition: ```python @property def hyphenate_caps(self): ... @hyphenate_caps.setter def hyphenate_caps(self, value): ... ``` ### hyphenation_dictionaries property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/hyphenationoptions/hyphenation_dictionaries.md ##### Definition: ```python @property def hyphenation_dictionaries(self): ... @hyphenation_dictionaries.setter def hyphenation_dictionaries(self, value): ... ``` ### ICredentialsProvider class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/icredentialsprovider.md #### ICredentialsProvider class Interface for providing credentials for a given URI. The ICredentialsProvider type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_credentials | Gets the credentials associated with the specified URI. | ### get_credentials method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/icredentialsprovider/get_credentials.md #### get_credentials Gets the credentials associated with the specified URI. ##### Returns The credentials for the specified URI. ```python def get_credentials(self, uri): ... ``` | Parameter | Type | Description | | :- | :- | :- | | uri | System.String | The URI for which to get credentials. | ### ICustomCssStyleOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/icustomcssstyleoptions.md #### ICustomCssStyleOptions class The ICustomCssStyleOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | custom_css_style | | ### custom_css_style property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/icustomcssstyleoptions/custom_css_style.md ##### Definition: ```python @property def custom_css_style(self): ... @custom_css_style.setter def custom_css_style(self, value): ... ``` ### IFontSubstituteLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ifontsubstituteloadoptions.md #### IFontSubstituteLoadOptions class The IFontSubstituteLoadOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | default_font | | | font_substitutes | | ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ifontsubstituteloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ifontsubstituteloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### IFontTransformationLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ifonttransformationloadoptions.md #### IFontTransformationLoadOptions class The IFontTransformationLoadOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | font_transformations | | ### font_transformations property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ifonttransformationloadoptions/font_transformations.md ##### Definition: ```python @property def font_transformations(self): ... @font_transformations.setter def font_transformations(self, value): ... ``` ### IHeaderConfigurator class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/iheaderconfigurator.md #### IHeaderConfigurator class Interface for configuring request headers. The IHeaderConfigurator type exposes the following members: ##### Methods | Method | Description | | :- | :- | | configure | Configures the request headers for the given URI. | ### configure method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/iheaderconfigurator/configure.md #### configure Configures the request headers for the given URI. ```python def configure(self, uri, headers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | uri | System.String | The URI for which headers are being configured. | | headers | list | The collection of headers to configure. | ### ImageLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imageloadoptions.md #### ImageLoadOptions class The ImageLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | | default_font | (inherited from `BaseImageLoadOptions`) | | reset_font_folders | (inherited from `BaseImageLoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imageloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imageloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imageloadoptions/default_font.md #### default_font property Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imageloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imageloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### IMetadataLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imetadataloadoptions.md #### IMetadataLoadOptions class The IMetadataLoadOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | clear_built_in_document_properties | | | clear_custom_document_properties | | ### clear_built_in_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imetadataloadoptions/clear_built_in_document_properties.md ##### Definition: ```python @property def clear_built_in_document_properties(self): ... @clear_built_in_document_properties.setter def clear_built_in_document_properties(self, value): ... ``` ### clear_custom_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/imetadataloadoptions/clear_custom_document_properties.md ##### Definition: ```python @property def clear_custom_document_properties(self): ... @clear_custom_document_properties.setter def clear_custom_document_properties(self, value): ... ``` ### IPageNumberingLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ipagenumberingloadoptions.md #### IPageNumberingLoadOptions class The IPageNumberingLoadOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | page_numbering | | ### page_numbering property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ipagenumberingloadoptions/page_numbering.md ##### Definition: ```python @property def page_numbering(self): ... @page_numbering.setter def page_numbering(self, value): ... ``` ### IResourceLoadingOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/iresourceloadingoptions.md #### IResourceLoadingOptions class The IResourceLoadingOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | skip_external_resources | | | whitelisted_resources | | ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/iresourceloadingoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/iresourceloadingoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### IXslFoFactory class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ixslfofactory.md #### IXslFoFactory class Interface for creating an XSL-FO document stream. The IXslFoFactory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | create_xsl_fo_stream | Creates a stream for the XSL-FO document. | ### create_xsl_fo_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ixslfofactory/create_xsl_fo_stream.md #### create_xsl_fo_stream Creates a stream for the XSL-FO document. ##### Returns A stream representing the XSL-FO document. ```python def create_xsl_fo_stream(self): ... ``` ### IXsltFactory class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ixsltfactory.md #### IXsltFactory class Interface for creating an XSLT document stream. The IXsltFactory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | create_xslt_stream | Creates a stream for the XSLT document. | ### create_xslt_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/ixsltfactory/create_xslt_stream.md #### create_xslt_stream Creates a stream for the XSLT document. ##### Returns A stream representing the XSLT document. ```python def create_xslt_stream(self): ... ``` ### LoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/loadoptions.md #### LoadOptions class The LoadOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/loadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/loadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### MboxLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions.md #### MboxLoadOptions class The MboxLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _init_noargs | | | clone | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | convert_owned | | | convert_owner | | | depth | | | format | (inherited from `LoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _clone_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** Any ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/clone.md #### clone ```python def clone(self): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/mboxloadoptions/format.md #### format property Input document file type. ### NetworkCredentials class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/networkcredentials.md #### NetworkCredentials class Represents network credentials with a username, password, and domain. The NetworkCredentials type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `NetworkCredentials` class. | ##### Properties | Property | Description | | :- | :- | | user_name | Gets the username. | | password | Gets the password. | | domain | Gets the domain. | ### NetworkCredentials constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/networkcredentials/__init__.md #### __init__ Initializes a new instance of the `NetworkCredentials` class. ```python def __init__(self, user_name, password, domain): ... ``` | Parameter | Type | Description | | :- | :- | :- | | user_name | System.String | The username. | | password | System.String | The password. | | domain | System.String | The domain. | ### domain property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/networkcredentials/domain.md #### domain property Gets the domain. ##### Definition: ```python @property def domain(self): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/networkcredentials/password.md #### password property Gets the password. ##### Definition: ```python @property def password(self): ... ``` ### user_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/networkcredentials/user_name.md #### user_name property Gets the username. ##### Definition: ```python @property def user_name(self): ... ``` ### NoteLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions.md #### NoteLoadOptions class The NoteLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | default_font | | | font_substitutes | | | format | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/noteloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### NsfLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions.md #### NsfLoadOptions class The NsfLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _init_noargs | | | clone | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | convert_owned | | | convert_owner | | | depth | | | format | (inherited from `LoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _clone_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** Any ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/clone.md #### clone ```python def clone(self): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/nsfloadoptions/format.md #### format property Input document file type. ### OlmLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions.md #### OlmLoadOptions class The OlmLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _init_noargs | | | clone | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | convert_owned | | | convert_owner | | | depth | | | folder | | | format | (inherited from `LoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _clone_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** Any ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/clone.md #### clone ```python def clone(self): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### folder property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/folder.md ##### Definition: ```python @property def folder(self): ... @folder.setter def folder(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/olmloadoptions/format.md #### format property Input document file type. ### PageDescriptionLanguageLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions.md #### PageDescriptionLanguageLoadOptions class The PageDescriptionLanguageLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagedescriptionlanguageloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### PageLayoutOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagelayoutoptions.md #### PageLayoutOptions class The PageLayoutOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _has_flag_arg | (inherited from `FlagsEnumeration`) | | _has_flag_value_int32 | (inherited from `FlagsEnumeration`) | | _to_string_noargs | (inherited from `FlagsEnumeration`) | | combine | (inherited from `FlagsEnumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | has_flag | (inherited from `FlagsEnumeration`) | | has_flag_value | (inherited from `FlagsEnumeration`) | | has_flag_value_int32 | (inherited from `FlagsEnumeration`) | | to_string | (inherited from `FlagsEnumeration`) | ### None field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagelayoutoptions/none.md ### ScaleToPageHeight field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagelayoutoptions/scaletopageheight.md ### ScaleToPageWidth field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pagelayoutoptions/scaletopagewidth.md ### PclLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pclloadoptions.md #### PclLoadOptions class The PclLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | | reset_font_folders | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pclloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pclloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pclloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### reset_font_folders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pclloadoptions/reset_font_folders.md ##### Definition: ```python @property def reset_font_folders(self): ... @reset_font_folders.setter def reset_font_folders(self, value): ... ``` ### PdfLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions.md #### PdfLoadOptions class The PdfLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | clear_built_in_document_properties | | | clear_custom_document_properties | | | convert_owned | | | convert_owner | | | default_font | | | depth | | | flatten_all_fields | | | font_substitutes | | | font_transformations | | | format | | | hide_pdf_annotations | | | page_numbering | | | password | | | remove_embedded_files | | | remove_javascript | | | reset_font_folders | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clear_built_in_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/clear_built_in_document_properties.md ##### Definition: ```python @property def clear_built_in_document_properties(self): ... @clear_built_in_document_properties.setter def clear_built_in_document_properties(self, value): ... ``` ### clear_custom_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/clear_custom_document_properties.md ##### Definition: ```python @property def clear_custom_document_properties(self): ... @clear_custom_document_properties.setter def clear_custom_document_properties(self, value): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... @convert_owned.setter def convert_owned(self, value): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... @convert_owner.setter def convert_owner(self, value): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### flatten_all_fields property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/flatten_all_fields.md ##### Definition: ```python @property def flatten_all_fields(self): ... @flatten_all_fields.setter def flatten_all_fields(self, value): ... ``` ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### font_transformations property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/font_transformations.md ##### Definition: ```python @property def font_transformations(self): ... @font_transformations.setter def font_transformations(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### hide_pdf_annotations property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/hide_pdf_annotations.md ##### Definition: ```python @property def hide_pdf_annotations(self): ... @hide_pdf_annotations.setter def hide_pdf_annotations(self, value): ... ``` ### page_numbering property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/page_numbering.md ##### Definition: ```python @property def page_numbering(self): ... @page_numbering.setter def page_numbering(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### remove_embedded_files property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/remove_embedded_files.md ##### Definition: ```python @property def remove_embedded_files(self): ... @remove_embedded_files.setter def remove_embedded_files(self, value): ... ``` ### remove_javascript property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/remove_javascript.md ##### Definition: ```python @property def remove_javascript(self): ... @remove_javascript.setter def remove_javascript(self, value): ... ``` ### reset_font_folders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/pdfloadoptions/reset_font_folders.md ##### Definition: ```python @property def reset_font_folders(self): ... @reset_font_folders.setter def reset_font_folders(self, value): ... ``` ### PersonalStorageLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions.md #### PersonalStorageLoadOptions class The PersonalStorageLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _init_noargs | | | clone | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | convert_owned | | | convert_owner | | | depth | | | folder | | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _clone_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** Any ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/clone.md #### clone ```python def clone(self): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### folder property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/folder.md ##### Definition: ```python @property def folder(self): ... @folder.setter def folder(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/personalstorageloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### PresentationCommentsPosition class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationcommentsposition.md #### PresentationCommentsPosition class The PresentationCommentsPosition type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### Bottom field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationcommentsposition/bottom.md ### None field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationcommentsposition/none.md ### Right field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationcommentsposition/right.md ### PresentationLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions.md #### PresentationLoadOptions class The PresentationLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _set_video_connector_ipresentation_video_connector | | | set_video_connector | | | set_video_connector_ipresentation_video_connector | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | clear_built_in_document_properties | | | clear_custom_document_properties | | | comments_position | | | convert_owned | | | convert_owner | | | default_font | | | depth | | | font_substitutes | | | format | | | notes_position | | | password | | | preserve_document_structure | | | show_hidden_slides | | | skip_external_resources | | | whitelisted_resources | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _set_video_connector_ipresentation_video_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/_set_video_connector_ipresentation_video_connector.md #### _set_video_connector_ipresentation_video_connector ```python def _set_video_connector_ipresentation_video_connector(self, video_connector): ... ``` | Parameter | Type | Description | | :- | :- | :- | | video_connector | `IPresentationVideoConnector` | | ### clear_built_in_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/clear_built_in_document_properties.md ##### Definition: ```python @property def clear_built_in_document_properties(self): ... @clear_built_in_document_properties.setter def clear_built_in_document_properties(self, value): ... ``` ### clear_custom_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/clear_custom_document_properties.md ##### Definition: ```python @property def clear_custom_document_properties(self): ... @clear_custom_document_properties.setter def clear_custom_document_properties(self, value): ... ``` ### comments_position property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/comments_position.md ##### Definition: ```python @property def comments_position(self): ... @comments_position.setter def comments_position(self, value): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... @convert_owned.setter def convert_owned(self, value): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... @convert_owner.setter def convert_owner(self, value): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### hide_comments property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/hide_comments.md #### hide_comments property Hide comments. ##### Definition: ```python @property def hide_comments(self): ... @hide_comments.setter def hide_comments(self, value): ... ``` ### notes_position property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/notes_position.md ##### Definition: ```python @property def notes_position(self): ... @notes_position.setter def notes_position(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### preserve_document_structure property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/preserve_document_structure.md ##### Definition: ```python @property def preserve_document_structure(self): ... @preserve_document_structure.setter def preserve_document_structure(self, value): ... ``` ### set_video_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/set_video_connector.md #### set_video_connector ```python def set_video_connector(self): ... ``` ### set_video_connector_ipresentation_video_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/set_video_connector_ipresentation_video_connector.md #### set_video_connector_ipresentation_video_connector ```python def set_video_connector_ipresentation_video_connector(self): ... ``` ### show_hidden_slides property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/show_hidden_slides.md ##### Definition: ```python @property def show_hidden_slides(self): ... @show_hidden_slides.setter def show_hidden_slides(self, value): ... ``` ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### PresentationNotesPosition class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationnotesposition.md #### PresentationNotesPosition class The PresentationNotesPosition type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### BottomFull field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationnotesposition/bottomfull.md ### BottomTruncated field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationnotesposition/bottomtruncated.md ### None field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/presentationnotesposition/none.md ### PublisherLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/publisherloadoptions.md #### PublisherLoadOptions class The PublisherLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | default_font | | | font_substitutes | | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/publisherloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/publisherloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/publisherloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/publisherloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/publisherloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/publisherloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### RasterImageLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions.md #### RasterImageLoadOptions class The RasterImageLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _set_heic_connector_iheic_connector | | | _set_ocr_connector_iocr_connector | | | set_heic_connector | | | set_heic_connector_iheic_connector | | | set_ocr_connector | | | set_ocr_connector_iocr_connector | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | crop_area | | | format | | | vectorization_options | | | default_font | (inherited from `BaseImageLoadOptions`) | | reset_font_folders | (inherited from `BaseImageLoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _set_heic_connector_iheic_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/_set_heic_connector_iheic_connector.md #### _set_heic_connector_iheic_connector ```python def _set_heic_connector_iheic_connector(self, heic_connector): ... ``` | Parameter | Type | Description | | :- | :- | :- | | heic_connector | `IHeicConnector` | | ### _set_ocr_connector_iocr_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/_set_ocr_connector_iocr_connector.md #### _set_ocr_connector_iocr_connector ```python def _set_ocr_connector_iocr_connector(self, ocr_connector): ... ``` | Parameter | Type | Description | | :- | :- | :- | | ocr_connector | `IOcrConnector` | | ### crop_area property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/crop_area.md ##### Definition: ```python @property def crop_area(self): ... @crop_area.setter def crop_area(self, value): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/default_font.md #### default_font property Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing. ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### set_heic_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/set_heic_connector.md #### set_heic_connector ```python def set_heic_connector(self): ... ``` ### set_heic_connector_iheic_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/set_heic_connector_iheic_connector.md #### set_heic_connector_iheic_connector ```python def set_heic_connector_iheic_connector(self): ... ``` ### set_ocr_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/set_ocr_connector.md #### set_ocr_connector ```python def set_ocr_connector(self): ... ``` ### set_ocr_connector_iocr_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/set_ocr_connector_iocr_connector.md #### set_ocr_connector_iocr_connector ```python def set_ocr_connector_iocr_connector(self): ... ``` ### vectorization_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/rasterimageloadoptions/vectorization_options.md ##### Definition: ```python @property def vectorization_options(self): ... @vectorization_options.setter def vectorization_options(self, value): ... ``` ### SpreadsheetLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions.md #### SpreadsheetLoadOptions class The SpreadsheetLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _init_noargs | | | clone | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | all_columns_in_one_page_per_sheet | | | auto_fit_rows | | | check_excel_restriction | | | clear_built_in_document_properties | | | clear_custom_document_properties | | | columns_per_page | | | convert_owned | | | convert_owner | | | convert_range | | | culture_info | | | default_font | | | depth | | | font_substitutes | | | format | | | ignore_formula_calculation_errors | | | margin_settings | | | one_page_per_sheet | | | optimize_pdf_size | | | password | | | preserve_document_structure | | | print_comments | | | reset_font_folders | | | rows_per_page | | | sheet_indexes | | | sheets | | | show_grid_lines | | | show_hidden_sheets | | | size_settings | | | skip_empty_rows_and_columns | | | skip_external_resources | | | skip_footers | | | skip_headers | | | whitelisted_resources | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _clone_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** Any ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### all_columns_in_one_page_per_sheet property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/all_columns_in_one_page_per_sheet.md ##### Definition: ```python @property def all_columns_in_one_page_per_sheet(self): ... @all_columns_in_one_page_per_sheet.setter def all_columns_in_one_page_per_sheet(self, value): ... ``` ### auto_fit_rows property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/auto_fit_rows.md ##### Definition: ```python @property def auto_fit_rows(self): ... @auto_fit_rows.setter def auto_fit_rows(self, value): ... ``` ### check_excel_restriction property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/check_excel_restriction.md ##### Definition: ```python @property def check_excel_restriction(self): ... @check_excel_restriction.setter def check_excel_restriction(self, value): ... ``` ### clear_built_in_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/clear_built_in_document_properties.md ##### Definition: ```python @property def clear_built_in_document_properties(self): ... @clear_built_in_document_properties.setter def clear_built_in_document_properties(self, value): ... ``` ### clear_custom_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/clear_custom_document_properties.md ##### Definition: ```python @property def clear_custom_document_properties(self): ... @clear_custom_document_properties.setter def clear_custom_document_properties(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/clone.md #### clone ```python def clone(self): ... ``` ### columns_per_page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/columns_per_page.md ##### Definition: ```python @property def columns_per_page(self): ... @columns_per_page.setter def columns_per_page(self, value): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... @convert_owned.setter def convert_owned(self, value): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... @convert_owner.setter def convert_owner(self, value): ... ``` ### convert_range property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/convert_range.md ##### Definition: ```python @property def convert_range(self): ... @convert_range.setter def convert_range(self, value): ... ``` ### culture_info property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/culture_info.md ##### Definition: ```python @property def culture_info(self): ... @culture_info.setter def culture_info(self, value): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### hide_comments property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/hide_comments.md #### hide_comments property Hide comments. ##### Definition: ```python @property def hide_comments(self): ... @hide_comments.setter def hide_comments(self, value): ... ``` ### ignore_formula_calculation_errors property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/ignore_formula_calculation_errors.md ##### Definition: ```python @property def ignore_formula_calculation_errors(self): ... @ignore_formula_calculation_errors.setter def ignore_formula_calculation_errors(self, value): ... ``` ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### one_page_per_sheet property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/one_page_per_sheet.md ##### Definition: ```python @property def one_page_per_sheet(self): ... @one_page_per_sheet.setter def one_page_per_sheet(self, value): ... ``` ### optimize_pdf_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/optimize_pdf_size.md ##### Definition: ```python @property def optimize_pdf_size(self): ... @optimize_pdf_size.setter def optimize_pdf_size(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### preserve_document_structure property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/preserve_document_structure.md ##### Definition: ```python @property def preserve_document_structure(self): ... @preserve_document_structure.setter def preserve_document_structure(self, value): ... ``` ### print_comments property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/print_comments.md ##### Definition: ```python @property def print_comments(self): ... @print_comments.setter def print_comments(self, value): ... ``` ### reset_font_folders property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/reset_font_folders.md ##### Definition: ```python @property def reset_font_folders(self): ... @reset_font_folders.setter def reset_font_folders(self, value): ... ``` ### rows_per_page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/rows_per_page.md ##### Definition: ```python @property def rows_per_page(self): ... @rows_per_page.setter def rows_per_page(self, value): ... ``` ### sheet_indexes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/sheet_indexes.md ##### Definition: ```python @property def sheet_indexes(self): ... @sheet_indexes.setter def sheet_indexes(self, value): ... ``` ### sheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/sheets.md ##### Definition: ```python @property def sheets(self): ... @sheets.setter def sheets(self, value): ... ``` ### show_grid_lines property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/show_grid_lines.md ##### Definition: ```python @property def show_grid_lines(self): ... @show_grid_lines.setter def show_grid_lines(self, value): ... ``` ### show_hidden_sheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/show_hidden_sheets.md ##### Definition: ```python @property def show_hidden_sheets(self): ... @show_hidden_sheets.setter def show_hidden_sheets(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### skip_empty_rows_and_columns property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/skip_empty_rows_and_columns.md ##### Definition: ```python @property def skip_empty_rows_and_columns(self): ... @skip_empty_rows_and_columns.setter def skip_empty_rows_and_columns(self, value): ... ``` ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### skip_footers property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/skip_footers.md ##### Definition: ```python @property def skip_footers(self): ... @skip_footers.setter def skip_footers(self, value): ... ``` ### skip_headers property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/skip_headers.md ##### Definition: ```python @property def skip_headers(self): ... @skip_headers.setter def skip_headers(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### SpreadsheetPrintComments class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetprintcomments.md #### SpreadsheetPrintComments class The SpreadsheetPrintComments type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### PrintInPlace field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetprintcomments/printinplace.md ### PrintNoComments field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetprintcomments/printnocomments.md ### PrintSheetEnd field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetprintcomments/printsheetend.md ### PrintWithThreadedComments field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/spreadsheetprintcomments/printwiththreadedcomments.md ### StreamXslFoFactory class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/streamxslfofactory.md #### StreamXslFoFactory class Default implementation of the `IXslFoFactory` interface that accepts a stream in the constructor. The StreamXslFoFactory type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `StreamXslFoFactory` class. | ##### Methods | Method | Description | | :- | :- | | create_xsl_fo_stream | Returns the provided stream for the XSL-FO document. | ### StreamXslFoFactory constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/streamxslfofactory/__init__.md #### __init__ Initializes a new instance of the `StreamXslFoFactory` class. ```python def __init__(self, xsl_fo_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xsl_fo_stream | io.RawIOBase | The stream for the XSL-FO document. | ### create_xsl_fo_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/streamxslfofactory/create_xsl_fo_stream.md #### create_xsl_fo_stream Returns the provided stream for the XSL-FO document. ##### Returns The stream representing the XSL-FO document. ```python def create_xsl_fo_stream(self): ... ``` ### StreamXsltFactory class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/streamxsltfactory.md #### StreamXsltFactory class Default implementation of the `IXsltFactory` interface that accepts a stream in the constructor. The StreamXsltFactory type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `StreamXsltFactory` class. | ##### Methods | Method | Description | | :- | :- | | create_xslt_stream | Returns the provided stream for the XSLT document. | ### StreamXsltFactory constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/streamxsltfactory/__init__.md #### __init__ Initializes a new instance of the `StreamXsltFactory` class. ```python def __init__(self, xslt_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | xslt_stream | io.RawIOBase | The stream for the XSLT document. | ### create_xslt_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/streamxsltfactory/create_xslt_stream.md #### create_xslt_stream Returns the provided stream for the XSLT document. ##### Returns The stream representing the XSLT document. ```python def create_xslt_stream(self): ... ``` ### SvgLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions.md #### SvgLoadOptions class The SvgLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | crop_to_content_bounds | | | format | | | minimum_height | | | minimum_width | | | skip_external_resources | | | whitelisted_resources | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### crop_to_content_bounds property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/crop_to_content_bounds.md ##### Definition: ```python @property def crop_to_content_bounds(self): ... @crop_to_content_bounds.setter def crop_to_content_bounds(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### minimum_height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/minimum_height.md ##### Definition: ```python @property def minimum_height(self): ... @minimum_height.setter def minimum_height(self, value): ... ``` ### minimum_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/minimum_width.md ##### Definition: ```python @property def minimum_width(self): ... @minimum_width.setter def minimum_width(self, value): ... ``` ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/svgloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### ThreeDLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/threedloadoptions.md #### ThreeDLoadOptions class The ThreeDLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/threedloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/threedloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/threedloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/threedloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### TsvLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions.md #### TsvLoadOptions class The TsvLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _clone_noargs | (inherited from `SpreadsheetLoadOptions`) | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | clone | (inherited from `SpreadsheetLoadOptions`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | clear_built_in_document_properties | | | clear_custom_document_properties | | | convert_owned | | | convert_owner | | | default_font | | | depth | | | font_substitutes | | | format | | | margin_settings | | | size_settings | | | skip_external_resources | | | whitelisted_resources | | | all_columns_in_one_page_per_sheet | (inherited from `SpreadsheetLoadOptions`) | | auto_fit_rows | (inherited from `SpreadsheetLoadOptions`) | | check_excel_restriction | (inherited from `SpreadsheetLoadOptions`) | | columns_per_page | (inherited from `SpreadsheetLoadOptions`) | | convert_range | (inherited from `SpreadsheetLoadOptions`) | | culture_info | (inherited from `SpreadsheetLoadOptions`) | | ignore_formula_calculation_errors | (inherited from `SpreadsheetLoadOptions`) | | one_page_per_sheet | (inherited from `SpreadsheetLoadOptions`) | | optimize_pdf_size | (inherited from `SpreadsheetLoadOptions`) | | password | (inherited from `SpreadsheetLoadOptions`) | | preserve_document_structure | (inherited from `SpreadsheetLoadOptions`) | | print_comments | (inherited from `SpreadsheetLoadOptions`) | | reset_font_folders | (inherited from `SpreadsheetLoadOptions`) | | rows_per_page | (inherited from `SpreadsheetLoadOptions`) | | sheet_indexes | (inherited from `SpreadsheetLoadOptions`) | | sheets | (inherited from `SpreadsheetLoadOptions`) | | show_grid_lines | (inherited from `SpreadsheetLoadOptions`) | | show_hidden_sheets | (inherited from `SpreadsheetLoadOptions`) | | skip_empty_rows_and_columns | (inherited from `SpreadsheetLoadOptions`) | | skip_footers | (inherited from `SpreadsheetLoadOptions`) | | skip_headers | (inherited from `SpreadsheetLoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### all_columns_in_one_page_per_sheet property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/all_columns_in_one_page_per_sheet.md #### all_columns_in_one_page_per_sheet property If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. ### auto_fit_rows property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/auto_fit_rows.md #### auto_fit_rows property Autofits all rows when converting ### check_excel_restriction property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/check_excel_restriction.md #### check_excel_restriction property Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. ### clear_built_in_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/clear_built_in_document_properties.md ##### Definition: ```python @property def clear_built_in_document_properties(self): ... @clear_built_in_document_properties.setter def clear_built_in_document_properties(self, value): ... ``` ### clear_custom_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/clear_custom_document_properties.md ##### Definition: ```python @property def clear_custom_document_properties(self): ... @clear_custom_document_properties.setter def clear_custom_document_properties(self, value): ... ``` ### clone method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/clone.md #### clone Clones current instance. ##### Returns ```python def clone(self): ... ``` ### columns_per_page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/columns_per_page.md #### columns_per_page property Split a worksheet into pages by columns. Default is 0, no pagination. ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... ``` ### convert_range property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/convert_range.md #### convert_range property Convert specific range when converting to other than spreadsheet format. Example: "D1:F8". ### culture_info property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/culture_info.md #### culture_info property Get or set the system culture info at the time file is loaded, e.g. "en-US". ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### hide_comments property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/hide_comments.md #### hide_comments property Hide comments. ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### one_page_per_sheet property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/one_page_per_sheet.md #### one_page_per_sheet property If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true. ### optimize_pdf_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/optimize_pdf_size.md #### optimize_pdf_size property If True and converting to Pdf the conversion is optimized for better file size than print quality. ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/password.md #### password property Set password to unprotect protected document. ### rows_per_page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/rows_per_page.md #### rows_per_page property Split a worksheet into pages by rows. Default is 0, no pagination. ### sheet_indexes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/sheet_indexes.md #### sheet_indexes property List of sheet indexes to convert. The indexes must be zero-based ### sheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/sheets.md #### sheets property Sheet name to convert ### show_grid_lines property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/show_grid_lines.md #### show_grid_lines property Show grid lines when converting Excel files. ### show_hidden_sheets property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/show_hidden_sheets.md #### show_hidden_sheets property Show hidden sheets when converting Excel files. ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### skip_empty_rows_and_columns property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/skip_empty_rows_and_columns.md #### skip_empty_rows_and_columns property Skips empty rows and columns when converting. Default is True. ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/tsvloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### TxtLeadingSpacesOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions.md #### TxtLeadingSpacesOptions class The TxtLeadingSpacesOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### TxtLeadingSpacesOptions constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### CONVERT_TO_INDENT property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/convert_to_indent.md #### CONVERT_TO_INDENT property Converts leading spaces to indents. ### ConvertToIndent field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/converttoindent.md ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### Preserve field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/preserve.md ### Trim field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtleadingspacesoptions/trim.md ### TxtLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions.md #### TxtLoadOptions class The TxtLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | default_font | | | detect_numbering_with_whitespaces | | | encoding | | | format | | | leading_spaces_options | | | margin_settings | | | size_settings | | | trailing_spaces_options | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### detect_numbering_with_whitespaces property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/detect_numbering_with_whitespaces.md ##### Definition: ```python @property def detect_numbering_with_whitespaces(self): ... @detect_numbering_with_whitespaces.setter def detect_numbering_with_whitespaces(self, value): ... ``` ### encoding property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### leading_spaces_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/leading_spaces_options.md ##### Definition: ```python @property def leading_spaces_options(self): ... @leading_spaces_options.setter def leading_spaces_options(self, value): ... ``` ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### trailing_spaces_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txtloadoptions/trailing_spaces_options.md ##### Definition: ```python @property def trailing_spaces_options(self): ... @trailing_spaces_options.setter def trailing_spaces_options(self, value): ... ``` ### TxtTrailingSpacesOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txttrailingspacesoptions.md #### TxtTrailingSpacesOptions class The TxtTrailingSpacesOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### TxtTrailingSpacesOptions constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txttrailingspacesoptions/__init__.md #### __init__ Serialization constructor ```python def __init__(self): ... ``` ### compare_to method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txttrailingspacesoptions/compare_to.md #### compare_to Compares current object to other. ##### Returns zero if equal ```python def compare_to(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | System.Object | The other object | ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txttrailingspacesoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.Enumeration | The object to compare with the current object. | ### get_all method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txttrailingspacesoptions/get_all.md #### get_all Returns all enumeration values. ##### Returns Enumerable of the provided type ```python def get_all(self): ... ``` ### Preserve field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txttrailingspacesoptions/preserve.md ### Trim field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/txttrailingspacesoptions/trim.md ### VcfLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vcfloadoptions.md #### VcfLoadOptions class The VcfLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | encoding | | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vcfloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vcfloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vcfloadoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vcfloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vcfloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### VectorizationOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions.md #### VectorizationOptions class The VectorizationOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | background_color | | | colors_limit | | | enable_vectorization | | | image_size_limit | | | line_width | | | severity | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### background_color property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/background_color.md ##### Definition: ```python @property def background_color(self): ... @background_color.setter def background_color(self, value): ... ``` ### colors_limit property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/colors_limit.md ##### Definition: ```python @property def colors_limit(self): ... @colors_limit.setter def colors_limit(self, value): ... ``` ### enable_vectorization property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/enable_vectorization.md ##### Definition: ```python @property def enable_vectorization(self): ... @enable_vectorization.setter def enable_vectorization(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### image_size_limit property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/image_size_limit.md ##### Definition: ```python @property def image_size_limit(self): ... @image_size_limit.setter def image_size_limit(self, value): ... ``` ### line_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/line_width.md ##### Definition: ```python @property def line_width(self): ... @line_width.setter def line_width(self, value): ... ``` ### severity property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/vectorizationoptions/severity.md ##### Definition: ```python @property def severity(self): ... @severity.setter def severity(self, value): ... ``` ### VideoLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/videoloadoptions.md #### VideoLoadOptions class The VideoLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _set_video_connector_ivideo_connector | | | set_video_connector | | | set_video_connector_ivideo_connector | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | format | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/videoloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/videoloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _set_video_connector_ivideo_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/videoloadoptions/_set_video_connector_ivideo_connector.md #### _set_video_connector_ivideo_connector ```python def _set_video_connector_ivideo_connector(self, video_connector): ... ``` | Parameter | Type | Description | | :- | :- | :- | | video_connector | `IVideoConnector` | | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/videoloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### set_video_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/videoloadoptions/set_video_connector.md #### set_video_connector ```python def set_video_connector(self): ... ``` ### set_video_connector_ivideo_connector method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/videoloadoptions/set_video_connector_ivideo_connector.md #### set_video_connector_ivideo_connector ```python def set_video_connector_ivideo_connector(self): ... ``` ### WebLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions.md #### WebLoadOptions class The WebLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | base_path | | | configure_headers | | | credentials_provider | | | custom_css_style | | | encoding | | | format | | | html_rendering_mode | | | page_layout_options | | | page_numbering | | | resource_loading_timeout | | | skip_external_resources | | | use_pdf | | | whitelisted_resources | | | zoom | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### base_path property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/base_path.md ##### Definition: ```python @property def base_path(self): ... @base_path.setter def base_path(self, value): ... ``` ### configure_headers property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/configure_headers.md ##### Definition: ```python @property def configure_headers(self): ... @configure_headers.setter def configure_headers(self, value): ... ``` ### credentials_provider property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/credentials_provider.md ##### Definition: ```python @property def credentials_provider(self): ... @credentials_provider.setter def credentials_provider(self, value): ... ``` ### custom_css_style property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/custom_css_style.md ##### Definition: ```python @property def custom_css_style(self): ... @custom_css_style.setter def custom_css_style(self, value): ... ``` ### encoding property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### html_rendering_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/html_rendering_mode.md ##### Definition: ```python @property def html_rendering_mode(self): ... @html_rendering_mode.setter def html_rendering_mode(self, value): ... ``` ### page_layout_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/page_layout_options.md ##### Definition: ```python @property def page_layout_options(self): ... @page_layout_options.setter def page_layout_options(self, value): ... ``` ### page_numbering property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/page_numbering.md ##### Definition: ```python @property def page_numbering(self): ... @page_numbering.setter def page_numbering(self, value): ... ``` ### resource_loading_timeout property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/resource_loading_timeout.md ##### Definition: ```python @property def resource_loading_timeout(self): ... @resource_loading_timeout.setter def resource_loading_timeout(self, value): ... ``` ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### use_pdf property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/use_pdf.md ##### Definition: ```python @property def use_pdf(self): ... @use_pdf.setter def use_pdf(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### zoom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/webloadoptions/zoom.md ##### Definition: ```python @property def zoom(self): ... @zoom.setter def zoom(self, value): ... ``` ### WordProcessingBookmarksOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions.md #### WordProcessingBookmarksOptions class The WordProcessingBookmarksOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | bookmarks_outline_level | | | expanded_outline_levels | | | headings_outline_levels | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### bookmarks_outline_level property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/bookmarks_outline_level.md ##### Definition: ```python @property def bookmarks_outline_level(self): ... @bookmarks_outline_level.setter def bookmarks_outline_level(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### expanded_outline_levels property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/expanded_outline_levels.md ##### Definition: ```python @property def expanded_outline_levels(self): ... @expanded_outline_levels.setter def expanded_outline_levels(self, value): ... ``` ### headings_outline_levels property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingbookmarksoptions/headings_outline_levels.md ##### Definition: ```python @property def headings_outline_levels(self): ... @headings_outline_levels.setter def headings_outline_levels(self, value): ... ``` ### WordProcessingCommentDisplay class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingcommentdisplay.md #### WordProcessingCommentDisplay class The WordProcessingCommentDisplay type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### Annotation field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingcommentdisplay/annotation.md ### Balloon field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingcommentdisplay/balloon.md ### Hidden field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingcommentdisplay/hidden.md ### WordProcessingLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions.md #### WordProcessingLoadOptions class The WordProcessingLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | bookmark_options | | | clear_built_in_document_properties | | | clear_custom_document_properties | | | comment_display_mode | | | convert_owned | | | convert_owner | | | default_font | | | depth | | | embed_true_type_fonts | | | font_config_substitution_enabled | | | font_info_substitution_enabled | | | font_name_substitution_enabled | | | font_substitutes | | | font_transformations | | | format | | | hide_word_tracked_changes | | | hyphenation_options | | | keep_date_field_original_value | | | margin_settings | | | page_numbering | | | password | | | preserve_document_structure | | | preserve_form_fields | | | show_full_commenter_name | | | size_settings | | | skip_external_resources | | | update_fields | | | update_page_layout | | | use_text_shaper | | | whitelisted_resources | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### auto_font_substitution property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/auto_font_substitution.md #### auto_font_substitution property If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True. ##### Definition: ```python @property def auto_font_substitution(self): ... @auto_font_substitution.setter def auto_font_substitution(self, value): ... ``` ### bookmark_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/bookmark_options.md ##### Definition: ```python @property def bookmark_options(self): ... @bookmark_options.setter def bookmark_options(self, value): ... ``` ### clear_built_in_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/clear_built_in_document_properties.md ##### Definition: ```python @property def clear_built_in_document_properties(self): ... @clear_built_in_document_properties.setter def clear_built_in_document_properties(self, value): ... ``` ### clear_custom_document_properties property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/clear_custom_document_properties.md ##### Definition: ```python @property def clear_custom_document_properties(self): ... @clear_custom_document_properties.setter def clear_custom_document_properties(self, value): ... ``` ### comment_display_mode property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/comment_display_mode.md ##### Definition: ```python @property def comment_display_mode(self): ... @comment_display_mode.setter def comment_display_mode(self, value): ... ``` ### convert_owned property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/convert_owned.md ##### Definition: ```python @property def convert_owned(self): ... @convert_owned.setter def convert_owned(self, value): ... ``` ### convert_owner property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/convert_owner.md ##### Definition: ```python @property def convert_owner(self): ... @convert_owner.setter def convert_owner(self, value): ... ``` ### default_font property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/default_font.md ##### Definition: ```python @property def default_font(self): ... @default_font.setter def default_font(self, value): ... ``` ### depth property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/depth.md ##### Definition: ```python @property def depth(self): ... @depth.setter def depth(self, value): ... ``` ### embed_true_type_fonts property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/embed_true_type_fonts.md ##### Definition: ```python @property def embed_true_type_fonts(self): ... @embed_true_type_fonts.setter def embed_true_type_fonts(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### font_config_substitution_enabled property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/font_config_substitution_enabled.md ##### Definition: ```python @property def font_config_substitution_enabled(self): ... @font_config_substitution_enabled.setter def font_config_substitution_enabled(self, value): ... ``` ### font_info_substitution_enabled property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/font_info_substitution_enabled.md ##### Definition: ```python @property def font_info_substitution_enabled(self): ... @font_info_substitution_enabled.setter def font_info_substitution_enabled(self, value): ... ``` ### font_name_substitution_enabled property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/font_name_substitution_enabled.md ##### Definition: ```python @property def font_name_substitution_enabled(self): ... @font_name_substitution_enabled.setter def font_name_substitution_enabled(self, value): ... ``` ### font_substitutes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/font_substitutes.md ##### Definition: ```python @property def font_substitutes(self): ... @font_substitutes.setter def font_substitutes(self, value): ... ``` ### font_transformations property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/font_transformations.md ##### Definition: ```python @property def font_transformations(self): ... @font_transformations.setter def font_transformations(self, value): ... ``` ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/format.md ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### hide_comments property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/hide_comments.md #### hide_comments property Hide comments. ##### Definition: ```python @property def hide_comments(self): ... @hide_comments.setter def hide_comments(self, value): ... ``` ### hide_word_tracked_changes property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/hide_word_tracked_changes.md ##### Definition: ```python @property def hide_word_tracked_changes(self): ... @hide_word_tracked_changes.setter def hide_word_tracked_changes(self, value): ... ``` ### hyphenation_options property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/hyphenation_options.md ##### Definition: ```python @property def hyphenation_options(self): ... @hyphenation_options.setter def hyphenation_options(self, value): ... ``` ### keep_date_field_original_value property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/keep_date_field_original_value.md ##### Definition: ```python @property def keep_date_field_original_value(self): ... @keep_date_field_original_value.setter def keep_date_field_original_value(self, value): ... ``` ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### page_numbering property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/page_numbering.md ##### Definition: ```python @property def page_numbering(self): ... @page_numbering.setter def page_numbering(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### preserve_document_structure property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/preserve_document_structure.md ##### Definition: ```python @property def preserve_document_structure(self): ... @preserve_document_structure.setter def preserve_document_structure(self, value): ... ``` ### preserve_form_fields property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/preserve_form_fields.md ##### Definition: ```python @property def preserve_form_fields(self): ... @preserve_form_fields.setter def preserve_form_fields(self, value): ... ``` ### show_full_commenter_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/show_full_commenter_name.md ##### Definition: ```python @property def show_full_commenter_name(self): ... @show_full_commenter_name.setter def show_full_commenter_name(self, value): ... ``` ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### update_fields property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/update_fields.md ##### Definition: ```python @property def update_fields(self): ... @update_fields.setter def update_fields(self, value): ... ``` ### update_page_layout property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/update_page_layout.md ##### Definition: ```python @property def update_page_layout(self): ... @update_page_layout.setter def update_page_layout(self, value): ... ``` ### use_text_shaper property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/use_text_shaper.md ##### Definition: ```python @property def use_text_shaper(self): ... @use_text_shaper.setter def use_text_shaper(self, value): ... ``` ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/wordprocessingloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### XmlLoadOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions.md #### XmlLoadOptions class The XmlLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | custom_css_style | | | format | | | page_numbering | | | skip_external_resources | | | use_as_data_source | | | whitelisted_resources | | | xsl_fo_factory | | | xslt_factory | | | base_path | (inherited from `WebLoadOptions`) | | configure_headers | (inherited from `WebLoadOptions`) | | credentials_provider | (inherited from `WebLoadOptions`) | | encoding | (inherited from `WebLoadOptions`) | | html_rendering_mode | (inherited from `WebLoadOptions`) | | page_layout_options | (inherited from `WebLoadOptions`) | | resource_loading_timeout | (inherited from `WebLoadOptions`) | | use_pdf | (inherited from `WebLoadOptions`) | | zoom | (inherited from `WebLoadOptions`) | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### base_path property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/base_path.md #### base_path property The base path/url for the html ### configure_headers property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/configure_headers.md #### configure_headers property Interface for configuring request headers. The implementation should define the behavior for configuring headers based on the URI. ### credentials_provider property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/credentials_provider.md #### credentials_provider property Credentials provider for the URI. ### custom_css_style property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/custom_css_style.md ##### Definition: ```python @property def custom_css_style(self): ... @custom_css_style.setter def custom_css_style(self, value): ... ``` ### encoding property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/encoding.md #### encoding property Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute ### equals method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/equals.md #### equals Determines whether two object instances are equal. ##### Returns `true` if the specified object is equal to the current object; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.conversion.contracts.ValueObject | The object to compare with the current object. | ### format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/format.md ##### Definition: ```python @property def format(self): ... ``` ### page_numbering property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/page_numbering.md ##### Definition: ```python @property def page_numbering(self): ... @page_numbering.setter def page_numbering(self, value): ... ``` ### resource_loading_timeout property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/resource_loading_timeout.md #### resource_loading_timeout property Timeout for loading external resources ### skip_external_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/skip_external_resources.md ##### Definition: ```python @property def skip_external_resources(self): ... @skip_external_resources.setter def skip_external_resources(self, value): ... ``` ### use_as_data_source property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/use_as_data_source.md ##### Definition: ```python @property def use_as_data_source(self): ... @use_as_data_source.setter def use_as_data_source(self, value): ... ``` ### use_pdf property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/use_pdf.md #### use_pdf property Use pdf for the conversion. Default: false ### whitelisted_resources property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/whitelisted_resources.md ##### Definition: ```python @property def whitelisted_resources(self): ... @whitelisted_resources.setter def whitelisted_resources(self, value): ... ``` ### xsl_fo_factory property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/xsl_fo_factory.md ##### Definition: ```python @property def xsl_fo_factory(self): ... @xsl_fo_factory.setter def xsl_fo_factory(self, value): ... ``` ### xslt_factory property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.load/xmlloadoptions/xslt_factory.md ##### Definition: ```python @property def xslt_factory(self): ... @xslt_factory.setter def xslt_factory(self, value): ... ``` ### groupdocs.conversion.options Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options.md Option classes for configuring conversions and operations. ##### Classes | Class | Description | | :- | :- | | `IPageMarginOptions` | | | `IPageOrientationOptions` | | | `IPageSizeOptions` | | | `PageMarginOptions` | | | `PageSizeOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `PageSize` | | ### IPageMarginOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/ipagemarginoptions.md #### IPageMarginOptions class The IPageMarginOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | margin_settings | | ### margin_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/ipagemarginoptions/margin_settings.md ##### Definition: ```python @property def margin_settings(self): ... @margin_settings.setter def margin_settings(self, value): ... ``` ### IPageOrientationOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/ipageorientationoptions.md #### IPageOrientationOptions class The IPageOrientationOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | orientation_settings | | ### orientation_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/ipageorientationoptions/orientation_settings.md ##### Definition: ```python @property def orientation_settings(self): ... @orientation_settings.setter def orientation_settings(self, value): ... ``` ### IPageSizeOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/ipagesizeoptions.md #### IPageSizeOptions class The IPageSizeOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | size_settings | | ### size_settings property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/ipagesizeoptions/size_settings.md ##### Definition: ```python @property def size_settings(self): ... @size_settings.setter def size_settings(self, value): ... ``` ### PageMarginOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagemarginoptions.md #### PageMarginOptions class The PageMarginOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | bottom | | | left | | | right | | | top | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagemarginoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagemarginoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### bottom property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagemarginoptions/bottom.md ##### Definition: ```python @property def bottom(self): ... @bottom.setter def bottom(self, value): ... ``` ### left property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagemarginoptions/left.md ##### Definition: ```python @property def left(self): ... @left.setter def left(self, value): ... ``` ### right property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagemarginoptions/right.md ##### Definition: ```python @property def right(self): ... @right.setter def right(self, value): ... ``` ### top property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagemarginoptions/top.md ##### Definition: ```python @property def top(self): ... @top.setter def top(self, value): ... ``` ### PageSize class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize.md #### PageSize class The PageSize type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _compare_to_object | (inherited from `Enumeration`) | | _equals_enumeration | (inherited from `Enumeration`) | | _equals_object | (inherited from `Enumeration`) | | _get_hash_code_noargs | (inherited from `Enumeration`) | | _to_string_noargs | (inherited from `Enumeration`) | | compare_to | (inherited from `Enumeration`) | | compare_to_object | (inherited from `Enumeration`) | | equals | (inherited from `Enumeration`) | | equals_enumeration | (inherited from `Enumeration`) | | equals_object | (inherited from `Enumeration`) | | from_display_name | (inherited from `Enumeration`) | | from_value | (inherited from `Enumeration`) | | get_all | (inherited from `Enumeration`) | | get_hash_code | (inherited from `Enumeration`) | | to_string | (inherited from `Enumeration`) | ### A3 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/a3.md ### A4 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/a4.md ### A5 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/a5.md ### B4 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/b4.md ### B5 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/b5.md ### Custom field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/custom.md ### EnvelopeDL field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/envelopedl.md ### Executive field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/executive.md ### Folio field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/folio.md ### Ledger field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/ledger.md ### Legal field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/legal.md ### Letter field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/letter.md ### Paper10x14 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/paper10x14.md ### Paper11x17 field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/paper11x17.md ### Quarto field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/quarto.md ### Statement field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/statement.md ### Tabloid field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/tabloid.md ### Unset field Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesize/unset.md ### PageSizeOptions class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesizeoptions.md #### PageSizeOptions class The PageSizeOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _equals_object | (inherited from `ValueObject`) | | _equals_value_object | (inherited from `ValueObject`) | | _get_hash_code_noargs | (inherited from `ValueObject`) | | equals | (inherited from `ValueObject`) | | equals_object | (inherited from `ValueObject`) | | equals_value_object | (inherited from `ValueObject`) | | get_hash_code | (inherited from `ValueObject`) | ##### Properties | Property | Description | | :- | :- | | page_height | | | page_size | | | page_width | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesizeoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesizeoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### page_height property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesizeoptions/page_height.md ##### Definition: ```python @property def page_height(self): ... @page_height.setter def page_height(self, value): ... ``` ### page_size property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesizeoptions/page_size.md ##### Definition: ```python @property def page_size(self): ... @page_size.setter def page_size(self, value): ... ``` ### page_width property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.options/pagesizeoptions/page_width.md ##### Definition: ```python @property def page_width(self): ... @page_width.setter def page_width(self, value): ... ``` ### groupdocs.conversion.reporting Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting.md Types under `groupdocs.conversion.reporting`. ##### Classes | Class | Description | | :- | :- | | `IConverterListener` | | ### IConverterListener class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener.md #### IConverterListener class The IConverterListener type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _completed_noargs | | | _progress_byte | | | _started_noargs | | | completed | | | progress | | | progress_byte | | | started | | ### _completed_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener/_completed_noargs.md #### _completed_noargs ```python def _completed_noargs(self): ... ``` ### _progress_byte method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener/_progress_byte.md #### _progress_byte ```python def _progress_byte(self, current): ... ``` | Parameter | Type | Description | | :- | :- | :- | | current | `int` | | ### _started_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener/_started_noargs.md #### _started_noargs ```python def _started_noargs(self): ... ``` ### completed method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener/completed.md #### completed ```python def completed(self): ... ``` ### progress method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener/progress.md #### progress ```python def progress(self): ... ``` ### progress_byte method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener/progress_byte.md #### progress_byte ```python def progress_byte(self): ... ``` ### started method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.reporting/iconverterlistener/started.md #### started ```python def started(self): ... ``` ### groupdocs.conversion Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion.md Main GroupDocs.Conversion namespace with top-level API classes. ##### Classes | Class | Description | | :- | :- | | `ConvertContext` | | | `ConvertedContext` | | | `ConvertedPageContext` | | | `Converter` | | | `ConverterSettings` | | | `FluentConverter` | | | `License` | Manages GroupDocs.Conversion licensing. | | `LoadContext` | | | `Metered` | Manages metered (pay-per-use) licensing. | | `SaveContext` | | | `SavePageContext` | | ##### Exceptions | Exception | Description | | :- | :- | | `ConversionByPageFailedException` | | | `ConversionFailedException` | | | `ConversionNotSupportedException` | | | `CorruptOrDamagedFileException` | | | `FileTypeNotSupportedException` | | | `FontSubstituteException` | | | `GroupDocsConversionException` | | | `IncorrectPasswordException` | | | `InvalidConvertOptionsException` | | | `InvalidConverterSettingsException` | | | `InvalidLoadOptionsException` | | | `PasswordRequiredException` | | | `SourceDocumentFactoryNotProvidedException` | | ### ConversionByPageFailedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/conversionbypagefailedexception.md #### ConversionByPageFailedException class The ConversionByPageFailedException type exposes the following members: ### ConversionFailedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/conversionfailedexception.md #### ConversionFailedException class The ConversionFailedException type exposes the following members: ### ConversionNotSupportedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/conversionnotsupportedexception.md #### ConversionNotSupportedException class The ConversionNotSupportedException type exposes the following members: ### ConvertContext class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertcontext.md #### ConvertContext class The ConvertContext type exposes the following members: ##### Properties | Property | Description | | :- | :- | | cancellation_token | | | source_file_name | | | source_format | | ### cancellation_token property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertcontext/cancellation_token.md ##### Definition: ```python @property def cancellation_token(self): ... @cancellation_token.setter def cancellation_token(self, value): ... ``` ### source_file_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertcontext/source_file_name.md ##### Definition: ```python @property def source_file_name(self): ... ``` ### source_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertcontext/source_format.md ##### Definition: ```python @property def source_format(self): ... ``` ### ConvertedContext class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedcontext.md #### ConvertedContext class The ConvertedContext type exposes the following members: ##### Properties | Property | Description | | :- | :- | | converted_format | | | converted_stream | | | hierarchy_level | | | item_index | | | source_file_name | | | source_format | | ### converted_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedcontext/converted_format.md ##### Definition: ```python @property def converted_format(self): ... ``` ### converted_stream property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedcontext/converted_stream.md ##### Definition: ```python @property def converted_stream(self): ... ``` ### hierarchy_level property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedcontext/hierarchy_level.md ##### Definition: ```python @property def hierarchy_level(self): ... ``` ### item_index property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedcontext/item_index.md ##### Definition: ```python @property def item_index(self): ... ``` ### source_file_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedcontext/source_file_name.md ##### Definition: ```python @property def source_file_name(self): ... ``` ### source_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedcontext/source_format.md ##### Definition: ```python @property def source_format(self): ... ``` ### ConvertedPageContext class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedpagecontext.md #### ConvertedPageContext class The ConvertedPageContext type exposes the following members: ##### Properties | Property | Description | | :- | :- | | converted_format | | | converted_stream | | | page | | | source_file_name | | | source_format | | ### converted_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedpagecontext/converted_format.md ##### Definition: ```python @property def converted_format(self): ... ``` ### converted_stream property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedpagecontext/converted_stream.md ##### Definition: ```python @property def converted_stream(self): ... ``` ### page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedpagecontext/page.md ##### Definition: ```python @property def page(self): ... ``` ### source_file_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedpagecontext/source_file_name.md ##### Definition: ```python @property def source_file_name(self): ... ``` ### source_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertedpagecontext/source_format.md ##### Definition: ```python @property def source_format(self): ... ``` ### Converter class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter.md #### Converter class The Converter type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _convert_convert_options_action_1_174a | | | _convert_convert_options_action_1_dd_8b | | | _convert_func_2_1f04_convert_options | | | _convert_func_2_1f04_func_2_8b05 | | | _convert_func_2_83b4_convert_options | | | _convert_func_2_83b4_func_2_8b05 | | | _convert_func_2_8b05_action_1_174a | | | _convert_func_2_8b05_action_1_dd_8b | | | _convert_string_convert_options | | | _dispose_noargs | | | _get_document_info_noargs | | | _get_possible_conversions_noargs | | | _init_func_1_e_2e2 | | | _init_func_1_e_2e2_func_1_ec_4e | | | _init_func_1_e_2e2_func_2_cc52_func_1_ec_4e | | | _init_string | | | _init_string_func_1_ec_4e | | | _init_string_func_2_cc52_func_1_ec_4e | | | _is_document_password_protected_noargs | | | convert | | | convert_convert_options | | | convert_file | | | convert_func | | | convert_string | | | dispose | | | get_all_possible_conversions | | | get_document_info | | | get_possible_conversions | | | get_possible_conversions_by_extension | | | is_document_password_protected | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _convert_convert_options_action_1_174a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_convert_options_action_1_174a.md #### _convert_convert_options_action_1_174a ```python def _convert_convert_options_action_1_174a(self, convert_options, document_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | | | document_completed | `ConvertedPageContext` | | ### _convert_convert_options_action_1_dd_8b method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_convert_options_action_1_dd_8b.md #### _convert_convert_options_action_1_dd_8b ```python def _convert_convert_options_action_1_dd_8b(self, convert_options, document_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | | | document_completed | `ConvertedContext` | | ### _convert_func_2_1f04_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_func_2_1f04_convert_options.md #### _convert_func_2_1f04_convert_options ```python def _convert_func_2_1f04_convert_options(self, target_stream_provider, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | target_stream_provider | `Stream` | | | convert_options | `ConvertOptions` | | ### _convert_func_2_1f04_func_2_8b05 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_func_2_1f04_func_2_8b05.md #### _convert_func_2_1f04_func_2_8b05 ```python def _convert_func_2_1f04_func_2_8b05(self, target_stream_provider, convert_options_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | target_stream_provider | `Stream` | | | convert_options_provider | `ConvertOptions` | | ### _convert_func_2_83b4_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_func_2_83b4_convert_options.md #### _convert_func_2_83b4_convert_options ```python def _convert_func_2_83b4_convert_options(self, target_stream_provider, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | target_stream_provider | `Stream` | | | convert_options | `ConvertOptions` | | ### _convert_func_2_83b4_func_2_8b05 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_func_2_83b4_func_2_8b05.md #### _convert_func_2_83b4_func_2_8b05 ```python def _convert_func_2_83b4_func_2_8b05(self, target_stream_provider, convert_options_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | target_stream_provider | `Stream` | | | convert_options_provider | `ConvertOptions` | | ### _convert_func_2_8b05_action_1_174a method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_func_2_8b05_action_1_174a.md #### _convert_func_2_8b05_action_1_174a ```python def _convert_func_2_8b05_action_1_174a(self, convert_options_provider, document_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options_provider | `ConvertOptions` | | | document_completed | `ConvertedPageContext` | | ### _convert_func_2_8b05_action_1_dd_8b method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_func_2_8b05_action_1_dd_8b.md #### _convert_func_2_8b05_action_1_dd_8b ```python def _convert_func_2_8b05_action_1_dd_8b(self, convert_options_provider, document_completed): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options_provider | `ConvertOptions` | | | document_completed | `ConvertedContext` | | ### _convert_string_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_convert_string_convert_options.md #### _convert_string_convert_options ```python def _convert_string_convert_options(self, file_path, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | convert_options | `ConvertOptions` | | ### _dispose_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_dispose_noargs.md #### _dispose_noargs ```python def _dispose_noargs(self): ... ``` ### _get_document_info_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_get_document_info_noargs.md #### _get_document_info_noargs ```python def _get_document_info_noargs(self): ... ``` **Returns:** IDocumentInfo ### _get_possible_conversions_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_get_possible_conversions_noargs.md #### _get_possible_conversions_noargs ```python def _get_possible_conversions_noargs(self): ... ``` **Returns:** PossibleConversions ### _init_func_1_e_2e2 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_init_func_1_e_2e2.md #### _init_func_1_e_2e2 ```python def _init_func_1_e_2e2(self, source_stream_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_stream_provider | `Stream` | | ### _init_func_1_e_2e2_func_1_ec_4e method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_init_func_1_e_2e2_func_1_ec_4e.md #### _init_func_1_e_2e2_func_1_ec_4e ```python def _init_func_1_e_2e2_func_1_ec_4e(self, source_stream_provider, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_stream_provider | `Stream` | | | settings | `ConverterSettings` | | ### _init_func_1_e_2e2_func_2_cc52_func_1_ec_4e method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_init_func_1_e_2e2_func_2_cc52_func_1_ec_4e.md #### _init_func_1_e_2e2_func_2_cc52_func_1_ec_4e ```python def _init_func_1_e_2e2_func_2_cc52_func_1_ec_4e(self, source_stream_provider, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_stream_provider | `Stream` | | | load_options | `LoadOptions` | | | settings | `Optional[ConverterSettings]` | | ### _init_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_init_string.md #### _init_string ```python def _init_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _init_string_func_1_ec_4e method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_init_string_func_1_ec_4e.md #### _init_string_func_1_ec_4e ```python def _init_string_func_1_ec_4e(self, file_path, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | settings | `ConverterSettings` | | ### _init_string_func_2_cc52_func_1_ec_4e method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_init_string_func_2_cc52_func_1_ec_4e.md #### _init_string_func_2_cc52_func_1_ec_4e ```python def _init_string_func_2_cc52_func_1_ec_4e(self, file_path, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `LoadOptions` | | | settings | `Optional[ConverterSettings]` | | ### _is_document_password_protected_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/_is_document_password_protected_noargs.md #### _is_document_password_protected_noargs ```python def _is_document_password_protected_noargs(self): ... ``` **Returns:** bool ### convert method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert.md #### convert ```python def convert(self): ... ``` ### convert_by_page method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_by_page.md #### convert_by_page Converts the source document and saves the converted document page by page. Learn more - More about document conversion basic scenarios: https://docs.groupdocs.com/display/conversionnet/Convert+document - Conversion use cases, advanced settings and customizations: https://docs.groupdocs.com/display/conversionnet/Converting ```python def convert_by_page(self, output_dir, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_dir | `System.Func`2[[GroupDocs.Conversion.SavePageContext, GroupDocs.Conversion, Version=26.3.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56],[System.IO.Stream, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]` | | | convert_options | `ConvertOptions` | The convert options specific to desired target file type. | ### convert_convert_options method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_convert_options.md #### convert_convert_options ```python def convert_convert_options(self): ... ``` ### convert_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_file.md #### convert_file ```python def convert_file(self): ... ``` ### convert_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_func.md #### convert_func ```python def convert_func(self): ... ``` ### convert_multiple method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_multiple.md #### convert_multiple Converts source document to multiple documents of the output format. ```python def convert_multiple(self, output_folder, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_folder | System.String | Output folder path. File | | convert_options | groupdocs.conversion.options.convert.ConvertOptions | The convert options specific to desired target file type. | ### convert_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_string.md #### convert_string ```python def convert_string(self): ... ``` ### convert_to_stream method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_to_stream.md #### convert_to_stream Converts the source document and saves the whole converted document. Learn more - More about document conversion basic scenarios: [How to convert document in 3 steps](https://docs.groupdocs.com/display/conversionnet/Convert+document) - Conversion use cases, advanced settings and customizations: [Convert document with advanced settings](https://docs.groupdocs.com/display/conversionnet/Converting) ```python def convert_to_stream(self, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `System.Func`2[[GroupDocs.Conversion.SaveContext, GroupDocs.Conversion, Version=26.3.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56],[System.IO.Stream, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]` | The convert options specific to desired target file type. | ### convert_with_callback method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_with_callback.md #### convert_with_callback Converts source document. Saves the whole converted document. Learn more - More about document conversion basic scenarios: [How to convert document in 3 steps](https://docs.groupdocs.com/display/conversionnet/Convert+document) - Conversion use cases, advanced settings and customizations: [Convert document with advanced settings](https://docs.groupdocs.com/display/conversionnet/Converting) ```python def convert_with_callback(self, convert_options, callback): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | The convert options specific to desired target file type. | | callback | `System.Action`1[[GroupDocs.Conversion.ConvertedContext, GroupDocs.Conversion, Version=26.3.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56]]` | | ### convert_with_callback_per_page method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/convert_with_callback_per_page.md #### convert_with_callback_per_page Converts the source document and saves the converted document page by page. Learn more - More about document conversion basic scenarios: https://docs.groupdocs.com/display/conversionnet/Convert+document - Conversion use cases, advanced settings and customizations: https://docs.groupdocs.com/display/conversionnet/Converting ```python def convert_with_callback_per_page(self, convert_options, callback): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | GroupDocs.Conversion.ConvertOptions – The convert options specific to desired target file type. | | callback | `System.Action`1[[GroupDocs.Conversion.ConvertedPageContext, GroupDocs.Conversion, Version=26.3.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56]]` | | ### dispose method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/dispose.md #### dispose ```python def dispose(self): ... ``` ### get_all_possible_conversions method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/get_all_possible_conversions.md #### get_all_possible_conversions ```python def get_all_possible_conversions(cls): ... ``` **Returns:** List[Any] ### get_document_info method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/get_document_info.md #### get_document_info ```python def get_document_info(self): ... ``` ### get_possible_conversions method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/get_possible_conversions.md #### get_possible_conversions ```python def get_possible_conversions(self): ... ``` ### get_possible_conversions_by_extension method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/get_possible_conversions_by_extension.md #### get_possible_conversions_by_extension ```python def get_possible_conversions_by_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** PossibleConversions ### is_document_password_protected method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/converter/is_document_password_protected.md #### is_document_password_protected ```python def is_document_password_protected(self): ... ``` ### ConverterSettings class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings.md #### ConverterSettings class The ConverterSettings type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | cache | | | font_directories | | | listener | | | logger | | | on_compression_completed | | | on_conversion_by_page_failed | | | on_conversion_failed | | | scan_font_directories_recursively | | | temp_folder | | ### __init__ constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### cache property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/cache.md ##### Definition: ```python @property def cache(self): ... @cache.setter def cache(self, value): ... ``` ### font_directories property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/font_directories.md ##### Definition: ```python @property def font_directories(self): ... ``` ### listener property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/listener.md ##### Definition: ```python @property def listener(self): ... @listener.setter def listener(self, value): ... ``` ### logger property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/logger.md ##### Definition: ```python @property def logger(self): ... @logger.setter def logger(self, value): ... ``` ### on_compression_completed property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/on_compression_completed.md ##### Definition: ```python @property def on_compression_completed(self): ... @on_compression_completed.setter def on_compression_completed(self, value): ... ``` ### on_conversion_by_page_failed property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/on_conversion_by_page_failed.md ##### Definition: ```python @property def on_conversion_by_page_failed(self): ... @on_conversion_by_page_failed.setter def on_conversion_by_page_failed(self, value): ... ``` ### on_conversion_failed property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/on_conversion_failed.md ##### Definition: ```python @property def on_conversion_failed(self): ... @on_conversion_failed.setter def on_conversion_failed(self, value): ... ``` ### scan_font_directories_recursively property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/scan_font_directories_recursively.md ##### Definition: ```python @property def scan_font_directories_recursively(self): ... @scan_font_directories_recursively.setter def scan_font_directories_recursively(self, value): ... ``` ### temp_folder property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/convertersettings/temp_folder.md ##### Definition: ```python @property def temp_folder(self): ... @temp_folder.setter def temp_folder(self, value): ... ``` ### CorruptOrDamagedFileException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/corruptordamagedfileexception.md #### CorruptOrDamagedFileException class The CorruptOrDamagedFileException type exposes the following members: ### FileTypeNotSupportedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/filetypenotsupportedexception.md #### FileTypeNotSupportedException class The FileTypeNotSupportedException type exposes the following members: ### FluentConverter class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter.md #### FluentConverter class The FluentConverter type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _load_func_1_4427 | | | _load_func_1_e_2e2 | | | _load_string | | | _load_string_array | | | load | | | load_file | | | load_files | | | load_func | | | load_string | | | load_strings | | | with_settings | | ### _load_func_1_4427 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/_load_func_1_4427.md #### _load_func_1_4427 ```python def _load_func_1_4427(cls, document_stream_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream_provider | `List[Stream]` | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### _load_func_1_e_2e2 method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/_load_func_1_e_2e2.md #### _load_func_1_e_2e2 ```python def _load_func_1_e_2e2(cls, document_stream_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_stream_provider | `Stream` | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### _load_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/_load_string.md #### _load_string ```python def _load_string(cls, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `str` | | **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### _load_string_array method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/_load_string_array.md #### _load_string_array ```python def _load_string_array(cls): ... ``` **Returns:** IConversionLoadOptionsOrSourceDocumentLoaded ### load method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/load.md #### load ```python def load(cls): ... ``` ### load_file method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/load_file.md #### load_file ```python def load_file(cls): ... ``` ### load_files method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/load_files.md #### load_files ```python def load_files(cls): ... ``` ### load_func method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/load_func.md #### load_func ```python def load_func(cls): ... ``` ### load_string method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/load_string.md #### load_string ```python def load_string(cls): ... ``` ### load_strings method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/load_strings.md #### load_strings ```python def load_strings(cls): ... ``` ### with_settings method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fluentconverter/with_settings.md #### with_settings ```python def with_settings(cls, settings_provider): ... ``` | Parameter | Type | Description | | :- | :- | :- | | settings_provider | `ConverterSettings` | | **Returns:** IConversionFrom ### FontSubstituteException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/fontsubstituteexception.md #### FontSubstituteException class The FontSubstituteException type exposes the following members: ### GroupDocsConversionException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/groupdocsconversionexception.md #### GroupDocsConversionException class The GroupDocsConversionException type exposes the following members: ### IncorrectPasswordException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/incorrectpasswordexception.md #### IncorrectPasswordException class The IncorrectPasswordException type exposes the following members: ### InvalidConverterSettingsException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/invalidconvertersettingsexception.md #### InvalidConverterSettingsException class The InvalidConverterSettingsException type exposes the following members: ### InvalidConvertOptionsException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/invalidconvertoptionsexception.md #### InvalidConvertOptionsException class The InvalidConvertOptionsException type exposes the following members: ### InvalidLoadOptionsException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/invalidloadoptionsexception.md #### InvalidLoadOptionsException class The InvalidLoadOptionsException type exposes the following members: ### License class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/license.md #### License class Manages GroupDocs.Conversion licensing. Licensed builds unlock the full feature set of the wrapper at runtime. Unlicensed builds run in evaluation mode with the same API surface but with limits on output size and watermarked content. The License type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_license | Apply a license to the current process. | ### License constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/license/__init__.md #### __init__ Constructs a new instance of License ```python def __init__(self): ... ``` ### is_licensed property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/license/is_licensed.md #### is_licensed property Returns true if a valid license has been applied; false if the component is running in evaluation mode. ##### Definition: ```python @property def is_licensed(self): ... ``` ### set_license method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/license/set_license.md #### set_license Apply a license to the current process. ```python def set_license(self, license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | Either a string path to a ``.lic`` file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. | | Raises | Description | | :- | :- | | `TypeError` | If ``license_source`` is neither a string path nor a readable file-like object. | ### LoadContext class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/loadcontext.md #### LoadContext class The LoadContext type exposes the following members: ##### Properties | Property | Description | | :- | :- | | hierarchy_level | | | item_index | | | source_file_name | | | source_format | | | source_stream | | ### hierarchy_level property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/loadcontext/hierarchy_level.md ##### Definition: ```python @property def hierarchy_level(self): ... ``` ### item_index property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/loadcontext/item_index.md ##### Definition: ```python @property def item_index(self): ... ``` ### source_file_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/loadcontext/source_file_name.md ##### Definition: ```python @property def source_file_name(self): ... ``` ### source_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/loadcontext/source_format.md ##### Definition: ```python @property def source_format(self): ... ``` ### source_stream property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/loadcontext/source_stream.md ##### Definition: ```python @property def source_stream(self): ... ``` ### Metered class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/metered.md #### Metered class Manages metered (pay-per-use) licensing. Metered licenses bill on actual consumption (typically pages or documents processed). Set the public/private key pair once at application startup; the wrapper reports usage back to the GroupDocs license server in the background. The Metered type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_consumption_credit | Return the remaining metered credit for the current key. | | get_consumption_quantity | Return the total metered quantity consumed so far. | | set_metered_key | Activate metered billing with the given public/private key pair. | ### Metered constructor Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/metered/__init__.md #### __init__ Constructs a new instance of Metered ```python def __init__(self): ... ``` ### get_consumption_credit method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/metered/get_consumption_credit.md #### get_consumption_credit Return the remaining metered credit for the current key. ```python def get_consumption_credit(): ... ``` **Returns:** float: The remaining credit balance reported by the license server. ### get_consumption_quantity method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/metered/get_consumption_quantity.md #### get_consumption_quantity Return the total metered quantity consumed so far. ```python def get_consumption_quantity(): ... ``` **Returns:** float: The cumulative usage (typically in pages or documents) recorded against the current metered key. ### set_metered_key method Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/metered/set_metered_key.md #### set_metered_key Activate metered billing with the given public/private key pair. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | | The public key half of the metered credentials. | | private_key | | The private key half of the metered credentials. | ### PasswordRequiredException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/passwordrequiredexception.md #### PasswordRequiredException class The PasswordRequiredException type exposes the following members: ### SaveContext class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savecontext.md #### SaveContext class The SaveContext type exposes the following members: ##### Properties | Property | Description | | :- | :- | | hierarchy_level | | | item_index | | | source_file_name | | | source_format | | | target_format | | ### hierarchy_level property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savecontext/hierarchy_level.md ##### Definition: ```python @property def hierarchy_level(self): ... ``` ### item_index property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savecontext/item_index.md ##### Definition: ```python @property def item_index(self): ... ``` ### source_file_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savecontext/source_file_name.md ##### Definition: ```python @property def source_file_name(self): ... ``` ### source_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savecontext/source_format.md ##### Definition: ```python @property def source_format(self): ... ``` ### target_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savecontext/target_format.md ##### Definition: ```python @property def target_format(self): ... ``` ### SavePageContext class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savepagecontext.md #### SavePageContext class The SavePageContext type exposes the following members: ##### Properties | Property | Description | | :- | :- | | page | | | source_file_name | | | source_format | | | target_format | | ### page property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savepagecontext/page.md ##### Definition: ```python @property def page(self): ... ``` ### source_file_name property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savepagecontext/source_file_name.md ##### Definition: ```python @property def source_file_name(self): ... ``` ### source_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savepagecontext/source_format.md ##### Definition: ```python @property def source_format(self): ... ``` ### target_format property Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/savepagecontext/target_format.md ##### Definition: ```python @property def target_format(self): ... ``` ### SourceDocumentFactoryNotProvidedException class Path: https://reference.groupdocs.com/conversion/python-net/groupdocs.conversion/sourcedocumentfactorynotprovidedexception.md #### SourceDocumentFactoryNotProvidedException class The SourceDocumentFactoryNotProvidedException type exposes the following members: # GroupDocs.Editor > Load, edit, and save documents through an HTML round-trip. ## Java ### GroupDocs.Editor for Java Path: https://reference.groupdocs.com/editor/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.editor | The **com.groupdocs.editor** namespace is a root namespace, which provides classes for editing multiple document formats in your Java applications. | | com.groupdocs.editor.formats | The **com.groupdocs.editor.formats** namespace provides interfaces and classes that describes supported document formats. | | com.groupdocs.editor.formats.abstraction | The **com.groupdocs.editor.formats.abstraction** namespace provides interfaces and classes that describe supported document formats in the GroupDocs.Editor library. | | com.groupdocs.editor.htmlcss.css.datatypes | The **com.groupdocs.editor.htmlcss.css.datatypes** namespace provides classes that represent CSS data types. | | com.groupdocs.editor.htmlcss.css.properties | | | com.groupdocs.editor.htmlcss.exceptions | The **com.groupdocs.editor.htmlcss.exceptions** namespace provides exceptions that is thrown when trying to open, load, save or process somehow else some content. | | com.groupdocs.editor.htmlcss.resources | The **com.groupdocs.editor.htmlcss.resources** namespace provides classes that represent all kinds of the HTML resources. | | com.groupdocs.editor.htmlcss.resources.audio | The **com.groupdocs.editor.htmlcss.resources.audio** namespace provides classes that represent audio resources. | | com.groupdocs.editor.htmlcss.resources.fonts | The **com.groupdocs.editor.htmlcss.resources.fonts** namespace provides classes that represent font resources. | | com.groupdocs.editor.htmlcss.resources.images | The **com.groupdocs.editor.htmlcss.resources.images** namespace provides classes that represent image resources of all types in general. | | com.groupdocs.editor.htmlcss.resources.images.raster | The **com.groupdocs.editor.htmlcss.resources.images.raster** namespace provides classes that represent only raster image resources. | | com.groupdocs.editor.htmlcss.resources.images.vector | The **com.groupdocs.editor.htmlcss.resources.images.vector** namespace provides classes that represent only vector image resources. | | com.groupdocs.editor.htmlcss.resources.textual | The **com.groupdocs.editor.htmlcss.resources.textual** namespace provides classes that represent text resources. | | com.groupdocs.editor.htmlcss.serialization | The **com.groupdocs.editor.htmlcss.serialization** namespace provides types, that are responsible for tuning HTML and CSS markup serialization process.. | | com.groupdocs.editor.license | The **com.groupdocs.editor.license** Provides methods to license the component. | | com.groupdocs.editor.metadata | The **com.groupdocs.editor.metadata** namespace provides classes for describing basic document properties dependent on document type. | | com.groupdocs.editor.options | The **com.groupdocs.editor.options** namespace provides interfaces for load and save options. | | com.groupdocs.editor.words.fieldmanagement | The **com.groupdocs.editor.words.fieldmanagement** namespace contains classes and interfaces related to the management and manipulation of form fields within documents. | ### com.groupdocs.editor.formats.abstraction Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats.abstraction.md The **com.groupdocs.editor.formats.abstraction** namespace provides interfaces and classes that describe supported document formats in the GroupDocs.Editor library. #### Interfaces | Interface | Description | | --- | --- | | IDocumentFormat | Represents the root interface for all supporting document formats. | ### IDocumentFormat Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats.abstraction/idocumentformat.md ### com.groupdocs.editor.formats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats.md The **com.groupdocs.editor.formats** namespace provides interfaces and classes that describes supported document formats. #### Classes | Class | Description | | --- | --- | | EBookFormats | Encapsulates all eBook formats. | | EmailFormats | Encapsulates all emails formats. | | FixedLayoutFormats | Encapsulates all fixed-layout (also know as "fixed-page") formats, which includes PDF and XPS (this does not include raster images) | | PresentationFormats | Encapsulates all Presentation formats. | | SpreadsheetFormats | Encapsulates all binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. | | TextualFormats | Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. | | WordProcessingFormats | Encapsulates all WordProcessing formats. | ### EBookFormats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats/ebookformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class EBookFormats extends DocumentFormatBase ``` Encapsulates all eBook formats. Includes the following file types: Mobi, Epub Learn more about Mobi format [here][], and about ePub format [here][here 1]. [here]: https://docs.fileformat.com/ebook/mobi/ [here 1]: https://docs.fileformat.com/ebook/epub/ #### Fields | Field | Description | | --- | --- | | Mobi | MOBI is the name given to the format developed for the MobiPocket Reader. | | Epub | Electronic Publication (IDPF ePub) format is an e-book file format that provides a standard digital publication format for publishers and consumers. | | Azw3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all EBookFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type EBookFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a EBookFormats object. | ##### Mobi ``` public static final EBookFormats Mobi ``` MOBI is the name given to the format developed for the MobiPocket Reader. Also called PRC, AZW. It is currently used by Amazon with a slightly different DRM scheme and called AZW. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/ebook/mobi/ ##### Epub ``` public static final EBookFormats Epub ``` Electronic Publication (IDPF ePub) format is an e-book file format that provides a standard digital publication format for publishers and consumers. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/ebook/epub/ ##### Azw3 ``` public static final EBookFormats Azw3 ``` AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/ebook/azw3/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all EBookFormats. Value: An IEnumerable\{EBookFormats\} containing all instances of EBookFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static EBookFormats fromExtension(String extension) ``` Retrieves an instance of the specified type EBookFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** EBookFormats - An instance of the specified type EBookFormats with the specified file extension. ##### fromString(String extension) ``` public static EBookFormats fromString(String extension) ``` Converts a string representing a file extension to a EBookFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** EBookFormats - A EBookFormats object corresponding to the specified file extension. ### EmailFormats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats/emailformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class EmailFormats extends DocumentFormatBase ``` Encapsulates all emails formats. Includes the following file types: Tnef, Eml, Emlx, Msg, Html, Mhtml. Learn more about emails format [here][]. [here]: https://docs.fileformat.com/email/ #### Fields | Field | Description | | --- | --- | | Tnef | Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). | | Eml | EML file format represents email messages saved using Outlook and other relevant applications. | | Emlx | The EMLX file format is implemented and developed by Apple. | | Msg | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. | | Html | HTML formatted emails. | | Mhtml | MHTML, an initialism of "MIME encapsulation of aggregate HTML documents". | | Ics | The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling. | | Vcf | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. | | Pst | Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. | | Mbox | MBox file format is a generic term that represents a container for collection of electronic mail messages. | | Oft | Files with .oft extension are template files that are created using Microsoft Outlook. | | Ost | Offline Storage Table (OST) file represents user\\u2019s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all EmailFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type EmailFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a EmailFormats object. | ##### Tnef ``` public static final EmailFormats Tnef ``` Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/tnef/ ##### Eml ``` public static final EmailFormats Eml ``` EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/eml/ ##### Emlx ``` public static final EmailFormats Emlx ``` The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/emlx/ ##### Msg ``` public static final EmailFormats Msg ``` MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/msg/ ##### Html ``` public static final EmailFormats Html ``` HTML formatted emails. ##### Mhtml ``` public static final EmailFormats Mhtml ``` MHTML, an initialism of "MIME encapsulation of aggregate HTML documents". ##### Ics ``` public static final EmailFormats Ics ``` The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/ics/ ##### Vcf ``` public static final EmailFormats Vcf ``` VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/vcf/ ##### Pst ``` public static final EmailFormats Pst ``` Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/pst/ ##### Mbox ``` public static final EmailFormats Mbox ``` MBox file format is a generic term that represents a container for collection of electronic mail messages. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/mbox/ ##### Oft ``` public static final EmailFormats Oft ``` Files with .oft extension are template files that are created using Microsoft Outlook. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/oft/ ##### Ost ``` public static final EmailFormats Ost ``` Offline Storage Table (OST) file represents user\\u2019s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/ost/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all EmailFormats. Value: An IEnumerable\{EmailFormats\} containing all instances of EmailFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static EmailFormats fromExtension(String extension) ``` Retrieves an instance of the specified type EmailFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** EmailFormats - An instance of the specified type EmailFormats with the specified file extension. ##### fromString(String extension) ``` public static EmailFormats fromString(String extension) ``` Converts a string representing a file extension to a EmailFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** EmailFormats - A EmailFormats object corresponding to the specified file extension. ### FixedLayoutFormats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats/fixedlayoutformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class FixedLayoutFormats extends DocumentFormatBase ``` Encapsulates all fixed-layout (also know as "fixed-page") formats, which includes PDF and XPS (this does not include raster images) Various document viewing or publishing applications allow users to open (Adobe Acrobat, XPS Viewer), and sometimes edit (Adobe InDesign) documents of specific formats. These applications typically produce so-called \\u201cfixed-page\\u201d format documents. Such a document format describes precisely where a document\\u2019s content is placed on every page. Internally, the PDF or XPS format contains a description of every page, as well as drawing instructions, specifying the layout of the content on the page. This is similar to image formats, describing where the content is shown either in raster or vector form. #### Fields | Field | Description | | --- | --- | | Pdf | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all FixedLayoutFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type FixedLayoutFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a FixedLayoutFormats object. | ##### Pdf ``` public static final FixedLayoutFormats Pdf ``` Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/pdf/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all FixedLayoutFormats. Value: An IEnumerable\{FixedLayoutFormats\} containing all instances of FixedLayoutFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static FixedLayoutFormats fromExtension(String extension) ``` Retrieves an instance of the specified type FixedLayoutFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** FixedLayoutFormats - An instance of the specified type FixedLayoutFormats with the specified file extension. ##### fromString(String extension) ``` public static FixedLayoutFormats fromString(String extension) ``` Converts a string representing a file extension to a FixedLayoutFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** FixedLayoutFormats - A FixedLayoutFormats object corresponding to the specified file extension. ### PresentationFormats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats/presentationformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class PresentationFormats extends DocumentFormatBase ``` Encapsulates all Presentation formats. Includes the following formats: Odp, Otp, Pot, Potm, Potx, Pps, Ppsm, Ppsx, Ppt, Ppt95, Pptm, Pptx. Learn more about Presentation formats [here][]. [here]: https://wiki.fileformat.com/presentation #### Fields | Field | Description | | --- | --- | | Ppt | Microsoft PowerPoint 97-2003 Presentation (PPT). | | Ppt95 | Microsoft PowerPoint 95 Presentation (PPT). | | Pptx | Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). | | Pptm | Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). | | Pps | Microsoft PowerPoint 97-2003 SlideShow (PPS). | | Ppsx | Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). | | Ppsm | Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). | | Pot | Microsoft PowerPoint 97-2003 Presentation Template (POT). | | Potx | Microsoft Office Open XML PresentationML Macro-Free Template (POTX). | | Potm | Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). | | Odp | OpenDocument Presentation (ODP). | | Otp | OpenDocument Presentation template (OTP). | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all PresentationFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type PresentationFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a PresentationFormats object. | ##### Ppt ``` public static final PresentationFormats Ppt ``` Microsoft PowerPoint 97-2003 Presentation (PPT). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppt ##### Ppt95 ``` public static final PresentationFormats Ppt95 ``` Microsoft PowerPoint 95 Presentation (PPT). ##### Pptx ``` public static final PresentationFormats Pptx ``` Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptx ##### Pptm ``` public static final PresentationFormats Pptm ``` Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptm ##### Pps ``` public static final PresentationFormats Pps ``` Microsoft PowerPoint 97-2003 SlideShow (PPS). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pps ##### Ppsx ``` public static final PresentationFormats Ppsx ``` Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsx ##### Ppsm ``` public static final PresentationFormats Ppsm ``` Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsm ##### Pot ``` public static final PresentationFormats Pot ``` Microsoft PowerPoint 97-2003 Presentation Template (POT). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pot ##### Potx ``` public static final PresentationFormats Potx ``` Microsoft Office Open XML PresentationML Macro-Free Template (POTX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potx ##### Potm ``` public static final PresentationFormats Potm ``` Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potm ##### Odp ``` public static final PresentationFormats Odp ``` OpenDocument Presentation (ODP). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/odp ##### Otp ``` public static final PresentationFormats Otp ``` OpenDocument Presentation template (OTP). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/otp ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all PresentationFormats. Value: An IEnumerable\{PresentationFormats\} containing all instances of PresentationFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static PresentationFormats fromExtension(String extension) ``` Retrieves an instance of the specified type PresentationFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** PresentationFormats - An instance of the specified type PresentationFormats with the specified file extension. ##### fromString(String extension) ``` public static PresentationFormats fromString(String extension) ``` Converts a string representing a file extension to a PresentationFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** PresentationFormats - A PresentationFormats object corresponding to the specified file extension. ### SpreadsheetFormats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats/spreadsheetformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class SpreadsheetFormats extends DocumentFormatBase ``` Encapsulates all binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. Includes the following formats: Dif, Fods, Ods, Sxc, Xlam, Xls, Xlsb, Xlsm, Xlsx, Xlt, Xltm, Xltx. Learn more about Spreadsheet formats [here][]. [here]: https://wiki.fileformat.com/spreadsheet #### Fields | Field | Description | | --- | --- | | Xls | Excel 97-2003 Binary File Format (XLS). | | Xlt | Excel 97-2003 Template (XLT). | | Xlsx | Office Open XML Workbook Macro-Free (XLSX). | | Xlsm | Office Open XML Workbook Macro-Enabled (XLSM). | | Xlsb | Excel Binary Workbook (XLSB). | | Xltx | Office Open XML Template Macro-Free (XLTX). | | Xltm | Office Open XML Template Macro-Enabled (XLTM). | | Xlam | Excel Add-in (XLAM). | | SpreadsheetML | SpreadsheetML \\u2014 Microsoft Office Excel 2002 and Excel 2003 XML Format. | | Ods | OpenDocument Spreadsheet (ODS). | | Fods | Flat OpenDocument Spreadsheet (FODS). | | Sxc | StarOffice or OpenOffice.org Calc XML Spreadsheet (SXC). | | Dif | Data Interchange Format (DIF). | | Csv | Comma Separated Values (CSV). | | Tsv | Tab-Separated Values (TSV). | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all SpreadsheetFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type SpreadsheetFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a SpreadsheetFormats object. | ##### Xls ``` public static final SpreadsheetFormats Xls ``` Excel 97-2003 Binary File Format (XLS). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xls ##### Xlt ``` public static final SpreadsheetFormats Xlt ``` Excel 97-2003 Template (XLT). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlt ##### Xlsx ``` public static final SpreadsheetFormats Xlsx ``` Office Open XML Workbook Macro-Free (XLSX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsx ##### Xlsm ``` public static final SpreadsheetFormats Xlsm ``` Office Open XML Workbook Macro-Enabled (XLSM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsm ##### Xlsb ``` public static final SpreadsheetFormats Xlsb ``` Excel Binary Workbook (XLSB). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsb ##### Xltx ``` public static final SpreadsheetFormats Xltx ``` Office Open XML Template Macro-Free (XLTX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltx ##### Xltm ``` public static final SpreadsheetFormats Xltm ``` Office Open XML Template Macro-Enabled (XLTM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltm ##### Xlam ``` public static final SpreadsheetFormats Xlam ``` Excel Add-in (XLAM). ##### SpreadsheetML ``` public static final SpreadsheetFormats SpreadsheetML ``` SpreadsheetML \\u2014 Microsoft Office Excel 2002 and Excel 2003 XML Format. ##### Ods ``` public static final SpreadsheetFormats Ods ``` OpenDocument Spreadsheet (ODS). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/ods ##### Fods ``` public static final SpreadsheetFormats Fods ``` Flat OpenDocument Spreadsheet (FODS). ##### Sxc ``` public static final SpreadsheetFormats Sxc ``` StarOffice or OpenOffice.org Calc XML Spreadsheet (SXC). ##### Dif ``` public static final SpreadsheetFormats Dif ``` Data Interchange Format (DIF). ##### Csv ``` public static final SpreadsheetFormats Csv ``` Comma Separated Values (CSV). Learn more about this file format [here][] . [here]: https://docs.fileformat.com/spreadsheet/csv/ ##### Tsv ``` public static final SpreadsheetFormats Tsv ``` Tab-Separated Values (TSV). Learn more about this file format [here][] . [here]: https://docs.fileformat.com/spreadsheet/tsv/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all SpreadsheetFormats. Value: An IEnumerable\{SpreadsheetFormats\} containing all instances of SpreadsheetFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static SpreadsheetFormats fromExtension(String extension) ``` Retrieves an instance of the specified type SpreadsheetFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** SpreadsheetFormats - An instance of the specified type SpreadsheetFormats with the specified file extension. ##### fromString(String extension) ``` public static SpreadsheetFormats fromString(String extension) ``` Converts a string representing a file extension to a SpreadsheetFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** SpreadsheetFormats - A SpreadsheetFormats object corresponding to the specified file extension. ### TextualFormats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats/textualformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class TextualFormats extends DocumentFormatBase ``` Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. Includes the following formats: Html, Txt, Xml. Md, Json. #### Fields | Field | Description | | --- | --- | | Html | HyperText Markup Language document (HTML) is the extension for web pages created for display in browsers. | | Xml | eXtensible Markup Language document (XML) that is similar to HTML but different in using tags for defining objects. | | Txt | Plain Text Document (TXT) represents a text document that contains plain text in the form of lines. | | Md | Markdown is a lightweight markup language for creating formatted text using a plain-text editor. | | Json | JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. | | Mhtml | MIME encapsulation of aggregate HTML documents is a web page archive format used to combine, in a single computer file, the HTML code and its companion resources. | | Chm | Microsoft Compiled HTML Help is a Microsoft proprietary online help binary format, consisting of a collection of HTML pages, an index and other navigation tools. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all TextualFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type TextualFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a TextualFormats object. | ##### Html ``` public static final TextualFormats Html ``` HyperText Markup Language document (HTML) is the extension for web pages created for display in browsers. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/web/html ##### Xml ``` public static final TextualFormats Xml ``` eXtensible Markup Language document (XML) that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/web/xml ##### Txt ``` public static final TextualFormats Txt ``` Plain Text Document (TXT) represents a text document that contains plain text in the form of lines. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/txt ##### Md ``` public static final TextualFormats Md ``` Markdown is a lightweight markup language for creating formatted text using a plain-text editor. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/word-processing/md/ ##### Json ``` public static final TextualFormats Json ``` JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/web/json/ ##### Mhtml ``` public static final TextualFormats Mhtml ``` MIME encapsulation of aggregate HTML documents is a web page archive format used to combine, in a single computer file, the HTML code and its companion resources. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/web/mhtml/ ##### Chm ``` public static final TextualFormats Chm ``` Microsoft Compiled HTML Help is a Microsoft proprietary online help binary format, consisting of a collection of HTML pages, an index and other navigation tools. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/web/chm/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all TextualFormats. Value: An IEnumerable\{TextualFormats\} containing all instances of TextualFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static TextualFormats fromExtension(String extension) ``` Retrieves an instance of the specified type TextualFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** TextualFormats - An instance of the specified type TextualFormats with the specified file extension. ##### fromString(String extension) ``` public static TextualFormats fromString(String extension) ``` Converts a string representing a file extension to a TextualFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** TextualFormats - A TextualFormats object corresponding to the specified file extension. ### WordProcessingFormats Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.formats/wordprocessingformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class WordProcessingFormats extends DocumentFormatBase ``` Encapsulates all WordProcessing formats. Includes the following file types: Doc, Docm, Docx, Dot, Dotm, Dotx, FlatOpc, Odt, Ott, Rtf, WordML. Learn more about Word Processing formats [here][]. MIME codes are grabbed from the given resources: https://filext.com/faq/office\_mime\_types.html https://docs.microsoft.com/en-us/previous-versions//cc179224(v=technet.10) [here]: https://wiki.fileformat.com/word-processing #### Fields | Field | Description | | --- | --- | | Doc | MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. | | Docx | Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. | | Dot | MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | Docm | Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | Dotx | Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | Dotm | Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. | | FlatOpc | Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. | | Rtf | Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. | | Odt | Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | Ott | Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. | | WordML | Microsoft Office Word 2003 XML Format \\u2014 WordProcessingML or WordML (.XML). | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all WordProcessingFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type WordProcessingFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a WordProcessingFormats object. | ##### Doc ``` public static final WordProcessingFormats Doc ``` MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/doc ##### Docx ``` public static final WordProcessingFormats Docx ``` Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docx ##### Dot ``` public static final WordProcessingFormats Dot ``` MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dot ##### Docm ``` public static final WordProcessingFormats Docm ``` Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docm ##### Dotx ``` public static final WordProcessingFormats Dotx ``` Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotx ##### Dotm ``` public static final WordProcessingFormats Dotm ``` Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotm ##### FlatOpc ``` public static final WordProcessingFormats FlatOpc ``` Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. ##### Rtf ``` public static final WordProcessingFormats Rtf ``` Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/rtf ##### Odt ``` public static final WordProcessingFormats Odt ``` Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/odt ##### Ott ``` public static final WordProcessingFormats Ott ``` Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/ott ##### WordML ``` public static final WordProcessingFormats WordML ``` Microsoft Office Word 2003 XML Format \\u2014 WordProcessingML or WordML (.XML). https://en.wikipedia.org/wiki/Microsoft\_Office\_XML\_formats ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all WordProcessingFormats. Value: An IEnumerable\{WordProcessingFormats\} containing all instances of WordProcessingFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static WordProcessingFormats fromExtension(String extension) ``` Retrieves an instance of the specified type WordProcessingFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** WordProcessingFormats - An instance of the specified type WordProcessingFormats with the specified file extension. ##### fromString(String extension) ``` public static WordProcessingFormats fromString(String extension) ``` Converts a string representing a file extension to a WordProcessingFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** WordProcessingFormats - A WordProcessingFormats object corresponding to the specified file extension. ### com.groupdocs.editor.htmlcss.css.datatypes Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.datatypes.md The **com.groupdocs.editor.htmlcss.css.datatypes** namespace provides classes that represent CSS data types. #### Classes | Class | Description | | --- | --- | | ArgbColor | Represents one color value in ARGB format with converters and serializers | | ArgbColors | Contains all "known colors", that have fixed unique name and value in CSS standart | | Length | Represents a CSS length value in any supportable unit, including percentage and unitless type. | | LengthUnit | All supported length units | | Ratio | Represents a "ratio" CSS data type, which is used for describing aspect ratios in media queries and for raster images by denoting the proportion between two unitless values called "numerator" and "denominator". | #### Interfaces | Interface | Description | | --- | --- | | ICssDataType | Common interface for all CSS data types, which are used in the CSS properties | ### ArgbColor Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.datatypes/argbcolor.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.datatypes.ICssDataType ``` public class ArgbColor extends Struct implements ICssDataType ``` Represents one color value in ARGB format with converters and serializers This type is designed to be useful for (but not limited to) CSS operations. See more: https://developer.mozilla.org/en-US/docs/Web/CSS/color\_value #### Constructors | Constructor | Description | | --- | --- | | ArgbColor() | | | ArgbColor(int r, int g, int b) | | #### Methods | Method | Description | | --- | --- | | fromRgba(int red, int green, int blue, int alpha) | Creates one ArgbColor value from specified Red, Green, Blue, and Alpha channels | | fromRgb(int red, int green, int blue) | Creates one ArgbColor value from specified Red, Green, Blue channels, while Alpha channel is fully opaque | | fromSingleValueRgb(byte value) | Creates a fully opaque (A=255) color from single value, which will be applied to all channels | | fromColor(Color color) | Creates one ArgbColor value from specified Color | | getValue() | Gets the Int32 value of the color. | | getA() | Gets the alpha part of the color. | | getAlpha() | Gets the alpha part of the color in percent (0..1). | | getR() | Gets the red part of the color. | | getG() | Gets the green part of the color. | | getB() | Gets the blue part of the color. | | isEmpty() | Uninitialized color - all 4 channels are set to 0. | | isDefault() | Indicates whether this ArgbColor instance is default (Transparent) - all 4 channels are set to 0 | | isFullyTransparent() | Indicates whether this ArgbColor instance is fully transparent - its Alpha channel has the min (0) value, so other R, G, and B channels has no visible effect. | | isTranslucent() | Indicates whether this ArgbColor instance is translucent (not fully transparent, but also not fully opaque) | | isFullyOpaque() | Indicates whether this ArgbColor instance is fully opaque, without transparency (its Alpha channel has max value) | | toSystemColor() | Converts a value of this ArgbColor instance to the Color instance and returns it | | toRGBA() | Serializes this ArgbColor instance to the 'rgba' CSS function notation | | toRGB() | Serializes this ArgbColor instance to the 'rgb' CSS function notation | | serializeDefault() | Serializes this ArgbColor instance to the most appropriate CSS function notation depending on translucency | | toString() | Same as \#serializeDefault.serializeDefault | | op_Equality(ArgbColor left, ArgbColor right) | Compares two colors and returns a boolean indicating if the two do match. | | op_Inequality(ArgbColor left, ArgbColor right) | Compares two colors and returns a boolean indicating if the two do not match. | | equals(ArgbColor other) | Checks two ArgbColor colors for equality | | equals(ICssDataType other) | Checks two ArgbColor colors for equality | | equals(Object other) | Tests if another object is equal to this ArgbColor instance. | | hashCode() | Returns a hash code that defines the current color. | ##### ArgbColor() ``` public ArgbColor() ``` ##### ArgbColor(int r, int g, int b) ``` public ArgbColor(int r, int g, int b) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | r | int | | | g | int | | | b | int | | ##### fromRgba(int red, int green, int blue, int alpha) ``` public static ArgbColor fromRgba(int red, int green, int blue, int alpha) ``` Creates one ArgbColor value from specified Red, Green, Blue, and Alpha channels **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | red | int | Red channel value | | green | int | Green channel value | | blue | int | Blue channel value | | alpha | int | Alpha channel value | **Returns:** ArgbColor - New ArgbColor value ##### fromRgb(int red, int green, int blue) ``` public static ArgbColor fromRgb(int red, int green, int blue) ``` Creates one ArgbColor value from specified Red, Green, Blue channels, while Alpha channel is fully opaque **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | red | int | Red channel value | | green | int | Green channel value | | blue | int | Blue channel value | **Returns:** ArgbColor - New ArgbColor value ##### fromSingleValueRgb(byte value) ``` public static ArgbColor fromSingleValueRgb(byte value) ``` Creates a fully opaque (A=255) color from single value, which will be applied to all channels **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte | A byte value, same for Red, Green, and Blue channels | **Returns:** ArgbColor - New ArgbColor instance ##### fromColor(Color color) ``` public static ArgbColor fromColor(Color color) ``` Creates one ArgbColor value from specified Color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | color | java.awt.Color | | **Returns:** ArgbColor - ##### getValue() ``` public final int getValue() ``` Gets the Int32 value of the color. **Returns:** int ##### getA() ``` public final int getA() ``` Gets the alpha part of the color. **Returns:** int ##### getAlpha() ``` public final double getAlpha() ``` Gets the alpha part of the color in percent (0..1). **Returns:** double ##### getR() ``` public final int getR() ``` Gets the red part of the color. **Returns:** int ##### getG() ``` public final int getG() ``` Gets the green part of the color. **Returns:** int ##### getB() ``` public final int getB() ``` Gets the blue part of the color. **Returns:** int ##### isEmpty() ``` public final boolean isEmpty() ``` Uninitialized color - all 4 channels are set to 0. Same as Default and Transparent. **Returns:** boolean ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this ArgbColor instance is default (Transparent) - all 4 channels are set to 0 **Returns:** boolean ##### isFullyTransparent() ``` public final boolean isFullyTransparent() ``` Indicates whether this ArgbColor instance is fully transparent - its Alpha channel has the min (0) value, so other R, G, and B channels has no visible effect. **Returns:** boolean ##### isTranslucent() ``` public final boolean isTranslucent() ``` Indicates whether this ArgbColor instance is translucent (not fully transparent, but also not fully opaque) **Returns:** boolean ##### isFullyOpaque() ``` public final boolean isFullyOpaque() ``` Indicates whether this ArgbColor instance is fully opaque, without transparency (its Alpha channel has max value) **Returns:** boolean ##### toSystemColor() ``` public final Color toSystemColor() ``` Converts a value of this ArgbColor instance to the Color instance and returns it **Returns:** Color - New Color instance ##### toRGBA() ``` public final String toRGBA() ``` Serializes this ArgbColor instance to the 'rgba' CSS function notation **Returns:** java.lang.String - A string with 'rgba(r, g, b, a)' format ##### toRGB() ``` public final String toRGB() ``` Serializes this ArgbColor instance to the 'rgb' CSS function notation **Returns:** java.lang.String - A string with 'rgb(r, g, b)' format ##### serializeDefault() ``` public final String serializeDefault() ``` Serializes this ArgbColor instance to the most appropriate CSS function notation depending on translucency **Returns:** java.lang.String - A string with 'rgba(r, g, b, a)' or 'rgb(r, g, b)' format ##### toString() ``` public String toString() ``` Same as \#serializeDefault.serializeDefault **Returns:** java.lang.String - Same return value as in \#serializeDefault.serializeDefault ##### op_Equality(ArgbColor left, ArgbColor right) ``` public static boolean op_Equality(ArgbColor left, ArgbColor right) ``` Compares two colors and returns a boolean indicating if the two do match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | ArgbColor | The first color to use. | | right | ArgbColor | The second color to use. | **Returns:** boolean - True if both colors are equal, otherwise false. ##### op_Inequality(ArgbColor left, ArgbColor right) ``` public static boolean op_Inequality(ArgbColor left, ArgbColor right) ``` Compares two colors and returns a boolean indicating if the two do not match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | ArgbColor | The first color to use. | | right | ArgbColor | The second color to use. | **Returns:** boolean - True if both colors are not equal, otherwise false. ##### equals(ArgbColor other) ``` public final boolean equals(ArgbColor other) ``` Checks two ArgbColor colors for equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ArgbColor | The other ArgbColor color | **Returns:** boolean - True if both colors or equal, otherwise false. ##### equals(ICssDataType other) ``` public final boolean equals(ICssDataType other) ``` Checks two ArgbColor colors for equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ICssDataType | The other ArgbColor color, casted to the ICssDataType | **Returns:** boolean - True if both colors or equal, otherwise false. ##### equals(Object other) ``` public boolean equals(Object other) ``` Tests if another object is equal to this ArgbColor instance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | java.lang.Object | The object to test with. | **Returns:** boolean - True if the two objects are equal, otherwise false. ##### hashCode() ``` public int hashCode() ``` Returns a hash code that defines the current color. **Returns:** int - The integer value of the hashcode. ### ArgbColors Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.datatypes/argbcolors.md **Inheritance:** java.lang.Object ``` public class ArgbColors ``` Contains all "known colors", that have fixed unique name and value in CSS standart See also: https://developer.mozilla.org/en-US/docs/Web/CSS/named-color #### Constructors | Constructor | Description | | --- | --- | | ArgbColors() | | #### Fields | Field | Description | | --- | --- | | Empty | Returns an empty color, which has no channels info and is fully transparent. | | Transparent | Fully transparent empty color. | | Black | Black color | | Silver | Silver color | | Gray | Gray color | | White | White color | | Maroon | Maroon color | | Red | Red color | | Purple | Purple color | | Fuchsia | Fuchsia color, also known as Magenta | | Green | Green color | | Lime | Lime color, also known as Pure Green | | Olive | Olive color | | Yellow | Yellow color | | Navy | Navy color | | Blue | Blue color | | Teal | Teal color | | Aqua | Aqua color | | Orange | Orange color | | Aliceblue | Alice Blue color | | Antiquewhite | Antique White color | | Aquamarine | Aquamarine color | | Azure | Azure color | | Beige | Beige color | | Bisque | Bisque color | | Blanchedalmond | Blanched Almond color | | Blueviolet | Blue Violet color | | Brown | Brown color | | Burlywood | Burly Wood color | | Cadetblue | Cadet Blue color | | Chartreuse | Chart Reuse color | | Chocolate | Chocolate color | | Coral | Coral color | | Cornflowerblue | Corn flower blue color | | Cornsilk | Corn silk color | | Crimson | Crimson color | | Cyan | Cyan color, also known as Aqua from CssLevel1 | | Darkblue | Dark blue color | | Darkcyan | Dark cyan color | | Darkgoldenrod | Dark golden rod color | | Darkgray | Dark gray color | | Darkgreen | Dark green color | | Darkgrey | Dark grey color - same as Dark gray | | Darkkhaki | Dark khaki color | | Darkmagenta | Dark magenta color | | Darkolivegreen | Dark olive green color | | Darkorange | Dark orange color | | Darkorchid | Dark orchid color | | Darkred | Dark red color | | Darksalmon | Dark salmon color | | Darkseagreen | Dark sea green color | | Darkslateblue | Dark slate blue color | | Darkslategray | Dark slate gray color | | Darkslategrey | Dark slate grey color - same as Dark slate gray | | Darkturquoise | Dark turquoise color | | Darkviolet | Dark violet color | | Deeppink | Deep pink color | | Deepskyblue | Deep sky blue color | | Dimgray | Dim gray color | | Dimgrey | Dim grey color - same as Dim gray | | Dodgerblue | Dodger blue color | | Firebrick | Fire brick color | | Floralwhite | Floral white color | | Forestgreen | Forest green color | | Gainsboro | Gains boro color | | Ghostwhite | Ghost white color | | Gold | Gold color | | Goldenrod | Goldenrod color | | Greenyellow | Green yellow color | | Grey | Grey color - same as Gray from CSS Level 1 | | Honeydew | Honey dew color | | Hotpink | Hot pink color | | Indianred | Indian red color | | Indigo | Indigo color | | Ivory | Ivory color | | Khaki | Khaki color | | Lavender | Lavender color | | Lavenderblush | Lavender blush color | | Lawngreen | Lawngreen color | | Lemonchiffon | Lemonchiffon color | | Lightblue | Lightblue color | | Lightcoral | Lightcoral color | | Lightcyan | Lightcyan color | | Lightgoldenrodyellow | Lightgoldenrodyellow color | | Lightgray | Lightgray color - same as Lightgrey | | Lightgreen | Lightgreen color | | Lightgrey | Lightgrey color - same as Lightgray | | Lightpink | Lightpink color | | Lightsalmon | Lightsalmon color | | Lightseagreen | Lightseagreen color | | Lightskyblue | Lightskyblue color | | Lightslategray | Lightslategray color - same as Lightslategrey | | Lightslategrey | Lightslategrey color - same as Lightslategray | | Lightsteelblue | Lightsteelblue color | | Lightyellow | Lightyellow color | | Limegreen | Limegreen color | | Linen | Linen color | | Magenta | Magenta color, also known as Fuchsia from CssLevel1 | | Mediumaquamarine | Mediumaquamarine color | | Mediumblue | Mediumblue color | | Mediumorchid | Mediumorchid color | | Mediumpurple | Mediumpurple color | | Mediumseagreen | Mediumseagreen color | | Mediumslateblue | Mediumslateblue color | | Mediumspringgreen | Mediumspringgreen color | | Mediumturquoise | Mediumturquoise color | | Mediumvioletred | Mediumvioletred color | | Midnightblue | Midnightblue color | | Mintcream | Mintcream color | | Mistyrose | Mistyrose color | | Moccasin | Moccasin color | | Navajowhite | Navajowhite color | | Oldlace | Oldlace color | | Olivedrab | Olivedrab color | | Orangered | Orangered color | | Orchid | Orchid color | | Palegoldenrod | Palegoldenrod color | | Palegreen | Palegreen color | | Paleturquoise | Paleturquoise color | | Palevioletred | Palevioletred color | | Papayawhip | Papayawhip color | | Peachpuff | Peachpuff color | | Peru | Peru color | | Pink | Pink color | | Plum | Plum color | | Powderblue | Powderblue color | | Rosybrown | Rosybrown color | | Royalblue | Royalblue color | | Saddlebrown | Saddlebrown color | | Salmon | Salmon color | | Sandybrown | Sandybrown color | | Seagreen | Seagreen color | | Seashell | Seashell color | | Sienna | Sienna color | | Skyblue | Skyblue color | | Slateblue | Slateblue color | | Slategray | Slategray color - same as Slategrey | | Slategrey | Slategrey color - same as Slategray | | Snow | Snow color | | Springgreen | Springgreen color | | Steelblue | Steelblue color | | Tan | Tan color | | Thistle | Thistle color | | Tomato | Tomato color | | Turquoise | Turquoise color | | Violet | Violet color | | Wheat | Wheat color | | Whitesmoke | Whitesmoke color | | Yellowgreen | Yellowgreen color | | Rebeccapurple | Rebecca Purple color | #### Methods | Method | Description | | --- | --- | | tryFind(String keyword, ArgbColor[] output) | Tries to find a color by its string name | ##### ArgbColors() ``` public ArgbColors() ``` ##### Empty ``` public static final ArgbColor Empty ``` Returns an empty color, which has no channels info and is fully transparent. Same as '\#Transparent.Transparent'. Default value. ##### Transparent ``` public static final ArgbColor Transparent ``` Fully transparent empty color. The same as default '\#Empty.Empty' color value. ##### Black ``` public static final ArgbColor Black ``` Black color ##### Silver ``` public static final ArgbColor Silver ``` Silver color ##### Gray ``` public static final ArgbColor Gray ``` Gray color ##### White ``` public static final ArgbColor White ``` White color ##### Maroon ``` public static final ArgbColor Maroon ``` Maroon color ##### Red ``` public static final ArgbColor Red ``` Red color ##### Purple ``` public static final ArgbColor Purple ``` Purple color ##### Fuchsia ``` public static final ArgbColor Fuchsia ``` Fuchsia color, also known as Magenta ##### Green ``` public static final ArgbColor Green ``` Green color ##### Lime ``` public static final ArgbColor Lime ``` Lime color, also known as Pure Green ##### Olive ``` public static final ArgbColor Olive ``` Olive color ##### Yellow ``` public static final ArgbColor Yellow ``` Yellow color ##### Navy ``` public static final ArgbColor Navy ``` Navy color ##### Blue ``` public static final ArgbColor Blue ``` Blue color ##### Teal ``` public static final ArgbColor Teal ``` Teal color ##### Aqua ``` public static final ArgbColor Aqua ``` Aqua color ##### Orange ``` public static final ArgbColor Orange ``` Orange color ##### Aliceblue ``` public static final ArgbColor Aliceblue ``` Alice Blue color ##### Antiquewhite ``` public static final ArgbColor Antiquewhite ``` Antique White color ##### Aquamarine ``` public static final ArgbColor Aquamarine ``` Aquamarine color ##### Azure ``` public static final ArgbColor Azure ``` Azure color ##### Beige ``` public static final ArgbColor Beige ``` Beige color ##### Bisque ``` public static final ArgbColor Bisque ``` Bisque color ##### Blanchedalmond ``` public static final ArgbColor Blanchedalmond ``` Blanched Almond color ##### Blueviolet ``` public static final ArgbColor Blueviolet ``` Blue Violet color ##### Brown ``` public static final ArgbColor Brown ``` Brown color ##### Burlywood ``` public static final ArgbColor Burlywood ``` Burly Wood color ##### Cadetblue ``` public static final ArgbColor Cadetblue ``` Cadet Blue color ##### Chartreuse ``` public static final ArgbColor Chartreuse ``` Chart Reuse color ##### Chocolate ``` public static final ArgbColor Chocolate ``` Chocolate color ##### Coral ``` public static final ArgbColor Coral ``` Coral color ##### Cornflowerblue ``` public static final ArgbColor Cornflowerblue ``` Corn flower blue color ##### Cornsilk ``` public static final ArgbColor Cornsilk ``` Corn silk color ##### Crimson ``` public static final ArgbColor Crimson ``` Crimson color ##### Cyan ``` public static final ArgbColor Cyan ``` Cyan color, also known as Aqua from CssLevel1 ##### Darkblue ``` public static final ArgbColor Darkblue ``` Dark blue color ##### Darkcyan ``` public static final ArgbColor Darkcyan ``` Dark cyan color ##### Darkgoldenrod ``` public static final ArgbColor Darkgoldenrod ``` Dark golden rod color ##### Darkgray ``` public static final ArgbColor Darkgray ``` Dark gray color ##### Darkgreen ``` public static final ArgbColor Darkgreen ``` Dark green color ##### Darkgrey ``` public static final ArgbColor Darkgrey ``` Dark grey color - same as Dark gray ##### Darkkhaki ``` public static final ArgbColor Darkkhaki ``` Dark khaki color ##### Darkmagenta ``` public static final ArgbColor Darkmagenta ``` Dark magenta color ##### Darkolivegreen ``` public static final ArgbColor Darkolivegreen ``` Dark olive green color ##### Darkorange ``` public static final ArgbColor Darkorange ``` Dark orange color ##### Darkorchid ``` public static final ArgbColor Darkorchid ``` Dark orchid color ##### Darkred ``` public static final ArgbColor Darkred ``` Dark red color ##### Darksalmon ``` public static final ArgbColor Darksalmon ``` Dark salmon color ##### Darkseagreen ``` public static final ArgbColor Darkseagreen ``` Dark sea green color ##### Darkslateblue ``` public static final ArgbColor Darkslateblue ``` Dark slate blue color ##### Darkslategray ``` public static final ArgbColor Darkslategray ``` Dark slate gray color ##### Darkslategrey ``` public static final ArgbColor Darkslategrey ``` Dark slate grey color - same as Dark slate gray ##### Darkturquoise ``` public static final ArgbColor Darkturquoise ``` Dark turquoise color ##### Darkviolet ``` public static final ArgbColor Darkviolet ``` Dark violet color ##### Deeppink ``` public static final ArgbColor Deeppink ``` Deep pink color ##### Deepskyblue ``` public static final ArgbColor Deepskyblue ``` Deep sky blue color ##### Dimgray ``` public static final ArgbColor Dimgray ``` Dim gray color ##### Dimgrey ``` public static final ArgbColor Dimgrey ``` Dim grey color - same as Dim gray ##### Dodgerblue ``` public static final ArgbColor Dodgerblue ``` Dodger blue color ##### Firebrick ``` public static final ArgbColor Firebrick ``` Fire brick color ##### Floralwhite ``` public static final ArgbColor Floralwhite ``` Floral white color ##### Forestgreen ``` public static final ArgbColor Forestgreen ``` Forest green color ##### Gainsboro ``` public static final ArgbColor Gainsboro ``` Gains boro color ##### Ghostwhite ``` public static final ArgbColor Ghostwhite ``` Ghost white color ##### Gold ``` public static final ArgbColor Gold ``` Gold color ##### Goldenrod ``` public static final ArgbColor Goldenrod ``` Goldenrod color ##### Greenyellow ``` public static final ArgbColor Greenyellow ``` Green yellow color ##### Grey ``` public static final ArgbColor Grey ``` Grey color - same as Gray from CSS Level 1 ##### Honeydew ``` public static final ArgbColor Honeydew ``` Honey dew color ##### Hotpink ``` public static final ArgbColor Hotpink ``` Hot pink color ##### Indianred ``` public static final ArgbColor Indianred ``` Indian red color ##### Indigo ``` public static final ArgbColor Indigo ``` Indigo color ##### Ivory ``` public static final ArgbColor Ivory ``` Ivory color ##### Khaki ``` public static final ArgbColor Khaki ``` Khaki color ##### Lavender ``` public static final ArgbColor Lavender ``` Lavender color ##### Lavenderblush ``` public static final ArgbColor Lavenderblush ``` Lavender blush color ##### Lawngreen ``` public static final ArgbColor Lawngreen ``` Lawngreen color ##### Lemonchiffon ``` public static final ArgbColor Lemonchiffon ``` Lemonchiffon color ##### Lightblue ``` public static final ArgbColor Lightblue ``` Lightblue color ##### Lightcoral ``` public static final ArgbColor Lightcoral ``` Lightcoral color ##### Lightcyan ``` public static final ArgbColor Lightcyan ``` Lightcyan color ##### Lightgoldenrodyellow ``` public static final ArgbColor Lightgoldenrodyellow ``` Lightgoldenrodyellow color ##### Lightgray ``` public static final ArgbColor Lightgray ``` Lightgray color - same as Lightgrey ##### Lightgreen ``` public static final ArgbColor Lightgreen ``` Lightgreen color ##### Lightgrey ``` public static final ArgbColor Lightgrey ``` Lightgrey color - same as Lightgray ##### Lightpink ``` public static final ArgbColor Lightpink ``` Lightpink color ##### Lightsalmon ``` public static final ArgbColor Lightsalmon ``` Lightsalmon color ##### Lightseagreen ``` public static final ArgbColor Lightseagreen ``` Lightseagreen color ##### Lightskyblue ``` public static final ArgbColor Lightskyblue ``` Lightskyblue color ##### Lightslategray ``` public static final ArgbColor Lightslategray ``` Lightslategray color - same as Lightslategrey ##### Lightslategrey ``` public static final ArgbColor Lightslategrey ``` Lightslategrey color - same as Lightslategray ##### Lightsteelblue ``` public static final ArgbColor Lightsteelblue ``` Lightsteelblue color ##### Lightyellow ``` public static final ArgbColor Lightyellow ``` Lightyellow color ##### Limegreen ``` public static final ArgbColor Limegreen ``` Limegreen color ##### Linen ``` public static final ArgbColor Linen ``` Linen color ##### Magenta ``` public static final ArgbColor Magenta ``` Magenta color, also known as Fuchsia from CssLevel1 ##### Mediumaquamarine ``` public static final ArgbColor Mediumaquamarine ``` Mediumaquamarine color ##### Mediumblue ``` public static final ArgbColor Mediumblue ``` Mediumblue color ##### Mediumorchid ``` public static final ArgbColor Mediumorchid ``` Mediumorchid color ##### Mediumpurple ``` public static final ArgbColor Mediumpurple ``` Mediumpurple color ##### Mediumseagreen ``` public static final ArgbColor Mediumseagreen ``` Mediumseagreen color ##### Mediumslateblue ``` public static final ArgbColor Mediumslateblue ``` Mediumslateblue color ##### Mediumspringgreen ``` public static final ArgbColor Mediumspringgreen ``` Mediumspringgreen color ##### Mediumturquoise ``` public static final ArgbColor Mediumturquoise ``` Mediumturquoise color ##### Mediumvioletred ``` public static final ArgbColor Mediumvioletred ``` Mediumvioletred color ##### Midnightblue ``` public static final ArgbColor Midnightblue ``` Midnightblue color ##### Mintcream ``` public static final ArgbColor Mintcream ``` Mintcream color ##### Mistyrose ``` public static final ArgbColor Mistyrose ``` Mistyrose color ##### Moccasin ``` public static final ArgbColor Moccasin ``` Moccasin color ##### Navajowhite ``` public static final ArgbColor Navajowhite ``` Navajowhite color ##### Oldlace ``` public static final ArgbColor Oldlace ``` Oldlace color ##### Olivedrab ``` public static final ArgbColor Olivedrab ``` Olivedrab color ##### Orangered ``` public static final ArgbColor Orangered ``` Orangered color ##### Orchid ``` public static final ArgbColor Orchid ``` Orchid color ##### Palegoldenrod ``` public static final ArgbColor Palegoldenrod ``` Palegoldenrod color ##### Palegreen ``` public static final ArgbColor Palegreen ``` Palegreen color ##### Paleturquoise ``` public static final ArgbColor Paleturquoise ``` Paleturquoise color ##### Palevioletred ``` public static final ArgbColor Palevioletred ``` Palevioletred color ##### Papayawhip ``` public static final ArgbColor Papayawhip ``` Papayawhip color ##### Peachpuff ``` public static final ArgbColor Peachpuff ``` Peachpuff color ##### Peru ``` public static final ArgbColor Peru ``` Peru color ##### Pink ``` public static final ArgbColor Pink ``` Pink color ##### Plum ``` public static final ArgbColor Plum ``` Plum color ##### Powderblue ``` public static final ArgbColor Powderblue ``` Powderblue color ##### Rosybrown ``` public static final ArgbColor Rosybrown ``` Rosybrown color ##### Royalblue ``` public static final ArgbColor Royalblue ``` Royalblue color ##### Saddlebrown ``` public static final ArgbColor Saddlebrown ``` Saddlebrown color ##### Salmon ``` public static final ArgbColor Salmon ``` Salmon color ##### Sandybrown ``` public static final ArgbColor Sandybrown ``` Sandybrown color ##### Seagreen ``` public static final ArgbColor Seagreen ``` Seagreen color ##### Seashell ``` public static final ArgbColor Seashell ``` Seashell color ##### Sienna ``` public static final ArgbColor Sienna ``` Sienna color ##### Skyblue ``` public static final ArgbColor Skyblue ``` Skyblue color ##### Slateblue ``` public static final ArgbColor Slateblue ``` Slateblue color ##### Slategray ``` public static final ArgbColor Slategray ``` Slategray color - same as Slategrey ##### Slategrey ``` public static final ArgbColor Slategrey ``` Slategrey color - same as Slategray ##### Snow ``` public static final ArgbColor Snow ``` Snow color ##### Springgreen ``` public static final ArgbColor Springgreen ``` Springgreen color ##### Steelblue ``` public static final ArgbColor Steelblue ``` Steelblue color ##### Tan ``` public static final ArgbColor Tan ``` Tan color ##### Thistle ``` public static final ArgbColor Thistle ``` Thistle color ##### Tomato ``` public static final ArgbColor Tomato ``` Tomato color ##### Turquoise ``` public static final ArgbColor Turquoise ``` Turquoise color ##### Violet ``` public static final ArgbColor Violet ``` Violet color ##### Wheat ``` public static final ArgbColor Wheat ``` Wheat color ##### Whitesmoke ``` public static final ArgbColor Whitesmoke ``` Whitesmoke color ##### Yellowgreen ``` public static final ArgbColor Yellowgreen ``` Yellowgreen color ##### Rebeccapurple ``` public static final ArgbColor Rebeccapurple ``` Rebecca Purple color CSS Colors Level 4 added the ' **rebeccapurple** ' keyword to honor web pioneer Eric Meyer: https://codepen.io/trezy/post/honoring-a-great-man ##### tryFind(String keyword, ArgbColor[] output) ``` public static boolean tryFind(String keyword, ArgbColor[] output) ``` Tries to find a color by its string name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | A color name | | output | ArgbColor\[\] | The resultant color value on success or \#Transparent.Transparent value on failure | **Returns:** boolean - True if color was successfully found by its name, or false otherwise ### ICssDataType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.datatypes/icssdatatype.md **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public interface ICssDataType extends System.IEquatable ``` Common interface for all CSS data types, which are used in the CSS properties #### Methods | Method | Description | | --- | --- | | serializeDefault() | Should return a default string representation of the current value of the data type | | isDefault() | Should define whether the current value of the data type is the default value for this specific data type or not | ##### serializeDefault() ``` public abstract String serializeDefault() ``` Should return a default string representation of the current value of the data type **Returns:** java.lang.String - ##### isDefault() ``` public abstract boolean isDefault() ``` Should define whether the current value of the data type is the default value for this specific data type or not **Returns:** boolean - ### Length Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.datatypes/length.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.datatypes.ICssDataType ``` public class Length implements ICssDataType ``` Represents a CSS length value in any supportable unit, including percentage and unitless type. Values may be integer or float, negative, zero and positive. Immutable structure. This type covers the next CSS data types: https://developer.mozilla.org/en-US/docs/Web/CSS/length https://developer.mozilla.org/en-US/docs/Web/CSS/percentage #### Constructors | Constructor | Description | | --- | --- | | Length() | | #### Fields | Field | Description | | --- | --- | | UnitlessZero | Unitless integer zero - default value, the same as default parameterless constructor | | OneHundredPercents | 100% | | FiftyPercents | 50% | | ZeroPercents | 0% | #### Methods | Method | Description | | --- | --- | | fromValueWithUnit(float value, int unit) | Creates and returns an instance of Length type by specified float number and unit | | fromValueWithUnit(double value, int unit) | Creates and returns an instance of Length type by specified double number and unit | | fromValueWithUnit(int value, int unit) | Creates and returns an instance of Length type by specified integer number and unit | | isUnitlessZero() | Determines whether this instance is a unitless zero or not. | | isDefault() | Indicates whether this Length instance has a default value \\u2014 unitless zero. | | getUnitType() | Returns a unit type of this Length instance. | | isInteger() | Indicates whether the numeric value of this Length instance was originally specified and stored as an integer (INT32) number | | isFloat() | Indicates whether the numeric value of this Length instance was originally specified and stored as a float (FP32) number | | getFloatValue() | Returns a float numeric value of the Length instance. | | getIntegerValue() | Returns an integer numeric value of this Length instance, if it is internally stored as an integer, or throws an exception, if it was originally stored as a float number. | | isAbsolute() | Gets if the length is given in absolute units. | | isRelative() | Gets if the length is given in relative units. | | isZero() | Determines whether the numeric value of this length is a zero number | | isNegative() | Determines whether the numeric value of this length is a negative number | | isPositive() | Determines whether the numeric value of this length is a positive number | | isUnitlessNonZero() | The value has unitless type, but is not a zero - positive or negative number | | toPixel() | Converts the length to a number of pixels, if possible. | | to(int unit) | Converts the length to the given unit, if possible. | | toStringSpecified(int unit) | Returns a string representation of this length in specified unit type. | | serializeDefault() | Returns a string representation of this length in its original native form (as it is stored), without converting length value to some other unit type | | equals(Length other) | Defines whether this value is equal to the other specified length | | equals(Object obj) | Determines whether this length is equal to specified object | | op_Multiply(Length multiplicand, int factor) | Multiplicates the given Length onto the given factor | | op_Equality(Length left, Length right) | Checks the equality of the two given lengths. | | op_Inequality(Length left, Length right) | Checks the inequality of the two given lengths. | | hashCode() | Calculates and returns a hash-code of this Length instance by combining hash-codes of the value and unit type | | deepClone() | Returns a full copy of this Length instance | | getUnitFromName(String unitName) | Tries to parse specified unit name and return corresponding value of a Unit enum. | | tryParse(String input, Length[] result) | Tries to parse a specified string as a Length value, including its numeric value and unit name | | parse(String input) | Parses and returns specified string as a Length value, including its numeric value and unit name, or throws an exception on failure | ##### Length() ``` public Length() ``` ##### UnitlessZero ``` public static final Length UnitlessZero ``` Unitless integer zero - default value, the same as default parameterless constructor ##### OneHundredPercents ``` public static final Length OneHundredPercents ``` 100% ##### FiftyPercents ``` public static final Length FiftyPercents ``` 50% ##### ZeroPercents ``` public static final Length ZeroPercents ``` 0% ##### fromValueWithUnit(float value, int unit) ``` public static Length fromValueWithUnit(float value, int unit) ``` Creates and returns an instance of Length type by specified float number and unit **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | >Any float (FP32) number | | unit | int | Any valid unit type | **Returns:** Length - New instance of Length type ##### fromValueWithUnit(double value, int unit) ``` public static Length fromValueWithUnit(double value, int unit) ``` Creates and returns an instance of Length type by specified double number and unit **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | Any double (FP64) number, that will be converted to float (FP32) | | unit | int | Any valid unit type | **Returns:** Length - New instance of Length type ##### fromValueWithUnit(int value, int unit) ``` public static Length fromValueWithUnit(int value, int unit) ``` Creates and returns an instance of Length type by specified integer number and unit **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | Any integer number | | unit | int | Any valid unit type | **Returns:** Length - New instance of Length type ##### isUnitlessZero() ``` public final boolean isUnitlessZero() ``` Determines whether this instance is a unitless zero or not. Unitless zero is default value of this type. Same as IsDefault property. **Returns:** boolean ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this Length instance has a default value \\u2014 unitless zero. Same as IsUnitlessZero property. **Returns:** boolean ##### getUnitType() ``` public final int getUnitType() ``` Returns a unit type of this Length instance. **Returns:** int ##### isInteger() ``` public final boolean isInteger() ``` Indicates whether the numeric value of this Length instance was originally specified and stored as an integer (INT32) number **Returns:** boolean ##### isFloat() ``` public final boolean isFloat() ``` Indicates whether the numeric value of this Length instance was originally specified and stored as a float (FP32) number **Returns:** boolean ##### getFloatValue() ``` public final float getFloatValue() ``` Returns a float numeric value of the Length instance. Never throws an exception - converts Integer value to Float if necessary. **Returns:** float ##### getIntegerValue() ``` public final int getIntegerValue() ``` Returns an integer numeric value of this Length instance, if it is internally stored as an integer, or throws an exception, if it was originally stored as a float number. **Returns:** int ##### isAbsolute() ``` public final boolean isAbsolute() ``` Gets if the length is given in absolute units. Such a length may be converted to pixels. **Returns:** boolean ##### isRelative() ``` public final boolean isRelative() ``` Gets if the length is given in relative units. Such a length cannot be converted to pixels. **Returns:** boolean ##### isZero() ``` public final boolean isZero() ``` Determines whether the numeric value of this length is a zero number **Returns:** boolean ##### isNegative() ``` public final boolean isNegative() ``` Determines whether the numeric value of this length is a negative number **Returns:** boolean ##### isPositive() ``` public final boolean isPositive() ``` Determines whether the numeric value of this length is a positive number **Returns:** boolean ##### isUnitlessNonZero() ``` public final boolean isUnitlessNonZero() ``` The value has unitless type, but is not a zero - positive or negative number **Returns:** boolean ##### toPixel() ``` public final float toPixel() ``` Converts the length to a number of pixels, if possible. If the current unit is relative, then an exception will be thrown. **Returns:** float - The number of pixels represented by the current length. ##### to(int unit) ``` public final float to(int unit) ``` Converts the length to the given unit, if possible. If the current or given unit is relative, then an exception will be thrown. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | unit | int | The unit to convert to. | **Returns:** float - The value in the given unit of the current length. ##### toStringSpecified(int unit) ``` public final String toStringSpecified(int unit) ``` Returns a string representation of this length in specified unit type. Numeric value will be converted in corresponding to unit type change. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | unit | int | Specified unit, to which this instance should be converted before serializing to the string. Should be valid. Cannot be unitless. | **Returns:** java.lang.String - String representation ##### serializeDefault() ``` public final String serializeDefault() ``` Returns a string representation of this length in its original native form (as it is stored), without converting length value to some other unit type **Returns:** java.lang.String - String instance ##### equals(Length other) ``` public final boolean equals(Length other) ``` Defines whether this value is equal to the other specified length **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Length | Other instance of Length type | **Returns:** boolean - True if equal, otherwise false ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this length is equal to specified object **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other instance of Length type, that is boxed to the System.Object or any other abstract type or interface | **Returns:** boolean - True if equal, otherwise false ##### op_Multiply(Length multiplicand, int factor) ``` public static Length op_Multiply(Length multiplicand, int factor) ``` Multiplicates the given Length onto the given factor **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | multiplicand | Length | Length - multiplicand | | factor | int | Arbitrary integer - factor | **Returns:** Length - A new Length - a product of multiplication ##### op_Equality(Length left, Length right) ``` public static boolean op_Equality(Length left, Length right) ``` Checks the equality of the two given lengths. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Length | The left length operand. | | right | Length | The right length operand. | **Returns:** boolean - True if both lengths are equal, otherwise false. ##### op_Inequality(Length left, Length right) ``` public static boolean op_Inequality(Length left, Length right) ``` Checks the inequality of the two given lengths. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Length | The left length operand. | | right | Length | The right length operand. | **Returns:** boolean - True if both lengths are not equal, otherwise false. ##### hashCode() ``` public int hashCode() ``` Calculates and returns a hash-code of this Length instance by combining hash-codes of the value and unit type **Returns:** int - Integer number ##### deepClone() ``` public final Length deepClone() ``` Returns a full copy of this Length instance **Returns:** Length - New separate instance of this Length, that is absolutely identical to this one ##### getUnitFromName(String unitName) ``` public static int getUnitFromName(String unitName) ``` Tries to parse specified unit name and return corresponding value of a Unit enum. Returns LengthUnit.Unitless if cannot find appropriate LengthUnit. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | unitName | java.lang.String | String, that represents a unit name | **Returns:** int - Value of Unit enum in any case, LengthUnit.Unitless when cannot find appropriate unit ##### tryParse(String input, Length[] result) ``` public static boolean tryParse(String input, Length[] result) ``` Tries to parse a specified string as a Length value, including its numeric value and unit name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string, that should be parsed | | result | Length\[\] | Output parameter, that contains a result of parsing. If parsing is unsuccessful, contains a default Length value \\u2014 a unitless zero. | **Returns:** boolean - True if parsing is successful, false if unsuccessful ##### parse(String input) ``` public static Length parse(String input) ``` Parses and returns specified string as a Length value, including its numeric value and unit name, or throws an exception on failure **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string, that should be parsed | **Returns:** Length - Valid parsed Length instance ### LengthUnit Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.datatypes/lengthunit.md **Inheritance:** java.lang.Object ``` public class LengthUnit ``` All supported length units [https://developer.mozilla.org/en-US/docs/Web/CSS/length\#Units][https_developer.mozilla.org_en-US_docs_Web_CSS_length_Units] [https_developer.mozilla.org_en-US_docs_Web_CSS_length_Units]: https://developer.mozilla.org/en-US/docs/Web/CSS/length#Units #### Fields | Field | Description | | --- | --- | | Unitless | Unitless - no defined length unit. | | Px | Pixel. | | Em | Em. | | Ex | Ex (x-length). | | Cm | Cm. | | Mm | Mm. | | In | In. | | Pt | Pt. | | Pc | Pc. | | Ch | Ch. | | Rem | Rem. | | Vw | Vw - viewport width. | | Vh | Vh - viewport height. | | Vmin | Vmin. | | Vmax | Vmax. | | Percent | The value is relative to a fixed (external) value, that is context dependent. | #### Methods | Method | Description | | --- | --- | | getUnit() | | | getUnits() | | ##### Unitless ``` public static final int Unitless ``` Unitless - no defined length unit. Default value. ##### Px ``` public static final int Px ``` Pixel. Relative to the viewing device. For screen display, typically one device pixel (dot) of the display. ##### Em ``` public static final int Em ``` Em. This unit represents the calculated font-size of the element. ##### Ex ``` public static final int Ex ``` Ex (x-length). This unit represents the x-height of the element's font. On fonts with the 'x' letter, this is generally the height of lowercase letters in the font; 1ex \\u2248 0.5em in many fonts. ##### Cm ``` public static final int Cm ``` Cm. One centimeter (10 millimeters). ##### Mm ``` public static final int Mm ``` Mm. One millimeter. ##### In ``` public static final int In ``` In. One inch (2.54 centimeters). ##### Pt ``` public static final int Pt ``` Pt. One point is 1/72th of an inch or 0.353 mm. ##### Pc ``` public static final int Pc ``` Pc. One pica (12 points). ##### Ch ``` public static final int Ch ``` Ch. This unit represents the width, or more precisely the advance measure, of the glyph '0' (zero, the Unicode character U+0030) in the element's font. ##### Rem ``` public static final int Rem ``` Rem. This unit represents the font-size of the root element (e.g. the font-size of the element). When used on the font-size on this root element, it represents its initial value. ##### Vw ``` public static final int Vw ``` Vw - viewport width. 1/100th of the width of the viewport. ##### Vh ``` public static final int Vh ``` Vh - viewport height. 1/100th of the height of the viewport. ##### Vmin ``` public static final int Vmin ``` Vmin. 1/100th of the minimum value between the height and the width of the viewport. ##### Vmax ``` public static final int Vmax ``` Vmax. 1/100th of the maximum value between the height and the width of the viewport. ##### Percent ``` public static final int Percent ``` The value is relative to a fixed (external) value, that is context dependent. 1% = 1/100 of the external value. ##### getUnit() ``` public static Integer[] getUnit() ``` **Returns:** java.lang.Integer[] ##### getUnits() ``` public static Map getUnits() ``` **Returns:** java.util.Map ### Ratio Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.datatypes/ratio.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.datatypes.ICssDataType ``` public class Ratio implements ICssDataType ``` Represents a "ratio" CSS data type, which is used for describing aspect ratios in media queries and for raster images by denoting the proportion between two unitless values called "numerator" and "denominator". Immutable struct. https://developer.mozilla.org/en-US/docs/Web/CSS/ratio #### Constructors | Constructor | Description | | --- | --- | | Ratio() | | #### Fields | Field | Description | | --- | --- | | Single | Single default ratio 1/1 | #### Methods | Method | Description | | --- | --- | | getNumerator() | Returns a numerator of this ratio | | getDenominator() | Returns a denominator of this ratio | | calculate() | Calculates and returns this ratio as a single floating point number | | getInverseRatio() | Generates and returns an inverse (reciprocal) ratio for this ratio | | serializeDefault() | Serializes this ratio to the string and returns it | | toString() | Returns a string representation of this ratio; same as "SerializeDefault()" | | isDefault() | Determines whether this ratio has default value or is a "1/1" (Single) | | deepClone() | Returns a full copy of this ratio | | equals(Ratio other) | Determines whether this instance is equal with specified "Ratio" instance | | equals(Object other) | Determines whether this instance is equal with specified uncasted object, which presumably is another "Ratio" instance | | op_Equality(Ratio left, Ratio right) | Compares two ratios and returns a boolean indicating if the two do match. | | op_Inequality(Ratio left, Ratio right) | Compares two ratios and returns a boolean indicating if the two do not match. | | hashCode() | Returns a hashcode for this instance, which cannot be changed during its lifetime | | create(int numerator, int denominator) | Creates and returns one Ratio instance from specified numerator and denominator | ##### Ratio() ``` public Ratio() ``` ##### Single ``` public static final Ratio Single ``` Single default ratio 1/1 ##### getNumerator() ``` public final int getNumerator() ``` Returns a numerator of this ratio **Returns:** int ##### getDenominator() ``` public final int getDenominator() ``` Returns a denominator of this ratio **Returns:** int ##### calculate() ``` public final double calculate() ``` Calculates and returns this ratio as a single floating point number **Returns:** double - Floating-point number with double precision ##### getInverseRatio() ``` public final Ratio getInverseRatio() ``` Generates and returns an inverse (reciprocal) ratio for this ratio **Returns:** Ratio - New Ratio instance, that is an inverse ratio for this one ##### serializeDefault() ``` public final String serializeDefault() ``` Serializes this ratio to the string and returns it **Returns:** java.lang.String - String in "numerator/denominator" format ##### toString() ``` public String toString() ``` Returns a string representation of this ratio; same as "SerializeDefault()" **Returns:** java.lang.String - String in "numerator/denominator" format ##### isDefault() ``` public final boolean isDefault() ``` Determines whether this ratio has default value or is a "1/1" (Single) **Returns:** boolean ##### deepClone() ``` public final Ratio deepClone() ``` Returns a full copy of this ratio **Returns:** Ratio - New Ratio instance, that is a full and deep copy of this one ##### equals(Ratio other) ``` public final boolean equals(Ratio other) ``` Determines whether this instance is equal with specified "Ratio" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Ratio | Other Ratio instance to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object other) ``` public boolean equals(Object other) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "Ratio" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | java.lang.Object | Other System.Object instance, that is presumably of Ratio type, to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(Ratio left, Ratio right) ``` public static boolean op_Equality(Ratio left, Ratio right) ``` Compares two ratios and returns a boolean indicating if the two do match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Ratio | The first ratio to use. | | right | Ratio | The second ratio to use. | **Returns:** boolean - True if both ratios are equal, otherwise false. ##### op_Inequality(Ratio left, Ratio right) ``` public static boolean op_Inequality(Ratio left, Ratio right) ``` Compares two ratios and returns a boolean indicating if the two do not match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Ratio | The first ratio to use. | | right | Ratio | The second ratio to use. | **Returns:** boolean - True if both ratios are not equal, otherwise false. ##### hashCode() ``` public int hashCode() ``` Returns a hashcode for this instance, which cannot be changed during its lifetime **Returns:** int - Signed 4-byte integer, that is immutable for this instance ##### create(int numerator, int denominator) ``` public static Ratio create(int numerator, int denominator) ``` Creates and returns one Ratio instance from specified numerator and denominator **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | int | Numerator for the ratio. Should be a strictly positive integer number. | | denominator | int | Denominator for the ratio. Should be a strictly positive integer number. | **Returns:** Ratio - New Ratio instance ### com.groupdocs.editor.htmlcss.css.properties Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.properties.md #### Classes | Class | Description | | --- | --- | | FontSize | Represents a font size as a special unit or a length value, which specifies the size of the font (historically the width of the capital "M"). | | FontStyle | Defines how the font should be styled with: a normal, italic, or oblique face from its font-family. | | FontWeight | Font-weight property sets the weight (or boldness) of the font. | | TextDecorationLineType | Represents types of the text decoration line: underline (underscore), overline, and line-through (strikethrough) | ### FontSize Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.properties/fontsize.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class FontSize implements ICssProperty ``` Represents a font size as a special unit or a length value, which specifies the size of the font (historically the width of the capital "M"). #### Constructors | Constructor | Description | | --- | --- | | FontSize() | | #### Fields | Field | Description | | --- | --- | | Medium | Medium size. | | XxSmall | The very small absolute-size | | XSmall | The mediocre small absolute-size | | Small | The normally small absolute-size | | Large | The normally large absolute-size | | XLarge | The mediocre large absolute-size | | XxLarge | The very large absolute-size | | Larger | Larger relative-size - font will be larger relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. | | Smaller | Smaller relative-size - font will be smaller relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this font-size has an initial value (Medium) | | getValue() | Returns a value of this font size as a string | | isLengthDefined() | Indicates whether this font-size is defined with a Length value | | getLength() | A length value, if this font-size was defined with it, or throwed exception otherwise | | isAbsoluteSize() | Indicates whether this font-size is defined with an absolute size as a keyword, based on the user's default font size (which is medium) | | isRelativeSize() | Indicates whether this font-size is defined with an relative size as a keyword. | | equals(FontSize other) | Determines whether this font-size instance is equal to specified | | equals(Object obj) | Determines whether this font-size instance is equal to specified uncasted | | hashCode() | Returns a hash-code for this instance | | op_Equality(FontSize first, FontSize second) | Checks whether two "FontSize" values are equal | | op_Inequality(FontSize first, FontSize second) | Checks whether two "FontSize" values are not equal | | fromLength(Length length) | Creates a font-size from specified length | | tryParse(String keyword, FontSize[] result) | Tries to recognize a specified keyword as a proper keyword value of the 'font-size' and return it on success or NULL on failure. | ##### FontSize() ``` public FontSize() ``` ##### Medium ``` public static final FontSize Medium ``` Medium size. Initial value. ##### XxSmall ``` public static final FontSize XxSmall ``` The very small absolute-size ##### XSmall ``` public static final FontSize XSmall ``` The mediocre small absolute-size ##### Small ``` public static final FontSize Small ``` The normally small absolute-size ##### Large ``` public static final FontSize Large ``` The normally large absolute-size ##### XLarge ``` public static final FontSize XLarge ``` The mediocre large absolute-size ##### XxLarge ``` public static final FontSize XxLarge ``` The very large absolute-size ##### Larger ``` public static final FontSize Larger ``` Larger relative-size - font will be larger relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. ##### Smaller ``` public static final FontSize Smaller ``` Smaller relative-size - font will be smaller relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this font-size has an initial value (Medium) **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of this font size as a string **Returns:** java.lang.String ##### isLengthDefined() ``` public final boolean isLengthDefined() ``` Indicates whether this font-size is defined with a Length value **Returns:** boolean ##### getLength() ``` public final Length getLength() ``` A length value, if this font-size was defined with it, or throwed exception otherwise **Returns:** Length ##### isAbsoluteSize() ``` public final boolean isAbsoluteSize() ``` Indicates whether this font-size is defined with an absolute size as a keyword, based on the user's default font size (which is medium) **Returns:** boolean ##### isRelativeSize() ``` public final boolean isRelativeSize() ``` Indicates whether this font-size is defined with an relative size as a keyword. The font will be larger or smaller relative to the parent element's font size, roughly by the ratio used to separate the absolute-size keywords. **Returns:** boolean ##### equals(FontSize other) ``` public final boolean equals(FontSize other) ``` Determines whether this font-size instance is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontSize | Other font-size instance | **Returns:** boolean - true if are equal, false otherwise ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this font-size instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other uncasted font-size instance, may be null | **Returns:** boolean - true if are equal, false if not equal, null or of other type ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this instance **Returns:** int - Hash-code as an signed integer ##### op_Equality(FontSize first, FontSize second) ``` public static boolean op_Equality(FontSize first, FontSize second) ``` Checks whether two "FontSize" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontSize | First value to check | | second | FontSize | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(FontSize first, FontSize second) ``` public static boolean op_Inequality(FontSize first, FontSize second) ``` Checks whether two "FontSize" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontSize | First value to check | | second | FontSize | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### fromLength(Length length) ``` public static FontSize fromLength(Length length) ``` Creates a font-size from specified length **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | length | Length | A length value, cannot be unitless or negative | **Returns:** FontSize - New FontSize instance ##### tryParse(String keyword, FontSize[] result) ``` public static boolean tryParse(String keyword, FontSize[] result) ``` Tries to recognize a specified keyword as a proper keyword value of the 'font-size' and return it on success or NULL on failure. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | A keyword to parse | | result | FontSize\[\] | Result, of parsing was successful, or \#Medium.Medium otherwise | **Returns:** boolean - true if parsing was successful, false otherwise ### FontStyle Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.properties/fontstyle.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class FontStyle implements ICssProperty ``` Defines how the font should be styled with: a normal, italic, or oblique face from its font-family. #### Constructors | Constructor | Description | | --- | --- | | FontStyle() | | #### Fields | Field | Description | | --- | --- | | Normal | Selects a font that is classified as normal within a font-family. | | Italic | Selects a font that is classified as italic. | | Oblique | Selects a font that is classified as oblique. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this font-style has an initial value (Normal) | | getValue() | Returns a value of this font style as a string | | equals(FontStyle other) | Determines whether this font-style instance is equal to specified | | equals(Object obj) | Determines whether this font-style instance is equal to specified uncasted | | hashCode() | Returns a hash-code for this instance | | op_Equality(FontStyle first, FontStyle second) | Checks whether two "FontStyle" values are equal | | op_Inequality(FontStyle first, FontStyle second) | Checks whether two "FontStyle" values are not equal | | tryParse(String keyword, FontStyle[] result) | Tries to recognize a specified keyword as a proper keyword value of the 'font-style' and return it on success or NULL on failure. | ##### FontStyle() ``` public FontStyle() ``` ##### Normal ``` public static final FontStyle Normal ``` Selects a font that is classified as normal within a font-family. Initial value. ##### Italic ``` public static final FontStyle Italic ``` Selects a font that is classified as italic. If no italic version of the face is available, one classified as oblique is used instead. If neither is available, the style is artificially simulated. ##### Oblique ``` public static final FontStyle Oblique ``` Selects a font that is classified as oblique. If no oblique version of the face is available, one classified as italic is used instead. If neither is available, the style is artificially simulated. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this font-style has an initial value (Normal) **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of this font style as a string **Returns:** java.lang.String ##### equals(FontStyle other) ``` public final boolean equals(FontStyle other) ``` Determines whether this font-style instance is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontStyle | Other font-style instance | **Returns:** boolean - true if are equal, false otherwise ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this font-style instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other uncasted font-style instance, may be null | **Returns:** boolean - true if are equal, false if not equal, null or of other type ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this instance **Returns:** int - Hash-code as an signed integer ##### op_Equality(FontStyle first, FontStyle second) ``` public static boolean op_Equality(FontStyle first, FontStyle second) ``` Checks whether two "FontStyle" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontStyle | First value to check | | second | FontStyle | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(FontStyle first, FontStyle second) ``` public static boolean op_Inequality(FontStyle first, FontStyle second) ``` Checks whether two "FontStyle" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontStyle | First value to check | | second | FontStyle | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### tryParse(String keyword, FontStyle[] result) ``` public static boolean tryParse(String keyword, FontStyle[] result) ``` Tries to recognize a specified keyword as a proper keyword value of the 'font-style' and return it on success or NULL on failure. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | A keyword to parse | | result | FontStyle\[\] | Result, of parsing was successful, or \#Normal.Normal otherwise | **Returns:** boolean - true if parsing was successful, false otherwise ### FontWeight Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.properties/fontweight.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class FontWeight implements ICssProperty ``` Font-weight property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set. #### Constructors | Constructor | Description | | --- | --- | | FontWeight() | | #### Fields | Field | Description | | --- | --- | | Lighter | One relative font weight lighter than the parent element | | Bolder | One relative font weight heavier than the parent element | | Normal | Normal font weight. | | Bold | Bold font weight. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this font-size has an initial value (Medium) | | getNumber() | Returns a number - integer value between 1 and 1000, inclusive, which describes the boldness of the font, or throws an exception, if current boldness is not absolute, but relative | | isAbsolute() | Indicates whether this font-weight instance stores an absolute value of the weight (boldness) of the font, as an integer number | | isRelative() | Indicates whether this font-weight instance stores a relative value of the weight (boldness) of the font - compared to the boldness of the parent element | | getValue() | Returns a value of this font-weight as a string | | equals(FontWeight other) | Determines whether specified FontWeight instances are equal | | equals(Object obj) | Determines whether this FontWeight instance is equal to specified uncasted | | hashCode() | Returns a hash-code for this instance | | op_Equality(FontWeight first, FontWeight second) | Checks whether two "FontWeight" values are equal | | op_Inequality(FontWeight first, FontWeight second) | Checks whether two "FontWeight" values are not equal | | fromNumber(int number) | Creates a font-weight from specified number | | tryParse(String input, FontWeight[] result) | Tries to parse a specified string and return a valid FontWeight instance on success | ##### FontWeight() ``` public FontWeight() ``` ##### Lighter ``` public static final FontWeight Lighter ``` One relative font weight lighter than the parent element ##### Bolder ``` public static final FontWeight Bolder ``` One relative font weight heavier than the parent element ##### Normal ``` public static final FontWeight Normal ``` Normal font weight. Same as 400. ##### Bold ``` public static final FontWeight Bold ``` Bold font weight. Same as 700. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this font-size has an initial value (Medium) **Returns:** boolean ##### getNumber() ``` public final int getNumber() ``` Returns a number - integer value between 1 and 1000, inclusive, which describes the boldness of the font, or throws an exception, if current boldness is not absolute, but relative **Returns:** int ##### isAbsolute() ``` public final boolean isAbsolute() ``` Indicates whether this font-weight instance stores an absolute value of the weight (boldness) of the font, as an integer number **Returns:** boolean ##### isRelative() ``` public final boolean isRelative() ``` Indicates whether this font-weight instance stores a relative value of the weight (boldness) of the font - compared to the boldness of the parent element **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of this font-weight as a string **Returns:** java.lang.String ##### equals(FontWeight other) ``` public final boolean equals(FontWeight other) ``` Determines whether specified FontWeight instances are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontWeight | Other FontWeight instance to check the equality | **Returns:** boolean - true if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this FontWeight instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other uncasted FontWeight instance, may be null | **Returns:** boolean - true if are equal, false if not equal, null or of other type ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this instance **Returns:** int - Hash-code as an signed integer ##### op_Equality(FontWeight first, FontWeight second) ``` public static boolean op_Equality(FontWeight first, FontWeight second) ``` Checks whether two "FontWeight" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontWeight | First value to check | | second | FontWeight | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(FontWeight first, FontWeight second) ``` public static boolean op_Inequality(FontWeight first, FontWeight second) ``` Checks whether two "FontWeight" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontWeight | First value to check | | second | FontWeight | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### fromNumber(int number) ``` public static FontWeight fromNumber(int number) ``` Creates a font-weight from specified number **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | number | int | Unsigned integer, must be within [1..1000] range | **Returns:** FontWeight - New FontWeight instance or exception ##### tryParse(String input, FontWeight[] result) ``` public static boolean tryParse(String input, FontWeight[] result) ``` Tries to parse a specified string and return a valid FontWeight instance on success **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string to parse | | result | FontWeight\[\] | Valid FontWeight value on success or \#Normal.Normal on failure | **Returns:** boolean - Success (true) or failure (false) of the parsing ### TextDecorationLineType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.css.properties/textdecorationlinetype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class TextDecorationLineType implements ICssProperty ``` Represents types of the text decoration line: underline (underscore), overline, and line-through (strikethrough) Immutable struct. Similar to the https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-line #### Constructors | Constructor | Description | | --- | --- | | TextDecorationLineType() | | | TextDecorationLineType(int value) | | #### Fields | Field | Description | | --- | --- | | None | Produces no text decoration. | | Underline | Each line of text is underlined. | | Overline | Each line of text has a line above it. | | LineThrough | Each line of text has a line through the middle. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this instance has an initial value \\u2014 None | | isUnderline() | Indicates whether underline (underscore) is enabled | | isOverline() | Indicates whether overline is enabled | | isLineThrough() | Indicates whether line-through (strikethrough) is enabled | | getValue() | Returns a value of all flags in this instance as text | | toString() | Returns a value of all flags in this instance as text | | equals(TextDecorationLineType other) | Indicates whether this TextDecorationLineType instance is equal to specified | | equals(Object other) | Indicates whether this TextDecorationLineType instance is equal to specified uncasted | | hashCode() | Returns a hash-code of this instance | | op_Equality(TextDecorationLineType first, TextDecorationLineType second) | Checks whether two "TextDecorationLineType" values are equal | | op_Inequality(TextDecorationLineType first, TextDecorationLineType second) | Checks whether two "TextDecorationLineType" values are not equal | | fromFlags(boolean isUnderline, boolean isOverline, boolean isLineThrough) | Creates and returns a TextDecorationLineType instance with flags, defined by the specified parameters | | tryParse(String input, TextDecorationLineType[] output) | Tries to parse a specified string and return a valid TextDecorationLineType instance | | op_Addition(TextDecorationLineType first, TextDecorationLineType second) | Combines (merges) two specified line types and produces new resultant line type, where flags are merged (union) | | op_Subtraction(TextDecorationLineType first, TextDecorationLineType second) | Subtracts second specified line type from the first specified line type and produces new resultant line type, where are present only those flags from the first operand, which are not found in the second operand (difference) | | op_Division(TextDecorationLineType first, TextDecorationLineType second) | Returns an intersection between first and second line types, where only those flags are enabled, which are enabled simultaneously in both operands. | | to_TextDecorationLineType(byte octet) | Casts specific byte (8-bit octet) to the corresponding TextDecorationLineType, throws exception if casting is invalid | ##### TextDecorationLineType() ``` public TextDecorationLineType() ``` ##### TextDecorationLineType(int value) ``` public TextDecorationLineType(int value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### None ``` public static final TextDecorationLineType None ``` Produces no text decoration. Initial value. ##### Underline ``` public static final TextDecorationLineType Underline ``` Each line of text is underlined. ##### Overline ``` public static final TextDecorationLineType Overline ``` Each line of text has a line above it. ##### LineThrough ``` public static final TextDecorationLineType LineThrough ``` Each line of text has a line through the middle. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this instance has an initial value \\u2014 None **Returns:** boolean ##### isUnderline() ``` public final boolean isUnderline() ``` Indicates whether underline (underscore) is enabled **Returns:** boolean ##### isOverline() ``` public final boolean isOverline() ``` Indicates whether overline is enabled **Returns:** boolean ##### isLineThrough() ``` public final boolean isLineThrough() ``` Indicates whether line-through (strikethrough) is enabled **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of all flags in this instance as text **Returns:** java.lang.String ##### toString() ``` public String toString() ``` Returns a value of all flags in this instance as text **Returns:** java.lang.String ##### equals(TextDecorationLineType other) ``` public final boolean equals(TextDecorationLineType other) ``` Indicates whether this TextDecorationLineType instance is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TextDecorationLineType | Other TextDecorationLineType instance | **Returns:** boolean - true if are equal, false otherwise ##### equals(Object other) ``` public boolean equals(Object other) ``` Indicates whether this TextDecorationLineType instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | java.lang.Object | Other TextDecorationLineType instance, casted to object | **Returns:** boolean - true if are equal, false otherwise ##### hashCode() ``` public int hashCode() ``` Returns a hash-code of this instance **Returns:** int - Signed integer hash-code ##### op_Equality(TextDecorationLineType first, TextDecorationLineType second) ``` public static boolean op_Equality(TextDecorationLineType first, TextDecorationLineType second) ``` Checks whether two "TextDecorationLineType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First operand to check | | second | TextDecorationLineType | Second operand to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(TextDecorationLineType first, TextDecorationLineType second) ``` public static boolean op_Inequality(TextDecorationLineType first, TextDecorationLineType second) ``` Checks whether two "TextDecorationLineType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First operand to check | | second | TextDecorationLineType | Second operand to check | **Returns:** boolean - true if are unequal, false otherwise ##### fromFlags(boolean isUnderline, boolean isOverline, boolean isLineThrough) ``` public static TextDecorationLineType fromFlags(boolean isUnderline, boolean isOverline, boolean isLineThrough) ``` Creates and returns a TextDecorationLineType instance with flags, defined by the specified parameters **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isUnderline | boolean | Determines whether an underline flag is enabled or not | | isOverline | boolean | Determines whether an overline flag is enabled or not | | isLineThrough | boolean | Determines whether an line-through flag is enabled or not | **Returns:** TextDecorationLineType - New TextDecorationLineType instance ##### tryParse(String input, TextDecorationLineType[] output) ``` public static boolean tryParse(String input, TextDecorationLineType[] output) ``` Tries to parse a specified string and return a valid TextDecorationLineType instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string | | output | TextDecorationLineType\[\] | Result. If parsing is invalid, it is a \#None.None value | **Returns:** boolean - true if parsing was successful, false on failure ##### op_Addition(TextDecorationLineType first, TextDecorationLineType second) ``` public static TextDecorationLineType op_Addition(TextDecorationLineType first, TextDecorationLineType second) ``` Combines (merges) two specified line types and produces new resultant line type, where flags are merged (union) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | **Returns:** TextDecorationLineType - Result of the union between specified operands ##### op_Subtraction(TextDecorationLineType first, TextDecorationLineType second) ``` public static TextDecorationLineType op_Subtraction(TextDecorationLineType first, TextDecorationLineType second) ``` Subtracts second specified line type from the first specified line type and produces new resultant line type, where are present only those flags from the first operand, which are not found in the second operand (difference) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | **Returns:** TextDecorationLineType - Result of the difference between the first (minuend) and second (subtrahend) operands ##### op_Division(TextDecorationLineType first, TextDecorationLineType second) ``` public static TextDecorationLineType op_Division(TextDecorationLineType first, TextDecorationLineType second) ``` Returns an intersection between first and second line types, where only those flags are enabled, which are enabled simultaneously in both operands. Has the highest priority between all operators (higher than union and difference) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | **Returns:** TextDecorationLineType - Result of the intersection between specified operands ##### to_TextDecorationLineType(byte octet) ``` public static TextDecorationLineType to_TextDecorationLineType(byte octet) ``` Casts specific byte (8-bit octet) to the corresponding TextDecorationLineType, throws exception if casting is invalid **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | octet | byte | A 8-bit octet (bitfield), where 5 leading bits are zeros, while last 3 indicate flags | **Returns:** TextDecorationLineType ### com.groupdocs.editor.htmlcss.exceptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.exceptions.md The **com.groupdocs.editor.htmlcss.exceptions** namespace provides exceptions that is thrown when trying to open, load, save or process somehow else some content. #### Classes | Class | Description | | --- | --- | | InvalidFontFormatException | The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is a font of supported (known) format, but actually is a font of unsupported or unexpected format or not a font at all. | | InvalidImageFormatException | The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected type or not an image at all. | ### InvalidFontFormatException Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.exceptions/invalidfontformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public class InvalidFontFormatException extends RuntimeException ``` The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is a font of supported (known) format, but actually is a font of unsupported or unexpected format or not a font at all. #### Constructors | Constructor | Description | | --- | --- | | InvalidFontFormatException(String message) | Creates new instance of with specified error message | | InvalidFontFormatException(String message, RuntimeException innerException) | Creates new instance of @see "InvalidFontFormatException" with specified error message and a reference to the inner exception that is the cause of this exception | ##### InvalidFontFormatException(String message) ``` public InvalidFontFormatException(String message) ``` Creates new instance of with specified error message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | ##### InvalidFontFormatException(String message, RuntimeException innerException) ``` public InvalidFontFormatException(String message, RuntimeException innerException) ``` Creates new instance of @see "InvalidFontFormatException" with specified error message and a reference to the inner exception that is the cause of this exception **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. | ### InvalidImageFormatException Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.exceptions/invalidimageformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public class InvalidImageFormatException extends RuntimeException ``` The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected type or not an image at all. #### Constructors | Constructor | Description | | --- | --- | | InvalidImageFormatException(String message) | Creates new instance of InvalidImageFormatException with specified error message | | InvalidImageFormatException(String message, RuntimeException innerException) | Creates new instance of InvalidImageFormatException with specified error message and a reference to the inner exception that is the cause of this exception | ##### InvalidImageFormatException(String message) ``` public InvalidImageFormatException(String message) ``` Creates new instance of InvalidImageFormatException with specified error message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | ##### InvalidImageFormatException(String message, RuntimeException innerException) ``` public InvalidImageFormatException(String message, RuntimeException innerException) ``` Creates new instance of InvalidImageFormatException with specified error message and a reference to the inner exception that is the cause of this exception **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. | ### com.groupdocs.editor.htmlcss.resources.audio Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.audio.md The **com.groupdocs.editor.htmlcss.resources.audio** namespace provides classes that represent audio resources. #### Classes | Class | Description | | --- | --- | | AudioType | Represents one supportable audio type (format) | | Mp3Audio | Represents one audio resource of arbitrary format | ### AudioType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.audio/audiotype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class AudioType implements IResourceType ``` Represents one supportable audio type (format) #### Constructors | Constructor | Description | | --- | --- | | AudioType() | | #### Methods | Method | Description | | --- | --- | | getFormalName() | Formal name of this audio format | | getFileExtension() | Filename extension (without dot character) for this audio format | | getMimeCode() | MIME code for this audio format | | equals(AudioType other) | Determines whether this instance is equal with specified "AudioType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "AudioType" instance | | op_Equality(AudioType first, AudioType second) | Checks whether two "AudioType" values are equal | | op_Inequality(AudioType first, AudioType second) | Checks whether two "AudioType" values are not equal | | hashCode() | Returns a hash-code, which is a constant number for this specific value type | | getUndefined() | Special value, which marks undefined, unknown or unsupported audio format | | getMp3() | Represents a MPEG-1 Audio Layer III audio format | | parseFromFilenameWithExtension(String filename) | Returns AudioType value, which is equivalent of filename extension, which is extracted from specified filename | ##### AudioType() ``` public AudioType() ``` ##### getFormalName() ``` public final String getFormalName() ``` Formal name of this audio format **Returns:** java.lang.String ##### getFileExtension() ``` public final String getFileExtension() ``` Filename extension (without dot character) for this audio format **Returns:** java.lang.String ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code for this audio format **Returns:** java.lang.String ##### equals(AudioType other) ``` public final boolean equals(AudioType other) ``` Determines whether this instance is equal with specified "AudioType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | AudioType | Other AudioType instance to check with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "AudioType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other instance presumably of AudioType struct, that was boxed to System.Object | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(AudioType first, AudioType second) ``` public static boolean op_Equality(AudioType first, AudioType second) ``` Checks whether two "AudioType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | AudioType | First AudioType to check | | second | AudioType | Second AudioType to check | **Returns:** boolean - True if are equal, false if are unequal ##### op_Inequality(AudioType first, AudioType second) ``` public static boolean op_Inequality(AudioType first, AudioType second) ``` Checks whether two "AudioType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | AudioType | First AudioType to check | | second | AudioType | Second AudioType to check | **Returns:** boolean - True if are equal, false if are unequal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is a constant number for this specific value type **Returns:** int - 4-byte signed integer, 0 for Undefined value ##### getUndefined() ``` public static AudioType getUndefined() ``` Special value, which marks undefined, unknown or unsupported audio format **Returns:** AudioType ##### getMp3() ``` public static AudioType getMp3() ``` Represents a MPEG-1 Audio Layer III audio format **Returns:** AudioType ##### parseFromFilenameWithExtension(String filename) ``` public static AudioType parseFromFilenameWithExtension(String filename) ``` Returns AudioType value, which is equivalent of filename extension, which is extracted from specified filename **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Arbitrary filename, can be a relative or full path | **Returns:** AudioType - AudioType value. Returns AudioType.Undefined, if extension cannot be recognized. ### Mp3Audio Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.audio/mp3audio.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource ``` public final class Mp3Audio implements IHtmlResource ``` Represents one audio resource of arbitrary format #### Constructors | Constructor | Description | | --- | --- | | Mp3Audio(String name, InputStream binaryContent) | Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid MP3 content | | getName() | Returns name of this MP3 content. | | getFilenameWithExtension() | Returns correct filename of this MP3 content, which consists of name and extension. | | getType() | Returns a AudioType.Mp3 | | getByteContent() | Returns content of this font as byte stream | | getTextContent() | Returns content of this MP3 resource as base64-encoded string. | | save(String fullPathToFile) | Saves this MP3 resource to the specified file | | equals(IHtmlResource other) | Checks this instance with specified HTML resource on reference equality | | equals(Mp3Audio other) | Checks this instance with specified font resource on reference equality | | dispose() | Disposes this MP3 resource, disposing its content and making most methods and properties non-working | | isDisposed() | Determines whether this MP3 content is disposed or not | ##### Mp3Audio(String name, InputStream binaryContent) ``` public Mp3Audio(String name, InputStream binaryContent) ``` Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the MP3 content. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Disposed ``` public final Event Disposed ``` ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid MP3 content **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a MP3 content | **Returns:** boolean - True if specified stream contains valid MP3 content, false otherwise ##### getName() ``` public final String getName() ``` Returns name of this MP3 content. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this MP3 content, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getType() ``` public final AudioType getType() ``` Returns a AudioType.Mp3 **Returns:** AudioType ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this font as byte stream **Returns:** java.io.InputStream ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this MP3 resource as base64-encoded string. This value is cached after first invoke. **Returns:** java.lang.String ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this MP3 resource to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified HTML resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other inheritor of IHtmlResource interface | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Mp3Audio other) ``` public final boolean equals(Mp3Audio other) ``` Checks this instance with specified font resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Mp3Audio | Other instance of Mp3Audio class | **Returns:** boolean - True if are equal, false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this MP3 resource, disposing its content and making most methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this MP3 content is disposed or not **Returns:** boolean ### com.groupdocs.editor.htmlcss.resources.fonts Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts.md The **com.groupdocs.editor.htmlcss.resources.fonts** namespace provides classes that represent font resources. #### Classes | Class | Description | | --- | --- | | EotFont | Represents one font in the EOT (Embedded OpenType) format | | FontResourceBase | Base class for any supported font type as a resource for the HTML document with all its properties | | FontType | Represents one supportable font type | | OtfFont | Represents one font in the OTF (Open Type Format) format | | TtfFont | Represents one font in the TTF (TrueType Font) format | | Woff2Font | Represents one font in the WOFF2 (Web Open Font Format) format | | WoffFont | Represents one font in the WOFF (Web Open Font Format) format | ### EotFont Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts/eotfont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class EotFont extends FontResourceBase ``` Represents one font in the EOT (Embedded OpenType) format #### Constructors | Constructor | Description | | --- | --- | | EotFont(String name, String contentInBase64) | Creates new EotFont class from content, represented as base64-encoded string, and with specified name | | EotFont(String name, InputStream binaryContent) | Creates new EotFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | EOT header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid EOT font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid EOT font | | getType() | Returns FontType.Eot | ##### EotFont(String name, String contentInBase64) ``` public EotFont(String name, String contentInBase64) ``` Creates new EotFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EOT font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a EOT content, exception will be thrown. | ##### EotFont(String name, InputStream binaryContent) ``` public EotFont(String name, InputStream binaryContent) ``` Creates new EotFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EOT font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` EOT header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid EOT font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a EOT resource | **Returns:** boolean - True if specified stream contains valid EOT font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid EOT font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably EOT font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid EOT font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Eot **Returns:** FontType ### FontResourceBase Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts/fontresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource ``` public abstract class FontResourceBase implements IHtmlResource ``` Base class for any supported font type as a resource for the HTML document with all its properties #### Constructors | Constructor | Description | | --- | --- | | FontResourceBase() | | #### Fields | Field | Description | | --- | --- | | Disposed | Event, which occurs when this font is disposed | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this font resource. | | getFilenameWithExtension() | Returns correct filename of this font resource, which consists of name and extension. | | getByteContent() | Returns content of this font as byte stream | | getTextContent() | Returns content of this font as base64-encoded string. | | save(String fullPathToFile) | Saves this font to the specified file | | equals(IHtmlResource other) | Checks this instance with specified HTML resource on reference equality | | equals(FontResourceBase other) | Checks this instance with specified font resource on reference equality | | dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | isDisposed() | Determines whether this font is disposed or not | | getType() | In implementing type should return information about type of specific font resource as an instance of specific FontType type, which encapsulates all type-specific info | ##### FontResourceBase() ``` public FontResourceBase() ``` ##### Disposed ``` public final Event Disposed ``` Event, which occurs when this font is disposed ##### getName() ``` public final String getName() ``` Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this font as byte stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this font as base64-encoded string. This value is cached after first invoke. **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this font to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified HTML resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other inheritor of IHtmlResource interface | **Returns:** boolean - True if are equal, false if are unequal ##### equals(FontResourceBase other) ``` public final boolean equals(FontResourceBase other) ``` Checks this instance with specified font resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontResourceBase | Other inheritor of FontResourceBase abstract class | **Returns:** boolean - True if are equal, false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this font resource, disposing its content and making most methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this font is disposed or not **Returns:** boolean - ##### getType() ``` public abstract FontType getType() ``` In implementing type should return information about type of specific font resource as an instance of specific FontType type, which encapsulates all type-specific info **Returns:** FontType ### FontType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts/fonttype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class FontType implements IResourceType ``` Represents one supportable font type #### Constructors | Constructor | Description | | --- | --- | | FontType() | | #### Methods | Method | Description | | --- | --- | | getUndefined() | Special value, which marks undefined, unknown or unsupported font resource | | getWoff() | Represents a WOFF (Web Open Font Format) font type | | getWoff2() | Represents a WOFF2 (Web Open Font Format version 2) font type | | getTtf() | Represents a TTF (TrueType Font) font type | | getEot() | Represents a EOT (Embedded OpenType) font type | | getOtf() | Represents a OTF (OpenType Font) font type | | getCssName() | Returns CSS-compatible name of this font type, which is used in the | | getFormalName() | Returns a formal name of this font type | | getFileExtension() | Filename extension (without dot character) for this font type | | getFontFormat() | Font format for @font-face format | | getMimeCode() | MIME code of a particular font type | | parseFromCssName(String name) | Returns FontType value, which is equivalent of specified CSS-compatible name of the font type | | parseFromFilenameWithExtension(String filename) | Returns FontType value, which is equivalent of filename extension, which is extracted from specified filename | | parseFromMime(String mimeCode) | Returns FontType value, which is equivalent of specified MIME-code | | getFirstDefined(FontType[] fonts) | Returns a first font type from specified set, which is not an "Undefined" value, or "Undefined" font type otherwise (when all items are "Undefined") | | equals(FontType other) | Determines whether this instance is equal with specified "FontType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "FontType" instance | | op_Equality(FontType first, FontType second) | Checks whether two "FontType" values are equal | | op_Inequality(FontType first, FontType second) | Checks whether two "FontType" values are not equal | | hashCode() | Returns a hash-code, which is a constant number for this specific value type | ##### FontType() ``` public FontType() ``` ##### getUndefined() ``` public static FontType getUndefined() ``` Special value, which marks undefined, unknown or unsupported font resource **Returns:** FontType - ##### getWoff() ``` public static FontType getWoff() ``` Represents a WOFF (Web Open Font Format) font type **Returns:** FontType - ##### getWoff2() ``` public static FontType getWoff2() ``` Represents a WOFF2 (Web Open Font Format version 2) font type **Returns:** FontType - ##### getTtf() ``` public static FontType getTtf() ``` Represents a TTF (TrueType Font) font type **Returns:** FontType - ##### getEot() ``` public static FontType getEot() ``` Represents a EOT (Embedded OpenType) font type **Returns:** FontType - ##### getOtf() ``` public static FontType getOtf() ``` Represents a OTF (OpenType Font) font type **Returns:** FontType - ##### getCssName() ``` public final String getCssName() ``` Returns CSS-compatible name of this font type, which is used in the **Returns:** java.lang.String - ##### getFormalName() ``` public final String getFormalName() ``` Returns a formal name of this font type **Returns:** java.lang.String - ##### getFileExtension() ``` public final String getFileExtension() ``` Filename extension (without dot character) for this font type **Returns:** java.lang.String - ##### getFontFormat() ``` public final String getFontFormat() ``` Font format for @font-face format **Returns:** java.lang.String - ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code of a particular font type **Returns:** java.lang.String - ##### parseFromCssName(String name) ``` public static FontType parseFromCssName(String name) ``` Returns FontType value, which is equivalent of specified CSS-compatible name of the font type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | CSS-compatible name of the font type | **Returns:** FontType - Valid FontType value on success or FontType.Undefined on failure ##### parseFromFilenameWithExtension(String filename) ``` public static FontType parseFromFilenameWithExtension(String filename) ``` Returns FontType value, which is equivalent of filename extension, which is extracted from specified filename **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Filename with extension, may be a full name | **Returns:** FontType - Valid FontType value on success or FontType.Undefined on failure ##### parseFromMime(String mimeCode) ``` public static FontType parseFromMime(String mimeCode) ``` Returns FontType value, which is equivalent of specified MIME-code **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mimeCode | java.lang.String | MIME-code | **Returns:** FontType - Valid FontType value on success or FontType.Undefined on failure ##### getFirstDefined(FontType[] fonts) ``` public static FontType getFirstDefined(FontType[] fonts) ``` Returns a first font type from specified set, which is not an "Undefined" value, or "Undefined" font type otherwise (when all items are "Undefined") **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fonts | FontType\[\] | One or more FontType values, NULL or empty collection is not allowed | **Returns:** FontType - First FontType value from specified collection, that is not Undefined, or Undefined, if all items are Undefined ##### equals(FontType other) ``` public final boolean equals(FontType other) ``` Determines whether this instance is equal with specified "FontType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontType | Other FontType instance to check with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "FontType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other instance presumably of FontType struct, that was boxed to System.Object | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(FontType first, FontType second) ``` public static boolean op_Equality(FontType first, FontType second) ``` Checks whether two "FontType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontType | First FontType to check | | second | FontType | Second FontType to check | **Returns:** boolean - True if are equal, false if are unequal ##### op_Inequality(FontType first, FontType second) ``` public static boolean op_Inequality(FontType first, FontType second) ``` Checks whether two "FontType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontType | First FontType to check | | second | FontType | Second FontType to check | **Returns:** boolean - True if are equal, false if are unequal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is a constant number for this specific value type **Returns:** int - 4-byte signed integer, 0 for Undefined value ### OtfFont Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts/otffont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class OtfFont extends FontResourceBase ``` Represents one font in the OTF (Open Type Format) format #### Constructors | Constructor | Description | | --- | --- | | OtfFont(String name, String contentInBase64) | Creates new OtfFont class from content, represented as base64-encoded string, and with specified name | | OtfFont(String name, InputStream binaryContent) | Creates new OtfFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | OTF header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid OTF font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid OTF font | | getType() | Returns FontType.Otf (FontType.getOtf) | ##### OtfFont(String name, String contentInBase64) ``` public OtfFont(String name, String contentInBase64) ``` Creates new OtfFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the OTF font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a OTF content, exception will be thrown. | ##### OtfFont(String name, InputStream binaryContent) ``` public OtfFont(String name, InputStream binaryContent) ``` Creates new OtfFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the OTF font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` OTF header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid OTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a OTF resource | **Returns:** boolean - True if specified stream contains valid OTF font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid OTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably OTF font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid OTF font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Otf (FontType.getOtf) **Returns:** FontType - ### TtfFont Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts/ttffont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class TtfFont extends FontResourceBase ``` Represents one font in the TTF (TrueType Font) format #### Constructors | Constructor | Description | | --- | --- | | TtfFont(String name, String contentInBase64) | Creates new TtfFont class from content, represented as base64-encoded string, and with specified name | | TtfFont(String name, InputStream binaryContent) | Creates new TtfFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | TTF header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid TTF font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid TTF font | | getType() | Returns FontType.Ttf | ##### TtfFont(String name, String contentInBase64) ``` public TtfFont(String name, String contentInBase64) ``` Creates new TtfFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the TTF font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a TTF content, exception will be thrown. | ##### TtfFont(String name, InputStream binaryContent) ``` public TtfFont(String name, InputStream binaryContent) ``` Creates new TtfFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the TTF font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` TTF header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid TTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a TTF resource | **Returns:** boolean - True if specified stream contains valid TTF font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid TTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably TTF font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid TTF font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Ttf **Returns:** FontType ### Woff2Font Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts/woff2font.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class Woff2Font extends FontResourceBase ``` Represents one font in the WOFF2 (Web Open Font Format) format #### Constructors | Constructor | Description | | --- | --- | | Woff2Font(String name, String contentInBase64) | Creates new Woff2Font class from content, represented as base64-encoded string, and with specified name | | Woff2Font(String name, InputStream binaryContent) | Creates new Woff2Font class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | WOFF2 header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid WOFF2 font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid WOFF2 font | | getType() | Returns FontType.Woff2 | ##### Woff2Font(String name, String contentInBase64) ``` public Woff2Font(String name, String contentInBase64) ``` Creates new Woff2Font class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF2 font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WOFF2 content, exception will be thrown. | ##### Woff2Font(String name, InputStream binaryContent) ``` public Woff2Font(String name, InputStream binaryContent) ``` Creates new Woff2Font class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF2 font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seakable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` WOFF2 header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid WOFF2 font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a WOFF2 resource | **Returns:** boolean - True if specified stream contains valid WOFF2 font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid WOFF2 font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably WOFF2 font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid WOFF2 font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Woff2 **Returns:** FontType ### WoffFont Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.fonts/wofffont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class WoffFont extends FontResourceBase ``` Represents one font in the WOFF (Web Open Font Format) format #### Constructors | Constructor | Description | | --- | --- | | WoffFont(String name, String contentInBase64) | Creates new WoffFont class from content, represented as base64-encoded string, and with specified name | | WoffFont(String name, InputStream binaryContent) | Creates new WoffFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | WOFF header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid WOFF font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid WOFF font | | getType() | Returns FontType.Woff | ##### WoffFont(String name, String contentInBase64) ``` public WoffFont(String name, String contentInBase64) ``` Creates new WoffFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WOFF content, exception will be thrown. | ##### WoffFont(String name, InputStream binaryContent) ``` public WoffFont(String name, InputStream binaryContent) ``` Creates new WoffFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seakable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` WOFF header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid WOFF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a WOFF resource | **Returns:** boolean - True if specified stream contains valid WOFF font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid WOFF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably WOFF font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid WOFF font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Woff **Returns:** FontType ### com.groupdocs.editor.htmlcss.resources.images.raster Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster.md The **com.groupdocs.editor.htmlcss.resources.images.raster** namespace provides classes that represent only raster image resources. #### Classes | Class | Description | | --- | --- | | BmpImage | Represents one image in BMP (BitMap Picture) format with its metadata and additional methods | | GifImage | Represents one image in GIF (Graphics Interchange Format) format with its metadata and additional methods | | IconImage | Represents one image in ICON format with its metadata and additional methods | | JpegImage | Represents one image in JPEG (Joint Photographic Experts Group) format with its metadata and additional methods | | PngImage | Represents one image in PNG (Portable Network Graphics) format with its metadata and additional methods | | RasterImageResourceBase | Base class for any supported raster image with fixed name, dimensions, aspect ratio, type, size, and content. | | TiffImage | Represents one image in TIFF (Tagged Image File Format) format with its metadata and additional methods | ### BmpImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster/bmpimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class BmpImage extends RasterImageResourceBase ``` Represents one image in BMP (BitMap Picture) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | BmpImage(String name, String contentInBase64) | Creates new BmpImage instance from content, represented as base64-encoded string, and with specified name | | BmpImage(String name, InputStream binaryContent) | Creates new BmpImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid BMP image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid BMP image | | getType() | Returns ImageType.Bmp | ##### BmpImage(String name, String contentInBase64) ``` public BmpImage(String name, String contentInBase64) ``` Creates new BmpImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the BMP image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a BMP content, exception will be thrown. | ##### BmpImage(String name, InputStream binaryContent) ``` public BmpImage(String name, InputStream binaryContent) ``` Creates new BmpImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the BMP image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid BMP image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a BMP image | **Returns:** boolean - True if specified stream contains valid BMP image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid BMP image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably BMP image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid BMP image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Bmp **Returns:** ImageType ### GifImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster/gifimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class GifImage extends RasterImageResourceBase ``` Represents one image in GIF (Graphics Interchange Format) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | GifImage(String name, String contentInBase64) | Creates new GifImage instance from content, represented as base64-encoded string, and with specified name | | GifImage(String name, InputStream binaryContent) | Creates new GifImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid GIF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid GIF image | | getType() | Returns ImageType.Gif | | getVersion() | Returns internal version of this GIF image (version is extracted from header) | ##### GifImage(String name, String contentInBase64) ``` public GifImage(String name, String contentInBase64) ``` Creates new GifImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the GIF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a GIF content, exception will be thrown. | ##### GifImage(String name, InputStream binaryContent) ``` public GifImage(String name, InputStream binaryContent) ``` Creates new GifImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the GIF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid GIF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a GIF image | **Returns:** boolean - True if specified stream contains valid GIF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid GIF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably GIF image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid GIF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Gif **Returns:** ImageType ##### getVersion() ``` public final String getVersion() ``` Returns internal version of this GIF image (version is extracted from header) **Returns:** java.lang.String ### IconImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster/iconimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class IconImage extends RasterImageResourceBase ``` Represents one image in ICON format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | IconImage(String name, String contentInBase64) | Creates new IconImage instance from content, represented as base64-encoded string, and with specified name | | IconImage(String name, InputStream binaryContent) | Creates new IconImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid ICON image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid ICON image | | getType() | Returns ImageType.Icon | | getNumberOfImages() | Returns number of images, which are present in this ICON file | ##### IconImage(String name, String contentInBase64) ``` public IconImage(String name, String contentInBase64) ``` Creates new IconImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the ICON image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a ICON content, exception will be thrown. | ##### IconImage(String name, InputStream binaryContent) ``` public IconImage(String name, InputStream binaryContent) ``` Creates new IconImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the ICON image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid ICON image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a ICON image | **Returns:** boolean - True if specified stream contains valid ICON image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid ICON image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably ICON image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid ICON image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Icon **Returns:** ImageType ##### getNumberOfImages() ``` public final int getNumberOfImages() ``` Returns number of images, which are present in this ICON file **Returns:** int ### JpegImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster/jpegimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class JpegImage extends RasterImageResourceBase ``` Represents one image in JPEG (Joint Photographic Experts Group) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | JpegImage(String name, String contentInBase64) | Creates new JpegImage instance from content, represented as base64-encoded string, and with specified name | | JpegImage(String name, InputStream binaryContent) | Creates new JpegImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid JPEG image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid JPEG image | | getType() | Returns ImageType.Jpeg | ##### JpegImage(String name, String contentInBase64) ``` public JpegImage(String name, String contentInBase64) ``` Creates new JpegImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the JPEG image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a JPEG content, exception will be thrown. | ##### JpegImage(String name, InputStream binaryContent) ``` public JpegImage(String name, InputStream binaryContent) ``` Creates new JpegImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the JPEG image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid JPEG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a JPEG image | **Returns:** boolean - True if specified stream contains valid JPEG image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid JPEG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably JPEG image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid JPEG image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Jpeg **Returns:** ImageType - ### PngImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster/pngimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class PngImage extends RasterImageResourceBase ``` Represents one image in PNG (Portable Network Graphics) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | PngImage(String name, String contentInBase64) | Creates new PngImage instance from content, represented as base64-encoded string, and with specified name | | PngImage(String name, InputStream binaryContent) | Creates new PngImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid PNG image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid PNG image | | getType() | Returns ImageType.Png | ##### PngImage(String name, String contentInBase64) ``` public PngImage(String name, String contentInBase64) ``` Creates new PngImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the PNG image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a PNG content, exception will be thrown. | ##### PngImage(String name, InputStream binaryContent) ``` public PngImage(String name, InputStream binaryContent) ``` Creates new PngImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the PNG image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a PNG image | **Returns:** boolean - True if specified stream contains valid PNG image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably PNG image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid PNG image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Png **Returns:** ImageType - ### RasterImageResourceBase Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.images.IImageResource ``` public abstract class RasterImageResourceBase implements IImageResource ``` Base class for any supported raster image with fixed name, dimensions, aspect ratio, type, size, and content. #### Constructors | Constructor | Description | | --- | --- | | RasterImageResourceBase() | | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this raster image. | | getFilenameWithExtension() | Returns correct filename of this raster image, which consists of name and extension. | | getLinearDimensions() | Returns linear dimensions of this raster image (width and height) | | getAspectRatio() | Returns an aspect ratio of this image as the width-to-height relation | | getLength() | Returns the length of this raster image file in bytes | | getByteContent() | Returns content of this raster image as byte stream | | getTextContent() | Returns content of this raster image as base64-encoded string | | save(String fullPathToFile) | Saves this raster image to the specified file | | equals(IHtmlResource other) | Checks this instance with specified on reference equality. | | dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | isDisposed() | Determines whether this raster image is disposed or not | | getType() | In implementing type should return information about type of the raster image | ##### RasterImageResourceBase() ``` public RasterImageResourceBase() ``` ##### Disposed ``` public final Event Disposed ``` ##### getName() ``` public final String getName() ``` Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getLinearDimensions() ``` public final Dimensions getLinearDimensions() ``` Returns linear dimensions of this raster image (width and height) **Returns:** Dimensions ##### getAspectRatio() ``` public final Ratio getAspectRatio() ``` Returns an aspect ratio of this image as the width-to-height relation **Returns:** Ratio ##### getLength() ``` public final int getLength() ``` Returns the length of this raster image file in bytes **Returns:** int - ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this raster image as byte stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this raster image as base64-encoded string **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this raster image to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified on reference equality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other IHtmlResource inheritor | **Returns:** boolean - True if are equal, false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this raster image, disposing its content and making most methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this raster image is disposed or not **Returns:** boolean - ##### getType() ``` public abstract ImageType getType() ``` In implementing type should return information about type of the raster image **Returns:** ImageType - ### TiffImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.raster/tiffimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class TiffImage extends RasterImageResourceBase ``` Represents one image in TIFF (Tagged Image File Format) format with its metadata and additional methods See https://en.wikipedia.org/wiki/TIFF for details. In very rare cases TIFF is present inside WordProcessing documents. #### Constructors | Constructor | Description | | --- | --- | | TiffImage(String name, String contentInBase64) | Creates new TiffImage instance from content, represented as base64-encoded string, and with specified name | | TiffImage(String name, InputStream binaryContent) | Creates new GifImage instance from content, represented as byte stream, and with specified name | | TiffImage(String name, System.IO.Stream binaryContent) | | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid TIFF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid TIFF image | | getType() | Returns ImageType.Tiff | | getFramesCount() | Returns a number of frames (images) inside this TIFF image. | ##### TiffImage(String name, String contentInBase64) ``` public TiffImage(String name, String contentInBase64) ``` Creates new TiffImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the TIFF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a TIFF content, exception will be thrown. | ##### TiffImage(String name, InputStream binaryContent) ``` public TiffImage(String name, InputStream binaryContent) ``` Creates new GifImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the GIF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### TiffImage(String name, System.IO.Stream binaryContent) ``` public TiffImage(String name, System.IO.Stream binaryContent) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | | binaryContent | com.aspose.ms.System.IO.Stream | | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid TIFF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a TIFF image | **Returns:** boolean - True if specified stream contains valid TIFF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid TIFF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably TIFF image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid TIFF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Tiff **Returns:** ImageType - ##### getFramesCount() ``` public final int getFramesCount() ``` Returns a number of frames (images) inside this TIFF image. Cannot be lesser then 1. **Returns:** int - ### com.groupdocs.editor.htmlcss.resources.images.vector Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector.md The **com.groupdocs.editor.htmlcss.resources.images.vector** namespace provides classes that represent only vector image resources. #### Classes | Class | Description | | --- | --- | | EmfImage | Represents one vector image in Enhanced metafile format (EMF) format with its metadata and additional methods | | MetaImageBase | Base abstract class for WMF and EMF image formats | | SvgImage | Represents one vector image in SVG (Scalable Vector Graphics) format with its metadata and additional methods | | VectorImageResourceBase | Base class for any supported vector image | | WmfImage | Represents one vector image in WMF (Windows MetaFile) format with its metadata and additional methods | ### EmfImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/emfimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase, com.groupdocs.editor.htmlcss.resources.images.vector.MetaImageBase ``` public final class EmfImage extends MetaImageBase ``` Represents one vector image in Enhanced metafile format (EMF) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | EmfImage(String name, String contentInBase64) | Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name | | EmfImage(String name, InputStream binaryContent) | Creates new EmfImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid EMF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid EMF image | | getType() | Returns ImageType.Emf | | getByteContent() | Returns a content of this EMF image as a binary stream | | getTextContent() | Returns a content of this EMF image as a plain text | | save(String fullPathToFile) | Saves this EMF image to the file | | saveToPng(OutputStream outputPngContent) | Saves this vector EMF image into raster PNG image | | saveToSvg(OutputStream outputSvgContent) | Saves this vector EMF image into vector SVG image | | dispose() | Disposes this EMF image by disposing its content and making most its methods and properties non-working | ##### EmfImage(String name, String contentInBase64) ``` public EmfImage(String name, String contentInBase64) ``` Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EMF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a EMF content, exception will be thrown. | ##### EmfImage(String name, InputStream binaryContent) ``` public EmfImage(String name, InputStream binaryContent) ``` Creates new EmfImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EMF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid EMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Cannot be NULL, should support reading and seeking. | **Returns:** boolean - True if specified stream holds a valid EMF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid EMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Input string, where content of EMF image is stored in base64 encoding. Cannot be NULL or empty. | **Returns:** boolean - True if specified string holds a valid EMF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Emf **Returns:** ImageType ##### getByteContent() ``` public InputStream getByteContent() ``` Returns a content of this EMF image as a binary stream **Returns:** java.io.InputStream ##### getTextContent() ``` public String getTextContent() ``` Returns a content of this EMF image as a plain text **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public void save(String fullPathToFile) ``` Saves this EMF image to the file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this EMF image | ##### saveToPng(OutputStream outputPngContent) ``` public void saveToPng(OutputStream outputPngContent) ``` Saves this vector EMF image into raster PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ##### saveToSvg(OutputStream outputSvgContent) ``` public void saveToSvg(OutputStream outputSvgContent) ``` Saves this vector EMF image into vector SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | java.io.OutputStream | Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable. | ##### dispose() ``` public void dispose() ``` Disposes this EMF image by disposing its content and making most its methods and properties non-working ### MetaImageBase Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/metaimagebase.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase ``` public abstract class MetaImageBase extends VectorImageResourceBase ``` Base abstract class for WMF and EMF image formats #### Constructors | Constructor | Description | | --- | --- | | MetaImageBase(String name, String contentInBase64, boolean isWmf) | Common constructor, which prepares a creating a WMF or EMF instance from base64-encoded string | | MetaImageBase(String name, InputStream binaryContent, boolean isWmf) | Common constructor, which prepares a creating a WMF or EMF instance from byte stream | #### Methods | Method | Description | | --- | --- | | isValidWmf(InputStream binaryContent) | Determines whether specified byte stream contains a valid WMF image | | isValidWmf(String contentInBase64) | Determines whether specified string contains a valid WMF image, which is encoded with base64 | | isValidEmf(InputStream binaryContent) | Determines whether specified byte stream contains a valid EMF image | | isValidEmf(String contentInBase64) | Determines whether specified string contains a valid EMF image, which is encoded with base64 | | saveToSvg(OutputStream outputSvgContent) | In implementing type should save a current vector meta-image to the vector SVG format into specified byte stream | ##### MetaImageBase(String name, String contentInBase64, boolean isWmf) ``` public MetaImageBase(String name, String contentInBase64, boolean isWmf) ``` Common constructor, which prepares a creating a WMF or EMF instance from base64-encoded string **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name | | contentInBase64 | java.lang.String | Content as base64 string. Should be not NULL or empty. | | isWmf | boolean | true for WMF, false for EMF | ##### MetaImageBase(String name, InputStream binaryContent, boolean isWmf) ``` public MetaImageBase(String name, InputStream binaryContent, boolean isWmf) ``` Common constructor, which prepares a creating a WMF or EMF instance from byte stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name | | binaryContent | java.io.InputStream | Content as byte stream. Should be valid. | | isWmf | boolean | true for WMF, false for EMF | ##### isValidWmf(InputStream binaryContent) ``` public static boolean isValidWmf(InputStream binaryContent) ``` Determines whether specified byte stream contains a valid WMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Should be valid. | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### isValidWmf(String contentInBase64) ``` public static boolean isValidWmf(String contentInBase64) ``` Determines whether specified string contains a valid WMF image, which is encoded with base64 **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | String, which is assumed to contain a base64-encoded WMF image | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### isValidEmf(InputStream binaryContent) ``` public static boolean isValidEmf(InputStream binaryContent) ``` Determines whether specified byte stream contains a valid EMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Should be valid. | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### isValidEmf(String contentInBase64) ``` public static boolean isValidEmf(String contentInBase64) ``` Determines whether specified string contains a valid EMF image, which is encoded with base64 **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | String, which is assumed to contain a base64-encoded EMF image | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### saveToSvg(OutputStream outputSvgContent) ``` public abstract void saveToSvg(OutputStream outputSvgContent) ``` In implementing type should save a current vector meta-image to the vector SVG format into specified byte stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | java.io.OutputStream | Byte stream, into which the SVG version of this vector meta-image will be stored. Should not be NULL and should support writing. | ### SvgImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/svgimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase ``` public final class SvgImage extends VectorImageResourceBase ``` Represents one vector image in SVG (Scalable Vector Graphics) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | SvgImage(String name, String content) | Creates new SvgImage instance from content, represented as usual string, and with specified name | | SvgImage(String name, InputStream binaryContent) | Creates new SvgImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(String content) | Performs a surface check whether specified textual XML-compliant content represents a SVG image | | getType() | Returns ImageType.Svg | | getByteContent() | Returns a content of this SVG image as a binary stream | | getTextContent() | Returns a content of this SVG image as a plain text (in XML format) | | getXmlContent() | Returns a content of this SVG image int its original XML-compliant textual form | | save(String fullPathToFile) | Saves this SVG image to the file | | saveToPng(OutputStream outputPngContent) | Saves this vector SVG image into raster PNG image | | dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | ##### SvgImage(String name, String content) ``` public SvgImage(String name, String content) ``` Creates new SvgImage instance from content, represented as usual string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the SVG image. Cannot be null, empty or whitespaces. | | content | java.lang.String | Content as a usual string, which contains a valid XML-compliant content of SVG image. Cannot be null, empty or whitespaces. If it is not a SVG content, exception will be thrown. | ##### SvgImage(String name, InputStream binaryContent) ``` public SvgImage(String name, InputStream binaryContent) ``` Creates new SvgImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the SVG image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(String content) ``` public static boolean isValid(String content) ``` Performs a surface check whether specified textual XML-compliant content represents a SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | content | java.lang.String | XML content of an SVG image as simple text, not a base64-encoded content | **Returns:** boolean - True if specified string can be treated as valid SVG at first look, false if it is not SVG for sure ##### getType() ``` public ImageType getType() ``` Returns ImageType.Svg **Returns:** ImageType - ##### getByteContent() ``` public InputStream getByteContent() ``` Returns a content of this SVG image as a binary stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public String getTextContent() ``` Returns a content of this SVG image as a plain text (in XML format) **Returns:** java.lang.String - ##### getXmlContent() ``` public final String getXmlContent() ``` Returns a content of this SVG image int its original XML-compliant textual form **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public void save(String fullPathToFile) ``` Saves this SVG image to the file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this SVG image | ##### saveToPng(OutputStream outputPngContent) ``` public void saveToPng(OutputStream outputPngContent) ``` Saves this vector SVG image into raster PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ##### dispose() ``` public void dispose() ``` Disposes this raster image, disposing its content and making most methods and properties non-working ### VectorImageResourceBase Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.images.IImageResource ``` public abstract class VectorImageResourceBase implements IImageResource ``` Base class for any supported vector image #### Constructors | Constructor | Description | | --- | --- | | VectorImageResourceBase() | | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this vector image. | | getFilenameWithExtension() | Returns correct filename of this vector image, which consists of name and extension. | | getAspectRatio() | Returns aspect ratio of this vector image | | getLinearDimensions() | Returns linear dimensions of this vector image (width and height) | | equals(IHtmlResource other) | Checks this instance with specified on reference equality. | | isDisposed() | Determines whether this raster image is disposed or not | | getType() | In implementing type should return information about type of the vector image | | getByteContent() | In implementing type should return a content of this vector image as byte stream | | getTextContent() | In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type | | save(String fullPathToFile) | In implementing type should save this image to the disk by specified path | | saveToPng(OutputStream outputPngContent) | In implementing type should save a current vector image to the raster PNG format into specified byte stream | | dispose() | In implementing type should dispose this instance | ##### VectorImageResourceBase() ``` public VectorImageResourceBase() ``` ##### Disposed ``` public final Event Disposed ``` ##### getName() ``` public final String getName() ``` Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getAspectRatio() ``` public final Ratio getAspectRatio() ``` Returns aspect ratio of this vector image **Returns:** Ratio ##### getLinearDimensions() ``` public final Dimensions getLinearDimensions() ``` Returns linear dimensions of this vector image (width and height) **Returns:** Dimensions ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified on reference equality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other instance of vector image | **Returns:** boolean - True if are equal, false if are unequal ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this raster image is disposed or not **Returns:** boolean - ##### getType() ``` public abstract ImageType getType() ``` In implementing type should return information about type of the vector image **Returns:** ImageType - ##### getByteContent() ``` public InputStream getByteContent() ``` In implementing type should return a content of this vector image as byte stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public abstract String getTextContent() ``` In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public abstract void save(String fullPathToFile) ``` In implementing type should save this image to the disk by specified path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | | ##### saveToPng(OutputStream outputPngContent) ``` public abstract void saveToPng(OutputStream outputPngContent) ``` In implementing type should save a current vector image to the raster PNG format into specified byte stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Byte stream, into which the PNG version of this raster image will be stored. Should not be NULL and should support writing. | ##### dispose() ``` public abstract void dispose() ``` In implementing type should dispose this instance ### WmfImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.vector/wmfimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase, com.groupdocs.editor.htmlcss.resources.images.vector.MetaImageBase ``` public final class WmfImage extends MetaImageBase ``` Represents one vector image in WMF (Windows MetaFile) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | WmfImage(String name, String contentInBase64) | Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name | | WmfImage(String name, InputStream binaryContent) | Creates new WmfImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid WMF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid WMF image | | getType() | Returns ImageType.Wmf | | getByteContent() | Returns a content of this WMF image as a binary stream | | getTextContent() | Returns a content of this WMF image as a plain text | | save(String fullPathToFile) | Saves this WMF image to the file | | saveToPng(OutputStream outputPngContent) | Saves this vector WMF image into raster PNG image | | saveToSvg(OutputStream outputSvgContent) | Saves this vector WMF image into vector SVG image | | dispose() | Disposes this WMF image by disposing its content and making most its methods and properties non-working | ##### WmfImage(String name, String contentInBase64) ``` public WmfImage(String name, String contentInBase64) ``` Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WMF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WMF content, exception will be thrown. | ##### WmfImage(String name, InputStream binaryContent) ``` public WmfImage(String name, InputStream binaryContent) ``` Creates new WmfImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WMF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid WMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Cannot be NULL, should support reading and seeking. | **Returns:** boolean - True if specified stream holds a valid WMF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid WMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Input string, where content of WMF image is stored in base64 encoding. Cannot be NULL or empty. | **Returns:** boolean - True if specified string holds a valid WMF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Wmf **Returns:** ImageType - ##### getByteContent() ``` public InputStream getByteContent() ``` Returns a content of this WMF image as a binary stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public String getTextContent() ``` Returns a content of this WMF image as a plain text **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public void save(String fullPathToFile) ``` Saves this WMF image to the file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this WMF image | ##### saveToPng(OutputStream outputPngContent) ``` public void saveToPng(OutputStream outputPngContent) ``` Saves this vector WMF image into raster PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ##### saveToSvg(OutputStream outputSvgContent) ``` public void saveToSvg(OutputStream outputSvgContent) ``` Saves this vector WMF image into vector SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | java.io.OutputStream | Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable. | ##### dispose() ``` public void dispose() ``` Disposes this WMF image by disposing its content and making most its methods and properties non-working ### com.groupdocs.editor.htmlcss.resources.images Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images.md The **com.groupdocs.editor.htmlcss.resources.images** namespace provides classes that represent image resources of all types in general. #### Classes | Class | Description | | --- | --- | | Dimensions | Represents the linear dimensions (width and height) of one raster rectangular image in arbitrary unit. | | ImageType | Represents one supportable image type (format), supports both raster and vector formats | #### Interfaces | Interface | Description | | --- | --- | | IImage | Image CSS data type represents a two-dimensional image | | IImageResource | Represents image resource of any type, raster or vector | ### Dimensions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images/dimensions.md **Inheritance:** java.lang.Object ``` public class Dimensions ``` Represents the linear dimensions (width and height) of one raster rectangular image in arbitrary unit. Immutable struct. #### Constructors | Constructor | Description | | --- | --- | | Dimensions(int width, int height) | Creates a new instance from specified width and height | #### Methods | Method | Description | | --- | --- | | getWidth() | Returns width of the image | | getHeight() | Returns height of the image | | isSquare() | Determines whether specified 'Dimensions' represents square, i.e. | | getArea() | Returns an area (Width x Height) | | isEmpty() | Determines whether this "Dimensions" instance is empty and default, i.e. | | getAspectRatio() | Aspect ratio of this dimensions as width/height | | proportionallyResizeForNewWidth(int targetWidth) | Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified width | | proportionallyResizeForNewHeight(int targetHeight) | Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified height | | equals(Dimensions other) | Determines whether this instance is equal with specified "Dimensions" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "Dimensions" instance | | hashCode() | Returns a hashcode for this instance, which cannot be changed during its lifetime | | op_Equality(Dimensions first, Dimensions second) | Checks whether two "Dimensions" values are equal, i.e. | | op_Inequality(Dimensions first, Dimensions second) | Checks whether two "Dimensions" values are not equal, i.e. | | toString() | Returns a string representation of this "Dimensions" | | deepClone() | Returns a full copy of this instance | | getEmpty() | Returns an empty Dimensions instance | ##### Dimensions(int width, int height) ``` public Dimensions(int width, int height) ``` Creates a new instance from specified width and height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | Width of image | | height | int | Height of image | ##### getWidth() ``` public final int getWidth() ``` Returns width of the image **Returns:** int ##### getHeight() ``` public final int getHeight() ``` Returns height of the image **Returns:** int ##### isSquare() ``` public final boolean isSquare() ``` Determines whether specified 'Dimensions' represents square, i.e. if width is equal to height **Returns:** boolean ##### getArea() ``` public final long getArea() ``` Returns an area (Width x Height) **Returns:** long ##### isEmpty() ``` public final boolean isEmpty() ``` Determines whether this "Dimensions" instance is empty and default, i.e. it doesn't store correct width and height **Returns:** boolean ##### getAspectRatio() ``` public final Ratio getAspectRatio() ``` Aspect ratio of this dimensions as width/height **Returns:** Ratio ##### proportionallyResizeForNewWidth(int targetWidth) ``` public final Dimensions proportionallyResizeForNewWidth(int targetWidth) ``` Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | targetWidth | int | New target width, that will be present in resultant Dimension | **Returns:** Dimensions - New "Dimensions" instance with specified target width and proportionally resized height ##### proportionallyResizeForNewHeight(int targetHeight) ``` public final Dimensions proportionallyResizeForNewHeight(int targetHeight) ``` Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | targetHeight | int | New target height, that will be present in resultant Dimension | **Returns:** Dimensions - New "Dimensions" instance with specified target height and proportionally resized width ##### equals(Dimensions other) ``` public final boolean equals(Dimensions other) ``` Determines whether this instance is equal with specified "Dimensions" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Dimensions | Other "Dimensions" instance to check on equality | **Returns:** boolean - True if are equal, false if are not equal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "Dimensions" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other object, that is presumably of "Dimensions" type, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are not equal ##### hashCode() ``` public int hashCode() ``` Returns a hashcode for this instance, which cannot be changed during its lifetime **Returns:** int - Immutable (for this instance) hash-code as signed 4-byte integer ##### op_Equality(Dimensions first, Dimensions second) ``` public static boolean op_Equality(Dimensions first, Dimensions second) ``` Checks whether two "Dimensions" values are equal, i.e. they have equal width and height, or both are empty **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | Dimensions | First instance to check | | second | Dimensions | Second instance to check | **Returns:** boolean - True if are equal, false if are not equal ##### op_Inequality(Dimensions first, Dimensions second) ``` public static boolean op_Inequality(Dimensions first, Dimensions second) ``` Checks whether two "Dimensions" values are not equal, i.e. their corresponding width and/or height are different **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | Dimensions | First instance to check | | second | Dimensions | Second instance to check | **Returns:** boolean - True if are unequal, false if are equal ##### toString() ``` public String toString() ``` Returns a string representation of this "Dimensions" > ``` > W640×H480 > ``` **Returns:** java.lang.String - String instance, that contains a width and height in W:(width)×H:(height) format ##### deepClone() ``` public final Dimensions deepClone() ``` Returns a full copy of this instance **Returns:** Dimensions - New instance, that is a full and deep copy of this one ##### getEmpty() ``` public static Dimensions getEmpty() ``` Returns an empty Dimensions instance **Returns:** Dimensions ### IImage Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images/iimage.md ### IImageResource Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images/iimageresource.md **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource, com.groupdocs.editor.htmlcss.resources.images.IImage ``` public interface IImageResource extends IHtmlResource, IImage ``` Represents image resource of any type, raster or vector https://developer.mozilla.org/en-US/docs/Web/CSS/image #### Methods | Method | Description | | --- | --- | | getType() | In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info | | getAspectRatio() | In implementing type should return an aspect ratio of particular image regardless of its type. | | getLinearDimensions() | In implementing type should return linear dimensions of the image. | ##### getType() ``` public abstract ImageType getType() ``` In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info **Returns:** ImageType ##### getAspectRatio() ``` public abstract Ratio getAspectRatio() ``` In implementing type should return an aspect ratio of particular image regardless of its type. Both vector and raster images have intrinsic aspect ratio between its width and height. **Returns:** Ratio - ##### getLinearDimensions() ``` public abstract Dimensions getLinearDimensions() ``` In implementing type should return linear dimensions of the image. For raster images they are intrinsic dimensions in pixels. Vector images, in counterpart, have no fixed dimensions, but their metadata can contain some basic dimensions in different measurement units. **Returns:** Dimensions - ### ImageType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.images/imagetype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class ImageType implements IResourceType ``` Represents one supportable image type (format), supports both raster and vector formats #### Constructors | Constructor | Description | | --- | --- | | ImageType() | | #### Methods | Method | Description | | --- | --- | | getUndefined() | Undefined image type - special value, which should not normally occur | | getJpeg() | JPEG image type | | getPng() | PNG image type | | getBmp() | BMP image type | | getGif() | GIF image type | | getIcon() | ICON image type | | getSvg() | SVG vector image type | | getWmf() | WMF (Windows MetaFile) vector image type | | getEmf() | EMF (Enhanced MetaFile) vector image type | | getTiff() | TIFF (Tagged Image File Format) raster image type | | getFormalName() | Returns a formal name of this image format. | | isVector() | Indicates whether this particular format is vector (true) or raster (false) | | getFileExtension() | File extension (without leading dot character) of a particular image type in lower case. | | toString() | Returns a FormalName property | | getMimeCode() | MIME code of a particular image type as a string. | | equals(ImageType other) | Determines whether this instance is equal with specified "ImageType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance | | op_Equality(ImageType first, ImageType second) | Defines whether two specific ImageType instances are equal | | op_Inequality(ImageType first, ImageType second) | Defines whether two specific ImageType instances are not equal | | hashCode() | Returns a hash-code, which is an immutable number for this specific instance | | parseFromFilenameWithExtension(String filename) | Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename | | parseFromMime(String mimeCode) | Returns ImageType value, which is equivalent of specified MIME code | ##### ImageType() ``` public ImageType() ``` ##### getUndefined() ``` public static ImageType getUndefined() ``` Undefined image type - special value, which should not normally occur **Returns:** ImageType ##### getJpeg() ``` public static ImageType getJpeg() ``` JPEG image type **Returns:** ImageType ##### getPng() ``` public static ImageType getPng() ``` PNG image type **Returns:** ImageType ##### getBmp() ``` public static ImageType getBmp() ``` BMP image type **Returns:** ImageType ##### getGif() ``` public static ImageType getGif() ``` GIF image type **Returns:** ImageType ##### getIcon() ``` public static ImageType getIcon() ``` ICON image type **Returns:** ImageType ##### getSvg() ``` public static ImageType getSvg() ``` SVG vector image type **Returns:** ImageType ##### getWmf() ``` public static ImageType getWmf() ``` WMF (Windows MetaFile) vector image type **Returns:** ImageType ##### getEmf() ``` public static ImageType getEmf() ``` EMF (Enhanced MetaFile) vector image type **Returns:** ImageType ##### getTiff() ``` public static ImageType getTiff() ``` TIFF (Tagged Image File Format) raster image type **Returns:** ImageType ##### getFormalName() ``` public final String getFormalName() ``` Returns a formal name of this image format. Never reurns NULL. If instance is not corrupted, never throws an exception. **Returns:** java.lang.String ##### isVector() ``` public final boolean isVector() ``` Indicates whether this particular format is vector (true) or raster (false) **Returns:** boolean ##### getFileExtension() ``` public final String getFileExtension() ``` File extension (without leading dot character) of a particular image type in lower case. For the Undefined type returns a string 'unsefined'. **Returns:** java.lang.String ##### toString() ``` public String toString() ``` Returns a FormalName property **Returns:** java.lang.String - ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code of a particular image type as a string. For the Undefined type returns a string 'unsefined'. **Returns:** java.lang.String ##### equals(ImageType other) ``` public final boolean equals(ImageType other) ``` Determines whether this instance is equal with specified "ImageType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ImageType | Other ImageType instance to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other System.Object instance, that is presumably of ImageType type, to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(ImageType first, ImageType second) ``` public static boolean op_Equality(ImageType first, ImageType second) ``` Defines whether two specific ImageType instances are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | ImageType | First ImageType instance to check | | second | ImageType | Second ImageType instance to check | **Returns:** boolean - True if are equal, false if are unequal ##### op_Inequality(ImageType first, ImageType second) ``` public static boolean op_Inequality(ImageType first, ImageType second) ``` Defines whether two specific ImageType instances are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | ImageType | First ImageType instance to check | | second | ImageType | Second ImageType instance to check | **Returns:** boolean - True if are unequal, false if are equal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is an immutable number for this specific instance **Returns:** int - Signed 4-byte integer ##### parseFromFilenameWithExtension(String filename) ``` public static ImageType parseFromFilenameWithExtension(String filename) ``` Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Arbitrary filename, can be a relative or full path | **Returns:** ImageType - ImageType value. Returns ImageType.Undefined, if extension cannot be recognized. ##### parseFromMime(String mimeCode) ``` public static ImageType parseFromMime(String mimeCode) ``` Returns ImageType value, which is equivalent of specified MIME code **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mimeCode | java.lang.String | Arbitrary MIME-code | **Returns:** ImageType - ImageType value. Returns ImageType.Undefined, if extension cannot be recognized. ### com.groupdocs.editor.htmlcss.resources.textual Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.textual.md The **com.groupdocs.editor.htmlcss.resources.textual** namespace provides classes that represent text resources. #### Classes | Class | Description | | --- | --- | | CssText | Represents one CSS textual resource | | TextResourceBase | Base class for any supported text resource with text content and encoding | | TextType | Represents one supportable textual resource type | | XmlText | Represents one textual resource, which is a XML. | ### CssText Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.textual/csstext.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.textual.TextResourceBase ``` public final class CssText extends TextResourceBase ``` Represents one CSS textual resource #### Methods | Method | Description | | --- | --- | | getType() | Returns TextType.Css | ##### getType() ``` public TextType getType() ``` Returns TextType.Css **Returns:** TextType ### TextResourceBase Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.textual/textresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource ``` public abstract class TextResourceBase implements IHtmlResource ``` Base class for any supported text resource with text content and encoding #### Constructors | Constructor | Description | | --- | --- | | TextResourceBase(String name, String textualContent, Charset originalEncoding) | Creates new text resource from specified textual content with encoding | | TextResourceBase(String name, InputStream binaryContent, Charset originalEncoding) | Creates new text resource from specified byte stream and encoding | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this text resource without file extension | | getFilenameWithExtension() | Returns correct filename of this text resource, which consists of name and extension | | getEncoding() | Returns encoding of this textual resource. | | getByteContent() | Returns content of this text resource as byte stream with original encoding | | getTextContent() | Returns content of this text resource as a standard string | | save(String fullPathToFile) | Saves this text resource to the specified file | | equals(IHtmlResource other) | Checks this instance with specified on equality. | | dispose() | Disposes this text resource, disposing its content and making most methods and properties non-working. | | isDisposed() | Determines whether this text resource is disposed or not | | getType() | In implementing type should return information about type of the text resource | ##### TextResourceBase(String name, String textualContent, Charset originalEncoding) ``` public TextResourceBase(String name, String textualContent, Charset originalEncoding) ``` Creates new text resource from specified textual content with encoding **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name of the resource, that serves as its unique identifier. Usually is a file name. | | textualContent | java.lang.String | Textual content of the resource, cannot be NULL or empty | | originalEncoding | java.nio.charset.Charset | Original encoding of the resource, cannot be NULL or empty | ##### TextResourceBase(String name, InputStream binaryContent, Charset originalEncoding) ``` public TextResourceBase(String name, InputStream binaryContent, Charset originalEncoding) ``` Creates new text resource from specified byte stream and encoding **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name of the resource, that serves as its unique identifier. Usually is a file name. | | binaryContent | java.io.InputStream | Binary content of a resource as a byte stream. Cannot be NULL, disposed, should be readable and seekable. | | originalEncoding | java.nio.charset.Charset | Original encoding of the resource, cannot be NULL or empty | ##### Disposed ``` public final Event Disposed ``` ##### getName() ``` public final String getName() ``` Returns name of this text resource without file extension **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this text resource, which consists of name and extension **Returns:** java.lang.String ##### getEncoding() ``` public final Charset getEncoding() ``` Returns encoding of this textual resource. Usually returns UTF-8. **Returns:** java.nio.charset.Charset - ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this text resource as byte stream with original encoding **Returns:** java.io.InputStream - ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this text resource as a standard string **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this text resource to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten if already exists | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified on equality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other HTML resource of unknown type, that is also presumable TextResourceBase inheritor | **Returns:** boolean - Returns true if are equal, or false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this text resource, disposing its content and making most methods and properties non-working. Tolerant to multiple calls. ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this text resource is disposed or not **Returns:** boolean - ##### getType() ``` public abstract TextType getType() ``` In implementing type should return information about type of the text resource **Returns:** TextType ### TextType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.textual/texttype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class TextType implements IResourceType ``` Represents one supportable textual resource type #### Constructors | Constructor | Description | | --- | --- | | TextType() | | #### Methods | Method | Description | | --- | --- | | getUndefined() | Special value, which marks undefined, unknown or unsupported textual resource | | getCss() | CSS type of the textual resource | | getXml() | XML type of the textual resource | | getFormalName() | Returns a formal name of this textual resource type | | getFileExtension() | File extension (without leading dot character) of a particular textual resource | | getMimeCode() | MIME code of a particular textual resource type | | equals(TextType other) | Determines whether this instance is equal with specified "TextType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance | | op_Equality(TextType first, TextType second) | Defines whether two specific "TextType" instances are equal | | op_Inequality(TextType first, TextType second) | Defines whether two specific "TextType" instances are not equal | | hashCode() | Returns a hash-code, which is a constant number for this specific value type | | parseFromFilenameWithExtension(String filename) | Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename with extension or pure extension | ##### TextType() ``` public TextType() ``` ##### getUndefined() ``` public static TextType getUndefined() ``` Special value, which marks undefined, unknown or unsupported textual resource **Returns:** TextType ##### getCss() ``` public static TextType getCss() ``` CSS type of the textual resource **Returns:** TextType ##### getXml() ``` public static TextType getXml() ``` XML type of the textual resource **Returns:** TextType ##### getFormalName() ``` public final String getFormalName() ``` Returns a formal name of this textual resource type **Returns:** java.lang.String ##### getFileExtension() ``` public final String getFileExtension() ``` File extension (without leading dot character) of a particular textual resource **Returns:** java.lang.String ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code of a particular textual resource type **Returns:** java.lang.String ##### equals(TextType other) ``` public final boolean equals(TextType other) ``` Determines whether this instance is equal with specified "TextType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TextType | Other TextType instance, that should be compared with this on equality | **Returns:** boolean - Returns true if are equal or false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other TextType instance, that is boxed to object | **Returns:** boolean - Returns true if are equal or false if are unequal ##### op_Equality(TextType first, TextType second) ``` public static boolean op_Equality(TextType first, TextType second) ``` Defines whether two specific "TextType" instances are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextType | First TextType instance | | second | TextType | Second TextType instance | **Returns:** boolean - Returns true if are equal or false if are unequal ##### op_Inequality(TextType first, TextType second) ``` public static boolean op_Inequality(TextType first, TextType second) ``` Defines whether two specific "TextType" instances are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextType | First TextType instance | | second | TextType | Second TextType instance | **Returns:** boolean - Returns true if are unequal or false if are equal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is a constant number for this specific value type **Returns:** int - Signed 4-byte integer number. Returns 0 if this instance has default value. ##### parseFromFilenameWithExtension(String filename) ``` public static TextType parseFromFilenameWithExtension(String filename) ``` Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename with extension or pure extension **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Filename with extension, can be relative or absolute path, or pure extension itself | **Returns:** TextType - Parsed TextType instance on success or TextType.Undefined on failure ### XmlText Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.textual/xmltext.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.textual.TextResourceBase ``` public final class XmlText extends TextResourceBase ``` Represents one textual resource, which is a XML. #### Methods | Method | Description | | --- | --- | | getType() | Returns TextType.Xml | ##### getType() ``` public TextType getType() ``` Returns TextType.Xml **Returns:** TextType ### com.groupdocs.editor.htmlcss.resources Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources.md The **com.groupdocs.editor.htmlcss.resources** namespace provides classes that represent all kinds of the HTML resources. #### Classes | Class | Description | | --- | --- | | ResourceTypeDetector | Utility static methods for detecting resource types (formats) | #### Interfaces | Interface | Description | | --- | --- | | IAuxDisposable | Expands the standard IDisposable interface, allows to obtain a current state of an object and subscribe to disposing event | | IHtmlResource | Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML) etc.) | | IResourceType | Represents one instance of the unknown resource type/format (image, font, text) | ### IAuxDisposable Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources/iauxdisposable.md **All Implemented Interfaces:** com.groupdocs.editor.interfaces.IDisposable ``` public interface IAuxDisposable extends IDisposable ``` Expands the standard IDisposable interface, allows to obtain a current state of an object and subscribe to disposing event #### Fields | Field | Description | | --- | --- | | Disposed | Occurs when object is disposed | #### Methods | Method | Description | | --- | --- | | isDisposed() | Determines whether a resource is closed (true) or not (false | ##### Disposed ``` public static final Event Disposed ``` Occurs when object is disposed ##### isDisposed() ``` public abstract boolean isDisposed() ``` Determines whether a resource is closed (true) or not (false **Returns:** boolean ### IHtmlResource Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources/ihtmlresource.md **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IAuxDisposable ``` public interface IHtmlResource extends IAuxDisposable ``` Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML) etc.) #### Methods | Method | Description | | --- | --- | | getName() | Name of the HTML resource | | getFilenameWithExtension() | Correct filename of the specified resource with appropriate file extension | | getType() | Type of the HTML resource | | getByteContent() | Content of the HTML resource in a form of a byte stream | | getTextContent() | Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources | | save(String fullPathToFile) | Saves a current resource to the specified file | ##### getName() ``` public abstract String getName() ``` Name of the HTML resource **Returns:** java.lang.String - ##### getFilenameWithExtension() ``` public abstract String getFilenameWithExtension() ``` Correct filename of the specified resource with appropriate file extension **Returns:** java.lang.String - ##### getType() ``` public abstract IResourceType getType() ``` Type of the HTML resource **Returns:** IResourceType - ##### getByteContent() ``` public abstract InputStream getByteContent() ``` Content of the HTML resource in a form of a byte stream **Returns:** java.io.InputStream ##### getTextContent() ``` public abstract String getTextContent() ``` Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources **Returns:** java.lang.String ##### save(String fullPathToFile) ``` public abstract void save(String fullPathToFile) ``` Saves a current resource to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten with the content of a current resource | ### IResourceType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources/iresourcetype.md ### ResourceTypeDetector Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.resources/resourcetypedetector.md **Inheritance:** java.lang.Object ``` public class ResourceTypeDetector ``` Utility static methods for detecting resource types (formats) #### Constructors | Constructor | Description | | --- | --- | | ResourceTypeDetector() | | #### Methods | Method | Description | | --- | --- | | detectTypeFromFilename(String filename) | Detects a type from specified filename and returns an instance of respective IResourceType | | tryDetectResource(InputStream inputResourceStream, String name, IResourceType assumptiveFormat) | Tries to analyze an input stream and creates one of supportable HTML resources from it, taking into account a specified assumptive type, if it is not null | ##### ResourceTypeDetector() ``` public ResourceTypeDetector() ``` ##### detectTypeFromFilename(String filename) ``` public static IResourceType detectTypeFromFilename(String filename) ``` Detects a type from specified filename and returns an instance of respective IResourceType **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Input filename, from which this method will try to extract the resultant IResourceType implementation | **Returns:** IResourceType - IResourceType implementation on success or NULL on failure ##### tryDetectResource(InputStream inputResourceStream, String name, IResourceType assumptiveFormat) ``` public static IHtmlResource tryDetectResource(InputStream inputResourceStream, String name, IResourceType assumptiveFormat) ``` Tries to analyze an input stream and creates one of supportable HTML resources from it, taking into account a specified assumptive type, if it is not null **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputResourceStream | java.io.InputStream | Input stream, which presumably contains an HTML resource. If invalid, an exception will be thrown. | | name | java.lang.String | Resource name, which will be used for created and returned resource on success. Cannot be NULL, empty or whitespace | | assumptiveFormat | IResourceType | Assumed format of the input HTML resource, which is useful for achieving the best performance. If completely unknown, use the NULL value. May be incorrect, this will only worsen the performance. | **Returns:** IHtmlResource - Instance, which implements 'IHtmlResource' interface and represents one of supportable HTML resources on success, or NULL on failure ### com.groupdocs.editor.htmlcss.serialization Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.serialization.md The **com.groupdocs.editor.htmlcss.serialization** namespace provides types, that are responsible for tuning HTML and CSS markup serialization process.. #### Classes | Class | Description | | --- | --- | | QuoteType | Represents quote characters - single quote (') and double quote (") | | TagRenderingCase | Represents different types of serialization the HTML tag names | ### QuoteType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.serialization/quotetype.md **Inheritance:** java.lang.Object ``` public class QuoteType ``` Represents quote characters - single quote (') and double quote (") #### Constructors | Constructor | Description | | --- | --- | | QuoteType() | | #### Fields | Field | Description | | --- | --- | | SingleQuote | Single quote (U+0027 APOSTROPHE character) | | DoubleQuote | Double quote (U+0022 QUOTATION MARK character) | #### Methods | Method | Description | | --- | --- | | getCode() | Code point of the current character (U+0027 or U+0022) | | getCharacter() | Character to enquote | | getHtmlEncoded() | HTML-encoded character | | toString() | Returns a "SingleQuote" or "DoubleQuote" string depending on the current value | | equals(QuoteType other) | Indicates whether this instance of the quote type is equal to specified | | equals(Object obj) | Indicates whether this instance of the quote type is equal to specified uncasted | | hashCode() | Returns a hash-code for this character | | op_Equality(QuoteType first, QuoteType second) | Checks whether two "QuoteType" values are equal | | op_Inequality(QuoteType first, QuoteType second) | Checks whether two "QuoteType" values are not equal | | to_Char(QuoteType quote) | Casts specified QuoteType instance to the char | | to_QuoteType(char character) | Casts specific char to the corresponding QuoteType, throws exception if casting is invalid | ##### QuoteType() ``` public QuoteType() ``` ##### SingleQuote ``` public static final QuoteType SingleQuote ``` Single quote (U+0027 APOSTROPHE character) ##### DoubleQuote ``` public static final QuoteType DoubleQuote ``` Double quote (U+0022 QUOTATION MARK character) ##### getCode() ``` public final int getCode() ``` Code point of the current character (U+0027 or U+0022) **Returns:** int ##### getCharacter() ``` public final char getCharacter() ``` Character to enquote **Returns:** char ##### getHtmlEncoded() ``` public final String getHtmlEncoded() ``` HTML-encoded character **Returns:** java.lang.String ##### toString() ``` public String toString() ``` Returns a "SingleQuote" or "DoubleQuote" string depending on the current value **Returns:** java.lang.String - ##### equals(QuoteType other) ``` public final boolean equals(QuoteType other) ``` Indicates whether this instance of the quote type is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | QuoteType | Other instance of QuoteType to check | **Returns:** boolean - true if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether this instance of the quote type is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Uncasted object, expected to be of QuoteType type | **Returns:** boolean - true if are equal, false if are unequal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this character **Returns:** int - Hash-code as an signed integer ##### op_Equality(QuoteType first, QuoteType second) ``` public static boolean op_Equality(QuoteType first, QuoteType second) ``` Checks whether two "QuoteType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | QuoteType | First value to check | | second | QuoteType | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(QuoteType first, QuoteType second) ``` public static boolean op_Inequality(QuoteType first, QuoteType second) ``` Checks whether two "QuoteType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | QuoteType | First value to check | | second | QuoteType | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### to_Char(QuoteType quote) ``` public static char to_Char(QuoteType quote) ``` Casts specified QuoteType instance to the char **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | quote | QuoteType | Quote type instance to cast | **Returns:** char ##### to_QuoteType(char character) ``` public static QuoteType to_QuoteType(char character) ``` Casts specific char to the corresponding QuoteType, throws exception if casting is invalid **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | character | char | A single quote (U+0027 APOSTROPHE) or double quote (U+0022 QUOTATION MARK) character. Exception will be thrown if any other character will be specified. | **Returns:** QuoteType ### TagRenderingCase Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.htmlcss.serialization/tagrenderingcase.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class TagRenderingCase extends System.Enum ``` Represents different types of serialization the HTML tag names #### Fields | Field | Description | | --- | --- | | LowerCase | all-lower - all letters in the tag name will be serialized in lower case | | UpperCase | ALL-CAPITAL - all letters in the tag name will be serialized in UPPER case | | FirstLetterUpperCase | First letter in the tag name will be serialized in Upper case, while all others - in lower. | ##### LowerCase ``` public static final int LowerCase ``` all-lower - all letters in the tag name will be serialized in lower case ##### UpperCase ``` public static final int UpperCase ``` ALL-CAPITAL - all letters in the tag name will be serialized in UPPER case ##### FirstLetterUpperCase ``` public static final int FirstLetterUpperCase ``` First letter in the tag name will be serialized in Upper case, while all others - in lower. ### com.groupdocs.editor.license Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.license.md The **com.groupdocs.editor.license** Provides methods to license the component. Learn more about licensing [here][] [here]: https://purchase.groupdocs.com/faqs/licensing #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. | | Metered | Provides methods for applying [Metered][] license.[Metered]: https://purchase.groupdocs.com/faqs/licensing/metered | ### License Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.license/license.md **Inheritance:** java.lang.Object ``` public class License ``` Provides methods to license the component. Learn more about licensing [here][]. [here]: https://purchase.groupdocs.com/faqs/licensing [Evaluation Limitations and Licensing]: https://docs.groupdocs.com/editor/java/licensing-and-subscription/ #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | setLicense(InputStream licenseStream) | Licenses the component. | | setLicense(String licensePath) | Licenses the component. | ##### License() ``` public License() ``` ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing Stream of the license file. > > using (InputStream licenseStream = new FileInputStream("LicenseFile.lic")) > { > com.groupdocs.editor.License lic = new com.groupdocs.editor.License(); > lic.setLicense(licenseStream); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | The license stream. | ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing a path to the license file. > > String licensePath = "GroupDocs.Editor.lic"; > com.groupdocs.editor.License lic = new com.groupdocs.editor.License(); > lic.setLicense(licensePath); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license path. | ### Metered Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.license/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods for applying [Metered][] license. [Metered]: https://purchase.groupdocs.com/faqs/licensing/metered [GroupDocs Licensing FAQ]: https://purchase.groupdocs.com/faqs/licensing [Evaluation Limitations and Licensing]: https://docs.groupdocs.com/editor/java/licensing-and-subscription/ #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves count of credits consumed. | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. > ``` > Following example demonstrates how to activate product with Metered keys. > > String publicKey = "Public Key"; > String privateKey = "Private Key"; > Metered metered = new Metered(); > metered.setMeteredKey(publicKey, privateKey); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed. > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > String publicKey = "Public Key"; > String privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.setMeteredKey(publicKey, privateKey); > double mbProcessed = metered.getConsumptionQuantity(); > ``` **Returns:** java.math.BigDecimal ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves count of credits consumed. > ``` > Following example demonstrates how to retrieve count of credits consumed. > > String publicKey = "Public Key"; > String privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.setMeteredKey(publicKey, privateKey); > double creditsConsumed = metered.getConsumptionCredit(); > ``` **Returns:** java.math.BigDecimal - Count of already used credits ### com.groupdocs.editor.metadata Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata.md The **com.groupdocs.editor.metadata** namespace provides classes for describing basic document properties dependent on document type. #### Classes | Class | Description | | --- | --- | | EbookDocumentInfo | Represents metadata of one EBook document | | EmailDocumentInfo | Represents metadata of one email document of any supported email format | | FixedLayoutDocumentInfo | Represents metadata of one document with fixed layout format like PDF or XPS | | MarkdownDocumentInfo | Represents metadata of one Markdown document | | PresentationDocumentInfo | Represents metadata of one Presentation document | | SpreadsheetDocumentInfo | Represents metadata of one Spreadsheet document | | TextualDocumentInfo | Represents metadata of one textual document like XML, HTML or plain text (TXT) | | WordProcessingDocumentInfo | Represents metadata of one WordProcessing document | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Common interface for all file metadata wrappers | ### EbookDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/ebookdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class EbookDocumentInfo implements IDocumentInfo ``` Represents metadata of one EBook document #### Constructors | Constructor | Description | | --- | --- | | EbookDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this document | | getPageCount() | Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub. | | getSize() | Returns size in bytes of this eBook document | | isEncrypted() | Because eBook documents cannot be encrypted with password, this property always returns 'false' | | equals(EbookDocumentInfo other) | Determines whether this instance is equal to the other specified EbookDocumentInfo instance | ##### EbookDocumentInfo() ``` public EbookDocumentInfo() ``` ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this document **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub. eBook documents usually have no fixed pages and thus page count. In case of ePub it is possible to calculate a number of chapters. However, the MOBI and AZW3 formats have no chapters either, so this number is calculated from standard page size set to A4 in portrait orientation. **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this eBook document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Because eBook documents cannot be encrypted with password, this property always returns 'false' **Returns:** boolean ##### equals(EbookDocumentInfo other) ``` public final boolean equals(EbookDocumentInfo other) ``` Determines whether this instance is equal to the other specified EbookDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | EbookDocumentInfo | Other EbookDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### EmailDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/emaildocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class EmailDocumentInfo implements IDocumentInfo ``` Represents metadata of one email document of any supported email format #### Constructors | Constructor | Description | | --- | --- | | EmailDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this email document | | getPageCount() | Always returs 1, because email documents don't have paged view | | getSize() | Returns size in bytes of this email document | | isEncrypted() | Because email documents cannot be encrypted with password, this property always returns 'false' | | equals(EmailDocumentInfo other) | Determines whether this instance is equal to the other specified EmailDocumentInfo instance | ##### EmailDocumentInfo() ``` public EmailDocumentInfo() ``` ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this email document **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Always returs 1, because email documents don't have paged view **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this email document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Because email documents cannot be encrypted with password, this property always returns 'false' **Returns:** boolean ##### equals(EmailDocumentInfo other) ``` public final boolean equals(EmailDocumentInfo other) ``` Determines whether this instance is equal to the other specified EmailDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | EmailDocumentInfo | Other EmailDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### FixedLayoutDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/fixedlayoutdocumentinfo.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class FixedLayoutDocumentInfo extends Struct implements IDocumentInfo ``` Represents metadata of one document with fixed layout format like PDF or XPS #### Constructors | Constructor | Description | | --- | --- | | FixedLayoutDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this fixed-layout format document | | getPageCount() | Returns number of pages | | getSize() | Returns size in bytes of this fixed-layout format document | | isEncrypted() | Determines whether this specific fixed-layout format document in encrypted and requires password for opening | | equals(FixedLayoutDocumentInfo other) | Determines whether this instance is equal to the other specified FixedLayoutDocumentInfo instance | ##### FixedLayoutDocumentInfo() ``` public FixedLayoutDocumentInfo() ``` ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this fixed-layout format document **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this fixed-layout format document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Determines whether this specific fixed-layout format document in encrypted and requires password for opening **Returns:** boolean ##### equals(FixedLayoutDocumentInfo other) ``` public final boolean equals(FixedLayoutDocumentInfo other) ``` Determines whether this instance is equal to the other specified FixedLayoutDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FixedLayoutDocumentInfo | Other FixedLayoutDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### IDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/idocumentinfo.md ### MarkdownDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/markdowndocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class MarkdownDocumentInfo implements IDocumentInfo ``` Represents metadata of one Markdown document #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this Markdown document \\u2014 always is TextualFormats.Md | | getPageCount() | Returns number of pages. | | getSize() | Returns size in bytes of this Markdown document | | isEncrypted() | Because Markdown documents cannot be encrypted with password, this property always returns 'false' | | equals(MarkdownDocumentInfo other) | Determines whether this instance is equal to the other specified MarkdownDocumentInfo instance. | ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this Markdown document \\u2014 always is TextualFormats.Md **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages. Markdown documents usually have no fixed pages and thus page count, so this number is calculated from standard page size set to A4 in portrait orientation. **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this Markdown document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Because Markdown documents cannot be encrypted with password, this property always returns 'false' **Returns:** boolean ##### equals(MarkdownDocumentInfo other) ``` public final boolean equals(MarkdownDocumentInfo other) ``` Determines whether this instance is equal to the other specified MarkdownDocumentInfo instance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | MarkdownDocumentInfo | Other MarkdownDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### PresentationDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/presentationdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class PresentationDocumentInfo implements IDocumentInfo ``` Represents metadata of one Presentation document #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this Presentation document | | getPageCount() | Returns number of slides in this Presentation document | | getSize() | Returns size in bytes of this Presentation document | | isEncrypted() | Indicates whether this specific Presentation document in encrypted and requires password for opening | | generatePreview(int slideIndex) | Generates and returns a preview of the selected slide in a form of SVG image | ##### getFormat() ``` public final PresentationFormats getFormat() ``` Returns a format of this Presentation document **Returns:** PresentationFormats ##### getPageCount() ``` public final int getPageCount() ``` Returns number of slides in this Presentation document **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this Presentation document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Indicates whether this specific Presentation document in encrypted and requires password for opening **Returns:** boolean ##### generatePreview(int slideIndex) ``` public final SvgImage generatePreview(int slideIndex) ``` Generates and returns a preview of the selected slide in a form of SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | slideIndex | int | 0-based index of the desired slide. Canot be lesser then 0, cannot exceed the number of slides in this presentation. | **Returns:** SvgImage - SVG image as the non-null instance of the SvgImage class ### SpreadsheetDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/spreadsheetdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class SpreadsheetDocumentInfo implements IDocumentInfo ``` Represents metadata of one Spreadsheet document #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this Spreadsheet document | | getPageCount() | Returns number of tabs | | getSize() | Returns size in bytes of this Spreadsheet document | | isEncrypted() | Indicates whether this specific Spreadsheet document in encrypted and requires password for opening | | generatePreview(int worksheetIndex) | Generates and returns a preview of the selected worksheet in a form of SVG image | | equals(SpreadsheetDocumentInfo other) | Determines whether this instance is equal to the other specified SpreadsheetDocumentInfo instance | ##### SpreadsheetDocumentInfo() ``` public SpreadsheetDocumentInfo() ``` ##### getFormat() ``` public final SpreadsheetFormats getFormat() ``` Returns a format of this Spreadsheet document **Returns:** SpreadsheetFormats ##### getPageCount() ``` public final int getPageCount() ``` Returns number of tabs **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this Spreadsheet document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Indicates whether this specific Spreadsheet document in encrypted and requires password for opening **Returns:** boolean ##### generatePreview(int worksheetIndex) ``` public final SvgImage generatePreview(int worksheetIndex) ``` Generates and returns a preview of the selected worksheet in a form of SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | int | 0-based index of the desired worksheet. Cannot be lesser then 0, cannot exceed the number of worksheets in this spreadsheet. | **Returns:** SvgImage - SVG image as the non-null instance of the SvgImage class ##### equals(SpreadsheetDocumentInfo other) ``` public final boolean equals(SpreadsheetDocumentInfo other) ``` Determines whether this instance is equal to the other specified SpreadsheetDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | SpreadsheetDocumentInfo | Other SpreadsheetDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### TextualDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/textualdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class TextualDocumentInfo implements IDocumentInfo ``` Represents metadata of one textual document like XML, HTML or plain text (TXT) #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this textual document. | | getPageCount() | Always returns 1 | | getSize() | Returns size in bytes (not the number of characters) of this textual document | | isEncrypted() | Always returns 'false', as textual documents cannot be encrypted. | | getEncoding() | Returns detected presumable encoding of the text document | ##### getFormat() ``` public final TextualFormats getFormat() ``` Returns a format of this textual document. May be not 100% correct in some cases. **Returns:** TextualFormats ##### getPageCount() ``` public final int getPageCount() ``` Always returns 1 **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes (not the number of characters) of this textual document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Always returns 'false', as textual documents cannot be encrypted. **Returns:** boolean ##### getEncoding() ``` public final Charset getEncoding() ``` Returns detected presumable encoding of the text document **Returns:** java.nio.charset.Charset ### WordProcessingDocumentInfo Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.metadata/wordprocessingdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class WordProcessingDocumentInfo implements IDocumentInfo ``` Represents metadata of one WordProcessing document #### Constructors | Constructor | Description | | --- | --- | | WordProcessingDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this WordProcessing document | | getPageCount() | Returns number of pages | | getSize() | Returns size in bytes of this WordProcessing document | | isEncrypted() | Determines whether this specific WordProcessing document in encrypted and requires password for opening | | generatePreview(int pageIndex) | Generates and returns a preview of the selected page in a form of SVG image | | equals(WordProcessingDocumentInfo other) | Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance | ##### WordProcessingDocumentInfo() ``` public WordProcessingDocumentInfo() ``` ##### getFormat() ``` public final WordProcessingFormats getFormat() ``` Returns a format of this WordProcessing document **Returns:** WordProcessingFormats ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this WordProcessing document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Determines whether this specific WordProcessing document in encrypted and requires password for opening **Returns:** boolean ##### generatePreview(int pageIndex) ``` public final SvgImage generatePreview(int pageIndex) ``` Generates and returns a preview of the selected page in a form of SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | 0-based index of the desired page. Cannot be lesser then 0, cannot exceed the number of pages in this WordProcessing document. | **Returns:** SvgImage - SVG image as the non-null instance of the SvgImage class ##### equals(WordProcessingDocumentInfo other) ``` public final boolean equals(WordProcessingDocumentInfo other) ``` Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | WordProcessingDocumentInfo | Other WordProcessingDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### com.groupdocs.editor.options Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options.md The **com.groupdocs.editor.options** namespace provides interfaces for load and save options. #### Classes | Class | Description | | --- | --- | | DelimitedTextEditOptions | Options for loading text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) | | DelimitedTextSaveOptions | Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) | | EbookEditOptions | Allows to specify and adjust custom options for editing E-book documents in all supported formats: ePub, MOBI, and AZW3. | | EbookSaveOptions | Allows to specify custom options for generating and saving the document in all supportable e-Book formats: ePub, MOBI, and AZW3. | | EmailEditOptions | Allows to specify custom options for editing documents in the different electronic mail (email) formats | | EmailSaveOptions | Allows to specify custom options for generating and saving electronic mail (email) documents | | FixedLayoutEditOptionsBase | Base abstract class for the options for all documents of fixed-layout formats like PDF and XPS | | FontEmbeddingOptions | Font embedding options control which font resources should be embedded into the output WordProcessing document | | FontExtractionOptions | Font extraction options control which fonts should be extracted and from where | | HtmlSaveOptions | Allows to specify custom options for saving the EditableDocument instance to the HTML format | | MailMessageOutput | Controls which parts of the mail message should be delivered to the output processing | | MarkdownEditOptions | Allows to specify custom options for editing documents in Markdown format. | | MarkdownImageLoadArgs | Provides data for the M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) event. | | MarkdownImageLoadingAction | Defines the mode of image loading while opening for editing the file in Markdown format | | MarkdownSaveOptions | Allows to specify custom options for generating and saving Markdown documents | | MarkdownTableContentAlignment | Allows to specify the alignment of the content of the table to be used when exporting into Markdown format. | | MhtmlSaveOptions | Allows to specify custom options for generating and saving the MHTML (MIME encapsulation of aggregate HTML documents) documents | | PageRange | Encapsulates one page range, which can have open or closed bounds. | | PdfCompliance | Specifies the PDF standards compliance level | | PdfSaveOptions | Allows to specify custom options for generating and saving PDF (Portable Document Format) documents | | PresentationEditOptions | Allows to specify custom options for editing documents of all supportable Presentation (PowerPoint-compatible) formats | | PresentationLoadOptions | Allows to specify custom options for loading documents of all supportable Presentation formats like PPT(X), PPTM, PPS(X) etc. | | PresentationSaveOptions | Allows to specify custom options for generating and saving Presentation (PowerPoint-compatible) documents | | SpreadsheetEditOptions | Allows to specify custom options for editing documents of all supportable Spreadsheet (Excel-compatible) formats | | SpreadsheetLoadOptions | Contains options for loading binary Spreadsheet (Cells, Excel-compatible) documents like XLS(X), ODS etc. | | SpreadsheetSaveOptions | Allows to specify custom options for generating and saving Spreadsheet (Excel-compliant) documents | | TextDirection | Represents 3 possible variants how to treat text direction in the plain text documents | | TextEditOptions | Allows to specify custom options for loading plain text (TXT) documents | | TextLeadingSpacesOptions | Contains available options for leading space handling during opening plain text document (TXT) | | TextSaveOptions | Allows to specify custom options for generating and saving plain text (TXT) documents | | TextTrailingSpacesOptions | Contains available options for trailing space handling during opening plain text document (TXT) | | WebFont | Represents a font settings for the web | | WordProcessingEditOptions | Allows to specify custom options for editing documents of all supportable WordProcessing (Words-compliant) formats like DOC(X), RTF, ODT etc. | | WordProcessingLoadOptions | Contains options for loading WordProcessing (Word-compatible) documents like DOC(X), RTF, ODT etc. | | WordProcessingProtection | Encapsulates document protection options for the WordProcessing document, which is generated from HTML | | WordProcessingProtectionType | Represents all available protection types of the WordProcessing document | | WordProcessingSaveOptions | Allows to specify custom options for generating and saving WordProcessing-compliant documents after they were edited | | WorksheetProtection | Encapsulates worksheet protection options, which allow to protect a worksheet in the output Spreadsheet document from modification of specified type with a specified password. | | WorksheetProtectionType | Represents Spreadsheet worksheet (tab) protection types | | XmlEditOptions | Allows to specify custom options for loading XML (eXtensible Markup Language) documents and converting them to the HTML | | XmlFormatOptions | Contains options, that allow to adjust the formatting of XML document, when it is represented as HTML | | XmlHighlightOptions | Contains options, that allow to customize the XML highlighting during XML-to-HTML conversion | | XpsSaveOptions | Allows to specify custom options for generating and saving XPS (XML Paper Specifications) documents | #### Interfaces | Interface | Description | | --- | --- | | IEditOptions | Common interface for all options, which are responsible for document-to-HTML conversions. | | IHtmlSavingCallback | Interface, that is used while saving the to the HTML format and which must be implemented by the end-user in order to save the provided resource and returns a link to it | | ILoadOptions | Common interface for all option classes, responsible for loading documents of different type formats | | IMarkdownImageLoadCallback | Implement this interface if you want to control how GroupDocs.Editor load images when converting Markdown to Html. | | ISaveOptions | Interface for all saving options for all documents types | ### DelimitedTextEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/delimitedtexteditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class DelimitedTextEditOptions implements IEditOptions ``` Options for loading text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) https://en.wikipedia.org/wiki/Delimiter-separated\_values #### Constructors | Constructor | Description | | --- | --- | | DelimitedTextEditOptions(String separator) | Creates an instance of options class for delimited text with mandatory separator (delimiter) | #### Methods | Method | Description | | --- | --- | | getSeparator() | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | setSeparator(String value) | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | getConvertDateTimeData() | Gets or sets a value that indicates whether the string in text-based document is converted to the date data. | | setConvertDateTimeData(boolean value) | Gets or sets a value that indicates whether the string in text-based document is converted to the date data. | | getConvertNumericData() | Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. | | setConvertNumericData(boolean value) | Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. | | getTreatConsecutiveDelimitersAsOne() | Defines whether consecutive delimiters should be treated as one. | | setTreatConsecutiveDelimitersAsOne(boolean value) | Defines whether consecutive delimiters should be treated as one. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | ##### DelimitedTextEditOptions(String separator) ``` public DelimitedTextEditOptions(String separator) ``` Creates an instance of options class for delimited text with mandatory separator (delimiter) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | separator | java.lang.String | Mandatory separator (delimiter), that cannot be NULL or empty | ##### getSeparator() ``` public final String getSeparator() ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Returns:** java.lang.String ##### setSeparator(String value) ``` public final void setSeparator(String value) ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getConvertDateTimeData() ``` public final boolean getConvertDateTimeData() ``` Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is false. **Returns:** boolean ##### setConvertDateTimeData(boolean value) ``` public final void setConvertDateTimeData(boolean value) ``` Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertNumericData() ``` public final boolean getConvertNumericData() ``` Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is false. **Returns:** boolean ##### setConvertNumericData(boolean value) ``` public final void setConvertNumericData(boolean value) ``` Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTreatConsecutiveDelimitersAsOne() ``` public final boolean getTreatConsecutiveDelimitersAsOne() ``` Defines whether consecutive delimiters should be treated as one. By default is false. **Returns:** boolean ##### setTreatConsecutiveDelimitersAsOne(boolean value) ``` public final void setTreatConsecutiveDelimitersAsOne(boolean value) ``` Defines whether consecutive delimiters should be treated as one. By default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### DelimitedTextSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/delimitedtextsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class DelimitedTextSaveOptions implements ISaveOptions ``` Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) https://en.wikipedia.org/wiki/Delimiter-separated\_values #### Constructors | Constructor | Description | | --- | --- | | DelimitedTextSaveOptions() | This parameterless constructor creates a new instance of DelimitedTextSaveOptions with a semicolon (;) default separator (can be modified then through Separator (\#getSeparator.getSeparator/\#setSeparator(String).setSeparator(String)) property) | | DelimitedTextSaveOptions(String separator) | Creates an instance of options class for delimited text with mandatory separator (delimiter) | #### Methods | Method | Description | | --- | --- | | getSeparator() | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | setSeparator(String value) | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | getEncoding() | Allows to set an encoding for the text-based Spreadsheet document. | | setEncoding(Charset value) | Allows to set an encoding for the text-based Spreadsheet document. | | getTrimLeadingBlankRowAndColumn() | Indicates whether leading blank rows and columns should be trimmed like what MS Excel does | | setTrimLeadingBlankRowAndColumn(boolean value) | Indicates whether leading blank rows and columns should be trimmed like what MS Excel does | | getKeepSeparatorsForBlankRow() | Indicates whether separators should be output for blank row. | | setKeepSeparatorsForBlankRow(boolean value) | Indicates whether separators should be output for blank row. | ##### DelimitedTextSaveOptions() ``` public DelimitedTextSaveOptions() ``` This parameterless constructor creates a new instance of DelimitedTextSaveOptions with a semicolon (;) default separator (can be modified then through Separator (\#getSeparator.getSeparator/\#setSeparator(String).setSeparator(String)) property) ##### DelimitedTextSaveOptions(String separator) ``` public DelimitedTextSaveOptions(String separator) ``` Creates an instance of options class for delimited text with mandatory separator (delimiter) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | separator | java.lang.String | String separator (delimiter) for text-based Spreadsheet documents | ##### getSeparator() ``` public final String getSeparator() ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Returns:** java.lang.String - ##### setSeparator(String value) ``` public final void setSeparator(String value) ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getEncoding() ``` public final Charset getEncoding() ``` Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8. **Returns:** java.nio.charset.Charset - ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getTrimLeadingBlankRowAndColumn() ``` public final boolean getTrimLeadingBlankRowAndColumn() ``` Indicates whether leading blank rows and columns should be trimmed like what MS Excel does **Returns:** boolean - ##### setTrimLeadingBlankRowAndColumn(boolean value) ``` public final void setTrimLeadingBlankRowAndColumn(boolean value) ``` Indicates whether leading blank rows and columns should be trimmed like what MS Excel does **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getKeepSeparatorsForBlankRow() ``` public final boolean getKeepSeparatorsForBlankRow() ``` Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty. **Returns:** boolean - ##### setKeepSeparatorsForBlankRow(boolean value) ``` public final void setKeepSeparatorsForBlankRow(boolean value) ``` Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### EbookEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/ebookeditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class EbookEditOptions implements IEditOptions ``` Allows to specify and adjust custom options for editing E-book documents in all supported formats: ePub, MOBI, and AZW3. Supported E-book formats: 1. [ePub][] (Electronic Publication) 2. [MOBI][] (MobiPocket) 3. [AZW3][] (Kindle Format 8t) [ePub]: https://docs.fileformat.com/ebook/epub/ [MOBI]: https://docs.fileformat.com/ebook/mobi/ [AZW3]: https://docs.fileformat.com/ebook/azw3/ #### Constructors | Constructor | Description | | --- | --- | | EbookEditOptions() | Initializes a new instance of the EbookEditOptions class, where all options are set to their default values | | EbookEditOptions(boolean enablePagination) | Initializes a new instance of the EbookEditOptions class with specified pagination mode | #### Methods | Method | Description | | --- | --- | | getEnablePagination() | Allows to enable or disable pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination in the resultant HTML document. | | getEnableLanguageInformation() | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | | setEnableLanguageInformation(boolean value) | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | ##### EbookEditOptions() ``` public EbookEditOptions() ``` Initializes a new instance of the EbookEditOptions class, where all options are set to their default values ##### EbookEditOptions(boolean enablePagination) ``` public EbookEditOptions(boolean enablePagination) ``` Initializes a new instance of the EbookEditOptions class with specified pagination mode **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | enablePagination | boolean | Enables ( true ) or disables ( false ) pagination of the e-book content in the resultant HTML document. By default is disabled ( false ). | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled ( false ). In its essence most of e-book formats internally is a flow format like Office Open XML, where content is a solid and is splitted onto chapters but not the pages. However, it contains some page-specific info like the page numbers, footnotes, heraders/footers and so on. Some e-book readers perform a splitting of the e-book content onto pages, while others (especially mobile) \\u2014 not. This option allows to control how the e-book content should be represented in HTML/CSS while editing \\u2014 in the float ( false ) or paged ( true ) view. **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled ( false ). In its essence most of e-book formats internally is a flow format like Office Open XML, where content is a solid and is splitted onto chapters but not the pages. However, it contains some page-specific info like the page numbers, footnotes, heraders/footers and so on. Some e-book readers perform a splitting of the e-book content onto pages, while others (especially mobile) \\u2014 not. This option allows to control how the e-book content should be represented in HTML/CSS while editing \\u2014 in the float ( false ) or paged ( true ) view. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getEnableLanguageInformation() ``` public final boolean getEnableLanguageInformation() ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled ( false ). **Returns:** boolean ##### setEnableLanguageInformation(boolean value) ``` public final void setEnableLanguageInformation(boolean value) ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled ( false ). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### EbookSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/ebooksaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class EbookSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving the document in all supportable e-Book formats: ePub, MOBI, and AZW3. Supported E-book formats: 1. [ePub][] (Electronic Publication) 2. [MOBI][] (MobiPocket) 3. [AZW3][] (Kindle Format 8t) [ePub]: https://docs.fileformat.com/ebook/epub/ [MOBI]: https://docs.fileformat.com/ebook/mobi/ [AZW3]: https://docs.fileformat.com/ebook/azw3/ #### Constructors | Constructor | Description | | --- | --- | | EbookSaveOptions() | This parameterless constructor creates a new instance of EbookSaveOptions with ePub output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(EBookFormats).setOutputFormat(EBookFormats)) property) | | EbookSaveOptions(EBookFormats outputFormat) | Creates a new instance of EbookSaveOptions with specified mandatory e-Book output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getSplitHeadingLevel() | Specifies the maximum level of headings at which to split the e-Book file. | | setSplitHeadingLevel(int value) | Specifies the maximum level of headings at which to split the e-Book file. | | getExportDocumentProperties() | Specifies whether to export built-in and custom document properties in resultant file. | | setExportDocumentProperties(boolean value) | Specifies whether to export built-in and custom document properties in resultant file. | | getOutputFormat() | Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. | | setOutputFormat(EBookFormats value) | Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. | ##### EbookSaveOptions() ``` public EbookSaveOptions() ``` This parameterless constructor creates a new instance of EbookSaveOptions with ePub output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(EBookFormats).setOutputFormat(EBookFormats)) property) ##### EbookSaveOptions(EBookFormats outputFormat) ``` public EbookSaveOptions(EBookFormats outputFormat) ``` Creates a new instance of EbookSaveOptions with specified mandatory e-Book output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | EBookFormats | andatory output format, in which the e-Book should be saved | ##### getSplitHeadingLevel() ``` public final int getSplitHeadingLevel() ``` Specifies the maximum level of headings at which to split the e-Book file. Default value is 2 . Setting it to 0 will disable splitting, so all content of the e-Book will be incorporarted into a single package inside the resultant file. When this property is set to a value from 1 to 9, the document will be split at paragraphs formatted using **Heading 1** , **Heading 2** , **Heading 3** etc. styles up to the specified heading level. By default, only **Heading 1** and **Heading 2** paragraphs cause the document to be split. Setting this property to zero (or lesser then zero) will cause the document not to be split at heading paragraphs at all. **Returns:** int ##### setSplitHeadingLevel(int value) ``` public final void setSplitHeadingLevel(int value) ``` Specifies the maximum level of headings at which to split the e-Book file. Default value is 2 . Setting it to 0 will disable splitting, so all content of the e-Book will be incorporarted into a single package inside the resultant file. When this property is set to a value from 1 to 9, the document will be split at paragraphs formatted using **Heading 1** , **Heading 2** , **Heading 3** etc. styles up to the specified heading level. By default, only **Heading 1** and **Heading 2** paragraphs cause the document to be split. Setting this property to zero (or lesser then zero) will cause the document not to be split at heading paragraphs at all. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getExportDocumentProperties() ``` public final boolean getExportDocumentProperties() ``` Specifies whether to export built-in and custom document properties in resultant file. Default value is false . **Returns:** boolean ##### setExportDocumentProperties(boolean value) ``` public final void setExportDocumentProperties(boolean value) ``` Specifies whether to export built-in and custom document properties in resultant file. Default value is false . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOutputFormat() ``` public final EBookFormats getOutputFormat() ``` Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. **Returns:** EBookFormats ##### setOutputFormat(EBookFormats value) ``` public final void setOutputFormat(EBookFormats value) ``` Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | EBookFormats | | ### EmailEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/emaileditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class EmailEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents in the different electronic mail (email) formats #### Constructors | Constructor | Description | | --- | --- | | EmailEditOptions() | Initializes a new instance of the EmailEditOptions class, where all options are set to their default values | | EmailEditOptions(int mailMessageOutput) | Initializes a new instance of the EmailEditOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter | #### Methods | Method | Description | | --- | --- | | getMailMessageOutput() | Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML | | setMailMessageOutput(int value) | Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML | ##### EmailEditOptions() ``` public EmailEditOptions() ``` Initializes a new instance of the EmailEditOptions class, where all options are set to their default values ##### EmailEditOptions(int mailMessageOutput) ``` public EmailEditOptions(int mailMessageOutput) ``` Initializes a new instance of the EmailEditOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mailMessageOutput | int | The mail message output, which also can be specified through the property | ##### getMailMessageOutput() ``` public final int getMailMessageOutput() ``` Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Returns:** int ##### setMailMessageOutput(int value) ``` public final void setMailMessageOutput(int value) ``` Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### EmailSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/emailsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class EmailSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving electronic mail (email) documents #### Constructors | Constructor | Description | | --- | --- | | EmailSaveOptions() | Initializes a new instance of the EmailSaveOptions class, where all options are set to their default values | | EmailSaveOptions(int mailMessageOutput) | Initializes a new instance of the EmailSaveOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter | #### Methods | Method | Description | | --- | --- | | getMailMessageOutput() | Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method | | setMailMessageOutput(int value) | Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method | ##### EmailSaveOptions() ``` public EmailSaveOptions() ``` Initializes a new instance of the EmailSaveOptions class, where all options are set to their default values ##### EmailSaveOptions(int mailMessageOutput) ``` public EmailSaveOptions(int mailMessageOutput) ``` Initializes a new instance of the EmailSaveOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mailMessageOutput | int | The mail message output, which also can be specified through the property | ##### getMailMessageOutput() ``` public final int getMailMessageOutput() ``` Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Returns:** int ##### setMailMessageOutput(int value) ``` public final void setMailMessageOutput(int value) ``` Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### FixedLayoutEditOptionsBase Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/fixedlayouteditoptionsbase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public abstract class FixedLayoutEditOptionsBase implements IEditOptions ``` Base abstract class for the options for all documents of fixed-layout formats like PDF and XPS #### Constructors | Constructor | Description | | --- | --- | | FixedLayoutEditOptionsBase() | | #### Methods | Method | Description | | --- | --- | | getSkipImages() | Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. | | setSkipImages(boolean value) | Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. | | getPages() | Allows to set a page range to process. | | setPages(PageRange value) | Allows to set a page range to process. | | getEnablePagination() | Allows to enable (true) or disable (false) pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable (true) or disable (false) pagination in the resultant HTML document. | ##### FixedLayoutEditOptionsBase() ``` public FixedLayoutEditOptionsBase() ``` ##### getSkipImages() ``` public final boolean getSkipImages() ``` Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. Default is false - images are preserved. **Returns:** boolean ##### setSkipImages(boolean value) ``` public final void setSkipImages(boolean value) ``` Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. Default is false - images are preserved. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPages() ``` public final PageRange getPages() ``` Allows to set a page range to process. By default all pages of a fixed-layout document are processed. **Returns:** PageRange ##### setPages(PageRange value) ``` public final void setPages(PageRange value) ``` Allows to set a page range to process. By default all pages of a fixed-layout document are processed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PageRange | | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable (true) or disable (false) pagination in the resultant HTML document. By default is disabled (false). Fixed-layout format documents (PDF and XPS in particular) in their essence are strictly paged, their content has a fixed layout and divided onto pages. But resultant editable HTML can be represented in either pageless or paginal view. **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable (true) or disable (false) pagination in the resultant HTML document. By default is disabled (false). Fixed-layout format documents (PDF and XPS in particular) in their essence are strictly paged, their content has a fixed layout and divided onto pages. But resultant editable HTML can be represented in either pageless or paginal view. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### FontEmbeddingOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/fontembeddingoptions.md **Inheritance:** java.lang.Object ``` public final class FontEmbeddingOptions ``` Font embedding options control which font resources should be embedded into the output WordProcessing document Font embedding options are applied during document saving (from intermediate EditableDocument into output WordProcessing format), this enum is included as a property in the WordProcessingSaveOptions, from where it should be used #### Fields | Field | Description | | --- | --- | | NotEmbed | Do not embed any font resource neither from EditableDocument nor from the system. | | EmbedAll | Analize document content from input EditableDocument, find all used fonts and embed them into output WordProcessing document. | | EmbedWithoutSystem | Exact to EmbedAll, but exclude those fonts, which are treated by OS as system fonts | #### Methods | Method | Description | | --- | --- | | getFontEmbeddingOptions() | | ##### NotEmbed ``` public static final int NotEmbed ``` Do not embed any font resource neither from EditableDocument nor from the system. Default value. ##### EmbedAll ``` public static final int EmbedAll ``` Analize document content from input EditableDocument, find all used fonts and embed them into output WordProcessing document. In the first place GroupDocs.Editor takes fonts from font resources within EditableDocument. If they are insufficient or missing, then GroupDocs.Editor takes fonts from OS. First of all GroupDocs.Editor analyzes a content of EditableDocument and forms a list of all used fonts. Then these fotns are searched for in the font resources of EditableDocument. If EditableDocument contains some font resources, which are not involved within document content, such resources are ignored. If there are some fonts, used in the document content, which have no corresponding font resources in EditableDocument, then GroupDocs.Editor tries to find them in the OS. This option resembles the "Embed fonts in the file" option with all sub-options turned off in Microsoft Word 2007 and higher ##### EmbedWithoutSystem ``` public static final int EmbedWithoutSystem ``` Exact to EmbedAll, but exclude those fonts, which are treated by OS as system fonts MS Windows has a concept of system fonts, which are the most basic and used fonts by Windows itself. When using this option, the GroupDocs.Editor acts like for EmbedAll case, but finally reviews a set of obtained fonts and excludes those, which are treated by OS as system fonts. This option resembles the "Embed fonts in the file" + "Do not embed common system fonts" options in Microsoft Word 2007 and higher ##### getFontEmbeddingOptions() ``` public static int[] getFontEmbeddingOptions() ``` **Returns:** int[] ### FontExtractionOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/fontextractionoptions.md **Inheritance:** java.lang.Object ``` public final class FontExtractionOptions ``` Font extraction options control which fonts should be extracted and from where #### Fields | Field | Description | | --- | --- | | NotExtract | Does not extract any font resource neither from document not from the system. | | ExtractAllEmbedded | Extracts all font resources, which are embedded into the input Word document, regardless of what they are: custom or system. | | ExtractEmbeddedWithoutSystem | Extracts only those embedded font resources, which are custom (not system) | | ExtractAll | Tries to extract all fonts, which are used in the input WordProcessing document, including system fonts. | #### Methods | Method | Description | | --- | --- | | getFontExtractionOptions() | | ##### NotExtract ``` public static final int NotExtract ``` Does not extract any font resource neither from document not from the system. Default value. ##### ExtractAllEmbedded ``` public static final int ExtractAllEmbedded ``` Extracts all font resources, which are embedded into the input Word document, regardless of what they are: custom or system. Converter finds and extracts all 100% font resources, which are embedded into the input WordProcessing document, but it doesn't determine whether they are system or custom; it doesn't touch Windows Registry or system folders at all. ##### ExtractEmbeddedWithoutSystem ``` public static final int ExtractEmbeddedWithoutSystem ``` Extracts only those embedded font resources, which are custom (not system) Converter finds and extracts all embedded font resources, and then tries to determine which of these fonts are system, and which - not. In order to achieve this, converter tries to obtain a list of all system fonts by using Windows Registry and system folders, and then compares this list with a set of embedded fonts. As a result, only subset of those embedded fonts, which were not found in system, will be returned. ##### ExtractAll ``` public static final int ExtractAll ``` Tries to extract all fonts, which are used in the input WordProcessing document, including system fonts. Converter is analyzing an input WordProcessing document and finds all fonts, which are used there. If all of these fonts are embedded into the input document, converter extracts and returns them. Otherwise, if a collection of embedded fonts doesn't cover all used fonts in the document, or is empty, converter tries to extract these font resources from system, by using Windows Registry and system folders. ##### getFontExtractionOptions() ``` public static int[] getFontExtractionOptions() ``` **Returns:** int[] ### HtmlSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/htmlsaveoptions.md **Inheritance:** java.lang.Object ``` public final class HtmlSaveOptions ``` Allows to specify custom options for saving the EditableDocument instance to the HTML format #### Constructors | Constructor | Description | | --- | --- | | HtmlSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getHtmlTagCase() | Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case | | setHtmlTagCase(int value) | Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case | | getAttributeValueDelimiter() | Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote | | setAttributeValueDelimiter(int value) | Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote | | getEmbedStylesheetsIntoMarkup() | Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) | | setEmbedStylesheetsIntoMarkup(boolean value) | Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) | | getSavingCallback() | Interface, which must be implemented by the end-user for saving all the external HTML resources | | setSavingCallback(IHtmlSavingCallback value) | Interface, which must be implemented by the end-user for saving all the external HTML resources | ##### HtmlSaveOptions() ``` public HtmlSaveOptions() ``` ##### getHtmlTagCase() ``` public final int getHtmlTagCase() ``` Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case **Returns:** int ##### setHtmlTagCase(int value) ``` public final void setHtmlTagCase(int value) ``` Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getAttributeValueDelimiter() ``` public final int getAttributeValueDelimiter() ``` Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote **Returns:** int ##### setAttributeValueDelimiter(int value) ``` public final void setAttributeValueDelimiter(int value) ``` Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getEmbedStylesheetsIntoMarkup() ``` public final boolean getEmbedStylesheetsIntoMarkup() ``` Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) **Returns:** boolean ##### setEmbedStylesheetsIntoMarkup(boolean value) ``` public final void setEmbedStylesheetsIntoMarkup(boolean value) ``` Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getSavingCallback() ``` public final IHtmlSavingCallback getSavingCallback() ``` Interface, which must be implemented by the end-user for saving all the external HTML resources **Returns:** IHtmlSavingCallback ##### setSavingCallback(IHtmlSavingCallback value) ``` public final void setSavingCallback(IHtmlSavingCallback value) ``` Interface, which must be implemented by the end-user for saving all the external HTML resources **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IHtmlSavingCallback | | ### IEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/ieditoptions.md ### IHtmlSavingCallback Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/ihtmlsavingcallback.md ### ILoadOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/iloadoptions.md ### IMarkdownImageLoadCallback Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/imarkdownimageloadcallback.md ### ISaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/isaveoptions.md ### MailMessageOutput Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/mailmessageoutput.md **Inheritance:** java.lang.Object ``` public final class MailMessageOutput ``` Controls which parts of the mail message should be delivered to the output processing #### Fields | Field | Description | | --- | --- | | None | None of the email message parts will be processed | | Body | Process body of the mail message | | Subject | Process subject of the mail message | | Date | Process date and time when message was delivered | | To | Process all recipients of the mail message | | Cc | Process all CC recipients of the mail message | | Bcc | Process all BCC recipients of the mail message | | From | Process sender of the mail message | | Attachments | Process all attachments of the mail message | | Metadata | Process all other technical metadata (sensitivity, priority, encoding, MIME, X-Mailer, etc) | | Common | Common output - body with all main metadata | | All | Full output - body with all metadata | ##### None ``` public static final int None ``` None of the email message parts will be processed ##### Body ``` public static final int Body ``` Process body of the mail message ##### Subject ``` public static final int Subject ``` Process subject of the mail message ##### Date ``` public static final int Date ``` Process date and time when message was delivered ##### To ``` public static final int To ``` Process all recipients of the mail message ##### Cc ``` public static final int Cc ``` Process all CC recipients of the mail message ##### Bcc ``` public static final int Bcc ``` Process all BCC recipients of the mail message ##### From ``` public static final int From ``` Process sender of the mail message ##### Attachments ``` public static final int Attachments ``` Process all attachments of the mail message ##### Metadata ``` public static final int Metadata ``` Process all other technical metadata (sensitivity, priority, encoding, MIME, X-Mailer, etc) ##### Common ``` public static final int Common ``` Common output - body with all main metadata ##### All ``` public static final int All ``` Full output - body with all metadata ### MarkdownEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/markdowneditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class MarkdownEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents in Markdown format. #### Constructors | Constructor | Description | | --- | --- | | MarkdownEditOptions() | Creates and returns a new instance of the MarkdownEditOptions class, where all options are set to their default values | #### Methods | Method | Description | | --- | --- | | getImageLoadCallback() | Allows to control how images are saved when converting Markdown document to Html. | | setImageLoadCallback(IMarkdownImageLoadCallback value) | Allows to control how images are saved when converting Markdown document to Html. | ##### MarkdownEditOptions() ``` public MarkdownEditOptions() ``` Creates and returns a new instance of the MarkdownEditOptions class, where all options are set to their default values ##### getImageLoadCallback() ``` public final IMarkdownImageLoadCallback getImageLoadCallback() ``` Allows to control how images are saved when converting Markdown document to Html. Value: The image saving callback. **Returns:** IMarkdownImageLoadCallback ##### setImageLoadCallback(IMarkdownImageLoadCallback value) ``` public final void setImageLoadCallback(IMarkdownImageLoadCallback value) ``` Allows to control how images are saved when converting Markdown document to Html. Value: The image saving callback. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IMarkdownImageLoadCallback | | ### MarkdownImageLoadArgs Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/markdownimageloadargs.md **Inheritance:** java.lang.Object ``` public class MarkdownImageLoadArgs ``` Provides data for the M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) event. #### Constructors | Constructor | Description | | --- | --- | | MarkdownImageLoadArgs() | | #### Methods | Method | Description | | --- | --- | | getImageFileName() | Gets or sets the file name (as is in the Markdown document) that will be process. | | setImageFileName(String value) | Gets or sets the file name (as is in the Markdown document) that will be process. | | isAbsoluteUri() | Get a value indicating whether this image has absolute URI link. | | setAbsoluteUri(boolean value) | Get a value indicating whether this image has absolute URI link. | | setData(byte[] data) | Sets user provided data of the resource which is used if M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) | ##### MarkdownImageLoadArgs() ``` public MarkdownImageLoadArgs() ``` ##### getImageFileName() ``` public final String getImageFileName() ``` Gets or sets the file name (as is in the Markdown document) that will be process. **Returns:** java.lang.String ##### setImageFileName(String value) ``` public final void setImageFileName(String value) ``` Gets or sets the file name (as is in the Markdown document) that will be process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### isAbsoluteUri() ``` public final boolean isAbsoluteUri() ``` Get a value indicating whether this image has absolute URI link. Value: true if this image has absolute URI link; otherwise, false . **Returns:** boolean ##### setAbsoluteUri(boolean value) ``` public final void setAbsoluteUri(boolean value) ``` Get a value indicating whether this image has absolute URI link. Value: true if this image has absolute URI link; otherwise, false . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### setData(byte[] data) ``` public final void setData(byte[] data) ``` Sets user provided data of the resource which is used if M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | data | byte[] | | ### MarkdownImageLoadingAction Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/markdownimageloadingaction.md **Inheritance:** java.lang.Object ``` public final class MarkdownImageLoadingAction ``` Defines the mode of image loading while opening for editing the file in Markdown format #### Fields | Field | Description | | --- | --- | | Default | GroupDocs.Editor will load this resource as usual | | Skip | GroupDocs.Editor will skip loading of this image | | UserProvided | GroupDocs.Editor will use byte array provided by user in M:GroupDocs.Editor.Options.MarkdownImageLoadArgs.SetData(System.Byte[]) as image data | ##### Default ``` public static final int Default ``` GroupDocs.Editor will load this resource as usual ##### Skip ``` public static final int Skip ``` GroupDocs.Editor will skip loading of this image ##### UserProvided ``` public static final int UserProvided ``` GroupDocs.Editor will use byte array provided by user in M:GroupDocs.Editor.Options.MarkdownImageLoadArgs.SetData(System.Byte[]) as image data ### MarkdownSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/markdownsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class MarkdownSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving Markdown documents MarkdownSaveOptions class must be applied by the user when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of Markdown format. #### Constructors | Constructor | Description | | --- | --- | | MarkdownSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | getTableContentAlignment() | Allow specifies how to align contents in tables when exporting into the Markdown format. | | setTableContentAlignment(int value) | Allow specifies how to align contents in tables when exporting into the Markdown format. | | getImagesFolder() | Specifies the physical folder where images are saved when exporting a document to the Markdown format. | | setImagesFolder(String value) | Specifies the physical folder where images are saved when exporting a document to the Markdown format. | | getExportImagesAsBase64() | Specifies whether images are saved in Base64 format to the output file. | | setExportImagesAsBase64(boolean value) | Specifies whether images are saved in Base64 format to the output file. | ##### MarkdownSaveOptions() ``` public MarkdownSaveOptions() ``` ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTableContentAlignment() ``` public final int getTableContentAlignment() ``` Allow specifies how to align contents in tables when exporting into the Markdown format. The default value is MarkdownTableContentAlignment.Auto. Value: The table content alignment **Returns:** int ##### setTableContentAlignment(int value) ``` public final void setTableContentAlignment(int value) ``` Allow specifies how to align contents in tables when exporting into the Markdown format. The default value is MarkdownTableContentAlignment.Auto. Value: The table content alignment **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImagesFolder() ``` public final String getImagesFolder() ``` Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null. If neither the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) nor ExportImagesAsBase64 (\#getExportImagesAsBase64.getExportImagesAsBase64/\#setExportImagesAsBase64(boolean).setExportImagesAsBase64(boolean)) are specified by the user, then the GroupDocs.Editor will try to determine the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) by itself and apply it on success **Returns:** java.lang.String ##### setImagesFolder(String value) ``` public final void setImagesFolder(String value) ``` Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null. If neither the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) nor ExportImagesAsBase64 (\#getExportImagesAsBase64.getExportImagesAsBase64/\#setExportImagesAsBase64(boolean).setExportImagesAsBase64(boolean)) are specified by the user, then the GroupDocs.Editor will try to determine the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) by itself and apply it on success **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getExportImagesAsBase64() ``` public final boolean getExportImagesAsBase64() ``` Specifies whether images are saved in Base64 format to the output file. Default is false . When this property is set to true , then images data are exported directly into the image elements ! and separate files are not created. This property, if set to true , has the higher priority than the MarkdownSaveOptions.ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) property. **Returns:** boolean ##### setExportImagesAsBase64(boolean value) ``` public final void setExportImagesAsBase64(boolean value) ``` Specifies whether images are saved in Base64 format to the output file. Default is false . When this property is set to true , then images data are exported directly into the image elements ! and separate files are not created. This property, if set to true , has the higher priority than the MarkdownSaveOptions.ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### MarkdownTableContentAlignment Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/markdowntablecontentalignment.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class MarkdownTableContentAlignment extends System.Enum ``` Allows to specify the alignment of the content of the table to be used when exporting into Markdown format. #### Fields | Field | Description | | --- | --- | | Auto | The alignment will be taken from the first paragraph in corresponding table column. | | Left | The content of tables will be aligned to the Left. | | Center | The content of tables will be aligned to the Center. | | Right | The content of tables will be aligned to the Right. | #### Methods | Method | Description | | --- | --- | | getMarkdownTableContentAlignment() | | | getMarkdownTableContentAlignments() | | ##### Auto ``` public static final int Auto ``` The alignment will be taken from the first paragraph in corresponding table column. ##### Left ``` public static final int Left ``` The content of tables will be aligned to the Left. ##### Center ``` public static final int Center ``` The content of tables will be aligned to the Center. ##### Right ``` public static final int Right ``` The content of tables will be aligned to the Right. ##### getMarkdownTableContentAlignment() ``` public static int[] getMarkdownTableContentAlignment() ``` **Returns:** int[] ##### getMarkdownTableContentAlignments() ``` public static List getMarkdownTableContentAlignments() ``` **Returns:** java.util.List ### MhtmlSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/mhtmlsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class MhtmlSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving the MHTML (MIME encapsulation of aggregate HTML documents) documents #### Constructors | Constructor | Description | | --- | --- | | MhtmlSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getExportCidUrls() | Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. | | setExportCidUrls(boolean value) | Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. | | getExportDocumentProperties() | Specifies whether to export built-in and custom document properties to MHTML. | | setExportDocumentProperties(boolean value) | Specifies whether to export built-in and custom document properties to MHTML. | | getExportLanguageInformation() | Specifies whether language information is exported to MHTML. | | setExportLanguageInformation(boolean value) | Specifies whether language information is exported to MHTML. | ##### MhtmlSaveOptions() ``` public MhtmlSaveOptions() ``` ##### getExportCidUrls() ``` public final boolean getExportCidUrls() ``` Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. Default value is false . By default, resources in MHTML documents are referenced by file name (for example, "image.png"), which are matched against "Content-Location" headers of MIME parts. This option enables an alternative method, where references to resource files are written as CID (Content-ID) URLs (for example, "cid:image.png") and are matched against "Content-ID" headers. In theory, there should be no difference between the two referencing methods and either of them should work fine in any browser or mail agent. In practice, however, some agents fail to fetch resources by file name. If your browser or mail agent refuses to load resources included in an MTHML document (doesn't show images or doesn't load CSS styles), try exporting the document with CID URLs. **Returns:** boolean ##### setExportCidUrls(boolean value) ``` public final void setExportCidUrls(boolean value) ``` Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. Default value is false . By default, resources in MHTML documents are referenced by file name (for example, "image.png"), which are matched against "Content-Location" headers of MIME parts. This option enables an alternative method, where references to resource files are written as CID (Content-ID) URLs (for example, "cid:image.png") and are matched against "Content-ID" headers. In theory, there should be no difference between the two referencing methods and either of them should work fine in any browser or mail agent. In practice, however, some agents fail to fetch resources by file name. If your browser or mail agent refuses to load resources included in an MTHML document (doesn't show images or doesn't load CSS styles), try exporting the document with CID URLs. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getExportDocumentProperties() ``` public final boolean getExportDocumentProperties() ``` Specifies whether to export built-in and custom document properties to MHTML. Default value is false . **Returns:** boolean ##### setExportDocumentProperties(boolean value) ``` public final void setExportDocumentProperties(boolean value) ``` Specifies whether to export built-in and custom document properties to MHTML. Default value is false . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getExportLanguageInformation() ``` public final boolean getExportLanguageInformation() ``` Specifies whether language information is exported to MHTML. Default value is false . When this property is set to true , the GroupDocs.Editor emits the lang HTML-attribute on the document elements that specify language. This can be needed to preserve language related semantics. **Returns:** boolean ##### setExportLanguageInformation(boolean value) ``` public final void setExportLanguageInformation(boolean value) ``` Specifies whether language information is exported to MHTML. Default value is false . When this property is set to true , the GroupDocs.Editor emits the lang HTML-attribute on the document elements that specify language. This can be needed to preserve language related semantics. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PageRange Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/pagerange.md **Inheritance:** java.lang.Object ``` public class PageRange ``` Encapsulates one page range, which can have open or closed bounds. By default is "fully open" - it includes all existing pages. Page numbering starts from 1, not from 0. Immutable struct, that encapsulates a page range, which is not related to any specific document, and can represent a page range for any document. #### Constructors | Constructor | Description | | --- | --- | | PageRange() | | #### Fields | Field | Description | | --- | --- | | AllPages | Represents all existing pages of a document. | #### Methods | Method | Description | | --- | --- | | getStartNumber() | Inclusive start page number, from which this page range starts. | | getEndNumber() | Exclusive end page number, until which this page range continues and on which is stops exclusively. | | getCount() | Numbers of pages within range. | | isDefault() | Indicates whether this instance represents a default "fully open" page range i.e. | | equals(PageRange other) | Detects whether this instance of PageRange is equal to specified | | fromBeginningWithCount(int pageCount) | Creates a page range, that starts from the first page and has specified amount of pages | | fromStartPageTillEnd(int startPageNumber) | Creates a page range, that starts from the specified page number and continues till the end of the document | | fromStartPageWithCount(int startPageNumber, int pageCount) | Creates a page range, that starts from the specified page number and has specified amount of pages, or unlimited page count (till the end) | | fromStartPageTillEndPage(int startPageNumber, int endPageNumber) | Creates a page range, that starts from the specified page number (inclusively) and continues until the specified page number (exclusively) | ##### PageRange() ``` public PageRange() ``` ##### AllPages ``` public static final PageRange AllPages ``` Represents all existing pages of a document. Default value. ##### getStartNumber() ``` public final int getStartNumber() ``` Inclusive start page number, from which this page range starts. If 1 - page range starts from the first page of a document **Returns:** int ##### getEndNumber() ``` public final int getEndNumber() ``` Exclusive end page number, until which this page range continues and on which is stops exclusively. If 0 - page range spreads until end of the document **Returns:** int ##### getCount() ``` public final int getCount() ``` Numbers of pages within range. If 0 - page range spreads until end of the document no matter how much pages it consists of **Returns:** int ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this instance represents a default "fully open" page range i.e. it consists all pages of a document **Returns:** boolean ##### equals(PageRange other) ``` public final boolean equals(PageRange other) ``` Detects whether this instance of PageRange is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | PageRange | Other PageRange instance to check on equality | **Returns:** boolean - true is are equal; false if are unequal ##### fromBeginningWithCount(int pageCount) ``` public static PageRange fromBeginningWithCount(int pageCount) ``` Creates a page range, that starts from the first page and has specified amount of pages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageCount | int | Number of pages, must be strictly bigger than zero | **Returns:** PageRange - New PageRange instance ##### fromStartPageTillEnd(int startPageNumber) ``` public static PageRange fromStartPageTillEnd(int startPageNumber) ``` Creates a page range, that starts from the specified page number and continues till the end of the document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | int | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | **Returns:** PageRange - New PageRange instance ##### fromStartPageWithCount(int startPageNumber, int pageCount) ``` public static PageRange fromStartPageWithCount(int startPageNumber, int pageCount) ``` Creates a page range, that starts from the specified page number and has specified amount of pages, or unlimited page count (till the end) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | int | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | | pageCount | int | Number of pages, must be strictly bigger than zero. If zero - this means all pages till the end of a document | **Returns:** PageRange - New PageRange instance ##### fromStartPageTillEndPage(int startPageNumber, int endPageNumber) ``` public static PageRange fromStartPageTillEndPage(int startPageNumber, int endPageNumber) ``` Creates a page range, that starts from the specified page number (inclusively) and continues until the specified page number (exclusively) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | int | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | | endPageNumber | int | Page number, until which page range continues, exclusively. Page numbers are 1-based, so must be strictly bigger than zero, and also must be strictly greater than startPageNumber | **Returns:** PageRange - ### PdfCompliance Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/pdfcompliance.md **Inheritance:** java.lang.Object ``` public final class PdfCompliance ``` Specifies the PDF standards compliance level #### Fields | Field | Description | | --- | --- | | Pdf17 | PDF 1.7 (ISO 32000-1) standard | | Pdf20 | PDF 2.0 (ISO 32000-2) standard | | PdfA1a | PDF/A-1a standard. | | PdfA1b | PDF/A-1b (ISO 19005-1). | | PdfA2a | PDF/A-2a (ISO 19005-2) standard. | | PdfA2u | PDF/A-2u (ISO 19005-2) standard. | | PdfUa1 | PDF/UA-1 (ISO 14289-1) standard. | ##### Pdf17 ``` public static final int Pdf17 ``` PDF 1.7 (ISO 32000-1) standard ##### Pdf20 ``` public static final int Pdf20 ``` PDF 2.0 (ISO 32000-2) standard ##### PdfA1a ``` public static final int PdfA1a ``` PDF/A-1a standard. This level includes all the requirements of PDF/A-1b and additionally requires that document structure be included (also known as being "tagged"), with the objective of ensuring that document content can be searched and repurposed. Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. ##### PdfA1b ``` public static final int PdfA1b ``` PDF/A-1b (ISO 19005-1). PDF/A-1b has the objective of ensuring reliable reproduction of the visual appearance of the document. ##### PdfA2a ``` public static final int PdfA2a ``` PDF/A-2a (ISO 19005-2) standard. This level includes all the requirements of PDF/A-2u and additionally requires that document structure be included (also known as being "tagged"), with the objective of ensuring that document content can be searched and repurposed. Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. ##### PdfA2u ``` public static final int PdfA2u ``` PDF/A-2u (ISO 19005-2) standard. PDF/A-2u has the objective of preserving document static visual appearance over time, independent of the tools and systems used for creating, storing or rendering the files. Additionally any text contained in the document can be reliably extracted as a series of Unicode codepoints. ##### PdfUa1 ``` public static final int PdfUa1 ``` PDF/UA-1 (ISO 14289-1) standard. The primary purpose of PDF/UA is to define how to represent electronic documents in the PDF format in a manner that allows the file to be accessible. ### PdfSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/pdfsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class PdfSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving PDF (Portable Document Format) documents #### Constructors | Constructor | Description | | --- | --- | | PdfSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getPassword() | Password, which will be applied to the generated PDF document as user password, required for opening. | | setPassword(String value) | Password, which will be applied to the generated PDF document as user password, required for opening. | | getCompliance() | Specifies the PDF standards compliance level for output documents. | | setCompliance(int value) | Specifies the PDF standards compliance level for output documents. | | getFontEmbedding() | Responsible for embedding font resources into resultant PDF document, which are used in the original document. | | setFontEmbedding(int value) | Responsible for embedding font resources into resultant PDF document, which are used in the original document. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | ##### PdfSaveOptions() ``` public PdfSaveOptions() ``` ##### getPassword() ``` public final String getPassword() ``` Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit). By default is NULL \\u2014 password is not applied. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit). By default is NULL \\u2014 password is not applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getCompliance() ``` public final int getCompliance() ``` Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf17. **Returns:** int ##### setCompliance(int value) ``` public final void setCompliance(int value) ``` Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf17. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getFontEmbedding() ``` public final int getFontEmbedding() ``` Responsible for embedding font resources into resultant PDF document, which are used in the original document. By default doesn't embed any fonts (NotEmbed). **Returns:** int ##### setFontEmbedding(int value) ``` public final void setFontEmbedding(int value) ``` Responsible for embedding font resources into resultant PDF document, which are used in the original document. By default doesn't embed any fonts (NotEmbed). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PresentationEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/presentationeditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class PresentationEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents of all supportable Presentation (PowerPoint-compatible) formats #### Constructors | Constructor | Description | | --- | --- | | PresentationEditOptions() | | #### Methods | Method | Description | | --- | --- | | getSlideNumber() | Allows to specify the slide numbers, which should be opened for editing | | setSlideNumber(int value) | Allows to specify the slide numbers, which should be opened for editing | | getShowHiddenSlides() | Specifies whether the hidden slides should be included or not. | | setShowHiddenSlides(boolean value) | Specifies whether the hidden slides should be included or not. | ##### PresentationEditOptions() ``` public PresentationEditOptions() ``` ##### getSlideNumber() ``` public final int getSlideNumber() ``` Allows to specify the slide numbers, which should be opened for editing Slide number is a zero-based index of a slide, that allows to specify and select one particular slide from a presentation to edit. If lesser then 0, the first slide will be selected (same as SlideNumber = 0). If greater then amount of all slides in presentation, the last slide will be selected. If input presentation contains only single slide, this option will be ignored, and this single slide will be edited. If trying to open for editing a hidden slide, while ShowHiddenSlides (\#getShowHiddenSlides.getShowHiddenSlides/\#setShowHiddenSlides(boolean).setShowHiddenSlides(boolean)) option is set to 'false', the exception will be thrown. **Returns:** int ##### setSlideNumber(int value) ``` public final void setSlideNumber(int value) ``` Allows to specify the slide numbers, which should be opened for editing Slide number is a zero-based index of a slide, that allows to specify and select one particular slide from a presentation to edit. If lesser then 0, the first slide will be selected (same as SlideNumber = 0). If greater then amount of all slides in presentation, the last slide will be selected. If input presentation contains only single slide, this option will be ignored, and this single slide will be edited. If trying to open for editing a hidden slide, while ShowHiddenSlides (\#getShowHiddenSlides.getShowHiddenSlides/\#setShowHiddenSlides(boolean).setShowHiddenSlides(boolean)) option is set to 'false', the exception will be thrown. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getShowHiddenSlides() ``` public final boolean getShowHiddenSlides() ``` Specifies whether the hidden slides should be included or not. Default is false - hidden slides are not shown and exception will be thrown while trying to edit them. **Returns:** boolean ##### setShowHiddenSlides(boolean value) ``` public final void setShowHiddenSlides(boolean value) ``` Specifies whether the hidden slides should be included or not. Default is false - hidden slides are not shown and exception will be thrown while trying to edit them. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PresentationLoadOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/presentationloadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ILoadOptions ``` public class PresentationLoadOptions implements ILoadOptions ``` Allows to specify custom options for loading documents of all supportable Presentation formats like PPT(X), PPTM, PPS(X) etc. #### Constructors | Constructor | Description | | --- | --- | | PresentationLoadOptions() | | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. | ##### PresentationLoadOptions() ``` public PresentationLoadOptions() ``` ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. Set to NULL or empty string in order to remove the password. By default this property has NULL value \\u2014 password is not set. If input Presentation document is password-protected, the password is mandatory and an exception will be thrown if password is not specified or is invalid. If input Presentation document is NOT password-protected, but password is set, it will be ignored. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. Set to NULL or empty string in order to remove the password. By default this property has NULL value \\u2014 password is not set. If input Presentation document is password-protected, the password is mandatory and an exception will be thrown if password is not specified or is invalid. If input Presentation document is NOT password-protected, but password is set, it will be ignored. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### PresentationSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/presentationsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class PresentationSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving Presentation (PowerPoint-compatible) documents #### Constructors | Constructor | Description | | --- | --- | | PresentationSaveOptions() | This parameterless constructor creates a new instance of PresentationSaveOptions with PPTX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(PresentationFormats).setOutputFormat(PresentationFormats)) property) | | PresentationSaveOptions(PresentationFormats outputFormat) | Creates a new instance of PresentationSaveOptions with specified mandatory Presentation output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. | | getSlideNumber() | Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). | | setSlideNumber(int value) | Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). | | getInsertAsNewSlide() | Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. | | setInsertAsNewSlide(boolean value) | Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. | | getOutputFormat() | Allows to specify a Presentation format, which will be used for saving the document | | setOutputFormat(PresentationFormats value) | Allows to specify a Presentation format, which will be used for saving the document | | getSlideNumbersToDelete() | Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation. | | setSlideNumbersToDelete(int[] value) | Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation. | ##### PresentationSaveOptions() ``` public PresentationSaveOptions() ``` This parameterless constructor creates a new instance of PresentationSaveOptions with PPTX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(PresentationFormats).setOutputFormat(PresentationFormats)) property) ##### PresentationSaveOptions(PresentationFormats outputFormat) ``` public PresentationSaveOptions(PresentationFormats outputFormat) ``` Creates a new instance of PresentationSaveOptions with specified mandatory Presentation output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | PresentationFormats | Mandatory output format, in which the Presentation document should be saved | ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. By default is NULL - password will not be set. Set to NULL or empty string in order to remove the password, if it was set previously. **Returns:** java.lang.String - ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. By default is NULL - password will not be set. Set to NULL or empty string in order to remove the password, if it was set previously. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getSlideNumber() ``` public final int getSlideNumber() ``` Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). Slide number is a 1-based number of a slide in the presentation, loaded in the Editor class. If it is 0 (default value), the new presentation will be created with single edited slide. If it is greater or lesser then zero, and there is valid presentation, loaded in the Editor class, the edited slide, stored inside input EditableDocument instance, will be inserted into this presentation. > ``` > Given presentation has 5 slides: > SlideNumber = 0; \u2014 ignore given presentation, create a new presentation and put edited slide into it. > SlideNumber = 1; \u2014 replace the first slide with edited > SlideNumber = 2; \u2014 replace the second slide with edited > SlideNumber = 5; \u2014 replace the last (5th) slide with edited > SlideNumber = 6; \u2014 replace the last (5th) slide with edited, because 6 is greater then 5 and thus is adjusted > SlideNumber = -1; \u2014 replace the last (5th) slide with edited, because "-1" means "last existing" > SlideNumber = -2; \u2014 replace the 4th slide with edited > SlideNumber = -3; \u2014 replace the 3rd slide with edited > SlideNumber = -4; \u2014 replace the 2nd slide with edited > SlideNumber = -5; \u2014 replace the first slide with edited > SlideNumber = -6; \u2014 replace the first slide with edited, because "-6" is greater then 5 and thus is adjusted > ``` *SlideNumber* integer property, if it is not in default state (reserved value '0'), represents a slide number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last slide. Negative values are also allowed and count slides from end. For example, "-1" implies last slide in a presentation, "-2" \\u2014 last but one, etc. Like with positive values, when negative slide number exceeds the total count of slides in the given presentation, it will be adjusted to the first slide. The InsertAsNewSlide (\#getInsertAsNewSlide.getInsertAsNewSlide/\#setInsertAsNewSlide(boolean).setInsertAsNewSlide(boolean)) boolean property is tightly coupled with this one. **Returns:** int ##### setSlideNumber(int value) ``` public final void setSlideNumber(int value) ``` Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). Slide number is a 1-based number of a slide in the presentation, loaded in the Editor class. If it is 0 (default value), the new presentation will be created with single edited slide. If it is greater or lesser then zero, and there is valid presentation, loaded in the Editor class, the edited slide, stored inside input EditableDocument instance, will be inserted into this presentation. > ``` > Given presentation has 5 slides: > SlideNumber = 0; \u2014 ignore given presentation, create a new presentation and put edited slide into it. > SlideNumber = 1; \u2014 replace the first slide with edited > SlideNumber = 2; \u2014 replace the second slide with edited > SlideNumber = 5; \u2014 replace the last (5th) slide with edited > SlideNumber = 6; \u2014 replace the last (5th) slide with edited, because 6 is greater then 5 and thus is adjusted > SlideNumber = -1; \u2014 replace the last (5th) slide with edited, because "-1" means "last existing" > SlideNumber = -2; \u2014 replace the 4th slide with edited > SlideNumber = -3; \u2014 replace the 3rd slide with edited > SlideNumber = -4; \u2014 replace the 2nd slide with edited > SlideNumber = -5; \u2014 replace the first slide with edited > SlideNumber = -6; \u2014 replace the first slide with edited, because "-6" is greater then 5 and thus is adjusted > ``` *SlideNumber* integer property, if it is not in default state (reserved value '0'), represents a slide number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last slide. Negative values are also allowed and count slides from end. For example, "-1" implies last slide in a presentation, "-2" \\u2014 last but one, etc. Like with positive values, when negative slide number exceeds the total count of slides in the given presentation, it will be adjusted to the first slide. The InsertAsNewSlide (\#getInsertAsNewSlide.getInsertAsNewSlide/\#setInsertAsNewSlide(boolean).setInsertAsNewSlide(boolean)) boolean property is tightly coupled with this one. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getInsertAsNewSlide() ``` public final boolean getInsertAsNewSlide() ``` Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. By default is false \\u2014 existing slide will be replaced. This property is ignored, if value of SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property is set to '0'. By default slide is replaced. This means that if given presentation has 5 slides, and SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int))=4, then 4th slide will be replaced with the new edited slide, while the total amount of slides in presentation (5) will remain untouched. However, if value of this property is set to *true* , the new edited slide will be injected as 4th slide, and all subsequent slides wil be shifter to the end: "old" 4th slide becomes 5th, and 5th becomes 6th, and the total amount of slides in presentation will be incremented by one and equal to 6. **Returns:** boolean ##### setInsertAsNewSlide(boolean value) ``` public final void setInsertAsNewSlide(boolean value) ``` Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. By default is false \\u2014 existing slide will be replaced. This property is ignored, if value of SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property is set to '0'. By default slide is replaced. This means that if given presentation has 5 slides, and SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int))=4, then 4th slide will be replaced with the new edited slide, while the total amount of slides in presentation (5) will remain untouched. However, if value of this property is set to *true* , the new edited slide will be injected as 4th slide, and all subsequent slides wil be shifter to the end: "old" 4th slide becomes 5th, and 5th becomes 6th, and the total amount of slides in presentation will be incremented by one and equal to 6. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOutputFormat() ``` public final PresentationFormats getOutputFormat() ``` Allows to specify a Presentation format, which will be used for saving the document Output format is usually set in the constructor of this class, because it is mandatory. This property allows to obtain or modify the output format later, when instance of PresentationSaveOptions class was already created. **Returns:** PresentationFormats ##### setOutputFormat(PresentationFormats value) ``` public final void setOutputFormat(PresentationFormats value) ``` Allows to specify a Presentation format, which will be used for saving the document Output format is usually set in the constructor of this class, because it is mandatory. This property allows to obtain or modify the output format later, when instance of PresentationSaveOptions class was already created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PresentationFormats | | ##### getSlideNumbersToDelete() ``` public final int[] getSlideNumbersToDelete() ``` Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation.When the edited slide is saved not as a new single-slide presentation (default behavior), but instead is saved into an existing presentation (using \#getSlideNumber().getSlideNumber() / \#setSlideNumber(int).setSlideNumber(int)), it is also possible to delete some particular slides from this presentation by specifying their numbers in this array. By default this array is null \\u2014 no slides will be deleted. However, when this array is non-null and non-empty, and it contains at least one valid slide number, after the output Presentation document is generated with the content of the edited slide, the slides with specified numbers will be deleted from the presentation right before writing its content to the output stream or file. Slide numbers in this array are 1-based, not 0-based. Invalid numbers (less than 1 or greater than the total number of slides) will be ignored. **Returns:** int[] - Array of 1-based slide numbers to delete, or null if nothing should be deleted. ##### setSlideNumbersToDelete(int[] value) ``` public final void setSlideNumbersToDelete(int[] value) ``` Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation.Slide numbers in this array are 1-based. Invalid numbers will be ignored. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | Array of 1-based slide numbers to delete (may be null or empty). | ### SpreadsheetEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/spreadsheeteditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class SpreadsheetEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents of all supportable Spreadsheet (Excel-compatible) formats #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetEditOptions() | | #### Methods | Method | Description | | --- | --- | | getWorksheetIndex() | Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). | | setWorksheetIndex(int value) | Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). | | getExcludeHiddenWorksheets() | Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. | | setExcludeHiddenWorksheets(boolean value) | Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. | ##### SpreadsheetEditOptions() ``` public SpreadsheetEditOptions() ``` ##### getWorksheetIndex() ``` public final int getWorksheetIndex() ``` Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). Most of Spreadsheet documents support a concept of tabs, i.e. they can be multi-tabbed. On the other hand, HTML format doesn't support such structure. Because of this GroupDocs.Editor can convert to the HTML only one specific tab of the input document, and this option allows to specify it. Tab index is 0-based, negative values are prohibited. If specified index exceeds the number of all tabs, the exception will be thrown. If input Spreadsheet document contains only one tab, this option will be ignored. Default value is 0 (first tab). **Returns:** int ##### setWorksheetIndex(int value) ``` public final void setWorksheetIndex(int value) ``` Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). Most of Spreadsheet documents support a concept of tabs, i.e. they can be multi-tabbed. On the other hand, HTML format doesn't support such structure. Because of this GroupDocs.Editor can convert to the HTML only one specific tab of the input document, and this option allows to specify it. Tab index is 0-based, negative values are prohibited. If specified index exceeds the number of all tabs, the exception will be thrown. If input Spreadsheet document contains only one tab, this option will be ignored. Default value is 0 (first tab). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getExcludeHiddenWorksheets() ``` public final boolean getExcludeHiddenWorksheets() ``` Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. Default is false - hidden worksheets are available and processed as normal. Several binary Spreadsheet formats (like XLSX) support hidden worksheets (tabs) concept. Document of such format, if it has more then one worksheet, may contain additional hidden worksheets. By default such hidden worksheets are available for processing, but with this option it is able to ignore them, like these hidden worksheets are absent and don't exist. When this option is enabled, you cannot select hidden worksheet with the ' WorksheetIndex (\#getWorksheetIndex.getWorksheetIndex/\#setWorksheetIndex(int).setWorksheetIndex(int))' property. **Returns:** boolean ##### setExcludeHiddenWorksheets(boolean value) ``` public final void setExcludeHiddenWorksheets(boolean value) ``` Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. Default is false - hidden worksheets are available and processed as normal. Several binary Spreadsheet formats (like XLSX) support hidden worksheets (tabs) concept. Document of such format, if it has more then one worksheet, may contain additional hidden worksheets. By default such hidden worksheets are available for processing, but with this option it is able to ignore them, like these hidden worksheets are absent and don't exist. When this option is enabled, you cannot select hidden worksheet with the ' WorksheetIndex (\#getWorksheetIndex.getWorksheetIndex/\#setWorksheetIndex(int).setWorksheetIndex(int))' property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/spreadsheetloadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ILoadOptions ``` public final class SpreadsheetLoadOptions implements ILoadOptions ``` Contains options for loading binary Spreadsheet (Cells, Excel-compatible) documents like XLS(X), ODS etc. into Editor class #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetLoadOptions() | Default parameterless constructor - all parameters have default values | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | ##### SpreadsheetLoadOptions() ``` public SpreadsheetLoadOptions() ``` Default parameterless constructor - all parameters have default values ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### SpreadsheetSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/spreadsheetsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class SpreadsheetSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving Spreadsheet (Excel-compliant) documents #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetSaveOptions() | This parameterless constructor creates a new instance of SpreadsheetSaveOptions with XLSX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(SpreadsheetFormats).setOutputFormat(SpreadsheetFormats)) property) | | SpreadsheetSaveOptions(SpreadsheetFormats outputFormat) | Creates a new instance of SpreadsheetSaveOptions with specified mandatory Spreadsheet output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. | | setPassword(String value) | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. | | getWorksheetNumber() | Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). | | setWorksheetNumber(int value) | Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). | | getInsertAsNewWorksheet() | Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. | | setInsertAsNewWorksheet(boolean value) | Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. | | getOutputFormat() | Allows to specify a Spreadsheet format, which will be used for saving the document | | setOutputFormat(SpreadsheetFormats value) | Allows to specify a Spreadsheet format, which will be used for saving the document | | getWorksheetProtection() | Allows to enable a worksheet protection for the output Spreadsheet document. | | setWorksheetProtection(WorksheetProtection value) | Allows to enable a worksheet protection for the output Spreadsheet document. | | getWorksheetNumbersToDelete() | Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet. | | setWorksheetNumbersToDelete(int[] value) | Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet. | ##### SpreadsheetSaveOptions() ``` public SpreadsheetSaveOptions() ``` This parameterless constructor creates a new instance of SpreadsheetSaveOptions with XLSX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(SpreadsheetFormats).setOutputFormat(SpreadsheetFormats)) property) ##### SpreadsheetSaveOptions(SpreadsheetFormats outputFormat) ``` public SpreadsheetSaveOptions(SpreadsheetFormats outputFormat) ``` Creates a new instance of SpreadsheetSaveOptions with specified mandatory Spreadsheet output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | SpreadsheetFormats | Mandatory output format, in which the Spreadsheet document should be saved | ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. Specify NULL or empty string for removing (cleaning) the password. **Returns:** java.lang.String - ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. Specify NULL or empty string for removing (cleaning) the password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getWorksheetNumber() ``` public final int getWorksheetNumber() ``` Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). WorksheetNumber is a 1-based number of a worksheet in the spreadsheet, loaded in the Editor class. If it is 0 (default value), the new spreadsheet will be created with single edited worksheet. If it is greater or lesser then zero, and there is valid spreadsheet, loaded in the Editor class, the edited worksheet, that is represented by input EditableDocument instance, will be inserted into this spreadsheet. > ``` > Given spreadsheet has 5 worksheets: > WorksheetNumber = 0; \u2014 ignore given spreadsheet, create a new spreadsheet and put edited worksheet into it. > WorksheetNumber = 1; \u2014 replace the first worksheet with edited > WorksheetNumber = 2; \u2014 replace the second worksheet with edited > WorksheetNumber = 5; \u2014 replace the last (5th) worksheet with edited > WorksheetNumber = 6; \u2014 replace the last (5th) worksheet with edited, because 6 is greater then 5 and thus is adjusted > WorksheetNumber = -1; \u2014 replace the last (5th) worksheet with edited, because "-1" means "last existing" > WorksheetNumber = -2; \u2014 replace the 4th worksheet with edited > WorksheetNumber = -3; \u2014 replace the 3rd worksheet with edited > WorksheetNumber = -4; \u2014 replace the 2nd worksheet with edited > WorksheetNumber = -5; \u2014 replace the first worksheet with edited > WorksheetNumber = -6; \u2014 replace the first worksheet with edited, because "-6" is greater then 5 and thus is adjusted > ``` *WorksheetNumber* integer property, if it is not in default state (reserved value '0'), represents a worksheet number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last worksheet. Negative values are also allowed and count worksheets from end. For example, "-1" implies last worksheet in a spreadsheet, "-2" \\u2014 last but one, etc. Like with positive values, when negative worksheet number exceeds the total count of worksheets in the given spreadsheet, it will be adjusted to the first worksheet. The InsertAsNewWorksheet (\#getInsertAsNewWorksheet.getInsertAsNewWorksheet/\#setInsertAsNewWorksheet(boolean).setInsertAsNewWorksheet(boolean)) boolean property is tightly coupled with this one. **Returns:** int - ##### setWorksheetNumber(int value) ``` public final void setWorksheetNumber(int value) ``` Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). WorksheetNumber is a 1-based number of a worksheet in the spreadsheet, loaded in the Editor class. If it is 0 (default value), the new spreadsheet will be created with single edited worksheet. If it is greater or lesser then zero, and there is valid spreadsheet, loaded in the Editor class, the edited worksheet, that is represented by input EditableDocument instance, will be inserted into this spreadsheet. > ``` > Given spreadsheet has 5 worksheets: > WorksheetNumber = 0; \u2014 ignore given spreadsheet, create a new spreadsheet and put edited worksheet into it. > WorksheetNumber = 1; \u2014 replace the first worksheet with edited > WorksheetNumber = 2; \u2014 replace the second worksheet with edited > WorksheetNumber = 5; \u2014 replace the last (5th) worksheet with edited > WorksheetNumber = 6; \u2014 replace the last (5th) worksheet with edited, because 6 is greater then 5 and thus is adjusted > WorksheetNumber = -1; \u2014 replace the last (5th) worksheet with edited, because "-1" means "last existing" > WorksheetNumber = -2; \u2014 replace the 4th worksheet with edited > WorksheetNumber = -3; \u2014 replace the 3rd worksheet with edited > WorksheetNumber = -4; \u2014 replace the 2nd worksheet with edited > WorksheetNumber = -5; \u2014 replace the first worksheet with edited > WorksheetNumber = -6; \u2014 replace the first worksheet with edited, because "-6" is greater then 5 and thus is adjusted > ``` *WorksheetNumber* integer property, if it is not in default state (reserved value '0'), represents a worksheet number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last worksheet. Negative values are also allowed and count worksheets from end. For example, "-1" implies last worksheet in a spreadsheet, "-2" \\u2014 last but one, etc. Like with positive values, when negative worksheet number exceeds the total count of worksheets in the given spreadsheet, it will be adjusted to the first worksheet. The InsertAsNewWorksheet (\#getInsertAsNewWorksheet.getInsertAsNewWorksheet/\#setInsertAsNewWorksheet(boolean).setInsertAsNewWorksheet(boolean)) boolean property is tightly coupled with this one. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getInsertAsNewWorksheet() ``` public final boolean getInsertAsNewWorksheet() ``` Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. By default is false \\u2014 existing worksheet will be replaced. This property is ignored, if value of WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property is set to '0'. By default worksheet is replaced. This means that if given spreadsheet has 5 worksheets, and WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int))=4, then 4th worksheet will be replaced with the new edited worksheet, while the total amount of worksheets in spreadsheet (5) will remain untouched. However, if value of this property is set to *true* , the new edited worksheet will be injected as 4th worksheet, and all subsequent worksheets will be shifted to the end: "old" 4th worksheet becomes 5th, and 5th becomes 6th, and the total amount of worksheets in spreadsheet will be incremented by one and equal to 6. **Returns:** boolean - ##### setInsertAsNewWorksheet(boolean value) ``` public final void setInsertAsNewWorksheet(boolean value) ``` Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. By default is false \\u2014 existing worksheet will be replaced. This property is ignored, if value of WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property is set to '0'. By default worksheet is replaced. This means that if given spreadsheet has 5 worksheets, and WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int))=4, then 4th worksheet will be replaced with the new edited worksheet, while the total amount of worksheets in spreadsheet (5) will remain untouched. However, if value of this property is set to *true* , the new edited worksheet will be injected as 4th worksheet, and all subsequent worksheets will be shifted to the end: "old" 4th worksheet becomes 5th, and 5th becomes 6th, and the total amount of worksheets in spreadsheet will be incremented by one and equal to 6. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOutputFormat() ``` public final SpreadsheetFormats getOutputFormat() ``` Allows to specify a Spreadsheet format, which will be used for saving the document **Returns:** SpreadsheetFormats - ##### setOutputFormat(SpreadsheetFormats value) ``` public final void setOutputFormat(SpreadsheetFormats value) ``` Allows to specify a Spreadsheet format, which will be used for saving the document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | SpreadsheetFormats | | ##### getWorksheetProtection() ``` public final WorksheetProtection getWorksheetProtection() ``` Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied. Not all formats support a worksheet protection. **Returns:** WorksheetProtection - ##### setWorksheetProtection(WorksheetProtection value) ``` public final void setWorksheetProtection(WorksheetProtection value) ``` Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied. Not all formats support a worksheet protection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WorksheetProtection | | ##### getWorksheetNumbersToDelete() ``` public final int[] getWorksheetNumbersToDelete() ``` Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet.When the edited worksheet is saved not as a new single-worksheet spreadsheet (default behavior), but instead is saved into an existing spreadsheet (using \#getWorksheetNumber().getWorksheetNumber() / \#setWorksheetNumber(int).setWorksheetNumber(int)), it is also possible to delete some particular worksheets from this spreadsheet by specifying their numbers in this array. By default this array is null \\u2014 no worksheets will be deleted. However, when this array is non-null and non-empty, and it contains at least one valid worksheet number, after the output spreadsheet document is generated with the content of the edited worksheet, the worksheets with specified numbers will be deleted from the spreadsheet right before writing its content to the output stream or file. Worksheet numbers in this array are 1-based, not 0-based. Invalid numbers (less than 1 or greater than the total number of worksheets) will be ignored. **Returns:** int[] - Array of 1-based worksheet numbers to delete, or null if nothing should be deleted. ##### setWorksheetNumbersToDelete(int[] value) ``` public final void setWorksheetNumbersToDelete(int[] value) ``` Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet.Worksheet numbers in this array are 1-based. Invalid numbers will be ignored. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | Array of 1-based worksheet numbers to delete (may be null or empty). | ### TextDirection Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/textdirection.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class TextDirection extends System.Enum ``` Represents 3 possible variants how to treat text direction in the plain text documents #### Fields | Field | Description | | --- | --- | | LeftToRight | Left-to-Right direction, usual text, default value. | | RightToLeft | Right-to-Left direction | | Auto | Auto-detect direction. | #### Methods | Method | Description | | --- | --- | | getTextDirection() | | ##### LeftToRight ``` public static final int LeftToRight ``` Left-to-Right direction, usual text, default value. ##### RightToLeft ``` public static final int RightToLeft ``` Right-to-Left direction ##### Auto ``` public static final int Auto ``` Auto-detect direction. When this option is selected and text contains characters belonging to RTL scripts, the document direction will be set automatically to RTL. ##### getTextDirection() ``` public static int[] getTextDirection() ``` **Returns:** int[] ### TextEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/texteditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class TextEditOptions implements IEditOptions ``` Allows to specify custom options for loading plain text (TXT) documents #### Constructors | Constructor | Description | | --- | --- | | TextEditOptions() | | #### Methods | Method | Description | | --- | --- | | getEncoding() | Character encoding of the text document, which will be applied for its opening | | setEncoding(Charset value) | Character encoding of the text document, which will be applied for its opening | | getRecognizeLists() | Allows to specify how numbered list items are recognized when document is imported from plain text format. | | setRecognizeLists(boolean value) | Allows to specify how numbered list items are recognized when document is imported from plain text format. | | getLeadingSpaces() | Gets or sets preferred option of a leading space handling. | | setLeadingSpaces(int value) | Gets or sets preferred option of a leading space handling. | | getTrailingSpaces() | Gets or sets preferred option of a trailing space handling. | | setTrailingSpaces(int value) | Gets or sets preferred option of a trailing space handling. | | getEnablePagination() | Allows to enable or disable pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination in the resultant HTML document. | | getDirection() | Allows to specify the direction of text flow in the input plain text document. | | setDirection(int value) | Allows to specify the direction of text flow in the input plain text document. | ##### TextEditOptions() ``` public TextEditOptions() ``` ##### getEncoding() ``` public final Charset getEncoding() ``` Character encoding of the text document, which will be applied for its opening **Returns:** java.nio.charset.Charset ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Character encoding of the text document, which will be applied for its opening **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getRecognizeLists() ``` public final boolean getRecognizeLists() ``` Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true. If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. **Returns:** boolean ##### setRecognizeLists(boolean value) ``` public final void setRecognizeLists(boolean value) ``` Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true. If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getLeadingSpaces() ``` public final int getLeadingSpaces() ``` Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent. **Returns:** int ##### setLeadingSpaces(int value) ``` public final void setLeadingSpaces(int value) ``` Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTrailingSpaces() ``` public final int getTrailingSpaces() ``` Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces. **Returns:** int ##### setTrailingSpaces(int value) ``` public final void setTrailingSpaces(int value) ``` Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDirection() ``` public final int getDirection() ``` Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right. **Returns:** int ##### setDirection(int value) ``` public final void setDirection(int value) ``` Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### TextLeadingSpacesOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/textleadingspacesoptions.md **Inheritance:** java.lang.Object ``` public final class TextLeadingSpacesOptions ``` Contains available options for leading space handling during opening plain text document (TXT) #### Fields | Field | Description | | --- | --- | | ConvertToIndent | Convert one or more consecutive spaces to the left indent. | | Preserve | Pass all leading spaces to the output HTML "as is", without touching them | | Trim | Trim (truncate) all leading spaces completely | ##### ConvertToIndent ``` public static final int ConvertToIndent ``` Convert one or more consecutive spaces to the left indent. Default value. ##### Preserve ``` public static final int Preserve ``` Pass all leading spaces to the output HTML "as is", without touching them ##### Trim ``` public static final int Trim ``` Trim (truncate) all leading spaces completely ### TextSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/textsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class TextSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving plain text (TXT) documents #### Constructors | Constructor | Description | | --- | --- | | TextSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getEncoding() | Character encoding of the text document, which will be applied for its saving | | setEncoding(Charset value) | Character encoding of the text document, which will be applied for its saving | | getAddBidiMarks() | Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format. | | setAddBidiMarks(boolean value) | Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format | | getPreserveTableLayout() | Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. | | setPreserveTableLayout(boolean value) | Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. | ##### TextSaveOptions() ``` public TextSaveOptions() ``` ##### getEncoding() ``` public final Charset getEncoding() ``` Character encoding of the text document, which will be applied for its saving **Returns:** java.nio.charset.Charset - ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Character encoding of the text document, which will be applied for its saving **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getAddBidiMarks() ``` public final boolean getAddBidiMarks() ``` Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format. Default is 'false' \\u2014 do not add BiDi marks. **Returns:** boolean - ##### setAddBidiMarks(boolean value) ``` public final void setAddBidiMarks(boolean value) ``` Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPreserveTableLayout() ``` public final boolean getPreserveTableLayout() ``` Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false. **Returns:** boolean - ##### setPreserveTableLayout(boolean value) ``` public final void setPreserveTableLayout(boolean value) ``` Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### TextTrailingSpacesOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/texttrailingspacesoptions.md **Inheritance:** java.lang.Object ``` public final class TextTrailingSpacesOptions ``` Contains available options for trailing space handling during opening plain text document (TXT) #### Fields | Field | Description | | --- | --- | | Trim | Trim (truncate) all trailing spaces completely. | | Preserve | Pass all trailing spaces to the output HTML "as is", without touching them | ##### Trim ``` public static final int Trim ``` Trim (truncate) all trailing spaces completely. Default value. ##### Preserve ``` public static final int Preserve ``` Pass all trailing spaces to the output HTML "as is", without touching them ### WebFont Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/webfont.md **Inheritance:** java.lang.Object ``` public final class WebFont ``` Represents a font settings for the web #### Methods | Method | Description | | --- | --- | | getColor() | Font color in ARGB32 format | | setColor(ArgbColor value) | Font color in ARGB32 format | | getWeight() | Sets the weight (or boldness) of the font | | setWeight(FontWeight value) | Sets the weight (or boldness) of the font | | getStyle() | Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. | | setStyle(FontStyle value) | Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. | | getLine() | Sets a line or combination of lines, applied to the text | | setLine(TextDecorationLineType value) | Sets a line or combination of lines, applied to the text | | getSize() | Sets the size of the font in absolute or relative units | | setSize(FontSize value) | Sets the size of the font in absolute or relative units | | getName() | Sets the font name. | | setName(String value) | Sets the font name. | | deepClone() | Creates and returns a full deep copy of this WebFont instance | | equals(WebFont other) | Determines whether this instance of WebFont is equal to specified | | equals(Object obj) | Determines whether this instance of WebFont is equal to specified uncasted object | ##### getColor() ``` public final ArgbColor getColor() ``` Font color in ARGB32 format **Returns:** ArgbColor ##### setColor(ArgbColor value) ``` public final void setColor(ArgbColor value) ``` Font color in ARGB32 format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ArgbColor | | ##### getWeight() ``` public final FontWeight getWeight() ``` Sets the weight (or boldness) of the font **Returns:** FontWeight ##### setWeight(FontWeight value) ``` public final void setWeight(FontWeight value) ``` Sets the weight (or boldness) of the font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FontWeight | | ##### getStyle() ``` public final FontStyle getStyle() ``` Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. **Returns:** FontStyle ##### setStyle(FontStyle value) ``` public final void setStyle(FontStyle value) ``` Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FontStyle | | ##### getLine() ``` public final TextDecorationLineType getLine() ``` Sets a line or combination of lines, applied to the text **Returns:** TextDecorationLineType ##### setLine(TextDecorationLineType value) ``` public final void setLine(TextDecorationLineType value) ``` Sets a line or combination of lines, applied to the text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TextDecorationLineType | | ##### getSize() ``` public final FontSize getSize() ``` Sets the size of the font in absolute or relative units **Returns:** FontSize ##### setSize(FontSize value) ``` public final void setSize(FontSize value) ``` Sets the size of the font in absolute or relative units **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FontSize | | ##### getName() ``` public final String getName() ``` Sets the font name. If not specified, the default font will be used **Returns:** java.lang.String ##### setName(String value) ``` public final void setName(String value) ``` Sets the font name. If not specified, the default font will be used **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### deepClone() ``` public final WebFont deepClone() ``` Creates and returns a full deep copy of this WebFont instance **Returns:** WebFont - New WebFont instance, that is a full and deep copy of this one ##### equals(WebFont other) ``` public final boolean equals(WebFont other) ``` Determines whether this instance of WebFont is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | WebFont | Another WebFont to check equality, may be NULL | **Returns:** boolean - true if equal, false if unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance of WebFont is equal to specified uncasted object **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Object, that is expected to be a WebFont instance | **Returns:** boolean - true if equal, false if unequal ### WordProcessingEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/wordprocessingeditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class WordProcessingEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents of all supportable WordProcessing (Words-compliant) formats like DOC(X), RTF, ODT etc. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingEditOptions() | Creates and returns a new instance of the WordProcessingEditOptions class, where all options are set to their default values | | WordProcessingEditOptions(boolean enablePagination) | Creates and returns a new instance of the WordProcessingEditOptions class with specified pagination and default all other options | #### Methods | Method | Description | | --- | --- | | getEnablePagination() | Allows to enable or disable pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination in the resultant HTML document. | | getEnableLanguageInformation() | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | | setEnableLanguageInformation(boolean value) | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | | getExtractOnlyUsedFont() | Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. | | setExtractOnlyUsedFont(boolean value) | Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. | | getFontExtraction() | Responsible for extracting font resources, which are used in the input WordProcessing document. | | setFontExtraction(int value) | Responsible for extracting font resources, which are used in the input WordProcessing document. | | getInputControlsClassName() | Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. | | setInputControlsClassName(String value) | Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. | | getUseInlineStyles() | Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). | | setUseInlineStyles(boolean value) | Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). | ##### WordProcessingEditOptions() ``` public WordProcessingEditOptions() ``` Creates and returns a new instance of the WordProcessingEditOptions class, where all options are set to their default values ##### WordProcessingEditOptions(boolean enablePagination) ``` public WordProcessingEditOptions(boolean enablePagination) ``` Creates and returns a new instance of the WordProcessingEditOptions class with specified pagination and default all other options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | enablePagination | boolean | Pagination flag, that enables HTML output, adjusted for paged mode | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getEnableLanguageInformation() ``` public final boolean getEnableLanguageInformation() ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false). **Returns:** boolean ##### setEnableLanguageInformation(boolean value) ``` public final void setEnableLanguageInformation(boolean value) ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getExtractOnlyUsedFont() ``` public final boolean getExtractOnlyUsedFont() ``` Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. Value: true if it is required to extract only those font resources, which are used in text content of the document; otherwise, false . Default value is false . Not all fonts, used in the WordProcessing document, are 100% used directly (applied to some text). There may be a situation, when font is referenced in the document and even may be embedded, but is not applied to any piece of text. For example, some font may be attached to some style, but this style is not applied to any part of text. This option controls how to process such cases. **Returns:** boolean ##### setExtractOnlyUsedFont(boolean value) ``` public final void setExtractOnlyUsedFont(boolean value) ``` Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. Value: true if it is required to extract only those font resources, which are used in text content of the document; otherwise, false . Default value is false . Not all fonts, used in the WordProcessing document, are 100% used directly (applied to some text). There may be a situation, when font is referenced in the document and even may be embedded, but is not applied to any piece of text. For example, some font may be attached to some style, but this style is not applied to any part of text. This option controls how to process such cases. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFontExtraction() ``` public final int getFontExtraction() ``` Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract). **Returns:** int ##### setFontExtraction(int value) ``` public final void setFontExtraction(int value) ``` Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getInputControlsClassName() ``` public final String getInputControlsClassName() ``` Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied. Almost all formats from WordProcessing format family contain fields \\u2014 specific document entities, that allow to obtain input data from users. There are a wide variety of fields: text-boxes, checkboxes, combo-boxes, drop down lists, buttons, date/time pickers, etc. All of them are translated into the most appropriate HTML structures and elements, with preserving the entered user data, if they are present in the input document. In specific use-cases it is required only to gather entered data on a client-side instead of editing the entire document content. For such case it is required to identify input controls in some way for fetching them with their data on client-side. This property allows to specify a class name, that will be applied for every input control in HTML markup, so client code will be able to traverse over HTML document structure and gather data. **Returns:** java.lang.String ##### setInputControlsClassName(String value) ``` public final void setInputControlsClassName(String value) ``` Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied. Almost all formats from WordProcessing format family contain fields \\u2014 specific document entities, that allow to obtain input data from users. There are a wide variety of fields: text-boxes, checkboxes, combo-boxes, drop down lists, buttons, date/time pickers, etc. All of them are translated into the most appropriate HTML structures and elements, with preserving the entered user data, if they are present in the input document. In specific use-cases it is required only to gather entered data on a client-side instead of editing the entire document content. For such case it is required to identify input controls in some way for fetching them with their data on client-side. This property allows to specify a class name, that will be applied for every input control in HTML markup, so client code will be able to traverse over HTML document structure and gather data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getUseInlineStyles() ``` public final boolean getUseInlineStyles() ``` Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). By default external styles are used ( false ). **Returns:** boolean ##### setUseInlineStyles(boolean value) ``` public final void setUseInlineStyles(boolean value) ``` Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). By default external styles are used ( false ). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/wordprocessingloadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ILoadOptions ``` public final class WordProcessingLoadOptions implements ILoadOptions ``` Contains options for loading WordProcessing (Word-compatible) documents like DOC(X), RTF, ODT etc. into Editor class #### Constructors | Constructor | Description | | --- | --- | | WordProcessingLoadOptions() | | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. | ##### WordProcessingLoadOptions() ``` public WordProcessingLoadOptions() ``` ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### WordProcessingProtection Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/wordprocessingprotection.md **Inheritance:** java.lang.Object ``` public final class WordProcessingProtection ``` Encapsulates document protection options for the WordProcessing document, which is generated from HTML #### Constructors | Constructor | Description | | --- | --- | | WordProcessingProtection() | Parameterless constructor - all parameters have default values | | WordProcessingProtection(int protectionType, String password) | Allows to set all parameters during class instantiation | #### Methods | Method | Description | | --- | --- | | getProtectionType() | Allows to set a protection type of the document. | | setProtectionType(int value) | Allows to set a protection type of the document. | | getPassword() | The password to protect the document with. | | setPassword(String value) | The password to protect the document with. | | convertToAsposeWords(int protectionType) | | ##### WordProcessingProtection() ``` public WordProcessingProtection() ``` Parameterless constructor - all parameters have default values ##### WordProcessingProtection(int protectionType, String password) ``` public WordProcessingProtection(int protectionType, String password) ``` Allows to set all parameters during class instantiation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | protectionType | int | Set the protection type of the document | | password | java.lang.String | Set the protection password | ##### getProtectionType() ``` public final int getProtectionType() ``` Allows to set a protection type of the document. By default is set to not protect the document at all. **Returns:** int ##### setProtectionType(int value) ``` public final void setProtectionType(int value) ``` Allows to set a protection type of the document. By default is set to not protect the document at all. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` The password to protect the document with. If null or empty string - the protection will not be applied to the document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` The password to protect the document with. If null or empty string - the protection will not be applied to the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### convertToAsposeWords(int protectionType) ``` public static int convertToAsposeWords(int protectionType) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | protectionType | int | | **Returns:** int ### WordProcessingProtectionType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/wordprocessingprotectiontype.md **Inheritance:** java.lang.Object ``` public final class WordProcessingProtectionType ``` Represents all available protection types of the WordProcessing document #### Fields | Field | Description | | --- | --- | | NoProtection | The document is not protected. | | AllowOnlyRevisions | User can only add revision marks to the document | | AllowOnlyComments | User can only modify comments in the document | | AllowOnlyFormFields | User can only enter data in the form fields in the document | | ReadOnly | No changes are allowed to the document | #### Methods | Method | Description | | --- | --- | | getAll() | | ##### NoProtection ``` public static final int NoProtection ``` The document is not protected. Default value. ##### AllowOnlyRevisions ``` public static final int AllowOnlyRevisions ``` User can only add revision marks to the document ##### AllowOnlyComments ``` public static final int AllowOnlyComments ``` User can only modify comments in the document ##### AllowOnlyFormFields ``` public static final int AllowOnlyFormFields ``` User can only enter data in the form fields in the document ##### ReadOnly ``` public static final int ReadOnly ``` No changes are allowed to the document ##### getAll() ``` public static Map getAll() ``` **Returns:** java.util.Map ### WordProcessingSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/wordprocessingsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class WordProcessingSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving WordProcessing-compliant documents after they were edited WordProcessingSaveOptions is applied in situations when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of WordProcessing format. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingSaveOptions() | This parameterless constructor creates a new instance of WordProcessingSaveOptions with DOCX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(WordProcessingFormats).setOutputFormat(WordProcessingFormats)) property) | | WordProcessingSaveOptions(WordProcessingFormats outputFormat) | Creates a new instance of WordProcessingSaveOptions with specified mandatory WordProcessing output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getEnablePagination() | Allows to enable or disable pagination which will be used for saving the document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination which will be used for saving the document. | | getPassword() | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. | | setPassword(String value) | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. | | getOutputFormat() | Allows to specify a WordProcessing format, which will be used for saving the document | | setOutputFormat(WordProcessingFormats value) | Allows to specify a WordProcessing format, which will be used for saving the document | | getLocale() | Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. | | setLocale(Locale value) | Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. | | getLocaleBi() | Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. | | setLocaleBi(Locale value) | Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. | | getLocaleFarEast() | Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. | | setLocaleFarEast(Locale value) | Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | getProtection() | Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. | | setProtection(WordProcessingProtection value) | Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. | | getFontEmbedding() | Responsible for embedding font resources into output WordProcessing document. | | setFontEmbedding(int value) | Responsible for embedding font resources into output WordProcessing document. | | deepClone() | Creates and returns a full copy of this instance of WordProcessingSaveOptions class | ##### WordProcessingSaveOptions() ``` public WordProcessingSaveOptions() ``` This parameterless constructor creates a new instance of WordProcessingSaveOptions with DOCX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(WordProcessingFormats).setOutputFormat(WordProcessingFormats)) property) ##### WordProcessingSaveOptions(WordProcessingFormats outputFormat) ``` public WordProcessingSaveOptions(WordProcessingFormats outputFormat) ``` Creates a new instance of WordProcessingSaveOptions with specified mandatory WordProcessing output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | WordProcessingFormats | Mandatory output format, in which the WordProcessing document should be saved | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination which will be used for saving the document. If the original document was opened and edited in pagination mode, this option also should be enabled. By default is disabled. **Returns:** boolean - ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination which will be used for saving the document. If the original document was opened and edited in pagination mode, this option also should be enabled. By default is disabled. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. Specify NULL or empty string for removing (cleaning) the password. **Returns:** java.lang.String - ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. Specify NULL or empty string for removing (cleaning) the password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getOutputFormat() ``` public final WordProcessingFormats getOutputFormat() ``` Allows to specify a WordProcessing format, which will be used for saving the document **Returns:** WordProcessingFormats - ##### setOutputFormat(WordProcessingFormats value) ``` public final void setOutputFormat(WordProcessingFormats value) ``` Allows to specify a WordProcessing format, which will be used for saving the document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WordProcessingFormats | | ##### getLocale() ``` public final Locale getLocale() ``` Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document locale according to its own settings or other factors. This option forcibly applies the specified locale to overall text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Returns:** java.util.Locale - ##### setLocale(Locale value) ``` public final void setLocale(Locale value) ``` Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document locale according to its own settings or other factors. This option forcibly applies the specified locale to overall text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Locale | | ##### getLocaleBi() ``` public final Locale getLocaleBi() ``` Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document RTL locale according to its own settings or other factors. This option forcibly applies the specified locale to overall RTL text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Returns:** java.util.Locale - ##### setLocaleBi(Locale value) ``` public final void setLocaleBi(Locale value) ``` Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document RTL locale according to its own settings or other factors. This option forcibly applies the specified locale to overall RTL text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Locale | | ##### getLocaleFarEast() ``` public final Locale getLocaleFarEast() ``` Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document East-Asian locale according to its own settings or other factors. This option forcibly applies the specified locale to overall East-Asian text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Returns:** java.util.Locale - ##### setLocaleFarEast(Locale value) ``` public final void setLocaleFarEast(Locale value) ``` Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document East-Asian locale according to its own settings or other factors. This option forcibly applies the specified locale to overall East-Asian text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Locale | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean - ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getProtection() ``` public final WordProcessingProtection getProtection() ``` Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. By default is NULL - document protection will not be used. **Returns:** WordProcessingProtection - ##### setProtection(WordProcessingProtection value) ``` public final void setProtection(WordProcessingProtection value) ``` Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. By default is NULL - document protection will not be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WordProcessingProtection | | ##### getFontEmbedding() ``` public final int getFontEmbedding() ``` Responsible for embedding font resources into output WordProcessing document. By default doesn't embed any fonts (NotEmbed). **Returns:** int - ##### setFontEmbedding(int value) ``` public final void setFontEmbedding(int value) ``` Responsible for embedding font resources into output WordProcessing document. By default doesn't embed any fonts (NotEmbed). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### deepClone() ``` public final WordProcessingSaveOptions deepClone() ``` Creates and returns a full copy of this instance of WordProcessingSaveOptions class **Returns:** WordProcessingSaveOptions - New WordProcessingSaveOptions instance ### WorksheetProtection Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/worksheetprotection.md **Inheritance:** java.lang.Object ``` public final class WorksheetProtection ``` Encapsulates worksheet protection options, which allow to protect a worksheet in the output Spreadsheet document from modification of specified type with a specified password. Most of Spreadsheet formats like XLSX allows to protect a worksheet from editing with password. This class allows to enable such protection and specify its options. #### Constructors | Constructor | Description | | --- | --- | | WorksheetProtection() | Creates new instance with default parameters. | | WorksheetProtection(int protectionType, String password) | Creates new instance with specified worksheet protection type and password | #### Methods | Method | Description | | --- | --- | | getProtectionType() | Allows to specify a type of worksheet protection. | | setProtectionType(int value) | Allows to specify a type of worksheet protection. | | getPassword() | Password, which is used for protecting a worksheet. | | setPassword(String value) | Password, which is used for protecting a worksheet. | ##### WorksheetProtection() ``` public WorksheetProtection() ``` Creates new instance with default parameters. If not modified and passed to SpreadsheetSaveOptions, no worksheet protection will be applied ##### WorksheetProtection(int protectionType, String password) ``` public WorksheetProtection(int protectionType, String password) ``` Creates new instance with specified worksheet protection type and password **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | protectionType | int | Type of worksheet protection | | password | java.lang.String | Password, that locks the protection | ##### getProtectionType() ``` public final int getProtectionType() ``` Allows to specify a type of worksheet protection. By default is 'None' - protection is not applied. **Returns:** int ##### setProtectionType(int value) ``` public final void setProtectionType(int value) ``` Allows to specify a type of worksheet protection. By default is 'None' - protection is not applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` Password, which is used for protecting a worksheet. If NULL or empty string, the protection will not be applied. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Password, which is used for protecting a worksheet. If NULL or empty string, the protection will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### WorksheetProtectionType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/worksheetprotectiontype.md **Inheritance:** java.lang.Object ``` public final class WorksheetProtectionType ``` Represents Spreadsheet worksheet (tab) protection types #### Fields | Field | Description | | --- | --- | | None | Protection is not applied (default value) | | All | User cannot modify anything on the worksheet | | Contents | User cannot enter data in the worksheet | | Objects | User cannot modify drawing objects | | Scenarios | User cannot modify saved scenarios | | Structure | User cannot modify the structure | | Window | User cannot modify the window | #### Methods | Method | Description | | --- | --- | | getAll() | | ##### None ``` public static final int None ``` Protection is not applied (default value) ##### All ``` public static final int All ``` User cannot modify anything on the worksheet ##### Contents ``` public static final int Contents ``` User cannot enter data in the worksheet ##### Objects ``` public static final int Objects ``` User cannot modify drawing objects ##### Scenarios ``` public static final int Scenarios ``` User cannot modify saved scenarios ##### Structure ``` public static final int Structure ``` User cannot modify the structure ##### Window ``` public static final int Window ``` User cannot modify the window ##### getAll() ``` public static Map getAll() ``` **Returns:** java.util.Map ### XmlEditOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/xmleditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class XmlEditOptions implements IEditOptions ``` Allows to specify custom options for loading XML (eXtensible Markup Language) documents and converting them to the HTML #### Constructors | Constructor | Description | | --- | --- | | XmlEditOptions() | | #### Methods | Method | Description | | --- | --- | | getEncoding() | Character encoding of the text document, which will be applied for its opening. | | setEncoding(Charset value) | Character encoding of the text document, which will be applied for its opening. | | getFixIncorrectStructure() | Allows to enable or disable mechanism for fixing corrupted XML structure. | | setFixIncorrectStructure(boolean value) | Allows to enable or disable mechanism for fixing corrupted XML structure. | | getRecognizeUris() | Allows to enable URI recognition algorithm | | setRecognizeUris(boolean value) | Allows to enable URI recognition algorithm | | getRecognizeEmails() | Allows to enable recognition algorithm for email addresses in attribute values | | setRecognizeEmails(boolean value) | Allows to enable recognition algorithm for email addresses in attribute values | | getTrimTrailingWhitespaces() | Allows to enable the truncation of trailing whitespaces in the inner-tag text. | | setTrimTrailingWhitespaces(boolean value) | Allows to enable the truncation of trailing whitespaces in the inner-tag text. | | getAttributeValuesQuoteType() | Allows to specify quote type (single or double quotes) for attribute values. | | setAttributeValuesQuoteType(QuoteType value) | Allows to specify quote type (single or double quotes) for attribute values. | | getHighlightOptions() | Allows to adjust the XML highlighting, that will be applied to the XML structure, when it is represented in HTML. | | getFormatOptions() | Allows to adjust the XML formatting, that will be applied to the XML structure, when it is represented in HTML. | ##### XmlEditOptions() ``` public XmlEditOptions() ``` ##### getEncoding() ``` public final Charset getEncoding() ``` Character encoding of the text document, which will be applied for its opening. By default is null \\u2014 internal document encoding will be applied. **Returns:** java.nio.charset.Charset ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Character encoding of the text document, which will be applied for its opening. By default is null \\u2014 internal document encoding will be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getFixIncorrectStructure() ``` public final boolean getFixIncorrectStructure() ``` Allows to enable or disable mechanism for fixing corrupted XML structure. By default is disabled (false). By default only proper valid well-formed XML documents are acceptable. When this option is enabled, GroupDocs.Editor will try to fix corrupted XML structure if possible. **Returns:** boolean ##### setFixIncorrectStructure(boolean value) ``` public final void setFixIncorrectStructure(boolean value) ``` Allows to enable or disable mechanism for fixing corrupted XML structure. By default is disabled (false). By default only proper valid well-formed XML documents are acceptable. When this option is enabled, GroupDocs.Editor will try to fix corrupted XML structure if possible. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRecognizeUris() ``` public final boolean getRecognizeUris() ``` Allows to enable URI recognition algorithm **Returns:** boolean ##### setRecognizeUris(boolean value) ``` public final void setRecognizeUris(boolean value) ``` Allows to enable URI recognition algorithm **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRecognizeEmails() ``` public final boolean getRecognizeEmails() ``` Allows to enable recognition algorithm for email addresses in attribute values **Returns:** boolean ##### setRecognizeEmails(boolean value) ``` public final void setRecognizeEmails(boolean value) ``` Allows to enable recognition algorithm for email addresses in attribute values **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTrimTrailingWhitespaces() ``` public final boolean getTrimTrailingWhitespaces() ``` Allows to enable the truncation of trailing whitespaces in the inner-tag text. By default is disabled (false) \\u2014 trailing whitespaces will be preserved. **Returns:** boolean ##### setTrimTrailingWhitespaces(boolean value) ``` public final void setTrimTrailingWhitespaces(boolean value) ``` Allows to enable the truncation of trailing whitespaces in the inner-tag text. By default is disabled (false) \\u2014 trailing whitespaces will be preserved. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getAttributeValuesQuoteType() ``` public final QuoteType getAttributeValuesQuoteType() ``` Allows to specify quote type (single or double quotes) for attribute values. Double quotes are default. **Returns:** QuoteType ##### setAttributeValuesQuoteType(QuoteType value) ``` public final void setAttributeValuesQuoteType(QuoteType value) ``` Allows to specify quote type (single or double quotes) for attribute values. Double quotes are default. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | QuoteType | | ##### getHighlightOptions() ``` public final XmlHighlightOptions getHighlightOptions() ``` Allows to adjust the XML highlighting, that will be applied to the XML structure, when it is represented in HTML. Default highlighting is used and is adjustable. Cannot be null. **Returns:** XmlHighlightOptions ##### getFormatOptions() ``` public final XmlFormatOptions getFormatOptions() ``` Allows to adjust the XML formatting, that will be applied to the XML structure, when it is represented in HTML. Default formatting is used and is adjustable. Cannot be null. **Returns:** XmlFormatOptions ### XmlFormatOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/xmlformatoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class XmlFormatOptions implements IEditOptions ``` Contains options, that allow to adjust the formatting of XML document, when it is represented as HTML #### Methods | Method | Description | | --- | --- | | getEachAttributeFromNewline() | When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. | | setEachAttributeFromNewline(boolean value) | When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. | | getLeafTextNodesOnNewline() | When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. | | setLeafTextNodesOnNewline(boolean value) | When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. | | getLeftIndent() | Allows to specify an offset for the left indent of every new line. | | setLeftIndent(Length value) | Allows to specify an offset for the left indent of every new line. | | isDefault() | Indicates whether this instance of XML formatting options has a default value | ##### getEachAttributeFromNewline() ``` public final boolean getEachAttributeFromNewline() ``` When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. By default is false (disabled) \\u2014 all attribute-value pairs are placed in a single line. **Returns:** boolean ##### setEachAttributeFromNewline(boolean value) ``` public final void setEachAttributeFromNewline(boolean value) ``` When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. By default is false (disabled) \\u2014 all attribute-value pairs are placed in a single line. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getLeafTextNodesOnNewline() ``` public final boolean getLeafTextNodesOnNewline() ``` When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. By default is false (disabled) \\u2014 leaf text nodes are placed on the same line as their parents, without new indent. **Returns:** boolean ##### setLeafTextNodesOnNewline(boolean value) ``` public final void setLeafTextNodesOnNewline(boolean value) ``` When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. By default is false (disabled) \\u2014 leaf text nodes are placed on the same line as their parents, without new indent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getLeftIndent() ``` public final Length getLeftIndent() ``` Allows to specify an offset for the left indent of every new line. Cannot be a unitless non-zero value. By default is 10pt **Returns:** Length ##### setLeftIndent(Length value) ``` public final void setLeftIndent(Length value) ``` Allows to specify an offset for the left indent of every new line. Cannot be a unitless non-zero value. By default is 10pt **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Length | | ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this instance of XML formatting options has a default value **Returns:** boolean ### XmlHighlightOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/xmlhighlightoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class XmlHighlightOptions implements IEditOptions ``` Contains options, that allow to customize the XML highlighting during XML-to-HTML conversion #### Methods | Method | Description | | --- | --- | | getXmlTagsFontSettings() | Responsible for representing the font of XML tags (angle brackets with tag names) | | getAttributeNamesFontSettings() | Responsible for representing the font of attribute names | | getAttributeValuesFontSettings() | Responsible for representing the font of attribute values | | getInnerTextFontSettings() | Responsible for representing the font of inner-tag text | | getHtmlCommentsFontSettings() | Responsible for representing the font of HTML comments (including pair of opening and closing tags) | | getCDataFontSettings() | Responsible for representing the font of CDATA sections (including pair of opening and closing tags) | | isDefault() | Determines whether this XML Highlight options object has a default font settings | | resetToDefault() | Resets the current font settings to their default values | ##### getXmlTagsFontSettings() ``` public final WebFont getXmlTagsFontSettings() ``` Responsible for representing the font of XML tags (angle brackets with tag names) **Returns:** WebFont ##### getAttributeNamesFontSettings() ``` public final WebFont getAttributeNamesFontSettings() ``` Responsible for representing the font of attribute names **Returns:** WebFont ##### getAttributeValuesFontSettings() ``` public final WebFont getAttributeValuesFontSettings() ``` Responsible for representing the font of attribute values **Returns:** WebFont ##### getInnerTextFontSettings() ``` public final WebFont getInnerTextFontSettings() ``` Responsible for representing the font of inner-tag text **Returns:** WebFont ##### getHtmlCommentsFontSettings() ``` public final WebFont getHtmlCommentsFontSettings() ``` Responsible for representing the font of HTML comments (including pair of opening and closing tags) **Returns:** WebFont ##### getCDataFontSettings() ``` public final WebFont getCDataFontSettings() ``` Responsible for representing the font of CDATA sections (including pair of opening and closing tags) **Returns:** WebFont ##### isDefault() ``` public final boolean isDefault() ``` Determines whether this XML Highlight options object has a default font settings **Returns:** boolean ##### resetToDefault() ``` public final void resetToDefault() ``` Resets the current font settings to their default values ### XpsSaveOptions Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.options/xpssaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class XpsSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving XPS (XML Paper Specifications) documents An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. It was developed as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. #### Constructors | Constructor | Description | | --- | --- | | XpsSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getFontEmbedding() | Responsible for embedding font resources into resultant XPS document, which are used in the original document. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | ##### XpsSaveOptions() ``` public XpsSaveOptions() ``` ##### getFontEmbedding() ``` public final byte getFontEmbedding() ``` Responsible for embedding font resources into resultant XPS document, which are used in the original document. By default doesn't embed any fonts (NotEmbed). **Returns:** byte ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### com.groupdocs.editor.words.fieldmanagement Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement.md The **com.groupdocs.editor.words.fieldmanagement** namespace contains classes and interfaces related to the management and manipulation of form fields within documents. This namespace provides functionality to work with various types of form fields, such as text fields, checkboxes, dropdowns, etc., allowing users to interact with and modify form fields programmatically. #### Classes | Class | Description | | --- | --- | | CheckBoxForm | Represents a form field that displays a checkbox. | | CurrentDateFormField | Represents a form field that displays the current date. | | CurrentTimeFormField | Represents a form field that displays the current time. | | DateFormField | Represents a form field that displays a date. | | DropDownFormField | Represents a form field that displays a drop-down list. | | FormFieldCollection | Represents a collection of form fields. | | FormFieldType | Specifies the type of form field. | | HelpText | Represents help text for a form field. | | InvalidFormField | Represents the update of invalid form field names during the FormFieldManager.FixInvalidFormFieldNames operation. | | NumberFormField | Represents a form field that accepts a number input. | | TextFormField | Represents a form field that accepts text input. | #### Interfaces | Interface | Description | | --- | --- | | IFormField | Represents a form field. | ### CheckBoxForm Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/checkboxform.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class CheckBoxForm implements IFormField ``` Represents a form field that displays a checkbox. #### Constructors | Constructor | Description | | --- | --- | | CheckBoxForm(String stylesheet, String name) | Initializes a new instance of the CheckBoxForm class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.CheckBox for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the state of the checkbox. | | setValue(boolean value) | Gets or sets the value of the form field, which represents the state of the checkbox. | ##### CheckBoxForm(String stylesheet, String name) ``` public CheckBoxForm(String stylesheet, String name) ``` Initializes a new instance of the CheckBoxForm class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.CheckBox for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > checkBoxField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > checkBoxField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final boolean getValue() ``` Gets or sets the value of the form field, which represents the state of the checkbox. **Returns:** boolean ##### setValue(boolean value) ``` public final void setValue(boolean value) ``` Gets or sets the value of the form field, which represents the state of the checkbox. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### CurrentDateFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/currentdateformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class CurrentDateFormField implements IFormField ``` Represents a form field that displays the current date. #### Constructors | Constructor | Description | | --- | --- | | CurrentDateFormField(String stylesheet, String name) | Initializes a new instance of the CurrentDateFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.CurrentDate for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the current date. | | setValue(Date value) | Gets or sets the value of the form field, which represents the current date. | ##### CurrentDateFormField(String stylesheet, String name) ``` public CurrentDateFormField(String stylesheet, String name) ``` Initializes a new instance of the CurrentDateFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.CurrentDate for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final Date getValue() ``` Gets or sets the value of the form field, which represents the current date. **Returns:** java.util.Date ##### setValue(Date value) ``` public final void setValue(Date value) ``` Gets or sets the value of the form field, which represents the current date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ### CurrentTimeFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/currenttimeformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class CurrentTimeFormField implements IFormField ``` Represents a form field that displays the current time. #### Constructors | Constructor | Description | | --- | --- | | CurrentTimeFormField(String stylesheet, String name) | Initializes a new instance of the CurrentTimeFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.CurrentTime for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the current time. | | setValue(Date value) | Gets or sets the value of the form field, which represents the current time. | ##### CurrentTimeFormField(String stylesheet, String name) ``` public CurrentTimeFormField(String stylesheet, String name) ``` Initializes a new instance of the CurrentTimeFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.CurrentTime for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final Date getValue() ``` Gets or sets the value of the form field, which represents the current time. **Returns:** java.util.Date ##### setValue(Date value) ``` public final void setValue(Date value) ``` Gets or sets the value of the form field, which represents the current time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ### DateFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/dateformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class DateFormField implements IFormField ``` Represents a form field that displays a date. #### Constructors | Constructor | Description | | --- | --- | | DateFormField(String stylesheet, String name) | Initializes a new instance of the DateFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.Date for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents a date. | | setValue(Date value) | Gets or sets the value of the form field, which represents a date. | ##### DateFormField(String stylesheet, String name) ``` public DateFormField(String stylesheet, String name) ``` Initializes a new instance of the DateFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.Date for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dateField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dateField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final Date getValue() ``` Gets or sets the value of the form field, which represents a date. **Returns:** java.util.Date ##### setValue(Date value) ``` public final void setValue(Date value) ``` Gets or sets the value of the form field, which represents a date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ### DropDownFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/dropdownformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class DropDownFormField implements IFormField ``` Represents a form field that displays a drop-down list. #### Constructors | Constructor | Description | | --- | --- | | DropDownFormField(String stylesheet, String name) | Initializes a new instance of the DropDownFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getSelectedIndex() | Gets or sets the index of the selected item in the drop-down list. | | setSelectedIndex(int value) | Gets or sets the index of the selected item in the drop-down list. | | getType() | Gets the type of the form field, which is always FormFieldType.DropDown for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the list of options in the drop-down list. | | setValue(List value) | Gets or sets the value of the form field, which represents the list of options in the drop-down list. | ##### DropDownFormField(String stylesheet, String name) ``` public DropDownFormField(String stylesheet, String name) ``` Initializes a new instance of the DropDownFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getSelectedIndex() ``` public final int getSelectedIndex() ``` Gets or sets the index of the selected item in the drop-down list. **Returns:** int ##### setSelectedIndex(int value) ``` public final void setSelectedIndex(int value) ``` Gets or sets the index of the selected item in the drop-down list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.DropDown for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dropDownField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dropDownField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final List getValue() ``` Gets or sets the value of the form field, which represents the list of options in the drop-down list. **Returns:** java.util.List ##### setValue(List value) ``` public final void setValue(List value) ``` Gets or sets the value of the form field, which represents the list of options in the drop-down list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ### FormFieldCollection Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/formfieldcollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public final class FormFieldCollection implements Iterable ``` Represents a collection of form fields. #### Constructors | Constructor | Description | | --- | --- | | FormFieldCollection() | Initializes a new instance of the FormFieldCollection class. | #### Methods | Method | Description | | --- | --- | | iterator() | Returns an enumerator that iterates through the collection. | | insert(IFormField field) | Inserts a form field into the collection. | | get(String name) | Gets the form field with the specified name. | | getFormField(String name, Class type) | Gets the form field with the specified name and type. | ##### FormFieldCollection() ``` public FormFieldCollection() ``` Initializes a new instance of the FormFieldCollection class. ##### iterator() ``` public Iterator iterator() ``` Returns an enumerator that iterates through the collection. **Returns:** java.util.Iterator - An enumerator that can be used to iterate through the collection. ##### insert(IFormField field) ``` public void insert(IFormField field) ``` Inserts a form field into the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | field | IFormField | The form field to insert. | ##### get(String name) ``` public IFormField get(String name) ``` Gets the form field with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the form field. | **Returns:** IFormField - The form field with the specified name, if found; otherwise, null . ##### getFormField(String name, Class type) ``` public T getFormField(String name, Class type) ``` Gets the form field with the specified name and type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the form field. T : The type of the form field. | | type | java.lang.Class | | **Returns:** T - The form field with the specified name and type, if found; otherwise, the default value for the type. ### FormFieldType Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/formfieldtype.md **Inheritance:** java.lang.Object ``` public final class FormFieldType ``` Specifies the type of form field. #### Fields | Field | Description | | --- | --- | | Text | The text form field can contain any text. | | Number | The text form field can contain only numbers. | | Date | The text form field can contain only a valid date value. | | CurrentDate | The text form field value is the current date when the field is updated. | | CurrentTime | The text form field value is the current time when the field is updated. | | CheckBox | The checkbox form field. | | DropDown | The drop-down field. | ##### Text ``` public static final int Text ``` The text form field can contain any text. ##### Number ``` public static final int Number ``` The text form field can contain only numbers. ##### Date ``` public static final int Date ``` The text form field can contain only a valid date value. ##### CurrentDate ``` public static final int CurrentDate ``` The text form field value is the current date when the field is updated. ##### CurrentTime ``` public static final int CurrentTime ``` The text form field value is the current time when the field is updated. ##### CheckBox ``` public static final int CheckBox ``` The checkbox form field. ##### DropDown ``` public static final int DropDown ``` The drop-down field. ### HelpText Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/helptext.md **Inheritance:** java.lang.Object ``` public final class HelpText ``` Represents help text for a form field. #### Constructors | Constructor | Description | | --- | --- | | HelpText() | | #### Methods | Method | Description | | --- | --- | | getUseOwn() | Gets or sets a value indicating whether the form field should use its own help text. | | setUseOwn(boolean value) | Gets or sets a value indicating whether the form field should use its own help text. | | getText() | Gets or sets the text content of the help text. | | setText(String value) | Gets or sets the text content of the help text. | ##### HelpText() ``` public HelpText() ``` ##### getUseOwn() ``` public final boolean getUseOwn() ``` Gets or sets a value indicating whether the form field should use its own help text. If set to false , the help text will not be applied. **Returns:** boolean ##### setUseOwn(boolean value) ``` public final void setUseOwn(boolean value) ``` Gets or sets a value indicating whether the form field should use its own help text. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getText() ``` public final String getText() ``` Gets or sets the text content of the help text. **Returns:** java.lang.String ##### setText(String value) ``` public final void setText(String value) ``` Gets or sets the text content of the help text. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### IFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/iformfield.md ### InvalidFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/invalidformfield.md **Inheritance:** java.lang.Object ``` public final class InvalidFormField ``` Represents the update of invalid form field names during the FormFieldManager.FixInvalidFormFieldNames operation. #### Constructors | Constructor | Description | | --- | --- | | InvalidFormField(String name) | Initializes a new instance of the InvalidFormField class with the specified name. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the original name of the form field that cannot be modified outside FormFieldManager . | | getFixedName() | Gets or sets the new name for the form field after repair. | | setFixedName(String value) | Gets or sets the new name for the form field after repair. | ##### InvalidFormField(String name) ``` public InvalidFormField(String name) ``` Initializes a new instance of the InvalidFormField class with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The original name of the form field. | ##### getName() ``` public final String getName() ``` Gets the original name of the form field that cannot be modified outside FormFieldManager . **Returns:** java.lang.String ##### getFixedName() ``` public final String getFixedName() ``` Gets or sets the new name for the form field after repair. This name removes duplicate unique identifiers with other form fields and sets a unique bookmark name. ``` FixedName = String.format("%s_fixed", name); // as default value. ``` **Returns:** java.lang.String ##### setFixedName(String value) ``` public final void setFixedName(String value) ``` Gets or sets the new name for the form field after repair. This name removes duplicate unique identifiers with other form fields and sets a unique bookmark name. ``` FixedName = string.Format("{0}_fixed", name) // as default value. ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### NumberFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/numberformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class NumberFormField implements IFormField ``` Represents a form field that accepts a number input. #### Constructors | Constructor | Description | | --- | --- | | NumberFormField(String stylesheet, String name) | Initializes a new instance of the NumberFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.Number for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents a number. | | setValue(float value) | Gets or sets the value of the form field, which represents a number. | | getMaxLength() | Gets or sets the maximum length of the input for the form field. | | setMaxLength(int value) | Gets or sets the maximum length of the input for the form field. | ##### NumberFormField(String stylesheet, String name) ``` public NumberFormField(String stylesheet, String name) ``` Initializes a new instance of the NumberFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.Number for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > numberField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > numberField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final float getValue() ``` Gets or sets the value of the form field, which represents a number. **Returns:** float ##### setValue(float value) ``` public final void setValue(float value) ``` Gets or sets the value of the form field, which represents a number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMaxLength() ``` public final int getMaxLength() ``` Gets or sets the maximum length of the input for the form field. **Returns:** int ##### setMaxLength(int value) ``` public final void setMaxLength(int value) ``` Gets or sets the maximum length of the input for the form field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### TextFormField Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.words.fieldmanagement/textformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class TextFormField implements IFormField ``` Represents a form field that accepts text input. #### Constructors | Constructor | Description | | --- | --- | | TextFormField(String stylesheet, String name) | Initializes a new instance of the TextFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.Text for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the text input. | | setValue(String value) | Gets or sets the value of the form field, which represents the text input. | | getMaxLength() | Gets or sets the maximum length of the input for the form field. | | setMaxLength(int value) | Gets or sets the maximum length of the input for the form field. | ##### TextFormField(String stylesheet, String name) ``` public TextFormField(String stylesheet, String name) ``` Initializes a new instance of the TextFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.Text for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > textField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > textField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final String getValue() ``` Gets or sets the value of the form field, which represents the text input. **Returns:** java.lang.String ##### setValue(String value) ``` public final void setValue(String value) ``` Gets or sets the value of the form field, which represents the text input. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getMaxLength() ``` public final int getMaxLength() ``` Gets or sets the maximum length of the input for the form field. **Returns:** int ##### setMaxLength(int value) ``` public final void setMaxLength(int value) ``` Gets or sets the maximum length of the input for the form field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### com.groupdocs.editor Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor.md The **com.groupdocs.editor** namespace is a root namespace, which provides classes for editing multiple document formats in your Java applications. #### Classes | Class | Description | | --- | --- | | EditableDocument | Intermediate document, that contains content before and after editing | | Editor | Main class, which encapsulates conversion methods. | | EncryptedException | The exception that is thrown when user tries to open a document that was encrypted using the X509Certificates. | | FormFieldManager | | | IncorrectPasswordException | The exception that is thrown when specified password is incorrect. | | InvalidFormatException | The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format. | | PasswordRequiredException | The exception that is thrown when user tries to open a password-protected encrypted document of some format and doesn't provide a password for opening this document. | ### EditableDocument Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor/editabledocument.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IAuxDisposable ``` public final class EditableDocument implements IAuxDisposable ``` Intermediate document, that contains content before and after editing Instance of EditableDocument class can be produced by the Editor.edit() method or created by the user himself using static factories. EditableDocument internally stores document in its own closed format, which is compatible (convertible) with all import and export formats, that GroupDocs.Editor supports. In order to make document editable in any WYSIWYG client-side editor (like CKEditor or TinyMCE), EditableDocument provides methods for generating HTML markup and producing resources, that can be accepted by the user. #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getImages() | Allows to obtain external image resources (raster images), which are used by this HTML document | | getFonts() | Allows to obtain external font resources, which are used by this HTML document | | getCss() | Returns a list of CSS resources | | getAudio() | Returns a list of audio resources | | getAllResources() | Returns a list of all existing resources: all stylesheets, images from HTML and all stylesheets, fonts | | getContent(OutputStream storage, Charset encoding) | Returns overall content of the HTML document as a byte stream by writing this content into specified stream with specified text encoding | | getBodyContent() | Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string. | | getBodyContent(String externalImagesTemplate) | Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string, where links to the external resources contain specified prefix. | | getContent() | Returns overall content of the HTML document as a string. | | getContentString(String externalImagesTemplate, String externalCssTemplate) | Returns overall content of the HTML document as a string, where links to the external resources contain specified prefix. | | getCssContent() | Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. | | getCssContent(String externalImagesPrefix, String externalFontsPrefix) | Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. | | getEmbeddedHtml() | Returns all content of this HTML document with all related resources in a form of a single string, where all resources are embedded inside the HTML markup in a base64-encoded form. | | save(String htmlFilePath) | Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources. | | save(String htmlFilePath, String resourcesFolderPath) | Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources, which is located on specified path. | | save(Writer htmlMarkup, HtmlSaveOptions saveOptions) | | | fromMarkup(String newHtmlContent, List resources) | Static factory, that creates an instance of EditableDocument from specified HTML markup and a set of corresponding linked resources | | fromMarkupAndResourceFolder(String newHtmlContent, String resourceFolderPath) | Static factory, that creates an instance of EditableDocument from a specified HTML markup and from resources, located in the folder, specified by the full path | | fromFile(String htmlFilePath, String resourceFolderPath) | Static factory, that creates an instance of EditableDocument from a HTML file, that is specified by a path to the \*.html file itself and a folder with linked resources | | dispose() | Disposes this Editable document instance, disposing its content and making its methods and properties non-working | | isDisposed() | Determines whether this Editable document was already disposed (true) or not (false) | ##### Disposed ``` public final Event Disposed ``` ##### getImages() ``` public final List getImages() ``` Allows to obtain external image resources (raster images), which are used by this HTML document **Returns:** java.util.List ##### getFonts() ``` public final List getFonts() ``` Allows to obtain external font resources, which are used by this HTML document **Returns:** java.util.List ##### getCss() ``` public final List getCss() ``` Returns a list of CSS resources **Returns:** java.util.List ##### getAudio() ``` public final List getAudio() ``` Returns a list of audio resources **Returns:** java.util.List ##### getAllResources() ``` public final List getAllResources() ``` Returns a list of all existing resources: all stylesheets, images from HTML and all stylesheets, fonts This property returns a concatenated result of 'Images', 'Fonts', and 'Css' properties **Returns:** java.util.List ##### getContent(OutputStream storage, Charset encoding) ``` public OutputStream getContent(OutputStream storage, Charset encoding) ``` Returns overall content of the HTML document as a byte stream by writing this content into specified stream with specified text encoding **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | storage | java.io.OutputStream | Non-null byte stream, which supports writing | | encoding | java.nio.charset.Charset | Non-null text encoding, which should be apllied while writing text content into specified storage TStream : Any implementation of the java.io.InputStream | **Returns:** java.io.OutputStream - Instance of specified storage ##### getBodyContent() ``` public final String getBodyContent() ``` Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string. **Returns:** java.lang.String - String, which contains the body of the HTML document WYSIWYG editors operate with the body of the document and cannot correctly process its meta information from the HEAD block. This method is designed for such cases. This overload doesn't allow to adjust URIs for external resource requests. ##### getBodyContent(String externalImagesTemplate) ``` public final String getBodyContent(String externalImagesTemplate) ``` Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string, where links to the external resources contain specified prefix. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | externalImagesTemplate | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external images in IMG elements, which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added. WYSIWYG editors operate with the body of the document and cannot correctly process its meta information from the HEAD block. This method is designed for such cases. This overload allows to adjust URIs for external resource requests. | **Returns:** java.lang.String - String, which contains the body of the HTML document with links, adjusted to the external images ##### getContent() ``` public String getContent() ``` Returns overall content of the HTML document as a string. **Returns:** java.lang.String - String, which contains the content of the HTML document ##### getContentString(String externalImagesTemplate, String externalCssTemplate) ``` public String getContentString(String externalImagesTemplate, String externalCssTemplate) ``` Returns overall content of the HTML document as a string, where links to the external resources contain specified prefix. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | externalImagesTemplate | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external images in IMG elements, which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added. | | externalCssTemplate | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external stylesheets in LINK elements, which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added. | **Returns:** java.lang.String - String, which contains the content of the HTML document with links, adjusted to the external resources ##### getCssContent() ``` public final List getCssContent() ``` Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Returns empty list, if there is no CSS for this document. **Returns:** java.util.List - A list of strings, where each string holds a content of one CSS document ##### getCssContent(String externalImagesPrefix, String externalFontsPrefix) ``` public final List getCssContent(String externalImagesPrefix, String externalFontsPrefix) ``` Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Specified prefix will be applied to every link to the external resource in every resultant stylesheet. Returns empty list, if there is no CSS for this document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | externalImagesPrefix | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external images, which will be present in CSS declarations in the resultant CSS strings. If NULL or empty, prefixes will not be added. | | externalFontsPrefix | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external fonts in the | **Returns:** java.util.List - A list of strings, where each string holds a content of one CSS document ##### getEmbeddedHtml() ``` public final String getEmbeddedHtml() ``` Returns all content of this HTML document with all related resources in a form of a single string, where all resources are embedded inside the HTML markup in a base64-encoded form. **Returns:** java.lang.String - String, which is not NULL or empty in any case ##### save(String htmlFilePath) ``` public final void save(String htmlFilePath) ``` Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | java.lang.String | Full path to the file, where HTML markup will be stored. File will be created or overwritten, if exists. Accompanying resource folder will be created in the same folder, where HTML file exist. | ##### save(String htmlFilePath, String resourcesFolderPath) ``` public final void save(String htmlFilePath, String resourcesFolderPath) ``` Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources, which is located on specified path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | java.lang.String | Full path to the file, where HTML markup will be stored. Cannot be NULL or empty. File will be created or overwritten, if exists. | | resourcesFolderPath | java.lang.String | Full path to the accompanying folder, where all related resources will be stored. If NULL or empty, folder will be created automatically in the same directory, where \*.html file. If specified and not exists, will be created. | ##### save(Writer htmlMarkup, HtmlSaveOptions saveOptions) ``` public void save(Writer htmlMarkup, HtmlSaveOptions saveOptions) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlMarkup | java.io.Writer | | | saveOptions | HtmlSaveOptions | | ##### fromMarkup(String newHtmlContent, List resources) ``` public static EditableDocument fromMarkup(String newHtmlContent, List resources) ``` Static factory, that creates an instance of EditableDocument from specified HTML markup and a set of corresponding linked resources **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newHtmlContent | java.lang.String | String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid. | | resources | java.util.List | Collection of all resources (images, stylesheets, fonts), that are used in the HTML-document, specified in newHtmlContent parameter. May be absent (NULL or empty collection). | **Returns:** EditableDocument - New non-null instance of EditableDocument ##### fromMarkupAndResourceFolder(String newHtmlContent, String resourceFolderPath) ``` public static EditableDocument fromMarkupAndResourceFolder(String newHtmlContent, String resourceFolderPath) ``` Static factory, that creates an instance of EditableDocument from a specified HTML markup and from resources, located in the folder, specified by the full path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newHtmlContent | java.lang.String | String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid. | | resourceFolderPath | java.lang.String | Mandatory path to the folder with resources. All stylesheets, which are located in this folder, will be used. Cannot be NULL or empty string, and this folder should exists. This static factory is useful when content of HTML document is presented as a string, but all resources are located in some folder, and often links to these resources in HTML markup are invalid and absent. When invoking this method, it scans specified folder and automatically applies all found stylesheets to the document. This method is very useful when obtaining content from different HTML editors, which usually cut off the document metadata and so on. | **Returns:** EditableDocument - New non-null instance of EditableDocument ##### fromFile(String htmlFilePath, String resourceFolderPath) ``` public static EditableDocument fromFile(String htmlFilePath, String resourceFolderPath) ``` Static factory, that creates an instance of EditableDocument from a HTML file, that is specified by a path to the \*.html file itself and a folder with linked resources **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | java.lang.String | String, that contains a full path to the HTML file. Cannot be null, should be valid file path, and file itself should exists. | | resourceFolderPath | java.lang.String | Optional path to the folder with HTML resources. If NULL, invalid or such folder doesn't exist, Editor will try to find the this folder by itself, analyzing the HTML markup | **Returns:** EditableDocument - New non-null instance of EditableDocument ##### dispose() ``` public final void dispose() ``` Disposes this Editable document instance, disposing its content and making its methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this Editable document was already disposed (true) or not (false) **Returns:** boolean ### Editor Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor/editor.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IAuxDisposable ``` public final class Editor implements IAuxDisposable ``` Main class, which encapsulates conversion methods. Editor class provides methods for loading, editing, and saving documents of all supportable formats. It is disposable, so use a 'using' directive or dispose its resources manually via 'Dispose()' method call. Document loading is performed through constructors. Document editing - through method 'Edit', and saving back to the resultant document after edit - through method 'Save'. Editor class should be considered as an entry point and the root object of the GroupDocs.Editor. All operations are performed using this class. Typical usage of the Editor class for performing a full document editing pipeline is the next: * Load a document into the Editor instance through its constructor. * Optionally, detect a document type using a method. * Open a document for editing by calling an method and obtaining an instance of class from it.. * Editing a document content on client-side using any WYSIWYG HTML-editor. * Creating a new instance of from edited document content. * Saving an edited document to some output format by calling a method. * Disposing an instance of Editor class via 'using' operator or manually. #### Constructors | Constructor | Description | | --- | --- | | Editor(DocumentFormatBase format) | Initializes a new instance of the Editor class and creates a new empty document based on the specified format. | | Editor(InputStream document) | Initializes new Editor instance with specified input document (as a stream) | | Editor(InputStream document, ILoadOptions loadOptions) | Initializes new Editor instance with specified input document (as a stream) with its load options and Editor settings | | Editor(String filePath) | Initializes new Editor instance with specified input document (as a full file path) | | Editor(String filePath, ILoadOptions loadOptions) | Initializes new Editor instance with specified input document (as a full file path) with its load options | #### Methods | Method | Description | | --- | --- | | edit(IEditOptions editOptions) | Opens a previously loaded document for editing using specified format-specific options by generating and returning an instance of '' class, that, in turn, contains methods for producing HTML markup and associated resources. | | edit() | Opens a previously loaded document for editing using default options by generating and returning an instance of 'EditableDocument' class, that, in turn, contains methods for producing HTML markup and associated resources. | | save(EditableDocument inputDocument, OutputStream outputDocument, ISaveOptions saveOptions) | Converts specified edited document, represented as instance of 'EditableDocument', to the resultant document of specified format and saves its content to specified stream | | save(EditableDocument inputDocument, String filePath, ISaveOptions saveOptions) | Converts specified edited document, represented as instance of '', to the resultant document of specified format and saves its content to file by specified file path | | save(EditableDocument inputDocument, String filePath) | Converts the specified edited document (represented by an EditableDocument) to an output document whose format is determined from the filename extension, and saves it to the specified file path. | | save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions) | Converts the original document after modification (for example, FormFieldManager (\#getFormFieldManager.getFormFieldManager)), to the resultant document of the specified format and saves its content to the provided stream. | | save(OutputStream outputDocument) | Save the current document content to the specified output stream. | | getDocumentInfo(String password) | Returns metadata about the document, that was loaded to this 'Editor' instance | | dispose() | Disposes this instance of Editor, so that it releases all internal resources and becomes unavailable for further usage | | isDisposed() | Indicates whether this Editor instance was already disposed and cannot be used anymore (true) or not and is active (false) | ##### Editor(DocumentFormatBase format) ``` public Editor(DocumentFormatBase format) ``` Initializes a new instance of the Editor class and creates a new empty document based on the specified format. > ``` > IDocumentFormat format = WordProcessingFormats.Docx; > Editor editor = new Editor(format); > { > // Use the editor instance to edit and save documents > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | DocumentFormatBase | represents the file format of the document that will be created. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Supported+Document+Formats [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ | ##### Editor(InputStream document) ``` public Editor(InputStream document) ``` Initializes new Editor instance with specified input document (as a stream) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Delegate, that should return a stream with document content. Should not be NULL. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Supported+Document+Formats [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ | ##### Editor(InputStream document, ILoadOptions loadOptions) ``` public Editor(InputStream document, ILoadOptions loadOptions) ``` Initializes new Editor instance with specified input document (as a stream) with its load options and Editor settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Delegate, that should return a stream with document content. Should not be NULL. | | loadOptions | ILoadOptions | Delegate, that should return a document load options. May be NULL and may return null - in that case document type will be detected automatically and default load options for that type will be applied. | ##### Editor(String filePath) ``` public Editor(String filePath) ``` Initializes new Editor instance with specified input document (as a full file path) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Full path to the file. Should not be NULL. Should be valid, and file should exist. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/supported-document-formats/ [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ | ##### Editor(String filePath, ILoadOptions loadOptions) ``` public Editor(String filePath, ILoadOptions loadOptions) ``` Initializes new Editor instance with specified input document (as a full file path) with its load options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Full path to the file. Should not be NULL. Should be valid, and file should exist. | | loadOptions | ILoadOptions | Delegate, that should return a document load options. May be NULL and may return null - in that case document type will be detected automatically and default load options for that type will be applied. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] * More about how to open and edit password-protected documents and document from different storages: [Load and edit documents using GroupDocs.Editor][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/supported-document-formats/ [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ [Load and edit documents using GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/load-document/ | ##### edit(IEditOptions editOptions) ``` public final EditableDocument edit(IEditOptions editOptions) ``` Opens a previously loaded document for editing using specified format-specific options by generating and returning an instance of '' class, that, in turn, contains methods for producing HTML markup and associated resources. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | editOptions | IEditOptions | Format-specific document options, which allows to tune-up conversion process. Should not be NULL. Should not conflict with previously applied load options. When input original document is loaded to the 'Editor' instance through the constructor, this method allows to open document for editing by converting it to intermediate format, which is encapsulated within instance of 'EditableDocument' class. 'EditableDocument', returned from this method, contains all necessary methods and properties for producing HTML markup and corresponding resources (like images, fonts and stylesheets) in all necessary configurations for subsequent passing them into any WYSIWYG HTML-editor. This overload obtains edit options, which are specific for family formats. [How to edit document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Edit+document | **Returns:** EditableDocument ##### edit() ``` public final EditableDocument edit() ``` Opens a previously loaded document for editing using default options by generating and returning an instance of 'EditableDocument' class, that, in turn, contains methods for producing HTML markup and associated resources. **Returns:** EditableDocument - Instance of the 'EditableDocument' class, which encapsulates overall input document with all its resources in intermediate format. This method, if successfully finished, never returns NULL. When input original document is loaded to the 'Editor' instance through the constructor, this method allows to open document for editing by converting it to intermediate format, which is encapsulated within instance of 'EditableDocument' class. 'EditableDocument', returned from this method, contains all necessary methods and properties for producing HTML markup and corresponding resources (like images, fonts and stylesheets) in all necessary configurations for subsequent passing them into any WYSIWYG HTML-editor. This overload applies edit options, which are default for the format, to which the input document belongs. [How to edit document using GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/edit-document/ ##### save(EditableDocument inputDocument, OutputStream outputDocument, ISaveOptions saveOptions) ``` public final void save(EditableDocument inputDocument, OutputStream outputDocument, ISaveOptions saveOptions) ``` Converts specified edited document, represented as instance of 'EditableDocument', to the resultant document of specified format and saves its content to specified stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of 'EditableDocument' class, which should be converted to output document of some specific format | | outputDocument | java.io.OutputStream | Output stream, in which the content of the resultant document will be recorded. Should not be NULL, disposed, should support writing. | | saveOptions | ISaveOptions | Document saving options, which define the format of the resultant document, and also general and format-specific saving options. **Learn more** * More about saving document after edit using GroupDocs.Editor: [How to save edited document using GroupDocs.Editor][] [How to save edited document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Save+document | ##### save(EditableDocument inputDocument, String filePath, ISaveOptions saveOptions) ``` public final void save(EditableDocument inputDocument, String filePath, ISaveOptions saveOptions) ``` Converts specified edited document, represented as instance of '', to the resultant document of specified format and saves its content to file by specified file path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of '' class, which should be converted to output document of some specific format. Must not be null or disposed. | | filePath | java.lang.String | Path to the file, in which the output document will be saved. It file with the same name exists, it will be completely rewritten. String with path must not be null, empty or contain only whitespaces. | | saveOptions | ISaveOptions | Document saving options, which define the format of the resultant document, and also general and format-specific saving options. Must not be null. **Learn more** * More about saving document after edit using GroupDocs.Editor: [How to save edited document using GroupDocs.Editor][] [How to save edited document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Save+document | ##### save(EditableDocument inputDocument, String filePath) ``` public final void save(EditableDocument inputDocument, String filePath) ``` Converts the specified edited document (represented by an EditableDocument) to an output document whose format is determined from the filename extension, and saves it to the specified file path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document that was edited in a WYSIWYG HTML editor and is stored as an EditableDocument instance. Must not be null or disposed. | | filePath | java.lang.String | Path to the file where the output document will be saved. If a file with the same name exists, it will be completely overwritten. The path string must not be null , empty, or contain only whitespaces. Because the default save options and output format are determined from this filename, it must have a valid extension. | ##### save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions) ``` public final OutputStream save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions) ``` Converts the original document after modification (for example, FormFieldManager (\#getFormFieldManager.getFormFieldManager)), to the resultant document of the specified format and saves its content to the provided stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputDocument | java.io.OutputStream | The stream to which the output document will be saved. This stream should be writable and positioned at the start of the document content. Must not be null. | | saveOptions | WordProcessingSaveOptions | Document saving options that define the format of the resultant document, as well as general and format-specific saving options. Must not be null. If the outputDocument or saveOptions is null, an NullPointerException will be thrown. If the document to save is missing, an NullPointerException will be thrown. **Learn more:** * | **Returns:** java.io.OutputStream - The stream containing the saved document content. ##### save(OutputStream outputDocument) ``` public final OutputStream save(OutputStream outputDocument) ``` Save the current document content to the specified output stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputDocument | java.io.OutputStream | The stream to which the document content will be saved. This cannot be null. This method copies the content from the internal document representation to the provided output stream. The stream's original position is preserved after the save operation. | **Returns:** java.io.OutputStream - The stream with the saved document content. ##### getDocumentInfo(String password) ``` public final IDocumentInfo getDocumentInfo(String password) ``` Returns metadata about the document, that was loaded to this 'Editor' instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | User can specify a password for a document, if this document is encrypted with the password. May be NULL or empty string, that is equivalent to the absent password. For those document formats, which do not have a password protection feature, this argument will be ignored. If the document is encrypted, and password in not specified in this parameter, but it was specified before in the load options while creating this instance, it will be used. **Learn more** * Learn more about obtaining document specific properties in code: [How to get document info using GroupDocs.Editor][] [How to get document info using GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/extracting-document-metainfo/ | **Returns:** IDocumentInfo ##### dispose() ``` public final void dispose() ``` Disposes this instance of Editor, so that it releases all internal resources and becomes unavailable for further usage ##### isDisposed() ``` public final boolean isDisposed() ``` Indicates whether this Editor instance was already disposed and cannot be used anymore (true) or not and is active (false) **Returns:** boolean ### EncryptedException Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor/encryptedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception ``` public final class EncryptedException extends System.Exception ``` The exception that is thrown when user tries to open a document that was encrypted using the X509Certificates. #### Constructors | Constructor | Description | | --- | --- | | EncryptedException() | | | EncryptedException(String message) | | | EncryptedException(String message, RuntimeException inner) | | ##### EncryptedException() ``` public EncryptedException() ``` ##### EncryptedException(String message) ``` public EncryptedException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### EncryptedException(String message, RuntimeException inner) ``` public EncryptedException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ### FormFieldManager Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor/formfieldmanager.md **Inheritance:** java.lang.Object ``` public class FormFieldManager ``` #### Methods | Method | Description | | --- | --- | | getFormFieldCollection() | | | updateFormFields(FormFieldCollection formFieldCollection) | | | fixInvalidFormFieldNames(List updateInvalidFormFieldNames) | | | hasInvalidFormFields() | | | removeFormField(IFormField formField) | | | getInvalidFormFieldNames() | | | removeFormFields(List formFields) | | ##### getFormFieldCollection() ``` public FormFieldCollection getFormFieldCollection() ``` **Returns:** FormFieldCollection ##### updateFormFields(FormFieldCollection formFieldCollection) ``` public void updateFormFields(FormFieldCollection formFieldCollection) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | formFieldCollection | FormFieldCollection | | ##### fixInvalidFormFieldNames(List updateInvalidFormFieldNames) ``` public void fixInvalidFormFieldNames(List updateInvalidFormFieldNames) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updateInvalidFormFieldNames | java.util.List | | ##### hasInvalidFormFields() ``` public boolean hasInvalidFormFields() ``` **Returns:** boolean ##### removeFormField(IFormField formField) ``` public void removeFormField(IFormField formField) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | formField | IFormField | | ##### getInvalidFormFieldNames() ``` public Collection getInvalidFormFieldNames() ``` **Returns:** java.util.Collection ##### removeFormFields(List formFields) ``` public void removeFormFields(List formFields) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | formFields | java.util.List | | ### IncorrectPasswordException Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor/incorrectpasswordexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public final class IncorrectPasswordException extends RuntimeException ``` The exception that is thrown when specified password is incorrect. #### Constructors | Constructor | Description | | --- | --- | | IncorrectPasswordException() | | | IncorrectPasswordException(String message) | | | IncorrectPasswordException(String message, RuntimeException inner) | | ##### IncorrectPasswordException() ``` public IncorrectPasswordException() ``` ##### IncorrectPasswordException(String message) ``` public IncorrectPasswordException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### IncorrectPasswordException(String message, RuntimeException inner) ``` public IncorrectPasswordException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ### InvalidFormatException Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor/invalidformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public final class InvalidFormatException extends RuntimeException ``` The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format. For example, this exception will be thrown, if try to open Spreadsheet document with WordProcessing document options. #### Constructors | Constructor | Description | | --- | --- | | InvalidFormatException() | | | InvalidFormatException(String message) | | | InvalidFormatException(String message, RuntimeException inner) | | ##### InvalidFormatException() ``` public InvalidFormatException() ``` ##### InvalidFormatException(String message) ``` public InvalidFormatException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### InvalidFormatException(String message, RuntimeException inner) ``` public InvalidFormatException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ### PasswordRequiredException Path: https://reference.groupdocs.com/editor/java/com.groupdocs.editor/passwordrequiredexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public final class PasswordRequiredException extends RuntimeException ``` The exception that is thrown when user tries to open a password-protected encrypted document of some format and doesn't provide a password for opening this document. #### Constructors | Constructor | Description | | --- | --- | | PasswordRequiredException() | | | PasswordRequiredException(String message) | | | PasswordRequiredException(String message, RuntimeException inner) | | ##### PasswordRequiredException() ``` public PasswordRequiredException() ``` ##### PasswordRequiredException(String message) ``` public PasswordRequiredException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### PasswordRequiredException(String message, RuntimeException inner) ``` public PasswordRequiredException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ## .NET ### GroupDocs.Editor for .NET Path: https://reference.groupdocs.com/editor/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Editor | The GroupDocs.Editor namespace provides classes for editing documents using 3rd party front-end WYSIWYG editors without any additional applications. | | GroupDocs.Editor.Formats | The GroupDocs.Editor.Formats namespace provides interfaces and classes that describes supported document formats. | | GroupDocs.Editor.Formats.Abstraction | The Abstraction namespace provides interfaces and classes that describe supported document formats in the GroupDocs.Editor library. | | GroupDocs.Editor.HtmlCss.Css.DataTypes | The GroupDocs.Editor.HtmlCss.Css.DataTypes namespace provides classes that represent CSS data types. | | GroupDocs.Editor.HtmlCss.Css.Properties | The GroupDocs.Editor.HtmlCss.Css.Properties namespace provides types that represent different CSS properties (components of CSS declarations). | | GroupDocs.Editor.HtmlCss.Exceptions | The GroupDocs.Editor.HtmlCss.Exceptions namespace provides classes that are responsible for all HTML-, CSS-, images-, fonts-, and other resource-related processing. | | GroupDocs.Editor.HtmlCss.Resources | The GroupDocs.Editor.HtmlCss.Resources namespace provides classes that represent all kinds of the HTML resources. | | GroupDocs.Editor.HtmlCss.Resources.Audio | The GroupDocs.Editor.HtmlCss.Resources.Audio namespace provides types that represent audio resources. | | GroupDocs.Editor.HtmlCss.Resources.Fonts | The GroupDocs.Editor.HtmlCss.Resources.Fonts namespace provides classes that represent font resources. | | GroupDocs.Editor.HtmlCss.Resources.Images | The GroupDocs.Editor.HtmlCss.Resources.Images namespace provides classes that represent image resources of all types in general. | | GroupDocs.Editor.HtmlCss.Resources.Images.Raster | The GroupDocs.Editor.HtmlCss.Resources.Images.Raster namespace provides classes that represent only raster image resources. | | GroupDocs.Editor.HtmlCss.Resources.Images.Vector | The GroupDocs.Editor.HtmlCss.Resources.Images.Vector namespace provides classes that represent only vector image resources. | | GroupDocs.Editor.HtmlCss.Resources.Textual | The GroupDocs.Editor.HtmlCss.Resources.Textual namespace provides classes that represent text resources. | | GroupDocs.Editor.HtmlCss.Serialization | The GroupDocs.Editor.HtmlCss.Serialization namespace provides types, that are responsible for tuning HTML and CSS markup serialization process. | | GroupDocs.Editor.Metadata | The GroupDocs.Editor.Metadata namespace provides classes for describing basic document properties dependent on document type. | | GroupDocs.Editor.Options | The GroupDocs.Editor.Options namespace provides interfaces for load and save options. | | GroupDocs.Editor.Words.FieldManagement | Contains classes and interfaces related to the management and manipulation of form fields within documents. This namespace provides functionality to work with various types of form fields, such as text fields, checkboxes, dropdowns, etc., allowing users to interact with and modify form fields programmatically. | ### GroupDocs.Editor.Formats.Abstraction Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction.md The Abstraction namespace provides interfaces and classes that describe supported document formats in the GroupDocs.Editor library. #### Classes | Class | Description | | --- | --- | | DocumentFormatBase | Represents the base class for document formats, providing common functionality for format instances. | | FormatFamilyBase | Represents the base class for format families, providing common functionality for format family instances. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentFormat | Represents the root interface for all supporting document formats. | ### DocumentFormatBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase.md #### DocumentFormatBase class Represents the base class for document formats, providing common functionality for format instances. ```csharp public abstract class DocumentFormatBase : FormatFamilyBase, IDocumentFormat ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | #### Methods | Name | Description | | --- | --- | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | static FromMime<T>(string) | Retrieves an instance of the specified type *T* that has the specified MIME type. | | implicit operator | Converts a `DocumentFormatBase` instance to a string implicitly. | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase/equals.md #### Equals(IDocumentFormat) Determines whether this instance is equal to the specified `IDocumentFormat` instance. ```csharp public bool Equals(IDocumentFormat other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | IDocumentFormat | The `IDocumentFormat` instance to compare with the current instance. | ##### Return Value `true` if the specified `IDocumentFormat` is equal to the current instance; otherwise, `false`. #### Equals(object) Determines whether this instance is equal to the specified `DocumentFormatBase` instance. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The `DocumentFormatBase` instance to compare with the current instance. | ##### Return Value `true` if the specified `DocumentFormatBase` is equal to the current instance; otherwise, `false`. ### Extension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase/extension.md #### DocumentFormatBase.Extension property Gets the file extension of the document format. ```csharp public string Extension { get; } ``` ### FormatFamily Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase/formatfamily.md #### DocumentFormatBase.FormatFamily property Gets the format family to which the document format belongs. ```csharp public FormatFamilies FormatFamily { get; } ``` ### FromMime Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase/frommime.md #### DocumentFormatBase.FromMime<T> method Retrieves an instance of the specified type *T* that has the specified MIME type. ```csharp public static T FromMime(string mime) where T : DocumentFormatBase ``` | Parameter | Description | | --- | --- | | T | The type of document format. | | mime | The MIME type of the document format. | ##### Return Value An instance of the specified type *T* with the specified MIME type. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching document format is found. | ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase/gethashcode.md #### DocumentFormatBase.GetHashCode method Returns a hash code for the current object. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current object, combining the hash codes of the base object, MIME type, file extension, and format family. ### Mime Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase/mime.md #### DocumentFormatBase.Mime property Gets the MIME type of the document format. ```csharp public string Mime { get; } ``` ### op_Implicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/documentformatbase/op_implicit.md #### DocumentFormatBase Implicit operator Converts a `DocumentFormatBase` instance to a string implicitly. ```csharp public static implicit operator string(DocumentFormatBase extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | DocumentFormatBase | The `DocumentFormatBase` instance to convert. | ##### Return Value The file extension of the `DocumentFormatBase` instance. ### FormatFamilyBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase.md #### FormatFamilyBase class Represents the base class for format families, providing common functionality for format family instances. ```csharp public abstract class FormatFamilyBase : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Id { get; } | Gets the unique identifier for the format family. | | Name { get; } | Gets the name of the format family. | #### Methods | Name | Description | | --- | --- | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | static FromName<T>(string) | Retrieves an instance of the specified type *T* that has the specified name. | | static FromValue<T>(int) | Retrieves an instance of the specified type *T* that has the specified identifier. | | static GetAll<T>() | Retrieves all instances of the specified type *T* that derive from `FormatFamilyBase`. | | operator == | Determines whether two `FormatFamilyBase` instances are equal. (2 operators) | | explicit operator | Converts a string representing a format family name to a `FormatFamilyBase` object. (2 operators) | | implicit operator | Converts a `FormatFamilyBase` instance to an integer implicitly. (2 operators) | | operator != | Determines whether two `FormatFamilyBase` instances are not equal. (2 operators) | ##### Remarks This class is abstract and must be inherited by a derived class that specifies the actual format family details. ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/equals.md #### Equals(object) Determines whether this instance is equal to the specified `FormatFamilyBase` instance. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The `FormatFamilyBase` instance to compare with the current instance. | ##### Return Value `true` if the specified `FormatFamilyBase` is equal to the current instance; otherwise, `false`. #### Equals(FormatFamilyBase) Determines whether this instance is equal to the specified `FormatFamilyBase` instance. ```csharp public bool Equals(FormatFamilyBase other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FormatFamilyBase | The `FormatFamilyBase` instance to compare with the current instance. | ##### Return Value `true` if the specified `FormatFamilyBase` is equal to the current instance; otherwise, `false`. ### FromName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/fromname.md #### FormatFamilyBase.FromName<T> method Retrieves an instance of the specified type *T* that has the specified name. ```csharp public static T FromName(string name) where T : FormatFamilyBase ``` | Parameter | Description | | --- | --- | | T | The type of format family. | | name | The name of the format family. | ##### Return Value An instance of the specified type *T* with the specified name. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching format family is found. | ### FromValue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/fromvalue.md #### FormatFamilyBase.FromValue<T> method Retrieves an instance of the specified type *T* that has the specified identifier. ```csharp public static T FromValue(int value) where T : FormatFamilyBase ``` | Parameter | Description | | --- | --- | | T | The type of format family. | | value | The identifier of the format family. | ##### Return Value An instance of the specified type *T* with the specified identifier. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching format family is found. | ### GetAll Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/getall.md #### FormatFamilyBase.GetAll<T> method Retrieves all instances of the specified type *T* that derive from `FormatFamilyBase`. ```csharp public static IEnumerable GetAll() where T : FormatFamilyBase ``` | Parameter | Description | | --- | --- | | T | The type of format family. | ##### Return Value An enumerable collection of instances of the specified type *T*. ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/gethashcode.md #### FormatFamilyBase.GetHashCode method Returns a hash code for the current object. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current object, suitable for use in hashing algorithms and data structures like a hash table. ##### Remarks This method overrides GetHashCode. The hash code is computed using the object's `Id` and `Name` properties. The `unchecked` context allows overflow, which is acceptable in a hash code calculation context. ### Id Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/id.md #### FormatFamilyBase.Id property Gets the unique identifier for the format family. ```csharp public int Id { get; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/name.md #### FormatFamilyBase.Name property Gets the name of the format family. ```csharp public string Name { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/op_equality.md #### operator == Determines whether two `FormatFamilyBase` instances are equal. ```csharp public static bool operator ==(FormatFamilyBase first, FormatFamilyBase second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FormatFamilyBase | The first `FormatFamilyBase` instance to compare. | | second | FormatFamilyBase | The second `FormatFamilyBase` instance to compare. | ##### Return Value true if the two `FormatFamilyBase` instances are equal; otherwise, false. #### operator == Determines whether a `FormatFamilyBase` instance is equal to a specified string name. ```csharp public static bool operator ==(FormatFamilyBase first, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FormatFamilyBase | The `FormatFamilyBase` instance to compare. | | name | String | The string name to compare with the `FormatFamilyBase` instance. | ##### Return Value true if the `FormatFamilyBase` instance's name is equal to the specified string name; otherwise, false. ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/op_explicit.md #### explicit operator Converts a string representing a format family name to a `FormatFamilyBase` object. ```csharp public static explicit operator FormatFamilyBase(string family) ``` | Parameter | Type | Description | | --- | --- | --- | | family | String | The name of the format family to convert. | ##### Return Value A `FormatFamilyBase` object corresponding to the specified format family name. ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when the specified format family name is invalid. | #### explicit operator Converts an integer representing a format family ID to a `FormatFamilyBase` object. ```csharp public static explicit operator FormatFamilyBase(int id) ``` | Parameter | Type | Description | | --- | --- | --- | | id | Int32 | The ID of the format family to convert. | ##### Return Value A `FormatFamilyBase` object corresponding to the specified format family ID. ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when the specified format family ID is invalid. | ### op_Implicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/op_implicit.md #### implicit operator Converts a `FormatFamilyBase` instance to an integer implicitly. ```csharp public static implicit operator int(FormatFamilyBase family) ``` | Parameter | Type | Description | | --- | --- | --- | | family | FormatFamilyBase | The `FormatFamilyBase` instance to convert. | ##### Return Value The unique identifier of the `FormatFamilyBase` instance. #### implicit operator Converts a `FormatFamilyBase` instance to a string implicitly. ```csharp public static implicit operator string(FormatFamilyBase family) ``` | Parameter | Type | Description | | --- | --- | --- | | family | FormatFamilyBase | The `FormatFamilyBase` instance to convert. | ##### Return Value The name of the `FormatFamilyBase` instance. ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/op_inequality.md #### operator != Determines whether two `FormatFamilyBase` instances are not equal. ```csharp public static bool operator !=(FormatFamilyBase first, FormatFamilyBase second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FormatFamilyBase | The first `FormatFamilyBase` instance to compare. | | second | FormatFamilyBase | The second `FormatFamilyBase` instance to compare. | ##### Return Value true if the two `FormatFamilyBase` instances are not equal; otherwise, false. #### operator != Determines whether a `FormatFamilyBase` instance is not equal to a specified string name. ```csharp public static bool operator !=(FormatFamilyBase first, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FormatFamilyBase | The `FormatFamilyBase` instance to compare. | | name | String | The string name to compare with the `FormatFamilyBase` instance. | ##### Return Value true if the `FormatFamilyBase` instance's name is not equal to the specified string name; otherwise, false. ### ToString Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/formatfamilybase/tostring.md #### FormatFamilyBase.ToString method Returns a string that represents the current object. ```csharp public override string ToString() ``` ##### Return Value A string that represents the current object, which is the value of the `Name` property. ##### Remarks This method overrides ToString to return the `Name` property of the object. ### IDocumentFormat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/idocumentformat.md #### IDocumentFormat interface Represents the root interface for all supporting document formats. ```csharp public interface IDocumentFormat : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the full formal name of the document format. | ### Extension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/idocumentformat/extension.md #### IDocumentFormat.Extension property Gets the file extension of the document format. ```csharp public string Extension { get; } ``` ### FormatFamily Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/idocumentformat/formatfamily.md #### IDocumentFormat.FormatFamily property Gets the format family to which the document format belongs. ```csharp public FormatFamilies FormatFamily { get; } ``` ### Mime Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/idocumentformat/mime.md #### IDocumentFormat.Mime property Gets the MIME type of the document format. ```csharp public string Mime { get; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.abstraction/idocumentformat/name.md #### IDocumentFormat.Name property Gets the full formal name of the document format. ```csharp public string Name { get; } ``` ### GroupDocs.Editor.Formats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats.md The GroupDocs.Editor.Formats namespace provides interfaces and classes that describes supported document formats. #### Classes | Class | Description | | --- | --- | | EBookFormats | Encapsulates all eBook formats. Includes the following file types: `Mobi`, `Epub`, `Azw3`. | | EmailFormats | Encapsulates all emails formats. Includes the following file types: `Tnef`, `Eml`, `Emlx`, `Msg`, `Html`, `Mhtml`. | | FixedLayoutFormats | Represents fixed-layout (fixed-page) document formats, such as PDF, excluding raster image formats. | | FormatFamilies | Represents the different format families available in the system. | | PresentationFormats | Encapsulates all Presentation formats. Includes the following formats: | | SpreadsheetFormats | Encapsulates all binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. Includes the following formats: `Xls`, `Xlt`, `Xlsx`, `Xlsm`, `Xlsb`, `Xltx`, `Xltm`, `Xlam`, `SpreadsheetML`, `Ods`, `Fods`, `Sxc`, `Dif`, `Csv`, `Tsv`. Learn more about Spreadsheet formats [here](https://wiki.fileformat.com/spreadsheet). | | TextualFormats | Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. Includes the following formats: `Html`, `Txt`, `Xml`, `Md`, `Json`, `Mhtml`, `Chm`. | | WordProcessingFormats | Encapsulates all WordProcessing formats. Includes the following file types: | ### EBookFormats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/ebookformats.md #### EBookFormats class Encapsulates all eBook formats. Includes the following file types: `Mobi`, `Epub`, `Azw3`. ```csharp public class EBookFormats : DocumentFormatBase ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | | static All { get; } | Gets an enumerable collection of all `EBookFormats`. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Retrieves an instance of the specified type `EBookFormats` that has the specified file extension. | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | explicit operator | Converts a string representing a file extension to a `EBookFormats` object. | #### Fields | Name | Description | | --- | --- | | static readonly Azw3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files. Learn more about this file format [here](https://docs.fileformat.com/ebook/azw3/). | | static readonly Epub | Electronic Publication (IDPF ePub) format is an e-book file format that provides a standard digital publication format for publishers and consumers. Learn more about this file format [here](https://docs.fileformat.com/ebook/epub/). | | static readonly Mobi | MOBI is the name given to the format developed for the MobiPocket Reader. Also called PRC, AZW. It is currently used by Amazon with a slightly different DRM scheme and called AZW. Learn more about this file format [here](https://docs.fileformat.com/ebook/mobi/). | ##### Remarks Learn more about Mobi format [here](https://docs.fileformat.com/ebook/mobi/), about AZW3 format [here](https://docs.fileformat.com/ebook/azw3/), and about ePub format [here](https://docs.fileformat.com/ebook/epub/). ### All Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/ebookformats/all.md #### EBookFormats.All property Gets an enumerable collection of all `EBookFormats`. ```csharp public static IEnumerable All { get; } ``` ##### Property Value An IEnumerable containing all instances of `EBookFormats`. ### Azw3 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/ebookformats/azw3.md #### EBookFormats.Azw3 field AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files. Learn more about this file format [here](https://docs.fileformat.com/ebook/azw3/). ```csharp public static readonly EBookFormats Azw3; ``` ### Epub Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/ebookformats/epub.md #### EBookFormats.Epub field Electronic Publication (IDPF ePub) format is an e-book file format that provides a standard digital publication format for publishers and consumers. Learn more about this file format [here](https://docs.fileformat.com/ebook/epub/). ```csharp public static readonly EBookFormats Epub; ``` ### FromExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/ebookformats/fromextension.md #### EBookFormats.FromExtension method Retrieves an instance of the specified type `EBookFormats` that has the specified file extension. ```csharp public static EBookFormats FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension of the document format. | ##### Return Value An instance of the specified type `EBookFormats` with the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching document format is found. | ### Mobi Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/ebookformats/mobi.md #### EBookFormats.Mobi field MOBI is the name given to the format developed for the MobiPocket Reader. Also called PRC, AZW. It is currently used by Amazon with a slightly different DRM scheme and called AZW. Learn more about this file format [here](https://docs.fileformat.com/ebook/mobi/). ```csharp public static readonly EBookFormats Mobi; ``` ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/ebookformats/op_explicit.md #### EBookFormats Explicit operator Converts a string representing a file extension to a `EBookFormats` object. ```csharp public static explicit operator EBookFormats(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | ##### Return Value A `EBookFormats` object corresponding to the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | EBookFormats | Thrown when the specified file extension is null. | ### EmailFormats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats.md #### EmailFormats class Encapsulates all emails formats. Includes the following file types: `Tnef`, `Eml`, `Emlx`, `Msg`, `Html`, `Mhtml`. ```csharp public class EmailFormats : DocumentFormatBase ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | | static All { get; } | Gets an enumerable collection of all `EmailFormats`. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Retrieves an instance of the specified type `EmailFormats` that has the specified file extension. | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | explicit operator | Converts a string representing a file extension to a `EmailFormats` object. | #### Fields | Name | Description | | --- | --- | | static readonly Eml | EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here](https://docs.fileformat.com/email/eml/). | | static readonly Emlx | The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here](https://docs.fileformat.com/email/emlx/). | | static readonly Html | HTML formatted emails. | | static readonly Ics | The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling. Learn more about this file format [here](https://docs.fileformat.com/email/ics/). | | static readonly Mbox | MBox file format is a generic term that represents a container for collection of electronic mail messages. Learn more about this file format [here](https://docs.fileformat.com/email/mbox/). | | static readonly Mhtml | MHTML, an initialism of "MIME encapsulation of aggregate HTML documents". | | static readonly Msg | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://docs.fileformat.com/email/msg/). | | static readonly Oft | Files with .oft extension are template files that are created using Microsoft Outlook. Learn more about this file format [here](https://docs.fileformat.com/email/oft/). | | static readonly Ost | Offline Storage Table (OST) file represents user’s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here](https://docs.fileformat.com/email/ost/). | | static readonly Pst | Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here](https://docs.fileformat.com/email/pst/). | | static readonly Tnef | Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). Learn more about this file format [here](https://docs.fileformat.com/email/tnef/). | | static readonly Vcf | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. Learn more about this file format [here](https://docs.fileformat.com/email/vcf/). | ##### Remarks Learn more about emails format [here](https://docs.fileformat.com/email/). ### All Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/all.md #### EmailFormats.All property Gets an enumerable collection of all `EmailFormats`. ```csharp public static IEnumerable All { get; } ``` ##### Property Value An IEnumerable containing all instances of `EmailFormats`. ### Eml Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/eml.md #### EmailFormats.Eml field EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here](https://docs.fileformat.com/email/eml/). ```csharp public static readonly EmailFormats Eml; ``` ### Emlx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/emlx.md #### EmailFormats.Emlx field The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here](https://docs.fileformat.com/email/emlx/). ```csharp public static readonly EmailFormats Emlx; ``` ### FromExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/fromextension.md #### EmailFormats.FromExtension method Retrieves an instance of the specified type `EmailFormats` that has the specified file extension. ```csharp public static EmailFormats FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension of the document format. | ##### Return Value An instance of the specified type `EmailFormats` with the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching document format is found. | ### Html Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/html.md #### EmailFormats.Html field HTML formatted emails. ```csharp public static readonly EmailFormats Html; ``` ### Ics Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/ics.md #### EmailFormats.Ics field The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling. Learn more about this file format [here](https://docs.fileformat.com/email/ics/). ```csharp public static readonly EmailFormats Ics; ``` ### Mbox Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/mbox.md #### EmailFormats.Mbox field MBox file format is a generic term that represents a container for collection of electronic mail messages. Learn more about this file format [here](https://docs.fileformat.com/email/mbox/). ```csharp public static readonly EmailFormats Mbox; ``` ### Mhtml Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/mhtml.md #### EmailFormats.Mhtml field MHTML, an initialism of "MIME encapsulation of aggregate HTML documents". ```csharp public static readonly EmailFormats Mhtml; ``` ### Msg Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/msg.md #### EmailFormats.Msg field MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://docs.fileformat.com/email/msg/). ```csharp public static readonly EmailFormats Msg; ``` ### Oft Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/oft.md #### EmailFormats.Oft field Files with .oft extension are template files that are created using Microsoft Outlook. Learn more about this file format [here](https://docs.fileformat.com/email/oft/). ```csharp public static readonly EmailFormats Oft; ``` ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/op_explicit.md #### EmailFormats Explicit operator Converts a string representing a file extension to a `EmailFormats` object. ```csharp public static explicit operator EmailFormats(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | ##### Return Value A `EmailFormats` object corresponding to the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | EmailFormats | Thrown when the specified file extension is null. | ### Ost Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/ost.md #### EmailFormats.Ost field Offline Storage Table (OST) file represents user’s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here](https://docs.fileformat.com/email/ost/). ```csharp public static readonly EmailFormats Ost; ``` ### Pst Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/pst.md #### EmailFormats.Pst field Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here](https://docs.fileformat.com/email/pst/). ```csharp public static readonly EmailFormats Pst; ``` ### Tnef Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/tnef.md #### EmailFormats.Tnef field Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). Learn more about this file format [here](https://docs.fileformat.com/email/tnef/). ```csharp public static readonly EmailFormats Tnef; ``` ### Vcf Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/emailformats/vcf.md #### EmailFormats.Vcf field VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. Learn more about this file format [here](https://docs.fileformat.com/email/vcf/). ```csharp public static readonly EmailFormats Vcf; ``` ### FixedLayoutFormats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/fixedlayoutformats.md #### FixedLayoutFormats class Represents fixed-layout (fixed-page) document formats, such as PDF, excluding raster image formats. ```csharp public class FixedLayoutFormats : DocumentFormatBase ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | | static All { get; } | Gets all available instances of `FixedLayoutFormats`. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Retrieves a `FixedLayoutFormats` instance matching the specified file extension. | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | explicit operator | Explicitly converts a file extension string to a `FixedLayoutFormats` instance. | #### Fields | Name | Description | | --- | --- | | static readonly Pdf | Portable Document Format (PDF), introduced by Adobe, provides standardized representation of documents independent of software, hardware, and operating systems. For additional details, see: [PDF file format](https://docs.fileformat.com/pdf/). | ##### Remarks Fixed-layout formats precisely specify the placement and rendering of content on each page. Commonly used in document viewing, publishing, or editing applications like Adobe Acrobat and Adobe InDesign. These formats internally define page layouts and content positioning using vector graphics and text instructions. ### All Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/fixedlayoutformats/all.md #### FixedLayoutFormats.All property Gets all available instances of `FixedLayoutFormats`. ```csharp public static IEnumerable All { get; } ``` ### FromExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/fixedlayoutformats/fromextension.md #### FixedLayoutFormats.FromExtension method Retrieves a `FixedLayoutFormats` instance matching the specified file extension. ```csharp public static FixedLayoutFormats FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | File extension to match (e.g., "pdf"). | ##### Return Value The matching `FixedLayoutFormats` instance. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown if no matching format is found. | ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/fixedlayoutformats/op_explicit.md #### FixedLayoutFormats Explicit operator Explicitly converts a file extension string to a `FixedLayoutFormats` instance. ```csharp public static explicit operator FixedLayoutFormats(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | File extension string, possibly containing periods. | ##### Return Value The corresponding `FixedLayoutFormats` instance. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown if *extension* is null. | ### Pdf Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/fixedlayoutformats/pdf.md #### FixedLayoutFormats.Pdf field Portable Document Format (PDF), introduced by Adobe, provides standardized representation of documents independent of software, hardware, and operating systems. For additional details, see: [PDF file format](https://docs.fileformat.com/pdf/). ```csharp public static readonly FixedLayoutFormats Pdf; ``` ### FormatFamilies Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies.md #### FormatFamilies class Represents the different format families available in the system. ```csharp public class FormatFamilies : FormatFamilyBase ``` #### Properties | Name | Description | | --- | --- | | Id { get; } | Gets the unique identifier for the format family. | | Name { get; } | Gets the name of the format family. | #### Methods | Name | Description | | --- | --- | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | #### Fields | Name | Description | | --- | --- | | static readonly EBook | Represents the eBook format family. Learn more about Mobi format [here](https://docs.fileformat.com/ebook/mobi/), about AZW3 format [here](https://docs.fileformat.com/ebook/azw3/), and about ePub format [here](https://docs.fileformat.com/ebook/epub/). | | static readonly Email | Represents the Email format family. Learn more about emails format [here](https://docs.fileformat.com/email/). | | static readonly FixedLayout | Represents the Fixed Layout format family. Various document viewing or publishing applications allow users to open (Adobe Acrobat, XPS Viewer), and sometimes edit (Adobe InDesign) documents of specific formats. These applications typically produce so-called “fixed-page” format documents. Such a document format describes precisely where a document’s content is placed on every page. Internally, the PDF or XPS format contains a description of every page, as well as drawing instructions, specifying the layout of the content on the page. This is similar to image formats, describing where the content is shown either in raster or vector form. | | static readonly Presentation | Represents the Presentation format family. Learn more about Presentation formats [here](https://wiki.fileformat.com/presentation). | | static readonly Spreadsheet | Represents the Spreadsheet format family. All binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. | | static readonly Textual | Represents the Textual format family. Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. | | static readonly WordProcessing | Represents the Word Processing format family. Learn more about Word Processing formats [here](https://wiki.fileformat.com/word-processing). | ### EBook Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies/ebook.md #### FormatFamilies.EBook field Represents the eBook format family. Learn more about Mobi format [here](https://docs.fileformat.com/ebook/mobi/), about AZW3 format [here](https://docs.fileformat.com/ebook/azw3/), and about ePub format [here](https://docs.fileformat.com/ebook/epub/). ```csharp public static readonly FormatFamilies EBook; ``` ### Email Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies/email.md #### FormatFamilies.Email field Represents the Email format family. Learn more about emails format [here](https://docs.fileformat.com/email/). ```csharp public static readonly FormatFamilies Email; ``` ### FixedLayout Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies/fixedlayout.md #### FormatFamilies.FixedLayout field Represents the Fixed Layout format family. Various document viewing or publishing applications allow users to open (Adobe Acrobat, XPS Viewer), and sometimes edit (Adobe InDesign) documents of specific formats. These applications typically produce so-called “fixed-page” format documents. Such a document format describes precisely where a document’s content is placed on every page. Internally, the PDF or XPS format contains a description of every page, as well as drawing instructions, specifying the layout of the content on the page. This is similar to image formats, describing where the content is shown either in raster or vector form. ```csharp public static readonly FormatFamilies FixedLayout; ``` ### Presentation Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies/presentation.md #### FormatFamilies.Presentation field Represents the Presentation format family. Learn more about Presentation formats [here](https://wiki.fileformat.com/presentation). ```csharp public static readonly FormatFamilies Presentation; ``` ### Spreadsheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies/spreadsheet.md #### FormatFamilies.Spreadsheet field Represents the Spreadsheet format family. All binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. ```csharp public static readonly FormatFamilies Spreadsheet; ``` ### Textual Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies/textual.md #### FormatFamilies.Textual field Represents the Textual format family. Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. ```csharp public static readonly FormatFamilies Textual; ``` ### WordProcessing Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/formatfamilies/wordprocessing.md #### FormatFamilies.WordProcessing field Represents the Word Processing format family. Learn more about Word Processing formats [here](https://wiki.fileformat.com/word-processing). ```csharp public static readonly FormatFamilies WordProcessing; ``` ##### Remarks MIME codes are grabbed from the given resources: https://filext.com/faq/office_mime_types.html https://docs.microsoft.com/en-us/previous-versions//cc179224(v=technet.10) ### PresentationFormats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats.md #### PresentationFormats class Encapsulates all Presentation formats. Includes the following formats: * `Odp` * `Otp` * `Pot` * `Potm` * `Potx` * `Pps` * `Ppsm` * `Ppsx` * `Ppt` * `Ppt95` * `Pptm` * `Pptx` Learn more about Presentation formats [here](https://wiki.fileformat.com/presentation). ```csharp public class PresentationFormats : DocumentFormatBase ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | | static All { get; } | Gets an enumerable collection of all `PresentationFormats`. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Retrieves an instance of the specified type `PresentationFormats` that has the specified file extension. | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | explicit operator | Converts a string representing a file extension to a `PresentationFormats` object. | #### Fields | Name | Description | | --- | --- | | static readonly Odp | OpenDocument Presentation (ODP). Learn more about this file format [here](https://wiki.fileformat.com/presentation/odp). | | static readonly Otp | OpenDocument Presentation template (OTP). Learn more about this file format [here](https://wiki.fileformat.com/presentation/otp). | | static readonly Pot | Microsoft PowerPoint 97-2003 Presentation Template (POT). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot). | | static readonly Potm | Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm). | | static readonly Potx | Microsoft Office Open XML PresentationML Macro-Free Template (POTX). Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx). | | static readonly Pps | Microsoft PowerPoint 97-2003 SlideShow (PPS). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps). | | static readonly Ppsm | Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm). | | static readonly Ppsx | Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx). | | static readonly Ppt | Microsoft PowerPoint 97-2003 Presentation (PPT). Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt). | | static readonly Ppt95 | Microsoft PowerPoint 95 Presentation (PPT). | | static readonly Pptm | Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm). | | static readonly Pptx | Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx). | ### All Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/all.md #### PresentationFormats.All property Gets an enumerable collection of all `PresentationFormats`. ```csharp public static IEnumerable All { get; } ``` ##### Property Value An IEnumerable containing all instances of `PresentationFormats`. ### FromExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/fromextension.md #### PresentationFormats.FromExtension method Retrieves an instance of the specified type `PresentationFormats` that has the specified file extension. ```csharp public static PresentationFormats FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension of the document format. | ##### Return Value An instance of the specified type `PresentationFormats` with the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching document format is found. | ### Odp Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/odp.md #### PresentationFormats.Odp field OpenDocument Presentation (ODP). Learn more about this file format [here](https://wiki.fileformat.com/presentation/odp). ```csharp public static readonly PresentationFormats Odp; ``` ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/op_explicit.md #### PresentationFormats Explicit operator Converts a string representing a file extension to a `PresentationFormats` object. ```csharp public static explicit operator PresentationFormats(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | ##### Return Value A `PresentationFormats` object corresponding to the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | PresentationFormats | Thrown when the specified file extension is null. | ### Otp Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/otp.md #### PresentationFormats.Otp field OpenDocument Presentation template (OTP). Learn more about this file format [here](https://wiki.fileformat.com/presentation/otp). ```csharp public static readonly PresentationFormats Otp; ``` ### Pot Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/pot.md #### PresentationFormats.Pot field Microsoft PowerPoint 97-2003 Presentation Template (POT). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot). ```csharp public static readonly PresentationFormats Pot; ``` ### Potm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/potm.md #### PresentationFormats.Potm field Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm). ```csharp public static readonly PresentationFormats Potm; ``` ### Potx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/potx.md #### PresentationFormats.Potx field Microsoft Office Open XML PresentationML Macro-Free Template (POTX). Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx). ```csharp public static readonly PresentationFormats Potx; ``` ### Pps Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/pps.md #### PresentationFormats.Pps field Microsoft PowerPoint 97-2003 SlideShow (PPS). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps). ```csharp public static readonly PresentationFormats Pps; ``` ### Ppsm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/ppsm.md #### PresentationFormats.Ppsm field Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm). ```csharp public static readonly PresentationFormats Ppsm; ``` ### Ppsx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/ppsx.md #### PresentationFormats.Ppsx field Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx). ```csharp public static readonly PresentationFormats Ppsx; ``` ### Ppt Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/ppt.md #### PresentationFormats.Ppt field Microsoft PowerPoint 97-2003 Presentation (PPT). Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt). ```csharp public static readonly PresentationFormats Ppt; ``` ### Ppt95 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/ppt95.md #### PresentationFormats.Ppt95 field Microsoft PowerPoint 95 Presentation (PPT). ```csharp public static readonly PresentationFormats Ppt95; ``` ### Pptm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/pptm.md #### PresentationFormats.Pptm field Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm). ```csharp public static readonly PresentationFormats Pptm; ``` ### Pptx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/presentationformats/pptx.md #### PresentationFormats.Pptx field Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx). ```csharp public static readonly PresentationFormats Pptx; ``` ### SpreadsheetFormats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats.md #### SpreadsheetFormats class Encapsulates all binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. Includes the following formats: `Xls`, `Xlt`, `Xlsx`, `Xlsm`, `Xlsb`, `Xltx`, `Xltm`, `Xlam`, `SpreadsheetML`, `Ods`, `Fods`, `Sxc`, `Dif`, `Csv`, `Tsv`. Learn more about Spreadsheet formats [here](https://wiki.fileformat.com/spreadsheet). ```csharp public class SpreadsheetFormats : DocumentFormatBase ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | | static All { get; } | Gets an enumerable collection of all `SpreadsheetFormats`. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Retrieves an instance of the specified type `SpreadsheetFormats` that has the specified file extension. | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | explicit operator | Converts a string representing a file extension to a `SpreadsheetFormats` object. | #### Fields | Name | Description | | --- | --- | | static readonly Csv | Comma Separated Values (CSV). Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/csv/). | | static readonly Dif | Data Interchange Format (DIF). | | static readonly Fods | Flat OpenDocument Spreadsheet (FODS). | | static readonly Ods | OpenDocument Spreadsheet (ODS). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods). | | static readonly SpreadsheetML | SpreadsheetML — Microsoft Office Excel 2002 and Excel 2003 XML Format. | | static readonly Sxc | StarOffice or OpenOffice.org Calc XML Spreadsheet (SXC). | | static readonly Tsv | Tab-Separated Values (TSV). Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/tsv/). | | static readonly Xlam | Excel Add-in (XLAM). | | static readonly Xls | Excel 97-2003 Binary File Format (XLS). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xls). | | static readonly Xlsb | Excel Binary Workbook (XLSB). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsb). | | static readonly Xlsm | Office Open XML Workbook Macro-Enabled (XLSM). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsm). | | static readonly Xlsx | Office Open XML Workbook Macro-Free (XLSX). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsx). | | static readonly Xlt | Excel 97-2003 Template (XLT). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlt). | | static readonly Xltm | Office Open XML Template Macro-Enabled (XLTM). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltm). | | static readonly Xltx | Office Open XML Template Macro-Free (XLTX). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltx). | ### All Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/all.md #### SpreadsheetFormats.All property Gets an enumerable collection of all `SpreadsheetFormats`. ```csharp public static IEnumerable All { get; } ``` ##### Property Value An IEnumerable containing all instances of `SpreadsheetFormats`. ### Csv Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/csv.md #### SpreadsheetFormats.Csv field Comma Separated Values (CSV). Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/csv/). ```csharp public static readonly SpreadsheetFormats Csv; ``` ### Dif Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/dif.md #### SpreadsheetFormats.Dif field Data Interchange Format (DIF). ```csharp public static readonly SpreadsheetFormats Dif; ``` ### Fods Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/fods.md #### SpreadsheetFormats.Fods field Flat OpenDocument Spreadsheet (FODS). ```csharp public static readonly SpreadsheetFormats Fods; ``` ### FromExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/fromextension.md #### SpreadsheetFormats.FromExtension method Retrieves an instance of the specified type `SpreadsheetFormats` that has the specified file extension. ```csharp public static SpreadsheetFormats FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension of the document format. | ##### Return Value An instance of the specified type `SpreadsheetFormats` with the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching document format is found. | ### Ods Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/ods.md #### SpreadsheetFormats.Ods field OpenDocument Spreadsheet (ODS). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods). ```csharp public static readonly SpreadsheetFormats Ods; ``` ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/op_explicit.md #### SpreadsheetFormats Explicit operator Converts a string representing a file extension to a `SpreadsheetFormats` object. ```csharp public static explicit operator SpreadsheetFormats(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | ##### Return Value A `SpreadsheetFormats` object corresponding to the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | SpreadsheetFormats | Thrown when the specified file extension is null. | ### SpreadsheetML Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/spreadsheetml.md #### SpreadsheetFormats.SpreadsheetML field SpreadsheetML — Microsoft Office Excel 2002 and Excel 2003 XML Format. ```csharp public static readonly SpreadsheetFormats SpreadsheetML; ``` ### Sxc Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/sxc.md #### SpreadsheetFormats.Sxc field StarOffice or OpenOffice.org Calc XML Spreadsheet (SXC). ```csharp public static readonly SpreadsheetFormats Sxc; ``` ### Tsv Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/tsv.md #### SpreadsheetFormats.Tsv field Tab-Separated Values (TSV). Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/tsv/). ```csharp public static readonly SpreadsheetFormats Tsv; ``` ### Xlam Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xlam.md #### SpreadsheetFormats.Xlam field Excel Add-in (XLAM). ```csharp public static readonly SpreadsheetFormats Xlam; ``` ### Xls Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xls.md #### SpreadsheetFormats.Xls field Excel 97-2003 Binary File Format (XLS). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xls). ```csharp public static readonly SpreadsheetFormats Xls; ``` ### Xlsb Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xlsb.md #### SpreadsheetFormats.Xlsb field Excel Binary Workbook (XLSB). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsb). ```csharp public static readonly SpreadsheetFormats Xlsb; ``` ### Xlsm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xlsm.md #### SpreadsheetFormats.Xlsm field Office Open XML Workbook Macro-Enabled (XLSM). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsm). ```csharp public static readonly SpreadsheetFormats Xlsm; ``` ### Xlsx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xlsx.md #### SpreadsheetFormats.Xlsx field Office Open XML Workbook Macro-Free (XLSX). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsx). ```csharp public static readonly SpreadsheetFormats Xlsx; ``` ### Xlt Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xlt.md #### SpreadsheetFormats.Xlt field Excel 97-2003 Template (XLT). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlt). ```csharp public static readonly SpreadsheetFormats Xlt; ``` ### Xltm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xltm.md #### SpreadsheetFormats.Xltm field Office Open XML Template Macro-Enabled (XLTM). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltm). ```csharp public static readonly SpreadsheetFormats Xltm; ``` ### Xltx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/spreadsheetformats/xltx.md #### SpreadsheetFormats.Xltx field Office Open XML Template Macro-Free (XLTX). Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltx). ```csharp public static readonly SpreadsheetFormats Xltx; ``` ### TextualFormats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats.md #### TextualFormats class Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. Includes the following formats: `Html`, `Txt`, `Xml`, `Md`, `Json`, `Mhtml`, `Chm`. ```csharp public class TextualFormats : DocumentFormatBase ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | | static All { get; } | Gets an enumerable collection of all `TextualFormats`. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Retrieves an instance of the specified type `TextualFormats` that has the specified file extension. | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | explicit operator | Converts a string representing a file extension to a `TextualFormats` object. | #### Fields | Name | Description | | --- | --- | | static readonly Chm | Microsoft Compiled HTML Help is a Microsoft proprietary online help binary format, consisting of a collection of HTML pages, an index and other navigation tools. Learn more about this file format [here](https://docs.fileformat.com/web/chm/). | | static readonly Html | HyperText Markup Language document (HTML) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html). | | static readonly Json | JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format [here](https://docs.fileformat.com/web/json/). | | static readonly Md | Markdown is a lightweight markup language for creating formatted text using a plain-text editor. Learn more about this file format [here](https://docs.fileformat.com/word-processing/md/). | | static readonly Mhtml | MIME encapsulation of aggregate HTML documents is a web page archive format used to combine, in a single computer file, the HTML code and its companion resources. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml/). | | static readonly Txt | Plain Text Document (TXT) represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt). | | static readonly Xml | eXtensible Markup Language document (XML) that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here](https://wiki.fileformat.com/web/xml). | ### All Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/all.md #### TextualFormats.All property Gets an enumerable collection of all `TextualFormats`. ```csharp public static IEnumerable All { get; } ``` ##### Property Value An IEnumerable containing all instances of `TextualFormats`. ### Chm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/chm.md #### TextualFormats.Chm field Microsoft Compiled HTML Help is a Microsoft proprietary online help binary format, consisting of a collection of HTML pages, an index and other navigation tools. Learn more about this file format [here](https://docs.fileformat.com/web/chm/). ```csharp public static readonly TextualFormats Chm; ``` ### FromExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/fromextension.md #### TextualFormats.FromExtension method Retrieves an instance of the specified type `TextualFormats` that has the specified file extension. ```csharp public static TextualFormats FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension of the document format. | ##### Return Value An instance of the specified type `TextualFormats` with the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching document format is found. | ### Html Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/html.md #### TextualFormats.Html field HyperText Markup Language document (HTML) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html). ```csharp public static readonly TextualFormats Html; ``` ### Json Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/json.md #### TextualFormats.Json field JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format [here](https://docs.fileformat.com/web/json/). ```csharp public static readonly TextualFormats Json; ``` ### Md Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/md.md #### TextualFormats.Md field Markdown is a lightweight markup language for creating formatted text using a plain-text editor. Learn more about this file format [here](https://docs.fileformat.com/word-processing/md/). ```csharp public static readonly TextualFormats Md; ``` ### Mhtml Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/mhtml.md #### TextualFormats.Mhtml field MIME encapsulation of aggregate HTML documents is a web page archive format used to combine, in a single computer file, the HTML code and its companion resources. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml/). ```csharp public static readonly TextualFormats Mhtml; ``` ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/op_explicit.md #### TextualFormats Explicit operator Converts a string representing a file extension to a `TextualFormats` object. ```csharp public static explicit operator TextualFormats(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | ##### Return Value A `TextualFormats` object corresponding to the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | TextualFormats | Thrown when the specified file extension is null. | ### Txt Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/txt.md #### TextualFormats.Txt field Plain Text Document (TXT) represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt). ```csharp public static readonly TextualFormats Txt; ``` ### Xml Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/textualformats/xml.md #### TextualFormats.Xml field eXtensible Markup Language document (XML) that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here](https://wiki.fileformat.com/web/xml). ```csharp public static readonly TextualFormats Xml; ``` ### WordProcessingFormats Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats.md #### WordProcessingFormats class Encapsulates all WordProcessing formats. Includes the following file types: * `Doc` * `Docm` * `Docx` * `Dot` * `Dotm` * `Dotx` * `FlatOpc` * `Odt` * `Ott` * `Rtf` * `WordML` Learn more about Word Processing formats [here](https://wiki.fileformat.com/word-processing). ```csharp public class WordProcessingFormats : DocumentFormatBase ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Gets the file extension of the document format. | | FormatFamily { get; } | Gets the format family to which the document format belongs. | | Id { get; } | Gets the unique identifier for the format family. | | Mime { get; } | Gets the MIME type of the document format. | | Name { get; } | Gets the name of the format family. | | static All { get; } | Gets an enumerable collection of all `WordProcessingFormats`. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Retrieves an instance of the specified type `WordProcessingFormats` that has the specified file extension. | | Equals(FormatFamilyBase) | Determines whether this instance is equal to the specified `FormatFamilyBase` instance. | | Equals(IDocumentFormat) | Determines whether this instance is equal to the specified `IDocumentFormat` instance. | | override Equals(object) | Determines whether this instance is equal to the specified `DocumentFormatBase` instance. | | override GetHashCode() | Returns a hash code for the current object. | | override ToString() | Returns a string that represents the current object. | | explicit operator | Converts a string representing a file extension to a `WordProcessingFormats` object. | #### Fields | Name | Description | | --- | --- | | static readonly Doc | MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc). | | static readonly Docm | Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm). | | static readonly Docx | Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx). | | static readonly Dot | MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot). | | static readonly Dotm | Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm). | | static readonly Dotx | Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx). | | static readonly FlatOpc | Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. | | static readonly Odt | Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt). | | static readonly Ott | Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/ott). | | static readonly Rtf | Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/rtf). | | static readonly WordML | Microsoft Office Word 2003 XML Format — WordProcessingML or WordML (.XML). | ### All Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/all.md #### WordProcessingFormats.All property Gets an enumerable collection of all `WordProcessingFormats`. ```csharp public static IEnumerable All { get; } ``` ##### Property Value An IEnumerable containing all instances of `WordProcessingFormats`. ### Doc Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/doc.md #### WordProcessingFormats.Doc field MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc). ```csharp public static readonly WordProcessingFormats Doc; ``` ### Docm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/docm.md #### WordProcessingFormats.Docm field Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm). ```csharp public static readonly WordProcessingFormats Docm; ``` ### Docx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/docx.md #### WordProcessingFormats.Docx field Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx). ```csharp public static readonly WordProcessingFormats Docx; ``` ### Dot Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/dot.md #### WordProcessingFormats.Dot field MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot). ```csharp public static readonly WordProcessingFormats Dot; ``` ### Dotm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/dotm.md #### WordProcessingFormats.Dotm field Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm). ```csharp public static readonly WordProcessingFormats Dotm; ``` ### Dotx Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/dotx.md #### WordProcessingFormats.Dotx field Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx). ```csharp public static readonly WordProcessingFormats Dotx; ``` ### FlatOpc Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/flatopc.md #### WordProcessingFormats.FlatOpc field Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. ```csharp public static readonly WordProcessingFormats FlatOpc; ``` ### FromExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/fromextension.md #### WordProcessingFormats.FromExtension method Retrieves an instance of the specified type `WordProcessingFormats` that has the specified file extension. ```csharp public static WordProcessingFormats FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension of the document format. | ##### Return Value An instance of the specified type `WordProcessingFormats` with the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown when no matching document format is found. | ### Odt Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/odt.md #### WordProcessingFormats.Odt field Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt). ```csharp public static readonly WordProcessingFormats Odt; ``` ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/op_explicit.md #### WordProcessingFormats Explicit operator Converts a string representing a file extension to a `WordProcessingFormats` object. ```csharp public static explicit operator WordProcessingFormats(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | ##### Return Value A `WordProcessingFormats` object corresponding to the specified file extension. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when the specified file extension is null. | ### Ott Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/ott.md #### WordProcessingFormats.Ott field Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/ott). ```csharp public static readonly WordProcessingFormats Ott; ``` ### Rtf Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/rtf.md #### WordProcessingFormats.Rtf field Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/rtf). ```csharp public static readonly WordProcessingFormats Rtf; ``` ### WordML Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.formats/wordprocessingformats/wordml.md #### WordProcessingFormats.WordML field Microsoft Office Word 2003 XML Format — WordProcessingML or WordML (.XML). ```csharp public static readonly WordProcessingFormats WordML; ``` ##### Remarks https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats ### GroupDocs.Editor.HtmlCss.Css.DataTypes Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes.md The GroupDocs.Editor.HtmlCss.Css.DataTypes namespace provides classes that represent CSS data types. #### Classes | Class | Description | | --- | --- | | ArgbColor.KnownColors | Contains all "known colors", that have fixed unique name and value in CSS standart | #### Structures | Structure | Description | | --- | --- | | ArgbColor | Represents one color value in 32-bit ARGB format (8 bits per channel including transparency) with converters and serializers | | Length | Represents a CSS length value in any supportable unit, including percentage and unitless type. Values may be integer or float, negative, zero and positive. Immutable structure. | | Ratio | Represents a "ratio" CSS data type, which is used for describing aspect ratios in media queries and for raster images by denoting the proportion between two unitless values called "numerator" and "denominator". Immutable struct. | #### Interfaces | Interface | Description | | --- | --- | | ICssDataType | Common interface for all CSS data types, which are used in the CSS properties | #### Enumeration | Enumeration | Description | | --- | --- | | Length.Unit | All supported length units | ### ArgbColor.KnownColors.CssLevel1 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1.md #### ArgbColor.KnownColors.CssLevel1 class Named colors, specified in the CSS level 1. All are fully opaque. ```csharp public static class CssLevel1 ``` #### Fields | Name | Description | | --- | --- | | static readonly Aqua | Aqua color | | static readonly Black | Black color | | static readonly Blue | Blue color | | static readonly Fuchsia | Fuchsia color, also known as Magenta | | static readonly Gray | Gray color | | static readonly Green | Green color | | static readonly Lime | Lime color, also known as Pure Green | | static readonly Maroon | Maroon color | | static readonly Navy | Navy color | | static readonly Olive | Olive color | | static readonly Purple | Purple color | | static readonly Red | Red color | | static readonly Silver | Silver color | | static readonly Teal | Teal color | | static readonly White | White color | | static readonly Yellow | Yellow color | ##### Remarks https://www.w3.org/TR/CSS1/#color-units ### Aqua Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/aqua.md #### ArgbColor.KnownColors.CssLevel1.Aqua field Aqua color ```csharp public static readonly ArgbColor Aqua; ``` ### Black Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/black.md #### ArgbColor.KnownColors.CssLevel1.Black field Black color ```csharp public static readonly ArgbColor Black; ``` ### Blue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/blue.md #### ArgbColor.KnownColors.CssLevel1.Blue field Blue color ```csharp public static readonly ArgbColor Blue; ``` ### Fuchsia Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/fuchsia.md #### ArgbColor.KnownColors.CssLevel1.Fuchsia field Fuchsia color, also known as Magenta ```csharp public static readonly ArgbColor Fuchsia; ``` ### Gray Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/gray.md #### ArgbColor.KnownColors.CssLevel1.Gray field Gray color ```csharp public static readonly ArgbColor Gray; ``` ### Green Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/green.md #### ArgbColor.KnownColors.CssLevel1.Green field Green color ```csharp public static readonly ArgbColor Green; ``` ### Lime Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/lime.md #### ArgbColor.KnownColors.CssLevel1.Lime field Lime color, also known as Pure Green ```csharp public static readonly ArgbColor Lime; ``` ### Maroon Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/maroon.md #### ArgbColor.KnownColors.CssLevel1.Maroon field Maroon color ```csharp public static readonly ArgbColor Maroon; ``` ### Navy Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/navy.md #### ArgbColor.KnownColors.CssLevel1.Navy field Navy color ```csharp public static readonly ArgbColor Navy; ``` ### Olive Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/olive.md #### ArgbColor.KnownColors.CssLevel1.Olive field Olive color ```csharp public static readonly ArgbColor Olive; ``` ### Purple Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/purple.md #### ArgbColor.KnownColors.CssLevel1.Purple field Purple color ```csharp public static readonly ArgbColor Purple; ``` ### Red Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/red.md #### ArgbColor.KnownColors.CssLevel1.Red field Red color ```csharp public static readonly ArgbColor Red; ``` ### Silver Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/silver.md #### ArgbColor.KnownColors.CssLevel1.Silver field Silver color ```csharp public static readonly ArgbColor Silver; ``` ### Teal Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/teal.md #### ArgbColor.KnownColors.CssLevel1.Teal field Teal color ```csharp public static readonly ArgbColor Teal; ``` ### White Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/white.md #### ArgbColor.KnownColors.CssLevel1.White field White color ```csharp public static readonly ArgbColor White; ``` ### Yellow Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel1/yellow.md #### ArgbColor.KnownColors.CssLevel1.Yellow field Yellow color ```csharp public static readonly ArgbColor Yellow; ``` ### ArgbColor.KnownColors.CssLevel2 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel2.md #### ArgbColor.KnownColors.CssLevel2 class Named colors, specified in the CSS level 2. All are fully opaque. ```csharp public static class CssLevel2 ``` #### Fields | Name | Description | | --- | --- | | static readonly Orange | Orange color | ##### Remarks https://www.w3.org/TR/CSS2/syndata.html#color-units ### Orange Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel2/orange.md #### ArgbColor.KnownColors.CssLevel2.Orange field Orange color ```csharp public static readonly ArgbColor Orange; ``` ### ArgbColor.KnownColors.CssLevel3 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3.md #### ArgbColor.KnownColors.CssLevel3 class Named colors, specified in the CSS Colors level 3. All are fully opaque. ```csharp public static class CssLevel3 ``` #### Fields | Name | Description | | --- | --- | | static readonly Aliceblue | Alice Blue color | | static readonly Antiquewhite | Antique White color | | static readonly Aquamarine | Aquamarine color | | static readonly Azure | Azure color | | static readonly Beige | Beige color | | static readonly Bisque | Bisque color | | static readonly Blanchedalmond | Blanched Almond color | | static readonly Blueviolet | Blue Violet color | | static readonly Brown | Brown color | | static readonly Burlywood | Burly Wood color | | static readonly Cadetblue | Cadet Blue color | | static readonly Chartreuse | Chart Reuse color | | static readonly Chocolate | Chocolate color | | static readonly Coral | Coral color | | static readonly Cornflowerblue | Corn flower blue color | | static readonly Cornsilk | Corn silk color | | static readonly Crimson | Crimson color | | static readonly Cyan | Cyan color, also known as Aqua from CssLevel1 | | static readonly Darkblue | Dark blue color | | static readonly Darkcyan | Dark cyan color | | static readonly Darkgoldenrod | Dark golden rod color | | static readonly Darkgray | Dark gray color | | static readonly Darkgreen | Dark green color | | static readonly Darkgrey | Dark grey color - same as Dark gray | | static readonly Darkkhaki | Dark khaki color | | static readonly Darkmagenta | Dark magenta color | | static readonly Darkolivegreen | Dark olive green color | | static readonly Darkorange | Dark orange color | | static readonly Darkorchid | Dark orchid color | | static readonly Darkred | Dark red color | | static readonly Darksalmon | Dark salmon color | | static readonly Darkseagreen | Dark sea green color | | static readonly Darkslateblue | Dark slate blue color | | static readonly Darkslategray | Dark slate gray color | | static readonly Darkslategrey | Dark slate grey color - same as Dark slate gray | | static readonly Darkturquoise | Dark turquoise color | | static readonly Darkviolet | Dark violet color | | static readonly Deeppink | Deep pink color | | static readonly Deepskyblue | Deep sky blue color | | static readonly Dimgray | Dim gray color | | static readonly Dimgrey | Dim grey color - same as Dim gray | | static readonly Dodgerblue | Dodger blue color | | static readonly Firebrick | Fire brick color | | static readonly Floralwhite | Floral white color | | static readonly Forestgreen | Forest green color | | static readonly Gainsboro | Gains boro color | | static readonly Ghostwhite | Ghost white color | | static readonly Gold | Gold color | | static readonly Goldenrod | Goldenrod color | | static readonly Greenyellow | Green yellow color | | static readonly Grey | Grey color - same as Gray from CSS Level 1 | | static readonly Honeydew | Honey dew color | | static readonly Hotpink | Hot pink color | | static readonly Indianred | Indian red color | | static readonly Indigo | Indigo color | | static readonly Ivory | Ivory color | | static readonly Khaki | Khaki color | | static readonly Lavender | Lavender color | | static readonly Lavenderblush | Lavender blush color | | static readonly Lawngreen | Lawngreen color | | static readonly Lemonchiffon | Lemonchiffon color | | static readonly Lightblue | Lightblue color | | static readonly Lightcoral | Lightcoral color | | static readonly Lightcyan | Lightcyan color | | static readonly Lightgoldenrodyellow | Lightgoldenrodyellow color | | static readonly Lightgray | Lightgray color - same as Lightgrey | | static readonly Lightgreen | Lightgreen color | | static readonly Lightgrey | Lightgrey color - same as Lightgray | | static readonly Lightpink | Lightpink color | | static readonly Lightsalmon | Lightsalmon color | | static readonly Lightseagreen | Lightseagreen color | | static readonly Lightskyblue | Lightskyblue color | | static readonly Lightslategray | Lightslategray color - same as Lightslategrey | | static readonly Lightslategrey | Lightslategrey color - same as Lightslategray | | static readonly Lightsteelblue | Lightsteelblue color | | static readonly Lightyellow | Lightyellow color | | static readonly Limegreen | Limegreen color | | static readonly Linen | Linen color | | static readonly Magenta | Magenta color, also known as Fuchsia from CssLevel1 | | static readonly Mediumaquamarine | Mediumaquamarine color | | static readonly Mediumblue | Mediumblue color | | static readonly Mediumorchid | Mediumorchid color | | static readonly Mediumpurple | Mediumpurple color | | static readonly Mediumseagreen | Mediumseagreen color | | static readonly Mediumslateblue | Mediumslateblue color | | static readonly Mediumspringgreen | Mediumspringgreen color | | static readonly Mediumturquoise | Mediumturquoise color | | static readonly Mediumvioletred | Mediumvioletred color | | static readonly Midnightblue | Midnightblue color | | static readonly Mintcream | Mintcream color | | static readonly Mistyrose | Mistyrose color | | static readonly Moccasin | Moccasin color | | static readonly Navajowhite | Navajowhite color | | static readonly Oldlace | Oldlace color | | static readonly Olivedrab | Olivedrab color | | static readonly Orangered | Orangered color | | static readonly Orchid | Orchid color | | static readonly Palegoldenrod | Palegoldenrod color | | static readonly Palegreen | Palegreen color | | static readonly Paleturquoise | Paleturquoise color | | static readonly Palevioletred | Palevioletred color | | static readonly Papayawhip | Papayawhip color | | static readonly Peachpuff | Peachpuff color | | static readonly Peru | Peru color | | static readonly Pink | Pink color | | static readonly Plum | Plum color | | static readonly Powderblue | Powderblue color | | static readonly Rosybrown | Rosybrown color | | static readonly Royalblue | Royalblue color | | static readonly Saddlebrown | Saddlebrown color | | static readonly Salmon | Salmon color | | static readonly Sandybrown | Sandybrown color | | static readonly Seagreen | Seagreen color | | static readonly Seashell | Seashell color | | static readonly Sienna | Sienna color | | static readonly Skyblue | Skyblue color | | static readonly Slateblue | Slateblue color | | static readonly Slategray | Slategray color - same as Slategrey | | static readonly Slategrey | Slategrey color - same as Slategray | | static readonly Snow | Snow color | | static readonly Springgreen | Springgreen color | | static readonly Steelblue | Steelblue color | | static readonly Tan | Tan color | | static readonly Thistle | Thistle color | | static readonly Tomato | Tomato color | | static readonly Turquoise | Turquoise color | | static readonly Violet | Violet color | | static readonly Wheat | Wheat color | | static readonly Whitesmoke | Whitesmoke color | | static readonly Yellowgreen | Yellowgreen color | ##### Remarks See also: https://developer.mozilla.org/en-US/docs/Web/CSS/named-color#css_level_3_values https://drafts.csswg.org/css-color-3/#svg-color ### Aliceblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/aliceblue.md #### ArgbColor.KnownColors.CssLevel3.Aliceblue field Alice Blue color ```csharp public static readonly ArgbColor Aliceblue; ``` ### Antiquewhite Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/antiquewhite.md #### ArgbColor.KnownColors.CssLevel3.Antiquewhite field Antique White color ```csharp public static readonly ArgbColor Antiquewhite; ``` ### Aquamarine Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/aquamarine.md #### ArgbColor.KnownColors.CssLevel3.Aquamarine field Aquamarine color ```csharp public static readonly ArgbColor Aquamarine; ``` ### Azure Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/azure.md #### ArgbColor.KnownColors.CssLevel3.Azure field Azure color ```csharp public static readonly ArgbColor Azure; ``` ### Beige Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/beige.md #### ArgbColor.KnownColors.CssLevel3.Beige field Beige color ```csharp public static readonly ArgbColor Beige; ``` ### Bisque Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/bisque.md #### ArgbColor.KnownColors.CssLevel3.Bisque field Bisque color ```csharp public static readonly ArgbColor Bisque; ``` ### Blanchedalmond Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/blanchedalmond.md #### ArgbColor.KnownColors.CssLevel3.Blanchedalmond field Blanched Almond color ```csharp public static readonly ArgbColor Blanchedalmond; ``` ### Blueviolet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/blueviolet.md #### ArgbColor.KnownColors.CssLevel3.Blueviolet field Blue Violet color ```csharp public static readonly ArgbColor Blueviolet; ``` ### Brown Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/brown.md #### ArgbColor.KnownColors.CssLevel3.Brown field Brown color ```csharp public static readonly ArgbColor Brown; ``` ### Burlywood Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/burlywood.md #### ArgbColor.KnownColors.CssLevel3.Burlywood field Burly Wood color ```csharp public static readonly ArgbColor Burlywood; ``` ### Cadetblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/cadetblue.md #### ArgbColor.KnownColors.CssLevel3.Cadetblue field Cadet Blue color ```csharp public static readonly ArgbColor Cadetblue; ``` ### Chartreuse Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/chartreuse.md #### ArgbColor.KnownColors.CssLevel3.Chartreuse field Chart Reuse color ```csharp public static readonly ArgbColor Chartreuse; ``` ### Chocolate Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/chocolate.md #### ArgbColor.KnownColors.CssLevel3.Chocolate field Chocolate color ```csharp public static readonly ArgbColor Chocolate; ``` ### Coral Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/coral.md #### ArgbColor.KnownColors.CssLevel3.Coral field Coral color ```csharp public static readonly ArgbColor Coral; ``` ### Cornflowerblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/cornflowerblue.md #### ArgbColor.KnownColors.CssLevel3.Cornflowerblue field Corn flower blue color ```csharp public static readonly ArgbColor Cornflowerblue; ``` ### Cornsilk Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/cornsilk.md #### ArgbColor.KnownColors.CssLevel3.Cornsilk field Corn silk color ```csharp public static readonly ArgbColor Cornsilk; ``` ### Crimson Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/crimson.md #### ArgbColor.KnownColors.CssLevel3.Crimson field Crimson color ```csharp public static readonly ArgbColor Crimson; ``` ### Cyan Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/cyan.md #### ArgbColor.KnownColors.CssLevel3.Cyan field Cyan color, also known as Aqua from CssLevel1 ```csharp public static readonly ArgbColor Cyan; ``` ### Darkblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkblue.md #### ArgbColor.KnownColors.CssLevel3.Darkblue field Dark blue color ```csharp public static readonly ArgbColor Darkblue; ``` ### Darkcyan Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkcyan.md #### ArgbColor.KnownColors.CssLevel3.Darkcyan field Dark cyan color ```csharp public static readonly ArgbColor Darkcyan; ``` ### Darkgoldenrod Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkgoldenrod.md #### ArgbColor.KnownColors.CssLevel3.Darkgoldenrod field Dark golden rod color ```csharp public static readonly ArgbColor Darkgoldenrod; ``` ### Darkgray Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkgray.md #### ArgbColor.KnownColors.CssLevel3.Darkgray field Dark gray color ```csharp public static readonly ArgbColor Darkgray; ``` ### Darkgreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkgreen.md #### ArgbColor.KnownColors.CssLevel3.Darkgreen field Dark green color ```csharp public static readonly ArgbColor Darkgreen; ``` ### Darkgrey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkgrey.md #### ArgbColor.KnownColors.CssLevel3.Darkgrey field Dark grey color - same as Dark gray ```csharp public static readonly ArgbColor Darkgrey; ``` ### Darkkhaki Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkkhaki.md #### ArgbColor.KnownColors.CssLevel3.Darkkhaki field Dark khaki color ```csharp public static readonly ArgbColor Darkkhaki; ``` ### Darkmagenta Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkmagenta.md #### ArgbColor.KnownColors.CssLevel3.Darkmagenta field Dark magenta color ```csharp public static readonly ArgbColor Darkmagenta; ``` ### Darkolivegreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkolivegreen.md #### ArgbColor.KnownColors.CssLevel3.Darkolivegreen field Dark olive green color ```csharp public static readonly ArgbColor Darkolivegreen; ``` ### Darkorange Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkorange.md #### ArgbColor.KnownColors.CssLevel3.Darkorange field Dark orange color ```csharp public static readonly ArgbColor Darkorange; ``` ### Darkorchid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkorchid.md #### ArgbColor.KnownColors.CssLevel3.Darkorchid field Dark orchid color ```csharp public static readonly ArgbColor Darkorchid; ``` ### Darkred Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkred.md #### ArgbColor.KnownColors.CssLevel3.Darkred field Dark red color ```csharp public static readonly ArgbColor Darkred; ``` ### Darksalmon Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darksalmon.md #### ArgbColor.KnownColors.CssLevel3.Darksalmon field Dark salmon color ```csharp public static readonly ArgbColor Darksalmon; ``` ### Darkseagreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkseagreen.md #### ArgbColor.KnownColors.CssLevel3.Darkseagreen field Dark sea green color ```csharp public static readonly ArgbColor Darkseagreen; ``` ### Darkslateblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkslateblue.md #### ArgbColor.KnownColors.CssLevel3.Darkslateblue field Dark slate blue color ```csharp public static readonly ArgbColor Darkslateblue; ``` ### Darkslategray Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkslategray.md #### ArgbColor.KnownColors.CssLevel3.Darkslategray field Dark slate gray color ```csharp public static readonly ArgbColor Darkslategray; ``` ### Darkslategrey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkslategrey.md #### ArgbColor.KnownColors.CssLevel3.Darkslategrey field Dark slate grey color - same as Dark slate gray ```csharp public static readonly ArgbColor Darkslategrey; ``` ### Darkturquoise Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkturquoise.md #### ArgbColor.KnownColors.CssLevel3.Darkturquoise field Dark turquoise color ```csharp public static readonly ArgbColor Darkturquoise; ``` ### Darkviolet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/darkviolet.md #### ArgbColor.KnownColors.CssLevel3.Darkviolet field Dark violet color ```csharp public static readonly ArgbColor Darkviolet; ``` ### Deeppink Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/deeppink.md #### ArgbColor.KnownColors.CssLevel3.Deeppink field Deep pink color ```csharp public static readonly ArgbColor Deeppink; ``` ### Deepskyblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/deepskyblue.md #### ArgbColor.KnownColors.CssLevel3.Deepskyblue field Deep sky blue color ```csharp public static readonly ArgbColor Deepskyblue; ``` ### Dimgray Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/dimgray.md #### ArgbColor.KnownColors.CssLevel3.Dimgray field Dim gray color ```csharp public static readonly ArgbColor Dimgray; ``` ### Dimgrey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/dimgrey.md #### ArgbColor.KnownColors.CssLevel3.Dimgrey field Dim grey color - same as Dim gray ```csharp public static readonly ArgbColor Dimgrey; ``` ### Dodgerblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/dodgerblue.md #### ArgbColor.KnownColors.CssLevel3.Dodgerblue field Dodger blue color ```csharp public static readonly ArgbColor Dodgerblue; ``` ### Firebrick Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/firebrick.md #### ArgbColor.KnownColors.CssLevel3.Firebrick field Fire brick color ```csharp public static readonly ArgbColor Firebrick; ``` ### Floralwhite Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/floralwhite.md #### ArgbColor.KnownColors.CssLevel3.Floralwhite field Floral white color ```csharp public static readonly ArgbColor Floralwhite; ``` ### Forestgreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/forestgreen.md #### ArgbColor.KnownColors.CssLevel3.Forestgreen field Forest green color ```csharp public static readonly ArgbColor Forestgreen; ``` ### Gainsboro Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/gainsboro.md #### ArgbColor.KnownColors.CssLevel3.Gainsboro field Gains boro color ```csharp public static readonly ArgbColor Gainsboro; ``` ### Ghostwhite Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/ghostwhite.md #### ArgbColor.KnownColors.CssLevel3.Ghostwhite field Ghost white color ```csharp public static readonly ArgbColor Ghostwhite; ``` ### Gold Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/gold.md #### ArgbColor.KnownColors.CssLevel3.Gold field Gold color ```csharp public static readonly ArgbColor Gold; ``` ### Goldenrod Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/goldenrod.md #### ArgbColor.KnownColors.CssLevel3.Goldenrod field Goldenrod color ```csharp public static readonly ArgbColor Goldenrod; ``` ### Greenyellow Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/greenyellow.md #### ArgbColor.KnownColors.CssLevel3.Greenyellow field Green yellow color ```csharp public static readonly ArgbColor Greenyellow; ``` ### Grey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/grey.md #### ArgbColor.KnownColors.CssLevel3.Grey field Grey color - same as Gray from CSS Level 1 ```csharp public static readonly ArgbColor Grey; ``` ### Honeydew Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/honeydew.md #### ArgbColor.KnownColors.CssLevel3.Honeydew field Honey dew color ```csharp public static readonly ArgbColor Honeydew; ``` ### Hotpink Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/hotpink.md #### ArgbColor.KnownColors.CssLevel3.Hotpink field Hot pink color ```csharp public static readonly ArgbColor Hotpink; ``` ### Indianred Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/indianred.md #### ArgbColor.KnownColors.CssLevel3.Indianred field Indian red color ```csharp public static readonly ArgbColor Indianred; ``` ### Indigo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/indigo.md #### ArgbColor.KnownColors.CssLevel3.Indigo field Indigo color ```csharp public static readonly ArgbColor Indigo; ``` ### Ivory Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/ivory.md #### ArgbColor.KnownColors.CssLevel3.Ivory field Ivory color ```csharp public static readonly ArgbColor Ivory; ``` ### Khaki Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/khaki.md #### ArgbColor.KnownColors.CssLevel3.Khaki field Khaki color ```csharp public static readonly ArgbColor Khaki; ``` ### Lavender Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lavender.md #### ArgbColor.KnownColors.CssLevel3.Lavender field Lavender color ```csharp public static readonly ArgbColor Lavender; ``` ### Lavenderblush Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lavenderblush.md #### ArgbColor.KnownColors.CssLevel3.Lavenderblush field Lavender blush color ```csharp public static readonly ArgbColor Lavenderblush; ``` ### Lawngreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lawngreen.md #### ArgbColor.KnownColors.CssLevel3.Lawngreen field Lawngreen color ```csharp public static readonly ArgbColor Lawngreen; ``` ### Lemonchiffon Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lemonchiffon.md #### ArgbColor.KnownColors.CssLevel3.Lemonchiffon field Lemonchiffon color ```csharp public static readonly ArgbColor Lemonchiffon; ``` ### Lightblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightblue.md #### ArgbColor.KnownColors.CssLevel3.Lightblue field Lightblue color ```csharp public static readonly ArgbColor Lightblue; ``` ### Lightcoral Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightcoral.md #### ArgbColor.KnownColors.CssLevel3.Lightcoral field Lightcoral color ```csharp public static readonly ArgbColor Lightcoral; ``` ### Lightcyan Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightcyan.md #### ArgbColor.KnownColors.CssLevel3.Lightcyan field Lightcyan color ```csharp public static readonly ArgbColor Lightcyan; ``` ### Lightgoldenrodyellow Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightgoldenrodyellow.md #### ArgbColor.KnownColors.CssLevel3.Lightgoldenrodyellow field Lightgoldenrodyellow color ```csharp public static readonly ArgbColor Lightgoldenrodyellow; ``` ### Lightgray Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightgray.md #### ArgbColor.KnownColors.CssLevel3.Lightgray field Lightgray color - same as Lightgrey ```csharp public static readonly ArgbColor Lightgray; ``` ### Lightgreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightgreen.md #### ArgbColor.KnownColors.CssLevel3.Lightgreen field Lightgreen color ```csharp public static readonly ArgbColor Lightgreen; ``` ### Lightgrey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightgrey.md #### ArgbColor.KnownColors.CssLevel3.Lightgrey field Lightgrey color - same as Lightgray ```csharp public static readonly ArgbColor Lightgrey; ``` ### Lightpink Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightpink.md #### ArgbColor.KnownColors.CssLevel3.Lightpink field Lightpink color ```csharp public static readonly ArgbColor Lightpink; ``` ### Lightsalmon Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightsalmon.md #### ArgbColor.KnownColors.CssLevel3.Lightsalmon field Lightsalmon color ```csharp public static readonly ArgbColor Lightsalmon; ``` ### Lightseagreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightseagreen.md #### ArgbColor.KnownColors.CssLevel3.Lightseagreen field Lightseagreen color ```csharp public static readonly ArgbColor Lightseagreen; ``` ### Lightskyblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightskyblue.md #### ArgbColor.KnownColors.CssLevel3.Lightskyblue field Lightskyblue color ```csharp public static readonly ArgbColor Lightskyblue; ``` ### Lightslategray Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightslategray.md #### ArgbColor.KnownColors.CssLevel3.Lightslategray field Lightslategray color - same as Lightslategrey ```csharp public static readonly ArgbColor Lightslategray; ``` ### Lightslategrey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightslategrey.md #### ArgbColor.KnownColors.CssLevel3.Lightslategrey field Lightslategrey color - same as Lightslategray ```csharp public static readonly ArgbColor Lightslategrey; ``` ### Lightsteelblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightsteelblue.md #### ArgbColor.KnownColors.CssLevel3.Lightsteelblue field Lightsteelblue color ```csharp public static readonly ArgbColor Lightsteelblue; ``` ### Lightyellow Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/lightyellow.md #### ArgbColor.KnownColors.CssLevel3.Lightyellow field Lightyellow color ```csharp public static readonly ArgbColor Lightyellow; ``` ### Limegreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/limegreen.md #### ArgbColor.KnownColors.CssLevel3.Limegreen field Limegreen color ```csharp public static readonly ArgbColor Limegreen; ``` ### Linen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/linen.md #### ArgbColor.KnownColors.CssLevel3.Linen field Linen color ```csharp public static readonly ArgbColor Linen; ``` ### Magenta Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/magenta.md #### ArgbColor.KnownColors.CssLevel3.Magenta field Magenta color, also known as Fuchsia from CssLevel1 ```csharp public static readonly ArgbColor Magenta; ``` ### Mediumaquamarine Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumaquamarine.md #### ArgbColor.KnownColors.CssLevel3.Mediumaquamarine field Mediumaquamarine color ```csharp public static readonly ArgbColor Mediumaquamarine; ``` ### Mediumblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumblue.md #### ArgbColor.KnownColors.CssLevel3.Mediumblue field Mediumblue color ```csharp public static readonly ArgbColor Mediumblue; ``` ### Mediumorchid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumorchid.md #### ArgbColor.KnownColors.CssLevel3.Mediumorchid field Mediumorchid color ```csharp public static readonly ArgbColor Mediumorchid; ``` ### Mediumpurple Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumpurple.md #### ArgbColor.KnownColors.CssLevel3.Mediumpurple field Mediumpurple color ```csharp public static readonly ArgbColor Mediumpurple; ``` ### Mediumseagreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumseagreen.md #### ArgbColor.KnownColors.CssLevel3.Mediumseagreen field Mediumseagreen color ```csharp public static readonly ArgbColor Mediumseagreen; ``` ### Mediumslateblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumslateblue.md #### ArgbColor.KnownColors.CssLevel3.Mediumslateblue field Mediumslateblue color ```csharp public static readonly ArgbColor Mediumslateblue; ``` ### Mediumspringgreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumspringgreen.md #### ArgbColor.KnownColors.CssLevel3.Mediumspringgreen field Mediumspringgreen color ```csharp public static readonly ArgbColor Mediumspringgreen; ``` ### Mediumturquoise Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumturquoise.md #### ArgbColor.KnownColors.CssLevel3.Mediumturquoise field Mediumturquoise color ```csharp public static readonly ArgbColor Mediumturquoise; ``` ### Mediumvioletred Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mediumvioletred.md #### ArgbColor.KnownColors.CssLevel3.Mediumvioletred field Mediumvioletred color ```csharp public static readonly ArgbColor Mediumvioletred; ``` ### Midnightblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/midnightblue.md #### ArgbColor.KnownColors.CssLevel3.Midnightblue field Midnightblue color ```csharp public static readonly ArgbColor Midnightblue; ``` ### Mintcream Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mintcream.md #### ArgbColor.KnownColors.CssLevel3.Mintcream field Mintcream color ```csharp public static readonly ArgbColor Mintcream; ``` ### Mistyrose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/mistyrose.md #### ArgbColor.KnownColors.CssLevel3.Mistyrose field Mistyrose color ```csharp public static readonly ArgbColor Mistyrose; ``` ### Moccasin Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/moccasin.md #### ArgbColor.KnownColors.CssLevel3.Moccasin field Moccasin color ```csharp public static readonly ArgbColor Moccasin; ``` ### Navajowhite Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/navajowhite.md #### ArgbColor.KnownColors.CssLevel3.Navajowhite field Navajowhite color ```csharp public static readonly ArgbColor Navajowhite; ``` ### Oldlace Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/oldlace.md #### ArgbColor.KnownColors.CssLevel3.Oldlace field Oldlace color ```csharp public static readonly ArgbColor Oldlace; ``` ### Olivedrab Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/olivedrab.md #### ArgbColor.KnownColors.CssLevel3.Olivedrab field Olivedrab color ```csharp public static readonly ArgbColor Olivedrab; ``` ### Orangered Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/orangered.md #### ArgbColor.KnownColors.CssLevel3.Orangered field Orangered color ```csharp public static readonly ArgbColor Orangered; ``` ### Orchid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/orchid.md #### ArgbColor.KnownColors.CssLevel3.Orchid field Orchid color ```csharp public static readonly ArgbColor Orchid; ``` ### Palegoldenrod Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/palegoldenrod.md #### ArgbColor.KnownColors.CssLevel3.Palegoldenrod field Palegoldenrod color ```csharp public static readonly ArgbColor Palegoldenrod; ``` ### Palegreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/palegreen.md #### ArgbColor.KnownColors.CssLevel3.Palegreen field Palegreen color ```csharp public static readonly ArgbColor Palegreen; ``` ### Paleturquoise Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/paleturquoise.md #### ArgbColor.KnownColors.CssLevel3.Paleturquoise field Paleturquoise color ```csharp public static readonly ArgbColor Paleturquoise; ``` ### Palevioletred Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/palevioletred.md #### ArgbColor.KnownColors.CssLevel3.Palevioletred field Palevioletred color ```csharp public static readonly ArgbColor Palevioletred; ``` ### Papayawhip Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/papayawhip.md #### ArgbColor.KnownColors.CssLevel3.Papayawhip field Papayawhip color ```csharp public static readonly ArgbColor Papayawhip; ``` ### Peachpuff Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/peachpuff.md #### ArgbColor.KnownColors.CssLevel3.Peachpuff field Peachpuff color ```csharp public static readonly ArgbColor Peachpuff; ``` ### Peru Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/peru.md #### ArgbColor.KnownColors.CssLevel3.Peru field Peru color ```csharp public static readonly ArgbColor Peru; ``` ### Pink Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/pink.md #### ArgbColor.KnownColors.CssLevel3.Pink field Pink color ```csharp public static readonly ArgbColor Pink; ``` ### Plum Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/plum.md #### ArgbColor.KnownColors.CssLevel3.Plum field Plum color ```csharp public static readonly ArgbColor Plum; ``` ### Powderblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/powderblue.md #### ArgbColor.KnownColors.CssLevel3.Powderblue field Powderblue color ```csharp public static readonly ArgbColor Powderblue; ``` ### Rosybrown Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/rosybrown.md #### ArgbColor.KnownColors.CssLevel3.Rosybrown field Rosybrown color ```csharp public static readonly ArgbColor Rosybrown; ``` ### Royalblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/royalblue.md #### ArgbColor.KnownColors.CssLevel3.Royalblue field Royalblue color ```csharp public static readonly ArgbColor Royalblue; ``` ### Saddlebrown Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/saddlebrown.md #### ArgbColor.KnownColors.CssLevel3.Saddlebrown field Saddlebrown color ```csharp public static readonly ArgbColor Saddlebrown; ``` ### Salmon Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/salmon.md #### ArgbColor.KnownColors.CssLevel3.Salmon field Salmon color ```csharp public static readonly ArgbColor Salmon; ``` ### Sandybrown Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/sandybrown.md #### ArgbColor.KnownColors.CssLevel3.Sandybrown field Sandybrown color ```csharp public static readonly ArgbColor Sandybrown; ``` ### Seagreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/seagreen.md #### ArgbColor.KnownColors.CssLevel3.Seagreen field Seagreen color ```csharp public static readonly ArgbColor Seagreen; ``` ### Seashell Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/seashell.md #### ArgbColor.KnownColors.CssLevel3.Seashell field Seashell color ```csharp public static readonly ArgbColor Seashell; ``` ### Sienna Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/sienna.md #### ArgbColor.KnownColors.CssLevel3.Sienna field Sienna color ```csharp public static readonly ArgbColor Sienna; ``` ### Skyblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/skyblue.md #### ArgbColor.KnownColors.CssLevel3.Skyblue field Skyblue color ```csharp public static readonly ArgbColor Skyblue; ``` ### Slateblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/slateblue.md #### ArgbColor.KnownColors.CssLevel3.Slateblue field Slateblue color ```csharp public static readonly ArgbColor Slateblue; ``` ### Slategray Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/slategray.md #### ArgbColor.KnownColors.CssLevel3.Slategray field Slategray color - same as Slategrey ```csharp public static readonly ArgbColor Slategray; ``` ### Slategrey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/slategrey.md #### ArgbColor.KnownColors.CssLevel3.Slategrey field Slategrey color - same as Slategray ```csharp public static readonly ArgbColor Slategrey; ``` ### Snow Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/snow.md #### ArgbColor.KnownColors.CssLevel3.Snow field Snow color ```csharp public static readonly ArgbColor Snow; ``` ### Springgreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/springgreen.md #### ArgbColor.KnownColors.CssLevel3.Springgreen field Springgreen color ```csharp public static readonly ArgbColor Springgreen; ``` ### Steelblue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/steelblue.md #### ArgbColor.KnownColors.CssLevel3.Steelblue field Steelblue color ```csharp public static readonly ArgbColor Steelblue; ``` ### Tan Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/tan.md #### ArgbColor.KnownColors.CssLevel3.Tan field Tan color ```csharp public static readonly ArgbColor Tan; ``` ### Thistle Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/thistle.md #### ArgbColor.KnownColors.CssLevel3.Thistle field Thistle color ```csharp public static readonly ArgbColor Thistle; ``` ### Tomato Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/tomato.md #### ArgbColor.KnownColors.CssLevel3.Tomato field Tomato color ```csharp public static readonly ArgbColor Tomato; ``` ### Turquoise Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/turquoise.md #### ArgbColor.KnownColors.CssLevel3.Turquoise field Turquoise color ```csharp public static readonly ArgbColor Turquoise; ``` ### Violet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/violet.md #### ArgbColor.KnownColors.CssLevel3.Violet field Violet color ```csharp public static readonly ArgbColor Violet; ``` ### Wheat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/wheat.md #### ArgbColor.KnownColors.CssLevel3.Wheat field Wheat color ```csharp public static readonly ArgbColor Wheat; ``` ### Whitesmoke Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/whitesmoke.md #### ArgbColor.KnownColors.CssLevel3.Whitesmoke field Whitesmoke color ```csharp public static readonly ArgbColor Whitesmoke; ``` ### Yellowgreen Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel3/yellowgreen.md #### ArgbColor.KnownColors.CssLevel3.Yellowgreen field Yellowgreen color ```csharp public static readonly ArgbColor Yellowgreen; ``` ### ArgbColor.KnownColors.CssLevel4 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel4.md #### ArgbColor.KnownColors.CssLevel4 class Named colors, specified in the CSS Colors level 4. All are fully opaque. ```csharp public static class CssLevel4 ``` #### Fields | Name | Description | | --- | --- | | static readonly Rebeccapurple | Rebecca Purple color | ##### Remarks See also: https://developer.mozilla.org/en-US/docs/Web/CSS/named-color#css_level_4_values https://drafts.csswg.org/css-color-4/#changes-from-3 ### Rebeccapurple Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.csslevel4/rebeccapurple.md #### ArgbColor.KnownColors.CssLevel4.Rebeccapurple field Rebecca Purple color ```csharp public static readonly ArgbColor Rebeccapurple; ``` ##### Remarks CSS Colors Level 4 added the '**rebeccapurple**' keyword to honor web pioneer Eric Meyer: https://codepen.io/trezy/post/honoring-a-great-man ### ArgbColor.KnownColors Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors.md #### ArgbColor.KnownColors class Contains all "known colors", that have fixed unique name and value in CSS standart ```csharp public static class KnownColors ``` #### Methods | Name | Description | | --- | --- | | static TryFind(string, out ArgbColor) | Tries to find a color by its string name | #### Fields | Name | Description | | --- | --- | | static readonly Empty | Returns an empty color, which has no channels info and is fully transparent. Same as '`Transparent`'. Default value. | | static readonly Transparent | Fully transparent empty color. The same as default '`Empty`' color value. | #### Other Members | Name | Description | | --- | --- | | static class CssLevel1 | Named colors, specified in the CSS level 1. All are fully opaque. | | static class CssLevel2 | Named colors, specified in the CSS level 2. All are fully opaque. | | static class CssLevel3 | Named colors, specified in the CSS Colors level 3. All are fully opaque. | | static class CssLevel4 | Named colors, specified in the CSS Colors level 4. All are fully opaque. | ##### Remarks See also: https://developer.mozilla.org/en-US/docs/Web/CSS/named-color ### Empty Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors/empty.md #### ArgbColor.KnownColors.Empty field Returns an empty color, which has no channels info and is fully transparent. Same as '`Transparent`'. Default value. ```csharp public static readonly ArgbColor Empty; ``` ### Transparent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors/transparent.md #### ArgbColor.KnownColors.Transparent field Fully transparent empty color. The same as default '`Empty`' color value. ```csharp public static readonly ArgbColor Transparent; ``` ### TryFind Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.knowncolors/tryfind.md #### ArgbColor.KnownColors.TryFind method Tries to find a color by its string name ```csharp public static bool TryFind(string keyword, out ArgbColor output) ``` | Parameter | Type | Description | | --- | --- | --- | | keyword | String | A color name | | output | ArgbColor& | The resultant color value on success or `Transparent` value on failure | ##### Return Value True if color was successfully found by its name, or false otherwise ### ArgbColor Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor.md #### ArgbColor structure Represents one color value in 32-bit ARGB format (8 bits per channel including transparency) with converters and serializers ```csharp public struct ArgbColor : ICssDataType, IEquatable ``` #### Properties | Name | Description | | --- | --- | | A { get; } | Gets the alpha part of the color. | | Alpha { get; } | Gets the alpha part of the color in percent (0..1). | | B { get; } | Gets the blue part of the color. | | G { get; } | Gets the green part of the color. | | IsDefault { get; } | Indicates whether this `ArgbColor` instance is default (Transparent) - all 4 channels are set to 0 | | IsEmpty { get; } | Uninitialized color - all 4 channels are set to 0. Same as Default and Transparent. | | IsFullyOpaque { get; } | Indicates whether this `ArgbColor` instance is fully opaque, without transparency (its Alpha channel has max value) | | IsFullyTransparent { get; } | Indicates whether this `ArgbColor` instance is fully transparent - its Alpha channel has the min (0) value, so other R, G, and B channels has no visible effect. | | IsTranslucent { get; } | Indicates whether this `ArgbColor` instance is translucent (not fully transparent, but also not fully opaque) | | R { get; } | Gets the red part of the color. | | Value { get; } | Gets the Int32 value of the color. | #### Methods | Name | Description | | --- | --- | | static FromRgb(byte, byte, byte) | Creates one `ArgbColor` value from specified Red, Green, Blue channels, while Alpha channel is fully opaque | | static FromRgba(byte, byte, byte, byte) | Creates one `ArgbColor` value from specified Red, Green, Blue, and Alpha channels | | static FromSingleValueRgb(byte) | Creates a fully opaque (A=255) color from single value, which will be applied to all channels | | Equals(ArgbColor) | Checks two `ArgbColor` colors for equality | | override Equals(object) | Tests if another object is equal to this `ArgbColor` instance. | | override GetHashCode() | Returns a hash code that defines the current color. | | SerializeDefault() | Serializes this `ArgbColor` instance to the most appropriate CSS function notation depending on translucency | | ToRGB() | Serializes this `ArgbColor` instance to the 'rgb' CSS function notation | | ToRGBA() | Serializes this `ArgbColor` instance to the 'rgba' CSS function notation | | override ToString() | Same as `SerializeDefault` | | operator == | Compares two colors and returns a boolean indicating if the two do match. | | operator != | Compares two colors and returns a boolean indicating if the two do not match. | #### Other Members | Name | Description | | --- | --- | | static class KnownColors | Contains all "known colors", that have fixed unique name and value in CSS standart | ##### Remarks This type is designed to be useful for (but not limited to) CSS operations. See more: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value ### A Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/a.md #### ArgbColor.A property Gets the alpha part of the color. ```csharp public byte A { get; } ``` ### Alpha Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/alpha.md #### ArgbColor.Alpha property Gets the alpha part of the color in percent (0..1). ```csharp public double Alpha { get; } ``` ### B Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/b.md #### ArgbColor.B property Gets the blue part of the color. ```csharp public byte B { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/equals.md #### Equals(ArgbColor) Checks two `ArgbColor` colors for equality ```csharp public bool Equals(ArgbColor other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ArgbColor | The other `ArgbColor` color | ##### Return Value True if both colors or equal, otherwise false. #### Equals(object) Tests if another object is equal to this `ArgbColor` instance. ```csharp public override bool Equals(object other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Object | The object to test with. | ##### Return Value True if the two objects are equal, otherwise false. ### FromRgb Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/fromrgb.md #### ArgbColor.FromRgb method Creates one `ArgbColor` value from specified Red, Green, Blue channels, while Alpha channel is fully opaque ```csharp public static ArgbColor FromRgb(byte red, byte green, byte blue) ``` | Parameter | Type | Description | | --- | --- | --- | | red | Byte | Red channel value | | green | Byte | Green channel value | | blue | Byte | Blue channel value | ##### Return Value New `ArgbColor` value ### FromRgba Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/fromrgba.md #### ArgbColor.FromRgba method Creates one `ArgbColor` value from specified Red, Green, Blue, and Alpha channels ```csharp public static ArgbColor FromRgba(byte red, byte green, byte blue, byte alpha) ``` | Parameter | Type | Description | | --- | --- | --- | | red | Byte | Red channel value | | green | Byte | Green channel value | | blue | Byte | Blue channel value | | alpha | Byte | Alpha channel value | ##### Return Value New `ArgbColor` value ### FromSingleValueRgb Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/fromsinglevaluergb.md #### ArgbColor.FromSingleValueRgb method Creates a fully opaque (A=255) color from single value, which will be applied to all channels ```csharp public static ArgbColor FromSingleValueRgb(byte value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Byte | A byte value, same for Red, Green, and Blue channels | ##### Return Value New `ArgbColor` instance ### G Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/g.md #### ArgbColor.G property Gets the green part of the color. ```csharp public byte G { get; } ``` ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/gethashcode.md #### ArgbColor.GetHashCode method Returns a hash code that defines the current color. ```csharp public override int GetHashCode() ``` ##### Return Value The integer value of the hashcode. ### IsDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/isdefault.md #### ArgbColor.IsDefault property Indicates whether this `ArgbColor` instance is default (Transparent) - all 4 channels are set to 0 ```csharp public bool IsDefault { get; } ``` ### IsEmpty Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/isempty.md #### ArgbColor.IsEmpty property Uninitialized color - all 4 channels are set to 0. Same as Default and Transparent. ```csharp public bool IsEmpty { get; } ``` ### IsFullyOpaque Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/isfullyopaque.md #### ArgbColor.IsFullyOpaque property Indicates whether this `ArgbColor` instance is fully opaque, without transparency (its Alpha channel has max value) ```csharp public bool IsFullyOpaque { get; } ``` ### IsFullyTransparent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/isfullytransparent.md #### ArgbColor.IsFullyTransparent property Indicates whether this `ArgbColor` instance is fully transparent - its Alpha channel has the min (0) value, so other R, G, and B channels has no visible effect. ```csharp public bool IsFullyTransparent { get; } ``` ### IsTranslucent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/istranslucent.md #### ArgbColor.IsTranslucent property Indicates whether this `ArgbColor` instance is translucent (not fully transparent, but also not fully opaque) ```csharp public bool IsTranslucent { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/op_equality.md #### ArgbColor Equality operator Compares two colors and returns a boolean indicating if the two do match. ```csharp public static bool operator ==(ArgbColor left, ArgbColor right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | ArgbColor | The first color to use. | | right | ArgbColor | The second color to use. | ##### Return Value True if both colors are equal, otherwise false. ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/op_inequality.md #### ArgbColor Inequality operator Compares two colors and returns a boolean indicating if the two do not match. ```csharp public static bool operator !=(ArgbColor left, ArgbColor right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | ArgbColor | The first color to use. | | right | ArgbColor | The second color to use. | ##### Return Value True if both colors are not equal, otherwise false. ### R Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/r.md #### ArgbColor.R property Gets the red part of the color. ```csharp public byte R { get; } ``` ### SerializeDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/serializedefault.md #### ArgbColor.SerializeDefault method Serializes this `ArgbColor` instance to the most appropriate CSS function notation depending on translucency ```csharp public string SerializeDefault() ``` ##### Return Value A string with 'rgba(r, g, b, a)' or 'rgb(r, g, b)' format ### ToRGB Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/torgb.md #### ArgbColor.ToRGB method Serializes this `ArgbColor` instance to the 'rgb' CSS function notation ```csharp public string ToRGB() ``` ##### Return Value A string with 'rgb(r, g, b)' format ### ToRGBA Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/torgba.md #### ArgbColor.ToRGBA method Serializes this `ArgbColor` instance to the 'rgba' CSS function notation ```csharp public string ToRGBA() ``` ##### Return Value A string with 'rgba(r, g, b, a)' format ### ToString Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/tostring.md #### ArgbColor.ToString method Same as `SerializeDefault` ```csharp public override string ToString() ``` ##### Return Value Same return value as in `SerializeDefault` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/argbcolor/value.md #### ArgbColor.Value property Gets the Int32 value of the color. ```csharp public int Value { get; } ``` ### ICssDataType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/icssdatatype.md #### ICssDataType interface Common interface for all CSS data types, which are used in the CSS properties ```csharp public interface ICssDataType : IEquatable ``` #### Properties | Name | Description | | --- | --- | | IsDefault { get; } | Should define whether the current value of the data type is the default value for this specific data type (true) or not (false) | #### Methods | Name | Description | | --- | --- | | SerializeDefault() | Should return a default string representation of the current value of the data type | ### IsDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/icssdatatype/isdefault.md #### ICssDataType.IsDefault property Should define whether the current value of the data type is the default value for this specific data type (true) or not (false) ```csharp public bool IsDefault { get; } ``` ### SerializeDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/icssdatatype/serializedefault.md #### ICssDataType.SerializeDefault method Should return a default string representation of the current value of the data type ```csharp public string SerializeDefault() ``` ##### Return Value A new string with value of this data type ### Length.Unit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length.unit.md #### Length.Unit enumeration All supported length units ```csharp public enum Unit ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unitless | `0` | Unitless - no defined length unit. Default value. | | Px | `1` | Pixel. Relative to the viewing device. For screen display, typically one device pixel (dot) of the display. | | Em | `2` | Em. This unit represents the calculated font-size of the element. | | Ex | `3` | Ex (x-length). This unit represents the x-height of the element's font. On fonts with the 'x' letter, this is generally the height of lowercase letters in the font; 1ex ≈ 0.5em in many fonts. | | Cm | `4` | Cm. One centimeter (10 millimeters). | | Mm | `5` | Mm. One millimeter. | | In | `6` | In. One inch (2.54 centimeters). | | Pt | `7` | Pt. One point is 1/72th of an inch or 0.353 mm. | | Pc | `8` | Pc. One pica (12 points). | | Ch | `9` | Ch. This unit represents the width, or more precisely the advance measure, of the glyph '0' (zero, the Unicode character U+0030) in the element's font. | | Rem | `10` | Rem. This unit represents the font-size of the root element (e.g. the font-size of the <html> element). When used on the font-size on this root element, it represents its initial value. | | Vw | `11` | Vw - viewport width. 1/100th of the width of the viewport. | | Vh | `12` | Vh - viewport height. 1/100th of the height of the viewport. | | Vmin | `13` | Vmin. 1/100th of the minimum value between the height and the width of the viewport. | | Vmax | `14` | Vmax. 1/100th of the maximum value between the height and the width of the viewport. | | Percent | `15` | The value is relative to a fixed (external) value, that is context dependent. 1% = 1/100 of the external value. | ##### Remarks https://developer.mozilla.org/en-US/docs/Web/CSS/length#Units ### Length Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length.md #### Length structure Represents a CSS length value in any supportable unit, including percentage and unitless type. Values may be integer or float, negative, zero and positive. Immutable structure. ```csharp public struct Length : ICloneable, ICssDataType, IEquatable ``` #### Properties | Name | Description | | --- | --- | | FloatValue { get; } | Returns a float numeric value of the Length instance. Never throws an exception - converts Integer value to Float if necessary. | | IntegerValue { get; } | Returns an integer numeric value of this Length instance, if it is internally stored as an integer, or throws an exception, if it was originally stored as a float number. | | IsAbsolute { get; } | Gets if the length is given in absolute units. Such a length may be converted to pixels. | | IsDefault { get; } | Indicates whether this Length instance has a default value — unitless zero. Same as IsUnitlessZero property. | | IsFloat { get; } | Indicates whether the numeric value of this Length instance was originally specified and stored as a float (FP32) number | | IsInteger { get; } | Indicates whether the numeric value of this Length instance was originally specified and stored as an integer (INT32) number | | IsNegative { get; } | Determines whether the numeric value of this length is a negative number | | IsPositive { get; } | Determines whether the numeric value of this length is a positive number | | IsRelative { get; } | Gets if the length is given in relative units. Such a length cannot be converted to pixels. | | IsUnitlessNonZero { get; } | The value has unitless type, but is not a zero - positive or negative number | | IsUnitlessZero { get; } | Determines whether this instance is a unitless zero or not. Unitless zero is default value of this type. Same as IsDefault property. | | IsZero { get; } | Determines whether the numeric value of this length is a zero number | | UnitType { get; } | Returns a unit type of this Length instance. | #### Methods | Name | Description | | --- | --- | | static FromValueWithUnit(double, Unit) | Creates and returns an instance of Length type by specified double number and unit | | static FromValueWithUnit(float, Unit) | Creates and returns an instance of Length type by specified float number and unit | | static FromValueWithUnit(int, Unit) | Creates and returns an instance of Length type by specified integer number and unit | | static Parse(string) | Parses and returns specified string as a Length value, including its numeric value and unit name, or throws an exception on failure | | Clone() | Returns a full copy of this Length instance | | Equals(Length) | Defines whether this value is equal to the other specified length | | override Equals(object) | Determines whether this length is equal to specified object | | override GetHashCode() | Calculates and returns a hash-code of this Length instance by combining hash-codes of the value and unit type | | SerializeDefault() | Returns a string representation of this length in its original native form (as it is stored), without converting length value to some other unit type | | To(Unit) | Converts the length to the given unit, if possible. If the current or given unit is relative, then an exception will be thrown. | | ToPixel() | Converts the length to a number of pixels, if possible. If the current unit is relative, then an exception will be thrown. | | ToStringSpecified(Unit) | Returns a string representation of this length in specified unit type. Numeric value will be converted in corresponding to unit type change. | | static GetUnitFromName(string) | Tries to parse specified unit name and return corresponding value of a Unit enum. Returns Unit.Unitless if cannot find appropriate unit. | | static TryParse(string, out Length) | Tries to parse a specified string as a Length value, including its numeric value and unit name | | operator == | Checks the equality of the two given lengths. | | operator != | Checks the inequality of the two given lengths. | | operator * | Multiplicates the given Length onto the given factor | #### Fields | Name | Description | | --- | --- | | static readonly FiftyPercents | 50% | | static readonly OneHundredPercents | 100% | | static readonly UnitlessZero | Unitless integer zero - default value, the same as default parameterless constructor | | static readonly ZeroPercents | 0% | #### Other Members | Name | Description | | --- | --- | | enum Unit | All supported length units | ##### Remarks This type covers the next CSS data types: https://developer.mozilla.org/en-US/docs/Web/CSS/length https://developer.mozilla.org/en-US/docs/Web/CSS/percentage ### Clone Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/clone.md #### Length.Clone method Returns a full copy of this Length instance ```csharp public Length Clone() ``` ##### Return Value New separate instance of this Length, that is absolutely identical to this one ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/equals.md #### Equals(Length) Defines whether this value is equal to the other specified length ```csharp public bool Equals(Length other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Length | Other instance of Length type | ##### Return Value True if equal, otherwise false #### Equals(object) Determines whether this length is equal to specified object ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other instance of Length type, that is boxed to the System.Object or any other abstract type or interface | ##### Return Value True if equal, otherwise false ### FiftyPercents Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/fiftypercents.md #### Length.FiftyPercents field 50% ```csharp public static readonly Length FiftyPercents; ``` ### FloatValue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/floatvalue.md #### Length.FloatValue property Returns a float numeric value of the Length instance. Never throws an exception - converts Integer value to Float if necessary. ```csharp public float FloatValue { get; } ``` ### FromValueWithUnit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/fromvaluewithunit.md #### FromValueWithUnit(float, Unit) Creates and returns an instance of Length type by specified float number and unit ```csharp public static Length FromValueWithUnit(float value, Unit unit) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Single | >Any float (FP32) number | | unit | Unit | Any valid unit type | ##### Return Value New instance of Length type #### FromValueWithUnit(double, Unit) Creates and returns an instance of Length type by specified double number and unit ```csharp public static Length FromValueWithUnit(double value, Unit unit) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Double | Any double (FP64) number, that will be converted to float (FP32) | | unit | Unit | Any valid unit type | ##### Return Value New instance of Length type #### FromValueWithUnit(int, Unit) Creates and returns an instance of Length type by specified integer number and unit ```csharp public static Length FromValueWithUnit(int value, Unit unit) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Int32 | Any integer number | | unit | Unit | Any valid unit type | ##### Return Value New instance of Length type ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/gethashcode.md #### Length.GetHashCode method Calculates and returns a hash-code of this Length instance by combining hash-codes of the value and unit type ```csharp public override int GetHashCode() ``` ##### Return Value Integer number ### GetUnitFromName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/getunitfromname.md #### Length.GetUnitFromName method Tries to parse specified unit name and return corresponding value of a Unit enum. Returns Unit.Unitless if cannot find appropriate unit. ```csharp public static Unit GetUnitFromName(string unitName) ``` | Parameter | Type | Description | | --- | --- | --- | | unitName | String | String, that represents a unit name | ##### Return Value Value of Unit enum in any case, Unit.Unitless when cannot find appropriate unit ### IntegerValue Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/integervalue.md #### Length.IntegerValue property Returns an integer numeric value of this Length instance, if it is internally stored as an integer, or throws an exception, if it was originally stored as a float number. ```csharp public int IntegerValue { get; } ``` ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | | ### IsAbsolute Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isabsolute.md #### Length.IsAbsolute property Gets if the length is given in absolute units. Such a length may be converted to pixels. ```csharp public bool IsAbsolute { get; } ``` ### IsDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isdefault.md #### Length.IsDefault property Indicates whether this Length instance has a default value — unitless zero. Same as IsUnitlessZero property. ```csharp public bool IsDefault { get; } ``` ### IsFloat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isfloat.md #### Length.IsFloat property Indicates whether the numeric value of this Length instance was originally specified and stored as a float (FP32) number ```csharp public bool IsFloat { get; } ``` ### IsInteger Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isinteger.md #### Length.IsInteger property Indicates whether the numeric value of this Length instance was originally specified and stored as an integer (INT32) number ```csharp public bool IsInteger { get; } ``` ### IsNegative Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isnegative.md #### Length.IsNegative property Determines whether the numeric value of this length is a negative number ```csharp public bool IsNegative { get; } ``` ### IsPositive Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/ispositive.md #### Length.IsPositive property Determines whether the numeric value of this length is a positive number ```csharp public bool IsPositive { get; } ``` ### IsRelative Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isrelative.md #### Length.IsRelative property Gets if the length is given in relative units. Such a length cannot be converted to pixels. ```csharp public bool IsRelative { get; } ``` ### IsUnitlessNonZero Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isunitlessnonzero.md #### Length.IsUnitlessNonZero property The value has unitless type, but is not a zero - positive or negative number ```csharp public bool IsUnitlessNonZero { get; } ``` ### IsUnitlessZero Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/isunitlesszero.md #### Length.IsUnitlessZero property Determines whether this instance is a unitless zero or not. Unitless zero is default value of this type. Same as IsDefault property. ```csharp public bool IsUnitlessZero { get; } ``` ### IsZero Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/iszero.md #### Length.IsZero property Determines whether the numeric value of this length is a zero number ```csharp public bool IsZero { get; } ``` ### OneHundredPercents Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/onehundredpercents.md #### Length.OneHundredPercents field 100% ```csharp public static readonly Length OneHundredPercents; ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/op_equality.md #### Length Equality operator Checks the equality of the two given lengths. ```csharp public static bool operator ==(Length left, Length right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Length | The left length operand. | | right | Length | The right length operand. | ##### Return Value True if both lengths are equal, otherwise false. ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/op_inequality.md #### Length Inequality operator Checks the inequality of the two given lengths. ```csharp public static bool operator !=(Length left, Length right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Length | The left length operand. | | right | Length | The right length operand. | ##### Return Value True if both lengths are not equal, otherwise false. ### op_Multiply Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/op_multiply.md #### Length Multiply operator Multiplicates the given Length onto the given factor ```csharp public static Length operator *(Length multiplicand, int factor) ``` | Parameter | Type | Description | | --- | --- | --- | | multiplicand | Length | Length - multiplicand | | factor | Int32 | Arbitrary integer - factor | ##### Return Value A new Length - a product of multiplication ### Parse Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/parse.md #### Length.Parse method Parses and returns specified string as a Length value, including its numeric value and unit name, or throws an exception on failure ```csharp public static Length Parse(string input) ``` | Parameter | Type | Description | | --- | --- | --- | | input | String | Input string, that should be parsed | ##### Return Value Valid parsed Length instance ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | ### SerializeDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/serializedefault.md #### Length.SerializeDefault method Returns a string representation of this length in its original native form (as it is stored), without converting length value to some other unit type ```csharp public string SerializeDefault() ``` ##### Return Value String instance ### To Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/to.md #### Length.To method Converts the length to the given unit, if possible. If the current or given unit is relative, then an exception will be thrown. ```csharp public float To(Unit unit) ``` | Parameter | Type | Description | | --- | --- | --- | | unit | Unit | The unit to convert to. | ##### Return Value The value in the given unit of the current length. ### ToPixel Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/topixel.md #### Length.ToPixel method Converts the length to a number of pixels, if possible. If the current unit is relative, then an exception will be thrown. ```csharp public float ToPixel() ``` ##### Return Value The number of pixels represented by the current length. ### ToStringSpecified Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/tostringspecified.md #### Length.ToStringSpecified method Returns a string representation of this length in specified unit type. Numeric value will be converted in corresponding to unit type change. ```csharp public string ToStringSpecified(Unit unit) ``` | Parameter | Type | Description | | --- | --- | --- | | unit | Unit | Specified unit, to which this instance should be converted before serializing to the string. Should be valid. Cannot be unitless. | ##### Return Value String representation ##### Exceptions | exception | condition | | --- | --- | | InvalidEnumArgumentException | Value is not defined | | ArgumentOutOfRangeException | Unitless value is prohibited | ### TryParse Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/tryparse.md #### Length.TryParse method Tries to parse a specified string as a Length value, including its numeric value and unit name ```csharp public static bool TryParse(string input, out Length result) ``` | Parameter | Type | Description | | --- | --- | --- | | input | String | Input string, that should be parsed | | result | Length& | Output parameter, that contains a result of parsing. If parsing is unsuccessful, contains a default Length value — a unitless zero. | ##### Return Value True if parsing is successful, false if unsuccessful ### UnitlessZero Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/unitlesszero.md #### Length.UnitlessZero field Unitless integer zero - default value, the same as default parameterless constructor ```csharp public static readonly Length UnitlessZero; ``` ### UnitType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/unittype.md #### Length.UnitType property Returns a unit type of this Length instance. ```csharp public Unit UnitType { get; } ``` ### ZeroPercents Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/length/zeropercents.md #### Length.ZeroPercents field 0% ```csharp public static readonly Length ZeroPercents; ``` ### Ratio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio.md #### Ratio structure Represents a "ratio" CSS data type, which is used for describing aspect ratios in media queries and for raster images by denoting the proportion between two unitless values called "numerator" and "denominator". Immutable struct. ```csharp public struct Ratio : ICloneable, ICssDataType, IEquatable ``` #### Properties | Name | Description | | --- | --- | | Denominator { get; } | Returns a denominator of this ratio | | IsDefault { get; } | Determines whether this ratio has default value or is a "1/1" (Single) | | Numerator { get; } | Returns a numerator of this ratio | #### Methods | Name | Description | | --- | --- | | static Create(ushort, ushort) | Creates and returns one Ratio instance from specified numerator and denominator | | Calculate() | Calculates and returns this ratio as a single floating point number | | Clone() | Returns a full copy of this ratio | | override Equals(object) | Determines whether this instance is equal with specified uncasted object, which presumably is another "Ratio" instance | | Equals(Ratio) | Determines whether this instance is equal with specified "Ratio" instance | | override GetHashCode() | Returns a hashcode for this instance, which cannot be changed during its lifetime | | GetInverseRatio() | Generates and returns an inverse (reciprocal) ratio for this ratio | | SerializeDefault() | Serializes this ratio to the string and returns it | | override ToString() | Returns a string representation of this ratio; same as "SerializeDefault()" | | operator == | Compares two ratios and returns a boolean indicating if the two do match. | | operator != | Compares two ratios and returns a boolean indicating if the two do not match. | #### Fields | Name | Description | | --- | --- | | static readonly Single | Single default ratio 1/1 | ##### Remarks https://developer.mozilla.org/en-US/docs/Web/CSS/ratio ### Calculate Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/calculate.md #### Ratio.Calculate method Calculates and returns this ratio as a single floating point number ```csharp public double Calculate() ``` ##### Return Value Floating-point number with double precision ### Clone Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/clone.md #### Ratio.Clone method Returns a full copy of this ratio ```csharp public Ratio Clone() ``` ##### Return Value New Ratio instance, that is a full and deep copy of this one ### Create Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/create.md #### Ratio.Create method Creates and returns one Ratio instance from specified numerator and denominator ```csharp public static Ratio Create(ushort numerator, ushort denominator) ``` | Parameter | Type | Description | | --- | --- | --- | | numerator | UInt16 | Numerator for the ratio. Should be a strictly positive integer number. | | denominator | UInt16 | Denominator for the ratio. Should be a strictly positive integer number. | ##### Return Value New Ratio instance ### Denominator Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/denominator.md #### Ratio.Denominator property Returns a denominator of this ratio ```csharp public ushort Denominator { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/equals.md #### Equals(Ratio) Determines whether this instance is equal with specified "Ratio" instance ```csharp public bool Equals(Ratio other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Ratio | Other Ratio instance to check on equality with this | ##### Return Value True if are equal, false if are unequal #### Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another "Ratio" instance ```csharp public override bool Equals(object other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Object | Other System.Object instance, that is presumably of Ratio type, to check on equality with this | ##### Return Value True if are equal, false if are unequal ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/gethashcode.md #### Ratio.GetHashCode method Returns a hashcode for this instance, which cannot be changed during its lifetime ```csharp public override int GetHashCode() ``` ##### Return Value Signed 4-byte integer, that is immutable for this instance ### GetInverseRatio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/getinverseratio.md #### Ratio.GetInverseRatio method Generates and returns an inverse (reciprocal) ratio for this ratio ```csharp public Ratio GetInverseRatio() ``` ##### Return Value New Ratio instance, that is an inverse ratio for this one ### IsDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/isdefault.md #### Ratio.IsDefault property Determines whether this ratio has default value or is a "1/1" (Single) ```csharp public bool IsDefault { get; } ``` ### Numerator Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/numerator.md #### Ratio.Numerator property Returns a numerator of this ratio ```csharp public ushort Numerator { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/op_equality.md #### Ratio Equality operator Compares two ratios and returns a boolean indicating if the two do match. ```csharp public static bool operator ==(Ratio left, Ratio right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Ratio | The first ratio to use. | | right | Ratio | The second ratio to use. | ##### Return Value True if both ratios are equal, otherwise false. ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/op_inequality.md #### Ratio Inequality operator Compares two ratios and returns a boolean indicating if the two do not match. ```csharp public static bool operator !=(Ratio left, Ratio right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Ratio | The first ratio to use. | | right | Ratio | The second ratio to use. | ##### Return Value True if both ratios are not equal, otherwise false. ### SerializeDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/serializedefault.md #### Ratio.SerializeDefault method Serializes this ratio to the string and returns it ```csharp public string SerializeDefault() ``` ##### Return Value String in "numerator/denominator" format ### Single Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/single.md #### Ratio.Single field Single default ratio 1/1 ```csharp public static readonly Ratio Single; ``` ### ToString Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.datatypes/ratio/tostring.md #### Ratio.ToString method Returns a string representation of this ratio; same as "SerializeDefault()" ```csharp public override string ToString() ``` ##### Return Value String in "numerator/denominator" format ### GroupDocs.Editor.HtmlCss.Css.Properties Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties.md The GroupDocs.Editor.HtmlCss.Css.Properties namespace provides types that represent different CSS properties (components of CSS declarations). #### Structures | Structure | Description | | --- | --- | | FontSize | Represents a font size as a special unit or a length value, which specifies the size of the font (historically the width of the capital "M"). | | FontStyle | Defines how the font should be styled with: a normal, italic, or oblique face from its font-family. | | FontWeight | Font-weight property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set. | | TextDecorationLineType | Represents types of the text decoration line: underline (underscore), overline, and line-through (strikethrough) | ### FontSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize.md #### FontSize structure Represents a font size as a special unit or a length value, which specifies the size of the font (historically the width of the capital "M"). ```csharp public struct FontSize : IEquatable ``` #### Properties | Name | Description | | --- | --- | | IsAbsoluteSize { get; } | Indicates whether this font-size is defined with an absolute size as a keyword, based on the user's default font size (which is medium) | | IsInitial { get; } | Indicates whether this font-size has an initial value (Medium) | | IsLengthDefined { get; } | Indicates whether this font-size is defined with a `Length` value | | IsRelativeSize { get; } | Indicates whether this font-size is defined with an relative size as a keyword. The font will be larger or smaller relative to the parent element's font size, roughly by the ratio used to separate the absolute-size keywords. | | Length { get; } | A length value, if this font-size was defined with it, or throwed exception otherwise | | Value { get; } | Returns a value of this font size as a string | #### Methods | Name | Description | | --- | --- | | static FromLength(Length) | Creates a font-size from specified length | | Equals(FontSize) | Determines whether this font-size instance is equal to specified | | override Equals(object) | Determines whether this font-size instance is equal to specified uncasted | | override GetHashCode() | Returns a hash-code for this instance | | static TryParse(string, out FontSize) | Tries to recognize a specified keyword as a proper keyword value of the 'font-size' and return it on success or NULL on failure. | | operator == | Checks whether two "FontSize" values are equal | | operator != | Checks whether two "FontSize" values are not equal | #### Fields | Name | Description | | --- | --- | | static readonly Large | The normally large absolute-size | | static readonly Larger | Larger relative-size - font will be larger relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. | | static readonly Medium | Medium size. Initial value. | | static readonly Small | The normally small absolute-size | | static readonly Smaller | Smaller relative-size - font will be smaller relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. | | static readonly XLarge | The mediocre large absolute-size | | static readonly XSmall | The mediocre small absolute-size | | static readonly XxLarge | The very large absolute-size | | static readonly XxSmall | The very small absolute-size | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/equals.md #### Equals(FontSize) Determines whether this font-size instance is equal to specified ```csharp public bool Equals(FontSize other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FontSize | Other font-size instance | ##### Return Value true if are equal, false otherwise #### Equals(object) Determines whether this font-size instance is equal to specified uncasted ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other uncasted font-size instance, may be null | ##### Return Value true if are equal, false if not equal, null or of other type ### FromLength Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/fromlength.md #### FontSize.FromLength method Creates a font-size from specified length ```csharp public static FontSize FromLength(Length length) ``` | Parameter | Type | Description | | --- | --- | --- | | length | Length | A length value, cannot be unitless or negative | ##### Return Value New FontSize instance ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Font size value is unit-less or negative | ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/gethashcode.md #### FontSize.GetHashCode method Returns a hash-code for this instance ```csharp public override int GetHashCode() ``` ##### Return Value Hash-code as an signed integer ### IsAbsoluteSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/isabsolutesize.md #### FontSize.IsAbsoluteSize property Indicates whether this font-size is defined with an absolute size as a keyword, based on the user's default font size (which is medium) ```csharp public bool IsAbsoluteSize { get; } ``` ### IsInitial Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/isinitial.md #### FontSize.IsInitial property Indicates whether this font-size has an initial value (Medium) ```csharp public bool IsInitial { get; } ``` ### IsLengthDefined Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/islengthdefined.md #### FontSize.IsLengthDefined property Indicates whether this font-size is defined with a `Length` value ```csharp public bool IsLengthDefined { get; } ``` ### IsRelativeSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/isrelativesize.md #### FontSize.IsRelativeSize property Indicates whether this font-size is defined with an relative size as a keyword. The font will be larger or smaller relative to the parent element's font size, roughly by the ratio used to separate the absolute-size keywords. ```csharp public bool IsRelativeSize { get; } ``` ### Large Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/large.md #### FontSize.Large field The normally large absolute-size ```csharp public static readonly FontSize Large; ``` ### Larger Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/larger.md #### FontSize.Larger field Larger relative-size - font will be larger relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. ```csharp public static readonly FontSize Larger; ``` ### Length Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/length.md #### FontSize.Length property A length value, if this font-size was defined with it, or throwed exception otherwise ```csharp public Length Length { get; } ``` ### Medium Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/medium.md #### FontSize.Medium field Medium size. Initial value. ```csharp public static readonly FontSize Medium; ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/op_equality.md #### FontSize Equality operator Checks whether two "FontSize" values are equal ```csharp public static bool operator ==(FontSize first, FontSize second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontSize | First value to check | | second | FontSize | Second value to check | ##### Return Value true if are equal, false otherwise ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/op_inequality.md #### FontSize Inequality operator Checks whether two "FontSize" values are not equal ```csharp public static bool operator !=(FontSize first, FontSize second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontSize | First value to check | | second | FontSize | Second value to check | ##### Return Value false if are equal, true otherwise ### Small Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/small.md #### FontSize.Small field The normally small absolute-size ```csharp public static readonly FontSize Small; ``` ### Smaller Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/smaller.md #### FontSize.Smaller field Smaller relative-size - font will be smaller relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. ```csharp public static readonly FontSize Smaller; ``` ### TryParse Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/tryparse.md #### FontSize.TryParse method Tries to recognize a specified keyword as a proper keyword value of the 'font-size' and return it on success or NULL on failure. ```csharp public static bool TryParse(string keyword, out FontSize result) ``` | Parameter | Type | Description | | --- | --- | --- | | keyword | String | A keyword to parse | | result | FontSize& | Result, of parsing was successful, or `Medium` otherwise | ##### Return Value true if parsing was successful, false otherwise ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/value.md #### FontSize.Value property Returns a value of this font size as a string ```csharp public string Value { get; } ``` ### XLarge Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/xlarge.md #### FontSize.XLarge field The mediocre large absolute-size ```csharp public static readonly FontSize XLarge; ``` ### XSmall Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/xsmall.md #### FontSize.XSmall field The mediocre small absolute-size ```csharp public static readonly FontSize XSmall; ``` ### XxLarge Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/xxlarge.md #### FontSize.XxLarge field The very large absolute-size ```csharp public static readonly FontSize XxLarge; ``` ### XxSmall Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontsize/xxsmall.md #### FontSize.XxSmall field The very small absolute-size ```csharp public static readonly FontSize XxSmall; ``` ### FontStyle Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle.md #### FontStyle structure Defines how the font should be styled with: a normal, italic, or oblique face from its font-family. ```csharp public struct FontStyle ``` #### Properties | Name | Description | | --- | --- | | IsInitial { get; } | Indicates whether this font-style has an initial value (Normal) | | Value { get; } | Returns a value of this font style as a string | #### Methods | Name | Description | | --- | --- | | Equals(FontStyle) | Determines whether this font-style instance is equal to specified | | override Equals(object) | Determines whether this font-style instance is equal to specified uncasted | | override GetHashCode() | Returns a hash-code for this instance | | static TryParse(string, out FontStyle) | Tries to recognize a specified keyword as a proper keyword value of the 'font-style' and return it on success or NULL on failure. | | operator == | Checks whether two "FontStyle" values are equal | | operator != | Checks whether two "FontStyle" values are not equal | #### Fields | Name | Description | | --- | --- | | static readonly Italic | Selects a font that is classified as italic. If no italic version of the face is available, one classified as oblique is used instead. If neither is available, the style is artificially simulated. | | static readonly Normal | Selects a font that is classified as normal within a font-family. Initial value. | | static readonly Oblique | Selects a font that is classified as oblique. If no oblique version of the face is available, one classified as italic is used instead. If neither is available, the style is artificially simulated. | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/equals.md #### Equals(FontStyle) Determines whether this font-style instance is equal to specified ```csharp public bool Equals(FontStyle other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FontStyle | Other font-style instance | ##### Return Value true if are equal, false otherwise #### Equals(object) Determines whether this font-style instance is equal to specified uncasted ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other uncasted font-style instance, may be null | ##### Return Value true if are equal, false if not equal, null or of other type ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/gethashcode.md #### FontStyle.GetHashCode method Returns a hash-code for this instance ```csharp public override int GetHashCode() ``` ##### Return Value Hash-code as an signed integer ### IsInitial Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/isinitial.md #### FontStyle.IsInitial property Indicates whether this font-style has an initial value (Normal) ```csharp public bool IsInitial { get; } ``` ### Italic Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/italic.md #### FontStyle.Italic field Selects a font that is classified as italic. If no italic version of the face is available, one classified as oblique is used instead. If neither is available, the style is artificially simulated. ```csharp public static readonly FontStyle Italic; ``` ### Normal Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/normal.md #### FontStyle.Normal field Selects a font that is classified as normal within a font-family. Initial value. ```csharp public static readonly FontStyle Normal; ``` ### Oblique Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/oblique.md #### FontStyle.Oblique field Selects a font that is classified as oblique. If no oblique version of the face is available, one classified as italic is used instead. If neither is available, the style is artificially simulated. ```csharp public static readonly FontStyle Oblique; ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/op_equality.md #### FontStyle Equality operator Checks whether two "FontStyle" values are equal ```csharp public static bool operator ==(FontStyle first, FontStyle second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontStyle | First value to check | | second | FontStyle | Second value to check | ##### Return Value true if are equal, false otherwise ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/op_inequality.md #### FontStyle Inequality operator Checks whether two "FontStyle" values are not equal ```csharp public static bool operator !=(FontStyle first, FontStyle second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontStyle | First value to check | | second | FontStyle | Second value to check | ##### Return Value false if are equal, true otherwise ### TryParse Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/tryparse.md #### FontStyle.TryParse method Tries to recognize a specified keyword as a proper keyword value of the 'font-style' and return it on success or NULL on failure. ```csharp public static bool TryParse(string keyword, out FontStyle result) ``` | Parameter | Type | Description | | --- | --- | --- | | keyword | String | A keyword to parse | | result | FontStyle& | Result, of parsing was successful, or `Normal` otherwise | ##### Return Value true if parsing was successful, false otherwise ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontstyle/value.md #### FontStyle.Value property Returns a value of this font style as a string ```csharp public string Value { get; } ``` ### FontWeight Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight.md #### FontWeight structure Font-weight property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set. ```csharp public struct FontWeight : IEquatable ``` #### Properties | Name | Description | | --- | --- | | IsAbsolute { get; } | Indicates whether this font-weight instance stores an absolute value of the weight (boldness) of the font, as an integer number | | IsInitial { get; } | Indicates whether this font-size has an initial value (Medium) | | IsRelative { get; } | Indicates whether this font-weight instance stores a relative value of the weight (boldness) of the font - compared to the boldness of the parent element | | Number { get; } | Returns a number - integer value between 1 and 1000, inclusive, which describes the boldness of the font, or throws an exception, if current boldness is not absolute, but relative | | Value { get; } | Returns a value of this font-weight as a string | #### Methods | Name | Description | | --- | --- | | static FromNumber(ushort) | Creates a font-weight from specified number | | Equals(FontWeight) | Determines whether specified FontWeight instances are equal | | override Equals(object) | Determines whether this FontWeight instance is equal to specified uncasted | | override GetHashCode() | Returns a hash-code for this instance | | static TryParse(string, out FontWeight) | Tries to parse a specified string and return a valid FontWeight instance on success | | operator == | Checks whether two "FontWeight" values are equal | | operator != | Checks whether two "FontWeight" values are not equal | #### Fields | Name | Description | | --- | --- | | static readonly Bold | Bold font weight. Same as 700. | | static readonly Bolder | One relative font weight heavier than the parent element | | static readonly Lighter | One relative font weight lighter than the parent element | | static readonly Normal | Normal font weight. Same as 400. | ### Bold Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/bold.md #### FontWeight.Bold field Bold font weight. Same as 700. ```csharp public static readonly FontWeight Bold; ``` ### Bolder Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/bolder.md #### FontWeight.Bolder field One relative font weight heavier than the parent element ```csharp public static readonly FontWeight Bolder; ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/equals.md #### Equals(FontWeight) Determines whether specified FontWeight instances are equal ```csharp public bool Equals(FontWeight other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FontWeight | Other FontWeight instance to check the equality | ##### Return Value true if are equal, false if are unequal #### Equals(object) Determines whether this FontWeight instance is equal to specified uncasted ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other uncasted FontWeight instance, may be null | ##### Return Value true if are equal, false if not equal, null or of other type ### FromNumber Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/fromnumber.md #### FontWeight.FromNumber method Creates a font-weight from specified number ```csharp public static FontWeight FromNumber(ushort number) ``` | Parameter | Type | Description | | --- | --- | --- | | number | UInt16 | Unsigned integer, must be within [1..1000] range | ##### Return Value New FontWeight instance or exception ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Specified number is out from [1..1000] range | ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/gethashcode.md #### FontWeight.GetHashCode method Returns a hash-code for this instance ```csharp public override int GetHashCode() ``` ##### Return Value Hash-code as an signed integer ### IsAbsolute Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/isabsolute.md #### FontWeight.IsAbsolute property Indicates whether this font-weight instance stores an absolute value of the weight (boldness) of the font, as an integer number ```csharp public bool IsAbsolute { get; } ``` ### IsInitial Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/isinitial.md #### FontWeight.IsInitial property Indicates whether this font-size has an initial value (Medium) ```csharp public bool IsInitial { get; } ``` ### IsRelative Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/isrelative.md #### FontWeight.IsRelative property Indicates whether this font-weight instance stores a relative value of the weight (boldness) of the font - compared to the boldness of the parent element ```csharp public bool IsRelative { get; } ``` ### Lighter Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/lighter.md #### FontWeight.Lighter field One relative font weight lighter than the parent element ```csharp public static readonly FontWeight Lighter; ``` ### Normal Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/normal.md #### FontWeight.Normal field Normal font weight. Same as 400. ```csharp public static readonly FontWeight Normal; ``` ### Number Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/number.md #### FontWeight.Number property Returns a number - integer value between 1 and 1000, inclusive, which describes the boldness of the font, or throws an exception, if current boldness is not absolute, but relative ```csharp public ushort Number { get; } ``` ##### Exceptions | exception | condition | | --- | --- | | InvalidOperationException | Thrown if current font-weight holds a relative value of the font boldness | ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/op_equality.md #### FontWeight Equality operator Checks whether two "FontWeight" values are equal ```csharp public static bool operator ==(FontWeight first, FontWeight second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontWeight | First value to check | | second | FontWeight | Second value to check | ##### Return Value true if are equal, false otherwise ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/op_inequality.md #### FontWeight Inequality operator Checks whether two "FontWeight" values are not equal ```csharp public static bool operator !=(FontWeight first, FontWeight second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontWeight | First value to check | | second | FontWeight | Second value to check | ##### Return Value false if are equal, true otherwise ### TryParse Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/tryparse.md #### FontWeight.TryParse method Tries to parse a specified string and return a valid FontWeight instance on success ```csharp public static bool TryParse(string input, out FontWeight result) ``` | Parameter | Type | Description | | --- | --- | --- | | input | String | Input string to parse | | result | FontWeight& | Valid FontWeight value on success or `Normal` on failure | ##### Return Value Success (true) or failure (false) of the parsing ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/fontweight/value.md #### FontWeight.Value property Returns a value of this font-weight as a string ```csharp public string Value { get; } ``` ### TextDecorationLineType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype.md #### TextDecorationLineType structure Represents types of the text decoration line: underline (underscore), overline, and line-through (strikethrough) ```csharp public struct TextDecorationLineType : IEquatable ``` #### Properties | Name | Description | | --- | --- | | IsInitial { get; } | Indicates whether this instance has an initial value — None | | IsLineThrough { get; } | Indicates whether line-through (strikethrough) is enabled | | IsOverline { get; } | Indicates whether overline is enabled | | IsUnderline { get; } | Indicates whether underline (underscore) is enabled | | Value { get; } | Returns a value of all flags in this instance as text | #### Methods | Name | Description | | --- | --- | | static FromFlags(bool, bool, bool) | Creates and returns a `TextDecorationLineType` instance with flags, defined by the specified parameters | | override Equals(object) | Indicates whether this `TextDecorationLineType` instance is equal to specified uncasted | | Equals(TextDecorationLineType) | Indicates whether this `TextDecorationLineType` instance is equal to specified | | override GetHashCode() | Returns a hash-code of this instance | | override ToString() | Returns a value of all flags in this instance as text | | static TryParse(string, out TextDecorationLineType) | Tries to parse a specified string and return a valid `TextDecorationLineType` instance | | operator + | Combines (merges) two specified line types and produces new resultant line type, where flags are merged (union) | | operator / | Returns an intersection between first and second line types, where only those flags are enabled, which are enabled simultaneously in both operands. Has the highest priority between all operators (higher than union and difference) | | operator == | Checks whether two "TextDecorationLineType" values are equal | | explicit operator | Casts specific Byte (8-bit octet) to the corresponding `TextDecorationLineType`, throws exception if casting is invalid (2 operators) | | operator != | Checks whether two "TextDecorationLineType" values are not equal | | operator - | Subtracts second specified line type from the first specified line type and produces new resultant line type, where are present only those flags from the first operand, which are not found in the second operand (difference) | #### Fields | Name | Description | | --- | --- | | static readonly LineThrough | Each line of text has a line through the middle. | | static readonly None | Produces no text decoration. Initial value. | | static readonly Overline | Each line of text has a line above it. | | static readonly Underline | Each line of text is underlined. | ##### Remarks Immutable struct. Similar to the https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-line ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/equals.md #### Equals(TextDecorationLineType) Indicates whether this `TextDecorationLineType` instance is equal to specified ```csharp public bool Equals(TextDecorationLineType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | TextDecorationLineType | Other `TextDecorationLineType` instance | ##### Return Value `true` if are equal, `false` otherwise #### Equals(object) Indicates whether this `TextDecorationLineType` instance is equal to specified uncasted ```csharp public override bool Equals(object other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Object | Other `TextDecorationLineType` instance, casted to object | ##### Return Value `true` if are equal, `false` otherwise ### FromFlags Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/fromflags.md #### TextDecorationLineType.FromFlags method Creates and returns a `TextDecorationLineType` instance with flags, defined by the specified parameters ```csharp public static TextDecorationLineType FromFlags(bool isUnderline, bool isOverline, bool isLineThrough) ``` | Parameter | Type | Description | | --- | --- | --- | | isUnderline | Boolean | Determines whether an underline flag is enabled or not | | isOverline | Boolean | Determines whether an overline flag is enabled or not | | isLineThrough | Boolean | Determines whether an line-through flag is enabled or not | ##### Return Value New `TextDecorationLineType` instance ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/gethashcode.md #### TextDecorationLineType.GetHashCode method Returns a hash-code of this instance ```csharp public override int GetHashCode() ``` ##### Return Value Signed integer hash-code ### IsInitial Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/isinitial.md #### TextDecorationLineType.IsInitial property Indicates whether this instance has an initial value — None ```csharp public bool IsInitial { get; } ``` ### IsLineThrough Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/islinethrough.md #### TextDecorationLineType.IsLineThrough property Indicates whether line-through (strikethrough) is enabled ```csharp public bool IsLineThrough { get; } ``` ### IsOverline Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/isoverline.md #### TextDecorationLineType.IsOverline property Indicates whether overline is enabled ```csharp public bool IsOverline { get; } ``` ### IsUnderline Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/isunderline.md #### TextDecorationLineType.IsUnderline property Indicates whether underline (underscore) is enabled ```csharp public bool IsUnderline { get; } ``` ### LineThrough Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/linethrough.md #### TextDecorationLineType.LineThrough field Each line of text has a line through the middle. ```csharp public static readonly TextDecorationLineType LineThrough; ``` ### None Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/none.md #### TextDecorationLineType.None field Produces no text decoration. Initial value. ```csharp public static readonly TextDecorationLineType None; ``` ### op_Addition Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/op_addition.md #### TextDecorationLineType Addition operator Combines (merges) two specified line types and produces new resultant line type, where flags are merged (union) ```csharp public static TextDecorationLineType operator +(TextDecorationLineType first, TextDecorationLineType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | ##### Return Value Result of the union between specified operands ### op_Division Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/op_division.md #### TextDecorationLineType Division operator Returns an intersection between first and second line types, where only those flags are enabled, which are enabled simultaneously in both operands. Has the highest priority between all operators (higher than union and difference) ```csharp public static TextDecorationLineType operator /(TextDecorationLineType first, TextDecorationLineType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | ##### Return Value Result of the intersection between specified operands ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/op_equality.md #### TextDecorationLineType Equality operator Checks whether two "TextDecorationLineType" values are equal ```csharp public static bool operator ==(TextDecorationLineType first, TextDecorationLineType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First operand to check | | second | TextDecorationLineType | Second operand to check | ##### Return Value `true` if are equal, `false` otherwise ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/op_explicit.md #### explicit operator Casts specific Byte (8-bit octet) to the corresponding `TextDecorationLineType`, throws exception if casting is invalid ```csharp public static explicit operator TextDecorationLineType(byte octet) ``` | Parameter | Type | Description | | --- | --- | --- | | octet | Byte | A 8-bit octet (bitfield), where 5 leading bits are zeros, while last 3 indicate flags | ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Specified *octet* has invalid value | #### explicit operator Casts specified `TextDecorationLineType` instance to the equivalint octet (8-bit bitfield) ```csharp public static explicit operator byte(TextDecorationLineType input) ``` | Parameter | Type | Description | | --- | --- | --- | | input | TextDecorationLineType | `TextDecorationLineType` instance to cast | ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/op_inequality.md #### TextDecorationLineType Inequality operator Checks whether two "TextDecorationLineType" values are not equal ```csharp public static bool operator !=(TextDecorationLineType first, TextDecorationLineType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First operand to check | | second | TextDecorationLineType | Second operand to check | ##### Return Value `true` if are unequal, `false` otherwise ### op_Subtraction Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/op_subtraction.md #### TextDecorationLineType Subtraction operator Subtracts second specified line type from the first specified line type and produces new resultant line type, where are present only those flags from the first operand, which are not found in the second operand (difference) ```csharp public static TextDecorationLineType operator -(TextDecorationLineType first, TextDecorationLineType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | ##### Return Value Result of the difference between the first (minuend) and second (subtrahend) operands ### Overline Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/overline.md #### TextDecorationLineType.Overline field Each line of text has a line above it. ```csharp public static readonly TextDecorationLineType Overline; ``` ### ToString Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/tostring.md #### TextDecorationLineType.ToString method Returns a value of all flags in this instance as text ```csharp public override string ToString() ``` ### TryParse Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/tryparse.md #### TextDecorationLineType.TryParse method Tries to parse a specified string and return a valid `TextDecorationLineType` instance ```csharp public static bool TryParse(string input, out TextDecorationLineType output) ``` | Parameter | Type | Description | | --- | --- | --- | | input | String | Input string | | output | TextDecorationLineType& | Result. If parsing is invalid, it is a `None` value | ##### Return Value `true` if parsing was successful, `false` on failure ### Underline Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/underline.md #### TextDecorationLineType.Underline field Each line of text is underlined. ```csharp public static readonly TextDecorationLineType Underline; ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.css.properties/textdecorationlinetype/value.md #### TextDecorationLineType.Value property Returns a value of all flags in this instance as text ```csharp public string Value { get; } ``` ### GroupDocs.Editor.HtmlCss.Exceptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.exceptions.md The GroupDocs.Editor.HtmlCss.Exceptions namespace provides classes that are responsible for all HTML-, CSS-, images-, fonts-, and other resource-related processing. #### Classes | Class | Description | | --- | --- | | InvalidFontFormatException | The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is a font of supported (known) format, but actually is a font of unexpected and/or unsupported format or not a font at all. | | InvalidImageFormatException | The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected and/or unsupported format or not an image at all. | ### InvalidFontFormatException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.exceptions/invalidfontformatexception.md #### InvalidFontFormatException class The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is a font of supported (known) format, but actually is a font of unexpected and/or unsupported format or not a font at all. ```csharp public class InvalidFontFormatException : Exception ``` #### Constructors | Name | Description | | --- | --- | | InvalidFontFormatException(string) | Creates new instance of `InvalidFontFormatException` with specified error message | | InvalidFontFormatException(string, Exception) | Creates new instance of `InvalidFontFormatException` with specified error message and a reference to the inner exception that is the cause of this exception | ### InvalidFontFormatException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.exceptions/invalidfontformatexception/invalidfontformatexception.md #### InvalidFontFormatException(string) Creates new instance of `InvalidFontFormatException` with specified error message ```csharp public InvalidFontFormatException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Textual message, that describes the error, can be null or empty | #### InvalidFontFormatException(string, Exception) Creates new instance of `InvalidFontFormatException` with specified error message and a reference to the inner exception that is the cause of this exception ```csharp public InvalidFontFormatException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Textual message, that describes the error, can be null or empty | | innerException | Exception | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. | ### InvalidImageFormatException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.exceptions/invalidimageformatexception.md #### InvalidImageFormatException class The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected and/or unsupported format or not an image at all. ```csharp public class InvalidImageFormatException : Exception ``` #### Constructors | Name | Description | | --- | --- | | InvalidImageFormatException(string) | Creates new instance of `InvalidImageFormatException` with specified error message | | InvalidImageFormatException(string, Exception) | Creates new instance of `InvalidImageFormatException` with specified error message and a reference to the inner exception that is the cause of this exception | ### InvalidImageFormatException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.exceptions/invalidimageformatexception/invalidimageformatexception.md #### InvalidImageFormatException(string) Creates new instance of `InvalidImageFormatException` with specified error message ```csharp public InvalidImageFormatException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Textual message, that describes the error, can be null or empty | #### InvalidImageFormatException(string, Exception) Creates new instance of `InvalidImageFormatException` with specified error message and a reference to the inner exception that is the cause of this exception ```csharp public InvalidImageFormatException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | Textual message, that describes the error, can be null or empty | | innerException | Exception | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. | ### GroupDocs.Editor.HtmlCss.Resources.Audio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio.md The GroupDocs.Editor.HtmlCss.Resources.Audio namespace provides types that represent audio resources. #### Classes | Class | Description | | --- | --- | | Mp3Audio | Represents one audio resource of arbitrary format | #### Structures | Structure | Description | | --- | --- | | AudioType | Represents one supportable audio type (format) | ### AudioType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype.md #### AudioType structure Represents one supportable audio type (format) ```csharp public struct AudioType : IEquatable, IResourceType ``` #### Properties | Name | Description | | --- | --- | | static Mp3 { get; } | Represents a MPEG-1 Audio Layer III audio format | | static Undefined { get; } | Special value, which marks undefined, unknown or unsupported audio format | | FileExtension { get; } | Filename extension (without dot character) for this audio format | | FormalName { get; } | Formal name of this audio format | | MimeCode { get; } | MIME code for this audio format | #### Methods | Name | Description | | --- | --- | | static ParseFromFilenameWithExtension(string) | Returns AudioType value, which is equivalent of filename extension, which is extracted from specified filename | | Equals(AudioType) | Determines whether this instance is equal with specified "AudioType" instance | | override Equals(object) | Determines whether this instance is equal with specified uncasted object, which presumably is another "AudioType" instance | | override GetHashCode() | Returns a hash-code, which is a constant number for this specific value type | | operator == | Checks whether two "AudioType" values are equal | | operator != | Checks whether two "AudioType" values are not equal | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/equals.md #### Equals(AudioType) Determines whether this instance is equal with specified "AudioType" instance ```csharp public bool Equals(AudioType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | AudioType | Other AudioType instance to check with this | ##### Return Value True if are equal, false if are unequal #### Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another "AudioType" instance ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other instance presumably of AudioType struct, that was boxed to System.Object | ##### Return Value True if are equal, false if are unequal ### FileExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/fileextension.md #### AudioType.FileExtension property Filename extension (without dot character) for this audio format ```csharp public string FileExtension { get; } ``` ### FormalName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/formalname.md #### AudioType.FormalName property Formal name of this audio format ```csharp public string FormalName { get; } ``` ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/gethashcode.md #### AudioType.GetHashCode method Returns a hash-code, which is a constant number for this specific value type ```csharp public override int GetHashCode() ``` ##### Return Value 4-byte signed integer, 0 for Undefined value ### MimeCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/mimecode.md #### AudioType.MimeCode property MIME code for this audio format ```csharp public string MimeCode { get; } ``` ### Mp3 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/mp3.md #### AudioType.Mp3 property Represents a MPEG-1 Audio Layer III audio format ```csharp public static AudioType Mp3 { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/op_equality.md #### AudioType Equality operator Checks whether two "AudioType" values are equal ```csharp public static bool operator ==(AudioType first, AudioType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | AudioType | First AudioType to check | | second | AudioType | Second AudioType to check | ##### Return Value True if are equal, false if are unequal ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/op_inequality.md #### AudioType Inequality operator Checks whether two "AudioType" values are not equal ```csharp public static bool operator !=(AudioType first, AudioType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | AudioType | First AudioType to check | | second | AudioType | Second AudioType to check | ##### Return Value True if are equal, false if are unequal ### ParseFromFilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/parsefromfilenamewithextension.md #### AudioType.ParseFromFilenameWithExtension method Returns AudioType value, which is equivalent of filename extension, which is extracted from specified filename ```csharp public static AudioType ParseFromFilenameWithExtension(string filename) ``` | Parameter | Type | Description | | --- | --- | --- | | filename | String | Arbitrary filename, can be a relative or full path | ##### Return Value AudioType value. Returns AudioType.Undefined, if extension cannot be recognized. ### Undefined Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/audiotype/undefined.md #### AudioType.Undefined property Special value, which marks undefined, unknown or unsupported audio format ```csharp public static AudioType Undefined { get; } ``` ### Mp3Audio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio.md #### Mp3Audio class Represents one audio resource of arbitrary format ```csharp public sealed class Mp3Audio : IEquatable, IHtmlResource ``` #### Constructors | Name | Description | | --- | --- | | Mp3Audio(string, Stream) | Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name | #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this MP3 content, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this MP3 content is disposed or not | | Name { get; } | Returns name of this MP3 content. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this MP3 resource as base64-encoded string. This value is cached after first invoke. | | Type { get; } | Returns a AudioType.Mp3 | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this MP3 resource, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Equals(Mp3Audio) | Checks this instance with specified font resource on reference equality | | Save(string) | Saves this MP3 resource to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid MP3 content | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this MP3 content is disposed | ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/bytecontent.md #### Mp3Audio.ByteContent property Returns content of this font as byte stream ```csharp public Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/dispose.md #### Mp3Audio.Dispose method Disposes this MP3 resource, disposing its content and making most methods and properties non-working ```csharp public void Dispose() ``` ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/disposed.md #### Mp3Audio.Disposed event Event, which occurs when this MP3 content is disposed ```csharp public event EventHandler Disposed; ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/equals.md #### Equals(IHtmlResource) Checks this instance with specified HTML resource on reference equality ```csharp public bool Equals(IHtmlResource other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other inheritor of IHtmlResource interface | ##### Return Value True if are equal, false if are unequal #### Equals(Mp3Audio) Checks this instance with specified font resource on reference equality ```csharp public bool Equals(Mp3Audio other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Mp3Audio | Other instance of Mp3Audio class | ##### Return Value True if are equal, false if are unequal ### FilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/filenamewithextension.md #### Mp3Audio.FilenameWithExtension property Returns correct filename of this MP3 content, which consists of name and extension. Theoretically can differ from the name. ```csharp public string FilenameWithExtension { get; } ``` ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/isdisposed.md #### Mp3Audio.IsDisposed property Determines whether this MP3 content is disposed or not ```csharp public bool IsDisposed { get; } ``` ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/isvalid.md #### Mp3Audio.IsValid method Checks whether specified stream is a valid MP3 content ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a MP3 content | ##### Return Value True if specified stream contains valid MP3 content, false otherwise ### Mp3Audio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/mp3audio.md #### Mp3Audio constructor Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name ```csharp public Mp3Audio(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the MP3 content. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/name.md #### Mp3Audio.Name property Returns name of this MP3 content. Usually doesn't contain filename extension and theoretically can differ from filename. ```csharp public string Name { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/save.md #### Mp3Audio.Save method Saves this MP3 resource to the specified file ```csharp public void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created or rewritten | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/textcontent.md #### Mp3Audio.TextContent property Returns content of this MP3 resource as base64-encoded string. This value is cached after first invoke. ```csharp public string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.audio/mp3audio/type.md #### Mp3Audio.Type property Returns a AudioType.Mp3 ```csharp public AudioType Type { get; } ``` ### GroupDocs.Editor.HtmlCss.Resources.Fonts Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts.md The GroupDocs.Editor.HtmlCss.Resources.Fonts namespace provides classes that represent font resources. #### Classes | Class | Description | | --- | --- | | EotFont | Represents one font in the EOT (Embedded OpenType) format | | FontResourceBase | Base class for any supported font type as a resource for the HTML document with all its properties | | OtfFont | Represents one font in the OTF (Open Type Format) format | | TtcFont | Represents one font in the TTC (TrueType Collection) format | | TtfFont | Represents one font in the TTF (TrueType Font) format | | Woff2Font | Represents one font in the WOFF2 (Web Open Font Format) format | | WoffFont | Represents one font in the WOFF (Web Open Font Format) format | #### Structures | Structure | Description | | --- | --- | | FontType | Represents one supportable font type | ### EotFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/eotfont.md #### EotFont class Represents one font in the EOT (Embedded OpenType) format ```csharp public sealed class EotFont : FontResourceBase ``` #### Constructors | Name | Description | | --- | --- | | EotFont(string, Stream) | Creates new EotFont class from content, represented as byte stream, and with specified name | | EotFont(string, string) | Creates new EotFont class from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this font is disposed or not | | Name { get; } | Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this font as base64-encoded string. This value is cached after first invoke. | | override Type { get; } | Returns FontType.Eot | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | Equals(FontResourceBase) | Checks this instance with specified font resource on reference equality | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Save(string) | Saves this font to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid EOT font | | static IsValid(string) | Checks whether specified base64-encoded string is a valid EOT font | #### Fields | Name | Description | | --- | --- | | const RequiredHeaderSize | EOT header size (in bytes), which is required for its validation | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this font is disposed | ### EotFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/eotfont/eotfont.md #### EotFont(string, string) Creates new EotFont class from content, represented as base64-encoded string, and with specified name ```csharp public EotFont(string eotName, string eotContentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | eotName | String | Name of the EOT font. Cannot be null, empty or whitespaces. | | eotContentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a EOT content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### EotFont(string, Stream) Creates new EotFont class from content, represented as byte stream, and with specified name ```csharp public EotFont(string eotName, Stream eotBinaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | eotName | String | Name of the EOT font. Cannot be null, empty or whitespaces. | | eotBinaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/eotfont/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid EOT font ```csharp public static bool IsValid(Stream eotBinaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | eotBinaryContent | Stream | Byte stream, that presumably contains a EOT resource | ##### Return Value True if specified stream contains valid EOT font, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid EOT font ```csharp public static bool IsValid(string eotContentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | eotContentInBase64 | String | Content of the presumably EOT font in a form of base64-encoded string | ##### Return Value True if specified string contains valid EOT font, false otherwise ### RequiredHeaderSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/eotfont/requiredheadersize.md #### EotFont.RequiredHeaderSize field EOT header size (in bytes), which is required for its validation ```csharp public const int RequiredHeaderSize; ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/eotfont/type.md #### EotFont.Type property Returns FontType.Eot ```csharp public override FontType Type { get; } ``` ### FontResourceBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase.md #### FontResourceBase class Base class for any supported font type as a resource for the HTML document with all its properties ```csharp public abstract class FontResourceBase : IEquatable, IHtmlResource ``` #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this font is disposed or not | | Name { get; } | Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this font as base64-encoded string. This value is cached after first invoke. | | abstract Type { get; } | In implementing type should return information about type of specific font resource as an instance of specific FontType type, which encapsulates all type-specific info | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | Equals(FontResourceBase) | Checks this instance with specified font resource on reference equality | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Save(string) | Saves this font to the specified file | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this font is disposed | ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/bytecontent.md #### FontResourceBase.ByteContent property Returns content of this font as byte stream ```csharp public Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/dispose.md #### FontResourceBase.Dispose method Disposes this font resource, disposing its content and making most methods and properties non-working ```csharp public void Dispose() ``` ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/disposed.md #### FontResourceBase.Disposed event Event, which occurs when this font is disposed ```csharp public event EventHandler Disposed; ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/equals.md #### Equals(IHtmlResource) Checks this instance with specified HTML resource on reference equality ```csharp public bool Equals(IHtmlResource other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other inheritor of IHtmlResource interface | ##### Return Value True if are equal, false if are unequal #### Equals(FontResourceBase) Checks this instance with specified font resource on reference equality ```csharp public bool Equals(FontResourceBase other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FontResourceBase | Other inheritor of FontResourceBase abstract class | ##### Return Value True if are equal, false if are unequal ### FilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/filenamewithextension.md #### FontResourceBase.FilenameWithExtension property Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. ```csharp public string FilenameWithExtension { get; } ``` ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/isdisposed.md #### FontResourceBase.IsDisposed property Determines whether this font is disposed or not ```csharp public bool IsDisposed { get; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/name.md #### FontResourceBase.Name property Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. ```csharp public string Name { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/save.md #### FontResourceBase.Save method Saves this font to the specified file ```csharp public void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created or rewritten | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/textcontent.md #### FontResourceBase.TextContent property Returns content of this font as base64-encoded string. This value is cached after first invoke. ```csharp public string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fontresourcebase/type.md #### FontResourceBase.Type property In implementing type should return information about type of specific font resource as an instance of specific FontType type, which encapsulates all type-specific info ```csharp public abstract FontType Type { get; } ``` ### FontType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype.md #### FontType structure Represents one supportable font type ```csharp public struct FontType : IEquatable, IResourceType ``` #### Properties | Name | Description | | --- | --- | | static Eot { get; } | Represents a EOT (Embedded OpenType) font type | | static Otf { get; } | Represents a OTF (OpenType Font) font type | | static Ttc { get; } | Represents a TrueType Collection (TTC) font | | static Ttf { get; } | Represents a TTF (TrueType Font) font type | | static Undefined { get; } | Special value, which marks undefined, unknown or unsupported font resource | | static Woff { get; } | Represents a WOFF (Web Open Font Format) font type | | static Woff2 { get; } | Represents a WOFF2 (Web Open Font Format version 2) font type | | CssName { get; } | Returns CSS-compatible name of this font type, which is used in the @font-face at-rule | | FileExtension { get; } | Filename extension (without dot character) for this font type | | FontFormat { get; } | Font format for @font-face format | | FormalName { get; } | Returns a formal name of this font type | | MimeCode { get; } | MIME code of a particular font type | #### Methods | Name | Description | | --- | --- | | static GetFirstDefined(params FontType[]) | Returns a first font type from specified set, which is not an "Undefined" value, or "Undefined" font type otherwise (when all items are "Undefined") | | static ParseFromCssName(string) | Returns FontType value, which is equivalent of specified CSS-compatible name of the font type | | static ParseFromFilenameWithExtension(string) | Returns FontType value, which is equivalent of filename extension, which is extracted from specified filename | | static ParseFromMime(string) | Returns FontType value, which is equivalent of specified MIME-code | | Equals(FontType) | Determines whether this instance is equal with specified "FontType" instance | | override Equals(object) | Determines whether this instance is equal with specified uncasted object, which presumably is another "FontType" instance | | override GetHashCode() | Returns a hash-code, which is a constant number for this specific value type | | operator == | Checks whether two "FontType" values are equal | | operator != | Checks whether two "FontType" values are not equal | ### CssName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/cssname.md #### FontType.CssName property Returns CSS-compatible name of this font type, which is used in the @font-face at-rule ```csharp public string CssName { get; } ``` ### Eot Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/eot.md #### FontType.Eot property Represents a EOT (Embedded OpenType) font type ```csharp public static FontType Eot { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/equals.md #### Equals(FontType) Determines whether this instance is equal with specified "FontType" instance ```csharp public bool Equals(FontType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FontType | Other FontType instance to check with this | ##### Return Value True if are equal, false if are unequal #### Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another "FontType" instance ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other instance presumably of FontType struct, that was boxed to System.Object | ##### Return Value True if are equal, false if are unequal ### FileExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/fileextension.md #### FontType.FileExtension property Filename extension (without dot character) for this font type ```csharp public string FileExtension { get; } ``` ### FontFormat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/fontformat.md #### FontType.FontFormat property Font format for @font-face format ```csharp public string FontFormat { get; } ``` ### FormalName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/formalname.md #### FontType.FormalName property Returns a formal name of this font type ```csharp public string FormalName { get; } ``` ### GetFirstDefined Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/getfirstdefined.md #### FontType.GetFirstDefined method Returns a first font type from specified set, which is not an "Undefined" value, or "Undefined" font type otherwise (when all items are "Undefined") ```csharp public static FontType GetFirstDefined(params FontType[] fonts) ``` | Parameter | Type | Description | | --- | --- | --- | | fonts | FontType[] | One or more FontType values, NULL or empty collection is not allowed | ##### Return Value First FontType value from specified collection, that is not Undefined, or Undefined, if all items are Undefined ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/gethashcode.md #### FontType.GetHashCode method Returns a hash-code, which is a constant number for this specific value type ```csharp public override int GetHashCode() ``` ##### Return Value 4-byte signed integer, 0 for Undefined value ### MimeCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/mimecode.md #### FontType.MimeCode property MIME code of a particular font type ```csharp public string MimeCode { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/op_equality.md #### FontType Equality operator Checks whether two "FontType" values are equal ```csharp public static bool operator ==(FontType first, FontType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontType | First FontType to check | | second | FontType | Second FontType to check | ##### Return Value True if are equal, false if are unequal ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/op_inequality.md #### FontType Inequality operator Checks whether two "FontType" values are not equal ```csharp public static bool operator !=(FontType first, FontType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | FontType | First FontType to check | | second | FontType | Second FontType to check | ##### Return Value True if are equal, false if are unequal ### Otf Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/otf.md #### FontType.Otf property Represents a OTF (OpenType Font) font type ```csharp public static FontType Otf { get; } ``` ### ParseFromCssName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/parsefromcssname.md #### FontType.ParseFromCssName method Returns FontType value, which is equivalent of specified CSS-compatible name of the font type ```csharp public static FontType ParseFromCssName(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | CSS-compatible name of the font type | ##### Return Value Valid FontType value on success or FontType.Undefined on failure ### ParseFromFilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/parsefromfilenamewithextension.md #### FontType.ParseFromFilenameWithExtension method Returns FontType value, which is equivalent of filename extension, which is extracted from specified filename ```csharp public static FontType ParseFromFilenameWithExtension(string filename) ``` | Parameter | Type | Description | | --- | --- | --- | | filename | String | Filename with extension, may be a full name | ##### Return Value Valid FontType value on success or FontType.Undefined on failure ### ParseFromMime Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/parsefrommime.md #### FontType.ParseFromMime method Returns FontType value, which is equivalent of specified MIME-code ```csharp public static FontType ParseFromMime(string mimeCode) ``` | Parameter | Type | Description | | --- | --- | --- | | mimeCode | String | MIME-code | ##### Return Value Valid FontType value on success or FontType.Undefined on failure ### Ttc Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/ttc.md #### FontType.Ttc property Represents a TrueType Collection (TTC) font ```csharp public static FontType Ttc { get; } ``` ### Ttf Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/ttf.md #### FontType.Ttf property Represents a TTF (TrueType Font) font type ```csharp public static FontType Ttf { get; } ``` ### Undefined Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/undefined.md #### FontType.Undefined property Special value, which marks undefined, unknown or unsupported font resource ```csharp public static FontType Undefined { get; } ``` ### Woff Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/woff.md #### FontType.Woff property Represents a WOFF (Web Open Font Format) font type ```csharp public static FontType Woff { get; } ``` ### Woff2 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/fonttype/woff2.md #### FontType.Woff2 property Represents a WOFF2 (Web Open Font Format version 2) font type ```csharp public static FontType Woff2 { get; } ``` ### OtfFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/otffont.md #### OtfFont class Represents one font in the OTF (Open Type Format) format ```csharp public sealed class OtfFont : FontResourceBase ``` #### Constructors | Name | Description | | --- | --- | | OtfFont(string, Stream) | Creates new OtfFont class from content, represented as byte stream, and with specified name | | OtfFont(string, string) | Creates new OtfFont class from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this font is disposed or not | | Name { get; } | Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this font as base64-encoded string. This value is cached after first invoke. | | override Type { get; } | Returns `Otf` | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | Equals(FontResourceBase) | Checks this instance with specified font resource on reference equality | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Save(string) | Saves this font to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid OTF font | | static IsValid(string) | Checks whether specified base64-encoded string is a valid OTF font | #### Fields | Name | Description | | --- | --- | | const RequiredHeaderSize | OTF header size (in bytes), which is required for its validation | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this font is disposed | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/otffont/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid OTF font ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a OTF resource | ##### Return Value True if specified stream contains valid OTF font, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid OTF font ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably OTF font in a form of base64-encoded string | ##### Return Value True if specified string contains valid OTF font, false otherwise ### OtfFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/otffont/otffont.md #### OtfFont(string, string) Creates new OtfFont class from content, represented as base64-encoded string, and with specified name ```csharp public OtfFont(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the OTF font. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a OTF content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### OtfFont(string, Stream) Creates new OtfFont class from content, represented as byte stream, and with specified name ```csharp public OtfFont(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the OTF font. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### RequiredHeaderSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/otffont/requiredheadersize.md #### OtfFont.RequiredHeaderSize field OTF header size (in bytes), which is required for its validation ```csharp public const int RequiredHeaderSize; ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/otffont/type.md #### OtfFont.Type property Returns `Otf` ```csharp public override FontType Type { get; } ``` ### TtcFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont.md #### TtcFont class Represents one font in the TTC (TrueType Collection) format ```csharp public sealed class TtcFont : FontResourceBase ``` #### Constructors | Name | Description | | --- | --- | | TtcFont(string, Stream) | Creates new TtcFont class from content, represented as byte stream, and with specified name | | TtcFont(string, string) | Creates new TtcFont class from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. | | FontsNumber { get; } | Number of fonts in this TTC | | HasDsigTable { get; } | Indicates whether this TTC has a DSIG table exists. DSIG table may be present only if TTC has a Header version 2.0. | | HeaderVersion { get; } | TTC Header Version, may be "1" or "2" | | IsDisposed { get; } | Determines whether this font is disposed or not | | Name { get; } | Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this font as base64-encoded string. This value is cached after first invoke. | | override Type { get; } | Returns FontType.Ttc | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | Equals(FontResourceBase) | Checks this instance with specified font resource on reference equality | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Save(string) | Saves this font to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid TTC font | | static IsValid(string) | Checks whether specified base64-encoded string is a valid TTF font | #### Fields | Name | Description | | --- | --- | | const RequiredHeaderSize | TTC header size (in bytes), which is required for its validation | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this font is disposed | ##### Remarks See more: https://docs.fileformat.com/font/ttc/ ### FontsNumber Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont/fontsnumber.md #### TtcFont.FontsNumber property Number of fonts in this TTC ```csharp public uint FontsNumber { get; } ``` ### HasDsigTable Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont/hasdsigtable.md #### TtcFont.HasDsigTable property Indicates whether this TTC has a DSIG table exists. DSIG table may be present only if TTC has a Header version 2.0. ```csharp public bool HasDsigTable { get; } ``` ### HeaderVersion Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont/headerversion.md #### TtcFont.HeaderVersion property TTC Header Version, may be "1" or "2" ```csharp public byte HeaderVersion { get; } ``` ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid TTC font ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a TTC resource | ##### Return Value True if specified stream contains valid TTC font, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid TTF font ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably TTF font in a form of base64-encoded string | ##### Return Value True if specified string contains valid TTF font, false otherwise ### RequiredHeaderSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont/requiredheadersize.md #### TtcFont.RequiredHeaderSize field TTC header size (in bytes), which is required for its validation ```csharp public const int RequiredHeaderSize; ``` ### TtcFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont/ttcfont.md #### TtcFont(string, string) Creates new TtcFont class from content, represented as base64-encoded string, and with specified name ```csharp public TtcFont(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the TTC font. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a TTC content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Any of input strings are `null`, empty or whitespace-only | | InvalidImageFormatException | Content in *contentInBase64* argument cannot be recognized a valid TTC font | #### TtcFont(string, Stream) Creates new TtcFont class from content, represented as byte stream, and with specified name ```csharp public TtcFont(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the TTC font. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | *name* argument is `null`, empty or whitespace-only | | InvalidFontFormatException | Thrown when specified binary content cannot be properly interpreted as a valid TTF font | ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttcfont/type.md #### TtcFont.Type property Returns FontType.Ttc ```csharp public override FontType Type { get; } ``` ### TtfFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttffont.md #### TtfFont class Represents one font in the TTF (TrueType Font) format ```csharp public sealed class TtfFont : FontResourceBase ``` #### Constructors | Name | Description | | --- | --- | | TtfFont(string, Stream) | Creates new TtfFont class from content, represented as byte stream, and with specified name | | TtfFont(string, string) | Creates new TtfFont class from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this font is disposed or not | | Name { get; } | Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this font as base64-encoded string. This value is cached after first invoke. | | override Type { get; } | Returns FontType.Ttf | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | Equals(FontResourceBase) | Checks this instance with specified font resource on reference equality | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Save(string) | Saves this font to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid TTF font | | static IsValid(string) | Checks whether specified base64-encoded string is a valid TTF font | #### Fields | Name | Description | | --- | --- | | const RequiredHeaderSize | TTF header size (in bytes), which is required for its validation | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this font is disposed | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttffont/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid TTF font ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a TTF resource | ##### Return Value True if specified stream contains valid TTF font, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid TTF font ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably TTF font in a form of base64-encoded string | ##### Return Value True if specified string contains valid TTF font, false otherwise ### RequiredHeaderSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttffont/requiredheadersize.md #### TtfFont.RequiredHeaderSize field TTF header size (in bytes), which is required for its validation ```csharp public const int RequiredHeaderSize; ``` ### TtfFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttffont/ttffont.md #### TtfFont(string, string) Creates new TtfFont class from content, represented as base64-encoded string, and with specified name ```csharp public TtfFont(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the TTF font. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a TTF content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### TtfFont(string, Stream) Creates new TtfFont class from content, represented as byte stream, and with specified name ```csharp public TtfFont(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the TTF font. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidFontFormatException | Thrown when specified binary content cannot be properly interpreted as a valid TTF font | ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/ttffont/type.md #### TtfFont.Type property Returns FontType.Ttf ```csharp public override FontType Type { get; } ``` ### Woff2Font Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/woff2font.md #### Woff2Font class Represents one font in the WOFF2 (Web Open Font Format) format ```csharp public sealed class Woff2Font : FontResourceBase ``` #### Constructors | Name | Description | | --- | --- | | Woff2Font(string, Stream) | Creates new Woff2Font class from content, represented as byte stream, and with specified name | | Woff2Font(string, string) | Creates new Woff2Font class from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this font is disposed or not | | Name { get; } | Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this font as base64-encoded string. This value is cached after first invoke. | | override Type { get; } | Returns FontType.Woff2 | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | Equals(FontResourceBase) | Checks this instance with specified font resource on reference equality | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Save(string) | Saves this font to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid WOFF2 font | | static IsValid(string) | Checks whether specified base64-encoded string is a valid WOFF2 font | #### Fields | Name | Description | | --- | --- | | const RequiredHeaderSize | WOFF2 header size (in bytes), which is required for its validation | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this font is disposed | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/woff2font/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid WOFF2 font ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a WOFF2 resource | ##### Return Value True if specified stream contains valid WOFF2 font, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid WOFF2 font ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably WOFF2 font in a form of base64-encoded string | ##### Return Value True if specified string contains valid WOFF2 font, false otherwise ### RequiredHeaderSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/woff2font/requiredheadersize.md #### Woff2Font.RequiredHeaderSize field WOFF2 header size (in bytes), which is required for its validation ```csharp public const int RequiredHeaderSize; ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/woff2font/type.md #### Woff2Font.Type property Returns FontType.Woff2 ```csharp public override FontType Type { get; } ``` ### Woff2Font Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/woff2font/woff2font.md #### Woff2Font(string, string) Creates new Woff2Font class from content, represented as base64-encoded string, and with specified name ```csharp public Woff2Font(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the WOFF2 font. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WOFF2 content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### Woff2Font(string, Stream) Creates new Woff2Font class from content, represented as byte stream, and with specified name ```csharp public Woff2Font(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the WOFF2 font. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seakable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### WoffFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/wofffont.md #### WoffFont class Represents one font in the WOFF (Web Open Font Format) format ```csharp public sealed class WoffFont : FontResourceBase ``` #### Constructors | Name | Description | | --- | --- | | WoffFont(string, Stream) | Creates new WoffFont class from content, represented as byte stream, and with specified name | | WoffFont(string, string) | Creates new WoffFont class from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this font as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this font is disposed or not | | Name { get; } | Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this font as base64-encoded string. This value is cached after first invoke. | | override Type { get; } | Returns FontType.Woff | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | Equals(FontResourceBase) | Checks this instance with specified font resource on reference equality | | Equals(IHtmlResource) | Checks this instance with specified HTML resource on reference equality | | Save(string) | Saves this font to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid WOFF font | | static IsValid(string) | Checks whether specified base64-encoded string is a valid WOFF font | #### Fields | Name | Description | | --- | --- | | const RequiredHeaderSize | WOFF header size (in bytes), which is required for its validation | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this font is disposed | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/wofffont/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid WOFF font ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a WOFF resource | ##### Return Value True if specified stream contains valid WOFF font, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid WOFF font ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably WOFF font in a form of base64-encoded string | ##### Return Value True if specified string contains valid WOFF font, false otherwise ### RequiredHeaderSize Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/wofffont/requiredheadersize.md #### WoffFont.RequiredHeaderSize field WOFF header size (in bytes), which is required for its validation ```csharp public const int RequiredHeaderSize; ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/wofffont/type.md #### WoffFont.Type property Returns FontType.Woff ```csharp public override FontType Type { get; } ``` ### WoffFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.fonts/wofffont/wofffont.md #### WoffFont(string, string) Creates new WoffFont class from content, represented as base64-encoded string, and with specified name ```csharp public WoffFont(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the WOFF font. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WOFF content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### WoffFont(string, Stream) Creates new WoffFont class from content, represented as byte stream, and with specified name ```csharp public WoffFont(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the WOFF font. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seakable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### GroupDocs.Editor.HtmlCss.Resources.Images.Raster Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster.md The GroupDocs.Editor.HtmlCss.Resources.Images.Raster namespace provides classes that represent only raster image resources. #### Classes | Class | Description | | --- | --- | | BmpImage | Represents one image in BMP (BitMap Picture) format with its metadata and additional methods | | GifImage | Represents one image in GIF (Graphics Interchange Format) format with its metadata and additional methods | | IconImage | Represents one image in ICON format with its metadata and additional methods | | JpegImage | Represents one image in JPEG (Joint Photographic Experts Group) format with its metadata and additional methods | | PngImage | Represents one image in PNG (Portable Network Graphics) format with its metadata and additional methods | | RasterImageResourceBase | Base class for any supported raster image with fixed name, dimensions, aspect ratio, type, size, and content. | | TiffImage | Represents one image in TIFF (Tagged Image File Format) format with its metadata and additional methods | ### BmpImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/bmpimage.md #### BmpImage class Represents one image in BMP (BitMap Picture) format with its metadata and additional methods ```csharp public sealed class BmpImage : RasterImageResourceBase ``` #### Constructors | Name | Description | | --- | --- | | BmpImage(string, Stream) | Creates new BmpImage instance from content, represented as byte stream, and with specified name | | BmpImage(string, string) | Creates new BmpImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns an aspect ratio of this image as the width-to-height relation | | ByteContent { get; } | Returns content of this raster image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed or not | | Length { get; } | Returns the length of this raster image file in bytes | | LinearDimensions { get; } | Returns linear dimensions of this raster image (width and height) | | Name { get; } | Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this raster image as base64-encoded string | | override Type { get; } | Returns ImageType.Bmp | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | Save(string) | Saves this raster image to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid BMP image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid BMP image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### BmpImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/bmpimage/bmpimage.md #### BmpImage(string, string) Creates new BmpImage instance from content, represented as base64-encoded string, and with specified name ```csharp public BmpImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the BMP image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a BMP content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### BmpImage(string, Stream) Creates new BmpImage instance from content, represented as byte stream, and with specified name ```csharp public BmpImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the BMP image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/bmpimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid BMP image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a BMP image | ##### Return Value True if specified stream contains valid BMP image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid BMP image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably BMP image in a form of base64-encoded string | ##### Return Value True if specified string contains valid BMP image, false otherwise ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/bmpimage/type.md #### BmpImage.Type property Returns ImageType.Bmp ```csharp public override ImageType Type { get; } ``` ### GifImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/gifimage.md #### GifImage class Represents one image in GIF (Graphics Interchange Format) format with its metadata and additional methods ```csharp public sealed class GifImage : RasterImageResourceBase ``` #### Constructors | Name | Description | | --- | --- | | GifImage(string, Stream) | Creates new GifImage instance from content, represented as byte stream, and with specified name | | GifImage(string, string) | Creates new GifImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns an aspect ratio of this image as the width-to-height relation | | ByteContent { get; } | Returns content of this raster image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed or not | | Length { get; } | Returns the length of this raster image file in bytes | | LinearDimensions { get; } | Returns linear dimensions of this raster image (width and height) | | Name { get; } | Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this raster image as base64-encoded string | | override Type { get; } | Returns ImageType.Gif | | Version { get; } | Returns internal version of this GIF image (version is extracted from header) | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | Save(string) | Saves this raster image to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid GIF image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid GIF image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### GifImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/gifimage/gifimage.md #### GifImage(string, string) Creates new GifImage instance from content, represented as base64-encoded string, and with specified name ```csharp public GifImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the GIF image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a GIF content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### GifImage(string, Stream) Creates new GifImage instance from content, represented as byte stream, and with specified name ```csharp public GifImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the GIF image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/gifimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid GIF image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a GIF image | ##### Return Value True if specified stream contains valid GIF image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid GIF image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably GIF image in a form of base64-encoded string | ##### Return Value True if specified string contains valid GIF image, false otherwise ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/gifimage/type.md #### GifImage.Type property Returns ImageType.Gif ```csharp public override ImageType Type { get; } ``` ### Version Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/gifimage/version.md #### GifImage.Version property Returns internal version of this GIF image (version is extracted from header) ```csharp public string Version { get; } ``` ### IconImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/iconimage.md #### IconImage class Represents one image in ICON format with its metadata and additional methods ```csharp public sealed class IconImage : RasterImageResourceBase ``` #### Constructors | Name | Description | | --- | --- | | IconImage(string, Stream) | Creates new IconImage instance from content, represented as byte stream, and with specified name | | IconImage(string, string) | Creates new IconImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns an aspect ratio of this image as the width-to-height relation | | ByteContent { get; } | Returns content of this raster image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed or not | | Length { get; } | Returns the length of this raster image file in bytes | | LinearDimensions { get; } | Returns linear dimensions of this raster image (width and height) | | Name { get; } | Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. | | NumberOfImages { get; } | Returns number of images, which are present in this ICON file | | TextContent { get; } | Returns content of this raster image as base64-encoded string | | override Type { get; } | Returns ImageType.Icon | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | Save(string) | Saves this raster image to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid ICON image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid ICON image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### IconImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/iconimage/iconimage.md #### IconImage(string, string) Creates new IconImage instance from content, represented as base64-encoded string, and with specified name ```csharp public IconImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the ICON image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a ICON content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### IconImage(string, Stream) Creates new IconImage instance from content, represented as byte stream, and with specified name ```csharp public IconImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the ICON image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/iconimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid ICON image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a ICON image | ##### Return Value True if specified stream contains valid ICON image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid ICON image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably ICON image in a form of base64-encoded string | ##### Return Value True if specified string contains valid ICON image, false otherwise ### NumberOfImages Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/iconimage/numberofimages.md #### IconImage.NumberOfImages property Returns number of images, which are present in this ICON file ```csharp public ushort NumberOfImages { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/iconimage/type.md #### IconImage.Type property Returns ImageType.Icon ```csharp public override ImageType Type { get; } ``` ### JpegImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/jpegimage.md #### JpegImage class Represents one image in JPEG (Joint Photographic Experts Group) format with its metadata and additional methods ```csharp public sealed class JpegImage : RasterImageResourceBase ``` #### Constructors | Name | Description | | --- | --- | | JpegImage(string, Stream) | Creates new JpegImage instance from content, represented as byte stream, and with specified name | | JpegImage(string, string) | Creates new JpegImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns an aspect ratio of this image as the width-to-height relation | | ByteContent { get; } | Returns content of this raster image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed or not | | Length { get; } | Returns the length of this raster image file in bytes | | LinearDimensions { get; } | Returns linear dimensions of this raster image (width and height) | | Name { get; } | Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this raster image as base64-encoded string | | override Type { get; } | Returns ImageType.Jpeg | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | Save(string) | Saves this raster image to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid JPEG image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid JPEG image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/jpegimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid JPEG image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a JPEG image | ##### Return Value True if specified stream contains valid JPEG image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid JPEG image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably JPEG image in a form of base64-encoded string | ##### Return Value True if specified string contains valid JPEG image, false otherwise ### JpegImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/jpegimage/jpegimage.md #### JpegImage(string, string) Creates new JpegImage instance from content, represented as base64-encoded string, and with specified name ```csharp public JpegImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the JPEG image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a JPEG content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### JpegImage(string, Stream) Creates new JpegImage instance from content, represented as byte stream, and with specified name ```csharp public JpegImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the JPEG image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/jpegimage/type.md #### JpegImage.Type property Returns ImageType.Jpeg ```csharp public override ImageType Type { get; } ``` ### PngImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/pngimage.md #### PngImage class Represents one image in PNG (Portable Network Graphics) format with its metadata and additional methods ```csharp public sealed class PngImage : RasterImageResourceBase ``` #### Constructors | Name | Description | | --- | --- | | PngImage(string, Stream) | Creates new PngImage instance from content, represented as byte stream, and with specified name | | PngImage(string, string) | Creates new PngImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns an aspect ratio of this image as the width-to-height relation | | ByteContent { get; } | Returns content of this raster image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed or not | | Length { get; } | Returns the length of this raster image file in bytes | | LinearDimensions { get; } | Returns linear dimensions of this raster image (width and height) | | Name { get; } | Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this raster image as base64-encoded string | | override Type { get; } | Returns ImageType.Png | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | Save(string) | Saves this raster image to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid PNG image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid PNG image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/pngimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid PNG image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a PNG image | ##### Return Value True if specified stream contains valid PNG image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid PNG image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably PNG image in a form of base64-encoded string | ##### Return Value True if specified string contains valid PNG image, false otherwise ### PngImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/pngimage/pngimage.md #### PngImage(string, string) Creates new PngImage instance from content, represented as base64-encoded string, and with specified name ```csharp public PngImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the PNG image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a PNG content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### PngImage(string, Stream) Creates new PngImage instance from content, represented as byte stream, and with specified name ```csharp public PngImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the PNG image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/pngimage/type.md #### PngImage.Type property Returns ImageType.Png ```csharp public override ImageType Type { get; } ``` ### RasterImageResourceBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase.md #### RasterImageResourceBase class Base class for any supported raster image with fixed name, dimensions, aspect ratio, type, size, and content. ```csharp public abstract class RasterImageResourceBase : IImageResource ``` #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns an aspect ratio of this image as the width-to-height relation | | ByteContent { get; } | Returns content of this raster image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed or not | | Length { get; } | Returns the length of this raster image file in bytes | | LinearDimensions { get; } | Returns linear dimensions of this raster image (width and height) | | Name { get; } | Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this raster image as base64-encoded string | | abstract Type { get; } | In implementing type should return information about type of the raster image | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | Save(string) | Saves this raster image to the specified file | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### AspectRatio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/aspectratio.md #### RasterImageResourceBase.AspectRatio property Returns an aspect ratio of this image as the width-to-height relation ```csharp public Ratio AspectRatio { get; } ``` ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/bytecontent.md #### RasterImageResourceBase.ByteContent property Returns content of this raster image as byte stream ```csharp public Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/dispose.md #### RasterImageResourceBase.Dispose method Disposes this raster image, disposing its content and making most methods and properties non-working ```csharp public void Dispose() ``` ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/disposed.md #### RasterImageResourceBase.Disposed event Event, which occurs when this raster image is disposed ```csharp public event EventHandler Disposed; ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/equals.md #### RasterImageResourceBase.Equals method Checks this instance with specified on reference equality. ```csharp public bool Equals(IHtmlResource other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other IHtmlResource inheritor | ##### Return Value True if are equal, false if are unequal ### FilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/filenamewithextension.md #### RasterImageResourceBase.FilenameWithExtension property Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. ```csharp public string FilenameWithExtension { get; } ``` ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/isdisposed.md #### RasterImageResourceBase.IsDisposed property Determines whether this raster image is disposed or not ```csharp public bool IsDisposed { get; } ``` ### Length Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/length.md #### RasterImageResourceBase.Length property Returns the length of this raster image file in bytes ```csharp public int Length { get; } ``` ### LinearDimensions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/lineardimensions.md #### RasterImageResourceBase.LinearDimensions property Returns linear dimensions of this raster image (width and height) ```csharp public Dimensions LinearDimensions { get; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/name.md #### RasterImageResourceBase.Name property Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. ```csharp public string Name { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/save.md #### RasterImageResourceBase.Save method Saves this raster image to the specified file ```csharp public void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created or rewritten | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/textcontent.md #### RasterImageResourceBase.TextContent property Returns content of this raster image as base64-encoded string ```csharp public string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase/type.md #### RasterImageResourceBase.Type property In implementing type should return information about type of the raster image ```csharp public abstract ImageType Type { get; } ``` ### TiffImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/tiffimage.md #### TiffImage class Represents one image in TIFF (Tagged Image File Format) format with its metadata and additional methods ```csharp public sealed class TiffImage : RasterImageResourceBase ``` #### Constructors | Name | Description | | --- | --- | | TiffImage(string, Stream) | Creates new GifImage instance from content, represented as byte stream, and with specified name | | TiffImage(string, string) | Creates new TiffImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns an aspect ratio of this image as the width-to-height relation | | ByteContent { get; } | Returns content of this raster image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed or not | | Length { get; } | Returns the length of this raster image file in bytes | | LinearDimensions { get; } | Returns linear dimensions of this raster image (width and height) | | Name { get; } | Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. | | TextContent { get; } | Returns content of this raster image as base64-encoded string | | override Type { get; } | Returns `Tiff` | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | Save(string) | Saves this raster image to the specified file | | static IsValid(Stream) | Checks whether specified stream is a valid TIFF image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid TIFF image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ##### Remarks See https://en.wikipedia.org/wiki/TIFF for details. In very rare cases TIFF is present inside WordProcessing documents. ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/tiffimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid TIFF image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Byte stream, that presumably contains a TIFF image | ##### Return Value True if specified stream contains valid TIFF image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid TIFF image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Content of the presumably TIFF image in a form of base64-encoded string | ##### Return Value True if specified string contains valid TIFF image, false otherwise ### TiffImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/tiffimage/tiffimage.md #### TiffImage(string, string) Creates new TiffImage instance from content, represented as base64-encoded string, and with specified name ```csharp public TiffImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the TIFF image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a TIFF content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### TiffImage(string, Stream) Creates new GifImage instance from content, represented as byte stream, and with specified name ```csharp public TiffImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the GIF image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.raster/tiffimage/type.md #### TiffImage.Type property Returns `Tiff` ```csharp public override ImageType Type { get; } ``` ### GroupDocs.Editor.HtmlCss.Resources.Images.Vector Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector.md The GroupDocs.Editor.HtmlCss.Resources.Images.Vector namespace provides classes that represent only vector image resources. #### Classes | Class | Description | | --- | --- | | EmfImage | Represents one vector image in Enhanced metafile format (EMF) format with its metadata and additional methods | | MetaImageBase | Base abstract class for WMF and EMF image formats | | SvgImage | Represents one vector image in SVG (Scalable Vector Graphics) format with its metadata (dimensions) and additional methods (saving to PNG) | | VectorImageResourceBase | Base class for any supported vector image | | WmfImage | Represents one vector image in WMF (Windows MetaFile) format with its metadata and additional methods | ### EmfImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage.md #### EmfImage class Represents one vector image in Enhanced metafile format (EMF) format with its metadata and additional methods ```csharp public sealed class EmfImage : MetaImageBase ``` #### Constructors | Name | Description | | --- | --- | | EmfImage(string, Stream) | Creates new EmfImage instance from content, represented as byte stream, and with specified name | | EmfImage(string, string) | Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns aspect ratio of this vector image | | override ByteContent { get; } | Returns a content of this EMF image as a binary stream | | FilenameWithExtension { get; } | Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed (`true`) or not (`false`) | | LinearDimensions { get; } | Returns linear dimensions of this vector image (width and height) | | Name { get; } | Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. | | override TextContent { get; } | Returns a content of this EMF image as a plain text | | override Type { get; } | Returns ImageType.Emf | #### Methods | Name | Description | | --- | --- | | override Dispose() | Disposes this EMF image by disposing its content and making most its methods and properties non-working. | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | override Save(string) | Saves this EMF image to the file | | override SaveToPng(Stream) | Saves this vector EMF image into raster PNG image | | override SaveToSvg(Stream) | Saves this vector EMF image into vector SVG image | | static IsValid(Stream) | Checks whether specified stream is a valid EMF image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid EMF image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/bytecontent.md #### EmfImage.ByteContent property Returns a content of this EMF image as a binary stream ```csharp public override Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/dispose.md #### EmfImage.Dispose method Disposes this EMF image by disposing its content and making most its methods and properties non-working. ```csharp public override void Dispose() ``` ### EmfImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/emfimage.md #### EmfImage(string, string) Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name ```csharp public EmfImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the EMF image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a EMF content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### EmfImage(string, Stream) Creates new EmfImage instance from content, represented as byte stream, and with specified name ```csharp public EmfImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the EMF image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid EMF image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Input byte stream. Cannot be NULL, should support reading and seeking. | ##### Return Value True if specified stream holds a valid EMF image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid EMF image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Input string, where content of EMF image is stored in base64 encoding. Cannot be NULL or empty. | ##### Return Value True if specified string holds a valid EMF image, false otherwise ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/save.md #### EmfImage.Save method Saves this EMF image to the file ```csharp public override void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this EMF image | ### SaveToPng Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/savetopng.md #### EmfImage.SaveToPng method Saves this vector EMF image into raster PNG image ```csharp public override void SaveToPng(Stream outputPngContent) ``` | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | Stream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ### SaveToSvg Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/savetosvg.md #### EmfImage.SaveToSvg method Saves this vector EMF image into vector SVG image ```csharp public override void SaveToSvg(Stream outputSvgContent) ``` | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | Stream | Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable. | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/textcontent.md #### EmfImage.TextContent property Returns a content of this EMF image as a plain text ```csharp public override string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/emfimage/type.md #### EmfImage.Type property Returns ImageType.Emf ```csharp public override ImageType Type { get; } ``` ### MetaImageBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/metaimagebase.md #### MetaImageBase class Base abstract class for WMF and EMF image formats ```csharp public abstract class MetaImageBase : VectorImageResourceBase ``` #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns aspect ratio of this vector image | | abstract ByteContent { get; } | In implementing type should return a content of this vector image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed (`true`) or not (`false`) | | LinearDimensions { get; } | Returns linear dimensions of this vector image (width and height) | | Name { get; } | Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. | | abstract TextContent { get; } | In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type | | abstract Type { get; } | In implementing type should return information about type of the vector image | #### Methods | Name | Description | | --- | --- | | abstract Dispose() | In implementing type should dispose this instance | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | abstract Save(string) | In implementing type should save this image to the disk by specified path | | abstract SaveToPng(Stream) | In implementing type should save a current vector image to the raster PNG format into specified byte stream | | abstract SaveToSvg(Stream) | In implementing WMF or EMF type should save a current vector meta-image to the vector SVG format to the specified byte stream | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ##### Remarks This abstract class is inherited by `WmfImage` and `EmfImage` ### SaveToSvg Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/metaimagebase/savetosvg.md #### MetaImageBase.SaveToSvg method In implementing WMF or EMF type should save a current vector meta-image to the vector SVG format to the specified byte stream ```csharp public abstract void SaveToSvg(Stream outputSvgContent) ``` | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | Stream | Byte stream, into which the SVG version of this vector meta-image will be stored. Should not be NULL and should support writing. | ### SvgImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage.md #### SvgImage class Represents one vector image in SVG (Scalable Vector Graphics) format with its metadata (dimensions) and additional methods (saving to PNG) ```csharp public sealed class SvgImage : VectorImageResourceBase ``` #### Constructors | Name | Description | | --- | --- | | SvgImage(string, Stream) | Creates new SvgImage instance from content, represented as byte stream, and with specified name | | SvgImage(string, string) | Creates new SvgImage instance from content, represented as usual string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns aspect ratio of this vector image | | override ByteContent { get; } | Returns a content of this SVG image as a binary stream with original position | | FilenameWithExtension { get; } | Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed (`true`) or not (`false`) | | LinearDimensions { get; } | Returns linear dimensions of this vector image (width and height) | | Name { get; } | Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. | | override TextContent { get; } | Returns a content of this SVG image as a base64-encoded binary content (not as a raw text in XML format) | | override Type { get; } | Returns `Svg` | | XmlContent { get; } | Returns a content of this SVG image in its original XML-compliant textual form | #### Methods | Name | Description | | --- | --- | | override Dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | override Save(string) | Saves this SVG image to the file | | override SaveToPng(Stream) | Saves this vector SVG image into raster PNG image | | static IsValid(string) | Performs a surface check whether specified textual XML-compliant content represents a SVG image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/bytecontent.md #### SvgImage.ByteContent property Returns a content of this SVG image as a binary stream with original position ```csharp public override Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/dispose.md #### SvgImage.Dispose method Disposes this raster image, disposing its content and making most methods and properties non-working ```csharp public override void Dispose() ``` ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/isvalid.md #### SvgImage.IsValid method Performs a surface check whether specified textual XML-compliant content represents a SVG image ```csharp public static bool IsValid(string content) ``` | Parameter | Type | Description | | --- | --- | --- | | content | String | XML content of an SVG image as simple text, not a base64-encoded content | ##### Return Value True if specified string can be treated as valid SVG at first look, false if it is not SVG for sure ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/save.md #### SvgImage.Save method Saves this SVG image to the file ```csharp public override void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this SVG image | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when specified file path is invalid | | ObjectDisposedException | Thrown when this instance was already disposed | ### SaveToPng Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/savetopng.md #### SvgImage.SaveToPng method Saves this vector SVG image into raster PNG image ```csharp public override void SaveToPng(Stream outputPngContent) ``` | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | Stream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ### SvgImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/svgimage.md #### SvgImage(string, string) Creates new SvgImage instance from content, represented as usual string, and with specified name ```csharp public SvgImage(string name, string content) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the SVG image. Cannot be null, empty or whitespaces. | | content | String | Content as a usual string, which contains a valid XML-compliant content of SVG image. Cannot be null, empty or whitespaces. If it is not a SVG content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Some of parameters are invalid | | InvalidImageFormatException | *content* argument contains invalid SVG content | #### SvgImage(string, Stream) Creates new SvgImage instance from content, represented as byte stream, and with specified name ```csharp public SvgImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the SVG image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/textcontent.md #### SvgImage.TextContent property Returns a content of this SVG image as a base64-encoded binary content (not as a raw text in XML format) ```csharp public override string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/type.md #### SvgImage.Type property Returns `Svg` ```csharp public override ImageType Type { get; } ``` ### XmlContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/svgimage/xmlcontent.md #### SvgImage.XmlContent property Returns a content of this SVG image in its original XML-compliant textual form ```csharp public string XmlContent { get; } ``` ##### Exceptions | exception | condition | | --- | --- | | ObjectDisposedException | Thrown when this instance was already disposed | ### VectorImageResourceBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase.md #### VectorImageResourceBase class Base class for any supported vector image ```csharp public abstract class VectorImageResourceBase : IImageResource ``` #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns aspect ratio of this vector image | | abstract ByteContent { get; } | In implementing type should return a content of this vector image as byte stream | | FilenameWithExtension { get; } | Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed (`true`) or not (`false`) | | LinearDimensions { get; } | Returns linear dimensions of this vector image (width and height) | | Name { get; } | Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. | | abstract TextContent { get; } | In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type | | abstract Type { get; } | In implementing type should return information about type of the vector image | #### Methods | Name | Description | | --- | --- | | abstract Dispose() | In implementing type should dispose this instance | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | abstract Save(string) | In implementing type should save this image to the disk by specified path | | abstract SaveToPng(Stream) | In implementing type should save a current vector image to the raster PNG format into specified byte stream | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### AspectRatio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/aspectratio.md #### VectorImageResourceBase.AspectRatio property Returns aspect ratio of this vector image ```csharp public Ratio AspectRatio { get; } ``` ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/bytecontent.md #### VectorImageResourceBase.ByteContent property In implementing type should return a content of this vector image as byte stream ```csharp public abstract Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/dispose.md #### VectorImageResourceBase.Dispose method In implementing type should dispose this instance ```csharp public abstract void Dispose() ``` ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/disposed.md #### VectorImageResourceBase.Disposed event Event, which occurs when this raster image is disposed ```csharp public event EventHandler Disposed; ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/equals.md #### VectorImageResourceBase.Equals method Checks this instance with specified on reference equality. ```csharp public bool Equals(IHtmlResource other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other instance of vector image | ##### Return Value True if are equal, false if are unequal ### FilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/filenamewithextension.md #### VectorImageResourceBase.FilenameWithExtension property Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. ```csharp public string FilenameWithExtension { get; } ``` ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/isdisposed.md #### VectorImageResourceBase.IsDisposed property Determines whether this raster image is disposed (`true`) or not (`false`) ```csharp public bool IsDisposed { get; } ``` ### LinearDimensions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/lineardimensions.md #### VectorImageResourceBase.LinearDimensions property Returns linear dimensions of this vector image (width and height) ```csharp public Dimensions LinearDimensions { get; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/name.md #### VectorImageResourceBase.Name property Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. ```csharp public string Name { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/save.md #### VectorImageResourceBase.Save method In implementing type should save this image to the disk by specified path ```csharp public abstract void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | | ### SaveToPng Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/savetopng.md #### VectorImageResourceBase.SaveToPng method In implementing type should save a current vector image to the raster PNG format into specified byte stream ```csharp public abstract void SaveToPng(Stream outputPngContent) ``` | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | Stream | Byte stream, into which the PNG version of this raster image will be stored. Should not be NULL and should support writing. | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/textcontent.md #### VectorImageResourceBase.TextContent property In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type ```csharp public abstract string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase/type.md #### VectorImageResourceBase.Type property In implementing type should return information about type of the vector image ```csharp public abstract ImageType Type { get; } ``` ### WmfImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage.md #### WmfImage class Represents one vector image in WMF (Windows MetaFile) format with its metadata and additional methods ```csharp public sealed class WmfImage : MetaImageBase ``` #### Constructors | Name | Description | | --- | --- | | WmfImage(string, Stream) | Creates new WmfImage instance from content, represented as byte stream, and with specified name | | WmfImage(string, string) | Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Returns aspect ratio of this vector image | | override ByteContent { get; } | Returns a content of this WMF image as a binary stream | | FilenameWithExtension { get; } | Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. | | IsDisposed { get; } | Determines whether this raster image is disposed (`true`) or not (`false`) | | LinearDimensions { get; } | Returns linear dimensions of this vector image (width and height) | | Name { get; } | Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. | | override TextContent { get; } | Returns a content of this WMF image as a plain text | | override Type { get; } | Returns ImageType.Wmf | #### Methods | Name | Description | | --- | --- | | override Dispose() | Disposes this WMF image by disposing its content and making most its methods and properties non-working | | Equals(IHtmlResource) | Checks this instance with specified on reference equality. | | override Save(string) | Saves this WMF image to the file | | override SaveToPng(Stream) | Saves this vector WMF image into raster PNG image | | override SaveToSvg(Stream) | Saves this vector WMF image into vector SVG image | | static IsValid(Stream) | Checks whether specified stream is a valid WMF image | | static IsValid(string) | Checks whether specified base64-encoded string is a valid WMF image | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this raster image is disposed | ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/bytecontent.md #### WmfImage.ByteContent property Returns a content of this WMF image as a binary stream ```csharp public override Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/dispose.md #### WmfImage.Dispose method Disposes this WMF image by disposing its content and making most its methods and properties non-working ```csharp public override void Dispose() ``` ### IsValid Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/isvalid.md #### IsValid(Stream) Checks whether specified stream is a valid WMF image ```csharp public static bool IsValid(Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | binaryContent | Stream | Input byte stream. Cannot be NULL, should support reading and seeking. | ##### Return Value True if specified stream holds a valid WMF image, false otherwise #### IsValid(string) Checks whether specified base64-encoded string is a valid WMF image ```csharp public static bool IsValid(string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | String | Input string, where content of WMF image is stored in base64 encoding. Cannot be NULL or empty. | ##### Return Value True if specified string holds a valid WMF image, false otherwise ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/save.md #### WmfImage.Save method Saves this WMF image to the file ```csharp public override void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this WMF image | ### SaveToPng Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/savetopng.md #### WmfImage.SaveToPng method Saves this vector WMF image into raster PNG image ```csharp public override void SaveToPng(Stream outputPngContent) ``` | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | Stream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ### SaveToSvg Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/savetosvg.md #### WmfImage.SaveToSvg method Saves this vector WMF image into vector SVG image ```csharp public override void SaveToSvg(Stream outputSvgContent) ``` | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | Stream | Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable. | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/textcontent.md #### WmfImage.TextContent property Returns a content of this WMF image as a plain text ```csharp public override string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/type.md #### WmfImage.Type property Returns ImageType.Wmf ```csharp public override ImageType Type { get; } ``` ### WmfImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.vector/wmfimage/wmfimage.md #### WmfImage(string, string) Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name ```csharp public WmfImage(string name, string contentInBase64) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the WMF image. Cannot be null, empty or whitespaces. | | contentInBase64 | String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WMF content, exception will be thrown. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | #### WmfImage(string, Stream) Creates new WmfImage instance from content, represented as byte stream, and with specified name ```csharp public WmfImage(string name, Stream binaryContent) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Name of the WMF image. Cannot be null, empty or whitespaces. | | binaryContent | Stream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | | | InvalidImageFormatException | | ### GroupDocs.Editor.HtmlCss.Resources.Images Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images.md The GroupDocs.Editor.HtmlCss.Resources.Images namespace provides classes that represent image resources of all types in general. #### Structures | Structure | Description | | --- | --- | | Dimensions | Represents the linear dimensions (width and height) of one raster rectangular image in arbitrary unit. Immutable struct. | | ImageType | Represents one supportable image type (format), supports both raster and vector formats | #### Interfaces | Interface | Description | | --- | --- | | IImage | Image CSS data type represents a two-dimensional image | | IImageResource | Represents image resource of any type, raster or vector | ### Dimensions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions.md #### Dimensions structure Represents the linear dimensions (width and height) of one raster rectangular image in arbitrary unit. Immutable struct. ```csharp public struct Dimensions : ICloneable, IEquatable ``` #### Constructors | Name | Description | | --- | --- | | Dimensions(ushort, ushort) | Creates a new instance from specified width and height. | #### Properties | Name | Description | | --- | --- | | static Empty { get; } | Returns an empty Dimensions instance | | Area { get; } | Returns an area (Width x Height) | | AspectRatio { get; } | Aspect ratio of this dimensions as width/height | | Height { get; } | Returns height of the image. | | IsEmpty { get; } | Determines whether this "Dimensions" instance is empty and default, i.e. it doesn't store correct width and height | | IsSquare { get; } | Determines whether specified 'Dimensions' represents square, i.e. if width is equal to height | | Width { get; } | Returns width of the image | #### Methods | Name | Description | | --- | --- | | Clone() | Returns a full copy of this instance | | Equals(Dimensions) | Determines whether this instance is equal with specified "Dimensions" instance | | override Equals(object) | Determines whether this instance is equal with specified uncasted object, which presumably is another "Dimensions" instance | | override GetHashCode() | Returns a hashcode for this instance, which cannot be changed during its lifetime | | ProportionallyResizeForNewHeight(ushort) | Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified height | | ProportionallyResizeForNewWidth(ushort) | Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified width | | override ToString() | Returns a string representation of this "Dimensions" | | operator == | Checks whether two "Dimensions" values are equal, i.e. they have equal width and height, or both are empty | | operator != | Checks whether two "Dimensions" values are not equal, i.e. their corresponding width and/or height are different | ### Area Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/area.md #### Dimensions.Area property Returns an area (Width x Height) ```csharp public uint Area { get; } ``` ### AspectRatio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/aspectratio.md #### Dimensions.AspectRatio property Aspect ratio of this dimensions as width/height ```csharp public Ratio AspectRatio { get; } ``` ### Clone Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/clone.md #### Dimensions.Clone method Returns a full copy of this instance ```csharp public Dimensions Clone() ``` ##### Return Value New instance, that is a full and deep copy of this one ### Dimensions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/dimensions.md #### Dimensions constructor Creates a new instance from specified width and height. ```csharp public Dimensions(ushort width, ushort height) ``` | Parameter | Type | Description | | --- | --- | --- | | width | UInt16 | Width of image | | height | UInt16 | Height of image | ### Empty Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/empty.md #### Dimensions.Empty property Returns an empty Dimensions instance ```csharp public static Dimensions Empty { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/equals.md #### Equals(Dimensions) Determines whether this instance is equal with specified "Dimensions" instance ```csharp public bool Equals(Dimensions other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Dimensions | Other "Dimensions" instance to check on equality | ##### Return Value True if are equal, false if are not equal #### Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another "Dimensions" instance ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other object, that is presumably of "Dimensions" type, that should be checked on equality with this | ##### Return Value True if are equal, false if are not equal ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/gethashcode.md #### Dimensions.GetHashCode method Returns a hashcode for this instance, which cannot be changed during its lifetime ```csharp public override int GetHashCode() ``` ##### Return Value Immutable (for this instance) hash-code as signed 4-byte integer ### Height Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/height.md #### Dimensions.Height property Returns height of the image. ```csharp public ushort Height { get; } ``` ### IsEmpty Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/isempty.md #### Dimensions.IsEmpty property Determines whether this "Dimensions" instance is empty and default, i.e. it doesn't store correct width and height ```csharp public bool IsEmpty { get; } ``` ### IsSquare Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/issquare.md #### Dimensions.IsSquare property Determines whether specified 'Dimensions' represents square, i.e. if width is equal to height ```csharp public bool IsSquare { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/op_equality.md #### Dimensions Equality operator Checks whether two "Dimensions" values are equal, i.e. they have equal width and height, or both are empty ```csharp public static bool operator ==(Dimensions first, Dimensions second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | Dimensions | First instance to check | | second | Dimensions | Second instance to check | ##### Return Value True if are equal, false if are not equal ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/op_inequality.md #### Dimensions Inequality operator Checks whether two "Dimensions" values are not equal, i.e. their corresponding width and/or height are different ```csharp public static bool operator !=(Dimensions first, Dimensions second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | Dimensions | First instance to check | | second | Dimensions | Second instance to check | ##### Return Value True if are unequal, false if are equal ### ProportionallyResizeForNewHeight Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/proportionallyresizefornewheight.md #### Dimensions.ProportionallyResizeForNewHeight method Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified height ```csharp public Dimensions ProportionallyResizeForNewHeight(ushort targetHeight) ``` | Parameter | Type | Description | | --- | --- | --- | | targetHeight | UInt16 | New target height, that will be present in resultant Dimension | ##### Return Value New "Dimensions" instance with specified target height and proportionally resized width ### ProportionallyResizeForNewWidth Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/proportionallyresizefornewwidth.md #### Dimensions.ProportionallyResizeForNewWidth method Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified width ```csharp public Dimensions ProportionallyResizeForNewWidth(ushort targetWidth) ``` | Parameter | Type | Description | | --- | --- | --- | | targetWidth | UInt16 | New target width, that will be present in resultant Dimension | ##### Return Value New "Dimensions" instance with specified target width and proportionally resized height ### ToString Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/tostring.md #### Dimensions.ToString method Returns a string representation of this "Dimensions" ```csharp public override string ToString() ``` ##### Return Value String instance, that contains a width and height in W:(width)×H:(height) format ##### Examples W640×H480 ### Width Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/dimensions/width.md #### Dimensions.Width property Returns width of the image ```csharp public ushort Width { get; } ``` ### IImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/iimage.md #### IImage interface Image CSS data type represents a two-dimensional image ```csharp public interface IImage ``` ##### Remarks https://developer.mozilla.org/en-US/docs/Web/CSS/image CSS reference declares 4 types of images, that can be handled: 1. Images with intrinsic dimensions (a natural size) and thus fixed aspect ratio, that includes all raster images. 2. Images with multiple intrinsic dimensions, existing in multiple versions inside a single file, that includes ICON (*.ico) files. This may be also TIFF, as they support multiple images inside one file, however TIFF format is not supported in web. 3. Images with no intrinsic dimensions but with an intrinsic aspect ratio between its width and height. This includes all vector images, SVG first of all. 4. Images with neither intrinsic dimensions, nor an intrinsic aspect ratio. This includes all gradients. ### IImageResource Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/iimageresource.md #### IImageResource interface Represents image resource of any type, raster or vector ```csharp public interface IImageResource : IHtmlResource, IImage ``` #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | In implementing type should return an aspect ratio of particular image regardless of its type. Both vector and raster images have intrinsic aspect ratio between its width and height. | | LinearDimensions { get; } | In implementing type should return linear dimensions of the image. For raster images they are intrinsic dimensions in pixels. Vector images, in counterpart, have no fixed dimensions, but their metadata can contain some basic dimensions in different measurement units. | | Type { get; } | In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info | ##### Remarks https://developer.mozilla.org/en-US/docs/Web/CSS/image ### AspectRatio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/iimageresource/aspectratio.md #### IImageResource.AspectRatio property In implementing type should return an aspect ratio of particular image regardless of its type. Both vector and raster images have intrinsic aspect ratio between its width and height. ```csharp public Ratio AspectRatio { get; } ``` ### LinearDimensions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/iimageresource/lineardimensions.md #### IImageResource.LinearDimensions property In implementing type should return linear dimensions of the image. For raster images they are intrinsic dimensions in pixels. Vector images, in counterpart, have no fixed dimensions, but their metadata can contain some basic dimensions in different measurement units. ```csharp public Dimensions LinearDimensions { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/iimageresource/type.md #### IImageResource.Type property In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info ```csharp public ImageType Type { get; } ``` ### ImageType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype.md #### ImageType structure Represents one supportable image type (format), supports both raster and vector formats ```csharp public struct ImageType : IEquatable, IResourceType ``` #### Properties | Name | Description | | --- | --- | | static Bmp { get; } | BMP image type | | static Emf { get; } | EMF (Enhanced MetaFile) vector image type | | static Gif { get; } | GIF image type | | static Icon { get; } | ICON image type | | static Jpeg { get; } | JPEG image type | | static Png { get; } | PNG image type | | static Svg { get; } | SVG vector image type | | static Tiff { get; } | TIFF (Tagged Image File Format) raster image type | | static Undefined { get; } | Undefined image type - special value, which should not normally occur | | static Wmf { get; } | WMF (Windows MetaFile) vector image type | | FileExtension { get; } | File extension (without leading dot character) of a particular image type in lower case. For the Undefined type returns a string 'unsefined'. | | FormalName { get; } | Returns a formal name of this image format. Never reurns NULL. If instance is not corrupted, never throws an exception. | | IsVector { get; } | Indicates whether this particular format is vector (true) or raster (false) | | MimeCode { get; } | MIME code of a particular image type as a string. For the Undefined type returns a string 'unsefined'. | #### Methods | Name | Description | | --- | --- | | static ParseFromFilenameWithExtension(string) | Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename | | static ParseFromMime(string) | Returns ImageType value, which is equivalent of specified MIME code | | Equals(ImageType) | Determines whether this instance is equal with specified "ImageType" instance | | override Equals(object) | Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance | | override GetHashCode() | Returns a hash-code, which is an immutable number for this specific instance | | override ToString() | Returns a FormalName property | | operator == | Defines whether two specific ImageType instances are equal | | operator != | Defines whether two specific ImageType instances are not equal | ### Bmp Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/bmp.md #### ImageType.Bmp property BMP image type ```csharp public static ImageType Bmp { get; } ``` ### Emf Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/emf.md #### ImageType.Emf property EMF (Enhanced MetaFile) vector image type ```csharp public static ImageType Emf { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/equals.md #### Equals(ImageType) Determines whether this instance is equal with specified "ImageType" instance ```csharp public bool Equals(ImageType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ImageType | Other ImageType instance to check on equality with this | ##### Return Value True if are equal, false if are unequal #### Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other System.Object instance, that is presumably of ImageType type, to check on equality with this | ##### Return Value True if are equal, false if are unequal ### FileExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/fileextension.md #### ImageType.FileExtension property File extension (without leading dot character) of a particular image type in lower case. For the Undefined type returns a string 'unsefined'. ```csharp public string FileExtension { get; } ``` ### FormalName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/formalname.md #### ImageType.FormalName property Returns a formal name of this image format. Never reurns NULL. If instance is not corrupted, never throws an exception. ```csharp public string FormalName { get; } ``` ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/gethashcode.md #### ImageType.GetHashCode method Returns a hash-code, which is an immutable number for this specific instance ```csharp public override int GetHashCode() ``` ##### Return Value Signed 4-byte integer ### Gif Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/gif.md #### ImageType.Gif property GIF image type ```csharp public static ImageType Gif { get; } ``` ### Icon Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/icon.md #### ImageType.Icon property ICON image type ```csharp public static ImageType Icon { get; } ``` ### IsVector Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/isvector.md #### ImageType.IsVector property Indicates whether this particular format is vector (true) or raster (false) ```csharp public bool IsVector { get; } ``` ### Jpeg Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/jpeg.md #### ImageType.Jpeg property JPEG image type ```csharp public static ImageType Jpeg { get; } ``` ### MimeCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/mimecode.md #### ImageType.MimeCode property MIME code of a particular image type as a string. For the Undefined type returns a string 'unsefined'. ```csharp public string MimeCode { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/op_equality.md #### ImageType Equality operator Defines whether two specific ImageType instances are equal ```csharp public static bool operator ==(ImageType first, ImageType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | ImageType | First ImageType instance to check | | second | ImageType | Second ImageType instance to check | ##### Return Value True if are equal, false if are unequal ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/op_inequality.md #### ImageType Inequality operator Defines whether two specific ImageType instances are not equal ```csharp public static bool operator !=(ImageType first, ImageType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | ImageType | First ImageType instance to check | | second | ImageType | Second ImageType instance to check | ##### Return Value True if are unequal, false if are equal ### ParseFromFilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/parsefromfilenamewithextension.md #### ImageType.ParseFromFilenameWithExtension method Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename ```csharp public static ImageType ParseFromFilenameWithExtension(string filename) ``` | Parameter | Type | Description | | --- | --- | --- | | filename | String | Arbitrary filename, can be a relative or full path | ##### Return Value ImageType value. Returns ImageType.Undefined, if extension cannot be recognized. ### ParseFromMime Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/parsefrommime.md #### ImageType.ParseFromMime method Returns ImageType value, which is equivalent of specified MIME code ```csharp public static ImageType ParseFromMime(string mimeCode) ``` | Parameter | Type | Description | | --- | --- | --- | | mimeCode | String | Arbitrary MIME-code | ##### Return Value ImageType value. Returns ImageType.Undefined, if extension cannot be recognized. ### Png Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/png.md #### ImageType.Png property PNG image type ```csharp public static ImageType Png { get; } ``` ### Svg Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/svg.md #### ImageType.Svg property SVG vector image type ```csharp public static ImageType Svg { get; } ``` ### Tiff Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/tiff.md #### ImageType.Tiff property TIFF (Tagged Image File Format) raster image type ```csharp public static ImageType Tiff { get; } ``` ### ToString Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/tostring.md #### ImageType.ToString method Returns a FormalName property ```csharp public override string ToString() ``` ### Undefined Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/undefined.md #### ImageType.Undefined property Undefined image type - special value, which should not normally occur ```csharp public static ImageType Undefined { get; } ``` ### Wmf Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.images/imagetype/wmf.md #### ImageType.Wmf property WMF (Windows MetaFile) vector image type ```csharp public static ImageType Wmf { get; } ``` ### GroupDocs.Editor.HtmlCss.Resources.Textual Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual.md The GroupDocs.Editor.HtmlCss.Resources.Textual namespace provides classes that represent text resources. #### Classes | Class | Description | | --- | --- | | CssText | Represents one CSS textual resource | | TextResourceBase | Base class for any supported text resource with text content and encoding | | XmlText | Represents one textual resource, which is a XML. | #### Structures | Structure | Description | | --- | --- | | TextType | Represents one supportable textual resource type | ### CssText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/csstext.md #### CssText class Represents one CSS textual resource ```csharp public sealed class CssText : TextResourceBase ``` #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this text resource as byte stream with original encoding | | Encoding { get; } | Returns encoding of this textual resource. Usually returns UTF-8. | | FilenameWithExtension { get; } | Returns correct filename of this text resource, which consists of name and extension | | IsDisposed { get; } | Determines whether this text resource is disposed or not | | Name { get; } | Returns name of this text resource without file extension | | TextContent { get; } | Returns content of this text resource as a standard string | | override Type { get; } | Returns TextType.Css | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this text resource, disposing its content and making most methods and properties non-working. Tolerant to multiple calls. | | Equals(IHtmlResource) | Checks this instance with specified on equality. | | Save(string) | Saves this text resource to the specified file | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this text resource is disposed | ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/csstext/type.md #### CssText.Type property Returns TextType.Css ```csharp public override TextType Type { get; } ``` ### TextResourceBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase.md #### TextResourceBase class Base class for any supported text resource with text content and encoding ```csharp public abstract class TextResourceBase : IHtmlResource ``` #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this text resource as byte stream with original encoding | | Encoding { get; } | Returns encoding of this textual resource. Usually returns UTF-8. | | FilenameWithExtension { get; } | Returns correct filename of this text resource, which consists of name and extension | | IsDisposed { get; } | Determines whether this text resource is disposed or not | | Name { get; } | Returns name of this text resource without file extension | | TextContent { get; } | Returns content of this text resource as a standard string | | abstract Type { get; } | In implementing type should return information about type of the text resource | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this text resource, disposing its content and making most methods and properties non-working. Tolerant to multiple calls. | | Equals(IHtmlResource) | Checks this instance with specified on equality. | | Save(string) | Saves this text resource to the specified file | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this text resource is disposed | ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/bytecontent.md #### TextResourceBase.ByteContent property Returns content of this text resource as byte stream with original encoding ```csharp public Stream ByteContent { get; } ``` ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/dispose.md #### TextResourceBase.Dispose method Disposes this text resource, disposing its content and making most methods and properties non-working. Tolerant to multiple calls. ```csharp public void Dispose() ``` ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/disposed.md #### TextResourceBase.Disposed event Event, which occurs when this text resource is disposed ```csharp public event EventHandler Disposed; ``` ### Encoding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/encoding.md #### TextResourceBase.Encoding property Returns encoding of this textual resource. Usually returns UTF-8. ```csharp public Encoding Encoding { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/equals.md #### TextResourceBase.Equals method Checks this instance with specified on equality. ```csharp public bool Equals(IHtmlResource other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other HTML resource of unknown type, that is also presumable TextResourceBase inheritor | ##### Return Value Returns true if are equal, or false if are unequal ### FilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/filenamewithextension.md #### TextResourceBase.FilenameWithExtension property Returns correct filename of this text resource, which consists of name and extension ```csharp public string FilenameWithExtension { get; } ``` ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/isdisposed.md #### TextResourceBase.IsDisposed property Determines whether this text resource is disposed or not ```csharp public bool IsDisposed { get; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/name.md #### TextResourceBase.Name property Returns name of this text resource without file extension ```csharp public string Name { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/save.md #### TextResourceBase.Save method Saves this text resource to the specified file ```csharp public void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created or rewritten if already exists | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/textcontent.md #### TextResourceBase.TextContent property Returns content of this text resource as a standard string ```csharp public string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/textresourcebase/type.md #### TextResourceBase.Type property In implementing type should return information about type of the text resource ```csharp public abstract TextType Type { get; } ``` ### TextType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype.md #### TextType structure Represents one supportable textual resource type ```csharp public struct TextType : IEquatable, IResourceType ``` #### Properties | Name | Description | | --- | --- | | static Css { get; } | CSS type of the textual resource | | static Undefined { get; } | Special value, which marks undefined, unknown or unsupported textual resource | | static Xml { get; } | XML type of the textual resource | | FileExtension { get; } | File extension (without leading dot character) of a particular textual resource | | FormalName { get; } | Returns a formal name of this textual resource type | | MimeCode { get; } | MIME code of a particular textual resource type | #### Methods | Name | Description | | --- | --- | | static ParseFromFilenameWithExtension(string) | Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename with extension or pure extension | | override Equals(object) | Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance | | Equals(TextType) | Determines whether this instance is equal with specified "TextType" instance | | override GetHashCode() | Returns a hash-code, which is a constant number for this specific value type | | operator == | Defines whether two specific "TextType" instances are equal | | operator != | Defines whether two specific "TextType" instances are not equal | ### Css Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/css.md #### TextType.Css property CSS type of the textual resource ```csharp public static TextType Css { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/equals.md #### Equals(TextType) Determines whether this instance is equal with specified "TextType" instance ```csharp public bool Equals(TextType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | TextType | Other TextType instance, that should be compared with this on equality | ##### Return Value Returns true if are equal or false if are unequal #### Equals(object) Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Other TextType instance, that is boxed to object | ##### Return Value Returns true if are equal or false if are unequal ### FileExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/fileextension.md #### TextType.FileExtension property File extension (without leading dot character) of a particular textual resource ```csharp public string FileExtension { get; } ``` ### FormalName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/formalname.md #### TextType.FormalName property Returns a formal name of this textual resource type ```csharp public string FormalName { get; } ``` ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/gethashcode.md #### TextType.GetHashCode method Returns a hash-code, which is a constant number for this specific value type ```csharp public override int GetHashCode() ``` ##### Return Value Signed 4-byte integer number. Returns 0 if this instance has default value. ### MimeCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/mimecode.md #### TextType.MimeCode property MIME code of a particular textual resource type ```csharp public string MimeCode { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/op_equality.md #### TextType Equality operator Defines whether two specific "TextType" instances are equal ```csharp public static bool operator ==(TextType first, TextType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | TextType | First TextType instance | | second | TextType | Second TextType instance | ##### Return Value Returns true if are equal or false if are unequal ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/op_inequality.md #### TextType Inequality operator Defines whether two specific "TextType" instances are not equal ```csharp public static bool operator !=(TextType first, TextType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | TextType | First TextType instance | | second | TextType | Second TextType instance | ##### Return Value Returns true if are unequal or false if are equal ### ParseFromFilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/parsefromfilenamewithextension.md #### TextType.ParseFromFilenameWithExtension method Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename with extension or pure extension ```csharp public static TextType ParseFromFilenameWithExtension(string filename) ``` | Parameter | Type | Description | | --- | --- | --- | | filename | String | Filename with extension, can be relative or absolute path, or pure extension itself | ##### Return Value Parsed TextType instance on success or TextType.Undefined on failure ### Undefined Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/undefined.md #### TextType.Undefined property Special value, which marks undefined, unknown or unsupported textual resource ```csharp public static TextType Undefined { get; } ``` ### Xml Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/texttype/xml.md #### TextType.Xml property XML type of the textual resource ```csharp public static TextType Xml { get; } ``` ### XmlText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/xmltext.md #### XmlText class Represents one textual resource, which is a XML. ```csharp public sealed class XmlText : TextResourceBase ``` #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Returns content of this text resource as byte stream with original encoding | | Encoding { get; } | Returns encoding of this textual resource. Usually returns UTF-8. | | FilenameWithExtension { get; } | Returns correct filename of this text resource, which consists of name and extension | | IsDisposed { get; } | Determines whether this text resource is disposed or not | | Name { get; } | Returns name of this text resource without file extension | | ParsedDocument { get; } | Returns an "XmlDocument" from this XML resource | | TextContent { get; } | Returns content of this text resource as a standard string | | override Type { get; } | Returns TextType.Xml | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this text resource, disposing its content and making most methods and properties non-working. Tolerant to multiple calls. | | Equals(IHtmlResource) | Checks this instance with specified on equality. | | Save(string) | Saves this text resource to the specified file | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this text resource is disposed | ### ParsedDocument Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/xmltext/parseddocument.md #### XmlText.ParsedDocument property Returns an "XmlDocument" from this XML resource ```csharp public XmlDocument ParsedDocument { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.textual/xmltext/type.md #### XmlText.Type property Returns TextType.Xml ```csharp public override TextType Type { get; } ``` ### GroupDocs.Editor.HtmlCss.Resources Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources.md The GroupDocs.Editor.HtmlCss.Resources namespace provides classes that represent all kinds of the HTML resources. #### Classes | Class | Description | | --- | --- | | ResourceTypeDetector | Utility static methods for detecting resource types (formats) | #### Interfaces | Interface | Description | | --- | --- | | IAuxDisposable | Expands the standard IDisposable interface, allows to obtain a current state of an object and subscribe to the disposing event | | IHtmlResource | Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML), audio etc.) | | IResourceType | Represents one instance of the unknown resource type/format (image, font, text) | ### IAuxDisposable Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/iauxdisposable.md #### IAuxDisposable interface Expands the standard IDisposable interface, allows to obtain a current state of an object and subscribe to the disposing event ```csharp public interface IAuxDisposable : IDisposable ``` #### Properties | Name | Description | | --- | --- | | IsDisposed { get; } | Determines whether a resource is closed (true) or not (false) | #### Events | Name | Description | | --- | --- | | event Disposed | Occurs when object is disposed | ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/iauxdisposable/disposed.md #### IAuxDisposable.Disposed event Occurs when object is disposed ```csharp public event EventHandler Disposed; ``` ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/iauxdisposable/isdisposed.md #### IAuxDisposable.IsDisposed property Determines whether a resource is closed (true) or not (false) ```csharp public bool IsDisposed { get; } ``` ### IHtmlResource Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/ihtmlresource.md #### IHtmlResource interface Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML), audio etc.) ```csharp public interface IHtmlResource : IAuxDisposable, IEquatable ``` #### Properties | Name | Description | | --- | --- | | ByteContent { get; } | Content of the HTML resource in a form of a byte stream | | FilenameWithExtension { get; } | Correct filename of the specified resource with appropriate file extension | | Name { get; } | Name of the HTML resource | | TextContent { get; } | Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources | | Type { get; } | Type of the HTML resource | #### Methods | Name | Description | | --- | --- | | Save(string) | Saves a current resource to the specified file | ### ByteContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/ihtmlresource/bytecontent.md #### IHtmlResource.ByteContent property Content of the HTML resource in a form of a byte stream ```csharp public Stream ByteContent { get; } ``` ### FilenameWithExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/ihtmlresource/filenamewithextension.md #### IHtmlResource.FilenameWithExtension property Correct filename of the specified resource with appropriate file extension ```csharp public string FilenameWithExtension { get; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/ihtmlresource/name.md #### IHtmlResource.Name property Name of the HTML resource ```csharp public string Name { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/ihtmlresource/save.md #### IHtmlResource.Save method Saves a current resource to the specified file ```csharp public void Save(string fullPathToFile) ``` | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | String | Full path to the file, which will be created or rewritten with the content of a current resource | ### TextContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/ihtmlresource/textcontent.md #### IHtmlResource.TextContent property Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources ```csharp public string TextContent { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/ihtmlresource/type.md #### IHtmlResource.Type property Type of the HTML resource ```csharp public IResourceType Type { get; } ``` ### IResourceType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/iresourcetype.md #### IResourceType interface Represents one instance of the unknown resource type/format (image, font, text) ```csharp public interface IResourceType ``` #### Properties | Name | Description | | --- | --- | | FileExtension { get; } | File extension for the specified resource type without dot divider | | FormalName { get; } | Formal name of the resource type | | MimeCode { get; } | MIME code for the specific resource type | ### FileExtension Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/iresourcetype/fileextension.md #### IResourceType.FileExtension property File extension for the specified resource type without dot divider ```csharp public string FileExtension { get; } ``` ### FormalName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/iresourcetype/formalname.md #### IResourceType.FormalName property Formal name of the resource type ```csharp public string FormalName { get; } ``` ### MimeCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/iresourcetype/mimecode.md #### IResourceType.MimeCode property MIME code for the specific resource type ```csharp public string MimeCode { get; } ``` ### ResourceTypeDetector Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/resourcetypedetector.md #### ResourceTypeDetector class Utility static methods for detecting resource types (formats) ```csharp public static class ResourceTypeDetector ``` #### Methods | Name | Description | | --- | --- | | static DetectTypeFromFilename(string) | Detects a type from specified filename and returns an instance of respective IResourceType | | static TryDetectResource(Stream, string, IResourceType) | Tries to analyze an input stream and creates one of supportable HTML resources from it, taking into account a specified assumptive type, if it is not null | ### DetectTypeFromFilename Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/resourcetypedetector/detecttypefromfilename.md #### ResourceTypeDetector.DetectTypeFromFilename method Detects a type from specified filename and returns an instance of respective IResourceType ```csharp public static IResourceType DetectTypeFromFilename(string filename) ``` | Parameter | Type | Description | | --- | --- | --- | | filename | String | Input filename, from which this method will try to extract the resultant IResourceType implementation | ##### Return Value IResourceType implementation on success or NULL on failure ### TryDetectResource Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.resources/resourcetypedetector/trydetectresource.md #### ResourceTypeDetector.TryDetectResource method Tries to analyze an input stream and creates one of supportable HTML resources from it, taking into account a specified assumptive type, if it is not null ```csharp public static IHtmlResource TryDetectResource(Stream inputResourceStream, string name, IResourceType assumptiveFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | inputResourceStream | Stream | Input stream, which presumably contains an HTML resource. If invalid, an exception will be thrown. | | name | String | Resource name, which will be used for created and returned resource on success. Cannot be NULL, empty or whitespace | | assumptiveFormat | IResourceType | Assumed format of the input HTML resource, which is useful for achieving the best performance. If completely unknown, use the NULL value. May be incorrect, this will only worsen the performance. | ##### Return Value Instance, which implements 'IHtmlResource' interface and represents one of supportable HTML resources on success, or NULL on failure ### GroupDocs.Editor.HtmlCss.Serialization Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization.md The GroupDocs.Editor.HtmlCss.Serialization namespace provides types, that are responsible for tuning HTML and CSS markup serialization process. #### Structures | Structure | Description | | --- | --- | | QuoteType | Represents quote characters - single quote (') and double quote (") | #### Enumeration | Enumeration | Description | | --- | --- | | TagRenderingCase | Represents different types of serialization the HTML tag names | ### QuoteType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype.md #### QuoteType structure Represents quote characters - single quote (') and double quote (") ```csharp public struct QuoteType : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Character { get; } | Character to enquote | | Code { get; } | Code point of the current character (U+0027 or U+0022) | | HtmlEncoded { get; } | HTML-encoded character | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Indicates whether this instance of the quote type is equal to specified uncasted | | Equals(QuoteType) | Indicates whether this instance of the quote type is equal to specified | | override GetHashCode() | Returns a hash-code for this character | | override ToString() | Returns a "SingleQuote" or "DoubleQuote" string depending on the current value | | operator == | Checks whether two "QuoteType" values are equal | | explicit operator | Casts specified `QuoteType` instance to the Char (2 operators) | | operator != | Checks whether two "QuoteType" values are not equal | #### Fields | Name | Description | | --- | --- | | static readonly DoubleQuote | Double quote (U+0022 QUOTATION MARK character) | | static readonly SingleQuote | Single quote (U+0027 APOSTROPHE character) | ### Character Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/character.md #### QuoteType.Character property Character to enquote ```csharp public char Character { get; } ``` ### Code Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/code.md #### QuoteType.Code property Code point of the current character (U+0027 or U+0022) ```csharp public int Code { get; } ``` ### DoubleQuote Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/doublequote.md #### QuoteType.DoubleQuote field Double quote (U+0022 QUOTATION MARK character) ```csharp public static readonly QuoteType DoubleQuote; ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/equals.md #### Equals(QuoteType) Indicates whether this instance of the quote type is equal to specified ```csharp public bool Equals(QuoteType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | QuoteType | Other instance of QuoteType to check | ##### Return Value true if are equal, false if are unequal #### Equals(object) Indicates whether this instance of the quote type is equal to specified uncasted ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Uncasted object, expected to be of `QuoteType` type | ##### Return Value true if are equal, false if are unequal ### GetHashCode Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/gethashcode.md #### QuoteType.GetHashCode method Returns a hash-code for this character ```csharp public override int GetHashCode() ``` ##### Return Value Hash-code as an signed integer ### HtmlEncoded Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/htmlencoded.md #### QuoteType.HtmlEncoded property HTML-encoded character ```csharp public string HtmlEncoded { get; } ``` ### op_Equality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/op_equality.md #### QuoteType Equality operator Checks whether two "QuoteType" values are equal ```csharp public static bool operator ==(QuoteType first, QuoteType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | QuoteType | First value to check | | second | QuoteType | Second value to check | ##### Return Value true if are equal, false otherwise ### op_Explicit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/op_explicit.md #### explicit operator Casts specified `QuoteType` instance to the Char ```csharp public static explicit operator char(QuoteType quote) ``` | Parameter | Type | Description | | --- | --- | --- | | quote | QuoteType | Quote type instance to cast | #### explicit operator Casts specific Char to the corresponding `QuoteType`, throws exception if casting is invalid ```csharp public static explicit operator QuoteType(char character) ``` | Parameter | Type | Description | | --- | --- | --- | | character | Char | A single quote (U+0027 APOSTROPHE) or double quote (U+0022 QUOTATION MARK) character. Exception will be thrown if any other character will be specified. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Specified Char is not either a quotation mark or apostrophe | ### op_Inequality Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/op_inequality.md #### QuoteType Inequality operator Checks whether two "QuoteType" values are not equal ```csharp public static bool operator !=(QuoteType first, QuoteType second) ``` | Parameter | Type | Description | | --- | --- | --- | | first | QuoteType | First value to check | | second | QuoteType | Second value to check | ##### Return Value false if are equal, true otherwise ### SingleQuote Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/singlequote.md #### QuoteType.SingleQuote field Single quote (U+0027 APOSTROPHE character) ```csharp public static readonly QuoteType SingleQuote; ``` ### ToString Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/quotetype/tostring.md #### QuoteType.ToString method Returns a "SingleQuote" or "DoubleQuote" string depending on the current value ```csharp public override string ToString() ``` ### TagRenderingCase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.htmlcss.serialization/tagrenderingcase.md #### TagRenderingCase enumeration Represents different types of serialization the HTML tag names ```csharp public enum TagRenderingCase ``` ##### Values | Name | Value | Description | | --- | --- | --- | | LowerCase | `0` | all-lower - all letters in the tag name will be serialized in lower case | | UpperCase | `1` | ALL-CAPITAL - all letters in the tag name will be serialized in UPPER case | | FirstLetterUpperCase | `2` | First letter in the tag name will be serialized in Upper case, while all others - in lower. | ### GroupDocs.Editor.Metadata Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata.md The GroupDocs.Editor.Metadata namespace provides classes for describing basic document properties dependent on document type. #### Structures | Structure | Description | | --- | --- | | EbookDocumentInfo | Represents metadata of one e-Book document | | EmailDocumentInfo | Represents metadata of one email document of any supported email format | | FixedLayoutDocumentInfo | Represents metadata of one document with fixed layout format like PDF or XPS | | MarkdownDocumentInfo | Represents metadata of one Markdown document | | PresentationDocumentInfo | Represents metadata of one Presentation document | | SpreadsheetDocumentInfo | Represents metadata of one Spreadsheet document | | TextualDocumentInfo | Represents metadata of one textual document like XML, HTML or plain text (TXT) | | WordProcessingDocumentInfo | Represents metadata of one WordProcessing document | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Common interface for all file metadata wrappers | ### EbookDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/ebookdocumentinfo.md #### EbookDocumentInfo structure Represents metadata of one e-Book document ```csharp public struct EbookDocumentInfo : IDocumentInfo, IEquatable ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Returns a format of this e-Book | | IsEncrypted { get; } | Because e-Book documents cannot be encrypted with password, this property always returns 'false' | | PageCount { get; } | Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub. | | Size { get; } | Returns size in bytes of this eBook document | #### Methods | Name | Description | | --- | --- | | Equals(EbookDocumentInfo) | Determines whether this instance is equal to the other specified EbookDocumentInfo instance | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/ebookdocumentinfo/equals.md #### EbookDocumentInfo.Equals method Determines whether this instance is equal to the other specified EbookDocumentInfo instance ```csharp public bool Equals(EbookDocumentInfo other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | EbookDocumentInfo | Other EbookDocumentInfo instance, that should be checked on equality with this | ##### Return Value True if are equal, false if are unequal ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/ebookdocumentinfo/format.md #### EbookDocumentInfo.Format property Returns a format of this e-Book ```csharp public DocumentFormatBase Format { get; } ``` ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/ebookdocumentinfo/isencrypted.md #### EbookDocumentInfo.IsEncrypted property Because e-Book documents cannot be encrypted with password, this property always returns 'false' ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/ebookdocumentinfo/pagecount.md #### EbookDocumentInfo.PageCount property Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub. ```csharp public int PageCount { get; } ``` ##### Remarks e-Book documents usually have no fixed pages and thus page count. In case of ePub it is possible to calculate a number of chapters. However, the MOBI and AZW3 formats have no chapters either, so this number is calculated from standard page size set to A4 in portrait orientation. ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/ebookdocumentinfo/size.md #### EbookDocumentInfo.Size property Returns size in bytes of this eBook document ```csharp public long Size { get; } ``` ### EmailDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/emaildocumentinfo.md #### EmailDocumentInfo structure Represents metadata of one email document of any supported email format ```csharp public struct EmailDocumentInfo : IDocumentInfo, IEquatable ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Returns a format of this email document | | IsEncrypted { get; } | Because email documents cannot be encrypted with password, this property always returns 'false' | | PageCount { get; } | Always returs 1, because email documents don't have paged view | | Size { get; } | Returns size in bytes of this email document | #### Methods | Name | Description | | --- | --- | | Equals(EmailDocumentInfo) | Determines whether this instance is equal to the other specified EmailDocumentInfo instance | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/emaildocumentinfo/equals.md #### EmailDocumentInfo.Equals method Determines whether this instance is equal to the other specified EmailDocumentInfo instance ```csharp public bool Equals(EmailDocumentInfo other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | EmailDocumentInfo | Other EmailDocumentInfo instance, that should be checked on equality with this | ##### Return Value True if are equal, false if are unequal ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/emaildocumentinfo/format.md #### EmailDocumentInfo.Format property Returns a format of this email document ```csharp public DocumentFormatBase Format { get; } ``` ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/emaildocumentinfo/isencrypted.md #### EmailDocumentInfo.IsEncrypted property Because email documents cannot be encrypted with password, this property always returns 'false' ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/emaildocumentinfo/pagecount.md #### EmailDocumentInfo.PageCount property Always returs 1, because email documents don't have paged view ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/emaildocumentinfo/size.md #### EmailDocumentInfo.Size property Returns size in bytes of this email document ```csharp public long Size { get; } ``` ### FixedLayoutDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/fixedlayoutdocumentinfo.md #### FixedLayoutDocumentInfo structure Represents metadata of one document with fixed layout format like PDF or XPS ```csharp public struct FixedLayoutDocumentInfo : IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Returns a format of this fixed-layout format document | | IsEncrypted { get; } | Determines whether this specific fixed-layout format document in encrypted and requires password for opening | | PageCount { get; } | Returns number of pages | | Size { get; } | Returns size in bytes of this fixed-layout format document | #### Methods | Name | Description | | --- | --- | | Equals(FixedLayoutDocumentInfo) | Determines whether this instance is equal to the other specified FixedLayoutDocumentInfo instance | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/equals.md #### FixedLayoutDocumentInfo.Equals method Determines whether this instance is equal to the other specified FixedLayoutDocumentInfo instance ```csharp public bool Equals(FixedLayoutDocumentInfo other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FixedLayoutDocumentInfo | Other FixedLayoutDocumentInfo instance, that should be checked on equality with this | ##### Return Value True if are equal, false if are unequal ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/format.md #### FixedLayoutDocumentInfo.Format property Returns a format of this fixed-layout format document ```csharp public DocumentFormatBase Format { get; } ``` ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/isencrypted.md #### FixedLayoutDocumentInfo.IsEncrypted property Determines whether this specific fixed-layout format document in encrypted and requires password for opening ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/pagecount.md #### FixedLayoutDocumentInfo.PageCount property Returns number of pages ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/size.md #### FixedLayoutDocumentInfo.Size property Returns size in bytes of this fixed-layout format document ```csharp public long Size { get; } ``` ### IDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/idocumentinfo.md #### IDocumentInfo interface Common interface for all file metadata wrappers ```csharp public interface IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | In implementing type should return a document format as a single value from a type, that represents one format family and inherits from IDocumentFormat interface | | IsEncrypted { get; } | Indicates whether specific file is encrypted and requires password for opening. For the document types, that cannot be encrypted (like all text-based) should always return 'false'. | | PageCount { get; } | In implementing type should return count (number) of pages or other similar format-dependent entities (tabs, slides etc.). For those family types, that don't have something similar (like plain text documents or XML) should return 1. | | Size { get; } | Document size in bytes | ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/idocumentinfo/format.md #### IDocumentInfo.Format property In implementing type should return a document format as a single value from a type, that represents one format family and inherits from IDocumentFormat interface ```csharp public DocumentFormatBase Format { get; } ``` ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/idocumentinfo/isencrypted.md #### IDocumentInfo.IsEncrypted property Indicates whether specific file is encrypted and requires password for opening. For the document types, that cannot be encrypted (like all text-based) should always return 'false'. ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/idocumentinfo/pagecount.md #### IDocumentInfo.PageCount property In implementing type should return count (number) of pages or other similar format-dependent entities (tabs, slides etc.). For those family types, that don't have something similar (like plain text documents or XML) should return 1. ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/idocumentinfo/size.md #### IDocumentInfo.Size property Document size in bytes ```csharp public long Size { get; } ``` ### MarkdownDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/markdowndocumentinfo.md #### MarkdownDocumentInfo structure Represents metadata of one Markdown document ```csharp public struct MarkdownDocumentInfo : IDocumentInfo, IEquatable ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Returns a format of this Markdown document — always is `Md` | | IsEncrypted { get; } | Because Markdown documents cannot be encrypted with password, this property always returns ``false`' | | PageCount { get; } | Returns number of pages. Markdown documents usually have no fixed pages and thus page count, so this number is calculated from standard page size set to A4 in portrait orientation. | | Size { get; } | Returns size in bytes of this Markdown document | #### Methods | Name | Description | | --- | --- | | Equals(MarkdownDocumentInfo) | Determines whether this instance is equal to the other specified `MarkdownDocumentInfo` instance. | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/markdowndocumentinfo/equals.md #### MarkdownDocumentInfo.Equals method Determines whether this instance is equal to the other specified `MarkdownDocumentInfo` instance. ```csharp public bool Equals(MarkdownDocumentInfo other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | MarkdownDocumentInfo | Other `MarkdownDocumentInfo` instance, that should be checked on equality with this | ##### Return Value `true` if are equal, `false` if are unequal ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/markdowndocumentinfo/format.md #### MarkdownDocumentInfo.Format property Returns a format of this Markdown document — always is `Md` ```csharp public DocumentFormatBase Format { get; } ``` ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/markdowndocumentinfo/isencrypted.md #### MarkdownDocumentInfo.IsEncrypted property Because Markdown documents cannot be encrypted with password, this property always returns ``false`' ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/markdowndocumentinfo/pagecount.md #### MarkdownDocumentInfo.PageCount property Returns number of pages. Markdown documents usually have no fixed pages and thus page count, so this number is calculated from standard page size set to A4 in portrait orientation. ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/markdowndocumentinfo/size.md #### MarkdownDocumentInfo.Size property Returns size in bytes of this Markdown document ```csharp public long Size { get; } ``` ### PresentationDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/presentationdocumentinfo.md #### PresentationDocumentInfo structure Represents metadata of one Presentation document ```csharp public struct PresentationDocumentInfo : IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Returns a format of this Presentation document | | IsEncrypted { get; } | Indicates whether this specific Presentation document in encrypted and requires password for opening | | PageCount { get; } | Returns number of slides in this Presentation document | | Size { get; } | Returns size in bytes of this Presentation document | #### Methods | Name | Description | | --- | --- | | GeneratePreview(int) | Generates and returns a preview of the selected slide in a form of SVG image | ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/presentationdocumentinfo/format.md #### PresentationDocumentInfo.Format property Returns a format of this Presentation document ```csharp public PresentationFormats Format { get; } ``` ### GeneratePreview Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/presentationdocumentinfo/generatepreview.md #### PresentationDocumentInfo.GeneratePreview method Generates and returns a preview of the selected slide in a form of SVG image ```csharp public SvgImage GeneratePreview(int slideIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | slideIndex | Int32 | 0-based index of the desired slide. Cannot be lesser then 0, cannot exceed the number of slides in this presentation. | ##### Return Value SVG image as the non-null instance of the `SvgImage` class ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Specidied *slideIndex* is lesser then 0 or bigger then the number of slides in this presentation | ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/presentationdocumentinfo/isencrypted.md #### PresentationDocumentInfo.IsEncrypted property Indicates whether this specific Presentation document in encrypted and requires password for opening ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/presentationdocumentinfo/pagecount.md #### PresentationDocumentInfo.PageCount property Returns number of slides in this Presentation document ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/presentationdocumentinfo/size.md #### PresentationDocumentInfo.Size property Returns size in bytes of this Presentation document ```csharp public long Size { get; } ``` ### SpreadsheetDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/spreadsheetdocumentinfo.md #### SpreadsheetDocumentInfo structure Represents metadata of one Spreadsheet document ```csharp public struct SpreadsheetDocumentInfo : IDocumentInfo, IEquatable ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Returns a format of this Spreadsheet document | | IsEncrypted { get; } | Indicates whether this specific Spreadsheet document in encrypted and requires password for opening | | PageCount { get; } | Returns number of tabs | | Size { get; } | Returns size in bytes of this Spreadsheet document | #### Methods | Name | Description | | --- | --- | | Equals(SpreadsheetDocumentInfo) | Determines whether this instance is equal to the other specified SpreadsheetDocumentInfo instance | | GeneratePreview(int) | Generates and returns a preview of the selected worksheet in a form of SVG image | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/spreadsheetdocumentinfo/equals.md #### SpreadsheetDocumentInfo.Equals method Determines whether this instance is equal to the other specified SpreadsheetDocumentInfo instance ```csharp public bool Equals(SpreadsheetDocumentInfo other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | SpreadsheetDocumentInfo | Other SpreadsheetDocumentInfo instance, that should be checked on equality with this | ##### Return Value True if are equal, false if are unequal ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/spreadsheetdocumentinfo/format.md #### SpreadsheetDocumentInfo.Format property Returns a format of this Spreadsheet document ```csharp public SpreadsheetFormats Format { get; } ``` ### GeneratePreview Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/spreadsheetdocumentinfo/generatepreview.md #### SpreadsheetDocumentInfo.GeneratePreview method Generates and returns a preview of the selected worksheet in a form of SVG image ```csharp public SvgImage GeneratePreview(int worksheetIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | Int32 | 0-based index of the desired worksheet. Cannot be lesser then 0, cannot exceed the number of worksheets in this spreadsheet. | ##### Return Value SVG image as the non-null instance of the `SvgImage` class ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Specified *worksheetIndex* is lesser then 0 or bigger then the number of worksheets in this spreadsheet | ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/spreadsheetdocumentinfo/isencrypted.md #### SpreadsheetDocumentInfo.IsEncrypted property Indicates whether this specific Spreadsheet document in encrypted and requires password for opening ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/spreadsheetdocumentinfo/pagecount.md #### SpreadsheetDocumentInfo.PageCount property Returns number of tabs ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/spreadsheetdocumentinfo/size.md #### SpreadsheetDocumentInfo.Size property Returns size in bytes of this Spreadsheet document ```csharp public long Size { get; } ``` ### TextualDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/textualdocumentinfo.md #### TextualDocumentInfo structure Represents metadata of one textual document like XML, HTML or plain text (TXT) ```csharp public struct TextualDocumentInfo : IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Encoding { get; } | Returns detected presumable encoding of the text document | | Format { get; } | Returns a format of this textual document. May be not 100% correct in some cases. | | IsEncrypted { get; } | Always returns ``false``, as textual documents cannot be encrypted | | PageCount { get; } | Always returns 1 | | Size { get; } | Returns size in bytes (not the number of characters) of this textual document | ### Encoding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/textualdocumentinfo/encoding.md #### TextualDocumentInfo.Encoding property Returns detected presumable encoding of the text document ```csharp public Encoding Encoding { get; } ``` ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/textualdocumentinfo/format.md #### TextualDocumentInfo.Format property Returns a format of this textual document. May be not 100% correct in some cases. ```csharp public TextualFormats Format { get; } ``` ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/textualdocumentinfo/isencrypted.md #### TextualDocumentInfo.IsEncrypted property Always returns ``false``, as textual documents cannot be encrypted ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/textualdocumentinfo/pagecount.md #### TextualDocumentInfo.PageCount property Always returns 1 ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/textualdocumentinfo/size.md #### TextualDocumentInfo.Size property Returns size in bytes (not the number of characters) of this textual document ```csharp public long Size { get; } ``` ### WordProcessingDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/wordprocessingdocumentinfo.md #### WordProcessingDocumentInfo structure Represents metadata of one WordProcessing document ```csharp public struct WordProcessingDocumentInfo : IDocumentInfo, IEquatable ``` #### Properties | Name | Description | | --- | --- | | Format { get; } | Returns a format of this WordProcessing document | | IsEncrypted { get; } | Determines whether this specific WordProcessing document in encrypted and requires password for opening | | PageCount { get; } | Returns number of pages | | Size { get; } | Returns size in bytes of this WordProcessing document | #### Methods | Name | Description | | --- | --- | | Equals(WordProcessingDocumentInfo) | Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance | | GeneratePreview(int) | Generates and returns a preview of the selected page in a form of SVG image | ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/wordprocessingdocumentinfo/equals.md #### WordProcessingDocumentInfo.Equals method Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance ```csharp public bool Equals(WordProcessingDocumentInfo other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | WordProcessingDocumentInfo | Other WordProcessingDocumentInfo instance, that should be checked on equality with this | ##### Return Value True if are equal, false if are unequal ### Format Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/wordprocessingdocumentinfo/format.md #### WordProcessingDocumentInfo.Format property Returns a format of this WordProcessing document ```csharp public WordProcessingFormats Format { get; } ``` ### GeneratePreview Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/wordprocessingdocumentinfo/generatepreview.md #### WordProcessingDocumentInfo.GeneratePreview method Generates and returns a preview of the selected page in a form of SVG image ```csharp public SvgImage GeneratePreview(int pageIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | pageIndex | Int32 | 0-based index of the desired page. Cannot be lesser then 0, cannot exceed the number of pages in this WordProcessing document. | ##### Return Value SVG image as the non-null instance of the `SvgImage` class ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Specified *pageIndex* is lesser then 0 or bigger then the number of pages in this WordProcessing document | ### IsEncrypted Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/wordprocessingdocumentinfo/isencrypted.md #### WordProcessingDocumentInfo.IsEncrypted property Determines whether this specific WordProcessing document in encrypted and requires password for opening ```csharp public bool IsEncrypted { get; } ``` ### PageCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/wordprocessingdocumentinfo/pagecount.md #### WordProcessingDocumentInfo.PageCount property Returns number of pages ```csharp public int PageCount { get; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.metadata/wordprocessingdocumentinfo/size.md #### WordProcessingDocumentInfo.Size property Returns size in bytes of this WordProcessing document ```csharp public long Size { get; } ``` ### GroupDocs.Editor.Options Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options.md The GroupDocs.Editor.Options namespace provides interfaces for load and save options. #### Classes | Class | Description | | --- | --- | | DelimitedTextEditOptions | Options for loading text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) | | DelimitedTextSaveOptions | Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) | | EbookEditOptions | Allows to specify and adjust custom options for editing E-book documents in all supported formats: ePub, MOBI, and AZW3. | | EbookSaveOptions | Allows to specify custom options for generating and saving the document in all supportable e-Book formats: ePub, MOBI, and AZW3. | | EmailEditOptions | Allows to specify custom options for editing documents in the different electronic mail (email) formats | | EmailSaveOptions | Allows to specify custom options for generating and saving electronic mail (email) documents | | FixedLayoutEditOptionsBase | Base abstract class for the options for all documents of fixed-layout formats like PDF and XPS | | HtmlSaveOptions | Allows to specify custom options for saving the `EditableDocument` instance to the HTML format | | MarkdownEditOptions | Allows to specify custom options for editing documents in Markdown (MD) format | | MarkdownImageLoadArgs | Provides data for the ProcessImage event. | | MarkdownSaveOptions | Allows to specify custom options for generating and saving Markdown documents | | MhtmlSaveOptions | Allows to specify custom options for generating and saving the MHTML (MIME encapsulation of aggregate HTML documents) documents | | PdfEditOptions | Allows to specify custom options for editing PDF documents | | PdfLoadOptions | Contains options for loading PDF documents into Editor class | | PdfSaveOptions | Allows to specify custom options for generating and saving PDF (Portable Document Format) documents | | PresentationEditOptions | Allows to specify custom options for editing documents of all supportable Presentation (PowerPoint-compatible) formats | | PresentationLoadOptions | Allows to specify custom options for loading documents of all supportable Presentation formats like PPT(X), PPTM, PPS(X) etc. | | PresentationSaveOptions | Allows to specify custom options for generating and saving Presentation (PowerPoint-compatible) documents | | SpreadsheetEditOptions | Allows to specify custom options for editing documents of all supportable Spreadsheet (Excel-compatible) formats | | SpreadsheetLoadOptions | Contains options for loading binary Spreadsheet (Cells, Excel-compatible) documents like XLS(X), ODS etc. into Editor class | | SpreadsheetSaveOptions | Allows to specify custom options for generating and saving Spreadsheet (Excel-compliant) documents | | TextEditOptions | Allows to specify custom options for loading plain text (TXT) documents | | TextSaveOptions | Allows to specify custom options for generating and saving plain text (TXT) documents | | WebFont | Represents a font settings for the web | | WordProcessingEditOptions | Allows to specify custom options for editing documents of all supportable WordProcessing (Words-compliant) formats like DOC(X), RTF, ODT etc. | | WordProcessingLoadOptions | Contains options for loading WordProcessing (Word-compatible) documents like DOC(X), RTF, ODT etc. into Editor class | | WordProcessingProtection | Encapsulates document protection options for the WordProcessing document, which is generated from HTML | | WordProcessingSaveOptions | Allows to specify custom options for generating and saving WordProcessing-compliant documents after they were edited | | WorksheetProtection | Encapsulates worksheet protection options, which allow to protect a worksheet in the output Spreadsheet document from modification of specified type with a specified password. | | XmlEditOptions | Allows to specify custom options for editing XML (eXtensible Markup Language) documents and converting them to the HTML | | XmlFormatOptions | Contains options, that allow to adjust the formatting of XML document, when it is represented as HTML | | XmlHighlightOptions | Contains options, that allow to customize the XML highlighting during XML-to-HTML conversion | | XpsSaveOptions | Allows to specify custom options for generating and saving XPS (XML Paper Specifications) documents | #### Structures | Structure | Description | | --- | --- | | PageRange | Encapsulates one page range, which can have open or closed bounds. By default is "fully open" - it includes all existing pages. Page numbering starts from 1, not from 0. | #### Interfaces | Interface | Description | | --- | --- | | IEditOptions | Common interface for all options, which are responsible for document-to-HTML conversions. Declares no members. | | IHtmlSavingCallback | Interface, that is used while saving the to the HTML format and which must be implemented by the end-user in order to save the provided resource and returns a link to it | | ILoadOptions | Common interface for all option classes, responsible for loading documents of different type formats | | IMarkdownImageLoadCallback | Implement this interface if you want to control how GroupDocs.Editor load images when loading the file in Markdown format | | ISaveOptions | Interface for all saving options for all documents types. Declares no members. | #### Enumeration | Enumeration | Description | | --- | --- | | FontEmbeddingOptions | Font embedding options controls which font resources should be embedded into the output WordProcessing or PDF document | | FontExtractionOptions | Font extraction options control which fonts should be extracted and from where | | MailMessageOutput | Controls which parts of the mail message should be delivered to the output processing | | MarkdownImageLoadingAction | Defines the mode of image loading while opening for editing the file in Markdown format | | MarkdownTableContentAlignment | Allows to specify the alignment of the content of the table to be used when exporting into Markdown format | | PdfCompliance | Specifies the PDF standards compliance level | | TextDirection | Represents 3 possible variants how to treat text direction in the plain text documents | | TextLeadingSpacesOptions | Contains available options for leading space handling during opening plain text document (TXT) | | TextTrailingSpacesOptions | Contains available options for trailing space handling during opening plain text document (TXT) | | WordProcessingProtectionType | Represents all available protection types of the WordProcessing document | | WorksheetProtectionType | Represents Spreadsheet worksheet (tab) protection types | ### DelimitedTextEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtexteditoptions.md #### DelimitedTextEditOptions class Options for loading text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) ```csharp public sealed class DelimitedTextEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | DelimitedTextEditOptions(string) | Creates an instance of options class for delimited text with mandatory separator (delimiter) | #### Properties | Name | Description | | --- | --- | | ConvertDateTimeData { get; set; } | Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is `false`. | | ConvertNumericData { get; set; } | Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is `false`. | | OptimizeMemoryUsage { get; set; } | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is `false` (memory optimization is disabled for the sake of better performance). | | Separator { get; set; } | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | TreatConsecutiveDelimitersAsOne { get; set; } | Defines whether consecutive delimiters should be treated as one. By default is `false`. | ##### Remarks https://en.wikipedia.org/wiki/Delimiter-separated_values ### ConvertDateTimeData Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtexteditoptions/convertdatetimedata.md #### DelimitedTextEditOptions.ConvertDateTimeData property Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is `false`. ```csharp public bool ConvertDateTimeData { get; set; } ``` ### ConvertNumericData Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtexteditoptions/convertnumericdata.md #### DelimitedTextEditOptions.ConvertNumericData property Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is `false`. ```csharp public bool ConvertNumericData { get; set; } ``` ### DelimitedTextEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtexteditoptions/delimitedtexteditoptions.md #### DelimitedTextEditOptions constructor Creates an instance of options class for delimited text with mandatory separator (delimiter) ```csharp public DelimitedTextEditOptions(string separator) ``` | Parameter | Type | Description | | --- | --- | --- | | separator | String | Mandatory separator (delimiter), that cannot be NULL or empty | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Is thrown when specxified separator is a null or empty string | ### OptimizeMemoryUsage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtexteditoptions/optimizememoryusage.md #### DelimitedTextEditOptions.OptimizeMemoryUsage property Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is `false` (memory optimization is disabled for the sake of better performance). ```csharp public bool OptimizeMemoryUsage { get; set; } ``` ### Separator Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtexteditoptions/separator.md #### DelimitedTextEditOptions.Separator property Allows to specify a string separator (delimiter) for text-based Spreadsheet documents ```csharp public string Separator { get; set; } ``` ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Is thrown when specified separator is a null or empty string | ### TreatConsecutiveDelimitersAsOne Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtexteditoptions/treatconsecutivedelimitersasone.md #### DelimitedTextEditOptions.TreatConsecutiveDelimitersAsOne property Defines whether consecutive delimiters should be treated as one. By default is `false`. ```csharp public bool TreatConsecutiveDelimitersAsOne { get; set; } ``` ### DelimitedTextSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtextsaveoptions.md #### DelimitedTextSaveOptions class Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) ```csharp public sealed class DelimitedTextSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | DelimitedTextSaveOptions() | This parameterless constructor creates a new instance of DelimitedTextSaveOptions with a semicolon (;) default separator (can be modified then through `Separator` property) | | DelimitedTextSaveOptions(string) | Creates an instance of options class for delimited text with mandatory separator (delimiter) | #### Properties | Name | Description | | --- | --- | | Encoding { get; set; } | Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8. | | KeepSeparatorsForBlankRow { get; set; } | Indicates whether separators should be output for blank row. Default value is `false` which means the content for blank row will be empty. | | Separator { get; set; } | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | TrimLeadingBlankRowAndColumn { get; set; } | Indicates whether leading blank rows and columns should be trimmed like what MS Excel does | ##### Remarks https://en.wikipedia.org/wiki/Delimiter-separated_values ### DelimitedTextSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtextsaveoptions/delimitedtextsaveoptions.md #### DelimitedTextSaveOptions() This parameterless constructor creates a new instance of DelimitedTextSaveOptions with a semicolon (;) default separator (can be modified then through `Separator` property) ```csharp public DelimitedTextSaveOptions() ``` #### DelimitedTextSaveOptions(string) Creates an instance of options class for delimited text with mandatory separator (delimiter) ```csharp public DelimitedTextSaveOptions(string separator) ``` | Parameter | Type | Description | | --- | --- | --- | | separator | String | String separator (delimiter), that cannot be NULL or empty | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Is thrown when specxified separator is a null or empty string | ### Encoding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtextsaveoptions/encoding.md #### DelimitedTextSaveOptions.Encoding property Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8. ```csharp public Encoding Encoding { get; set; } ``` ### KeepSeparatorsForBlankRow Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtextsaveoptions/keepseparatorsforblankrow.md #### DelimitedTextSaveOptions.KeepSeparatorsForBlankRow property Indicates whether separators should be output for blank row. Default value is `false` which means the content for blank row will be empty. ```csharp public bool KeepSeparatorsForBlankRow { get; set; } ``` ### Separator Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtextsaveoptions/separator.md #### DelimitedTextSaveOptions.Separator property Allows to specify a string separator (delimiter) for text-based Spreadsheet documents ```csharp public string Separator { get; set; } ``` ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Is thrown when specified separator is a null or empty string | ### TrimLeadingBlankRowAndColumn Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/delimitedtextsaveoptions/trimleadingblankrowandcolumn.md #### DelimitedTextSaveOptions.TrimLeadingBlankRowAndColumn property Indicates whether leading blank rows and columns should be trimmed like what MS Excel does ```csharp public bool TrimLeadingBlankRowAndColumn { get; set; } ``` ### EbookEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebookeditoptions.md #### EbookEditOptions class Allows to specify and adjust custom options for editing E-book documents in all supported formats: ePub, MOBI, and AZW3. ```csharp public sealed class EbookEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | EbookEditOptions() | Initializes a new instance of the `EbookEditOptions` class, where all options are set to their default values | | EbookEditOptions(bool) | Initializes a new instance of the `EbookEditOptions` class with specified pagination mode | #### Properties | Name | Description | | --- | --- | | EnableLanguageInformation { get; set; } | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (`false`). | | EnablePagination { get; set; } | Allows to enable or disable pagination in the resultant HTML document. By default is disabled (`false`). | ##### Remarks Supported E-book formats: 1. [ePub](https://docs.fileformat.com/ebook/epub/) (Electronic Publication) 2. [MOBI](https://docs.fileformat.com/ebook/mobi/) (MobiPocket) 3. [AZW3](https://docs.fileformat.com/ebook/azw3/) (Kindle Format 8t) ### EbookEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebookeditoptions/ebookeditoptions.md #### EbookEditOptions() Initializes a new instance of the `EbookEditOptions` class, where all options are set to their default values ```csharp public EbookEditOptions() ``` #### EbookEditOptions(bool) Initializes a new instance of the `EbookEditOptions` class with specified pagination mode ```csharp public EbookEditOptions(bool enablePagination) ``` | Parameter | Type | Description | | --- | --- | --- | | enablePagination | Boolean | Enables (`true`) or disables (`false`) pagination of the e-book content in the resultant HTML document. By default is disabled (`false`). | ### EnableLanguageInformation Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebookeditoptions/enablelanguageinformation.md #### EbookEditOptions.EnableLanguageInformation property Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (`false`). ```csharp public bool EnableLanguageInformation { get; set; } ``` ### EnablePagination Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebookeditoptions/enablepagination.md #### EbookEditOptions.EnablePagination property Allows to enable or disable pagination in the resultant HTML document. By default is disabled (`false`). ```csharp public bool EnablePagination { get; set; } ``` ##### Remarks In its essence most of e-book formats internally is a flow format like Office Open XML, where content is a solid and is splitted onto chapters but not the pages. However, it contains some page-specific info like the page numbers, footnotes, heraders/footers and so on. Some e-book readers perform a splitting of the e-book content onto pages, while others (especially mobile) — not. This option allows to control how the e-book content should be represented in HTML/CSS while editing — in the float (`false`) or paged (`true`) view. ### EbookSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebooksaveoptions.md #### EbookSaveOptions class Allows to specify custom options for generating and saving the document in all supportable e-Book formats: ePub, MOBI, and AZW3. ```csharp public sealed class EbookSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | EbookSaveOptions() | This parameterless constructor creates a new instance of EbookSaveOptions with ePub output format (can be modified then through `OutputFormat` property) | | EbookSaveOptions(EBookFormats) | Creates a new instance of `EbookSaveOptions` with specified mandatory e-Book output format, while all other parameters are default | #### Properties | Name | Description | | --- | --- | | ExportDocumentProperties { get; set; } | Specifies whether to export built-in and custom document properties in resultant file. Default value is `false`. | | OutputFormat { get; set; } | Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. | | SplitHeadingLevel { get; set; } | Specifies the maximum level of headings at which to split the e-Book file. Default value is `2`. Setting it to `0` will disable splitting, so all content of the e-Book will be incorporarted into a single package inside the resultant file. | ##### Remarks Supported E-book formats: 1. [ePub](https://docs.fileformat.com/ebook/epub/) (Electronic Publication) 2. [MOBI](https://docs.fileformat.com/ebook/mobi/) (MobiPocket) 3. [AZW3](https://docs.fileformat.com/ebook/azw3/) (Kindle Format 8t) ### EbookSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebooksaveoptions/ebooksaveoptions.md #### EbookSaveOptions() This parameterless constructor creates a new instance of EbookSaveOptions with ePub output format (can be modified then through `OutputFormat` property) ```csharp public EbookSaveOptions() ``` #### EbookSaveOptions(EBookFormats) Creates a new instance of `EbookSaveOptions` with specified mandatory e-Book output format, while all other parameters are default ```csharp public EbookSaveOptions(EBookFormats outputFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | outputFormat | EBookFormats | andatory output format, in which the e-Book should be saved | ### ExportDocumentProperties Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebooksaveoptions/exportdocumentproperties.md #### EbookSaveOptions.ExportDocumentProperties property Specifies whether to export built-in and custom document properties in resultant file. Default value is `false`. ```csharp public bool ExportDocumentProperties { get; set; } ``` ### OutputFormat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebooksaveoptions/outputformat.md #### EbookSaveOptions.OutputFormat property Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. ```csharp public EBookFormats OutputFormat { get; set; } ``` ### SplitHeadingLevel Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ebooksaveoptions/splitheadinglevel.md #### EbookSaveOptions.SplitHeadingLevel property Specifies the maximum level of headings at which to split the e-Book file. Default value is `2`. Setting it to `0` will disable splitting, so all content of the e-Book will be incorporarted into a single package inside the resultant file. ```csharp public int SplitHeadingLevel { get; set; } ``` ##### Remarks When this property is set to a value from 1 to 9, the document will be split at paragraphs formatted using **Heading 1**, **Heading 2** , **Heading 3** etc. styles up to the specified heading level. By default, only **Heading 1** and **Heading 2** paragraphs cause the document to be split. Setting this property to zero (or lesser then zero) will cause the document not to be split at heading paragraphs at all. ### EmailEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/emaileditoptions.md #### EmailEditOptions class Allows to specify custom options for editing documents in the different electronic mail (email) formats ```csharp public sealed class EmailEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | EmailEditOptions() | Initializes a new instance of the `EmailEditOptions` class, where all options are set to their default values | | EmailEditOptions(MailMessageOutput) | Initializes a new instance of the `EmailEditOptions` class with `MailMessageOutput` parameter | #### Properties | Name | Description | | --- | --- | | MailMessageOutput { get; set; } | Allows to control which parts of the mail message should be delivered to the output `EditableDocument` and then to the emitted HTML | ### EmailEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/emaileditoptions/emaileditoptions.md #### EmailEditOptions() Initializes a new instance of the `EmailEditOptions` class, where all options are set to their default values ```csharp public EmailEditOptions() ``` #### EmailEditOptions(MailMessageOutput) Initializes a new instance of the `EmailEditOptions` class with `MailMessageOutput` parameter ```csharp public EmailEditOptions(MailMessageOutput mailMessageOutput) ``` | Parameter | Type | Description | | --- | --- | --- | | mailMessageOutput | MailMessageOutput | The mail message output, which also can be specified through the property | ### MailMessageOutput Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/emaileditoptions/mailmessageoutput.md #### EmailEditOptions.MailMessageOutput property Allows to control which parts of the mail message should be delivered to the output `EditableDocument` and then to the emitted HTML ```csharp public MailMessageOutput MailMessageOutput { get; set; } ``` ##### Property Value Flagged enum that controls the parts of the mail message, which should be processed. Default value is All ### EmailSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/emailsaveoptions.md #### EmailSaveOptions class Allows to specify custom options for generating and saving electronic mail (email) documents ```csharp public sealed class EmailSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | EmailSaveOptions() | Initializes a new instance of the `EmailSaveOptions` class, where all options are set to their default values | | EmailSaveOptions(MailMessageOutput) | Initializes a new instance of the `EmailSaveOptions` class with `MailMessageOutput` parameter | #### Properties | Name | Description | | --- | --- | | MailMessageOutput { get; set; } | Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the `Save` method | ### EmailSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/emailsaveoptions/emailsaveoptions.md #### EmailSaveOptions() Initializes a new instance of the `EmailSaveOptions` class, where all options are set to their default values ```csharp public EmailSaveOptions() ``` #### EmailSaveOptions(MailMessageOutput) Initializes a new instance of the `EmailSaveOptions` class with `MailMessageOutput` parameter ```csharp public EmailSaveOptions(MailMessageOutput mailMessageOutput) ``` | Parameter | Type | Description | | --- | --- | --- | | mailMessageOutput | MailMessageOutput | The mail message output, which also can be specified through the property | ### MailMessageOutput Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/emailsaveoptions/mailmessageoutput.md #### EmailSaveOptions.MailMessageOutput property Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the `Save` method ```csharp public MailMessageOutput MailMessageOutput { get; set; } ``` ##### Property Value Flagged enum that controls the parts of the mail message, which should be processed. Default value is All ### FixedLayoutEditOptionsBase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/fixedlayouteditoptionsbase.md #### FixedLayoutEditOptionsBase class Base abstract class for the options for all documents of fixed-layout formats like PDF and XPS ```csharp public abstract class FixedLayoutEditOptionsBase : IEditOptions ``` #### Properties | Name | Description | | --- | --- | | EnablePagination { get; set; } | Allows to enable (true) or disable (false) pagination in the resultant HTML document. By default is disabled (false). | | Pages { get; set; } | Allows to set a page range to process. By default all pages of a fixed-layout document are processed. | | SkipImages { get; set; } | Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. Default is false - images are preserved. | ### EnablePagination Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/fixedlayouteditoptionsbase/enablepagination.md #### FixedLayoutEditOptionsBase.EnablePagination property Allows to enable (true) or disable (false) pagination in the resultant HTML document. By default is disabled (false). ```csharp public bool EnablePagination { get; set; } ``` ##### Remarks Fixed-layout format documents (PDF and XPS in particular) in their essence are strictly paged, their content has a fixed layout and divided onto pages. But resultant editable HTML can be represented in either pageless or paginal view. ### Pages Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/fixedlayouteditoptionsbase/pages.md #### FixedLayoutEditOptionsBase.Pages property Allows to set a page range to process. By default all pages of a fixed-layout document are processed. ```csharp public PageRange Pages { get; set; } ``` ### SkipImages Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/fixedlayouteditoptionsbase/skipimages.md #### FixedLayoutEditOptionsBase.SkipImages property Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. Default is false - images are preserved. ```csharp public bool SkipImages { get; set; } ``` ### FontEmbeddingOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/fontembeddingoptions.md #### FontEmbeddingOptions enumeration Font embedding options controls which font resources should be embedded into the output WordProcessing or PDF document ```csharp public enum FontEmbeddingOptions ``` ##### Values | Name | Value | Description | | --- | --- | --- | | NotEmbed | `0` | Do not embed any font resource neither from EditableDocument nor from the system. Default value. | | EmbedAll | `1` | Analize document content from input EditableDocument, find all used fonts and embed them into output WordProcessing or PDF document. In the first place GroupDocs.Editor takes fonts from font resources within EditableDocument. If they are insufficient or missing, then GroupDocs.Editor takes fonts from OS. | | EmbedWithoutSystem | `2` | Exact to EmbedAll, but exclude those fonts, which are treated by OS as system fonts | ##### Remarks Font embedding options are applied during document saving (from intermediate EditableDocument into output WordProcessing or PDF format), this enum is included as a property in the WordProcessingSaveOptions and PdfSaveOptions, from where it should be used ### FontExtractionOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/fontextractionoptions.md #### FontExtractionOptions enumeration Font extraction options control which fonts should be extracted and from where ```csharp public enum FontExtractionOptions ``` ##### Values | Name | Value | Description | | --- | --- | --- | | NotExtract | `0` | Does not extract any font resource neither from document nor from the system. Default value. | | ExtractAllEmbedded | `1` | Extracts all font resources, which are embedded into the input Word document, regardless of what they are: custom or system. | | ExtractEmbeddedWithoutSystem | `2` | Extracts only those embedded font resources, which are custom (not system) | | ExtractAll | `3` | Tries to extract all fonts, which are used in the input WordProcessing document, including system fonts. | ### HtmlSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/htmlsaveoptions.md #### HtmlSaveOptions class Allows to specify custom options for saving the `EditableDocument` instance to the HTML format ```csharp public sealed class HtmlSaveOptions ``` #### Constructors | Name | Description | | --- | --- | | HtmlSaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | AttributeValueDelimiter { get; set; } | Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote | | EmbedStylesheetsIntoMarkup { get; set; } | Controls where to store the CSS stylesheet(s): as external resources (`false`), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section (`true`) | | HtmlTagCase { get; set; } | Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case | | SavingCallback { get; set; } | Interface, which must be implemented by the end-user for saving all the external HTML resources. This property **must** not be `null`, otherwise the GroupDocs.Editor will throw an exception while saving `EditableDocument` to HTML format. | ### AttributeValueDelimiter Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/htmlsaveoptions/attributevaluedelimiter.md #### HtmlSaveOptions.AttributeValueDelimiter property Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote ```csharp public QuoteType AttributeValueDelimiter { get; set; } ``` ### EmbedStylesheetsIntoMarkup Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/htmlsaveoptions/embedstylesheetsintomarkup.md #### HtmlSaveOptions.EmbedStylesheetsIntoMarkup property Controls where to store the CSS stylesheet(s): as external resources (`false`), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section (`true`) ```csharp public bool EmbedStylesheetsIntoMarkup { get; set; } ``` ### HtmlSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/htmlsaveoptions/htmlsaveoptions.md #### HtmlSaveOptions constructor The default constructor. ```csharp public HtmlSaveOptions() ``` ### HtmlTagCase Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/htmlsaveoptions/htmltagcase.md #### HtmlSaveOptions.HtmlTagCase property Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case ```csharp public TagRenderingCase HtmlTagCase { get; set; } ``` ### SavingCallback Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/htmlsaveoptions/savingcallback.md #### HtmlSaveOptions.SavingCallback property Interface, which must be implemented by the end-user for saving all the external HTML resources. This property **must** not be `null`, otherwise the GroupDocs.Editor will throw an exception while saving `EditableDocument` to HTML format. ```csharp public IHtmlSavingCallback SavingCallback { get; set; } ``` ##### Remarks If the value of `EmbedStylesheetsIntoMarkup` property is set to `true`, all the stylesheets will be embedded to the HTML markup and thus they will not be passed to this saving callback ### IEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ieditoptions.md #### IEditOptions interface Common interface for all options, which are responsible for document-to-HTML conversions. Declares no members. ```csharp public interface IEditOptions ``` ### IHtmlSavingCallback Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ihtmlsavingcallback.md #### IHtmlSavingCallback interface Interface, that is used while saving the to the HTML format and which must be implemented by the end-user in order to save the provided resource and returns a link to it ```csharp public interface IHtmlSavingCallback ``` #### Methods | Name | Description | | --- | --- | | SaveOneResource(IHtmlResource) | Instance method, that is triggered during the `Save` method call and which must be implemented by the end-user in order to obtain and save the provided HTML resource and then return a link to this resource back to the invoker. | ### SaveOneResource Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/ihtmlsavingcallback/saveoneresource.md #### IHtmlSavingCallback.SaveOneResource method Instance method, that is triggered during the `Save` method call and which must be implemented by the end-user in order to obtain and save the provided HTML resource and then return a link to this resource back to the invoker. ```csharp public string SaveOneResource(IHtmlResource resource) ``` | Parameter | Type | Description | | --- | --- | --- | | resource | IHtmlResource | HTML resource of any kind (images and fonts, my be stylesheets if they are not embedded in the HTML markup), that is passed by the GroupDocs.Editor to the user-defined implementation of this interface, obtained by the user, and user is able to do any necessary procedures like saving, sending, converting it etc. GroupDocs.Editor will never pass a `null` HTML resource to this method. | ##### Return Value A link (reference) to the resource, obtained in the *resource* parameter, that user must provide to the GroupDocs.Editor, so the GroupDocs.Editor will put this link to the HTML markup. ##### Remarks GroupDocs.Editor expects that the user-defined implementation of this method does not throw exception while execution. However, when exception do occur, GroupDocs.Editor will write a value of `FilenameWithExtension` property to the HTML markup. ### ILoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/iloadoptions.md #### ILoadOptions interface Common interface for all option classes, responsible for loading documents of different type formats ```csharp public interface ILoadOptions ``` #### Properties | Name | Description | | --- | --- | | Password { get; set; } | In implementing class should allow to set a password for the encoded password-protected document. By default password is not used - string has a NULL value. | ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/iloadoptions/password.md #### ILoadOptions.Password property In implementing class should allow to set a password for the encoded password-protected document. By default password is not used - string has a NULL value. ```csharp public string Password { get; set; } ``` ### IMarkdownImageLoadCallback Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/imarkdownimageloadcallback.md #### IMarkdownImageLoadCallback interface Implement this interface if you want to control how GroupDocs.Editor load images when loading the file in Markdown format ```csharp public interface IMarkdownImageLoadCallback ``` #### Methods | Name | Description | | --- | --- | | ProcessImage(MarkdownImageLoadArgs) | Called when GroupDocs.Editor finds a link to the external image while parsing the Markdown code | ### ProcessImage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/imarkdownimageloadcallback/processimage.md #### IMarkdownImageLoadCallback.ProcessImage method Called when GroupDocs.Editor finds a link to the external image while parsing the Markdown code ```csharp public MarkdownImageLoadingAction ProcessImage(MarkdownImageLoadArgs args) ``` | Parameter | Type | Description | | --- | --- | --- | | args | MarkdownImageLoadArgs | The arguments, provided by the GroupDocs.Editor to the end-user code | ### ISaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/isaveoptions.md #### ISaveOptions interface Interface for all saving options for all documents types. Declares no members. ```csharp public interface ISaveOptions ``` ### MailMessageOutput Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/mailmessageoutput.md #### MailMessageOutput enumeration Controls which parts of the mail message should be delivered to the output processing ```csharp [Flags] public enum MailMessageOutput ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | None of the email message parts will be processed | | Body | `1` | Process body of the mail message | | Subject | `2` | Process subject of the mail message | | Date | `4` | Process date and time when message was delivered | | To | `8` | Process all recipients of the mail message | | Cc | `10` | Process all CC recipients of the mail message | | Bcc | `20` | Process all BCC recipients of the mail message | | From | `40` | Process sender of the mail message | | Attachments | `80` | Process all attachments of the mail message | | Metadata | `100` | Process all other technical metadata (sensitivity, priority, encoding, MIME, X-Mailer, etc) | | Common | `7B` | Common output - body with all main metadata | | All | `1FF` | Full output - body with all metadata | ### MarkdownEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdowneditoptions.md #### MarkdownEditOptions class Allows to specify custom options for editing documents in Markdown (MD) format ```csharp public sealed class MarkdownEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | MarkdownEditOptions() | Creates and returns a new instance of the MarkdownEditOptions class, where all options are set to their default values | #### Properties | Name | Description | | --- | --- | | ImageLoadCallback { get; set; } | Allows to control how external images are loaded when opening a Markdown document for editing | ### ImageLoadCallback Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdowneditoptions/imageloadcallback.md #### MarkdownEditOptions.ImageLoadCallback property Allows to control how external images are loaded when opening a Markdown document for editing ```csharp public IMarkdownImageLoadCallback ImageLoadCallback { get; set; } ``` ##### Property Value The image loading callback, that should be provided by the user for correct loading of the external images ### MarkdownEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdowneditoptions/markdowneditoptions.md #### MarkdownEditOptions constructor Creates and returns a new instance of the MarkdownEditOptions class, where all options are set to their default values ```csharp public MarkdownEditOptions() ``` ### MarkdownImageLoadArgs Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownimageloadargs.md #### MarkdownImageLoadArgs class Provides data for the ProcessImage event. ```csharp public class MarkdownImageLoadArgs ``` #### Constructors | Name | Description | | --- | --- | | MarkdownImageLoadArgs() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ImageFileName { get; set; } | Gets or sets the image filename (as is in the Markdown document) that was discovered in the Markdown code and is processing | | IsAbsoluteUri { get; set; } | Get a value indicating whether this image has absolute URI link. | #### Methods | Name | Description | | --- | --- | | SetData(byte[]) | Sets user provided data of the image which is used in ProcessImage | ### ImageFileName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownimageloadargs/imagefilename.md #### MarkdownImageLoadArgs.ImageFileName property Gets or sets the image filename (as is in the Markdown document) that was discovered in the Markdown code and is processing ```csharp public string ImageFileName { get; set; } ``` ### IsAbsoluteUri Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownimageloadargs/isabsoluteuri.md #### MarkdownImageLoadArgs.IsAbsoluteUri property Get a value indicating whether this image has absolute URI link. ```csharp public bool IsAbsoluteUri { get; set; } ``` ##### Property Value `true` if this image has absolute URI link; otherwise, `false`. ### MarkdownImageLoadArgs Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownimageloadargs/markdownimageloadargs.md #### MarkdownImageLoadArgs constructor The default constructor. ```csharp public MarkdownImageLoadArgs() ``` ### SetData Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownimageloadargs/setdata.md #### MarkdownImageLoadArgs.SetData method Sets user provided data of the image which is used in ProcessImage ```csharp public void SetData(byte[] data) ``` ### MarkdownImageLoadingAction Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownimageloadingaction.md #### MarkdownImageLoadingAction enumeration Defines the mode of image loading while opening for editing the file in Markdown format ```csharp public enum MarkdownImageLoadingAction ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Default | `0` | GroupDocs.Editor will load this resource as usual | | Skip | `1` | GroupDocs.Editor will skip loading of this image | | UserProvided | `2` | GroupDocs.Editor will use byte array provided by user in `SetData` as image data | ### MarkdownSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownsaveoptions.md #### MarkdownSaveOptions class Allows to specify custom options for generating and saving Markdown documents ```csharp public sealed class MarkdownSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | MarkdownSaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ExportImagesAsBase64 { get; set; } | Specifies whether images are saved in Base64 format to the output file. Default is `false`. | | ImagesFolder { get; set; } | Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null. | | OptimizeMemoryUsage { get; set; } | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to `true` can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is `false` (memory optimization is disabled for the sake of better performance). | | TableContentAlignment { get; set; } | Allow specifies how to align contents in tables when exporting into the Markdown format. The default value is Auto. | ##### Remarks MarkdownSaveOptions class must be applied by the user when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of Markdown format. ### ExportImagesAsBase64 Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownsaveoptions/exportimagesasbase64.md #### MarkdownSaveOptions.ExportImagesAsBase64 property Specifies whether images are saved in Base64 format to the output file. Default is `false`. ```csharp public bool ExportImagesAsBase64 { get; set; } ``` ##### Remarks When this property is set to `true`, then images data are exported directly into the image elements ![]() and separate files are not created. This property, if set to `true`, has the higher priority than the `ImagesFolder` property. ### ImagesFolder Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownsaveoptions/imagesfolder.md #### MarkdownSaveOptions.ImagesFolder property Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null. ```csharp public string ImagesFolder { get; set; } ``` ##### Remarks If neither the `ImagesFolder` nor `ExportImagesAsBase64` are specified by the user, then the GroupDocs.Editor will try to determine the `ImagesFolder` by itself and apply it on success ### MarkdownSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownsaveoptions/markdownsaveoptions.md #### MarkdownSaveOptions constructor The default constructor. ```csharp public MarkdownSaveOptions() ``` ### OptimizeMemoryUsage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownsaveoptions/optimizememoryusage.md #### MarkdownSaveOptions.OptimizeMemoryUsage property Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to `true` can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is `false` (memory optimization is disabled for the sake of better performance). ```csharp public bool OptimizeMemoryUsage { get; set; } ``` ### TableContentAlignment Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdownsaveoptions/tablecontentalignment.md #### MarkdownSaveOptions.TableContentAlignment property Allow specifies how to align contents in tables when exporting into the Markdown format. The default value is Auto. ```csharp public MarkdownTableContentAlignment TableContentAlignment { get; set; } ``` ##### Property Value The table content alignment ### MarkdownTableContentAlignment Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/markdowntablecontentalignment.md #### MarkdownTableContentAlignment enumeration Allows to specify the alignment of the content of the table to be used when exporting into Markdown format ```csharp public enum MarkdownTableContentAlignment ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Auto | `0` | The alignment will be taken from the first paragraph in corresponding table column | | Left | `1` | The content of tables will be aligned to the Left | | Center | `2` | The content of tables will be aligned to the Center | | Right | `3` | The content of tables will be aligned to the Right | ### MhtmlSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/mhtmlsaveoptions.md #### MhtmlSaveOptions class Allows to specify custom options for generating and saving the MHTML (MIME encapsulation of aggregate HTML documents) documents ```csharp public sealed class MhtmlSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | MhtmlSaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ExportCidUrls { get; set; } | Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. Default value is `false`. | | ExportDocumentProperties { get; set; } | Specifies whether to export built-in and custom document properties to MHTML. Default value is `false`. | | ExportLanguageInformation { get; set; } | Specifies whether language information is exported to MHTML. Default value is `false`. | ### ExportCidUrls Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/mhtmlsaveoptions/exportcidurls.md #### MhtmlSaveOptions.ExportCidUrls property Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. Default value is `false`. ```csharp public bool ExportCidUrls { get; set; } ``` ##### Remarks By default, resources in MHTML documents are referenced by file name (for example, "image.png"), which are matched against "Content-Location" headers of MIME parts. This option enables an alternative method, where references to resource files are written as CID (Content-ID) URLs (for example, "cid:image.png") and are matched against "Content-ID" headers. In theory, there should be no difference between the two referencing methods and either of them should work fine in any browser or mail agent. In practice, however, some agents fail to fetch resources by file name. If your browser or mail agent refuses to load resources included in an MTHML document (doesn't show images or doesn't load CSS styles), try exporting the document with CID URLs. ### ExportDocumentProperties Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/mhtmlsaveoptions/exportdocumentproperties.md #### MhtmlSaveOptions.ExportDocumentProperties property Specifies whether to export built-in and custom document properties to MHTML. Default value is `false`. ```csharp public bool ExportDocumentProperties { get; set; } ``` ### ExportLanguageInformation Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/mhtmlsaveoptions/exportlanguageinformation.md #### MhtmlSaveOptions.ExportLanguageInformation property Specifies whether language information is exported to MHTML. Default value is `false`. ```csharp public bool ExportLanguageInformation { get; set; } ``` ##### Remarks When this property is set to `true`, the GroupDocs.Editor emits the `lang` HTML-attribute on the document elements that specify language. This can be needed to preserve language related semantics. ### MhtmlSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/mhtmlsaveoptions/mhtmlsaveoptions.md #### MhtmlSaveOptions constructor The default constructor. ```csharp public MhtmlSaveOptions() ``` ### PageRange Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange.md #### PageRange structure Encapsulates one page range, which can have open or closed bounds. By default is "fully open" - it includes all existing pages. Page numbering starts from 1, not from 0. ```csharp public struct PageRange : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Numbers of pages within range. If 0 - page range spreads until end of the document no matter how much pages it consists of | | EndNumber { get; } | Exclusive end page number, until which this page range continues and on which is stops exclusively. If 0 - page range spreads until end of the document | | IsDefault { get; } | Indicates whether this instance represents a default "fully open" page range i.e. it represents all pages of a document (true) or not (false) | | StartNumber { get; } | Inclusive start page number, from which this page range starts. If 1 - page range starts from the first page of a document | #### Methods | Name | Description | | --- | --- | | static FromBeginningWithCount(ushort) | Creates a page range, that starts from the first page and has specified amount of pages | | static FromStartPageTillEnd(ushort) | Creates a page range, that starts from the specified page number and continues till the end of the document | | static FromStartPageTillEndPage(ushort, ushort) | Creates a page range, that starts from the specified page number (inclusively) and continues until the specified page number (exclusively) | | static FromStartPageWithCount(ushort, ushort) | Creates a page range, that starts from the specified page number and has specified amount of pages, or unlimited page count (till the end) | | Equals(PageRange) | Detects whether this instance of PageRange is equal to specified | #### Fields | Name | Description | | --- | --- | | static readonly AllPages | Represents all existing pages of a document. Default value. | ##### Remarks Immutable struct, that encapsulates a page range, which is not related to any specific document, and can represent a page range for any document. ### AllPages Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/allpages.md #### PageRange.AllPages field Represents all existing pages of a document. Default value. ```csharp public static readonly PageRange AllPages; ``` ### Count Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/count.md #### PageRange.Count property Numbers of pages within range. If 0 - page range spreads until end of the document no matter how much pages it consists of ```csharp public ushort Count { get; } ``` ### EndNumber Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/endnumber.md #### PageRange.EndNumber property Exclusive end page number, until which this page range continues and on which is stops exclusively. If 0 - page range spreads until end of the document ```csharp public ushort EndNumber { get; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/equals.md #### PageRange.Equals method Detects whether this instance of PageRange is equal to specified ```csharp public bool Equals(PageRange other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | PageRange | Other PageRange instance to check on equality | ##### Return Value true is are equal; false if are unequal ### FromBeginningWithCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/frombeginningwithcount.md #### PageRange.FromBeginningWithCount method Creates a page range, that starts from the first page and has specified amount of pages ```csharp public static PageRange FromBeginningWithCount(ushort pageCount) ``` | Parameter | Type | Description | | --- | --- | --- | | pageCount | UInt16 | Number of pages, must be strictly bigger than zero | ##### Return Value New PageRange instance ### FromStartPageTillEnd Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/fromstartpagetillend.md #### PageRange.FromStartPageTillEnd method Creates a page range, that starts from the specified page number and continues till the end of the document ```csharp public static PageRange FromStartPageTillEnd(ushort startPageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | UInt16 | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | ##### Return Value New PageRange instance ### FromStartPageTillEndPage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/fromstartpagetillendpage.md #### PageRange.FromStartPageTillEndPage method Creates a page range, that starts from the specified page number (inclusively) and continues until the specified page number (exclusively) ```csharp public static PageRange FromStartPageTillEndPage(ushort startPageNumber, ushort endPageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | UInt16 | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | | endPageNumber | UInt16 | Page number, until which page range continues, exclusively. Page numbers are 1-based, so must be strictly bigger than zero, and also must be strictly greater than *startPageNumber* | ### FromStartPageWithCount Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/fromstartpagewithcount.md #### PageRange.FromStartPageWithCount method Creates a page range, that starts from the specified page number and has specified amount of pages, or unlimited page count (till the end) ```csharp public static PageRange FromStartPageWithCount(ushort startPageNumber, ushort pageCount) ``` | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | UInt16 | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | | pageCount | UInt16 | Number of pages, must be strictly bigger than zero. If zero - this means all pages till the end of a document | ##### Return Value New PageRange instance ### IsDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/isdefault.md #### PageRange.IsDefault property Indicates whether this instance represents a default "fully open" page range i.e. it represents all pages of a document (true) or not (false) ```csharp public bool IsDefault { get; } ``` ### StartNumber Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pagerange/startnumber.md #### PageRange.StartNumber property Inclusive start page number, from which this page range starts. If 1 - page range starts from the first page of a document ```csharp public ushort StartNumber { get; } ``` ### PdfCompliance Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfcompliance.md #### PdfCompliance enumeration Specifies the PDF standards compliance level ```csharp public enum PdfCompliance ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Pdf17 | `0` | PDF 1.7 (ISO 32000-1) standard | | Pdf20 | `1` | PDF 2.0 (ISO 32000-2) standard | | PdfA1a | `2` | PDF/A-1a standard. This level includes all the requirements of PDF/A-1b and additionally requires that document structure be included (also known as being "tagged"), with the objective of ensuring that document content can be searched and repurposed. | | PdfA1b | `3` | PDF/A-1b (ISO 19005-1). PDF/A-1b has the objective of ensuring reliable reproduction of the visual appearance of the document. | | PdfA2a | `4` | PDF/A-2a (ISO 19005-2) standard. This level includes all the requirements of PDF/A-2u and additionally requires that document structure be included (also known as being "tagged"), with the objective of ensuring that document content can be searched and repurposed. | | PdfA2u | `5` | PDF/A-2u (ISO 19005-2) standard. PDF/A-2u has the objective of preserving document static visual appearance over time, independent of the tools and systems used for creating, storing or rendering the files. Additionally any text contained in the document can be reliably extracted as a series of Unicode codepoints. | | PdfUa1 | `6` | PDF/UA-1 (ISO 14289-1) standard. The primary purpose of PDF/UA is to define how to represent electronic documents in the PDF format in a manner that allows the file to be accessible. | ### PdfEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfeditoptions.md #### PdfEditOptions class Allows to specify custom options for editing PDF documents ```csharp public sealed class PdfEditOptions : FixedLayoutEditOptionsBase ``` #### Constructors | Name | Description | | --- | --- | | PdfEditOptions() | Creates and returns a new instance of the PdfEditOptions class, where all options are set to their default values | | PdfEditOptions(bool) | Creates and returns a new instance of the PdfEditOptions class with specified pagination and default all other options | #### Properties | Name | Description | | --- | --- | | EnablePagination { get; set; } | Allows to enable (true) or disable (false) pagination in the resultant HTML document. By default is disabled (false). | | Pages { get; set; } | Allows to set a page range to process. By default all pages of a fixed-layout document are processed. | | SkipImages { get; set; } | Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. Default is false - images are preserved. | ### PdfEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfeditoptions/pdfeditoptions.md #### PdfEditOptions() Creates and returns a new instance of the PdfEditOptions class, where all options are set to their default values ```csharp public PdfEditOptions() ``` #### PdfEditOptions(bool) Creates and returns a new instance of the PdfEditOptions class with specified pagination and default all other options ```csharp public PdfEditOptions(bool enablePagination) ``` | Parameter | Type | Description | | --- | --- | --- | | enablePagination | Boolean | Pagination flag, that enables HTML output, adjusted for paged mode | ### PdfLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfloadoptions.md #### PdfLoadOptions class Contains options for loading PDF documents into Editor class ```csharp public sealed class PdfLoadOptions : ILoadOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfLoadOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Password { get; set; } | Allows to specify, modify and obtain the password, which will be used for opening a PDF document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). | ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfloadoptions/password.md #### PdfLoadOptions.Password property Allows to specify, modify and obtain the password, which will be used for opening a PDF document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). ```csharp public string Password { get; set; } ``` ### PdfLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfloadoptions/pdfloadoptions.md #### PdfLoadOptions constructor The default constructor. ```csharp public PdfLoadOptions() ``` ### PdfSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfsaveoptions.md #### PdfSaveOptions class Allows to specify custom options for generating and saving PDF (Portable Document Format) documents ```csharp public sealed class PdfSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfSaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Compliance { get; set; } | Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf17. | | FontEmbedding { get; set; } | Responsible for embedding font resources, which are used in the original document, into the resultant PDF document. By default doesn't embed any fonts (NotEmbed). | | OptimizeMemoryUsage { get; set; } | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). | | Password { get; set; } | Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit). By default is NULL — password is not applied. | ### Compliance Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfsaveoptions/compliance.md #### PdfSaveOptions.Compliance property Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf17. ```csharp public PdfCompliance Compliance { get; set; } ``` ### FontEmbedding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfsaveoptions/fontembedding.md #### PdfSaveOptions.FontEmbedding property Responsible for embedding font resources, which are used in the original document, into the resultant PDF document. By default doesn't embed any fonts (NotEmbed). ```csharp public FontEmbeddingOptions FontEmbedding { get; set; } ``` ### OptimizeMemoryUsage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfsaveoptions/optimizememoryusage.md #### PdfSaveOptions.OptimizeMemoryUsage property Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). ```csharp public bool OptimizeMemoryUsage { get; set; } ``` ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfsaveoptions/password.md #### PdfSaveOptions.Password property Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit). By default is NULL — password is not applied. ```csharp public string Password { get; set; } ``` ### PdfSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/pdfsaveoptions/pdfsaveoptions.md #### PdfSaveOptions constructor The default constructor. ```csharp public PdfSaveOptions() ``` ### PresentationEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationeditoptions.md #### PresentationEditOptions class Allows to specify custom options for editing documents of all supportable Presentation (PowerPoint-compatible) formats ```csharp public class PresentationEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | PresentationEditOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ShowHiddenSlides { get; set; } | Specifies whether the hidden slides should be included or not. Default is false - hidden slides are not shown and exception will be thrown while trying to edit them. | | SlideNumber { get; set; } | Allows to specify the slide numbers, which should be opened for editing | ### PresentationEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationeditoptions/presentationeditoptions.md #### PresentationEditOptions constructor The default constructor. ```csharp public PresentationEditOptions() ``` ### ShowHiddenSlides Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationeditoptions/showhiddenslides.md #### PresentationEditOptions.ShowHiddenSlides property Specifies whether the hidden slides should be included or not. Default is false - hidden slides are not shown and exception will be thrown while trying to edit them. ```csharp public bool ShowHiddenSlides { get; set; } ``` ### SlideNumber Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationeditoptions/slidenumber.md #### PresentationEditOptions.SlideNumber property Allows to specify the slide numbers, which should be opened for editing ```csharp public int SlideNumber { get; set; } ``` ##### Remarks Slide number is a zero-based index of a slide, that allows to specify and select one particular slide from a presentation to edit. If lesser then 0, the first slide will be selected (same as SlideNumber = 0). If greater then amount of all slides in presentation, the last slide will be selected. If input presentation contains only single slide, this option will be ignored, and this single slide will be edited. If trying to open for editing a hidden slide, while `ShowHiddenSlides` option is set to 'false', the exception will be thrown. ### PresentationLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationloadoptions.md #### PresentationLoadOptions class Allows to specify custom options for loading documents of all supportable Presentation formats like PPT(X), PPTM, PPS(X) etc. ```csharp public class PresentationLoadOptions : ILoadOptions ``` #### Constructors | Name | Description | | --- | --- | | PresentationLoadOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Password { get; set; } | Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. Set to NULL or empty string in order to remove the password. | ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationloadoptions/password.md #### PresentationLoadOptions.Password property Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. Set to NULL or empty string in order to remove the password. ```csharp public string Password { get; set; } ``` ##### Remarks By default this property has NULL value — password is not set. If input Presentation document is password-protected, the password is mandatory and an exception will be thrown if password is not specified or is invalid. If input Presentation document is NOT password-protected, but password is set, it will be ignored. ### PresentationLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationloadoptions/presentationloadoptions.md #### PresentationLoadOptions constructor The default constructor. ```csharp public PresentationLoadOptions() ``` ### PresentationSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationsaveoptions.md #### PresentationSaveOptions class Allows to specify custom options for generating and saving Presentation (PowerPoint-compatible) documents ```csharp public sealed class PresentationSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | PresentationSaveOptions() | This parameterless constructor creates a new instance of PresentationSaveOptions with PPTX output format (can be modified then through `OutputFormat` property) | | PresentationSaveOptions(PresentationFormats) | Creates a new instance of PresentationSaveOptions with specified mandatory Presentation output format, while all other parameters are default | #### Properties | Name | Description | | --- | --- | | InsertAsNewSlide { get; set; } | Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the `SlideNumber` property, or it should be injected between existing slide and previous one, without replacing its content. By default is `false` — existing slide will be replaced. This property is ignored, if value of `SlideNumber` property is set to `'0'`. | | OutputFormat { get; set; } | Allows to specify a Presentation format, which will be used for saving the document | | Password { get; set; } | Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. By default is NULL - password will not be set. Set to NULL or empty string in order to remove the password, if it was set previously. | | SlideNumber { get; set; } | Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). Slide number is a 1-based number of a slide in the presentation, loaded in the Editor class. If it is 0 (default value), the new presentation will be created with single edited slide. If it is greater or lesser then zero, and there is valid presentation, loaded in the Editor class, the edited slide, stored inside input EditableDocument instance, will be inserted into this presentation. | | SlideNumbersToDelete { get; set; } | Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation | ##### Remarks Instance of this class should be passed into the method in order to save edited presentation into the final document of some Presentation-specific format. All other parameters are optional and may be omitted, by default the format of the saving presentation is PPTX, but it can be changed through constructor or property. ### InsertAsNewSlide Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationsaveoptions/insertasnewslide.md #### PresentationSaveOptions.InsertAsNewSlide property Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the `SlideNumber` property, or it should be injected between existing slide and previous one, without replacing its content. By default is `false` — existing slide will be replaced. This property is ignored, if value of `SlideNumber` property is set to `'0'`. ```csharp public bool InsertAsNewSlide { get; set; } ``` ##### Remarks By default slide is replaced. This means that if given presentation has 5 slides, and `SlideNumber`=4, then 4th slide will be replaced with the new edited slide, while the total amount of slides in presentation (5) will remain untouched. However, if value of this property is set to true, the new edited slide will be injected as 4th slide, and all subsequent slides wil be shifter to the end: "old" 4th slide becomes 5th, and 5th becomes 6th, and the total amount of slides in presentation will be incremented by one and equal to 6. ### OutputFormat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationsaveoptions/outputformat.md #### PresentationSaveOptions.OutputFormat property Allows to specify a Presentation format, which will be used for saving the document ```csharp public PresentationFormats OutputFormat { get; set; } ``` ##### Remarks Output format is usually set in the constructor of this class, because it is mandatory. This property allows to obtain or modify the output format later, when instance of `PresentationSaveOptions` class was already created. ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationsaveoptions/password.md #### PresentationSaveOptions.Password property Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. By default is NULL - password will not be set. Set to NULL or empty string in order to remove the password, if it was set previously. ```csharp public string Password { get; set; } ``` ### PresentationSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationsaveoptions/presentationsaveoptions.md #### PresentationSaveOptions() This parameterless constructor creates a new instance of PresentationSaveOptions with PPTX output format (can be modified then through `OutputFormat` property) ```csharp public PresentationSaveOptions() ``` #### PresentationSaveOptions(PresentationFormats) Creates a new instance of PresentationSaveOptions with specified mandatory Presentation output format, while all other parameters are default ```csharp public PresentationSaveOptions(PresentationFormats outputFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | outputFormat | PresentationFormats | Mandatory output format, in which the Presentation document should be saved | ### SlideNumber Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationsaveoptions/slidenumber.md #### PresentationSaveOptions.SlideNumber property Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). Slide number is a 1-based number of a slide in the presentation, loaded in the Editor class. If it is 0 (default value), the new presentation will be created with single edited slide. If it is greater or lesser then zero, and there is valid presentation, loaded in the Editor class, the edited slide, stored inside input EditableDocument instance, will be inserted into this presentation. ```csharp public int SlideNumber { get; set; } ``` ##### Remarks SlideNumber integer property, if it is not in default state (reserved value '0'), represents a slide number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last slide. Negative values are also allowed and count slides from end. For example, "-1" implies last slide in a presentation, "-2" — last but one, etc. Like with positive values, when negative slide number exceeds the total count of slides in the given presentation, it will be adjusted to the first slide. The `InsertAsNewSlide` boolean property is tightly coupled with this one. ##### Examples Given presentation has 5 slides: SlideNumber = 0; — ignore given presentation, create a new presentation and put edited slide into it. SlideNumber = 1; — replace the first slide with edited SlideNumber = 2; — replace the second slide with edited SlideNumber = 5; — replace the last (5th) slide with edited SlideNumber = 6; — replace the last (5th) slide with edited, because 6 is greater then 5 and thus is adjusted SlideNumber = -1; — replace the last (5th) slide with edited, because "-1" means "last existing" SlideNumber = -2; — replace the 4th slide with edited SlideNumber = -3; — replace the 3rd slide with edited SlideNumber = -4; — replace the 2nd slide with edited SlideNumber = -5; — replace the first slide with edited SlideNumber = -6; — replace the first slide with edited, because "-6" is greater then 5 and thus is adjusted ### SlideNumbersToDelete Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/presentationsaveoptions/slidenumberstodelete.md #### PresentationSaveOptions.SlideNumbersToDelete property Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation ```csharp public int[] SlideNumbersToDelete { get; set; } ``` ##### Remarks When the edited slide is saved not as a new single-slide presentation (default behavior), but instead is saved into an existing presentation (using `SlideNumber` property), it is also possible to delete some particular slides from this presentation by specifying their numbers in this array. By default this array is `null` — no slides will be deleted. However, when this array is non-null and non-empty, and it contains at least one valid slide number, after the output Presentation document is generated with the content of the edited slide, the slides with specified numbers will be deleted from the presentation right before writing its content to the output stream or file. Slide numbers in this array are 1-based, not 0-based, invalid numbers (lesser than 1 or greater than the total number of slides) will be ignored. ### SpreadsheetEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheeteditoptions.md #### SpreadsheetEditOptions class Allows to specify custom options for editing documents of all supportable Spreadsheet (Excel-compatible) formats ```csharp public class SpreadsheetEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | SpreadsheetEditOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ExcludeHiddenWorksheets { get; set; } | Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. Default is false - hidden worksheets are available and processed as normal. | | ExportBogusRowData { get; set; } | When enabled, the HTML table in produced HTML document contains an empty bottom hidden row with zero height and empty cells, where only width is specified. This row with empty cells contains exact width values for each column and improves backward conversion from HTML to Spreadsheet. By default is enabled (`true`). | | MergeEmptyAdjacentCells { get; set; } | When enabled, the empty adjucent horizontal cells from the input Spreadsheet document will be represented in editable HTML document as merged into a single cell with corresponding `colspan` attribute. By default is disabled (`false`). | | WorksheetIndex { get; set; } | Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). | ### ExcludeHiddenWorksheets Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheeteditoptions/excludehiddenworksheets.md #### SpreadsheetEditOptions.ExcludeHiddenWorksheets property Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. Default is false - hidden worksheets are available and processed as normal. ```csharp public bool ExcludeHiddenWorksheets { get; set; } ``` ##### Remarks Several binary Spreadsheet formats (like XLSX) support hidden worksheets (tabs) concept. Document of such format, if it has more then one worksheet, may contain additional hidden worksheets. By default such hidden worksheets are available for processing, but with this option it is able to ignore them, like these hidden worksheets are absent and don't exist. When this option is enabled, you cannot select hidden worksheet with the '`WorksheetIndex`' property. ### ExportBogusRowData Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheeteditoptions/exportbogusrowdata.md #### SpreadsheetEditOptions.ExportBogusRowData property When enabled, the HTML table in produced HTML document contains an empty bottom hidden row with zero height and empty cells, where only width is specified. This row with empty cells contains exact width values for each column and improves backward conversion from HTML to Spreadsheet. By default is enabled (`true`). ```csharp public bool ExportBogusRowData { get; set; } ``` ### MergeEmptyAdjacentCells Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheeteditoptions/mergeemptyadjacentcells.md #### SpreadsheetEditOptions.MergeEmptyAdjacentCells property When enabled, the empty adjucent horizontal cells from the input Spreadsheet document will be represented in editable HTML document as merged into a single cell with corresponding `colspan` attribute. By default is disabled (`false`). ```csharp public bool MergeEmptyAdjacentCells { get; set; } ``` ##### Remarks By default the GroupDocs.Editor converts a table from input Spreadsheet document to the output HTML document by preserving each cell. However, the Spreadsheet documents may be sparse — they may contain huge amount of "empty areas", where a lot of cells are empty. This option, when enabled, merges such empty cells into one with `colspan` attribute in the `TD` element, and thus can significantly reduce the size of the produced HTML markup. ### SpreadsheetEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheeteditoptions/spreadsheeteditoptions.md #### SpreadsheetEditOptions constructor The default constructor. ```csharp public SpreadsheetEditOptions() ``` ### WorksheetIndex Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheeteditoptions/worksheetindex.md #### SpreadsheetEditOptions.WorksheetIndex property Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). ```csharp public int WorksheetIndex { get; set; } ``` ##### Remarks Most of Spreadsheet documents support a concept of tabs, i.e. they can be multi-tabbed. On the other hand, HTML format doesn't support such structure. Because of this GroupDocs.Editor can convert to the HTML only one specific tab of the input document, and this option allows to specify it. Tab index is 0-based, negative values are prohibited. If specified index exceeds the number of all tabs, the exception will be thrown. If input Spreadsheet document contains only one tab, this option will be ignored. Default value is 0 (first tab). ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetloadoptions.md #### SpreadsheetLoadOptions class Contains options for loading binary Spreadsheet (Cells, Excel-compatible) documents like XLS(X), ODS etc. into Editor class ```csharp public sealed class SpreadsheetLoadOptions : ILoadOptions ``` #### Constructors | Name | Description | | --- | --- | | SpreadsheetLoadOptions() | Default parameterless constructor - all parameters have default values | #### Properties | Name | Description | | --- | --- | | OptimizeMemoryUsage { get; set; } | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). | | Password { get; set; } | Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). | ### OptimizeMemoryUsage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetloadoptions/optimizememoryusage.md #### SpreadsheetLoadOptions.OptimizeMemoryUsage property Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). ```csharp public bool OptimizeMemoryUsage { get; set; } ``` ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetloadoptions/password.md #### SpreadsheetLoadOptions.Password property Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). ```csharp public string Password { get; set; } ``` ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetloadoptions/spreadsheetloadoptions.md #### SpreadsheetLoadOptions constructor Default parameterless constructor - all parameters have default values ```csharp public SpreadsheetLoadOptions() ``` ### SpreadsheetSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions.md #### SpreadsheetSaveOptions class Allows to specify custom options for generating and saving Spreadsheet (Excel-compliant) documents ```csharp public sealed class SpreadsheetSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | SpreadsheetSaveOptions() | This parameterless constructor creates a new instance of SpreadsheetSaveOptions with XLSX output format (can be modified then through `OutputFormat` property) | | SpreadsheetSaveOptions(SpreadsheetFormats) | Creates a new instance of SpreadsheetSaveOptions with specified mandatory Spreadsheet output format, while all other parameters are default | #### Properties | Name | Description | | --- | --- | | InsertAsNewWorksheet { get; set; } | Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the `WorksheetNumber` property, or it should be injected between existing worksheet and previous one, without replacing its content. By default is false — existing worksheet will be replaced. This property is ignored, if value of `WorksheetNumber` property is set to '0'. | | OutputFormat { get; set; } | Allows to specify a Spreadsheet format, which will be used for saving the document | | Password { get; set; } | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. Specify NULL or empty string for removing (cleaning) the password. | | WorksheetNumber { get; set; } | Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). WorksheetNumber is a 1-based number of a worksheet in the spreadsheet, loaded in the Editor class. If it is 0 (default value), the new spreadsheet will be created with single edited worksheet. If it is greater or lesser then zero, and there is valid spreadsheet, loaded in the Editor class, the edited worksheet, that is represented by input EditableDocument instance, will be inserted into this spreadsheet. | | WorksheetNumbersToDelete { get; set; } | Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet | | WorksheetProtection { get; set; } | Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied. Not all formats support a worksheet protection. | ### InsertAsNewWorksheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions/insertasnewworksheet.md #### SpreadsheetSaveOptions.InsertAsNewWorksheet property Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the `WorksheetNumber` property, or it should be injected between existing worksheet and previous one, without replacing its content. By default is false — existing worksheet will be replaced. This property is ignored, if value of `WorksheetNumber` property is set to '0'. ```csharp public bool InsertAsNewWorksheet { get; set; } ``` ##### Remarks By default worksheet is replaced. This means that if given spreadsheet has 5 worksheets, and `WorksheetNumber`=4, then 4th worksheet will be replaced with the new edited worksheet, while the total amount of worksheets in spreadsheet (5) will remain untouched. However, if value of this property is set to true, the new edited worksheet will be injected as 4th worksheet, and all subsequent worksheets will be shifted to the end: "old" 4th worksheet becomes 5th, and 5th becomes 6th, and the total amount of worksheets in spreadsheet will be incremented by one and equal to 6. ### OutputFormat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions/outputformat.md #### SpreadsheetSaveOptions.OutputFormat property Allows to specify a Spreadsheet format, which will be used for saving the document ```csharp public SpreadsheetFormats OutputFormat { get; set; } ``` ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions/password.md #### SpreadsheetSaveOptions.Password property Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. Specify NULL or empty string for removing (cleaning) the password. ```csharp public string Password { get; set; } ``` ### SpreadsheetSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions/spreadsheetsaveoptions.md #### SpreadsheetSaveOptions() This parameterless constructor creates a new instance of SpreadsheetSaveOptions with XLSX output format (can be modified then through `OutputFormat` property) ```csharp public SpreadsheetSaveOptions() ``` #### SpreadsheetSaveOptions(SpreadsheetFormats) Creates a new instance of SpreadsheetSaveOptions with specified mandatory Spreadsheet output format, while all other parameters are default ```csharp public SpreadsheetSaveOptions(SpreadsheetFormats outputFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | outputFormat | SpreadsheetFormats | Mandatory output format, in which the Spreadsheet document should be saved | ### WorksheetNumber Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions/worksheetnumber.md #### SpreadsheetSaveOptions.WorksheetNumber property Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). WorksheetNumber is a 1-based number of a worksheet in the spreadsheet, loaded in the Editor class. If it is 0 (default value), the new spreadsheet will be created with single edited worksheet. If it is greater or lesser then zero, and there is valid spreadsheet, loaded in the Editor class, the edited worksheet, that is represented by input EditableDocument instance, will be inserted into this spreadsheet. ```csharp public int WorksheetNumber { get; set; } ``` ##### Remarks WorksheetNumber integer property, if it is not in default state (reserved value '0'), represents a worksheet number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last worksheet. Negative values are also allowed and count worksheets from end. For example, "-1" implies last worksheet in a spreadsheet, "-2" — last but one, etc. Like with positive values, when negative worksheet number exceeds the total count of worksheets in the given spreadsheet, it will be adjusted to the first worksheet. The `InsertAsNewWorksheet` boolean property is tightly coupled with this one. ##### Examples Given spreadsheet has 5 worksheets: WorksheetNumber = 0; — ignore given spreadsheet, create a new spreadsheet and put edited worksheet into it. WorksheetNumber = 1; — replace the first worksheet with edited WorksheetNumber = 2; — replace the second worksheet with edited WorksheetNumber = 5; — replace the last (5th) worksheet with edited WorksheetNumber = 6; — replace the last (5th) worksheet with edited, because 6 is greater then 5 and thus is adjusted WorksheetNumber = -1; — replace the last (5th) worksheet with edited, because "-1" means "last existing" WorksheetNumber = -2; — replace the 4th worksheet with edited WorksheetNumber = -3; — replace the 3rd worksheet with edited WorksheetNumber = -4; — replace the 2nd worksheet with edited WorksheetNumber = -5; — replace the first worksheet with edited WorksheetNumber = -6; — replace the first worksheet with edited, because "-6" is greater then 5 and thus is adjusted ### WorksheetNumbersToDelete Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions/worksheetnumberstodelete.md #### SpreadsheetSaveOptions.WorksheetNumbersToDelete property Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet ```csharp public int[] WorksheetNumbersToDelete { get; set; } ``` ##### Remarks When the edited worksheet is saved not as a new single-worksheet spreadsheet (default behavior), but instead is saved into an existing spreadsheet (using `WorksheetNumber` property), it is also possible to delete some particular worksheets from this spreadsheet by specifying their numbers in this array. By default this array is `null` — no worksheets will be deleted. However, when this array is non-null and non-empty, and it contains at least one valid worksheet number, after the output spreadsheet document is generated with the content of the edited worksheet, the worksheets with specified numbers will be deleted from the spreadsheet right before writing its content to the output stream or file. Worksheet numbers in this array are 1-based, not 0-based, invalid numbers (lesser than 1 or greater than the total number of worksheets) will be ignored. ### WorksheetProtection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/spreadsheetsaveoptions/worksheetprotection.md #### SpreadsheetSaveOptions.WorksheetProtection property Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied. Not all formats support a worksheet protection. ```csharp public WorksheetProtection WorksheetProtection { get; set; } ``` ### TextDirection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/textdirection.md #### TextDirection enumeration Represents 3 possible variants how to treat text direction in the plain text documents ```csharp public enum TextDirection ``` ##### Values | Name | Value | Description | | --- | --- | --- | | LeftToRight | `0` | Left-to-Right direction, usual text, default value. | | RightToLeft | `1` | Right-to-Left direction | | Auto | `2` | Auto-detect direction. When this option is selected and text contains characters belonging to RTL scripts, the document direction will be set automatically to RTL. | ### TextEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions.md #### TextEditOptions class Allows to specify custom options for loading plain text (TXT) documents ```csharp public class TextEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | TextEditOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Direction { get; set; } | Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right. | | EnablePagination { get; set; } | Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). | | Encoding { get; set; } | Character encoding of the text document, which will be applied for its opening | | LeadingSpaces { get; set; } | Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent. | | RecognizeLists { get; set; } | Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true. | | TrailingSpaces { get; set; } | Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces. | ### Direction Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions/direction.md #### TextEditOptions.Direction property Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right. ```csharp public TextDirection Direction { get; set; } ``` ### EnablePagination Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions/enablepagination.md #### TextEditOptions.EnablePagination property Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). ```csharp public bool EnablePagination { get; set; } ``` ### Encoding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions/encoding.md #### TextEditOptions.Encoding property Character encoding of the text document, which will be applied for its opening ```csharp public Encoding Encoding { get; set; } ``` ### LeadingSpaces Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions/leadingspaces.md #### TextEditOptions.LeadingSpaces property Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent. ```csharp public TextLeadingSpacesOptions LeadingSpaces { get; set; } ``` ### RecognizeLists Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions/recognizelists.md #### TextEditOptions.RecognizeLists property Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true. ```csharp public bool RecognizeLists { get; set; } ``` ##### Remarks If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "•", "*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. ### TextEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions/texteditoptions.md #### TextEditOptions constructor The default constructor. ```csharp public TextEditOptions() ``` ### TrailingSpaces Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texteditoptions/trailingspaces.md #### TextEditOptions.TrailingSpaces property Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces. ```csharp public TextTrailingSpacesOptions TrailingSpaces { get; set; } ``` ### TextLeadingSpacesOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/textleadingspacesoptions.md #### TextLeadingSpacesOptions enumeration Contains available options for leading space handling during opening plain text document (TXT) ```csharp public enum TextLeadingSpacesOptions ``` ##### Values | Name | Value | Description | | --- | --- | --- | | ConvertToIndent | `0` | Convert one or more consecutive spaces to the left indent. Default value. | | Preserve | `1` | Pass all leading spaces to the output HTML "as is", without touching them | | Trim | `2` | Trim (truncate) all leading spaces completely | ### TextSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/textsaveoptions.md #### TextSaveOptions class Allows to specify custom options for generating and saving plain text (TXT) documents ```csharp public sealed class TextSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | TextSaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | AddBidiMarks { get; set; } | Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format. Default is 'false' — do not add BiDi marks. | | Encoding { get; set; } | Character encoding of the text document, which will be applied for its saving | | PreserveTableLayout { get; set; } | Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false. | ### AddBidiMarks Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/textsaveoptions/addbidimarks.md #### TextSaveOptions.AddBidiMarks property Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format. Default is 'false' — do not add BiDi marks. ```csharp public bool AddBidiMarks { get; set; } ``` ### Encoding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/textsaveoptions/encoding.md #### TextSaveOptions.Encoding property Character encoding of the text document, which will be applied for its saving ```csharp public Encoding Encoding { get; set; } ``` ### PreserveTableLayout Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/textsaveoptions/preservetablelayout.md #### TextSaveOptions.PreserveTableLayout property Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false. ```csharp public bool PreserveTableLayout { get; set; } ``` ### TextSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/textsaveoptions/textsaveoptions.md #### TextSaveOptions constructor The default constructor. ```csharp public TextSaveOptions() ``` ### TextTrailingSpacesOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/texttrailingspacesoptions.md #### TextTrailingSpacesOptions enumeration Contains available options for trailing space handling during opening plain text document (TXT) ```csharp public enum TextTrailingSpacesOptions ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Trim | `0` | Trim (truncate) all trailing spaces completely. Default value. | | Preserve | `1` | Pass all trailing spaces to the output HTML "as is", without touching them | ### WebFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont.md #### WebFont class Represents a font settings for the web ```csharp public sealed class WebFont : ICloneable, IEquatable ``` #### Properties | Name | Description | | --- | --- | | Color { get; set; } | Font color in ARGB32 format | | Line { get; set; } | Sets a line or combination of lines, applied to the text | | Name { get; set; } | Sets the font name. If not specified, the default font will be used | | Size { get; set; } | Sets the size of the font in absolute or relative units | | Style { get; set; } | Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. | | Weight { get; set; } | Sets the weight (or boldness) of the font | #### Methods | Name | Description | | --- | --- | | Clone() | Creates and returns a full deep copy of this `WebFont` instance | | override Equals(object) | Determines whether this instance of WebFont is equal to specified uncasted object | | Equals(WebFont) | Determines whether this instance of WebFont is equal to specified | ### Clone Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/clone.md #### WebFont.Clone method Creates and returns a full deep copy of this `WebFont` instance ```csharp public WebFont Clone() ``` ##### Return Value New `WebFont` instance, that is a full and deep copy of this one ### Color Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/color.md #### WebFont.Color property Font color in ARGB32 format ```csharp public ArgbColor Color { get; set; } ``` ### Equals Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/equals.md #### Equals(WebFont) Determines whether this instance of WebFont is equal to specified ```csharp public bool Equals(WebFont other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | WebFont | Another WebFont to check equality, may be NULL | ##### Return Value true if equal, false if unequal #### Equals(object) Determines whether this instance of WebFont is equal to specified uncasted object ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | Object, that is expected to be a `WebFont` instance | ##### Return Value true if equal, false if unequal ### Line Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/line.md #### WebFont.Line property Sets a line or combination of lines, applied to the text ```csharp public TextDecorationLineType Line { get; set; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/name.md #### WebFont.Name property Sets the font name. If not specified, the default font will be used ```csharp public string Name { get; set; } ``` ### Size Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/size.md #### WebFont.Size property Sets the size of the font in absolute or relative units ```csharp public FontSize Size { get; set; } ``` ### Style Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/style.md #### WebFont.Style property Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. ```csharp public FontStyle Style { get; set; } ``` ### Weight Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/webfont/weight.md #### WebFont.Weight property Sets the weight (or boldness) of the font ```csharp public FontWeight Weight { get; set; } ``` ### WordProcessingEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions.md #### WordProcessingEditOptions class Allows to specify custom options for editing documents of all supportable WordProcessing (Words-compliant) formats like DOC(X), RTF, ODT etc. ```csharp public class WordProcessingEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingEditOptions() | Creates and returns a new instance of the WordProcessingEditOptions class, where all options are set to their default values | | WordProcessingEditOptions(bool) | Creates and returns a new instance of the WordProcessingEditOptions class with specified pagination and default all other options | #### Properties | Name | Description | | --- | --- | | EnableLanguageInformation { get; set; } | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false). | | EnablePagination { get; set; } | Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). | | ExtractOnlyUsedFont { get; set; } | Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. | | FontExtraction { get; set; } | Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract). | | InputControlsClassName { get; set; } | Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied. | | UseInlineStyles { get; set; } | Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet (`false`) or as inline styles in the HTML markup (`true`). By default external styles are used (`false`). | ### EnableLanguageInformation Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions/enablelanguageinformation.md #### WordProcessingEditOptions.EnableLanguageInformation property Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false). ```csharp public bool EnableLanguageInformation { get; set; } ``` ### EnablePagination Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions/enablepagination.md #### WordProcessingEditOptions.EnablePagination property Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). ```csharp public bool EnablePagination { get; set; } ``` ### ExtractOnlyUsedFont Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions/extractonlyusedfont.md #### WordProcessingEditOptions.ExtractOnlyUsedFont property Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. ```csharp public bool ExtractOnlyUsedFont { get; set; } ``` ##### Property Value `true` if it is required to extract only those font resources, which are used in text content of the document; otherwise, `false`. Default value is `false`. ##### Remarks Not all fonts, used in the WordProcessing document, are 100% used directly (applied to some text). There may be a situation, when font is referenced in the document and even may be embedded, but is not applied to any piece of text. For example, some font may be attached to some style, but this style is not applied to any part of text. This option controls how to process such cases. ### FontExtraction Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions/fontextraction.md #### WordProcessingEditOptions.FontExtraction property Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract). ```csharp public FontExtractionOptions FontExtraction { get; set; } ``` ### InputControlsClassName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions/inputcontrolsclassname.md #### WordProcessingEditOptions.InputControlsClassName property Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied. ```csharp public string InputControlsClassName { get; set; } ``` ##### Remarks Almost all formats from WordProcessing format family contain fields — specific document entities, that allow to obtain input data from users. There are a wide variety of fields: text-boxes, checkboxes, combo-boxes, drop down lists, buttons, date/time pickers, etc. All of them are translated into the most appropriate HTML structures and elements, with preserving the entered user data, if they are present in the input document. In specific use-cases it is required only to gather entered data on a client-side instead of editing the entire document content. For such case it is required to identify input controls in some way for fetching them with their data on client-side. This property allows to specify a class name, that will be applied for every input control in HTML markup, so client code will be able to traverse over HTML document structure and gather data. ### UseInlineStyles Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions/useinlinestyles.md #### WordProcessingEditOptions.UseInlineStyles property Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet (`false`) or as inline styles in the HTML markup (`true`). By default external styles are used (`false`). ```csharp public bool UseInlineStyles { get; set; } ``` ### WordProcessingEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingeditoptions/wordprocessingeditoptions.md #### WordProcessingEditOptions() Creates and returns a new instance of the WordProcessingEditOptions class, where all options are set to their default values ```csharp public WordProcessingEditOptions() ``` #### WordProcessingEditOptions(bool) Creates and returns a new instance of the WordProcessingEditOptions class with specified pagination and default all other options ```csharp public WordProcessingEditOptions(bool enablePagination) ``` | Parameter | Type | Description | | --- | --- | --- | | enablePagination | Boolean | Pagination flag, that enables HTML output, adjusted for paged mode | ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingloadoptions.md #### WordProcessingLoadOptions class Contains options for loading WordProcessing (Word-compatible) documents like DOC(X), RTF, ODT etc. into Editor class ```csharp public sealed class WordProcessingLoadOptions : ILoadOptions ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingLoadOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Password { get; set; } | Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). | ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingloadoptions/password.md #### WordProcessingLoadOptions.Password property Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). ```csharp public string Password { get; set; } ``` ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingloadoptions/wordprocessingloadoptions.md #### WordProcessingLoadOptions constructor The default constructor. ```csharp public WordProcessingLoadOptions() ``` ### WordProcessingProtection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingprotection.md #### WordProcessingProtection class Encapsulates document protection options for the WordProcessing document, which is generated from HTML ```csharp public sealed class WordProcessingProtection ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingProtection() | Parameterless constructor - all parameters have default values | | WordProcessingProtection(WordProcessingProtectionType, string) | Allows to set all parameters during class instantiation | #### Properties | Name | Description | | --- | --- | | Password { get; set; } | The password to protect the document with. If null or empty string - the protection will not be applied to the document. | | ProtectionType { get; set; } | Allows to set a protection type of the document. By default is set to not protect the document at all. | ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingprotection/password.md #### WordProcessingProtection.Password property The password to protect the document with. If null or empty string - the protection will not be applied to the document. ```csharp public string Password { get; set; } ``` ### ProtectionType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingprotection/protectiontype.md #### WordProcessingProtection.ProtectionType property Allows to set a protection type of the document. By default is set to not protect the document at all. ```csharp public WordProcessingProtectionType ProtectionType { get; set; } ``` ### WordProcessingProtection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingprotection/wordprocessingprotection.md #### WordProcessingProtection() Parameterless constructor - all parameters have default values ```csharp public WordProcessingProtection() ``` #### WordProcessingProtection(WordProcessingProtectionType, string) Allows to set all parameters during class instantiation ```csharp public WordProcessingProtection(WordProcessingProtectionType protectionType, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | protectionType | WordProcessingProtectionType | Set the protection type of the document | | password | String | Set the protection password | ### WordProcessingProtectionType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingprotectiontype.md #### WordProcessingProtectionType enumeration Represents all available protection types of the WordProcessing document ```csharp public enum WordProcessingProtectionType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | NoProtection | `0` | The document is not protected. Default value. | | AllowOnlyRevisions | `1` | User can only add revision marks to the document | | AllowOnlyComments | `2` | User can only modify comments in the document | | AllowOnlyFormFields | `3` | User can only enter data in the form fields in the document | | ReadOnly | `4` | No changes are allowed to the document | ### WordProcessingSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions.md #### WordProcessingSaveOptions class Allows to specify custom options for generating and saving WordProcessing-compliant documents after they were edited ```csharp public sealed class WordProcessingSaveOptions : ICloneable, ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | WordProcessingSaveOptions() | This parameterless constructor creates a new instance of WordProcessingSaveOptions with DOCX output format (can be modified then through `OutputFormat` property) | | WordProcessingSaveOptions(WordProcessingFormats) | Creates a new instance of WordProcessingSaveOptions with specified mandatory WordProcessing output format, while all other parameters are default | #### Properties | Name | Description | | --- | --- | | EnablePagination { get; set; } | Allows to enable or disable pagination which will be used for saving the WordProcessing document. If the original document was opened and edited in pagination mode, this option also should be enabled. By default is disabled. | | FontEmbedding { get; set; } | Responsible for embedding font resources into output WordProcessing document. By default doesn't embed any fonts (NotEmbed). | | Locale { get; set; } | Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document locale according to its own settings or other factors. | | LocaleBi { get; set; } | Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document RTL locale according to its own settings or other factors. | | LocaleFarEast { get; set; } | Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document East-Asian locale according to its own settings or other factors. | | OptimizeMemoryUsage { get; set; } | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). | | OutputFormat { get; set; } | Allows to specify a WordProcessing format, which will be used for saving the document | | Password { get; set; } | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. Specify NULL or empty string for removing (cleaning) the password. | | Protection { get; set; } | Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. By default is NULL - document protection will not be used. | #### Methods | Name | Description | | --- | --- | | Clone() | Creates and returns a full copy of this instance of WordProcessingSaveOptions class | ##### Remarks WordProcessingSaveOptions is applied in situations when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of WordProcessing format. ### Clone Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/clone.md #### WordProcessingSaveOptions.Clone method Creates and returns a full copy of this instance of WordProcessingSaveOptions class ```csharp public WordProcessingSaveOptions Clone() ``` ##### Return Value New WordProcessingSaveOptions instance ### EnablePagination Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/enablepagination.md #### WordProcessingSaveOptions.EnablePagination property Allows to enable or disable pagination which will be used for saving the WordProcessing document. If the original document was opened and edited in pagination mode, this option also should be enabled. By default is disabled. ```csharp public bool EnablePagination { get; set; } ``` ### FontEmbedding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/fontembedding.md #### WordProcessingSaveOptions.FontEmbedding property Responsible for embedding font resources into output WordProcessing document. By default doesn't embed any fonts (NotEmbed). ```csharp public FontEmbeddingOptions FontEmbedding { get; set; } ``` ### Locale Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/locale.md #### WordProcessingSaveOptions.Locale property Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document locale according to its own settings or other factors. ```csharp public CultureInfo Locale { get; set; } ``` ##### Remarks This option forcibly applies the specified locale to overall text in the document. Do not use it, if document contains different parts of text, which are written on different languages. ### LocaleBi Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/localebi.md #### WordProcessingSaveOptions.LocaleBi property Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document RTL locale according to its own settings or other factors. ```csharp public CultureInfo LocaleBi { get; set; } ``` ##### Remarks This option forcibly applies the specified locale to overall RTL text in the document. Do not use it, if document contains different parts of text, which are written on different languages. ### LocaleFarEast Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/localefareast.md #### WordProcessingSaveOptions.LocaleFarEast property Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document East-Asian locale according to its own settings or other factors. ```csharp public CultureInfo LocaleFarEast { get; set; } ``` ##### Remarks This option forcibly applies the specified locale to overall East-Asian text in the document. Do not use it, if document contains different parts of text, which are written on different languages. ### OptimizeMemoryUsage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/optimizememoryusage.md #### WordProcessingSaveOptions.OptimizeMemoryUsage property Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). ```csharp public bool OptimizeMemoryUsage { get; set; } ``` ### OutputFormat Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/outputformat.md #### WordProcessingSaveOptions.OutputFormat property Allows to specify a WordProcessing format, which will be used for saving the document ```csharp public WordProcessingFormats OutputFormat { get; set; } ``` ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/password.md #### WordProcessingSaveOptions.Password property Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. Specify NULL or empty string for removing (cleaning) the password. ```csharp public string Password { get; set; } ``` ### Protection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/protection.md #### WordProcessingSaveOptions.Protection property Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. By default is NULL - document protection will not be used. ```csharp public WordProcessingProtection Protection { get; set; } ``` ### WordProcessingSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/wordprocessingsaveoptions/wordprocessingsaveoptions.md #### WordProcessingSaveOptions() This parameterless constructor creates a new instance of WordProcessingSaveOptions with DOCX output format (can be modified then through `OutputFormat` property) ```csharp public WordProcessingSaveOptions() ``` #### WordProcessingSaveOptions(WordProcessingFormats) Creates a new instance of WordProcessingSaveOptions with specified mandatory WordProcessing output format, while all other parameters are default ```csharp public WordProcessingSaveOptions(WordProcessingFormats outputFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | outputFormat | WordProcessingFormats | Mandatory output format, in which the WordProcessing document should be saved | ### WorksheetProtection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/worksheetprotection.md #### WorksheetProtection class Encapsulates worksheet protection options, which allow to protect a worksheet in the output Spreadsheet document from modification of specified type with a specified password. ```csharp public sealed class WorksheetProtection ``` #### Constructors | Name | Description | | --- | --- | | WorksheetProtection() | Creates new instance with default parameters. If not modified and passed to SpreadsheetSaveOptions, no worksheet protection will be applied | | WorksheetProtection(WorksheetProtectionType, string) | Creates new instance with specified worksheet protection type and password | #### Properties | Name | Description | | --- | --- | | Password { get; set; } | Password, which is used for protecting a worksheet. If NULL or empty string, the protection will not be applied. | | ProtectionType { get; set; } | Allows to specify a type of worksheet protection. By default is 'None' - protection is not applied. | ##### Remarks Most of Spreadsheet formats like XLSX allows to protect a worksheet from editing with password. This class allows to enable such protection and specify its options. ### Password Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/worksheetprotection/password.md #### WorksheetProtection.Password property Password, which is used for protecting a worksheet. If NULL or empty string, the protection will not be applied. ```csharp public string Password { get; set; } ``` ### ProtectionType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/worksheetprotection/protectiontype.md #### WorksheetProtection.ProtectionType property Allows to specify a type of worksheet protection. By default is 'None' - protection is not applied. ```csharp public WorksheetProtectionType ProtectionType { get; set; } ``` ### WorksheetProtection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/worksheetprotection/worksheetprotection.md #### WorksheetProtection() Creates new instance with default parameters. If not modified and passed to SpreadsheetSaveOptions, no worksheet protection will be applied ```csharp public WorksheetProtection() ``` #### WorksheetProtection(WorksheetProtectionType, string) Creates new instance with specified worksheet protection type and password ```csharp public WorksheetProtection(WorksheetProtectionType protectionType, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | protectionType | WorksheetProtectionType | Type of worksheet protection | | password | String | Password, that locks the protection | ### WorksheetProtectionType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/worksheetprotectiontype.md #### WorksheetProtectionType enumeration Represents Spreadsheet worksheet (tab) protection types ```csharp public enum WorksheetProtectionType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Protection is not applied (default value) | | All | `1` | User cannot modify anything on the worksheet | | Contents | `2` | User cannot enter data in the worksheet | | Objects | `3` | User cannot modify drawing objects | | Scenarios | `4` | User cannot modify saved scenarios | | Structure | `5` | User cannot modify the structure | | Window | `6` | User cannot modify the window | ### XmlEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions.md #### XmlEditOptions class Allows to specify custom options for editing XML (eXtensible Markup Language) documents and converting them to the HTML ```csharp public sealed class XmlEditOptions : IEditOptions ``` #### Constructors | Name | Description | | --- | --- | | XmlEditOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | AttributeValuesQuoteType { get; set; } | Allows to specify quote type (single or double quotes) for attribute values. Double quotes are default. | | Encoding { get; set; } | Character encoding of the text document, which will be applied for its opening. By default is null — internal document encoding will be applied. | | FixIncorrectStructure { get; set; } | Allows to enable or disable mechanism for fixing corrupted XML structure. By default is disabled (false). | | FormatOptions { get; } | Allows to adjust the XML formatting, that will be applied to the XML structure, when it is represented in HTML. Default formatting is used and is adjustable. Cannot be null. | | HighlightOptions { get; } | Allows to adjust the XML highlighting, that will be applied to the XML structure, when it is represented in HTML. Default highlighting is used and is adjustable. Cannot be null. | | RecognizeEmails { get; set; } | Allows to enable recognition algorithm for email addresses in attribute values | | RecognizeUris { get; set; } | Allows to enable URI recognition algorithm | | TrimTrailingWhitespaces { get; set; } | Allows to enable the truncation of trailing whitespaces in the inner-tag text. By default is disabled (false) — trailing whitespaces will be preserved. | ### AttributeValuesQuoteType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/attributevaluesquotetype.md #### XmlEditOptions.AttributeValuesQuoteType property Allows to specify quote type (single or double quotes) for attribute values. Double quotes are default. ```csharp public QuoteType AttributeValuesQuoteType { get; set; } ``` ### Encoding Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/encoding.md #### XmlEditOptions.Encoding property Character encoding of the text document, which will be applied for its opening. By default is null — internal document encoding will be applied. ```csharp public Encoding Encoding { get; set; } ``` ### FixIncorrectStructure Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/fixincorrectstructure.md #### XmlEditOptions.FixIncorrectStructure property Allows to enable or disable mechanism for fixing corrupted XML structure. By default is disabled (false). ```csharp public bool FixIncorrectStructure { get; set; } ``` ##### Remarks By default only proper valid well-formed XML documents are acceptable. When this option is enabled, GroupDocs.Editor will try to fix corrupted XML structure if possible. ### FormatOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/formatoptions.md #### XmlEditOptions.FormatOptions property Allows to adjust the XML formatting, that will be applied to the XML structure, when it is represented in HTML. Default formatting is used and is adjustable. Cannot be null. ```csharp public XmlFormatOptions FormatOptions { get; } ``` ### HighlightOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/highlightoptions.md #### XmlEditOptions.HighlightOptions property Allows to adjust the XML highlighting, that will be applied to the XML structure, when it is represented in HTML. Default highlighting is used and is adjustable. Cannot be null. ```csharp public XmlHighlightOptions HighlightOptions { get; } ``` ### RecognizeEmails Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/recognizeemails.md #### XmlEditOptions.RecognizeEmails property Allows to enable recognition algorithm for email addresses in attribute values ```csharp public bool RecognizeEmails { get; set; } ``` ### RecognizeUris Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/recognizeuris.md #### XmlEditOptions.RecognizeUris property Allows to enable URI recognition algorithm ```csharp public bool RecognizeUris { get; set; } ``` ### TrimTrailingWhitespaces Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/trimtrailingwhitespaces.md #### XmlEditOptions.TrimTrailingWhitespaces property Allows to enable the truncation of trailing whitespaces in the inner-tag text. By default is disabled (false) — trailing whitespaces will be preserved. ```csharp public bool TrimTrailingWhitespaces { get; set; } ``` ### XmlEditOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmleditoptions/xmleditoptions.md #### XmlEditOptions constructor The default constructor. ```csharp public XmlEditOptions() ``` ### XmlFormatOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlformatoptions.md #### XmlFormatOptions class Contains options, that allow to adjust the formatting of XML document, when it is represented as HTML ```csharp public sealed class XmlFormatOptions : IEditOptions ``` #### Properties | Name | Description | | --- | --- | | EachAttributeFromNewline { get; set; } | When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. By default is false (disabled) — all attribute-value pairs are placed in a single line. | | IsDefault { get; } | Indicates whether this instance of XML formatting options has a default value | | LeafTextNodesOnNewline { get; set; } | When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. By default is false (disabled) — leaf text nodes are placed on the same line as their parents, without new indent. | | LeftIndent { get; set; } | Allows to specify an offset for the left indent of every new line. Cannot be a unitless non-zero value. By default is 10pt | ### EachAttributeFromNewline Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlformatoptions/eachattributefromnewline.md #### XmlFormatOptions.EachAttributeFromNewline property When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. By default is false (disabled) — all attribute-value pairs are placed in a single line. ```csharp public bool EachAttributeFromNewline { get; set; } ``` ### IsDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlformatoptions/isdefault.md #### XmlFormatOptions.IsDefault property Indicates whether this instance of XML formatting options has a default value ```csharp public bool IsDefault { get; } ``` ### LeafTextNodesOnNewline Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlformatoptions/leaftextnodesonnewline.md #### XmlFormatOptions.LeafTextNodesOnNewline property When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. By default is false (disabled) — leaf text nodes are placed on the same line as their parents, without new indent. ```csharp public bool LeafTextNodesOnNewline { get; set; } ``` ### LeftIndent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlformatoptions/leftindent.md #### XmlFormatOptions.LeftIndent property Allows to specify an offset for the left indent of every new line. Cannot be a unitless non-zero value. By default is 10pt ```csharp public Length LeftIndent { get; set; } ``` ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | Specified length value is unitless non-zero | ### XmlHighlightOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions.md #### XmlHighlightOptions class Contains options, that allow to customize the XML highlighting during XML-to-HTML conversion ```csharp public sealed class XmlHighlightOptions : IEditOptions ``` #### Properties | Name | Description | | --- | --- | | AttributeNamesFontSettings { get; } | Responsible for representing the font of attribute names | | AttributeValuesFontSettings { get; } | Responsible for representing the font of attribute values | | CDataFontSettings { get; } | Responsible for representing the font of CDATA sections (including pair of opening and closing tags) | | HtmlCommentsFontSettings { get; } | Responsible for representing the font of HTML comments (including pair of opening and closing tags) | | InnerTextFontSettings { get; } | Responsible for representing the font of inner-tag text | | IsDefault { get; } | Determines whether this XML Highlight options object has a default font settings | | XmlTagsFontSettings { get; } | Responsible for representing the font of XML tags (angle brackets with tag names) | #### Methods | Name | Description | | --- | --- | | ResetToDefault() | Resets the current font settings to their default values | ### AttributeNamesFontSettings Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/attributenamesfontsettings.md #### XmlHighlightOptions.AttributeNamesFontSettings property Responsible for representing the font of attribute names ```csharp public WebFont AttributeNamesFontSettings { get; } ``` ### AttributeValuesFontSettings Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/attributevaluesfontsettings.md #### XmlHighlightOptions.AttributeValuesFontSettings property Responsible for representing the font of attribute values ```csharp public WebFont AttributeValuesFontSettings { get; } ``` ### CDataFontSettings Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/cdatafontsettings.md #### XmlHighlightOptions.CDataFontSettings property Responsible for representing the font of CDATA sections (including pair of opening and closing tags) ```csharp public WebFont CDataFontSettings { get; } ``` ### HtmlCommentsFontSettings Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/htmlcommentsfontsettings.md #### XmlHighlightOptions.HtmlCommentsFontSettings property Responsible for representing the font of HTML comments (including pair of opening and closing tags) ```csharp public WebFont HtmlCommentsFontSettings { get; } ``` ### InnerTextFontSettings Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/innertextfontsettings.md #### XmlHighlightOptions.InnerTextFontSettings property Responsible for representing the font of inner-tag text ```csharp public WebFont InnerTextFontSettings { get; } ``` ### IsDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/isdefault.md #### XmlHighlightOptions.IsDefault property Determines whether this XML Highlight options object has a default font settings ```csharp public bool IsDefault { get; } ``` ### ResetToDefault Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/resettodefault.md #### XmlHighlightOptions.ResetToDefault method Resets the current font settings to their default values ```csharp public void ResetToDefault() ``` ### XmlTagsFontSettings Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xmlhighlightoptions/xmltagsfontsettings.md #### XmlHighlightOptions.XmlTagsFontSettings property Responsible for representing the font of XML tags (angle brackets with tag names) ```csharp public WebFont XmlTagsFontSettings { get; } ``` ### XpsSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xpssaveoptions.md #### XpsSaveOptions class Allows to specify custom options for generating and saving XPS (XML Paper Specifications) documents ```csharp public sealed class XpsSaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | XpsSaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | OptimizeMemoryUsage { get; set; } | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). | ##### Remarks An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. It was developed as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. ### OptimizeMemoryUsage Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xpssaveoptions/optimizememoryusage.md #### XpsSaveOptions.OptimizeMemoryUsage property Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). ```csharp public bool OptimizeMemoryUsage { get; set; } ``` ### XpsSaveOptions Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.options/xpssaveoptions/xpssaveoptions.md #### XpsSaveOptions constructor The default constructor. ```csharp public XpsSaveOptions() ``` ### GroupDocs.Editor.Words.FieldManagement Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement.md Contains classes and interfaces related to the management and manipulation of form fields within documents. This namespace provides functionality to work with various types of form fields, such as text fields, checkboxes, dropdowns, etc., allowing users to interact with and modify form fields programmatically. #### Classes | Class | Description | | --- | --- | | CheckBoxForm | Represents a form field that displays a checkbox. | | CurrentDateFormField | Represents a form field that displays the current date. | | CurrentTimeFormField | Represents a form field that displays the current time. | | DateFormField | Represents a form field that displays a date. | | DropDownFormField | Represents a form field that displays a drop-down list. | | FormFieldCollection | Represents a collection of form fields. | | HelpText | Represents help text for a form field. | | InvalidFormField | Represents the update of invalid form field names during the `FixInvalidFormFieldNames` operation. | | NumberFormField | Represents a form field that accepts a number input. | | TextFormField | Represents a form field that accepts text input. | #### Interfaces | Interface | Description | | --- | --- | | IFormField | Represents a form field. | #### Enumeration | Enumeration | Description | | --- | --- | | FormFieldType | Specifies the type of form field. | ### CheckBoxForm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform.md #### CheckBoxForm class Represents a form field that displays a checkbox. ```csharp public sealed class CheckBoxForm : IFormField ``` #### Constructors | Name | Description | | --- | --- | | CheckBoxForm(string, string) | Initializes a new instance of the `CheckBoxForm` class with the specified stylesheet and name. | #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether the form field is read-only. | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field, which is always FormFieldType.CheckBox for this class. | | Value { get; set; } | Gets or sets the value of the form field, which represents the state of the checkbox. | ### CheckBoxForm Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/checkboxform.md #### CheckBoxForm constructor Initializes a new instance of the `CheckBoxForm` class with the specified stylesheet and name. ```csharp public CheckBoxForm(string stylesheet, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | stylesheet | String | The stylesheet to apply to the form field. | | name | String | The name of the form field. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/helptext.md #### CheckBoxForm.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/localeid.md #### CheckBoxForm.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture checkBoxField.LocaleId = new CultureInfo("en-US").LCID; ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/name.md #### CheckBoxForm.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/readonly.md #### CheckBoxForm.Readonly property Gets or sets a value indicating whether the form field is read-only. ```csharp public bool Readonly { get; set; } ``` ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/statustext.md #### CheckBoxForm.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/stylesheet.md #### CheckBoxForm.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/type.md #### CheckBoxForm.Type property Gets the type of the form field, which is always FormFieldType.CheckBox for this class. ```csharp public FormFieldType Type { get; } ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/checkboxform/value.md #### CheckBoxForm.Value property Gets or sets the value of the form field, which represents the state of the checkbox. ```csharp public bool Value { get; set; } ``` ### CurrentDateFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield.md #### CurrentDateFormField class Represents a form field that displays the current date. ```csharp public sealed class CurrentDateFormField : IFormField ``` #### Constructors | Name | Description | | --- | --- | | CurrentDateFormField(string, string) | Initializes a new instance of the `CurrentDateFormField` class with the specified stylesheet and name. | #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether the form field is read-only. | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field, which is always FormFieldType.CurrentDate for this class. | | Value { get; set; } | Gets or sets the value of the form field, which represents the current date. | ### CurrentDateFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/currentdateformfield.md #### CurrentDateFormField constructor Initializes a new instance of the `CurrentDateFormField` class with the specified stylesheet and name. ```csharp public CurrentDateFormField(string stylesheet, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | stylesheet | String | The stylesheet to apply to the form field. | | name | String | The name of the form field. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/helptext.md #### CurrentDateFormField.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/localeid.md #### CurrentDateFormField.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture currentTimeField.LocaleId = new CultureInfo("en-US").LCID; ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/name.md #### CurrentDateFormField.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/readonly.md #### CurrentDateFormField.Readonly property Gets or sets a value indicating whether the form field is read-only. ```csharp public bool Readonly { get; set; } ``` ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/statustext.md #### CurrentDateFormField.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/stylesheet.md #### CurrentDateFormField.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/type.md #### CurrentDateFormField.Type property Gets the type of the form field, which is always FormFieldType.CurrentDate for this class. ```csharp public FormFieldType Type { get; } ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currentdateformfield/value.md #### CurrentDateFormField.Value property Gets or sets the value of the form field, which represents the current date. ```csharp public DateTime Value { get; set; } ``` ### CurrentTimeFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield.md #### CurrentTimeFormField class Represents a form field that displays the current time. ```csharp public sealed class CurrentTimeFormField : IFormField ``` #### Constructors | Name | Description | | --- | --- | | CurrentTimeFormField(string, string) | Initializes a new instance of the `CurrentTimeFormField` class with the specified stylesheet and name. | #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether the form field is read-only. | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field, which is always FormFieldType.CurrentTime for this class. | | Value { get; set; } | Gets or sets the value of the form field, which represents the current time. | ### CurrentTimeFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/currenttimeformfield.md #### CurrentTimeFormField constructor Initializes a new instance of the `CurrentTimeFormField` class with the specified stylesheet and name. ```csharp public CurrentTimeFormField(string stylesheet, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | stylesheet | String | The stylesheet to apply to the form field. | | name | String | The name of the form field. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/helptext.md #### CurrentTimeFormField.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/localeid.md #### CurrentTimeFormField.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture currentTimeField.LocaleId = new CultureInfo("en-US").LCID; ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/name.md #### CurrentTimeFormField.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/readonly.md #### CurrentTimeFormField.Readonly property Gets or sets a value indicating whether the form field is read-only. ```csharp public bool Readonly { get; set; } ``` ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/statustext.md #### CurrentTimeFormField.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/stylesheet.md #### CurrentTimeFormField.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/type.md #### CurrentTimeFormField.Type property Gets the type of the form field, which is always FormFieldType.CurrentTime for this class. ```csharp public FormFieldType Type { get; } ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/currenttimeformfield/value.md #### CurrentTimeFormField.Value property Gets or sets the value of the form field, which represents the current time. ```csharp public DateTime Value { get; set; } ``` ### DateFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield.md #### DateFormField class Represents a form field that displays a date. ```csharp public sealed class DateFormField : IFormField ``` #### Constructors | Name | Description | | --- | --- | | DateFormField(string, string) | Initializes a new instance of the `DateFormField` class with the specified stylesheet and name. | #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether the form field is read-only. | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field, which is always FormFieldType.Date for this class. | | Value { get; set; } | Gets or sets the value of the form field, which represents a date. | ### DateFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/dateformfield.md #### DateFormField constructor Initializes a new instance of the `DateFormField` class with the specified stylesheet and name. ```csharp public DateFormField(string stylesheet, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | stylesheet | String | The stylesheet to apply to the form field. | | name | String | The name of the form field. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/helptext.md #### DateFormField.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/localeid.md #### DateFormField.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture dateField.LocaleId = new CultureInfo("en-US").LCID; ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/name.md #### DateFormField.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/readonly.md #### DateFormField.Readonly property Gets or sets a value indicating whether the form field is read-only. ```csharp public bool Readonly { get; set; } ``` ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/statustext.md #### DateFormField.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/stylesheet.md #### DateFormField.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/type.md #### DateFormField.Type property Gets the type of the form field, which is always FormFieldType.Date for this class. ```csharp public FormFieldType Type { get; } ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dateformfield/value.md #### DateFormField.Value property Gets or sets the value of the form field, which represents a date. ```csharp public DateTime Value { get; set; } ``` ### DropDownFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield.md #### DropDownFormField class Represents a form field that displays a drop-down list. ```csharp public sealed class DropDownFormField : IFormField ``` #### Constructors | Name | Description | | --- | --- | | DropDownFormField(string, string) | Initializes a new instance of the `DropDownFormField` class with the specified stylesheet and name. | #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether the form field is read-only. | | SelectedIndex { get; set; } | Gets or sets the index of the selected item in the drop-down list. | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field, which is always FormFieldType.DropDown for this class. | | Value { get; set; } | Gets or sets the value of the form field, which represents the list of options in the drop-down list. | ### DropDownFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/dropdownformfield.md #### DropDownFormField constructor Initializes a new instance of the `DropDownFormField` class with the specified stylesheet and name. ```csharp public DropDownFormField(string stylesheet, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | stylesheet | String | The stylesheet to apply to the form field. | | name | String | The name of the form field. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/helptext.md #### DropDownFormField.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/localeid.md #### DropDownFormField.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture dropDownField.LocaleId = new CultureInfo("en-US").LCID; ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/name.md #### DropDownFormField.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/readonly.md #### DropDownFormField.Readonly property Gets or sets a value indicating whether the form field is read-only. ```csharp public bool Readonly { get; set; } ``` ### SelectedIndex Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/selectedindex.md #### DropDownFormField.SelectedIndex property Gets or sets the index of the selected item in the drop-down list. ```csharp public int SelectedIndex { get; set; } ``` ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/statustext.md #### DropDownFormField.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/stylesheet.md #### DropDownFormField.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/type.md #### DropDownFormField.Type property Gets the type of the form field, which is always FormFieldType.DropDown for this class. ```csharp public FormFieldType Type { get; } ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/dropdownformfield/value.md #### DropDownFormField.Value property Gets or sets the value of the form field, which represents the list of options in the drop-down list. ```csharp public List Value { get; set; } ``` ### FormFieldCollection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/formfieldcollection.md #### FormFieldCollection class Represents a collection of form fields. ```csharp public sealed class FormFieldCollection : IEnumerable ``` #### Constructors | Name | Description | | --- | --- | | FormFieldCollection() | Initializes a new instance of the `FormFieldCollection` class. | #### Properties | Name | Description | | --- | --- | | Item { get; } | Gets the form field with the specified name. | #### Methods | Name | Description | | --- | --- | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetFormField<T>(string) | Gets the form field with the specified name and type. | ### FormFieldCollection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/formfieldcollection/formfieldcollection.md #### FormFieldCollection constructor Initializes a new instance of the `FormFieldCollection` class. ```csharp public FormFieldCollection() ``` ### GetEnumerator Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/formfieldcollection/getenumerator.md #### FormFieldCollection.GetEnumerator method Returns an enumerator that iterates through the collection. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An enumerator that can be used to iterate through the collection. ### GetFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/formfieldcollection/getformfield.md #### FormFieldCollection.GetFormField<T> method Gets the form field with the specified name and type. ```csharp public T GetFormField(string name) where T : IFormField ``` | Parameter | Description | | --- | --- | | T | The type of the form field. | | name | The name of the form field. | ##### Return Value The form field with the specified name and type, if found; otherwise, the default value for the type. ### Item Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/formfieldcollection/item.md #### FormFieldCollection indexer Gets the form field with the specified name. ```csharp public IFormField this[string name] { get; } ``` | Parameter | Description | | --- | --- | | name | The name of the form field. | ##### Return Value The form field with the specified name, if found; otherwise, `null`. ### FormFieldType Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/formfieldtype.md #### FormFieldType enumeration Specifies the type of form field. ```csharp public enum FormFieldType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Text | `0` | The text form field can contain any text. | | Number | `1` | The text form field can contain only numbers. | | Date | `2` | The text form field can contain only a valid date value. | | CurrentDate | `3` | The text form field value is the current date when the field is updated. | | CurrentTime | `4` | The text form field value is the current time when the field is updated. | | CheckBox | `5` | The checkbox form field. | | DropDown | `6` | The drop-down field. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/helptext.md #### HelpText class Represents help text for a form field. ```csharp public sealed class HelpText ``` #### Constructors | Name | Description | | --- | --- | | HelpText() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Text { get; set; } | Gets or sets the text content of the help text. | | UseOwn { get; set; } | Gets or sets a value indicating whether the form field should use its own help text. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/helptext/helptext.md #### HelpText constructor The default constructor. ```csharp public HelpText() ``` ### Text Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/helptext/text.md #### HelpText.Text property Gets or sets the text content of the help text. ```csharp public string Text { get; set; } ``` ### UseOwn Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/helptext/useown.md #### HelpText.UseOwn property Gets or sets a value indicating whether the form field should use its own help text. ```csharp public bool UseOwn { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### IFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield.md #### IFormField interface Represents a form field. ```csharp public interface IFormField ``` #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether this `IFormField` is readonly. Some analog of [HTML attribute: readonly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly). | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield/helptext.md #### IFormField.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield/localeid.md #### IFormField.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture field.LocaleId = new CultureInfo("en-US").LCID; ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield/name.md #### IFormField.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield/readonly.md #### IFormField.Readonly property Gets or sets a value indicating whether this `IFormField` is readonly. Some analog of [HTML attribute: readonly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly). ```csharp public bool Readonly { get; set; } ``` ##### Property Value `true` if readonly; otherwise, `false`. ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield/statustext.md #### IFormField.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield/stylesheet.md #### IFormField.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ##### Property Value The stylesheet. ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/iformfield/type.md #### IFormField.Type property Gets the type of the form field. ```csharp public FormFieldType Type { get; } ``` ### InvalidFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/invalidformfield.md #### InvalidFormField class Represents the update of invalid form field names during the `FixInvalidFormFieldNames` operation. ```csharp public sealed class InvalidFormField ``` #### Constructors | Name | Description | | --- | --- | | InvalidFormField(string) | Initializes a new instance of the `InvalidFormField` class with the specified name. | #### Properties | Name | Description | | --- | --- | | FixedName { get; set; } | Gets or sets the new name for the form field after repair. This name removes duplicate unique identifiers with other form fields and sets a unique bookmark name. | | Name { get; } | Gets the original name of the form field that cannot be modified outside `FormFieldManager`. | ### FixedName Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/invalidformfield/fixedname.md #### InvalidFormField.FixedName property Gets or sets the new name for the form field after repair. This name removes duplicate unique identifiers with other form fields and sets a unique bookmark name. ```csharp public string FixedName { get; set; } ``` ##### Remarks ```csharp FixedName = string.Format("{0}_fixed", name) // as default value. ``` ### InvalidFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/invalidformfield/invalidformfield.md #### InvalidFormField constructor Initializes a new instance of the `InvalidFormField` class with the specified name. ```csharp public InvalidFormField(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The original name of the form field. | ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/invalidformfield/name.md #### InvalidFormField.Name property Gets the original name of the form field that cannot be modified outside `FormFieldManager`. ```csharp public string Name { get; } ``` ### NumberFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield.md #### NumberFormField class Represents a form field that accepts a number input. ```csharp public sealed class NumberFormField : IFormField ``` #### Constructors | Name | Description | | --- | --- | | NumberFormField(string, string) | Initializes a new instance of the `NumberFormField` class with the specified stylesheet and name. | #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | MaxLength { get; set; } | Gets or sets the maximum length of the input for the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether the form field is read-only. | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field, which is always FormFieldType.Number for this class. | | Value { get; set; } | Gets or sets the value of the form field, which represents a number. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/helptext.md #### NumberFormField.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/localeid.md #### NumberFormField.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture numberField.LocaleId = new CultureInfo("en-US").LCID; ``` ### MaxLength Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/maxlength.md #### NumberFormField.MaxLength property Gets or sets the maximum length of the input for the form field. ```csharp public int MaxLength { get; set; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/name.md #### NumberFormField.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### NumberFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/numberformfield.md #### NumberFormField constructor Initializes a new instance of the `NumberFormField` class with the specified stylesheet and name. ```csharp public NumberFormField(string stylesheet, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | stylesheet | String | The stylesheet to apply to the form field. | | name | String | The name of the form field. | ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/readonly.md #### NumberFormField.Readonly property Gets or sets a value indicating whether the form field is read-only. ```csharp public bool Readonly { get; set; } ``` ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/statustext.md #### NumberFormField.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/stylesheet.md #### NumberFormField.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/type.md #### NumberFormField.Type property Gets the type of the form field, which is always FormFieldType.Number for this class. ```csharp public FormFieldType Type { get; } ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/numberformfield/value.md #### NumberFormField.Value property Gets or sets the value of the form field, which represents a number. ```csharp public float Value { get; set; } ``` ### TextFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield.md #### TextFormField class Represents a form field that accepts text input. ```csharp public sealed class TextFormField : IFormField ``` #### Constructors | Name | Description | | --- | --- | | TextFormField(string, string) | Initializes a new instance of the `TextFormField` class with the specified stylesheet and name. | #### Properties | Name | Description | | --- | --- | | HelpText { get; set; } | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | LocaleId { get; set; } | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | MaxLength { get; set; } | Gets or sets the maximum length of the input for the form field. | | Name { get; } | Gets the name of the form field. | | Readonly { get; set; } | Gets or sets a value indicating whether the form field is read-only. | | StatusText { get; set; } | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | Stylesheet { get; } | Gets the stylesheet applied to the form field. | | Type { get; } | Gets the type of the form field, which is always FormFieldType.Text for this class. | | Value { get; set; } | Gets or sets the value of the form field, which represents the text input. | ### HelpText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/helptext.md #### TextFormField.HelpText property Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. ```csharp public HelpText HelpText { get; set; } ``` ##### Remarks If set to `false`, the help text will not be applied. ### LocaleId Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/localeid.md #### TextFormField.LocaleId property Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. ```csharp public int LocaleId { get; set; } ``` ##### Remarks The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. ##### Examples The following example demonstrates how to set the LocaleId property: ```csharp Set the LocaleId to represent the English (United States) culture textField.LocaleId = new CultureInfo("en-US").LCID; ``` ### MaxLength Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/maxlength.md #### TextFormField.MaxLength property Gets or sets the maximum length of the input for the form field. ```csharp public int MaxLength { get; set; } ``` ### Name Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/name.md #### TextFormField.Name property Gets the name of the form field. ```csharp public string Name { get; } ``` ### Readonly Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/readonly.md #### TextFormField.Readonly property Gets or sets a value indicating whether the form field is read-only. ```csharp public bool Readonly { get; set; } ``` ### StatusText Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/statustext.md #### TextFormField.StatusText property Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. ```csharp public HelpText StatusText { get; set; } ``` ##### Remarks If set to `false`, the status text will not be applied. ### Stylesheet Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/stylesheet.md #### TextFormField.Stylesheet property Gets the stylesheet applied to the form field. ```csharp public string Stylesheet { get; } ``` ### TextFormField Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/textformfield.md #### TextFormField constructor Initializes a new instance of the `TextFormField` class with the specified stylesheet and name. ```csharp public TextFormField(string stylesheet, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | stylesheet | String | The stylesheet to apply to the form field. | | name | String | The name of the form field. | ### Type Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/type.md #### TextFormField.Type property Gets the type of the form field, which is always FormFieldType.Text for this class. ```csharp public FormFieldType Type { get; } ``` ### Value Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.words.fieldmanagement/textformfield/value.md #### TextFormField.Value property Gets or sets the value of the form field, which represents the text input. ```csharp public string Value { get; set; } ``` ### GroupDocs.Editor Path: https://reference.groupdocs.com/editor/net/groupdocs.editor.md The GroupDocs.Editor namespace provides classes for editing documents using 3rd party front-end WYSIWYG editors without any additional applications. #### Classes | Class | Description | | --- | --- | | EditableDocument | Intermediate document, that contains content before and after editing | | Editor | Main class, which encapsulates conversion methods. Editor class provides methods for loading, editing, and saving documents of all supportable formats. It is disposable, so use a 'using' directive or dispose its resources manually via 'Dispose()' method call. Document loading is performed through constructors. Document editing - through method 'Edit', and saving back to the resultant document after edit - through method 'Save'. | | EncryptedException | The exception that is thrown when user tries to open a document that was encrypted using the X509Certificates. | | FormFieldManager | Manage a Form with Legacy Form Fields. Legacy form fields are the field types that were available in earlier versions of Word processing. The Legacy Forms group (visible after you click the Legacy Tools icon) includes three types of form fields you can insert in a document: text, check box, drop-down, date etc., see more `FormFieldType`. Each of these form fields allows the user of the form to select or enter information of the type that you deem appropriate. | | IncorrectPasswordException | The exception that is thrown when specified password is incorrect. | | InvalidFormatException | The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format. | | License | Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). | | Metered | Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. | | PasswordRequiredException | The exception that is thrown when user tries to open a password-protected encrypted document of some format and doesn't provide a password for opening this document. | ### EditableDocument Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument.md #### EditableDocument class Intermediate document, that contains content before and after editing ```csharp public sealed class EditableDocument : IAuxDisposable ``` #### Properties | Name | Description | | --- | --- | | AllResources { get; } | Returns a list of all existing resources: all stylesheets, images from HTML and all stylesheets, fonts, audio | | Audio { get; } | Returns a list of audio resources | | Css { get; } | Allows to obtain stylesheet (CSS) resources (both external and embedded, but not inline), which are used by this HTML document | | Fonts { get; } | Allows to obtain external font resources, which are used by this HTML document | | Images { get; } | Allows to obtain external image resources (raster and vector images), which are used by this HTML document | | IsDisposed { get; } | Determines whether this Editable document was already disposed (true) or not (false) | #### Methods | Name | Description | | --- | --- | | static FromFile(string, string) | Static factory, that creates an instance of EditableDocument from a HTML file, that is specified by a path to the *.html file itself and a folder with linked resources | | static FromMarkup(string) | Static factory, that creates an instance of `EditableDocument` from specified HTML markup | | static FromMarkup(string, IEnumerable<IHtmlResource>) | Static factory, that creates an instance of EditableDocument from specified HTML markup and a set of corresponding linked resources | | static FromMarkupAndResourceFolder(string, string) | Static factory, that creates an instance of EditableDocument from a specified HTML markup and from resources, located in the folder, specified by the full path | | Dispose() | Disposes this Editable document instance, disposing its content and making its methods and properties non-working | | GetBodyContent() | Returns a body of the HTML document (inner content between opening and closing BODY tags without these tags) as a string. | | GetBodyContent(string) | Returns a body of the HTML document (inner content between opening and closing BODY tags without these tags) as a string, where links to the external resources contain specified template with placeholders. | | GetContent() | Returns overall content of the HTML document as a string. | | GetContent(string, string) | Returns overall content of the HTML document as a string, where links to the external resources contain specified template with placeholders. | | GetContent<TStream>(TStream, Encoding) | Returns overall content of the HTML document as a byte stream by writing this content into specified stream with specified text encoding | | GetCssContent() | Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Returns empty list, if there is no CSS for this document. | | GetCssContent(string, string) | Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Specified prefix will be applied to every link to the external resource in every resultant stylesheet. Returns empty list, if there is no CSS for this document. | | GetEmbeddedHtml() | Returns all content of this HTML document with all related resources in a form of a single string, where all resources are embedded inside the HTML markup in a base64-encoded form. | | Save(string) | Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources. | | Save(string, string) | Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources, which is located on specified path. | | Save(TextWriter, HtmlSaveOptions) | Saves the content of this `EditableDocument` as the HTML document to the specified text writer, while the second options parameter allows to customize the saving procedure and specify the resource saving callback | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this Editable document is disposed, right after finishing the disposing process | ##### Remarks Instance of `EditableDocument` class can be produced by the '`Edit`' method or created by the user himself using static factories. `EditableDocument` internally stores document in its own closed format, which is compatible (convertible) with all import and export formats, that GroupDocs.Editor supports. In order to make document editable in any WYSIWYG client-side editor (like CKEditor or TinyMCE), `EditableDocument` provides methods for generating HTML markup and producing resources, that can be accepted by the user. ### AllResources Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/allresources.md #### EditableDocument.AllResources property Returns a list of all existing resources: all stylesheets, images from HTML and all stylesheets, fonts, audio ```csharp public List AllResources { get; } ``` ##### Remarks This property returns a concatenated result of 'Images', 'Fonts', 'Css', and 'Audio' properties ### Audio Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/audio.md #### EditableDocument.Audio property Returns a list of audio resources ```csharp public List Audio { get; } ``` ### Css Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/css.md #### EditableDocument.Css property Allows to obtain stylesheet (CSS) resources (both external and embedded, but not inline), which are used by this HTML document ```csharp public List Css { get; } ``` ##### Remarks This method returns a swallow copy of all used stylesheet resources: `List` is a new instance for every call, but resource instances are the same. ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/dispose.md #### EditableDocument.Dispose method Disposes this Editable document instance, disposing its content and making its methods and properties non-working ```csharp public void Dispose() ``` ##### Remarks After this method was invoked, calling all other methods of this instance will throw an ObjectDisposedException. It is safe to call this method multiple times — all subsequent calls are ignored. ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/disposed.md #### EditableDocument.Disposed event Event, which occurs when this Editable document is disposed, right after finishing the disposing process ```csharp public event EventHandler Disposed; ``` ### Fonts Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/fonts.md #### EditableDocument.Fonts property Allows to obtain external font resources, which are used by this HTML document ```csharp public List Fonts { get; } ``` ##### Remarks This method returns a swallow copy of all used font resources: `List` is a new instance for every call, but resource instances are the same. ### FromFile Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/fromfile.md #### EditableDocument.FromFile method Static factory, that creates an instance of EditableDocument from a HTML file, that is specified by a path to the *.html file itself and a folder with linked resources ```csharp public static EditableDocument FromFile(string htmlFilePath, string resourceFolderPath) ``` | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | String | String, that contains a full path to the HTML file. Cannot be null, should be valid file path, and file itself should exists. | | resourceFolderPath | String | Optional path to the folder with HTML resources. If NULL, invalid or such folder doesn't exist, Editor will try to find the this folder by itself, analyzing the HTML markup | ##### Return Value New non-null instance of EditableDocument ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | HTML file path, and/or the resource folder path is/are invalid | | FileNotFoundException | Specified HTML file cannot be found | ### FromMarkup Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/frommarkup.md #### FromMarkup(string) Static factory, that creates an instance of `EditableDocument` from specified HTML markup ```csharp public static EditableDocument FromMarkup(string newHtmlContent) ``` | Parameter | Type | Description | | --- | --- | --- | | newHtmlContent | String | String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid. | ##### Return Value New non-null instance of EditableDocument ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | String with input raw HTML markup cannot be null or empty | ##### Remarks THis static method is useful for creating the `EditableDocument` instance from the single-string HTML markup, where all resources are embedded into it with base64 encoding. #### FromMarkup(string, IEnumerable<IHtmlResource>) Static factory, that creates an instance of EditableDocument from specified HTML markup and a set of corresponding linked resources ```csharp public static EditableDocument FromMarkup(string newHtmlContent, IEnumerable resources) ``` | Parameter | Type | Description | | --- | --- | --- | | newHtmlContent | String | String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid. | | resources | IEnumerable`1 | Collection of all resources (images, stylesheets, fonts), that are used in the HTML-document, specified in *newHtmlContent* parameter. May be absent (NULL or empty collection). | ##### Return Value New non-null instance of EditableDocument ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | String with input raw HTML markup cannot be null or empty | ### FromMarkupAndResourceFolder Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/frommarkupandresourcefolder.md #### EditableDocument.FromMarkupAndResourceFolder method Static factory, that creates an instance of EditableDocument from a specified HTML markup and from resources, located in the folder, specified by the full path ```csharp public static EditableDocument FromMarkupAndResourceFolder(string newHtmlContent, string resourceFolderPath) ``` | Parameter | Type | Description | | --- | --- | --- | | newHtmlContent | String | String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid. | | resourceFolderPath | String | Mandatory path to the folder with resources. All stylesheets, which are located in this folder, will be used. Cannot be NULL or empty string, and this folder should exists. | ##### Return Value New non-null instance of EditableDocument ##### Remarks This static factory is useful when content of HTML document is presented as a string, but all resources are located in some folder, and often links to these resources in HTML markup are invalid and absent. When invoking this method, it scans specified folder and automatically applies all found stylesheets to the document. This method is very useful when obtaining content from different HTML editors, which usually cut off the document metadata and so on. ### GetBodyContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/getbodycontent.md #### GetBodyContent() Returns a body of the HTML document (inner content between opening and closing BODY tags without these tags) as a string. ```csharp public string GetBodyContent() ``` ##### Return Value String, which contains the body of the HTML document (without opening and closing BODY tags) ##### Remarks Most of WYSIWYG editors usually operate with the inner content of the BODY of the document and cannot correctly process its meta information from the HEAD block. This method is designed for such cases. This overload doesn't allow to adjust URIs for external resource requests. #### GetBodyContent(string) Returns a body of the HTML document (inner content between opening and closing BODY tags without these tags) as a string, where links to the external resources contain specified template with placeholders. ```csharp public string GetBodyContent(string externalImagesTemplate) ``` | Parameter | Type | Description | | --- | --- | --- | | externalImagesTemplate | String | Through this parameter used can specify a string template with one placeholder, which will be applied to the links to all external images in IMG elements, which will be present in the resultant HTML string. If NULL or empty, template will not be added, and pure filenames will be present in the resultant HTML markup. Is template is invalid, it will be treated as a prefix, so filenames will be concatenated to the its end. | ##### Return Value String, which contains the body of the HTML document (without opening and closing BODY tags) with links, adjusted to the external images ##### Remarks Most of WYSIWYG editors usually operate with the inner content of the BODY of the document and cannot correctly process its meta information from the HEAD block. This method is designed for such cases. This overload allows to adjust URIs for external resource requests. ### GetContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/getcontent.md #### GetContent<TStream>(TStream, Encoding) Returns overall content of the HTML document as a byte stream by writing this content into specified stream with specified text encoding ```csharp public TStream GetContent(TStream storage, Encoding encoding) where TStream : Stream ``` | Parameter | Description | | --- | --- | | TStream | Any implementation of the Stream | | storage | Non-null byte stream, which supports writing | | encoding | Non-null text encoding, which should be apllied while writing text content into specified *storage* | ##### Return Value Instance of specified *storage* ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Any of input arguments are null | | ArgumentException | Specified stream is not writable | #### GetContent() Returns overall content of the HTML document as a string. ```csharp public string GetContent() ``` ##### Return Value String, which contains the content of the HTML document #### GetContent(string, string) Returns overall content of the HTML document as a string, where links to the external resources contain specified template with placeholders. ```csharp public string GetContent(string externalImagesTemplate, string externalCssTemplate) ``` | Parameter | Type | Description | | --- | --- | --- | | externalImagesTemplate | String | Through this parameter used can specify a string template with one placeholder, which will be applied to the links to all external images in IMG elements, which will be present in the resultant HTML string. If NULL or empty, template will not be added, and pure filenames will be present in the resultant HTML markup. Is template is invalid, it will be treated as a prefix, so filenames will be concatenated to the its end. | | externalCssTemplate | String | Through this parameter used can specify a string template with one placeholder, which will be added to the links to all external stylesheets in LINK elements, which will be present in the resultant HTML string. If NULL or empty, template will not be added, and pure filenames will be present in the resultant HTML markup. Is template is invalid, it will be treated as a prefix, so filenames will be concatenated to the its end. | ##### Return Value String, which contains the content of the HTML document with links, adjusted to the external resources ### GetCssContent Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/getcsscontent.md #### GetCssContent() Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Returns empty list, if there is no CSS for this document. ```csharp public List GetCssContent() ``` ##### Return Value A list of strings, where each string holds a content of one CSS document #### GetCssContent(string, string) Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Specified prefix will be applied to every link to the external resource in every resultant stylesheet. Returns empty list, if there is no CSS for this document. ```csharp public List GetCssContent(string externalImagesPrefix, string externalFontsPrefix) ``` | Parameter | Type | Description | | --- | --- | --- | | externalImagesPrefix | String | Through this parameter used can specify a prefix, which will be added to the links to all external images, which will be present in CSS declarations in the resultant CSS strings. If NULL or empty, prefixes will not be added. | | externalFontsPrefix | String | Through this parameter used can specify a prefix, which will be added to the links to all external fonts in the @font-face at-rules in the resultant CSS strings. If NULL or empty, prefixes will not be added. | ##### Return Value A list of strings, where each string holds a content of one CSS document ### GetEmbeddedHtml Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/getembeddedhtml.md #### EditableDocument.GetEmbeddedHtml method Returns all content of this HTML document with all related resources in a form of a single string, where all resources are embedded inside the HTML markup in a base64-encoded form. ```csharp public string GetEmbeddedHtml() ``` ##### Return Value String, which is not NULL or empty in any case ##### Exceptions | exception | condition | | --- | --- | | ObjectDisposedException | This EditableDocument instance was already disposed | ##### Remarks This method converts this EditableDocument into HTML and serializes in into single string, where all resources are embedded into string along with HTML markup: * All images from HTML->BODY are converted to base64 format and are located in the IMG 'src' attribute * All stylesheets are stored in the STYLE elements inside HTML->HEAD sections * All images from stylesheets are converted to base64 format and located in the appropriate CSS declarations * All fonts from stylesheets are converted to base64 format and located in the appropriate @font-face at-rules ### Images Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/images.md #### EditableDocument.Images property Allows to obtain external image resources (raster and vector images), which are used by this HTML document ```csharp public List Images { get; } ``` ##### Remarks This method returns a swallow copy of all used image resources: `List` is a new instance for every call, but resource instances are the same. ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/isdisposed.md #### EditableDocument.IsDisposed property Determines whether this Editable document was already disposed (true) or not (false) ```csharp public bool IsDisposed { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editabledocument/save.md #### Save(string) Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources. ```csharp public void Save(string htmlFilePath) ``` | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | String | Full path to the file, where HTML markup will be stored. File will be created or overwritten, if exists. Accompanying resource folder will be created in the same folder, where HTML file exist. | #### Save(string, string) Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources, which is located on specified path. ```csharp public void Save(string htmlFilePath, string resourcesFolderPath) ``` | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | String | Full path to the file, where HTML markup will be stored. Cannot be NULL or empty. File will be created or overwritten, if exists. | | resourcesFolderPath | String | Full path to the accompanying folder, where all related resources will be stored. If NULL or empty, folder will be created automatically in the same directory, where *.html file. If specified and not exists, will be created. | #### Save(TextWriter, HtmlSaveOptions) Saves the content of this `EditableDocument` as the HTML document to the specified text writer, while the second options parameter allows to customize the saving procedure and specify the resource saving callback ```csharp public void Save(TextWriter htmlMarkup, HtmlSaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | htmlMarkup | TextWriter | Implementation of the text writer, into which the HTML markup will be written. Can not be null. | | saveOptions | HtmlSaveOptions | HTML save options, that control the saving procedure: how the HTML-markup is stored (tag names, quote types) and how and where will be saved CSS and other resources like images or fonts. User should specify the inheritor of interface in the `SavingCallback` property for controlling how resources should be saved and referenced from HTML-markup. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Any of specified arguments or `SavingCallback` property in *saveOptions* are `null` | ### Editor Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor.md #### Editor class Main class, which encapsulates conversion methods. Editor class provides methods for loading, editing, and saving documents of all supportable formats. It is disposable, so use a 'using' directive or dispose its resources manually via 'Dispose()' method call. Document loading is performed through constructors. Document editing - through method 'Edit', and saving back to the resultant document after edit - through method 'Save'. ```csharp public sealed class Editor : IAuxDisposable ``` #### Constructors | Name | Description | | --- | --- | | Editor(DocumentFormatBase) | Initializes a new instance of the `Editor` class and creates a new empty document based on the specified format. | | Editor(Stream) | Initializes new Editor instance with specified input document (as a stream). | | Editor(string) | Initializes new Editor instance with specified input document (as a full file path) and Editor settings | | Editor(Stream, ILoadOptions) | Initializes new Editor instance with specified input document (as a stream) with its load options. | | Editor(string, ILoadOptions) | Initializes new Editor instance with specified input document (as a full file path) with its load options. | #### Properties | Name | Description | | --- | --- | | FormFieldManager { get; } | Provides access to functionality for managing form fields within the document. | | IsDisposed { get; } | Indicates whether this Editor instance was already disposed and cannot be used anymore (true) or it was not disposed yet and thus is active (false) | #### Methods | Name | Description | | --- | --- | | Dispose() | Disposes this instance of Editor, so that it releases all internal resources and becomes unavailable for further usage | | Edit() | Opens a previously loaded document for editing using default options by generating and returning an instance of '`EditableDocument`' class, that, in turn, contains methods for producing HTML markup and associated resources. | | Edit(IEditOptions) | Opens a previously loaded document for editing using specified format-specific options by generating and returning an instance of '`EditableDocument`' class, that, in turn, contains methods for producing HTML markup and associated resources. | | GetDocumentInfo(string) | Returns metadata about the document, that was loaded to this 'Editor' instance | | Save(Stream) | Save the current document content to the specified output stream. | | Save(EditableDocument, string) | Converts specified edited document, represented as instance of '`EditableDocument`', to the resultant document of format, determined from the filename extension, and saves its content to file by specified file path | | Save(Stream, WordProcessingSaveOptions) | Converts the original document after modification (for example, `FormFieldManager`), to the resultant document of the specified format and saves its content to the provided stream. | | Save(EditableDocument, Stream, ISaveOptions) | Converts specified edited document, represented as instance of '`EditableDocument`', to the resultant document of specified format and saves its content to specified stream | | Save(EditableDocument, string, ISaveOptions) | Converts specified edited document, represented as instance of '`EditableDocument`', to the resultant document of specified format and saves its content to file by specified file path | #### Events | Name | Description | | --- | --- | | event Disposed | Event, which occurs when this Editor instance is disposed with all its internal resources | ##### Remarks Editor class should be considered as an entry point and the root object of the GroupDocs.Editor. All operations are performed using this class. Typical usage of the Editor class for performing a full document editing pipeline is the next: 1. Load a document into the Editor instance through its constructor. 2. Optionally, detect a document type using a `GetDocumentInfo` method. 3. Open a document for editing by calling an `Edit` method and obtaining an instance of `EditableDocument` class from it. 4. Editing a document content on client-side using any WYSIWYG HTML-editor. 5. Creating a new instance of `EditableDocument` from edited document content. 6. Saving an edited document to some output format by calling a `Save` method. 7. Disposing an instance of Editor class via 'using' operator or manually. ### Dispose Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/dispose.md #### Editor.Dispose method Disposes this instance of Editor, so that it releases all internal resources and becomes unavailable for further usage ```csharp public void Dispose() ``` ##### Remarks After this method was invoked, calling all other methods of this instance will throw an ObjectDisposedException. It is safe to call this method multiple times — all subsequent calls are ignored. ### Disposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/disposed.md #### Editor.Disposed event Event, which occurs when this Editor instance is disposed with all its internal resources ```csharp public event EventHandler Disposed; ``` ##### Remarks This **Disposed** event will be fired right after disposing of the Editor instance is finished. ### Edit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/edit.md #### Edit(IEditOptions) Opens a previously loaded document for editing using specified format-specific options by generating and returning an instance of '`EditableDocument`' class, that, in turn, contains methods for producing HTML markup and associated resources. ```csharp public EditableDocument Edit(IEditOptions editOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | editOptions | IEditOptions | Format-specific document options, which allows to tune-up conversion process. May be NULL — in that case GroupDocs.Editor detects a format of previously loaded document and applies options, default for this format. Should not conflict with previously applied load options. | ##### Return Value Instance of the '`EditableDocument`' class, which encapsulates overall input document with all its resources in intermediate format. This method, if successfully finished, never returns NULL. ##### Remarks When input original document is loaded to the 'Editor' instance through the constructor, this method allows to open document for editing by converting it to intermediate format, which is encapsulated within instance of 'EditableDocument' class. '`EditableDocument`', returned from this method, contains all necessary methods and properties for producing HTML markup and corresponding resources (like images, fonts and stylesheets) in all necessary configurations for subsequent passing them into any WYSIWYG HTML-editor. This overload obtains edit options, which are specific for family formats. **Learn more** * More about editing documents using GroupDocs.Editor: [How to edit document using GroupDocs.Editor](https://docs.groupdocs.com/display/editornet/Edit+document) #### Edit() Opens a previously loaded document for editing using default options by generating and returning an instance of '`EditableDocument`' class, that, in turn, contains methods for producing HTML markup and associated resources. ```csharp public EditableDocument Edit() ``` ##### Return Value Instance of the '`EditableDocument`' class, which encapsulates overall input document with all its resources in intermediate format. This method, if successfully finished, never returns NULL. ##### Remarks When input original document is loaded to the 'Editor' instance through the constructor, this method allows to open document for editing by converting it to intermediate format, which is encapsulated within instance of '`EditableDocument`' class. '`EditableDocument`', returned from this method, contains all necessary methods and properties for producing HTML markup and corresponding resources (like images, fonts and stylesheets) in all necessary configurations for subsequent passing them into any WYSIWYG HTML-editor. This overload applies edit options, which are default for the format, to which the input document belongs. **Learn more** * More about editing documents using GroupDocs.Editor: [How to edit document using GroupDocs.Editor](https://docs.groupdocs.com/display/editornet/Edit+document) ### Editor Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/editor.md #### Editor(DocumentFormatBase) Initializes a new instance of the `Editor` class and creates a new empty document based on the specified format. ```csharp public Editor(DocumentFormatBase format) ``` | Parameter | Type | Description | | --- | --- | --- | | format | DocumentFormatBase | Represents the file format of the document that will be created. | ##### Examples ```csharp IDocumentFormat format = new WordProcessingFormats.Docx(); using (Editor editor = new Editor(format)) { // Use the editor instance to edit and save documents } ``` #### Editor(Stream) Initializes new Editor instance with specified input document (as a stream). ```csharp public Editor(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Stream that contains document content. Should not be null. | ##### Examples ```csharp using (FileStream fs = new FileStream("input.docx", FileMode.Open, FileAccess.Read)) { using (Editor editor = new Editor(fs)) { // Use the editor instance to edit and save documents } } ``` #### Editor(Stream, ILoadOptions) Initializes new Editor instance with specified input document (as a stream) with its load options. ```csharp public Editor(Stream document, ILoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Stream that contains document content. Should not be null. | | loadOptions | ILoadOptions | Document load options. May be null. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when the document stream is null. | | ArgumentException | Thrown when the document stream is invalid. | ##### Examples ```csharp using (FileStream fs = new FileStream("input.docx", FileMode.Open, FileAccess.Read)) { ILoadOptions loadOptions = new WordProcessingLoadOptions(); using (Editor editor = new Editor(fs, loadOptions)) { // Use the editor instance to edit and save documents } } ``` #### Editor(string, ILoadOptions) Initializes new Editor instance with specified input document (as a full file path) with its load options. ```csharp public Editor(string filePath, ILoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Full path to the file. Should not be null, empty or contain only whitespaces. Should be valid, and file should exist. | | loadOptions | ILoadOptions | Document load options. May be null. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when the file path is invalid. | | FileNotFoundException | Thrown when the file does not exist. | ##### Examples ```csharp string filePath = "input.docx"; ILoadOptions loadOptions = new WordProcessingLoadOptions(); using (Editor editor = new Editor(filePath, loadOptions)) { // Use the editor instance to edit and save documents } ``` #### Editor(string) Initializes new Editor instance with specified input document (as a full file path) and Editor settings ```csharp public Editor(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | Full path to the file. Should not be NULL. Should be valid, and file should exist. | ### FormFieldManager Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/formfieldmanager.md #### Editor.FormFieldManager property Provides access to functionality for managing form fields within the document. ```csharp public FormFieldManager FormFieldManager { get; } ``` ##### Return Value A `FormFieldManager` instance for managing form fields within the document. ##### Remarks The `FormFieldManager` property creates a new instance of the `FormFieldManager` class, which allows access to methods and properties for managing form fields within the document. Form fields are interactive elements within the document that can capture user input or trigger actions. The `FormFieldManager` instance provides methods for various form field operations, including checking for invalid form fields, updating form field data, and fixing naming issues. It also facilitates the retrieval of form field names and their associated data. This property is useful for interacting with and manipulating form fields programmatically, enabling tasks such as form field validation, synchronization, and customization. ### GetDocumentInfo Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/getdocumentinfo.md #### Editor.GetDocumentInfo method Returns metadata about the document, that was loaded to this 'Editor' instance ```csharp public IDocumentInfo GetDocumentInfo(string password) ``` | Parameter | Type | Description | | --- | --- | --- | | password | String | User can specify a password for a document, if this document is encrypted with the password. May be NULL or empty string, that is equivalent to the absent password. For those document formats, which do not have a password protection feature, this argument will be ignored. If the document is encrypted, and password in not specified in this parameter, but it was specified before in the load options while creating this `Editor` instance, it will be used. | ##### Return Value Format-specific inheritor of `IDocumentInfo` interface, that indicates detected format with format-specific metadata, or NULL, if document was not recognized as supportable or is corrupted. ##### Exceptions | exception | condition | | --- | --- | | ObjectDisposedException | Is thrown when Editor instance was already disposed when "GetDocumentInfo" is invoked | | PasswordRequiredException | Is thrown when loaded document is password protected, but the password was not specified in the parameter "*password*" and in the loading options during creation of the instance | | IncorrectPasswordException | Is thrown when loaded document is password protected, password is specified, but is incorrect | | InvalidOperationException | Is thrown when unexpected error of unknown nature has occured | ##### Remarks GetDocumentInfo method is useful when it is unclear of which format is the input document, is it password-protected and/or how many pages/worksheets/slides it contains. Based on this metadata, returned by GetDocumentInfo, it is possible to correctly adjust the load and edit options for the main processing pipeline. GetDocumentInfo method always returns full data, it is not affected by the trial mode, its usage doesn't write off the consumed bytes or credits. ### IsDisposed Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/isdisposed.md #### Editor.IsDisposed property Indicates whether this Editor instance was already disposed and cannot be used anymore (true) or it was not disposed yet and thus is active (false) ```csharp public bool IsDisposed { get; } ``` ### Save Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/editor/save.md #### Save(EditableDocument, Stream, ISaveOptions) Converts specified edited document, represented as instance of '`EditableDocument`', to the resultant document of specified format and saves its content to specified stream ```csharp public void Save(EditableDocument inputDocument, Stream outputDocument, ISaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of '`EditableDocument`' class, which should be converted to output document of some specific format. Must not be null or disposed. | | outputDocument | Stream | Output stream, in which the content of the resultant document will be recorded. Must not be null, disposed, must support writing. | | saveOptions | ISaveOptions | Document saving options, which define the format of the resultant document, and also general and format-specific saving options. Must not be null. | #### Save(EditableDocument, string, ISaveOptions) Converts specified edited document, represented as instance of '`EditableDocument`', to the resultant document of specified format and saves its content to file by specified file path ```csharp public void Save(EditableDocument inputDocument, string filePath, ISaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of '`EditableDocument`' class, which should be converted to output document of some specific format. Must not be null or disposed. | | filePath | String | Path to the file, in which the output document will be saved. It file with the same name exists, it will be completely rewritten. String with path must not be null, empty or contain only whitespaces. | | saveOptions | ISaveOptions | Document saving options, which define the format of the resultant document, and also general and format-specific saving options. Must not be null. | #### Save(EditableDocument, string) Converts specified edited document, represented as instance of '`EditableDocument`', to the resultant document of format, determined from the filename extension, and saves its content to file by specified file path ```csharp public void Save(EditableDocument inputDocument, string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of '`EditableDocument`' class, which should be converted to output document of some specific format. Must not be null or disposed. | | filePath | String | Path to the file, in which the output document will be saved. It file with the same name exists, it will be completely rewritten. String with path must not be null, empty or contain only whitespaces. Because default save options and output format are determined from this filename, it must have the valid extension. | #### Save(Stream, WordProcessingSaveOptions) Converts the original document after modification (for example, `FormFieldManager`), to the resultant document of the specified format and saves its content to the provided stream. ```csharp public Stream Save(Stream outputDocument, WordProcessingSaveOptions saveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | outputDocument | Stream | The stream to which the output document will be saved. This stream should be writable and positioned at the start of the document content. Must not be null. | | saveOptions | WordProcessingSaveOptions | Document saving options that define the format of the resultant document, as well as general and format-specific saving options. Must not be null. | ##### Return Value The stream containing the saved document content. ##### Remarks If the *outputDocument* or *saveOptions* is null, an ArgumentNullException will be thrown. If the document to save is missing, an ArgumentNullException will be thrown. Thrown when *outputDocument* or *saveOptions* is null, or when the document to save is missing.**Learn more:** * More about saving documents after modification using GroupDocs.Editor: [How to save documents using GroupDocs.Editor](https://docs.groupdocs.com/display/editornet/Save+document) #### Save(Stream) Save the current document content to the specified output stream. ```csharp public Stream Save(Stream outputDocument) ``` | Parameter | Type | Description | | --- | --- | --- | | outputDocument | Stream | The stream to which the document content will be saved. This cannot be null. | ##### Return Value The stream with the saved document content. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *outputDocument* is null or if the document content is missing. | ##### Remarks This method copies the content from the internal document representation to the provided output stream. The stream's original position is preserved after the save operation. ### EncryptedException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/encryptedexception.md #### EncryptedException class The exception that is thrown when user tries to open a document that was encrypted using the X509Certificates. ```csharp public sealed class EncryptedException : Exception ``` ### FormFieldManager Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager.md #### FormFieldManager class Manage a Form with Legacy Form Fields. Legacy form fields are the field types that were available in earlier versions of Word processing. The Legacy Forms group (visible after you click the Legacy Tools icon) includes three types of form fields you can insert in a document: text, check box, drop-down, date etc., see more `FormFieldType`. Each of these form fields allows the user of the form to select or enter information of the type that you deem appropriate. ```csharp public sealed class FormFieldManager ``` #### Properties | Name | Description | | --- | --- | | FormFieldCollection { get; } | Gets the collection of form fields in the document. | #### Methods | Name | Description | | --- | --- | | FixInvalidFormFieldNames(IEnumerable<InvalidFormField>) | Fixes invalid form field names in the document by applying specified updates or automatically generating unique names. | | GetInvalidFormFieldNames() | Retrieves a collection of invalid form field names from the document. | | HasInvalidFormFields() | Checks whether the document contains any invalid form fields. | | RemoveFormFields(IEnumerable<IFormField>) | Removes multiple form fields from the document. | | RemoveFormFiled(IFormField) | Removes a specific form field from the document. | | UpdateFormFiled(FormFieldCollection) | Updates form fields in the document based on the provided collection of form fields. | ##### Remarks The `FormFieldManager` class provides functionality for handling form fields in a document. It allows users to obtain, update, fix, check for invalidity, and remove form fields from the document. ### FixInvalidFormFieldNames Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/fixinvalidformfieldnames.md #### FormFieldManager.FixInvalidFormFieldNames method Fixes invalid form field names in the document by applying specified updates or automatically generating unique names. ```csharp public void FixInvalidFormFieldNames(IEnumerable updateInvalidFormFieldNames) ``` | Parameter | Type | Description | | --- | --- | --- | | updateInvalidFormFieldNames | IEnumerable`1 | A collection of updates for invalid form field names. Each update contains the original name of the form field and its corresponding new name. If left empty, invalid form field names will be automatically renamed to ensure uniqueness. | ##### Remarks The `FixInvalidFormFieldNames` method resolves naming conflicts or inconsistencies within the form fields of the document by applying updates specified in the *updateInvalidFormFieldNames* collection, or automatically generating unique names if the collection is empty. This method is useful when certain form field names are invalid or conflicting with other elements in the document, and need to be corrected to ensure proper functionality. ; ; ### FormFieldCollection Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/formfieldcollection.md #### FormFieldManager.FormFieldCollection property Gets the collection of form fields in the document. ```csharp public FormFieldCollection FormFieldCollection { get; } ``` ### GetInvalidFormFieldNames Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/getinvalidformfieldnames.md #### FormFieldManager.GetInvalidFormFieldNames method Retrieves a collection of invalid form field names from the document. ```csharp public IEnumerable GetInvalidFormFieldNames() ``` ##### Return Value An enumerable collection of strings representing the names of invalid form fields found in the document. ##### Remarks The `GetInvalidFormFieldNames` method scans the document content to identify form fields with invalid names. It returns a collection of strings containing the names of these invalid form fields. A form field is considered invalid if it duplicates a unique identifier with other form fields and does not have a unique bookmark name associated with it. These bookmark names serve as identifiers for each form field. The returned collection maintains the order of form field names as they appear in the document. This method is useful for detecting and analyzing naming issues within form fields, which may need to be addressed using the `FixInvalidFormFieldNames` method. ### HasInvalidFormFields Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/hasinvalidformfields.md #### FormFieldManager.HasInvalidFormFields method Checks whether the document contains any invalid form fields. ```csharp public bool HasInvalidFormFields() ``` ##### Return Value `true` if the document contains one or more invalid form fields; otherwise, `false`. ##### Remarks The `HasInvalidFormFields` method scans the document content to determine whether it contains any form fields with invalid names. A form field is considered invalid if it duplicates a unique identifier with other form fields and does not have a unique bookmark name associated with it. These bookmark names serve as identifiers for each form field. This method is useful for quickly checking whether the document requires further inspection and potential correction of form field names. ; ; ; ### RemoveFormFields Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/removeformfields.md #### FormFieldManager.RemoveFormFields method Removes multiple form fields from the document. ```csharp public void RemoveFormFields(IEnumerable formFields) ``` | Parameter | Type | Description | | --- | --- | --- | | formFields | IEnumerable`1 | The collection of form fields to remove. | ### RemoveFormFiled Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/removeformfiled.md #### FormFieldManager.RemoveFormFiled method Removes a specific form field from the document. ```csharp public void RemoveFormFiled(IFormField formField) ``` | Parameter | Type | Description | | --- | --- | --- | | formField | IFormField | The form field to remove. | ### UpdateFormFiled Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/formfieldmanager/updateformfiled.md #### FormFieldManager.UpdateFormFiled method Updates form fields in the document based on the provided collection of form fields. ```csharp public void UpdateFormFiled(FormFieldCollection formFieldCollection) ``` | Parameter | Type | Description | | --- | --- | --- | | formFieldCollection | FormFieldCollection | The collection of form fields containing the updates to apply to the document. | ##### Remarks The `UpdateFormFiled` method updates form fields in the document based on the provided *formFieldCollection*. Each form field in the collection corresponds to a form field in the document, and the updates specified in the collection are applied accordingly. This method is useful for synchronizing form field data between the document and an external source, such as a user interface or database. ### IncorrectPasswordException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/incorrectpasswordexception.md #### IncorrectPasswordException class The exception that is thrown when specified password is incorrect. ```csharp public sealed class IncorrectPasswordException : Exception ``` ### InvalidFormatException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/invalidformatexception.md #### InvalidFormatException class The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format. ```csharp public sealed class InvalidFormatException : Exception ``` ##### Remarks For example, this exception will be thrown, if try to open a Spreadsheet document with WordProcessing document options. ### License Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/license.md #### License class Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). ```csharp public class License ``` #### Constructors | Name | Description | | --- | --- | | License() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | ### License Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/license/license.md #### License constructor The default constructor. ```csharp public License() ``` ### SetLicense Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/license/setlicense.md #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream licenseStream) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseStream | Stream | The license stream. | ##### Examples The following example demonstrates how to set a license passing Stream of the license file. ```csharp using (FileStream licenseStream = new FileStream("LicenseFile.lic", FileMode.Open)) { GroupDocs.Editor.License lic = new GroupDocs.Editor.License(); lic.SetLicense(licenseStream); } ``` #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string licensePath) ``` | Parameter | Type | Description | | --- | --- | --- | | licensePath | String | The license path. | ##### Examples The following example demonstrates how to set a license passing a path to the license file. ```csharp string licensePath = "GroupDocs.Editor.lic"; GroupDocs.Editor.License lic = new GroupDocs.Editor.License(); lic.SetLicense(licensePath); ``` ### Metered Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/metered.md #### Metered class Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Activates product with Metered keys. | | static GetConsumptionCredit() | Retrieves count of credits consumed. | | static GetConsumptionQuantity() | Retrieves amount of MBs processed. | ### GetConsumptionCredit Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Retrieves count of credits consumed. ```csharp public static decimal GetConsumptionCredit() ``` ##### Return Value Count of already used credits ##### Examples Following example demonstrates how to retrieve count of credits consumed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal creditsConsumed = Metered.GetConsumptionCredit(); ``` ### GetConsumptionQuantity Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Retrieves amount of MBs processed. ```csharp public static decimal GetConsumptionQuantity() ``` ##### Examples Following example demonstrates how to retrieve amount of MBs processed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal mbProcessed = Metered.GetConsumptionQuantity(); ``` ### Metered Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/metered/metered.md #### Metered constructor The default constructor. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/metered/setmeteredkey.md #### Metered.SetMeteredKey method Activates product with Metered keys. ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | The public key. | | privateKey | String | The private key. | ##### Examples Following example demonstrates how to activate product with Metered keys. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); ``` ### PasswordRequiredException Path: https://reference.groupdocs.com/editor/net/groupdocs.editor/passwordrequiredexception.md #### PasswordRequiredException class The exception that is thrown when user tries to open a password-protected encrypted document of some format and doesn't provide a password for opening this document. ```csharp public sealed class PasswordRequiredException : Exception ``` ## Node.js ### GroupDocs.Editor for Node.js via Java Path: https://reference.groupdocs.com/editor/nodejs-java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.editor | The **com.groupdocs.editor** namespace is a root namespace, which provides classes for editing multiple document formats in your Java applications. | | com.groupdocs.editor.formats | The **com.groupdocs.editor.formats** namespace provides interfaces and classes that describes supported document formats. | | com.groupdocs.editor.formats.abstraction | The **com.groupdocs.editor.formats.abstraction** namespace provides interfaces and classes that describe supported document formats in the GroupDocs.Editor library. | | com.groupdocs.editor.htmlcss.css.datatypes | The **com.groupdocs.editor.htmlcss.css.datatypes** namespace provides classes that represent CSS data types. | | com.groupdocs.editor.htmlcss.css.properties | | | com.groupdocs.editor.htmlcss.exceptions | The **com.groupdocs.editor.htmlcss.exceptions** namespace provides exceptions that is thrown when trying to open, load, save or process somehow else some content. | | com.groupdocs.editor.htmlcss.resources | The **com.groupdocs.editor.htmlcss.resources** namespace provides classes that represent all kinds of the HTML resources. | | com.groupdocs.editor.htmlcss.resources.audio | The **com.groupdocs.editor.htmlcss.resources.audio** namespace provides classes that represent audio resources. | | com.groupdocs.editor.htmlcss.resources.fonts | The **com.groupdocs.editor.htmlcss.resources.fonts** namespace provides classes that represent font resources. | | com.groupdocs.editor.htmlcss.resources.images | The **com.groupdocs.editor.htmlcss.resources.images** namespace provides classes that represent image resources of all types in general. | | com.groupdocs.editor.htmlcss.resources.images.raster | The **com.groupdocs.editor.htmlcss.resources.images.raster** namespace provides classes that represent only raster image resources. | | com.groupdocs.editor.htmlcss.resources.images.vector | The **com.groupdocs.editor.htmlcss.resources.images.vector** namespace provides classes that represent only vector image resources. | | com.groupdocs.editor.htmlcss.resources.textual | The **com.groupdocs.editor.htmlcss.resources.textual** namespace provides classes that represent text resources. | | com.groupdocs.editor.htmlcss.serialization | The **com.groupdocs.editor.htmlcss.serialization** namespace provides types, that are responsible for tuning HTML and CSS markup serialization process.. | | com.groupdocs.editor.license | The **com.groupdocs.editor.license** Provides methods to license the component. | | com.groupdocs.editor.metadata | The **com.groupdocs.editor.metadata** namespace provides classes for describing basic document properties dependent on document type. | | com.groupdocs.editor.options | The **com.groupdocs.editor.options** namespace provides interfaces for load and save options. | | com.groupdocs.editor.words.fieldmanagement | The **com.groupdocs.editor.words.fieldmanagement** namespace contains classes and interfaces related to the management and manipulation of form fields within documents. | ### com.groupdocs.editor.formats.abstraction Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats.abstraction.md The **com.groupdocs.editor.formats.abstraction** namespace provides interfaces and classes that describe supported document formats in the GroupDocs.Editor library. #### Interfaces | Interface | Description | | --- | --- | | IDocumentFormat | Represents the root interface for all supporting document formats. | ### IDocumentFormat Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats.abstraction/idocumentformat.md ### com.groupdocs.editor.formats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats.md The **com.groupdocs.editor.formats** namespace provides interfaces and classes that describes supported document formats. #### Classes | Class | Description | | --- | --- | | EBookFormats | Encapsulates all eBook formats. | | EmailFormats | Encapsulates all emails formats. | | FixedLayoutFormats | Encapsulates all fixed-layout (also know as "fixed-page") formats, which includes PDF and XPS (this does not include raster images) | | PresentationFormats | Encapsulates all Presentation formats. | | SpreadsheetFormats | Encapsulates all binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. | | TextualFormats | Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. | | WordProcessingFormats | Encapsulates all WordProcessing formats. | ### EBookFormats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats/ebookformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class EBookFormats extends DocumentFormatBase ``` Encapsulates all eBook formats. Includes the following file types: Mobi, Epub Learn more about Mobi format [here][], and about ePub format [here][here 1]. [here]: https://docs.fileformat.com/ebook/mobi/ [here 1]: https://docs.fileformat.com/ebook/epub/ #### Fields | Field | Description | | --- | --- | | Mobi | MOBI is the name given to the format developed for the MobiPocket Reader. | | Epub | Electronic Publication (IDPF ePub) format is an e-book file format that provides a standard digital publication format for publishers and consumers. | | Azw3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all EBookFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type EBookFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a EBookFormats object. | ##### Mobi ``` public static final EBookFormats Mobi ``` MOBI is the name given to the format developed for the MobiPocket Reader. Also called PRC, AZW. It is currently used by Amazon with a slightly different DRM scheme and called AZW. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/ebook/mobi/ ##### Epub ``` public static final EBookFormats Epub ``` Electronic Publication (IDPF ePub) format is an e-book file format that provides a standard digital publication format for publishers and consumers. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/ebook/epub/ ##### Azw3 ``` public static final EBookFormats Azw3 ``` AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. The format is an enhancement to older AZW files. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/ebook/azw3/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all EBookFormats. Value: An IEnumerable\{EBookFormats\} containing all instances of EBookFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static EBookFormats fromExtension(String extension) ``` Retrieves an instance of the specified type EBookFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** EBookFormats - An instance of the specified type EBookFormats with the specified file extension. ##### fromString(String extension) ``` public static EBookFormats fromString(String extension) ``` Converts a string representing a file extension to a EBookFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** EBookFormats - A EBookFormats object corresponding to the specified file extension. ### EmailFormats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats/emailformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class EmailFormats extends DocumentFormatBase ``` Encapsulates all emails formats. Includes the following file types: Tnef, Eml, Emlx, Msg, Html, Mhtml. Learn more about emails format [here][]. [here]: https://docs.fileformat.com/email/ #### Fields | Field | Description | | --- | --- | | Tnef | Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). | | Eml | EML file format represents email messages saved using Outlook and other relevant applications. | | Emlx | The EMLX file format is implemented and developed by Apple. | | Msg | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. | | Html | HTML formatted emails. | | Mhtml | MHTML, an initialism of "MIME encapsulation of aggregate HTML documents". | | Ics | The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling. | | Vcf | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. | | Pst | Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. | | Mbox | MBox file format is a generic term that represents a container for collection of electronic mail messages. | | Oft | Files with .oft extension are template files that are created using Microsoft Outlook. | | Ost | Offline Storage Table (OST) file represents user\\u2019s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all EmailFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type EmailFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a EmailFormats object. | ##### Tnef ``` public static final EmailFormats Tnef ``` Transport Neutral Encapsulation Format (TNEF) is a Microsoft proprietary format for encapsulating email attachments based on Messaging Application Programming Interface (MAPI). Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/tnef/ ##### Eml ``` public static final EmailFormats Eml ``` EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/eml/ ##### Emlx ``` public static final EmailFormats Emlx ``` The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/emlx/ ##### Msg ``` public static final EmailFormats Msg ``` MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/msg/ ##### Html ``` public static final EmailFormats Html ``` HTML formatted emails. ##### Mhtml ``` public static final EmailFormats Mhtml ``` MHTML, an initialism of "MIME encapsulation of aggregate HTML documents". ##### Ics ``` public static final EmailFormats Ics ``` The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is an internet standard (RFC 2445) for exchanging and deploying calendaring events and scheduling. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/ics/ ##### Vcf ``` public static final EmailFormats Vcf ``` VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/vcf/ ##### Pst ``` public static final EmailFormats Pst ``` Files with .pst extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/pst/ ##### Mbox ``` public static final EmailFormats Mbox ``` MBox file format is a generic term that represents a container for collection of electronic mail messages. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/mbox/ ##### Oft ``` public static final EmailFormats Oft ``` Files with .oft extension are template files that are created using Microsoft Outlook. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/oft/ ##### Ost ``` public static final EmailFormats Ost ``` Offline Storage Table (OST) file represents user\\u2019s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/email/ost/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all EmailFormats. Value: An IEnumerable\{EmailFormats\} containing all instances of EmailFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static EmailFormats fromExtension(String extension) ``` Retrieves an instance of the specified type EmailFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** EmailFormats - An instance of the specified type EmailFormats with the specified file extension. ##### fromString(String extension) ``` public static EmailFormats fromString(String extension) ``` Converts a string representing a file extension to a EmailFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** EmailFormats - A EmailFormats object corresponding to the specified file extension. ### FixedLayoutFormats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats/fixedlayoutformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class FixedLayoutFormats extends DocumentFormatBase ``` Encapsulates all fixed-layout (also know as "fixed-page") formats, which includes PDF and XPS (this does not include raster images) Various document viewing or publishing applications allow users to open (Adobe Acrobat, XPS Viewer), and sometimes edit (Adobe InDesign) documents of specific formats. These applications typically produce so-called \\u201cfixed-page\\u201d format documents. Such a document format describes precisely where a document\\u2019s content is placed on every page. Internally, the PDF or XPS format contains a description of every page, as well as drawing instructions, specifying the layout of the content on the page. This is similar to image formats, describing where the content is shown either in raster or vector form. #### Fields | Field | Description | | --- | --- | | Pdf | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all FixedLayoutFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type FixedLayoutFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a FixedLayoutFormats object. | ##### Pdf ``` public static final FixedLayoutFormats Pdf ``` Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/pdf/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all FixedLayoutFormats. Value: An IEnumerable\{FixedLayoutFormats\} containing all instances of FixedLayoutFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static FixedLayoutFormats fromExtension(String extension) ``` Retrieves an instance of the specified type FixedLayoutFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** FixedLayoutFormats - An instance of the specified type FixedLayoutFormats with the specified file extension. ##### fromString(String extension) ``` public static FixedLayoutFormats fromString(String extension) ``` Converts a string representing a file extension to a FixedLayoutFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** FixedLayoutFormats - A FixedLayoutFormats object corresponding to the specified file extension. ### PresentationFormats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats/presentationformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class PresentationFormats extends DocumentFormatBase ``` Encapsulates all Presentation formats. Includes the following formats: Odp, Otp, Pot, Potm, Potx, Pps, Ppsm, Ppsx, Ppt, Ppt95, Pptm, Pptx. Learn more about Presentation formats [here][]. [here]: https://wiki.fileformat.com/presentation #### Fields | Field | Description | | --- | --- | | Ppt | Microsoft PowerPoint 97-2003 Presentation (PPT). | | Ppt95 | Microsoft PowerPoint 95 Presentation (PPT). | | Pptx | Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). | | Pptm | Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). | | Pps | Microsoft PowerPoint 97-2003 SlideShow (PPS). | | Ppsx | Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). | | Ppsm | Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). | | Pot | Microsoft PowerPoint 97-2003 Presentation Template (POT). | | Potx | Microsoft Office Open XML PresentationML Macro-Free Template (POTX). | | Potm | Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). | | Odp | OpenDocument Presentation (ODP). | | Otp | OpenDocument Presentation template (OTP). | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all PresentationFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type PresentationFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a PresentationFormats object. | ##### Ppt ``` public static final PresentationFormats Ppt ``` Microsoft PowerPoint 97-2003 Presentation (PPT). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppt ##### Ppt95 ``` public static final PresentationFormats Ppt95 ``` Microsoft PowerPoint 95 Presentation (PPT). ##### Pptx ``` public static final PresentationFormats Pptx ``` Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptx ##### Pptm ``` public static final PresentationFormats Pptm ``` Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptm ##### Pps ``` public static final PresentationFormats Pps ``` Microsoft PowerPoint 97-2003 SlideShow (PPS). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pps ##### Ppsx ``` public static final PresentationFormats Ppsx ``` Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsx ##### Ppsm ``` public static final PresentationFormats Ppsm ``` Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsm ##### Pot ``` public static final PresentationFormats Pot ``` Microsoft PowerPoint 97-2003 Presentation Template (POT). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pot ##### Potx ``` public static final PresentationFormats Potx ``` Microsoft Office Open XML PresentationML Macro-Free Template (POTX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potx ##### Potm ``` public static final PresentationFormats Potm ``` Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potm ##### Odp ``` public static final PresentationFormats Odp ``` OpenDocument Presentation (ODP). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/odp ##### Otp ``` public static final PresentationFormats Otp ``` OpenDocument Presentation template (OTP). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/otp ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all PresentationFormats. Value: An IEnumerable\{PresentationFormats\} containing all instances of PresentationFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static PresentationFormats fromExtension(String extension) ``` Retrieves an instance of the specified type PresentationFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** PresentationFormats - An instance of the specified type PresentationFormats with the specified file extension. ##### fromString(String extension) ``` public static PresentationFormats fromString(String extension) ``` Converts a string representing a file extension to a PresentationFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** PresentationFormats - A PresentationFormats object corresponding to the specified file extension. ### SpreadsheetFormats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats/spreadsheetformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class SpreadsheetFormats extends DocumentFormatBase ``` Encapsulates all binary, XML and textual Spreadsheet formats (excluding all textual delimiter-based formats with separator like CSV, TSV, semicolon-delimited etc.), in which the workbook can be saved. Includes the following formats: Dif, Fods, Ods, Sxc, Xlam, Xls, Xlsb, Xlsm, Xlsx, Xlt, Xltm, Xltx. Learn more about Spreadsheet formats [here][]. [here]: https://wiki.fileformat.com/spreadsheet #### Fields | Field | Description | | --- | --- | | Xls | Excel 97-2003 Binary File Format (XLS). | | Xlt | Excel 97-2003 Template (XLT). | | Xlsx | Office Open XML Workbook Macro-Free (XLSX). | | Xlsm | Office Open XML Workbook Macro-Enabled (XLSM). | | Xlsb | Excel Binary Workbook (XLSB). | | Xltx | Office Open XML Template Macro-Free (XLTX). | | Xltm | Office Open XML Template Macro-Enabled (XLTM). | | Xlam | Excel Add-in (XLAM). | | SpreadsheetML | SpreadsheetML \\u2014 Microsoft Office Excel 2002 and Excel 2003 XML Format. | | Ods | OpenDocument Spreadsheet (ODS). | | Fods | Flat OpenDocument Spreadsheet (FODS). | | Sxc | StarOffice or OpenOffice.org Calc XML Spreadsheet (SXC). | | Dif | Data Interchange Format (DIF). | | Csv | Comma Separated Values (CSV). | | Tsv | Tab-Separated Values (TSV). | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all SpreadsheetFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type SpreadsheetFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a SpreadsheetFormats object. | ##### Xls ``` public static final SpreadsheetFormats Xls ``` Excel 97-2003 Binary File Format (XLS). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xls ##### Xlt ``` public static final SpreadsheetFormats Xlt ``` Excel 97-2003 Template (XLT). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlt ##### Xlsx ``` public static final SpreadsheetFormats Xlsx ``` Office Open XML Workbook Macro-Free (XLSX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsx ##### Xlsm ``` public static final SpreadsheetFormats Xlsm ``` Office Open XML Workbook Macro-Enabled (XLSM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsm ##### Xlsb ``` public static final SpreadsheetFormats Xlsb ``` Excel Binary Workbook (XLSB). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsb ##### Xltx ``` public static final SpreadsheetFormats Xltx ``` Office Open XML Template Macro-Free (XLTX). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltx ##### Xltm ``` public static final SpreadsheetFormats Xltm ``` Office Open XML Template Macro-Enabled (XLTM). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltm ##### Xlam ``` public static final SpreadsheetFormats Xlam ``` Excel Add-in (XLAM). ##### SpreadsheetML ``` public static final SpreadsheetFormats SpreadsheetML ``` SpreadsheetML \\u2014 Microsoft Office Excel 2002 and Excel 2003 XML Format. ##### Ods ``` public static final SpreadsheetFormats Ods ``` OpenDocument Spreadsheet (ODS). Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/ods ##### Fods ``` public static final SpreadsheetFormats Fods ``` Flat OpenDocument Spreadsheet (FODS). ##### Sxc ``` public static final SpreadsheetFormats Sxc ``` StarOffice or OpenOffice.org Calc XML Spreadsheet (SXC). ##### Dif ``` public static final SpreadsheetFormats Dif ``` Data Interchange Format (DIF). ##### Csv ``` public static final SpreadsheetFormats Csv ``` Comma Separated Values (CSV). Learn more about this file format [here][] . [here]: https://docs.fileformat.com/spreadsheet/csv/ ##### Tsv ``` public static final SpreadsheetFormats Tsv ``` Tab-Separated Values (TSV). Learn more about this file format [here][] . [here]: https://docs.fileformat.com/spreadsheet/tsv/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all SpreadsheetFormats. Value: An IEnumerable\{SpreadsheetFormats\} containing all instances of SpreadsheetFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static SpreadsheetFormats fromExtension(String extension) ``` Retrieves an instance of the specified type SpreadsheetFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** SpreadsheetFormats - An instance of the specified type SpreadsheetFormats with the specified file extension. ##### fromString(String extension) ``` public static SpreadsheetFormats fromString(String extension) ``` Converts a string representing a file extension to a SpreadsheetFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** SpreadsheetFormats - A SpreadsheetFormats object corresponding to the specified file extension. ### TextualFormats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats/textualformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class TextualFormats extends DocumentFormatBase ``` Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. Includes the following formats: Html, Txt, Xml. Md, Json. #### Fields | Field | Description | | --- | --- | | Html | HyperText Markup Language document (HTML) is the extension for web pages created for display in browsers. | | Xml | eXtensible Markup Language document (XML) that is similar to HTML but different in using tags for defining objects. | | Txt | Plain Text Document (TXT) represents a text document that contains plain text in the form of lines. | | Md | Markdown is a lightweight markup language for creating formatted text using a plain-text editor. | | Json | JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. | | Mhtml | MIME encapsulation of aggregate HTML documents is a web page archive format used to combine, in a single computer file, the HTML code and its companion resources. | | Chm | Microsoft Compiled HTML Help is a Microsoft proprietary online help binary format, consisting of a collection of HTML pages, an index and other navigation tools. | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all TextualFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type TextualFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a TextualFormats object. | ##### Html ``` public static final TextualFormats Html ``` HyperText Markup Language document (HTML) is the extension for web pages created for display in browsers. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/web/html ##### Xml ``` public static final TextualFormats Xml ``` eXtensible Markup Language document (XML) that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/web/xml ##### Txt ``` public static final TextualFormats Txt ``` Plain Text Document (TXT) represents a text document that contains plain text in the form of lines. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/txt ##### Md ``` public static final TextualFormats Md ``` Markdown is a lightweight markup language for creating formatted text using a plain-text editor. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/word-processing/md/ ##### Json ``` public static final TextualFormats Json ``` JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/web/json/ ##### Mhtml ``` public static final TextualFormats Mhtml ``` MIME encapsulation of aggregate HTML documents is a web page archive format used to combine, in a single computer file, the HTML code and its companion resources. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/web/mhtml/ ##### Chm ``` public static final TextualFormats Chm ``` Microsoft Compiled HTML Help is a Microsoft proprietary online help binary format, consisting of a collection of HTML pages, an index and other navigation tools. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/web/chm/ ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all TextualFormats. Value: An IEnumerable\{TextualFormats\} containing all instances of TextualFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static TextualFormats fromExtension(String extension) ``` Retrieves an instance of the specified type TextualFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** TextualFormats - An instance of the specified type TextualFormats with the specified file extension. ##### fromString(String extension) ``` public static TextualFormats fromString(String extension) ``` Converts a string representing a file extension to a TextualFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** TextualFormats - A TextualFormats object corresponding to the specified file extension. ### WordProcessingFormats Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.formats/wordprocessingformats.md **Inheritance:** java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase ``` public class WordProcessingFormats extends DocumentFormatBase ``` Encapsulates all WordProcessing formats. Includes the following file types: Doc, Docm, Docx, Dot, Dotm, Dotx, FlatOpc, Odt, Ott, Rtf, WordML. Learn more about Word Processing formats [here][]. MIME codes are grabbed from the given resources: https://filext.com/faq/office\_mime\_types.html https://docs.microsoft.com/en-us/previous-versions//cc179224(v=technet.10) [here]: https://wiki.fileformat.com/word-processing #### Fields | Field | Description | | --- | --- | | Doc | MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. | | Docx | Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. | | Dot | MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | Docm | Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | Dotx | Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | Dotm | Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. | | FlatOpc | Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. | | Rtf | Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. | | Odt | Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | Ott | Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. | | WordML | Microsoft Office Word 2003 XML Format \\u2014 WordProcessingML or WordML (.XML). | #### Methods | Method | Description | | --- | --- | | getAll() | Gets an enumerable collection of all WordProcessingFormats. | | fromExtension(String extension) | Retrieves an instance of the specified type WordProcessingFormats that has the specified file extension. | | fromString(String extension) | Converts a string representing a file extension to a WordProcessingFormats object. | ##### Doc ``` public static final WordProcessingFormats Doc ``` MS Word 97-2007 Binary File Format (DOC) represents documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/doc ##### Docx ``` public static final WordProcessingFormats Docx ``` Office Open XML WordProcessingML Macro-Free Document (DOCX) is a well-known format for Microsoft Word documents. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docx ##### Dot ``` public static final WordProcessingFormats Dot ``` MS Word 97-2007 Template (DOT) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dot ##### Docm ``` public static final WordProcessingFormats Docm ``` Office Open XML WordProcessingML Macro-Enabled Document (DOCM) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docm ##### Dotx ``` public static final WordProcessingFormats Dotx ``` Office Open XML WordprocessingML Macro-Free Template (DOTX) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotx ##### Dotm ``` public static final WordProcessingFormats Dotm ``` Office Open XML WordprocessingML Macro-Enabled Template (DOTM) represents template files created with Microsoft Word 2007 or higher. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotm ##### FlatOpc ``` public static final WordProcessingFormats FlatOpc ``` Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. ##### Rtf ``` public static final WordProcessingFormats Rtf ``` Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/rtf ##### Odt ``` public static final WordProcessingFormats Odt ``` Open Document Format Text Document (ODT) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/odt ##### Ott ``` public static final WordProcessingFormats Ott ``` Open Document Format Text Document Template (OTT) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/ott ##### WordML ``` public static final WordProcessingFormats WordML ``` Microsoft Office Word 2003 XML Format \\u2014 WordProcessingML or WordML (.XML). https://en.wikipedia.org/wiki/Microsoft\_Office\_XML\_formats ##### getAll() ``` public static List getAll() ``` Gets an enumerable collection of all WordProcessingFormats. Value: An IEnumerable\{WordProcessingFormats\} containing all instances of WordProcessingFormats. **Returns:** java.util.List ##### fromExtension(String extension) ``` public static WordProcessingFormats fromExtension(String extension) ``` Retrieves an instance of the specified type WordProcessingFormats that has the specified file extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension of the document format. | **Returns:** WordProcessingFormats - An instance of the specified type WordProcessingFormats with the specified file extension. ##### fromString(String extension) ``` public static WordProcessingFormats fromString(String extension) ``` Converts a string representing a file extension to a WordProcessingFormats object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | **Returns:** WordProcessingFormats - A WordProcessingFormats object corresponding to the specified file extension. ### com.groupdocs.editor.htmlcss.css.datatypes Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.datatypes.md The **com.groupdocs.editor.htmlcss.css.datatypes** namespace provides classes that represent CSS data types. #### Classes | Class | Description | | --- | --- | | ArgbColor | Represents one color value in ARGB format with converters and serializers | | ArgbColors | Contains all "known colors", that have fixed unique name and value in CSS standart | | Length | Represents a CSS length value in any supportable unit, including percentage and unitless type. | | LengthUnit | All supported length units | | Ratio | Represents a "ratio" CSS data type, which is used for describing aspect ratios in media queries and for raster images by denoting the proportion between two unitless values called "numerator" and "denominator". | #### Interfaces | Interface | Description | | --- | --- | | ICssDataType | Common interface for all CSS data types, which are used in the CSS properties | ### ArgbColor Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.datatypes/argbcolor.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.datatypes.ICssDataType ``` public class ArgbColor extends Struct implements ICssDataType ``` Represents one color value in ARGB format with converters and serializers This type is designed to be useful for (but not limited to) CSS operations. See more: https://developer.mozilla.org/en-US/docs/Web/CSS/color\_value #### Constructors | Constructor | Description | | --- | --- | | ArgbColor() | | | ArgbColor(int r, int g, int b) | | #### Methods | Method | Description | | --- | --- | | fromRgba(int red, int green, int blue, int alpha) | Creates one ArgbColor value from specified Red, Green, Blue, and Alpha channels | | fromRgb(int red, int green, int blue) | Creates one ArgbColor value from specified Red, Green, Blue channels, while Alpha channel is fully opaque | | fromSingleValueRgb(byte value) | Creates a fully opaque (A=255) color from single value, which will be applied to all channels | | fromColor(Color color) | Creates one ArgbColor value from specified Color | | getValue() | Gets the Int32 value of the color. | | getA() | Gets the alpha part of the color. | | getAlpha() | Gets the alpha part of the color in percent (0..1). | | getR() | Gets the red part of the color. | | getG() | Gets the green part of the color. | | getB() | Gets the blue part of the color. | | isEmpty() | Uninitialized color - all 4 channels are set to 0. | | isDefault() | Indicates whether this ArgbColor instance is default (Transparent) - all 4 channels are set to 0 | | isFullyTransparent() | Indicates whether this ArgbColor instance is fully transparent - its Alpha channel has the min (0) value, so other R, G, and B channels has no visible effect. | | isTranslucent() | Indicates whether this ArgbColor instance is translucent (not fully transparent, but also not fully opaque) | | isFullyOpaque() | Indicates whether this ArgbColor instance is fully opaque, without transparency (its Alpha channel has max value) | | toSystemColor() | Converts a value of this ArgbColor instance to the Color instance and returns it | | toRGBA() | Serializes this ArgbColor instance to the 'rgba' CSS function notation | | toRGB() | Serializes this ArgbColor instance to the 'rgb' CSS function notation | | serializeDefault() | Serializes this ArgbColor instance to the most appropriate CSS function notation depending on translucency | | toString() | Same as \#serializeDefault.serializeDefault | | op_Equality(ArgbColor left, ArgbColor right) | Compares two colors and returns a boolean indicating if the two do match. | | op_Inequality(ArgbColor left, ArgbColor right) | Compares two colors and returns a boolean indicating if the two do not match. | | equals(ArgbColor other) | Checks two ArgbColor colors for equality | | equals(ICssDataType other) | Checks two ArgbColor colors for equality | | equals(Object other) | Tests if another object is equal to this ArgbColor instance. | | hashCode() | Returns a hash code that defines the current color. | ##### ArgbColor() ``` public ArgbColor() ``` ##### ArgbColor(int r, int g, int b) ``` public ArgbColor(int r, int g, int b) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | r | int | | | g | int | | | b | int | | ##### fromRgba(int red, int green, int blue, int alpha) ``` public static ArgbColor fromRgba(int red, int green, int blue, int alpha) ``` Creates one ArgbColor value from specified Red, Green, Blue, and Alpha channels **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | red | int | Red channel value | | green | int | Green channel value | | blue | int | Blue channel value | | alpha | int | Alpha channel value | **Returns:** ArgbColor - New ArgbColor value ##### fromRgb(int red, int green, int blue) ``` public static ArgbColor fromRgb(int red, int green, int blue) ``` Creates one ArgbColor value from specified Red, Green, Blue channels, while Alpha channel is fully opaque **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | red | int | Red channel value | | green | int | Green channel value | | blue | int | Blue channel value | **Returns:** ArgbColor - New ArgbColor value ##### fromSingleValueRgb(byte value) ``` public static ArgbColor fromSingleValueRgb(byte value) ``` Creates a fully opaque (A=255) color from single value, which will be applied to all channels **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte | A byte value, same for Red, Green, and Blue channels | **Returns:** ArgbColor - New ArgbColor instance ##### fromColor(Color color) ``` public static ArgbColor fromColor(Color color) ``` Creates one ArgbColor value from specified Color **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | color | java.awt.Color | | **Returns:** ArgbColor - ##### getValue() ``` public final int getValue() ``` Gets the Int32 value of the color. **Returns:** int ##### getA() ``` public final int getA() ``` Gets the alpha part of the color. **Returns:** int ##### getAlpha() ``` public final double getAlpha() ``` Gets the alpha part of the color in percent (0..1). **Returns:** double ##### getR() ``` public final int getR() ``` Gets the red part of the color. **Returns:** int ##### getG() ``` public final int getG() ``` Gets the green part of the color. **Returns:** int ##### getB() ``` public final int getB() ``` Gets the blue part of the color. **Returns:** int ##### isEmpty() ``` public final boolean isEmpty() ``` Uninitialized color - all 4 channels are set to 0. Same as Default and Transparent. **Returns:** boolean ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this ArgbColor instance is default (Transparent) - all 4 channels are set to 0 **Returns:** boolean ##### isFullyTransparent() ``` public final boolean isFullyTransparent() ``` Indicates whether this ArgbColor instance is fully transparent - its Alpha channel has the min (0) value, so other R, G, and B channels has no visible effect. **Returns:** boolean ##### isTranslucent() ``` public final boolean isTranslucent() ``` Indicates whether this ArgbColor instance is translucent (not fully transparent, but also not fully opaque) **Returns:** boolean ##### isFullyOpaque() ``` public final boolean isFullyOpaque() ``` Indicates whether this ArgbColor instance is fully opaque, without transparency (its Alpha channel has max value) **Returns:** boolean ##### toSystemColor() ``` public final Color toSystemColor() ``` Converts a value of this ArgbColor instance to the Color instance and returns it **Returns:** Color - New Color instance ##### toRGBA() ``` public final String toRGBA() ``` Serializes this ArgbColor instance to the 'rgba' CSS function notation **Returns:** java.lang.String - A string with 'rgba(r, g, b, a)' format ##### toRGB() ``` public final String toRGB() ``` Serializes this ArgbColor instance to the 'rgb' CSS function notation **Returns:** java.lang.String - A string with 'rgb(r, g, b)' format ##### serializeDefault() ``` public final String serializeDefault() ``` Serializes this ArgbColor instance to the most appropriate CSS function notation depending on translucency **Returns:** java.lang.String - A string with 'rgba(r, g, b, a)' or 'rgb(r, g, b)' format ##### toString() ``` public String toString() ``` Same as \#serializeDefault.serializeDefault **Returns:** java.lang.String - Same return value as in \#serializeDefault.serializeDefault ##### op_Equality(ArgbColor left, ArgbColor right) ``` public static boolean op_Equality(ArgbColor left, ArgbColor right) ``` Compares two colors and returns a boolean indicating if the two do match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | ArgbColor | The first color to use. | | right | ArgbColor | The second color to use. | **Returns:** boolean - True if both colors are equal, otherwise false. ##### op_Inequality(ArgbColor left, ArgbColor right) ``` public static boolean op_Inequality(ArgbColor left, ArgbColor right) ``` Compares two colors and returns a boolean indicating if the two do not match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | ArgbColor | The first color to use. | | right | ArgbColor | The second color to use. | **Returns:** boolean - True if both colors are not equal, otherwise false. ##### equals(ArgbColor other) ``` public final boolean equals(ArgbColor other) ``` Checks two ArgbColor colors for equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ArgbColor | The other ArgbColor color | **Returns:** boolean - True if both colors or equal, otherwise false. ##### equals(ICssDataType other) ``` public final boolean equals(ICssDataType other) ``` Checks two ArgbColor colors for equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ICssDataType | The other ArgbColor color, casted to the ICssDataType | **Returns:** boolean - True if both colors or equal, otherwise false. ##### equals(Object other) ``` public boolean equals(Object other) ``` Tests if another object is equal to this ArgbColor instance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | java.lang.Object | The object to test with. | **Returns:** boolean - True if the two objects are equal, otherwise false. ##### hashCode() ``` public int hashCode() ``` Returns a hash code that defines the current color. **Returns:** int - The integer value of the hashcode. ### ArgbColors Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.datatypes/argbcolors.md **Inheritance:** java.lang.Object ``` public class ArgbColors ``` Contains all "known colors", that have fixed unique name and value in CSS standart See also: https://developer.mozilla.org/en-US/docs/Web/CSS/named-color #### Constructors | Constructor | Description | | --- | --- | | ArgbColors() | | #### Fields | Field | Description | | --- | --- | | Empty | Returns an empty color, which has no channels info and is fully transparent. | | Transparent | Fully transparent empty color. | | Black | Black color | | Silver | Silver color | | Gray | Gray color | | White | White color | | Maroon | Maroon color | | Red | Red color | | Purple | Purple color | | Fuchsia | Fuchsia color, also known as Magenta | | Green | Green color | | Lime | Lime color, also known as Pure Green | | Olive | Olive color | | Yellow | Yellow color | | Navy | Navy color | | Blue | Blue color | | Teal | Teal color | | Aqua | Aqua color | | Orange | Orange color | | Aliceblue | Alice Blue color | | Antiquewhite | Antique White color | | Aquamarine | Aquamarine color | | Azure | Azure color | | Beige | Beige color | | Bisque | Bisque color | | Blanchedalmond | Blanched Almond color | | Blueviolet | Blue Violet color | | Brown | Brown color | | Burlywood | Burly Wood color | | Cadetblue | Cadet Blue color | | Chartreuse | Chart Reuse color | | Chocolate | Chocolate color | | Coral | Coral color | | Cornflowerblue | Corn flower blue color | | Cornsilk | Corn silk color | | Crimson | Crimson color | | Cyan | Cyan color, also known as Aqua from CssLevel1 | | Darkblue | Dark blue color | | Darkcyan | Dark cyan color | | Darkgoldenrod | Dark golden rod color | | Darkgray | Dark gray color | | Darkgreen | Dark green color | | Darkgrey | Dark grey color - same as Dark gray | | Darkkhaki | Dark khaki color | | Darkmagenta | Dark magenta color | | Darkolivegreen | Dark olive green color | | Darkorange | Dark orange color | | Darkorchid | Dark orchid color | | Darkred | Dark red color | | Darksalmon | Dark salmon color | | Darkseagreen | Dark sea green color | | Darkslateblue | Dark slate blue color | | Darkslategray | Dark slate gray color | | Darkslategrey | Dark slate grey color - same as Dark slate gray | | Darkturquoise | Dark turquoise color | | Darkviolet | Dark violet color | | Deeppink | Deep pink color | | Deepskyblue | Deep sky blue color | | Dimgray | Dim gray color | | Dimgrey | Dim grey color - same as Dim gray | | Dodgerblue | Dodger blue color | | Firebrick | Fire brick color | | Floralwhite | Floral white color | | Forestgreen | Forest green color | | Gainsboro | Gains boro color | | Ghostwhite | Ghost white color | | Gold | Gold color | | Goldenrod | Goldenrod color | | Greenyellow | Green yellow color | | Grey | Grey color - same as Gray from CSS Level 1 | | Honeydew | Honey dew color | | Hotpink | Hot pink color | | Indianred | Indian red color | | Indigo | Indigo color | | Ivory | Ivory color | | Khaki | Khaki color | | Lavender | Lavender color | | Lavenderblush | Lavender blush color | | Lawngreen | Lawngreen color | | Lemonchiffon | Lemonchiffon color | | Lightblue | Lightblue color | | Lightcoral | Lightcoral color | | Lightcyan | Lightcyan color | | Lightgoldenrodyellow | Lightgoldenrodyellow color | | Lightgray | Lightgray color - same as Lightgrey | | Lightgreen | Lightgreen color | | Lightgrey | Lightgrey color - same as Lightgray | | Lightpink | Lightpink color | | Lightsalmon | Lightsalmon color | | Lightseagreen | Lightseagreen color | | Lightskyblue | Lightskyblue color | | Lightslategray | Lightslategray color - same as Lightslategrey | | Lightslategrey | Lightslategrey color - same as Lightslategray | | Lightsteelblue | Lightsteelblue color | | Lightyellow | Lightyellow color | | Limegreen | Limegreen color | | Linen | Linen color | | Magenta | Magenta color, also known as Fuchsia from CssLevel1 | | Mediumaquamarine | Mediumaquamarine color | | Mediumblue | Mediumblue color | | Mediumorchid | Mediumorchid color | | Mediumpurple | Mediumpurple color | | Mediumseagreen | Mediumseagreen color | | Mediumslateblue | Mediumslateblue color | | Mediumspringgreen | Mediumspringgreen color | | Mediumturquoise | Mediumturquoise color | | Mediumvioletred | Mediumvioletred color | | Midnightblue | Midnightblue color | | Mintcream | Mintcream color | | Mistyrose | Mistyrose color | | Moccasin | Moccasin color | | Navajowhite | Navajowhite color | | Oldlace | Oldlace color | | Olivedrab | Olivedrab color | | Orangered | Orangered color | | Orchid | Orchid color | | Palegoldenrod | Palegoldenrod color | | Palegreen | Palegreen color | | Paleturquoise | Paleturquoise color | | Palevioletred | Palevioletred color | | Papayawhip | Papayawhip color | | Peachpuff | Peachpuff color | | Peru | Peru color | | Pink | Pink color | | Plum | Plum color | | Powderblue | Powderblue color | | Rosybrown | Rosybrown color | | Royalblue | Royalblue color | | Saddlebrown | Saddlebrown color | | Salmon | Salmon color | | Sandybrown | Sandybrown color | | Seagreen | Seagreen color | | Seashell | Seashell color | | Sienna | Sienna color | | Skyblue | Skyblue color | | Slateblue | Slateblue color | | Slategray | Slategray color - same as Slategrey | | Slategrey | Slategrey color - same as Slategray | | Snow | Snow color | | Springgreen | Springgreen color | | Steelblue | Steelblue color | | Tan | Tan color | | Thistle | Thistle color | | Tomato | Tomato color | | Turquoise | Turquoise color | | Violet | Violet color | | Wheat | Wheat color | | Whitesmoke | Whitesmoke color | | Yellowgreen | Yellowgreen color | | Rebeccapurple | Rebecca Purple color | #### Methods | Method | Description | | --- | --- | | tryFind(String keyword, ArgbColor[] output) | Tries to find a color by its string name | ##### ArgbColors() ``` public ArgbColors() ``` ##### Empty ``` public static final ArgbColor Empty ``` Returns an empty color, which has no channels info and is fully transparent. Same as '\#Transparent.Transparent'. Default value. ##### Transparent ``` public static final ArgbColor Transparent ``` Fully transparent empty color. The same as default '\#Empty.Empty' color value. ##### Black ``` public static final ArgbColor Black ``` Black color ##### Silver ``` public static final ArgbColor Silver ``` Silver color ##### Gray ``` public static final ArgbColor Gray ``` Gray color ##### White ``` public static final ArgbColor White ``` White color ##### Maroon ``` public static final ArgbColor Maroon ``` Maroon color ##### Red ``` public static final ArgbColor Red ``` Red color ##### Purple ``` public static final ArgbColor Purple ``` Purple color ##### Fuchsia ``` public static final ArgbColor Fuchsia ``` Fuchsia color, also known as Magenta ##### Green ``` public static final ArgbColor Green ``` Green color ##### Lime ``` public static final ArgbColor Lime ``` Lime color, also known as Pure Green ##### Olive ``` public static final ArgbColor Olive ``` Olive color ##### Yellow ``` public static final ArgbColor Yellow ``` Yellow color ##### Navy ``` public static final ArgbColor Navy ``` Navy color ##### Blue ``` public static final ArgbColor Blue ``` Blue color ##### Teal ``` public static final ArgbColor Teal ``` Teal color ##### Aqua ``` public static final ArgbColor Aqua ``` Aqua color ##### Orange ``` public static final ArgbColor Orange ``` Orange color ##### Aliceblue ``` public static final ArgbColor Aliceblue ``` Alice Blue color ##### Antiquewhite ``` public static final ArgbColor Antiquewhite ``` Antique White color ##### Aquamarine ``` public static final ArgbColor Aquamarine ``` Aquamarine color ##### Azure ``` public static final ArgbColor Azure ``` Azure color ##### Beige ``` public static final ArgbColor Beige ``` Beige color ##### Bisque ``` public static final ArgbColor Bisque ``` Bisque color ##### Blanchedalmond ``` public static final ArgbColor Blanchedalmond ``` Blanched Almond color ##### Blueviolet ``` public static final ArgbColor Blueviolet ``` Blue Violet color ##### Brown ``` public static final ArgbColor Brown ``` Brown color ##### Burlywood ``` public static final ArgbColor Burlywood ``` Burly Wood color ##### Cadetblue ``` public static final ArgbColor Cadetblue ``` Cadet Blue color ##### Chartreuse ``` public static final ArgbColor Chartreuse ``` Chart Reuse color ##### Chocolate ``` public static final ArgbColor Chocolate ``` Chocolate color ##### Coral ``` public static final ArgbColor Coral ``` Coral color ##### Cornflowerblue ``` public static final ArgbColor Cornflowerblue ``` Corn flower blue color ##### Cornsilk ``` public static final ArgbColor Cornsilk ``` Corn silk color ##### Crimson ``` public static final ArgbColor Crimson ``` Crimson color ##### Cyan ``` public static final ArgbColor Cyan ``` Cyan color, also known as Aqua from CssLevel1 ##### Darkblue ``` public static final ArgbColor Darkblue ``` Dark blue color ##### Darkcyan ``` public static final ArgbColor Darkcyan ``` Dark cyan color ##### Darkgoldenrod ``` public static final ArgbColor Darkgoldenrod ``` Dark golden rod color ##### Darkgray ``` public static final ArgbColor Darkgray ``` Dark gray color ##### Darkgreen ``` public static final ArgbColor Darkgreen ``` Dark green color ##### Darkgrey ``` public static final ArgbColor Darkgrey ``` Dark grey color - same as Dark gray ##### Darkkhaki ``` public static final ArgbColor Darkkhaki ``` Dark khaki color ##### Darkmagenta ``` public static final ArgbColor Darkmagenta ``` Dark magenta color ##### Darkolivegreen ``` public static final ArgbColor Darkolivegreen ``` Dark olive green color ##### Darkorange ``` public static final ArgbColor Darkorange ``` Dark orange color ##### Darkorchid ``` public static final ArgbColor Darkorchid ``` Dark orchid color ##### Darkred ``` public static final ArgbColor Darkred ``` Dark red color ##### Darksalmon ``` public static final ArgbColor Darksalmon ``` Dark salmon color ##### Darkseagreen ``` public static final ArgbColor Darkseagreen ``` Dark sea green color ##### Darkslateblue ``` public static final ArgbColor Darkslateblue ``` Dark slate blue color ##### Darkslategray ``` public static final ArgbColor Darkslategray ``` Dark slate gray color ##### Darkslategrey ``` public static final ArgbColor Darkslategrey ``` Dark slate grey color - same as Dark slate gray ##### Darkturquoise ``` public static final ArgbColor Darkturquoise ``` Dark turquoise color ##### Darkviolet ``` public static final ArgbColor Darkviolet ``` Dark violet color ##### Deeppink ``` public static final ArgbColor Deeppink ``` Deep pink color ##### Deepskyblue ``` public static final ArgbColor Deepskyblue ``` Deep sky blue color ##### Dimgray ``` public static final ArgbColor Dimgray ``` Dim gray color ##### Dimgrey ``` public static final ArgbColor Dimgrey ``` Dim grey color - same as Dim gray ##### Dodgerblue ``` public static final ArgbColor Dodgerblue ``` Dodger blue color ##### Firebrick ``` public static final ArgbColor Firebrick ``` Fire brick color ##### Floralwhite ``` public static final ArgbColor Floralwhite ``` Floral white color ##### Forestgreen ``` public static final ArgbColor Forestgreen ``` Forest green color ##### Gainsboro ``` public static final ArgbColor Gainsboro ``` Gains boro color ##### Ghostwhite ``` public static final ArgbColor Ghostwhite ``` Ghost white color ##### Gold ``` public static final ArgbColor Gold ``` Gold color ##### Goldenrod ``` public static final ArgbColor Goldenrod ``` Goldenrod color ##### Greenyellow ``` public static final ArgbColor Greenyellow ``` Green yellow color ##### Grey ``` public static final ArgbColor Grey ``` Grey color - same as Gray from CSS Level 1 ##### Honeydew ``` public static final ArgbColor Honeydew ``` Honey dew color ##### Hotpink ``` public static final ArgbColor Hotpink ``` Hot pink color ##### Indianred ``` public static final ArgbColor Indianred ``` Indian red color ##### Indigo ``` public static final ArgbColor Indigo ``` Indigo color ##### Ivory ``` public static final ArgbColor Ivory ``` Ivory color ##### Khaki ``` public static final ArgbColor Khaki ``` Khaki color ##### Lavender ``` public static final ArgbColor Lavender ``` Lavender color ##### Lavenderblush ``` public static final ArgbColor Lavenderblush ``` Lavender blush color ##### Lawngreen ``` public static final ArgbColor Lawngreen ``` Lawngreen color ##### Lemonchiffon ``` public static final ArgbColor Lemonchiffon ``` Lemonchiffon color ##### Lightblue ``` public static final ArgbColor Lightblue ``` Lightblue color ##### Lightcoral ``` public static final ArgbColor Lightcoral ``` Lightcoral color ##### Lightcyan ``` public static final ArgbColor Lightcyan ``` Lightcyan color ##### Lightgoldenrodyellow ``` public static final ArgbColor Lightgoldenrodyellow ``` Lightgoldenrodyellow color ##### Lightgray ``` public static final ArgbColor Lightgray ``` Lightgray color - same as Lightgrey ##### Lightgreen ``` public static final ArgbColor Lightgreen ``` Lightgreen color ##### Lightgrey ``` public static final ArgbColor Lightgrey ``` Lightgrey color - same as Lightgray ##### Lightpink ``` public static final ArgbColor Lightpink ``` Lightpink color ##### Lightsalmon ``` public static final ArgbColor Lightsalmon ``` Lightsalmon color ##### Lightseagreen ``` public static final ArgbColor Lightseagreen ``` Lightseagreen color ##### Lightskyblue ``` public static final ArgbColor Lightskyblue ``` Lightskyblue color ##### Lightslategray ``` public static final ArgbColor Lightslategray ``` Lightslategray color - same as Lightslategrey ##### Lightslategrey ``` public static final ArgbColor Lightslategrey ``` Lightslategrey color - same as Lightslategray ##### Lightsteelblue ``` public static final ArgbColor Lightsteelblue ``` Lightsteelblue color ##### Lightyellow ``` public static final ArgbColor Lightyellow ``` Lightyellow color ##### Limegreen ``` public static final ArgbColor Limegreen ``` Limegreen color ##### Linen ``` public static final ArgbColor Linen ``` Linen color ##### Magenta ``` public static final ArgbColor Magenta ``` Magenta color, also known as Fuchsia from CssLevel1 ##### Mediumaquamarine ``` public static final ArgbColor Mediumaquamarine ``` Mediumaquamarine color ##### Mediumblue ``` public static final ArgbColor Mediumblue ``` Mediumblue color ##### Mediumorchid ``` public static final ArgbColor Mediumorchid ``` Mediumorchid color ##### Mediumpurple ``` public static final ArgbColor Mediumpurple ``` Mediumpurple color ##### Mediumseagreen ``` public static final ArgbColor Mediumseagreen ``` Mediumseagreen color ##### Mediumslateblue ``` public static final ArgbColor Mediumslateblue ``` Mediumslateblue color ##### Mediumspringgreen ``` public static final ArgbColor Mediumspringgreen ``` Mediumspringgreen color ##### Mediumturquoise ``` public static final ArgbColor Mediumturquoise ``` Mediumturquoise color ##### Mediumvioletred ``` public static final ArgbColor Mediumvioletred ``` Mediumvioletred color ##### Midnightblue ``` public static final ArgbColor Midnightblue ``` Midnightblue color ##### Mintcream ``` public static final ArgbColor Mintcream ``` Mintcream color ##### Mistyrose ``` public static final ArgbColor Mistyrose ``` Mistyrose color ##### Moccasin ``` public static final ArgbColor Moccasin ``` Moccasin color ##### Navajowhite ``` public static final ArgbColor Navajowhite ``` Navajowhite color ##### Oldlace ``` public static final ArgbColor Oldlace ``` Oldlace color ##### Olivedrab ``` public static final ArgbColor Olivedrab ``` Olivedrab color ##### Orangered ``` public static final ArgbColor Orangered ``` Orangered color ##### Orchid ``` public static final ArgbColor Orchid ``` Orchid color ##### Palegoldenrod ``` public static final ArgbColor Palegoldenrod ``` Palegoldenrod color ##### Palegreen ``` public static final ArgbColor Palegreen ``` Palegreen color ##### Paleturquoise ``` public static final ArgbColor Paleturquoise ``` Paleturquoise color ##### Palevioletred ``` public static final ArgbColor Palevioletred ``` Palevioletred color ##### Papayawhip ``` public static final ArgbColor Papayawhip ``` Papayawhip color ##### Peachpuff ``` public static final ArgbColor Peachpuff ``` Peachpuff color ##### Peru ``` public static final ArgbColor Peru ``` Peru color ##### Pink ``` public static final ArgbColor Pink ``` Pink color ##### Plum ``` public static final ArgbColor Plum ``` Plum color ##### Powderblue ``` public static final ArgbColor Powderblue ``` Powderblue color ##### Rosybrown ``` public static final ArgbColor Rosybrown ``` Rosybrown color ##### Royalblue ``` public static final ArgbColor Royalblue ``` Royalblue color ##### Saddlebrown ``` public static final ArgbColor Saddlebrown ``` Saddlebrown color ##### Salmon ``` public static final ArgbColor Salmon ``` Salmon color ##### Sandybrown ``` public static final ArgbColor Sandybrown ``` Sandybrown color ##### Seagreen ``` public static final ArgbColor Seagreen ``` Seagreen color ##### Seashell ``` public static final ArgbColor Seashell ``` Seashell color ##### Sienna ``` public static final ArgbColor Sienna ``` Sienna color ##### Skyblue ``` public static final ArgbColor Skyblue ``` Skyblue color ##### Slateblue ``` public static final ArgbColor Slateblue ``` Slateblue color ##### Slategray ``` public static final ArgbColor Slategray ``` Slategray color - same as Slategrey ##### Slategrey ``` public static final ArgbColor Slategrey ``` Slategrey color - same as Slategray ##### Snow ``` public static final ArgbColor Snow ``` Snow color ##### Springgreen ``` public static final ArgbColor Springgreen ``` Springgreen color ##### Steelblue ``` public static final ArgbColor Steelblue ``` Steelblue color ##### Tan ``` public static final ArgbColor Tan ``` Tan color ##### Thistle ``` public static final ArgbColor Thistle ``` Thistle color ##### Tomato ``` public static final ArgbColor Tomato ``` Tomato color ##### Turquoise ``` public static final ArgbColor Turquoise ``` Turquoise color ##### Violet ``` public static final ArgbColor Violet ``` Violet color ##### Wheat ``` public static final ArgbColor Wheat ``` Wheat color ##### Whitesmoke ``` public static final ArgbColor Whitesmoke ``` Whitesmoke color ##### Yellowgreen ``` public static final ArgbColor Yellowgreen ``` Yellowgreen color ##### Rebeccapurple ``` public static final ArgbColor Rebeccapurple ``` Rebecca Purple color CSS Colors Level 4 added the ' **rebeccapurple** ' keyword to honor web pioneer Eric Meyer: https://codepen.io/trezy/post/honoring-a-great-man ##### tryFind(String keyword, ArgbColor[] output) ``` public static boolean tryFind(String keyword, ArgbColor[] output) ``` Tries to find a color by its string name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | A color name | | output | ArgbColor\[\] | The resultant color value on success or \#Transparent.Transparent value on failure | **Returns:** boolean - True if color was successfully found by its name, or false otherwise ### ICssDataType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.datatypes/icssdatatype.md **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public interface ICssDataType extends System.IEquatable ``` Common interface for all CSS data types, which are used in the CSS properties #### Methods | Method | Description | | --- | --- | | serializeDefault() | Should return a default string representation of the current value of the data type | | isDefault() | Should define whether the current value of the data type is the default value for this specific data type or not | ##### serializeDefault() ``` public abstract String serializeDefault() ``` Should return a default string representation of the current value of the data type **Returns:** java.lang.String - ##### isDefault() ``` public abstract boolean isDefault() ``` Should define whether the current value of the data type is the default value for this specific data type or not **Returns:** boolean - ### Length Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.datatypes/length.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.datatypes.ICssDataType ``` public class Length implements ICssDataType ``` Represents a CSS length value in any supportable unit, including percentage and unitless type. Values may be integer or float, negative, zero and positive. Immutable structure. This type covers the next CSS data types: https://developer.mozilla.org/en-US/docs/Web/CSS/length https://developer.mozilla.org/en-US/docs/Web/CSS/percentage #### Constructors | Constructor | Description | | --- | --- | | Length() | | #### Fields | Field | Description | | --- | --- | | UnitlessZero | Unitless integer zero - default value, the same as default parameterless constructor | | OneHundredPercents | 100% | | FiftyPercents | 50% | | ZeroPercents | 0% | #### Methods | Method | Description | | --- | --- | | fromValueWithUnit(float value, int unit) | Creates and returns an instance of Length type by specified float number and unit | | fromValueWithUnit(double value, int unit) | Creates and returns an instance of Length type by specified double number and unit | | fromValueWithUnit(int value, int unit) | Creates and returns an instance of Length type by specified integer number and unit | | isUnitlessZero() | Determines whether this instance is a unitless zero or not. | | isDefault() | Indicates whether this Length instance has a default value \\u2014 unitless zero. | | getUnitType() | Returns a unit type of this Length instance. | | isInteger() | Indicates whether the numeric value of this Length instance was originally specified and stored as an integer (INT32) number | | isFloat() | Indicates whether the numeric value of this Length instance was originally specified and stored as a float (FP32) number | | getFloatValue() | Returns a float numeric value of the Length instance. | | getIntegerValue() | Returns an integer numeric value of this Length instance, if it is internally stored as an integer, or throws an exception, if it was originally stored as a float number. | | isAbsolute() | Gets if the length is given in absolute units. | | isRelative() | Gets if the length is given in relative units. | | isZero() | Determines whether the numeric value of this length is a zero number | | isNegative() | Determines whether the numeric value of this length is a negative number | | isPositive() | Determines whether the numeric value of this length is a positive number | | isUnitlessNonZero() | The value has unitless type, but is not a zero - positive or negative number | | toPixel() | Converts the length to a number of pixels, if possible. | | to(int unit) | Converts the length to the given unit, if possible. | | toStringSpecified(int unit) | Returns a string representation of this length in specified unit type. | | serializeDefault() | Returns a string representation of this length in its original native form (as it is stored), without converting length value to some other unit type | | equals(Length other) | Defines whether this value is equal to the other specified length | | equals(Object obj) | Determines whether this length is equal to specified object | | op_Multiply(Length multiplicand, int factor) | Multiplicates the given Length onto the given factor | | op_Equality(Length left, Length right) | Checks the equality of the two given lengths. | | op_Inequality(Length left, Length right) | Checks the inequality of the two given lengths. | | hashCode() | Calculates and returns a hash-code of this Length instance by combining hash-codes of the value and unit type | | deepClone() | Returns a full copy of this Length instance | | getUnitFromName(String unitName) | Tries to parse specified unit name and return corresponding value of a Unit enum. | | tryParse(String input, Length[] result) | Tries to parse a specified string as a Length value, including its numeric value and unit name | | parse(String input) | Parses and returns specified string as a Length value, including its numeric value and unit name, or throws an exception on failure | ##### Length() ``` public Length() ``` ##### UnitlessZero ``` public static final Length UnitlessZero ``` Unitless integer zero - default value, the same as default parameterless constructor ##### OneHundredPercents ``` public static final Length OneHundredPercents ``` 100% ##### FiftyPercents ``` public static final Length FiftyPercents ``` 50% ##### ZeroPercents ``` public static final Length ZeroPercents ``` 0% ##### fromValueWithUnit(float value, int unit) ``` public static Length fromValueWithUnit(float value, int unit) ``` Creates and returns an instance of Length type by specified float number and unit **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | >Any float (FP32) number | | unit | int | Any valid unit type | **Returns:** Length - New instance of Length type ##### fromValueWithUnit(double value, int unit) ``` public static Length fromValueWithUnit(double value, int unit) ``` Creates and returns an instance of Length type by specified double number and unit **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | Any double (FP64) number, that will be converted to float (FP32) | | unit | int | Any valid unit type | **Returns:** Length - New instance of Length type ##### fromValueWithUnit(int value, int unit) ``` public static Length fromValueWithUnit(int value, int unit) ``` Creates and returns an instance of Length type by specified integer number and unit **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | Any integer number | | unit | int | Any valid unit type | **Returns:** Length - New instance of Length type ##### isUnitlessZero() ``` public final boolean isUnitlessZero() ``` Determines whether this instance is a unitless zero or not. Unitless zero is default value of this type. Same as IsDefault property. **Returns:** boolean ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this Length instance has a default value \\u2014 unitless zero. Same as IsUnitlessZero property. **Returns:** boolean ##### getUnitType() ``` public final int getUnitType() ``` Returns a unit type of this Length instance. **Returns:** int ##### isInteger() ``` public final boolean isInteger() ``` Indicates whether the numeric value of this Length instance was originally specified and stored as an integer (INT32) number **Returns:** boolean ##### isFloat() ``` public final boolean isFloat() ``` Indicates whether the numeric value of this Length instance was originally specified and stored as a float (FP32) number **Returns:** boolean ##### getFloatValue() ``` public final float getFloatValue() ``` Returns a float numeric value of the Length instance. Never throws an exception - converts Integer value to Float if necessary. **Returns:** float ##### getIntegerValue() ``` public final int getIntegerValue() ``` Returns an integer numeric value of this Length instance, if it is internally stored as an integer, or throws an exception, if it was originally stored as a float number. **Returns:** int ##### isAbsolute() ``` public final boolean isAbsolute() ``` Gets if the length is given in absolute units. Such a length may be converted to pixels. **Returns:** boolean ##### isRelative() ``` public final boolean isRelative() ``` Gets if the length is given in relative units. Such a length cannot be converted to pixels. **Returns:** boolean ##### isZero() ``` public final boolean isZero() ``` Determines whether the numeric value of this length is a zero number **Returns:** boolean ##### isNegative() ``` public final boolean isNegative() ``` Determines whether the numeric value of this length is a negative number **Returns:** boolean ##### isPositive() ``` public final boolean isPositive() ``` Determines whether the numeric value of this length is a positive number **Returns:** boolean ##### isUnitlessNonZero() ``` public final boolean isUnitlessNonZero() ``` The value has unitless type, but is not a zero - positive or negative number **Returns:** boolean ##### toPixel() ``` public final float toPixel() ``` Converts the length to a number of pixels, if possible. If the current unit is relative, then an exception will be thrown. **Returns:** float - The number of pixels represented by the current length. ##### to(int unit) ``` public final float to(int unit) ``` Converts the length to the given unit, if possible. If the current or given unit is relative, then an exception will be thrown. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | unit | int | The unit to convert to. | **Returns:** float - The value in the given unit of the current length. ##### toStringSpecified(int unit) ``` public final String toStringSpecified(int unit) ``` Returns a string representation of this length in specified unit type. Numeric value will be converted in corresponding to unit type change. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | unit | int | Specified unit, to which this instance should be converted before serializing to the string. Should be valid. Cannot be unitless. | **Returns:** java.lang.String - String representation ##### serializeDefault() ``` public final String serializeDefault() ``` Returns a string representation of this length in its original native form (as it is stored), without converting length value to some other unit type **Returns:** java.lang.String - String instance ##### equals(Length other) ``` public final boolean equals(Length other) ``` Defines whether this value is equal to the other specified length **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Length | Other instance of Length type | **Returns:** boolean - True if equal, otherwise false ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this length is equal to specified object **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other instance of Length type, that is boxed to the System.Object or any other abstract type or interface | **Returns:** boolean - True if equal, otherwise false ##### op_Multiply(Length multiplicand, int factor) ``` public static Length op_Multiply(Length multiplicand, int factor) ``` Multiplicates the given Length onto the given factor **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | multiplicand | Length | Length - multiplicand | | factor | int | Arbitrary integer - factor | **Returns:** Length - A new Length - a product of multiplication ##### op_Equality(Length left, Length right) ``` public static boolean op_Equality(Length left, Length right) ``` Checks the equality of the two given lengths. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Length | The left length operand. | | right | Length | The right length operand. | **Returns:** boolean - True if both lengths are equal, otherwise false. ##### op_Inequality(Length left, Length right) ``` public static boolean op_Inequality(Length left, Length right) ``` Checks the inequality of the two given lengths. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Length | The left length operand. | | right | Length | The right length operand. | **Returns:** boolean - True if both lengths are not equal, otherwise false. ##### hashCode() ``` public int hashCode() ``` Calculates and returns a hash-code of this Length instance by combining hash-codes of the value and unit type **Returns:** int - Integer number ##### deepClone() ``` public final Length deepClone() ``` Returns a full copy of this Length instance **Returns:** Length - New separate instance of this Length, that is absolutely identical to this one ##### getUnitFromName(String unitName) ``` public static int getUnitFromName(String unitName) ``` Tries to parse specified unit name and return corresponding value of a Unit enum. Returns LengthUnit.Unitless if cannot find appropriate LengthUnit. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | unitName | java.lang.String | String, that represents a unit name | **Returns:** int - Value of Unit enum in any case, LengthUnit.Unitless when cannot find appropriate unit ##### tryParse(String input, Length[] result) ``` public static boolean tryParse(String input, Length[] result) ``` Tries to parse a specified string as a Length value, including its numeric value and unit name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string, that should be parsed | | result | Length\[\] | Output parameter, that contains a result of parsing. If parsing is unsuccessful, contains a default Length value \\u2014 a unitless zero. | **Returns:** boolean - True if parsing is successful, false if unsuccessful ##### parse(String input) ``` public static Length parse(String input) ``` Parses and returns specified string as a Length value, including its numeric value and unit name, or throws an exception on failure **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string, that should be parsed | **Returns:** Length - Valid parsed Length instance ### LengthUnit Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.datatypes/lengthunit.md **Inheritance:** java.lang.Object ``` public class LengthUnit ``` All supported length units [https://developer.mozilla.org/en-US/docs/Web/CSS/length\#Units][https_developer.mozilla.org_en-US_docs_Web_CSS_length_Units] [https_developer.mozilla.org_en-US_docs_Web_CSS_length_Units]: https://developer.mozilla.org/en-US/docs/Web/CSS/length#Units #### Fields | Field | Description | | --- | --- | | Unitless | Unitless - no defined length unit. | | Px | Pixel. | | Em | Em. | | Ex | Ex (x-length). | | Cm | Cm. | | Mm | Mm. | | In | In. | | Pt | Pt. | | Pc | Pc. | | Ch | Ch. | | Rem | Rem. | | Vw | Vw - viewport width. | | Vh | Vh - viewport height. | | Vmin | Vmin. | | Vmax | Vmax. | | Percent | The value is relative to a fixed (external) value, that is context dependent. | #### Methods | Method | Description | | --- | --- | | getUnit() | | | getUnits() | | ##### Unitless ``` public static final int Unitless ``` Unitless - no defined length unit. Default value. ##### Px ``` public static final int Px ``` Pixel. Relative to the viewing device. For screen display, typically one device pixel (dot) of the display. ##### Em ``` public static final int Em ``` Em. This unit represents the calculated font-size of the element. ##### Ex ``` public static final int Ex ``` Ex (x-length). This unit represents the x-height of the element's font. On fonts with the 'x' letter, this is generally the height of lowercase letters in the font; 1ex \\u2248 0.5em in many fonts. ##### Cm ``` public static final int Cm ``` Cm. One centimeter (10 millimeters). ##### Mm ``` public static final int Mm ``` Mm. One millimeter. ##### In ``` public static final int In ``` In. One inch (2.54 centimeters). ##### Pt ``` public static final int Pt ``` Pt. One point is 1/72th of an inch or 0.353 mm. ##### Pc ``` public static final int Pc ``` Pc. One pica (12 points). ##### Ch ``` public static final int Ch ``` Ch. This unit represents the width, or more precisely the advance measure, of the glyph '0' (zero, the Unicode character U+0030) in the element's font. ##### Rem ``` public static final int Rem ``` Rem. This unit represents the font-size of the root element (e.g. the font-size of the element). When used on the font-size on this root element, it represents its initial value. ##### Vw ``` public static final int Vw ``` Vw - viewport width. 1/100th of the width of the viewport. ##### Vh ``` public static final int Vh ``` Vh - viewport height. 1/100th of the height of the viewport. ##### Vmin ``` public static final int Vmin ``` Vmin. 1/100th of the minimum value between the height and the width of the viewport. ##### Vmax ``` public static final int Vmax ``` Vmax. 1/100th of the maximum value between the height and the width of the viewport. ##### Percent ``` public static final int Percent ``` The value is relative to a fixed (external) value, that is context dependent. 1% = 1/100 of the external value. ##### getUnit() ``` public static Integer[] getUnit() ``` **Returns:** java.lang.Integer[] ##### getUnits() ``` public static Map getUnits() ``` **Returns:** java.util.Map ### Ratio Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.datatypes/ratio.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.datatypes.ICssDataType ``` public class Ratio implements ICssDataType ``` Represents a "ratio" CSS data type, which is used for describing aspect ratios in media queries and for raster images by denoting the proportion between two unitless values called "numerator" and "denominator". Immutable struct. https://developer.mozilla.org/en-US/docs/Web/CSS/ratio #### Constructors | Constructor | Description | | --- | --- | | Ratio() | | #### Fields | Field | Description | | --- | --- | | Single | Single default ratio 1/1 | #### Methods | Method | Description | | --- | --- | | getNumerator() | Returns a numerator of this ratio | | getDenominator() | Returns a denominator of this ratio | | calculate() | Calculates and returns this ratio as a single floating point number | | getInverseRatio() | Generates and returns an inverse (reciprocal) ratio for this ratio | | serializeDefault() | Serializes this ratio to the string and returns it | | toString() | Returns a string representation of this ratio; same as "SerializeDefault()" | | isDefault() | Determines whether this ratio has default value or is a "1/1" (Single) | | deepClone() | Returns a full copy of this ratio | | equals(Ratio other) | Determines whether this instance is equal with specified "Ratio" instance | | equals(Object other) | Determines whether this instance is equal with specified uncasted object, which presumably is another "Ratio" instance | | op_Equality(Ratio left, Ratio right) | Compares two ratios and returns a boolean indicating if the two do match. | | op_Inequality(Ratio left, Ratio right) | Compares two ratios and returns a boolean indicating if the two do not match. | | hashCode() | Returns a hashcode for this instance, which cannot be changed during its lifetime | | create(int numerator, int denominator) | Creates and returns one Ratio instance from specified numerator and denominator | ##### Ratio() ``` public Ratio() ``` ##### Single ``` public static final Ratio Single ``` Single default ratio 1/1 ##### getNumerator() ``` public final int getNumerator() ``` Returns a numerator of this ratio **Returns:** int ##### getDenominator() ``` public final int getDenominator() ``` Returns a denominator of this ratio **Returns:** int ##### calculate() ``` public final double calculate() ``` Calculates and returns this ratio as a single floating point number **Returns:** double - Floating-point number with double precision ##### getInverseRatio() ``` public final Ratio getInverseRatio() ``` Generates and returns an inverse (reciprocal) ratio for this ratio **Returns:** Ratio - New Ratio instance, that is an inverse ratio for this one ##### serializeDefault() ``` public final String serializeDefault() ``` Serializes this ratio to the string and returns it **Returns:** java.lang.String - String in "numerator/denominator" format ##### toString() ``` public String toString() ``` Returns a string representation of this ratio; same as "SerializeDefault()" **Returns:** java.lang.String - String in "numerator/denominator" format ##### isDefault() ``` public final boolean isDefault() ``` Determines whether this ratio has default value or is a "1/1" (Single) **Returns:** boolean ##### deepClone() ``` public final Ratio deepClone() ``` Returns a full copy of this ratio **Returns:** Ratio - New Ratio instance, that is a full and deep copy of this one ##### equals(Ratio other) ``` public final boolean equals(Ratio other) ``` Determines whether this instance is equal with specified "Ratio" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Ratio | Other Ratio instance to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object other) ``` public boolean equals(Object other) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "Ratio" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | java.lang.Object | Other System.Object instance, that is presumably of Ratio type, to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(Ratio left, Ratio right) ``` public static boolean op_Equality(Ratio left, Ratio right) ``` Compares two ratios and returns a boolean indicating if the two do match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Ratio | The first ratio to use. | | right | Ratio | The second ratio to use. | **Returns:** boolean - True if both ratios are equal, otherwise false. ##### op_Inequality(Ratio left, Ratio right) ``` public static boolean op_Inequality(Ratio left, Ratio right) ``` Compares two ratios and returns a boolean indicating if the two do not match. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | Ratio | The first ratio to use. | | right | Ratio | The second ratio to use. | **Returns:** boolean - True if both ratios are not equal, otherwise false. ##### hashCode() ``` public int hashCode() ``` Returns a hashcode for this instance, which cannot be changed during its lifetime **Returns:** int - Signed 4-byte integer, that is immutable for this instance ##### create(int numerator, int denominator) ``` public static Ratio create(int numerator, int denominator) ``` Creates and returns one Ratio instance from specified numerator and denominator **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | int | Numerator for the ratio. Should be a strictly positive integer number. | | denominator | int | Denominator for the ratio. Should be a strictly positive integer number. | **Returns:** Ratio - New Ratio instance ### com.groupdocs.editor.htmlcss.css.properties Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.properties.md #### Classes | Class | Description | | --- | --- | | FontSize | Represents a font size as a special unit or a length value, which specifies the size of the font (historically the width of the capital "M"). | | FontStyle | Defines how the font should be styled with: a normal, italic, or oblique face from its font-family. | | FontWeight | Font-weight property sets the weight (or boldness) of the font. | | TextDecorationLineType | Represents types of the text decoration line: underline (underscore), overline, and line-through (strikethrough) | ### FontSize Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.properties/fontsize.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class FontSize implements ICssProperty ``` Represents a font size as a special unit or a length value, which specifies the size of the font (historically the width of the capital "M"). #### Constructors | Constructor | Description | | --- | --- | | FontSize() | | #### Fields | Field | Description | | --- | --- | | Medium | Medium size. | | XxSmall | The very small absolute-size | | XSmall | The mediocre small absolute-size | | Small | The normally small absolute-size | | Large | The normally large absolute-size | | XLarge | The mediocre large absolute-size | | XxLarge | The very large absolute-size | | Larger | Larger relative-size - font will be larger relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. | | Smaller | Smaller relative-size - font will be smaller relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this font-size has an initial value (Medium) | | getValue() | Returns a value of this font size as a string | | isLengthDefined() | Indicates whether this font-size is defined with a Length value | | getLength() | A length value, if this font-size was defined with it, or throwed exception otherwise | | isAbsoluteSize() | Indicates whether this font-size is defined with an absolute size as a keyword, based on the user's default font size (which is medium) | | isRelativeSize() | Indicates whether this font-size is defined with an relative size as a keyword. | | equals(FontSize other) | Determines whether this font-size instance is equal to specified | | equals(Object obj) | Determines whether this font-size instance is equal to specified uncasted | | hashCode() | Returns a hash-code for this instance | | op_Equality(FontSize first, FontSize second) | Checks whether two "FontSize" values are equal | | op_Inequality(FontSize first, FontSize second) | Checks whether two "FontSize" values are not equal | | fromLength(Length length) | Creates a font-size from specified length | | tryParse(String keyword, FontSize[] result) | Tries to recognize a specified keyword as a proper keyword value of the 'font-size' and return it on success or NULL on failure. | ##### FontSize() ``` public FontSize() ``` ##### Medium ``` public static final FontSize Medium ``` Medium size. Initial value. ##### XxSmall ``` public static final FontSize XxSmall ``` The very small absolute-size ##### XSmall ``` public static final FontSize XSmall ``` The mediocre small absolute-size ##### Small ``` public static final FontSize Small ``` The normally small absolute-size ##### Large ``` public static final FontSize Large ``` The normally large absolute-size ##### XLarge ``` public static final FontSize XLarge ``` The mediocre large absolute-size ##### XxLarge ``` public static final FontSize XxLarge ``` The very large absolute-size ##### Larger ``` public static final FontSize Larger ``` Larger relative-size - font will be larger relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. ##### Smaller ``` public static final FontSize Smaller ``` Smaller relative-size - font will be smaller relative to the parent element's font-size, roughly by the ratio used to separate the absolute-size keywords above. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this font-size has an initial value (Medium) **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of this font size as a string **Returns:** java.lang.String ##### isLengthDefined() ``` public final boolean isLengthDefined() ``` Indicates whether this font-size is defined with a Length value **Returns:** boolean ##### getLength() ``` public final Length getLength() ``` A length value, if this font-size was defined with it, or throwed exception otherwise **Returns:** Length ##### isAbsoluteSize() ``` public final boolean isAbsoluteSize() ``` Indicates whether this font-size is defined with an absolute size as a keyword, based on the user's default font size (which is medium) **Returns:** boolean ##### isRelativeSize() ``` public final boolean isRelativeSize() ``` Indicates whether this font-size is defined with an relative size as a keyword. The font will be larger or smaller relative to the parent element's font size, roughly by the ratio used to separate the absolute-size keywords. **Returns:** boolean ##### equals(FontSize other) ``` public final boolean equals(FontSize other) ``` Determines whether this font-size instance is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontSize | Other font-size instance | **Returns:** boolean - true if are equal, false otherwise ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this font-size instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other uncasted font-size instance, may be null | **Returns:** boolean - true if are equal, false if not equal, null or of other type ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this instance **Returns:** int - Hash-code as an signed integer ##### op_Equality(FontSize first, FontSize second) ``` public static boolean op_Equality(FontSize first, FontSize second) ``` Checks whether two "FontSize" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontSize | First value to check | | second | FontSize | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(FontSize first, FontSize second) ``` public static boolean op_Inequality(FontSize first, FontSize second) ``` Checks whether two "FontSize" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontSize | First value to check | | second | FontSize | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### fromLength(Length length) ``` public static FontSize fromLength(Length length) ``` Creates a font-size from specified length **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | length | Length | A length value, cannot be unitless or negative | **Returns:** FontSize - New FontSize instance ##### tryParse(String keyword, FontSize[] result) ``` public static boolean tryParse(String keyword, FontSize[] result) ``` Tries to recognize a specified keyword as a proper keyword value of the 'font-size' and return it on success or NULL on failure. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | A keyword to parse | | result | FontSize\[\] | Result, of parsing was successful, or \#Medium.Medium otherwise | **Returns:** boolean - true if parsing was successful, false otherwise ### FontStyle Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.properties/fontstyle.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class FontStyle implements ICssProperty ``` Defines how the font should be styled with: a normal, italic, or oblique face from its font-family. #### Constructors | Constructor | Description | | --- | --- | | FontStyle() | | #### Fields | Field | Description | | --- | --- | | Normal | Selects a font that is classified as normal within a font-family. | | Italic | Selects a font that is classified as italic. | | Oblique | Selects a font that is classified as oblique. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this font-style has an initial value (Normal) | | getValue() | Returns a value of this font style as a string | | equals(FontStyle other) | Determines whether this font-style instance is equal to specified | | equals(Object obj) | Determines whether this font-style instance is equal to specified uncasted | | hashCode() | Returns a hash-code for this instance | | op_Equality(FontStyle first, FontStyle second) | Checks whether two "FontStyle" values are equal | | op_Inequality(FontStyle first, FontStyle second) | Checks whether two "FontStyle" values are not equal | | tryParse(String keyword, FontStyle[] result) | Tries to recognize a specified keyword as a proper keyword value of the 'font-style' and return it on success or NULL on failure. | ##### FontStyle() ``` public FontStyle() ``` ##### Normal ``` public static final FontStyle Normal ``` Selects a font that is classified as normal within a font-family. Initial value. ##### Italic ``` public static final FontStyle Italic ``` Selects a font that is classified as italic. If no italic version of the face is available, one classified as oblique is used instead. If neither is available, the style is artificially simulated. ##### Oblique ``` public static final FontStyle Oblique ``` Selects a font that is classified as oblique. If no oblique version of the face is available, one classified as italic is used instead. If neither is available, the style is artificially simulated. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this font-style has an initial value (Normal) **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of this font style as a string **Returns:** java.lang.String ##### equals(FontStyle other) ``` public final boolean equals(FontStyle other) ``` Determines whether this font-style instance is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontStyle | Other font-style instance | **Returns:** boolean - true if are equal, false otherwise ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this font-style instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other uncasted font-style instance, may be null | **Returns:** boolean - true if are equal, false if not equal, null or of other type ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this instance **Returns:** int - Hash-code as an signed integer ##### op_Equality(FontStyle first, FontStyle second) ``` public static boolean op_Equality(FontStyle first, FontStyle second) ``` Checks whether two "FontStyle" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontStyle | First value to check | | second | FontStyle | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(FontStyle first, FontStyle second) ``` public static boolean op_Inequality(FontStyle first, FontStyle second) ``` Checks whether two "FontStyle" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontStyle | First value to check | | second | FontStyle | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### tryParse(String keyword, FontStyle[] result) ``` public static boolean tryParse(String keyword, FontStyle[] result) ``` Tries to recognize a specified keyword as a proper keyword value of the 'font-style' and return it on success or NULL on failure. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | A keyword to parse | | result | FontStyle\[\] | Result, of parsing was successful, or \#Normal.Normal otherwise | **Returns:** boolean - true if parsing was successful, false otherwise ### FontWeight Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.properties/fontweight.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class FontWeight implements ICssProperty ``` Font-weight property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set. #### Constructors | Constructor | Description | | --- | --- | | FontWeight() | | #### Fields | Field | Description | | --- | --- | | Lighter | One relative font weight lighter than the parent element | | Bolder | One relative font weight heavier than the parent element | | Normal | Normal font weight. | | Bold | Bold font weight. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this font-size has an initial value (Medium) | | getNumber() | Returns a number - integer value between 1 and 1000, inclusive, which describes the boldness of the font, or throws an exception, if current boldness is not absolute, but relative | | isAbsolute() | Indicates whether this font-weight instance stores an absolute value of the weight (boldness) of the font, as an integer number | | isRelative() | Indicates whether this font-weight instance stores a relative value of the weight (boldness) of the font - compared to the boldness of the parent element | | getValue() | Returns a value of this font-weight as a string | | equals(FontWeight other) | Determines whether specified FontWeight instances are equal | | equals(Object obj) | Determines whether this FontWeight instance is equal to specified uncasted | | hashCode() | Returns a hash-code for this instance | | op_Equality(FontWeight first, FontWeight second) | Checks whether two "FontWeight" values are equal | | op_Inequality(FontWeight first, FontWeight second) | Checks whether two "FontWeight" values are not equal | | fromNumber(int number) | Creates a font-weight from specified number | | tryParse(String input, FontWeight[] result) | Tries to parse a specified string and return a valid FontWeight instance on success | ##### FontWeight() ``` public FontWeight() ``` ##### Lighter ``` public static final FontWeight Lighter ``` One relative font weight lighter than the parent element ##### Bolder ``` public static final FontWeight Bolder ``` One relative font weight heavier than the parent element ##### Normal ``` public static final FontWeight Normal ``` Normal font weight. Same as 400. ##### Bold ``` public static final FontWeight Bold ``` Bold font weight. Same as 700. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this font-size has an initial value (Medium) **Returns:** boolean ##### getNumber() ``` public final int getNumber() ``` Returns a number - integer value between 1 and 1000, inclusive, which describes the boldness of the font, or throws an exception, if current boldness is not absolute, but relative **Returns:** int ##### isAbsolute() ``` public final boolean isAbsolute() ``` Indicates whether this font-weight instance stores an absolute value of the weight (boldness) of the font, as an integer number **Returns:** boolean ##### isRelative() ``` public final boolean isRelative() ``` Indicates whether this font-weight instance stores a relative value of the weight (boldness) of the font - compared to the boldness of the parent element **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of this font-weight as a string **Returns:** java.lang.String ##### equals(FontWeight other) ``` public final boolean equals(FontWeight other) ``` Determines whether specified FontWeight instances are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontWeight | Other FontWeight instance to check the equality | **Returns:** boolean - true if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this FontWeight instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other uncasted FontWeight instance, may be null | **Returns:** boolean - true if are equal, false if not equal, null or of other type ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this instance **Returns:** int - Hash-code as an signed integer ##### op_Equality(FontWeight first, FontWeight second) ``` public static boolean op_Equality(FontWeight first, FontWeight second) ``` Checks whether two "FontWeight" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontWeight | First value to check | | second | FontWeight | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(FontWeight first, FontWeight second) ``` public static boolean op_Inequality(FontWeight first, FontWeight second) ``` Checks whether two "FontWeight" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontWeight | First value to check | | second | FontWeight | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### fromNumber(int number) ``` public static FontWeight fromNumber(int number) ``` Creates a font-weight from specified number **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | number | int | Unsigned integer, must be within [1..1000] range | **Returns:** FontWeight - New FontWeight instance or exception ##### tryParse(String input, FontWeight[] result) ``` public static boolean tryParse(String input, FontWeight[] result) ``` Tries to parse a specified string and return a valid FontWeight instance on success **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string to parse | | result | FontWeight\[\] | Valid FontWeight value on success or \#Normal.Normal on failure | **Returns:** boolean - Success (true) or failure (false) of the parsing ### TextDecorationLineType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.css.properties/textdecorationlinetype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.css.properties.ICssProperty ``` public class TextDecorationLineType implements ICssProperty ``` Represents types of the text decoration line: underline (underscore), overline, and line-through (strikethrough) Immutable struct. Similar to the https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-line #### Constructors | Constructor | Description | | --- | --- | | TextDecorationLineType() | | | TextDecorationLineType(int value) | | #### Fields | Field | Description | | --- | --- | | None | Produces no text decoration. | | Underline | Each line of text is underlined. | | Overline | Each line of text has a line above it. | | LineThrough | Each line of text has a line through the middle. | #### Methods | Method | Description | | --- | --- | | isInitial() | Indicates whether this instance has an initial value \\u2014 None | | isUnderline() | Indicates whether underline (underscore) is enabled | | isOverline() | Indicates whether overline is enabled | | isLineThrough() | Indicates whether line-through (strikethrough) is enabled | | getValue() | Returns a value of all flags in this instance as text | | toString() | Returns a value of all flags in this instance as text | | equals(TextDecorationLineType other) | Indicates whether this TextDecorationLineType instance is equal to specified | | equals(Object other) | Indicates whether this TextDecorationLineType instance is equal to specified uncasted | | hashCode() | Returns a hash-code of this instance | | op_Equality(TextDecorationLineType first, TextDecorationLineType second) | Checks whether two "TextDecorationLineType" values are equal | | op_Inequality(TextDecorationLineType first, TextDecorationLineType second) | Checks whether two "TextDecorationLineType" values are not equal | | fromFlags(boolean isUnderline, boolean isOverline, boolean isLineThrough) | Creates and returns a TextDecorationLineType instance with flags, defined by the specified parameters | | tryParse(String input, TextDecorationLineType[] output) | Tries to parse a specified string and return a valid TextDecorationLineType instance | | op_Addition(TextDecorationLineType first, TextDecorationLineType second) | Combines (merges) two specified line types and produces new resultant line type, where flags are merged (union) | | op_Subtraction(TextDecorationLineType first, TextDecorationLineType second) | Subtracts second specified line type from the first specified line type and produces new resultant line type, where are present only those flags from the first operand, which are not found in the second operand (difference) | | op_Division(TextDecorationLineType first, TextDecorationLineType second) | Returns an intersection between first and second line types, where only those flags are enabled, which are enabled simultaneously in both operands. | | to_TextDecorationLineType(byte octet) | Casts specific byte (8-bit octet) to the corresponding TextDecorationLineType, throws exception if casting is invalid | ##### TextDecorationLineType() ``` public TextDecorationLineType() ``` ##### TextDecorationLineType(int value) ``` public TextDecorationLineType(int value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### None ``` public static final TextDecorationLineType None ``` Produces no text decoration. Initial value. ##### Underline ``` public static final TextDecorationLineType Underline ``` Each line of text is underlined. ##### Overline ``` public static final TextDecorationLineType Overline ``` Each line of text has a line above it. ##### LineThrough ``` public static final TextDecorationLineType LineThrough ``` Each line of text has a line through the middle. ##### isInitial() ``` public final boolean isInitial() ``` Indicates whether this instance has an initial value \\u2014 None **Returns:** boolean ##### isUnderline() ``` public final boolean isUnderline() ``` Indicates whether underline (underscore) is enabled **Returns:** boolean ##### isOverline() ``` public final boolean isOverline() ``` Indicates whether overline is enabled **Returns:** boolean ##### isLineThrough() ``` public final boolean isLineThrough() ``` Indicates whether line-through (strikethrough) is enabled **Returns:** boolean ##### getValue() ``` public final String getValue() ``` Returns a value of all flags in this instance as text **Returns:** java.lang.String ##### toString() ``` public String toString() ``` Returns a value of all flags in this instance as text **Returns:** java.lang.String ##### equals(TextDecorationLineType other) ``` public final boolean equals(TextDecorationLineType other) ``` Indicates whether this TextDecorationLineType instance is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TextDecorationLineType | Other TextDecorationLineType instance | **Returns:** boolean - true if are equal, false otherwise ##### equals(Object other) ``` public boolean equals(Object other) ``` Indicates whether this TextDecorationLineType instance is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | java.lang.Object | Other TextDecorationLineType instance, casted to object | **Returns:** boolean - true if are equal, false otherwise ##### hashCode() ``` public int hashCode() ``` Returns a hash-code of this instance **Returns:** int - Signed integer hash-code ##### op_Equality(TextDecorationLineType first, TextDecorationLineType second) ``` public static boolean op_Equality(TextDecorationLineType first, TextDecorationLineType second) ``` Checks whether two "TextDecorationLineType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First operand to check | | second | TextDecorationLineType | Second operand to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(TextDecorationLineType first, TextDecorationLineType second) ``` public static boolean op_Inequality(TextDecorationLineType first, TextDecorationLineType second) ``` Checks whether two "TextDecorationLineType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First operand to check | | second | TextDecorationLineType | Second operand to check | **Returns:** boolean - true if are unequal, false otherwise ##### fromFlags(boolean isUnderline, boolean isOverline, boolean isLineThrough) ``` public static TextDecorationLineType fromFlags(boolean isUnderline, boolean isOverline, boolean isLineThrough) ``` Creates and returns a TextDecorationLineType instance with flags, defined by the specified parameters **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isUnderline | boolean | Determines whether an underline flag is enabled or not | | isOverline | boolean | Determines whether an overline flag is enabled or not | | isLineThrough | boolean | Determines whether an line-through flag is enabled or not | **Returns:** TextDecorationLineType - New TextDecorationLineType instance ##### tryParse(String input, TextDecorationLineType[] output) ``` public static boolean tryParse(String input, TextDecorationLineType[] output) ``` Tries to parse a specified string and return a valid TextDecorationLineType instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | input | java.lang.String | Input string | | output | TextDecorationLineType\[\] | Result. If parsing is invalid, it is a \#None.None value | **Returns:** boolean - true if parsing was successful, false on failure ##### op_Addition(TextDecorationLineType first, TextDecorationLineType second) ``` public static TextDecorationLineType op_Addition(TextDecorationLineType first, TextDecorationLineType second) ``` Combines (merges) two specified line types and produces new resultant line type, where flags are merged (union) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | **Returns:** TextDecorationLineType - Result of the union between specified operands ##### op_Subtraction(TextDecorationLineType first, TextDecorationLineType second) ``` public static TextDecorationLineType op_Subtraction(TextDecorationLineType first, TextDecorationLineType second) ``` Subtracts second specified line type from the first specified line type and produces new resultant line type, where are present only those flags from the first operand, which are not found in the second operand (difference) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | **Returns:** TextDecorationLineType - Result of the difference between the first (minuend) and second (subtrahend) operands ##### op_Division(TextDecorationLineType first, TextDecorationLineType second) ``` public static TextDecorationLineType op_Division(TextDecorationLineType first, TextDecorationLineType second) ``` Returns an intersection between first and second line types, where only those flags are enabled, which are enabled simultaneously in both operands. Has the highest priority between all operators (higher than union and difference) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextDecorationLineType | First line type operand | | second | TextDecorationLineType | Second line type operand | **Returns:** TextDecorationLineType - Result of the intersection between specified operands ##### to_TextDecorationLineType(byte octet) ``` public static TextDecorationLineType to_TextDecorationLineType(byte octet) ``` Casts specific byte (8-bit octet) to the corresponding TextDecorationLineType, throws exception if casting is invalid **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | octet | byte | A 8-bit octet (bitfield), where 5 leading bits are zeros, while last 3 indicate flags | **Returns:** TextDecorationLineType ### com.groupdocs.editor.htmlcss.exceptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.exceptions.md The **com.groupdocs.editor.htmlcss.exceptions** namespace provides exceptions that is thrown when trying to open, load, save or process somehow else some content. #### Classes | Class | Description | | --- | --- | | InvalidFontFormatException | The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is a font of supported (known) format, but actually is a font of unsupported or unexpected format or not a font at all. | | InvalidImageFormatException | The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected type or not an image at all. | ### InvalidFontFormatException Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.exceptions/invalidfontformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public class InvalidFontFormatException extends RuntimeException ``` The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is a font of supported (known) format, but actually is a font of unsupported or unexpected format or not a font at all. #### Constructors | Constructor | Description | | --- | --- | | InvalidFontFormatException(String message) | Creates new instance of with specified error message | | InvalidFontFormatException(String message, RuntimeException innerException) | Creates new instance of @see "InvalidFontFormatException" with specified error message and a reference to the inner exception that is the cause of this exception | ##### InvalidFontFormatException(String message) ``` public InvalidFontFormatException(String message) ``` Creates new instance of with specified error message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | ##### InvalidFontFormatException(String message, RuntimeException innerException) ``` public InvalidFontFormatException(String message, RuntimeException innerException) ``` Creates new instance of @see "InvalidFontFormatException" with specified error message and a reference to the inner exception that is the cause of this exception **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. | ### InvalidImageFormatException Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.exceptions/invalidimageformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public class InvalidImageFormatException extends RuntimeException ``` The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected type or not an image at all. #### Constructors | Constructor | Description | | --- | --- | | InvalidImageFormatException(String message) | Creates new instance of InvalidImageFormatException with specified error message | | InvalidImageFormatException(String message, RuntimeException innerException) | Creates new instance of InvalidImageFormatException with specified error message and a reference to the inner exception that is the cause of this exception | ##### InvalidImageFormatException(String message) ``` public InvalidImageFormatException(String message) ``` Creates new instance of InvalidImageFormatException with specified error message **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | ##### InvalidImageFormatException(String message, RuntimeException innerException) ``` public InvalidImageFormatException(String message, RuntimeException innerException) ``` Creates new instance of InvalidImageFormatException with specified error message and a reference to the inner exception that is the cause of this exception **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Textual message, that describes the error, can be null or empty | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. | ### com.groupdocs.editor.htmlcss.resources.audio Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.audio.md The **com.groupdocs.editor.htmlcss.resources.audio** namespace provides classes that represent audio resources. #### Classes | Class | Description | | --- | --- | | AudioType | Represents one supportable audio type (format) | | Mp3Audio | Represents one audio resource of arbitrary format | ### AudioType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.audio/audiotype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class AudioType implements IResourceType ``` Represents one supportable audio type (format) #### Constructors | Constructor | Description | | --- | --- | | AudioType() | | #### Methods | Method | Description | | --- | --- | | getFormalName() | Formal name of this audio format | | getFileExtension() | Filename extension (without dot character) for this audio format | | getMimeCode() | MIME code for this audio format | | equals(AudioType other) | Determines whether this instance is equal with specified "AudioType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "AudioType" instance | | op_Equality(AudioType first, AudioType second) | Checks whether two "AudioType" values are equal | | op_Inequality(AudioType first, AudioType second) | Checks whether two "AudioType" values are not equal | | hashCode() | Returns a hash-code, which is a constant number for this specific value type | | getUndefined() | Special value, which marks undefined, unknown or unsupported audio format | | getMp3() | Represents a MPEG-1 Audio Layer III audio format | | parseFromFilenameWithExtension(String filename) | Returns AudioType value, which is equivalent of filename extension, which is extracted from specified filename | ##### AudioType() ``` public AudioType() ``` ##### getFormalName() ``` public final String getFormalName() ``` Formal name of this audio format **Returns:** java.lang.String ##### getFileExtension() ``` public final String getFileExtension() ``` Filename extension (without dot character) for this audio format **Returns:** java.lang.String ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code for this audio format **Returns:** java.lang.String ##### equals(AudioType other) ``` public final boolean equals(AudioType other) ``` Determines whether this instance is equal with specified "AudioType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | AudioType | Other AudioType instance to check with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "AudioType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other instance presumably of AudioType struct, that was boxed to System.Object | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(AudioType first, AudioType second) ``` public static boolean op_Equality(AudioType first, AudioType second) ``` Checks whether two "AudioType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | AudioType | First AudioType to check | | second | AudioType | Second AudioType to check | **Returns:** boolean - True if are equal, false if are unequal ##### op_Inequality(AudioType first, AudioType second) ``` public static boolean op_Inequality(AudioType first, AudioType second) ``` Checks whether two "AudioType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | AudioType | First AudioType to check | | second | AudioType | Second AudioType to check | **Returns:** boolean - True if are equal, false if are unequal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is a constant number for this specific value type **Returns:** int - 4-byte signed integer, 0 for Undefined value ##### getUndefined() ``` public static AudioType getUndefined() ``` Special value, which marks undefined, unknown or unsupported audio format **Returns:** AudioType ##### getMp3() ``` public static AudioType getMp3() ``` Represents a MPEG-1 Audio Layer III audio format **Returns:** AudioType ##### parseFromFilenameWithExtension(String filename) ``` public static AudioType parseFromFilenameWithExtension(String filename) ``` Returns AudioType value, which is equivalent of filename extension, which is extracted from specified filename **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Arbitrary filename, can be a relative or full path | **Returns:** AudioType - AudioType value. Returns AudioType.Undefined, if extension cannot be recognized. ### Mp3Audio Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.audio/mp3audio.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource ``` public final class Mp3Audio implements IHtmlResource ``` Represents one audio resource of arbitrary format #### Constructors | Constructor | Description | | --- | --- | | Mp3Audio(String name, InputStream binaryContent) | Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid MP3 content | | getName() | Returns name of this MP3 content. | | getFilenameWithExtension() | Returns correct filename of this MP3 content, which consists of name and extension. | | getType() | Returns a AudioType.Mp3 | | getByteContent() | Returns content of this font as byte stream | | getTextContent() | Returns content of this MP3 resource as base64-encoded string. | | save(String fullPathToFile) | Saves this MP3 resource to the specified file | | equals(IHtmlResource other) | Checks this instance with specified HTML resource on reference equality | | equals(Mp3Audio other) | Checks this instance with specified font resource on reference equality | | dispose() | Disposes this MP3 resource, disposing its content and making most methods and properties non-working | | isDisposed() | Determines whether this MP3 content is disposed or not | ##### Mp3Audio(String name, InputStream binaryContent) ``` public Mp3Audio(String name, InputStream binaryContent) ``` Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the MP3 content. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### Disposed ``` public final Event Disposed ``` ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid MP3 content **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a MP3 content | **Returns:** boolean - True if specified stream contains valid MP3 content, false otherwise ##### getName() ``` public final String getName() ``` Returns name of this MP3 content. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this MP3 content, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getType() ``` public final AudioType getType() ``` Returns a AudioType.Mp3 **Returns:** AudioType ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this font as byte stream **Returns:** java.io.InputStream ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this MP3 resource as base64-encoded string. This value is cached after first invoke. **Returns:** java.lang.String ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this MP3 resource to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified HTML resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other inheritor of IHtmlResource interface | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Mp3Audio other) ``` public final boolean equals(Mp3Audio other) ``` Checks this instance with specified font resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Mp3Audio | Other instance of Mp3Audio class | **Returns:** boolean - True if are equal, false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this MP3 resource, disposing its content and making most methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this MP3 content is disposed or not **Returns:** boolean ### com.groupdocs.editor.htmlcss.resources.fonts Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts.md The **com.groupdocs.editor.htmlcss.resources.fonts** namespace provides classes that represent font resources. #### Classes | Class | Description | | --- | --- | | EotFont | Represents one font in the EOT (Embedded OpenType) format | | FontResourceBase | Base class for any supported font type as a resource for the HTML document with all its properties | | FontType | Represents one supportable font type | | OtfFont | Represents one font in the OTF (Open Type Format) format | | TtfFont | Represents one font in the TTF (TrueType Font) format | | Woff2Font | Represents one font in the WOFF2 (Web Open Font Format) format | | WoffFont | Represents one font in the WOFF (Web Open Font Format) format | ### EotFont Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts/eotfont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class EotFont extends FontResourceBase ``` Represents one font in the EOT (Embedded OpenType) format #### Constructors | Constructor | Description | | --- | --- | | EotFont(String name, String contentInBase64) | Creates new EotFont class from content, represented as base64-encoded string, and with specified name | | EotFont(String name, InputStream binaryContent) | Creates new EotFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | EOT header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid EOT font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid EOT font | | getType() | Returns FontType.Eot | ##### EotFont(String name, String contentInBase64) ``` public EotFont(String name, String contentInBase64) ``` Creates new EotFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EOT font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a EOT content, exception will be thrown. | ##### EotFont(String name, InputStream binaryContent) ``` public EotFont(String name, InputStream binaryContent) ``` Creates new EotFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EOT font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` EOT header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid EOT font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a EOT resource | **Returns:** boolean - True if specified stream contains valid EOT font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid EOT font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably EOT font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid EOT font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Eot **Returns:** FontType ### FontResourceBase Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts/fontresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource ``` public abstract class FontResourceBase implements IHtmlResource ``` Base class for any supported font type as a resource for the HTML document with all its properties #### Constructors | Constructor | Description | | --- | --- | | FontResourceBase() | | #### Fields | Field | Description | | --- | --- | | Disposed | Event, which occurs when this font is disposed | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this font resource. | | getFilenameWithExtension() | Returns correct filename of this font resource, which consists of name and extension. | | getByteContent() | Returns content of this font as byte stream | | getTextContent() | Returns content of this font as base64-encoded string. | | save(String fullPathToFile) | Saves this font to the specified file | | equals(IHtmlResource other) | Checks this instance with specified HTML resource on reference equality | | equals(FontResourceBase other) | Checks this instance with specified font resource on reference equality | | dispose() | Disposes this font resource, disposing its content and making most methods and properties non-working | | isDisposed() | Determines whether this font is disposed or not | | getType() | In implementing type should return information about type of specific font resource as an instance of specific FontType type, which encapsulates all type-specific info | ##### FontResourceBase() ``` public FontResourceBase() ``` ##### Disposed ``` public final Event Disposed ``` Event, which occurs when this font is disposed ##### getName() ``` public final String getName() ``` Returns name of this font resource. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this font resource, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this font as byte stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this font as base64-encoded string. This value is cached after first invoke. **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this font to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified HTML resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other inheritor of IHtmlResource interface | **Returns:** boolean - True if are equal, false if are unequal ##### equals(FontResourceBase other) ``` public final boolean equals(FontResourceBase other) ``` Checks this instance with specified font resource on reference equality **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontResourceBase | Other inheritor of FontResourceBase abstract class | **Returns:** boolean - True if are equal, false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this font resource, disposing its content and making most methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this font is disposed or not **Returns:** boolean - ##### getType() ``` public abstract FontType getType() ``` In implementing type should return information about type of specific font resource as an instance of specific FontType type, which encapsulates all type-specific info **Returns:** FontType ### FontType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts/fonttype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class FontType implements IResourceType ``` Represents one supportable font type #### Constructors | Constructor | Description | | --- | --- | | FontType() | | #### Methods | Method | Description | | --- | --- | | getUndefined() | Special value, which marks undefined, unknown or unsupported font resource | | getWoff() | Represents a WOFF (Web Open Font Format) font type | | getWoff2() | Represents a WOFF2 (Web Open Font Format version 2) font type | | getTtf() | Represents a TTF (TrueType Font) font type | | getEot() | Represents a EOT (Embedded OpenType) font type | | getOtf() | Represents a OTF (OpenType Font) font type | | getCssName() | Returns CSS-compatible name of this font type, which is used in the | | getFormalName() | Returns a formal name of this font type | | getFileExtension() | Filename extension (without dot character) for this font type | | getFontFormat() | Font format for @font-face format | | getMimeCode() | MIME code of a particular font type | | parseFromCssName(String name) | Returns FontType value, which is equivalent of specified CSS-compatible name of the font type | | parseFromFilenameWithExtension(String filename) | Returns FontType value, which is equivalent of filename extension, which is extracted from specified filename | | parseFromMime(String mimeCode) | Returns FontType value, which is equivalent of specified MIME-code | | getFirstDefined(FontType[] fonts) | Returns a first font type from specified set, which is not an "Undefined" value, or "Undefined" font type otherwise (when all items are "Undefined") | | equals(FontType other) | Determines whether this instance is equal with specified "FontType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "FontType" instance | | op_Equality(FontType first, FontType second) | Checks whether two "FontType" values are equal | | op_Inequality(FontType first, FontType second) | Checks whether two "FontType" values are not equal | | hashCode() | Returns a hash-code, which is a constant number for this specific value type | ##### FontType() ``` public FontType() ``` ##### getUndefined() ``` public static FontType getUndefined() ``` Special value, which marks undefined, unknown or unsupported font resource **Returns:** FontType - ##### getWoff() ``` public static FontType getWoff() ``` Represents a WOFF (Web Open Font Format) font type **Returns:** FontType - ##### getWoff2() ``` public static FontType getWoff2() ``` Represents a WOFF2 (Web Open Font Format version 2) font type **Returns:** FontType - ##### getTtf() ``` public static FontType getTtf() ``` Represents a TTF (TrueType Font) font type **Returns:** FontType - ##### getEot() ``` public static FontType getEot() ``` Represents a EOT (Embedded OpenType) font type **Returns:** FontType - ##### getOtf() ``` public static FontType getOtf() ``` Represents a OTF (OpenType Font) font type **Returns:** FontType - ##### getCssName() ``` public final String getCssName() ``` Returns CSS-compatible name of this font type, which is used in the **Returns:** java.lang.String - ##### getFormalName() ``` public final String getFormalName() ``` Returns a formal name of this font type **Returns:** java.lang.String - ##### getFileExtension() ``` public final String getFileExtension() ``` Filename extension (without dot character) for this font type **Returns:** java.lang.String - ##### getFontFormat() ``` public final String getFontFormat() ``` Font format for @font-face format **Returns:** java.lang.String - ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code of a particular font type **Returns:** java.lang.String - ##### parseFromCssName(String name) ``` public static FontType parseFromCssName(String name) ``` Returns FontType value, which is equivalent of specified CSS-compatible name of the font type **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | CSS-compatible name of the font type | **Returns:** FontType - Valid FontType value on success or FontType.Undefined on failure ##### parseFromFilenameWithExtension(String filename) ``` public static FontType parseFromFilenameWithExtension(String filename) ``` Returns FontType value, which is equivalent of filename extension, which is extracted from specified filename **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Filename with extension, may be a full name | **Returns:** FontType - Valid FontType value on success or FontType.Undefined on failure ##### parseFromMime(String mimeCode) ``` public static FontType parseFromMime(String mimeCode) ``` Returns FontType value, which is equivalent of specified MIME-code **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mimeCode | java.lang.String | MIME-code | **Returns:** FontType - Valid FontType value on success or FontType.Undefined on failure ##### getFirstDefined(FontType[] fonts) ``` public static FontType getFirstDefined(FontType[] fonts) ``` Returns a first font type from specified set, which is not an "Undefined" value, or "Undefined" font type otherwise (when all items are "Undefined") **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fonts | FontType\[\] | One or more FontType values, NULL or empty collection is not allowed | **Returns:** FontType - First FontType value from specified collection, that is not Undefined, or Undefined, if all items are Undefined ##### equals(FontType other) ``` public final boolean equals(FontType other) ``` Determines whether this instance is equal with specified "FontType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FontType | Other FontType instance to check with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "FontType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other instance presumably of FontType struct, that was boxed to System.Object | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(FontType first, FontType second) ``` public static boolean op_Equality(FontType first, FontType second) ``` Checks whether two "FontType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontType | First FontType to check | | second | FontType | Second FontType to check | **Returns:** boolean - True if are equal, false if are unequal ##### op_Inequality(FontType first, FontType second) ``` public static boolean op_Inequality(FontType first, FontType second) ``` Checks whether two "FontType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | FontType | First FontType to check | | second | FontType | Second FontType to check | **Returns:** boolean - True if are equal, false if are unequal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is a constant number for this specific value type **Returns:** int - 4-byte signed integer, 0 for Undefined value ### OtfFont Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts/otffont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class OtfFont extends FontResourceBase ``` Represents one font in the OTF (Open Type Format) format #### Constructors | Constructor | Description | | --- | --- | | OtfFont(String name, String contentInBase64) | Creates new OtfFont class from content, represented as base64-encoded string, and with specified name | | OtfFont(String name, InputStream binaryContent) | Creates new OtfFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | OTF header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid OTF font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid OTF font | | getType() | Returns FontType.Otf (FontType.getOtf) | ##### OtfFont(String name, String contentInBase64) ``` public OtfFont(String name, String contentInBase64) ``` Creates new OtfFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the OTF font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a OTF content, exception will be thrown. | ##### OtfFont(String name, InputStream binaryContent) ``` public OtfFont(String name, InputStream binaryContent) ``` Creates new OtfFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the OTF font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` OTF header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid OTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a OTF resource | **Returns:** boolean - True if specified stream contains valid OTF font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid OTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably OTF font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid OTF font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Otf (FontType.getOtf) **Returns:** FontType - ### TtfFont Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts/ttffont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class TtfFont extends FontResourceBase ``` Represents one font in the TTF (TrueType Font) format #### Constructors | Constructor | Description | | --- | --- | | TtfFont(String name, String contentInBase64) | Creates new TtfFont class from content, represented as base64-encoded string, and with specified name | | TtfFont(String name, InputStream binaryContent) | Creates new TtfFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | TTF header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid TTF font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid TTF font | | getType() | Returns FontType.Ttf | ##### TtfFont(String name, String contentInBase64) ``` public TtfFont(String name, String contentInBase64) ``` Creates new TtfFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the TTF font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a TTF content, exception will be thrown. | ##### TtfFont(String name, InputStream binaryContent) ``` public TtfFont(String name, InputStream binaryContent) ``` Creates new TtfFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the TTF font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` TTF header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid TTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a TTF resource | **Returns:** boolean - True if specified stream contains valid TTF font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid TTF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably TTF font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid TTF font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Ttf **Returns:** FontType ### Woff2Font Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts/woff2font.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class Woff2Font extends FontResourceBase ``` Represents one font in the WOFF2 (Web Open Font Format) format #### Constructors | Constructor | Description | | --- | --- | | Woff2Font(String name, String contentInBase64) | Creates new Woff2Font class from content, represented as base64-encoded string, and with specified name | | Woff2Font(String name, InputStream binaryContent) | Creates new Woff2Font class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | WOFF2 header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid WOFF2 font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid WOFF2 font | | getType() | Returns FontType.Woff2 | ##### Woff2Font(String name, String contentInBase64) ``` public Woff2Font(String name, String contentInBase64) ``` Creates new Woff2Font class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF2 font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WOFF2 content, exception will be thrown. | ##### Woff2Font(String name, InputStream binaryContent) ``` public Woff2Font(String name, InputStream binaryContent) ``` Creates new Woff2Font class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF2 font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seakable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` WOFF2 header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid WOFF2 font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a WOFF2 resource | **Returns:** boolean - True if specified stream contains valid WOFF2 font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid WOFF2 font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably WOFF2 font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid WOFF2 font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Woff2 **Returns:** FontType ### WoffFont Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.fonts/wofffont.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.fonts.FontResourceBase ``` public final class WoffFont extends FontResourceBase ``` Represents one font in the WOFF (Web Open Font Format) format #### Constructors | Constructor | Description | | --- | --- | | WoffFont(String name, String contentInBase64) | Creates new WoffFont class from content, represented as base64-encoded string, and with specified name | | WoffFont(String name, InputStream binaryContent) | Creates new WoffFont class from content, represented as byte stream, and with specified name | #### Fields | Field | Description | | --- | --- | | RequiredHeaderSize | WOFF header size (in bytes), which is required for its validation | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid WOFF font | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid WOFF font | | getType() | Returns FontType.Woff | ##### WoffFont(String name, String contentInBase64) ``` public WoffFont(String name, String contentInBase64) ``` Creates new WoffFont class from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF font. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WOFF content, exception will be thrown. | ##### WoffFont(String name, InputStream binaryContent) ``` public WoffFont(String name, InputStream binaryContent) ``` Creates new WoffFont class from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WOFF font. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seakable. If this instance will be disposed, this stream will be disposed too. | ##### RequiredHeaderSize ``` public static final int RequiredHeaderSize ``` WOFF header size (in bytes), which is required for its validation ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid WOFF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a WOFF resource | **Returns:** boolean - True if specified stream contains valid WOFF font, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid WOFF font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably WOFF font in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid WOFF font, false otherwise ##### getType() ``` public FontType getType() ``` Returns FontType.Woff **Returns:** FontType ### com.groupdocs.editor.htmlcss.resources.images.raster Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster.md The **com.groupdocs.editor.htmlcss.resources.images.raster** namespace provides classes that represent only raster image resources. #### Classes | Class | Description | | --- | --- | | BmpImage | Represents one image in BMP (BitMap Picture) format with its metadata and additional methods | | GifImage | Represents one image in GIF (Graphics Interchange Format) format with its metadata and additional methods | | IconImage | Represents one image in ICON format with its metadata and additional methods | | JpegImage | Represents one image in JPEG (Joint Photographic Experts Group) format with its metadata and additional methods | | PngImage | Represents one image in PNG (Portable Network Graphics) format with its metadata and additional methods | | RasterImageResourceBase | Base class for any supported raster image with fixed name, dimensions, aspect ratio, type, size, and content. | | TiffImage | Represents one image in TIFF (Tagged Image File Format) format with its metadata and additional methods | ### BmpImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster/bmpimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class BmpImage extends RasterImageResourceBase ``` Represents one image in BMP (BitMap Picture) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | BmpImage(String name, String contentInBase64) | Creates new BmpImage instance from content, represented as base64-encoded string, and with specified name | | BmpImage(String name, InputStream binaryContent) | Creates new BmpImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid BMP image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid BMP image | | getType() | Returns ImageType.Bmp | ##### BmpImage(String name, String contentInBase64) ``` public BmpImage(String name, String contentInBase64) ``` Creates new BmpImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the BMP image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a BMP content, exception will be thrown. | ##### BmpImage(String name, InputStream binaryContent) ``` public BmpImage(String name, InputStream binaryContent) ``` Creates new BmpImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the BMP image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid BMP image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a BMP image | **Returns:** boolean - True if specified stream contains valid BMP image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid BMP image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably BMP image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid BMP image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Bmp **Returns:** ImageType ### GifImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster/gifimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class GifImage extends RasterImageResourceBase ``` Represents one image in GIF (Graphics Interchange Format) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | GifImage(String name, String contentInBase64) | Creates new GifImage instance from content, represented as base64-encoded string, and with specified name | | GifImage(String name, InputStream binaryContent) | Creates new GifImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid GIF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid GIF image | | getType() | Returns ImageType.Gif | | getVersion() | Returns internal version of this GIF image (version is extracted from header) | ##### GifImage(String name, String contentInBase64) ``` public GifImage(String name, String contentInBase64) ``` Creates new GifImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the GIF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a GIF content, exception will be thrown. | ##### GifImage(String name, InputStream binaryContent) ``` public GifImage(String name, InputStream binaryContent) ``` Creates new GifImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the GIF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid GIF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a GIF image | **Returns:** boolean - True if specified stream contains valid GIF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid GIF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably GIF image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid GIF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Gif **Returns:** ImageType ##### getVersion() ``` public final String getVersion() ``` Returns internal version of this GIF image (version is extracted from header) **Returns:** java.lang.String ### IconImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster/iconimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class IconImage extends RasterImageResourceBase ``` Represents one image in ICON format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | IconImage(String name, String contentInBase64) | Creates new IconImage instance from content, represented as base64-encoded string, and with specified name | | IconImage(String name, InputStream binaryContent) | Creates new IconImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid ICON image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid ICON image | | getType() | Returns ImageType.Icon | | getNumberOfImages() | Returns number of images, which are present in this ICON file | ##### IconImage(String name, String contentInBase64) ``` public IconImage(String name, String contentInBase64) ``` Creates new IconImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the ICON image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a ICON content, exception will be thrown. | ##### IconImage(String name, InputStream binaryContent) ``` public IconImage(String name, InputStream binaryContent) ``` Creates new IconImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the ICON image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid ICON image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a ICON image | **Returns:** boolean - True if specified stream contains valid ICON image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid ICON image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably ICON image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid ICON image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Icon **Returns:** ImageType ##### getNumberOfImages() ``` public final int getNumberOfImages() ``` Returns number of images, which are present in this ICON file **Returns:** int ### JpegImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster/jpegimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class JpegImage extends RasterImageResourceBase ``` Represents one image in JPEG (Joint Photographic Experts Group) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | JpegImage(String name, String contentInBase64) | Creates new JpegImage instance from content, represented as base64-encoded string, and with specified name | | JpegImage(String name, InputStream binaryContent) | Creates new JpegImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid JPEG image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid JPEG image | | getType() | Returns ImageType.Jpeg | ##### JpegImage(String name, String contentInBase64) ``` public JpegImage(String name, String contentInBase64) ``` Creates new JpegImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the JPEG image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a JPEG content, exception will be thrown. | ##### JpegImage(String name, InputStream binaryContent) ``` public JpegImage(String name, InputStream binaryContent) ``` Creates new JpegImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the JPEG image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid JPEG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a JPEG image | **Returns:** boolean - True if specified stream contains valid JPEG image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid JPEG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably JPEG image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid JPEG image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Jpeg **Returns:** ImageType - ### PngImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster/pngimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class PngImage extends RasterImageResourceBase ``` Represents one image in PNG (Portable Network Graphics) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | PngImage(String name, String contentInBase64) | Creates new PngImage instance from content, represented as base64-encoded string, and with specified name | | PngImage(String name, InputStream binaryContent) | Creates new PngImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid PNG image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid PNG image | | getType() | Returns ImageType.Png | ##### PngImage(String name, String contentInBase64) ``` public PngImage(String name, String contentInBase64) ``` Creates new PngImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the PNG image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a PNG content, exception will be thrown. | ##### PngImage(String name, InputStream binaryContent) ``` public PngImage(String name, InputStream binaryContent) ``` Creates new PngImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the PNG image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a PNG image | **Returns:** boolean - True if specified stream contains valid PNG image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably PNG image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid PNG image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Png **Returns:** ImageType - ### RasterImageResourceBase Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster/rasterimageresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.images.IImageResource ``` public abstract class RasterImageResourceBase implements IImageResource ``` Base class for any supported raster image with fixed name, dimensions, aspect ratio, type, size, and content. #### Constructors | Constructor | Description | | --- | --- | | RasterImageResourceBase() | | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this raster image. | | getFilenameWithExtension() | Returns correct filename of this raster image, which consists of name and extension. | | getLinearDimensions() | Returns linear dimensions of this raster image (width and height) | | getAspectRatio() | Returns an aspect ratio of this image as the width-to-height relation | | getLength() | Returns the length of this raster image file in bytes | | getByteContent() | Returns content of this raster image as byte stream | | getTextContent() | Returns content of this raster image as base64-encoded string | | save(String fullPathToFile) | Saves this raster image to the specified file | | equals(IHtmlResource other) | Checks this instance with specified on reference equality. | | dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | | isDisposed() | Determines whether this raster image is disposed or not | | getType() | In implementing type should return information about type of the raster image | ##### RasterImageResourceBase() ``` public RasterImageResourceBase() ``` ##### Disposed ``` public final Event Disposed ``` ##### getName() ``` public final String getName() ``` Returns name of this raster image. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this raster image, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getLinearDimensions() ``` public final Dimensions getLinearDimensions() ``` Returns linear dimensions of this raster image (width and height) **Returns:** Dimensions ##### getAspectRatio() ``` public final Ratio getAspectRatio() ``` Returns an aspect ratio of this image as the width-to-height relation **Returns:** Ratio ##### getLength() ``` public final int getLength() ``` Returns the length of this raster image file in bytes **Returns:** int - ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this raster image as byte stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this raster image as base64-encoded string **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this raster image to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified on reference equality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other IHtmlResource inheritor | **Returns:** boolean - True if are equal, false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this raster image, disposing its content and making most methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this raster image is disposed or not **Returns:** boolean - ##### getType() ``` public abstract ImageType getType() ``` In implementing type should return information about type of the raster image **Returns:** ImageType - ### TiffImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.raster/tiffimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.raster.RasterImageResourceBase ``` public final class TiffImage extends RasterImageResourceBase ``` Represents one image in TIFF (Tagged Image File Format) format with its metadata and additional methods See https://en.wikipedia.org/wiki/TIFF for details. In very rare cases TIFF is present inside WordProcessing documents. #### Constructors | Constructor | Description | | --- | --- | | TiffImage(String name, String contentInBase64) | Creates new TiffImage instance from content, represented as base64-encoded string, and with specified name | | TiffImage(String name, InputStream binaryContent) | Creates new GifImage instance from content, represented as byte stream, and with specified name | | TiffImage(String name, System.IO.Stream binaryContent) | | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid TIFF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid TIFF image | | getType() | Returns ImageType.Tiff | | getFramesCount() | Returns a number of frames (images) inside this TIFF image. | ##### TiffImage(String name, String contentInBase64) ``` public TiffImage(String name, String contentInBase64) ``` Creates new TiffImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the TIFF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a TIFF content, exception will be thrown. | ##### TiffImage(String name, InputStream binaryContent) ``` public TiffImage(String name, InputStream binaryContent) ``` Creates new GifImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the GIF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### TiffImage(String name, System.IO.Stream binaryContent) ``` public TiffImage(String name, System.IO.Stream binaryContent) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | | binaryContent | com.aspose.ms.System.IO.Stream | | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid TIFF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Byte stream, that presumably contains a TIFF image | **Returns:** boolean - True if specified stream contains valid TIFF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid TIFF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Content of the presumably TIFF image in a form of base64-encoded string | **Returns:** boolean - True if specified string contains valid TIFF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Tiff **Returns:** ImageType - ##### getFramesCount() ``` public final int getFramesCount() ``` Returns a number of frames (images) inside this TIFF image. Cannot be lesser then 1. **Returns:** int - ### com.groupdocs.editor.htmlcss.resources.images.vector Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.vector.md The **com.groupdocs.editor.htmlcss.resources.images.vector** namespace provides classes that represent only vector image resources. #### Classes | Class | Description | | --- | --- | | EmfImage | Represents one vector image in Enhanced metafile format (EMF) format with its metadata and additional methods | | MetaImageBase | Base abstract class for WMF and EMF image formats | | SvgImage | Represents one vector image in SVG (Scalable Vector Graphics) format with its metadata and additional methods | | VectorImageResourceBase | Base class for any supported vector image | | WmfImage | Represents one vector image in WMF (Windows MetaFile) format with its metadata and additional methods | ### EmfImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.vector/emfimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase, com.groupdocs.editor.htmlcss.resources.images.vector.MetaImageBase ``` public final class EmfImage extends MetaImageBase ``` Represents one vector image in Enhanced metafile format (EMF) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | EmfImage(String name, String contentInBase64) | Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name | | EmfImage(String name, InputStream binaryContent) | Creates new EmfImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid EMF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid EMF image | | getType() | Returns ImageType.Emf | | getByteContent() | Returns a content of this EMF image as a binary stream | | getTextContent() | Returns a content of this EMF image as a plain text | | save(String fullPathToFile) | Saves this EMF image to the file | | saveToPng(OutputStream outputPngContent) | Saves this vector EMF image into raster PNG image | | saveToSvg(OutputStream outputSvgContent) | Saves this vector EMF image into vector SVG image | | dispose() | Disposes this EMF image by disposing its content and making most its methods and properties non-working | ##### EmfImage(String name, String contentInBase64) ``` public EmfImage(String name, String contentInBase64) ``` Creates new EmfImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EMF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a EMF content, exception will be thrown. | ##### EmfImage(String name, InputStream binaryContent) ``` public EmfImage(String name, InputStream binaryContent) ``` Creates new EmfImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the EMF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid EMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Cannot be NULL, should support reading and seeking. | **Returns:** boolean - True if specified stream holds a valid EMF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid EMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Input string, where content of EMF image is stored in base64 encoding. Cannot be NULL or empty. | **Returns:** boolean - True if specified string holds a valid EMF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Emf **Returns:** ImageType ##### getByteContent() ``` public InputStream getByteContent() ``` Returns a content of this EMF image as a binary stream **Returns:** java.io.InputStream ##### getTextContent() ``` public String getTextContent() ``` Returns a content of this EMF image as a plain text **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public void save(String fullPathToFile) ``` Saves this EMF image to the file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this EMF image | ##### saveToPng(OutputStream outputPngContent) ``` public void saveToPng(OutputStream outputPngContent) ``` Saves this vector EMF image into raster PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ##### saveToSvg(OutputStream outputSvgContent) ``` public void saveToSvg(OutputStream outputSvgContent) ``` Saves this vector EMF image into vector SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | java.io.OutputStream | Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable. | ##### dispose() ``` public void dispose() ``` Disposes this EMF image by disposing its content and making most its methods and properties non-working ### MetaImageBase Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.vector/metaimagebase.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase ``` public abstract class MetaImageBase extends VectorImageResourceBase ``` Base abstract class for WMF and EMF image formats #### Constructors | Constructor | Description | | --- | --- | | MetaImageBase(String name, String contentInBase64, boolean isWmf) | Common constructor, which prepares a creating a WMF or EMF instance from base64-encoded string | | MetaImageBase(String name, InputStream binaryContent, boolean isWmf) | Common constructor, which prepares a creating a WMF or EMF instance from byte stream | #### Methods | Method | Description | | --- | --- | | isValidWmf(InputStream binaryContent) | Determines whether specified byte stream contains a valid WMF image | | isValidWmf(String contentInBase64) | Determines whether specified string contains a valid WMF image, which is encoded with base64 | | isValidEmf(InputStream binaryContent) | Determines whether specified byte stream contains a valid EMF image | | isValidEmf(String contentInBase64) | Determines whether specified string contains a valid EMF image, which is encoded with base64 | | saveToSvg(OutputStream outputSvgContent) | In implementing type should save a current vector meta-image to the vector SVG format into specified byte stream | ##### MetaImageBase(String name, String contentInBase64, boolean isWmf) ``` public MetaImageBase(String name, String contentInBase64, boolean isWmf) ``` Common constructor, which prepares a creating a WMF or EMF instance from base64-encoded string **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name | | contentInBase64 | java.lang.String | Content as base64 string. Should be not NULL or empty. | | isWmf | boolean | true for WMF, false for EMF | ##### MetaImageBase(String name, InputStream binaryContent, boolean isWmf) ``` public MetaImageBase(String name, InputStream binaryContent, boolean isWmf) ``` Common constructor, which prepares a creating a WMF or EMF instance from byte stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name | | binaryContent | java.io.InputStream | Content as byte stream. Should be valid. | | isWmf | boolean | true for WMF, false for EMF | ##### isValidWmf(InputStream binaryContent) ``` public static boolean isValidWmf(InputStream binaryContent) ``` Determines whether specified byte stream contains a valid WMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Should be valid. | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### isValidWmf(String contentInBase64) ``` public static boolean isValidWmf(String contentInBase64) ``` Determines whether specified string contains a valid WMF image, which is encoded with base64 **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | String, which is assumed to contain a base64-encoded WMF image | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### isValidEmf(InputStream binaryContent) ``` public static boolean isValidEmf(InputStream binaryContent) ``` Determines whether specified byte stream contains a valid EMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Should be valid. | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### isValidEmf(String contentInBase64) ``` public static boolean isValidEmf(String contentInBase64) ``` Determines whether specified string contains a valid EMF image, which is encoded with base64 **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | String, which is assumed to contain a base64-encoded EMF image | **Returns:** boolean - Returns 'true' if valid and 'false' if invalid ##### saveToSvg(OutputStream outputSvgContent) ``` public abstract void saveToSvg(OutputStream outputSvgContent) ``` In implementing type should save a current vector meta-image to the vector SVG format into specified byte stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | java.io.OutputStream | Byte stream, into which the SVG version of this vector meta-image will be stored. Should not be NULL and should support writing. | ### SvgImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.vector/svgimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase ``` public final class SvgImage extends VectorImageResourceBase ``` Represents one vector image in SVG (Scalable Vector Graphics) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | SvgImage(String name, String content) | Creates new SvgImage instance from content, represented as usual string, and with specified name | | SvgImage(String name, InputStream binaryContent) | Creates new SvgImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(String content) | Performs a surface check whether specified textual XML-compliant content represents a SVG image | | getType() | Returns ImageType.Svg | | getByteContent() | Returns a content of this SVG image as a binary stream | | getTextContent() | Returns a content of this SVG image as a plain text (in XML format) | | getXmlContent() | Returns a content of this SVG image int its original XML-compliant textual form | | save(String fullPathToFile) | Saves this SVG image to the file | | saveToPng(OutputStream outputPngContent) | Saves this vector SVG image into raster PNG image | | dispose() | Disposes this raster image, disposing its content and making most methods and properties non-working | ##### SvgImage(String name, String content) ``` public SvgImage(String name, String content) ``` Creates new SvgImage instance from content, represented as usual string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the SVG image. Cannot be null, empty or whitespaces. | | content | java.lang.String | Content as a usual string, which contains a valid XML-compliant content of SVG image. Cannot be null, empty or whitespaces. If it is not a SVG content, exception will be thrown. | ##### SvgImage(String name, InputStream binaryContent) ``` public SvgImage(String name, InputStream binaryContent) ``` Creates new SvgImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the SVG image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(String content) ``` public static boolean isValid(String content) ``` Performs a surface check whether specified textual XML-compliant content represents a SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | content | java.lang.String | XML content of an SVG image as simple text, not a base64-encoded content | **Returns:** boolean - True if specified string can be treated as valid SVG at first look, false if it is not SVG for sure ##### getType() ``` public ImageType getType() ``` Returns ImageType.Svg **Returns:** ImageType - ##### getByteContent() ``` public InputStream getByteContent() ``` Returns a content of this SVG image as a binary stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public String getTextContent() ``` Returns a content of this SVG image as a plain text (in XML format) **Returns:** java.lang.String - ##### getXmlContent() ``` public final String getXmlContent() ``` Returns a content of this SVG image int its original XML-compliant textual form **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public void save(String fullPathToFile) ``` Saves this SVG image to the file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this SVG image | ##### saveToPng(OutputStream outputPngContent) ``` public void saveToPng(OutputStream outputPngContent) ``` Saves this vector SVG image into raster PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ##### dispose() ``` public void dispose() ``` Disposes this raster image, disposing its content and making most methods and properties non-working ### VectorImageResourceBase Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.vector/vectorimageresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.images.IImageResource ``` public abstract class VectorImageResourceBase implements IImageResource ``` Base class for any supported vector image #### Constructors | Constructor | Description | | --- | --- | | VectorImageResourceBase() | | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this vector image. | | getFilenameWithExtension() | Returns correct filename of this vector image, which consists of name and extension. | | getAspectRatio() | Returns aspect ratio of this vector image | | getLinearDimensions() | Returns linear dimensions of this vector image (width and height) | | equals(IHtmlResource other) | Checks this instance with specified on reference equality. | | isDisposed() | Determines whether this raster image is disposed or not | | getType() | In implementing type should return information about type of the vector image | | getByteContent() | In implementing type should return a content of this vector image as byte stream | | getTextContent() | In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type | | save(String fullPathToFile) | In implementing type should save this image to the disk by specified path | | saveToPng(OutputStream outputPngContent) | In implementing type should save a current vector image to the raster PNG format into specified byte stream | | dispose() | In implementing type should dispose this instance | ##### VectorImageResourceBase() ``` public VectorImageResourceBase() ``` ##### Disposed ``` public final Event Disposed ``` ##### getName() ``` public final String getName() ``` Returns name of this vector image. Usually doesn't contain filename extension and theoretically can differ from filename. **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this vector image, which consists of name and extension. Theoretically can differ from the name. **Returns:** java.lang.String ##### getAspectRatio() ``` public final Ratio getAspectRatio() ``` Returns aspect ratio of this vector image **Returns:** Ratio ##### getLinearDimensions() ``` public final Dimensions getLinearDimensions() ``` Returns linear dimensions of this vector image (width and height) **Returns:** Dimensions ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified on reference equality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other instance of vector image | **Returns:** boolean - True if are equal, false if are unequal ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this raster image is disposed or not **Returns:** boolean - ##### getType() ``` public abstract ImageType getType() ``` In implementing type should return information about type of the vector image **Returns:** ImageType - ##### getByteContent() ``` public InputStream getByteContent() ``` In implementing type should return a content of this vector image as byte stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public abstract String getTextContent() ``` In implementing type should return a content of this vector image in text form: base64-encoded of XML regarding of image type **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public abstract void save(String fullPathToFile) ``` In implementing type should save this image to the disk by specified path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | | ##### saveToPng(OutputStream outputPngContent) ``` public abstract void saveToPng(OutputStream outputPngContent) ``` In implementing type should save a current vector image to the raster PNG format into specified byte stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Byte stream, into which the PNG version of this raster image will be stored. Should not be NULL and should support writing. | ##### dispose() ``` public abstract void dispose() ``` In implementing type should dispose this instance ### WmfImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.vector/wmfimage.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.images.vector.VectorImageResourceBase, com.groupdocs.editor.htmlcss.resources.images.vector.MetaImageBase ``` public final class WmfImage extends MetaImageBase ``` Represents one vector image in WMF (Windows MetaFile) format with its metadata and additional methods #### Constructors | Constructor | Description | | --- | --- | | WmfImage(String name, String contentInBase64) | Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name | | WmfImage(String name, InputStream binaryContent) | Creates new WmfImage instance from content, represented as byte stream, and with specified name | #### Methods | Method | Description | | --- | --- | | isValid(InputStream binaryContent) | Checks whether specified stream is a valid WMF image | | isValid(String contentInBase64) | Checks whether specified base64-encoded string is a valid WMF image | | getType() | Returns ImageType.Wmf | | getByteContent() | Returns a content of this WMF image as a binary stream | | getTextContent() | Returns a content of this WMF image as a plain text | | save(String fullPathToFile) | Saves this WMF image to the file | | saveToPng(OutputStream outputPngContent) | Saves this vector WMF image into raster PNG image | | saveToSvg(OutputStream outputSvgContent) | Saves this vector WMF image into vector SVG image | | dispose() | Disposes this WMF image by disposing its content and making most its methods and properties non-working | ##### WmfImage(String name, String contentInBase64) ``` public WmfImage(String name, String contentInBase64) ``` Creates new WmfImage instance from content, represented as base64-encoded string, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WMF image. Cannot be null, empty or whitespaces. | | contentInBase64 | java.lang.String | Content as base64-encoded string. Cannot be null, empty or whitespaces. If it is not a WMF content, exception will be thrown. | ##### WmfImage(String name, InputStream binaryContent) ``` public WmfImage(String name, InputStream binaryContent) ``` Creates new WmfImage instance from content, represented as byte stream, and with specified name **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Name of the WMF image. Cannot be null, empty or whitespaces. | | binaryContent | java.io.InputStream | Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. | ##### isValid(InputStream binaryContent) ``` public static boolean isValid(InputStream binaryContent) ``` Checks whether specified stream is a valid WMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | binaryContent | java.io.InputStream | Input byte stream. Cannot be NULL, should support reading and seeking. | **Returns:** boolean - True if specified stream holds a valid WMF image, false otherwise ##### isValid(String contentInBase64) ``` public static boolean isValid(String contentInBase64) ``` Checks whether specified base64-encoded string is a valid WMF image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contentInBase64 | java.lang.String | Input string, where content of WMF image is stored in base64 encoding. Cannot be NULL or empty. | **Returns:** boolean - True if specified string holds a valid WMF image, false otherwise ##### getType() ``` public ImageType getType() ``` Returns ImageType.Wmf **Returns:** ImageType - ##### getByteContent() ``` public InputStream getByteContent() ``` Returns a content of this WMF image as a binary stream **Returns:** java.io.InputStream - ##### getTextContent() ``` public String getTextContent() ``` Returns a content of this WMF image as a plain text **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public void save(String fullPathToFile) ``` Saves this WMF image to the file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created (if it doesn't exist) or overwritten (if exists) with the content of this WMF image | ##### saveToPng(OutputStream outputPngContent) ``` public void saveToPng(OutputStream outputPngContent) ``` Saves this vector WMF image into raster PNG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputPngContent | java.io.OutputStream | Output stream, into which the content of PNG image will be written. Cannot be NULL and should be writable. | ##### saveToSvg(OutputStream outputSvgContent) ``` public void saveToSvg(OutputStream outputSvgContent) ``` Saves this vector WMF image into vector SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputSvgContent | java.io.OutputStream | Output stream, into which the content of SVG image will be written. Cannot be NULL and should be writable. | ##### dispose() ``` public void dispose() ``` Disposes this WMF image by disposing its content and making most its methods and properties non-working ### com.groupdocs.editor.htmlcss.resources.images Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images.md The **com.groupdocs.editor.htmlcss.resources.images** namespace provides classes that represent image resources of all types in general. #### Classes | Class | Description | | --- | --- | | Dimensions | Represents the linear dimensions (width and height) of one raster rectangular image in arbitrary unit. | | ImageType | Represents one supportable image type (format), supports both raster and vector formats | #### Interfaces | Interface | Description | | --- | --- | | IImage | Image CSS data type represents a two-dimensional image | | IImageResource | Represents image resource of any type, raster or vector | ### Dimensions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images/dimensions.md **Inheritance:** java.lang.Object ``` public class Dimensions ``` Represents the linear dimensions (width and height) of one raster rectangular image in arbitrary unit. Immutable struct. #### Constructors | Constructor | Description | | --- | --- | | Dimensions(int width, int height) | Creates a new instance from specified width and height | #### Methods | Method | Description | | --- | --- | | getWidth() | Returns width of the image | | getHeight() | Returns height of the image | | isSquare() | Determines whether specified 'Dimensions' represents square, i.e. | | getArea() | Returns an area (Width x Height) | | isEmpty() | Determines whether this "Dimensions" instance is empty and default, i.e. | | getAspectRatio() | Aspect ratio of this dimensions as width/height | | proportionallyResizeForNewWidth(int targetWidth) | Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified width | | proportionallyResizeForNewHeight(int targetHeight) | Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified height | | equals(Dimensions other) | Determines whether this instance is equal with specified "Dimensions" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "Dimensions" instance | | hashCode() | Returns a hashcode for this instance, which cannot be changed during its lifetime | | op_Equality(Dimensions first, Dimensions second) | Checks whether two "Dimensions" values are equal, i.e. | | op_Inequality(Dimensions first, Dimensions second) | Checks whether two "Dimensions" values are not equal, i.e. | | toString() | Returns a string representation of this "Dimensions" | | deepClone() | Returns a full copy of this instance | | getEmpty() | Returns an empty Dimensions instance | ##### Dimensions(int width, int height) ``` public Dimensions(int width, int height) ``` Creates a new instance from specified width and height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | Width of image | | height | int | Height of image | ##### getWidth() ``` public final int getWidth() ``` Returns width of the image **Returns:** int ##### getHeight() ``` public final int getHeight() ``` Returns height of the image **Returns:** int ##### isSquare() ``` public final boolean isSquare() ``` Determines whether specified 'Dimensions' represents square, i.e. if width is equal to height **Returns:** boolean ##### getArea() ``` public final long getArea() ``` Returns an area (Width x Height) **Returns:** long ##### isEmpty() ``` public final boolean isEmpty() ``` Determines whether this "Dimensions" instance is empty and default, i.e. it doesn't store correct width and height **Returns:** boolean ##### getAspectRatio() ``` public final Ratio getAspectRatio() ``` Aspect ratio of this dimensions as width/height **Returns:** Ratio ##### proportionallyResizeForNewWidth(int targetWidth) ``` public final Dimensions proportionallyResizeForNewWidth(int targetWidth) ``` Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified width **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | targetWidth | int | New target width, that will be present in resultant Dimension | **Returns:** Dimensions - New "Dimensions" instance with specified target width and proportionally resized height ##### proportionallyResizeForNewHeight(int targetHeight) ``` public final Dimensions proportionallyResizeForNewHeight(int targetHeight) ``` Creates and returns new "Dimensions" instance, which is proportionally resized from current, based on specified height **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | targetHeight | int | New target height, that will be present in resultant Dimension | **Returns:** Dimensions - New "Dimensions" instance with specified target height and proportionally resized width ##### equals(Dimensions other) ``` public final boolean equals(Dimensions other) ``` Determines whether this instance is equal with specified "Dimensions" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Dimensions | Other "Dimensions" instance to check on equality | **Returns:** boolean - True if are equal, false if are not equal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "Dimensions" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other object, that is presumably of "Dimensions" type, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are not equal ##### hashCode() ``` public int hashCode() ``` Returns a hashcode for this instance, which cannot be changed during its lifetime **Returns:** int - Immutable (for this instance) hash-code as signed 4-byte integer ##### op_Equality(Dimensions first, Dimensions second) ``` public static boolean op_Equality(Dimensions first, Dimensions second) ``` Checks whether two "Dimensions" values are equal, i.e. they have equal width and height, or both are empty **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | Dimensions | First instance to check | | second | Dimensions | Second instance to check | **Returns:** boolean - True if are equal, false if are not equal ##### op_Inequality(Dimensions first, Dimensions second) ``` public static boolean op_Inequality(Dimensions first, Dimensions second) ``` Checks whether two "Dimensions" values are not equal, i.e. their corresponding width and/or height are different **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | Dimensions | First instance to check | | second | Dimensions | Second instance to check | **Returns:** boolean - True if are unequal, false if are equal ##### toString() ``` public String toString() ``` Returns a string representation of this "Dimensions" > ``` > W640×H480 > ``` **Returns:** java.lang.String - String instance, that contains a width and height in W:(width)×H:(height) format ##### deepClone() ``` public final Dimensions deepClone() ``` Returns a full copy of this instance **Returns:** Dimensions - New instance, that is a full and deep copy of this one ##### getEmpty() ``` public static Dimensions getEmpty() ``` Returns an empty Dimensions instance **Returns:** Dimensions ### IImage Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images/iimage.md ### IImageResource Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images/iimageresource.md **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource, com.groupdocs.editor.htmlcss.resources.images.IImage ``` public interface IImageResource extends IHtmlResource, IImage ``` Represents image resource of any type, raster or vector https://developer.mozilla.org/en-US/docs/Web/CSS/image #### Methods | Method | Description | | --- | --- | | getType() | In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info | | getAspectRatio() | In implementing type should return an aspect ratio of particular image regardless of its type. | | getLinearDimensions() | In implementing type should return linear dimensions of the image. | ##### getType() ``` public abstract ImageType getType() ``` In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info **Returns:** ImageType ##### getAspectRatio() ``` public abstract Ratio getAspectRatio() ``` In implementing type should return an aspect ratio of particular image regardless of its type. Both vector and raster images have intrinsic aspect ratio between its width and height. **Returns:** Ratio - ##### getLinearDimensions() ``` public abstract Dimensions getLinearDimensions() ``` In implementing type should return linear dimensions of the image. For raster images they are intrinsic dimensions in pixels. Vector images, in counterpart, have no fixed dimensions, but their metadata can contain some basic dimensions in different measurement units. **Returns:** Dimensions - ### ImageType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.images/imagetype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class ImageType implements IResourceType ``` Represents one supportable image type (format), supports both raster and vector formats #### Constructors | Constructor | Description | | --- | --- | | ImageType() | | #### Methods | Method | Description | | --- | --- | | getUndefined() | Undefined image type - special value, which should not normally occur | | getJpeg() | JPEG image type | | getPng() | PNG image type | | getBmp() | BMP image type | | getGif() | GIF image type | | getIcon() | ICON image type | | getSvg() | SVG vector image type | | getWmf() | WMF (Windows MetaFile) vector image type | | getEmf() | EMF (Enhanced MetaFile) vector image type | | getTiff() | TIFF (Tagged Image File Format) raster image type | | getFormalName() | Returns a formal name of this image format. | | isVector() | Indicates whether this particular format is vector (true) or raster (false) | | getFileExtension() | File extension (without leading dot character) of a particular image type in lower case. | | toString() | Returns a FormalName property | | getMimeCode() | MIME code of a particular image type as a string. | | equals(ImageType other) | Determines whether this instance is equal with specified "ImageType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance | | op_Equality(ImageType first, ImageType second) | Defines whether two specific ImageType instances are equal | | op_Inequality(ImageType first, ImageType second) | Defines whether two specific ImageType instances are not equal | | hashCode() | Returns a hash-code, which is an immutable number for this specific instance | | parseFromFilenameWithExtension(String filename) | Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename | | parseFromMime(String mimeCode) | Returns ImageType value, which is equivalent of specified MIME code | ##### ImageType() ``` public ImageType() ``` ##### getUndefined() ``` public static ImageType getUndefined() ``` Undefined image type - special value, which should not normally occur **Returns:** ImageType ##### getJpeg() ``` public static ImageType getJpeg() ``` JPEG image type **Returns:** ImageType ##### getPng() ``` public static ImageType getPng() ``` PNG image type **Returns:** ImageType ##### getBmp() ``` public static ImageType getBmp() ``` BMP image type **Returns:** ImageType ##### getGif() ``` public static ImageType getGif() ``` GIF image type **Returns:** ImageType ##### getIcon() ``` public static ImageType getIcon() ``` ICON image type **Returns:** ImageType ##### getSvg() ``` public static ImageType getSvg() ``` SVG vector image type **Returns:** ImageType ##### getWmf() ``` public static ImageType getWmf() ``` WMF (Windows MetaFile) vector image type **Returns:** ImageType ##### getEmf() ``` public static ImageType getEmf() ``` EMF (Enhanced MetaFile) vector image type **Returns:** ImageType ##### getTiff() ``` public static ImageType getTiff() ``` TIFF (Tagged Image File Format) raster image type **Returns:** ImageType ##### getFormalName() ``` public final String getFormalName() ``` Returns a formal name of this image format. Never reurns NULL. If instance is not corrupted, never throws an exception. **Returns:** java.lang.String ##### isVector() ``` public final boolean isVector() ``` Indicates whether this particular format is vector (true) or raster (false) **Returns:** boolean ##### getFileExtension() ``` public final String getFileExtension() ``` File extension (without leading dot character) of a particular image type in lower case. For the Undefined type returns a string 'unsefined'. **Returns:** java.lang.String ##### toString() ``` public String toString() ``` Returns a FormalName property **Returns:** java.lang.String - ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code of a particular image type as a string. For the Undefined type returns a string 'unsefined'. **Returns:** java.lang.String ##### equals(ImageType other) ``` public final boolean equals(ImageType other) ``` Determines whether this instance is equal with specified "ImageType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ImageType | Other ImageType instance to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "ImageType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other System.Object instance, that is presumably of ImageType type, to check on equality with this | **Returns:** boolean - True if are equal, false if are unequal ##### op_Equality(ImageType first, ImageType second) ``` public static boolean op_Equality(ImageType first, ImageType second) ``` Defines whether two specific ImageType instances are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | ImageType | First ImageType instance to check | | second | ImageType | Second ImageType instance to check | **Returns:** boolean - True if are equal, false if are unequal ##### op_Inequality(ImageType first, ImageType second) ``` public static boolean op_Inequality(ImageType first, ImageType second) ``` Defines whether two specific ImageType instances are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | ImageType | First ImageType instance to check | | second | ImageType | Second ImageType instance to check | **Returns:** boolean - True if are unequal, false if are equal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is an immutable number for this specific instance **Returns:** int - Signed 4-byte integer ##### parseFromFilenameWithExtension(String filename) ``` public static ImageType parseFromFilenameWithExtension(String filename) ``` Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Arbitrary filename, can be a relative or full path | **Returns:** ImageType - ImageType value. Returns ImageType.Undefined, if extension cannot be recognized. ##### parseFromMime(String mimeCode) ``` public static ImageType parseFromMime(String mimeCode) ``` Returns ImageType value, which is equivalent of specified MIME code **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mimeCode | java.lang.String | Arbitrary MIME-code | **Returns:** ImageType - ImageType value. Returns ImageType.Undefined, if extension cannot be recognized. ### com.groupdocs.editor.htmlcss.resources.textual Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.textual.md The **com.groupdocs.editor.htmlcss.resources.textual** namespace provides classes that represent text resources. #### Classes | Class | Description | | --- | --- | | CssText | Represents one CSS textual resource | | TextResourceBase | Base class for any supported text resource with text content and encoding | | TextType | Represents one supportable textual resource type | | XmlText | Represents one textual resource, which is a XML. | ### CssText Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.textual/csstext.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.textual.TextResourceBase ``` public final class CssText extends TextResourceBase ``` Represents one CSS textual resource #### Methods | Method | Description | | --- | --- | | getType() | Returns TextType.Css | ##### getType() ``` public TextType getType() ``` Returns TextType.Css **Returns:** TextType ### TextResourceBase Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.textual/textresourcebase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IHtmlResource ``` public abstract class TextResourceBase implements IHtmlResource ``` Base class for any supported text resource with text content and encoding #### Constructors | Constructor | Description | | --- | --- | | TextResourceBase(String name, String textualContent, Charset originalEncoding) | Creates new text resource from specified textual content with encoding | | TextResourceBase(String name, InputStream binaryContent, Charset originalEncoding) | Creates new text resource from specified byte stream and encoding | #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getName() | Returns name of this text resource without file extension | | getFilenameWithExtension() | Returns correct filename of this text resource, which consists of name and extension | | getEncoding() | Returns encoding of this textual resource. | | getByteContent() | Returns content of this text resource as byte stream with original encoding | | getTextContent() | Returns content of this text resource as a standard string | | save(String fullPathToFile) | Saves this text resource to the specified file | | equals(IHtmlResource other) | Checks this instance with specified on equality. | | dispose() | Disposes this text resource, disposing its content and making most methods and properties non-working. | | isDisposed() | Determines whether this text resource is disposed or not | | getType() | In implementing type should return information about type of the text resource | ##### TextResourceBase(String name, String textualContent, Charset originalEncoding) ``` public TextResourceBase(String name, String textualContent, Charset originalEncoding) ``` Creates new text resource from specified textual content with encoding **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name of the resource, that serves as its unique identifier. Usually is a file name. | | textualContent | java.lang.String | Textual content of the resource, cannot be NULL or empty | | originalEncoding | java.nio.charset.Charset | Original encoding of the resource, cannot be NULL or empty | ##### TextResourceBase(String name, InputStream binaryContent, Charset originalEncoding) ``` public TextResourceBase(String name, InputStream binaryContent, Charset originalEncoding) ``` Creates new text resource from specified byte stream and encoding **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | Mandatory name of the resource, that serves as its unique identifier. Usually is a file name. | | binaryContent | java.io.InputStream | Binary content of a resource as a byte stream. Cannot be NULL, disposed, should be readable and seekable. | | originalEncoding | java.nio.charset.Charset | Original encoding of the resource, cannot be NULL or empty | ##### Disposed ``` public final Event Disposed ``` ##### getName() ``` public final String getName() ``` Returns name of this text resource without file extension **Returns:** java.lang.String ##### getFilenameWithExtension() ``` public final String getFilenameWithExtension() ``` Returns correct filename of this text resource, which consists of name and extension **Returns:** java.lang.String ##### getEncoding() ``` public final Charset getEncoding() ``` Returns encoding of this textual resource. Usually returns UTF-8. **Returns:** java.nio.charset.Charset - ##### getByteContent() ``` public final InputStream getByteContent() ``` Returns content of this text resource as byte stream with original encoding **Returns:** java.io.InputStream - ##### getTextContent() ``` public final String getTextContent() ``` Returns content of this text resource as a standard string **Returns:** java.lang.String - ##### save(String fullPathToFile) ``` public final void save(String fullPathToFile) ``` Saves this text resource to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten if already exists | ##### equals(IHtmlResource other) ``` public final boolean equals(IHtmlResource other) ``` Checks this instance with specified on equality. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | IHtmlResource | Other HTML resource of unknown type, that is also presumable TextResourceBase inheritor | **Returns:** boolean - Returns true if are equal, or false if are unequal ##### dispose() ``` public final void dispose() ``` Disposes this text resource, disposing its content and making most methods and properties non-working. Tolerant to multiple calls. ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this text resource is disposed or not **Returns:** boolean - ##### getType() ``` public abstract TextType getType() ``` In implementing type should return information about type of the text resource **Returns:** TextType ### TextType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.textual/texttype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IResourceType ``` public class TextType implements IResourceType ``` Represents one supportable textual resource type #### Constructors | Constructor | Description | | --- | --- | | TextType() | | #### Methods | Method | Description | | --- | --- | | getUndefined() | Special value, which marks undefined, unknown or unsupported textual resource | | getCss() | CSS type of the textual resource | | getXml() | XML type of the textual resource | | getFormalName() | Returns a formal name of this textual resource type | | getFileExtension() | File extension (without leading dot character) of a particular textual resource | | getMimeCode() | MIME code of a particular textual resource type | | equals(TextType other) | Determines whether this instance is equal with specified "TextType" instance | | equals(Object obj) | Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance | | op_Equality(TextType first, TextType second) | Defines whether two specific "TextType" instances are equal | | op_Inequality(TextType first, TextType second) | Defines whether two specific "TextType" instances are not equal | | hashCode() | Returns a hash-code, which is a constant number for this specific value type | | parseFromFilenameWithExtension(String filename) | Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename with extension or pure extension | ##### TextType() ``` public TextType() ``` ##### getUndefined() ``` public static TextType getUndefined() ``` Special value, which marks undefined, unknown or unsupported textual resource **Returns:** TextType ##### getCss() ``` public static TextType getCss() ``` CSS type of the textual resource **Returns:** TextType ##### getXml() ``` public static TextType getXml() ``` XML type of the textual resource **Returns:** TextType ##### getFormalName() ``` public final String getFormalName() ``` Returns a formal name of this textual resource type **Returns:** java.lang.String ##### getFileExtension() ``` public final String getFileExtension() ``` File extension (without leading dot character) of a particular textual resource **Returns:** java.lang.String ##### getMimeCode() ``` public final String getMimeCode() ``` MIME code of a particular textual resource type **Returns:** java.lang.String ##### equals(TextType other) ``` public final boolean equals(TextType other) ``` Determines whether this instance is equal with specified "TextType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TextType | Other TextType instance, that should be compared with this on equality | **Returns:** boolean - Returns true if are equal or false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Other TextType instance, that is boxed to object | **Returns:** boolean - Returns true if are equal or false if are unequal ##### op_Equality(TextType first, TextType second) ``` public static boolean op_Equality(TextType first, TextType second) ``` Defines whether two specific "TextType" instances are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextType | First TextType instance | | second | TextType | Second TextType instance | **Returns:** boolean - Returns true if are equal or false if are unequal ##### op_Inequality(TextType first, TextType second) ``` public static boolean op_Inequality(TextType first, TextType second) ``` Defines whether two specific "TextType" instances are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | TextType | First TextType instance | | second | TextType | Second TextType instance | **Returns:** boolean - Returns true if are unequal or false if are equal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code, which is a constant number for this specific value type **Returns:** int - Signed 4-byte integer number. Returns 0 if this instance has default value. ##### parseFromFilenameWithExtension(String filename) ``` public static TextType parseFromFilenameWithExtension(String filename) ``` Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename with extension or pure extension **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Filename with extension, can be relative or absolute path, or pure extension itself | **Returns:** TextType - Parsed TextType instance on success or TextType.Undefined on failure ### XmlText Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.textual/xmltext.md **Inheritance:** java.lang.Object, com.groupdocs.editor.htmlcss.resources.textual.TextResourceBase ``` public final class XmlText extends TextResourceBase ``` Represents one textual resource, which is a XML. #### Methods | Method | Description | | --- | --- | | getType() | Returns TextType.Xml | ##### getType() ``` public TextType getType() ``` Returns TextType.Xml **Returns:** TextType ### com.groupdocs.editor.htmlcss.resources Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources.md The **com.groupdocs.editor.htmlcss.resources** namespace provides classes that represent all kinds of the HTML resources. #### Classes | Class | Description | | --- | --- | | ResourceTypeDetector | Utility static methods for detecting resource types (formats) | #### Interfaces | Interface | Description | | --- | --- | | IAuxDisposable | Expands the standard IDisposable interface, allows to obtain a current state of an object and subscribe to disposing event | | IHtmlResource | Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML) etc.) | | IResourceType | Represents one instance of the unknown resource type/format (image, font, text) | ### IAuxDisposable Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources/iauxdisposable.md **All Implemented Interfaces:** com.groupdocs.editor.interfaces.IDisposable ``` public interface IAuxDisposable extends IDisposable ``` Expands the standard IDisposable interface, allows to obtain a current state of an object and subscribe to disposing event #### Fields | Field | Description | | --- | --- | | Disposed | Occurs when object is disposed | #### Methods | Method | Description | | --- | --- | | isDisposed() | Determines whether a resource is closed (true) or not (false | ##### Disposed ``` public static final Event Disposed ``` Occurs when object is disposed ##### isDisposed() ``` public abstract boolean isDisposed() ``` Determines whether a resource is closed (true) or not (false **Returns:** boolean ### IHtmlResource Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources/ihtmlresource.md **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IAuxDisposable ``` public interface IHtmlResource extends IAuxDisposable ``` Represents one instance of the unknown HTML resource (raster or vector image, stylesheet, font, text resource (CSS, XML) etc.) #### Methods | Method | Description | | --- | --- | | getName() | Name of the HTML resource | | getFilenameWithExtension() | Correct filename of the specified resource with appropriate file extension | | getType() | Type of the HTML resource | | getByteContent() | Content of the HTML resource in a form of a byte stream | | getTextContent() | Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources | | save(String fullPathToFile) | Saves a current resource to the specified file | ##### getName() ``` public abstract String getName() ``` Name of the HTML resource **Returns:** java.lang.String - ##### getFilenameWithExtension() ``` public abstract String getFilenameWithExtension() ``` Correct filename of the specified resource with appropriate file extension **Returns:** java.lang.String - ##### getType() ``` public abstract IResourceType getType() ``` Type of the HTML resource **Returns:** IResourceType - ##### getByteContent() ``` public abstract InputStream getByteContent() ``` Content of the HTML resource in a form of a byte stream **Returns:** java.io.InputStream ##### getTextContent() ``` public abstract String getTextContent() ``` Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources **Returns:** java.lang.String ##### save(String fullPathToFile) ``` public abstract void save(String fullPathToFile) ``` Saves a current resource to the specified file **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fullPathToFile | java.lang.String | Full path to the file, which will be created or rewritten with the content of a current resource | ### IResourceType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources/iresourcetype.md ### ResourceTypeDetector Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.resources/resourcetypedetector.md **Inheritance:** java.lang.Object ``` public class ResourceTypeDetector ``` Utility static methods for detecting resource types (formats) #### Constructors | Constructor | Description | | --- | --- | | ResourceTypeDetector() | | #### Methods | Method | Description | | --- | --- | | detectTypeFromFilename(String filename) | Detects a type from specified filename and returns an instance of respective IResourceType | | tryDetectResource(InputStream inputResourceStream, String name, IResourceType assumptiveFormat) | Tries to analyze an input stream and creates one of supportable HTML resources from it, taking into account a specified assumptive type, if it is not null | ##### ResourceTypeDetector() ``` public ResourceTypeDetector() ``` ##### detectTypeFromFilename(String filename) ``` public static IResourceType detectTypeFromFilename(String filename) ``` Detects a type from specified filename and returns an instance of respective IResourceType **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filename | java.lang.String | Input filename, from which this method will try to extract the resultant IResourceType implementation | **Returns:** IResourceType - IResourceType implementation on success or NULL on failure ##### tryDetectResource(InputStream inputResourceStream, String name, IResourceType assumptiveFormat) ``` public static IHtmlResource tryDetectResource(InputStream inputResourceStream, String name, IResourceType assumptiveFormat) ``` Tries to analyze an input stream and creates one of supportable HTML resources from it, taking into account a specified assumptive type, if it is not null **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputResourceStream | java.io.InputStream | Input stream, which presumably contains an HTML resource. If invalid, an exception will be thrown. | | name | java.lang.String | Resource name, which will be used for created and returned resource on success. Cannot be NULL, empty or whitespace | | assumptiveFormat | IResourceType | Assumed format of the input HTML resource, which is useful for achieving the best performance. If completely unknown, use the NULL value. May be incorrect, this will only worsen the performance. | **Returns:** IHtmlResource - Instance, which implements 'IHtmlResource' interface and represents one of supportable HTML resources on success, or NULL on failure ### com.groupdocs.editor.htmlcss.serialization Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.serialization.md The **com.groupdocs.editor.htmlcss.serialization** namespace provides types, that are responsible for tuning HTML and CSS markup serialization process.. #### Classes | Class | Description | | --- | --- | | QuoteType | Represents quote characters - single quote (') and double quote (") | | TagRenderingCase | Represents different types of serialization the HTML tag names | ### QuoteType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.serialization/quotetype.md **Inheritance:** java.lang.Object ``` public class QuoteType ``` Represents quote characters - single quote (') and double quote (") #### Constructors | Constructor | Description | | --- | --- | | QuoteType() | | #### Fields | Field | Description | | --- | --- | | SingleQuote | Single quote (U+0027 APOSTROPHE character) | | DoubleQuote | Double quote (U+0022 QUOTATION MARK character) | #### Methods | Method | Description | | --- | --- | | getCode() | Code point of the current character (U+0027 or U+0022) | | getCharacter() | Character to enquote | | getHtmlEncoded() | HTML-encoded character | | toString() | Returns a "SingleQuote" or "DoubleQuote" string depending on the current value | | equals(QuoteType other) | Indicates whether this instance of the quote type is equal to specified | | equals(Object obj) | Indicates whether this instance of the quote type is equal to specified uncasted | | hashCode() | Returns a hash-code for this character | | op_Equality(QuoteType first, QuoteType second) | Checks whether two "QuoteType" values are equal | | op_Inequality(QuoteType first, QuoteType second) | Checks whether two "QuoteType" values are not equal | | to_Char(QuoteType quote) | Casts specified QuoteType instance to the char | | to_QuoteType(char character) | Casts specific char to the corresponding QuoteType, throws exception if casting is invalid | ##### QuoteType() ``` public QuoteType() ``` ##### SingleQuote ``` public static final QuoteType SingleQuote ``` Single quote (U+0027 APOSTROPHE character) ##### DoubleQuote ``` public static final QuoteType DoubleQuote ``` Double quote (U+0022 QUOTATION MARK character) ##### getCode() ``` public final int getCode() ``` Code point of the current character (U+0027 or U+0022) **Returns:** int ##### getCharacter() ``` public final char getCharacter() ``` Character to enquote **Returns:** char ##### getHtmlEncoded() ``` public final String getHtmlEncoded() ``` HTML-encoded character **Returns:** java.lang.String ##### toString() ``` public String toString() ``` Returns a "SingleQuote" or "DoubleQuote" string depending on the current value **Returns:** java.lang.String - ##### equals(QuoteType other) ``` public final boolean equals(QuoteType other) ``` Indicates whether this instance of the quote type is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | QuoteType | Other instance of QuoteType to check | **Returns:** boolean - true if are equal, false if are unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether this instance of the quote type is equal to specified uncasted **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Uncasted object, expected to be of QuoteType type | **Returns:** boolean - true if are equal, false if are unequal ##### hashCode() ``` public int hashCode() ``` Returns a hash-code for this character **Returns:** int - Hash-code as an signed integer ##### op_Equality(QuoteType first, QuoteType second) ``` public static boolean op_Equality(QuoteType first, QuoteType second) ``` Checks whether two "QuoteType" values are equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | QuoteType | First value to check | | second | QuoteType | Second value to check | **Returns:** boolean - true if are equal, false otherwise ##### op_Inequality(QuoteType first, QuoteType second) ``` public static boolean op_Inequality(QuoteType first, QuoteType second) ``` Checks whether two "QuoteType" values are not equal **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | first | QuoteType | First value to check | | second | QuoteType | Second value to check | **Returns:** boolean - false if are equal, true otherwise ##### to_Char(QuoteType quote) ``` public static char to_Char(QuoteType quote) ``` Casts specified QuoteType instance to the char **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | quote | QuoteType | Quote type instance to cast | **Returns:** char ##### to_QuoteType(char character) ``` public static QuoteType to_QuoteType(char character) ``` Casts specific char to the corresponding QuoteType, throws exception if casting is invalid **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | character | char | A single quote (U+0027 APOSTROPHE) or double quote (U+0022 QUOTATION MARK) character. Exception will be thrown if any other character will be specified. | **Returns:** QuoteType ### TagRenderingCase Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.htmlcss.serialization/tagrenderingcase.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class TagRenderingCase extends System.Enum ``` Represents different types of serialization the HTML tag names #### Fields | Field | Description | | --- | --- | | LowerCase | all-lower - all letters in the tag name will be serialized in lower case | | UpperCase | ALL-CAPITAL - all letters in the tag name will be serialized in UPPER case | | FirstLetterUpperCase | First letter in the tag name will be serialized in Upper case, while all others - in lower. | ##### LowerCase ``` public static final int LowerCase ``` all-lower - all letters in the tag name will be serialized in lower case ##### UpperCase ``` public static final int UpperCase ``` ALL-CAPITAL - all letters in the tag name will be serialized in UPPER case ##### FirstLetterUpperCase ``` public static final int FirstLetterUpperCase ``` First letter in the tag name will be serialized in Upper case, while all others - in lower. ### com.groupdocs.editor.license Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.license.md The **com.groupdocs.editor.license** Provides methods to license the component. Learn more about licensing [here][] [here]: https://purchase.groupdocs.com/faqs/licensing #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. | | Metered | Provides methods for applying [Metered][] license.[Metered]: https://purchase.groupdocs.com/faqs/licensing/metered | ### License Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.license/license.md **Inheritance:** java.lang.Object ``` public class License ``` Provides methods to license the component. Learn more about licensing [here][]. [here]: https://purchase.groupdocs.com/faqs/licensing [Evaluation Limitations and Licensing]: https://docs.groupdocs.com/editor/java/licensing-and-subscription/ #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | setLicense(InputStream licenseStream) | Licenses the component. | | setLicense(String licensePath) | Licenses the component. | ##### License() ``` public License() ``` ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing Stream of the license file. > > using (InputStream licenseStream = new FileInputStream("LicenseFile.lic")) > { > com.groupdocs.editor.License lic = new com.groupdocs.editor.License(); > lic.setLicense(licenseStream); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | The license stream. | ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing a path to the license file. > > String licensePath = "GroupDocs.Editor.lic"; > com.groupdocs.editor.License lic = new com.groupdocs.editor.License(); > lic.setLicense(licensePath); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license path. | ### Metered Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.license/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods for applying [Metered][] license. [Metered]: https://purchase.groupdocs.com/faqs/licensing/metered [GroupDocs Licensing FAQ]: https://purchase.groupdocs.com/faqs/licensing [Evaluation Limitations and Licensing]: https://docs.groupdocs.com/editor/java/licensing-and-subscription/ #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves count of credits consumed. | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. > ``` > Following example demonstrates how to activate product with Metered keys. > > String publicKey = "Public Key"; > String privateKey = "Private Key"; > Metered metered = new Metered(); > metered.setMeteredKey(publicKey, privateKey); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed. > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > String publicKey = "Public Key"; > String privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.setMeteredKey(publicKey, privateKey); > double mbProcessed = metered.getConsumptionQuantity(); > ``` **Returns:** java.math.BigDecimal ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves count of credits consumed. > ``` > Following example demonstrates how to retrieve count of credits consumed. > > String publicKey = "Public Key"; > String privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.setMeteredKey(publicKey, privateKey); > double creditsConsumed = metered.getConsumptionCredit(); > ``` **Returns:** java.math.BigDecimal - Count of already used credits ### com.groupdocs.editor.metadata Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata.md The **com.groupdocs.editor.metadata** namespace provides classes for describing basic document properties dependent on document type. #### Classes | Class | Description | | --- | --- | | EbookDocumentInfo | Represents metadata of one EBook document | | EmailDocumentInfo | Represents metadata of one email document of any supported email format | | FixedLayoutDocumentInfo | Represents metadata of one document with fixed layout format like PDF or XPS | | MarkdownDocumentInfo | Represents metadata of one Markdown document | | PresentationDocumentInfo | Represents metadata of one Presentation document | | SpreadsheetDocumentInfo | Represents metadata of one Spreadsheet document | | TextualDocumentInfo | Represents metadata of one textual document like XML, HTML or plain text (TXT) | | WordProcessingDocumentInfo | Represents metadata of one WordProcessing document | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Common interface for all file metadata wrappers | ### EbookDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/ebookdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class EbookDocumentInfo implements IDocumentInfo ``` Represents metadata of one EBook document #### Constructors | Constructor | Description | | --- | --- | | EbookDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this document | | getPageCount() | Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub. | | getSize() | Returns size in bytes of this eBook document | | isEncrypted() | Because eBook documents cannot be encrypted with password, this property always returns 'false' | | equals(EbookDocumentInfo other) | Determines whether this instance is equal to the other specified EbookDocumentInfo instance | ##### EbookDocumentInfo() ``` public EbookDocumentInfo() ``` ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this document **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub. eBook documents usually have no fixed pages and thus page count. In case of ePub it is possible to calculate a number of chapters. However, the MOBI and AZW3 formats have no chapters either, so this number is calculated from standard page size set to A4 in portrait orientation. **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this eBook document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Because eBook documents cannot be encrypted with password, this property always returns 'false' **Returns:** boolean ##### equals(EbookDocumentInfo other) ``` public final boolean equals(EbookDocumentInfo other) ``` Determines whether this instance is equal to the other specified EbookDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | EbookDocumentInfo | Other EbookDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### EmailDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/emaildocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class EmailDocumentInfo implements IDocumentInfo ``` Represents metadata of one email document of any supported email format #### Constructors | Constructor | Description | | --- | --- | | EmailDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this email document | | getPageCount() | Always returs 1, because email documents don't have paged view | | getSize() | Returns size in bytes of this email document | | isEncrypted() | Because email documents cannot be encrypted with password, this property always returns 'false' | | equals(EmailDocumentInfo other) | Determines whether this instance is equal to the other specified EmailDocumentInfo instance | ##### EmailDocumentInfo() ``` public EmailDocumentInfo() ``` ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this email document **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Always returs 1, because email documents don't have paged view **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this email document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Because email documents cannot be encrypted with password, this property always returns 'false' **Returns:** boolean ##### equals(EmailDocumentInfo other) ``` public final boolean equals(EmailDocumentInfo other) ``` Determines whether this instance is equal to the other specified EmailDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | EmailDocumentInfo | Other EmailDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### FixedLayoutDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/fixedlayoutdocumentinfo.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class FixedLayoutDocumentInfo extends Struct implements IDocumentInfo ``` Represents metadata of one document with fixed layout format like PDF or XPS #### Constructors | Constructor | Description | | --- | --- | | FixedLayoutDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this fixed-layout format document | | getPageCount() | Returns number of pages | | getSize() | Returns size in bytes of this fixed-layout format document | | isEncrypted() | Determines whether this specific fixed-layout format document in encrypted and requires password for opening | | equals(FixedLayoutDocumentInfo other) | Determines whether this instance is equal to the other specified FixedLayoutDocumentInfo instance | ##### FixedLayoutDocumentInfo() ``` public FixedLayoutDocumentInfo() ``` ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this fixed-layout format document **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this fixed-layout format document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Determines whether this specific fixed-layout format document in encrypted and requires password for opening **Returns:** boolean ##### equals(FixedLayoutDocumentInfo other) ``` public final boolean equals(FixedLayoutDocumentInfo other) ``` Determines whether this instance is equal to the other specified FixedLayoutDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FixedLayoutDocumentInfo | Other FixedLayoutDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### IDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/idocumentinfo.md ### MarkdownDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/markdowndocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class MarkdownDocumentInfo implements IDocumentInfo ``` Represents metadata of one Markdown document #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this Markdown document \\u2014 always is TextualFormats.Md | | getPageCount() | Returns number of pages. | | getSize() | Returns size in bytes of this Markdown document | | isEncrypted() | Because Markdown documents cannot be encrypted with password, this property always returns 'false' | | equals(MarkdownDocumentInfo other) | Determines whether this instance is equal to the other specified MarkdownDocumentInfo instance. | ##### getFormat() ``` public final DocumentFormatBase getFormat() ``` Returns a format of this Markdown document \\u2014 always is TextualFormats.Md **Returns:** DocumentFormatBase ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages. Markdown documents usually have no fixed pages and thus page count, so this number is calculated from standard page size set to A4 in portrait orientation. **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this Markdown document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Because Markdown documents cannot be encrypted with password, this property always returns 'false' **Returns:** boolean ##### equals(MarkdownDocumentInfo other) ``` public final boolean equals(MarkdownDocumentInfo other) ``` Determines whether this instance is equal to the other specified MarkdownDocumentInfo instance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | MarkdownDocumentInfo | Other MarkdownDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### PresentationDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/presentationdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class PresentationDocumentInfo implements IDocumentInfo ``` Represents metadata of one Presentation document #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this Presentation document | | getPageCount() | Returns number of slides in this Presentation document | | getSize() | Returns size in bytes of this Presentation document | | isEncrypted() | Indicates whether this specific Presentation document in encrypted and requires password for opening | | generatePreview(int slideIndex) | Generates and returns a preview of the selected slide in a form of SVG image | ##### getFormat() ``` public final PresentationFormats getFormat() ``` Returns a format of this Presentation document **Returns:** PresentationFormats ##### getPageCount() ``` public final int getPageCount() ``` Returns number of slides in this Presentation document **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this Presentation document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Indicates whether this specific Presentation document in encrypted and requires password for opening **Returns:** boolean ##### generatePreview(int slideIndex) ``` public final SvgImage generatePreview(int slideIndex) ``` Generates and returns a preview of the selected slide in a form of SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | slideIndex | int | 0-based index of the desired slide. Canot be lesser then 0, cannot exceed the number of slides in this presentation. | **Returns:** SvgImage - SVG image as the non-null instance of the SvgImage class ### SpreadsheetDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/spreadsheetdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class SpreadsheetDocumentInfo implements IDocumentInfo ``` Represents metadata of one Spreadsheet document #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this Spreadsheet document | | getPageCount() | Returns number of tabs | | getSize() | Returns size in bytes of this Spreadsheet document | | isEncrypted() | Indicates whether this specific Spreadsheet document in encrypted and requires password for opening | | generatePreview(int worksheetIndex) | Generates and returns a preview of the selected worksheet in a form of SVG image | | equals(SpreadsheetDocumentInfo other) | Determines whether this instance is equal to the other specified SpreadsheetDocumentInfo instance | ##### SpreadsheetDocumentInfo() ``` public SpreadsheetDocumentInfo() ``` ##### getFormat() ``` public final SpreadsheetFormats getFormat() ``` Returns a format of this Spreadsheet document **Returns:** SpreadsheetFormats ##### getPageCount() ``` public final int getPageCount() ``` Returns number of tabs **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this Spreadsheet document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Indicates whether this specific Spreadsheet document in encrypted and requires password for opening **Returns:** boolean ##### generatePreview(int worksheetIndex) ``` public final SvgImage generatePreview(int worksheetIndex) ``` Generates and returns a preview of the selected worksheet in a form of SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | int | 0-based index of the desired worksheet. Cannot be lesser then 0, cannot exceed the number of worksheets in this spreadsheet. | **Returns:** SvgImage - SVG image as the non-null instance of the SvgImage class ##### equals(SpreadsheetDocumentInfo other) ``` public final boolean equals(SpreadsheetDocumentInfo other) ``` Determines whether this instance is equal to the other specified SpreadsheetDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | SpreadsheetDocumentInfo | Other SpreadsheetDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### TextualDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/textualdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class TextualDocumentInfo implements IDocumentInfo ``` Represents metadata of one textual document like XML, HTML or plain text (TXT) #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this textual document. | | getPageCount() | Always returns 1 | | getSize() | Returns size in bytes (not the number of characters) of this textual document | | isEncrypted() | Always returns 'false', as textual documents cannot be encrypted. | | getEncoding() | Returns detected presumable encoding of the text document | ##### getFormat() ``` public final TextualFormats getFormat() ``` Returns a format of this textual document. May be not 100% correct in some cases. **Returns:** TextualFormats ##### getPageCount() ``` public final int getPageCount() ``` Always returns 1 **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes (not the number of characters) of this textual document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Always returns 'false', as textual documents cannot be encrypted. **Returns:** boolean ##### getEncoding() ``` public final Charset getEncoding() ``` Returns detected presumable encoding of the text document **Returns:** java.nio.charset.Charset ### WordProcessingDocumentInfo Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.metadata/wordprocessingdocumentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.metadata.IDocumentInfo ``` public class WordProcessingDocumentInfo implements IDocumentInfo ``` Represents metadata of one WordProcessing document #### Constructors | Constructor | Description | | --- | --- | | WordProcessingDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFormat() | Returns a format of this WordProcessing document | | getPageCount() | Returns number of pages | | getSize() | Returns size in bytes of this WordProcessing document | | isEncrypted() | Determines whether this specific WordProcessing document in encrypted and requires password for opening | | generatePreview(int pageIndex) | Generates and returns a preview of the selected page in a form of SVG image | | equals(WordProcessingDocumentInfo other) | Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance | ##### WordProcessingDocumentInfo() ``` public WordProcessingDocumentInfo() ``` ##### getFormat() ``` public final WordProcessingFormats getFormat() ``` Returns a format of this WordProcessing document **Returns:** WordProcessingFormats ##### getPageCount() ``` public final int getPageCount() ``` Returns number of pages **Returns:** int ##### getSize() ``` public final long getSize() ``` Returns size in bytes of this WordProcessing document **Returns:** long ##### isEncrypted() ``` public final boolean isEncrypted() ``` Determines whether this specific WordProcessing document in encrypted and requires password for opening **Returns:** boolean ##### generatePreview(int pageIndex) ``` public final SvgImage generatePreview(int pageIndex) ``` Generates and returns a preview of the selected page in a form of SVG image **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | 0-based index of the desired page. Cannot be lesser then 0, cannot exceed the number of pages in this WordProcessing document. | **Returns:** SvgImage - SVG image as the non-null instance of the SvgImage class ##### equals(WordProcessingDocumentInfo other) ``` public final boolean equals(WordProcessingDocumentInfo other) ``` Determines whether this instance is equal to the other specified WordProcessingDocumentInfo instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | WordProcessingDocumentInfo | Other WordProcessingDocumentInfo instance, that should be checked on equality with this | **Returns:** boolean - True if are equal, false if are unequal ### com.groupdocs.editor.options Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options.md The **com.groupdocs.editor.options** namespace provides interfaces for load and save options. #### Classes | Class | Description | | --- | --- | | DelimitedTextEditOptions | Options for loading text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) | | DelimitedTextSaveOptions | Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) | | EbookEditOptions | Allows to specify and adjust custom options for editing E-book documents in all supported formats: ePub, MOBI, and AZW3. | | EbookSaveOptions | Allows to specify custom options for generating and saving the document in all supportable e-Book formats: ePub, MOBI, and AZW3. | | EmailEditOptions | Allows to specify custom options for editing documents in the different electronic mail (email) formats | | EmailSaveOptions | Allows to specify custom options for generating and saving electronic mail (email) documents | | FixedLayoutEditOptionsBase | Base abstract class for the options for all documents of fixed-layout formats like PDF and XPS | | FontEmbeddingOptions | Font embedding options control which font resources should be embedded into the output WordProcessing document | | FontExtractionOptions | Font extraction options control which fonts should be extracted and from where | | HtmlSaveOptions | Allows to specify custom options for saving the EditableDocument instance to the HTML format | | MailMessageOutput | Controls which parts of the mail message should be delivered to the output processing | | MarkdownEditOptions | Allows to specify custom options for editing documents in Markdown format. | | MarkdownImageLoadArgs | Provides data for the M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) event. | | MarkdownImageLoadingAction | Defines the mode of image loading while opening for editing the file in Markdown format | | MarkdownSaveOptions | Allows to specify custom options for generating and saving Markdown documents | | MarkdownTableContentAlignment | Allows to specify the alignment of the content of the table to be used when exporting into Markdown format. | | MhtmlSaveOptions | Allows to specify custom options for generating and saving the MHTML (MIME encapsulation of aggregate HTML documents) documents | | PageRange | Encapsulates one page range, which can have open or closed bounds. | | PdfCompliance | Specifies the PDF standards compliance level | | PdfSaveOptions | Allows to specify custom options for generating and saving PDF (Portable Document Format) documents | | PresentationEditOptions | Allows to specify custom options for editing documents of all supportable Presentation (PowerPoint-compatible) formats | | PresentationLoadOptions | Allows to specify custom options for loading documents of all supportable Presentation formats like PPT(X), PPTM, PPS(X) etc. | | PresentationSaveOptions | Allows to specify custom options for generating and saving Presentation (PowerPoint-compatible) documents | | SpreadsheetEditOptions | Allows to specify custom options for editing documents of all supportable Spreadsheet (Excel-compatible) formats | | SpreadsheetLoadOptions | Contains options for loading binary Spreadsheet (Cells, Excel-compatible) documents like XLS(X), ODS etc. | | SpreadsheetSaveOptions | Allows to specify custom options for generating and saving Spreadsheet (Excel-compliant) documents | | TextDirection | Represents 3 possible variants how to treat text direction in the plain text documents | | TextEditOptions | Allows to specify custom options for loading plain text (TXT) documents | | TextLeadingSpacesOptions | Contains available options for leading space handling during opening plain text document (TXT) | | TextSaveOptions | Allows to specify custom options for generating and saving plain text (TXT) documents | | TextTrailingSpacesOptions | Contains available options for trailing space handling during opening plain text document (TXT) | | WebFont | Represents a font settings for the web | | WordProcessingEditOptions | Allows to specify custom options for editing documents of all supportable WordProcessing (Words-compliant) formats like DOC(X), RTF, ODT etc. | | WordProcessingLoadOptions | Contains options for loading WordProcessing (Word-compatible) documents like DOC(X), RTF, ODT etc. | | WordProcessingProtection | Encapsulates document protection options for the WordProcessing document, which is generated from HTML | | WordProcessingProtectionType | Represents all available protection types of the WordProcessing document | | WordProcessingSaveOptions | Allows to specify custom options for generating and saving WordProcessing-compliant documents after they were edited | | WorksheetProtection | Encapsulates worksheet protection options, which allow to protect a worksheet in the output Spreadsheet document from modification of specified type with a specified password. | | WorksheetProtectionType | Represents Spreadsheet worksheet (tab) protection types | | XmlEditOptions | Allows to specify custom options for loading XML (eXtensible Markup Language) documents and converting them to the HTML | | XmlFormatOptions | Contains options, that allow to adjust the formatting of XML document, when it is represented as HTML | | XmlHighlightOptions | Contains options, that allow to customize the XML highlighting during XML-to-HTML conversion | | XpsSaveOptions | Allows to specify custom options for generating and saving XPS (XML Paper Specifications) documents | #### Interfaces | Interface | Description | | --- | --- | | IEditOptions | Common interface for all options, which are responsible for document-to-HTML conversions. | | IHtmlSavingCallback | Interface, that is used while saving the to the HTML format and which must be implemented by the end-user in order to save the provided resource and returns a link to it | | ILoadOptions | Common interface for all option classes, responsible for loading documents of different type formats | | IMarkdownImageLoadCallback | Implement this interface if you want to control how GroupDocs.Editor load images when converting Markdown to Html. | | ISaveOptions | Interface for all saving options for all documents types | ### DelimitedTextEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/delimitedtexteditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class DelimitedTextEditOptions implements IEditOptions ``` Options for loading text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) https://en.wikipedia.org/wiki/Delimiter-separated\_values #### Constructors | Constructor | Description | | --- | --- | | DelimitedTextEditOptions(String separator) | Creates an instance of options class for delimited text with mandatory separator (delimiter) | #### Methods | Method | Description | | --- | --- | | getSeparator() | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | setSeparator(String value) | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | getConvertDateTimeData() | Gets or sets a value that indicates whether the string in text-based document is converted to the date data. | | setConvertDateTimeData(boolean value) | Gets or sets a value that indicates whether the string in text-based document is converted to the date data. | | getConvertNumericData() | Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. | | setConvertNumericData(boolean value) | Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. | | getTreatConsecutiveDelimitersAsOne() | Defines whether consecutive delimiters should be treated as one. | | setTreatConsecutiveDelimitersAsOne(boolean value) | Defines whether consecutive delimiters should be treated as one. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | ##### DelimitedTextEditOptions(String separator) ``` public DelimitedTextEditOptions(String separator) ``` Creates an instance of options class for delimited text with mandatory separator (delimiter) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | separator | java.lang.String | Mandatory separator (delimiter), that cannot be NULL or empty | ##### getSeparator() ``` public final String getSeparator() ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Returns:** java.lang.String ##### setSeparator(String value) ``` public final void setSeparator(String value) ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getConvertDateTimeData() ``` public final boolean getConvertDateTimeData() ``` Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is false. **Returns:** boolean ##### setConvertDateTimeData(boolean value) ``` public final void setConvertDateTimeData(boolean value) ``` Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getConvertNumericData() ``` public final boolean getConvertNumericData() ``` Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is false. **Returns:** boolean ##### setConvertNumericData(boolean value) ``` public final void setConvertNumericData(boolean value) ``` Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTreatConsecutiveDelimitersAsOne() ``` public final boolean getTreatConsecutiveDelimitersAsOne() ``` Defines whether consecutive delimiters should be treated as one. By default is false. **Returns:** boolean ##### setTreatConsecutiveDelimitersAsOne(boolean value) ``` public final void setTreatConsecutiveDelimitersAsOne(boolean value) ``` Defines whether consecutive delimiters should be treated as one. By default is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### DelimitedTextSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/delimitedtextsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class DelimitedTextSaveOptions implements ISaveOptions ``` Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter) https://en.wikipedia.org/wiki/Delimiter-separated\_values #### Constructors | Constructor | Description | | --- | --- | | DelimitedTextSaveOptions() | This parameterless constructor creates a new instance of DelimitedTextSaveOptions with a semicolon (;) default separator (can be modified then through Separator (\#getSeparator.getSeparator/\#setSeparator(String).setSeparator(String)) property) | | DelimitedTextSaveOptions(String separator) | Creates an instance of options class for delimited text with mandatory separator (delimiter) | #### Methods | Method | Description | | --- | --- | | getSeparator() | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | setSeparator(String value) | Allows to specify a string separator (delimiter) for text-based Spreadsheet documents | | getEncoding() | Allows to set an encoding for the text-based Spreadsheet document. | | setEncoding(Charset value) | Allows to set an encoding for the text-based Spreadsheet document. | | getTrimLeadingBlankRowAndColumn() | Indicates whether leading blank rows and columns should be trimmed like what MS Excel does | | setTrimLeadingBlankRowAndColumn(boolean value) | Indicates whether leading blank rows and columns should be trimmed like what MS Excel does | | getKeepSeparatorsForBlankRow() | Indicates whether separators should be output for blank row. | | setKeepSeparatorsForBlankRow(boolean value) | Indicates whether separators should be output for blank row. | ##### DelimitedTextSaveOptions() ``` public DelimitedTextSaveOptions() ``` This parameterless constructor creates a new instance of DelimitedTextSaveOptions with a semicolon (;) default separator (can be modified then through Separator (\#getSeparator.getSeparator/\#setSeparator(String).setSeparator(String)) property) ##### DelimitedTextSaveOptions(String separator) ``` public DelimitedTextSaveOptions(String separator) ``` Creates an instance of options class for delimited text with mandatory separator (delimiter) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | separator | java.lang.String | String separator (delimiter) for text-based Spreadsheet documents | ##### getSeparator() ``` public final String getSeparator() ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Returns:** java.lang.String - ##### setSeparator(String value) ``` public final void setSeparator(String value) ``` Allows to specify a string separator (delimiter) for text-based Spreadsheet documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getEncoding() ``` public final Charset getEncoding() ``` Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8. **Returns:** java.nio.charset.Charset - ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getTrimLeadingBlankRowAndColumn() ``` public final boolean getTrimLeadingBlankRowAndColumn() ``` Indicates whether leading blank rows and columns should be trimmed like what MS Excel does **Returns:** boolean - ##### setTrimLeadingBlankRowAndColumn(boolean value) ``` public final void setTrimLeadingBlankRowAndColumn(boolean value) ``` Indicates whether leading blank rows and columns should be trimmed like what MS Excel does **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getKeepSeparatorsForBlankRow() ``` public final boolean getKeepSeparatorsForBlankRow() ``` Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty. **Returns:** boolean - ##### setKeepSeparatorsForBlankRow(boolean value) ``` public final void setKeepSeparatorsForBlankRow(boolean value) ``` Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### EbookEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/ebookeditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class EbookEditOptions implements IEditOptions ``` Allows to specify and adjust custom options for editing E-book documents in all supported formats: ePub, MOBI, and AZW3. Supported E-book formats: 1. [ePub][] (Electronic Publication) 2. [MOBI][] (MobiPocket) 3. [AZW3][] (Kindle Format 8t) [ePub]: https://docs.fileformat.com/ebook/epub/ [MOBI]: https://docs.fileformat.com/ebook/mobi/ [AZW3]: https://docs.fileformat.com/ebook/azw3/ #### Constructors | Constructor | Description | | --- | --- | | EbookEditOptions() | Initializes a new instance of the EbookEditOptions class, where all options are set to their default values | | EbookEditOptions(boolean enablePagination) | Initializes a new instance of the EbookEditOptions class with specified pagination mode | #### Methods | Method | Description | | --- | --- | | getEnablePagination() | Allows to enable or disable pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination in the resultant HTML document. | | getEnableLanguageInformation() | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | | setEnableLanguageInformation(boolean value) | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | ##### EbookEditOptions() ``` public EbookEditOptions() ``` Initializes a new instance of the EbookEditOptions class, where all options are set to their default values ##### EbookEditOptions(boolean enablePagination) ``` public EbookEditOptions(boolean enablePagination) ``` Initializes a new instance of the EbookEditOptions class with specified pagination mode **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | enablePagination | boolean | Enables ( true ) or disables ( false ) pagination of the e-book content in the resultant HTML document. By default is disabled ( false ). | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled ( false ). In its essence most of e-book formats internally is a flow format like Office Open XML, where content is a solid and is splitted onto chapters but not the pages. However, it contains some page-specific info like the page numbers, footnotes, heraders/footers and so on. Some e-book readers perform a splitting of the e-book content onto pages, while others (especially mobile) \\u2014 not. This option allows to control how the e-book content should be represented in HTML/CSS while editing \\u2014 in the float ( false ) or paged ( true ) view. **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled ( false ). In its essence most of e-book formats internally is a flow format like Office Open XML, where content is a solid and is splitted onto chapters but not the pages. However, it contains some page-specific info like the page numbers, footnotes, heraders/footers and so on. Some e-book readers perform a splitting of the e-book content onto pages, while others (especially mobile) \\u2014 not. This option allows to control how the e-book content should be represented in HTML/CSS while editing \\u2014 in the float ( false ) or paged ( true ) view. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getEnableLanguageInformation() ``` public final boolean getEnableLanguageInformation() ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled ( false ). **Returns:** boolean ##### setEnableLanguageInformation(boolean value) ``` public final void setEnableLanguageInformation(boolean value) ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled ( false ). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### EbookSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/ebooksaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class EbookSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving the document in all supportable e-Book formats: ePub, MOBI, and AZW3. Supported E-book formats: 1. [ePub][] (Electronic Publication) 2. [MOBI][] (MobiPocket) 3. [AZW3][] (Kindle Format 8t) [ePub]: https://docs.fileformat.com/ebook/epub/ [MOBI]: https://docs.fileformat.com/ebook/mobi/ [AZW3]: https://docs.fileformat.com/ebook/azw3/ #### Constructors | Constructor | Description | | --- | --- | | EbookSaveOptions() | This parameterless constructor creates a new instance of EbookSaveOptions with ePub output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(EBookFormats).setOutputFormat(EBookFormats)) property) | | EbookSaveOptions(EBookFormats outputFormat) | Creates a new instance of EbookSaveOptions with specified mandatory e-Book output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getSplitHeadingLevel() | Specifies the maximum level of headings at which to split the e-Book file. | | setSplitHeadingLevel(int value) | Specifies the maximum level of headings at which to split the e-Book file. | | getExportDocumentProperties() | Specifies whether to export built-in and custom document properties in resultant file. | | setExportDocumentProperties(boolean value) | Specifies whether to export built-in and custom document properties in resultant file. | | getOutputFormat() | Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. | | setOutputFormat(EBookFormats value) | Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. | ##### EbookSaveOptions() ``` public EbookSaveOptions() ``` This parameterless constructor creates a new instance of EbookSaveOptions with ePub output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(EBookFormats).setOutputFormat(EBookFormats)) property) ##### EbookSaveOptions(EBookFormats outputFormat) ``` public EbookSaveOptions(EBookFormats outputFormat) ``` Creates a new instance of EbookSaveOptions with specified mandatory e-Book output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | EBookFormats | andatory output format, in which the e-Book should be saved | ##### getSplitHeadingLevel() ``` public final int getSplitHeadingLevel() ``` Specifies the maximum level of headings at which to split the e-Book file. Default value is 2 . Setting it to 0 will disable splitting, so all content of the e-Book will be incorporarted into a single package inside the resultant file. When this property is set to a value from 1 to 9, the document will be split at paragraphs formatted using **Heading 1** , **Heading 2** , **Heading 3** etc. styles up to the specified heading level. By default, only **Heading 1** and **Heading 2** paragraphs cause the document to be split. Setting this property to zero (or lesser then zero) will cause the document not to be split at heading paragraphs at all. **Returns:** int ##### setSplitHeadingLevel(int value) ``` public final void setSplitHeadingLevel(int value) ``` Specifies the maximum level of headings at which to split the e-Book file. Default value is 2 . Setting it to 0 will disable splitting, so all content of the e-Book will be incorporarted into a single package inside the resultant file. When this property is set to a value from 1 to 9, the document will be split at paragraphs formatted using **Heading 1** , **Heading 2** , **Heading 3** etc. styles up to the specified heading level. By default, only **Heading 1** and **Heading 2** paragraphs cause the document to be split. Setting this property to zero (or lesser then zero) will cause the document not to be split at heading paragraphs at all. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getExportDocumentProperties() ``` public final boolean getExportDocumentProperties() ``` Specifies whether to export built-in and custom document properties in resultant file. Default value is false . **Returns:** boolean ##### setExportDocumentProperties(boolean value) ``` public final void setExportDocumentProperties(boolean value) ``` Specifies whether to export built-in and custom document properties in resultant file. Default value is false . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOutputFormat() ``` public final EBookFormats getOutputFormat() ``` Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. **Returns:** EBookFormats ##### setOutputFormat(EBookFormats value) ``` public final void setOutputFormat(EBookFormats value) ``` Specifies the format of the resultant e-Book file: IDPF ePub, MOBI, or AZW3. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | EBookFormats | | ### EmailEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/emaileditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class EmailEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents in the different electronic mail (email) formats #### Constructors | Constructor | Description | | --- | --- | | EmailEditOptions() | Initializes a new instance of the EmailEditOptions class, where all options are set to their default values | | EmailEditOptions(int mailMessageOutput) | Initializes a new instance of the EmailEditOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter | #### Methods | Method | Description | | --- | --- | | getMailMessageOutput() | Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML | | setMailMessageOutput(int value) | Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML | ##### EmailEditOptions() ``` public EmailEditOptions() ``` Initializes a new instance of the EmailEditOptions class, where all options are set to their default values ##### EmailEditOptions(int mailMessageOutput) ``` public EmailEditOptions(int mailMessageOutput) ``` Initializes a new instance of the EmailEditOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mailMessageOutput | int | The mail message output, which also can be specified through the property | ##### getMailMessageOutput() ``` public final int getMailMessageOutput() ``` Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Returns:** int ##### setMailMessageOutput(int value) ``` public final void setMailMessageOutput(int value) ``` Allows to control which parts of the mail message should be delivered to the output EditableDocument and then to the emitted HTML Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### EmailSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/emailsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class EmailSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving electronic mail (email) documents #### Constructors | Constructor | Description | | --- | --- | | EmailSaveOptions() | Initializes a new instance of the EmailSaveOptions class, where all options are set to their default values | | EmailSaveOptions(int mailMessageOutput) | Initializes a new instance of the EmailSaveOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter | #### Methods | Method | Description | | --- | --- | | getMailMessageOutput() | Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method | | setMailMessageOutput(int value) | Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method | ##### EmailSaveOptions() ``` public EmailSaveOptions() ``` Initializes a new instance of the EmailSaveOptions class, where all options are set to their default values ##### EmailSaveOptions(int mailMessageOutput) ``` public EmailSaveOptions(int mailMessageOutput) ``` Initializes a new instance of the EmailSaveOptions class with MailMessageOutput (\#getMailMessageOutput.getMailMessageOutput/\#setMailMessageOutput.setMailMessageOutput) parameter **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mailMessageOutput | int | The mail message output, which also can be specified through the property | ##### getMailMessageOutput() ``` public final int getMailMessageOutput() ``` Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Returns:** int ##### setMailMessageOutput(int value) ``` public final void setMailMessageOutput(int value) ``` Allows to control which parts of the mail message should be delivered to the output email document, which will be generated and saved with the Editor.save(EditableDocument,Stream,ISaveOptions) method Value: Flagged enum that controls the parts of the mail message, which should be processed. Default value is MailMessageOutput.All **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### FixedLayoutEditOptionsBase Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/fixedlayouteditoptionsbase.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public abstract class FixedLayoutEditOptionsBase implements IEditOptions ``` Base abstract class for the options for all documents of fixed-layout formats like PDF and XPS #### Constructors | Constructor | Description | | --- | --- | | FixedLayoutEditOptionsBase() | | #### Methods | Method | Description | | --- | --- | | getSkipImages() | Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. | | setSkipImages(boolean value) | Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. | | getPages() | Allows to set a page range to process. | | setPages(PageRange value) | Allows to set a page range to process. | | getEnablePagination() | Allows to enable (true) or disable (false) pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable (true) or disable (false) pagination in the resultant HTML document. | ##### FixedLayoutEditOptionsBase() ``` public FixedLayoutEditOptionsBase() ``` ##### getSkipImages() ``` public final boolean getSkipImages() ``` Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. Default is false - images are preserved. **Returns:** boolean ##### setSkipImages(boolean value) ``` public final void setSkipImages(boolean value) ``` Gets or sets the flag indicating whether images must be skipped while converting input fixed-layout document to the resultant HTML. Default is false - images are preserved. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPages() ``` public final PageRange getPages() ``` Allows to set a page range to process. By default all pages of a fixed-layout document are processed. **Returns:** PageRange ##### setPages(PageRange value) ``` public final void setPages(PageRange value) ``` Allows to set a page range to process. By default all pages of a fixed-layout document are processed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PageRange | | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable (true) or disable (false) pagination in the resultant HTML document. By default is disabled (false). Fixed-layout format documents (PDF and XPS in particular) in their essence are strictly paged, their content has a fixed layout and divided onto pages. But resultant editable HTML can be represented in either pageless or paginal view. **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable (true) or disable (false) pagination in the resultant HTML document. By default is disabled (false). Fixed-layout format documents (PDF and XPS in particular) in their essence are strictly paged, their content has a fixed layout and divided onto pages. But resultant editable HTML can be represented in either pageless or paginal view. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### FontEmbeddingOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/fontembeddingoptions.md **Inheritance:** java.lang.Object ``` public final class FontEmbeddingOptions ``` Font embedding options control which font resources should be embedded into the output WordProcessing document Font embedding options are applied during document saving (from intermediate EditableDocument into output WordProcessing format), this enum is included as a property in the WordProcessingSaveOptions, from where it should be used #### Fields | Field | Description | | --- | --- | | NotEmbed | Do not embed any font resource neither from EditableDocument nor from the system. | | EmbedAll | Analize document content from input EditableDocument, find all used fonts and embed them into output WordProcessing document. | | EmbedWithoutSystem | Exact to EmbedAll, but exclude those fonts, which are treated by OS as system fonts | #### Methods | Method | Description | | --- | --- | | getFontEmbeddingOptions() | | ##### NotEmbed ``` public static final int NotEmbed ``` Do not embed any font resource neither from EditableDocument nor from the system. Default value. ##### EmbedAll ``` public static final int EmbedAll ``` Analize document content from input EditableDocument, find all used fonts and embed them into output WordProcessing document. In the first place GroupDocs.Editor takes fonts from font resources within EditableDocument. If they are insufficient or missing, then GroupDocs.Editor takes fonts from OS. First of all GroupDocs.Editor analyzes a content of EditableDocument and forms a list of all used fonts. Then these fotns are searched for in the font resources of EditableDocument. If EditableDocument contains some font resources, which are not involved within document content, such resources are ignored. If there are some fonts, used in the document content, which have no corresponding font resources in EditableDocument, then GroupDocs.Editor tries to find them in the OS. This option resembles the "Embed fonts in the file" option with all sub-options turned off in Microsoft Word 2007 and higher ##### EmbedWithoutSystem ``` public static final int EmbedWithoutSystem ``` Exact to EmbedAll, but exclude those fonts, which are treated by OS as system fonts MS Windows has a concept of system fonts, which are the most basic and used fonts by Windows itself. When using this option, the GroupDocs.Editor acts like for EmbedAll case, but finally reviews a set of obtained fonts and excludes those, which are treated by OS as system fonts. This option resembles the "Embed fonts in the file" + "Do not embed common system fonts" options in Microsoft Word 2007 and higher ##### getFontEmbeddingOptions() ``` public static int[] getFontEmbeddingOptions() ``` **Returns:** int[] ### FontExtractionOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/fontextractionoptions.md **Inheritance:** java.lang.Object ``` public final class FontExtractionOptions ``` Font extraction options control which fonts should be extracted and from where #### Fields | Field | Description | | --- | --- | | NotExtract | Does not extract any font resource neither from document not from the system. | | ExtractAllEmbedded | Extracts all font resources, which are embedded into the input Word document, regardless of what they are: custom or system. | | ExtractEmbeddedWithoutSystem | Extracts only those embedded font resources, which are custom (not system) | | ExtractAll | Tries to extract all fonts, which are used in the input WordProcessing document, including system fonts. | #### Methods | Method | Description | | --- | --- | | getFontExtractionOptions() | | ##### NotExtract ``` public static final int NotExtract ``` Does not extract any font resource neither from document not from the system. Default value. ##### ExtractAllEmbedded ``` public static final int ExtractAllEmbedded ``` Extracts all font resources, which are embedded into the input Word document, regardless of what they are: custom or system. Converter finds and extracts all 100% font resources, which are embedded into the input WordProcessing document, but it doesn't determine whether they are system or custom; it doesn't touch Windows Registry or system folders at all. ##### ExtractEmbeddedWithoutSystem ``` public static final int ExtractEmbeddedWithoutSystem ``` Extracts only those embedded font resources, which are custom (not system) Converter finds and extracts all embedded font resources, and then tries to determine which of these fonts are system, and which - not. In order to achieve this, converter tries to obtain a list of all system fonts by using Windows Registry and system folders, and then compares this list with a set of embedded fonts. As a result, only subset of those embedded fonts, which were not found in system, will be returned. ##### ExtractAll ``` public static final int ExtractAll ``` Tries to extract all fonts, which are used in the input WordProcessing document, including system fonts. Converter is analyzing an input WordProcessing document and finds all fonts, which are used there. If all of these fonts are embedded into the input document, converter extracts and returns them. Otherwise, if a collection of embedded fonts doesn't cover all used fonts in the document, or is empty, converter tries to extract these font resources from system, by using Windows Registry and system folders. ##### getFontExtractionOptions() ``` public static int[] getFontExtractionOptions() ``` **Returns:** int[] ### HtmlSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/htmlsaveoptions.md **Inheritance:** java.lang.Object ``` public final class HtmlSaveOptions ``` Allows to specify custom options for saving the EditableDocument instance to the HTML format #### Constructors | Constructor | Description | | --- | --- | | HtmlSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getHtmlTagCase() | Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case | | setHtmlTagCase(int value) | Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case | | getAttributeValueDelimiter() | Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote | | setAttributeValueDelimiter(int value) | Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote | | getEmbedStylesheetsIntoMarkup() | Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) | | setEmbedStylesheetsIntoMarkup(boolean value) | Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) | | getSavingCallback() | Interface, which must be implemented by the end-user for saving all the external HTML resources | | setSavingCallback(IHtmlSavingCallback value) | Interface, which must be implemented by the end-user for saving all the external HTML resources | ##### HtmlSaveOptions() ``` public HtmlSaveOptions() ``` ##### getHtmlTagCase() ``` public final int getHtmlTagCase() ``` Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case **Returns:** int ##### setHtmlTagCase(int value) ``` public final void setHtmlTagCase(int value) ``` Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getAttributeValueDelimiter() ``` public final int getAttributeValueDelimiter() ``` Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote **Returns:** int ##### setAttributeValueDelimiter(int value) ``` public final void setAttributeValueDelimiter(int value) ``` Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getEmbedStylesheetsIntoMarkup() ``` public final boolean getEmbedStylesheetsIntoMarkup() ``` Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) **Returns:** boolean ##### setEmbedStylesheetsIntoMarkup(boolean value) ``` public final void setEmbedStylesheetsIntoMarkup(boolean value) ``` Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getSavingCallback() ``` public final IHtmlSavingCallback getSavingCallback() ``` Interface, which must be implemented by the end-user for saving all the external HTML resources **Returns:** IHtmlSavingCallback ##### setSavingCallback(IHtmlSavingCallback value) ``` public final void setSavingCallback(IHtmlSavingCallback value) ``` Interface, which must be implemented by the end-user for saving all the external HTML resources **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IHtmlSavingCallback | | ### IEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/ieditoptions.md ### IHtmlSavingCallback Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/ihtmlsavingcallback.md ### ILoadOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/iloadoptions.md ### IMarkdownImageLoadCallback Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/imarkdownimageloadcallback.md ### ISaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/isaveoptions.md ### MailMessageOutput Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/mailmessageoutput.md **Inheritance:** java.lang.Object ``` public final class MailMessageOutput ``` Controls which parts of the mail message should be delivered to the output processing #### Fields | Field | Description | | --- | --- | | None | None of the email message parts will be processed | | Body | Process body of the mail message | | Subject | Process subject of the mail message | | Date | Process date and time when message was delivered | | To | Process all recipients of the mail message | | Cc | Process all CC recipients of the mail message | | Bcc | Process all BCC recipients of the mail message | | From | Process sender of the mail message | | Attachments | Process all attachments of the mail message | | Metadata | Process all other technical metadata (sensitivity, priority, encoding, MIME, X-Mailer, etc) | | Common | Common output - body with all main metadata | | All | Full output - body with all metadata | ##### None ``` public static final int None ``` None of the email message parts will be processed ##### Body ``` public static final int Body ``` Process body of the mail message ##### Subject ``` public static final int Subject ``` Process subject of the mail message ##### Date ``` public static final int Date ``` Process date and time when message was delivered ##### To ``` public static final int To ``` Process all recipients of the mail message ##### Cc ``` public static final int Cc ``` Process all CC recipients of the mail message ##### Bcc ``` public static final int Bcc ``` Process all BCC recipients of the mail message ##### From ``` public static final int From ``` Process sender of the mail message ##### Attachments ``` public static final int Attachments ``` Process all attachments of the mail message ##### Metadata ``` public static final int Metadata ``` Process all other technical metadata (sensitivity, priority, encoding, MIME, X-Mailer, etc) ##### Common ``` public static final int Common ``` Common output - body with all main metadata ##### All ``` public static final int All ``` Full output - body with all metadata ### MarkdownEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/markdowneditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class MarkdownEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents in Markdown format. #### Constructors | Constructor | Description | | --- | --- | | MarkdownEditOptions() | Creates and returns a new instance of the MarkdownEditOptions class, where all options are set to their default values | #### Methods | Method | Description | | --- | --- | | getImageLoadCallback() | Allows to control how images are saved when converting Markdown document to Html. | | setImageLoadCallback(IMarkdownImageLoadCallback value) | Allows to control how images are saved when converting Markdown document to Html. | ##### MarkdownEditOptions() ``` public MarkdownEditOptions() ``` Creates and returns a new instance of the MarkdownEditOptions class, where all options are set to their default values ##### getImageLoadCallback() ``` public final IMarkdownImageLoadCallback getImageLoadCallback() ``` Allows to control how images are saved when converting Markdown document to Html. Value: The image saving callback. **Returns:** IMarkdownImageLoadCallback ##### setImageLoadCallback(IMarkdownImageLoadCallback value) ``` public final void setImageLoadCallback(IMarkdownImageLoadCallback value) ``` Allows to control how images are saved when converting Markdown document to Html. Value: The image saving callback. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IMarkdownImageLoadCallback | | ### MarkdownImageLoadArgs Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/markdownimageloadargs.md **Inheritance:** java.lang.Object ``` public class MarkdownImageLoadArgs ``` Provides data for the M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) event. #### Constructors | Constructor | Description | | --- | --- | | MarkdownImageLoadArgs() | | #### Methods | Method | Description | | --- | --- | | getImageFileName() | Gets or sets the file name (as is in the Markdown document) that will be process. | | setImageFileName(String value) | Gets or sets the file name (as is in the Markdown document) that will be process. | | isAbsoluteUri() | Get a value indicating whether this image has absolute URI link. | | setAbsoluteUri(boolean value) | Get a value indicating whether this image has absolute URI link. | | setData(byte[] data) | Sets user provided data of the resource which is used if M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) | ##### MarkdownImageLoadArgs() ``` public MarkdownImageLoadArgs() ``` ##### getImageFileName() ``` public final String getImageFileName() ``` Gets or sets the file name (as is in the Markdown document) that will be process. **Returns:** java.lang.String ##### setImageFileName(String value) ``` public final void setImageFileName(String value) ``` Gets or sets the file name (as is in the Markdown document) that will be process. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### isAbsoluteUri() ``` public final boolean isAbsoluteUri() ``` Get a value indicating whether this image has absolute URI link. Value: true if this image has absolute URI link; otherwise, false . **Returns:** boolean ##### setAbsoluteUri(boolean value) ``` public final void setAbsoluteUri(boolean value) ``` Get a value indicating whether this image has absolute URI link. Value: true if this image has absolute URI link; otherwise, false . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### setData(byte[] data) ``` public final void setData(byte[] data) ``` Sets user provided data of the resource which is used if M:GroupDocs.Editor.Options.IMarkdownImageLoadCallback.ProcessImage(MarkdownImageLoadArgs) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | data | byte[] | | ### MarkdownImageLoadingAction Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/markdownimageloadingaction.md **Inheritance:** java.lang.Object ``` public final class MarkdownImageLoadingAction ``` Defines the mode of image loading while opening for editing the file in Markdown format #### Fields | Field | Description | | --- | --- | | Default | GroupDocs.Editor will load this resource as usual | | Skip | GroupDocs.Editor will skip loading of this image | | UserProvided | GroupDocs.Editor will use byte array provided by user in M:GroupDocs.Editor.Options.MarkdownImageLoadArgs.SetData(System.Byte[]) as image data | ##### Default ``` public static final int Default ``` GroupDocs.Editor will load this resource as usual ##### Skip ``` public static final int Skip ``` GroupDocs.Editor will skip loading of this image ##### UserProvided ``` public static final int UserProvided ``` GroupDocs.Editor will use byte array provided by user in M:GroupDocs.Editor.Options.MarkdownImageLoadArgs.SetData(System.Byte[]) as image data ### MarkdownSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/markdownsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class MarkdownSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving Markdown documents MarkdownSaveOptions class must be applied by the user when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of Markdown format. #### Constructors | Constructor | Description | | --- | --- | | MarkdownSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | getTableContentAlignment() | Allow specifies how to align contents in tables when exporting into the Markdown format. | | setTableContentAlignment(int value) | Allow specifies how to align contents in tables when exporting into the Markdown format. | | getImagesFolder() | Specifies the physical folder where images are saved when exporting a document to the Markdown format. | | setImagesFolder(String value) | Specifies the physical folder where images are saved when exporting a document to the Markdown format. | | getExportImagesAsBase64() | Specifies whether images are saved in Base64 format to the output file. | | setExportImagesAsBase64(boolean value) | Specifies whether images are saved in Base64 format to the output file. | ##### MarkdownSaveOptions() ``` public MarkdownSaveOptions() ``` ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTableContentAlignment() ``` public final int getTableContentAlignment() ``` Allow specifies how to align contents in tables when exporting into the Markdown format. The default value is MarkdownTableContentAlignment.Auto. Value: The table content alignment **Returns:** int ##### setTableContentAlignment(int value) ``` public final void setTableContentAlignment(int value) ``` Allow specifies how to align contents in tables when exporting into the Markdown format. The default value is MarkdownTableContentAlignment.Auto. Value: The table content alignment **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImagesFolder() ``` public final String getImagesFolder() ``` Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null. If neither the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) nor ExportImagesAsBase64 (\#getExportImagesAsBase64.getExportImagesAsBase64/\#setExportImagesAsBase64(boolean).setExportImagesAsBase64(boolean)) are specified by the user, then the GroupDocs.Editor will try to determine the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) by itself and apply it on success **Returns:** java.lang.String ##### setImagesFolder(String value) ``` public final void setImagesFolder(String value) ``` Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null. If neither the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) nor ExportImagesAsBase64 (\#getExportImagesAsBase64.getExportImagesAsBase64/\#setExportImagesAsBase64(boolean).setExportImagesAsBase64(boolean)) are specified by the user, then the GroupDocs.Editor will try to determine the ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) by itself and apply it on success **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getExportImagesAsBase64() ``` public final boolean getExportImagesAsBase64() ``` Specifies whether images are saved in Base64 format to the output file. Default is false . When this property is set to true , then images data are exported directly into the image elements ! and separate files are not created. This property, if set to true , has the higher priority than the MarkdownSaveOptions.ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) property. **Returns:** boolean ##### setExportImagesAsBase64(boolean value) ``` public final void setExportImagesAsBase64(boolean value) ``` Specifies whether images are saved in Base64 format to the output file. Default is false . When this property is set to true , then images data are exported directly into the image elements ! and separate files are not created. This property, if set to true , has the higher priority than the MarkdownSaveOptions.ImagesFolder (\#getImagesFolder.getImagesFolder/\#setImagesFolder(String).setImagesFolder(String)) property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### MarkdownTableContentAlignment Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/markdowntablecontentalignment.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class MarkdownTableContentAlignment extends System.Enum ``` Allows to specify the alignment of the content of the table to be used when exporting into Markdown format. #### Fields | Field | Description | | --- | --- | | Auto | The alignment will be taken from the first paragraph in corresponding table column. | | Left | The content of tables will be aligned to the Left. | | Center | The content of tables will be aligned to the Center. | | Right | The content of tables will be aligned to the Right. | #### Methods | Method | Description | | --- | --- | | getMarkdownTableContentAlignment() | | | getMarkdownTableContentAlignments() | | ##### Auto ``` public static final int Auto ``` The alignment will be taken from the first paragraph in corresponding table column. ##### Left ``` public static final int Left ``` The content of tables will be aligned to the Left. ##### Center ``` public static final int Center ``` The content of tables will be aligned to the Center. ##### Right ``` public static final int Right ``` The content of tables will be aligned to the Right. ##### getMarkdownTableContentAlignment() ``` public static int[] getMarkdownTableContentAlignment() ``` **Returns:** int[] ##### getMarkdownTableContentAlignments() ``` public static List getMarkdownTableContentAlignments() ``` **Returns:** java.util.List ### MhtmlSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/mhtmlsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class MhtmlSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving the MHTML (MIME encapsulation of aggregate HTML documents) documents #### Constructors | Constructor | Description | | --- | --- | | MhtmlSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getExportCidUrls() | Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. | | setExportCidUrls(boolean value) | Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. | | getExportDocumentProperties() | Specifies whether to export built-in and custom document properties to MHTML. | | setExportDocumentProperties(boolean value) | Specifies whether to export built-in and custom document properties to MHTML. | | getExportLanguageInformation() | Specifies whether language information is exported to MHTML. | | setExportLanguageInformation(boolean value) | Specifies whether language information is exported to MHTML. | ##### MhtmlSaveOptions() ``` public MhtmlSaveOptions() ``` ##### getExportCidUrls() ``` public final boolean getExportCidUrls() ``` Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. Default value is false . By default, resources in MHTML documents are referenced by file name (for example, "image.png"), which are matched against "Content-Location" headers of MIME parts. This option enables an alternative method, where references to resource files are written as CID (Content-ID) URLs (for example, "cid:image.png") and are matched against "Content-ID" headers. In theory, there should be no difference between the two referencing methods and either of them should work fine in any browser or mail agent. In practice, however, some agents fail to fetch resources by file name. If your browser or mail agent refuses to load resources included in an MTHML document (doesn't show images or doesn't load CSS styles), try exporting the document with CID URLs. **Returns:** boolean ##### setExportCidUrls(boolean value) ``` public final void setExportCidUrls(boolean value) ``` Specifies whether to use CID (Content-ID) URLs to reference resources (images, fonts, CSS) included in MHTML documents. Default value is false . By default, resources in MHTML documents are referenced by file name (for example, "image.png"), which are matched against "Content-Location" headers of MIME parts. This option enables an alternative method, where references to resource files are written as CID (Content-ID) URLs (for example, "cid:image.png") and are matched against "Content-ID" headers. In theory, there should be no difference between the two referencing methods and either of them should work fine in any browser or mail agent. In practice, however, some agents fail to fetch resources by file name. If your browser or mail agent refuses to load resources included in an MTHML document (doesn't show images or doesn't load CSS styles), try exporting the document with CID URLs. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getExportDocumentProperties() ``` public final boolean getExportDocumentProperties() ``` Specifies whether to export built-in and custom document properties to MHTML. Default value is false . **Returns:** boolean ##### setExportDocumentProperties(boolean value) ``` public final void setExportDocumentProperties(boolean value) ``` Specifies whether to export built-in and custom document properties to MHTML. Default value is false . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getExportLanguageInformation() ``` public final boolean getExportLanguageInformation() ``` Specifies whether language information is exported to MHTML. Default value is false . When this property is set to true , the GroupDocs.Editor emits the lang HTML-attribute on the document elements that specify language. This can be needed to preserve language related semantics. **Returns:** boolean ##### setExportLanguageInformation(boolean value) ``` public final void setExportLanguageInformation(boolean value) ``` Specifies whether language information is exported to MHTML. Default value is false . When this property is set to true , the GroupDocs.Editor emits the lang HTML-attribute on the document elements that specify language. This can be needed to preserve language related semantics. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PageRange Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/pagerange.md **Inheritance:** java.lang.Object ``` public class PageRange ``` Encapsulates one page range, which can have open or closed bounds. By default is "fully open" - it includes all existing pages. Page numbering starts from 1, not from 0. Immutable struct, that encapsulates a page range, which is not related to any specific document, and can represent a page range for any document. #### Constructors | Constructor | Description | | --- | --- | | PageRange() | | #### Fields | Field | Description | | --- | --- | | AllPages | Represents all existing pages of a document. | #### Methods | Method | Description | | --- | --- | | getStartNumber() | Inclusive start page number, from which this page range starts. | | getEndNumber() | Exclusive end page number, until which this page range continues and on which is stops exclusively. | | getCount() | Numbers of pages within range. | | isDefault() | Indicates whether this instance represents a default "fully open" page range i.e. | | equals(PageRange other) | Detects whether this instance of PageRange is equal to specified | | fromBeginningWithCount(int pageCount) | Creates a page range, that starts from the first page and has specified amount of pages | | fromStartPageTillEnd(int startPageNumber) | Creates a page range, that starts from the specified page number and continues till the end of the document | | fromStartPageWithCount(int startPageNumber, int pageCount) | Creates a page range, that starts from the specified page number and has specified amount of pages, or unlimited page count (till the end) | | fromStartPageTillEndPage(int startPageNumber, int endPageNumber) | Creates a page range, that starts from the specified page number (inclusively) and continues until the specified page number (exclusively) | ##### PageRange() ``` public PageRange() ``` ##### AllPages ``` public static final PageRange AllPages ``` Represents all existing pages of a document. Default value. ##### getStartNumber() ``` public final int getStartNumber() ``` Inclusive start page number, from which this page range starts. If 1 - page range starts from the first page of a document **Returns:** int ##### getEndNumber() ``` public final int getEndNumber() ``` Exclusive end page number, until which this page range continues and on which is stops exclusively. If 0 - page range spreads until end of the document **Returns:** int ##### getCount() ``` public final int getCount() ``` Numbers of pages within range. If 0 - page range spreads until end of the document no matter how much pages it consists of **Returns:** int ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this instance represents a default "fully open" page range i.e. it consists all pages of a document **Returns:** boolean ##### equals(PageRange other) ``` public final boolean equals(PageRange other) ``` Detects whether this instance of PageRange is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | PageRange | Other PageRange instance to check on equality | **Returns:** boolean - true is are equal; false if are unequal ##### fromBeginningWithCount(int pageCount) ``` public static PageRange fromBeginningWithCount(int pageCount) ``` Creates a page range, that starts from the first page and has specified amount of pages **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageCount | int | Number of pages, must be strictly bigger than zero | **Returns:** PageRange - New PageRange instance ##### fromStartPageTillEnd(int startPageNumber) ``` public static PageRange fromStartPageTillEnd(int startPageNumber) ``` Creates a page range, that starts from the specified page number and continues till the end of the document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | int | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | **Returns:** PageRange - New PageRange instance ##### fromStartPageWithCount(int startPageNumber, int pageCount) ``` public static PageRange fromStartPageWithCount(int startPageNumber, int pageCount) ``` Creates a page range, that starts from the specified page number and has specified amount of pages, or unlimited page count (till the end) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | int | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | | pageCount | int | Number of pages, must be strictly bigger than zero. If zero - this means all pages till the end of a document | **Returns:** PageRange - New PageRange instance ##### fromStartPageTillEndPage(int startPageNumber, int endPageNumber) ``` public static PageRange fromStartPageTillEndPage(int startPageNumber, int endPageNumber) ``` Creates a page range, that starts from the specified page number (inclusively) and continues until the specified page number (exclusively) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startPageNumber | int | Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero | | endPageNumber | int | Page number, until which page range continues, exclusively. Page numbers are 1-based, so must be strictly bigger than zero, and also must be strictly greater than startPageNumber | **Returns:** PageRange - ### PdfCompliance Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/pdfcompliance.md **Inheritance:** java.lang.Object ``` public final class PdfCompliance ``` Specifies the PDF standards compliance level #### Fields | Field | Description | | --- | --- | | Pdf17 | PDF 1.7 (ISO 32000-1) standard | | Pdf20 | PDF 2.0 (ISO 32000-2) standard | | PdfA1a | PDF/A-1a standard. | | PdfA1b | PDF/A-1b (ISO 19005-1). | | PdfA2a | PDF/A-2a (ISO 19005-2) standard. | | PdfA2u | PDF/A-2u (ISO 19005-2) standard. | | PdfUa1 | PDF/UA-1 (ISO 14289-1) standard. | ##### Pdf17 ``` public static final int Pdf17 ``` PDF 1.7 (ISO 32000-1) standard ##### Pdf20 ``` public static final int Pdf20 ``` PDF 2.0 (ISO 32000-2) standard ##### PdfA1a ``` public static final int PdfA1a ``` PDF/A-1a standard. This level includes all the requirements of PDF/A-1b and additionally requires that document structure be included (also known as being "tagged"), with the objective of ensuring that document content can be searched and repurposed. Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. ##### PdfA1b ``` public static final int PdfA1b ``` PDF/A-1b (ISO 19005-1). PDF/A-1b has the objective of ensuring reliable reproduction of the visual appearance of the document. ##### PdfA2a ``` public static final int PdfA2a ``` PDF/A-2a (ISO 19005-2) standard. This level includes all the requirements of PDF/A-2u and additionally requires that document structure be included (also known as being "tagged"), with the objective of ensuring that document content can be searched and repurposed. Note that exporting the document structure significantly increases the memory consumption, especially for the large documents. ##### PdfA2u ``` public static final int PdfA2u ``` PDF/A-2u (ISO 19005-2) standard. PDF/A-2u has the objective of preserving document static visual appearance over time, independent of the tools and systems used for creating, storing or rendering the files. Additionally any text contained in the document can be reliably extracted as a series of Unicode codepoints. ##### PdfUa1 ``` public static final int PdfUa1 ``` PDF/UA-1 (ISO 14289-1) standard. The primary purpose of PDF/UA is to define how to represent electronic documents in the PDF format in a manner that allows the file to be accessible. ### PdfSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/pdfsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class PdfSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving PDF (Portable Document Format) documents #### Constructors | Constructor | Description | | --- | --- | | PdfSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getPassword() | Password, which will be applied to the generated PDF document as user password, required for opening. | | setPassword(String value) | Password, which will be applied to the generated PDF document as user password, required for opening. | | getCompliance() | Specifies the PDF standards compliance level for output documents. | | setCompliance(int value) | Specifies the PDF standards compliance level for output documents. | | getFontEmbedding() | Responsible for embedding font resources into resultant PDF document, which are used in the original document. | | setFontEmbedding(int value) | Responsible for embedding font resources into resultant PDF document, which are used in the original document. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | ##### PdfSaveOptions() ``` public PdfSaveOptions() ``` ##### getPassword() ``` public final String getPassword() ``` Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit). By default is NULL \\u2014 password is not applied. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit). By default is NULL \\u2014 password is not applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getCompliance() ``` public final int getCompliance() ``` Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf17. **Returns:** int ##### setCompliance(int value) ``` public final void setCompliance(int value) ``` Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf17. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getFontEmbedding() ``` public final int getFontEmbedding() ``` Responsible for embedding font resources into resultant PDF document, which are used in the original document. By default doesn't embed any fonts (NotEmbed). **Returns:** int ##### setFontEmbedding(int value) ``` public final void setFontEmbedding(int value) ``` Responsible for embedding font resources into resultant PDF document, which are used in the original document. By default doesn't embed any fonts (NotEmbed). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PresentationEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/presentationeditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class PresentationEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents of all supportable Presentation (PowerPoint-compatible) formats #### Constructors | Constructor | Description | | --- | --- | | PresentationEditOptions() | | #### Methods | Method | Description | | --- | --- | | getSlideNumber() | Allows to specify the slide numbers, which should be opened for editing | | setSlideNumber(int value) | Allows to specify the slide numbers, which should be opened for editing | | getShowHiddenSlides() | Specifies whether the hidden slides should be included or not. | | setShowHiddenSlides(boolean value) | Specifies whether the hidden slides should be included or not. | ##### PresentationEditOptions() ``` public PresentationEditOptions() ``` ##### getSlideNumber() ``` public final int getSlideNumber() ``` Allows to specify the slide numbers, which should be opened for editing Slide number is a zero-based index of a slide, that allows to specify and select one particular slide from a presentation to edit. If lesser then 0, the first slide will be selected (same as SlideNumber = 0). If greater then amount of all slides in presentation, the last slide will be selected. If input presentation contains only single slide, this option will be ignored, and this single slide will be edited. If trying to open for editing a hidden slide, while ShowHiddenSlides (\#getShowHiddenSlides.getShowHiddenSlides/\#setShowHiddenSlides(boolean).setShowHiddenSlides(boolean)) option is set to 'false', the exception will be thrown. **Returns:** int ##### setSlideNumber(int value) ``` public final void setSlideNumber(int value) ``` Allows to specify the slide numbers, which should be opened for editing Slide number is a zero-based index of a slide, that allows to specify and select one particular slide from a presentation to edit. If lesser then 0, the first slide will be selected (same as SlideNumber = 0). If greater then amount of all slides in presentation, the last slide will be selected. If input presentation contains only single slide, this option will be ignored, and this single slide will be edited. If trying to open for editing a hidden slide, while ShowHiddenSlides (\#getShowHiddenSlides.getShowHiddenSlides/\#setShowHiddenSlides(boolean).setShowHiddenSlides(boolean)) option is set to 'false', the exception will be thrown. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getShowHiddenSlides() ``` public final boolean getShowHiddenSlides() ``` Specifies whether the hidden slides should be included or not. Default is false - hidden slides are not shown and exception will be thrown while trying to edit them. **Returns:** boolean ##### setShowHiddenSlides(boolean value) ``` public final void setShowHiddenSlides(boolean value) ``` Specifies whether the hidden slides should be included or not. Default is false - hidden slides are not shown and exception will be thrown while trying to edit them. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PresentationLoadOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/presentationloadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ILoadOptions ``` public class PresentationLoadOptions implements ILoadOptions ``` Allows to specify custom options for loading documents of all supportable Presentation formats like PPT(X), PPTM, PPS(X) etc. #### Constructors | Constructor | Description | | --- | --- | | PresentationLoadOptions() | | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. | ##### PresentationLoadOptions() ``` public PresentationLoadOptions() ``` ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. Set to NULL or empty string in order to remove the password. By default this property has NULL value \\u2014 password is not set. If input Presentation document is password-protected, the password is mandatory and an exception will be thrown if password is not specified or is invalid. If input Presentation document is NOT password-protected, but password is set, it will be ignored. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for opening the Presentation document, if it is encoded. Set to NULL or empty string in order to remove the password. By default this property has NULL value \\u2014 password is not set. If input Presentation document is password-protected, the password is mandatory and an exception will be thrown if password is not specified or is invalid. If input Presentation document is NOT password-protected, but password is set, it will be ignored. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### PresentationSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/presentationsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class PresentationSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving Presentation (PowerPoint-compatible) documents #### Constructors | Constructor | Description | | --- | --- | | PresentationSaveOptions() | This parameterless constructor creates a new instance of PresentationSaveOptions with PPTX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(PresentationFormats).setOutputFormat(PresentationFormats)) property) | | PresentationSaveOptions(PresentationFormats outputFormat) | Creates a new instance of PresentationSaveOptions with specified mandatory Presentation output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. | | getSlideNumber() | Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). | | setSlideNumber(int value) | Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). | | getInsertAsNewSlide() | Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. | | setInsertAsNewSlide(boolean value) | Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. | | getOutputFormat() | Allows to specify a Presentation format, which will be used for saving the document | | setOutputFormat(PresentationFormats value) | Allows to specify a Presentation format, which will be used for saving the document | ##### PresentationSaveOptions() ``` public PresentationSaveOptions() ``` This parameterless constructor creates a new instance of PresentationSaveOptions with PPTX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(PresentationFormats).setOutputFormat(PresentationFormats)) property) ##### PresentationSaveOptions(PresentationFormats outputFormat) ``` public PresentationSaveOptions(PresentationFormats outputFormat) ``` Creates a new instance of PresentationSaveOptions with specified mandatory Presentation output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | PresentationFormats | Mandatory output format, in which the Presentation document should be saved | ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. By default is NULL - password will not be set. Set to NULL or empty string in order to remove the password, if it was set previously. **Returns:** java.lang.String - ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. By default is NULL - password will not be set. Set to NULL or empty string in order to remove the password, if it was set previously. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getSlideNumber() ``` public final int getSlideNumber() ``` Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). Slide number is a 1-based number of a slide in the presentation, loaded in the Editor class. If it is 0 (default value), the new presentation will be created with single edited slide. If it is greater or lesser then zero, and there is valid presentation, loaded in the Editor class, the edited slide, stored inside input EditableDocument instance, will be inserted into this presentation. > ``` > Given presentation has 5 slides: > SlideNumber = 0; \u2014 ignore given presentation, create a new presentation and put edited slide into it. > SlideNumber = 1; \u2014 replace the first slide with edited > SlideNumber = 2; \u2014 replace the second slide with edited > SlideNumber = 5; \u2014 replace the last (5th) slide with edited > SlideNumber = 6; \u2014 replace the last (5th) slide with edited, because 6 is greater then 5 and thus is adjusted > SlideNumber = -1; \u2014 replace the last (5th) slide with edited, because "-1" means "last existing" > SlideNumber = -2; \u2014 replace the 4th slide with edited > SlideNumber = -3; \u2014 replace the 3rd slide with edited > SlideNumber = -4; \u2014 replace the 2nd slide with edited > SlideNumber = -5; \u2014 replace the first slide with edited > SlideNumber = -6; \u2014 replace the first slide with edited, because "-6" is greater then 5 and thus is adjusted > ``` *SlideNumber* integer property, if it is not in default state (reserved value '0'), represents a slide number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last slide. Negative values are also allowed and count slides from end. For example, "-1" implies last slide in a presentation, "-2" \\u2014 last but one, etc. Like with positive values, when negative slide number exceeds the total count of slides in the given presentation, it will be adjusted to the first slide. The InsertAsNewSlide (\#getInsertAsNewSlide.getInsertAsNewSlide/\#setInsertAsNewSlide(boolean).setInsertAsNewSlide(boolean)) boolean property is tightly coupled with this one. **Returns:** int ##### setSlideNumber(int value) ``` public final void setSlideNumber(int value) ``` Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). Slide number is a 1-based number of a slide in the presentation, loaded in the Editor class. If it is 0 (default value), the new presentation will be created with single edited slide. If it is greater or lesser then zero, and there is valid presentation, loaded in the Editor class, the edited slide, stored inside input EditableDocument instance, will be inserted into this presentation. > ``` > Given presentation has 5 slides: > SlideNumber = 0; \u2014 ignore given presentation, create a new presentation and put edited slide into it. > SlideNumber = 1; \u2014 replace the first slide with edited > SlideNumber = 2; \u2014 replace the second slide with edited > SlideNumber = 5; \u2014 replace the last (5th) slide with edited > SlideNumber = 6; \u2014 replace the last (5th) slide with edited, because 6 is greater then 5 and thus is adjusted > SlideNumber = -1; \u2014 replace the last (5th) slide with edited, because "-1" means "last existing" > SlideNumber = -2; \u2014 replace the 4th slide with edited > SlideNumber = -3; \u2014 replace the 3rd slide with edited > SlideNumber = -4; \u2014 replace the 2nd slide with edited > SlideNumber = -5; \u2014 replace the first slide with edited > SlideNumber = -6; \u2014 replace the first slide with edited, because "-6" is greater then 5 and thus is adjusted > ``` *SlideNumber* integer property, if it is not in default state (reserved value '0'), represents a slide number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last slide. Negative values are also allowed and count slides from end. For example, "-1" implies last slide in a presentation, "-2" \\u2014 last but one, etc. Like with positive values, when negative slide number exceeds the total count of slides in the given presentation, it will be adjusted to the first slide. The InsertAsNewSlide (\#getInsertAsNewSlide.getInsertAsNewSlide/\#setInsertAsNewSlide(boolean).setInsertAsNewSlide(boolean)) boolean property is tightly coupled with this one. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getInsertAsNewSlide() ``` public final boolean getInsertAsNewSlide() ``` Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. By default is false \\u2014 existing slide will be replaced. This property is ignored, if value of SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property is set to '0'. By default slide is replaced. This means that if given presentation has 5 slides, and SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int))=4, then 4th slide will be replaced with the new edited slide, while the total amount of slides in presentation (5) will remain untouched. However, if value of this property is set to *true* , the new edited slide will be injected as 4th slide, and all subsequent slides wil be shifter to the end: "old" 4th slide becomes 5th, and 5th becomes 6th, and the total amount of slides in presentation will be incremented by one and equal to 6. **Returns:** boolean ##### setInsertAsNewSlide(boolean value) ``` public final void setInsertAsNewSlide(boolean value) ``` Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. By default is false \\u2014 existing slide will be replaced. This property is ignored, if value of SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property is set to '0'. By default slide is replaced. This means that if given presentation has 5 slides, and SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int))=4, then 4th slide will be replaced with the new edited slide, while the total amount of slides in presentation (5) will remain untouched. However, if value of this property is set to *true* , the new edited slide will be injected as 4th slide, and all subsequent slides wil be shifter to the end: "old" 4th slide becomes 5th, and 5th becomes 6th, and the total amount of slides in presentation will be incremented by one and equal to 6. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOutputFormat() ``` public final PresentationFormats getOutputFormat() ``` Allows to specify a Presentation format, which will be used for saving the document Output format is usually set in the constructor of this class, because it is mandatory. This property allows to obtain or modify the output format later, when instance of PresentationSaveOptions class was already created. **Returns:** PresentationFormats ##### setOutputFormat(PresentationFormats value) ``` public final void setOutputFormat(PresentationFormats value) ``` Allows to specify a Presentation format, which will be used for saving the document Output format is usually set in the constructor of this class, because it is mandatory. This property allows to obtain or modify the output format later, when instance of PresentationSaveOptions class was already created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PresentationFormats | | ### SpreadsheetEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/spreadsheeteditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class SpreadsheetEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents of all supportable Spreadsheet (Excel-compatible) formats #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetEditOptions() | | #### Methods | Method | Description | | --- | --- | | getWorksheetIndex() | Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). | | setWorksheetIndex(int value) | Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). | | getExcludeHiddenWorksheets() | Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. | | setExcludeHiddenWorksheets(boolean value) | Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. | ##### SpreadsheetEditOptions() ``` public SpreadsheetEditOptions() ``` ##### getWorksheetIndex() ``` public final int getWorksheetIndex() ``` Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). Most of Spreadsheet documents support a concept of tabs, i.e. they can be multi-tabbed. On the other hand, HTML format doesn't support such structure. Because of this GroupDocs.Editor can convert to the HTML only one specific tab of the input document, and this option allows to specify it. Tab index is 0-based, negative values are prohibited. If specified index exceeds the number of all tabs, the exception will be thrown. If input Spreadsheet document contains only one tab, this option will be ignored. Default value is 0 (first tab). **Returns:** int ##### setWorksheetIndex(int value) ``` public final void setWorksheetIndex(int value) ``` Allows to specify the 0-based index of the worksheet (tab) of the input Spreadsheet document, which should be converted to the HTML (see remarks). Most of Spreadsheet documents support a concept of tabs, i.e. they can be multi-tabbed. On the other hand, HTML format doesn't support such structure. Because of this GroupDocs.Editor can convert to the HTML only one specific tab of the input document, and this option allows to specify it. Tab index is 0-based, negative values are prohibited. If specified index exceeds the number of all tabs, the exception will be thrown. If input Spreadsheet document contains only one tab, this option will be ignored. Default value is 0 (first tab). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getExcludeHiddenWorksheets() ``` public final boolean getExcludeHiddenWorksheets() ``` Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. Default is false - hidden worksheets are available and processed as normal. Several binary Spreadsheet formats (like XLSX) support hidden worksheets (tabs) concept. Document of such format, if it has more then one worksheet, may contain additional hidden worksheets. By default such hidden worksheets are available for processing, but with this option it is able to ignore them, like these hidden worksheets are absent and don't exist. When this option is enabled, you cannot select hidden worksheet with the ' WorksheetIndex (\#getWorksheetIndex.getWorksheetIndex/\#setWorksheetIndex(int).setWorksheetIndex(int))' property. **Returns:** boolean ##### setExcludeHiddenWorksheets(boolean value) ``` public final void setExcludeHiddenWorksheets(boolean value) ``` Allows to exclude hidden worksheets in the input Spreadsheet document, so they will be totally ignored. Default is false - hidden worksheets are available and processed as normal. Several binary Spreadsheet formats (like XLSX) support hidden worksheets (tabs) concept. Document of such format, if it has more then one worksheet, may contain additional hidden worksheets. By default such hidden worksheets are available for processing, but with this option it is able to ignore them, like these hidden worksheets are absent and don't exist. When this option is enabled, you cannot select hidden worksheet with the ' WorksheetIndex (\#getWorksheetIndex.getWorksheetIndex/\#setWorksheetIndex(int).setWorksheetIndex(int))' property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### SpreadsheetLoadOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/spreadsheetloadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ILoadOptions ``` public final class SpreadsheetLoadOptions implements ILoadOptions ``` Contains options for loading binary Spreadsheet (Cells, Excel-compatible) documents like XLS(X), ODS etc. into Editor class #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetLoadOptions() | Default parameterless constructor - all parameters have default values | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. | ##### SpreadsheetLoadOptions() ``` public SpreadsheetLoadOptions() ``` Default parameterless constructor - all parameters have default values ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### SpreadsheetSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/spreadsheetsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class SpreadsheetSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving Spreadsheet (Excel-compliant) documents #### Constructors | Constructor | Description | | --- | --- | | SpreadsheetSaveOptions() | This parameterless constructor creates a new instance of SpreadsheetSaveOptions with XLSX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(SpreadsheetFormats).setOutputFormat(SpreadsheetFormats)) property) | | SpreadsheetSaveOptions(SpreadsheetFormats outputFormat) | Creates a new instance of SpreadsheetSaveOptions with specified mandatory Spreadsheet output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. | | setPassword(String value) | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. | | getWorksheetNumber() | Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). | | setWorksheetNumber(int value) | Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). | | getInsertAsNewWorksheet() | Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. | | setInsertAsNewWorksheet(boolean value) | Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. | | getOutputFormat() | Allows to specify a Spreadsheet format, which will be used for saving the document | | setOutputFormat(SpreadsheetFormats value) | Allows to specify a Spreadsheet format, which will be used for saving the document | | getWorksheetProtection() | Allows to enable a worksheet protection for the output Spreadsheet document. | | setWorksheetProtection(WorksheetProtection value) | Allows to enable a worksheet protection for the output Spreadsheet document. | ##### SpreadsheetSaveOptions() ``` public SpreadsheetSaveOptions() ``` This parameterless constructor creates a new instance of SpreadsheetSaveOptions with XLSX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(SpreadsheetFormats).setOutputFormat(SpreadsheetFormats)) property) ##### SpreadsheetSaveOptions(SpreadsheetFormats outputFormat) ``` public SpreadsheetSaveOptions(SpreadsheetFormats outputFormat) ``` Creates a new instance of SpreadsheetSaveOptions with specified mandatory Spreadsheet output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | SpreadsheetFormats | Mandatory output format, in which the Spreadsheet document should be saved | ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. Specify NULL or empty string for removing (cleaning) the password. **Returns:** java.lang.String - ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document format supports password protection. Specify NULL or empty string for removing (cleaning) the password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getWorksheetNumber() ``` public final int getWorksheetNumber() ``` Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). WorksheetNumber is a 1-based number of a worksheet in the spreadsheet, loaded in the Editor class. If it is 0 (default value), the new spreadsheet will be created with single edited worksheet. If it is greater or lesser then zero, and there is valid spreadsheet, loaded in the Editor class, the edited worksheet, that is represented by input EditableDocument instance, will be inserted into this spreadsheet. > ``` > Given spreadsheet has 5 worksheets: > WorksheetNumber = 0; \u2014 ignore given spreadsheet, create a new spreadsheet and put edited worksheet into it. > WorksheetNumber = 1; \u2014 replace the first worksheet with edited > WorksheetNumber = 2; \u2014 replace the second worksheet with edited > WorksheetNumber = 5; \u2014 replace the last (5th) worksheet with edited > WorksheetNumber = 6; \u2014 replace the last (5th) worksheet with edited, because 6 is greater then 5 and thus is adjusted > WorksheetNumber = -1; \u2014 replace the last (5th) worksheet with edited, because "-1" means "last existing" > WorksheetNumber = -2; \u2014 replace the 4th worksheet with edited > WorksheetNumber = -3; \u2014 replace the 3rd worksheet with edited > WorksheetNumber = -4; \u2014 replace the 2nd worksheet with edited > WorksheetNumber = -5; \u2014 replace the first worksheet with edited > WorksheetNumber = -6; \u2014 replace the first worksheet with edited, because "-6" is greater then 5 and thus is adjusted > ``` *WorksheetNumber* integer property, if it is not in default state (reserved value '0'), represents a worksheet number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last worksheet. Negative values are also allowed and count worksheets from end. For example, "-1" implies last worksheet in a spreadsheet, "-2" \\u2014 last but one, etc. Like with positive values, when negative worksheet number exceeds the total count of worksheets in the given spreadsheet, it will be adjusted to the first worksheet. The InsertAsNewWorksheet (\#getInsertAsNewWorksheet.getInsertAsNewWorksheet/\#setInsertAsNewWorksheet(boolean).setInsertAsNewWorksheet(boolean)) boolean property is tightly coupled with this one. **Returns:** int - ##### setWorksheetNumber(int value) ``` public final void setWorksheetNumber(int value) ``` Allows to insert edited worksheet into copy of existing spreadsheet instead of creating a new single-worksheet spreadsheet (default behavior). WorksheetNumber is a 1-based number of a worksheet in the spreadsheet, loaded in the Editor class. If it is 0 (default value), the new spreadsheet will be created with single edited worksheet. If it is greater or lesser then zero, and there is valid spreadsheet, loaded in the Editor class, the edited worksheet, that is represented by input EditableDocument instance, will be inserted into this spreadsheet. > ``` > Given spreadsheet has 5 worksheets: > WorksheetNumber = 0; \u2014 ignore given spreadsheet, create a new spreadsheet and put edited worksheet into it. > WorksheetNumber = 1; \u2014 replace the first worksheet with edited > WorksheetNumber = 2; \u2014 replace the second worksheet with edited > WorksheetNumber = 5; \u2014 replace the last (5th) worksheet with edited > WorksheetNumber = 6; \u2014 replace the last (5th) worksheet with edited, because 6 is greater then 5 and thus is adjusted > WorksheetNumber = -1; \u2014 replace the last (5th) worksheet with edited, because "-1" means "last existing" > WorksheetNumber = -2; \u2014 replace the 4th worksheet with edited > WorksheetNumber = -3; \u2014 replace the 3rd worksheet with edited > WorksheetNumber = -4; \u2014 replace the 2nd worksheet with edited > WorksheetNumber = -5; \u2014 replace the first worksheet with edited > WorksheetNumber = -6; \u2014 replace the first worksheet with edited, because "-6" is greater then 5 and thus is adjusted > ``` *WorksheetNumber* integer property, if it is not in default state (reserved value '0'), represents a worksheet number, so it starts from 1, not from zero, and its max value is the amount of all existing slides in a presentation. However, if specified value is greater then amount of all slides, GroupDocs.Editor will adjust it to mark the last worksheet. Negative values are also allowed and count worksheets from end. For example, "-1" implies last worksheet in a spreadsheet, "-2" \\u2014 last but one, etc. Like with positive values, when negative worksheet number exceeds the total count of worksheets in the given spreadsheet, it will be adjusted to the first worksheet. The InsertAsNewWorksheet (\#getInsertAsNewWorksheet.getInsertAsNewWorksheet/\#setInsertAsNewWorksheet(boolean).setInsertAsNewWorksheet(boolean)) boolean property is tightly coupled with this one. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getInsertAsNewWorksheet() ``` public final boolean getInsertAsNewWorksheet() ``` Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. By default is false \\u2014 existing worksheet will be replaced. This property is ignored, if value of WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property is set to '0'. By default worksheet is replaced. This means that if given spreadsheet has 5 worksheets, and WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int))=4, then 4th worksheet will be replaced with the new edited worksheet, while the total amount of worksheets in spreadsheet (5) will remain untouched. However, if value of this property is set to *true* , the new edited worksheet will be injected as 4th worksheet, and all subsequent worksheets will be shifted to the end: "old" 4th worksheet becomes 5th, and 5th becomes 6th, and the total amount of worksheets in spreadsheet will be incremented by one and equal to 6. **Returns:** boolean - ##### setInsertAsNewWorksheet(boolean value) ``` public final void setInsertAsNewWorksheet(boolean value) ``` Boolean flag, which specifies whether edited worksheet should replace the existing worksheet in original spreadsheet on the position, specified by the WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property, or it should be injected between existing worksheet and previous one, without replacing its content. By default is false \\u2014 existing worksheet will be replaced. This property is ignored, if value of WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int)) property is set to '0'. By default worksheet is replaced. This means that if given spreadsheet has 5 worksheets, and WorksheetNumber (\#getWorksheetNumber.getWorksheetNumber/\#setWorksheetNumber(int).setWorksheetNumber(int))=4, then 4th worksheet will be replaced with the new edited worksheet, while the total amount of worksheets in spreadsheet (5) will remain untouched. However, if value of this property is set to *true* , the new edited worksheet will be injected as 4th worksheet, and all subsequent worksheets will be shifted to the end: "old" 4th worksheet becomes 5th, and 5th becomes 6th, and the total amount of worksheets in spreadsheet will be incremented by one and equal to 6. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getOutputFormat() ``` public final SpreadsheetFormats getOutputFormat() ``` Allows to specify a Spreadsheet format, which will be used for saving the document **Returns:** SpreadsheetFormats - ##### setOutputFormat(SpreadsheetFormats value) ``` public final void setOutputFormat(SpreadsheetFormats value) ``` Allows to specify a Spreadsheet format, which will be used for saving the document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | SpreadsheetFormats | | ##### getWorksheetProtection() ``` public final WorksheetProtection getWorksheetProtection() ``` Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied. Not all formats support a worksheet protection. **Returns:** WorksheetProtection - ##### setWorksheetProtection(WorksheetProtection value) ``` public final void setWorksheetProtection(WorksheetProtection value) ``` Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied. Not all formats support a worksheet protection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WorksheetProtection | | ### TextDirection Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/textdirection.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum ``` public final class TextDirection extends System.Enum ``` Represents 3 possible variants how to treat text direction in the plain text documents #### Fields | Field | Description | | --- | --- | | LeftToRight | Left-to-Right direction, usual text, default value. | | RightToLeft | Right-to-Left direction | | Auto | Auto-detect direction. | #### Methods | Method | Description | | --- | --- | | getTextDirection() | | ##### LeftToRight ``` public static final int LeftToRight ``` Left-to-Right direction, usual text, default value. ##### RightToLeft ``` public static final int RightToLeft ``` Right-to-Left direction ##### Auto ``` public static final int Auto ``` Auto-detect direction. When this option is selected and text contains characters belonging to RTL scripts, the document direction will be set automatically to RTL. ##### getTextDirection() ``` public static int[] getTextDirection() ``` **Returns:** int[] ### TextEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/texteditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class TextEditOptions implements IEditOptions ``` Allows to specify custom options for loading plain text (TXT) documents #### Constructors | Constructor | Description | | --- | --- | | TextEditOptions() | | #### Methods | Method | Description | | --- | --- | | getEncoding() | Character encoding of the text document, which will be applied for its opening | | setEncoding(Charset value) | Character encoding of the text document, which will be applied for its opening | | getRecognizeLists() | Allows to specify how numbered list items are recognized when document is imported from plain text format. | | setRecognizeLists(boolean value) | Allows to specify how numbered list items are recognized when document is imported from plain text format. | | getLeadingSpaces() | Gets or sets preferred option of a leading space handling. | | setLeadingSpaces(int value) | Gets or sets preferred option of a leading space handling. | | getTrailingSpaces() | Gets or sets preferred option of a trailing space handling. | | setTrailingSpaces(int value) | Gets or sets preferred option of a trailing space handling. | | getEnablePagination() | Allows to enable or disable pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination in the resultant HTML document. | | getDirection() | Allows to specify the direction of text flow in the input plain text document. | | setDirection(int value) | Allows to specify the direction of text flow in the input plain text document. | ##### TextEditOptions() ``` public TextEditOptions() ``` ##### getEncoding() ``` public final Charset getEncoding() ``` Character encoding of the text document, which will be applied for its opening **Returns:** java.nio.charset.Charset ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Character encoding of the text document, which will be applied for its opening **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getRecognizeLists() ``` public final boolean getRecognizeLists() ``` Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true. If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. **Returns:** boolean ##### setRecognizeLists(boolean value) ``` public final void setRecognizeLists(boolean value) ``` Allows to specify how numbered list items are recognized when document is imported from plain text format. The default value is true. If this option is set to false, lists recognition algorithm detects list paragraphs, when list numbers ends with either dot, right bracket or bullet symbols (such as "\\u2022", "\*", "-" or "o"). If this option is set to true, whitespaces are also used as list number delimiters: list recognition algorithm for Arabic style numbering (1., 1.1.2.) uses both whitespaces and dot (".") symbols. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getLeadingSpaces() ``` public final int getLeadingSpaces() ``` Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent. **Returns:** int ##### setLeadingSpaces(int value) ``` public final void setLeadingSpaces(int value) ``` Gets or sets preferred option of a leading space handling. By default converts leading spaces to the left indent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTrailingSpaces() ``` public final int getTrailingSpaces() ``` Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces. **Returns:** int ##### setTrailingSpaces(int value) ``` public final void setTrailingSpaces(int value) ``` Gets or sets preferred option of a trailing space handling. By default truncates all trailing spaces. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getDirection() ``` public final int getDirection() ``` Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right. **Returns:** int ##### setDirection(int value) ``` public final void setDirection(int value) ``` Allows to specify the direction of text flow in the input plain text document. By default is Left-to-Right. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### TextLeadingSpacesOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/textleadingspacesoptions.md **Inheritance:** java.lang.Object ``` public final class TextLeadingSpacesOptions ``` Contains available options for leading space handling during opening plain text document (TXT) #### Fields | Field | Description | | --- | --- | | ConvertToIndent | Convert one or more consecutive spaces to the left indent. | | Preserve | Pass all leading spaces to the output HTML "as is", without touching them | | Trim | Trim (truncate) all leading spaces completely | ##### ConvertToIndent ``` public static final int ConvertToIndent ``` Convert one or more consecutive spaces to the left indent. Default value. ##### Preserve ``` public static final int Preserve ``` Pass all leading spaces to the output HTML "as is", without touching them ##### Trim ``` public static final int Trim ``` Trim (truncate) all leading spaces completely ### TextSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/textsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class TextSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving plain text (TXT) documents #### Constructors | Constructor | Description | | --- | --- | | TextSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getEncoding() | Character encoding of the text document, which will be applied for its saving | | setEncoding(Charset value) | Character encoding of the text document, which will be applied for its saving | | getAddBidiMarks() | Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format. | | setAddBidiMarks(boolean value) | Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format | | getPreserveTableLayout() | Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. | | setPreserveTableLayout(boolean value) | Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. | ##### TextSaveOptions() ``` public TextSaveOptions() ``` ##### getEncoding() ``` public final Charset getEncoding() ``` Character encoding of the text document, which will be applied for its saving **Returns:** java.nio.charset.Charset - ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Character encoding of the text document, which will be applied for its saving **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getAddBidiMarks() ``` public final boolean getAddBidiMarks() ``` Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format. Default is 'false' \\u2014 do not add BiDi marks. **Returns:** boolean - ##### setAddBidiMarks(boolean value) ``` public final void setAddBidiMarks(boolean value) ``` Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPreserveTableLayout() ``` public final boolean getPreserveTableLayout() ``` Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false. **Returns:** boolean - ##### setPreserveTableLayout(boolean value) ``` public final void setPreserveTableLayout(boolean value) ``` Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### TextTrailingSpacesOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/texttrailingspacesoptions.md **Inheritance:** java.lang.Object ``` public final class TextTrailingSpacesOptions ``` Contains available options for trailing space handling during opening plain text document (TXT) #### Fields | Field | Description | | --- | --- | | Trim | Trim (truncate) all trailing spaces completely. | | Preserve | Pass all trailing spaces to the output HTML "as is", without touching them | ##### Trim ``` public static final int Trim ``` Trim (truncate) all trailing spaces completely. Default value. ##### Preserve ``` public static final int Preserve ``` Pass all trailing spaces to the output HTML "as is", without touching them ### WebFont Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/webfont.md **Inheritance:** java.lang.Object ``` public final class WebFont ``` Represents a font settings for the web #### Methods | Method | Description | | --- | --- | | getColor() | Font color in ARGB32 format | | setColor(ArgbColor value) | Font color in ARGB32 format | | getWeight() | Sets the weight (or boldness) of the font | | setWeight(FontWeight value) | Sets the weight (or boldness) of the font | | getStyle() | Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. | | setStyle(FontStyle value) | Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. | | getLine() | Sets a line or combination of lines, applied to the text | | setLine(TextDecorationLineType value) | Sets a line or combination of lines, applied to the text | | getSize() | Sets the size of the font in absolute or relative units | | setSize(FontSize value) | Sets the size of the font in absolute or relative units | | getName() | Sets the font name. | | setName(String value) | Sets the font name. | | deepClone() | Creates and returns a full deep copy of this WebFont instance | | equals(WebFont other) | Determines whether this instance of WebFont is equal to specified | | equals(Object obj) | Determines whether this instance of WebFont is equal to specified uncasted object | ##### getColor() ``` public final ArgbColor getColor() ``` Font color in ARGB32 format **Returns:** ArgbColor ##### setColor(ArgbColor value) ``` public final void setColor(ArgbColor value) ``` Font color in ARGB32 format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ArgbColor | | ##### getWeight() ``` public final FontWeight getWeight() ``` Sets the weight (or boldness) of the font **Returns:** FontWeight ##### setWeight(FontWeight value) ``` public final void setWeight(FontWeight value) ``` Sets the weight (or boldness) of the font **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FontWeight | | ##### getStyle() ``` public final FontStyle getStyle() ``` Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. **Returns:** FontStyle ##### setStyle(FontStyle value) ``` public final void setStyle(FontStyle value) ``` Sets whether a font should be styled with a normal, italic, or oblique face from its font-family. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FontStyle | | ##### getLine() ``` public final TextDecorationLineType getLine() ``` Sets a line or combination of lines, applied to the text **Returns:** TextDecorationLineType ##### setLine(TextDecorationLineType value) ``` public final void setLine(TextDecorationLineType value) ``` Sets a line or combination of lines, applied to the text **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TextDecorationLineType | | ##### getSize() ``` public final FontSize getSize() ``` Sets the size of the font in absolute or relative units **Returns:** FontSize ##### setSize(FontSize value) ``` public final void setSize(FontSize value) ``` Sets the size of the font in absolute or relative units **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FontSize | | ##### getName() ``` public final String getName() ``` Sets the font name. If not specified, the default font will be used **Returns:** java.lang.String ##### setName(String value) ``` public final void setName(String value) ``` Sets the font name. If not specified, the default font will be used **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### deepClone() ``` public final WebFont deepClone() ``` Creates and returns a full deep copy of this WebFont instance **Returns:** WebFont - New WebFont instance, that is a full and deep copy of this one ##### equals(WebFont other) ``` public final boolean equals(WebFont other) ``` Determines whether this instance of WebFont is equal to specified **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | WebFont | Another WebFont to check equality, may be NULL | **Returns:** boolean - true if equal, false if unequal ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether this instance of WebFont is equal to specified uncasted object **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | Object, that is expected to be a WebFont instance | **Returns:** boolean - true if equal, false if unequal ### WordProcessingEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/wordprocessingeditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class WordProcessingEditOptions implements IEditOptions ``` Allows to specify custom options for editing documents of all supportable WordProcessing (Words-compliant) formats like DOC(X), RTF, ODT etc. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingEditOptions() | Creates and returns a new instance of the WordProcessingEditOptions class, where all options are set to their default values | | WordProcessingEditOptions(boolean enablePagination) | Creates and returns a new instance of the WordProcessingEditOptions class with specified pagination and default all other options | #### Methods | Method | Description | | --- | --- | | getEnablePagination() | Allows to enable or disable pagination in the resultant HTML document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination in the resultant HTML document. | | getEnableLanguageInformation() | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | | setEnableLanguageInformation(boolean value) | Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. | | getExtractOnlyUsedFont() | Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. | | setExtractOnlyUsedFont(boolean value) | Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. | | getFontExtraction() | Responsible for extracting font resources, which are used in the input WordProcessing document. | | setFontExtraction(int value) | Responsible for extracting font resources, which are used in the input WordProcessing document. | | getInputControlsClassName() | Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. | | setInputControlsClassName(String value) | Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. | | getUseInlineStyles() | Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). | | setUseInlineStyles(boolean value) | Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). | ##### WordProcessingEditOptions() ``` public WordProcessingEditOptions() ``` Creates and returns a new instance of the WordProcessingEditOptions class, where all options are set to their default values ##### WordProcessingEditOptions(boolean enablePagination) ``` public WordProcessingEditOptions(boolean enablePagination) ``` Creates and returns a new instance of the WordProcessingEditOptions class with specified pagination and default all other options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | enablePagination | boolean | Pagination flag, that enables HTML output, adjusted for paged mode | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Returns:** boolean ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination in the resultant HTML document. By default is disabled (false). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getEnableLanguageInformation() ``` public final boolean getEnableLanguageInformation() ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false). **Returns:** boolean ##### setEnableLanguageInformation(boolean value) ``` public final void setEnableLanguageInformation(boolean value) ``` Specifies whether language information is exported to the HTML markup in a form of 'lang' HTML attributes. This option may be useful for roundtrip conversion of the multi-language documents. By default it is disabled (false). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getExtractOnlyUsedFont() ``` public final boolean getExtractOnlyUsedFont() ``` Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. Value: true if it is required to extract only those font resources, which are used in text content of the document; otherwise, false . Default value is false . Not all fonts, used in the WordProcessing document, are 100% used directly (applied to some text). There may be a situation, when font is referenced in the document and even may be embedded, but is not applied to any piece of text. For example, some font may be attached to some style, but this style is not applied to any part of text. This option controls how to process such cases. **Returns:** boolean ##### setExtractOnlyUsedFont(boolean value) ``` public final void setExtractOnlyUsedFont(boolean value) ``` Gets or sets a value indicating whether extract only font resources that are used in the textual content of the document. Value: true if it is required to extract only those font resources, which are used in text content of the document; otherwise, false . Default value is false . Not all fonts, used in the WordProcessing document, are 100% used directly (applied to some text). There may be a situation, when font is referenced in the document and even may be embedded, but is not applied to any piece of text. For example, some font may be attached to some style, but this style is not applied to any part of text. This option controls how to process such cases. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getFontExtraction() ``` public final int getFontExtraction() ``` Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract). **Returns:** int ##### setFontExtraction(int value) ``` public final void setFontExtraction(int value) ``` Responsible for extracting font resources, which are used in the input WordProcessing document. By default doesn't extract any fonts (NotExtract). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getInputControlsClassName() ``` public final String getInputControlsClassName() ``` Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied. Almost all formats from WordProcessing format family contain fields \\u2014 specific document entities, that allow to obtain input data from users. There are a wide variety of fields: text-boxes, checkboxes, combo-boxes, drop down lists, buttons, date/time pickers, etc. All of them are translated into the most appropriate HTML structures and elements, with preserving the entered user data, if they are present in the input document. In specific use-cases it is required only to gather entered data on a client-side instead of editing the entire document content. For such case it is required to identify input controls in some way for fetching them with their data on client-side. This property allows to specify a class name, that will be applied for every input control in HTML markup, so client code will be able to traverse over HTML document structure and gather data. **Returns:** java.lang.String ##### setInputControlsClassName(String value) ``` public final void setInputControlsClassName(String value) ``` Allows to specify a class name, which will be placed to the 'class' attributes in every HTML element, that represents some field in the input WordProcessing document. By default is NULL - 'class' attributes are not applied. Almost all formats from WordProcessing format family contain fields \\u2014 specific document entities, that allow to obtain input data from users. There are a wide variety of fields: text-boxes, checkboxes, combo-boxes, drop down lists, buttons, date/time pickers, etc. All of them are translated into the most appropriate HTML structures and elements, with preserving the entered user data, if they are present in the input document. In specific use-cases it is required only to gather entered data on a client-side instead of editing the entire document content. For such case it is required to identify input controls in some way for fetching them with their data on client-side. This property allows to specify a class name, that will be applied for every input control in HTML markup, so client code will be able to traverse over HTML document structure and gather data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getUseInlineStyles() ``` public final boolean getUseInlineStyles() ``` Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). By default external styles are used ( false ). **Returns:** boolean ##### setUseInlineStyles(boolean value) ``` public final void setUseInlineStyles(boolean value) ``` Controls where to store the styling and formatting data of the input WordProcessing document: in external stylesheet ( false ) or as inline styles in the HTML markup ( true ). By default external styles are used ( false ). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### WordProcessingLoadOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/wordprocessingloadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ILoadOptions ``` public final class WordProcessingLoadOptions implements ILoadOptions ``` Contains options for loading WordProcessing (Word-compatible) documents like DOC(X), RTF, ODT etc. into Editor class #### Constructors | Constructor | Description | | --- | --- | | WordProcessingLoadOptions() | | #### Methods | Method | Description | | --- | --- | | getPassword() | Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. | | setPassword(String value) | Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. | ##### WordProcessingLoadOptions() ``` public WordProcessingLoadOptions() ``` ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify and obtain the password, which will be used for opening WordProcessing document, if it is encoded. Set to NULL or empty string in order to not use the password (default value). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### WordProcessingProtection Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/wordprocessingprotection.md **Inheritance:** java.lang.Object ``` public final class WordProcessingProtection ``` Encapsulates document protection options for the WordProcessing document, which is generated from HTML #### Constructors | Constructor | Description | | --- | --- | | WordProcessingProtection() | Parameterless constructor - all parameters have default values | | WordProcessingProtection(int protectionType, String password) | Allows to set all parameters during class instantiation | #### Methods | Method | Description | | --- | --- | | getProtectionType() | Allows to set a protection type of the document. | | setProtectionType(int value) | Allows to set a protection type of the document. | | getPassword() | The password to protect the document with. | | setPassword(String value) | The password to protect the document with. | | convertToAsposeWords(int protectionType) | | ##### WordProcessingProtection() ``` public WordProcessingProtection() ``` Parameterless constructor - all parameters have default values ##### WordProcessingProtection(int protectionType, String password) ``` public WordProcessingProtection(int protectionType, String password) ``` Allows to set all parameters during class instantiation **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | protectionType | int | Set the protection type of the document | | password | java.lang.String | Set the protection password | ##### getProtectionType() ``` public final int getProtectionType() ``` Allows to set a protection type of the document. By default is set to not protect the document at all. **Returns:** int ##### setProtectionType(int value) ``` public final void setProtectionType(int value) ``` Allows to set a protection type of the document. By default is set to not protect the document at all. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` The password to protect the document with. If null or empty string - the protection will not be applied to the document. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` The password to protect the document with. If null or empty string - the protection will not be applied to the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### convertToAsposeWords(int protectionType) ``` public static int convertToAsposeWords(int protectionType) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | protectionType | int | | **Returns:** int ### WordProcessingProtectionType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/wordprocessingprotectiontype.md **Inheritance:** java.lang.Object ``` public final class WordProcessingProtectionType ``` Represents all available protection types of the WordProcessing document #### Fields | Field | Description | | --- | --- | | NoProtection | The document is not protected. | | AllowOnlyRevisions | User can only add revision marks to the document | | AllowOnlyComments | User can only modify comments in the document | | AllowOnlyFormFields | User can only enter data in the form fields in the document | | ReadOnly | No changes are allowed to the document | #### Methods | Method | Description | | --- | --- | | getAll() | | ##### NoProtection ``` public static final int NoProtection ``` The document is not protected. Default value. ##### AllowOnlyRevisions ``` public static final int AllowOnlyRevisions ``` User can only add revision marks to the document ##### AllowOnlyComments ``` public static final int AllowOnlyComments ``` User can only modify comments in the document ##### AllowOnlyFormFields ``` public static final int AllowOnlyFormFields ``` User can only enter data in the form fields in the document ##### ReadOnly ``` public static final int ReadOnly ``` No changes are allowed to the document ##### getAll() ``` public static Map getAll() ``` **Returns:** java.util.Map ### WordProcessingSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/wordprocessingsaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class WordProcessingSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving WordProcessing-compliant documents after they were edited WordProcessingSaveOptions is applied in situations when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of WordProcessing format. #### Constructors | Constructor | Description | | --- | --- | | WordProcessingSaveOptions() | This parameterless constructor creates a new instance of WordProcessingSaveOptions with DOCX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(WordProcessingFormats).setOutputFormat(WordProcessingFormats)) property) | | WordProcessingSaveOptions(WordProcessingFormats outputFormat) | Creates a new instance of WordProcessingSaveOptions with specified mandatory WordProcessing output format, while all other parameters are default | #### Methods | Method | Description | | --- | --- | | getEnablePagination() | Allows to enable or disable pagination which will be used for saving the document. | | setEnablePagination(boolean value) | Allows to enable or disable pagination which will be used for saving the document. | | getPassword() | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. | | setPassword(String value) | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. | | getOutputFormat() | Allows to specify a WordProcessing format, which will be used for saving the document | | setOutputFormat(WordProcessingFormats value) | Allows to specify a WordProcessing format, which will be used for saving the document | | getLocale() | Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. | | setLocale(Locale value) | Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. | | getLocaleBi() | Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. | | setLocaleBi(Locale value) | Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. | | getLocaleFarEast() | Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. | | setLocaleFarEast(Locale value) | Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | getProtection() | Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. | | setProtection(WordProcessingProtection value) | Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. | | getFontEmbedding() | Responsible for embedding font resources into output WordProcessing document. | | setFontEmbedding(int value) | Responsible for embedding font resources into output WordProcessing document. | | deepClone() | Creates and returns a full copy of this instance of WordProcessingSaveOptions class | ##### WordProcessingSaveOptions() ``` public WordProcessingSaveOptions() ``` This parameterless constructor creates a new instance of WordProcessingSaveOptions with DOCX output format (can be modified then through OutputFormat (\#getOutputFormat.getOutputFormat/\#setOutputFormat(WordProcessingFormats).setOutputFormat(WordProcessingFormats)) property) ##### WordProcessingSaveOptions(WordProcessingFormats outputFormat) ``` public WordProcessingSaveOptions(WordProcessingFormats outputFormat) ``` Creates a new instance of WordProcessingSaveOptions with specified mandatory WordProcessing output format, while all other parameters are default **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputFormat | WordProcessingFormats | Mandatory output format, in which the WordProcessing document should be saved | ##### getEnablePagination() ``` public final boolean getEnablePagination() ``` Allows to enable or disable pagination which will be used for saving the document. If the original document was opened and edited in pagination mode, this option also should be enabled. By default is disabled. **Returns:** boolean - ##### setEnablePagination(boolean value) ``` public final void setEnablePagination(boolean value) ``` Allows to enable or disable pagination which will be used for saving the document. If the original document was opened and edited in pagination mode, this option also should be enabled. By default is disabled. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getPassword() ``` public final String getPassword() ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. Specify NULL or empty string for removing (cleaning) the password. **Returns:** java.lang.String - ##### setPassword(String value) ``` public final void setPassword(String value) ``` Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. Specify NULL or empty string for removing (cleaning) the password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getOutputFormat() ``` public final WordProcessingFormats getOutputFormat() ``` Allows to specify a WordProcessing format, which will be used for saving the document **Returns:** WordProcessingFormats - ##### setOutputFormat(WordProcessingFormats value) ``` public final void setOutputFormat(WordProcessingFormats value) ``` Allows to specify a WordProcessing format, which will be used for saving the document **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WordProcessingFormats | | ##### getLocale() ``` public final Locale getLocale() ``` Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document locale according to its own settings or other factors. This option forcibly applies the specified locale to overall text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Returns:** java.util.Locale - ##### setLocale(Locale value) ``` public final void setLocale(Locale value) ``` Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document locale according to its own settings or other factors. This option forcibly applies the specified locale to overall text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Locale | | ##### getLocaleBi() ``` public final Locale getLocaleBi() ``` Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document RTL locale according to its own settings or other factors. This option forcibly applies the specified locale to overall RTL text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Returns:** java.util.Locale - ##### setLocaleBi(Locale value) ``` public final void setLocaleBi(Locale value) ``` Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document RTL locale according to its own settings or other factors. This option forcibly applies the specified locale to overall RTL text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Locale | | ##### getLocaleFarEast() ``` public final Locale getLocaleFarEast() ``` Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document East-Asian locale according to its own settings or other factors. This option forcibly applies the specified locale to overall East-Asian text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Returns:** java.util.Locale - ##### setLocaleFarEast(Locale value) ``` public final void setLocaleFarEast(Locale value) ``` Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document East-Asian locale according to its own settings or other factors. This option forcibly applies the specified locale to overall East-Asian text in the document. Do not use it, if document contains different parts of text, which are written on different languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Locale | | ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean - ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getProtection() ``` public final WordProcessingProtection getProtection() ``` Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. By default is NULL - document protection will not be used. **Returns:** WordProcessingProtection - ##### setProtection(WordProcessingProtection value) ``` public final void setProtection(WordProcessingProtection value) ``` Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. By default is NULL - document protection will not be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | WordProcessingProtection | | ##### getFontEmbedding() ``` public final int getFontEmbedding() ``` Responsible for embedding font resources into output WordProcessing document. By default doesn't embed any fonts (NotEmbed). **Returns:** int - ##### setFontEmbedding(int value) ``` public final void setFontEmbedding(int value) ``` Responsible for embedding font resources into output WordProcessing document. By default doesn't embed any fonts (NotEmbed). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### deepClone() ``` public final WordProcessingSaveOptions deepClone() ``` Creates and returns a full copy of this instance of WordProcessingSaveOptions class **Returns:** WordProcessingSaveOptions - New WordProcessingSaveOptions instance ### WorksheetProtection Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/worksheetprotection.md **Inheritance:** java.lang.Object ``` public final class WorksheetProtection ``` Encapsulates worksheet protection options, which allow to protect a worksheet in the output Spreadsheet document from modification of specified type with a specified password. Most of Spreadsheet formats like XLSX allows to protect a worksheet from editing with password. This class allows to enable such protection and specify its options. #### Constructors | Constructor | Description | | --- | --- | | WorksheetProtection() | Creates new instance with default parameters. | | WorksheetProtection(int protectionType, String password) | Creates new instance with specified worksheet protection type and password | #### Methods | Method | Description | | --- | --- | | getProtectionType() | Allows to specify a type of worksheet protection. | | setProtectionType(int value) | Allows to specify a type of worksheet protection. | | getPassword() | Password, which is used for protecting a worksheet. | | setPassword(String value) | Password, which is used for protecting a worksheet. | ##### WorksheetProtection() ``` public WorksheetProtection() ``` Creates new instance with default parameters. If not modified and passed to SpreadsheetSaveOptions, no worksheet protection will be applied ##### WorksheetProtection(int protectionType, String password) ``` public WorksheetProtection(int protectionType, String password) ``` Creates new instance with specified worksheet protection type and password **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | protectionType | int | Type of worksheet protection | | password | java.lang.String | Password, that locks the protection | ##### getProtectionType() ``` public final int getProtectionType() ``` Allows to specify a type of worksheet protection. By default is 'None' - protection is not applied. **Returns:** int ##### setProtectionType(int value) ``` public final void setProtectionType(int value) ``` Allows to specify a type of worksheet protection. By default is 'None' - protection is not applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getPassword() ``` public final String getPassword() ``` Password, which is used for protecting a worksheet. If NULL or empty string, the protection will not be applied. **Returns:** java.lang.String ##### setPassword(String value) ``` public final void setPassword(String value) ``` Password, which is used for protecting a worksheet. If NULL or empty string, the protection will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### WorksheetProtectionType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/worksheetprotectiontype.md **Inheritance:** java.lang.Object ``` public final class WorksheetProtectionType ``` Represents Spreadsheet worksheet (tab) protection types #### Fields | Field | Description | | --- | --- | | None | Protection is not applied (default value) | | All | User cannot modify anything on the worksheet | | Contents | User cannot enter data in the worksheet | | Objects | User cannot modify drawing objects | | Scenarios | User cannot modify saved scenarios | | Structure | User cannot modify the structure | | Window | User cannot modify the window | #### Methods | Method | Description | | --- | --- | | getAll() | | ##### None ``` public static final int None ``` Protection is not applied (default value) ##### All ``` public static final int All ``` User cannot modify anything on the worksheet ##### Contents ``` public static final int Contents ``` User cannot enter data in the worksheet ##### Objects ``` public static final int Objects ``` User cannot modify drawing objects ##### Scenarios ``` public static final int Scenarios ``` User cannot modify saved scenarios ##### Structure ``` public static final int Structure ``` User cannot modify the structure ##### Window ``` public static final int Window ``` User cannot modify the window ##### getAll() ``` public static Map getAll() ``` **Returns:** java.util.Map ### XmlEditOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/xmleditoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class XmlEditOptions implements IEditOptions ``` Allows to specify custom options for loading XML (eXtensible Markup Language) documents and converting them to the HTML #### Constructors | Constructor | Description | | --- | --- | | XmlEditOptions() | | #### Methods | Method | Description | | --- | --- | | getEncoding() | Character encoding of the text document, which will be applied for its opening. | | setEncoding(Charset value) | Character encoding of the text document, which will be applied for its opening. | | getFixIncorrectStructure() | Allows to enable or disable mechanism for fixing corrupted XML structure. | | setFixIncorrectStructure(boolean value) | Allows to enable or disable mechanism for fixing corrupted XML structure. | | getRecognizeUris() | Allows to enable URI recognition algorithm | | setRecognizeUris(boolean value) | Allows to enable URI recognition algorithm | | getRecognizeEmails() | Allows to enable recognition algorithm for email addresses in attribute values | | setRecognizeEmails(boolean value) | Allows to enable recognition algorithm for email addresses in attribute values | | getTrimTrailingWhitespaces() | Allows to enable the truncation of trailing whitespaces in the inner-tag text. | | setTrimTrailingWhitespaces(boolean value) | Allows to enable the truncation of trailing whitespaces in the inner-tag text. | | getAttributeValuesQuoteType() | Allows to specify quote type (single or double quotes) for attribute values. | | setAttributeValuesQuoteType(QuoteType value) | Allows to specify quote type (single or double quotes) for attribute values. | | getHighlightOptions() | Allows to adjust the XML highlighting, that will be applied to the XML structure, when it is represented in HTML. | | getFormatOptions() | Allows to adjust the XML formatting, that will be applied to the XML structure, when it is represented in HTML. | ##### XmlEditOptions() ``` public XmlEditOptions() ``` ##### getEncoding() ``` public final Charset getEncoding() ``` Character encoding of the text document, which will be applied for its opening. By default is null \\u2014 internal document encoding will be applied. **Returns:** java.nio.charset.Charset ##### setEncoding(Charset value) ``` public final void setEncoding(Charset value) ``` Character encoding of the text document, which will be applied for its opening. By default is null \\u2014 internal document encoding will be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.nio.charset.Charset | | ##### getFixIncorrectStructure() ``` public final boolean getFixIncorrectStructure() ``` Allows to enable or disable mechanism for fixing corrupted XML structure. By default is disabled (false). By default only proper valid well-formed XML documents are acceptable. When this option is enabled, GroupDocs.Editor will try to fix corrupted XML structure if possible. **Returns:** boolean ##### setFixIncorrectStructure(boolean value) ``` public final void setFixIncorrectStructure(boolean value) ``` Allows to enable or disable mechanism for fixing corrupted XML structure. By default is disabled (false). By default only proper valid well-formed XML documents are acceptable. When this option is enabled, GroupDocs.Editor will try to fix corrupted XML structure if possible. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRecognizeUris() ``` public final boolean getRecognizeUris() ``` Allows to enable URI recognition algorithm **Returns:** boolean ##### setRecognizeUris(boolean value) ``` public final void setRecognizeUris(boolean value) ``` Allows to enable URI recognition algorithm **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getRecognizeEmails() ``` public final boolean getRecognizeEmails() ``` Allows to enable recognition algorithm for email addresses in attribute values **Returns:** boolean ##### setRecognizeEmails(boolean value) ``` public final void setRecognizeEmails(boolean value) ``` Allows to enable recognition algorithm for email addresses in attribute values **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getTrimTrailingWhitespaces() ``` public final boolean getTrimTrailingWhitespaces() ``` Allows to enable the truncation of trailing whitespaces in the inner-tag text. By default is disabled (false) \\u2014 trailing whitespaces will be preserved. **Returns:** boolean ##### setTrimTrailingWhitespaces(boolean value) ``` public final void setTrimTrailingWhitespaces(boolean value) ``` Allows to enable the truncation of trailing whitespaces in the inner-tag text. By default is disabled (false) \\u2014 trailing whitespaces will be preserved. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getAttributeValuesQuoteType() ``` public final QuoteType getAttributeValuesQuoteType() ``` Allows to specify quote type (single or double quotes) for attribute values. Double quotes are default. **Returns:** QuoteType ##### setAttributeValuesQuoteType(QuoteType value) ``` public final void setAttributeValuesQuoteType(QuoteType value) ``` Allows to specify quote type (single or double quotes) for attribute values. Double quotes are default. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | QuoteType | | ##### getHighlightOptions() ``` public final XmlHighlightOptions getHighlightOptions() ``` Allows to adjust the XML highlighting, that will be applied to the XML structure, when it is represented in HTML. Default highlighting is used and is adjustable. Cannot be null. **Returns:** XmlHighlightOptions ##### getFormatOptions() ``` public final XmlFormatOptions getFormatOptions() ``` Allows to adjust the XML formatting, that will be applied to the XML structure, when it is represented in HTML. Default formatting is used and is adjustable. Cannot be null. **Returns:** XmlFormatOptions ### XmlFormatOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/xmlformatoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public final class XmlFormatOptions implements IEditOptions ``` Contains options, that allow to adjust the formatting of XML document, when it is represented as HTML #### Methods | Method | Description | | --- | --- | | getEachAttributeFromNewline() | When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. | | setEachAttributeFromNewline(boolean value) | When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. | | getLeafTextNodesOnNewline() | When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. | | setLeafTextNodesOnNewline(boolean value) | When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. | | getLeftIndent() | Allows to specify an offset for the left indent of every new line. | | setLeftIndent(Length value) | Allows to specify an offset for the left indent of every new line. | | isDefault() | Indicates whether this instance of XML formatting options has a default value | ##### getEachAttributeFromNewline() ``` public final boolean getEachAttributeFromNewline() ``` When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. By default is false (disabled) \\u2014 all attribute-value pairs are placed in a single line. **Returns:** boolean ##### setEachAttributeFromNewline(boolean value) ``` public final void setEachAttributeFromNewline(boolean value) ``` When enabled, each and every pair of attribute-value in every XML element will be placed on a new line. By default is false (disabled) \\u2014 all attribute-value pairs are placed in a single line. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getLeafTextNodesOnNewline() ``` public final boolean getLeafTextNodesOnNewline() ``` When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. By default is false (disabled) \\u2014 leaf text nodes are placed on the same line as their parents, without new indent. **Returns:** boolean ##### setLeafTextNodesOnNewline(boolean value) ``` public final void setLeafTextNodesOnNewline(boolean value) ``` When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. By default is false (disabled) \\u2014 leaf text nodes are placed on the same line as their parents, without new indent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getLeftIndent() ``` public final Length getLeftIndent() ``` Allows to specify an offset for the left indent of every new line. Cannot be a unitless non-zero value. By default is 10pt **Returns:** Length ##### setLeftIndent(Length value) ``` public final void setLeftIndent(Length value) ``` Allows to specify an offset for the left indent of every new line. Cannot be a unitless non-zero value. By default is 10pt **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Length | | ##### isDefault() ``` public final boolean isDefault() ``` Indicates whether this instance of XML formatting options has a default value **Returns:** boolean ### XmlHighlightOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/xmlhighlightoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.IEditOptions ``` public class XmlHighlightOptions implements IEditOptions ``` Contains options, that allow to customize the XML highlighting during XML-to-HTML conversion #### Methods | Method | Description | | --- | --- | | getXmlTagsFontSettings() | Responsible for representing the font of XML tags (angle brackets with tag names) | | getAttributeNamesFontSettings() | Responsible for representing the font of attribute names | | getAttributeValuesFontSettings() | Responsible for representing the font of attribute values | | getInnerTextFontSettings() | Responsible for representing the font of inner-tag text | | getHtmlCommentsFontSettings() | Responsible for representing the font of HTML comments (including pair of opening and closing tags) | | getCDataFontSettings() | Responsible for representing the font of CDATA sections (including pair of opening and closing tags) | | isDefault() | Determines whether this XML Highlight options object has a default font settings | | resetToDefault() | Resets the current font settings to their default values | ##### getXmlTagsFontSettings() ``` public final WebFont getXmlTagsFontSettings() ``` Responsible for representing the font of XML tags (angle brackets with tag names) **Returns:** WebFont ##### getAttributeNamesFontSettings() ``` public final WebFont getAttributeNamesFontSettings() ``` Responsible for representing the font of attribute names **Returns:** WebFont ##### getAttributeValuesFontSettings() ``` public final WebFont getAttributeValuesFontSettings() ``` Responsible for representing the font of attribute values **Returns:** WebFont ##### getInnerTextFontSettings() ``` public final WebFont getInnerTextFontSettings() ``` Responsible for representing the font of inner-tag text **Returns:** WebFont ##### getHtmlCommentsFontSettings() ``` public final WebFont getHtmlCommentsFontSettings() ``` Responsible for representing the font of HTML comments (including pair of opening and closing tags) **Returns:** WebFont ##### getCDataFontSettings() ``` public final WebFont getCDataFontSettings() ``` Responsible for representing the font of CDATA sections (including pair of opening and closing tags) **Returns:** WebFont ##### isDefault() ``` public final boolean isDefault() ``` Determines whether this XML Highlight options object has a default font settings **Returns:** boolean ##### resetToDefault() ``` public final void resetToDefault() ``` Resets the current font settings to their default values ### XpsSaveOptions Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.options/xpssaveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.options.ISaveOptions ``` public final class XpsSaveOptions implements ISaveOptions ``` Allows to specify custom options for generating and saving XPS (XML Paper Specifications) documents An XPS file represents page layout files that are based on XML Paper Specifications created by Microsoft. It was developed as a replacement of EMF file format and is similar to PDF file format, but uses XML in layout, appearance, and printing information of a document. #### Constructors | Constructor | Description | | --- | --- | | XpsSaveOptions() | | #### Methods | Method | Description | | --- | --- | | getFontEmbedding() | Responsible for embedding font resources into resultant XPS document, which are used in the original document. | | getOptimizeMemoryUsage() | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | | setOptimizeMemoryUsage(boolean value) | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. | ##### XpsSaveOptions() ``` public XpsSaveOptions() ``` ##### getFontEmbedding() ``` public final byte getFontEmbedding() ``` Responsible for embedding font resources into resultant XPS document, which are used in the original document. By default doesn't embed any fonts (NotEmbed). **Returns:** byte ##### getOptimizeMemoryUsage() ``` public final boolean getOptimizeMemoryUsage() ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Returns:** boolean ##### setOptimizeMemoryUsage(boolean value) ``` public final void setOptimizeMemoryUsage(boolean value) ``` Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### com.groupdocs.editor.words.fieldmanagement Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement.md The **com.groupdocs.editor.words.fieldmanagement** namespace contains classes and interfaces related to the management and manipulation of form fields within documents. This namespace provides functionality to work with various types of form fields, such as text fields, checkboxes, dropdowns, etc., allowing users to interact with and modify form fields programmatically. #### Classes | Class | Description | | --- | --- | | CheckBoxForm | Represents a form field that displays a checkbox. | | CurrentDateFormField | Represents a form field that displays the current date. | | CurrentTimeFormField | Represents a form field that displays the current time. | | DateFormField | Represents a form field that displays a date. | | DropDownFormField | Represents a form field that displays a drop-down list. | | FormFieldCollection | Represents a collection of form fields. | | FormFieldType | Specifies the type of form field. | | HelpText | Represents help text for a form field. | | InvalidFormField | Represents the update of invalid form field names during the FormFieldManager.FixInvalidFormFieldNames operation. | | NumberFormField | Represents a form field that accepts a number input. | | TextFormField | Represents a form field that accepts text input. | #### Interfaces | Interface | Description | | --- | --- | | IFormField | Represents a form field. | ### CheckBoxForm Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/checkboxform.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class CheckBoxForm implements IFormField ``` Represents a form field that displays a checkbox. #### Constructors | Constructor | Description | | --- | --- | | CheckBoxForm(String stylesheet, String name) | Initializes a new instance of the CheckBoxForm class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.CheckBox for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the state of the checkbox. | | setValue(boolean value) | Gets or sets the value of the form field, which represents the state of the checkbox. | ##### CheckBoxForm(String stylesheet, String name) ``` public CheckBoxForm(String stylesheet, String name) ``` Initializes a new instance of the CheckBoxForm class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.CheckBox for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > checkBoxField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > checkBoxField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final boolean getValue() ``` Gets or sets the value of the form field, which represents the state of the checkbox. **Returns:** boolean ##### setValue(boolean value) ``` public final void setValue(boolean value) ``` Gets or sets the value of the form field, which represents the state of the checkbox. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### CurrentDateFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/currentdateformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class CurrentDateFormField implements IFormField ``` Represents a form field that displays the current date. #### Constructors | Constructor | Description | | --- | --- | | CurrentDateFormField(String stylesheet, String name) | Initializes a new instance of the CurrentDateFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.CurrentDate for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the current date. | | setValue(Date value) | Gets or sets the value of the form field, which represents the current date. | ##### CurrentDateFormField(String stylesheet, String name) ``` public CurrentDateFormField(String stylesheet, String name) ``` Initializes a new instance of the CurrentDateFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.CurrentDate for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final Date getValue() ``` Gets or sets the value of the form field, which represents the current date. **Returns:** java.util.Date ##### setValue(Date value) ``` public final void setValue(Date value) ``` Gets or sets the value of the form field, which represents the current date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ### CurrentTimeFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/currenttimeformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class CurrentTimeFormField implements IFormField ``` Represents a form field that displays the current time. #### Constructors | Constructor | Description | | --- | --- | | CurrentTimeFormField(String stylesheet, String name) | Initializes a new instance of the CurrentTimeFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.CurrentTime for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the current time. | | setValue(Date value) | Gets or sets the value of the form field, which represents the current time. | ##### CurrentTimeFormField(String stylesheet, String name) ``` public CurrentTimeFormField(String stylesheet, String name) ``` Initializes a new instance of the CurrentTimeFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.CurrentTime for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > currentTimeField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus.. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final Date getValue() ``` Gets or sets the value of the form field, which represents the current time. **Returns:** java.util.Date ##### setValue(Date value) ``` public final void setValue(Date value) ``` Gets or sets the value of the form field, which represents the current time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ### DateFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/dateformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class DateFormField implements IFormField ``` Represents a form field that displays a date. #### Constructors | Constructor | Description | | --- | --- | | DateFormField(String stylesheet, String name) | Initializes a new instance of the DateFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.Date for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents a date. | | setValue(Date value) | Gets or sets the value of the form field, which represents a date. | ##### DateFormField(String stylesheet, String name) ``` public DateFormField(String stylesheet, String name) ``` Initializes a new instance of the DateFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.Date for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dateField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dateField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final Date getValue() ``` Gets or sets the value of the form field, which represents a date. **Returns:** java.util.Date ##### setValue(Date value) ``` public final void setValue(Date value) ``` Gets or sets the value of the form field, which represents a date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | | ### DropDownFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/dropdownformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class DropDownFormField implements IFormField ``` Represents a form field that displays a drop-down list. #### Constructors | Constructor | Description | | --- | --- | | DropDownFormField(String stylesheet, String name) | Initializes a new instance of the DropDownFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getSelectedIndex() | Gets or sets the index of the selected item in the drop-down list. | | setSelectedIndex(int value) | Gets or sets the index of the selected item in the drop-down list. | | getType() | Gets the type of the form field, which is always FormFieldType.DropDown for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the list of options in the drop-down list. | | setValue(List value) | Gets or sets the value of the form field, which represents the list of options in the drop-down list. | ##### DropDownFormField(String stylesheet, String name) ``` public DropDownFormField(String stylesheet, String name) ``` Initializes a new instance of the DropDownFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getSelectedIndex() ``` public final int getSelectedIndex() ``` Gets or sets the index of the selected item in the drop-down list. **Returns:** int ##### setSelectedIndex(int value) ``` public final void setSelectedIndex(int value) ``` Gets or sets the index of the selected item in the drop-down list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.DropDown for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dropDownField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > dropDownField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final List getValue() ``` Gets or sets the value of the form field, which represents the list of options in the drop-down list. **Returns:** java.util.List ##### setValue(List value) ``` public final void setValue(List value) ``` Gets or sets the value of the form field, which represents the list of options in the drop-down list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.List | | ### FormFieldCollection Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/formfieldcollection.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public final class FormFieldCollection implements Iterable ``` Represents a collection of form fields. #### Constructors | Constructor | Description | | --- | --- | | FormFieldCollection() | Initializes a new instance of the FormFieldCollection class. | #### Methods | Method | Description | | --- | --- | | iterator() | Returns an enumerator that iterates through the collection. | | insert(IFormField field) | Inserts a form field into the collection. | | get(String name) | Gets the form field with the specified name. | | getFormField(String name, Class type) | Gets the form field with the specified name and type. | ##### FormFieldCollection() ``` public FormFieldCollection() ``` Initializes a new instance of the FormFieldCollection class. ##### iterator() ``` public Iterator iterator() ``` Returns an enumerator that iterates through the collection. **Returns:** java.util.Iterator - An enumerator that can be used to iterate through the collection. ##### insert(IFormField field) ``` public void insert(IFormField field) ``` Inserts a form field into the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | field | IFormField | The form field to insert. | ##### get(String name) ``` public IFormField get(String name) ``` Gets the form field with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the form field. | **Returns:** IFormField - The form field with the specified name, if found; otherwise, null . ##### getFormField(String name, Class type) ``` public T getFormField(String name, Class type) ``` Gets the form field with the specified name and type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the form field. T : The type of the form field. | | type | java.lang.Class | | **Returns:** T - The form field with the specified name and type, if found; otherwise, the default value for the type. ### FormFieldType Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/formfieldtype.md **Inheritance:** java.lang.Object ``` public final class FormFieldType ``` Specifies the type of form field. #### Fields | Field | Description | | --- | --- | | Text | The text form field can contain any text. | | Number | The text form field can contain only numbers. | | Date | The text form field can contain only a valid date value. | | CurrentDate | The text form field value is the current date when the field is updated. | | CurrentTime | The text form field value is the current time when the field is updated. | | CheckBox | The checkbox form field. | | DropDown | The drop-down field. | ##### Text ``` public static final int Text ``` The text form field can contain any text. ##### Number ``` public static final int Number ``` The text form field can contain only numbers. ##### Date ``` public static final int Date ``` The text form field can contain only a valid date value. ##### CurrentDate ``` public static final int CurrentDate ``` The text form field value is the current date when the field is updated. ##### CurrentTime ``` public static final int CurrentTime ``` The text form field value is the current time when the field is updated. ##### CheckBox ``` public static final int CheckBox ``` The checkbox form field. ##### DropDown ``` public static final int DropDown ``` The drop-down field. ### HelpText Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/helptext.md **Inheritance:** java.lang.Object ``` public final class HelpText ``` Represents help text for a form field. #### Constructors | Constructor | Description | | --- | --- | | HelpText() | | #### Methods | Method | Description | | --- | --- | | getUseOwn() | Gets or sets a value indicating whether the form field should use its own help text. | | setUseOwn(boolean value) | Gets or sets a value indicating whether the form field should use its own help text. | | getText() | Gets or sets the text content of the help text. | | setText(String value) | Gets or sets the text content of the help text. | ##### HelpText() ``` public HelpText() ``` ##### getUseOwn() ``` public final boolean getUseOwn() ``` Gets or sets a value indicating whether the form field should use its own help text. If set to false , the help text will not be applied. **Returns:** boolean ##### setUseOwn(boolean value) ``` public final void setUseOwn(boolean value) ``` Gets or sets a value indicating whether the form field should use its own help text. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getText() ``` public final String getText() ``` Gets or sets the text content of the help text. **Returns:** java.lang.String ##### setText(String value) ``` public final void setText(String value) ``` Gets or sets the text content of the help text. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### IFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/iformfield.md ### InvalidFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/invalidformfield.md **Inheritance:** java.lang.Object ``` public final class InvalidFormField ``` Represents the update of invalid form field names during the FormFieldManager.FixInvalidFormFieldNames operation. #### Constructors | Constructor | Description | | --- | --- | | InvalidFormField(String name) | Initializes a new instance of the InvalidFormField class with the specified name. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the original name of the form field that cannot be modified outside FormFieldManager . | | getFixedName() | Gets or sets the new name for the form field after repair. | | setFixedName(String value) | Gets or sets the new name for the form field after repair. | ##### InvalidFormField(String name) ``` public InvalidFormField(String name) ``` Initializes a new instance of the InvalidFormField class with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The original name of the form field. | ##### getName() ``` public final String getName() ``` Gets the original name of the form field that cannot be modified outside FormFieldManager . **Returns:** java.lang.String ##### getFixedName() ``` public final String getFixedName() ``` Gets or sets the new name for the form field after repair. This name removes duplicate unique identifiers with other form fields and sets a unique bookmark name. ``` FixedName = string.Format("{0}_fixed", name) // as default value. ``` **Returns:** java.lang.String ##### setFixedName(String value) ``` public final void setFixedName(String value) ``` Gets or sets the new name for the form field after repair. This name removes duplicate unique identifiers with other form fields and sets a unique bookmark name. ``` FixedName = string.Format("{0}_fixed", name) // as default value. ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ### NumberFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/numberformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class NumberFormField implements IFormField ``` Represents a form field that accepts a number input. #### Constructors | Constructor | Description | | --- | --- | | NumberFormField(String stylesheet, String name) | Initializes a new instance of the NumberFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.Number for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents a number. | | setValue(float value) | Gets or sets the value of the form field, which represents a number. | | getMaxLength() | Gets or sets the maximum length of the input for the form field. | | setMaxLength(int value) | Gets or sets the maximum length of the input for the form field. | ##### NumberFormField(String stylesheet, String name) ``` public NumberFormField(String stylesheet, String name) ``` Initializes a new instance of the NumberFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.Number for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > numberField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > numberField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final float getValue() ``` Gets or sets the value of the form field, which represents a number. **Returns:** float ##### setValue(float value) ``` public final void setValue(float value) ``` Gets or sets the value of the form field, which represents a number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | float | | ##### getMaxLength() ``` public final int getMaxLength() ``` Gets or sets the maximum length of the input for the form field. **Returns:** int ##### setMaxLength(int value) ``` public final void setMaxLength(int value) ``` Gets or sets the maximum length of the input for the form field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### TextFormField Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.words.fieldmanagement/textformfield.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.words.fieldmanagement.IFormField ``` public final class TextFormField implements IFormField ``` Represents a form field that accepts text input. #### Constructors | Constructor | Description | | --- | --- | | TextFormField(String stylesheet, String name) | Initializes a new instance of the TextFormField class with the specified stylesheet and name. | #### Methods | Method | Description | | --- | --- | | getStylesheet() | Gets the stylesheet applied to the form field. | | getReadonly() | Gets or sets a value indicating whether the form field is read-only. | | setReadonly(boolean value) | Gets or sets a value indicating whether the form field is read-only. | | getName() | Gets the name of the form field. | | getType() | Gets the type of the form field, which is always FormFieldType.Text for this class. | | getLocaleId() | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | setLocaleId(int value) | Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. | | getStatusText() | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | setStatusText(HelpText value) | Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. | | getHelpText() | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | setHelpText(HelpText value) | Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. | | getValue() | Gets or sets the value of the form field, which represents the text input. | | setValue(String value) | Gets or sets the value of the form field, which represents the text input. | | getMaxLength() | Gets or sets the maximum length of the input for the form field. | | setMaxLength(int value) | Gets or sets the maximum length of the input for the form field. | ##### TextFormField(String stylesheet, String name) ``` public TextFormField(String stylesheet, String name) ``` Initializes a new instance of the TextFormField class with the specified stylesheet and name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stylesheet | java.lang.String | The stylesheet to apply to the form field. | | name | java.lang.String | The name of the form field. | ##### getStylesheet() ``` public final String getStylesheet() ``` Gets the stylesheet applied to the form field. **Returns:** java.lang.String ##### getReadonly() ``` public final boolean getReadonly() ``` Gets or sets a value indicating whether the form field is read-only. **Returns:** boolean ##### setReadonly(boolean value) ``` public final void setReadonly(boolean value) ``` Gets or sets a value indicating whether the form field is read-only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ##### getName() ``` public final String getName() ``` Gets the name of the form field. **Returns:** java.lang.String ##### getType() ``` public final int getType() ``` Gets the type of the form field, which is always FormFieldType.Text for this class. **Returns:** int ##### getLocaleId() ``` public final int getLocaleId() ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > textField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Returns:** int ##### setLocaleId(int value) ``` public final void setLocaleId(int value) ``` Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field. > ``` > The following example demonstrates how to set the LocaleId property: > > Set the LocaleId to represent the English (United States) culture > textField.LocaleId = new CultureInfo("en-US").LCID; > ``` The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getStatusText() ``` public final HelpText getStatusText() ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Returns:** HelpText ##### setStatusText(HelpText value) ``` public final void setStatusText(HelpText value) ``` Gets or sets the status text associated with the form field, the source of the text that's displayed in the status bar when a form field has the focus. If set to false , the status text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getHelpText() ``` public final HelpText getHelpText() ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Returns:** HelpText ##### setHelpText(HelpText value) ``` public final void setHelpText(HelpText value) ``` Gets or sets the help text associated with the form field, the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. If set to false , the help text will not be applied. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | HelpText | | ##### getValue() ``` public final String getValue() ``` Gets or sets the value of the form field, which represents the text input. **Returns:** java.lang.String ##### setValue(String value) ``` public final void setValue(String value) ``` Gets or sets the value of the form field, which represents the text input. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getMaxLength() ``` public final int getMaxLength() ``` Gets or sets the maximum length of the input for the form field. **Returns:** int ##### setMaxLength(int value) ``` public final void setMaxLength(int value) ``` Gets or sets the maximum length of the input for the form field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### com.groupdocs.editor Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor.md The **com.groupdocs.editor** namespace is a root namespace, which provides classes for editing multiple document formats in your Java applications. #### Classes | Class | Description | | --- | --- | | EditableDocument | Intermediate document, that contains content before and after editing | | Editor | Main class, which encapsulates conversion methods. | | EncryptedException | The exception that is thrown when user tries to open a document that was encrypted using the X509Certificates. | | FormFieldManager | | | IncorrectPasswordException | The exception that is thrown when specified password is incorrect. | | InvalidFormatException | The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format. | | PasswordRequiredException | The exception that is thrown when user tries to open a password-protected encrypted document of some format and doesn't provide a password for opening this document. | ### EditableDocument Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor/editabledocument.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IAuxDisposable ``` public final class EditableDocument implements IAuxDisposable ``` Intermediate document, that contains content before and after editing Instance of EditableDocument class can be produced by the Editor.edit() method or created by the user himself using static factories. EditableDocument internally stores document in its own closed format, which is compatible (convertible) with all import and export formats, that GroupDocs.Editor supports. In order to make document editable in any WYSIWYG client-side editor (like CKEditor or TinyMCE), EditableDocument provides methods for generating HTML markup and producing resources, that can be accepted by the user. #### Fields | Field | Description | | --- | --- | | Disposed | | #### Methods | Method | Description | | --- | --- | | getImages() | Allows to obtain external image resources (raster images), which are used by this HTML document | | getFonts() | Allows to obtain external font resources, which are used by this HTML document | | getCss() | Returns a list of CSS resources | | getAudio() | Returns a list of audio resources | | getAllResources() | Returns a list of all existing resources: all stylesheets, images from HTML and all stylesheets, fonts | | getContent(OutputStream storage, Charset encoding) | Returns overall content of the HTML document as a byte stream by writing this content into specified stream with specified text encoding | | getBodyContent() | Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string. | | getBodyContent(String externalImagesTemplate) | Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string, where links to the external resources contain specified prefix. | | getContent() | Returns overall content of the HTML document as a string. | | getContentString(String externalImagesTemplate, String externalCssTemplate) | Returns overall content of the HTML document as a string, where links to the external resources contain specified prefix. | | getCssContent() | Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. | | getCssContent(String externalImagesPrefix, String externalFontsPrefix) | Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. | | getEmbeddedHtml() | Returns all content of this HTML document with all related resources in a form of a single string, where all resources are embedded inside the HTML markup in a base64-encoded form. | | save(String htmlFilePath) | Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources. | | save(String htmlFilePath, String resourcesFolderPath) | Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources, which is located on specified path. | | save(Writer htmlMarkup, HtmlSaveOptions saveOptions) | | | fromMarkup(String newHtmlContent, List resources) | Static factory, that creates an instance of EditableDocument from specified HTML markup and a set of corresponding linked resources | | fromMarkupAndResourceFolder(String newHtmlContent, String resourceFolderPath) | Static factory, that creates an instance of EditableDocument from a specified HTML markup and from resources, located in the folder, specified by the full path | | fromFile(String htmlFilePath, String resourceFolderPath) | Static factory, that creates an instance of EditableDocument from a HTML file, that is specified by a path to the \*.html file itself and a folder with linked resources | | dispose() | Disposes this Editable document instance, disposing its content and making its methods and properties non-working | | isDisposed() | Determines whether this Editable document was already disposed (true) or not (false) | ##### Disposed ``` public final Event Disposed ``` ##### getImages() ``` public final List getImages() ``` Allows to obtain external image resources (raster images), which are used by this HTML document **Returns:** java.util.List ##### getFonts() ``` public final List getFonts() ``` Allows to obtain external font resources, which are used by this HTML document **Returns:** java.util.List ##### getCss() ``` public final List getCss() ``` Returns a list of CSS resources **Returns:** java.util.List ##### getAudio() ``` public final List getAudio() ``` Returns a list of audio resources **Returns:** java.util.List ##### getAllResources() ``` public final List getAllResources() ``` Returns a list of all existing resources: all stylesheets, images from HTML and all stylesheets, fonts This property returns a concatenated result of 'Images', 'Fonts', and 'Css' properties **Returns:** java.util.List ##### getContent(OutputStream storage, Charset encoding) ``` public OutputStream getContent(OutputStream storage, Charset encoding) ``` Returns overall content of the HTML document as a byte stream by writing this content into specified stream with specified text encoding **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | storage | java.io.OutputStream | Non-null byte stream, which supports writing | | encoding | java.nio.charset.Charset | Non-null text encoding, which should be apllied while writing text content into specified storage TStream : Any implementation of the java.io.InputStream | **Returns:** java.io.OutputStream - Instance of specified storage ##### getBodyContent() ``` public final String getBodyContent() ``` Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string. **Returns:** java.lang.String - String, which contains the body of the HTML document WYSIWYG editors operate with the body of the document and cannot correctly process its meta information from the HEAD block. This method is designed for such cases. This overload doesn't allow to adjust URIs for external resource requests. ##### getBodyContent(String externalImagesTemplate) ``` public final String getBodyContent(String externalImagesTemplate) ``` Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string, where links to the external resources contain specified prefix. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | externalImagesTemplate | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external images in IMG elements, which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added. WYSIWYG editors operate with the body of the document and cannot correctly process its meta information from the HEAD block. This method is designed for such cases. This overload allows to adjust URIs for external resource requests. | **Returns:** java.lang.String - String, which contains the body of the HTML document with links, adjusted to the external images ##### getContent() ``` public String getContent() ``` Returns overall content of the HTML document as a string. **Returns:** java.lang.String - String, which contains the content of the HTML document ##### getContentString(String externalImagesTemplate, String externalCssTemplate) ``` public String getContentString(String externalImagesTemplate, String externalCssTemplate) ``` Returns overall content of the HTML document as a string, where links to the external resources contain specified prefix. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | externalImagesTemplate | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external images in IMG elements, which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added. | | externalCssTemplate | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external stylesheets in LINK elements, which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added. | **Returns:** java.lang.String - String, which contains the content of the HTML document with links, adjusted to the external resources ##### getCssContent() ``` public final List getCssContent() ``` Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Returns empty list, if there is no CSS for this document. **Returns:** java.util.List - A list of strings, where each string holds a content of one CSS document ##### getCssContent(String externalImagesPrefix, String externalFontsPrefix) ``` public final List getCssContent(String externalImagesPrefix, String externalFontsPrefix) ``` Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Specified prefix will be applied to every link to the external resource in every resultant stylesheet. Returns empty list, if there is no CSS for this document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | externalImagesPrefix | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external images, which will be present in CSS declarations in the resultant CSS strings. If NULL or empty, prefixes will not be added. | | externalFontsPrefix | java.lang.String | Through this parameter used can specify a prefix, which will be added to the links to all external fonts in the | **Returns:** java.util.List - A list of strings, where each string holds a content of one CSS document ##### getEmbeddedHtml() ``` public final String getEmbeddedHtml() ``` Returns all content of this HTML document with all related resources in a form of a single string, where all resources are embedded inside the HTML markup in a base64-encoded form. **Returns:** java.lang.String - String, which is not NULL or empty in any case ##### save(String htmlFilePath) ``` public final void save(String htmlFilePath) ``` Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | java.lang.String | Full path to the file, where HTML markup will be stored. File will be created or overwritten, if exists. Accompanying resource folder will be created in the same folder, where HTML file exist. | ##### save(String htmlFilePath, String resourcesFolderPath) ``` public final void save(String htmlFilePath, String resourcesFolderPath) ``` Saves this HTML document to the file on specified path, where HTML markup will be stored, and to the accompanying folder with resources, which is located on specified path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | java.lang.String | Full path to the file, where HTML markup will be stored. Cannot be NULL or empty. File will be created or overwritten, if exists. | | resourcesFolderPath | java.lang.String | Full path to the accompanying folder, where all related resources will be stored. If NULL or empty, folder will be created automatically in the same directory, where \*.html file. If specified and not exists, will be created. | ##### save(Writer htmlMarkup, HtmlSaveOptions saveOptions) ``` public void save(Writer htmlMarkup, HtmlSaveOptions saveOptions) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlMarkup | java.io.Writer | | | saveOptions | HtmlSaveOptions | | ##### fromMarkup(String newHtmlContent, List resources) ``` public static EditableDocument fromMarkup(String newHtmlContent, List resources) ``` Static factory, that creates an instance of EditableDocument from specified HTML markup and a set of corresponding linked resources **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newHtmlContent | java.lang.String | String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid. | | resources | java.util.List | Collection of all resources (images, stylesheets, fonts), that are used in the HTML-document, specified in newHtmlContent parameter. May be absent (NULL or empty collection). | **Returns:** EditableDocument - New non-null instance of EditableDocument ##### fromMarkupAndResourceFolder(String newHtmlContent, String resourceFolderPath) ``` public static EditableDocument fromMarkupAndResourceFolder(String newHtmlContent, String resourceFolderPath) ``` Static factory, that creates an instance of EditableDocument from a specified HTML markup and from resources, located in the folder, specified by the full path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newHtmlContent | java.lang.String | String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid. | | resourceFolderPath | java.lang.String | Mandatory path to the folder with resources. All stylesheets, which are located in this folder, will be used. Cannot be NULL or empty string, and this folder should exists. This static factory is useful when content of HTML document is presented as a string, but all resources are located in some folder, and often links to these resources in HTML markup are invalid and absent. When invoking this method, it scans specified folder and automatically applies all found stylesheets to the document. This method is very useful when obtaining content from different HTML editors, which usually cut off the document metadata and so on. | **Returns:** EditableDocument - New non-null instance of EditableDocument ##### fromFile(String htmlFilePath, String resourceFolderPath) ``` public static EditableDocument fromFile(String htmlFilePath, String resourceFolderPath) ``` Static factory, that creates an instance of EditableDocument from a HTML file, that is specified by a path to the \*.html file itself and a folder with linked resources **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | htmlFilePath | java.lang.String | String, that contains a full path to the HTML file. Cannot be null, should be valid file path, and file itself should exists. | | resourceFolderPath | java.lang.String | Optional path to the folder with HTML resources. If NULL, invalid or such folder doesn't exist, Editor will try to find the this folder by itself, analyzing the HTML markup | **Returns:** EditableDocument - New non-null instance of EditableDocument ##### dispose() ``` public final void dispose() ``` Disposes this Editable document instance, disposing its content and making its methods and properties non-working ##### isDisposed() ``` public final boolean isDisposed() ``` Determines whether this Editable document was already disposed (true) or not (false) **Returns:** boolean ### Editor Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor/editor.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.editor.htmlcss.resources.IAuxDisposable ``` public final class Editor implements IAuxDisposable ``` Main class, which encapsulates conversion methods. Editor class provides methods for loading, editing, and saving documents of all supportable formats. It is disposable, so use a 'using' directive or dispose its resources manually via 'Dispose()' method call. Document loading is performed through constructors. Document editing - through method 'Edit', and saving back to the resultant document after edit - through method 'Save'. Editor class should be considered as an entry point and the root object of the GroupDocs.Editor. All operations are performed using this class. Typical usage of the Editor class for performing a full document editing pipeline is the next: * Load a document into the Editor instance through its constructor. * Optionally, detect a document type using a method. * Open a document for editing by calling an method and obtaining an instance of class from it.. * Editing a document content on client-side using any WYSIWYG HTML-editor. * Creating a new instance of from edited document content. * Saving an edited document to some output format by calling a method. * Disposing an instance of Editor class via 'using' operator or manually. #### Constructors | Constructor | Description | | --- | --- | | Editor(DocumentFormatBase format) | Initializes a new instance of the Editor class and creates a new empty document based on the specified format. | | Editor(InputStream document) | Initializes new Editor instance with specified input document (as a stream) | | Editor(InputStream document, ILoadOptions loadOptions) | Initializes new Editor instance with specified input document (as a stream) with its load options and Editor settings | | Editor(String filePath) | Initializes new Editor instance with specified input document (as a full file path) | | Editor(String filePath, ILoadOptions loadOptions) | Initializes new Editor instance with specified input document (as a full file path) with its load options | #### Methods | Method | Description | | --- | --- | | edit(IEditOptions editOptions) | Opens a previously loaded document for editing using specified format-specific options by generating and returning an instance of '' class, that, in turn, contains methods for producing HTML markup and associated resources. | | edit() | Opens a previously loaded document for editing using default options by generating and returning an instance of 'EditableDocument' class, that, in turn, contains methods for producing HTML markup and associated resources. | | save(EditableDocument inputDocument, OutputStream outputDocument, ISaveOptions saveOptions) | Converts specified edited document, represented as instance of 'EditableDocument', to the resultant document of specified format and saves its content to specified stream | | save(EditableDocument inputDocument, String filePath, ISaveOptions saveOptions) | Converts specified edited document, represented as instance of '', to the resultant document of specified format and saves its content to file by specified file path | | save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions) | Converts the original document after modification (for example, FormFieldManager (\#getFormFieldManager.getFormFieldManager)), to the resultant document of the specified format and saves its content to the provided stream. | | save(OutputStream outputDocument) | Save the current document content to the specified output stream. | | getDocumentInfo(String password) | Returns metadata about the document, that was loaded to this 'Editor' instance | | dispose() | Disposes this instance of Editor, so that it releases all internal resources and becomes unavailable for further usage | | isDisposed() | Indicates whether this Editor instance was already disposed and cannot be used anymore (true) or not and is active (false) | ##### Editor(DocumentFormatBase format) ``` public Editor(DocumentFormatBase format) ``` Initializes a new instance of the Editor class and creates a new empty document based on the specified format. > ``` > IDocumentFormat format = WordProcessingFormats.Docx; > Editor editor = new Editor(format); > { > // Use the editor instance to edit and save documents > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | DocumentFormatBase | represents the file format of the document that will be created. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Supported+Document+Formats [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ | ##### Editor(InputStream document) ``` public Editor(InputStream document) ``` Initializes new Editor instance with specified input document (as a stream) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Delegate, that should return a stream with document content. Should not be NULL. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Supported+Document+Formats [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ | ##### Editor(InputStream document, ILoadOptions loadOptions) ``` public Editor(InputStream document, ILoadOptions loadOptions) ``` Initializes new Editor instance with specified input document (as a stream) with its load options and Editor settings **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Delegate, that should return a stream with document content. Should not be NULL. | | loadOptions | ILoadOptions | Delegate, that should return a document load options. May be NULL and may return null - in that case document type will be detected automatically and default load options for that type will be applied. | ##### Editor(String filePath) ``` public Editor(String filePath) ``` Initializes new Editor instance with specified input document (as a full file path) **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Full path to the file. Should not be NULL. Should be valid, and file should exist. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/supported-document-formats/ [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ | ##### Editor(String filePath, ILoadOptions loadOptions) ``` public Editor(String filePath, ILoadOptions loadOptions) ``` Initializes new Editor instance with specified input document (as a full file path) with its load options **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Full path to the file. Should not be NULL. Should be valid, and file should exist. | | loadOptions | ILoadOptions | Delegate, that should return a document load options. May be NULL and may return null - in that case document type will be detected automatically and default load options for that type will be applied. **Learn more** * More about file types supported by GroupDocs.Editor: [Document formats supported by GroupDocs.Editor][] * More about GroupDocs.Editor for Java features: [Developer Guide][] * More about how to open and edit password-protected documents and document from different storages: [Load and edit documents using GroupDocs.Editor][] [Document formats supported by GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/supported-document-formats/ [Developer Guide]: https://docs.groupdocs.com/editor/java/developer-guide/ [Load and edit documents using GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/load-document/ | ##### edit(IEditOptions editOptions) ``` public final EditableDocument edit(IEditOptions editOptions) ``` Opens a previously loaded document for editing using specified format-specific options by generating and returning an instance of '' class, that, in turn, contains methods for producing HTML markup and associated resources. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | editOptions | IEditOptions | Format-specific document options, which allows to tune-up conversion process. Should not be NULL. Should not conflict with previously applied load options. When input original document is loaded to the 'Editor' instance through the constructor, this method allows to open document for editing by converting it to intermediate format, which is encapsulated within instance of 'EditableDocument' class. 'EditableDocument', returned from this method, contains all necessary methods and properties for producing HTML markup and corresponding resources (like images, fonts and stylesheets) in all necessary configurations for subsequent passing them into any WYSIWYG HTML-editor. This overload obtains edit options, which are specific for family formats. [How to edit document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Edit+document | **Returns:** EditableDocument ##### edit() ``` public final EditableDocument edit() ``` Opens a previously loaded document for editing using default options by generating and returning an instance of 'EditableDocument' class, that, in turn, contains methods for producing HTML markup and associated resources. **Returns:** EditableDocument - Instance of the 'EditableDocument' class, which encapsulates overall input document with all its resources in intermediate format. This method, if successfully finished, never returns NULL. When input original document is loaded to the 'Editor' instance through the constructor, this method allows to open document for editing by converting it to intermediate format, which is encapsulated within instance of 'EditableDocument' class. 'EditableDocument', returned from this method, contains all necessary methods and properties for producing HTML markup and corresponding resources (like images, fonts and stylesheets) in all necessary configurations for subsequent passing them into any WYSIWYG HTML-editor. This overload applies edit options, which are default for the format, to which the input document belongs. [How to edit document using GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/edit-document/ ##### save(EditableDocument inputDocument, OutputStream outputDocument, ISaveOptions saveOptions) ``` public final void save(EditableDocument inputDocument, OutputStream outputDocument, ISaveOptions saveOptions) ``` Converts specified edited document, represented as instance of 'EditableDocument', to the resultant document of specified format and saves its content to specified stream **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of 'EditableDocument' class, which should be converted to output document of some specific format | | outputDocument | java.io.OutputStream | Output stream, in which the content of the resultant document will be recorded. Should not be NULL, disposed, should support writing. | | saveOptions | ISaveOptions | Document saving options, which define the format of the resultant document, and also general and format-specific saving options. **Learn more** * More about saving document after edit using GroupDocs.Editor: [How to save edited document using GroupDocs.Editor][] [How to save edited document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Save+document | ##### save(EditableDocument inputDocument, String filePath, ISaveOptions saveOptions) ``` public final void save(EditableDocument inputDocument, String filePath, ISaveOptions saveOptions) ``` Converts specified edited document, represented as instance of '', to the resultant document of specified format and saves its content to file by specified file path **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | inputDocument | EditableDocument | Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of '' class, which should be converted to output document of some specific format. Must not be null or disposed. | | filePath | java.lang.String | Path to the file, in which the output document will be saved. It file with the same name exists, it will be completely rewritten. String with path must not be null, empty or contain only whitespaces. | | saveOptions | ISaveOptions | Document saving options, which define the format of the resultant document, and also general and format-specific saving options. Must not be null. **Learn more** * More about saving document after edit using GroupDocs.Editor: [How to save edited document using GroupDocs.Editor][] [How to save edited document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Save+document | ##### save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions) ``` public final OutputStream save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions) ``` Converts the original document after modification (for example, FormFieldManager (\#getFormFieldManager.getFormFieldManager)), to the resultant document of the specified format and saves its content to the provided stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputDocument | java.io.OutputStream | The stream to which the output document will be saved. This stream should be writable and positioned at the start of the document content. Must not be null. | | saveOptions | WordProcessingSaveOptions | Document saving options that define the format of the resultant document, as well as general and format-specific saving options. Must not be null. If the outputDocument or saveOptions is null, an NullPointerException will be thrown. If the document to save is missing, an NullPointerException will be thrown. **Learn more:** * | **Returns:** java.io.OutputStream - The stream containing the saved document content. ##### save(OutputStream outputDocument) ``` public final OutputStream save(OutputStream outputDocument) ``` Save the current document content to the specified output stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | outputDocument | java.io.OutputStream | The stream to which the document content will be saved. This cannot be null. This method copies the content from the internal document representation to the provided output stream. The stream's original position is preserved after the save operation. | **Returns:** java.io.OutputStream - The stream with the saved document content. ##### getDocumentInfo(String password) ``` public final IDocumentInfo getDocumentInfo(String password) ``` Returns metadata about the document, that was loaded to this 'Editor' instance **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | User can specify a password for a document, if this document is encrypted with the password. May be NULL or empty string, that is equivalent to the absent password. For those document formats, which do not have a password protection feature, this argument will be ignored. If the document is encrypted, and password in not specified in this parameter, but it was specified before in the load options while creating this instance, it will be used. **Learn more** * Learn more about obtaining document specific properties in code: [How to get document info using GroupDocs.Editor][] [How to get document info using GroupDocs.Editor]: https://docs.groupdocs.com/editor/java/extracting-document-metainfo/ | **Returns:** IDocumentInfo ##### dispose() ``` public final void dispose() ``` Disposes this instance of Editor, so that it releases all internal resources and becomes unavailable for further usage ##### isDisposed() ``` public final boolean isDisposed() ``` Indicates whether this Editor instance was already disposed and cannot be used anymore (true) or not and is active (false) **Returns:** boolean ### EncryptedException Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor/encryptedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception ``` public final class EncryptedException extends System.Exception ``` The exception that is thrown when user tries to open a document that was encrypted using the X509Certificates. #### Constructors | Constructor | Description | | --- | --- | | EncryptedException() | | | EncryptedException(String message) | | | EncryptedException(String message, RuntimeException inner) | | ##### EncryptedException() ``` public EncryptedException() ``` ##### EncryptedException(String message) ``` public EncryptedException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### EncryptedException(String message, RuntimeException inner) ``` public EncryptedException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ### FormFieldManager Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor/formfieldmanager.md **Inheritance:** java.lang.Object ``` public class FormFieldManager ``` #### Methods | Method | Description | | --- | --- | | getFormFieldCollection() | | | updateFormFields(FormFieldCollection formFieldCollection) | | | fixInvalidFormFieldNames(List updateInvalidFormFieldNames) | | | hasInvalidFormFields() | | | removeFormField(IFormField formField) | | | getInvalidFormFieldNames() | | | removeFormFields(List formFields) | | ##### getFormFieldCollection() ``` public FormFieldCollection getFormFieldCollection() ``` **Returns:** FormFieldCollection ##### updateFormFields(FormFieldCollection formFieldCollection) ``` public void updateFormFields(FormFieldCollection formFieldCollection) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | formFieldCollection | FormFieldCollection | | ##### fixInvalidFormFieldNames(List updateInvalidFormFieldNames) ``` public void fixInvalidFormFieldNames(List updateInvalidFormFieldNames) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updateInvalidFormFieldNames | java.util.List | | ##### hasInvalidFormFields() ``` public boolean hasInvalidFormFields() ``` **Returns:** boolean ##### removeFormField(IFormField formField) ``` public void removeFormField(IFormField formField) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | formField | IFormField | | ##### getInvalidFormFieldNames() ``` public Collection getInvalidFormFieldNames() ``` **Returns:** java.util.Collection ##### removeFormFields(List formFields) ``` public void removeFormFields(List formFields) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | formFields | java.util.List | | ### IncorrectPasswordException Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor/incorrectpasswordexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public final class IncorrectPasswordException extends RuntimeException ``` The exception that is thrown when specified password is incorrect. #### Constructors | Constructor | Description | | --- | --- | | IncorrectPasswordException() | | | IncorrectPasswordException(String message) | | | IncorrectPasswordException(String message, RuntimeException inner) | | ##### IncorrectPasswordException() ``` public IncorrectPasswordException() ``` ##### IncorrectPasswordException(String message) ``` public IncorrectPasswordException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### IncorrectPasswordException(String message, RuntimeException inner) ``` public IncorrectPasswordException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ### InvalidFormatException Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor/invalidformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public final class InvalidFormatException extends RuntimeException ``` The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format. For example, this exception will be thrown, if try to open Spreadsheet document with WordProcessing document options. #### Constructors | Constructor | Description | | --- | --- | | InvalidFormatException() | | | InvalidFormatException(String message) | | | InvalidFormatException(String message, RuntimeException inner) | | ##### InvalidFormatException() ``` public InvalidFormatException() ``` ##### InvalidFormatException(String message) ``` public InvalidFormatException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### InvalidFormatException(String message, RuntimeException inner) ``` public InvalidFormatException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ### PasswordRequiredException Path: https://reference.groupdocs.com/editor/nodejs-java/com.groupdocs.editor/passwordrequiredexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public final class PasswordRequiredException extends RuntimeException ``` The exception that is thrown when user tries to open a password-protected encrypted document of some format and doesn't provide a password for opening this document. #### Constructors | Constructor | Description | | --- | --- | | PasswordRequiredException() | | | PasswordRequiredException(String message) | | | PasswordRequiredException(String message, RuntimeException inner) | | ##### PasswordRequiredException() ``` public PasswordRequiredException() ``` ##### PasswordRequiredException(String message) ``` public PasswordRequiredException(String message) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | ##### PasswordRequiredException(String message, RuntimeException inner) ``` public PasswordRequiredException(String message, RuntimeException inner) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | | | inner | java.lang.RuntimeException | | ## Python ### GroupDocs.Editor for Python via .NET Path: https://reference.groupdocs.com/editor/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.editor` | Main GroupDocs.Editor namespace with top-level API classes. | | `groupdocs.editor.formats` | Types under `groupdocs.editor.formats`. | | `groupdocs.editor.formats.abstraction` | Types under `groupdocs.editor.formats.abstraction`. | | `groupdocs.editor.metadata` | Types under `groupdocs.editor.metadata`. | | `groupdocs.editor.options` | Option classes for configuring conversions and operations. | ### groupdocs.editor.formats.abstraction Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction.md Types under `groupdocs.editor.formats.abstraction`. ##### Classes | Class | Description | | :- | :- | | `DocumentFormatBase` | | | `FormatFamilyBase` | | | `IDocumentFormat` | | ### DocumentFormatBase class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase.md #### DocumentFormatBase class The DocumentFormatBase type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_idocument_format | | | _equals_object | | | _get_hash_code_noargs | | | equals | | | equals_idocument_format | | | equals_object | | | from_mime | | | get_hash_code | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### _equals_idocument_format method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/_equals_idocument_format.md #### _equals_idocument_format ```python def _equals_idocument_format(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `IDocumentFormat` | | **Returns:** bool ### _equals_object method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/equals.md #### equals ```python def equals(self): ... ``` ### equals_idocument_format method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/equals_idocument_format.md #### equals_idocument_format ```python def equals_idocument_format(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_mime method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/from_mime.md #### from_mime ```python def from_mime(cls, mime): ... ``` | Parameter | Type | Description | | :- | :- | :- | | mime | `str` | | **Returns:** Any ### get_hash_code method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/documentformatbase/name.md ##### Definition: ```python @property def name(self): ... ``` ### FormatFamilyBase class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase.md #### FormatFamilyBase class The FormatFamilyBase type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_format_family_base | | | _equals_object | | | _get_hash_code_noargs | | | _to_string_noargs | | | equals | | | equals_format_family_base | | | equals_object | | | from_name | | | from_value | | | get_all | | | get_hash_code | | | to_string | | ##### Properties | Property | Description | | :- | :- | | id | | | name | | ### _equals_format_family_base method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/_equals_format_family_base.md #### _equals_format_family_base ```python def _equals_format_family_base(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `FormatFamilyBase` | | **Returns:** bool ### _equals_object method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### _to_string_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/equals.md #### equals ```python def equals(self): ... ``` ### equals_format_family_base method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/equals_format_family_base.md #### equals_format_family_base ```python def equals_format_family_base(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### from_name method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/from_name.md #### from_name ```python def from_name(cls, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | `str` | | **Returns:** Any ### from_value method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/from_value.md #### from_value ```python def from_value(cls, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `int` | | **Returns:** Any ### get_all method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/get_all.md #### get_all ```python def get_all(cls): ... ``` **Returns:** Any ### get_hash_code method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### id property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/id.md ##### Definition: ```python @property def id(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/name.md ##### Definition: ```python @property def name(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/formatfamilybase/to_string.md #### to_string ```python def to_string(self): ... ``` ### IDocumentFormat class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/idocumentformat.md #### IDocumentFormat class The IDocumentFormat type exposes the following members: ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/idocumentformat/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/idocumentformat/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/idocumentformat/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.abstraction/idocumentformat/name.md ##### Definition: ```python @property def name(self): ... ``` ### groupdocs.editor.formats Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats.md Types under `groupdocs.editor.formats`. ##### Classes | Class | Description | | :- | :- | | `EBookFormats` | | | `EmailFormats` | | | `FixedLayoutFormats` | | | `PresentationFormats` | | | `SpreadsheetFormats` | | | `TextualFormats` | | | `WordProcessingFormats` | | ##### Enumerations | Enum | Description | | :- | :- | | `FormatFamilies` | | ### EBookFormats class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/ebookformats.md #### EBookFormats class The EBookFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | from_extension | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_idocument_format | (inherited from `DocumentFormatBase`) | | _equals_object | (inherited from `DocumentFormatBase`) | | _get_hash_code_noargs | (inherited from `DocumentFormatBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `DocumentFormatBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_idocument_format | (inherited from `DocumentFormatBase`) | | equals_object | (inherited from `DocumentFormatBase`) | | from_mime | (inherited from `DocumentFormatBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `DocumentFormatBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/ebookformats/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/ebookformats/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/ebookformats/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** EBookFormats ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/ebookformats/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/ebookformats/name.md ##### Definition: ```python @property def name(self): ... ``` ### EmailFormats class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/emailformats.md #### EmailFormats class The EmailFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | from_extension | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_idocument_format | (inherited from `DocumentFormatBase`) | | _equals_object | (inherited from `DocumentFormatBase`) | | _get_hash_code_noargs | (inherited from `DocumentFormatBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `DocumentFormatBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_idocument_format | (inherited from `DocumentFormatBase`) | | equals_object | (inherited from `DocumentFormatBase`) | | from_mime | (inherited from `DocumentFormatBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `DocumentFormatBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/emailformats/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/emailformats/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/emailformats/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** EmailFormats ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/emailformats/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/emailformats/name.md ##### Definition: ```python @property def name(self): ... ``` ### FixedLayoutFormats class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/fixedlayoutformats.md #### FixedLayoutFormats class The FixedLayoutFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | from_extension | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_idocument_format | (inherited from `DocumentFormatBase`) | | _equals_object | (inherited from `DocumentFormatBase`) | | _get_hash_code_noargs | (inherited from `DocumentFormatBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `DocumentFormatBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_idocument_format | (inherited from `DocumentFormatBase`) | | equals_object | (inherited from `DocumentFormatBase`) | | from_mime | (inherited from `DocumentFormatBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `DocumentFormatBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/fixedlayoutformats/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/fixedlayoutformats/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/fixedlayoutformats/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** FixedLayoutFormats ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/fixedlayoutformats/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/fixedlayoutformats/name.md ##### Definition: ```python @property def name(self): ... ``` ### FormatFamilies class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/formatfamilies.md #### FormatFamilies class The FormatFamilies type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_object | (inherited from `FormatFamilyBase`) | | _get_hash_code_noargs | (inherited from `FormatFamilyBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `FormatFamilyBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_object | (inherited from `FormatFamilyBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `FormatFamilyBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | id | (inherited from `FormatFamilyBase`) | | name | (inherited from `FormatFamilyBase`) | ### PresentationFormats class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/presentationformats.md #### PresentationFormats class The PresentationFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | from_extension | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_idocument_format | (inherited from `DocumentFormatBase`) | | _equals_object | (inherited from `DocumentFormatBase`) | | _get_hash_code_noargs | (inherited from `DocumentFormatBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `DocumentFormatBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_idocument_format | (inherited from `DocumentFormatBase`) | | equals_object | (inherited from `DocumentFormatBase`) | | from_mime | (inherited from `DocumentFormatBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `DocumentFormatBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/presentationformats/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/presentationformats/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/presentationformats/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** PresentationFormats ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/presentationformats/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/presentationformats/name.md ##### Definition: ```python @property def name(self): ... ``` ### SpreadsheetFormats class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/spreadsheetformats.md #### SpreadsheetFormats class The SpreadsheetFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | from_extension | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_idocument_format | (inherited from `DocumentFormatBase`) | | _equals_object | (inherited from `DocumentFormatBase`) | | _get_hash_code_noargs | (inherited from `DocumentFormatBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `DocumentFormatBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_idocument_format | (inherited from `DocumentFormatBase`) | | equals_object | (inherited from `DocumentFormatBase`) | | from_mime | (inherited from `DocumentFormatBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `DocumentFormatBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/spreadsheetformats/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/spreadsheetformats/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/spreadsheetformats/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** SpreadsheetFormats ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/spreadsheetformats/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/spreadsheetformats/name.md ##### Definition: ```python @property def name(self): ... ``` ### TextualFormats class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/textualformats.md #### TextualFormats class The TextualFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | from_extension | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_idocument_format | (inherited from `DocumentFormatBase`) | | _equals_object | (inherited from `DocumentFormatBase`) | | _get_hash_code_noargs | (inherited from `DocumentFormatBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `DocumentFormatBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_idocument_format | (inherited from `DocumentFormatBase`) | | equals_object | (inherited from `DocumentFormatBase`) | | from_mime | (inherited from `DocumentFormatBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `DocumentFormatBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/textualformats/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/textualformats/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/textualformats/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** TextualFormats ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/textualformats/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/textualformats/name.md ##### Definition: ```python @property def name(self): ... ``` ### WordProcessingFormats class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/wordprocessingformats.md #### WordProcessingFormats class The WordProcessingFormats type exposes the following members: ##### Methods | Method | Description | | :- | :- | | from_extension | | | _equals_format_family_base | (inherited from `FormatFamilyBase`) | | _equals_idocument_format | (inherited from `DocumentFormatBase`) | | _equals_object | (inherited from `DocumentFormatBase`) | | _get_hash_code_noargs | (inherited from `DocumentFormatBase`) | | _to_string_noargs | (inherited from `FormatFamilyBase`) | | equals | (inherited from `DocumentFormatBase`) | | equals_format_family_base | (inherited from `FormatFamilyBase`) | | equals_idocument_format | (inherited from `DocumentFormatBase`) | | equals_object | (inherited from `DocumentFormatBase`) | | from_mime | (inherited from `DocumentFormatBase`) | | from_name | (inherited from `FormatFamilyBase`) | | from_value | (inherited from `FormatFamilyBase`) | | get_all | (inherited from `FormatFamilyBase`) | | get_hash_code | (inherited from `DocumentFormatBase`) | | to_string | (inherited from `FormatFamilyBase`) | ##### Properties | Property | Description | | :- | :- | | extension | | | format_family | | | mime | | | name | | | id | (inherited from `FormatFamilyBase`) | ### extension property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/wordprocessingformats/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### format_family property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/wordprocessingformats/format_family.md ##### Definition: ```python @property def format_family(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/wordprocessingformats/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** WordProcessingFormats ### mime property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/wordprocessingformats/mime.md ##### Definition: ```python @property def mime(self): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.formats/wordprocessingformats/name.md ##### Definition: ```python @property def name(self): ... ``` ### groupdocs.editor.metadata Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata.md Types under `groupdocs.editor.metadata`. ##### Classes | Class | Description | | :- | :- | | `EbookDocumentInfo` | | | `EmailDocumentInfo` | | | `FixedLayoutDocumentInfo` | | | `IDocumentInfo` | | | `MarkdownDocumentInfo` | | | `PresentationDocumentInfo` | | | `SpreadsheetDocumentInfo` | | | `TextualDocumentInfo` | | | `WordProcessingDocumentInfo` | | ### EbookDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo.md #### EbookDocumentInfo class The EbookDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_ebook_document_info | | | equals | | | equals_ebook_document_info | | ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### _equals_ebook_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo/_equals_ebook_document_info.md #### _equals_ebook_document_info ```python def _equals_ebook_document_info(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `EbookDocumentInfo` | | **Returns:** bool ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo/equals.md #### equals ```python def equals(self): ... ``` ### equals_ebook_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo/equals_ebook_document_info.md #### equals_ebook_document_info ```python def equals_ebook_document_info(self): ... ``` ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/ebookdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### EmailDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo.md #### EmailDocumentInfo class The EmailDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_email_document_info | | | equals | | | equals_email_document_info | | ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### _equals_email_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo/_equals_email_document_info.md #### _equals_email_document_info ```python def _equals_email_document_info(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `EmailDocumentInfo` | | **Returns:** bool ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo/equals.md #### equals ```python def equals(self): ... ``` ### equals_email_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo/equals_email_document_info.md #### equals_email_document_info ```python def equals_email_document_info(self): ... ``` ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/emaildocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### FixedLayoutDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo.md #### FixedLayoutDocumentInfo class The FixedLayoutDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_fixed_layout_document_info | | | equals | | | equals_fixed_layout_document_info | | ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### _equals_fixed_layout_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/_equals_fixed_layout_document_info.md #### _equals_fixed_layout_document_info ```python def _equals_fixed_layout_document_info(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `FixedLayoutDocumentInfo` | | **Returns:** bool ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/equals.md #### equals ```python def equals(self): ... ``` ### equals_fixed_layout_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/equals_fixed_layout_document_info.md #### equals_fixed_layout_document_info ```python def equals_fixed_layout_document_info(self): ... ``` ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/fixedlayoutdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### IDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/idocumentinfo.md #### IDocumentInfo class The IDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/idocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/idocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/idocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/idocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### MarkdownDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo.md #### MarkdownDocumentInfo class The MarkdownDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_markdown_document_info | | | equals | | | equals_markdown_document_info | | ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### _equals_markdown_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo/_equals_markdown_document_info.md #### _equals_markdown_document_info ```python def _equals_markdown_document_info(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `MarkdownDocumentInfo` | | **Returns:** bool ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo/equals.md #### equals ```python def equals(self): ... ``` ### equals_markdown_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo/equals_markdown_document_info.md #### equals_markdown_document_info ```python def equals_markdown_document_info(self): ... ``` ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/markdowndocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### PresentationDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo.md #### PresentationDocumentInfo class The PresentationDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _generate_preview_int32 | | | generate_preview | | | generate_preview_int32 | | ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### _generate_preview_int32 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo/_generate_preview_int32.md #### _generate_preview_int32 ```python def _generate_preview_int32(self, slide_index): ... ``` | Parameter | Type | Description | | :- | :- | :- | | slide_index | `int` | | **Returns:** SvgImage ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### generate_preview method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo/generate_preview.md #### generate_preview ```python def generate_preview(self): ... ``` ### generate_preview_int32 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo/generate_preview_int32.md #### generate_preview_int32 ```python def generate_preview_int32(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/presentationdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### SpreadsheetDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo.md #### SpreadsheetDocumentInfo class The SpreadsheetDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_spreadsheet_document_info | | | _generate_preview_int32 | | | equals | | | equals_spreadsheet_document_info | | | generate_preview | | | generate_preview_int32 | | ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### _equals_spreadsheet_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/_equals_spreadsheet_document_info.md #### _equals_spreadsheet_document_info ```python def _equals_spreadsheet_document_info(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `SpreadsheetDocumentInfo` | | **Returns:** bool ### _generate_preview_int32 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/_generate_preview_int32.md #### _generate_preview_int32 ```python def _generate_preview_int32(self, worksheet_index): ... ``` | Parameter | Type | Description | | :- | :- | :- | | worksheet_index | `int` | | **Returns:** SvgImage ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/equals.md #### equals ```python def equals(self): ... ``` ### equals_spreadsheet_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/equals_spreadsheet_document_info.md #### equals_spreadsheet_document_info ```python def equals_spreadsheet_document_info(self): ... ``` ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### generate_preview method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/generate_preview.md #### generate_preview ```python def generate_preview(self): ... ``` ### generate_preview_int32 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/generate_preview_int32.md #### generate_preview_int32 ```python def generate_preview_int32(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/spreadsheetdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### TextualDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/textualdocumentinfo.md #### TextualDocumentInfo class The TextualDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | encoding | | | format | | | is_encrypted | | | page_count | | | size | | ### encoding property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/textualdocumentinfo/encoding.md ##### Definition: ```python @property def encoding(self): ... ``` ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/textualdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/textualdocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/textualdocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/textualdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### WordProcessingDocumentInfo class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo.md #### WordProcessingDocumentInfo class The WordProcessingDocumentInfo type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_word_processing_document_info | | | _generate_preview_int32 | | | equals | | | equals_word_processing_document_info | | | generate_preview | | | generate_preview_int32 | | ##### Properties | Property | Description | | :- | :- | | format | | | is_encrypted | | | page_count | | | size | | ### _equals_word_processing_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/_equals_word_processing_document_info.md #### _equals_word_processing_document_info ```python def _equals_word_processing_document_info(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `WordProcessingDocumentInfo` | | **Returns:** bool ### _generate_preview_int32 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/_generate_preview_int32.md #### _generate_preview_int32 ```python def _generate_preview_int32(self, page_index): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_index | `int` | | **Returns:** SvgImage ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/equals.md #### equals ```python def equals(self): ... ``` ### equals_word_processing_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/equals_word_processing_document_info.md #### equals_word_processing_document_info ```python def equals_word_processing_document_info(self): ... ``` ### format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/format.md ##### Definition: ```python @property def format(self): ... ``` ### generate_preview method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/generate_preview.md #### generate_preview ```python def generate_preview(self): ... ``` ### generate_preview_int32 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/generate_preview_int32.md #### generate_preview_int32 ```python def generate_preview_int32(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.metadata/wordprocessingdocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### groupdocs.editor.options Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options.md Option classes for configuring conversions and operations. ##### Classes | Class | Description | | :- | :- | | `DelimitedTextEditOptions` | | | `DelimitedTextSaveOptions` | | | `EbookEditOptions` | | | `EbookSaveOptions` | | | `EmailEditOptions` | | | `EmailSaveOptions` | | | `FixedLayoutEditOptionsBase` | | | `HtmlSaveOptions` | | | `IHtmlSavingCallback` | | | `ILoadOptions` | | | `IMarkdownImageLoadCallback` | | | `MarkdownEditOptions` | | | `MarkdownImageLoadArgs` | | | `MarkdownSaveOptions` | | | `MhtmlSaveOptions` | | | `PageRange` | | | `PdfEditOptions` | | | `PdfLoadOptions` | | | `PdfSaveOptions` | | | `PresentationEditOptions` | | | `PresentationLoadOptions` | | | `PresentationSaveOptions` | | | `SpreadsheetEditOptions` | | | `SpreadsheetLoadOptions` | | | `SpreadsheetSaveOptions` | | | `TextEditOptions` | | | `TextSaveOptions` | | | `WebFont` | | | `WordProcessingEditOptions` | | | `WordProcessingLoadOptions` | | | `WordProcessingProtection` | | | `WordProcessingSaveOptions` | | | `WorksheetProtection` | | | `XmlEditOptions` | | | `XmlFormatOptions` | | | `XmlHighlightOptions` | | | `XpsSaveOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `FontEmbeddingOptions` | | | `FontExtractionOptions` | | | `IEditOptions` | | | `ISaveOptions` | | | `MailMessageOutput` | | | `MarkdownImageLoadingAction` | | | `MarkdownTableContentAlignment` | | | `PdfCompliance` | | | `TextDirection` | | | `TextLeadingSpacesOptions` | | | `TextTrailingSpacesOptions` | | | `WordProcessingProtectionType` | | | `WorksheetProtectionType` | | ### DelimitedTextEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions.md #### DelimitedTextEditOptions class The DelimitedTextEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_string | | ##### Properties | Property | Description | | :- | :- | | convert_date_time_data | | | convert_numeric_data | | | optimize_memory_usage | | | separator | | | treat_consecutive_delimiters_as_one | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions/_init_string.md #### _init_string ```python def _init_string(self, separator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | separator | `str` | | ### convert_date_time_data property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions/convert_date_time_data.md ##### Definition: ```python @property def convert_date_time_data(self): ... @convert_date_time_data.setter def convert_date_time_data(self, value): ... ``` ### convert_numeric_data property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions/convert_numeric_data.md ##### Definition: ```python @property def convert_numeric_data(self): ... @convert_numeric_data.setter def convert_numeric_data(self, value): ... ``` ### optimize_memory_usage property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions/optimize_memory_usage.md ##### Definition: ```python @property def optimize_memory_usage(self): ... @optimize_memory_usage.setter def optimize_memory_usage(self, value): ... ``` ### separator property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions/separator.md ##### Definition: ```python @property def separator(self): ... @separator.setter def separator(self, value): ... ``` ### treat_consecutive_delimiters_as_one property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtexteditoptions/treat_consecutive_delimiters_as_one.md ##### Definition: ```python @property def treat_consecutive_delimiters_as_one(self): ... @treat_consecutive_delimiters_as_one.setter def treat_consecutive_delimiters_as_one(self, value): ... ``` ### DelimitedTextSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions.md #### DelimitedTextSaveOptions class The DelimitedTextSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _init_string | | ##### Properties | Property | Description | | :- | :- | | encoding | | | keep_separators_for_blank_row | | | separator | | | trim_leading_blank_row_and_column | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _init_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions/_init_string.md #### _init_string ```python def _init_string(self, separator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | separator | `str` | | ### encoding property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### keep_separators_for_blank_row property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions/keep_separators_for_blank_row.md ##### Definition: ```python @property def keep_separators_for_blank_row(self): ... @keep_separators_for_blank_row.setter def keep_separators_for_blank_row(self, value): ... ``` ### separator property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions/separator.md ##### Definition: ```python @property def separator(self): ... @separator.setter def separator(self, value): ... ``` ### trim_leading_blank_row_and_column property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/delimitedtextsaveoptions/trim_leading_blank_row_and_column.md ##### Definition: ```python @property def trim_leading_blank_row_and_column(self): ... @trim_leading_blank_row_and_column.setter def trim_leading_blank_row_and_column(self, value): ... ``` ### EbookEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebookeditoptions.md #### EbookEditOptions class The EbookEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_boolean | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | enable_language_information | | | enable_pagination | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebookeditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_boolean method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebookeditoptions/_init_boolean.md #### _init_boolean ```python def _init_boolean(self, enable_pagination): ... ``` | Parameter | Type | Description | | :- | :- | :- | | enable_pagination | `bool` | | ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebookeditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### enable_language_information property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebookeditoptions/enable_language_information.md ##### Definition: ```python @property def enable_language_information(self): ... @enable_language_information.setter def enable_language_information(self, value): ... ``` ### enable_pagination property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebookeditoptions/enable_pagination.md ##### Definition: ```python @property def enable_pagination(self): ... @enable_pagination.setter def enable_pagination(self, value): ... ``` ### EbookSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebooksaveoptions.md #### EbookSaveOptions class The EbookSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_ebook_formats | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | export_document_properties | | | output_format | | | split_heading_level | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebooksaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_ebook_formats method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebooksaveoptions/_init_ebook_formats.md #### _init_ebook_formats ```python def _init_ebook_formats(self, output_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_format | `EBookFormats` | | ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebooksaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### export_document_properties property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebooksaveoptions/export_document_properties.md ##### Definition: ```python @property def export_document_properties(self): ... @export_document_properties.setter def export_document_properties(self, value): ... ``` ### output_format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebooksaveoptions/output_format.md ##### Definition: ```python @property def output_format(self): ... @output_format.setter def output_format(self, value): ... ``` ### split_heading_level property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ebooksaveoptions/split_heading_level.md ##### Definition: ```python @property def split_heading_level(self): ... @split_heading_level.setter def split_heading_level(self, value): ... ``` ### EmailEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emaileditoptions.md #### EmailEditOptions class The EmailEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_mail_message_output | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | mail_message_output | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emaileditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_mail_message_output method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emaileditoptions/_init_mail_message_output.md #### _init_mail_message_output ```python def _init_mail_message_output(self, mail_message_output): ... ``` | Parameter | Type | Description | | :- | :- | :- | | mail_message_output | `MailMessageOutput` | | ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emaileditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### mail_message_output property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emaileditoptions/mail_message_output.md ##### Definition: ```python @property def mail_message_output(self): ... @mail_message_output.setter def mail_message_output(self, value): ... ``` ### EmailSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emailsaveoptions.md #### EmailSaveOptions class The EmailSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_mail_message_output | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | mail_message_output | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emailsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_mail_message_output method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emailsaveoptions/_init_mail_message_output.md #### _init_mail_message_output ```python def _init_mail_message_output(self, mail_message_output): ... ``` | Parameter | Type | Description | | :- | :- | :- | | mail_message_output | `MailMessageOutput` | | ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emailsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### mail_message_output property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/emailsaveoptions/mail_message_output.md ##### Definition: ```python @property def mail_message_output(self): ... @mail_message_output.setter def mail_message_output(self, value): ... ``` ### FixedLayoutEditOptionsBase class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fixedlayouteditoptionsbase.md #### FixedLayoutEditOptionsBase class The FixedLayoutEditOptionsBase type exposes the following members: ##### Properties | Property | Description | | :- | :- | | enable_pagination | | | pages | | | skip_images | | ### enable_pagination property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fixedlayouteditoptionsbase/enable_pagination.md ##### Definition: ```python @property def enable_pagination(self): ... @enable_pagination.setter def enable_pagination(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fixedlayouteditoptionsbase/pages.md ##### Definition: ```python @property def pages(self): ... @pages.setter def pages(self, value): ... ``` ### skip_images property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fixedlayouteditoptionsbase/skip_images.md ##### Definition: ```python @property def skip_images(self): ... @skip_images.setter def skip_images(self, value): ... ``` ### FontEmbeddingOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontembeddingoptions.md #### FontEmbeddingOptions class The FontEmbeddingOptions type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NOT_EMBED | | | EMBED_ALL | | | EMBED_WITHOUT_SYSTEM | | ### EMBED_ALL field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontembeddingoptions/embed_all.md ##### Value `1` ### EMBED_WITHOUT_SYSTEM field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontembeddingoptions/embed_without_system.md ##### Value `2` ### NOT_EMBED field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontembeddingoptions/not_embed.md ##### Value `0` ### FontExtractionOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontextractionoptions.md #### FontExtractionOptions class The FontExtractionOptions type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NOT_EXTRACT | | | EXTRACT_ALL_EMBEDDED | | | EXTRACT_EMBEDDED_WITHOUT_SYSTEM | | | EXTRACT_ALL | | ### EXTRACT_ALL field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontextractionoptions/extract_all.md ##### Value `3` ### EXTRACT_ALL_EMBEDDED field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontextractionoptions/extract_all_embedded.md ##### Value `1` ### EXTRACT_EMBEDDED_WITHOUT_SYSTEM field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontextractionoptions/extract_embedded_without_system.md ##### Value `2` ### NOT_EXTRACT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/fontextractionoptions/not_extract.md ##### Value `0` ### HtmlSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/htmlsaveoptions.md #### HtmlSaveOptions class The HtmlSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | attribute_value_delimiter | | | embed_stylesheets_into_markup | | | html_tag_case | | | saving_callback | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/htmlsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/htmlsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### attribute_value_delimiter property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/htmlsaveoptions/attribute_value_delimiter.md ##### Definition: ```python @property def attribute_value_delimiter(self): ... @attribute_value_delimiter.setter def attribute_value_delimiter(self, value): ... ``` ### embed_stylesheets_into_markup property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/htmlsaveoptions/embed_stylesheets_into_markup.md ##### Definition: ```python @property def embed_stylesheets_into_markup(self): ... @embed_stylesheets_into_markup.setter def embed_stylesheets_into_markup(self, value): ... ``` ### html_tag_case property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/htmlsaveoptions/html_tag_case.md ##### Definition: ```python @property def html_tag_case(self): ... @html_tag_case.setter def html_tag_case(self, value): ... ``` ### saving_callback property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/htmlsaveoptions/saving_callback.md ##### Definition: ```python @property def saving_callback(self): ... @saving_callback.setter def saving_callback(self, value): ... ``` ### IEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ieditoptions.md #### IEditOptions class The IEditOptions type exposes the following members: ### IHtmlSavingCallback class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ihtmlsavingcallback.md #### IHtmlSavingCallback class The IHtmlSavingCallback type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _save_one_resource_ihtml_resource | | | save_one_resource | | | save_one_resource_ihtml_resource | | ### _save_one_resource_ihtml_resource method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ihtmlsavingcallback/_save_one_resource_ihtml_resource.md #### _save_one_resource_ihtml_resource ```python def _save_one_resource_ihtml_resource(self, resource): ... ``` | Parameter | Type | Description | | :- | :- | :- | | resource | `IHtmlResource` | | **Returns:** str ### save_one_resource method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ihtmlsavingcallback/save_one_resource.md #### save_one_resource ```python def save_one_resource(self): ... ``` ### save_one_resource_ihtml_resource method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/ihtmlsavingcallback/save_one_resource_ihtml_resource.md #### save_one_resource_ihtml_resource ```python def save_one_resource_ihtml_resource(self): ... ``` ### ILoadOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/iloadoptions.md #### ILoadOptions class The ILoadOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | password | | ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/iloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### IMarkdownImageLoadCallback class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/imarkdownimageloadcallback.md #### IMarkdownImageLoadCallback class The IMarkdownImageLoadCallback type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _process_image_markdown_image_load_args | | | process_image | | | process_image_markdown_image_load_args | | ### _process_image_markdown_image_load_args method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/imarkdownimageloadcallback/_process_image_markdown_image_load_args.md #### _process_image_markdown_image_load_args ```python def _process_image_markdown_image_load_args(self, args): ... ``` | Parameter | Type | Description | | :- | :- | :- | | args | `MarkdownImageLoadArgs` | | **Returns:** MarkdownImageLoadingAction ### process_image method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/imarkdownimageloadcallback/process_image.md #### process_image ```python def process_image(self): ... ``` ### process_image_markdown_image_load_args method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/imarkdownimageloadcallback/process_image_markdown_image_load_args.md #### process_image_markdown_image_load_args ```python def process_image_markdown_image_load_args(self): ... ``` ### ISaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/isaveoptions.md #### ISaveOptions class The ISaveOptions type exposes the following members: ### MailMessageOutput class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput.md #### MailMessageOutput class The MailMessageOutput type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | | | BODY | | | SUBJECT | | | DATE | | | TO | | | CC | | | BCC | | | FROM | | | COMMON | | | ATTACHMENTS | | | METADATA | | | ALL | | ### ALL field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/all.md ##### Value `511` ### ATTACHMENTS field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/attachments.md ##### Value `128` ### BCC field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/bcc.md ##### Value `32` ### BODY field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/body.md ##### Value `1` ### CC field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/cc.md ##### Value `16` ### COMMON field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/common.md ##### Value `123` ### DATE field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/date.md ##### Value `4` ### FROM field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/from.md ##### Value `64` ### METADATA field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/metadata.md ##### Value `256` ### NONE field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/none.md ##### Value `0` ### SUBJECT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/subject.md ##### Value `2` ### TO field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mailmessageoutput/to.md ##### Value `8` ### MarkdownEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowneditoptions.md #### MarkdownEditOptions class The MarkdownEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | image_load_callback | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowneditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowneditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### image_load_callback property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowneditoptions/image_load_callback.md ##### Definition: ```python @property def image_load_callback(self): ... @image_load_callback.setter def image_load_callback(self, value): ... ``` ### MarkdownImageLoadArgs class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs.md #### MarkdownImageLoadArgs class The MarkdownImageLoadArgs type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _set_data_byte_array | | | set_data | | | set_data_bytes | | ##### Properties | Property | Description | | :- | :- | | image_file_name | | | is_absolute_uri | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _set_data_byte_array method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs/_set_data_byte_array.md #### _set_data_byte_array ```python def _set_data_byte_array(self, data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | data | `bytes` | | ### image_file_name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs/image_file_name.md ##### Definition: ```python @property def image_file_name(self): ... @image_file_name.setter def image_file_name(self, value): ... ``` ### is_absolute_uri property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs/is_absolute_uri.md ##### Definition: ```python @property def is_absolute_uri(self): ... @is_absolute_uri.setter def is_absolute_uri(self, value): ... ``` ### set_data method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs/set_data.md #### set_data ```python def set_data(self): ... ``` ### set_data_bytes method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadargs/set_data_bytes.md #### set_data_bytes ```python def set_data_bytes(self): ... ``` ### MarkdownImageLoadingAction class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadingaction.md #### MarkdownImageLoadingAction class The MarkdownImageLoadingAction type exposes the following members: ##### Fields | Field | Description | | :- | :- | | DEFAULT | | | SKIP | | | USER_PROVIDED | | ### DEFAULT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadingaction/default.md ##### Value `0` ### SKIP field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadingaction/skip.md ##### Value `1` ### USER_PROVIDED field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownimageloadingaction/user_provided.md ##### Value `2` ### MarkdownSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownsaveoptions.md #### MarkdownSaveOptions class The MarkdownSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | export_images_as_base64 | | | images_folder | | | optimize_memory_usage | | | table_content_alignment | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### export_images_as_base64 property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownsaveoptions/export_images_as_base64.md ##### Definition: ```python @property def export_images_as_base64(self): ... @export_images_as_base64.setter def export_images_as_base64(self, value): ... ``` ### images_folder property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownsaveoptions/images_folder.md ##### Definition: ```python @property def images_folder(self): ... @images_folder.setter def images_folder(self, value): ... ``` ### optimize_memory_usage property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownsaveoptions/optimize_memory_usage.md ##### Definition: ```python @property def optimize_memory_usage(self): ... @optimize_memory_usage.setter def optimize_memory_usage(self, value): ... ``` ### table_content_alignment property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdownsaveoptions/table_content_alignment.md ##### Definition: ```python @property def table_content_alignment(self): ... @table_content_alignment.setter def table_content_alignment(self, value): ... ``` ### MarkdownTableContentAlignment class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowntablecontentalignment.md #### MarkdownTableContentAlignment class The MarkdownTableContentAlignment type exposes the following members: ##### Fields | Field | Description | | :- | :- | | AUTO | | | LEFT | | | CENTER | | | RIGHT | | ### AUTO field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowntablecontentalignment/auto.md ##### Value `0` ### CENTER field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowntablecontentalignment/center.md ##### Value `2` ### LEFT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowntablecontentalignment/left.md ##### Value `1` ### RIGHT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/markdowntablecontentalignment/right.md ##### Value `3` ### MhtmlSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mhtmlsaveoptions.md #### MhtmlSaveOptions class The MhtmlSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | export_cid_urls | | | export_document_properties | | | export_language_information | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mhtmlsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mhtmlsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### export_cid_urls property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mhtmlsaveoptions/export_cid_urls.md ##### Definition: ```python @property def export_cid_urls(self): ... @export_cid_urls.setter def export_cid_urls(self, value): ... ``` ### export_document_properties property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mhtmlsaveoptions/export_document_properties.md ##### Definition: ```python @property def export_document_properties(self): ... @export_document_properties.setter def export_document_properties(self, value): ... ``` ### export_language_information property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/mhtmlsaveoptions/export_language_information.md ##### Definition: ```python @property def export_language_information(self): ... @export_language_information.setter def export_language_information(self, value): ... ``` ### PageRange class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange.md #### PageRange class The PageRange type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_page_range | | | equals | | | equals_page_range | | | from_beginning_with_count | | | from_start_page_till_end | | | from_start_page_till_end_page | | | from_start_page_with_count | | ##### Properties | Property | Description | | :- | :- | | count | | | end_number | | | is_default | | | start_number | | ### _equals_page_range method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/_equals_page_range.md #### _equals_page_range ```python def _equals_page_range(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `PageRange` | | **Returns:** bool ### count property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/count.md ##### Definition: ```python @property def count(self): ... ``` ### end_number property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/end_number.md ##### Definition: ```python @property def end_number(self): ... ``` ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/equals.md #### equals ```python def equals(self): ... ``` ### equals_page_range method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/equals_page_range.md #### equals_page_range ```python def equals_page_range(self): ... ``` ### from_beginning_with_count method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/from_beginning_with_count.md #### from_beginning_with_count ```python def from_beginning_with_count(cls, page_count): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_count | `int` | | **Returns:** PageRange ### from_start_page_till_end method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/from_start_page_till_end.md #### from_start_page_till_end ```python def from_start_page_till_end(cls, start_page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_page_number | `int` | | **Returns:** PageRange ### from_start_page_till_end_page method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/from_start_page_till_end_page.md #### from_start_page_till_end_page ```python def from_start_page_till_end_page(cls, start_page_number, end_page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_page_number | `int` | | | end_page_number | `int` | | **Returns:** PageRange ### from_start_page_with_count method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/from_start_page_with_count.md #### from_start_page_with_count ```python def from_start_page_with_count(cls, start_page_number, page_count): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_page_number | `int` | | | page_count | `int` | | **Returns:** PageRange ### is_default property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/is_default.md ##### Definition: ```python @property def is_default(self): ... ``` ### start_number property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pagerange/start_number.md ##### Definition: ```python @property def start_number(self): ... ``` ### PdfCompliance class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance.md #### PdfCompliance class The PdfCompliance type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PDF17 | | | PDF20 | | | PDF_A1A | | | PDF_A1B | | | PDF_A2A | | | PDF_A2U | | | PDF_UA1 | | ### PDF17 field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance/pdf17.md ##### Value `0` ### PDF20 field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance/pdf20.md ##### Value `1` ### PDF_A1A field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance/pdf_a1a.md ##### Value `2` ### PDF_A1B field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance/pdf_a1b.md ##### Value `3` ### PDF_A2A field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance/pdf_a2a.md ##### Value `4` ### PDF_A2U field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance/pdf_a2u.md ##### Value `5` ### PDF_UA1 field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfcompliance/pdf_ua1.md ##### Value `6` ### PdfEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfeditoptions.md #### PdfEditOptions class The PdfEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_boolean | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | enable_pagination | (inherited from `FixedLayoutEditOptionsBase`) | | pages | (inherited from `FixedLayoutEditOptionsBase`) | | skip_images | (inherited from `FixedLayoutEditOptionsBase`) | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfeditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_boolean method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfeditoptions/_init_boolean.md #### _init_boolean ```python def _init_boolean(self, enable_pagination): ... ``` | Parameter | Type | Description | | :- | :- | :- | | enable_pagination | `bool` | | ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfeditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### PdfLoadOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfloadoptions.md #### PdfLoadOptions class The PdfLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### PdfSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfsaveoptions.md #### PdfSaveOptions class The PdfSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | compliance | | | font_embedding | | | optimize_memory_usage | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compliance property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfsaveoptions/compliance.md ##### Definition: ```python @property def compliance(self): ... @compliance.setter def compliance(self, value): ... ``` ### font_embedding property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfsaveoptions/font_embedding.md ##### Definition: ```python @property def font_embedding(self): ... @font_embedding.setter def font_embedding(self, value): ... ``` ### optimize_memory_usage property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfsaveoptions/optimize_memory_usage.md ##### Definition: ```python @property def optimize_memory_usage(self): ... @optimize_memory_usage.setter def optimize_memory_usage(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/pdfsaveoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### PresentationEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationeditoptions.md #### PresentationEditOptions class The PresentationEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | show_hidden_slides | | | slide_number | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationeditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationeditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### show_hidden_slides property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationeditoptions/show_hidden_slides.md ##### Definition: ```python @property def show_hidden_slides(self): ... @show_hidden_slides.setter def show_hidden_slides(self, value): ... ``` ### slide_number property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationeditoptions/slide_number.md ##### Definition: ```python @property def slide_number(self): ... @slide_number.setter def slide_number(self, value): ... ``` ### PresentationLoadOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationloadoptions.md #### PresentationLoadOptions class The PresentationLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### PresentationSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions.md #### PresentationSaveOptions class The PresentationSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _init_presentation_formats | | ##### Properties | Property | Description | | :- | :- | | insert_as_new_slide | | | output_format | | | password | | | slide_number | | | slide_numbers_to_delete | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _init_presentation_formats method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/_init_presentation_formats.md #### _init_presentation_formats ```python def _init_presentation_formats(self, output_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_format | `PresentationFormats` | | ### insert_as_new_slide property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/insert_as_new_slide.md ##### Definition: ```python @property def insert_as_new_slide(self): ... @insert_as_new_slide.setter def insert_as_new_slide(self, value): ... ``` ### output_format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/output_format.md ##### Definition: ```python @property def output_format(self): ... @output_format.setter def output_format(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### slide_number property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/slide_number.md ##### Definition: ```python @property def slide_number(self): ... @slide_number.setter def slide_number(self, value): ... ``` ### slide_numbers_to_delete property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/presentationsaveoptions/slide_numbers_to_delete.md ##### Definition: ```python @property def slide_numbers_to_delete(self): ... @slide_numbers_to_delete.setter def slide_numbers_to_delete(self, value): ... ``` ### SpreadsheetEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheeteditoptions.md #### SpreadsheetEditOptions class The SpreadsheetEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | exclude_hidden_worksheets | | | worksheet_index | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheeteditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheeteditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### exclude_hidden_worksheets property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheeteditoptions/exclude_hidden_worksheets.md ##### Definition: ```python @property def exclude_hidden_worksheets(self): ... @exclude_hidden_worksheets.setter def exclude_hidden_worksheets(self, value): ... ``` ### worksheet_index property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheeteditoptions/worksheet_index.md ##### Definition: ```python @property def worksheet_index(self): ... @worksheet_index.setter def worksheet_index(self, value): ... ``` ### SpreadsheetLoadOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetloadoptions.md #### SpreadsheetLoadOptions class The SpreadsheetLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | optimize_memory_usage | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### optimize_memory_usage property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetloadoptions/optimize_memory_usage.md ##### Definition: ```python @property def optimize_memory_usage(self): ... @optimize_memory_usage.setter def optimize_memory_usage(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### SpreadsheetSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions.md #### SpreadsheetSaveOptions class The SpreadsheetSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _init_spreadsheet_formats | | ##### Properties | Property | Description | | :- | :- | | insert_as_new_worksheet | | | output_format | | | password | | | worksheet_number | | | worksheet_numbers_to_delete | | | worksheet_protection | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _init_spreadsheet_formats method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/_init_spreadsheet_formats.md #### _init_spreadsheet_formats ```python def _init_spreadsheet_formats(self, output_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_format | `SpreadsheetFormats` | | ### insert_as_new_worksheet property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/insert_as_new_worksheet.md ##### Definition: ```python @property def insert_as_new_worksheet(self): ... @insert_as_new_worksheet.setter def insert_as_new_worksheet(self, value): ... ``` ### output_format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/output_format.md ##### Definition: ```python @property def output_format(self): ... @output_format.setter def output_format(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### worksheet_number property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/worksheet_number.md ##### Definition: ```python @property def worksheet_number(self): ... @worksheet_number.setter def worksheet_number(self, value): ... ``` ### worksheet_numbers_to_delete property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/worksheet_numbers_to_delete.md ##### Definition: ```python @property def worksheet_numbers_to_delete(self): ... @worksheet_numbers_to_delete.setter def worksheet_numbers_to_delete(self, value): ... ``` ### worksheet_protection property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/spreadsheetsaveoptions/worksheet_protection.md ##### Definition: ```python @property def worksheet_protection(self): ... @worksheet_protection.setter def worksheet_protection(self, value): ... ``` ### TextDirection class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textdirection.md #### TextDirection class The TextDirection type exposes the following members: ##### Fields | Field | Description | | :- | :- | | LEFT_TO_RIGHT | | | RIGHT_TO_LEFT | | | AUTO | | ### AUTO field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textdirection/auto.md ##### Value `2` ### LEFT_TO_RIGHT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textdirection/left_to_right.md ##### Value `0` ### RIGHT_TO_LEFT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textdirection/right_to_left.md ##### Value `1` ### TextEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions.md #### TextEditOptions class The TextEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | direction | | | enable_pagination | | | encoding | | | leading_spaces | | | recognize_lists | | | trailing_spaces | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### direction property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/direction.md ##### Definition: ```python @property def direction(self): ... @direction.setter def direction(self, value): ... ``` ### enable_pagination property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/enable_pagination.md ##### Definition: ```python @property def enable_pagination(self): ... @enable_pagination.setter def enable_pagination(self, value): ... ``` ### encoding property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### leading_spaces property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/leading_spaces.md ##### Definition: ```python @property def leading_spaces(self): ... @leading_spaces.setter def leading_spaces(self, value): ... ``` ### recognize_lists property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/recognize_lists.md ##### Definition: ```python @property def recognize_lists(self): ... @recognize_lists.setter def recognize_lists(self, value): ... ``` ### trailing_spaces property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texteditoptions/trailing_spaces.md ##### Definition: ```python @property def trailing_spaces(self): ... @trailing_spaces.setter def trailing_spaces(self, value): ... ``` ### TextLeadingSpacesOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textleadingspacesoptions.md #### TextLeadingSpacesOptions class The TextLeadingSpacesOptions type exposes the following members: ##### Fields | Field | Description | | :- | :- | | CONVERT_TO_INDENT | | | PRESERVE | | | TRIM | | ### CONVERT_TO_INDENT field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textleadingspacesoptions/convert_to_indent.md ##### Value `0` ### PRESERVE field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textleadingspacesoptions/preserve.md ##### Value `1` ### TRIM field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textleadingspacesoptions/trim.md ##### Value `2` ### TextSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textsaveoptions.md #### TextSaveOptions class The TextSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | add_bidi_marks | | | encoding | | | preserve_table_layout | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### add_bidi_marks property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textsaveoptions/add_bidi_marks.md ##### Definition: ```python @property def add_bidi_marks(self): ... @add_bidi_marks.setter def add_bidi_marks(self, value): ... ``` ### encoding property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textsaveoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### preserve_table_layout property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/textsaveoptions/preserve_table_layout.md ##### Definition: ```python @property def preserve_table_layout(self): ... @preserve_table_layout.setter def preserve_table_layout(self, value): ... ``` ### TextTrailingSpacesOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texttrailingspacesoptions.md #### TextTrailingSpacesOptions class The TextTrailingSpacesOptions type exposes the following members: ##### Fields | Field | Description | | :- | :- | | TRIM | | | PRESERVE | | ### PRESERVE field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texttrailingspacesoptions/preserve.md ##### Value `1` ### TRIM field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/texttrailingspacesoptions/trim.md ##### Value `0` ### WebFont class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont.md #### WebFont class The WebFont type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _equals_object | | | _equals_web_font | | | clone | | | equals | | | equals_object | | | equals_web_font | | ##### Properties | Property | Description | | :- | :- | | color | | | line | | | name | | | size | | | style | | | weight | | ### _clone_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** WebFont ### _equals_object method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _equals_web_font method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/_equals_web_font.md #### _equals_web_font ```python def _equals_web_font(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `WebFont` | | **Returns:** bool ### clone method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/clone.md #### clone ```python def clone(self): ... ``` ### color property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/color.md ##### Definition: ```python @property def color(self): ... @color.setter def color(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/equals.md #### equals ```python def equals(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_web_font method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/equals_web_font.md #### equals_web_font ```python def equals_web_font(self): ... ``` ### line property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/line.md ##### Definition: ```python @property def line(self): ... @line.setter def line(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/name.md ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### size property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/size.md ##### Definition: ```python @property def size(self): ... @size.setter def size(self, value): ... ``` ### style property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/style.md ##### Definition: ```python @property def style(self): ... @style.setter def style(self, value): ... ``` ### weight property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/webfont/weight.md ##### Definition: ```python @property def weight(self): ... @weight.setter def weight(self, value): ... ``` ### WordProcessingEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions.md #### WordProcessingEditOptions class The WordProcessingEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_boolean | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | enable_language_information | | | enable_pagination | | | extract_only_used_font | | | font_extraction | | | input_controls_class_name | | | use_inline_styles | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_boolean method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/_init_boolean.md #### _init_boolean ```python def _init_boolean(self, enable_pagination): ... ``` | Parameter | Type | Description | | :- | :- | :- | | enable_pagination | `bool` | | ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### enable_language_information property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/enable_language_information.md ##### Definition: ```python @property def enable_language_information(self): ... @enable_language_information.setter def enable_language_information(self, value): ... ``` ### enable_pagination property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/enable_pagination.md ##### Definition: ```python @property def enable_pagination(self): ... @enable_pagination.setter def enable_pagination(self, value): ... ``` ### extract_only_used_font property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/extract_only_used_font.md ##### Definition: ```python @property def extract_only_used_font(self): ... @extract_only_used_font.setter def extract_only_used_font(self, value): ... ``` ### font_extraction property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/font_extraction.md ##### Definition: ```python @property def font_extraction(self): ... @font_extraction.setter def font_extraction(self, value): ... ``` ### input_controls_class_name property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/input_controls_class_name.md ##### Definition: ```python @property def input_controls_class_name(self): ... @input_controls_class_name.setter def input_controls_class_name(self, value): ... ``` ### use_inline_styles property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingeditoptions/use_inline_styles.md ##### Definition: ```python @property def use_inline_styles(self): ... @use_inline_styles.setter def use_inline_styles(self, value): ... ``` ### WordProcessingLoadOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingloadoptions.md #### WordProcessingLoadOptions class The WordProcessingLoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingloadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingloadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingloadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### WordProcessingProtection class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotection.md #### WordProcessingProtection class The WordProcessingProtection type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _init_word_processing_protection_type_string | | ##### Properties | Property | Description | | :- | :- | | password | | | protection_type | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotection/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotection/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _init_word_processing_protection_type_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotection/_init_word_processing_protection_type_string.md #### _init_word_processing_protection_type_string ```python def _init_word_processing_protection_type_string(self, protection_type, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | protection_type | `WordProcessingProtectionType` | | | password | `str` | | ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotection/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### protection_type property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotection/protection_type.md ##### Definition: ```python @property def protection_type(self): ... @protection_type.setter def protection_type(self, value): ... ``` ### WordProcessingProtectionType class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotectiontype.md #### WordProcessingProtectionType class The WordProcessingProtectionType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NO_PROTECTION | | | ALLOW_ONLY_REVISIONS | | | ALLOW_ONLY_COMMENTS | | | ALLOW_ONLY_FORM_FIELDS | | | READ_ONLY | | ### ALLOW_ONLY_COMMENTS field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotectiontype/allow_only_comments.md ##### Value `2` ### ALLOW_ONLY_FORM_FIELDS field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotectiontype/allow_only_form_fields.md ##### Value `3` ### ALLOW_ONLY_REVISIONS field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotectiontype/allow_only_revisions.md ##### Value `1` ### NO_PROTECTION field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotectiontype/no_protection.md ##### Value `0` ### READ_ONLY field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingprotectiontype/read_only.md ##### Value `4` ### WordProcessingSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions.md #### WordProcessingSaveOptions class The WordProcessingSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _clone_noargs | | | _init_noargs | | | _init_word_processing_formats | | | clone | | ##### Properties | Property | Description | | :- | :- | | enable_pagination | | | font_embedding | | | locale | | | locale_bi | | | locale_far_east | | | optimize_memory_usage | | | output_format | | | password | | | protection | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _clone_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/_clone_noargs.md #### _clone_noargs ```python def _clone_noargs(self): ... ``` **Returns:** WordProcessingSaveOptions ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _init_word_processing_formats method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/_init_word_processing_formats.md #### _init_word_processing_formats ```python def _init_word_processing_formats(self, output_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_format | `WordProcessingFormats` | | ### clone method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/clone.md #### clone ```python def clone(self): ... ``` ### enable_pagination property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/enable_pagination.md ##### Definition: ```python @property def enable_pagination(self): ... @enable_pagination.setter def enable_pagination(self, value): ... ``` ### font_embedding property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/font_embedding.md ##### Definition: ```python @property def font_embedding(self): ... @font_embedding.setter def font_embedding(self, value): ... ``` ### locale property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/locale.md ##### Definition: ```python @property def locale(self): ... @locale.setter def locale(self, value): ... ``` ### locale_bi property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/locale_bi.md ##### Definition: ```python @property def locale_bi(self): ... @locale_bi.setter def locale_bi(self, value): ... ``` ### locale_far_east property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/locale_far_east.md ##### Definition: ```python @property def locale_far_east(self): ... @locale_far_east.setter def locale_far_east(self, value): ... ``` ### optimize_memory_usage property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/optimize_memory_usage.md ##### Definition: ```python @property def optimize_memory_usage(self): ... @optimize_memory_usage.setter def optimize_memory_usage(self, value): ... ``` ### output_format property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/output_format.md ##### Definition: ```python @property def output_format(self): ... @output_format.setter def output_format(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### protection property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/wordprocessingsaveoptions/protection.md ##### Definition: ```python @property def protection(self): ... @protection.setter def protection(self, value): ... ``` ### WorksheetProtection class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotection.md #### WorksheetProtection class The WorksheetProtection type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | | _init_worksheet_protection_type_string | | ##### Properties | Property | Description | | :- | :- | | password | | | protection_type | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotection/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotection/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _init_worksheet_protection_type_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotection/_init_worksheet_protection_type_string.md #### _init_worksheet_protection_type_string ```python def _init_worksheet_protection_type_string(self, protection_type, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | protection_type | `WorksheetProtectionType` | | | password | `str` | | ### password property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotection/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### protection_type property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotection/protection_type.md ##### Definition: ```python @property def protection_type(self): ... @protection_type.setter def protection_type(self, value): ... ``` ### WorksheetProtectionType class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype.md #### WorksheetProtectionType class The WorksheetProtectionType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | | | ALL | | | CONTENTS | | | OBJECTS | | | SCENARIOS | | | STRUCTURE | | | WINDOW | | ### ALL field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype/all.md ##### Value `1` ### CONTENTS field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype/contents.md ##### Value `2` ### NONE field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype/none.md ##### Value `0` ### OBJECTS field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype/objects.md ##### Value `3` ### SCENARIOS field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype/scenarios.md ##### Value `4` ### STRUCTURE field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype/structure.md ##### Value `5` ### WINDOW field Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/worksheetprotectiontype/window.md ##### Value `6` ### XmlEditOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions.md #### XmlEditOptions class The XmlEditOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | attribute_values_quote_type | | | encoding | | | fix_incorrect_structure | | | format_options | | | highlight_options | | | recognize_emails | | | recognize_uris | | | trim_trailing_whitespaces | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### attribute_values_quote_type property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/attribute_values_quote_type.md ##### Definition: ```python @property def attribute_values_quote_type(self): ... @attribute_values_quote_type.setter def attribute_values_quote_type(self, value): ... ``` ### encoding property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... @encoding.setter def encoding(self, value): ... ``` ### fix_incorrect_structure property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/fix_incorrect_structure.md ##### Definition: ```python @property def fix_incorrect_structure(self): ... @fix_incorrect_structure.setter def fix_incorrect_structure(self, value): ... ``` ### format_options property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/format_options.md ##### Definition: ```python @property def format_options(self): ... ``` ### highlight_options property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/highlight_options.md ##### Definition: ```python @property def highlight_options(self): ... ``` ### recognize_emails property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/recognize_emails.md ##### Definition: ```python @property def recognize_emails(self): ... @recognize_emails.setter def recognize_emails(self, value): ... ``` ### recognize_uris property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/recognize_uris.md ##### Definition: ```python @property def recognize_uris(self): ... @recognize_uris.setter def recognize_uris(self, value): ... ``` ### trim_trailing_whitespaces property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmleditoptions/trim_trailing_whitespaces.md ##### Definition: ```python @property def trim_trailing_whitespaces(self): ... @trim_trailing_whitespaces.setter def trim_trailing_whitespaces(self, value): ... ``` ### XmlFormatOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlformatoptions.md #### XmlFormatOptions class The XmlFormatOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | each_attribute_from_newline | | | is_default | | | leaf_text_nodes_on_newline | | | left_indent | | ### each_attribute_from_newline property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlformatoptions/each_attribute_from_newline.md ##### Definition: ```python @property def each_attribute_from_newline(self): ... @each_attribute_from_newline.setter def each_attribute_from_newline(self, value): ... ``` ### is_default property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlformatoptions/is_default.md ##### Definition: ```python @property def is_default(self): ... ``` ### leaf_text_nodes_on_newline property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlformatoptions/leaf_text_nodes_on_newline.md ##### Definition: ```python @property def leaf_text_nodes_on_newline(self): ... @leaf_text_nodes_on_newline.setter def leaf_text_nodes_on_newline(self, value): ... ``` ### left_indent property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlformatoptions/left_indent.md ##### Definition: ```python @property def left_indent(self): ... @left_indent.setter def left_indent(self, value): ... ``` ### XmlHighlightOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions.md #### XmlHighlightOptions class The XmlHighlightOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _reset_to_default_noargs | | | reset_to_default | | ##### Properties | Property | Description | | :- | :- | | attribute_names_font_settings | | | attribute_values_font_settings | | | cdata_font_settings | | | html_comments_font_settings | | | inner_text_font_settings | | | is_default | | | xml_tags_font_settings | | ### _reset_to_default_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/_reset_to_default_noargs.md #### _reset_to_default_noargs ```python def _reset_to_default_noargs(self): ... ``` ### attribute_names_font_settings property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/attribute_names_font_settings.md ##### Definition: ```python @property def attribute_names_font_settings(self): ... ``` ### attribute_values_font_settings property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/attribute_values_font_settings.md ##### Definition: ```python @property def attribute_values_font_settings(self): ... ``` ### cdata_font_settings property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/cdata_font_settings.md ##### Definition: ```python @property def cdata_font_settings(self): ... ``` ### html_comments_font_settings property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/html_comments_font_settings.md ##### Definition: ```python @property def html_comments_font_settings(self): ... ``` ### inner_text_font_settings property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/inner_text_font_settings.md ##### Definition: ```python @property def inner_text_font_settings(self): ... ``` ### is_default property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/is_default.md ##### Definition: ```python @property def is_default(self): ... ``` ### reset_to_default method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/reset_to_default.md #### reset_to_default ```python def reset_to_default(self): ... ``` ### xml_tags_font_settings property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xmlhighlightoptions/xml_tags_font_settings.md ##### Definition: ```python @property def xml_tags_font_settings(self): ... ``` ### XpsSaveOptions class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xpssaveoptions.md #### XpsSaveOptions class The XpsSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | optimize_memory_usage | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xpssaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xpssaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### optimize_memory_usage property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.options/xpssaveoptions/optimize_memory_usage.md ##### Definition: ```python @property def optimize_memory_usage(self): ... @optimize_memory_usage.setter def optimize_memory_usage(self, value): ... ``` ### groupdocs.editor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor.md Main GroupDocs.Editor namespace with top-level API classes. ##### Classes | Class | Description | | :- | :- | | `EditableDocument` | | | `Editor` | | | `FormFieldManager` | | | `License` | Manages GroupDocs.Editor licensing. | | `Metered` | Manages metered (pay-per-use) licensing. | ##### Exceptions | Exception | Description | | :- | :- | | `EncryptedException` | | | `GroupDocsEditorException` | Product-root exception for 'editor' — every | | `IncorrectPasswordException` | | | `InvalidFontFormatException` | | | `InvalidFormatException` | | | `InvalidImageFormatException` | | | `PasswordRequiredException` | | ### EditableDocument class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument.md #### EditableDocument class The EditableDocument type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _dispose_noargs | | | _from_markup_string | | | _from_markup_string_ienumerable_1_aeba | | | _get_body_content_noargs | | | _get_body_content_string | | | _get_content_arg_encoding | | | _get_content_noargs | | | _get_content_string_string | | | _get_css_content_noargs | | | _get_css_content_string_string | | | _get_embedded_html_noargs | | | _save_string | | | _save_string_string | | | _save_text_writer_html_save_options | | | dispose | | | from_file | | | from_markup | | | from_markup_and_resource_folder | | | from_markup_file | | | from_markup_string | | | get_body_content | | | get_body_content_file | | | get_body_content_string | | | get_content | | | get_content_file | | | get_content_string | | | get_css_content | | | get_css_content_file | | | get_css_content_string | | | get_embedded_html | | | save | | | save_file | | | save_string | | | save_text_writer | | ##### Properties | Property | Description | | :- | :- | | all_resources | | | audio | | | css | | | fonts | | | images | | | is_disposed | | ### _dispose_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_dispose_noargs.md #### _dispose_noargs ```python def _dispose_noargs(self): ... ``` ### _from_markup_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_from_markup_string.md #### _from_markup_string ```python def _from_markup_string(cls, new_html_content): ... ``` | Parameter | Type | Description | | :- | :- | :- | | new_html_content | `str` | | **Returns:** EditableDocument ### _from_markup_string_ienumerable_1_aeba method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_from_markup_string_ienumerable_1_aeba.md #### _from_markup_string_ienumerable_1_aeba ```python def _from_markup_string_ienumerable_1_aeba(cls, new_html_content, resources): ... ``` | Parameter | Type | Description | | :- | :- | :- | | new_html_content | `str` | | | resources | `List[Any]` | | **Returns:** EditableDocument ### _get_body_content_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_body_content_noargs.md #### _get_body_content_noargs ```python def _get_body_content_noargs(self): ... ``` **Returns:** str ### _get_body_content_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_body_content_string.md #### _get_body_content_string ```python def _get_body_content_string(self, external_images_template): ... ``` | Parameter | Type | Description | | :- | :- | :- | | external_images_template | `str` | | **Returns:** str ### _get_content_arg_encoding method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_content_arg_encoding.md #### _get_content_arg_encoding ```python def _get_content_arg_encoding(self, storage, encoding): ... ``` | Parameter | Type | Description | | :- | :- | :- | | storage | `Any` | | | encoding | `Encoding` | | **Returns:** Any ### _get_content_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_content_noargs.md #### _get_content_noargs ```python def _get_content_noargs(self): ... ``` **Returns:** str ### _get_content_string_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_content_string_string.md #### _get_content_string_string ```python def _get_content_string_string(self, external_images_template, external_css_template): ... ``` | Parameter | Type | Description | | :- | :- | :- | | external_images_template | `str` | | | external_css_template | `str` | | **Returns:** str ### _get_css_content_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_css_content_noargs.md #### _get_css_content_noargs ```python def _get_css_content_noargs(self): ... ``` **Returns:** List[Any] ### _get_css_content_string_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_css_content_string_string.md #### _get_css_content_string_string ```python def _get_css_content_string_string(self, external_images_prefix, external_fonts_prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | external_images_prefix | `str` | | | external_fonts_prefix | `str` | | **Returns:** List[Any] ### _get_embedded_html_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_get_embedded_html_noargs.md #### _get_embedded_html_noargs ```python def _get_embedded_html_noargs(self): ... ``` **Returns:** str ### _save_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_save_string.md #### _save_string ```python def _save_string(self, html_file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | html_file_path | `str` | | ### _save_string_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_save_string_string.md #### _save_string_string ```python def _save_string_string(self, html_file_path, resources_folder_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | html_file_path | `str` | | | resources_folder_path | `str` | | ### _save_text_writer_html_save_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/_save_text_writer_html_save_options.md #### _save_text_writer_html_save_options ```python def _save_text_writer_html_save_options(self, html_markup, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | html_markup | `TextWriter` | | | save_options | `HtmlSaveOptions` | | ### all_resources property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/all_resources.md ##### Definition: ```python @property def all_resources(self): ... ``` ### audio property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/audio.md ##### Definition: ```python @property def audio(self): ... ``` ### css property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/css.md ##### Definition: ```python @property def css(self): ... ``` ### dispose method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/dispose.md #### dispose ```python def dispose(self): ... ``` ### fonts property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/fonts.md ##### Definition: ```python @property def fonts(self): ... ``` ### from_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/from_file.md #### from_file ```python def from_file(cls, html_file_path, resource_folder_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | html_file_path | `str` | | | resource_folder_path | `str` | | **Returns:** EditableDocument ### from_markup method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/from_markup.md #### from_markup ```python def from_markup(cls): ... ``` ### from_markup_and_resource_folder method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/from_markup_and_resource_folder.md #### from_markup_and_resource_folder ```python def from_markup_and_resource_folder(cls, new_html_content, resource_folder_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | new_html_content | `str` | | | resource_folder_path | `str` | | **Returns:** EditableDocument ### from_markup_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/from_markup_file.md #### from_markup_file ```python def from_markup_file(cls): ... ``` ### from_markup_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/from_markup_string.md #### from_markup_string ```python def from_markup_string(cls): ... ``` ### get_body_content method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_body_content.md #### get_body_content ```python def get_body_content(self): ... ``` ### get_body_content_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_body_content_file.md #### get_body_content_file ```python def get_body_content_file(self): ... ``` ### get_body_content_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_body_content_string.md #### get_body_content_string ```python def get_body_content_string(self): ... ``` ### get_content method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_content.md #### get_content ```python def get_content(self): ... ``` ### get_content_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_content_file.md #### get_content_file ```python def get_content_file(self): ... ``` ### get_content_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_content_string.md #### get_content_string ```python def get_content_string(self): ... ``` ### get_css_content method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_css_content.md #### get_css_content ```python def get_css_content(self): ... ``` ### get_css_content_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_css_content_file.md #### get_css_content_file ```python def get_css_content_file(self): ... ``` ### get_css_content_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_css_content_string.md #### get_css_content_string ```python def get_css_content_string(self): ... ``` ### get_embedded_html method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/get_embedded_html.md #### get_embedded_html ```python def get_embedded_html(self): ... ``` ### images property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/images.md ##### Definition: ```python @property def images(self): ... ``` ### is_disposed property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/is_disposed.md ##### Definition: ```python @property def is_disposed(self): ... ``` ### save method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/save.md #### save ```python def save(self): ... ``` ### save_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/save_file.md #### save_file ```python def save_file(self): ... ``` ### save_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/save_string.md #### save_string ```python def save_string(self): ... ``` ### save_text_writer method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editabledocument/save_text_writer.md #### save_text_writer ```python def save_text_writer(self): ... ``` ### Editor class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor.md #### Editor class The Editor type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _dispose_noargs | | | _edit_iedit_options | | | _edit_noargs | | | _get_document_info_string | | | _init_document_format_base | | | _init_stream | | | _init_stream_iload_options | | | _init_string | | | _init_string_iload_options | | | _save_editable_document_stream_isave_options | | | _save_editable_document_string | | | _save_editable_document_string_isave_options | | | _save_stream | | | _save_stream_word_processing_save_options | | | dispose | | | edit | | | edit_iedit_options | | | get_document_info | | | get_document_info_file | | | get_document_info_string | | | save | | | save_editable_document | | | save_file | | | save_stream | | | save_streams | | | save_string | | ##### Properties | Property | Description | | :- | :- | | form_field_manager | | | is_disposed | | ### __init__ constructor Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _dispose_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_dispose_noargs.md #### _dispose_noargs ```python def _dispose_noargs(self): ... ``` ### _edit_iedit_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_edit_iedit_options.md #### _edit_iedit_options ```python def _edit_iedit_options(self, edit_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | edit_options | `IEditOptions` | | **Returns:** EditableDocument ### _edit_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_edit_noargs.md #### _edit_noargs ```python def _edit_noargs(self): ... ``` **Returns:** EditableDocument ### _get_document_info_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_get_document_info_string.md #### _get_document_info_string ```python def _get_document_info_string(self, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | password | `str` | | **Returns:** IDocumentInfo ### _init_document_format_base method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_init_document_format_base.md #### _init_document_format_base ```python def _init_document_format_base(self, format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | format | `DocumentFormatBase` | | ### _init_stream method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_init_stream.md #### _init_stream ```python def _init_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | ### _init_stream_iload_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_init_stream_iload_options.md #### _init_stream_iload_options ```python def _init_stream_iload_options(self, document, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | load_options | `ILoadOptions` | | ### _init_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_init_string.md #### _init_string ```python def _init_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _init_string_iload_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_init_string_iload_options.md #### _init_string_iload_options ```python def _init_string_iload_options(self, file_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `ILoadOptions` | | ### _save_editable_document_stream_isave_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_save_editable_document_stream_isave_options.md #### _save_editable_document_stream_isave_options ```python def _save_editable_document_stream_isave_options(self, input_document, output_document, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | input_document | `EditableDocument` | | | output_document | `Stream` | | | save_options | `ISaveOptions` | | ### _save_editable_document_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_save_editable_document_string.md #### _save_editable_document_string ```python def _save_editable_document_string(self, input_document, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | input_document | `EditableDocument` | | | file_path | `str` | | ### _save_editable_document_string_isave_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_save_editable_document_string_isave_options.md #### _save_editable_document_string_isave_options ```python def _save_editable_document_string_isave_options(self, input_document, file_path, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | input_document | `EditableDocument` | | | file_path | `str` | | | save_options | `ISaveOptions` | | ### _save_stream method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_save_stream.md #### _save_stream ```python def _save_stream(self, output_document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_document | `Stream` | | **Returns:** Stream ### _save_stream_word_processing_save_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/_save_stream_word_processing_save_options.md #### _save_stream_word_processing_save_options ```python def _save_stream_word_processing_save_options(self, output_document, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_document | `Stream` | | | save_options | `WordProcessingSaveOptions` | | **Returns:** Stream ### dispose method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/dispose.md #### dispose ```python def dispose(self): ... ``` ### edit method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/edit.md #### edit ```python def edit(self): ... ``` ### edit_iedit_options method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/edit_iedit_options.md #### edit_iedit_options ```python def edit_iedit_options(self): ... ``` ### form_field_manager property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/form_field_manager.md ##### Definition: ```python @property def form_field_manager(self): ... ``` ### get_document_info method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/get_document_info.md #### get_document_info ```python def get_document_info(self): ... ``` ### get_document_info_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/get_document_info_file.md #### get_document_info_file ```python def get_document_info_file(self): ... ``` ### get_document_info_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/get_document_info_string.md #### get_document_info_string ```python def get_document_info_string(self): ... ``` ### is_disposed property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/is_disposed.md ##### Definition: ```python @property def is_disposed(self): ... ``` ### save method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/save.md #### save ```python def save(self): ... ``` ### save_editable_document method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/save_editable_document.md #### save_editable_document ```python def save_editable_document(self): ... ``` ### save_file method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/save_file.md #### save_file ```python def save_file(self): ... ``` ### save_stream method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/save_stream.md #### save_stream ```python def save_stream(self): ... ``` ### save_streams method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/save_streams.md #### save_streams ```python def save_streams(self): ... ``` ### save_string method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/editor/save_string.md #### save_string ```python def save_string(self): ... ``` ### EncryptedException class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/encryptedexception.md #### EncryptedException class The EncryptedException type exposes the following members: ### FormFieldManager class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager.md #### FormFieldManager class The FormFieldManager type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _fix_invalid_form_field_names_ienumerable_1_2e10 | | | _get_invalid_form_field_names_noargs | | | _has_invalid_form_fields_noargs | | | _remove_form_fields_ienumerable_1_1ef7 | | | _remove_form_filed_iform_field | | | _update_form_filed_form_field_collection | | | fix_invalid_form_field_names | | | fix_invalid_form_field_names_ienumerable | | | get_invalid_form_field_names | | | has_invalid_form_fields | | | remove_form_fields | | | remove_form_fields_ienumerable | | | remove_form_filed | | | remove_form_filed_iform_field | | | update_form_filed | | | update_form_filed_form_field_collection | | ##### Properties | Property | Description | | :- | :- | | form_field_collection | | ### _fix_invalid_form_field_names_ienumerable_1_2e10 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/_fix_invalid_form_field_names_ienumerable_1_2e10.md #### _fix_invalid_form_field_names_ienumerable_1_2e10 ```python def _fix_invalid_form_field_names_ienumerable_1_2e10(self, update_invalid_form_field_names): ... ``` | Parameter | Type | Description | | :- | :- | :- | | update_invalid_form_field_names | `List[Any]` | | ### _get_invalid_form_field_names_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/_get_invalid_form_field_names_noargs.md #### _get_invalid_form_field_names_noargs ```python def _get_invalid_form_field_names_noargs(self): ... ``` **Returns:** List[Any] ### _has_invalid_form_fields_noargs method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/_has_invalid_form_fields_noargs.md #### _has_invalid_form_fields_noargs ```python def _has_invalid_form_fields_noargs(self): ... ``` **Returns:** bool ### _remove_form_fields_ienumerable_1_1ef7 method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/_remove_form_fields_ienumerable_1_1ef7.md #### _remove_form_fields_ienumerable_1_1ef7 ```python def _remove_form_fields_ienumerable_1_1ef7(self, form_fields): ... ``` | Parameter | Type | Description | | :- | :- | :- | | form_fields | `List[Any]` | | ### _remove_form_filed_iform_field method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/_remove_form_filed_iform_field.md #### _remove_form_filed_iform_field ```python def _remove_form_filed_iform_field(self, form_field): ... ``` | Parameter | Type | Description | | :- | :- | :- | | form_field | `IFormField` | | ### _update_form_filed_form_field_collection method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/_update_form_filed_form_field_collection.md #### _update_form_filed_form_field_collection ```python def _update_form_filed_form_field_collection(self, form_field_collection): ... ``` | Parameter | Type | Description | | :- | :- | :- | | form_field_collection | `FormFieldCollection` | | ### fix_invalid_form_field_names method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/fix_invalid_form_field_names.md #### fix_invalid_form_field_names ```python def fix_invalid_form_field_names(self): ... ``` ### fix_invalid_form_field_names_ienumerable method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/fix_invalid_form_field_names_ienumerable.md #### fix_invalid_form_field_names_ienumerable ```python def fix_invalid_form_field_names_ienumerable(self): ... ``` ### form_field_collection property Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/form_field_collection.md ##### Definition: ```python @property def form_field_collection(self): ... ``` ### get_invalid_form_field_names method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/get_invalid_form_field_names.md #### get_invalid_form_field_names ```python def get_invalid_form_field_names(self): ... ``` ### has_invalid_form_fields method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/has_invalid_form_fields.md #### has_invalid_form_fields ```python def has_invalid_form_fields(self): ... ``` ### remove_form_fields method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/remove_form_fields.md #### remove_form_fields ```python def remove_form_fields(self): ... ``` ### remove_form_fields_ienumerable method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/remove_form_fields_ienumerable.md #### remove_form_fields_ienumerable ```python def remove_form_fields_ienumerable(self): ... ``` ### remove_form_filed method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/remove_form_filed.md #### remove_form_filed ```python def remove_form_filed(self): ... ``` ### remove_form_filed_iform_field method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/remove_form_filed_iform_field.md #### remove_form_filed_iform_field ```python def remove_form_filed_iform_field(self): ... ``` ### update_form_filed method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/update_form_filed.md #### update_form_filed ```python def update_form_filed(self): ... ``` ### update_form_filed_form_field_collection method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/formfieldmanager/update_form_filed_form_field_collection.md #### update_form_filed_form_field_collection ```python def update_form_filed_form_field_collection(self): ... ``` ### GroupDocsEditorException class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/groupdocseditorexception.md #### GroupDocsEditorException class Product-root exception for 'editor' — every generated exception subclasses this, and callers can ``except GroupDocsEditorException:`` as a catch-all for this product without catching other GroupDocs errors. The GroupDocsEditorException type exposes the following members: ### IncorrectPasswordException class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/incorrectpasswordexception.md #### IncorrectPasswordException class The IncorrectPasswordException type exposes the following members: ### InvalidFontFormatException class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/invalidfontformatexception.md #### InvalidFontFormatException class The InvalidFontFormatException type exposes the following members: ### InvalidFormatException class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/invalidformatexception.md #### InvalidFormatException class The InvalidFormatException type exposes the following members: ### InvalidImageFormatException class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/invalidimageformatexception.md #### InvalidImageFormatException class The InvalidImageFormatException type exposes the following members: ### License class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/license.md #### License class Manages GroupDocs.Editor licensing. Licensed builds unlock the full feature set of the wrapper at runtime. Unlicensed builds run in evaluation mode with the same API surface but with limits on output size and watermarked content. The License type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_license | Apply a license to the current process. | ### set_license method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/license/set_license.md #### set_license Apply a license to the current process. ```python def set_license(self, license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | Either a string path to a ``.lic`` file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. | | Raises | Description | | :- | :- | | `TypeError` | If ``license_source`` is neither a string path nor a readable file-like object. | ### Metered class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/metered.md #### Metered class Manages metered (pay-per-use) licensing. Metered licenses bill on actual consumption (typically pages or documents processed). Set the public/private key pair once at application startup; the wrapper reports usage back to the GroupDocs license server in the background. The Metered type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_consumption_credit | Return the remaining metered credit for the current key. | | get_consumption_quantity | Return the total metered quantity consumed so far. | | set_metered_key | Activate metered billing with the given public/private key pair. | ### get_consumption_credit method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/metered/get_consumption_credit.md #### get_consumption_credit Return the remaining metered credit for the current key. ```python def get_consumption_credit(): ... ``` **Returns:** float: The remaining credit balance reported by the license server. ### get_consumption_quantity method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/metered/get_consumption_quantity.md #### get_consumption_quantity Return the total metered quantity consumed so far. ```python def get_consumption_quantity(): ... ``` **Returns:** float: The cumulative usage (typically in pages or documents) recorded against the current metered key. ### set_metered_key method Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/metered/set_metered_key.md #### set_metered_key Activate metered billing with the given public/private key pair. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | | The public key half of the metered credentials. | | private_key | | The private key half of the metered credentials. | ### PasswordRequiredException class Path: https://reference.groupdocs.com/editor/python-net/groupdocs.editor/passwordrequiredexception.md #### PasswordRequiredException class The PasswordRequiredException type exposes the following members: # GroupDocs.Markdown > Export PDF, Word, Excel, and other formats to clean Markdown. ## .NET ### GroupDocs.Markdown for .NET Path: https://reference.groupdocs.com/markdown/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Markdown | The **GroupDocs.Markdown** namespace provides classes for converting documents to Markdown format and exporting Markdown to other document formats. | ### GroupDocs.Markdown Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown.md The **GroupDocs.Markdown** namespace provides classes for converting documents to Markdown format and exporting Markdown to other document formats. #### Classes | Class | Description | | --- | --- | | ConvertOptions | Provides options for customizing the document conversion process to Markdown format. | | ConvertResult | Contains the output of a successful document-to-Markdown conversion. | | CustomImageSavingArgs | Provides information and controls for saving a single image during document-to-Markdown conversion. An instance of this class is passed to the callback registered with `CustomImagesStrategy` for each image found in the source document. | | CustomImagesStrategy | Implements an image export strategy that gives you full control over how images are saved during conversion. | | CustomUriExportStrategy | Implements a URI export strategy that lets you customize how resource URIs are written to Markdown. | | DefaultUriExportStrategy | Provides default URI handling that keeps the URIs generated by the library unchanged. | | DocumentInfo | Provides read-only metadata about a loaded document, such as its format, page count, title, and encryption status. | | DocumentProtectedException | The exception that is thrown when a document is password-protected and no password (or an incorrect password) was provided via `Password`. | | ExportImagesAsBase64Strategy | Implements an image export strategy that embeds images as Base64 strings directly in the Markdown. | | ExportImagesToFileSystemStrategy | Saves images to a folder on disk during conversion. | | ExportOptions | Options for exporting Markdown to a document format (reverse conversion). | | GroupDocsMarkdownException | Represents a product-specific exception that is thrown during file processing. | | ImageExportContext | Contains read-only information about a single image encountered during conversion. Passed to `GetImageStream`. | | InvalidFormatException | The exception that is thrown when a file has an invalid format. | | License | Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). | | LoadOptions | Specifies additional options for loading a document, such as an explicit file format or a password for encrypted files. | | MarkdownConverter | Converts documents from Word, Excel, PDF, and other formats to Markdown. Provides both static one-liner methods and an instance-based API with full control over conversion options. | | Metered | Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. | | SkipImagesStrategy | Implements an image export strategy that skips saving images during document conversion. | | UriExportContext | Contains information about a resource URI being written during conversion. Passed to `UpdateResourceUri`. | | UriSavingArgs | Provides information and controls for customizing how a resource URI is written during document-to-Markdown conversion. An instance of this class is created for each resource and can be used to override the default URI or file name. | #### Interfaces | Interface | Description | | --- | --- | | IImageExportStrategy | Defines a strategy for handling image export during document-to-Markdown conversion. Implement this interface to control where and how images extracted from the source document are stored. | | IImageSavingHandler | Callback interface invoked for each image encountered during conversion when using `CustomImagesStrategy`. Implement this interface to rename images, redirect output to a custom stream, or apply other custom logic. | | IUriExportStrategy | Defines a strategy for customizing resource URIs that are written into the Markdown output during conversion. | | IUriSavingHandler | Callback interface invoked for each resource URI during conversion when using `CustomUriExportStrategy`. Implement this interface to rewrite resource URIs in the Markdown output. | #### Enumeration | Enumeration | Description | | --- | --- | | FileFormat | Specifies a document file format. Used both as input format (when loading a document for conversion to Markdown) and as output format (when exporting Markdown to a document). | | MarkdownFlavor | Specifies the target Markdown dialect for the conversion output. | ### ConvertOptions Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions.md #### ConvertOptions class Provides options for customizing the document conversion process to Markdown format. ```csharp public class ConvertOptions ``` #### Constructors | Name | Description | | --- | --- | | ConvertOptions() | Initializes a new instance of the `ConvertOptions` class. | #### Properties | Name | Description | | --- | --- | | Flavor { get; set; } | Gets or sets the target Markdown dialect. | | HeadingLevelOffset { get; set; } | Gets or sets the offset to apply to all heading levels in the Markdown output. A value of 2 turns `#` into `###`, `##` into `####`, etc. Heading levels are clamped to the range 1-6. | | ImageExportStrategy { get; set; } | Gets or sets the strategy for handling images during conversion. | | IncludeFrontMatter { get; set; } | Gets or sets a value indicating whether to prepend YAML front matter to the Markdown output. When enabled, document metadata (title, author, format, page count) is extracted and written as a YAML block at the beginning of the output. | | IncludeHiddenSheets { get; set; } | Gets or sets whether hidden worksheets are included in spreadsheet conversions. | | MaxColumns { get; set; } | Gets or sets the maximum number of columns to include per table when converting spreadsheets. Columns beyond this limit are truncated with an ellipsis indicator. | | MaxRows { get; set; } | Gets or sets the maximum number of data rows to include per worksheet when converting spreadsheets. Rows beyond this limit are truncated with an ellipsis indicator. | | PageNumbers { get; set; } | Gets or sets an array of page or worksheet numbers to convert. Numbering starts from 1. | | SheetSeparator { get; set; } | Gets or sets the separator inserted between worksheets in spreadsheet conversions. | | UriExportStrategy { get; set; } | Gets or sets the strategy for customizing resource URIs written to Markdown output. | ##### Remarks This class allows you to configure how documents are converted to Markdown, including how images are exported, how resource URIs are written, which pages to convert, and how heading levels are adjusted. By default, images are embedded as Base64 strings in the Markdown output. ##### Examples The following examples show different ways to configure conversion options: ```csharp // Example 1: Using default options (images embedded as Base64) var options = new ConvertOptions(); // Example 2: Saving images to a folder var options = new ConvertOptions { ImageExportStrategy = new ExportImagesToFileSystemStrategy("output/images") }; // Example 3: Skipping image export var options = new ConvertOptions { ImageExportStrategy = new SkipImagesStrategy() }; // Example 4: Converting only the first 3 pages var options = new ConvertOptions { PageNumbers = new[] { 1, 2, 3 } }; // Example 5: Shifting headings down by 2 levels (# becomes ###) var options = new ConvertOptions { HeadingLevelOffset = 2 }; // Example 6: Generating YAML front matter from document metadata var options = new ConvertOptions { IncludeFrontMatter = true }; // Example 7: Combining multiple options var options = new ConvertOptions { ImageExportStrategy = new ExportImagesToFileSystemStrategy("images"), HeadingLevelOffset = 1, IncludeFrontMatter = true, PageNumbers = new[] { 1, 2 } }; ``` ### ConvertOptions Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/convertoptions.md #### ConvertOptions constructor Initializes a new instance of the `ConvertOptions` class. ```csharp public ConvertOptions() ``` ##### Remarks By default, `ImageExportStrategy` is set to `ExportImagesAsBase64Strategy`, which embeds images as Base64 strings directly in the Markdown output. ### Flavor Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/flavor.md #### ConvertOptions.Flavor property Gets or sets the target Markdown dialect. ```csharp public MarkdownFlavor Flavor { get; set; } ``` ##### Property Value Default is GitHub. ### HeadingLevelOffset Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/headingleveloffset.md #### ConvertOptions.HeadingLevelOffset property Gets or sets the offset to apply to all heading levels in the Markdown output. A value of 2 turns `#` into `###`, `##` into `####`, etc. Heading levels are clamped to the range 1-6. ```csharp public int HeadingLevelOffset { get; set; } ``` ##### Property Value Default is 0 (no change). ##### Remarks This is useful when you are embedding the converted Markdown inside a larger document where top-level headings are already in use. For example, setting this to 1 ensures the converted content starts at `##` instead of `#`. ##### Examples Shift all headings down by one level so that source `H1` becomes Markdown `##`: ```csharp var options = new ConvertOptions { HeadingLevelOffset = 1 }; string markdown = MarkdownConverter.ToMarkdown("document.docx", options); ``` ### ImageExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/imageexportstrategy.md #### ConvertOptions.ImageExportStrategy property Gets or sets the strategy for handling images during conversion. ```csharp public IImageExportStrategy ImageExportStrategy { get; set; } ``` ##### Property Value The image export strategy. Default is `ExportImagesAsBase64Strategy`. ##### Remarks Built-in strategies: * `ExportImagesAsBase64Strategy` - Embeds images as Base64 strings (default) * `ExportImagesToFileSystemStrategy` - Saves images to a specified folder * `SkipImagesStrategy` - Skips image saving * `CustomImagesStrategy` - Custom image saving handler Or implement `IImageExportStrategy` for a fully custom strategy. ### IncludeFrontMatter Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/includefrontmatter.md #### ConvertOptions.IncludeFrontMatter property Gets or sets a value indicating whether to prepend YAML front matter to the Markdown output. When enabled, document metadata (title, author, format, page count) is extracted and written as a YAML block at the beginning of the output. ```csharp public bool IncludeFrontMatter { get; set; } ``` ##### Property Value Default is `false`. ##### Remarks Front matter is commonly used by static site generators such as Jekyll, Hugo, and Docusaurus. Only non-empty metadata fields are included. ##### Examples ```csharp var options = new ConvertOptions { IncludeFrontMatter = true }; string markdown = MarkdownConverter.ToMarkdown("report.docx", options); // Output starts with: // --- // title: "Q3 Report" // author: "Jane Doe" // format: Docx // pages: 12 // --- ``` ### IncludeHiddenSheets Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/includehiddensheets.md #### ConvertOptions.IncludeHiddenSheets property Gets or sets whether hidden worksheets are included in spreadsheet conversions. ```csharp public bool IncludeHiddenSheets { get; set; } ``` ##### Property Value Default is `false`. ### MaxColumns Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/maxcolumns.md #### ConvertOptions.MaxColumns property Gets or sets the maximum number of columns to include per table when converting spreadsheets. Columns beyond this limit are truncated with an ellipsis indicator. ```csharp public int MaxColumns { get; set; } ``` ##### Property Value 0 means unlimited (default). ### MaxRows Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/maxrows.md #### ConvertOptions.MaxRows property Gets or sets the maximum number of data rows to include per worksheet when converting spreadsheets. Rows beyond this limit are truncated with an ellipsis indicator. ```csharp public int MaxRows { get; set; } ``` ##### Property Value 0 means unlimited (default). ### PageNumbers Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/pagenumbers.md #### ConvertOptions.PageNumbers property Gets or sets an array of page or worksheet numbers to convert. Numbering starts from 1. ```csharp public int[] PageNumbers { get; set; } ``` ##### Property Value An array of 1-based page numbers to convert, or `null` to convert all pages. Default is `null`. ### SheetSeparator Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/sheetseparator.md #### ConvertOptions.SheetSeparator property Gets or sets the separator inserted between worksheets in spreadsheet conversions. ```csharp public string SheetSeparator { get; set; } ``` ##### Property Value Default is a horizontal rule (`\n---\n`). ### UriExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertoptions/uriexportstrategy.md #### ConvertOptions.UriExportStrategy property Gets or sets the strategy for customizing resource URIs written to Markdown output. ```csharp public IUriExportStrategy UriExportStrategy { get; set; } ``` ##### Property Value The URI export strategy, or `null` to keep the default URIs. Default is `null`. ### ConvertResult Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult.md #### ConvertResult class Contains the output of a successful document-to-Markdown conversion. ```csharp public class ConvertResult ``` #### Properties | Name | Description | | --- | --- | | Content { get; } | Gets the converted Markdown content as a string. | | ErrorMessage { get; } | Gets the error message if the conversion failed, or `null` if it succeeded. | | Exception { get; } | Gets the exception that caused the conversion to fail, or `null` if the conversion succeeded. | | IsSuccess { get; } | Gets a value indicating whether the conversion completed successfully. | | Warnings { get; } | Gets a list of non-fatal warnings that occurred during conversion. | #### Methods | Name | Description | | --- | --- | | static Failure(string, Exception) | Creates a failed result with error information. | | static Success() | Creates a successful result without content. Used when the output was written to a stream or file. | | static Success(string) | Creates a successful result containing the converted Markdown content. | ##### Remarks All `Convert` methods throw on failure, so a returned `ConvertResult` always represents a successful conversion. Use `Content` to read the Markdown string (when converting to string) and `Warnings` to check for non-fatal issues. ##### Examples ```csharp using var converter = new MarkdownConverter("report.docx"); ConvertResult result = converter.Convert(); // throws on failure Console.WriteLine(result.Content); // always valid foreach (string warning in result.Warnings) Console.WriteLine("Warning: " + warning); ``` ### Content Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult/content.md #### ConvertResult.Content property Gets the converted Markdown content as a string. ```csharp public string Content { get; } ``` ##### Property Value The Markdown content when conversion is performed without an output stream or file path. Returns `null` if the conversion failed, or if the output was written to a stream or file. ### ErrorMessage Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult/errormessage.md #### ConvertResult.ErrorMessage property Gets the error message if the conversion failed, or `null` if it succeeded. ```csharp public string ErrorMessage { get; } ``` ### Exception Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult/exception.md #### ConvertResult.Exception property Gets the exception that caused the conversion to fail, or `null` if the conversion succeeded. ```csharp public Exception Exception { get; } ``` ### Failure Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult/failure.md #### ConvertResult.Failure method Creates a failed result with error information. ```csharp public static ConvertResult Failure(string errorMessage, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | errorMessage | String | A human-readable description of the error. | | exception | Exception | The exception that caused the failure. | ##### Return Value A `ConvertResult` with `IsSuccess` set to `false`. ### IsSuccess Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult/issuccess.md #### ConvertResult.IsSuccess property Gets a value indicating whether the conversion completed successfully. ```csharp public bool IsSuccess { get; } ``` ##### Property Value `true` if the conversion succeeded; otherwise, `false`. ### Success Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult/success.md #### Success() Creates a successful result without content. Used when the output was written to a stream or file. ```csharp public static ConvertResult Success() ``` ##### Return Value A `ConvertResult` with `IsSuccess` set to `true` and `Content` set to `null`. #### Success(string) Creates a successful result containing the converted Markdown content. ```csharp public static ConvertResult Success(string content) ``` | Parameter | Type | Description | | --- | --- | --- | | content | String | The Markdown content produced by the conversion. | ##### Return Value A `ConvertResult` with `IsSuccess` set to `true` and the specified content. ### Warnings Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/convertresult/warnings.md #### ConvertResult.Warnings property Gets a list of non-fatal warnings that occurred during conversion. ```csharp public IReadOnlyList Warnings { get; } ``` ##### Property Value A read-only list of warning messages. The list is empty when no warnings were generated. Warnings describe issues that did not prevent conversion but may affect the output (for example, unsupported formatting or missing resources). ### CustomImageSavingArgs Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs.md #### CustomImageSavingArgs class Provides information and controls for saving a single image during document-to-Markdown conversion. An instance of this class is passed to the callback registered with `CustomImagesStrategy` for each image found in the source document. ```csharp public class CustomImageSavingArgs ``` #### Properties | Name | Description | | --- | --- | | ImageFileName { get; } | Gets the default file name (without path) suggested by the library for this image. | | ImageFileNameOutput { get; } | Gets the overridden file name set by `SetOutputImageFileName`, or `null` if no override was specified. | | OutputDirectory { get; } | Gets the output directory where images are being saved. | | OutputStream { get; } | Gets the custom output stream set by `SetOutputStream`, or `null` if no custom stream was specified. | | ReplacementImageStream { get; } | Gets the replacement image stream set by `SetReplacementImage`, or `null` if no replacement was specified. | | ShapeType { get; } | Gets the type of the shape that contains the image in the source document (for example, "Picture" or "Shape"). | #### Methods | Name | Description | | --- | --- | | SetOutputImageFileName(string) | Overrides the default file name for this image. The image will be saved under the specified name instead of the library-generated `ImageFileName`. | | SetOutputStream(Stream) | Redirects the image data to a custom writable stream instead of the default file output. The library will write the image bytes to this stream during conversion. | | SetReplacementImage(Stream) | Provides a replacement image to use instead of the original image from the source document. The stream must contain the complete replacement image data (e.g. PNG or JPEG bytes). When set, the library writes this data to the output instead of the original image. | ##### Remarks Use `SetOutputImageFileName` to change the file name the image is saved under, or `SetOutputStream` to redirect the image data to a custom stream. If neither method is called, the library uses the defaults provided by `ImageFileName` and `OutputDirectory`. ##### Examples Renaming images in a custom callback: ```csharp var strategy = new CustomImagesStrategy(args => { // Change the output file name args.SetOutputImageFileName("thumb-" + args.ImageFileName); }); var options = new ConvertOptions { ImageExportStrategy = strategy }; ``` ### ImageFileName Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/imagefilename.md #### CustomImageSavingArgs.ImageFileName property Gets the default file name (without path) suggested by the library for this image. ```csharp public string ImageFileName { get; } ``` ### ImageFileNameOutput Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/imagefilenameoutput.md #### CustomImageSavingArgs.ImageFileNameOutput property Gets the overridden file name set by `SetOutputImageFileName`, or `null` if no override was specified. ```csharp public string ImageFileNameOutput { get; } ``` ### OutputDirectory Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/outputdirectory.md #### CustomImageSavingArgs.OutputDirectory property Gets the output directory where images are being saved. ```csharp public string OutputDirectory { get; } ``` ### OutputStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/outputstream.md #### CustomImageSavingArgs.OutputStream property Gets the custom output stream set by `SetOutputStream`, or `null` if no custom stream was specified. ```csharp public Stream OutputStream { get; } ``` ### ReplacementImageStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/replacementimagestream.md #### CustomImageSavingArgs.ReplacementImageStream property Gets the replacement image stream set by `SetReplacementImage`, or `null` if no replacement was specified. ```csharp public Stream ReplacementImageStream { get; } ``` ### SetOutputImageFileName Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/setoutputimagefilename.md #### CustomImageSavingArgs.SetOutputImageFileName method Overrides the default file name for this image. The image will be saved under the specified name instead of the library-generated `ImageFileName`. ```csharp public void SetOutputImageFileName(string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String | The new file name (without path) to use for the image. | ### SetOutputStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/setoutputstream.md #### CustomImageSavingArgs.SetOutputStream method Redirects the image data to a custom writable stream instead of the default file output. The library will write the image bytes to this stream during conversion. ```csharp public void SetOutputStream(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | A writable stream where the image data will be written. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *stream* is `null`. | ### SetReplacementImage Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/setreplacementimage.md #### CustomImageSavingArgs.SetReplacementImage method Provides a replacement image to use instead of the original image from the source document. The stream must contain the complete replacement image data (e.g. PNG or JPEG bytes). When set, the library writes this data to the output instead of the original image. ```csharp public void SetReplacementImage(Stream imageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | imageStream | Stream | A readable stream containing the replacement image data. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *imageStream* is `null`. | ### ShapeType Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesavingargs/shapetype.md #### CustomImageSavingArgs.ShapeType property Gets the type of the shape that contains the image in the source document (for example, "Picture" or "Shape"). ```csharp public string ShapeType { get; } ``` ### CustomImagesStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesstrategy.md #### CustomImagesStrategy class Implements an image export strategy that gives you full control over how images are saved during conversion. ```csharp public class CustomImagesStrategy : IImageExportStrategy ``` #### Constructors | Name | Description | | --- | --- | | CustomImagesStrategy(string, IImageSavingHandler) | Initializes a new instance of the `CustomImagesStrategy` class. | #### Properties | Name | Description | | --- | --- | | ImagesFolder { get; } | Gets the physical folder where images will be saved on disk. | | ImagesRelativePath { get; set; } | Gets or sets the path used in the Markdown image references. When `null` or empty, the full `ImagesFolder` path is used. Set this to a relative path (e.g. `"images"`) for portable Markdown output. | #### Methods | Name | Description | | --- | --- | | GetImageStream(ImageExportContext) | Gets a stream for writing the exported image to the file system. | ##### Remarks Supply an `IImageSavingHandler` implementation to rename images, redirect them to a custom stream, or apply any other custom logic when each image is encountered. ##### Examples Rename every image with a sequential prefix: ```csharp var handler = new RenameHandler(); var options = new ConvertOptions { ImageExportStrategy = new CustomImagesStrategy("images", handler) }; string markdown = MarkdownConverter.ToMarkdown("document.docx", options); ``` ### CustomImagesStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesstrategy/customimagesstrategy.md #### CustomImagesStrategy constructor Initializes a new instance of the `CustomImagesStrategy` class. ```csharp public CustomImagesStrategy(string imagesFolder, IImageSavingHandler handler) ``` | Parameter | Type | Description | | --- | --- | --- | | imagesFolder | String | The folder where images will be exported. | | handler | IImageSavingHandler | The handler that is called for each image during conversion. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *imagesFolder* is null. | ### GetImageStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesstrategy/getimagestream.md #### CustomImagesStrategy.GetImageStream method Gets a stream for writing the exported image to the file system. ```csharp public Stream GetImageStream(ImageExportContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | context | ImageExportContext | The image export context containing information about the image being processed. | ##### Return Value A stream for writing the image data to the file system. ### ImagesFolder Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesstrategy/imagesfolder.md #### CustomImagesStrategy.ImagesFolder property Gets the physical folder where images will be saved on disk. ```csharp public string ImagesFolder { get; } ``` ### ImagesRelativePath Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customimagesstrategy/imagesrelativepath.md #### CustomImagesStrategy.ImagesRelativePath property Gets or sets the path used in the Markdown image references. When `null` or empty, the full `ImagesFolder` path is used. Set this to a relative path (e.g. `"images"`) for portable Markdown output. ```csharp public string ImagesRelativePath { get; set; } ``` ### CustomUriExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customuriexportstrategy.md #### CustomUriExportStrategy class Implements a URI export strategy that lets you customize how resource URIs are written to Markdown. ```csharp public class CustomUriExportStrategy : IUriExportStrategy ``` #### Constructors | Name | Description | | --- | --- | | CustomUriExportStrategy(IUriSavingHandler) | Initializes a new instance of the `CustomUriExportStrategy` class. | #### Methods | Name | Description | | --- | --- | | UpdateResourceUri(UriExportContext) | | ##### Remarks Supply an `IUriSavingHandler` implementation to rewrite resource URIs (for example, to prepend a CDN base URL). ##### Examples ```csharp var handler = new CdnUriHandler(); var options = new ConvertOptions { UriExportStrategy = new CustomUriExportStrategy(handler) }; string markdown = MarkdownConverter.ToMarkdown("document.docx", options); ``` ### CustomUriExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customuriexportstrategy/customuriexportstrategy.md #### CustomUriExportStrategy constructor Initializes a new instance of the `CustomUriExportStrategy` class. ```csharp public CustomUriExportStrategy(IUriSavingHandler handler) ``` | Parameter | Type | Description | | --- | --- | --- | | handler | IUriSavingHandler | The handler that is called for each resource URI during conversion. | ### UpdateResourceUri Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/customuriexportstrategy/updateresourceuri.md #### CustomUriExportStrategy.UpdateResourceUri method ```csharp public void UpdateResourceUri(UriExportContext context) ``` ### DefaultUriExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/defaulturiexportstrategy.md #### DefaultUriExportStrategy class Provides default URI handling that keeps the URIs generated by the library unchanged. ```csharp public class DefaultUriExportStrategy : IUriExportStrategy ``` #### Constructors | Name | Description | | --- | --- | | DefaultUriExportStrategy() | The default constructor. | #### Methods | Name | Description | | --- | --- | | UpdateResourceUri(UriExportContext) | | ### DefaultUriExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/defaulturiexportstrategy/defaulturiexportstrategy.md #### DefaultUriExportStrategy constructor The default constructor. ```csharp public DefaultUriExportStrategy() ``` ### UpdateResourceUri Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/defaulturiexportstrategy/updateresourceuri.md #### DefaultUriExportStrategy.UpdateResourceUri method ```csharp public void UpdateResourceUri(UriExportContext context) ``` ### DocumentInfo Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentinfo.md #### DocumentInfo class Provides read-only metadata about a loaded document, such as its format, page count, title, and encryption status. ```csharp public class DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets the document author extracted from its metadata, or Empty if no author is available. | | FileFormat { get; } | Gets the detected file format of the document. | | IsEncrypted { get; } | Gets a value indicating whether the document is password-protected. | | PageCount { get; } | Gets the number of pages in the document. For spreadsheets this returns the number of worksheets. | | Title { get; } | Gets the document title extracted from its metadata, or Empty if no title is available. | ##### Remarks Use `GetDocumentInfo` or `GetInfo` to obtain an instance of this class. The information is extracted from the source document without performing a full conversion, so it is a lightweight way to inspect a file before converting it. ##### Examples Inspect a document before converting it: ```csharp // Using the static helper DocumentInfo info = MarkdownConverter.GetInfo("report.docx"); Console.WriteLine($"Format: {info.FileFormat}"); Console.WriteLine($"Pages: {info.PageCount}"); Console.WriteLine($"Title: {info.Title}"); Console.WriteLine($"Author: {info.Author}"); if (info.IsEncrypted) Console.WriteLine("The document is password-protected."); ``` Using the instance method: ```csharp using (var converter = new MarkdownConverter("spreadsheet.xlsx")) { DocumentInfo info = converter.GetDocumentInfo(); Console.WriteLine($"Worksheets: {info.PageCount}"); } ``` ### Author Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentinfo/author.md #### DocumentInfo.Author property Gets the document author extracted from its metadata, or Empty if no author is available. ```csharp public string Author { get; } ``` ### FileFormat Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentinfo/fileformat.md #### DocumentInfo.FileFormat property Gets the detected file format of the document. ```csharp public FileFormat FileFormat { get; } ``` ##### Property Value A `FileFormat` value indicating the document type (e.g., Docx, Pdf). ### IsEncrypted Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentinfo/isencrypted.md #### DocumentInfo.IsEncrypted property Gets a value indicating whether the document is password-protected. ```csharp public bool IsEncrypted { get; } ``` ##### Property Value `true` if the document requires a password to open; otherwise, `false`. ### PageCount Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentinfo/pagecount.md #### DocumentInfo.PageCount property Gets the number of pages in the document. For spreadsheets this returns the number of worksheets. ```csharp public int PageCount { get; } ``` ##### Property Value A non-negative integer representing the page or worksheet count. ### Title Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentinfo/title.md #### DocumentInfo.Title property Gets the document title extracted from its metadata, or Empty if no title is available. ```csharp public string Title { get; } ``` ### DocumentProtectedException Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentprotectedexception.md #### DocumentProtectedException class The exception that is thrown when a document is password-protected and no password (or an incorrect password) was provided via `Password`. ```csharp public sealed class DocumentProtectedException : GroupDocsMarkdownException ``` #### Constructors | Name | Description | | --- | --- | | DocumentProtectedException() | Initializes a new instance of the `DocumentProtectedException` class with the default message. | | DocumentProtectedException(string, Exception) | Initializes a new instance of the `DocumentProtectedException` class. | ### DocumentProtectedException Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/documentprotectedexception/documentprotectedexception.md #### DocumentProtectedException() Initializes a new instance of the `DocumentProtectedException` class with the default message. ```csharp public DocumentProtectedException() ``` #### DocumentProtectedException(string, Exception) Initializes a new instance of the `DocumentProtectedException` class. ```csharp public DocumentProtectedException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | innerException | Exception | The exception that caused this error. | ### ExportImagesAsBase64Strategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagesasbase64strategy.md #### ExportImagesAsBase64Strategy class Implements an image export strategy that embeds images as Base64 strings directly in the Markdown. ```csharp public class ExportImagesAsBase64Strategy : IImageExportStrategy ``` #### Constructors | Name | Description | | --- | --- | | ExportImagesAsBase64Strategy() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ImagesFolder { get; } | Gets an empty string as this strategy does not use an images folder. | #### Methods | Name | Description | | --- | --- | | GetImageStream(ImageExportContext) | Returns null to indicate that the image should be embedded as Base64. | ##### Remarks This strategy converts all images to Base64 format and embeds them directly in the Markdown document using the data URI scheme. This eliminates the need for separate image files, making the Markdown document self-contained. However, this approach increases the size of the Markdown file and may not be supported by all Markdown viewers. ##### Examples The following example shows how to use ExportImagesAsBase64Strategy when converting a document: ```csharp // Base64 is the default, but can be set explicitly: var options = new ConvertOptions { ImageExportStrategy = new ExportImagesAsBase64Strategy() }; string markdown = MarkdownConverter.ToMarkdown("document.docx", options); ``` ### ExportImagesAsBase64Strategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagesasbase64strategy/exportimagesasbase64strategy.md #### ExportImagesAsBase64Strategy constructor The default constructor. ```csharp public ExportImagesAsBase64Strategy() ``` ### GetImageStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagesasbase64strategy/getimagestream.md #### ExportImagesAsBase64Strategy.GetImageStream method Returns null to indicate that the image should be embedded as Base64. ```csharp public Stream GetImageStream(ImageExportContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | context | ImageExportContext | The image export context (not used in this implementation). | ##### Return Value Always returns null to indicate Base64 embedding. ### ImagesFolder Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagesasbase64strategy/imagesfolder.md #### ExportImagesAsBase64Strategy.ImagesFolder property Gets an empty string as this strategy does not use an images folder. ```csharp public string ImagesFolder { get; } ``` ##### Property Value An empty string since images are embedded directly in the Markdown. ### ExportImagesToFileSystemStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagestofilesystemstrategy.md #### ExportImagesToFileSystemStrategy class Saves images to a folder on disk during conversion. ```csharp public class ExportImagesToFileSystemStrategy : IImageExportStrategy ``` #### Constructors | Name | Description | | --- | --- | | ExportImagesToFileSystemStrategy(string) | Initializes a new instance of the `ExportImagesToFileSystemStrategy` class. | #### Properties | Name | Description | | --- | --- | | ImagesFolder { get; } | Gets the physical folder where images will be saved on disk. | | ImagesRelativePath { get; set; } | Gets or sets the path used in the Markdown image references. When `null` or empty, the full `ImagesFolder` path is used (which may be absolute). Set this to a relative path (e.g. `"images"`) so the Markdown output contains portable references. | #### Methods | Name | Description | | --- | --- | | GetImageStream(ImageExportContext) | Gets a stream for writing the exported image to the file system. | ##### Remarks By default, the Markdown output references images using the full `ImagesFolder` path. Set `ImagesRelativePath` to control the path that appears in the Markdown image links — typically a path relative to the output `.md` file. ##### Examples Save images next to the output file and reference them with a relative path: ```csharp var strategy = new ExportImagesToFileSystemStrategy("c:/output/images") { ImagesRelativePath = "images" }; var options = new ConvertOptions { ImageExportStrategy = strategy }; MarkdownConverter.ToFile("document.docx", "c:/output/doc.md", options); // Markdown contains: ![](images/img-001.png) // Image file at: c:/output/images/img-001.png ``` ### ExportImagesToFileSystemStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagestofilesystemstrategy/exportimagestofilesystemstrategy.md #### ExportImagesToFileSystemStrategy constructor Initializes a new instance of the `ExportImagesToFileSystemStrategy` class. ```csharp public ExportImagesToFileSystemStrategy(string imagesFolder) ``` | Parameter | Type | Description | | --- | --- | --- | | imagesFolder | String | The physical folder where images will be saved. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *imagesFolder* is null. | ### GetImageStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagestofilesystemstrategy/getimagestream.md #### ExportImagesToFileSystemStrategy.GetImageStream method Gets a stream for writing the exported image to the file system. ```csharp public Stream GetImageStream(ImageExportContext context) ``` ### ImagesFolder Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagestofilesystemstrategy/imagesfolder.md #### ExportImagesToFileSystemStrategy.ImagesFolder property Gets the physical folder where images will be saved on disk. ```csharp public string ImagesFolder { get; } ``` ### ImagesRelativePath Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportimagestofilesystemstrategy/imagesrelativepath.md #### ExportImagesToFileSystemStrategy.ImagesRelativePath property Gets or sets the path used in the Markdown image references. When `null` or empty, the full `ImagesFolder` path is used (which may be absolute). Set this to a relative path (e.g. `"images"`) so the Markdown output contains portable references. ```csharp public string ImagesRelativePath { get; set; } ``` ##### Property Value Default is `null` (uses `ImagesFolder` as-is). ### ExportOptions Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportoptions.md #### ExportOptions class Options for exporting Markdown to a document format (reverse conversion). ```csharp public class ExportOptions ``` #### Constructors | Name | Description | | --- | --- | | ExportOptions() | Initializes a new instance of the `ExportOptions` class. | | ExportOptions(FileFormat) | Initializes a new instance of the `ExportOptions` class with the specified target format. | #### Properties | Name | Description | | --- | --- | | Format { get; set; } | Gets or sets the target document format. If not set, the format is inferred from the output file extension. | ##### Remarks Use this class with `FromMarkdown` to control how the Markdown content is converted to a document format such as DOCX or PDF. ##### Examples ```csharp var options = new ExportOptions { Format = FileFormat.Pdf }; MarkdownConverter.FromMarkdown("input.md", "output.pdf", options); ``` ### ExportOptions Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportoptions/exportoptions.md #### ExportOptions() Initializes a new instance of the `ExportOptions` class. ```csharp public ExportOptions() ``` #### ExportOptions(FileFormat) Initializes a new instance of the `ExportOptions` class with the specified target format. ```csharp public ExportOptions(FileFormat format) ``` | Parameter | Type | Description | | --- | --- | --- | | format | FileFormat | The target document format. | ### Format Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/exportoptions/format.md #### ExportOptions.Format property Gets or sets the target document format. If not set, the format is inferred from the output file extension. ```csharp public FileFormat Format { get; set; } ``` ##### Property Value Default is Unknown (infer from file extension). ### FileFormat Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/fileformat.md #### FileFormat enumeration Specifies a document file format. Used both as input format (when loading a document for conversion to Markdown) and as output format (when exporting Markdown to a document). ```csharp public enum FileFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The file format is not specified. The library will attempt to detect the format automatically. | | Doc | `1` | Microsoft Word 97-2003 Document (.doc). | | Docx | `2` | Microsoft Word Document (.docx). | | Docm | `3` | Microsoft Word Macro-Enabled Document (.docm). | | Dot | `4` | Microsoft Word 97-2003 Template (.dot). | | Dotx | `5` | Microsoft Word Template (.dotx). | | Dotm | `6` | Microsoft Word Macro-Enabled Template (.dotm). | | Rtf | `7` | Rich Text Format (.rtf). | | Odt | `8` | OpenDocument Text (.odt). | | Ott | `9` | OpenDocument Text Template (.ott). | | Xlsx | `10` | Microsoft Excel Spreadsheet (.xlsx). | | Xls | `11` | Microsoft Excel 97-2003 Spreadsheet (.xls). | | Xlsb | `12` | Microsoft Excel Binary Spreadsheet (.xlsb). | | Xlsm | `13` | Microsoft Excel Macro-Enabled Spreadsheet (.xlsm). | | Csv | `14` | Comma-Separated Values (.csv). | | Tsv | `15` | Tab-Separated Values (.tsv). | | Ods | `16` | OpenDocument Spreadsheet (.ods). | | Ots | `17` | OpenDocument Spreadsheet Template (.ots). | | Pdf | `18` | Portable Document Format (.pdf). | | Epub | `19` | Electronic Publication (.epub). | | Mobi | `20` | Mobipocket E-Book (.mobi). | | Txt | `21` | Plain Text (.txt). | | Md | `22` | Markdown (.md). Used as input format for reverse conversion (Markdown to document). | | Chm | `23` | Compiled HTML Help (.chm). | ##### Remarks Pass a value from this enum to the `LoadOptions` constructor to explicitly specify the source document format, or use Unknown to let the library detect it automatically. Use `GetSupportedFormats` to retrieve all formats supported for conversion. ### GroupDocsMarkdownException Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/groupdocsmarkdownexception.md #### GroupDocsMarkdownException class Represents a product-specific exception that is thrown during file processing. ```csharp public class GroupDocsMarkdownException : Exception ``` #### Constructors | Name | Description | | --- | --- | | GroupDocsMarkdownException() | Initializes a new instance of the `GroupDocsMarkdownException` class. | | GroupDocsMarkdownException(string) | Initializes a new instance of the `GroupDocsMarkdownException` class. | | GroupDocsMarkdownException(string, Exception) | Initializes a new instance of the `GroupDocsMarkdownException` class. | ### GroupDocsMarkdownException Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/groupdocsmarkdownexception/groupdocsmarkdownexception.md #### GroupDocsMarkdownException() Initializes a new instance of the `GroupDocsMarkdownException` class. ```csharp public GroupDocsMarkdownException() ``` #### GroupDocsMarkdownException(string) Initializes a new instance of the `GroupDocsMarkdownException` class. ```csharp public GroupDocsMarkdownException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### GroupDocsMarkdownException(string, Exception) Initializes a new instance of the `GroupDocsMarkdownException` class. ```csharp public GroupDocsMarkdownException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### IImageExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iimageexportstrategy.md #### IImageExportStrategy interface Defines a strategy for handling image export during document-to-Markdown conversion. Implement this interface to control where and how images extracted from the source document are stored. ```csharp public interface IImageExportStrategy ``` #### Properties | Name | Description | | --- | --- | | ImagesFolder { get; } | Gets the folder path where exported images will be stored. | #### Methods | Name | Description | | --- | --- | | GetImageStream(ImageExportContext) | Returns a writable stream for the image described by *context*. The library writes the image bytes to this stream during conversion. | ##### Remarks The library ships with several built-in strategies: * `ExportImagesAsBase64Strategy` -- embeds images inline as Base64 (the default). * `ExportImagesToFileSystemStrategy` -- writes images to a folder on disk. * `SkipImagesStrategy` -- omits images entirely. * `CustomImagesStrategy` -- delegates to a callback you supply. Implement this interface directly when none of the built-in strategies meet your needs. ##### Examples Custom strategy that uploads images to cloud storage: ```csharp public class CloudImageExportStrategy : IImageExportStrategy { public string ImagesFolder => "cloud-images"; public Stream GetImageStream(ImageExportContext context) { // Rename the image file if needed context.ImageFileName = "doc-" + context.ImageFileName; // Return a stream that the library will write image bytes to return new MemoryStream(); // replace with your cloud upload stream } } ``` ### GetImageStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iimageexportstrategy/getimagestream.md #### IImageExportStrategy.GetImageStream method Returns a writable stream for the image described by *context*. The library writes the image bytes to this stream during conversion. ```csharp public Stream GetImageStream(ImageExportContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | context | ImageExportContext | The image export context containing the default image file name and other metadata. You may modify `ImageFileName` before returning the stream to change the file name that appears in the Markdown output. | ##### Return Value A writable Stream where the image data will be written, or `null` to use the default behavior. ### ImagesFolder Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iimageexportstrategy/imagesfolder.md #### IImageExportStrategy.ImagesFolder property Gets the folder path where exported images will be stored. ```csharp public string ImagesFolder { get; } ``` ##### Property Value A relative or absolute folder path. This value is used to construct image URIs in the Markdown output. ### IImageSavingHandler Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iimagesavinghandler.md #### IImageSavingHandler interface Callback interface invoked for each image encountered during conversion when using `CustomImagesStrategy`. Implement this interface to rename images, redirect output to a custom stream, or apply other custom logic. ```csharp public interface IImageSavingHandler ``` #### Methods | Name | Description | | --- | --- | | Handle(CustomImageSavingArgs) | Called once for each image found in the source document during conversion. | ##### Examples Rename images with a sequential prefix: ```csharp public class RenameHandler : IImageSavingHandler { private int _index; public void Handle(CustomImageSavingArgs args) { args.SetOutputImageFileName($"img_{_index}_{args.ImageFileName}"); _index++; } } ``` ### Handle Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iimagesavinghandler/handle.md #### IImageSavingHandler.Handle method Called once for each image found in the source document during conversion. ```csharp public void Handle(CustomImageSavingArgs args) ``` | Parameter | Type | Description | | --- | --- | --- | | args | CustomImageSavingArgs | Provides the default image file name and allows you to override the file name via `SetOutputImageFileName` or redirect the output via `SetOutputStream`. | ### ImageExportContext Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/imageexportcontext.md #### ImageExportContext class Contains read-only information about a single image encountered during conversion. Passed to `GetImageStream`. ```csharp public class ImageExportContext ``` #### Properties | Name | Description | | --- | --- | | ImageFileName { get; } | Gets the image file name (without directory path). The default value is generated by the library in the format `img-001.png`. | ### ImageFileName Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/imageexportcontext/imagefilename.md #### ImageExportContext.ImageFileName property Gets the image file name (without directory path). The default value is generated by the library in the format `img-001.png`. ```csharp public string ImageFileName { get; } ``` ### InvalidFormatException Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/invalidformatexception.md #### InvalidFormatException class The exception that is thrown when a file has an invalid format. ```csharp public sealed class InvalidFormatException : GroupDocsMarkdownException ``` #### Constructors | Name | Description | | --- | --- | | InvalidFormatException() | Initializes a new instance of the `InvalidFormatException` class. | | InvalidFormatException(string) | Initializes a new instance of the `InvalidFormatException` class. | | InvalidFormatException(string, Exception) | Initializes a new instance of the `InvalidFormatException` class. | ### InvalidFormatException Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/invalidformatexception/invalidformatexception.md #### InvalidFormatException() Initializes a new instance of the `InvalidFormatException` class. ```csharp public InvalidFormatException() ``` #### InvalidFormatException(string) Initializes a new instance of the `InvalidFormatException` class. ```csharp public InvalidFormatException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### InvalidFormatException(string, Exception) Initializes a new instance of the `InvalidFormatException` class. ```csharp public InvalidFormatException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### IUriExportStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iuriexportstrategy.md #### IUriExportStrategy interface Defines a strategy for customizing resource URIs that are written into the Markdown output during conversion. ```csharp public interface IUriExportStrategy ``` #### Methods | Name | Description | | --- | --- | | UpdateResourceUri(UriExportContext) | Called for each resource URI that will be written to the Markdown output. Modify properties on *context* to customize the resulting URI. | ##### Remarks Implement this interface to rewrite or transform the URIs that reference images or other external resources in the generated Markdown. For example, you can prepend a CDN base URL or change relative paths to absolute URLs. ##### Examples Prepend a CDN base URL to every resource URI: ```csharp public class CdnUriExportStrategy : IUriExportStrategy { public void UpdateResourceUri(UriExportContext context) { context.ResourceFileUri = "https://cdn.example.com/assets/" + context.ResourceFileName; } } ``` ### UpdateResourceUri Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iuriexportstrategy/updateresourceuri.md #### IUriExportStrategy.UpdateResourceUri method Called for each resource URI that will be written to the Markdown output. Modify properties on *context* to customize the resulting URI. ```csharp public void UpdateResourceUri(UriExportContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | context | UriExportContext | The URI export context. Set `ResourceFileUri` to override the URI that appears in the Markdown output, or modify `ResourceFileName` to change the resource file name. | ### IUriSavingHandler Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iurisavinghandler.md #### IUriSavingHandler interface Callback interface invoked for each resource URI during conversion when using `CustomUriExportStrategy`. Implement this interface to rewrite resource URIs in the Markdown output. ```csharp public interface IUriSavingHandler ``` #### Methods | Name | Description | | --- | --- | | Handle(UriSavingArgs) | Called once for each resource URI that will be written to the Markdown output. | ##### Examples Prepend a CDN base URL to every resource: ```csharp public class CdnUriHandler : IUriSavingHandler { public void Handle(UriSavingArgs args) { args.SetResourceFileUri("https://cdn.example.com/" + args.ResourceFileName); } } ``` ### Handle Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/iurisavinghandler/handle.md #### IUriSavingHandler.Handle method Called once for each resource URI that will be written to the Markdown output. ```csharp public void Handle(UriSavingArgs args) ``` | Parameter | Type | Description | | --- | --- | --- | | args | UriSavingArgs | Provides the default resource file name and URI, and allows you to override the URI via `SetResourceFileUri`. | ### License Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/license.md #### License class Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). ```csharp public class License ``` #### Constructors | Name | Description | | --- | --- | | License() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | | static Set(Stream) | Sets the license from a stream. | | static Set(string) | Sets the license from a file path. | ### License Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/license/license.md #### License constructor The default constructor. ```csharp public License() ``` ### Set Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/license/set.md #### Set(string) Sets the license from a file path. ```csharp public static void Set(string licensePath) ``` | Parameter | Type | Description | | --- | --- | --- | | licensePath | String | The path to the license file. | ##### Examples /// ```csharp // initialize License class // set path to .lic file License.Set(@"C:\\GroupDocs.Markdown.lic"); ``` #### Set(Stream) Sets the license from a stream. ```csharp public static void Set(Stream licenseStream) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseStream | Stream | The stream that contains the license. | ##### Examples ```csharp using (FileStream stream = new FileStream("C:\\GroupDocs.Markdown.lic", FileMode.Open)) { License.Set(stream); } ``` ### SetLicense Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/license/setlicense.md #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream licenseStream) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseStream | Stream | The license stream. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *licenseStream* is null. | ##### Examples The following example demonstrates how to set a license passing Stream of the license file. ```csharp using (FileStream licenseStream = File.OpenRead("GroupDocs.Markdown.lic")) { License license = new License(); license.SetLicense(licenseStream); } ``` #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string licensePath) ``` | Parameter | Type | Description | | --- | --- | --- | | licensePath | String | The license file path. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when *licensePath* is null or empty string. | ##### Examples The following example demonstrates how to set a license passing a path to the license file. ```csharp string licensePath = "GroupDocs.Markdown.lic"; License license = new License(); license.SetLicense(licensePath); ``` ### LoadOptions Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/loadoptions.md #### LoadOptions class Specifies additional options for loading a document, such as an explicit file format or a password for encrypted files. ```csharp public class LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | LoadOptions() | Initializes a new instance of the `LoadOptions` class with automatic format detection. | | LoadOptions(FileFormat) | Initializes a new instance of the `LoadOptions` class with an explicit file format. | #### Properties | Name | Description | | --- | --- | | FileFormat { get; } | Gets the file format of the document to load. | | Password { get; set; } | Gets or sets the password for opening an encrypted document. | ##### Remarks By default, the library detects the file format automatically from the file extension or content. Use this class when you need to override automatic detection (for example, when loading from a stream without a file name) or when the document is password-protected. ##### Examples Specifying the file format explicitly (useful when loading from a stream): ```csharp var loadOptions = new LoadOptions(FileFormat.Docx); using (var stream = File.OpenRead("document")) using (var converter = new MarkdownConverter(stream, loadOptions)) { ConvertResult result = converter.Convert(); Console.WriteLine(result.Content); } ``` Loading a password-protected document: ```csharp var loadOptions = new LoadOptions(FileFormat.Docx) { Password = "secret" }; string markdown = MarkdownConverter.ToMarkdown("protected.docx", loadOptions); ``` ### FileFormat Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/loadoptions/fileformat.md #### LoadOptions.FileFormat property Gets the file format of the document to load. ```csharp public FileFormat FileFormat { get; } ``` ##### Property Value The file format specified via the constructor, or Unknown (the default) which means the format will be detected automatically. ### LoadOptions Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/loadoptions/loadoptions.md #### LoadOptions() Initializes a new instance of the `LoadOptions` class with automatic format detection. ```csharp public LoadOptions() ``` #### LoadOptions(FileFormat) Initializes a new instance of the `LoadOptions` class with an explicit file format. ```csharp public LoadOptions(FileFormat fileFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The file format of the document to load. This bypasses automatic format detection, which is especially useful when loading documents from streams that lack a file extension. | ### Password Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/loadoptions/password.md #### LoadOptions.Password property Gets or sets the password for opening an encrypted document. ```csharp public string Password { get; set; } ``` ##### Property Value Can be null or empty string. The default value is null. If the document is not encrypted, set this to null or the empty string. ### MarkdownConverter Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter.md #### MarkdownConverter class Converts documents from Word, Excel, PDF, and other formats to Markdown. Provides both static one-liner methods and an instance-based API with full control over conversion options. ```csharp public class MarkdownConverter : IDisposable ``` #### Constructors | Name | Description | | --- | --- | | MarkdownConverter(Stream) | Creates a new converter that reads the document from the supplied stream. The file format is detected automatically from the stream content. If automatic detection is not possible, use the `MarkdownConverter` overload and specify the format via `LoadOptions`. | | MarkdownConverter(string) | Creates a new converter for the document at the specified file path. The file format is detected automatically from the file extension and content. | | MarkdownConverter(Stream, LoadOptions) | Creates a new converter that reads the document from the supplied stream, using the given load options. Use this overload when reading from a MemoryStream, network stream, or any non-file stream where format detection from a file name is not available. | | MarkdownConverter(string, LoadOptions) | Creates a new converter for the document at the specified file path, using the given load options. Use this overload to supply a password for encrypted documents or to explicitly specify the file format. | #### Methods | Name | Description | | --- | --- | | Convert() | Converts the loaded document to Markdown using default options and returns the result with the Markdown content in `Content`. | | Convert(ConvertOptions) | Converts the loaded document to Markdown with the specified options and returns the result with the Markdown content in `Content`. | | Convert(Stream) | Converts the loaded document to Markdown and writes the output to the specified stream. The `Content` property will be `null`; the Markdown bytes are written directly to *outputStream*. | | Convert(string) | Converts the loaded document to Markdown and saves the result to a file. The file is created (or overwritten) at *outputFilePath*. | | Convert(Stream, ConvertOptions) | Converts the loaded document to Markdown with the specified options, writing the output to a stream. | | Convert(string, ConvertOptions) | Converts the loaded document to Markdown with the specified options and saves the result to a file. The file is created (or overwritten) at *outputFilePath*. | | ConvertAsync(CancellationToken) | Asynchronously converts the loaded document to Markdown and returns the result as a string. | | ConvertAsync(ConvertOptions, CancellationToken) | Asynchronously converts the loaded document to Markdown with the specified options. | | ConvertAsync(string, ConvertOptions, CancellationToken) | Asynchronously converts the loaded document and saves the result to a file. The source file read and output file write are performed asynchronously. | | Dispose() | Releases all resources used by this `MarkdownConverter` instance, including the internal copy of the source document stream. Always call `Dispose` when you are finished, or use a `using` statement to ensure timely cleanup. | | GetDocumentInfo() | Retrieves metadata about the loaded document without performing a full conversion. Use this to inspect properties such as page count, title, author, and whether the document is encrypted before deciding how to convert. | | GetDocumentInfoAsync(CancellationToken) | Asynchronously retrieves metadata about the loaded document. | | static FromMarkdown(string, string) | Converts a Markdown file to a document format. The output format is inferred from the file extension of *outputPath* (e.g. `.docx`, `.pdf`). | | static FromMarkdown(string, string, ExportOptions) | Converts a Markdown file to a document format with the specified export options. | | static FromMarkdownString(string, Stream, ExportOptions) | Converts a Markdown string to a document and writes it to a stream. | | static FromMarkdownString(string, string, ExportOptions) | Converts a Markdown string to a document and saves it to a file. | | static GetInfo(string) | Returns metadata about a document (format, page count, title, author, encryption status) without performing a full conversion. This is a lightweight way to inspect a file. | | static GetInfo(string, LoadOptions) | Returns metadata about a document using the specified load options. Use this overload to supply a password when inspecting an encrypted document. | | static GetInfoAsync(string, LoadOptions, CancellationToken) | Asynchronously retrieves metadata about the document at the specified path. | | static GetSupportedFormats() | Returns the complete list of `FileFormat` values that can be converted to Markdown. Use this to check at runtime whether a particular format is supported before attempting conversion. | | static ToFile(string, string) | Converts a document to Markdown and saves the result directly to a file. This is the simplest way to produce a Markdown file from a supported document format. | | static ToFile(string, string, ConvertOptions) | Converts a document to Markdown with the specified conversion options and saves the result to a file. | | static ToFile(string, string, LoadOptions, ConvertOptions) | Converts a document to Markdown with the specified load and conversion options, saving the result to a file. This is the most flexible static overload for file-based output. | | static ToFileAsync(string, string, ConvertOptions, CancellationToken) | Asynchronously converts the document and saves the result to a file. Both source reading and output writing are performed asynchronously. | | static ToMarkdown(string) | Converts a document to Markdown in a single call and returns the Markdown string. This is the simplest way to convert a file. The format is detected automatically. | | static ToMarkdown(string, ConvertOptions) | Converts a document to Markdown using the specified conversion options and returns the Markdown string. Use this overload to control image handling, heading offsets, or page selection. | | static ToMarkdown(string, LoadOptions) | Converts a document to Markdown using the specified load options and returns the Markdown string. Use this overload to supply a password for encrypted documents or to specify the file format explicitly. | | static ToMarkdown(string, LoadOptions, ConvertOptions) | Converts a document to Markdown using the specified load and conversion options, and returns the Markdown string. This is the most flexible static overload, combining format/password control with full conversion customization. | | static ToMarkdownAsync(string, CancellationToken) | Asynchronously converts the document at the specified path to Markdown. File reading is performed asynchronously. | | static ToMarkdownAsync(string, LoadOptions, ConvertOptions, CancellationToken) | Asynchronously converts the document at the specified path to Markdown. File reading is performed asynchronously; conversion runs on the thread pool. | ##### Remarks Supported input formats include Word (DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, ODT, OTT), Excel (XLS, XLSX, XLSB, XLSM, CSV, TSV, ODS, OTS), PDF, e-books (EPUB, MOBI), plain text (TXT), and CHM help files. Call `GetSupportedFormats` for the full list. For quick, one-shot conversions use the static methods `ToMarkdown`, `ToFile`, and `GetInfo`. When you need to customize the conversion (image handling, heading offsets, page selection) or retrieve document metadata alongside conversion, create an instance and call `Convert` or `GetDocumentInfo`. The instance implements IDisposable. Always dispose it when you are done, preferably with a `using` statement. ##### Examples Convert a document to a Markdown string in one line: ```csharp string md = MarkdownConverter.ToMarkdown("document.docx"); ``` Convert a document and save the result directly to a file: ```csharp MarkdownConverter.ToFile("document.docx", "output.md"); ``` Use the instance API with options for full control: ```csharp using var converter = new MarkdownConverter("document.docx"); var result = converter.Convert(new ConvertOptions { HeadingLevelOffset = 1 }); if (result.IsSuccess) Console.WriteLine(result.Content); ``` ### Convert Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/convert.md #### Convert() Converts the loaded document to Markdown using default options and returns the result with the Markdown content in `Content`. ```csharp public ConvertResult Convert() ``` ##### Return Value A `ConvertResult` whose `IsSuccess` indicates whether the conversion succeeded. On success, `Content` contains the Markdown string. ##### Examples ```csharp using var converter = new MarkdownConverter("report.pdf"); ConvertResult result = converter.Convert(); if (result.IsSuccess) File.WriteAllText("report.md", result.Content); ``` #### Convert(Stream) Converts the loaded document to Markdown and writes the output to the specified stream. The `Content` property will be `null`; the Markdown bytes are written directly to *outputStream*. ```csharp public ConvertResult Convert(Stream outputStream) ``` | Parameter | Type | Description | | --- | --- | --- | | outputStream | Stream | A writable stream that will receive the UTF-8 encoded Markdown output. | ##### Return Value A `ConvertResult` indicating success or failure. On success, `Content` is `null` because the output was written to the stream. #### Convert(string) Converts the loaded document to Markdown and saves the result to a file. The file is created (or overwritten) at *outputFilePath*. ```csharp public ConvertResult Convert(string outputFilePath) ``` | Parameter | Type | Description | | --- | --- | --- | | outputFilePath | String | The path where the Markdown file will be written. | ##### Return Value A `ConvertResult` indicating success or failure. On success, `Content` is `null` because the output was written to the file. #### Convert(ConvertOptions) Converts the loaded document to Markdown with the specified options and returns the result with the Markdown content in `Content`. ```csharp public ConvertResult Convert(ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptions | ConvertOptions | Options that control the conversion, such as `HeadingLevelOffset`, `ImageExportStrategy`, and `PageNumbers`. Pass `null` to use defaults. | ##### Return Value A `ConvertResult` whose `Content` contains the Markdown string on success. ##### Examples ```csharp using var converter = new MarkdownConverter("document.docx"); var options = new ConvertOptions { HeadingLevelOffset = 1, PageNumbers = new[] { 1, 2, 3 } }; ConvertResult result = converter.Convert(options); ``` #### Convert(Stream, ConvertOptions) Converts the loaded document to Markdown with the specified options, writing the output to a stream. ```csharp public ConvertResult Convert(Stream outputStream, ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | outputStream | Stream | A writable stream that will receive the UTF-8 encoded Markdown output. | | convertOptions | ConvertOptions | Options that control the conversion. Pass `null` to use defaults. | ##### Return Value A `ConvertResult` indicating success or failure. `Content` is `null` because the output was written to the stream. #### Convert(string, ConvertOptions) Converts the loaded document to Markdown with the specified options and saves the result to a file. The file is created (or overwritten) at *outputFilePath*. ```csharp public ConvertResult Convert(string outputFilePath, ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | outputFilePath | String | The path where the Markdown file will be written. | | convertOptions | ConvertOptions | Options that control the conversion. Pass `null` to use defaults. | ##### Return Value A `ConvertResult` indicating success or failure. `Content` is `null` because the output was written to the file. ##### Examples ```csharp using var converter = new MarkdownConverter("spreadsheet.xlsx"); var options = new ConvertOptions { ImageExportStrategy = new ExportImagesToFileSystemStrategy("images") }; converter.Convert("output.md", options); ``` ### ConvertAsync Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/convertasync.md #### ConvertAsync(CancellationToken) Asynchronously converts the loaded document to Markdown and returns the result as a string. ```csharp public Task ConvertAsync(CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | cancellationToken | CancellationToken | A token to cancel the operation. | #### ConvertAsync(ConvertOptions, CancellationToken) Asynchronously converts the loaded document to Markdown with the specified options. ```csharp public Task ConvertAsync(ConvertOptions convertOptions, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | convertOptions | ConvertOptions | Options that control the conversion. | | cancellationToken | CancellationToken | A token to cancel the operation. | #### ConvertAsync(string, ConvertOptions, CancellationToken) Asynchronously converts the loaded document and saves the result to a file. The source file read and output file write are performed asynchronously. ```csharp public Task ConvertAsync(string outputFilePath, ConvertOptions convertOptions = null, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | outputFilePath | String | The path where the Markdown file will be written. | | convertOptions | ConvertOptions | Options that control the conversion. Pass `null` for defaults. | | cancellationToken | CancellationToken | A token to cancel the operation. | ### Dispose Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/dispose.md #### MarkdownConverter.Dispose method Releases all resources used by this `MarkdownConverter` instance, including the internal copy of the source document stream. Always call `Dispose` when you are finished, or use a `using` statement to ensure timely cleanup. ```csharp public void Dispose() ``` ### FromMarkdown Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/frommarkdown.md #### FromMarkdown(string, string) Converts a Markdown file to a document format. The output format is inferred from the file extension of *outputPath* (e.g. `.docx`, `.pdf`). ```csharp public static void FromMarkdown(string markdownPath, string outputPath) ``` | Parameter | Type | Description | | --- | --- | --- | | markdownPath | String | Path to the source Markdown file. | | outputPath | String | Path where the output document will be saved. The extension determines the format. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when conversion fails. | | NotSupportedException | Thrown when the output format is not supported. | ##### Examples ```csharp MarkdownConverter.FromMarkdown("readme.md", "readme.docx"); MarkdownConverter.FromMarkdown("readme.md", "readme.pdf"); ``` #### FromMarkdown(string, string, ExportOptions) Converts a Markdown file to a document format with the specified export options. ```csharp public static void FromMarkdown(string markdownPath, string outputPath, ExportOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | markdownPath | String | Path to the source Markdown file. | | outputPath | String | Path where the output document will be saved. | | options | ExportOptions | Export options. Use `Format` to override format detection, or pass `null` to infer from the output file extension. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when conversion fails. | | NotSupportedException | Thrown when the output format is not supported. | ##### Examples ```csharp var options = new ExportOptions(FileFormat.Pdf); MarkdownConverter.FromMarkdown("readme.md", "output.pdf", options); ``` ### FromMarkdownString Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/frommarkdownstring.md #### FromMarkdownString(string, string, ExportOptions) Converts a Markdown string to a document and saves it to a file. ```csharp public static void FromMarkdownString(string markdownContent, string outputPath, ExportOptions options = null) ``` | Parameter | Type | Description | | --- | --- | --- | | markdownContent | String | The Markdown content as a string. | | outputPath | String | Path where the output document will be saved. | | options | ExportOptions | Export options, or `null` to infer format from the file extension. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when conversion fails. | | NotSupportedException | Thrown when the output format is not supported. | ##### Examples ```csharp string markdown = "# Hello\n\nThis is a test."; MarkdownConverter.FromMarkdownString(markdown, "output.docx"); ``` #### FromMarkdownString(string, Stream, ExportOptions) Converts a Markdown string to a document and writes it to a stream. ```csharp public static void FromMarkdownString(string markdownContent, Stream outputStream, ExportOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | markdownContent | String | The Markdown content as a string. | | outputStream | Stream | A writable stream that will receive the document bytes. | | options | ExportOptions | Export options. `Format` must be set since there is no file extension to infer from. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when conversion fails. | | ArgumentNullException | Thrown when *options* is null or `Format` is Unknown. | ##### Examples ```csharp string markdown = "# Report\n\nGenerated content."; using var stream = new MemoryStream(); MarkdownConverter.FromMarkdownString(markdown, stream, new ExportOptions(FileFormat.Docx)); ``` ### GetDocumentInfo Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/getdocumentinfo.md #### MarkdownConverter.GetDocumentInfo method Retrieves metadata about the loaded document without performing a full conversion. Use this to inspect properties such as page count, title, author, and whether the document is encrypted before deciding how to convert. ```csharp public DocumentInfo GetDocumentInfo() ``` ##### Return Value A `DocumentInfo` containing the detected `FileFormat`, `PageCount`, `Title`, `Author`, and `IsEncrypted` flag. ##### Examples ```csharp using var converter = new MarkdownConverter("report.docx"); DocumentInfo info = converter.GetDocumentInfo(); Console.WriteLine($"Format: {info.FileFormat}, Pages: {info.PageCount}"); ``` ### GetDocumentInfoAsync Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/getdocumentinfoasync.md #### MarkdownConverter.GetDocumentInfoAsync method Asynchronously retrieves metadata about the loaded document. ```csharp public Task GetDocumentInfoAsync(CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | cancellationToken | CancellationToken | A token to cancel the operation. | ### GetInfo Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/getinfo.md #### GetInfo(string) Returns metadata about a document (format, page count, title, author, encryption status) without performing a full conversion. This is a lightweight way to inspect a file. ```csharp public static DocumentInfo GetInfo(string sourcePath) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | ##### Return Value A `DocumentInfo` with the detected format, page count, and other metadata. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *sourcePath* is `null` or empty. | | NotSupportedException | Thrown when the file format is not supported. | ##### Examples ```csharp DocumentInfo info = MarkdownConverter.GetInfo("report.docx"); Console.WriteLine($"Format: {info.FileFormat}, Pages: {info.PageCount}, Encrypted: {info.IsEncrypted}"); ``` #### GetInfo(string, LoadOptions) Returns metadata about a document using the specified load options. Use this overload to supply a password when inspecting an encrypted document. ```csharp public static DocumentInfo GetInfo(string sourcePath, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | loadOptions | LoadOptions | Options for loading the document (password, format hint). May be `null`. | ##### Return Value A `DocumentInfo` with the detected format, page count, and other metadata. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *sourcePath* is `null` or empty. | | NotSupportedException | Thrown when the file format is not supported. | ### GetInfoAsync Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/getinfoasync.md #### MarkdownConverter.GetInfoAsync method Asynchronously retrieves metadata about the document at the specified path. ```csharp public static Task GetInfoAsync(string sourcePath, LoadOptions loadOptions = null, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | loadOptions | LoadOptions | Options for loading the document. May be `null`. | | cancellationToken | CancellationToken | A token to cancel the operation. | ### GetSupportedFormats Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/getsupportedformats.md #### MarkdownConverter.GetSupportedFormats method Returns the complete list of `FileFormat` values that can be converted to Markdown. Use this to check at runtime whether a particular format is supported before attempting conversion. ```csharp public static IReadOnlyList GetSupportedFormats() ``` ##### Return Value A read-only list of all supported `FileFormat` values. ##### Examples ```csharp IReadOnlyList formats = MarkdownConverter.GetSupportedFormats(); foreach (FileFormat fmt in formats) Console.WriteLine(fmt); ``` ### MarkdownConverter Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/markdownconverter.md #### MarkdownConverter(string) Creates a new converter for the document at the specified file path. The file format is detected automatically from the file extension and content. ```csharp public MarkdownConverter(string sourcePath) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | Absolute or relative path to the source document (e.g. `"report.docx"`). | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *sourcePath* is `null` or empty. | | FileNotFoundException | Thrown when the file at *sourcePath* does not exist. | | NotSupportedException | Thrown when the file format is not supported. Call `GetSupportedFormats` to see which formats are accepted. | #### MarkdownConverter(Stream) Creates a new converter that reads the document from the supplied stream. The file format is detected automatically from the stream content. If automatic detection is not possible, use the `MarkdownConverter` overload and specify the format via `LoadOptions`. ```csharp public MarkdownConverter(Stream sourceStream) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStream | Stream | A readable stream containing the document data. The stream is copied internally, so the caller may close it after construction. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *sourceStream* is `null`. | | NotSupportedException | Thrown when the file format cannot be detected or is not supported. | #### MarkdownConverter(string, LoadOptions) Creates a new converter for the document at the specified file path, using the given load options. Use this overload to supply a password for encrypted documents or to explicitly specify the file format. ```csharp public MarkdownConverter(string sourcePath, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | Absolute or relative path to the source document. | | loadOptions | LoadOptions | Options that control how the document is loaded. Pass a `LoadOptions` with `Password` set to open encrypted files, or with a specific `FileFormat` to override automatic format detection. May be `null`. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *sourcePath* is `null` or empty. | | FileNotFoundException | Thrown when the file at *sourcePath* does not exist. | | NotSupportedException | Thrown when the file format is not supported. | #### MarkdownConverter(Stream, LoadOptions) Creates a new converter that reads the document from the supplied stream, using the given load options. Use this overload when reading from a MemoryStream, network stream, or any non-file stream where format detection from a file name is not available. ```csharp public MarkdownConverter(Stream sourceStream, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourceStream | Stream | A readable stream containing the document data. The stream is copied internally, so the caller may close it after construction. | | loadOptions | LoadOptions | Options that control how the document is loaded. Specify `Password` for encrypted files or a `FileFormat` to override automatic detection. May be `null`. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *sourceStream* is `null`. | | NotSupportedException | Thrown when the file format cannot be detected or is not supported. | ### ToFile Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/tofile.md #### ToFile(string, string) Converts a document to Markdown and saves the result directly to a file. This is the simplest way to produce a Markdown file from a supported document format. ```csharp public static void ToFile(string sourcePath, string outputPath) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document (e.g. `"report.pdf"`). | | outputPath | String | The path where the Markdown file will be created or overwritten. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when the conversion fails. | | ArgumentNullException | Thrown when *sourcePath* is `null` or empty. | | NotSupportedException | Thrown when the file format is not supported. | ##### Examples ```csharp MarkdownConverter.ToFile("document.docx", "output.md"); ``` #### ToFile(string, string, ConvertOptions) Converts a document to Markdown with the specified conversion options and saves the result to a file. ```csharp public static void ToFile(string sourcePath, string outputPath, ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | outputPath | String | The path where the Markdown file will be created or overwritten. | | convertOptions | ConvertOptions | Options that customize the conversion (image strategy, heading offset, page numbers). May be `null`. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when the conversion fails. | | NotSupportedException | Thrown when the file format is not supported. | ##### Examples ```csharp var options = new ConvertOptions { ImageExportStrategy = new ExportImagesToFileSystemStrategy("images") }; MarkdownConverter.ToFile("report.docx", "report.md", options); ``` #### ToFile(string, string, LoadOptions, ConvertOptions) Converts a document to Markdown with the specified load and conversion options, saving the result to a file. This is the most flexible static overload for file-based output. ```csharp public static void ToFile(string sourcePath, string outputPath, LoadOptions loadOptions, ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | outputPath | String | The path where the Markdown file will be created or overwritten. | | loadOptions | LoadOptions | Options for loading the document (password, format hint). May be `null`. | | convertOptions | ConvertOptions | Options that customize the conversion. May be `null`. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when the conversion fails. | | NotSupportedException | Thrown when the file format is not supported. | ### ToFileAsync Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/tofileasync.md #### MarkdownConverter.ToFileAsync method Asynchronously converts the document and saves the result to a file. Both source reading and output writing are performed asynchronously. ```csharp public static Task ToFileAsync(string sourcePath, string outputPath, ConvertOptions convertOptions = null, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | outputPath | String | The path where the Markdown file will be saved. | | convertOptions | ConvertOptions | Options for the conversion. May be `null`. | | cancellationToken | CancellationToken | A token to cancel the operation. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when conversion fails. | ### ToMarkdown Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/tomarkdown.md #### ToMarkdown(string) Converts a document to Markdown in a single call and returns the Markdown string. This is the simplest way to convert a file. The format is detected automatically. ```csharp public static string ToMarkdown(string sourcePath) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document (e.g. `"report.docx"`). | ##### Return Value The converted Markdown content as a UTF-8 string. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when the conversion fails. | | ArgumentNullException | Thrown when *sourcePath* is `null` or empty. | | NotSupportedException | Thrown when the file format is not supported. | ##### Examples ```csharp string markdown = MarkdownConverter.ToMarkdown("document.docx"); Console.WriteLine(markdown); ``` #### ToMarkdown(string, LoadOptions) Converts a document to Markdown using the specified load options and returns the Markdown string. Use this overload to supply a password for encrypted documents or to specify the file format explicitly. ```csharp public static string ToMarkdown(string sourcePath, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | loadOptions | LoadOptions | Options for loading the document (password, format hint). May be `null`. | ##### Return Value The converted Markdown content as a UTF-8 string. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when the conversion fails. | | NotSupportedException | Thrown when the file format is not supported. | ##### Examples ```csharp var loadOptions = new LoadOptions(FileFormat.Docx) { Password = "secret" }; string markdown = MarkdownConverter.ToMarkdown("encrypted.docx", loadOptions); ``` #### ToMarkdown(string, ConvertOptions) Converts a document to Markdown using the specified conversion options and returns the Markdown string. Use this overload to control image handling, heading offsets, or page selection. ```csharp public static string ToMarkdown(string sourcePath, ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | convertOptions | ConvertOptions | Options that customize the conversion (image strategy, heading offset, page numbers). May be `null`. | ##### Return Value The converted Markdown content as a UTF-8 string. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when the conversion fails. | | NotSupportedException | Thrown when the file format is not supported. | ##### Examples ```csharp var options = new ConvertOptions { HeadingLevelOffset = 2 }; string markdown = MarkdownConverter.ToMarkdown("document.docx", options); ``` #### ToMarkdown(string, LoadOptions, ConvertOptions) Converts a document to Markdown using the specified load and conversion options, and returns the Markdown string. This is the most flexible static overload, combining format/password control with full conversion customization. ```csharp public static string ToMarkdown(string sourcePath, LoadOptions loadOptions, ConvertOptions convertOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | loadOptions | LoadOptions | Options for loading the document (password, format hint). May be `null`. | | convertOptions | ConvertOptions | Options that customize the conversion. May be `null`. | ##### Return Value The converted Markdown content as a UTF-8 string. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when the conversion fails. | | NotSupportedException | Thrown when the file format is not supported. | ### ToMarkdownAsync Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownconverter/tomarkdownasync.md #### ToMarkdownAsync(string, CancellationToken) Asynchronously converts the document at the specified path to Markdown. File reading is performed asynchronously. ```csharp public static Task ToMarkdownAsync(string sourcePath, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | cancellationToken | CancellationToken | A token to cancel the operation. | ##### Return Value The converted Markdown content. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when conversion fails. | #### ToMarkdownAsync(string, LoadOptions, ConvertOptions, CancellationToken) Asynchronously converts the document at the specified path to Markdown. File reading is performed asynchronously; conversion runs on the thread pool. ```csharp public static Task ToMarkdownAsync(string sourcePath, LoadOptions loadOptions, ConvertOptions convertOptions = null, CancellationToken cancellationToken = default) ``` | Parameter | Type | Description | | --- | --- | --- | | sourcePath | String | The path to the source document. | | loadOptions | LoadOptions | Options for loading the document. May be `null`. | | convertOptions | ConvertOptions | Options for the conversion. May be `null`. | | cancellationToken | CancellationToken | A token to cancel the operation. | ##### Return Value The converted Markdown content. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMarkdownException | Thrown when conversion fails. | ### MarkdownFlavor Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/markdownflavor.md #### MarkdownFlavor enumeration Specifies the target Markdown dialect for the conversion output. ```csharp public enum MarkdownFlavor ``` ##### Values | Name | Value | Description | | --- | --- | --- | | GitHub | `0` | GitHub Flavored Markdown — supports tables, strikethrough, and task lists. This is the default. | | CommonMark | `1` | Strict CommonMark output. Tables are rendered as code blocks since CommonMark does not have native table syntax. | ### Metered Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/metered.md #### Metered class Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Activates product with Metered keys. | | static GetConsumptionCredit() | Retrieves count of credits consumed. | | static GetConsumptionQuantity() | Retrieves amount of MBs processed. | ### GetConsumptionCredit Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Retrieves count of credits consumed. ```csharp public static decimal GetConsumptionCredit() ``` ##### Examples Following example demonstrates how to retrieve count of credits consumed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal creditsConsumed = Metered.GetConsumptionCredit(); ``` ### GetConsumptionQuantity Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Retrieves amount of MBs processed. ```csharp public static decimal GetConsumptionQuantity() ``` ##### Examples Following example demonstrates how to retrieve amount of MBs processed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal mbProcessed = Metered.GetConsumptionQuantity(); ``` ### Metered Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/metered/metered.md #### Metered constructor The default constructor. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/metered/setmeteredkey.md #### Metered.SetMeteredKey method Activates product with Metered keys. ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | The public key. | | privateKey | String | The private key. | ##### Examples Following example demonstrates how to activate product with Metered keys. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); ``` ### SkipImagesStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/skipimagesstrategy.md #### SkipImagesStrategy class Implements an image export strategy that skips saving images during document conversion. ```csharp public class SkipImagesStrategy : IImageExportStrategy ``` #### Constructors | Name | Description | | --- | --- | | SkipImagesStrategy() | The default constructor. | #### Properties | Name | Description | | --- | --- | | ImagesFolder { get; } | Gets an empty string as this strategy does not use an images folder. | #### Methods | Name | Description | | --- | --- | | GetImageStream(ImageExportContext) | Returns null to indicate that the image should be skipped. | ##### Remarks This strategy is useful when you want to convert a document to Markdown without saving the actual image files. When this strategy is used, the output Markdown will still contain image references (e.g., !), but the actual image files will not be saved to disk. ##### Examples The following example shows how to use SkipImagesStrategy when converting a document: ```csharp var options = new ConvertOptions { ImageExportStrategy = new SkipImagesStrategy() }; string markdown = MarkdownConverter.ToMarkdown("document.docx", options); // Image references remain in the markdown but no files are written ``` ### GetImageStream Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/skipimagesstrategy/getimagestream.md #### SkipImagesStrategy.GetImageStream method Returns null to indicate that the image should be skipped. ```csharp public Stream GetImageStream(ImageExportContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | context | ImageExportContext | The image export context (not used in this implementation). | ##### Return Value Always returns null to skip the image. ### ImagesFolder Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/skipimagesstrategy/imagesfolder.md #### SkipImagesStrategy.ImagesFolder property Gets an empty string as this strategy does not use an images folder. ```csharp public string ImagesFolder { get; } ``` ##### Property Value An empty string since no images are exported. ### SkipImagesStrategy Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/skipimagesstrategy/skipimagesstrategy.md #### SkipImagesStrategy constructor The default constructor. ```csharp public SkipImagesStrategy() ``` ### UriExportContext Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/uriexportcontext.md #### UriExportContext class Contains information about a resource URI being written during conversion. Passed to `UpdateResourceUri`. ```csharp public class UriExportContext ``` #### Properties | Name | Description | | --- | --- | | ResourceFileName { get; } | Gets the default resource file name generated by the library. | | ResourceFileNameOutput { get; } | Gets the overridden file name, or `null` if no override was set. | | ResourceFileUri { get; } | Gets the default URI that the library would write into the Markdown output. | | ResourceFileUriOutput { get; } | Gets the overridden URI, or `null` if no override was set. | #### Methods | Name | Description | | --- | --- | | SetResourceFileName(string) | Overrides the resource file name in the Markdown output. | | SetResourceFileUri(string) | Overrides the URI that will appear in the Markdown output. | ##### Remarks Read the default values from `ResourceFileName` and `ResourceFileUri`, then call `SetResourceFileName` or `SetResourceFileUri` to override them. ### ResourceFileName Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/uriexportcontext/resourcefilename.md #### UriExportContext.ResourceFileName property Gets the default resource file name generated by the library. ```csharp public string ResourceFileName { get; } ``` ### ResourceFileNameOutput Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/uriexportcontext/resourcefilenameoutput.md #### UriExportContext.ResourceFileNameOutput property Gets the overridden file name, or `null` if no override was set. ```csharp public string ResourceFileNameOutput { get; } ``` ### ResourceFileUri Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/uriexportcontext/resourcefileuri.md #### UriExportContext.ResourceFileUri property Gets the default URI that the library would write into the Markdown output. ```csharp public string ResourceFileUri { get; } ``` ### ResourceFileUriOutput Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/uriexportcontext/resourcefileurioutput.md #### UriExportContext.ResourceFileUriOutput property Gets the overridden URI, or `null` if no override was set. ```csharp public string ResourceFileUriOutput { get; } ``` ### SetResourceFileName Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/uriexportcontext/setresourcefilename.md #### UriExportContext.SetResourceFileName method Overrides the resource file name in the Markdown output. ```csharp public void SetResourceFileName(string resourceFileName) ``` | Parameter | Type | Description | | --- | --- | --- | | resourceFileName | String | The new file name. | ### SetResourceFileUri Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/uriexportcontext/setresourcefileuri.md #### UriExportContext.SetResourceFileUri method Overrides the URI that will appear in the Markdown output. ```csharp public void SetResourceFileUri(string resourceFileUri) ``` | Parameter | Type | Description | | --- | --- | --- | | resourceFileUri | String | The new URI (for example, a CDN URL). | ### UriSavingArgs Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/urisavingargs.md #### UriSavingArgs class Provides information and controls for customizing how a resource URI is written during document-to-Markdown conversion. An instance of this class is created for each resource and can be used to override the default URI or file name. ```csharp public class UriSavingArgs ``` #### Properties | Name | Description | | --- | --- | | ResourceFileName { get; } | Gets the default file name (without path) generated by the library for this resource. | | ResourceFileNameOutput { get; } | Gets the overridden file name set by the caller, or `null` if no override was specified. | | ResourceFileUri { get; } | Gets the default resource URI that the library would write into the Markdown output. | | ResourceFileUriOutput { get; } | Gets the overridden URI set by `SetResourceFileUri`, or `null` if no override was specified. | #### Methods | Name | Description | | --- | --- | | SetResourceFileUri(string) | Overrides the URI that will be written to the Markdown output for this resource. | ##### Remarks Call `SetResourceFileUri` to change the URI that appears in the Markdown output. If no override is set, the library uses the default `ResourceFileUri`. ##### Examples Rewriting a resource URI in a callback: ```csharp // Inside a custom URI export callback args.SetResourceFileUri("https://cdn.example.com/assets/" + args.ResourceFileName); ``` ### ResourceFileName Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/urisavingargs/resourcefilename.md #### UriSavingArgs.ResourceFileName property Gets the default file name (without path) generated by the library for this resource. ```csharp public string ResourceFileName { get; } ``` ### ResourceFileNameOutput Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/urisavingargs/resourcefilenameoutput.md #### UriSavingArgs.ResourceFileNameOutput property Gets the overridden file name set by the caller, or `null` if no override was specified. ```csharp public string ResourceFileNameOutput { get; } ``` ### ResourceFileUri Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/urisavingargs/resourcefileuri.md #### UriSavingArgs.ResourceFileUri property Gets the default resource URI that the library would write into the Markdown output. ```csharp public string ResourceFileUri { get; } ``` ### ResourceFileUriOutput Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/urisavingargs/resourcefileurioutput.md #### UriSavingArgs.ResourceFileUriOutput property Gets the overridden URI set by `SetResourceFileUri`, or `null` if no override was specified. ```csharp public string ResourceFileUriOutput { get; } ``` ### SetResourceFileUri Path: https://reference.groupdocs.com/markdown/net/groupdocs.markdown/urisavingargs/setresourcefileuri.md #### UriSavingArgs.SetResourceFileUri method Overrides the URI that will be written to the Markdown output for this resource. ```csharp public void SetResourceFileUri(string resourceFileUri) ``` | Parameter | Type | Description | | --- | --- | --- | | resourceFileUri | String | The new URI to use (for example, a CDN URL or an absolute path). | ## Python ### GroupDocs.Markdown for Python via .NET Path: https://reference.groupdocs.com/markdown/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.markdown` | Main GroupDocs.Markdown namespace with top-level API classes. | ### groupdocs.markdown Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown.md Main GroupDocs.Markdown namespace with top-level API classes. ##### Classes | Class | Description | | :- | :- | | `ConvertOptions` | Provides options for customizing the document conversion process to Markdown format. | | `ConvertResult` | Contains the output of a successful document-to-Markdown conversion. | | `CustomImageSavingArgs` | Provides information and controls for saving a single image during document-to-Markdown conversion. | | `CustomImagesStrategy` | Implements an image export strategy that gives you full control over how images are saved during conversion. | | `CustomUriExportStrategy` | Implements a URI export strategy that lets you customize how resource URIs are written to Markdown. | | `DefaultUriExportStrategy` | Provides default URI handling that keeps the URIs generated by the library unchanged. | | `DocumentInfo` | Provides read-only metadata about a loaded document, such as its format, page count, title, and encryption status. | | `ExportImagesAsBase64Strategy` | Implements an image export strategy that embeds images as Base64 strings directly in the Markdown. | | `ExportImagesToFileSystemStrategy` | Saves images to a folder on disk during conversion. | | `ExportOptions` | Options for exporting Markdown to a document format (reverse conversion). | | `IImageExportStrategy` | Defines a strategy for handling image export during document-to-Markdown conversion. | | `IImageSavingHandler` | Callback interface invoked for each image encountered during conversion when using `CustomImagesStrategy`. | | `IUriExportStrategy` | Defines a strategy for customizing resource URIs that are written into the Markdown output during conversion. | | `IUriSavingHandler` | Callback interface invoked for each resource URI during conversion when using `CustomUriExportStrategy`; implement it to rewrite resource URIs in the Markdown output. | | `ImageExportContext` | Contains read-only information about a single image encountered during conversion, and is passed to `IImageExportStrategy.get_image_stream(ImageExportContext)`. | | `License` | Manages GroupDocs.Markdown licensing. | | `LoadOptions` | Specifies additional options for loading a document, such as an explicit file format or a password for encrypted files. | | `MarkdownConverter` | Converts documents from Word, Excel, PDF, and other formats to Markdown, offering static one-liner methods and an instance-based API with full control over conversion options. | | `Metered` | Manages metered (pay-per-use) licensing. | | `SkipImagesStrategy` | Implements an image export strategy that skips saving images during document conversion. | | `UriExportContext` | Contains information about a resource URI being written during conversion and is passed to `IUriExportStrategy.update_resource_uri`. | | `UriSavingArgs` | Provides information and controls for customizing how a resource URI is written during document-to-Markdown conversion. | ##### Enumerations | Enum | Description | | :- | :- | | `FileFormat` | Specifies a document file format. Used both as input format (when loading a document for conversion to Markdown) and as output format (when exporting Markdown to a document). | | `MarkdownFlavor` | Specifies the target Markdown dialect for the conversion output. | ##### Exceptions | Exception | Description | | :- | :- | | `DocumentProtectedException` | The exception that is thrown when a document is password-protected and no password (or an incorrect password) was provided via `LoadOptions.password`. | | `GroupDocsMarkdownException` | Represents a product-specific exception that is thrown during file processing. | | `InvalidFormatException` | The exception that is thrown when a file has an invalid format. | ### ConvertOptions class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions.md #### ConvertOptions class Provides options for customizing the document conversion process to Markdown format. This class allows you to configure how documents are converted to Markdown, including how images are exported, how resource URIs are written, which pages to convert, and how heading levels are adjusted. By default, images are embedded as Base64 strings in the Markdown output. The ConvertOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `ConvertOptions` class. | ##### Properties | Property | Description | | :- | :- | | flavor | The target Markdown dialect. Default is `MarkdownFlavor.git_hub`. | | heading_level_offset | The offset to apply to all heading levels in the Markdown output. Default is 0 (no change). | | image_export_strategy | The strategy for handling images during conversion. Default is `ExportImagesAsBase64Strategy`. | | include_front_matter | The option indicating whether to prepend YAML front matter to the Markdown output. Default is False. | | include_hidden_sheets | The property indicates whether hidden worksheets are included in spreadsheet conversions. | | max_columns | The maximum number of columns to include per table when converting spreadsheets; columns beyond this limit are truncated with an ellipsis indicator, and a value of 0 means unlimited (default). | | max_rows | The maximum number of data rows to include per worksheet when converting spreadsheets; rows beyond this limit are truncated with an ellipsis indicator, and a value of 0 means unlimited (default). | | page_numbers | The page numbers to convert, as a list of 1‑based page or worksheet numbers. | | sheet_separator | The separator inserted between worksheets in spreadsheet conversions. | | uri_export_strategy | The strategy for customizing resource URIs written to Markdown output. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/__init__.md #### __init__ Initializes a new instance of the `ConvertOptions` class. By default, `ConvertOptions.image_export_strategy` is set to `ExportImagesAsBase64Strategy`, which embeds images as Base64 strings directly in the Markdown output. ```python def __init__(self): ... ``` ### flavor property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/flavor.md #### flavor property The target Markdown dialect. Default is `MarkdownFlavor.git_hub`. ##### Definition: ```python @property def flavor(self): ... @flavor.setter def flavor(self, value): ... ``` ### heading_level_offset property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/heading_level_offset.md #### heading_level_offset property The offset to apply to all heading levels in the Markdown output. Default is 0 (no change). This is useful when you are embedding the converted Markdown inside a larger document where top-level headings are already in use. For example, setting this to 1 ensures the converted content starts at `##` instead of `#`. ##### Definition: ```python @property def heading_level_offset(self): ... @heading_level_offset.setter def heading_level_offset(self, value): ... ``` ### image_export_strategy property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/image_export_strategy.md #### image_export_strategy property The strategy for handling images during conversion. Default is `ExportImagesAsBase64Strategy`. Built-in strategies: - `ExportImagesAsBase64Strategy` - Embeds images as Base64 strings (default) - `ExportImagesToFileSystemStrategy` - Saves images to a specified folder - `SkipImagesStrategy` - Skips image saving - `CustomImagesStrategy` - Custom image saving handler Or implement `IImageExportStrategy` for a fully custom strategy. ##### Definition: ```python @property def image_export_strategy(self): ... @image_export_strategy.setter def image_export_strategy(self, value): ... ``` ### include_front_matter property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/include_front_matter.md #### include_front_matter property The option indicating whether to prepend YAML front matter to the Markdown output. Default is False. Front matter is commonly used by static site generators such as Jekyll, Hugo, and Docusaurus. Only non-empty metadata fields are included. ##### Definition: ```python @property def include_front_matter(self): ... @include_front_matter.setter def include_front_matter(self, value): ... ``` ### include_hidden_sheets property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/include_hidden_sheets.md #### include_hidden_sheets property The property indicates whether hidden worksheets are included in spreadsheet conversions. Default is False. ##### Definition: ```python @property def include_hidden_sheets(self): ... @include_hidden_sheets.setter def include_hidden_sheets(self, value): ... ``` ### max_columns property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/max_columns.md #### max_columns property The maximum number of columns to include per table when converting spreadsheets; columns beyond this limit are truncated with an ellipsis indicator, and a value of 0 means unlimited (default). ##### Definition: ```python @property def max_columns(self): ... @max_columns.setter def max_columns(self, value): ... ``` ### max_rows property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/max_rows.md #### max_rows property The maximum number of data rows to include per worksheet when converting spreadsheets; rows beyond this limit are truncated with an ellipsis indicator, and a value of 0 means unlimited (default). ##### Definition: ```python @property def max_rows(self): ... @max_rows.setter def max_rows(self, value): ... ``` ### page_numbers property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/page_numbers.md #### page_numbers property The page numbers to convert, as a list of 1‑based page or worksheet numbers. If set to None, all pages are converted. The default is None. ##### Definition: ```python @property def page_numbers(self): ... @page_numbers.setter def page_numbers(self, value): ... ``` ### sheet_separator property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/sheet_separator.md #### sheet_separator property The separator inserted between worksheets in spreadsheet conversions. Default is a horizontal rule (` `). ##### Definition: ```python @property def sheet_separator(self): ... @sheet_separator.setter def sheet_separator(self, value): ... ``` ### uri_export_strategy property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertoptions/uri_export_strategy.md #### uri_export_strategy property The strategy for customizing resource URIs written to Markdown output. The URI export strategy, or None to keep the default URIs. Default is None. ##### Definition: ```python @property def uri_export_strategy(self): ... @uri_export_strategy.setter def uri_export_strategy(self, value): ... ``` ### ConvertResult class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult.md #### ConvertResult class Contains the output of a successful document-to-Markdown conversion. All `Convert` methods throw on failure, so a returned `ConvertResult` always represents a successful conversion. Use `ConvertResult.content` to read the Markdown string (when converting to string) and `ConvertResult.warnings` to check for non-fatal issues. The ConvertResult type exposes the following members: ##### Methods | Method | Description | | :- | :- | | failure | Creates a failed result with error information. | | success | Creates a successful result without content. Used when the output was written to a stream or file. | | success | Creates a successful result containing the converted Markdown content. | ##### Properties | Property | Description | | :- | :- | | content | The converted Markdown content as a string. | | error_message | The error message if the conversion failed, or None if it succeeded. | | exception | The exception that caused the conversion to fail, or None if the conversion succeeded. | | is_success | The conversion succeeded flag indicating whether the conversion completed successfully. | | warnings | The non-fatal warnings that occurred during conversion. | ### content property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult/content.md #### content property The converted Markdown content as a string. The Markdown content when conversion is performed without an output stream or file path. Returns None if the conversion failed, or if the output was written to a stream or file. ##### Definition: ```python @property def content(self): ... ``` ### error_message property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult/error_message.md #### error_message property The error message if the conversion failed, or None if it succeeded. ##### Definition: ```python @property def error_message(self): ... ``` ### exception property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult/exception.md #### exception property The exception that caused the conversion to fail, or None if the conversion succeeded. ##### Definition: ```python @property def exception(self): ... ``` ### failure method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult/failure.md #### failure Creates a failed result with error information. ```python def failure(cls, error_message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | error_message | `str` | A human-readable description of the error. | | exception | `Exception` | The exception that caused the failure. | **Returns:** ConvertResult: A ConvertResult with `IsSuccess` set to `False`. ### is_success property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult/is_success.md #### is_success property The conversion succeeded flag indicating whether the conversion completed successfully. True if the conversion succeeded; otherwise, False. ##### Definition: ```python @property def is_success(self): ... ``` ### success method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult/success.md #### success Creates a successful result without content. Used when the output was written to a stream or file. ```python def success(cls): ... ``` **Returns:** ConvertResult: A result with `IsSuccess` set to `True` and `Content` set to `None`. #### success Creates a successful result containing the converted Markdown content. ```python def success(cls, content): ... ``` | Parameter | Type | Description | | :- | :- | :- | | content | `str` | The Markdown content produced by the conversion. | **Returns:** ConvertResult: A result with `IsSuccess` set to True and the specified content. ### warnings property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/convertresult/warnings.md #### warnings property The non-fatal warnings that occurred during conversion. A read‑only list of warning messages. The list is empty when no warnings were generated. Warnings describe issues that did not prevent conversion but may affect the output (for example, unsupported formatting or missing resources). ##### Definition: ```python @property def warnings(self): ... ``` ### CustomImageSavingArgs class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs.md #### CustomImageSavingArgs class Provides information and controls for saving a single image during document-to-Markdown conversion. An instance of this class is passed to the callback registered with `CustomImagesStrategy` for each image found in the source document. Use `CustomImageSavingArgs.set_output_image_file_name` to change the file name the image is saved under, or `CustomImageSavingArgs.set_output_stream` to redirect the image data to a custom stream. If neither method is called, the library uses the defaults provided by `CustomImageSavingArgs.image_file_name` and `CustomImageSavingArgs.output_directory`. The CustomImageSavingArgs type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_output_image_file_name | Overrides the default file name for this image. The image will be saved under the specified name instead of the library-generated `CustomImageSavingArgs.image_file_name`. | | set_output_stream | Redirects the image data to a custom writable stream instead of the default file output. The library will write the image bytes to this stream during conversion. | | set_replacement_image | Provides a replacement image to use instead of the original image from the source document. The stream must contain the complete replacement image data (e.g., PNG or JPEG bytes). When set, the library writes this data to the output instead of the original image. | ##### Properties | Property | Description | | :- | :- | | image_file_name | The default file name (without path) suggested by the library for this image. | | image_file_name_output | The overridden file name set by `CustomImageSavingArgs.set_output_image_file_name`, or `None` if no override was specified. | | output_directory | The output directory where images are being saved. | | output_stream | The custom output stream set by `CustomImageSavingArgs.set_output_stream`, or `None` if no custom stream was specified. | | replacement_image_stream | The replacement image stream set by `CustomImageSavingArgs.set_replacement_image`, or `None` if no replacement was specified. | | shape_type | The type of the shape that contains the image in the source document (e.g., "Picture" or "Shape"). | ### image_file_name property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/image_file_name.md #### image_file_name property The default file name (without path) suggested by the library for this image. ##### Definition: ```python @property def image_file_name(self): ... ``` ### image_file_name_output property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/image_file_name_output.md #### image_file_name_output property The overridden file name set by `CustomImageSavingArgs.set_output_image_file_name`, or `None` if no override was specified. ##### Definition: ```python @property def image_file_name_output(self): ... ``` ### output_directory property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/output_directory.md #### output_directory property The output directory where images are being saved. ##### Definition: ```python @property def output_directory(self): ... ``` ### output_stream property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/output_stream.md #### output_stream property The custom output stream set by `CustomImageSavingArgs.set_output_stream`, or `None` if no custom stream was specified. ##### Definition: ```python @property def output_stream(self): ... ``` ### replacement_image_stream property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/replacement_image_stream.md #### replacement_image_stream property The replacement image stream set by `CustomImageSavingArgs.set_replacement_image`, or `None` if no replacement was specified. ##### Definition: ```python @property def replacement_image_stream(self): ... ``` ### set_output_image_file_name method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/set_output_image_file_name.md #### set_output_image_file_name Overrides the default file name for this image. The image will be saved under the specified name instead of the library-generated `CustomImageSavingArgs.image_file_name`. ```python def set_output_image_file_name(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `str` | The new file name (without path) to use for the image. | ### set_output_stream method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/set_output_stream.md #### set_output_stream Redirects the image data to a custom writable stream instead of the default file output. The library will write the image bytes to this stream during conversion. ```python def set_output_stream(self, stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `io.RawIOBase` | A writable stream where the image data will be written. | | Raises | Description | | :- | :- | | `ValueError` | When `stream` is None. | ### set_replacement_image method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/set_replacement_image.md #### set_replacement_image Provides a replacement image to use instead of the original image from the source document. The stream must contain the complete replacement image data (e.g., PNG or JPEG bytes). When set, the library writes this data to the output instead of the original image. ```python def set_replacement_image(self, image_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | image_stream | `io.RawIOBase` | A readable stream containing the replacement image data. | | Raises | Description | | :- | :- | | `ValueError` | Raised when `image_stream` is None. | ### shape_type property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesavingargs/shape_type.md #### shape_type property The type of the shape that contains the image in the source document (e.g., "Picture" or "Shape"). ##### Definition: ```python @property def shape_type(self): ... ``` ### CustomImagesStrategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesstrategy.md #### CustomImagesStrategy class Implements an image export strategy that gives you full control over how images are saved during conversion. Supply an `IImageSavingHandler` implementation to rename images, redirect them to a custom stream, or apply any other custom logic when each image is encountered. The CustomImagesStrategy type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the CustomImagesStrategy class. | ##### Methods | Method | Description | | :- | :- | | get_image_stream | Gets a stream for writing the exported image to the file system. | ##### Properties | Property | Description | | :- | :- | | images_folder | The physical folder where images will be saved on disk. | | images_relative_path | The path used in the Markdown image references; when None or empty, the full `CustomImagesStrategy.images_folder` path is used, and it can be set to a relative path (e.g., "images") for portable Markdown output. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesstrategy/__init__.md #### __init__ Initializes a new instance of the CustomImagesStrategy class. ```python def __init__(self, images_folder, handler): ... ``` | Parameter | Type | Description | | :- | :- | :- | | images_folder | `str` | The folder where images will be exported. | | handler | `IImageSavingHandler` | The handler that is called for each image during conversion. | | Raises | Description | | :- | :- | | `ValueError` | Thrown when `images_folder` is None. | ### get_image_stream method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesstrategy/get_image_stream.md #### get_image_stream Gets a stream for writing the exported image to the file system. ```python def get_image_stream(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `ImageExportContext` | The image export context containing information about the image being processed. | **Returns:** io.RawIOBase: A stream for writing the image data to the file system. ### images_folder property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesstrategy/images_folder.md #### images_folder property The physical folder where images will be saved on disk. ##### Definition: ```python @property def images_folder(self): ... ``` ### images_relative_path property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customimagesstrategy/images_relative_path.md #### images_relative_path property The path used in the Markdown image references; when None or empty, the full `CustomImagesStrategy.images_folder` path is used, and it can be set to a relative path (e.g., "images") for portable Markdown output. ##### Definition: ```python @property def images_relative_path(self): ... @images_relative_path.setter def images_relative_path(self, value): ... ``` ### CustomUriExportStrategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customuriexportstrategy.md #### CustomUriExportStrategy class Implements a URI export strategy that lets you customize how resource URIs are written to Markdown. Supply a `IUriSavingHandler` implementation to rewrite resource URIs (for example, to prepend a CDN base URL). The CustomUriExportStrategy type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `CustomUriExportStrategy` class. | ##### Methods | Method | Description | | :- | :- | | update_resource_uri | Inherits documentation from the base `CustomUriExportStrategy.update_resource_uri` method. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customuriexportstrategy/__init__.md #### __init__ Initializes a new instance of the `CustomUriExportStrategy` class. ```python def __init__(self, handler): ... ``` | Parameter | Type | Description | | :- | :- | :- | | handler | `IUriSavingHandler` | The handler that is called for each resource URI during conversion. | ### update_resource_uri method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/customuriexportstrategy/update_resource_uri.md #### update_resource_uri Inherits documentation from the base `CustomUriExportStrategy.update_resource_uri` method. ```python def update_resource_uri(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `UriExportContext` | | ### DefaultUriExportStrategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/defaulturiexportstrategy.md #### DefaultUriExportStrategy class Provides default URI handling that keeps the URIs generated by the library unchanged. The DefaultUriExportStrategy type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | update_resource_uri | Inherits documentation from the base implementation. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/defaulturiexportstrategy/__init__.md #### __init__ ```python def __init__(self): ... ``` ### update_resource_uri method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/defaulturiexportstrategy/update_resource_uri.md #### update_resource_uri Inherits documentation from the base implementation. ```python def update_resource_uri(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `UriExportContext` | | ### DocumentInfo class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/documentinfo.md #### DocumentInfo class Provides read-only metadata about a loaded document, such as its format, page count, title, and encryption status. Use `MarkdownConverter.get_document_info` or `MarkdownConverter.get_info` to obtain an instance of this class. The information is extracted from the source document without performing a full conversion, so it is a lightweight way to inspect a file before converting it. The DocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | author | The document author extracted from its metadata, or an empty string if no author is available. | | file_format | The detected file format of the document. | | is_encrypted | The document is password-protected. Returns True if the document requires a password to open; otherwise, False. | | page_count | The number of pages in the document, or the number of worksheets for spreadsheets, as a non‑negative integer. | | title | The document title extracted from its metadata, or an empty string if no title is available. | ### author property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/documentinfo/author.md #### author property The document author extracted from its metadata, or an empty string if no author is available. ##### Definition: ```python @property def author(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/documentinfo/file_format.md #### file_format property The detected file format of the document. A `FileFormat` value indicating the document type (e.g., `FileFormat.docx`, `FileFormat.pdf`). ##### Definition: ```python @property def file_format(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/documentinfo/is_encrypted.md #### is_encrypted property The document is password-protected. Returns True if the document requires a password to open; otherwise, False. ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/documentinfo/page_count.md #### page_count property The number of pages in the document, or the number of worksheets for spreadsheets, as a non‑negative integer. ##### Definition: ```python @property def page_count(self): ... ``` ### title property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/documentinfo/title.md #### title property The document title extracted from its metadata, or an empty string if no title is available. ##### Definition: ```python @property def title(self): ... ``` ### DocumentProtectedException class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/documentprotectedexception.md #### DocumentProtectedException class The exception that is thrown when a document is password-protected and no password (or an incorrect password) was provided via `LoadOptions.password`. The DocumentProtectedException type exposes the following members: ### ExportImagesAsBase64Strategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagesasbase64strategy.md #### ExportImagesAsBase64Strategy class Implements an image export strategy that embeds images as Base64 strings directly in the Markdown. This strategy converts all images to Base64 format and embeds them directly in the Markdown document using the data URI scheme. This eliminates the need for separate image files, making the Markdown document self-contained. However, this approach increases the size of the Markdown file and may not be supported by all Markdown viewers. The ExportImagesAsBase64Strategy type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | get_image_stream | Returns None to indicate that the image should be embedded as Base64. | ##### Properties | Property | Description | | :- | :- | | images_folder | The images folder path is always an empty string because this strategy embeds images directly in the Markdown. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagesasbase64strategy/__init__.md #### __init__ ```python def __init__(self): ... ``` ### get_image_stream method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagesasbase64strategy/get_image_stream.md #### get_image_stream Returns None to indicate that the image should be embedded as Base64. ```python def get_image_stream(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `ImageExportContext` | The image export context (not used in this implementation). | **Returns:** None: Always returns None to indicate Base64 embedding. ### images_folder property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagesasbase64strategy/images_folder.md #### images_folder property The images folder path is always an empty string because this strategy embeds images directly in the Markdown. ##### Definition: ```python @property def images_folder(self): ... ``` ### ExportImagesToFileSystemStrategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagestofilesystemstrategy.md #### ExportImagesToFileSystemStrategy class Saves images to a folder on disk during conversion. By default, the Markdown output references images using the full `ExportImagesToFileSystemStrategy.images_folder` path. Set `ExportImagesToFileSystemStrategy.images_relative_path` to control the path that appears in the Markdown image links — typically a path relative to the output `.md` file. The ExportImagesToFileSystemStrategy type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `ExportImagesToFileSystemStrategy` class. | ##### Methods | Method | Description | | :- | :- | | get_image_stream | Returns a stream for writing the exported image to the file system. | ##### Properties | Property | Description | | :- | :- | | images_folder | The physical folder where images will be saved on disk. | | images_relative_path | The path used in the Markdown image references. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagestofilesystemstrategy/__init__.md #### __init__ Initializes a new instance of the `ExportImagesToFileSystemStrategy` class. ```python def __init__(self, images_folder): ... ``` | Parameter | Type | Description | | :- | :- | :- | | images_folder | `str` | The physical folder where images will be saved. | | Raises | Description | | :- | :- | | `ValueError` | When `images_folder` is None. | ### get_image_stream method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagestofilesystemstrategy/get_image_stream.md #### get_image_stream Returns a stream for writing the exported image to the file system. ```python def get_image_stream(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `ImageExportContext` | | ### images_folder property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagestofilesystemstrategy/images_folder.md #### images_folder property The physical folder where images will be saved on disk. ##### Definition: ```python @property def images_folder(self): ... ``` ### images_relative_path property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportimagestofilesystemstrategy/images_relative_path.md #### images_relative_path property The path used in the Markdown image references. When `None` or empty, the full `ExportImagesToFileSystemStrategy.images_folder` path is used (which may be absolute). Set this to a relative path (e.g. `"images"`) so the Markdown output contains portable references. Default is `None` (uses `ExportImagesToFileSystemStrategy.images_folder` as‑is). ##### Definition: ```python @property def images_relative_path(self): ... @images_relative_path.setter def images_relative_path(self, value): ... ``` ### ExportOptions class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportoptions.md #### ExportOptions class Options for exporting Markdown to a document format (reverse conversion). Use this class with `MarkdownConverter.from_markdown` to control how the Markdown content is converted to a document format such as DOCX or PDF. The ExportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the ExportOptions class. | | __init__ | Initializes a new instance of the `ExportOptions` class with the specified target format. | ##### Properties | Property | Description | | :- | :- | | format | The target document format. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportoptions/__init__.md #### __init__ Initializes a new instance of the ExportOptions class. ```python def __init__(self): ... ``` #### __init__ Initializes a new instance of the `ExportOptions` class with the specified target format. ```python def __init__(self, format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | format | `FileFormat` | The target document format. | ### format property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/exportoptions/format.md #### format property The target document format. If not set, the format is inferred from the output file extension. Default is `FileFormat.unknown` (infer from file extension). ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### FileFormat class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat.md #### FileFormat class Specifies a document file format. Used both as input format (when loading a document for conversion to Markdown) and as output format (when exporting Markdown to a document). Pass a value from this enum to the `LoadOptions` constructor to explicitly specify the source document format, or use `FileFormat.unknown` to let the library detect it automatically. Use `MarkdownConverter.get_supported_formats` to retrieve all formats supported for conversion. The FileFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | Unknown | The file format is not specified. | | Doc | Microsoft Word 97-2003 Document (.doc). | | Docx | Microsoft Word Document (.docx). | | Docm | Microsoft Word Macro-Enabled Document (.docm). | | Dot | Microsoft Word 97-2003 Template (.dot). | | Dotx | Microsoft Word Template (.dotx). | | Dotm | Microsoft Word Macro-Enabled Template (.dotm). | | Rtf | Rich Text Format (.rtf). | | Odt | OpenDocument Text (.odt). | | Ott | OpenDocument Text Template (.ott). | | Xlsx | Microsoft Excel Spreadsheet (.xlsx). | | Xls | Microsoft Excel 97-2003 Spreadsheet (.xls). | | Xlsb | Microsoft Excel Binary Spreadsheet (.xlsb). | | Xlsm | Microsoft Excel Macro-Enabled Spreadsheet (.xlsm). | | Csv | Comma-Separated Values (.csv). | | Tsv | Tab-Separated Values (.tsv). | | Ods | OpenDocument Spreadsheet (.ods). | | Ots | OpenDocument Spreadsheet Template (.ots). | | Pdf | Portable Document Format (.pdf). | | Epub | Electronic Publication (.epub). | | Mobi | Mobipocket E-Book (.mobi). | | Txt | Plain Text (.txt). | | Md | Markdown (.md). Used as input format for reverse conversion (Markdown to document). | | Chm | Compiled HTML Help (.chm). | ### Chm field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/chm.md #### Chm field Compiled HTML Help (.chm). ##### Value `23` ### Csv field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/csv.md #### Csv field Comma-Separated Values (.csv). ##### Value `14` ### Doc field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/doc.md #### Doc field Microsoft Word 97-2003 Document (.doc). ##### Value `1` ### Docm field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/docm.md #### Docm field Microsoft Word Macro-Enabled Document (.docm). ##### Value `3` ### Docx field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/docx.md #### Docx field Microsoft Word Document (.docx). ##### Value `2` ### Dot field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/dot.md #### Dot field Microsoft Word 97-2003 Template (.dot). ##### Value `4` ### Dotm field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/dotm.md #### Dotm field Microsoft Word Macro-Enabled Template (.dotm). ##### Value `6` ### Dotx field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/dotx.md #### Dotx field Microsoft Word Template (.dotx). ##### Value `5` ### Epub field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/epub.md #### Epub field Electronic Publication (.epub). ##### Value `19` ### Md field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/md.md #### Md field Markdown (.md). Used as input format for reverse conversion (Markdown to document). ##### Value `22` ### Mobi field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/mobi.md #### Mobi field Mobipocket E-Book (.mobi). ##### Value `20` ### Ods field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/ods.md #### Ods field OpenDocument Spreadsheet (.ods). ##### Value `16` ### Odt field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/odt.md #### Odt field OpenDocument Text (.odt). ##### Value `8` ### Ots field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/ots.md #### Ots field OpenDocument Spreadsheet Template (.ots). ##### Value `17` ### Ott field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/ott.md #### Ott field OpenDocument Text Template (.ott). ##### Value `9` ### Pdf field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/pdf.md #### Pdf field Portable Document Format (.pdf). ##### Value `18` ### Rtf field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/rtf.md #### Rtf field Rich Text Format (.rtf). ##### Value `7` ### Tsv field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/tsv.md #### Tsv field Tab-Separated Values (.tsv). ##### Value `15` ### Txt field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/txt.md #### Txt field Plain Text (.txt). ##### Value `21` ### Unknown field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/unknown.md #### Unknown field The file format is not specified. The library will attempt to detect the format automatically. ##### Value `0` ### Xls field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/xls.md #### Xls field Microsoft Excel 97-2003 Spreadsheet (.xls). ##### Value `11` ### Xlsb field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/xlsb.md #### Xlsb field Microsoft Excel Binary Spreadsheet (.xlsb). ##### Value `12` ### Xlsm field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/xlsm.md #### Xlsm field Microsoft Excel Macro-Enabled Spreadsheet (.xlsm). ##### Value `13` ### Xlsx field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/fileformat/xlsx.md #### Xlsx field Microsoft Excel Spreadsheet (.xlsx). ##### Value `10` ### GroupDocsMarkdownException class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/groupdocsmarkdownexception.md #### GroupDocsMarkdownException class Represents a product-specific exception that is thrown during file processing. The GroupDocsMarkdownException type exposes the following members: ### IImageExportStrategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iimageexportstrategy.md #### IImageExportStrategy class Defines a strategy for handling image export during document-to-Markdown conversion. The library ships with several built-in strategies: - `ExportImagesAsBase64Strategy` -- embeds images inline as Base64 (the default). - `ExportImagesToFileSystemStrategy` -- writes images to a folder on disk. - `SkipImagesStrategy` -- omits images entirely. - `CustomImagesStrategy` -- delegates to a callback you supply. Implement this interface directly when none of the built-in strategies meet your needs. The IImageExportStrategy type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_image_stream | Returns a writable stream for the image described by `context`. | ##### Properties | Property | Description | | :- | :- | | images_folder | The folder path where exported images will be stored. | ### get_image_stream method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iimageexportstrategy/get_image_stream.md #### get_image_stream Returns a writable stream for the image described by `context`. The library writes the image bytes to this stream during conversion. ```python def get_image_stream(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `ImageExportContext` | The image export context containing the default image file name and other metadata. You may modify `ImageExportContext.image_file_name` before returning the stream to change the file name that appears in the Markdown output. | **Returns:** io.RawIOBase: A writable stream where the image data will be written, or `None` to use the default behavior. ### images_folder property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iimageexportstrategy/images_folder.md #### images_folder property The folder path where exported images will be stored. A relative or absolute folder path. This value is used to construct image URIs in the Markdown output. ##### Definition: ```python @property def images_folder(self): ... ``` ### IImageSavingHandler class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iimagesavinghandler.md #### IImageSavingHandler class Callback interface invoked for each image encountered during conversion when using `CustomImagesStrategy`. Implement this interface to rename images, redirect output to a custom stream, or apply other custom logic. The IImageSavingHandler type exposes the following members: ##### Methods | Method | Description | | :- | :- | | handle | Called once for each image found in the source document during conversion. | ### handle method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iimagesavinghandler/handle.md #### handle Called once for each image found in the source document during conversion. ```python def handle(self, args): ... ``` | Parameter | Type | Description | | :- | :- | :- | | args | `CustomImageSavingArgs` | Provides the default image file name and allows you to override the file name via `CustomImageSavingArgs.set_output_image_file_name` or redirect the output via `CustomImageSavingArgs.set_output_stream`. | ### ImageExportContext class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/imageexportcontext.md #### ImageExportContext class Contains read-only information about a single image encountered during conversion, and is passed to `IImageExportStrategy.get_image_stream(ImageExportContext)`. The ImageExportContext type exposes the following members: ##### Properties | Property | Description | | :- | :- | | image_file_name | The image file name (without directory path). | ### image_file_name property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/imageexportcontext/image_file_name.md #### image_file_name property The image file name (without directory path). The default value is generated by the library in the format `img-001.png`. ##### Definition: ```python @property def image_file_name(self): ... ``` ### InvalidFormatException class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/invalidformatexception.md #### InvalidFormatException class The exception that is thrown when a file has an invalid format. The InvalidFormatException type exposes the following members: ### IUriExportStrategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iuriexportstrategy.md #### IUriExportStrategy class Defines a strategy for customizing resource URIs that are written into the Markdown output during conversion. Implement this interface to rewrite or transform the URIs that reference images or other external resources in the generated Markdown. For example, you can prepend a CDN base URL or change relative paths to absolute URLs. The IUriExportStrategy type exposes the following members: ##### Methods | Method | Description | | :- | :- | | update_resource_uri | Called for each resource URI that will be written to the Markdown output, allowing modification of properties on `context` to customize the resulting URI. | ### update_resource_uri method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iuriexportstrategy/update_resource_uri.md #### update_resource_uri Called for each resource URI that will be written to the Markdown output, allowing modification of properties on `context` to customize the resulting URI. ```python def update_resource_uri(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `UriExportContext` | The URI export context. Set `UriExportContext.resource_file_uri` to override the URI that appears in the Markdown output, or modify `UriExportContext.resource_file_name` to change the resource file name. | ### IUriSavingHandler class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iurisavinghandler.md #### IUriSavingHandler class Callback interface invoked for each resource URI during conversion when using `CustomUriExportStrategy`; implement it to rewrite resource URIs in the Markdown output. The IUriSavingHandler type exposes the following members: ##### Methods | Method | Description | | :- | :- | | handle | Called once for each resource URI that will be written to the Markdown output. | ### handle method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/iurisavinghandler/handle.md #### handle Called once for each resource URI that will be written to the Markdown output. ```python def handle(self, args): ... ``` | Parameter | Type | Description | | :- | :- | :- | | args | `UriSavingArgs` | Provides the default resource file name and URI, and allows you to override the URI via `UriSavingArgs.set_resource_file_uri`. | ### License class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/license.md #### License class Manages GroupDocs.Markdown licensing. Licensed builds unlock the full feature set of the wrapper at runtime. Unlicensed builds run in evaluation mode with the same API surface but with limits on output size and watermarked content. The License type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_ | Apply a license without instantiating ``License``. | | set_license | Apply a license to the current process. | ### set_ method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/license/set_.md #### set_ Apply a license without instantiating ``License``. Convenience wrapper around ``License().set_license(...)`` that mirrors the static ``License.Set`` method on the .NET side. ```python def set_(license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | A file path (``str``) or a readable file-like object containing license data. | ### set_license method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/license/set_license.md #### set_license Apply a license to the current process. ```python def set_license(self, license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | Either a string path to a ``.lic`` file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. | | Raises | Description | | :- | :- | | `TypeError` | If ``license_source`` is neither a string path nor a readable file-like object. | ### LoadOptions class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/loadoptions.md #### LoadOptions class Specifies additional options for loading a document, such as an explicit file format or a password for encrypted files. By default, the library detects the file format automatically from the file extension or content. Use this class when you need to override automatic detection (for example, when loading from a stream without a file name) or when the document is password‑protected. The LoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `LoadOptions` class with automatic format detection. | | __init__ | Initializes a new instance of the `LoadOptions` class with an explicit file format. | ##### Properties | Property | Description | | :- | :- | | file_format | The file format of the document to load. | | password | The password used to open an encrypted document. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/loadoptions/__init__.md #### __init__ Initializes a new instance of the `LoadOptions` class with automatic format detection. ```python def __init__(self): ... ``` #### __init__ Initializes a new instance of the `LoadOptions` class with an explicit file format. ```python def __init__(self, file_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_format | `FileFormat` | The file format of the document to load. This bypasses automatic format detection, which is especially useful when loading documents from streams that lack a file extension. | ### file_format property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/loadoptions/file_format.md #### file_format property The file format of the document to load. The file format specified via the constructor, or `FileFormat.unknown` (the default) which means the format will be detected automatically. ##### Definition: ```python @property def file_format(self): ... ``` ### password property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/loadoptions/password.md #### password property The password used to open an encrypted document. Can be `None` or an empty string. The default value is `None`. If the document is not encrypted, set this to `None` or the empty string. ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### MarkdownConverter class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter.md #### MarkdownConverter class Converts documents from Word, Excel, PDF, and other formats to Markdown, offering static one-liner methods and an instance-based API with full control over conversion options. Supported input formats include Word (DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, ODT, OTT), Excel (XLS, XLSX, XLSB, XLSM, CSV, TSV, ODS, OTS), PDF, e‑books (EPUB, MOBI), plain text (TXT), and CHM help files. Call `MarkdownConverter.get_supported_formats` for the full list. For quick, one‑shot conversions use the static methods `MarkdownConverter.to_markdown`, `MarkdownConverter.to_file`, and `MarkdownConverter.get_info`. When you need to customize the conversion (image handling, heading offsets, page selection) or retrieve document metadata alongside conversion, create an instance and call `MarkdownConverter.convert` or `MarkdownConverter.get_document_info`. The instance implements `System.IDisposable`. Always dispose it when you are done, preferably with a `using` statement. The MarkdownConverter type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new converter for the document at the specified file path. | | __init__ | Initializes a new converter that reads the document from the supplied stream. The file format is detected automatically from the stream content. If automatic detection is not possible, use the `MarkdownConverter.__init__(io.RawIOBase, LoadOptions)` overload and specify the format via `LoadOptions`. | | __init__ | Initializes a new converter for the document at the specified file path, using the given load options. | | __init__ | Initializes a new converter that reads the document from the supplied stream, using the given load options. | ##### Methods | Method | Description | | :- | :- | | convert | Converts the loaded document to Markdown using default options and returns the result with the Markdown content in `ConvertResult.content`. | | convert | Converts the loaded document to Markdown and writes the output to the specified stream. | | convert | Converts the loaded document to Markdown and saves the result to a file at the specified output_file_path. | | convert | Converts the loaded document to Markdown with the specified options and returns the result with the Markdown content in `ConvertResult.content`. | | convert | Converts the loaded document to Markdown with the specified options, writing the output to a stream. | | convert | Converts the loaded document to Markdown with the specified options and saves the result to a file. | | convert_async | Asynchronously converts the loaded document to Markdown and returns the result as a string. | | convert_async | Asynchronously converts the loaded document to Markdown with the specified options. | | convert_async | Asynchronously converts the loaded document and saves the result to a file. | | from_markdown | Converts a Markdown file to a document format, inferring the output format from the file extension of `output_path` (e.g., `.docx`, `.pdf`). | | from_markdown | Converts a Markdown file to a document format with the specified export options. | | from_markdown_string | Converts a Markdown string to a document and saves it to a file. | | from_markdown_string | Converts a Markdown string to a document and writes it to a stream. | | get_document_info | Retrieves metadata about the loaded document without performing a full conversion. | | get_document_info_async | Asynchronously retrieves metadata about the loaded document. | | get_info | Returns metadata about a document (format, page count, title, author, encryption status) without performing a full conversion. | | get_info | Returns metadata about a document using the specified load options. Use this overload to supply a password when inspecting an encrypted document. | | get_info_async | Asynchronously retrieves metadata about the document at the specified path. | | get_supported_formats | Returns the complete list of FileFormat values that can be converted to Markdown. | | to_file | Converts a document to Markdown and saves the result directly to a file. | | to_file | Converts a document to Markdown with the specified conversion options and saves the result to a file. | | to_file | Converts a document to Markdown with the specified load and conversion options, saving the result to a file. | | to_file_async | Asynchronously converts the document and saves the result to a file. | | to_markdown | Converts a document to Markdown in a single call and returns the Markdown string. | | to_markdown | Converts a document to Markdown using the specified load options and returns the Markdown string. | | to_markdown | Converts a document to Markdown using the specified conversion options and returns the Markdown string. | | to_markdown | Converts a document to Markdown using the specified load and conversion options, and returns the Markdown string. | | to_markdown_async | Asynchronously converts the document at the specified path to Markdown. File reading is performed asynchronously. | | to_markdown_async | Asynchronously converts the document at the specified path to Markdown. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/__init__.md #### __init__ Initializes a new converter for the document at the specified file path. The file format is detected automatically from the file extension and content. ```python def __init__(self, source_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | Absolute or relative path to the source document (e.g. `"report.docx"`). | | Raises | Description | | :- | :- | | `ValueError` | When `source_path` is None or empty. | | `FileNotFoundError` | When the file at `source_path` does not exist. | | `NotImplementedError` | When the file format is not supported. Call `MarkdownConverter.get_supported_formats` to see which formats are accepted. | #### __init__ Initializes a new converter that reads the document from the supplied stream. The file format is detected automatically from the stream content. If automatic detection is not possible, use the `MarkdownConverter.__init__(io.RawIOBase, LoadOptions)` overload and specify the format via `LoadOptions`. ```python def __init__(self, source_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_stream | `io.RawIOBase` | A readable stream containing the document data. The stream is copied internally, so the caller may close it after construction. | | Raises | Description | | :- | :- | | `ValueError` | When `source_stream` is None. | | `NotImplementedError` | When the file format cannot be detected or is not supported. | #### __init__ Initializes a new converter for the document at the specified file path, using the given load options. ```python def __init__(self, source_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | Absolute or relative path to the source document. | | load_options | `LoadOptions` | Options that control how the document is loaded. Pass a `LoadOptions` with `LoadOptions.password` set to open encrypted files, or with a specific `FileFormat` to override automatic format detection. May be None. | | Raises | Description | | :- | :- | | `ValueError` | When `source_path` is None or empty. | | `FileNotFoundError` | When the file at `source_path` does not exist. | | `NotImplementedError` | When the file format is not supported. | #### __init__ Initializes a new converter that reads the document from the supplied stream, using the given load options. Use this overload when reading from a `io.BytesIO`, network stream, or any non‑file stream where format detection from a file name is not available. ```python def __init__(self, source_stream, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_stream | `io.RawIOBase` | A readable stream containing the document data. The stream is copied internally, so the caller may close it after construction. | | load_options | `LoadOptions` | Options that control how the document is loaded. Specify `LoadOptions.password` for encrypted files or a `FileFormat` to override automatic detection. May be `None`. | | Raises | Description | | :- | :- | | `ValueError` | If `source_stream` is `None`. | | `NotImplementedError` | If the file format cannot be detected or is not supported. | ### convert method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/convert.md #### convert Converts the loaded document to Markdown using default options and returns the result with the Markdown content in `ConvertResult.content`. ```python def convert(self): ... ``` **Returns:** A `ConvertResult` whose `ConvertResult.is_success` indicates whether the conversion succeeded. On success, `ConvertResult.content` contains the Markdown string. #### convert Converts the loaded document to Markdown and writes the output to the specified stream. The `ConvertResult.content` property will be None; the Markdown bytes are written directly to `output_stream`. ```python def convert(self, output_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_stream | `io.RawIOBase` | A writable stream that will receive the UTF-8 encoded Markdown output. | **Returns:** ConvertResult: A `ConvertResult` indicating success or failure. On success, `ConvertResult.content` is None because the output was written to the stream. #### convert Converts the loaded document to Markdown and saves the result to a file at the specified output_file_path. ```python def convert(self, output_file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_file_path | `str` | The path where the Markdown file will be written. | **Returns:** ConvertResult: A ConvertResult indicating success or failure. On success, ConvertResult.Content is None because the output was written to the file. #### convert Converts the loaded document to Markdown with the specified options and returns the result with the Markdown content in `ConvertResult.content`. ```python def convert(self, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | Options that control the conversion, such as `ConvertOptions.heading_level_offset`, `ConvertOptions.image_export_strategy`, and `ConvertOptions.page_numbers`. Pass `None` to use defaults. | **Returns:** A `ConvertResult` whose `ConvertResult.content` contains the Markdown string on success. #### convert Converts the loaded document to Markdown with the specified options, writing the output to a stream. ```python def convert(self, output_stream, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_stream | `io.RawIOBase` | A writable stream that will receive the UTF-8 encoded Markdown output. | | convert_options | `ConvertOptions` | Options that control the conversion. Pass `None` to use defaults. | **Returns:** A `ConvertResult` indicating success or failure. `ConvertResult.content` is `None` because the output was written to the stream. #### convert Converts the loaded document to Markdown with the specified options and saves the result to a file. ```python def convert(self, output_file_path, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_file_path | `str` | The path where the Markdown file will be written. | | convert_options | `ConvertOptions` | Options that control the conversion. Pass `None` to use defaults. | **Returns:** ConvertResult: A `ConvertResult` indicating success or failure. `ConvertResult.content` is `None` because the output was written to the file. ### convert_async method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/convert_async.md #### convert_async Asynchronously converts the loaded document to Markdown and returns the result as a string. ```python def convert_async(self): ... ``` **Returns:** str: The converted Markdown content. #### convert_async Asynchronously converts the loaded document to Markdown with the specified options. ```python def convert_async(self, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | convert_options | `ConvertOptions` | Options that control the conversion. | #### convert_async Asynchronously converts the loaded document and saves the result to a file. ```python def convert_async(self, output_file_path, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | output_file_path | `str` | The path where the Markdown file will be written. | | convert_options | `ConvertOptions` | Options that control the conversion. Pass `None` for defaults. | ### from_markdown method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/from_markdown.md #### from_markdown Converts a Markdown file to a document format, inferring the output format from the file extension of `output_path` (e.g., `.docx`, `.pdf`). ```python def from_markdown(cls, markdown_path, output_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | markdown_path | `str` | Path to the source Markdown file. | | output_path | `str` | Path where the output document will be saved. The extension determines the format. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when conversion fails. | | `NotImplementedError` | Thrown when the output format is not supported. | #### from_markdown Converts a Markdown file to a document format with the specified export options. ```python def from_markdown(cls, markdown_path, output_path, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | markdown_path | `str` | Path to the source Markdown file. | | output_path | `str` | Path where the output document will be saved. | | options | `ExportOptions` | Export options. Use `ExportOptions.format` to override format detection, or pass `None` to infer from the output file extension. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when conversion fails. | | `NotImplementedError` | Thrown when the output format is not supported. | ### from_markdown_string method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/from_markdown_string.md #### from_markdown_string Converts a Markdown string to a document and saves it to a file. ```python def from_markdown_string(cls, markdown_content, output_path, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | markdown_content | `str` | The Markdown content as a string. | | output_path | `str` | Path where the output document will be saved. | | options | `ExportOptions` | Export options, or `None` to infer format from the file extension. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when conversion fails. | | `NotImplementedError` | Thrown when the output format is not supported. | #### from_markdown_string Converts a Markdown string to a document and writes it to a stream. ```python def from_markdown_string(cls, markdown_content, output_stream, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | markdown_content | `str` | The Markdown content as a string. | | output_stream | `io.RawIOBase` | A writable stream that will receive the document bytes. | | options | `ExportOptions` | Export options. `ExportOptions.format` must be set since there is no file extension to infer from. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when conversion fails. | | `ValueError` | Thrown when `options` is None or `ExportOptions.format` is `FileFormat.unknown`. | ### get_document_info method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/get_document_info.md #### get_document_info Retrieves metadata about the loaded document without performing a full conversion. ```python def get_document_info(self): ... ``` **Returns:** DocumentInfo: A DocumentInfo containing the detected `FileFormat`, `PageCount`, `Title`, `Author`, and `IsEncrypted` flag. ### get_document_info_async method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/get_document_info_async.md #### get_document_info_async Asynchronously retrieves metadata about the loaded document. ```python def get_document_info_async(self): ... ``` ### get_info method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/get_info.md #### get_info Returns metadata about a document (format, page count, title, author, encryption status) without performing a full conversion. ```python def get_info(cls, source_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | **Returns:** DocumentInfo: A `DocumentInfo` with the detected format, page count, and other metadata. | Raises | Description | | :- | :- | | `ValueError` | When `source_path` is None or empty. | | `NotImplementedError` | When the file format is not supported. | #### get_info Returns metadata about a document using the specified load options. Use this overload to supply a password when inspecting an encrypted document. ```python def get_info(cls, source_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | load_options | `LoadOptions` | Options for loading the document (password, format hint). May be None. | **Returns:** DocumentInfo: The detected format, page count, and other metadata. | Raises | Description | | :- | :- | | `ValueError` | When `source_path` is None or empty. | | `NotImplementedError` | When the file format is not supported. | ### get_info_async method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/get_info_async.md #### get_info_async Asynchronously retrieves metadata about the document at the specified path. ```python def get_info_async(cls, source_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | load_options | `LoadOptions` | Options for loading the document. May be None. | ### get_supported_formats method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/get_supported_formats.md #### get_supported_formats Returns the complete list of FileFormat values that can be converted to Markdown. Use this to check at runtime whether a particular format is supported before attempting conversion. ```python def get_supported_formats(cls): ... ``` **Returns:** list[FileFormat]: A read-only list of all supported FileFormat values. ### to_file method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/to_file.md #### to_file Converts a document to Markdown and saves the result directly to a file. ```python def to_file(cls, source_path, output_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document (e.g. `"report.pdf"`). | | output_path | `str` | The path where the Markdown file will be created or overwritten. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when the conversion fails. | | `ValueError` | Thrown when `source_path` is None or empty. | | `NotImplementedError` | Thrown when the file format is not supported. | #### to_file Converts a document to Markdown with the specified conversion options and saves the result to a file. ```python def to_file(cls, source_path, output_path, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | output_path | `str` | The path where the Markdown file will be created or overwritten. | | convert_options | `ConvertOptions` | Options that customize the conversion (image strategy, heading offset, page numbers). May be `None`. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when the conversion fails. | | `NotImplementedError` | Thrown when the file format is not supported. | #### to_file Converts a document to Markdown with the specified load and conversion options, saving the result to a file. ```python def to_file(cls, source_path, output_path, load_options, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | output_path | `str` | The path where the Markdown file will be created or overwritten. | | load_options | `LoadOptions` | Options for loading the document (password, format hint). May be None. | | convert_options | `ConvertOptions` | Options that customize the conversion. May be None. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when the conversion fails. | | `NotImplementedError` | Thrown when the file format is not supported. | ### to_file_async method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/to_file_async.md #### to_file_async Asynchronously converts the document and saves the result to a file. Both source reading and output writing are performed asynchronously. ```python def to_file_async(cls, source_path, output_path, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | output_path | `str` | The path where the Markdown file will be saved. | | convert_options | `ConvertOptions` | Options for the conversion. May be None. | | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when conversion fails. | ### to_markdown method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/to_markdown.md #### to_markdown Converts a document to Markdown in a single call and returns the Markdown string. ```python def to_markdown(cls, source_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document (e.g. `"report.docx"`). | **Returns:** str: The converted Markdown content as a UTF-8 string. | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when the conversion fails. | | `ValueError` | Thrown when `source_path` is None or empty. | | `NotImplementedError` | Thrown when the file format is not supported. | #### to_markdown Converts a document to Markdown using the specified load options and returns the Markdown string. Use this overload to supply a password for encrypted documents or to specify the file format explicitly. ```python def to_markdown(cls, source_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | load_options | `LoadOptions` | Options for loading the document (password, format hint). May be None. | **Returns:** str: The converted Markdown content as a UTF-8 string. | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when the conversion fails. | | `NotImplementedError` | Thrown when the file format is not supported. | #### to_markdown Converts a document to Markdown using the specified conversion options and returns the Markdown string. Use this overload to control image handling, heading offsets, or page selection. ```python def to_markdown(cls, source_path, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | convert_options | `ConvertOptions` | Options that customize the conversion (image strategy, heading offset, page numbers). May be None. | **Returns:** str: The converted Markdown content as a UTF-8 string. | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when the conversion fails. | | `NotImplementedError` | Thrown when the file format is not supported. | #### to_markdown Converts a document to Markdown using the specified load and conversion options, and returns the Markdown string. ```python def to_markdown(cls, source_path, load_options, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | load_options | `LoadOptions` | Options for loading the document (password, format hint). May be None. | | convert_options | `ConvertOptions` | Options that customize the conversion. May be None. | **Returns:** str: The converted Markdown content as a UTF-8 string. | Raises | Description | | :- | :- | | `NotImplementedError` | Thrown when the file format is not supported. | ### to_markdown_async method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownconverter/to_markdown_async.md #### to_markdown_async Asynchronously converts the document at the specified path to Markdown. File reading is performed asynchronously. ```python def to_markdown_async(cls, source_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | **Returns:** str: The converted Markdown content. | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when conversion fails. | #### to_markdown_async Asynchronously converts the document at the specified path to Markdown. ```python def to_markdown_async(cls, source_path, load_options, convert_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | source_path | `str` | The path to the source document. | | load_options | `LoadOptions` | Options for loading the document. May be None. | | convert_options | `ConvertOptions` | Options for the conversion. May be None. | **Returns:** str: The converted Markdown content. | Raises | Description | | :- | :- | | `GroupDocsMarkdownException` | Thrown when conversion fails. | ### MarkdownFlavor class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownflavor.md #### MarkdownFlavor class Specifies the target Markdown dialect for the conversion output. The MarkdownFlavor type exposes the following members: ##### Fields | Field | Description | | :- | :- | | GitHub | GitHub Flavored Markdown—supports tables, strikethrough, and task lists. | | CommonMark | Strict CommonMark output. | ### CommonMark field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownflavor/commonmark.md #### CommonMark field Strict CommonMark output. Tables are rendered as code blocks since CommonMark does not have native table syntax. ##### Value `1` ### GitHub field Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/markdownflavor/github.md #### GitHub field GitHub Flavored Markdown—supports tables, strikethrough, and task lists. This is the default. ##### Value `0` ### Metered class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/metered.md #### Metered class Manages metered (pay-per-use) licensing. Metered licenses bill on actual consumption (typically pages or documents processed). Set the public/private key pair once at application startup; the wrapper reports usage back to the GroupDocs license server in the background. The Metered type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_consumption_credit | Return the remaining metered credit for the current key. | | get_consumption_quantity | Return the total metered quantity consumed so far. | | set_metered_key | Activate metered billing with the given public/private key pair. | ### get_consumption_credit method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/metered/get_consumption_credit.md #### get_consumption_credit Return the remaining metered credit for the current key. ```python def get_consumption_credit(): ... ``` **Returns:** float: The remaining credit balance reported by the license server. ### get_consumption_quantity method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/metered/get_consumption_quantity.md #### get_consumption_quantity Return the total metered quantity consumed so far. ```python def get_consumption_quantity(): ... ``` **Returns:** float: The cumulative usage (typically in pages or documents) recorded against the current metered key. ### set_metered_key method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/metered/set_metered_key.md #### set_metered_key Activate metered billing with the given public/private key pair. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | | The public key half of the metered credentials. | | private_key | | The private key half of the metered credentials. | ### SkipImagesStrategy class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/skipimagesstrategy.md #### SkipImagesStrategy class Implements an image export strategy that skips saving images during document conversion. This strategy is useful when you want to convert a document to Markdown without saving the actual image files. When this strategy is used, the output Markdown will still contain image references (e.g., !), but the actual image files will not be saved to disk. The SkipImagesStrategy type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | get_image_stream | Returns None to indicate that the image should be skipped. | ##### Properties | Property | Description | | :- | :- | | images_folder | The images folder is an empty string because this strategy does not use an images folder. | ### __init__ constructor Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/skipimagesstrategy/__init__.md #### __init__ ```python def __init__(self): ... ``` ### get_image_stream method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/skipimagesstrategy/get_image_stream.md #### get_image_stream Returns None to indicate that the image should be skipped. ```python def get_image_stream(self, context): ... ``` | Parameter | Type | Description | | :- | :- | :- | | context | `ImageExportContext` | The image export context (not used in this implementation). | **Returns:** Always returns None to skip the image. ### images_folder property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/skipimagesstrategy/images_folder.md #### images_folder property The images folder is an empty string because this strategy does not use an images folder. An empty string since no images are exported. ##### Definition: ```python @property def images_folder(self): ... ``` ### UriExportContext class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/uriexportcontext.md #### UriExportContext class Contains information about a resource URI being written during conversion and is passed to `IUriExportStrategy.update_resource_uri`. Read the default values from `UriExportContext.resource_file_name` and `UriExportContext.resource_file_uri`, then call `UriExportContext.set_resource_file_name` or `UriExportContext.set_resource_file_uri` to override them. The UriExportContext type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_resource_file_name | Overrides the resource file name in the Markdown output. | | set_resource_file_uri | Overrides the URI that will appear in the Markdown output. | ##### Properties | Property | Description | | :- | :- | | resource_file_name | The default resource file name generated by the library. | | resource_file_name_output | The overridden file name, or None if no override was set. | | resource_file_uri | The default URI that the library would write into the Markdown output. | | resource_file_uri_output | The overridden URI, or None if no override was set. | ### resource_file_name property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/uriexportcontext/resource_file_name.md #### resource_file_name property The default resource file name generated by the library. ##### Definition: ```python @property def resource_file_name(self): ... ``` ### resource_file_name_output property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/uriexportcontext/resource_file_name_output.md #### resource_file_name_output property The overridden file name, or None if no override was set. ##### Definition: ```python @property def resource_file_name_output(self): ... ``` ### resource_file_uri property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/uriexportcontext/resource_file_uri.md #### resource_file_uri property The default URI that the library would write into the Markdown output. ##### Definition: ```python @property def resource_file_uri(self): ... ``` ### resource_file_uri_output property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/uriexportcontext/resource_file_uri_output.md #### resource_file_uri_output property The overridden URI, or None if no override was set. ##### Definition: ```python @property def resource_file_uri_output(self): ... ``` ### set_resource_file_name method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/uriexportcontext/set_resource_file_name.md #### set_resource_file_name Overrides the resource file name in the Markdown output. ```python def set_resource_file_name(self, resource_file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | resource_file_name | `str` | The new file name. | ### set_resource_file_uri method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/uriexportcontext/set_resource_file_uri.md #### set_resource_file_uri Overrides the URI that will appear in the Markdown output. ```python def set_resource_file_uri(self, resource_file_uri): ... ``` | Parameter | Type | Description | | :- | :- | :- | | resource_file_uri | `str` | The new URI (for example, a CDN URL). | ### UriSavingArgs class Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/urisavingargs.md #### UriSavingArgs class Provides information and controls for customizing how a resource URI is written during document-to-Markdown conversion. Call `UriSavingArgs.set_resource_file_uri` to change the URI that appears in the Markdown output. If no override is set, the library uses the default `UriSavingArgs.resource_file_uri`. The UriSavingArgs type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_resource_file_uri | Overrides the URI that will be written to the Markdown output for this resource. | ##### Properties | Property | Description | | :- | :- | | resource_file_name | The default file name (without path) generated by the library for this resource. | | resource_file_name_output | The overridden file name set by the caller, or None if no override was specified. | | resource_file_uri | The default resource URI that the library would write into the Markdown output. | | resource_file_uri_output | The overridden URI set by `UriSavingArgs.set_resource_file_uri`, or `None` if no override was specified. | ### resource_file_name property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/urisavingargs/resource_file_name.md #### resource_file_name property The default file name (without path) generated by the library for this resource. ##### Definition: ```python @property def resource_file_name(self): ... ``` ### resource_file_name_output property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/urisavingargs/resource_file_name_output.md #### resource_file_name_output property The overridden file name set by the caller, or None if no override was specified. ##### Definition: ```python @property def resource_file_name_output(self): ... ``` ### resource_file_uri property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/urisavingargs/resource_file_uri.md #### resource_file_uri property The default resource URI that the library would write into the Markdown output. ##### Definition: ```python @property def resource_file_uri(self): ... ``` ### resource_file_uri_output property Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/urisavingargs/resource_file_uri_output.md #### resource_file_uri_output property The overridden URI set by `UriSavingArgs.set_resource_file_uri`, or `None` if no override was specified. ##### Definition: ```python @property def resource_file_uri_output(self): ... ``` ### set_resource_file_uri method Path: https://reference.groupdocs.com/markdown/python-net/groupdocs.markdown/urisavingargs/set_resource_file_uri.md #### set_resource_file_uri Overrides the URI that will be written to the Markdown output for this resource. ```python def set_resource_file_uri(self, resource_file_uri): ... ``` | Parameter | Type | Description | | :- | :- | :- | | resource_file_uri | `str` | The new URI to use (for example, a CDN URL or an absolute path). | # GroupDocs.Merger > Merge, split, reorder, rotate, and manage pages across document formats. ## Java ### GroupDocs.Merger for Java Path: https://reference.groupdocs.com/merger/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.merger | The **com.groupdocs.merger** namespace provides classes which allow you to merge documents and manipulate document structure (split single document to multiple documents, reorder or replace document pages, change page orientation, manage document password and perform other manipulations) across wide range of supported document types - PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, ODT, ODS, ODP, HTML, EPUB and many others.. | | com.groupdocs.merger.domain | The **com.groupdocs.merger.domain** namespace provides classes for working with document structure. | | com.groupdocs.merger.domain.builders | The **com.groupdocs.merger.domain.builders** namespace provides builders. | | com.groupdocs.merger.domain.common | The **com.groupdocs.merger.domain.common** namespace provides common delegates. | | com.groupdocs.merger.domain.options | The **com.groupdocs.merger.domain.options** namespace provides classes to specify additional options when loading, joining, splitting, previewing and saving documents. | | com.groupdocs.merger.domain.options.interfaces | The **com.groupdocs.merger.domain.options.interfaces** namespace provides classes for working with Interfaces. | | com.groupdocs.merger.domain.result | The **com.groupdocs.merger.domain.result** namespace provides classes which represent document results. | | com.groupdocs.merger.exceptions | The **com.groupdocs.merger.exceptions** namespace provides classes for exceptions which can occur while working with a document. | | com.groupdocs.merger.licensing | The **com.groupdocs.merger.licensing** namespace provides methods to license the component. | | com.groupdocs.merger.licensing.metered | The **com.groupdocs.merger.licensing.metered** namespace provides methods to set metered key. | | com.groupdocs.merger.logging | The **com.groupdocs.merger.logging** namespace provides classes for customizing logging behaviour. | ### com.groupdocs.merger.domain.builders Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.builders.md The **com.groupdocs.merger.domain.builders** namespace provides builders. #### Classes | Class | Description | | --- | --- | | PageBuilder | PageInfo builder for getting the page collection from the documents. | ### PageBuilder Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.builders/pagebuilder.md **Inheritance:** java.lang.Object ``` public class PageBuilder ``` PageInfo builder for getting the page collection from the documents. #### Constructors | Constructor | Description | | --- | --- | | PageBuilder() | Initializes a new instance of the PageBuilder class. | | PageBuilder(PageBuilderOptions options) | Initializes a new instance of the PageBuilder class. | #### Methods | Method | Description | | --- | --- | | getOptions() | The page builder options. | | getPages() | The page collection. | | getDocuments() | The document collection. | | addDocument(int index, InputStream stream, FileType fileType, String password) | Add document to the document collection. | | addDocument(DocumentInfo document) | Add document to the document collection. | | addPage(int documentIndex, int pageNumber) | Add page to the page collection. | | addPage(IPageInfo page) | Add page to the page collection. | | addPageRange(IPageInfo[] pages) | Add pages to the page collection. | | clear() | Clear the internal collections. | ##### PageBuilder() ``` public PageBuilder() ``` Initializes a new instance of the PageBuilder class. ##### PageBuilder(PageBuilderOptions options) ``` public PageBuilder(PageBuilderOptions options) ``` Initializes a new instance of the PageBuilder class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | PageBuilderOptions | The page builder options. | ##### getOptions() ``` public final PageBuilderOptions getOptions() ``` The page builder options. **Returns:** PageBuilderOptions ##### getPages() ``` public final List getPages() ``` The page collection. **Returns:** java.util.List ##### getDocuments() ``` public final Map getDocuments() ``` The document collection. **Returns:** java.util.Map ##### addDocument(int index, InputStream stream, FileType fileType, String password) ``` public final void addDocument(int index, InputStream stream, FileType fileType, String password) ``` Add document to the document collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | DocumentInfo index. | | stream | java.io.InputStream | DocumentInfo stream. | | fileType | FileType | DocumentInfo type. | | password | java.lang.String | DocumentInfo password. | ##### addDocument(DocumentInfo document) ``` public final void addDocument(DocumentInfo document) ``` Add document to the document collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | DocumentInfo | DocumentInfo instance. | ##### addPage(int documentIndex, int pageNumber) ``` public final void addPage(int documentIndex, int pageNumber) ``` Add page to the page collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentIndex | int | DocumentInfo index. | | pageNumber | int | PageInfo number. | ##### addPage(IPageInfo page) ``` public final void addPage(IPageInfo page) ``` Add page to the page collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | page | IPageInfo | PageInfo instance. | ##### addPageRange(IPageInfo[] pages) ``` public final void addPageRange(IPageInfo[] pages) ``` Add pages to the page collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pages | IPageInfo\[\] | Pages array. | ##### clear() ``` public final void clear() ``` Clear the internal collections. ### com.groupdocs.merger.domain.common Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.common.md The **com.groupdocs.merger.domain.common** namespace provides common delegates. #### Interfaces | Interface | Description | | --- | --- | | PageStreamFactory | Interface that defines method to create output page preview stream. | | SplitStreamFactory | Interface that defines method to create output split stream. | ### PageStreamFactory Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.common/pagestreamfactory.md ### SplitStreamFactory Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.common/splitstreamfactory.md ### com.groupdocs.merger.domain.options.interfaces Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces.md The **com.groupdocs.merger.domain.options.interfaces** namespace provides classes for working with Interfaces. #### Interfaces | Interface | Description | | --- | --- | | IAddPasswordOptions | Interface for the password adding options. | | IExtractOptions | Interface for options to extract the document pages. | | IImageJoinOptions | Interface for the image joining options. | | IImportDocumentOptions | Interface for import of the embedded document. | | IJoinOptions | Interface for the document joining options. | | ILoadOptions | Interface for the document loading options. | | IMoveOptions | Interface for the moving page options. | | IOleDiagramOptions | Interface for import options of the embedded document to Diagram via OLE. | | IOlePresentationOptions | Interface for import options of the embedded document to Presentation via OLE. | | IOleSpreadsheetOptions | Interface for import options of the embedded document to Spreadsheet via OLE. | | IOleWordProcessingOptions | Interface for import options of the embedded document to Word processing via OLE. | | IOptions | Interface for the base options. | | IOrientationOptions | Interface for the page orientation options. | | IPageBuilderOptions | Interface for the page builder options | | IPageJoinOptions | Interface for the document page joining options. | | IPageOptions | Interface for the page options | | IPager | Interface for apply option (pages, range and etc.) | | IPdfAttachmentOptions | Interface for options of the embedded document to PDF as attachment. | | IPreviewOptions | Interface for the preview options. | | IRemoveOptions | Interface for the page removing options. | | IRotateOptions | Interface for the page rotating options. | | ISaveOptions | Interface for the document saving options. | | ISizeOptions | Interface for adding embedded object. | | ISplitOptions | Interface for the splitting options. | | ISwapOptions | Interface for the page swapping options. | | ITextSplitOptions | Interface for the text splitting options. | | IUpdatePasswordOptions | Interface for the password updating options. | ### IAddPasswordOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iaddpasswordoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IAddPasswordOptions extends IOptions ``` Interface for the password adding options. #### Methods | Method | Description | | --- | --- | | getPassword() | The password for document protection. | ##### getPassword() ``` public abstract String getPassword() ``` The password for document protection. **Returns:** java.lang.String ### IExtractOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iextractoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IExtractOptions extends IPageOptions ``` Interface for options to extract the document pages. ### IImageJoinOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iimagejoinoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IJoinOptions ``` public interface IImageJoinOptions extends IJoinOptions ``` Interface for the image joining options. #### Methods | Method | Description | | --- | --- | | getMode() | The image join mode. | ##### getMode() ``` public abstract int getMode() ``` The image join mode. **Returns:** int ### IImportDocumentOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iimportdocumentoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IImportDocumentOptions extends IOptions ``` Interface for import of the embedded document. #### Methods | Method | Description | | --- | --- | | getObjectData() | The data of the embedded object. | | getExtension() | The extension of the embedded object. | | getPageNumber() | The page number for inserting of the embedded object. | ##### getObjectData() ``` public abstract byte[] getObjectData() ``` The data of the embedded object. **Returns:** byte[] ##### getExtension() ``` public abstract String getExtension() ``` The extension of the embedded object. **Returns:** java.lang.String ##### getPageNumber() ``` public abstract int getPageNumber() ``` The page number for inserting of the embedded object. **Returns:** int ### IJoinOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ijoinoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IJoinOptions extends IOptions ``` Interface for the document joining options. #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to join. | ##### getType() ``` public abstract FileType getType() ``` The type of the file to join. **Returns:** FileType ### ILoadOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iloadoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ILoadOptions extends IOptions ``` Interface for the document loading options. #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to open. | | getPassword() | The password for opening password-protected file. | | getExtension() | The extension of the file to open. | | getEncoding() | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### getType() ``` public abstract FileType getType() ``` The type of the file to open. **Returns:** FileType ##### getPassword() ``` public abstract String getPassword() ``` The password for opening password-protected file. **Returns:** java.lang.String ##### getExtension() ``` public abstract String getExtension() ``` The extension of the file to open. **Returns:** java.lang.String ##### getEncoding() ``` public abstract Charset getEncoding() ``` The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. Default value is [DefaultCharset][]. [DefaultCharset]: https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#defaultCharset%28%29 **Returns:** java.nio.charset.Charset ### IMoveOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/imoveoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IMoveOptions extends IOptions ``` Interface for the moving page options. #### Methods | Method | Description | | --- | --- | | getPageNumberToMove() | Gets or sets the page number to move. | | getNewPageNumber() | Gets or sets the new page number. | ##### getPageNumberToMove() ``` public abstract int getPageNumberToMove() ``` Gets or sets the page number to move. Value: The page number to move. **Returns:** int ##### getNewPageNumber() ``` public abstract int getNewPageNumber() ``` Gets or sets the new page number. Value: The new page number. **Returns:** int ### IOleDiagramOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iolediagramoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOleDiagramOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Diagram via OLE. #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setX(int value) | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getY() | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setY(int value) | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getImageData() | The image data of the embedded object. | ##### getX() ``` public abstract int getX() ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setX(int value) ``` public abstract void setX(int value) ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public abstract int getY() ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setY(int value) ``` public abstract void setY(int value) ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public abstract byte[] getImageData() ``` The image data of the embedded object. **Returns:** byte[] ### IOlePresentationOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iolepresentationoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOlePresentationOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Presentation via OLE. #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object frame. | | setX(int value) | The X coordinate of the embedded object frame. | | getY() | The Y coordinate of the embedded object frame. | | setY(int value) | The Y coordinate of the embedded object frame. | ##### getX() ``` public abstract int getX() ``` The X coordinate of the embedded object frame. **Returns:** int ##### setX(int value) ``` public abstract void setX(int value) ``` The X coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public abstract int getY() ``` The Y coordinate of the embedded object frame. **Returns:** int ##### setY(int value) ``` public abstract void setY(int value) ``` The Y coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### IOleSpreadsheetOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iolespreadsheetoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOleSpreadsheetOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Spreadsheet via OLE. #### Methods | Method | Description | | --- | --- | | getRowIndex() | The upper left row index. | | setRowIndex(int value) | The upper left row index. | | getColumnIndex() | The upper left column index. | | setColumnIndex(int value) | The upper left column index. | | getImageData() | The data of the Ole object image. | ##### getRowIndex() ``` public abstract int getRowIndex() ``` The upper left row index. **Returns:** int ##### setRowIndex(int value) ``` public abstract void setRowIndex(int value) ``` The upper left row index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getColumnIndex() ``` public abstract int getColumnIndex() ``` The upper left column index. **Returns:** int ##### setColumnIndex(int value) ``` public abstract void setColumnIndex(int value) ``` The upper left column index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public abstract byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### IOleWordProcessingOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iolewordprocessingoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOleWordProcessingOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Word processing via OLE. #### Methods | Method | Description | | --- | --- | | getLeft() | The left coordinate of the Ole object image. | | setLeft(int value) | The left coordinate of the Ole object image. | | getTop() | The top coordinate of the Ole object image. | | setTop(int value) | The top coordinate of the Ole object image. | | getImageData() | The data of the Ole object image. | ##### getLeft() ``` public abstract int getLeft() ``` The left coordinate of the Ole object image. **Returns:** int ##### setLeft(int value) ``` public abstract void setLeft(int value) ``` The left coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTop() ``` public abstract int getTop() ``` The top coordinate of the Ole object image. **Returns:** int ##### setTop(int value) ``` public abstract void setTop(int value) ``` The top coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public abstract byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### IOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ioptions.md ### IOrientationOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iorientationoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IOrientationOptions extends IPageOptions ``` Interface for the page orientation options. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for the page orientation. | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for the page orientation. **Returns:** int ### IPageBuilderOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ipagebuilderoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IPageBuilderOptions extends IOptions ``` Interface for the page builder options #### Methods | Method | Description | | --- | --- | | getLoadDocumentInfo() | Specifies if each document info should load all its pages info. | | setLoadDocumentInfo(boolean value) | Specifies if each document info should load all its pages info. | ##### getLoadDocumentInfo() ``` public abstract boolean getLoadDocumentInfo() ``` Specifies if each document info should load all its pages info. **Returns:** boolean ##### setLoadDocumentInfo(boolean value) ``` public abstract void setLoadDocumentInfo(boolean value) ``` Specifies if each document info should load all its pages info. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### IPageJoinOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ipagejoinoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions, com.groupdocs.merger.domain.options.interfaces.IJoinOptions ``` public interface IPageJoinOptions extends IPageOptions, IJoinOptions ``` Interface for the document page joining options. ### IPageOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ipageoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IPageOptions extends IOptions ``` Interface for the page options #### Methods | Method | Description | | --- | --- | | getPages() | Page numbers for the page options. | ##### getPages() ``` public abstract int[] getPages() ``` Page numbers for the page options. **Returns:** int[] ### IPager Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ipager.md ### IPdfAttachmentOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ipdfattachmentoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions ``` public interface IPdfAttachmentOptions extends IImportDocumentOptions ``` Interface for options of the embedded document to PDF as attachment. ### IPreviewOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/ipreviewoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IPreviewOptions extends IPageOptions ``` Interface for the preview options. #### Methods | Method | Description | | --- | --- | | getWidth() | Preview width. | | setWidth(int value) | Preview width. | | getHeight() | Preview height. | | setHeight(int value) | Preview height. | | getResolution() | Image resolution. | | setResolution(int value) | Image resolution. | | getMode() | Gets the mode for preview. | | validate(FileType fileType) | Validates the split options. | | getPathByPageNumber(int pageNumber, String extension) | Gets the full file path of previewed document by page number with defined extension. | | getPageStreamFactory() | Delegate that defines method to create output page preview stream. | ##### getWidth() ``` public abstract int getWidth() ``` Preview width. **Returns:** int ##### setWidth(int value) ``` public abstract void setWidth(int value) ``` Preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public abstract int getHeight() ``` Preview height. **Returns:** int ##### setHeight(int value) ``` public abstract void setHeight(int value) ``` Preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getResolution() ``` public abstract int getResolution() ``` Image resolution. **Returns:** int ##### setResolution(int value) ``` public abstract void setResolution(int value) ``` Image resolution. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for preview. **Returns:** int ##### validate(FileType fileType) ``` public abstract void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByPageNumber(int pageNumber, String extension) ``` public abstract String getPathByPageNumber(int pageNumber, String extension) ``` Gets the full file path of previewed document by page number with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | Page number of preview. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getPageStreamFactory() ``` public abstract PageStreamFactory getPageStreamFactory() ``` Delegate that defines method to create output page preview stream. **Returns:** PageStreamFactory ### IRemoveOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iremoveoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IRemoveOptions extends IPageOptions ``` Interface for the page removing options. ### IRotateOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/irotateoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IRotateOptions extends IPageOptions ``` Interface for the page rotating options. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for rotating (90, 180 or 270 degrees). | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for rotating (90, 180 or 270 degrees). **Returns:** int ### ISaveOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/isaveoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ISaveOptions extends IOptions ``` Interface for the document saving options. #### Methods | Method | Description | | --- | --- | | getType() | File type. | ##### getType() ``` public abstract FileType getType() ``` File type. **Returns:** FileType ### ISizeOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/isizeoptions.md ### ISplitOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/isplitoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface ISplitOptions extends IPageOptions ``` Interface for the splitting options. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for page splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with defined extension. | | getSplitStreamFactory() | Delegate that defines method to create output split stream. | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for page splitting. **Returns:** int ##### validate(FileType fileType) ``` public abstract void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public abstract String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public abstract SplitStreamFactory getSplitStreamFactory() ``` Delegate that defines method to create output split stream. **Returns:** SplitStreamFactory ### ISwapOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iswapoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ISwapOptions extends IOptions ``` Interface for the page swapping options. #### Methods | Method | Description | | --- | --- | | getFirstPageNumber() | First page number to exchange. | | getSecondPageNumber() | Second page number to exchange. | ##### getFirstPageNumber() ``` public abstract int getFirstPageNumber() ``` First page number to exchange. **Returns:** int ##### getSecondPageNumber() ``` public abstract int getSecondPageNumber() ``` Second page number to exchange. **Returns:** int ### ITextSplitOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/itextsplitoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ITextSplitOptions extends IOptions ``` Interface for the text splitting options. #### Methods | Method | Description | | --- | --- | | getLineNumbers() | Line numbers for text splitting. | | getMode() | Mode for text splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with defined extension. | | getSplitStreamFactory() | Delegate that defines method to create output split stream. | ##### getLineNumbers() ``` public abstract int[] getLineNumbers() ``` Line numbers for text splitting. **Returns:** int[] ##### getMode() ``` public abstract int getMode() ``` Mode for text splitting. **Returns:** int ##### validate(FileType fileType) ``` public abstract void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public abstract String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public abstract SplitStreamFactory getSplitStreamFactory() ``` Delegate that defines method to create output split stream. **Returns:** SplitStreamFactory ### IUpdatePasswordOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.interfaces/iupdatepasswordoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IUpdatePasswordOptions extends IOptions ``` Interface for the password updating options. #### Methods | Method | Description | | --- | --- | | getNewPassword() | The new password for document protection. | ##### getNewPassword() ``` public abstract String getNewPassword() ``` The new password for document protection. **Returns:** java.lang.String ### com.groupdocs.merger.domain.options Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options.md The **com.groupdocs.merger.domain.options** namespace provides classes to specify additional options when loading, joining, splitting, previewing and saving documents. #### Classes | Class | Description | | --- | --- | | AddPasswordOptions | Provides options for adding document password. | | ExtractOptions | Provides options to extract the document pages. | | ImageJoinMode | Possible modes for the image joining. | | ImageJoinOptions | The image join options. | | ImportDocumentOptions | Provides options for the embedded document import. | | JoinOptions | Provides options for the document joining. | | LoadOptions | Provides options for the document loading. | | MoveOptions | Provides options for moving document page. | | OleDiagramOptions | Provides options for import of the embedded document to Diagram via OLE. | | OlePresentationOptions | Provides options for import of the embedded document to Presentation via OLE. | | OleSpreadsheetOptions | Provides options for import of the embedded document to Spreadsheet via OLE. | | OleWordProcessingOptions | Provides options for import of the embedded document to Word processing via OLE. | | OrientationMode | Defines page orientation. | | OrientationOptions | Provides options for the page orientation. | | PageBuilderOptions | Provides options for specifying the page builder. | | PageJoinOptions | Provides options for the document joining. | | PageOptions | Provides options for specifying page or pages range. | | PdfAccessibilitySettings | Provides Pdf Accessibility settings for the document saving. | | PdfAttachmentOptions | Provides options to attach the embedded object to Pdf. | | PdfSaveOptions | Provides additional Pdf options for the document saving. | | PreviewMode | Provides modes for the page previewing. | | PreviewOptions | Represents document preview options. | | RangeMode | Possible modes for the page ranging. | | RemoveOptions | Provides options for the page removing. | | RotateMode | Possible modes for the page rotation. | | RotateOptions | Provides options for the page rotation. | | SaveOptions | Provides options for the document saving. | | SplitMode | Defines page splitting modes. | | SplitOptions | Provides options for the document page splitting. | | SwapOptions | Provides options for swapping document pages. | | TextSplitMode | Possible text splitting modes. | | TextSplitOptions | Provides options for the document text splitting. | | UpdatePasswordOptions | Provides options for updating document password. | | WordJoinCompliance | Possible Compliance modes for the Word Ooxml formats such as .docx, .docm, .dotx, .dotm etc. | | WordJoinMode | Possible modes for the Word joining. | | WordJoinOptions | The Word join options. | ### AddPasswordOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/addpasswordoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IAddPasswordOptions ``` public class AddPasswordOptions implements IAddPasswordOptions ``` Provides options for adding document password. #### Constructors | Constructor | Description | | --- | --- | | AddPasswordOptions(String password) | Initializes a new instance of the AddPasswordOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | The password for document protection. | ##### AddPasswordOptions(String password) ``` public AddPasswordOptions(String password) ``` Initializes a new instance of the AddPasswordOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password. | ##### getPassword() ``` public final String getPassword() ``` The password for document protection. **Returns:** java.lang.String ### ExtractOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/extractoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IExtractOptions ``` public class ExtractOptions extends PageOptions implements IExtractOptions ``` Provides options to extract the document pages. #### Constructors | Constructor | Description | | --- | --- | | ExtractOptions() | Initializes a new instance of the ExtractOptions class. | | ExtractOptions(int[] pageNumbers) | Initializes a new instance of the ExtractOptions class. | | ExtractOptions(int startNumber, int endNumber) | Initializes a new instance of the ExtractOptions class. | | ExtractOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the ExtractOptions class. | ##### ExtractOptions() ``` public ExtractOptions() ``` Initializes a new instance of the ExtractOptions class. ##### ExtractOptions(int[] pageNumbers) ``` public ExtractOptions(int[] pageNumbers) ``` Initializes a new instance of the ExtractOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### ExtractOptions(int startNumber, int endNumber) ``` public ExtractOptions(int startNumber, int endNumber) ``` Initializes a new instance of the ExtractOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### ExtractOptions(int startNumber, int endNumber, int mode) ``` public ExtractOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the ExtractOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ### ImageJoinMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/imagejoinmode.md **Inheritance:** java.lang.Object ``` public final class ImageJoinMode ``` Possible modes for the image joining. #### Fields | Field | Description | | --- | --- | | Horizontal | Specifies Horizontal image joining. | | Vertical | Specifies Vertical image joining. | ##### Horizontal ``` public static final int Horizontal ``` Specifies Horizontal image joining. ##### Vertical ``` public static final int Vertical ``` Specifies Vertical image joining. ### ImageJoinOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/imagejoinoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImageJoinOptions ``` public class ImageJoinOptions implements IImageJoinOptions ``` The image join options. #### Constructors | Constructor | Description | | --- | --- | | ImageJoinOptions() | Initializes new instance of ImageJoinOptions class. | | ImageJoinOptions(FileType fileType) | Initializes new instance of ImageJoinOptions class. | | ImageJoinOptions(int imageJoinMode) | Initializes new instance of ImageJoinOptions class. | | ImageJoinOptions(FileType fileType, int imageJoinMode) | Initializes new instance of ImageJoinOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The image file type. | | getMode() | The image join mode. | ##### ImageJoinOptions() ``` public ImageJoinOptions() ``` Initializes new instance of ImageJoinOptions class. ##### ImageJoinOptions(FileType fileType) ``` public ImageJoinOptions(FileType fileType) ``` Initializes new instance of ImageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The image file type. | ##### ImageJoinOptions(int imageJoinMode) ``` public ImageJoinOptions(int imageJoinMode) ``` Initializes new instance of ImageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageJoinMode | int | The image join mode. | ##### ImageJoinOptions(FileType fileType, int imageJoinMode) ``` public ImageJoinOptions(FileType fileType, int imageJoinMode) ``` Initializes new instance of ImageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The image file type. | | imageJoinMode | int | The image join mode. | ##### getType() ``` public final FileType getType() ``` The image file type. **Returns:** FileType ##### getMode() ``` public final int getMode() ``` The image join mode. **Returns:** int ### ImportDocumentOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/importdocumentoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions ``` public abstract class ImportDocumentOptions implements IImportDocumentOptions ``` Provides options for the embedded document import. [How to add attachment to PDF document.]: https://docs.groupdocs.com/merger/java/how-to-add-attachment-to-pdf-document/ [Add document to Word processing via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-word-processing-via-ole/ [Add document to Presentation via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-presentation-via-ole/ [Add document to Spreadsheet via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-spreadsheet-via-ole/ [Add document to Diagram via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-diagram-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | ImportDocumentOptions(byte[] objectData, String extension, int pageNumber) | Initializes a new instance of the ImportDocumentOptions class. | | ImportDocumentOptions(String filePath, int pageNumber) | Initializes a new instance of the ImportDocumentOptions class. | #### Methods | Method | Description | | --- | --- | | getObjectData() | The data of the embedded object. | | getExtension() | The extension of the embedded object. | | getPageNumber() | The page number for inserting of the embedded object. | | getImageData(String filePath) | Gets image data of the embedded object. | ##### ImportDocumentOptions(byte[] objectData, String extension, int pageNumber) ``` public ImportDocumentOptions(byte[] objectData, String extension, int pageNumber) ``` Initializes a new instance of the ImportDocumentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### ImportDocumentOptions(String filePath, int pageNumber) ``` public ImportDocumentOptions(String filePath, int pageNumber) ``` Initializes a new instance of the ImportDocumentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getObjectData() ``` public final byte[] getObjectData() ``` The data of the embedded object. **Returns:** byte[] ##### getExtension() ``` public final String getExtension() ``` The extension of the embedded object. **Returns:** java.lang.String ##### getPageNumber() ``` public final int getPageNumber() ``` The page number for inserting of the embedded object. **Returns:** int ##### getImageData(String filePath) ``` public final byte[] getImageData(String filePath) ``` Gets image data of the embedded object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | **Returns:** byte[] ### JoinOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/joinoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IJoinOptions ``` public class JoinOptions implements IJoinOptions ``` Provides options for the document joining. #### Constructors | Constructor | Description | | --- | --- | | JoinOptions() | Initializes a new instance of the JoinOptions class. | | JoinOptions(FileType fileType) | Initializes a new instance of the JoinOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to join. | ##### JoinOptions() ``` public JoinOptions() ``` Initializes a new instance of the JoinOptions class. ##### JoinOptions(FileType fileType) ``` public JoinOptions(FileType fileType) ``` Initializes a new instance of the JoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | ##### getType() ``` public final FileType getType() ``` The type of the file to join. **Returns:** FileType ### LoadOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/loadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ILoadOptions ``` public class LoadOptions implements ILoadOptions ``` Provides options for the document loading. #### Constructors | Constructor | Description | | --- | --- | | LoadOptions(FileType fileType) | Initializes new instance of LoadOptions class. | | LoadOptions(String password) | Initializes new instance of LoadOptions class. | | LoadOptions(String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType fileType, String password) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType fileType, String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(String extension, FileType fileType, String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType iniFileType, FileType fileType, String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType iniFileType, FileType fileType, String password) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType iniFileType, FileType fileType) | Initializes new instance of LoadOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to load. | | getExtension() | The extension of the file to init. | | getPassword() | The password for opening password-protected file. | | getEncoding() | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType fileType) ``` public LoadOptions(FileType fileType) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | ##### LoadOptions(String password) ``` public LoadOptions(String password) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password for opening password-protected file. | ##### LoadOptions(String password, Charset encoding) ``` public LoadOptions(String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType fileType, String password) ``` public LoadOptions(FileType fileType, String password) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | ##### LoadOptions(FileType fileType, String password, Charset encoding) ``` public LoadOptions(FileType fileType, String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(String extension, FileType fileType, String password, Charset encoding) ``` public LoadOptions(String extension, FileType fileType, String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The extension of the file to load. | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType iniFileType, FileType fileType, String password, Charset encoding) ``` public LoadOptions(FileType iniFileType, FileType fileType, String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType iniFileType, FileType fileType, String password) ``` public LoadOptions(FileType iniFileType, FileType fileType, String password) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | ##### LoadOptions(FileType iniFileType, FileType fileType) ``` public LoadOptions(FileType iniFileType, FileType fileType) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | ##### getType() ``` public final FileType getType() ``` The type of the file to load. **Returns:** FileType ##### getExtension() ``` public final String getExtension() ``` The extension of the file to init. **Returns:** java.lang.String ##### getPassword() ``` public final String getPassword() ``` The password for opening password-protected file. **Returns:** java.lang.String ##### getEncoding() ``` public final Charset getEncoding() ``` The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. Default value is System.Text.Encoding.Default (java.nio.charset.Charset). **Returns:** java.nio.charset.Charset ### MoveOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/moveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IMoveOptions ``` public class MoveOptions implements IMoveOptions ``` Provides options for moving document page. #### Constructors | Constructor | Description | | --- | --- | | MoveOptions(int pageNumberToMove, int newPageNumber) | Initializes a new instance of the MoveOptions class. | #### Methods | Method | Description | | --- | --- | | getPageNumberToMove() | Gets or sets the page number to move. | | getNewPageNumber() | Gets or sets the new page number. | ##### MoveOptions(int pageNumberToMove, int newPageNumber) ``` public MoveOptions(int pageNumberToMove, int newPageNumber) ``` Initializes a new instance of the MoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumberToMove | int | The page number to move. | | newPageNumber | int | The new page number. | ##### getPageNumberToMove() ``` public final int getPageNumberToMove() ``` Gets or sets the page number to move. Value: The page number to move. **Returns:** int ##### getNewPageNumber() ``` public final int getNewPageNumber() ``` Gets or sets the new page number. Value: The new page number. **Returns:** int ### OleDiagramOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/olediagramoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions ``` public class OleDiagramOptions extends ImportDocumentOptions implements IOleDiagramOptions ``` Provides options for import of the embedded document to Diagram via OLE. [Add document to Diagram via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-diagram-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OleDiagramOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) | Initializes a new instance of the OleDiagramOptions class. | | OleDiagramOptions(String filePath, byte[] imageData, int pageNumber) | Initializes a new instance of the OleDiagramOptions class. | | OleDiagramOptions(String filePath, int pageNumber) | Initializes a new instance of the OleDiagramOptions class. | #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setX(int value) | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getY() | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setY(int value) | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getWidth() | The width of the embedded object shape in inches. | | setWidth(int value) | The width of the embedded object shape in inches. | | getHeight() | The height of the embedded object shape in inches. | | setHeight(int value) | The height of the embedded object shape in inches. | | getImageData() | The image data of the embedded object. | ##### OleDiagramOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` public OleDiagramOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` Initializes a new instance of the OleDiagramOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleDiagramOptions(String filePath, byte[] imageData, int pageNumber) ``` public OleDiagramOptions(String filePath, byte[] imageData, int pageNumber) ``` Initializes a new instance of the OleDiagramOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleDiagramOptions(String filePath, int pageNumber) ``` public OleDiagramOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OleDiagramOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getX() ``` public final int getX() ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setX(int value) ``` public final void setX(int value) ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public final int getY() ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setY(int value) ``` public final void setY(int value) ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the embedded object shape in inches. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the embedded object shape in inches. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the embedded object shape in inches. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the embedded object shape in inches. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public final byte[] getImageData() ``` The image data of the embedded object. **Returns:** byte[] ### OlePresentationOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/olepresentationoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOlePresentationOptions ``` public class OlePresentationOptions extends ImportDocumentOptions implements IOlePresentationOptions ``` Provides options for import of the embedded document to Presentation via OLE. [Add document to Presentation via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-presentation-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OlePresentationOptions(byte[] objectData, String extension, int pageNumber) | Initializes a new instance of the OlePresentationOptions class. | | OlePresentationOptions(String filePath, int pageNumber) | Initializes a new instance of the OlePresentationOptions class. | #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object frame. | | setX(int value) | The X coordinate of the embedded object frame. | | getY() | The Y coordinate of the embedded object frame. | | setY(int value) | The Y coordinate of the embedded object frame. | | getWidth() | The width of the embedded object frame. | | setWidth(int value) | The width of the embedded object frame. | | getHeight() | The height of the embedded object frame. | | setHeight(int value) | The height of the embedded object frame. | ##### OlePresentationOptions(byte[] objectData, String extension, int pageNumber) ``` public OlePresentationOptions(byte[] objectData, String extension, int pageNumber) ``` Initializes a new instance of the OlePresentationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OlePresentationOptions(String filePath, int pageNumber) ``` public OlePresentationOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OlePresentationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getX() ``` public final int getX() ``` The X coordinate of the embedded object frame. **Returns:** int ##### setX(int value) ``` public final void setX(int value) ``` The X coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public final int getY() ``` The Y coordinate of the embedded object frame. **Returns:** int ##### setY(int value) ``` public final void setY(int value) ``` The Y coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the embedded object frame. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the embedded object frame. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### OleSpreadsheetOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/olespreadsheetoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOleSpreadsheetOptions ``` public class OleSpreadsheetOptions extends ImportDocumentOptions implements IOleSpreadsheetOptions ``` Provides options for import of the embedded document to Spreadsheet via OLE. [Add document to Spreadsheet via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-spreadsheet-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) | Initializes a new instance of the OleSpreadsheetOptions class. | | OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber) | Initializes a new instance of the OleSpreadsheetOptions class. | | OleSpreadsheetOptions(String filePath, int pageNumber) | Initializes a new instance of the OleSpreadsheetOptions class. | #### Methods | Method | Description | | --- | --- | | getRowIndex() | The upper left row index. | | setRowIndex(int value) | The upper left row index. | | getColumnIndex() | The upper left column index. | | setColumnIndex(int value) | The upper left column index. | | getWidth() | The width of the Ole object image. | | setWidth(int value) | The width of the Ole object image. | | getHeight() | The height of the Ole object image. | | setHeight(int value) | The height of the Ole object image. | | getImageData() | The data of the Ole object image. | ##### OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` public OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` Initializes a new instance of the OleSpreadsheetOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber) ``` public OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber) ``` Initializes a new instance of the OleSpreadsheetOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleSpreadsheetOptions(String filePath, int pageNumber) ``` public OleSpreadsheetOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OleSpreadsheetOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getRowIndex() ``` public final int getRowIndex() ``` The upper left row index. **Returns:** int ##### setRowIndex(int value) ``` public final void setRowIndex(int value) ``` The upper left row index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getColumnIndex() ``` public final int getColumnIndex() ``` The upper left column index. **Returns:** int ##### setColumnIndex(int value) ``` public final void setColumnIndex(int value) ``` The upper left column index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the Ole object image. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the Ole object image. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public final byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### OleWordProcessingOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/olewordprocessingoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOleWordProcessingOptions ``` public class OleWordProcessingOptions extends ImportDocumentOptions implements IOleWordProcessingOptions ``` Provides options for import of the embedded document to Word processing via OLE. [Add document to Word processing via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-word-processing-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. | | OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. | | OleWordProcessingOptions(String filePath, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. | #### Methods | Method | Description | | --- | --- | | getLeft() | The left coordinate of the Ole object image. | | setLeft(int value) | The left coordinate of the Ole object image. | | getTop() | The top coordinate of the Ole object image. | | setTop(int value) | The top coordinate of the Ole object image. | | getWidth() | The width of the Ole object image. | | setWidth(int value) | The width of the Ole object image. | | getHeight() | The height of the Ole object image. | | setHeight(int value) | The height of the Ole object image. | | getImageData() | The data of the Ole object image. | ##### OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` public OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` Initializes a new instance of the OleWordProcessingOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) ``` public OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) ``` Initializes a new instance of the OleWordProcessingOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleWordProcessingOptions(String filePath, int pageNumber) ``` public OleWordProcessingOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OleWordProcessingOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getLeft() ``` public final int getLeft() ``` The left coordinate of the Ole object image. **Returns:** int ##### setLeft(int value) ``` public final void setLeft(int value) ``` The left coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTop() ``` public final int getTop() ``` The top coordinate of the Ole object image. **Returns:** int ##### setTop(int value) ``` public final void setTop(int value) ``` The top coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the Ole object image. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the Ole object image. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public final byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### OrientationMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/orientationmode.md **Inheritance:** java.lang.Object ``` public final class OrientationMode ``` Defines page orientation. #### Fields | Field | Description | | --- | --- | | Portrait | Portrait page mode. | | Landscape | Landscape page mode. | ##### Portrait ``` public static final int Portrait ``` Portrait page mode. ##### Landscape ``` public static final int Landscape ``` Landscape page mode. ### OrientationOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/orientationoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOrientationOptions ``` public class OrientationOptions extends PageOptions implements IOrientationOptions ``` Provides options for the page orientation. #### Constructors | Constructor | Description | | --- | --- | | OrientationOptions(int orientationMode) | Initializes a new instance of the OrientationOptions class. | | OrientationOptions(int orientationMode, int[] pageNumbers) | Initializes a new instance of the OrientationOptions class. | | OrientationOptions(int orientationMode, int startNumber, int endNumber) | Initializes a new instance of the OrientationOptions class. | | OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the OrientationOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for the page orientation. | ##### OrientationOptions(int orientationMode) ``` public OrientationOptions(int orientationMode) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | ##### OrientationOptions(int orientationMode, int[] pageNumbers) ``` public OrientationOptions(int orientationMode, int[] pageNumbers) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | | pageNumbers | int[] | Page numbers. | ##### OrientationOptions(int orientationMode, int startNumber, int endNumber) ``` public OrientationOptions(int orientationMode, int startNumber, int endNumber) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode) ``` public OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` Gets the mode for the page orientation. **Returns:** int ### PageBuilderOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/pagebuilderoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageBuilderOptions ``` public class PageBuilderOptions implements IPageBuilderOptions ``` Provides options for specifying the page builder. #### Constructors | Constructor | Description | | --- | --- | | PageBuilderOptions() | Initializes a new instance of the PageBuilderOptions class. | #### Methods | Method | Description | | --- | --- | | getLoadDocumentInfo() | Specifies if each document info should load all its pages info. | | setLoadDocumentInfo(boolean value) | Specifies if each document info should load all its pages info. | ##### PageBuilderOptions() ``` public PageBuilderOptions() ``` Initializes a new instance of the PageBuilderOptions class. ##### getLoadDocumentInfo() ``` public final boolean getLoadDocumentInfo() ``` Specifies if each document info should load all its pages info. **Returns:** boolean ##### setLoadDocumentInfo(boolean value) ``` public final void setLoadDocumentInfo(boolean value) ``` Specifies if each document info should load all its pages info. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PageJoinOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/pagejoinoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageJoinOptions ``` public class PageJoinOptions extends PageOptions implements IPageJoinOptions ``` Provides options for the document joining. #### Constructors | Constructor | Description | | --- | --- | | PageJoinOptions() | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(int[] pageNumbers) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(int startNumber, int endNumber) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType, int[] pageNumbers) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType, int startNumber, int endNumber) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) | Initializes a new instance of the PageJoinOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to join. | ##### PageJoinOptions() ``` public PageJoinOptions() ``` Initializes a new instance of the PageJoinOptions class. ##### PageJoinOptions(int[] pageNumbers) ``` public PageJoinOptions(int[] pageNumbers) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### PageJoinOptions(int startNumber, int endNumber) ``` public PageJoinOptions(int startNumber, int endNumber) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### PageJoinOptions(int startNumber, int endNumber, int mode) ``` public PageJoinOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### PageJoinOptions(FileType fileType) ``` public PageJoinOptions(FileType fileType) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | ##### PageJoinOptions(FileType fileType, int[] pageNumbers) ``` public PageJoinOptions(FileType fileType, int[] pageNumbers) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | pageNumbers | int[] | Page numbers. | ##### PageJoinOptions(FileType fileType, int startNumber, int endNumber) ``` public PageJoinOptions(FileType fileType, int startNumber, int endNumber) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### PageJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` public PageJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getType() ``` public final FileType getType() ``` The type of the file to join. **Returns:** FileType ### PageOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/pageoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public abstract class PageOptions implements IPageOptions ``` Provides options for specifying page or pages range. #### Methods | Method | Description | | --- | --- | | pages() | Get page numbers collection. | ##### pages() ``` public final int[] pages() ``` Get page numbers collection. **Returns:** int[] ### PdfAccessibilitySettings Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/pdfaccessibilitysettings.md **Inheritance:** java.lang.Object ``` public class PdfAccessibilitySettings ``` Provides Pdf Accessibility settings for the document saving. #### Constructors | Constructor | Description | | --- | --- | | PdfAccessibilitySettings() | | #### Methods | Method | Description | | --- | --- | | isEnableAutoTagging() | | | setEnableAutoTagging(boolean enableAutoTagging) | | ##### PdfAccessibilitySettings() ``` public PdfAccessibilitySettings() ``` ##### isEnableAutoTagging() ``` public boolean isEnableAutoTagging() ``` **Returns:** boolean ##### setEnableAutoTagging(boolean enableAutoTagging) ``` public void setEnableAutoTagging(boolean enableAutoTagging) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | enableAutoTagging | boolean | | ### PdfAttachmentOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/pdfattachmentoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPdfAttachmentOptions ``` public class PdfAttachmentOptions extends ImportDocumentOptions implements IPdfAttachmentOptions ``` Provides options to attach the embedded object to Pdf. [How to add attachment to PDF document.]: https://docs.groupdocs.com/merger/java/how-to-add-attachment-to-pdf-document/ #### Constructors | Constructor | Description | | --- | --- | | PdfAttachmentOptions(byte[] objectData, String extension) | Initializes a new instance of the PdfAttachmentOptions class. | | PdfAttachmentOptions(String filePath) | Initializes a new instance of the PdfAttachmentOptions class. | ##### PdfAttachmentOptions(byte[] objectData, String extension) ``` public PdfAttachmentOptions(byte[] objectData, String extension) ``` Initializes a new instance of the PdfAttachmentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | ##### PdfAttachmentOptions(String filePath) ``` public PdfAttachmentOptions(String filePath) ``` Initializes a new instance of the PdfAttachmentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | ### PdfSaveOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/pdfsaveoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.SaveOptions ``` public class PdfSaveOptions extends SaveOptions ``` Provides additional Pdf options for the document saving. #### Constructors | Constructor | Description | | --- | --- | | PdfSaveOptions() | Initializes a new instance of the PdfSaveOptions class. | #### Methods | Method | Description | | --- | --- | | getAccessibilitySettings() | | | setAccessibilitySettings(PdfAccessibilitySettings accessibilitySettings) | | ##### PdfSaveOptions() ``` public PdfSaveOptions() ``` Initializes a new instance of the PdfSaveOptions class. ##### getAccessibilitySettings() ``` public PdfAccessibilitySettings getAccessibilitySettings() ``` **Returns:** PdfAccessibilitySettings ##### setAccessibilitySettings(PdfAccessibilitySettings accessibilitySettings) ``` public void setAccessibilitySettings(PdfAccessibilitySettings accessibilitySettings) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | accessibilitySettings | PdfAccessibilitySettings | | ### PreviewMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/previewmode.md **Inheritance:** java.lang.Object ``` public final class PreviewMode ``` Provides modes for the page previewing. #### Fields | Field | Description | | --- | --- | | PNG | Preview mode as .png | | JPEG | Preview mode as .jpeg | | BMP | Preview mode as .bmp | #### Methods | Method | Description | | --- | --- | | extensions() | | ##### PNG ``` public static final int PNG ``` Preview mode as .png ##### JPEG ``` public static final int JPEG ``` Preview mode as .jpeg ##### BMP ``` public static final int BMP ``` Preview mode as .bmp ##### extensions() ``` public static String[] extensions() ``` **Returns:** java.lang.String[] ### PreviewOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/previewoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPreviewOptions ``` public class PreviewOptions extends PageOptions implements IPreviewOptions ``` Represents document preview options. #### Constructors | Constructor | Description | | --- | --- | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode) | Initializes a new instance of the PreviewOptions class. | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int[] pageNumbers) | Initializes a new instance of the PreviewOptions class. | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber) | Initializes a new instance of the PreviewOptions class. | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the PreviewOptions class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Preview width. | | setWidth(int value) | Preview width. | | getHeight() | Preview height. | | setHeight(int value) | Preview height. | | getResolution() | Image resolution. | | setResolution(int value) | Image resolution. | | getMode() | Mode for preview. | | validate(FileType fileType) | Validates the preview options. | | getPathByPageNumber(int pageNumber, String extension) | Gets the full file path of previewed document by page number with defined extension. | | getPageStreamFactory() | PageStreamFactory for create or release output page preview stream. | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int[] pageNumbers) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int[] pageNumbers) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | pageNumbers | int[] | Page numbers. | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber, int mode) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getWidth() ``` public final int getWidth() ``` Preview width. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Preview height. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getResolution() ``` public final int getResolution() ``` Image resolution. **Returns:** int ##### setResolution(int value) ``` public final void setResolution(int value) ``` Image resolution. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMode() ``` public final int getMode() ``` Mode for preview. **Returns:** int ##### validate(FileType fileType) ``` public final void validate(FileType fileType) ``` Validates the preview options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type. | ##### getPathByPageNumber(int pageNumber, String extension) ``` public final String getPathByPageNumber(int pageNumber, String extension) ``` Gets the full file path of previewed document by page number with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | Page number of preview. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getPageStreamFactory() ``` public PageStreamFactory getPageStreamFactory() ``` PageStreamFactory for create or release output page preview stream. **Returns:** PageStreamFactory ### RangeMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/rangemode.md **Inheritance:** java.lang.Object ``` public final class RangeMode ``` Possible modes for the page ranging. #### Fields | Field | Description | | --- | --- | | AllPages | Range have all numbers from begin to end. | | OddPages | Range have only odd numbers from begin to end. | | EvenPages | Range have only even numbers from begin to end. | ##### AllPages ``` public static final int AllPages ``` Range have all numbers from begin to end. ##### OddPages ``` public static final int OddPages ``` Range have only odd numbers from begin to end. ##### EvenPages ``` public static final int EvenPages ``` Range have only even numbers from begin to end. ### RemoveOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/removeoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IRemoveOptions ``` public class RemoveOptions extends PageOptions implements IRemoveOptions ``` Provides options for the page removing. #### Constructors | Constructor | Description | | --- | --- | | RemoveOptions() | Initializes a new instance of the RemoveOptions class. | | RemoveOptions(int[] pageNumbers) | Initializes a new instance of the RemoveOptions class. | | RemoveOptions(int startNumber, int endNumber) | Initializes a new instance of the RemoveOptions class. | | RemoveOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the RemoveOptions class. | ##### RemoveOptions() ``` public RemoveOptions() ``` Initializes a new instance of the RemoveOptions class. ##### RemoveOptions(int[] pageNumbers) ``` public RemoveOptions(int[] pageNumbers) ``` Initializes a new instance of the RemoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### RemoveOptions(int startNumber, int endNumber) ``` public RemoveOptions(int startNumber, int endNumber) ``` Initializes a new instance of the RemoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### RemoveOptions(int startNumber, int endNumber, int mode) ``` public RemoveOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the RemoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ### RotateMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/rotatemode.md **Inheritance:** java.lang.Object ``` public final class RotateMode ``` Possible modes for the page rotation. #### Fields | Field | Description | | --- | --- | | Rotate90 | Rotate to the right with 90 degrees. | | Rotate180 | Rotate to the right with 180 degrees. | | Rotate270 | Rotate to the right with 270 degrees. | ##### Rotate90 ``` public static final int Rotate90 ``` Rotate to the right with 90 degrees. ##### Rotate180 ``` public static final int Rotate180 ``` Rotate to the right with 180 degrees. ##### Rotate270 ``` public static final int Rotate270 ``` Rotate to the right with 270 degrees. ### RotateOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/rotateoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IRotateOptions ``` public class RotateOptions extends PageOptions implements IRotateOptions ``` Provides options for the page rotation. #### Constructors | Constructor | Description | | --- | --- | | RotateOptions(int rotateMode) | Initializes a new instance of the RotateOptions class. | | RotateOptions(int rotateMode, int[] pageNumbers) | Initializes a new instance of the RotateOptions class. | | RotateOptions(int rotateMode, int startNumber, int endNumber) | Initializes a new instance of the RotateOptions class. | | RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the RotateOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for rotating (90, 180 or 270 degrees). | ##### RotateOptions(int rotateMode) ``` public RotateOptions(int rotateMode) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | ##### RotateOptions(int rotateMode, int[] pageNumbers) ``` public RotateOptions(int rotateMode, int[] pageNumbers) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | pageNumbers | int[] | Page numbers. | ##### RotateOptions(int rotateMode, int startNumber, int endNumber) ``` public RotateOptions(int rotateMode, int startNumber, int endNumber) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) ``` public RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` Gets the mode for rotating (90, 180 or 270 degrees). **Returns:** int ### SaveOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/saveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ISaveOptions ``` public class SaveOptions implements ISaveOptions ``` Provides options for the document saving. #### Constructors | Constructor | Description | | --- | --- | | SaveOptions(FileType fileType) | Initializes new instance of SaveOptions class. | | SaveOptions() | | #### Methods | Method | Description | | --- | --- | | getType() | File type. | | setType(FileType value) | File type. | ##### SaveOptions(FileType fileType) ``` public SaveOptions(FileType fileType) ``` Initializes new instance of SaveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | ##### SaveOptions() ``` public SaveOptions() ``` ##### getType() ``` public final FileType getType() ``` File type. **Returns:** FileType ##### setType(FileType value) ``` public void setType(FileType value) ``` File type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | FileType | | ### SplitMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/splitmode.md **Inheritance:** java.lang.Object ``` public final class SplitMode ``` Defines page splitting modes. #### Fields | Field | Description | | --- | --- | | Pages | Split pages | | Interval | Split Intervals | ##### Pages ``` public static final int Pages ``` Split pages ##### Interval ``` public static final int Interval ``` Split Intervals ### SplitOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/splitoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ISplitOptions ``` public class SplitOptions extends PageOptions implements ISplitOptions ``` Provides options for the document page splitting. #### Constructors | Constructor | Description | | --- | --- | | SplitOptions(int[] pageNumbers, int splitMode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(int splitMode, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(int splitMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int[] pageNumbers) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int[] pageNumbers, int splitMode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int startNumber, int endNumber, Integer mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers, int splitMode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber, Integer mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the SplitOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for page splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with pre-defined extension. | | getSplitStreamFactory() | SplitStreamFactory for create or release output page preview stream. | ##### SplitOptions(int[] pageNumbers, int splitMode) ``` public SplitOptions(int[] pageNumbers, int splitMode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | ##### SplitOptions(int splitMode, int startNumber, int endNumber) ``` public SplitOptions(int splitMode, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(int splitMode, int startNumber, int endNumber, int mode) ``` public SplitOptions(int splitMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### SplitOptions(String filePathFormat, int[] pageNumbers) ``` public SplitOptions(String filePathFormat, int[] pageNumbers) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | pageNumbers | int[] | Page numbers. | ##### SplitOptions(String filePathFormat, int[] pageNumbers, int splitMode) ``` public SplitOptions(String filePathFormat, int[] pageNumbers, int splitMode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | pageNumbers | int[] | Page numbers. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | ##### SplitOptions(String filePathFormat, int startNumber, int endNumber) ``` public SplitOptions(String filePathFormat, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber) ``` public SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(String filePathFormat, int startNumber, int endNumber, Integer mode) ``` public SplitOptions(String filePathFormat, int startNumber, int endNumber, Integer mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | java.lang.Integer | The range mode. | ##### SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber, int mode) ``` public SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### SplitOptions(SplitStreamFactory splitStreamFactory) ``` public SplitOptions(SplitStreamFactory splitStreamFactory) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | pageNumbers | int[] | Page numbers. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers, int splitMode) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers, int splitMode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | pageNumbers | int[] | Page numbers. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber, Integer mode) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber, Integer mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | java.lang.Integer | The range mode. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber, int mode) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` Gets the mode for page splitting. **Returns:** int ##### validate(FileType fileType) ``` public final void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public final String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with pre-defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public SplitStreamFactory getSplitStreamFactory() ``` SplitStreamFactory for create or release output page preview stream. **Returns:** SplitStreamFactory ### SwapOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/swapoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ISwapOptions ``` public class SwapOptions implements ISwapOptions ``` Provides options for swapping document pages. #### Constructors | Constructor | Description | | --- | --- | | SwapOptions(int firstPageNumber, int secondPageNumber) | Initializes a new instance of the SwapOptions class. | #### Methods | Method | Description | | --- | --- | | getFirstPageNumber() | First page number to exchange. | | getSecondPageNumber() | Second page number to exchange. | ##### SwapOptions(int firstPageNumber, int secondPageNumber) ``` public SwapOptions(int firstPageNumber, int secondPageNumber) ``` Initializes a new instance of the SwapOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | firstPageNumber | int | The first page number. | | secondPageNumber | int | The second page number. | ##### getFirstPageNumber() ``` public final int getFirstPageNumber() ``` First page number to exchange. **Returns:** int ##### getSecondPageNumber() ``` public final int getSecondPageNumber() ``` Second page number to exchange. **Returns:** int ### TextSplitMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/textsplitmode.md **Inheritance:** java.lang.Object ``` public final class TextSplitMode ``` Possible text splitting modes. #### Fields | Field | Description | | --- | --- | | Lines | Split lines | | Interval | Split Intervals | ##### Lines ``` public static final int Lines ``` Split lines ##### Interval ``` public static final int Interval ``` Split Intervals ### TextSplitOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/textsplitoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ITextSplitOptions ``` public class TextSplitOptions implements ITextSplitOptions ``` Provides options for the document text splitting. #### Constructors | Constructor | Description | | --- | --- | | TextSplitOptions(int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(int mode, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(String filePathFormat, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(String filePathFormat, int mode, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(SplitStreamFactory splitStreamFactory, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(SplitStreamFactory splitStreamFactory, int mode, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Mode for text splitting. | | getLineNumbers() | Line numbers for text splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with defined extension. | | getSplitStreamFactory() | SplitStreamFactory for create or release output page preview stream. | ##### TextSplitOptions(int[] lineNumbers) ``` public TextSplitOptions(int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(int mode, int[] lineNumbers) ``` public TextSplitOptions(int mode, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mode | int | Mode for text splitting. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(String filePathFormat, int[] lineNumbers) ``` public TextSplitOptions(String filePathFormat, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already defined extension. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(String filePathFormat, int mode, int[] lineNumbers) ``` public TextSplitOptions(String filePathFormat, int mode, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already defined extension. | | mode | int | Mode for text splitting. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(SplitStreamFactory splitStreamFactory, int[] lineNumbers) ``` public TextSplitOptions(SplitStreamFactory splitStreamFactory, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(SplitStreamFactory splitStreamFactory, int mode, int[] lineNumbers) ``` public TextSplitOptions(SplitStreamFactory splitStreamFactory, int mode, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | mode | int | Mode for text splitting. | | lineNumbers | int[] | Line numbers for text splitting. | ##### getMode() ``` public final int getMode() ``` Mode for text splitting. **Returns:** int ##### getLineNumbers() ``` public final int[] getLineNumbers() ``` Line numbers for text splitting. **Returns:** int[] ##### validate(FileType fileType) ``` public final void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public final String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public SplitStreamFactory getSplitStreamFactory() ``` SplitStreamFactory for create or release output page preview stream. **Returns:** SplitStreamFactory ### UpdatePasswordOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/updatepasswordoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IUpdatePasswordOptions ``` public class UpdatePasswordOptions implements IUpdatePasswordOptions ``` Provides options for updating document password. #### Constructors | Constructor | Description | | --- | --- | | UpdatePasswordOptions(String newPassword) | Initializes a new instance of the UpdatePasswordOptions class. | #### Methods | Method | Description | | --- | --- | | getNewPassword() | A new password for the document protection. | ##### UpdatePasswordOptions(String newPassword) ``` public UpdatePasswordOptions(String newPassword) ``` Initializes a new instance of the UpdatePasswordOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newPassword | java.lang.String | The new password. | ##### getNewPassword() ``` public final String getNewPassword() ``` A new password for the document protection. **Returns:** java.lang.String ### WordJoinCompliance Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/wordjoincompliance.md **Inheritance:** java.lang.Object ``` public final class WordJoinCompliance ``` Possible Compliance modes for the Word Ooxml formats such as .docx, .docm, .dotx, .dotm etc. #### Fields | Field | Description | | --- | --- | | Auto | Auto | | Ecma376_2006 | ECMA-376 1st Edition, 2006. | | Iso29500_2008_Transitional | ISO/IEC 29500:2008 Transitional compliance level. | | Iso29500_2008_Strict | ISO/IEC 29500:2008 Strict compliance level. | ##### Auto ``` public static final int Auto ``` Auto ##### Ecma376_2006 ``` public static final int Ecma376_2006 ``` ECMA-376 1st Edition, 2006. ##### Iso29500_2008_Transitional ``` public static final int Iso29500_2008_Transitional ``` ISO/IEC 29500:2008 Transitional compliance level. ##### Iso29500_2008_Strict ``` public static final int Iso29500_2008_Strict ``` ISO/IEC 29500:2008 Strict compliance level. ### WordJoinMode Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/wordjoinmode.md **Inheritance:** java.lang.Object ``` public final class WordJoinMode ``` Possible modes for the Word joining. #### Fields | Field | Description | | --- | --- | | Default | Specifies Default Word joining. | | Continuous | Specifies Word joining without starting from new page. | ##### Default ``` public static final int Default ``` Specifies Default Word joining. ##### Continuous ``` public static final int Continuous ``` Specifies Word joining without starting from new page. ### WordJoinOptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.options/wordjoinoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions, com.groupdocs.merger.domain.options.PageJoinOptions ``` public class WordJoinOptions extends PageJoinOptions ``` The Word join options. #### Constructors | Constructor | Description | | --- | --- | | WordJoinOptions() | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(int[] pageNumbers) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(int startNumber, int endNumber) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType, int[] pageNumbers) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType, int startNumber, int endNumber) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) | Initializes a new instance of the WordJoinOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | The Word join mode. | | setMode(int value) | The Word join mode. | | getCompliance() | Compliance mode for the Word Ooxml format | | setCompliance(int value) | Compliance mode for the Word Ooxml format | ##### WordJoinOptions() ``` public WordJoinOptions() ``` Initializes a new instance of the WordJoinOptions class. ##### WordJoinOptions(int[] pageNumbers) ``` public WordJoinOptions(int[] pageNumbers) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### WordJoinOptions(int startNumber, int endNumber) ``` public WordJoinOptions(int startNumber, int endNumber) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### WordJoinOptions(int startNumber, int endNumber, int mode) ``` public WordJoinOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### WordJoinOptions(FileType fileType) ``` public WordJoinOptions(FileType fileType) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | ##### WordJoinOptions(FileType fileType, int[] pageNumbers) ``` public WordJoinOptions(FileType fileType, int[] pageNumbers) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | pageNumbers | int[] | Page numbers. | ##### WordJoinOptions(FileType fileType, int startNumber, int endNumber) ``` public WordJoinOptions(FileType fileType, int startNumber, int endNumber) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### WordJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` public WordJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` The Word join mode. **Returns:** int ##### setMode(int value) ``` public final void setMode(int value) ``` The Word join mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getCompliance() ``` public final int getCompliance() ``` Compliance mode for the Word Ooxml format **Returns:** int ##### setCompliance(int value) ``` public final void setCompliance(int value) ``` Compliance mode for the Word Ooxml format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### com.groupdocs.merger.domain.result Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.result.md The **com.groupdocs.merger.domain.result** namespace provides classes which represent document results. #### Classes | Class | Description | | --- | --- | | DocumentInfo | Defines document description properties. | | PageInfo | Defines page description properties. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Interface for the document description properties. | | IPageInfo | Interface for the page description properties. | ### DocumentInfo Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.result/documentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.result.IDocumentInfo ``` public class DocumentInfo implements IDocumentInfo ``` Defines document description properties. #### Constructors | Constructor | Description | | --- | --- | | DocumentInfo(int index, InputStream stream, FileType fileType, String password) | Initializes new instance of DocumentInfo class. | | DocumentInfo(int index, InputStream stream, FileType fileType, String password, IPageInfo[] pages, long size) | Initializes new instance of DocumentInfo class. | | DocumentInfo(FileType fileType, IPageInfo[] pages, long size) | Initializes new instance of DocumentInfo class. | #### Methods | Method | Description | | --- | --- | | getIndex() | The document index. | | getStream() | The document stream. | | getPassword() | The document password. | | getType() | Gets the file type. | | getPages() | Defines document pages collection. | | getPageCount() | The document pages count. | | getSize() | Document size in bytes | | toString() | Returns a string that represents the current object. | ##### DocumentInfo(int index, InputStream stream, FileType fileType, String password) ``` public DocumentInfo(int index, InputStream stream, FileType fileType, String password) ``` Initializes new instance of DocumentInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | | | stream | java.io.InputStream | | | fileType | FileType | The type of the file. | | password | java.lang.String | | ##### DocumentInfo(int index, InputStream stream, FileType fileType, String password, IPageInfo[] pages, long size) ``` public DocumentInfo(int index, InputStream stream, FileType fileType, String password, IPageInfo[] pages, long size) ``` Initializes new instance of DocumentInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | | | stream | java.io.InputStream | | | fileType | FileType | The type of the file. | | password | java.lang.String | | | pages | IPageInfo\[\] | The list of pages to view. | | size | long | The size of the file. | ##### DocumentInfo(FileType fileType, IPageInfo[] pages, long size) ``` public DocumentInfo(FileType fileType, IPageInfo[] pages, long size) ``` Initializes new instance of DocumentInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | pages | IPageInfo\[\] | The list of pages to view. | | size | long | The size of the file. | ##### getIndex() ``` public final int getIndex() ``` The document index. **Returns:** int ##### getStream() ``` public final InputStream getStream() ``` The document stream. **Returns:** java.io.InputStream ##### getPassword() ``` public final String getPassword() ``` The document password. **Returns:** java.lang.String ##### getType() ``` public final FileType getType() ``` Gets the file type. **Returns:** FileType ##### getPages() ``` public final IPageInfo[] getPages() ``` Defines document pages collection. **Returns:** com.groupdocs.merger.domain.result.IPageInfo[] ##### getPageCount() ``` public final int getPageCount() ``` The document pages count. **Returns:** int ##### getSize() ``` public final long getSize() ``` Document size in bytes **Returns:** long ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ### IDocumentInfo Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.result/idocumentinfo.md ### IPageInfo Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.result/ipageinfo.md ### PageInfo Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.result/pageinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.result.IPageInfo ``` public class PageInfo implements IPageInfo ``` Defines page description properties. #### Constructors | Constructor | Description | | --- | --- | | PageInfo(int number, boolean visible) | Initializes new instance of PageInfo class. | | PageInfo(int number, boolean visible, int width, int height) | Initializes new instance of PageInfo class. | #### Methods | Method | Description | | --- | --- | | getDocument() | Gets the document info. | | setDocument(DocumentInfo value) | Gets the document info. | | getNumber() | Gets the page number. | | getVisible() | Indicates whether page is visibile or not. | | getWidth() | Gets page width in pixels when converted to image. | | getHeight() | Gets page height in pixels when converted to image. | ##### PageInfo(int number, boolean visible) ``` public PageInfo(int number, boolean visible) ``` Initializes new instance of PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | number | int | The page number. | | visible | boolean | The page visibility indicator. | ##### PageInfo(int number, boolean visible, int width, int height) ``` public PageInfo(int number, boolean visible, int width, int height) ``` Initializes new instance of PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | number | int | The page number. | | visible | boolean | The page visibility indicator. | | width | int | The width of the page in pixels when viewing as JPG or PNG. | | height | int | The height of the page in pixels when viewing as JPG or PNG. | ##### getDocument() ``` public final DocumentInfo getDocument() ``` Gets the document info. **Returns:** DocumentInfo ##### setDocument(DocumentInfo value) ``` public final void setDocument(DocumentInfo value) ``` Gets the document info. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | DocumentInfo | | ##### getNumber() ``` public final int getNumber() ``` Gets the page number. **Returns:** int ##### getVisible() ``` public final boolean getVisible() ``` Indicates whether page is visibile or not. **Returns:** boolean ##### getWidth() ``` public final int getWidth() ``` Gets page width in pixels when converted to image. **Returns:** int ##### getHeight() ``` public final int getHeight() ``` Gets page height in pixels when converted to image. **Returns:** int ### com.groupdocs.merger.domain Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain.md The **com.groupdocs.merger.domain** namespace provides classes for working with document structure. #### Classes | Class | Description | | --- | --- | | FileType | Represents file type. | ### FileType Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.domain/filetype.md **Inheritance:** java.lang.Object ``` public final class FileType ``` Represents file type. Provides methods to obtain list of all file types supported by **GroupDocs.Merger**, detect file type by extension etc. [Full list of supported document formats]: https://docs.groupdocs.com/display/mergernet/Supported+Document+Types [How to get supported file formats in code]: https://docs.groupdocs.com/display/mergernet/Get+supported+file+types #### Fields | Field | Description | | --- | --- | | Unknown | Represents unknown file type. | | ZIP | Zipped File (.zip) | | SevenZ | 7-Zip Compressed File (.7z) | | TAR | Consolidated Unix File Archive (.tar) | | RAR | Roshal ARchive Compressed File (.rar) | | VSSX | Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. | | VSDX | Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. | | VSDM | Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. | | VSTX | Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. | | VSTM | Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. | | VSSM | Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. | | VSX | Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. | | VTX | Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. | | VDX | Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. | | EPUB | Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. | | BMP | Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. | | JPG | JPEG Image (.jpg) | | JPEG | JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. | | PNG | Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. | | PS | PostScript File (.ps) | | TIF | Tagged Image File (.tif) | | TIFF | Tagged Image File Format (.tiff) | | GIF | Graphical Interchange Format File (.gif) | | SVG | Scalable Vector Graphics File (.svg) | | SVGZ | Scalable Vector Graphics Compressed File (.svgz) | | EMF | Windows Enhanced Metafile (.emf) | | EMZ | Windows Compressed Enhanced Metafile (.emz) | | HTML | Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. | | MHT | MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. | | MHTML | MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. | | ONE | OneNote Document (.one) files are created by Microsoft OneNote application. | | PDF | Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. | | XPS | XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. | | TEX | LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. | | PPT | PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. | | PPTX | PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. | | PPS | PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. | | PPSX | PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. | | ODP | OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. | | OTP | OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. | | PPTM | PowerPoint Open XML Macro-Enabled Presentation | | XLS | Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. | | XLSX | Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. | | XLSM | Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. | | XLSB | Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. | | CSV | Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. | | TSV | Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. | | ODS | OpenDocument Spreadsheet (.ods). | | XLTM | Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. | | XLTX | Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. | | XLT | Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. | | XLAM | Excel Macro-Enabled Add-In (.xlam). | | DOC | Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. | | DOCX | Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. | | DOCM | Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | DOT | Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | DOTX | Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | DOTM | Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. | | RTF | Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. | | TXT | Plain Text File (.txt) represents a text document that contains plain text in the form of lines. | | ERR | Error Log File (.err) is a text file that contains error messages generated by a program. | | ODT | OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | OTT | OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. | | WAV | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. | #### Methods | Method | Description | | --- | --- | | getFileFormat() | File type name e.g. | | getExtension() | Filename suffix (including the period ".") e.g. | | fromExtension(String extension) | Maps file extension to file type. | | getSupportedFileTypes() | Retrieves supported file types | | equals(FileType other) | Determines whether the current FileType is the same as specified FileType object. | | equals(Object obj) | Determines whether the current FileType is the same as specified object. | | hashCode() | Returns the hash code for the current FileType object. | | op_Equality(FileType left, FileType right) | Determines whether two FileType objects are the same. | | op_Inequality(FileType left, FileType right) | Determines whether two FileType objects are not the same. | | toString() | Returns a string that represents the current object. | | isText(FileType fileType) | Determines whether input FileType is primitive text format. | | isArchive(FileType fileType) | Determines whether input FileType is archive format. | | isImage(FileType fileType) | Determines whether input FileType is primitive text format. | | isAudio(FileType fileType) | Determines whether input FileType is audio format. | | getBase(FileType fileType) | | ##### Unknown ``` public static final FileType Unknown ``` Represents unknown file type. ##### ZIP ``` public static FileType ZIP ``` Zipped File (.zip) ##### SevenZ ``` public static final FileType SevenZ ``` 7-Zip Compressed File (.7z) ##### TAR ``` public static final FileType TAR ``` Consolidated Unix File Archive (.tar) ##### RAR ``` public static final FileType RAR ``` Roshal ARchive Compressed File (.rar) ##### VSSX ``` public static final FileType VSSX ``` Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vssx ##### VSDX ``` public static final FileType VSDX ``` Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vsdx ##### VSDM ``` public static final FileType VSDM ``` Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vsdm ##### VSTX ``` public static final FileType VSTX ``` Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vstx ##### VSTM ``` public static final FileType VSTM ``` Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vstm ##### VSSM ``` public static final FileType VSSM ``` Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vssm ##### VSX ``` public static final FileType VSX ``` Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vsx ##### VTX ``` public static final FileType VTX ``` Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vtx ##### VDX ``` public static final FileType VDX ``` Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vdx ##### EPUB ``` public static final FileType EPUB ``` Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/ebook/epub ##### BMP ``` public static final FileType BMP ``` Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/bmp ##### JPG ``` public static final FileType JPG ``` JPEG Image (.jpg) ##### JPEG ``` public static final FileType JPEG ``` JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/jpeg ##### PNG ``` public static final FileType PNG ``` Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/png ##### PS ``` public static final FileType PS ``` PostScript File (.ps) ##### TIF ``` public static FileType TIF ``` Tagged Image File (.tif) ##### TIFF ``` public static FileType TIFF ``` Tagged Image File Format (.tiff) ##### GIF ``` public static FileType GIF ``` Graphical Interchange Format File (.gif) ##### SVG ``` public static FileType SVG ``` Scalable Vector Graphics File (.svg) ##### SVGZ ``` public static FileType SVGZ ``` Scalable Vector Graphics Compressed File (.svgz) ##### EMF ``` public static final FileType EMF ``` Windows Enhanced Metafile (.emf) ##### EMZ ``` public static final FileType EMZ ``` Windows Compressed Enhanced Metafile (.emz) ##### HTML ``` public static final FileType HTML ``` Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/html ##### MHT ``` public static final FileType MHT ``` MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/mhtml ##### MHTML ``` public static final FileType MHTML ``` MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/mhtml ##### ONE ``` public static final FileType ONE ``` OneNote Document (.one) files are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/note-taking/one ##### PDF ``` public static final FileType PDF ``` Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/view/pdf ##### XPS ``` public static final FileType XPS ``` XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/page-description-language/xps ##### TEX ``` public static final FileType TEX ``` LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/page-description-language/tex ##### PPT ``` public static final FileType PPT ``` PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/ppt ##### PPTX ``` public static final FileType PPTX ``` PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/pptx ##### PPS ``` public static final FileType PPS ``` PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/pps ##### PPSX ``` public static final FileType PPSX ``` PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/ppsx ##### ODP ``` public static final FileType ODP ``` OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/odp ##### OTP ``` public static final FileType OTP ``` OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/otp ##### PPTM ``` public static FileType PPTM ``` PowerPoint Open XML Macro-Enabled Presentation ##### XLS ``` public static final FileType XLS ``` Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xls ##### XLSX ``` public static final FileType XLSX ``` Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlsx ##### XLSM ``` public static final FileType XLSM ``` Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlsm ##### XLSB ``` public static final FileType XLSB ``` Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlsb ##### CSV ``` public static final FileType CSV ``` Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/csv ##### TSV ``` public static final FileType TSV ``` Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/tsv ##### ODS ``` public static final FileType ODS ``` OpenDocument Spreadsheet (.ods). ##### XLTM ``` public static final FileType XLTM ``` Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xltm ##### XLTX ``` public static final FileType XLTX ``` Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xltx ##### XLT ``` public static final FileType XLT ``` Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlt ##### XLAM ``` public static final FileType XLAM ``` Excel Macro-Enabled Add-In (.xlam). ##### DOC ``` public static final FileType DOC ``` Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/doc ##### DOCX ``` public static final FileType DOCX ``` Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/docx ##### DOCM ``` public static final FileType DOCM ``` Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/docm ##### DOT ``` public static final FileType DOT ``` Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/dot ##### DOTX ``` public static final FileType DOTX ``` Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/dotx ##### DOTM ``` public static final FileType DOTM ``` Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/dotm ##### RTF ``` public static final FileType RTF ``` Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/rtf ##### TXT ``` public static final FileType TXT ``` Plain Text File (.txt) represents a text document that contains plain text in the form of lines. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/txt ##### ERR ``` public static final FileType ERR ``` Error Log File (.err) is a text file that contains error messages generated by a program. Learn more about this file format [here][]. [here]: https://fileinfo.com/extension/err ##### ODT ``` public static final FileType ODT ``` OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/odt ##### OTT ``` public static final FileType OTT ``` OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/ott ##### WAV ``` public static FileType WAV ``` WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn\\u2019t apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. It has been and is one of the standard format for audio CDs. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/audio/wav ##### getFileFormat() ``` public final String getFileFormat() ``` File type name e.g. "Microsoft Word Document". **Returns:** java.lang.String ##### getExtension() ``` public final String getExtension() ``` Filename suffix (including the period ".") e.g. ".doc". **Returns:** java.lang.String ##### fromExtension(String extension) ``` public static FileType fromExtension(String extension) ``` Maps file extension to file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | File extension (including the period "."). | **Returns:** FileType - When file type is supported returns it, otherwise returns default \#Unknown.Unknown file type. ##### getSupportedFileTypes() ``` public static List getSupportedFileTypes() ``` Retrieves supported file types **Returns:** java.util.List - Returns sequence of supported file types ##### equals(FileType other) ``` public final boolean equals(FileType other) ``` Determines whether the current FileType is the same as specified FileType object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FileType | The object to compare with the current FileType object. | **Returns:** boolean - ``` true ``` if both [FileType](../../com.groupdocs.merger.domain/filetype) objects are the same; otherwise, ``` false ``` ### equals(Object obj) {#equals-java.lang.Object-} ``` public boolean equals(Object obj) ``` Determines whether the current [FileType](../../com.groupdocs.merger.domain/filetype) is the same as specified object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if ``` obj ``` parameter is FileType and is the same as current FileType object; otherwise, ``` false ``` ##### hashCode() ``` public int hashCode() ``` Returns the hash code for the current FileType object. **Returns:** int - A hash code for the current FileType object. ##### op_Equality(FileType left, FileType right) ``` public static boolean op_Equality(FileType left, FileType right) ``` Determines whether two FileType objects are the same. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left FileType object. | | right | FileType | Right FileType object. | **Returns:** boolean - ``` true ``` if both [FileType](../../com.groupdocs.merger.domain/filetype) objects are the same; otherwise, ``` false ``` ### op_Inequality(FileType left, FileType right) {#op-Inequality-com.groupdocs.merger.domain.FileType-com.groupdocs.merger.domain.FileType-} ``` public static boolean op_Inequality(FileType left, FileType right) ``` Determines whether two [FileType](../../com.groupdocs.merger.domain/filetype) objects are not the same. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | [FileType](../../com.groupdocs.merger.domain/filetype) | Left [FileType](../../com.groupdocs.merger.domain/filetype) object. | | right | [FileType](../../com.groupdocs.merger.domain/filetype) | Right [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if both FileType objects are not the same; otherwise, ``` false ``` ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ##### isText(FileType fileType) ``` public static boolean isText(FileType fileType) ``` Determines whether input FileType is primitive text format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The FileType object. | **Returns:** boolean - ``` true ``` if input [FileType](../../com.groupdocs.merger.domain/filetype) is primitive text format; otherwise, ``` false ``` ### isArchive(FileType fileType) {#isArchive-com.groupdocs.merger.domain.FileType-} ``` public static boolean isArchive(FileType fileType) ``` Determines whether input [FileType](../../com.groupdocs.merger.domain/filetype) is archive format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | [FileType](../../com.groupdocs.merger.domain/filetype) | The [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if input FileType is archive format; otherwise, ``` false ``` ##### isImage(FileType fileType) ``` public static boolean isImage(FileType fileType) ``` Determines whether input FileType is primitive text format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The FileType object. | **Returns:** boolean - ``` true ``` if input [FileType](../../com.groupdocs.merger.domain/filetype) is primitive image format; otherwise, ``` false ``` ### isAudio(FileType fileType) {#isAudio-com.groupdocs.merger.domain.FileType-} ``` public static boolean isAudio(FileType fileType) ``` Determines whether input [FileType](../../com.groupdocs.merger.domain/filetype) is audio format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | [FileType](../../com.groupdocs.merger.domain/filetype) | The [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if input FileType is audio format; otherwise, ``` false ``` ##### getBase(FileType fileType) ``` public static FileType getBase(FileType fileType) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | | **Returns:** FileType ### com.groupdocs.merger.exceptions Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.exceptions.md The **com.groupdocs.merger.exceptions** namespace provides classes for exceptions which can occur while working with a document. #### Classes | Class | Description | | --- | --- | | FileCorruptedException | The exception that is thrown when specified file could not be loaded because it appears to be corrupted. | | FileTypeNotSupportedException | The exception that is thrown when specified file type is not supported. | | GroupDocsMergerException | Represents errors that occur during document processing. | | IncorrectPasswordException | The exception that is thrown when specified password is incorrect. | | PasswordRequiredException | The exception that is thrown when password is required to load the document. | ### FileCorruptedException Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.exceptions/filecorruptedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, com.groupdocs.merger.exceptions.GroupDocsMergerException ``` public class FileCorruptedException extends GroupDocsMergerException ``` The exception that is thrown when specified file could not be loaded because it appears to be corrupted. #### Constructors | Constructor | Description | | --- | --- | | FileCorruptedException(String guid) | Initializes a new instance of the FileCorruptedException class. | ##### FileCorruptedException(String guid) ``` public FileCorruptedException(String guid) ``` Initializes a new instance of the FileCorruptedException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | guid | java.lang.String | The guid. | ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.exceptions/filetypenotsupportedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception ``` public class FileTypeNotSupportedException extends Exception ``` The exception that is thrown when specified file type is not supported. #### Constructors | Constructor | Description | | --- | --- | | FileTypeNotSupportedException(String message) | Initializes a new instance of the FileTypeNotSupportedException class. | ##### FileTypeNotSupportedException(String message) ``` public FileTypeNotSupportedException(String message) ``` Initializes a new instance of the FileTypeNotSupportedException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ### GroupDocsMergerException Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.exceptions/groupdocsmergerexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception ``` public class GroupDocsMergerException extends Exception ``` Represents errors that occur during document processing. #### Constructors | Constructor | Description | | --- | --- | | GroupDocsMergerException(String message) | Initializes a new instance of the GroupDocsMergerException class. | | GroupDocsMergerException(String message, Exception innerException) | Initializes a new instance of the GroupDocsMergerException class. | #### Methods | Method | Description | | --- | --- | | getException(Exception exception) | Get the GroupDocs Merger exception from input exception. | ##### GroupDocsMergerException(String message) ``` public GroupDocsMergerException(String message) ``` Initializes a new instance of the GroupDocsMergerException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### GroupDocsMergerException(String message, Exception innerException) ``` public GroupDocsMergerException(String message, Exception innerException) ``` Initializes a new instance of the GroupDocsMergerException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | | innerException | java.lang.Exception | The inner exception of the error. | ##### getException(Exception exception) ``` public static Exception getException(Exception exception) ``` Get the GroupDocs Merger exception from input exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | exception | java.lang.Exception | The input exception. | **Returns:** java.lang.Exception - ### IncorrectPasswordException Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.exceptions/incorrectpasswordexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, com.groupdocs.merger.exceptions.GroupDocsMergerException ``` public class IncorrectPasswordException extends GroupDocsMergerException ``` The exception that is thrown when specified password is incorrect. #### Constructors | Constructor | Description | | --- | --- | | IncorrectPasswordException(String guid) | Initializes a new instance of the IncorrectPasswordException class. | ##### IncorrectPasswordException(String guid) ``` public IncorrectPasswordException(String guid) ``` Initializes a new instance of the IncorrectPasswordException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | guid | java.lang.String | The guid. | ### PasswordRequiredException Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.exceptions/passwordrequiredexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, com.groupdocs.merger.exceptions.GroupDocsMergerException ``` public class PasswordRequiredException extends GroupDocsMergerException ``` The exception that is thrown when password is required to load the document. #### Constructors | Constructor | Description | | --- | --- | | PasswordRequiredException(String guid) | Initializes a new instance of the PasswordRequiredException class. | ##### PasswordRequiredException(String guid) ``` public PasswordRequiredException(String guid) ``` Initializes a new instance of the PasswordRequiredException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | guid | java.lang.String | The guid. | ### com.groupdocs.merger.licensing.metered Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.licensing.metered.md The **com.groupdocs.merger.licensing.metered** namespace provides methods to set metered key. #### Classes | Class | Description | | --- | --- | | Metered | Provides methods for applying [Metered][] license.[Metered]: https://purchase.groupdocs.com/faqs/licensing/metered | ### Metered Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.licensing.metered/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods for applying [Metered][] license. [Metered]: https://purchase.groupdocs.com/faqs/licensing/metered #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves amount of used credits | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. > ``` > Following example demonstrates how to activate product with Metered keys. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed. > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal mbProcessed = Metered.GetConsumptionQuantity(); > ``` **Returns:** java.math.BigDecimal ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves amount of used credits > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal usedCredits = Metered.GetConsumptionCredit(); > ``` **Returns:** java.math.BigDecimal ### com.groupdocs.merger.licensing Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.licensing.md The **com.groupdocs.merger.licensing** namespace provides methods to license the component. #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. | ### License Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.licensing/license.md **Inheritance:** java.lang.Object ``` public final class License ``` Provides methods to license the component. Learn more about licensing [here][]. [here]: https://purchase.groupdocs.com/faqs/licensing #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | setLicense(InputStream licenseStream) | Licenses the component. | | setLicense(String licensePath) | Licenses the component. | ##### License() ``` public License() ``` ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing Stream of the license file. > > using (FileStream licenseStream = new FileStream("LicenseFile.lic", FileMode.Open)) > { > GroupDocs.Merger.License lic = new GroupDocs.Merger.License(); > lic.SetLicense(licenseStream); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | The license stream. | ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing a path to the license file. > > string licensePath = "GroupDocs.Merger.lic"; > GroupDocs.Merger.License lic = new GroupDocs.Merger.License(); > lic.SetLicense(licensePath); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license path. | ### com.groupdocs.merger.logging Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.logging.md The **com.groupdocs.merger.logging** namespace provides classes for customizing logging behaviour. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Writes log messages to the console. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | Defines the methods that are used to perform logging. | ### ConsoleLogger Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.logging/consolelogger.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.logging.ILogger ``` public class ConsoleLogger implements ILogger ``` Writes log messages to the console. #### Constructors | Constructor | Description | | --- | --- | | ConsoleLogger() | | #### Methods | Method | Description | | --- | --- | | trace(String message) | Writes trace message to the console. | | warning(String message) | Writes warning message to the console. | | error(String message, Exception exception) | Writes error message to the console. | ##### ConsoleLogger() ``` public ConsoleLogger() ``` ##### trace(String message) ``` public final void trace(String message) ``` Writes trace message to the console. Trace log messages provides generally useful information about application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The trace message. | ##### warning(String message) ``` public final void warning(String message) ``` Writes warning message to the console. Warning log messages provides information about unexpected and recoverable event in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The warning message. | ##### error(String message, Exception exception) ``` public final void error(String message, Exception exception) ``` Writes error message to the console. Error log messages provides information about unrecoverable events in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message. | | exception | java.lang.Exception | The exception. | ### ILogger Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.logging/ilogger.md ### com.groupdocs.merger Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger.md The **com.groupdocs.merger** namespace provides classes which allow you to merge documents and manipulate document structure (split single document to multiple documents, reorder or replace document pages, change page orientation, manage document password and perform other manipulations) across wide range of supported document types - PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, ODT, ODS, ODP, HTML, EPUB and many others.. #### Classes | Class | Description | | --- | --- | | Merger | Represents the main class that controls the document merging process. | | MergerSettings | Defines settings for customizing Merger behaviour. | ### Merger Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger/merger.md **Inheritance:** java.lang.Object ``` public class Merger ``` Represents the main class that controls the document merging process. #### Constructors | Constructor | Description | | --- | --- | | Merger(InputStream document) | Initializes new instance of Merger class. | | Merger(InputStream document, ILoadOptions loadOptions) | Initializes new instance of Merger class. | | Merger(InputStream document, MergerSettings settings) | Initializes new instance of Merger class. | | Merger(InputStream document, ILoadOptions loadOptions, MergerSettings settings) | Initializes new instance of Merger class. | | Merger(String filePath) | Initializes new instance of Merger class. | | Merger(String filePath, ILoadOptions loadOptions) | Initializes new instance of Merger class. | | Merger(String filePath, MergerSettings settings) | Initializes new instance of Merger class. | | Merger(String filePath, ILoadOptions loadOptions, MergerSettings settings) | Initializes new instance of Merger class. | #### Methods | Method | Description | | --- | --- | | dispose() | Disposes resources. | | importDocument(IImportDocumentOptions importDocumentOptions) | Imports the document as attachment or embedded via Ole. | | join(InputStream document) | Joins the documents into one single document. | | join(InputStream document, IJoinOptions joinOptions) | Joins the documents into one single document. | | join(InputStream document, IPageJoinOptions joinOptions) | Joins the documents into one single document. | | join(InputStream document, IImageJoinOptions joinOptions) | Joins the documents into one single document. | | join(String filePath) | Joins the documents into one single document. | | join(String filePath, IJoinOptions joinOptions) | Joins the documents into one single document. | | join(String filePath, IPageJoinOptions joinOptions) | Joins the documents into one single document. | | join(String filePath, IImageJoinOptions joinOptions) | Joins the documents into one single document. | | createPageBuilder() | Creates a new Page builder with predefined document collection. | | createPageBuilder(PageBuilderOptions pageBuilderOptions) | Creates a new Page builder with predefined document collection. | | applyPageBuilder(PageBuilder pageBuilder) | Applies page builder changes. | | split(ISplitOptions splitOptions) | Splits the single document to the multiple documents. | | split(ITextSplitOptions splitOptions) | Splits the single document to the multiple documents. | | extractPages(IExtractOptions extractOptions) | Makes a new document with some pages from the source document. | | addPassword(IAddPasswordOptions addPasswordOptions) | Protects document with password. | | isPasswordSet() | Checks whether document is password protected. | | removePassword() | Removes password from document. | | updatePassword(IUpdatePasswordOptions updatePasswordOptions) | Updates existing password for document. | | changeOrientation(IOrientationOptions orientationOptions) | Applies a new orientation mode for the specified pages. | | movePage(IMoveOptions moveOptions) | Moves page to a new position within document of known format. | | removePages(IRemoveOptions removeOptions) | Removes pages from document of known format. | | swapPages(ISwapOptions swapOptions) | Swaps two pages within document of known format. | | rotatePages(IRotateOptions rotateOptions) | Rotate pages of the document. | | getDocumentInfo() | Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height. | | generatePreview(IPreviewOptions previewOptions) | Generates document pages preview. | | save(OutputStream document) | Saves the result document to the stream document . | | save(OutputStream document, ISaveOptions saveOptions) | Saves the result document to the stream document . | | save(String filePath) | Saves the result document file to filePath . | | save(String filePath, boolean useDefaultDirectory) | Saves the result document file to filePath . | | save(String filePath, ISaveOptions saveOptions) | Saves the result document file to filePath . | | save(String filePath, OutputStream inputStream) | Saves the result document file to filePath . | ##### Merger(InputStream document) ``` public Merger(InputStream document) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | ##### Merger(InputStream document, ILoadOptions loadOptions) ``` public Merger(InputStream document, ILoadOptions loadOptions) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | | loadOptions | ILoadOptions | The document load options. | ##### Merger(InputStream document, MergerSettings settings) ``` public Merger(InputStream document, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | | settings | MergerSettings | The Merger settings. | ##### Merger(InputStream document, ILoadOptions loadOptions, MergerSettings settings) ``` public Merger(InputStream document, ILoadOptions loadOptions, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | | loadOptions | ILoadOptions | The document load options. | | settings | MergerSettings | The Merger settings. | ##### Merger(String filePath) ``` public Merger(String filePath) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | ##### Merger(String filePath, ILoadOptions loadOptions) ``` public Merger(String filePath, ILoadOptions loadOptions) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | | loadOptions | ILoadOptions | The document load options. | ##### Merger(String filePath, MergerSettings settings) ``` public Merger(String filePath, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | | settings | MergerSettings | The Merger settings. | ##### Merger(String filePath, ILoadOptions loadOptions, MergerSettings settings) ``` public Merger(String filePath, ILoadOptions loadOptions, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | | loadOptions | ILoadOptions | The document load options. | | settings | MergerSettings | The Merger settings. | ##### dispose() ``` public final void dispose() ``` Disposes resources. ##### importDocument(IImportDocumentOptions importDocumentOptions) ``` public final void importDocument(IImportDocumentOptions importDocumentOptions) ``` Imports the document as attachment or embedded via Ole. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | importDocumentOptions | IImportDocumentOptions | The embedded document import options. [How to add attachment to PDF document.]: https://docs.groupdocs.com/merger/java/how-to-add-attachment-to-pdf-document/ [Add document to Word processing via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-word-processing-via-ole/ [Add document to Presentation via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-presentation-via-ole/ [Add document to Spreadsheet via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-spreadsheet-via-ole/ [Add document to Diagram via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-diagram-via-ole/ | ##### join(InputStream document) ``` public final void join(InputStream document) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(InputStream document, IJoinOptions joinOptions) ``` public final void join(InputStream document, IJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. | | joinOptions | IJoinOptions | The join options. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(InputStream document, IPageJoinOptions joinOptions) ``` public final void join(InputStream document, IPageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. | | joinOptions | IPageJoinOptions | The join options. ##### join(InputStream document, IImageJoinOptions joinOptions) ``` public final void join(InputStream document, IImageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. | | joinOptions | IImageJoinOptions | The image join options. ##### join(String filePath) ``` public final void join(String filePath) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(String filePath, IJoinOptions joinOptions) ``` public final void join(String filePath, IJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. | | joinOptions | IJoinOptions | The join options. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(String filePath, IPageJoinOptions joinOptions) ``` public final void join(String filePath, IPageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. | | joinOptions | IPageJoinOptions | The join options. ##### join(String filePath, IImageJoinOptions joinOptions) ``` public final void join(String filePath, IImageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. | | joinOptions | IImageJoinOptions | The image join options. ##### createPageBuilder() ``` public final PageBuilder createPageBuilder() ``` Creates a new Page builder with predefined document collection. **Returns:** PageBuilder - The created page builder. ##### createPageBuilder(PageBuilderOptions pageBuilderOptions) ``` public final PageBuilder createPageBuilder(PageBuilderOptions pageBuilderOptions) ``` Creates a new Page builder with predefined document collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageBuilderOptions | PageBuilderOptions | | **Returns:** PageBuilder - The created page builder. ##### applyPageBuilder(PageBuilder pageBuilder) ``` public final void applyPageBuilder(PageBuilder pageBuilder) ``` Applies page builder changes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageBuilder | PageBuilder | The page builder. | ##### split(ISplitOptions splitOptions) ``` public final void split(ISplitOptions splitOptions) ``` Splits the single document to the multiple documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitOptions | ISplitOptions | The page split options. [How to split PDF_ Word_ Excel and PowerPoint documents in 3 lines of code]: https://docs.groupdocs.com/merger/java/split-document/ [Split text files guide]: https://docs.groupdocs.com/merger/java/split-text-file/ | ##### split(ITextSplitOptions splitOptions) ``` public final void split(ITextSplitOptions splitOptions) ``` Splits the single document to the multiple documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitOptions | ITextSplitOptions | The text split options. [How to split PDF_ Word_ Excel and PowerPoint documents in 3 lines of code]: https://docs.groupdocs.com/merger/java/split-document/ [Split text files guide]: https://docs.groupdocs.com/merger/java/split-text-file/ | ##### extractPages(IExtractOptions extractOptions) ``` public final void extractPages(IExtractOptions extractOptions) ``` Makes a new document with some pages from the source document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extractOptions | IExtractOptions | The page options. [How to extract pages from PDF_ Word_ Excel and PowerPoint documents]: https://docs.groupdocs.com/merger/java/extract-pages/ | ##### addPassword(IAddPasswordOptions addPasswordOptions) ``` public final void addPassword(IAddPasswordOptions addPasswordOptions) ``` Protects document with password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | addPasswordOptions | IAddPasswordOptions | The options for specifying the password. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ | ##### isPasswordSet() ``` public final boolean isPasswordSet() ``` Checks whether document is password protected. **Returns:** boolean - Returns a value indicating whether document is protected or not. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ ##### removePassword() ``` public final void removePassword() ``` Removes password from document. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ ##### updatePassword(IUpdatePasswordOptions updatePasswordOptions) ``` public final void updatePassword(IUpdatePasswordOptions updatePasswordOptions) ``` Updates existing password for document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updatePasswordOptions | IUpdatePasswordOptions | The options for specifying the current/new passwords. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ | ##### changeOrientation(IOrientationOptions orientationOptions) ``` public final void changeOrientation(IOrientationOptions orientationOptions) ``` Applies a new orientation mode for the specified pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationOptions | IOrientationOptions | The change orientation options. [How to change Microsoft Word document pages orientation]: https://docs.groupdocs.com/merger/java/change-page-orientation/ | ##### movePage(IMoveOptions moveOptions) ``` public final void movePage(IMoveOptions moveOptions) ``` Moves page to a new position within document of known format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | moveOptions | IMoveOptions | The move options. [How to move PDF_ Word_ Excel and PowerPoint document pages]: https://docs.groupdocs.com/merger/java/move-page/ | ##### removePages(IRemoveOptions removeOptions) ``` public final void removePages(IRemoveOptions removeOptions) ``` Removes pages from document of known format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | removeOptions | IRemoveOptions | The options for the numbers of pages to be removed. [How to remove page from PDF_ Word_ Excel or PowerPoint document]: https://docs.groupdocs.com/merger/java/remove-pages/ | ##### swapPages(ISwapOptions swapOptions) ``` public final void swapPages(ISwapOptions swapOptions) ``` Swaps two pages within document of known format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | swapOptions | ISwapOptions | The swap options. [How to swap pages inside PDF_ Word_ Excel or PowerPoint document]: https://docs.groupdocs.com/merger/java/swap-pages/ | ##### rotatePages(IRotateOptions rotateOptions) ``` public final void rotatePages(IRotateOptions rotateOptions) ``` Rotate pages of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateOptions | IRotateOptions | The options for the page rotating. [How to rotate PDF document pages]: https://docs.groupdocs.com/merger/java/rotate-pages/ | ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height. **Returns:** IDocumentInfo - Information about document properties. [How to get document info using GroupDocs.Merger]: https://docs.groupdocs.com/merger/java/get-document-information/ ##### generatePreview(IPreviewOptions previewOptions) ``` public final void generatePreview(IPreviewOptions previewOptions) ``` Generates document pages preview. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewOptions | IPreviewOptions | The preview options. [How to generate document pages preview using GroupDocs.Merger]: https://docs.groupdocs.com/merger/java/generate-document-pages-preview/ | ##### save(OutputStream document) ``` public final void save(OutputStream document) ``` Saves the result document to the stream document . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The document stream. | ##### save(OutputStream document, ISaveOptions saveOptions) ``` public void save(OutputStream document, ISaveOptions saveOptions) ``` Saves the result document to the stream document . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The document stream. | | saveOptions | ISaveOptions | The options for saving. | ##### save(String filePath) ``` public final void save(String filePath) ``` Saves the result document file to filePath . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file name or full file path. | ##### save(String filePath, boolean useDefaultDirectory) ``` public final void save(String filePath, boolean useDefaultDirectory) ``` Saves the result document file to filePath . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path or name in case of default directory usage. | | useDefaultDirectory | boolean | Use the default directory from settings. | ##### save(String filePath, ISaveOptions saveOptions) ``` public void save(String filePath, ISaveOptions saveOptions) ``` Saves the result document file to filePath . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path or name in case of default directory usage. | | saveOptions | ISaveOptions | The options for saving. | ##### save(String filePath, OutputStream inputStream) ``` public void save(String filePath, OutputStream inputStream) ``` Saves the result document file to filePath . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path or name in case of default directory usage. | | inputStream | java.io.OutputStream | The document stream. | ### MergerSettings Path: https://reference.groupdocs.com/merger/java/com.groupdocs.merger/mergersettings.md **Inheritance:** java.lang.Object ``` public class MergerSettings ``` Defines settings for customizing Merger behaviour. #### Constructors | Constructor | Description | | --- | --- | | MergerSettings() | Initializes new instance of MergerSettings class. | | MergerSettings(ILogger logger) | Initializes new instance of MergerSettings class. | #### Methods | Method | Description | | --- | --- | | getLogger() | The logger implementation used for tracking document processing workflow. | | setLogger(ILogger value) | The logger implementation used for tracking document processing workflow. | ##### MergerSettings() ``` public MergerSettings() ``` Initializes new instance of MergerSettings class. ##### MergerSettings(ILogger logger) ``` public MergerSettings(ILogger logger) ``` Initializes new instance of MergerSettings class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | The logger implementation. | ##### getLogger() ``` public final ILogger getLogger() ``` The logger implementation used for tracking document processing workflow. **Returns:** ILogger ##### setLogger(ILogger value) ``` public final void setLogger(ILogger value) ``` The logger implementation used for tracking document processing workflow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ILogger | | ## .NET ### GroupDocs.Merger for .NET Path: https://reference.groupdocs.com/merger/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Merger | The namespace provides classes which allow you to merge documents and manipulate document structure (split single document to multiple documents, reorder or replace document pages, change page orientation, manage document password and perform other manipulations) across wide range of supported document types - PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, ODT, ODS, ODP, HTML, EPUB and many others. | | GroupDocs.Merger.Domain | The namespace provides classes for working with document structure. | | GroupDocs.Merger.Domain.Builders | The namespace provides builders. | | GroupDocs.Merger.Domain.Common | The namespace provides common delegates. | | GroupDocs.Merger.Domain.Options | The namespace provides classes to specify additional options when loading, joining, splitting, previewing and saving documents. | | GroupDocs.Merger.Domain.Result | The namespace provides classes which represent document results. | | GroupDocs.Merger.Exceptions | The namespace provides different classes for exceptions. | | GroupDocs.Merger.Logging | The namespace provides classes for customizing logging behaviour. | ### GroupDocs.Merger.Domain.Builders Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders.md The namespace provides builders. #### Classes | Class | Description | | --- | --- | | PageBuilder | PageInfo builder for getting the page collection from the documents. | ### PageBuilder Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder.md #### PageBuilder class PageInfo builder for getting the page collection from the documents. ```csharp public class PageBuilder ``` #### Constructors | Name | Description | | --- | --- | | PageBuilder() | Initializes a new instance of the `PageBuilder` class. | | PageBuilder(PageBuilderOptions) | Initializes a new instance of the `PageBuilder` class. | #### Properties | Name | Description | | --- | --- | | Documents { get; } | The document collection. | | Options { get; } | The page builder options. | | Pages { get; } | The page collection. | #### Methods | Name | Description | | --- | --- | | AddPage(IPageInfo) | Add page to the page collection. | | AddPage(int, int) | Add page to the page collection. | | AddPageRange(IPageInfo[]) | Add pages to the page collection. | | Clear() | Clear the internal collections. | ### AddPage Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder/addpage.md #### AddPage(int, int) Add page to the page collection. ```csharp public void AddPage(int documentIndex, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | documentIndex | Int32 | DocumentInfo index. | | pageNumber | Int32 | PageInfo number. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMergerException | | #### AddPage(IPageInfo) Add page to the page collection. ```csharp public void AddPage(IPageInfo page) ``` | Parameter | Type | Description | | --- | --- | --- | | page | IPageInfo | PageInfo instance. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMergerException | | ### AddPageRange Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder/addpagerange.md #### PageBuilder.AddPageRange method Add pages to the page collection. ```csharp public void AddPageRange(IPageInfo[] pages) ``` | Parameter | Type | Description | | --- | --- | --- | | pages | IPageInfo[] | Pages array. | ##### Exceptions | exception | condition | | --- | --- | | GroupDocsMergerException | | ### Clear Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder/clear.md #### PageBuilder.Clear method Clear the internal collections. ```csharp public void Clear() ``` ### Documents Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder/documents.md #### PageBuilder.Documents property The document collection. ```csharp public ReadOnlyDictionary Documents { get; } ``` ### Options Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder/options.md #### PageBuilder.Options property The page builder options. ```csharp public PageBuilderOptions Options { get; } ``` ### PageBuilder Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder/pagebuilder.md #### PageBuilder() Initializes a new instance of the `PageBuilder` class. ```csharp public PageBuilder() ``` #### PageBuilder(PageBuilderOptions) Initializes a new instance of the `PageBuilder` class. ```csharp public PageBuilder(PageBuilderOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | options | PageBuilderOptions | The page builder options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *options* is null. | ### Pages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.builders/pagebuilder/pages.md #### PageBuilder.Pages property The page collection. ```csharp public ReadOnlyCollection Pages { get; } ``` ### GroupDocs.Merger.Domain.Common Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common.md The namespace provides common delegates. #### Classes | Class | Description | | --- | --- | | CreatePageStream | Delegate that defines method to create output page preview stream. | | CreateSplitStream | Delegate that defines method to create output split stream. | | Func<TResult> | Encapsulates a method that has no parameters and returns a value of the type specified by the *TResult* parameter. | | Func<T,TResult> | Encapsulates a method that has one parameter and returns a value of the type specified by the *TResult* parameter. | | Func<T1,T2,TResult> | Encapsulates a method that has two parameters and returns a value of the type specified by the *TResult* parameter. | | Func<T1,T2,T3,TResult> | Encapsulates a method that has three parameters and returns a value of the type specified by the *TResult* parameter. | | Func<T1,T2,T3,T4,TResult> | Encapsulates a method that has four parameters and returns a value of the type specified by the *TResult* parameter. | | ReleasePageStream | Delegate that defines method to release output page preview stream. | | ReleaseSplitStream | Delegate that defines method to release output split stream. | ### CreatePageStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/createpagestream.md #### CreatePageStream delegate Delegate that defines method to create output page preview stream. ```csharp public delegate Stream CreatePageStream(int pageNumber); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number. | ### CreateSplitStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/createsplitstream.md #### CreateSplitStream delegate Delegate that defines method to create output split stream. ```csharp public delegate Stream CreateSplitStream(int number); ``` | Parameter | Type | Description | | --- | --- | --- | | number | Int32 | The page or line number that is used for the document splitting. | ### FuncTResult Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/func-1.md #### Func<TResult> delegate Encapsulates a method that has no parameters and returns a value of the type specified by the *TResult* parameter. ```csharp public delegate TResult Func(); ``` | Parameter | Description | | --- | --- | | TResult | The type of the return value of the method that this delegate encapsulates. | ##### Return Value The return value of the method that this delegate encapsulates. ### FuncTTResult Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/func-2.md #### Func<T,TResult> delegate Encapsulates a method that has one parameter and returns a value of the type specified by the *TResult* parameter. ```csharp public delegate TResult Func(T arg); ``` | Parameter | Description | | --- | --- | | T | The type of the parameter of the method that this delegate encapsulates. | | TResult | The type of the return value of the method that this delegate encapsulates. | | arg | The parameter of the method that this delegate encapsulates. | ##### Return Value The return value of the method that this delegate encapsulates. ### FuncT1T2TResult Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/func-3.md #### Func<T1,T2,TResult> delegate Encapsulates a method that has two parameters and returns a value of the type specified by the *TResult* parameter. ```csharp public delegate TResult Func(T1 arg1, T2 arg2); ``` | Parameter | Description | | --- | --- | | T1 | The type of first parameters of the method that this delegate encapsulates. | | T2 | The type of the second parameter of the method that this delegate encapsulates. | | TResult | The type of the return value of the method that this delegate encapsulates. | | arg1 | The first parameter of the method that this delegate encapsulates. | | arg2 | The second parameter of the method that this delegate encapsulates. | ##### Return Value The return value of the method that this delegate encapsulates. ### FuncT1T2T3TResult Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/func-4.md #### Func<T1,T2,T3,TResult> delegate Encapsulates a method that has three parameters and returns a value of the type specified by the *TResult* parameter. ```csharp public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3); ``` | Parameter | Description | | --- | --- | | T1 | The type of the first parameter of the method that this delegate encapsulates. | | T2 | The type of the second parameter of the method that this delegate encapsulates. | | T3 | The type of the third parameter of the method that this delegate encapsulates. | | TResult | The type of the return value of the method that this delegate encapsulates. | | arg1 | The first parameter of the method that this delegate encapsulates. | | arg2 | The second parameter of the method that this delegate encapsulates. | | arg3 | The third parameter of the method that this delegate encapsulates. | ##### Return Value The return value of the method that this delegate encapsulates. ### FuncT1T2T3T4TResult Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/func-5.md #### Func<T1,T2,T3,T4,TResult> delegate Encapsulates a method that has four parameters and returns a value of the type specified by the *TResult* parameter. ```csharp public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4); ``` | Parameter | Description | | --- | --- | | T1 | The type of the first parameter of the method that this delegate encapsulates. | | T2 | The type of the second parameter of the method that this delegate encapsulates. | | T3 | The type of the third parameter of the method that this delegate encapsulates. | | T4 | The type of the fourth parameter of the method that this delegate encapsulates. | | TResult | The type of the return value of the method that this delegate encapsulates. | | arg1 | The first parameter of the method that this delegate encapsulates. | | arg2 | The second parameter of the method that this delegate encapsulates. | | arg3 | The third parameter of the method that this delegate encapsulates. | | arg4 | The fourth parameter of the method that this delegate encapsulates. | ##### Return Value The return value of the method that this delegate encapsulates. ### ReleasePageStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/releasepagestream.md #### ReleasePageStream delegate Delegate that defines method to release output page preview stream. ```csharp public delegate void ReleasePageStream(int pageNumber, Stream createPageStream); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number. | | createPageStream | Stream | The stream created by *createPageStream* method. | ### ReleaseSplitStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.common/releasesplitstream.md #### ReleaseSplitStream delegate Delegate that defines method to release output split stream. ```csharp public delegate void ReleaseSplitStream(int number, Stream createSplitStream); ``` | Parameter | Type | Description | | --- | --- | --- | | number | Int32 | The page or line number that is used for the document splitting. | | createSplitStream | Stream | The stream created by *createSplitStream* method. | ### GroupDocs.Merger.Domain.Options Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options.md The namespace provides classes to specify additional options when loading, joining, splitting, previewing and saving documents. #### Classes | Class | Description | | --- | --- | | AddPasswordOptions | Provides options for adding document password. | | ExtractOptions | Provides options to extract the document pages. | | ImageJoinOptions | The image join options. | | ImportDocumentOptions | Provides options for the embedded document import. | | JoinOptions | Provides options for the document joining. | | LoadOptions | Provides options for the document loading. | | MoveOptions | Provides options for moving document page. | | OleDiagramOptions | Provides options for import of the embedded document to Diagram via OLE. | | OlePresentationOptions | Provides options for import of the embedded document to Presentation via OLE. | | OleSpreadsheetOptions | Provides options for import of the embedded document to Spreadsheet via OLE. | | OleWordProcessingOptions | Provides options for import of the embedded document to Word processing via OLE. | | OrientationOptions | Provides options for the page orientation. | | PageBuilderOptions | Provides options for specifying the page builder. | | PageJoinOptions | Provides options for the document joining. | | PageOptions | Provides options for specifying page or pages range. | | PdfAccesibilitySettings | Provides Pdf Accesibility settings for the document saving. | | PdfAttachmentOptions | Provides options to attach the embedded object to Pdf. | | PdfJoinOptions | The Pdf join options. | | PdfSaveOptions | Provides additional Pdf options for the document saving. | | PdfSecurityOptions | Contains the PDF document security options. | | PreviewOptions | Represents document preview options. | | RemoveOptions | Provides options for the page removing. | | RotateOptions | Provides options for the page rotation. | | SaveOptions | Provides options for the document saving. | | SplitOptions | Provides options for the document page splitting. | | SwapOptions | Provides options for swapping document pages. | | TextSplitOptions | Provides options for the document text splitting. | | UpdatePasswordOptions | Provides options for updating document password. | | WordJoinOptions | The Word join options. | #### Interfaces | Interface | Description | | --- | --- | | IAddPasswordOptions | Interface for the password adding options. | | IExtractOptions | Interface for options to extract the document pages. | | IImageJoinOptions | Interface for the image joining options. | | IImportDocumentOptions | Interface for import of the embedded document. | | IJoinOptions | Interface for the document joining options. | | ILoadOptions | Interface for the document loading options. | | IMoveOptions | Interface for the moving page options. | | IOleDiagramOptions | Interface for import options of the embedded document to Diagram via OLE. | | IOlePresentationOptions | Interface for import options of the embedded document to Presentation via OLE. | | IOleSpreadsheetOptions | Interface for import options of the embedded document to Spreadsheet via OLE. | | IOleWordProcessingOptions | Interface for import options of the embedded document to Word processing via OLE. | | IOptions | Interface for the base options. | | IOrientationOptions | Interface for the page orientation options. | | IPageBuilderOptions | Interface for the page builder options | | IPageJoinOptions | Interface for the document page joining options. | | IPageOptions | Interface for the page options | | IPager | Interface for apply option (pages, range and etc.) | | IPdfAttachmentOptions | Interface for options of the embedded document to PDF as attachment. | | IPreviewOptions | Interface for the preview options. | | IRemoveOptions | Interface for the page removing options. | | IRotateOptions | Interface for the page rotating options. | | ISaveOptions | Interface for the document saving options. | | ISizeOptions | Interface for adding embedded object. | | ISplitOptions | Interface for the page splitting options. | | ISwapOptions | Interface for the page swapping options. | | ITextSplitOptions | Interface for the text splitting options. | | IUpdatePasswordOptions | Interface for the password updating options. | #### Enumeration | Enumeration | Description | | --- | --- | | ImageJoinMode | Possible modes for the image joining. | | OrientationMode | Defines page orientation. | | PdfSecurityPermissions | Defines PDF document permissions. | | PreviewMode | Provides modes for the page previewing. | | RangeMode | Possible modes for the page ranging. | | RotateMode | Possible modes for the page rotation. | | SplitMode | Defines page splitting modes. | | TextSplitMode | Possible text splitting modes. | | WordJoinCompliance | Possible Compliance modes for the Word Ooxml formats such as .docx, .docm, .dotx, .dotm etc. | | WordJoinMode | Possible modes for the Word joining. | ### AddPasswordOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/addpasswordoptions.md #### AddPasswordOptions class Provides options for adding document password. ```csharp public class AddPasswordOptions : IAddPasswordOptions ``` #### Constructors | Name | Description | | --- | --- | | AddPasswordOptions(string) | Initializes a new instance of the `AddPasswordOptions` class. | #### Properties | Name | Description | | --- | --- | | Password { get; } | The password for document protection. | ### AddPasswordOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/addpasswordoptions/addpasswordoptions.md #### AddPasswordOptions constructor Initializes a new instance of the `AddPasswordOptions` class. ```csharp public AddPasswordOptions(string password) ``` | Parameter | Type | Description | | --- | --- | --- | | password | String | The password. | ### Password Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/addpasswordoptions/password.md #### AddPasswordOptions.Password property The password for document protection. ```csharp public string Password { get; } ``` ### ExtractOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/extractoptions.md #### ExtractOptions class Provides options to extract the document pages. ```csharp public class ExtractOptions : PageOptions, IExtractOptions ``` #### Constructors | Name | Description | | --- | --- | | ExtractOptions() | Initializes a new instance of the `ExtractOptions` class. | | ExtractOptions(int[]) | Initializes a new instance of the `ExtractOptions` class. | | ExtractOptions(int, int) | Initializes a new instance of the `ExtractOptions` class. | | ExtractOptions(int, int, RangeMode) | Initializes a new instance of the `ExtractOptions` class. | #### Properties | Name | Description | | --- | --- | | Pages { get; } | Get page numbers collection. | ### ExtractOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/extractoptions/extractoptions.md #### ExtractOptions() Initializes a new instance of the `ExtractOptions` class. ```csharp public ExtractOptions() ``` #### ExtractOptions(int[]) Initializes a new instance of the `ExtractOptions` class. ```csharp public ExtractOptions(int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | Int32[] | Page numbers. | #### ExtractOptions(int, int) Initializes a new instance of the `ExtractOptions` class. ```csharp public ExtractOptions(int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### ExtractOptions(int, int, RangeMode) Initializes a new instance of the `ExtractOptions` class. ```csharp public ExtractOptions(int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### IAddPasswordOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iaddpasswordoptions.md #### IAddPasswordOptions interface Interface for the password adding options. ```csharp public interface IAddPasswordOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | Password { get; } | The password for document protection. | ### Password Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iaddpasswordoptions/password.md #### IAddPasswordOptions.Password property The password for document protection. ```csharp public string Password { get; } ``` ### IExtractOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iextractoptions.md #### IExtractOptions interface Interface for options to extract the document pages. ```csharp public interface IExtractOptions : IPageOptions ``` ### IImageJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iimagejoinoptions.md #### IImageJoinOptions interface Interface for the image joining options. ```csharp public interface IImageJoinOptions : IJoinOptions ``` #### Properties | Name | Description | | --- | --- | | Mode { get; } | The image join mode. | ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iimagejoinoptions/mode.md #### IImageJoinOptions.Mode property The image join mode. ```csharp public ImageJoinMode Mode { get; } ``` ### IImportDocumentOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iimportdocumentoptions.md #### IImportDocumentOptions interface Interface for import of the embedded document. ```csharp public interface IImportDocumentOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | The extension of the embedded object. | | ObjectData { get; } | The data of the embedded object. | | PageNumber { get; } | The page number for inserting of the embedded object. | ### Extension Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iimportdocumentoptions/extension.md #### IImportDocumentOptions.Extension property The extension of the embedded object. ```csharp public string Extension { get; } ``` ### ObjectData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iimportdocumentoptions/objectdata.md #### IImportDocumentOptions.ObjectData property The data of the embedded object. ```csharp public byte[] ObjectData { get; } ``` ### PageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iimportdocumentoptions/pagenumber.md #### IImportDocumentOptions.PageNumber property The page number for inserting of the embedded object. ```csharp public int PageNumber { get; } ``` ### IJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ijoinoptions.md #### IJoinOptions interface Interface for the document joining options. ```csharp public interface IJoinOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | Type { get; } | The type of the file to join. | ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ijoinoptions/type.md #### IJoinOptions.Type property The type of the file to join. ```csharp public FileType Type { get; } ``` ### ILoadOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iloadoptions.md #### ILoadOptions interface Interface for the document loading options. ```csharp public interface ILoadOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | Encoding { get; } | The encoding used when opening text-based files such as `CSV` or `TXT`. Default value is Default. | | Extension { get; } | The extension of the file to open. | | Password { get; } | The password for opening password-protected file. | | Type { get; } | The type of the file to open. | ### Encoding Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iloadoptions/encoding.md #### ILoadOptions.Encoding property The encoding used when opening text-based files such as `CSV` or `TXT`. Default value is Default. ```csharp public Encoding Encoding { get; } ``` ### Extension Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iloadoptions/extension.md #### ILoadOptions.Extension property The extension of the file to open. ```csharp public string Extension { get; } ``` ### Password Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iloadoptions/password.md #### ILoadOptions.Password property The password for opening password-protected file. ```csharp public string Password { get; } ``` ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iloadoptions/type.md #### ILoadOptions.Type property The type of the file to open. ```csharp public FileType Type { get; } ``` ### ImageJoinMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imagejoinmode.md #### ImageJoinMode enumeration Possible modes for the image joining. ```csharp public enum ImageJoinMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Horizontal | `0` | Specifies Horizontal image joining. | | Vertical | `1` | Specifies Vertical image joining. | ### ImageJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imagejoinoptions.md #### ImageJoinOptions class The image join options. ```csharp public class ImageJoinOptions : IImageJoinOptions ``` #### Constructors | Name | Description | | --- | --- | | ImageJoinOptions() | Initializes new instance of `ImageJoinOptions` class. | | ImageJoinOptions(FileType) | Initializes new instance of `ImageJoinOptions` class. | | ImageJoinOptions(ImageJoinMode) | Initializes new instance of `ImageJoinOptions` class. | | ImageJoinOptions(FileType, ImageJoinMode) | Initializes new instance of `ImageJoinOptions` class. | #### Properties | Name | Description | | --- | --- | | Mode { get; } | The image join mode. | | Type { get; } | The image file type. | ### ImageJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imagejoinoptions/imagejoinoptions.md #### ImageJoinOptions() Initializes new instance of `ImageJoinOptions` class. ```csharp public ImageJoinOptions() ``` #### ImageJoinOptions(FileType) Initializes new instance of `ImageJoinOptions` class. ```csharp public ImageJoinOptions(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The image file type. | #### ImageJoinOptions(ImageJoinMode) Initializes new instance of `ImageJoinOptions` class. ```csharp public ImageJoinOptions(ImageJoinMode imageJoinMode) ``` | Parameter | Type | Description | | --- | --- | --- | | imageJoinMode | ImageJoinMode | The image join mode. | #### ImageJoinOptions(FileType, ImageJoinMode) Initializes new instance of `ImageJoinOptions` class. ```csharp public ImageJoinOptions(FileType fileType, ImageJoinMode imageJoinMode) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The image file type. | | imageJoinMode | ImageJoinMode | The image join mode. | ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imagejoinoptions/mode.md #### ImageJoinOptions.Mode property The image join mode. ```csharp public ImageJoinMode Mode { get; } ``` ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imagejoinoptions/type.md #### ImageJoinOptions.Type property The image file type. ```csharp public FileType Type { get; } ``` ### IMoveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imoveoptions.md #### IMoveOptions interface Interface for the moving page options. ```csharp public interface IMoveOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | NewPageNumber { get; } | Gets or sets the new page number. | | PageNumberToMove { get; } | Gets or sets the page number to move. | ### NewPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imoveoptions/newpagenumber.md #### IMoveOptions.NewPageNumber property Gets or sets the new page number. ```csharp public int NewPageNumber { get; } ``` ##### Property Value The new page number. ### PageNumberToMove Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/imoveoptions/pagenumbertomove.md #### IMoveOptions.PageNumberToMove property Gets or sets the page number to move. ```csharp public int PageNumberToMove { get; } ``` ##### Property Value The page number to move. ### ImportDocumentOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/importdocumentoptions.md #### ImportDocumentOptions class Provides options for the embedded document import. ```csharp public abstract class ImportDocumentOptions : IImportDocumentOptions ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | The extension of the embedded object. | | ObjectData { get; } | The data of the embedded object. | | PageNumber { get; } | The page number for inserting of the embedded object. | ### Extension Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/importdocumentoptions/extension.md #### ImportDocumentOptions.Extension property The extension of the embedded object. ```csharp public string Extension { get; } ``` ### ObjectData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/importdocumentoptions/objectdata.md #### ImportDocumentOptions.ObjectData property The data of the embedded object. ```csharp public byte[] ObjectData { get; } ``` ### PageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/importdocumentoptions/pagenumber.md #### ImportDocumentOptions.PageNumber property The page number for inserting of the embedded object. ```csharp public int PageNumber { get; } ``` ### IOleDiagramOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolediagramoptions.md #### IOleDiagramOptions interface Interface for import options of the embedded document to Diagram via OLE. ```csharp public interface IOleDiagramOptions : IImportDocumentOptions, ISizeOptions ``` #### Properties | Name | Description | | --- | --- | | ImageData { get; } | The image data of the embedded object. | | X { get; set; } | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | Y { get; set; } | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | ### ImageData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolediagramoptions/imagedata.md #### IOleDiagramOptions.ImageData property The image data of the embedded object. ```csharp public byte[] ImageData { get; } ``` ### X Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolediagramoptions/x.md #### IOleDiagramOptions.X property The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. ```csharp public int X { get; set; } ``` ### Y Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolediagramoptions/y.md #### IOleDiagramOptions.Y property The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. ```csharp public int Y { get; set; } ``` ### IOlePresentationOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolepresentationoptions.md #### IOlePresentationOptions interface Interface for import options of the embedded document to Presentation via OLE. ```csharp public interface IOlePresentationOptions : IImportDocumentOptions, ISizeOptions ``` #### Properties | Name | Description | | --- | --- | | X { get; set; } | The X coordinate of the embedded object frame. | | Y { get; set; } | The Y coordinate of the embedded object frame. | ### X Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolepresentationoptions/x.md #### IOlePresentationOptions.X property The X coordinate of the embedded object frame. ```csharp public int X { get; set; } ``` ### Y Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolepresentationoptions/y.md #### IOlePresentationOptions.Y property The Y coordinate of the embedded object frame. ```csharp public int Y { get; set; } ``` ### IOleSpreadsheetOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolespreadsheetoptions.md #### IOleSpreadsheetOptions interface Interface for import options of the embedded document to Spreadsheet via OLE. ```csharp public interface IOleSpreadsheetOptions : IImportDocumentOptions, ISizeOptions ``` #### Properties | Name | Description | | --- | --- | | ColumnIndex { get; set; } | The upper left column index. | | ImageData { get; } | The data of the Ole object image. | | RowIndex { get; set; } | The upper left row index. | ### ColumnIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolespreadsheetoptions/columnindex.md #### IOleSpreadsheetOptions.ColumnIndex property The upper left column index. ```csharp public int ColumnIndex { get; set; } ``` ### ImageData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolespreadsheetoptions/imagedata.md #### IOleSpreadsheetOptions.ImageData property The data of the Ole object image. ```csharp public byte[] ImageData { get; } ``` ### RowIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolespreadsheetoptions/rowindex.md #### IOleSpreadsheetOptions.RowIndex property The upper left row index. ```csharp public int RowIndex { get; set; } ``` ### IOleWordProcessingOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolewordprocessingoptions.md #### IOleWordProcessingOptions interface Interface for import options of the embedded document to Word processing via OLE. ```csharp public interface IOleWordProcessingOptions : IImportDocumentOptions, ISizeOptions ``` #### Properties | Name | Description | | --- | --- | | ImageData { get; } | The data of the Ole object image. | | Left { get; set; } | The left coordinate of the Ole object image. | | Top { get; set; } | The top coordinate of the Ole object image. | ### ImageData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolewordprocessingoptions/imagedata.md #### IOleWordProcessingOptions.ImageData property The data of the Ole object image. ```csharp public byte[] ImageData { get; } ``` ### Left Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolewordprocessingoptions/left.md #### IOleWordProcessingOptions.Left property The left coordinate of the Ole object image. ```csharp public int Left { get; set; } ``` ### Top Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iolewordprocessingoptions/top.md #### IOleWordProcessingOptions.Top property The top coordinate of the Ole object image. ```csharp public int Top { get; set; } ``` ### IOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ioptions.md #### IOptions interface Interface for the base options. ```csharp public interface IOptions ``` ### IOrientationOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iorientationoptions.md #### IOrientationOptions interface Interface for the page orientation options. ```csharp public interface IOrientationOptions : IPageOptions ``` #### Properties | Name | Description | | --- | --- | | Mode { get; } | Gets the mode for the page orientation. | ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iorientationoptions/mode.md #### IOrientationOptions.Mode property Gets the mode for the page orientation. ```csharp public OrientationMode Mode { get; } ``` ### IPageBuilderOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipagebuilderoptions.md #### IPageBuilderOptions interface Interface for the page builder options ```csharp public interface IPageBuilderOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | LoadDocumentInfo { get; set; } | Specifies if each document info should load all its pages info. | ### LoadDocumentInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipagebuilderoptions/loaddocumentinfo.md #### IPageBuilderOptions.LoadDocumentInfo property Specifies if each document info should load all its pages info. ```csharp public bool LoadDocumentInfo { get; set; } ``` ### IPageJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipagejoinoptions.md #### IPageJoinOptions interface Interface for the document page joining options. ```csharp public interface IPageJoinOptions : IJoinOptions, IPageOptions ``` ### IPageOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipageoptions.md #### IPageOptions interface Interface for the page options ```csharp public interface IPageOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | Pages { get; } | Page numbers for the page options. | ### Pages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipageoptions/pages.md #### IPageOptions.Pages property Page numbers for the page options. ```csharp public int[] Pages { get; } ``` ### IPager Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipager.md #### IPager interface Interface for apply option (pages, range and etc.) ```csharp public interface IPager ``` #### Properties | Name | Description | | --- | --- | | Pages { get; } | List of page number on which operation will be applied. Note: first page have number 1. | ### Pages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipager/pages.md #### IPager.Pages property List of page number on which operation will be applied. Note: first page have number 1. ```csharp public int[] Pages { get; } ``` ### IPdfAttachmentOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipdfattachmentoptions.md #### IPdfAttachmentOptions interface Interface for options of the embedded document to PDF as attachment. ```csharp public interface IPdfAttachmentOptions : IImportDocumentOptions ``` ### IPreviewOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions.md #### IPreviewOptions interface Interface for the preview options. ```csharp public interface IPreviewOptions : IPageOptions ``` #### Properties | Name | Description | | --- | --- | | CreateStream { get; } | Delegate that defines method to create output page preview stream. | | Height { get; set; } | Preview height. | | Mode { get; } | Gets the mode for preview. | | ReleaseStream { get; } | Delegate that defines method to release output page preview stream. | | Resolution { get; set; } | Image resolution. | | Width { get; set; } | Preview width. | #### Methods | Name | Description | | --- | --- | | GetPathByPageNumber(int, string) | Gets the full file path of previewed document by page number with defined extension. | | Validate(FileType) | Validates the split options. | ### CreateStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/createstream.md #### IPreviewOptions.CreateStream property Delegate that defines method to create output page preview stream. ```csharp public CreatePageStream CreateStream { get; } ``` ### GetPathByPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/getpathbypagenumber.md #### IPreviewOptions.GetPathByPageNumber method Gets the full file path of previewed document by page number with defined extension. ```csharp public string GetPathByPageNumber(int pageNumber, string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | Page number of preview. | | extension | String | Extension of file. | ##### Return Value The full file path. ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/height.md #### IPreviewOptions.Height property Preview height. ```csharp public int Height { get; set; } ``` ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/mode.md #### IPreviewOptions.Mode property Gets the mode for preview. ```csharp public PreviewMode Mode { get; } ``` ### ReleaseStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/releasestream.md #### IPreviewOptions.ReleaseStream property Delegate that defines method to release output page preview stream. ```csharp public ReleasePageStream ReleaseStream { get; } ``` ### Resolution Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/resolution.md #### IPreviewOptions.Resolution property Image resolution. ```csharp public int Resolution { get; set; } ``` ### Validate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/validate.md #### IPreviewOptions.Validate method Validates the split options. ```csharp public void Validate(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of `FileType` class. | ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/ipreviewoptions/width.md #### IPreviewOptions.Width property Preview width. ```csharp public int Width { get; set; } ``` ### IRemoveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iremoveoptions.md #### IRemoveOptions interface Interface for the page removing options. ```csharp public interface IRemoveOptions : IPageOptions ``` ### IRotateOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/irotateoptions.md #### IRotateOptions interface Interface for the page rotating options. ```csharp public interface IRotateOptions : IPageOptions ``` #### Properties | Name | Description | | --- | --- | | Mode { get; } | Gets the mode for rotating (90, 180 or 270 degrees). | ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/irotateoptions/mode.md #### IRotateOptions.Mode property Gets the mode for rotating (90, 180 or 270 degrees). ```csharp public RotateMode Mode { get; } ``` ### ISaveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isaveoptions.md #### ISaveOptions interface Interface for the document saving options. ```csharp public interface ISaveOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | Type { get; } | File type. | ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isaveoptions/type.md #### ISaveOptions.Type property File type. ```csharp public FileType Type { get; } ``` ### ISizeOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isizeoptions.md #### ISizeOptions interface Interface for adding embedded object. ```csharp public interface ISizeOptions ``` #### Properties | Name | Description | | --- | --- | | Height { get; set; } | The height of the embedded object size. | | Width { get; set; } | The width of the embedded object size. | ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isizeoptions/height.md #### ISizeOptions.Height property The height of the embedded object size. ```csharp public int Height { get; set; } ``` ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isizeoptions/width.md #### ISizeOptions.Width property The width of the embedded object size. ```csharp public int Width { get; set; } ``` ### ISplitOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isplitoptions.md #### ISplitOptions interface Interface for the page splitting options. ```csharp public interface ISplitOptions : IPageOptions ``` #### Properties | Name | Description | | --- | --- | | CreateStream { get; } | Delegate that defines method to create output split stream. | | Mode { get; } | Gets the mode for page splitting. | | ReleaseStream { get; } | Delegate that defines method to release output split stream. | #### Methods | Name | Description | | --- | --- | | GetPathByIndex(int, string) | Gets the full file path of splitted document by index with defined extension. | | Validate(FileType) | Validates the split options. | ### CreateStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isplitoptions/createstream.md #### ISplitOptions.CreateStream property Delegate that defines method to create output split stream. ```csharp public CreateSplitStream CreateStream { get; } ``` ### GetPathByIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isplitoptions/getpathbyindex.md #### ISplitOptions.GetPathByIndex method Gets the full file path of splitted document by index with defined extension. ```csharp public string GetPathByIndex(int index, string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | index | Int32 | Index of splitted document. | | extension | String | Extension of file. | ##### Return Value The full file path. ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isplitoptions/mode.md #### ISplitOptions.Mode property Gets the mode for page splitting. ```csharp public SplitMode Mode { get; } ``` ### ReleaseStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isplitoptions/releasestream.md #### ISplitOptions.ReleaseStream property Delegate that defines method to release output split stream. ```csharp public ReleaseSplitStream ReleaseStream { get; } ``` ### Validate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/isplitoptions/validate.md #### ISplitOptions.Validate method Validates the split options. ```csharp public void Validate(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of `FileType` class. | ### ISwapOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iswapoptions.md #### ISwapOptions interface Interface for the page swapping options. ```csharp public interface ISwapOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | FirstPageNumber { get; } | First page number to exchange. | | SecondPageNumber { get; } | Second page number to exchange. | ### FirstPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iswapoptions/firstpagenumber.md #### ISwapOptions.FirstPageNumber property First page number to exchange. ```csharp public int FirstPageNumber { get; } ``` ### SecondPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iswapoptions/secondpagenumber.md #### ISwapOptions.SecondPageNumber property Second page number to exchange. ```csharp public int SecondPageNumber { get; } ``` ### ITextSplitOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/itextsplitoptions.md #### ITextSplitOptions interface Interface for the text splitting options. ```csharp public interface ITextSplitOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | CreateStream { get; } | Delegate that defines method to create output split stream. | | LineNumbers { get; } | Line numbers for text splitting. | | Mode { get; } | Mode for text splitting. | | ReleaseStream { get; } | Delegate that defines method to release output split stream. | #### Methods | Name | Description | | --- | --- | | GetPathByIndex(int, string) | Gets the full file path of splitted document by index with defined extension. | | Validate(FileType) | Validates the split options. | ### CreateStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/itextsplitoptions/createstream.md #### ITextSplitOptions.CreateStream property Delegate that defines method to create output split stream. ```csharp public CreateSplitStream CreateStream { get; } ``` ### GetPathByIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/itextsplitoptions/getpathbyindex.md #### ITextSplitOptions.GetPathByIndex method Gets the full file path of splitted document by index with defined extension. ```csharp public string GetPathByIndex(int index, string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | index | Int32 | Index of splitted document. | | extension | String | Extension of file. | ##### Return Value The full file path. ### LineNumbers Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/itextsplitoptions/linenumbers.md #### ITextSplitOptions.LineNumbers property Line numbers for text splitting. ```csharp public int[] LineNumbers { get; } ``` ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/itextsplitoptions/mode.md #### ITextSplitOptions.Mode property Mode for text splitting. ```csharp public TextSplitMode Mode { get; } ``` ### ReleaseStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/itextsplitoptions/releasestream.md #### ITextSplitOptions.ReleaseStream property Delegate that defines method to release output split stream. ```csharp public ReleaseSplitStream ReleaseStream { get; } ``` ### Validate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/itextsplitoptions/validate.md #### ITextSplitOptions.Validate method Validates the split options. ```csharp public void Validate(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of `FileType` class. | ### IUpdatePasswordOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iupdatepasswordoptions.md #### IUpdatePasswordOptions interface Interface for the password updating options. ```csharp public interface IUpdatePasswordOptions : IOptions ``` #### Properties | Name | Description | | --- | --- | | NewPassword { get; } | The new password for document protection. | ### NewPassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/iupdatepasswordoptions/newpassword.md #### IUpdatePasswordOptions.NewPassword property The new password for document protection. ```csharp public string NewPassword { get; } ``` ### JoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/joinoptions.md #### JoinOptions class Provides options for the document joining. ```csharp public class JoinOptions : IJoinOptions ``` #### Constructors | Name | Description | | --- | --- | | JoinOptions() | Initializes a new instance of the `JoinOptions` class. | | JoinOptions(FileType) | Initializes a new instance of the `JoinOptions` class. | #### Properties | Name | Description | | --- | --- | | Type { get; } | The type of the file to join. | ### JoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/joinoptions/joinoptions.md #### JoinOptions() Initializes a new instance of the `JoinOptions` class. ```csharp public JoinOptions() ``` #### JoinOptions(FileType) Initializes a new instance of the `JoinOptions` class. ```csharp public JoinOptions(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/joinoptions/type.md #### JoinOptions.Type property The type of the file to join. ```csharp public FileType Type { get; } ``` ### LoadOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/loadoptions.md #### LoadOptions class Provides options for the document loading. ```csharp public class LoadOptions : ILoadOptions ``` #### Constructors | Name | Description | | --- | --- | | LoadOptions(FileType) | Initializes new instance of `LoadOptions` class. | | LoadOptions(string) | Initializes new instance of `LoadOptions` class. | | LoadOptions(FileType, FileType) | Initializes new instance of `LoadOptions` class. | | LoadOptions(FileType, string) | Initializes new instance of `LoadOptions` class. | | LoadOptions(string, Encoding) | Initializes new instance of `LoadOptions` class. | | LoadOptions(FileType, FileType, string) | Initializes new instance of `LoadOptions` class. | | LoadOptions(FileType, string, Encoding) | Initializes new instance of `LoadOptions` class. | | LoadOptions(FileType, FileType, string, Encoding) | Initializes new instance of `LoadOptions` class. | | LoadOptions(string, FileType, string, Encoding) | Initializes new instance of `LoadOptions` class. | #### Properties | Name | Description | | --- | --- | | Encoding { get; } | The encoding used when opening text-based files such as `CSV` or `TXT`. Default value is Default. | | Extension { get; } | The extension of the file to init. | | Password { get; } | The password for opening password-protected file. | | Type { get; } | The type of the file to load. | ### Encoding Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/loadoptions/encoding.md #### LoadOptions.Encoding property The encoding used when opening text-based files such as `CSV` or `TXT`. Default value is Default. ```csharp public Encoding Encoding { get; } ``` ### Extension Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/loadoptions/extension.md #### LoadOptions.Extension property The extension of the file to init. ```csharp public string Extension { get; } ``` ### LoadOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/loadoptions/loadoptions.md #### LoadOptions(FileType) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *fileType* is null. | #### LoadOptions(string) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(string password) ``` | Parameter | Type | Description | | --- | --- | --- | | password | String | The password for opening password-protected file. | #### LoadOptions(string, Encoding) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(string password, Encoding encoding) ``` | Parameter | Type | Description | | --- | --- | --- | | password | String | The password for opening password-protected file. | | encoding | Encoding | The encoding used when opening text-based files such as `CSV` or `TXT`. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *encoding* is null. | #### LoadOptions(FileType, string) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(FileType fileType, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | | password | String | The password for opening password-protected file. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *fileType* is null. | #### LoadOptions(FileType, string, Encoding) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(FileType fileType, string password, Encoding encoding) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | | password | String | The password for opening password-protected file. | | encoding | Encoding | The encoding used when opening text-based files such as `CSV` or `TXT`. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *fileType* is null. | | ArgumentNullException | Thrown when *encoding* is null. | #### LoadOptions(string, FileType, string, Encoding) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(string extension, FileType fileType, string password, Encoding encoding) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The extension of the file to load. | | fileType | FileType | The type of the file to load. | | password | String | The password for opening password-protected file. | | encoding | Encoding | The encoding used when opening text-based files such as `CSV` or `TXT`. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *fileType* is null. | | ArgumentNullException | Thrown when *encoding* is null. | #### LoadOptions(FileType, FileType, string, Encoding) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(FileType iniFileType, FileType fileType, string password, Encoding encoding) ``` | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | | password | String | The password for opening password-protected file. | | encoding | Encoding | The encoding used when opening text-based files such as `CSV` or `TXT`. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *iniFileType* is null. | | ArgumentNullException | Thrown when *fileType* is null. | | ArgumentNullException | Thrown when *encoding* is null. | #### LoadOptions(FileType, FileType, string) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(FileType iniFileType, FileType fileType, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | | password | String | The password for opening password-protected file. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *iniFileType* is null. | | ArgumentNullException | Thrown when *fileType* is null. | #### LoadOptions(FileType, FileType) Initializes new instance of `LoadOptions` class. ```csharp public LoadOptions(FileType iniFileType, FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *iniFileType* is null. | | ArgumentNullException | Thrown when *fileType* is null. | ### Password Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/loadoptions/password.md #### LoadOptions.Password property The password for opening password-protected file. ```csharp public string Password { get; } ``` ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/loadoptions/type.md #### LoadOptions.Type property The type of the file to load. ```csharp public FileType Type { get; } ``` ### MoveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/moveoptions.md #### MoveOptions class Provides options for moving document page. ```csharp public class MoveOptions : IMoveOptions ``` #### Constructors | Name | Description | | --- | --- | | MoveOptions(int, int) | Initializes a new instance of the `MoveOptions` class. | #### Properties | Name | Description | | --- | --- | | NewPageNumber { get; } | Gets or sets the new page number. | | PageNumberToMove { get; } | Gets or sets the page number to move. | ### MoveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/moveoptions/moveoptions.md #### MoveOptions constructor Initializes a new instance of the `MoveOptions` class. ```csharp public MoveOptions(int pageNumberToMove, int newPageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumberToMove | Int32 | The page number to move. | | newPageNumber | Int32 | The new page number. | ### NewPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/moveoptions/newpagenumber.md #### MoveOptions.NewPageNumber property Gets or sets the new page number. ```csharp public int NewPageNumber { get; } ``` ##### Property Value The new page number. ### PageNumberToMove Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/moveoptions/pagenumbertomove.md #### MoveOptions.PageNumberToMove property Gets or sets the page number to move. ```csharp public int PageNumberToMove { get; } ``` ##### Property Value The page number to move. ### OleDiagramOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olediagramoptions.md #### OleDiagramOptions class Provides options for import of the embedded document to Diagram via OLE. ```csharp public class OleDiagramOptions : ImportDocumentOptions, IOleDiagramOptions ``` #### Constructors | Name | Description | | --- | --- | | OleDiagramOptions(string, int) | Initializes a new instance of the `OleDiagramOptions` class. | | OleDiagramOptions(string, byte[], int) | Initializes a new instance of the `OleDiagramOptions` class. | | OleDiagramOptions(byte[], byte[], string, int) | Initializes a new instance of the `OleDiagramOptions` class. | #### Properties | Name | Description | | --- | --- | | Extension { get; } | The extension of the embedded object. | | Height { get; set; } | The height of the embedded object shape in inches. | | ImageData { get; } | The image data of the embedded object. | | ObjectData { get; } | The data of the embedded object. | | PageNumber { get; } | The page number for inserting of the embedded object. | | Width { get; set; } | The width of the embedded object shape in inches. | | X { get; set; } | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | Y { get; set; } | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olediagramoptions/height.md #### OleDiagramOptions.Height property The height of the embedded object shape in inches. ```csharp public int Height { get; set; } ``` ### ImageData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olediagramoptions/imagedata.md #### OleDiagramOptions.ImageData property The image data of the embedded object. ```csharp public byte[] ImageData { get; } ``` ### OleDiagramOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olediagramoptions/olediagramoptions.md #### OleDiagramOptions(byte[], byte[], string, int) Initializes a new instance of the `OleDiagramOptions` class. ```csharp public OleDiagramOptions(byte[] objectData, byte[] imageData, string extension, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | objectData | Byte[] | The data of the embedded object. | | imageData | Byte[] | The image data of the embedded object. | | extension | String | The extension of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | #### OleDiagramOptions(string, byte[], int) Initializes a new instance of the `OleDiagramOptions` class. ```csharp public OleDiagramOptions(string filePath, byte[] imageData, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | | imageData | Byte[] | The image data of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | #### OleDiagramOptions(string, int) Initializes a new instance of the `OleDiagramOptions` class. ```csharp public OleDiagramOptions(string filePath, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olediagramoptions/width.md #### OleDiagramOptions.Width property The width of the embedded object shape in inches. ```csharp public int Width { get; set; } ``` ### X Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olediagramoptions/x.md #### OleDiagramOptions.X property The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. ```csharp public int X { get; set; } ``` ### Y Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olediagramoptions/y.md #### OleDiagramOptions.Y property The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. ```csharp public int Y { get; set; } ``` ### OlePresentationOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olepresentationoptions.md #### OlePresentationOptions class Provides options for import of the embedded document to Presentation via OLE. ```csharp public class OlePresentationOptions : ImportDocumentOptions, IOlePresentationOptions ``` #### Constructors | Name | Description | | --- | --- | | OlePresentationOptions(string, int) | Initializes a new instance of the `OlePresentationOptions` class. | | OlePresentationOptions(byte[], string, int) | Initializes a new instance of the `OlePresentationOptions` class. | #### Properties | Name | Description | | --- | --- | | Extension { get; } | The extension of the embedded object. | | Height { get; set; } | The height of the embedded object frame. | | ObjectData { get; } | The data of the embedded object. | | PageNumber { get; } | The page number for inserting of the embedded object. | | Width { get; set; } | The width of the embedded object frame. | | X { get; set; } | The X coordinate of the embedded object frame. | | Y { get; set; } | The Y coordinate of the embedded object frame. | ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olepresentationoptions/height.md #### OlePresentationOptions.Height property The height of the embedded object frame. ```csharp public int Height { get; set; } ``` ### OlePresentationOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olepresentationoptions/olepresentationoptions.md #### OlePresentationOptions(byte[], string, int) Initializes a new instance of the `OlePresentationOptions` class. ```csharp public OlePresentationOptions(byte[] objectData, string extension, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | objectData | Byte[] | The data of the embedded object. | | extension | String | The extension of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | #### OlePresentationOptions(string, int) Initializes a new instance of the `OlePresentationOptions` class. ```csharp public OlePresentationOptions(string filePath, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olepresentationoptions/width.md #### OlePresentationOptions.Width property The width of the embedded object frame. ```csharp public int Width { get; set; } ``` ### X Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olepresentationoptions/x.md #### OlePresentationOptions.X property The X coordinate of the embedded object frame. ```csharp public int X { get; set; } ``` ### Y Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olepresentationoptions/y.md #### OlePresentationOptions.Y property The Y coordinate of the embedded object frame. ```csharp public int Y { get; set; } ``` ### OleSpreadsheetOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olespreadsheetoptions.md #### OleSpreadsheetOptions class Provides options for import of the embedded document to Spreadsheet via OLE. ```csharp public class OleSpreadsheetOptions : ImportDocumentOptions, IOleSpreadsheetOptions ``` #### Constructors | Name | Description | | --- | --- | | OleSpreadsheetOptions(string, int) | Initializes a new instance of the `OleSpreadsheetOptions` class. | | OleSpreadsheetOptions(string, byte[], int) | Initializes a new instance of the `OleSpreadsheetOptions` class. | | OleSpreadsheetOptions(byte[], byte[], string, int) | Initializes a new instance of the `OleSpreadsheetOptions` class. | #### Properties | Name | Description | | --- | --- | | ColumnIndex { get; set; } | The upper left column index. | | Extension { get; } | The extension of the embedded object. | | Height { get; set; } | The height of the Ole object image. | | ImageData { get; } | The data of the Ole object image. | | ObjectData { get; } | The data of the embedded object. | | PageNumber { get; } | The page number for inserting of the embedded object. | | RowIndex { get; set; } | The upper left row index. | | Width { get; set; } | The width of the Ole object image. | ### ColumnIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olespreadsheetoptions/columnindex.md #### OleSpreadsheetOptions.ColumnIndex property The upper left column index. ```csharp public int ColumnIndex { get; set; } ``` ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olespreadsheetoptions/height.md #### OleSpreadsheetOptions.Height property The height of the Ole object image. ```csharp public int Height { get; set; } ``` ### ImageData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olespreadsheetoptions/imagedata.md #### OleSpreadsheetOptions.ImageData property The data of the Ole object image. ```csharp public byte[] ImageData { get; } ``` ### OleSpreadsheetOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olespreadsheetoptions/olespreadsheetoptions.md #### OleSpreadsheetOptions(byte[], byte[], string, int) Initializes a new instance of the `OleSpreadsheetOptions` class. ```csharp public OleSpreadsheetOptions(byte[] objectData, byte[] imageData, string extension, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | objectData | Byte[] | The data of the embedded object. | | imageData | Byte[] | The image data of the embedded object. | | extension | String | The extension of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | #### OleSpreadsheetOptions(string, byte[], int) Initializes a new instance of the `OleSpreadsheetOptions` class. ```csharp public OleSpreadsheetOptions(string filePath, byte[] imageData, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | | imageData | Byte[] | The image data of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | #### OleSpreadsheetOptions(string, int) Initializes a new instance of the `OleSpreadsheetOptions` class. ```csharp public OleSpreadsheetOptions(string filePath, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | ### RowIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olespreadsheetoptions/rowindex.md #### OleSpreadsheetOptions.RowIndex property The upper left row index. ```csharp public int RowIndex { get; set; } ``` ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olespreadsheetoptions/width.md #### OleSpreadsheetOptions.Width property The width of the Ole object image. ```csharp public int Width { get; set; } ``` ### OleWordProcessingOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olewordprocessingoptions.md #### OleWordProcessingOptions class Provides options for import of the embedded document to Word processing via OLE. ```csharp public class OleWordProcessingOptions : ImportDocumentOptions, IOleWordProcessingOptions ``` #### Constructors | Name | Description | | --- | --- | | OleWordProcessingOptions(string, int) | Initializes a new instance of the `OleWordProcessingOptions` class. | | OleWordProcessingOptions(string, byte[], int) | Initializes a new instance of the `OleWordProcessingOptions` class. | | OleWordProcessingOptions(byte[], byte[], string, int) | Initializes a new instance of the `OleWordProcessingOptions` class. | #### Properties | Name | Description | | --- | --- | | Extension { get; } | The extension of the embedded object. | | Height { get; set; } | The height of the Ole object image. | | ImageData { get; } | The data of the Ole object image. | | Left { get; set; } | The left coordinate of the Ole object image. | | ObjectData { get; } | The data of the embedded object. | | PageNumber { get; } | The page number for inserting of the embedded object. | | Top { get; set; } | The top coordinate of the Ole object image. | | Width { get; set; } | The width of the Ole object image. | ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olewordprocessingoptions/height.md #### OleWordProcessingOptions.Height property The height of the Ole object image. ```csharp public int Height { get; set; } ``` ### ImageData Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olewordprocessingoptions/imagedata.md #### OleWordProcessingOptions.ImageData property The data of the Ole object image. ```csharp public byte[] ImageData { get; } ``` ### Left Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olewordprocessingoptions/left.md #### OleWordProcessingOptions.Left property The left coordinate of the Ole object image. ```csharp public int Left { get; set; } ``` ### OleWordProcessingOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olewordprocessingoptions/olewordprocessingoptions.md #### OleWordProcessingOptions(byte[], byte[], string, int) Initializes a new instance of the `OleWordProcessingOptions` class. ```csharp public OleWordProcessingOptions(byte[] objectData, byte[] imageData, string extension, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | objectData | Byte[] | The data of the embedded object. | | imageData | Byte[] | The image data of the embedded object. | | extension | String | The extension of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | #### OleWordProcessingOptions(string, byte[], int) Initializes a new instance of the `OleWordProcessingOptions` class. ```csharp public OleWordProcessingOptions(string filePath, byte[] imageData, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | | imageData | Byte[] | The image data of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | #### OleWordProcessingOptions(string, int) Initializes a new instance of the `OleWordProcessingOptions` class. ```csharp public OleWordProcessingOptions(string filePath, int pageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | | pageNumber | Int32 | The page number for adding embedded object. | ### Top Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olewordprocessingoptions/top.md #### OleWordProcessingOptions.Top property The top coordinate of the Ole object image. ```csharp public int Top { get; set; } ``` ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/olewordprocessingoptions/width.md #### OleWordProcessingOptions.Width property The width of the Ole object image. ```csharp public int Width { get; set; } ``` ### OrientationMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/orientationmode.md #### OrientationMode enumeration Defines page orientation. ```csharp public enum OrientationMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Portrait | `0` | Portrait page mode. | | Landscape | `1` | Landscape page mode. | ### OrientationOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/orientationoptions.md #### OrientationOptions class Provides options for the page orientation. ```csharp public class OrientationOptions : PageOptions, IOrientationOptions ``` #### Constructors | Name | Description | | --- | --- | | OrientationOptions(OrientationMode) | Initializes a new instance of the `OrientationOptions` class. | | OrientationOptions(OrientationMode, int[]) | Initializes a new instance of the `OrientationOptions` class. | | OrientationOptions(OrientationMode, int, int) | Initializes a new instance of the `OrientationOptions` class. | | OrientationOptions(OrientationMode, int, int, RangeMode) | Initializes a new instance of the `OrientationOptions` class. | #### Properties | Name | Description | | --- | --- | | Mode { get; } | Gets the mode for the page orientation. | | Pages { get; } | Get page numbers collection. | ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/orientationoptions/mode.md #### OrientationOptions.Mode property Gets the mode for the page orientation. ```csharp public OrientationMode Mode { get; } ``` ### OrientationOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/orientationoptions/orientationoptions.md #### OrientationOptions(OrientationMode) Initializes a new instance of the `OrientationOptions` class. ```csharp public OrientationOptions(OrientationMode orientationMode) ``` | Parameter | Type | Description | | --- | --- | --- | | orientationMode | OrientationMode | The orientation mode of `OrientationMode` | #### OrientationOptions(OrientationMode, int[]) Initializes a new instance of the `OrientationOptions` class. ```csharp public OrientationOptions(OrientationMode orientationMode, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | orientationMode | OrientationMode | The orientation mode of `OrientationMode` | | pageNumbers | Int32[] | Page numbers. | #### OrientationOptions(OrientationMode, int, int) Initializes a new instance of the `OrientationOptions` class. ```csharp public OrientationOptions(OrientationMode orientationMode, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | orientationMode | OrientationMode | The orientation mode of `OrientationMode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### OrientationOptions(OrientationMode, int, int, RangeMode) Initializes a new instance of the `OrientationOptions` class. ```csharp public OrientationOptions(OrientationMode orientationMode, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | orientationMode | OrientationMode | The orientation mode of `OrientationMode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### PageBuilderOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pagebuilderoptions.md #### PageBuilderOptions class Provides options for specifying the page builder. ```csharp public class PageBuilderOptions : IPageBuilderOptions ``` #### Constructors | Name | Description | | --- | --- | | PageBuilderOptions() | Initializes a new instance of the `PageBuilderOptions` class. | #### Properties | Name | Description | | --- | --- | | LoadDocumentInfo { get; set; } | Specifies if each document info should load all its pages info. | ### LoadDocumentInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pagebuilderoptions/loaddocumentinfo.md #### PageBuilderOptions.LoadDocumentInfo property Specifies if each document info should load all its pages info. ```csharp public bool LoadDocumentInfo { get; set; } ``` ### PageBuilderOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pagebuilderoptions/pagebuilderoptions.md #### PageBuilderOptions constructor Initializes a new instance of the `PageBuilderOptions` class. ```csharp public PageBuilderOptions() ``` ### PageJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pagejoinoptions.md #### PageJoinOptions class Provides options for the document joining. ```csharp public class PageJoinOptions : PageOptions, IPageJoinOptions ``` #### Constructors | Name | Description | | --- | --- | | PageJoinOptions() | Initializes a new instance of the `PageJoinOptions` class. | | PageJoinOptions(FileType) | Initializes a new instance of the `PageJoinOptions` class. | | PageJoinOptions(int[]) | Initializes a new instance of the `PageJoinOptions` class. | | PageJoinOptions(FileType, int[]) | Initializes a new instance of the `PageJoinOptions` class. | | PageJoinOptions(int, int) | Initializes a new instance of the `PageJoinOptions` class. | | PageJoinOptions(FileType, int, int) | Initializes a new instance of the `PageJoinOptions` class. | | PageJoinOptions(int, int, RangeMode) | Initializes a new instance of the `PageJoinOptions` class. | | PageJoinOptions(FileType, int, int, RangeMode) | Initializes a new instance of the `PageJoinOptions` class. | #### Properties | Name | Description | | --- | --- | | Pages { get; } | Get page numbers collection. | | Type { get; } | The type of the file to join. | ### PageJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pagejoinoptions/pagejoinoptions.md #### PageJoinOptions() Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions() ``` #### PageJoinOptions(int[]) Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions(int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | Int32[] | Page numbers. | #### PageJoinOptions(int, int) Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions(int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### PageJoinOptions(int, int, RangeMode) Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions(int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | #### PageJoinOptions(FileType) Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | #### PageJoinOptions(FileType, int[]) Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions(FileType fileType, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | pageNumbers | Int32[] | Page numbers. | #### PageJoinOptions(FileType, int, int) Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions(FileType fileType, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### PageJoinOptions(FileType, int, int, RangeMode) Initializes a new instance of the `PageJoinOptions` class. ```csharp public PageJoinOptions(FileType fileType, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pagejoinoptions/type.md #### PageJoinOptions.Type property The type of the file to join. ```csharp public FileType Type { get; } ``` ### PageOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pageoptions.md #### PageOptions class Provides options for specifying page or pages range. ```csharp public abstract class PageOptions : IPageOptions ``` #### Properties | Name | Description | | --- | --- | | Pages { get; } | Get page numbers collection. | ### Pages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pageoptions/pages.md #### PageOptions.Pages property Get page numbers collection. ```csharp public int[] Pages { get; } ``` ### PdfAccesibilitySettings Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfaccesibilitysettings.md #### PdfAccesibilitySettings class Provides Pdf Accesibility settings for the document saving. ```csharp public class PdfAccesibilitySettings ``` #### Constructors | Name | Description | | --- | --- | | PdfAccesibilitySettings() | The default constructor. | #### Properties | Name | Description | | --- | --- | | EnableAutoTagging { get; set; } | Enable auto tagging | ### EnableAutoTagging Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfaccesibilitysettings/enableautotagging.md #### PdfAccesibilitySettings.EnableAutoTagging property Enable auto tagging ```csharp public bool EnableAutoTagging { get; set; } ``` ### PdfAccesibilitySettings Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfaccesibilitysettings/pdfaccesibilitysettings.md #### PdfAccesibilitySettings constructor The default constructor. ```csharp public PdfAccesibilitySettings() ``` ### PdfAttachmentOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfattachmentoptions.md #### PdfAttachmentOptions class Provides options to attach the embedded object to Pdf. ```csharp public class PdfAttachmentOptions : ImportDocumentOptions, IPdfAttachmentOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfAttachmentOptions(string) | Initializes a new instance of the `PdfAttachmentOptions` class. | | PdfAttachmentOptions(byte[], string) | Initializes a new instance of the `PdfAttachmentOptions` class. | #### Properties | Name | Description | | --- | --- | | Extension { get; } | The extension of the embedded object. | | ObjectData { get; } | The data of the embedded object. | | PageNumber { get; } | The page number for inserting of the embedded object. | ### PdfAttachmentOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfattachmentoptions/pdfattachmentoptions.md #### PdfAttachmentOptions(byte[], string) Initializes a new instance of the `PdfAttachmentOptions` class. ```csharp public PdfAttachmentOptions(byte[] objectData, string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | objectData | Byte[] | The data of the embedded object. | | extension | String | The extension of the embedded object. | #### PdfAttachmentOptions(string) Initializes a new instance of the `PdfAttachmentOptions` class. ```csharp public PdfAttachmentOptions(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path of the embedded object. | ### PdfJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfjoinoptions.md #### PdfJoinOptions class The Pdf join options. ```csharp public class PdfJoinOptions : PageJoinOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfJoinOptions() | Initializes a new instance of the `PdfJoinOptions` class. | | PdfJoinOptions(FileType) | Initializes a new instance of the `PdfJoinOptions` class. | | PdfJoinOptions(int[]) | Initializes a new instance of the `PdfJoinOptions` class. | | PdfJoinOptions(FileType, int[]) | Initializes a new instance of the `PdfJoinOptions` class. | | PdfJoinOptions(int, int) | Initializes a new instance of the `PdfJoinOptions` class. | | PdfJoinOptions(FileType, int, int) | Initializes a new instance of the `PdfJoinOptions` class. | | PdfJoinOptions(int, int, RangeMode) | Initializes a new instance of the `PdfJoinOptions` class. | | PdfJoinOptions(FileType, int, int, RangeMode) | Initializes a new instance of the `PdfJoinOptions` class. | #### Properties | Name | Description | | --- | --- | | Pages { get; } | Get page numbers collection. | | PreserveAccessibility { get; set; } | Indicates if PDF accessibility (tagged PDF structure) should be preserved during merge. When true, the merged document will have auto-generated accessibility tags for PDF/UA compliance. Default is false. | | Type { get; } | The type of the file to join. | | UseBookmarks { get; set; } | Indicates if all the bookmarks will be copied by default. | ### PdfJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfjoinoptions/pdfjoinoptions.md #### PdfJoinOptions() Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions() ``` #### PdfJoinOptions(int[]) Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions(int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | Int32[] | Page numbers. | #### PdfJoinOptions(int, int) Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions(int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### PdfJoinOptions(int, int, RangeMode) Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions(int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | #### PdfJoinOptions(FileType) Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | #### PdfJoinOptions(FileType, int[]) Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions(FileType fileType, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | pageNumbers | Int32[] | Page numbers. | #### PdfJoinOptions(FileType, int, int) Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions(FileType fileType, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### PdfJoinOptions(FileType, int, int, RangeMode) Initializes a new instance of the `PdfJoinOptions` class. ```csharp public PdfJoinOptions(FileType fileType, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### PreserveAccessibility Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfjoinoptions/preserveaccessibility.md #### PdfJoinOptions.PreserveAccessibility property Indicates if PDF accessibility (tagged PDF structure) should be preserved during merge. When true, the merged document will have auto-generated accessibility tags for PDF/UA compliance. Default is false. ```csharp public bool PreserveAccessibility { get; set; } ``` ### UseBookmarks Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfjoinoptions/usebookmarks.md #### PdfJoinOptions.UseBookmarks property Indicates if all the bookmarks will be copied by default. ```csharp public bool UseBookmarks { get; set; } ``` ### PdfSaveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsaveoptions.md #### PdfSaveOptions class Provides additional Pdf options for the document saving. ```csharp public class PdfSaveOptions : SaveOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfSaveOptions() | Initializes a new instance of the `PdfSaveOptions` class. | #### Properties | Name | Description | | --- | --- | | AccesibilitySettings { get; set; } | Accesibility settings | | Type { get; } | File type. | ### AccesibilitySettings Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsaveoptions/accesibilitysettings.md #### PdfSaveOptions.AccesibilitySettings property Accesibility settings ```csharp public PdfAccesibilitySettings AccesibilitySettings { get; set; } ``` ### PdfSaveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsaveoptions/pdfsaveoptions.md #### PdfSaveOptions constructor Initializes a new instance of the `PdfSaveOptions` class. ```csharp public PdfSaveOptions() ``` ### PdfSecurityOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsecurityoptions.md #### PdfSecurityOptions class Contains the PDF document security options. ```csharp public class PdfSecurityOptions : AddPasswordOptions ``` #### Constructors | Name | Description | | --- | --- | | PdfSecurityOptions(string) | Initializes a new instance of the `PdfSecurityOptions` class. | #### Properties | Name | Description | | --- | --- | | OwnerPassword { get; set; } | The password required to change permission settings. Using a permissions password you can restrict printing, modification and data extraction. | | Password { get; } | The password for document protection. | | Permissions { get; set; } | The PDF document permissions such as printing, modification and data extraction. | ### OwnerPassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsecurityoptions/ownerpassword.md #### PdfSecurityOptions.OwnerPassword property The password required to change permission settings. Using a permissions password you can restrict printing, modification and data extraction. ```csharp public string OwnerPassword { get; set; } ``` ### PdfSecurityOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsecurityoptions/pdfsecurityoptions.md #### PdfSecurityOptions constructor Initializes a new instance of the `PdfSecurityOptions` class. ```csharp public PdfSecurityOptions(string password) ``` | Parameter | Type | Description | | --- | --- | --- | | password | String | The password. | ### Permissions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsecurityoptions/permissions.md #### PdfSecurityOptions.Permissions property The PDF document permissions such as printing, modification and data extraction. ```csharp public PdfSecurityPermissions Permissions { get; set; } ``` ### PdfSecurityPermissions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/pdfsecuritypermissions.md #### PdfSecurityPermissions enumeration Defines PDF document permissions. ```csharp [Flags] public enum PdfSecurityPermissions ``` ##### Values | Name | Value | Description | | --- | --- | --- | | AllowAll | `0` | Allow printing, modification and data extraction. | | DenyPrinting | `1` | Deny printing. | | DenyModification | `2` | Deny content modification, filling in forms, adding or modifying annotations. | | DenyDataExtraction | `4` | Deny text and graphics extraction. | | DenyAll | `7` | Deny printing, content modification and data extraction. | ### PreviewMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewmode.md #### PreviewMode enumeration Provides modes for the page previewing. ```csharp public enum PreviewMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PNG | `0` | Preview mode as .png | | JPEG | `1` | Preview mode as .jpeg | | BMP | `2` | Preview mode as .bmp | ### PreviewOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions.md #### PreviewOptions class Represents document preview options. ```csharp public class PreviewOptions : PageOptions, IPreviewOptions ``` #### Constructors | Name | Description | | --- | --- | | PreviewOptions(CreatePageStream, PreviewMode) | Initializes a new instance of the `PreviewOptions` class. | | PreviewOptions(CreatePageStream, PreviewMode, int[]) | Initializes a new instance of the `PreviewOptions` class. | | PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode) | Initializes a new instance of the `PreviewOptions` class. | | PreviewOptions(CreatePageStream, PreviewMode, int, int) | Initializes a new instance of the `PreviewOptions` class. | | PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode, int[]) | Initializes a new instance of the `PreviewOptions` class. | | PreviewOptions(CreatePageStream, PreviewMode, int, int, RangeMode) | Initializes a new instance of the `PreviewOptions` class. | | PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode, int, int) | Initializes a new instance of the `PreviewOptions` class. | | PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode, int, int, RangeMode) | Initializes a new instance of the `PreviewOptions` class. | #### Properties | Name | Description | | --- | --- | | CreateStream { get; } | Delegate that defines method to create output page preview stream. | | Height { get; set; } | Preview height. | | Mode { get; } | Mode for preview. | | Pages { get; } | Get page numbers collection. | | ReleaseStream { get; } | Delegate that defines method to release output page preview stream. | | Resolution { get; set; } | Image resolution. | | Width { get; set; } | Preview width. | #### Methods | Name | Description | | --- | --- | | GetPathByPageNumber(int, string) | Gets the full file path of previewed document by page number with defined extension. | | Validate(FileType) | Validates the preview options. | ### CreateStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/createstream.md #### PreviewOptions.CreateStream property Delegate that defines method to create output page preview stream. ```csharp public CreatePageStream CreateStream { get; } ``` ### GetPathByPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/getpathbypagenumber.md #### PreviewOptions.GetPathByPageNumber method Gets the full file path of previewed document by page number with defined extension. ```csharp public string GetPathByPageNumber(int pageNumber, string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | Page number of preview. | | extension | String | Extension of file. | ##### Return Value The full file path. ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/height.md #### PreviewOptions.Height property Preview height. ```csharp public int Height { get; set; } ``` ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/mode.md #### PreviewOptions.Mode property Mode for preview. ```csharp public PreviewMode Mode { get; } ``` ### PreviewOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/previewoptions.md #### PreviewOptions(CreatePageStream, PreviewMode) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, PreviewMode previewMode) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | previewMode | PreviewMode | The preview mode of `Mode` | #### PreviewOptions(CreatePageStream, PreviewMode, int[]) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, PreviewMode previewMode, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | previewMode | PreviewMode | The preview mode of `Mode` | | pageNumbers | Int32[] | Page numbers. | #### PreviewOptions(CreatePageStream, PreviewMode, int, int) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, PreviewMode previewMode, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | previewMode | PreviewMode | The preview mode of `Mode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### PreviewOptions(CreatePageStream, PreviewMode, int, int, RangeMode) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, PreviewMode previewMode, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | previewMode | PreviewMode | The preview mode of `Mode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | #### PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream, PreviewMode previewMode) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | releasePageStream | ReleasePageStream | The method that releases stream created by createPageStream method. | | previewMode | PreviewMode | The preview mode of `Mode` | #### PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode, int[]) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream, PreviewMode previewMode, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | releasePageStream | ReleasePageStream | The method that releases stream created by createPageStream method. | | previewMode | PreviewMode | The preview mode of `Mode` | | pageNumbers | Int32[] | Page numbers. | #### PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode, int, int) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream, PreviewMode previewMode, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | releasePageStream | ReleasePageStream | The method that releases stream created by createPageStream method. | | previewMode | PreviewMode | The preview mode of `Mode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### PreviewOptions(CreatePageStream, ReleasePageStream, PreviewMode, int, int, RangeMode) Initializes a new instance of the `PreviewOptions` class. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream, PreviewMode previewMode, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | The method that instantiates stream used to write output page data. | | releasePageStream | ReleasePageStream | The method that releases stream created by createPageStream method. | | previewMode | PreviewMode | The preview mode of `Mode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### ReleaseStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/releasestream.md #### PreviewOptions.ReleaseStream property Delegate that defines method to release output page preview stream. ```csharp public ReleasePageStream ReleaseStream { get; } ``` ### Resolution Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/resolution.md #### PreviewOptions.Resolution property Image resolution. ```csharp public int Resolution { get; set; } ``` ### Validate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/validate.md #### PreviewOptions.Validate method Validates the preview options. ```csharp public void Validate(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type. | ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/previewoptions/width.md #### PreviewOptions.Width property Preview width. ```csharp public int Width { get; set; } ``` ### RangeMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/rangemode.md #### RangeMode enumeration Possible modes for the page ranging. ```csharp public enum RangeMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | AllPages | `0` | Range have all numbers from begin to end. | | OddPages | `1` | Range have only odd numbers from begin to end. | | EvenPages | `2` | Range have only even numbers from begin to end. | ### RemoveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/removeoptions.md #### RemoveOptions class Provides options for the page removing. ```csharp public class RemoveOptions : PageOptions, IRemoveOptions ``` #### Constructors | Name | Description | | --- | --- | | RemoveOptions() | Initializes a new instance of the `RemoveOptions` class. | | RemoveOptions(int[]) | Initializes a new instance of the `RemoveOptions` class. | | RemoveOptions(int, int) | Initializes a new instance of the `RemoveOptions` class. | | RemoveOptions(int, int, RangeMode) | Initializes a new instance of the `RemoveOptions` class. | #### Properties | Name | Description | | --- | --- | | Pages { get; } | Get page numbers collection. | ### RemoveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/removeoptions/removeoptions.md #### RemoveOptions() Initializes a new instance of the `RemoveOptions` class. ```csharp public RemoveOptions() ``` #### RemoveOptions(int[]) Initializes a new instance of the `RemoveOptions` class. ```csharp public RemoveOptions(int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | Int32[] | Page numbers. | #### RemoveOptions(int, int) Initializes a new instance of the `RemoveOptions` class. ```csharp public RemoveOptions(int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### RemoveOptions(int, int, RangeMode) Initializes a new instance of the `RemoveOptions` class. ```csharp public RemoveOptions(int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### RotateMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/rotatemode.md #### RotateMode enumeration Possible modes for the page rotation. ```csharp public enum RotateMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Rotate90 | `90` | Rotate to the right with 90 degrees. | | Rotate180 | `180` | Rotate to the right with 180 degrees. | | Rotate270 | `270` | Rotate to the right with 270 degrees. | ### RotateOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/rotateoptions.md #### RotateOptions class Provides options for the page rotation. ```csharp public class RotateOptions : PageOptions, IRotateOptions ``` #### Constructors | Name | Description | | --- | --- | | RotateOptions(RotateMode) | Initializes a new instance of the `RotateOptions` class. | | RotateOptions(RotateMode, int[]) | Initializes a new instance of the `RotateOptions` class. | | RotateOptions(RotateMode, int, int) | Initializes a new instance of the `RotateOptions` class. | | RotateOptions(RotateMode, int, int, RangeMode) | Initializes a new instance of the `RotateOptions` class. | #### Properties | Name | Description | | --- | --- | | Mode { get; } | Gets the mode for rotating (90, 180 or 270 degrees). | | Pages { get; } | Get page numbers collection. | ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/rotateoptions/mode.md #### RotateOptions.Mode property Gets the mode for rotating (90, 180 or 270 degrees). ```csharp public RotateMode Mode { get; } ``` ### RotateOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/rotateoptions/rotateoptions.md #### RotateOptions(RotateMode) Initializes a new instance of the `RotateOptions` class. ```csharp public RotateOptions(RotateMode rotateMode) ``` | Parameter | Type | Description | | --- | --- | --- | | rotateMode | RotateMode | The rotating mode of `Mode` | #### RotateOptions(RotateMode, int[]) Initializes a new instance of the `RotateOptions` class. ```csharp public RotateOptions(RotateMode rotateMode, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | rotateMode | RotateMode | The rotating mode of `Mode` | | pageNumbers | Int32[] | Page numbers. | #### RotateOptions(RotateMode, int, int) Initializes a new instance of the `RotateOptions` class. ```csharp public RotateOptions(RotateMode rotateMode, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | rotateMode | RotateMode | The rotating mode of `Mode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### RotateOptions(RotateMode, int, int, RangeMode) Initializes a new instance of the `RotateOptions` class. ```csharp public RotateOptions(RotateMode rotateMode, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | rotateMode | RotateMode | The rotating mode of `Mode` | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### SaveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/saveoptions.md #### SaveOptions class Provides options for the document saving. ```csharp public class SaveOptions : ISaveOptions ``` #### Constructors | Name | Description | | --- | --- | | SaveOptions() | The default constructor. | #### Properties | Name | Description | | --- | --- | | Type { get; } | File type. | ### SaveOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/saveoptions/saveoptions.md #### SaveOptions constructor The default constructor. ```csharp public SaveOptions() ``` ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/saveoptions/type.md #### SaveOptions.Type property File type. ```csharp public FileType Type { get; } ``` ### SplitMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitmode.md #### SplitMode enumeration Defines page splitting modes. ```csharp public enum SplitMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Pages | `0` | Split pages | | Interval | `1` | Split Intervals | ### SplitOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitoptions.md #### SplitOptions class Provides options for the document page splitting. ```csharp public class SplitOptions : PageOptions, ISplitOptions ``` #### Constructors | Name | Description | | --- | --- | | SplitOptions(CreateSplitStream) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, int[]) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, ReleaseSplitStream) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(string, int[]) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, int, int) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, int[], SplitMode) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, ReleaseSplitStream, int[]) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(string, int, int) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(string, int[], SplitMode) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, int, int, RangeMode) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, ReleaseSplitStream, int, int) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, ReleaseSplitStream, int[], SplitMode) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(string, int, int, RangeMode) | Initializes a new instance of the `SplitOptions` class. | | SplitOptions(CreateSplitStream, ReleaseSplitStream, int, int, RangeMode) | Initializes a new instance of the `SplitOptions` class. | #### Properties | Name | Description | | --- | --- | | CreateStream { get; } | Delegate that defines method to create output split stream. | | Mode { get; } | Gets the mode for page splitting. | | Pages { get; } | Get page numbers collection. | | ReleaseStream { get; } | Delegate that defines method to release output split stream. | #### Methods | Name | Description | | --- | --- | | GetPathByIndex(int, string) | Gets the full file path of splitted document by index with pre-defined extension. | | Validate(FileType) | Validates the split options. | ### CreateStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitoptions/createstream.md #### SplitOptions.CreateStream property Delegate that defines method to create output split stream. ```csharp public CreateSplitStream CreateStream { get; } ``` ### GetPathByIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitoptions/getpathbyindex.md #### SplitOptions.GetPathByIndex method Gets the full file path of splitted document by index with pre-defined extension. ```csharp public string GetPathByIndex(int index, string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | index | Int32 | Index of splitted document. | | extension | String | Extension of file. | ##### Return Value The full file path. ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitoptions/mode.md #### SplitOptions.Mode property Gets the mode for page splitting. ```csharp public SplitMode Mode { get; } ``` ### ReleaseStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitoptions/releasestream.md #### SplitOptions.ReleaseStream property Delegate that defines method to release output split stream. ```csharp public ReleaseSplitStream ReleaseStream { get; } ``` ### SplitOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitoptions/splitoptions.md #### SplitOptions(string, int[]) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(string filePathFormat, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | String | The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already pre-defined extension. | | pageNumbers | Int32[] | Page numbers. | #### SplitOptions(string, int[], SplitMode) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(string filePathFormat, int[] pageNumbers, SplitMode splitMode) ``` | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | String | The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already pre-defined extension. | | pageNumbers | Int32[] | Page numbers. | | splitMode | SplitMode | The splitting mode of `Mode`. | #### SplitOptions(string, int, int) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(string filePathFormat, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | String | The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already pre-defined extension. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### SplitOptions(string, int, int, RangeMode) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(string filePathFormat, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | String | The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already pre-defined extension. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | #### SplitOptions(CreateSplitStream) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | #### SplitOptions(CreateSplitStream, int[]) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | pageNumbers | Int32[] | Page numbers. | #### SplitOptions(CreateSplitStream, int[], SplitMode) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, int[] pageNumbers, SplitMode splitMode) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | pageNumbers | Int32[] | Page numbers. | | splitMode | SplitMode | The splitting mode of `Mode`. | #### SplitOptions(CreateSplitStream, int, int) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### SplitOptions(CreateSplitStream, int, int, RangeMode) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | #### SplitOptions(CreateSplitStream, ReleaseSplitStream) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, ReleaseSplitStream releaseSplitStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | releaseSplitStream | ReleaseSplitStream | The method that releases stream created by createPageStream method. | #### SplitOptions(CreateSplitStream, ReleaseSplitStream, int[]) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, ReleaseSplitStream releaseSplitStream, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | releaseSplitStream | ReleaseSplitStream | The method that releases stream created by createPageStream method. | | pageNumbers | Int32[] | Page numbers. | #### SplitOptions(CreateSplitStream, ReleaseSplitStream, int[], SplitMode) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, ReleaseSplitStream releaseSplitStream, int[] pageNumbers, SplitMode splitMode) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | releaseSplitStream | ReleaseSplitStream | The method that releases stream created by createPageStream method. | | pageNumbers | Int32[] | Page numbers. | | splitMode | SplitMode | The splitting mode of `Mode`. | #### SplitOptions(CreateSplitStream, ReleaseSplitStream, int, int) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, ReleaseSplitStream releaseSplitStream, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | releaseSplitStream | ReleaseSplitStream | The method that releases stream created by createPageStream method. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### SplitOptions(CreateSplitStream, ReleaseSplitStream, int, int, RangeMode) Initializes a new instance of the `SplitOptions` class. ```csharp public SplitOptions(CreateSplitStream createSplitStream, ReleaseSplitStream releaseSplitStream, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | releaseSplitStream | ReleaseSplitStream | The method that releases stream created by createPageStream method. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### Validate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/splitoptions/validate.md #### SplitOptions.Validate method Validates the split options. ```csharp public void Validate(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of `FileType` class. | ### SwapOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/swapoptions.md #### SwapOptions class Provides options for swapping document pages. ```csharp public class SwapOptions : ISwapOptions ``` #### Constructors | Name | Description | | --- | --- | | SwapOptions(int, int) | Initializes a new instance of the `SwapOptions` class. | #### Properties | Name | Description | | --- | --- | | FirstPageNumber { get; } | First page number to exchange. | | SecondPageNumber { get; } | Second page number to exchange. | ### FirstPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/swapoptions/firstpagenumber.md #### SwapOptions.FirstPageNumber property First page number to exchange. ```csharp public int FirstPageNumber { get; } ``` ### SecondPageNumber Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/swapoptions/secondpagenumber.md #### SwapOptions.SecondPageNumber property Second page number to exchange. ```csharp public int SecondPageNumber { get; } ``` ### SwapOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/swapoptions/swapoptions.md #### SwapOptions constructor Initializes a new instance of the `SwapOptions` class. ```csharp public SwapOptions(int firstPageNumber, int secondPageNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | firstPageNumber | Int32 | The first page number. | | secondPageNumber | Int32 | The second page number. | ### TextSplitMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitmode.md #### TextSplitMode enumeration Possible text splitting modes. ```csharp public enum TextSplitMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Lines | `0` | Split lines | | Interval | `1` | Split Intervals | ### TextSplitOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions.md #### TextSplitOptions class Provides options for the document text splitting. ```csharp public class TextSplitOptions : ITextSplitOptions ``` #### Constructors | Name | Description | | --- | --- | | TextSplitOptions(CreateSplitStream, int[]) | Initializes a new instance of the `TextSplitOptions` class. | | TextSplitOptions(string, int[]) | Initializes a new instance of the `TextSplitOptions` class. | | TextSplitOptions(CreateSplitStream, ReleaseSplitStream, int[]) | Initializes a new instance of the `TextSplitOptions` class. | | TextSplitOptions(CreateSplitStream, TextSplitMode, int[]) | Initializes a new instance of the `TextSplitOptions` class. | | TextSplitOptions(string, TextSplitMode, int[]) | Initializes a new instance of the `TextSplitOptions` class. | | TextSplitOptions(CreateSplitStream, ReleaseSplitStream, TextSplitMode, int[]) | Initializes a new instance of the `TextSplitOptions` class. | #### Properties | Name | Description | | --- | --- | | CreateStream { get; } | Delegate that defines method to create output split stream. | | LineNumbers { get; } | Line numbers for text splitting. | | Mode { get; } | Mode for text splitting. | | ReleaseStream { get; } | Delegate that defines method to release output split stream. | #### Methods | Name | Description | | --- | --- | | GetPathByIndex(int, string) | Gets the full file path of splitted document by index with defined extension. | | Validate(FileType) | Validates the split options. | ### CreateStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions/createstream.md #### TextSplitOptions.CreateStream property Delegate that defines method to create output split stream. ```csharp public CreateSplitStream CreateStream { get; } ``` ### GetPathByIndex Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions/getpathbyindex.md #### TextSplitOptions.GetPathByIndex method Gets the full file path of splitted document by index with defined extension. ```csharp public string GetPathByIndex(int index, string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | index | Int32 | Index of splitted document. | | extension | String | Extension of file. | ##### Return Value The full file path. ### LineNumbers Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions/linenumbers.md #### TextSplitOptions.LineNumbers property Line numbers for text splitting. ```csharp public int[] LineNumbers { get; } ``` ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions/mode.md #### TextSplitOptions.Mode property Mode for text splitting. ```csharp public TextSplitMode Mode { get; } ``` ### ReleaseStream Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions/releasestream.md #### TextSplitOptions.ReleaseStream property Delegate that defines method to release output split stream. ```csharp public ReleaseSplitStream ReleaseStream { get; } ``` ### TextSplitOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions/textsplitoptions.md #### TextSplitOptions(string, int[]) Initializes a new instance of the `TextSplitOptions` class. ```csharp public TextSplitOptions(string filePathFormat, int[] lineNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | String | The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already defined extension. | | lineNumbers | Int32[] | Line numbers for text splitting. | #### TextSplitOptions(string, TextSplitMode, int[]) Initializes a new instance of the `TextSplitOptions` class. ```csharp public TextSplitOptions(string filePathFormat, TextSplitMode mode, int[] lineNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | String | The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already defined extension. | | mode | TextSplitMode | Mode for text splitting. | | lineNumbers | Int32[] | Line numbers for text splitting. | #### TextSplitOptions(CreateSplitStream, int[]) Initializes a new instance of the `TextSplitOptions` class. ```csharp public TextSplitOptions(CreateSplitStream createSplitStream, int[] lineNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | lineNumbers | Int32[] | Line numbers for text splitting. | #### TextSplitOptions(CreateSplitStream, TextSplitMode, int[]) Initializes a new instance of the `TextSplitOptions` class. ```csharp public TextSplitOptions(CreateSplitStream createSplitStream, TextSplitMode mode, int[] lineNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | mode | TextSplitMode | Mode for text splitting. | | lineNumbers | Int32[] | Line numbers for text splitting. | #### TextSplitOptions(CreateSplitStream, ReleaseSplitStream, int[]) Initializes a new instance of the `TextSplitOptions` class. ```csharp public TextSplitOptions(CreateSplitStream createSplitStream, ReleaseSplitStream releaseSplitStream, int[] lineNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | releaseSplitStream | ReleaseSplitStream | The method that releases stream created by createPageStream method. | | lineNumbers | Int32[] | Line numbers for text splitting. | #### TextSplitOptions(CreateSplitStream, ReleaseSplitStream, TextSplitMode, int[]) Initializes a new instance of the `TextSplitOptions` class. ```csharp public TextSplitOptions(CreateSplitStream createSplitStream, ReleaseSplitStream releaseSplitStream, TextSplitMode mode, int[] lineNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | createSplitStream | CreateSplitStream | The method that instantiates stream used to write output split data. | | releaseSplitStream | ReleaseSplitStream | The method that releases stream created by createPageStream method. | | mode | TextSplitMode | Mode for text splitting. | | lineNumbers | Int32[] | Line numbers for text splitting. | ### Validate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/textsplitoptions/validate.md #### TextSplitOptions.Validate method Validates the split options. ```csharp public void Validate(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of `FileType` class. | ### UpdatePasswordOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/updatepasswordoptions.md #### UpdatePasswordOptions class Provides options for updating document password. ```csharp public class UpdatePasswordOptions : IUpdatePasswordOptions ``` #### Constructors | Name | Description | | --- | --- | | UpdatePasswordOptions(string) | Initializes a new instance of the `UpdatePasswordOptions` class. | #### Properties | Name | Description | | --- | --- | | NewPassword { get; } | A new password for the document protection. | ### NewPassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/updatepasswordoptions/newpassword.md #### UpdatePasswordOptions.NewPassword property A new password for the document protection. ```csharp public string NewPassword { get; } ``` ### UpdatePasswordOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/updatepasswordoptions/updatepasswordoptions.md #### UpdatePasswordOptions constructor Initializes a new instance of the `UpdatePasswordOptions` class. ```csharp public UpdatePasswordOptions(string newPassword) ``` | Parameter | Type | Description | | --- | --- | --- | | newPassword | String | The new password. | ### WordJoinCompliance Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/wordjoincompliance.md #### WordJoinCompliance enumeration Possible Compliance modes for the Word Ooxml formats such as .docx, .docm, .dotx, .dotm etc. ```csharp public enum WordJoinCompliance ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Auto | `100` | Auto | | Ecma376_2006 | `0` | ECMA-376 1st Edition, 2006. | | Iso29500_2008_Transitional | `1` | ISO/IEC 29500:2008 Transitional compliance level. | | Iso29500_2008_Strict | `2` | ISO/IEC 29500:2008 Strict compliance level. | ### WordJoinMode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/wordjoinmode.md #### WordJoinMode enumeration Possible modes for the Word joining. ```csharp public enum WordJoinMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Default | `0` | Specifies Default Word joining. | | Continuous | `1` | Specifies Word joining without starting from new page. | | DisableSectionBreaks | `2` | Specifies Word joining without section breaks. | ### WordJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/wordjoinoptions.md #### WordJoinOptions class The Word join options. ```csharp public class WordJoinOptions : PageJoinOptions ``` #### Constructors | Name | Description | | --- | --- | | WordJoinOptions() | Initializes a new instance of the `WordJoinOptions` class. | | WordJoinOptions(FileType) | Initializes a new instance of the `WordJoinOptions` class. | | WordJoinOptions(int[]) | Initializes a new instance of the `WordJoinOptions` class. | | WordJoinOptions(FileType, int[]) | Initializes a new instance of the `WordJoinOptions` class. | | WordJoinOptions(int, int) | Initializes a new instance of the `WordJoinOptions` class. | | WordJoinOptions(FileType, int, int) | Initializes a new instance of the `WordJoinOptions` class. | | WordJoinOptions(int, int, RangeMode) | Initializes a new instance of the `WordJoinOptions` class. | | WordJoinOptions(FileType, int, int, RangeMode) | Initializes a new instance of the `WordJoinOptions` class. | #### Properties | Name | Description | | --- | --- | | Compliance { get; set; } | Compliance mode for the Word Ooxml format | | Mode { get; set; } | The Word join mode. | | Pages { get; } | Get page numbers collection. | | Type { get; } | The type of the file to join. | ### Compliance Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/wordjoinoptions/compliance.md #### WordJoinOptions.Compliance property Compliance mode for the Word Ooxml format ```csharp public WordJoinCompliance Compliance { get; set; } ``` ### Mode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/wordjoinoptions/mode.md #### WordJoinOptions.Mode property The Word join mode. ```csharp public WordJoinMode Mode { get; set; } ``` ### WordJoinOptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.options/wordjoinoptions/wordjoinoptions.md #### WordJoinOptions() Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions() ``` #### WordJoinOptions(int[]) Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions(int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | Int32[] | Page numbers. | #### WordJoinOptions(int, int) Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions(int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### WordJoinOptions(int, int, RangeMode) Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions(int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | #### WordJoinOptions(FileType) Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | #### WordJoinOptions(FileType, int[]) Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions(FileType fileType, int[] pageNumbers) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | pageNumbers | Int32[] | Page numbers. | #### WordJoinOptions(FileType, int, int) Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions(FileType fileType, int startNumber, int endNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | #### WordJoinOptions(FileType, int, int, RangeMode) Initializes a new instance of the `WordJoinOptions` class. ```csharp public WordJoinOptions(FileType fileType, int startNumber, int endNumber, RangeMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | Int32 | The start page number. | | endNumber | Int32 | The end page number. | | mode | RangeMode | The range mode. | ### GroupDocs.Merger.Domain.Result Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result.md The namespace provides classes which represent document results. #### Classes | Class | Description | | --- | --- | | DocumentInfo | Defines document description properties. | | PageInfo | Defines page description properties. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Interface for the document description properties. | | IPageInfo | Interface for the page description properties. | ### DocumentInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/documentinfo.md #### DocumentInfo class Defines document description properties. ```csharp public class DocumentInfo : IDocumentInfo, ISerializable ``` #### Constructors | Name | Description | | --- | --- | | DocumentInfo(FileType, IPageInfo[], long) | Initializes new instance of `DocumentInfo` class. | #### Properties | Name | Description | | --- | --- | | PageCount { get; } | The document pages count. | | Pages { get; } | Defines document pages collection. | | Size { get; } | Document size in bytes | | Type { get; } | Gets the file type. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### DocumentInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/documentinfo/documentinfo.md #### DocumentInfo constructor Initializes new instance of `DocumentInfo` class. ```csharp public DocumentInfo(FileType fileType, IPageInfo[] pages, long size) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | pages | IPageInfo[] | The list of pages to view. | | size | Int64 | The size of the file. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *fileType* is null. | | ArgumentNullException | Thrown when *pages* is null. | ### PageCount Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/documentinfo/pagecount.md #### DocumentInfo.PageCount property The document pages count. ```csharp public int PageCount { get; } ``` ### Pages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/documentinfo/pages.md #### DocumentInfo.Pages property Defines document pages collection. ```csharp public IPageInfo[] Pages { get; } ``` ### Size Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/documentinfo/size.md #### DocumentInfo.Size property Document size in bytes ```csharp public long Size { get; } ``` ### ToString Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/documentinfo/tostring.md #### DocumentInfo.ToString method Returns a string that represents the current object. ```csharp public override string ToString() ``` ##### Return Value A string that represents the current object. ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/documentinfo/type.md #### DocumentInfo.Type property Gets the file type. ```csharp public FileType Type { get; } ``` ### IDocumentInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/idocumentinfo.md #### IDocumentInfo interface Interface for the document description properties. ```csharp public interface IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | PageCount { get; } | The document pages count. | | Pages { get; } | Defines document pages collection. | | Size { get; } | Document size in bytes. | | Type { get; } | Gets the file type. | ### PageCount Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/idocumentinfo/pagecount.md #### IDocumentInfo.PageCount property The document pages count. ```csharp public int PageCount { get; } ``` ### Pages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/idocumentinfo/pages.md #### IDocumentInfo.Pages property Defines document pages collection. ```csharp public IPageInfo[] Pages { get; } ``` ### Size Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/idocumentinfo/size.md #### IDocumentInfo.Size property Document size in bytes. ```csharp public long Size { get; } ``` ### Type Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/idocumentinfo/type.md #### IDocumentInfo.Type property Gets the file type. ```csharp public FileType Type { get; } ``` ### IPageInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/ipageinfo.md #### IPageInfo interface Interface for the page description properties. ```csharp public interface IPageInfo ``` #### Properties | Name | Description | | --- | --- | | Document { get; set; } | Gets the document info. | | Height { get; } | Gets page height in pixels when converted to image. | | Number { get; } | Gets the page number. | | Visible { get; } | Indicates whether page is visibile or not. | | Width { get; } | Gets page width in pixels when converted to image. | ### Document Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/ipageinfo/document.md #### IPageInfo.Document property Gets the document info. ```csharp public DocumentInfo Document { get; set; } ``` ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/ipageinfo/height.md #### IPageInfo.Height property Gets page height in pixels when converted to image. ```csharp public int Height { get; } ``` ### Number Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/ipageinfo/number.md #### IPageInfo.Number property Gets the page number. ```csharp public int Number { get; } ``` ### Visible Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/ipageinfo/visible.md #### IPageInfo.Visible property Indicates whether page is visibile or not. ```csharp public bool Visible { get; } ``` ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/ipageinfo/width.md #### IPageInfo.Width property Gets page width in pixels when converted to image. ```csharp public int Width { get; } ``` ### PageInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/pageinfo.md #### PageInfo class Defines page description properties. ```csharp public class PageInfo : IPageInfo, ISerializable ``` #### Constructors | Name | Description | | --- | --- | | PageInfo(int, bool) | Initializes new instance of `PageInfo` class. | | PageInfo(int, bool, int, int) | Initializes new instance of `PageInfo` class. | #### Properties | Name | Description | | --- | --- | | Document { get; set; } | Gets the document info. | | Height { get; } | Gets page height in pixels when converted to image. | | Number { get; } | Gets the page number. | | Visible { get; } | Indicates whether page is visibile or not. | | Width { get; } | Gets page width in pixels when converted to image. | ### Document Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/pageinfo/document.md #### PageInfo.Document property Gets the document info. ```csharp public DocumentInfo Document { get; set; } ``` ### Height Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/pageinfo/height.md #### PageInfo.Height property Gets page height in pixels when converted to image. ```csharp public int Height { get; } ``` ### Number Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/pageinfo/number.md #### PageInfo.Number property Gets the page number. ```csharp public int Number { get; } ``` ### PageInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/pageinfo/pageinfo.md #### PageInfo(int, bool) Initializes new instance of `PageInfo` class. ```csharp public PageInfo(int number, bool visible) ``` | Parameter | Type | Description | | --- | --- | --- | | number | Int32 | The page number. | | visible | Boolean | The page visibility indicator. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when *number* is less or equal to zero. | #### PageInfo(int, bool, int, int) Initializes new instance of `PageInfo` class. ```csharp public PageInfo(int number, bool visible, int width, int height) ``` | Parameter | Type | Description | | --- | --- | --- | | number | Int32 | The page number. | | visible | Boolean | The page visibility indicator. | | width | Int32 | The width of the page in pixels when viewing as JPG or PNG. | | height | Int32 | The height of the page in pixels when viewing as JPG or PNG. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when *number* is less or equal to zero. | | ArgumentException | Thrown when *width* is less or equal to zero. | | ArgumentException | Thrown when *height* is less or equal to zero. | ### Visible Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/pageinfo/visible.md #### PageInfo.Visible property Indicates whether page is visibile or not. ```csharp public bool Visible { get; } ``` ### Width Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.result/pageinfo/width.md #### PageInfo.Width property Gets page width in pixels when converted to image. ```csharp public int Width { get; } ``` ### GroupDocs.Merger.Domain Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain.md The namespace provides classes for working with document structure. #### Classes | Class | Description | | --- | --- | | FileType | Represents file type. Provides methods to obtain list of all file types supported by **GroupDocs.Merger**, detect file type by extension etc. | ### FileType Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype.md #### FileType class Represents file type. Provides methods to obtain list of all file types supported by **GroupDocs.Merger**, detect file type by extension etc. ```csharp public sealed class FileType : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Filename suffix (including the period ".") e.g. ".doc". | | FileFormat { get; } | File type name e.g. "Microsoft Word Document". | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Maps file extension to file type. | | Equals(FileType) | Determines whether the current `FileType` is the same as specified `FileType` object. | | override Equals(object) | Determines whether the current `FileType` is the same as specified object. | | override GetHashCode() | Returns the hash code for the current `FileType` object. | | override ToString() | Returns a string that represents the current object. | | static GetSupportedFileTypes() | Retrieves supported file types | | static IsArchive(FileType) | Determines whether input `FileType` is archive format. | | static IsAudio(FileType) | Determines whether input `FileType` is audio format. | | static IsImage(FileType) | Determines whether input `FileType` is image format. | | static IsText(FileType) | Determines whether input `FileType` is primitive text format. | | operator == | Determines whether two `FileType` objects are the same. | | operator != | Determines whether two `FileType` objects are not the same. | #### Fields | Name | Description | | --- | --- | | static readonly BMP | Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format [here](https://docs.fileformat.com/image/bmp). | | static readonly BZ2 | Bzip2 Compressed File (.bz2) | | static readonly CSV | Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/csv). | | static readonly DOC | Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/doc). | | static readonly DOCM | Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://docs.fileformat.com/word-processing/docm). | | static readonly DOCX | Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/docx). | | static readonly DOT | Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dot). | | static readonly DOTM | Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dotm). | | static readonly DOTX | Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dotx). | | static readonly EMF | Windows Enhanced Metafile (.emf) | | static readonly EMZ | Windows Compressed Enhanced Metafile (.emz) | | static readonly EPUB | Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here](https://docs.fileformat.com/ebook/epub). | | static readonly ERR | Error Log File (.err) is a text file that contains error messages generated by a program. Learn more about this file format [here](https://fileinfo.com/extension/err). | | static readonly GIF | Graphical Interchange Format File (.gif) | | static readonly GZ | G-Zip Compressed File (.gz) | | static readonly HTML | Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://docs.fileformat.com/web/html). | | static readonly JPEG | JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here](https://docs.fileformat.com/image/jpeg). | | static readonly JPG | JPEG Image (.jpg) | | static readonly MHT | MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml). | | static readonly MHTML | MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml). | | static readonly MP3 | Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. It was developed by the Moving Picture Experts Group (MPEG) that uses Layer 3 audio compression. Compression achieved by MP3 file format is 1/10th the size of .WAV or .AIF files. Learn more about this file format [here](https://docs.fileformat.com/audio/mp3). | | static readonly ODP | OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here](https://docs.fileformat.com/presentation/odp). | | static readonly ODS | OpenDocument Spreadsheet (.ods) Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/ods). | | static readonly ODT | OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/odt). | | static readonly ONE | OneNote Document (.one) files are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here](https://docs.fileformat.com/note-taking/one). | | static readonly OTP | OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here](https://docs.fileformat.com/presentation/otp). | | static readonly OTT | OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/ott). | | static readonly PDF | Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://docs.fileformat.com/view/pdf). | | static readonly PNG | Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. Learn more about this file format [here](https://docs.fileformat.com/image/png). | | static readonly POTM | PowerPoint Open XML Macro-Enabled Presentation Template (.potm) | | static readonly POTX | PowerPoint Open XML Presentation Template (.potx) | | static readonly PPS | PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://docs.fileformat.com/presentation/pps). | | static readonly PPSM | PowerPoint Open XML Macro-Enabled Slide (.ppsm) | | static readonly PPSX | PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://docs.fileformat.com/presentation/ppsx). | | static readonly PPT | PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://docs.fileformat.com/presentation/ppt). | | static readonly PPTM | PowerPoint Open XML Macro-Enabled Presentation | | static readonly PPTX | PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://docs.fileformat.com/presentation/pptx). | | static readonly PS | PostScript File (.ps) | | static readonly RAR | Roshal ARchive Compressed File (.rar) | | static readonly RTF | Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here](https://docs.fileformat.com/word-processing/rtf). | | static readonly SevenZ | 7-Zip Compressed File (.7z) | | static readonly SVG | Scalable Vector Graphics File (.svg) | | static readonly SVGZ | Scalable Vector Graphics Compressed File (.svgz) | | static readonly TAR | Consolidated Unix File Archive (.tar) | | static readonly TEX | LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/tex). | | static readonly TIF | Tagged Image File (.tif) | | static readonly TIFF | Tagged Image File Format (.tiff) | | static readonly TSV | Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/tsv). | | static readonly TXT | Plain Text File (.txt) represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://docs.fileformat.com/word-processing/txt). | | static readonly Unknown | Represents unknown file type. | | static readonly VDX | Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here](https://docs.fileformat.com/image/vdx). | | static readonly VSD | Visio Drawing File (.vsd) | | static readonly VSDM | Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here](https://docs.fileformat.com/image/vsdm). | | static readonly VSDX | Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here](https://docs.fileformat.com/image/vsdx). | | static readonly VSS | Visio Stencil File(.vss) | | static readonly VSSM | Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here](https://docs.fileformat.com/image/vssm). | | static readonly VSSX | Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here](https://docs.fileformat.com/image/vssx). | | static readonly VST | Visio Drawing Template (.vst) | | static readonly VSTM | Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here](https://docs.fileformat.com/image/vstm). | | static readonly VSTX | Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here](https://docs.fileformat.com/image/vstx). | | static readonly VSX | Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here](https://docs.fileformat.com/image/vsx). | | static readonly VTX | Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here](https://docs.fileformat.com/image/vtx). | | static readonly WAV | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft’s Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn’t apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. It has been and is one of the standard format for audio CDs. Learn more about this file format [here](https://docs.fileformat.com/audio/wav). | | static readonly XLAM | Excel Macro-Enabled Add-In (.xlam) | | static readonly XLS | Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xls). | | static readonly XLSB | Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsb). | | static readonly XLSM | Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsm). | | static readonly XLSX | Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsx). | | static readonly XLT | Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlt). | | static readonly XLTM | Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xltm). | | static readonly XLTX | Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xltx). | | static readonly XPS | XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/xps). | | static readonly ZIP | Zipped File (.zip) | ### BMP Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/bmp.md #### FileType.BMP field Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format [here](https://docs.fileformat.com/image/bmp). ```csharp public static readonly FileType BMP; ``` ### BZ2 Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/bz2.md #### FileType.BZ2 field Bzip2 Compressed File (.bz2) ```csharp public static readonly FileType BZ2; ``` ### CSV Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/csv.md #### FileType.CSV field Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/csv). ```csharp public static readonly FileType CSV; ``` ### DOC Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/doc.md #### FileType.DOC field Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/doc). ```csharp public static readonly FileType DOC; ``` ### DOCM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/docm.md #### FileType.DOCM field Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://docs.fileformat.com/word-processing/docm). ```csharp public static readonly FileType DOCM; ``` ### DOCX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/docx.md #### FileType.DOCX field Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/docx). ```csharp public static readonly FileType DOCX; ``` ### DOT Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/dot.md #### FileType.DOT field Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dot). ```csharp public static readonly FileType DOT; ``` ### DOTM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/dotm.md #### FileType.DOTM field Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dotm). ```csharp public static readonly FileType DOTM; ``` ### DOTX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/dotx.md #### FileType.DOTX field Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dotx). ```csharp public static readonly FileType DOTX; ``` ### EMF Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/emf.md #### FileType.EMF field Windows Enhanced Metafile (.emf) ```csharp public static readonly FileType EMF; ``` ### EMZ Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/emz.md #### FileType.EMZ field Windows Compressed Enhanced Metafile (.emz) ```csharp public static readonly FileType EMZ; ``` ### EPUB Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/epub.md #### FileType.EPUB field Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here](https://docs.fileformat.com/ebook/epub). ```csharp public static readonly FileType EPUB; ``` ### Equals Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/equals.md #### Equals(FileType) Determines whether the current `FileType` is the same as specified `FileType` object. ```csharp public bool Equals(FileType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FileType | The object to compare with the current `FileType` object. | ##### Return Value ```csharp true ``` if both `FileType` objects are the same; otherwise, ```csharp false ``` #### Equals(object) Determines whether the current `FileType` is the same as specified object. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current `FileType` object. | ##### Return Value ```csharp true ``` if ```csharp obj ``` parameter is `FileType` and is the same as current `FileType` object; otherwise, ```csharp false ``` ### ERR Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/err.md #### FileType.ERR field Error Log File (.err) is a text file that contains error messages generated by a program. Learn more about this file format [here](https://fileinfo.com/extension/err). ```csharp public static readonly FileType ERR; ``` ### Extension Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/extension.md #### FileType.Extension property Filename suffix (including the period ".") e.g. ".doc". ```csharp public string Extension { get; } ``` ### FileFormat Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/fileformat.md #### FileType.FileFormat property File type name e.g. "Microsoft Word Document". ```csharp public string FileFormat { get; } ``` ### FromExtension Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/fromextension.md #### FileType.FromExtension method Maps file extension to file type. ```csharp public static FileType FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | File extension (including the period "."). | ##### Return Value When file type is supported returns it, otherwise returns default `Unknown` file type. ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when *extension* is null or empty string. | ### GetHashCode Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/gethashcode.md #### FileType.GetHashCode method Returns the hash code for the current `FileType` object. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current `FileType` object. ### GetSupportedFileTypes Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/getsupportedfiletypes.md #### FileType.GetSupportedFileTypes method Retrieves supported file types ```csharp public static IEnumerable GetSupportedFileTypes() ``` ##### Return Value Returns sequence of supported file types ### GIF Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/gif.md #### FileType.GIF field Graphical Interchange Format File (.gif) ```csharp public static readonly FileType GIF; ``` ### GZ Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/gz.md #### FileType.GZ field G-Zip Compressed File (.gz) ```csharp public static readonly FileType GZ; ``` ### HTML Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/html.md #### FileType.HTML field Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://docs.fileformat.com/web/html). ```csharp public static readonly FileType HTML; ``` ### IsArchive Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/isarchive.md #### FileType.IsArchive method Determines whether input `FileType` is archive format. ```csharp public static bool IsArchive(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The `FileType` object. | ##### Return Value ```csharp true ``` if input `FileType` is archive format; otherwise, ```csharp false ``` ### IsAudio Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/isaudio.md #### FileType.IsAudio method Determines whether input `FileType` is audio format. ```csharp public static bool IsAudio(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The `FileType` object. | ##### Return Value ```csharp true ``` if input `FileType` is audio format; otherwise, ```csharp false ``` ### IsImage Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/isimage.md #### FileType.IsImage method Determines whether input `FileType` is image format. ```csharp public static bool IsImage(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The `FileType` object. | ##### Return Value ```csharp true ``` if input `FileType` is image format; otherwise, ```csharp false ``` ### IsText Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/istext.md #### FileType.IsText method Determines whether input `FileType` is primitive text format. ```csharp public static bool IsText(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The `FileType` object. | ##### Return Value ```csharp true ``` if input `FileType` is primitive text format; otherwise, ```csharp false ``` ### JPEG Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/jpeg.md #### FileType.JPEG field JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here](https://docs.fileformat.com/image/jpeg). ```csharp public static readonly FileType JPEG; ``` ### JPG Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/jpg.md #### FileType.JPG field JPEG Image (.jpg) ```csharp public static readonly FileType JPG; ``` ### MHT Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/mht.md #### FileType.MHT field MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml). ```csharp public static readonly FileType MHT; ``` ### MHTML Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/mhtml.md #### FileType.MHTML field MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml). ```csharp public static readonly FileType MHTML; ``` ### MP3 Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/mp3.md #### FileType.MP3 field Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. It was developed by the Moving Picture Experts Group (MPEG) that uses Layer 3 audio compression. Compression achieved by MP3 file format is 1/10th the size of .WAV or .AIF files. Learn more about this file format [here](https://docs.fileformat.com/audio/mp3). ```csharp public static readonly FileType MP3; ``` ### ODP Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/odp.md #### FileType.ODP field OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here](https://docs.fileformat.com/presentation/odp). ```csharp public static readonly FileType ODP; ``` ### ODS Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/ods.md #### FileType.ODS field OpenDocument Spreadsheet (.ods) Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/ods). ```csharp public static readonly FileType ODS; ``` ### ODT Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/odt.md #### FileType.ODT field OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/odt). ```csharp public static readonly FileType ODT; ``` ### ONE Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/one.md #### FileType.ONE field OneNote Document (.one) files are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here](https://docs.fileformat.com/note-taking/one). ```csharp public static readonly FileType ONE; ``` ### op_Equality Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/op_equality.md #### FileType Equality operator Determines whether two `FileType` objects are the same. ```csharp public static bool operator ==(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left `FileType` object. | | right | FileType | Right `FileType` object. | ##### Return Value ```csharp true ``` if both `FileType` objects are the same; otherwise, ```csharp false ``` ### op_Inequality Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/op_inequality.md #### FileType Inequality operator Determines whether two `FileType` objects are not the same. ```csharp public static bool operator !=(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left `FileType` object. | | right | FileType | Right `FileType` object. | ##### Return Value ```csharp true ``` if both `FileType` objects are not the same; otherwise, ```csharp false ``` ### OTP Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/otp.md #### FileType.OTP field OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here](https://docs.fileformat.com/presentation/otp). ```csharp public static readonly FileType OTP; ``` ### OTT Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/ott.md #### FileType.OTT field OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/ott). ```csharp public static readonly FileType OTT; ``` ### PDF Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/pdf.md #### FileType.PDF field Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://docs.fileformat.com/view/pdf). ```csharp public static readonly FileType PDF; ``` ### PNG Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/png.md #### FileType.PNG field Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. Learn more about this file format [here](https://docs.fileformat.com/image/png). ```csharp public static readonly FileType PNG; ``` ### POTM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/potm.md #### FileType.POTM field PowerPoint Open XML Macro-Enabled Presentation Template (.potm) ```csharp public static readonly FileType POTM; ``` ### POTX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/potx.md #### FileType.POTX field PowerPoint Open XML Presentation Template (.potx) ```csharp public static readonly FileType POTX; ``` ### PPS Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/pps.md #### FileType.PPS field PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://docs.fileformat.com/presentation/pps). ```csharp public static readonly FileType PPS; ``` ### PPSM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/ppsm.md #### FileType.PPSM field PowerPoint Open XML Macro-Enabled Slide (.ppsm) ```csharp public static readonly FileType PPSM; ``` ### PPSX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/ppsx.md #### FileType.PPSX field PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://docs.fileformat.com/presentation/ppsx). ```csharp public static readonly FileType PPSX; ``` ### PPT Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/ppt.md #### FileType.PPT field PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://docs.fileformat.com/presentation/ppt). ```csharp public static readonly FileType PPT; ``` ### PPTM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/pptm.md #### FileType.PPTM field PowerPoint Open XML Macro-Enabled Presentation ```csharp public static readonly FileType PPTM; ``` ### PPTX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/pptx.md #### FileType.PPTX field PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://docs.fileformat.com/presentation/pptx). ```csharp public static readonly FileType PPTX; ``` ### PS Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/ps.md #### FileType.PS field PostScript File (.ps) ```csharp public static readonly FileType PS; ``` ### RAR Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/rar.md #### FileType.RAR field Roshal ARchive Compressed File (.rar) ```csharp public static readonly FileType RAR; ``` ### RTF Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/rtf.md #### FileType.RTF field Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here](https://docs.fileformat.com/word-processing/rtf). ```csharp public static readonly FileType RTF; ``` ### SevenZ Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/sevenz.md #### FileType.SevenZ field 7-Zip Compressed File (.7z) ```csharp public static readonly FileType SevenZ; ``` ### SVG Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/svg.md #### FileType.SVG field Scalable Vector Graphics File (.svg) ```csharp public static readonly FileType SVG; ``` ### SVGZ Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/svgz.md #### FileType.SVGZ field Scalable Vector Graphics Compressed File (.svgz) ```csharp public static readonly FileType SVGZ; ``` ### TAR Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/tar.md #### FileType.TAR field Consolidated Unix File Archive (.tar) ```csharp public static readonly FileType TAR; ``` ### TEX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/tex.md #### FileType.TEX field LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/tex). ```csharp public static readonly FileType TEX; ``` ### TIF Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/tif.md #### FileType.TIF field Tagged Image File (.tif) ```csharp public static readonly FileType TIF; ``` ### TIFF Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/tiff.md #### FileType.TIFF field Tagged Image File Format (.tiff) ```csharp public static readonly FileType TIFF; ``` ### ToString Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/tostring.md #### FileType.ToString method Returns a string that represents the current object. ```csharp public override string ToString() ``` ##### Return Value A string that represents the current object. ### TSV Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/tsv.md #### FileType.TSV field Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/tsv). ```csharp public static readonly FileType TSV; ``` ### TXT Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/txt.md #### FileType.TXT field Plain Text File (.txt) represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://docs.fileformat.com/word-processing/txt). ```csharp public static readonly FileType TXT; ``` ### Unknown Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/unknown.md #### FileType.Unknown field Represents unknown file type. ```csharp public static readonly FileType Unknown; ``` ### VDX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vdx.md #### FileType.VDX field Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here](https://docs.fileformat.com/image/vdx). ```csharp public static readonly FileType VDX; ``` ### VSD Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vsd.md #### FileType.VSD field Visio Drawing File (.vsd) ```csharp public static readonly FileType VSD; ``` ### VSDM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vsdm.md #### FileType.VSDM field Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here](https://docs.fileformat.com/image/vsdm). ```csharp public static readonly FileType VSDM; ``` ### VSDX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vsdx.md #### FileType.VSDX field Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here](https://docs.fileformat.com/image/vsdx). ```csharp public static readonly FileType VSDX; ``` ### VSS Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vss.md #### FileType.VSS field Visio Stencil File(.vss) ```csharp public static readonly FileType VSS; ``` ### VSSM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vssm.md #### FileType.VSSM field Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here](https://docs.fileformat.com/image/vssm). ```csharp public static readonly FileType VSSM; ``` ### VSSX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vssx.md #### FileType.VSSX field Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here](https://docs.fileformat.com/image/vssx). ```csharp public static readonly FileType VSSX; ``` ### VST Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vst.md #### FileType.VST field Visio Drawing Template (.vst) ```csharp public static readonly FileType VST; ``` ### VSTM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vstm.md #### FileType.VSTM field Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here](https://docs.fileformat.com/image/vstm). ```csharp public static readonly FileType VSTM; ``` ### VSTX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vstx.md #### FileType.VSTX field Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here](https://docs.fileformat.com/image/vstx). ```csharp public static readonly FileType VSTX; ``` ### VSX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vsx.md #### FileType.VSX field Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here](https://docs.fileformat.com/image/vsx). ```csharp public static readonly FileType VSX; ``` ### VTX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/vtx.md #### FileType.VTX field Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here](https://docs.fileformat.com/image/vtx). ```csharp public static readonly FileType VTX; ``` ### WAV Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/wav.md #### FileType.WAV field WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft’s Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn’t apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. It has been and is one of the standard format for audio CDs. Learn more about this file format [here](https://docs.fileformat.com/audio/wav). ```csharp public static readonly FileType WAV; ``` ### XLAM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xlam.md #### FileType.XLAM field Excel Macro-Enabled Add-In (.xlam) ```csharp public static readonly FileType XLAM; ``` ### XLS Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xls.md #### FileType.XLS field Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xls). ```csharp public static readonly FileType XLS; ``` ### XLSB Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xlsb.md #### FileType.XLSB field Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsb). ```csharp public static readonly FileType XLSB; ``` ### XLSM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xlsm.md #### FileType.XLSM field Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsm). ```csharp public static readonly FileType XLSM; ``` ### XLSX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xlsx.md #### FileType.XLSX field Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsx). ```csharp public static readonly FileType XLSX; ``` ### XLT Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xlt.md #### FileType.XLT field Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlt). ```csharp public static readonly FileType XLT; ``` ### XLTM Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xltm.md #### FileType.XLTM field Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xltm). ```csharp public static readonly FileType XLTM; ``` ### XLTX Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xltx.md #### FileType.XLTX field Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xltx). ```csharp public static readonly FileType XLTX; ``` ### XPS Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/xps.md #### FileType.XPS field XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/xps). ```csharp public static readonly FileType XPS; ``` ### ZIP Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.domain/filetype/zip.md #### FileType.ZIP field Zipped File (.zip) ```csharp public static readonly FileType ZIP; ``` ### GroupDocs.Merger.Exceptions Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions.md The namespace provides different classes for exceptions. #### Classes | Class | Description | | --- | --- | | FileCorruptedException | The exception that is thrown when specified file could not be loaded because it appears to be corrupted. | | FileTypeNotSupportedException | The exception that is thrown when specified file type is not supported. | | GroupDocsMergerException | Represents errors that occur during document processing. | | IncorrectPasswordException | The exception that is thrown when specified password is incorrect. | | PasswordRequiredException | The exception that is thrown when password is required to load the document. | ### FileCorruptedException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/filecorruptedexception.md #### FileCorruptedException class The exception that is thrown when specified file could not be loaded because it appears to be corrupted. ```csharp public class FileCorruptedException : GroupDocsMergerException ``` ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/filetypenotsupportedexception.md #### FileTypeNotSupportedException class The exception that is thrown when specified file type is not supported. ```csharp public class FileTypeNotSupportedException : Exception ``` #### Constructors | Name | Description | | --- | --- | | FileTypeNotSupportedException(string) | Initializes a new instance of the `FileTypeNotSupportedException` class. | ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/filetypenotsupportedexception/filetypenotsupportedexception.md #### FileTypeNotSupportedException constructor Initializes a new instance of the `FileTypeNotSupportedException` class. ```csharp public FileTypeNotSupportedException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | ### GroupDocsMergerException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/groupdocsmergerexception.md #### GroupDocsMergerException class Represents errors that occur during document processing. ```csharp public class GroupDocsMergerException : Exception ``` #### Constructors | Name | Description | | --- | --- | | GroupDocsMergerException(string) | Initializes a new instance of the `GroupDocsMergerException` class. | | GroupDocsMergerException(string, Exception) | Initializes a new instance of the `GroupDocsMergerException` class. | #### Methods | Name | Description | | --- | --- | | static GetException(Exception) | Gets the GroupDocs Merger exception from the input exception. | ### GetException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/groupdocsmergerexception/getexception.md #### GroupDocsMergerException.GetException method Gets the GroupDocs Merger exception from the input exception. ```csharp public static Exception GetException(Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | exception | Exception | The input exception. | ### GroupDocsMergerException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/groupdocsmergerexception/groupdocsmergerexception.md #### GroupDocsMergerException(string) Initializes a new instance of the `GroupDocsMergerException` class. ```csharp public GroupDocsMergerException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### GroupDocsMergerException(string, Exception) Initializes a new instance of the `GroupDocsMergerException` class. ```csharp public GroupDocsMergerException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | | innerException | Exception | The inner exception of the error. | ### IncorrectPasswordException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/incorrectpasswordexception.md #### IncorrectPasswordException class The exception that is thrown when specified password is incorrect. ```csharp public class IncorrectPasswordException : GroupDocsMergerException ``` ### PasswordRequiredException Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.exceptions/passwordrequiredexception.md #### PasswordRequiredException class The exception that is thrown when password is required to load the document. ```csharp public class PasswordRequiredException : GroupDocsMergerException ``` ### GroupDocs.Merger.Logging Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging.md The namespace provides classes for customizing logging behaviour. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Writes log messages to the console. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | Defines the methods that are used to perform logging. | ### ConsoleLogger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/consolelogger.md #### ConsoleLogger class Writes log messages to the console. ```csharp public class ConsoleLogger : ILogger ``` #### Constructors | Name | Description | | --- | --- | | ConsoleLogger() | The default constructor. | #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Writes error message to the console. Error log messages provides information about unrecoverable events in application flow. | | Trace(string) | Writes trace message to the console. Trace log messages provides generally useful information about application flow. | | Warning(string) | Writes warning message to the console. Warning log messages provides information about unexpected and recoverable event in application flow. | ### ConsoleLogger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/consolelogger/consolelogger.md #### ConsoleLogger constructor The default constructor. ```csharp public ConsoleLogger() ``` ### Error Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/consolelogger/error.md #### ConsoleLogger.Error method Writes error message to the console. Error log messages provides information about unrecoverable events in application flow. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The exception. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *message* is null. | | ArgumentNullException | Thrown when *exception* is null. | ### Trace Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/consolelogger/trace.md #### ConsoleLogger.Trace method Writes trace message to the console. Trace log messages provides generally useful information about application flow. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The trace message. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *message* is null. | ### Warning Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/consolelogger/warning.md #### ConsoleLogger.Warning method Writes warning message to the console. Warning log messages provides information about unexpected and recoverable event in application flow. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The warning message. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *message* is null. | ### ILogger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/ilogger.md #### ILogger interface Defines the methods that are used to perform logging. ```csharp public interface ILogger ``` #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | | Trace(string) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | Warning(string) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | ### Error Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/ilogger/error.md #### ILogger.Error method Writes error log message; Error log messages provides information about unrecoverable events in application flow. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The exception. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *message* is null. | | ArgumentNullException | Thrown when *exception* is null. | ### Trace Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/ilogger/trace.md #### ILogger.Trace method Writes trace log message; Trace log messages provides generally useful information about application flow. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The trace message. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *message* is null. | ### Warning Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.logging/ilogger/warning.md #### ILogger.Warning method Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The warning message. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *message* is null. | ### GroupDocs.Merger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger.md The namespace provides classes which allow you to merge documents and manipulate document structure (split single document to multiple documents, reorder or replace document pages, change page orientation, manage document password and perform other manipulations) across wide range of supported document types - PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, ODT, ODS, ODP, HTML, EPUB and many others. #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). | | Merger | Represents the main class that controls the document merging process. | | MergerSettings | Defines settings for customizing `Merger` behaviour. | | Metered | Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. | #### Interfaces | Interface | Description | | --- | --- | | IMerger | Interface for the main class that controls the document merging process. | ### IMerger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger.md #### IMerger interface Interface for the main class that controls the document merging process. ```csharp public interface IMerger ``` #### Methods | Name | Description | | --- | --- | | AddPassword(IAddPasswordOptions) | Protects document with password. | | ChangeOrientation(IOrientationOptions) | Applies a new orientation mode for the specified pages. | | ExtractPages(IExtractOptions) | Makes a new document with some pages from the source document. | | ImportDocument(IImportDocumentOptions) | Imports the document as attachment or embedded via Ole. | | Join(Stream) | Joins the documents into one single document. | | Join(string) | Joins the documents into one single document. | | Join(Stream, IImageJoinOptions) | Joins the documents into one single document. | | Join(Stream, IJoinOptions) | Joins the documents into one single document. | | Join(Stream, IPageJoinOptions) | Joins the documents into one single document. | | Join(string, IImageJoinOptions) | Joins the documents into one single document. | | Join(string, IJoinOptions) | Joins the documents into one single document. | | Join(string, IPageJoinOptions) | Joins the documents into one single document. | | MovePage(IMoveOptions) | Moves page to a new position within document of known format. | | RemovePages(IRemoveOptions) | Removes pages from document of known format. | | RemovePassword() | Removes password from document. | | Rotate(IRotateOptions) | Rotate pages of the document. | | Save(Stream, ISaveOptions) | Saves the result document to the stream *document*. | | Save(string, ISaveOptions) | Saves the result document file to *filePath*. | | Save(string, bool, ISaveOptions) | Saves the result document file to *filePath*. | | Split(ISplitOptions) | Splits the single document to the multiple documents. | | Split(ITextSplitOptions) | Splits the single document to the multiple documents. | | SwapPages(ISwapOptions) | Swaps two pages within document of known format. | | UpdatePassword(IUpdatePasswordOptions) | Updates existing password for document. | ### AddPassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/addpassword.md #### IMerger.AddPassword method Protects document with password. ```csharp public IMerger AddPassword(IAddPasswordOptions addPasswordOptions) ``` ### ChangeOrientation Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/changeorientation.md #### IMerger.ChangeOrientation method Applies a new orientation mode for the specified pages. ```csharp public IMerger ChangeOrientation(IOrientationOptions orientationOptions) ``` ### ExtractPages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/extractpages.md #### IMerger.ExtractPages method Makes a new document with some pages from the source document. ```csharp public IMerger ExtractPages(IExtractOptions extractOptions) ``` ### ImportDocument Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/importdocument.md #### IMerger.ImportDocument method Imports the document as attachment or embedded via Ole. ```csharp public IMerger ImportDocument(IImportDocumentOptions importDocumentOptions) ``` ### Join Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/join.md #### Join(Stream) Joins the documents into one single document. ```csharp public IMerger Join(Stream document) ``` #### Join(Stream, IJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(Stream document, IJoinOptions joinOptions) ``` #### Join(Stream, IPageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(Stream document, IPageJoinOptions joinOptions) ``` #### Join(Stream, IImageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(Stream document, IImageJoinOptions joinOptions) ``` #### Join(string) Joins the documents into one single document. ```csharp public IMerger Join(string filePath) ``` #### Join(string, IImageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(string filePath, IImageJoinOptions joinOptions) ``` #### Join(string, IJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(string filePath, IJoinOptions joinOptions) ``` #### Join(string, IPageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(string filePath, IPageJoinOptions joinOptions) ``` ### MovePage Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/movepage.md #### IMerger.MovePage method Moves page to a new position within document of known format. ```csharp public IMerger MovePage(IMoveOptions moveOptions) ``` ### RemovePages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/removepages.md #### IMerger.RemovePages method Removes pages from document of known format. ```csharp public IMerger RemovePages(IRemoveOptions removeOptions) ``` ### RemovePassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/removepassword.md #### IMerger.RemovePassword method Removes password from document. ```csharp public IMerger RemovePassword() ``` ### Rotate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/rotate.md #### IMerger.Rotate method Rotate pages of the document. ```csharp public IMerger Rotate(IRotateOptions rotateOptions) ``` ### Save Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/save.md #### Save(Stream, ISaveOptions) Saves the result document to the stream *document*. ```csharp public IMerger Save(Stream document, ISaveOptions saveOptions = null) ``` #### Save(string, ISaveOptions) Saves the result document file to *filePath*. ```csharp public IMerger Save(string filePath, ISaveOptions saveOptions = null) ``` #### Save(string, bool, ISaveOptions) Saves the result document file to *filePath*. ```csharp public IMerger Save(string filePath, bool useDefaultDirectory, ISaveOptions saveOptions = null) ``` ### Split Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/split.md #### Split(ISplitOptions) Splits the single document to the multiple documents. ```csharp public IMerger Split(ISplitOptions splitOptions) ``` #### Split(ITextSplitOptions) Splits the single document to the multiple documents. ```csharp public IMerger Split(ITextSplitOptions splitOptions) ``` ### SwapPages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/swappages.md #### IMerger.SwapPages method Swaps two pages within document of known format. ```csharp public IMerger SwapPages(ISwapOptions swapOptions) ``` ### UpdatePassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/imerger/updatepassword.md #### IMerger.UpdatePassword method Updates existing password for document. ```csharp public IMerger UpdatePassword(IUpdatePasswordOptions updatePasswordOptions) ``` ### License Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/license.md #### License class Provides methods to license the component. Learn more about licensing [here](https://purchase.groupdocs.com/faqs/licensing). ```csharp public sealed class License ``` #### Constructors | Name | Description | | --- | --- | | License() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | ### License Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/license/license.md #### License constructor The default constructor. ```csharp public License() ``` ### SetLicense Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/license/setlicense.md #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream licenseStream) ``` | Parameter | Type | Description | | --- | --- | --- | | licenseStream | Stream | The license stream. | ##### Examples The following example demonstrates how to set a license passing Stream of the license file. ```csharp using (FileStream licenseStream = new FileStream("LicenseFile.lic", FileMode.Open)) { GroupDocs.Merger.License lic = new GroupDocs.Merger.License(); lic.SetLicense(licenseStream); } ``` #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string licensePath) ``` | Parameter | Type | Description | | --- | --- | --- | | licensePath | String | The license path. | ##### Examples The following example demonstrates how to set a license passing a path to the license file. ```csharp string licensePath = "GroupDocs.Merger.lic"; GroupDocs.Merger.License lic = new GroupDocs.Merger.License(); lic.SetLicense(licensePath); ``` ### Merger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger.md #### Merger class Represents the main class that controls the document merging process. ```csharp public class Merger : IDisposable, IMerger ``` #### Constructors | Name | Description | | --- | --- | | Merger(Func<Stream>) | Initializes new instance of `Merger` class. | | Merger(Stream) | Initializes new instance of `Merger` class. | | Merger(string) | Initializes new instance of `Merger` class. | | Merger(Func<Stream>, ILoadOptions) | Initializes new instance of `Merger` class. | | Merger(Func<Stream>, MergerSettings) | Initializes new instance of `Merger` class. | | Merger(Stream, ILoadOptions) | Initializes new instance of `Merger` class. | | Merger(Stream, MergerSettings) | Initializes new instance of `Merger` class. | | Merger(string, ILoadOptions) | Initializes new instance of `Merger` class. | | Merger(string, MergerSettings) | Initializes new instance of `Merger` class. | | Merger(Func<Stream>, ILoadOptions, MergerSettings) | Initializes new instance of `Merger` class. | | Merger(Stream, ILoadOptions, MergerSettings) | Initializes new instance of `Merger` class. | | Merger(string, ILoadOptions, MergerSettings) | Initializes new instance of `Merger` class. | #### Methods | Name | Description | | --- | --- | | AddPassword(IAddPasswordOptions) | Protects document with password. | | ApplyPageBuilder(PageBuilder) | Applies page builder changes. | | ChangeOrientation(IOrientationOptions) | Applies a new orientation mode for the specified pages. | | CreatePageBuilder(PageBuilderOptions) | Creates a new Page builder with predefined document collection. | | Dispose() | Disposes resources. | | ExtractPages(IExtractOptions) | Makes a new document with some pages from the source document. | | GeneratePreview(IPreviewOptions) | Generates document pages preview. | | GetDocumentInfo() | Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height. | | ImportDocument(IImportDocumentOptions) | Imports the document as attachment or embedded via Ole. | | IsPasswordSet() | Checks whether document is password protected. | | Join(Stream) | Joins the documents into one single document. | | Join(string) | Joins the documents into one single document. | | Join(Stream, IImageJoinOptions) | Joins the documents into one single document. | | Join(Stream, IJoinOptions) | Joins the documents into one single document. | | Join(Stream, IPageJoinOptions) | Joins the documents into one single document. | | Join(string, IImageJoinOptions) | Joins the documents into one single document. | | Join(string, IJoinOptions) | Joins the documents into one single document. | | Join(string, IPageJoinOptions) | Joins the documents into one single document. | | MovePage(IMoveOptions) | Moves page to a new position within document of known format. | | RemovePages(IRemoveOptions) | Removes pages from document of known format. | | RemovePassword() | Removes password from document. | | Rotate(IRotateOptions) | Rotate image or pages of the document. | | Save(Stream, ISaveOptions) | Saves the result document to the stream *document*. | | Save(string, ISaveOptions) | Saves the result document file to *filePath*. | | Save(string, bool, ISaveOptions) | Saves the result document file to *filePath*. | | Split(ISplitOptions) | Splits the single document to the multiple documents. | | Split(ITextSplitOptions) | Splits the single document to the multiple documents. | | SwapPages(ISwapOptions) | Swaps two pages within document of known format. | | UpdatePassword(IUpdatePasswordOptions) | Updates existing password for document. | ### AddPassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/addpassword.md #### Merger.AddPassword method Protects document with password. ```csharp public IMerger AddPassword(IAddPasswordOptions addPasswordOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | addPasswordOptions | IAddPasswordOptions | The options for specifying the password. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *addPasswordOptions* is null. | ### ApplyPageBuilder Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/applypagebuilder.md #### Merger.ApplyPageBuilder method Applies page builder changes. ```csharp public void ApplyPageBuilder(PageBuilder pageBuilder) ``` | Parameter | Type | Description | | --- | --- | --- | | pageBuilder | PageBuilder | The page builder. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *pageBuilder* is null. | ### ChangeOrientation Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/changeorientation.md #### Merger.ChangeOrientation method Applies a new orientation mode for the specified pages. ```csharp public IMerger ChangeOrientation(IOrientationOptions orientationOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | orientationOptions | IOrientationOptions | The change orientation options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *orientationOptions* is null. | ### CreatePageBuilder Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/createpagebuilder.md #### Merger.CreatePageBuilder method Creates a new Page builder with predefined document collection. ```csharp public PageBuilder CreatePageBuilder(PageBuilderOptions pageBuilderOptions = null) ``` ##### Return Value The created page builder. ### Dispose Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/dispose.md #### Merger.Dispose method Disposes resources. ```csharp public void Dispose() ``` ### ExtractPages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/extractpages.md #### Merger.ExtractPages method Makes a new document with some pages from the source document. ```csharp public IMerger ExtractPages(IExtractOptions extractOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | extractOptions | IExtractOptions | The page options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *extractOptions* is null. | ### GeneratePreview Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/generatepreview.md #### Merger.GeneratePreview method Generates document pages preview. ```csharp public void GeneratePreview(IPreviewOptions previewOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | previewOptions | IPreviewOptions | The preview options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *previewOptions* is null. | ### GetDocumentInfo Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/getdocumentinfo.md #### Merger.GetDocumentInfo method Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height. ```csharp public IDocumentInfo GetDocumentInfo() ``` ##### Return Value Information about document properties. ### ImportDocument Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/importdocument.md #### Merger.ImportDocument method Imports the document as attachment or embedded via Ole. ```csharp public IMerger ImportDocument(IImportDocumentOptions importDocumentOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | importDocumentOptions | IImportDocumentOptions | The embedded document import options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *importDocumentOptions* is null. | ### IsPasswordSet Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/ispasswordset.md #### Merger.IsPasswordSet method Checks whether document is password protected. ```csharp public bool IsPasswordSet() ``` ##### Return Value Returns a value indicating whether document is protected or not. ### Join Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/join.md #### Join(Stream) Joins the documents into one single document. ```csharp public IMerger Join(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Joined document. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | #### Join(Stream, IJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(Stream document, IJoinOptions joinOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Joined document. | | joinOptions | IJoinOptions | The join options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | | ArgumentNullException | Thrown when *joinOptions* is null. | #### Join(Stream, IPageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(Stream document, IPageJoinOptions joinOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Joined document. | | joinOptions | IPageJoinOptions | The join options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | | ArgumentNullException | Thrown when *joinOptions* is null. | #### Join(Stream, IImageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(Stream document, IImageJoinOptions joinOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | Joined document. | | joinOptions | IImageJoinOptions | The image join options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | | ArgumentNullException | Thrown when *joinOptions* is null. | #### Join(string) Joins the documents into one single document. ```csharp public IMerger Join(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path of the joined document. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | #### Join(string, IJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(string filePath, IJoinOptions joinOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path of the joined document. | | joinOptions | IJoinOptions | The join options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | | ArgumentNullException | Thrown when *joinOptions* is null. | #### Join(string, IPageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(string filePath, IPageJoinOptions joinOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path of the joined document. | | joinOptions | IPageJoinOptions | The join options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | | ArgumentNullException | Thrown when *joinOptions* is null. | #### Join(string, IImageJoinOptions) Joins the documents into one single document. ```csharp public IMerger Join(string filePath, IImageJoinOptions joinOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | File path of the joined document. | | joinOptions | IImageJoinOptions | The image join options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | | ArgumentNullException | Thrown when *joinOptions* is null. | ### Merger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/merger.md #### Merger(Stream) Initializes new instance of `Merger` class. ```csharp public Merger(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The readable stream. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | #### Merger(Stream, ILoadOptions) Initializes new instance of `Merger` class. ```csharp public Merger(Stream document, ILoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The readable stream. | | loadOptions | ILoadOptions | The document load options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | | ArgumentNullException | Thrown when *loadOptions* is null. | #### Merger(Stream, MergerSettings) Initializes new instance of `Merger` class. ```csharp public Merger(Stream document, MergerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The readable stream. | | settings | MergerSettings | The Merger settings. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | | ArgumentNullException | Thrown when *settings* is null. | #### Merger(Stream, ILoadOptions, MergerSettings) Initializes new instance of `Merger` class. ```csharp public Merger(Stream document, ILoadOptions loadOptions, MergerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The readable stream. | | loadOptions | ILoadOptions | The document load options. | | settings | MergerSettings | The Merger settings. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | | ArgumentNullException | Thrown when *loadOptions* is null. | | ArgumentNullException | Thrown when *settings* is null. | #### Merger(Func<Stream>) Initializes new instance of `Merger` class. ```csharp public Merger(Func getFileStream) ``` | Parameter | Type | Description | | --- | --- | --- | | getFileStream | Func`1 | The method that returns readable stream. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *getFileStream* is null. | #### Merger(Func<Stream>, ILoadOptions) Initializes new instance of `Merger` class. ```csharp public Merger(Func getFileStream, ILoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | getFileStream | Func`1 | The method that returns readable stream. | | loadOptions | ILoadOptions | The document load options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *getFileStream* is null. | | ArgumentNullException | Thrown when *loadOptions* is null. | #### Merger(Func<Stream>, MergerSettings) Initializes new instance of `Merger` class. ```csharp public Merger(Func getFileStream, MergerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | getFileStream | Func`1 | The method that returns readable stream. | | settings | MergerSettings | The Merger settings. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *getFileStream* is null. | | ArgumentNullException | Thrown when *settings* is null. | #### Merger(Func<Stream>, ILoadOptions, MergerSettings) Initializes new instance of `Merger` class. ```csharp public Merger(Func getFileStream, ILoadOptions loadOptions, MergerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | getFileStream | Func`1 | The method that returns readable stream. | | loadOptions | ILoadOptions | The document load options. | | settings | MergerSettings | The Merger settings. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *getFileStream* is null. | | ArgumentNullException | Thrown when *loadOptions* is null. | | ArgumentNullException | Thrown when *settings* is null. | #### Merger(string) Initializes new instance of `Merger` class. ```csharp public Merger(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | #### Merger(string, ILoadOptions) Initializes new instance of `Merger` class. ```csharp public Merger(string filePath, ILoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path. | | loadOptions | ILoadOptions | The document load options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | | ArgumentNullException | Thrown when *loadOptions* is null. | #### Merger(string, MergerSettings) Initializes new instance of `Merger` class. ```csharp public Merger(string filePath, MergerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path. | | settings | MergerSettings | The Merger settings. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | | ArgumentNullException | Thrown when *settings* is null. | #### Merger(string, ILoadOptions, MergerSettings) Initializes new instance of `Merger` class. ```csharp public Merger(string filePath, ILoadOptions loadOptions, MergerSettings settings) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path. | | loadOptions | ILoadOptions | The document load options. | | settings | MergerSettings | The Merger settings. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | | ArgumentNullException | Thrown when *loadOptions* is null. | | ArgumentNullException | Thrown when *settings* is null. | ### MovePage Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/movepage.md #### Merger.MovePage method Moves page to a new position within document of known format. ```csharp public IMerger MovePage(IMoveOptions moveOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | moveOptions | IMoveOptions | The move options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *moveOptions* is null. | ### RemovePages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/removepages.md #### Merger.RemovePages method Removes pages from document of known format. ```csharp public IMerger RemovePages(IRemoveOptions removeOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | removeOptions | IRemoveOptions | The options for the numbers of pages to be removed. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *removeOptions* is null. | ### RemovePassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/removepassword.md #### Merger.RemovePassword method Removes password from document. ```csharp public IMerger RemovePassword() ``` ### Rotate Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/rotate.md #### Merger.Rotate method Rotate image or pages of the document. ```csharp public IMerger Rotate(IRotateOptions rotateOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | rotateOptions | IRotateOptions | The options for the page rotating. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *rotateOptions* is null. | ### Save Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/save.md #### Save(Stream, ISaveOptions) Saves the result document to the stream *document*. ```csharp public IMerger Save(Stream document, ISaveOptions saveOptions = null) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The document stream. | | saveOptions | ISaveOptions | The options for saving. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *document* is null. | #### Save(string, ISaveOptions) Saves the result document file to *filePath*. ```csharp public IMerger Save(string filePath, ISaveOptions saveOptions = null) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file name or full file path. | | saveOptions | ISaveOptions | The options for saving. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | #### Save(string, bool, ISaveOptions) Saves the result document file to *filePath*. ```csharp public IMerger Save(string filePath, bool useDefaultDirectory, ISaveOptions saveOptions = null) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The file path or name in case of default directory usage. | | useDefaultDirectory | Boolean | Use the default directory from settings. | | saveOptions | ISaveOptions | The options for saving. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *filePath* is null or empty. | ### Split Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/split.md #### Split(ISplitOptions) Splits the single document to the multiple documents. ```csharp public IMerger Split(ISplitOptions splitOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | splitOptions | ISplitOptions | The page split options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *splitOptions* is null. | #### Split(ITextSplitOptions) Splits the single document to the multiple documents. ```csharp public IMerger Split(ITextSplitOptions splitOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | splitOptions | ITextSplitOptions | The text split options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *splitOptions* is null. | ### SwapPages Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/swappages.md #### Merger.SwapPages method Swaps two pages within document of known format. ```csharp public IMerger SwapPages(ISwapOptions swapOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | swapOptions | ISwapOptions | The swap options. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *swapOptions* is null. | ### UpdatePassword Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/merger/updatepassword.md #### Merger.UpdatePassword method Updates existing password for document. ```csharp public IMerger UpdatePassword(IUpdatePasswordOptions updatePasswordOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | updatePasswordOptions | IUpdatePasswordOptions | The options for specifying the current/new passwords. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *updatePasswordOptions* is null. | ### MergerSettings Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/mergersettings.md #### MergerSettings class Defines settings for customizing `Merger` behaviour. ```csharp public class MergerSettings ``` #### Constructors | Name | Description | | --- | --- | | MergerSettings() | Initializes new instance of `MergerSettings` class. | | MergerSettings(ILogger) | Initializes new instance of `MergerSettings` class. | #### Properties | Name | Description | | --- | --- | | Logger { get; set; } | The logger implementation that is used for tracking document processing workflow. | ### Logger Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/mergersettings/logger.md #### MergerSettings.Logger property The logger implementation that is used for tracking document processing workflow. ```csharp public ILogger Logger { get; set; } ``` ### MergerSettings Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/mergersettings/mergersettings.md #### MergerSettings() Initializes new instance of `MergerSettings` class. ```csharp public MergerSettings() ``` #### MergerSettings(ILogger) Initializes new instance of `MergerSettings` class. ```csharp public MergerSettings(ILogger logger) ``` | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | The logger implementation. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Thrown when *logger* is null. | ### Metered Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/metered.md #### Metered class Provides methods for applying [Metered](https://purchase.groupdocs.com/faqs/licensing/metered) license. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Activates product with Metered keys. | | static GetConsumptionCredit() | Retrieves amount of used credits | | static GetConsumptionQuantity() | Retrieves amount of MBs processed. | ### GetConsumptionCredit Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Retrieves amount of used credits ```csharp public static decimal GetConsumptionCredit() ``` ##### Examples Following example demonstrates how to retrieve amount of MBs processed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal usedCredits = Metered.GetConsumptionCredit(); ``` ### GetConsumptionQuantity Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Retrieves amount of MBs processed. ```csharp public static decimal GetConsumptionQuantity() ``` ##### Examples Following example demonstrates how to retrieve amount of MBs processed. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); decimal mbProcessed = Metered.GetConsumptionQuantity(); ``` ### Metered Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/metered/metered.md #### Metered constructor The default constructor. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/merger/net/groupdocs.merger/metered/setmeteredkey.md #### Metered.SetMeteredKey method Activates product with Metered keys. ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | The public key. | | privateKey | String | The private key. | ##### Examples Following example demonstrates how to activate product with Metered keys. ```csharp string publicKey = "Public Key"; string privateKey = "Private Key"; Metered metered = new Metered(); metered.SetMeteredKey(publicKey, privateKey); ``` ## Node.js ### GroupDocs.Merger for Node.js via Java Path: https://reference.groupdocs.com/merger/nodejs-java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.merger | The **com.groupdocs.merger** namespace provides classes which allow you to merge documents and manipulate document structure (split single document to multiple documents, reorder or replace document pages, change page orientation, manage document password and perform other manipulations) across wide range of supported document types - PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, ODT, ODS, ODP, HTML, EPUB and many others.. | | com.groupdocs.merger.domain | The **com.groupdocs.merger.domain** namespace provides classes for working with document structure. | | com.groupdocs.merger.domain.builders | The **com.groupdocs.merger.domain.builders** namespace provides builders. | | com.groupdocs.merger.domain.common | The **com.groupdocs.merger.domain.common** namespace provides common delegates. | | com.groupdocs.merger.domain.options | The **com.groupdocs.merger.domain.options** namespace provides classes to specify additional options when loading, joining, splitting, previewing and saving documents. | | com.groupdocs.merger.domain.options.interfaces | The **com.groupdocs.merger.domain.options.interfaces** namespace provides classes for working with Interfaces. | | com.groupdocs.merger.domain.result | The **com.groupdocs.merger.domain.result** namespace provides classes which represent document results. | | com.groupdocs.merger.exceptions | The **com.groupdocs.merger.exceptions** namespace provides classes for exceptions which can occur while working with a document. | | com.groupdocs.merger.licensing | The **com.groupdocs.merger.licensing** namespace provides methods to license the component. | | com.groupdocs.merger.licensing.metered | The **com.groupdocs.merger.licensing.metered** namespace provides methods to set metered key. | | com.groupdocs.merger.logging | The **com.groupdocs.merger.logging** namespace provides classes for customizing logging behaviour. | ### com.groupdocs.merger.domain.builders Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.builders.md The **com.groupdocs.merger.domain.builders** namespace provides builders. #### Classes | Class | Description | | --- | --- | | PageBuilder | PageInfo builder for getting the page collection from the documents. | ### PageBuilder Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.builders/pagebuilder.md **Inheritance:** java.lang.Object ``` public class PageBuilder ``` PageInfo builder for getting the page collection from the documents. #### Constructors | Constructor | Description | | --- | --- | | PageBuilder() | Initializes a new instance of the PageBuilder class. | | PageBuilder(PageBuilderOptions options) | Initializes a new instance of the PageBuilder class. | #### Methods | Method | Description | | --- | --- | | getOptions() | The page builder options. | | getPages() | The page collection. | | getDocuments() | The document collection. | | addDocument(int index, InputStream stream, FileType fileType, String password) | Add document to the document collection. | | addDocument(DocumentInfo document) | Add document to the document collection. | | addPage(int documentIndex, int pageNumber) | Add page to the page collection. | | addPage(IPageInfo page) | Add page to the page collection. | | addPageRange(IPageInfo[] pages) | Add pages to the page collection. | | clear() | Clear the internal collections. | ##### PageBuilder() ``` public PageBuilder() ``` Initializes a new instance of the PageBuilder class. ##### PageBuilder(PageBuilderOptions options) ``` public PageBuilder(PageBuilderOptions options) ``` Initializes a new instance of the PageBuilder class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | PageBuilderOptions | The page builder options. | ##### getOptions() ``` public final PageBuilderOptions getOptions() ``` The page builder options. **Returns:** PageBuilderOptions ##### getPages() ``` public final List getPages() ``` The page collection. **Returns:** java.util.List ##### getDocuments() ``` public final Map getDocuments() ``` The document collection. **Returns:** java.util.Map ##### addDocument(int index, InputStream stream, FileType fileType, String password) ``` public final void addDocument(int index, InputStream stream, FileType fileType, String password) ``` Add document to the document collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | DocumentInfo index. | | stream | java.io.InputStream | DocumentInfo stream. | | fileType | FileType | DocumentInfo type. | | password | java.lang.String | DocumentInfo password. | ##### addDocument(DocumentInfo document) ``` public final void addDocument(DocumentInfo document) ``` Add document to the document collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | DocumentInfo | DocumentInfo instance. | ##### addPage(int documentIndex, int pageNumber) ``` public final void addPage(int documentIndex, int pageNumber) ``` Add page to the page collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentIndex | int | DocumentInfo index. | | pageNumber | int | PageInfo number. | ##### addPage(IPageInfo page) ``` public final void addPage(IPageInfo page) ``` Add page to the page collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | page | IPageInfo | PageInfo instance. | ##### addPageRange(IPageInfo[] pages) ``` public final void addPageRange(IPageInfo[] pages) ``` Add pages to the page collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pages | IPageInfo\[\] | Pages array. | ##### clear() ``` public final void clear() ``` Clear the internal collections. ### com.groupdocs.merger.domain.common Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.common.md The **com.groupdocs.merger.domain.common** namespace provides common delegates. #### Interfaces | Interface | Description | | --- | --- | | PageStreamFactory | Interface that defines method to create output page preview stream. | | SplitStreamFactory | Interface that defines method to create output split stream. | ### PageStreamFactory Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.common/pagestreamfactory.md ### SplitStreamFactory Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.common/splitstreamfactory.md ### com.groupdocs.merger.domain.options.interfaces Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces.md The **com.groupdocs.merger.domain.options.interfaces** namespace provides classes for working with Interfaces. #### Interfaces | Interface | Description | | --- | --- | | IAddPasswordOptions | Interface for the password adding options. | | IExtractOptions | Interface for options to extract the document pages. | | IImageJoinOptions | Interface for the image joining options. | | IImportDocumentOptions | Interface for import of the embedded document. | | IJoinOptions | Interface for the document joining options. | | ILoadOptions | Interface for the document loading options. | | IMoveOptions | Interface for the moving page options. | | IOleDiagramOptions | Interface for import options of the embedded document to Diagram via OLE. | | IOlePresentationOptions | Interface for import options of the embedded document to Presentation via OLE. | | IOleSpreadsheetOptions | Interface for import options of the embedded document to Spreadsheet via OLE. | | IOleWordProcessingOptions | Interface for import options of the embedded document to Word processing via OLE. | | IOptions | Interface for the base options. | | IOrientationOptions | Interface for the page orientation options. | | IPageBuilderOptions | Interface for the page builder options | | IPageJoinOptions | Interface for the document page joining options. | | IPageOptions | Interface for the page options | | IPager | Interface for apply option (pages, range and etc.) | | IPdfAttachmentOptions | Interface for options of the embedded document to PDF as attachment. | | IPreviewOptions | Interface for the preview options. | | IRemoveOptions | Interface for the page removing options. | | IRotateOptions | Interface for the page rotating options. | | ISaveOptions | Interface for the document saving options. | | ISizeOptions | Interface for adding embedded object. | | ISplitOptions | Interface for the splitting options. | | ISwapOptions | Interface for the page swapping options. | | ITextSplitOptions | Interface for the text splitting options. | | IUpdatePasswordOptions | Interface for the password updating options. | ### IAddPasswordOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iaddpasswordoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IAddPasswordOptions extends IOptions ``` Interface for the password adding options. #### Methods | Method | Description | | --- | --- | | getPassword() | The password for document protection. | ##### getPassword() ``` public abstract String getPassword() ``` The password for document protection. **Returns:** java.lang.String ### IExtractOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iextractoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IExtractOptions extends IPageOptions ``` Interface for options to extract the document pages. ### IImageJoinOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iimagejoinoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IJoinOptions ``` public interface IImageJoinOptions extends IJoinOptions ``` Interface for the image joining options. #### Methods | Method | Description | | --- | --- | | getMode() | The image join mode. | ##### getMode() ``` public abstract int getMode() ``` The image join mode. **Returns:** int ### IImportDocumentOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iimportdocumentoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IImportDocumentOptions extends IOptions ``` Interface for import of the embedded document. #### Methods | Method | Description | | --- | --- | | getObjectData() | The data of the embedded object. | | getExtension() | The extension of the embedded object. | | getPageNumber() | The page number for inserting of the embedded object. | ##### getObjectData() ``` public abstract byte[] getObjectData() ``` The data of the embedded object. **Returns:** byte[] ##### getExtension() ``` public abstract String getExtension() ``` The extension of the embedded object. **Returns:** java.lang.String ##### getPageNumber() ``` public abstract int getPageNumber() ``` The page number for inserting of the embedded object. **Returns:** int ### IJoinOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ijoinoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IJoinOptions extends IOptions ``` Interface for the document joining options. #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to join. | ##### getType() ``` public abstract FileType getType() ``` The type of the file to join. **Returns:** FileType ### ILoadOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iloadoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ILoadOptions extends IOptions ``` Interface for the document loading options. #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to open. | | getPassword() | The password for opening password-protected file. | | getExtension() | The extension of the file to open. | | getEncoding() | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### getType() ``` public abstract FileType getType() ``` The type of the file to open. **Returns:** FileType ##### getPassword() ``` public abstract String getPassword() ``` The password for opening password-protected file. **Returns:** java.lang.String ##### getExtension() ``` public abstract String getExtension() ``` The extension of the file to open. **Returns:** java.lang.String ##### getEncoding() ``` public abstract Charset getEncoding() ``` The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. Default value is [DefaultCharset][]. [DefaultCharset]: https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#defaultCharset%28%29 **Returns:** java.nio.charset.Charset ### IMoveOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/imoveoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IMoveOptions extends IOptions ``` Interface for the moving page options. #### Methods | Method | Description | | --- | --- | | getPageNumberToMove() | Gets or sets the page number to move. | | getNewPageNumber() | Gets or sets the new page number. | ##### getPageNumberToMove() ``` public abstract int getPageNumberToMove() ``` Gets or sets the page number to move. Value: The page number to move. **Returns:** int ##### getNewPageNumber() ``` public abstract int getNewPageNumber() ``` Gets or sets the new page number. Value: The new page number. **Returns:** int ### IOleDiagramOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iolediagramoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOleDiagramOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Diagram via OLE. #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setX(int value) | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getY() | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setY(int value) | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getImageData() | The image data of the embedded object. | ##### getX() ``` public abstract int getX() ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setX(int value) ``` public abstract void setX(int value) ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public abstract int getY() ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setY(int value) ``` public abstract void setY(int value) ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public abstract byte[] getImageData() ``` The image data of the embedded object. **Returns:** byte[] ### IOlePresentationOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iolepresentationoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOlePresentationOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Presentation via OLE. #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object frame. | | setX(int value) | The X coordinate of the embedded object frame. | | getY() | The Y coordinate of the embedded object frame. | | setY(int value) | The Y coordinate of the embedded object frame. | ##### getX() ``` public abstract int getX() ``` The X coordinate of the embedded object frame. **Returns:** int ##### setX(int value) ``` public abstract void setX(int value) ``` The X coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public abstract int getY() ``` The Y coordinate of the embedded object frame. **Returns:** int ##### setY(int value) ``` public abstract void setY(int value) ``` The Y coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### IOleSpreadsheetOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iolespreadsheetoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOleSpreadsheetOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Spreadsheet via OLE. #### Methods | Method | Description | | --- | --- | | getRowIndex() | The upper left row index. | | setRowIndex(int value) | The upper left row index. | | getColumnIndex() | The upper left column index. | | setColumnIndex(int value) | The upper left column index. | | getImageData() | The data of the Ole object image. | ##### getRowIndex() ``` public abstract int getRowIndex() ``` The upper left row index. **Returns:** int ##### setRowIndex(int value) ``` public abstract void setRowIndex(int value) ``` The upper left row index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getColumnIndex() ``` public abstract int getColumnIndex() ``` The upper left column index. **Returns:** int ##### setColumnIndex(int value) ``` public abstract void setColumnIndex(int value) ``` The upper left column index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public abstract byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### IOleWordProcessingOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iolewordprocessingoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions, com.groupdocs.merger.domain.options.interfaces.ISizeOptions ``` public interface IOleWordProcessingOptions extends IImportDocumentOptions, ISizeOptions ``` Interface for import options of the embedded document to Word processing via OLE. #### Methods | Method | Description | | --- | --- | | getLeft() | The left coordinate of the Ole object image. | | setLeft(int value) | The left coordinate of the Ole object image. | | getTop() | The top coordinate of the Ole object image. | | setTop(int value) | The top coordinate of the Ole object image. | | getImageData() | The data of the Ole object image. | ##### getLeft() ``` public abstract int getLeft() ``` The left coordinate of the Ole object image. **Returns:** int ##### setLeft(int value) ``` public abstract void setLeft(int value) ``` The left coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTop() ``` public abstract int getTop() ``` The top coordinate of the Ole object image. **Returns:** int ##### setTop(int value) ``` public abstract void setTop(int value) ``` The top coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public abstract byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### IOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ioptions.md ### IOrientationOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iorientationoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IOrientationOptions extends IPageOptions ``` Interface for the page orientation options. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for the page orientation. | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for the page orientation. **Returns:** int ### IPageBuilderOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ipagebuilderoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IPageBuilderOptions extends IOptions ``` Interface for the page builder options #### Methods | Method | Description | | --- | --- | | getLoadDocumentInfo() | Specifies if each document info should load all its pages info. | | setLoadDocumentInfo(boolean value) | Specifies if each document info should load all its pages info. | ##### getLoadDocumentInfo() ``` public abstract boolean getLoadDocumentInfo() ``` Specifies if each document info should load all its pages info. **Returns:** boolean ##### setLoadDocumentInfo(boolean value) ``` public abstract void setLoadDocumentInfo(boolean value) ``` Specifies if each document info should load all its pages info. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### IPageJoinOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ipagejoinoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions, com.groupdocs.merger.domain.options.interfaces.IJoinOptions ``` public interface IPageJoinOptions extends IPageOptions, IJoinOptions ``` Interface for the document page joining options. ### IPageOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ipageoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IPageOptions extends IOptions ``` Interface for the page options #### Methods | Method | Description | | --- | --- | | getPages() | Page numbers for the page options. | ##### getPages() ``` public abstract int[] getPages() ``` Page numbers for the page options. **Returns:** int[] ### IPager Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ipager.md ### IPdfAttachmentOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ipdfattachmentoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions ``` public interface IPdfAttachmentOptions extends IImportDocumentOptions ``` Interface for options of the embedded document to PDF as attachment. ### IPreviewOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/ipreviewoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IPreviewOptions extends IPageOptions ``` Interface for the preview options. #### Methods | Method | Description | | --- | --- | | getWidth() | Preview width. | | setWidth(int value) | Preview width. | | getHeight() | Preview height. | | setHeight(int value) | Preview height. | | getResolution() | Image resolution. | | setResolution(int value) | Image resolution. | | getMode() | Gets the mode for preview. | | validate(FileType fileType) | Validates the split options. | | getPathByPageNumber(int pageNumber, String extension) | Gets the full file path of previewed document by page number with defined extension. | | getPageStreamFactory() | Delegate that defines method to create output page preview stream. | ##### getWidth() ``` public abstract int getWidth() ``` Preview width. **Returns:** int ##### setWidth(int value) ``` public abstract void setWidth(int value) ``` Preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public abstract int getHeight() ``` Preview height. **Returns:** int ##### setHeight(int value) ``` public abstract void setHeight(int value) ``` Preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getResolution() ``` public abstract int getResolution() ``` Image resolution. **Returns:** int ##### setResolution(int value) ``` public abstract void setResolution(int value) ``` Image resolution. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for preview. **Returns:** int ##### validate(FileType fileType) ``` public abstract void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByPageNumber(int pageNumber, String extension) ``` public abstract String getPathByPageNumber(int pageNumber, String extension) ``` Gets the full file path of previewed document by page number with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | Page number of preview. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getPageStreamFactory() ``` public abstract PageStreamFactory getPageStreamFactory() ``` Delegate that defines method to create output page preview stream. **Returns:** PageStreamFactory ### IRemoveOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iremoveoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IRemoveOptions extends IPageOptions ``` Interface for the page removing options. ### IRotateOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/irotateoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface IRotateOptions extends IPageOptions ``` Interface for the page rotating options. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for rotating (90, 180 or 270 degrees). | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for rotating (90, 180 or 270 degrees). **Returns:** int ### ISaveOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/isaveoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ISaveOptions extends IOptions ``` Interface for the document saving options. #### Methods | Method | Description | | --- | --- | | getType() | File type. | ##### getType() ``` public abstract FileType getType() ``` File type. **Returns:** FileType ### ISizeOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/isizeoptions.md ### ISplitOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/isplitoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public interface ISplitOptions extends IPageOptions ``` Interface for the splitting options. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for page splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with defined extension. | | getSplitStreamFactory() | Delegate that defines method to create output split stream. | ##### getMode() ``` public abstract int getMode() ``` Gets the mode for page splitting. **Returns:** int ##### validate(FileType fileType) ``` public abstract void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public abstract String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public abstract SplitStreamFactory getSplitStreamFactory() ``` Delegate that defines method to create output split stream. **Returns:** SplitStreamFactory ### ISwapOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iswapoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ISwapOptions extends IOptions ``` Interface for the page swapping options. #### Methods | Method | Description | | --- | --- | | getFirstPageNumber() | First page number to exchange. | | getSecondPageNumber() | Second page number to exchange. | ##### getFirstPageNumber() ``` public abstract int getFirstPageNumber() ``` First page number to exchange. **Returns:** int ##### getSecondPageNumber() ``` public abstract int getSecondPageNumber() ``` Second page number to exchange. **Returns:** int ### ITextSplitOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/itextsplitoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface ITextSplitOptions extends IOptions ``` Interface for the text splitting options. #### Methods | Method | Description | | --- | --- | | getLineNumbers() | Line numbers for text splitting. | | getMode() | Mode for text splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with defined extension. | | getSplitStreamFactory() | Delegate that defines method to create output split stream. | ##### getLineNumbers() ``` public abstract int[] getLineNumbers() ``` Line numbers for text splitting. **Returns:** int[] ##### getMode() ``` public abstract int getMode() ``` Mode for text splitting. **Returns:** int ##### validate(FileType fileType) ``` public abstract void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public abstract String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public abstract SplitStreamFactory getSplitStreamFactory() ``` Delegate that defines method to create output split stream. **Returns:** SplitStreamFactory ### IUpdatePasswordOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.interfaces/iupdatepasswordoptions.md **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOptions ``` public interface IUpdatePasswordOptions extends IOptions ``` Interface for the password updating options. #### Methods | Method | Description | | --- | --- | | getNewPassword() | The new password for document protection. | ##### getNewPassword() ``` public abstract String getNewPassword() ``` The new password for document protection. **Returns:** java.lang.String ### com.groupdocs.merger.domain.options Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options.md The **com.groupdocs.merger.domain.options** namespace provides classes to specify additional options when loading, joining, splitting, previewing and saving documents. #### Classes | Class | Description | | --- | --- | | AddPasswordOptions | Provides options for adding document password. | | ExtractOptions | Provides options to extract the document pages. | | ImageJoinMode | Possible modes for the image joining. | | ImageJoinOptions | The image join options. | | ImportDocumentOptions | Provides options for the embedded document import. | | JoinOptions | Provides options for the document joining. | | LoadOptions | Provides options for the document loading. | | MoveOptions | Provides options for moving document page. | | OleDiagramOptions | Provides options for import of the embedded document to Diagram via OLE. | | OlePresentationOptions | Provides options for import of the embedded document to Presentation via OLE. | | OleSpreadsheetOptions | Provides options for import of the embedded document to Spreadsheet via OLE. | | OleWordProcessingOptions | Provides options for import of the embedded document to Word processing via OLE. | | OrientationMode | Defines page orientation. | | OrientationOptions | Provides options for the page orientation. | | PageBuilderOptions | Provides options for specifying the page builder. | | PageJoinOptions | Provides options for the document joining. | | PageOptions | Provides options for specifying page or pages range. | | PdfAttachmentOptions | Provides options to attach the embedded object to Pdf. | | PreviewMode | Provides modes for the page previewing. | | PreviewOptions | Represents document preview options. | | RangeMode | Possible modes for the page ranging. | | RemoveOptions | Provides options for the page removing. | | RotateMode | Possible modes for the page rotation. | | RotateOptions | Provides options for the page rotation. | | SaveOptions | Provides options for the document saving. | | SplitMode | Defines page splitting modes. | | SplitOptions | Provides options for the document page splitting. | | SwapOptions | Provides options for swapping document pages. | | TextSplitMode | Possible text splitting modes. | | TextSplitOptions | Provides options for the document text splitting. | | UpdatePasswordOptions | Provides options for updating document password. | | WordJoinCompliance | Possible Compliance modes for the Word Ooxml formats such as .docx, .docm, .dotx, .dotm etc. | | WordJoinMode | Possible modes for the Word joining. | | WordJoinOptions | The Word join options. | ### AddPasswordOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/addpasswordoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IAddPasswordOptions ``` public class AddPasswordOptions implements IAddPasswordOptions ``` Provides options for adding document password. #### Constructors | Constructor | Description | | --- | --- | | AddPasswordOptions(String password) | Initializes a new instance of the AddPasswordOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | The password for document protection. | ##### AddPasswordOptions(String password) ``` public AddPasswordOptions(String password) ``` Initializes a new instance of the AddPasswordOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password. | ##### getPassword() ``` public final String getPassword() ``` The password for document protection. **Returns:** java.lang.String ### ExtractOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/extractoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IExtractOptions ``` public class ExtractOptions extends PageOptions implements IExtractOptions ``` Provides options to extract the document pages. #### Constructors | Constructor | Description | | --- | --- | | ExtractOptions() | Initializes a new instance of the ExtractOptions class. | | ExtractOptions(int[] pageNumbers) | Initializes a new instance of the ExtractOptions class. | | ExtractOptions(int startNumber, int endNumber) | Initializes a new instance of the ExtractOptions class. | | ExtractOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the ExtractOptions class. | ##### ExtractOptions() ``` public ExtractOptions() ``` Initializes a new instance of the ExtractOptions class. ##### ExtractOptions(int[] pageNumbers) ``` public ExtractOptions(int[] pageNumbers) ``` Initializes a new instance of the ExtractOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### ExtractOptions(int startNumber, int endNumber) ``` public ExtractOptions(int startNumber, int endNumber) ``` Initializes a new instance of the ExtractOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### ExtractOptions(int startNumber, int endNumber, int mode) ``` public ExtractOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the ExtractOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ### ImageJoinMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/imagejoinmode.md **Inheritance:** java.lang.Object ``` public final class ImageJoinMode ``` Possible modes for the image joining. #### Fields | Field | Description | | --- | --- | | Horizontal | Specifies Horizontal image joining. | | Vertical | Specifies Vertical image joining. | ##### Horizontal ``` public static final int Horizontal ``` Specifies Horizontal image joining. ##### Vertical ``` public static final int Vertical ``` Specifies Vertical image joining. ### ImageJoinOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/imagejoinoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImageJoinOptions ``` public class ImageJoinOptions implements IImageJoinOptions ``` The image join options. #### Constructors | Constructor | Description | | --- | --- | | ImageJoinOptions() | Initializes new instance of ImageJoinOptions class. | | ImageJoinOptions(FileType fileType) | Initializes new instance of ImageJoinOptions class. | | ImageJoinOptions(int imageJoinMode) | Initializes new instance of ImageJoinOptions class. | | ImageJoinOptions(FileType fileType, int imageJoinMode) | Initializes new instance of ImageJoinOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The image file type. | | getMode() | The image join mode. | ##### ImageJoinOptions() ``` public ImageJoinOptions() ``` Initializes new instance of ImageJoinOptions class. ##### ImageJoinOptions(FileType fileType) ``` public ImageJoinOptions(FileType fileType) ``` Initializes new instance of ImageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The image file type. | ##### ImageJoinOptions(int imageJoinMode) ``` public ImageJoinOptions(int imageJoinMode) ``` Initializes new instance of ImageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageJoinMode | int | The image join mode. | ##### ImageJoinOptions(FileType fileType, int imageJoinMode) ``` public ImageJoinOptions(FileType fileType, int imageJoinMode) ``` Initializes new instance of ImageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The image file type. | | imageJoinMode | int | The image join mode. | ##### getType() ``` public final FileType getType() ``` The image file type. **Returns:** FileType ##### getMode() ``` public final int getMode() ``` The image join mode. **Returns:** int ### ImportDocumentOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/importdocumentoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IImportDocumentOptions ``` public abstract class ImportDocumentOptions implements IImportDocumentOptions ``` Provides options for the embedded document import. [How to add attachment to PDF document.]: https://docs.groupdocs.com/merger/java/how-to-add-attachment-to-pdf-document/ [Add document to Word processing via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-word-processing-via-ole/ [Add document to Presentation via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-presentation-via-ole/ [Add document to Spreadsheet via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-spreadsheet-via-ole/ [Add document to Diagram via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-diagram-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | ImportDocumentOptions(byte[] objectData, String extension, int pageNumber) | Initializes a new instance of the ImportDocumentOptions class. | | ImportDocumentOptions(String filePath, int pageNumber) | Initializes a new instance of the ImportDocumentOptions class. | #### Methods | Method | Description | | --- | --- | | getObjectData() | The data of the embedded object. | | getExtension() | The extension of the embedded object. | | getPageNumber() | The page number for inserting of the embedded object. | | getImageData(String filePath) | Gets image data of the embedded object. | ##### ImportDocumentOptions(byte[] objectData, String extension, int pageNumber) ``` public ImportDocumentOptions(byte[] objectData, String extension, int pageNumber) ``` Initializes a new instance of the ImportDocumentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### ImportDocumentOptions(String filePath, int pageNumber) ``` public ImportDocumentOptions(String filePath, int pageNumber) ``` Initializes a new instance of the ImportDocumentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getObjectData() ``` public final byte[] getObjectData() ``` The data of the embedded object. **Returns:** byte[] ##### getExtension() ``` public final String getExtension() ``` The extension of the embedded object. **Returns:** java.lang.String ##### getPageNumber() ``` public final int getPageNumber() ``` The page number for inserting of the embedded object. **Returns:** int ##### getImageData(String filePath) ``` public final byte[] getImageData(String filePath) ``` Gets image data of the embedded object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | **Returns:** byte[] ### JoinOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/joinoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IJoinOptions ``` public class JoinOptions implements IJoinOptions ``` Provides options for the document joining. #### Constructors | Constructor | Description | | --- | --- | | JoinOptions() | Initializes a new instance of the JoinOptions class. | | JoinOptions(FileType fileType) | Initializes a new instance of the JoinOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to join. | ##### JoinOptions() ``` public JoinOptions() ``` Initializes a new instance of the JoinOptions class. ##### JoinOptions(FileType fileType) ``` public JoinOptions(FileType fileType) ``` Initializes a new instance of the JoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | ##### getType() ``` public final FileType getType() ``` The type of the file to join. **Returns:** FileType ### LoadOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/loadoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ILoadOptions ``` public class LoadOptions implements ILoadOptions ``` Provides options for the document loading. #### Constructors | Constructor | Description | | --- | --- | | LoadOptions(FileType fileType) | Initializes new instance of LoadOptions class. | | LoadOptions(String password) | Initializes new instance of LoadOptions class. | | LoadOptions(String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType fileType, String password) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType fileType, String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(String extension, FileType fileType, String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType iniFileType, FileType fileType, String password, Charset encoding) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType iniFileType, FileType fileType, String password) | Initializes new instance of LoadOptions class. | | LoadOptions(FileType iniFileType, FileType fileType) | Initializes new instance of LoadOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to load. | | getExtension() | The extension of the file to init. | | getPassword() | The password for opening password-protected file. | | getEncoding() | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType fileType) ``` public LoadOptions(FileType fileType) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | ##### LoadOptions(String password) ``` public LoadOptions(String password) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password for opening password-protected file. | ##### LoadOptions(String password, Charset encoding) ``` public LoadOptions(String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType fileType, String password) ``` public LoadOptions(FileType fileType, String password) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | ##### LoadOptions(FileType fileType, String password, Charset encoding) ``` public LoadOptions(FileType fileType, String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(String extension, FileType fileType, String password, Charset encoding) ``` public LoadOptions(String extension, FileType fileType, String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | The extension of the file to load. | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType iniFileType, FileType fileType, String password, Charset encoding) ``` public LoadOptions(FileType iniFileType, FileType fileType, String password, Charset encoding) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | | encoding | java.nio.charset.Charset | The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. | ##### LoadOptions(FileType iniFileType, FileType fileType, String password) ``` public LoadOptions(FileType iniFileType, FileType fileType, String password) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | | password | java.lang.String | The password for opening password-protected file. | ##### LoadOptions(FileType iniFileType, FileType fileType) ``` public LoadOptions(FileType iniFileType, FileType fileType) ``` Initializes new instance of LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | iniFileType | FileType | The type of the file to init. | | fileType | FileType | The type of the file to load. | ##### getType() ``` public final FileType getType() ``` The type of the file to load. **Returns:** FileType ##### getExtension() ``` public final String getExtension() ``` The extension of the file to init. **Returns:** java.lang.String ##### getPassword() ``` public final String getPassword() ``` The password for opening password-protected file. **Returns:** java.lang.String ##### getEncoding() ``` public final Charset getEncoding() ``` The encoding used when opening text-based files such as FileType.CSV or FileType.TXT. Default value is System.Text.Encoding.Default (java.nio.charset.Charset). **Returns:** java.nio.charset.Charset ### MoveOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/moveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IMoveOptions ``` public class MoveOptions implements IMoveOptions ``` Provides options for moving document page. #### Constructors | Constructor | Description | | --- | --- | | MoveOptions(int pageNumberToMove, int newPageNumber) | Initializes a new instance of the MoveOptions class. | #### Methods | Method | Description | | --- | --- | | getPageNumberToMove() | Gets or sets the page number to move. | | getNewPageNumber() | Gets or sets the new page number. | ##### MoveOptions(int pageNumberToMove, int newPageNumber) ``` public MoveOptions(int pageNumberToMove, int newPageNumber) ``` Initializes a new instance of the MoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumberToMove | int | The page number to move. | | newPageNumber | int | The new page number. | ##### getPageNumberToMove() ``` public final int getPageNumberToMove() ``` Gets or sets the page number to move. Value: The page number to move. **Returns:** int ##### getNewPageNumber() ``` public final int getNewPageNumber() ``` Gets or sets the new page number. Value: The new page number. **Returns:** int ### OleDiagramOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/olediagramoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions ``` public class OleDiagramOptions extends ImportDocumentOptions implements IOleDiagramOptions ``` Provides options for import of the embedded document to Diagram via OLE. [Add document to Diagram via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-diagram-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OleDiagramOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) | Initializes a new instance of the OleDiagramOptions class. | | OleDiagramOptions(String filePath, byte[] imageData, int pageNumber) | Initializes a new instance of the OleDiagramOptions class. | | OleDiagramOptions(String filePath, int pageNumber) | Initializes a new instance of the OleDiagramOptions class. | #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setX(int value) | The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getY() | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | setY(int value) | The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. | | getWidth() | The width of the embedded object shape in inches. | | setWidth(int value) | The width of the embedded object shape in inches. | | getHeight() | The height of the embedded object shape in inches. | | setHeight(int value) | The height of the embedded object shape in inches. | | getImageData() | The image data of the embedded object. | ##### OleDiagramOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` public OleDiagramOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` Initializes a new instance of the OleDiagramOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleDiagramOptions(String filePath, byte[] imageData, int pageNumber) ``` public OleDiagramOptions(String filePath, byte[] imageData, int pageNumber) ``` Initializes a new instance of the OleDiagramOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleDiagramOptions(String filePath, int pageNumber) ``` public OleDiagramOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OleDiagramOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getX() ``` public final int getX() ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setX(int value) ``` public final void setX(int value) ``` The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public final int getY() ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Returns:** int ##### setY(int value) ``` public final void setY(int value) ``` The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the embedded object shape in inches. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the embedded object shape in inches. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the embedded object shape in inches. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the embedded object shape in inches. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public final byte[] getImageData() ``` The image data of the embedded object. **Returns:** byte[] ### OlePresentationOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/olepresentationoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOlePresentationOptions ``` public class OlePresentationOptions extends ImportDocumentOptions implements IOlePresentationOptions ``` Provides options for import of the embedded document to Presentation via OLE. [Add document to Presentation via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-presentation-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OlePresentationOptions(byte[] objectData, String extension, int pageNumber) | Initializes a new instance of the OlePresentationOptions class. | | OlePresentationOptions(String filePath, int pageNumber) | Initializes a new instance of the OlePresentationOptions class. | #### Methods | Method | Description | | --- | --- | | getX() | The X coordinate of the embedded object frame. | | setX(int value) | The X coordinate of the embedded object frame. | | getY() | The Y coordinate of the embedded object frame. | | setY(int value) | The Y coordinate of the embedded object frame. | | getWidth() | The width of the embedded object frame. | | setWidth(int value) | The width of the embedded object frame. | | getHeight() | The height of the embedded object frame. | | setHeight(int value) | The height of the embedded object frame. | ##### OlePresentationOptions(byte[] objectData, String extension, int pageNumber) ``` public OlePresentationOptions(byte[] objectData, String extension, int pageNumber) ``` Initializes a new instance of the OlePresentationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OlePresentationOptions(String filePath, int pageNumber) ``` public OlePresentationOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OlePresentationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getX() ``` public final int getX() ``` The X coordinate of the embedded object frame. **Returns:** int ##### setX(int value) ``` public final void setX(int value) ``` The X coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getY() ``` public final int getY() ``` The Y coordinate of the embedded object frame. **Returns:** int ##### setY(int value) ``` public final void setY(int value) ``` The Y coordinate of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the embedded object frame. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the embedded object frame. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the embedded object frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### OleSpreadsheetOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/olespreadsheetoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOleSpreadsheetOptions ``` public class OleSpreadsheetOptions extends ImportDocumentOptions implements IOleSpreadsheetOptions ``` Provides options for import of the embedded document to Spreadsheet via OLE. [Add document to Spreadsheet via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-spreadsheet-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) | Initializes a new instance of the OleSpreadsheetOptions class. | | OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber) | Initializes a new instance of the OleSpreadsheetOptions class. | | OleSpreadsheetOptions(String filePath, int pageNumber) | Initializes a new instance of the OleSpreadsheetOptions class. | #### Methods | Method | Description | | --- | --- | | getRowIndex() | The upper left row index. | | setRowIndex(int value) | The upper left row index. | | getColumnIndex() | The upper left column index. | | setColumnIndex(int value) | The upper left column index. | | getWidth() | The width of the Ole object image. | | setWidth(int value) | The width of the Ole object image. | | getHeight() | The height of the Ole object image. | | setHeight(int value) | The height of the Ole object image. | | getImageData() | The data of the Ole object image. | ##### OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` public OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` Initializes a new instance of the OleSpreadsheetOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber) ``` public OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber) ``` Initializes a new instance of the OleSpreadsheetOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleSpreadsheetOptions(String filePath, int pageNumber) ``` public OleSpreadsheetOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OleSpreadsheetOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getRowIndex() ``` public final int getRowIndex() ``` The upper left row index. **Returns:** int ##### setRowIndex(int value) ``` public final void setRowIndex(int value) ``` The upper left row index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getColumnIndex() ``` public final int getColumnIndex() ``` The upper left column index. **Returns:** int ##### setColumnIndex(int value) ``` public final void setColumnIndex(int value) ``` The upper left column index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the Ole object image. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the Ole object image. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public final byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### OleWordProcessingOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/olewordprocessingoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOleWordProcessingOptions ``` public class OleWordProcessingOptions extends ImportDocumentOptions implements IOleWordProcessingOptions ``` Provides options for import of the embedded document to Word processing via OLE. [Add document to Word processing via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-word-processing-via-ole/ #### Constructors | Constructor | Description | | --- | --- | | OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. | | OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. | | OleWordProcessingOptions(String filePath, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. | #### Methods | Method | Description | | --- | --- | | getLeft() | The left coordinate of the Ole object image. | | setLeft(int value) | The left coordinate of the Ole object image. | | getTop() | The top coordinate of the Ole object image. | | setTop(int value) | The top coordinate of the Ole object image. | | getWidth() | The width of the Ole object image. | | setWidth(int value) | The width of the Ole object image. | | getHeight() | The height of the Ole object image. | | setHeight(int value) | The height of the Ole object image. | | getImageData() | The data of the Ole object image. | ##### OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` public OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) ``` Initializes a new instance of the OleWordProcessingOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) ``` public OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) ``` Initializes a new instance of the OleWordProcessingOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | imageData | byte[] | The image data of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### OleWordProcessingOptions(String filePath, int pageNumber) ``` public OleWordProcessingOptions(String filePath, int pageNumber) ``` Initializes a new instance of the OleWordProcessingOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | | pageNumber | int | The page number for adding embedded object. | ##### getLeft() ``` public final int getLeft() ``` The left coordinate of the Ole object image. **Returns:** int ##### setLeft(int value) ``` public final void setLeft(int value) ``` The left coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getTop() ``` public final int getTop() ``` The top coordinate of the Ole object image. **Returns:** int ##### setTop(int value) ``` public final void setTop(int value) ``` The top coordinate of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getWidth() ``` public final int getWidth() ``` The width of the Ole object image. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` The width of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` The height of the Ole object image. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` The height of the Ole object image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getImageData() ``` public final byte[] getImageData() ``` The data of the Ole object image. **Returns:** byte[] ### OrientationMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/orientationmode.md **Inheritance:** java.lang.Object ``` public final class OrientationMode ``` Defines page orientation. #### Fields | Field | Description | | --- | --- | | Portrait | Portrait page mode. | | Landscape | Landscape page mode. | ##### Portrait ``` public static final int Portrait ``` Portrait page mode. ##### Landscape ``` public static final int Landscape ``` Landscape page mode. ### OrientationOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/orientationoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IOrientationOptions ``` public class OrientationOptions extends PageOptions implements IOrientationOptions ``` Provides options for the page orientation. #### Constructors | Constructor | Description | | --- | --- | | OrientationOptions(int orientationMode) | Initializes a new instance of the OrientationOptions class. | | OrientationOptions(int orientationMode, int[] pageNumbers) | Initializes a new instance of the OrientationOptions class. | | OrientationOptions(int orientationMode, int startNumber, int endNumber) | Initializes a new instance of the OrientationOptions class. | | OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the OrientationOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for the page orientation. | ##### OrientationOptions(int orientationMode) ``` public OrientationOptions(int orientationMode) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | ##### OrientationOptions(int orientationMode, int[] pageNumbers) ``` public OrientationOptions(int orientationMode, int[] pageNumbers) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | | pageNumbers | int[] | Page numbers. | ##### OrientationOptions(int orientationMode, int startNumber, int endNumber) ``` public OrientationOptions(int orientationMode, int startNumber, int endNumber) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode) ``` public OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the OrientationOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationMode | int | The orientation mode of OrientationMode | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` Gets the mode for the page orientation. **Returns:** int ### PageBuilderOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/pagebuilderoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageBuilderOptions ``` public class PageBuilderOptions implements IPageBuilderOptions ``` Provides options for specifying the page builder. #### Constructors | Constructor | Description | | --- | --- | | PageBuilderOptions() | Initializes a new instance of the PageBuilderOptions class. | #### Methods | Method | Description | | --- | --- | | getLoadDocumentInfo() | Specifies if each document info should load all its pages info. | | setLoadDocumentInfo(boolean value) | Specifies if each document info should load all its pages info. | ##### PageBuilderOptions() ``` public PageBuilderOptions() ``` Initializes a new instance of the PageBuilderOptions class. ##### getLoadDocumentInfo() ``` public final boolean getLoadDocumentInfo() ``` Specifies if each document info should load all its pages info. **Returns:** boolean ##### setLoadDocumentInfo(boolean value) ``` public final void setLoadDocumentInfo(boolean value) ``` Specifies if each document info should load all its pages info. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### PageJoinOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/pagejoinoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageJoinOptions ``` public class PageJoinOptions extends PageOptions implements IPageJoinOptions ``` Provides options for the document joining. #### Constructors | Constructor | Description | | --- | --- | | PageJoinOptions() | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(int[] pageNumbers) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(int startNumber, int endNumber) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType, int[] pageNumbers) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType, int startNumber, int endNumber) | Initializes a new instance of the PageJoinOptions class. | | PageJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) | Initializes a new instance of the PageJoinOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | The type of the file to join. | ##### PageJoinOptions() ``` public PageJoinOptions() ``` Initializes a new instance of the PageJoinOptions class. ##### PageJoinOptions(int[] pageNumbers) ``` public PageJoinOptions(int[] pageNumbers) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### PageJoinOptions(int startNumber, int endNumber) ``` public PageJoinOptions(int startNumber, int endNumber) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### PageJoinOptions(int startNumber, int endNumber, int mode) ``` public PageJoinOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### PageJoinOptions(FileType fileType) ``` public PageJoinOptions(FileType fileType) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | ##### PageJoinOptions(FileType fileType, int[] pageNumbers) ``` public PageJoinOptions(FileType fileType, int[] pageNumbers) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | pageNumbers | int[] | Page numbers. | ##### PageJoinOptions(FileType fileType, int startNumber, int endNumber) ``` public PageJoinOptions(FileType fileType, int startNumber, int endNumber) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### PageJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` public PageJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the PageJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getType() ``` public final FileType getType() ``` The type of the file to join. **Returns:** FileType ### PageOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/pageoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPageOptions ``` public abstract class PageOptions implements IPageOptions ``` Provides options for specifying page or pages range. #### Methods | Method | Description | | --- | --- | | pages() | Get page numbers collection. | ##### pages() ``` public final int[] pages() ``` Get page numbers collection. **Returns:** int[] ### PdfAttachmentOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/pdfattachmentoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPdfAttachmentOptions ``` public class PdfAttachmentOptions extends ImportDocumentOptions implements IPdfAttachmentOptions ``` Provides options to attach the embedded object to Pdf. [How to add attachment to PDF document.]: https://docs.groupdocs.com/merger/java/how-to-add-attachment-to-pdf-document/ #### Constructors | Constructor | Description | | --- | --- | | PdfAttachmentOptions(byte[] objectData, String extension) | Initializes a new instance of the PdfAttachmentOptions class. | | PdfAttachmentOptions(String filePath) | Initializes a new instance of the PdfAttachmentOptions class. | ##### PdfAttachmentOptions(byte[] objectData, String extension) ``` public PdfAttachmentOptions(byte[] objectData, String extension) ``` Initializes a new instance of the PdfAttachmentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | objectData | byte[] | The data of the embedded object. | | extension | java.lang.String | The extension of the embedded object. | ##### PdfAttachmentOptions(String filePath) ``` public PdfAttachmentOptions(String filePath) ``` Initializes a new instance of the PdfAttachmentOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path of the embedded object. | ### PreviewMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/previewmode.md **Inheritance:** java.lang.Object ``` public final class PreviewMode ``` Provides modes for the page previewing. #### Fields | Field | Description | | --- | --- | | PNG | Preview mode as .png | | JPEG | Preview mode as .jpeg | | BMP | Preview mode as .bmp | #### Methods | Method | Description | | --- | --- | | extensions() | | ##### PNG ``` public static final int PNG ``` Preview mode as .png ##### JPEG ``` public static final int JPEG ``` Preview mode as .jpeg ##### BMP ``` public static final int BMP ``` Preview mode as .bmp ##### extensions() ``` public static String[] extensions() ``` **Returns:** java.lang.String[] ### PreviewOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/previewoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IPreviewOptions ``` public class PreviewOptions extends PageOptions implements IPreviewOptions ``` Represents document preview options. #### Constructors | Constructor | Description | | --- | --- | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode) | Initializes a new instance of the PreviewOptions class. | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int[] pageNumbers) | Initializes a new instance of the PreviewOptions class. | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber) | Initializes a new instance of the PreviewOptions class. | | PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the PreviewOptions class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Preview width. | | setWidth(int value) | Preview width. | | getHeight() | Preview height. | | setHeight(int value) | Preview height. | | getResolution() | Image resolution. | | setResolution(int value) | Image resolution. | | getMode() | Mode for preview. | | validate(FileType fileType) | Validates the preview options. | | getPathByPageNumber(int pageNumber, String extension) | Gets the full file path of previewed document by page number with defined extension. | | getPageStreamFactory() | PageStreamFactory for create or release output page preview stream. | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int[] pageNumbers) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int[] pageNumbers) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | pageNumbers | int[] | Page numbers. | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber, int mode) ``` public PreviewOptions(PageStreamFactory pageStreamFactory, int previewMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the PreviewOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageStreamFactory | PageStreamFactory | The method that instantiates stream used to write output page data. | | previewMode | int | The preview mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getWidth() ``` public final int getWidth() ``` Preview width. **Returns:** int ##### setWidth(int value) ``` public final void setWidth(int value) ``` Preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getHeight() ``` public final int getHeight() ``` Preview height. **Returns:** int ##### setHeight(int value) ``` public final void setHeight(int value) ``` Preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getResolution() ``` public final int getResolution() ``` Image resolution. **Returns:** int ##### setResolution(int value) ``` public final void setResolution(int value) ``` Image resolution. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMode() ``` public final int getMode() ``` Mode for preview. **Returns:** int ##### validate(FileType fileType) ``` public final void validate(FileType fileType) ``` Validates the preview options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type. | ##### getPathByPageNumber(int pageNumber, String extension) ``` public final String getPathByPageNumber(int pageNumber, String extension) ``` Gets the full file path of previewed document by page number with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | Page number of preview. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getPageStreamFactory() ``` public PageStreamFactory getPageStreamFactory() ``` PageStreamFactory for create or release output page preview stream. **Returns:** PageStreamFactory ### RangeMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/rangemode.md **Inheritance:** java.lang.Object ``` public final class RangeMode ``` Possible modes for the page ranging. #### Fields | Field | Description | | --- | --- | | AllPages | Range have all numbers from begin to end. | | OddPages | Range have only odd numbers from begin to end. | | EvenPages | Range have only even numbers from begin to end. | ##### AllPages ``` public static final int AllPages ``` Range have all numbers from begin to end. ##### OddPages ``` public static final int OddPages ``` Range have only odd numbers from begin to end. ##### EvenPages ``` public static final int EvenPages ``` Range have only even numbers from begin to end. ### RemoveOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/removeoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IRemoveOptions ``` public class RemoveOptions extends PageOptions implements IRemoveOptions ``` Provides options for the page removing. #### Constructors | Constructor | Description | | --- | --- | | RemoveOptions() | Initializes a new instance of the RemoveOptions class. | | RemoveOptions(int[] pageNumbers) | Initializes a new instance of the RemoveOptions class. | | RemoveOptions(int startNumber, int endNumber) | Initializes a new instance of the RemoveOptions class. | | RemoveOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the RemoveOptions class. | ##### RemoveOptions() ``` public RemoveOptions() ``` Initializes a new instance of the RemoveOptions class. ##### RemoveOptions(int[] pageNumbers) ``` public RemoveOptions(int[] pageNumbers) ``` Initializes a new instance of the RemoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### RemoveOptions(int startNumber, int endNumber) ``` public RemoveOptions(int startNumber, int endNumber) ``` Initializes a new instance of the RemoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### RemoveOptions(int startNumber, int endNumber, int mode) ``` public RemoveOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the RemoveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ### RotateMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/rotatemode.md **Inheritance:** java.lang.Object ``` public final class RotateMode ``` Possible modes for the page rotation. #### Fields | Field | Description | | --- | --- | | Rotate90 | Rotate to the right with 90 degrees. | | Rotate180 | Rotate to the right with 180 degrees. | | Rotate270 | Rotate to the right with 270 degrees. | ##### Rotate90 ``` public static final int Rotate90 ``` Rotate to the right with 90 degrees. ##### Rotate180 ``` public static final int Rotate180 ``` Rotate to the right with 180 degrees. ##### Rotate270 ``` public static final int Rotate270 ``` Rotate to the right with 270 degrees. ### RotateOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/rotateoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IRotateOptions ``` public class RotateOptions extends PageOptions implements IRotateOptions ``` Provides options for the page rotation. #### Constructors | Constructor | Description | | --- | --- | | RotateOptions(int rotateMode) | Initializes a new instance of the RotateOptions class. | | RotateOptions(int rotateMode, int[] pageNumbers) | Initializes a new instance of the RotateOptions class. | | RotateOptions(int rotateMode, int startNumber, int endNumber) | Initializes a new instance of the RotateOptions class. | | RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the RotateOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for rotating (90, 180 or 270 degrees). | ##### RotateOptions(int rotateMode) ``` public RotateOptions(int rotateMode) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | ##### RotateOptions(int rotateMode, int[] pageNumbers) ``` public RotateOptions(int rotateMode, int[] pageNumbers) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | pageNumbers | int[] | Page numbers. | ##### RotateOptions(int rotateMode, int startNumber, int endNumber) ``` public RotateOptions(int rotateMode, int startNumber, int endNumber) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) ``` public RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the RotateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateMode | int | The rotating mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)) | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` Gets the mode for rotating (90, 180 or 270 degrees). **Returns:** int ### SaveOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/saveoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ISaveOptions ``` public class SaveOptions implements ISaveOptions ``` Provides options for the document saving. #### Constructors | Constructor | Description | | --- | --- | | SaveOptions(FileType fileType) | Initializes new instance of SaveOptions class. | #### Methods | Method | Description | | --- | --- | | getType() | File type. | ##### SaveOptions(FileType fileType) ``` public SaveOptions(FileType fileType) ``` Initializes new instance of SaveOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | ##### getType() ``` public final FileType getType() ``` File type. **Returns:** FileType ### SplitMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/splitmode.md **Inheritance:** java.lang.Object ``` public final class SplitMode ``` Defines page splitting modes. #### Fields | Field | Description | | --- | --- | | Pages | Split pages | | Interval | Split Intervals | ##### Pages ``` public static final int Pages ``` Split pages ##### Interval ``` public static final int Interval ``` Split Intervals ### SplitOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/splitoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ISplitOptions ``` public class SplitOptions extends PageOptions implements ISplitOptions ``` Provides options for the document page splitting. #### Constructors | Constructor | Description | | --- | --- | | SplitOptions(int[] pageNumbers, int splitMode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(int splitMode, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(int splitMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int[] pageNumbers) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int[] pageNumbers, int splitMode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int startNumber, int endNumber, Integer mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers, int splitMode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber, Integer mode) | Initializes a new instance of the SplitOptions class. | | SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber, int mode) | Initializes a new instance of the SplitOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Gets the mode for page splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with pre-defined extension. | | getSplitStreamFactory() | SplitStreamFactory for create or release output page preview stream. | ##### SplitOptions(int[] pageNumbers, int splitMode) ``` public SplitOptions(int[] pageNumbers, int splitMode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | ##### SplitOptions(int splitMode, int startNumber, int endNumber) ``` public SplitOptions(int splitMode, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(int splitMode, int startNumber, int endNumber, int mode) ``` public SplitOptions(int splitMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### SplitOptions(String filePathFormat, int[] pageNumbers) ``` public SplitOptions(String filePathFormat, int[] pageNumbers) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | pageNumbers | int[] | Page numbers. | ##### SplitOptions(String filePathFormat, int[] pageNumbers, int splitMode) ``` public SplitOptions(String filePathFormat, int[] pageNumbers, int splitMode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | pageNumbers | int[] | Page numbers. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | ##### SplitOptions(String filePathFormat, int startNumber, int endNumber) ``` public SplitOptions(String filePathFormat, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber) ``` public SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(String filePathFormat, int startNumber, int endNumber, Integer mode) ``` public SplitOptions(String filePathFormat, int startNumber, int endNumber, Integer mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | java.lang.Integer | The range mode. | ##### SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber, int mode) ``` public SplitOptions(String filePathFormat, int splitMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already pre-defined extension. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### SplitOptions(SplitStreamFactory splitStreamFactory) ``` public SplitOptions(SplitStreamFactory splitStreamFactory) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | pageNumbers | int[] | Page numbers. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers, int splitMode) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int[] pageNumbers, int splitMode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | pageNumbers | int[] | Page numbers. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber, Integer mode) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int startNumber, int endNumber, Integer mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | java.lang.Integer | The range mode. | ##### SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber, int mode) ``` public SplitOptions(SplitStreamFactory splitStreamFactory, int splitMode, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the SplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | splitMode | int | The splitting mode of Mode (\#getMode.getMode/\#setMode(int).setMode(int)). | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` Gets the mode for page splitting. **Returns:** int ##### validate(FileType fileType) ``` public final void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public final String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with pre-defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public SplitStreamFactory getSplitStreamFactory() ``` SplitStreamFactory for create or release output page preview stream. **Returns:** SplitStreamFactory ### SwapOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/swapoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ISwapOptions ``` public class SwapOptions implements ISwapOptions ``` Provides options for swapping document pages. #### Constructors | Constructor | Description | | --- | --- | | SwapOptions(int firstPageNumber, int secondPageNumber) | Initializes a new instance of the SwapOptions class. | #### Methods | Method | Description | | --- | --- | | getFirstPageNumber() | First page number to exchange. | | getSecondPageNumber() | Second page number to exchange. | ##### SwapOptions(int firstPageNumber, int secondPageNumber) ``` public SwapOptions(int firstPageNumber, int secondPageNumber) ``` Initializes a new instance of the SwapOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | firstPageNumber | int | The first page number. | | secondPageNumber | int | The second page number. | ##### getFirstPageNumber() ``` public final int getFirstPageNumber() ``` First page number to exchange. **Returns:** int ##### getSecondPageNumber() ``` public final int getSecondPageNumber() ``` Second page number to exchange. **Returns:** int ### TextSplitMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/textsplitmode.md **Inheritance:** java.lang.Object ``` public final class TextSplitMode ``` Possible text splitting modes. #### Fields | Field | Description | | --- | --- | | Lines | Split lines | | Interval | Split Intervals | ##### Lines ``` public static final int Lines ``` Split lines ##### Interval ``` public static final int Interval ``` Split Intervals ### TextSplitOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/textsplitoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.ITextSplitOptions ``` public class TextSplitOptions implements ITextSplitOptions ``` Provides options for the document text splitting. #### Constructors | Constructor | Description | | --- | --- | | TextSplitOptions(int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(int mode, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(String filePathFormat, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(String filePathFormat, int mode, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(SplitStreamFactory splitStreamFactory, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | | TextSplitOptions(SplitStreamFactory splitStreamFactory, int mode, int[] lineNumbers) | Initializes a new instance of the TextSplitOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Mode for text splitting. | | getLineNumbers() | Line numbers for text splitting. | | validate(FileType fileType) | Validates the split options. | | getPathByIndex(int index, String extension) | Gets the full file path of splitted document by index with defined extension. | | getSplitStreamFactory() | SplitStreamFactory for create or release output page preview stream. | ##### TextSplitOptions(int[] lineNumbers) ``` public TextSplitOptions(int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(int mode, int[] lineNumbers) ``` public TextSplitOptions(int mode, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mode | int | Mode for text splitting. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(String filePathFormat, int[] lineNumbers) ``` public TextSplitOptions(String filePathFormat, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already defined extension. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(String filePathFormat, int mode, int[] lineNumbers) ``` public TextSplitOptions(String filePathFormat, int mode, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePathFormat | java.lang.String | The file path format e.g. 'c:/split\{0\}.doc' or 'c:/split\{0\}.\{1\}' with already defined extension. | | mode | int | Mode for text splitting. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(SplitStreamFactory splitStreamFactory, int[] lineNumbers) ``` public TextSplitOptions(SplitStreamFactory splitStreamFactory, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | lineNumbers | int[] | Line numbers for text splitting. | ##### TextSplitOptions(SplitStreamFactory splitStreamFactory, int mode, int[] lineNumbers) ``` public TextSplitOptions(SplitStreamFactory splitStreamFactory, int mode, int[] lineNumbers) ``` Initializes a new instance of the TextSplitOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitStreamFactory | SplitStreamFactory | The method that instantiates stream used to write output split data. | | mode | int | Mode for text splitting. | | lineNumbers | int[] | Line numbers for text splitting. | ##### getMode() ``` public final int getMode() ``` Mode for text splitting. **Returns:** int ##### getLineNumbers() ``` public final int[] getLineNumbers() ``` Line numbers for text splitting. **Returns:** int[] ##### validate(FileType fileType) ``` public final void validate(FileType fileType) ``` Validates the split options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type of FileType class. | ##### getPathByIndex(int index, String extension) ``` public final String getPathByIndex(int index, String extension) ``` Gets the full file path of splitted document by index with defined extension. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | Index of splitted document. | | extension | java.lang.String | Extension of file. | **Returns:** java.lang.String - The full file path. ##### getSplitStreamFactory() ``` public SplitStreamFactory getSplitStreamFactory() ``` SplitStreamFactory for create or release output page preview stream. **Returns:** SplitStreamFactory ### UpdatePasswordOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/updatepasswordoptions.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.options.interfaces.IUpdatePasswordOptions ``` public class UpdatePasswordOptions implements IUpdatePasswordOptions ``` Provides options for updating document password. #### Constructors | Constructor | Description | | --- | --- | | UpdatePasswordOptions(String newPassword) | Initializes a new instance of the UpdatePasswordOptions class. | #### Methods | Method | Description | | --- | --- | | getNewPassword() | A new password for the document protection. | ##### UpdatePasswordOptions(String newPassword) ``` public UpdatePasswordOptions(String newPassword) ``` Initializes a new instance of the UpdatePasswordOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | newPassword | java.lang.String | The new password. | ##### getNewPassword() ``` public final String getNewPassword() ``` A new password for the document protection. **Returns:** java.lang.String ### WordJoinCompliance Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/wordjoincompliance.md **Inheritance:** java.lang.Object ``` public final class WordJoinCompliance ``` Possible Compliance modes for the Word Ooxml formats such as .docx, .docm, .dotx, .dotm etc. #### Fields | Field | Description | | --- | --- | | Auto | Auto | | Ecma376_2006 | ECMA-376 1st Edition, 2006. | | Iso29500_2008_Transitional | ISO/IEC 29500:2008 Transitional compliance level. | | Iso29500_2008_Strict | ISO/IEC 29500:2008 Strict compliance level. | ##### Auto ``` public static final int Auto ``` Auto ##### Ecma376_2006 ``` public static final int Ecma376_2006 ``` ECMA-376 1st Edition, 2006. ##### Iso29500_2008_Transitional ``` public static final int Iso29500_2008_Transitional ``` ISO/IEC 29500:2008 Transitional compliance level. ##### Iso29500_2008_Strict ``` public static final int Iso29500_2008_Strict ``` ISO/IEC 29500:2008 Strict compliance level. ### WordJoinMode Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/wordjoinmode.md **Inheritance:** java.lang.Object ``` public final class WordJoinMode ``` Possible modes for the Word joining. #### Fields | Field | Description | | --- | --- | | Default | Specifies Default Word joining. | | Continuous | Specifies Word joining without starting from new page. | ##### Default ``` public static final int Default ``` Specifies Default Word joining. ##### Continuous ``` public static final int Continuous ``` Specifies Word joining without starting from new page. ### WordJoinOptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.options/wordjoinoptions.md **Inheritance:** java.lang.Object, com.groupdocs.merger.domain.options.PageOptions, com.groupdocs.merger.domain.options.PageJoinOptions ``` public class WordJoinOptions extends PageJoinOptions ``` The Word join options. #### Constructors | Constructor | Description | | --- | --- | | WordJoinOptions() | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(int[] pageNumbers) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(int startNumber, int endNumber) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(int startNumber, int endNumber, int mode) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType, int[] pageNumbers) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType, int startNumber, int endNumber) | Initializes a new instance of the WordJoinOptions class. | | WordJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) | Initializes a new instance of the WordJoinOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | The Word join mode. | | setMode(int value) | The Word join mode. | | getCompliance() | Compliance mode for the Word Ooxml format | | setCompliance(int value) | Compliance mode for the Word Ooxml format | ##### WordJoinOptions() ``` public WordJoinOptions() ``` Initializes a new instance of the WordJoinOptions class. ##### WordJoinOptions(int[] pageNumbers) ``` public WordJoinOptions(int[] pageNumbers) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | Page numbers. | ##### WordJoinOptions(int startNumber, int endNumber) ``` public WordJoinOptions(int startNumber, int endNumber) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### WordJoinOptions(int startNumber, int endNumber, int mode) ``` public WordJoinOptions(int startNumber, int endNumber, int mode) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### WordJoinOptions(FileType fileType) ``` public WordJoinOptions(FileType fileType) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | ##### WordJoinOptions(FileType fileType, int[] pageNumbers) ``` public WordJoinOptions(FileType fileType, int[] pageNumbers) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | pageNumbers | int[] | Page numbers. | ##### WordJoinOptions(FileType fileType, int startNumber, int endNumber) ``` public WordJoinOptions(FileType fileType, int startNumber, int endNumber) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | ##### WordJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` public WordJoinOptions(FileType fileType, int startNumber, int endNumber, int mode) ``` Initializes a new instance of the WordJoinOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file to join. | | startNumber | int | The start page number. | | endNumber | int | The end page number. | | mode | int | The range mode. | ##### getMode() ``` public final int getMode() ``` The Word join mode. **Returns:** int ##### setMode(int value) ``` public final void setMode(int value) ``` The Word join mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getCompliance() ``` public final int getCompliance() ``` Compliance mode for the Word Ooxml format **Returns:** int ##### setCompliance(int value) ``` public final void setCompliance(int value) ``` Compliance mode for the Word Ooxml format **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### com.groupdocs.merger.domain.result Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.result.md The **com.groupdocs.merger.domain.result** namespace provides classes which represent document results. #### Classes | Class | Description | | --- | --- | | DocumentInfo | Defines document description properties. | | PageInfo | Defines page description properties. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Interface for the document description properties. | | IPageInfo | Interface for the page description properties. | ### DocumentInfo Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.result/documentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.result.IDocumentInfo ``` public class DocumentInfo implements IDocumentInfo ``` Defines document description properties. #### Constructors | Constructor | Description | | --- | --- | | DocumentInfo(int index, InputStream stream, FileType fileType, String password) | Initializes new instance of DocumentInfo class. | | DocumentInfo(int index, InputStream stream, FileType fileType, String password, IPageInfo[] pages, long size) | Initializes new instance of DocumentInfo class. | | DocumentInfo(FileType fileType, IPageInfo[] pages, long size) | Initializes new instance of DocumentInfo class. | #### Methods | Method | Description | | --- | --- | | getIndex() | The document index. | | getStream() | The document stream. | | getPassword() | The document password. | | getType() | Gets the file type. | | getPages() | Defines document pages collection. | | getPageCount() | The document pages count. | | getSize() | Document size in bytes | | toString() | Returns a string that represents the current object. | ##### DocumentInfo(int index, InputStream stream, FileType fileType, String password) ``` public DocumentInfo(int index, InputStream stream, FileType fileType, String password) ``` Initializes new instance of DocumentInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | | | stream | java.io.InputStream | | | fileType | FileType | The type of the file. | | password | java.lang.String | | ##### DocumentInfo(int index, InputStream stream, FileType fileType, String password, IPageInfo[] pages, long size) ``` public DocumentInfo(int index, InputStream stream, FileType fileType, String password, IPageInfo[] pages, long size) ``` Initializes new instance of DocumentInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | | | stream | java.io.InputStream | | | fileType | FileType | The type of the file. | | password | java.lang.String | | | pages | IPageInfo\[\] | The list of pages to view. | | size | long | The size of the file. | ##### DocumentInfo(FileType fileType, IPageInfo[] pages, long size) ``` public DocumentInfo(FileType fileType, IPageInfo[] pages, long size) ``` Initializes new instance of DocumentInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | pages | IPageInfo\[\] | The list of pages to view. | | size | long | The size of the file. | ##### getIndex() ``` public final int getIndex() ``` The document index. **Returns:** int ##### getStream() ``` public final InputStream getStream() ``` The document stream. **Returns:** java.io.InputStream ##### getPassword() ``` public final String getPassword() ``` The document password. **Returns:** java.lang.String ##### getType() ``` public final FileType getType() ``` Gets the file type. **Returns:** FileType ##### getPages() ``` public final IPageInfo[] getPages() ``` Defines document pages collection. **Returns:** com.groupdocs.merger.domain.result.IPageInfo[] ##### getPageCount() ``` public final int getPageCount() ``` The document pages count. **Returns:** int ##### getSize() ``` public final long getSize() ``` Document size in bytes **Returns:** long ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ### IDocumentInfo Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.result/idocumentinfo.md ### IPageInfo Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.result/ipageinfo.md ### PageInfo Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.result/pageinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.domain.result.IPageInfo ``` public class PageInfo implements IPageInfo ``` Defines page description properties. #### Constructors | Constructor | Description | | --- | --- | | PageInfo(int number, boolean visible) | Initializes new instance of PageInfo class. | | PageInfo(int number, boolean visible, int width, int height) | Initializes new instance of PageInfo class. | #### Methods | Method | Description | | --- | --- | | getDocument() | Gets the document info. | | setDocument(DocumentInfo value) | Gets the document info. | | getNumber() | Gets the page number. | | getVisible() | Indicates whether page is visibile or not. | | getWidth() | Gets page width in pixels when converted to image. | | getHeight() | Gets page height in pixels when converted to image. | ##### PageInfo(int number, boolean visible) ``` public PageInfo(int number, boolean visible) ``` Initializes new instance of PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | number | int | The page number. | | visible | boolean | The page visibility indicator. | ##### PageInfo(int number, boolean visible, int width, int height) ``` public PageInfo(int number, boolean visible, int width, int height) ``` Initializes new instance of PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | number | int | The page number. | | visible | boolean | The page visibility indicator. | | width | int | The width of the page in pixels when viewing as JPG or PNG. | | height | int | The height of the page in pixels when viewing as JPG or PNG. | ##### getDocument() ``` public final DocumentInfo getDocument() ``` Gets the document info. **Returns:** DocumentInfo ##### setDocument(DocumentInfo value) ``` public final void setDocument(DocumentInfo value) ``` Gets the document info. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | DocumentInfo | | ##### getNumber() ``` public final int getNumber() ``` Gets the page number. **Returns:** int ##### getVisible() ``` public final boolean getVisible() ``` Indicates whether page is visibile or not. **Returns:** boolean ##### getWidth() ``` public final int getWidth() ``` Gets page width in pixels when converted to image. **Returns:** int ##### getHeight() ``` public final int getHeight() ``` Gets page height in pixels when converted to image. **Returns:** int ### com.groupdocs.merger.domain Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain.md The **com.groupdocs.merger.domain** namespace provides classes for working with document structure. #### Classes | Class | Description | | --- | --- | | FileType | Represents file type. | ### FileType Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.domain/filetype.md **Inheritance:** java.lang.Object ``` public final class FileType ``` Represents file type. Provides methods to obtain list of all file types supported by **GroupDocs.Merger**, detect file type by extension etc. [Full list of supported document formats]: https://docs.groupdocs.com/display/mergernet/Supported+Document+Types [How to get supported file formats in code]: https://docs.groupdocs.com/display/mergernet/Get+supported+file+types #### Fields | Field | Description | | --- | --- | | Unknown | Represents unknown file type. | | ZIP | Zipped File (.zip) | | SevenZ | 7-Zip Compressed File (.7z) | | TAR | Consolidated Unix File Archive (.tar) | | RAR | Roshal ARchive Compressed File (.rar) | | VSSX | Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. | | VSDX | Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. | | VSDM | Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. | | VSTX | Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. | | VSTM | Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. | | VSSM | Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. | | VSX | Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. | | VTX | Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. | | VDX | Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. | | EPUB | Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. | | BMP | Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. | | JPG | JPEG Image (.jpg) | | JPEG | JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. | | PNG | Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. | | PS | PostScript File (.ps) | | TIF | Tagged Image File (.tif) | | TIFF | Tagged Image File Format (.tiff) | | GIF | Graphical Interchange Format File (.gif) | | SVG | Scalable Vector Graphics File (.svg) | | SVGZ | Scalable Vector Graphics Compressed File (.svgz) | | EMF | Windows Enhanced Metafile (.emf) | | EMZ | Windows Compressed Enhanced Metafile (.emz) | | HTML | Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. | | MHT | MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. | | MHTML | MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. | | ONE | OneNote Document (.one) files are created by Microsoft OneNote application. | | PDF | Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. | | XPS | XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. | | TEX | LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. | | PPT | PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. | | PPTX | PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. | | PPS | PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. | | PPSX | PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. | | ODP | OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. | | OTP | OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. | | XLS | Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. | | XLSX | Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. | | XLSM | Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. | | XLSB | Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. | | CSV | Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. | | TSV | Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. | | ODS | OpenDocument Spreadsheet (.ods). | | XLTM | Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. | | XLTX | Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. | | XLT | Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. | | XLAM | Excel Macro-Enabled Add-In (.xlam). | | DOC | Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. | | DOCX | Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. | | DOCM | Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | DOT | Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | DOTX | Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | DOTM | Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. | | RTF | Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. | | TXT | Plain Text File (.txt) represents a text document that contains plain text in the form of lines. | | ERR | Error Log File (.err) is a text file that contains error messages generated by a program. | | ODT | OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | OTT | OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. | | WAV | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. | #### Methods | Method | Description | | --- | --- | | getFileFormat() | File type name e.g. | | getExtension() | Filename suffix (including the period ".") e.g. | | fromExtension(String extension) | Maps file extension to file type. | | getSupportedFileTypes() | Retrieves supported file types | | equals(FileType other) | Determines whether the current FileType is the same as specified FileType object. | | equals(Object obj) | Determines whether the current FileType is the same as specified object. | | hashCode() | Returns the hash code for the current FileType object. | | op_Equality(FileType left, FileType right) | Determines whether two FileType objects are the same. | | op_Inequality(FileType left, FileType right) | Determines whether two FileType objects are not the same. | | toString() | Returns a string that represents the current object. | | isText(FileType fileType) | Determines whether input FileType is primitive text format. | | isArchive(FileType fileType) | Determines whether input FileType is archive format. | | isImage(FileType fileType) | Determines whether input FileType is primitive text format. | | isAudio(FileType fileType) | Determines whether input FileType is audio format. | | getBase(FileType fileType) | | ##### Unknown ``` public static final FileType Unknown ``` Represents unknown file type. ##### ZIP ``` public static FileType ZIP ``` Zipped File (.zip) ##### SevenZ ``` public static final FileType SevenZ ``` 7-Zip Compressed File (.7z) ##### TAR ``` public static final FileType TAR ``` Consolidated Unix File Archive (.tar) ##### RAR ``` public static final FileType RAR ``` Roshal ARchive Compressed File (.rar) ##### VSSX ``` public static final FileType VSSX ``` Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vssx ##### VSDX ``` public static final FileType VSDX ``` Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vsdx ##### VSDM ``` public static final FileType VSDM ``` Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vsdm ##### VSTX ``` public static final FileType VSTX ``` Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vstx ##### VSTM ``` public static final FileType VSTM ``` Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vstm ##### VSSM ``` public static final FileType VSSM ``` Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vssm ##### VSX ``` public static final FileType VSX ``` Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vsx ##### VTX ``` public static final FileType VTX ``` Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vtx ##### VDX ``` public static final FileType VDX ``` Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/vdx ##### EPUB ``` public static final FileType EPUB ``` Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/ebook/epub ##### BMP ``` public static final FileType BMP ``` Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/bmp ##### JPG ``` public static final FileType JPG ``` JPEG Image (.jpg) ##### JPEG ``` public static final FileType JPEG ``` JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/jpeg ##### PNG ``` public static final FileType PNG ``` Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/png ##### PS ``` public static final FileType PS ``` PostScript File (.ps) ##### TIF ``` public static FileType TIF ``` Tagged Image File (.tif) ##### TIFF ``` public static FileType TIFF ``` Tagged Image File Format (.tiff) ##### GIF ``` public static FileType GIF ``` Graphical Interchange Format File (.gif) ##### SVG ``` public static FileType SVG ``` Scalable Vector Graphics File (.svg) ##### SVGZ ``` public static FileType SVGZ ``` Scalable Vector Graphics Compressed File (.svgz) ##### EMF ``` public static final FileType EMF ``` Windows Enhanced Metafile (.emf) ##### EMZ ``` public static final FileType EMZ ``` Windows Compressed Enhanced Metafile (.emz) ##### HTML ``` public static final FileType HTML ``` Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/html ##### MHT ``` public static final FileType MHT ``` MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/mhtml ##### MHTML ``` public static final FileType MHTML ``` MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/web/mhtml ##### ONE ``` public static final FileType ONE ``` OneNote Document (.one) files are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/note-taking/one ##### PDF ``` public static final FileType PDF ``` Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/view/pdf ##### XPS ``` public static final FileType XPS ``` XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/page-description-language/xps ##### TEX ``` public static final FileType TEX ``` LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/page-description-language/tex ##### PPT ``` public static final FileType PPT ``` PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/ppt ##### PPTX ``` public static final FileType PPTX ``` PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/pptx ##### PPS ``` public static final FileType PPS ``` PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/pps ##### PPSX ``` public static final FileType PPSX ``` PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/ppsx ##### ODP ``` public static final FileType ODP ``` OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/odp ##### OTP ``` public static final FileType OTP ``` OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/presentation/otp ##### XLS ``` public static final FileType XLS ``` Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xls ##### XLSX ``` public static final FileType XLSX ``` Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlsx ##### XLSM ``` public static final FileType XLSM ``` Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlsm ##### XLSB ``` public static final FileType XLSB ``` Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlsb ##### CSV ``` public static final FileType CSV ``` Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/csv ##### TSV ``` public static final FileType TSV ``` Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/tsv ##### ODS ``` public static final FileType ODS ``` OpenDocument Spreadsheet (.ods). ##### XLTM ``` public static final FileType XLTM ``` Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xltm ##### XLTX ``` public static final FileType XLTX ``` Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xltx ##### XLT ``` public static final FileType XLT ``` Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/spreadsheet/xlt ##### XLAM ``` public static final FileType XLAM ``` Excel Macro-Enabled Add-In (.xlam). ##### DOC ``` public static final FileType DOC ``` Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/doc ##### DOCX ``` public static final FileType DOCX ``` Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/docx ##### DOCM ``` public static final FileType DOCM ``` Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/docm ##### DOT ``` public static final FileType DOT ``` Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/dot ##### DOTX ``` public static final FileType DOTX ``` Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/dotx ##### DOTM ``` public static final FileType DOTM ``` Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/dotm ##### RTF ``` public static final FileType RTF ``` Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/rtf ##### TXT ``` public static final FileType TXT ``` Plain Text File (.txt) represents a text document that contains plain text in the form of lines. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/txt ##### ERR ``` public static final FileType ERR ``` Error Log File (.err) is a text file that contains error messages generated by a program. Learn more about this file format [here][]. [here]: https://fileinfo.com/extension/err ##### ODT ``` public static final FileType ODT ``` OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/odt ##### OTT ``` public static final FileType OTT ``` OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/word-processing/ott ##### WAV ``` public static FileType WAV ``` WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft\\u2019s Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn\\u2019t apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. It has been and is one of the standard format for audio CDs. Learn more about this file format [here][] . [here]: https://docs.fileformat.com/audio/wav ##### getFileFormat() ``` public final String getFileFormat() ``` File type name e.g. "Microsoft Word Document". **Returns:** java.lang.String ##### getExtension() ``` public final String getExtension() ``` Filename suffix (including the period ".") e.g. ".doc". **Returns:** java.lang.String ##### fromExtension(String extension) ``` public static FileType fromExtension(String extension) ``` Maps file extension to file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | File extension (including the period "."). | **Returns:** FileType - When file type is supported returns it, otherwise returns default \#Unknown.Unknown file type. ##### getSupportedFileTypes() ``` public static List getSupportedFileTypes() ``` Retrieves supported file types **Returns:** java.util.List - Returns sequence of supported file types ##### equals(FileType other) ``` public final boolean equals(FileType other) ``` Determines whether the current FileType is the same as specified FileType object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | FileType | The object to compare with the current FileType object. | **Returns:** boolean - ``` true ``` if both [FileType](../../com.groupdocs.merger.domain/filetype) objects are the same; otherwise, ``` false ``` ### equals(Object obj) {#equals-java.lang.Object-} ``` public boolean equals(Object obj) ``` Determines whether the current [FileType](../../com.groupdocs.merger.domain/filetype) is the same as specified object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if ``` obj ``` parameter is FileType and is the same as current FileType object; otherwise, ``` false ``` ##### hashCode() ``` public int hashCode() ``` Returns the hash code for the current FileType object. **Returns:** int - A hash code for the current FileType object. ##### op_Equality(FileType left, FileType right) ``` public static boolean op_Equality(FileType left, FileType right) ``` Determines whether two FileType objects are the same. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left FileType object. | | right | FileType | Right FileType object. | **Returns:** boolean - ``` true ``` if both [FileType](../../com.groupdocs.merger.domain/filetype) objects are the same; otherwise, ``` false ``` ### op_Inequality(FileType left, FileType right) {#op-Inequality-com.groupdocs.merger.domain.FileType-com.groupdocs.merger.domain.FileType-} ``` public static boolean op_Inequality(FileType left, FileType right) ``` Determines whether two [FileType](../../com.groupdocs.merger.domain/filetype) objects are not the same. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | [FileType](../../com.groupdocs.merger.domain/filetype) | Left [FileType](../../com.groupdocs.merger.domain/filetype) object. | | right | [FileType](../../com.groupdocs.merger.domain/filetype) | Right [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if both FileType objects are not the same; otherwise, ``` false ``` ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ##### isText(FileType fileType) ``` public static boolean isText(FileType fileType) ``` Determines whether input FileType is primitive text format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The FileType object. | **Returns:** boolean - ``` true ``` if input [FileType](../../com.groupdocs.merger.domain/filetype) is primitive text format; otherwise, ``` false ``` ### isArchive(FileType fileType) {#isArchive-com.groupdocs.merger.domain.FileType-} ``` public static boolean isArchive(FileType fileType) ``` Determines whether input [FileType](../../com.groupdocs.merger.domain/filetype) is archive format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | [FileType](../../com.groupdocs.merger.domain/filetype) | The [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if input FileType is archive format; otherwise, ``` false ``` ##### isImage(FileType fileType) ``` public static boolean isImage(FileType fileType) ``` Determines whether input FileType is primitive text format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The FileType object. | **Returns:** boolean - ``` true ``` if input [FileType](../../com.groupdocs.merger.domain/filetype) is primitive image format; otherwise, ``` false ``` ### isAudio(FileType fileType) {#isAudio-com.groupdocs.merger.domain.FileType-} ``` public static boolean isAudio(FileType fileType) ``` Determines whether input [FileType](../../com.groupdocs.merger.domain/filetype) is audio format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | [FileType](../../com.groupdocs.merger.domain/filetype) | The [FileType](../../com.groupdocs.merger.domain/filetype) object. | **Returns:** boolean - ``` true ``` if input FileType is audio format; otherwise, ``` false ``` ##### getBase(FileType fileType) ``` public static FileType getBase(FileType fileType) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | | **Returns:** FileType ### com.groupdocs.merger.exceptions Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.exceptions.md The **com.groupdocs.merger.exceptions** namespace provides classes for exceptions which can occur while working with a document. #### Classes | Class | Description | | --- | --- | | FileCorruptedException | The exception that is thrown when specified file could not be loaded because it appears to be corrupted. | | FileTypeNotSupportedException | The exception that is thrown when specified file type is not supported. | | GroupDocsMergerException | Represents errors that occur during document processing. | | IncorrectPasswordException | The exception that is thrown when specified password is incorrect. | | PasswordRequiredException | The exception that is thrown when password is required to load the document. | ### FileCorruptedException Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.exceptions/filecorruptedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, com.groupdocs.merger.exceptions.GroupDocsMergerException ``` public class FileCorruptedException extends GroupDocsMergerException ``` The exception that is thrown when specified file could not be loaded because it appears to be corrupted. #### Constructors | Constructor | Description | | --- | --- | | FileCorruptedException(String guid) | Initializes a new instance of the FileCorruptedException class. | ##### FileCorruptedException(String guid) ``` public FileCorruptedException(String guid) ``` Initializes a new instance of the FileCorruptedException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | guid | java.lang.String | The guid. | ### FileTypeNotSupportedException Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.exceptions/filetypenotsupportedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception ``` public class FileTypeNotSupportedException extends Exception ``` The exception that is thrown when specified file type is not supported. #### Constructors | Constructor | Description | | --- | --- | | FileTypeNotSupportedException(String message) | Initializes a new instance of the FileTypeNotSupportedException class. | ##### FileTypeNotSupportedException(String message) ``` public FileTypeNotSupportedException(String message) ``` Initializes a new instance of the FileTypeNotSupportedException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ### GroupDocsMergerException Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.exceptions/groupdocsmergerexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception ``` public class GroupDocsMergerException extends Exception ``` Represents errors that occur during document processing. #### Constructors | Constructor | Description | | --- | --- | | GroupDocsMergerException(String message) | Initializes a new instance of the GroupDocsMergerException class. | | GroupDocsMergerException(String message, Exception innerException) | Initializes a new instance of the GroupDocsMergerException class. | #### Methods | Method | Description | | --- | --- | | getException(Exception exception) | Get the GroupDocs Merger exception from input exception. | ##### GroupDocsMergerException(String message) ``` public GroupDocsMergerException(String message) ``` Initializes a new instance of the GroupDocsMergerException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### GroupDocsMergerException(String message, Exception innerException) ``` public GroupDocsMergerException(String message, Exception innerException) ``` Initializes a new instance of the GroupDocsMergerException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | | innerException | java.lang.Exception | The inner exception of the error. | ##### getException(Exception exception) ``` public static Exception getException(Exception exception) ``` Get the GroupDocs Merger exception from input exception. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | exception | java.lang.Exception | The input exception. | **Returns:** java.lang.Exception - ### IncorrectPasswordException Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.exceptions/incorrectpasswordexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, com.groupdocs.merger.exceptions.GroupDocsMergerException ``` public class IncorrectPasswordException extends GroupDocsMergerException ``` The exception that is thrown when specified password is incorrect. #### Constructors | Constructor | Description | | --- | --- | | IncorrectPasswordException(String guid) | Initializes a new instance of the IncorrectPasswordException class. | ##### IncorrectPasswordException(String guid) ``` public IncorrectPasswordException(String guid) ``` Initializes a new instance of the IncorrectPasswordException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | guid | java.lang.String | The guid. | ### PasswordRequiredException Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.exceptions/passwordrequiredexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, com.groupdocs.merger.exceptions.GroupDocsMergerException ``` public class PasswordRequiredException extends GroupDocsMergerException ``` The exception that is thrown when password is required to load the document. #### Constructors | Constructor | Description | | --- | --- | | PasswordRequiredException(String guid) | Initializes a new instance of the PasswordRequiredException class. | ##### PasswordRequiredException(String guid) ``` public PasswordRequiredException(String guid) ``` Initializes a new instance of the PasswordRequiredException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | guid | java.lang.String | The guid. | ### com.groupdocs.merger.licensing.metered Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.licensing.metered.md The **com.groupdocs.merger.licensing.metered** namespace provides methods to set metered key. #### Classes | Class | Description | | --- | --- | | Metered | Provides methods for applying [Metered][] license.[Metered]: https://purchase.groupdocs.com/faqs/licensing/metered | ### Metered Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.licensing.metered/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods for applying [Metered][] license. [Metered]: https://purchase.groupdocs.com/faqs/licensing/metered #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves amount of used credits | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. > ``` > Following example demonstrates how to activate product with Metered keys. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static double getConsumptionQuantity() ``` Retrieves amount of MBs processed. > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal mbProcessed = Metered.GetConsumptionQuantity(); > ``` **Returns:** double ##### getConsumptionCredit() ``` public static double getConsumptionCredit() ``` Retrieves amount of used credits > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal usedCredits = Metered.GetConsumptionCredit(); > ``` **Returns:** double ### com.groupdocs.merger.licensing Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.licensing.md The **com.groupdocs.merger.licensing** namespace provides methods to license the component. #### Classes | Class | Description | | --- | --- | | License | Provides methods to license the component. | ### License Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.licensing/license.md **Inheritance:** java.lang.Object ``` public final class License ``` Provides methods to license the component. Learn more about licensing [here][]. [here]: https://purchase.groupdocs.com/faqs/licensing #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | setLicense(InputStream licenseStream) | Licenses the component. | | setLicense(String licensePath) | Licenses the component. | ##### License() ``` public License() ``` ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing Stream of the license file. > > using (FileStream licenseStream = new FileStream("LicenseFile.lic", FileMode.Open)) > { > GroupDocs.Merger.License lic = new GroupDocs.Merger.License(); > lic.SetLicense(licenseStream); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | The license stream. | ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Licenses the component. > ``` > The following example demonstrates how to set a license > passing a path to the license file. > > string licensePath = "GroupDocs.Merger.lic"; > GroupDocs.Merger.License lic = new GroupDocs.Merger.License(); > lic.SetLicense(licensePath); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The license path. | ### com.groupdocs.merger.logging Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.logging.md The **com.groupdocs.merger.logging** namespace provides classes for customizing logging behaviour. #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Writes log messages to the console. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | Defines the methods that are used to perform logging. | ### ConsoleLogger Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.logging/consolelogger.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.merger.logging.ILogger ``` public class ConsoleLogger implements ILogger ``` Writes log messages to the console. #### Constructors | Constructor | Description | | --- | --- | | ConsoleLogger() | | #### Methods | Method | Description | | --- | --- | | trace(String message) | Writes trace message to the console. | | warning(String message) | Writes warning message to the console. | | error(String message, Exception exception) | Writes error message to the console. | ##### ConsoleLogger() ``` public ConsoleLogger() ``` ##### trace(String message) ``` public final void trace(String message) ``` Writes trace message to the console. Trace log messages provides generally useful information about application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The trace message. | ##### warning(String message) ``` public final void warning(String message) ``` Writes warning message to the console. Warning log messages provides information about unexpected and recoverable event in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The warning message. | ##### error(String message, Exception exception) ``` public final void error(String message, Exception exception) ``` Writes error message to the console. Error log messages provides information about unrecoverable events in application flow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message. | | exception | java.lang.Exception | The exception. | ### ILogger Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.logging/ilogger.md ### com.groupdocs.merger Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger.md The **com.groupdocs.merger** namespace provides classes which allow you to merge documents and manipulate document structure (split single document to multiple documents, reorder or replace document pages, change page orientation, manage document password and perform other manipulations) across wide range of supported document types - PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, ODT, ODS, ODP, HTML, EPUB and many others.. #### Classes | Class | Description | | --- | --- | | Merger | Represents the main class that controls the document merging process. | | MergerSettings | Defines settings for customizing Merger behaviour. | ### Merger Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger/merger.md **Inheritance:** java.lang.Object ``` public class Merger ``` Represents the main class that controls the document merging process. #### Constructors | Constructor | Description | | --- | --- | | Merger(InputStream document) | Initializes new instance of Merger class. | | Merger(InputStream document, ILoadOptions loadOptions) | Initializes new instance of Merger class. | | Merger(InputStream document, MergerSettings settings) | Initializes new instance of Merger class. | | Merger(InputStream document, ILoadOptions loadOptions, MergerSettings settings) | Initializes new instance of Merger class. | | Merger(String filePath) | Initializes new instance of Merger class. | | Merger(String filePath, ILoadOptions loadOptions) | Initializes new instance of Merger class. | | Merger(String filePath, MergerSettings settings) | Initializes new instance of Merger class. | | Merger(String filePath, ILoadOptions loadOptions, MergerSettings settings) | Initializes new instance of Merger class. | #### Methods | Method | Description | | --- | --- | | dispose() | Disposes resources. | | importDocument(IImportDocumentOptions importDocumentOptions) | Imports the document as attachment or embedded via Ole. | | join(InputStream document) | Joins the documents into one single document. | | join(InputStream document, IJoinOptions joinOptions) | Joins the documents into one single document. | | join(InputStream document, IPageJoinOptions joinOptions) | Joins the documents into one single document. | | join(InputStream document, ImageJoinOptions joinOptions) | Joins the documents into one single document. | | join(String filePath) | Joins the documents into one single document. | | join(String filePath, IJoinOptions joinOptions) | Joins the documents into one single document. | | join(String filePath, IPageJoinOptions joinOptions) | Joins the documents into one single document. | | join(String filePath, ImageJoinOptions joinOptions) | Joins the documents into one single document. | | createPageBuilder() | Creates a new Page builder with predefined document collection. | | createPageBuilder(PageBuilderOptions pageBuilderOptions) | Creates a new Page builder with predefined document collection. | | applyPageBuilder(PageBuilder pageBuilder) | Applies page builder changes. | | split(ISplitOptions splitOptions) | Splits the single document to the multiple documents. | | split(ITextSplitOptions splitOptions) | Splits the single document to the multiple documents. | | extractPages(IExtractOptions extractOptions) | Makes a new document with some pages from the source document. | | addPassword(IAddPasswordOptions addPasswordOptions) | Protects document with password. | | isPasswordSet() | Checks whether document is password protected. | | removePassword() | Removes password from document. | | updatePassword(IUpdatePasswordOptions updatePasswordOptions) | Updates existing password for document. | | changeOrientation(IOrientationOptions orientationOptions) | Applies a new orientation mode for the specified pages. | | movePage(IMoveOptions moveOptions) | Moves page to a new position within document of known format. | | removePages(IRemoveOptions removeOptions) | Removes pages from document of known format. | | swapPages(ISwapOptions swapOptions) | Swaps two pages within document of known format. | | rotatePages(IRotateOptions rotateOptions) | Rotate pages of the document. | | getDocumentInfo() | Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height. | | generatePreview(IPreviewOptions previewOptions) | Generates document pages preview. | | save(OutputStream document) | Saves the result document to the stream document . | | save(String filePath) | Saves the result document file to filePath . | | save(String filePath, boolean useDefaultDirectory) | Saves the result document file to filePath . | ##### Merger(InputStream document) ``` public Merger(InputStream document) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | ##### Merger(InputStream document, ILoadOptions loadOptions) ``` public Merger(InputStream document, ILoadOptions loadOptions) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | | loadOptions | ILoadOptions | The document load options. | ##### Merger(InputStream document, MergerSettings settings) ``` public Merger(InputStream document, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | | settings | MergerSettings | The Merger settings. | ##### Merger(InputStream document, ILoadOptions loadOptions, MergerSettings settings) ``` public Merger(InputStream document, ILoadOptions loadOptions, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The readable stream. | | loadOptions | ILoadOptions | The document load options. | | settings | MergerSettings | The Merger settings. | ##### Merger(String filePath) ``` public Merger(String filePath) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | ##### Merger(String filePath, ILoadOptions loadOptions) ``` public Merger(String filePath, ILoadOptions loadOptions) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | | loadOptions | ILoadOptions | The document load options. | ##### Merger(String filePath, MergerSettings settings) ``` public Merger(String filePath, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | | settings | MergerSettings | The Merger settings. | ##### Merger(String filePath, ILoadOptions loadOptions, MergerSettings settings) ``` public Merger(String filePath, ILoadOptions loadOptions, MergerSettings settings) ``` Initializes new instance of Merger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path. | | loadOptions | ILoadOptions | The document load options. | | settings | MergerSettings | The Merger settings. | ##### dispose() ``` public final void dispose() ``` Disposes resources. ##### importDocument(IImportDocumentOptions importDocumentOptions) ``` public final void importDocument(IImportDocumentOptions importDocumentOptions) ``` Imports the document as attachment or embedded via Ole. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | importDocumentOptions | IImportDocumentOptions | The embedded document import options. [How to add attachment to PDF document.]: https://docs.groupdocs.com/merger/java/how-to-add-attachment-to-pdf-document/ [Add document to Word processing via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-word-processing-via-ole/ [Add document to Presentation via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-presentation-via-ole/ [Add document to Spreadsheet via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-spreadsheet-via-ole/ [Add document to Diagram via OLE.]: https://docs.groupdocs.com/merger/java/add-document-to-diagram-via-ole/ | ##### join(InputStream document) ``` public final void join(InputStream document) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(InputStream document, IJoinOptions joinOptions) ``` public final void join(InputStream document, IJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. | | joinOptions | IJoinOptions | The join options. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(InputStream document, IPageJoinOptions joinOptions) ``` public final void join(InputStream document, IPageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. | | joinOptions | IPageJoinOptions | The join options. ##### join(InputStream document, ImageJoinOptions joinOptions) ``` public final void join(InputStream document, ImageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | Joined document. | | joinOptions | ImageJoinOptions | The image join options. ##### join(String filePath) ``` public final void join(String filePath) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(String filePath, IJoinOptions joinOptions) ``` public final void join(String filePath, IJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. | | joinOptions | IJoinOptions | The join options. [How to merge PDF_ Word_ Excel and PowerPoint documents in 3 steps]: https://docs.groupdocs.com/merger/java/merge-files/ | ##### join(String filePath, IPageJoinOptions joinOptions) ``` public final void join(String filePath, IPageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. | | joinOptions | IPageJoinOptions | The join options. ##### join(String filePath, ImageJoinOptions joinOptions) ``` public final void join(String filePath, ImageJoinOptions joinOptions) ``` Joins the documents into one single document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | File path of the joined document. | | joinOptions | ImageJoinOptions | The image join options. ##### createPageBuilder() ``` public final PageBuilder createPageBuilder() ``` Creates a new Page builder with predefined document collection. **Returns:** PageBuilder - The created page builder. ##### createPageBuilder(PageBuilderOptions pageBuilderOptions) ``` public final PageBuilder createPageBuilder(PageBuilderOptions pageBuilderOptions) ``` Creates a new Page builder with predefined document collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageBuilderOptions | PageBuilderOptions | | **Returns:** PageBuilder - The created page builder. ##### applyPageBuilder(PageBuilder pageBuilder) ``` public final void applyPageBuilder(PageBuilder pageBuilder) ``` Applies page builder changes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageBuilder | PageBuilder | The page builder. | ##### split(ISplitOptions splitOptions) ``` public final void split(ISplitOptions splitOptions) ``` Splits the single document to the multiple documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitOptions | ISplitOptions | The page split options. [How to split PDF_ Word_ Excel and PowerPoint documents in 3 lines of code]: https://docs.groupdocs.com/merger/java/split-document/ [Split text files guide]: https://docs.groupdocs.com/merger/java/split-text-file/ | ##### split(ITextSplitOptions splitOptions) ``` public final void split(ITextSplitOptions splitOptions) ``` Splits the single document to the multiple documents. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | splitOptions | ITextSplitOptions | The text split options. [How to split PDF_ Word_ Excel and PowerPoint documents in 3 lines of code]: https://docs.groupdocs.com/merger/java/split-document/ [Split text files guide]: https://docs.groupdocs.com/merger/java/split-text-file/ | ##### extractPages(IExtractOptions extractOptions) ``` public final void extractPages(IExtractOptions extractOptions) ``` Makes a new document with some pages from the source document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extractOptions | IExtractOptions | The page options. [How to extract pages from PDF_ Word_ Excel and PowerPoint documents]: https://docs.groupdocs.com/merger/java/extract-pages/ | ##### addPassword(IAddPasswordOptions addPasswordOptions) ``` public final void addPassword(IAddPasswordOptions addPasswordOptions) ``` Protects document with password. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | addPasswordOptions | IAddPasswordOptions | The options for specifying the password. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ | ##### isPasswordSet() ``` public final boolean isPasswordSet() ``` Checks whether document is password protected. **Returns:** boolean - Returns a value indicating whether document is protected or not. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ ##### removePassword() ``` public final void removePassword() ``` Removes password from document. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ ##### updatePassword(IUpdatePasswordOptions updatePasswordOptions) ``` public final void updatePassword(IUpdatePasswordOptions updatePasswordOptions) ``` Updates existing password for document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | updatePasswordOptions | IUpdatePasswordOptions | The options for specifying the current/new passwords. [How to protect PDF_ Word_ Excel and PowerPoint documents with password]: https://docs.groupdocs.com/merger/java/add-document-password/ [How to change document password]: https://docs.groupdocs.com/merger/java/update-document-password/ [How to check document password protection]: https://docs.groupdocs.com/merger/java/check-document-password-protection/ [How to remove PDF_ Word_ Excel and PowerPoint documents password]: https://docs.groupdocs.com/merger/java/remove-document-password/ | ##### changeOrientation(IOrientationOptions orientationOptions) ``` public final void changeOrientation(IOrientationOptions orientationOptions) ``` Applies a new orientation mode for the specified pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | orientationOptions | IOrientationOptions | The change orientation options. [How to change Microsoft Word document pages orientation]: https://docs.groupdocs.com/merger/java/change-page-orientation/ | ##### movePage(IMoveOptions moveOptions) ``` public final void movePage(IMoveOptions moveOptions) ``` Moves page to a new position within document of known format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | moveOptions | IMoveOptions | The move options. [How to move PDF_ Word_ Excel and PowerPoint document pages]: https://docs.groupdocs.com/merger/java/move-page/ | ##### removePages(IRemoveOptions removeOptions) ``` public final void removePages(IRemoveOptions removeOptions) ``` Removes pages from document of known format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | removeOptions | IRemoveOptions | The options for the numbers of pages to be removed. [How to remove page from PDF_ Word_ Excel or PowerPoint document]: https://docs.groupdocs.com/merger/java/remove-pages/ | ##### swapPages(ISwapOptions swapOptions) ``` public final void swapPages(ISwapOptions swapOptions) ``` Swaps two pages within document of known format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | swapOptions | ISwapOptions | The swap options. [How to swap pages inside PDF_ Word_ Excel or PowerPoint document]: https://docs.groupdocs.com/merger/java/swap-pages/ | ##### rotatePages(IRotateOptions rotateOptions) ``` public final void rotatePages(IRotateOptions rotateOptions) ``` Rotate pages of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rotateOptions | IRotateOptions | The options for the page rotating. [How to rotate PDF document pages]: https://docs.groupdocs.com/merger/java/rotate-pages/ | ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height. **Returns:** IDocumentInfo - Information about document properties. [How to get document info using GroupDocs.Merger]: https://docs.groupdocs.com/merger/java/get-document-information/ ##### generatePreview(IPreviewOptions previewOptions) ``` public final void generatePreview(IPreviewOptions previewOptions) ``` Generates document pages preview. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewOptions | IPreviewOptions | The preview options. [How to generate document pages preview using GroupDocs.Merger]: https://docs.groupdocs.com/merger/java/generate-document-pages-preview/ | ##### save(OutputStream document) ``` public final void save(OutputStream document) ``` Saves the result document to the stream document . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The document stream. | ##### save(String filePath) ``` public final void save(String filePath) ``` Saves the result document file to filePath . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file name or full file path. | ##### save(String filePath, boolean useDefaultDirectory) ``` public final void save(String filePath, boolean useDefaultDirectory) ``` Saves the result document file to filePath . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The file path or name in case of default directory usage. | | useDefaultDirectory | boolean | Use the default directory from settings. | ### MergerSettings Path: https://reference.groupdocs.com/merger/nodejs-java/com.groupdocs.merger/mergersettings.md **Inheritance:** java.lang.Object ``` public class MergerSettings ``` Defines settings for customizing Merger behaviour. #### Constructors | Constructor | Description | | --- | --- | | MergerSettings() | Initializes new instance of MergerSettings class. | | MergerSettings(ILogger logger) | Initializes new instance of MergerSettings class. | #### Methods | Method | Description | | --- | --- | | getLogger() | The logger implementation used for tracking document processing workflow. | | setLogger(ILogger value) | The logger implementation used for tracking document processing workflow. | ##### MergerSettings() ``` public MergerSettings() ``` Initializes new instance of MergerSettings class. ##### MergerSettings(ILogger logger) ``` public MergerSettings(ILogger logger) ``` Initializes new instance of MergerSettings class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | The logger implementation. | ##### getLogger() ``` public final ILogger getLogger() ``` The logger implementation used for tracking document processing workflow. **Returns:** ILogger ##### setLogger(ILogger value) ``` public final void setLogger(ILogger value) ``` The logger implementation used for tracking document processing workflow. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ILogger | | ## Python ### GroupDocs.Merger for Python via .NET Path: https://reference.groupdocs.com/merger/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.merger` | Main GroupDocs.Merger namespace with top-level API classes. | | `groupdocs.merger.domain` | Types under `groupdocs.merger.domain`. | | `groupdocs.merger.domain.builders` | Types under `groupdocs.merger.domain.builders`. | | `groupdocs.merger.domain.common` | Types under `groupdocs.merger.domain.common`. | | `groupdocs.merger.domain.options` | Option classes for configuring conversions and operations. | | `groupdocs.merger.domain.result` | Types under `groupdocs.merger.domain.result`. | | `groupdocs.merger.logging` | Logging hooks and listener interfaces. | ### groupdocs.merger.domain.builders Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders.md Types under `groupdocs.merger.domain.builders`. ##### Classes | Class | Description | | :- | :- | | `PageBuilder` | | ### PageBuilder class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder.md #### PageBuilder class The PageBuilder type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _add_page_int32_int32 | | | _add_page_ipage_info | | | _add_page_range_ipage_info_array | | | _clear_noargs | | | _init_noargs | | | _init_page_builder_options | | | add_page | | | add_page_int32 | | | add_page_ipage_info | | | add_page_range | | | add_page_range_ipage_info | | | clear | | ##### Properties | Property | Description | | :- | :- | | documents | | | options | | | pages | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _add_page_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/_add_page_int32_int32.md #### _add_page_int32_int32 ```python def _add_page_int32_int32(self, document_index, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document_index | `int` | | | page_number | `int` | | ### _add_page_ipage_info method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/_add_page_ipage_info.md #### _add_page_ipage_info ```python def _add_page_ipage_info(self, page): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page | `IPageInfo` | | ### _add_page_range_ipage_info_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/_add_page_range_ipage_info_array.md #### _add_page_range_ipage_info_array ```python def _add_page_range_ipage_info_array(self, pages): ... ``` | Parameter | Type | Description | | :- | :- | :- | | pages | `List[IPageInfo]` | | ### _clear_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/_clear_noargs.md #### _clear_noargs ```python def _clear_noargs(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _init_page_builder_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/_init_page_builder_options.md #### _init_page_builder_options ```python def _init_page_builder_options(self, options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | options | `PageBuilderOptions` | | ### add_page method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/add_page.md #### add_page ```python def add_page(self): ... ``` ### add_page_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/add_page_int32.md #### add_page_int32 ```python def add_page_int32(self): ... ``` ### add_page_ipage_info method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/add_page_ipage_info.md #### add_page_ipage_info ```python def add_page_ipage_info(self): ... ``` ### add_page_range method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/add_page_range.md #### add_page_range ```python def add_page_range(self): ... ``` ### add_page_range_ipage_info method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/add_page_range_ipage_info.md #### add_page_range_ipage_info ```python def add_page_range_ipage_info(self): ... ``` ### clear method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/clear.md #### clear ```python def clear(self): ... ``` ### documents property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/documents.md ##### Definition: ```python @property def documents(self): ... ``` ### options property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/options.md ##### Definition: ```python @property def options(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.builders/pagebuilder/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### groupdocs.merger.domain.common Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common.md Types under `groupdocs.merger.domain.common`. ##### Classes | Class | Description | | :- | :- | | `CreatePageStream` | | | `CreateSplitStream` | | | `Func` | | | `ReleasePageStream` | | | `ReleaseSplitStream` | | ### CreatePageStream class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream.md #### CreatePageStream class The CreatePageStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_int32_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_int32 | | | begin_invoke | | | begin_invoke_int32 | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_int32_async_callback_object method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/_begin_invoke_int32_async_callback_object.md #### _begin_invoke_int32_async_callback_object ```python def _begin_invoke_int32_async_callback_object(self, page_number, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | **Returns:** Stream ### _init_object_int_ptr method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/_invoke_int32.md #### _invoke_int32 ```python def _invoke_int32(self, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | **Returns:** Stream ### begin_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### begin_invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/invoke.md #### invoke ```python def invoke(self): ... ``` ### invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createpagestream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### CreateSplitStream class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream.md #### CreateSplitStream class The CreateSplitStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_int32_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_int32 | | | begin_invoke | | | begin_invoke_int32 | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_int32_async_callback_object method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/_begin_invoke_int32_async_callback_object.md #### _begin_invoke_int32_async_callback_object ```python def _begin_invoke_int32_async_callback_object(self, number, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | number | `int` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | **Returns:** Stream ### _init_object_int_ptr method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/_invoke_int32.md #### _invoke_int32 ```python def _invoke_int32(self, number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | number | `int` | | **Returns:** Stream ### begin_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### begin_invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/invoke.md #### invoke ```python def invoke(self): ... ``` ### invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/createsplitstream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### Func class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func.md #### Func class The Func type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_arg_arg_arg_arg_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_arg_arg_arg_arg | | | begin_invoke | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_arg_arg_arg_arg_async_callback_object method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/_begin_invoke_arg_arg_arg_arg_async_callback_object.md #### _begin_invoke_arg_arg_arg_arg_async_callback_object ```python def _begin_invoke_arg_arg_arg_arg_async_callback_object(self, arg1, arg2, arg3, arg4, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | arg1 | `Any` | | | arg2 | `Any` | | | arg3 | `Any` | | | arg4 | `Any` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | **Returns:** Any ### _init_object_int_ptr method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_arg_arg_arg_arg method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/_invoke_arg_arg_arg_arg.md #### _invoke_arg_arg_arg_arg ```python def _invoke_arg_arg_arg_arg(self, arg1, arg2, arg3, arg4): ... ``` | Parameter | Type | Description | | :- | :- | :- | | arg1 | `Any` | | | arg2 | `Any` | | | arg3 | `Any` | | | arg4 | `Any` | | **Returns:** Any ### begin_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/func/invoke.md #### invoke ```python def invoke(self): ... ``` ### ReleasePageStream class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream.md #### ReleasePageStream class The ReleasePageStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_int32_stream_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_int32_stream | | | begin_invoke | | | begin_invoke_int32 | | | begin_invoke_stream | | | begin_invoke_streams | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | | invoke_stream | | | invoke_streams | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_int32_stream_async_callback_object method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/_begin_invoke_int32_stream_async_callback_object.md #### _begin_invoke_int32_stream_async_callback_object ```python def _begin_invoke_int32_stream_async_callback_object(self, page_number, create_page_stream, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | create_page_stream | `Stream` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | ### _init_object_int_ptr method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_int32_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/_invoke_int32_stream.md #### _invoke_int32_stream ```python def _invoke_int32_stream(self, page_number, create_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | create_page_stream | `Stream` | | ### begin_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### begin_invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### begin_invoke_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/begin_invoke_stream.md #### begin_invoke_stream ```python def begin_invoke_stream(self): ... ``` ### begin_invoke_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/begin_invoke_streams.md #### begin_invoke_streams ```python def begin_invoke_streams(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/invoke.md #### invoke ```python def invoke(self): ... ``` ### invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### invoke_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/invoke_stream.md #### invoke_stream ```python def invoke_stream(self): ... ``` ### invoke_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasepagestream/invoke_streams.md #### invoke_streams ```python def invoke_streams(self): ... ``` ### ReleaseSplitStream class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream.md #### ReleaseSplitStream class The ReleaseSplitStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_int32_stream_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_int32_stream | | | begin_invoke | | | begin_invoke_int32 | | | begin_invoke_stream | | | begin_invoke_streams | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | | invoke_stream | | | invoke_streams | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_int32_stream_async_callback_object method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/_begin_invoke_int32_stream_async_callback_object.md #### _begin_invoke_int32_stream_async_callback_object ```python def _begin_invoke_int32_stream_async_callback_object(self, number, create_split_stream, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | number | `int` | | | create_split_stream | `Stream` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | ### _init_object_int_ptr method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_int32_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/_invoke_int32_stream.md #### _invoke_int32_stream ```python def _invoke_int32_stream(self, number, create_split_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | number | `int` | | | create_split_stream | `Stream` | | ### begin_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### begin_invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### begin_invoke_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/begin_invoke_stream.md #### begin_invoke_stream ```python def begin_invoke_stream(self): ... ``` ### begin_invoke_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/begin_invoke_streams.md #### begin_invoke_streams ```python def begin_invoke_streams(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/invoke.md #### invoke ```python def invoke(self): ... ``` ### invoke_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### invoke_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/invoke_stream.md #### invoke_stream ```python def invoke_stream(self): ... ``` ### invoke_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.common/releasesplitstream/invoke_streams.md #### invoke_streams ```python def invoke_streams(self): ... ``` ### groupdocs.merger.domain.options Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options.md Option classes for configuring conversions and operations. ##### Classes | Class | Description | | :- | :- | | `AddPasswordOptions` | | | `ExtractOptions` | | | `IAddPasswordOptions` | | | `IExtractOptions` | | | `IImageJoinOptions` | | | `IImportDocumentOptions` | | | `IJoinOptions` | | | `ILoadOptions` | | | `IMoveOptions` | | | `IOleDiagramOptions` | | | `IOlePresentationOptions` | | | `IOleSpreadsheetOptions` | | | `IOleWordProcessingOptions` | | | `IOrientationOptions` | | | `IPageBuilderOptions` | | | `IPageJoinOptions` | | | `IPageOptions` | | | `IPager` | | | `IPdfAttachmentOptions` | | | `IPreviewOptions` | | | `IRemoveOptions` | | | `IRotateOptions` | | | `ISaveOptions` | | | `ISizeOptions` | | | `ISplitOptions` | | | `ISwapOptions` | | | `ITextSplitOptions` | | | `IUpdatePasswordOptions` | | | `ImageJoinOptions` | | | `ImportDocumentOptions` | | | `JoinOptions` | | | `LoadOptions` | | | `MoveOptions` | | | `OleDiagramOptions` | | | `OlePresentationOptions` | | | `OleSpreadsheetOptions` | | | `OleWordProcessingOptions` | | | `OrientationOptions` | | | `PageBuilderOptions` | | | `PageJoinOptions` | | | `PageOptions` | | | `PdfAccesibilitySettings` | | | `PdfAttachmentOptions` | | | `PdfJoinOptions` | | | `PdfSaveOptions` | | | `PdfSecurityOptions` | | | `PreviewOptions` | | | `RemoveOptions` | | | `RotateOptions` | | | `SaveOptions` | | | `SplitOptions` | | | `SwapOptions` | | | `TextSplitOptions` | | | `UpdatePasswordOptions` | | | `WordJoinOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `IOptions` | | | `ImageJoinMode` | | | `OrientationMode` | | | `PdfSecurityPermissions` | | | `PreviewMode` | | | `RangeMode` | | | `RotateMode` | | | `SplitMode` | | | `TextSplitMode` | | | `WordJoinCompliance` | | | `WordJoinMode` | | ### AddPasswordOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/addpasswordoptions.md #### AddPasswordOptions class The AddPasswordOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_string | | ##### Properties | Property | Description | | :- | :- | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/addpasswordoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/addpasswordoptions/_init_string.md #### _init_string ```python def _init_string(self, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | password | `str` | | ### password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/addpasswordoptions/password.md ##### Definition: ```python @property def password(self): ... ``` ### ExtractOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/extractoptions.md #### ExtractOptions class The ExtractOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_int32_array | | | _init_int32_int32 | | | _init_int32_int32_range_mode | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | pages | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/extractoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/extractoptions/_init_int32_array.md #### _init_int32_array ```python def _init_int32_array(self, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_numbers | `List[int]` | | ### _init_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/extractoptions/_init_int32_int32.md #### _init_int32_int32 ```python def _init_int32_int32(self, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | ### _init_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/extractoptions/_init_int32_int32_range_mode.md #### _init_int32_int32_range_mode ```python def _init_int32_int32_range_mode(self, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/extractoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/extractoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### IAddPasswordOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iaddpasswordoptions.md #### IAddPasswordOptions class The IAddPasswordOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | password | | ### password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iaddpasswordoptions/password.md ##### Definition: ```python @property def password(self): ... ``` ### IExtractOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iextractoptions.md #### IExtractOptions class The IExtractOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages | | ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iextractoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### IImageJoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iimagejoinoptions.md #### IImageJoinOptions class The IImageJoinOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | mode | | | type | | ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iimagejoinoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iimagejoinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### IImportDocumentOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iimportdocumentoptions.md #### IImportDocumentOptions class The IImportDocumentOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | extension | | | object_data | | | page_number | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iimportdocumentoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iimportdocumentoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iimportdocumentoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### IJoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ijoinoptions.md #### IJoinOptions class The IJoinOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | type | | ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ijoinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### ILoadOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iloadoptions.md #### ILoadOptions class The ILoadOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | encoding | | | extension | | | password | | | type | | ### encoding property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iloadoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... ``` ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iloadoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iloadoptions/password.md ##### Definition: ```python @property def password(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iloadoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### ImageJoinMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinmode.md #### ImageJoinMode class The ImageJoinMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | HORIZONTAL | | | VERTICAL | | ### HORIZONTAL field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinmode/horizontal.md ##### Value `0` ### VERTICAL field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinmode/vertical.md ##### Value `1` ### ImageJoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions.md #### ImageJoinOptions class The ImageJoinOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_type | | | _init_file_type_image_join_mode | | | _init_image_join_mode | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | mode | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions/_init_file_type.md #### _init_file_type ```python def _init_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### _init_file_type_image_join_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions/_init_file_type_image_join_mode.md #### _init_file_type_image_join_mode ```python def _init_file_type_image_join_mode(self, file_type, image_join_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | image_join_mode | `ImageJoinMode` | | ### _init_image_join_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions/_init_image_join_mode.md #### _init_image_join_mode ```python def _init_image_join_mode(self, image_join_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | image_join_mode | `ImageJoinMode` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imagejoinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### IMoveOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imoveoptions.md #### IMoveOptions class The IMoveOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | new_page_number | | | page_number_to_move | | ### new_page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imoveoptions/new_page_number.md ##### Definition: ```python @property def new_page_number(self): ... ``` ### page_number_to_move property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/imoveoptions/page_number_to_move.md ##### Definition: ```python @property def page_number_to_move(self): ... ``` ### ImportDocumentOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/importdocumentoptions.md #### ImportDocumentOptions class The ImportDocumentOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | extension | | | object_data | | | page_number | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/importdocumentoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/importdocumentoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/importdocumentoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### IOleDiagramOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions.md #### IOleDiagramOptions class The IOleDiagramOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | extension | | | height | | | image_data | | | object_data | | | page_number | | | width | | | x | | | y | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### image_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/image_data.md ##### Definition: ```python @property def image_data(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### x property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/x.md ##### Definition: ```python @property def x(self): ... @x.setter def x(self, value): ... ``` ### y property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolediagramoptions/y.md ##### Definition: ```python @property def y(self): ... @y.setter def y(self, value): ... ``` ### IOlePresentationOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions.md #### IOlePresentationOptions class The IOlePresentationOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | extension | | | height | | | object_data | | | page_number | | | width | | | x | | | y | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### x property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions/x.md ##### Definition: ```python @property def x(self): ... @x.setter def x(self, value): ... ``` ### y property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolepresentationoptions/y.md ##### Definition: ```python @property def y(self): ... @y.setter def y(self, value): ... ``` ### IOleSpreadsheetOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions.md #### IOleSpreadsheetOptions class The IOleSpreadsheetOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | column_index | | | extension | | | height | | | image_data | | | object_data | | | page_number | | | row_index | | | width | | ### column_index property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/column_index.md ##### Definition: ```python @property def column_index(self): ... @column_index.setter def column_index(self, value): ... ``` ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### image_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/image_data.md ##### Definition: ```python @property def image_data(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### row_index property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/row_index.md ##### Definition: ```python @property def row_index(self): ... @row_index.setter def row_index(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolespreadsheetoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### IOleWordProcessingOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions.md #### IOleWordProcessingOptions class The IOleWordProcessingOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | extension | | | height | | | image_data | | | left | | | object_data | | | page_number | | | top | | | width | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### image_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/image_data.md ##### Definition: ```python @property def image_data(self): ... ``` ### left property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/left.md ##### Definition: ```python @property def left(self): ... @left.setter def left(self, value): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### top property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/top.md ##### Definition: ```python @property def top(self): ... @top.setter def top(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iolewordprocessingoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### IOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ioptions.md #### IOptions class The IOptions type exposes the following members: ### IOrientationOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iorientationoptions.md #### IOrientationOptions class The IOrientationOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | mode | | | pages | | ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iorientationoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iorientationoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### IPageBuilderOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipagebuilderoptions.md #### IPageBuilderOptions class The IPageBuilderOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | load_document_info | | ### load_document_info property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipagebuilderoptions/load_document_info.md ##### Definition: ```python @property def load_document_info(self): ... @load_document_info.setter def load_document_info(self, value): ... ``` ### IPageJoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipagejoinoptions.md #### IPageJoinOptions class The IPageJoinOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages | | | type | | ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipagejoinoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipagejoinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### IPageOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipageoptions.md #### IPageOptions class The IPageOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages | | ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipageoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### IPager class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipager.md #### IPager class The IPager type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages | | ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipager/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### IPdfAttachmentOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipdfattachmentoptions.md #### IPdfAttachmentOptions class The IPdfAttachmentOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | extension | | | object_data | | | page_number | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipdfattachmentoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipdfattachmentoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipdfattachmentoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### IPreviewOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions.md #### IPreviewOptions class The IPreviewOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _get_path_by_page_number_int32_string | | | _validate_file_type | | | get_path_by_page_number | | | get_path_by_page_number_file | | | get_path_by_page_number_int32 | | | get_path_by_page_number_string | | | validate | | | validate_file_type | | ##### Properties | Property | Description | | :- | :- | | create_stream | | | height | | | mode | | | pages | | | release_stream | | | resolution | | | width | | ### _get_path_by_page_number_int32_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/_get_path_by_page_number_int32_string.md #### _get_path_by_page_number_int32_string ```python def _get_path_by_page_number_int32_string(self, page_number, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | extension | `str` | | **Returns:** str ### _validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/_validate_file_type.md #### _validate_file_type ```python def _validate_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### create_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/create_stream.md ##### Definition: ```python @property def create_stream(self): ... ``` ### get_path_by_page_number method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/get_path_by_page_number.md #### get_path_by_page_number ```python def get_path_by_page_number(self): ... ``` ### get_path_by_page_number_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/get_path_by_page_number_file.md #### get_path_by_page_number_file ```python def get_path_by_page_number_file(self): ... ``` ### get_path_by_page_number_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/get_path_by_page_number_int32.md #### get_path_by_page_number_int32 ```python def get_path_by_page_number_int32(self): ... ``` ### get_path_by_page_number_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/get_path_by_page_number_string.md #### get_path_by_page_number_string ```python def get_path_by_page_number_string(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### release_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/release_stream.md ##### Definition: ```python @property def release_stream(self): ... ``` ### resolution property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/resolution.md ##### Definition: ```python @property def resolution(self): ... @resolution.setter def resolution(self, value): ... ``` ### validate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/validate.md #### validate ```python def validate(self): ... ``` ### validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/validate_file_type.md #### validate_file_type ```python def validate_file_type(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/ipreviewoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### IRemoveOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iremoveoptions.md #### IRemoveOptions class The IRemoveOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages | | ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iremoveoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### IRotateOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/irotateoptions.md #### IRotateOptions class The IRotateOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | mode | | | pages | | ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/irotateoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/irotateoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### ISaveOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isaveoptions.md #### ISaveOptions class The ISaveOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | type | | ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isaveoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### ISizeOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isizeoptions.md #### ISizeOptions class The ISizeOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | height | | | width | | ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isizeoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isizeoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### ISplitOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions.md #### ISplitOptions class The ISplitOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _get_path_by_index_int32_string | | | _validate_file_type | | | get_path_by_index | | | get_path_by_index_file | | | get_path_by_index_int32 | | | get_path_by_index_string | | | validate | | | validate_file_type | | ##### Properties | Property | Description | | :- | :- | | create_stream | | | mode | | | pages | | | release_stream | | ### _get_path_by_index_int32_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/_get_path_by_index_int32_string.md #### _get_path_by_index_int32_string ```python def _get_path_by_index_int32_string(self, index, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | index | `int` | | | extension | `str` | | **Returns:** str ### _validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/_validate_file_type.md #### _validate_file_type ```python def _validate_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### create_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/create_stream.md ##### Definition: ```python @property def create_stream(self): ... ``` ### get_path_by_index method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/get_path_by_index.md #### get_path_by_index ```python def get_path_by_index(self): ... ``` ### get_path_by_index_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/get_path_by_index_file.md #### get_path_by_index_file ```python def get_path_by_index_file(self): ... ``` ### get_path_by_index_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/get_path_by_index_int32.md #### get_path_by_index_int32 ```python def get_path_by_index_int32(self): ... ``` ### get_path_by_index_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/get_path_by_index_string.md #### get_path_by_index_string ```python def get_path_by_index_string(self): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### release_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/release_stream.md ##### Definition: ```python @property def release_stream(self): ... ``` ### validate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/validate.md #### validate ```python def validate(self): ... ``` ### validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/isplitoptions/validate_file_type.md #### validate_file_type ```python def validate_file_type(self): ... ``` ### ISwapOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iswapoptions.md #### ISwapOptions class The ISwapOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | first_page_number | | | second_page_number | | ### first_page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iswapoptions/first_page_number.md ##### Definition: ```python @property def first_page_number(self): ... ``` ### second_page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iswapoptions/second_page_number.md ##### Definition: ```python @property def second_page_number(self): ... ``` ### ITextSplitOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions.md #### ITextSplitOptions class The ITextSplitOptions type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _get_path_by_index_int32_string | | | _validate_file_type | | | get_path_by_index | | | get_path_by_index_file | | | get_path_by_index_int32 | | | get_path_by_index_string | | | validate | | | validate_file_type | | ##### Properties | Property | Description | | :- | :- | | create_stream | | | line_numbers | | | mode | | | release_stream | | ### _get_path_by_index_int32_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/_get_path_by_index_int32_string.md #### _get_path_by_index_int32_string ```python def _get_path_by_index_int32_string(self, index, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | index | `int` | | | extension | `str` | | **Returns:** str ### _validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/_validate_file_type.md #### _validate_file_type ```python def _validate_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### create_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/create_stream.md ##### Definition: ```python @property def create_stream(self): ... ``` ### get_path_by_index method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/get_path_by_index.md #### get_path_by_index ```python def get_path_by_index(self): ... ``` ### get_path_by_index_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/get_path_by_index_file.md #### get_path_by_index_file ```python def get_path_by_index_file(self): ... ``` ### get_path_by_index_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/get_path_by_index_int32.md #### get_path_by_index_int32 ```python def get_path_by_index_int32(self): ... ``` ### get_path_by_index_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/get_path_by_index_string.md #### get_path_by_index_string ```python def get_path_by_index_string(self): ... ``` ### line_numbers property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/line_numbers.md ##### Definition: ```python @property def line_numbers(self): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### release_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/release_stream.md ##### Definition: ```python @property def release_stream(self): ... ``` ### validate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/validate.md #### validate ```python def validate(self): ... ``` ### validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/itextsplitoptions/validate_file_type.md #### validate_file_type ```python def validate_file_type(self): ... ``` ### IUpdatePasswordOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iupdatepasswordoptions.md #### IUpdatePasswordOptions class The IUpdatePasswordOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | new_password | | ### new_password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/iupdatepasswordoptions/new_password.md ##### Definition: ```python @property def new_password(self): ... ``` ### JoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/joinoptions.md #### JoinOptions class The JoinOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_type | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/joinoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/joinoptions/_init_file_type.md #### _init_file_type ```python def _init_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/joinoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/joinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### LoadOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions.md #### LoadOptions class The LoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_type | | | _init_file_type_file_type | | | _init_file_type_file_type_string | | | _init_file_type_file_type_string_encoding | | | _init_file_type_string | | | _init_file_type_string_encoding | | | _init_string | | | _init_string_encoding | | | _init_string_file_type_string_encoding | | ##### Properties | Property | Description | | :- | :- | | encoding | | | extension | | | password | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_file_type.md #### _init_file_type ```python def _init_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### _init_file_type_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_file_type_file_type.md #### _init_file_type_file_type ```python def _init_file_type_file_type(self, ini_file_type, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | ini_file_type | `FileType` | | | file_type | `FileType` | | ### _init_file_type_file_type_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_file_type_file_type_string.md #### _init_file_type_file_type_string ```python def _init_file_type_file_type_string(self, ini_file_type, file_type, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | ini_file_type | `FileType` | | | file_type | `FileType` | | | password | `str` | | ### _init_file_type_file_type_string_encoding method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_file_type_file_type_string_encoding.md #### _init_file_type_file_type_string_encoding ```python def _init_file_type_file_type_string_encoding(self, ini_file_type, file_type, password, encoding): ... ``` | Parameter | Type | Description | | :- | :- | :- | | ini_file_type | `FileType` | | | file_type | `FileType` | | | password | `str` | | | encoding | `Encoding` | | ### _init_file_type_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_file_type_string.md #### _init_file_type_string ```python def _init_file_type_string(self, file_type, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | password | `str` | | ### _init_file_type_string_encoding method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_file_type_string_encoding.md #### _init_file_type_string_encoding ```python def _init_file_type_string_encoding(self, file_type, password, encoding): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | password | `str` | | | encoding | `Encoding` | | ### _init_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_string.md #### _init_string ```python def _init_string(self, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | password | `str` | | ### _init_string_encoding method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_string_encoding.md #### _init_string_encoding ```python def _init_string_encoding(self, password, encoding): ... ``` | Parameter | Type | Description | | :- | :- | :- | | password | `str` | | | encoding | `Encoding` | | ### _init_string_file_type_string_encoding method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/_init_string_file_type_string_encoding.md #### _init_string_file_type_string_encoding ```python def _init_string_file_type_string_encoding(self, extension, file_type, password, encoding): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | | file_type | `FileType` | | | password | `str` | | | encoding | `Encoding` | | ### encoding property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/encoding.md ##### Definition: ```python @property def encoding(self): ... ``` ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/password.md ##### Definition: ```python @property def password(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/loadoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### MoveOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/moveoptions.md #### MoveOptions class The MoveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_int32_int32 | | ##### Properties | Property | Description | | :- | :- | | new_page_number | | | page_number_to_move | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/moveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/moveoptions/_init_int32_int32.md #### _init_int32_int32 ```python def _init_int32_int32(self, page_number_to_move, new_page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number_to_move | `int` | | | new_page_number | `int` | | ### new_page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/moveoptions/new_page_number.md ##### Definition: ```python @property def new_page_number(self): ... ``` ### page_number_to_move property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/moveoptions/page_number_to_move.md ##### Definition: ```python @property def page_number_to_move(self): ... ``` ### OleDiagramOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions.md #### OleDiagramOptions class The OleDiagramOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_byte_array_byte_array_string_int32 | | | _init_string_byte_array_int32 | | | _init_string_int32 | | ##### Properties | Property | Description | | :- | :- | | extension | | | height | | | image_data | | | object_data | | | page_number | | | width | | | x | | | y | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_byte_array_byte_array_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/_init_byte_array_byte_array_string_int32.md #### _init_byte_array_byte_array_string_int32 ```python def _init_byte_array_byte_array_string_int32(self, object_data, image_data, extension, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object_data | `bytes` | | | image_data | `bytes` | | | extension | `str` | | | page_number | `int` | | ### _init_string_byte_array_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/_init_string_byte_array_int32.md #### _init_string_byte_array_int32 ```python def _init_string_byte_array_int32(self, file_path, image_data, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | image_data | `bytes` | | | page_number | `int` | | ### _init_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/_init_string_int32.md #### _init_string_int32 ```python def _init_string_int32(self, file_path, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | page_number | `int` | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### image_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/image_data.md ##### Definition: ```python @property def image_data(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### x property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/x.md ##### Definition: ```python @property def x(self): ... @x.setter def x(self, value): ... ``` ### y property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olediagramoptions/y.md ##### Definition: ```python @property def y(self): ... @y.setter def y(self, value): ... ``` ### OlePresentationOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions.md #### OlePresentationOptions class The OlePresentationOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_byte_array_string_int32 | | | _init_string_int32 | | ##### Properties | Property | Description | | :- | :- | | extension | | | height | | | object_data | | | page_number | | | width | | | x | | | y | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_byte_array_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/_init_byte_array_string_int32.md #### _init_byte_array_string_int32 ```python def _init_byte_array_string_int32(self, object_data, extension, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object_data | `bytes` | | | extension | `str` | | | page_number | `int` | | ### _init_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/_init_string_int32.md #### _init_string_int32 ```python def _init_string_int32(self, file_path, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | page_number | `int` | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### x property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/x.md ##### Definition: ```python @property def x(self): ... @x.setter def x(self, value): ... ``` ### y property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olepresentationoptions/y.md ##### Definition: ```python @property def y(self): ... @y.setter def y(self, value): ... ``` ### OleSpreadsheetOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions.md #### OleSpreadsheetOptions class The OleSpreadsheetOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_byte_array_byte_array_string_int32 | | | _init_string_byte_array_int32 | | | _init_string_int32 | | ##### Properties | Property | Description | | :- | :- | | column_index | | | extension | | | height | | | image_data | | | object_data | | | page_number | | | row_index | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_byte_array_byte_array_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/_init_byte_array_byte_array_string_int32.md #### _init_byte_array_byte_array_string_int32 ```python def _init_byte_array_byte_array_string_int32(self, object_data, image_data, extension, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object_data | `bytes` | | | image_data | `bytes` | | | extension | `str` | | | page_number | `int` | | ### _init_string_byte_array_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/_init_string_byte_array_int32.md #### _init_string_byte_array_int32 ```python def _init_string_byte_array_int32(self, file_path, image_data, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | image_data | `bytes` | | | page_number | `int` | | ### _init_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/_init_string_int32.md #### _init_string_int32 ```python def _init_string_int32(self, file_path, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | page_number | `int` | | ### column_index property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/column_index.md ##### Definition: ```python @property def column_index(self): ... @column_index.setter def column_index(self, value): ... ``` ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### image_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/image_data.md ##### Definition: ```python @property def image_data(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### row_index property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/row_index.md ##### Definition: ```python @property def row_index(self): ... @row_index.setter def row_index(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olespreadsheetoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### OleWordProcessingOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions.md #### OleWordProcessingOptions class The OleWordProcessingOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_byte_array_byte_array_string_int32 | | | _init_string_byte_array_int32 | | | _init_string_int32 | | ##### Properties | Property | Description | | :- | :- | | extension | | | height | | | image_data | | | left | | | object_data | | | page_number | | | top | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_byte_array_byte_array_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/_init_byte_array_byte_array_string_int32.md #### _init_byte_array_byte_array_string_int32 ```python def _init_byte_array_byte_array_string_int32(self, object_data, image_data, extension, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object_data | `bytes` | | | image_data | `bytes` | | | extension | `str` | | | page_number | `int` | | ### _init_string_byte_array_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/_init_string_byte_array_int32.md #### _init_string_byte_array_int32 ```python def _init_string_byte_array_int32(self, file_path, image_data, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | image_data | `bytes` | | | page_number | `int` | | ### _init_string_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/_init_string_int32.md #### _init_string_int32 ```python def _init_string_int32(self, file_path, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | page_number | `int` | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### image_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/image_data.md ##### Definition: ```python @property def image_data(self): ... ``` ### left property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/left.md ##### Definition: ```python @property def left(self): ... @left.setter def left(self, value): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### top property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/top.md ##### Definition: ```python @property def top(self): ... @top.setter def top(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/olewordprocessingoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### OrientationMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationmode.md #### OrientationMode class The OrientationMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PORTRAIT | | | LANDSCAPE | | ### LANDSCAPE field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationmode/landscape.md ##### Value `1` ### PORTRAIT field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationmode/portrait.md ##### Value `0` ### OrientationOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions.md #### OrientationOptions class The OrientationOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_orientation_mode | | | _init_orientation_mode_int32_array | | | _init_orientation_mode_int32_int32 | | | _init_orientation_mode_int32_int32_range_mode | | ##### Properties | Property | Description | | :- | :- | | mode | | | pages | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_orientation_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions/_init_orientation_mode.md #### _init_orientation_mode ```python def _init_orientation_mode(self, orientation_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | orientation_mode | `OrientationMode` | | ### _init_orientation_mode_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions/_init_orientation_mode_int32_array.md #### _init_orientation_mode_int32_array ```python def _init_orientation_mode_int32_array(self, orientation_mode, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | orientation_mode | `OrientationMode` | | | page_numbers | `List[int]` | | ### _init_orientation_mode_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions/_init_orientation_mode_int32_int32.md #### _init_orientation_mode_int32_int32 ```python def _init_orientation_mode_int32_int32(self, orientation_mode, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | orientation_mode | `OrientationMode` | | | start_number | `int` | | | end_number | `int` | | ### _init_orientation_mode_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions/_init_orientation_mode_int32_int32_range_mode.md #### _init_orientation_mode_int32_int32_range_mode ```python def _init_orientation_mode_int32_int32_range_mode(self, orientation_mode, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | orientation_mode | `OrientationMode` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/orientationoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### PageBuilderOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagebuilderoptions.md #### PageBuilderOptions class The PageBuilderOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | load_document_info | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagebuilderoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagebuilderoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### load_document_info property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagebuilderoptions/load_document_info.md ##### Definition: ```python @property def load_document_info(self): ... @load_document_info.setter def load_document_info(self, value): ... ``` ### PageJoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions.md #### PageJoinOptions class The PageJoinOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_type | | | _init_file_type_int32_array | | | _init_file_type_int32_int32 | | | _init_file_type_int32_int32_range_mode | | | _init_int32_array | | | _init_int32_int32 | | | _init_int32_int32_range_mode | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | pages | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_file_type.md #### _init_file_type ```python def _init_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### _init_file_type_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_file_type_int32_array.md #### _init_file_type_int32_array ```python def _init_file_type_int32_array(self, file_type, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | page_numbers | `List[int]` | | ### _init_file_type_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_file_type_int32_int32.md #### _init_file_type_int32_int32 ```python def _init_file_type_int32_int32(self, file_type, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | start_number | `int` | | | end_number | `int` | | ### _init_file_type_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_file_type_int32_int32_range_mode.md #### _init_file_type_int32_int32_range_mode ```python def _init_file_type_int32_int32_range_mode(self, file_type, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_int32_array.md #### _init_int32_array ```python def _init_int32_array(self, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_numbers | `List[int]` | | ### _init_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_int32_int32.md #### _init_int32_int32 ```python def _init_int32_int32(self, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | ### _init_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_int32_int32_range_mode.md #### _init_int32_int32_range_mode ```python def _init_int32_int32_range_mode(self, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pagejoinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### PageOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pageoptions.md #### PageOptions class The PageOptions type exposes the following members: ##### Properties | Property | Description | | :- | :- | | pages | | ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pageoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### PdfAccesibilitySettings class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfaccesibilitysettings.md #### PdfAccesibilitySettings class The PdfAccesibilitySettings type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | enable_auto_tagging | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfaccesibilitysettings/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfaccesibilitysettings/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### enable_auto_tagging property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfaccesibilitysettings/enable_auto_tagging.md ##### Definition: ```python @property def enable_auto_tagging(self): ... @enable_auto_tagging.setter def enable_auto_tagging(self, value): ... ``` ### PdfAttachmentOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfattachmentoptions.md #### PdfAttachmentOptions class The PdfAttachmentOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_byte_array_string | | | _init_string | | ##### Properties | Property | Description | | :- | :- | | extension | | | object_data | | | page_number | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfattachmentoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_byte_array_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfattachmentoptions/_init_byte_array_string.md #### _init_byte_array_string ```python def _init_byte_array_string(self, object_data, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object_data | `bytes` | | | extension | `str` | | ### _init_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfattachmentoptions/_init_string.md #### _init_string ```python def _init_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfattachmentoptions/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### object_data property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfattachmentoptions/object_data.md ##### Definition: ```python @property def object_data(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfattachmentoptions/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### PdfJoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions.md #### PdfJoinOptions class The PdfJoinOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_type | | | _init_file_type_int32_array | | | _init_file_type_int32_int32 | | | _init_file_type_int32_int32_range_mode | | | _init_int32_array | | | _init_int32_int32 | | | _init_int32_int32_range_mode | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | pages | | | preserve_accessibility | | | type | | | use_bookmarks | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_file_type.md #### _init_file_type ```python def _init_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### _init_file_type_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_file_type_int32_array.md #### _init_file_type_int32_array ```python def _init_file_type_int32_array(self, file_type, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | page_numbers | `List[int]` | | ### _init_file_type_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_file_type_int32_int32.md #### _init_file_type_int32_int32 ```python def _init_file_type_int32_int32(self, file_type, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | start_number | `int` | | | end_number | `int` | | ### _init_file_type_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_file_type_int32_int32_range_mode.md #### _init_file_type_int32_int32_range_mode ```python def _init_file_type_int32_int32_range_mode(self, file_type, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_int32_array.md #### _init_int32_array ```python def _init_int32_array(self, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_numbers | `List[int]` | | ### _init_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_int32_int32.md #### _init_int32_int32 ```python def _init_int32_int32(self, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | ### _init_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_int32_int32_range_mode.md #### _init_int32_int32_range_mode ```python def _init_int32_int32_range_mode(self, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### preserve_accessibility property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/preserve_accessibility.md ##### Definition: ```python @property def preserve_accessibility(self): ... @preserve_accessibility.setter def preserve_accessibility(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### use_bookmarks property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfjoinoptions/use_bookmarks.md ##### Definition: ```python @property def use_bookmarks(self): ... @use_bookmarks.setter def use_bookmarks(self, value): ... ``` ### PdfSaveOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsaveoptions.md #### PdfSaveOptions class The PdfSaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | accesibility_settings | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsaveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsaveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### accesibility_settings property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsaveoptions/accesibility_settings.md ##### Definition: ```python @property def accesibility_settings(self): ... @accesibility_settings.setter def accesibility_settings(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsaveoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### PdfSecurityOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecurityoptions.md #### PdfSecurityOptions class The PdfSecurityOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_string | | ##### Properties | Property | Description | | :- | :- | | owner_password | | | password | | | permissions | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecurityoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecurityoptions/_init_string.md #### _init_string ```python def _init_string(self, password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | password | `str` | | ### owner_password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecurityoptions/owner_password.md ##### Definition: ```python @property def owner_password(self): ... @owner_password.setter def owner_password(self, value): ... ``` ### password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecurityoptions/password.md ##### Definition: ```python @property def password(self): ... ``` ### permissions property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecurityoptions/permissions.md ##### Definition: ```python @property def permissions(self): ... @permissions.setter def permissions(self, value): ... ``` ### PdfSecurityPermissions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecuritypermissions.md #### PdfSecurityPermissions class The PdfSecurityPermissions type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ALLOW_ALL | | | DENY_PRINTING | | | DENY_MODIFICATION | | | DENY_DATA_EXTRACTION | | | DENY_ALL | | ### ALLOW_ALL field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecuritypermissions/allow_all.md ##### Value `0` ### DENY_ALL field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecuritypermissions/deny_all.md ##### Value `7` ### DENY_DATA_EXTRACTION field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecuritypermissions/deny_data_extraction.md ##### Value `4` ### DENY_MODIFICATION field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecuritypermissions/deny_modification.md ##### Value `2` ### DENY_PRINTING field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/pdfsecuritypermissions/deny_printing.md ##### Value `1` ### PreviewMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewmode.md #### PreviewMode class The PreviewMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PNG | | | JPEG | | | BMP | | ### BMP field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewmode/bmp.md ##### Value `2` ### JPEG field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewmode/jpeg.md ##### Value `1` ### PNG field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewmode/png.md ##### Value `0` ### PreviewOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions.md #### PreviewOptions class The PreviewOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _get_path_by_page_number_int32_string | | | _init_create_page_stream_preview_mode | | | _init_create_page_stream_preview_mode_int32_array | | | _init_create_page_stream_preview_mode_int32_int32 | | | _init_create_page_stream_preview_mode_int32_int32_range_mode | | | _init_create_page_stream_release_page_stream_preview_mode | | | _init_create_page_stream_release_page_stream_preview_mode_int32_array | | | _init_create_page_stream_release_page_stream_preview_mode_int32_int32 | | | _init_create_page_stream_release_page_stream_preview_mode_int32_int32_range_mode | | | _validate_file_type | | | get_path_by_page_number | | | get_path_by_page_number_file | | | get_path_by_page_number_int32 | | | get_path_by_page_number_string | | | validate | | | validate_file_type | | ##### Properties | Property | Description | | :- | :- | | create_stream | | | height | | | mode | | | pages | | | release_stream | | | resolution | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _get_path_by_page_number_int32_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_get_path_by_page_number_int32_string.md #### _get_path_by_page_number_int32_string ```python def _get_path_by_page_number_int32_string(self, page_number, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | extension | `str` | | **Returns:** str ### _init_create_page_stream_preview_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_preview_mode.md #### _init_create_page_stream_preview_mode ```python def _init_create_page_stream_preview_mode(self, create_page_stream, preview_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | preview_mode | `PreviewMode` | | ### _init_create_page_stream_preview_mode_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_preview_mode_int32_array.md #### _init_create_page_stream_preview_mode_int32_array ```python def _init_create_page_stream_preview_mode_int32_array(self, create_page_stream, preview_mode, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | preview_mode | `PreviewMode` | | | page_numbers | `List[int]` | | ### _init_create_page_stream_preview_mode_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_preview_mode_int32_int32.md #### _init_create_page_stream_preview_mode_int32_int32 ```python def _init_create_page_stream_preview_mode_int32_int32(self, create_page_stream, preview_mode, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | preview_mode | `PreviewMode` | | | start_number | `int` | | | end_number | `int` | | ### _init_create_page_stream_preview_mode_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_preview_mode_int32_int32_range_mode.md #### _init_create_page_stream_preview_mode_int32_int32_range_mode ```python def _init_create_page_stream_preview_mode_int32_int32_range_mode(self, create_page_stream, preview_mode, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | preview_mode | `PreviewMode` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_create_page_stream_release_page_stream_preview_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_release_page_stream_preview_mode.md #### _init_create_page_stream_release_page_stream_preview_mode ```python def _init_create_page_stream_release_page_stream_preview_mode(self, create_page_stream, release_page_stream, preview_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | release_page_stream | `ReleasePageStream` | | | preview_mode | `PreviewMode` | | ### _init_create_page_stream_release_page_stream_preview_mode_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_release_page_stream_preview_mode_int32_array.md #### _init_create_page_stream_release_page_stream_preview_mode_int32_array ```python def _init_create_page_stream_release_page_stream_preview_mode_int32_array(self, create_page_stream, release_page_stream, preview_mode, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | release_page_stream | `ReleasePageStream` | | | preview_mode | `PreviewMode` | | | page_numbers | `List[int]` | | ### _init_create_page_stream_release_page_stream_preview_mode_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_release_page_stream_preview_mode_int32_int32.md #### _init_create_page_stream_release_page_stream_preview_mode_int32_int32 ```python def _init_create_page_stream_release_page_stream_preview_mode_int32_int32(self, create_page_stream, release_page_stream, preview_mode, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | release_page_stream | `ReleasePageStream` | | | preview_mode | `PreviewMode` | | | start_number | `int` | | | end_number | `int` | | ### _init_create_page_stream_release_page_stream_preview_mode_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_init_create_page_stream_release_page_stream_preview_mode_int32_int32_range_mode.md #### _init_create_page_stream_release_page_stream_preview_mode_int32_int32_range_mode ```python def _init_create_page_stream_release_page_stream_preview_mode_int32_int32_range_mode(self, create_page_stream, release_page_stream, preview_mode, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | release_page_stream | `ReleasePageStream` | | | preview_mode | `PreviewMode` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/_validate_file_type.md #### _validate_file_type ```python def _validate_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### create_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/create_stream.md ##### Definition: ```python @property def create_stream(self): ... ``` ### get_path_by_page_number method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/get_path_by_page_number.md #### get_path_by_page_number ```python def get_path_by_page_number(self): ... ``` ### get_path_by_page_number_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/get_path_by_page_number_file.md #### get_path_by_page_number_file ```python def get_path_by_page_number_file(self): ... ``` ### get_path_by_page_number_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/get_path_by_page_number_int32.md #### get_path_by_page_number_int32 ```python def get_path_by_page_number_int32(self): ... ``` ### get_path_by_page_number_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/get_path_by_page_number_string.md #### get_path_by_page_number_string ```python def get_path_by_page_number_string(self): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### release_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/release_stream.md ##### Definition: ```python @property def release_stream(self): ... ``` ### resolution property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/resolution.md ##### Definition: ```python @property def resolution(self): ... @resolution.setter def resolution(self, value): ... ``` ### validate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/validate.md #### validate ```python def validate(self): ... ``` ### validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/validate_file_type.md #### validate_file_type ```python def validate_file_type(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/previewoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### RangeMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rangemode.md #### RangeMode class The RangeMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ALL_PAGES | | | ODD_PAGES | | | EVEN_PAGES | | ### ALL_PAGES field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rangemode/all_pages.md ##### Value `0` ### EVEN_PAGES field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rangemode/even_pages.md ##### Value `2` ### ODD_PAGES field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rangemode/odd_pages.md ##### Value `1` ### RemoveOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/removeoptions.md #### RemoveOptions class The RemoveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_int32_array | | | _init_int32_int32 | | | _init_int32_int32_range_mode | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | pages | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/removeoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/removeoptions/_init_int32_array.md #### _init_int32_array ```python def _init_int32_array(self, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_numbers | `List[int]` | | ### _init_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/removeoptions/_init_int32_int32.md #### _init_int32_int32 ```python def _init_int32_int32(self, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | ### _init_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/removeoptions/_init_int32_int32_range_mode.md #### _init_int32_int32_range_mode ```python def _init_int32_int32_range_mode(self, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/removeoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/removeoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### RotateMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotatemode.md #### RotateMode class The RotateMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ROTATE90 | | | ROTATE180 | | | ROTATE270 | | ### ROTATE180 field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotatemode/rotate180.md ##### Value `180` ### ROTATE270 field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotatemode/rotate270.md ##### Value `270` ### ROTATE90 field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotatemode/rotate90.md ##### Value `90` ### RotateOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions.md #### RotateOptions class The RotateOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_rotate_mode | | | _init_rotate_mode_int32_array | | | _init_rotate_mode_int32_int32 | | | _init_rotate_mode_int32_int32_range_mode | | ##### Properties | Property | Description | | :- | :- | | mode | | | pages | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_rotate_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions/_init_rotate_mode.md #### _init_rotate_mode ```python def _init_rotate_mode(self, rotate_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_mode | `RotateMode` | | ### _init_rotate_mode_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions/_init_rotate_mode_int32_array.md #### _init_rotate_mode_int32_array ```python def _init_rotate_mode_int32_array(self, rotate_mode, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_mode | `RotateMode` | | | page_numbers | `List[int]` | | ### _init_rotate_mode_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions/_init_rotate_mode_int32_int32.md #### _init_rotate_mode_int32_int32 ```python def _init_rotate_mode_int32_int32(self, rotate_mode, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_mode | `RotateMode` | | | start_number | `int` | | | end_number | `int` | | ### _init_rotate_mode_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions/_init_rotate_mode_int32_int32_range_mode.md #### _init_rotate_mode_int32_int32_range_mode ```python def _init_rotate_mode_int32_int32_range_mode(self, rotate_mode, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_mode | `RotateMode` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/rotateoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### SaveOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/saveoptions.md #### SaveOptions class The SaveOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/saveoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/saveoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/saveoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### SplitMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitmode.md #### SplitMode class The SplitMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PAGES | | | INTERVAL | | ### INTERVAL field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitmode/interval.md ##### Value `1` ### PAGES field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitmode/pages.md ##### Value `0` ### SplitOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions.md #### SplitOptions class The SplitOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _get_path_by_index_int32_string | | | _init_create_split_stream | | | _init_create_split_stream_int32_array | | | _init_create_split_stream_int32_array_split_mode | | | _init_create_split_stream_int32_int32 | | | _init_create_split_stream_int32_int32_range_mode | | | _init_create_split_stream_release_split_stream | | | _init_create_split_stream_release_split_stream_int32_array | | | _init_create_split_stream_release_split_stream_int32_array_split_mode | | | _init_create_split_stream_release_split_stream_int32_int32 | | | _init_create_split_stream_release_split_stream_int32_int32_range_mode | | | _init_string_int32_array | | | _init_string_int32_array_split_mode | | | _init_string_int32_int32 | | | _init_string_int32_int32_range_mode | | | _validate_file_type | | | get_path_by_index | | | get_path_by_index_file | | | get_path_by_index_int32 | | | get_path_by_index_string | | | validate | | | validate_file_type | | ##### Properties | Property | Description | | :- | :- | | create_stream | | | mode | | | pages | | | release_stream | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _get_path_by_index_int32_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_get_path_by_index_int32_string.md #### _get_path_by_index_int32_string ```python def _get_path_by_index_int32_string(self, index, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | index | `int` | | | extension | `str` | | **Returns:** str ### _init_create_split_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream.md #### _init_create_split_stream ```python def _init_create_split_stream(self, create_split_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | ### _init_create_split_stream_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_int32_array.md #### _init_create_split_stream_int32_array ```python def _init_create_split_stream_int32_array(self, create_split_stream, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | page_numbers | `List[int]` | | ### _init_create_split_stream_int32_array_split_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_int32_array_split_mode.md #### _init_create_split_stream_int32_array_split_mode ```python def _init_create_split_stream_int32_array_split_mode(self, create_split_stream, page_numbers, split_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | page_numbers | `List[int]` | | | split_mode | `SplitMode` | | ### _init_create_split_stream_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_int32_int32.md #### _init_create_split_stream_int32_int32 ```python def _init_create_split_stream_int32_int32(self, create_split_stream, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | start_number | `int` | | | end_number | `int` | | ### _init_create_split_stream_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_int32_int32_range_mode.md #### _init_create_split_stream_int32_int32_range_mode ```python def _init_create_split_stream_int32_int32_range_mode(self, create_split_stream, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_create_split_stream_release_split_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_release_split_stream.md #### _init_create_split_stream_release_split_stream ```python def _init_create_split_stream_release_split_stream(self, create_split_stream, release_split_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | release_split_stream | `ReleaseSplitStream` | | ### _init_create_split_stream_release_split_stream_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_release_split_stream_int32_array.md #### _init_create_split_stream_release_split_stream_int32_array ```python def _init_create_split_stream_release_split_stream_int32_array(self, create_split_stream, release_split_stream, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | release_split_stream | `ReleaseSplitStream` | | | page_numbers | `List[int]` | | ### _init_create_split_stream_release_split_stream_int32_array_split_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_release_split_stream_int32_array_split_mode.md #### _init_create_split_stream_release_split_stream_int32_array_split_mode ```python def _init_create_split_stream_release_split_stream_int32_array_split_mode(self, create_split_stream, release_split_stream, page_numbers, split_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | release_split_stream | `ReleaseSplitStream` | | | page_numbers | `List[int]` | | | split_mode | `SplitMode` | | ### _init_create_split_stream_release_split_stream_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_release_split_stream_int32_int32.md #### _init_create_split_stream_release_split_stream_int32_int32 ```python def _init_create_split_stream_release_split_stream_int32_int32(self, create_split_stream, release_split_stream, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | release_split_stream | `ReleaseSplitStream` | | | start_number | `int` | | | end_number | `int` | | ### _init_create_split_stream_release_split_stream_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_create_split_stream_release_split_stream_int32_int32_range_mode.md #### _init_create_split_stream_release_split_stream_int32_int32_range_mode ```python def _init_create_split_stream_release_split_stream_int32_int32_range_mode(self, create_split_stream, release_split_stream, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | release_split_stream | `ReleaseSplitStream` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_string_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_string_int32_array.md #### _init_string_int32_array ```python def _init_string_int32_array(self, file_path_format, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path_format | `str` | | | page_numbers | `List[int]` | | ### _init_string_int32_array_split_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_string_int32_array_split_mode.md #### _init_string_int32_array_split_mode ```python def _init_string_int32_array_split_mode(self, file_path_format, page_numbers, split_mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path_format | `str` | | | page_numbers | `List[int]` | | | split_mode | `SplitMode` | | ### _init_string_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_string_int32_int32.md #### _init_string_int32_int32 ```python def _init_string_int32_int32(self, file_path_format, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path_format | `str` | | | start_number | `int` | | | end_number | `int` | | ### _init_string_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_init_string_int32_int32_range_mode.md #### _init_string_int32_int32_range_mode ```python def _init_string_int32_int32_range_mode(self, file_path_format, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path_format | `str` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/_validate_file_type.md #### _validate_file_type ```python def _validate_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### create_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/create_stream.md ##### Definition: ```python @property def create_stream(self): ... ``` ### get_path_by_index method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/get_path_by_index.md #### get_path_by_index ```python def get_path_by_index(self): ... ``` ### get_path_by_index_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/get_path_by_index_file.md #### get_path_by_index_file ```python def get_path_by_index_file(self): ... ``` ### get_path_by_index_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/get_path_by_index_int32.md #### get_path_by_index_int32 ```python def get_path_by_index_int32(self): ... ``` ### get_path_by_index_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/get_path_by_index_string.md #### get_path_by_index_string ```python def get_path_by_index_string(self): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### release_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/release_stream.md ##### Definition: ```python @property def release_stream(self): ... ``` ### validate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/validate.md #### validate ```python def validate(self): ... ``` ### validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/splitoptions/validate_file_type.md #### validate_file_type ```python def validate_file_type(self): ... ``` ### SwapOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/swapoptions.md #### SwapOptions class The SwapOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_int32_int32 | | ##### Properties | Property | Description | | :- | :- | | first_page_number | | | second_page_number | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/swapoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/swapoptions/_init_int32_int32.md #### _init_int32_int32 ```python def _init_int32_int32(self, first_page_number, second_page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | first_page_number | `int` | | | second_page_number | `int` | | ### first_page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/swapoptions/first_page_number.md ##### Definition: ```python @property def first_page_number(self): ... ``` ### second_page_number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/swapoptions/second_page_number.md ##### Definition: ```python @property def second_page_number(self): ... ``` ### TextSplitMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitmode.md #### TextSplitMode class The TextSplitMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | LINES | | | INTERVAL | | ### INTERVAL field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitmode/interval.md ##### Value `1` ### LINES field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitmode/lines.md ##### Value `0` ### TextSplitOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions.md #### TextSplitOptions class The TextSplitOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _get_path_by_index_int32_string | | | _init_create_split_stream_int32_array | | | _init_create_split_stream_release_split_stream_int32_array | | | _init_create_split_stream_release_split_stream_text_split_mode_int32_array | | | _init_create_split_stream_text_split_mode_int32_array | | | _init_string_int32_array | | | _init_string_text_split_mode_int32_array | | | _validate_file_type | | | get_path_by_index | | | get_path_by_index_file | | | get_path_by_index_int32 | | | get_path_by_index_string | | | validate | | | validate_file_type | | ##### Properties | Property | Description | | :- | :- | | create_stream | | | line_numbers | | | mode | | | release_stream | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _get_path_by_index_int32_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_get_path_by_index_int32_string.md #### _get_path_by_index_int32_string ```python def _get_path_by_index_int32_string(self, index, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | index | `int` | | | extension | `str` | | **Returns:** str ### _init_create_split_stream_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_init_create_split_stream_int32_array.md #### _init_create_split_stream_int32_array ```python def _init_create_split_stream_int32_array(self, create_split_stream, line_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | line_numbers | `List[int]` | | ### _init_create_split_stream_release_split_stream_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_init_create_split_stream_release_split_stream_int32_array.md #### _init_create_split_stream_release_split_stream_int32_array ```python def _init_create_split_stream_release_split_stream_int32_array(self, create_split_stream, release_split_stream, line_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | release_split_stream | `ReleaseSplitStream` | | | line_numbers | `List[int]` | | ### _init_create_split_stream_release_split_stream_text_split_mode_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_init_create_split_stream_release_split_stream_text_split_mode_int32_array.md #### _init_create_split_stream_release_split_stream_text_split_mode_int32_array ```python def _init_create_split_stream_release_split_stream_text_split_mode_int32_array(self, create_split_stream, release_split_stream, mode, line_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | release_split_stream | `ReleaseSplitStream` | | | mode | `TextSplitMode` | | | line_numbers | `List[int]` | | ### _init_create_split_stream_text_split_mode_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_init_create_split_stream_text_split_mode_int32_array.md #### _init_create_split_stream_text_split_mode_int32_array ```python def _init_create_split_stream_text_split_mode_int32_array(self, create_split_stream, mode, line_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_split_stream | `CreateSplitStream` | | | mode | `TextSplitMode` | | | line_numbers | `List[int]` | | ### _init_string_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_init_string_int32_array.md #### _init_string_int32_array ```python def _init_string_int32_array(self, file_path_format, line_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path_format | `str` | | | line_numbers | `List[int]` | | ### _init_string_text_split_mode_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_init_string_text_split_mode_int32_array.md #### _init_string_text_split_mode_int32_array ```python def _init_string_text_split_mode_int32_array(self, file_path_format, mode, line_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path_format | `str` | | | mode | `TextSplitMode` | | | line_numbers | `List[int]` | | ### _validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/_validate_file_type.md #### _validate_file_type ```python def _validate_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### create_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/create_stream.md ##### Definition: ```python @property def create_stream(self): ... ``` ### get_path_by_index method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/get_path_by_index.md #### get_path_by_index ```python def get_path_by_index(self): ... ``` ### get_path_by_index_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/get_path_by_index_file.md #### get_path_by_index_file ```python def get_path_by_index_file(self): ... ``` ### get_path_by_index_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/get_path_by_index_int32.md #### get_path_by_index_int32 ```python def get_path_by_index_int32(self): ... ``` ### get_path_by_index_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/get_path_by_index_string.md #### get_path_by_index_string ```python def get_path_by_index_string(self): ... ``` ### line_numbers property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/line_numbers.md ##### Definition: ```python @property def line_numbers(self): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/mode.md ##### Definition: ```python @property def mode(self): ... ``` ### release_stream property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/release_stream.md ##### Definition: ```python @property def release_stream(self): ... ``` ### validate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/validate.md #### validate ```python def validate(self): ... ``` ### validate_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/textsplitoptions/validate_file_type.md #### validate_file_type ```python def validate_file_type(self): ... ``` ### UpdatePasswordOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/updatepasswordoptions.md #### UpdatePasswordOptions class The UpdatePasswordOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_string | | ##### Properties | Property | Description | | :- | :- | | new_password | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/updatepasswordoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/updatepasswordoptions/_init_string.md #### _init_string ```python def _init_string(self, new_password): ... ``` | Parameter | Type | Description | | :- | :- | :- | | new_password | `str` | | ### new_password property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/updatepasswordoptions/new_password.md ##### Definition: ```python @property def new_password(self): ... ``` ### WordJoinCompliance class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoincompliance.md #### WordJoinCompliance class The WordJoinCompliance type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ECMA376_2006 | | | ISO29500_2008_TRANSITIONAL | | | ISO29500_2008_STRICT | | | AUTO | | ### AUTO field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoincompliance/auto.md ##### Value `100` ### ECMA376_2006 field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoincompliance/ecma376_2006.md ##### Value `0` ### ISO29500_2008_STRICT field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoincompliance/iso29500_2008_strict.md ##### Value `2` ### ISO29500_2008_TRANSITIONAL field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoincompliance/iso29500_2008_transitional.md ##### Value `1` ### WordJoinMode class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinmode.md #### WordJoinMode class The WordJoinMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | DEFAULT | | | CONTINUOUS | | | DISABLE_SECTION_BREAKS | | ### CONTINUOUS field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinmode/continuous.md ##### Value `1` ### DEFAULT field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinmode/default.md ##### Value `0` ### DISABLE_SECTION_BREAKS field Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinmode/disable_section_breaks.md ##### Value `2` ### WordJoinOptions class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions.md #### WordJoinOptions class The WordJoinOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_type | | | _init_file_type_int32_array | | | _init_file_type_int32_int32 | | | _init_file_type_int32_int32_range_mode | | | _init_int32_array | | | _init_int32_int32 | | | _init_int32_int32_range_mode | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | compliance | | | mode | | | pages | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_file_type.md #### _init_file_type ```python def _init_file_type(self, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | ### _init_file_type_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_file_type_int32_array.md #### _init_file_type_int32_array ```python def _init_file_type_int32_array(self, file_type, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | page_numbers | `List[int]` | | ### _init_file_type_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_file_type_int32_int32.md #### _init_file_type_int32_int32 ```python def _init_file_type_int32_int32(self, file_type, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | start_number | `int` | | | end_number | `int` | | ### _init_file_type_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_file_type_int32_int32_range_mode.md #### _init_file_type_int32_int32_range_mode ```python def _init_file_type_int32_int32_range_mode(self, file_type, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_int32_array method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_int32_array.md #### _init_int32_array ```python def _init_int32_array(self, page_numbers): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_numbers | `List[int]` | | ### _init_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_int32_int32.md #### _init_int32_int32 ```python def _init_int32_int32(self, start_number, end_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | ### _init_int32_int32_range_mode method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_int32_int32_range_mode.md #### _init_int32_int32_range_mode ```python def _init_int32_int32_range_mode(self, start_number, end_number, mode): ... ``` | Parameter | Type | Description | | :- | :- | :- | | start_number | `int` | | | end_number | `int` | | | mode | `RangeMode` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### compliance property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/compliance.md ##### Definition: ```python @property def compliance(self): ... @compliance.setter def compliance(self, value): ... ``` ### mode property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/mode.md ##### Definition: ```python @property def mode(self): ... @mode.setter def mode(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.options/wordjoinoptions/type.md ##### Definition: ```python @property def type(self): ... ``` ### groupdocs.merger.domain.result Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result.md Types under `groupdocs.merger.domain.result`. ##### Classes | Class | Description | | :- | :- | | `DocumentInfo` | | | `IDocumentInfo` | | | `IPageInfo` | | | `PageInfo` | | ### DocumentInfo class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo.md #### DocumentInfo class The DocumentInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_type_ipage_info_array_int64 | | | _to_string_noargs | | | to_string | | ##### Properties | Property | Description | | :- | :- | | page_count | | | pages | | | size | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_type_ipage_info_array_int64 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/_init_file_type_ipage_info_array_int64.md #### _init_file_type_ipage_info_array_int64 ```python def _init_file_type_ipage_info_array_int64(self, file_type, pages, size): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | | pages | `List[IPageInfo]` | | | size | `int` | | ### _to_string_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### page_count property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### size property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/to_string.md #### to_string ```python def to_string(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/documentinfo/type.md ##### Definition: ```python @property def type(self): ... ``` ### IDocumentInfo class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/idocumentinfo.md #### IDocumentInfo class The IDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | page_count | | | pages | | | size | | | type | | ### page_count property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/idocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### pages property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/idocumentinfo/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### size property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/idocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### type property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/idocumentinfo/type.md ##### Definition: ```python @property def type(self): ... ``` ### IPageInfo class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/ipageinfo.md #### IPageInfo class The IPageInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | document | | | height | | | number | | | visible | | | width | | ### document property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/ipageinfo/document.md ##### Definition: ```python @property def document(self): ... @document.setter def document(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/ipageinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/ipageinfo/number.md ##### Definition: ```python @property def number(self): ... ``` ### visible property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/ipageinfo/visible.md ##### Definition: ```python @property def visible(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/ipageinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### PageInfo class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo.md #### PageInfo class The PageInfo type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_int32_boolean | | | _init_int32_boolean_int32_int32 | | ##### Properties | Property | Description | | :- | :- | | document | | | height | | | number | | | visible | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_int32_boolean method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/_init_int32_boolean.md #### _init_int32_boolean ```python def _init_int32_boolean(self, number, visible): ... ``` | Parameter | Type | Description | | :- | :- | :- | | number | `int` | | | visible | `bool` | | ### _init_int32_boolean_int32_int32 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/_init_int32_boolean_int32_int32.md #### _init_int32_boolean_int32_int32 ```python def _init_int32_boolean_int32_int32(self, number, visible, width, height): ... ``` | Parameter | Type | Description | | :- | :- | :- | | number | `int` | | | visible | `bool` | | | width | `int` | | | height | `int` | | ### document property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/document.md ##### Definition: ```python @property def document(self): ... @document.setter def document(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### number property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/number.md ##### Definition: ```python @property def number(self): ... ``` ### visible property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/visible.md ##### Definition: ```python @property def visible(self): ... ``` ### width property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.result/pageinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### groupdocs.merger.domain Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain.md Types under `groupdocs.merger.domain`. ##### Classes | Class | Description | | :- | :- | | `FileType` | | ### FileType class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype.md #### FileType class The FileType type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_file_type | | | _equals_object | | | _get_hash_code_noargs | | | _to_string_noargs | | | equals | | | equals_file_type | | | equals_object | | | from_extension | | | get_hash_code | | | get_supported_file_types | | | is_archive | | | is_audio | | | is_image | | | is_text | | | to_string | | ##### Properties | Property | Description | | :- | :- | | extension | | | file_format | | ### _equals_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/_equals_file_type.md #### _equals_file_type ```python def _equals_file_type(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `FileType` | | **Returns:** bool ### _equals_object method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### _to_string_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### BMP property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/bmp.md #### BMP property Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format [here](https://docs.fileformat.com/image/bmp). ### BZ2 property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/bz2.md #### BZ2 property Bzip2 Compressed File (.bz2) ### CSV property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/csv.md #### CSV property Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/csv). ### DOC property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/doc.md #### DOC property Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/doc). ### DOCM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/docm.md #### DOCM property Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://docs.fileformat.com/word-processing/docm). ### DOCX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/docx.md #### DOCX property Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/docx). ### DOT property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/dot.md #### DOT property Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dot). ### DOTM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/dotm.md #### DOTM property Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dotm). ### DOTX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/dotx.md #### DOTX property Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://docs.fileformat.com/word-processing/dotx). ### EMF property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/emf.md #### EMF property Windows Enhanced Metafile (.emf) ### EMZ property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/emz.md #### EMZ property Windows Compressed Enhanced Metafile (.emz) ### EPUB property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/epub.md #### EPUB property Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here](https://docs.fileformat.com/ebook/epub). ### equals method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/equals.md #### equals ```python def equals(self): ... ``` ### equals_file_type method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/equals_file_type.md #### equals_file_type ```python def equals_file_type(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### ERR property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/err.md #### ERR property Error Log File (.err) is a text file that contains error messages generated by a program. Learn more about this file format [here](https://fileinfo.com/extension/err). ### extension property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### from_extension method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/from_extension.md #### from_extension ```python def from_extension(cls, extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extension | `str` | | **Returns:** FileType ### get_hash_code method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### get_supported_file_types method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/get_supported_file_types.md #### get_supported_file_types ```python def get_supported_file_types(cls): ... ``` **Returns:** List[Any] ### GIF property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/gif.md #### GIF property Graphical Interchange Format File (.gif) ### GZ property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/gz.md #### GZ property G-Zip Compressed File (.gz) ### HTML property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/html.md #### HTML property Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://docs.fileformat.com/web/html). ### is_archive method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/is_archive.md #### is_archive ```python def is_archive(cls, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | **Returns:** bool ### is_audio method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/is_audio.md #### is_audio ```python def is_audio(cls, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | **Returns:** bool ### is_image method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/is_image.md #### is_image ```python def is_image(cls, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | **Returns:** bool ### is_text method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/is_text.md #### is_text ```python def is_text(cls, file_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_type | `FileType` | | **Returns:** bool ### JPEG property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/jpeg.md #### JPEG property JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format [here](https://docs.fileformat.com/image/jpeg). ### JPG property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/jpg.md #### JPG property JPEG Image (.jpg) ### MHT property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/mht.md #### MHT property MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml). ### MHTML property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/mhtml.md #### MHTML property MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://docs.fileformat.com/web/mhtml). ### MP3 property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/mp3.md #### MP3 property Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. It was developed by the Moving Picture Experts Group (MPEG) that uses Layer 3 audio compression. Compression achieved by MP3 file format is 1/10th the size of .WAV or .AIF files. Learn more about this file format [here](https://docs.fileformat.com/audio/mp3). ### ODP property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/odp.md #### ODP property OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here](https://docs.fileformat.com/presentation/odp). ### ODS property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/ods.md #### ODS property OpenDocument Spreadsheet (.ods) Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/ods). ### ODT property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/odt.md #### ODT property OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/odt). ### ONE property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/one.md #### ONE property OneNote Document (.one) files are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format [here](https://docs.fileformat.com/note-taking/one). ### OTP property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/otp.md #### OTP property OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here](https://docs.fileformat.com/presentation/otp). ### OTT property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/ott.md #### OTT property OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://docs.fileformat.com/word-processing/ott). ### PDF property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/pdf.md #### PDF property Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://docs.fileformat.com/view/pdf). ### PNG property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/png.md #### PNG property Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. Learn more about this file format [here](https://docs.fileformat.com/image/png). ### PPS property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/pps.md #### PPS property PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://docs.fileformat.com/presentation/pps). ### PPSM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/ppsm.md #### PPSM property PowerPoint Open XML Macro-Enabled Slide (.ppsm) ### PPSX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/ppsx.md #### PPSX property PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://docs.fileformat.com/presentation/ppsx). ### PPT property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/ppt.md #### PPT property PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://docs.fileformat.com/presentation/ppt). ### PPTM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/pptm.md #### PPTM property PowerPoint Open XML Macro-Enabled Presentation ### PPTX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/pptx.md #### PPTX property PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://docs.fileformat.com/presentation/pptx). ### PS property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/ps.md #### PS property PostScript File (.ps) ### RAR property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/rar.md #### RAR property Roshal ARchive Compressed File (.rar) ### RTF property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/rtf.md #### RTF property Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format [here](https://docs.fileformat.com/word-processing/rtf). ### SEVEN_Z property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/seven_z.md #### SEVEN_Z property 7-Zip Compressed File (.7z) ### SVG property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/svg.md #### SVG property Scalable Vector Graphics File (.svg) ### SVGZ property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/svgz.md #### SVGZ property Scalable Vector Graphics Compressed File (.svgz) ### TAR property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/tar.md #### TAR property Consolidated Unix File Archive (.tar) ### TEX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/tex.md #### TEX property LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/tex). ### TIF property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/tif.md #### TIF property Tagged Image File (.tif) ### TIFF property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/tiff.md #### TIFF property Tagged Image File Format (.tiff) ### to_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/to_string.md #### to_string ```python def to_string(self): ... ``` ### TSV property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/tsv.md #### TSV property Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/tsv). ### TXT property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/txt.md #### TXT property Plain Text File (.txt) represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://docs.fileformat.com/word-processing/txt). ### UNKNOWN property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/unknown.md #### UNKNOWN property Represents unknown file type. ### VDX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vdx.md #### VDX property Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here](https://docs.fileformat.com/image/vdx). ### VSD property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vsd.md #### VSD property Visio Drawing File (.vsd) ### VSDM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vsdm.md #### VSDM property Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format [here](https://docs.fileformat.com/image/vsdm). ### VSDX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vsdx.md #### VSDX property Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here](https://docs.fileformat.com/image/vsdx). ### VSS property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vss.md #### VSS property Visio Stencil File(.vss) ### VSSM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vssm.md #### VSSM property Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format [here](https://docs.fileformat.com/image/vssm). ### VSSX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vssx.md #### VSSX property Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format [here](https://docs.fileformat.com/image/vssx). ### VST property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vst.md #### VST property Visio Drawing Template (.vst) ### VSTM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vstm.md #### VSTM property Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format [here](https://docs.fileformat.com/image/vstm). ### VSTX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vstx.md #### VSTX property Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format [here](https://docs.fileformat.com/image/vstx). ### VSX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vsx.md #### VSX property Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here](https://docs.fileformat.com/image/vsx). ### VTX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/vtx.md #### VTX property Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format [here](https://docs.fileformat.com/image/vtx). ### WAV property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/wav.md #### WAV property WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft’s Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn’t apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. It has been and is one of the standard format for audio CDs. Learn more about this file format [here](https://docs.fileformat.com/audio/wav). ### XLAM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xlam.md #### XLAM property Excel Macro-Enabled Add-In (.xlam) ### XLS property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xls.md #### XLS property Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xls). ### XLSB property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xlsb.md #### XLSB property Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsb). ### XLSM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xlsm.md #### XLSM property Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsm). ### XLSX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xlsx.md #### XLSX property Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlsx). ### XLT property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xlt.md #### XLT property Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xlt). ### XLTM property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xltm.md #### XLTM property Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xltm). ### XLTX property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xltx.md #### XLTX property Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here](https://docs.fileformat.com/spreadsheet/xltx). ### XPS property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/xps.md #### XPS property XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. Learn more about this file format [here](https://docs.fileformat.com/page-description-language/xps). ### ZIP property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.domain/filetype/zip.md #### ZIP property Zipped File (.zip) ### groupdocs.merger.exceptions Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions.md The namespace provides different classes for exceptions. ##### Classes | Class | Description | | :- | :- | | `FileCorruptedException` | The exception that is thrown when specified file could not be loaded because it appears to be corrupted. | | `FileTypeNotSupportedException` | The exception that is thrown when specified file type is not supported. | | `GroupDocsMergerException` | Represents errors that occur during document processing. | | `IncorrectPasswordException` | The exception that is thrown when specified password is incorrect. | | `PasswordRequiredException` | The exception that is thrown when password is required to load the document. | ### FileCorruptedException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions/filecorruptedexception.md #### FileCorruptedException class The exception that is thrown when specified file could not be loaded because it appears to be corrupted. **Inheritance:** `FileCorruptedException` → `GroupDocsMergerException` The FileCorruptedException type exposes the following members: ### FileTypeNotSupportedException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions/filetypenotsupportedexception.md #### FileTypeNotSupportedException class The exception that is thrown when specified file type is not supported. The FileTypeNotSupportedException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `FileTypeNotSupportedException` class. | ### FileTypeNotSupportedException constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions/filetypenotsupportedexception/__init__.md #### __init__ Initializes a new instance of the `FileTypeNotSupportedException` class. ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | str | The message that describes the error. | ### GroupDocsMergerException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions/groupdocsmergerexception.md #### GroupDocsMergerException class Represents errors that occur during document processing. The GroupDocsMergerException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | Initializes a new instance of the `GroupDocsMergerException` class. | ### GroupDocsMergerException constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions/groupdocsmergerexception/__init__.md #### __init__ Initializes a new instance of the `GroupDocsMergerException` class. ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | str | The message that describes the error. | ### IncorrectPasswordException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions/incorrectpasswordexception.md #### IncorrectPasswordException class The exception that is thrown when specified password is incorrect. **Inheritance:** `IncorrectPasswordException` → `GroupDocsMergerException` The IncorrectPasswordException type exposes the following members: ### PasswordRequiredException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.exceptions/passwordrequiredexception.md #### PasswordRequiredException class The exception that is thrown when password is required to load the document. **Inheritance:** `PasswordRequiredException` → `GroupDocsMergerException` The PasswordRequiredException type exposes the following members: ### groupdocs.merger.logging Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging.md Logging hooks and listener interfaces. ##### Classes | Class | Description | | :- | :- | | `ConsoleLogger` | | | `ILogger` | | ### ConsoleLogger class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger.md #### ConsoleLogger class The ConsoleLogger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _init_noargs | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _error_string_exception method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | exception | `Exception` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _trace_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/consolelogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### ILogger class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger.md #### ILogger class The ILogger type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### _error_string_exception method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | exception | `Exception` | | ### _trace_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.logging/ilogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### groupdocs.merger Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger.md Main GroupDocs.Merger namespace with top-level API classes. ##### Classes | Class | Description | | :- | :- | | `IMerger` | | | `License` | Manages GroupDocs.Merger licensing. | | `Merger` | | | `MergerSettings` | | | `Metered` | Manages metered (pay-per-use) licensing. | ##### Exceptions | Exception | Description | | :- | :- | | `FileCorruptedException` | | | `FileTypeNotSupportedException` | | | `GroupDocsMergerException` | | | `IncorrectPasswordException` | | | `PasswordRequiredException` | | ### FileCorruptedException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/filecorruptedexception.md #### FileCorruptedException class The FileCorruptedException type exposes the following members: ### FileTypeNotSupportedException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/filetypenotsupportedexception.md #### FileTypeNotSupportedException class The FileTypeNotSupportedException type exposes the following members: ### GroupDocsMergerException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/groupdocsmergerexception.md #### GroupDocsMergerException class The GroupDocsMergerException type exposes the following members: ### IMerger class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger.md #### IMerger class The IMerger type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _add_password_iadd_password_options | | | _change_orientation_iorientation_options | | | _extract_pages_iextract_options | | | _import_document_iimport_document_options | | | _join_stream | | | _join_stream_iimage_join_options | | | _join_stream_ijoin_options | | | _join_stream_ipage_join_options | | | _join_string | | | _join_string_iimage_join_options | | | _join_string_ijoin_options | | | _join_string_ipage_join_options | | | _move_page_imove_options | | | _remove_pages_iremove_options | | | _remove_password_noargs | | | _rotate_irotate_options | | | _save_stream_isave_options | | | _save_string_boolean_isave_options | | | _save_string_isave_options | | | _split_isplit_options | | | _split_itext_split_options | | | _swap_pages_iswap_options | | | _update_password_iupdate_password_options | | | add_password | | | add_password_iadd_password_options | | | change_orientation | | | change_orientation_iorientation_options | | | extract_pages | | | extract_pages_iextract_options | | | import_document | | | import_document_iimport_document_options | | | join | | | join_file | | | join_stream | | | join_streams | | | join_string | | | move_page | | | move_page_imove_options | | | remove_pages | | | remove_pages_iremove_options | | | remove_password | | | rotate | | | rotate_irotate_options | | | save | | | save_file | | | save_stream | | | save_streams | | | save_string | | | split | | | split_isplit_options | | | split_itext_split_options | | | swap_pages | | | swap_pages_iswap_options | | | update_password | | | update_password_iupdate_password_options | | ### _add_password_iadd_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_add_password_iadd_password_options.md #### _add_password_iadd_password_options ```python def _add_password_iadd_password_options(self, add_password_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | add_password_options | `IAddPasswordOptions` | | **Returns:** IMerger ### _change_orientation_iorientation_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_change_orientation_iorientation_options.md #### _change_orientation_iorientation_options ```python def _change_orientation_iorientation_options(self, orientation_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | orientation_options | `IOrientationOptions` | | **Returns:** IMerger ### _extract_pages_iextract_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_extract_pages_iextract_options.md #### _extract_pages_iextract_options ```python def _extract_pages_iextract_options(self, extract_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extract_options | `IExtractOptions` | | **Returns:** IMerger ### _import_document_iimport_document_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_import_document_iimport_document_options.md #### _import_document_iimport_document_options ```python def _import_document_iimport_document_options(self, import_document_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | import_document_options | `IImportDocumentOptions` | | **Returns:** IMerger ### _join_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_stream.md #### _join_stream ```python def _join_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | **Returns:** IMerger ### _join_stream_iimage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_stream_iimage_join_options.md #### _join_stream_iimage_join_options ```python def _join_stream_iimage_join_options(self, document, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | join_options | `IImageJoinOptions` | | **Returns:** IMerger ### _join_stream_ijoin_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_stream_ijoin_options.md #### _join_stream_ijoin_options ```python def _join_stream_ijoin_options(self, document, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | join_options | `IJoinOptions` | | **Returns:** IMerger ### _join_stream_ipage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_stream_ipage_join_options.md #### _join_stream_ipage_join_options ```python def _join_stream_ipage_join_options(self, document, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | join_options | `IPageJoinOptions` | | **Returns:** IMerger ### _join_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_string.md #### _join_string ```python def _join_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | **Returns:** IMerger ### _join_string_iimage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_string_iimage_join_options.md #### _join_string_iimage_join_options ```python def _join_string_iimage_join_options(self, file_path, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | join_options | `IImageJoinOptions` | | **Returns:** IMerger ### _join_string_ijoin_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_string_ijoin_options.md #### _join_string_ijoin_options ```python def _join_string_ijoin_options(self, file_path, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | join_options | `IJoinOptions` | | **Returns:** IMerger ### _join_string_ipage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_join_string_ipage_join_options.md #### _join_string_ipage_join_options ```python def _join_string_ipage_join_options(self, file_path, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | join_options | `IPageJoinOptions` | | **Returns:** IMerger ### _move_page_imove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_move_page_imove_options.md #### _move_page_imove_options ```python def _move_page_imove_options(self, move_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | move_options | `IMoveOptions` | | **Returns:** IMerger ### _remove_pages_iremove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_remove_pages_iremove_options.md #### _remove_pages_iremove_options ```python def _remove_pages_iremove_options(self, remove_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | remove_options | `IRemoveOptions` | | **Returns:** IMerger ### _remove_password_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_remove_password_noargs.md #### _remove_password_noargs ```python def _remove_password_noargs(self): ... ``` **Returns:** IMerger ### _rotate_irotate_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_rotate_irotate_options.md #### _rotate_irotate_options ```python def _rotate_irotate_options(self, rotate_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_options | `IRotateOptions` | | **Returns:** IMerger ### _save_stream_isave_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_save_stream_isave_options.md #### _save_stream_isave_options ```python def _save_stream_isave_options(self, document, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | save_options | `Optional[ISaveOptions]` | | **Returns:** IMerger ### _save_string_boolean_isave_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_save_string_boolean_isave_options.md #### _save_string_boolean_isave_options ```python def _save_string_boolean_isave_options(self, file_path, use_default_directory, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | use_default_directory | `bool` | | | save_options | `Optional[ISaveOptions]` | | **Returns:** IMerger ### _save_string_isave_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_save_string_isave_options.md #### _save_string_isave_options ```python def _save_string_isave_options(self, file_path, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | save_options | `Optional[ISaveOptions]` | | **Returns:** IMerger ### _split_isplit_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_split_isplit_options.md #### _split_isplit_options ```python def _split_isplit_options(self, split_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | split_options | `ISplitOptions` | | **Returns:** IMerger ### _split_itext_split_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_split_itext_split_options.md #### _split_itext_split_options ```python def _split_itext_split_options(self, split_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | split_options | `ITextSplitOptions` | | **Returns:** IMerger ### _swap_pages_iswap_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_swap_pages_iswap_options.md #### _swap_pages_iswap_options ```python def _swap_pages_iswap_options(self, swap_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | swap_options | `ISwapOptions` | | **Returns:** IMerger ### _update_password_iupdate_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/_update_password_iupdate_password_options.md #### _update_password_iupdate_password_options ```python def _update_password_iupdate_password_options(self, update_password_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | update_password_options | `IUpdatePasswordOptions` | | **Returns:** IMerger ### add_password method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/add_password.md #### add_password ```python def add_password(self): ... ``` ### add_password_iadd_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/add_password_iadd_password_options.md #### add_password_iadd_password_options ```python def add_password_iadd_password_options(self): ... ``` ### change_orientation method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/change_orientation.md #### change_orientation ```python def change_orientation(self): ... ``` ### change_orientation_iorientation_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/change_orientation_iorientation_options.md #### change_orientation_iorientation_options ```python def change_orientation_iorientation_options(self): ... ``` ### extract_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/extract_pages.md #### extract_pages ```python def extract_pages(self): ... ``` ### extract_pages_iextract_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/extract_pages_iextract_options.md #### extract_pages_iextract_options ```python def extract_pages_iextract_options(self): ... ``` ### import_document method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/import_document.md #### import_document ```python def import_document(self): ... ``` ### import_document_iimport_document_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/import_document_iimport_document_options.md #### import_document_iimport_document_options ```python def import_document_iimport_document_options(self): ... ``` ### join method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/join.md #### join ```python def join(self): ... ``` ### join_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/join_file.md #### join_file ```python def join_file(self): ... ``` ### join_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/join_stream.md #### join_stream ```python def join_stream(self): ... ``` ### join_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/join_streams.md #### join_streams ```python def join_streams(self): ... ``` ### join_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/join_string.md #### join_string ```python def join_string(self): ... ``` ### move_page method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/move_page.md #### move_page ```python def move_page(self): ... ``` ### move_page_imove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/move_page_imove_options.md #### move_page_imove_options ```python def move_page_imove_options(self): ... ``` ### remove_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/remove_pages.md #### remove_pages ```python def remove_pages(self): ... ``` ### remove_pages_iremove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/remove_pages_iremove_options.md #### remove_pages_iremove_options ```python def remove_pages_iremove_options(self): ... ``` ### remove_password method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/remove_password.md #### remove_password ```python def remove_password(self): ... ``` ### rotate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/rotate.md #### rotate ```python def rotate(self): ... ``` ### rotate_irotate_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/rotate_irotate_options.md #### rotate_irotate_options ```python def rotate_irotate_options(self): ... ``` ### rotate_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/rotate_pages.md #### rotate_pages Rotate pages of the document. ```python def rotate_pages(self, rotate_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_options | groupdocs.merger.domain.options.IRotateOptions | | ### save method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/save.md #### save ```python def save(self): ... ``` ### save_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/save_file.md #### save_file ```python def save_file(self): ... ``` ### save_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/save_stream.md #### save_stream ```python def save_stream(self): ... ``` ### save_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/save_streams.md #### save_streams ```python def save_streams(self): ... ``` ### save_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/save_string.md #### save_string ```python def save_string(self): ... ``` ### split method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/split.md #### split ```python def split(self): ... ``` ### split_isplit_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/split_isplit_options.md #### split_isplit_options ```python def split_isplit_options(self): ... ``` ### split_itext_split_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/split_itext_split_options.md #### split_itext_split_options ```python def split_itext_split_options(self): ... ``` ### swap_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/swap_pages.md #### swap_pages ```python def swap_pages(self): ... ``` ### swap_pages_iswap_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/swap_pages_iswap_options.md #### swap_pages_iswap_options ```python def swap_pages_iswap_options(self): ... ``` ### update_password method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/update_password.md #### update_password ```python def update_password(self): ... ``` ### update_password_iupdate_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/imerger/update_password_iupdate_password_options.md #### update_password_iupdate_password_options ```python def update_password_iupdate_password_options(self): ... ``` ### IncorrectPasswordException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/incorrectpasswordexception.md #### IncorrectPasswordException class The IncorrectPasswordException type exposes the following members: ### License class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/license.md #### License class Manages GroupDocs.Merger licensing. Licensed builds unlock the full feature set of the wrapper at runtime. Unlicensed builds run in evaluation mode with the same API surface but with limits on output size and watermarked content. The License type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_license | Apply a license to the current process. | ### License constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/license/__init__.md #### __init__ Constructs a new instance of License ```python def __init__(self): ... ``` ### set_license method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/license/set_license.md #### set_license Apply a license to the current process. ```python def set_license(self, license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | Either a string path to a ``.lic`` file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. | | Raises | Description | | :- | :- | | `TypeError` | If ``license_source`` is neither a string path nor a readable file-like object. | ### Merger class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger.md #### Merger class The Merger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _add_password_iadd_password_options | | | _apply_page_builder_page_builder | | | _change_orientation_iorientation_options | | | _create_page_builder_page_builder_options | | | _dispose_noargs | | | _extract_pages_iextract_options | | | _generate_preview_ipreview_options | | | _get_document_info_noargs | | | _import_document_iimport_document_options | | | _init_func_1_e_2e2 | | | _init_func_1_e_2e2_iload_options | | | _init_func_1_e_2e2_iload_options_merger_settings | | | _init_func_1_e_2e2_merger_settings | | | _init_stream | | | _init_stream_iload_options | | | _init_stream_iload_options_merger_settings | | | _init_stream_merger_settings | | | _init_string | | | _init_string_iload_options | | | _init_string_iload_options_merger_settings | | | _init_string_merger_settings | | | _is_password_set_noargs | | | _join_stream | | | _join_stream_iimage_join_options | | | _join_stream_ijoin_options | | | _join_stream_ipage_join_options | | | _join_string | | | _join_string_iimage_join_options | | | _join_string_ijoin_options | | | _join_string_ipage_join_options | | | _move_page_imove_options | | | _remove_pages_iremove_options | | | _remove_password_noargs | | | _rotate_irotate_options | | | _save_stream_isave_options | | | _save_string_boolean_isave_options | | | _save_string_isave_options | | | _split_isplit_options | | | _split_itext_split_options | | | _swap_pages_iswap_options | | | _update_password_iupdate_password_options | | | add_password | | | add_password_iadd_password_options | | | apply_page_builder | | | apply_page_builder_page_builder | | | change_orientation | | | change_orientation_iorientation_options | | | create_page_builder | | | create_page_builder_page_builder_options | | | dispose | | | extract_pages | | | extract_pages_iextract_options | | | generate_preview | | | generate_preview_ipreview_options | | | get_document_info | | | import_document | | | import_document_iimport_document_options | | | is_password_set | | | join | | | join_file | | | join_stream | | | join_streams | | | join_string | | | move_page | | | move_page_imove_options | | | remove_pages | | | remove_pages_iremove_options | | | remove_password | | | rotate | | | rotate_irotate_options | | | save | | | save_file | | | save_stream | | | save_streams | | | save_string | | | split | | | split_isplit_options | | | split_itext_split_options | | | swap_pages | | | swap_pages_iswap_options | | | update_password | | | update_password_iupdate_password_options | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _add_password_iadd_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_add_password_iadd_password_options.md #### _add_password_iadd_password_options ```python def _add_password_iadd_password_options(self, add_password_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | add_password_options | `IAddPasswordOptions` | | **Returns:** IMerger ### _apply_page_builder_page_builder method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_apply_page_builder_page_builder.md #### _apply_page_builder_page_builder ```python def _apply_page_builder_page_builder(self, page_builder): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_builder | `PageBuilder` | | ### _change_orientation_iorientation_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_change_orientation_iorientation_options.md #### _change_orientation_iorientation_options ```python def _change_orientation_iorientation_options(self, orientation_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | orientation_options | `IOrientationOptions` | | **Returns:** IMerger ### _create_page_builder_page_builder_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_create_page_builder_page_builder_options.md #### _create_page_builder_page_builder_options ```python def _create_page_builder_page_builder_options(self, page_builder_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_builder_options | `Optional[PageBuilderOptions]` | | **Returns:** PageBuilder ### _dispose_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_dispose_noargs.md #### _dispose_noargs ```python def _dispose_noargs(self): ... ``` ### _extract_pages_iextract_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_extract_pages_iextract_options.md #### _extract_pages_iextract_options ```python def _extract_pages_iextract_options(self, extract_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | extract_options | `IExtractOptions` | | **Returns:** IMerger ### _generate_preview_ipreview_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_generate_preview_ipreview_options.md #### _generate_preview_ipreview_options ```python def _generate_preview_ipreview_options(self, preview_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | preview_options | `IPreviewOptions` | | ### _get_document_info_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_get_document_info_noargs.md #### _get_document_info_noargs ```python def _get_document_info_noargs(self): ... ``` **Returns:** IDocumentInfo ### _import_document_iimport_document_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_import_document_iimport_document_options.md #### _import_document_iimport_document_options ```python def _import_document_iimport_document_options(self, import_document_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | import_document_options | `IImportDocumentOptions` | | **Returns:** IMerger ### _init_func_1_e_2e2 method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_func_1_e_2e2.md #### _init_func_1_e_2e2 ```python def _init_func_1_e_2e2(self, get_file_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | get_file_stream | `Stream` | | ### _init_func_1_e_2e2_iload_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_func_1_e_2e2_iload_options.md #### _init_func_1_e_2e2_iload_options ```python def _init_func_1_e_2e2_iload_options(self, get_file_stream, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | get_file_stream | `Stream` | | | load_options | `ILoadOptions` | | ### _init_func_1_e_2e2_iload_options_merger_settings method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_func_1_e_2e2_iload_options_merger_settings.md #### _init_func_1_e_2e2_iload_options_merger_settings ```python def _init_func_1_e_2e2_iload_options_merger_settings(self, get_file_stream, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | get_file_stream | `Stream` | | | load_options | `ILoadOptions` | | | settings | `MergerSettings` | | ### _init_func_1_e_2e2_merger_settings method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_func_1_e_2e2_merger_settings.md #### _init_func_1_e_2e2_merger_settings ```python def _init_func_1_e_2e2_merger_settings(self, get_file_stream, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | get_file_stream | `Stream` | | | settings | `MergerSettings` | | ### _init_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_stream.md #### _init_stream ```python def _init_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | ### _init_stream_iload_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_stream_iload_options.md #### _init_stream_iload_options ```python def _init_stream_iload_options(self, document, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | load_options | `ILoadOptions` | | ### _init_stream_iload_options_merger_settings method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_stream_iload_options_merger_settings.md #### _init_stream_iload_options_merger_settings ```python def _init_stream_iload_options_merger_settings(self, document, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | load_options | `ILoadOptions` | | | settings | `MergerSettings` | | ### _init_stream_merger_settings method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_stream_merger_settings.md #### _init_stream_merger_settings ```python def _init_stream_merger_settings(self, document, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | settings | `MergerSettings` | | ### _init_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_string.md #### _init_string ```python def _init_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _init_string_iload_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_string_iload_options.md #### _init_string_iload_options ```python def _init_string_iload_options(self, file_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `ILoadOptions` | | ### _init_string_iload_options_merger_settings method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_string_iload_options_merger_settings.md #### _init_string_iload_options_merger_settings ```python def _init_string_iload_options_merger_settings(self, file_path, load_options, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `ILoadOptions` | | | settings | `MergerSettings` | | ### _init_string_merger_settings method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_init_string_merger_settings.md #### _init_string_merger_settings ```python def _init_string_merger_settings(self, file_path, settings): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | settings | `MergerSettings` | | ### _is_password_set_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_is_password_set_noargs.md #### _is_password_set_noargs ```python def _is_password_set_noargs(self): ... ``` **Returns:** bool ### _join_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_stream.md #### _join_stream ```python def _join_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | **Returns:** IMerger ### _join_stream_iimage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_stream_iimage_join_options.md #### _join_stream_iimage_join_options ```python def _join_stream_iimage_join_options(self, document, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | join_options | `IImageJoinOptions` | | **Returns:** IMerger ### _join_stream_ijoin_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_stream_ijoin_options.md #### _join_stream_ijoin_options ```python def _join_stream_ijoin_options(self, document, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | join_options | `IJoinOptions` | | **Returns:** IMerger ### _join_stream_ipage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_stream_ipage_join_options.md #### _join_stream_ipage_join_options ```python def _join_stream_ipage_join_options(self, document, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | join_options | `IPageJoinOptions` | | **Returns:** IMerger ### _join_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_string.md #### _join_string ```python def _join_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | **Returns:** IMerger ### _join_string_iimage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_string_iimage_join_options.md #### _join_string_iimage_join_options ```python def _join_string_iimage_join_options(self, file_path, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | join_options | `IImageJoinOptions` | | **Returns:** IMerger ### _join_string_ijoin_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_string_ijoin_options.md #### _join_string_ijoin_options ```python def _join_string_ijoin_options(self, file_path, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | join_options | `IJoinOptions` | | **Returns:** IMerger ### _join_string_ipage_join_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_join_string_ipage_join_options.md #### _join_string_ipage_join_options ```python def _join_string_ipage_join_options(self, file_path, join_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | join_options | `IPageJoinOptions` | | **Returns:** IMerger ### _move_page_imove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_move_page_imove_options.md #### _move_page_imove_options ```python def _move_page_imove_options(self, move_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | move_options | `IMoveOptions` | | **Returns:** IMerger ### _remove_pages_iremove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_remove_pages_iremove_options.md #### _remove_pages_iremove_options ```python def _remove_pages_iremove_options(self, remove_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | remove_options | `IRemoveOptions` | | **Returns:** IMerger ### _remove_password_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_remove_password_noargs.md #### _remove_password_noargs ```python def _remove_password_noargs(self): ... ``` **Returns:** IMerger ### _rotate_irotate_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_rotate_irotate_options.md #### _rotate_irotate_options ```python def _rotate_irotate_options(self, rotate_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_options | `IRotateOptions` | | **Returns:** IMerger ### _save_stream_isave_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_save_stream_isave_options.md #### _save_stream_isave_options ```python def _save_stream_isave_options(self, document, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | save_options | `Optional[ISaveOptions]` | | **Returns:** IMerger ### _save_string_boolean_isave_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_save_string_boolean_isave_options.md #### _save_string_boolean_isave_options ```python def _save_string_boolean_isave_options(self, file_path, use_default_directory, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | use_default_directory | `bool` | | | save_options | `Optional[ISaveOptions]` | | **Returns:** IMerger ### _save_string_isave_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_save_string_isave_options.md #### _save_string_isave_options ```python def _save_string_isave_options(self, file_path, save_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | save_options | `Optional[ISaveOptions]` | | **Returns:** IMerger ### _split_isplit_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_split_isplit_options.md #### _split_isplit_options ```python def _split_isplit_options(self, split_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | split_options | `ISplitOptions` | | **Returns:** IMerger ### _split_itext_split_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_split_itext_split_options.md #### _split_itext_split_options ```python def _split_itext_split_options(self, split_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | split_options | `ITextSplitOptions` | | **Returns:** IMerger ### _swap_pages_iswap_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_swap_pages_iswap_options.md #### _swap_pages_iswap_options ```python def _swap_pages_iswap_options(self, swap_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | swap_options | `ISwapOptions` | | **Returns:** IMerger ### _update_password_iupdate_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/_update_password_iupdate_password_options.md #### _update_password_iupdate_password_options ```python def _update_password_iupdate_password_options(self, update_password_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | update_password_options | `IUpdatePasswordOptions` | | **Returns:** IMerger ### add_password method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/add_password.md #### add_password ```python def add_password(self): ... ``` ### add_password_iadd_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/add_password_iadd_password_options.md #### add_password_iadd_password_options ```python def add_password_iadd_password_options(self): ... ``` ### apply_page_builder method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/apply_page_builder.md #### apply_page_builder ```python def apply_page_builder(self): ... ``` ### apply_page_builder_page_builder method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/apply_page_builder_page_builder.md #### apply_page_builder_page_builder ```python def apply_page_builder_page_builder(self): ... ``` ### change_orientation method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/change_orientation.md #### change_orientation ```python def change_orientation(self): ... ``` ### change_orientation_iorientation_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/change_orientation_iorientation_options.md #### change_orientation_iorientation_options ```python def change_orientation_iorientation_options(self): ... ``` ### create_page_builder method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/create_page_builder.md #### create_page_builder ```python def create_page_builder(self): ... ``` ### create_page_builder_page_builder_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/create_page_builder_page_builder_options.md #### create_page_builder_page_builder_options ```python def create_page_builder_page_builder_options(self): ... ``` ### dispose method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/dispose.md #### dispose ```python def dispose(self): ... ``` ### extract_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/extract_pages.md #### extract_pages ```python def extract_pages(self): ... ``` ### extract_pages_iextract_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/extract_pages_iextract_options.md #### extract_pages_iextract_options ```python def extract_pages_iextract_options(self): ... ``` ### generate_preview method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/generate_preview.md #### generate_preview ```python def generate_preview(self): ... ``` ### generate_preview_ipreview_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/generate_preview_ipreview_options.md #### generate_preview_ipreview_options ```python def generate_preview_ipreview_options(self): ... ``` ### get_document_info method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/get_document_info.md #### get_document_info ```python def get_document_info(self): ... ``` ### import_document method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/import_document.md #### import_document ```python def import_document(self): ... ``` ### import_document_iimport_document_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/import_document_iimport_document_options.md #### import_document_iimport_document_options ```python def import_document_iimport_document_options(self): ... ``` ### is_password_set method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/is_password_set.md #### is_password_set ```python def is_password_set(self): ... ``` ### join method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/join.md #### join ```python def join(self): ... ``` ### join_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/join_file.md #### join_file ```python def join_file(self): ... ``` ### join_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/join_stream.md #### join_stream ```python def join_stream(self): ... ``` ### join_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/join_streams.md #### join_streams ```python def join_streams(self): ... ``` ### join_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/join_string.md #### join_string ```python def join_string(self): ... ``` ### move_page method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/move_page.md #### move_page ```python def move_page(self): ... ``` ### move_page_imove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/move_page_imove_options.md #### move_page_imove_options ```python def move_page_imove_options(self): ... ``` ### remove_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/remove_pages.md #### remove_pages ```python def remove_pages(self): ... ``` ### remove_pages_iremove_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/remove_pages_iremove_options.md #### remove_pages_iremove_options ```python def remove_pages_iremove_options(self): ... ``` ### remove_password method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/remove_password.md #### remove_password ```python def remove_password(self): ... ``` ### rotate method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/rotate.md #### rotate ```python def rotate(self): ... ``` ### rotate_irotate_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/rotate_irotate_options.md #### rotate_irotate_options ```python def rotate_irotate_options(self): ... ``` ### rotate_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/rotate_pages.md #### rotate_pages Rotate pages of the document. ```python def rotate_pages(self, rotate_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rotate_options | groupdocs.merger.domain.options.IRotateOptions | The options for the page rotating. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Thrown when `rotate_options` is null. | ### save method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/save.md #### save ```python def save(self): ... ``` ### save_file method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/save_file.md #### save_file ```python def save_file(self): ... ``` ### save_stream method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/save_stream.md #### save_stream ```python def save_stream(self): ... ``` ### save_streams method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/save_streams.md #### save_streams ```python def save_streams(self): ... ``` ### save_string method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/save_string.md #### save_string ```python def save_string(self): ... ``` ### split method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/split.md #### split ```python def split(self): ... ``` ### split_isplit_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/split_isplit_options.md #### split_isplit_options ```python def split_isplit_options(self): ... ``` ### split_itext_split_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/split_itext_split_options.md #### split_itext_split_options ```python def split_itext_split_options(self): ... ``` ### swap_pages method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/swap_pages.md #### swap_pages ```python def swap_pages(self): ... ``` ### swap_pages_iswap_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/swap_pages_iswap_options.md #### swap_pages_iswap_options ```python def swap_pages_iswap_options(self): ... ``` ### update_password method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/update_password.md #### update_password ```python def update_password(self): ... ``` ### update_password_iupdate_password_options method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/merger/update_password_iupdate_password_options.md #### update_password_iupdate_password_options ```python def update_password_iupdate_password_options(self): ... ``` ### MergerSettings class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/mergersettings.md #### MergerSettings class The MergerSettings type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_ilogger | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | logger | | ### __init__ constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/mergersettings/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_ilogger method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/mergersettings/_init_ilogger.md #### _init_ilogger ```python def _init_ilogger(self, logger): ... ``` | Parameter | Type | Description | | :- | :- | :- | | logger | `ILogger` | | ### _init_noargs method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/mergersettings/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### logger property Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/mergersettings/logger.md ##### Definition: ```python @property def logger(self): ... @logger.setter def logger(self, value): ... ``` ### Metered class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/metered.md #### Metered class Manages metered (pay-per-use) licensing. Metered licenses bill on actual consumption (typically pages or documents processed). Set the public/private key pair once at application startup; the wrapper reports usage back to the GroupDocs license server in the background. The Metered type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_consumption_credit | Return the remaining metered credit for the current key. | | get_consumption_quantity | Return the total metered quantity consumed so far. | | set_metered_key | Activate metered billing with the given public/private key pair. | ### Metered constructor Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/metered/__init__.md #### __init__ Constructs a new instance of Metered ```python def __init__(self): ... ``` ### get_consumption_credit method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/metered/get_consumption_credit.md #### get_consumption_credit Return the remaining metered credit for the current key. ```python def get_consumption_credit(): ... ``` **Returns:** float: The remaining credit balance reported by the license server. ### get_consumption_quantity method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/metered/get_consumption_quantity.md #### get_consumption_quantity Return the total metered quantity consumed so far. ```python def get_consumption_quantity(): ... ``` **Returns:** float: The cumulative usage (typically in pages or documents) recorded against the current metered key. ### set_metered_key method Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/metered/set_metered_key.md #### set_metered_key Activate metered billing with the given public/private key pair. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | | The public key half of the metered credentials. | | private_key | | The private key half of the metered credentials. | ### PasswordRequiredException class Path: https://reference.groupdocs.com/merger/python-net/groupdocs.merger/passwordrequiredexception.md #### PasswordRequiredException class The PasswordRequiredException type exposes the following members: # GroupDocs.Metadata > Read, edit, and remove metadata in documents, images, audio, and video. ## Java ### GroupDocs.Metadata for Java Path: https://reference.groupdocs.com/metadata/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.metadata | The **com.groupdocs.metadata** namespace is the entry point to all features of the library. | | com.groupdocs.metadata.core | The **com.groupdocs.metadata.core** namespace provides main classes allowing working with metadata in all supported formats. | | com.groupdocs.metadata.export | The **com.groupdocs.metadata.export** namespace contains classes that allow users to export metadata properties to different representations. | | com.groupdocs.metadata.imports | The **com.groupdocs.metadata.imports** namespace contains classes that allow users to import metadata properties to different representations. | | com.groupdocs.metadata.licensing | The **com.groupdocs.metadata.licensing** namespace provides classes for licensing the Metadata library. | | com.groupdocs.metadata.options | The **com.groupdocs.metadata.options** namespace contains all classes representing settings that allow users to control file and metadata processing. | | com.groupdocs.metadata.search | The **com.groupdocs.metadata.search** namespace contains base classes, utility classes and interfaces used across all formats and metadata standards. | | com.groupdocs.metadata.tagging | The **com.groupdocs.metadata.tagging** namespace contains various sets of tags with which most important metadata properties are marked.The tags allow users to find and update metadata properties in different packages regardless of the metadata standard and file format. | ### com.groupdocs.metadata.core Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core.md The **com.groupdocs.metadata.core** namespace provides main classes allowing working with metadata in all supported formats. #### Classes | Class | Description | | --- | --- | | ApePackage | Represents an APE v2 metadata package. | | AsfAudioStreamProperty | Represents Audio stream property metadata in the ASF media container. | | AsfBaseDescriptor | Represents an ASF base metadata descriptor object. | | AsfBaseStreamProperty | Represents base stream property metadata in the ASF media container. | | AsfCodec | Represents ASF codec metadata. | | AsfContentDescriptor | Represents an ASF content descriptor object. | | AsfDescriptorType | Defines ASF descriptor types. | | AsfExtendedStreamPropertyFlags | Defines ASF extended stream property flags. | | AsfFilePropertyFlags | Defines ASF file property flags. | | AsfMetadataDescriptor | Represents an ASF metadata descriptor. | | AsfMetadataDescriptorCollection | Represents a collection of metadata descriptors. | | AsfPackage | Represents native metadata of the ASF media container. | | AsfRootPackage | Represents the root package allowing working with metadata in an ASF video. | | AsfVideoStreamProperty | Represents Video stream property metadata in the ASF media container. | | AviHeader | Represents the AVIMAINHEADER structure in an AVI video. | | AviHeaderFlags | Represents AVI Header flags. | | AviRootPackage | Represents the root package allowing working with metadata in an AVI video. | | BmpHeaderPackage | Represents BMP header info. | | BmpRootPackage | Represents the root package intended to work with metadata in a BMP image. | | CadCustomPropertyPackage | Represents a collection of custom CAD metadata properties. | | CadPackage | Represents CAD (Computer-aided design) metadata. | | CadRootPackage | Represents the root package allowing working with metadata in a CAD drawing. | | CanonCameraSettingsPackage | Represents CANON camera settings. | | CanonMakerNotePackage | Represents CANON MakerNote metadata. | | Cms | Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. | | CmsAttribute | Represents a CMS signer info attribute. | | CmsCertificate | Represents a CMS certificate. | | CmsEncapsulatedContent | Represents a signed content container, consisting of a content type identifier and the content itself. | | CmsPackage | Represents a CMS digital signature metadata package. | | CmsSigner | Represents CMS per-signer information. | | Cr2AFConfigPackage | Represents Canon MakerNotes tags. | | Cr2AFInfo2Package | Represents Canon MakerNotes tags. | | Cr2AFInfoPackage | Represents Canon MakerNotes tags. | | Cr2AFMicroAdjPackage | Represents Canon MakerNotes tags. | | Cr2AspectInfoPackage | Represents Canon MakerNotes tags. | | Cr2CameraSettingsPackage | Represents Canon MakerNotes tags. | | Cr2ColorBalancePackage | Represents Canon MakerNotes tags. | | Cr2ColorInfoPackage | Represents Canon MakerNotes tags. | | Cr2CropInfoPackage | Represents Canon MakerNotes tags. | | Cr2FileInfoPackage | Represents Canon MakerNotes tags. | | Cr2FocalLengthPackage | Represents Canon MakerNotes tags. | | Cr2Functions1DPackage | Represents Canon MakerNotes tags. | | Cr2LightingOptPackage | Represents Canon MakerNotes tags. | | Cr2LogInfoPackage | Represents Canon MakerNotes tags. | | Cr2MakerNotePackage | Represents Canon MakerNotes tags. | | Cr2ModifiedInfoPackage | Represents Canon MakerNotes tags. | | Cr2MovieInfoPackage | Represents Canon MakerNotes tags. | | Cr2MultiExpPackage | Represents Canon MakerNotes tags. | | Cr2Package | Represents native CR2 metadata. | | Cr2PanoramaPackage | Represents Canon MakerNotes tags. | | Cr2PersonalFuncValuesPackage | Represents Canon MakerNotes tags. | | Cr2PersonalFuncsPackage | Represents Canon MakerNotes tags. | | Cr2ProcessingPackage | Represents Canon MakerNotes tags. | | Cr2RootPackage | Represents an entry point to all metadata packages presented in a particular file CR2. | | Cr2SensorInfoPackage | Represents Canon MakerNotes tags. | | Cr2ShotInfoPackage | Represents Canon MakerNotes tags. | | Cr2TimeInfoPackage | Represents Canon MakerNotes tags. | | Cr2VignettingCorr2Package | Represents Canon MakerNotes tags. | | Cr2WBInfoPackage | Represents Canon MakerNotes tags. | | CustomPackage | Provides a container for metadata properties. | | DiagramPackage | Represents a native metadata package in a diagram format. | | DiagramRootPackage | Represents the root package intended to work with metadata in a diagram. | | DiagramTypePackage | Represents a metadata package containing diagram-specific file format information. | | DicomPackage | Represents native DICOM metadata. | | DicomRootPackage | Represents the root package intended to work with metadata in a DICOM image. | | DigitalSignature | Represents a digital signature used to sign a document. | | DisposableWrapper | | | DjVuRootPackage | Represents the root package intended to work with metadata in an DjVu image. | | DngPackage | Represents native DNG metadata. | | DngRootPackage | Represents the root package intended to work with metadata in a DNG image. | | DocumentInfo | Provides common information about a loaded document. | | DocumentPackage | Represents native metadata in an office document. | | DocumentProtectedException | The exception that is thrown when document is protected by password. | | DocumentRootPackage | Represents a root package for document formats such as PDF, WordProcessing, Spreadsheet, Presentation, etc. | | DocumentStatistics | Represents a set of document statistics. | | DublinCorePackage | Represents a Dublin Core metadata package. | | DwgRootPackage | Represents the root package allowing working with metadata in a DWG drawing. | | DxfRootPackage | Represents the root package allowing working with metadata in a DXF drawing. | | EmailHeaderPackage | Represents a metadata package containing email message headers. | | EmailPackage | Represents email message metadata. | | EmailRootPackage | Represents the root package allowing working with metadata in an email message. | | EmfRootPackage | Represents the root package intended to work with metadata in an EMF image. | | EmlPackage | Represents EML message metadata. | | EmlRootPackage | Represents the root package allowing working with metadata in an EML email message. | | EpubPackage | Represents metadata in a EPUB e-book. | | EpubRootPackage | Represents the root package allowing working with metadata in an EPUB e-book. | | ExifDictionaryBasePackage | Provides an abstract base class for EXIF metadata dictionaries. | | ExifGpsPackage | Represents GPS metadata in an EXIF metadata package. | | ExifIfdPackage | Represents the Exif Image File Directory. | | ExifPackage | Represents an EXIF metadata package (Exchangeable Image File Format). | | FileType | Represents the file type. | | FileTypePackage | Represents a metadata package containing file format information. | | FlvHeader | Represents a FLV video header. | | FlvRootPackage | Represents the root package allowing working with metadata in an FLV video. | | GifImageTypePackage | Represents a metadata package containing GIF-specific file format information. | | GifRootPackage | Represents the root package intended to work with metadata in a GIF image. | | GpsIfdPackage | Represents GPS IFD. | | GroupDocsMetadataException | Represents a product-specific exception that is thrown during file processing. | | HeifRootPackage | Represents the root package intended to work with metadata in a HEIF image. | | ID3Tag | Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. | | ID3V1Genre | Specifies genres used in an Id3v1 tag. | | ID3V1Tag | Represents an ID3v1 tag. | | ID3V2AttachedPictureFrame | Represents an APIC frame in an ID3V2Tag . | | ID3V2AttachedPictureType | Represents the type of an attached picture. | | ID3V2CommentFrame | Represents a COMM frame in an ID3V2Tag . | | ID3V2MlltFrame | Represents an MLLT frame in an ID3V2Tag . | | ID3V2PlayCounterFrame | Represents a PCNT frame in an ID3V2Tag . | | ID3V2PrivateFrame | Represents a PRIV frame in an ID3V2Tag . | | ID3V2Tag | Represents an ID3v2 tag. | | ID3V2TagFrame | Represents a generic frame in an ID3V2Tag . | | ID3V2TagFrameFlags | Represents flags used in a ID3v2 tag frame. | | ID3V2TextFrame | Represents a text frame in an ID3V2Tag . | | ID3V2UrlLinkFrame | Represents a URL link frame in an ID3V2Tag . | | ID3V2UserDefinedFrame | Represents a TXXX frame in an ID3V2Tag . | | ID3V2UserDefinedUrlLinkFrame | Represents a WXXX frame in an ID3V2Tag . | | ImageResourceBlock | | | ImageResourceID | Image resources standard ID numbers. | | ImageResourcePackage | Represents a metadata package containing Photoshop Image Resources. | | ImageRootPackage | Provides a base abstract class for all image root packages. | | ImageTypePackage | Represents a metadata package containing image-specific file format information. | | InteroperabilityIFDPointerPackage | Represents Interoperability IFD. | | InvalidFormatException | The exception that is thrown when a file has an invalid format. | | IptcApplicationRecord | Represents an IPTC Application Record. | | IptcDataSet | Represents an IPTC DataSet (metadata property). | | IptcEnvelopeRecord | Represents an IPTC Envelope Record. | | IptcEnvelopeRecordDataSet | Defines IPTC Envelope Record dataSet numbers. | | IptcRecord | Represents an IPTC record. | | IptcRecordSet | Represents a collection of IPTC records. | | IptcRecordType | Defines IPTC record types. | | Jpeg2000Package | Represents native JPEG2000 metadata. | | Jpeg2000RootPackage | Represents the root package intended to work with metadata in a JPEG2000 image. | | JpegRootPackage | Represents the root package allowing working with metadata in a JPEG image. | | LyricsField | Represents a LyricsTag field. | | LyricsTag | Represents Lyrics3 v2.00 metadata. | | MP3RootPackage | Represents the root package allowing working with metadata in an MP3 audio. | | MakerNotePackage | Provides an abstract base class for MakerNote metadata packages. | | MatroskaAudioTrack | Represents audio metadata in a Matroska video. | | MatroskaBasePackage | Provides a base metadata class for all packages extracted from a Matroska video. | | MatroskaEbmlHeader | Represents EBML header metadata in a Matroska video. | | MatroskaPackage | Represents a metadata container in a Matroska video. | | MatroskaRootPackage | Represents the root package allowing working with metadata in a Matroska video. | | MatroskaSegment | Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. | | MatroskaSimpleTag | Represents general information about the target in a Matroska video. | | MatroskaSubtitle | Represents subtitle metadata in a Matroska video. | | MatroskaSubtitleTrack | Represents subtitle metadata in a Matroska video. | | MatroskaTag | Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. | | MatroskaTrack | Represents track metadata in a Matroska video. | | MatroskaVideoTrack | Represents video metadata in a Matroska video. | | MetadataPackage | Represents base abstraction for a metadata package. | | MetadataProperty | Represents a metadata property. | | MetadataValidationException | The exception that is thrown when validation errors encountered during metadata saving. | | MovAtom | Represents a QuickTime atom. | | MovPackage | Represents QuickTime metadata. | | MovRootPackage | Represents the root package allowing working with metadata in a QuickTime video. | | MpegAudioPackage | Represents MPEG audio metadata. | | MsgPackage | Represents MSG message metadata. | | MsgRootPackage | Represents the root package allowing working with metadata in an MSG email message. | | NikonMakerNotePackage | Represents NIKON MakerNote metadata. | | NoteInspectionPackage | Represents a metadata package exposing the internal structure of a note section. | | NotePage | Represents a page in a OneNote section. | | NoteRootPackage | Represents the root package intended to work with metadata in an electronic note file. | | Oid | Represents an object identifier (OID). | | OpenTypeBaseNameRecord | Represents the base OpenType Name table record class. | | OpenTypeFlags | Represents OpenType font header flags. | | OpenTypeFont | Represents a single font extracted from a file. | | OpenTypeLicensingRights | Indicates font embedding licensing rights for the font. | | OpenTypeMacintoshNameRecord | Represents the Name record table value for the OpenTypePlatform.Macintosh platform. | | OpenTypePackage | Represents an OpenType font metadata package. | | OpenTypeRootPackage | Represents the root package allowing working with metadata in an OpenType font file. | | OpenTypeStyles | Represents the OpenType font style. | | OpenTypeUnicodeNameRecord | Represents the Name record table value for the OpenTypePlatform.Unicode platform. | | OpenTypeWindowsNameRecord | Represents the Name record table value for OpenTypePlatform.Windows platform. | | PageInfo | Provides common information about a document page (slide, worksheet, etc). | | PanasonicMakerNotePackage | Represents PANASONIC MakerNote metadata. | | PdfAnnotation | Represents an annotation in a PDF document. | | PdfAttachment | Represents an attachment in a PDF document. | | PdfBookmark | Represents a bookmark in a PDF document. | | PdfFormField | Represents a form field in a PDF document. | | PdfInspectionPackage | Contains information about PDF document parts that can be considered as metadata in some cases. | | PdfPackage | Represents native metadata in a PDF document. | | PdfRootPackage | Represents the root package allowing working with metadata in a PDF document. | | PdfTypePackage | Represents a metadata package containing PDF-specific file format information. | | PngCompressedTextChunk | Represents compressed textual data extracted from a PNG image. | | PngInternationalTextChunk | Represents international textual data extracted from a PNG image. | | PngPackage | Represents native PNG metadata. | | PngRootPackage | Represents the root package intended to work with metadata in a PNG image. | | PngTextChunk | Represents textual data extracted from a PNG image. | | PresentationComment | Represents a user comment in a presentation. | | PresentationInspectionPackage | Contains information about presentation parts that can be considered as metadata in some cases. | | PresentationPackage | Represents a native metadata package in a presentation. | | PresentationRootPackage | Represents the root package intended to work with metadata in a presentation. | | PresentationSlide | Represents a slide in a presentation. | | PresentationTypePackage | Represents a metadata package containing presentation-specific file format information. | | ProjectManagementPackage | Represents a native metadata package in a project management file. | | ProjectManagementRootPackage | Represents the root package intended to work with metadata in a project management format. | | PropertyAccessLevels | Defines access levels for metadata properties. | | PropertyDescriptor | Represents a descriptor of a property that can be accessed through the GroupDocs.Metadata search engine. | | PropertyValue | Represents a property value. | | PsdLayer | Represents a layer in a PSD file. | | PsdLayerFlags | The Photoshop layer flags. | | PsdPackage | Represents native Photoshop metadata. | | PsdRootPackage | Represents the root package allowing working with metadata in a Photoshop Document. | | RarFile | Represents metadata associated with an archived file or directory. | | RarPackage | Represents ZIP archive metadata. | | RarRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | RawDictionaryBasePackage | Provides an abstract base class for EXIF metadata dictionaries. | | RawExifTagPackage | Represents Exif tags. | | RawIFD1Package | Represents IFD1 tags. | | RawIFD2Package | Represents IFD1 tags. | | RawIFD3Package | Represents IFD1 tags. | | RawMakerNotePackage | Represents Raw MakerNotes tags. | | RawTiffTagPackage | Represents Tiff tags. | | RawTypePackage | Represents a metadata package containing image-specific file format information. | | ReadOnlyList | Provides an abstract base class for a strongly typed read-only list. | | Rectangle | A set of four integers that represent the location and size of a rectangle. | | RiffInfoPackage | Represents the metadata package containing properties extracted from the RIFF INFO chunk. | | RootMetadataPackage | Represents an entry point to all metadata packages presented in a particular file. | | SevenZipFile | Represents metadata associated with an archived file or directory. | | SevenZipPackage | Represents ZIP archive metadata. | | SevenZipRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | SonyMakerNotePackage | Represents SONY MakerNote metadata. | | SpreadsheetComment | Represents a user comment in a spreadsheet. | | SpreadsheetContentTypePackage | Represents a metadata package containing spreadsheet content type properties. | | SpreadsheetContentTypeProperty | Represents a content type property in a spreadsheet. | | SpreadsheetInspectionPackage | Contains information about spreadsheet parts that can be considered as metadata in some cases. | | SpreadsheetPackage | Represents a native metadata package in a spreadsheet. | | SpreadsheetRootPackage | Represents the root package allowing working with metadata in a spreadsheet. | | SpreadsheetSheet | Represents a sheet in a spreadsheet document. | | SpreadsheetTypePackage | Represents a metadata package containing spreadsheet-specific file format information. | | TarFile | Represents metadata associated with an archived file or directory. | | TarPackage | Represents ZIP archive metadata. | | TarRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | TiffArrayTag | Represents an array-based TIFF tag. | | TiffAsciiTag | Represents a TIFF ASCII tag. | | TiffByteTag | Represents a Byte tag. | | TiffDoubleTag | Represents a TIFF Double tag. | | TiffFloatTag | Represents a TIFF float tag. | | TiffLongTag | Represents a TIFF Long tag. | | TiffRational | Represents a rational number. | | TiffRationalTag | Represents a TIFF Rational tag. | | TiffRootPackage | Represents the root package allowing working with metadata in a TIFF image. | | TiffSByteTag | Represents a TIFF SByte tag. | | TiffSLongTag | Represents a TIFF SLong tag. | | TiffSRational | Represents signed rational number. | | TiffSRationalTag | Represents a TIFF SRational tag. | | TiffSShortTag | Represents a TIFF SShort tag. | | TiffShortTag | Represents a TIFF Short tag. | | TiffTag | Represents a TIFF tag. | | TiffTagID | Defines ids of TIFF tags. | | TiffUndefinedTag | Represents a TIFF tag with the Undefined type. | | TorrentPackage | Represents torrent descriptor file metadata. | | TorrentRootPackage | Represents the root package intended to work with metadata of a TORRENT file. | | TorrentSharedFilePackage | Represents shared file information. | | VCardAgentRecord | Represents vCard Agent record metadata class. | | VCardBasePackage | Represents the base VCard metadata class. | | VCardBinaryRecord | Represents vCard binary record metadata class. | | VCardCalendarRecordset | Represents a set of Calendar vCard records. | | VCardCard | Represents a single card extracted from a VCard file. | | VCardCommunicationRecordset | Represents a set of Communication vCard records. | | VCardCustomRecord | Represents vCard custom record metadata class. | | VCardDateTimeRecord | Represents vCard date time record metadata class. | | VCardDeliveryAddressingRecordset | Represents a set of Delivery Addressing vCard records. | | VCardExplanatoryRecordset | Represents a set of Explanatory vCard records. | | VCardGeneralRecordset | Represents a set of General vCard records. | | VCardGeographicalRecordset | Represents a set of Geographical vCard records. | | VCardIdentificationRecordset | Represents a set of Identification vCard records. | | VCardOrganizationalRecordset | Represents a set of Organizational vCard records. | | VCardPackage | Represents VCF (Virtual Contact File) electronic business card format metadata. | | VCardRecord | Represents abstract vCard record metadata class. | | VCardRecordset | Provides a base vCard record union class. | | VCardRootPackage | Represents the root package allowing working with metadata in a VCard file. | | VCardSecurityRecordset | Represents a set of Security vCard records. | | VCardTextRecord | Represents vCard text record metadata class. | | ValueAcceptor | Provides a base abstract class that allows extracting all supported types of values from a PropertyValue instance. | | ValueInterpreter | Defines operations required to interpret metadata property values. | | WavPackage | Represents a native metadata package in a WAV audio file. | | WavRootPackage | Represents the root package allowing working with metadata in a WAV audio. | | WebPRootPackage | Represents the root package allowing working with metadata in a WEBP image. | | WmfRootPackage | Represents the root package intended to work with metadata in a WMF image. | | WordProcessingComment | Represents a comment in a word processing document. | | WordProcessingField | Represents a field in a word processing document. | | WordProcessingInspectionPackage | Contains information about document parts that can be considered as metadata in some cases. | | WordProcessingPackage | Represents a native metadata package in a word processing document. | | WordProcessingRevision | Represents a revision (tracked change) in a document. | | WordProcessingRootPackage | Represents the root package allowing working with metadata in a word processing document. | | WordProcessingTypePackage | Represents a metadata package containing document-specific file format information. | | XmpArray | Represents base abstraction for XMP array. | | XmpAudioChannelType | Represents audio channel type. | | XmpAudioSampleType | Represents Audio sample type in XmpDynamicMediaPackage . | | XmpBasicJobTicketPackage | Represents Basic Job-Ticket namespace. | | XmpBasicPackage | Represents the XMP basic namespace. | | XmpBoolean | Represents XMP Boolean basic type. | | XmpCameraRawPackage | Represents Camera Raw schema. | | XmpClosedChoice | Represents XMP Closed Choice. | | XmpColorantBase | A structure containing the characteristics of a colorant (swatch) used in a document. | | XmpColorantCmyk | Represents the CMYK Colorant. | | XmpColorantLab | Represents the LAB Colorant. | | XmpColorantRgb | Represents the RGB Colorant. | | XmpComplexType | Represents base abstraction for XMP Complex value type. | | XmpComplexTypeValue | Represents an XMP value containing a complex type instance. | | XmpDate | Represents Date in XMP packet. | | XmpDimensions | Containing dimensions for a drawn object. | | XmpDublinCorePackage | Represents the Dublin Core scheme. | | XmpDynamicMediaPackage | Represents XMP Dynamic Media namespace. | | XmpElementBase | Represents base XMP element that contains attributes. | | XmpException | The exception that is thrown when XMP has invalid structure. | | XmpFont | A structure containing the characteristics of a font used in a document. | | XmpGuid | Represents XMP global unique identifier. | | XmpHeaderPI | Represents XMP header processing instruction. | | XmpInteger | Represents XMP Integer basic type. | | XmpIptcCorePackage | Represents the IPTC Core XMP package. | | XmpIptcExtensionPackage | Represents the IPTC Extension XMP package. | | XmpIptcIimPackage | Represents the IPTC-IIM XMP package. | | XmpJob | Represents Job. | | XmpLangAlt | | | XmpMediaManagementPackage | Represents the XMP Media Management namespace. | | XmpMeta | Represents xmpmeta. | | XmpMetadataContainer | Represents a container for XMP metadata properties. | | XmpNamespaces | Contains namespaces used in XmpPackage and XmpComplexType . | | XmpPackage | Represents base abstraction for XMP package. | | XmpPacketWrapper | Contains serialized XMP package including header and trailer. | | XmpPagedTextPackage | Represents the XMP Paged-Text package. | | XmpPdfPackage | Specifies properties used with Adobe PDF documents. | | XmpPhotoshopPackage | Represents Adobe Photoshop namespace. | | XmpRational | Represents XMP XmpRational. | | XmpReal | Represents XMP Real. | | XmpRenditionClass | Represents XMP RenditionClass. | | XmpResourceEvent | Represents a high-level event that occurred in the processing of a resource. | | XmpResourceRef | | | XmpRightsManagementPackage | Represents XMP Rights Management namespace. | | XmpSchemes | Provides access to known XMP schemes. | | XmpText | Represents XMP Text basic type. | | XmpThumbnail | Represents a thumbnail image for a file. | | XmpTime | Representation of a time value in seconds. | | XmpTimeFormat | Represents time format in XmpTimecode . | | XmpTimecode | Represents a timecode value in a video. | | XmpTrailerPI | Represents XMP trailer processing instruction. | | XmpValueBase | Represents base XMP value. | | XmpVersion | Represents a version of a document. | | XmpWhiteBalance | Represents the White Balance setting in XmpCameraRawPackage . | | ZipFile | Represents metadata associated with an archived file or directory. | | ZipPackage | Represents ZIP archive metadata. | | ZipRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Provides common information about a loaded document. | | IDublinCore | Defines base operations allowing working with Dublin Core metadata. | | IEnumValue | Defines a value of an enumeration. | | IEnumValueInterpreter | Represents an interpreter intended to convert various numeric values to descriptive string values. | | IExif | Defines base operations intended to work with EXIF metadata. | | IIptc | Represents base operations intended to work with IPTC metadata. | | IReadOnlyList | Represents a read-only collection of elements that can be accessed by index. | | IXmp | Defines base operations intended to work with XMP metadata. | | IXmpType | Base interface for XMP type. | #### Enumerations | Enum | Description | | --- | --- | | AsfCodecType | Defines ASF codec types. | | AsfStreamType | Defines ASF stream types. | | ByteOrder | Defines various byte orders. | | CadAcadVersion | Defines AutoCAD drawing database version numbers. | | DiagramFormat | Defines various diagram subformats. | | ExifGpsAltitudeRef | Represents a GPS altitude reference. | | FileFormat | Represents the recognized format of a loaded file. | | ID3V2EncodingType | Defines different types of text encoding used in ID3v2. | | IptcApplicationRecordDataSet | Defines IPTC Application Record dataSet numbers. | | MatroskaContentType | Represents a Matroska content type. | | MatroskaTargetTypeValue | Represents a number to indicate the logical level of the Matroska tag target. | | MatroskaTrackType | Represents Matroska track types coded in 8 bits. | | MatroskaVideoDisplayUnit | Defines how Matroska DisplayWidth and DisplayHeight are interpreted. | | MatroskaVideoFieldOrder | Represents the field ordering of the Matroska video. | | MatroskaVideoFlagInterlaced | Represents a flag to declare if the Matroska video is known to be progressive or interlaced and if applicable to declare details about the interlacement. | | MatroskaVideoStereoMode | Represents Matroska Stereo-3D video modes. | | MetadataPropertyType | Defines metadata property types. | | MetadataType | Specifies the type of a metadata package. | | MpegAudioVersion | Represents a particular MPEG standard. | | MpegChannelMode | Defines MPEG audio channel modes. | | MpegEmphasis | Defines MPEG emphasis types. | | OpenTypeDigitalSignatureFlags | Represents OpenType font digital signature flags. | | OpenTypeDirectionHint | Represents the OpenType font direction. | | OpenTypeIsoEncoding | Represents encoding for the OpenTypePlatform.Iso platform. | | OpenTypeMacintoshEncoding | Represents encoding for the OpenTypePlatform.Macintosh platform. | | OpenTypeMacintoshLanguage | Represents language enum for the OpenTypePlatform.Macintosh platform. | | OpenTypeName | Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. | | OpenTypePlatform | Represents OpenType platform for Name table. | | OpenTypeUnicodeEncoding | Represents encoding for OpenTypePlatform.Unicode platform. | | OpenTypeVersion | Represents the OpenType version. | | OpenTypeWeight | Represents the OpenType font weight. | | OpenTypeWidth | Represents the OpenType font width. | | OpenTypeWindowsEncoding | Represents encoding for the OpenTypePlatform.Windows platform. | | OpenTypeWindowsLanguage | Represents language for OpenTypePlatform.Windows platform. | | PngCompressionMethod | Defines compression methods used in the PNG format. | | PresentationFormat | Defines various presentation subformats. | | PsdColorMode | Represents the psd file format color mode. | | PsdCompressionMethod | Defines the compression method used for image data. | | RawIntegerType | Defines raw integer types for enumerations. | | SpreadsheetFormat | Defines various spreadsheet subformats. | | TiffTagType | Represents the IFD data type. | | VCardContentType | Defines vCard record content types. | | WordProcessingFormat | Defines various word processing document subformats. | | WordProcessingRevisionType | Specifies the type of the change being tracked by a revision. | | XmpArrayType | Represents array type in XmpArray . | | XmpColorType | Type of color in XmpColorantBase . | | XmpColorantColorMode | Represents color mode in XmpColorantBase . | | XmpCropUnit | Represent a unit for CropWidth and CropHeight in XmpCameraRawPackage . | | XmpPhotoshopColorMode | Represents a color mode in XmpPhotoshopPackage . | | ZipCompressionMethod | Defines ZIP compression methods. | ### ApePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/apepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ApePackage extends CustomPackage ``` Represents an APE v2 metadata package. Please find more information at [http://wiki.hydrogenaud.io/index.php?title=APE\_key][http_wiki.hydrogenaud.io_index.php_title_APE_key] . This example demonstrates how to read the APEv2 tag in an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithApe)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getApeV2() != null) { > System.out.println(root.getApeV2().getAlbum()); > System.out.println(root.getApeV2().getTitle()); > System.out.println(root.getApeV2().getArtist()); > System.out.println(root.getApeV2().getComposer()); > System.out.println(root.getApeV2().getCopyright()); > System.out.println(root.getApeV2().getGenre()); > System.out.println(root.getApeV2().getLanguage()); > // ... > } > } > > ``` > ``` [http_wiki.hydrogenaud.io_index.php_title_APE_key]: http://wiki.hydrogenaud.io/index.php?title=APE_key [Handling the APEv2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+APEv2+tag #### Methods | Method | Description | | --- | --- | | getTitle() | Gets the title. | | getSubtitle() | Gets the subtitle. | | getArtist() | Gets the artist. | | getAlbum() | Gets the album. | | getDebutAlbum() | Gets the debut album. | | getPublisher() | Gets the publisher. | | getConductor() | Gets the conductor. | | getTrack() | Gets the track number. | | getComposer() | Gets the composer. | | getComment() | Gets the comment. | | getCopyright() | Gets the copyright. | | getPublicationRight() | Gets the publication right. | | getFile() | Gets the file. | | getIsbn() | Gets the ISBN number with check digit. | | getRecordLocation() | Gets the record location. | | getGenre() | Gets the genre. | | getIsrc() | Gets the International Standard Recording Number. | | getAbstract() | Gets the abstract link. | | getLanguage() | Gets the language. | | getBibliography() | Gets the bibliography. | ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### getSubtitle() ``` public final String getSubtitle() ``` Gets the subtitle. **Returns:** java.lang.String - The subtitle. ##### getArtist() ``` public final String getArtist() ``` Gets the artist. **Returns:** java.lang.String - The artist. ##### getAlbum() ``` public final String getAlbum() ``` Gets the album. **Returns:** java.lang.String - The album. ##### getDebutAlbum() ``` public final String getDebutAlbum() ``` Gets the debut album. **Returns:** java.lang.String - The debut album. ##### getPublisher() ``` public final String getPublisher() ``` Gets the publisher. **Returns:** java.lang.String - The publisher. ##### getConductor() ``` public final String getConductor() ``` Gets the conductor. **Returns:** java.lang.String - The conductor. ##### getTrack() ``` public final Integer getTrack() ``` Gets the track number. **Returns:** java.lang.Integer - The track number. ##### getComposer() ``` public final String getComposer() ``` Gets the composer. **Returns:** java.lang.String - The composer. ##### getComment() ``` public final String getComment() ``` Gets the comment. **Returns:** java.lang.String - The comment. ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright. **Returns:** java.lang.String - The copyright. ##### getPublicationRight() ``` public final String getPublicationRight() ``` Gets the publication right. **Returns:** java.lang.String - The publication right. ##### getFile() ``` public final String getFile() ``` Gets the file. **Returns:** java.lang.String - The file. ##### getIsbn() ``` public final String getIsbn() ``` Gets the ISBN number with check digit. See more: https://en.wikipedia.org/wiki/International\_Standard\_Book\_Number. **Returns:** java.lang.String - The ISBN number. ##### getRecordLocation() ``` public final String getRecordLocation() ``` Gets the record location. **Returns:** java.lang.String - The record location. ##### getGenre() ``` public final String getGenre() ``` Gets the genre. **Returns:** java.lang.String - The genre. ##### getIsrc() ``` public final String getIsrc() ``` Gets the International Standard Recording Number. **Returns:** java.lang.String - The International Standard Recording Number. ##### getAbstract() ``` public final String getAbstract() ``` Gets the abstract link. **Returns:** java.lang.String - The abstract link. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language. **Returns:** java.lang.String - The language. ##### getBibliography() ``` public final String getBibliography() ``` Gets the bibliography. **Returns:** java.lang.String - The bibliography. ### AsfAudioStreamProperty Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfaudiostreamproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.AsfBaseStreamProperty ``` public class AsfAudioStreamProperty extends AsfBaseStreamProperty ``` Represents Audio stream property metadata in the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getFormatTag() | Gets the unique ID of the codec used to encode the audio data. | | getChannels() | Gets the number of audio channels. | | getSamplesPerSecond() | Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. | | getBitsPerSample() | Gets the number of bits per sample of monaural data. | ##### getFormatTag() ``` public final int getFormatTag() ``` Gets the unique ID of the codec used to encode the audio data. **Returns:** int - The unique ID of the codec used to encode the audio data. ##### getChannels() ``` public final int getChannels() ``` Gets the number of audio channels. **Returns:** int - The number of audio channels. ##### getSamplesPerSecond() ``` public final long getSamplesPerSecond() ``` Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. **Returns:** long - The a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. ##### getBitsPerSample() ``` public final int getBitsPerSample() ``` Gets the number of bits per sample of monaural data. **Returns:** int - The number of bits per sample of monaural data. ### AsfBaseDescriptor Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfbasedescriptor.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public abstract class AsfBaseDescriptor extends MetadataProperty ``` Represents an ASF base metadata descriptor object. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getAsfContentType() | Gets the type of the content. | ##### getAsfContentType() ``` public final AsfDescriptorType getAsfContentType() ``` Gets the type of the content. **Returns:** AsfDescriptorType - The type of the content. ### AsfBaseStreamProperty Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfbasestreamproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class AsfBaseStreamProperty extends CustomPackage ``` Represents base stream property metadata in the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getStreamType() | Gets the type of this stream. | | getStreamNumber() | Gets the number of this stream. | | getStartTime() | Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. | | getEndTime() | Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. | | getBitrate() | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | getAlternateBitrate() | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | getFlags() | Gets the flags. | | getLanguage() | Gets the stream language. | | getAverageTimePerFrame() | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | getAverageBitrate() | Gets the average bitrate. | ##### getStreamType() ``` public final AsfStreamType getStreamType() ``` Gets the type of this stream. **Returns:** AsfStreamType - The type of this stream. ##### getStreamNumber() ``` public final byte getStreamNumber() ``` Gets the number of this stream. **Returns:** byte - The number of this stream. ##### getStartTime() ``` public final Long getStartTime() ``` Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. **Returns:** java.lang.Long - The presentation time of the first object. ##### getEndTime() ``` public final Long getEndTime() ``` Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. **Returns:** java.lang.Long - The presentation time of the last object plus the duration of play. ##### getBitrate() ``` public final Long getBitrate() ``` Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. **Returns:** java.lang.Long - The bleak rate R, in bits per second. ##### getAlternateBitrate() ``` public final Long getAlternateBitrate() ``` Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. **Returns:** java.lang.Long - The leak rate RAlt, in bits per second. ##### getFlags() ``` public final AsfExtendedStreamPropertyFlags getFlags() ``` Gets the flags. **Returns:** AsfExtendedStreamPropertyFlags - The flags. ##### getLanguage() ``` public final String getLanguage() ``` Gets the stream language. **Returns:** java.lang.String - The stream language. ##### getAverageTimePerFrame() ``` public final Long getAverageTimePerFrame() ``` Gets the average time duration, measured in 100-nanosecond units, of each frame. **Returns:** java.lang.Long - The average time duration, measured in 100-nanosecond units, of each frame. ##### getAverageBitrate() ``` public final Long getAverageBitrate() ``` Gets the average bitrate. **Returns:** java.lang.Long - The average bitrate. ### AsfCodec Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfcodec.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class AsfCodec extends CustomPackage ``` Represents ASF codec metadata. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getName() | Gets the property name. | | getCodecType() | Gets the type of the codec. | | getDescription() | Gets the description. | | getInformation() | Gets the information string. | ##### getName() ``` public final String getName() ``` Gets the property name. **Returns:** java.lang.String - The property name. ##### getCodecType() ``` public final AsfCodecType getCodecType() ``` Gets the type of the codec. **Returns:** AsfCodecType - The type of the codec. ##### getDescription() ``` public final String getDescription() ``` Gets the description. **Returns:** java.lang.String - The description. ##### getInformation() ``` public final String getInformation() ``` Gets the information string. **Returns:** java.lang.String - The information string. ### AsfCodecType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfcodectype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum AsfCodecType extends Enum implements IEnumValue ``` Defines ASF codec types. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined codec. | | Video | Video codec. | | Audio | Audio codec. | | Unknown | Unknown codec. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final AsfCodecType Undefined ``` Undefined codec. ##### Video ``` public static final AsfCodecType Video ``` Video codec. ##### Audio ``` public static final AsfCodecType Audio ``` Audio codec. ##### Unknown ``` public static final AsfCodecType Unknown ``` Unknown codec. ##### values() ``` public static AsfCodecType[] values() ``` **Returns:** com.groupdocs.metadata.core.AsfCodecType[] ##### valueOf(String name) ``` public static AsfCodecType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** AsfCodecType ##### getByRawValue(int rawValue) ``` public static AsfCodecType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfCodecType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### AsfContentDescriptor Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfcontentdescriptor.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.AsfBaseDescriptor ``` public final class AsfContentDescriptor extends AsfBaseDescriptor ``` Represents an ASF content descriptor object. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files ### AsfDescriptorType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfdescriptortype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AsfDescriptorType implements IEnumValue ``` Defines ASF descriptor types. #### Fields | Field | Description | | --- | --- | | Unicode | The unicode string type. | | ByteArray | The byte array type. | | Bool | The 32-bit bool type. | | DWord | The 32-bit unsigned integer type. | | QWord | The 64-bit unsigned integer type. | | Word | The 16-bit unsigned integer type. | | Guid | The 128-bit (16 byte) GUID type. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Unicode ``` public static final AsfDescriptorType Unicode ``` The unicode string type. ##### ByteArray ``` public static final AsfDescriptorType ByteArray ``` The byte array type. ##### Bool ``` public static final AsfDescriptorType Bool ``` The 32-bit bool type. ##### DWord ``` public static final AsfDescriptorType DWord ``` The 32-bit unsigned integer type. ##### QWord ``` public static final AsfDescriptorType QWord ``` The 64-bit unsigned integer type. ##### Word ``` public static final AsfDescriptorType Word ``` The 16-bit unsigned integer type. ##### Guid ``` public static final AsfDescriptorType Guid ``` The 128-bit (16 byte) GUID type. ##### getByRawValue(int rawValue) ``` public static AsfDescriptorType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfDescriptorType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AsfExtendedStreamPropertyFlags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfextendedstreampropertyflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AsfExtendedStreamPropertyFlags implements IEnumValue ``` Defines ASF extended stream property flags. #### Fields | Field | Description | | --- | --- | | Reliable | This digital media stream, if sent over a network, must be carried over a reliable data communications transport mechanism. | | Seekable | This flag should be set only if the stream is seekable. | | NoCleanpoints | The stream does not contain any cleanpoints. | | ResendLiveCleanpoints | A stream is joined in mid-transmission, all information from the most recent cleanpoint up to the current time should be sent before normal streaming begins at the current time. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Reliable ``` public static final AsfExtendedStreamPropertyFlags Reliable ``` This digital media stream, if sent over a network, must be carried over a reliable data communications transport mechanism. ##### Seekable ``` public static final AsfExtendedStreamPropertyFlags Seekable ``` This flag should be set only if the stream is seekable. ##### NoCleanpoints ``` public static final AsfExtendedStreamPropertyFlags NoCleanpoints ``` The stream does not contain any cleanpoints. ##### ResendLiveCleanpoints ``` public static final AsfExtendedStreamPropertyFlags ResendLiveCleanpoints ``` A stream is joined in mid-transmission, all information from the most recent cleanpoint up to the current time should be sent before normal streaming begins at the current time. ##### getByRawValue(int rawValue) ``` public static AsfExtendedStreamPropertyFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfExtendedStreamPropertyFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AsfFilePropertyFlags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asffilepropertyflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AsfFilePropertyFlags implements IEnumValue ``` Defines ASF file property flags. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined flag. | | Broadcast | Specifies, that a file is in the process of being created, and thus that various values stored in the header objects are invalid. | | Seekable | Specifies, that a file is seekable. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Undefined ``` public static final AsfFilePropertyFlags Undefined ``` The undefined flag. ##### Broadcast ``` public static final AsfFilePropertyFlags Broadcast ``` Specifies, that a file is in the process of being created, and thus that various values stored in the header objects are invalid. ##### Seekable ``` public static final AsfFilePropertyFlags Seekable ``` Specifies, that a file is seekable. ##### getByRawValue(int rawValue) ``` public static AsfFilePropertyFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfFilePropertyFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AsfMetadataDescriptor Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfmetadatadescriptor.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.AsfBaseDescriptor ``` public final class AsfMetadataDescriptor extends AsfBaseDescriptor ``` Represents an ASF metadata descriptor. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getLanguage() | Gets the language. | | getStreamNumber() | Gets the stream number. | | getOriginalName() | Gets the original name of the descriptor. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the language. **Returns:** java.lang.String - The language. ##### getStreamNumber() ``` public final int getStreamNumber() ``` Gets the stream number. **Returns:** int - The stream number. ##### getOriginalName() ``` public final String getOriginalName() ``` Gets the original name of the descriptor. **Returns:** java.lang.String - The original name of the descriptor. ### AsfMetadataDescriptorCollection Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfmetadatadescriptorcollection.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class AsfMetadataDescriptorCollection extends CustomPackage ``` Represents a collection of metadata descriptors. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files ### AsfPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class AsfPackage extends CustomPackage ``` Represents native metadata of the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getFileID() | Gets the unique identifier for this file. | | getCreationDate() | Gets the date and time of the initial creation of the file. | | getFlags() | Gets the header flags. | | getStreamProperties() | Gets the digital media stream properties. | | getMetadataDescriptors() | Gets the metadata descriptors. | | getCodecInformation() | Gets the codec info entries. | ##### getFileID() ``` public final UUID getFileID() ``` Gets the unique identifier for this file. **Returns:** java.util.UUID - The unique identifier for this file. ##### getCreationDate() ``` public final Date getCreationDate() ``` Gets the date and time of the initial creation of the file. **Returns:** java.util.Date - The date and time of the initial creation of the file. ##### getFlags() ``` public final AsfFilePropertyFlags getFlags() ``` Gets the header flags. **Returns:** AsfFilePropertyFlags - The header flags. ##### getStreamProperties() ``` public final AsfBaseStreamProperty[] getStreamProperties() ``` Gets the digital media stream properties. **Returns:** com.groupdocs.metadata.core.AsfBaseStreamProperty[] - The digital media stream properties. ##### getMetadataDescriptors() ``` public final AsfBaseDescriptor[] getMetadataDescriptors() ``` Gets the metadata descriptors. **Returns:** com.groupdocs.metadata.core.AsfBaseDescriptor[] - The metadata descriptors. ##### getCodecInformation() ``` public final AsfCodec[] getCodecInformation() ``` Gets the codec info entries. **Returns:** com.groupdocs.metadata.core.AsfCodec[] - The codec info entries. ### AsfRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class AsfRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an ASF video. This code sample demonstrates how to read native ASF metadata. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputAsf)) { > AsfRootPackage root = metadata.getRootPackageGeneric(); > AsfPackage asfPackage = root.getAsfPackage(); > // Display basic properties > System.out.println(String.format("Creation date: %s", asfPackage.getCreationDate())); > System.out.println(String.format("File id: %s", asfPackage.getFileID())); > System.out.println(String.format("Flags: %s", asfPackage.getFlags())); > // Display Asf Codec Information > for (AsfCodec codecInfo : asfPackage.getCodecInformation()) { > System.out.println(String.format("Codec type: %s", codecInfo.getCodecType())); > System.out.println(String.format("Description: %s", codecInfo.getDescription())); > System.out.println(String.format("Codec information: %s", codecInfo.getInformation())); > System.out.println(codecInfo.getName()); > } > // Display metadata descriptors > for (AsfBaseDescriptor descriptor : asfPackage.getMetadataDescriptors()) { > System.out.println(String.format("Name: %s", descriptor.getName())); > System.out.println(String.format("Value: %s", descriptor.getValue())); > System.out.println(String.format("Content type: %s", descriptor.getAsfContentType())); > if (descriptor instanceof AsfMetadataDescriptor) { > AsfMetadataDescriptor metadataDescriptor = (AsfMetadataDescriptor) descriptor; > System.out.println(String.format("Language: %s", metadataDescriptor.getLanguage())); > System.out.println(String.format("Stream number: %s", metadataDescriptor.getStreamNumber())); > System.out.println(String.format("Original name: %s", metadataDescriptor.getOriginalName())); > } > } > //Display the base stream properties > for (AsfBaseStreamProperty property : asfPackage.getStreamProperties()) { > System.out.println(String.format("Alternate bitrate: %s", property.getAlternateBitrate())); > System.out.println(String.format("Average bitrate: %s", property.getAverageBitrate())); > System.out.println(String.format("Average time per frame: %s", property.getAverageTimePerFrame())); > System.out.println(String.format("Bitrate: %s", property.getBitrate())); > System.out.println(String.format("Stream end time: %s", property.getEndTime())); > System.out.println(String.format("Stream flags: %s", property.getFlags())); > System.out.println(String.format("Stream language: %s", property.getLanguage())); > System.out.println(String.format("Stream start time: %s", property.getStartTime())); > System.out.println(String.format("Stream number: %s", property.getStreamNumber())); > System.out.println(String.format("Stream type: %s", property.getStreamType())); > //Display the audio stream properties > if (property instanceof AsfAudioStreamProperty) { > AsfAudioStreamProperty audioStreamProperty = (AsfAudioStreamProperty) property; > System.out.println(String.format("Audio bits per sample: %s", audioStreamProperty.getBitsPerSample())); > System.out.println(String.format("Audio channels: %s", audioStreamProperty.getChannels())); > System.out.println(String.format("Audio format tag: %s", audioStreamProperty.getFormatTag())); > System.out.println(String.format("Audio samples per second: %s", audioStreamProperty.getSamplesPerSecond())); > } > //Display the video stream properties > if (property instanceof AsfVideoStreamProperty) { > AsfVideoStreamProperty videoStreamProperty = (AsfVideoStreamProperty) property; > System.out.println(String.format("Video bits per pixels: %s", videoStreamProperty.getBitsPerPixels())); > System.out.println(String.format("Compression: %s", videoStreamProperty.getCompression())); > System.out.println(String.format("Image height: %s", videoStreamProperty.getImageHeight())); > System.out.println(String.format("Image width: %s", videoStreamProperty.getImageWidth())); > } > } > } > > ``` > ``` [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getAsfPackage() | Gets the ASF metadata package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | copyTo(MetadataPackage metadata) | | ##### getAsfPackage() ``` public final AsfPackage getAsfPackage() ``` Gets the ASF metadata package. **Returns:** AsfPackage - The ASF metadata package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### copyTo(MetadataPackage metadata) ``` public void copyTo(MetadataPackage metadata) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | | ### AsfStreamType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfstreamtype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum AsfStreamType extends Enum implements IEnumValue ``` Defines ASF stream types. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined stream type. | | Audio | ASF Audio Media. | | Video | ASF Video Media. | | Command | ASF Command Media. | | Jfif | ASF JFIF Media. | | DegradableJpeg | ASF Degradable JPEG Media. | | FileTransfer | ASF File Transfer Media. | | Binary | ASF Binary Media. | | WebStreamSubtype | ASF Web Stream Media Subtype. | | WebStreamFormat | ASF Web Stream Format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final AsfStreamType Undefined ``` Undefined stream type. ##### Audio ``` public static final AsfStreamType Audio ``` ASF Audio Media. ##### Video ``` public static final AsfStreamType Video ``` ASF Video Media. ##### Command ``` public static final AsfStreamType Command ``` ASF Command Media. ##### Jfif ``` public static final AsfStreamType Jfif ``` ASF JFIF Media. ##### DegradableJpeg ``` public static final AsfStreamType DegradableJpeg ``` ASF Degradable JPEG Media. ##### FileTransfer ``` public static final AsfStreamType FileTransfer ``` ASF File Transfer Media. ##### Binary ``` public static final AsfStreamType Binary ``` ASF Binary Media. ##### WebStreamSubtype ``` public static final AsfStreamType WebStreamSubtype ``` ASF Web Stream Media Subtype. ##### WebStreamFormat ``` public static final AsfStreamType WebStreamFormat ``` ASF Web Stream Format. ##### values() ``` public static AsfStreamType[] values() ``` **Returns:** com.groupdocs.metadata.core.AsfStreamType[] ##### valueOf(String name) ``` public static AsfStreamType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** AsfStreamType ##### getByRawValue(int rawValue) ``` public static AsfStreamType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfStreamType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### AsfVideoStreamProperty Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/asfvideostreamproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.AsfBaseStreamProperty ``` public class AsfVideoStreamProperty extends AsfBaseStreamProperty ``` Represents Video stream property metadata in the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getImageWidth() | Gets the width of the encoded image in pixels. | | getImageHeight() | Gets the height of the encoded image in pixels. | | getCompression() | Gets the video compression Id. | | getBitsPerPixels() | Gets the bits per pixels. | ##### getImageWidth() ``` public final long getImageWidth() ``` Gets the width of the encoded image in pixels. **Returns:** long - The width of the encoded image in pixels. ##### getImageHeight() ``` public final long getImageHeight() ``` Gets the height of the encoded image in pixels. **Returns:** long - The height of the encoded image in pixels. ##### getCompression() ``` public final long getCompression() ``` Gets the video compression Id. **Returns:** long - The video compression Id. ##### getBitsPerPixels() ``` public final long getBitsPerPixels() ``` Gets the bits per pixels. **Returns:** long - The bits per pixels. ### AviHeader Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/aviheader.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class AviHeader extends CustomPackage ``` Represents the AVIMAINHEADER structure in an AVI video. [Working with metadata in AVI files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+AVI+files #### Constructors | Constructor | Description | | --- | --- | | AviHeader() | Initializes a new instance of the AviHeader class. | #### Methods | Method | Description | | --- | --- | | getMicroSecPerFrame() | Gets the the number of microseconds between frames. | | getMaxBytesPerSec() | | | getPaddingGranularity() | Gets the alignment for data, in bytes. | | getAviHeaderFlags() | Gets a bitwise combination of zero or more of the AVI flags. | | getTotalFrames() | Gets the the total number of frames of data in the file. | | getInitialFrames() | | | getStreams() | Gets the number of streams in the file. | | getSuggestedBufferSize() | | | getWidth() | Gets the width of the AVI file in pixels. | | getHeight() | Gets the height of the AVI file in pixels. | ##### AviHeader() ``` public AviHeader() ``` Initializes a new instance of the AviHeader class. ##### getMicroSecPerFrame() ``` public final int getMicroSecPerFrame() ``` Gets the the number of microseconds between frames. This value indicates the overall timing for the file. **Returns:** int - The number of microseconds between frames. ##### getMaxBytesPerSec() ``` public final int getMaxBytesPerSec() ``` Gets the approximate maximum data rate of the file. This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks. **Returns:** int - The the approximate maximum data rate of the file. ##### getPaddingGranularity() ``` public final int getPaddingGranularity() ``` Gets the alignment for data, in bytes. Pad the data to multiples of this value. **Returns:** int - The the alignment for data. ##### getAviHeaderFlags() ``` public final AviHeaderFlags getAviHeaderFlags() ``` Gets a bitwise combination of zero or more of the AVI flags. **Returns:** AviHeaderFlags - The AVI flags. ##### getTotalFrames() ``` public final int getTotalFrames() ``` Gets the the total number of frames of data in the file. **Returns:** int - The total number of frames. ##### getInitialFrames() ``` public final int getInitialFrames() ``` Gets the initial frame for interleaved files. Noninterleaved files should specify zero. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this member. **Returns:** int - The initial frames. ##### getStreams() ``` public final int getStreams() ``` Gets the number of streams in the file. For example, a file with audio and video has two streams. **Returns:** int - The number of streams. ##### getSuggestedBufferSize() ``` public final int getSuggestedBufferSize() ``` Gets the suggested buffer size for reading the file. Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback, which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record, and not just a chunk. **Returns:** int - The suggested buffer size for reading the file. ##### getWidth() ``` public final int getWidth() ``` Gets the width of the AVI file in pixels. **Returns:** int - The width in pixels. ##### getHeight() ``` public final int getHeight() ``` Gets the height of the AVI file in pixels. **Returns:** int - The height in pixels. ### AviHeaderFlags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/aviheaderflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AviHeaderFlags implements IEnumValue ``` Represents AVI Header flags. #### Fields | Field | Description | | --- | --- | | HasIndex | Indicates the AVI file has an index. | | MustUseIndex | Indicates that application should use the index, rather than the physical ordering of the chunks in the file, to determine the order of presentation of the data. | | IsInterleaved | Indicates the AVI file is interleaved. | | TrustCkType | Use CKType to find key frames. | | WasCaptureFile | Indicates the AVI file is a specially allocated file used for capturing real-time video. | | Copyrighted | Indicates the AVI file contains copyrighted data and software. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### HasIndex ``` public static final AviHeaderFlags HasIndex ``` Indicates the AVI file has an index. ##### MustUseIndex ``` public static final AviHeaderFlags MustUseIndex ``` Indicates that application should use the index, rather than the physical ordering of the chunks in the file, to determine the order of presentation of the data. For example, this flag could be used to create a list of frames for editing. ##### IsInterleaved ``` public static final AviHeaderFlags IsInterleaved ``` Indicates the AVI file is interleaved. ##### TrustCkType ``` public static final AviHeaderFlags TrustCkType ``` Use CKType to find key frames. ##### WasCaptureFile ``` public static final AviHeaderFlags WasCaptureFile ``` Indicates the AVI file is a specially allocated file used for capturing real-time video. Applications should warn the user before writing over a file with this flag set because the user probably defragmented this file. ##### Copyrighted ``` public static final AviHeaderFlags Copyrighted ``` Indicates the AVI file contains copyrighted data and software. When this flag is used, software should not permit the data to be duplicated. ##### getByRawValue(int rawValue) ``` public static AviHeaderFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AviHeaderFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AviRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/avirootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class AviRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an AVI video. This code snippet shows how to read AVI header properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputAvi)) { > AviRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getHeader().getAviHeaderFlags()); > System.out.println(root.getHeader().getHeight()); > System.out.println(root.getHeader().getWidth()); > System.out.println(root.getHeader().getTotalFrames()); > System.out.println(root.getHeader().getInitialFrames()); > System.out.println(root.getHeader().getMaxBytesPerSec()); > System.out.println(root.getHeader().getPaddingGranularity()); > System.out.println(root.getHeader().getStreams()); > // ... > } > > ``` > ``` [Working with metadata in AVI files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+AVI+files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getHeader() | Gets the AVI header package. | | getRiffInfoPackage() | Gets the package containing RIFF Info tags. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getHeader() ``` public final AviHeader getHeader() ``` Gets the AVI header package. **Returns:** AviHeader - The AVI header package. ##### getRiffInfoPackage() ``` public final RiffInfoPackage getRiffInfoPackage() ``` Gets the package containing RIFF Info tags. **Returns:** RiffInfoPackage - The package containing RIFF Info tags. ### BmpHeaderPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/bmpheaderpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class BmpHeaderPackage extends CustomPackage ``` Represents BMP header info. [Working with BMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+BMP+metadata #### Methods | Method | Description | | --- | --- | | getHeaderSize() | Gets the size of the header in bytes. | | getBitsPerPixel() | Gets the bits per pixel value. | | getImageSize() | Gets the bitmap raw data size in bytes. | | getPlanes() | Gets the number of planes. | | getColorsImportant() | Gets the number of important palette colors. | ##### getHeaderSize() ``` public final long getHeaderSize() ``` Gets the size of the header in bytes. **Returns:** long - The size of the header in bytes. ##### getBitsPerPixel() ``` public final int getBitsPerPixel() ``` Gets the bits per pixel value. **Returns:** int - The bits per pixel value. ##### getImageSize() ``` public final long getImageSize() ``` Gets the bitmap raw data size in bytes. **Returns:** long - The bitmap raw data size in bytes. ##### getPlanes() ``` public final int getPlanes() ``` Gets the number of planes. **Returns:** int - The number of planes. ##### getColorsImportant() ``` public final long getColorsImportant() ``` Gets the number of important palette colors. **Returns:** long - The number of important palette colors. ### BmpRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/bmprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class BmpRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a BMP image. This code sample shows how to read the header of a BMP file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputBmp)) { > BmpRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getBmpHeader().getBitsPerPixel()); > System.out.println(root.getBmpHeader().getColorsImportant()); > System.out.println(root.getBmpHeader().getHeaderSize()); > System.out.println(root.getBmpHeader().getImageSize()); > System.out.println(root.getBmpHeader().getPlanes()); > } > > ``` > ``` [Working with BMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+BMP+metadata #### Methods | Method | Description | | --- | --- | | getBmpHeader() | Gets the BMP header metadata package. | ##### getBmpHeader() ``` public final BmpHeaderPackage getBmpHeader() ``` Gets the BMP header metadata package. **Returns:** BmpHeaderPackage - The BMP header metadata package. ### ByteOrder Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/byteorder.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ByteOrder extends Enum implements IEnumValue ``` Defines various byte orders. #### Fields | Field | Description | | --- | --- | | Unknown | The byte order is unknown. | | BigEndian | Big endian. | | LittleEndian | Little endian. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final ByteOrder Unknown ``` The byte order is unknown. ##### BigEndian ``` public static final ByteOrder BigEndian ``` Big endian. ##### LittleEndian ``` public static final ByteOrder LittleEndian ``` Little endian. ##### values() ``` public static ByteOrder[] values() ``` **Returns:** com.groupdocs.metadata.core.ByteOrder[] ##### valueOf(String name) ``` public static ByteOrder valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ByteOrder ##### getByRawValue(int rawValue) ``` public static ByteOrder getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ByteOrder ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### CadAcadVersion Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cadacadversion.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum CadAcadVersion extends Enum implements IEnumValue ``` Defines AutoCAD drawing database version numbers. #### Fields | Field | Description | | --- | --- | | None | Non-versioned. | | Ac1006 | AutoCAD drawing database R10. | | Ac1009 | AutoCAD drawing database R11 and R12. | | Ac1012 | AutoCAD drawing database R13. | | Ac1014 | AutoCAD drawing database R14. | | Ac1015 | AutoCAD drawing database AutoCAD 2000. | | Ac1018 | AutoCAD drawing database AutoCAD 2004. | | Ac1021 | AutoCAD drawing database AutoCAD 2007. | | Ac1024 | AutoCAD drawing database AutoCAD 2010. | | Ac1027 | AutoCAD drawing database AutoCAD 2013. | | Ac1032 | AutoCAD drawing database AutoCAD 2018. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### None ``` public static final CadAcadVersion None ``` Non-versioned. ##### Ac1006 ``` public static final CadAcadVersion Ac1006 ``` AutoCAD drawing database R10. ##### Ac1009 ``` public static final CadAcadVersion Ac1009 ``` AutoCAD drawing database R11 and R12. ##### Ac1012 ``` public static final CadAcadVersion Ac1012 ``` AutoCAD drawing database R13. ##### Ac1014 ``` public static final CadAcadVersion Ac1014 ``` AutoCAD drawing database R14. ##### Ac1015 ``` public static final CadAcadVersion Ac1015 ``` AutoCAD drawing database AutoCAD 2000. ##### Ac1018 ``` public static final CadAcadVersion Ac1018 ``` AutoCAD drawing database AutoCAD 2004. ##### Ac1021 ``` public static final CadAcadVersion Ac1021 ``` AutoCAD drawing database AutoCAD 2007. ##### Ac1024 ``` public static final CadAcadVersion Ac1024 ``` AutoCAD drawing database AutoCAD 2010. ##### Ac1027 ``` public static final CadAcadVersion Ac1027 ``` AutoCAD drawing database AutoCAD 2013. ##### Ac1032 ``` public static final CadAcadVersion Ac1032 ``` AutoCAD drawing database AutoCAD 2018. ##### values() ``` public static CadAcadVersion[] values() ``` **Returns:** com.groupdocs.metadata.core.CadAcadVersion[] ##### valueOf(String name) ``` public static CadAcadVersion valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** CadAcadVersion ##### getByRawValue(int rawValue) ``` public static CadAcadVersion getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** CadAcadVersion ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### CadCustomPropertyPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cadcustompropertypackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CadCustomPropertyPackage extends CustomPackage ``` Represents a collection of custom CAD metadata properties. ### CadPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cadpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class CadPackage extends CustomPackage ``` Represents CAD (Computer-aided design) metadata. [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata #### Methods | Method | Description | | --- | --- | | getAcadVersion() | Gets the AutoCAD drawing database version number. | | getHeight() | Gets the drawing height. | | getWidth() | Gets the drawing width. | | getAuthor() | Gets the drawing author. | | getComments() | Gets the user comments. | | getHyperlinkBase() | Gets the hyperlink base. | | getKeywords() | Gets the keywords. | | getLastSavedBy() | Gets the name of the last editor. | | getRevisionNumber() | Gets the revision number. | | getSubject() | Gets the subject. | | getTitle() | Gets the title. | | getCreatedDateTime() | Gets the date and time when the drawing was created. | | getModifiedDateTime() | Gets the date and time when the drawing was modified. | | getCustomProperties() | Gets the package containing custom metadata properties. | ##### getAcadVersion() ``` public final CadAcadVersion getAcadVersion() ``` Gets the AutoCAD drawing database version number. **Returns:** CadAcadVersion - The AutoCAD drawing database version number. ##### getHeight() ``` public final int getHeight() ``` Gets the drawing height. **Returns:** int - The drawing height. ##### getWidth() ``` public final int getWidth() ``` Gets the drawing width. **Returns:** int - The drawing width. ##### getAuthor() ``` public final String getAuthor() ``` Gets the drawing author. **Returns:** java.lang.String - The drawing author. ##### getComments() ``` public final String getComments() ``` Gets the user comments. **Returns:** java.lang.String - The user comments. ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last editor. **Returns:** java.lang.String - The name of the last editor. ##### getRevisionNumber() ``` public final String getRevisionNumber() ``` Gets the revision number. **Returns:** java.lang.String - The revision number. ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### getCreatedDateTime() ``` public final Date getCreatedDateTime() ``` Gets the date and time when the drawing was created. **Returns:** java.util.Date - The date and time when the drawing was created. ##### getModifiedDateTime() ``` public final Date getModifiedDateTime() ``` Gets the date and time when the drawing was modified. **Returns:** java.util.Date - The date and time when the drawing was modified. ##### getCustomProperties() ``` public final CadCustomPropertyPackage getCustomProperties() ``` Gets the package containing custom metadata properties. **Returns:** CadCustomPropertyPackage - The package containing custom metadata properties. ### CadRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cadrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class CadRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a CAD drawing. This code sample shows how to read metadata of a CAD drawing. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDxf)) { > CadRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getCadPackage().getAcadVersion()); > System.out.println(root.getCadPackage().getAuthor()); > System.out.println(root.getCadPackage().getComments()); > System.out.println(root.getCadPackage().getCreatedDateTime()); > System.out.println(root.getCadPackage().getHyperlinkBase()); > System.out.println(root.getCadPackage().getKeywords()); > System.out.println(root.getCadPackage().getLastSavedBy()); > System.out.println(root.getCadPackage().getTitle()); > // ... > } > > ``` > ``` [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata #### Methods | Method | Description | | --- | --- | | getCadPackage() | Gets the CAD metadata package. | ##### getCadPackage() ``` public final CadPackage getCadPackage() ``` Gets the CAD metadata package. **Returns:** CadPackage - The CAD metadata package. ### CanonCameraSettingsPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/canoncamerasettingspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class CanonCameraSettingsPackage extends CustomPackage ``` Represents CANON camera settings. #### Methods | Method | Description | | --- | --- | | getMacroMode() | Gets the macro mode. | | getSelfTimer() | Gets the self timer. | | getQuality() | Gets the quality. | | getCanonFlashMode() | Gets the canon flash mode. | | getContinuousDrive() | Gets the continuous drive. | | getFocusMode() | Gets the focus mode. | | getRecordMode() | Gets the record mode. | | getCanonImageSize() | Gets the size of the canon image. | | getEasyMode() | Gets the easy mode. | | getDigitalZoom() | Gets the digital zoom. | | getContrast() | Gets the contrast. | | getSaturation() | Gets the saturation. | | getSharpness() | Gets the sharpness. | | getCameraIso() | Gets the camera iso. | | getMeteringMode() | Gets the metering mode. | | getFocusRange() | Gets the focus range. | | getAFPoint() | Gets the AFPoint. | | getCanonExposureMode() | Gets the canon exposure mode. | | getLensType() | Gets the type of the lens. | | getMaxFocalLength() | Gets the maximum length of the focal. | | getMinFocalLength() | Gets the minimum length of the focal. | | getImageStabilization() | Gets the image stabilization. | ##### getMacroMode() ``` public final short getMacroMode() ``` Gets the macro mode. **Returns:** short - The macro mode. ##### getSelfTimer() ``` public final short getSelfTimer() ``` Gets the self timer. **Returns:** short - The self timer. ##### getQuality() ``` public final short getQuality() ``` Gets the quality. **Returns:** short - The quality. ##### getCanonFlashMode() ``` public final short getCanonFlashMode() ``` Gets the canon flash mode. **Returns:** short - The canon flash mode. ##### getContinuousDrive() ``` public final short getContinuousDrive() ``` Gets the continuous drive. **Returns:** short - The continuous drive. ##### getFocusMode() ``` public final short getFocusMode() ``` Gets the focus mode. **Returns:** short - The focus mode. ##### getRecordMode() ``` public final short getRecordMode() ``` Gets the record mode. **Returns:** short - The record mode. ##### getCanonImageSize() ``` public final short getCanonImageSize() ``` Gets the size of the canon image. **Returns:** short - The size of the canon image. ##### getEasyMode() ``` public final short getEasyMode() ``` Gets the easy mode. **Returns:** short - The easy mode. ##### getDigitalZoom() ``` public final short getDigitalZoom() ``` Gets the digital zoom. **Returns:** short - The digital zoom. ##### getContrast() ``` public final short getContrast() ``` Gets the contrast. **Returns:** short - The contrast. ##### getSaturation() ``` public final short getSaturation() ``` Gets the saturation. **Returns:** short - The saturation. ##### getSharpness() ``` public final short getSharpness() ``` Gets the sharpness. **Returns:** short - The sharpness. ##### getCameraIso() ``` public final short getCameraIso() ``` Gets the camera iso. **Returns:** short - The camera iso. ##### getMeteringMode() ``` public final short getMeteringMode() ``` Gets the metering mode. **Returns:** short - The metering mode. ##### getFocusRange() ``` public final short getFocusRange() ``` Gets the focus range. **Returns:** short - The focus range. ##### getAFPoint() ``` public final short getAFPoint() ``` Gets the AFPoint. **Returns:** short - The AFPoint. ##### getCanonExposureMode() ``` public final short getCanonExposureMode() ``` Gets the canon exposure mode. **Returns:** short - The canon exposure mode. ##### getLensType() ``` public final int getLensType() ``` Gets the type of the lens. **Returns:** int - The type of the lens. ##### getMaxFocalLength() ``` public final int getMaxFocalLength() ``` Gets the maximum length of the focal. **Returns:** int - The maximum length of the focal. ##### getMinFocalLength() ``` public final int getMinFocalLength() ``` Gets the minimum length of the focal. **Returns:** int - The minimum length of the focal. ##### getImageStabilization() ``` public final short getImageStabilization() ``` Gets the image stabilization. **Returns:** short - The image stabilization. ### CanonMakerNotePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/canonmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public final class CanonMakerNotePackage extends MakerNotePackage ``` Represents CANON MakerNote metadata. #### Methods | Method | Description | | --- | --- | | getCameraSettings() | Gets the camera settings. | | getCanonImageType() | Gets the Canon image type. | | getCanonFirmwareVersion() | Gets the canon firmware version. | | getFileNumber() | Gets the file number. | | getOwnerName() | Gets the name of the owner. | | getSerialNumber() | Gets the serial number. | | getCanonFileLength() | Gets the length of the canon file. | | getCanonModelID() | Gets the canon model identifier. | ##### getCameraSettings() ``` public final CanonCameraSettingsPackage getCameraSettings() ``` Gets the camera settings. **Returns:** CanonCameraSettingsPackage - The camera settings. ##### getCanonImageType() ``` public final String getCanonImageType() ``` Gets the Canon image type. **Returns:** java.lang.String - The Canon type of the image. ##### getCanonFirmwareVersion() ``` public final String getCanonFirmwareVersion() ``` Gets the canon firmware version. **Returns:** java.lang.String - The canon firmware version. ##### getFileNumber() ``` public final Long getFileNumber() ``` Gets the file number. **Returns:** java.lang.Long - The file number. ##### getOwnerName() ``` public final String getOwnerName() ``` Gets the name of the owner. **Returns:** java.lang.String - The name of the owner. ##### getSerialNumber() ``` public final Long getSerialNumber() ``` Gets the serial number. **Returns:** java.lang.Long - The serial number. ##### getCanonFileLength() ``` public final Long getCanonFileLength() ``` Gets the length of the canon file. **Returns:** java.lang.Long - The length of the canon file. ##### getCanonModelID() ``` public final Long getCanonModelID() ``` Gets the canon model identifier. **Returns:** java.lang.Long - The canon model identifier. ### Cms Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cms.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DigitalSignature ``` public class Cms extends DigitalSignature ``` Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. CMS is based on the syntax of PKCS \#7, specified in RFC 5652. Please see https://tools.ietf.org/html/rfc5652 for more information. #### Methods | Method | Description | | --- | --- | | getDigestAlgorithms() | Gets the array of message-digest algorithm identifiers. | | getEncapsulatedContent() | Gets the signed content, consisting of a content type identifier and the content itself. | | getCertificates() | Gets the collection of certificates. | | getSigners() | Gets the collection of per-signer information packages. | | getSignTime() | Gets the time at which the signer (purportedly) performed the signing process. | ##### getDigestAlgorithms() ``` public final Oid[] getDigestAlgorithms() ``` Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero. **Returns:** com.groupdocs.metadata.core.Oid[] - The array of message-digest algorithm identifiers. ##### getEncapsulatedContent() ``` public final CmsEncapsulatedContent getEncapsulatedContent() ``` Gets the signed content, consisting of a content type identifier and the content itself. **Returns:** CmsEncapsulatedContent - The signed content, consisting of a content type identifier and the content itself. ##### getCertificates() ``` public final CmsCertificate[] getCertificates() ``` Gets the collection of certificates. **Returns:** com.groupdocs.metadata.core.CmsCertificate[] - The collection of certificates. It is intended that the set of certificates be sufficient to contain certification paths from a recognized "root" or "top-level certification authority" to all of the signers in the SignerInfo field. ##### getSigners() ``` public final CmsSigner[] getSigners() ``` Gets the collection of per-signer information packages. **Returns:** com.groupdocs.metadata.core.CmsSigner[] - The collection of per-signer information packages. There may be any number of elements in the collection, including zero. ##### getSignTime() ``` public Date getSignTime() ``` Gets the time at which the signer (purportedly) performed the signing process. **Returns:** java.util.Date - The time at which the signer (purportedly) performed the signing process. ### CmsAttribute Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cmsattribute.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsAttribute extends CustomPackage ``` Represents a CMS signer info attribute. #### Methods | Method | Description | | --- | --- | | getOid() | Gets the attribute OID. | | getValue() | Gets the attribute value represented as a string. | ##### getOid() ``` public final Oid getOid() ``` Gets the attribute OID. **Returns:** Oid - The attribute OID. ##### getValue() ``` public final String getValue() ``` Gets the attribute value represented as a string. **Returns:** java.lang.String - The attribute value represented as a string. ### CmsCertificate Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cmscertificate.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsCertificate extends CustomPackage ``` Represents a CMS certificate. #### Methods | Method | Description | | --- | --- | | getNotAfter() | Gets the date in local time after which a certificate is no longer valid. | | getNotBefore() | Gets the date in local time on which a certificate becomes valid. | | getRawData() | Gets the raw data of this certificate. | ##### getNotAfter() ``` public final Date getNotAfter() ``` Gets the date in local time after which a certificate is no longer valid. **Returns:** java.util.Date - The date in local time after which a certificate is no longer valid. ##### getNotBefore() ``` public final Date getNotBefore() ``` Gets the date in local time on which a certificate becomes valid. **Returns:** java.util.Date - The date in local time on which a certificate becomes valid. ##### getRawData() ``` public final byte[] getRawData() ``` Gets the raw data of this certificate. **Returns:** byte[] - The raw data of this certificate. ### CmsEncapsulatedContent Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cmsencapsulatedcontent.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsEncapsulatedContent extends CustomPackage ``` Represents a signed content container, consisting of a content type identifier and the content itself. #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the object identifier uniquely specifies the content type. | | getContentRawData() | Gets the raw data of content info. | ##### getContentType() ``` public final Oid getContentType() ``` Gets the object identifier uniquely specifies the content type. **Returns:** Oid - The object identifier uniquely specifies the content type. ##### getContentRawData() ``` public final byte[] getContentRawData() ``` Gets the raw data of content info. **Returns:** byte[] - The raw data of content info. ### CmsPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cmspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class CmsPackage extends CustomPackage ``` Represents a CMS digital signature metadata package. #### Methods | Method | Description | | --- | --- | | getSignatures() | Gets an array of the signatures extracted from the file. | | getFlags() | Gets the digital signature flags. | ##### getSignatures() ``` public final Cms[] getSignatures() ``` Gets an array of the signatures extracted from the file. **Returns:** com.groupdocs.metadata.core.Cms[] - An array of the signatures extracted from the file. ##### getFlags() ``` public final Integer getFlags() ``` Gets the digital signature flags. **Returns:** java.lang.Integer - The digital signature flags. ### CmsSigner Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cmssigner.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsSigner extends CustomPackage ``` Represents CMS per-signer information. #### Methods | Method | Description | | --- | --- | | getSignerIdentifier() | Gets the signer's certificate (and thereby the signer's public key) raw data. | | getDigestAlgorithm() | Gets the message digest algorithm, and any associated parameters, used by the signer. | | getSignedAttributes() | Gets the collection of attributes that are signed. | | getSignatureAlgorithm() | Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. | | getSignatureValue() | Gets the result of digital signature generation, using the message digest and the signer's private key. | | getUnsignedAttributes() | Gets the collection of attributes that are not signed. | | getSigningTime() | Gets the time at which the signer (purportedly) performed the signing process. | ##### getSignerIdentifier() ``` public final byte[] getSignerIdentifier() ``` Gets the signer's certificate (and thereby the signer's public key) raw data. **Returns:** byte[] - The signer's certificate (and thereby the signer's public key) raw data. ##### getDigestAlgorithm() ``` public final Oid getDigestAlgorithm() ``` Gets the message digest algorithm, and any associated parameters, used by the signer. **Returns:** Oid - The message digest algorithm, and any associated parameters, used by the signer. ##### getSignedAttributes() ``` public final CmsAttribute[] getSignedAttributes() ``` Gets the collection of attributes that are signed. **Returns:** com.groupdocs.metadata.core.CmsAttribute[] - The collection of attributes that are signed. ##### getSignatureAlgorithm() ``` public final Oid getSignatureAlgorithm() ``` Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. **Returns:** Oid - The signature algorithm, and any associated parameters, used by the signer to generate the digital signature. ##### getSignatureValue() ``` public final String getSignatureValue() ``` Gets the result of digital signature generation, using the message digest and the signer's private key. **Returns:** java.lang.String - The result of digital signature generation, using the message digest and the signer's private key. ##### getUnsignedAttributes() ``` public final CmsAttribute[] getUnsignedAttributes() ``` Gets the collection of attributes that are not signed. **Returns:** com.groupdocs.metadata.core.CmsAttribute[] - The collection of attributes that are not signed. ##### getSigningTime() ``` public final Date getSigningTime() ``` Gets the time at which the signer (purportedly) performed the signing process. **Returns:** java.util.Date - The time at which the signer (purportedly) performed the signing process. ### Cr2AFConfigPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2afconfigpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFConfigPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFConfigPackage() | Initializes a new instance of the Cr2AFConfigPackage class. | #### Methods | Method | Description | | --- | --- | | getAFConfigTool() | Gets the AFConfigTool. | | getAFTrackingSensitivity() | Gets the AFTrackingSensitivity. | | getAFAccelDecelTracking() | Gets the AFAccelDecelTracking. | | getAFPointSwitching() | Gets the AFPointSwitching. | | getAIServoFirstImage() | Gets the AIServoFirstImage. | | getAIServoSecondImage() | Gets the AIServoSecondImage. | | getUSMLensElectronicMF() | Gets the USMLensElectronicMF. | | getAFAssistBeam() | Gets the AFAssistBeam. | | getOneShotAFRelease() | Gets the OneShotAFRelease. | | getAutoAFPointSelEOSiTRAF() | Gets the AutoAFPointSelEOSiTRAF. | | getLensDriveWhenAFImpossible() | Gets the LensDriveWhenAFImpossible. | | getSelectAFAreaSelectionMode() | Gets the SelectAFAreaSelectionMode. | | getAFAreaSelectionMethod() | Gets the AFAreaSelectionMethod. | | getOrientationLinkedAF() | Gets the OrientationLinkedAF. | | getManualAFPointSelPattern() | Gets the ManualAFPointSelPattern. | | getAFPointDisplayDuringFocus() | Gets the AFPointDisplayDuringFocus. | | getVFDisplayIllumination() | Gets the VFDisplayIllumination. | | getAFStatusViewfinder() | Gets the AFStatusViewfinder. | | getInitialAFPointInServo() | Gets the InitialAFPointInServo. | ##### Cr2AFConfigPackage() ``` public Cr2AFConfigPackage() ``` Initializes a new instance of the Cr2AFConfigPackage class. ##### getAFConfigTool() ``` public final int getAFConfigTool() ``` Gets the AFConfigTool. **Returns:** int - The AFConfigTool. ##### getAFTrackingSensitivity() ``` public final int getAFTrackingSensitivity() ``` Gets the AFTrackingSensitivity. **Returns:** int - The AFTrackingSensitivity. ##### getAFAccelDecelTracking() ``` public final int getAFAccelDecelTracking() ``` Gets the AFAccelDecelTracking. **Returns:** int - The AFAccelDecelTracking. ##### getAFPointSwitching() ``` public final int getAFPointSwitching() ``` Gets the AFPointSwitching. **Returns:** int - The AFPointSwitching. ##### getAIServoFirstImage() ``` public final int getAIServoFirstImage() ``` Gets the AIServoFirstImage. **Returns:** int - The AIServoFirstImage. ##### getAIServoSecondImage() ``` public final int getAIServoSecondImage() ``` Gets the AIServoSecondImage. **Returns:** int - The AIServoSecondImage. ##### getUSMLensElectronicMF() ``` public final int getUSMLensElectronicMF() ``` Gets the USMLensElectronicMF. **Returns:** int - The USMLensElectronicMF. ##### getAFAssistBeam() ``` public final int getAFAssistBeam() ``` Gets the AFAssistBeam. **Returns:** int - The AFAssistBeam. ##### getOneShotAFRelease() ``` public final int getOneShotAFRelease() ``` Gets the OneShotAFRelease. **Returns:** int - The OneShotAFRelease. ##### getAutoAFPointSelEOSiTRAF() ``` public final int getAutoAFPointSelEOSiTRAF() ``` Gets the AutoAFPointSelEOSiTRAF. **Returns:** int - The AutoAFPointSelEOSiTRAF. ##### getLensDriveWhenAFImpossible() ``` public final int getLensDriveWhenAFImpossible() ``` Gets the LensDriveWhenAFImpossible. **Returns:** int - The LensDriveWhenAFImpossible. ##### getSelectAFAreaSelectionMode() ``` public final int getSelectAFAreaSelectionMode() ``` Gets the SelectAFAreaSelectionMode. **Returns:** int - The SelectAFAreaSelectionMode. ##### getAFAreaSelectionMethod() ``` public final int getAFAreaSelectionMethod() ``` Gets the AFAreaSelectionMethod. **Returns:** int - The AFAreaSelectionMethod. ##### getOrientationLinkedAF() ``` public final int getOrientationLinkedAF() ``` Gets the OrientationLinkedAF. **Returns:** int - The OrientationLinkedAF. ##### getManualAFPointSelPattern() ``` public final int getManualAFPointSelPattern() ``` Gets the ManualAFPointSelPattern. **Returns:** int - The ManualAFPointSelPattern. ##### getAFPointDisplayDuringFocus() ``` public final int getAFPointDisplayDuringFocus() ``` Gets the AFPointDisplayDuringFocus. **Returns:** int - The AFPointDisplayDuringFocus. ##### getVFDisplayIllumination() ``` public final int getVFDisplayIllumination() ``` Gets the VFDisplayIllumination. **Returns:** int - The VFDisplayIllumination. ##### getAFStatusViewfinder() ``` public final int getAFStatusViewfinder() ``` Gets the AFStatusViewfinder. **Returns:** int - The AFStatusViewfinder. ##### getInitialAFPointInServo() ``` public final int getInitialAFPointInServo() ``` Gets the InitialAFPointInServo. **Returns:** int - The InitialAFPointInServo. ### Cr2AFInfo2Package Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2afinfo2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFInfo2Package extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFInfo2Package() | Initializes a new instance of the Cr2AFInfo2Package class. | #### Methods | Method | Description | | --- | --- | | getAFInfoSize() | Gets the AFInfoSize. | | getAFAreaMode() | Gets the AFAreaMode. | | getNumAFPoints() | Gets the NumAFPoints. | | getValidAFPoints() | Gets the ValidAFPoints. | | getCanonImageWidth() | Gets the CanonImageWidth. | | getCanonImageHeight() | Gets the CanonImageHeight. | | getAFImageWidth() | Gets the AFImageWidth. | | getAFImageHeight() | Gets the AFImageHeight. | | getAFAreaWidths() | Gets the AFAreaWidths. | | getAFAreaHeights() | Gets the AFAreaHeights. | | getAFAreaXPositions() | Gets the AFAreaXPositions. | | getAFAreaYPositions() | Gets the AFAreaYPositions. | | getAFPointsInFocus() | Gets the AFPointsInFocus. | | getAFPointsSelected() | Gets the AFPointsSelected. | | getPrimaryAFPoint() | Gets the PrimaryAFPoint. | ##### Cr2AFInfo2Package() ``` public Cr2AFInfo2Package() ``` Initializes a new instance of the Cr2AFInfo2Package class. ##### getAFInfoSize() ``` public final int getAFInfoSize() ``` Gets the AFInfoSize. **Returns:** int - The AFInfoSize. ##### getAFAreaMode() ``` public final int getAFAreaMode() ``` Gets the AFAreaMode. **Returns:** int - The AFAreaMode. ##### getNumAFPoints() ``` public final int getNumAFPoints() ``` Gets the NumAFPoints. **Returns:** int - The NumAFPoints. ##### getValidAFPoints() ``` public final int getValidAFPoints() ``` Gets the ValidAFPoints. **Returns:** int - The ValidAFPoints. ##### getCanonImageWidth() ``` public final int getCanonImageWidth() ``` Gets the CanonImageWidth. **Returns:** int - The CanonImageWidth. ##### getCanonImageHeight() ``` public final int getCanonImageHeight() ``` Gets the CanonImageHeight. **Returns:** int - The CanonImageHeight. ##### getAFImageWidth() ``` public final int getAFImageWidth() ``` Gets the AFImageWidth. **Returns:** int - The AFImageWidth. ##### getAFImageHeight() ``` public final int getAFImageHeight() ``` Gets the AFImageHeight. **Returns:** int - The AFImageHeight. ##### getAFAreaWidths() ``` public final int getAFAreaWidths() ``` Gets the AFAreaWidths. **Returns:** int - The AFAreaWidths. ##### getAFAreaHeights() ``` public final int getAFAreaHeights() ``` Gets the AFAreaHeights. **Returns:** int - The AFAreaHeights. ##### getAFAreaXPositions() ``` public final int getAFAreaXPositions() ``` Gets the AFAreaXPositions. **Returns:** int - The AFAreaXPositions. ##### getAFAreaYPositions() ``` public final int getAFAreaYPositions() ``` Gets the AFAreaYPositions. **Returns:** int - The AFAreaYPositions. ##### getAFPointsInFocus() ``` public final int getAFPointsInFocus() ``` Gets the AFPointsInFocus. **Returns:** int - The AFPointsInFocus. ##### getAFPointsSelected() ``` public final int getAFPointsSelected() ``` Gets the AFPointsSelected. **Returns:** int - The AFPointsSelected. ##### getPrimaryAFPoint() ``` public final int getPrimaryAFPoint() ``` Gets the PrimaryAFPoint. **Returns:** int - The PrimaryAFPoint. ### Cr2AFInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2afinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFInfoPackage() | Initializes a new instance of the Cr2AFInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getNumAFPoints() | Gets the NumAFPoints. | | getValidAFPoints() | Gets the ValidAFPoints. | | getCanonImageWidth() | Gets the CanonImageWidth. | | getCanonImageHeight() | Gets the CanonImageHeight. | | getAFImageWidth() | Gets the AFImageWidth. | | getAFImageHeight() | Gets the AFImageHeight. | | getAFAreaWidth() | Gets the AFAreaWidth. | | getAFAreaHeight() | Gets the AFAreaHeight. | | getAFAreaXPositions() | Gets the AFAreaXPositions. | | getAFAreaYPositions() | Gets the AFAreaYPositions. | | getAFPointsInFocus() | Gets the AFPointsInFocus. | | getPrimaryAFPointAFInfo() | Gets the PrimaryAFPointAFInfo. | | getPrimaryAFPoint() | Gets the PrimaryAFPoint. | ##### Cr2AFInfoPackage() ``` public Cr2AFInfoPackage() ``` Initializes a new instance of the Cr2AFInfoPackage class. ##### getNumAFPoints() ``` public final int getNumAFPoints() ``` Gets the NumAFPoints. **Returns:** int - The NumAFPoints. ##### getValidAFPoints() ``` public final int getValidAFPoints() ``` Gets the ValidAFPoints. **Returns:** int - The ValidAFPoints. ##### getCanonImageWidth() ``` public final int getCanonImageWidth() ``` Gets the CanonImageWidth. **Returns:** int - The CanonImageWidth. ##### getCanonImageHeight() ``` public final int getCanonImageHeight() ``` Gets the CanonImageHeight. **Returns:** int - The CanonImageHeight. ##### getAFImageWidth() ``` public final int getAFImageWidth() ``` Gets the AFImageWidth. **Returns:** int - The AFImageWidth. ##### getAFImageHeight() ``` public final int getAFImageHeight() ``` Gets the AFImageHeight. **Returns:** int - The AFImageHeight. ##### getAFAreaWidth() ``` public final int getAFAreaWidth() ``` Gets the AFAreaWidth. **Returns:** int - The AFAreaWidth. ##### getAFAreaHeight() ``` public final int getAFAreaHeight() ``` Gets the AFAreaHeight. **Returns:** int - The AFAreaHeight. ##### getAFAreaXPositions() ``` public final int getAFAreaXPositions() ``` Gets the AFAreaXPositions. **Returns:** int - The AFAreaXPositions. ##### getAFAreaYPositions() ``` public final int getAFAreaYPositions() ``` Gets the AFAreaYPositions. **Returns:** int - The AFAreaYPositions. ##### getAFPointsInFocus() ``` public final int getAFPointsInFocus() ``` Gets the AFPointsInFocus. **Returns:** int - The AFPointsInFocus. ##### getPrimaryAFPointAFInfo() ``` public final int getPrimaryAFPointAFInfo() ``` Gets the PrimaryAFPointAFInfo. **Returns:** int - The PrimaryAFPointAFInfo. ##### getPrimaryAFPoint() ``` public final int getPrimaryAFPoint() ``` Gets the PrimaryAFPoint. **Returns:** int - The PrimaryAFPoint. ### Cr2AFMicroAdjPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2afmicroadjpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFMicroAdjPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFMicroAdjPackage() | Initializes a new instance of the Cr2AFMicroAdjPackage class. | #### Methods | Method | Description | | --- | --- | | getAFMicroAdjMode() | Gets the AFMicroAdjMode. | | getAFMicroAdjValue() | Gets the AFMicroAdjValue. | ##### Cr2AFMicroAdjPackage() ``` public Cr2AFMicroAdjPackage() ``` Initializes a new instance of the Cr2AFMicroAdjPackage class. ##### getAFMicroAdjMode() ``` public final int getAFMicroAdjMode() ``` Gets the AFMicroAdjMode. **Returns:** int - The AFMicroAdjMode. ##### getAFMicroAdjValue() ``` public final float getAFMicroAdjValue() ``` Gets the AFMicroAdjValue. **Returns:** float - The AFMicroAdjValue. ### Cr2AspectInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2aspectinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AspectInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AspectInfoPackage() | Initializes a new instance of the Cr2AspectInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getAspectRatio() | Gets the AspectRatio. | | getCroppedImageWidth() | Gets the CroppedImageWidth. | | getCroppedImageHeight() | Gets the CroppedImageHeight. | | getCroppedImageLeft() | Gets the CroppedImageLeft. | | getCroppedImageTop() | Gets the CroppedImageTop. | ##### Cr2AspectInfoPackage() ``` public Cr2AspectInfoPackage() ``` Initializes a new instance of the Cr2AspectInfoPackage class. ##### getAspectRatio() ``` public final int getAspectRatio() ``` Gets the AspectRatio. **Returns:** int - The AspectRatio. ##### getCroppedImageWidth() ``` public final int getCroppedImageWidth() ``` Gets the CroppedImageWidth. **Returns:** int - The CroppedImageWidth. ##### getCroppedImageHeight() ``` public final int getCroppedImageHeight() ``` Gets the CroppedImageHeight. **Returns:** int - The CroppedImageHeight. ##### getCroppedImageLeft() ``` public final int getCroppedImageLeft() ``` Gets the CroppedImageLeft. **Returns:** int - The CroppedImageLeft. ##### getCroppedImageTop() ``` public final int getCroppedImageTop() ``` Gets the CroppedImageTop. **Returns:** int - The CroppedImageTop. ### Cr2CameraSettingsPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2camerasettingspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2CameraSettingsPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2CameraSettingsPackage() | Initializes a new instance of the Cr2CameraSettingsPackage class. | #### Methods | Method | Description | | --- | --- | | getMacroMode() | Gets the MacroMode. | | getSelfTimer() | Gets the SelfTimer. | | getQuality() | Gets the Quality. | | getCanonFlashMode() | Gets the CanonFlashMode. | | getContinuousDrive() | Gets the ContinuousDrive. | | getFocusMode() | Gets the FocusMode. | | getRecordMode() | Gets the RecordMode. | | getCanonImageSize() | Gets the CanonImageSize. | | getEasyMode() | Gets the EasyMode. | | getDigitalZoom() | Gets the DigitalZoom. | | getContrast() | Gets the Contrast. | | getSaturation() | Gets the Saturation. | | getSharpness() | Gets the Sharpness. | | getCameraIso() | Gets the CameraIso. | | getMeteringMode() | Gets the MeteringMode. | | getFocusRange() | Gets the FocusRange. | | getAFPoint() | Gets the AFPoint. | | getCanonExposureMode() | Gets the CanonExposureMode. | | getLensType() | Gets the LensType. | | getMaxFocalLength() | Gets the MaxFocalLength. | | getMinFocalLength() | Gets the MinFocalLength. | | getFocalUnits() | Gets the FocalUnits. | | getMaxAperture() | Gets the MaxAperture. | | getMinAperture() | Gets the MinAperture. | | getFlashActivity() | Gets the FlashActivity. | | getFlashBits() | Gets the FlashBits. | | getFocusContinuous() | Gets the FocusContinuous. | | getAESetting() | Gets the AESetting. | | getImageStabilization() | Gets the ImageStabilization. | | getDisplayAperture() | Gets the DisplayAperture. | | getZoomSourceWidth() | Gets the ZoomSourceWidth. | | getZoomTargetWidth() | Gets the ZoomTargetWidth. | | getSpotMeteringMode() | Gets the SpotMeteringMode. | | getPhotoEffect() | Gets the PhotoEffect. | | getManualFlashOutput() | Gets the ManualFlashOutput. | | getColorTone() | Gets the ColorTone. | | getSRAWQuality() | Gets the SRAWQuality. | ##### Cr2CameraSettingsPackage() ``` public Cr2CameraSettingsPackage() ``` Initializes a new instance of the Cr2CameraSettingsPackage class. ##### getMacroMode() ``` public final int getMacroMode() ``` Gets the MacroMode. **Returns:** int - The MacroMode. ##### getSelfTimer() ``` public final int getSelfTimer() ``` Gets the SelfTimer. **Returns:** int - The SelfTimer. ##### getQuality() ``` public final int getQuality() ``` Gets the Quality. **Returns:** int - The Quality. ##### getCanonFlashMode() ``` public final int getCanonFlashMode() ``` Gets the CanonFlashMode. **Returns:** int - The CanonFlashMode. ##### getContinuousDrive() ``` public final int getContinuousDrive() ``` Gets the ContinuousDrive. **Returns:** int - The ContinuousDrive. ##### getFocusMode() ``` public final int getFocusMode() ``` Gets the FocusMode. **Returns:** int - The FocusMode. ##### getRecordMode() ``` public final int getRecordMode() ``` Gets the RecordMode. **Returns:** int - The RecordMode. ##### getCanonImageSize() ``` public final int getCanonImageSize() ``` Gets the CanonImageSize. **Returns:** int - The CanonImageSize. ##### getEasyMode() ``` public final int getEasyMode() ``` Gets the EasyMode. **Returns:** int - The EasyMode. ##### getDigitalZoom() ``` public final int getDigitalZoom() ``` Gets the DigitalZoom. **Returns:** int - The DigitalZoom. ##### getContrast() ``` public final int getContrast() ``` Gets the Contrast. **Returns:** int - The Contrast. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getCameraIso() ``` public final int getCameraIso() ``` Gets the CameraIso. **Returns:** int - The CameraIso. ##### getMeteringMode() ``` public final int getMeteringMode() ``` Gets the MeteringMode. **Returns:** int - The MeteringMode. ##### getFocusRange() ``` public final int getFocusRange() ``` Gets the FocusRange. **Returns:** int - The FocusRange. ##### getAFPoint() ``` public final int getAFPoint() ``` Gets the AFPoint. **Returns:** int - The AFPoint. ##### getCanonExposureMode() ``` public final int getCanonExposureMode() ``` Gets the CanonExposureMode. **Returns:** int - The CanonExposureMode. ##### getLensType() ``` public final int getLensType() ``` Gets the LensType. **Returns:** int - The LensType. ##### getMaxFocalLength() ``` public final int getMaxFocalLength() ``` Gets the MaxFocalLength. **Returns:** int - The MaxFocalLength. ##### getMinFocalLength() ``` public final int getMinFocalLength() ``` Gets the MinFocalLength. **Returns:** int - The MinFocalLength. ##### getFocalUnits() ``` public final int getFocalUnits() ``` Gets the FocalUnits. **Returns:** int - The FocalUnits. ##### getMaxAperture() ``` public final int getMaxAperture() ``` Gets the MaxAperture. **Returns:** int - The MaxAperture. ##### getMinAperture() ``` public final int getMinAperture() ``` Gets the MinAperture. **Returns:** int - The MinAperture. ##### getFlashActivity() ``` public final int getFlashActivity() ``` Gets the FlashActivity. **Returns:** int - The FlashActivity. ##### getFlashBits() ``` public final int getFlashBits() ``` Gets the FlashBits. **Returns:** int - The FlashBits. ##### getFocusContinuous() ``` public final int getFocusContinuous() ``` Gets the FocusContinuous. **Returns:** int - The FocusContinuous. ##### getAESetting() ``` public final int getAESetting() ``` Gets the AESetting. **Returns:** int - The AESetting. ##### getImageStabilization() ``` public final int getImageStabilization() ``` Gets the ImageStabilization. **Returns:** int - The ImageStabilization. ##### getDisplayAperture() ``` public final int getDisplayAperture() ``` Gets the DisplayAperture. **Returns:** int - The DisplayAperture. ##### getZoomSourceWidth() ``` public final int getZoomSourceWidth() ``` Gets the ZoomSourceWidth. **Returns:** int - The ZoomSourceWidth. ##### getZoomTargetWidth() ``` public final int getZoomTargetWidth() ``` Gets the ZoomTargetWidth. **Returns:** int - The ZoomTargetWidth. ##### getSpotMeteringMode() ``` public final int getSpotMeteringMode() ``` Gets the SpotMeteringMode. **Returns:** int - The SpotMeteringMode. ##### getPhotoEffect() ``` public final int getPhotoEffect() ``` Gets the PhotoEffect. **Returns:** int - The PhotoEffect. ##### getManualFlashOutput() ``` public final int getManualFlashOutput() ``` Gets the ManualFlashOutput. **Returns:** int - The ManualFlashOutput. ##### getColorTone() ``` public final int getColorTone() ``` Gets the ColorTone. **Returns:** int - The ColorTone. ##### getSRAWQuality() ``` public final int getSRAWQuality() ``` Gets the SRAWQuality. **Returns:** int - The SRAWQuality. ### Cr2ColorBalancePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2colorbalancepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ColorBalancePackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ColorBalancePackage() | Initializes a new instance of the Cr2ColorBalancePackage class. | #### Methods | Method | Description | | --- | --- | | getWB_RGGBLevelsAuto() | Gets the WB\_RGGBLevelsAuto. | | getWB_RGGBLevelsDaylight() | Gets the WB\_RGGBLevelsDaylight. | | getWB_RGGBLevelsShade() | Gets the WB\_RGGBLevelsShade. | | getWB_RGGBLevelsCloudy() | Gets the WB\_RGGBLevelsCloudy. | | getWB_RGGBLevelsTungsten() | Gets the WB\_RGGBLevelsTungsten. | | getWB_RGGBLevelsFluorescent() | Gets the WB\_RGGBLevelsFluorescent. | | getWB_RGGBLevelsFlash() | Gets the WB\_RGGBLevelsFlash. | | getWB_RGGBLevelsKelvin() | Gets the WB\_RGGBLevelsKelvin. | | getWB_RGGBBlackLevels() | Gets the WB\_RGGBBlackLevels. | ##### Cr2ColorBalancePackage() ``` public Cr2ColorBalancePackage() ``` Initializes a new instance of the Cr2ColorBalancePackage class. ##### getWB_RGGBLevelsAuto() ``` public final int getWB_RGGBLevelsAuto() ``` Gets the WB\_RGGBLevelsAuto. **Returns:** int - The WB\_RGGBLevelsAuto. ##### getWB_RGGBLevelsDaylight() ``` public final int getWB_RGGBLevelsDaylight() ``` Gets the WB\_RGGBLevelsDaylight. **Returns:** int - The WB\_RGGBLevelsDaylight. ##### getWB_RGGBLevelsShade() ``` public final int getWB_RGGBLevelsShade() ``` Gets the WB\_RGGBLevelsShade. **Returns:** int - The WB\_RGGBLevelsShade. ##### getWB_RGGBLevelsCloudy() ``` public final int getWB_RGGBLevelsCloudy() ``` Gets the WB\_RGGBLevelsCloudy. **Returns:** int - The WB\_RGGBLevelsCloudy. ##### getWB_RGGBLevelsTungsten() ``` public final int getWB_RGGBLevelsTungsten() ``` Gets the WB\_RGGBLevelsTungsten. **Returns:** int - The WB\_RGGBLevelsTungsten. ##### getWB_RGGBLevelsFluorescent() ``` public final int getWB_RGGBLevelsFluorescent() ``` Gets the WB\_RGGBLevelsFluorescent. **Returns:** int - The WB\_RGGBLevelsFluorescent. ##### getWB_RGGBLevelsFlash() ``` public final int getWB_RGGBLevelsFlash() ``` Gets the WB\_RGGBLevelsFlash. **Returns:** int - The WB\_RGGBLevelsFlash. ##### getWB_RGGBLevelsKelvin() ``` public final int getWB_RGGBLevelsKelvin() ``` Gets the WB\_RGGBLevelsKelvin. **Returns:** int - The WB\_RGGBLevelsKelvin. ##### getWB_RGGBBlackLevels() ``` public final int getWB_RGGBBlackLevels() ``` Gets the WB\_RGGBBlackLevels. **Returns:** int - The WB\_RGGBBlackLevels. ### Cr2ColorInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2colorinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ColorInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ColorInfoPackage() | Initializes a new instance of the Cr2ColorInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getSaturation() | Gets the Saturation. | | getColorTone() | Gets the ColorTone. | | getColorSpace() | Gets the ColorSpace. | ##### Cr2ColorInfoPackage() ``` public Cr2ColorInfoPackage() ``` Initializes a new instance of the Cr2ColorInfoPackage class. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getColorTone() ``` public final int getColorTone() ``` Gets the ColorTone. **Returns:** int - The ColorTone. ##### getColorSpace() ``` public final int getColorSpace() ``` Gets the ColorSpace. **Returns:** int - The ColorSpace. ### Cr2CropInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2cropinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2CropInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2CropInfoPackage() | Initializes a new instance of the Cr2CropInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getCropLeftMargin() | Gets the CropLeftMargin. | | getCropRightMargin() | Gets the CropRightMargin. | | getCropTopMargin() | Gets the CropTopMargin. | | getCropBottomMargin() | Gets the CropBottomMargin. | ##### Cr2CropInfoPackage() ``` public Cr2CropInfoPackage() ``` Initializes a new instance of the Cr2CropInfoPackage class. ##### getCropLeftMargin() ``` public final int getCropLeftMargin() ``` Gets the CropLeftMargin. **Returns:** int - The CropLeftMargin. ##### getCropRightMargin() ``` public final int getCropRightMargin() ``` Gets the CropRightMargin. **Returns:** int - The CropRightMargin. ##### getCropTopMargin() ``` public final int getCropTopMargin() ``` Gets the CropTopMargin. **Returns:** int - The CropTopMargin. ##### getCropBottomMargin() ``` public final int getCropBottomMargin() ``` Gets the CropBottomMargin. **Returns:** int - The CropBottomMargin. ### Cr2FileInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2fileinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2FileInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2FileInfoPackage() | Initializes a new instance of the Cr2FileInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getSize() | Gets the Size. | | setSize(long value) | Sets the Size. | | getFileNumberOrShutterCount() | Gets the FileNumberOrShutterCount. | | getBracketMode() | Gets the BracketMode. | | getBracketValue() | Gets the BracketValue. | | getBracketShotNumber() | Gets the BracketShotNumber. | | getRawJpgQuality() | Gets the RawJpgQuality. | | getRawJpgSize() | Gets the RawJpgSize. | | getLongExposureNoiseReduction2() | Gets the LongExposureNoiseReduction2. | | getWBBracketMode() | Gets the WBBracketMode. | | getWBBracketValueAB() | Gets the WBBracketValueAB. | | getWBBracketValueGM() | Gets the WBBracketValueGM. | | getFilterEffect() | Gets the FilterEffect. | | getToningEffect() | Gets the ToningEffect. | | getMacroMagnification() | Gets the MacroMagnification. | | getLiveViewShooting() | Gets the LiveViewShooting. | | getFocusDistanceUpper() | Gets the FocusDistanceUpper. | | getFocusDistanceLower() | Gets the FocusDistanceLower. | | getShutterMode() | Gets the ShutterMode. | | getFlashExposureLock() | Gets the FlashExposureLock. | | getRFLensType() | Gets the RFLensType. | ##### Cr2FileInfoPackage() ``` public Cr2FileInfoPackage() ``` Initializes a new instance of the Cr2FileInfoPackage class. ##### getSize() ``` public final long getSize() ``` Gets the Size. **Returns:** long - The Size. ##### setSize(long value) ``` public final void setSize(long value) ``` Sets the Size. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The Size. | ##### getFileNumberOrShutterCount() ``` public final int getFileNumberOrShutterCount() ``` Gets the FileNumberOrShutterCount. **Returns:** int - The FileNumber. ##### getBracketMode() ``` public final int getBracketMode() ``` Gets the BracketMode. **Returns:** int - The BracketMode. ##### getBracketValue() ``` public final int getBracketValue() ``` Gets the BracketValue. **Returns:** int - The BracketValue. ##### getBracketShotNumber() ``` public final int getBracketShotNumber() ``` Gets the BracketShotNumber. **Returns:** int - The BracketShotNumber. ##### getRawJpgQuality() ``` public final int getRawJpgQuality() ``` Gets the RawJpgQuality. **Returns:** int - The RawJpgQuality. ##### getRawJpgSize() ``` public final int getRawJpgSize() ``` Gets the RawJpgSize. **Returns:** int - The RawJpgSize. ##### getLongExposureNoiseReduction2() ``` public final int getLongExposureNoiseReduction2() ``` Gets the LongExposureNoiseReduction2. **Returns:** int - The LongExposureNoiseReduction2. ##### getWBBracketMode() ``` public final int getWBBracketMode() ``` Gets the WBBracketMode. **Returns:** int - The WBBracketMode. ##### getWBBracketValueAB() ``` public final int getWBBracketValueAB() ``` Gets the WBBracketValueAB. **Returns:** int - The WBBracketValueAB. ##### getWBBracketValueGM() ``` public final int getWBBracketValueGM() ``` Gets the WBBracketValueGM. **Returns:** int - The WBBracketValueGM. ##### getFilterEffect() ``` public final int getFilterEffect() ``` Gets the FilterEffect. **Returns:** int - The FilterEffect. ##### getToningEffect() ``` public final int getToningEffect() ``` Gets the ToningEffect. **Returns:** int - The ToningEffect. ##### getMacroMagnification() ``` public final int getMacroMagnification() ``` Gets the MacroMagnification. **Returns:** int - The MacroMagnification. ##### getLiveViewShooting() ``` public final int getLiveViewShooting() ``` Gets the LiveViewShooting. **Returns:** int - The LiveViewShooting. ##### getFocusDistanceUpper() ``` public final int getFocusDistanceUpper() ``` Gets the FocusDistanceUpper. **Returns:** int - The FocusDistanceUpper. ##### getFocusDistanceLower() ``` public final int getFocusDistanceLower() ``` Gets the FocusDistanceLower. **Returns:** int - The FocusDistanceLower. ##### getShutterMode() ``` public final int getShutterMode() ``` Gets the ShutterMode. **Returns:** int - The ShutterMode. ##### getFlashExposureLock() ``` public final int getFlashExposureLock() ``` Gets the FlashExposureLock. **Returns:** int - The FlashExposureLock. ##### getRFLensType() ``` public final int getRFLensType() ``` Gets the RFLensType. **Returns:** int - The RFLensType. ### Cr2FocalLengthPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2focallengthpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2FocalLengthPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2FocalLengthPackage() | Initializes a new instance of the Cr2FocalLengthPackage class. | #### Methods | Method | Description | | --- | --- | | getFocalType() | Gets the FocalType. | | getFocalLength() | Gets the FocalLength. | | getFocalPlaneXSize() | Gets the FocalPlaneXSize. | | getFocalPlaneYSize() | Gets the FocalPlaneYSize. | ##### Cr2FocalLengthPackage() ``` public Cr2FocalLengthPackage() ``` Initializes a new instance of the Cr2FocalLengthPackage class. ##### getFocalType() ``` public final int getFocalType() ``` Gets the FocalType. **Returns:** int - The FocalType. ##### getFocalLength() ``` public final int getFocalLength() ``` Gets the FocalLength. **Returns:** int - The FocalLength. ##### getFocalPlaneXSize() ``` public final int getFocalPlaneXSize() ``` Gets the FocalPlaneXSize. **Returns:** int - The FocalPlaneXSize. ##### getFocalPlaneYSize() ``` public final int getFocalPlaneYSize() ``` Gets the FocalPlaneYSize. **Returns:** int - The FocalPlaneYSize. ### Cr2Functions1DPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2functions1dpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2Functions1DPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2Functions1DPackage() | Initializes a new instance of the Cr2Functions1DPackage class. | #### Methods | Method | Description | | --- | --- | | getFocusingScreen() | Gets the FocusingScreen. | | getFinderDisplayDuringExposure() | Gets the FinderDisplayDuringExposure. | | getShutterReleaseNoCFCard() | Gets the ShutterReleaseNoCFCard. | | getISOSpeedExpansion() | Gets the ISOSpeedExpansion. | | getShutterAELButton() | Gets the ShutterAELButton. | | getManualTv() | Gets the ManualTv. | | getExposureLevelIncrements() | Gets the ExposureLevelIncrements. | | getUSMLensElectronicMF() | Gets the USMLensElectronicMF. | | getLCDPanels() | Gets the LCDPanels. | | getAEBSequenceAutoCancel() | Gets the AEBSequenceAutoCancel. | | getAFPointIllumination() | Gets the AFPointIllumination. | | getAFPointSelection() | Gets the AFPointSelection. | | getMirrorLockup() | Gets the MirrorLockup. | | getAFPointSpotMetering() | Gets the AFPointSpotMetering. | | getFillFlashAutoReduction() | Gets the FillFlashAutoReduction. | | getShutterCurtainSync() | Gets the ShutterCurtainSync. | | getSafetyShiftInAvOrTv() | Gets the SafetyShiftInAvOrTv. | | getAFPointActivationArea() | Gets the AFPointActivationArea. | | getSwitchToRegisteredAFPoint() | Gets the SwitchToRegisteredAFPoint. | | getLensAFStopButton() | Gets the LensAFStopButton. | | getAIServoTrackingSensitivity() | Gets the AIServoTrackingSensitivity. | | getAIServoContinuousShooting() | Gets the AIServoContinuousShooting. | ##### Cr2Functions1DPackage() ``` public Cr2Functions1DPackage() ``` Initializes a new instance of the Cr2Functions1DPackage class. ##### getFocusingScreen() ``` public final int getFocusingScreen() ``` Gets the FocusingScreen. **Returns:** int - The FocusingScreen. ##### getFinderDisplayDuringExposure() ``` public final int getFinderDisplayDuringExposure() ``` Gets the FinderDisplayDuringExposure. **Returns:** int - The FinderDisplayDuringExposure. ##### getShutterReleaseNoCFCard() ``` public final int getShutterReleaseNoCFCard() ``` Gets the ShutterReleaseNoCFCard. **Returns:** int - The ShutterReleaseNoCFCard. ##### getISOSpeedExpansion() ``` public final int getISOSpeedExpansion() ``` Gets the ISOSpeedExpansion. **Returns:** int - The ISOSpeedExpansion. ##### getShutterAELButton() ``` public final int getShutterAELButton() ``` Gets the ShutterAELButton. **Returns:** int - The ShutterAELButton. ##### getManualTv() ``` public final int getManualTv() ``` Gets the ManualTv. **Returns:** int - The ManualTv. ##### getExposureLevelIncrements() ``` public final int getExposureLevelIncrements() ``` Gets the ExposureLevelIncrements. **Returns:** int - The ExposureLevelIncrements. ##### getUSMLensElectronicMF() ``` public final int getUSMLensElectronicMF() ``` Gets the USMLensElectronicMF. **Returns:** int - The USMLensElectronicMF. ##### getLCDPanels() ``` public final int getLCDPanels() ``` Gets the LCDPanels. **Returns:** int - The LCDPanels. ##### getAEBSequenceAutoCancel() ``` public final int getAEBSequenceAutoCancel() ``` Gets the AEBSequenceAutoCancel. **Returns:** int - The AEBSequenceAutoCancel. ##### getAFPointIllumination() ``` public final int getAFPointIllumination() ``` Gets the AFPointIllumination. **Returns:** int - The AFPointIllumination. ##### getAFPointSelection() ``` public final int getAFPointSelection() ``` Gets the AFPointSelection. **Returns:** int - The AFPointSelection. ##### getMirrorLockup() ``` public final int getMirrorLockup() ``` Gets the MirrorLockup. **Returns:** int - The MirrorLockup. ##### getAFPointSpotMetering() ``` public final int getAFPointSpotMetering() ``` Gets the AFPointSpotMetering. **Returns:** int - The AFPointSpotMetering. ##### getFillFlashAutoReduction() ``` public final int getFillFlashAutoReduction() ``` Gets the FillFlashAutoReduction. **Returns:** int - The FillFlashAutoReduction. ##### getShutterCurtainSync() ``` public final int getShutterCurtainSync() ``` Gets the ShutterCurtainSync. **Returns:** int - The ShutterCurtainSync. ##### getSafetyShiftInAvOrTv() ``` public final int getSafetyShiftInAvOrTv() ``` Gets the SafetyShiftInAvOrTv. **Returns:** int - The SafetyShiftInAvOrTv. ##### getAFPointActivationArea() ``` public final int getAFPointActivationArea() ``` Gets the AFPointActivationArea. **Returns:** int - The AFPointActivationArea. ##### getSwitchToRegisteredAFPoint() ``` public final int getSwitchToRegisteredAFPoint() ``` Gets the SwitchToRegisteredAFPoint. **Returns:** int - The SwitchToRegisteredAFPoint. ##### getLensAFStopButton() ``` public final int getLensAFStopButton() ``` Gets the LensAFStopButton. **Returns:** int - The LensAFStopButton. ##### getAIServoTrackingSensitivity() ``` public final int getAIServoTrackingSensitivity() ``` Gets the AIServoTrackingSensitivity. **Returns:** int - The AIServoTrackingSensitivity. ##### getAIServoContinuousShooting() ``` public final int getAIServoContinuousShooting() ``` Gets the AIServoContinuousShooting. **Returns:** int - The AIServoContinuousShooting. ### Cr2LightingOptPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2lightingoptpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2LightingOptPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2LightingOptPackage() | Initializes a new instance of the Cr2LightingOptPackage class. | #### Methods | Method | Description | | --- | --- | | getSize() | Gets the Size. | | setSize(long value) | Sets the Size. | | getPeripheralIlluminationCorr() | Gets the PeripheralIlluminationCorr. | | getAutoLightingOptimizer() | Gets the AutoLightingOptimizer. | | getHighlightTonePriority() | Gets the HighlightTonePriority. | | getLongExposureNoiseReduction() | Gets the LongExposureNoiseReduction. | | getHighISONoiseReduction() | Gets the HighISONoiseReduction. | | getDigitalLensOptimizer() | Gets the DigitalLensOptimizer. | ##### Cr2LightingOptPackage() ``` public Cr2LightingOptPackage() ``` Initializes a new instance of the Cr2LightingOptPackage class. ##### getSize() ``` public final long getSize() ``` Gets the Size. **Returns:** long - The Size. ##### setSize(long value) ``` public final void setSize(long value) ``` Sets the Size. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The Size. | ##### getPeripheralIlluminationCorr() ``` public final int getPeripheralIlluminationCorr() ``` Gets the PeripheralIlluminationCorr. **Returns:** int - The PeripheralIlluminationCorr. ##### getAutoLightingOptimizer() ``` public final int getAutoLightingOptimizer() ``` Gets the AutoLightingOptimizer. **Returns:** int - The AutoLightingOptimizer. ##### getHighlightTonePriority() ``` public final int getHighlightTonePriority() ``` Gets the HighlightTonePriority. **Returns:** int - The HighlightTonePriority. ##### getLongExposureNoiseReduction() ``` public final int getLongExposureNoiseReduction() ``` Gets the LongExposureNoiseReduction. **Returns:** int - The LongExposureNoiseReduction. ##### getHighISONoiseReduction() ``` public final int getHighISONoiseReduction() ``` Gets the HighISONoiseReduction. **Returns:** int - The HighISONoiseReduction. ##### getDigitalLensOptimizer() ``` public final int getDigitalLensOptimizer() ``` Gets the DigitalLensOptimizer. **Returns:** int - The DigitalLensOptimizer. ### Cr2LogInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2loginfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2LogInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2LogInfoPackage() | Initializes a new instance of the Cr2LogInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getCompressionFormat() | Gets the CompressionFormat. | | getSharpness() | Gets the Sharpness. | | getSaturation() | Gets the Saturation. | | getColorTone() | Gets the ColorTone. | | getColorSpace2() | Gets the ColorSpace2. | | getColorMatrix() | Gets the ColorMatrix. | | getCanonLogVersion() | Gets the CanonLogVersion. | ##### Cr2LogInfoPackage() ``` public Cr2LogInfoPackage() ``` Initializes a new instance of the Cr2LogInfoPackage class. ##### getCompressionFormat() ``` public final int getCompressionFormat() ``` Gets the CompressionFormat. **Returns:** int - The CompressionFormat. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getColorTone() ``` public final int getColorTone() ``` Gets the ColorTone. **Returns:** int - The ColorTone. ##### getColorSpace2() ``` public final int getColorSpace2() ``` Gets the ColorSpace2. **Returns:** int - The ColorSpace2. ##### getColorMatrix() ``` public final int getColorMatrix() ``` Gets the ColorMatrix. **Returns:** int - The ColorMatrix. ##### getCanonLogVersion() ``` public final int getCanonLogVersion() ``` Gets the CanonLogVersion. **Returns:** int - The CanonLogVersion. ### Cr2MakerNotePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2makernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage, com.groupdocs.metadata.core.RawMakerNotePackage ``` public final class Cr2MakerNotePackage extends RawMakerNotePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2MakerNotePackage() | Initializes a new instance of the Cr2MakerNotePackage class. | #### Methods | Method | Description | | --- | --- | | getCr2CameraSettingsPackage() | Gets the CanonCameraSettings. | | setCr2CameraSettingsPackage(Cr2CameraSettingsPackage value) | Sets the CanonCameraSettings. | | getCameraSettings() | Gets the CanonCameraSettings Offset. | | setCameraSettings(long value) | Sets the CanonCameraSettings Offset. | | getCr2FocalLengthPackage() | Gets the CanonFocalLength. | | setCr2FocalLengthPackage(Cr2FocalLengthPackage value) | Sets the CanonFocalLength. | | getCr2FocalLength() | Gets the CanonCameraSettings Offset. | | setCr2FocalLength(long value) | Sets the CanonCameraSettings Offset. | | getCr2ShotInfoPackage() | Gets the CanonShotInfo. | | setCr2ShotInfoPackage(Cr2ShotInfoPackage value) | Sets the CanonShotInfo. | | getCr2ShotInfo() | Gets the CanonCameraSettings Offset. | | setCr2ShotInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2PanoramaPackage() | Gets the CanonPanorama. | | setCr2PanoramaPackage(Cr2PanoramaPackage value) | Sets the CanonPanorama. | | getCr2Panorama() | Gets the CanonCameraSettings Offset. | | setCr2Panorama(long value) | Sets the CanonCameraSettings Offset. | | getCr2MovieInfoPackage() | Gets the MovieInfo (Tags written by some Canon cameras when recording video). | | setCr2MovieInfoPackage(Cr2MovieInfoPackage value) | Sets the MovieInfo (Tags written by some Canon cameras when recording video). | | getCr2MovieInfo() | Gets the CanonCameraSettings Offset. | | setCr2MovieInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFInfo2Package() | Gets the AFInfo3 (Newer version of the AFInfo record). | | setCr2AFInfo2Package(Cr2AFInfo2Package value) | Sets the AFInfo3 (Newer version of the AFInfo record). | | getCr2AFInfo2() | Gets the CanonCameraSettings Offset. | | setCr2AFInfo2(long value) | Sets the CanonCameraSettings Offset. | | getCr2WBInfoPackage() | Gets the WBInfo (WB tags for the Canon G9). | | setCr2WBInfoPackage(Cr2WBInfoPackage value) | Sets the WBInfo (WB tags for the Canon G9). | | getCr2WBInfo() | Gets the CanonCameraSettings Offset. | | setCr2WBInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2TimeInfoPackage() | Gets the TimeInfo. | | setCr2TimeInfoPackage(Cr2TimeInfoPackage value) | Sets the TimeInfo. | | getCr2TimeInfo() | Gets the CanonCameraSettings Offset. | | setCr2TimeInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFInfo3Package() | Gets the AFInfo3. | | setCr2AFInfo3Package(Cr2AFInfo2Package value) | Sets the AFInfo3. | | getCr2AFInfo3() | Gets the CanonCameraSettings Offset. | | setCr2AFInfo3(long value) | Sets the CanonCameraSettings Offset. | | getCr2Functions1DPackage() | Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). | | setCr2Functions1DPackage(Cr2Functions1DPackage value) | Sets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). | | getCr2Functions1D() | Gets the CanonCameraSettings Offset. | | setCr2Functions1D(long value) | Sets the CanonCameraSettings Offset. | | getCr2PersonalFuncsPackage() | Gets the PersonalFunctions (Personal function settings for the EOS-1D.). | | setCr2PersonalFuncsPackage(Cr2PersonalFuncsPackage value) | Sets the PersonalFunctions (Personal function settings for the EOS-1D.). | | getCr2PersonalFuncs() | Gets the CanonCameraSettings Offset. | | setCr2PersonalFuncs(long value) | Sets the CanonCameraSettings Offset. | | getCr2PersonalFuncValuesPackage() | Gets the PersonalFunctionValues. | | setCr2PersonalFuncValuesPackage(Cr2PersonalFuncValuesPackage value) | Sets the PersonalFunctionValues. | | getCr2PersonalFuncValues() | Gets the CanonCameraSettings Offset. | | setCr2PersonalFuncValues(long value) | Sets the CanonCameraSettings Offset. | | getCr2FileInfoPackage() | Not used in this version. | | setCr2FileInfoPackage(Cr2FileInfoPackage value) | Not used in this version. | | getCr2FileInfo() | Gets the CanonCameraSettings Offset. | | setCr2FileInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2CropInfoPackage() | Gets the CropInfo. | | setCr2CropInfoPackage(Cr2CropInfoPackage value) | Sets the CropInfo. | | getCr2CropInfo() | Gets the CanonCameraSettings Offset. | | setCr2CropInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AspectInfoPackage() | Gets the AspectInfo. | | setCr2AspectInfoPackage(Cr2AspectInfoPackage value) | Sets the AspectInfo. | | getCr2AspectInfo() | Gets the CanonCameraSettings Offset. | | setCr2AspectInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2ProcessingPackage() | Gets the ProcessingInfo. | | setCr2ProcessingPackage(Cr2ProcessingPackage value) | Sets the ProcessingInfo. | | getCr2Processing() | Gets the CanonCameraSettings Offset. | | setCr2Processing(long value) | Sets the CanonCameraSettings Offset. | | getCr2ColorBalancePackage() | Gets the ColorBalance (These tags are used by the 10D and 300D.). | | setCr2ColorBalancePackage(Cr2ColorBalancePackage value) | Sets the ColorBalance (These tags are used by the 10D and 300D.). | | getCr2ColorBalance() | Gets the CanonCameraSettings Offset. | | setCr2ColorBalance(long value) | Sets the CanonCameraSettings Offset. | | getCr2ModifiedInfoPackage() | Gets the MeasuredColor. | | setCr2ModifiedInfoPackage(Cr2ModifiedInfoPackage value) | Sets the MeasuredColor. | | getCr2ModifiedInfo() | Gets the CanonCameraSettings Offset. | | setCr2ModifiedInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2SensorInfoPackage() | Gets the SensorInfo. | | setCr2SensorInfoPackage(Cr2SensorInfoPackage value) | Sets the SensorInfo. | | getCr2SensorInfo() | Gets the CanonCameraSettings Offset. | | setCr2SensorInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2ColorInfoPackage() | Gets the ColorInfo. | | setCr2ColorInfoPackage(Cr2ColorInfoPackage value) | Sets the ColorInfo. | | getCr2ColorInfo() | Gets the CanonCameraSettings Offset. | | setCr2ColorInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFMicroAdjPackage() | Gets the AFMicroAdj. | | setCr2AFMicroAdjPackage(Cr2AFMicroAdjPackage value) | Sets the AFMicroAdj. | | getCr2AFMicroAdj() | Gets the CanonCameraSettings Offset. | | setCr2AFMicroAdj(long value) | Sets the CanonCameraSettings Offset. | | getCr2LightingOptPackage() | Gets the LightingOpt (This information is new in images from the EOS 7D.). | | setCr2LightingOptPackage(Cr2LightingOptPackage value) | Sets the LightingOpt (This information is new in images from the EOS 7D.). | | getCr2LightingOpt() | Gets the CanonCameraSettings Offset. | | setCr2LightingOpt(long value) | Sets the CanonCameraSettings Offset. | | getCr2MultiExpPackage() | Gets the MultiExp. | | setCr2MultiExpPackage(Cr2MultiExpPackage value) | Sets the MultiExp. | | getCr2MultiExp() | Gets the CanonCameraSettings Offset. | | setCr2MultiExp(long value) | Sets the CanonCameraSettings Offset. | | getCr2LogInfoPackage() | Gets the LogInfo. | | setCr2LogInfoPackage(Cr2LogInfoPackage value) | Sets the LogInfo. | | getCr2LogInfo() | Gets the CanonCameraSettings Offset. | | setCr2LogInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFConfigPackage() | Gets the AFConfig. | | setCr2AFConfigPackage(Cr2AFConfigPackage value) | Sets the AFConfig. | | getCr2AFConfig() | Gets the CanonCameraSettings Offset. | | setCr2AFConfig(long value) | Sets the CanonCameraSettings Offset. | | getImageType() | Gets the ImageType. | | setImageType(String value) | Sets the ImageType. | | getFirmwareVersion() | Gets the FirmwareVersion. | | setFirmwareVersion(String value) | Sets the FirmwareVersion. | | getFileNumber() | Gets the FileNumber. | | setFileNumber(long value) | Sets the FileNumber. | | getOwnerName() | Gets the OwnerName. | | setOwnerName(String value) | Sets the OwnerName. | | getSerialNumber() | Gets the SerialNumber. | | setSerialNumber(long value) | Sets the SerialNumber. | | getFileLength() | Gets the FileLength. | | setFileLength(long value) | Sets the FileLength. | | getModelID() | Gets the ModelID. | | setModelID(long value) | Sets the ModelID. | | getThumbnailImageValidArea() | Gets the ThumbnailImageValidArea. | | setThumbnailImageValidArea(int[] value) | Sets the ThumbnailImageValidArea. | | getSerialNumberFormat() | Gets the SerialNumberFormat. | | setSerialNumberFormat(long value) | Sets the SerialNumberFormat. | | getSuperMacro() | Gets the SuperMacro. | | setSuperMacro(int value) | Sets the SuperMacro. | | getDateStampMode() | Gets the DateStampMode. | | setDateStampMode(int value) | Sets the DateStampMode. | | getMyColors() | Gets the MyColors. | | setMyColors(int[] value) | Sets the MyColors. | | getContrastInfo() | Gets the Categories. | | setContrastInfo(int[] value) | Sets the Categories. | | getCategories() | Gets the Categories. | | setCategories(long[] value) | Sets the Categories. | | getImageUniqueID() | Gets the ImageUniqueID. | | setImageUniqueID(byte[] value) | Sets the ImageUniqueID. | | getOriginalDecisionDataOffset() | Gets the OriginalDecisionDataOffset. | | setOriginalDecisionDataOffset(long value) | Sets the OriginalDecisionDataOffset. | | getLensModel() | Gets the LensModel. | | setLensModel(String value) | Sets the LensModel. | | getInternalSerialNumber() | Gets the InternalSerialNumber. | | setInternalSerialNumber(String value) | Sets the InternalSerialNumber. | | getColorTemperature() | Gets the ColorTemperature. | | setColorTemperature(int value) | Sets the ColorTemperature. | | getMeasuredColor() | Gets the MeasuredColor. | | setMeasuredColor(int[] value) | Sets the MeasuredColor. | | getColorSpace() | Gets the ColorSpace. | | setColorSpace(int value) | Sets the ColorSpace. | | getCanonFlags() | Gets the CanonFlags. | | setCanonFlags(int value) | Sets the CanonFlags. | | getVRDOffset() | Gets the VRDOffset. | | setVRDOffset(long value) | Sets the VRDOffset. | | getPictureStyleUserDef() | Gets the PictureStyleUserDef. | | setPictureStyleUserDef(int[] value) | Sets the PictureStyleUserDef. | | getPictureStylePC() | Gets the PictureStylePC. | | setPictureStylePC(int[] value) | Sets the PictureStylePC. | | getCustomPictureStyleFileName() | Gets the CustomPictureStyleFileName. | | setCustomPictureStyleFileName(String value) | Sets the CustomPictureStyleFileName. | | getLensInfo() | Gets the LensInfo. | | setLensInfo(byte[] value) | Sets the LensInfo. | | getAmbienceInfo() | Gets the LensInfo. | | setAmbienceInfo(long[] value) | Sets the LensInfo. | | getCameraInfo() | Gets the CameraInfo. | | setCameraInfo(long value) | Sets the CameraInfo. | | getCustomFunctions() | Gets the CustomFunctions. | | setCustomFunctions(long value) | Sets the CustomFunctions. | | getFaceDetect1() | Gets the FaceDetect1. | | setFaceDetect1(long value) | Sets the FaceDetect1. | | getFaceDetect2() | Gets the FaceDetect2. | | setFaceDetect2(long value) | Sets the FaceDetect2. | | getFaceDetect3() | Gets the FaceDetect3. | | setFaceDetect3(long value) | Sets the FaceDetect3. | | getPreviewImageInfo() | Gets the PreviewImageInfo. | | setPreviewImageInfo(long value) | Sets the PreviewImageInfo. | | getColorData1() | Gets the ColorData1. | | setColorData1(long value) | Sets the ColorData1. | | getVignettingCorr() | Gets the VignettingCorr. | | setVignettingCorr(long value) | Sets the VignettingCorr. | | getHDRInfo() | Gets the HDRInfo. | | setHDRInfo(long value) | Sets the HDRInfo. | | getRawBurstModeRoll() | Gets the RawBurstModeRoll. | | setRawBurstModeRoll(long value) | Sets the RawBurstModeRoll. | ##### Cr2MakerNotePackage() ``` public Cr2MakerNotePackage() ``` Initializes a new instance of the Cr2MakerNotePackage class. ##### getCr2CameraSettingsPackage() ``` public final Cr2CameraSettingsPackage getCr2CameraSettingsPackage() ``` Gets the CanonCameraSettings. **Returns:** Cr2CameraSettingsPackage - The CanonCameraSettings. ##### setCr2CameraSettingsPackage(Cr2CameraSettingsPackage value) ``` public final void setCr2CameraSettingsPackage(Cr2CameraSettingsPackage value) ``` Sets the CanonCameraSettings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2CameraSettingsPackage | The CanonCameraSettings. | ##### getCameraSettings() ``` public final long getCameraSettings() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCameraSettings(long value) ``` public final void setCameraSettings(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2FocalLengthPackage() ``` public final Cr2FocalLengthPackage getCr2FocalLengthPackage() ``` Gets the CanonFocalLength. **Returns:** Cr2FocalLengthPackage - The CanonFocalLength. ##### setCr2FocalLengthPackage(Cr2FocalLengthPackage value) ``` public final void setCr2FocalLengthPackage(Cr2FocalLengthPackage value) ``` Sets the CanonFocalLength. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2FocalLengthPackage | The CanonFocalLength. | ##### getCr2FocalLength() ``` public final long getCr2FocalLength() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2FocalLength(long value) ``` public final void setCr2FocalLength(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ShotInfoPackage() ``` public final Cr2ShotInfoPackage getCr2ShotInfoPackage() ``` Gets the CanonShotInfo. **Returns:** Cr2ShotInfoPackage - The CanonShotInfo. ##### setCr2ShotInfoPackage(Cr2ShotInfoPackage value) ``` public final void setCr2ShotInfoPackage(Cr2ShotInfoPackage value) ``` Sets the CanonShotInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ShotInfoPackage | The CanonShotInfo. | ##### getCr2ShotInfo() ``` public final long getCr2ShotInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ShotInfo(long value) ``` public final void setCr2ShotInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2PanoramaPackage() ``` public final Cr2PanoramaPackage getCr2PanoramaPackage() ``` Gets the CanonPanorama. **Returns:** Cr2PanoramaPackage - The CanonPanorama. ##### setCr2PanoramaPackage(Cr2PanoramaPackage value) ``` public final void setCr2PanoramaPackage(Cr2PanoramaPackage value) ``` Sets the CanonPanorama. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2PanoramaPackage | The CanonPanorama. | ##### getCr2Panorama() ``` public final long getCr2Panorama() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2Panorama(long value) ``` public final void setCr2Panorama(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2MovieInfoPackage() ``` public final Cr2MovieInfoPackage getCr2MovieInfoPackage() ``` Gets the MovieInfo (Tags written by some Canon cameras when recording video). **Returns:** Cr2MovieInfoPackage - The MovieInfo. ##### setCr2MovieInfoPackage(Cr2MovieInfoPackage value) ``` public final void setCr2MovieInfoPackage(Cr2MovieInfoPackage value) ``` Sets the MovieInfo (Tags written by some Canon cameras when recording video). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2MovieInfoPackage | The MovieInfo. | ##### getCr2MovieInfo() ``` public final long getCr2MovieInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2MovieInfo(long value) ``` public final void setCr2MovieInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFInfo2Package() ``` public final Cr2AFInfo2Package getCr2AFInfo2Package() ``` Gets the AFInfo3 (Newer version of the AFInfo record). **Returns:** Cr2AFInfo2Package - The AFInfo3. ##### setCr2AFInfo2Package(Cr2AFInfo2Package value) ``` public final void setCr2AFInfo2Package(Cr2AFInfo2Package value) ``` Sets the AFInfo3 (Newer version of the AFInfo record). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFInfo2Package | The AFInfo3. | ##### getCr2AFInfo2() ``` public final long getCr2AFInfo2() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFInfo2(long value) ``` public final void setCr2AFInfo2(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2WBInfoPackage() ``` public final Cr2WBInfoPackage getCr2WBInfoPackage() ``` Gets the WBInfo (WB tags for the Canon G9). **Returns:** Cr2WBInfoPackage - The WBInfo. ##### setCr2WBInfoPackage(Cr2WBInfoPackage value) ``` public final void setCr2WBInfoPackage(Cr2WBInfoPackage value) ``` Sets the WBInfo (WB tags for the Canon G9). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2WBInfoPackage | The WBInfo. | ##### getCr2WBInfo() ``` public final long getCr2WBInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2WBInfo(long value) ``` public final void setCr2WBInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2TimeInfoPackage() ``` public final Cr2TimeInfoPackage getCr2TimeInfoPackage() ``` Gets the TimeInfo. **Returns:** Cr2TimeInfoPackage - The TimeInfo. ##### setCr2TimeInfoPackage(Cr2TimeInfoPackage value) ``` public final void setCr2TimeInfoPackage(Cr2TimeInfoPackage value) ``` Sets the TimeInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2TimeInfoPackage | The TimeInfo. | ##### getCr2TimeInfo() ``` public final long getCr2TimeInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2TimeInfo(long value) ``` public final void setCr2TimeInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFInfo3Package() ``` public final Cr2AFInfo2Package getCr2AFInfo3Package() ``` Gets the AFInfo3. **Returns:** Cr2AFInfo2Package - The AFInfo3. ##### setCr2AFInfo3Package(Cr2AFInfo2Package value) ``` public final void setCr2AFInfo3Package(Cr2AFInfo2Package value) ``` Sets the AFInfo3. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFInfo2Package | The AFInfo3. | ##### getCr2AFInfo3() ``` public final long getCr2AFInfo3() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFInfo3(long value) ``` public final void setCr2AFInfo3(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2Functions1DPackage() ``` public final Cr2Functions1DPackage getCr2Functions1DPackage() ``` Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). **Returns:** Cr2Functions1DPackage - The CustomFunctions1D. ##### setCr2Functions1DPackage(Cr2Functions1DPackage value) ``` public final void setCr2Functions1DPackage(Cr2Functions1DPackage value) ``` Sets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2Functions1DPackage | The CustomFunctions1D. | ##### getCr2Functions1D() ``` public final long getCr2Functions1D() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2Functions1D(long value) ``` public final void setCr2Functions1D(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2PersonalFuncsPackage() ``` public final Cr2PersonalFuncsPackage getCr2PersonalFuncsPackage() ``` Gets the PersonalFunctions (Personal function settings for the EOS-1D.). **Returns:** Cr2PersonalFuncsPackage - The PersonalFunctions. ##### setCr2PersonalFuncsPackage(Cr2PersonalFuncsPackage value) ``` public final void setCr2PersonalFuncsPackage(Cr2PersonalFuncsPackage value) ``` Sets the PersonalFunctions (Personal function settings for the EOS-1D.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2PersonalFuncsPackage | The PersonalFunctions. | ##### getCr2PersonalFuncs() ``` public final long getCr2PersonalFuncs() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2PersonalFuncs(long value) ``` public final void setCr2PersonalFuncs(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2PersonalFuncValuesPackage() ``` public final Cr2PersonalFuncValuesPackage getCr2PersonalFuncValuesPackage() ``` Gets the PersonalFunctionValues. **Returns:** Cr2PersonalFuncValuesPackage - The PersonalFunctionValues. ##### setCr2PersonalFuncValuesPackage(Cr2PersonalFuncValuesPackage value) ``` public final void setCr2PersonalFuncValuesPackage(Cr2PersonalFuncValuesPackage value) ``` Sets the PersonalFunctionValues. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2PersonalFuncValuesPackage | The PersonalFunctionValues. | ##### getCr2PersonalFuncValues() ``` public final long getCr2PersonalFuncValues() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2PersonalFuncValues(long value) ``` public final void setCr2PersonalFuncValues(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2FileInfoPackage() ``` public final Cr2FileInfoPackage getCr2FileInfoPackage() ``` Not used in this version. Gets the CanonFileInfo. **Returns:** Cr2FileInfoPackage - The CanonFileInfo. ##### setCr2FileInfoPackage(Cr2FileInfoPackage value) ``` public final void setCr2FileInfoPackage(Cr2FileInfoPackage value) ``` Not used in this version. Gets the CanonFileInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2FileInfoPackage | | ##### getCr2FileInfo() ``` public final long getCr2FileInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2FileInfo(long value) ``` public final void setCr2FileInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2CropInfoPackage() ``` public final Cr2CropInfoPackage getCr2CropInfoPackage() ``` Gets the CropInfo. **Returns:** Cr2CropInfoPackage - The CropInfo. ##### setCr2CropInfoPackage(Cr2CropInfoPackage value) ``` public final void setCr2CropInfoPackage(Cr2CropInfoPackage value) ``` Sets the CropInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2CropInfoPackage | The CropInfo. | ##### getCr2CropInfo() ``` public final long getCr2CropInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2CropInfo(long value) ``` public final void setCr2CropInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AspectInfoPackage() ``` public final Cr2AspectInfoPackage getCr2AspectInfoPackage() ``` Gets the AspectInfo. **Returns:** Cr2AspectInfoPackage - The AspectInfo. ##### setCr2AspectInfoPackage(Cr2AspectInfoPackage value) ``` public final void setCr2AspectInfoPackage(Cr2AspectInfoPackage value) ``` Sets the AspectInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AspectInfoPackage | The AspectInfo. | ##### getCr2AspectInfo() ``` public final long getCr2AspectInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AspectInfo(long value) ``` public final void setCr2AspectInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ProcessingPackage() ``` public final Cr2ProcessingPackage getCr2ProcessingPackage() ``` Gets the ProcessingInfo. **Returns:** Cr2ProcessingPackage - The ProcessingInfo. ##### setCr2ProcessingPackage(Cr2ProcessingPackage value) ``` public final void setCr2ProcessingPackage(Cr2ProcessingPackage value) ``` Sets the ProcessingInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ProcessingPackage | The ProcessingInfo. | ##### getCr2Processing() ``` public final long getCr2Processing() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2Processing(long value) ``` public final void setCr2Processing(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ColorBalancePackage() ``` public final Cr2ColorBalancePackage getCr2ColorBalancePackage() ``` Gets the ColorBalance (These tags are used by the 10D and 300D.). **Returns:** Cr2ColorBalancePackage - The ColorBalance. ##### setCr2ColorBalancePackage(Cr2ColorBalancePackage value) ``` public final void setCr2ColorBalancePackage(Cr2ColorBalancePackage value) ``` Sets the ColorBalance (These tags are used by the 10D and 300D.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ColorBalancePackage | The ColorBalance. | ##### getCr2ColorBalance() ``` public final long getCr2ColorBalance() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ColorBalance(long value) ``` public final void setCr2ColorBalance(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ModifiedInfoPackage() ``` public final Cr2ModifiedInfoPackage getCr2ModifiedInfoPackage() ``` Gets the MeasuredColor. **Returns:** Cr2ModifiedInfoPackage - The MeasuredColor. ##### setCr2ModifiedInfoPackage(Cr2ModifiedInfoPackage value) ``` public final void setCr2ModifiedInfoPackage(Cr2ModifiedInfoPackage value) ``` Sets the MeasuredColor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ModifiedInfoPackage | The MeasuredColor. | ##### getCr2ModifiedInfo() ``` public final long getCr2ModifiedInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ModifiedInfo(long value) ``` public final void setCr2ModifiedInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2SensorInfoPackage() ``` public final Cr2SensorInfoPackage getCr2SensorInfoPackage() ``` Gets the SensorInfo. **Returns:** Cr2SensorInfoPackage - The SensorInfo. ##### setCr2SensorInfoPackage(Cr2SensorInfoPackage value) ``` public final void setCr2SensorInfoPackage(Cr2SensorInfoPackage value) ``` Sets the SensorInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2SensorInfoPackage | The SensorInfo. | ##### getCr2SensorInfo() ``` public final long getCr2SensorInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2SensorInfo(long value) ``` public final void setCr2SensorInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ColorInfoPackage() ``` public final Cr2ColorInfoPackage getCr2ColorInfoPackage() ``` Gets the ColorInfo. **Returns:** Cr2ColorInfoPackage - The ColorInfo. ##### setCr2ColorInfoPackage(Cr2ColorInfoPackage value) ``` public final void setCr2ColorInfoPackage(Cr2ColorInfoPackage value) ``` Sets the ColorInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ColorInfoPackage | The ColorInfo. | ##### getCr2ColorInfo() ``` public final long getCr2ColorInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ColorInfo(long value) ``` public final void setCr2ColorInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFMicroAdjPackage() ``` public final Cr2AFMicroAdjPackage getCr2AFMicroAdjPackage() ``` Gets the AFMicroAdj. **Returns:** Cr2AFMicroAdjPackage - The AFMicroAdj. ##### setCr2AFMicroAdjPackage(Cr2AFMicroAdjPackage value) ``` public final void setCr2AFMicroAdjPackage(Cr2AFMicroAdjPackage value) ``` Sets the AFMicroAdj. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFMicroAdjPackage | The AFMicroAdj. | ##### getCr2AFMicroAdj() ``` public final long getCr2AFMicroAdj() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFMicroAdj(long value) ``` public final void setCr2AFMicroAdj(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2LightingOptPackage() ``` public final Cr2LightingOptPackage getCr2LightingOptPackage() ``` Gets the LightingOpt (This information is new in images from the EOS 7D.). **Returns:** Cr2LightingOptPackage - The LightingOpt. ##### setCr2LightingOptPackage(Cr2LightingOptPackage value) ``` public final void setCr2LightingOptPackage(Cr2LightingOptPackage value) ``` Sets the LightingOpt (This information is new in images from the EOS 7D.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2LightingOptPackage | The LightingOpt. | ##### getCr2LightingOpt() ``` public final long getCr2LightingOpt() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2LightingOpt(long value) ``` public final void setCr2LightingOpt(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2MultiExpPackage() ``` public final Cr2MultiExpPackage getCr2MultiExpPackage() ``` Gets the MultiExp. **Returns:** Cr2MultiExpPackage - The MultiExp. ##### setCr2MultiExpPackage(Cr2MultiExpPackage value) ``` public final void setCr2MultiExpPackage(Cr2MultiExpPackage value) ``` Sets the MultiExp. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2MultiExpPackage | The MultiExp. | ##### getCr2MultiExp() ``` public final long getCr2MultiExp() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2MultiExp(long value) ``` public final void setCr2MultiExp(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2LogInfoPackage() ``` public final Cr2LogInfoPackage getCr2LogInfoPackage() ``` Gets the LogInfo. **Returns:** Cr2LogInfoPackage - The LogInfo. ##### setCr2LogInfoPackage(Cr2LogInfoPackage value) ``` public final void setCr2LogInfoPackage(Cr2LogInfoPackage value) ``` Sets the LogInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2LogInfoPackage | The LogInfo. | ##### getCr2LogInfo() ``` public final long getCr2LogInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2LogInfo(long value) ``` public final void setCr2LogInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFConfigPackage() ``` public final Cr2AFConfigPackage getCr2AFConfigPackage() ``` Gets the AFConfig. **Returns:** Cr2AFConfigPackage - The AFConfig. ##### setCr2AFConfigPackage(Cr2AFConfigPackage value) ``` public final void setCr2AFConfigPackage(Cr2AFConfigPackage value) ``` Sets the AFConfig. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFConfigPackage | The AFConfig. | ##### getCr2AFConfig() ``` public final long getCr2AFConfig() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFConfig(long value) ``` public final void setCr2AFConfig(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getImageType() ``` public final String getImageType() ``` Gets the ImageType. **Returns:** java.lang.String - The ImageType. ##### setImageType(String value) ``` public final void setImageType(String value) ``` Sets the ImageType. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The ImageType. | ##### getFirmwareVersion() ``` public final String getFirmwareVersion() ``` Gets the FirmwareVersion. **Returns:** java.lang.String - The FirmwareVersion. ##### setFirmwareVersion(String value) ``` public final void setFirmwareVersion(String value) ``` Sets the FirmwareVersion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The FirmwareVersion. | ##### getFileNumber() ``` public final long getFileNumber() ``` Gets the FileNumber. **Returns:** long - The FileNumber. ##### setFileNumber(long value) ``` public final void setFileNumber(long value) ``` Sets the FileNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FileNumber. | ##### getOwnerName() ``` public final String getOwnerName() ``` Gets the OwnerName. **Returns:** java.lang.String - The OwnerName. ##### setOwnerName(String value) ``` public final void setOwnerName(String value) ``` Sets the OwnerName. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The OwnerName. | ##### getSerialNumber() ``` public final long getSerialNumber() ``` Gets the SerialNumber. **Returns:** long - The SerialNumber. ##### setSerialNumber(long value) ``` public final void setSerialNumber(long value) ``` Sets the SerialNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The SerialNumber. | ##### getFileLength() ``` public final long getFileLength() ``` Gets the FileLength. **Returns:** long - The FileLength. ##### setFileLength(long value) ``` public final void setFileLength(long value) ``` Sets the FileLength. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FileLength. | ##### getModelID() ``` public final long getModelID() ``` Gets the ModelID. **Returns:** long - The ModelID. ##### setModelID(long value) ``` public final void setModelID(long value) ``` Sets the ModelID. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The ModelID. | ##### getThumbnailImageValidArea() ``` public final int[] getThumbnailImageValidArea() ``` Gets the ThumbnailImageValidArea. **Returns:** int[] - The ThumbnailImageValidArea. ##### setThumbnailImageValidArea(int[] value) ``` public final void setThumbnailImageValidArea(int[] value) ``` Sets the ThumbnailImageValidArea. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The ThumbnailImageValidArea. | ##### getSerialNumberFormat() ``` public final long getSerialNumberFormat() ``` Gets the SerialNumberFormat. **Returns:** long - The SerialNumberFormat. ##### setSerialNumberFormat(long value) ``` public final void setSerialNumberFormat(long value) ``` Sets the SerialNumberFormat. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The SerialNumberFormat. | ##### getSuperMacro() ``` public final int getSuperMacro() ``` Gets the SuperMacro. **Returns:** int - The SuperMacro. ##### setSuperMacro(int value) ``` public final void setSuperMacro(int value) ``` Sets the SuperMacro. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The SuperMacro. | ##### getDateStampMode() ``` public final int getDateStampMode() ``` Gets the DateStampMode. **Returns:** int - The DateStampMode. ##### setDateStampMode(int value) ``` public final void setDateStampMode(int value) ``` Sets the DateStampMode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The DateStampMode. | ##### getMyColors() ``` public final int[] getMyColors() ``` Gets the MyColors. **Returns:** int[] - The MyColors. ##### setMyColors(int[] value) ``` public final void setMyColors(int[] value) ``` Sets the MyColors. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The MyColors. | ##### getContrastInfo() ``` public final int[] getContrastInfo() ``` Gets the Categories. **Returns:** int[] - The Categories. ##### setContrastInfo(int[] value) ``` public final void setContrastInfo(int[] value) ``` Sets the Categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The Categories. | ##### getCategories() ``` public final long[] getCategories() ``` Gets the Categories. **Returns:** long[] - The Categories. ##### setCategories(long[] value) ``` public final void setCategories(long[] value) ``` Sets the Categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long[] | The Categories. | ##### getImageUniqueID() ``` public final byte[] getImageUniqueID() ``` Gets the ImageUniqueID. **Returns:** byte[] - The ImageUniqueID. ##### setImageUniqueID(byte[] value) ``` public final void setImageUniqueID(byte[] value) ``` Sets the ImageUniqueID. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The ImageUniqueID. | ##### getOriginalDecisionDataOffset() ``` public final long getOriginalDecisionDataOffset() ``` Gets the OriginalDecisionDataOffset. **Returns:** long - The OriginalDecisionDataOffset. ##### setOriginalDecisionDataOffset(long value) ``` public final void setOriginalDecisionDataOffset(long value) ``` Sets the OriginalDecisionDataOffset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The OriginalDecisionDataOffset. | ##### getLensModel() ``` public final String getLensModel() ``` Gets the LensModel. **Returns:** java.lang.String - The LensModel. ##### setLensModel(String value) ``` public final void setLensModel(String value) ``` Sets the LensModel. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The LensModel. | ##### getInternalSerialNumber() ``` public final String getInternalSerialNumber() ``` Gets the InternalSerialNumber. **Returns:** java.lang.String - The InternalSerialNumber. ##### setInternalSerialNumber(String value) ``` public final void setInternalSerialNumber(String value) ``` Sets the InternalSerialNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The InternalSerialNumber. | ##### getColorTemperature() ``` public final int getColorTemperature() ``` Gets the ColorTemperature. **Returns:** int - The ColorTemperature. ##### setColorTemperature(int value) ``` public final void setColorTemperature(int value) ``` Sets the ColorTemperature. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The ColorTemperature. | ##### getMeasuredColor() ``` public final int[] getMeasuredColor() ``` Gets the MeasuredColor. **Returns:** int[] - The MeasuredColor. ##### setMeasuredColor(int[] value) ``` public final void setMeasuredColor(int[] value) ``` Sets the MeasuredColor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The MeasuredColor. | ##### getColorSpace() ``` public final int getColorSpace() ``` Gets the ColorSpace. **Returns:** int - The ColorSpace. ##### setColorSpace(int value) ``` public final void setColorSpace(int value) ``` Sets the ColorSpace. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The ColorSpace. | ##### getCanonFlags() ``` public final int getCanonFlags() ``` Gets the CanonFlags. **Returns:** int - The CanonFlags. ##### setCanonFlags(int value) ``` public final void setCanonFlags(int value) ``` Sets the CanonFlags. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The CanonFlags. | ##### getVRDOffset() ``` public final long getVRDOffset() ``` Gets the VRDOffset. **Returns:** long - The VRDOffset. ##### setVRDOffset(long value) ``` public final void setVRDOffset(long value) ``` Sets the VRDOffset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The VRDOffset. | ##### getPictureStyleUserDef() ``` public final int[] getPictureStyleUserDef() ``` Gets the PictureStyleUserDef. **Returns:** int[] - The PictureStyleUserDef. ##### setPictureStyleUserDef(int[] value) ``` public final void setPictureStyleUserDef(int[] value) ``` Sets the PictureStyleUserDef. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The PictureStyleUserDef. | ##### getPictureStylePC() ``` public final int[] getPictureStylePC() ``` Gets the PictureStylePC. **Returns:** int[] - The PictureStylePC. ##### setPictureStylePC(int[] value) ``` public final void setPictureStylePC(int[] value) ``` Sets the PictureStylePC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The PictureStylePC. | ##### getCustomPictureStyleFileName() ``` public final String getCustomPictureStyleFileName() ``` Gets the CustomPictureStyleFileName. **Returns:** java.lang.String - The CustomPictureStyleFileName. ##### setCustomPictureStyleFileName(String value) ``` public final void setCustomPictureStyleFileName(String value) ``` Sets the CustomPictureStyleFileName. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The CustomPictureStyleFileName. | ##### getLensInfo() ``` public final byte[] getLensInfo() ``` Gets the LensInfo. **Returns:** byte[] - The LensInfo. ##### setLensInfo(byte[] value) ``` public final void setLensInfo(byte[] value) ``` Sets the LensInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The LensInfo. | ##### getAmbienceInfo() ``` public final long[] getAmbienceInfo() ``` Gets the LensInfo. **Returns:** long[] - The LensInfo. ##### setAmbienceInfo(long[] value) ``` public final void setAmbienceInfo(long[] value) ``` Sets the LensInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long[] | The LensInfo. | ##### getCameraInfo() ``` public final long getCameraInfo() ``` Gets the CameraInfo. **Returns:** long - The CameraInfo. ##### setCameraInfo(long value) ``` public final void setCameraInfo(long value) ``` Sets the CameraInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CameraInfo. | ##### getCustomFunctions() ``` public final long getCustomFunctions() ``` Gets the CustomFunctions. **Returns:** long - The CustomFunctions. ##### setCustomFunctions(long value) ``` public final void setCustomFunctions(long value) ``` Sets the CustomFunctions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CustomFunctions. | ##### getFaceDetect1() ``` public final long getFaceDetect1() ``` Gets the FaceDetect1. **Returns:** long - The FaceDetect1. ##### setFaceDetect1(long value) ``` public final void setFaceDetect1(long value) ``` Sets the FaceDetect1. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FaceDetect1. | ##### getFaceDetect2() ``` public final long getFaceDetect2() ``` Gets the FaceDetect2. **Returns:** long - The FaceDetect2. ##### setFaceDetect2(long value) ``` public final void setFaceDetect2(long value) ``` Sets the FaceDetect2. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FaceDetect2. | ##### getFaceDetect3() ``` public final long getFaceDetect3() ``` Gets the FaceDetect3. **Returns:** long - The FaceDetect3. ##### setFaceDetect3(long value) ``` public final void setFaceDetect3(long value) ``` Sets the FaceDetect3. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FaceDetect3. | ##### getPreviewImageInfo() ``` public final long getPreviewImageInfo() ``` Gets the PreviewImageInfo. **Returns:** long - The PreviewImageInfo. ##### setPreviewImageInfo(long value) ``` public final void setPreviewImageInfo(long value) ``` Sets the PreviewImageInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The PreviewImageInfo. | ##### getColorData1() ``` public final long getColorData1() ``` Gets the ColorData1. **Returns:** long - The ColorData1. ##### setColorData1(long value) ``` public final void setColorData1(long value) ``` Sets the ColorData1. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The ColorData1. | ##### getVignettingCorr() ``` public final long getVignettingCorr() ``` Gets the VignettingCorr. **Returns:** long - The VignettingCorr. ##### setVignettingCorr(long value) ``` public final void setVignettingCorr(long value) ``` Sets the VignettingCorr. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The VignettingCorr. | ##### getHDRInfo() ``` public final long getHDRInfo() ``` Gets the HDRInfo. **Returns:** long - The HDRInfo. ##### setHDRInfo(long value) ``` public final void setHDRInfo(long value) ``` Sets the HDRInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The HDRInfo. | ##### getRawBurstModeRoll() ``` public final long getRawBurstModeRoll() ``` Gets the RawBurstModeRoll. **Returns:** long - The RawBurstModeRoll. ##### setRawBurstModeRoll(long value) ``` public final void setRawBurstModeRoll(long value) ``` Sets the RawBurstModeRoll. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The RawBurstModeRoll. | ### Cr2ModifiedInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2modifiedinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ModifiedInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ModifiedInfoPackage() | Initializes a new instance of the Cr2ModifiedInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getModifiedToneCurve() | Gets the ModifiedToneCurve. | | getModifiedSharpness() | Gets the ModifiedSharpness. | | getModifiedSharpnessFreq() | Gets the ModifiedSharpnessFreq. | | getModifiedSensorRedLevel() | Gets the ModifiedSensorRedLevel. | | getModifiedSensorBlueLevel() | Gets the ModifiedSensorBlueLevel. | | getModifiedWhiteBalanceRed() | Gets the ModifiedWhiteBalanceRed. | | getModifiedWhiteBalanceBlue() | Gets the ModifiedWhiteBalanceBlue. | | getModifiedWhiteBalance() | Gets the ModifiedWhiteBalance. | | getModifiedColorTemp() | Gets the ModifiedColorTemp. | | getModifiedPictureStyle() | Gets the ModifiedPictureStyle. | | getModifiedDigitalGain() | Gets the ModifiedDigitalGain. | ##### Cr2ModifiedInfoPackage() ``` public Cr2ModifiedInfoPackage() ``` Initializes a new instance of the Cr2ModifiedInfoPackage class. ##### getModifiedToneCurve() ``` public final int getModifiedToneCurve() ``` Gets the ModifiedToneCurve. **Returns:** int - The ModifiedToneCurve. ##### getModifiedSharpness() ``` public final int getModifiedSharpness() ``` Gets the ModifiedSharpness. **Returns:** int - The ModifiedSharpness. ##### getModifiedSharpnessFreq() ``` public final int getModifiedSharpnessFreq() ``` Gets the ModifiedSharpnessFreq. **Returns:** int - The ModifiedSharpnessFreq. ##### getModifiedSensorRedLevel() ``` public final int getModifiedSensorRedLevel() ``` Gets the ModifiedSensorRedLevel. **Returns:** int - The ModifiedSensorRedLevel. ##### getModifiedSensorBlueLevel() ``` public final int getModifiedSensorBlueLevel() ``` Gets the ModifiedSensorBlueLevel. **Returns:** int - The ModifiedSensorBlueLevel. ##### getModifiedWhiteBalanceRed() ``` public final int getModifiedWhiteBalanceRed() ``` Gets the ModifiedWhiteBalanceRed. **Returns:** int - The ModifiedWhiteBalanceRed. ##### getModifiedWhiteBalanceBlue() ``` public final int getModifiedWhiteBalanceBlue() ``` Gets the ModifiedWhiteBalanceBlue. **Returns:** int - The ModifiedWhiteBalanceBlue. ##### getModifiedWhiteBalance() ``` public final int getModifiedWhiteBalance() ``` Gets the ModifiedWhiteBalance. **Returns:** int - The ModifiedWhiteBalance. ##### getModifiedColorTemp() ``` public final int getModifiedColorTemp() ``` Gets the ModifiedColorTemp. **Returns:** int - The ModifiedColorTemp. ##### getModifiedPictureStyle() ``` public final int getModifiedPictureStyle() ``` Gets the ModifiedPictureStyle. **Returns:** int - The ModifiedPictureStyle. ##### getModifiedDigitalGain() ``` public final int getModifiedDigitalGain() ``` Gets the ModifiedDigitalGain. **Returns:** int - The ModifiedDigitalGain. ### Cr2MovieInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2movieinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2MovieInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2MovieInfoPackage() | Initializes a new instance of the Cr2MovieInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getFrameRate() | Gets the FrameRate. | | getFrameCount() | Gets the FrameCount. | | getFrameCount2() | Gets the FrameCount2. | | getFrameRate2() | Gets the FrameRate. | | getDuration() | Gets the Duration. | | getAudioBitrate() | Gets the AudioBitrate. | | getAudioSampleRate() | Gets the AudioSampleRate. | | getAudioChannels() | Gets the AudioChannels. | | getVideoCodec() | Gets the VideoCodec. | ##### Cr2MovieInfoPackage() ``` public Cr2MovieInfoPackage() ``` Initializes a new instance of the Cr2MovieInfoPackage class. ##### getFrameRate() ``` public final int getFrameRate() ``` Gets the FrameRate. **Returns:** int - The FrameRate. ##### getFrameCount() ``` public final int getFrameCount() ``` Gets the FrameCount. **Returns:** int - The FrameCount. ##### getFrameCount2() ``` public final int getFrameCount2() ``` Gets the FrameCount2. **Returns:** int - The FrameCount2. ##### getFrameRate2() ``` public final float getFrameRate2() ``` Gets the FrameRate. **Returns:** float - The FrameRate. ##### getDuration() ``` public final int getDuration() ``` Gets the Duration. **Returns:** int - The Duration. ##### getAudioBitrate() ``` public final int getAudioBitrate() ``` Gets the AudioBitrate. **Returns:** int - The AudioBitrate. ##### getAudioSampleRate() ``` public final int getAudioSampleRate() ``` Gets the AudioSampleRate. **Returns:** int - The AudioSampleRate. ##### getAudioChannels() ``` public final int getAudioChannels() ``` Gets the AudioChannels. **Returns:** int - The AudioChannels. ##### getVideoCodec() ``` public final byte[] getVideoCodec() ``` Gets the VideoCodec. **Returns:** byte[] - The VideoCodec. ### Cr2MultiExpPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2multiexppackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2MultiExpPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2MultiExpPackage() | Initializes a new instance of the Cr2MultiExpPackage class. | #### Methods | Method | Description | | --- | --- | | getMultiExposure() | Gets the MultiExposure. | | getMultiExposureControl() | Gets the MultiExposureControl. | | getMultiExposureShots() | Gets the MultiExposureShots. | ##### Cr2MultiExpPackage() ``` public Cr2MultiExpPackage() ``` Initializes a new instance of the Cr2MultiExpPackage class. ##### getMultiExposure() ``` public final int getMultiExposure() ``` Gets the MultiExposure. **Returns:** int - The MultiExposure. ##### getMultiExposureControl() ``` public final int getMultiExposureControl() ``` Gets the MultiExposureControl. **Returns:** int - The MultiExposureControl. ##### getMultiExposureShots() ``` public final int getMultiExposureShots() ``` Gets the MultiExposureShots. **Returns:** int - The MultiExposureShots. ### Cr2Package Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawPackage ``` public final class Cr2Package extends RawPackage ``` Represents native CR2 metadata. [Working with DNG metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CR2+metadata #### Methods | Method | Description | | --- | --- | | getRawTiffTagPackage() | Gets the Tag Support Levels. | ##### getRawTiffTagPackage() ``` public final RawTiffTagPackage getRawTiffTagPackage() ``` Gets the Tag Support Levels. **Returns:** RawTiffTagPackage - The Tag Support Levels. ### Cr2PanoramaPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2panoramapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2PanoramaPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2PanoramaPackage() | Initializes a new instance of the Cr2PanoramaPackage class. | #### Methods | Method | Description | | --- | --- | | getPanoramaFrameNumber() | Gets the PanoramaFrameNumber. | | getPanoramaDirection() | Gets the PanoramaDirection. | ##### Cr2PanoramaPackage() ``` public Cr2PanoramaPackage() ``` Initializes a new instance of the Cr2PanoramaPackage class. ##### getPanoramaFrameNumber() ``` public final int getPanoramaFrameNumber() ``` Gets the PanoramaFrameNumber. **Returns:** int - The PanoramaFrameNumber. ##### getPanoramaDirection() ``` public final int getPanoramaDirection() ``` Gets the PanoramaDirection. **Returns:** int - The PanoramaDirection. ### Cr2PersonalFuncsPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2personalfuncspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2PersonalFuncsPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2PersonalFuncsPackage() | Initializes a new instance of the Cr2PersonalFuncsPackage class. | #### Methods | Method | Description | | --- | --- | | getPF0CustomFuncRegistration() | Gets the PF0CustomFuncRegistration. | | getPF1DisableShootingModes() | Gets the PF1DisableShootingModes. | | getPF2DisableMeteringModes() | Gets the PF2DisableMeteringModes. | | getPF3ManualExposureMetering() | Gets the PF3ManualExposureMetering. | | getPF4ExposureTimeLimits() | Gets the PF4ExposureTimeLimits. | | getPF5ApertureLimits() | Gets the PF5ApertureLimits. | | getPF6PresetShootingModes() | Gets the PF6PresetShootingModes. | | getPF7BracketContinuousShoot() | Gets the PF7BracketContinuousShoot. | | getPF8SetBracketShots() | Gets the PF8SetBracketShots. | | getPF9ChangeBracketSequence() | Gets the PF9ChangeBracketSequence. | | getPF10RetainProgramShift() | Gets the PF10RetainProgramShift. | | getPF13DrivePriority() | Gets the PF13DrivePriority. | | getPF14DisableFocusSearch() | Gets the PF14DisableFocusSearch. | | getPF15DisableAFAssistBeam() | Gets the PF15DisableAFAssistBeam. | | getPF16AutoFocusPointShoot() | Gets the PF16AutoFocusPointShoot. | | getPF17DisableAFPointSel() | Gets the PF17DisableAFPointSel. | | getPF18EnableAutoAFPointSel() | Gets the PF18EnableAutoAFPointSel. | | getPF19ContinuousShootSpeed() | Gets the PF19ContinuousShootSpeed. | | getPF20LimitContinousShots() | Gets the PF20LimitContinousShots. | | getPF21EnableQuietOperation() | Gets the PF21EnableQuietOperation. | | getPF23SetTimerLengths() | Gets the PF23SetTimerLengths. | | getPF24LightLCDDuringBulb() | Gets the PF24LightLCDDuringBulb. | | getPF25DefaultClearSettings() | Gets the PF25DefaultClearSettings. | | getPF26ShortenReleaseLag() | Gets the PF26ShortenReleaseLag. | | getPF27ReverseDialRotation() | Gets the PF27ReverseDialRotation. | | getPF28NoQuickDialExpComp() | Gets the PF28NoQuickDialExpComp. | | getPF29QuickDialSwitchOff() | Gets the PF29QuickDialSwitchOff. | | getPF30EnlargementMode() | Gets the PF30EnlargementMode. | | getPF31OriginalDecisionData() | Gets the PF31OriginalDecisionData. | ##### Cr2PersonalFuncsPackage() ``` public Cr2PersonalFuncsPackage() ``` Initializes a new instance of the Cr2PersonalFuncsPackage class. ##### getPF0CustomFuncRegistration() ``` public final int getPF0CustomFuncRegistration() ``` Gets the PF0CustomFuncRegistration. **Returns:** int - The PF0CustomFuncRegistration. ##### getPF1DisableShootingModes() ``` public final int getPF1DisableShootingModes() ``` Gets the PF1DisableShootingModes. **Returns:** int - The PF1DisableShootingModes. ##### getPF2DisableMeteringModes() ``` public final int getPF2DisableMeteringModes() ``` Gets the PF2DisableMeteringModes. **Returns:** int - The PF2DisableMeteringModes. ##### getPF3ManualExposureMetering() ``` public final int getPF3ManualExposureMetering() ``` Gets the PF3ManualExposureMetering. **Returns:** int - The PF3ManualExposureMetering. ##### getPF4ExposureTimeLimits() ``` public final int getPF4ExposureTimeLimits() ``` Gets the PF4ExposureTimeLimits. **Returns:** int - The PF4ExposureTimeLimits. ##### getPF5ApertureLimits() ``` public final int getPF5ApertureLimits() ``` Gets the PF5ApertureLimits. **Returns:** int - The PF5ApertureLimits. ##### getPF6PresetShootingModes() ``` public final int getPF6PresetShootingModes() ``` Gets the PF6PresetShootingModes. **Returns:** int - The PF6PresetShootingModes. ##### getPF7BracketContinuousShoot() ``` public final int getPF7BracketContinuousShoot() ``` Gets the PF7BracketContinuousShoot. **Returns:** int - The PF7BracketContinuousShoot. ##### getPF8SetBracketShots() ``` public final int getPF8SetBracketShots() ``` Gets the PF8SetBracketShots. **Returns:** int - The PF8SetBracketShots. ##### getPF9ChangeBracketSequence() ``` public final int getPF9ChangeBracketSequence() ``` Gets the PF9ChangeBracketSequence. **Returns:** int - The PF9ChangeBracketSequence. ##### getPF10RetainProgramShift() ``` public final int getPF10RetainProgramShift() ``` Gets the PF10RetainProgramShift. **Returns:** int - The PF10RetainProgramShift. ##### getPF13DrivePriority() ``` public final int getPF13DrivePriority() ``` Gets the PF13DrivePriority. **Returns:** int - The PF13DrivePriority. ##### getPF14DisableFocusSearch() ``` public final int getPF14DisableFocusSearch() ``` Gets the PF14DisableFocusSearch. **Returns:** int - The PF14DisableFocusSearch. ##### getPF15DisableAFAssistBeam() ``` public final int getPF15DisableAFAssistBeam() ``` Gets the PF15DisableAFAssistBeam. **Returns:** int - The PF15DisableAFAssistBeam. ##### getPF16AutoFocusPointShoot() ``` public final int getPF16AutoFocusPointShoot() ``` Gets the PF16AutoFocusPointShoot. **Returns:** int - The PF16AutoFocusPointShoot. ##### getPF17DisableAFPointSel() ``` public final int getPF17DisableAFPointSel() ``` Gets the PF17DisableAFPointSel. **Returns:** int - The PF17DisableAFPointSel. ##### getPF18EnableAutoAFPointSel() ``` public final int getPF18EnableAutoAFPointSel() ``` Gets the PF18EnableAutoAFPointSel. **Returns:** int - The PF18EnableAutoAFPointSel. ##### getPF19ContinuousShootSpeed() ``` public final int getPF19ContinuousShootSpeed() ``` Gets the PF19ContinuousShootSpeed. **Returns:** int - The PF19ContinuousShootSpeed. ##### getPF20LimitContinousShots() ``` public final int getPF20LimitContinousShots() ``` Gets the PF20LimitContinousShots. **Returns:** int - The PF20LimitContinousShots. ##### getPF21EnableQuietOperation() ``` public final int getPF21EnableQuietOperation() ``` Gets the PF21EnableQuietOperation. **Returns:** int - The PF21EnableQuietOperation. ##### getPF23SetTimerLengths() ``` public final int getPF23SetTimerLengths() ``` Gets the PF23SetTimerLengths. **Returns:** int - The PF23SetTimerLengths. ##### getPF24LightLCDDuringBulb() ``` public final int getPF24LightLCDDuringBulb() ``` Gets the PF24LightLCDDuringBulb. **Returns:** int - The PF24LightLCDDuringBulb. ##### getPF25DefaultClearSettings() ``` public final int getPF25DefaultClearSettings() ``` Gets the PF25DefaultClearSettings. **Returns:** int - The PF25DefaultClearSettings. ##### getPF26ShortenReleaseLag() ``` public final int getPF26ShortenReleaseLag() ``` Gets the PF26ShortenReleaseLag. **Returns:** int - The PF26ShortenReleaseLag. ##### getPF27ReverseDialRotation() ``` public final int getPF27ReverseDialRotation() ``` Gets the PF27ReverseDialRotation. **Returns:** int - The PF27ReverseDialRotation. ##### getPF28NoQuickDialExpComp() ``` public final int getPF28NoQuickDialExpComp() ``` Gets the PF28NoQuickDialExpComp. **Returns:** int - The PF28NoQuickDialExpComp. ##### getPF29QuickDialSwitchOff() ``` public final int getPF29QuickDialSwitchOff() ``` Gets the PF29QuickDialSwitchOff. **Returns:** int - The PF29QuickDialSwitchOff. ##### getPF30EnlargementMode() ``` public final int getPF30EnlargementMode() ``` Gets the PF30EnlargementMode. **Returns:** int - The PF30EnlargementMode. ##### getPF31OriginalDecisionData() ``` public final int getPF31OriginalDecisionData() ``` Gets the PF31OriginalDecisionData. **Returns:** int - The PF31OriginalDecisionData. ### Cr2PersonalFuncValuesPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2personalfuncvaluespackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2PersonalFuncValuesPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2PersonalFuncValuesPackage() | Initializes a new instance of the Cr2PersonalFuncValuesPackage class. | #### Methods | Method | Description | | --- | --- | | getPF1Value() | Gets the PF1Value. | | getPF2Value() | Gets the PF2Value. | | getPF3Value() | Gets the PF3Value. | | getPF4ExposureTimeMin() | Gets the PF4ExposureTimeMin. | | getPF4ExposureTimeMax() | Gets the PF4ExposureTimeMax. | | getPF5ApertureMin() | Gets the PF5ApertureMin. | | getPF5ApertureMax() | Gets the PF5ApertureMax. | | getPF8BracketShots() | Gets the PF8BracketShots. | | getPF19ShootingSpeedLow() | Gets the PF19ShootingSpeedLow. | | getPF19ShootingSpeedHigh() | Gets the PF19ShootingSpeedHigh. | | getPF20MaxContinousShots() | Gets the PF20MaxContinousShots. | | getPF23ShutterButtonTime() | Gets the PF23ShutterButtonTime. | | getPF23FELockTime() | Gets the PF23FELockTime. | | getPF23PostReleaseTime() | Gets the PF23PostReleaseTime. | | getPF25AEMode() | Gets the PF25AEMode. | | getPF25MeteringMode() | Gets the PF25MeteringMode. | | getPF25DriveMode() | Gets the PF25DriveMode. | | getPF25AFMode() | Gets the PF25AFMode. | | getPF25AFPointSel() | Gets the PF25AFPointSel. | | getPF25ImageSize() | Gets the PF25ImageSize. | | getPF25WBMode() | Gets the PF25WBMode. | | getPF25Parameters() | Gets the PF25Parameters. | | getPF25ColorMatrix() | Gets the PF25ColorMatrix. | | getPF27Value() | Gets the PF27Value. | ##### Cr2PersonalFuncValuesPackage() ``` public Cr2PersonalFuncValuesPackage() ``` Initializes a new instance of the Cr2PersonalFuncValuesPackage class. ##### getPF1Value() ``` public final int getPF1Value() ``` Gets the PF1Value. **Returns:** int - The PF1Value. ##### getPF2Value() ``` public final int getPF2Value() ``` Gets the PF2Value. **Returns:** int - The PF2Value. ##### getPF3Value() ``` public final int getPF3Value() ``` Gets the PF3Value. **Returns:** int - The PF3Value. ##### getPF4ExposureTimeMin() ``` public final int getPF4ExposureTimeMin() ``` Gets the PF4ExposureTimeMin. **Returns:** int - The PF4ExposureTimeMin. ##### getPF4ExposureTimeMax() ``` public final int getPF4ExposureTimeMax() ``` Gets the PF4ExposureTimeMax. **Returns:** int - The PF4ExposureTimeMax. ##### getPF5ApertureMin() ``` public final int getPF5ApertureMin() ``` Gets the PF5ApertureMin. **Returns:** int - The PF5ApertureMin. ##### getPF5ApertureMax() ``` public final int getPF5ApertureMax() ``` Gets the PF5ApertureMax. **Returns:** int - The PF5ApertureMax. ##### getPF8BracketShots() ``` public final int getPF8BracketShots() ``` Gets the PF8BracketShots. **Returns:** int - The PF8BracketShots. ##### getPF19ShootingSpeedLow() ``` public final int getPF19ShootingSpeedLow() ``` Gets the PF19ShootingSpeedLow. **Returns:** int - The PF19ShootingSpeedLow. ##### getPF19ShootingSpeedHigh() ``` public final int getPF19ShootingSpeedHigh() ``` Gets the PF19ShootingSpeedHigh. **Returns:** int - The PF19ShootingSpeedHigh. ##### getPF20MaxContinousShots() ``` public final int getPF20MaxContinousShots() ``` Gets the PF20MaxContinousShots. **Returns:** int - The PF20MaxContinousShots. ##### getPF23ShutterButtonTime() ``` public final int getPF23ShutterButtonTime() ``` Gets the PF23ShutterButtonTime. **Returns:** int - The PF23ShutterButtonTime. ##### getPF23FELockTime() ``` public final int getPF23FELockTime() ``` Gets the PF23FELockTime. **Returns:** int - The PF23FELockTime. ##### getPF23PostReleaseTime() ``` public final int getPF23PostReleaseTime() ``` Gets the PF23PostReleaseTime. **Returns:** int - The PF23PostReleaseTime. ##### getPF25AEMode() ``` public final int getPF25AEMode() ``` Gets the PF25AEMode. **Returns:** int - The PF25AEMode. ##### getPF25MeteringMode() ``` public final int getPF25MeteringMode() ``` Gets the PF25MeteringMode. **Returns:** int - The PF25MeteringMode. ##### getPF25DriveMode() ``` public final int getPF25DriveMode() ``` Gets the PF25DriveMode. **Returns:** int - The PF25DriveMode. ##### getPF25AFMode() ``` public final int getPF25AFMode() ``` Gets the PF25AFMode. **Returns:** int - The PF25AFMode. ##### getPF25AFPointSel() ``` public final int getPF25AFPointSel() ``` Gets the PF25AFPointSel. **Returns:** int - The PF25AFPointSel. ##### getPF25ImageSize() ``` public final int getPF25ImageSize() ``` Gets the PF25ImageSize. **Returns:** int - The PF25ImageSize. ##### getPF25WBMode() ``` public final int getPF25WBMode() ``` Gets the PF25WBMode. **Returns:** int - The PF25WBMode. ##### getPF25Parameters() ``` public final int getPF25Parameters() ``` Gets the PF25Parameters. **Returns:** int - The PF25Parameters. ##### getPF25ColorMatrix() ``` public final int getPF25ColorMatrix() ``` Gets the PF25ColorMatrix. **Returns:** int - The PF25ColorMatrix. ##### getPF27Value() ``` public final int getPF27Value() ``` Gets the PF27Value. **Returns:** int - The PF27Value. ### Cr2ProcessingPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2processingpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ProcessingPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ProcessingPackage() | Initializes a new instance of the Cr2ProcessingPackage class. | #### Methods | Method | Description | | --- | --- | | getToneCurve() | Gets the ToneCurve. | | getSharpness() | Gets the Sharpness. | | getSharpnessFrequency() | Gets the SharpnessFrequency. | | getSensorRedLevel() | Gets the SensorRedLevel. | | getSensorBlueLevel() | Gets the SensorBlueLevel. | | getWhiteBalanceRed() | Gets the WhiteBalanceRed. | | getWhiteBalanceBlue() | Gets the WhiteBalanceBlue. | | getWhiteBalance() | Gets the WhiteBalance. | | getColorTemperature() | Gets the ColorTemperature. | | getPictureStyle() | Gets the PictureStyle. | | getDigitalGain() | Gets the DigitalGain. | | getWBShiftAB() | Gets the WBShiftAB. | | getWBShiftGM() | Gets the WBShiftGM. | ##### Cr2ProcessingPackage() ``` public Cr2ProcessingPackage() ``` Initializes a new instance of the Cr2ProcessingPackage class. ##### getToneCurve() ``` public final int getToneCurve() ``` Gets the ToneCurve. **Returns:** int - The ToneCurve. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getSharpnessFrequency() ``` public final int getSharpnessFrequency() ``` Gets the SharpnessFrequency. **Returns:** int - The SharpnessFrequency. ##### getSensorRedLevel() ``` public final int getSensorRedLevel() ``` Gets the SensorRedLevel. **Returns:** int - The SensorRedLevel. ##### getSensorBlueLevel() ``` public final int getSensorBlueLevel() ``` Gets the SensorBlueLevel. **Returns:** int - The SensorBlueLevel. ##### getWhiteBalanceRed() ``` public final int getWhiteBalanceRed() ``` Gets the WhiteBalanceRed. **Returns:** int - The WhiteBalanceRed. ##### getWhiteBalanceBlue() ``` public final int getWhiteBalanceBlue() ``` Gets the WhiteBalanceBlue. **Returns:** int - The WhiteBalanceBlue. ##### getWhiteBalance() ``` public final int getWhiteBalance() ``` Gets the WhiteBalance. **Returns:** int - The WhiteBalance. ##### getColorTemperature() ``` public final int getColorTemperature() ``` Gets the ColorTemperature. **Returns:** int - The ColorTemperature. ##### getPictureStyle() ``` public final int getPictureStyle() ``` Gets the PictureStyle. **Returns:** int - The PictureStyle. ##### getDigitalGain() ``` public final int getDigitalGain() ``` Gets the DigitalGain. **Returns:** int - The DigitalGain. ##### getWBShiftAB() ``` public final int getWBShiftAB() ``` Gets the WBShiftAB. **Returns:** int - The WBShiftAB. ##### getWBShiftGM() ``` public final int getWBShiftGM() ``` Gets the WBShiftGM. **Returns:** int - The WBShiftGM. ### Cr2RootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2rootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class Cr2RootPackage extends RootMetadataPackage ``` Represents an entry point to all metadata packages presented in a particular file CR2. #### Methods | Method | Description | | --- | --- | | getCr2Package() | Gets the CR2 header metadata package. | ##### getCr2Package() ``` public final Cr2Package getCr2Package() ``` Gets the CR2 header metadata package. **Returns:** Cr2Package - The CR2 header metadata package. ### Cr2SensorInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2sensorinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2SensorInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2SensorInfoPackage() | Initializes a new instance of the Cr2SensorInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getSensorWidth() | Gets the SensorWidth. | | getSensorHeight() | Gets the SensorHeight. | | getSensorLeftBorder() | Gets the SensorLeftBorder. | | getSensorTopBorder() | Gets the SensorTopBorder. | | getSensorRightBorder() | Gets the SensorRightBorder. | | getSensorBottomBorder() | Gets the SensorBottomBorder. | | getBlackMaskLeftBorder() | Gets the BlackMaskLeftBorder. | | getBlackMaskTopBorder() | Gets the BlackMaskTopBorder. | | getBlackMaskRightBorder() | Gets the BlackMaskRightBorder. | | getBlackMaskBottomBorder() | Gets the BlackMaskBottomBorder. | ##### Cr2SensorInfoPackage() ``` public Cr2SensorInfoPackage() ``` Initializes a new instance of the Cr2SensorInfoPackage class. ##### getSensorWidth() ``` public final int getSensorWidth() ``` Gets the SensorWidth. **Returns:** int - The SensorWidth. ##### getSensorHeight() ``` public final int getSensorHeight() ``` Gets the SensorHeight. **Returns:** int - The SensorHeight. ##### getSensorLeftBorder() ``` public final int getSensorLeftBorder() ``` Gets the SensorLeftBorder. **Returns:** int - The SensorLeftBorder. ##### getSensorTopBorder() ``` public final int getSensorTopBorder() ``` Gets the SensorTopBorder. **Returns:** int - The SensorTopBorder. ##### getSensorRightBorder() ``` public final int getSensorRightBorder() ``` Gets the SensorRightBorder. **Returns:** int - The SensorRightBorder. ##### getSensorBottomBorder() ``` public final int getSensorBottomBorder() ``` Gets the SensorBottomBorder. **Returns:** int - The SensorBottomBorder. ##### getBlackMaskLeftBorder() ``` public final int getBlackMaskLeftBorder() ``` Gets the BlackMaskLeftBorder. **Returns:** int - The BlackMaskLeftBorder. ##### getBlackMaskTopBorder() ``` public final int getBlackMaskTopBorder() ``` Gets the BlackMaskTopBorder. **Returns:** int - The BlackMaskTopBorder. ##### getBlackMaskRightBorder() ``` public final int getBlackMaskRightBorder() ``` Gets the BlackMaskRightBorder. **Returns:** int - The BlackMaskRightBorder. ##### getBlackMaskBottomBorder() ``` public final int getBlackMaskBottomBorder() ``` Gets the BlackMaskBottomBorder. **Returns:** int - The BlackMaskBottomBorder. ### Cr2ShotInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2shotinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ShotInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ShotInfoPackage() | Initializes a new instance of the Cr2ShotInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getAutoISO() | Gets the AutoISO. | | getBaseISO() | Gets the BaseISO. | | getMeasuredEV() | Gets the MeasuredEV. | | getTargetAperture() | Gets the TargetAperture. | | getTargetExposureTime() | Gets the TargetExposureTime. | | getExposureCompensation() | Gets the ExposureCompensation. | | getWhiteBalance() | Gets the WhiteBalance. | | getSlowShutter() | Gets the SlowShutter. | | getSequenceNumber() | Gets the SequenceNumber. | | getOpticalZoomCode() | Gets the OpticalZoomCode. | | getCameraTemperature() | Gets the CameraTemperature. | | getFlashGuideNumber() | Gets the FlashGuideNumber. | | getAFPointsInFocus() | Gets the AFPointsInFocus. | | getFlashExposureComp() | Gets the FlashExposureComp. | | getAutoExposureBracketing() | Gets the AutoExposureBracketing. | | getAEBBracketValue() | Gets the AEBBracketValue. | | getControlMode() | Gets the ControlMode. | | getFocusDistanceUpper() | Gets the FocusDistanceUpper. | | getFocusDistanceLower() | Gets the FocusDistanceLower. | | getFNumber() | Gets the FNumber. | | getExposureTime() | Gets the ExposureTime. | | getMeasuredEV2() | Gets the MeasuredEV2. | | getBulbDuration() | Gets the BulbDuration. | | getCameraType() | Gets the CameraType. | | getAutoRotate() | Gets the AutoRotate. | | getNDFilter() | Gets the NDFilter. | | getSelfTimer2() | Gets the SelfTimer2. | | getFlashOutput() | Gets the FlashOutput. | ##### Cr2ShotInfoPackage() ``` public Cr2ShotInfoPackage() ``` Initializes a new instance of the Cr2ShotInfoPackage class. ##### getAutoISO() ``` public final int getAutoISO() ``` Gets the AutoISO. **Returns:** int - The AutoISO. ##### getBaseISO() ``` public final int getBaseISO() ``` Gets the BaseISO. **Returns:** int - The BaseISO. ##### getMeasuredEV() ``` public final int getMeasuredEV() ``` Gets the MeasuredEV. **Returns:** int - The MeasuredEV. ##### getTargetAperture() ``` public final int getTargetAperture() ``` Gets the TargetAperture. **Returns:** int - The TargetAperture. ##### getTargetExposureTime() ``` public final int getTargetExposureTime() ``` Gets the TargetExposureTime. **Returns:** int - The TargetExposureTime. ##### getExposureCompensation() ``` public final int getExposureCompensation() ``` Gets the ExposureCompensation. **Returns:** int - The ExposureCompensation. ##### getWhiteBalance() ``` public final int getWhiteBalance() ``` Gets the WhiteBalance. **Returns:** int - The WhiteBalance. ##### getSlowShutter() ``` public final int getSlowShutter() ``` Gets the SlowShutter. **Returns:** int - The SlowShutter. ##### getSequenceNumber() ``` public final int getSequenceNumber() ``` Gets the SequenceNumber. **Returns:** int - The SequenceNumber. ##### getOpticalZoomCode() ``` public final int getOpticalZoomCode() ``` Gets the OpticalZoomCode. **Returns:** int - The OpticalZoomCode. ##### getCameraTemperature() ``` public final int getCameraTemperature() ``` Gets the CameraTemperature. **Returns:** int - The CameraTemperature. ##### getFlashGuideNumber() ``` public final int getFlashGuideNumber() ``` Gets the FlashGuideNumber. **Returns:** int - The FlashGuideNumber. ##### getAFPointsInFocus() ``` public final int getAFPointsInFocus() ``` Gets the AFPointsInFocus. **Returns:** int - The AFPointsInFocus. ##### getFlashExposureComp() ``` public final int getFlashExposureComp() ``` Gets the FlashExposureComp. **Returns:** int - The FlashExposureComp. ##### getAutoExposureBracketing() ``` public final int getAutoExposureBracketing() ``` Gets the AutoExposureBracketing. **Returns:** int - The AutoExposureBracketing. ##### getAEBBracketValue() ``` public final int getAEBBracketValue() ``` Gets the AEBBracketValue. **Returns:** int - The AEBBracketValue. ##### getControlMode() ``` public final int getControlMode() ``` Gets the ControlMode. **Returns:** int - The ControlMode. ##### getFocusDistanceUpper() ``` public final int getFocusDistanceUpper() ``` Gets the FocusDistanceUpper. **Returns:** int - The FocusDistanceUpper. ##### getFocusDistanceLower() ``` public final int getFocusDistanceLower() ``` Gets the FocusDistanceLower. **Returns:** int - The FocusDistanceLower. ##### getFNumber() ``` public final int getFNumber() ``` Gets the FNumber. **Returns:** int - The FNumber. ##### getExposureTime() ``` public final int getExposureTime() ``` Gets the ExposureTime. **Returns:** int - The ExposureTime. ##### getMeasuredEV2() ``` public final int getMeasuredEV2() ``` Gets the MeasuredEV2. **Returns:** int - The MeasuredEV2. ##### getBulbDuration() ``` public final int getBulbDuration() ``` Gets the BulbDuration. **Returns:** int - The BulbDuration. ##### getCameraType() ``` public final int getCameraType() ``` Gets the CameraType. **Returns:** int - The CameraType. ##### getAutoRotate() ``` public final int getAutoRotate() ``` Gets the AutoRotate. **Returns:** int - The AutoRotate. ##### getNDFilter() ``` public final int getNDFilter() ``` Gets the NDFilter. **Returns:** int - The NDFilter. ##### getSelfTimer2() ``` public final int getSelfTimer2() ``` Gets the SelfTimer2. **Returns:** int - The SelfTimer2. ##### getFlashOutput() ``` public final int getFlashOutput() ``` Gets the FlashOutput. **Returns:** int - The FlashOutput. ### Cr2TimeInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2timeinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2TimeInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2TimeInfoPackage() | Initializes a new instance of the Cr2TimeInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getTimeZone() | Gets the TimeZone. | | getTimeZoneCity() | Gets the TimeZoneCity. | | getDaylightSavings() | Gets the DaylightSavings. | ##### Cr2TimeInfoPackage() ``` public Cr2TimeInfoPackage() ``` Initializes a new instance of the Cr2TimeInfoPackage class. ##### getTimeZone() ``` public final int getTimeZone() ``` Gets the TimeZone. **Returns:** int - The TimeZone. ##### getTimeZoneCity() ``` public final int getTimeZoneCity() ``` Gets the TimeZoneCity. **Returns:** int - The TimeZoneCity. ##### getDaylightSavings() ``` public final int getDaylightSavings() ``` Gets the DaylightSavings. **Returns:** int - The DaylightSavings. ### Cr2VignettingCorr2Package Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2vignettingcorr2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2VignettingCorr2Package extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2VignettingCorr2Package() | Initializes a new instance of the Cr2VignettingCorr2Package class. | #### Methods | Method | Description | | --- | --- | | getPeripheralLightingSetting() | Gets the PeripheralLightingSetting. | | getChromaticAberrationSetting() | Gets the ChromaticAberrationSetting. | | getDistortionCorrectionSetting() | Gets the DistortionCorrectionSetting. | | getDigitalLensOptimizerSetting() | Gets the DigitalLensOptimizerSetting. | ##### Cr2VignettingCorr2Package() ``` public Cr2VignettingCorr2Package() ``` Initializes a new instance of the Cr2VignettingCorr2Package class. ##### getPeripheralLightingSetting() ``` public final int getPeripheralLightingSetting() ``` Gets the PeripheralLightingSetting. **Returns:** int - The PeripheralLightingSetting. ##### getChromaticAberrationSetting() ``` public final int getChromaticAberrationSetting() ``` Gets the ChromaticAberrationSetting. **Returns:** int - The ChromaticAberrationSetting. ##### getDistortionCorrectionSetting() ``` public final int getDistortionCorrectionSetting() ``` Gets the DistortionCorrectionSetting. **Returns:** int - The DistortionCorrectionSetting. ##### getDigitalLensOptimizerSetting() ``` public final int getDigitalLensOptimizerSetting() ``` Gets the DigitalLensOptimizerSetting. **Returns:** int - The DigitalLensOptimizerSetting. ### Cr2WBInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/cr2wbinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2WBInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2WBInfoPackage() | Initializes a new instance of the Cr2WBInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getWB_GRBGLevelsAuto() | Gets the WB\_GRBGLevelsAuto. | | getWB_GRBGLevelsDaylight() | Gets the WB\_GRBGLevelsDaylight. | | getWB_GRBGLevelsCloudy() | Gets the WB\_GRBGLevelsCloudy. | | getWB_GRBGLevelsTungsten() | Gets the WB\_GRBGLevelsTungsten. | | getWB_GRBGLevelsFluorescent() | Gets the WB\_GRBGLevelsFluorescent. | | getWB_GRBGLevelsFluorHigh() | Gets the WB\_GRBGLevelsFluorHigh. | | getWB_GRBGLevelsFlash() | Gets the WB\_GRBGLevelsFlash. | | getWB_GRBGLevelsUnderwater() | Gets the WB\_GRBGLevelsUnderwater. | | getWB_GRBGLevelsCustom1() | Gets the WB\_GRBGLevelsCustom1. | | getWB_GRBGLevelsCustom2() | Gets the WB\_GRBGLevelsCustom2. | ##### Cr2WBInfoPackage() ``` public Cr2WBInfoPackage() ``` Initializes a new instance of the Cr2WBInfoPackage class. ##### getWB_GRBGLevelsAuto() ``` public final int[] getWB_GRBGLevelsAuto() ``` Gets the WB\_GRBGLevelsAuto. **Returns:** int[] - The WB\_GRBGLevelsAuto. ##### getWB_GRBGLevelsDaylight() ``` public final int[] getWB_GRBGLevelsDaylight() ``` Gets the WB\_GRBGLevelsDaylight. **Returns:** int[] - The WB\_GRBGLevelsDaylight. ##### getWB_GRBGLevelsCloudy() ``` public final int[] getWB_GRBGLevelsCloudy() ``` Gets the WB\_GRBGLevelsCloudy. **Returns:** int[] - The WB\_GRBGLevelsCloudy. ##### getWB_GRBGLevelsTungsten() ``` public final int[] getWB_GRBGLevelsTungsten() ``` Gets the WB\_GRBGLevelsTungsten. **Returns:** int[] - The WB\_GRBGLevelsTungsten. ##### getWB_GRBGLevelsFluorescent() ``` public final int[] getWB_GRBGLevelsFluorescent() ``` Gets the WB\_GRBGLevelsFluorescent. **Returns:** int[] - The WB\_GRBGLevelsFluorescent. ##### getWB_GRBGLevelsFluorHigh() ``` public final int[] getWB_GRBGLevelsFluorHigh() ``` Gets the WB\_GRBGLevelsFluorHigh. **Returns:** int[] - The WB\_GRBGLevelsFluorHigh. ##### getWB_GRBGLevelsFlash() ``` public final int[] getWB_GRBGLevelsFlash() ``` Gets the WB\_GRBGLevelsFlash. **Returns:** int[] - The WB\_GRBGLevelsFlash. ##### getWB_GRBGLevelsUnderwater() ``` public final int[] getWB_GRBGLevelsUnderwater() ``` Gets the WB\_GRBGLevelsUnderwater. **Returns:** int[] - The WB\_GRBGLevelsUnderwater. ##### getWB_GRBGLevelsCustom1() ``` public final int[] getWB_GRBGLevelsCustom1() ``` Gets the WB\_GRBGLevelsCustom1. **Returns:** int[] - The WB\_GRBGLevelsCustom1. ##### getWB_GRBGLevelsCustom2() ``` public final int[] getWB_GRBGLevelsCustom2() ``` Gets the WB\_GRBGLevelsCustom2. **Returns:** int[] - The WB\_GRBGLevelsCustom2. ### CustomPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/custompackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage ``` public abstract class CustomPackage extends MetadataPackage ``` Provides a container for metadata properties. ### DiagramFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/diagramformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum DiagramFormat extends Enum implements IEnumValue ``` Defines various diagram subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Vdx | Represents the .VDX Visio format. | | Vsd | Represents the .VSD Visio format. | | Vsdx | Represents the .VSDX Visio format. | | Vss | Represents the .VSS Visio format. | | Vsx | Represents the .VSX Visio format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final DiagramFormat Unknown ``` The format is not recognized. ##### Vdx ``` public static final DiagramFormat Vdx ``` Represents the .VDX Visio format. Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vdx/ ##### Vsd ``` public static final DiagramFormat Vsd ``` Represents the .VSD Visio format. VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Such drawings can contain visual objects such as visual objects, flow charts, UML diagram, information flow, organizational charts, software diagrams, network layout, database models, objects mapping and other similar information. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vsd/ ##### Vsdx ``` public static final DiagramFormat Vsdx ``` Represents the .VSDX Visio format. Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vsdx/ ##### Vss ``` public static final DiagramFormat Vss ``` Represents the .VSS Visio format. VSS are stencil files created with Microsoft Visio 2007 and earlier. A relatively new file format is .VSSX that was introduced with Microsoft Visio 2013. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vss/ ##### Vsx ``` public static final DiagramFormat Vsx ``` Represents the .VSX Visio format. Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vsx/ ##### values() ``` public static DiagramFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.DiagramFormat[] ##### valueOf(String name) ``` public static DiagramFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** DiagramFormat ##### getByRawValue(int rawValue) ``` public static DiagramFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** DiagramFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### DiagramPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/diagrampackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class DiagramPackage extends DocumentPackage ``` Represents a native metadata package in a diagram format. The following code sample demonstrates how to update built-in metadata properties in a diagram document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputVdx)) { > DiagramRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setCreator("test author"); > root.getDocumentProperties().setTimeCreated(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputVdx); > } > > ``` > ``` [Working with metadata in Diagrams]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Diagrams #### Methods | Method | Description | | --- | --- | | getAlternateNames() | Gets the alternate names for the document. | | setAlternateNames(String value) | Sets the alternate names for the document. | | getBuildNumberCreated() | Gets the full build number of the instance used to create the document. | | getBuildNumberEdited() | Gets the build number of the instance last used to edit the document. | | getCategory() | Gets the descriptive text for the type of drawing, such as flowchart or office layout. | | setCategory(String value) | Sets the descriptive text for the type of drawing, such as flowchart or office layout. | | getCompany() | Gets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. | | setCompany(String value) | Sets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. | | getCreator() | Gets the person who created or last updated the file. | | setCreator(String value) | Sets the person who created or last updated the file. | | getDescription() | Gets a descriptive text string for the document. | | setDescription(String value) | Sets a descriptive text string for the document. | | getHyperlinkBase() | Gets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). | | setHyperlinkBase(String value) | Sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). | | getKeywords() | Gets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. | | setKeywords(String value) | Sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. | | getLanguage() | Gets the language of the document. | | setLanguage(String value) | Sets the language of the document. | | getManager() | Gets a user-entered text string identifying the person in charge of the project or department. | | setManager(String value) | Sets a user-entered text string identifying the person in charge of the project or department. | | getPreviewPicture() | Gets the preview picture. | | setPreviewPicture(byte[] value) | Sets the preview picture. | | getSubject() | Gets a user-defined text string that describes the contents of the document. | | setSubject(String value) | Sets a user-defined text string that describes the contents of the document. | | getTemplate() | Gets a string value specifying the file name of the template from which the document was created. | | setTemplate(String value) | Sets a string value specifying the file name of the template from which the document was created. | | getTimeCreated() | Gets a date and time value indicating when the document was created. | | setTimeCreated(Date value) | Sets a date and time value indicating when the document was created. | | getTimeEdited() | Gets a date and time value indicating when the document was last edited. | | getTimePrinted() | Gets a date and time value indicating when the document was last printed. | | getTimeSaved() | Gets a date and time value indicating when the document was last saved. | | getTitle() | Gets a user-defined text string that serves as a descriptive title for the document. | | setTitle(String value) | Sets a user-defined text string that serves as a descriptive title for the document. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | ##### getAlternateNames() ``` public final String getAlternateNames() ``` Gets the alternate names for the document. Can be updated in VDX and VSX formats only. **Returns:** java.lang.String - The alternate names for the document. ##### setAlternateNames(String value) ``` public final void setAlternateNames(String value) ``` Sets the alternate names for the document. Can be updated in VDX and VSX formats only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The alternate names for the document. | ##### getBuildNumberCreated() ``` public final String getBuildNumberCreated() ``` Gets the full build number of the instance used to create the document. **Returns:** java.lang.String - The full build number of the instance used to create the document. ##### getBuildNumberEdited() ``` public final String getBuildNumberEdited() ``` Gets the build number of the instance last used to edit the document. **Returns:** java.lang.String - The build number of the instance last used to edit the document. ##### getCategory() ``` public final String getCategory() ``` Gets the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. **Returns:** java.lang.String - The descriptive text for the type of drawing, such as flowchart or office layout. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The descriptive text for the type of drawing, such as flowchart or office layout. | ##### getCompany() ``` public final String getCompany() ``` Gets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters. **Returns:** java.lang.String - The user-entered information identifying the company creating the drawing or the company the drawing is being created for. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user-entered information identifying the company creating the drawing or the company the drawing is being created for. | ##### getCreator() ``` public final String getCreator() ``` Gets the person who created or last updated the file. The maximum length is 63 characters.. **Returns:** java.lang.String - The person who created or last updated the file. ##### setCreator(String value) ``` public final void setCreator(String value) ``` Sets the person who created or last updated the file. The maximum length is 63 characters.. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The person who created or last updated the file. | ##### getDescription() ``` public final String getDescription() ``` Gets a descriptive text string for the document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters. **Returns:** java.lang.String - A descriptive text string for the document. ##### setDescription(String value) ``` public final void setDescription(String value) ``` Sets a descriptive text string for the document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A descriptive text string for the document. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters. **Returns:** java.lang.String - The path to be used for relative hyperlinks. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The path to be used for relative hyperlinks. | ##### getKeywords() ``` public final String getKeywords() ``` Gets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters. **Returns:** java.lang.String - A text string that identifies topics or other important information about the file, such as project name, client name, or version number. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A text string that identifies topics or other important information about the file, such as project name, client name, or version number. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the document. Can be updated in VSD and VSDX formats only. **Returns:** java.lang.String - The language of the document. ##### setLanguage(String value) ``` public final void setLanguage(String value) ``` Sets the language of the document. Can be updated in VSD and VSDX formats only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The language of the document. | ##### getManager() ``` public final String getManager() ``` Gets a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters. **Returns:** java.lang.String - A user-entered text string identifying the person in charge of the project or department. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A user-entered text string identifying the person in charge of the project or department. | ##### getPreviewPicture() ``` public final byte[] getPreviewPicture() ``` Gets the preview picture. **Returns:** byte[] - The preview picture. ##### setPreviewPicture(byte[] value) ``` public final void setPreviewPicture(byte[] value) ``` Sets the preview picture. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The preview picture. | ##### getSubject() ``` public final String getSubject() ``` Gets a user-defined text string that describes the contents of the document. Maximum length is 63 characters. **Returns:** java.lang.String - A user-defined text string that describes the contents of the document. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets a user-defined text string that describes the contents of the document. Maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A user-defined text string that describes the contents of the document. | ##### getTemplate() ``` public final String getTemplate() ``` Gets a string value specifying the file name of the template from which the document was created. **Returns:** java.lang.String - A string value specifying the file name of the template from which the document was created. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets a string value specifying the file name of the template from which the document was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A string value specifying the file name of the template from which the document was created. | ##### getTimeCreated() ``` public final Date getTimeCreated() ``` Gets a date and time value indicating when the document was created. **Returns:** java.util.Date - A date and time value indicating when the document was created. ##### setTimeCreated(Date value) ``` public final void setTimeCreated(Date value) ``` Sets a date and time value indicating when the document was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | A date and time value indicating when the document was created. | ##### getTimeEdited() ``` public final Date getTimeEdited() ``` Gets a date and time value indicating when the document was last edited. **Returns:** java.util.Date - A date and time value indicating when the document was last edited. ##### getTimePrinted() ``` public final Date getTimePrinted() ``` Gets a date and time value indicating when the document was last printed. **Returns:** java.util.Date - A date and time value indicating when the document was last printed. ##### getTimeSaved() ``` public final Date getTimeSaved() ``` Gets a date and time value indicating when the document was last saved. **Returns:** java.util.Date - A date and time value indicating when the document was last saved. ##### getTitle() ``` public final String getTitle() ``` Gets a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters. **Returns:** java.lang.String - A user-defined text string that serves as a descriptive title for the document. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A user-defined text string that serves as a descriptive title for the document. | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ### DiagramRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/diagramrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class DiagramRootPackage extends DocumentRootPackage ``` Represents the root package intended to work with metadata in a diagram. This code sample demonstrates how to extract built-in metadata properties from a diagram. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputVsdx)) { > DiagramRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getCreator()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getLanguage()); > System.out.println(root.getDocumentProperties().getTimeCreated()); > System.out.println(root.getDocumentProperties().getCategory()); > // ... > } > > ``` > ``` [Working with metadata in Diagrams]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Diagrams #### Methods | Method | Description | | --- | --- | | getDiagramType() | Gets the file type metadata package. | | getDocumentStatistics() | Gets the document statistics package. | ##### getDiagramType() ``` public final DiagramTypePackage getDiagramType() ``` Gets the file type metadata package. **Returns:** DiagramTypePackage - The file type metadata package. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ### DiagramTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/diagramtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class DiagramTypePackage extends FileTypePackage ``` Represents a metadata package containing diagram-specific file format information. #### Methods | Method | Description | | --- | --- | | getDiagramFormat() | Gets the exact diagram format. | ##### getDiagramFormat() ``` public final DiagramFormat getDiagramFormat() ``` Gets the exact diagram format. **Returns:** DiagramFormat - The exact diagram format. ### DicomPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/dicompackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class DicomPackage extends CustomPackage ``` Represents native DICOM metadata. [Working with DICOM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+DICOM+metadata #### Constructors | Constructor | Description | | --- | --- | | DicomPackage() | Initializes a new instance of the Metadata class. | #### Methods | Method | Description | | --- | --- | | getHeaderOffset() | Gets the header offset. | | getHeaderBytes() | Gets the header information by bytes. | | getBitsAllocated() | Gets the bits allocated value. | | getDicomInfo() | Gets the header information of the DICOM file. | | getBlues() | Gets the array colors of the blue. | | getGreens() | Gets the array colors of the green. | | getReds() | Gets the array colors of the red. | | getNumberOfFrames() | Gets the number of frames. | ##### DicomPackage() ``` public DicomPackage() ``` Initializes a new instance of the Metadata class. ##### getHeaderOffset() ``` public final int getHeaderOffset() ``` Gets the header offset. Value: The header offset. **Returns:** int ##### getHeaderBytes() ``` public final Byte[] getHeaderBytes() ``` Gets the header information by bytes. Value: The header bytes. **Returns:** java.lang.Byte[] ##### getBitsAllocated() ``` public final int getBitsAllocated() ``` Gets the bits allocated value. **Returns:** int - The bits allocated. ##### getDicomInfo() ``` public final String[] getDicomInfo() ``` Gets the header information of the DICOM file. **Returns:** java.lang.String[] - The dicom header information. ##### getBlues() ``` public final byte[] getBlues() ``` Gets the array colors of the blue. **Returns:** byte[] - The blue colors. ##### getGreens() ``` public final byte[] getGreens() ``` Gets the array colors of the green. **Returns:** byte[] - The green colors. ##### getReds() ``` public final byte[] getReds() ``` Gets the array colors of the red. **Returns:** byte[] - The red colors. ##### getNumberOfFrames() ``` public final int getNumberOfFrames() ``` Gets the number of frames. **Returns:** int - The number of frames. ### DicomRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/dicomrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class DicomRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a DICOM image. This example demonstrates how to read DICOM format-specific metadata properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDicom)) { > DicomRootPackage root = metadata.getRootPackageGeneric(); > if (root.getDicomPackage() != null) { > System.out.println(root.getDicomPackage().getBitsAllocated()); > System.out.println(root.getDicomPackage().getReds()); > System.out.println(root.getDicomPackage().getGreens()); > System.out.println(root.getDicomPackage().getBlues()); > System.out.println(root.getDicomPackage().getNumberOfFrames()); > // ... > } > } > > ``` > ``` [Working with DICOM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+DICOM+metadata #### Methods | Method | Description | | --- | --- | | getDicomPackage() | Gets the DICOM native metadata package. | ##### getDicomPackage() ``` public final DicomPackage getDicomPackage() ``` Gets the DICOM native metadata package. **Returns:** DicomPackage - The DICOM native metadata package. ### DigitalSignature Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/digitalsignature.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class DigitalSignature extends CustomPackage ``` Represents a digital signature used to sign a document. #### Methods | Method | Description | | --- | --- | | getComments() | Gets the signing purpose comment. | | isValid() | Gets a value indicating whether the signature is valid. | | getSignTime() | Gets the time the document was signed. | | getCertificateSubject() | Gets the subject distinguished name from a certificate. | | getCertificateRawData() | Gets the certificate raw data. | ##### getComments() ``` public final String getComments() ``` Gets the signing purpose comment. **Returns:** java.lang.String - The signing purpose comment. ##### isValid() ``` public Boolean isValid() ``` Gets a value indicating whether the signature is valid. **Returns:** java.lang.Boolean - True if the the signature is valid; otherwise, false. Null indicates that validation is unavailable for the signature. ##### getSignTime() ``` public Date getSignTime() ``` Gets the time the document was signed. **Returns:** java.util.Date - The time the document was signed. ##### getCertificateSubject() ``` public final String getCertificateSubject() ``` Gets the subject distinguished name from a certificate. **Returns:** java.lang.String - The subject distinguished name from a certificate. ##### getCertificateRawData() ``` public final byte[] getCertificateRawData() ``` Gets the certificate raw data. **Returns:** byte[] - The certificate raw data. ### DisposableWrapper Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/disposablewrapper.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IDisposable ``` public abstract class DisposableWrapper implements System.IDisposable ``` #### Methods | Method | Description | | --- | --- | | dispose() | | ##### dispose() ``` public void dispose() ``` ### DjVuRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/djvurootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class DjVuRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in an DjVu image. ### DngPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/dngpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class DngPackage extends CustomPackage ``` Represents native DNG metadata. [Working with DNG metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+DNG+metadata #### Constructors | Constructor | Description | | --- | --- | | DngPackage() | Initializes a new instance of the Metadata class. | #### Methods | Method | Description | | --- | --- | | getCameraManufacturer() | Gets the camera manufacturer. | | getColorsCount() | Gets the colors. | | getDescription() | Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). | | getDngVersion() | Gets the DNG version. | | getFilters() | Gets the Bit mask describing the order of color pixels in the matrix. | | isFoveon() | Gets the is foveon matrix. | | getModel() | Gets the camera model. | | getRawCount() | Gets the number of RAW images in file (0 means that the file has not been recognized). | | getSoftware() | Gets the software. | | getTranslationCfaDng() | Gets the translation array for CFA mosaic DNG format. | | getAperture() | Gets the aperture. | | getArtist() | Gets the author of image. | | getFocalLength() | Gets the length of the focal. | | getGpsData() | Gets the GPS data. | | getIsoSpeed() | Gets the ISO sensitivity. | | getShotOrder() | Gets serial number of image. | | getShutterSpeed() | Gets the shutter speed. | | getTimestamp() | Gets the date of shooting. | ##### DngPackage() ``` public DngPackage() ``` Initializes a new instance of the Metadata class. ##### getCameraManufacturer() ``` public final String getCameraManufacturer() ``` Gets the camera manufacturer. **Returns:** java.lang.String - The make. ##### getColorsCount() ``` public final int getColorsCount() ``` Gets the colors. **Returns:** int - The colors. ##### getDescription() ``` public final String getDescription() ``` Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). **Returns:** java.lang.String - The cdesc. ##### getDngVersion() ``` public final long getDngVersion() ``` Gets the DNG version. **Returns:** long - The DNG version. ##### getFilters() ``` public final long getFilters() ``` Gets the Bit mask describing the order of color pixels in the matrix. **Returns:** long - The filters. ##### isFoveon() ``` public final long isFoveon() ``` Gets the is foveon matrix. **Returns:** long - The is foveon. ##### getModel() ``` public final String getModel() ``` Gets the camera model. **Returns:** java.lang.String - The model. ##### getRawCount() ``` public final long getRawCount() ``` Gets the number of RAW images in file (0 means that the file has not been recognized). **Returns:** long - The raw count. ##### getSoftware() ``` public final String getSoftware() ``` Gets the software. **Returns:** java.lang.String - The software. ##### getTranslationCfaDng() ``` public final String[] getTranslationCfaDng() ``` Gets the translation array for CFA mosaic DNG format. **Returns:** java.lang.String[] - The xtrans. ##### getAperture() ``` public final float getAperture() ``` Gets the aperture. **Returns:** float - The aperture. ##### getArtist() ``` public final String getArtist() ``` Gets the author of image. **Returns:** java.lang.String - The artist. ##### getFocalLength() ``` public final float getFocalLength() ``` Gets the length of the focal. **Returns:** float - The length of the focal. ##### getGpsData() ``` public final long[] getGpsData() ``` Gets the GPS data. **Returns:** long[] - The GPS data. ##### getIsoSpeed() ``` public final float getIsoSpeed() ``` Gets the ISO sensitivity. **Returns:** float - The ISO speed. ##### getShotOrder() ``` public final long getShotOrder() ``` Gets serial number of image. **Returns:** long - The shot order. ##### getShutterSpeed() ``` public final float getShutterSpeed() ``` Gets the shutter speed. **Returns:** float - The shutter. ##### getTimestamp() ``` public final long getTimestamp() ``` Gets the date of shooting. **Returns:** long - The timestamp. ### DngRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/dngrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class DngRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a DNG image. [Working with metadata in DNG images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+DNG+images #### Methods | Method | Description | | --- | --- | | getDngPackage() | Gets the DNG header metadata package. | ##### getDngPackage() ``` public final DngPackage getDngPackage() ``` Gets the DNG header metadata package. **Returns:** DngPackage - The DNG header metadata package. ### DocumentInfo Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/documentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IDocumentInfo ``` public class DocumentInfo implements IDocumentInfo ``` Provides common information about a loaded document. [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info #### Methods | Method | Description | | --- | --- | | getFileType() | Gets the file type of the loaded document. | | getSize() | Gets the size of the loaded document in bytes. | | getPageCount() | Gets the number of pages (slides, worksheets, etc) in the loaded document. | | getPages() | Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). | | isEncrypted() | Gets a value indicating whether the document is encrypted and requires a password to open. | ##### getFileType() ``` public final FileTypePackage getFileType() ``` Gets the file type of the loaded document. **Returns:** FileTypePackage - The file type of the loaded document. ##### getSize() ``` public final long getSize() ``` Gets the size of the loaded document in bytes. **Returns:** long - The size of the loaded document in bytes. ##### getPageCount() ``` public final int getPageCount() ``` Gets the number of pages (slides, worksheets, etc) in the loaded document. **Returns:** int - The number of pages (slides, worksheets, etc) in the loaded document. ##### getPages() ``` public final IReadOnlyList getPages() ``` Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). **Returns:** IReadOnlyList - A collection of objects representing common information about the document pages (slides, worksheets, etc). ##### isEncrypted() ``` public final boolean isEncrypted() ``` Gets a value indicating whether the document is encrypted and requires a password to open. **Returns:** boolean - A value indicating whether the document is encrypted and requires a password to open. ### DocumentPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/documentpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class DocumentPackage extends CustomPackage ``` Represents native metadata in an office document. #### Methods | Method | Description | | --- | --- | | remove(String propertyName) | Removes a writable metadata property by the specified name. | | clear() | Removes all writable metadata properties from the package. | | clearBuiltInProperties() | Removes all built-in metadata properties. | | clearCustomProperties() | Removes all custom metadata properties. | ##### remove(String propertyName) ``` public final boolean remove(String propertyName) ``` Removes a writable metadata property by the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | A metadata property name. | **Returns:** boolean - true if the property is found and deleted; otherwise false . ##### clear() ``` public final void clear() ``` Removes all writable metadata properties from the package. ##### clearBuiltInProperties() ``` public final void clearBuiltInProperties() ``` Removes all built-in metadata properties. ##### clearCustomProperties() ``` public final void clearCustomProperties() ``` Removes all custom metadata properties. ### DocumentProtectedException Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/documentprotectedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class DocumentProtectedException extends GroupDocsMetadataException ``` The exception that is thrown when document is protected by password. #### Constructors | Constructor | Description | | --- | --- | | DocumentProtectedException() | Initializes a new instance of the DocumentProtectedException class. | ##### DocumentProtectedException() ``` public DocumentProtectedException() ``` Initializes a new instance of the DocumentProtectedException class. ### DocumentRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/documentrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class DocumentRootPackage extends RootMetadataPackage ``` Represents a root package for document formats such as PDF, WordProcessing, Spreadsheet, Presentation, etc. TPackage : The type of the native metadata package. #### Methods | Method | Description | | --- | --- | | getDocumentProperties() | Gets the native metadata properties presented in the document. | ##### getDocumentProperties() ``` public TPackage getDocumentProperties() ``` Gets the native metadata properties presented in the document. **Returns:** TPackage - The document properties. ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/documentstatistics.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class DocumentStatistics extends CustomPackage ``` Represents a set of document statistics. #### Constructors | Constructor | Description | | --- | --- | | DocumentStatistics() | Initializes a new instance of the DocumentStatistics class. | #### Methods | Method | Description | | --- | --- | | getCharacterCount() | Gets an estimated number of characters in the document. | | getWordCount() | Gets an estimated number of words in the document. | | getPageCount() | Gets an estimated number of pages in the document. | ##### DocumentStatistics() ``` public DocumentStatistics() ``` Initializes a new instance of the DocumentStatistics class. ##### getCharacterCount() ``` public final int getCharacterCount() ``` Gets an estimated number of characters in the document. **Returns:** int - An estimated number of characters in the document. ##### getWordCount() ``` public final int getWordCount() ``` Gets an estimated number of words in the document. **Returns:** int - An estimated number of words in the document. ##### getPageCount() ``` public final int getPageCount() ``` Gets an estimated number of pages in the document. **Returns:** int - An estimated number of pages in the document. ### DublinCorePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/dublincorepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class DublinCorePackage extends CustomPackage ``` Represents a Dublin Core metadata package. #### Methods | Method | Description | | --- | --- | | getContributor() | Gets the contributor Dublin Core element. | | getCoverage() | Gets the coverage Dublin Core element. | | getCreator() | Gets the creator Dublin Core element. | | getDate() | Gets the date Dublin Core element. | | getDescription() | Gets the description Dublin Core element. | | getFormat() | Gets the format Dublin Core element. | | getLanguage() | Gets the language Dublin Core element. | | getPublisher() | Gets the publisher Dublin Core element. | | getRelation() | Gets the relation Dublin Core element. | | getSource() | Gets the source Dublin Core element. | | getSubject() | Gets the subject Dublin Core element. | | getTitle() | Gets the title Dublin Core element. | | getType() | Gets the type Dublin Core element. | | getRights() | Gets the rights Dublin Core element. | | getIdentifier() | Gets the identifier Dublin Core element. | ##### getContributor() ``` public final String getContributor() ``` Gets the contributor Dublin Core element. **Returns:** java.lang.String - An entity responsible for making contributions to the content of the resource. Examples of a Contributor include a person, an organization or a service. ##### getCoverage() ``` public final String getCoverage() ``` Gets the coverage Dublin Core element. **Returns:** java.lang.String - The extent or scope of the content of the resource. Coverage will typically include spatial location (a place name or geographic co-ordinates), temporal period (a period label, date, or date range) or jurisdiction (such as a named administrative entity). ##### getCreator() ``` public final String getCreator() ``` Gets the creator Dublin Core element. **Returns:** java.lang.String - An entity primarily responsible for making the content of the resource. Examples of a Creator include a person, an organization, or a service. ##### getDate() ``` public final String getDate() ``` Gets the date Dublin Core element. **Returns:** java.lang.String - A date associated with an event in the life cycle of the resource. Typically, Date will be associated with the creation or availability of the resource. Recommended best practice for encoding the date value is defined in a profile of ISO 8601 and follows the YYYY-MM-DD format. ##### getDescription() ``` public final String getDescription() ``` Gets the description Dublin Core element. **Returns:** java.lang.String - An account of the content of the resource. Description may include but is not limited to: an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content. ##### getFormat() ``` public final String getFormat() ``` Gets the format Dublin Core element. **Returns:** java.lang.String - The physical or digital manifestation of the resource. Typically, Format may include the media-type or dimensions of the resource. Examples of dimensions include size and duration. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language Dublin Core element. **Returns:** java.lang.String - A language of the intellectual content of the resource. Recommended best practice for the values of the Language element is defined by RFC 3066 which, in conjunction with ISO 639), defines two- and three-letter primary language tags with optional subtags. ##### getPublisher() ``` public final String getPublisher() ``` Gets the publisher Dublin Core element. **Returns:** java.lang.String - The entity responsible for making the resource available. Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity. ##### getRelation() ``` public final String getRelation() ``` Gets the relation Dublin Core element. **Returns:** java.lang.String - A reference to a related resource. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system. ##### getSource() ``` public final String getSource() ``` Gets the source Dublin Core element. **Returns:** java.lang.String - A Reference to a resource from which the present resource is derived. The present resource may be derived from the Source resource in whole or part. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system. ##### getSubject() ``` public final String getSubject() ``` Gets the subject Dublin Core element. **Returns:** java.lang.String - The topic of the content of the resource. Typically, a Subject will be expressed as keywords or key phrases or classification codes that describe the topic of the resource. Recommended best practice is to select a value from a controlled vocabulary or formal classification scheme. ##### getTitle() ``` public final String getTitle() ``` Gets the title Dublin Core element. **Returns:** java.lang.String - The name given to the resource. Typically, a Title will be a name by which the resource is formally known. ##### getType() ``` public final String getType() ``` Gets the type Dublin Core element. **Returns:** java.lang.String - The nature or genre of the content of the resource. Type includes terms describing general categories, functions, genres, or aggregation levels for content. Recommended best practice is to select a value from a controlled vocabulary (for example, the DCMIType vocabulary). ##### getRights() ``` public final String getRights() ``` Gets the rights Dublin Core element. **Returns:** java.lang.String - Information about rights held in and over the resource. Typically a Rights element will contain a rights management statement for the resource, or reference a service providing such information. Rights information often encompasses Intellectual Property Rights (IPR), Copyright, and various Property Rights. If the rights element is absent, no assumptions can be made about the status of these and other rights with respect to the resource. ##### getIdentifier() ``` public final String getIdentifier() ``` Gets the identifier Dublin Core element. **Returns:** java.lang.String - An unambiguous reference to the resource within a given context. Recommended best practice is to identify the resource by means of a string or number conforming to a formal identification system. ### DwgRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/dwgrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.CadRootPackage ``` public class DwgRootPackage extends CadRootPackage ``` Represents the root package allowing working with metadata in a DWG drawing. [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata ### DxfRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/dxfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.CadRootPackage ``` public class DxfRootPackage extends CadRootPackage ``` Represents the root package allowing working with metadata in a DXF drawing. [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata ### EmailHeaderPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/emailheaderpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class EmailHeaderPackage extends CustomPackage ``` Represents a metadata package containing email message headers. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | get(String header) | Gets the value of the specified header. | ##### get(String header) ``` public final String get(String header) ``` Gets the value of the specified header. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | header | java.lang.String | An email header. | **Returns:** java.lang.String - The value if the package contains the specified header; otherwise, null. ### EmailPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/emailpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class EmailPackage extends CustomPackage ``` Represents email message metadata. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getAttachedFileNames() | Gets an array of the names of the attached files. | | getSubject() | Gets the email subject. | | setSubject(String value) | Sets the email subject. | | getRecipients() | Gets the array of the email recipients. | | setRecipients(String[] value) | Sets the array of the email recipients. | | getCarbonCopyRecipients() | Gets the array of CC (carbon copy) recipients of the email message. | | setCarbonCopyRecipients(String[] value) | Sets the array of CC (carbon copy) recipients of the email message. | | getBlindCarbonCopyRecipients() | Gets the array of BCC (blind carbon copy) recipients of the email message. | | setBlindCarbonCopyRecipients(String[] value) | Sets the array of BCC (blind carbon copy) recipients of the email message. | | getSender() | Gets the email address of the sender. | | getHeaders() | Gets a metadata package containing the email headers. | ##### getAttachedFileNames() ``` public final String[] getAttachedFileNames() ``` Gets an array of the names of the attached files. **Returns:** java.lang.String[] - An array of the names of the attached files. ##### getSubject() ``` public final String getSubject() ``` Gets the email subject. **Returns:** java.lang.String - The email subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the email subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The email subject. | ##### getRecipients() ``` public final String[] getRecipients() ``` Gets the array of the email recipients. **Returns:** java.lang.String[] - The array of the email recipients. ##### setRecipients(String[] value) ``` public final void setRecipients(String[] value) ``` Sets the array of the email recipients. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The array of the email recipients. | ##### getCarbonCopyRecipients() ``` public final String[] getCarbonCopyRecipients() ``` Gets the array of CC (carbon copy) recipients of the email message. **Returns:** java.lang.String[] - The array of CC (carbon copy) recipients of the email message. ##### setCarbonCopyRecipients(String[] value) ``` public final void setCarbonCopyRecipients(String[] value) ``` Sets the array of CC (carbon copy) recipients of the email message. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The array of CC (carbon copy) recipients of the email message. | ##### getBlindCarbonCopyRecipients() ``` public final String[] getBlindCarbonCopyRecipients() ``` Gets the array of BCC (blind carbon copy) recipients of the email message. **Returns:** java.lang.String[] - The array of BCC (blind carbon copy) recipients of the email message. ##### setBlindCarbonCopyRecipients(String[] value) ``` public final void setBlindCarbonCopyRecipients(String[] value) ``` Sets the array of BCC (blind carbon copy) recipients of the email message. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The array of BCC (blind carbon copy) recipients of the email message. | ##### getSender() ``` public final String getSender() ``` Gets the email address of the sender. **Returns:** java.lang.String - The email address of the sender. ##### getHeaders() ``` public final EmailHeaderPackage getHeaders() ``` Gets a metadata package containing the email headers. **Returns:** EmailHeaderPackage - A metadata package containing the email headers. ### EmailRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/emailrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class EmailRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in an email message. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getEmailPackage() | Gets the email metadata package. | | clearAttachments() | Removes all the attachments form the email message. | ##### getEmailPackage() ``` public final EmailPackage getEmailPackage() ``` Gets the email metadata package. **Returns:** EmailPackage - The email metadata package. ##### clearAttachments() ``` public final void clearAttachments() ``` Removes all the attachments form the email message. ### EmfRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/emfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class EmfRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in an EMF image. ### EmlPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/emlpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.EmailPackage ``` public class EmlPackage extends EmailPackage ``` Represents EML message metadata. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails ### EmlRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/emlrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.EmailRootPackage ``` public class EmlRootPackage extends EmailRootPackage ``` Represents the root package allowing working with metadata in an EML email message. This code sample shows how to extract metadata from an EML message. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputEml)) { > EmlRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getEmailPackage().getSender()); > System.out.println(root.getEmailPackage().getSubject()); > for (String recipient : root.getEmailPackage().getRecipients()) { > System.out.println(recipient); > } > for (String attachedFileName : root.getEmailPackage().getAttachedFileNames()) { > System.out.println(attachedFileName); > } > for (MetadataProperty header : root.getEmailPackage().getHeaders()) { > System.out.println(String.format("%s = %s", header.getName(), header.getValue())); > } > // ... > } > > ``` > ``` [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getEmlPackage() | Gets the EML metadata package. | ##### getEmlPackage() ``` public final EmlPackage getEmlPackage() ``` Gets the EML metadata package. **Returns:** EmlPackage - The EML metadata package. ### EpubPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/epubpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class EpubPackage extends CustomPackage ``` Represents metadata in a EPUB e-book. [Working with metadata in EPUB E-Books]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+EPUB+E-Books #### Methods | Method | Description | | --- | --- | | getImageCover() | Gets the image cover as an array of bytes. | | getVersion() | Gets the EPUB version. | | getUniqueIdentifier() | Gets the package unique identifier. | | getAbstract() | Gets a summary of the resource. | | setAbstract(String value) | Sets a summary of the resource. | | getAccessRights() | Gets the information about who access the resource or an indication of its security status. | | setAccessRights(String value) | Sets the information about who access the resource or an indication of its security status. | | getAccrualMethod() | Gets the method by which items are added to a collection. | | setAccrualMethod(String value) | Sets the method by which items are added to a collection. | | getAccrualPeriodicity() | Gets the frequency with which items are added to a collection. | | setAccrualPeriodicity(String value) | Sets the frequency with which items are added to a collection. | | getAccrualPolicy() | Gets the policy governing the addition of items to a collection. | | setAccrualPolicy(String value) | Sets the policy governing the addition of items to a collection. | | getAlternative() | Gets an alternative name for the resource. | | setAlternative(String value) | Sets an alternative name for the resource. | | getAudience() | Gets a class of agents for whom the resource is intended or useful. | | setAudience(String value) | Sets a class of agents for whom the resource is intended or useful. | | getAvailable() | Gets the date that the resource became or will become available. | | setAvailable(String value) | Sets the date that the resource became or will become available. | | getBibliographicCitation() | Gets a bibliographic reference for the resource. | | setBibliographicCitation(String value) | Sets a bibliographic reference for the resource. | | getConformsTo() | Gets an established standard to which the described resource conforms. | | setConformsTo(String value) | Sets an established standard to which the described resource conforms. | | getContributor() | Gets an entity responsible for making contributions to the resource. | | setContributor(String value) | Sets an entity responsible for making contributions to the resource. | | getCoverage() | Gets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | | setCoverage(String value) | Sets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | | getCreated() | Gets the date of creation of the resource. | | setCreated(String value) | Sets the date of creation of the resource. | | getCreator() | Gets an entity responsible for making the resource. | | setCreator(String value) | Sets an entity responsible for making the resource. | | getDate() | Gets a point or period of time associated with an event in the lifecycle of the resource. | | setDate(String value) | Sets a point or period of time associated with an event in the lifecycle of the resource. | | getDateAccepted() | Gets the date of acceptance of the resource. | | setDateAccepted(String value) | Sets the date of acceptance of the resource. | | getDateCopyrighted() | Gets the date of copyright of the resource. | | setDateCopyrighted(String value) | Sets the date of copyright of the resource. | | getDateSubmitted() | Gets the date of submission of the resource. | | setDateSubmitted(String value) | Sets the date of submission of the resource. | | getDescription() | Gets an account of the resource. | | setDescription(String value) | Sets an account of the resource. | | getEducationLevel() | Gets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | | setEducationLevel(String value) | Sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | | getExtent() | Gets the size or duration of the resource. | | setExtent(String value) | Sets the size or duration of the resource. | | getFormat() | Gets the file format, physical medium, or dimensions of the resource. | | setFormat(String value) | Sets the file format, physical medium, or dimensions of the resource. | | hasFormat() | Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. | | setHasFormat(String value) | Sets a related resource that is substantially the same as the pre-existing described resource, but in another format. | | hasPart() | Gets or sets a related resource that is included either physically or logically in the described resource. | | setPart(String value) | Sets a related resource that is included either physically or logically in the described resource. | | hasVersion() | Gets or sets a related resource that is a version, edition, or adaptation of the described resource. | | setHasVersion(String value) | Sets a related resource that is a version, edition, or adaptation of the described resource. | | getIdentifier() | Gets an unambiguous reference to the resource within a given context. | | setIdentifier(String value) | Sets an unambiguous reference to the resource within a given context. | | getInstructionalMethod() | Gets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | | setInstructionalMethod(String value) | Sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | | isFormatOf() | Gets a pre-existing related resource that is substantially the same as the described resource, but in another format. | | setFormatOf(String value) | Sets a pre-existing related resource that is substantially the same as the described resource, but in another format. | | isPartOf() | Gets a related resource in which the described resource is physically or logically included. | | setPartOf(String value) | Sets a related resource in which the described resource is physically or logically included. | | isReferencedBy() | Gets a related resource that references, cites, or otherwise points to the described resource. | | setReferencedBy(String value) | Sets a related resource that references, cites, or otherwise points to the described resource. | | isReplacedBy() | Gets a related resource that supplants, displaces, or supersedes the described resource. | | setReplacedBy(String value) | Sets a related resource that supplants, displaces, or supersedes the described resource. | | isRequiredBy() | Gets a related resource that requires the described resource to support its function, delivery, or coherence. | | setRequiredBy(String value) | Sets a related resource that requires the described resource to support its function, delivery, or coherence. | | getIssued() | Gets the date of formal issuance of the resource. | | setIssued(String value) | Sets the date of formal issuance of the resource. | | isVersionOf() | Gets a related resource of which the described resource is a version, edition, or adaptation. | | setVersionOf(String value) | Sets a related resource of which the described resource is a version, edition, or adaptation. | | getLanguage() | Gets the language of the resource. | | setLanguage(String value) | Sets the language of the resource. | | getLicense() | Gets a legal document giving official permission to do something with the resource. | | setLicense(String value) | Sets a legal document giving official permission to do something with the resource. | | getMediator() | Gets an entity that mediates access to the resource. | | setMediator(String value) | Sets an entity that mediates access to the resource. | | getMedium() | Gets the material or physical carrier of the resource. | | setMedium(String value) | Sets the material or physical carrier of the resource. | | getModified() | Gets the date on which the resource was changed. | | setModified(String value) | Sets the date on which the resource was changed. | | getProvenance() | Gets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | | setProvenance(String value) | Sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | | getPublisher() | Gets an entity responsible for making the resource available. | | setPublisher(String value) | Sets an entity responsible for making the resource available. | | getReferences() | Gets a related resource that is referenced, cited, or otherwise pointed to by the described resource. | | setReferences(String value) | Sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. | | getRelation() | Gets a related resource. | | setRelation(String value) | Sets a related resource. | | getReplaces() | Gets a related resource that is supplanted, displaced, or superseded by the described resource. | | setReplaces(String value) | Sets a related resource that is supplanted, displaced, or superseded by the described resource. | | getRequires() | Gets a related resource that is required by the described resource to support its function, delivery, or coherence. | | setRequires(String value) | Sets a related resource that is required by the described resource to support its function, delivery, or coherence. | | getRights() | Gets the information about rights held in and over the resource. | | setRights(String value) | Sets the information about rights held in and over the resource. | | getRightsHolder() | Gets a person or organization owning or managing rights over the resource. | | setRightsHolder(String value) | Sets a person or organization owning or managing rights over the resource. | | getSource() | Gets a related resource from which the described resource is derived. | | setSource(String value) | Sets a related resource from which the described resource is derived. | | getSpatial() | Gets the spatial characteristics of the resource. | | setSpatial(String value) | Sets the spatial characteristics of the resource. | | getSubject() | Gets a topic of the resource. | | setSubject(String value) | Sets a topic of the resource. | | getTableOfContents() | Gets a list of subunits of the resource. | | setTableOfContents(String value) | Sets a list of subunits of the resource. | | getTemporal() | Gets the temporal characteristics of the resource. | | setTemporal(String value) | Sets the temporal characteristics of the resource. | | getTitle() | Gets a name given to the resource. | | setTitle(String value) | Sets a name given to the resource. | | getType() | Gets the nature or genre of the resource. | | setType(String value) | Sets the nature or genre of the resource. | | getValid() | Gets the date (often a range) of validity of a resource. | | setValid(String value) | Sets the date (often a range) of validity of a resource. | ##### getImageCover() ``` public final byte[] getImageCover() ``` Gets the image cover as an array of bytes. **Returns:** byte[] - The image cover. ##### getVersion() ``` public final String getVersion() ``` Gets the EPUB version. **Returns:** java.lang.String - The EPUB version. ##### getUniqueIdentifier() ``` public final String getUniqueIdentifier() ``` Gets the package unique identifier. **Returns:** java.lang.String - The package unique identifier. ##### getAbstract() ``` public final String getAbstract() ``` Gets a summary of the resource. **Returns:** java.lang.String - A summary of the resource. ##### setAbstract(String value) ``` public final void setAbstract(String value) ``` Sets a summary of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A summary of the resource. | ##### getAccessRights() ``` public final String getAccessRights() ``` Gets the information about who access the resource or an indication of its security status. **Returns:** java.lang.String - The information about who access the resource or an indication of its security status. ##### setAccessRights(String value) ``` public final void setAccessRights(String value) ``` Sets the information about who access the resource or an indication of its security status. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about who access the resource or an indication of its security status. | ##### getAccrualMethod() ``` public final String getAccrualMethod() ``` Gets the method by which items are added to a collection. **Returns:** java.lang.String - The method by which items are added to a collection. ##### setAccrualMethod(String value) ``` public final void setAccrualMethod(String value) ``` Sets the method by which items are added to a collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The method by which items are added to a collection. | ##### getAccrualPeriodicity() ``` public final String getAccrualPeriodicity() ``` Gets the frequency with which items are added to a collection. **Returns:** java.lang.String - The frequency with which items are added to a collection. ##### setAccrualPeriodicity(String value) ``` public final void setAccrualPeriodicity(String value) ``` Sets the frequency with which items are added to a collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The frequency with which items are added to a collection. | ##### getAccrualPolicy() ``` public final String getAccrualPolicy() ``` Gets the policy governing the addition of items to a collection. **Returns:** java.lang.String - The policy governing the addition of items to a collection. ##### setAccrualPolicy(String value) ``` public final void setAccrualPolicy(String value) ``` Sets the policy governing the addition of items to a collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The policy governing the addition of items to a collection. | ##### getAlternative() ``` public final String getAlternative() ``` Gets an alternative name for the resource. **Returns:** java.lang.String - An alternative name for the resource. ##### setAlternative(String value) ``` public final void setAlternative(String value) ``` Sets an alternative name for the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An alternative name for the resource. | ##### getAudience() ``` public final String getAudience() ``` Gets a class of agents for whom the resource is intended or useful. **Returns:** java.lang.String - A class of agents for whom the resource is intended or useful. ##### setAudience(String value) ``` public final void setAudience(String value) ``` Sets a class of agents for whom the resource is intended or useful. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A class of agents for whom the resource is intended or useful. | ##### getAvailable() ``` public final String getAvailable() ``` Gets the date that the resource became or will become available. **Returns:** java.lang.String - The date that the resource became or will become available. ##### setAvailable(String value) ``` public final void setAvailable(String value) ``` Sets the date that the resource became or will become available. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date that the resource became or will become available. | ##### getBibliographicCitation() ``` public final String getBibliographicCitation() ``` Gets a bibliographic reference for the resource. **Returns:** java.lang.String - A bibliographic reference for the resource. ##### setBibliographicCitation(String value) ``` public final void setBibliographicCitation(String value) ``` Sets a bibliographic reference for the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A bibliographic reference for the resource. | ##### getConformsTo() ``` public final String getConformsTo() ``` Gets an established standard to which the described resource conforms. **Returns:** java.lang.String - An established standard to which the described resource conforms. ##### setConformsTo(String value) ``` public final void setConformsTo(String value) ``` Sets an established standard to which the described resource conforms. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An established standard to which the described resource conforms. | ##### getContributor() ``` public final String getContributor() ``` Gets an entity responsible for making contributions to the resource. **Returns:** java.lang.String - An entity responsible for making contributions to the resource. ##### setContributor(String value) ``` public final void setContributor(String value) ``` Sets an entity responsible for making contributions to the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity responsible for making contributions to the resource. | ##### getCoverage() ``` public final String getCoverage() ``` Gets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. **Returns:** java.lang.String - The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. ##### setCoverage(String value) ``` public final void setCoverage(String value) ``` Sets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | ##### getCreated() ``` public final String getCreated() ``` Gets the date of creation of the resource. **Returns:** java.lang.String - The date of creation of the resource. ##### setCreated(String value) ``` public final void setCreated(String value) ``` Sets the date of creation of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of creation of the resource. | ##### getCreator() ``` public final String getCreator() ``` Gets an entity responsible for making the resource. **Returns:** java.lang.String - An entity responsible for making the resource. ##### setCreator(String value) ``` public final void setCreator(String value) ``` Sets an entity responsible for making the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity responsible for making the resource. | ##### getDate() ``` public final String getDate() ``` Gets a point or period of time associated with an event in the lifecycle of the resource. **Returns:** java.lang.String - A point or period of time associated with an event in the lifecycle of the resource. ##### setDate(String value) ``` public final void setDate(String value) ``` Sets a point or period of time associated with an event in the lifecycle of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A point or period of time associated with an event in the lifecycle of the resource. | ##### getDateAccepted() ``` public final String getDateAccepted() ``` Gets the date of acceptance of the resource. **Returns:** java.lang.String - The date of acceptance of the resource. ##### setDateAccepted(String value) ``` public final void setDateAccepted(String value) ``` Sets the date of acceptance of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of acceptance of the resource. | ##### getDateCopyrighted() ``` public final String getDateCopyrighted() ``` Gets the date of copyright of the resource. **Returns:** java.lang.String - The date of copyright of the resource. ##### setDateCopyrighted(String value) ``` public final void setDateCopyrighted(String value) ``` Sets the date of copyright of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of copyright of the resource. | ##### getDateSubmitted() ``` public final String getDateSubmitted() ``` Gets the date of submission of the resource. **Returns:** java.lang.String - The date of submission of the resource. ##### setDateSubmitted(String value) ``` public final void setDateSubmitted(String value) ``` Sets the date of submission of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of submission of the resource. | ##### getDescription() ``` public final String getDescription() ``` Gets an account of the resource. **Returns:** java.lang.String - An account of the resource. ##### setDescription(String value) ``` public final void setDescription(String value) ``` Sets an account of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An account of the resource. | ##### getEducationLevel() ``` public final String getEducationLevel() ``` Gets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. **Returns:** java.lang.String - A class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. ##### setEducationLevel(String value) ``` public final void setEducationLevel(String value) ``` Sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | ##### getExtent() ``` public final String getExtent() ``` Gets the size or duration of the resource. **Returns:** java.lang.String - The size or duration of the resource. ##### setExtent(String value) ``` public final void setExtent(String value) ``` Sets the size or duration of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The size or duration of the resource. | ##### getFormat() ``` public final String getFormat() ``` Gets the file format, physical medium, or dimensions of the resource. **Returns:** java.lang.String - The file format, physical medium, or dimensions of the resource. ##### setFormat(String value) ``` public final void setFormat(String value) ``` Sets the file format, physical medium, or dimensions of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The file format, physical medium, or dimensions of the resource. | ##### hasFormat() ``` public final String hasFormat() ``` Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. **Returns:** java.lang.String - A related resource that is substantially the same as the pre-existing described resource, but in another format. ##### setHasFormat(String value) ``` public final void setHasFormat(String value) ``` Sets a related resource that is substantially the same as the pre-existing described resource, but in another format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is substantially the same as the pre-existing described resource, but in another format. | ##### hasPart() ``` public final String hasPart() ``` Gets or sets a related resource that is included either physically or logically in the described resource. **Returns:** java.lang.String - A related resource that is included either physically or logically in the described resource. ##### setPart(String value) ``` public final void setPart(String value) ``` Sets a related resource that is included either physically or logically in the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is included either physically or logically in the described resource. | ##### hasVersion() ``` public final String hasVersion() ``` Gets or sets a related resource that is a version, edition, or adaptation of the described resource. **Returns:** java.lang.String - A related resource that is a version, edition, or adaptation of the described resource. ##### setHasVersion(String value) ``` public final void setHasVersion(String value) ``` Sets a related resource that is a version, edition, or adaptation of the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is a version, edition, or adaptation of the described resource. | ##### getIdentifier() ``` public final String getIdentifier() ``` Gets an unambiguous reference to the resource within a given context. **Returns:** java.lang.String - An unambiguous reference to the resource within a given context. ##### setIdentifier(String value) ``` public final void setIdentifier(String value) ``` Sets an unambiguous reference to the resource within a given context. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An unambiguous reference to the resource within a given context. | ##### getInstructionalMethod() ``` public final String getInstructionalMethod() ``` Gets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. **Returns:** java.lang.String - A process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. ##### setInstructionalMethod(String value) ``` public final void setInstructionalMethod(String value) ``` Sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | ##### isFormatOf() ``` public final String isFormatOf() ``` Gets a pre-existing related resource that is substantially the same as the described resource, but in another format. **Returns:** java.lang.String - A pre-existing related resource that is substantially the same as the described resource, but in another format. ##### setFormatOf(String value) ``` public final void setFormatOf(String value) ``` Sets a pre-existing related resource that is substantially the same as the described resource, but in another format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A pre-existing related resource that is substantially the same as the described resource, but in another format. | ##### isPartOf() ``` public final String isPartOf() ``` Gets a related resource in which the described resource is physically or logically included. **Returns:** java.lang.String - A related resource in which the described resource is physically or logically included. ##### setPartOf(String value) ``` public final void setPartOf(String value) ``` Sets a related resource in which the described resource is physically or logically included. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource in which the described resource is physically or logically included. | ##### isReferencedBy() ``` public final String isReferencedBy() ``` Gets a related resource that references, cites, or otherwise points to the described resource. **Returns:** java.lang.String - A related resource that references, cites, or otherwise points to the described resource. ##### setReferencedBy(String value) ``` public final void setReferencedBy(String value) ``` Sets a related resource that references, cites, or otherwise points to the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that references, cites, or otherwise points to the described resource. | ##### isReplacedBy() ``` public final String isReplacedBy() ``` Gets a related resource that supplants, displaces, or supersedes the described resource. **Returns:** java.lang.String - A related resource that supplants, displaces, or supersedes the described resource. ##### setReplacedBy(String value) ``` public final void setReplacedBy(String value) ``` Sets a related resource that supplants, displaces, or supersedes the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that supplants, displaces, or supersedes the described resource. | ##### isRequiredBy() ``` public final String isRequiredBy() ``` Gets a related resource that requires the described resource to support its function, delivery, or coherence. **Returns:** java.lang.String - A related resource that requires the described resource to support its function, delivery, or coherence. ##### setRequiredBy(String value) ``` public final void setRequiredBy(String value) ``` Sets a related resource that requires the described resource to support its function, delivery, or coherence. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that requires the described resource to support its function, delivery, or coherence. | ##### getIssued() ``` public final String getIssued() ``` Gets the date of formal issuance of the resource. **Returns:** java.lang.String - The date of formal issuance of the resource. ##### setIssued(String value) ``` public final void setIssued(String value) ``` Sets the date of formal issuance of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of formal issuance of the resource. | ##### isVersionOf() ``` public final String isVersionOf() ``` Gets a related resource of which the described resource is a version, edition, or adaptation. **Returns:** java.lang.String - A related resource of which the described resource is a version, edition, or adaptation. ##### setVersionOf(String value) ``` public final void setVersionOf(String value) ``` Sets a related resource of which the described resource is a version, edition, or adaptation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource of which the described resource is a version, edition, or adaptation. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the resource. **Returns:** java.lang.String - The language of the resource. ##### setLanguage(String value) ``` public final void setLanguage(String value) ``` Sets the language of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The language of the resource. | ##### getLicense() ``` public final String getLicense() ``` Gets a legal document giving official permission to do something with the resource. **Returns:** java.lang.String - A legal document giving official permission to do something with the resource. ##### setLicense(String value) ``` public final void setLicense(String value) ``` Sets a legal document giving official permission to do something with the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A legal document giving official permission to do something with the resource. | ##### getMediator() ``` public final String getMediator() ``` Gets an entity that mediates access to the resource. **Returns:** java.lang.String - An entity that mediates access to the resource. ##### setMediator(String value) ``` public final void setMediator(String value) ``` Sets an entity that mediates access to the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity that mediates access to the resource. | ##### getMedium() ``` public final String getMedium() ``` Gets the material or physical carrier of the resource. **Returns:** java.lang.String - The material or physical carrier of the resource. ##### setMedium(String value) ``` public final void setMedium(String value) ``` Sets the material or physical carrier of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The material or physical carrier of the resource. | ##### getModified() ``` public final String getModified() ``` Gets the date on which the resource was changed. **Returns:** java.lang.String - The date on which the resource was changed. ##### setModified(String value) ``` public final void setModified(String value) ``` Sets the date on which the resource was changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date on which the resource was changed. | ##### getProvenance() ``` public final String getProvenance() ``` Gets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. **Returns:** java.lang.String - A statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. ##### setProvenance(String value) ``` public final void setProvenance(String value) ``` Sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | ##### getPublisher() ``` public final String getPublisher() ``` Gets an entity responsible for making the resource available. **Returns:** java.lang.String - An entity responsible for making the resource available. ##### setPublisher(String value) ``` public final void setPublisher(String value) ``` Sets an entity responsible for making the resource available. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity responsible for making the resource available. | ##### getReferences() ``` public final String getReferences() ``` Gets a related resource that is referenced, cited, or otherwise pointed to by the described resource. **Returns:** java.lang.String - A related resource that is referenced, cited, or otherwise pointed to by the described resource. ##### setReferences(String value) ``` public final void setReferences(String value) ``` Sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is referenced, cited, or otherwise pointed to by the described resource. | ##### getRelation() ``` public final String getRelation() ``` Gets a related resource. **Returns:** java.lang.String - A related resource. ##### setRelation(String value) ``` public final void setRelation(String value) ``` Sets a related resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource. | ##### getReplaces() ``` public final String getReplaces() ``` Gets a related resource that is supplanted, displaced, or superseded by the described resource. **Returns:** java.lang.String - A related resource that is supplanted, displaced, or superseded by the described resource. ##### setReplaces(String value) ``` public final void setReplaces(String value) ``` Sets a related resource that is supplanted, displaced, or superseded by the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is supplanted, displaced, or superseded by the described resource. | ##### getRequires() ``` public final String getRequires() ``` Gets a related resource that is required by the described resource to support its function, delivery, or coherence. **Returns:** java.lang.String - A related resource that is required by the described resource to support its function, delivery, or coherence. ##### setRequires(String value) ``` public final void setRequires(String value) ``` Sets a related resource that is required by the described resource to support its function, delivery, or coherence. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is required by the described resource to support its function, delivery, or coherence. | ##### getRights() ``` public final String getRights() ``` Gets the information about rights held in and over the resource. **Returns:** java.lang.String - The information about rights held in and over the resource. ##### setRights(String value) ``` public final void setRights(String value) ``` Sets the information about rights held in and over the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about rights held in and over the resource. | ##### getRightsHolder() ``` public final String getRightsHolder() ``` Gets a person or organization owning or managing rights over the resource. **Returns:** java.lang.String - A person or organization owning or managing rights over the resource. ##### setRightsHolder(String value) ``` public final void setRightsHolder(String value) ``` Sets a person or organization owning or managing rights over the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A person or organization owning or managing rights over the resource. | ##### getSource() ``` public final String getSource() ``` Gets a related resource from which the described resource is derived. **Returns:** java.lang.String - A related resource from which the described resource is derived. ##### setSource(String value) ``` public final void setSource(String value) ``` Sets a related resource from which the described resource is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource from which the described resource is derived. | ##### getSpatial() ``` public final String getSpatial() ``` Gets the spatial characteristics of the resource. **Returns:** java.lang.String - The spatial characteristics of the resource. ##### setSpatial(String value) ``` public final void setSpatial(String value) ``` Sets the spatial characteristics of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The spatial characteristics of the resource. | ##### getSubject() ``` public final String getSubject() ``` Gets a topic of the resource. **Returns:** java.lang.String - A topic of the resource. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets a topic of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A topic of the resource. | ##### getTableOfContents() ``` public final String getTableOfContents() ``` Gets a list of subunits of the resource. **Returns:** java.lang.String - A list of subunits of the resource. ##### setTableOfContents(String value) ``` public final void setTableOfContents(String value) ``` Sets a list of subunits of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A list of subunits of the resource. | ##### getTemporal() ``` public final String getTemporal() ``` Gets the temporal characteristics of the resource. **Returns:** java.lang.String - The temporal characteristics of the resource. ##### setTemporal(String value) ``` public final void setTemporal(String value) ``` Sets the temporal characteristics of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The temporal characteristics of the resource. | ##### getTitle() ``` public final String getTitle() ``` Gets a name given to the resource. **Returns:** java.lang.String - A name given to the resource. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets a name given to the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A name given to the resource. | ##### getType() ``` public final String getType() ``` Gets the nature or genre of the resource. **Returns:** java.lang.String - The nature or genre of the resource. ##### setType(String value) ``` public final void setType(String value) ``` Sets the nature or genre of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The nature or genre of the resource. | ##### getValid() ``` public final String getValid() ``` Gets the date (often a range) of validity of a resource. **Returns:** java.lang.String - The date (often a range) of validity of a resource. ##### setValid(String value) ``` public final void setValid(String value) ``` Sets the date (often a range) of validity of a resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date (often a range) of validity of a resource. | ### EpubRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/epubrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IDublinCore ``` public class EpubRootPackage extends RootMetadataPackage implements IDublinCore ``` Represents the root package allowing working with metadata in an EPUB e-book. This code sample shows how to read EPUB format-specific metadata properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputEpub)) { > EpubRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getEpubPackage().getVersion()); > System.out.println(root.getEpubPackage().getUniqueIdentifier()); > System.out.println(root.getEpubPackage().getImageCover() != null ? root.getEpubPackage().getImageCover().length : 0); > } > > ``` > ``` [Working with metadata in EPUB E-Books]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+EPUB+E-Books #### Methods | Method | Description | | --- | --- | | getEpubPackage() | Gets the EPUB metadata package. | | getDublinCorePackage() | Gets the Dublin Core metadata package extracted from the e-book. | ##### getEpubPackage() ``` public final EpubPackage getEpubPackage() ``` Gets the EPUB metadata package. **Returns:** EpubPackage - The EPUB metadata package. ##### getDublinCorePackage() ``` public final DublinCorePackage getDublinCorePackage() ``` Gets the Dublin Core metadata package extracted from the e-book. **Returns:** DublinCorePackage - The Dublin Core metadata package extracted from the e-book. ### ExifDictionaryBasePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/exifdictionarybasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class ExifDictionaryBasePackage extends CustomPackage ``` Provides an abstract base class for EXIF metadata dictionaries. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Methods | Method | Description | | --- | --- | | toList() | Creates a list from the package. | | getByTiffTagID(TiffTagID tagId) | Gets the TIFF tag with the specified id. | | remove(TiffTagID tagId) | Removes the property with the specified id. | | set(TiffTag tag) | Adds or replaces the specified tag. | | clear() | Removes all TIFF tags stored in the package. | ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all TIFF tags from the package. ##### getByTiffTagID(TiffTagID tagId) ``` public final TiffTag getByTiffTagID(TiffTagID tagId) ``` Gets the TIFF tag with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | TiffTagID | The id of the tag to retrieve. | **Returns:** TiffTag - The TiffTag with the specified tag id. ##### remove(TiffTagID tagId) ``` public final boolean remove(TiffTagID tagId) ``` Removes the property with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | TiffTagID | A TIFF tag id. | **Returns:** boolean - True if the specified TIFF tag is found and removed; otherwise, false. ##### set(TiffTag tag) ``` public final void set(TiffTag tag) ``` Adds or replaces the specified tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tag | TiffTag | The tag to set. | ##### clear() ``` public final void clear() ``` Removes all TIFF tags stored in the package. ### ExifGpsAltitudeRef Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/exifgpsaltituderef.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ExifGpsAltitudeRef extends Enum implements IEnumValue ``` Represents a GPS altitude reference. #### Fields | Field | Description | | --- | --- | | AboveSeaLevel | Above sea level. | | BelowSeaLevel | Below sea level. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### AboveSeaLevel ``` public static final ExifGpsAltitudeRef AboveSeaLevel ``` Above sea level. ##### BelowSeaLevel ``` public static final ExifGpsAltitudeRef BelowSeaLevel ``` Below sea level. ##### values() ``` public static ExifGpsAltitudeRef[] values() ``` **Returns:** com.groupdocs.metadata.core.ExifGpsAltitudeRef[] ##### valueOf(String name) ``` public static ExifGpsAltitudeRef valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ExifGpsAltitudeRef ##### getByRawValue(int rawValue) ``` public static ExifGpsAltitudeRef getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ExifGpsAltitudeRef ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ExifGpsPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/exifgpspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public final class ExifGpsPackage extends ExifDictionaryBasePackage ``` Represents GPS metadata in an EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Constructors | Constructor | Description | | --- | --- | | ExifGpsPackage() | Initializes a new instance of the ExifGpsPackage class. | #### Methods | Method | Description | | --- | --- | | getAltitude() | Gets the altitude based on the reference in AltitudeRef . | | setAltitude(TiffRational value) | Sets the altitude based on the reference in AltitudeRef . | | getAltitudeRef() | Gets the altitude used as the reference altitude. | | setAltitudeRef(ExifGpsAltitudeRef value) | Sets the altitude used as the reference altitude. | | getAreaInformation() | Gets the character string recording the name of the GPS area. | | setAreaInformation(byte[] value) | Sets the character string recording the name of the GPS area. | | getDateStamp() | Gets the character string recording date and time information relative to UTC (Coordinated Universal Time). | | setDateStamp(String value) | Sets the character string recording date and time information relative to UTC (Coordinated Universal Time). | | getDestBearing() | Gets the GPS bearing to the destination point. | | setDestBearing(TiffRational value) | Sets the GPS bearing to the destination point. | | getDestBearingRef() | Gets the GPS reference used for giving the bearing to the destination point. | | setDestBearingRef(String value) | Sets the GPS reference used for giving the bearing to the destination point. | | getDestDistance() | Gets the GPS distance to the destination point. | | setDestDistance(TiffRational value) | Sets the GPS distance to the destination point. | | getDestDistanceRef() | Gets the GPS unit used to express the distance to the destination point. | | setDestDistanceRef(String value) | Sets the GPS unit used to express the distance to the destination point. | | getDestLatitude() | Gets the GPS latitude of the destination point. | | setDestLatitude(TiffRational[] value) | Sets the GPS latitude of the destination point. | | getDestLatitudeRef() | Gets the GPS value which indicates whether the latitude of the destination point is north or south latitude. | | setDestLatitudeRef(String value) | Sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. | | getDestLongitude() | Gets the GPS longitude of the destination point. | | setDestLongitude(TiffRational[] value) | Sets the GPS longitude of the destination point. | | getDestLongitudeRef() | Gets the GPS value which indicates whether the longitude of the destination point is east or west longitude. | | setDestLongitudeRef(String value) | Sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. | | getDifferential() | Gets a GPS value which indicates whether differential correction is applied to the GPS receiver. | | setDifferential(Integer value) | Sets a GPS value which indicates whether differential correction is applied to the GPS receiver. | | getDataDegreeOfPrecision() | Gets the GPS DOP (data degree of precision). | | setDataDegreeOfPrecision(TiffRational value) | Sets the GPS DOP (data degree of precision). | | getImgDirection() | Gets the GPS direction of the image when it was captured. | | setImgDirection(TiffRational value) | Sets the GPS direction of the image when it was captured. | | getImgDirectionRef() | Gets the GPS reference for giving the direction of the image when it is captured. | | setImgDirectionRef(String value) | Sets the GPS reference for giving the direction of the image when it is captured. | | getLatitude() | Gets the GPS latitude. | | setLatitude(TiffRational[] value) | Sets the GPS latitude. | | getLatitudeRef() | Gets a GPS value indicating whether the latitude is north or south latitude. | | setLatitudeRef(String value) | Sets a GPS value indicating whether the latitude is north or south latitude. | | getLongitude() | Gets the GPS longitude. | | setLongitude(TiffRational[] value) | Sets the GPS longitude. | | getLongitudeRef() | Gets a GPS value indicating whether the longitude is east or west longitude. | | setLongitudeRef(String value) | Sets a GPS value indicating whether the longitude is east or west longitude. | | getMapDatum() | Gets the geodetic survey data used by the GPS receiver. | | setMapDatum(String value) | Sets the geodetic survey data used by the GPS receiver. | | getMeasureMode() | Gets the GPS measurement mode. | | setMeasureMode(String value) | Sets the GPS measurement mode. | | getProcessingMethod() | Gets a character string recording the name of the method used for location finding. | | setProcessingMethod(byte[] value) | Sets a character string recording the name of the method used for location finding. | | getSatellites() | Gets the GPS satellites used for measurements. | | setSatellites(String value) | Sets the GPS satellites used for measurements. | | getSpeed() | Gets the speed of GPS receiver movement. | | setSpeed(TiffRational value) | Sets the speed of GPS receiver movement. | | getSpeedRef() | Gets the unit used to express the GPS receiver speed of movement. | | setSpeedRef(String value) | Sets the unit used to express the GPS receiver speed of movement. | | getStatus() | Gets the status of the GPS receiver when the image is recorded. | | setStatus(String value) | Sets the status of the GPS receiver when the image is recorded. | | getTimeStamp() | Gets the time as UTC (Coordinated Universal Time). | | setTimeStamp(TiffRational[] value) | Sets the time as UTC (Coordinated Universal Time). | | getGpsTrack() | Gets the direction of GPS receiver movement. | | setGpsTrack(TiffRational value) | Sets the direction of GPS receiver movement. | | getTrackRef() | Gets the reference for giving the direction of GPS receiver movement. | | setTrackRef(String value) | Sets the reference for giving the direction of GPS receiver movement. | | getVersionID() | Gets the version of GPS IFD. | | setVersionID(byte[] value) | Sets the version of GPS IFD. | ##### ExifGpsPackage() ``` public ExifGpsPackage() ``` Initializes a new instance of the ExifGpsPackage class. ##### getAltitude() ``` public final TiffRational getAltitude() ``` Gets the altitude based on the reference in AltitudeRef . The reference unit is meters. **Returns:** TiffRational - The altitude based on the reference in AltitudeRef . ##### setAltitude(TiffRational value) ``` public final void setAltitude(TiffRational value) ``` Sets the altitude based on the reference in AltitudeRef . The reference unit is meters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The altitude based on the reference in AltitudeRef . | ##### getAltitudeRef() ``` public final ExifGpsAltitudeRef getAltitudeRef() ``` Gets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the Altitude tag. **Returns:** ExifGpsAltitudeRef - The altitude used as the reference altitude ##### setAltitudeRef(ExifGpsAltitudeRef value) ``` public final void setAltitudeRef(ExifGpsAltitudeRef value) ``` Sets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the Altitude tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifGpsAltitudeRef | The altitude used as the reference altitude | ##### getAreaInformation() ``` public final byte[] getAreaInformation() ``` Gets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. **Returns:** byte[] - The character string recording the name of the GPS area. ##### setAreaInformation(byte[] value) ``` public final void setAreaInformation(byte[] value) ``` Sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The character string recording the name of the GPS area. | ##### getDateStamp() ``` public final String getDateStamp() ``` Gets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. **Returns:** java.lang.String - The character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. ##### setDateStamp(String value) ``` public final void setDateStamp(String value) ``` Sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. | ##### getDestBearing() ``` public final TiffRational getDestBearing() ``` Gets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99. **Returns:** TiffRational - The bearing to the destination point. ##### setDestBearing(TiffRational value) ``` public final void setDestBearing(TiffRational value) ``` Sets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The bearing to the destination point. | ##### getDestBearingRef() ``` public final String getDestBearingRef() ``` Gets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction. **Returns:** java.lang.String - The GPS reference used for giving the bearing to the destination point. ##### setDestBearingRef(String value) ``` public final void setDestBearingRef(String value) ``` Sets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS reference used for giving the bearing to the destination point. | ##### getDestDistance() ``` public final TiffRational getDestDistance() ``` Gets the GPS distance to the destination point. **Returns:** TiffRational - The distance to the destination point. ##### setDestDistance(TiffRational value) ``` public final void setDestDistance(TiffRational value) ``` Sets the GPS distance to the destination point. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The distance to the destination point. | ##### getDestDistanceRef() ``` public final String getDestDistanceRef() ``` Gets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots. **Returns:** java.lang.String - The GPS unit used to express the distance to the destination point. ##### setDestDistanceRef(String value) ``` public final void setDestDistanceRef(String value) ``` Sets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS unit used to express the distance to the destination point. | ##### getDestLatitude() ``` public final TiffRational[] getDestLatitude() ``` Gets the GPS latitude of the destination point. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The latitude of the destination point. ##### setDestLatitude(TiffRational[] value) ``` public final void setDestLatitude(TiffRational[] value) ``` Sets the GPS latitude of the destination point. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The latitude of the destination point. | ##### getDestLatitudeRef() ``` public final String getDestLatitudeRef() ``` Gets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. **Returns:** java.lang.String - The GPS value which indicates whether the latitude of the destination point is north or south latitude. ##### setDestLatitudeRef(String value) ``` public final void setDestLatitudeRef(String value) ``` Sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS value which indicates whether the latitude of the destination point is north or south latitude. | ##### getDestLongitude() ``` public final TiffRational[] getDestLongitude() ``` Gets the GPS longitude of the destination point. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The GPS longitude of the destination point. ##### setDestLongitude(TiffRational[] value) ``` public final void setDestLongitude(TiffRational[] value) ``` Sets the GPS longitude of the destination point. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The GPS longitude of the destination point. | ##### getDestLongitudeRef() ``` public final String getDestLongitudeRef() ``` Gets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude. **Returns:** java.lang.String - The GPS value which indicates whether the longitude of the destination point is east or west longitude. ##### setDestLongitudeRef(String value) ``` public final void setDestLongitudeRef(String value) ``` Sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS value which indicates whether the longitude of the destination point is east or west longitude. | ##### getDifferential() ``` public final Integer getDifferential() ``` Gets a GPS value which indicates whether differential correction is applied to the GPS receiver. **Returns:** java.lang.Integer - A GPS value which indicates whether differential correction is applied to the GPS receiver. ##### setDifferential(Integer value) ``` public final void setDifferential(Integer value) ``` Sets a GPS value which indicates whether differential correction is applied to the GPS receiver. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | A GPS value which indicates whether differential correction is applied to the GPS receiver. | ##### getDataDegreeOfPrecision() ``` public final TiffRational getDataDegreeOfPrecision() ``` Gets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. **Returns:** TiffRational - The data degree of precision. ##### setDataDegreeOfPrecision(TiffRational value) ``` public final void setDataDegreeOfPrecision(TiffRational value) ``` Sets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The data degree of precision. | ##### getImgDirection() ``` public final TiffRational getImgDirection() ``` Gets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99. **Returns:** TiffRational - The GPS direction of the image when it was captured. ##### setImgDirection(TiffRational value) ``` public final void setImgDirection(TiffRational value) ``` Sets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The GPS direction of the image when it was captured. | ##### getImgDirectionRef() ``` public final String getImgDirectionRef() ``` Gets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction. **Returns:** java.lang.String - The GPS reference for giving the direction of the image when it is captured. ##### setImgDirectionRef(String value) ``` public final void setImgDirectionRef(String value) ``` Sets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS reference for giving the direction of the image when it is captured. | ##### getLatitude() ``` public final TiffRational[] getLatitude() ``` Gets the GPS latitude. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The latitude. ##### setLatitude(TiffRational[] value) ``` public final void setLatitude(TiffRational[] value) ``` Sets the GPS latitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The latitude. | ##### getLatitudeRef() ``` public final String getLatitudeRef() ``` Gets a GPS value indicating whether the latitude is north or south latitude. **Returns:** java.lang.String - A GPS value indicating whether the latitude is north or south latitude. ##### setLatitudeRef(String value) ``` public final void setLatitudeRef(String value) ``` Sets a GPS value indicating whether the latitude is north or south latitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A GPS value indicating whether the latitude is north or south latitude. | ##### getLongitude() ``` public final TiffRational[] getLongitude() ``` Gets the GPS longitude. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The longitude. ##### setLongitude(TiffRational[] value) ``` public final void setLongitude(TiffRational[] value) ``` Sets the GPS longitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The longitude. | ##### getLongitudeRef() ``` public final String getLongitudeRef() ``` Gets a GPS value indicating whether the longitude is east or west longitude. **Returns:** java.lang.String - A GPS value indicating whether the longitude is east or west longitude. ##### setLongitudeRef(String value) ``` public final void setLongitudeRef(String value) ``` Sets a GPS value indicating whether the longitude is east or west longitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A GPS value indicating whether the longitude is east or west longitude. | ##### getMapDatum() ``` public final String getMapDatum() ``` Gets the geodetic survey data used by the GPS receiver. **Returns:** java.lang.String - The geodetic survey data used by the GPS receiver. ##### setMapDatum(String value) ``` public final void setMapDatum(String value) ``` Sets the geodetic survey data used by the GPS receiver. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The geodetic survey data used by the GPS receiver. | ##### getMeasureMode() ``` public final String getMeasureMode() ``` Gets the GPS measurement mode. **Returns:** java.lang.String - The measure mode. ##### setMeasureMode(String value) ``` public final void setMeasureMode(String value) ``` Sets the GPS measurement mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The measure mode. | ##### getProcessingMethod() ``` public final byte[] getProcessingMethod() ``` Gets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method. **Returns:** byte[] - A character string recording the name of the method used for location finding. ##### setProcessingMethod(byte[] value) ``` public final void setProcessingMethod(byte[] value) ``` Sets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | A character string recording the name of the method used for location finding. | ##### getSatellites() ``` public final String getSatellites() ``` Gets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. **Returns:** java.lang.String - The GPS satellites used for measurements. ##### setSatellites(String value) ``` public final void setSatellites(String value) ``` Sets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS satellites used for measurements. | ##### getSpeed() ``` public final TiffRational getSpeed() ``` Gets the speed of GPS receiver movement. **Returns:** TiffRational - The speed of GPS receiver movement. ##### setSpeed(TiffRational value) ``` public final void setSpeed(TiffRational value) ``` Sets the speed of GPS receiver movement. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The speed of GPS receiver movement. | ##### getSpeedRef() ``` public final String getSpeedRef() ``` Gets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. **Returns:** java.lang.String - The unit used to express the GPS receiver speed of movement. ##### setSpeedRef(String value) ``` public final void setSpeedRef(String value) ``` Sets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The unit used to express the GPS receiver speed of movement. | ##### getStatus() ``` public final String getStatus() ``` Gets the status of the GPS receiver when the image is recorded. **Returns:** java.lang.String - The status of the GPS receiver when the image is recorded. ##### setStatus(String value) ``` public final void setStatus(String value) ``` Sets the status of the GPS receiver when the image is recorded. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The status of the GPS receiver when the image is recorded. | ##### getTimeStamp() ``` public final TiffRational[] getTimeStamp() ``` Gets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The time as UTC (Coordinated Universal Time). ##### setTimeStamp(TiffRational[] value) ``` public final void setTimeStamp(TiffRational[] value) ``` Sets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The time as UTC (Coordinated Universal Time). | ##### getGpsTrack() ``` public final TiffRational getGpsTrack() ``` Gets the direction of GPS receiver movement. **Returns:** TiffRational - The direction of GPS receiver movement. ##### setGpsTrack(TiffRational value) ``` public final void setGpsTrack(TiffRational value) ``` Sets the direction of GPS receiver movement. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The direction of GPS receiver movement. | ##### getTrackRef() ``` public final String getTrackRef() ``` Gets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction. **Returns:** java.lang.String - The reference for giving the direction of GPS receiver movement. ##### setTrackRef(String value) ``` public final void setTrackRef(String value) ``` Sets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The reference for giving the direction of GPS receiver movement. | ##### getVersionID() ``` public final byte[] getVersionID() ``` Gets the version of GPS IFD. **Returns:** byte[] - The version of GPS IFD ##### setVersionID(byte[] value) ``` public final void setVersionID(byte[] value) ``` Sets the version of GPS IFD. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The version of GPS IFD | ### ExifIfdPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/exififdpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public final class ExifIfdPackage extends ExifDictionaryBasePackage ``` Represents the Exif Image File Directory. Exif IFD is a set of tags for recording Exif-specific attribute information. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Methods | Method | Description | | --- | --- | | getCameraOwnerName() | Gets the camera owner's name. | | setCameraOwnerName(String value) | Sets the camera owner's name. | | getBodySerialNumber() | Gets the camera body serial number. | | setBodySerialNumber(String value) | Sets the camera body serial number. | | getCfaPattern() | Gets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | setCfaPattern(byte[] value) | Sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | getUserComment() | Gets the user comment. | | setUserComment(String value) | Sets the user comment. | ##### getCameraOwnerName() ``` public final String getCameraOwnerName() ``` Gets the camera owner's name. **Returns:** java.lang.String - The name of the camera owner. ##### setCameraOwnerName(String value) ``` public final void setCameraOwnerName(String value) ``` Sets the camera owner's name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the camera owner. | ##### getBodySerialNumber() ``` public final String getBodySerialNumber() ``` Gets the camera body serial number. **Returns:** java.lang.String - The camera body serial number. ##### setBodySerialNumber(String value) ``` public final void setBodySerialNumber(String value) ``` Sets the camera body serial number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The camera body serial number. | ##### getCfaPattern() ``` public final byte[] getCfaPattern() ``` Gets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. **Returns:** byte[] - The color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. ##### setCfaPattern(byte[] value) ``` public final void setCfaPattern(byte[] value) ``` Sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | ##### getUserComment() ``` public final String getUserComment() ``` Gets the user comment. **Returns:** java.lang.String - The user comment. ##### setUserComment(String value) ``` public final void setUserComment(String value) ``` Sets the user comment. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user comment. | ### ExifPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/exifpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public class ExifPackage extends ExifDictionaryBasePackage ``` Represents an EXIF metadata package (Exchangeable Image File Format). This code sample demonstrates how to update common EXIF properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > IExif root = (IExif) metadata.getRootPackage(); > // Set the EXIF package if it's missing > if (root.getExifPackage() == null) { > root.setExifPackage(new ExifPackage()); > } > root.getExifPackage().setCopyright("Copyright (C) 2011-2024 GroupDocs. All Rights Reserved."); > root.getExifPackage().setImageDescription("test image"); > root.getExifPackage().setSoftware("GroupDocs.Metadata"); > // ... > root.getExifPackage().getExifIfdPackage().setBodySerialNumber("test"); > root.getExifPackage().getExifIfdPackage().setCameraOwnerName("GroupDocs"); > root.getExifPackage().getExifIfdPackage().setUserComment("test comment"); > // ... > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Constructors | Constructor | Description | | --- | --- | | ExifPackage() | Initializes a new instance of the ExifPackage class. | #### Methods | Method | Description | | --- | --- | | getGpsPackage() | Gets the GPS data. | | getExifIfdPackage() | Gets the EXIF IFD data. | | getThumbnail() | Gets the image thumbnail represented as an array of bytes. | | getArtist() | Gets the name of the camera owner, photographer or image creator. | | setArtist(String value) | Sets the name of the camera owner, photographer or image creator. | | getCopyright() | Gets the copyright notice. | | setCopyright(String value) | Sets the copyright notice. | | getDateTime() | Gets the date and time of image creation. | | setDateTime(String value) | Sets the date and time of image creation. | | getImageDescription() | Gets a character string giving the title of the image. | | setImageDescription(String value) | Sets a character string giving the title of the image. | | getImageLength() | Gets the number of rows of image data. | | setImageLength(int value) | Sets the number of rows of image data. | | getImageWidth() | Gets the number of columns of image data, equal to the number of pixels per row. | | setImageWidth(int value) | Sets the number of columns of image data, equal to the number of pixels per row. | | getOrientation() | Gets or sets the orientation. | | setOrientation(int value) | Gets or sets the orientation. | | getMake() | Gets the manufacturer of the recording equipment. | | setMake(String value) | Sets the manufacturer of the recording equipment. | | getModel() | Gets the model name or model number of the equipment. | | setModel(String value) | Sets the model name or model number of the equipment. | | getSoftware() | Gets the name and version of the software or firmware of the camera or image input device used to generate the image. | | setSoftware(String value) | Sets the name and version of the software or firmware of the camera or image input device used to generate the image. | ##### ExifPackage() ``` public ExifPackage() ``` Initializes a new instance of the ExifPackage class. ##### getGpsPackage() ``` public final ExifGpsPackage getGpsPackage() ``` Gets the GPS data. **Returns:** ExifGpsPackage - The GPS data. ##### getExifIfdPackage() ``` public final ExifIfdPackage getExifIfdPackage() ``` Gets the EXIF IFD data. **Returns:** ExifIfdPackage - The EXIF IFD data. ##### getThumbnail() ``` public final byte[] getThumbnail() ``` Gets the image thumbnail represented as an array of bytes. **Returns:** byte[] - The image thumbnail represented as an array of bytes. This feature is not available in trial mode. ##### getArtist() ``` public final String getArtist() ``` Gets the name of the camera owner, photographer or image creator. **Returns:** java.lang.String - The name of the camera owner, photographer or image creator. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the name of the camera owner, photographer or image creator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the camera owner, photographer or image creator. | ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright notice. **Returns:** java.lang.String - The copyright notice. ##### setCopyright(String value) ``` public final void setCopyright(String value) ``` Sets the copyright notice. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The copyright notice. | ##### getDateTime() ``` public final String getDateTime() ``` Gets the date and time of image creation. In the EXIF standard, it is the date and time the file was changed. **Returns:** java.lang.String - The date and time of image creation. ##### setDateTime(String value) ``` public final void setDateTime(String value) ``` Sets the date and time of image creation. In the EXIF standard, it is the date and time the file was changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date and time of image creation. | ##### getImageDescription() ``` public final String getImageDescription() ``` Gets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Returns:** java.lang.String - The image description. ##### setImageDescription(String value) ``` public final void setImageDescription(String value) ``` Sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image description. | ##### getImageLength() ``` public final int getImageLength() ``` Gets the number of rows of image data. **Returns:** int - The number of rows of image data. ##### setImageLength(int value) ``` public final void setImageLength(int value) ``` Sets the number of rows of image data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The number of rows of image data. | ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the number of columns of image data, equal to the number of pixels per row. **Returns:** int - The number of columns of image data, equal to the number of pixels per row. ##### setImageWidth(int value) ``` public final void setImageWidth(int value) ``` Sets the number of columns of image data, equal to the number of pixels per row. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The number of columns of image data, equal to the number of pixels per row. | ##### getOrientation() ``` public final int getOrientation() ``` Gets or sets the orientation. Value: The orientation. **Returns:** int ##### setOrientation(int value) ``` public final void setOrientation(int value) ``` Gets or sets the orientation. Value: The orientation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMake() ``` public final String getMake() ``` Gets the manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. **Returns:** java.lang.String - The manufacturer of the recording equipment. ##### setMake(String value) ``` public final void setMake(String value) ``` Sets the manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manufacturer of the recording equipment. | ##### getModel() ``` public final String getModel() ``` Gets the model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. **Returns:** java.lang.String - The model name or model number of the equipment. ##### setModel(String value) ``` public final void setModel(String value) ``` Sets the model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The model name or model number of the equipment. | ##### getSoftware() ``` public final String getSoftware() ``` Gets the name and version of the software or firmware of the camera or image input device used to generate the image. **Returns:** java.lang.String - The name and version of the software or firmware of the camera or image input device used to generate the image. ##### setSoftware(String value) ``` public final void setSoftware(String value) ``` Sets the name and version of the software or firmware of the camera or image input device used to generate the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name and version of the software or firmware of the camera or image input device used to generate the image. | ### FileFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/fileformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum FileFormat extends Enum implements IEnumValue ``` Represents the recognized format of a loaded file. #### Fields | Field | Description | | --- | --- | | Unknown | The file type is not recognized. | | Presentation | A presentation file. | | Spreadsheet | A spreadsheet file. | | WordProcessing | A word processing file. | | Diagram | A diagram file. | | Note | An electronic note file. | | ProjectManagement | A project management format. | | Pdf | A PDF file. | | Tiff | A TIFF image. | | Jpeg | A JPEG image. | | Psd | A PSD image. | | Jpeg2000 | A Jpeg2000 image. | | Gif | A GIF image. | | Png | A PNG image. | | Bmp | A BMP image. | | Dicom | A DICOM image. | | WebP | A WEBP image. | | Emf | An EMF image. | | Wmf | A WMF image. | | DjVu | A DjVu file. | | Wav | A WAV audio file. | | Mp3 | An Mp3 audio file. | | Avi | An AVI video. | | Flv | An FLV video. | | Asf | An ASF video. | | Mov | A QuickTime video. | | Matroska | A video encoded with the Matroska multimedia container. | | Zip | A ZIP archive. | | SevenZip | 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. | | VCard | A VCard file. | | Epub | An EPUB electronic book. | | OpenType | An OpenType font. | | Dxf | A DXF (Drawing Exchange Format) drawing. | | Dwg | A DWG drawing. | | Eml | An EML email message. | | Msg | An MSG email message. | | Torrent | A torrent file that contains metadata about files and folders to be distributed. | | Heif | A HEIF/HEIC image. | | Dng | A dng RAW image. | | Cr2 | A CR2 image. | | Gltf | A glTF (GL Transmission Format) 3D file. | | Svg | An SVG (Scalable Vector Graphics) image. | | Avif | An AVIF (AV1 Image File Format) image. | | Rar | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | Tar | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final FileFormat Unknown ``` The file type is not recognized. ##### Presentation ``` public static final FileFormat Presentation ``` A presentation file. You must be familiar with PPTX and PPT extension files while working with Microsoft PowerPoint. These are Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ ##### Spreadsheet ``` public static final FileFormat Spreadsheet ``` A spreadsheet file. A spreadsheet file contains data in the form of rows and columns. You can open, view and edit such files using spreadsheet software applications such as Microsoft Excel that is now available for both Windows and MacOS operating system. Similarly, Google sheets is a free online spreadsheet creating and editing tool that works from any web browser. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/ ##### WordProcessing ``` public static final FileFormat WordProcessing ``` A word processing file. A word processing file contains user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/ ##### Diagram ``` public static final FileFormat Diagram ``` A diagram file. ##### Note ``` public static final FileFormat Note ``` An electronic note file. Note-taking programs such as Microsoft OneNote lets you create, open and edit notes files that contain sections and pages for storing notes. A note document can be as simple as a text document as well as more detailed consisting of digital images, audio/video clips, and hand sketch drawings. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/note-taking/ ##### ProjectManagement ``` public static final FileFormat ProjectManagement ``` A project management format. Have you ever come across and wondered what is an MPP file or how to open it? MPP and other similar files are Project file formats that are created by Project Management software such as Microsoft Project. A project file is a collection of tasks, resources, and their scheduling to get a measurable output in the form or a product or a service. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/project-management/ ##### Pdf ``` public static final FileFormat Pdf ``` A PDF file. Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/view/pdf/ ##### Tiff ``` public static final FileFormat Tiff ``` A TIFF image. TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/tiff/ ##### Jpeg ``` public static final FileFormat Jpeg ``` A JPEG image. JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/jpeg/ ##### Psd ``` public static final FileFormat Psd ``` A PSD image. PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. PSD files may include image layers, adjustment layers, layer masks, annotations, file information, keywords and other Photoshop-specific elements. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/psd/ ##### Jpeg2000 ``` public static final FileFormat Jpeg2000 ``` A Jpeg2000 image. JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/jp2/ ##### Gif ``` public static final FileFormat Gif ``` A GIF image. A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/gif/ ##### Png ``` public static final FileFormat Png ``` A PNG image. PNG, Portable Network Graphics, refers to a type of raster image file format that use lossless compression. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/png/ ##### Bmp ``` public static final FileFormat Bmp ``` A BMP image. Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/bmp/ ##### Dicom ``` public static final FileFormat Dicom ``` A DICOM image. DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is the combination of file format definition and a network communications protocol. Learn more about this file format [ here ][here] . [here]: https://wiki.fileformat.com/image/dicom/ ##### WebP ``` public static final FileFormat WebP ``` A WEBP image. WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/webp/ ##### Emf ``` public static final FileFormat Emf ``` An EMF image. Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/emf/ ##### Wmf ``` public static final FileFormat Wmf ``` A WMF image. Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. To be more accurate, WMF belongs to the vector file format category of Graphics file formats that is device independent. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/wmf/ ##### DjVu ``` public static final FileFormat DjVu ``` A DjVu file. DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. It was developed by AT&T Labs. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/djvu/ ##### Wav ``` public static final FileFormat Wav ``` A WAV audio file. WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn't apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/audio/wav/ ##### Mp3 ``` public static final FileFormat Mp3 ``` An Mp3 audio file. Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. It was developed by the Moving Picture Experts Group (MPEG) that uses Layer 3 audio compression. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/audio/mp3/ ##### Avi ``` public static final FileFormat Avi ``` An AVI video. The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. It holds the audio and video data created and compressed using several codecs (Coders/Decoders) such as Xvid and DivX. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/video/avi/ ##### Flv ``` public static final FileFormat Flv ``` An FLV video. ##### Asf ``` public static final FileFormat Asf ``` An ASF video. The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/video/wmv/ ##### Mov ``` public static final FileFormat Mov ``` A QuickTime video. Mov or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Mov format is compatible both in Windows and Macintosh systems. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/video/mov/ ##### Matroska ``` public static final FileFormat Matroska ``` A video encoded with the Matroska multimedia container. ##### Zip ``` public static final FileFormat Zip ``` A ZIP archive. ZIP file extension represents archives that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size. ZIP file format was made public back in February 1989 by Phil Katz for achieving archiving of files and folders. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/compression/zip/ ##### SevenZip ``` public static final FileFormat SevenZip ``` 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. ##### VCard ``` public static final FileFormat VCard ``` A VCard file. VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/email/vcf/ ##### Epub ``` public static final FileFormat Epub ``` An EPUB electronic book. Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/ebook/epub/ ##### OpenType ``` public static final FileFormat OpenType ``` An OpenType font. ##### Dxf ``` public static final FileFormat Dxf ``` A DXF (Drawing Exchange Format) drawing. DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Each element in the file has a prefix integer number called a group code. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/cad/dxf/ ##### Dwg ``` public static final FileFormat Dwg ``` A DWG drawing. Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/cad/dwg/ ##### Eml ``` public static final FileFormat Eml ``` An EML email message. EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/email/eml/ ##### Msg ``` public static final FileFormat Msg ``` An MSG email message. MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Such messages may contain one or more email fields, with the sender, recipient, subject, date, and message body, or contact information, appointment particulars, and one or more task specifications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/email/msg/ ##### Torrent ``` public static final FileFormat Torrent ``` A torrent file that contains metadata about files and folders to be distributed. ##### Heif ``` public static final FileFormat Heif ``` A HEIF/HEIC image. ##### Dng ``` public static final FileFormat Dng ``` A dng RAW image. ##### Cr2 ``` public static final FileFormat Cr2 ``` A CR2 image. ##### Gltf ``` public static final FileFormat Gltf ``` A glTF (GL Transmission Format) 3D file. ##### Svg ``` public static final FileFormat Svg ``` An SVG (Scalable Vector Graphics) image. ##### Avif ``` public static final FileFormat Avif ``` An AVIF (AV1 Image File Format) image. ##### Rar ``` public static final FileFormat Rar ``` RAR is a proprietary archive file format that supports data compression, error correction and file spanning. ##### Tar ``` public static final FileFormat Tar ``` In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. ##### values() ``` public static FileFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.FileFormat[] ##### valueOf(String name) ``` public static FileFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** FileFormat ##### getByRawValue(int rawValue) ``` public static FileFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** FileFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### FileType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/filetype.md **Inheritance:** java.lang.Object ``` public class FileType ``` Represents the file type. [Supported Document Formats]: https://docs.groupdocs.com/metadata/java/supported-document-formats/ [Get supported file formats]: https://docs.groupdocs.com/metadata/java/get-supported-file-formats/ #### Fields | Field | Description | | --- | --- | | Unknown | Represents unknown file type. | | TORRENT | Represents TORRENT file type. | | PDF | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | | PPT | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. | | PPTX | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. | | POTX | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. | | PPTM | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. | | POTM | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. | | PPS | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. | | PPSX | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. | | PPSM | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. | | POT | Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. | | XLS | Files with XLS extension represent Excel Binary File Format. | | XLSX | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. | | XLSM | Files with XLSM extension is a type of Spreasheet files that support Macros. | | XLT | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. | | ODT | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | DOT | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | DOC | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. | | DOCX | DOCX is a well-known format for Microsoft Word documents. | | XLTX | Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. | | DOTX | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | ODS | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. | | XLTM | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. | | XLSB | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. | | DOTM | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. | | DOCM | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | EPUB | Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. | | TTF | TTF represents font files based on the TrueType specifications font technology. | | TTC | TTC (TrueType Collection) is a TrueType font collection format. | | OTF | A file with .otf extension refers to OpenType font format. | | OTC | OTC (OpenType Collection) is a OpenType font collection format. | | ONE | File represented by .ONE extension are created by Microsoft OneNote application. | | ZIP | ZIP file extension represents archives that can hold one or more files or directories. | | ZIPX | ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. | | JAR | JAR is a Java Archive file that contains many different application related files as a single file. | | VCF | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. | | VCR | VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. | | EML | EML file format represents email messages saved using Outlook and other relevant applications. | | MSG | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. | | MP3 | Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. | | WAV | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. | | BMP | Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. | | DJVU | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. | | DJV | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. | | GIF | A GIF or Graphical Interchange Format is a type of highly compressed image. | | JPG | A JPEG is a type of image format that is saved using the method of lossy compression. | | JPE | A JPEG is a type of image format that is saved using the method of lossy compression. | | JPEG | A JPEG is a type of image format that is saved using the method of lossy compression. | | JP2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. | | J2K | JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. | | JPF | JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. | | JPX | JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. | | JPM | JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. | | MJ2 | Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. | | PNG | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. | | TIFF | TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | TIF | TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | WEBP | WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. | | EMF | Enhanced metafile format (EMF) stores graphical images device-independently. | | WMF | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. | | PSD | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. | | MPP | MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. | | MPT | MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. | | VSD | VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. | | VDX | Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. | | VSDX | Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. | | VSS | VSS are stencil files created with Microsoft Visio 2007 and earlier. | | VSX | Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. | | VTX | Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. | | DICOM | DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. | | HEIF | An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. | | HEIC | An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. | | DWG | Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. | | DXF | DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. | | AVI | The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. | | MOV | MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. | | QT | MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. | | MKA | MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. | | MKV | MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. | | MK3D | MK3D is actually stereoscopic 3D video created using Matroska 3D format. | | WEBM | WEBM is a video file based on the open, royalty-free WebM file format. | | FLV | FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. | | ASF | The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. | | DNG | DNG is a digital camera image format used for the storage of raw files. | | CR2 | The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. | | SEVENZIP | 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. | | RAR | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | TAR | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | | GLTF | glTF (GL Transmission Format) is a 3D file format used for 3D scenes and models. | | SVG | SVG (Scalable Vector Graphics) is an XML-based vector image format. | | AVIF | AVIF (AV1 Image File Format) is an image format based on the AV1 video codec. | #### Methods | Method | Description | | --- | --- | | getDescription() | Gets the file type description. | | getExtension() | Gets the file extension. | | getFileFormat() | Gets the file format. | | toString() | Returns a String that represents the current FileType . | | getSupportedFileTypes() | Retrieves supported file types. | | fromExtension(String fileExtension) | Gets FileType for provided fileExtension | ##### Unknown ``` public static final FileType Unknown ``` Represents unknown file type. ##### TORRENT ``` public static final FileType TORRENT ``` Represents TORRENT file type. ##### PDF ``` public static final FileType PDF ``` Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/pdf/ ##### PPT ``` public static final FileType PPT ``` A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppt/ ##### PPTX ``` public static final FileType PPTX ``` Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pptx/ ##### POTX ``` public static final FileType POTX ``` Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/potx/ ##### PPTM ``` public static final FileType PPTM ``` Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pptm/ ##### POTM ``` public static final FileType POTM ``` Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/potm/ ##### PPS ``` public static final FileType PPS ``` PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pps/ ##### PPSX ``` public static final FileType PPSX ``` PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppsx/ ##### PPSM ``` public static final FileType PPSM ``` Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppsm/ ##### POT ``` public static final FileType POT ``` Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pot/ ##### XLS ``` public static final FileType XLS ``` Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xls/ ##### XLSX ``` public static final FileType XLSX ``` XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlsx/ ##### XLSM ``` public static final FileType XLSM ``` Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlsm/ ##### XLT ``` public static final FileType XLT ``` Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlt/ ##### ODT ``` public static final FileType ODT ``` ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/odt/ ##### DOT ``` public static final FileType DOT ``` Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dot/ ##### DOC ``` public static final FileType DOC ``` Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/doc/ ##### DOCX ``` public static final FileType DOCX ``` DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/docx/ ##### XLTX ``` public static final FileType XLTX ``` Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xltx/ ##### DOTX ``` public static final FileType DOTX ``` Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dotx/ ##### ODS ``` public static final FileType ODS ``` Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/ods/ ##### XLTM ``` public static final FileType XLTM ``` The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xltm/ ##### XLSB ``` public static final FileType XLSB ``` XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlsb/ ##### DOTM ``` public static final FileType DOTM ``` A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dotm/ ##### DOCM ``` public static final FileType DOCM ``` DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/docm/ ##### EPUB ``` public static final FileType EPUB ``` Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/ebook/epub/ ##### TTF ``` public static final FileType TTF ``` TTF represents font files based on the TrueType specifications font technology. TrueType fonts provide highest quality display on computer screens and printers without any dependency on resolution. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/ttf/ ##### TTC ``` public static final FileType TTC ``` TTC (TrueType Collection) is a TrueType font collection format. A TTC file can combine the multiple font files into it. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/ttc/ ##### OTF ``` public static final FileType OTF ``` A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/otf/ ##### OTC ``` public static final FileType OTC ``` OTC (OpenType Collection) is a OpenType font collection format. An OTC file can combine the multiple font files into it. ##### ONE ``` public static final FileType ONE ``` File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/note-taking/one/ ##### ZIP ``` public static final FileType ZIP ``` ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/compression/zip/ ##### ZIPX ``` public static final FileType ZIPX ``` ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. ##### JAR ``` public static final FileType JAR ``` JAR is a Java Archive file that contains many different application related files as a single file. This file format was created to reduce the speed of loading a downloaded Java Applet in browser via HTTP transaction, Learn more about this file format [here][]. [here]: https://docs.fileformat.com/programming/jar/ ##### VCF ``` public static final FileType VCF ``` VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/email/vcf/ ##### VCR ``` public static final FileType VCR ``` VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. ##### EML ``` public static final FileType EML ``` EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/eml/ ##### MSG ``` public static final FileType MSG ``` MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/msg/ ##### MP3 ``` public static final FileType MP3 ``` Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/audio/mp3/ ##### WAV ``` public static final FileType WAV ``` WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/audio/wav/ ##### BMP ``` public static final FileType BMP ``` Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/bmp/ ##### DJVU ``` public static final FileType DJVU ``` DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/djvu/ ##### DJV ``` public static final FileType DJV ``` DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/djvu/ ##### GIF ``` public static final FileType GIF ``` A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/gif/ ##### JPG ``` public static final FileType JPG ``` A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg/ ##### JPE ``` public static final FileType JPE ``` A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg/ ##### JPEG ``` public static final FileType JPEG ``` A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg/ ##### JP2 ``` public static final FileType JP2 ``` JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jp2/ ##### J2K ``` public static final FileType J2K ``` JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/j2k/ ##### JPF ``` public static final FileType JPF ``` JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpf/ ##### JPX ``` public static final FileType JPX ``` JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpx/ ##### JPM ``` public static final FileType JPM ``` JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpm/ ##### MJ2 ``` public static final FileType MJ2 ``` Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. ##### PNG ``` public static final FileType PNG ``` PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/png/ ##### TIFF ``` public static final FileType TIFF ``` TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/tiff/ ##### TIF ``` public static final FileType TIF ``` TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/tiff/ ##### WEBP ``` public static final FileType WEBP ``` WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/webp/ ##### EMF ``` public static final FileType EMF ``` Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/emf/ ##### WMF ``` public static final FileType WMF ``` Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/wmf/ ##### PSD ``` public static final FileType PSD ``` PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/psd/ ##### MPP ``` public static final FileType MPP ``` MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/project-management/mpp/ ##### MPT ``` public static final FileType MPT ``` MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/project-management/mpt/ ##### VSD ``` public static final FileType VSD ``` VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vsd/ ##### VDX ``` public static final FileType VDX ``` Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vdx/ ##### VSDX ``` public static final FileType VSDX ``` Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vsdx/ ##### VSS ``` public static final FileType VSS ``` VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vss/ ##### VSX ``` public static final FileType VSX ``` Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vsx/ ##### VTX ``` public static final FileType VTX ``` Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/visio/vtx/ ##### DICOM ``` public static final FileType DICOM ``` DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is used for the integration of medical imaging devices like printers, servers, scanners etc from various vendors and also contains identification data of each patient for uniqueness. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/dicom/ ##### HEIF ``` public static final FileType HEIF ``` An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. HEIF file format compresses the images using the High Efficiency Video Coding (HEVC) standard. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/heif/ ##### HEIC ``` public static final FileType HEIC ``` An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. HEIC, like HEIF, are compressed using the High Efficiency Video Coding (HEVC) standard and are smaller in size without compromising the quality. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/heic/ ##### DWG ``` public static final FileType DWG ``` Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dwg/ ##### DXF ``` public static final FileType DXF ``` DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dxf/ ##### AVI ``` public static final FileType AVI ``` The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/avi/ ##### MOV ``` public static final FileType MOV ``` MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/mov/ ##### QT ``` public static final FileType QT ``` MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/mov/ ##### MKA ``` public static final FileType MKA ``` MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. The MKA format supports several different kinds of audio compression algorithms such as MP3, AAC and Vobis. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/mka/ ##### MKV ``` public static final FileType MKV ``` MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/mkv/ ##### MK3D ``` public static final FileType MK3D ``` MK3D is actually stereoscopic 3D video created using Matroska 3D format. The MKV file container uses a StereoMode field\\u2019s value to define the type of stereoscopic 3D video stuff. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/mk3d/ ##### WEBM ``` public static final FileType WEBM ``` WEBM is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/webm/ ##### FLV ``` public static final FileType FLV ``` FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/flv/ ##### ASF ``` public static final FileType ASF ``` The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/wmv/ ##### DNG ``` public static final FileType DNG ``` DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. DNG is an extension of TIFF/EP standard format and uses metadata significantly. In order to manipulate raw data from digital cameras with the ease of flexibility and artistic control, photographers opt camera raw files. JPEG and TIFF formats store images that are processed by the camera, therefore, not much room for alteration is available in such formats. [here][]. [here]: https://wiki.fileformat.com/image/dng/ ##### CR2 ``` public static final FileType CR2 ``` The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. [here][]. [here]: https://wiki.fileformat.com/image/cr2/ ##### SEVENZIP ``` public static final FileType SEVENZIP ``` 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. [here][] . [here]: https://wiki.fileformat.com/compression/zip/ ##### RAR ``` public static final FileType RAR ``` RAR is a proprietary archive file format that supports data compression, error correction and file spanning. [here][] . [here]: https://wiki.fileformat.com/compression/rar/ ##### TAR ``` public static final FileType TAR ``` In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. [here][] . [here]: https://wiki.fileformat.com/compression/tar/ ##### GLTF ``` public static final FileType GLTF ``` glTF (GL Transmission Format) is a 3D file format used for 3D scenes and models. ##### SVG ``` public static final FileType SVG ``` SVG (Scalable Vector Graphics) is an XML-based vector image format. ##### AVIF ``` public static final FileType AVIF ``` AVIF (AV1 Image File Format) is an image format based on the AV1 video codec. ##### getDescription() ``` public final String getDescription() ``` Gets the file type description. **Returns:** java.lang.String - The file type description. ##### getExtension() ``` public final String getExtension() ``` Gets the file extension. **Returns:** java.lang.String - The file extension. ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the file format. **Returns:** FileFormat - The file format. ##### toString() ``` public String toString() ``` Returns a String that represents the current FileType . **Returns:** java.lang.String - A String that represents the current FileType . ##### getSupportedFileTypes() ``` public static Iterable getSupportedFileTypes() ``` Retrieves supported file types. **Returns:** java.lang.Iterable - A collection of supported file types. ##### fromExtension(String fileExtension) ``` public static FileType fromExtension(String fileExtension) ``` Gets FileType for provided fileExtension **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileExtension | java.lang.String | File extension | **Returns:** FileType - File type ### FileTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/filetypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class FileTypePackage extends CustomPackage ``` Represents a metadata package containing file format information. [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info [Supported file formats]: https://docs.groupdocs.com/display/metadatajava/Supported+File+Formats #### Methods | Method | Description | | --- | --- | | getFileFormat() | Gets the file format. | | getMimeType() | Gets the MIME type. | | getExtension() | Gets the file extension. | ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the file format. **Returns:** FileFormat - The file format. ##### getMimeType() ``` public final String getMimeType() ``` Gets the MIME type. **Returns:** java.lang.String - The MIME type value. ##### getExtension() ``` public final String getExtension() ``` Gets the file extension. **Returns:** java.lang.String - The file extension. ### FlvHeader Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/flvheader.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class FlvHeader extends CustomPackage ``` Represents a FLV video header. [Working with metadata in FLV files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+FLV+files #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the file version. | | getTypeFlags() | Gets the FLV type flags. | | hasAudioTags() | Gets a value indicating whether audio tags are present in the file. | | hasVideoTags() | Gets a value indicating whether video tags are present in the file. | ##### getVersion() ``` public final byte getVersion() ``` Gets the file version. **Returns:** byte - The file version. ##### getTypeFlags() ``` public final byte getTypeFlags() ``` Gets the FLV type flags. **Returns:** byte - The FLV type flags. ##### hasAudioTags() ``` public final boolean hasAudioTags() ``` Gets a value indicating whether audio tags are present in the file. **Returns:** boolean - True if the FLV file contains audio tags; otherwise, false. ##### hasVideoTags() ``` public final boolean hasVideoTags() ``` Gets a value indicating whether video tags are present in the file. **Returns:** boolean - True if the FLV file contains video tags; otherwise, false. ### FlvRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/flvrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class FlvRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an FLV video. This example shows how to read FLV header properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputFlv)) { > FlvRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getHeader().getVersion()); > System.out.println(root.getHeader().hasAudioTags()); > System.out.println(root.getHeader().hasVideoTags()); > System.out.println(root.getHeader().getTypeFlags()); > } > > ``` > ``` [Working with metadata in FLV files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+FLV+files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getHeader() | Gets the FLV header package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getHeader() ``` public final FlvHeader getHeader() ``` Gets the FLV header package. **Returns:** FlvHeader - The FLV header package. ### GifImageTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/gifimagetypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage, com.groupdocs.metadata.core.ImageTypePackage ``` public class GifImageTypePackage extends ImageTypePackage ``` Represents a metadata package containing GIF-specific file format information. #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the format. | ##### getVersion() ``` public final String getVersion() ``` Gets the version of the format. **Returns:** java.lang.String - The version of the format. ### GifRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/gifrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class GifRootPackage extends ImageRootPackage implements IXmp ``` Represents the root package intended to work with metadata in a GIF image. This code snippet shows how to detect the version of a loaded GIF image and extract some additional file format information. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputGif)) { > GifRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getGifImageType().getFileFormat()); > System.out.println(root.getGifImageType().getVersion()); > System.out.println(root.getGifImageType().getByteOrder()); > System.out.println(root.getGifImageType().getMimeType()); > System.out.println(root.getGifImageType().getExtension()); > System.out.println(root.getGifImageType().getWidth()); > System.out.println(root.getGifImageType().getHeight()); > } > > ``` > ``` [Working with metadata in GIF images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+GIF+images [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getGifImageType() | Gets the file type metadata package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | isXmpSupported() | Gets a value indicating whether the XMP metadata is supported for this image. | ##### getGifImageType() ``` public final GifImageTypePackage getGifImageType() ``` Gets the file type metadata package. **Returns:** GifImageTypePackage - The file type metadata package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### isXmpSupported() ``` public final boolean isXmpSupported() ``` Gets a value indicating whether the XMP metadata is supported for this image. **Returns:** boolean - True if the XMP metadata is supported for this image; otherwise, false. ### GpsIfdPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/gpsifdpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class GpsIfdPackage extends RawDictionaryBasePackage ``` Represents GPS IFD. #### Methods | Method | Description | | --- | --- | | getGPSVersionID() | Gets the GPSVersionID. | | getGPSLatitudeRef() | Gets the GPSLatitudeRef. | | getGPSLatitude() | Gets the GPSLatitude. | | getGPSLongitudeRef() | Gets the GPSLongitudeRef. | | getGPSLongitude() | Gets the GPSLongitude. | | getGPSAltitudeRef() | Gets the GPSAltitudeRef. | | getGPSAltitude() | Gets the GPSAltitude. | | getGPSTimeStamp() | Gets the GPSTimeStamp. | | getGPSSatellites() | Gets the GPSSatellites. | | getGPSStatus() | Gets the GPSStatus. | | getGPSMeasureMode() | Gets the GPSMeasureMode. | | getGPSDOP() | Gets the GPSDOP. | | getGPSSpeedRef() | Gets the GPSSpeedRef. | | getGPSSpeed() | Gets the GPSSpeed. | | getGPSTrackRef() | Gets the GPSTrackRef. | | getGPSTrack() | Gets the GPSTrack. | | getGPSImgDirectionRef() | Gets the GPSImgDirectionRef. | | getGPSImgDirection() | Gets the GPSImgDirection. | | getGPSMapDatum() | Gets the GPSMapDatum. | | getGPSDestLatitudeRef() | Gets the GPSDestLatitudeRef. | | getGPSDestLatitude() | Gets the GPSDestLatitude. | | getGPSDestLongitudeRef() | Gets the GPSDestLongitudeRef. | | getGPSDestLongitude() | Gets the GPSDestLongitude. | | getGPSDestBearingRef() | Gets the GPSDestBearingRef. | | getGPSDestBearing() | Gets the GPSDestBearing. | | getGPSDestDistanceRef() | Gets the GPSDestDistanceRef. | | getGPSDestDistance() | Gets the GPSDestDistance. | | getGPSProcessingMethod() | Gets the GPSProcessingMethod. | | getGPSAreaInformation() | Gets the GPSAreaInformation. | | getGPSDateStamp() | Gets the GPSDateStamp. | | getGPSDifferential() | Gets the GPSDifferential. | | getGPSHPositioningError() | Gets the GPSHPositioningError. | ##### getGPSVersionID() ``` public final byte[] getGPSVersionID() ``` Gets the GPSVersionID. **Returns:** byte[] - The GPSVersionID. ##### getGPSLatitudeRef() ``` public final String getGPSLatitudeRef() ``` Gets the GPSLatitudeRef. **Returns:** java.lang.String - The GPSLatitudeRef. ##### getGPSLatitude() ``` public final double[] getGPSLatitude() ``` Gets the GPSLatitude. **Returns:** double[] - The GPSLatitude. ##### getGPSLongitudeRef() ``` public final String getGPSLongitudeRef() ``` Gets the GPSLongitudeRef. **Returns:** java.lang.String - The GPSLongitudeRef. ##### getGPSLongitude() ``` public final double[] getGPSLongitude() ``` Gets the GPSLongitude. **Returns:** double[] - The GPSLongitude. ##### getGPSAltitudeRef() ``` public final byte getGPSAltitudeRef() ``` Gets the GPSAltitudeRef. **Returns:** byte - The GPSAltitudeRef. ##### getGPSAltitude() ``` public final float getGPSAltitude() ``` Gets the GPSAltitude. **Returns:** float - The GPSAltitude. ##### getGPSTimeStamp() ``` public final double[] getGPSTimeStamp() ``` Gets the GPSTimeStamp. **Returns:** double[] - The GPSTimeStamp. ##### getGPSSatellites() ``` public final String getGPSSatellites() ``` Gets the GPSSatellites. **Returns:** java.lang.String - The GPSSatellites. ##### getGPSStatus() ``` public final String getGPSStatus() ``` Gets the GPSStatus. **Returns:** java.lang.String - The GPSStatus. ##### getGPSMeasureMode() ``` public final String getGPSMeasureMode() ``` Gets the GPSMeasureMode. **Returns:** java.lang.String - The GPSMeasureMode. ##### getGPSDOP() ``` public final float getGPSDOP() ``` Gets the GPSDOP. **Returns:** float - The GPSDOP. ##### getGPSSpeedRef() ``` public final String getGPSSpeedRef() ``` Gets the GPSSpeedRef. **Returns:** java.lang.String - The GPSSpeedRef. ##### getGPSSpeed() ``` public final float getGPSSpeed() ``` Gets the GPSSpeed. **Returns:** float - The GPSSpeed. ##### getGPSTrackRef() ``` public final String getGPSTrackRef() ``` Gets the GPSTrackRef. **Returns:** java.lang.String - The GPSTrackRef. ##### getGPSTrack() ``` public final float getGPSTrack() ``` Gets the GPSTrack. **Returns:** float - The GPSTrack. ##### getGPSImgDirectionRef() ``` public final String getGPSImgDirectionRef() ``` Gets the GPSImgDirectionRef. **Returns:** java.lang.String - The GPSImgDirectionRef. ##### getGPSImgDirection() ``` public final float getGPSImgDirection() ``` Gets the GPSImgDirection. **Returns:** float - The GPSImgDirection. ##### getGPSMapDatum() ``` public final String getGPSMapDatum() ``` Gets the GPSMapDatum. **Returns:** java.lang.String - The GPSMapDatum. ##### getGPSDestLatitudeRef() ``` public final String getGPSDestLatitudeRef() ``` Gets the GPSDestLatitudeRef. **Returns:** java.lang.String - The GPSDestLatitudeRef. ##### getGPSDestLatitude() ``` public final double[] getGPSDestLatitude() ``` Gets the GPSDestLatitude. **Returns:** double[] - The GPSDestLatitude. ##### getGPSDestLongitudeRef() ``` public final String getGPSDestLongitudeRef() ``` Gets the GPSDestLongitudeRef. **Returns:** java.lang.String - The GPSDestLongitudeRef. ##### getGPSDestLongitude() ``` public final double[] getGPSDestLongitude() ``` Gets the GPSDestLongitude. **Returns:** double[] - The GPSDestLongitude. ##### getGPSDestBearingRef() ``` public final String getGPSDestBearingRef() ``` Gets the GPSDestBearingRef. **Returns:** java.lang.String - The GPSDestBearingRef. ##### getGPSDestBearing() ``` public final float getGPSDestBearing() ``` Gets the GPSDestBearing. **Returns:** float - The GPSDestBearing. ##### getGPSDestDistanceRef() ``` public final String getGPSDestDistanceRef() ``` Gets the GPSDestDistanceRef. **Returns:** java.lang.String - The GPSDestDistanceRef. ##### getGPSDestDistance() ``` public final float getGPSDestDistance() ``` Gets the GPSDestDistance. **Returns:** float - The GPSDestDistance. ##### getGPSProcessingMethod() ``` public final String getGPSProcessingMethod() ``` Gets the GPSProcessingMethod. **Returns:** java.lang.String - The GPSProcessingMethod. ##### getGPSAreaInformation() ``` public final int getGPSAreaInformation() ``` Gets the GPSAreaInformation. **Returns:** int - The GPSAreaInformation. ##### getGPSDateStamp() ``` public final String getGPSDateStamp() ``` Gets the GPSDateStamp. **Returns:** java.lang.String - The GPSDateStamp. ##### getGPSDifferential() ``` public final int getGPSDifferential() ``` Gets the GPSDifferential. **Returns:** int - The GPSDifferential. ##### getGPSHPositioningError() ``` public final float getGPSHPositioningError() ``` Gets the GPSHPositioningError. **Returns:** float - The GPSHPositioningError. ### GroupDocsMetadataException Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/groupdocsmetadataexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception ``` public class GroupDocsMetadataException extends System.Exception ``` Represents a product-specific exception that is thrown during file processing. #### Constructors | Constructor | Description | | --- | --- | | GroupDocsMetadataException() | Initializes a new instance of the GroupDocsMetadataException class. | | GroupDocsMetadataException(String message) | Initializes a new instance of the GroupDocsMetadataException class. | | GroupDocsMetadataException(String message, RuntimeException innerException) | Initializes a new instance of the GroupDocsMetadataException class. | ##### GroupDocsMetadataException() ``` public GroupDocsMetadataException() ``` Initializes a new instance of the GroupDocsMetadataException class. ##### GroupDocsMetadataException(String message) ``` public GroupDocsMetadataException(String message) ``` Initializes a new instance of the GroupDocsMetadataException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### GroupDocsMetadataException(String message, RuntimeException innerException) ``` public GroupDocsMetadataException(String message, RuntimeException innerException) ``` Initializes a new instance of the GroupDocsMetadataException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### HeifRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/heifrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class HeifRootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package intended to work with metadata in a HEIF image. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ### ID3Tag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3tag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class ID3Tag extends CustomPackage ``` Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the ID3 tag in string format. | ##### getVersion() ``` public abstract String getVersion() ``` Gets the version of the ID3 tag in string format. For example: 'ID3v1.1'. **Returns:** java.lang.String - The ID3 version. ### ID3V1Genre Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v1genre.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class ID3V1Genre implements IEnumValue ``` Specifies genres used in an Id3v1 tag. #### Fields | Field | Description | | --- | --- | | Blues | Represents the Blues genre. | | ClassicRock | Represents the Classic Rock genre. | | Country | Represents the Country genre. | | Dance | Represents the Dance genre. | | Disco | Represents the Disco genre. | | Funk | Represents the Funk genre. | | Grunge | Represents the Grunge genre. | | HipHop | Represents the Hip-Hop genre. | | Jazz | Represents the Jazz genre. | | Metal | Represents the Metal genre. | | NewAge | Represents the New Age genre. | | Oldies | Represents the Oldies genre. | | Other | Represents the Other genre. | | Pop | Represents the Pop genre. | | RhythmAndBlues | Represents the Rhythm and Blues genre. | | Rap | Represents the Rap genre. | | Reggae | Represents the Reggae genre. | | Rock | Represents the Rock genre. | | Techno | Represents the Techno genre. | | Industrial | Represents the Industrial genre. | | Alternative | Represents the Alternative genre. | | Ska | Represents the Ska genre. | | DeathMetal | Represents the Death Metal genre. | | Pranks | Represents the Pranks genre. | | Soundtrack | Represents the Soundtrack genre. | | EuroTechno | Represents the Euro-Techno genre. | | Ambient | Represents the Ambient genre. | | TripHop | Represents the Trip-Hop genre. | | Vocal | Represents the Vocal genre. | | JazzAndFunk | Represents the JazzAndFunk genre. | | Fusion | Represents the Fusion genre. | | Trance | Represents the Trance genre. | | Classical | Represents the Classical genre. | | Instrumental | Represents the Instrumental genre. | | Acid | Represents the Acid genre. | | House | Represents the House genre. | | Game | Represents the Game genre. | | SoundClip | Represents the Sound Clip genre. | | Gospel | Represents the Gospel genre. | | Noise | Represents the Noise genre. | | AlternativeRock | Represents the Alternative Rock genre. | | Bass | Represents the Bass genre. | | Soul | Represents the Soul genre. | | Punk | Represents the Punk genre. | | Space | Represents the Space genre. | | Meditative | Represents the Meditative genre. | | InstrumentalPop | Represents the Instrumental Pop genre. | | InstrumentalRock | Represents the Instrumental Rock genre. | | Ethnic | Represents the Ethnic genre. | | Gothic | Represents the Gothic genre. | | Darkwave | Represents the Darkwave genre. | | TechnoIndustrial | Represents the Techno-Industrial genre. | | Electronic | Represents the Electronic genre. | | PopFolk | Represents the Pop-Folk genre. | | Eurodance | Represents the Eurodance genre. | | Dream | Represents the Dream genre. | | SouthernRock | Represents the Southern Rock genre. | | Comedy | Represents the Comedy genre. | | Cult | Represents the Cult genre. | | Gangsta | Represents the Gangsta genre. | | Top40 | Represents the Top 40 genre. | | ChristianRap | Represents the Christian Rap genre. | | PopFunk | Represents the Pop/Funk genre. | | Jungle | Represents the Jungle genre. | | NativeAmerican | Represents the Native American genre. | | Cabaret | Represents the Cabaret genre. | | NewWave | Represents the New Wave genre. | | Psychedelic | Represents the Psychedelic genre. | | Rave | Represents the Rave genre. | | Showtunes | Represents the Showtunes genre. | | Trailer | Represents the Trailer genre. | | LoFi | Represents the Lo-Fi genre. | | Tribal | Represents the Tribal genre. | | AcidPunk | Represents the Acid Punk genre. | | AcidJazz | Represents the Acid Jazz genre. | | Polka | Represents the Polka genre. | | Retro | Represents the Retro genre. | | Musical | Represents the Musical genre. | | RockNRoll | Represents the Rock 'n' Roll genre. | | HardRock | Represents the Hard Rock genre. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Blues ``` public static final ID3V1Genre Blues ``` Represents the Blues genre. ##### ClassicRock ``` public static final ID3V1Genre ClassicRock ``` Represents the Classic Rock genre. ##### Country ``` public static final ID3V1Genre Country ``` Represents the Country genre. ##### Dance ``` public static final ID3V1Genre Dance ``` Represents the Dance genre. ##### Disco ``` public static final ID3V1Genre Disco ``` Represents the Disco genre. ##### Funk ``` public static final ID3V1Genre Funk ``` Represents the Funk genre. ##### Grunge ``` public static final ID3V1Genre Grunge ``` Represents the Grunge genre. ##### HipHop ``` public static final ID3V1Genre HipHop ``` Represents the Hip-Hop genre. ##### Jazz ``` public static final ID3V1Genre Jazz ``` Represents the Jazz genre. ##### Metal ``` public static final ID3V1Genre Metal ``` Represents the Metal genre. ##### NewAge ``` public static final ID3V1Genre NewAge ``` Represents the New Age genre. ##### Oldies ``` public static final ID3V1Genre Oldies ``` Represents the Oldies genre. ##### Other ``` public static final ID3V1Genre Other ``` Represents the Other genre. ##### Pop ``` public static final ID3V1Genre Pop ``` Represents the Pop genre. ##### RhythmAndBlues ``` public static final ID3V1Genre RhythmAndBlues ``` Represents the Rhythm and Blues genre. ##### Rap ``` public static final ID3V1Genre Rap ``` Represents the Rap genre. ##### Reggae ``` public static final ID3V1Genre Reggae ``` Represents the Reggae genre. ##### Rock ``` public static final ID3V1Genre Rock ``` Represents the Rock genre. ##### Techno ``` public static final ID3V1Genre Techno ``` Represents the Techno genre. ##### Industrial ``` public static final ID3V1Genre Industrial ``` Represents the Industrial genre. ##### Alternative ``` public static final ID3V1Genre Alternative ``` Represents the Alternative genre. ##### Ska ``` public static final ID3V1Genre Ska ``` Represents the Ska genre. ##### DeathMetal ``` public static final ID3V1Genre DeathMetal ``` Represents the Death Metal genre. ##### Pranks ``` public static final ID3V1Genre Pranks ``` Represents the Pranks genre. ##### Soundtrack ``` public static final ID3V1Genre Soundtrack ``` Represents the Soundtrack genre. ##### EuroTechno ``` public static final ID3V1Genre EuroTechno ``` Represents the Euro-Techno genre. ##### Ambient ``` public static final ID3V1Genre Ambient ``` Represents the Ambient genre. ##### TripHop ``` public static final ID3V1Genre TripHop ``` Represents the Trip-Hop genre. ##### Vocal ``` public static final ID3V1Genre Vocal ``` Represents the Vocal genre. ##### JazzAndFunk ``` public static final ID3V1Genre JazzAndFunk ``` Represents the JazzAndFunk genre. ##### Fusion ``` public static final ID3V1Genre Fusion ``` Represents the Fusion genre. ##### Trance ``` public static final ID3V1Genre Trance ``` Represents the Trance genre. ##### Classical ``` public static final ID3V1Genre Classical ``` Represents the Classical genre. ##### Instrumental ``` public static final ID3V1Genre Instrumental ``` Represents the Instrumental genre. ##### Acid ``` public static final ID3V1Genre Acid ``` Represents the Acid genre. ##### House ``` public static final ID3V1Genre House ``` Represents the House genre. ##### Game ``` public static final ID3V1Genre Game ``` Represents the Game genre. ##### SoundClip ``` public static final ID3V1Genre SoundClip ``` Represents the Sound Clip genre. ##### Gospel ``` public static final ID3V1Genre Gospel ``` Represents the Gospel genre. ##### Noise ``` public static final ID3V1Genre Noise ``` Represents the Noise genre. ##### AlternativeRock ``` public static final ID3V1Genre AlternativeRock ``` Represents the Alternative Rock genre. ##### Bass ``` public static final ID3V1Genre Bass ``` Represents the Bass genre. ##### Soul ``` public static final ID3V1Genre Soul ``` Represents the Soul genre. ##### Punk ``` public static final ID3V1Genre Punk ``` Represents the Punk genre. ##### Space ``` public static final ID3V1Genre Space ``` Represents the Space genre. ##### Meditative ``` public static final ID3V1Genre Meditative ``` Represents the Meditative genre. ##### InstrumentalPop ``` public static final ID3V1Genre InstrumentalPop ``` Represents the Instrumental Pop genre. ##### InstrumentalRock ``` public static final ID3V1Genre InstrumentalRock ``` Represents the Instrumental Rock genre. ##### Ethnic ``` public static final ID3V1Genre Ethnic ``` Represents the Ethnic genre. ##### Gothic ``` public static final ID3V1Genre Gothic ``` Represents the Gothic genre. ##### Darkwave ``` public static final ID3V1Genre Darkwave ``` Represents the Darkwave genre. ##### TechnoIndustrial ``` public static final ID3V1Genre TechnoIndustrial ``` Represents the Techno-Industrial genre. ##### Electronic ``` public static final ID3V1Genre Electronic ``` Represents the Electronic genre. ##### PopFolk ``` public static final ID3V1Genre PopFolk ``` Represents the Pop-Folk genre. ##### Eurodance ``` public static final ID3V1Genre Eurodance ``` Represents the Eurodance genre. ##### Dream ``` public static final ID3V1Genre Dream ``` Represents the Dream genre. ##### SouthernRock ``` public static final ID3V1Genre SouthernRock ``` Represents the Southern Rock genre. ##### Comedy ``` public static final ID3V1Genre Comedy ``` Represents the Comedy genre. ##### Cult ``` public static final ID3V1Genre Cult ``` Represents the Cult genre. ##### Gangsta ``` public static final ID3V1Genre Gangsta ``` Represents the Gangsta genre. ##### Top40 ``` public static final ID3V1Genre Top40 ``` Represents the Top 40 genre. ##### ChristianRap ``` public static final ID3V1Genre ChristianRap ``` Represents the Christian Rap genre. ##### PopFunk ``` public static final ID3V1Genre PopFunk ``` Represents the Pop/Funk genre. ##### Jungle ``` public static final ID3V1Genre Jungle ``` Represents the Jungle genre. ##### NativeAmerican ``` public static final ID3V1Genre NativeAmerican ``` Represents the Native American genre. ##### Cabaret ``` public static final ID3V1Genre Cabaret ``` Represents the Cabaret genre. ##### NewWave ``` public static final ID3V1Genre NewWave ``` Represents the New Wave genre. ##### Psychedelic ``` public static final ID3V1Genre Psychedelic ``` Represents the Psychedelic genre. ##### Rave ``` public static final ID3V1Genre Rave ``` Represents the Rave genre. ##### Showtunes ``` public static final ID3V1Genre Showtunes ``` Represents the Showtunes genre. ##### Trailer ``` public static final ID3V1Genre Trailer ``` Represents the Trailer genre. ##### LoFi ``` public static final ID3V1Genre LoFi ``` Represents the Lo-Fi genre. ##### Tribal ``` public static final ID3V1Genre Tribal ``` Represents the Tribal genre. ##### AcidPunk ``` public static final ID3V1Genre AcidPunk ``` Represents the Acid Punk genre. ##### AcidJazz ``` public static final ID3V1Genre AcidJazz ``` Represents the Acid Jazz genre. ##### Polka ``` public static final ID3V1Genre Polka ``` Represents the Polka genre. ##### Retro ``` public static final ID3V1Genre Retro ``` Represents the Retro genre. ##### Musical ``` public static final ID3V1Genre Musical ``` Represents the Musical genre. ##### RockNRoll ``` public static final ID3V1Genre RockNRoll ``` Represents the Rock 'n' Roll genre. ##### HardRock ``` public static final ID3V1Genre HardRock ``` Represents the Hard Rock genre. ##### getByRawValue(int rawValue) ``` public static ID3V1Genre getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ID3V1Genre ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### ID3V1Tag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v1tag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3Tag ``` public final class ID3V1Tag extends ID3Tag ``` Represents an ID3v1 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3\#ID3v1][https_en.wikipedia.org_wiki_ID3_ID3v1] . ID3(v1) tag is a small chunk of extra data at the end of MP3. Please find more information at http://id3.org/ID3v1 . This code sample shows how to read the ID3v1 tag in an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithID3V1)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getID3V1() != null) { > System.out.println(root.getID3V1().getAlbum()); > System.out.println(root.getID3V1().getArtist()); > System.out.println(root.getID3V1().getTitle()); > System.out.println(root.getID3V1().getVersion()); > System.out.println(root.getID3V1().getComment()); > // ... > } > } > > ``` > ``` [https_en.wikipedia.org_wiki_ID3_ID3v1]: https://en.wikipedia.org/wiki/ID3#ID3v1 [Handling the ID3v1 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v1+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V1Tag() | Initializes a new instance of the ID3V1Tag class. | #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the ID3 version. | | getArtist() | Gets the artist. | | setArtist(String value) | Sets the artist. | | getAlbum() | Gets the album. | | setAlbum(String value) | Sets the album. | | getGenreValue() | Gets the genre identifier. | | getComment() | Gets the comment. | | setComment(String value) | Sets the comment. | | getTitle() | Gets the title. | | setTitle(String value) | Sets the title. | | getYear() | Gets the year. | | setYear(String value) | Sets the year. | | getTrackNumber() | Gets the track number. | | setTrackNumber(Integer value) | Sets the track number. | ##### ID3V1Tag() ``` public ID3V1Tag() ``` Initializes a new instance of the ID3V1Tag class. ##### getVersion() ``` public String getVersion() ``` Gets the ID3 version. It can be ID3 or ID3v1.1 **Returns:** java.lang.String - The ID3 version. ##### getArtist() ``` public final String getArtist() ``` Gets the artist. Maximum length is 30 characters. **Returns:** java.lang.String - The artist. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the artist. Maximum length is 30 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The artist. | ##### getAlbum() ``` public final String getAlbum() ``` Gets the album. Maximum length is 30 characters. **Returns:** java.lang.String - The album. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the album. Maximum length is 30 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The album. | ##### getGenreValue() ``` public final ID3V1Genre getGenreValue() ``` Gets the genre identifier. **Returns:** ID3V1Genre - The genre identifier. ##### getComment() ``` public final String getComment() ``` Gets the comment. Maximum length is 30 characters. **Returns:** java.lang.String - The comment. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the comment. Maximum length is 30 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comment. | ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getYear() ``` public final String getYear() ``` Gets the year. Maximum length is 4 characters. **Returns:** java.lang.String - The year. ##### setYear(String value) ``` public final void setYear(String value) ``` Sets the year. Maximum length is 4 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The year. | ##### getTrackNumber() ``` public final Integer getTrackNumber() ``` Gets the track number. Presented in a ID3v1.1 tag only. **Returns:** java.lang.Integer - The track number. If the value of TrackNumber is a positive integer then ID3 changes version to 'ID3v1.1' automatically. ##### setTrackNumber(Integer value) ``` public final void setTrackNumber(Integer value) ``` Sets the track number. Presented in a ID3v1.1 tag only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The track number. If the value of TrackNumber is a positive integer then ID3 changes version to 'ID3v1.1' automatically. | ### ID3V2AttachedPictureFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2attachedpictureframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2AttachedPictureFrame extends ID3V2TagFrame ``` Represents an APIC frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. | | ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. | | ID3V2AttachedPictureFrame(byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. | #### Methods | Method | Description | | --- | --- | | getDescriptionEncoding() | Gets the encoding used to encode the picture description. | | getMimeType() | Gets the MIME type of the picture. | | getAttachedPictureType() | Gets the type of the picture. | | getDescription() | Gets the picture description. | | getPictureData() | Gets the picture data. | ##### ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` public ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` Initializes a new instance of the ID3V2AttachedPictureFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The frame encoding. | | mimeType | java.lang.String | The MIME-type of the image. | | pictureType | ID3V2AttachedPictureType | The type of the picture. | | description | java.lang.String | The description of the picture. | | pictureData | byte[] | The picture data. | ##### ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` public ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` Initializes a new instance of the ID3V2AttachedPictureFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pictureType | ID3V2AttachedPictureType | The type of the picture. | | description | java.lang.String | The description of the picture. | | pictureData | byte[] | The picture data. | ##### ID3V2AttachedPictureFrame(byte[] pictureData) ``` public ID3V2AttachedPictureFrame(byte[] pictureData) ``` Initializes a new instance of the ID3V2AttachedPictureFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pictureData | byte[] | The picture data. | ##### getDescriptionEncoding() ``` public final ID3V2EncodingType getDescriptionEncoding() ``` Gets the encoding used to encode the picture description. **Returns:** ID3V2EncodingType - The encoding used to encode the picture description. ##### getMimeType() ``` public final String getMimeType() ``` Gets the MIME type of the picture. **Returns:** java.lang.String - The MIME type of the picture. ##### getAttachedPictureType() ``` public final ID3V2AttachedPictureType getAttachedPictureType() ``` Gets the type of the picture. **Returns:** ID3V2AttachedPictureType - The type of the picture. ##### getDescription() ``` public final String getDescription() ``` Gets the picture description. The description has a maximum length of 64 characters, but may be empty. **Returns:** java.lang.String - The picture description. ##### getPictureData() ``` public final byte[] getPictureData() ``` Gets the picture data. **Returns:** byte[] - The picture data. ### ID3V2AttachedPictureType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2attachedpicturetype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class ID3V2AttachedPictureType implements IEnumValue ``` Represents the type of an attached picture. #### Fields | Field | Description | | --- | --- | | Other | Attached picture of any other type. | | FileIcon32X32 | 32x32 pixels file icon (PNG only). | | OtherFileIcon | Other file icon. | | CoverFront | Cover (front). | | CoverBack | Cover (back). | | LeafletPage | Leaflet page. | | Media | Media (e.g. | | LeadArtist | Lead artist/lead performer/soloist. | | Artist | Artist/performer. | | Conductor | Conductor. | | Band | Band/Orchestra. | | Composer | Composer/music author. | | Lyricist | Lyricist/text writer. | | RecordingLocation | Recording Location. | | DuringRecording | During recording. | | DuringPerformance | During performance. | | VideoScreenCapture | Movie/video screen capture. | | BrightColouredFish | A bright coloured fish. | | Illustration | Illustration. | | ArtistLogo | Band/artist logotype. | | StudioLogo | Publisher/Studio logotype. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Other ``` public static final ID3V2AttachedPictureType Other ``` Attached picture of any other type. ##### FileIcon32X32 ``` public static final ID3V2AttachedPictureType FileIcon32X32 ``` 32x32 pixels file icon (PNG only). ##### OtherFileIcon ``` public static final ID3V2AttachedPictureType OtherFileIcon ``` Other file icon. ##### CoverFront ``` public static final ID3V2AttachedPictureType CoverFront ``` Cover (front). ##### CoverBack ``` public static final ID3V2AttachedPictureType CoverBack ``` Cover (back). ##### LeafletPage ``` public static final ID3V2AttachedPictureType LeafletPage ``` Leaflet page. ##### Media ``` public static final ID3V2AttachedPictureType Media ``` Media (e.g. label side of CD). ##### LeadArtist ``` public static final ID3V2AttachedPictureType LeadArtist ``` Lead artist/lead performer/soloist. ##### Artist ``` public static final ID3V2AttachedPictureType Artist ``` Artist/performer. ##### Conductor ``` public static final ID3V2AttachedPictureType Conductor ``` Conductor. ##### Band ``` public static final ID3V2AttachedPictureType Band ``` Band/Orchestra. ##### Composer ``` public static final ID3V2AttachedPictureType Composer ``` Composer/music author. ##### Lyricist ``` public static final ID3V2AttachedPictureType Lyricist ``` Lyricist/text writer. ##### RecordingLocation ``` public static final ID3V2AttachedPictureType RecordingLocation ``` Recording Location. ##### DuringRecording ``` public static final ID3V2AttachedPictureType DuringRecording ``` During recording. ##### DuringPerformance ``` public static final ID3V2AttachedPictureType DuringPerformance ``` During performance. ##### VideoScreenCapture ``` public static final ID3V2AttachedPictureType VideoScreenCapture ``` Movie/video screen capture. ##### BrightColouredFish ``` public static final ID3V2AttachedPictureType BrightColouredFish ``` A bright coloured fish. ##### Illustration ``` public static final ID3V2AttachedPictureType Illustration ``` Illustration. ##### ArtistLogo ``` public static final ID3V2AttachedPictureType ArtistLogo ``` Band/artist logotype. ##### StudioLogo ``` public static final ID3V2AttachedPictureType StudioLogo ``` Publisher/Studio logotype. ##### getByRawValue(int rawValue) ``` public static ID3V2AttachedPictureType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ID3V2AttachedPictureType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### ID3V2CommentFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2commentframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2CommentFrame extends ID3V2TagFrame ``` Represents a COMM frame in an ID3V2Tag . This frame is intended for any kind of full text information that does not fit in any other frame. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2CommentFrame(ID3V2EncodingType encoding, String language, String description, String text) | Initializes a new instance of the ID3V2CommentFrame class. | #### Methods | Method | Description | | --- | --- | | getCommentEncoding() | Gets the encoding of the comment. | | getLanguage() | Gets the language of the comment (3 characters). | | getShortContentDescription() | Gets the short content description. | | getText() | Gets the text of the comment. | ##### ID3V2CommentFrame(ID3V2EncodingType encoding, String language, String description, String text) ``` public ID3V2CommentFrame(ID3V2EncodingType encoding, String language, String description, String text) ``` Initializes a new instance of the ID3V2CommentFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the comment. | | language | java.lang.String | The language of the comment. | | description | java.lang.String | A short content description. | | text | java.lang.String | The text of the comment. | ##### getCommentEncoding() ``` public final ID3V2EncodingType getCommentEncoding() ``` Gets the encoding of the comment. **Returns:** ID3V2EncodingType - The encoding of the comment. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the comment (3 characters). **Returns:** java.lang.String - The language of the comment. ##### getShortContentDescription() ``` public final String getShortContentDescription() ``` Gets the short content description. **Returns:** java.lang.String - The short content description. ##### getText() ``` public final String getText() ``` Gets the text of the comment. **Returns:** java.lang.String - The text of the comment. ### ID3V2EncodingType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2encodingtype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ID3V2EncodingType extends Enum implements IEnumValue ``` Defines different types of text encoding used in ID3v2. #### Fields | Field | Description | | --- | --- | | Iso88591 | The ISO-8859-1 encoding. | | Utf16 | The UTF-16 encoding with BOM. | | Utf16Be | The UTF-16 encoding without BOM. | | Utf8 | The UTF-8 encoding. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Iso88591 ``` public static final ID3V2EncodingType Iso88591 ``` The ISO-8859-1 encoding. ##### Utf16 ``` public static final ID3V2EncodingType Utf16 ``` The UTF-16 encoding with BOM. ##### Utf16Be ``` public static final ID3V2EncodingType Utf16Be ``` The UTF-16 encoding without BOM. ##### Utf8 ``` public static final ID3V2EncodingType Utf8 ``` The UTF-8 encoding. ##### values() ``` public static ID3V2EncodingType[] values() ``` **Returns:** com.groupdocs.metadata.core.ID3V2EncodingType[] ##### valueOf(String name) ``` public static ID3V2EncodingType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ID3V2EncodingType ##### getByRawValue(int rawValue) ``` public static ID3V2EncodingType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ID3V2EncodingType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ID3V2MlltFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2mlltframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2MlltFrame extends ID3V2TagFrame ``` Represents an MLLT frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag ### ID3V2PlayCounterFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2playcounterframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2PlayCounterFrame extends ID3V2TagFrame ``` Represents a PCNT frame in an ID3V2Tag . This is simply a counter of the number of times a file has been played. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Methods | Method | Description | | --- | --- | | getValue() | Gets the number of times the file has been played. | ##### getValue() ``` public final long getValue() ``` Gets the number of times the file has been played. **Returns:** long - The number of times the file has been played. ### ID3V2PrivateFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2privateframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2PrivateFrame extends ID3V2TagFrame ``` Represents a PRIV frame in an ID3V2Tag . The frame is used to contain information from a software producer that its program uses and does not fit into the other frames. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2PrivateFrame(String ownerIdentifier, byte[] data) | Initializes a new instance of the ID3V2PrivateFrame class. | #### Methods | Method | Description | | --- | --- | | getOwnerIdentifier() | Gets the owner identifier. | | getBinaryData() | Gets the binary data. | ##### ID3V2PrivateFrame(String ownerIdentifier, byte[] data) ``` public ID3V2PrivateFrame(String ownerIdentifier, byte[] data) ``` Initializes a new instance of the ID3V2PrivateFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ownerIdentifier | java.lang.String | The owner identifier. | | data | byte[] | Frame binary data. | ##### getOwnerIdentifier() ``` public final String getOwnerIdentifier() ``` Gets the owner identifier. **Returns:** java.lang.String - The owner identifier. ##### getBinaryData() ``` public final byte[] getBinaryData() ``` Gets the binary data. **Returns:** byte[] - The binary data. ### ID3V2Tag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2tag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3Tag ``` public final class ID3V2Tag extends ID3Tag ``` Represents an ID3v2 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3\#ID3v2][https_en.wikipedia.org_wiki_ID3_ID3v2] . This example shows how to read the ID3v2 tag in an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getID3V2() != null) { > System.out.println(root.getID3V2().getAlbum()); > System.out.println(root.getID3V2().getArtist()); > System.out.println(root.getID3V2().getBand()); > System.out.println(root.getID3V2().getTitle()); > System.out.println(root.getID3V2().getComposers()); > System.out.println(root.getID3V2().getCopyright()); > System.out.println(root.getID3V2().getPublisher()); > System.out.println(root.getID3V2().getOriginalAlbum()); > System.out.println(root.getID3V2().getMusicalKey()); > if (root.getID3V2().getAttachedPictures() != null) { > for (ID3V2AttachedPictureFrame attachedPicture : root.getID3V2().getAttachedPictures()) { > System.out.println(attachedPicture.getAttachedPictureType()); > System.out.println(attachedPicture.getMimeType()); > System.out.println(attachedPicture.getDescription()); > // ... > } > } > // ... > } > } > > ``` > ``` [https_en.wikipedia.org_wiki_ID3_ID3v2]: https://en.wikipedia.org/wiki/ID3#ID3v2 [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2Tag() | Initializes a new instance of the ID3V2Tag class. | #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the ID3 version. | | getTagSize() | Gets the size of the tag. | | getAlbum() | Gets the Album/Movie/Show title. | | setAlbum(String value) | Sets the Album/Movie/Show title. | | getArtist() | Gets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. | | setArtist(String value) | Sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. | | getBand() | Gets the Band/Orchestra/Accompaniment. | | setBand(String value) | Sets the Band/Orchestra/Accompaniment. | | getBitsPerMinute() | Gets the number of beats per minute in the main part of the audio. | | setBitsPerMinute(String value) | Sets the number of beats per minute in the main part of the audio. | | getComposers() | Gets the composers. | | setComposers(String value) | Sets the composers. | | getContentType() | Gets the content type. | | setContentType(String value) | Sets the content type. | | getCopyright() | Gets the copyright message. | | setCopyright(String value) | Sets the copyright message. | | getDate() | Gets a numeric string in the DDMM format containing the date for the recording. | | setDate(String value) | Sets a numeric string in the DDMM format containing the date for the recording. | | getEncodedBy() | Gets the name of the person or organization that encoded the audio file. | | setEncodedBy(String value) | Sets the name of the person or organization that encoded the audio file. | | getPublisher() | Gets the name of the label or publisher. | | setPublisher(String value) | Sets the name of the label or publisher. | | getTime() | Gets a numeric string in the HHMM format containing the time for the recording. | | setTime(String value) | Sets a numeric string in the HHMM format containing the time for the recording. | | getTitle() | Gets the Title/Song name/Content description. | | setTitle(String value) | Sets the Title/Song name/Content description. | | getSubtitle() | Gets the Subtitle/Description refinement. | | setSubtitle(String value) | Sets the Subtitle/Description refinement. | | getMusicalKey() | Gets the musical key in which the sound starts. | | setMusicalKey(String value) | Sets the musical key in which the sound starts. | | getLengthInMilliseconds() | Gets the length of the audio file in milliseconds, represented as a numeric string. | | setLengthInMilliseconds(String value) | Sets the length of the audio file in milliseconds, represented as a numeric string. | | getOriginalAlbum() | Gets the original album/movie/show title. | | setOriginalAlbum(String value) | Sets the original album/movie/show title. | | getTrackNumber() | Gets a numeric string containing the order number of the audio-file on its original recording. | | setTrackNumber(String value) | Sets a numeric string containing the order number of the audio-file on its original recording. | | getSizeInBytes() | Gets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. | | setSizeInBytes(String value) | Sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. | | getIsrc() | Gets the International Standard Recording Code (ISRC) (12 characters). | | setIsrc(String value) | Sets the International Standard Recording Code (ISRC) (12 characters). | | getSoftwareHardware() | Gets the used audio encoder and its settings when the file was encoded. | | setSoftwareHardware(String value) | Sets the used audio encoder and its settings when the file was encoded. | | getYear() | Gets a numeric string with a year of the recording. | | setYear(String value) | Sets a numeric string with a year of the recording. | | getComments() | Gets the user comments. | | setComments(ID3V2CommentFrame[] value) | Sets the user comments. | | getAttachedPictures() | Gets the attached pictures directly related to the audio file. | | setAttachedPictures(ID3V2AttachedPictureFrame[] value) | Sets the attached pictures directly related to the audio file. | | getTrackPlayCounter() | Gets the number of times the file has been played. | | toList() | Creates a list from the package. | | removeAttachedPictures() | Removes all attached pictures stored in APIC frames. | | get(String frameId) | Gets an array of frames with the specified id. | | set(ID3V2TagFrame frame) | Removes all frames having the same id as the specified one and adds the new frame to the tag. | | clear(String frameId) | Removes all frames with the specified id. | | add(ID3V2TagFrame frame) | Adds a frame to the tag. | | remove(ID3V2TagFrame frame) | Removes the specified frame from the tag. | ##### ID3V2Tag() ``` public ID3V2Tag() ``` Initializes a new instance of the ID3V2Tag class. ##### getVersion() ``` public String getVersion() ``` Gets the ID3 version. **Returns:** java.lang.String - The ID3 version. ##### getTagSize() ``` public final int getTagSize() ``` Gets the size of the tag. **Returns:** int - The size of the tag. ##### getAlbum() ``` public final String getAlbum() ``` Gets the Album/Movie/Show title. This value is represented by the TALB frame. **Returns:** java.lang.String - The Album/Movie/Show title. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the Album/Movie/Show title. This value is represented by the TALB frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Album/Movie/Show title. | ##### getArtist() ``` public final String getArtist() ``` Gets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. This value is represented by the TPE1 frame. **Returns:** java.lang.String - The Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. This value is represented by the TPE1 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. | ##### getBand() ``` public final String getBand() ``` Gets the Band/Orchestra/Accompaniment. This value is represented by the TPE2 frame. **Returns:** java.lang.String - The Band/Orchestra/Accompaniment. ##### setBand(String value) ``` public final void setBand(String value) ``` Sets the Band/Orchestra/Accompaniment. This value is represented by the TPE2 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Band/Orchestra/Accompaniment. | ##### getBitsPerMinute() ``` public final String getBitsPerMinute() ``` Gets the number of beats per minute in the main part of the audio. This value is represented by the TBPM frame. **Returns:** java.lang.String - The number of beats per minute in the main part of the audio. ##### setBitsPerMinute(String value) ``` public final void setBitsPerMinute(String value) ``` Sets the number of beats per minute in the main part of the audio. This value is represented by the TBPM frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The number of beats per minute in the main part of the audio. | ##### getComposers() ``` public final String getComposers() ``` Gets the composers. The names are separated with the "/" character. This value is represented by the TCOM frame. **Returns:** java.lang.String - The composers. The names are separated with the "/" character. ##### setComposers(String value) ``` public final void setComposers(String value) ``` Sets the composers. The names are separated with the "/" character. This value is represented by the TCOM frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The composers. The names are separated with the "/" character. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type. This value is represented by the TCON frame. **Returns:** java.lang.String - The content type. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type. This value is represented by the TCON frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content type. | ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright message. This value is represented by the TCOP frame. **Returns:** java.lang.String - The copyright message. Every time this field is displayed the field must be preceded with "Copyright ?? ". ##### setCopyright(String value) ``` public final void setCopyright(String value) ``` Sets the copyright message. This value is represented by the TCOP frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The copyright message. Every time this field is displayed the field must be preceded with "Copyright ?? ". | ##### getDate() ``` public final String getDate() ``` Gets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long. This value is represented by the TDAT frame. **Returns:** java.lang.String - A numeric string in the DDMM format containing the date for the recording. ##### setDate(String value) ``` public final void setDate(String value) ``` Sets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long. This value is represented by the TDAT frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string in the DDMM format containing the date for the recording. | ##### getEncodedBy() ``` public final String getEncodedBy() ``` Gets the name of the person or organization that encoded the audio file. This value is represented by the TENC frame. **Returns:** java.lang.String - The name of the person or organization that encoded the audio file. ##### setEncodedBy(String value) ``` public final void setEncodedBy(String value) ``` Sets the name of the person or organization that encoded the audio file. This value is represented by the TENC frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the person or organization that encoded the audio file. | ##### getPublisher() ``` public final String getPublisher() ``` Gets the name of the label or publisher. This value is represented by the TPUB frame. **Returns:** java.lang.String - The name of the label or publisher. ##### setPublisher(String value) ``` public final void setPublisher(String value) ``` Sets the name of the label or publisher. This value is represented by the TPUB frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the label or publisher. | ##### getTime() ``` public final String getTime() ``` Gets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long. This value is represented by the TIME frame. **Returns:** java.lang.String - A numeric string in the HHMM format containing the time for the recording. ##### setTime(String value) ``` public final void setTime(String value) ``` Sets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long. This value is represented by the TIME frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string in the HHMM format containing the time for the recording. | ##### getTitle() ``` public final String getTitle() ``` Gets the Title/Song name/Content description. This value is represented by the TIT2 frame. **Returns:** java.lang.String - The Title/Song name/Content description. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the Title/Song name/Content description. This value is represented by the TIT2 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Title/Song name/Content description. | ##### getSubtitle() ``` public final String getSubtitle() ``` Gets the Subtitle/Description refinement. This value is represented by the TIT3 frame. **Returns:** java.lang.String - The Subtitle/Description refinement. ##### setSubtitle(String value) ``` public final void setSubtitle(String value) ``` Sets the Subtitle/Description refinement. This value is represented by the TIT3 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Subtitle/Description refinement. | ##### getMusicalKey() ``` public final String getMusicalKey() ``` Gets the musical key in which the sound starts. This value is represented by the TKEY frame. **Returns:** java.lang.String - The musical key in which the sound starts. ##### setMusicalKey(String value) ``` public final void setMusicalKey(String value) ``` Sets the musical key in which the sound starts. This value is represented by the TKEY frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The musical key in which the sound starts. | ##### getLengthInMilliseconds() ``` public final String getLengthInMilliseconds() ``` Gets the length of the audio file in milliseconds, represented as a numeric string. This value is represented by the TLEN frame. **Returns:** java.lang.String - The length of the audio file in milliseconds, represented as a numeric string. ##### setLengthInMilliseconds(String value) ``` public final void setLengthInMilliseconds(String value) ``` Sets the length of the audio file in milliseconds, represented as a numeric string. This value is represented by the TLEN frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The length of the audio file in milliseconds, represented as a numeric string. | ##### getOriginalAlbum() ``` public final String getOriginalAlbum() ``` Gets the original album/movie/show title. This value is represented by the TOAL frame. **Returns:** java.lang.String - The original album/movie/show title. ##### setOriginalAlbum(String value) ``` public final void setOriginalAlbum(String value) ``` Sets the original album/movie/show title. This value is represented by the TOAL frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The original album/movie/show title. | ##### getTrackNumber() ``` public final String getTrackNumber() ``` Gets a numeric string containing the order number of the audio-file on its original recording. This value is represented by the TRCK frame. **Returns:** java.lang.String - A numeric string containing the order number of the audio-file on its original recording ##### setTrackNumber(String value) ``` public final void setTrackNumber(String value) ``` Sets a numeric string containing the order number of the audio-file on its original recording. This value is represented by the TRCK frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string containing the order number of the audio-file on its original recording | ##### getSizeInBytes() ``` public final String getSizeInBytes() ``` Gets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. This value is represented by the TSIZ frame. **Returns:** java.lang.String - The size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. ##### setSizeInBytes(String value) ``` public final void setSizeInBytes(String value) ``` Sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. This value is represented by the TSIZ frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. | ##### getIsrc() ``` public final String getIsrc() ``` Gets the International Standard Recording Code (ISRC) (12 characters). This value is represented by the TSRC frame. **Returns:** java.lang.String - The International Standard Recording Code (ISRC) (12 characters). ##### setIsrc(String value) ``` public final void setIsrc(String value) ``` Sets the International Standard Recording Code (ISRC) (12 characters). This value is represented by the TSRC frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The International Standard Recording Code (ISRC) (12 characters). | ##### getSoftwareHardware() ``` public final String getSoftwareHardware() ``` Gets the used audio encoder and its settings when the file was encoded. This value is represented by the TSSE frame. **Returns:** java.lang.String - The used audio encoder and its settings when the file was encoded. ##### setSoftwareHardware(String value) ``` public final void setSoftwareHardware(String value) ``` Sets the used audio encoder and its settings when the file was encoded. This value is represented by the TSSE frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The used audio encoder and its settings when the file was encoded. | ##### getYear() ``` public final String getYear() ``` Gets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000). This value is represented by the TYER frame. **Returns:** java.lang.String - A numeric string with a year of the recording. This frames is always four characters long (until the year 10000). ##### setYear(String value) ``` public final void setYear(String value) ``` Sets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000). This value is represented by the TYER frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string with a year of the recording. This frames is always four characters long (until the year 10000). | ##### getComments() ``` public final ID3V2CommentFrame[] getComments() ``` Gets the user comments. This value is represented by the COMM frame. The frame is intended for any kind of full text information that does not fit in any other frame. **Returns:** com.groupdocs.metadata.core.ID3V2CommentFrame[] - The user comments. ##### setComments(ID3V2CommentFrame[] value) ``` public final void setComments(ID3V2CommentFrame[] value) ``` Sets the user comments. This value is represented by the COMM frame. The frame is intended for any kind of full text information that does not fit in any other frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V2CommentFrame\[\] | The user comments. | ##### getAttachedPictures() ``` public final ID3V2AttachedPictureFrame[] getAttachedPictures() ``` Gets the attached pictures directly related to the audio file. This value is represented by the APIC frame. **Returns:** com.groupdocs.metadata.core.ID3V2AttachedPictureFrame[] - The attached pictures directly related to the audio file. ##### setAttachedPictures(ID3V2AttachedPictureFrame[] value) ``` public final void setAttachedPictures(ID3V2AttachedPictureFrame[] value) ``` Sets the attached pictures directly related to the audio file. This value is represented by the APIC frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V2AttachedPictureFrame\[\] | The attached pictures directly related to the audio file. | ##### getTrackPlayCounter() ``` public final Long getTrackPlayCounter() ``` Gets the number of times the file has been played. This value is represented by the PCNT frame. **Returns:** java.lang.Long - The number of times a file has been played. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list of all frames contained in the ID3v2 tag. ##### removeAttachedPictures() ``` public final void removeAttachedPictures() ``` Removes all attached pictures stored in APIC frames. ##### get(String frameId) ``` public final ID3V2TagFrame[] get(String frameId) ``` Gets an array of frames with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frameId | java.lang.String | The id of the frames to get. | **Returns:** com.groupdocs.metadata.core.ID3V2TagFrame[] - An array of frames with the specified id. ##### set(ID3V2TagFrame frame) ``` public final void set(ID3V2TagFrame frame) ``` Removes all frames having the same id as the specified one and adds the new frame to the tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to replace all frames of its kind with. | ##### clear(String frameId) ``` public final void clear(String frameId) ``` Removes all frames with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frameId | java.lang.String | The id of the frames to remove. | ##### add(ID3V2TagFrame frame) ``` public final void add(ID3V2TagFrame frame) ``` Adds a frame to the tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to be added to the tag. | ##### remove(ID3V2TagFrame frame) ``` public final void remove(ID3V2TagFrame frame) ``` Removes the specified frame from the tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to be removed from the tag. | ### ID3V2TagFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2tagframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class ID3V2TagFrame extends CustomPackage ``` Represents a generic frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2TagFrame(String frameId, byte[] data) | Initializes a new instance of the ID3V2TagFrame class. | #### Methods | Method | Description | | --- | --- | | getId() | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | getFlags() | Gets the frame flags. | | getData() | Gets the frame data. | ##### ID3V2TagFrame(String frameId, byte[] data) ``` public ID3V2TagFrame(String frameId, byte[] data) ``` Initializes a new instance of the ID3V2TagFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frameId | java.lang.String | The id of the frame (four characters matching the pattern [A-Z0-9]). | | data | byte[] | The content of the frame. | ##### getId() ``` public final String getId() ``` Gets the id of the frame (four characters matching the pattern [A-Z0-9]). **Returns:** java.lang.String - The id of the frame (four characters matching the pattern [A-Z0-9]). ##### getFlags() ``` public final ID3V2TagFrameFlags getFlags() ``` Gets the frame flags. **Returns:** ID3V2TagFrameFlags - The frame flags. ##### getData() ``` public final byte[] getData() ``` Gets the frame data. **Returns:** byte[] - The frame data. ### ID3V2TagFrameFlags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2tagframeflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class ID3V2TagFrameFlags implements System.IEquatable ``` Represents flags used in a ID3v2 tag frame. #### Methods | Method | Description | | --- | --- | | getTagAlterPreservation() | Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. | | getFileAlterPreservation() | Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. | | getReadOnly() | Gets the tag that tells the software that the contents of this frame is intended to be read-only. | | getCompression() | Gets a value indicating whether the frame is compressed. | | getEncryption() | Gets a value indicating whether the frame is encrypted. | | getGroupingIdentity() | Gets a value indicating whether the frame belongs to a group of frames. | | getUnsynchronisation() | Gets a value indicating whether unsynchronisation was applied to this frame. | | getDataLengthIndicator() | Gets a value indicating whether a data length indicator has been added to the frame. | | equals(ID3V2TagFrameFlags other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Determines whether the specified object is equal to this instance. | | hashCode() | Returns a hash code for this instance. | ##### getTagAlterPreservation() ``` public final boolean getTagAlterPreservation() ``` Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. This applies to all kinds of alterations, including adding more padding and reordering the frames. **Returns:** boolean - The flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. ##### getFileAlterPreservation() ``` public final boolean getFileAlterPreservation() ``` Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. This does not apply when the audio is completely replaced with other audio data. **Returns:** boolean - Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. ##### getReadOnly() ``` public final boolean getReadOnly() ``` Gets the tag that tells the software that the contents of this frame is intended to be read-only. **Returns:** boolean - The tag that tells the software that the contents of this frame is intended to be read-only. ##### getCompression() ``` public final boolean getCompression() ``` Gets a value indicating whether the frame is compressed. **Returns:** boolean - true , if the frame is compressed; otherwise, false. ##### getEncryption() ``` public final boolean getEncryption() ``` Gets a value indicating whether the frame is encrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. **Returns:** boolean - true , if the frame is encrypted; otherwise, false. ##### getGroupingIdentity() ``` public final boolean getGroupingIdentity() ``` Gets a value indicating whether the frame belongs to a group of frames. If set a group identifier byte is added to the frame header. Every frame with the same group identifier belongs to the same group. **Returns:** boolean - true , if the frame belongs to a group of frames; otherwise, false. ##### getUnsynchronisation() ``` public final boolean getUnsynchronisation() ``` Gets a value indicating whether unsynchronisation was applied to this frame. **Returns:** boolean - true , if unsynchronisation was applied to this frame; otherwise, false. ##### getDataLengthIndicator() ``` public final boolean getDataLengthIndicator() ``` Gets a value indicating whether a data length indicator has been added to the frame. The data length indicator is the value one would write as the 'Frame length' if all of the frame format flags were zeroed, represented as a 32 bit synchsafe integer. **Returns:** boolean - true , if a data length indicator has been added to the frame; otherwise, false. ##### equals(ID3V2TagFrameFlags other) ``` public final boolean equals(ID3V2TagFrameFlags other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ID3V2TagFrameFlags | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether the specified object is equal to this instance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The System.Object to compare with this instance. | **Returns:** boolean - true if the specified System.Object is equal to this instance; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### ID3V2TextFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2textframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public class ID3V2TextFrame extends ID3V2TagFrame ``` Represents a text frame in an ID3V2Tag . Almost all frames starting with the T character fall into this category. There is only one exception, which is the TXXX frame represented by the ID3V2UserDefinedFrame class. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value) | Initializes a new instance of the ID3V2TextFrame class. | #### Methods | Method | Description | | --- | --- | | getTextEncoding() | Gets the text encoding. | | getText() | Gets the text value. | ##### ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value) ``` public ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value) ``` Initializes a new instance of the ID3V2TextFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The frame id. | | encoding | ID3V2EncodingType | The encoding of the frame. | | value | java.lang.String | The frame value. | ##### getTextEncoding() ``` public final ID3V2EncodingType getTextEncoding() ``` Gets the text encoding. **Returns:** ID3V2EncodingType - The text encoding. ##### getText() ``` public final String getText() ``` Gets the text value. **Returns:** java.lang.String - The text value. ### ID3V2UrlLinkFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2urllinkframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2UrlLinkFrame extends ID3V2TagFrame ``` Represents a URL link frame in an ID3V2Tag . Name of the frame always starts with the W character. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2UrlLinkFrame(String id, String url) | Initializes a new instance of the ID3V2UrlLinkFrame class. | #### Methods | Method | Description | | --- | --- | | getUrl() | Gets the URL value. | ##### ID3V2UrlLinkFrame(String id, String url) ``` public ID3V2UrlLinkFrame(String id, String url) ``` Initializes a new instance of the ID3V2UrlLinkFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The frame id. | | url | java.lang.String | The URL which is the value of the frame. | ##### getUrl() ``` public final String getUrl() ``` Gets the URL value. **Returns:** java.lang.String - The URL value. ### ID3V2UserDefinedFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2userdefinedframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2UserDefinedFrame extends ID3V2TagFrame ``` Represents a TXXX frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2UserDefinedFrame(String description, String value) | Initializes a new instance of the ID3V2UserDefinedFrame class. | | ID3V2UserDefinedFrame(ID3V2EncodingType encoding, String description, String value) | Initializes a new instance of the ID3V2UserDefinedFrame class. | #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding of the frame. | | getDescription() | Gets the description. | | getValue() | Gets the value. | ##### ID3V2UserDefinedFrame(String description, String value) ``` public ID3V2UserDefinedFrame(String description, String value) ``` Initializes a new instance of the ID3V2UserDefinedFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | description | java.lang.String | The description. | | value | java.lang.String | The value. | ##### ID3V2UserDefinedFrame(ID3V2EncodingType encoding, String description, String value) ``` public ID3V2UserDefinedFrame(ID3V2EncodingType encoding, String description, String value) ``` Initializes a new instance of the ID3V2UserDefinedFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the frame. | | description | java.lang.String | The description. | | value | java.lang.String | The text value. | ##### getEncoding() ``` public final ID3V2EncodingType getEncoding() ``` Gets the encoding of the frame. **Returns:** ID3V2EncodingType - The encoding of the frame. ##### getDescription() ``` public final String getDescription() ``` Gets the description. **Returns:** java.lang.String - The description. ##### getValue() ``` public final String getValue() ``` Gets the value. **Returns:** java.lang.String - The value. ### ID3V2UserDefinedUrlLinkFrame Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/id3v2userdefinedurllinkframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2UserDefinedUrlLinkFrame extends ID3V2TagFrame ``` Represents a WXXX frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2UserDefinedUrlLinkFrame(String description, String url) | Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. | | ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType encoding, String description, String url) | Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. | #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding of the frame. | | getDescription() | Gets the description. | | getUrl() | Gets the URL. | ##### ID3V2UserDefinedUrlLinkFrame(String description, String url) ``` public ID3V2UserDefinedUrlLinkFrame(String description, String url) ``` Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | description | java.lang.String | The description. | | url | java.lang.String | The actual value of the frame. | ##### ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType encoding, String description, String url) ``` public ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType encoding, String description, String url) ``` Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the frame. | | description | java.lang.String | The description. | | url | java.lang.String | The actual value of the frame. | ##### getEncoding() ``` public final ID3V2EncodingType getEncoding() ``` Gets the encoding of the frame. **Returns:** ID3V2EncodingType - The encoding of the frame. ##### getDescription() ``` public final String getDescription() ``` Gets the description. **Returns:** java.lang.String - The description. ##### getUrl() ``` public final String getUrl() ``` Gets the URL. **Returns:** java.lang.String - The URL. ### IDocumentInfo Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/idocumentinfo.md ### IDublinCore Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/idublincore.md ### IEnumValue Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/ienumvalue.md ### IEnumValueInterpreter Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/ienumvalueinterpreter.md ### IExif Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iexif.md ### IIptc Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iiptc.md ### ImageResourceBlock Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/imageresourceblock.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ImageResourceBlock extends CustomPackage ``` Represents a Photoshop Image Resource block. Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF. Image resources are used to store non-pixel data associated with images, such as pen tool paths. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | getSignature() | Gets the image resource block signature. | | getID() | Gets the unique identifier for the resource. | | getName() | Gets the image resource block name. | | getData() | Gets the resource data. | ##### getSignature() ``` public final String getSignature() ``` Gets the image resource block signature. **Returns:** java.lang.String - The image resource block signature ##### getID() ``` public final ImageResourceID getID() ``` Gets the unique identifier for the resource. **Returns:** ImageResourceID - The identifier. ##### getName() ``` public final String getName() ``` Gets the image resource block name. **Returns:** java.lang.String - The image resource block name. ##### getData() ``` public final byte[] getData() ``` Gets the resource data. **Returns:** byte[] - The resource data. ### ImageResourceID Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/imageresourceid.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class ImageResourceID implements IEnumValue ``` Image resources standard ID numbers. Not all file formats use all ID's. Some information may be stored in other sections of the file. #### Fields | Field | Description | | --- | --- | | ResolutionInfo | ResolutionInfo structure. | | NamesOfAlphaChannels | Names of the alpha channels as a series of Pascal strings. | | Caption | The caption as a Pascal string. | | BorderInformation | Border information. | | BackgroundColor | Background color. | | PrintFlags | Print flags. | | Grayscale | Grayscale and multichannel halftoning information. | | ColorHalftoning | Color halftoning information. | | DuotoneHalftoning | Duotone halftoning information. | | GrayscaleFunction | Grayscale and multichannel transfer function. | | ColorTransferFunctions | Color transfer functions. | | DuotoneTransferFunctions | Duotone transfer functions. | | DuotoneImageInformation | Duotone image information. | | EPSOptions | EPS options. | | QuickMaskInformation | Quick Mask information. | | LayerStateInformation | Layer state information. | | WorkingPath | Working path (not saved). | | LayersGroupInformation | Layers group information. | | Iptc | IPTC-NAA record. | | ImageModeForRawFormat | Image mode for raw format files. | | JpegQuality | JPEG quality. | | GridAndGuidesInfoPhotoshop4 | Grid and guides information. | | ThumbnailResourcePhotoshop4 | Thumbnail resource for Photoshop 4.0 only. | | CopyrightFlagPhotoshop4 | Copyright flag. | | UrlPhotoshop4 | URL. | | ThumbnailResourcePhotoshop5 | Thumbnail resource (supersedes resource 1033). | | GlobalAnglePhotoshop5 | Global Angle. | | IccProfilePhotoshop5 | (Photoshop 5.0) ICC Profile. | | WatermarkPhotoshop5 | Watermark. | | IccUntaggedProfilePhotoshop5 | ICC Untagged Profile. | | TransparencyIndexPhotoshop6 | Transparency Index. | | GlobalAltitudePhotoshop6 | Global Altitude. | | SlicesPhotoshop6 | Slices (Photoshop 6). | | WorkflowUrlPhotoshop6 | Workflow URL. | | AlphaIdentifiersPhotoshop6 | Alpha Identifiers. | | UrlListPhotoshop6 | URL InternalList. | | VersionInfoPhotoshop6 | Version Info. | | ExifData1Photoshop7 | EXIF data 1, see more . | | ExifData3Photoshop7 | EXIF data 3. | | XmpPhotoshop7 | XMP metadata. | | CaptionDigestPhotoshop7 | Caption digest. | | PrintScalePhotoshop7 | Print scale. | | PixelAspectRatio | Pixel Aspect Ratio. | | LayerComps | Layer Comps. | | LayerSelectionIds | Layer Selection ID(s). | | PrintInfoCS2 | Print info (Photoshop CS2). | | LayerGroupEnabledIdCS2 | Layer Group(s) Enabled ID. | | ColorSamplersResourceCS3 | Color samplers resource. | | MeasurementScaleCS3 | Measurement Scale. | | TimelineInformationCS3 | Timeline Information. | | SheetDisclosureCS3 | Sheet Disclosure. | | PrintInformationCS5 | Print Information (Photoshop CS5). | | PrintStyleCS5 | Print Style (Photoshop CS5). | | MacintoshNSPrintInfoCS5 | Macintosh NSPrintInfo. | | WindowsDevmodeCS5 | Windows DEVMODE. | | AutoSaveFilePathCS6 | Auto Save File Path. | | AutoSaveFormatCS6 | Auto Save Format. | | PathSelectionStateCC | Path Selection State. | | ImageReadyVariables | Image Ready variables. | | ImageReadyDatasets | Image Ready data sets. | | PrintFlagsInformation | Print flags information. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### ResolutionInfo ``` public static final ImageResourceID ResolutionInfo ``` ResolutionInfo structure. See Appendix A in Photoshop API Guide PDF document. ##### NamesOfAlphaChannels ``` public static final ImageResourceID NamesOfAlphaChannels ``` Names of the alpha channels as a series of Pascal strings. ##### Caption ``` public static final ImageResourceID Caption ``` The caption as a Pascal string. ##### BorderInformation ``` public static final ImageResourceID BorderInformation ``` Border information. Contains a fixed number (2 bytes real, 2 bytes fraction) for the border width, and 2 bytes for border units (1 = inches, 2 = cm, 3 = points, 4 = picas, 5 = columns). ##### BackgroundColor ``` public static final ImageResourceID BackgroundColor ``` Background color. See more. ##### PrintFlags ``` public static final ImageResourceID PrintFlags ``` Print flags. A series of one-byte boolean values (see Page Setup dialog): labels, crop marks, color bars, registration marks, negative, flip, interpolate, caption, print flags. ##### Grayscale ``` public static final ImageResourceID Grayscale ``` Grayscale and multichannel halftoning information. ##### ColorHalftoning ``` public static final ImageResourceID ColorHalftoning ``` Color halftoning information. ##### DuotoneHalftoning ``` public static final ImageResourceID DuotoneHalftoning ``` Duotone halftoning information. ##### GrayscaleFunction ``` public static final ImageResourceID GrayscaleFunction ``` Grayscale and multichannel transfer function. ##### ColorTransferFunctions ``` public static final ImageResourceID ColorTransferFunctions ``` Color transfer functions. ##### DuotoneTransferFunctions ``` public static final ImageResourceID DuotoneTransferFunctions ``` Duotone transfer functions. ##### DuotoneImageInformation ``` public static final ImageResourceID DuotoneImageInformation ``` Duotone image information. ##### EPSOptions ``` public static final ImageResourceID EPSOptions ``` EPS options. ##### QuickMaskInformation ``` public static final ImageResourceID QuickMaskInformation ``` Quick Mask information. 2 bytes containing Quick Mask channel ID; 1- byte boolean indicating whether the mask was initially empty. ##### LayerStateInformation ``` public static final ImageResourceID LayerStateInformation ``` Layer state information. 2 bytes containing the index of target layer (0 = bottom layer). ##### WorkingPath ``` public static final ImageResourceID WorkingPath ``` Working path (not saved). See See Path resource format. ##### LayersGroupInformation ``` public static final ImageResourceID LayersGroupInformation ``` Layers group information. 2 bytes per layer containing a group ID for the dragging groups. Layers in a group have the same group ID. ##### Iptc ``` public static final ImageResourceID Iptc ``` IPTC-NAA record. Contains the File Info... information. See the documentation in the IPTC folder of the Documentation folder. ##### ImageModeForRawFormat ``` public static final ImageResourceID ImageModeForRawFormat ``` Image mode for raw format files. ##### JpegQuality ``` public static final ImageResourceID JpegQuality ``` JPEG quality. Private. ##### GridAndGuidesInfoPhotoshop4 ``` public static final ImageResourceID GridAndGuidesInfoPhotoshop4 ``` Grid and guides information. ##### ThumbnailResourcePhotoshop4 ``` public static final ImageResourceID ThumbnailResourcePhotoshop4 ``` Thumbnail resource for Photoshop 4.0 only. ##### CopyrightFlagPhotoshop4 ``` public static final ImageResourceID CopyrightFlagPhotoshop4 ``` Copyright flag. Boolean indicating whether image is copyrighted. Can be set via Property suite or by user in File Info... ##### UrlPhotoshop4 ``` public static final ImageResourceID UrlPhotoshop4 ``` URL. Handle of a text string with uniform resource locator. Can be set via Property suite or by user in File Info... ##### ThumbnailResourcePhotoshop5 ``` public static final ImageResourceID ThumbnailResourcePhotoshop5 ``` Thumbnail resource (supersedes resource 1033). See See Thumbnail resource format. ##### GlobalAnglePhotoshop5 ``` public static final ImageResourceID GlobalAnglePhotoshop5 ``` Global Angle. 4 bytes that contain an integer between 0 and 359, which is the global lighting angle for effects layer. If not present, assumed to be 30. ##### IccProfilePhotoshop5 ``` public static final ImageResourceID IccProfilePhotoshop5 ``` (Photoshop 5.0) ICC Profile. The raw bytes of an ICC (International Color Consortium) format profile. See ICC1v42\_2006-05.pdf in the Documentation folder and icProfileHeader.h in Sample Code\\Common\\Includes. ##### WatermarkPhotoshop5 ``` public static final ImageResourceID WatermarkPhotoshop5 ``` Watermark. One byte. ##### IccUntaggedProfilePhotoshop5 ``` public static final ImageResourceID IccUntaggedProfilePhotoshop5 ``` ICC Untagged Profile. 1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged. ##### TransparencyIndexPhotoshop6 ``` public static final ImageResourceID TransparencyIndexPhotoshop6 ``` Transparency Index. 2 bytes for the index of transparent color, if any. ##### GlobalAltitudePhotoshop6 ``` public static final ImageResourceID GlobalAltitudePhotoshop6 ``` Global Altitude. 4 byte entry for altitude. ##### SlicesPhotoshop6 ``` public static final ImageResourceID SlicesPhotoshop6 ``` Slices (Photoshop 6). ##### WorkflowUrlPhotoshop6 ``` public static final ImageResourceID WorkflowUrlPhotoshop6 ``` Workflow URL. Unicode string. Photoshop 6. ##### AlphaIdentifiersPhotoshop6 ``` public static final ImageResourceID AlphaIdentifiersPhotoshop6 ``` Alpha Identifiers. 4 bytes of length, followed by 4 bytes each for every alpha identifier. ##### UrlListPhotoshop6 ``` public static final ImageResourceID UrlListPhotoshop6 ``` URL InternalList. 4 byte count of URLs, followed by 4 byte long, 4 byte ID, and Unicode string for each count. ##### VersionInfoPhotoshop6 ``` public static final ImageResourceID VersionInfoPhotoshop6 ``` Version Info. 4 bytes version, 1 byte hasRealMergedData , Unicode string: writer name, Unicode string: reader name, 4 bytes file version. ##### ExifData1Photoshop7 ``` public static final ImageResourceID ExifData1Photoshop7 ``` EXIF data 1, see more . ##### ExifData3Photoshop7 ``` public static final ImageResourceID ExifData3Photoshop7 ``` EXIF data 3. ##### XmpPhotoshop7 ``` public static final ImageResourceID XmpPhotoshop7 ``` XMP metadata. File info as XML description, see more . ##### CaptionDigestPhotoshop7 ``` public static final ImageResourceID CaptionDigestPhotoshop7 ``` Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm. ##### PrintScalePhotoshop7 ``` public static final ImageResourceID PrintScalePhotoshop7 ``` Print scale. 2 bytes style (0 = centered, 1 = size to fit, 2 = user defined). 4 bytes x location (floating point). 4 bytes y location (floating point). 4 bytes scale (floating point). ##### PixelAspectRatio ``` public static final ImageResourceID PixelAspectRatio ``` Pixel Aspect Ratio. 4 bytes (version = 1 or 2), 8 bytes double, x / y of a pixel. Version 2, attempting to correct values for NTSC and PAL, previously off by a factor of approx. 5%. ##### LayerComps ``` public static final ImageResourceID LayerComps ``` Layer Comps. 4 bytes (descriptor version = 16), Descriptor. ##### LayerSelectionIds ``` public static final ImageResourceID LayerSelectionIds ``` Layer Selection ID(s). 2 bytes count, following is repeated for each count: 4 bytes layer ID. ##### PrintInfoCS2 ``` public static final ImageResourceID PrintInfoCS2 ``` Print info (Photoshop CS2). ##### LayerGroupEnabledIdCS2 ``` public static final ImageResourceID LayerGroupEnabledIdCS2 ``` Layer Group(s) Enabled ID. 1 byte for each layer in the document, repeated by length of the resource. NOTE: Layer groups have start and end markers (Photoshop CS2). ##### ColorSamplersResourceCS3 ``` public static final ImageResourceID ColorSamplersResourceCS3 ``` Color samplers resource. Also see ID 1038 for old format. ##### MeasurementScaleCS3 ``` public static final ImageResourceID MeasurementScaleCS3 ``` Measurement Scale. 4 bytes (descriptor version = 16), Descriptor. ##### TimelineInformationCS3 ``` public static final ImageResourceID TimelineInformationCS3 ``` Timeline Information. 4 bytes (descriptor version = 16), Descriptor. ##### SheetDisclosureCS3 ``` public static final ImageResourceID SheetDisclosureCS3 ``` Sheet Disclosure. 4 bytes (descriptor version = 16), Descriptor. ##### PrintInformationCS5 ``` public static final ImageResourceID PrintInformationCS5 ``` Print Information (Photoshop CS5). ##### PrintStyleCS5 ``` public static final ImageResourceID PrintStyleCS5 ``` Print Style (Photoshop CS5). ##### MacintoshNSPrintInfoCS5 ``` public static final ImageResourceID MacintoshNSPrintInfoCS5 ``` Macintosh NSPrintInfo. Variable OS specific info for Macintosh. NSPrintInfo. It is recommended that you do not interpret or use this data. (Photoshop CS5). ##### WindowsDevmodeCS5 ``` public static final ImageResourceID WindowsDevmodeCS5 ``` Windows DEVMODE. Variable OS specific info for Windows. DEVMODE. It is recommended that you do not interpret or use this data. (Photoshop CS5). ##### AutoSaveFilePathCS6 ``` public static final ImageResourceID AutoSaveFilePathCS6 ``` Auto Save File Path. Unicode string. (Photoshop CS6). ##### AutoSaveFormatCS6 ``` public static final ImageResourceID AutoSaveFormatCS6 ``` Auto Save Format. Unicode string. (Photoshop CS6). ##### PathSelectionStateCC ``` public static final ImageResourceID PathSelectionStateCC ``` Path Selection State. (Photoshop CC). ##### ImageReadyVariables ``` public static final ImageResourceID ImageReadyVariables ``` Image Ready variables. XML representation of variables definition. ##### ImageReadyDatasets ``` public static final ImageResourceID ImageReadyDatasets ``` Image Ready data sets. ##### PrintFlagsInformation ``` public static final ImageResourceID PrintFlagsInformation ``` Print flags information. 2 bytes version ( = 1), 1 byte center crop marks, 1 byte ( = 0), 4 bytes bleed width value, 2 bytes bleed width scale. ##### getByRawValue(int rawValue) ``` public static ImageResourceID getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ImageResourceID ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### ImageResourcePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/imageresourcepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ImageResourcePackage extends CustomPackage ``` Represents a metadata package containing Photoshop Image Resources. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | toList() | Creates a list from the package. | ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all Image Resource Blocks from the package. ### ImageRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/imagerootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class ImageRootPackage extends RootMetadataPackage ``` Provides a base abstract class for all image root packages. This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPng)) { > ImageRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getImageType().getFileFormat()); > System.out.println(root.getImageType().getByteOrder()); > System.out.println(root.getImageType().getMimeType()); > System.out.println(root.getImageType().getExtension()); > System.out.println(root.getImageType().getWidth()); > System.out.println(root.getImageType().getHeight()); > } > > ``` > ``` #### Methods | Method | Description | | --- | --- | | getImageType() | Gets the file type metadata package. | ##### getImageType() ``` public final ImageTypePackage getImageType() ``` Gets the file type metadata package. **Returns:** ImageTypePackage - The file type metadata package. ### ImageTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/imagetypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class ImageTypePackage extends FileTypePackage ``` Represents a metadata package containing image-specific file format information. #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the image width. | | getHeight() | Gets the image height. | | getByteOrder() | Gets the byte-order of the image. | ##### getWidth() ``` public final int getWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getHeight() ``` public final int getHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getByteOrder() ``` public final ByteOrder getByteOrder() ``` Gets the byte-order of the image. Please see https://en.wikipedia.org/wiki/Endianness for more information. **Returns:** ByteOrder - The byte-order value. ### InteroperabilityIFDPointerPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/interoperabilityifdpointerpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class InteroperabilityIFDPointerPackage extends CustomPackage ``` Represents Interoperability IFD. #### Methods | Method | Description | | --- | --- | | getTagInteropIndex() | Gets the TagInteropIndex. | | getTagInteropVersion() | Gets the TagInteropVersion. | ##### getTagInteropIndex() ``` public final String getTagInteropIndex() ``` Gets the TagInteropIndex. **Returns:** java.lang.String - The TagInteropIndex. ##### getTagInteropVersion() ``` public final byte[] getTagInteropVersion() ``` Gets the TagInteropVersion. **Returns:** byte[] - The TagInteropVersion. ### InvalidFormatException Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/invalidformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class InvalidFormatException extends GroupDocsMetadataException ``` The exception that is thrown when a file has an invalid format. #### Constructors | Constructor | Description | | --- | --- | | InvalidFormatException() | Initializes a new instance of the InvalidFormatException class. | | InvalidFormatException(String message) | Initializes a new instance of the InvalidFormatException class. | | InvalidFormatException(String message, RuntimeException innerException) | Initializes a new instance of the InvalidFormatException class. | ##### InvalidFormatException() ``` public InvalidFormatException() ``` Initializes a new instance of the InvalidFormatException class. ##### InvalidFormatException(String message) ``` public InvalidFormatException(String message) ``` Initializes a new instance of the InvalidFormatException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### InvalidFormatException(String message, RuntimeException innerException) ``` public InvalidFormatException(String message, RuntimeException innerException) ``` Initializes a new instance of the InvalidFormatException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### IptcApplicationRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcapplicationrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.IptcRecord ``` public final class IptcApplicationRecord extends IptcRecord ``` Represents an IPTC Application Record. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcApplicationRecord() | Initializes a new instance of the IptcApplicationRecord class. | #### Methods | Method | Description | | --- | --- | | getByLine() | Gets the name of the creator of the object, e.g. | | setByLine(String value) | Sets the name of the creator of the object, e.g. | | getByLines() | Gets the names of the creators of the object, e.g. | | setByLines(String[] value) | Sets the names of the creators of the object, e.g. | | getByLineTitle() | Gets the title of the creator or creators of the object. | | setByLineTitle(String value) | Sets the title of the creator or creators of the object. | | getByLineTitles() | Gets the titles of the creator or creators of the object. | | setByLineTitles(String[] value) | Sets the titles of the creator or creators of the object. | | getContentLocationCode() | Gets the content location code. | | setContentLocationCode(String value) | Sets the content location code. | | getContentLocationCodes() | Gets the content location codes. | | setContentLocationCodes(String[] value) | Sets the content location codes. | | getContentLocationName() | Gets the content location name. | | setContentLocationName(String value) | Sets the content location name. | | getContentLocationNames() | Gets the content location names. | | setContentLocationNames(String[] value) | Sets the content location names. | | getDateCreated() | Gets the date the intellectual content of the object was created. | | setDateCreated(Date value) | Sets the date the intellectual content of the object was created. | | getReferenceDate() | Gets the date of a prior envelope to which the current object refers. | | setReferenceDate(Date value) | Sets the date of a prior envelope to which the current object refers. | | getReferenceDates() | Gets the dates of a prior envelope to which the current object refers. | | getReleaseDate() | Gets the release date. | | setReleaseDate(Date value) | Sets the release date. | | getCredit() | Gets information about the provider of the object, not necessarily the owner/creator. | | setCredit(String value) | Sets information about the provider of the object, not necessarily the owner/creator. | | getHeadline() | Gets a publishable entry providing a synopsis of the contents of the object. | | setHeadline(String value) | Sets a publishable entry providing a synopsis of the contents of the object. | | getCopyrightNotice() | Gets the copyright notice. | | setCopyrightNotice(String value) | Sets the copyright notice. | | getContact() | Gets information about the person or organisation which can provide further background information on the object. | | setContact(String value) | Sets information about the person or organisation which can provide further background information on the object. | | getContacts() | Gets information about the person or organisation which can provide further background information on the object. | | setContacts(String[] value) | Sets information about the person or organisation which can provide further background information on the object. | | getCity() | Gets the city. | | setCity(String value) | Sets the city. | | getCaptionAbstract() | Gets a textual description of the object, particularly used where the object is not text. | | setCaptionAbstract(String value) | Sets a textual description of the object, particularly used where the object is not text. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getAllKeywords() | Gets the keywords. | | setAllKeywords(String[] value) | Sets the keywords. | | getProgramVersion() | Gets the program version. | | setProgramVersion(String value) | Sets the program version. | | getByIptcApplicationRecordDataSet(IptcApplicationRecordDataSet dataSetNumber) | Gets the IptcDataSet with the specified number. | ##### IptcApplicationRecord() ``` public IptcApplicationRecord() ``` Initializes a new instance of the IptcApplicationRecord class. ##### getByLine() ``` public final String getByLine() ``` Gets the name of the creator of the object, e.g. writer, photographer or graphic artist. **Returns:** java.lang.String - The name of the creator of the object, e.g. writer, photographer or graphic artist. ##### setByLine(String value) ``` public final void setByLine(String value) ``` Sets the name of the creator of the object, e.g. writer, photographer or graphic artist. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the creator of the object, e.g. writer, photographer or graphic artist. | ##### getByLines() ``` public final String[] getByLines() ``` Gets the names of the creators of the object, e.g. writer, photographer or graphic artist. **Returns:** java.lang.String[] - The names of the creators of the object, e.g. writer, photographer or graphic artist. ##### setByLines(String[] value) ``` public final void setByLines(String[] value) ``` Sets the names of the creators of the object, e.g. writer, photographer or graphic artist. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The names of the creators of the object, e.g. writer, photographer or graphic artist. | ##### getByLineTitle() ``` public final String getByLineTitle() ``` Gets the title of the creator or creators of the object. **Returns:** java.lang.String - The title of the creator or creators of the object. ##### setByLineTitle(String value) ``` public final void setByLineTitle(String value) ``` Sets the title of the creator or creators of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title of the creator or creators of the object. | ##### getByLineTitles() ``` public final String[] getByLineTitles() ``` Gets the titles of the creator or creators of the object. **Returns:** java.lang.String[] - The titles of the creator or creators of the object. ##### setByLineTitles(String[] value) ``` public final void setByLineTitles(String[] value) ``` Sets the titles of the creator or creators of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The titles of the creator or creators of the object. | ##### getContentLocationCode() ``` public final String getContentLocationCode() ``` Gets the content location code. **Returns:** java.lang.String - The content location code. ##### setContentLocationCode(String value) ``` public final void setContentLocationCode(String value) ``` Sets the content location code. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content location code. | ##### getContentLocationCodes() ``` public final String[] getContentLocationCodes() ``` Gets the content location codes. **Returns:** java.lang.String[] - The content location codes. ##### setContentLocationCodes(String[] value) ``` public final void setContentLocationCodes(String[] value) ``` Sets the content location codes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The content location codes. | ##### getContentLocationName() ``` public final String getContentLocationName() ``` Gets the content location name. **Returns:** java.lang.String - The name of the content location. ##### setContentLocationName(String value) ``` public final void setContentLocationName(String value) ``` Sets the content location name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the content location. | ##### getContentLocationNames() ``` public final String[] getContentLocationNames() ``` Gets the content location names. **Returns:** java.lang.String[] - The name of the content locations. ##### setContentLocationNames(String[] value) ``` public final void setContentLocationNames(String[] value) ``` Sets the content location names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The name of the content locations. | ##### getDateCreated() ``` public final Date getDateCreated() ``` Gets the date the intellectual content of the object was created. **Returns:** java.util.Date - The date the intellectual content of the object was created. ##### setDateCreated(Date value) ``` public final void setDateCreated(Date value) ``` Sets the date the intellectual content of the object was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the intellectual content of the object was created. | ##### getReferenceDate() ``` public final Date getReferenceDate() ``` Gets the date of a prior envelope to which the current object refers. **Returns:** java.util.Date - The date of a prior envelope to which the current object refers. ##### setReferenceDate(Date value) ``` public final void setReferenceDate(Date value) ``` Sets the date of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date of a prior envelope to which the current object refers. | ##### getReferenceDates() ``` public final Date[] getReferenceDates() ``` Gets the dates of a prior envelope to which the current object refers. **Returns:** java.util.Date[] - The dates of a prior envelope to which the current object refers. ##### getReleaseDate() ``` public final Date getReleaseDate() ``` Gets the release date. **Returns:** java.util.Date - The release date. ##### setReleaseDate(Date value) ``` public final void setReleaseDate(Date value) ``` Sets the release date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The release date. | ##### getCredit() ``` public final String getCredit() ``` Gets information about the provider of the object, not necessarily the owner/creator. **Returns:** java.lang.String - The information about the provider of the object, not necessarily the owner/creator. ##### setCredit(String value) ``` public final void setCredit(String value) ``` Sets information about the provider of the object, not necessarily the owner/creator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about the provider of the object, not necessarily the owner/creator. | ##### getHeadline() ``` public final String getHeadline() ``` Gets a publishable entry providing a synopsis of the contents of the object. **Returns:** java.lang.String - A publishable entry providing a synopsis of the contents of the object. ##### setHeadline(String value) ``` public final void setHeadline(String value) ``` Sets a publishable entry providing a synopsis of the contents of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A publishable entry providing a synopsis of the contents of the object. | ##### getCopyrightNotice() ``` public final String getCopyrightNotice() ``` Gets the copyright notice. **Returns:** java.lang.String - The copyright notice. ##### setCopyrightNotice(String value) ``` public final void setCopyrightNotice(String value) ``` Sets the copyright notice. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The copyright notice. | ##### getContact() ``` public final String getContact() ``` Gets information about the person or organisation which can provide further background information on the object. **Returns:** java.lang.String - The information about the person or organisation which can provide further background information on the object. ##### setContact(String value) ``` public final void setContact(String value) ``` Sets information about the person or organisation which can provide further background information on the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about the person or organisation which can provide further background information on the object. | ##### getContacts() ``` public final String[] getContacts() ``` Gets information about the person or organisation which can provide further background information on the object. **Returns:** java.lang.String[] - The information about the person or organisation which can provide further background information on the object. ##### setContacts(String[] value) ``` public final void setContacts(String[] value) ``` Sets information about the person or organisation which can provide further background information on the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The information about the person or organisation which can provide further background information on the object. | ##### getCity() ``` public final String getCity() ``` Gets the city. **Returns:** java.lang.String - The city. ##### setCity(String value) ``` public final void setCity(String value) ``` Sets the city. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The city. | ##### getCaptionAbstract() ``` public final String getCaptionAbstract() ``` Gets a textual description of the object, particularly used where the object is not text. **Returns:** java.lang.String - TheA textual description of the object, particularly used where the object is not text. ##### setCaptionAbstract(String value) ``` public final void setCaptionAbstract(String value) ``` Sets a textual description of the object, particularly used where the object is not text. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | TheA textual description of the object, particularly used where the object is not text. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getAllKeywords() ``` public final String[] getAllKeywords() ``` Gets the keywords. **Returns:** java.lang.String[] - The keywords. ##### setAllKeywords(String[] value) ``` public final void setAllKeywords(String[] value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The keywords. | ##### getProgramVersion() ``` public final String getProgramVersion() ``` Gets the program version. **Returns:** java.lang.String - The program version. ##### setProgramVersion(String value) ``` public final void setProgramVersion(String value) ``` Sets the program version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The program version. | ##### getByIptcApplicationRecordDataSet(IptcApplicationRecordDataSet dataSetNumber) ``` public final IptcDataSet getByIptcApplicationRecordDataSet(IptcApplicationRecordDataSet dataSetNumber) ``` Gets the IptcDataSet with the specified number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSetNumber | IptcApplicationRecordDataSet | The dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified number. ### IptcApplicationRecordDataSet Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcapplicationrecorddataset.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum IptcApplicationRecordDataSet extends Enum implements IEnumValue ``` Defines IPTC Application Record dataSet numbers. #### Fields | Field | Description | | --- | --- | | RecordVersion | Represents the record version. | | ObjectTypeReference | Object type reference. | | ObjectAttributeReference | The object attribute reference. | | ObjectName | Used as a shorthand reference for the object. | | EditStatus | Status of the objectdata, according to the practice of the provider. | | EditorialUpdate | Indicates the type of update that this object provides to a previous object. | | Urgency | Specifies the editorial urgency of content and not necessarily the envelope handling priority (see 1:60, Envelope Priority). | | SubjectReference | The subject reference. | | Category | Identifies the subject of the objectdata in the opinion of the provider. | | SupplementalCategory | | | FixtureIdentifier | The fixture identifier. | | Keywords | Used to indicate specific information retrieval words. | | ContentLocationCode | Indicates the code of a country/geographical location referenced by the content of the object. | | ContentLocationName | | | ReleaseDate | Designates in the form CCYYMMDD the earliest date the provider intends the object to be used. | | ReleaseTime | Designates in the form HHMMSS??HHMM the earliest time the provider intends the object to be used. | | ExpirationDate | Designates in the form CCYYMMDD the latest date the provider or owner intends the objectdata to be used. | | SpecialInstructions | Other editorial instructions concerning the use of the objectdata, such as embargoes and warnings. | | ActionAdvised | Indicates the type of action that this object provides to a previous object. | | ReferenceService | Identifies the Service Identifier of a prior envelope to which the current object refers. | | ReferenceDate | Identifies the date of a prior envelope to which the current object refers. | | ReferenceNumber | Identifies the Envelope Number of a prior envelope to which the current object refers. | | DateCreated | Represented in the form CCYYMMDD to designate the date the intellectual content of the objectdata was created rather than the date of the creation of the physical representation. | | TimeCreated | Represented in the form HHMMSS??HHMM to designate the time the intellectual content of the objectdata current source material was created rather than the creation of the physical representation. | | DigitalCreationDate | Represented in the form CCYYMMDD to designate the date the digital representation of the objectdata was created. | | DigitalCreationTime | Represented in the form HHMMSS??HHMM to designate the time the digital representation of the objectdata was created. | | OriginatingProgram | Identifies the type of program used to originate the objectdata. | | ProgramVersion | Used to identify the version of the program mentioned in 2:65. | | ObjectCycle | Consisting of an alphabetic character. | | Byline | Contains name of the creator of the objectdata, e.g. | | BylineTitle | A by-line title is the title of the creator or creators of an object data. | | City | Identifies city of objectdata origin according to guidelines established by the provider. | | SubLocation | Identifies the location within a city from which the objectdata originates, according to guidelines established by the provider. | | ProvinceState | Identifies Province/State of origin according to guidelines established by the provider. | | PrimaryLocationCode | Indicates the code of the country/primary location where the intellectual property of the objectdata was created, e.g. | | PrimaryLocationName | Provides full, publishable, name of the country/primary location where the intellectual property of the objectdata was created, according to guidelines of the provider. | | OriginalTransmissionReference | A code representing the location of original transmission according to practices of the provider. | | Headline | A publishable entry providing a synopsis of the contents of the objectdata. | | Credit | Identifies the provider of the objectdata, not necessarily the owner/creator. | | Source | The name of a person or party who has a role in the content supply chain. | | CopyrightNotice | Contains any necessary copyright notice. | | Contact | Identifies the person or organization which can provide further background information on the object data. | | CaptionAbstract | A textual description of the objectdata, particularly used where the object is not text. | | WriterEditor | Identification of the name of the person involved in the writing, editing or correcting the objectdata or caption/abstract. | | RasterizedCaption | Image width 460 pixels and image height 128 pixels. | | ImageType | The numeric characters 1 to 4 indicate the number of components in an image, in single or multiple envelopes. | | ImageOrientation | Indicates the layout of the image area. | | LanguageIdentifier | Describes the major national language of the object, according to the 2-letter codes of ISO 639:1988. | | AudioType | The audio type. | | AudioSamplingRate | Sampling rate numeric characters, representing the sampling rate in hertz (Hz). | | AudioSamplingResolution | The number of bits in each audio sample. | | AudioDuration | Duration Designates in the form HHMMSS the running time of an audio object data when played back at the speed at which it was recorded. | | AudioOutcue | Identifies the content of the end of an audio objectdata, according to guidelines established by the provider. | | ObjDataPreviewFileFormat | A binary number representing the file format of the ObjectData Preview. | | ObjDataPreviewFileFormatVer | A binary number representing the particular version of the ObjectData Preview File Format specified in 2:200. | | ObjDataPreviewData | The object data preview. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### RecordVersion ``` public static final IptcApplicationRecordDataSet RecordVersion ``` Represents the record version. Binary. Always 2 in JPEGs. ##### ObjectTypeReference ``` public static final IptcApplicationRecordDataSet ObjectTypeReference ``` Object type reference. Used pattern: "/\\d\{2\}:[\\w\\s]\{0,64\}?/". ##### ObjectAttributeReference ``` public static final IptcApplicationRecordDataSet ObjectAttributeReference ``` The object attribute reference. ##### ObjectName ``` public static final IptcApplicationRecordDataSet ObjectName ``` Used as a shorthand reference for the object. Changes to existing data, such as updated stories or new crops on photos, should be identified in EditStatus . ##### EditStatus ``` public static final IptcApplicationRecordDataSet EditStatus ``` Status of the objectdata, according to the practice of the provider. ##### EditorialUpdate ``` public static final IptcApplicationRecordDataSet EditorialUpdate ``` Indicates the type of update that this object provides to a previous object. ##### Urgency ``` public static final IptcApplicationRecordDataSet Urgency ``` Specifies the editorial urgency of content and not necessarily the envelope handling priority (see 1:60, Envelope Priority). ##### SubjectReference ``` public static final IptcApplicationRecordDataSet SubjectReference ``` The subject reference. ##### Category ``` public static final IptcApplicationRecordDataSet Category ``` Identifies the subject of the objectdata in the opinion of the provider. ##### SupplementalCategory ``` public static final IptcApplicationRecordDataSet SupplementalCategory ``` Supplemental categories further refine the subject of an objectdata. Only a single supplemental category may be contained in each DataSet. A supplemental category may include any of the recognised categories as used in 2:15. ##### FixtureIdentifier ``` public static final IptcApplicationRecordDataSet FixtureIdentifier ``` The fixture identifier. ##### Keywords ``` public static final IptcApplicationRecordDataSet Keywords ``` Used to indicate specific information retrieval words. Each keyword uses a single Keywords DataSet. Multiple keywords use multiple Keywords DataSets. ##### ContentLocationCode ``` public static final IptcApplicationRecordDataSet ContentLocationCode ``` Indicates the code of a country/geographical location referenced by the content of the object. ##### ContentLocationName ``` public static final IptcApplicationRecordDataSet ContentLocationName ``` Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. ##### ReleaseDate ``` public static final IptcApplicationRecordDataSet ReleaseDate ``` Designates in the form CCYYMMDD the earliest date the provider intends the object to be used. Follows ISO 8601 standard. ##### ReleaseTime ``` public static final IptcApplicationRecordDataSet ReleaseTime ``` Designates in the form HHMMSS??HHMM the earliest time the provider intends the object to be used. Follows ISO 8601 standard. ##### ExpirationDate ``` public static final IptcApplicationRecordDataSet ExpirationDate ``` Designates in the form CCYYMMDD the latest date the provider or owner intends the objectdata to be used. Follows ISO 8601 standard. ##### SpecialInstructions ``` public static final IptcApplicationRecordDataSet SpecialInstructions ``` Other editorial instructions concerning the use of the objectdata, such as embargoes and warnings. ##### ActionAdvised ``` public static final IptcApplicationRecordDataSet ActionAdvised ``` Indicates the type of action that this object provides to a previous object. ##### ReferenceService ``` public static final IptcApplicationRecordDataSet ReferenceService ``` Identifies the Service Identifier of a prior envelope to which the current object refers. ##### ReferenceDate ``` public static final IptcApplicationRecordDataSet ReferenceDate ``` Identifies the date of a prior envelope to which the current object refers. ##### ReferenceNumber ``` public static final IptcApplicationRecordDataSet ReferenceNumber ``` Identifies the Envelope Number of a prior envelope to which the current object refers. ##### DateCreated ``` public static final IptcApplicationRecordDataSet DateCreated ``` Represented in the form CCYYMMDD to designate the date the intellectual content of the objectdata was created rather than the date of the creation of the physical representation. Follows ISO 8601 standard. Where the month or day cannot be determined, the information will be represented by ???00???. Where the year cannot be determined, the information for century and year will be represented by ???00???. ##### TimeCreated ``` public static final IptcApplicationRecordDataSet TimeCreated ``` Represented in the form HHMMSS??HHMM to designate the time the intellectual content of the objectdata current source material was created rather than the creation of the physical representation. Follows ISO 8601 standard. ##### DigitalCreationDate ``` public static final IptcApplicationRecordDataSet DigitalCreationDate ``` Represented in the form CCYYMMDD to designate the date the digital representation of the objectdata was created. ##### DigitalCreationTime ``` public static final IptcApplicationRecordDataSet DigitalCreationTime ``` Represented in the form HHMMSS??HHMM to designate the time the digital representation of the objectdata was created. ##### OriginatingProgram ``` public static final IptcApplicationRecordDataSet OriginatingProgram ``` Identifies the type of program used to originate the objectdata. ##### ProgramVersion ``` public static final IptcApplicationRecordDataSet ProgramVersion ``` Used to identify the version of the program mentioned in 2:65. DataSet 2:70 is invalid if 2:65 is not present. ##### ObjectCycle ``` public static final IptcApplicationRecordDataSet ObjectCycle ``` Consisting of an alphabetic character. Where: 'a'(morning, 'p'(evening, 'b'(both. ##### Byline ``` public static final IptcApplicationRecordDataSet Byline ``` Contains name of the creator of the objectdata, e.g. writer, photographer or graphic artist. ##### BylineTitle ``` public static final IptcApplicationRecordDataSet BylineTitle ``` A by-line title is the title of the creator or creators of an object data. ##### City ``` public static final IptcApplicationRecordDataSet City ``` Identifies city of objectdata origin according to guidelines established by the provider. ##### SubLocation ``` public static final IptcApplicationRecordDataSet SubLocation ``` Identifies the location within a city from which the objectdata originates, according to guidelines established by the provider. ##### ProvinceState ``` public static final IptcApplicationRecordDataSet ProvinceState ``` Identifies Province/State of origin according to guidelines established by the provider. ##### PrimaryLocationCode ``` public static final IptcApplicationRecordDataSet PrimaryLocationCode ``` Indicates the code of the country/primary location where the intellectual property of the objectdata was created, e.g. a photo was taken, an event occurred. ##### PrimaryLocationName ``` public static final IptcApplicationRecordDataSet PrimaryLocationName ``` Provides full, publishable, name of the country/primary location where the intellectual property of the objectdata was created, according to guidelines of the provider. ##### OriginalTransmissionReference ``` public static final IptcApplicationRecordDataSet OriginalTransmissionReference ``` A code representing the location of original transmission according to practices of the provider. ##### Headline ``` public static final IptcApplicationRecordDataSet Headline ``` A publishable entry providing a synopsis of the contents of the objectdata. ##### Credit ``` public static final IptcApplicationRecordDataSet Credit ``` Identifies the provider of the objectdata, not necessarily the owner/creator. ##### Source ``` public static final IptcApplicationRecordDataSet Source ``` The name of a person or party who has a role in the content supply chain. This could be an agency, a member of an agency, an individual or a combination. ##### CopyrightNotice ``` public static final IptcApplicationRecordDataSet CopyrightNotice ``` Contains any necessary copyright notice. ##### Contact ``` public static final IptcApplicationRecordDataSet Contact ``` Identifies the person or organization which can provide further background information on the object data. ##### CaptionAbstract ``` public static final IptcApplicationRecordDataSet CaptionAbstract ``` A textual description of the objectdata, particularly used where the object is not text. ##### WriterEditor ``` public static final IptcApplicationRecordDataSet WriterEditor ``` Identification of the name of the person involved in the writing, editing or correcting the objectdata or caption/abstract. ##### RasterizedCaption ``` public static final IptcApplicationRecordDataSet RasterizedCaption ``` Image width 460 pixels and image height 128 pixels. Scanning direction bottom to top, left to right. ##### ImageType ``` public static final IptcApplicationRecordDataSet ImageType ``` The numeric characters 1 to 4 indicate the number of components in an image, in single or multiple envelopes. ##### ImageOrientation ``` public static final IptcApplicationRecordDataSet ImageOrientation ``` Indicates the layout of the image area. ##### LanguageIdentifier ``` public static final IptcApplicationRecordDataSet LanguageIdentifier ``` Describes the major national language of the object, according to the 2-letter codes of ISO 639:1988. ##### AudioType ``` public static final IptcApplicationRecordDataSet AudioType ``` The audio type. ##### AudioSamplingRate ``` public static final IptcApplicationRecordDataSet AudioSamplingRate ``` Sampling rate numeric characters, representing the sampling rate in hertz (Hz). ##### AudioSamplingResolution ``` public static final IptcApplicationRecordDataSet AudioSamplingResolution ``` The number of bits in each audio sample. ##### AudioDuration ``` public static final IptcApplicationRecordDataSet AudioDuration ``` Duration Designates in the form HHMMSS the running time of an audio object data when played back at the speed at which it was recorded. ##### AudioOutcue ``` public static final IptcApplicationRecordDataSet AudioOutcue ``` Identifies the content of the end of an audio objectdata, according to guidelines established by the provider. ##### ObjDataPreviewFileFormat ``` public static final IptcApplicationRecordDataSet ObjDataPreviewFileFormat ``` A binary number representing the file format of the ObjectData Preview. ##### ObjDataPreviewFileFormatVer ``` public static final IptcApplicationRecordDataSet ObjDataPreviewFileFormatVer ``` A binary number representing the particular version of the ObjectData Preview File Format specified in 2:200. ##### ObjDataPreviewData ``` public static final IptcApplicationRecordDataSet ObjDataPreviewData ``` The object data preview. ##### values() ``` public static IptcApplicationRecordDataSet[] values() ``` **Returns:** com.groupdocs.metadata.core.IptcApplicationRecordDataSet[] ##### valueOf(String name) ``` public static IptcApplicationRecordDataSet valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IptcApplicationRecordDataSet ##### getByRawValue(int rawValue) ``` public static IptcApplicationRecordDataSet getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IptcApplicationRecordDataSet ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### IptcDataSet Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcdataset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public final class IptcDataSet extends MetadataProperty ``` Represents an IPTC DataSet (metadata property). [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcDataSet(byte recordNumber, byte dataSetNumber, byte[] value) | Initializes a new instance of the IptcDataSet class. | | IptcDataSet(byte recordNumber, byte dataSetNumber, String value) | Initializes a new instance of the IptcDataSet class. | | IptcDataSet(byte recordNumber, byte dataSetNumber, int value) | Initializes a new instance of the IptcDataSet class. | | IptcDataSet(byte recordNumber, byte dataSetNumber, Date value) | Initializes a new instance of the IptcDataSet class. | #### Methods | Method | Description | | --- | --- | | getRecordNumber() | Gets the record number. | | getDataSetNumber() | Gets the dataSet number. | | getAlternativeName() | Gets the alternative name of the dataSet. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, byte[] value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, byte[] value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | byte[] | A byte array value. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, String value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, String value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | java.lang.String | A string value. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, int value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, int value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | int | An integer value. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, Date value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, Date value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | java.util.Date | A date value. | ##### getRecordNumber() ``` public final byte getRecordNumber() ``` Gets the record number. **Returns:** byte - The record number. ##### getDataSetNumber() ``` public final byte getDataSetNumber() ``` Gets the dataSet number. **Returns:** byte - The dataSet number. ##### getAlternativeName() ``` public final String getAlternativeName() ``` Gets the alternative name of the dataSet. **Returns:** java.lang.String - The alternative name of the dataSet. ### IptcEnvelopeRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcenveloperecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.IptcRecord ``` public final class IptcEnvelopeRecord extends IptcRecord ``` Represents an IPTC Envelope Record. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcEnvelopeRecord() | Initializes a new instance of the IptcEnvelopeRecord class. | #### Methods | Method | Description | | --- | --- | | getModelVersion() | Gets a number identifying the version of the information. | | setModelVersion(Integer value) | Sets a number identifying the version of the information. | | getDestination() | Gets the destination. | | setDestination(String value) | Sets the destination. | | getDestinations() | Gets an array of destinations. | | setDestinations(String[] value) | Sets an array of destinations. | | getFileFormat() | Gets the file format. | | setFileFormat(Integer value) | Sets the file format. | | getFileFormatVersion() | Gets the file format version. | | setFileFormatVersion(Integer value) | Sets the file format version. | | getServiceIdentifier() | Gets the service identifier. | | setServiceIdentifier(String value) | Sets the service identifier. | | getProductID() | Gets the product identifier. | | setProductID(String value) | Sets the product identifier. | | getProductIds() | Gets the product identifiers. | | setProductIds(String[] value) | Sets the product identifiers. | | getDateSent() | Gets the date the service sent the material. | | setDateSent(Date value) | Sets the date the service sent the material. | | getByIptcEnvelopeRecordDataSet(IptcEnvelopeRecordDataSet dataSetNumber) | Gets the IptcDataSet with the specified number. | ##### IptcEnvelopeRecord() ``` public IptcEnvelopeRecord() ``` Initializes a new instance of the IptcEnvelopeRecord class. ##### getModelVersion() ``` public final Integer getModelVersion() ``` Gets a number identifying the version of the information. **Returns:** java.lang.Integer - The model version. ##### setModelVersion(Integer value) ``` public final void setModelVersion(Integer value) ``` Sets a number identifying the version of the information. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The model version. | ##### getDestination() ``` public final String getDestination() ``` Gets the destination. **Returns:** java.lang.String - The destination. ##### setDestination(String value) ``` public final void setDestination(String value) ``` Sets the destination. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The destination. | ##### getDestinations() ``` public final String[] getDestinations() ``` Gets an array of destinations. **Returns:** java.lang.String[] - The destinations. ##### setDestinations(String[] value) ``` public final void setDestinations(String[] value) ``` Sets an array of destinations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The destinations. | ##### getFileFormat() ``` public final Integer getFileFormat() ``` Gets the file format. **Returns:** java.lang.Integer - The file format. ##### setFileFormat(Integer value) ``` public final void setFileFormat(Integer value) ``` Sets the file format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format. | ##### getFileFormatVersion() ``` public final Integer getFileFormatVersion() ``` Gets the file format version. A number representing the particular version of the File Format specified in FileFormat . **Returns:** java.lang.Integer - The file format version. ##### setFileFormatVersion(Integer value) ``` public final void setFileFormatVersion(Integer value) ``` Sets the file format version. A number representing the particular version of the File Format specified in FileFormat . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format version. | ##### getServiceIdentifier() ``` public final String getServiceIdentifier() ``` Gets the service identifier. **Returns:** java.lang.String - The service identifier. ##### setServiceIdentifier(String value) ``` public final void setServiceIdentifier(String value) ``` Sets the service identifier. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The service identifier. | ##### getProductID() ``` public final String getProductID() ``` Gets the product identifier. **Returns:** java.lang.String - The product identifier. ##### setProductID(String value) ``` public final void setProductID(String value) ``` Sets the product identifier. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The product identifier. | ##### getProductIds() ``` public final String[] getProductIds() ``` Gets the product identifiers. **Returns:** java.lang.String[] - The product identifiers. ##### setProductIds(String[] value) ``` public final void setProductIds(String[] value) ``` Sets the product identifiers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The product identifiers. | ##### getDateSent() ``` public final Date getDateSent() ``` Gets the date the service sent the material. **Returns:** java.util.Date - The date the service sent the material. ##### setDateSent(Date value) ``` public final void setDateSent(Date value) ``` Sets the date the service sent the material. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the service sent the material. | ##### getByIptcEnvelopeRecordDataSet(IptcEnvelopeRecordDataSet dataSetNumber) ``` public final IptcDataSet getByIptcEnvelopeRecordDataSet(IptcEnvelopeRecordDataSet dataSetNumber) ``` Gets the IptcDataSet with the specified number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSetNumber | IptcEnvelopeRecordDataSet | The dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified number. ### IptcEnvelopeRecordDataSet Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcenveloperecorddataset.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class IptcEnvelopeRecordDataSet implements IEnumValue ``` Defines IPTC Envelope Record dataSet numbers. #### Fields | Field | Description | | --- | --- | | ModelVersion | | | Destination | | | FileFormat | File format. | | FileFormatVersion | | | ServiceIdentifier | | | EnvelopeNumber | | | ProductID | | | EnvelopePriority | | | DateSent | | | TimeSent | | | CodedCharacterSet | | | Uno | Invalid (eternal identifier). | | ArmIdentifier | The DataSet identifies the Abstract Relationship Method (ARM) which is described in a document registered by the originator of the ARM with the IPTC and NAA. | | ArmVersion | Binary number representing the particular version of the ARM specified in DataSet 1:120. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### ModelVersion ``` public static final IptcEnvelopeRecordDataSet ModelVersion ``` A binary number identifying the version of the Information Interchange Model, Part I, utilised by the provider. Version numbers are assigned by IPTC and NAA. The version number of this record is four (4). ##### Destination ``` public static final IptcEnvelopeRecordDataSet Destination ``` Optional, repeatable, maximum 1024 octets, consisting of sequentially contiguous graphic characters. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. ##### FileFormat ``` public static final IptcEnvelopeRecordDataSet FileFormat ``` File format. ##### FileFormatVersion ``` public static final IptcEnvelopeRecordDataSet FileFormatVersion ``` Mandatory, not repeatable, two octets. A binary number representing the particular version of the File Format specified in 1:20. A list of File Formats, including version cross references, is included as Appendix A. ##### ServiceIdentifier ``` public static final IptcEnvelopeRecordDataSet ServiceIdentifier ``` Mandatory, not repeatable. Up to 10 octets, consisting of graphic characters. Identifies the provider and product. ##### EnvelopeNumber ``` public static final IptcEnvelopeRecordDataSet EnvelopeNumber ``` Mandatory, not repeatable, eight octets, consisting of numeric characters. The characters form a number that will be unique for the date specified in 1:70 and for the Service Identifier specified in 1:30. If identical envelope numbers appear with the same date and with the same Service Identifier, records 2-9 must be unchanged from the original. This is not intended to be a sequential serial number reception check. ##### ProductID ``` public static final IptcEnvelopeRecordDataSet ProductID ``` Optional, repeatable. Up to 32 octets, consisting of graphic characters. Allows a provider to identify subsets of its overall service. Used to provide receiving organization data on which to select, route, or otherwise handle data. ##### EnvelopePriority ``` public static final IptcEnvelopeRecordDataSet EnvelopePriority ``` Optional, not repeatable. A single octet, consisting of a numeric character. Specifies the envelope handling priority and not the editorial urgency (see 2:10, Urgency). '1' indicates the most urgent, '5' the normal urgency, and '8' the least urgent copy. The numeral '9' indicates a User Defined Priority. The numeral '0' is reserved for future use. ##### DateSent ``` public static final IptcEnvelopeRecordDataSet DateSent ``` Mandatory, not repeatable. Eight octets, consisting of numeric characters. Uses the format CCYYMMDD (century, year, month, day) as defined in ISO 8601 to indicate year, month and day the service sent the material. ##### TimeSent ``` public static final IptcEnvelopeRecordDataSet TimeSent ``` Uses the format HHMMSS±HHMM where HHMMSS refers to local hour, minute and seconds and HHMM refers to hours and minutes ahead (+) or behind (-) Universal Coordinated Time as described in ISO 8601. This is the time the service sent the material. ##### CodedCharacterSet ``` public static final IptcEnvelopeRecordDataSet CodedCharacterSet ``` Optional, not repeatable, up to 32 octets, consisting of one or more control functions used for the announcement, invocation or designation of coded character sets. The control functions follow the ISO 2022 standard and may consist of the escape control character and one or more graphic characters. For more details see Appendix C, the IPTC-NAA Code Library. ##### Uno ``` public static final IptcEnvelopeRecordDataSet Uno ``` Invalid (eternal identifier). ##### ArmIdentifier ``` public static final IptcEnvelopeRecordDataSet ArmIdentifier ``` The DataSet identifies the Abstract Relationship Method (ARM) which is described in a document registered by the originator of the ARM with the IPTC and NAA. ##### ArmVersion ``` public static final IptcEnvelopeRecordDataSet ArmVersion ``` Binary number representing the particular version of the ARM specified in DataSet 1:120. ##### getByRawValue(int rawValue) ``` public static IptcEnvelopeRecordDataSet getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IptcEnvelopeRecordDataSet ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### IptcRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class IptcRecord extends CustomPackage ``` Represents an IPTC record. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getRecordNumber() | Gets the record number. | | toList() | Creates a list from the package. | | get_Item(byte dataSetNumber) | Gets the IptcDataSet with the specified dataSet number. | ##### getRecordNumber() ``` public final byte getRecordNumber() ``` Gets the record number. **Returns:** byte - The record number. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all IPTC dataSets from the package. ##### get_Item(byte dataSetNumber) ``` public final IptcDataSet get_Item(byte dataSetNumber) ``` Gets the IptcDataSet with the specified dataSet number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSetNumber | byte | The IPTC dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified dataSet number, if found; otherwise null. ### IptcRecordSet Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class IptcRecordSet extends CustomPackage ``` Represents a collection of IPTC records. This code sample shows hot to update basic IPTC metadata properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > IIptc root = (IIptc) metadata.getRootPackage(); > // Set the IPTC package if it's missing > if (root.getIptcPackage() == null) { > root.setIptcPackage(new IptcRecordSet()); > } > if (root.getIptcPackage().getEnvelopeRecord() == null) { > root.getIptcPackage().setEnvelopeRecord(new IptcEnvelopeRecord()); > } > root.getIptcPackage().getEnvelopeRecord().setDateSent(new Date()); > root.getIptcPackage().getEnvelopeRecord().setProductID("test project id"); > // ... > if (root.getIptcPackage().getApplicationRecord() == null) { > root.getIptcPackage().setApplicationRecord(new IptcApplicationRecord()); > } > root.getIptcPackage().getApplicationRecord().setByLine("GroupDocs"); > root.getIptcPackage().getApplicationRecord().setHeadline("test"); > root.getIptcPackage().getApplicationRecord().setByLineTitle("code sample"); > root.getIptcPackage().getApplicationRecord().setReleaseDate(new Date()); > // ... > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcRecordSet() | Initializes a new instance of the IptcRecordSet class. | | IptcRecordSet(IptcDataSet[] dataSets) | Initializes a new instance of the IptcRecordSet class. | #### Methods | Method | Description | | --- | --- | | getEnvelopeRecord() | Gets the Envelope Record. | | setEnvelopeRecord(IptcEnvelopeRecord value) | Sets the Envelope Record. | | getApplicationRecord() | Gets the Application Record. | | setApplicationRecord(IptcApplicationRecord value) | Sets the Application Record. | | get_Item(byte recordNumber) | Gets the IptcRecord with the specified number. | | get_Item(byte recordNumber, byte dataSetNumber) | Gets the IptcDataSet with the specified record and dataSet number. | | set(IptcDataSet dataSet) | Adds or updates the specified dataSet in the appropriate record. | | add(IptcDataSet dataSet) | Adds the specified dataSet to the appropriate record. | | remove(byte recordNumber, byte dataSetNumber) | Removes the dataSet with the specified record and dataSet number. | | clear() | Removes all records from the collection. | | remove(byte recordNumber) | Removes the record with the specified record number. | | toDataSetList() | Creates a list of dataSets from the package. | | toList() | Creates a list from the package. | ##### IptcRecordSet() ``` public IptcRecordSet() ``` Initializes a new instance of the IptcRecordSet class. ##### IptcRecordSet(IptcDataSet[] dataSets) ``` public IptcRecordSet(IptcDataSet[] dataSets) ``` Initializes a new instance of the IptcRecordSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSets | IptcDataSet\[\] | An array of IPTC dataSets. | ##### getEnvelopeRecord() ``` public final IptcEnvelopeRecord getEnvelopeRecord() ``` Gets the Envelope Record. **Returns:** IptcEnvelopeRecord - The Envelope Record. ##### setEnvelopeRecord(IptcEnvelopeRecord value) ``` public final void setEnvelopeRecord(IptcEnvelopeRecord value) ``` Sets the Envelope Record. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcEnvelopeRecord | The Envelope Record. | ##### getApplicationRecord() ``` public final IptcApplicationRecord getApplicationRecord() ``` Gets the Application Record. **Returns:** IptcApplicationRecord - The Application Record. ##### setApplicationRecord(IptcApplicationRecord value) ``` public final void setApplicationRecord(IptcApplicationRecord value) ``` Sets the Application Record. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcApplicationRecord | The Application Record. | ##### get_Item(byte recordNumber) ``` public final IptcRecord get_Item(byte recordNumber) ``` Gets the IptcRecord with the specified number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | **Returns:** IptcRecord - The IptcRecord with the specified number, if found; otherwise null. ##### get_Item(byte recordNumber, byte dataSetNumber) ``` public final IptcDataSet get_Item(byte recordNumber, byte dataSetNumber) ``` Gets the IptcDataSet with the specified record and dataSet number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified record and dataSet number. ##### set(IptcDataSet dataSet) ``` public final void set(IptcDataSet dataSet) ``` Adds or updates the specified dataSet in the appropriate record. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSet | IptcDataSet | The IPTC dataSet to add/update. | ##### add(IptcDataSet dataSet) ``` public final void add(IptcDataSet dataSet) ``` Adds the specified dataSet to the appropriate record. The dataSet is considered as repeatable if a dataSet with the specified number already exists. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSet | IptcDataSet | The IPTC dataSet to add. | ##### remove(byte recordNumber, byte dataSetNumber) ``` public final boolean remove(byte recordNumber, byte dataSetNumber) ``` Removes the dataSet with the specified record and dataSet number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | **Returns:** boolean - True if the specified IPTC dataSet is found and removed; otherwise, false. ##### clear() ``` public final void clear() ``` Removes all records from the collection. ##### remove(byte recordNumber) ``` public final boolean remove(byte recordNumber) ``` Removes the record with the specified record number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | **Returns:** boolean - True if the specified IPTC record is found and removed; otherwise, false. ##### toDataSetList() ``` public final IReadOnlyList toDataSetList() ``` Creates a list of dataSets from the package. **Returns:** IReadOnlyList - A list that contains all IPTC dataSets from the package. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all IPTC records from the package. ### IptcRecordType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/iptcrecordtype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class IptcRecordType implements IEnumValue ``` Defines IPTC record types. #### Fields | Field | Description | | --- | --- | | EnvelopeRecord | Represents an Envelope Record. | | ApplicationRecord | Represents an Application Record. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### EnvelopeRecord ``` public static final IptcRecordType EnvelopeRecord ``` Represents an Envelope Record. ##### ApplicationRecord ``` public static final IptcRecordType ApplicationRecord ``` Represents an Application Record. ##### getByRawValue(int rawValue) ``` public static IptcRecordType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IptcRecordType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### IReadOnlyList Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/ireadonlylist.md **All Implemented Interfaces:** java.lang.Iterable ``` public interface IReadOnlyList extends Iterable ``` Represents a read-only collection of elements that can be accessed by index. T : The type of elements in the read-only list. #### Methods | Method | Description | | --- | --- | | getCount() | Gets the number of elements contained in the collection. | | get_Item(int index) | Gets the element at the specified index in the read-only list. | | indexOf(T item) | Determines the index of a specific item in the collection. | | contains(T item) | Determines whether the collection contains a specific item. | | contains(TagCategory item) | Determines whether the collection contains a TagCategory item. | ##### getCount() ``` public abstract int getCount() ``` Gets the number of elements contained in the collection. **Returns:** int - The number of elements contained in the collection. ##### get_Item(int index) ``` public abstract T get_Item(int index) ``` Gets the element at the specified index in the read-only list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the element to get. | **Returns:** T - The element at the specified index in the read-only list. ##### indexOf(T item) ``` public abstract int indexOf(T item) ``` Determines the index of a specific item in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** int - The index of item if found in the collection; otherwise, -1. ##### contains(T item) ``` public abstract boolean contains(T item) ``` Determines whether the collection contains a specific item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ##### contains(TagCategory item) ``` public abstract boolean contains(TagCategory item) ``` Determines whether the collection contains a TagCategory item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | TagCategory | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ### IXmp Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/ixmp.md ### IXmpType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/ixmptype.md ### Jpeg2000Package Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/jpeg2000package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class Jpeg2000Package extends CustomPackage ``` Represents native JPEG2000 metadata. [Working with metadata in JPEG2000 images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+JPEG2000+images #### Methods | Method | Description | | --- | --- | | getComments() | Gets the JPEG2000 comments. | ##### getComments() ``` public final String[] getComments() ``` Gets the JPEG2000 comments. **Returns:** java.lang.String[] - The JPEG2000 comments. ### Jpeg2000RootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/jpeg2000rootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class Jpeg2000RootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package intended to work with metadata in a JPEG2000 image. This code snippet demonstrates how to read JPEG2000 image comments. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg2000)) { > Jpeg2000RootPackage root = metadata.getRootPackageGeneric(); > if (root.getJpeg2000Package().getComments() != null) { > for (String comment : root.getJpeg2000Package().getComments()) { > System.out.println(comment); > } > } > } > > ``` > ``` [Working with metadata in JPEG2000 images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+JPEG2000+images [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getJpeg2000Package() | Gets the JPEG2000 native metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getJpeg2000Package() ``` public final Jpeg2000Package getJpeg2000Package() ``` Gets the JPEG2000 native metadata package. **Returns:** Jpeg2000Package - The JPEG2000 native metadata package. ### JpegRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/jpegrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif, com.groupdocs.metadata.core.IIptc ``` public class JpegRootPackage extends ImageRootPackage implements IXmp, IExif, IIptc ``` Represents the root package allowing working with metadata in a JPEG image. [Working with metadata in JPEG images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+JPEG+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getIptcPackage() | Gets the IPTC metadata package. | | setIptcPackage(IptcRecordSet value) | Sets the IPTC metadata package. | | getImageResourcePackage() | Gets the Photoshop Image Resource metadata package. | | getMakerNotePackage() | Gets the MakerNote metadata package. | | removeImageResourcePackage() | Removes Photoshop Image Resource metadata package. | | detectBarcodeTypes() | Extracts the types of the barcodes presented in the image. | | sanitize() | Removes writable metadata properties from the package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getIptcPackage() ``` public final IptcRecordSet getIptcPackage() ``` Gets the IPTC metadata package. **Returns:** IptcRecordSet - The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata ##### setIptcPackage(IptcRecordSet value) ``` public final void setIptcPackage(IptcRecordSet value) ``` Sets the IPTC metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcRecordSet | The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata | ##### getImageResourcePackage() ``` public final ImageResourcePackage getImageResourcePackage() ``` Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format. **Returns:** ImageResourcePackage - The Image Resource metadata package. ##### getMakerNotePackage() ``` public final MakerNotePackage getMakerNotePackage() ``` Gets the MakerNote metadata package. **Returns:** MakerNotePackage - The MakerNote metadata package. ##### removeImageResourcePackage() ``` public final void removeImageResourcePackage() ``` Removes Photoshop Image Resource metadata package. ##### detectBarcodeTypes() ``` public final String[] detectBarcodeTypes() ``` Extracts the types of the barcodes presented in the image. **Returns:** java.lang.String[] - An array of barcode types. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### LyricsField Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/lyricsfield.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public final class LyricsField extends MetadataProperty ``` Represents a LyricsTag field. [Handling the Lyrics tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+Lyrics+tag #### Constructors | Constructor | Description | | --- | --- | | LyricsField(String id, String data) | Initializes a new instance of the LyricsField class. | #### Methods | Method | Description | | --- | --- | | getID() | Gets the id of the field (it's always three characters long). | | getSize() | Gets the string representation of the field size. | | getData() | Gets the field data. | ##### LyricsField(String id, String data) ``` public LyricsField(String id, String data) ``` Initializes a new instance of the LyricsField class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The three character field id. | | data | java.lang.String | The field data. | ##### getID() ``` public final String getID() ``` Gets the id of the field (it's always three characters long). **Returns:** java.lang.String - The id of the field (it's always three characters long). ##### getSize() ``` public final String getSize() ``` Gets the string representation of the field size. **Returns:** java.lang.String - The string representation of the field size. ##### getData() ``` public final String getData() ``` Gets the field data. **Returns:** java.lang.String - The field data. ### LyricsTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/lyricstag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class LyricsTag extends CustomPackage ``` Represents Lyrics3 v2.00 metadata. Please find more information at http://id3.org/Lyrics3v2 . Lyrics3 v2.00 uses fields to represent information. The data in a field can consist of ASCII characters in the range 01 to 254 according to the standard. As the ASCII character map is only defined from 00 to 128 ISO-8859-1 might be assumed. Numerical fields are 5 or 6 characters long, depending on location, and are padded with zeroes. This code sample shows how to read the Lyrics tag from an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithLyrics)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getLyrics3V2() != null) { > System.out.println(root.getLyrics3V2().getLyrics()); > System.out.println(root.getLyrics3V2().getAlbum()); > System.out.println(root.getLyrics3V2().getArtist()); > System.out.println(root.getLyrics3V2().getTrack()); > // ... > // Alternatively, you can loop through a full list of tag fields > for (LyricsField field : root.getLyrics3V2().toList()) { > System.out.println(String.format("%s = %s", field.getID(), field.getData())); > } > } > } > > ``` > ``` [Handling the Lyrics tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+Lyrics+tag #### Constructors | Constructor | Description | | --- | --- | | LyricsTag() | Initializes a new instance of the LyricsTag class. | #### Methods | Method | Description | | --- | --- | | getLyrics() | Gets the lyrics. | | setLyrics(String value) | Sets the lyrics. | | getAdditionalInfo() | Gets the additional information. | | setAdditionalInfo(String value) | Sets the additional information. | | getAuthor() | Gets the author. | | setAuthor(String value) | Sets the author. | | getAlbum() | Gets the album name. | | setAlbum(String value) | Sets the album name. | | getArtist() | Gets the artist name. | | setArtist(String value) | Sets the artist name. | | getTrack() | Gets the track title. | | setTrack(String value) | Sets the track title. | | set(LyricsField field) | Adds or replaces the specified Lyrics3 field. | | remove(String id) | Removes the field with the specified id. | | get(String id) | Gets the value of the field with the specified id. | | toList() | Creates a list from the package. | ##### LyricsTag() ``` public LyricsTag() ``` Initializes a new instance of the LyricsTag class. ##### getLyrics() ``` public final String getLyrics() ``` Gets the lyrics. This value is represented by the LYR field. **Returns:** java.lang.String - The lyrics. ##### setLyrics(String value) ``` public final void setLyrics(String value) ``` Sets the lyrics. This value is represented by the LYR field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The lyrics. | ##### getAdditionalInfo() ``` public final String getAdditionalInfo() ``` Gets the additional information. This value is represented by the INF field. **Returns:** java.lang.String - The additional information. This is always three (3) characters long in v2.00, but might be longer in a future standard. The first byte indicates weather or not a lyrics field is present. "1" for present and "0" for otherwise. The second character indicates if there is a timestamp in the lyrics. Again "1" for yes and "0" for no. The third character inhibits tracks for random selection - "1" if inhibited and "0" if not. ##### setAdditionalInfo(String value) ``` public final void setAdditionalInfo(String value) ``` Sets the additional information. This value is represented by the INF field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The additional information. This is always three (3) characters long in v2.00, but might be longer in a future standard. The first byte indicates weather or not a lyrics field is present. "1" for present and "0" for otherwise. The second character indicates if there is a timestamp in the lyrics. Again "1" for yes and "0" for no. The third character inhibits tracks for random selection - "1" if inhibited and "0" if not. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author. This value is represented by the AUT field. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the author. This value is represented by the AUT field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getAlbum() ``` public final String getAlbum() ``` Gets the album name. This value is represented by the EAL field. **Returns:** java.lang.String - The album. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the album name. This value is represented by the EAL field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The album. | ##### getArtist() ``` public final String getArtist() ``` Gets the artist name. This value is represented by the EAR field. **Returns:** java.lang.String - The artist. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the artist name. This value is represented by the EAR field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The artist. | ##### getTrack() ``` public final String getTrack() ``` Gets the track title. This value is represented by the ETT field. **Returns:** java.lang.String - The track. ##### setTrack(String value) ``` public final void setTrack(String value) ``` Sets the track title. This value is represented by the ETT field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The track. | ##### set(LyricsField field) ``` public final void set(LyricsField field) ``` Adds or replaces the specified Lyrics3 field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | field | LyricsField | The field to be set. | ##### remove(String id) ``` public final void remove(String id) ``` Removes the field with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The field identifier. | ##### get(String id) ``` public final String get(String id) ``` Gets the value of the field with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The id of the field. | **Returns:** java.lang.String - The value if the tag contains a field with the specified id; otherwise, null. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list of all fields contained in the Lyrics3 tag. ### MakerNotePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/makernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public abstract class MakerNotePackage extends ExifDictionaryBasePackage ``` Provides an abstract base class for MakerNote metadata packages. ### MatroskaAudioTrack Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskaaudiotrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage, com.groupdocs.metadata.core.MatroskaTrack ``` public class MatroskaAudioTrack extends MatroskaTrack ``` Represents audio metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getSamplingFrequency() | Gets the sampling frequency in Hz. | | getOutputSamplingFrequency() | Gets the real output sampling frequency in Hz (used for SBR techniques). | | getChannels() | Gets the numbers of channels in the track. | | getBitDepth() | Gets the bits per sample, mostly used for PCM. | ##### getSamplingFrequency() ``` public final double getSamplingFrequency() ``` Gets the sampling frequency in Hz. **Returns:** double - The sampling frequency in Hz. ##### getOutputSamplingFrequency() ``` public final double getOutputSamplingFrequency() ``` Gets the real output sampling frequency in Hz (used for SBR techniques). **Returns:** double - The real output sampling frequency in Hz (used for SBR techniques). ##### getChannels() ``` public final long getChannels() ``` Gets the numbers of channels in the track. **Returns:** long - The numbers of channels in the track. ##### getBitDepth() ``` public final Long getBitDepth() ``` Gets the bits per sample, mostly used for PCM. **Returns:** java.lang.Long - The bits per sample, mostly used for PCM. ### MatroskaBasePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskabasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class MatroskaBasePackage extends CustomPackage ``` Provides a base metadata class for all packages extracted from a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files ### MatroskaContentType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskacontenttype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaContentType extends Enum implements IEnumValue ``` Represents a Matroska content type. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined content. | | Audio | Defines the Matroska audio type. | | Video | Defines the Matroska video type. | | Video3D | Defines the Matroska 3D video type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MatroskaContentType Undefined ``` Undefined content. ##### Audio ``` public static final MatroskaContentType Audio ``` Defines the Matroska audio type. ##### Video ``` public static final MatroskaContentType Video ``` Defines the Matroska video type. ##### Video3D ``` public static final MatroskaContentType Video3D ``` Defines the Matroska 3D video type. ##### values() ``` public static MatroskaContentType[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaContentType[] ##### valueOf(String name) ``` public static MatroskaContentType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaContentType ##### getByRawValue(int rawValue) ``` public static MatroskaContentType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaContentType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaEbmlHeader Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskaebmlheader.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaEbmlHeader extends MatroskaBasePackage ``` Represents EBML header metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the EBML Writer that has been used to create the file. | | getReadVersion() | Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. | | getDocType() | Gets the contents of the file. | | getDocTypeVersion() | Gets the version of the DocType writer used to create the file. | | getDocTypeReadVersion() | Gets the minimum version number a DocType parser must be compliant with to read the file. | ##### getVersion() ``` public final byte getVersion() ``` Gets the version of the EBML Writer that has been used to create the file. **Returns:** byte - The version of the EBML Writer that has been used to create the file. ##### getReadVersion() ``` public final byte getReadVersion() ``` Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. **Returns:** byte - The minimum version an EBML parser needs to be compliant with to be able to read the file. ##### getDocType() ``` public final String getDocType() ``` Gets the contents of the file. In the case of a MATROSKA file, its value is 'matroska'. **Returns:** java.lang.String - The contents of the file. ##### getDocTypeVersion() ``` public final byte getDocTypeVersion() ``` Gets the version of the DocType writer used to create the file. **Returns:** byte - The version of the DocType writer used to create the file. ##### getDocTypeReadVersion() ``` public final byte getDocTypeReadVersion() ``` Gets the minimum version number a DocType parser must be compliant with to read the file. **Returns:** byte - The minimum version number a DocType parser must be compliant with to read the file. ### MatroskaPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaPackage extends MatroskaBasePackage ``` Represents a metadata container in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getEbmlHeader() | Gets the EBML header metadata. | | getSegments() | Gets the segment information metadata. | | getTracks() | Gets the track metadata entries. | | getTags() | Gets the tagging metadata. | | getContentType() | Gets the Matroska content type. | | getSubtitleTracks() | Gets the subtitle metadata entries. | ##### getEbmlHeader() ``` public final MatroskaEbmlHeader getEbmlHeader() ``` Gets the EBML header metadata. **Returns:** MatroskaEbmlHeader - The EBML header metadata. ##### getSegments() ``` public final MatroskaSegment[] getSegments() ``` Gets the segment information metadata. **Returns:** com.groupdocs.metadata.core.MatroskaSegment[] - The segment information metadata. ##### getTracks() ``` public final MatroskaTrack[] getTracks() ``` Gets the track metadata entries. **Returns:** com.groupdocs.metadata.core.MatroskaTrack[] - The track metadata entries. ##### getTags() ``` public final MatroskaTag[] getTags() ``` Gets the tagging metadata. **Returns:** com.groupdocs.metadata.core.MatroskaTag[] - The tagging metadata. ##### getContentType() ``` public final MatroskaContentType getContentType() ``` Gets the Matroska content type. **Returns:** MatroskaContentType - The Matroska content type. ##### getSubtitleTracks() ``` public final MatroskaSubtitleTrack[] getSubtitleTracks() ``` Gets the subtitle metadata entries. **Returns:** com.groupdocs.metadata.core.MatroskaSubtitleTrack[] - The subtitle metadata entries. ### MatroskaRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskarootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class MatroskaRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a Matroska video. This example demonstrates how to extract subtitles from an MKV video. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MkvWithSubtitles)) { > MatroskaRootPackage root = metadata.getRootPackageGeneric(); > for (MatroskaSubtitleTrack subtitleTrack : root.getMatroskaPackage().getSubtitleTracks()) { > System.out.println(subtitleTrack.getLanguageIetf() != null ? subtitleTrack.getLanguageIetf() : subtitleTrack.getLanguage()); > for (MatroskaSubtitle subtitle : subtitleTrack.getSubtitles()) { > System.out.println(String.format("Timecode=%s, Duration=%s", subtitle.getTimecode(), subtitle.getDuration())); > System.out.println(subtitle.getText()); > } > } > } > > ``` > ``` [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getMatroskaPackage() | Gets the Matroska metadata package. | ##### getMatroskaPackage() ``` public final MatroskaPackage getMatroskaPackage() ``` Gets the Matroska metadata package. **Returns:** MatroskaPackage - The Matroska metadata package. ### MatroskaSegment Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskasegment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaSegment extends MatroskaBasePackage ``` Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getSegmentUid() | Gets the unique 128 bit number identifying a SEGMENT. | | getSegmentFilename() | Gets the filename corresponding to this Segment. | | getTimecodeScale() | Gets the timecode scale value. | | getDuration() | Gets the duration of the SEGMENT. | | getDateUtc() | Gets the date and time that the Segment was created by the muxing application or library. | | getTitle() | Gets the general name of the Segment. | | getMuxingApp() | Gets the full name of the application or library followed by the version number. | | getWritingApp() | Gets the full name of the application followed by the version number. | | getScaledDuration() | Gets the scaled duration of the SEGMENT in milliseconds. | ##### getSegmentUid() ``` public final byte[] getSegmentUid() ``` Gets the unique 128 bit number identifying a SEGMENT. Obviously, a file can only be referred to by another file if a SEGMENTUID is present, however, playback is possible without that UID. **Returns:** byte[] - The unique 128 bit number identifying a SEGMENT. ##### getSegmentFilename() ``` public final String getSegmentFilename() ``` Gets the filename corresponding to this Segment. **Returns:** java.lang.String - The filename corresponding to this Segment. ##### getTimecodeScale() ``` public final long getTimecodeScale() ``` Gets the timecode scale value. Each scaled timecode in a MATROSKA file is multiplied by TIMECODESCALE to obtain the timecode in nanoseconds. Note that not all timecodes are scaled! **Returns:** long - The timecode scale value. ##### getDuration() ``` public final Double getDuration() ``` Gets the duration of the SEGMENT. Please see TimecodeScale for more information. **Returns:** java.lang.Double - The duration of the SEGMENT. ##### getDateUtc() ``` public final Date getDateUtc() ``` Gets the date and time that the Segment was created by the muxing application or library. **Returns:** java.util.Date - The date and time that the Segment was created by the muxing application or library. ##### getTitle() ``` public final String getTitle() ``` Gets the general name of the Segment. **Returns:** java.lang.String - The general name of the Segment. ##### getMuxingApp() ``` public final String getMuxingApp() ``` Gets the full name of the application or library followed by the version number. **Returns:** java.lang.String - The full name of the application or library followed by the version number. ##### getWritingApp() ``` public final String getWritingApp() ``` Gets the full name of the application followed by the version number. **Returns:** java.lang.String - The full name of the application followed by the version number. ##### getScaledDuration() ``` public final Double getScaledDuration() ``` Gets the scaled duration of the SEGMENT in milliseconds. **Returns:** java.lang.Double - The scaled duration of the SEGMENT in milliseconds. ### MatroskaSimpleTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskasimpletag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaSimpleTag extends MatroskaBasePackage ``` Represents general information about the target in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files ### MatroskaSubtitle Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskasubtitle.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaSubtitle extends MatroskaBasePackage ``` Represents subtitle metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getTimecode() | Gets the time code. | | getDuration() | Gets the duration. | | getText() | Gets the subtitle text. | ##### getTimecode() ``` public final double getTimecode() ``` Gets the time code. **Returns:** double - The time code. ##### getDuration() ``` public final double getDuration() ``` Gets the duration. **Returns:** double - The duration. ##### getText() ``` public final String getText() ``` Gets the subtitle text. **Returns:** java.lang.String - The subtitle text. ### MatroskaSubtitleTrack Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskasubtitletrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage, com.groupdocs.metadata.core.MatroskaTrack ``` public class MatroskaSubtitleTrack extends MatroskaTrack ``` Represents subtitle metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getSubtitles() | Gets the subtitles. | ##### getSubtitles() ``` public final MatroskaSubtitle[] getSubtitles() ``` Gets the subtitles. **Returns:** com.groupdocs.metadata.core.MatroskaSubtitle[] - The subtitles. ### MatroskaTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskatag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaTag extends MatroskaBasePackage ``` Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getTargetTypeValue() | Gets the number to indicate the logical level of the target. | | getTargetType() | Gets an informational string that can be used to display the logical level of the target. | | getTagTrackUid() | Gets a unique ID to identify the Track(s) the tags belong to. | | getSimpleTags() | Gets the general information about the target. | ##### getTargetTypeValue() ``` public final MatroskaTargetTypeValue getTargetTypeValue() ``` Gets the number to indicate the logical level of the target. **Returns:** MatroskaTargetTypeValue - The number to indicate the logical level of the target. ##### getTargetType() ``` public final String getTargetType() ``` Gets an informational string that can be used to display the logical level of the target. Like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc. **Returns:** java.lang.String - An informational string that can be used to display the logical level of the target. ##### getTagTrackUid() ``` public final long getTagTrackUid() ``` Gets a unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment. **Returns:** long - A unique ID to identify the Track(s) the tags belong to. ##### getSimpleTags() ``` public final MatroskaSimpleTag getSimpleTags() ``` Gets the general information about the target. **Returns:** MatroskaSimpleTag - The general information about the target. ### MatroskaTargetTypeValue Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskatargettypevalue.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaTargetTypeValue extends Enum implements IEnumValue ``` Represents a number to indicate the logical level of the Matroska tag target. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined level. | | Collection | COLLECTION level. | | Edition | EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL level. | | Album | ALBUM / OPERA / CONCERT / MOVIE / EPISODE / CONCERT level. | | Part | PART / SESSION level. | | Track | TRACK / SONG / CHAPTER level. | | Subtrack | SUBTRACK / PART / MOVEMENT / SCENE level. | | Shot | SHOT level. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MatroskaTargetTypeValue Undefined ``` Undefined level. ##### Collection ``` public static final MatroskaTargetTypeValue Collection ``` COLLECTION level. ##### Edition ``` public static final MatroskaTargetTypeValue Edition ``` EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL level. ##### Album ``` public static final MatroskaTargetTypeValue Album ``` ALBUM / OPERA / CONCERT / MOVIE / EPISODE / CONCERT level. ##### Part ``` public static final MatroskaTargetTypeValue Part ``` PART / SESSION level. ##### Track ``` public static final MatroskaTargetTypeValue Track ``` TRACK / SONG / CHAPTER level. ##### Subtrack ``` public static final MatroskaTargetTypeValue Subtrack ``` SUBTRACK / PART / MOVEMENT / SCENE level. ##### Shot ``` public static final MatroskaTargetTypeValue Shot ``` SHOT level. ##### values() ``` public static MatroskaTargetTypeValue[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaTargetTypeValue[] ##### valueOf(String name) ``` public static MatroskaTargetTypeValue valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaTargetTypeValue ##### getByRawValue(int rawValue) ``` public static MatroskaTargetTypeValue getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaTargetTypeValue ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaTrack Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskatrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaTrack extends MatroskaBasePackage ``` Represents track metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getTrackNumber() | Gets the track number as used in the Block Header. | | getTrackUid() | Gets the unique ID to identify the Track. | | getTrackType() | Gets the type of the track. | | getFlagEnabled() | Gets the enabled flag, true if the track is usable. | | getDefaultDuration() | Gets the number of nanoseconds (not scaled via MatroskaSegment.TimecodeScale ) per frame. | | getName() | Gets the human-readable track name. | | getLanguage() | Gets the language of the track in the Matroska languages form. | | getLanguageIetf() | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. | | getCodecID() | Gets an ID corresponding to the codec. | | getCodecName() | Gets a human-readable string specifying the codec. | ##### getTrackNumber() ``` public final long getTrackNumber() ``` Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. **Returns:** long - The track number as used in the Block Header. ##### getTrackUid() ``` public final long getTrackUid() ``` Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. **Returns:** long - The unique ID to identify the Track. ##### getTrackType() ``` public final MatroskaTrackType getTrackType() ``` Gets the type of the track. **Returns:** MatroskaTrackType - The type of the track. ##### getFlagEnabled() ``` public final boolean getFlagEnabled() ``` Gets the enabled flag, true if the track is usable. **Returns:** boolean - The enabled flag. ##### getDefaultDuration() ``` public final Long getDefaultDuration() ``` Gets the number of nanoseconds (not scaled via MatroskaSegment.TimecodeScale ) per frame. **Returns:** java.lang.Long - The number of nanoseconds (not scaled via MatroskaSegment.TimecodeScale ) per frame. Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block. ##### getName() ``` public final String getName() ``` Gets the human-readable track name. **Returns:** java.lang.String - The human-readable track name. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the LanguageIetf Element is used in the same TrackEntry. **Returns:** java.lang.String - The language of the track in the Matroska languages form. Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains. ##### getLanguageIetf() ``` public final String getLanguageIetf() ``` Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any Language Elements used in the same TrackEntry MUST be ignored. **Returns:** java.lang.String - The language of the track according to BCP 47 and using the IANA Language Subtag Registry. ##### getCodecID() ``` public final String getCodecID() ``` Gets an ID corresponding to the codec. **Returns:** java.lang.String - An ID corresponding to the codec. See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info. ##### getCodecName() ``` public final String getCodecName() ``` Gets a human-readable string specifying the codec. **Returns:** java.lang.String - A human-readable string specifying the codec. ### MatroskaTrackType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskatracktype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaTrackType extends Enum implements IEnumValue ``` Represents Matroska track types coded in 8 bits. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined track type. | | Video | Track is a video track. | | Audio | Track is an audio track. | | Complex | Track is a complex track, i.e. | | Logo | Track is a logo track. | | Subtitle | Track is a subtitle track. | | Button | Track is a button track. | | Control | Track is a control track. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MatroskaTrackType Undefined ``` The undefined track type. ##### Video ``` public static final MatroskaTrackType Video ``` Track is a video track. ##### Audio ``` public static final MatroskaTrackType Audio ``` Track is an audio track. ##### Complex ``` public static final MatroskaTrackType Complex ``` Track is a complex track, i.e. a combined video and audio track. ##### Logo ``` public static final MatroskaTrackType Logo ``` Track is a logo track. ##### Subtitle ``` public static final MatroskaTrackType Subtitle ``` Track is a subtitle track. ##### Button ``` public static final MatroskaTrackType Button ``` Track is a button track. ##### Control ``` public static final MatroskaTrackType Control ``` Track is a control track. ##### values() ``` public static MatroskaTrackType[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaTrackType[] ##### valueOf(String name) ``` public static MatroskaTrackType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaTrackType ##### getByRawValue(int rawValue) ``` public static MatroskaTrackType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaTrackType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoDisplayUnit Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskavideodisplayunit.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoDisplayUnit extends Enum implements IEnumValue ``` Defines how Matroska DisplayWidth and DisplayHeight are interpreted. #### Fields | Field | Description | | --- | --- | | Pixels | Pixels unit. | | Centimeters | Centimeters unit. | | Inches | Inches unit. | | AspectRatio | Display aspect ratio unit. | | Unknown | Unknown unit. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Pixels ``` public static final MatroskaVideoDisplayUnit Pixels ``` Pixels unit. ##### Centimeters ``` public static final MatroskaVideoDisplayUnit Centimeters ``` Centimeters unit. ##### Inches ``` public static final MatroskaVideoDisplayUnit Inches ``` Inches unit. ##### AspectRatio ``` public static final MatroskaVideoDisplayUnit AspectRatio ``` Display aspect ratio unit. ##### Unknown ``` public static final MatroskaVideoDisplayUnit Unknown ``` Unknown unit. ##### values() ``` public static MatroskaVideoDisplayUnit[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoDisplayUnit[] ##### valueOf(String name) ``` public static MatroskaVideoDisplayUnit valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoDisplayUnit ##### getByRawValue(int rawValue) ``` public static MatroskaVideoDisplayUnit getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoDisplayUnit ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoFieldOrder Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskavideofieldorder.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoFieldOrder extends Enum implements IEnumValue ``` Represents the field ordering of the Matroska video. If FlagInterlaced is not set to 1, this Element MUST be ignored. #### Fields | Field | Description | | --- | --- | | Progressive | Progressive ordering. | | Tff | Tiff ordering. | | Undetermined | Undetermined ordering. | | Bff | Biff ordering. | | BffSwapped | Bff (swapped) ordering. | | TffSwapped | Tff (swapped) ordering. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Progressive ``` public static final MatroskaVideoFieldOrder Progressive ``` Progressive ordering. ##### Tff ``` public static final MatroskaVideoFieldOrder Tff ``` Tiff ordering. ##### Undetermined ``` public static final MatroskaVideoFieldOrder Undetermined ``` Undetermined ordering. ##### Bff ``` public static final MatroskaVideoFieldOrder Bff ``` Biff ordering. ##### BffSwapped ``` public static final MatroskaVideoFieldOrder BffSwapped ``` Bff (swapped) ordering. ##### TffSwapped ``` public static final MatroskaVideoFieldOrder TffSwapped ``` Tff (swapped) ordering. ##### values() ``` public static MatroskaVideoFieldOrder[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoFieldOrder[] ##### valueOf(String name) ``` public static MatroskaVideoFieldOrder valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoFieldOrder ##### getByRawValue(int rawValue) ``` public static MatroskaVideoFieldOrder getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoFieldOrder ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoFlagInterlaced Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskavideoflaginterlaced.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoFlagInterlaced extends Enum implements IEnumValue ``` Represents a flag to declare if the Matroska video is known to be progressive or interlaced and if applicable to declare details about the interlacement. #### Fields | Field | Description | | --- | --- | | Undetermined | Undetermined flag. | | Interlaced | Interlaced flag. | | Progressive | Progressive flag. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undetermined ``` public static final MatroskaVideoFlagInterlaced Undetermined ``` Undetermined flag. ##### Interlaced ``` public static final MatroskaVideoFlagInterlaced Interlaced ``` Interlaced flag. ##### Progressive ``` public static final MatroskaVideoFlagInterlaced Progressive ``` Progressive flag. ##### values() ``` public static MatroskaVideoFlagInterlaced[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoFlagInterlaced[] ##### valueOf(String name) ``` public static MatroskaVideoFlagInterlaced valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoFlagInterlaced ##### getByRawValue(int rawValue) ``` public static MatroskaVideoFlagInterlaced getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoFlagInterlaced ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoStereoMode Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskavideostereomode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoStereoMode extends Enum implements IEnumValue ``` Represents Matroska Stereo-3D video modes. #### Fields | Field | Description | | --- | --- | | Mono | Mono mode. | | SideBySideLeft | Side by side (left eye first) video mode. | | TopBottomRight | Top - bottom (right eye is first) video mode. | | TopBottomLeft | Top - bottom (left eye is first) video mode. | | CheckboardRight | Checkboard (right eye is first) video mode. | | CheckboardLleft | Checkboard (left eye is first) video mode. | | RowInterleavedRight | Row interleaved (right eye is first) video mode. | | RowInterleavedLeft | Row interleaved (left eye is first) video mode. | | ColumnInterleavedRight | Column interleaved (right eye is first) video mode. | | ColumnInterleavedLeft | Column interleaved (left eye is first) video mode. | | AnaglyphCyanRed | Anaglyph (cyan/red) video mode. | | SideBySideRight | Side by side (right eye first) video mode. | | AnaglyphGreenMagenta | Anaglyph (green/magenta) video mode. | | BothEyesLacedLeft | Both eyes laced in one Block (left eye is first) video mode. | | BothEyesLacedRight | Both eyes laced in one Block (right eye is first) video mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Mono ``` public static final MatroskaVideoStereoMode Mono ``` Mono mode. ##### SideBySideLeft ``` public static final MatroskaVideoStereoMode SideBySideLeft ``` Side by side (left eye first) video mode. ##### TopBottomRight ``` public static final MatroskaVideoStereoMode TopBottomRight ``` Top - bottom (right eye is first) video mode. ##### TopBottomLeft ``` public static final MatroskaVideoStereoMode TopBottomLeft ``` Top - bottom (left eye is first) video mode. ##### CheckboardRight ``` public static final MatroskaVideoStereoMode CheckboardRight ``` Checkboard (right eye is first) video mode. ##### CheckboardLleft ``` public static final MatroskaVideoStereoMode CheckboardLleft ``` Checkboard (left eye is first) video mode. ##### RowInterleavedRight ``` public static final MatroskaVideoStereoMode RowInterleavedRight ``` Row interleaved (right eye is first) video mode. ##### RowInterleavedLeft ``` public static final MatroskaVideoStereoMode RowInterleavedLeft ``` Row interleaved (left eye is first) video mode. ##### ColumnInterleavedRight ``` public static final MatroskaVideoStereoMode ColumnInterleavedRight ``` Column interleaved (right eye is first) video mode. ##### ColumnInterleavedLeft ``` public static final MatroskaVideoStereoMode ColumnInterleavedLeft ``` Column interleaved (left eye is first) video mode. ##### AnaglyphCyanRed ``` public static final MatroskaVideoStereoMode AnaglyphCyanRed ``` Anaglyph (cyan/red) video mode. ##### SideBySideRight ``` public static final MatroskaVideoStereoMode SideBySideRight ``` Side by side (right eye first) video mode. ##### AnaglyphGreenMagenta ``` public static final MatroskaVideoStereoMode AnaglyphGreenMagenta ``` Anaglyph (green/magenta) video mode. ##### BothEyesLacedLeft ``` public static final MatroskaVideoStereoMode BothEyesLacedLeft ``` Both eyes laced in one Block (left eye is first) video mode. ##### BothEyesLacedRight ``` public static final MatroskaVideoStereoMode BothEyesLacedRight ``` Both eyes laced in one Block (right eye is first) video mode. ##### values() ``` public static MatroskaVideoStereoMode[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoStereoMode[] ##### valueOf(String name) ``` public static MatroskaVideoStereoMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoStereoMode ##### getByRawValue(int rawValue) ``` public static MatroskaVideoStereoMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoStereoMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoTrack Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/matroskavideotrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage, com.groupdocs.metadata.core.MatroskaTrack ``` public class MatroskaVideoTrack extends MatroskaTrack ``` Represents video metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getFlagInterlaced() | Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. | | getFieldOrder() | Gets declare the field ordering of the video. | | getStereoMode() | Gets the stereo-3D video mode. | | getAlphaMode() | Gets the alpha Video Mode. | | getPixelWidth() | Gets the width of the encoded video frames in pixels. | | getPixelHeight() | Gets the height of the encoded video frames in pixels. | | getPixelCropBottom() | Gets the number of video pixels to remove at the bottom of the image. | | getPixelCropTop() | Gets the number of video pixels to remove at the top of the image. | | getPixelCropLeft() | Gets the number of video pixels to remove on the left of the image. | | getPixelCropRight() | Gets the number of video pixels to remove on the right of the image. | | getDisplayWidth() | Gets the width of the video frames to display. | | getDisplayHeight() | Gets the height of the video frames to display. | | getDisplayUnit() | Gets the how DisplayWidth and DisplayHeight are interpreted. | ##### getFlagInterlaced() ``` public final MatroskaVideoFlagInterlaced getFlagInterlaced() ``` Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. **Returns:** MatroskaVideoFlagInterlaced - A flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. ##### getFieldOrder() ``` public final MatroskaVideoFieldOrder getFieldOrder() ``` Gets declare the field ordering of the video. If FlagInterlaced is not set to 1, this Element MUST be ignored. **Returns:** MatroskaVideoFieldOrder - Declare the field ordering of the video. ##### getStereoMode() ``` public final MatroskaVideoStereoMode getStereoMode() ``` Gets the stereo-3D video mode. **Returns:** MatroskaVideoStereoMode - The stereo-3D video mode. ##### getAlphaMode() ``` public final Long getAlphaMode() ``` Gets the alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data. Value: The alpha Video Mode. **Returns:** java.lang.Long ##### getPixelWidth() ``` public final long getPixelWidth() ``` Gets the width of the encoded video frames in pixels. **Returns:** long - The width of the encoded video frames in pixels. ##### getPixelHeight() ``` public final long getPixelHeight() ``` Gets the height of the encoded video frames in pixels. **Returns:** long - The height of the encoded video frames in pixels. ##### getPixelCropBottom() ``` public final long getPixelCropBottom() ``` Gets the number of video pixels to remove at the bottom of the image. **Returns:** long - The number of video pixels to remove at the bottom of the image. ##### getPixelCropTop() ``` public final long getPixelCropTop() ``` Gets the number of video pixels to remove at the top of the image. **Returns:** long - The number of video pixels to remove at the top of the image. ##### getPixelCropLeft() ``` public final long getPixelCropLeft() ``` Gets the number of video pixels to remove on the left of the image. **Returns:** long - The number of video pixels to remove on the left of the image. ##### getPixelCropRight() ``` public final long getPixelCropRight() ``` Gets the number of video pixels to remove on the right of the image. **Returns:** long - The number of video pixels to remove on the right of the image. ##### getDisplayWidth() ``` public final Long getDisplayWidth() ``` Gets the width of the video frames to display. Applies to the video frame after cropping (PixelCrop\* Elements). **Returns:** java.lang.Long - The width of the video frames to display. ##### getDisplayHeight() ``` public final Long getDisplayHeight() ``` Gets the height of the video frames to display. Applies to the video frame after cropping (PixelCrop\* Elements). **Returns:** java.lang.Long - The height of the video frames to display. ##### getDisplayUnit() ``` public final MatroskaVideoDisplayUnit getDisplayUnit() ``` Gets the how DisplayWidth and DisplayHeight are interpreted. **Returns:** MatroskaVideoDisplayUnit - The how DisplayWidth and DisplayHeight are interpreted. ### MetadataPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/metadatapackage.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public abstract class MetadataPackage implements Iterable ``` Represents base abstraction for a metadata package. #### Methods | Method | Description | | --- | --- | | getMetadataType() | Gets the metadata type. | | getKeys() | Gets a collection of the metadata property names. | | get_Item(String propertyName) | Gets the MetadataProperty with the specified name. | | getPropertyDescriptors() | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | iterator() | Returns an enumerator that iterates through the collection. | | contains(String propertyName) | Determines whether the package contains a metadata property with the specified name. | | getCount() | Gets the number of metadata properties. | | findProperties(Specification specification) | Finds the metadata properties satisfying a specification. | | updateProperties(Specification specification, PropertyValue value) | Updates known metadata properties satisfying a specification. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | addProperties(Specification specification, PropertyValue value) | Adds known metadata properties satisfying the specification. | | setProperties(Specification specification, PropertyValue value) | Sets known metadata properties satisfying the specification. | | sanitize() | Removes writable metadata properties from the package. | ##### getMetadataType() ``` public final MetadataType getMetadataType() ``` Gets the metadata type. **Returns:** MetadataType - The type of the metadata package. ##### getKeys() ``` public final IReadOnlyList getKeys() ``` Gets a collection of the metadata property names. **Returns:** IReadOnlyList - A collection of the metadata property names. ##### get_Item(String propertyName) ``` public final MetadataProperty get_Item(String propertyName) ``` Gets the MetadataProperty with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The name of the metadata property to be found. Value: The appropriate MetadataProperty . | **Returns:** MetadataProperty - The MetadataProperty if found; otherwise, null. ##### getPropertyDescriptors() ``` public final IReadOnlyList getPropertyDescriptors() ``` Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. **Returns:** IReadOnlyList - A collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### iterator() ``` public final Iterator iterator() ``` Returns an enumerator that iterates through the collection. **Returns:** java.util.Iterator - An enumerator that can be used to iterate through the collection. ##### contains(String propertyName) ``` public final boolean contains(String propertyName) ``` Determines whether the package contains a metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The name of the property to locate in the package. | **Returns:** boolean - True if the package contains a property with the specified name; otherwise, false. ##### getCount() ``` public final int getCount() ``` Gets the number of metadata properties. **Returns:** int - The number or metadata properties. ##### findProperties(Specification specification) ``` public IReadOnlyList findProperties(Specification specification) ``` Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A function to test each metadata property for a condition. This example demonstrates how to search for specific metadata properties using tags. > ``` > ``` > > // Constants.InputPptx is an absolute or relative path to your document. Ex: @"C:\Docs\source.pptx" > try (Metadata metadata = new Metadata(Constants.InputPptx)) { > // Fetch all the properties satisfying the predicate: > // property contains the name of the last document editor OR the date/time the document was last modified > IReadOnlyList properties = metadata.findProperties( > new ContainsTagSpecification(Tags.getPerson().getEditor()).or(new ContainsTagSpecification(Tags.getTime().getModified()))); > for (MetadataProperty property : properties) { > System.out.println(String.format("Property name: %s, Property value: %s", property.getName(), property.getValue())); > } > } > > ``` > ``` [Extracting metadata]: https://docs.groupdocs.com/display/metadatajava/Extracting+metadata | **Returns:** IReadOnlyList - A collection that contains properties from the package that satisfy the condition. ##### updateProperties(Specification specification, PropertyValue value) ``` public int updateProperties(Specification specification, PropertyValue value) ``` Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. This example demonstrates how to update existing metadata properties by various criteria regardless of the file format. > ``` > ``` > > public class UpdatingMetadata { > public static void run() { > Date threeDaysAgo = new Date(System.currentTimeMillis() - TimeUnit.DAYS.toMillis(3)); > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Update the file creation date/time if the existing value is older than 3 days > int affected = metadata.updateProperties(new ContainsTagSpecification(Tags.getTime().getCreated()).and( > new OfTypeSpecification(MetadataPropertyType.DateTime)).and( > new UpdatingMetadata().new DateBeforeSpecification(threeDaysAgo)), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > } > // Define your own specifications to filter metadata properties > public class DateBeforeSpecification extends Specification { > public DateBeforeSpecification(Date date) { > setValue(date); > } > > public final Date getValue() { > return auto_Value; > } > > private void setValue(Date value) { > auto_Value = value; > } > > private Date auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > Date date = candidate.getValue().toClass(Date.class); > if (date != null) { > return date.before(getValue()); > } > return false; > } > } > } > > ``` > ``` [Updating metadata]: https://docs.groupdocs.com/display/metadatajava/Updating+metadata | **Returns:** int - The number of affected properties. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. This example demonstrates how to remove specific metadata properties using various criteria. > ``` > ``` > > public class RemoveMetadataProperties { > public static void run() { > // Constants.InputDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" > try (Metadata metadata = new Metadata(Constants.InputDocx)) { > > // Remove all the properties satisfying the predicate: > // property contains the name of the document author OR > // it refers to the last editor OR > // the property value is a string that is equal to the given string "John" (to remove any mentions of John from the detected metadata) > int affected = metadata.removeProperties( > new ContainsTagSpecification(Tags.getPerson().getCreator()).or( > new ContainsTagSpecification(Tags.getPerson().getEditor())).or( > new OfTypeSpecification(MetadataPropertyType.String).and(new RemoveMetadataProperties().new WithValueSpecification("John")))); > > System.out.println(String.format("Properties removed: %s", affected)); > > metadata.save(Constants.OutputDocx); > } > } > > // Define your own specifications to filter metadata properties > public class WithValueSpecification extends Specification { > public WithValueSpecification(Object value) { > setValue(value); > } > > public final Object getValue() { > return auto_Value; > } > > private void setValue(Object value) { > auto_Value = value; > } > > private Object auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > return candidate.getValue().getRawValue().equals(getValue()); > } > } > } > > ``` > ``` [Removing metadata]: https://docs.groupdocs.com/display/metadatajava/Removing+metadata | **Returns:** int - The number of affected properties. ##### addProperties(Specification specification, PropertyValue value) ``` public int addProperties(Specification specification, PropertyValue value) ``` Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A value for the picked properties. This example demonstrates how to add some missing metadata properties to a file regardless of its format. > ``` > ``` > > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Add a property containing the file last printing date if it's missing > // Note that the property will be added to metadata packages that satisfy the following criteria: > // 1) Only existing metadata packages will be affected. No new packages are added during this operation > // 2) There should be a known metadata property in the package structure that fits the search condition but is actually missing in the package. > // All properties supported by a certain package are usually defined in the specification of a particular metadata standard > int affected = metadata.addProperties(new ContainsTagSpecification(Tags.getTime().getPrinted()), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > > ``` > ``` [Adding metadata]: https://docs.groupdocs.com/display/metadatajava/Adding+metadata | **Returns:** int - The number of affected properties. ##### setProperties(Specification specification, PropertyValue value) ``` public int setProperties(Specification specification, PropertyValue value) ``` Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties . If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. This example demonstrates how to set specific metadata properties using different criteria. > ``` > ``` > > // Constants.InputVsdx is an absolute or relative path to your document. Ex: @"C:\Docs\source.vsdx" > try (Metadata metadata = new Metadata(Constants.InputVsdx)) { > // Set the value of each property that satisfies the predicate: > // property contains the date/time the document was created OR modified > int affected = metadata.setProperties( > new ContainsTagSpecification(Tags.getTime().getCreated()).or(new ContainsTagSpecification(Tags.getTime().getModified())), > new PropertyValue(new Date())); > System.out.println(String.format("Properties set: %s", affected)); > metadata.save(Constants.OutputVsdx); > } > > ``` > ``` [Set metadata properties]: https://docs.groupdocs.com/display/metadatajava/Set+metadata+properties | **Returns:** int - The number of affected properties. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. This example demonstrates how to remove all detected metadata packages/properties from a file. > ``` > ``` > > // Constants.InputPdf is an absolute or relative path to your document. Ex: @"C:\Docs\source.pdf" > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > // Remove detected metadata packages > int affected = metadata.sanitize(); > System.out.println(String.format("Properties removed: %s", affected)); > metadata.save(Constants.OutputPdf); > } > > ``` > ``` [Clean metadata]: https://docs.groupdocs.com/display/metadatajava/Clean+metadata ### MetadataProperty Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/metadataproperty.md **Inheritance:** java.lang.Object ``` public class MetadataProperty ``` Represents a metadata property. #### Constructors | Constructor | Description | | --- | --- | | MetadataProperty(String name, PropertyValue value) | Initializes a new instance of the MetadataProperty class. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the property name. | | getValue() | Gets the property value. | | getInterpretedValue() | Gets the interpreted property value, if available. | | getDescriptor() | Gets the descriptor associated with the metadata property. | | getTags() | Gets a collection of tags associated with the property. | ##### MetadataProperty(String name, PropertyValue value) ``` public MetadataProperty(String name, PropertyValue value) ``` Initializes a new instance of the MetadataProperty class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the metadata property. | | value | PropertyValue | The value of the metadata property. | ##### getName() ``` public final String getName() ``` Gets the property name. **Returns:** java.lang.String - The property name. ##### getValue() ``` public final PropertyValue getValue() ``` Gets the property value. **Returns:** PropertyValue - The property value. ##### getInterpretedValue() ``` public final PropertyValue getInterpretedValue() ``` Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. **Returns:** PropertyValue - The interpreted property value, if available. ##### getDescriptor() ``` public final PropertyDescriptor getDescriptor() ``` Gets the descriptor associated with the metadata property. **Returns:** PropertyDescriptor - The descriptor associated with the metadata property. ##### getTags() ``` public final IReadOnlyList getTags() ``` Gets a collection of tags associated with the property. **Returns:** IReadOnlyList - A collection of tags associated with the property. ### MetadataPropertyType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/metadatapropertytype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MetadataPropertyType extends Enum implements IEnumValue ``` Defines metadata property types. #### Fields | Field | Description | | --- | --- | | Empty | Represents an empty (null) property. | | String | Represents a string property. | | Boolean | Represents a boolean property. | | DateTime | Represents a date property. | | TimeSpan | Represents a time property. | | Integer | Represents an integer property. | | Long | Represents a long integer property. | | Double | Represents a property with a double or float value. | | StringArray | Represents a string array property. | | ByteArray | Represents a byte array property. | | DoubleArray | Represents an array of double values. | | IntegerArray | Represents an array of integer values. | | LongArray | Represents an array of long values. | | Metadata | Represents a nested metadata block. | | MetadataArray | Represents an array of nested metadata blocks. | | Guid | Represents a global unique identifier value. | | PropertyValueArray | Represents a metadata property value array. | | Object | Represents a generic object property. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Empty ``` public static final MetadataPropertyType Empty ``` Represents an empty (null) property. ##### String ``` public static final MetadataPropertyType String ``` Represents a string property. ##### Boolean ``` public static final MetadataPropertyType Boolean ``` Represents a boolean property. ##### DateTime ``` public static final MetadataPropertyType DateTime ``` Represents a date property. ##### TimeSpan ``` public static final MetadataPropertyType TimeSpan ``` Represents a time property. ##### Integer ``` public static final MetadataPropertyType Integer ``` Represents an integer property. ##### Long ``` public static final MetadataPropertyType Long ``` Represents a long integer property. ##### Double ``` public static final MetadataPropertyType Double ``` Represents a property with a double or float value. ##### StringArray ``` public static final MetadataPropertyType StringArray ``` Represents a string array property. ##### ByteArray ``` public static final MetadataPropertyType ByteArray ``` Represents a byte array property. ##### DoubleArray ``` public static final MetadataPropertyType DoubleArray ``` Represents an array of double values. ##### IntegerArray ``` public static final MetadataPropertyType IntegerArray ``` Represents an array of integer values. ##### LongArray ``` public static final MetadataPropertyType LongArray ``` Represents an array of long values. ##### Metadata ``` public static final MetadataPropertyType Metadata ``` Represents a nested metadata block. ##### MetadataArray ``` public static final MetadataPropertyType MetadataArray ``` Represents an array of nested metadata blocks. ##### Guid ``` public static final MetadataPropertyType Guid ``` Represents a global unique identifier value. ##### PropertyValueArray ``` public static final MetadataPropertyType PropertyValueArray ``` Represents a metadata property value array. ##### Object ``` public static final MetadataPropertyType Object ``` Represents a generic object property. ##### values() ``` public static MetadataPropertyType[] values() ``` **Returns:** com.groupdocs.metadata.core.MetadataPropertyType[] ##### valueOf(String name) ``` public static MetadataPropertyType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MetadataPropertyType ##### getByRawValue(int rawValue) ``` public static MetadataPropertyType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MetadataPropertyType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MetadataType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/metadatatype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MetadataType extends Enum implements IEnumValue ``` Specifies the type of a metadata package. #### Fields | Field | Description | | --- | --- | | Undefined | The type of a metadata package is undefined. | | Root | A root metadata package containing other format-specific packages. | | Xmp | An XMP metadata package. | | Exif | An EXIF metadata package, | | Iptc | An IPTC metadata package, | | DublinCore | A Dublin Core metadata package. | | ImageResourceBlock | A Photoshop's native metadata package. | | FileFormat | A package containing information about the format of a loaded file. | | DigitalSignature | A package containing digital signature metadata. | | Presentation | A presentation metadata package. | | Spreadsheet | A spreadsheet metadata package. | | WordProcessing | A word processing metadata package. | | Diagram | A diagram metadata package. | | Note | A metadata package containing information about an electronic note file. | | ProjectManagement | A metadata package containing information about a project management file. | | Pdf | A PDF metadata package. | | DocumentStatistics | A package containing document statistics. | | Psd | A metadata package containing information about a Photoshop document. | | Jpeg2000 | A JPEG2000 native metadata package. | | Dicom | A DICOM native metadata package. | | Bmp | A BMP native metadata package. | | Wav | A WAV native metadata package. | | ID3V1 | An ID3V1 tag. | | ID3V2 | An ID3V2 tag. | | MpegAudio | An MPEG audio native metadata package. | | Lyrics3 | A Lyrics3 metadata package. | | ApeV2 | An APEv2 metadata package. | | Avi | An AVI video native metadata package. | | Flv | An FLV video native metadata package. | | Asf | An ASF video native metadata package. | | Mov | A QuickTime video. | | Matroska | A native metadata package extracted from a video encoded with the Matroska multimedia container. | | Zip | A native metadata package of a ZIP archive. | | SevenZip | A native metadata package of a SevenZip archive. | | VCard | A native metadata package of a VCard. | | Epub | A native metadata package of a EPUB e-book. | | OpenType | An OpenType font metadata package. | | Cad | A metadata package extracted from a CAD drawing. | | Eml | An EML message metadata package. | | Msg | An MSG message metadata package. | | Torrent | A torrent file metadata package. | | Png | A PNG image metadata package. | | Dng | A DNG image metadata package. | | Cr2 | A CR2 image metadata package. | | Rar | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | Tar | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | | ThreeDS | 3DS is one of the file formats used by the Autodesk 3ds Max 3D modeling, animation and rendering software. | | Dae | A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. | | Fbx | FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. | | Stl | STL is a file format native to the stereolithography CAD software created by 3D Systems.[3][4][5] Chuck Hull, the inventor of stereolithography and 3D Systems\\u2019 founder, reports that the file extension is an abbreviation for stereolithography. | | Gltf | A glTF (GL Transmission Format) metadata package. | | Svg | An SVG image metadata package. | | Gis | Gis format | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MetadataType Undefined ``` The type of a metadata package is undefined. ##### Root ``` public static final MetadataType Root ``` A root metadata package containing other format-specific packages. ##### Xmp ``` public static final MetadataType Xmp ``` An XMP metadata package. ##### Exif ``` public static final MetadataType Exif ``` An EXIF metadata package, ##### Iptc ``` public static final MetadataType Iptc ``` An IPTC metadata package, ##### DublinCore ``` public static final MetadataType DublinCore ``` A Dublin Core metadata package. ##### ImageResourceBlock ``` public static final MetadataType ImageResourceBlock ``` A Photoshop's native metadata package. ##### FileFormat ``` public static final MetadataType FileFormat ``` A package containing information about the format of a loaded file. ##### DigitalSignature ``` public static final MetadataType DigitalSignature ``` A package containing digital signature metadata. ##### Presentation ``` public static final MetadataType Presentation ``` A presentation metadata package. ##### Spreadsheet ``` public static final MetadataType Spreadsheet ``` A spreadsheet metadata package. ##### WordProcessing ``` public static final MetadataType WordProcessing ``` A word processing metadata package. ##### Diagram ``` public static final MetadataType Diagram ``` A diagram metadata package. ##### Note ``` public static final MetadataType Note ``` A metadata package containing information about an electronic note file. ##### ProjectManagement ``` public static final MetadataType ProjectManagement ``` A metadata package containing information about a project management file. ##### Pdf ``` public static final MetadataType Pdf ``` A PDF metadata package. ##### DocumentStatistics ``` public static final MetadataType DocumentStatistics ``` A package containing document statistics. ##### Psd ``` public static final MetadataType Psd ``` A metadata package containing information about a Photoshop document. ##### Jpeg2000 ``` public static final MetadataType Jpeg2000 ``` A JPEG2000 native metadata package. ##### Dicom ``` public static final MetadataType Dicom ``` A DICOM native metadata package. ##### Bmp ``` public static final MetadataType Bmp ``` A BMP native metadata package. ##### Wav ``` public static final MetadataType Wav ``` A WAV native metadata package. ##### ID3V1 ``` public static final MetadataType ID3V1 ``` An ID3V1 tag. ##### ID3V2 ``` public static final MetadataType ID3V2 ``` An ID3V2 tag. ##### MpegAudio ``` public static final MetadataType MpegAudio ``` An MPEG audio native metadata package. ##### Lyrics3 ``` public static final MetadataType Lyrics3 ``` A Lyrics3 metadata package. ##### ApeV2 ``` public static final MetadataType ApeV2 ``` An APEv2 metadata package. ##### Avi ``` public static final MetadataType Avi ``` An AVI video native metadata package. ##### Flv ``` public static final MetadataType Flv ``` An FLV video native metadata package. ##### Asf ``` public static final MetadataType Asf ``` An ASF video native metadata package. ##### Mov ``` public static final MetadataType Mov ``` A QuickTime video. ##### Matroska ``` public static final MetadataType Matroska ``` A native metadata package extracted from a video encoded with the Matroska multimedia container. ##### Zip ``` public static final MetadataType Zip ``` A native metadata package of a ZIP archive. ##### SevenZip ``` public static final MetadataType SevenZip ``` A native metadata package of a SevenZip archive. ##### VCard ``` public static final MetadataType VCard ``` A native metadata package of a VCard. ##### Epub ``` public static final MetadataType Epub ``` A native metadata package of a EPUB e-book. ##### OpenType ``` public static final MetadataType OpenType ``` An OpenType font metadata package. ##### Cad ``` public static final MetadataType Cad ``` A metadata package extracted from a CAD drawing. ##### Eml ``` public static final MetadataType Eml ``` An EML message metadata package. ##### Msg ``` public static final MetadataType Msg ``` An MSG message metadata package. ##### Torrent ``` public static final MetadataType Torrent ``` A torrent file metadata package. Please find more information at [https://en.wikipedia.org/wiki/Torrent\_file/][https_en.wikipedia.org_wiki_Torrent_file] . [https_en.wikipedia.org_wiki_Torrent_file]: https://en.wikipedia.org/wiki/Torrent_file/ ##### Png ``` public static final MetadataType Png ``` A PNG image metadata package. ##### Dng ``` public static final MetadataType Dng ``` A DNG image metadata package. ##### Cr2 ``` public static final MetadataType Cr2 ``` A CR2 image metadata package. ##### Rar ``` public static final MetadataType Rar ``` RAR is a proprietary archive file format that supports data compression, error correction and file spanning. ##### Tar ``` public static final MetadataType Tar ``` In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. ##### ThreeDS ``` public static final MetadataType ThreeDS ``` 3DS is one of the file formats used by the Autodesk 3ds Max 3D modeling, animation and rendering software. ##### Dae ``` public static final MetadataType Dae ``` A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. ##### Fbx ``` public static final MetadataType Fbx ``` FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware. ##### Stl ``` public static final MetadataType Stl ``` STL is a file format native to the stereolithography CAD software created by 3D Systems.[3][4][5] Chuck Hull, the inventor of stereolithography and 3D Systems\\u2019 founder, reports that the file extension is an abbreviation for stereolithography. ##### Gltf ``` public static final MetadataType Gltf ``` A glTF (GL Transmission Format) metadata package. ##### Svg ``` public static final MetadataType Svg ``` An SVG image metadata package. ##### Gis ``` public static final MetadataType Gis ``` Gis format ##### values() ``` public static MetadataType[] values() ``` **Returns:** com.groupdocs.metadata.core.MetadataType[] ##### valueOf(String name) ``` public static MetadataType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MetadataType ##### getByRawValue(int rawValue) ``` public static MetadataType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MetadataType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MetadataValidationException Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/metadatavalidationexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class MetadataValidationException extends GroupDocsMetadataException ``` The exception that is thrown when validation errors encountered during metadata saving. #### Methods | Method | Description | | --- | --- | | getErrors() | Gets an array of the validation errors that were encountered during the last metadata saving. | ##### getErrors() ``` public final String[] getErrors() ``` Gets an array of the validation errors that were encountered during the last metadata saving. **Returns:** java.lang.String[] - An array of the validation errors that were encountered during the last metadata saving. ### MovAtom Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/movatom.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IIsoMediaBox ``` public final class MovAtom extends CustomPackage implements IIsoMediaBox ``` Represents a QuickTime atom. [Working with metadata in MOV Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+MOV+Files #### Methods | Method | Description | | --- | --- | | getOffset() | Gets the atom offset. | | getSize() | Gets the atom size in bytes. | | getLongSize() | Gets the atom size in bytes. | | getType() | Gets the 4-characters type. | | getDataOffset() | Gets the data offset. | | getDataSize() | Gets the data size in bytes. | | hasExtendedSize() | Gets a value indicating whether the extended size field was used to store the atom data. | | getAtoms() | Gets an array of MovAtom atoms. | ##### getOffset() ``` public final long getOffset() ``` Gets the atom offset. **Returns:** long - The atom offset. ##### getSize() ``` public final int getSize() ``` Gets the atom size in bytes. **Returns:** int - The atom size. ##### getLongSize() ``` public final long getLongSize() ``` Gets the atom size in bytes. **Returns:** long - The atom size. ##### getType() ``` public final String getType() ``` Gets the 4-characters type. **Returns:** java.lang.String - The type. ##### getDataOffset() ``` public final long getDataOffset() ``` Gets the data offset. **Returns:** long - The data offset. ##### getDataSize() ``` public final int getDataSize() ``` Gets the data size in bytes. **Returns:** int - The data size. ##### hasExtendedSize() ``` public final boolean hasExtendedSize() ``` Gets a value indicating whether the extended size field was used to store the atom data. **Returns:** boolean - True, if the extended size field was used to store the atom data; otherwise, false. ##### getAtoms() ``` public final MovAtom[] getAtoms() ``` Gets an array of MovAtom atoms. Value: The QuickTime atoms. **Returns:** com.groupdocs.metadata.core.MovAtom[] ### MovPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/movpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class MovPackage extends CustomPackage ``` Represents QuickTime metadata. [Working with metadata in MOV Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+MOV+Files #### Methods | Method | Description | | --- | --- | | getDirector() | Name of the director of the movie content. | | getDescription() | Description of the movie file content. | | getLocationMotion() | An indication of the direction the camera is moving during the shot. | | getLocationFacing() | An indication of the direction the camera is facing during the shot. | | getLocationDate() | A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. | | getLocationRole() | A single byte, binary value containing a value from the set: 0 indicates \\u201cshooting location\\u201d, 1 indicates \\u201creal location\\u201d, 2 indicates \\u201cfictional location\\u201d. | | getLocationNote() | Descriptive comment. | | getLocationBody() | The astronomical body, for compatibility with the 3GPP format | | getLocationName() | Name of the location. | | getUserRatings() | A number, assigned by the user, that indicates the rating or relative value of the movie. | | getUsers() | A name indicating a user-defined collection that includes this movie. | | getYear() | Year when the movie file or the original content was created or recorded. | | getSoftware() | Name of software used to create the movie file content. | | getProducer() | Name of producer of movie file content. | | getAlbum() | Album or collection name of which the movie content forms a part | | getKeywords() | Keywords associated with the movie file content. | | getInformation() | Information about the movie file content. | | getGenre() | Text describing the genre or genres to which the movie content conforms. | | getTitle() | The title of the movie file content. | | getCreationDate() | The date the movie file content was created. | | getCopyright() | Copyright statement for the movie file content. | | getComment() | User entered comment regarding the movie file content. | | getAuthor() | Name of the author of the movie file content. | | getArtwork() | A single image that can represent the movie file content. | | getArtist() | Name of the artist who created the movie file content. | | getPublisher() | Name of publisher of movie file content. | | getMovieCreationTime() | A 32-bit integer that specifies the creation calendar date and time for the movie atom. | | setMovieCreationTime(System.DateTime value) | A 32-bit integer that specifies the creation calendar date and time for the movie atom. | | getMovieModificationTime() | A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. | | setMovieModificationTime(System.DateTime value) | A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. | | getMovieDuration() | A time value that indicates the duration of the movie in seconds. | | getAtoms() | Gets an array of MovAtom atoms. | ##### getDirector() ``` public final String getDirector() ``` Name of the director of the movie content. Value: The Director. **Returns:** java.lang.String ##### getDescription() ``` public final String getDescription() ``` Description of the movie file content. Value: The Description. **Returns:** java.lang.String ##### getLocationMotion() ``` public final String getLocationMotion() ``` An indication of the direction the camera is moving during the shot. Value: The LocationMotion. **Returns:** java.lang.String ##### getLocationFacing() ``` public final String getLocationFacing() ``` An indication of the direction the camera is facing during the shot. Value: The LocationFacing. **Returns:** java.lang.String ##### getLocationDate() ``` public final String getLocationDate() ``` A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. Value: The LocationDate. **Returns:** java.lang.String ##### getLocationRole() ``` public final String getLocationRole() ``` A single byte, binary value containing a value from the set: 0 indicates \\u201cshooting location\\u201d, 1 indicates \\u201creal location\\u201d, 2 indicates \\u201cfictional location\\u201d. Other values are reserved. Value: The LocationRole. **Returns:** java.lang.String ##### getLocationNote() ``` public final String getLocationNote() ``` Descriptive comment. Value: The LocationNote. **Returns:** java.lang.String ##### getLocationBody() ``` public final String getLocationBody() ``` The astronomical body, for compatibility with the 3GPP format Value: The LocationBody. **Returns:** java.lang.String ##### getLocationName() ``` public final String getLocationName() ``` Name of the location. Value: The LocationName. **Returns:** java.lang.String ##### getUserRatings() ``` public final String getUserRatings() ``` A number, assigned by the user, that indicates the rating or relative value of the movie. This number can range from 0.0 to 5.0. A value of 0.0 indicates that the user has not rated the movie. Value: The UserRatings. **Returns:** java.lang.String ##### getUsers() ``` public final String getUsers() ``` A name indicating a user-defined collection that includes this movie. Value: The Users. **Returns:** java.lang.String ##### getYear() ``` public final String getYear() ``` Year when the movie file or the original content was created or recorded. Value: The Year. **Returns:** java.lang.String ##### getSoftware() ``` public final String getSoftware() ``` Name of software used to create the movie file content. Value: The Software. **Returns:** java.lang.String ##### getProducer() ``` public final String getProducer() ``` Name of producer of movie file content. Value: The Producer. **Returns:** java.lang.String ##### getAlbum() ``` public final String getAlbum() ``` Album or collection name of which the movie content forms a part Value: The Album. **Returns:** java.lang.String ##### getKeywords() ``` public final String getKeywords() ``` Keywords associated with the movie file content. Value: The Keywords. **Returns:** java.lang.String ##### getInformation() ``` public final String getInformation() ``` Information about the movie file content. Value: The Information. **Returns:** java.lang.String ##### getGenre() ``` public final String getGenre() ``` Text describing the genre or genres to which the movie content conforms. Value: The Genre. **Returns:** java.lang.String ##### getTitle() ``` public final String getTitle() ``` The title of the movie file content. Value: The Title. **Returns:** java.lang.String ##### getCreationDate() ``` public final String getCreationDate() ``` The date the movie file content was created. Value: The CreationDate. **Returns:** java.lang.String ##### getCopyright() ``` public final String getCopyright() ``` Copyright statement for the movie file content. Value: The Copyright. **Returns:** java.lang.String ##### getComment() ``` public final String getComment() ``` User entered comment regarding the movie file content. Value: The Comment. **Returns:** java.lang.String ##### getAuthor() ``` public final String getAuthor() ``` Name of the author of the movie file content. Value: The Author. **Returns:** java.lang.String ##### getArtwork() ``` public final String getArtwork() ``` A single image that can represent the movie file content. Value: The Artwork. **Returns:** java.lang.String ##### getArtist() ``` public final String getArtist() ``` Name of the artist who created the movie file content. Value: The Artist. **Returns:** java.lang.String ##### getPublisher() ``` public final String getPublisher() ``` Name of publisher of movie file content. Value: The Publisher. **Returns:** java.lang.String ##### getMovieCreationTime() ``` public final System.DateTime getMovieCreationTime() ``` A 32-bit integer that specifies the creation calendar date and time for the movie atom. Value: A 32-bit integer that specifies the creation calendar date and time for the movie atom. **Returns:** com.aspose.ms.System.DateTime ##### setMovieCreationTime(System.DateTime value) ``` public final void setMovieCreationTime(System.DateTime value) ``` A 32-bit integer that specifies the creation calendar date and time for the movie atom. Value: A 32-bit integer that specifies the creation calendar date and time for the movie atom. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.aspose.ms.System.DateTime | | ##### getMovieModificationTime() ``` public final System.DateTime getMovieModificationTime() ``` A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. Value: A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. **Returns:** com.aspose.ms.System.DateTime ##### setMovieModificationTime(System.DateTime value) ``` public final void setMovieModificationTime(System.DateTime value) ``` A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. Value: A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.aspose.ms.System.DateTime | | ##### getMovieDuration() ``` public final long getMovieDuration() ``` A time value that indicates the duration of the movie in seconds. Value: A time value that indicates the duration of the movie in seconds. **Returns:** long ##### getAtoms() ``` public final MovAtom[] getAtoms() ``` Gets an array of MovAtom atoms. Value: The QuickTime atoms. **Returns:** com.groupdocs.metadata.core.MovAtom[] ### MovRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/movrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class MovRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in a QuickTime video. This example shows how to read QuickTime atoms in a MOV video. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMov)) { > MovRootPackage root = metadata.getRootPackageGeneric(); > for (MovAtom atom : root.getMovPackage().getAtoms()) { > System.out.println(atom.getType()); > System.out.println(atom.getOffset()); > System.out.println(atom.getSize()); > // ... > } > } > > ``` > ``` [Working with metadata in MOV Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+MOV+Files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getMovPackage() | Gets the QuickTime metadata package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | ##### getMovPackage() ``` public final MovPackage getMovPackage() ``` Gets the QuickTime metadata package. **Returns:** MovPackage - The QuickTime metadata package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ### MP3RootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/mp3rootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class MP3RootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an MP3 audio. [Working with MP3 metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+MP3+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getMpegAudioPackage() | Gets the MPEG audio metadata package. | | getID3V1() | Gets the ID3v1 metadata tag. | | setID3V1(ID3V1Tag value) | Sets the ID3v1 metadata tag. | | getID3V2() | Gets the ID3v2 metadata tag. | | setID3V2(ID3V2Tag value) | Sets the ID3v2 metadata tag. | | getLyrics3V2() | Gets the Lyrics3v2 metadata tag. | | setLyrics3V2(LyricsTag value) | Sets the Lyrics3v2 metadata tag. | | getApeV2() | Gets the APE v2 metadata. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | removeApeV2() | Removes the APEv2 audio tag. | | sanitize() | Removes writable metadata properties from the package. | | copyTo(MetadataPackage metadata) | | ##### getMpegAudioPackage() ``` public final MpegAudioPackage getMpegAudioPackage() ``` Gets the MPEG audio metadata package. **Returns:** MpegAudioPackage - The MPEG audio metadata package. ##### getID3V1() ``` public final ID3V1Tag getID3V1() ``` Gets the ID3v1 metadata tag. Please find more information at http://id3.org/ID3v1 . **Returns:** ID3V1Tag - The ID3v1 metadata tag attached to the audio file. The ID3(v1) tag is a small chunk of extra data at the end of an MP3 file. ##### setID3V1(ID3V1Tag value) ``` public final void setID3V1(ID3V1Tag value) ``` Sets the ID3v1 metadata tag. Please find more information at http://id3.org/ID3v1 . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V1Tag | The ID3v1 metadata tag attached to the audio file. The ID3(v1) tag is a small chunk of extra data at the end of an MP3 file. | ##### getID3V2() ``` public final ID3V2Tag getID3V2() ``` Gets the ID3v2 metadata tag. **Returns:** ID3V2Tag - The ID3v2 metadata tag attached to the audio file. ##### setID3V2(ID3V2Tag value) ``` public final void setID3V2(ID3V2Tag value) ``` Sets the ID3v2 metadata tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V2Tag | The ID3v2 metadata tag attached to the audio file. | ##### getLyrics3V2() ``` public final LyricsTag getLyrics3V2() ``` Gets the Lyrics3v2 metadata tag. **Returns:** LyricsTag - The Lyrics3v2 metadata tag. ##### setLyrics3V2(LyricsTag value) ``` public final void setLyrics3V2(LyricsTag value) ``` Sets the Lyrics3v2 metadata tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | LyricsTag | The Lyrics3v2 metadata tag. | ##### getApeV2() ``` public final ApePackage getApeV2() ``` Gets the APE v2 metadata. **Returns:** ApePackage - The APE v2 metadata. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### removeApeV2() ``` public final void removeApeV2() ``` Removes the APEv2 audio tag. This feature is not available in trial mode. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ##### copyTo(MetadataPackage metadata) ``` public void copyTo(MetadataPackage metadata) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | | ### MpegAudioPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/mpegaudiopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class MpegAudioPackage extends CustomPackage ``` Represents MPEG audio metadata. This example demonstrates how to read MPEG audio metadata from an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getMpegAudioPackage().getBitrate()); > System.out.println(root.getMpegAudioPackage().getChannelMode()); > System.out.println(root.getMpegAudioPackage().getEmphasis()); > System.out.println(root.getMpegAudioPackage().getFrequency()); > System.out.println(root.getMpegAudioPackage().getHeaderPosition()); > System.out.println(root.getMpegAudioPackage().getLayer()); > // ... > } > > ``` > ``` #### Constructors | Constructor | Description | | --- | --- | | MpegAudioPackage() | Initializes a new instance of the MpegAudioPackage class. | #### Methods | Method | Description | | --- | --- | | getMpegAudioVersion() | Gets the MPEG audio version. | | getLayer() | Gets the layer description. | | isProtected() | Gets true if protected. | | getHeaderPosition() | Gets the header offset. | | getBitrate() | Gets the bitrate. | | getFrequency() | Gets the frequency. | | getPaddingBit() | Gets the padding bit. | | getPrivateBit() | Gets a value indicating whether [private bit]. | | getChannelMode() | Gets the channel mode. | | getCopyright() | Gets the copyright bit. | | isOriginal() | Gets the original bit. | | getEmphasis() | Gets the emphasis. | | getModeExtensionBits() | Gets the mode extension bits. | ##### MpegAudioPackage() ``` public MpegAudioPackage() ``` Initializes a new instance of the MpegAudioPackage class. ##### getMpegAudioVersion() ``` public final MpegAudioVersion getMpegAudioVersion() ``` Gets the MPEG audio version. Can be MPEG-1, MPEG-2 etc. **Returns:** MpegAudioVersion - The MPEG audio version. ##### getLayer() ``` public final int getLayer() ``` Gets the layer description. For an MP3 audio it is '3'. **Returns:** int - The layer description. ##### isProtected() ``` public final boolean isProtected() ``` Gets true if protected. **Returns:** boolean - true if is protected; otherwise, false . ##### getHeaderPosition() ``` public final long getHeaderPosition() ``` Gets the header offset. **Returns:** long - The header offset. ##### getBitrate() ``` public final int getBitrate() ``` Gets the bitrate. **Returns:** int - The bitrate. ##### getFrequency() ``` public final int getFrequency() ``` Gets the frequency. **Returns:** int - The frequency. ##### getPaddingBit() ``` public final int getPaddingBit() ``` Gets the padding bit. **Returns:** int - The padding bit. ##### getPrivateBit() ``` public final boolean getPrivateBit() ``` Gets a value indicating whether [private bit]. **Returns:** boolean - true if [private bit]; otherwise, false . ##### getChannelMode() ``` public final MpegChannelMode getChannelMode() ``` Gets the channel mode. **Returns:** MpegChannelMode - The channel mode. ##### getCopyright() ``` public final boolean getCopyright() ``` Gets the copyright bit. **Returns:** boolean - true if copyright; otherwise, false . ##### isOriginal() ``` public final boolean isOriginal() ``` Gets the original bit. **Returns:** boolean - true if audio is original; otherwise, false . ##### getEmphasis() ``` public final MpegEmphasis getEmphasis() ``` Gets the emphasis. **Returns:** MpegEmphasis - The emphasis. ##### getModeExtensionBits() ``` public final int getModeExtensionBits() ``` Gets the mode extension bits. **Returns:** int - The mode extension bits. ### MpegAudioVersion Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/mpegaudioversion.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MpegAudioVersion extends Enum implements IEnumValue ``` Represents a particular MPEG standard. #### Fields | Field | Description | | --- | --- | | Mpeg25 | The MPEG 2.5 standard. | | Mpeg2 | The MPEG 2 standard. | | Mpeg1 | The MPEG 1 standard. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Mpeg25 ``` public static final MpegAudioVersion Mpeg25 ``` The MPEG 2.5 standard. ##### Mpeg2 ``` public static final MpegAudioVersion Mpeg2 ``` The MPEG 2 standard. ##### Mpeg1 ``` public static final MpegAudioVersion Mpeg1 ``` The MPEG 1 standard. ##### values() ``` public static MpegAudioVersion[] values() ``` **Returns:** com.groupdocs.metadata.core.MpegAudioVersion[] ##### valueOf(String name) ``` public static MpegAudioVersion valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MpegAudioVersion ##### getByRawValue(int rawValue) ``` public static MpegAudioVersion getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MpegAudioVersion ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MpegChannelMode Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/mpegchannelmode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MpegChannelMode extends Enum implements IEnumValue ``` Defines MPEG audio channel modes. #### Fields | Field | Description | | --- | --- | | Stereo | Stereo mode. | | JointStereo | Joint stereo mode. | | DualChannel | Dual channel mode. | | Mono | Mono mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Stereo ``` public static final MpegChannelMode Stereo ``` Stereo mode. ##### JointStereo ``` public static final MpegChannelMode JointStereo ``` Joint stereo mode. ##### DualChannel ``` public static final MpegChannelMode DualChannel ``` Dual channel mode. ##### Mono ``` public static final MpegChannelMode Mono ``` Mono mode. ##### values() ``` public static MpegChannelMode[] values() ``` **Returns:** com.groupdocs.metadata.core.MpegChannelMode[] ##### valueOf(String name) ``` public static MpegChannelMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MpegChannelMode ##### getByRawValue(int rawValue) ``` public static MpegChannelMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MpegChannelMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MpegEmphasis Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/mpegemphasis.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MpegEmphasis extends Enum implements IEnumValue ``` Defines MPEG emphasis types. #### Fields | Field | Description | | --- | --- | | None | No emphasis indication. | | Ms5015 | 50/15 ms. | | Reserved | Reserved. | | CcitJ17 | CCIT J.17. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### None ``` public static final MpegEmphasis None ``` No emphasis indication. ##### Ms5015 ``` public static final MpegEmphasis Ms5015 ``` 50/15 ms. ##### Reserved ``` public static final MpegEmphasis Reserved ``` Reserved. ##### CcitJ17 ``` public static final MpegEmphasis CcitJ17 ``` CCIT J.17. ##### values() ``` public static MpegEmphasis[] values() ``` **Returns:** com.groupdocs.metadata.core.MpegEmphasis[] ##### valueOf(String name) ``` public static MpegEmphasis valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MpegEmphasis ##### getByRawValue(int rawValue) ``` public static MpegEmphasis getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MpegEmphasis ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MsgPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/msgpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.EmailPackage ``` public class MsgPackage extends EmailPackage ``` Represents MSG message metadata. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getBody() | Gets the email message text. | | getCategories() | Gets the array of categories or keywords. | | getAttachments() | Gets an array of the attached files. | | getDeliveryTime() | Gets the date and time the message was delivered. | ##### getBody() ``` public final String getBody() ``` Gets the email message text. **Returns:** java.lang.String - The email message text. ##### getCategories() ``` public final String[] getCategories() ``` Gets the array of categories or keywords. **Returns:** java.lang.String[] - The array of categories or keywords. ##### getAttachments() ``` public final MsgAttachmentPackage[] getAttachments() ``` Gets an array of the attached files. **Returns:** com.groupdocs.metadata.core.MsgAttachmentPackage[] - An array of the attached files. ##### getDeliveryTime() ``` public final Date getDeliveryTime() ``` Gets the date and time the message was delivered. **Returns:** java.util.Date - The delivery time. ### MsgRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/msgrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.EmailRootPackage ``` public class MsgRootPackage extends EmailRootPackage ``` Represents the root package allowing working with metadata in an MSG email message. This code sample shows how to extract metadata from an MSG message. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMsg)) { > MsgRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getMsgPackage().getSender()); > System.out.println(root.getMsgPackage().getSubject()); > for (String recipient : root.getMsgPackage().getRecipients()) { > System.out.println(recipient); > } > for (String attachedFileName : root.getMsgPackage().getAttachedFileNames()) { > System.out.println(attachedFileName); > } > for (MetadataProperty header : root.getMsgPackage().getHeaders()) { > System.out.println(String.format("%s = %s", header.getName(), header.getValue())); > } > System.out.println(root.getMsgPackage().getBody()); > System.out.println(root.getMsgPackage().getDeliveryTime()); > // ... > } > > ``` > ``` [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getMsgPackage() | Gets the MSG metadata package. | | getString(MsgKnownProperties tag) | Gets the string value of the property specified by tag. | ##### getMsgPackage() ``` public final MsgPackage getMsgPackage() ``` Gets the MSG metadata package. **Returns:** MsgPackage - The MSG metadata package. ##### getString(MsgKnownProperties tag) ``` public final String getString(MsgKnownProperties tag) ``` Gets the string value of the property specified by tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tag | MsgKnownProperties | The value from MsgKnownProperties enum. | **Returns:** java.lang.String - The value of the property. If the property does not exist, returns null; otherwise, returns the value. ### NikonMakerNotePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/nikonmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public final class NikonMakerNotePackage extends MakerNotePackage ``` Represents NIKON MakerNote metadata. #### Constructors | Constructor | Description | | --- | --- | | NikonMakerNotePackage(TiffTag[] tags) | Initializes a new instance of the NikonMakerNotePackage class. | #### Methods | Method | Description | | --- | --- | | getMakerNoteVersion() | Gets the MakerNote version. | | getIso() | Gets the iso. | | getColorMode() | Gets the color mode. | | getQuality() | Gets the quality string. | | getWhiteBalance() | Gets the white balance. | | getSharpness() | Gets the sharpness. | | getFocusMode() | Gets the focus mode. | | getFlashSetting() | Gets the flash setting. | | getFlashType() | Gets the type of the flash. | ##### NikonMakerNotePackage(TiffTag[] tags) ``` public NikonMakerNotePackage(TiffTag[] tags) ``` Initializes a new instance of the NikonMakerNotePackage class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tags | TiffTag\[\] | Array of TIFF tags. | ##### getMakerNoteVersion() ``` public final byte[] getMakerNoteVersion() ``` Gets the MakerNote version. **Returns:** byte[] - The MakerNote version. ##### getIso() ``` public final int[] getIso() ``` Gets the iso. **Returns:** int[] - The iso. ##### getColorMode() ``` public final String getColorMode() ``` Gets the color mode. **Returns:** java.lang.String - The color mode. ##### getQuality() ``` public final String getQuality() ``` Gets the quality string. **Returns:** java.lang.String - The quality. ##### getWhiteBalance() ``` public final String getWhiteBalance() ``` Gets the white balance. **Returns:** java.lang.String - The white balance. ##### getSharpness() ``` public final String getSharpness() ``` Gets the sharpness. **Returns:** java.lang.String - The sharpness. ##### getFocusMode() ``` public final String getFocusMode() ``` Gets the focus mode. **Returns:** java.lang.String - The focus mode. ##### getFlashSetting() ``` public final String getFlashSetting() ``` Gets the flash setting. **Returns:** java.lang.String - The flash setting. ##### getFlashType() ``` public final String getFlashType() ``` Gets the type of the flash. **Returns:** java.lang.String - The type of the flash. ### NoteInspectionPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/noteinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class NoteInspectionPackage extends CustomPackage ``` Represents a metadata package exposing the internal structure of a note section. [Working with metadata in Note formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Note+formats #### Methods | Method | Description | | --- | --- | | getPages() | Gets an array of section pages. | ##### getPages() ``` public final NotePage[] getPages() ``` Gets an array of section pages. **Returns:** com.groupdocs.metadata.core.NotePage[] - An array of section pages. ### NotePage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/notepage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class NotePage extends CustomPackage ``` Represents a page in a OneNote section. [Working with metadata in Note formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Note+formats #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the page author. | | getTitle() | Gets the page title. | | getCreationTime() | Gets the creation time. | | getLastModificationTime() | Gets the last modification time. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the page author. **Returns:** java.lang.String - The page author. ##### getTitle() ``` public final String getTitle() ``` Gets the page title. **Returns:** java.lang.String - The page title. ##### getCreationTime() ``` public final Date getCreationTime() ``` Gets the creation time. **Returns:** java.util.Date - The creation time. ##### getLastModificationTime() ``` public final Date getLastModificationTime() ``` Gets the last modification time. **Returns:** java.util.Date - The last modification time. ### NoteRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/noterootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class NoteRootPackage extends RootMetadataPackage ``` Represents the root package intended to work with metadata in an electronic note file. This code sample demonstrates how to inspect a note document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputOne)) { > NoteRootPackage root = metadata.getRootPackageGeneric(); > if (root.getInspectionPackage().getPages() != null) { > for (NotePage page : root.getInspectionPackage().getPages()) { > System.out.println(page.getTitle()); > System.out.println(page.getAuthor()); > System.out.println(page.getCreationTime()); > System.out.println(page.getLastModificationTime()); > } > } > } > > ``` > ``` [Working with metadata in Note formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Note+formats #### Methods | Method | Description | | --- | --- | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | | copyTo(MetadataPackage metadataPackage) | | ##### getInspectionPackage() ``` public final NoteInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** NoteInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ##### copyTo(MetadataPackage metadataPackage) ``` public void copyTo(MetadataPackage metadataPackage) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | | ### Oid Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/oid.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class Oid extends CustomPackage ``` Represents an object identifier (OID). An identifier mechanism standardized by the International Telecommunications Union (ITU) and ISO/IEC for naming any object, concept, or "thing" with a globally unambiguous persistent name. #### Methods | Method | Description | | --- | --- | | getValue() | Gets the object identifier (OID) value. | | getFriendlyName() | Gets the friendly name. | ##### getValue() ``` public final String getValue() ``` Gets the object identifier (OID) value. **Returns:** java.lang.String - The object identifier (OID) value. ##### getFriendlyName() ``` public final String getFriendlyName() ``` Gets the friendly name. **Returns:** java.lang.String - The friendly name. ### OpenTypeBaseNameRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypebasenamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class OpenTypeBaseNameRecord extends CustomPackage ``` Represents the base OpenType Name table record class. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getNameID() | Gets the name identifier. | | getPlatform() | Gets the platform identifier. | | getValue() | Gets the string value of record. | ##### getNameID() ``` public final OpenTypeName getNameID() ``` Gets the name identifier. **Returns:** OpenTypeName - The name identifier. ##### getPlatform() ``` public final OpenTypePlatform getPlatform() ``` Gets the platform identifier. **Returns:** OpenTypePlatform - The platform identifier. ##### getValue() ``` public final String getValue() ``` Gets the string value of record. **Returns:** java.lang.String - The string value of record. ### OpenTypeDigitalSignatureFlags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypedigitalsignatureflags.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeDigitalSignatureFlags extends Enum implements IEnumValue ``` Represents OpenType font digital signature flags. #### Fields | Field | Description | | --- | --- | | None | Undefined flag. | | CannotBeResigned | Cannot be resigned. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### None ``` public static final OpenTypeDigitalSignatureFlags None ``` Undefined flag. ##### CannotBeResigned ``` public static final OpenTypeDigitalSignatureFlags CannotBeResigned ``` Cannot be resigned. ##### values() ``` public static OpenTypeDigitalSignatureFlags[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeDigitalSignatureFlags[] ##### valueOf(String name) ``` public static OpenTypeDigitalSignatureFlags valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeDigitalSignatureFlags ##### getByRawValue(int rawValue) ``` public static OpenTypeDigitalSignatureFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeDigitalSignatureFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeDirectionHint Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypedirectionhint.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeDirectionHint extends Enum implements IEnumValue ``` Represents the OpenType font direction. #### Fields | Field | Description | | --- | --- | | FullyMixed | Fully mixed directional glyphs. | | OnlyLeftToRight | Only strongly left to right. | | LeftToRightAndNeutrals | Like OnlyLeftToRight but also contains neutrals. | | OnlyRightToLeft | Only strongly right to left. | | RightToLeftAndNeutrals | Like OnlyRightToLeft but also contains neutrals. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### FullyMixed ``` public static final OpenTypeDirectionHint FullyMixed ``` Fully mixed directional glyphs. ##### OnlyLeftToRight ``` public static final OpenTypeDirectionHint OnlyLeftToRight ``` Only strongly left to right. ##### LeftToRightAndNeutrals ``` public static final OpenTypeDirectionHint LeftToRightAndNeutrals ``` Like OnlyLeftToRight but also contains neutrals. ##### OnlyRightToLeft ``` public static final OpenTypeDirectionHint OnlyRightToLeft ``` Only strongly right to left. ##### RightToLeftAndNeutrals ``` public static final OpenTypeDirectionHint RightToLeftAndNeutrals ``` Like OnlyRightToLeft but also contains neutrals. ##### values() ``` public static OpenTypeDirectionHint[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeDirectionHint[] ##### valueOf(String name) ``` public static OpenTypeDirectionHint valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeDirectionHint ##### getByRawValue(int rawValue) ``` public static OpenTypeDirectionHint getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeDirectionHint ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeFlags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypeflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class OpenTypeFlags implements IEnumValue ``` Represents OpenType font header flags. #### Fields | Field | Description | | --- | --- | | None | Undefined, no flags. | | BaselineAtY0 | Baseline for font at y=0. | | LeftSidebearingAtX0 | Left sidebearing point at x=0 (relevant only for TrueType rasterizers). | | DependOnPointSize | Instructions may depend on point size. | | ForceToInteger | Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear. | | AlterAdvanceWidth | Instructions may alter advance width (the advance widths might not scale linearly). | | Lossless | Font data is \\u201clossless\\u201d as a result of having been subjected to optimizing transformation and/or compression. | | Converted | Font converted (produce compatible metrics). | | Optimized | Font optimized for ClearType\\u2122. | | Resort | Last Resort font. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### None ``` public static final OpenTypeFlags None ``` Undefined, no flags. ##### BaselineAtY0 ``` public static final OpenTypeFlags BaselineAtY0 ``` Baseline for font at y=0. ##### LeftSidebearingAtX0 ``` public static final OpenTypeFlags LeftSidebearingAtX0 ``` Left sidebearing point at x=0 (relevant only for TrueType rasterizers). ##### DependOnPointSize ``` public static final OpenTypeFlags DependOnPointSize ``` Instructions may depend on point size. ##### ForceToInteger ``` public static final OpenTypeFlags ForceToInteger ``` Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear. ##### AlterAdvanceWidth ``` public static final OpenTypeFlags AlterAdvanceWidth ``` Instructions may alter advance width (the advance widths might not scale linearly). ##### Lossless ``` public static final OpenTypeFlags Lossless ``` Font data is \\u201clossless\\u201d as a result of having been subjected to optimizing transformation and/or compression. ##### Converted ``` public static final OpenTypeFlags Converted ``` Font converted (produce compatible metrics). ##### Optimized ``` public static final OpenTypeFlags Optimized ``` Font optimized for ClearType\\u2122. ##### Resort ``` public static final OpenTypeFlags Resort ``` Last Resort font. ##### getByRawValue(int rawValue) ``` public static OpenTypeFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### OpenTypeFont Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypefont.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class OpenTypeFont extends CustomPackage ``` Represents a single font extracted from a file. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getSfntVersion() | Gets the header SFNT version. | | getMajorVersion() | Gets the header major version. | | getMinorVersion() | Gets the header minor version. | | getFontRevision() | Gets the font revision. | | getFlags() | Gets the header flags. | | getCreated() | Gets the created date. | | getModified() | Gets the modified date. | | getGlyphBounds() | Gets the glyph bounds. | | getStyle() | Gets the font style. | | getDirectionHint() | Gets the direction hint. | | getNames() | Gets the name records. | | getFontFamilyName() | Gets the name of the font family. | | getFontSubfamilyName() | Gets the name of the font subfamily. | | getFullFontName() | Gets the full name of the font. | | getTypographicFamily() | Gets the typographic family. | | getTypographicSubfamily() | Gets the typographic subfamily. | | getWeight() | Gets the font weight. | | getWidth() | Gets the font width. | | getEmbeddingLicensingRights() | Gets the embedding licensing rights type. | ##### getSfntVersion() ``` public final OpenTypeVersion getSfntVersion() ``` Gets the header SFNT version. **Returns:** OpenTypeVersion - The header SFNT version. ##### getMajorVersion() ``` public final int getMajorVersion() ``` Gets the header major version. **Returns:** int - The header major version. ##### getMinorVersion() ``` public final int getMinorVersion() ``` Gets the header minor version. **Returns:** int - The header minor version. ##### getFontRevision() ``` public final float getFontRevision() ``` Gets the font revision. **Returns:** float - The font revision. ##### getFlags() ``` public final OpenTypeFlags getFlags() ``` Gets the header flags. **Returns:** OpenTypeFlags - The header flags. ##### getCreated() ``` public final Date getCreated() ``` Gets the created date. **Returns:** java.util.Date - The created date. ##### getModified() ``` public final Date getModified() ``` Gets the modified date. **Returns:** java.util.Date - The modified date. ##### getGlyphBounds() ``` public final Rectangle getGlyphBounds() ``` Gets the glyph bounds. **Returns:** Rectangle - The glyph bounds. ##### getStyle() ``` public final OpenTypeStyles getStyle() ``` Gets the font style. **Returns:** OpenTypeStyles - The font style. ##### getDirectionHint() ``` public final OpenTypeDirectionHint getDirectionHint() ``` Gets the direction hint. **Returns:** OpenTypeDirectionHint - The direction hint. ##### getNames() ``` public final OpenTypeBaseNameRecord[] getNames() ``` Gets the name records. **Returns:** com.groupdocs.metadata.core.OpenTypeBaseNameRecord[] - The name records. ##### getFontFamilyName() ``` public final String getFontFamilyName() ``` Gets the name of the font family. **Returns:** java.lang.String - The name of the font family. ##### getFontSubfamilyName() ``` public final String getFontSubfamilyName() ``` Gets the name of the font subfamily. **Returns:** java.lang.String - The name of the font subfamily. ##### getFullFontName() ``` public final String getFullFontName() ``` Gets the full name of the font. **Returns:** java.lang.String - The full name of the font. ##### getTypographicFamily() ``` public final String getTypographicFamily() ``` Gets the typographic family. **Returns:** java.lang.String - The typographic family. ##### getTypographicSubfamily() ``` public final String getTypographicSubfamily() ``` Gets the typographic subfamily. **Returns:** java.lang.String - The typographic subfamily. ##### getWeight() ``` public final OpenTypeWeight getWeight() ``` Gets the font weight. **Returns:** OpenTypeWeight - The font weight. ##### getWidth() ``` public final OpenTypeWidth getWidth() ``` Gets the font width. **Returns:** OpenTypeWidth - The font width. ##### getEmbeddingLicensingRights() ``` public final OpenTypeLicensingRights getEmbeddingLicensingRights() ``` Gets the embedding licensing rights type. **Returns:** OpenTypeLicensingRights - The embedding licensing rights type. ### OpenTypeIsoEncoding Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypeisoencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeIsoEncoding extends Enum implements IEnumValue ``` Represents encoding for the OpenTypePlatform.Iso platform. #### Fields | Field | Description | | --- | --- | | Ascii7Bit | The 7-bit ASCII encoding. | | Iso10646 | The ISO 10646 encoding. | | Iso8859 | The ISO 8859-1 encoding. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Ascii7Bit ``` public static final OpenTypeIsoEncoding Ascii7Bit ``` The 7-bit ASCII encoding. ##### Iso10646 ``` public static final OpenTypeIsoEncoding Iso10646 ``` The ISO 10646 encoding. ##### Iso8859 ``` public static final OpenTypeIsoEncoding Iso8859 ``` The ISO 8859-1 encoding. ##### values() ``` public static OpenTypeIsoEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeIsoEncoding[] ##### valueOf(String name) ``` public static OpenTypeIsoEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeIsoEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeIsoEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeIsoEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeLicensingRights Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypelicensingrights.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class OpenTypeLicensingRights implements IEnumValue ``` Indicates font embedding licensing rights for the font. #### Fields | Field | Description | | --- | --- | | None | The undefined licensing rights. | | UsagePermissionsMask | Usage permissions mask. | | InstallableEmbedding | Installable embedding. | | RestrictedLicenseEmbedding | Restricted License embedding. | | PreviewAndPrintEmbedding | Preview and Print embedding. | | EditableEmbedding | Editable embedding. | | NoSubsetting | No subsetting. | | BitmapEmbeddingOnly | Bitmap embedding only. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### None ``` public static final OpenTypeLicensingRights None ``` The undefined licensing rights. ##### UsagePermissionsMask ``` public static final OpenTypeLicensingRights UsagePermissionsMask ``` Usage permissions mask. ##### InstallableEmbedding ``` public static final OpenTypeLicensingRights InstallableEmbedding ``` Installable embedding. The font may be embedded, and may be permanently installed for use on a remote systems, or for use by other users. ##### RestrictedLicenseEmbedding ``` public static final OpenTypeLicensingRights RestrictedLicenseEmbedding ``` Restricted License embedding. The font must not be modified, embedded or exchanged in any manner without first obtaining explicit permission of the legal owner. ##### PreviewAndPrintEmbedding ``` public static final OpenTypeLicensingRights PreviewAndPrintEmbedding ``` Preview and Print embedding. The font may be embedded, and may be temporarily loaded on other systems for purposes of viewing or printing the document. Documents containing Preview & Print fonts must be opened \\u201cread-only\\u201d; no edits can be applied to the document. ##### EditableEmbedding ``` public static final OpenTypeLicensingRights EditableEmbedding ``` Editable embedding. The font may be embedded, and may be temporarily loaded on other systems. As with Preview and Print embedding, documents containing Editable fonts may be opened for reading. In addition, editing is permitted, including ability to format new text using the embedded font, and changes may be saved. ##### NoSubsetting ``` public static final OpenTypeLicensingRights NoSubsetting ``` No subsetting. When this bit is set, the font may not be subsetted prior to embedding. Other embedding restrictions specified in bits 0 to 3 and bit 9 also apply. ##### BitmapEmbeddingOnly ``` public static final OpenTypeLicensingRights BitmapEmbeddingOnly ``` Bitmap embedding only. When this bit is set, only bitmaps contained in the font may be embedded. No outline data may be embedded. If there are no bitmaps available in the font, then the font is considered unembeddable and the embedding services will fail. Other embedding restrictions specified in bits 0-3 and 8 also apply. ##### getByRawValue(int rawValue) ``` public static OpenTypeLicensingRights getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeLicensingRights ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### OpenTypeMacintoshEncoding Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypemacintoshencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeMacintoshEncoding extends Enum implements IEnumValue ``` Represents encoding for the OpenTypePlatform.Macintosh platform. #### Fields | Field | Description | | --- | --- | | DefaultSemantics | Default semantics. | | Version11Semantics | Version 1.1 semantics. | | Iso106461993Semantics | ISO 10646 1993 semantics (deprecated). | | Unicode20BmpOnly | Unicode 2.0 or later semantics (BMP only). | | Unicode20NonBmp | Unicode 2.0 or later semantics (non-BMP characters allowed). | | UnicodeVariationSequences | Unicode Variation Sequences. | | FullUnicodeCoverage | Full Unicode coverage. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### DefaultSemantics ``` public static final OpenTypeMacintoshEncoding DefaultSemantics ``` Default semantics. ##### Version11Semantics ``` public static final OpenTypeMacintoshEncoding Version11Semantics ``` Version 1.1 semantics. ##### Iso106461993Semantics ``` public static final OpenTypeMacintoshEncoding Iso106461993Semantics ``` ISO 10646 1993 semantics (deprecated). ##### Unicode20BmpOnly ``` public static final OpenTypeMacintoshEncoding Unicode20BmpOnly ``` Unicode 2.0 or later semantics (BMP only). ##### Unicode20NonBmp ``` public static final OpenTypeMacintoshEncoding Unicode20NonBmp ``` Unicode 2.0 or later semantics (non-BMP characters allowed). ##### UnicodeVariationSequences ``` public static final OpenTypeMacintoshEncoding UnicodeVariationSequences ``` Unicode Variation Sequences. ##### FullUnicodeCoverage ``` public static final OpenTypeMacintoshEncoding FullUnicodeCoverage ``` Full Unicode coverage. ##### values() ``` public static OpenTypeMacintoshEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeMacintoshEncoding[] ##### valueOf(String name) ``` public static OpenTypeMacintoshEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeMacintoshEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeMacintoshEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeMacintoshEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeMacintoshLanguage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypemacintoshlanguage.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeMacintoshLanguage extends Enum implements IEnumValue ``` Represents language enum for the OpenTypePlatform.Macintosh platform. #### Fields | Field | Description | | --- | --- | | English | The english language. | | French | The french language. | | German | The german language. | | Italian | The italian language. | | Dutch | The dutch language. | | Swedish | The swedish language. | | Spanish | The spanish language. | | Danish | The danish language. | | Portuguese | The portuguese language. | | Norwegian | The norwegian language. | | Hebrew | The hebrew language. | | Japanese | The japanese language. | | Arabic | The arabic language. | | Finnish | The finnish language. | | Greek | The greek language. | | Icelandic | The icelandic language. | | Maltese | The maltese language. | | Turkish | The turkish language. | | Croatian | The croatian language. | | ChineseTraditional | The chinese traditional language. | | Urdu | The urdu language. | | Hindi | The hindi language. | | Thai | The thai language. | | Korean | The korean language. | | Lithuanian | The lithuanian language. | | Polish | The polish language. | | Hungarian | The hungarian language. | | Estonian | The estonian language. | | Latvian | The latvian language. | | Sami | The sami language. | | Faroese | The faroese language. | | FarsiPersian | The farsi persian language. | | Russian | The russian language. | | ChineseSimplified | The chinese simplifie language. | | Flemish | The flemish language. | | IrishGaelic | The irish gaelic language. | | Albanian | The albanian language. | | Romanian | The romanian language. | | Czech | The czech language. | | Slovak | The slovak language. | | Slovenian | The slovenian language. | | Yiddish | The yiddish language. | | Serbian | The serbian language. | | Macedonian | The macedonian language. | | Bulgarian | The bulgarian language. | | Ukrainian | The ukrainian language. | | Byelorussian | The byelorussian language. | | Uzbek | The uzbek language. | | Kazakh | The kazakh language. | | AzerbaijaniCyrillic | The azerbaijani cyrillic language. | | AzerbaijaniArabic | The azerbaijani arabic language. | | Armenian | The armenian language. | | Georgian | The georgian language. | | Moldavian | The moldavian language. | | Kirghiz | The kirghiz language. | | Tajiki | The tajiki language. | | Turkmen | The turkmen language. | | MongolianMongolian | The mongolian mongolian language. | | MongolianCyrillic | The mongolian cyrillic language. | | Pashto | The pashto language. | | Kurdish | The kurdish language. | | Kashmiri | The kashmiri language. | | Sindhi | The sindhi language. | | Tibetan | The tibetan language. | | Nepali | The nepali language. | | Sanskrit | The sanskrit language. | | Marathi | The marathi language. | | Bengali | The bengali language. | | Assamese | The assamese language. | | Gujarati | The gujarati language. | | Punjabi | The punjabi language. | | Oriya | The oriya language. | | Malayalam | The malayalam language. | | Kannada | The kannada language. | | Tamil | The tamil language. | | Telugu | The telugu language. | | Sinhalese | The sinhalese language. | | Burmese | The burmese language. | | Khmer | The khmer language. | | Lao | The lao language. | | Vietnamese | The vietnamese language. | | Indonesian | The indonesian language. | | Tagalog | The tagalog language. | | MalayRoman | The malay roman language. | | MalayArabic | The malay arabic language. | | Amharic | The amharic language. | | Tigrinya | The tigrinya language. | | Galla | The galla language. | | Somali | The somali language. | | Swahili | The swahili language. | | KinyarwandaOrRuanda | The kinyarwanda or ruanda language. | | Rundi | The rundi language. | | NyanjaOrChewa | The nyanja or chewa language. | | Malagasy | The malagasy language. | | Esperanto | The esperanto language. | | Welsh | The welsh language. | | Basque | The basque language. | | Catalan | The catalan language. | | Latin | The latin language. | | Quechua | The quechua language. | | Guarani | The guarani language. | | Aymara | The aymara language. | | Tatar | The tatar language. | | Uighur | The uighur language. | | Dzongkha | The dzongkha language. | | JavaneseRoman | The javanese roman language. | | SundaneseRoman | The sundanese roman language. | | Galician | The galician language. | | Afrikaans | The afrikaans language. | | Breton | The breton language. | | Inuktitut | The inuktitut language. | | ScottishGaelic | The scottish gaelic language. | | ManxGaelic | The manx gaelic language. | | IrishGaelicWithDotAbove | The irish gaelic with dot above language. | | Tongan | The tongan language. | | GreekPolytonic | The greek polytonic language. | | Greenlandic | The greenlandic language. | | AzerbaijaniRoman | The azerbaijani roman language. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### English ``` public static final OpenTypeMacintoshLanguage English ``` The english language. ##### French ``` public static final OpenTypeMacintoshLanguage French ``` The french language. ##### German ``` public static final OpenTypeMacintoshLanguage German ``` The german language. ##### Italian ``` public static final OpenTypeMacintoshLanguage Italian ``` The italian language. ##### Dutch ``` public static final OpenTypeMacintoshLanguage Dutch ``` The dutch language. ##### Swedish ``` public static final OpenTypeMacintoshLanguage Swedish ``` The swedish language. ##### Spanish ``` public static final OpenTypeMacintoshLanguage Spanish ``` The spanish language. ##### Danish ``` public static final OpenTypeMacintoshLanguage Danish ``` The danish language. ##### Portuguese ``` public static final OpenTypeMacintoshLanguage Portuguese ``` The portuguese language. ##### Norwegian ``` public static final OpenTypeMacintoshLanguage Norwegian ``` The norwegian language. ##### Hebrew ``` public static final OpenTypeMacintoshLanguage Hebrew ``` The hebrew language. ##### Japanese ``` public static final OpenTypeMacintoshLanguage Japanese ``` The japanese language. ##### Arabic ``` public static final OpenTypeMacintoshLanguage Arabic ``` The arabic language. ##### Finnish ``` public static final OpenTypeMacintoshLanguage Finnish ``` The finnish language. ##### Greek ``` public static final OpenTypeMacintoshLanguage Greek ``` The greek language. ##### Icelandic ``` public static final OpenTypeMacintoshLanguage Icelandic ``` The icelandic language. ##### Maltese ``` public static final OpenTypeMacintoshLanguage Maltese ``` The maltese language. ##### Turkish ``` public static final OpenTypeMacintoshLanguage Turkish ``` The turkish language. ##### Croatian ``` public static final OpenTypeMacintoshLanguage Croatian ``` The croatian language. ##### ChineseTraditional ``` public static final OpenTypeMacintoshLanguage ChineseTraditional ``` The chinese traditional language. ##### Urdu ``` public static final OpenTypeMacintoshLanguage Urdu ``` The urdu language. ##### Hindi ``` public static final OpenTypeMacintoshLanguage Hindi ``` The hindi language. ##### Thai ``` public static final OpenTypeMacintoshLanguage Thai ``` The thai language. ##### Korean ``` public static final OpenTypeMacintoshLanguage Korean ``` The korean language. ##### Lithuanian ``` public static final OpenTypeMacintoshLanguage Lithuanian ``` The lithuanian language. ##### Polish ``` public static final OpenTypeMacintoshLanguage Polish ``` The polish language. ##### Hungarian ``` public static final OpenTypeMacintoshLanguage Hungarian ``` The hungarian language. ##### Estonian ``` public static final OpenTypeMacintoshLanguage Estonian ``` The estonian language. ##### Latvian ``` public static final OpenTypeMacintoshLanguage Latvian ``` The latvian language. ##### Sami ``` public static final OpenTypeMacintoshLanguage Sami ``` The sami language. ##### Faroese ``` public static final OpenTypeMacintoshLanguage Faroese ``` The faroese language. ##### FarsiPersian ``` public static final OpenTypeMacintoshLanguage FarsiPersian ``` The farsi persian language. ##### Russian ``` public static final OpenTypeMacintoshLanguage Russian ``` The russian language. ##### ChineseSimplified ``` public static final OpenTypeMacintoshLanguage ChineseSimplified ``` The chinese simplifie language. ##### Flemish ``` public static final OpenTypeMacintoshLanguage Flemish ``` The flemish language. ##### IrishGaelic ``` public static final OpenTypeMacintoshLanguage IrishGaelic ``` The irish gaelic language. ##### Albanian ``` public static final OpenTypeMacintoshLanguage Albanian ``` The albanian language. ##### Romanian ``` public static final OpenTypeMacintoshLanguage Romanian ``` The romanian language. ##### Czech ``` public static final OpenTypeMacintoshLanguage Czech ``` The czech language. ##### Slovak ``` public static final OpenTypeMacintoshLanguage Slovak ``` The slovak language. ##### Slovenian ``` public static final OpenTypeMacintoshLanguage Slovenian ``` The slovenian language. ##### Yiddish ``` public static final OpenTypeMacintoshLanguage Yiddish ``` The yiddish language. ##### Serbian ``` public static final OpenTypeMacintoshLanguage Serbian ``` The serbian language. ##### Macedonian ``` public static final OpenTypeMacintoshLanguage Macedonian ``` The macedonian language. ##### Bulgarian ``` public static final OpenTypeMacintoshLanguage Bulgarian ``` The bulgarian language. ##### Ukrainian ``` public static final OpenTypeMacintoshLanguage Ukrainian ``` The ukrainian language. ##### Byelorussian ``` public static final OpenTypeMacintoshLanguage Byelorussian ``` The byelorussian language. ##### Uzbek ``` public static final OpenTypeMacintoshLanguage Uzbek ``` The uzbek language. ##### Kazakh ``` public static final OpenTypeMacintoshLanguage Kazakh ``` The kazakh language. ##### AzerbaijaniCyrillic ``` public static final OpenTypeMacintoshLanguage AzerbaijaniCyrillic ``` The azerbaijani cyrillic language. ##### AzerbaijaniArabic ``` public static final OpenTypeMacintoshLanguage AzerbaijaniArabic ``` The azerbaijani arabic language. ##### Armenian ``` public static final OpenTypeMacintoshLanguage Armenian ``` The armenian language. ##### Georgian ``` public static final OpenTypeMacintoshLanguage Georgian ``` The georgian language. ##### Moldavian ``` public static final OpenTypeMacintoshLanguage Moldavian ``` The moldavian language. ##### Kirghiz ``` public static final OpenTypeMacintoshLanguage Kirghiz ``` The kirghiz language. ##### Tajiki ``` public static final OpenTypeMacintoshLanguage Tajiki ``` The tajiki language. ##### Turkmen ``` public static final OpenTypeMacintoshLanguage Turkmen ``` The turkmen language. ##### MongolianMongolian ``` public static final OpenTypeMacintoshLanguage MongolianMongolian ``` The mongolian mongolian language. ##### MongolianCyrillic ``` public static final OpenTypeMacintoshLanguage MongolianCyrillic ``` The mongolian cyrillic language. ##### Pashto ``` public static final OpenTypeMacintoshLanguage Pashto ``` The pashto language. ##### Kurdish ``` public static final OpenTypeMacintoshLanguage Kurdish ``` The kurdish language. ##### Kashmiri ``` public static final OpenTypeMacintoshLanguage Kashmiri ``` The kashmiri language. ##### Sindhi ``` public static final OpenTypeMacintoshLanguage Sindhi ``` The sindhi language. ##### Tibetan ``` public static final OpenTypeMacintoshLanguage Tibetan ``` The tibetan language. ##### Nepali ``` public static final OpenTypeMacintoshLanguage Nepali ``` The nepali language. ##### Sanskrit ``` public static final OpenTypeMacintoshLanguage Sanskrit ``` The sanskrit language. ##### Marathi ``` public static final OpenTypeMacintoshLanguage Marathi ``` The marathi language. ##### Bengali ``` public static final OpenTypeMacintoshLanguage Bengali ``` The bengali language. ##### Assamese ``` public static final OpenTypeMacintoshLanguage Assamese ``` The assamese language. ##### Gujarati ``` public static final OpenTypeMacintoshLanguage Gujarati ``` The gujarati language. ##### Punjabi ``` public static final OpenTypeMacintoshLanguage Punjabi ``` The punjabi language. ##### Oriya ``` public static final OpenTypeMacintoshLanguage Oriya ``` The oriya language. ##### Malayalam ``` public static final OpenTypeMacintoshLanguage Malayalam ``` The malayalam language. ##### Kannada ``` public static final OpenTypeMacintoshLanguage Kannada ``` The kannada language. ##### Tamil ``` public static final OpenTypeMacintoshLanguage Tamil ``` The tamil language. ##### Telugu ``` public static final OpenTypeMacintoshLanguage Telugu ``` The telugu language. ##### Sinhalese ``` public static final OpenTypeMacintoshLanguage Sinhalese ``` The sinhalese language. ##### Burmese ``` public static final OpenTypeMacintoshLanguage Burmese ``` The burmese language. ##### Khmer ``` public static final OpenTypeMacintoshLanguage Khmer ``` The khmer language. ##### Lao ``` public static final OpenTypeMacintoshLanguage Lao ``` The lao language. ##### Vietnamese ``` public static final OpenTypeMacintoshLanguage Vietnamese ``` The vietnamese language. ##### Indonesian ``` public static final OpenTypeMacintoshLanguage Indonesian ``` The indonesian language. ##### Tagalog ``` public static final OpenTypeMacintoshLanguage Tagalog ``` The tagalog language. ##### MalayRoman ``` public static final OpenTypeMacintoshLanguage MalayRoman ``` The malay roman language. ##### MalayArabic ``` public static final OpenTypeMacintoshLanguage MalayArabic ``` The malay arabic language. ##### Amharic ``` public static final OpenTypeMacintoshLanguage Amharic ``` The amharic language. ##### Tigrinya ``` public static final OpenTypeMacintoshLanguage Tigrinya ``` The tigrinya language. ##### Galla ``` public static final OpenTypeMacintoshLanguage Galla ``` The galla language. ##### Somali ``` public static final OpenTypeMacintoshLanguage Somali ``` The somali language. ##### Swahili ``` public static final OpenTypeMacintoshLanguage Swahili ``` The swahili language. ##### KinyarwandaOrRuanda ``` public static final OpenTypeMacintoshLanguage KinyarwandaOrRuanda ``` The kinyarwanda or ruanda language. ##### Rundi ``` public static final OpenTypeMacintoshLanguage Rundi ``` The rundi language. ##### NyanjaOrChewa ``` public static final OpenTypeMacintoshLanguage NyanjaOrChewa ``` The nyanja or chewa language. ##### Malagasy ``` public static final OpenTypeMacintoshLanguage Malagasy ``` The malagasy language. ##### Esperanto ``` public static final OpenTypeMacintoshLanguage Esperanto ``` The esperanto language. ##### Welsh ``` public static final OpenTypeMacintoshLanguage Welsh ``` The welsh language. ##### Basque ``` public static final OpenTypeMacintoshLanguage Basque ``` The basque language. ##### Catalan ``` public static final OpenTypeMacintoshLanguage Catalan ``` The catalan language. ##### Latin ``` public static final OpenTypeMacintoshLanguage Latin ``` The latin language. ##### Quechua ``` public static final OpenTypeMacintoshLanguage Quechua ``` The quechua language. ##### Guarani ``` public static final OpenTypeMacintoshLanguage Guarani ``` The guarani language. ##### Aymara ``` public static final OpenTypeMacintoshLanguage Aymara ``` The aymara language. ##### Tatar ``` public static final OpenTypeMacintoshLanguage Tatar ``` The tatar language. ##### Uighur ``` public static final OpenTypeMacintoshLanguage Uighur ``` The uighur language. ##### Dzongkha ``` public static final OpenTypeMacintoshLanguage Dzongkha ``` The dzongkha language. ##### JavaneseRoman ``` public static final OpenTypeMacintoshLanguage JavaneseRoman ``` The javanese roman language. ##### SundaneseRoman ``` public static final OpenTypeMacintoshLanguage SundaneseRoman ``` The sundanese roman language. ##### Galician ``` public static final OpenTypeMacintoshLanguage Galician ``` The galician language. ##### Afrikaans ``` public static final OpenTypeMacintoshLanguage Afrikaans ``` The afrikaans language. ##### Breton ``` public static final OpenTypeMacintoshLanguage Breton ``` The breton language. ##### Inuktitut ``` public static final OpenTypeMacintoshLanguage Inuktitut ``` The inuktitut language. ##### ScottishGaelic ``` public static final OpenTypeMacintoshLanguage ScottishGaelic ``` The scottish gaelic language. ##### ManxGaelic ``` public static final OpenTypeMacintoshLanguage ManxGaelic ``` The manx gaelic language. ##### IrishGaelicWithDotAbove ``` public static final OpenTypeMacintoshLanguage IrishGaelicWithDotAbove ``` The irish gaelic with dot above language. ##### Tongan ``` public static final OpenTypeMacintoshLanguage Tongan ``` The tongan language. ##### GreekPolytonic ``` public static final OpenTypeMacintoshLanguage GreekPolytonic ``` The greek polytonic language. ##### Greenlandic ``` public static final OpenTypeMacintoshLanguage Greenlandic ``` The greenlandic language. ##### AzerbaijaniRoman ``` public static final OpenTypeMacintoshLanguage AzerbaijaniRoman ``` The azerbaijani roman language. ##### values() ``` public static OpenTypeMacintoshLanguage[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeMacintoshLanguage[] ##### valueOf(String name) ``` public static OpenTypeMacintoshLanguage valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeMacintoshLanguage ##### getByRawValue(int rawValue) ``` public static OpenTypeMacintoshLanguage getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeMacintoshLanguage ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeMacintoshNameRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypemacintoshnamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.OpenTypeBaseNameRecord ``` public class OpenTypeMacintoshNameRecord extends OpenTypeBaseNameRecord ``` Represents the Name record table value for the OpenTypePlatform.Macintosh platform. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding identifier. | | getLanguage() | Gets the language identifier. | ##### getEncoding() ``` public final OpenTypeMacintoshEncoding getEncoding() ``` Gets the encoding identifier. **Returns:** OpenTypeMacintoshEncoding - The encoding identifier. ##### getLanguage() ``` public final OpenTypeMacintoshLanguage getLanguage() ``` Gets the language identifier. **Returns:** OpenTypeMacintoshLanguage - The language identifier. ### OpenTypeName Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypename.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeName extends Enum implements IEnumValue ``` Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. #### Fields | Field | Description | | --- | --- | | CopyrightNotice | Copyright notice. | | FontFamilyName | Font Family name. | | FontSubfamilyName | Font Subfamily name. | | UniqueFontIdentifier | Unique font identifier. | | FullFontName | Full font name that reflects all family and relevant subfamily descriptors. | | VersionString | Version string. | | PostScriptName | PostScript name for the font. | | Trademark | Trademark notice/information for this font. | | ManufacturerName | Manufacturer Name. | | Designer | Designer), name of the designer of the typeface. | | Description | Description of the typeface. | | UrlVendor | URL of font vendor (with protocol, e.g., http://, ftp://). | | UrlDesigner | URL of typeface designer (with protocol, e.g., http://, ftp://). | | LicenseDescription | Description of how the font may be legally used, or different example scenarios for licensed use. | | LicenseInfoUrl | URL where additional licensing information can be found. | | TypographicFamily | Typographic Family name. | | TypographicSubfamily | Typographic Subfamily name. | | CompatibleFull | Compatible Full (Macintosh only). | | SampleText | Sample text. | | PostScriptCidFindfont | PostScript CID findfont name. | | WwsFamilyName | WWS Family Name. | | WwsSubfamilyName | WWS Subfamily Name. | | LightBackgroundPalette | Light Background Palette. | | DarkBackgroundPalette | Dark Background Palette. | | VariationsPostScriptNamePrefix | Variations PostScript Name Prefix. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### CopyrightNotice ``` public static final OpenTypeName CopyrightNotice ``` Copyright notice. ##### FontFamilyName ``` public static final OpenTypeName FontFamilyName ``` Font Family name. ##### FontSubfamilyName ``` public static final OpenTypeName FontSubfamilyName ``` Font Subfamily name. ##### UniqueFontIdentifier ``` public static final OpenTypeName UniqueFontIdentifier ``` Unique font identifier. ##### FullFontName ``` public static final OpenTypeName FullFontName ``` Full font name that reflects all family and relevant subfamily descriptors. ##### VersionString ``` public static final OpenTypeName VersionString ``` Version string. ##### PostScriptName ``` public static final OpenTypeName PostScriptName ``` PostScript name for the font. ##### Trademark ``` public static final OpenTypeName Trademark ``` Trademark notice/information for this font. ##### ManufacturerName ``` public static final OpenTypeName ManufacturerName ``` Manufacturer Name. ##### Designer ``` public static final OpenTypeName Designer ``` Designer), name of the designer of the typeface. ##### Description ``` public static final OpenTypeName Description ``` Description of the typeface. ##### UrlVendor ``` public static final OpenTypeName UrlVendor ``` URL of font vendor (with protocol, e.g., http://, ftp://). ##### UrlDesigner ``` public static final OpenTypeName UrlDesigner ``` URL of typeface designer (with protocol, e.g., http://, ftp://). ##### LicenseDescription ``` public static final OpenTypeName LicenseDescription ``` Description of how the font may be legally used, or different example scenarios for licensed use. ##### LicenseInfoUrl ``` public static final OpenTypeName LicenseInfoUrl ``` URL where additional licensing information can be found. ##### TypographicFamily ``` public static final OpenTypeName TypographicFamily ``` Typographic Family name. ##### TypographicSubfamily ``` public static final OpenTypeName TypographicSubfamily ``` Typographic Subfamily name. ##### CompatibleFull ``` public static final OpenTypeName CompatibleFull ``` Compatible Full (Macintosh only). On the Macintosh, the menu name is constructed using the FOND resource. ##### SampleText ``` public static final OpenTypeName SampleText ``` Sample text. This can be the font name, or any other text that the designer thinks is the best sample to display the font in. ##### PostScriptCidFindfont ``` public static final OpenTypeName PostScriptCidFindfont ``` PostScript CID findfont name. ##### WwsFamilyName ``` public static final OpenTypeName WwsFamilyName ``` WWS Family Name. ##### WwsSubfamilyName ``` public static final OpenTypeName WwsSubfamilyName ``` WWS Subfamily Name. ##### LightBackgroundPalette ``` public static final OpenTypeName LightBackgroundPalette ``` Light Background Palette. ##### DarkBackgroundPalette ``` public static final OpenTypeName DarkBackgroundPalette ``` Dark Background Palette. ##### VariationsPostScriptNamePrefix ``` public static final OpenTypeName VariationsPostScriptNamePrefix ``` Variations PostScript Name Prefix. ##### values() ``` public static OpenTypeName[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeName[] ##### valueOf(String name) ``` public static OpenTypeName valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeName ##### getByRawValue(int rawValue) ``` public static OpenTypeName getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeName ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class OpenTypePackage extends CustomPackage ``` Represents an OpenType font metadata package. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getFonts() | Gets an array of the fonts extracted from the file. | ##### getFonts() ``` public final OpenTypeFont[] getFonts() ``` Gets an array of the fonts extracted from the file. **Returns:** com.groupdocs.metadata.core.OpenTypeFont[] - An array of the fonts extracted from the file. ### OpenTypePlatform Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypeplatform.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypePlatform extends Enum implements IEnumValue ``` Represents OpenType platform for Name table. #### Fields | Field | Description | | --- | --- | | Unicode | The Unicode platform. | | Macintosh | The Macintosh platform. | | Iso | The ISO [deprecated] platform. | | Windows | The Windows platform. | | Custom | The Custom platform. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unicode ``` public static final OpenTypePlatform Unicode ``` The Unicode platform. ##### Macintosh ``` public static final OpenTypePlatform Macintosh ``` The Macintosh platform. ##### Iso ``` public static final OpenTypePlatform Iso ``` The ISO [deprecated] platform. ##### Windows ``` public static final OpenTypePlatform Windows ``` The Windows platform. ##### Custom ``` public static final OpenTypePlatform Custom ``` The Custom platform. ##### values() ``` public static OpenTypePlatform[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypePlatform[] ##### valueOf(String name) ``` public static OpenTypePlatform valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypePlatform ##### getByRawValue(int rawValue) ``` public static OpenTypePlatform getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypePlatform ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentyperootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class OpenTypeRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in an OpenType font file. This example shows how to read OpenType font metadata. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputTtf)) { > OpenTypeRootPackage root = metadata.getRootPackageGeneric(); > // Read the OpenType font metadata > for (OpenTypeFont metadataEntry : root.getOpenTypePackage().getFonts()) { > // Display the values of some metadata properties > System.out.println(metadataEntry.getCreated()); > System.out.println(metadataEntry.getDirectionHint()); > System.out.println(metadataEntry.getEmbeddingLicensingRights()); > System.out.println(metadataEntry.getFlags()); > System.out.println(metadataEntry.getFontFamilyName()); > System.out.println(metadataEntry.getFontRevision()); > System.out.println(metadataEntry.getFontSubfamilyName()); > System.out.println(metadataEntry.getFullFontName()); > System.out.println(metadataEntry.getGlyphBounds()); > System.out.println(metadataEntry.getMajorVersion()); > System.out.println(metadataEntry.getMinorVersion()); > System.out.println(metadataEntry.getModified()); > System.out.println(metadataEntry.getSfntVersion()); > System.out.println(metadataEntry.getStyle()); > System.out.println(metadataEntry.getTypographicFamily()); > System.out.println(metadataEntry.getTypographicSubfamily()); > System.out.println(metadataEntry.getWeight()); > System.out.println(metadataEntry.getWidth()); > for (OpenTypeBaseNameRecord nameRecord : metadataEntry.getNames()) { > System.out.println(nameRecord.getNameID()); > System.out.println(nameRecord.getPlatform()); > System.out.println(nameRecord.getValue()); > if (nameRecord instanceof OpenTypeMacintoshNameRecord) { > OpenTypeMacintoshNameRecord macintoshNameRecord = (OpenTypeMacintoshNameRecord) nameRecord; > System.out.println(macintoshNameRecord.getEncoding()); > System.out.println(macintoshNameRecord.getLanguage()); > } else { > if (nameRecord instanceof OpenTypeUnicodeNameRecord) { > OpenTypeUnicodeNameRecord unicodeNameRecord = (OpenTypeUnicodeNameRecord) nameRecord; > System.out.println(unicodeNameRecord.getEncoding()); > } else { > if (nameRecord instanceof OpenTypeWindowsNameRecord) { > OpenTypeWindowsNameRecord windowsNameRecord = (OpenTypeWindowsNameRecord) nameRecord; > System.out.println(windowsNameRecord.getEncoding()); > System.out.println(windowsNameRecord.getLanguage()); > } > } > } > } > } > } > > ``` > ``` [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getOpenTypePackage() | Gets the OpenType metadata package. | | getDigitalSignaturePackage() | Gets the digital signature metadata package. | ##### getOpenTypePackage() ``` public final OpenTypePackage getOpenTypePackage() ``` Gets the OpenType metadata package. **Returns:** OpenTypePackage - The OpenType metadata package. ##### getDigitalSignaturePackage() ``` public final CmsPackage getDigitalSignaturePackage() ``` Gets the digital signature metadata package. **Returns:** CmsPackage - The digital signature metadata package. ### OpenTypeStyles Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypestyles.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class OpenTypeStyles implements IEnumValue ``` Represents the OpenType font style. #### Fields | Field | Description | | --- | --- | | Regular | Normal text. | | Bold | Bold text. | | Italic | Italic text. | | Underline | Underlined text. | | Outline | Outline text. | | Shadow | Shadow text. | | Condensed | Condensed text. | | Extended | Extended text. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Regular ``` public static final OpenTypeStyles Regular ``` Normal text. ##### Bold ``` public static final OpenTypeStyles Bold ``` Bold text. ##### Italic ``` public static final OpenTypeStyles Italic ``` Italic text. ##### Underline ``` public static final OpenTypeStyles Underline ``` Underlined text. ##### Outline ``` public static final OpenTypeStyles Outline ``` Outline text. ##### Shadow ``` public static final OpenTypeStyles Shadow ``` Shadow text. ##### Condensed ``` public static final OpenTypeStyles Condensed ``` Condensed text. ##### Extended ``` public static final OpenTypeStyles Extended ``` Extended text. ##### getByRawValue(int rawValue) ``` public static OpenTypeStyles getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeStyles ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### OpenTypeUnicodeEncoding Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypeunicodeencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeUnicodeEncoding extends Enum implements IEnumValue ``` Represents encoding for OpenTypePlatform.Unicode platform. #### Fields | Field | Description | | --- | --- | | Unicode10 | Unicode 1.0 semantics. | | Unicode11 | Unicode 1.1 semantics. | | Iso | ISO/IEC 10646 semantics. | | Unicode20Bmp | Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6). | | Unicode20Full | Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12). | | UnicodeVariation | Unicode Variation Sequences ('cmap' subtable format 14). | | UnicodeFull | Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13). | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unicode10 ``` public static final OpenTypeUnicodeEncoding Unicode10 ``` Unicode 1.0 semantics. ##### Unicode11 ``` public static final OpenTypeUnicodeEncoding Unicode11 ``` Unicode 1.1 semantics. ##### Iso ``` public static final OpenTypeUnicodeEncoding Iso ``` ISO/IEC 10646 semantics. ##### Unicode20Bmp ``` public static final OpenTypeUnicodeEncoding Unicode20Bmp ``` Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6). ##### Unicode20Full ``` public static final OpenTypeUnicodeEncoding Unicode20Full ``` Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12). ##### UnicodeVariation ``` public static final OpenTypeUnicodeEncoding UnicodeVariation ``` Unicode Variation Sequences ('cmap' subtable format 14). ##### UnicodeFull ``` public static final OpenTypeUnicodeEncoding UnicodeFull ``` Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13). ##### values() ``` public static OpenTypeUnicodeEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeUnicodeEncoding[] ##### valueOf(String name) ``` public static OpenTypeUnicodeEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeUnicodeEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeUnicodeEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeUnicodeEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeUnicodeNameRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypeunicodenamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.OpenTypeBaseNameRecord ``` public class OpenTypeUnicodeNameRecord extends OpenTypeBaseNameRecord ``` Represents the Name record table value for the OpenTypePlatform.Unicode platform. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding identifier. | ##### getEncoding() ``` public final OpenTypeUnicodeEncoding getEncoding() ``` Gets the encoding identifier. **Returns:** OpenTypeUnicodeEncoding - The encoding identifier. ### OpenTypeVersion Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypeversion.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeVersion extends Enum implements IEnumValue ``` Represents the OpenType version. #### Fields | Field | Description | | --- | --- | | TrueType | The TrueType font. | | Cff | The OpenType font with PostScript outlines. | | TrueTypeOsX | The OS X and iOS TrueType font. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### TrueType ``` public static final OpenTypeVersion TrueType ``` The TrueType font. ##### Cff ``` public static final OpenTypeVersion Cff ``` The OpenType font with PostScript outlines. ##### TrueTypeOsX ``` public static final OpenTypeVersion TrueTypeOsX ``` The OS X and iOS TrueType font. ##### values() ``` public static OpenTypeVersion[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeVersion[] ##### valueOf(String name) ``` public static OpenTypeVersion valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeVersion ##### getByRawValue(int rawValue) ``` public static OpenTypeVersion getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeVersion ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWeight Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypeweight.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWeight extends Enum implements IEnumValue ``` Represents the OpenType font weight. Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the font. Values from 1 to 1000 are valid. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined weight. | | Thin | The Thin weight. | | ExtraLight | The Extra-light (Ultra-light) weight. | | Light | The Light weight. | | Normal | The Normal (Regular) weight. | | Medium | The Medium weight. | | SemiBold | The Semi-bold (Demi-bold) weight. | | Bold | The Bold weight. | | ExtraBold | The Extra-bold (Ultra-bold) weight. | | Heavy | The Black (Heavy) weight. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final OpenTypeWeight Undefined ``` The undefined weight. ##### Thin ``` public static final OpenTypeWeight Thin ``` The Thin weight. ##### ExtraLight ``` public static final OpenTypeWeight ExtraLight ``` The Extra-light (Ultra-light) weight. ##### Light ``` public static final OpenTypeWeight Light ``` The Light weight. ##### Normal ``` public static final OpenTypeWeight Normal ``` The Normal (Regular) weight. ##### Medium ``` public static final OpenTypeWeight Medium ``` The Medium weight. ##### SemiBold ``` public static final OpenTypeWeight SemiBold ``` The Semi-bold (Demi-bold) weight. ##### Bold ``` public static final OpenTypeWeight Bold ``` The Bold weight. ##### ExtraBold ``` public static final OpenTypeWeight ExtraBold ``` The Extra-bold (Ultra-bold) weight. ##### Heavy ``` public static final OpenTypeWeight Heavy ``` The Black (Heavy) weight. ##### values() ``` public static OpenTypeWeight[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWeight[] ##### valueOf(String name) ``` public static OpenTypeWeight valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWeight ##### getByRawValue(int rawValue) ``` public static OpenTypeWeight getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWeight ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWidth Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypewidth.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWidth extends Enum implements IEnumValue ``` Represents the OpenType font width. Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a font. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined wifth. | | UltraCondensed | The Ultra-condensed wifth. | | ExtraCondensed | The Extra-condensed wifth. | | Condensed | The Condensed wifth. | | SemiCondensed | The Semi-condensed wifth. | | Medium | The Medium (normal) wifth. | | SemiExpanded | The Semi-expanded wifth. | | Expanded | The Expanded wifth. | | ExtraExpanded | The Extra-expanded wifth. | | UltraExpanded | The Ultra-expanded wifth. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final OpenTypeWidth Undefined ``` The undefined wifth. ##### UltraCondensed ``` public static final OpenTypeWidth UltraCondensed ``` The Ultra-condensed wifth. ##### ExtraCondensed ``` public static final OpenTypeWidth ExtraCondensed ``` The Extra-condensed wifth. ##### Condensed ``` public static final OpenTypeWidth Condensed ``` The Condensed wifth. ##### SemiCondensed ``` public static final OpenTypeWidth SemiCondensed ``` The Semi-condensed wifth. ##### Medium ``` public static final OpenTypeWidth Medium ``` The Medium (normal) wifth. ##### SemiExpanded ``` public static final OpenTypeWidth SemiExpanded ``` The Semi-expanded wifth. ##### Expanded ``` public static final OpenTypeWidth Expanded ``` The Expanded wifth. ##### ExtraExpanded ``` public static final OpenTypeWidth ExtraExpanded ``` The Extra-expanded wifth. ##### UltraExpanded ``` public static final OpenTypeWidth UltraExpanded ``` The Ultra-expanded wifth. ##### values() ``` public static OpenTypeWidth[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWidth[] ##### valueOf(String name) ``` public static OpenTypeWidth valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWidth ##### getByRawValue(int rawValue) ``` public static OpenTypeWidth getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWidth ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWindowsEncoding Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypewindowsencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWindowsEncoding extends Enum implements IEnumValue ``` Represents encoding for the OpenTypePlatform.Windows platform. #### Fields | Field | Description | | --- | --- | | Symbol | The Symbol encoding. | | UnicodeBmp | The Unicode BMP encoding. | | ShiftJis | The ShiftJIS encoding. | | Prc | The PRC encoding. | | Big5 | The Big5 encoding. | | Wansung | The Wansung encoding. | | Johab | The Johab encoding. | | UnicodeFull | The Unicode full repertoire encoding. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Symbol ``` public static final OpenTypeWindowsEncoding Symbol ``` The Symbol encoding. ##### UnicodeBmp ``` public static final OpenTypeWindowsEncoding UnicodeBmp ``` The Unicode BMP encoding. ##### ShiftJis ``` public static final OpenTypeWindowsEncoding ShiftJis ``` The ShiftJIS encoding. ##### Prc ``` public static final OpenTypeWindowsEncoding Prc ``` The PRC encoding. ##### Big5 ``` public static final OpenTypeWindowsEncoding Big5 ``` The Big5 encoding. ##### Wansung ``` public static final OpenTypeWindowsEncoding Wansung ``` The Wansung encoding. ##### Johab ``` public static final OpenTypeWindowsEncoding Johab ``` The Johab encoding. ##### UnicodeFull ``` public static final OpenTypeWindowsEncoding UnicodeFull ``` The Unicode full repertoire encoding. ##### values() ``` public static OpenTypeWindowsEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWindowsEncoding[] ##### valueOf(String name) ``` public static OpenTypeWindowsEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWindowsEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeWindowsEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWindowsEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWindowsLanguage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypewindowslanguage.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWindowsLanguage extends Enum implements IEnumValue ``` Represents language for OpenTypePlatform.Windows platform. #### Fields | Field | Description | | --- | --- | | Unknown | The unknown language. | | AfrikaansSouthAfrica | The afrikaans south africa language. | | AlbanianAlbania | The albanian Albania language. | | AlsatianFrance | The alsatian France language. | | AmharicEthiopia | The amharic Rthiopia language. | | ArabicAlgeria | The arabic Algeria language. | | ArabicBahrain | The arabic Bahrain language. | | ArabicEgypt | The arabic Egypt language. | | ArabicIraq | The arabic Iraq language. | | ArabicJordan | The arabic Jordan language. | | ArabicKuwait | The arabic Kuwait language. | | ArabicLebanon | The arabic Lebanon language. | | ArabicLibya | The arabic Libya language. | | ArabicMorocco | The arabic Morocco language. | | ArabicOman | The arabic Oman language. | | ArabicQatar | The arabic Qatar language. | | ArabicSaudiArabia | The arabic Saudi Arabia language. | | ArabicSyria | The arabic Syria language. | | ArabicTunisia | The arabic Tunisia language. | | ArabicUae | The arabic UAE language. | | ArabicYemen | The arabic Yemen language. | | ArmenianArmenia | The armenian Armenia language. | | AssameseIndia | The assamese India language. | | AzeriCyrillicAzerbaijan | The azeri cyrillic Azerbaijan language. | | AzeriLatinAzerbaijan | The azeri latin Azerbaijan language. | | BashkirRussia | The bashkir Russia language. | | BasqueBasque | The basque Basque language. | | BelarusianBelarus | The belarusian Belarus language. | | BengaliBangladesh | The bengali Bangladesh language. | | BengaliIndia | The bengali India language. | | BosnianLatinBosniaAndHerzegovina | The bosnian latin Bosnia and Herzegovina language. | | BretonFrance | The breton France language. | | BulgarianBulgaria | The bulgarian Bulgaria language. | | CatalanCatalan | The catalan Catalan language. | | ChineseHongKongSar | The chinese Hong Kong SAR language. | | ChineseMacaoSar | The chinese Macao SAR language. | | ChinesePeoplesRepublicOfChina | The chinese Peoples Republic of China language. | | ChineseSingapore | The chinese Singapore language. | | ChineseTaiwan | The chinese Taiwan language. | | CorsicanFrance | The corsican France language. | | CroatianCroatia | The croatian Croatia language. | | CroatianLatinBosniaAndHerzegovina | The croatian latin Bosnia and Herzegovina language. | | CzechCzechRepublic | The czech Czech Republic language. | | DanishDenmark | The danish Denmark language. | | DariAfghanistan | The dari Afghanistan language. | | DivehiMaldives | The divehi Maldives language. | | DutchBelgium | The dutch Belgium language. | | DutchNetherlands | The dutch Netherlands language. | | EnglishAustralia | The english Australia language. | | EnglishBelize | The english Belize language. | | EnglishCanada | The english Canada language. | | EnglishCaribbean | The english Caribbean language. | | EnglishIndia | The english India language. | | EnglishIreland | The english Ireland language. | | EnglishJamaica | The english Jamaica language. | | EnglishMalaysia | The english Malaysia language. | | EnglishNewZealand | The english New Zealand language. | | EnglishRepublicOfThePhilippines | The english Republic of the Philippines language. | | EnglishSingapore | The english Singapore language. | | EnglishSouthAfrica | The english south africa language. | | EnglishTrinidadAndTobago | The english Trinidad and Tobago language. | | EnglishUnitedKingdom | The english United Kingdom language. | | EnglishUnitedStates | The english United States language. | | EnglishZimbabwe | The english Zimbabwe language. | | EstonianEstonia | The estonian Estonia language. | | FaroeseFaroeIslands | The faroese Faroe Islands language. | | FilipinoPhilippines | The filipino Philippines language. | | FinnishFinland | The finnish Finland language. | | FrenchBelgium | The french Belgium language. | | FrenchCanada | The french Canada language. | | FrenchFrance | The french France language. | | FrenchLuxembourg | The french Luxembourg language. | | FrenchPrincipalityOfMonaco | The french Principality of Monaco language. | | FrenchSwitzerland | The french Switzerland language. | | FrisianNetherlands | The frisian Netherlands language. | | GalicianGalician | The galician Galician language. | | GeorgianGeorgia | The georgian Georgia language. | | GermanAustria | The german Austria language. | | GermanGermany | The german Germany language. | | GermanLiechtenstein | The german Liechtenstein language. | | GermanLuxembourg | The german Luxembourg language. | | GermanSwitzerland | The german Switzerland language. | | GreekGreece | The greek Greece language. | | GreenlandicGreenland | The greenlandic Greenland language. | | GujaratiIndia | The gujarati India language. | | HausaLatinNigeria | The hausa latin Nigeria language. | | HebrewIsrael | The hebrew Israel language. | | HindiIndia | The hindi India language. | | HungarianHungary | The hungarian Hungary language. | | IcelandicIceland | The icelandic Iceland language. | | IgboNigeria | The igbo Nigeria language. | | IndonesianIndonesia | The indonesian Indonesia language. | | InuktitutCanada | The inuktitut Canada language. | | InuktitutLatinCanada | The inuktitut latin Canada language. | | IrishIreland | The irish Ireland language. | | IsiXhosaSouthAfrica | The isi xhosa South Africa language. | | IsiZuluSouthAfrica | The isi zulu South Africa language. | | ItalianItaly | The italian Italy language. | | ItalianSwitzerland | The italian Switzerland language. | | JapaneseJapan | The japanese Japan language. | | KannadaIndia | The kannada India language. | | KazakhKazakhstan | The kazakh Kazakhstan language. | | KhmerCambodia | The khmer Cambodia language. | | KicheGuatemala | The kiche Guatemala language. | | KinyarwandaRwanda | The kinyarwanda Rwanda language. | | KiswahiliKenya | The kiswahili Kenya language. | | KonkaniIndia | The konkani India language. | | KoreanKorea | The korean Korea language. | | KyrgyzKyrgyzstan | The kyrgyz Kyrgyzstan language. | | LaoLaoPdr | The lao lao PDR language. | | LatvianLatvia | The latvian Latvia language. | | LithuanianLithuania | The lithuanian Lithuania language. | | LowerSorbianGermany | The lower sorbian Germany language. | | LuxembourgishLuxembourg | The luxembourgish Luxembourg language. | | MacedonianFyromFormerYugoslavRepublicOfMacedonia | The macedonian fyrom former Yugoslav Republic of Macedonia language. | | MalayBruneiDarussalam | The malay brunei Darussalam language. | | MalayMalaysia | The malay Malaysia language. | | MalayalamIndia | The malayalam India language. | | MalteseMalta | The maltese Malta language. | | MaoriNewZealand | The maori New Zealand language. | | MapudungunChile | The mapudungun Chile language. | | MarathiIndia | The marathi India language. | | MohawkMohawk | The mohawk Mohawk language. | | MongolianCyrillicMongolia | The mongolian cyrillic Mongolia language. | | MongolianTraditionalPeoplesRepublicOfChina | The mongolian traditional Peoples Republic of China language. | | NepaliNepal | The nepali Nepal language. | | NorwegianBokmalNorway | The norwegian bokmal Norway language. | | NorwegianNynorskNorway | The norwegian nynorsk Norway language. | | OccitanFrance | The occitan France language. | | OdiaFormerlyOriyaIndia | The odia formerly oriya India language. | | PashtoAfghanistan | The pashto Afghanistan language. | | PolishPoland | The polish Poland language. | | PortugueseBrazil | The portuguese Brazil language. | | PortuguesePortugal | The portuguese Portugal language. | | PunjabiIndia | The punjabi India language. | | QuechuaBolivia | The quechua Bolivia language. | | QuechuaEcuador | The quechua Ecuador language. | | QuechuaPeru | The quechua Peru language. | | RomanianRomania | The romanian Romania language. | | RomanshSwitzerland | The romansh Switzerland language. | | RussianRussia | The russian Russia language. | | SamiInariFinland | The sami inari Finland language. | | SamiLuleNorway | The sami lule Norway language. | | SamiLuleSweden | The sami lule Sweden language. | | SamiNorthernFinland | The sami northern Finland language. | | SamiNorthernNorway | The sami northern Norway language. | | SamiNorthernSweden | The sami northern Sweden language. | | SamiSkoltFinland | The sami skolt Finland language. | | SamiSouthernNorway | The sami southern Norway language. | | SamiSouthernSweden | The sami southern Sweden language. | | SanskritIndia | The sanskrit India language. | | SerbianCyrillicBosniaAndHerzegovina | The serbian cyrillic Bosnia and Herzegovina language. | | SerbianCyrillicSerbia | The serbian cyrillic Serbia language. | | SerbianLatinBosniaAndHerzegovina | The serbian latin Bosnia and Herzegovina language. | | SerbianLatinSerbia | The serbian latin Serbia language. | | SesothoSaLeboaSouthAfrica | The sesotho sa leboa South Africa language. | | SetswanaSouthAfrica | The setswana South Africa language. | | SinhalaSriLanka | The sinhala Sri Lanka language. | | SlovakSlovakia | The slovak Slovakia language. | | SlovenianSlovenia | The slovenian Slovenia language. | | SpanishArgentina | The spanish Argentina language. | | SpanishBolivia | The spanish Bolivia language. | | SpanishChile | The spanish Chile language. | | SpanishColombia | The spanish Colombia language. | | SpanishCostaRica | The spanish Costa Rica language. | | SpanishDominicanRepublic | The spanish Dominican Republic language. | | SpanishEcuador | The spanish Ecuador language. | | SpanishElSalvador | The spanish El Salvador language. | | SpanishGuatemala | The spanish Guatemala language. | | SpanishHonduras | The spanish Honduras language. | | SpanishMexico | The spanish Mexico language. | | SpanishNicaragua | The spanish Nicaragua language. | | SpanishPanama | The spanish Panama language. | | SpanishParaguay | The spanish Paraguay language. | | SpanishPeru | The spanish Peru language. | | SpanishPuertoRico | The spanish Puerto Rico language. | | SpanishModernSortSpain | The spanish modern sort Spain language. | | SpanishTraditionalSortSpain | The spanish traditional sort Spain language. | | SpanishUnitedStates | The spanish United States language. | | SpanishUruguay | The spanish Uruguay language. | | SpanishVenezuela | The spanish Venezuela language. | | SwedenFinland | The sweden Finland language. | | SwedishSweden | The swedish Sweden language. | | SyriacSyria | The syriac Syria language. | | TajikCyrillicTajikistan | The tajik cyrillic tajikistan language. | | TamazightLatinAlgeria | The tamazight latin Algeria language. | | TamilIndia | The tamil India language. | | TatarRussia | The tatar Russia language. | | TeluguIndia | The telugu India language. | | ThaiThailand | The thai Thailand language. | | TibetanPrc | The tibetan PRC language. | | TurkishTurkey | The turkish Turkey language. | | TurkmenTurkmenistan | The turkmen Turkmenistan language. | | UighurPrc | The uighur PRC language. | | UkrainianUkraine | The ukrainian Ukraine language. | | UpperSorbianGermany | The upper sorbian Germany language. | | UrduIslamicRepublicOfPakistan | The urdu Islamic Republic of Pakistan language. | | UzbekCyrillicUzbekistan | The uzbek cyrillic Uzbekistan language. | | UzbekLatinUzbekistan | The uzbek latin Uzbekistan language. | | VietnameseVietnam | The vietnamese Vietnam language. | | WelshUnitedKingdom | The welsh United Kingdom language. | | WolofSenegal | The wolof Senegal language. | | YakutRussia | The yakut Russia language. | | YiPrc | The yi PRC language. | | YorubaNigeria | The yoruba Nigeria language. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final OpenTypeWindowsLanguage Unknown ``` The unknown language. ##### AfrikaansSouthAfrica ``` public static final OpenTypeWindowsLanguage AfrikaansSouthAfrica ``` The afrikaans south africa language. ##### AlbanianAlbania ``` public static final OpenTypeWindowsLanguage AlbanianAlbania ``` The albanian Albania language. ##### AlsatianFrance ``` public static final OpenTypeWindowsLanguage AlsatianFrance ``` The alsatian France language. ##### AmharicEthiopia ``` public static final OpenTypeWindowsLanguage AmharicEthiopia ``` The amharic Rthiopia language. ##### ArabicAlgeria ``` public static final OpenTypeWindowsLanguage ArabicAlgeria ``` The arabic Algeria language. ##### ArabicBahrain ``` public static final OpenTypeWindowsLanguage ArabicBahrain ``` The arabic Bahrain language. ##### ArabicEgypt ``` public static final OpenTypeWindowsLanguage ArabicEgypt ``` The arabic Egypt language. ##### ArabicIraq ``` public static final OpenTypeWindowsLanguage ArabicIraq ``` The arabic Iraq language. ##### ArabicJordan ``` public static final OpenTypeWindowsLanguage ArabicJordan ``` The arabic Jordan language. ##### ArabicKuwait ``` public static final OpenTypeWindowsLanguage ArabicKuwait ``` The arabic Kuwait language. ##### ArabicLebanon ``` public static final OpenTypeWindowsLanguage ArabicLebanon ``` The arabic Lebanon language. ##### ArabicLibya ``` public static final OpenTypeWindowsLanguage ArabicLibya ``` The arabic Libya language. ##### ArabicMorocco ``` public static final OpenTypeWindowsLanguage ArabicMorocco ``` The arabic Morocco language. ##### ArabicOman ``` public static final OpenTypeWindowsLanguage ArabicOman ``` The arabic Oman language. ##### ArabicQatar ``` public static final OpenTypeWindowsLanguage ArabicQatar ``` The arabic Qatar language. ##### ArabicSaudiArabia ``` public static final OpenTypeWindowsLanguage ArabicSaudiArabia ``` The arabic Saudi Arabia language. ##### ArabicSyria ``` public static final OpenTypeWindowsLanguage ArabicSyria ``` The arabic Syria language. ##### ArabicTunisia ``` public static final OpenTypeWindowsLanguage ArabicTunisia ``` The arabic Tunisia language. ##### ArabicUae ``` public static final OpenTypeWindowsLanguage ArabicUae ``` The arabic UAE language. ##### ArabicYemen ``` public static final OpenTypeWindowsLanguage ArabicYemen ``` The arabic Yemen language. ##### ArmenianArmenia ``` public static final OpenTypeWindowsLanguage ArmenianArmenia ``` The armenian Armenia language. ##### AssameseIndia ``` public static final OpenTypeWindowsLanguage AssameseIndia ``` The assamese India language. ##### AzeriCyrillicAzerbaijan ``` public static final OpenTypeWindowsLanguage AzeriCyrillicAzerbaijan ``` The azeri cyrillic Azerbaijan language. ##### AzeriLatinAzerbaijan ``` public static final OpenTypeWindowsLanguage AzeriLatinAzerbaijan ``` The azeri latin Azerbaijan language. ##### BashkirRussia ``` public static final OpenTypeWindowsLanguage BashkirRussia ``` The bashkir Russia language. ##### BasqueBasque ``` public static final OpenTypeWindowsLanguage BasqueBasque ``` The basque Basque language. ##### BelarusianBelarus ``` public static final OpenTypeWindowsLanguage BelarusianBelarus ``` The belarusian Belarus language. ##### BengaliBangladesh ``` public static final OpenTypeWindowsLanguage BengaliBangladesh ``` The bengali Bangladesh language. ##### BengaliIndia ``` public static final OpenTypeWindowsLanguage BengaliIndia ``` The bengali India language. ##### BosnianLatinBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage BosnianLatinBosniaAndHerzegovina ``` The bosnian latin Bosnia and Herzegovina language. ##### BretonFrance ``` public static final OpenTypeWindowsLanguage BretonFrance ``` The breton France language. ##### BulgarianBulgaria ``` public static final OpenTypeWindowsLanguage BulgarianBulgaria ``` The bulgarian Bulgaria language. ##### CatalanCatalan ``` public static final OpenTypeWindowsLanguage CatalanCatalan ``` The catalan Catalan language. ##### ChineseHongKongSar ``` public static final OpenTypeWindowsLanguage ChineseHongKongSar ``` The chinese Hong Kong SAR language. ##### ChineseMacaoSar ``` public static final OpenTypeWindowsLanguage ChineseMacaoSar ``` The chinese Macao SAR language. ##### ChinesePeoplesRepublicOfChina ``` public static final OpenTypeWindowsLanguage ChinesePeoplesRepublicOfChina ``` The chinese Peoples Republic of China language. ##### ChineseSingapore ``` public static final OpenTypeWindowsLanguage ChineseSingapore ``` The chinese Singapore language. ##### ChineseTaiwan ``` public static final OpenTypeWindowsLanguage ChineseTaiwan ``` The chinese Taiwan language. ##### CorsicanFrance ``` public static final OpenTypeWindowsLanguage CorsicanFrance ``` The corsican France language. ##### CroatianCroatia ``` public static final OpenTypeWindowsLanguage CroatianCroatia ``` The croatian Croatia language. ##### CroatianLatinBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage CroatianLatinBosniaAndHerzegovina ``` The croatian latin Bosnia and Herzegovina language. ##### CzechCzechRepublic ``` public static final OpenTypeWindowsLanguage CzechCzechRepublic ``` The czech Czech Republic language. ##### DanishDenmark ``` public static final OpenTypeWindowsLanguage DanishDenmark ``` The danish Denmark language. ##### DariAfghanistan ``` public static final OpenTypeWindowsLanguage DariAfghanistan ``` The dari Afghanistan language. ##### DivehiMaldives ``` public static final OpenTypeWindowsLanguage DivehiMaldives ``` The divehi Maldives language. ##### DutchBelgium ``` public static final OpenTypeWindowsLanguage DutchBelgium ``` The dutch Belgium language. ##### DutchNetherlands ``` public static final OpenTypeWindowsLanguage DutchNetherlands ``` The dutch Netherlands language. ##### EnglishAustralia ``` public static final OpenTypeWindowsLanguage EnglishAustralia ``` The english Australia language. ##### EnglishBelize ``` public static final OpenTypeWindowsLanguage EnglishBelize ``` The english Belize language. ##### EnglishCanada ``` public static final OpenTypeWindowsLanguage EnglishCanada ``` The english Canada language. ##### EnglishCaribbean ``` public static final OpenTypeWindowsLanguage EnglishCaribbean ``` The english Caribbean language. ##### EnglishIndia ``` public static final OpenTypeWindowsLanguage EnglishIndia ``` The english India language. ##### EnglishIreland ``` public static final OpenTypeWindowsLanguage EnglishIreland ``` The english Ireland language. ##### EnglishJamaica ``` public static final OpenTypeWindowsLanguage EnglishJamaica ``` The english Jamaica language. ##### EnglishMalaysia ``` public static final OpenTypeWindowsLanguage EnglishMalaysia ``` The english Malaysia language. ##### EnglishNewZealand ``` public static final OpenTypeWindowsLanguage EnglishNewZealand ``` The english New Zealand language. ##### EnglishRepublicOfThePhilippines ``` public static final OpenTypeWindowsLanguage EnglishRepublicOfThePhilippines ``` The english Republic of the Philippines language. ##### EnglishSingapore ``` public static final OpenTypeWindowsLanguage EnglishSingapore ``` The english Singapore language. ##### EnglishSouthAfrica ``` public static final OpenTypeWindowsLanguage EnglishSouthAfrica ``` The english south africa language. ##### EnglishTrinidadAndTobago ``` public static final OpenTypeWindowsLanguage EnglishTrinidadAndTobago ``` The english Trinidad and Tobago language. ##### EnglishUnitedKingdom ``` public static final OpenTypeWindowsLanguage EnglishUnitedKingdom ``` The english United Kingdom language. ##### EnglishUnitedStates ``` public static final OpenTypeWindowsLanguage EnglishUnitedStates ``` The english United States language. ##### EnglishZimbabwe ``` public static final OpenTypeWindowsLanguage EnglishZimbabwe ``` The english Zimbabwe language. ##### EstonianEstonia ``` public static final OpenTypeWindowsLanguage EstonianEstonia ``` The estonian Estonia language. ##### FaroeseFaroeIslands ``` public static final OpenTypeWindowsLanguage FaroeseFaroeIslands ``` The faroese Faroe Islands language. ##### FilipinoPhilippines ``` public static final OpenTypeWindowsLanguage FilipinoPhilippines ``` The filipino Philippines language. ##### FinnishFinland ``` public static final OpenTypeWindowsLanguage FinnishFinland ``` The finnish Finland language. ##### FrenchBelgium ``` public static final OpenTypeWindowsLanguage FrenchBelgium ``` The french Belgium language. ##### FrenchCanada ``` public static final OpenTypeWindowsLanguage FrenchCanada ``` The french Canada language. ##### FrenchFrance ``` public static final OpenTypeWindowsLanguage FrenchFrance ``` The french France language. ##### FrenchLuxembourg ``` public static final OpenTypeWindowsLanguage FrenchLuxembourg ``` The french Luxembourg language. ##### FrenchPrincipalityOfMonaco ``` public static final OpenTypeWindowsLanguage FrenchPrincipalityOfMonaco ``` The french Principality of Monaco language. ##### FrenchSwitzerland ``` public static final OpenTypeWindowsLanguage FrenchSwitzerland ``` The french Switzerland language. ##### FrisianNetherlands ``` public static final OpenTypeWindowsLanguage FrisianNetherlands ``` The frisian Netherlands language. ##### GalicianGalician ``` public static final OpenTypeWindowsLanguage GalicianGalician ``` The galician Galician language. ##### GeorgianGeorgia ``` public static final OpenTypeWindowsLanguage GeorgianGeorgia ``` The georgian Georgia language. ##### GermanAustria ``` public static final OpenTypeWindowsLanguage GermanAustria ``` The german Austria language. ##### GermanGermany ``` public static final OpenTypeWindowsLanguage GermanGermany ``` The german Germany language. ##### GermanLiechtenstein ``` public static final OpenTypeWindowsLanguage GermanLiechtenstein ``` The german Liechtenstein language. ##### GermanLuxembourg ``` public static final OpenTypeWindowsLanguage GermanLuxembourg ``` The german Luxembourg language. ##### GermanSwitzerland ``` public static final OpenTypeWindowsLanguage GermanSwitzerland ``` The german Switzerland language. ##### GreekGreece ``` public static final OpenTypeWindowsLanguage GreekGreece ``` The greek Greece language. ##### GreenlandicGreenland ``` public static final OpenTypeWindowsLanguage GreenlandicGreenland ``` The greenlandic Greenland language. ##### GujaratiIndia ``` public static final OpenTypeWindowsLanguage GujaratiIndia ``` The gujarati India language. ##### HausaLatinNigeria ``` public static final OpenTypeWindowsLanguage HausaLatinNigeria ``` The hausa latin Nigeria language. ##### HebrewIsrael ``` public static final OpenTypeWindowsLanguage HebrewIsrael ``` The hebrew Israel language. ##### HindiIndia ``` public static final OpenTypeWindowsLanguage HindiIndia ``` The hindi India language. ##### HungarianHungary ``` public static final OpenTypeWindowsLanguage HungarianHungary ``` The hungarian Hungary language. ##### IcelandicIceland ``` public static final OpenTypeWindowsLanguage IcelandicIceland ``` The icelandic Iceland language. ##### IgboNigeria ``` public static final OpenTypeWindowsLanguage IgboNigeria ``` The igbo Nigeria language. ##### IndonesianIndonesia ``` public static final OpenTypeWindowsLanguage IndonesianIndonesia ``` The indonesian Indonesia language. ##### InuktitutCanada ``` public static final OpenTypeWindowsLanguage InuktitutCanada ``` The inuktitut Canada language. ##### InuktitutLatinCanada ``` public static final OpenTypeWindowsLanguage InuktitutLatinCanada ``` The inuktitut latin Canada language. ##### IrishIreland ``` public static final OpenTypeWindowsLanguage IrishIreland ``` The irish Ireland language. ##### IsiXhosaSouthAfrica ``` public static final OpenTypeWindowsLanguage IsiXhosaSouthAfrica ``` The isi xhosa South Africa language. ##### IsiZuluSouthAfrica ``` public static final OpenTypeWindowsLanguage IsiZuluSouthAfrica ``` The isi zulu South Africa language. ##### ItalianItaly ``` public static final OpenTypeWindowsLanguage ItalianItaly ``` The italian Italy language. ##### ItalianSwitzerland ``` public static final OpenTypeWindowsLanguage ItalianSwitzerland ``` The italian Switzerland language. ##### JapaneseJapan ``` public static final OpenTypeWindowsLanguage JapaneseJapan ``` The japanese Japan language. ##### KannadaIndia ``` public static final OpenTypeWindowsLanguage KannadaIndia ``` The kannada India language. ##### KazakhKazakhstan ``` public static final OpenTypeWindowsLanguage KazakhKazakhstan ``` The kazakh Kazakhstan language. ##### KhmerCambodia ``` public static final OpenTypeWindowsLanguage KhmerCambodia ``` The khmer Cambodia language. ##### KicheGuatemala ``` public static final OpenTypeWindowsLanguage KicheGuatemala ``` The kiche Guatemala language. ##### KinyarwandaRwanda ``` public static final OpenTypeWindowsLanguage KinyarwandaRwanda ``` The kinyarwanda Rwanda language. ##### KiswahiliKenya ``` public static final OpenTypeWindowsLanguage KiswahiliKenya ``` The kiswahili Kenya language. ##### KonkaniIndia ``` public static final OpenTypeWindowsLanguage KonkaniIndia ``` The konkani India language. ##### KoreanKorea ``` public static final OpenTypeWindowsLanguage KoreanKorea ``` The korean Korea language. ##### KyrgyzKyrgyzstan ``` public static final OpenTypeWindowsLanguage KyrgyzKyrgyzstan ``` The kyrgyz Kyrgyzstan language. ##### LaoLaoPdr ``` public static final OpenTypeWindowsLanguage LaoLaoPdr ``` The lao lao PDR language. ##### LatvianLatvia ``` public static final OpenTypeWindowsLanguage LatvianLatvia ``` The latvian Latvia language. ##### LithuanianLithuania ``` public static final OpenTypeWindowsLanguage LithuanianLithuania ``` The lithuanian Lithuania language. ##### LowerSorbianGermany ``` public static final OpenTypeWindowsLanguage LowerSorbianGermany ``` The lower sorbian Germany language. ##### LuxembourgishLuxembourg ``` public static final OpenTypeWindowsLanguage LuxembourgishLuxembourg ``` The luxembourgish Luxembourg language. ##### MacedonianFyromFormerYugoslavRepublicOfMacedonia ``` public static final OpenTypeWindowsLanguage MacedonianFyromFormerYugoslavRepublicOfMacedonia ``` The macedonian fyrom former Yugoslav Republic of Macedonia language. ##### MalayBruneiDarussalam ``` public static final OpenTypeWindowsLanguage MalayBruneiDarussalam ``` The malay brunei Darussalam language. ##### MalayMalaysia ``` public static final OpenTypeWindowsLanguage MalayMalaysia ``` The malay Malaysia language. ##### MalayalamIndia ``` public static final OpenTypeWindowsLanguage MalayalamIndia ``` The malayalam India language. ##### MalteseMalta ``` public static final OpenTypeWindowsLanguage MalteseMalta ``` The maltese Malta language. ##### MaoriNewZealand ``` public static final OpenTypeWindowsLanguage MaoriNewZealand ``` The maori New Zealand language. ##### MapudungunChile ``` public static final OpenTypeWindowsLanguage MapudungunChile ``` The mapudungun Chile language. ##### MarathiIndia ``` public static final OpenTypeWindowsLanguage MarathiIndia ``` The marathi India language. ##### MohawkMohawk ``` public static final OpenTypeWindowsLanguage MohawkMohawk ``` The mohawk Mohawk language. ##### MongolianCyrillicMongolia ``` public static final OpenTypeWindowsLanguage MongolianCyrillicMongolia ``` The mongolian cyrillic Mongolia language. ##### MongolianTraditionalPeoplesRepublicOfChina ``` public static final OpenTypeWindowsLanguage MongolianTraditionalPeoplesRepublicOfChina ``` The mongolian traditional Peoples Republic of China language. ##### NepaliNepal ``` public static final OpenTypeWindowsLanguage NepaliNepal ``` The nepali Nepal language. ##### NorwegianBokmalNorway ``` public static final OpenTypeWindowsLanguage NorwegianBokmalNorway ``` The norwegian bokmal Norway language. ##### NorwegianNynorskNorway ``` public static final OpenTypeWindowsLanguage NorwegianNynorskNorway ``` The norwegian nynorsk Norway language. ##### OccitanFrance ``` public static final OpenTypeWindowsLanguage OccitanFrance ``` The occitan France language. ##### OdiaFormerlyOriyaIndia ``` public static final OpenTypeWindowsLanguage OdiaFormerlyOriyaIndia ``` The odia formerly oriya India language. ##### PashtoAfghanistan ``` public static final OpenTypeWindowsLanguage PashtoAfghanistan ``` The pashto Afghanistan language. ##### PolishPoland ``` public static final OpenTypeWindowsLanguage PolishPoland ``` The polish Poland language. ##### PortugueseBrazil ``` public static final OpenTypeWindowsLanguage PortugueseBrazil ``` The portuguese Brazil language. ##### PortuguesePortugal ``` public static final OpenTypeWindowsLanguage PortuguesePortugal ``` The portuguese Portugal language. ##### PunjabiIndia ``` public static final OpenTypeWindowsLanguage PunjabiIndia ``` The punjabi India language. ##### QuechuaBolivia ``` public static final OpenTypeWindowsLanguage QuechuaBolivia ``` The quechua Bolivia language. ##### QuechuaEcuador ``` public static final OpenTypeWindowsLanguage QuechuaEcuador ``` The quechua Ecuador language. ##### QuechuaPeru ``` public static final OpenTypeWindowsLanguage QuechuaPeru ``` The quechua Peru language. ##### RomanianRomania ``` public static final OpenTypeWindowsLanguage RomanianRomania ``` The romanian Romania language. ##### RomanshSwitzerland ``` public static final OpenTypeWindowsLanguage RomanshSwitzerland ``` The romansh Switzerland language. ##### RussianRussia ``` public static final OpenTypeWindowsLanguage RussianRussia ``` The russian Russia language. ##### SamiInariFinland ``` public static final OpenTypeWindowsLanguage SamiInariFinland ``` The sami inari Finland language. ##### SamiLuleNorway ``` public static final OpenTypeWindowsLanguage SamiLuleNorway ``` The sami lule Norway language. ##### SamiLuleSweden ``` public static final OpenTypeWindowsLanguage SamiLuleSweden ``` The sami lule Sweden language. ##### SamiNorthernFinland ``` public static final OpenTypeWindowsLanguage SamiNorthernFinland ``` The sami northern Finland language. ##### SamiNorthernNorway ``` public static final OpenTypeWindowsLanguage SamiNorthernNorway ``` The sami northern Norway language. ##### SamiNorthernSweden ``` public static final OpenTypeWindowsLanguage SamiNorthernSweden ``` The sami northern Sweden language. ##### SamiSkoltFinland ``` public static final OpenTypeWindowsLanguage SamiSkoltFinland ``` The sami skolt Finland language. ##### SamiSouthernNorway ``` public static final OpenTypeWindowsLanguage SamiSouthernNorway ``` The sami southern Norway language. ##### SamiSouthernSweden ``` public static final OpenTypeWindowsLanguage SamiSouthernSweden ``` The sami southern Sweden language. ##### SanskritIndia ``` public static final OpenTypeWindowsLanguage SanskritIndia ``` The sanskrit India language. ##### SerbianCyrillicBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage SerbianCyrillicBosniaAndHerzegovina ``` The serbian cyrillic Bosnia and Herzegovina language. ##### SerbianCyrillicSerbia ``` public static final OpenTypeWindowsLanguage SerbianCyrillicSerbia ``` The serbian cyrillic Serbia language. ##### SerbianLatinBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage SerbianLatinBosniaAndHerzegovina ``` The serbian latin Bosnia and Herzegovina language. ##### SerbianLatinSerbia ``` public static final OpenTypeWindowsLanguage SerbianLatinSerbia ``` The serbian latin Serbia language. ##### SesothoSaLeboaSouthAfrica ``` public static final OpenTypeWindowsLanguage SesothoSaLeboaSouthAfrica ``` The sesotho sa leboa South Africa language. ##### SetswanaSouthAfrica ``` public static final OpenTypeWindowsLanguage SetswanaSouthAfrica ``` The setswana South Africa language. ##### SinhalaSriLanka ``` public static final OpenTypeWindowsLanguage SinhalaSriLanka ``` The sinhala Sri Lanka language. ##### SlovakSlovakia ``` public static final OpenTypeWindowsLanguage SlovakSlovakia ``` The slovak Slovakia language. ##### SlovenianSlovenia ``` public static final OpenTypeWindowsLanguage SlovenianSlovenia ``` The slovenian Slovenia language. ##### SpanishArgentina ``` public static final OpenTypeWindowsLanguage SpanishArgentina ``` The spanish Argentina language. ##### SpanishBolivia ``` public static final OpenTypeWindowsLanguage SpanishBolivia ``` The spanish Bolivia language. ##### SpanishChile ``` public static final OpenTypeWindowsLanguage SpanishChile ``` The spanish Chile language. ##### SpanishColombia ``` public static final OpenTypeWindowsLanguage SpanishColombia ``` The spanish Colombia language. ##### SpanishCostaRica ``` public static final OpenTypeWindowsLanguage SpanishCostaRica ``` The spanish Costa Rica language. ##### SpanishDominicanRepublic ``` public static final OpenTypeWindowsLanguage SpanishDominicanRepublic ``` The spanish Dominican Republic language. ##### SpanishEcuador ``` public static final OpenTypeWindowsLanguage SpanishEcuador ``` The spanish Ecuador language. ##### SpanishElSalvador ``` public static final OpenTypeWindowsLanguage SpanishElSalvador ``` The spanish El Salvador language. ##### SpanishGuatemala ``` public static final OpenTypeWindowsLanguage SpanishGuatemala ``` The spanish Guatemala language. ##### SpanishHonduras ``` public static final OpenTypeWindowsLanguage SpanishHonduras ``` The spanish Honduras language. ##### SpanishMexico ``` public static final OpenTypeWindowsLanguage SpanishMexico ``` The spanish Mexico language. ##### SpanishNicaragua ``` public static final OpenTypeWindowsLanguage SpanishNicaragua ``` The spanish Nicaragua language. ##### SpanishPanama ``` public static final OpenTypeWindowsLanguage SpanishPanama ``` The spanish Panama language. ##### SpanishParaguay ``` public static final OpenTypeWindowsLanguage SpanishParaguay ``` The spanish Paraguay language. ##### SpanishPeru ``` public static final OpenTypeWindowsLanguage SpanishPeru ``` The spanish Peru language. ##### SpanishPuertoRico ``` public static final OpenTypeWindowsLanguage SpanishPuertoRico ``` The spanish Puerto Rico language. ##### SpanishModernSortSpain ``` public static final OpenTypeWindowsLanguage SpanishModernSortSpain ``` The spanish modern sort Spain language. ##### SpanishTraditionalSortSpain ``` public static final OpenTypeWindowsLanguage SpanishTraditionalSortSpain ``` The spanish traditional sort Spain language. ##### SpanishUnitedStates ``` public static final OpenTypeWindowsLanguage SpanishUnitedStates ``` The spanish United States language. ##### SpanishUruguay ``` public static final OpenTypeWindowsLanguage SpanishUruguay ``` The spanish Uruguay language. ##### SpanishVenezuela ``` public static final OpenTypeWindowsLanguage SpanishVenezuela ``` The spanish Venezuela language. ##### SwedenFinland ``` public static final OpenTypeWindowsLanguage SwedenFinland ``` The sweden Finland language. ##### SwedishSweden ``` public static final OpenTypeWindowsLanguage SwedishSweden ``` The swedish Sweden language. ##### SyriacSyria ``` public static final OpenTypeWindowsLanguage SyriacSyria ``` The syriac Syria language. ##### TajikCyrillicTajikistan ``` public static final OpenTypeWindowsLanguage TajikCyrillicTajikistan ``` The tajik cyrillic tajikistan language. ##### TamazightLatinAlgeria ``` public static final OpenTypeWindowsLanguage TamazightLatinAlgeria ``` The tamazight latin Algeria language. ##### TamilIndia ``` public static final OpenTypeWindowsLanguage TamilIndia ``` The tamil India language. ##### TatarRussia ``` public static final OpenTypeWindowsLanguage TatarRussia ``` The tatar Russia language. ##### TeluguIndia ``` public static final OpenTypeWindowsLanguage TeluguIndia ``` The telugu India language. ##### ThaiThailand ``` public static final OpenTypeWindowsLanguage ThaiThailand ``` The thai Thailand language. ##### TibetanPrc ``` public static final OpenTypeWindowsLanguage TibetanPrc ``` The tibetan PRC language. ##### TurkishTurkey ``` public static final OpenTypeWindowsLanguage TurkishTurkey ``` The turkish Turkey language. ##### TurkmenTurkmenistan ``` public static final OpenTypeWindowsLanguage TurkmenTurkmenistan ``` The turkmen Turkmenistan language. ##### UighurPrc ``` public static final OpenTypeWindowsLanguage UighurPrc ``` The uighur PRC language. ##### UkrainianUkraine ``` public static final OpenTypeWindowsLanguage UkrainianUkraine ``` The ukrainian Ukraine language. ##### UpperSorbianGermany ``` public static final OpenTypeWindowsLanguage UpperSorbianGermany ``` The upper sorbian Germany language. ##### UrduIslamicRepublicOfPakistan ``` public static final OpenTypeWindowsLanguage UrduIslamicRepublicOfPakistan ``` The urdu Islamic Republic of Pakistan language. ##### UzbekCyrillicUzbekistan ``` public static final OpenTypeWindowsLanguage UzbekCyrillicUzbekistan ``` The uzbek cyrillic Uzbekistan language. ##### UzbekLatinUzbekistan ``` public static final OpenTypeWindowsLanguage UzbekLatinUzbekistan ``` The uzbek latin Uzbekistan language. ##### VietnameseVietnam ``` public static final OpenTypeWindowsLanguage VietnameseVietnam ``` The vietnamese Vietnam language. ##### WelshUnitedKingdom ``` public static final OpenTypeWindowsLanguage WelshUnitedKingdom ``` The welsh United Kingdom language. ##### WolofSenegal ``` public static final OpenTypeWindowsLanguage WolofSenegal ``` The wolof Senegal language. ##### YakutRussia ``` public static final OpenTypeWindowsLanguage YakutRussia ``` The yakut Russia language. ##### YiPrc ``` public static final OpenTypeWindowsLanguage YiPrc ``` The yi PRC language. ##### YorubaNigeria ``` public static final OpenTypeWindowsLanguage YorubaNigeria ``` The yoruba Nigeria language. ##### values() ``` public static OpenTypeWindowsLanguage[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWindowsLanguage[] ##### valueOf(String name) ``` public static OpenTypeWindowsLanguage valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWindowsLanguage ##### getByRawValue(int rawValue) ``` public static OpenTypeWindowsLanguage getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWindowsLanguage ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWindowsNameRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/opentypewindowsnamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.OpenTypeBaseNameRecord ``` public class OpenTypeWindowsNameRecord extends OpenTypeBaseNameRecord ``` Represents the Name record table value for OpenTypePlatform.Windows platform. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding identifier. | | getLanguage() | Gets the language identifier. | ##### getEncoding() ``` public final OpenTypeWindowsEncoding getEncoding() ``` Gets the encoding identifier. **Returns:** OpenTypeWindowsEncoding - The encoding identifier. ##### getLanguage() ``` public final OpenTypeWindowsLanguage getLanguage() ``` Gets the language identifier. **Returns:** OpenTypeWindowsLanguage - The language identifier. ### PageInfo Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pageinfo.md **Inheritance:** java.lang.Object ``` public class PageInfo ``` Provides common information about a document page (slide, worksheet, etc). [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width of the page in document default units. | | getHeight() | Gets the height of the page in document default units. | | getPageNumber() | Gets the number of the page. | ##### getWidth() ``` public final int getWidth() ``` Gets the width of the page in document default units. **Returns:** int - The width of the page in document default units. ##### getHeight() ``` public final int getHeight() ``` Gets the height of the page in document default units. **Returns:** int - The height of the page in document default units. ##### getPageNumber() ``` public final int getPageNumber() ``` Gets the number of the page. **Returns:** int - The number of the page. ### PanasonicMakerNotePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/panasonicmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public class PanasonicMakerNotePackage extends MakerNotePackage ``` Represents PANASONIC MakerNote metadata. #### Methods | Method | Description | | --- | --- | | getImageQuality() | Gets the image quality. | | getFirmwareVersion() | Gets the firmware version. | | getWhiteBalance() | Gets the white balance. | | getFocusMode() | Gets the focus mode. | | getAFMode() | Gets the AF mode. | | getImageStabilization() | Gets the image stabilization mode. | | getMacroMode() | Gets the macro mode. | | getShootingMode() | Gets the shooting mode. | | getAudio() | Gets the audio mode. | | getLensType() | Gets the type of the lens. | | getLensSerialNumber() | Gets the lens serial number. | | getAccessoryType() | Gets the type of the accessory. | | getAccessorySerialNumber() | Gets the accessory serial number. | ##### getImageQuality() ``` public final Integer getImageQuality() ``` Gets the image quality. **Returns:** java.lang.Integer - The image quality. ##### getFirmwareVersion() ``` public final byte[] getFirmwareVersion() ``` Gets the firmware version. **Returns:** byte[] - The firmware version. ##### getWhiteBalance() ``` public final Integer getWhiteBalance() ``` Gets the white balance. **Returns:** java.lang.Integer - The white balance. ##### getFocusMode() ``` public final Integer getFocusMode() ``` Gets the focus mode. **Returns:** java.lang.Integer - The focus mode. ##### getAFMode() ``` public final byte[] getAFMode() ``` Gets the AF mode. **Returns:** byte[] - The AF mode. ##### getImageStabilization() ``` public final Integer getImageStabilization() ``` Gets the image stabilization mode. **Returns:** java.lang.Integer - The image stabilization mode. ##### getMacroMode() ``` public final Integer getMacroMode() ``` Gets the macro mode. **Returns:** java.lang.Integer - The macro mode. ##### getShootingMode() ``` public final Integer getShootingMode() ``` Gets the shooting mode. **Returns:** java.lang.Integer - The shooting mode. ##### getAudio() ``` public final Integer getAudio() ``` Gets the audio mode. **Returns:** java.lang.Integer - The audio mode. ##### getLensType() ``` public final String getLensType() ``` Gets the type of the lens. **Returns:** java.lang.String - The type of the lens. ##### getLensSerialNumber() ``` public final String getLensSerialNumber() ``` Gets the lens serial number. **Returns:** java.lang.String - The lens serial number. ##### getAccessoryType() ``` public final String getAccessoryType() ``` Gets the type of the accessory. **Returns:** java.lang.String - The type of the accessory. ##### getAccessorySerialNumber() ``` public final String getAccessorySerialNumber() ``` Gets the accessory serial number. **Returns:** java.lang.String - The accessory serial number. ### PdfAnnotation Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdfannotation.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfAnnotation extends CustomPackage ``` Represents an annotation in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getText() | Gets the annotation text. | | getName() | Gets the name of the annotation. | | getPageNumber() | Gets the number of the page containing the annotation. | ##### getText() ``` public final String getText() ``` Gets the annotation text. **Returns:** java.lang.String - The annotation text. ##### getName() ``` public final String getName() ``` Gets the name of the annotation. **Returns:** java.lang.String - The name of the annotation. ##### getPageNumber() ``` public final int getPageNumber() ``` Gets the number of the page containing the annotation. **Returns:** int - The number of the page containing the annotation. ### PdfAttachment Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdfattachment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfAttachment extends CustomPackage ``` Represents an attachment in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getName() | Gets the attachment name. | | getDescription() | Gets the attachment description. | | getMimeType() | Gets the MIME type of the attachment. | ##### getName() ``` public final String getName() ``` Gets the attachment name. **Returns:** java.lang.String - The attachment name. ##### getDescription() ``` public final String getDescription() ``` Gets the attachment description. **Returns:** java.lang.String - The attachment description. ##### getMimeType() ``` public final String getMimeType() ``` Gets the MIME type of the attachment. **Returns:** java.lang.String - The MIME type of the attachment. ### PdfBookmark Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdfbookmark.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfBookmark extends CustomPackage ``` Represents a bookmark in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getTitle() | Gets the title of the bookmark. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the bookmark. **Returns:** java.lang.String - The title of the bookmark. ### PdfFormField Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdfformfield.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfFormField extends CustomPackage ``` Represents a form field in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getName() | Gets the name of the field. | | getValue() | Gets the field value. | ##### getName() ``` public final String getName() ``` Gets the name of the field. **Returns:** java.lang.String - The name of the field. ##### getValue() ``` public final String getValue() ``` Gets the field value. **Returns:** java.lang.String - The field value. ### PdfInspectionPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdfinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PdfInspectionPackage extends CustomPackage ``` Contains information about PDF document parts that can be considered as metadata in some cases. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getAnnotations() | Gets an array of the annotations. | | getAttachments() | Gets an array of the attachments. | | getBookmarks() | Gets an array of the bookmarks. | | getFields() | Gets an array of the form fields. | | getDigitalSignatures() | Gets an array of the digital signatures. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | sanitize() | Removes writable metadata properties from the package. | | clearAnnotations() | Removes all detected annotations from the document. | | clearAttachments() | Removes all detected attachments from the document. | | clearBookmarks() | Removes all detected bookmarks from the document. | | clearFields() | Removes all detected form fields from the document. | | clearDigitalSignatures() | Removes all detected digital signatures from the document. | ##### getAnnotations() ``` public final PdfAnnotation[] getAnnotations() ``` Gets an array of the annotations. **Returns:** com.groupdocs.metadata.core.PdfAnnotation[] - An array of the annotations. ##### getAttachments() ``` public final PdfAttachment[] getAttachments() ``` Gets an array of the attachments. **Returns:** com.groupdocs.metadata.core.PdfAttachment[] - An array of the attachments. ##### getBookmarks() ``` public final PdfBookmark[] getBookmarks() ``` Gets an array of the bookmarks. **Returns:** com.groupdocs.metadata.core.PdfBookmark[] - An array of the bookmarks. ##### getFields() ``` public final PdfFormField[] getFields() ``` Gets an array of the form fields. **Returns:** com.groupdocs.metadata.core.PdfFormField[] - An array of the form fields. ##### getDigitalSignatures() ``` public final DigitalSignature[] getDigitalSignatures() ``` Gets an array of the digital signatures. **Returns:** com.groupdocs.metadata.core.DigitalSignature[] - An array of the digital signatures. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ##### clearAnnotations() ``` public final void clearAnnotations() ``` Removes all detected annotations from the document. ##### clearAttachments() ``` public final void clearAttachments() ``` Removes all detected attachments from the document. ##### clearBookmarks() ``` public final void clearBookmarks() ``` Removes all detected bookmarks from the document. ##### clearFields() ``` public final void clearFields() ``` Removes all detected form fields from the document. ##### clearDigitalSignatures() ``` public final void clearDigitalSignatures() ``` Removes all detected digital signatures from the document. ### PdfPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdfpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class PdfPackage extends DocumentPackage ``` Represents native metadata in a PDF document. This code snippet demonstrates how to update built-in metadata properties in a PDF document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > PdfRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedDate(new Date()); > root.getDocumentProperties().setTitle("test title"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputPdf); > } > > ``` > ``` [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the document author. | | setAuthor(String value) | Sets the document author. | | getCreatedDate() | Gets the date of document creation. | | setCreatedDate(Date value) | Sets the date of document creation. | | getCreator() | Gets the creator of the document. | | setCreator(String value) | Gets the creator of the document. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getModifiedDate() | Gets the date of the last modification. | | setModifiedDate(Date value) | Sets the date of the last modification. | | getProducer() | Gets the document producer. | | setProducer(String value) | Gets the document producer. | | getSubject() | Gets the subject of the document. | | setSubject(String value) | Sets the subject of the document. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getTrappedFlag() | Gets the trapped flag. | | setTrappedFlag(Boolean value) | Sets the trapped flag. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document author. **Returns:** java.lang.String - The document author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The document author. | ##### getCreatedDate() ``` public final Date getCreatedDate() ``` Gets the date of document creation. **Returns:** java.util.Date - The date of document creation. ##### setCreatedDate(Date value) ``` public final void setCreatedDate(Date value) ``` Sets the date of document creation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date of document creation. | ##### getCreator() ``` public final String getCreator() ``` Gets the creator of the document. **Returns:** java.lang.String - The creator of the document. ##### setCreator(String value) ``` public final void setCreator(String value) ``` Gets the creator of the document. Value: The creator of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getModifiedDate() ``` public final Date getModifiedDate() ``` Gets the date of the last modification. **Returns:** java.util.Date - The date of the last modification. ##### setModifiedDate(Date value) ``` public final void setModifiedDate(Date value) ``` Sets the date of the last modification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date of the last modification. | ##### getProducer() ``` public final String getProducer() ``` Gets the document producer. **Returns:** java.lang.String - The document producer. ##### setProducer(String value) ``` public final void setProducer(String value) ``` Gets the document producer. Value: The document producer. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getSubject() ``` public final String getSubject() ``` Gets the subject of the document. **Returns:** java.lang.String - The subject of the document. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject of the document. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title of the document. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title of the document. | ##### getTrappedFlag() ``` public final Boolean getTrappedFlag() ``` Gets the trapped flag. **Returns:** java.lang.Boolean - true if the trapped flag is set; otherwise, false . ##### setTrappedFlag(Boolean value) ``` public final void setTrappedFlag(Boolean value) ``` Sets the trapped flag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the trapped flag is set; otherwise, false . | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ### PdfRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class PdfRootPackage extends DocumentRootPackage implements IXmp ``` Represents the root package allowing working with metadata in a PDF document. This code sample shows how to extract built-in metadata properties from a PDF document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > PdfRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedDate()); > System.out.println(root.getDocumentProperties().getSubject()); > System.out.println(root.getDocumentProperties().getProducer()); > System.out.println(root.getDocumentProperties().getKeywords()); > // ... > } > > ``` > ``` [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getPdfType() | Gets the file type metadata package. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | ##### getPdfType() ``` public final PdfTypePackage getPdfType() ``` Gets the file type metadata package. **Returns:** PdfTypePackage - The file type metadata package. ##### getInspectionPackage() ``` public final PdfInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** PdfInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ### PdfTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pdftypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class PdfTypePackage extends FileTypePackage ``` Represents a metadata package containing PDF-specific file format information. #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the format. | ##### getVersion() ``` public final String getVersion() ``` Gets the version of the format. **Returns:** java.lang.String - The version of the format. ### PngCompressedTextChunk Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pngcompressedtextchunk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.PngTextChunk ``` public class PngCompressedTextChunk extends PngTextChunk ``` Represents compressed textual data extracted from a PNG image. #### Methods | Method | Description | | --- | --- | | getCompressionMethod() | Gets the algorithm used to compress the chunk data. | ##### getCompressionMethod() ``` public final PngCompressionMethod getCompressionMethod() ``` Gets the algorithm used to compress the chunk data. **Returns:** PngCompressionMethod - The algorithm used to compress the chunk data. ### PngCompressionMethod Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pngcompressionmethod.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PngCompressionMethod extends Enum implements IEnumValue ``` Defines compression methods used in the PNG format. #### Fields | Field | Description | | --- | --- | | Deflate | Represents the deflate/inflate compression with a sliding window. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Deflate ``` public static final PngCompressionMethod Deflate ``` Represents the deflate/inflate compression with a sliding window. ##### values() ``` public static PngCompressionMethod[] values() ``` **Returns:** com.groupdocs.metadata.core.PngCompressionMethod[] ##### valueOf(String name) ``` public static PngCompressionMethod valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PngCompressionMethod ##### getByRawValue(int rawValue) ``` public static PngCompressionMethod getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PngCompressionMethod ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PngInternationalTextChunk Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pnginternationaltextchunk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.PngTextChunk, com.groupdocs.metadata.core.PngCompressedTextChunk ``` public class PngInternationalTextChunk extends PngCompressedTextChunk ``` Represents international textual data extracted from a PNG image. #### Methods | Method | Description | | --- | --- | | isCompressed() | Gets a value indicating whether the chunk is compressed. | | getLanguage() | Gets the human language used by the translated keyword and the text. | | getTranslatedKeyword() | Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. | ##### isCompressed() ``` public final boolean isCompressed() ``` Gets a value indicating whether the chunk is compressed. **Returns:** boolean - True, if the chunk is compressed; otherwise, false. ##### getLanguage() ``` public final String getLanguage() ``` Gets the human language used by the translated keyword and the text. **Returns:** java.lang.String - The human language used by the translated keyword and the text. ##### getTranslatedKeyword() ``` public final String getTranslatedKeyword() ``` Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. **Returns:** java.lang.String - The translated keyword that contains a translation of the keyword into the language indicated by the language property. ### PngPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pngpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PngPackage extends CustomPackage ``` Represents native PNG metadata. #### Methods | Method | Description | | --- | --- | | getTextChunks() | Gets the collection of text chunks extracted from the image. | ##### getTextChunks() ``` public final PngTextChunk[] getTextChunks() ``` Gets the collection of text chunks extracted from the image. **Returns:** com.groupdocs.metadata.core.PngTextChunk[] - The collection of text chunks extracted from the image. ### PngRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pngrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class PngRootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package intended to work with metadata in a PNG image. [Working with metadata in PNG images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PNG+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getPngPackage() | Gets the PNG native metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getPngPackage() ``` public final PngPackage getPngPackage() ``` Gets the PNG native metadata package. **Returns:** PngPackage - The PNG native metadata package. ### PngTextChunk Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/pngtextchunk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PngTextChunk extends CustomPackage ``` Represents textual data extracted from a PNG image. #### Methods | Method | Description | | --- | --- | | getKeyword() | Gets the keyword that indicates the type of information represented by the chunk. | | getText() | Gets the actual text string represented by the chunk. | ##### getKeyword() ``` public final String getKeyword() ``` Gets the keyword that indicates the type of information represented by the chunk. **Returns:** java.lang.String - The keyword that indicates the type of information represented by the chunk. ##### getText() ``` public final String getText() ``` Gets the actual text string represented by the chunk. **Returns:** java.lang.String - The actual text string represented by the chunk. ### PresentationComment Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/presentationcomment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PresentationComment extends CustomPackage ``` Represents a user comment in a presentation. [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the comment. | | getCreatedTime() | Gets the created time of the comment. | | getSlideNumber() | Gets the slide number the comment belongs to. | | getText() | Gets the text of the comment. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the comment. **Returns:** java.lang.String - The author of the comment. ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the created time of the comment. **Returns:** java.util.Date - The created time of the comment. ##### getSlideNumber() ``` public final int getSlideNumber() ``` Gets the slide number the comment belongs to. **Returns:** int - The slide number the comment belongs to. ##### getText() ``` public final String getText() ``` Gets the text of the comment. **Returns:** java.lang.String - The comment text. ### PresentationFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/presentationformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PresentationFormat extends Enum implements IEnumValue ``` Defines various presentation subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Ppt | Represents the .PPT PowerPoint format. | | Pptx | Represents the .PPTX PowerPoint format. | | Potm | Represents the .POTM PowerPoint format. | | Potx | Represents the .POTX PowerPoint format. | | Pptm | Represents the .PPTM PowerPoint format. | | Pps | Represents the .PPS PowerPoint format. | | Ppsx | Represents the .PPSX PowerPoint format. | | Ppsm | Represents the .PPSM PowerPoint format. | | Pot | Represents the .POT PowerPoint format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final PresentationFormat Unknown ``` The format is not recognized. ##### Ppt ``` public static final PresentationFormat Ppt ``` Represents the .PPT PowerPoint format. A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text, bulleted points, images, multimedia and other embedded OLE objects. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppt/ ##### Pptx ``` public static final PresentationFormat Pptx ``` Represents the .PPTX PowerPoint format. Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptx/ ##### Potm ``` public static final PresentationFormat Potm ``` Represents the .POTM PowerPoint format. Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potm/ ##### Potx ``` public static final PresentationFormat Potx ``` Represents the .POTX PowerPoint format. Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. This format was created to replace the POT file format that is based on the binary file format and is supported with PowerPoint 97-2003. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potx/ ##### Pptm ``` public static final PresentationFormat Pptm ``` Represents the .PPTM PowerPoint format. Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can't execute macros though they can contain macros. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptm/ ##### Pps ``` public static final PresentationFormat Pps ``` Represents the .PPS PowerPoint format. PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pps/ ##### Ppsx ``` public static final PresentationFormat Ppsx ``` Represents the .PPSX PowerPoint format. PPSX, Power Point Slide Show, files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. It is an update to the PPS file format that was supported by Microsoft PowerPoint 97-2003 versions. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsx/ ##### Ppsm ``` public static final PresentationFormat Ppsm ``` Represents the .PPSM PowerPoint format. Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Another similar file format is PPTM which differs in opening with Microsoft PowerPoint in editable format instead of running as Slide Show Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsm/ ##### Pot ``` public static final PresentationFormat Pot ``` Represents the .POT PowerPoint format. Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Files created with these versions of Microsoft PowerPoint are in binary format as compared to those created in Office OpenXML file formats using the higher versions of PowerPoint. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pot/ ##### values() ``` public static PresentationFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.PresentationFormat[] ##### valueOf(String name) ``` public static PresentationFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PresentationFormat ##### getByRawValue(int rawValue) ``` public static PresentationFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PresentationFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PresentationInspectionPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/presentationinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PresentationInspectionPackage extends CustomPackage ``` Contains information about presentation parts that can be considered as metadata in some cases. [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getHiddenSlides() | Gets an array of the hidden slides. | | getComments() | Gets an array of the comments. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | clearComments() | Removes all detected user comments from the presentation. | | clearHiddenSlides() | Removes all detected hidden slides from the presentation. | | sanitize() | Removes writable metadata properties from the package. | ##### getHiddenSlides() ``` public final PresentationSlide[] getHiddenSlides() ``` Gets an array of the hidden slides. **Returns:** com.groupdocs.metadata.core.PresentationSlide[] - The hidden slides. ##### getComments() ``` public final PresentationComment[] getComments() ``` Gets an array of the comments. **Returns:** com.groupdocs.metadata.core.PresentationComment[] - The comments. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### clearComments() ``` public final void clearComments() ``` Removes all detected user comments from the presentation. ##### clearHiddenSlides() ``` public final void clearHiddenSlides() ``` Removes all detected hidden slides from the presentation. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### PresentationPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/presentationpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class PresentationPackage extends DocumentPackage ``` Represents a native metadata package in a presentation. This example demonstrates how to update built-in metadata properties in a presentation. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPptx)) { > PresentationRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedTime(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputPptx); > } > > ``` > ``` [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getApplicationTemplate() | Gets the application template. | | setApplicationTemplate(String value) | Sets the application template. | | getAuthor() | Gets the document's author. | | setAuthor(String value) | Sets the document's author. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the comments. | | setComments(String value) | Sets the comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getContentStatus() | Gets the content status. | | setContentStatus(String value) | Sets the content status. | | getContentType() | Gets the content type. | | setContentType(String value) | Sets the content type. | | getCreatedTime() | Gets the document created date. | | setCreatedTime(Date value) | Sets the document created date. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getLastPrintedDate() | Gets the last printed date. | | setLastPrintedDate(Date value) | Sets the last printed date. | | getLastSavedTime() | Gets the date and time when the presentation was modified last time. | | getLastSavedBy() | Gets the name of the last author. | | setLastSavedBy(String value) | Sets the name of the last author. | | getManager() | Gets the manager. | | setManager(String value) | Sets the manager. | | getNameOfApplication() | Gets the name of the application created the document. | | getRevisionNumber() | Gets the revision number. | | setRevisionNumber(int value) | Sets the revision number. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getVersion() | Gets the application version. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getPresentationFormat() | Gets the presentation format. | | getSharedDoc() | Gets a value indicating whether the presentation is shared between multiple people. | | setSharedDoc(boolean value) | Sets a value indicating whether the presentation is shared between multiple people. | | getTotalEditingTime() | Gets the total editing time of the document. | | setTotalEditingTime(double value) | Sets the total editing time of the document. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | ##### getApplicationTemplate() ``` public final String getApplicationTemplate() ``` Gets the application template. **Returns:** java.lang.String - The application template. ##### setApplicationTemplate(String value) ``` public final void setApplicationTemplate(String value) ``` Sets the application template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The application template. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document's author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document's author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the comments. **Returns:** java.lang.String - The comments. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comments. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getContentStatus() ``` public final String getContentStatus() ``` Gets the content status. Can be updated in a PPTX document only. **Returns:** java.lang.String - The content status. Can be updated in a PPTX document only. Read-only for other supported formats. ##### setContentStatus(String value) ``` public final void setContentStatus(String value) ``` Sets the content status. Can be updated in a PPTX document only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content status. Can be updated in a PPTX document only. Read-only for other supported formats. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type. Can be updated in a PPTX document only. **Returns:** java.lang.String - The type of the content. Can be updated in a PPTX document only. Read-only for other supported formats. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type. Can be updated in a PPTX document only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the content. Can be updated in a PPTX document only. Read-only for other supported formats. | ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the document created date. **Returns:** java.util.Date - The document created date. ##### setCreatedTime(Date value) ``` public final void setCreatedTime(Date value) ``` Sets the document created date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The document created date. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getLastPrintedDate() ``` public final Date getLastPrintedDate() ``` Gets the last printed date. **Returns:** java.util.Date - The last printed date. ##### setLastPrintedDate(Date value) ``` public final void setLastPrintedDate(Date value) ``` Sets the last printed date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last printed date. | ##### getLastSavedTime() ``` public final Date getLastSavedTime() ``` Gets the date and time when the presentation was modified last time. **Returns:** java.util.Date - The last saved time. ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last author. **Returns:** java.lang.String - The last saved by. ##### setLastSavedBy(String value) ``` public final void setLastSavedBy(String value) ``` Sets the name of the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The last saved by. | ##### getManager() ``` public final String getManager() ``` Gets the manager. **Returns:** java.lang.String - The manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manager. | ##### getNameOfApplication() ``` public final String getNameOfApplication() ``` Gets the name of the application created the document. **Returns:** java.lang.String - The name of the application. ##### getRevisionNumber() ``` public final int getRevisionNumber() ``` Gets the revision number. **Returns:** int - The revision number. ##### setRevisionNumber(int value) ``` public final void setRevisionNumber(int value) ``` Sets the revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The revision number. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getVersion() ``` public final String getVersion() ``` Gets the application version. **Returns:** java.lang.String - The application version. ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. Read-only in old PPT. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. Read-only in old PPT. | ##### getPresentationFormat() ``` public final String getPresentationFormat() ``` Gets the presentation format. **Returns:** java.lang.String - The presentation format. ##### getSharedDoc() ``` public final boolean getSharedDoc() ``` Gets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. **Returns:** boolean - true if the presentation shared between multiple people; otherwise, false . Can be updated in a PPTX document only. Read-only for other formats like PPT, POT etc. ##### setSharedDoc(boolean value) ``` public final void setSharedDoc(boolean value) ``` Sets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the presentation shared between multiple people; otherwise, false . Can be updated in a PPTX document only. Read-only for other formats like PPT, POT etc. | ##### getTotalEditingTime() ``` public final double getTotalEditingTime() ``` Gets the total editing time of the document. **Returns:** double - The total editing time of the document. ##### setTotalEditingTime(double value) ``` public final void setTotalEditingTime(double value) ``` Sets the total editing time of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The total editing time of the document. | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ### PresentationRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/presentationrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class PresentationRootPackage extends DocumentRootPackage ``` Represents the root package intended to work with metadata in a presentation. This example shows how to extract built-in metadata properties from a presentation. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPpt)) { > PresentationRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedTime()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getLastPrintedDate()); > System.out.println(root.getDocumentProperties().getNameOfApplication()); > // ... > } > > ``` > ``` [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getPresentationType() | Gets the file type metadata package. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | ##### getPresentationType() ``` public final PresentationTypePackage getPresentationType() ``` Gets the file type metadata package. **Returns:** PresentationTypePackage - The file type metadata package. ##### getInspectionPackage() ``` public final PresentationInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** PresentationInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ### PresentationSlide Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/presentationslide.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PresentationSlide extends CustomPackage ``` Represents a slide in a presentation. [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getName() | Gets the slide name. | | getNumber() | Gets the slide number. | | getSlideId() | Gets the slide id. | ##### getName() ``` public final String getName() ``` Gets the slide name. **Returns:** java.lang.String - The slide name. ##### getNumber() ``` public final int getNumber() ``` Gets the slide number. **Returns:** int - The slide number. ##### getSlideId() ``` public final long getSlideId() ``` Gets the slide id. **Returns:** long - The slide identifier. ### PresentationTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/presentationtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class PresentationTypePackage extends FileTypePackage ``` Represents a metadata package containing presentation-specific file format information. #### Methods | Method | Description | | --- | --- | | getPresentationFormat() | Gets the exact presentation format. | ##### getPresentationFormat() ``` public final PresentationFormat getPresentationFormat() ``` Gets the exact presentation format. **Returns:** PresentationFormat - The exact presentation format. ### ProjectManagementPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/projectmanagementpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public final class ProjectManagementPackage extends DocumentPackage ``` Represents a native metadata package in a project management file. This code sample demonstrates how to update built-in properties in a ProjectManagement document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMpp)) { > ProjectManagementRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreationDate(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setComments("test comment"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputMpp); > } > > ``` > ``` [Working with metadata in ProjectManagement formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+ProjectManagement+formats #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the project. | | setAuthor(String value) | Sets the author of the project. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the user comments. | | setComments(String value) | Sets the user comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getCreationDate() | Gets the creation date. | | setCreationDate(Date value) | Sets the creation date. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getLastAuthor() | Gets the last author. | | setLastAuthor(String value) | Sets the last author. | | getRevision() | Gets the revision number. | | setRevision(int value) | Sets the revision number. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTitle() | Gets the title. | | setTitle(String value) | Sets the title. | | getTemplate() | Gets the template. | | setTemplate(String value) | Sets the template. | | getManager() | Gets the project manager. | | setManager(String value) | Sets the project manager. | | getLastSaved() | Gets the date when the project was saved last time. | | setLastSaved(Date value) | Sets the date when the project was saved last time. | | getSaveVersion() | Gets the version of Microsoft Office Project from which a project file was saved. | | getLastPrinted() | Gets the project's last print time. | | setLastPrinted(Date value) | Sets the project's last print time. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the project. **Returns:** java.lang.String - The author of the project. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the author of the project. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author of the project. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the user comments. **Returns:** java.lang.String - The user comments. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the user comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user comments. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getCreationDate() ``` public final Date getCreationDate() ``` Gets the creation date. **Returns:** java.util.Date - The creation date. ##### setCreationDate(Date value) ``` public final void setCreationDate(Date value) ``` Sets the creation date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The creation date. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getLastAuthor() ``` public final String getLastAuthor() ``` Gets the last author. **Returns:** java.lang.String - The last author. ##### setLastAuthor(String value) ``` public final void setLastAuthor(String value) ``` Sets the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The last author. | ##### getRevision() ``` public final int getRevision() ``` Gets the revision number. **Returns:** int - The revision number. ##### setRevision(int value) ``` public final void setRevision(int value) ``` Sets the revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The revision number. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getTemplate() ``` public final String getTemplate() ``` Gets the template. **Returns:** java.lang.String - The template. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets the template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The template. | ##### getManager() ``` public final String getManager() ``` Gets the project manager. **Returns:** java.lang.String - The project manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the project manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The project manager. | ##### getLastSaved() ``` public final Date getLastSaved() ``` Gets the date when the project was saved last time. **Returns:** java.util.Date - The date when the project was saved last time. ##### setLastSaved(Date value) ``` public final void setLastSaved(Date value) ``` Sets the date when the project was saved last time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date when the project was saved last time. | ##### getSaveVersion() ``` public final int getSaveVersion() ``` Gets the version of Microsoft Office Project from which a project file was saved. **Returns:** int - The version of Microsoft Office Project from which a project file was saved. ##### getLastPrinted() ``` public final Date getLastPrinted() ``` Gets the project's last print time. **Returns:** java.util.Date - The project's last print time. ##### setLastPrinted(Date value) ``` public final void setLastPrinted(Date value) ``` Sets the project's last print time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The project's last print time. | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ### ProjectManagementRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/projectmanagementrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class ProjectManagementRootPackage extends DocumentRootPackage ``` Represents the root package intended to work with metadata in a project management format. This code sample demonstrates how to extract built-in properties of a ProjectManagement document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMpp)) { > ProjectManagementRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreationDate()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getRevision()); > System.out.println(root.getDocumentProperties().getSubject()); > // ... > } > > ``` > ``` [Working with metadata in ProjectManagement formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+ProjectManagement+formats ### PropertyAccessLevels Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/propertyaccesslevels.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class PropertyAccessLevels implements IEnumValue ``` Defines access levels for metadata properties. #### Fields | Field | Description | | --- | --- | | Read | The property is read-only. | | Update | It is possible to update the property using the MetadataPackage.UpdateProperties method. | | Remove | The property can be removed through the MetadataPackage.RemoveProperties method. | | Add | It is possible to update the property using the MetadataPackage.AddProperties method. | | Full | Grants full access to the property. | | AddOrUpdate | It is allowed to add and update the property. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Read ``` public static final PropertyAccessLevels Read ``` The property is read-only. ##### Update ``` public static final PropertyAccessLevels Update ``` It is possible to update the property using the MetadataPackage.UpdateProperties method. ##### Remove ``` public static final PropertyAccessLevels Remove ``` The property can be removed through the MetadataPackage.RemoveProperties method. ##### Add ``` public static final PropertyAccessLevels Add ``` It is possible to update the property using the MetadataPackage.AddProperties method. ##### Full ``` public static final PropertyAccessLevels Full ``` Grants full access to the property. ##### AddOrUpdate ``` public static final PropertyAccessLevels AddOrUpdate ``` It is allowed to add and update the property. All other operations are restricted. ##### getByRawValue(int rawValue) ``` public static PropertyAccessLevels getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PropertyAccessLevels ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### PropertyDescriptor Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/propertydescriptor.md **Inheritance:** java.lang.Object ``` public class PropertyDescriptor ``` Represents a descriptor of a property that can be accessed through the GroupDocs.Metadata search engine. #### Methods | Method | Description | | --- | --- | | getName() | Gets the property name. | | getType() | Gets the property type. | | getAccessLevel() | Gets the property access level. | | getTags() | Gets a collection of tags associated with the property. | | getInterpreter() | Gets the property value interpreter. | ##### getName() ``` public final String getName() ``` Gets the property name. **Returns:** java.lang.String - The property name. ##### getType() ``` public final MetadataPropertyType getType() ``` Gets the property type. **Returns:** MetadataPropertyType - The property type. ##### getAccessLevel() ``` public PropertyAccessLevels getAccessLevel() ``` Gets the property access level. **Returns:** PropertyAccessLevels - The property access level. ##### getTags() ``` public final IReadOnlyList getTags() ``` Gets a collection of tags associated with the property. **Returns:** IReadOnlyList - A collection of tags associated with the property. ##### getInterpreter() ``` public final ValueInterpreter getInterpreter() ``` Gets the property value interpreter. **Returns:** ValueInterpreter - The property value interpreter. ### PropertyValue Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/propertyvalue.md **Inheritance:** java.lang.Object ``` public class PropertyValue ``` Represents a property value. #### Constructors | Constructor | Description | | --- | --- | | PropertyValue(int value) | Initializes a new instance of the PropertyValue class with an integer value. | | PropertyValue(long value) | Initializes a new instance of the PropertyValue class with a long value. | | PropertyValue(boolean value) | Initializes a new instance of the PropertyValue class with a boolean value. | | PropertyValue(double value) | Initializes a new instance of the PropertyValue class with a double value. | | PropertyValue(String value) | Initializes a new instance of the PropertyValue class with a string value. | | PropertyValue(Date value) | Initializes a new instance of the PropertyValue class with a DateTime value. | | PropertyValue(String[] values) | Initializes a new instance of the PropertyValue class with a string array. | | PropertyValue(byte[] values) | Initializes a new instance of the PropertyValue class with a byte array. | | PropertyValue(double[] values) | Initializes a new instance of the PropertyValue class with an array of double values. | | PropertyValue(int[] values) | Initializes a new instance of the PropertyValue class with an array of integer values. | | PropertyValue(long[] values) | Initializes a new instance of the PropertyValue class with an array of long values. | | PropertyValue(PropertyValue[] values) | Initializes a new instance of the PropertyValue class with an array of metadata property values. | | PropertyValue(PropertyValue value) | | | PropertyValue(UUID value) | | | PropertyValue(Object value) | Initializes a new instance of the PropertyValue class with a generic object value. | #### Methods | Method | Description | | --- | --- | | getType() | Gets the MetadataPropertyType . | | getRawValue() | Gets the raw value. | | getEmpty() | | | toArray(Class elementType) | Converts the property value to an array of the specified type. | | toClass(Class type) | Converts the property value to a reference type. | | toString() | Returns a string that represents the property value. | | acceptValue(ValueAcceptor valueAcceptor) | Extracts the property value using a custom ValueAcceptor. | ##### PropertyValue(int value) ``` public PropertyValue(int value) ``` Initializes a new instance of the PropertyValue class with an integer value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | An int value. | ##### PropertyValue(long value) ``` public PropertyValue(long value) ``` Initializes a new instance of the PropertyValue class with a long value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | A long value. | ##### PropertyValue(boolean value) ``` public PropertyValue(boolean value) ``` Initializes a new instance of the PropertyValue class with a boolean value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A bool value. | ##### PropertyValue(double value) ``` public PropertyValue(double value) ``` Initializes a new instance of the PropertyValue class with a double value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | A double value. | ##### PropertyValue(String value) ``` public PropertyValue(String value) ``` Initializes a new instance of the PropertyValue class with a string value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A string value. | ##### PropertyValue(Date value) ``` public PropertyValue(Date value) ``` Initializes a new instance of the PropertyValue class with a DateTime value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | A DateTime value. | ##### PropertyValue(String[] values) ``` public PropertyValue(String[] values) ``` Initializes a new instance of the PropertyValue class with a string array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | java.lang.String[] | A string array. | ##### PropertyValue(byte[] values) ``` public PropertyValue(byte[] values) ``` Initializes a new instance of the PropertyValue class with a byte array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | byte[] | A byte array. | ##### PropertyValue(double[] values) ``` public PropertyValue(double[] values) ``` Initializes a new instance of the PropertyValue class with an array of double values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | double[] | An array of double values. | ##### PropertyValue(int[] values) ``` public PropertyValue(int[] values) ``` Initializes a new instance of the PropertyValue class with an array of integer values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | int[] | An array of integer values. | ##### PropertyValue(long[] values) ``` public PropertyValue(long[] values) ``` Initializes a new instance of the PropertyValue class with an array of long values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | long[] | An array of long values. | ##### PropertyValue(PropertyValue[] values) ``` public PropertyValue(PropertyValue[] values) ``` Initializes a new instance of the PropertyValue class with an array of metadata property values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | PropertyValue\[\] | An array of metadata property values. | ##### PropertyValue(PropertyValue value) ``` public PropertyValue(PropertyValue value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PropertyValue | | ##### PropertyValue(UUID value) ``` public PropertyValue(UUID value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.UUID | | ##### PropertyValue(Object value) ``` public PropertyValue(Object value) ``` Initializes a new instance of the PropertyValue class with a generic object value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Object | An object value. | ##### getType() ``` public final MetadataPropertyType getType() ``` Gets the MetadataPropertyType . **Returns:** MetadataPropertyType - The type of the property. ##### getRawValue() ``` public final Object getRawValue() ``` Gets the raw value. **Returns:** java.lang.Object - The raw value. ##### getEmpty() ``` public static PropertyValue getEmpty() ``` **Returns:** PropertyValue ##### toArray(Class elementType) ``` public final TElement[] toArray(Class elementType) ``` Converts the property value to an array of the specified type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | elementType | java.lang.Class | | **Returns:** TElement[] - The value represented as an array of the specified type or null if there is no such conversion. TElement : The type of an element. ##### toClass(Class type) ``` public final T toClass(Class type) ``` Converts the property value to a reference type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.Class | | **Returns:** T - The converted value or null if there is no such conversion. T : The exact type to convert to. ##### toString() ``` public String toString() ``` Returns a string that represents the property value. **Returns:** java.lang.String - A string that represents the property value. ##### acceptValue(ValueAcceptor valueAcceptor) ``` public void acceptValue(ValueAcceptor valueAcceptor) ``` Extracts the property value using a custom ValueAcceptor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | valueAcceptor | ValueAcceptor | An acceptor that extracts the value. | ### PsdColorMode Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/psdcolormode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PsdColorMode extends Enum implements IEnumValue ``` Represents the psd file format color mode. #### Fields | Field | Description | | --- | --- | | Bitmap | The bitmap color mode. | | Grayscale | The grayscale mode. | | Indexed | The indexed color mode. | | Rgb | The RGB color mode. | | Cmyk | The CMYK color mode. | | Multichannel | The multichannel color mode. | | Duotone | The duotone color mode. | | Lab | The LAB color mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Bitmap ``` public static final PsdColorMode Bitmap ``` The bitmap color mode. ##### Grayscale ``` public static final PsdColorMode Grayscale ``` The grayscale mode. ##### Indexed ``` public static final PsdColorMode Indexed ``` The indexed color mode. ##### Rgb ``` public static final PsdColorMode Rgb ``` The RGB color mode. ##### Cmyk ``` public static final PsdColorMode Cmyk ``` The CMYK color mode. ##### Multichannel ``` public static final PsdColorMode Multichannel ``` The multichannel color mode. ##### Duotone ``` public static final PsdColorMode Duotone ``` The duotone color mode. ##### Lab ``` public static final PsdColorMode Lab ``` The LAB color mode. ##### values() ``` public static PsdColorMode[] values() ``` **Returns:** com.groupdocs.metadata.core.PsdColorMode[] ##### valueOf(String name) ``` public static PsdColorMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PsdColorMode ##### getByRawValue(int rawValue) ``` public static PsdColorMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PsdColorMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PsdCompressionMethod Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/psdcompressionmethod.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PsdCompressionMethod extends Enum implements IEnumValue ``` Defines the compression method used for image data. #### Fields | Field | Description | | --- | --- | | Raw | No compression. | | Rle | RLE compressed. | | ZipWithoutPrediction | ZIP without prediction. | | ZipWithPrediction | ZIP with prediction. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Raw ``` public static final PsdCompressionMethod Raw ``` No compression. The image data stored as raw bytes in RGBA planar order. That means that first all R data is written, then all G is written, then all B and finally all A data is written. ##### Rle ``` public static final PsdCompressionMethod Rle ``` RLE compressed. The image data starts with the byte counts for all the scan lines (rows \* channels), with each count stored as a two-byte value. The RLE compressed data follows, with each scan line compressed separately. The RLE compression is the same compression algorithm used by the Macintosh ROM routine PackBits and the TIFF standard. ##### ZipWithoutPrediction ``` public static final PsdCompressionMethod ZipWithoutPrediction ``` ZIP without prediction. ##### ZipWithPrediction ``` public static final PsdCompressionMethod ZipWithPrediction ``` ZIP with prediction. ##### values() ``` public static PsdCompressionMethod[] values() ``` **Returns:** com.groupdocs.metadata.core.PsdCompressionMethod[] ##### valueOf(String name) ``` public static PsdCompressionMethod valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PsdCompressionMethod ##### getByRawValue(int rawValue) ``` public static PsdCompressionMethod getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PsdCompressionMethod ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PsdLayer Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/psdlayer.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PsdLayer extends CustomPackage ``` Represents a layer in a PSD file. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | getBitsPerPixel() | Gets the bits per pixel value. | | getChannelCount() | Gets the number of channels. | | getFlags() | Gets the layer flags. | | getLength() | Gets the overall layer length in bytes. | | getOpacity() | Gets the layer opacity. | | getTop() | Gets the top layer position. | | getLeft() | Gets the left layer position. | | getBottom() | Gets the bottom layer position. | | getRight() | Gets the right layer position. | | getHeight() | Gets the height. | | getWidth() | Gets the width. | | getName() | Gets the layer name. | ##### getBitsPerPixel() ``` public final int getBitsPerPixel() ``` Gets the bits per pixel value. **Returns:** int - The bits per pixel value. ##### getChannelCount() ``` public final int getChannelCount() ``` Gets the number of channels. **Returns:** int - The number of channels. ##### getFlags() ``` public final PsdLayerFlags getFlags() ``` Gets the layer flags. **Returns:** PsdLayerFlags - The flags. ##### getLength() ``` public final long getLength() ``` Gets the overall layer length in bytes. **Returns:** long - The overall layer length in bytes. ##### getOpacity() ``` public final byte getOpacity() ``` Gets the layer opacity. 0 = transparent, 255 = opaque. **Returns:** byte - The opacity. ##### getTop() ``` public final int getTop() ``` Gets the top layer position. **Returns:** int - The top layer position. ##### getLeft() ``` public final int getLeft() ``` Gets the left layer position. **Returns:** int - The left layer position. ##### getBottom() ``` public final int getBottom() ``` Gets the bottom layer position. **Returns:** int - The bottom layer position. ##### getRight() ``` public final int getRight() ``` Gets the right layer position. **Returns:** int - The right layer position. ##### getHeight() ``` public final int getHeight() ``` Gets the height. **Returns:** int - The height. ##### getWidth() ``` public final int getWidth() ``` Gets the width. **Returns:** int - The width. ##### getName() ``` public final String getName() ``` Gets the layer name. **Returns:** java.lang.String - The layer name. ### PsdLayerFlags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/psdlayerflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class PsdLayerFlags implements IEnumValue ``` The Photoshop layer flags. #### Fields | Field | Description | | --- | --- | | None | No flags are set. | | TransparencyProtected | The transparency protected flag. | | Visible | The visibility flag. | | Obsolete | The obsolete flag. | | HasUsefulInformation | Defines if bit 4 has useful information. | | PixelDataIrrelevantToAppearanceInDocument | The pixel data is irrelevant to appearance in a document. | | Undocumented | An undocumented flag. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### None ``` public static final PsdLayerFlags None ``` No flags are set. ##### TransparencyProtected ``` public static final PsdLayerFlags TransparencyProtected ``` The transparency protected flag. ##### Visible ``` public static final PsdLayerFlags Visible ``` The visibility flag. ##### Obsolete ``` public static final PsdLayerFlags Obsolete ``` The obsolete flag. ##### HasUsefulInformation ``` public static final PsdLayerFlags HasUsefulInformation ``` Defines if bit 4 has useful information. 1 for Photoshop 5.0 and later, ##### PixelDataIrrelevantToAppearanceInDocument ``` public static final PsdLayerFlags PixelDataIrrelevantToAppearanceInDocument ``` The pixel data is irrelevant to appearance in a document. ##### Undocumented ``` public static final PsdLayerFlags Undocumented ``` An undocumented flag. ##### getByRawValue(int rawValue) ``` public static PsdLayerFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PsdLayerFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### PsdPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/psdpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PsdPackage extends CustomPackage ``` Represents native Photoshop metadata. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | getChannelCount() | Gets the number of channels. | | getColorMode() | Gets the psd color mode. | | getCompression() | Gets the compression method used for image data. | | getPhotoshopVersion() | Gets the Photoshop version. | | getHeight() | Gets the height of the image. | | getWidth() | Gets PSD width of the image. | | getLayers() | Gets the Photoshop layers. | ##### getChannelCount() ``` public final int getChannelCount() ``` Gets the number of channels. **Returns:** int - The number of channels. ##### getColorMode() ``` public final PsdColorMode getColorMode() ``` Gets the psd color mode. **Returns:** PsdColorMode - The color mode. ##### getCompression() ``` public final PsdCompressionMethod getCompression() ``` Gets the compression method used for image data. **Returns:** PsdCompressionMethod - The compression method. ##### getPhotoshopVersion() ``` public final int getPhotoshopVersion() ``` Gets the Photoshop version. **Returns:** int - The photoshop version. ##### getHeight() ``` public final int getHeight() ``` Gets the height of the image. **Returns:** int - The height of the image. ##### getWidth() ``` public final int getWidth() ``` Gets PSD width of the image. **Returns:** int - The width of the image. ##### getLayers() ``` public final PsdLayer[] getLayers() ``` Gets the Photoshop layers. **Returns:** com.groupdocs.metadata.core.PsdLayer[] - The Photoshop layers. ### PsdRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/psdrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IIptc, com.groupdocs.metadata.core.IExif ``` public class PsdRootPackage extends ImageRootPackage implements IXmp, IIptc, IExif ``` Represents the root package allowing working with metadata in a Photoshop Document. This code sample demonstrates how to read the header of a PSD file and extract some information about the PSD layers. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.PsdWithIptc)) { > PsdRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getPsdPackage().getChannelCount()); > System.out.println(root.getPsdPackage().getColorMode()); > System.out.println(root.getPsdPackage().getCompression()); > System.out.println(root.getPsdPackage().getPhotoshopVersion()); > for (PsdLayer layer : root.getPsdPackage().getLayers()) { > System.out.println(layer.getName()); > System.out.println(layer.getBitsPerPixel()); > System.out.println(layer.getChannelCount()); > System.out.println(layer.getFlags()); > System.out.println(layer.getHeight()); > System.out.println(layer.getWidth()); > // ... > } > // ... > } > > ``` > ``` [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getIptcPackage() | Gets the IPTC metadata package. | | setIptcPackage(IptcRecordSet value) | Sets the IPTC metadata package. | | getImageResourcePackage() | Gets the Photoshop Image Resource metadata package. | | getPsdPackage() | Gets the metadata package containing information about the PSD file. | | copyTo(MetadataPackage metadata) | | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getIptcPackage() ``` public final IptcRecordSet getIptcPackage() ``` Gets the IPTC metadata package. **Returns:** IptcRecordSet - The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata ##### setIptcPackage(IptcRecordSet value) ``` public final void setIptcPackage(IptcRecordSet value) ``` Sets the IPTC metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcRecordSet | The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata | ##### getImageResourcePackage() ``` public final ImageResourcePackage getImageResourcePackage() ``` Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format. **Returns:** ImageResourcePackage - The Image Resource metadata package. ##### getPsdPackage() ``` public final PsdPackage getPsdPackage() ``` Gets the metadata package containing information about the PSD file. **Returns:** PsdPackage - The metadata package containing information about the PSD file. ##### copyTo(MetadataPackage metadata) ``` public void copyTo(MetadataPackage metadata) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | | ### RarFile Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rarfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class RarFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. #### Methods | Method | Description | | --- | --- | | getCompressedSize() | Gets the compressed size in bytes. | | getUncompressedSize() | Gets the uncompressed size in bytes. | | getName() | Gets the entry name. | | getModificationDateTime() | Gets the last modification date and time. | ##### getCompressedSize() ``` public final long getCompressedSize() ``` Gets the compressed size in bytes. Value: The compressed size in bytes. **Returns:** long ##### getUncompressedSize() ``` public final long getUncompressedSize() ``` Gets the uncompressed size in bytes. Value: The uncompressed size in bytes. **Returns:** long ##### getName() ``` public final String getName() ``` Gets the entry name. Value: The entry name. It can be a file or directory name. **Returns:** java.lang.String ##### getModificationDateTime() ``` public final Date getModificationDateTime() ``` Gets the last modification date and time. Value: The last modification date and time. **Returns:** java.util.Date ### RarPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rarpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class RarPackage extends CustomPackage ``` Represents ZIP archive metadata. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputRar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.RarPackage.TotalEntries); > foreach (var file in root.RarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getFiles() ``` public final RarFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. Value: An array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.RarFile[] ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. Value: The total number of entries inside the ZIP archive. **Returns:** long ### RarRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rarrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class RarRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputRar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.RarPackage.TotalEntries); > foreach (var file in root.RarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getRarPackage() | Gets the ZIP metadata package. | ##### getRarPackage() ``` public final RarPackage getRarPackage() ``` Gets the ZIP metadata package. Value: The ZIP metadata package. **Returns:** RarPackage ### RawDictionaryBasePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawdictionarybasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class RawDictionaryBasePackage extends CustomPackage ``` Provides an abstract base class for EXIF metadata dictionaries. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Methods | Method | Description | | --- | --- | | toList() | Creates a list from the package. | | get_Item(long tagId) | Gets the Raw tag with the specified id. | | remove(long tagId) | Removes the property with the specified id. | | set(RawTag tag) | Adds or replaces the specified tag. | | clear() | Removes all Raw tags stored in the package. | ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all Raw tags from the package. ##### get_Item(long tagId) ``` public final RawTag get_Item(long tagId) ``` Gets the Raw tag with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | long | The id of the tag to retrieve. | **Returns:** RawTag - The RawTag with the specified tag id. ##### remove(long tagId) ``` public final boolean remove(long tagId) ``` Removes the property with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | long | A Raw tag id. | **Returns:** boolean - True if the specified Raw tag is found and removed; otherwise, false. ##### set(RawTag tag) ``` public final void set(RawTag tag) ``` Adds or replaces the specified tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tag | RawTag | The tag to set. | ##### clear() ``` public final void clear() ``` Removes all Raw tags stored in the package. ### RawExifTagPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawexiftagpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public abstract class RawExifTagPackage extends RawDictionaryBasePackage ``` Represents Exif tags. #### Methods | Method | Description | | --- | --- | | getRawMakerNotePackage() | Gets the Manufacturer notes (MakerNote). | | getInteroperabilityIFDPointerPackage() | Gets the Interoperability tag (Interoperability IFD Pointer). | | getInteroperabilityIFDPointer() | Gets the Interoperability tag (Interoperability IFD Pointer). | | getExposureTime() | Gets the Exposure time. | | getFNumber() | Gets the F number. | | getExposureProgram() | Gets the Exposure program. | | getSpectralSensitivity() | Gets the Spectral sensitivity. | | getPhotographicSensitivity() | Gets the Photographic Sensitivity. | | getOECF() | Gets the Optoelectric conversion factor. | | getSensitivityType() | Gets the Sensitivity Type. | | getStandardOutputSensitivity() | Gets the Standard Output Sensitivity. | | getRecommendedExposureIndex() | Gets the Recommended ExposureIndexs. | | getISOSpeed() | Gets the ISO Speed. | | getISOSpeedLatitudeyyy() | Gets the ISO Speed Latitude yyy. | | getISOSpeedLatitudezzz() | Gets the ISO Speed Latitude zzz. | | getExifVersion() | Gets the ExifVersion. | | getDateTimeOriginal() | Gets the Date and time of original data generation. | | getDateTimeDigitized() | Gets the Date and time of digital data generation. | | getOffsetTime() | Gets the Offset data of DateTime. | | getOffsetTimeOriginal() | Gets the Offset data of DateTimeOriginal. | | getOffsetTimeDigitized() | Gets the Offset data of DateTimeDigitized. | | getComponentsConfiguration() | Gets the Meaning of each component. | | getShutterSpeedValue() | Gets the Shutter speed. | | getApertureValue() | Gets the Aperture. | | getBrightnessValue() | Gets the Brightness. | | getExposureBiasValue() | Gets the Exposure bias. | | getMaxApertureValue() | Gets the Maximum lens aperture. | | getSubjectDistance() | Gets the Subject distance. | | getMeteringMode() | Gets the Metering mode. | | getLightSource() | Gets the Light source. | | getFlash() | Gets the Flash. | | getFocalLength() | Gets the Lens focal length. | | getSubjectArea() | Gets the Subject area. | | getUserComment() | Gets the User comments. | | getSubSecTime() | Gets the DateTime subseconds. | | getSubSecTimeOriginal() | Gets the DateTimeOriginal subseconds. | | getSubSecTimeDigitized() | Gets the DateTimeDigitized subseconds. | | getTemperature() | Gets the Temperature. | | getHumidity() | Gets the Humidity. | | getPressure() | Gets the Pressure. | | getWaterDepth() | Gets the WaterDepth. | | getAcceleration() | Gets the Acceleration. | | getCameraElevationAngle() | Gets the Camera elevation angle. | | getFlashpixVersion() | Gets the Temperature. | | getColorSpace() | Gets the Color space information . | | getPixelXDimension() | Gets the Valid image width. | | getPixelYDimension() | Gets the Valid image height. | | getRelatedSoundFile() | Gets the Related audio file. | | getFlashEnergy() | Gets the Flash energy. | | getSpatialFrequencyResponse() | Gets the Spatial frequency response. | | getFocalPlaneXResolution() | Gets Focal plane X resolution. | | getFocalPlaneYResolution() | Gets the Focal plane Y resolution. | | getFocalPlaneResolutionUnit() | Gets the Focal plane resolution unit. | | getSubjectLocation() | Gets the Subject location. | | getExposureIndex() | Gets the Exposure index. | | getSensingMethod() | Gets the Sensing method. | | getFileSource() | Gets the File source. | | getSceneType() | Gets the Scene Type. | | getCFAPattern() | Gets the CFA pattern. | | getCustomRendered() | Gets the Custom image processing. | | getExposureMode() | Gets the Exposure mode. | | getWhiteBalance() | Gets the White balance. | | getDigitalZoomRatio() | Gets the Digital zoom ratio. | | getFocalLengthIn35mmFilm() | Gets the Focal length in 35 mm film. | | getSceneCaptureType() | Gets the Scene capture type. | | getGainControl() | Gets the Gain control. | | getContrast() | Gets the Contrast. | | getSaturation() | Gets the Saturation. | | getSharpness() | Gets the Sharpness. | | getDeviceSettingDescription() | Gets the Device settings description. | | getSubjectDistanceRange() | Gets the Subject distance range. | | getImageUniqueID() | Gets the Unique image ID. | | getCameraOwnerName() | Gets the Camera Owner Name. | | getBodySerialNumber() | Gets the Body Serial Number. | | getLensSpecification() | Gets the Lens Specification. | | getLensModel() | Gets the Lens Model. | | getLensMake() | Gets the Lens Make. | | getLensSerialNumber() | Gets the Lens Serial Number. | | getCompositeImage() | Gets the Composite image. | | getSourceImageNumberOfCompositeImage() | Gets the Source image number of composite image. | | getSourceExposureTimesOfCompositeImage() | Gets the Source exposure times of composite image. | | getGamma() | Gets the Gamma. | | getMakerNote() | Gets the Standard Output Sensitivity. | ##### getRawMakerNotePackage() ``` public RawMakerNotePackage getRawMakerNotePackage() ``` Gets the Manufacturer notes (MakerNote). **Returns:** RawMakerNotePackage - The Manufacturer notes (MakerNote). ##### getInteroperabilityIFDPointerPackage() ``` public final InteroperabilityIFDPointerPackage getInteroperabilityIFDPointerPackage() ``` Gets the Interoperability tag (Interoperability IFD Pointer). **Returns:** InteroperabilityIFDPointerPackage - The Interoperability tag (Interoperability IFD Pointer). ##### getInteroperabilityIFDPointer() ``` public final long getInteroperabilityIFDPointer() ``` Gets the Interoperability tag (Interoperability IFD Pointer). **Returns:** long - The Interoperability tag (Interoperability IFD Pointer). ##### getExposureTime() ``` public final float getExposureTime() ``` Gets the Exposure time. **Returns:** float - The Exposure time. ##### getFNumber() ``` public final float getFNumber() ``` Gets the F number. **Returns:** float - The F number. ##### getExposureProgram() ``` public final int getExposureProgram() ``` Gets the Exposure program. **Returns:** int - The Exposure program. ##### getSpectralSensitivity() ``` public final String getSpectralSensitivity() ``` Gets the Spectral sensitivity. **Returns:** java.lang.String - The Spectral sensitivity. ##### getPhotographicSensitivity() ``` public final int getPhotographicSensitivity() ``` Gets the Photographic Sensitivity. **Returns:** int - The Photographic Sensitivity. ##### getOECF() ``` public final byte[] getOECF() ``` Gets the Optoelectric conversion factor. **Returns:** byte[] - The Optoelectric conversion factor. ##### getSensitivityType() ``` public final int getSensitivityType() ``` Gets the Sensitivity Type. **Returns:** int - The Sensitivity Type. ##### getStandardOutputSensitivity() ``` public final long getStandardOutputSensitivity() ``` Gets the Standard Output Sensitivity. **Returns:** long - The Standard Output Sensitivity. ##### getRecommendedExposureIndex() ``` public final long getRecommendedExposureIndex() ``` Gets the Recommended ExposureIndexs. **Returns:** long - The Recommended ExposureIndex. ##### getISOSpeed() ``` public final long getISOSpeed() ``` Gets the ISO Speed. **Returns:** long - The ISO Speed. ##### getISOSpeedLatitudeyyy() ``` public final long getISOSpeedLatitudeyyy() ``` Gets the ISO Speed Latitude yyy. **Returns:** long - The ISO Speed Latitude yyy. ##### getISOSpeedLatitudezzz() ``` public final long getISOSpeedLatitudezzz() ``` Gets the ISO Speed Latitude zzz. **Returns:** long - The ISO Speed Latitude zzz. ##### getExifVersion() ``` public final byte[] getExifVersion() ``` Gets the ExifVersion. **Returns:** byte[] - The ExifVersion. ##### getDateTimeOriginal() ``` public final String getDateTimeOriginal() ``` Gets the Date and time of original data generation. **Returns:** java.lang.String - The Date and time of original data generation. ##### getDateTimeDigitized() ``` public final String getDateTimeDigitized() ``` Gets the Date and time of digital data generation. **Returns:** java.lang.String - The Date and time of digital data generation. ##### getOffsetTime() ``` public final String getOffsetTime() ``` Gets the Offset data of DateTime. **Returns:** java.lang.String - The Offset data of DateTime. ##### getOffsetTimeOriginal() ``` public final String getOffsetTimeOriginal() ``` Gets the Offset data of DateTimeOriginal. **Returns:** java.lang.String - The Offset data of DateTimeOriginal. ##### getOffsetTimeDigitized() ``` public final String getOffsetTimeDigitized() ``` Gets the Offset data of DateTimeDigitized. **Returns:** java.lang.String - The Offset data of DateTimeDigitized. ##### getComponentsConfiguration() ``` public final byte[] getComponentsConfiguration() ``` Gets the Meaning of each component. **Returns:** byte[] - The Meaning of each component. ##### getShutterSpeedValue() ``` public final float getShutterSpeedValue() ``` Gets the Shutter speed. **Returns:** float - The Shutter speed. ##### getApertureValue() ``` public final float getApertureValue() ``` Gets the Aperture. **Returns:** float - The Aperture. ##### getBrightnessValue() ``` public final float getBrightnessValue() ``` Gets the Brightness. **Returns:** float - The Brightness. ##### getExposureBiasValue() ``` public final float getExposureBiasValue() ``` Gets the Exposure bias. **Returns:** float - The Exposure bias. ##### getMaxApertureValue() ``` public final float getMaxApertureValue() ``` Gets the Maximum lens aperture. **Returns:** float - The Maximum lens aperture. ##### getSubjectDistance() ``` public final float getSubjectDistance() ``` Gets the Subject distance. **Returns:** float - The Subject distance. ##### getMeteringMode() ``` public final int getMeteringMode() ``` Gets the Metering mode. **Returns:** int - The Metering mode. ##### getLightSource() ``` public final int getLightSource() ``` Gets the Light source. **Returns:** int - The Light source. ##### getFlash() ``` public final int getFlash() ``` Gets the Flash. **Returns:** int - The Flash. ##### getFocalLength() ``` public final float getFocalLength() ``` Gets the Lens focal length. **Returns:** float - The Lens focal length. ##### getSubjectArea() ``` public final int getSubjectArea() ``` Gets the Subject area. **Returns:** int - The Subject area. ##### getUserComment() ``` public final byte[] getUserComment() ``` Gets the User comments. **Returns:** byte[] - The User comments. ##### getSubSecTime() ``` public final String getSubSecTime() ``` Gets the DateTime subseconds. **Returns:** java.lang.String - The DateTime subseconds. ##### getSubSecTimeOriginal() ``` public final String getSubSecTimeOriginal() ``` Gets the DateTimeOriginal subseconds. **Returns:** java.lang.String - The DateTimeOriginal subseconds. ##### getSubSecTimeDigitized() ``` public final String getSubSecTimeDigitized() ``` Gets the DateTimeDigitized subseconds. **Returns:** java.lang.String - The DateTimeDigitized subseconds. ##### getTemperature() ``` public final float getTemperature() ``` Gets the Temperature. **Returns:** float - The Temperature. ##### getHumidity() ``` public final float getHumidity() ``` Gets the Humidity. **Returns:** float - The Humidity. ##### getPressure() ``` public final float getPressure() ``` Gets the Pressure. **Returns:** float - The Pressure. ##### getWaterDepth() ``` public final float getWaterDepth() ``` Gets the WaterDepth. **Returns:** float - The WaterDepth. ##### getAcceleration() ``` public final float getAcceleration() ``` Gets the Acceleration. **Returns:** float - The Acceleration. ##### getCameraElevationAngle() ``` public final float getCameraElevationAngle() ``` Gets the Camera elevation angle. **Returns:** float - The Camera elevation angle. ##### getFlashpixVersion() ``` public final byte[] getFlashpixVersion() ``` Gets the Temperature. **Returns:** byte[] - The Temperature. ##### getColorSpace() ``` public final int getColorSpace() ``` Gets the Color space information . **Returns:** int - The Color space information . ##### getPixelXDimension() ``` public final long getPixelXDimension() ``` Gets the Valid image width. **Returns:** long - The Valid image width. ##### getPixelYDimension() ``` public final long getPixelYDimension() ``` Gets the Valid image height. **Returns:** long - The Valid image height. ##### getRelatedSoundFile() ``` public final String getRelatedSoundFile() ``` Gets the Related audio file. **Returns:** java.lang.String - The Related audio file. ##### getFlashEnergy() ``` public final float getFlashEnergy() ``` Gets the Flash energy. **Returns:** float - The Flash energy. ##### getSpatialFrequencyResponse() ``` public final byte[] getSpatialFrequencyResponse() ``` Gets the Spatial frequency response. **Returns:** byte[] - The Spatial frequency response. ##### getFocalPlaneXResolution() ``` public final float getFocalPlaneXResolution() ``` Gets Focal plane X resolution. **Returns:** float - The Focal plane X resolution. ##### getFocalPlaneYResolution() ``` public final float getFocalPlaneYResolution() ``` Gets the Focal plane Y resolution. **Returns:** float - The Focal plane Y resolution. ##### getFocalPlaneResolutionUnit() ``` public final int getFocalPlaneResolutionUnit() ``` Gets the Focal plane resolution unit. **Returns:** int - The Focal plane resolution unit. ##### getSubjectLocation() ``` public final int getSubjectLocation() ``` Gets the Subject location. **Returns:** int - The Subject location. ##### getExposureIndex() ``` public final float getExposureIndex() ``` Gets the Exposure index. **Returns:** float - The Exposure index. ##### getSensingMethod() ``` public final int getSensingMethod() ``` Gets the Sensing method. **Returns:** int - The Sensing method. ##### getFileSource() ``` public final byte[] getFileSource() ``` Gets the File source. **Returns:** byte[] - The File source. ##### getSceneType() ``` public final byte[] getSceneType() ``` Gets the Scene Type. **Returns:** byte[] - The Scene Type. ##### getCFAPattern() ``` public final byte[] getCFAPattern() ``` Gets the CFA pattern. **Returns:** byte[] - The CFA pattern. ##### getCustomRendered() ``` public final int getCustomRendered() ``` Gets the Custom image processing. **Returns:** int - The Custom image processing. ##### getExposureMode() ``` public final int getExposureMode() ``` Gets the Exposure mode. **Returns:** int - The Exposure mode. ##### getWhiteBalance() ``` public final int getWhiteBalance() ``` Gets the White balance. **Returns:** int - The White balance. ##### getDigitalZoomRatio() ``` public final float getDigitalZoomRatio() ``` Gets the Digital zoom ratio. **Returns:** float - The Digital zoom ratio. ##### getFocalLengthIn35mmFilm() ``` public final int getFocalLengthIn35mmFilm() ``` Gets the Focal length in 35 mm film. **Returns:** int - The Focal length in 35 mm film. ##### getSceneCaptureType() ``` public final int getSceneCaptureType() ``` Gets the Scene capture type. **Returns:** int - The Scene capture type. ##### getGainControl() ``` public final float getGainControl() ``` Gets the Gain control. **Returns:** float - The Gain control. ##### getContrast() ``` public final int getContrast() ``` Gets the Contrast. **Returns:** int - The Contrast. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getDeviceSettingDescription() ``` public final byte[] getDeviceSettingDescription() ``` Gets the Device settings description. **Returns:** byte[] - The Device settings description. ##### getSubjectDistanceRange() ``` public final int getSubjectDistanceRange() ``` Gets the Subject distance range. **Returns:** int - The Subject distance range. ##### getImageUniqueID() ``` public final String getImageUniqueID() ``` Gets the Unique image ID. **Returns:** java.lang.String - The Unique image ID. ##### getCameraOwnerName() ``` public final String getCameraOwnerName() ``` Gets the Camera Owner Name. **Returns:** java.lang.String - The Camera Owner Name. ##### getBodySerialNumber() ``` public final String getBodySerialNumber() ``` Gets the Body Serial Number. **Returns:** java.lang.String - The Body Serial Number. ##### getLensSpecification() ``` public final double[] getLensSpecification() ``` Gets the Lens Specification. **Returns:** double[] - The Lens Specification. ##### getLensModel() ``` public final String getLensModel() ``` Gets the Lens Model. **Returns:** java.lang.String - The Lens Model. ##### getLensMake() ``` public final String getLensMake() ``` Gets the Lens Make. **Returns:** java.lang.String - The Lens Make. ##### getLensSerialNumber() ``` public final String getLensSerialNumber() ``` Gets the Lens Serial Number. **Returns:** java.lang.String - The Lens Serial Number. ##### getCompositeImage() ``` public final int getCompositeImage() ``` Gets the Composite image. **Returns:** int - The Composite image. ##### getSourceImageNumberOfCompositeImage() ``` public final int getSourceImageNumberOfCompositeImage() ``` Gets the Source image number of composite image. **Returns:** int - The Source image number of composite image. ##### getSourceExposureTimesOfCompositeImage() ``` public final byte[] getSourceExposureTimesOfCompositeImage() ``` Gets the Source exposure times of composite image. **Returns:** byte[] - The Source exposure times of composite image. ##### getGamma() ``` public final float getGamma() ``` Gets the Gamma. **Returns:** float - The Gamma. ##### getMakerNote() ``` public final long getMakerNote() ``` Gets the Standard Output Sensitivity. **Returns:** long - The Standard Output Sensitivity. ### RawIFD1Package Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawifd1package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawIFD1Package extends RawDictionaryBasePackage ``` Represents IFD1 tags. #### Methods | Method | Description | | --- | --- | | getThumbnailOffset() | Gets the ThumbnailOffset. | | getThumbnailLenght() | Gets the ThumbnailLenght. | ##### getThumbnailOffset() ``` public final long getThumbnailOffset() ``` Gets the ThumbnailOffset. **Returns:** long - The ThumbnailOffset. ##### getThumbnailLenght() ``` public final long getThumbnailLenght() ``` Gets the ThumbnailLenght. **Returns:** long - The ThumbnailLenght. ### RawIFD2Package Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawifd2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawIFD2Package extends RawDictionaryBasePackage ``` Represents IFD1 tags. #### Methods | Method | Description | | --- | --- | | getImageWidth() | Gets the image width. | | getImageHeight() | Gets the image height. | | getBitsPerSample() | Gets the image BitsPerSample. | | getCompression() | Gets the image Compression. | | getPhotometricInterpretation() | Gets the image PhotometricInterpretation. | | getStripOffset() | Gets the image StripOffset. | | getSamplesPerPixel() | Gets the SamplesPerPixel. | | getRowPerStrip() | Gets the RowPerStrip. | | getStripByteCounts() | Gets the StripByteCounts. | | getPlanarConfiguration() | Gets the PlanarConfiguration. | | getUnknown1() | Gets the Unknown1. | | getUnknown2() | Gets the Unknown2. | | getUnknown3() | Gets the Unknown3. | ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getImageHeight() ``` public final int getImageHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getBitsPerSample() ``` public final int[] getBitsPerSample() ``` Gets the image BitsPerSample. **Returns:** int[] - The image BitsPerSample. ##### getCompression() ``` public final int getCompression() ``` Gets the image Compression. **Returns:** int - The image Compression. ##### getPhotometricInterpretation() ``` public final int getPhotometricInterpretation() ``` Gets the image PhotometricInterpretation. **Returns:** int - The image PhotometricInterpretation. ##### getStripOffset() ``` public final long getStripOffset() ``` Gets the image StripOffset. **Returns:** long - The image StripOffset. ##### getSamplesPerPixel() ``` public final int getSamplesPerPixel() ``` Gets the SamplesPerPixel. **Returns:** int - The SamplesPerPixel. ##### getRowPerStrip() ``` public final int getRowPerStrip() ``` Gets the RowPerStrip. **Returns:** int - The RowPerStrip. ##### getStripByteCounts() ``` public final long getStripByteCounts() ``` Gets the StripByteCounts. **Returns:** long - The StripByteCounts. ##### getPlanarConfiguration() ``` public final int getPlanarConfiguration() ``` Gets the PlanarConfiguration. **Returns:** int - The PlanarConfiguration. ##### getUnknown1() ``` public final long getUnknown1() ``` Gets the Unknown1. **Returns:** long - The Unknown1. ##### getUnknown2() ``` public final long getUnknown2() ``` Gets the Unknown2. **Returns:** long - The Unknown2. ##### getUnknown3() ``` public final long[] getUnknown3() ``` Gets the Unknown3. **Returns:** long[] - The Unknown3. ### RawIFD3Package Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawifd3package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawIFD3Package extends RawDictionaryBasePackage ``` Represents IFD1 tags. #### Methods | Method | Description | | --- | --- | | getImageWidth() | Gets the image width. | | getImageHeight() | Gets the image height. | | getCompression() | Gets the image Compression. | | getStripOffset() | Gets the image StripOffset. | | getStripByteCounts() | Gets the image StripByteCounts. | | getUnknown1() | Gets the Unknown1. | | getUnknown2() | Gets the Unknown2. | | getUnknown3() | Gets the Unknown3. | | getUnknown4() | Gets the Unknown4. | ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getImageHeight() ``` public final int getImageHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getCompression() ``` public final int getCompression() ``` Gets the image Compression. **Returns:** int - The image Compression. ##### getStripOffset() ``` public final long getStripOffset() ``` Gets the image StripOffset. **Returns:** long - The image StripOffset. ##### getStripByteCounts() ``` public final long getStripByteCounts() ``` Gets the image StripByteCounts. **Returns:** long - The image StripByteCounts. ##### getUnknown1() ``` public final long getUnknown1() ``` Gets the Unknown1. **Returns:** long - The Unknown1. ##### getUnknown2() ``` public final long getUnknown2() ``` Gets the Unknown2. **Returns:** long - The Unknown2. ##### getUnknown3() ``` public final int[] getUnknown3() ``` Gets the Unknown3. **Returns:** int[] - The Unknown3. ##### getUnknown4() ``` public final long getUnknown4() ``` Gets the Unknown4. **Returns:** long - The Unknown4. ### RawIntegerType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawintegertype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum RawIntegerType extends Enum ``` Defines raw integer types for enumerations. #### Fields | Field | Description | | --- | --- | | SignedByte | The 8-bit signed integer value type. | | UnsignedByte | The 8-bit unsigned integer value type. | | SignedShort | The 16-bit signed integer value type. | | UnsignedShort | The 16-bit unsigned integer value type. | | SignedInt | The 32-bit signed integer value type. | | UnsignedInt | The 32-bit unsigned integer value type. | | SignedLong | The 64-bit signed integer value type. | | UnsignedLong | The 64-bit unsigned integer value type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### SignedByte ``` public static final RawIntegerType SignedByte ``` The 8-bit signed integer value type. ##### UnsignedByte ``` public static final RawIntegerType UnsignedByte ``` The 8-bit unsigned integer value type. ##### SignedShort ``` public static final RawIntegerType SignedShort ``` The 16-bit signed integer value type. ##### UnsignedShort ``` public static final RawIntegerType UnsignedShort ``` The 16-bit unsigned integer value type. ##### SignedInt ``` public static final RawIntegerType SignedInt ``` The 32-bit signed integer value type. ##### UnsignedInt ``` public static final RawIntegerType UnsignedInt ``` The 32-bit unsigned integer value type. ##### SignedLong ``` public static final RawIntegerType SignedLong ``` The 64-bit signed integer value type. ##### UnsignedLong ``` public static final RawIntegerType UnsignedLong ``` The 64-bit unsigned integer value type. ##### values() ``` public static RawIntegerType[] values() ``` **Returns:** com.groupdocs.metadata.core.RawIntegerType[] ##### valueOf(String name) ``` public static RawIntegerType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** RawIntegerType ### RawMakerNotePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public abstract class RawMakerNotePackage extends RawDictionaryBasePackage ``` Represents Raw MakerNotes tags. ### RawTiffTagPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawtifftagpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawTiffTagPackage extends RawDictionaryBasePackage ``` Represents Tiff tags. #### Methods | Method | Description | | --- | --- | | getRawIFD1Package() | Gets the IFD1. | | getRawIFD2Package() | Gets the IFD2. | | getRawIFD3Package() | Gets the IFD3. | | getRawExifTagPackage() | Gets the Exif tag (Exif IFD Pointer). | | getGpsIfdPackage() | Gets the GPS tag (GPSInfo IFD Pointer). | | getImageWidth() | Gets the image width. | | getImageHeight() | Gets the image height. | | getBitsPerSample() | Gets the bits per sample. | | getCompression() | Gets compression. | | getPhotometricInterpretation() | Gets PhotometricInterpretation. | | getImageDescription() | Gets a character string giving the title of the image. | | setImageDescription(String value) | Sets a character string giving the title of the image. | | getMake() | Gets the macro mode. | | getModel() | Gets the model. | | getStripOffset() | Gets the StripOffset. | | getOrientation() | Gets the orientation. | | getSamplesPerPixel() | Gets the SamplesPerPixel. | | getRowsPerStrip() | Gets the RowsPerStrip. | | getStripByteCounts() | Gets the strip byte counts. | | getXResolution() | Gets the XResolution. | | getYResolution() | Gets the YResolution. | | getPlanarConfiguration() | Gets the PlanarConfiguration. | | getResolutionUnit() | Gets the Resolution Unit. | | getTransferFunction() | Gets the TransferFunction. | | getSoftware() | Gets the Software. | | getDateTime() | Gets the DateTime. | | getArtist() | Gets the Artist. | | getWhitePoint() | Gets the WhitePoint. | | getPrimaryChromaticities() | Gets the PrimaryChromaticities. | | getJpegInterchangeFormat() | Gets the JpegInterchangeFormat. | | getJpegInterchangeFormatLength() | Gets the JpegInterchangeFormatLength. | | getYCbCrCoefficients() | Gets the YCbCrCoefficients. | | getYCbCrSubSampling() | Gets the YCbCrSubSampling. | | getYCbCrPositioning() | Gets the YCbCrPositioning. | | getReferenceBlackWhite() | Gets the ReferenceBlackWhite. | | getCopyright() | Gets the Copyright. | | getEXIF() | Gets the EXIF. | | getGpsIfd() | Gets the EXIF. | ##### getRawIFD1Package() ``` public final RawIFD1Package getRawIFD1Package() ``` Gets the IFD1. **Returns:** RawIFD1Package - The IFD1. ##### getRawIFD2Package() ``` public final RawIFD2Package getRawIFD2Package() ``` Gets the IFD2. **Returns:** RawIFD2Package - The IFD2. ##### getRawIFD3Package() ``` public final RawIFD3Package getRawIFD3Package() ``` Gets the IFD3. **Returns:** RawIFD3Package - The IFD3. ##### getRawExifTagPackage() ``` public final RawExifTagPackage getRawExifTagPackage() ``` Gets the Exif tag (Exif IFD Pointer). **Returns:** RawExifTagPackage - The Exif tag (Exif IFD Pointer). ##### getGpsIfdPackage() ``` public final GpsIfdPackage getGpsIfdPackage() ``` Gets the GPS tag (GPSInfo IFD Pointer). **Returns:** GpsIfdPackage - The GPS tag (GPSInfo IFD Pointer). ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getImageHeight() ``` public final int getImageHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getBitsPerSample() ``` public final int[] getBitsPerSample() ``` Gets the bits per sample. **Returns:** int[] - The bits per sample. ##### getCompression() ``` public final int getCompression() ``` Gets compression. **Returns:** int - The compression. ##### getPhotometricInterpretation() ``` public final int getPhotometricInterpretation() ``` Gets PhotometricInterpretation. **Returns:** int - The PhotometricInterpretation. ##### getImageDescription() ``` public final String getImageDescription() ``` Gets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Returns:** java.lang.String - The image description. ##### setImageDescription(String value) ``` public final void setImageDescription(String value) ``` Sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image description. | ##### getMake() ``` public final String getMake() ``` Gets the macro mode. **Returns:** java.lang.String - The macro mode. ##### getModel() ``` public final String getModel() ``` Gets the model. **Returns:** java.lang.String - The model. ##### getStripOffset() ``` public final long getStripOffset() ``` Gets the StripOffset. **Returns:** long - The StripOffset. ##### getOrientation() ``` public final int getOrientation() ``` Gets the orientation. **Returns:** int - The orientation. ##### getSamplesPerPixel() ``` public final int getSamplesPerPixel() ``` Gets the SamplesPerPixel. **Returns:** int - The SamplesPerPixel. ##### getRowsPerStrip() ``` public final long getRowsPerStrip() ``` Gets the RowsPerStrip. **Returns:** long - The RowsPerStrip. ##### getStripByteCounts() ``` public final long getStripByteCounts() ``` Gets the strip byte counts. **Returns:** long - The strip byte counts. ##### getXResolution() ``` public final float getXResolution() ``` Gets the XResolution. **Returns:** float - The XResolution. ##### getYResolution() ``` public final float getYResolution() ``` Gets the YResolution. **Returns:** float - The YResolution. ##### getPlanarConfiguration() ``` public final int getPlanarConfiguration() ``` Gets the PlanarConfiguration. **Returns:** int - The PlanarConfiguration. ##### getResolutionUnit() ``` public final int getResolutionUnit() ``` Gets the Resolution Unit. **Returns:** int - The Resolution Unit. ##### getTransferFunction() ``` public final int[] getTransferFunction() ``` Gets the TransferFunction. **Returns:** int[] - The TransferFunction. ##### getSoftware() ``` public final String getSoftware() ``` Gets the Software. **Returns:** java.lang.String - The Software. ##### getDateTime() ``` public final String getDateTime() ``` Gets the DateTime. **Returns:** java.lang.String - The DateTime. ##### getArtist() ``` public final String getArtist() ``` Gets the Artist. **Returns:** java.lang.String - The Artist. ##### getWhitePoint() ``` public final double[] getWhitePoint() ``` Gets the WhitePoint. **Returns:** double[] - The WhitePoint. ##### getPrimaryChromaticities() ``` public final double[] getPrimaryChromaticities() ``` Gets the PrimaryChromaticities. **Returns:** double[] - The PrimaryChromaticities. ##### getJpegInterchangeFormat() ``` public final long getJpegInterchangeFormat() ``` Gets the JpegInterchangeFormat. **Returns:** long - The JpegInterchangeFormat. ##### getJpegInterchangeFormatLength() ``` public final long getJpegInterchangeFormatLength() ``` Gets the JpegInterchangeFormatLength. **Returns:** long - The JpegInterchangeFormatLength. ##### getYCbCrCoefficients() ``` public final double[] getYCbCrCoefficients() ``` Gets the YCbCrCoefficients. **Returns:** double[] - The YCbCrCoefficients. ##### getYCbCrSubSampling() ``` public final int[] getYCbCrSubSampling() ``` Gets the YCbCrSubSampling. **Returns:** int[] - The YCbCrSubSampling. ##### getYCbCrPositioning() ``` public final int getYCbCrPositioning() ``` Gets the YCbCrPositioning. **Returns:** int - The YCbCrPositioning. ##### getReferenceBlackWhite() ``` public final double[] getReferenceBlackWhite() ``` Gets the ReferenceBlackWhite. **Returns:** double[] - The ReferenceBlackWhite. ##### getCopyright() ``` public final String getCopyright() ``` Gets the Copyright. **Returns:** java.lang.String - The Copyright. ##### getEXIF() ``` public final long getEXIF() ``` Gets the EXIF. **Returns:** long - The EXIF. ##### getGpsIfd() ``` public final long getGpsIfd() ``` Gets the EXIF. **Returns:** long - The EXIF. ### RawTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rawtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class RawTypePackage extends FileTypePackage ``` Represents a metadata package containing image-specific file format information. #### Methods | Method | Description | | --- | --- | | getByteOrder() | Gets the byte-order of the image. | ##### getByteOrder() ``` public final ByteOrder getByteOrder() ``` Gets the byte-order of the image. Please see https://en.wikipedia.org/wiki/Endianness for more information. **Returns:** ByteOrder - The byte-order value. ### ReadOnlyList Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/readonlylist.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IReadOnlyList ``` public class ReadOnlyList implements IReadOnlyList ``` Provides an abstract base class for a strongly typed read-only list. T : The type of the element. #### Methods | Method | Description | | --- | --- | | getCount() | Gets the number of elements contained in the collection. | | get_Item(int index) | Gets the element at the specified index in the collection. | | contains(T item) | Determines whether the collection contains a specific item. | | contains(TagCategory item) | Determines whether the collection contains a TagCategory item. | | indexOf(T item) | Determines the index of a specific item in the collection. | | iterator() | Returns an enumerator that iterates through a collection. | ##### getCount() ``` public final int getCount() ``` Gets the number of elements contained in the collection. **Returns:** int - The number of elements contained in the collection. ##### get_Item(int index) ``` public final T get_Item(int index) ``` Gets the element at the specified index in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the element to get. | **Returns:** T - The element at the specified index. ##### contains(T item) ``` public final boolean contains(T item) ``` Determines whether the collection contains a specific item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ##### contains(TagCategory item) ``` public final boolean contains(TagCategory item) ``` Determines whether the collection contains a TagCategory item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | TagCategory | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ##### indexOf(T item) ``` public final int indexOf(T item) ``` Determines the index of a specific item in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** int - The index of item if found in the collection; otherwise, -1. ##### iterator() ``` public final Iterator iterator() ``` Returns an enumerator that iterates through a collection. **Returns:** java.util.Iterator - An IEnumerator\{T\} object that can be used to iterate through the collection. ### Rectangle Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rectangle.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct ``` public class Rectangle extends Struct ``` A set of four integers that represent the location and size of a rectangle. #### Constructors | Constructor | Description | | --- | --- | | Rectangle() | | #### Methods | Method | Description | | --- | --- | | getEmpty() | Gets the empty rectangle. | | getX() | Gets the x. | | getY() | Gets the y. | | getWidth() | Gets the width. | | getHeight() | Gets the height. | | getLeft() | Gets the x-coordinate of the left edge of the rectangle. | | getTop() | Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. | | getRight() | Gets the x-coordinate that is the sum of X and Width property values of the rectangle. | | getBottom() | Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. | | isEmpty() | Gets a value indicating whether this instance is empty. | | toString() | Returns a System.String that represents this instance. | | CloneTo(Rectangle that) | | | Clone() | | | clone() | | | equals(Object obj) | | | equals(Rectangle obj1, Rectangle obj2) | | ##### Rectangle() ``` public Rectangle() ``` ##### getEmpty() ``` public static Rectangle getEmpty() ``` Gets the empty rectangle. **Returns:** Rectangle - The empty rectangle. ##### getX() ``` public final int getX() ``` Gets the x. **Returns:** int - The x. ##### getY() ``` public final int getY() ``` Gets the y. **Returns:** int - The y. ##### getWidth() ``` public final int getWidth() ``` Gets the width. **Returns:** int - The width. ##### getHeight() ``` public final int getHeight() ``` Gets the height. **Returns:** int - The height. ##### getLeft() ``` public final int getLeft() ``` Gets the x-coordinate of the left edge of the rectangle. **Returns:** int - The x-coordinate of the left edge of the rectangle. ##### getTop() ``` public final int getTop() ``` Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. **Returns:** int - The y-coordinate that is the sum of the Y and Height property values of the rectangle. ##### getRight() ``` public final int getRight() ``` Gets the x-coordinate that is the sum of X and Width property values of the rectangle. **Returns:** int - The x-coordinate that is the sum of X and Width property values of the rectangle. ##### getBottom() ``` public final int getBottom() ``` Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. **Returns:** int - The y-coordinate that is the sum of the Y and Height property values of the rectangle. ##### isEmpty() ``` public final boolean isEmpty() ``` Gets a value indicating whether this instance is empty. **Returns:** boolean - true if this instance is empty; otherwise, false . ##### toString() ``` public String toString() ``` Returns a System.String that represents this instance. **Returns:** java.lang.String - A System.String that represents this instance. ##### CloneTo(Rectangle that) ``` public void CloneTo(Rectangle that) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | that | Rectangle | | ##### Clone() ``` public Rectangle Clone() ``` **Returns:** Rectangle ##### clone() ``` public Object clone() ``` **Returns:** java.lang.Object ##### equals(Object obj) ``` public boolean equals(Object obj) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | | **Returns:** boolean ##### equals(Rectangle obj1, Rectangle obj2) ``` public static boolean equals(Rectangle obj1, Rectangle obj2) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj1 | Rectangle | | | obj2 | Rectangle | | **Returns:** boolean ### RiffInfoPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/riffinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class RiffInfoPackage extends CustomPackage ``` Represents the metadata package containing properties extracted from the RIFF INFO chunk. #### Methods | Method | Description | | --- | --- | | getArtist() | Gets the artist of the original subject of the file. | | getComment() | Gets the comment about the file or the subject of the file. | | getCopyright() | Gets the copyright information for the file. | | getCreationDate() | Gets the date the subject of the file was created. | | getEngineer() | Gets the name of the engineer who worked on the file. | | getGenre() | Gets the genre of the original work. | | getKeywords() | Gets the keywords that refer to the file or subject of the file. | | getName() | Gets the title of the subject of the file. | | getSubject() | Gets a description of the file contents, such as "Aerial view of Seattle." | | getSoftware() | Gets the name of the software package used to create the file. | | getSource() | Gets the name of the person or organization who supplied the original subject of the file. | | getTechnician() | Gets the technician who digitized the subject file. | ##### getArtist() ``` public final String getArtist() ``` Gets the artist of the original subject of the file. **Returns:** java.lang.String - The artist of the original subject of the file. ##### getComment() ``` public final String getComment() ``` Gets the comment about the file or the subject of the file. **Returns:** java.lang.String - The comment about the file or the subject of the file. ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright information for the file. **Returns:** java.lang.String - The copyright information for the file. ##### getCreationDate() ``` public final String getCreationDate() ``` Gets the date the subject of the file was created. **Returns:** java.lang.String - The date the subject of the file was created. ##### getEngineer() ``` public final String getEngineer() ``` Gets the name of the engineer who worked on the file. **Returns:** java.lang.String - The name of the engineer who worked on the file. ##### getGenre() ``` public final String getGenre() ``` Gets the genre of the original work. **Returns:** java.lang.String - The genre of the original work. ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords that refer to the file or subject of the file. **Returns:** java.lang.String - The keywords that refer to the file or subject of the file. ##### getName() ``` public final String getName() ``` Gets the title of the subject of the file. **Returns:** java.lang.String - The title of the subject of the file. ##### getSubject() ``` public final String getSubject() ``` Gets a description of the file contents, such as "Aerial view of Seattle." **Returns:** java.lang.String - A description of the file contents. ##### getSoftware() ``` public final String getSoftware() ``` Gets the name of the software package used to create the file. **Returns:** java.lang.String - The name of the software package used to create the file. ##### getSource() ``` public final String getSource() ``` Gets the name of the person or organization who supplied the original subject of the file. **Returns:** java.lang.String - The name of the person or organization who supplied the original subject of the file. ##### getTechnician() ``` public final String getTechnician() ``` Gets the technician who digitized the subject file. **Returns:** java.lang.String - The technician who digitized the subject file. ### RootMetadataPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/rootmetadatapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage ``` public abstract class RootMetadataPackage extends MetadataPackage ``` Represents an entry point to all metadata packages presented in a particular file. #### Methods | Method | Description | | --- | --- | | getFileType() | Gets the file type metadata package. | | isLicensed() | | | sanitize() | Removes writable metadata properties from the package. | | copyTo(MetadataPackage metadataPackage) | | ##### getFileType() ``` public final FileTypePackage getFileType() ``` Gets the file type metadata package. **Returns:** FileTypePackage - The file type metadata package. ##### isLicensed() ``` public final boolean isLicensed() ``` **Returns:** boolean ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. [Clean metadata]: https://docs.groupdocs.com/display/metadatajava/Clean+metadata ##### copyTo(MetadataPackage metadataPackage) ``` public void copyTo(MetadataPackage metadataPackage) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | | ### SevenZipFile Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/sevenzipfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SevenZipFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. #### Methods | Method | Description | | --- | --- | | getCompressedSize() | Gets the compressed size in bytes. | | getUncompressedSize() | Gets the uncompressed size in bytes. | | getName() | Gets the entry name. | | getModificationDateTime() | Gets the last modification date and time. | ##### getCompressedSize() ``` public final long getCompressedSize() ``` Gets the compressed size in bytes. Value: The compressed size in bytes. **Returns:** long ##### getUncompressedSize() ``` public final long getUncompressedSize() ``` Gets the uncompressed size in bytes. Value: The uncompressed size in bytes. **Returns:** long ##### getName() ``` public final String getName() ``` Gets the entry name. Value: The entry name. It can be a file or directory name. **Returns:** java.lang.String ##### getModificationDateTime() ``` public final Date getModificationDateTime() ``` Gets the last modification date and time. Value: The last modification date and time. **Returns:** java.util.Date ### SevenZipPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/sevenzippackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SevenZipPackage extends CustomPackage ``` Represents ZIP archive metadata. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputSevenZip)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.SevenZipPackage.TotalEntries); > foreach (var file in root.SevenZipPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getFiles() ``` public final SevenZipFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. Value: An array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.SevenZipFile[] ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. Value: The total number of entries inside the ZIP archive. **Returns:** long ### SevenZipRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/sevenziprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class SevenZipRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputSevenZip)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.SevenZipPackage.TotalEntries); > foreach (var file in root.SevenZipPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getSevenZipPackage() | Gets the ZIP metadata package. | ##### getSevenZipPackage() ``` public final SevenZipPackage getSevenZipPackage() ``` Gets the ZIP metadata package. Value: The ZIP metadata package. **Returns:** SevenZipPackage ### SonyMakerNotePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/sonymakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public final class SonyMakerNotePackage extends MakerNotePackage ``` Represents SONY MakerNote metadata. #### Methods | Method | Description | | --- | --- | | getHeader() | Gets the MakerNote header. | | getQuality() | Gets the image quality. | | getWhiteBalance() | Gets the white balance. | | getTeleconverter() | Gets the teleconverter type. | | getMultiBurstMode() | Gets a value indicating whether the multi burst mode is on. | | getMultiBurstImageWidth() | Gets the width of the multi burst image. | | getMultiBurstImageHeight() | Gets the height of the multi burst image. | | getRating() | Gets the rating. | | getContrast() | Gets the contrast. | | getSaturation() | Gets the saturation. | | getSharpness() | Gets the sharpness. | | getBrightness() | Gets the brightness. | | getPictureEffect() | Gets the picture effect. | | getSoftSkinEffect() | Gets the soft skin effect. | | getSonyModelID() | Gets the sony model identifier. | | getCreativeStyle() | Gets the creative style. | | getColorTemperature() | Gets the color temperature. | | getColorMode() | Gets the color mode. | | getMacro() | Gets the macro. | | getExposureMode() | Gets the exposure mode. | | getFocusMode() | Gets the focus mode. | | getJpegQuality() | Gets the JPEG quality. | | getAFIlluminator() | Gets the AF illuminator type. | | getFlashLevel() | Gets the flash level. | | getReleaseMode() | Gets the release mode. | ##### getHeader() ``` public final String getHeader() ``` Gets the MakerNote header. **Returns:** java.lang.String - The MakerNote header. ##### getQuality() ``` public final Long getQuality() ``` Gets the image quality. **Returns:** java.lang.Long - The image quality. ##### getWhiteBalance() ``` public final Long getWhiteBalance() ``` Gets the white balance. **Returns:** java.lang.Long - The white balance. ##### getTeleconverter() ``` public final Long getTeleconverter() ``` Gets the teleconverter type. **Returns:** java.lang.Long - The teleconverter type. ##### getMultiBurstMode() ``` public final boolean getMultiBurstMode() ``` Gets a value indicating whether the multi burst mode is on. **Returns:** boolean - true if the multi burst mode is on; otherwise, false . ##### getMultiBurstImageWidth() ``` public final Integer getMultiBurstImageWidth() ``` Gets the width of the multi burst image. **Returns:** java.lang.Integer - The width of the multi burst image. ##### getMultiBurstImageHeight() ``` public final Integer getMultiBurstImageHeight() ``` Gets the height of the multi burst image. **Returns:** java.lang.Integer - The height of the multi burst image. ##### getRating() ``` public final Long getRating() ``` Gets the rating. **Returns:** java.lang.Long - The rating. ##### getContrast() ``` public final Integer getContrast() ``` Gets the contrast. **Returns:** java.lang.Integer - The contrast. ##### getSaturation() ``` public final Integer getSaturation() ``` Gets the saturation. **Returns:** java.lang.Integer - The saturation. ##### getSharpness() ``` public final Integer getSharpness() ``` Gets the sharpness. **Returns:** java.lang.Integer - The sharpness. ##### getBrightness() ``` public final Integer getBrightness() ``` Gets the brightness. **Returns:** java.lang.Integer - The brightness. ##### getPictureEffect() ``` public final Integer getPictureEffect() ``` Gets the picture effect. **Returns:** java.lang.Integer - The picture effect. ##### getSoftSkinEffect() ``` public final Long getSoftSkinEffect() ``` Gets the soft skin effect. **Returns:** java.lang.Long - The soft skin effect. ##### getSonyModelID() ``` public final Integer getSonyModelID() ``` Gets the sony model identifier. **Returns:** java.lang.Integer - The sony model identifier. ##### getCreativeStyle() ``` public final String getCreativeStyle() ``` Gets the creative style. **Returns:** java.lang.String - The creative style. ##### getColorTemperature() ``` public final Long getColorTemperature() ``` Gets the color temperature. **Returns:** java.lang.Long - The color temperature. ##### getColorMode() ``` public final Long getColorMode() ``` Gets the color mode. **Returns:** java.lang.Long - The color mode. ##### getMacro() ``` public final Integer getMacro() ``` Gets the macro. **Returns:** java.lang.Integer - The macro. ##### getExposureMode() ``` public final Integer getExposureMode() ``` Gets the exposure mode. **Returns:** java.lang.Integer - The exposure mode. ##### getFocusMode() ``` public final Integer getFocusMode() ``` Gets the focus mode. **Returns:** java.lang.Integer - The focus mode. ##### getJpegQuality() ``` public final Integer getJpegQuality() ``` Gets the JPEG quality. **Returns:** java.lang.Integer - The JPEG quality. ##### getAFIlluminator() ``` public final Integer getAFIlluminator() ``` Gets the AF illuminator type. **Returns:** java.lang.Integer - The AF illuminator type. ##### getFlashLevel() ``` public final Short getFlashLevel() ``` Gets the flash level. **Returns:** java.lang.Short - The flash level. ##### getReleaseMode() ``` public final Integer getReleaseMode() ``` Gets the release mode. **Returns:** java.lang.Integer - The release mode. ### SpreadsheetComment Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetcomment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class SpreadsheetComment extends CustomPackage ``` Represents a user comment in a spreadsheet. [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the comment. | | getText() | Gets the comment text. | | getSheetNumber() | Gets the sheet number. | | getRow() | Gets the one-based row index of the comment. | | getColumn() | Gets the one-based column index of the comment. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the comment. **Returns:** java.lang.String - The author of the comment. ##### getText() ``` public final String getText() ``` Gets the comment text. **Returns:** java.lang.String - The comment text. ##### getSheetNumber() ``` public final int getSheetNumber() ``` Gets the sheet number. **Returns:** int - The sheet number. ##### getRow() ``` public final int getRow() ``` Gets the one-based row index of the comment. **Returns:** int - The row index of the comment. ##### getColumn() ``` public final int getColumn() ``` Gets the one-based column index of the comment. **Returns:** int - The column index of the comment. ### SpreadsheetContentTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetcontenttypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class SpreadsheetContentTypePackage extends CustomPackage ``` Represents a metadata package containing spreadsheet content type properties. #### Methods | Method | Description | | --- | --- | | set(String propertyName, String propertyValue) | Adds or replaces the content type property with the specified name. | | set(String propertyName, String propertyValue, String propertyType) | Adds or replaces the content type property with the specified name. | | remove(String propertyName) | Removes the content type property with the specified name. | | clear() | Removes all writable metadata properties. | | toList() | Creates a list from the package. | ##### set(String propertyName, String propertyValue) ``` public final void set(String propertyName, String propertyValue) ``` Adds or replaces the content type property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | propertyValue | java.lang.String | The property value. | ##### set(String propertyName, String propertyValue, String propertyType) ``` public final void set(String propertyName, String propertyValue, String propertyType) ``` Adds or replaces the content type property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | propertyValue | java.lang.String | The property value. | | propertyType | java.lang.String | The property type. | ##### remove(String propertyName) ``` public final boolean remove(String propertyName) ``` Removes the content type property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The name of the content type property to be removed. | **Returns:** boolean - true if the property is found and deleted; otherwise false . ##### clear() ``` public final void clear() ``` Removes all writable metadata properties. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains properties from the package. ### SpreadsheetContentTypeProperty Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetcontenttypeproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public final class SpreadsheetContentTypeProperty extends MetadataProperty ``` Represents a content type property in a spreadsheet. #### Methods | Method | Description | | --- | --- | | getSpreadsheetPropertyType() | Gets the type of the property. | | getSpreadsheetPropertyValue() | Gets the value of the property. | ##### getSpreadsheetPropertyType() ``` public final String getSpreadsheetPropertyType() ``` Gets the type of the property. **Returns:** java.lang.String - The type of the property. ##### getSpreadsheetPropertyValue() ``` public final String getSpreadsheetPropertyValue() ``` Gets the value of the property. **Returns:** java.lang.String - The value of the property. ### SpreadsheetFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum SpreadsheetFormat extends Enum implements IEnumValue ``` Defines various spreadsheet subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Xls | Represents the .XLS Excel format. | | Xlsb | Represents the .XLSB Excel format. | | Xlsx | Represents the .XLSX Excel format. | | Xlsm | Represents the .XLSM Excel format. | | Xltx | Represents the .XLTX Excel format. | | Xltm | Represents the .XLTM Excel format. | | Ods | Represents the Opendocument Spreadsheet format. | | Xlt | Represents the .XLT Excel format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final SpreadsheetFormat Unknown ``` The format is not recognized. ##### Xls ``` public static final SpreadsheetFormat Xls ``` Represents the .XLS Excel format. Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. File saved by Excel is known as Workbook where each workbook can have one or more worksheets. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xls/ ##### Xlsb ``` public static final SpreadsheetFormat Xlsb ``` Represents the .XLSB Excel format. XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. The content can include unstructured or semi-structured tables of numbers, text, or both numbers and text, formulas, external data connections, charts and images. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsb/ ##### Xlsx ``` public static final SpreadsheetFormat Xlsx ``` Represents the .XLSX Excel format. XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsx/ ##### Xlsm ``` public static final SpreadsheetFormat Xlsm ``` Represents the .XLSM Excel format. Files with XLSM extension is a type of Spreasheet files that support Macros. From application point of view, a Macro is set of instructions that are used for automating processes. A macro is used to record the steps that are performed repeatedly and facilitates performing the actions by running the macro again. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsm/ ##### Xltx ``` public static final SpreadsheetFormat Xltx ``` Represents the .XLTX Excel format. Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltx/ ##### Xltm ``` public static final SpreadsheetFormat Xltm ``` Represents the .XLTM Excel format. The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Such template files are used to generate and set the layout, formatting, and other settings along with the macros to facilitate creating similar XLSX files then. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltm/ ##### Ods ``` public static final SpreadsheetFormat Ods ``` Represents the Opendocument Spreadsheet format. Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. It is XML-based format and is one of the several subtypes in the Open Document Formats (ODF) family. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/ods/ ##### Xlt ``` public static final SpreadsheetFormat Xlt ``` Represents the .XLT Excel format. Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. The latest version of Excel is still capable of opening this old format template files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlt/ ##### values() ``` public static SpreadsheetFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.SpreadsheetFormat[] ##### valueOf(String name) ``` public static SpreadsheetFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** SpreadsheetFormat ##### getByRawValue(int rawValue) ``` public static SpreadsheetFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** SpreadsheetFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### SpreadsheetInspectionPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SpreadsheetInspectionPackage extends CustomPackage ``` Contains information about spreadsheet parts that can be considered as metadata in some cases. [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getComments() | Gets an array of the user comments. | | getHiddenSheets() | Gets an array of the hidden sheets. | | getDigitalSignatures() | Gets an array of digital signatures presented in the document. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | clearComments() | Removes all detected user comments from the spreadsheet. | | clearHiddenSheets() | Removes all detected hidden sheets from the spreadsheet. | | clearDigitalSignatures() | Removes all detected digital signatures from the spreadsheet. | | sanitize() | Removes writable metadata properties from the package. | ##### getComments() ``` public final SpreadsheetComment[] getComments() ``` Gets an array of the user comments. **Returns:** com.groupdocs.metadata.core.SpreadsheetComment[] - The user comments. ##### getHiddenSheets() ``` public final SpreadsheetSheet[] getHiddenSheets() ``` Gets an array of the hidden sheets. **Returns:** com.groupdocs.metadata.core.SpreadsheetSheet[] - The hidden sheets. ##### getDigitalSignatures() ``` public final DigitalSignature[] getDigitalSignatures() ``` Gets an array of digital signatures presented in the document. **Returns:** com.groupdocs.metadata.core.DigitalSignature[] - The digital signatures. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### clearComments() ``` public final void clearComments() ``` Removes all detected user comments from the spreadsheet. ##### clearHiddenSheets() ``` public final void clearHiddenSheets() ``` Removes all detected hidden sheets from the spreadsheet. ##### clearDigitalSignatures() ``` public final void clearDigitalSignatures() ``` Removes all detected digital signatures from the spreadsheet. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### SpreadsheetPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class SpreadsheetPackage extends DocumentPackage ``` Represents a native metadata package in a spreadsheet. This example shows how to update built-in metadata properties in a spreadsheet. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputXlsx)) { > SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedTime(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputXlsx); > } > > ``` > ``` [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getLanguage() | Gets the document language. | | setLanguage(String value) | Sets the document language. | | getAuthor() | Gets the document author. | | setAuthor(String value) | Sets the document author. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the comments. | | setComments(String value) | Sets the comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getContentStatus() | Gets the content status. | | setContentStatus(String value) | Sets the content status. | | getContentType() | Gets the content type. | | setContentType(String value) | Sets the content type. | | getCreatedTime() | Gets the document created date. | | setCreatedTime(Date value) | Sets the document created date. | | getTotalEditingTime() | Gets the total editing time in minutes. | | setTotalEditingTime(Double value) | Sets the total editing time in minutes. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getLastSavedTime() | Gets the time of the last saving in UTC. | | setLastSavedTime(Date value) | Sets the time of the last saving in UTC. | | getLastPrintedDate() | Gets the last printed date in UTC. | | setLastPrintedDate(Date value) | Sets the last printed date in UTC. | | getLastSavedBy() | Gets the name of the last author. | | setLastSavedBy(String value) | Sets the name of the last author. | | getManager() | Gets the manager. | | setManager(String value) | Sets the manager. | | getNameOfApplication() | Gets the name of application. | | setNameOfApplication(String value) | Sets the name of application. | | getRevision() | Gets the document revision number. | | setRevision(String value) | Sets the document revision number. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTemplate() | Gets the document template name. | | setTemplate(String value) | Sets the document template name. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getVersion() | Gets the version number of the application that created the document. | | setVersion(String value) | Sets the version number of the application that created the document. | | getContentTypeProperties() | Gets the metadata package containing the content type properties. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the document language. **Returns:** java.lang.String - The document language. ##### setLanguage(String value) ``` public final void setLanguage(String value) ``` Sets the document language. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The document language. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the comments. **Returns:** java.lang.String - Comments value. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Comments value. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getContentStatus() ``` public final String getContentStatus() ``` Gets the content status. **Returns:** java.lang.String - The content status. ##### setContentStatus(String value) ``` public final void setContentStatus(String value) ``` Sets the content status. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content status. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type. **Returns:** java.lang.String - The type of the content. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the content. | ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the document created date. **Returns:** java.util.Date - The created time. ##### setCreatedTime(Date value) ``` public final void setCreatedTime(Date value) ``` Sets the document created date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The created time. | ##### getTotalEditingTime() ``` public final Double getTotalEditingTime() ``` Gets the total editing time in minutes. **Returns:** java.lang.Double - The total editing time. ##### setTotalEditingTime(Double value) ``` public final void setTotalEditingTime(Double value) ``` Sets the total editing time in minutes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The total editing time. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - Keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Keywords. | ##### getLastSavedTime() ``` public final Date getLastSavedTime() ``` Gets the time of the last saving in UTC. **Returns:** java.util.Date - The time of the last saving. ##### setLastSavedTime(Date value) ``` public final void setLastSavedTime(Date value) ``` Sets the time of the last saving in UTC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The time of the last saving. | ##### getLastPrintedDate() ``` public final Date getLastPrintedDate() ``` Gets the last printed date in UTC. **Returns:** java.util.Date - The last printed date. ##### setLastPrintedDate(Date value) ``` public final void setLastPrintedDate(Date value) ``` Sets the last printed date in UTC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last printed date. | ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last author. **Returns:** java.lang.String - The name of the last author. ##### setLastSavedBy(String value) ``` public final void setLastSavedBy(String value) ``` Sets the name of the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the last author. | ##### getManager() ``` public final String getManager() ``` Gets the manager. **Returns:** java.lang.String - The manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manager. | ##### getNameOfApplication() ``` public final String getNameOfApplication() ``` Gets the name of application. **Returns:** java.lang.String - The name of application. ##### setNameOfApplication(String value) ``` public final void setNameOfApplication(String value) ``` Sets the name of application. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of application. | ##### getRevision() ``` public final String getRevision() ``` Gets the document revision number. **Returns:** java.lang.String - The revision number. ##### setRevision(String value) ``` public final void setRevision(String value) ``` Sets the document revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The revision number. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTemplate() ``` public final String getTemplate() ``` Gets the document template name. **Returns:** java.lang.String - The template. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets the document template name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The template. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getVersion() ``` public final String getVersion() ``` Gets the version number of the application that created the document. **Returns:** java.lang.String - The version. Its format is "00.0000",for example 12.0000 ##### setVersion(String value) ``` public final void setVersion(String value) ``` Sets the version number of the application that created the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The version. Its format is "00.0000",for example 12.0000 | ##### getContentTypeProperties() ``` public final SpreadsheetContentTypePackage getContentTypeProperties() ``` Gets the metadata package containing the content type properties. **Returns:** SpreadsheetContentTypePackage - The metadata package containing the content type properties. ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ### SpreadsheetRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class SpreadsheetRootPackage extends DocumentRootPackage ``` Represents the root package allowing working with metadata in a spreadsheet. This code snippet demonstrates how to extract built-in metadata properties from a spreadsheet. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputXlsx)) { > SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedTime()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getLanguage()); > System.out.println(root.getDocumentProperties().getContentType()); > // ... > } > > ``` > ``` [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getSpreadsheetType() | Gets the file type metadata package. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | ##### getSpreadsheetType() ``` public final SpreadsheetTypePackage getSpreadsheetType() ``` Gets the file type metadata package. **Returns:** SpreadsheetTypePackage - The file type metadata package. ##### getInspectionPackage() ``` public final SpreadsheetInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** SpreadsheetInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ### SpreadsheetSheet Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheetsheet.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SpreadsheetSheet extends CustomPackage ``` Represents a sheet in a spreadsheet document. [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getName() | Gets the sheet name. | | getNumber() | Gets the sheet number. | ##### getName() ``` public final String getName() ``` Gets the sheet name. **Returns:** java.lang.String - The sheet name. ##### getNumber() ``` public final int getNumber() ``` Gets the sheet number. **Returns:** int - The sheet number. ### SpreadsheetTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/spreadsheettypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class SpreadsheetTypePackage extends FileTypePackage ``` Represents a metadata package containing spreadsheet-specific file format information. #### Methods | Method | Description | | --- | --- | | getSpreadsheetFormat() | Gets the exact spreadsheet format. | ##### getSpreadsheetFormat() ``` public final SpreadsheetFormat getSpreadsheetFormat() ``` Gets the exact spreadsheet format. **Returns:** SpreadsheetFormat - The exact spreadsheet format. ### TarFile Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tarfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class TarFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. #### Methods | Method | Description | | --- | --- | | getSize() | Gets the size in bytes. | | getName() | Gets the entry name. | ##### getSize() ``` public final long getSize() ``` Gets the size in bytes. Value: The size in bytes. **Returns:** long ##### getName() ``` public final String getName() ``` Gets the entry name. Value: The entry name. It can be a file or directory name. **Returns:** java.lang.String ### TarPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tarpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class TarPackage extends CustomPackage ``` Represents ZIP archive metadata. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputTar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.TarPackage.TotalEntries); > foreach (var file in root.TarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.Size); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getFiles() ``` public final TarFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. Value: An array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.TarFile[] ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. Value: The total number of entries inside the ZIP archive. **Returns:** long ### TarRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tarrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class TarRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputTar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.TarPackage.TotalEntries); > foreach (var file in root.TarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getTarPackage() | Gets the ZIP metadata package. | ##### getTarPackage() ``` public final TarPackage getTarPackage() ``` Gets the ZIP metadata package. Value: The ZIP metadata package. **Returns:** TarPackage ### TiffArrayTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffarraytag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag ``` public abstract class TiffArrayTag extends TiffTag ``` Represents an array-based TIFF tag. T : The type of array values. #### Methods | Method | Description | | --- | --- | | getTagValue() | Gets the tag value. | ##### getTagValue() ``` public final T[] getTagValue() ``` Gets the tag value. **Returns:** T[] - The tag value. ### TiffAsciiTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffasciitag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag ``` public final class TiffAsciiTag extends TiffTag ``` Represents a TIFF ASCII tag. #### Constructors | Constructor | Description | | --- | --- | | TiffAsciiTag(TiffTagID tagID, String value) | Initializes a new instance of the TiffAsciiTag class. | #### Methods | Method | Description | | --- | --- | | getTagValue() | Gets the tag value. | ##### TiffAsciiTag(TiffTagID tagID, String value) ``` public TiffAsciiTag(TiffTagID tagID, String value) ``` Initializes a new instance of the TiffAsciiTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | java.lang.String | The value. | ##### getTagValue() ``` public final String getTagValue() ``` Gets the tag value. **Returns:** java.lang.String - The tag value. ### TiffByteTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffbytetag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffByteTag extends TiffArrayTag ``` Represents a Byte tag. #### Constructors | Constructor | Description | | --- | --- | | TiffByteTag(TiffTagID tagID, byte[] value) | Initializes a new instance of the TiffByteTag class. | ##### TiffByteTag(TiffTagID tagID, byte[] value) ``` public TiffByteTag(TiffTagID tagID, byte[] value) ``` Initializes a new instance of the TiffByteTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | byte[] | The value. | ### TiffDoubleTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffdoubletag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffDoubleTag extends TiffArrayTag ``` Represents a TIFF Double tag. #### Constructors | Constructor | Description | | --- | --- | | TiffDoubleTag(TiffTagID tagID, double[] value) | Initializes a new instance of the TiffDoubleTag class. | ##### TiffDoubleTag(TiffTagID tagID, double[] value) ``` public TiffDoubleTag(TiffTagID tagID, double[] value) ``` Initializes a new instance of the TiffDoubleTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | double[] | The value. | ### TiffFloatTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tifffloattag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffFloatTag extends TiffArrayTag ``` Represents a TIFF float tag. #### Constructors | Constructor | Description | | --- | --- | | TiffFloatTag(TiffTagID tagID, float[] value) | Initializes a new instance of the TiffFloatTag class. | ##### TiffFloatTag(TiffTagID tagID, float[] value) ``` public TiffFloatTag(TiffTagID tagID, float[] value) ``` Initializes a new instance of the TiffFloatTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | float[] | The value. | ### TiffLongTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tifflongtag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffLongTag extends TiffArrayTag ``` Represents a TIFF Long tag. #### Constructors | Constructor | Description | | --- | --- | | TiffLongTag(TiffTagID tagID, long[] value) | Initializes a new instance of the TiffLongTag class. | ##### TiffLongTag(TiffTagID tagID, long[] value) ``` public TiffLongTag(TiffTagID tagID, long[] value) ``` Initializes a new instance of the TiffLongTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | long[] | The value. | ### TiffRational Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffrational.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class TiffRational implements System.IEquatable ``` Represents a rational number. #### Constructors | Constructor | Description | | --- | --- | | TiffRational(long numerator, long denominator) | Initializes a new instance of the TiffRational class. | #### Methods | Method | Description | | --- | --- | | getNumerator() | Gets the numerator. | | getDenominator() | Gets the denominator. | | getValue() | Gets the rational value. | | equals(TiffRational rational, TiffRational other) | Compares a pair of TiffRational numbers. | | equals(TiffRational other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Indicates whether the current object is equal to another object of the same type. | | hashCode() | Returns a hash code for this instance. | | op_Equality(TiffRational left, TiffRational right) | Indicates whether two objects of the same type are equal. | | op_Inequality(TiffRational left, TiffRational right) | Indicates whether two objects of the same type are not equal. | | toString() | Returns a string that represents this instance. | ##### TiffRational(long numerator, long denominator) ``` public TiffRational(long numerator, long denominator) ``` Initializes a new instance of the TiffRational class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | long | The numerator. | | denominator | long | The denominator. | ##### getNumerator() ``` public final long getNumerator() ``` Gets the numerator. **Returns:** long - The numerator. ##### getDenominator() ``` public final long getDenominator() ``` Gets the denominator. **Returns:** long - The denominator. ##### getValue() ``` public final double getValue() ``` Gets the rational value. **Returns:** double - The rational value. ##### equals(TiffRational rational, TiffRational other) ``` public static boolean equals(TiffRational rational, TiffRational other) ``` Compares a pair of TiffRational numbers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rational | TiffRational | A rational number. | | other | TiffRational | Another rational number. | **Returns:** boolean - true if the objects are equal; otherwise, false . ##### equals(TiffRational other) ``` public final boolean equals(TiffRational other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TiffRational | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false . ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the obj parameter; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ##### op_Equality(TiffRational left, TiffRational right) ``` public static boolean op_Equality(TiffRational left, TiffRational right) ``` Indicates whether two objects of the same type are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffRational | The left object. | | right | TiffRational | The rigt object. | **Returns:** boolean - True if the objects are equal; otherwise, false. ##### op_Inequality(TiffRational left, TiffRational right) ``` public static boolean op_Inequality(TiffRational left, TiffRational right) ``` Indicates whether two objects of the same type are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffRational | The left object. | | right | TiffRational | The right object. | **Returns:** boolean - True if the objects are not equal; otherwise, false. ##### toString() ``` public String toString() ``` Returns a string that represents this instance. **Returns:** java.lang.String - A string that represents this instance. ### TiffRationalTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffrationaltag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffRationalTag extends TiffArrayTag ``` Represents a TIFF Rational tag. #### Constructors | Constructor | Description | | --- | --- | | TiffRationalTag(TiffTagID tagID, TiffRational[] value) | Initializes a new instance of the TiffRationalTag class. | ##### TiffRationalTag(TiffTagID tagID, TiffRational[] value) ``` public TiffRationalTag(TiffTagID tagID, TiffRational[] value) ``` Initializes a new instance of the TiffRationalTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | TiffRational\[\] | The value. | ### TiffRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif, com.groupdocs.metadata.core.IIptc ``` public class TiffRootPackage extends ImageRootPackage implements IXmp, IExif, IIptc ``` Represents the root package allowing working with metadata in a TIFF image. This example shows how to extract basic IPTC metadata properties from a TIFF image. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.TiffWithIptc)) { > TiffRootPackage root = metadata.getRootPackageGeneric(); > if (root.getIptcPackage() != null) { > if (root.getIptcPackage().getEnvelopeRecord() != null) { > System.out.println(root.getIptcPackage().getEnvelopeRecord().getDateSent()); > System.out.println(root.getIptcPackage().getEnvelopeRecord().getDestination()); > System.out.println(root.getIptcPackage().getEnvelopeRecord().getFileFormat()); > System.out.println(root.getIptcPackage().getEnvelopeRecord().getFileFormatVersion()); > // ... > } > if (root.getIptcPackage().getApplicationRecord() != null) { > System.out.println(root.getIptcPackage().getApplicationRecord().getHeadline()); > System.out.println(root.getIptcPackage().getApplicationRecord().getByLine()); > System.out.println(root.getIptcPackage().getApplicationRecord().getByLineTitle()); > System.out.println(root.getIptcPackage().getApplicationRecord().getCaptionAbstract()); > System.out.println(root.getIptcPackage().getApplicationRecord().getCity()); > System.out.println(root.getIptcPackage().getApplicationRecord().getDateCreated()); > System.out.println(root.getIptcPackage().getApplicationRecord().getReleaseDate()); > // ... > } > } > } > > ``` > ``` [Working with metadata in TIFF images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+TIFF+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getIptcPackage() | Gets the IPTC metadata package. | | setIptcPackage(IptcRecordSet value) | Sets the IPTC metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getIptcPackage() ``` public final IptcRecordSet getIptcPackage() ``` Gets the IPTC metadata package. **Returns:** IptcRecordSet - The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata ##### setIptcPackage(IptcRecordSet value) ``` public final void setIptcPackage(IptcRecordSet value) ``` Sets the IPTC metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcRecordSet | The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata | ### TiffSByteTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffsbytetag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSByteTag extends TiffArrayTag ``` Represents a TIFF SByte tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSByteTag(TiffTagID tagID, byte[] value) | Initializes a new instance of the TiffSByteTag class. | ##### TiffSByteTag(TiffTagID tagID, byte[] value) ``` public TiffSByteTag(TiffTagID tagID, byte[] value) ``` Initializes a new instance of the TiffSByteTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | byte[] | The value. | ### TiffShortTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffshorttag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffShortTag extends TiffArrayTag ``` Represents a TIFF Short tag. #### Constructors | Constructor | Description | | --- | --- | | TiffShortTag(TiffTagID tagID, int[] value) | Initializes a new instance of the TiffShortTag class. | ##### TiffShortTag(TiffTagID tagID, int[] value) ``` public TiffShortTag(TiffTagID tagID, int[] value) ``` Initializes a new instance of the TiffShortTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | int[] | The value. | ### TiffSLongTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffslongtag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSLongTag extends TiffArrayTag ``` Represents a TIFF SLong tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSLongTag(TiffTagID tagID, int[] value) | Initializes a new instance of the TiffSLongTag class. | ##### TiffSLongTag(TiffTagID tagID, int[] value) ``` public TiffSLongTag(TiffTagID tagID, int[] value) ``` Initializes a new instance of the TiffSLongTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | int[] | The value. | ### TiffSRational Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffsrational.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class TiffSRational implements System.IEquatable ``` Represents signed rational number. #### Constructors | Constructor | Description | | --- | --- | | TiffSRational(int numerator, int denominator) | Initializes a new instance of the TiffSRational class. | #### Methods | Method | Description | | --- | --- | | getNumerator() | Gets numerator. | | getDenominator() | Gets denominator. | | getValue() | Gets actual value represented as double. | | equals(TiffSRational rational, TiffSRational other) | Compares pair of TiffSRational . | | equals(TiffSRational other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Indicates whether the current object is equal to another object of the same type. | | hashCode() | Returns a hash code for this instance. | | op_Equality(TiffSRational left, TiffSRational right) | Indicates whether two objects of the same type are equal. | | op_Inequality(TiffSRational left, TiffSRational right) | Indicates whether two objects of the same type are not equal. | | toString() | Returns a System.String that represents this instance. | ##### TiffSRational(int numerator, int denominator) ``` public TiffSRational(int numerator, int denominator) ``` Initializes a new instance of the TiffSRational class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | int | The numerator. | | denominator | int | The denominator. | ##### getNumerator() ``` public final int getNumerator() ``` Gets numerator. **Returns:** int - The numerator. ##### getDenominator() ``` public final int getDenominator() ``` Gets denominator. **Returns:** int - The denominator. ##### getValue() ``` public final double getValue() ``` Gets actual value represented as double. **Returns:** double - Double value. ##### equals(TiffSRational rational, TiffSRational other) ``` public static boolean equals(TiffSRational rational, TiffSRational other) ``` Compares pair of TiffSRational . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rational | TiffSRational | Comparing item. | | other | TiffSRational | Other item. | **Returns:** boolean - true if objects are equal; otherwise false . ##### equals(TiffSRational other) ``` public final boolean equals(TiffSRational other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TiffSRational | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false . ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the obj parameter; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ##### op_Equality(TiffSRational left, TiffSRational right) ``` public static boolean op_Equality(TiffSRational left, TiffSRational right) ``` Indicates whether two objects of the same type are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffSRational | The left object. | | right | TiffSRational | The rigt object. | **Returns:** boolean - True if the objects are equal; otherwise, false. ##### op_Inequality(TiffSRational left, TiffSRational right) ``` public static boolean op_Inequality(TiffSRational left, TiffSRational right) ``` Indicates whether two objects of the same type are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffSRational | The left object. | | right | TiffSRational | The rigt object. | **Returns:** boolean - True if the objects are not equal; otherwise, false. ##### toString() ``` public String toString() ``` Returns a System.String that represents this instance. **Returns:** java.lang.String - A System.String that represents this instance. ### TiffSRationalTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffsrationaltag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSRationalTag extends TiffArrayTag ``` Represents a TIFF SRational tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSRationalTag(TiffTagID tagID, TiffSRational[] value) | Initializes a new instance of the TiffSRationalTag class. | ##### TiffSRationalTag(TiffTagID tagID, TiffSRational[] value) ``` public TiffSRationalTag(TiffTagID tagID, TiffSRational[] value) ``` Initializes a new instance of the TiffSRationalTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | TiffSRational\[\] | The value. | ### TiffSShortTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffsshorttag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSShortTag extends TiffArrayTag ``` Represents a TIFF SShort tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSShortTag(TiffTagID tagID, short[] value) | Initializes a new instance of the TiffSShortTag class. | ##### TiffSShortTag(TiffTagID tagID, short[] value) ``` public TiffSShortTag(TiffTagID tagID, short[] value) ``` Initializes a new instance of the TiffSShortTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | short[] | The value. | ### TiffTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tifftag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public abstract class TiffTag extends MetadataProperty ``` Represents a TIFF tag. #### Methods | Method | Description | | --- | --- | | getTagType() | Gets the type of the tag. | | getTagID() | Gets the tag id. | ##### getTagType() ``` public final TiffTagType getTagType() ``` Gets the type of the tag. **Returns:** TiffTagType - The tag type. ##### getTagID() ``` public final TiffTagID getTagID() ``` Gets the tag id. **Returns:** TiffTagID - The tag id. ### TiffTagID Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tifftagid.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class TiffTagID implements IEnumValue ``` Defines ids of TIFF tags. #### Fields | Field | Description | | --- | --- | | GpsVersionID | Indicates the version of GPSInfoIFD. | | GpsLatitudeRef | Indicates whether the latitude is north or south latitude. | | GpsLatitude | Indicates the latitude. | | GpsLongitudeRef | Indicates whether the longitude is east or west longitude. | | GpsLongitude | Indicates the longitude. | | GpsAltitudeRef | Indicates the altitude used as the reference altitude. | | GpsAltitude | Indicates the altitude based on the reference in GPSAltitudeRef. | | GpsTimeStamp | Indicates the time as UTC (Coordinated Universal Time). | | GpsSatellites | ndicates the GPS satellites used for measurements. | | GpsStatus | Indicates the status of the GPS receiver when the image is recorded. | | GpsMeasureMode | Indicates the GPS measurement mode. | | GpsDop | Indicates the GPS DOP (data degree of precision). | | GpsSpeedRef | Indicates the unit used to express the GPS receiver speed of movement | | GpsSpeed | Indicates the speed of GPS receiver movement. | | GpsTrackRef | Indicates the reference for giving the direction of GPS receiver movement. | | GpsTrack | Indicates the direction of GPS receiver movement. | | GpsImgDirectionRef | Indicates the reference for giving the direction of the image when it is captured. | | GpsImgDirection | Indicates the direction of the image when it was captured. | | GpsMapDatum | Indicates the geodetic survey data used by the GPS receiver. | | GpsDestLatitudeRef | Indicates whether the latitude of the destination point is north or south latitude. | | GpsDestLatitude | Indicates the latitude of the destination point. | | GpsDestLongitudeRef | Indicates whether the longitude of the destination point is east or west longitude. | | GpsDestLongitude | Indicates the longitude of the destination point. | | GpsDestBearingRef | Indicates the reference used for giving the bearing to the destination point. | | GpsDestBearing | Indicates the bearing to the destination point. | | GpsDestDistanceRef | Indicates the unit used to express the distance to the destination point. | | GpsDestDistance | Indicates the distance to the destination point. | | GpsProcessingMethod | A character string recording the name of the method used for location finding. | | GpsAreaInformation | A character string recording the name of the GPS area. | | GpsDateStamp | A character string recording date and time information relative to UTC (Coordinated Universal Time). | | GpsDifferential | Indicates whether differential correction is applied to the GPS receiver. | | GpsHPositioningError | This tag indicates horizontal positioning errors in meters. | | NewSubfileType | A general indication of the kind of data contained in this sub-file. | | SubfileType | A general indication of the kind of data contained in this subfile. | | ImageWidth | The number of columns in the image, i.e., the number of pixels per scan line. | | ImageLength | The number of rows (sometimes described as scan lines) in the image. | | BitsPerSample | Number of bits per component. | | Compression | Compression scheme used on the image data. | | PhotometricInterpretation | The color space of the image data. | | Threshholding | For black and white TIFF files that represent shades of gray, the technique used to convert from gray to black and white pixels. | | CellWidth | The width of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. | | CellLength | The length of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. | | FillOrder | The logical order of bits within a byte. | | DocumentName | The name of the document from which this image was scanned. | | ImageDescription | A string that describes the subject of the image. | | Make | The scanner manufacturer. | | Model | The scanner model name or number. | | StripOffsets | For each strip, the byte offset of that strip. | | Orientation | The orientation of the image with respect to the rows and columns. | | SamplesPerPixel | The number of components per pixel. | | RowsPerStrip | The number of rows per strip. | | StripByteCounts | For each strip, the number of bytes in the strip after compression. | | MinSampleValue | The minimum component value used. | | MaxSampleValue | The maximum component value used. | | XResolution | The number of pixels per ResolutionUnit in the ImageWidth direction. | | YResolution | The number of pixels per ResolutionUnit in the ImageLength direction. | | PlanarConfiguration | How the components of each pixel are stored. | | PageName | The name of the page from which this image was scanned. | | XPosition | X position of the image. | | YPosition | Y position of the image. | | FreeOffsets | For each string of contiguous unused bytes in a TIFF file, the byte offset of the string. | | FreeByteCounts | For each string of contiguous unused bytes in a TIFF file, the number of bytes in the string. | | GrayResponseUnit | The precision of the information contained in the GrayResponseCurve. | | GrayResponseCurve | For grayscale data, the optical density of each possible pixel value. | | T4Options | T4-encoding options. | | T6Options | T6-encoding options. | | ResolutionUnit | The unit of measurement for XResolution and YResolution. | | PageNumber | The page number of the page from which this image was scanned. | | TransferFunction | Describes a transfer function for the image in tabular style. | | Software | Name and version number of the software package(s) used to create the image. | | DateTime | Date and time of image creation. | | Artist | Person who created the image. | | HostComputer | The computer and/or operating system in use at the time of image creation. | | Predictor | This section defines a Predictor that greatly improves compression ratios for some images. | | WhitePoint | The chromaticity of the white point of the image. | | PrimaryChromaticities | The chromaticities of the primaries of the image. | | ColorMap | A color map for palette color images. | | HalftoneHints | The purpose of the HalftoneHints field is to convey to the halftone function the range of gray levels within a colorimetrically-specified image that should retain tonal detail. | | TileWidth | The tile width in pixels. | | TileLength | The tile length (height) in pixels. | | TileOffsets | For each tile, the byte offset of that tile, as compressed and stored on disk. | | TileByteCounts | For each tile, the number of (compressed) bytes in that tile. | | InkSet | The set of inks used in a separated (PhotometricInterpretation=5) image. | | InkNames | The name of each ink used in a separated (PhotometricInterpretation=5) image, written as a list of concatenated, NUL-terminated ASCII strings. | | NumberOfInks | The number of inks. | | DotRange | The component values that correspond to a 0% dot and 100% dot. | | ExtraSamples | Description of extra components. | | SampleFormat | This field specifies how to interpret each data sample in a pixel. | | SMinSampleValue | This field specifies the minimum sample value. | | SMaxSampleValue | This new field specifies the maximum sample value. | | TransferRange | Expands the range of the TransferFunction. | | JpegProc | This Field indicates the JPEG process used to produce the compressed data. | | JpegInterchangeFormat | This Field indicates whether a JPEG interchange format bitstream is present in the TIFF file. | | JpegInterchangeFormatLength | This Field indicates the length in bytes of the JPEG interchange format bitstream | | JpegRestartInterval | This Field indicates the length of the restart interval used in the compressed image data. | | JpegLosslessPredictors | This Field points to a list of lossless predictor-selection values, one per component. | | JpegPointTransforms | This Field points to a list of point transform values, one per component. | | JpegQTables | This Field points to a list of offsets to the quantization tables, one per component. | | JpegDCTables | This Field points to a list of offsets to the DC Huffman tables or the lossless Huffman tables, one per component. | | JpegACTables | This Field points to a list of offsets to the Huffman AC tables, one per component. | | YCbCrCoefficients | The matrix cofficients for transformation from RGB to YCbCr image data. | | YCbCrSubSampling | The sampling ratio of chrominance components in relation to the luminance component. | | YCbCrPositioning | Specifies the positioning of subsampled chrominance components relative to luminance samples. | | ReferenceBlackWhite | Specifies a pair of headroom and footroom image data values (codes) for each pixel component. | | Copyright | Copyright notice. | | UserComment | Keywords or comments on the image; complements ImageDescription. | | Xmp | Pointer to the XMP metadata. | | ImageID | OPI-related. | | Iptc | IPTC (International Press Telecommunications Council) metadata. | | Photoshop | Collection of Photoshop 'Image Resource Blocks'. | | ImageLayer | Image layer. | | IccProfile | Color profile data. | | ExifIfd | Pointer to collection of all EXIF Metadata. | | GpsIfd | Pointer to GPS data. | | Makernotes | Pointer to makernotes data. | | InteroperabilityIfd | Exif-related Interoperability IFD. | | CameraOwnerName | Camera owner name as ASCII string. | | BodySerialNumber | Camera body serial number as ASCII string. | | CfaPattern | ndicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | ExifVersion | The version of the EXIF standard supported. | | ComponentsConfiguration | Information specific to the compressed data. | | FlashpixVersion | The Flashpix format version supported by a FPXR file. | | ColorSpace | The color space information tag (ColorSpace) is always recorded as the color space specifier. | | PixelXDimension | Information specific to compressed data. | | PixelYDimension | Information specific to compressed data. | | SceneCaptureType | This tag indicates the type of scene that was shot. | | Gamma | Indicates the value of coefficient gamma. | | CompressedBitsPerPixel | Information specific to compressed data. | | RelatedSoundFile | This tag is used to record the name of an audio file related to the image data. | | DateTimeOriginal | The date and time when the original image data was generated. | | DateTimeDigitized | The date and time when the image was stored as digital data. | | OffsetTime | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag. | | OffsetTimeOriginal | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag. | | OffsetTimeDigitized | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag. | | SubsecTime | A tag used to record fractions of seconds for the DateTime tag. | | SubsecTimeOriginal | A tag used to record fractions of seconds for the DateTimeOriginal tag. | | SubsecTimeDigitized | A tag used to record fractions of seconds for the DateTimeDigitized tag. | | ExposureTime | Exposure time, given in seconds (sec). | | FNumber | The F number. | | ExposureProgram | The class of the program used by the camera to set exposure when the picture is taken. | | SpectralSensitivity | Indicates the spectral sensitivity of each channel of the camera used. | | PhotographicSensitivity | This tag indicates the sensitivity of the camera or input device when the image was shot. | | Oecf | Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. | | SensitivityType | The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag. | | StandardOutputSensitivity | This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. | | RecommendedExposureIndex | This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. | | IsoSpeed | This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. | | ISOSpeedLatitudeYyy | This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. | | ISOSpeedLatitudeZzz | This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. | | ShutterSpeedValue | Shutter speed. | | ApertureValue | The lens aperture. | | BrightnessValue | The value of brightness. | | ExposureBiasValue | The exposure bias. | | MaxApertureValue | The smallest F number of the lens. | | SubjectDistance | The distance to the subject, given in meters. | | MeteringMode | The metering mode. | | LightSource | The kind of light source. | | Flash | This tag indicates the status of flash when the image was shot. | | SubjectArea | This tag indicates the location and area of the main subject in the overall scene. | | FocalLength | The actual focal length of the lens, in mm. | | FlashEnergy | Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). | | SpatialFrequencyResponse | This tag records the camera or input device spatial frequency table and SFR values in the direction of image width, image height, and diagonal direction, as specified in ISO 12233. | | FocalPlaneXResolution | Indicates the number of pixels in the image width (X) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FocalPlaneYResolution | Indicates the number of pixels in the image height (Y) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FocalPlaneResolutionUnit | Indicates the unit for measuring FocalPlaneXResolution and FocalPlaneYResolution. | | SubjectLocation | Indicates the location of the main subject in the scene. | | ExposureIndex | Indicates the exposure index selected on the camera or input device at the time the image is captured. | | SensingMethod | Indicates the image sensor type on the camera or input device. | | FileSource | Indicates the image source. | | SceneType | Indicates the type of scene. | | CustomRendered | This tag indicates the use of special processing on image data, such as rendering geared to output. | | ExposureMode | This tag indicates the exposure mode set when the image was shot. | | WhiteBalance | This tag indicates the white balance mode set when the image was shot. | | DigitalZoomRatio | This tag indicates the digital zoom ratio when the image was shot. | | FocalLengthIn35mmFilm | This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. | | GainControl | This tag indicates the degree of overall image gain adjustment. | | Contrast | This tag indicates the direction of contrast processing applied by the camera when the image was shot. | | Saturation | This tag indicates the direction of saturation processing applied by the camera when the image was shot. | | Sharpness | This tag indicates the direction of sharpness processing applied by the camera when the image was shot. | | DeviceSettingDescription | This tag indicates information on the picture-taking conditions of a particular camera model. | | SubjectDistanceRange | This tag indicates the distance to the subject. | | CompositeImage | This tag indicates whether the recorded image is a composite image\* or not. | | SourceImageNumberOfCompositeImage | This tag indicates the number of the source images (tentatively recorded images) captured for a composite Image. | | SourceExposureTimesOfCompositeImage | For a composite image, this tag records the parameters relating exposure time of the exposures for generating the said composite image, such as respective exposure times of captured source images (tentatively recorded images). | | Temperature | Temperature as the ambient situation at the shot, for example the room temperature where the photographer was holding the camera. | | Humidity | Humidity as the ambient situation at the shot, for example the room humidity where the photographer was holding the camera. | | Pressure | Pressure as the ambient situation at the shot, for example the room atmospfere where the photographer was holding the camera or the water pressure under the sea. | | WaterDepth | Water depth as the ambient situation at the shot, for example the water depth of the camera at underwater photography. | | Acceleration | Acceleration (a scalar regardless of direction) as the ambient situation at the shot, for example the driving acceleration of the vehicle which the photographer rode on at the shot. | | CameraElevationAngle | Elevation/depression. | | ImageUniqueID | This tag indicates an identifier assigned uniquely to each image. | | LensSpecification | This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. | | LensMake | This tag records the lens manufacturer as an ASCII string. | | LensModel | This tag records the lens\\u2019s model name and model number as an ASCII string. | | LensSerialNumber | This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | values() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### GpsVersionID ``` public static final TiffTagID GpsVersionID ``` Indicates the version of GPSInfoIFD. ##### GpsLatitudeRef ``` public static final TiffTagID GpsLatitudeRef ``` Indicates whether the latitude is north or south latitude. ##### GpsLatitude ``` public static final TiffTagID GpsLatitude ``` Indicates the latitude. ##### GpsLongitudeRef ``` public static final TiffTagID GpsLongitudeRef ``` Indicates whether the longitude is east or west longitude. ##### GpsLongitude ``` public static final TiffTagID GpsLongitude ``` Indicates the longitude. ##### GpsAltitudeRef ``` public static final TiffTagID GpsAltitudeRef ``` Indicates the altitude used as the reference altitude. ##### GpsAltitude ``` public static final TiffTagID GpsAltitude ``` Indicates the altitude based on the reference in GPSAltitudeRef. ##### GpsTimeStamp ``` public static final TiffTagID GpsTimeStamp ``` Indicates the time as UTC (Coordinated Universal Time). ##### GpsSatellites ``` public static final TiffTagID GpsSatellites ``` ndicates the GPS satellites used for measurements. ##### GpsStatus ``` public static final TiffTagID GpsStatus ``` Indicates the status of the GPS receiver when the image is recorded. ##### GpsMeasureMode ``` public static final TiffTagID GpsMeasureMode ``` Indicates the GPS measurement mode. ##### GpsDop ``` public static final TiffTagID GpsDop ``` Indicates the GPS DOP (data degree of precision). ##### GpsSpeedRef ``` public static final TiffTagID GpsSpeedRef ``` Indicates the unit used to express the GPS receiver speed of movement ##### GpsSpeed ``` public static final TiffTagID GpsSpeed ``` Indicates the speed of GPS receiver movement. ##### GpsTrackRef ``` public static final TiffTagID GpsTrackRef ``` Indicates the reference for giving the direction of GPS receiver movement. ##### GpsTrack ``` public static final TiffTagID GpsTrack ``` Indicates the direction of GPS receiver movement. ##### GpsImgDirectionRef ``` public static final TiffTagID GpsImgDirectionRef ``` Indicates the reference for giving the direction of the image when it is captured. ##### GpsImgDirection ``` public static final TiffTagID GpsImgDirection ``` Indicates the direction of the image when it was captured. ##### GpsMapDatum ``` public static final TiffTagID GpsMapDatum ``` Indicates the geodetic survey data used by the GPS receiver. ##### GpsDestLatitudeRef ``` public static final TiffTagID GpsDestLatitudeRef ``` Indicates whether the latitude of the destination point is north or south latitude. ##### GpsDestLatitude ``` public static final TiffTagID GpsDestLatitude ``` Indicates the latitude of the destination point. ##### GpsDestLongitudeRef ``` public static final TiffTagID GpsDestLongitudeRef ``` Indicates whether the longitude of the destination point is east or west longitude. ##### GpsDestLongitude ``` public static final TiffTagID GpsDestLongitude ``` Indicates the longitude of the destination point. ##### GpsDestBearingRef ``` public static final TiffTagID GpsDestBearingRef ``` Indicates the reference used for giving the bearing to the destination point. ##### GpsDestBearing ``` public static final TiffTagID GpsDestBearing ``` Indicates the bearing to the destination point. ##### GpsDestDistanceRef ``` public static final TiffTagID GpsDestDistanceRef ``` Indicates the unit used to express the distance to the destination point. ##### GpsDestDistance ``` public static final TiffTagID GpsDestDistance ``` Indicates the distance to the destination point. ##### GpsProcessingMethod ``` public static final TiffTagID GpsProcessingMethod ``` A character string recording the name of the method used for location finding. ##### GpsAreaInformation ``` public static final TiffTagID GpsAreaInformation ``` A character string recording the name of the GPS area. ##### GpsDateStamp ``` public static final TiffTagID GpsDateStamp ``` A character string recording date and time information relative to UTC (Coordinated Universal Time). ##### GpsDifferential ``` public static final TiffTagID GpsDifferential ``` Indicates whether differential correction is applied to the GPS receiver. ##### GpsHPositioningError ``` public static final TiffTagID GpsHPositioningError ``` This tag indicates horizontal positioning errors in meters. ##### NewSubfileType ``` public static final TiffTagID NewSubfileType ``` A general indication of the kind of data contained in this sub-file. ##### SubfileType ``` public static final TiffTagID SubfileType ``` A general indication of the kind of data contained in this subfile. This field is deprecated. The NewSubfileType field should be used instead ##### ImageWidth ``` public static final TiffTagID ImageWidth ``` The number of columns in the image, i.e., the number of pixels per scan line. ##### ImageLength ``` public static final TiffTagID ImageLength ``` The number of rows (sometimes described as scan lines) in the image. ##### BitsPerSample ``` public static final TiffTagID BitsPerSample ``` Number of bits per component. ##### Compression ``` public static final TiffTagID Compression ``` Compression scheme used on the image data. ##### PhotometricInterpretation ``` public static final TiffTagID PhotometricInterpretation ``` The color space of the image data. ##### Threshholding ``` public static final TiffTagID Threshholding ``` For black and white TIFF files that represent shades of gray, the technique used to convert from gray to black and white pixels. ##### CellWidth ``` public static final TiffTagID CellWidth ``` The width of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. ##### CellLength ``` public static final TiffTagID CellLength ``` The length of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. ##### FillOrder ``` public static final TiffTagID FillOrder ``` The logical order of bits within a byte. ##### DocumentName ``` public static final TiffTagID DocumentName ``` The name of the document from which this image was scanned. ##### ImageDescription ``` public static final TiffTagID ImageDescription ``` A string that describes the subject of the image. ##### Make ``` public static final TiffTagID Make ``` The scanner manufacturer. ##### Model ``` public static final TiffTagID Model ``` The scanner model name or number. ##### StripOffsets ``` public static final TiffTagID StripOffsets ``` For each strip, the byte offset of that strip. ##### Orientation ``` public static final TiffTagID Orientation ``` The orientation of the image with respect to the rows and columns. ##### SamplesPerPixel ``` public static final TiffTagID SamplesPerPixel ``` The number of components per pixel. ##### RowsPerStrip ``` public static final TiffTagID RowsPerStrip ``` The number of rows per strip. ##### StripByteCounts ``` public static final TiffTagID StripByteCounts ``` For each strip, the number of bytes in the strip after compression. ##### MinSampleValue ``` public static final TiffTagID MinSampleValue ``` The minimum component value used. ##### MaxSampleValue ``` public static final TiffTagID MaxSampleValue ``` The maximum component value used. ##### XResolution ``` public static final TiffTagID XResolution ``` The number of pixels per ResolutionUnit in the ImageWidth direction. ##### YResolution ``` public static final TiffTagID YResolution ``` The number of pixels per ResolutionUnit in the ImageLength direction. ##### PlanarConfiguration ``` public static final TiffTagID PlanarConfiguration ``` How the components of each pixel are stored. ##### PageName ``` public static final TiffTagID PageName ``` The name of the page from which this image was scanned. ##### XPosition ``` public static final TiffTagID XPosition ``` X position of the image. ##### YPosition ``` public static final TiffTagID YPosition ``` Y position of the image. ##### FreeOffsets ``` public static final TiffTagID FreeOffsets ``` For each string of contiguous unused bytes in a TIFF file, the byte offset of the string. ##### FreeByteCounts ``` public static final TiffTagID FreeByteCounts ``` For each string of contiguous unused bytes in a TIFF file, the number of bytes in the string. ##### GrayResponseUnit ``` public static final TiffTagID GrayResponseUnit ``` The precision of the information contained in the GrayResponseCurve. ##### GrayResponseCurve ``` public static final TiffTagID GrayResponseCurve ``` For grayscale data, the optical density of each possible pixel value. ##### T4Options ``` public static final TiffTagID T4Options ``` T4-encoding options. ##### T6Options ``` public static final TiffTagID T6Options ``` T6-encoding options. ##### ResolutionUnit ``` public static final TiffTagID ResolutionUnit ``` The unit of measurement for XResolution and YResolution. ##### PageNumber ``` public static final TiffTagID PageNumber ``` The page number of the page from which this image was scanned. ##### TransferFunction ``` public static final TiffTagID TransferFunction ``` Describes a transfer function for the image in tabular style. Pixel components can be gamma-compensated, companded, non-uniformly quantized, or coded in some other way. The TransferFunction maps the pixel components from a non-linear BitsPerSample (e.g. 8-bit) form into a 16-bit linear form without a perceptible loss of accuracy. ##### Software ``` public static final TiffTagID Software ``` Name and version number of the software package(s) used to create the image. ##### DateTime ``` public static final TiffTagID DateTime ``` Date and time of image creation. ##### Artist ``` public static final TiffTagID Artist ``` Person who created the image. ##### HostComputer ``` public static final TiffTagID HostComputer ``` The computer and/or operating system in use at the time of image creation. ##### Predictor ``` public static final TiffTagID Predictor ``` This section defines a Predictor that greatly improves compression ratios for some images. ##### WhitePoint ``` public static final TiffTagID WhitePoint ``` The chromaticity of the white point of the image. ##### PrimaryChromaticities ``` public static final TiffTagID PrimaryChromaticities ``` The chromaticities of the primaries of the image. ##### ColorMap ``` public static final TiffTagID ColorMap ``` A color map for palette color images. ##### HalftoneHints ``` public static final TiffTagID HalftoneHints ``` The purpose of the HalftoneHints field is to convey to the halftone function the range of gray levels within a colorimetrically-specified image that should retain tonal detail. ##### TileWidth ``` public static final TiffTagID TileWidth ``` The tile width in pixels. This is the number of columns in each tile. ##### TileLength ``` public static final TiffTagID TileLength ``` The tile length (height) in pixels. This is the number of rows in each tile. ##### TileOffsets ``` public static final TiffTagID TileOffsets ``` For each tile, the byte offset of that tile, as compressed and stored on disk. The offset is specified with respect to the beginning of the TIFF file. Note that this implies that each tile has a location independent of the locations of other tiles. ##### TileByteCounts ``` public static final TiffTagID TileByteCounts ``` For each tile, the number of (compressed) bytes in that tile. ##### InkSet ``` public static final TiffTagID InkSet ``` The set of inks used in a separated (PhotometricInterpretation=5) image. ##### InkNames ``` public static final TiffTagID InkNames ``` The name of each ink used in a separated (PhotometricInterpretation=5) image, written as a list of concatenated, NUL-terminated ASCII strings. ##### NumberOfInks ``` public static final TiffTagID NumberOfInks ``` The number of inks. Usually equal to SamplesPerPixel, unless there are extra samples. ##### DotRange ``` public static final TiffTagID DotRange ``` The component values that correspond to a 0% dot and 100% dot. DotRange[0] corresponds to a 0% dot, and DotRange[1] corresponds to a 100% dot. ##### ExtraSamples ``` public static final TiffTagID ExtraSamples ``` Description of extra components. ##### SampleFormat ``` public static final TiffTagID SampleFormat ``` This field specifies how to interpret each data sample in a pixel. ##### SMinSampleValue ``` public static final TiffTagID SMinSampleValue ``` This field specifies the minimum sample value. ##### SMaxSampleValue ``` public static final TiffTagID SMaxSampleValue ``` This new field specifies the maximum sample value. ##### TransferRange ``` public static final TiffTagID TransferRange ``` Expands the range of the TransferFunction. ##### JpegProc ``` public static final TiffTagID JpegProc ``` This Field indicates the JPEG process used to produce the compressed data. ##### JpegInterchangeFormat ``` public static final TiffTagID JpegInterchangeFormat ``` This Field indicates whether a JPEG interchange format bitstream is present in the TIFF file. ##### JpegInterchangeFormatLength ``` public static final TiffTagID JpegInterchangeFormatLength ``` This Field indicates the length in bytes of the JPEG interchange format bitstream ##### JpegRestartInterval ``` public static final TiffTagID JpegRestartInterval ``` This Field indicates the length of the restart interval used in the compressed image data. ##### JpegLosslessPredictors ``` public static final TiffTagID JpegLosslessPredictors ``` This Field points to a list of lossless predictor-selection values, one per component. ##### JpegPointTransforms ``` public static final TiffTagID JpegPointTransforms ``` This Field points to a list of point transform values, one per component. ##### JpegQTables ``` public static final TiffTagID JpegQTables ``` This Field points to a list of offsets to the quantization tables, one per component. ##### JpegDCTables ``` public static final TiffTagID JpegDCTables ``` This Field points to a list of offsets to the DC Huffman tables or the lossless Huffman tables, one per component. ##### JpegACTables ``` public static final TiffTagID JpegACTables ``` This Field points to a list of offsets to the Huffman AC tables, one per component. ##### YCbCrCoefficients ``` public static final TiffTagID YCbCrCoefficients ``` The matrix cofficients for transformation from RGB to YCbCr image data. ##### YCbCrSubSampling ``` public static final TiffTagID YCbCrSubSampling ``` The sampling ratio of chrominance components in relation to the luminance component. ##### YCbCrPositioning ``` public static final TiffTagID YCbCrPositioning ``` Specifies the positioning of subsampled chrominance components relative to luminance samples. ##### ReferenceBlackWhite ``` public static final TiffTagID ReferenceBlackWhite ``` Specifies a pair of headroom and footroom image data values (codes) for each pixel component. ##### Copyright ``` public static final TiffTagID Copyright ``` Copyright notice. ##### UserComment ``` public static final TiffTagID UserComment ``` Keywords or comments on the image; complements ImageDescription. ##### Xmp ``` public static final TiffTagID Xmp ``` Pointer to the XMP metadata. ##### ImageID ``` public static final TiffTagID ImageID ``` OPI-related. ##### Iptc ``` public static final TiffTagID Iptc ``` IPTC (International Press Telecommunications Council) metadata. Often times, the data type is incorrectly specified as LONG. ##### Photoshop ``` public static final TiffTagID Photoshop ``` Collection of Photoshop 'Image Resource Blocks'. ##### ImageLayer ``` public static final TiffTagID ImageLayer ``` Image layer. ##### IccProfile ``` public static final TiffTagID IccProfile ``` Color profile data. ##### ExifIfd ``` public static final TiffTagID ExifIfd ``` Pointer to collection of all EXIF Metadata. EXIF uses field names rather than tags to indicate the field content. ##### GpsIfd ``` public static final TiffTagID GpsIfd ``` Pointer to GPS data. ##### Makernotes ``` public static final TiffTagID Makernotes ``` Pointer to makernotes data. ##### InteroperabilityIfd ``` public static final TiffTagID InteroperabilityIfd ``` Exif-related Interoperability IFD. ##### CameraOwnerName ``` public static final TiffTagID CameraOwnerName ``` Camera owner name as ASCII string. ##### BodySerialNumber ``` public static final TiffTagID BodySerialNumber ``` Camera body serial number as ASCII string. ##### CfaPattern ``` public static final TiffTagID CfaPattern ``` ndicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods. ##### ExifVersion ``` public static final TiffTagID ExifVersion ``` The version of the EXIF standard supported. ##### ComponentsConfiguration ``` public static final TiffTagID ComponentsConfiguration ``` Information specific to the compressed data. The channels of each component are arranged in order from the 1st component to the 4th. ##### FlashpixVersion ``` public static final TiffTagID FlashpixVersion ``` The Flashpix format version supported by a FPXR file. If the FPXR function supports Flashpix format Ver. 1.0, this is indicated similarly to ExifVersion by recording "0100" as 4-byte ASCII. ##### ColorSpace ``` public static final TiffTagID ColorSpace ``` The color space information tag (ColorSpace) is always recorded as the color space specifier. Normally sRGB (=1) is used to define the color space based on the PC monitor conditions and environment. If a color space other than sRGB is used, Uncalibrated (=FFFF.H) is set. ##### PixelXDimension ``` public static final TiffTagID PixelXDimension ``` Information specific to compressed data. When a compressed file is recorded, the valid width of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. ##### PixelYDimension ``` public static final TiffTagID PixelYDimension ``` Information specific to compressed data. When a compressed file is recorded, the valid height of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. ##### SceneCaptureType ``` public static final TiffTagID SceneCaptureType ``` This tag indicates the type of scene that was shot. It may also be used to record the mode in which the image was shot. ##### Gamma ``` public static final TiffTagID Gamma ``` Indicates the value of coefficient gamma. ##### CompressedBitsPerPixel ``` public static final TiffTagID CompressedBitsPerPixel ``` Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel. ##### RelatedSoundFile ``` public static final TiffTagID RelatedSoundFile ``` This tag is used to record the name of an audio file related to the image data. The only relational information recorded here is the Exif audio file name and extension (an ASCII string consisting of 8 characters + '.' + 3 characters). ##### DateTimeOriginal ``` public static final TiffTagID DateTimeOriginal ``` The date and time when the original image data was generated. For a DSC the date and time the picture was taken are recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. ##### DateTimeDigitized ``` public static final TiffTagID DateTimeDigitized ``` The date and time when the image was stored as digital data. If, for example, an image was captured by DSC and at the same time the file was recorded, then the DateTimeOriginal and DateTimeDigitized will have the same contents. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. ##### OffsetTime ``` public static final TiffTagID OffsetTime ``` A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". ##### OffsetTimeOriginal ``` public static final TiffTagID OffsetTimeOriginal ``` A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". ##### OffsetTimeDigitized ``` public static final TiffTagID OffsetTimeDigitized ``` A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". ##### SubsecTime ``` public static final TiffTagID SubsecTime ``` A tag used to record fractions of seconds for the DateTime tag. ##### SubsecTimeOriginal ``` public static final TiffTagID SubsecTimeOriginal ``` A tag used to record fractions of seconds for the DateTimeOriginal tag. ##### SubsecTimeDigitized ``` public static final TiffTagID SubsecTimeDigitized ``` A tag used to record fractions of seconds for the DateTimeDigitized tag. ##### ExposureTime ``` public static final TiffTagID ExposureTime ``` Exposure time, given in seconds (sec). ##### FNumber ``` public static final TiffTagID FNumber ``` The F number. ##### ExposureProgram ``` public static final TiffTagID ExposureProgram ``` The class of the program used by the camera to set exposure when the picture is taken. ##### SpectralSensitivity ``` public static final TiffTagID SpectralSensitivity ``` Indicates the spectral sensitivity of each channel of the camera used. The tag value is an ASCII string compatible with the standard developed by the ASTM Technical committee. ##### PhotographicSensitivity ``` public static final TiffTagID PhotographicSensitivity ``` This tag indicates the sensitivity of the camera or input device when the image was shot. ##### Oecf ``` public static final TiffTagID Oecf ``` Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. OECF is the relationship between the camera optical input and the image values. ##### SensitivityType ``` public static final TiffTagID SensitivityType ``` The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag. Although it is an optional tag, it should be recorded when a PhotographicSensitivity tag is recorded. ##### StandardOutputSensitivity ``` public static final TiffTagID StandardOutputSensitivity ``` This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. ##### RecommendedExposureIndex ``` public static final TiffTagID RecommendedExposureIndex ``` This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. ##### IsoSpeed ``` public static final TiffTagID IsoSpeed ``` This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. ##### ISOSpeedLatitudeYyy ``` public static final TiffTagID ISOSpeedLatitudeYyy ``` This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. ##### ISOSpeedLatitudeZzz ``` public static final TiffTagID ISOSpeedLatitudeZzz ``` This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. ##### ShutterSpeedValue ``` public static final TiffTagID ShutterSpeedValue ``` Shutter speed. The unit is the APEX (Additive System of Photographic Exposure) setting. ##### ApertureValue ``` public static final TiffTagID ApertureValue ``` The lens aperture. The unit is the APEX value. ##### BrightnessValue ``` public static final TiffTagID BrightnessValue ``` The value of brightness. The unit is the APEX value. ##### ExposureBiasValue ``` public static final TiffTagID ExposureBiasValue ``` The exposure bias. The unit is the APEX value. ##### MaxApertureValue ``` public static final TiffTagID MaxApertureValue ``` The smallest F number of the lens. The unit is the APEX value. ##### SubjectDistance ``` public static final TiffTagID SubjectDistance ``` The distance to the subject, given in meters. ##### MeteringMode ``` public static final TiffTagID MeteringMode ``` The metering mode. ##### LightSource ``` public static final TiffTagID LightSource ``` The kind of light source. ##### Flash ``` public static final TiffTagID Flash ``` This tag indicates the status of flash when the image was shot. Bit 0 indicates the flash firing status, bits 1 and 2 indicate the flash return status, bits 3 and 4 indicate the flash mode, bit 5 indicates whether the flash function is present, and bit 6 indicates "red eye" mode. ##### SubjectArea ``` public static final TiffTagID SubjectArea ``` This tag indicates the location and area of the main subject in the overall scene. ##### FocalLength ``` public static final TiffTagID FocalLength ``` The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera. ##### FlashEnergy ``` public static final TiffTagID FlashEnergy ``` Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). ##### SpatialFrequencyResponse ``` public static final TiffTagID SpatialFrequencyResponse ``` This tag records the camera or input device spatial frequency table and SFR values in the direction of image width, image height, and diagonal direction, as specified in ISO 12233. ##### FocalPlaneXResolution ``` public static final TiffTagID FocalPlaneXResolution ``` Indicates the number of pixels in the image width (X) direction per FocalPlaneResolutionUnit on the camera focal plane. ##### FocalPlaneYResolution ``` public static final TiffTagID FocalPlaneYResolution ``` Indicates the number of pixels in the image height (Y) direction per FocalPlaneResolutionUnit on the camera focal plane. ##### FocalPlaneResolutionUnit ``` public static final TiffTagID FocalPlaneResolutionUnit ``` Indicates the unit for measuring FocalPlaneXResolution and FocalPlaneYResolution. This value is the same as the ResolutionUnit. ##### SubjectLocation ``` public static final TiffTagID SubjectLocation ``` Indicates the location of the main subject in the scene. The value of this tag represents the pixel at the center of the main subject relative to the left edge, prior to rotation processing as per the Rotation tag. The first value indicates the X column number and second indicates the Y row number. ##### ExposureIndex ``` public static final TiffTagID ExposureIndex ``` Indicates the exposure index selected on the camera or input device at the time the image is captured. ##### SensingMethod ``` public static final TiffTagID SensingMethod ``` Indicates the image sensor type on the camera or input device. ##### FileSource ``` public static final TiffTagID FileSource ``` Indicates the image source. If a DSC recorded the image, this tag value always shall be set to 3. ##### SceneType ``` public static final TiffTagID SceneType ``` Indicates the type of scene. If a DSC recorded the image, this tag value shall always be set to 1, indicating that the image was directly photographed. ##### CustomRendered ``` public static final TiffTagID CustomRendered ``` This tag indicates the use of special processing on image data, such as rendering geared to output. ##### ExposureMode ``` public static final TiffTagID ExposureMode ``` This tag indicates the exposure mode set when the image was shot. In auto-bracketing mode, the camera shoots a series of frames of the same scene at different exposure settings. ##### WhiteBalance ``` public static final TiffTagID WhiteBalance ``` This tag indicates the white balance mode set when the image was shot. ##### DigitalZoomRatio ``` public static final TiffTagID DigitalZoomRatio ``` This tag indicates the digital zoom ratio when the image was shot. If the numerator of the recorded value is 0, this indicates that digital zoom was not used. ##### FocalLengthIn35mmFilm ``` public static final TiffTagID FocalLengthIn35mmFilm ``` This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. A value of 0 means the focal length is unknown. Note that this tag differs from the FocalLength tag. ##### GainControl ``` public static final TiffTagID GainControl ``` This tag indicates the degree of overall image gain adjustment. ##### Contrast ``` public static final TiffTagID Contrast ``` This tag indicates the direction of contrast processing applied by the camera when the image was shot. ##### Saturation ``` public static final TiffTagID Saturation ``` This tag indicates the direction of saturation processing applied by the camera when the image was shot. ##### Sharpness ``` public static final TiffTagID Sharpness ``` This tag indicates the direction of sharpness processing applied by the camera when the image was shot. ##### DeviceSettingDescription ``` public static final TiffTagID DeviceSettingDescription ``` This tag indicates information on the picture-taking conditions of a particular camera model. ##### SubjectDistanceRange ``` public static final TiffTagID SubjectDistanceRange ``` This tag indicates the distance to the subject. ##### CompositeImage ``` public static final TiffTagID CompositeImage ``` This tag indicates whether the recorded image is a composite image\* or not. ##### SourceImageNumberOfCompositeImage ``` public static final TiffTagID SourceImageNumberOfCompositeImage ``` This tag indicates the number of the source images (tentatively recorded images) captured for a composite Image. ##### SourceExposureTimesOfCompositeImage ``` public static final TiffTagID SourceExposureTimesOfCompositeImage ``` For a composite image, this tag records the parameters relating exposure time of the exposures for generating the said composite image, such as respective exposure times of captured source images (tentatively recorded images). ##### Temperature ``` public static final TiffTagID Temperature ``` Temperature as the ambient situation at the shot, for example the room temperature where the photographer was holding the camera. The unit is °C. ##### Humidity ``` public static final TiffTagID Humidity ``` Humidity as the ambient situation at the shot, for example the room humidity where the photographer was holding the camera. The unit is %. ##### Pressure ``` public static final TiffTagID Pressure ``` Pressure as the ambient situation at the shot, for example the room atmospfere where the photographer was holding the camera or the water pressure under the sea. The unit is hPa. ##### WaterDepth ``` public static final TiffTagID WaterDepth ``` Water depth as the ambient situation at the shot, for example the water depth of the camera at underwater photography. The unit is m. ##### Acceleration ``` public static final TiffTagID Acceleration ``` Acceleration (a scalar regardless of direction) as the ambient situation at the shot, for example the driving acceleration of the vehicle which the photographer rode on at the shot. The unit is mGal (10-5 m/s2). ##### CameraElevationAngle ``` public static final TiffTagID CameraElevationAngle ``` Elevation/depression. angle of the orientation of the camera(imaging optical axis) as the ambient situation at the shot. The unit is degree(°). ##### ImageUniqueID ``` public static final TiffTagID ImageUniqueID ``` This tag indicates an identifier assigned uniquely to each image. ##### LensSpecification ``` public static final TiffTagID LensSpecification ``` This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. ##### LensMake ``` public static final TiffTagID LensMake ``` This tag records the lens manufacturer as an ASCII string. ##### LensModel ``` public static final TiffTagID LensModel ``` This tag records the lens\\u2019s model name and model number as an ASCII string. ##### LensSerialNumber ``` public static final TiffTagID LensSerialNumber ``` This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. ##### getByRawValue(int rawValue) ``` public static TiffTagID getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** TiffTagID ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### values() ``` public static Iterable values() ``` **Returns:** java.lang.Iterable ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### TiffTagType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tifftagtype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum TiffTagType extends Enum implements IEnumValue ``` Represents the IFD data type. #### Fields | Field | Description | | --- | --- | | Byte | An 8-bit unsigned integer. | | Ascii | An 8-bit byte with a 7-bit ASCII character. | | Short | A 16-bit unsigned integer. | | Long | A 32-bit unsigned integer. | | Rational | A pair of LONGs, numerator then denominator. | | SByte | An 8-bit signed integer. | | Undefined | An undefined 8-bit byte. | | SShort | A 16-bit signed integer. | | SLong | A 32-bit signed integer. | | SRational | A pair of SLONGs, numerator then denominator. | | Float | A 4-byte IEEE floating point value. | | Double | An 8-byte IEEE floating point value. | | SubIfd | A 4-byte long offset value | | value | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | get_Value() | | | set_Value(String value1) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getTiffTagType() | | | getRawValueType() | | | getRawValue() | | ##### Byte ``` public static final TiffTagType Byte ``` An 8-bit unsigned integer. ##### Ascii ``` public static final TiffTagType Ascii ``` An 8-bit byte with a 7-bit ASCII character. ##### Short ``` public static final TiffTagType Short ``` A 16-bit unsigned integer. ##### Long ``` public static final TiffTagType Long ``` A 32-bit unsigned integer. ##### Rational ``` public static final TiffTagType Rational ``` A pair of LONGs, numerator then denominator. ##### SByte ``` public static final TiffTagType SByte ``` An 8-bit signed integer. ##### Undefined ``` public static final TiffTagType Undefined ``` An undefined 8-bit byte. ##### SShort ``` public static final TiffTagType SShort ``` A 16-bit signed integer. ##### SLong ``` public static final TiffTagType SLong ``` A 32-bit signed integer. ##### SRational ``` public static final TiffTagType SRational ``` A pair of SLONGs, numerator then denominator. ##### Float ``` public static final TiffTagType Float ``` A 4-byte IEEE floating point value. ##### Double ``` public static final TiffTagType Double ``` An 8-byte IEEE floating point value. ##### SubIfd ``` public static final TiffTagType SubIfd ``` A 4-byte long offset value ##### value ``` public String value ``` ##### values() ``` public static TiffTagType[] values() ``` **Returns:** com.groupdocs.metadata.core.TiffTagType[] ##### valueOf(String name) ``` public static TiffTagType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** TiffTagType ##### get_Value() ``` public final String get_Value() ``` **Returns:** java.lang.String ##### set_Value(String value1) ``` public final void set_Value(String value1) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value1 | java.lang.String | | ##### getByRawValue(int rawValue) ``` public static TiffTagType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** TiffTagType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getTiffTagType() ``` public int getTiffTagType() ``` **Returns:** int ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### TiffUndefinedTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/tiffundefinedtag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffUndefinedTag extends TiffArrayTag ``` Represents a TIFF tag with the Undefined type. #### Constructors | Constructor | Description | | --- | --- | | TiffUndefinedTag(TiffTagID tagID, byte[] value) | Initializes a new instance of the TiffUndefinedTag class. | ##### TiffUndefinedTag(TiffTagID tagID, byte[] value) ``` public TiffUndefinedTag(TiffTagID tagID, byte[] value) ``` Initializes a new instance of the TiffUndefinedTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | byte[] | The value. | ### TorrentPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/torrentpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class TorrentPackage extends CustomPackage ``` Represents torrent descriptor file metadata. Please find more information at [https://en.wikipedia.org/wiki/Torrent\_file][https_en.wikipedia.org_wiki_Torrent_file] . [https_en.wikipedia.org_wiki_Torrent_file]: https://en.wikipedia.org/wiki/Torrent_file [Working with TORRENT files]: https://docs.groupdocs.com/display/metadatajava/Working+with+TORRENT+files #### Methods | Method | Description | | --- | --- | | getAnnounce() | Gets the URL of the tracker. | | setAnnounce(String value) | Sets the URL of the tracker. | | getComment() | Gets the author's comment. | | setComment(String value) | Sets the author's comment. | | getCreationDate() | Gets the creation date of the torrent. | | setCreationDate(Date value) | Sets the creation date of the torrent. | | getCreatedBy() | Gets the name and version of the program used to create the torrent. | | setCreatedBy(String value) | Sets the name and version of the program used to create the torrent. | | getSharedFiles() | Gets an array containing shared file information entries. | | getPieceLength() | Gets the number of bytes in each piece. | | getPieces() | Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. | ##### getAnnounce() ``` public final String getAnnounce() ``` Gets the URL of the tracker. **Returns:** java.lang.String - The URL of the tracker. ##### setAnnounce(String value) ``` public final void setAnnounce(String value) ``` Sets the URL of the tracker. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URL of the tracker. | ##### getComment() ``` public final String getComment() ``` Gets the author's comment. **Returns:** java.lang.String - The author's comment. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the author's comment. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author's comment. | ##### getCreationDate() ``` public final Date getCreationDate() ``` Gets the creation date of the torrent. **Returns:** java.util.Date - The creation date of the torrent. ##### setCreationDate(Date value) ``` public final void setCreationDate(Date value) ``` Sets the creation date of the torrent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The creation date of the torrent. | ##### getCreatedBy() ``` public final String getCreatedBy() ``` Gets the name and version of the program used to create the torrent. **Returns:** java.lang.String - The name and version of the program used to create the torrent. ##### setCreatedBy(String value) ``` public final void setCreatedBy(String value) ``` Sets the name and version of the program used to create the torrent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name and version of the program used to create the torrent. | ##### getSharedFiles() ``` public final TorrentSharedFilePackage[] getSharedFiles() ``` Gets an array containing shared file information entries. **Returns:** com.groupdocs.metadata.core.TorrentSharedFilePackage[] - An array containing shared file information entries. ##### getPieceLength() ``` public final long getPieceLength() ``` Gets the number of bytes in each piece. For more information please see . **Returns:** long - The number of bytes in each piece. ##### getPieces() ``` public final byte[] getPieces() ``` Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. **Returns:** byte[] - A byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. ### TorrentRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/torrentrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class TorrentRootPackage extends RootMetadataPackage ``` Represents the root package intended to work with metadata of a TORRENT file. This code sample shows how to read metadata of a TORRENT file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputTorrent)) { > TorrentRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getTorrentPackage().getAnnounce()); > System.out.println(root.getTorrentPackage().getComment()); > System.out.println(root.getTorrentPackage().getCreatedBy()); > System.out.println(root.getTorrentPackage().getCreationDate()); > for (TorrentSharedFilePackage file : root.getTorrentPackage().getSharedFiles()) { > System.out.println(file.getName()); > System.out.println(file.getLength()); > } > // ... > } > > ``` > ``` [Working with TORRENT files]: https://docs.groupdocs.com/display/metadatajava/Working+with+TORRENT+files #### Methods | Method | Description | | --- | --- | | getTorrentPackage() | Gets the TORRENT file metadata package. | ##### getTorrentPackage() ``` public final TorrentPackage getTorrentPackage() ``` Gets the TORRENT file metadata package. **Returns:** TorrentPackage - The TORRENT file metadata package. ### TorrentSharedFilePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/torrentsharedfilepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class TorrentSharedFilePackage extends CustomPackage ``` Represents shared file information. Contains detailed info about each file in a torrent distribution. [Working with TORRENT files]: https://docs.groupdocs.com/display/metadatajava/Working+with+TORRENT+files #### Methods | Method | Description | | --- | --- | | getName() | Gets the full name of the file (relative path to the file from the root torrent folder). | | getLength() | Gets the length of the file in bytes. | ##### getName() ``` public final String getName() ``` Gets the full name of the file (relative path to the file from the root torrent folder). **Returns:** java.lang.String - The full name of the file (relative path to the file from the root torrent folder). ##### getLength() ``` public final long getLength() ``` Gets the length of the file in bytes. **Returns:** long - The length of the file in bytes. ### ValueAcceptor Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/valueacceptor.md **Inheritance:** java.lang.Object ``` public abstract class ValueAcceptor ``` Provides a base abstract class that allows extracting all supported types of values from a PropertyValue instance. #### Constructors | Constructor | Description | | --- | --- | | ValueAcceptor() | | ##### ValueAcceptor() ``` public ValueAcceptor() ``` ### ValueInterpreter Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/valueinterpreter.md **Inheritance:** java.lang.Object ``` public abstract class ValueInterpreter ``` Defines operations required to interpret metadata property values. #### Constructors | Constructor | Description | | --- | --- | | ValueInterpreter() | | #### Methods | Method | Description | | --- | --- | | getInterpretedValueType() | Gets the type of the interpreted value. | | toInterpretedValue(PropertyValue originalValue) | Interprets the provided property value. | | toSourceValue(PropertyValue interpretedValue) | Converts an interpreted value back to its original form. | ##### ValueInterpreter() ``` public ValueInterpreter() ``` ##### getInterpretedValueType() ``` public abstract MetadataPropertyType getInterpretedValueType() ``` Gets the type of the interpreted value. **Returns:** MetadataPropertyType - The type of the interpreted value. ##### toInterpretedValue(PropertyValue originalValue) ``` public final PropertyValue toInterpretedValue(PropertyValue originalValue) ``` Interprets the provided property value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | originalValue | PropertyValue | The value to interpret. | **Returns:** PropertyValue - The interpreted value. ##### toSourceValue(PropertyValue interpretedValue) ``` public final PropertyValue toSourceValue(PropertyValue interpretedValue) ``` Converts an interpreted value back to its original form. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | interpretedValue | PropertyValue | The interpreted value to convert. | **Returns:** PropertyValue - The original value. ### VCardAgentRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardagentrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardAgentRecord extends VCardRecord implements IVCardRecord ``` Represents vCard Agent record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final VCardCard getValue() ``` Gets the record value. **Returns:** VCardCard - The record value. ### VCardBasePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardbasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class VCardBasePackage extends CustomPackage ``` Represents the base VCard metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata ### VCardBinaryRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardbinaryrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardBinaryRecord extends VCardRecord implements IVCardRecord ``` Represents vCard binary record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final byte[] getValue() ``` Gets the record value. **Returns:** byte[] - The record value. ### VCardCalendarRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardcalendarrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardCalendarRecordset extends VCardRecordset ``` Represents a set of Calendar vCard records. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getBusyTimeRecords() | Gets the URIs for the busy time associated with the object. | | getBusyTimeEntries() | Gets the URIs for the busy time associated with the object. | | getCalendarAddressRecords() | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | getCalendarAddresses() | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | getCalendarUriRecords() | Gets the URIs for the calendar associated with the object represented by the vCard. | | getUriCalendarEntries() | Gets the URIs for the calendar associated with the object represented by the vCard. | ##### getBusyTimeRecords() ``` public final VCardTextRecord[] getBusyTimeRecords() ``` Gets the URIs for the busy time associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs for the busy time associated with the object. ##### getBusyTimeEntries() ``` public final String[] getBusyTimeEntries() ``` Gets the URIs for the busy time associated with the object. **Returns:** java.lang.String[] - The URIs for the busy time associated with the object. This property is a simplified version of BusyTimeRecords . ##### getCalendarAddressRecords() ``` public final VCardTextRecord[] getCalendarAddressRecords() ``` Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ##### getCalendarAddresses() ``` public final String[] getCalendarAddresses() ``` Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. **Returns:** java.lang.String[] - The calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. This property is a simplified version of CalendarAddressRecords . ##### getCalendarUriRecords() ``` public final VCardTextRecord[] getCalendarUriRecords() ``` Gets the URIs for the calendar associated with the object represented by the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs for the calendar associated with the object represented by the vCard. ##### getUriCalendarEntries() ``` public final String[] getUriCalendarEntries() ``` Gets the URIs for the calendar associated with the object represented by the vCard. **Returns:** java.lang.String[] - The URIs for the calendar associated with the object represented by the vCard. This property is a simplified version of CalendarUriRecords . ### VCardCard Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardcard.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardCard extends VCardRecordset ``` Represents a single card extracted from a VCard file. This example shows how to use vCard property filters. > ``` > ``` > > public static void run() { > try (Metadata metadata = new Metadata(Constants.InputVcf)) { > VCardRootPackage root = metadata.getRootPackageGeneric(); > for (VCardCard vCard : root.getVCardPackage().getCards()) { > // Print most preferred work phone numbers and work emails > VCardCard filtered = vCard.filterWorkTags().filterPreferred(); > PrintArray(filtered.getCommunicationRecordset().getTelephones()); > PrintArray(filtered.getCommunicationRecordset().getEmails()); > } > } > } > private static void PrintArray(String[] values) { > if (values != null) { > for (String value : values) { > System.out.println(value); > } > } > } > > ``` > ``` [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getGeneralRecordset() | Gets the general records. | | getIdentificationRecordset() | Gets the identification records. | | getDeliveryAddressingRecordset() | Gets the delivery addressing records. | | getCommunicationRecordset() | Gets the communication records. | | getGeographicalRecordset() | Gets the geographical records. | | getOrganizationalRecordset() | Gets the organizational records. | | getExplanatoryRecordset() | Gets the explanatory records. | | getSecurityRecordset() | Gets the security records. | | getCalendarRecordset() | Gets the calendar records. | | getExtensionRecords() | Gets the private extension records. | | getAvailableGroups() | Gets the available group names. | | filterByGroup(String groupName) | Filters all vCard records by the group name passed as a parameter. | | filterHomeTags() | Filters all vCard records marked with the HOME tag. | | filterWorkTags() | Filters all vCard records marked with the WORK tag. | | filterPreferred() | Filters the preferred records. | ##### getGeneralRecordset() ``` public final VCardGeneralRecordset getGeneralRecordset() ``` Gets the general records. **Returns:** VCardGeneralRecordset - The general records. ##### getIdentificationRecordset() ``` public final VCardIdentificationRecordset getIdentificationRecordset() ``` Gets the identification records. **Returns:** VCardIdentificationRecordset - The identification records. ##### getDeliveryAddressingRecordset() ``` public final VCardDeliveryAddressingRecordset getDeliveryAddressingRecordset() ``` Gets the delivery addressing records. **Returns:** VCardDeliveryAddressingRecordset - The delivery addressing records. ##### getCommunicationRecordset() ``` public final VCardCommunicationRecordset getCommunicationRecordset() ``` Gets the communication records. **Returns:** VCardCommunicationRecordset - The communication records. ##### getGeographicalRecordset() ``` public final VCardGeographicalRecordset getGeographicalRecordset() ``` Gets the geographical records. **Returns:** VCardGeographicalRecordset - The geographical records. ##### getOrganizationalRecordset() ``` public final VCardOrganizationalRecordset getOrganizationalRecordset() ``` Gets the organizational records. **Returns:** VCardOrganizationalRecordset - The organizational records. ##### getExplanatoryRecordset() ``` public final VCardExplanatoryRecordset getExplanatoryRecordset() ``` Gets the explanatory records. **Returns:** VCardExplanatoryRecordset - The explanatory records. ##### getSecurityRecordset() ``` public final VCardSecurityRecordset getSecurityRecordset() ``` Gets the security records. **Returns:** VCardSecurityRecordset - The security records. ##### getCalendarRecordset() ``` public final VCardCalendarRecordset getCalendarRecordset() ``` Gets the calendar records. **Returns:** VCardCalendarRecordset - The calendar records. ##### getExtensionRecords() ``` public final VCardTextRecord[] getExtensionRecords() ``` Gets the private extension records. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The private extension records. ##### getAvailableGroups() ``` public final String[] getAvailableGroups() ``` Gets the available group names. **Returns:** java.lang.String[] - The available group names. ##### filterByGroup(String groupName) ``` public final VCardCard filterByGroup(String groupName) ``` Filters all vCard records by the group name passed as a parameter. For more information please see the method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | groupName | java.lang.String | The name of the group. | **Returns:** VCardCard - The filtered vCard instance. ##### filterHomeTags() ``` public final VCardCard filterHomeTags() ``` Filters all vCard records marked with the HOME tag. **Returns:** VCardCard - The filtered vCard instance. ##### filterWorkTags() ``` public final VCardCard filterWorkTags() ``` Filters all vCard records marked with the WORK tag. **Returns:** VCardCard - Filtered vCard instance. ##### filterPreferred() ``` public final VCardCard filterPreferred() ``` Filters the preferred records. **Returns:** VCardCard - The filtered vCard instance. ### VCardCommunicationRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardcommunicationrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardCommunicationRecordset extends VCardRecordset ``` Represents a set of Communication vCard records. These properties describe information about how to communicate with the object the vCard represents. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getTelephoneRecords() | Gets the telephone numbers for telephony communication with the object. | | getTelephones() | Gets the telephone numbers for telephony communication with the object. | | getEmailRecords() | Gets the electronic mail addresses for communication with the object. | | getEmails() | Gets the electronic mail addresses for communication with the object. | | getMailer() | Gets the type of the electronic mail software that is used by the individual associated with the vCard. | | getImppRecords() | Gets the URIs for instant messaging and presence protocol communications with the object. | | getImppEntries() | Gets the URIs for instant messaging and presence protocol communications with the object. | | getLanguageRecords() | Gets the languages that may be used for contacting the object. | | getLanguages() | Gets the languages that may be used for contacting the object. | ##### getTelephoneRecords() ``` public final VCardTextRecord[] getTelephoneRecords() ``` Gets the telephone numbers for telephony communication with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The telephone numbers for telephony communication with the object. ##### getTelephones() ``` public final String[] getTelephones() ``` Gets the telephone numbers for telephony communication with the object. **Returns:** java.lang.String[] - The telephone numbers for telephony communication with the object. This property is a simplified version of TelephoneRecords . ##### getEmailRecords() ``` public final VCardTextRecord[] getEmailRecords() ``` Gets the electronic mail addresses for communication with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The electronic mail addresses array for communication with the object. ##### getEmails() ``` public final String[] getEmails() ``` Gets the electronic mail addresses for communication with the object. **Returns:** java.lang.String[] - The electronic mail addresses array for communication with the object. This property is a simplified version of EmailRecords . ##### getMailer() ``` public final String getMailer() ``` Gets the type of the electronic mail software that is used by the individual associated with the vCard. **Returns:** java.lang.String - The type of the electronic mail software that is used by the individual associated with the vCard ##### getImppRecords() ``` public final VCardTextRecord[] getImppRecords() ``` Gets the URIs for instant messaging and presence protocol communications with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs for instant messaging and presence protocol communications with the object. ##### getImppEntries() ``` public final String[] getImppEntries() ``` Gets the URIs for instant messaging and presence protocol communications with the object. **Returns:** java.lang.String[] - The URIs for instant messaging and presence protocol communications with the object. This property is a simplified version of ImppRecords . ##### getLanguageRecords() ``` public final VCardTextRecord[] getLanguageRecords() ``` Gets the languages that may be used for contacting the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The languages that may be used for contacting the object. ##### getLanguages() ``` public final String[] getLanguages() ``` Gets the languages that may be used for contacting the object. **Returns:** java.lang.String[] - The languages that may be used for contacting the object. This property is a simplified version of LanguageRecords . ### VCardContentType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardcontenttype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum VCardContentType extends Enum implements IEnumValue ``` Defines vCard record content types. #### Fields | Field | Description | | --- | --- | | Custom | The custom content type. | | Text | The text content type. | | Binary | The binary content type. | | DateTime | The date time content type. | | Agent | The agent content type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Custom ``` public static final VCardContentType Custom ``` The custom content type. ##### Text ``` public static final VCardContentType Text ``` The text content type. ##### Binary ``` public static final VCardContentType Binary ``` The binary content type. ##### DateTime ``` public static final VCardContentType DateTime ``` The date time content type. ##### Agent ``` public static final VCardContentType Agent ``` The agent content type. ##### values() ``` public static VCardContentType[] values() ``` **Returns:** com.groupdocs.metadata.core.VCardContentType[] ##### valueOf(String name) ``` public static VCardContentType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** VCardContentType ##### getByRawValue(int rawValue) ``` public static VCardContentType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** VCardContentType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### VCardCustomRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardcustomrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardCustomRecord extends VCardRecord implements IVCardRecord ``` Represents vCard custom record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final String getValue() ``` Gets the record value. **Returns:** java.lang.String - The record value. ### VCardDateTimeRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcarddatetimerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardDateTimeRecord extends VCardRecord implements IVCardRecord ``` Represents vCard date time record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final Date getValue() ``` Gets the record value. **Returns:** java.util.Date - The record value. ### VCardDeliveryAddressingRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcarddeliveryaddressingrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardDeliveryAddressingRecordset extends VCardRecordset ``` Represents a set of Delivery Addressing vCard records. These types are concerned with information related to the delivery addressing or label for the vCard object. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getAddressRecords() | Gets the components of the delivery address of the object. | | getAddresses() | Gets the components of the delivery address of the object. | | getLabelRecords() | Gets an array containing the formatted text corresponding to delivery address of the object. | | getLabels() | Gets an array containing the formatted text corresponding to delivery address of the object. | ##### getAddressRecords() ``` public final VCardTextRecord[] getAddressRecords() ``` Gets the components of the delivery address of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The components of the delivery address of the object. ##### getAddresses() ``` public final String[] getAddresses() ``` Gets the components of the delivery address of the object. **Returns:** java.lang.String[] - The components of the delivery address of the object. This property is a simplified version of AddressRecords . ##### getLabelRecords() ``` public final VCardTextRecord[] getLabelRecords() ``` Gets an array containing the formatted text corresponding to delivery address of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the formatted text corresponding to delivery address of the object. ##### getLabels() ``` public final String[] getLabels() ``` Gets an array containing the formatted text corresponding to delivery address of the object. **Returns:** java.lang.String[] - An array containing the formatted text corresponding to delivery address of the object. This property is a simplified version of LabelRecords . ### VCardExplanatoryRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardexplanatoryrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardExplanatoryRecordset extends VCardRecordset ``` Represents a set of Explanatory vCard records. These properties are concerned with additional explanations, such as that related to informational notes or revisions specific to the vCard. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getCategoryRecords() | Gets the application category information about the vCard, also known as "tags". | | getCategories() | Gets the application category information about the vCard, also known as "tags". | | getNoteRecords() | Gets the supplemental information or comments that are associated with the vCard. | | getNotes() | Gets the supplemental information or comments that are associated with the vCard. | | getProductIdentifierRecord() | Gets the identifier of the product that created the vCard object. | | getProductIdentifier() | Gets the identifier of the product that created the vCard object. | | getRevision() | Gets the revision information about the current vCard. | | getSortString() | Gets the family name or given name text to be used for national-language-specific sorting of the VCardIdentificationRecordset.FormattedNames and VCardIdentificationRecordset.Name types. | | getSoundRecords() | Gets the digital sound content information that annotates some aspects of the vCard. | | getSoundBinaryRecords() | Gets the digital sound content information that annotates some aspects of the vCard. | | getBinarySounds() | Gets the digital sound content information that annotates some aspects of the vCard. | | getSoundUriRecords() | Gets the digital sound content information that annotates some aspects of the vCard. | | getUriSounds() | Gets the digital sound content information that annotates some aspects of the vCard. | | getUidRecord() | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | getUid() | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | getPidIdentifierRecords() | Gets the global meaning of the local PID source identifier. | | getPidIdentifiers() | Gets the global meaning of the local PID source identifier. | | getUrlRecords() | Gets an array of URLs pointing to websites that represent the person in some way. | | getUrls() | Gets an array of URLs pointing to websites that represent the person in some way. | | getVersion() | Gets the version of the vCard specification. | ##### getCategoryRecords() ``` public final VCardTextRecord[] getCategoryRecords() ``` Gets the application category information about the vCard, also known as "tags". **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The application category information about the vCard, also known as "tags". ##### getCategories() ``` public final String[] getCategories() ``` Gets the application category information about the vCard, also known as "tags". **Returns:** java.lang.String[] - The application category information about the vCard, also known as "tags". This property is a simplified version of CategoryRecords . ##### getNoteRecords() ``` public final VCardTextRecord[] getNoteRecords() ``` Gets the supplemental information or comments that are associated with the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The supplemental information or comments that are associated with the vCard. ##### getNotes() ``` public final String[] getNotes() ``` Gets the supplemental information or comments that are associated with the vCard. **Returns:** java.lang.String[] - The supplemental information or comments that are associated with the vCard. This property is a simplified version of NoteRecords . ##### getProductIdentifierRecord() ``` public final VCardTextRecord getProductIdentifierRecord() ``` Gets the identifier of the product that created the vCard object. **Returns:** VCardTextRecord - The identifier of the product that created the vCard object ##### getProductIdentifier() ``` public final String getProductIdentifier() ``` Gets the identifier of the product that created the vCard object. **Returns:** java.lang.String - The identifier of the product that created the vCard object This property is a simplified version of ProductIdentifierRecord . ##### getRevision() ``` public final Date getRevision() ``` Gets the revision information about the current vCard. **Returns:** java.util.Date - The revision information about the current vCard. ##### getSortString() ``` public final String getSortString() ``` Gets the family name or given name text to be used for national-language-specific sorting of the VCardIdentificationRecordset.FormattedNames and VCardIdentificationRecordset.Name types. **Returns:** java.lang.String - The family name or given name text to be used for national-language-specific sorting of the VCardIdentificationRecordset.FormattedNames and VCardIdentificationRecordset.Name types. ##### getSoundRecords() ``` public final VCardRecord[] getSoundRecords() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The digital sound content information that annotates some aspects of the vCard. ##### getSoundBinaryRecords() ``` public final VCardBinaryRecord[] getSoundBinaryRecords() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundRecords . ##### getBinarySounds() ``` public final byte[][] getBinarySounds() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** byte[][] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundBinaryRecords . ##### getSoundUriRecords() ``` public final VCardTextRecord[] getSoundUriRecords() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundRecords . ##### getUriSounds() ``` public final String[] getUriSounds() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** java.lang.String[] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundUriRecords . ##### getUidRecord() ``` public final VCardTextRecord getUidRecord() ``` Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. **Returns:** VCardTextRecord - The value that represents a globally unique identifier corresponding. ##### getUid() ``` public final String getUid() ``` Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. **Returns:** java.lang.String - The value that represents a globally unique identifier corresponding. This property is a simplified version of UidRecord . ##### getPidIdentifierRecords() ``` public final VCardTextRecord[] getPidIdentifierRecords() ``` Gets the global meaning of the local PID source identifier. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The global meaning of the local PID source identifier. ##### getPidIdentifiers() ``` public final String[] getPidIdentifiers() ``` Gets the global meaning of the local PID source identifier. **Returns:** java.lang.String[] - The global meaning of the local PID source identifier. This property is a simplified version of PidIdentifierRecords . ##### getUrlRecords() ``` public final VCardTextRecord[] getUrlRecords() ``` Gets an array of URLs pointing to websites that represent the person in some way. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array of URLs pointing to websites that represent the person in some way. ##### getUrls() ``` public final String[] getUrls() ``` Gets an array of URLs pointing to websites that represent the person in some way. **Returns:** java.lang.String[] - An array of URLs pointing to websites that represent the person in some way. This property is a simplified version of UrlRecords . ##### getVersion() ``` public final String getVersion() ``` Gets the version of the vCard specification. **Returns:** java.lang.String - The version of the vCard specification. ### VCardGeneralRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardgeneralrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardGeneralRecordset extends VCardRecordset ``` Represents a set of General vCard records. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getSourceRecords() | Gets the array of sources of directory information contained in the content type. | | getSources() | Gets an array containing the sources of the directory information contained in the content type. | | getNameOfSource() | Gets the textual representation of the SOURCE property. | | getKind() | Gets the kind of the object. | | getXmlRecords() | Gets an array containing extended XML-encoded vCard data. | | getXmlEntries() | Gets an array containing extended XML-encoded vCard data. | ##### getSourceRecords() ``` public final VCardTextRecord[] getSourceRecords() ``` Gets the array of sources of directory information contained in the content type. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The array of sources of directory information contained in the content type. ##### getSources() ``` public final String[] getSources() ``` Gets an array containing the sources of the directory information contained in the content type. **Returns:** java.lang.String[] - An array containing the sources of the directory information contained in the content type. This property is a simplified version of SourceRecords . ##### getNameOfSource() ``` public final String getNameOfSource() ``` Gets the textual representation of the SOURCE property. **Returns:** java.lang.String - The textual representation of the SOURCE property. ##### getKind() ``` public final String getKind() ``` Gets the kind of the object. **Returns:** java.lang.String - The kind of object. ##### getXmlRecords() ``` public final VCardTextRecord[] getXmlRecords() ``` Gets an array containing extended XML-encoded vCard data. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing extended XML-encoded vCard data. ##### getXmlEntries() ``` public final String[] getXmlEntries() ``` Gets an array containing extended XML-encoded vCard data. **Returns:** java.lang.String[] - An array of extended XML-encoded vCard data. This property is a simplified version of XmlRecords . ### VCardGeographicalRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardgeographicalrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardGeographicalRecordset extends VCardRecordset ``` Represents a set of Geographical vCard records. These properties are concerned with information associated with geographical positions or regions associated with the object the vCard represents. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getTimeZoneRecords() | Gets the time zones of the object. | | getTimeZones() | Gets the time zones of the object. | | getGeographicPositionRecords() | Gets the information related to the global positioning of the object. | | getGeographicPositions() | Gets the information related to the global positioning of the object. | ##### getTimeZoneRecords() ``` public final VCardTextRecord[] getTimeZoneRecords() ``` Gets the time zones of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The time zones of the object. ##### getTimeZones() ``` public final String[] getTimeZones() ``` Gets the time zones of the object. **Returns:** java.lang.String[] - The time zones of the object. This property is a simplified version of TimeZoneRecords . ##### getGeographicPositionRecords() ``` public final VCardTextRecord[] getGeographicPositionRecords() ``` Gets the information related to the global positioning of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The information related to the global positioning of the object. ##### getGeographicPositions() ``` public final String[] getGeographicPositions() ``` Gets the information related to the global positioning of the object. **Returns:** java.lang.String[] - The information related to the global positioning of the object. This property is a simplified version of GeographicPositionRecords . ### VCardIdentificationRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardidentificationrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardIdentificationRecordset extends VCardRecordset ``` Represents a set of Identification vCard records. These types are used to capture information associated with the identification and naming of the entity associated with the vCard. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getFormattedNameRecords() | Gets an array containing the formatted text corresponding to the name of the object. | | getFormattedNames() | Gets an array containing the formatted text corresponding to the name of the object. | | getNameRecord() | Gets the components of the name of the object. | | getName() | Gets the components of the name of the object. | | getNicknameRecords() | Gets an array containing the text corresponding to the nickname of the object. | | getNicknames() | Gets an array containing the text corresponding to the nickname of the object. | | getPhotoRecords() | Gets an array containing the image or photograph information that annotates some aspects of the object. | | getPhotoBinaryRecords() | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | getBinaryPhotos() | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | getPhotoUriRecords() | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | | getUriPhotos() | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | | getBirthdateRecords() | Gets an array containing the birth date of the object in different representations. | | getBirthdateDateTimeRecord() | Gets the birth date of the object. | | getDateTimeBirthdate() | Gets the birth date of the object. | | getBirthdateTextRecords() | Gets an array containing the birth date of the object in different text representations. | | getTextBirthdates() | Gets an array containing the birth date of the object in different text representations. | | getAnniversaryRecord() | Gets the date of marriage, or equivalent, of the object. | | getAnniversaryDateTimeRecord() | Gets the date of marriage represented as a single date-and-or-time value. | | getDateTimeAnniversary() | Gets the date of marriage represented as a single date-and-or-time value. | | getAnniversaryTextRecord() | Gets the date of marriage represented as a single text value. | | getTextAnniversary() | Gets the date of marriage represented as a single text value. | | getGenderRecord() | Gets the components of the sex and gender identity of the object. | | getGender() | Gets the components of the sex and gender identity of the object. | ##### getFormattedNameRecords() ``` public final VCardTextRecord[] getFormattedNameRecords() ``` Gets an array containing the formatted text corresponding to the name of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the formatted text corresponding to the name of the object. ##### getFormattedNames() ``` public final String[] getFormattedNames() ``` Gets an array containing the formatted text corresponding to the name of the object. **Returns:** java.lang.String[] - An array containing the formatted text corresponding to the name of the object. This property is a simplified version of FormattedNameRecords . ##### getNameRecord() ``` public final VCardTextRecord getNameRecord() ``` Gets the components of the name of the object. **Returns:** VCardTextRecord - The components of the name of the object. ##### getName() ``` public final String getName() ``` Gets the components of the name of the object. **Returns:** java.lang.String - The components of the name of the object. This property is a simplified version of NameRecord . ##### getNicknameRecords() ``` public final VCardTextRecord[] getNicknameRecords() ``` Gets an array containing the text corresponding to the nickname of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the text corresponding to the nickname of the object. ##### getNicknames() ``` public final String[] getNicknames() ``` Gets an array containing the text corresponding to the nickname of the object. **Returns:** java.lang.String[] - An array containing the text corresponding to the nickname of the object. This property is a simplified version of NicknameRecords . ##### getPhotoRecords() ``` public final VCardRecord[] getPhotoRecords() ``` Gets an array containing the image or photograph information that annotates some aspects of the object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - An array containing the image or photograph information that annotates some aspects of the object. ##### getPhotoBinaryRecords() ``` public final VCardBinaryRecord[] getPhotoBinaryRecords() ``` Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - An array containing the image or photograph information represented as binary data that annotates some aspects of the object. This property is a simplified version of PhotoRecords . ##### getBinaryPhotos() ``` public final byte[][] getBinaryPhotos() ``` Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. **Returns:** byte[][] - An array containing the image or photograph information represented as binary data that annotates some aspects of the object. This property is a simplified version of PhotoBinaryRecords . ##### getPhotoUriRecords() ``` public final VCardTextRecord[] getPhotoUriRecords() ``` Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the image or photograph information represented by URIs that annotates some aspects of the object. This property is a simplified version of PhotoRecords . ##### getUriPhotos() ``` public final String[] getUriPhotos() ``` Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. **Returns:** java.lang.String[] - An array containing the image or photograph information represented by URIs that annotates some aspects of the object. This property is a simplified version of PhotoUriRecords . ##### getBirthdateRecords() ``` public final VCardRecord[] getBirthdateRecords() ``` Gets an array containing the birth date of the object in different representations. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - An array containing the birth date of the object in different representations. ##### getBirthdateDateTimeRecord() ``` public final VCardDateTimeRecord getBirthdateDateTimeRecord() ``` Gets the birth date of the object. **Returns:** VCardDateTimeRecord - The birth date of the object. This property is a simplified version of BirthdateRecords . ##### getDateTimeBirthdate() ``` public final Date getDateTimeBirthdate() ``` Gets the birth date of the object. **Returns:** java.util.Date - The birth date of the object. This property is a simplified version of BirthdateDateTimeRecord . ##### getBirthdateTextRecords() ``` public final VCardTextRecord[] getBirthdateTextRecords() ``` Gets an array containing the birth date of the object in different text representations. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the birth date of the object in different text representations. This property is a simplified version of BirthdateRecords . ##### getTextBirthdates() ``` public final String[] getTextBirthdates() ``` Gets an array containing the birth date of the object in different text representations. **Returns:** java.lang.String[] - An array containing the birth date of the object in different text representations. This property is a simplified version of BirthdateTextRecords . ##### getAnniversaryRecord() ``` public final VCardRecord getAnniversaryRecord() ``` Gets the date of marriage, or equivalent, of the object. **Returns:** VCardRecord - The date of marriage, or equivalent, of the object. ##### getAnniversaryDateTimeRecord() ``` public final VCardDateTimeRecord getAnniversaryDateTimeRecord() ``` Gets the date of marriage represented as a single date-and-or-time value. **Returns:** VCardDateTimeRecord - The date of marriage represented as a single date-and-or-time value. This property is a simplified version of AnniversaryRecord . ##### getDateTimeAnniversary() ``` public final Date getDateTimeAnniversary() ``` Gets the date of marriage represented as a single date-and-or-time value. **Returns:** java.util.Date - The date of marriage represented as a single date-and-or-time value. This property is a simplified version of AnniversaryDateTimeRecord . ##### getAnniversaryTextRecord() ``` public final VCardTextRecord getAnniversaryTextRecord() ``` Gets the date of marriage represented as a single text value. **Returns:** VCardTextRecord - The date of marriage represented as a single text value. This property is a simplified version of AnniversaryRecord . ##### getTextAnniversary() ``` public final String getTextAnniversary() ``` Gets the date of marriage represented as a single text value. **Returns:** java.lang.String - The date of marriage represented as a single text value. This property is a simplified version of AnniversaryTextRecord . ##### getGenderRecord() ``` public final VCardTextRecord getGenderRecord() ``` Gets the components of the sex and gender identity of the object. **Returns:** VCardTextRecord - The components of the sex and gender identity of the object. ##### getGender() ``` public final String getGender() ``` Gets the components of the sex and gender identity of the object. **Returns:** java.lang.String - The components of the sex and gender identity of the object. This property is a simplified version of GenderRecord . ### VCardOrganizationalRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardorganizationalrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardOrganizationalRecordset extends VCardRecordset ``` Represents a set of Organizational vCard records. These properties are concerned with information associated with characteristics of the organization or organizational units of the object that the vCard represents. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getTitleRecords() | Gets the positions or jobs of the object. | | getTitles() | Gets the positions or jobs of the object. | | getRoleRecords() | Gets the functions or parts played in a particular situation by the object. | | getRoles() | Gets the functions or parts played in a particular situation by the object. | | getLogoRecords() | Gets the graphic images of the logo associated with the object. | | getLogoBinaryRecords() | Gets the graphic images of the logo associated with the object. | | getBinaryLogos() | Gets the graphic images of the logo associated with the object. | | getLogoUriRecords() | Gets the URIs of the graphic images of the logo associated with the object. | | getUriLogos() | Gets the URIs of the graphic images of the logo associated with the object. | | getAgentRecords() | Gets the information about another person who will act on behalf of the vCard object. | | getAgentObjectRecord() | Gets the information about another person who will act on behalf of the vCard object. | | getObjectAgent() | Gets the information about another person who will act on behalf of the vCard object. | | getAgentUriRecords() | Gets the information about another person who will act on behalf of the vCard object. | | getUriAgents() | Gets the information about another person who will act on behalf of the vCard object. | | getOrganizationNameRecords() | Gets the organizational names and units associated with the object. | | getOrganizationNames() | Gets the organizational names and units associated with the object. | | getMemberRecords() | Gets the members in the group this vCard represents. | | getMembers() | Gets the members in the group this vCard represents. | | getRelationshipRecords() | Gets the relationships between another entity and the entity represented by this vCard. | | getRelationships() | Gets the relationships between another entity and the entity represented by this vCard. | ##### getTitleRecords() ``` public final VCardTextRecord[] getTitleRecords() ``` Gets the positions or jobs of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The positions or jobs of the object. ##### getTitles() ``` public final String[] getTitles() ``` Gets the positions or jobs of the object. **Returns:** java.lang.String[] - The positions or jobs of the object. This property is a simplified version of TitleRecords . ##### getRoleRecords() ``` public final VCardTextRecord[] getRoleRecords() ``` Gets the functions or parts played in a particular situation by the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The functions or parts played in a particular situation by the object. ##### getRoles() ``` public final String[] getRoles() ``` Gets the functions or parts played in a particular situation by the object. **Returns:** java.lang.String[] - The functions or parts played in a particular situation by the object. This property is a simplified version of TitleRecords . ##### getLogoRecords() ``` public final VCardRecord[] getLogoRecords() ``` Gets the graphic images of the logo associated with the object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The graphic images of the logo associated with the object. ##### getLogoBinaryRecords() ``` public final VCardBinaryRecord[] getLogoBinaryRecords() ``` Gets the graphic images of the logo associated with the object. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - The graphic images of the logo associated with the object. This property is a simplified version of LogoRecords . ##### getBinaryLogos() ``` public final byte[][] getBinaryLogos() ``` Gets the graphic images of the logo associated with the object. **Returns:** byte[][] - The graphic images of the logo associated with the object. This property is a simplified version of LogoBinaryRecords . ##### getLogoUriRecords() ``` public final VCardTextRecord[] getLogoUriRecords() ``` Gets the URIs of the graphic images of the logo associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs of the graphic images of the logo associated with the object. This property is a simplified version of LogoRecords . ##### getUriLogos() ``` public final String[] getUriLogos() ``` Gets the URIs of the graphic images of the logo associated with the object. **Returns:** java.lang.String[] - The URIs of the graphic images of the logo associated with the object. This property is a simplified version of LogoUriRecords . ##### getAgentRecords() ``` public final VCardRecord[] getAgentRecords() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The information about another person who will act on behalf of the vCard object. ##### getAgentObjectRecord() ``` public final VCardAgentRecord getAgentObjectRecord() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** VCardAgentRecord - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentRecords . ##### getObjectAgent() ``` public final VCardCard getObjectAgent() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** VCardCard - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentObjectRecord . ##### getAgentUriRecords() ``` public final VCardTextRecord[] getAgentUriRecords() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentRecords . ##### getUriAgents() ``` public final String[] getUriAgents() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** java.lang.String[] - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentUriRecords . ##### getOrganizationNameRecords() ``` public final VCardTextRecord[] getOrganizationNameRecords() ``` Gets the organizational names and units associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The organizational names and units associated with the object. ##### getOrganizationNames() ``` public final String[] getOrganizationNames() ``` Gets the organizational names and units associated with the object. **Returns:** java.lang.String[] - The organizational names and units associated with the object. This property is a simplified version of OrganizationNameRecords . ##### getMemberRecords() ``` public final VCardTextRecord[] getMemberRecords() ``` Gets the members in the group this vCard represents. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The members in the group this vCard represents. ##### getMembers() ``` public final String[] getMembers() ``` Gets the members in the group this vCard represents. **Returns:** java.lang.String[] - The members in the group this vCard represents. This property is a simplified version of MemberRecords . ##### getRelationshipRecords() ``` public final VCardTextRecord[] getRelationshipRecords() ``` Gets the relationships between another entity and the entity represented by this vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The relationships between another entity and the entity represented by this vCard. ##### getRelationships() ``` public final String[] getRelationships() ``` Gets the relationships between another entity and the entity represented by this vCard. **Returns:** java.lang.String[] - The relationships between another entity and the entity represented by this vCard. This property is a simplified version of RelationshipRecords . ### VCardPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage ``` public final class VCardPackage extends VCardBasePackage ``` Represents VCF (Virtual Contact File) electronic business card format metadata. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getCards() | Gets an array of the cards extracted from the file. | ##### getCards() ``` public final VCardCard[] getCards() ``` Gets an array of the cards extracted from the file. **Returns:** com.groupdocs.metadata.core.VCardCard[] - An array of the cards extracted from the file. ### VCardRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage ``` public abstract class VCardRecord extends VCardBasePackage ``` Represents abstract vCard record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getGroup() | Gets the grouping value. | | getValueParameters() | Gets the value parameters. | | getPrefParameter() | Gets the preferred parameter. | | getAltIdParameter() | Gets the alternative representations parameter value. | | getTypeParameters() | Gets the type parameter values. | | getEncodingParameter() | Gets the encoding parameter value. | | getLanguageParameter() | Gets the language parameter value. | | getAnonymParameters() | Gets the anonymous parameters. | | getContentType() | Gets the content type of record. | | getTypeName() | Gets the type of the record. | ##### getGroup() ``` public final String getGroup() ``` Gets the grouping value. **Returns:** java.lang.String - The grouping value. ##### getValueParameters() ``` public final String[] getValueParameters() ``` Gets the value parameters. **Returns:** java.lang.String[] - The value parameters. Used to identify the value type (data type) and format of the value. ##### getPrefParameter() ``` public final Integer getPrefParameter() ``` Gets the preferred parameter. **Returns:** java.lang.Integer - The preferred parameter. Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### getAltIdParameter() ``` public final String getAltIdParameter() ``` Gets the alternative representations parameter value. **Returns:** java.lang.String - The alternative representations parameter value. Used to "tag" property instances as being alternative representations of the same logical property. ##### getTypeParameters() ``` public final String[] getTypeParameters() ``` Gets the type parameter values. **Returns:** java.lang.String[] - The type parameter values. The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### getEncodingParameter() ``` public final String getEncodingParameter() ``` Gets the encoding parameter value. **Returns:** java.lang.String - The encoding parameter value. ##### getLanguageParameter() ``` public final String getLanguageParameter() ``` Gets the language parameter value. **Returns:** java.lang.String - The language parameter value. ##### getAnonymParameters() ``` public final String[] getAnonymParameters() ``` Gets the anonymous parameters. **Returns:** java.lang.String[] - The anonymous parameters. ##### getContentType() ``` public abstract VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getTypeName() ``` public final String getTypeName() ``` Gets the type of the record. **Returns:** java.lang.String - The type of the record. ### VCardRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage ``` public class VCardRecordset extends VCardBasePackage ``` Provides a base vCard record union class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata ### VCardRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class VCardRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a VCard file. This code sample demonstrates how to read metadata properties of a vCard file. > ``` > ``` > > public static void run() { > try (Metadata metadata = new Metadata(Constants.InputVcf)) { > VCardRootPackage root = metadata.getRootPackageGeneric(); > for (VCardCard vCard : root.getVCardPackage().getCards()) { > System.out.println(vCard.getIdentificationRecordset().getName()); > PrintArray(vCard.getIdentificationRecordset().getFormattedNames()); > PrintArray(vCard.getCommunicationRecordset().getEmails()); > PrintArray(vCard.getCommunicationRecordset().getTelephones()); > PrintArray(vCard.getDeliveryAddressingRecordset().getAddresses()); > // ... > } > } > } > private static void PrintArray(String[] values) { > if (values != null) { > for (String value : values) { > System.out.println(value); > } > } > } > > ``` > ``` [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getVCardPackage() | Gets the VCard metadata package. | ##### getVCardPackage() ``` public final VCardPackage getVCardPackage() ``` Gets the VCard metadata package. **Returns:** VCardPackage - The VCard metadata package. ### VCardSecurityRecordset Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardsecurityrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardSecurityRecordset extends VCardRecordset ``` Represents a set of Security vCard records. These properties are concerned with the security of communication pathways or access to the vCard. #### Methods | Method | Description | | --- | --- | | getAccessClassification() | Gets the sensitivity of the information in the vCard. | | getPublicKeyRecords() | Gets the public keys or authentication certificates associated with the object. | | getPublicKeyBinaryRecords() | Gets the public keys or authentication certificates associated with the object. | | getBinaryPublicKeys() | Gets the public keys or authentication certificates associated with the object. | | getPublicKeyUriRecords() | Gets the public keys or authentication certificates associated with the object. | | getUriPublicKeys() | Gets the public keys or authentication certificates associated with the object. | ##### getAccessClassification() ``` public final String getAccessClassification() ``` Gets the sensitivity of the information in the vCard. **Returns:** java.lang.String - The sensitivity of the information in the vCard. ##### getPublicKeyRecords() ``` public final VCardRecord[] getPublicKeyRecords() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The public keys or authentication certificates associated with the object. ##### getPublicKeyBinaryRecords() ``` public final VCardBinaryRecord[] getPublicKeyBinaryRecords() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyRecords . ##### getBinaryPublicKeys() ``` public final byte[][] getBinaryPublicKeys() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** byte[][] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyBinaryRecords . ##### getPublicKeyUriRecords() ``` public final VCardTextRecord[] getPublicKeyUriRecords() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyRecords . ##### getUriPublicKeys() ``` public final String[] getUriPublicKeys() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** java.lang.String[] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyUriRecords . ### VCardTextRecord Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/vcardtextrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardTextRecord extends VCardRecord implements IVCardRecord ``` Represents vCard text record metadata class. #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getMediaTypeParameter() | Gets the media type parameter value. | | getCharsetParameter() | Gets the charset parameter. | | getValue() | Gets the record value. | | isQuotedPrintable() | Gets a value indicating whether this instance is quoted printable string. | | getReadabilityValue(String codePageName) | Gets the readability value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getMediaTypeParameter() ``` public final String getMediaTypeParameter() ``` Gets the media type parameter value. **Returns:** java.lang.String - The media type parameter value. Used with properties whose value is a URI. It provides a hint to the vCard consumer application about the media type [RFC2046] of the resource identified by the URI. ##### getCharsetParameter() ``` public final String getCharsetParameter() ``` Gets the charset parameter. **Returns:** java.lang.String - The charset parameter. ##### getValue() ``` public final String getValue() ``` Gets the record value. **Returns:** java.lang.String - The record value. ##### isQuotedPrintable() ``` public final boolean isQuotedPrintable() ``` Gets a value indicating whether this instance is quoted printable string. **Returns:** boolean - true if this instance is quoted printable; otherwise, false . ##### getReadabilityValue(String codePageName) ``` public final String getReadabilityValue(String codePageName) ``` Gets the readability value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | codePageName | java.lang.String | The using encoding code page name or null for ASCII encoding. | **Returns:** java.lang.String - The readability value. ### WavPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wavpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WavPackage extends CustomPackage ``` Represents a native metadata package in a WAV audio file. This code sample shows how to extract technical audio information from a WAV file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputWav)) { > WavRootPackage root = metadata.getRootPackageGeneric(); > if (root.getWavPackage() != null) { > System.out.println(root.getWavPackage().getAudioFormat()); > System.out.println(root.getWavPackage().getBitsPerSample()); > System.out.println(root.getWavPackage().getBlockAlign()); > System.out.println(root.getWavPackage().getByteRate()); > System.out.println(root.getWavPackage().getNumberOfChannels()); > System.out.println(root.getWavPackage().getSampleRate()); > } > } > > ``` > ``` #### Constructors | Constructor | Description | | --- | --- | | WavPackage() | Initializes a new instance of the WavPackage class. | #### Methods | Method | Description | | --- | --- | | getAudioFormat() | Gets the audio format. | | getNumberOfChannels() | Gets the number of channels. | | getSampleRate() | Gets the sample rate. | | getByteRate() | Gets the byte rate. | | getBlockAlign() | Gets the block align. | | getBitsPerSample() | Gets the bits per sample value. | ##### WavPackage() ``` public WavPackage() ``` Initializes a new instance of the WavPackage class. ##### getAudioFormat() ``` public final int getAudioFormat() ``` Gets the audio format. PCM = 1 (i.e. Linear quantization). Values other than 1 indicate some form of compression. **Returns:** int - The audio format. ##### getNumberOfChannels() ``` public final int getNumberOfChannels() ``` Gets the number of channels. **Returns:** int - The number of channels. ##### getSampleRate() ``` public final int getSampleRate() ``` Gets the sample rate. **Returns:** int - The sample rate. ##### getByteRate() ``` public final int getByteRate() ``` Gets the byte rate. **Returns:** int - The byte rate. ##### getBlockAlign() ``` public final int getBlockAlign() ``` Gets the block align. **Returns:** int - The block align. ##### getBitsPerSample() ``` public final int getBitsPerSample() ``` Gets the bits per sample value. **Returns:** int - The bits per sample value. ### WavRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wavrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class WavRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in a WAV audio. This code sample shows how to extract technical audio information from a WAV file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputWav)) { > WavRootPackage root = metadata.getRootPackageGeneric(); > if (root.getWavPackage() != null) { > System.out.println(root.getWavPackage().getAudioFormat()); > System.out.println(root.getWavPackage().getBitsPerSample()); > System.out.println(root.getWavPackage().getBlockAlign()); > System.out.println(root.getWavPackage().getByteRate()); > System.out.println(root.getWavPackage().getNumberOfChannels()); > System.out.println(root.getWavPackage().getSampleRate()); > } > } > > ``` > ``` #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getWavPackage() | Gets the WAV native metadata package. | | getRiffInfoPackage() | Gets the package containing RIFF Info tags. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getWavPackage() ``` public final WavPackage getWavPackage() ``` Gets the WAV native metadata package. **Returns:** WavPackage - The WAV native metadata package. ##### getRiffInfoPackage() ``` public final RiffInfoPackage getRiffInfoPackage() ``` Gets the package containing RIFF Info tags. **Returns:** RiffInfoPackage - The package containing RIFF Info tags. ### WebPRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/webprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class WebPRootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package allowing working with metadata in a WEBP image. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ### WmfRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wmfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class WmfRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a WMF image. ### WordProcessingComment Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingcomment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WordProcessingComment extends CustomPackage ``` Represents a comment in a word processing document. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getId() | Gets the comment id. | | getAuthor() | Gets the author. | | setAuthor(String value) | Sets the author. | | getInitials() | Gets the author's initials. | | setInitials(String value) | Sets the author's initials. | | getText() | Gets the text of the comment. | | setText(String value) | Sets the text of the comment. | | getCreatedDate() | Gets the date the comment was created. | | setCreatedDate(Date value) | Sets the date the comment was created. | ##### getId() ``` public final int getId() ``` Gets the comment id. **Returns:** int - The comment identifier. ##### getAuthor() ``` public final String getAuthor() ``` Gets the author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getInitials() ``` public final String getInitials() ``` Gets the author's initials. **Returns:** java.lang.String - The initials of the author. ##### setInitials(String value) ``` public final void setInitials(String value) ``` Sets the author's initials. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The initials of the author. | ##### getText() ``` public final String getText() ``` Gets the text of the comment. **Returns:** java.lang.String - The text of the comment. ##### setText(String value) ``` public final void setText(String value) ``` Sets the text of the comment. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The text of the comment. | ##### getCreatedDate() ``` public final Date getCreatedDate() ``` Gets the date the comment was created. **Returns:** java.util.Date - The date the comment was created. ##### setCreatedDate(Date value) ``` public final void setCreatedDate(Date value) ``` Sets the date the comment was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the comment was created. | ### WordProcessingField Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingfield.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class WordProcessingField extends CustomPackage ``` Represents a field in a word processing document. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getCode() | Gets the field code. | | getResult() | Gets the field result. | ##### getCode() ``` public final String getCode() ``` Gets the field code. **Returns:** java.lang.String - The field code. ##### getResult() ``` public final String getResult() ``` Gets the field result. **Returns:** java.lang.String - The field result. ### WordProcessingFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum WordProcessingFormat extends Enum implements IEnumValue ``` Defines various word processing document subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Doc | Represents the .DOC Word format. | | Docm | Represents the .DOCM Word format. | | Docx | Represents the .DOCX Word format. | | Dot | Represents the .DOT Word format. | | Dotx | Represents the .DOTX Word format. | | Dotm | Represents the .DOTM Word format. | | Odt | Represents the .ODT format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final WordProcessingFormat Unknown ``` The format is not recognized. ##### Doc ``` public static final WordProcessingFormat Doc ``` Represents the .DOC Word format. Files with .doc extension represent documents generated by Microsoft Word or other word processing applications in binary file format. The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images, formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/doc/ ##### Docm ``` public static final WordProcessingFormat Docm ``` Represents the .DOCM Word format. DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. It is similar to DOCX file format but the ability to run macros makes it different from DOCX. Like DOCX, DOCM files can be store text, images, tables, shapes, charts and other contents. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docm/ ##### Docx ``` public static final WordProcessingFormat Docx ``` Represents the .DOCX Word format. DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docx/ ##### Dot ``` public static final WordProcessingFormat Dot ``` Represents the .DOT Word format. Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent files created from these. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dot/ ##### Dotx ``` public static final WordProcessingFormat Dotx ``` Represents the .DOTX Word format. Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent flies created from these. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotx/ ##### Dotm ``` public static final WordProcessingFormat Dotm ``` Represents the .DOTM Word format. A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. It is similar to the popular DOCX file format other than it retains the user defined settings for reuse in case of creating new documents. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotm/ ##### Odt ``` public static final WordProcessingFormat Odt ``` Represents the .ODT format. ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/odt/ ##### values() ``` public static WordProcessingFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.WordProcessingFormat[] ##### valueOf(String name) ``` public static WordProcessingFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** WordProcessingFormat ##### getByRawValue(int rawValue) ``` public static WordProcessingFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** WordProcessingFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### WordProcessingInspectionPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessinginspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WordProcessingInspectionPackage extends CustomPackage ``` Contains information about document parts that can be considered as metadata in some cases. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getComments() | Gets an array of the user comments. | | getFields() | Gets an array of document fields. | | getHiddenText() | Gets an array of hidden text fragments extracted from the document. | | getDigitalSignatures() | Gets an array of digital signatures presented in the document. | | getRevisions() | Gets an array of digital signatures presented in the document. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | clearComments() | Removes all detected user comments from the document. | | clearFields() | Removes all detected fields from the document. | | clearHiddenText() | Removes all hidden text fragments from the document. | | acceptAllRevisions() | Accepts all detected revisions in the document. | | rejectAllRevisions() | Rejects all detected revisions in the document. | | sanitize() | Removes writable metadata properties from the package. | ##### getComments() ``` public final WordProcessingComment[] getComments() ``` Gets an array of the user comments. **Returns:** com.groupdocs.metadata.core.WordProcessingComment[] - The user comments. ##### getFields() ``` public final WordProcessingField[] getFields() ``` Gets an array of document fields. **Returns:** com.groupdocs.metadata.core.WordProcessingField[] - An array of document fields. ##### getHiddenText() ``` public final String[] getHiddenText() ``` Gets an array of hidden text fragments extracted from the document. **Returns:** java.lang.String[] - An array of hidden text fragments extracted from the document. ##### getDigitalSignatures() ``` public final DigitalSignature[] getDigitalSignatures() ``` Gets an array of digital signatures presented in the document. **Returns:** com.groupdocs.metadata.core.DigitalSignature[] - The digital signatures. ##### getRevisions() ``` public final WordProcessingRevision[] getRevisions() ``` Gets an array of digital signatures presented in the document. **Returns:** com.groupdocs.metadata.core.WordProcessingRevision[] - The digital signatures. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### clearComments() ``` public final void clearComments() ``` Removes all detected user comments from the document. ##### clearFields() ``` public final void clearFields() ``` Removes all detected fields from the document. ##### clearHiddenText() ``` public final void clearHiddenText() ``` Removes all hidden text fragments from the document. ##### acceptAllRevisions() ``` public final void acceptAllRevisions() ``` Accepts all detected revisions in the document. ##### rejectAllRevisions() ``` public final void rejectAllRevisions() ``` Rejects all detected revisions in the document. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### WordProcessingPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class WordProcessingPackage extends DocumentPackage ``` Represents a native metadata package in a word processing document. This code sample shows how to update built-in metadata properties in a WordProcessing document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDoc)) { > WordProcessingRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedTime(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputDoc); > } > > ``` > ``` [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the document's author. | | setAuthor(String value) | Sets the document's author. | | getBytesInDocument() | Gets an estimate of the number of bytes in the document. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the comments. | | setComments(String value) | Sets the comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getContentStatus() | Gets the content status. | | setContentStatus(String value) | Sets the content status. | | getContentType() | Gets the content type of the document. | | setContentType(String value) | Sets the content type of the document. | | getCreatedTime() | Gets the document created date. | | setCreatedTime(Date value) | Sets the document created date. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTemplate() | Gets the template. | | setTemplate(String value) | Sets the template. | | getLastPrintedDate() | Gets the last printed date. | | setLastPrintedDate(Date value) | Sets the last printed date. | | getLastSavedBy() | Gets the name of the last author. | | setLastSavedBy(String value) | Sets the name of the last author. | | getLastSavedTime() | Gets the time of the last save. | | setLastSavedTime(Date value) | Sets the time of the last save. | | getManager() | Gets the manager. | | setManager(String value) | Sets the manager. | | getNameOfApplication() | Gets the name of the application. | | getRevisionNumber() | Gets the revision number. | | setRevisionNumber(Integer value) | Sets the revision number. | | getVersion() | Gets the version number of the application that created the document. | | getTotalEditingTime() | Gets the total editing time in minutes. | | setTotalEditingTime(Integer value) | Sets the total editing time in minutes. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getLinksUpToDate() | Gets a value indicating whether the hyperlinks in the document are up-to-date. | | setLinksUpToDate(Boolean value) | Sets a value indicating whether the hyperlinks in the document are up-to-date. | | getTitlesOfParts() | Gets the titles of document parts. | | getWords() | Gets an estimate of the number of words in the document. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document's author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document's author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getBytesInDocument() ``` public final Integer getBytesInDocument() ``` Gets an estimate of the number of bytes in the document. **Returns:** java.lang.Integer - An estimate of the number of bytes in the document. ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the comments. **Returns:** java.lang.String - The comments. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comments. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getContentStatus() ``` public final String getContentStatus() ``` Gets the content status. **Returns:** java.lang.String - The content status. ##### setContentStatus(String value) ``` public final void setContentStatus(String value) ``` Sets the content status. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content status. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type of the document. **Returns:** java.lang.String - The type of the content. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the content. | ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the document created date. **Returns:** java.util.Date - The created time. ##### setCreatedTime(Date value) ``` public final void setCreatedTime(Date value) ``` Sets the document created date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The created time. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTemplate() ``` public final String getTemplate() ``` Gets the template. **Returns:** java.lang.String - The template. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets the template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The template. | ##### getLastPrintedDate() ``` public final Date getLastPrintedDate() ``` Gets the last printed date. **Returns:** java.util.Date - The last printed date. ##### setLastPrintedDate(Date value) ``` public final void setLastPrintedDate(Date value) ``` Sets the last printed date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last printed date. | ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last author. **Returns:** java.lang.String - The name of the last author. ##### setLastSavedBy(String value) ``` public final void setLastSavedBy(String value) ``` Sets the name of the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the last author. | ##### getLastSavedTime() ``` public final Date getLastSavedTime() ``` Gets the time of the last save. **Returns:** java.util.Date - The time of the last save. ##### setLastSavedTime(Date value) ``` public final void setLastSavedTime(Date value) ``` Sets the time of the last save. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The time of the last save. | ##### getManager() ``` public final String getManager() ``` Gets the manager. **Returns:** java.lang.String - The manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manager. | ##### getNameOfApplication() ``` public final String getNameOfApplication() ``` Gets the name of the application. **Returns:** java.lang.String - The name of the application. ##### getRevisionNumber() ``` public final Integer getRevisionNumber() ``` Gets the revision number. **Returns:** java.lang.Integer - The revision number. ##### setRevisionNumber(Integer value) ``` public final void setRevisionNumber(Integer value) ``` Sets the revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The revision number. | ##### getVersion() ``` public final Integer getVersion() ``` Gets the version number of the application that created the document. **Returns:** java.lang.Integer - The version number of the application that created the document. When a document was created by Microsoft Word, then high 16 bit represent the major version and low 16 bit represent the build number. ##### getTotalEditingTime() ``` public final Integer getTotalEditingTime() ``` Gets the total editing time in minutes. **Returns:** java.lang.Integer - The total editing time in minutes. ##### setTotalEditingTime(Integer value) ``` public final void setTotalEditingTime(Integer value) ``` Sets the total editing time in minutes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The total editing time in minutes. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title of the document. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title of the document. | ##### getLinksUpToDate() ``` public final Boolean getLinksUpToDate() ``` Gets a value indicating whether the hyperlinks in the document are up-to-date. **Returns:** java.lang.Boolean - A value indicating whether the hyperlinks in the document are up-to-date. ##### setLinksUpToDate(Boolean value) ``` public final void setLinksUpToDate(Boolean value) ``` Sets a value indicating whether the hyperlinks in the document are up-to-date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the hyperlinks in the document are up-to-date. | ##### getTitlesOfParts() ``` public final String[] getTitlesOfParts() ``` Gets the titles of document parts. Read-only. **Returns:** java.lang.String[] - The titles of document parts. ##### getWords() ``` public final Integer getWords() ``` Gets an estimate of the number of words in the document. **Returns:** java.lang.Integer - The number of words in the document. ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ### WordProcessingRevision Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingrevision.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WordProcessingRevision extends CustomPackage ``` Represents a revision (tracked change) in a document. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the revision. | | getDateTime() | Gets the date/time of the revision. | | getRevisionType() | Gets the type of the revision. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the revision. **Returns:** java.lang.String - The author of the revision. ##### getDateTime() ``` public final Date getDateTime() ``` Gets the date/time of the revision. **Returns:** java.util.Date - The date/time of the revision. ##### getRevisionType() ``` public final WordProcessingRevisionType getRevisionType() ``` Gets the type of the revision. **Returns:** WordProcessingRevisionType - The type of the revision. ### WordProcessingRevisionType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingrevisiontype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum WordProcessingRevisionType extends Enum implements IEnumValue ``` Specifies the type of the change being tracked by a revision. #### Fields | Field | Description | | --- | --- | | Insertion | New content was inserted into the document. | | Deletion | Content was removed from the document. | | FormatChange | Change of formatting was applied to the parent node. | | StyleDefinitionChange | Change of formatting was applied to the parent style. | | Moving | Content was moved in the document. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Insertion ``` public static final WordProcessingRevisionType Insertion ``` New content was inserted into the document. ##### Deletion ``` public static final WordProcessingRevisionType Deletion ``` Content was removed from the document. ##### FormatChange ``` public static final WordProcessingRevisionType FormatChange ``` Change of formatting was applied to the parent node. ##### StyleDefinitionChange ``` public static final WordProcessingRevisionType StyleDefinitionChange ``` Change of formatting was applied to the parent style. ##### Moving ``` public static final WordProcessingRevisionType Moving ``` Content was moved in the document. ##### values() ``` public static WordProcessingRevisionType[] values() ``` **Returns:** com.groupdocs.metadata.core.WordProcessingRevisionType[] ##### valueOf(String name) ``` public static WordProcessingRevisionType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** WordProcessingRevisionType ##### getByRawValue(int rawValue) ``` public static WordProcessingRevisionType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** WordProcessingRevisionType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### WordProcessingRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IDublinCore ``` public class WordProcessingRootPackage extends DocumentRootPackage implements IDublinCore ``` Represents the root package allowing working with metadata in a word processing document. This code sample demonstrates how to read built-in metadata properties of a WordProcessing document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDocx)) { > WordProcessingRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedTime()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > // ... > } > > ``` > ``` [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getWordProcessingType() | Gets the file type metadata package. | | getDublinCorePackage() | Gets the Dublin Core metadata package extracted from the document. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | | updateDocumentStatistics() | Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. | ##### getWordProcessingType() ``` public final WordProcessingTypePackage getWordProcessingType() ``` Gets the file type metadata package. **Returns:** WordProcessingTypePackage - The file type metadata package. ##### getDublinCorePackage() ``` public final DublinCorePackage getDublinCorePackage() ``` Gets the Dublin Core metadata package extracted from the document. **Returns:** DublinCorePackage - The Dublin Core metadata package extracted from the document. ##### getInspectionPackage() ``` public final WordProcessingInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** WordProcessingInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ##### updateDocumentStatistics() ``` public final void updateDocumentStatistics() ``` Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. ### WordProcessingTypePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/wordprocessingtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class WordProcessingTypePackage extends FileTypePackage ``` Represents a metadata package containing document-specific file format information. #### Methods | Method | Description | | --- | --- | | getWordProcessingFormat() | Gets the exact word processing format. | ##### getWordProcessingFormat() ``` public final WordProcessingFormat getWordProcessingFormat() ``` Gets the exact word processing format. **Returns:** WordProcessingFormat - The exact word processing format. ### XmpArray Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmparray.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public class XmpArray extends XmpValueBase ``` Represents base abstraction for XMP array. #### Constructors | Constructor | Description | | --- | --- | | XmpArray(XmpArrayType arrayType, XmpValueBase[] items) | Initializes a new instance of the XmpArray class. | | XmpArray(XmpArrayType arrayType, XmpComplexType[] items) | Initializes a new instance of the XmpArray class. | #### Methods | Method | Description | | --- | --- | | getArrayType() | Gets the type of the XMP array. | | from(T[] array, XmpArrayType type) | Creates an XmpArray instance form an array of XmpComplexType . | | from(String[] array, XmpArrayType type) | Creates an XmpArray instance form a string array. | | from(int[] array, XmpArrayType type) | Creates an XmpArray instance form an integer array. | | from(Date[] array, XmpArrayType type) | Creates an XmpArray instance form a date array. | | from(double[] array, XmpArrayType type) | Creates an XmpArray instance form a double array. | | getXmpRepresentation() | Converts XMP value to the xml representation. | | toPlatformArray(Class type) | Converts the XmpArray to a platform-specific array. | ##### XmpArray(XmpArrayType arrayType, XmpValueBase[] items) ``` public XmpArray(XmpArrayType arrayType, XmpValueBase[] items) ``` Initializes a new instance of the XmpArray class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | arrayType | XmpArrayType | Array type. | | items | XmpValueBase\[\] | Array items. | ##### XmpArray(XmpArrayType arrayType, XmpComplexType[] items) ``` public XmpArray(XmpArrayType arrayType, XmpComplexType[] items) ``` Initializes a new instance of the XmpArray class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | arrayType | XmpArrayType | Array type. | | items | XmpComplexType\[\] | Array items. | ##### getArrayType() ``` public final XmpArrayType getArrayType() ``` Gets the type of the XMP array. **Returns:** XmpArrayType - The type of the XMP array. ##### from(T[] array, XmpArrayType type) ``` public static XmpArray from(T[] array, XmpArrayType type) ``` Creates an XmpArray instance form an array of XmpComplexType . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | T[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . T : The element type of the source array. | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(String[] array, XmpArrayType type) ``` public static XmpArray from(String[] array, XmpArrayType type) ``` Creates an XmpArray instance form a string array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | java.lang.String[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(int[] array, XmpArrayType type) ``` public static XmpArray from(int[] array, XmpArrayType type) ``` Creates an XmpArray instance form an integer array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | int[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(Date[] array, XmpArrayType type) ``` public static XmpArray from(Date[] array, XmpArrayType type) ``` Creates an XmpArray instance form a date array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | java.util.Date[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(double[] array, XmpArrayType type) ``` public static XmpArray from(double[] array, XmpArrayType type) ``` Creates an XmpArray instance form a double array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | double[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ##### toPlatformArray(Class type) ``` public final T[] toPlatformArray(Class type) ``` Converts the XmpArray to a platform-specific array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.Class | | **Returns:** T[] - A platform-specific array containing elements of the XmpArray . T : The type of the array element. ### XmpArrayType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmparraytype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpArrayType extends Enum implements IEnumValue ``` Represents array type in XmpArray . #### Fields | Field | Description | | --- | --- | | Unordered | An unordered array. | | Ordered | An ordered array. | | Alternative | An alternative array. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unordered ``` public static final XmpArrayType Unordered ``` An unordered array. ##### Ordered ``` public static final XmpArrayType Ordered ``` An ordered array. ##### Alternative ``` public static final XmpArrayType Alternative ``` An alternative array. ##### values() ``` public static XmpArrayType[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpArrayType[] ##### valueOf(String name) ``` public static XmpArrayType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpArrayType ##### getByRawValue(int rawValue) ``` public static XmpArrayType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpArrayType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpAudioChannelType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpaudiochanneltype.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpAudioChannelType extends XmpClosedChoice ``` Represents audio channel type. #### Methods | Method | Description | | --- | --- | | getMono() | Gets mono audio channel. | | getStereo() | Gets stereo audio channel. | | getAudio51() | Gets 5.1 audio channel. | | getAudio71() | Gets 7.1 audio channel. | | getAudio16Channel() | Gets 16 audio channel. | | getOtherChannel() | Gets other channel. | ##### getMono() ``` public static XmpAudioChannelType getMono() ``` Gets mono audio channel. **Returns:** XmpAudioChannelType - The mono. ##### getStereo() ``` public static XmpAudioChannelType getStereo() ``` Gets stereo audio channel. **Returns:** XmpAudioChannelType - The stereo. ##### getAudio51() ``` public static XmpAudioChannelType getAudio51() ``` Gets 5.1 audio channel. **Returns:** XmpAudioChannelType - The audio 5.1. ##### getAudio71() ``` public static XmpAudioChannelType getAudio71() ``` Gets 7.1 audio channel. **Returns:** XmpAudioChannelType - The audio 7.1. ##### getAudio16Channel() ``` public static XmpAudioChannelType getAudio16Channel() ``` Gets 16 audio channel. **Returns:** XmpAudioChannelType - 16 channel audio. ##### getOtherChannel() ``` public static XmpAudioChannelType getOtherChannel() ``` Gets other channel. **Returns:** XmpAudioChannelType - The other channel. ### XmpAudioSampleType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpaudiosampletype.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpAudioSampleType extends XmpClosedChoice ``` Represents Audio sample type in XmpDynamicMediaPackage . #### Methods | Method | Description | | --- | --- | | getSample8Int() | Gets 8Int audio sample. | | getSample16Int() | Gets 16Int audio sample. | | getSample24Int() | Gets 24Int audio sample. | | getSample32Int() | Gets 32Int audio sample. | | getSample32Float() | Gets 32Float audio sample. | | getCompressed() | Gets Compressed audio sample. | | getPacked() | Gets Packed audio sample. | | getOther() | Gets Other audio sample. | ##### getSample8Int() ``` public static XmpAudioSampleType getSample8Int() ``` Gets 8Int audio sample. **Returns:** XmpAudioSampleType - 8Int. ##### getSample16Int() ``` public static XmpAudioSampleType getSample16Int() ``` Gets 16Int audio sample. **Returns:** XmpAudioSampleType - 16Int. ##### getSample24Int() ``` public static XmpAudioSampleType getSample24Int() ``` Gets 24Int audio sample. **Returns:** XmpAudioSampleType - 24Int. ##### getSample32Int() ``` public static XmpAudioSampleType getSample32Int() ``` Gets 32Int audio sample. **Returns:** XmpAudioSampleType - 32Int. ##### getSample32Float() ``` public static XmpAudioSampleType getSample32Float() ``` Gets 32Float audio sample. **Returns:** XmpAudioSampleType - 32Float. ##### getCompressed() ``` public static XmpAudioSampleType getCompressed() ``` Gets Compressed audio sample. **Returns:** XmpAudioSampleType - The compressed audio. ##### getPacked() ``` public static XmpAudioSampleType getPacked() ``` Gets Packed audio sample. **Returns:** XmpAudioSampleType - The packed audio. ##### getOther() ``` public static XmpAudioSampleType getOther() ``` Gets Other audio sample. **Returns:** XmpAudioSampleType - The packed audio. ### XmpBasicJobTicketPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpbasicjobticketpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpBasicJobTicketPackage extends XmpPackage ``` Represents Basic Job-Ticket namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpBasicJobTicketPackage() | Initializes a new instance of the XmpBasicJobTicketPackage class. | #### Methods | Method | Description | | --- | --- | | getJobs() | Gets the jobs. | | setJobs(XmpJob[] value) | Sets the jobs. | ##### XmpBasicJobTicketPackage() ``` public XmpBasicJobTicketPackage() ``` Initializes a new instance of the XmpBasicJobTicketPackage class. ##### getJobs() ``` public final XmpJob[] getJobs() ``` Gets the jobs. **Returns:** com.groupdocs.metadata.core.XmpJob[] - The jobs. ##### setJobs(XmpJob[] value) ``` public final void setJobs(XmpJob[] value) ``` Sets the jobs. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpJob\[\] | The jobs. | ### XmpBasicPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpbasicpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpBasicPackage extends XmpPackage ``` Represents the XMP basic namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpBasicPackage() | Initializes a new instance of the XmpBasicPackage class. | #### Fields | Field | Description | | --- | --- | | RatingRejected | Rating rejected value. | | RatingMin | Rating min value. | | RatingMax | Rating max value. | #### Methods | Method | Description | | --- | --- | | getBaseUrl() | Gets the base URL for relative URLs in the document content. | | setBaseUrl(String value) | Sets the base URL for relative URLs in the document content. | | getCreateDate() | Gets the date and time the resource was created. | | setCreateDate(Date value) | Sets the date and time the resource was created. | | getCreatorTool() | Gets the name of the tool used to create the resource. | | setCreatorTool(String value) | Sets the name of the tool used to create the resource. | | getIdentifiers() | Gets an unordered array of text strings that unambiguously identify the resource within a given context. | | setIdentifiers(String[] value) | Sets an unordered array of text strings that unambiguously identify the resource within a given context. | | getLabel() | Gets a word or short phrase that identifies the resource as a member of a user-defined collection. | | setLabel(String value) | Sets a word or short phrase that identifies the resource as a member of a user-defined collection. | | getMetadataDate() | Gets the date and time that any metadata for this resource was last changed. | | setMetadataDate(Date value) | Sets the date and time that any metadata for this resource was last changed. | | getModifyDate() | Gets the date and time the resource was last modified. | | setModifyDate(Date value) | Sets the date and time the resource was last modified. | | getNickname() | Gets a short informal name for the resource. | | setNickname(String value) | Sets a short informal name for the resource. | | getRating() | Gets a user-assigned rating for this file. | | setRating(double value) | Sets a user-assigned rating for this file. | | getThumbnails() | Gets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. | | setThumbnails(XmpThumbnail[] value) | Sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. | | set(String name, String value) | Adds string property. | ##### XmpBasicPackage() ``` public XmpBasicPackage() ``` Initializes a new instance of the XmpBasicPackage class. ##### RatingRejected ``` public static final float RatingRejected ``` Rating rejected value. ##### RatingMin ``` public static final float RatingMin ``` Rating min value. ##### RatingMax ``` public static final float RatingMax ``` Rating max value. ##### getBaseUrl() ``` public final String getBaseUrl() ``` Gets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. **Returns:** java.lang.String - The base URL. ##### setBaseUrl(String value) ``` public final void setBaseUrl(String value) ``` Sets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The base URL. | ##### getCreateDate() ``` public final Date getCreateDate() ``` Gets the date and time the resource was created. **Returns:** java.util.Date - The resource creation date. ##### setCreateDate(Date value) ``` public final void setCreateDate(Date value) ``` Sets the date and time the resource was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The resource creation date. | ##### getCreatorTool() ``` public final String getCreatorTool() ``` Gets the name of the tool used to create the resource. **Returns:** java.lang.String - The name of the tool used to create the resource. ##### setCreatorTool(String value) ``` public final void setCreatorTool(String value) ``` Sets the name of the tool used to create the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the tool used to create the resource. | ##### getIdentifiers() ``` public final String[] getIdentifiers() ``` Gets an unordered array of text strings that unambiguously identify the resource within a given context. **Returns:** java.lang.String[] - An array of the identifiers. ##### setIdentifiers(String[] value) ``` public final void setIdentifiers(String[] value) ``` Sets an unordered array of text strings that unambiguously identify the resource within a given context. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the identifiers. | ##### getLabel() ``` public final String getLabel() ``` Gets a word or short phrase that identifies the resource as a member of a user-defined collection. **Returns:** java.lang.String - The label of the resource. ##### setLabel(String value) ``` public final void setLabel(String value) ``` Sets a word or short phrase that identifies the resource as a member of a user-defined collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The label of the resource. | ##### getMetadataDate() ``` public final Date getMetadataDate() ``` Gets the date and time that any metadata for this resource was last changed. **Returns:** java.util.Date - The metadata date. ##### setMetadataDate(Date value) ``` public final void setMetadataDate(Date value) ``` Sets the date and time that any metadata for this resource was last changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The metadata date. | ##### getModifyDate() ``` public final Date getModifyDate() ``` Gets the date and time the resource was last modified. **Returns:** java.util.Date - The last modification date. ##### setModifyDate(Date value) ``` public final void setModifyDate(Date value) ``` Sets the date and time the resource was last modified. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last modification date. | ##### getNickname() ``` public final String getNickname() ``` Gets a short informal name for the resource. **Returns:** java.lang.String - The nickname. ##### setNickname(String value) ``` public final void setNickname(String value) ``` Sets a short informal name for the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The nickname. | ##### getRating() ``` public final double getRating() ``` Gets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates \\u201crejected\\u201d and 0 indicates \\u201cunrated\\u201d. **Returns:** double - The rating. ##### setRating(double value) ``` public final void setRating(double value) ``` Sets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates \\u201crejected\\u201d and 0 indicates \\u201cunrated\\u201d. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The rating. | ##### getThumbnails() ``` public final XmpThumbnail[] getThumbnails() ``` Gets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. **Returns:** com.groupdocs.metadata.core.XmpThumbnail[] - The thumbnails. ##### setThumbnails(XmpThumbnail[] value) ``` public final void setThumbnails(XmpThumbnail[] value) ``` Sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpThumbnail\[\] | The thumbnails. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Adds string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XmpBasic key. | | value | java.lang.String | String value. | ### XmpBoolean Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpboolean.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpBoolean extends XmpValueBase ``` Represents XMP Boolean basic type. #### Constructors | Constructor | Description | | --- | --- | | XmpBoolean(boolean value) | Initializes a new instance of the XmpBoolean class based on boolean value. | | XmpBoolean() | Initializes a new instance of the XmpBoolean class with default value. | | XmpBoolean(String value) | Initializes a new instance of the XmpBoolean class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpBoolean(boolean value) ``` public XmpBoolean(boolean value) ``` Initializes a new instance of the XmpBoolean class based on boolean value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | bool value. | ##### XmpBoolean() ``` public XmpBoolean() ``` Initializes a new instance of the XmpBoolean class with default value. ##### XmpBoolean(String value) ``` public XmpBoolean(String value) ``` Initializes a new instance of the XmpBoolean class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getValue() ``` public final boolean getValue() ``` Gets the value. **Returns:** boolean - Boolean value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - String contained XMP representation. ### XmpCameraRawPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcamerarawpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpCameraRawPackage extends XmpPackage ``` Represents Camera Raw schema. #### Constructors | Constructor | Description | | --- | --- | | XmpCameraRawPackage() | Initializes a new instance of the XmpCameraRawPackage class. | #### Methods | Method | Description | | --- | --- | | getAutoBrightness() | Gets the AutoBrightness value. | | setAutoBrightness(Boolean value) | Sets the AutoBrightness value. | | getAutoContrast() | Gets the AutoContrast value. | | setAutoContrast(Boolean value) | Sets the AutoContrast value. | | getAutoExposure() | Gets the AutoExposure value. | | setAutoExposure(Boolean value) | Sets the AutoExposure value. | | getAutoShadows() | Gets the AutoShadows value. | | setAutoShadows(Boolean value) | Sets the AutoShadows value. | | getBlueHue() | Gets the BlueHue value. | | setBlueHue(Integer value) | Sets the BlueHue value. | | getBlueSaturation() | Gets the BlueSaturation. | | setBlueSaturation(Integer value) | Sets the BlueSaturation. | | getBrightness() | Gets the Brightness value. | | setBrightness(Integer value) | Sets the Brightness value. | | getCameraProfile() | Gets the CameraProfile value. | | setCameraProfile(String value) | Sets the CameraProfile value. | | getChromaticAberrationB() | Gets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. | | setChromaticAberrationB(Integer value) | Sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. | | getChromaticAberrationR() | Gets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. | | setChromaticAberrationR(Integer value) | Sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. | | getColorNoiseReduction() | Gets the Color Noise Reduction setting. | | setColorNoiseReduction(Integer value) | Sets the Color Noise Reduction setting. | | getContrast() | Gets the Contrast setting. | | setContrast(Integer value) | Sets the Contrast setting. | | getCropTop() | Gets the CropTop setting. | | setCropTop(Double value) | Sets the CropTop setting. | | getCropLeft() | Gets the CropLeft setting. | | setCropLeft(Double value) | Sets the CropLeft setting. | | getCropBottom() | Gets the CropBottom setting. | | setCropBottom(Double value) | Sets the CropBottom setting. | | getCropRight() | Gets the CropRight setting. | | setCropRight(Double value) | Sets the CropRight setting. | | getCropAngle() | Gets the CropAngle setting. | | setCropAngle(Double value) | Sets the CropAngle setting. | | getCropWidth() | Gets the width of the resulting cropped image in CropUnits units. | | setCropWidth(Double value) | Sets the width of the resulting cropped image in CropUnits units. | | getCropHeight() | Gets the height of the resulting cropped image in CropUnits units. | | setCropHeight(Double value) | Sets the height of the resulting cropped image in CropUnits units. | | getCropUnits() | Gets units for CropWidth and CropHeight . | | setCropUnits(XmpCropUnit value) | Sets units for CropWidth and CropHeight . | | getExposure() | Gets the Exposure setting. | | setExposure(Double value) | Sets the Exposure setting. | | getGreenHue() | Gets the Green Hue setting. | | setGreenHue(Integer value) | Sets the Green Hue setting. | | getGreenSaturation() | Gets the Green Saturation setting. | | setGreenSaturation(Integer value) | Sets the Green Saturation setting. | | hasCrop() | Gets or sets the HasCrop value. | | setCrop(Boolean value) | Sets the HasCrop value. | | hasSettings() | Gets or sets HasSettings value. | | setSettings(Boolean value) | Sets HasSettings value. | | getLuminanceSmoothing() | Gets the LuminanceSmoothing setting. | | setLuminanceSmoothing(Integer value) | Sets the LuminanceSmoothing setting. | | getRawFileName() | Gets the file name for a raw file (not a complete path). | | setRawFileName(String value) | Sets the file name for a raw file (not a complete path). | | getRedHue() | Gets the Red Hue setting. | | setRedHue(Integer value) | Sets the Red Hue setting. | | getRedSaturation() | Gets the Red Saturation setting. | | setRedSaturation(Integer value) | Sets the Red Saturation setting. | | getSaturation() | Gets the Saturation setting. | | setSaturation(Integer value) | Sets the Saturation setting. | | getShadows() | Gets the Shadows setting. | | setShadows(Integer value) | Sets the Shadows setting. | | getShadowTint() | Gets the ShadowTint setting. | | setShadowTint(Integer value) | Sets the ShadowTint setting. | | getSharpness() | Gets the Sharpness setting. | | setSharpness(Integer value) | Sets the Sharpness setting. | | getTemperature() | Gets the Temperature setting. | | setTemperature(Integer value) | Sets the Temperature setting. | | getTint() | Gets the Tint setting. | | setTint(Integer value) | Sets the Tint setting. | | getVersion() | Gets the version of the Camera Raw plug-in. | | setVersion(String value) | Sets the version of the Camera Raw plug-in. | | getVignetteAmount() | Gets the Vignette Amount setting. | | setVignetteAmount(Integer value) | Sets the Vignette Amount setting. | | getVignetteMidpoint() | Gets the Vignetting Midpoint setting. | | setVignetteMidpoint(Integer value) | Sets the Vignetting Midpoint setting. | | getWhiteBalance() | Gets White Balance setting. | | set(String name, String value) | Adds string property. | | setWhiteBalance(XmpWhiteBalance whiteBalance) | Sets the white balance. | ##### XmpCameraRawPackage() ``` public XmpCameraRawPackage() ``` Initializes a new instance of the XmpCameraRawPackage class. ##### getAutoBrightness() ``` public final Boolean getAutoBrightness() ``` Gets the AutoBrightness value. When true, Brightness is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic brightness]; otherwise, false . ##### setAutoBrightness(Boolean value) ``` public final void setAutoBrightness(Boolean value) ``` Sets the AutoBrightness value. When true, Brightness is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic brightness]; otherwise, false . | ##### getAutoContrast() ``` public final Boolean getAutoContrast() ``` Gets the AutoContrast value. When true, "Contrast" is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic contrast]; otherwise, false . ##### setAutoContrast(Boolean value) ``` public final void setAutoContrast(Boolean value) ``` Sets the AutoContrast value. When true, "Contrast" is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic contrast]; otherwise, false . | ##### getAutoExposure() ``` public final Boolean getAutoExposure() ``` Gets the AutoExposure value. When true, "Exposure" is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic exposure]; otherwise, false . ##### setAutoExposure(Boolean value) ``` public final void setAutoExposure(Boolean value) ``` Sets the AutoExposure value. When true, "Exposure" is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic exposure]; otherwise, false . | ##### getAutoShadows() ``` public final Boolean getAutoShadows() ``` Gets the AutoShadows value. When true, "Shadows" is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic shadows]; otherwise, false . ##### setAutoShadows(Boolean value) ``` public final void setAutoShadows(Boolean value) ``` Sets the AutoShadows value. When true, "Shadows" is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic shadows]; otherwise, false . | ##### getBlueHue() ``` public final Integer getBlueHue() ``` Gets the BlueHue value. Null if undefined. **Returns:** java.lang.Integer - The blue hue. ##### setBlueHue(Integer value) ``` public final void setBlueHue(Integer value) ``` Sets the BlueHue value. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The blue hue. | ##### getBlueSaturation() ``` public final Integer getBlueSaturation() ``` Gets the BlueSaturation. Null if undefined. **Returns:** java.lang.Integer - The blue saturation. ##### setBlueSaturation(Integer value) ``` public final void setBlueSaturation(Integer value) ``` Sets the BlueSaturation. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The blue saturation. | ##### getBrightness() ``` public final Integer getBrightness() ``` Gets the Brightness value. Null if undefined. **Returns:** java.lang.Integer - The brightness. ##### setBrightness(Integer value) ``` public final void setBrightness(Integer value) ``` Sets the Brightness value. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The brightness. | ##### getCameraProfile() ``` public final String getCameraProfile() ``` Gets the CameraProfile value. **Returns:** java.lang.String - The camera profile. ##### setCameraProfile(String value) ``` public final void setCameraProfile(String value) ``` Sets the CameraProfile value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The camera profile. | ##### getChromaticAberrationB() ``` public final Integer getChromaticAberrationB() ``` Gets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. **Returns:** java.lang.Integer - The chromatic aberration B. ##### setChromaticAberrationB(Integer value) ``` public final void setChromaticAberrationB(Integer value) ``` Sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The chromatic aberration B. | ##### getChromaticAberrationR() ``` public final Integer getChromaticAberrationR() ``` Gets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. **Returns:** java.lang.Integer - The chromatic aberration R. ##### setChromaticAberrationR(Integer value) ``` public final void setChromaticAberrationR(Integer value) ``` Sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The chromatic aberration R. | ##### getColorNoiseReduction() ``` public final Integer getColorNoiseReduction() ``` Gets the Color Noise Reduction setting. Range 0 to 100. **Returns:** java.lang.Integer - The color noise reduction. ##### setColorNoiseReduction(Integer value) ``` public final void setColorNoiseReduction(Integer value) ``` Sets the Color Noise Reduction setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The color noise reduction. | ##### getContrast() ``` public final Integer getContrast() ``` Gets the Contrast setting. Range -50 to 100. **Returns:** java.lang.Integer - The contrast. ##### setContrast(Integer value) ``` public final void setContrast(Integer value) ``` Sets the Contrast setting. Range -50 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The contrast. | ##### getCropTop() ``` public final Double getCropTop() ``` Gets the CropTop setting. When HasCrop is true, top of the crop rectangle. **Returns:** java.lang.Double - The crop top. ##### setCropTop(Double value) ``` public final void setCropTop(Double value) ``` Sets the CropTop setting. When HasCrop is true, top of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop top. | ##### getCropLeft() ``` public final Double getCropLeft() ``` Gets the CropLeft setting. When HasCrop is true, left of the crop rectangle. **Returns:** java.lang.Double - The crop left. ##### setCropLeft(Double value) ``` public final void setCropLeft(Double value) ``` Sets the CropLeft setting. When HasCrop is true, left of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop left. | ##### getCropBottom() ``` public final Double getCropBottom() ``` Gets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. **Returns:** java.lang.Double - The crop bottom. ##### setCropBottom(Double value) ``` public final void setCropBottom(Double value) ``` Sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop bottom. | ##### getCropRight() ``` public final Double getCropRight() ``` Gets the CropRight setting. When HasCrop is true, right of the crop rectangle. **Returns:** java.lang.Double - The crop right. ##### setCropRight(Double value) ``` public final void setCropRight(Double value) ``` Sets the CropRight setting. When HasCrop is true, right of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop right. | ##### getCropAngle() ``` public final Double getCropAngle() ``` Gets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. **Returns:** java.lang.Double - The crop angle. ##### setCropAngle(Double value) ``` public final void setCropAngle(Double value) ``` Sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop angle. | ##### getCropWidth() ``` public final Double getCropWidth() ``` Gets the width of the resulting cropped image in CropUnits units. **Returns:** java.lang.Double - The width of the crop. ##### setCropWidth(Double value) ``` public final void setCropWidth(Double value) ``` Sets the width of the resulting cropped image in CropUnits units. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The width of the crop. | ##### getCropHeight() ``` public final Double getCropHeight() ``` Gets the height of the resulting cropped image in CropUnits units. **Returns:** java.lang.Double - The height of the crop. ##### setCropHeight(Double value) ``` public final void setCropHeight(Double value) ``` Sets the height of the resulting cropped image in CropUnits units. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The height of the crop. | ##### getCropUnits() ``` public final XmpCropUnit getCropUnits() ``` Gets units for CropWidth and CropHeight . **Returns:** XmpCropUnit - The crop units. ##### setCropUnits(XmpCropUnit value) ``` public final void setCropUnits(XmpCropUnit value) ``` Sets units for CropWidth and CropHeight . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpCropUnit | The crop units. | ##### getExposure() ``` public final Double getExposure() ``` Gets the Exposure setting. **Returns:** java.lang.Double - The exposure. ##### setExposure(Double value) ``` public final void setExposure(Double value) ``` Sets the Exposure setting. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The exposure. | ##### getGreenHue() ``` public final Integer getGreenHue() ``` Gets the Green Hue setting. Range -100 to 100. **Returns:** java.lang.Integer - The green hue. ##### setGreenHue(Integer value) ``` public final void setGreenHue(Integer value) ``` Sets the Green Hue setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The green hue. | ##### getGreenSaturation() ``` public final Integer getGreenSaturation() ``` Gets the Green Saturation setting. Range -100 to 100. **Returns:** java.lang.Integer - The green saturation. ##### setGreenSaturation(Integer value) ``` public final void setGreenSaturation(Integer value) ``` Sets the Green Saturation setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The green saturation. | ##### hasCrop() ``` public final Boolean hasCrop() ``` Gets or sets the HasCrop value. When true, the image has a cropping rectangle. **Returns:** java.lang.Boolean - true if the image has a cropping rectangle; otherwise, false . ##### setCrop(Boolean value) ``` public final void setCrop(Boolean value) ``` Sets the HasCrop value. When true, the image has a cropping rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the image has a cropping rectangle; otherwise, false . | ##### hasSettings() ``` public final Boolean hasSettings() ``` Gets or sets HasSettings value. When true, non-default camera raw settings. **Returns:** java.lang.Boolean - true if image has non-default camera raw settings; otherwise, false . ##### setSettings(Boolean value) ``` public final void setSettings(Boolean value) ``` Sets HasSettings value. When true, non-default camera raw settings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if image has non-default camera raw settings; otherwise, false . | ##### getLuminanceSmoothing() ``` public final Integer getLuminanceSmoothing() ``` Gets the LuminanceSmoothing setting. Range 0 to 100. **Returns:** java.lang.Integer - The luminance smoothing. ##### setLuminanceSmoothing(Integer value) ``` public final void setLuminanceSmoothing(Integer value) ``` Sets the LuminanceSmoothing setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The luminance smoothing. | ##### getRawFileName() ``` public final String getRawFileName() ``` Gets the file name for a raw file (not a complete path). **Returns:** java.lang.String - The name of the raw file. ##### setRawFileName(String value) ``` public final void setRawFileName(String value) ``` Sets the file name for a raw file (not a complete path). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the raw file. | ##### getRedHue() ``` public final Integer getRedHue() ``` Gets the Red Hue setting. Range -100 to 100. **Returns:** java.lang.Integer - The red hue. ##### setRedHue(Integer value) ``` public final void setRedHue(Integer value) ``` Sets the Red Hue setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The red hue. | ##### getRedSaturation() ``` public final Integer getRedSaturation() ``` Gets the Red Saturation setting. Range -100 to 100. **Returns:** java.lang.Integer - The red saturation. ##### setRedSaturation(Integer value) ``` public final void setRedSaturation(Integer value) ``` Sets the Red Saturation setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The red saturation. | ##### getSaturation() ``` public final Integer getSaturation() ``` Gets the Saturation setting. Range -100 to 100. **Returns:** java.lang.Integer - The saturation. ##### setSaturation(Integer value) ``` public final void setSaturation(Integer value) ``` Sets the Saturation setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The saturation. | ##### getShadows() ``` public final Integer getShadows() ``` Gets the Shadows setting. Range 0 to 100. **Returns:** java.lang.Integer - The shadows. ##### setShadows(Integer value) ``` public final void setShadows(Integer value) ``` Sets the Shadows setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The shadows. | ##### getShadowTint() ``` public final Integer getShadowTint() ``` Gets the ShadowTint setting. Range -100 to 100. **Returns:** java.lang.Integer - The shadow tint. ##### setShadowTint(Integer value) ``` public final void setShadowTint(Integer value) ``` Sets the ShadowTint setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The shadow tint. | ##### getSharpness() ``` public final Integer getSharpness() ``` Gets the Sharpness setting. Range 0 to 100. **Returns:** java.lang.Integer - The sharpness. ##### setSharpness(Integer value) ``` public final void setSharpness(Integer value) ``` Sets the Sharpness setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The sharpness. | ##### getTemperature() ``` public final Integer getTemperature() ``` Gets the Temperature setting. Range 2000 to 50000. **Returns:** java.lang.Integer - The temperature. ##### setTemperature(Integer value) ``` public final void setTemperature(Integer value) ``` Sets the Temperature setting. Range 2000 to 50000. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The temperature. | ##### getTint() ``` public final Integer getTint() ``` Gets the Tint setting. Range -150 to 150. **Returns:** java.lang.Integer - The tint. ##### setTint(Integer value) ``` public final void setTint(Integer value) ``` Sets the Tint setting. Range -150 to 150. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The tint. | ##### getVersion() ``` public final String getVersion() ``` Gets the version of the Camera Raw plug-in. **Returns:** java.lang.String - The version. ##### setVersion(String value) ``` public final void setVersion(String value) ``` Sets the version of the Camera Raw plug-in. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The version. | ##### getVignetteAmount() ``` public final Integer getVignetteAmount() ``` Gets the Vignette Amount setting. Range -100 to 100. **Returns:** java.lang.Integer - The vignette amount. ##### setVignetteAmount(Integer value) ``` public final void setVignetteAmount(Integer value) ``` Sets the Vignette Amount setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The vignette amount. | ##### getVignetteMidpoint() ``` public final Integer getVignetteMidpoint() ``` Gets the Vignetting Midpoint setting. Range 0 to 100. **Returns:** java.lang.Integer - The Vignette Midpoint. ##### setVignetteMidpoint(Integer value) ``` public final void setVignetteMidpoint(Integer value) ``` Sets the Vignetting Midpoint setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The Vignette Midpoint. | ##### getWhiteBalance() ``` public final String getWhiteBalance() ``` Gets White Balance setting. Use SetWhiteBalance to set white balance value. **Returns:** java.lang.String - The white balance. ##### set(String name, String value) ``` public void set(String name, String value) ``` Adds string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata key. | | value | java.lang.String | XMP metadata value. | ##### setWhiteBalance(XmpWhiteBalance whiteBalance) ``` public final void setWhiteBalance(XmpWhiteBalance whiteBalance) ``` Sets the white balance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteBalance | XmpWhiteBalance | The white balance. | ### XmpClosedChoice Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpclosedchoice.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public abstract class XmpClosedChoice implements System.IEquatable> ``` Represents XMP Closed Choice. T : Type of closed choice. #### Methods | Method | Description | | --- | --- | | hashCode() | Returns a hash code for this instance. | | equals(Object obj) | Indicates whether the current object is equal to another object of the same type. | | equals(XmpClosedChoice other) | Indicates whether the current object is equal to another object of the same type. | | toString() | Returns a String that represents this instance. | ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the obj parameter; otherwise, false. ##### equals(XmpClosedChoice other) ``` public final boolean equals(XmpClosedChoice other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | XmpClosedChoice | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false. ##### toString() ``` public String toString() ``` Returns a String that represents this instance. **Returns:** java.lang.String - A String that represents this instance. ### XmpColorantBase Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcolorantbase.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public class XmpColorantBase extends XmpComplexType ``` A structure containing the characteristics of a colorant (swatch) used in a document. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the colour space in which the colour is defined. | | getSwatchName() | Gets the name of the swatch. | | setSwatchName(String value) | Sets the name of the swatch. | | getColorType() | Gets the type of color. | | setColorType(XmpColorType value) | Sets the type of color. | ##### getMode() ``` public final XmpColorantColorMode getMode() ``` Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. **Returns:** XmpColorantColorMode - The color mode. ##### getSwatchName() ``` public final String getSwatchName() ``` Gets the name of the swatch. **Returns:** java.lang.String - The name of the swatch. ##### setSwatchName(String value) ``` public final void setSwatchName(String value) ``` Sets the name of the swatch. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the swatch. | ##### getColorType() ``` public final XmpColorType getColorType() ``` Gets the type of color. **Returns:** XmpColorType - The color type. ##### setColorType(XmpColorType value) ``` public final void setColorType(XmpColorType value) ``` Sets the type of color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpColorType | The color type. | ### XmpColorantCmyk Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcolorantcmyk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase ``` public final class XmpColorantCmyk extends XmpColorantBase ``` Represents the CMYK Colorant. #### Constructors | Constructor | Description | | --- | --- | | XmpColorantCmyk() | Initializes a new instance of the XmpColorantCmyk class. | | XmpColorantCmyk(double cyan, double magenta, double yellow, double black) | Initializes a new instance of the XmpColorantCmyk class. | #### Fields | Field | Description | | --- | --- | | ColorValueMax | Color max value in CMYK colorant. | | ColorValueMin | Color min value in CMYK colorant. | #### Methods | Method | Description | | --- | --- | | getBlack() | Gets the black component. | | setBlack(Double value) | Sets the black component. | | getCyan() | Gets the cyan component. | | setCyan(Double value) | Sets the cyan component. | | getMagenta() | Gets the magenta component. | | setMagenta(Double value) | Sets the magenta component. | | getYellow() | Gets the yellow component. | | setYellow(Double value) | Sets the yellow component. | ##### XmpColorantCmyk() ``` public XmpColorantCmyk() ``` Initializes a new instance of the XmpColorantCmyk class. ##### XmpColorantCmyk(double cyan, double magenta, double yellow, double black) ``` public XmpColorantCmyk(double cyan, double magenta, double yellow, double black) ``` Initializes a new instance of the XmpColorantCmyk class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cyan | double | Cyan component. | | magenta | double | Magenta component. | | yellow | double | Yellow component. | | black | double | Black component. | ##### ColorValueMax ``` public static final double ColorValueMax ``` Color max value in CMYK colorant. ##### ColorValueMin ``` public static final double ColorValueMin ``` Color min value in CMYK colorant. ##### getBlack() ``` public final Double getBlack() ``` Gets the black component. **Returns:** java.lang.Double - The black value. ##### setBlack(Double value) ``` public final void setBlack(Double value) ``` Sets the black component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The black value. | ##### getCyan() ``` public final Double getCyan() ``` Gets the cyan component. **Returns:** java.lang.Double - The cyan value. ##### setCyan(Double value) ``` public final void setCyan(Double value) ``` Sets the cyan component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The cyan value. | ##### getMagenta() ``` public final Double getMagenta() ``` Gets the magenta component. **Returns:** java.lang.Double - The magenta value. ##### setMagenta(Double value) ``` public final void setMagenta(Double value) ``` Sets the magenta component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The magenta value. | ##### getYellow() ``` public final Double getYellow() ``` Gets the yellow component. **Returns:** java.lang.Double - The yellow value. ##### setYellow(Double value) ``` public final void setYellow(Double value) ``` Sets the yellow component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The yellow value. | ### XmpColorantColorMode Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcolorantcolormode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpColorantColorMode extends Enum implements IEnumValue ``` Represents color mode in XmpColorantBase . #### Fields | Field | Description | | --- | --- | | Undefined | The color mode is undefined. | | Cmyk | CMYK color mode. | | Rgb | RGB color mode. | | Lab | LAB color mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final XmpColorantColorMode Undefined ``` The color mode is undefined. ##### Cmyk ``` public static final XmpColorantColorMode Cmyk ``` CMYK color mode. ##### Rgb ``` public static final XmpColorantColorMode Rgb ``` RGB color mode. ##### Lab ``` public static final XmpColorantColorMode Lab ``` LAB color mode. ##### values() ``` public static XmpColorantColorMode[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpColorantColorMode[] ##### valueOf(String name) ``` public static XmpColorantColorMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpColorantColorMode ##### getByRawValue(int rawValue) ``` public static XmpColorantColorMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpColorantColorMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpColorantLab Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcolorantlab.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase ``` public final class XmpColorantLab extends XmpColorantBase ``` Represents the LAB Colorant. #### Constructors | Constructor | Description | | --- | --- | | XmpColorantLab() | Initializes a new instance of the XmpColorantLab class. | | XmpColorantLab(byte a, byte b, double l) | Initializes a new instance of the XmpColorantLab class. | #### Fields | Field | Description | | --- | --- | | MinL | Component L min value. | | MaxL | Component L max value. | #### Methods | Method | Description | | --- | --- | | getA() | Gets the A component. | | setA(Byte value) | Sets the A component. | | getB() | Gets the B component. | | setB(Byte value) | Sets the B component. | | getL() | Gets the L component. | | setL(Double value) | Sets the L component. | ##### XmpColorantLab() ``` public XmpColorantLab() ``` Initializes a new instance of the XmpColorantLab class. ##### XmpColorantLab(byte a, byte b, double l) ``` public XmpColorantLab(byte a, byte b, double l) ``` Initializes a new instance of the XmpColorantLab class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | a | byte | A component. | | b | byte | B component. | | l | double | L component. | ##### MinL ``` public static final double MinL ``` Component L min value. ##### MaxL ``` public static final double MaxL ``` Component L max value. ##### getA() ``` public final Byte getA() ``` Gets the A component. **Returns:** java.lang.Byte - The A component. ##### setA(Byte value) ``` public final void setA(Byte value) ``` Sets the A component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | The A component. | ##### getB() ``` public final Byte getB() ``` Gets the B component. **Returns:** java.lang.Byte - The B component. ##### setB(Byte value) ``` public final void setB(Byte value) ``` Sets the B component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | The B component. | ##### getL() ``` public final Double getL() ``` Gets the L component. **Returns:** java.lang.Double - The L component. ##### setL(Double value) ``` public final void setL(Double value) ``` Sets the L component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The L component. | ### XmpColorantRgb Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcolorantrgb.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase ``` public final class XmpColorantRgb extends XmpColorantBase ``` Represents the RGB Colorant. #### Constructors | Constructor | Description | | --- | --- | | XmpColorantRgb() | Initializes a new instance of the XmpColorantRgb class. | | XmpColorantRgb(int red, int green, int blue) | Initializes a new instance of the XmpColorantRgb class. | #### Methods | Method | Description | | --- | --- | | getRed() | Gets the red component. | | setRed(Integer value) | Sets the red component. | | getGreen() | Gets the green value. | | setGreen(Integer value) | Sets the green value. | | getBlue() | Gets the blue component. | | setBlue(Integer value) | Sets the blue component. | ##### XmpColorantRgb() ``` public XmpColorantRgb() ``` Initializes a new instance of the XmpColorantRgb class. ##### XmpColorantRgb(int red, int green, int blue) ``` public XmpColorantRgb(int red, int green, int blue) ``` Initializes a new instance of the XmpColorantRgb class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | red | int | Red component. | | green | int | Green component. | | blue | int | Blue component. | ##### getRed() ``` public final Integer getRed() ``` Gets the red component. **Returns:** java.lang.Integer - The red component. ##### setRed(Integer value) ``` public final void setRed(Integer value) ``` Sets the red component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The red component. | ##### getGreen() ``` public final Integer getGreen() ``` Gets the green value. **Returns:** java.lang.Integer - The green component. ##### setGreen(Integer value) ``` public final void setGreen(Integer value) ``` Sets the green value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The green component. | ##### getBlue() ``` public final Integer getBlue() ``` Gets the blue component. **Returns:** java.lang.Integer - The blue component. ##### setBlue(Integer value) ``` public final void setBlue(Integer value) ``` Sets the blue component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The blue component. | ### XmpColorType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcolortype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpColorType extends Enum implements IEnumValue ``` Type of color in XmpColorantBase . #### Fields | Field | Description | | --- | --- | | Process | The Process color type. | | Spot | The Spot color type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Process ``` public static final XmpColorType Process ``` The Process color type. ##### Spot ``` public static final XmpColorType Spot ``` The Spot color type. ##### values() ``` public static XmpColorType[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpColorType[] ##### valueOf(String name) ``` public static XmpColorType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpColorType ##### getByRawValue(int rawValue) ``` public static XmpColorType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpColorType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpComplexType Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcomplextype.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer ``` public class XmpComplexType extends XmpMetadataContainer ``` Represents base abstraction for XMP Complex value type. See more: XMP Specification Part 2, Chapter 1.2.2 #### Methods | Method | Description | | --- | --- | | getPrefixes() | Gets the namespace prefixes that are used in the XmpComplexType instance. | | getNamespaceUris() | Gets the namespace URIs that are used in the XmpComplexType instance. | | getXmpRepresentation() | Returns string contained value in XMP format. | | toString() | Returns a String that represents this instance. | | getNamespaceUri(String prefix) | Gets the namespace URI associated with the specified prefix. | ##### getPrefixes() ``` public final String[] getPrefixes() ``` Gets the namespace prefixes that are used in the XmpComplexType instance. **Returns:** java.lang.String[] - The namespace prefixes. ##### getNamespaceUris() ``` public final String[] getNamespaceUris() ``` Gets the namespace URIs that are used in the XmpComplexType instance. **Returns:** java.lang.String[] - The namespace URIs. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ##### toString() ``` public String toString() ``` Returns a String that represents this instance. **Returns:** java.lang.String - A String that represents this instance. ##### getNamespaceUri(String prefix) ``` public final String getNamespaceUri(String prefix) ``` Gets the namespace URI associated with the specified prefix. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | prefix | java.lang.String | The prefix of the namespace to get. | **Returns:** java.lang.String - The associated namespace URI if the prefix is registered; otherwise, null. ### XmpComplexTypeValue Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcomplextypevalue.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public class XmpComplexTypeValue extends XmpValueBase ``` Represents an XMP value containing a complex type instance. #### Methods | Method | Description | | --- | --- | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpCropUnit Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpcropunit.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpCropUnit extends Enum implements IEnumValue ``` Represent a unit for CropWidth and CropHeight in XmpCameraRawPackage . #### Fields | Field | Description | | --- | --- | | Pixels | Pixels units. | | Inches | Inches units. | | Cm | Centimeters units. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Pixels ``` public static final XmpCropUnit Pixels ``` Pixels units. ##### Inches ``` public static final XmpCropUnit Inches ``` Inches units. ##### Cm ``` public static final XmpCropUnit Cm ``` Centimeters units. ##### values() ``` public static XmpCropUnit[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpCropUnit[] ##### valueOf(String name) ``` public static XmpCropUnit valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpCropUnit ##### getByRawValue(int rawValue) ``` public static XmpCropUnit getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpCropUnit ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpDate Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpdate.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpDate extends XmpValueBase ``` Represents Date in XMP packet. A date-time value is represented using a subset of the formats as defined in Date and Time Formats: YYYY YYYY-MM YYYY-MM-DD YYYY-MM-DDThh:mmTZD YYYY-MM-DDThh:mm:ssTZD YYYY-MM-DDThh:mm:ss.sTZD #### Constructors | Constructor | Description | | --- | --- | | XmpDate(Date dateTime) | Initializes a new instance of the XmpDate class. | | XmpDate(String dateString) | Initializes a new instance of the XmpDate class. | #### Fields | Field | Description | | --- | --- | | Iso8601Format | The ISO 8601 (roundtrip) format string. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getFormat() | Gets format string for current value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpDate(Date dateTime) ``` public XmpDate(Date dateTime) ``` Initializes a new instance of the XmpDate class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dateTime | java.util.Date | DateTime value. | ##### XmpDate(String dateString) ``` public XmpDate(String dateString) ``` Initializes a new instance of the XmpDate class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dateString | java.lang.String | Date in string representation. | ##### Iso8601Format ``` public static final String Iso8601Format ``` The ISO 8601 (roundtrip) format string. See more: https://en.wikipedia.org/wiki/ISO\_8601. ##### getValue() ``` public final Date getValue() ``` Gets the value. **Returns:** java.util.Date - DateTime value. ##### getFormat() ``` public final String getFormat() ``` Gets format string for current value. **Returns:** java.lang.String - XMP date format string. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpDimensions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpdimensions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpDimensions extends XmpComplexType ``` Containing dimensions for a drawn object. #### Constructors | Constructor | Description | | --- | --- | | XmpDimensions() | Initializes a new instance of the XmpDimensions class. | | XmpDimensions(double width, double height) | Initializes a new instance of the XmpDimensions class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width. | | setWidth(Double value) | Sets the width. | | getHeight() | Gets the height. | | setHeight(Double value) | Sets the height. | | getUnits() | Gets the units. | | setUnits(String value) | Sets the units. | ##### XmpDimensions() ``` public XmpDimensions() ``` Initializes a new instance of the XmpDimensions class. ##### XmpDimensions(double width, double height) ``` public XmpDimensions(double width, double height) ``` Initializes a new instance of the XmpDimensions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | double | The width. | | height | double | The height. | ##### getWidth() ``` public final Double getWidth() ``` Gets the width. **Returns:** java.lang.Double - The width. ##### setWidth(Double value) ``` public final void setWidth(Double value) ``` Sets the width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The width. | ##### getHeight() ``` public final Double getHeight() ``` Gets the height. **Returns:** java.lang.Double - The height. ##### setHeight(Double value) ``` public final void setHeight(Double value) ``` Sets the height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The height. | ##### getUnits() ``` public final String getUnits() ``` Gets the units. **Returns:** java.lang.String - The units. ##### setUnits(String value) ``` public final void setUnits(String value) ``` Sets the units. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The units. | ### XmpDublinCorePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpdublincorepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpDublinCorePackage extends XmpPackage ``` Represents the Dublin Core scheme. For more information see: http://dublincore.org/documents/usageguide/elements.shtml. #### Constructors | Constructor | Description | | --- | --- | | XmpDublinCorePackage() | Initializes a new instance of the XmpDublinCorePackage class. | #### Methods | Method | Description | | --- | --- | | getContributors() | Gets an array of the contributors. | | setContributors(String[] value) | Sets an array of the contributors. | | getCoverage() | Gets the extent or scope of the resource. | | setCoverage(String value) | Sets the extent or scope of the resource. | | getCreators() | Gets an array of the creators. | | setCreators(String[] value) | Sets an array of the creators. | | getDates() | Gets an array of dates associated with an event in the life cycle of the resource. | | setDates(Date[] value) | Sets an array of dates associated with an event in the life cycle of the resource. | | getDescriptions() | Gets an array of textual descriptions of the content of the resource, given in various languages. | | setDescriptions(XmpLangAlt value) | Sets an array of textual descriptions of the content of the resource, given in various languages. | | getFormat() | Gets the MIME type of the resource. | | setFormat(String value) | Sets the MIME type of the resource. | | getIdentifier() | Gets a string value representing an unambiguous reference to the resource within a given context. | | setIdentifier(String value) | Sets a string value representing an unambiguous reference to the resource within a given context. | | getLanguages() | Gets an array of languages used in the content of the resource. | | setLanguages(String[] value) | Sets an array of languages used in the content of the resource. | | getPublishers() | Gets an array of publishers made the resource available. | | setPublishers(String[] value) | Sets an array of publishers made the resource available. | | getRelations() | Gets an array of the related resources. | | setRelations(String[] value) | Sets an array of the related resources. | | getRights() | Gets an array of the informal rights statements, given in various languages. | | setRights(XmpLangAlt value) | Sets an array of the informal rights statements, given in various languages. | | getSource() | Gets the related resource from which the described resource is derived. | | setSource(String value) | Sets the related resource from which the described resource is derived. | | getSubjects() | Gets an array of descriptive phrases or keywords that specify the content of the resource. | | setSubjects(String[] value) | Sets an array of descriptive phrases or keywords that specify the content of the resource. | | getTitles() | Gets the title or name of the resource, given in various languages. | | setTitles(XmpLangAlt value) | Sets the title or name of the resource, given in various languages. | | getTypes() | Gets an array of string values representing the nature or genre of the resource. | | setTypes(String[] value) | Sets an array of string values representing the nature or genre of the resource. | | setContributor(String contributor) | Sets a single contributor of the resource. | | setCreator(String creator) | Sets a single creator of the resource. | | setDate(Date date) | Sets a single date associated with the resource. | | setDescription(String description) | Sets the resource description, given in a single laguage. | | setLanguage(String language) | Sets a single language associated with the resource. | | setPublisher(String publisher) | Sets a single publisher of the resource. | | setRelation(String relation) | Sets a single related resource. | | setRights(String rights) | Sets the resource rights, given in a single laguage. | | setSubject(String subject) | Sets a single subject of the resource. | | setTitle(String title) | Sets the resource title, given in a single laguage. | | setType(String type) | Sets a single type of the resource. | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | ##### XmpDublinCorePackage() ``` public XmpDublinCorePackage() ``` Initializes a new instance of the XmpDublinCorePackage class. ##### getContributors() ``` public final String[] getContributors() ``` Gets an array of the contributors. **Returns:** java.lang.String[] - An array of the contributors. These contributors should not include those listed in dc:creator. ##### setContributors(String[] value) ``` public final void setContributors(String[] value) ``` Sets an array of the contributors. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the contributors. These contributors should not include those listed in dc:creator. | ##### getCoverage() ``` public final String getCoverage() ``` Gets the extent or scope of the resource. **Returns:** java.lang.String - The extent or scope of the resource. ##### setCoverage(String value) ``` public final void setCoverage(String value) ``` Sets the extent or scope of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The extent or scope of the resource. | ##### getCreators() ``` public final String[] getCreators() ``` Gets an array of the creators. **Returns:** java.lang.String[] - An array of the creators. Entities should be listed in order of decreasing precedence, if such order is significant. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity. ##### setCreators(String[] value) ``` public final void setCreators(String[] value) ``` Sets an array of the creators. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the creators. Entities should be listed in order of decreasing precedence, if such order is significant. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity. | ##### getDates() ``` public final Date[] getDates() ``` Gets an array of dates associated with an event in the life cycle of the resource. **Returns:** java.util.Date[] - A point or period of time associated with an event in the life cycle of the resource. ##### setDates(Date[] value) ``` public final void setDates(Date[] value) ``` Sets an array of dates associated with an event in the life cycle of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date[] | A point or period of time associated with an event in the life cycle of the resource. | ##### getDescriptions() ``` public final XmpLangAlt getDescriptions() ``` Gets an array of textual descriptions of the content of the resource, given in various languages. **Returns:** XmpLangAlt - An array of textual descriptions of the content of the resource, given in various languages. ##### setDescriptions(XmpLangAlt value) ``` public final void setDescriptions(XmpLangAlt value) ``` Sets an array of textual descriptions of the content of the resource, given in various languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | An array of textual descriptions of the content of the resource, given in various languages. | ##### getFormat() ``` public final String getFormat() ``` Gets the MIME type of the resource. **Returns:** java.lang.String - The MIME type of the resource. ##### setFormat(String value) ``` public final void setFormat(String value) ``` Sets the MIME type of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The MIME type of the resource. | ##### getIdentifier() ``` public final String getIdentifier() ``` Gets a string value representing an unambiguous reference to the resource within a given context. **Returns:** java.lang.String - A string value representing an unambiguous reference to the resource within a given context. Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. ##### setIdentifier(String value) ``` public final void setIdentifier(String value) ``` Sets a string value representing an unambiguous reference to the resource within a given context. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A string value representing an unambiguous reference to the resource within a given context. Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. | ##### getLanguages() ``` public final String[] getLanguages() ``` Gets an array of languages used in the content of the resource. **Returns:** java.lang.String[] - An array of languages used in the content of the resource. ##### setLanguages(String[] value) ``` public final void setLanguages(String[] value) ``` Sets an array of languages used in the content of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of languages used in the content of the resource. | ##### getPublishers() ``` public final String[] getPublishers() ``` Gets an array of publishers made the resource available. **Returns:** java.lang.String[] - An array of publishers made the resource available. Examples of a publisher include a person, an organization, or a service. Typically, the name of a publisher should be used to indicate the entity. ##### setPublishers(String[] value) ``` public final void setPublishers(String[] value) ``` Sets an array of publishers made the resource available. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of publishers made the resource available. Examples of a publisher include a person, an organization, or a service. Typically, the name of a publisher should be used to indicate the entity. | ##### getRelations() ``` public final String[] getRelations() ``` Gets an array of the related resources. **Returns:** java.lang.String[] - An array of the related resources. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ##### setRelations(String[] value) ``` public final void setRelations(String[] value) ``` Sets an array of the related resources. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the related resources. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. | ##### getRights() ``` public final XmpLangAlt getRights() ``` Gets an array of the informal rights statements, given in various languages. **Returns:** XmpLangAlt - An array of the informal rights statements, given in various languages. Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. ##### setRights(XmpLangAlt value) ``` public final void setRights(XmpLangAlt value) ``` Sets an array of the informal rights statements, given in various languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | An array of the informal rights statements, given in various languages. Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. | ##### getSource() ``` public final String getSource() ``` Gets the related resource from which the described resource is derived. **Returns:** java.lang.String - The related resource from which the described resource is derived. The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ##### setSource(String value) ``` public final void setSource(String value) ``` Sets the related resource from which the described resource is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The related resource from which the described resource is derived. The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. | ##### getSubjects() ``` public final String[] getSubjects() ``` Gets an array of descriptive phrases or keywords that specify the content of the resource. **Returns:** java.lang.String[] - An array of descriptive phrases or keywords that specify the content of the resource. ##### setSubjects(String[] value) ``` public final void setSubjects(String[] value) ``` Sets an array of descriptive phrases or keywords that specify the content of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of descriptive phrases or keywords that specify the content of the resource. | ##### getTitles() ``` public final XmpLangAlt getTitles() ``` Gets the title or name of the resource, given in various languages. **Returns:** XmpLangAlt - The title or name of the resource, given in various languages. ##### setTitles(XmpLangAlt value) ``` public final void setTitles(XmpLangAlt value) ``` Sets the title or name of the resource, given in various languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | The title or name of the resource, given in various languages. | ##### getTypes() ``` public final String[] getTypes() ``` Gets an array of string values representing the nature or genre of the resource. **Returns:** java.lang.String[] - An array of string values representing the nature or genre of the resource. ##### setTypes(String[] value) ``` public final void setTypes(String[] value) ``` Sets an array of string values representing the nature or genre of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of string values representing the nature or genre of the resource. | ##### setContributor(String contributor) ``` public final void setContributor(String contributor) ``` Sets a single contributor of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contributor | java.lang.String | The contributor to set. | ##### setCreator(String creator) ``` public final void setCreator(String creator) ``` Sets a single creator of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | creator | java.lang.String | The creator to set. | ##### setDate(Date date) ``` public final void setDate(Date date) ``` Sets a single date associated with the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | date | java.util.Date | The date to set. | ##### setDescription(String description) ``` public final void setDescription(String description) ``` Sets the resource description, given in a single laguage. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | description | java.lang.String | The description to set. | ##### setLanguage(String language) ``` public final void setLanguage(String language) ``` Sets a single language associated with the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | language | java.lang.String | The language to set. | ##### setPublisher(String publisher) ``` public final void setPublisher(String publisher) ``` Sets a single publisher of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publisher | java.lang.String | The publisher to set. | ##### setRelation(String relation) ``` public final void setRelation(String relation) ``` Sets a single related resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | java.lang.String | The relation to set. | ##### setRights(String rights) ``` public final void setRights(String rights) ``` Sets the resource rights, given in a single laguage. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rights | java.lang.String | The rights statements to set. | ##### setSubject(String subject) ``` public final void setSubject(String subject) ``` Sets a single subject of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | subject | java.lang.String | The subject to set. | ##### setTitle(String title) ``` public final void setTitle(String title) ``` Sets the resource title, given in a single laguage. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | title | java.lang.String | The title to set. | ##### setType(String type) ``` public final void setType(String type) ``` Sets a single type of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.String | The type to set. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpDynamicMediaPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpdynamicmediapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpDynamicMediaPackage extends XmpPackage ``` Represents XMP Dynamic Media namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpDynamicMediaPackage() | Initializes a new instance of the XmpDynamicMediaPackage class. | #### Methods | Method | Description | | --- | --- | | getAbsPeakAudioFilePath() | Gets the absolute path to the file\\u2019s peak audio file. | | setAbsPeakAudioFilePath(String value) | Sets the absolute path to the file\\u2019s peak audio file. | | getAlbum() | Gets the name of the album. | | setAlbum(String value) | Sets the name of the album. | | getAltTapeName() | Gets the alternative tape name, set via the project window or timecode dialog in Premiere. | | setAltTapeName(String value) | Sets the alternative tape name, set via the project window or timecode dialog in Premiere. | | getAltTimecode() | Gets the timecode set by the user. | | setAltTimecode(XmpTimecode value) | Sets the timecode set by the user. | | getArtist() | Gets the name of the artist or artists. | | setArtist(String value) | Sets the name of the artist or artists. | | getAudioChannelType() | Gets the audio channel type. | | setAudioChannelType(String value) | Sets the audio channel type. | | getAudioCompressor() | Gets the audio compression used. | | setAudioCompressor(String value) | Sets the audio compression used. | | getAudioSampleRate() | Gets the audio sample rate. | | setAudioSampleRate(Integer value) | Sets the audio sample rate. | | getAudioSampleType() | Gets the audio sample type. | | setAudioSampleType(String value) | Sets the audio sample type. | | getCameraAngle() | Gets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. | | setCameraAngle(String value) | Sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. | | getCameraLabel() | Gets the description of the camera used for a shoot. | | setCameraLabel(String value) | Sets the description of the camera used for a shoot. | | getCameraModel() | Gets the make and model of the camera used for a shoot. | | setCameraModel(String value) | Sets the make and model of the camera used for a shoot. | | getCameraMove() | Gets the movement of the camera during the shot, from a fixed set of industry standard terminology. | | setCameraMove(String value) | Sets the movement of the camera during the shot, from a fixed set of industry standard terminology. | | getClient() | Gets the client for the job of which this shot or take is a part. | | setClient(String value) | Sets the client for the job of which this shot or take is a part. | | getComment() | Gets the user\\u2019s comments. | | setComment(String value) | Sets the user\\u2019s comments. | | getComposer() | Gets the composer\\u2019s names. | | setComposer(String value) | Sets the composer\\u2019s names. | | getDirector() | Gets the director of the scene. | | setDirector(String value) | Sets the director of the scene. | | getDirectorPhotography() | Gets the director of photography for the scene. | | setDirectorPhotography(String value) | Sets the director of photography for the scene. | | getDuration() | Gets the duration of the media file. | | setDuration(XmpTime value) | Sets the duration of the media file. | | getEngineer() | Gets the engineer's names. | | setEngineer(String value) | Sets the engineer's names. | | getFileDataRate() | Gets the file data rate in megabytes per second. | | setFileDataRate(XmpRational value) | Sets the file data rate in megabytes per second. | | getGenre() | Gets the name of the genres. | | setGenre(String value) | Sets the name of the genres. | | getGood() | Gets a value indicating whether the shot is a keeper. | | setGood(Boolean value) | Sets a value indicating whether the shot is a keeper. | | getInstrument() | Gets the musical instruments. | | setInstrument(String value) | Sets the musical instruments. | | getIntroTime() | Gets the duration of lead time for queuing music. | | setIntroTime(XmpTime value) | Sets the duration of lead time for queuing music. | | getKey() | Gets the audio\\u2019s musical key. | | setKey(String value) | Sets the audio\\u2019s musical key. | | getLogComment() | Gets the user\\u2019s log comments. | | setLogComment(String value) | Sets the user\\u2019s log comments. | | getLoop() | Gets a value indicating whether the clip can be looped seamlessly. | | setLoop(Boolean value) | Sets a value indicating whether the clip can be looped seamlessly. | | getNumberOfBeats() | Gets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | | setNumberOfBeats(Double value) | Sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | | getOutCue() | Gets the time at which to fade out. | | setOutCue(XmpTime value) | Sets the time at which to fade out. | | getProjectName() | Gets the name of the project of which this file is a part. | | setProjectName(String value) | Sets the name of the project of which this file is a part. | | getRelativeTimestamp() | Gets the start time of the media inside the audio project. | | setRelativeTimestamp(XmpTime value) | Sets the start time of the media inside the audio project. | | getReleaseDate() | Gets the date the title was released. | | setReleaseDate(Date value) | Sets the date the title was released. | | getShotDate() | Gets the date and time when the video was shot. | | setShotDate(Date value) | Sets the date and time when the video was shot. | | getStartTimecode() | Gets the timecode of the first frame of video in the file, as obtained from the device control. | | setStartTimecode(XmpTimecode value) | Sets the timecode of the first frame of video in the file, as obtained from the device control. | | getTakeNumber() | Gets a numeric value indicating the absolute number of a take. | | setTakeNumber(Integer value) | Sets a numeric value indicating the absolute number of a take. | | getTempo() | Gets the audio\\u2019s tempo. | | setTempo(Double value) | Sets the audio\\u2019s tempo. | | getTrackNumber() | Gets a numeric value indicating the order of the audio file within its original recording. | | setTrackNumber(Integer value) | Sets a numeric value indicating the order of the audio file within its original recording. | | getVideoAlphaPremultipleColor() | Gets the timecode of the first frame of video in the file, as obtained from the device control. | | setVideoAlphaPremultipleColor(XmpColorantBase value) | Sets the timecode of the first frame of video in the file, as obtained from the device control. | | getVideoAlphaUnityIsTransparent() | Gets a value indicating whether the unity is clear. | | setVideoAlphaUnityIsTransparent(Boolean value) | Sets a value indicating whether the unity is clear. | | getVideoFrameRate() | Gets the video frame rate. | | setVideoFrameRate(Double value) | Sets the video frame rate. | | getVideoFrameSize() | Gets the frame size. | | setVideoFrameSize(XmpDimensions value) | Sets the frame size. | | getVideoPixelAspectRatio() | Gets the aspect ratio, expressed as wd/ht. | | setVideoPixelAspectRatio(XmpRational value) | Sets the aspect ratio, expressed as wd/ht. | | getPartOfCompilation() | Gets a value indicating whether the resource is a part of compilation. | | setPartOfCompilation(Boolean value) | Sets a value indicating whether the resource is a part of compilation. | | set(String name, String value) | Sets string property. | | set(String name, XmpComplexType value) | Sets the value inherited from XmpComplexType . | | setAudioChannelType(XmpAudioChannelType audioChannelType) | Sets the audio channel type. | | setAudioSampleType(XmpAudioSampleType audioSampleType) | Sets the audio sample type. | ##### XmpDynamicMediaPackage() ``` public XmpDynamicMediaPackage() ``` Initializes a new instance of the XmpDynamicMediaPackage class. ##### getAbsPeakAudioFilePath() ``` public final String getAbsPeakAudioFilePath() ``` Gets the absolute path to the file\\u2019s peak audio file. **Returns:** java.lang.String - The absolute path to the file\\u2019s peak audio file. If empty, no peak file exists. ##### setAbsPeakAudioFilePath(String value) ``` public final void setAbsPeakAudioFilePath(String value) ``` Sets the absolute path to the file\\u2019s peak audio file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The absolute path to the file\\u2019s peak audio file. If empty, no peak file exists. | ##### getAlbum() ``` public final String getAlbum() ``` Gets the name of the album. **Returns:** java.lang.String - The name of the album. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the name of the album. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the album. | ##### getAltTapeName() ``` public final String getAltTapeName() ``` Gets the alternative tape name, set via the project window or timecode dialog in Premiere. **Returns:** java.lang.String - The alternative tape name, set via the project window or timecode dialog in Premiere. ##### setAltTapeName(String value) ``` public final void setAltTapeName(String value) ``` Sets the alternative tape name, set via the project window or timecode dialog in Premiere. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The alternative tape name, set via the project window or timecode dialog in Premiere. | ##### getAltTimecode() ``` public final XmpTimecode getAltTimecode() ``` Gets the timecode set by the user. **Returns:** XmpTimecode - The timecode set by the user. When specified, it is used instead of the startTimecode. ##### setAltTimecode(XmpTimecode value) ``` public final void setAltTimecode(XmpTimecode value) ``` Sets the timecode set by the user. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTimecode | The timecode set by the user. When specified, it is used instead of the startTimecode. | ##### getArtist() ``` public final String getArtist() ``` Gets the name of the artist or artists. **Returns:** java.lang.String - The name of the artist or artists. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the name of the artist or artists. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the artist or artists. | ##### getAudioChannelType() ``` public final String getAudioChannelType() ``` Gets the audio channel type. **Returns:** java.lang.String - The audio channel type. One of: Mono, Stereo, 5.1, 7.1, 16 Channel, Other ##### setAudioChannelType(String value) ``` public final void setAudioChannelType(String value) ``` Sets the audio channel type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio channel type. One of: Mono, Stereo, 5.1, 7.1, 16 Channel, Other | ##### getAudioCompressor() ``` public final String getAudioCompressor() ``` Gets the audio compression used. **Returns:** java.lang.String - The audio compression used. For example, MP3. ##### setAudioCompressor(String value) ``` public final void setAudioCompressor(String value) ``` Sets the audio compression used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio compression used. For example, MP3. | ##### getAudioSampleRate() ``` public final Integer getAudioSampleRate() ``` Gets the audio sample rate. **Returns:** java.lang.Integer - The audio sample rate. Can be any value, but commonly 32000, 44100, or 48000. ##### setAudioSampleRate(Integer value) ``` public final void setAudioSampleRate(Integer value) ``` Sets the audio sample rate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The audio sample rate. Can be any value, but commonly 32000, 44100, or 48000. | ##### getAudioSampleType() ``` public final String getAudioSampleType() ``` Gets the audio sample type. **Returns:** java.lang.String - The audio sample type. One of: 8Int, 16Int, 24Int, 32Int, 32Float, Compressed, Packed, Other. ##### setAudioSampleType(String value) ``` public final void setAudioSampleType(String value) ``` Sets the audio sample type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio sample type. One of: 8Int, 16Int, 24Int, 32Int, 32Float, Compressed, Packed, Other. | ##### getCameraAngle() ``` public final String getCameraAngle() ``` Gets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. **Returns:** java.lang.String - The orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. Predefined values include: Low Angle, Eye Level, High Angle, Overhead Shot, Birds Eye Shot, Dutch Angle, POV, Over the Shoulder, Reaction Shot. ##### setCameraAngle(String value) ``` public final void setCameraAngle(String value) ``` Sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. Predefined values include: Low Angle, Eye Level, High Angle, Overhead Shot, Birds Eye Shot, Dutch Angle, POV, Over the Shoulder, Reaction Shot. | ##### getCameraLabel() ``` public final String getCameraLabel() ``` Gets the description of the camera used for a shoot. **Returns:** java.lang.String - The description of the camera used for a shoot. Can be any string, but is usually simply a number, for example "1", "2", or more explicitly "Camera 1". ##### setCameraLabel(String value) ``` public final void setCameraLabel(String value) ``` Sets the description of the camera used for a shoot. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The description of the camera used for a shoot. Can be any string, but is usually simply a number, for example "1", "2", or more explicitly "Camera 1". | ##### getCameraModel() ``` public final String getCameraModel() ``` Gets the make and model of the camera used for a shoot. **Returns:** java.lang.String - The make and model of the camera used for a shoot. ##### setCameraModel(String value) ``` public final void setCameraModel(String value) ``` Sets the make and model of the camera used for a shoot. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The make and model of the camera used for a shoot. | ##### getCameraMove() ``` public final String getCameraMove() ``` Gets the movement of the camera during the shot, from a fixed set of industry standard terminology. **Returns:** java.lang.String - The movement of the camera during the shot, from a fixed set of industry standard terminology. Predefined values include: Aerial, Boom Up, Boom Down, Crane Up, Crane Down, Dolly In, Dolly Out, Pan Left, Pan Right, Pedestal Up, Pedestal Down, Tilt Up, Tilt Down, Tracking, Truck Left, Truck Right, Zoom In, Zoom Out. ##### setCameraMove(String value) ``` public final void setCameraMove(String value) ``` Sets the movement of the camera during the shot, from a fixed set of industry standard terminology. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The movement of the camera during the shot, from a fixed set of industry standard terminology. Predefined values include: Aerial, Boom Up, Boom Down, Crane Up, Crane Down, Dolly In, Dolly Out, Pan Left, Pan Right, Pedestal Up, Pedestal Down, Tilt Up, Tilt Down, Tracking, Truck Left, Truck Right, Zoom In, Zoom Out. | ##### getClient() ``` public final String getClient() ``` Gets the client for the job of which this shot or take is a part. **Returns:** java.lang.String - The client for the job of which this shot or take is a part. ##### setClient(String value) ``` public final void setClient(String value) ``` Sets the client for the job of which this shot or take is a part. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The client for the job of which this shot or take is a part. | ##### getComment() ``` public final String getComment() ``` Gets the user\\u2019s comments. **Returns:** java.lang.String - The user\\u2019s comments. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the user\\u2019s comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user\\u2019s comments. | ##### getComposer() ``` public final String getComposer() ``` Gets the composer\\u2019s names. **Returns:** java.lang.String - The composer\\u2019s names. ##### setComposer(String value) ``` public final void setComposer(String value) ``` Sets the composer\\u2019s names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The composer\\u2019s names. | ##### getDirector() ``` public final String getDirector() ``` Gets the director of the scene. **Returns:** java.lang.String - The director of the scene. ##### setDirector(String value) ``` public final void setDirector(String value) ``` Sets the director of the scene. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The director of the scene. | ##### getDirectorPhotography() ``` public final String getDirectorPhotography() ``` Gets the director of photography for the scene. **Returns:** java.lang.String - The director of photography for the scene. ##### setDirectorPhotography(String value) ``` public final void setDirectorPhotography(String value) ``` Sets the director of photography for the scene. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The director of photography for the scene. | ##### getDuration() ``` public final XmpTime getDuration() ``` Gets the duration of the media file. **Returns:** XmpTime - The duration of the media file. ##### setDuration(XmpTime value) ``` public final void setDuration(XmpTime value) ``` Sets the duration of the media file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The duration of the media file. | ##### getEngineer() ``` public final String getEngineer() ``` Gets the engineer's names. **Returns:** java.lang.String - The engineer's names. ##### setEngineer(String value) ``` public final void setEngineer(String value) ``` Sets the engineer's names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The engineer's names. | ##### getFileDataRate() ``` public final XmpRational getFileDataRate() ``` Gets the file data rate in megabytes per second. **Returns:** XmpRational - The file data rate in megabytes per second. For example: "36/10" = 3.6 MB/sec. ##### setFileDataRate(XmpRational value) ``` public final void setFileDataRate(XmpRational value) ``` Sets the file data rate in megabytes per second. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRational | The file data rate in megabytes per second. For example: "36/10" = 3.6 MB/sec. | ##### getGenre() ``` public final String getGenre() ``` Gets the name of the genres. **Returns:** java.lang.String - The name of the genres. ##### setGenre(String value) ``` public final void setGenre(String value) ``` Sets the name of the genres. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the genres. | ##### getGood() ``` public final Boolean getGood() ``` Gets a value indicating whether the shot is a keeper. **Returns:** java.lang.Boolean - A value indicating whether the shot is a keeper. ##### setGood(Boolean value) ``` public final void setGood(Boolean value) ``` Sets a value indicating whether the shot is a keeper. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the shot is a keeper. | ##### getInstrument() ``` public final String getInstrument() ``` Gets the musical instruments. **Returns:** java.lang.String - The musical instruments. ##### setInstrument(String value) ``` public final void setInstrument(String value) ``` Sets the musical instruments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The musical instruments. | ##### getIntroTime() ``` public final XmpTime getIntroTime() ``` Gets the duration of lead time for queuing music. **Returns:** XmpTime - The duration of lead time for queuing music. ##### setIntroTime(XmpTime value) ``` public final void setIntroTime(XmpTime value) ``` Sets the duration of lead time for queuing music. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The duration of lead time for queuing music. | ##### getKey() ``` public final String getKey() ``` Gets the audio\\u2019s musical key. **Returns:** java.lang.String - The audio\\u2019s musical key. One of: C, C\#, D, D\#, E, F, F\#, G, G\#, A, A\#, B. ##### setKey(String value) ``` public final void setKey(String value) ``` Sets the audio\\u2019s musical key. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio\\u2019s musical key. One of: C, C\#, D, D\#, E, F, F\#, G, G\#, A, A\#, B. | ##### getLogComment() ``` public final String getLogComment() ``` Gets the user\\u2019s log comments. **Returns:** java.lang.String - The user\\u2019s log comments. ##### setLogComment(String value) ``` public final void setLogComment(String value) ``` Sets the user\\u2019s log comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user\\u2019s log comments. | ##### getLoop() ``` public final Boolean getLoop() ``` Gets a value indicating whether the clip can be looped seamlessly. **Returns:** java.lang.Boolean - A value indicating whether the clip can be looped seamlessly. ##### setLoop(Boolean value) ``` public final void setLoop(Boolean value) ``` Sets a value indicating whether the clip can be looped seamlessly. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the clip can be looped seamlessly. | ##### getNumberOfBeats() ``` public final Double getNumberOfBeats() ``` Gets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. **Returns:** java.lang.Double - The total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. ##### setNumberOfBeats(Double value) ``` public final void setNumberOfBeats(Double value) ``` Sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | ##### getOutCue() ``` public final XmpTime getOutCue() ``` Gets the time at which to fade out. **Returns:** XmpTime - The time at which to fade out. ##### setOutCue(XmpTime value) ``` public final void setOutCue(XmpTime value) ``` Sets the time at which to fade out. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The time at which to fade out. | ##### getProjectName() ``` public final String getProjectName() ``` Gets the name of the project of which this file is a part. **Returns:** java.lang.String - The name of the project of which this file is a part. ##### setProjectName(String value) ``` public final void setProjectName(String value) ``` Sets the name of the project of which this file is a part. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the project of which this file is a part. | ##### getRelativeTimestamp() ``` public final XmpTime getRelativeTimestamp() ``` Gets the start time of the media inside the audio project. **Returns:** XmpTime - The start time of the media inside the audio project. ##### setRelativeTimestamp(XmpTime value) ``` public final void setRelativeTimestamp(XmpTime value) ``` Sets the start time of the media inside the audio project. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The start time of the media inside the audio project. | ##### getReleaseDate() ``` public final Date getReleaseDate() ``` Gets the date the title was released. **Returns:** java.util.Date - The date the title was released. ##### setReleaseDate(Date value) ``` public final void setReleaseDate(Date value) ``` Sets the date the title was released. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the title was released. | ##### getShotDate() ``` public final Date getShotDate() ``` Gets the date and time when the video was shot. **Returns:** java.util.Date - The date and time when the video was shot. ##### setShotDate(Date value) ``` public final void setShotDate(Date value) ``` Sets the date and time when the video was shot. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date and time when the video was shot. | ##### getStartTimecode() ``` public final XmpTimecode getStartTimecode() ``` Gets the timecode of the first frame of video in the file, as obtained from the device control. **Returns:** XmpTimecode - The timecode of the first frame of video in the file, as obtained from the device control. ##### setStartTimecode(XmpTimecode value) ``` public final void setStartTimecode(XmpTimecode value) ``` Sets the timecode of the first frame of video in the file, as obtained from the device control. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTimecode | The timecode of the first frame of video in the file, as obtained from the device control. | ##### getTakeNumber() ``` public final Integer getTakeNumber() ``` Gets a numeric value indicating the absolute number of a take. **Returns:** java.lang.Integer - A numeric value indicating the absolute number of a take. ##### setTakeNumber(Integer value) ``` public final void setTakeNumber(Integer value) ``` Sets a numeric value indicating the absolute number of a take. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | A numeric value indicating the absolute number of a take. | ##### getTempo() ``` public final Double getTempo() ``` Gets the audio\\u2019s tempo. **Returns:** java.lang.Double - The audio\\u2019s tempo. ##### setTempo(Double value) ``` public final void setTempo(Double value) ``` Sets the audio\\u2019s tempo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The audio\\u2019s tempo. | ##### getTrackNumber() ``` public final Integer getTrackNumber() ``` Gets a numeric value indicating the order of the audio file within its original recording. **Returns:** java.lang.Integer - A numeric value indicating the order of the audio file within its original recording. ##### setTrackNumber(Integer value) ``` public final void setTrackNumber(Integer value) ``` Sets a numeric value indicating the order of the audio file within its original recording. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | A numeric value indicating the order of the audio file within its original recording. | ##### getVideoAlphaPremultipleColor() ``` public final XmpColorantBase getVideoAlphaPremultipleColor() ``` Gets the timecode of the first frame of video in the file, as obtained from the device control. **Returns:** XmpColorantBase - The timecode of the first frame of video in the file, as obtained from the device control. ##### setVideoAlphaPremultipleColor(XmpColorantBase value) ``` public final void setVideoAlphaPremultipleColor(XmpColorantBase value) ``` Sets the timecode of the first frame of video in the file, as obtained from the device control. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpColorantBase | The timecode of the first frame of video in the file, as obtained from the device control. | ##### getVideoAlphaUnityIsTransparent() ``` public final Boolean getVideoAlphaUnityIsTransparent() ``` Gets a value indicating whether the unity is clear. **Returns:** java.lang.Boolean - true , if unity is clear; otherwise, it is opaque. ##### setVideoAlphaUnityIsTransparent(Boolean value) ``` public final void setVideoAlphaUnityIsTransparent(Boolean value) ``` Sets a value indicating whether the unity is clear. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true , if unity is clear; otherwise, it is opaque. | ##### getVideoFrameRate() ``` public final Double getVideoFrameRate() ``` Gets the video frame rate. **Returns:** java.lang.Double - The video frame rate. ##### setVideoFrameRate(Double value) ``` public final void setVideoFrameRate(Double value) ``` Sets the video frame rate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The video frame rate. | ##### getVideoFrameSize() ``` public final XmpDimensions getVideoFrameSize() ``` Gets the frame size. **Returns:** XmpDimensions - The frame size. ##### setVideoFrameSize(XmpDimensions value) ``` public final void setVideoFrameSize(XmpDimensions value) ``` Sets the frame size. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDimensions | The frame size. | ##### getVideoPixelAspectRatio() ``` public final XmpRational getVideoPixelAspectRatio() ``` Gets the aspect ratio, expressed as wd/ht. **Returns:** XmpRational - The aspect ratio, expressed as wd/ht. ##### setVideoPixelAspectRatio(XmpRational value) ``` public final void setVideoPixelAspectRatio(XmpRational value) ``` Sets the aspect ratio, expressed as wd/ht. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRational | The aspect ratio, expressed as wd/ht. | ##### getPartOfCompilation() ``` public final Boolean getPartOfCompilation() ``` Gets a value indicating whether the resource is a part of compilation. **Returns:** java.lang.Boolean - A value indicating whether the resource is a part of compilation. ##### setPartOfCompilation(Boolean value) ``` public final void setPartOfCompilation(Boolean value) ``` Sets a value indicating whether the resource is a part of compilation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the resource is a part of compilation. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, XmpComplexType value) ``` public void set(String name, XmpComplexType value) ``` Sets the value inherited from XmpComplexType . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpComplexType | XMP metadata property value. | ##### setAudioChannelType(XmpAudioChannelType audioChannelType) ``` public final void setAudioChannelType(XmpAudioChannelType audioChannelType) ``` Sets the audio channel type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | audioChannelType | XmpAudioChannelType | The audio channel type. | ##### setAudioSampleType(XmpAudioSampleType audioSampleType) ``` public final void setAudioSampleType(XmpAudioSampleType audioSampleType) ``` Sets the audio sample type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | audioSampleType | XmpAudioSampleType | The audio sample type. | ### XmpElementBase Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpelementbase.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class XmpElementBase extends CustomPackage ``` Represents base XMP element that contains attributes. #### Methods | Method | Description | | --- | --- | | setAttribute(String attribute, String value) | Adds the attribute. | | clearAttributes() | Removes all attributes. | | containsAttribute(String attribute) | Determines whether the element contains a specific attribute. | | getAttribute(String attribute) | Gets the attribute. | ##### setAttribute(String attribute, String value) ``` public void setAttribute(String attribute, String value) ``` Adds the attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | Attribute key. | | value | java.lang.String | Attribute value. | ##### clearAttributes() ``` public final void clearAttributes() ``` Removes all attributes. ##### containsAttribute(String attribute) ``` public final boolean containsAttribute(String attribute) ``` Determines whether the element contains a specific attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | Attribute name. | **Returns:** boolean - true if attribute is exist; otherwise false. ##### getAttribute(String attribute) ``` public final String getAttribute(String attribute) ``` Gets the attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | The attribute. | **Returns:** java.lang.String - The attribute value. ### XmpException Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class XmpException extends GroupDocsMetadataException ``` The exception that is thrown when XMP has invalid structure. #### Constructors | Constructor | Description | | --- | --- | | XmpException() | Initializes a new instance of the XmpException class. | | XmpException(String message) | Initializes a new instance of the XmpException class. | | XmpException(String message, RuntimeException innerException) | Initializes a new instance of the XmpException class. | ##### XmpException() ``` public XmpException() ``` Initializes a new instance of the XmpException class. ##### XmpException(String message) ``` public XmpException(String message) ``` Initializes a new instance of the XmpException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | ##### XmpException(String message, RuntimeException innerException) ``` public XmpException(String message, RuntimeException innerException) ``` Initializes a new instance of the XmpException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | | innerException | java.lang.RuntimeException | The inner exception. | ### XmpFont Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpfont.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpFont extends XmpComplexType ``` A structure containing the characteristics of a font used in a document. #### Constructors | Constructor | Description | | --- | --- | | XmpFont() | Initializes a new instance of the XmpFont class. | | XmpFont(String fontFamily) | Initializes a new instance of the XmpFont class. | #### Methods | Method | Description | | --- | --- | | getChildFontFiles() | Gets the list of file names for the fonts that make up a composite font. | | setChildFontFiles(String[] value) | Sets the list of file names for the fonts that make up a composite font. | | isComposite() | Gets a value indicating whether whether the font is composite. | | setComposite(Boolean value) | Sets a value indicating whether whether the font is composite. | | getFontFace() | Gets the font face name. | | setFontFace(String value) | Sets the font face name. | | getFontFamily() | Gets the font family name. | | setFontFamily(String value) | Sets the font family name. | | getFontFileName() | Gets the font file name (not a complete path). | | setFontFileName(String value) | Sets the font file name (not a complete path). | | getFontName() | Gets the PostScript name of the font. | | setFontName(String value) | Sets the PostScript name of the font. | | getFontType() | Gets the font type. | | setFontType(String value) | Sets the font type. | | getVersion() | Gets the font version. | | setVersion(String value) | Sets the font version. | ##### XmpFont() ``` public XmpFont() ``` Initializes a new instance of the XmpFont class. ##### XmpFont(String fontFamily) ``` public XmpFont(String fontFamily) ``` Initializes a new instance of the XmpFont class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontFamily | java.lang.String | Font family. | ##### getChildFontFiles() ``` public final String[] getChildFontFiles() ``` Gets the list of file names for the fonts that make up a composite font. **Returns:** java.lang.String[] - The list of file names for the fonts that make up a composite font. ##### setChildFontFiles(String[] value) ``` public final void setChildFontFiles(String[] value) ``` Sets the list of file names for the fonts that make up a composite font. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The list of file names for the fonts that make up a composite font. | ##### isComposite() ``` public final Boolean isComposite() ``` Gets a value indicating whether whether the font is composite. **Returns:** java.lang.Boolean - true if the font is composite; otherwise, false . ##### setComposite(Boolean value) ``` public final void setComposite(Boolean value) ``` Sets a value indicating whether whether the font is composite. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the font is composite; otherwise, false . | ##### getFontFace() ``` public final String getFontFace() ``` Gets the font face name. **Returns:** java.lang.String - The font face name. ##### setFontFace(String value) ``` public final void setFontFace(String value) ``` Sets the font face name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The font face name. | ##### getFontFamily() ``` public final String getFontFamily() ``` Gets the font family name. **Returns:** java.lang.String - The font family name. ##### setFontFamily(String value) ``` public final void setFontFamily(String value) ``` Sets the font family name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The font family name. | ##### getFontFileName() ``` public final String getFontFileName() ``` Gets the font file name (not a complete path). **Returns:** java.lang.String - The name of the font file. ##### setFontFileName(String value) ``` public final void setFontFileName(String value) ``` Sets the font file name (not a complete path). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the font file. | ##### getFontName() ``` public final String getFontName() ``` Gets the PostScript name of the font. **Returns:** java.lang.String - The PostScript name of the font. ##### setFontName(String value) ``` public final void setFontName(String value) ``` Sets the PostScript name of the font. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The PostScript name of the font. | ##### getFontType() ``` public final String getFontType() ``` Gets the font type. **Returns:** java.lang.String - The font type. TrueType, Type 1, Open Type, and so on. ##### setFontType(String value) ``` public final void setFontType(String value) ``` Sets the font type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The font type. TrueType, Type 1, Open Type, and so on. | ##### getVersion() ``` public final String getVersion() ``` Gets the font version. **Returns:** java.lang.String - The version. /version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts ##### setVersion(String value) ``` public final void setVersion(String value) ``` Sets the font version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The version. /version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts | ### XmpGuid Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpguid.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpGuid extends XmpValueBase ``` Represents XMP global unique identifier. #### Constructors | Constructor | Description | | --- | --- | | XmpGuid(String value) | Initializes a new instance of the XmpGuid class. | | XmpGuid(UUID value) | Initializes a new instance of the XmpGuid class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpGuid(String value) ``` public XmpGuid(String value) ``` Initializes a new instance of the XmpGuid class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### XmpGuid(UUID value) ``` public XmpGuid(UUID value) ``` Initializes a new instance of the XmpGuid class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.UUID | The unique identifier. | ##### getValue() ``` public final UUID getValue() ``` Gets the value. **Returns:** java.util.UUID - The value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpHeaderPI Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpheaderpi.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public final class XmpHeaderPI implements IXmpType ``` Represents XMP header processing instruction. #### Constructors | Constructor | Description | | --- | --- | | XmpHeaderPI() | Initializes a new instance of the XmpHeaderPI class. | #### Methods | Method | Description | | --- | --- | | getGuid() | Represents Header GUID. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpHeaderPI() ``` public XmpHeaderPI() ``` Initializes a new instance of the XmpHeaderPI class. ##### getGuid() ``` public final String getGuid() ``` Represents Header GUID. **Returns:** java.lang.String - The unique identifier. The text of the header PI contains a GUID, making it unlikely to appear by accident in the data stream. ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpInteger Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpinteger.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpInteger extends XmpValueBase ``` Represents XMP Integer basic type. #### Constructors | Constructor | Description | | --- | --- | | XmpInteger(long value) | Initializes a new instance of the XmpInteger class. | | XmpInteger(int value) | Initializes a new instance of the XmpInteger class. | | XmpInteger(String value) | Initializes a new instance of the XmpInteger class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpInteger(long value) ``` public XmpInteger(long value) ``` Initializes a new instance of the XmpInteger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The value. | ##### XmpInteger(int value) ``` public XmpInteger(int value) ``` Initializes a new instance of the XmpInteger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The value. | ##### XmpInteger(String value) ``` public XmpInteger(String value) ``` Initializes a new instance of the XmpInteger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | String value contained integer. | ##### getValue() ``` public final long getValue() ``` Gets the value. **Returns:** long - Integer value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpIptcCorePackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpiptccorepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpIptcCorePackage extends XmpPackage ``` Represents the IPTC Core XMP package. #### Constructors | Constructor | Description | | --- | --- | | XmpIptcCorePackage() | Initializes a new instance of the XmpIptcCorePackage class. | #### Methods | Method | Description | | --- | --- | | getCountryCode() | Gets the code of the country the content is focusing on. | | setCountryCode(String value) | Sets the code of the country the content is focusing on. | | getIntellectualGenre() | Gets the intellectual genre. | | setIntellectualGenre(String value) | Sets the intellectual genre. | | getLocation() | Gets the location the content is focusing on. | | setLocation(String value) | Sets the location the content is focusing on. | | getScenes() | Gets the scene of the photo content. | | setScenes(String[] value) | Sets the scene of the photo content. | | getSubjectCodes() | Gets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. | | setSubjectCodes(String[] value) | Sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. | ##### XmpIptcCorePackage() ``` public XmpIptcCorePackage() ``` Initializes a new instance of the XmpIptcCorePackage class. ##### getCountryCode() ``` public final String getCountryCode() ``` Gets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. **Returns:** java.lang.String - The country code. ##### setCountryCode(String value) ``` public final void setCountryCode(String value) ``` Sets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The country code. | ##### getIntellectualGenre() ``` public final String getIntellectualGenre() ``` Gets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. **Returns:** java.lang.String - The intellectual genre. ##### setIntellectualGenre(String value) ``` public final void setIntellectualGenre(String value) ``` Sets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The intellectual genre. | ##### getLocation() ``` public final String getLocation() ``` Gets the location the content is focusing on. **Returns:** java.lang.String - The location. This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy. ##### setLocation(String value) ``` public final void setLocation(String value) ``` Sets the location the content is focusing on. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The location. This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy. | ##### getScenes() ``` public final String[] getScenes() ``` Gets the scene of the photo content. **Returns:** java.lang.String[] - The scene codes. Specifies one or more terms from the IPTC "Scene-NewsCodes". Each Scene is represented as a string of 6 digits in an unordered list ##### setScenes(String[] value) ``` public final void setScenes(String[] value) ``` Sets the scene of the photo content. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The scene codes. Specifies one or more terms from the IPTC "Scene-NewsCodes". Each Scene is represented as a string of 6 digits in an unordered list | ##### getSubjectCodes() ``` public final String[] getSubjectCodes() ``` Gets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. **Returns:** java.lang.String[] - The subject codes. More about IPTC Subject-NewsCodes at http://www.newscodes.org. ##### setSubjectCodes(String[] value) ``` public final void setSubjectCodes(String[] value) ``` Sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The subject codes. More about IPTC Subject-NewsCodes at http://www.newscodes.org. | ### XmpIptcExtensionPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpiptcextensionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpIptcExtensionPackage extends XmpPackage ``` Represents the IPTC Extension XMP package. #### Constructors | Constructor | Description | | --- | --- | | XmpIptcExtensionPackage() | Initializes a new instance of the XmpIptcExtensionPackage class. | #### Methods | Method | Description | | --- | --- | | getAdditionalModelInformation() | Gets the information about the ethnicity and other facets of the model(s) in a model-released image. | | setAdditionalModelInformation(String value) | Sets the information about the ethnicity and other facets of the model(s) in a model-released image. | | getOrganisationInImageCodes() | Gets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. | | setOrganisationInImageCodes(String[] value) | Sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. | | getOrganisationInImageNames() | Gets names of the organisations or companies which are featured in the image. | | setOrganisationInImageNames(String[] value) | Sets names of the organisations or companies which are featured in the image. | | getAgesOfModels() | Gets ages of the human models at the time this image was taken in a model released image. | | setAgesOfModels(int[] value) | Sets ages of the human models at the time this image was taken in a model released image. | | getPersonsInImage() | Gets names of the persons the content of the item is about. | | setPersonsInImage(String[] value) | Sets names of the persons the content of the item is about. | | getDigitalImageGuid() | Gets the globally unique identifier for this digital image. | | setDigitalImageGuid(String value) | Sets the globally unique identifier for this digital image. | | getDigitalSourceType() | Gets the type of the source of this digital image. | | setDigitalSourceType(String value) | Sets the type of the source of this digital image. | | getEvent() | Gets the description of the specific event at which the photo was taken. | | setEvent(XmpLangAlt value) | Sets the description of the specific event at which the photo was taken. | | getIptcLastEdited() | Gets the date and optionally time when any of the IPTC photo metadata fields has been last edited. | | setIptcLastEdited(Date value) | Sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. | | getMaxAvailableHeight() | Gets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. | | setMaxAvailableHeight(Integer value) | Sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. | | getMaxAvailableWidth() | Gets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. | | setMaxAvailableWidth(Integer value) | Sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. | | set(String name, String value) | Sets string property. | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | ##### XmpIptcExtensionPackage() ``` public XmpIptcExtensionPackage() ``` Initializes a new instance of the XmpIptcExtensionPackage class. ##### getAdditionalModelInformation() ``` public final String getAdditionalModelInformation() ``` Gets the information about the ethnicity and other facets of the model(s) in a model-released image. **Returns:** java.lang.String - The additional model information. ##### setAdditionalModelInformation(String value) ``` public final void setAdditionalModelInformation(String value) ``` Sets the information about the ethnicity and other facets of the model(s) in a model-released image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The additional model information. | ##### getOrganisationInImageCodes() ``` public final String[] getOrganisationInImageCodes() ``` Gets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. **Returns:** java.lang.String[] - The codes of the organisations. ##### setOrganisationInImageCodes(String[] value) ``` public final void setOrganisationInImageCodes(String[] value) ``` Sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The codes of the organisations. | ##### getOrganisationInImageNames() ``` public final String[] getOrganisationInImageNames() ``` Gets names of the organisations or companies which are featured in the image. **Returns:** java.lang.String[] - Names of the organisations. ##### setOrganisationInImageNames(String[] value) ``` public final void setOrganisationInImageNames(String[] value) ``` Sets names of the organisations or companies which are featured in the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | Names of the organisations. | ##### getAgesOfModels() ``` public final int[] getAgesOfModels() ``` Gets ages of the human models at the time this image was taken in a model released image. **Returns:** int[] - Ages of the models. ##### setAgesOfModels(int[] value) ``` public final void setAgesOfModels(int[] value) ``` Sets ages of the human models at the time this image was taken in a model released image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | Ages of the models. | ##### getPersonsInImage() ``` public final String[] getPersonsInImage() ``` Gets names of the persons the content of the item is about. **Returns:** java.lang.String[] - Names of the persons that are shown in the image. ##### setPersonsInImage(String[] value) ``` public final void setPersonsInImage(String[] value) ``` Sets names of the persons the content of the item is about. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | Names of the persons that are shown in the image. | ##### getDigitalImageGuid() ``` public final String getDigitalImageGuid() ``` Gets the globally unique identifier for this digital image. **Returns:** java.lang.String - The image GUID. It is created and applied by the creator of the digital image at the time of its creation. This value shall not be changed after that time. ##### setDigitalImageGuid(String value) ``` public final void setDigitalImageGuid(String value) ``` Sets the globally unique identifier for this digital image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image GUID. It is created and applied by the creator of the digital image at the time of its creation. This value shall not be changed after that time. | ##### getDigitalSourceType() ``` public final String getDigitalSourceType() ``` Gets the type of the source of this digital image. **Returns:** java.lang.String - The type of the source digital file. ##### setDigitalSourceType(String value) ``` public final void setDigitalSourceType(String value) ``` Sets the type of the source of this digital image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the source digital file. | ##### getEvent() ``` public final XmpLangAlt getEvent() ``` Gets the description of the specific event at which the photo was taken. **Returns:** XmpLangAlt - The specific event at which the photo was taken. ##### setEvent(XmpLangAlt value) ``` public final void setEvent(XmpLangAlt value) ``` Sets the description of the specific event at which the photo was taken. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | The specific event at which the photo was taken. | ##### getIptcLastEdited() ``` public final Date getIptcLastEdited() ``` Gets the date and optionally time when any of the IPTC photo metadata fields has been last edited. **Returns:** java.util.Date - The last edited date. ##### setIptcLastEdited(Date value) ``` public final void setIptcLastEdited(Date value) ``` Sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last edited date. | ##### getMaxAvailableHeight() ``` public final Integer getMaxAvailableHeight() ``` Gets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. **Returns:** java.lang.Integer - The maximum available height. ##### setMaxAvailableHeight(Integer value) ``` public final void setMaxAvailableHeight(Integer value) ``` Sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The maximum available height. | ##### getMaxAvailableWidth() ``` public final Integer getMaxAvailableWidth() ``` Gets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. **Returns:** java.lang.Integer - The maximum available width. ##### setMaxAvailableWidth(Integer value) ``` public final void setMaxAvailableWidth(Integer value) ``` Sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The maximum available width. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpIptcIimPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpiptciimpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpIptcIimPackage extends XmpPackage ``` Represents the IPTC-IIM XMP package. #### Constructors | Constructor | Description | | --- | --- | | XmpIptcIimPackage() | Initializes a new instance of the XmpIptcIimPackage class. | #### Methods | Method | Description | | --- | --- | | getModelVersion() | Gets the binary number identifying the version of the Information | | setModelVersion(Integer value) | Sets the binary number identifying the version of the Information | | getDestination() | Gets the destination. | | setDestination(String[] value) | Sets the destination. | | getFileFormat() | Gets the binary number identifying the version of the Information | | setFileFormat(Integer value) | Sets the binary number identifying the version of the Information | | getFileFormatVersion() | Gets the file format version. | | setFileFormatVersion(Integer value) | Sets the file format version. | | getServiceIdentifier() | Gets the service identifier. | | setServiceIdentifier(String value) | Sets the service identifier. | | getEnvelopeNumber() | Gets the envelope number. | | setEnvelopeNumber(String value) | Sets the envelope number. | | getProductIDs() | Gets the product identifiers. | | setProductIDs(String[] value) | Sets the product identifiers. | | getEnvelopePriority() | Gets the envelope handling priority. | | setEnvelopePriority(Integer value) | Sets the envelope handling priority. | | getDateSent() | Gets the date the service sent the material. | | setDateSent(Date value) | Sets the date the service sent the material. | | getUniqueNameOfObject() | Gets the unique name of the object. | | setUniqueNameOfObject(String value) | Sets the unique name of the object. | | getObjectTypeReference() | Gets the object type reference. | | setObjectTypeReference(String value) | Sets the object type reference. | | getEditStatus() | Gets the status of the object data, according to the practice of the provider. | | setEditStatus(String value) | Sets the status of the object data, according to the practice of the provider. | | getUrgency() | Gets the editorial urgency of the content. | | setUrgency(Integer value) | Sets the editorial urgency of the content. | | getCategory() | Gets the subject of the object data in the opinion of the provider. | | setCategory(String value) | Sets the subject of the object data in the opinion of the provider. | | getSupplementalCategories() | Gets the supplemental categories. | | setSupplementalCategories(String[] value) | Sets the supplemental categories. | | getFixtureIdentifier() | Gets the object data that recurs often and predictably. | | setFixtureIdentifier(String value) | Sets the object data that recurs often and predictably. | | getContentLocationCodes() | Gets the content location codes. | | setContentLocationCodes(String[] value) | Sets the content location codes. | | getContentLocationNames() | Gets the content location names. | | setContentLocationNames(String[] value) | Sets the content location names. | | getReleaseDate() | Gets the earliest date the provider intends the object to be used. | | setReleaseDate(Date value) | Sets the earliest date the provider intends the object to be used. | | getExpirationDate() | Gets the latest date the provider or owner intends the object data to be used. | | setExpirationDate(Date value) | Sets the latest date the provider or owner intends the object data to be used. | | getActionAdvised() | Gets the type of action that this object provides to a previous object. | | setActionAdvised(String value) | Sets the type of action that this object provides to a previous object. | | getReferenceService() | Gets the Service Identifier of a prior envelope to which the current object refers. | | setReferenceService(String value) | Sets the Service Identifier of a prior envelope to which the current object refers. | | getReferenceDate() | Gets the date of a prior envelope to which the current object refers. | | setReferenceDate(Date value) | Sets the date of a prior envelope to which the current object refers. | | getReferenceNumber() | Gets the Envelope Number of a prior envelope to which the current object refers. | | setReferenceNumber(String value) | Sets the Envelope Number of a prior envelope to which the current object refers. | | getDigitalCreationDate() | Gets the date the digital representation of the object data was created. | | setDigitalCreationDate(Date value) | Sets the date the digital representation of the object data was created. | | getOriginatingProgram() | Gets the type of program used to originate the object data. | | setOriginatingProgram(String value) | Sets the type of program used to originate the object data. | | getProgramVersion() | Gets the program version. | | setProgramVersion(String value) | Sets the program version. | | getImageType() | Gets the type of the image. | | setImageType(String value) | Sets the type of the image. | | getImageOrientation() | Gets the image orientation. | | setImageOrientation(String value) | Sets the image orientation. | | getLanguageIdentifier() | Gets the language identifier according to the 2-letter codes of ISO 639:1988. | | setLanguageIdentifier(String value) | Sets the language identifier according to the 2-letter codes of ISO 639:1988. | | set(String name, String value) | Sets string property. | ##### XmpIptcIimPackage() ``` public XmpIptcIimPackage() ``` Initializes a new instance of the XmpIptcIimPackage class. ##### getModelVersion() ``` public final Integer getModelVersion() ``` Gets the binary number identifying the version of the Information **Returns:** java.lang.Integer - The model version. ##### setModelVersion(Integer value) ``` public final void setModelVersion(Integer value) ``` Sets the binary number identifying the version of the Information **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The model version. | ##### getDestination() ``` public final String[] getDestination() ``` Gets the destination. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. **Returns:** java.lang.String[] - The destination. ##### setDestination(String[] value) ``` public final void setDestination(String[] value) ``` Sets the destination. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The destination. | ##### getFileFormat() ``` public final Integer getFileFormat() ``` Gets the binary number identifying the version of the Information **Returns:** java.lang.Integer - The file format. ##### setFileFormat(Integer value) ``` public final void setFileFormat(Integer value) ``` Sets the binary number identifying the version of the Information **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format. | ##### getFileFormatVersion() ``` public final Integer getFileFormatVersion() ``` Gets the file format version. **Returns:** java.lang.Integer - The file format version. ##### setFileFormatVersion(Integer value) ``` public final void setFileFormatVersion(Integer value) ``` Sets the file format version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format version. | ##### getServiceIdentifier() ``` public final String getServiceIdentifier() ``` Gets the service identifier. Identifies the provider and product. **Returns:** java.lang.String - The service identifier. ##### setServiceIdentifier(String value) ``` public final void setServiceIdentifier(String value) ``` Sets the service identifier. Identifies the provider and product. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The service identifier. | ##### getEnvelopeNumber() ``` public final String getEnvelopeNumber() ``` Gets the envelope number. **Returns:** java.lang.String - The envelope number. ##### setEnvelopeNumber(String value) ``` public final void setEnvelopeNumber(String value) ``` Sets the envelope number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The envelope number. | ##### getProductIDs() ``` public final String[] getProductIDs() ``` Gets the product identifiers. **Returns:** java.lang.String[] - The product identifier. Used to provide receiving organization data on which to select, route, or otherwise handle data. ##### setProductIDs(String[] value) ``` public final void setProductIDs(String[] value) ``` Sets the product identifiers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The product identifier. Used to provide receiving organization data on which to select, route, or otherwise handle data. | ##### getEnvelopePriority() ``` public final Integer getEnvelopePriority() ``` Gets the envelope handling priority. **Returns:** java.lang.Integer - The envelope priority. ##### setEnvelopePriority(Integer value) ``` public final void setEnvelopePriority(Integer value) ``` Sets the envelope handling priority. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The envelope priority. | ##### getDateSent() ``` public final Date getDateSent() ``` Gets the date the service sent the material. **Returns:** java.util.Date - The date sent. ##### setDateSent(Date value) ``` public final void setDateSent(Date value) ``` Sets the date the service sent the material. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date sent. | ##### getUniqueNameOfObject() ``` public final String getUniqueNameOfObject() ``` Gets the unique name of the object. **Returns:** java.lang.String - The unique name of the object. ##### setUniqueNameOfObject(String value) ``` public final void setUniqueNameOfObject(String value) ``` Sets the unique name of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The unique name of the object. | ##### getObjectTypeReference() ``` public final String getObjectTypeReference() ``` Gets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. **Returns:** java.lang.String - The object type reference. ##### setObjectTypeReference(String value) ``` public final void setObjectTypeReference(String value) ``` Sets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The object type reference. | ##### getEditStatus() ``` public final String getEditStatus() ``` Gets the status of the object data, according to the practice of the provider. **Returns:** java.lang.String - The edit status. ##### setEditStatus(String value) ``` public final void setEditStatus(String value) ``` Sets the status of the object data, according to the practice of the provider. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The edit status. | ##### getUrgency() ``` public final Integer getUrgency() ``` Gets the editorial urgency of the content. **Returns:** java.lang.Integer - The urgency. ##### setUrgency(Integer value) ``` public final void setUrgency(Integer value) ``` Sets the editorial urgency of the content. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The urgency. | ##### getCategory() ``` public final String getCategory() ``` Gets the subject of the object data in the opinion of the provider. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the subject of the object data in the opinion of the provider. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getSupplementalCategories() ``` public final String[] getSupplementalCategories() ``` Gets the supplemental categories. **Returns:** java.lang.String[] - The supplemental categories. ##### setSupplementalCategories(String[] value) ``` public final void setSupplementalCategories(String[] value) ``` Sets the supplemental categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The supplemental categories. | ##### getFixtureIdentifier() ``` public final String getFixtureIdentifier() ``` Gets the object data that recurs often and predictably. **Returns:** java.lang.String - The fixture identifier. ##### setFixtureIdentifier(String value) ``` public final void setFixtureIdentifier(String value) ``` Sets the object data that recurs often and predictably. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The fixture identifier. | ##### getContentLocationCodes() ``` public final String[] getContentLocationCodes() ``` Gets the content location codes. **Returns:** java.lang.String[] - The content location codes. Indicates the code of a country/geographical location referenced by the content of the object. ##### setContentLocationCodes(String[] value) ``` public final void setContentLocationCodes(String[] value) ``` Sets the content location codes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The content location codes. Indicates the code of a country/geographical location referenced by the content of the object. | ##### getContentLocationNames() ``` public final String[] getContentLocationNames() ``` Gets the content location names. **Returns:** java.lang.String[] - The content location names. Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. ##### setContentLocationNames(String[] value) ``` public final void setContentLocationNames(String[] value) ``` Sets the content location names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The content location names. Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. | ##### getReleaseDate() ``` public final Date getReleaseDate() ``` Gets the earliest date the provider intends the object to be used. **Returns:** java.util.Date - The release date. ##### setReleaseDate(Date value) ``` public final void setReleaseDate(Date value) ``` Sets the earliest date the provider intends the object to be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The release date. | ##### getExpirationDate() ``` public final Date getExpirationDate() ``` Gets the latest date the provider or owner intends the object data to be used. **Returns:** java.util.Date - The expiration date. ##### setExpirationDate(Date value) ``` public final void setExpirationDate(Date value) ``` Sets the latest date the provider or owner intends the object data to be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The expiration date. | ##### getActionAdvised() ``` public final String getActionAdvised() ``` Gets the type of action that this object provides to a previous object. **Returns:** java.lang.String - The type of action. ##### setActionAdvised(String value) ``` public final void setActionAdvised(String value) ``` Sets the type of action that this object provides to a previous object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of action. | ##### getReferenceService() ``` public final String getReferenceService() ``` Gets the Service Identifier of a prior envelope to which the current object refers. **Returns:** java.lang.String - The reference service. ##### setReferenceService(String value) ``` public final void setReferenceService(String value) ``` Sets the Service Identifier of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The reference service. | ##### getReferenceDate() ``` public final Date getReferenceDate() ``` Gets the date of a prior envelope to which the current object refers. **Returns:** java.util.Date - The reference date. ##### setReferenceDate(Date value) ``` public final void setReferenceDate(Date value) ``` Sets the date of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The reference date. | ##### getReferenceNumber() ``` public final String getReferenceNumber() ``` Gets the Envelope Number of a prior envelope to which the current object refers. **Returns:** java.lang.String - The reference number. ##### setReferenceNumber(String value) ``` public final void setReferenceNumber(String value) ``` Sets the Envelope Number of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The reference number. | ##### getDigitalCreationDate() ``` public final Date getDigitalCreationDate() ``` Gets the date the digital representation of the object data was created. **Returns:** java.util.Date - The digital creation date. ##### setDigitalCreationDate(Date value) ``` public final void setDigitalCreationDate(Date value) ``` Sets the date the digital representation of the object data was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The digital creation date. | ##### getOriginatingProgram() ``` public final String getOriginatingProgram() ``` Gets the type of program used to originate the object data. **Returns:** java.lang.String - The originating program. ##### setOriginatingProgram(String value) ``` public final void setOriginatingProgram(String value) ``` Sets the type of program used to originate the object data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The originating program. | ##### getProgramVersion() ``` public final String getProgramVersion() ``` Gets the program version. **Returns:** java.lang.String - The program version. ##### setProgramVersion(String value) ``` public final void setProgramVersion(String value) ``` Sets the program version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The program version. | ##### getImageType() ``` public final String getImageType() ``` Gets the type of the image. **Returns:** java.lang.String - The type of the image. The first is a numeric character and the second is an alphabetic character. ##### setImageType(String value) ``` public final void setImageType(String value) ``` Sets the type of the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the image. The first is a numeric character and the second is an alphabetic character. | ##### getImageOrientation() ``` public final String getImageOrientation() ``` Gets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). **Returns:** java.lang.String - The image orientation. ##### setImageOrientation(String value) ``` public final void setImageOrientation(String value) ``` Sets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image orientation. | ##### getLanguageIdentifier() ``` public final String getLanguageIdentifier() ``` Gets the language identifier according to the 2-letter codes of ISO 639:1988. **Returns:** java.lang.String - The language identifier. ##### setLanguageIdentifier(String value) ``` public final void setLanguageIdentifier(String value) ``` Sets the language identifier according to the 2-letter codes of ISO 639:1988. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The language identifier. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpJob Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpjob.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpJob extends XmpComplexType ``` Represents Job. #### Constructors | Constructor | Description | | --- | --- | | XmpJob() | Initializes a new instance of the XmpJob class. | #### Methods | Method | Description | | --- | --- | | getID() | Gets unique id for the job. | | setID(String value) | Sets unique id for the job. | | getName() | Gets informal name of the job. | | setName(String value) | Sets informal name of the job. | | getUrl() | Gets a file URL referencing an external job management file. | | setUrl(String value) | Sets a file URL referencing an external job management file. | ##### XmpJob() ``` public XmpJob() ``` Initializes a new instance of the XmpJob class. ##### getID() ``` public final String getID() ``` Gets unique id for the job. This field is a reference into some external job management system. **Returns:** java.lang.String - The identifier. ##### setID(String value) ``` public final void setID(String value) ``` Sets unique id for the job. This field is a reference into some external job management system. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The identifier. | ##### getName() ``` public final String getName() ``` Gets informal name of the job. This name is for user display and informal systems. **Returns:** java.lang.String - The name. ##### setName(String value) ``` public final void setName(String value) ``` Sets informal name of the job. This name is for user display and informal systems. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name. | ##### getUrl() ``` public final String getUrl() ``` Gets a file URL referencing an external job management file. **Returns:** java.lang.String - The URL. ##### setUrl(String value) ``` public final void setUrl(String value) ``` Sets a file URL referencing an external job management file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URL. | ### XmpLangAlt Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmplangalt.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase, com.groupdocs.metadata.core.XmpArray ``` public final class XmpLangAlt extends XmpArray ``` Represents XMP Language Alternative. An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be unique among the items. #### Constructors | Constructor | Description | | --- | --- | | XmpLangAlt(String defaultValue) | Initializes a new instance of the XmpLangAlt class. | | XmpLangAlt(Hashtable dictionary) | Initializes a new instance of the XmpLangAlt class. | #### Methods | Method | Description | | --- | --- | | get_Item(String language) | Gets the value associated with the specified language. | | getLanguages() | Gets an array of all languages registered in the instance of XmpLangAlt . | | contains(String language) | Determines whether the XmpLangAlt contains the specified language. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpLangAlt(String defaultValue) ``` public XmpLangAlt(String defaultValue) ``` Initializes a new instance of the XmpLangAlt class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | defaultValue | java.lang.String | The default value. | ##### XmpLangAlt(Hashtable dictionary) ``` public XmpLangAlt(Hashtable dictionary) ``` Initializes a new instance of the XmpLangAlt class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dictionary | java.util.Hashtable | A dictionary containing values by languages. | ##### get_Item(String language) ``` public final String get_Item(String language) ``` Gets the value associated with the specified language. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | language | java.lang.String | The language. Value: String value. | **Returns:** java.lang.String - Value for the specified language. ##### getLanguages() ``` public final String[] getLanguages() ``` Gets an array of all languages registered in the instance of XmpLangAlt . **Returns:** java.lang.String[] - An array of all languages registered in the instance of XmpLangAlt . ##### contains(String language) ``` public final boolean contains(String language) ``` Determines whether the XmpLangAlt contains the specified language. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | language | java.lang.String | The language to locate in the XmpLangAlt . | **Returns:** boolean - True if the XmpLangAlt contains an element with the specified language; otherwise, false. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpMediaManagementPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpmediamanagementpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpMediaManagementPackage extends XmpPackage ``` Represents the XMP Media Management namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpMediaManagementPackage() | Initializes a new instance of the XmpMediaManagementPackage class. | #### Methods | Method | Description | | --- | --- | | getDerivedFrom() | Gets the reference to the resource from which this one is derived. | | setDerivedFrom(XmpResourceRef value) | Sets the reference to the resource from which this one is derived. | | getDocumentID() | Gets the common identifier for all versions and renditions of the resource. | | setDocumentID(String value) | Sets the common identifier for all versions and renditions of the resource. | | getHistory() | Gets an array of high-level actions that resulted in this resource. | | setHistory(XmpResourceEvent[] value) | Sets an array of high-level actions that resulted in this resource. | | getIngredients() | Gets the references to resources that were incorporated, by inclusion or reference, into this resource. | | setIngredients(XmpResourceRef[] value) | Sets the references to resources that were incorporated, by inclusion or reference, into this resource. | | getInstanceID() | Gets the identifier for a specific incarnation of a resource, updated each time the file is saved. | | setInstanceID(String value) | Sets the identifier for a specific incarnation of a resource, updated each time the file is saved. | | getManagedFrom() | Gets the reference to the document as it was prior to becoming managed. | | setManagedFrom(XmpResourceRef value) | Sets the reference to the document as it was prior to becoming managed. | | getManager() | Gets the name of the asset management system that manages this resource. | | setManager(String value) | Sets the name of the asset management system that manages this resource. | | getManageTo() | Gets the URI identifying the managed resource to the asset management system | | setManageTo(String value) | Sets the URI identifying the managed resource to the asset management system | | getManageUI() | Gets the URI that can be used to access information about the managed resource through a web browser. | | setManageUI(String value) | Sets the URI that can be used to access information about the managed resource through a web browser. | | getManagerVariant() | Gets the particular variant of the asset management system. | | setManagerVariant(String value) | Sets the particular variant of the asset management system. | | getOriginalDocumentID() | Gets the common identifier for the original resource from which the current resource is derived. | | setOriginalDocumentID(String value) | Sets the common identifier for the original resource from which the current resource is derived. | | getRenditionClass() | Gets the rendition class name for this resource. | | setRenditionClass(String value) | Sets the rendition class name for this resource. | | getRenditionParams() | Gets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. | | setRenditionParams(String value) | Sets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. | | getVersionID() | Gets the document version identifier for this resource. | | setVersionID(String value) | Sets the document version identifier for this resource. | | getVersions() | Gets the version history associated with this resource. | | setVersions(XmpVersion[] value) | Sets the version history associated with this resource. | ##### XmpMediaManagementPackage() ``` public XmpMediaManagementPackage() ``` Initializes a new instance of the XmpMediaManagementPackage class. ##### getDerivedFrom() ``` public final XmpResourceRef getDerivedFrom() ``` Gets the reference to the resource from which this one is derived. **Returns:** XmpResourceRef - The the reference to the resource from which this one is derived. ##### setDerivedFrom(XmpResourceRef value) ``` public final void setDerivedFrom(XmpResourceRef value) ``` Sets the reference to the resource from which this one is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceRef | The the reference to the resource from which this one is derived. | ##### getDocumentID() ``` public final String getDocumentID() ``` Gets the common identifier for all versions and renditions of the resource. **Returns:** java.lang.String - The common identifier for all versions and renditions of the resource. ##### setDocumentID(String value) ``` public final void setDocumentID(String value) ``` Sets the common identifier for all versions and renditions of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The common identifier for all versions and renditions of the resource. | ##### getHistory() ``` public final XmpResourceEvent[] getHistory() ``` Gets an array of high-level actions that resulted in this resource. **Returns:** com.groupdocs.metadata.core.XmpResourceEvent[] - An array of high-level actions that resulted in this resource. ##### setHistory(XmpResourceEvent[] value) ``` public final void setHistory(XmpResourceEvent[] value) ``` Sets an array of high-level actions that resulted in this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceEvent\[\] | An array of high-level actions that resulted in this resource. | ##### getIngredients() ``` public final XmpResourceRef[] getIngredients() ``` Gets the references to resources that were incorporated, by inclusion or reference, into this resource. **Returns:** com.groupdocs.metadata.core.XmpResourceRef[] - The references to resources that were incorporated, by inclusion or reference, into this resource. ##### setIngredients(XmpResourceRef[] value) ``` public final void setIngredients(XmpResourceRef[] value) ``` Sets the references to resources that were incorporated, by inclusion or reference, into this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceRef\[\] | The references to resources that were incorporated, by inclusion or reference, into this resource. | ##### getInstanceID() ``` public final String getInstanceID() ``` Gets the identifier for a specific incarnation of a resource, updated each time the file is saved. **Returns:** java.lang.String - The identifier for a specific incarnation of a resource, updated each time a file is saved. ##### setInstanceID(String value) ``` public final void setInstanceID(String value) ``` Sets the identifier for a specific incarnation of a resource, updated each time the file is saved. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The identifier for a specific incarnation of a resource, updated each time a file is saved. | ##### getManagedFrom() ``` public final XmpResourceRef getManagedFrom() ``` Gets the reference to the document as it was prior to becoming managed. **Returns:** XmpResourceRef - The reference to the document as it was prior to becoming managed. ##### setManagedFrom(XmpResourceRef value) ``` public final void setManagedFrom(XmpResourceRef value) ``` Sets the reference to the document as it was prior to becoming managed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceRef | The reference to the document as it was prior to becoming managed. | ##### getManager() ``` public final String getManager() ``` Gets the name of the asset management system that manages this resource. **Returns:** java.lang.String - The name of the asset management system that manages this resource. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the name of the asset management system that manages this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the asset management system that manages this resource. | ##### getManageTo() ``` public final String getManageTo() ``` Gets the URI identifying the managed resource to the asset management system **Returns:** java.lang.String - The URI identifying the managed resource to the asset management system. ##### setManageTo(String value) ``` public final void setManageTo(String value) ``` Sets the URI identifying the managed resource to the asset management system **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URI identifying the managed resource to the asset management system. | ##### getManageUI() ``` public final String getManageUI() ``` Gets the URI that can be used to access information about the managed resource through a web browser. **Returns:** java.lang.String - The URI that can be used to access information about the managed resource through a web browser. ##### setManageUI(String value) ``` public final void setManageUI(String value) ``` Sets the URI that can be used to access information about the managed resource through a web browser. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URI that can be used to access information about the managed resource through a web browser. | ##### getManagerVariant() ``` public final String getManagerVariant() ``` Gets the particular variant of the asset management system. **Returns:** java.lang.String - The particular variant of the asset management system. The format of this property is private to the specific asset management system. ##### setManagerVariant(String value) ``` public final void setManagerVariant(String value) ``` Sets the particular variant of the asset management system. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The particular variant of the asset management system. The format of this property is private to the specific asset management system. | ##### getOriginalDocumentID() ``` public final String getOriginalDocumentID() ``` Gets the common identifier for the original resource from which the current resource is derived. **Returns:** java.lang.String - The common identifier for the original resource from which the current resource is derived ##### setOriginalDocumentID(String value) ``` public final void setOriginalDocumentID(String value) ``` Sets the common identifier for the original resource from which the current resource is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The common identifier for the original resource from which the current resource is derived | ##### getRenditionClass() ``` public final String getRenditionClass() ``` Gets the rendition class name for this resource. **Returns:** java.lang.String - The rendition class name for this resource. This property should be absent or set to default for a resource that is not a derived rendition. ##### setRenditionClass(String value) ``` public final void setRenditionClass(String value) ``` Sets the rendition class name for this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The rendition class name for this resource. This property should be absent or set to default for a resource that is not a derived rendition. | ##### getRenditionParams() ``` public final String getRenditionParams() ``` Gets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. **Returns:** java.lang.String - The value that is used to provide additional rendition parameters. ##### setRenditionParams(String value) ``` public final void setRenditionParams(String value) ``` Sets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value that is used to provide additional rendition parameters. | ##### getVersionID() ``` public final String getVersionID() ``` Gets the document version identifier for this resource. **Returns:** java.lang.String - The document version identifier for this resource. ##### setVersionID(String value) ``` public final void setVersionID(String value) ``` Sets the document version identifier for this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The document version identifier for this resource. | ##### getVersions() ``` public final XmpVersion[] getVersions() ``` Gets the version history associated with this resource. **Returns:** com.groupdocs.metadata.core.XmpVersion[] - The version history associated with this resource. Entry [0] is the oldest known version for this document, entry [Versions.Length - 1] is the most recent version. ##### setVersions(XmpVersion[] value) ``` public final void setVersions(XmpVersion[] value) ``` Sets the version history associated with this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpVersion\[\] | The version history associated with this resource. Entry [0] is the oldest known version for this document, entry [Versions.Length - 1] is the most recent version. | ### XmpMeta Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpmeta.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpElementBase **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public final class XmpMeta extends XmpElementBase implements IXmpType ``` Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF. #### Constructors | Constructor | Description | | --- | --- | | XmpMeta() | | #### Methods | Method | Description | | --- | --- | | getAdobeXmpToolkit() | Gets Adobe XMP toolkit version. | | setAttribute(String attribute, String value) | Adds an attribute. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpMeta() ``` public XmpMeta() ``` ##### getAdobeXmpToolkit() ``` public final String getAdobeXmpToolkit() ``` Gets Adobe XMP toolkit version. **Returns:** java.lang.String - The toolkit version. ##### setAttribute(String attribute, String value) ``` public void setAttribute(String attribute, String value) ``` Adds an attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | The attribute. | | value | java.lang.String | The value. | ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpMetadataContainer Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpmetadatacontainer.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public abstract class XmpMetadataContainer extends CustomPackage implements IXmpType ``` Represents a container for XMP metadata properties. #### Methods | Method | Description | | --- | --- | | getXmpRepresentation() | Converts the XMP value to the XML representation. | ##### getXmpRepresentation() ``` public abstract String getXmpRepresentation() ``` Converts the XMP value to the XML representation. **Returns:** java.lang.String - A string representation of the XMP value. ### XmpNamespaces Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpnamespaces.md **Inheritance:** java.lang.Object ``` public class XmpNamespaces ``` Contains namespaces used in XmpPackage and XmpComplexType . #### Constructors | Constructor | Description | | --- | --- | | XmpNamespaces() | | #### Fields | Field | Description | | --- | --- | | Xml | Xml namespace. | | Rdf | Resource definition framework namespace. | | BasicJob | Basic Job Ticket namespace. | | CameraRaw | Camera Raw namespace. | | DublinCore | Dublin Core namespace. | | Iptc4XmpIim | IPTC IIM namespace. | | Iptc4XmpCore | IPTC Core namespace. | | Iptc4XmpExt | IPTC Extension namespace. | | XmpBasic | XMP Basic namespace. | | XmpRights | XMP Rights Management namespace. | | XmpMM | XMP digital asset management namespace. | | XmpDM | XMP Dynamic Media namespace. | | Pdf | Adobe PDF namespace. | | Photoshop | Adobe Photoshop namespace. | | PagedText | XMP Paged-Text namespace. | | XmpGraphics | XMP graphics namespace. | | XmpGraphicsThumbnail | XMP graphics namespace. | | XmpTypeFont | XMP Font type. | | XmpTypeDimensions | XMP Dimensions type. | | XmpTypeResourceRef | XMP ResourceRef URI. | | XmpTypeResourceEvent | XMP ResourceEvent URI. | | XmpTypeVersion | XMP Version. | | XmpTypeJob | XMP Job Ticket. | ##### XmpNamespaces() ``` public XmpNamespaces() ``` ##### Xml ``` public static final String Xml ``` Xml namespace. ##### Rdf ``` public static final String Rdf ``` Resource definition framework namespace. ##### BasicJob ``` public static final String BasicJob ``` Basic Job Ticket namespace. ##### CameraRaw ``` public static final String CameraRaw ``` Camera Raw namespace. ##### DublinCore ``` public static final String DublinCore ``` Dublin Core namespace. ##### Iptc4XmpIim ``` public static final String Iptc4XmpIim ``` IPTC IIM namespace. ##### Iptc4XmpCore ``` public static final String Iptc4XmpCore ``` IPTC Core namespace. ##### Iptc4XmpExt ``` public static final String Iptc4XmpExt ``` IPTC Extension namespace. ##### XmpBasic ``` public static final String XmpBasic ``` XMP Basic namespace. ##### XmpRights ``` public static final String XmpRights ``` XMP Rights Management namespace. ##### XmpMM ``` public static final String XmpMM ``` XMP digital asset management namespace. ##### XmpDM ``` public static final String XmpDM ``` XMP Dynamic Media namespace. ##### Pdf ``` public static final String Pdf ``` Adobe PDF namespace. ##### Photoshop ``` public static final String Photoshop ``` Adobe Photoshop namespace. ##### PagedText ``` public static final String PagedText ``` XMP Paged-Text namespace. ##### XmpGraphics ``` public static final String XmpGraphics ``` XMP graphics namespace. ##### XmpGraphicsThumbnail ``` public static final String XmpGraphicsThumbnail ``` XMP graphics namespace. ##### XmpTypeFont ``` public static final String XmpTypeFont ``` XMP Font type. ##### XmpTypeDimensions ``` public static final String XmpTypeDimensions ``` XMP Dimensions type. ##### XmpTypeResourceRef ``` public static final String XmpTypeResourceRef ``` XMP ResourceRef URI. ##### XmpTypeResourceEvent ``` public static final String XmpTypeResourceEvent ``` XMP ResourceEvent URI. ##### XmpTypeVersion ``` public static final String XmpTypeVersion ``` XMP Version. ##### XmpTypeJob ``` public static final String XmpTypeJob ``` XMP Job Ticket. ### XmpPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmppackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer ``` public class XmpPackage extends XmpMetadataContainer ``` Represents base abstraction for XMP package. This example demonstrates how to add a custom XMP package to a file of any supported format. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > IXmp root = (IXmp) metadata.getRootPackage(); > XmpPacketWrapper packet = new XmpPacketWrapper(); > XmpPackage custom = new XmpPackage("gd", "https://groupdocs.com"); > custom.set("gd:Copyright", "Copyright (C) 2011-2024 GroupDocs. All Rights Reserved."); > custom.set("gd:CreationDate", new Date()); > custom.set("gd:Company", XmpArray.from(new String[]{"Aspose", "GroupDocs"}, XmpArrayType.Ordered)); > packet.addPackage(custom); > root.setXmpPackage(packet); > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Constructors | Constructor | Description | | --- | --- | | XmpPackage(String prefix, String namespaceUri) | Initializes a new instance of the XmpPackage class. | #### Methods | Method | Description | | --- | --- | | getPrefix() | Gets the xmlns prefix. | | getNamespaceUri() | Gets the namespace URI. | | getXmlNamespace() | Gets the XML namespace. | | set(String name, String value) | Sets string property. | | set(String name, int value) | Sets integer property. | | set(String name, boolean value) | Sets boolean property. | | set(String name, Date value) | Sets DateTime property. | | set(String name, double value) | Sets double property. | | remove(String name) | Removes the property with the specified name. | | clear() | Removes all XMP properties. | | set(String name, XmpValueBase value) | Sets the value inherited from XmpValueBase . | | set(String name, XmpComplexType value) | Sets the value inherited from XmpComplexType . | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | | getXmpRepresentation() | Converts the XMP value to the XML representation. | ##### XmpPackage(String prefix, String namespaceUri) ``` public XmpPackage(String prefix, String namespaceUri) ``` Initializes a new instance of the XmpPackage class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | prefix | java.lang.String | XMP prefix, for example dc:title. | | namespaceUri | java.lang.String | Namespace uri. | ##### getPrefix() ``` public final String getPrefix() ``` Gets the xmlns prefix. **Returns:** java.lang.String - The prefix. ##### getNamespaceUri() ``` public final String getNamespaceUri() ``` Gets the namespace URI. **Returns:** java.lang.String - The namespace URI. ##### getXmlNamespace() ``` public final String getXmlNamespace() ``` Gets the XML namespace. **Returns:** java.lang.String - The XML namespace. ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, int value) ``` public final void set(String name, int value) ``` Sets integer property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | int | XMP metadata property value. | ##### set(String name, boolean value) ``` public final void set(String name, boolean value) ``` Sets boolean property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | boolean | XMP metadata property value. | ##### set(String name, Date value) ``` public final void set(String name, Date value) ``` Sets DateTime property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.util.Date | XMP metadata property value. | ##### set(String name, double value) ``` public final void set(String name, double value) ``` Sets double property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | double | XMP metadata property value. | ##### remove(String name) ``` public final boolean remove(String name) ``` Removes the property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | **Returns:** boolean - True if the specified metadata property is found and removed; otherwise, false. ##### clear() ``` public final void clear() ``` Removes all XMP properties. ##### set(String name, XmpValueBase value) ``` public final void set(String name, XmpValueBase value) ``` Sets the value inherited from XmpValueBase . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpValueBase | XMP metadata property value. | ##### set(String name, XmpComplexType value) ``` public void set(String name, XmpComplexType value) ``` Sets the value inherited from XmpComplexType . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpComplexType | XMP metadata property value. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Converts the XMP value to the XML representation. **Returns:** java.lang.String - A string representation of the XMP value. ### XmpPacketWrapper Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmppacketwrapper.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public class XmpPacketWrapper extends MetadataPackage implements IXmpType ``` Contains serialized XMP package including header and trailer. A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Constructors | Constructor | Description | | --- | --- | | XmpPacketWrapper(XmpHeaderPI header, XmpTrailerPI trailer, XmpMeta xmpMeta) | Initializes a new instance of the XmpPacketWrapper class. | | XmpPacketWrapper() | Initializes a new instance of the XmpPacketWrapper class. | #### Methods | Method | Description | | --- | --- | | getHeaderPI() | Gets the header processing instruction. | | setHeaderPI(XmpHeaderPI value) | Sets the header processing instruction. | | getMeta() | Gets the XMP meta. | | setMeta(XmpMeta value) | Sets the XMP meta. | | getTrailerPI() | Gets the trailer processing instruction. | | setTrailerPI(XmpTrailerPI value) | Sets the trailer processing instruction. | | getPackages() | Gets array of XmpPackage inside XMP. | | getPackageCount() | Gets the number of packages inside the XMP structure. | | getSchemes() | Provides access to known XMP schemas. | | addPackage(XmpPackage package_) | Adds the package. | | getPackage(String namespaceUri) | Gets package by namespace uri. | | containsPackage(String namespaceUri) | Determines whether package is exist in XMP wrapper. | | removePackage(XmpPackage package_) | Removes the specified package. | | clearPackages() | Removes all XmpPackage inside XMP. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpPacketWrapper(XmpHeaderPI header, XmpTrailerPI trailer, XmpMeta xmpMeta) ``` public XmpPacketWrapper(XmpHeaderPI header, XmpTrailerPI trailer, XmpMeta xmpMeta) ``` Initializes a new instance of the XmpPacketWrapper class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | header | XmpHeaderPI | XMP header processing instruction. | | trailer | XmpTrailerPI | XMP trailer processing instruction. | | xmpMeta | XmpMeta | Instance of XmpMeta . | ##### XmpPacketWrapper() ``` public XmpPacketWrapper() ``` Initializes a new instance of the XmpPacketWrapper class. ##### getHeaderPI() ``` public final XmpHeaderPI getHeaderPI() ``` Gets the header processing instruction. **Returns:** XmpHeaderPI - The header processing instruction. ##### setHeaderPI(XmpHeaderPI value) ``` public final void setHeaderPI(XmpHeaderPI value) ``` Sets the header processing instruction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpHeaderPI | The header processing instruction. | ##### getMeta() ``` public final XmpMeta getMeta() ``` Gets the XMP meta. **Returns:** XmpMeta - The XMP meta. ##### setMeta(XmpMeta value) ``` public final void setMeta(XmpMeta value) ``` Sets the XMP meta. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpMeta | The XMP meta. | ##### getTrailerPI() ``` public final XmpTrailerPI getTrailerPI() ``` Gets the trailer processing instruction. **Returns:** XmpTrailerPI - The trailer processing instruction. ##### setTrailerPI(XmpTrailerPI value) ``` public final void setTrailerPI(XmpTrailerPI value) ``` Sets the trailer processing instruction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTrailerPI | The trailer processing instruction. | ##### getPackages() ``` public final XmpPackage[] getPackages() ``` Gets array of XmpPackage inside XMP. **Returns:** com.groupdocs.metadata.core.XmpPackage[] - XMP packages. ##### getPackageCount() ``` public final int getPackageCount() ``` Gets the number of packages inside the XMP structure. **Returns:** int - The package count. ##### getSchemes() ``` public final XmpSchemes getSchemes() ``` Provides access to known XMP schemas. **Returns:** XmpSchemes - XMP schemes. ##### addPackage(XmpPackage package_) ``` public final void addPackage(XmpPackage package_) ``` Adds the package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | package_ | XmpPackage | | ##### getPackage(String namespaceUri) ``` public final XmpPackage getPackage(String namespaceUri) ``` Gets package by namespace uri. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | namespaceUri | java.lang.String | Package schema uri. | **Returns:** XmpPackage - Appropriate XmpPackage if package found by namespaceUri ; otherwise null. ##### containsPackage(String namespaceUri) ``` public final boolean containsPackage(String namespaceUri) ``` Determines whether package is exist in XMP wrapper. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | namespaceUri | java.lang.String | Package namespace URI. | **Returns:** boolean - true if package found by namespaceUri ; otherwise false . ##### removePackage(XmpPackage package_) ``` public final void removePackage(XmpPackage package_) ``` Removes the specified package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | package_ | XmpPackage | | ##### clearPackages() ``` public final void clearPackages() ``` Removes all XmpPackage inside XMP. ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpPagedTextPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmppagedtextpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpPagedTextPackage extends XmpPackage ``` Represents the XMP Paged-Text package. #### Constructors | Constructor | Description | | --- | --- | | XmpPagedTextPackage() | Initializes a new instance of the XmpPagedTextPackage class. | #### Methods | Method | Description | | --- | --- | | getColorants() | Gets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). | | setColorants(XmpColorantBase[] value) | Sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). | | getFonts() | Gets an unordered array of fonts that are used in the document (including any in contained documents). | | setFonts(XmpFont[] value) | Sets an unordered array of fonts that are used in the document (including any in contained documents). | | getMaxPageSize() | Gets the size of the largest page in the document (including any in contained documents). | | setMaxPageSize(XmpDimensions value) | Sets the size of the largest page in the document (including any in contained documents). | | getNumberOfPages() | Gets the number of pages in the document. | | setNumberOfPages(Integer value) | Sets the number of pages in the document. | | getPlateNames() | Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). | | setPlateNames(String[] value) | Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). | | set(String name, String value) | Sets string property. | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | ##### XmpPagedTextPackage() ``` public XmpPagedTextPackage() ``` Initializes a new instance of the XmpPagedTextPackage class. ##### getColorants() ``` public final XmpColorantBase[] getColorants() ``` Gets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). **Returns:** com.groupdocs.metadata.core.XmpColorantBase[] - An array of the colorants. ##### setColorants(XmpColorantBase[] value) ``` public final void setColorants(XmpColorantBase[] value) ``` Sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpColorantBase\[\] | An array of the colorants. | ##### getFonts() ``` public final XmpFont[] getFonts() ``` Gets an unordered array of fonts that are used in the document (including any in contained documents). **Returns:** com.groupdocs.metadata.core.XmpFont[] - An array of the fonts. ##### setFonts(XmpFont[] value) ``` public final void setFonts(XmpFont[] value) ``` Sets an unordered array of fonts that are used in the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpFont\[\] | An array of the fonts. | ##### getMaxPageSize() ``` public final XmpDimensions getMaxPageSize() ``` Gets the size of the largest page in the document (including any in contained documents). **Returns:** XmpDimensions - The size of the largest page. ##### setMaxPageSize(XmpDimensions value) ``` public final void setMaxPageSize(XmpDimensions value) ``` Sets the size of the largest page in the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDimensions | The size of the largest page. | ##### getNumberOfPages() ``` public final Integer getNumberOfPages() ``` Gets the number of pages in the document. **Returns:** java.lang.Integer - The number of pages. ##### setNumberOfPages(Integer value) ``` public final void setNumberOfPages(Integer value) ``` Sets the number of pages in the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The number of pages. | ##### getPlateNames() ``` public final String[] getPlateNames() ``` Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). **Returns:** java.lang.String[] - The plate names. ##### setPlateNames(String[] value) ``` public final void setPlateNames(String[] value) ``` Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpPdfPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmppdfpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpPdfPackage extends XmpPackage ``` Specifies properties used with Adobe PDF documents. #### Constructors | Constructor | Description | | --- | --- | | XmpPdfPackage() | Initializes a new instance of the XmpPdfPackage class. | #### Methods | Method | Description | | --- | --- | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getPdfVersion() | Gets the PDF file version. | | setPdfVersion(String value) | Sets the PDF file version. | | getProducer() | Gets the name of the tool that created the PDF document. | | setProducer(String value) | Sets the name of the tool that created the PDF document. | | isTrapped() | Gets a value indicating whether the document has been trapped. | | setTrapped(Boolean value) | Sets a value indicating whether the document has been trapped. | | set(String name, String value) | Sets string property. | ##### XmpPdfPackage() ``` public XmpPdfPackage() ``` Initializes a new instance of the XmpPdfPackage class. ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getPdfVersion() ``` public final String getPdfVersion() ``` Gets the PDF file version. For example, 1.0, 1.3 and so on. **Returns:** java.lang.String - The PDF version. ##### setPdfVersion(String value) ``` public final void setPdfVersion(String value) ``` Sets the PDF file version. For example, 1.0, 1.3 and so on. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The PDF version. | ##### getProducer() ``` public final String getProducer() ``` Gets the name of the tool that created the PDF document. **Returns:** java.lang.String - The producer. ##### setProducer(String value) ``` public final void setProducer(String value) ``` Sets the name of the tool that created the PDF document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The producer. | ##### isTrapped() ``` public final Boolean isTrapped() ``` Gets a value indicating whether the document has been trapped. **Returns:** java.lang.Boolean - true if the document has been trapped; otherwise, false . ##### setTrapped(Boolean value) ``` public final void setTrapped(Boolean value) ``` Sets a value indicating whether the document has been trapped. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the document has been trapped; otherwise, false . | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpPhotoshopColorMode Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpphotoshopcolormode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpPhotoshopColorMode extends Enum implements IEnumValue ``` Represents a color mode in XmpPhotoshopPackage . #### Fields | Field | Description | | --- | --- | | Bitmap | The bitmap color mode. | | GrayScale | The gray scale color mode. | | IndexedColor | The indexed color. | | Rgb | The RGB color mode. | | Cmyk | The CMYK color mode. | | MultiChannel | The multi-channel color mode. | | Duotone | The duo-tone color mode. | | LabColor | The LAB color mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Bitmap ``` public static final XmpPhotoshopColorMode Bitmap ``` The bitmap color mode. ##### GrayScale ``` public static final XmpPhotoshopColorMode GrayScale ``` The gray scale color mode. ##### IndexedColor ``` public static final XmpPhotoshopColorMode IndexedColor ``` The indexed color. ##### Rgb ``` public static final XmpPhotoshopColorMode Rgb ``` The RGB color mode. ##### Cmyk ``` public static final XmpPhotoshopColorMode Cmyk ``` The CMYK color mode. ##### MultiChannel ``` public static final XmpPhotoshopColorMode MultiChannel ``` The multi-channel color mode. ##### Duotone ``` public static final XmpPhotoshopColorMode Duotone ``` The duo-tone color mode. ##### LabColor ``` public static final XmpPhotoshopColorMode LabColor ``` The LAB color mode. ##### values() ``` public static XmpPhotoshopColorMode[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpPhotoshopColorMode[] ##### valueOf(String name) ``` public static XmpPhotoshopColorMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpPhotoshopColorMode ##### getByRawValue(int rawValue) ``` public static XmpPhotoshopColorMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpPhotoshopColorMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpPhotoshopPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpphotoshoppackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpPhotoshopPackage extends XmpPackage ``` Represents Adobe Photoshop namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpPhotoshopPackage() | Initializes a new instance of the XmpPhotoshopPackage class. | #### Fields | Field | Description | | --- | --- | | UrgencyMax | Urgency max value. | | UrgencyMin | Urgency min value. | #### Methods | Method | Description | | --- | --- | | getAuthorsPosition() | Gets the by-line title. | | setAuthorsPosition(String value) | Sets the by-line title. | | getCaptionWriter() | Gets the writer/editor. | | setCaptionWriter(String value) | Sets the writer/editor. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getCity() | Gets the city. | | setCity(String value) | Sets the city. | | getColorMode() | Gets the color mode. | | setColorMode(XmpPhotoshopColorMode value) | Sets the color mode. | | getCountry() | Gets the country. | | setCountry(String value) | Sets the country. | | getCredit() | Gets the credit. | | setCredit(String value) | Sets the credit. | | getDateCreated() | Gets the date the intellectual content of the document was created. | | setDateCreated(Date value) | Sets the date the intellectual content of the document was created. | | getHeadline() | Gets the headline. | | setHeadline(String value) | Sets the headline. | | getHistory() | Gets the history that appears in the FileInfo panel, if activated in the application preferences. | | setHistory(String value) | Sets the history that appears in the FileInfo panel, if activated in the application preferences. | | getIccProfile() | Gets the color profile, such as AppleRGB, AdobeRGB1998. | | setIccProfile(String value) | Sets the color profile, such as AppleRGB, AdobeRGB1998. | | getInstructions() | Gets the special instructions. | | setInstructions(String value) | Sets the special instructions. | | getSource() | Gets the source. | | setSource(String value) | Sets the source. | | getState() | Gets the province/state. | | setState(String value) | Sets the province/state. | | getSupplementalCategories() | Gets the supplemental categories. | | setSupplementalCategories(String[] value) | Sets the supplemental categories. | | getTransmissionReference() | Gets the original transmission reference. | | setTransmissionReference(String value) | Sets the original transmission reference. | | getUrgency() | Gets the urgency. | | setUrgency(Integer value) | Sets the urgency. | | set(String name, String value) | Sets string property. | ##### XmpPhotoshopPackage() ``` public XmpPhotoshopPackage() ``` Initializes a new instance of the XmpPhotoshopPackage class. ##### UrgencyMax ``` public static final int UrgencyMax ``` Urgency max value. ##### UrgencyMin ``` public static final int UrgencyMin ``` Urgency min value. ##### getAuthorsPosition() ``` public final String getAuthorsPosition() ``` Gets the by-line title. **Returns:** java.lang.String - The authors position. ##### setAuthorsPosition(String value) ``` public final void setAuthorsPosition(String value) ``` Sets the by-line title. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The authors position. | ##### getCaptionWriter() ``` public final String getCaptionWriter() ``` Gets the writer/editor. **Returns:** java.lang.String - The caption writer. ##### setCaptionWriter(String value) ``` public final void setCaptionWriter(String value) ``` Sets the writer/editor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The caption writer. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. Limited to 3 7-bit ASCII characters. **Returns:** java.lang.String - The category. Limited to 3 ASCII characters. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. Limited to 3 7-bit ASCII characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. Limited to 3 ASCII characters. | ##### getCity() ``` public final String getCity() ``` Gets the city. **Returns:** java.lang.String - The city. ##### setCity(String value) ``` public final void setCity(String value) ``` Sets the city. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The city. | ##### getColorMode() ``` public final XmpPhotoshopColorMode getColorMode() ``` Gets the color mode. **Returns:** XmpPhotoshopColorMode - The color mode. ##### setColorMode(XmpPhotoshopColorMode value) ``` public final void setColorMode(XmpPhotoshopColorMode value) ``` Sets the color mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPhotoshopColorMode | The color mode. | ##### getCountry() ``` public final String getCountry() ``` Gets the country. **Returns:** java.lang.String - The country. ##### setCountry(String value) ``` public final void setCountry(String value) ``` Sets the country. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The country. | ##### getCredit() ``` public final String getCredit() ``` Gets the credit. **Returns:** java.lang.String - The credit. ##### setCredit(String value) ``` public final void setCredit(String value) ``` Sets the credit. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The credit. | ##### getDateCreated() ``` public final Date getDateCreated() ``` Gets the date the intellectual content of the document was created. **Returns:** java.util.Date - The created date of the document. ##### setDateCreated(Date value) ``` public final void setDateCreated(Date value) ``` Sets the date the intellectual content of the document was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The created date of the document. | ##### getHeadline() ``` public final String getHeadline() ``` Gets the headline. **Returns:** java.lang.String - The headline. ##### setHeadline(String value) ``` public final void setHeadline(String value) ``` Sets the headline. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The headline. | ##### getHistory() ``` public final String getHistory() ``` Gets the history that appears in the FileInfo panel, if activated in the application preferences. **Returns:** java.lang.String - The history. ##### setHistory(String value) ``` public final void setHistory(String value) ``` Sets the history that appears in the FileInfo panel, if activated in the application preferences. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The history. | ##### getIccProfile() ``` public final String getIccProfile() ``` Gets the color profile, such as AppleRGB, AdobeRGB1998. **Returns:** java.lang.String - The ICC profile. ##### setIccProfile(String value) ``` public final void setIccProfile(String value) ``` Sets the color profile, such as AppleRGB, AdobeRGB1998. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The ICC profile. | ##### getInstructions() ``` public final String getInstructions() ``` Gets the special instructions. **Returns:** java.lang.String - The special instructions. ##### setInstructions(String value) ``` public final void setInstructions(String value) ``` Sets the special instructions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The special instructions. | ##### getSource() ``` public final String getSource() ``` Gets the source. **Returns:** java.lang.String - The source. ##### setSource(String value) ``` public final void setSource(String value) ``` Sets the source. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The source. | ##### getState() ``` public final String getState() ``` Gets the province/state. **Returns:** java.lang.String - The province/state. ##### setState(String value) ``` public final void setState(String value) ``` Sets the province/state. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The province/state. | ##### getSupplementalCategories() ``` public final String[] getSupplementalCategories() ``` Gets the supplemental categories. **Returns:** java.lang.String[] - The supplemental categories. ##### setSupplementalCategories(String[] value) ``` public final void setSupplementalCategories(String[] value) ``` Sets the supplemental categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The supplemental categories. | ##### getTransmissionReference() ``` public final String getTransmissionReference() ``` Gets the original transmission reference. **Returns:** java.lang.String - The transmission reference. ##### setTransmissionReference(String value) ``` public final void setTransmissionReference(String value) ``` Sets the original transmission reference. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The transmission reference. | ##### getUrgency() ``` public final Integer getUrgency() ``` Gets the urgency. **Returns:** java.lang.Integer - The urgency. Valid range is 1-8. ##### setUrgency(Integer value) ``` public final void setUrgency(Integer value) ``` Sets the urgency. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The urgency. Valid range is 1-8. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpRational Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmprational.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpRational extends XmpValueBase ``` Represents XMP XmpRational. #### Constructors | Constructor | Description | | --- | --- | | XmpRational(long numerator, long denominator) | Initializes a new instance of the XmpRational class. | | XmpRational(String value) | Initializes a new instance of the XmpBoolean class. | #### Methods | Method | Description | | --- | --- | | getNumerator() | Gets numerator. | | getDenominator() | Gets denominator | | getDoubleValue() | Gets value of rational type presented in double format. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpRational(long numerator, long denominator) ``` public XmpRational(long numerator, long denominator) ``` Initializes a new instance of the XmpRational class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | long | The numerator. | | denominator | long | The denominator. | ##### XmpRational(String value) ``` public XmpRational(String value) ``` Initializes a new instance of the XmpBoolean class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getNumerator() ``` public final long getNumerator() ``` Gets numerator. **Returns:** long - The numerator. ##### getDenominator() ``` public final long getDenominator() ``` Gets denominator **Returns:** long - The denominator. ##### getDoubleValue() ``` public final double getDoubleValue() ``` Gets value of rational type presented in double format. **Returns:** double - Double value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpReal Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpreal.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpReal extends XmpValueBase ``` Represents XMP Real. #### Constructors | Constructor | Description | | --- | --- | | XmpReal(double value) | Initializes a new instance of the XmpReal class. | | XmpReal(String value) | Initializes a new instance of the XmpReal class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpReal(double value) ``` public XmpReal(double value) ``` Initializes a new instance of the XmpReal class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | Double value. | ##### XmpReal(String value) ``` public XmpReal(String value) ``` Initializes a new instance of the XmpReal class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getValue() ``` public final double getValue() ``` Gets the value. **Returns:** double - Double value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpRenditionClass Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmprenditionclass.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase, com.groupdocs.metadata.core.XmpText ``` public final class XmpRenditionClass extends XmpText ``` Represents XMP RenditionClass. #### Constructors | Constructor | Description | | --- | --- | | XmpRenditionClass(String[] tokens) | Initializes a new instance of the XmpRenditionClass class. | #### Fields | Field | Description | | --- | --- | | Default | The master resource; no additional tokens allowed. | | Draft | A review rendition. | | LowRes | A low-resolution, full-size stand-in. | | Proof | A review proof. | | Screen | Screen resolution or Web rendition. | | Thumbnail | A simplified or reduced preview. | ##### XmpRenditionClass(String[] tokens) ``` public XmpRenditionClass(String[] tokens) ``` Initializes a new instance of the XmpRenditionClass class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tokens | java.lang.String[] | The token. | ##### Default ``` public static final String Default ``` The master resource; no additional tokens allowed. ##### Draft ``` public static final String Draft ``` A review rendition. ##### LowRes ``` public static final String LowRes ``` A low-resolution, full-size stand-in. ##### Proof ``` public static final String Proof ``` A review proof. ##### Screen ``` public static final String Screen ``` Screen resolution or Web rendition. ##### Thumbnail ``` public static final String Thumbnail ``` A simplified or reduced preview. Additional tokens can provide characteristics. The recommended order is thumbnail:format:size:colorspace. ### XmpResourceEvent Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpresourceevent.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpResourceEvent extends XmpComplexType ``` Represents a high-level event that occurred in the processing of a resource. #### Constructors | Constructor | Description | | --- | --- | | XmpResourceEvent() | Initializes a new instance of the XmpResourceEvent class. | #### Methods | Method | Description | | --- | --- | | getAction() | Gets the action that occurred. | | setAction(String value) | Sets the action that occurred. | | getChanged() | Gets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. | | setChanged(String value) | Sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. | | getInstanceID() | Gets the value of the xmpMM:InstanceID property for the modified (output) resource. | | setInstanceID(String value) | Sets the value of the xmpMM:InstanceID property for the modified (output) resource. | | getParameters() | Gets the additional description of the action. | | setParameters(String value) | Sets the additional description of the action. | | getSoftwareAgent() | Gets the software agent that performed the action. | | setSoftwareAgent(String value) | Sets the software agent that performed the action. | | getWhen() | Gets the timestamp of when the action occurred. | | setWhen(Date value) | Sets the timestamp of when the action occurred. | ##### XmpResourceEvent() ``` public XmpResourceEvent() ``` Initializes a new instance of the XmpResourceEvent class. ##### getAction() ``` public final String getAction() ``` Gets the action that occurred. **Returns:** java.lang.String - The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version\_updated, printed, published, managed, produced, resized, saved. New values should be verbs in the past tense. ##### setAction(String value) ``` public final void setAction(String value) ``` Sets the action that occurred. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version\_updated, printed, published, managed, produced, resized, saved. New values should be verbs in the past tense. | ##### getChanged() ``` public final String getChanged() ``` Gets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. **Returns:** java.lang.String - A semicolon-delimited list of the parts of the resource that were changed since the previous event history. ##### setChanged(String value) ``` public final void setChanged(String value) ``` Sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A semicolon-delimited list of the parts of the resource that were changed since the previous event history. | ##### getInstanceID() ``` public final String getInstanceID() ``` Gets the value of the xmpMM:InstanceID property for the modified (output) resource. **Returns:** java.lang.String - The value of the xmpMM:InstanceID property for the modified (output) resource. ##### setInstanceID(String value) ``` public final void setInstanceID(String value) ``` Sets the value of the xmpMM:InstanceID property for the modified (output) resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:InstanceID property for the modified (output) resource. | ##### getParameters() ``` public final String getParameters() ``` Gets the additional description of the action. **Returns:** java.lang.String - The Additional description of the action. ##### setParameters(String value) ``` public final void setParameters(String value) ``` Sets the additional description of the action. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Additional description of the action. | ##### getSoftwareAgent() ``` public final String getSoftwareAgent() ``` Gets the software agent that performed the action. **Returns:** java.lang.String - The software agent that performed the action. ##### setSoftwareAgent(String value) ``` public final void setSoftwareAgent(String value) ``` Sets the software agent that performed the action. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The software agent that performed the action. | ##### getWhen() ``` public final Date getWhen() ``` Gets the timestamp of when the action occurred. **Returns:** java.util.Date - The timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file. ##### setWhen(Date value) ``` public final void setWhen(Date value) ``` Sets the timestamp of when the action occurred. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file. | ### XmpResourceRef Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpresourceref.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpResourceRef extends XmpComplexType ``` Represents a multiple part reference to a resource. Used to indicate prior versions, originals of renditions, originals for derived documents, and so on. #### Constructors | Constructor | Description | | --- | --- | | XmpResourceRef() | Initializes a new instance of the XmpResourceRef class. | #### Methods | Method | Description | | --- | --- | | getAlternatePaths() | Gets the referenced resource\\u2019s fallback file paths or URLs. | | setAlternatePaths(String[] value) | Sets the referenced resource\\u2019s fallback file paths or URLs. | | getDocumentID() | Gets the value of the xmpMM:DocumentID property from the referenced resource. | | setDocumentID(String value) | Sets the value of the xmpMM:DocumentID property from the referenced resource. | | getFilePath() | Gets the referenced resource\\u2019s file path or URL. | | setFilePath(String value) | Sets the referenced resource\\u2019s file path or URL. | | getInstanceID() | Gets the value of the xmpMM:InstanceID property from the referenced resource. | | setInstanceID(String value) | Sets the value of the xmpMM:InstanceID property from the referenced resource. | | getLastModifyDate() | Gets the value of stEvt:when for the last time the file was written. | | setLastModifyDate(Date value) | Sets the value of stEvt:when for the last time the file was written. | | getManager() | Gets the referenced resource\\u2019s xmpMM:Manager. | | setManager(String value) | Sets the referenced resource\\u2019s xmpMM:Manager. | | getManagerVariant() | Gets the referenced resource\\u2019s xmpMM:Manager. | | setManagerVariant(String value) | Sets the referenced resource\\u2019s xmpMM:Manager. | | getManageTo() | Gets the referenced resource\\u2019s xmpMM:ManageTo. | | setManageTo(String value) | Sets the referenced resource\\u2019s xmpMM:ManageTo. | | getManageUI() | Gets the referenced resource\\u2019s xmpMM:ManageUI. | | setManageUI(String value) | Sets the referenced resource\\u2019s xmpMM:ManageUI. | | getPartMapping() | Gets the name or URI of a mapping function used to map the fromPart to the toPart. | | setPartMapping(String value) | Sets the name or URI of a mapping function used to map the fromPart to the toPart. | | getRenditionClass() | Gets the value of the xmpMM:RenditionClass property from the referenced resource. | | setRenditionClass(String value) | Sets the value of the xmpMM:RenditionClass property from the referenced resource. | | getRenditionParams() | Gets the value of the xmpMM:RenditionParams property from the referenced resource. | | setRenditionParams(String value) | Sets the value of the xmpMM:RenditionParams property from the referenced resource. | | getVersionID() | Gets the value of the xmpMM:RenditionParams property from the referenced resource. | | setVersionID(String value) | Sets the value of the xmpMM:RenditionParams property from the referenced resource. | ##### XmpResourceRef() ``` public XmpResourceRef() ``` Initializes a new instance of the XmpResourceRef class. ##### getAlternatePaths() ``` public final String[] getAlternatePaths() ``` Gets the referenced resource\\u2019s fallback file paths or URLs. **Returns:** java.lang.String[] - The referenced resource\\u2019s fallback file paths or URLs. The sequence order is the recommended order in attempting to locate the resource. ##### setAlternatePaths(String[] value) ``` public final void setAlternatePaths(String[] value) ``` Sets the referenced resource\\u2019s fallback file paths or URLs. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The referenced resource\\u2019s fallback file paths or URLs. The sequence order is the recommended order in attempting to locate the resource. | ##### getDocumentID() ``` public final String getDocumentID() ``` Gets the value of the xmpMM:DocumentID property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:DocumentID property from the referenced resource. ##### setDocumentID(String value) ``` public final void setDocumentID(String value) ``` Sets the value of the xmpMM:DocumentID property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:DocumentID property from the referenced resource. | ##### getFilePath() ``` public final String getFilePath() ``` Gets the referenced resource\\u2019s file path or URL. **Returns:** java.lang.String - The referenced resource\\u2019s file path or URL. ##### setFilePath(String value) ``` public final void setFilePath(String value) ``` Sets the referenced resource\\u2019s file path or URL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s file path or URL. | ##### getInstanceID() ``` public final String getInstanceID() ``` Gets the value of the xmpMM:InstanceID property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:InstanceID property from the referenced resource. ##### setInstanceID(String value) ``` public final void setInstanceID(String value) ``` Sets the value of the xmpMM:InstanceID property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:InstanceID property from the referenced resource. | ##### getLastModifyDate() ``` public final Date getLastModifyDate() ``` Gets the value of stEvt:when for the last time the file was written. **Returns:** java.util.Date - The value of stEvt:when for the last time the file was written. ##### setLastModifyDate(Date value) ``` public final void setLastModifyDate(Date value) ``` Sets the value of stEvt:when for the last time the file was written. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The value of stEvt:when for the last time the file was written. | ##### getManager() ``` public final String getManager() ``` Gets the referenced resource\\u2019s xmpMM:Manager. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:Manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the referenced resource\\u2019s xmpMM:Manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:Manager. | ##### getManagerVariant() ``` public final String getManagerVariant() ``` Gets the referenced resource\\u2019s xmpMM:Manager. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:Manager. ##### setManagerVariant(String value) ``` public final void setManagerVariant(String value) ``` Sets the referenced resource\\u2019s xmpMM:Manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:Manager. | ##### getManageTo() ``` public final String getManageTo() ``` Gets the referenced resource\\u2019s xmpMM:ManageTo. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:ManageTo. ##### setManageTo(String value) ``` public final void setManageTo(String value) ``` Sets the referenced resource\\u2019s xmpMM:ManageTo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:ManageTo. | ##### getManageUI() ``` public final String getManageUI() ``` Gets the referenced resource\\u2019s xmpMM:ManageUI. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:ManageUI. ##### setManageUI(String value) ``` public final void setManageUI(String value) ``` Sets the referenced resource\\u2019s xmpMM:ManageUI. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:ManageUI. | ##### getPartMapping() ``` public final String getPartMapping() ``` Gets the name or URI of a mapping function used to map the fromPart to the toPart. **Returns:** java.lang.String - The name or URI of a mapping function used to map the fromPart to the toPart. The default for time mappings is "linear". ##### setPartMapping(String value) ``` public final void setPartMapping(String value) ``` Sets the name or URI of a mapping function used to map the fromPart to the toPart. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name or URI of a mapping function used to map the fromPart to the toPart. The default for time mappings is "linear". | ##### getRenditionClass() ``` public final String getRenditionClass() ``` Gets the value of the xmpMM:RenditionClass property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:RenditionClass property from the referenced resource. ##### setRenditionClass(String value) ``` public final void setRenditionClass(String value) ``` Sets the value of the xmpMM:RenditionClass property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:RenditionClass property from the referenced resource. | ##### getRenditionParams() ``` public final String getRenditionParams() ``` Gets the value of the xmpMM:RenditionParams property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:RenditionParams property from the referenced resource. ##### setRenditionParams(String value) ``` public final void setRenditionParams(String value) ``` Sets the value of the xmpMM:RenditionParams property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:RenditionParams property from the referenced resource. | ##### getVersionID() ``` public final String getVersionID() ``` Gets the value of the xmpMM:RenditionParams property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:RenditionParams property from the referenced resource. ##### setVersionID(String value) ``` public final void setVersionID(String value) ``` Sets the value of the xmpMM:RenditionParams property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:RenditionParams property from the referenced resource. | ### XmpRightsManagementPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmprightsmanagementpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpRightsManagementPackage extends XmpPackage ``` Represents XMP Rights Management namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpRightsManagementPackage() | Initializes a new instance of the XmpRightsManagementPackage class. | #### Methods | Method | Description | | --- | --- | | getCertificate() | Gets the Web URL for a rights management certificate. | | setCertificate(String value) | Sets the Web URL for a rights management certificate. | | getMarked() | Gets a value indicating whether this is a rights-managed resource. | | setMarked(Boolean value) | Sets a value indicating whether this is a rights-managed resource. | | getOwners() | Gets the legal owners. | | setOwners(String[] value) | Sets the legal owners. | | getUsageTerms() | Gets the instructions on how the resource can be legally used, given in a variety of languages. | | setUsageTerms(XmpLangAlt value) | Sets the instructions on how the resource can be legally used, given in a variety of languages. | | getWebStatement() | Gets the Web URL for a statement of the ownership and usage rights for this resource. | | setWebStatement(String value) | Sets the Web URL for a statement of the ownership and usage rights for this resource. | | set(String name, String value) | Sets string property. | ##### XmpRightsManagementPackage() ``` public XmpRightsManagementPackage() ``` Initializes a new instance of the XmpRightsManagementPackage class. ##### getCertificate() ``` public final String getCertificate() ``` Gets the Web URL for a rights management certificate. **Returns:** java.lang.String - The Web URL for a rights management certificate. ##### setCertificate(String value) ``` public final void setCertificate(String value) ``` Sets the Web URL for a rights management certificate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Web URL for a rights management certificate. | ##### getMarked() ``` public final Boolean getMarked() ``` Gets a value indicating whether this is a rights-managed resource. **Returns:** java.lang.Boolean - true if the resource is rights-managed; otherwise false . When false, indicates that this is a public-domain resource. Omit if the state is unknown. ##### setMarked(Boolean value) ``` public final void setMarked(Boolean value) ``` Sets a value indicating whether this is a rights-managed resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the resource is rights-managed; otherwise false . When false, indicates that this is a public-domain resource. Omit if the state is unknown. | ##### getOwners() ``` public final String[] getOwners() ``` Gets the legal owners. **Returns:** java.lang.String[] - The legal owners. ##### setOwners(String[] value) ``` public final void setOwners(String[] value) ``` Sets the legal owners. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The legal owners. | ##### getUsageTerms() ``` public final XmpLangAlt getUsageTerms() ``` Gets the instructions on how the resource can be legally used, given in a variety of languages. **Returns:** XmpLangAlt - The instructions on how the resource can be legally used, given in a variety of languages. ##### setUsageTerms(XmpLangAlt value) ``` public final void setUsageTerms(XmpLangAlt value) ``` Sets the instructions on how the resource can be legally used, given in a variety of languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | The instructions on how the resource can be legally used, given in a variety of languages. | ##### getWebStatement() ``` public final String getWebStatement() ``` Gets the Web URL for a statement of the ownership and usage rights for this resource. **Returns:** java.lang.String - The Web URL for a statement of the ownership and usage rights for this resource. ##### setWebStatement(String value) ``` public final void setWebStatement(String value) ``` Sets the Web URL for a statement of the ownership and usage rights for this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Web URL for a statement of the ownership and usage rights for this resource. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpSchemes Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpschemes.md **Inheritance:** java.lang.Object ``` public final class XmpSchemes ``` Provides access to known XMP schemes. #### Methods | Method | Description | | --- | --- | | getCameraRaw() | Gets the Camera Raw scheme. | | setCameraRaw(XmpCameraRawPackage value) | Sets the Camera Raw scheme. | | getDublinCore() | Gets the Dublin Core scheme. | | setDublinCore(XmpDublinCorePackage value) | Sets the Dublin Core scheme. | | getPagedText() | Gets the PagedText scheme. | | setPagedText(XmpPagedTextPackage value) | Sets the PagedText scheme. | | getPdf() | Gets the PDF scheme. | | setPdf(XmpPdfPackage value) | Sets the PDF scheme. | | getPhotoshop() | Gets the Photoshop scheme. | | setPhotoshop(XmpPhotoshopPackage value) | Sets the Photoshop scheme. | | getXmpBasic() | Gets the XmpBasic scheme. | | setXmpBasic(XmpBasicPackage value) | Sets the XmpBasic scheme. | | getXmpDynamicMedia() | Gets the XmpDynamicMedia scheme. | | setXmpDynamicMedia(XmpDynamicMediaPackage value) | Sets the XmpDynamicMedia scheme. | | getXmpMediaManagement() | Gets the XmpMediaManagement schema. | | setXmpMediaManagement(XmpMediaManagementPackage value) | Sets the XmpMediaManagement schema. | | getXmpRightsManagement() | Gets the XmpRightsManagement schema. | | setXmpRightsManagement(XmpRightsManagementPackage value) | Sets the XmpRightsManagement schema. | | getBasicJobTicket() | Gets the BasicJobTicket scheme. | | setBasicJobTicket(XmpBasicJobTicketPackage value) | Sets the BasicJobTicket scheme. | ##### getCameraRaw() ``` public final XmpCameraRawPackage getCameraRaw() ``` Gets the Camera Raw scheme. **Returns:** XmpCameraRawPackage - The camera raw namespace. ##### setCameraRaw(XmpCameraRawPackage value) ``` public final void setCameraRaw(XmpCameraRawPackage value) ``` Sets the Camera Raw scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpCameraRawPackage | The camera raw namespace. | ##### getDublinCore() ``` public final XmpDublinCorePackage getDublinCore() ``` Gets the Dublin Core scheme. **Returns:** XmpDublinCorePackage - The dublin core namespace. ##### setDublinCore(XmpDublinCorePackage value) ``` public final void setDublinCore(XmpDublinCorePackage value) ``` Sets the Dublin Core scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDublinCorePackage | The dublin core namespace. | ##### getPagedText() ``` public final XmpPagedTextPackage getPagedText() ``` Gets the PagedText scheme. **Returns:** XmpPagedTextPackage - The paged text namespace. ##### setPagedText(XmpPagedTextPackage value) ``` public final void setPagedText(XmpPagedTextPackage value) ``` Sets the PagedText scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPagedTextPackage | The paged text namespace. | ##### getPdf() ``` public final XmpPdfPackage getPdf() ``` Gets the PDF scheme. **Returns:** XmpPdfPackage - The PDF namespace. ##### setPdf(XmpPdfPackage value) ``` public final void setPdf(XmpPdfPackage value) ``` Sets the PDF scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPdfPackage | The PDF namespace. | ##### getPhotoshop() ``` public final XmpPhotoshopPackage getPhotoshop() ``` Gets the Photoshop scheme. **Returns:** XmpPhotoshopPackage - The photoshop namespace. ##### setPhotoshop(XmpPhotoshopPackage value) ``` public final void setPhotoshop(XmpPhotoshopPackage value) ``` Sets the Photoshop scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPhotoshopPackage | The photoshop namespace. | ##### getXmpBasic() ``` public final XmpBasicPackage getXmpBasic() ``` Gets the XmpBasic scheme. **Returns:** XmpBasicPackage - The XMP basic namespace. ##### setXmpBasic(XmpBasicPackage value) ``` public final void setXmpBasic(XmpBasicPackage value) ``` Sets the XmpBasic scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpBasicPackage | The XMP basic namespace. | ##### getXmpDynamicMedia() ``` public final XmpDynamicMediaPackage getXmpDynamicMedia() ``` Gets the XmpDynamicMedia scheme. **Returns:** XmpDynamicMediaPackage - The XMP dynamic media namespace. ##### setXmpDynamicMedia(XmpDynamicMediaPackage value) ``` public final void setXmpDynamicMedia(XmpDynamicMediaPackage value) ``` Sets the XmpDynamicMedia scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDynamicMediaPackage | The XMP dynamic media namespace. | ##### getXmpMediaManagement() ``` public final XmpMediaManagementPackage getXmpMediaManagement() ``` Gets the XmpMediaManagement schema. **Returns:** XmpMediaManagementPackage - The XMP media management namespace. ##### setXmpMediaManagement(XmpMediaManagementPackage value) ``` public final void setXmpMediaManagement(XmpMediaManagementPackage value) ``` Sets the XmpMediaManagement schema. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpMediaManagementPackage | The XMP media management namespace. | ##### getXmpRightsManagement() ``` public final XmpRightsManagementPackage getXmpRightsManagement() ``` Gets the XmpRightsManagement schema. **Returns:** XmpRightsManagementPackage - The XMP rights management namespace. ##### setXmpRightsManagement(XmpRightsManagementPackage value) ``` public final void setXmpRightsManagement(XmpRightsManagementPackage value) ``` Sets the XmpRightsManagement schema. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRightsManagementPackage | The XMP rights management namespace. | ##### getBasicJobTicket() ``` public final XmpBasicJobTicketPackage getBasicJobTicket() ``` Gets the BasicJobTicket scheme. **Returns:** XmpBasicJobTicketPackage - The XMP job ticket namespace. ##### setBasicJobTicket(XmpBasicJobTicketPackage value) ``` public final void setBasicJobTicket(XmpBasicJobTicketPackage value) ``` Sets the BasicJobTicket scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpBasicJobTicketPackage | The XMP job ticket namespace. | ### XmpText Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmptext.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public class XmpText extends XmpValueBase ``` Represents XMP Text basic type. #### Constructors | Constructor | Description | | --- | --- | | XmpText(String value) | Initializes a new instance of the XmpText class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpText(String value) ``` public XmpText(String value) ``` Initializes a new instance of the XmpText class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getValue() ``` public final String getValue() ``` Gets the value. **Returns:** java.lang.String - Text value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpThumbnail Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpthumbnail.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpThumbnail extends XmpComplexType ``` Represents a thumbnail image for a file. #### Constructors | Constructor | Description | | --- | --- | | XmpThumbnail() | Initializes a new instance of the XmpThumbnail class. | | XmpThumbnail(int width, int height) | Initializes a new instance of the XmpThumbnail class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the image width in pixels. | | setWidth(Integer value) | Sets the image width in pixels. | | getHeight() | Gets the image height in pixels. | | setHeight(Integer value) | Sets the image height in pixels. | | getImageBase64() | Gets the full thumbnail image data, converted to base 64 notation. | | setImageBase64(String value) | Sets the full thumbnail image data, converted to base 64 notation. | | getImageData() | Gets the image data. | | getFormat() | Gets the image format. | | setFormat(String value) | Sets the image format. | ##### XmpThumbnail() ``` public XmpThumbnail() ``` Initializes a new instance of the XmpThumbnail class. ##### XmpThumbnail(int width, int height) ``` public XmpThumbnail(int width, int height) ``` Initializes a new instance of the XmpThumbnail class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | The width. | | height | int | The height. | ##### getWidth() ``` public final Integer getWidth() ``` Gets the image width in pixels. **Returns:** java.lang.Integer - The thumbnail width. ##### setWidth(Integer value) ``` public final void setWidth(Integer value) ``` Sets the image width in pixels. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The thumbnail width. | ##### getHeight() ``` public final Integer getHeight() ``` Gets the image height in pixels. **Returns:** java.lang.Integer - The thumbnail height. ##### setHeight(Integer value) ``` public final void setHeight(Integer value) ``` Sets the image height in pixels. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The thumbnail height. | ##### getImageBase64() ``` public final String getImageBase64() ``` Gets the full thumbnail image data, converted to base 64 notation. **Returns:** java.lang.String - The full thumbnail image data, converted to base 64 notation. ##### setImageBase64(String value) ``` public final void setImageBase64(String value) ``` Sets the full thumbnail image data, converted to base 64 notation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The full thumbnail image data, converted to base 64 notation. | ##### getImageData() ``` public final byte[] getImageData() ``` Gets the image data. **Returns:** byte[] - The image data. ##### getFormat() ``` public final String getFormat() ``` Gets the image format. Defined value: JPEG. **Returns:** java.lang.String - The thumbnail format. ##### setFormat(String value) ``` public final void setFormat(String value) ``` Sets the image format. Defined value: JPEG. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The thumbnail format. | ### XmpTime Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmptime.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpTime extends XmpComplexType ``` Representation of a time value in seconds. #### Constructors | Constructor | Description | | --- | --- | | XmpTime() | Initializes a new instance of the XmpTime class. | | XmpTime(XmpRational scale, int value) | Initializes a new instance of the XmpTime class. | #### Methods | Method | Description | | --- | --- | | getScale() | Gets the scale for the time value. | | setScale(XmpRational value) | Sets the scale for the time value. | | getValue() | Gets the time value in the specified scale. | | setValue(Integer value) | Sets the time value in the specified scale. | ##### XmpTime() ``` public XmpTime() ``` Initializes a new instance of the XmpTime class. ##### XmpTime(XmpRational scale, int value) ``` public XmpTime(XmpRational scale, int value) ``` Initializes a new instance of the XmpTime class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | scale | XmpRational | The scale. | | value | int | The value. | ##### getScale() ``` public final XmpRational getScale() ``` Gets the scale for the time value. **Returns:** XmpRational - The scale for the time value. For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25. ##### setScale(XmpRational value) ``` public final void setScale(XmpRational value) ``` Sets the scale for the time value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRational | The scale for the time value. For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25. | ##### getValue() ``` public final Integer getValue() ``` Gets the time value in the specified scale. **Returns:** java.lang.Integer - The time value in the specified scale. ##### setValue(Integer value) ``` public final void setValue(Integer value) ``` Sets the time value in the specified scale. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The time value in the specified scale. | ### XmpTimecode Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmptimecode.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpTimecode extends XmpComplexType ``` Represents a timecode value in a video. #### Constructors | Constructor | Description | | --- | --- | | XmpTimecode() | Initializes a new instance of the XmpTimecode class. | | XmpTimecode(XmpTimeFormat format, String timeValue) | Initializes a new instance of the XmpTimecode class. | #### Methods | Method | Description | | --- | --- | | getTimeFormat() | Gets the format used in the time value. | | setTimeFormat(String value) | Sets the format used in the time value. | | getTimeValue() | Gets the time value in the specified format. | | setTimeValue(String value) | Sets the time value in the specified format. | | setTimeFormat(XmpTimeFormat timeFormat) | Sets the time format. | ##### XmpTimecode() ``` public XmpTimecode() ``` Initializes a new instance of the XmpTimecode class. ##### XmpTimecode(XmpTimeFormat format, String timeValue) ``` public XmpTimecode(XmpTimeFormat format, String timeValue) ``` Initializes a new instance of the XmpTimecode class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | XmpTimeFormat | Time format. | | timeValue | java.lang.String | Time value. | ##### getTimeFormat() ``` public final String getTimeFormat() ``` Gets the format used in the time value. **Returns:** java.lang.String - The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode, 30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode. ##### setTimeFormat(String value) ``` public final void setTimeFormat(String value) ``` Sets the format used in the time value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode, 30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode. | ##### getTimeValue() ``` public final String getTimeValue() ``` Gets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff **Returns:** java.lang.String - The time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff ##### setTimeValue(String value) ``` public final void setTimeValue(String value) ``` Sets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff | ##### setTimeFormat(XmpTimeFormat timeFormat) ``` public final void setTimeFormat(XmpTimeFormat timeFormat) ``` Sets the time format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | timeFormat | XmpTimeFormat | The time format. | ### XmpTimeFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmptimeformat.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpTimeFormat extends XmpClosedChoice ``` Represents time format in XmpTimecode . #### Methods | Method | Description | | --- | --- | | getTimecode24() | Gets 24Timecode. | | getTimecode25() | Gets 25Timecode. | | getDropTimecode2997() | Gets 2997DropTimecode. | | getNonDropTimecode2997() | Gets 2997NonDropTimecode. | | getTimecode30() | Gets 30Timecode. | | getTimecode50() | Gets 50Timecode. | | getDropTimecode5994() | Gets 5994DropTimecode. | | getNonDropTimecode5994() | Gets 5994NonDropTimecode. | | getTimecode60() | Gets 60Timecode. | | getTimecode23976() | Gets 23976Timecode. | ##### getTimecode24() ``` public static XmpTimeFormat getTimecode24() ``` Gets 24Timecode. **Returns:** XmpTimeFormat - The 24Timecode. ##### getTimecode25() ``` public static XmpTimeFormat getTimecode25() ``` Gets 25Timecode. **Returns:** XmpTimeFormat - The 25Timecode. ##### getDropTimecode2997() ``` public static XmpTimeFormat getDropTimecode2997() ``` Gets 2997DropTimecode. **Returns:** XmpTimeFormat - The drop timecode2997. ##### getNonDropTimecode2997() ``` public static XmpTimeFormat getNonDropTimecode2997() ``` Gets 2997NonDropTimecode. **Returns:** XmpTimeFormat ##### getTimecode30() ``` public static XmpTimeFormat getTimecode30() ``` Gets 30Timecode. **Returns:** XmpTimeFormat - The 30Timecode. ##### getTimecode50() ``` public static XmpTimeFormat getTimecode50() ``` Gets 50Timecode. **Returns:** XmpTimeFormat - The 50Timecode. ##### getDropTimecode5994() ``` public static XmpTimeFormat getDropTimecode5994() ``` Gets 5994DropTimecode. **Returns:** XmpTimeFormat - The 5994DropTimecode. ##### getNonDropTimecode5994() ``` public static XmpTimeFormat getNonDropTimecode5994() ``` Gets 5994NonDropTimecode. **Returns:** XmpTimeFormat - The 5994NonDropTimecode. ##### getTimecode60() ``` public static XmpTimeFormat getTimecode60() ``` Gets 60Timecode. **Returns:** XmpTimeFormat - The 60Timecode. ##### getTimecode23976() ``` public static XmpTimeFormat getTimecode23976() ``` Gets 23976Timecode. **Returns:** XmpTimeFormat - The 23976Timecode. ### XmpTrailerPI Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmptrailerpi.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public final class XmpTrailerPI implements IXmpType ``` Represents XMP trailer processing instruction. The end="w" or end="r" portion shall be used by packet scanning processors to determine whether the XMP may be modified in-place. #### Constructors | Constructor | Description | | --- | --- | | XmpTrailerPI(boolean isWritable) | Initializes a new instance of the XmpTrailerPI class. | | XmpTrailerPI() | Initializes a new instance of the XmpTrailerPI class. | #### Methods | Method | Description | | --- | --- | | isWritable() | Indicates whether form may be modified in-place. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpTrailerPI(boolean isWritable) ``` public XmpTrailerPI(boolean isWritable) ``` Initializes a new instance of the XmpTrailerPI class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isWritable | boolean | Indicates whether trailer is writable. | ##### XmpTrailerPI() ``` public XmpTrailerPI() ``` Initializes a new instance of the XmpTrailerPI class. ##### isWritable() ``` public final boolean isWritable() ``` Indicates whether form may be modified in-place. **Returns:** boolean - true if XMP packet is writable; otherwise, false . ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpValueBase Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpvaluebase.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public abstract class XmpValueBase extends PropertyValue implements IXmpType ``` Represents base XMP value. #### Methods | Method | Description | | --- | --- | | toString() | Returns a string that represents the property value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### toString() ``` public String toString() ``` Returns a string that represents the property value. **Returns:** java.lang.String - A string that represents the property value. ##### getXmpRepresentation() ``` public abstract String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpVersion Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpversion.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpVersion extends XmpComplexType ``` Represents a version of a document. #### Constructors | Constructor | Description | | --- | --- | | XmpVersion() | Initializes a new instance of the XmpVersion class. | #### Methods | Method | Description | | --- | --- | | getComments() | Gets the comments concerning what was changed. | | setComments(String value) | Sets the comments concerning what was changed. | | getEvent() | Gets the high-level, formal description of what operation the user performed. | | setEvent(XmpResourceEvent value) | Sets the high-level, formal description of what operation the user performed. | | getModifier() | Gets the person who modified this version. | | setModifier(String value) | Sets the person who modified this version. | | getModifyDate() | Gets the date on which this version was checked in. | | setModifyDate(Date value) | Sets the date on which this version was checked in. | | getVersionNumber() | Gets the new version number. | | setVersionNumber(String value) | Sets the new version number. | ##### XmpVersion() ``` public XmpVersion() ``` Initializes a new instance of the XmpVersion class. ##### getComments() ``` public final String getComments() ``` Gets the comments concerning what was changed. **Returns:** java.lang.String - The comments concerning what was changed. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments concerning what was changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comments concerning what was changed. | ##### getEvent() ``` public final XmpResourceEvent getEvent() ``` Gets the high-level, formal description of what operation the user performed. **Returns:** XmpResourceEvent - The high-level, formal description of what operation the user performed. ##### setEvent(XmpResourceEvent value) ``` public final void setEvent(XmpResourceEvent value) ``` Sets the high-level, formal description of what operation the user performed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceEvent | The high-level, formal description of what operation the user performed. | ##### getModifier() ``` public final String getModifier() ``` Gets the person who modified this version. **Returns:** java.lang.String - The person who modified this version. ##### setModifier(String value) ``` public final void setModifier(String value) ``` Sets the person who modified this version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The person who modified this version. | ##### getModifyDate() ``` public final Date getModifyDate() ``` Gets the date on which this version was checked in. **Returns:** java.util.Date - The date on which this version was checked in. ##### setModifyDate(Date value) ``` public final void setModifyDate(Date value) ``` Sets the date on which this version was checked in. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date on which this version was checked in. | ##### getVersionNumber() ``` public final String getVersionNumber() ``` Gets the new version number. **Returns:** java.lang.String - The new version number. ##### setVersionNumber(String value) ``` public final void setVersionNumber(String value) ``` Sets the new version number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The new version number. | ### XmpWhiteBalance Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/xmpwhitebalance.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpWhiteBalance extends XmpClosedChoice ``` Represents the White Balance setting in XmpCameraRawPackage . #### Methods | Method | Description | | --- | --- | | getAsShot() | White balance: As Shot. | | getAuto() | White balance: Auto. | | getCloudy() | White balance: Cloudy. | | getCustom() | White balance: Custom. | | getDaylight() | White balance: Daylight. | | getFlash() | White balance: Flash. | | getFluorescent() | White balance: Fluorescent. | | getShade() | White balance: Shade. | | getTungsten() | White balance: Tungsten. | ##### getAsShot() ``` public static XmpWhiteBalance getAsShot() ``` White balance: As Shot. **Returns:** XmpWhiteBalance - As shot. ##### getAuto() ``` public static XmpWhiteBalance getAuto() ``` White balance: Auto. **Returns:** XmpWhiteBalance - The automatic. ##### getCloudy() ``` public static XmpWhiteBalance getCloudy() ``` White balance: Cloudy. **Returns:** XmpWhiteBalance - Cloudy. ##### getCustom() ``` public static XmpWhiteBalance getCustom() ``` White balance: Custom. **Returns:** XmpWhiteBalance - Custom. ##### getDaylight() ``` public static XmpWhiteBalance getDaylight() ``` White balance: Daylight. **Returns:** XmpWhiteBalance - Daylight. ##### getFlash() ``` public static XmpWhiteBalance getFlash() ``` White balance: Flash. **Returns:** XmpWhiteBalance - Flash. ##### getFluorescent() ``` public static XmpWhiteBalance getFluorescent() ``` White balance: Fluorescent. **Returns:** XmpWhiteBalance - Fluorescent. ##### getShade() ``` public static XmpWhiteBalance getShade() ``` White balance: Shade. **Returns:** XmpWhiteBalance - Shade. ##### getTungsten() ``` public static XmpWhiteBalance getTungsten() ``` White balance: Tungsten. **Returns:** XmpWhiteBalance - Tungsten. ### ZipCompressionMethod Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/zipcompressionmethod.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ZipCompressionMethod extends Enum implements IEnumValue ``` Defines ZIP compression methods. #### Fields | Field | Description | | --- | --- | | NoCompression | The file is stored (no compression). | | Shrunk | The file is Shrunk. | | Imploded | The file is Imploded. | | Reserved | A reserved compression method. | | Deflated | The file is Deflated. | | BZip2 | The file is compressed with the BZip2 algorithm. | | Lzma | The Lempel-Ziv-Markov chain-Algorithm. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### NoCompression ``` public static final ZipCompressionMethod NoCompression ``` The file is stored (no compression). ##### Shrunk ``` public static final ZipCompressionMethod Shrunk ``` The file is Shrunk. ##### Imploded ``` public static final ZipCompressionMethod Imploded ``` The file is Imploded. ##### Reserved ``` public static final ZipCompressionMethod Reserved ``` A reserved compression method. ##### Deflated ``` public static final ZipCompressionMethod Deflated ``` The file is Deflated. ##### BZip2 ``` public static final ZipCompressionMethod BZip2 ``` The file is compressed with the BZip2 algorithm. ##### Lzma ``` public static final ZipCompressionMethod Lzma ``` The Lempel-Ziv-Markov chain-Algorithm. ##### values() ``` public static ZipCompressionMethod[] values() ``` **Returns:** com.groupdocs.metadata.core.ZipCompressionMethod[] ##### valueOf(String name) ``` public static ZipCompressionMethod valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ZipCompressionMethod ##### getByRawValue(int rawValue) ``` public static ZipCompressionMethod getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ZipCompressionMethod ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ZipFile Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/zipfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ZipFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. [Working with ZIP archives]: https://docs.groupdocs.com/display/metadatajava/Working+with+ZIP+archives #### Methods | Method | Description | | --- | --- | | getCompressionMethod() | Gets the compression method. | | getCompressedSize() | Gets the compressed size in bytes. | | getUncompressedSize() | Gets the uncompressed size in bytes. | | getFlags() | Gets the ZIP entry flags. | | getName() | Gets the entry name. | | getRawName() | Gets an array of bytes representing the name of the entry. | | getModificationDateTime() | Gets the last modification date and time. | ##### getCompressionMethod() ``` public final ZipCompressionMethod getCompressionMethod() ``` Gets the compression method. **Returns:** ZipCompressionMethod - The compression method. ##### getCompressedSize() ``` public final long getCompressedSize() ``` Gets the compressed size in bytes. **Returns:** long - The compressed size in bytes. ##### getUncompressedSize() ``` public final long getUncompressedSize() ``` Gets the uncompressed size in bytes. **Returns:** long - The uncompressed size in bytes. ##### getFlags() ``` public final int getFlags() ``` Gets the ZIP entry flags. **Returns:** int - The ZIP entry flags. Bit 00: encrypted file. Bit 01: compression option. Bit 02: compression option. Bit 03: data descriptor. Bit 04: enhanced deflation. Bit 05: compressed patched data. Bit 06: strong encryption. Bit 07-10: unused. Bit 11: language encoding. Bit 12: reserved. Bit 13: mask header values. Bit 14-15: reserved. ##### getName() ``` public final String getName() ``` Gets the entry name. **Returns:** java.lang.String - The entry name. It can be a file or directory name. ##### getRawName() ``` public final byte[] getRawName() ``` Gets an array of bytes representing the name of the entry. **Returns:** byte[] - An array of bytes representing the name of the entry. ##### getModificationDateTime() ``` public final Date getModificationDateTime() ``` Gets the last modification date and time. **Returns:** java.util.Date - The last modification date and time. ### ZipPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/zippackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ZipPackage extends CustomPackage ``` Represents ZIP archive metadata. The following code snippet shows how to get metadata from a ZIP archive. > ``` > ``` > > Charset charset = Charset.forName("cp866"); > try (Metadata metadata = new Metadata(Constants.InputZip)) { > ZipRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getZipPackage().getComment()); > System.out.println(root.getZipPackage().getTotalEntries()); > for (ZipFile file : root.getZipPackage().getFiles()) { > System.out.println(file.getName()); > System.out.println(file.getCompressedSize()); > System.out.println(file.getCompressionMethod()); > System.out.println(file.getFlags()); > System.out.println(file.getModificationDateTime()); > System.out.println(file.getUncompressedSize()); > // Use a specific encoding for the file names > System.out.println(new String(file.getRawName(), charset)); > } > } > > ``` > ``` [Working with ZIP archives]: https://docs.groupdocs.com/display/metadatajava/Working+with+ZIP+archives #### Methods | Method | Description | | --- | --- | | getComment() | Gets the ZIP archive comment created by a user. | | setComment(String value) | Sets the ZIP archive comment created by a user. | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getComment() ``` public final String getComment() ``` Gets the ZIP archive comment created by a user. **Returns:** java.lang.String - The user's comment. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the ZIP archive comment created by a user. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user's comment. | ##### getFiles() ``` public final ZipFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.ZipFile[] - An array of ZipFile entries inside the ZIP archive. ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. **Returns:** long - The total number of entries inside the ZIP archive. ### ZipRootPackage Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/ziprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class ZipRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. The following code snippet shows how to get metadata from a ZIP archive. > ``` > ``` > > Charset charset = Charset.forName("cp866"); > try (Metadata metadata = new Metadata(Constants.InputZip)) { > ZipRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getZipPackage().getComment()); > System.out.println(root.getZipPackage().getTotalEntries()); > for (ZipFile file : root.getZipPackage().getFiles()) { > System.out.println(file.getName()); > System.out.println(file.getCompressedSize()); > System.out.println(file.getCompressionMethod()); > System.out.println(file.getFlags()); > System.out.println(file.getModificationDateTime()); > System.out.println(file.getUncompressedSize()); > // Use a specific encoding for the file names > System.out.println(new String(file.getRawName(), charset)); > } > } > > ``` > ``` [Working with ZIP archives]: https://docs.groupdocs.com/display/metadatajava/Working+with+ZIP+archives #### Methods | Method | Description | | --- | --- | | getZipPackage() | Gets the ZIP metadata package. | ##### getZipPackage() ``` public final ZipPackage getZipPackage() ``` Gets the ZIP metadata package. **Returns:** ZipPackage - The ZIP metadata package. ### com.groupdocs.metadata.export Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export.md The **com.groupdocs.metadata.export** namespace contains classes that allow users to export metadata properties to different representations. #### Classes | Class | Description | | --- | --- | | CsvExportOptions | Creates an export options of xml file. | | ExcelExportOptions | Creates an export options of excel file. | | ExportManager | Provides a row of methods allowing the user to export metadata properties to various formats. | | ExportOptions | Abstract class export options. | | JsonExportOptions | Creates an export options of xml file. | | XmlExportOptions | Creates an export options of xml file. | #### Enumerations | Enum | Description | | --- | --- | | ExportFormat | Defines file formats to which you can export metadata properties. | ### CsvExportOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export/csvexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class CsvExportOptions extends ExportOptions ``` Creates an export options of xml file. #### Constructors | Constructor | Description | | --- | --- | | CsvExportOptions() | Initializes a new instance of the CsvExportOptions class. | ##### CsvExportOptions() ``` public CsvExportOptions() ``` Initializes a new instance of the CsvExportOptions class. ### ExcelExportOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export/excelexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class ExcelExportOptions extends ExportOptions ``` Creates an export options of excel file. #### Constructors | Constructor | Description | | --- | --- | | ExcelExportOptions() | Initializes a new instance of the ExcelExportOptions class. | | ExcelExportOptions(boolean groupCells) | Initializes a new instance of the ExcelExportOptions class. | #### Methods | Method | Description | | --- | --- | | getGroupCells() | This flag determines whether it is necessary to group rows when exporting to Excel format | | setGroupCells(boolean value) | This flag determines whether it is necessary to group rows when exporting to Excel format | ##### ExcelExportOptions() ``` public ExcelExportOptions() ``` Initializes a new instance of the ExcelExportOptions class. ##### ExcelExportOptions(boolean groupCells) ``` public ExcelExportOptions(boolean groupCells) ``` Initializes a new instance of the ExcelExportOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | groupCells | boolean | Group flag. | ##### getGroupCells() ``` public final boolean getGroupCells() ``` This flag determines whether it is necessary to group rows when exporting to Excel format Value: If the flag is true, the lines will be grouped, otherwise not **Returns:** boolean ##### setGroupCells(boolean value) ``` public final void setGroupCells(boolean value) ``` This flag determines whether it is necessary to group rows when exporting to Excel format Value: If the flag is true, the lines will be grouped, otherwise not **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### ExportFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export/exportformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ExportFormat extends Enum implements IEnumValue ``` Defines file formats to which you can export metadata properties. #### Fields | Field | Description | | --- | --- | | Xls | Represents the .XLS Excel format. | | Xlsx | Represents the .XLSX Excel format. | | Xml | Represents the .XML format. | | Csv | Represents the .CSV format. | | Json | Represents the .JSON format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Xls ``` public static final ExportFormat Xls ``` Represents the .XLS Excel format. ##### Xlsx ``` public static final ExportFormat Xlsx ``` Represents the .XLSX Excel format. ##### Xml ``` public static final ExportFormat Xml ``` Represents the .XML format. ##### Csv ``` public static final ExportFormat Csv ``` Represents the .CSV format. ##### Json ``` public static final ExportFormat Json ``` Represents the .JSON format. ##### values() ``` public static ExportFormat[] values() ``` **Returns:** com.groupdocs.metadata.export.ExportFormat[] ##### valueOf(String name) ``` public static ExportFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ExportFormat ##### getByRawValue(int rawValue) ``` public static ExportFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ExportFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ExportManager Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export/exportmanager.md **Inheritance:** java.lang.Object ``` public class ExportManager ``` Provides a row of methods allowing the user to export metadata properties to various formats. #### Constructors | Constructor | Description | | --- | --- | | ExportManager(Iterable properties) | Initializes a new instance of the ExportManager class. | #### Methods | Method | Description | | --- | --- | | export(String filePath, ExportFormat format, ExportOptions exportOptions) | Exports the metadata properties to a file. | | export(OutputStream document, ExportFormat format, ExportOptions exportOptions) | Exports the metadata properties to a stream. | | export(String filePath, ExportFormat format) | Exports the metadata properties to a file. | | export(OutputStream document, ExportFormat format) | Exports the metadata properties to a stream. | ##### ExportManager(Iterable properties) ``` public ExportManager(Iterable properties) ``` Initializes a new instance of the ExportManager class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | properties | java.lang.Iterable | A collection of metadata properties to be exported. | ##### export(String filePath, ExportFormat format, ExportOptions exportOptions) ``` public final void export(String filePath, ExportFormat format, ExportOptions exportOptions) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the output file. | | format | ExportFormat | The format of the output file. | | exportOptions | ExportOptions | | ##### export(OutputStream document, ExportFormat format, ExportOptions exportOptions) ``` public final void export(OutputStream document, ExportFormat format, ExportOptions exportOptions) ``` Exports the metadata properties to a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The full name of the output file. | | format | ExportFormat | The format of the output file. | | exportOptions | ExportOptions | | ##### export(String filePath, ExportFormat format) ``` public final void export(String filePath, ExportFormat format) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the output file. | | format | ExportFormat | The format of the output file. | ##### export(OutputStream document, ExportFormat format) ``` public final void export(OutputStream document, ExportFormat format) ``` Exports the metadata properties to a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The output file stream. | | format | ExportFormat | The format of the output file. | ### ExportOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export/exportoptions.md **Inheritance:** java.lang.Object ``` public abstract class ExportOptions ``` Abstract class export options. #### Constructors | Constructor | Description | | --- | --- | | ExportOptions() | Initializes a new instance of the ExportOptions class. | ##### ExportOptions() ``` public ExportOptions() ``` Initializes a new instance of the ExportOptions class. ### JsonExportOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export/jsonexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class JsonExportOptions extends ExportOptions ``` Creates an export options of xml file. #### Constructors | Constructor | Description | | --- | --- | | JsonExportOptions() | Initializes a new instance of the JsonExportOptions class. | ##### JsonExportOptions() ``` public JsonExportOptions() ``` Initializes a new instance of the JsonExportOptions class. ### XmlExportOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.export/xmlexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class XmlExportOptions extends ExportOptions ``` Creates an export options of xml file. #### Constructors | Constructor | Description | | --- | --- | | XmlExportOptions() | Initializes a new instance of the XmlExportOptions class. | ##### XmlExportOptions() ``` public XmlExportOptions() ``` Initializes a new instance of the XmlExportOptions class. ### com.groupdocs.metadata.imports Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.imports.md The **com.groupdocs.metadata.imports** namespace contains classes that allow users to import metadata properties to different representations. #### Classes | Class | Description | | --- | --- | | ImportFormat | Defines file formats to which you can import metadata properties. | | ImportManager | Provides a row of methods allowing the user to export metadata properties to various formats. | | ImportOptions | Abstract class import options. | | JsonImportOptions | Creates an import options from json file. | ### ImportFormat Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.imports/importformat.md **Inheritance:** java.lang.Object ``` public final class ImportFormat ``` Defines file formats to which you can import metadata properties. #### Fields | Field | Description | | --- | --- | | Json | Represents the .JSON format. | ##### Json ``` public static final int Json ``` Represents the .JSON format. ### ImportManager Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.imports/importmanager.md **Inheritance:** java.lang.Object ``` public class ImportManager ``` Provides a row of methods allowing the user to export metadata properties to various formats. #### Constructors | Constructor | Description | | --- | --- | | ImportManager(RootMetadataPackage rootMetadataPackage) | Initializes a new instance of the ImportManager class. | #### Methods | Method | Description | | --- | --- | | import_(String filePath, int format, ImportOptions importOptions) | Exports the metadata properties to a file. | | import_(InputStream stream, int format, ImportOptions importOptions) | Exports the metadata properties to a file. | ##### ImportManager(RootMetadataPackage rootMetadataPackage) ``` public ImportManager(RootMetadataPackage rootMetadataPackage) ``` Initializes a new instance of the ImportManager class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rootMetadataPackage | RootMetadataPackage | A collection of metadata properties where the import will be performed.. | ##### import_(String filePath, int format, ImportOptions importOptions) ``` public final void import_(String filePath, int format, ImportOptions importOptions) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the input file. | | format | int | The format of the input file. | | importOptions | ImportOptions | Additional options to use when importing. | ##### import_(InputStream stream, int format, ImportOptions importOptions) ``` public final void import_(InputStream stream, int format, ImportOptions importOptions) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | The filestream of the input file. | | format | int | The format of the input file. | | importOptions | ImportOptions | Additional options to use when importing. | ### ImportOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.imports/importoptions.md **Inheritance:** java.lang.Object ``` public abstract class ImportOptions ``` Abstract class import options. #### Constructors | Constructor | Description | | --- | --- | | ImportOptions() | Initializes a new instance of the ImportOptions class. | ##### ImportOptions() ``` public ImportOptions() ``` Initializes a new instance of the ImportOptions class. ### JsonImportOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.imports/jsonimportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.imports.ImportOptions ``` public class JsonImportOptions extends ImportOptions ``` Creates an import options from json file. #### Constructors | Constructor | Description | | --- | --- | | JsonImportOptions() | Initializes a new instance of the JsonImportOptions class. | ##### JsonImportOptions() ``` public JsonImportOptions() ``` Initializes a new instance of the JsonImportOptions class. ### com.groupdocs.metadata.licensing Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.licensing.md The **com.groupdocs.metadata.licensing** namespace provides classes for licensing the Metadata library. #### Classes | Class | Description | | --- | --- | | License | Represents GroupDocs.Metadata license. | | Metered | Provides methods to set metered key. | ### License Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.licensing/license.md **Inheritance:** java.lang.Object ``` public final class License ``` Represents GroupDocs.Metadata license. License class should be applied once per AppDomain. > ``` > This example demonstrates how to setup a license. > > // initialize License class > License license = new License(); > // set path to .lic file > license.SetLicense(@"C:\\GroupDocs.Metadata.lic"); > ``` #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | setLicense(String licensePath) | Licenses the component. | | setLicense(InputStream licenseStream) | Licenses the component. | ##### License() ``` public License() ``` ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Licenses the component. > ``` > This example demonstrates how to setup license. > > // initialize License class > License license = new License(); > // set path to .lic file > license.SetLicense(@"C:\\GroupDocs.Metadata.lic"); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The absolute path to a license file. | ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Licenses the component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | License stream. | ### Metered Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.licensing/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods to set metered key. #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves amount of used credits | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. > ``` > Following example demonstrates how to activate product with Metered keys. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed. > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal mbProcessed = Metered.GetConsumptionQuantity(); > ``` **Returns:** java.math.BigDecimal ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves amount of used credits > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal usedCredits = Metered.GetConsumptionCredit(); > ``` **Returns:** java.math.BigDecimal ### com.groupdocs.metadata.options Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.options.md The **com.groupdocs.metadata.options** namespace contains all classes representing settings that allow users to control file and metadata processing. #### Classes | Class | Description | | --- | --- | | LoadOptions | Allows a developer to specify additional options (such as a password) when loading a file. | | PreviewOptions | Provides options to sets requirements and stream delegates for preview generation. | #### Interfaces | Interface | Description | | --- | --- | | ICreatePageStream | Defines a method that returns a stream to write page preview data. | | IReleasePageStream | Defines a method which releases the stream created by the passed ICreatePageStream implementation. | #### Enumerations | Enum | Description | | --- | --- | | PreviewFormats | Represents supported preview formats. | ### ICreatePageStream Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.options/icreatepagestream.md ### IReleasePageStream Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.options/ireleasepagestream.md ### LoadOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.options/loadoptions.md **Inheritance:** java.lang.Object ``` public class LoadOptions ``` Allows a developer to specify additional options (such as a password) when loading a file. [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document #### Constructors | Constructor | Description | | --- | --- | | LoadOptions() | Initializes a new instance of the LoadOptions class. | | LoadOptions(FileFormat fileFormat) | Initializes a new instance of the LoadOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | Gets the password for opening an encrypted document. | | setPassword(String value) | Sets the password for opening an encrypted document. | | getFileFormat() | Gets the exact type of the file that is to be loaded. | ##### LoadOptions() ``` public LoadOptions() ``` Initializes a new instance of the LoadOptions class. ##### LoadOptions(FileFormat fileFormat) ``` public LoadOptions(FileFormat fileFormat) ``` Initializes a new instance of the LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The exact type of the file. | ##### getPassword() ``` public final String getPassword() ``` Gets the password for opening an encrypted document. **Returns:** java.lang.String - Can be null or empty string. The default value is null. If the document is not encrypted, set this to null or the empty string. ##### setPassword(String value) ``` public final void setPassword(String value) ``` Sets the password for opening an encrypted document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Can be null or empty string. The default value is null. If the document is not encrypted, set this to null or the empty string. | ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the exact type of the file that is to be loaded. The default value is FileFormat.Unknown which means that the type should be detected automatically. **Returns:** FileFormat - The exact type of the file that is to be loaded. ### PreviewFormats Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.options/previewformats.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PreviewFormats extends Enum ``` Represents supported preview formats. #### Fields | Field | Description | | --- | --- | | PNG | Portable Network Graphics Format. | | JPEG | Joint Photographic Experts Group Format. | | BMP | Bitmap Picture Format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### PNG ``` public static final PreviewFormats PNG ``` Portable Network Graphics Format. ##### JPEG ``` public static final PreviewFormats JPEG ``` Joint Photographic Experts Group Format. ##### BMP ``` public static final PreviewFormats BMP ``` Bitmap Picture Format. ##### values() ``` public static PreviewFormats[] values() ``` **Returns:** com.groupdocs.metadata.options.PreviewFormats[] ##### valueOf(String name) ``` public static PreviewFormats valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PreviewFormats ### PreviewOptions Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.options/previewoptions.md **Inheritance:** java.lang.Object ``` public class PreviewOptions ``` Provides options to sets requirements and stream delegates for preview generation. #### Constructors | Constructor | Description | | --- | --- | | PreviewOptions(ICreatePageStream createPageStream) | Initializes a new instance of the PreviewOptions class causing the output stream to be closed. | | PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) | Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use. | #### Methods | Method | Description | | --- | --- | | getCacheFolder() | Gets the cache folder. | | setCacheFolder(String value) | Sets the cache folder. | | getMaxDiskSpaceForCache() | Gets the maximum available disk space for cache in bytes. | | setMaxDiskSpaceForCache(int value) | Sets the maximum available disk space for cache in bytes. | | getMaxMemoryForCache() | Gets the maximum available memory for cache in memory in bytes. | | setMaxMemoryForCache(int value) | Sets the maximum available memory for cache in memory in bytes. | | getWidth() | Gets the page preview width. | | setWidth(int value) | Sets the page preview width. | | getHeight() | Gets the page preview height. | | setHeight(int value) | Sets the page preview height. | | getPageNumbers() | Gets an array of page numbers to generate previews. | | setPageNumbers(int[] value) | Sets an array of page numbers to generate previews. | | getPreviewFormat() | Gets the preview image format. | | setPreviewFormat(PreviewFormats value) | Sets the preview image format. | | getCreatePageStream() | Gets an instance of the page stream creation delegate. | | setCreatePageStream(ICreatePageStream value) | Sets an instance of the page stream creation delegate. | | getReleasePageStream() | Gets an instance of the page preview completion delegate. | | setReleasePageStream(IReleasePageStream value) | Sets an instance of the page preview completion delegate. | | getResolution() | Gets or sets the page preview resolution. | | setResolution(int value) | Gets or sets the page preview resolution. | ##### PreviewOptions(ICreatePageStream createPageStream) ``` public PreviewOptions(ICreatePageStream createPageStream) ``` Initializes a new instance of the PreviewOptions class causing the output stream to be closed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | ICreatePageStream | Creates a stream for a specific page preview. | ##### PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) ``` public PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) ``` Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | ICreatePageStream | Creates a stream for a specific page preview | | releasePageStream | IReleasePageStream | Notifies that the page preview generation is done and gets the output stream. | ##### getCacheFolder() ``` public final String getCacheFolder() ``` Gets the cache folder. By default the cache folder is set to user's local temp directory. **Returns:** java.lang.String - The cache folder. ##### setCacheFolder(String value) ``` public final void setCacheFolder(String value) ``` Sets the cache folder. By default the cache folder is set to user's local temp directory. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The cache folder. | ##### getMaxDiskSpaceForCache() ``` public final int getMaxDiskSpaceForCache() ``` Gets the maximum available disk space for cache in bytes. The default value is 1073741824. **Returns:** int - The maximum available disk space for cache in bytes. ##### setMaxDiskSpaceForCache(int value) ``` public final void setMaxDiskSpaceForCache(int value) ``` Sets the maximum available disk space for cache in bytes. The default value is 1073741824. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The maximum available disk space for cache in bytes. | ##### getMaxMemoryForCache() ``` public final int getMaxMemoryForCache() ``` Gets the maximum available memory for cache in memory in bytes. The default value is 1073741824. **Returns:** int - The maximum available memory for cache in memory in bytes. ##### setMaxMemoryForCache(int value) ``` public final void setMaxMemoryForCache(int value) ``` Sets the maximum available memory for cache in memory in bytes. The default value is 1073741824. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The maximum available memory for cache in memory in bytes. | ##### getWidth() ``` public final int getWidth() ``` Gets the page preview width. **Returns:** int - The page preview width. ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets the page preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The page preview width. | ##### getHeight() ``` public final int getHeight() ``` Gets the page preview height. **Returns:** int - The page preview height. ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets the page preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The page preview height. | ##### getPageNumbers() ``` public final int[] getPageNumbers() ``` Gets an array of page numbers to generate previews. **Returns:** int[] - An array of page numbers to generate previews. ##### setPageNumbers(int[] value) ``` public final void setPageNumbers(int[] value) ``` Sets an array of page numbers to generate previews. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | An array of page numbers to generate previews. | ##### getPreviewFormat() ``` public final PreviewFormats getPreviewFormat() ``` Gets the preview image format. **Returns:** PreviewFormats - The preview image format. ##### setPreviewFormat(PreviewFormats value) ``` public final void setPreviewFormat(PreviewFormats value) ``` Sets the preview image format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PreviewFormats | The preview image format. | ##### getCreatePageStream() ``` public final ICreatePageStream getCreatePageStream() ``` Gets an instance of the page stream creation delegate. **Returns:** ICreatePageStream - An instance of the page stream creation delegate. ##### setCreatePageStream(ICreatePageStream value) ``` public final void setCreatePageStream(ICreatePageStream value) ``` Sets an instance of the page stream creation delegate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ICreatePageStream | An instance of the page stream creation delegate. | ##### getReleasePageStream() ``` public final IReleasePageStream getReleasePageStream() ``` Gets an instance of the page preview completion delegate. **Returns:** IReleasePageStream - An instance of the page preview completion delegate. ##### setReleasePageStream(IReleasePageStream value) ``` public final void setReleasePageStream(IReleasePageStream value) ``` Sets an instance of the page preview completion delegate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IReleasePageStream | An instance of the page preview completion delegate. | ##### getResolution() ``` public final int getResolution() ``` Gets or sets the page preview resolution. **Returns:** int ##### setResolution(int value) ``` public final void setResolution(int value) ``` Gets or sets the page preview resolution. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### com.groupdocs.metadata.search Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search.md The **com.groupdocs.metadata.search** namespace contains base classes, utility classes and interfaces used across all formats and metadata standards. #### Classes | Class | Description | | --- | --- | | AndSpecification | Represents a composite specification that uses the logical AND operator to combine two given search specifications. | | AnySpecification | Represents a specification that applies no filters to a property. | | ContainsTagSpecification | Represents a specification that checks whether the passed property contains the specified tag. | | FallsIntoCategorySpecification | Represents a specification that verifies whether the passed property falls into a particular category (i.e. | | NotSpecification | Represents a composite specification that negates any other specification. | | OfTypeSpecification | Represents a specification that filters properties of a particular type. | | OrSpecification | Represents a composite specification that uses the logical OR operator to combine two given search specifications. | | Specification | Provides a base abstract class for search specifications that can be combined using logical operators. | | WithNameSpecification | Represents a specification that filters properties with a particular name. | ### AndSpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/andspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class AndSpecification extends Specification ``` Represents a composite specification that uses the logical AND operator to combine two given search specifications. #### Methods | Method | Description | | --- | --- | | getLeft() | Gets the left specification. | | getRight() | Gets the right specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### getLeft() ``` public final Specification getLeft() ``` Gets the left specification. **Returns:** Specification - The left specification. ##### getRight() ``` public final Specification getRight() ``` Gets the right specification. **Returns:** Specification - The right specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### AnySpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/anyspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class AnySpecification extends Specification ``` Represents a specification that applies no filters to a property. #### Constructors | Constructor | Description | | --- | --- | | AnySpecification() | | #### Methods | Method | Description | | --- | --- | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### AnySpecification() ``` public AnySpecification() ``` ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### ContainsTagSpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/containstagspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class ContainsTagSpecification extends Specification ``` Represents a specification that checks whether the passed property contains the specified tag. #### Constructors | Constructor | Description | | --- | --- | | ContainsTagSpecification(PropertyTag tag) | Initializes a new instance of the ContainsTagSpecification class. | #### Methods | Method | Description | | --- | --- | | getTag() | Gets the tag a property must contain to satisfy the specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### ContainsTagSpecification(PropertyTag tag) ``` public ContainsTagSpecification(PropertyTag tag) ``` Initializes a new instance of the ContainsTagSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tag | PropertyTag | The tag a property must contain to satisfy the specification. | ##### getTag() ``` public final PropertyTag getTag() ``` Gets the tag a property must contain to satisfy the specification. **Returns:** PropertyTag - The tag a property must contain to satisfy the specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### FallsIntoCategorySpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/fallsintocategoryspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class FallsIntoCategorySpecification extends Specification ``` Represents a specification that verifies whether the passed property falls into a particular category (i.e. contains tags from the specified category). #### Constructors | Constructor | Description | | --- | --- | | FallsIntoCategorySpecification(TagCategory category) | Initializes a new instance of the FallsIntoCategorySpecification class. | #### Methods | Method | Description | | --- | --- | | getCategory() | Gets the category into which a property must fall to satisfy the specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### FallsIntoCategorySpecification(TagCategory category) ``` public FallsIntoCategorySpecification(TagCategory category) ``` Initializes a new instance of the FallsIntoCategorySpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | category | TagCategory | The category into which a property must fall to satisfy the specification. | ##### getCategory() ``` public final TagCategory getCategory() ``` Gets the category into which a property must fall to satisfy the specification. **Returns:** TagCategory - The category into which a property must fall to satisfy the specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### NotSpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/notspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class NotSpecification extends Specification ``` Represents a composite specification that negates any other specification. #### Methods | Method | Description | | --- | --- | | getWrapped() | Gets the base specification to be negated. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### getWrapped() ``` public final Specification getWrapped() ``` Gets the base specification to be negated. **Returns:** Specification - The base specification to be negated. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### OfTypeSpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/oftypespecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class OfTypeSpecification extends Specification ``` Represents a specification that filters properties of a particular type. #### Constructors | Constructor | Description | | --- | --- | | OfTypeSpecification(MetadataPropertyType propertyType) | Initializes a new instance of the OfTypeSpecification class. | #### Methods | Method | Description | | --- | --- | | getPropertyType() | Gets the type of properties that satisfy the specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### OfTypeSpecification(MetadataPropertyType propertyType) ``` public OfTypeSpecification(MetadataPropertyType propertyType) ``` Initializes a new instance of the OfTypeSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyType | MetadataPropertyType | The type of properties that satisfy the specification. | ##### getPropertyType() ``` public final MetadataPropertyType getPropertyType() ``` Gets the type of properties that satisfy the specification. **Returns:** MetadataPropertyType - The type of properties that satisfy the specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### OrSpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/orspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class OrSpecification extends Specification ``` Represents a composite specification that uses the logical OR operator to combine two given search specifications. #### Methods | Method | Description | | --- | --- | | getLeft() | Gets the left specification. | | getRight() | Gets the right specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### getLeft() ``` public final Specification getLeft() ``` Gets the left specification. **Returns:** Specification - The left specification. ##### getRight() ``` public final Specification getRight() ``` Gets the right specification. **Returns:** Specification - The right specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### Specification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/specification.md **Inheritance:** java.lang.Object ``` public abstract class Specification ``` Provides a base abstract class for search specifications that can be combined using logical operators. #### Constructors | Constructor | Description | | --- | --- | | Specification() | | #### Methods | Method | Description | | --- | --- | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | | and(Specification other) | Combines two search specifications using the logical AND operator. | | or(Specification other) | Combines two search specifications using the logical OR operator. | | not() | Negates the specification. | ##### Specification() ``` public Specification() ``` ##### isSatisfiedBy(MetadataProperty candidate) ``` public abstract boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ##### and(Specification other) ``` public final Specification and(Specification other) ``` Combines two search specifications using the logical AND operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Specification | A specification to combine with. | **Returns:** Specification - A composite specification. ##### or(Specification other) ``` public final Specification or(Specification other) ``` Combines two search specifications using the logical OR operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Specification | A specification to combine with. | **Returns:** Specification - A composite specification. ##### not() ``` public final Specification not() ``` Negates the specification. **Returns:** Specification - A composite specification. ### WithNameSpecification Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.search/withnamespecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class WithNameSpecification extends Specification ``` Represents a specification that filters properties with a particular name. #### Constructors | Constructor | Description | | --- | --- | | WithNameSpecification(String propertyName) | Initializes a new instance of the WithNameSpecification class. | | WithNameSpecification(String propertyName, boolean ignoreCase) | Initializes a new instance of the WithNameSpecification class. | #### Methods | Method | Description | | --- | --- | | getPropertyName() | Gets the name of properties that satisfy the specification. | | getIgnoreCase() | Gets a value indicating whether the case of the strings being compared should be ignored. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### WithNameSpecification(String propertyName) ``` public WithNameSpecification(String propertyName) ``` Initializes a new instance of the WithNameSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The type of properties that satisfy the specification. | ##### WithNameSpecification(String propertyName, boolean ignoreCase) ``` public WithNameSpecification(String propertyName, boolean ignoreCase) ``` Initializes a new instance of the WithNameSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The type of properties that satisfy the specification. | | ignoreCase | boolean | A value indicating whether the case of the strings being compared should be ignored. | ##### getPropertyName() ``` public final String getPropertyName() ``` Gets the name of properties that satisfy the specification. **Returns:** java.lang.String - The name of properties that satisfy the specification. ##### getIgnoreCase() ``` public final boolean getIgnoreCase() ``` Gets a value indicating whether the case of the strings being compared should be ignored. **Returns:** boolean - True if the case should be ignored; otherwise, false. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### com.groupdocs.metadata.tagging Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging.md The **com.groupdocs.metadata.tagging** namespace contains various sets of tags with which most important metadata properties are marked.The tags allow users to find and update metadata properties in different packages regardless of the metadata standard and file format. #### Classes | Class | Description | | --- | --- | | ContentTagCategory | Provides tags that are attached to metadata properties describing the content of a file. | | CorporateTagCategory | Provides tags intended to mark metadata properties related to a company that participated in file creation. | | DocumentTagCategory | Provides tags that are applied to document-specific properties only. | | LegalTagCategory | Provides tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. | | OriginTagCategory | Provides tags that help a user to determine the origin of a file (e.g. | | PersonTagCategory | Provides tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. | | PropertyTag | Represents a tag used to mark metadata properties. | | PropertyTypeTagCategory | Provides tags that bear additional information about the type of a property rather than about its purpose. | | TagCategory | Represents a set of tags having some shared characteristics. | | Tags | Contains various sets of tags with which most important metadata properties are marked. | | TimeTagCategory | Provides tags that mark metadata properties used to describe the lifecycle of a file. | | ToolTagCategory | Provides tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. | ### ContentTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/contenttagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class ContentTagCategory extends TagCategory ``` Provides tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. #### Methods | Method | Description | | --- | --- | | getDescription() | Gets the tag that labels properties containing a description of a file. | | getComment() | Gets the tag that denotes a comment left by a person who contributed in file creation. | | getTitle() | Gets the tag that labels the name given to a file. | | getThumbnail() | Gets the tag that indicates a thumbnail image attached to a file. | | getLanguage() | Gets the tag indicating the language of the intellectual content of a file. | | getSubject() | Gets the tag that denotes the subject the intellectual content is focused on. | | getTableOfContents() | Gets the tag indicating properties containing the table of contents of a file. | | getType() | Gets the tag that indicates the nature or genre of the content of a file. | | getRating() | Gets the tag labeling a user assigned rating of a file. | | getKeywords() | Gets the tag that denotes a metadata property containing keywords that describe the content. | | getFileFormat() | Gets the tag that indicates a metadata property containing information about the format of a file. | | getStatus() | Gets the tag that denotes the status of a file. | | getVersion() | Gets the tag labeling the version or revision of a file. | | getSharedDoc() | Gets the tag that denotes which is a common document for several manufacturers. | | getHyperlinksChanged() | Gets the tag that denotes the indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. | | getBody() | Gets the tag that denotes the body of a email file. | | getAlbum() | Gets the tag that denotes the album name of a audio file. | ##### getDescription() ``` public final PropertyTag getDescription() ``` Gets the tag that labels properties containing a description of a file. **Returns:** PropertyTag - The tag that labels properties containing a description of a file. ##### getComment() ``` public final PropertyTag getComment() ``` Gets the tag that denotes a comment left by a person who contributed in file creation. **Returns:** PropertyTag - The tag that denotes a comment left by a person who contributed in file creation. ##### getTitle() ``` public final PropertyTag getTitle() ``` Gets the tag that labels the name given to a file. **Returns:** PropertyTag - The tag that labels the name given to a file. ##### getThumbnail() ``` public final PropertyTag getThumbnail() ``` Gets the tag that indicates a thumbnail image attached to a file. **Returns:** PropertyTag - The tag that indicates a thumbnail image attached to a file. ##### getLanguage() ``` public final PropertyTag getLanguage() ``` Gets the tag indicating the language of the intellectual content of a file. **Returns:** PropertyTag ##### getSubject() ``` public final PropertyTag getSubject() ``` Gets the tag that denotes the subject the intellectual content is focused on. **Returns:** PropertyTag - The tag that denotes the subject the intellectual content is focused on. ##### getTableOfContents() ``` public final PropertyTag getTableOfContents() ``` Gets the tag indicating properties containing the table of contents of a file. **Returns:** PropertyTag ##### getType() ``` public final PropertyTag getType() ``` Gets the tag that indicates the nature or genre of the content of a file. It also includes terms describing general categories, functions, aggregation levels for the content. **Returns:** PropertyTag ##### getRating() ``` public final PropertyTag getRating() ``` Gets the tag labeling a user assigned rating of a file. **Returns:** PropertyTag - The tag labeling a user assigned rating of a file. ##### getKeywords() ``` public final PropertyTag getKeywords() ``` Gets the tag that denotes a metadata property containing keywords that describe the content. **Returns:** PropertyTag - The tag that denotes a metadata property containing keywords that describe the content. ##### getFileFormat() ``` public final PropertyTag getFileFormat() ``` Gets the tag that indicates a metadata property containing information about the format of a file. **Returns:** PropertyTag - The tag that indicates a metadata property containing information about the format of a file. ##### getStatus() ``` public final PropertyTag getStatus() ``` Gets the tag that denotes the status of a file. **Returns:** PropertyTag - The tag that denotes the status of a file. ##### getVersion() ``` public final PropertyTag getVersion() ``` Gets the tag labeling the version or revision of a file. **Returns:** PropertyTag - The tag labeling the version or revision of a file. ##### getSharedDoc() ``` public final PropertyTag getSharedDoc() ``` Gets the tag that denotes which is a common document for several manufacturers. **Returns:** PropertyTag - The tag that denotes which is a common document for several manufacturers. ##### getHyperlinksChanged() ``` public final PropertyTag getHyperlinksChanged() ``` Gets the tag that denotes the indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. **Returns:** PropertyTag - The tag that denotes indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. ##### getBody() ``` public final PropertyTag getBody() ``` Gets the tag that denotes the body of a email file. **Returns:** PropertyTag - The tag that denotes the body of a email file. ##### getAlbum() ``` public final PropertyTag getAlbum() ``` Gets the tag that denotes the album name of a audio file. Value: The tag that denotes the album name of a audio file. **Returns:** PropertyTag ### CorporateTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/corporatetagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class CorporateTagCategory extends TagCategory ``` Provides tags intended to mark metadata properties related to a company that participated in file creation. #### Methods | Method | Description | | --- | --- | | getCompany() | Gets the tag that labels a property containing information about a company contributed to file creation. | | getManager() | Gets the tag that labels information about a person who managed the making process of a file. | ##### getCompany() ``` public final PropertyTag getCompany() ``` Gets the tag that labels a property containing information about a company contributed to file creation. Alternatively, the tag can refer to a company the file content is about. **Returns:** PropertyTag ##### getManager() ``` public final PropertyTag getManager() ``` Gets the tag that labels information about a person who managed the making process of a file. **Returns:** PropertyTag - The tag that labels information about a person who managed the making process of a file. ### DocumentTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/documenttagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class DocumentTagCategory extends TagCategory ``` Provides tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. #### Methods | Method | Description | | --- | --- | | getBuiltIn() | Gets the tag that indicates that the property it labels is built-in. | | getReadOnly() | Gets the tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. | | getHiddenData() | Gets the tag indicating a document part that is not visible for regular users. | | getUserComment() | Gets the tag that labels user comments shown in the document content. | | getPage() | Gets the tag that denotes a property holding information about a document page. | | getStatistic() | Gets the tag indicating a property containing document statistics (word count, character count, etc). | | getField() | Gets the tag that denotes a property holding information about a form field or calculated field extracted from a document. | | getRevision() | Get the tag labeling a property containing information about a document revision (tracked change). | ##### getBuiltIn() ``` public final PropertyTag getBuiltIn() ``` Gets the tag that indicates that the property it labels is built-in. **Returns:** PropertyTag - The tag that indicates that the property it labels is built-in. ##### getReadOnly() ``` public final PropertyTag getReadOnly() ``` Gets the tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. **Returns:** PropertyTag - The tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. ##### getHiddenData() ``` public final PropertyTag getHiddenData() ``` Gets the tag indicating a document part that is not visible for regular users. **Returns:** PropertyTag - The tag indicating a document part that is not visible for regular users. ##### getUserComment() ``` public final PropertyTag getUserComment() ``` Gets the tag that labels user comments shown in the document content. **Returns:** PropertyTag - The tag that labels user comments shown in the document content. ##### getPage() ``` public final PropertyTag getPage() ``` Gets the tag that denotes a property holding information about a document page. **Returns:** PropertyTag - The tag that denotes a property holding information about a document page. ##### getStatistic() ``` public final PropertyTag getStatistic() ``` Gets the tag indicating a property containing document statistics (word count, character count, etc). **Returns:** PropertyTag - The tag indicating a property containing document statistics (word count, character count, etc). ##### getField() ``` public final PropertyTag getField() ``` Gets the tag that denotes a property holding information about a form field or calculated field extracted from a document. **Returns:** PropertyTag - The tag that denotes a property holding information about a form field or calculated field extracted from a document. ##### getRevision() ``` public final PropertyTag getRevision() ``` Get the tag labeling a property containing information about a document revision (tracked change). **Returns:** PropertyTag - The tag labeling a property containing information about a document revision (tracked change). ### LegalTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/legaltagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class LegalTagCategory extends TagCategory ``` Provides tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. #### Methods | Method | Description | | --- | --- | | getCopyright() | Gets the tag that labels a copyright notice provided by the owner. | | getOwner() | Gets the tag that denotes information about the owners of a file. | | getUsageTerms() | Gets the tag that labels instructions on how the file can be used. | ##### getCopyright() ``` public final PropertyTag getCopyright() ``` Gets the tag that labels a copyright notice provided by the owner. **Returns:** PropertyTag - The tag that labels a copyright notice provided by the owner. ##### getOwner() ``` public final PropertyTag getOwner() ``` Gets the tag that denotes information about the owners of a file. **Returns:** PropertyTag - The tag that denotes information about the owners of a file. ##### getUsageTerms() ``` public final PropertyTag getUsageTerms() ``` Gets the tag that labels instructions on how the file can be used. **Returns:** PropertyTag - The tag that labels instructions on how the file can be used. ### OriginTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/origintagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class OriginTagCategory extends TagCategory ``` Provides tags that help a user to determine the origin of a file (e.g. template or another source). #### Methods | Method | Description | | --- | --- | | getTemplate() | Gets the tag that denotes the template from which the file was created. | | getSource() | Gets the tag that labels a reference to a resource from which the file content is derived. | ##### getTemplate() ``` public final PropertyTag getTemplate() ``` Gets the tag that denotes the template from which the file was created. **Returns:** PropertyTag - The tag that denotes the template from which the file was created. ##### getSource() ``` public final PropertyTag getSource() ``` Gets the tag that labels a reference to a resource from which the file content is derived. **Returns:** PropertyTag - The tag that labels a reference to a resource from which the file content is derived. ### PersonTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/persontagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class PersonTagCategory extends TagCategory ``` Provides tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. #### Methods | Method | Description | | --- | --- | | getCreator() | Gets the tag that denotes the original author of a file/document. | | getContributor() | Gets the tag that labels a property containing the name of a person who somehow contributed to file creation. | | getEditor() | Gets the tag that labels a person who edited a file. | | getModel() | Gets the tag that denotes information about a person the content of the file is about. | | getClient() | Gets the tag that labels information about the client for whom the file/intellectual content was created. | | getManager() | Gets the tag that labels information about a person who managed the making process of a file. | | getPublisher() | Gets the tag marking a person responsible for making the file available. | | getArtist() | Gets the tag that denotes the original performer of a file. | | getRecipient() | Gets the tag that denotes the original recipients of a mail. | ##### getCreator() ``` public final PropertyTag getCreator() ``` Gets the tag that denotes the original author of a file/document. **Returns:** PropertyTag - The tag that denotes the original author of a file/document. ##### getContributor() ``` public final PropertyTag getContributor() ``` Gets the tag that labels a property containing the name of a person who somehow contributed to file creation. Please note that the tag is not applied towards metadata properties marked with more specific tags from this category. E.g. if a property labeled with the Creator tag. **Returns:** PropertyTag - The tag that labels a property containing the name of a person who somehow contributed to file creation. ##### getEditor() ``` public final PropertyTag getEditor() ``` Gets the tag that labels a person who edited a file. The tag is usually used to mark a property containing information about the last editor. **Returns:** PropertyTag - The tag that labels a person who edited a file. ##### getModel() ``` public final PropertyTag getModel() ``` Gets the tag that denotes information about a person the content of the file is about. For photos that is a person shown in the image. **Returns:** PropertyTag - The tag that denotes information about a person the content of the file is about. ##### getClient() ``` public final PropertyTag getClient() ``` Gets the tag that labels information about the client for whom the file/intellectual content was created. **Returns:** PropertyTag - The tag that labels information about the client for whom the file/intellectual content was created. ##### getManager() ``` public final PropertyTag getManager() ``` Gets the tag that labels information about a person who managed the making process of a file. **Returns:** PropertyTag - The tag that labels information about a person who managed the making process of a file. ##### getPublisher() ``` public final PropertyTag getPublisher() ``` Gets the tag marking a person responsible for making the file available. **Returns:** PropertyTag - The tag marking a person responsible for making the file available. ##### getArtist() ``` public final PropertyTag getArtist() ``` Gets the tag that denotes the original performer of a file. **Returns:** PropertyTag - The tag that denotes the original performer of a file. ##### getRecipient() ``` public final PropertyTag getRecipient() ``` Gets the tag that denotes the original recipients of a mail. **Returns:** PropertyTag - The tag that denotes the original recipients of a mail. ### PropertyTag Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/propertytag.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class PropertyTag implements System.IEquatable ``` Represents a tag used to mark metadata properties. #### Methods | Method | Description | | --- | --- | | getCategory() | Gets the tag category. | | equals(PropertyTag other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Determines whether the specified object is equal to the current object. | | hashCode() | Serves as the default hash function. | | op_Equality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are equal. | | op_Inequality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are not equal. | | toString() | Returns a string that represents the current object. | ##### getCategory() ``` public final TagCategory getCategory() ``` Gets the tag category. **Returns:** TagCategory - The tag category. ##### equals(PropertyTag other) ``` public final boolean equals(PropertyTag other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | PropertyTag | An object to compare with this object. | **Returns:** boolean - True if the current object is equal to the other parameter; otherwise, false. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether the specified object is equal to the current object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object. | **Returns:** boolean - True if the specified object is equal to the current object; otherwise, false. ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current object. ##### op_Equality(PropertyTag left, PropertyTag right) ``` public static boolean op_Equality(PropertyTag left, PropertyTag right) ``` Indicates whether two objects of the same type are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | PropertyTag | The left object. | | right | PropertyTag | The rigt object. | **Returns:** boolean - True if the objects are equal; otherwise, false. ##### op_Inequality(PropertyTag left, PropertyTag right) ``` public static boolean op_Inequality(PropertyTag left, PropertyTag right) ``` Indicates whether two objects of the same type are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | PropertyTag | The left object. | | right | PropertyTag | The rigt object. | **Returns:** boolean - True if the objects are not equal; otherwise, false. ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ### PropertyTypeTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/propertytypetagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class PropertyTypeTagCategory extends TagCategory ``` Provides tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. #### Methods | Method | Description | | --- | --- | | getLink() | Gets the tag that denotes a property being a link to an external resource. | | getHash() | Gets the tag that labels a property holding a hash of the file content. | | getMeasure() | Gets the tag that indicates a property being a measured characteristic of the content. | | getDigitalSignature() | Gets the tag that labels a digital signature. | | getIdentifier() | Gets the tag that labels a property containing an identifier of the content. | | getLocation() | Gets the tag that indicates a property being a reference to a geographical location. | | getFont() | Gets the tag that denotes a property describing font characteristics. | | getColor() | Gets the tag that labels a property describing a color. | | getBitrate() | Gets the tag that labels a property describing a bitrate. | ##### getLink() ``` public final PropertyTag getLink() ``` Gets the tag that denotes a property being a link to an external resource. **Returns:** PropertyTag - The tag that denotes a property being a link to an external resource. ##### getHash() ``` public final PropertyTag getHash() ``` Gets the tag that labels a property holding a hash of the file content. **Returns:** PropertyTag - The tag that labels a property holding a hash of the file content. ##### getMeasure() ``` public final PropertyTag getMeasure() ``` Gets the tag that indicates a property being a measured characteristic of the content. It can be the file size, number of pages, page size, etc. **Returns:** PropertyTag - The tag that indicates a property being a measured characteristic of the content. ##### getDigitalSignature() ``` public final PropertyTag getDigitalSignature() ``` Gets the tag that labels a digital signature. **Returns:** PropertyTag - The tag that labels a digital signature. ##### getIdentifier() ``` public final PropertyTag getIdentifier() ``` Gets the tag that labels a property containing an identifier of the content. **Returns:** PropertyTag - The tag that labels a property containing an identifier of the content. ##### getLocation() ``` public final PropertyTag getLocation() ``` Gets the tag that indicates a property being a reference to a geographical location. The property can contain the name of a city, full address, GPS coordinates, etc. **Returns:** PropertyTag - The tag that indicates a property being a reference to a geographical location. ##### getFont() ``` public final PropertyTag getFont() ``` Gets the tag that denotes a property describing font characteristics. **Returns:** PropertyTag - The tag that denotes a property describing font characteristics. ##### getColor() ``` public final PropertyTag getColor() ``` Gets the tag that labels a property describing a color. **Returns:** PropertyTag - The tag that labels a property describing a color. ##### getBitrate() ``` public final PropertyTag getBitrate() ``` Gets the tag that labels a property describing a bitrate. **Returns:** PropertyTag - The tag that labels a property describing a bitrate. ### TagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/tagcategory.md **Inheritance:** java.lang.Object ``` public class TagCategory ``` Represents a set of tags having some shared characteristics. #### Methods | Method | Description | | --- | --- | | toString() | Returns a string that represents the current object. | ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ### Tags Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/tags.md **Inheritance:** java.lang.Object ``` public class Tags ``` Contains various sets of tags with which most important metadata properties are marked. The tags allow you to find and update metadata properties in different packages regardless of the metadata standard and file format. #### Constructors | Constructor | Description | | --- | --- | | Tags() | | #### Methods | Method | Description | | --- | --- | | getPerson() | Gets a set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. | | getTool() | Gets the tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. | | getTime() | Gets a set of tags that mark metadata properties used to describe the lifecycle of a file. | | getContent() | Gets the tags that are attached to metadata properties describing the content of a file. | | getPropertyType() | Gets a set of tags that bear additional information about the type of a property rather than about its purpose. | | getDocument() | Gets a set of tags that are applied to document-specific properties only. | | getOrigin() | Gets the tags that help a user to determine the origin of a file (e.g. | | getCorporate() | Gets a set of tags intended to mark metadata properties related to a company that participated in file creation. | | getLegal() | Gets a set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. | ##### Tags() ``` public Tags() ``` ##### getPerson() ``` public static PersonTagCategory getPerson() ``` Gets a set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. **Returns:** PersonTagCategory - A set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. ##### getTool() ``` public static ToolTagCategory getTool() ``` Gets the tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. **Returns:** ToolTagCategory - The tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. ##### getTime() ``` public static TimeTagCategory getTime() ``` Gets a set of tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. **Returns:** TimeTagCategory - A set of tags that mark metadata properties used to describe the lifecycle of a file. ##### getContent() ``` public static ContentTagCategory getContent() ``` Gets the tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. **Returns:** ContentTagCategory - The tags that are attached to metadata properties describing the content of a file. ##### getPropertyType() ``` public static PropertyTypeTagCategory getPropertyType() ``` Gets a set of tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. **Returns:** PropertyTypeTagCategory ##### getDocument() ``` public static DocumentTagCategory getDocument() ``` Gets a set of tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. **Returns:** DocumentTagCategory - A set of tags that are applied to document-specific properties only. ##### getOrigin() ``` public static OriginTagCategory getOrigin() ``` Gets the tags that help a user to determine the origin of a file (e.g. template or another source). **Returns:** OriginTagCategory - The tags that help a user to determine the origin of a file (e.g. template or another source). ##### getCorporate() ``` public static CorporateTagCategory getCorporate() ``` Gets a set of tags intended to mark metadata properties related to a company that participated in file creation. **Returns:** CorporateTagCategory - A set of tags intended to mark metadata properties related to a company that participated in file creation. ##### getLegal() ``` public static LegalTagCategory getLegal() ``` Gets a set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. **Returns:** LegalTagCategory - A set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. ### TimeTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/timetagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class TimeTagCategory extends TagCategory ``` Provides tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. #### Methods | Method | Description | | --- | --- | | getIntellectualContentCreated() | Gets the tag that denotes the date the intellectual content of a file was created. | | getCreated() | Gets the tag that indicates the date a file was created. | | getModified() | Gets the tag that indicates the date a file was edited. | | getPublished() | Gets the tag that indicates the date a file became available. | | getPrinted() | Gets the tag that denotes the date a file was printed. | | getExpired() | Gets the tag that labels the latest date the owner intends the file data to be used. | | getTotalEditingTime() | Gets the tag that denotes the total editing time of a file. | | getDuration() | Gets the tag that denotes the duration of a media file. | | getZoneCity() | Gets the tag that denotes the time zone. | ##### getIntellectualContentCreated() ``` public final PropertyTag getIntellectualContentCreated() ``` Gets the tag that denotes the date the intellectual content of a file was created. **Returns:** PropertyTag - The tag that denotes the date the intellectual content of a file was created. ##### getCreated() ``` public final PropertyTag getCreated() ``` Gets the tag that indicates the date a file was created. **Returns:** PropertyTag - The tag that indicates the date a file was created. ##### getModified() ``` public final PropertyTag getModified() ``` Gets the tag that indicates the date a file was edited. **Returns:** PropertyTag - The tag that indicates the date a file was edited. ##### getPublished() ``` public final PropertyTag getPublished() ``` Gets the tag that indicates the date a file became available. **Returns:** PropertyTag - The tag that indicates the date a file became available. ##### getPrinted() ``` public final PropertyTag getPrinted() ``` Gets the tag that denotes the date a file was printed. **Returns:** PropertyTag - The tag that denotes the date a file was printed. ##### getExpired() ``` public final PropertyTag getExpired() ``` Gets the tag that labels the latest date the owner intends the file data to be used. **Returns:** PropertyTag - The tag that labels the latest date the owner intends the file data to be used. ##### getTotalEditingTime() ``` public final PropertyTag getTotalEditingTime() ``` Gets the tag that denotes the total editing time of a file. **Returns:** PropertyTag - The tag that denotes the total editing time of a file. ##### getDuration() ``` public final PropertyTag getDuration() ``` Gets the tag that denotes the duration of a media file. **Returns:** PropertyTag - The tag that denotes the duration of a media file. ##### getZoneCity() ``` public final PropertyTag getZoneCity() ``` Gets the tag that denotes the time zone. **Returns:** PropertyTag - The tag that denotes the time zone. ### ToolTagCategory Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.tagging/tooltagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class ToolTagCategory extends TagCategory ``` Provides tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. #### Methods | Method | Description | | --- | --- | | getSoftware() | Gets the tag that labels any kind of software used to create a file. | | getHardware() | Gets the tag that denotes any kind of hardware used to create a file. | | getSoftwareVersion() | Gets the tag that labels properties containing the version of the software used to create a file. | | getHardwareVersion() | Gets the tag that labels properties containing the version of the hardware used to create a file. | | getSoftwareManufacturer() | Gets the tag that marks a software manufacturer. | | getHardwareManufacturer() | Gets the tag that marks a hardware manufacturer. | | getModelId() | Gets the tag that marks a model id. | ##### getSoftware() ``` public final PropertyTag getSoftware() ``` Gets the tag that labels any kind of software used to create a file. **Returns:** PropertyTag - The tag that labels any kind of software used to create a file. ##### getHardware() ``` public final PropertyTag getHardware() ``` Gets the tag that denotes any kind of hardware used to create a file. **Returns:** PropertyTag - The tag that denotes any kind of hardware used to create a file. ##### getSoftwareVersion() ``` public final PropertyTag getSoftwareVersion() ``` Gets the tag that labels properties containing the version of the software used to create a file. **Returns:** PropertyTag - The tag that labels properties containing the version of the software used to create a file. ##### getHardwareVersion() ``` public final PropertyTag getHardwareVersion() ``` Gets the tag that labels properties containing the version of the hardware used to create a file. **Returns:** PropertyTag - The tag that labels properties containing the version of the hardware used to create a file. ##### getSoftwareManufacturer() ``` public final PropertyTag getSoftwareManufacturer() ``` Gets the tag that marks a software manufacturer. **Returns:** PropertyTag - The tag that marks a software manufacturer. ##### getHardwareManufacturer() ``` public final PropertyTag getHardwareManufacturer() ``` Gets the tag that marks a hardware manufacturer. **Returns:** PropertyTag - The tag that marks a hardware manufacturer. ##### getModelId() ``` public final PropertyTag getModelId() ``` Gets the tag that marks a model id. **Returns:** PropertyTag - The tag that marks a model id. ### com.groupdocs.metadata Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.md The **com.groupdocs.metadata** namespace is the entry point to all features of the library. #### Classes | Class | Description | | --- | --- | | Metadata | Provides the main class to access metadata in all supported formats. | ### Metadata Path: https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata/metadata.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public final class Metadata implements Closeable ``` Provides the main class to access metadata in all supported formats. #### Constructors | Constructor | Description | | --- | --- | | Metadata(String filePath) | Initializes a new instance of the Metadata class. | | Metadata(InputStream document) | Initializes a new instance of the Metadata class. | | Metadata(String filePath, LoadOptions loadOptions) | Initializes a new instance of the Metadata class. | | Metadata(InputStream document, LoadOptions loadOptions) | Initializes a new instance of the Metadata class. | #### Methods | Method | Description | | --- | --- | | getFileFormat() | Gets the type of the loaded file (if recognized). | | getRootPackage() | Gets the root package providing access to all metadata properties extracted from the file. | | getRootPackageGeneric() | Gets the root package providing access to all metadata properties extracted from the file. | | findProperties(Specification specification) | Finds the metadata properties satisfying a specification. | | updateProperties(Specification specification, PropertyValue value) | Updates known metadata properties satisfying a specification. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | addProperties(Specification specification, PropertyValue value) | Adds known metadata properties satisfying the specification. | | setProperties(Specification specification, PropertyValue value) | Sets known metadata properties satisfying the specification. | | sanitize() | Removes writable metadata properties from all detected packages or whole packages if possible. | | save() | Saves all changes made in the loaded document. | | save(OutputStream document) | Saves the document content into a stream. | | save(String filePath) | Saves the document content to the specified file. | | generatePreview(PreviewOptions previewOptions) | Creates preview images for specified pages. | | getDocumentInfo() | Gets common information about the loaded document. | | copyTo(MetadataPackage metadataPackage) | Copy known metadata properties from source package to destination package. | | copyTo(MetadataPackage metadataPackage, List tags) | Copy known metadata properties from source package to destination package. | | close() | Closes the loaded document and releases any system resources associated with it. | ##### Metadata(String filePath) ``` public Metadata(String filePath) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | A string that contains the full name of the file from which to create a Metadata instance. This example demonstrates how to load a file from a local disk. > ``` > ``` > > // Constants.InputOne is an absolute or relative path to your document. Ex: @"C:\Docs\source.one" > try (Metadata metadata = new Metadata(Constants.InputOne)) { > // Extract, edit or remove metadata here > } > > ``` > ``` [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### Metadata(InputStream document) ``` public Metadata(InputStream document) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | A stream that contains the document to load. This example demonstrates how to load a file from a stream. > ``` > ``` > > // Constants.InputDoc is an absolute or relative path to your document. Ex: @"C:\Docs\source.doc" > try (InputStream stream = new FileInputStream(Constants.InputDoc)) { > try (Metadata metadata = new Metadata(stream)) { > // Extract, edit or remove metadata here > } > } > > ``` > ``` [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### Metadata(String filePath, LoadOptions loadOptions) ``` public Metadata(String filePath, LoadOptions loadOptions) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | A string that contains the full name of the file from which to create a Metadata instance. | | loadOptions | LoadOptions | Additional options to use when loading a document. This example demonstrates how to load a password-protected document. > ``` > ``` > > // Specify the password > LoadOptions loadOptions = new LoadOptions(); > loadOptions.setPassword("123"); > // Constants.ProtectedDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" > try (Metadata metadata = new Metadata(Constants.ProtectedDocx, loadOptions)) { > // Extract, edit or remove metadata here > } > > ``` > ``` [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### Metadata(InputStream document, LoadOptions loadOptions) ``` public Metadata(InputStream document, LoadOptions loadOptions) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | A stream that contains the document to load. | | loadOptions | LoadOptions | Additional options to use when loading a document. [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the type of the loaded file (if recognized). **Returns:** FileFormat - The type of the loaded file if recognized; otherwise, F:GroupDocs.Metadata.FileFormat.Unknown . ##### getRootPackage() ``` public final RootMetadataPackage getRootPackage() ``` Gets the root package providing access to all metadata properties extracted from the file. **Returns:** RootMetadataPackage - The root package providing access to all metadata properties extracted from the file. This example demonstrates how to traverse the whole metadata tree for a specific file regardless of the format. > ``` > ``` > > public static void run() { > try (Metadata metadata = new Metadata(Constants.JpegWithXmp)) { > displayMetadataTree(metadata.getRootPackage(), 0); > } > } > private static void displayMetadataTree(MetadataPackage metadata, int indent) { > if (metadata != null) { > String stringMetadataType = String.valueOf(metadata.getMetadataType()); > System.out.printf("%" + (stringMetadataType.length() + indent) + "s%n", stringMetadataType); > for (MetadataProperty property : metadata) { > String stringPropertyRepresentation = "Name: " + property.getName() + ", Value: " + property.getValue(); > System.out.printf("%" + (stringPropertyRepresentation.length() + indent + 1) + "s%n", stringPropertyRepresentation); > if (property.getValue() != null) { > switch (property.getValue().getType()) { > case MetadataPropertyType.Metadata: > displayMetadataTree(property.getValue().toClass(MetadataPackage.class), indent + 2); > break; > case MetadataPropertyType.MetadataArray: > displayMetadataTree(property.getValue().toArray(MetadataPackage.class), indent + 2); > break; > } > } > } > } > } > private static void displayMetadataTree(MetadataPackage[] metadataArray, int indent) { > if (metadataArray != null) { > for (MetadataPackage metadata : metadataArray) { > displayMetadataTree(metadata, indent); > } > } > } > > ``` > ``` [Traverse a whole metadata tree]: https://docs.groupdocs.com/display/metadatajava/Traverse+a+whole+metadata+tree ##### getRootPackageGeneric() ``` public final TRoot getRootPackageGeneric() ``` Gets the root package providing access to all metadata properties extracted from the file. [Traverse a whole metadata tree]: https://docs.groupdocs.com/display/metadatajava/Traverse+a+whole+metadata+tree **Returns:** TRoot - The root package providing access to all metadata properties extracted from the file. TRoot : The exact type of the root package. ##### findProperties(Specification specification) ``` public final IReadOnlyList findProperties(Specification specification) ``` Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A function to test each metadata property for a condition. This example demonstrates how to search for specific metadata properties using tags. > ``` > ``` > > // Constants.InputPptx is an absolute or relative path to your document. Ex: @"C:\Docs\source.pptx" > try (Metadata metadata = new Metadata(Constants.InputPptx)) { > // Fetch all the properties satisfying the predicate: > // property contains the name of the last document editor OR the date/time the document was last modified > IReadOnlyList properties = metadata.findProperties( > new ContainsTagSpecification(Tags.getPerson().getEditor()).or(new ContainsTagSpecification(Tags.getTime().getModified()))); > for (MetadataProperty property : properties) { > System.out.println(String.format("Property name: %s, Property value: %s", property.getName(), property.getValue())); > } > } > > ``` > ``` [Extracting metadata]: https://docs.groupdocs.com/display/metadatajava/Extracting+metadata | **Returns:** IReadOnlyList - A collection that contains properties from the package that satisfy the condition. ##### updateProperties(Specification specification, PropertyValue value) ``` public final int updateProperties(Specification specification, PropertyValue value) ``` Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. This example demonstrates how to update existing metadata properties by various criteria regardless of the file format. > ``` > ``` > > public class UpdatingMetadata { > public static void run() { > Date threeDaysAgo = new Date(System.currentTimeMillis() - TimeUnit.DAYS.toMillis(3)); > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Update the file creation date/time if the existing value is older than 3 days > int affected = metadata.updateProperties(new ContainsTagSpecification(Tags.getTime().getCreated()).and( > new OfTypeSpecification(MetadataPropertyType.DateTime)).and( > new UpdatingMetadata().new DateBeforeSpecification(threeDaysAgo)), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > } > // Define your own specifications to filter metadata properties > public class DateBeforeSpecification extends Specification { > public DateBeforeSpecification(Date date) { > setValue(date); > } > > public final Date getValue() { > return auto_Value; > } > > private void setValue(Date value) { > auto_Value = value; > } > > private Date auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > Date date = candidate.getValue().toClass(Date.class); > if (date != null) { > return date.before(getValue()); > } > return false; > } > } > } > > ``` > ``` [Updating metadata]: https://docs.groupdocs.com/display/metadatajava/Updating+metadata | **Returns:** int - The number of affected properties. ##### removeProperties(Specification specification) ``` public final int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. This example demonstrates how to remove specific metadata properties using various criteria. > ``` > ``` > > public class RemoveMetadataProperties { > public static void run() { > // Constants.InputDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" > try (Metadata metadata = new Metadata(Constants.InputDocx)) { > > // Remove all the properties satisfying the predicate: > // property contains the name of the document author OR > // it refers to the last editor OR > // the property value is a string that is equal to the given string "John" (to remove any mentions of John from the detected metadata) > int affected = metadata.removeProperties( > new ContainsTagSpecification(Tags.getPerson().getCreator()).or( > new ContainsTagSpecification(Tags.getPerson().getEditor())).or( > new OfTypeSpecification(MetadataPropertyType.String).and(new RemoveMetadataProperties().new WithValueSpecification("John")))); > > System.out.println(String.format("Properties removed: %s", affected)); > > metadata.save(Constants.OutputDocx); > } > } > > // Define your own specifications to filter metadata properties > public class WithValueSpecification extends Specification { > public WithValueSpecification(Object value) { > setValue(value); > } > > public final Object getValue() { > return auto_Value; > } > > private void setValue(Object value) { > auto_Value = value; > } > > private Object auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > return candidate.getValue().getRawValue().equals(getValue()); > } > } > } > > ``` > ``` [Removing metadata]: https://docs.groupdocs.com/display/metadatajava/Removing+metadata | **Returns:** int - The number of affected properties. ##### addProperties(Specification specification, PropertyValue value) ``` public final int addProperties(Specification specification, PropertyValue value) ``` Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A value for the picked properties. This example demonstrates how to add some missing metadata properties to a file regardless of its format. > ``` > ``` > > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Add a property containing the file last printing date if it's missing > // Note that the property will be added to metadata packages that satisfy the following criteria: > // 1) Only existing metadata packages will be affected. No new packages are added during this operation > // 2) There should be a known metadata property in the package structure that fits the search condition but is actually missing in the package. > // All properties supported by a certain package are usually defined in the specification of a particular metadata standard > int affected = metadata.addProperties(new ContainsTagSpecification(Tags.getTime().getPrinted()), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > > ``` > ``` [Adding metadata]: https://docs.groupdocs.com/display/metadatajava/Adding+metadata | **Returns:** int - The number of affected properties. ##### setProperties(Specification specification, PropertyValue value) ``` public final int setProperties(Specification specification, PropertyValue value) ``` Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties . If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. This example demonstrates how to set specific metadata properties using different criteria. > ``` > ``` > > // Constants.InputVsdx is an absolute or relative path to your document. Ex: @"C:\Docs\source.vsdx" > try (Metadata metadata = new Metadata(Constants.InputVsdx)) { > // Set the value of each property that satisfies the predicate: > // property contains the date/time the document was created OR modified > int affected = metadata.setProperties( > new ContainsTagSpecification(Tags.getTime().getCreated()).or(new ContainsTagSpecification(Tags.getTime().getModified())), > new PropertyValue(new Date())); > System.out.println(String.format("Properties set: %s", affected)); > metadata.save(Constants.OutputVsdx); > } > > ``` > ``` [Set metadata properties]: https://docs.groupdocs.com/display/metadatajava/Set+metadata+properties | **Returns:** int - The number of affected properties. ##### sanitize() ``` public final int sanitize() ``` Removes writable metadata properties from all detected packages or whole packages if possible. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. This example demonstrates how to remove all detected metadata packages/properties from a file. > ``` > ``` > > // Constants.InputPdf is an absolute or relative path to your document. Ex: @"C:\Docs\source.pdf" > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > // Remove detected metadata packages > int affected = metadata.sanitize(); > System.out.println(String.format("Properties removed: %s", affected)); > metadata.save(Constants.OutputPdf); > } > > ``` > ``` [Clean metadata]: https://docs.groupdocs.com/display/metadatajava/Clean+metadata ##### save() ``` public final void save() ``` Saves all changes made in the loaded document. This example shows how to save the modified content to the underlying file. > ``` > ``` > > // Constants.InputPpt is an absolute or relative path to your document. Ex: @"C:\Docs\test.ppt" > File outputFile = new File(Constants.OutputPpt); > outputFile.delete(); > Files.copy(new File(Constants.InputPpt).toPath(), outputFile.toPath()); > try (Metadata metadata = new Metadata(Constants.OutputPpt)) { > // Edit or remove metadata here > // Saves the document to the underlying file > metadata.save(); > } > > ``` > ``` [Save a modified file to the original source]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+the+original+source [Save a modified file to a specified location]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+specified+location [Save a modified file to a stream]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+stream ##### save(OutputStream document) ``` public final void save(OutputStream document) ``` Saves the document content into a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | An output stream for the document. This example shows how to save a document to the specified stream. > ``` > ``` > > try (OutputStream stream = new FileOutputStream(Constants.OutputPng)) { > // Constants.InputPng is an absolute or relative path to your document. Ex: @"C:\Docs\test.png" > try (Metadata metadata = new Metadata(Constants.InputPng)) { > // Edit or remove metadata here > metadata.save(stream); > } > } > > ``` > ``` [Save a modified file to the original source]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+the+original+source [Save a modified file to a specified location]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+specified+location [Save a modified file to a stream]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+stream | ##### save(String filePath) ``` public final void save(String filePath) ``` Saves the document content to the specified file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the output file. This example shows how to save a document to the specified location. > ``` > ``` > > // Constants.InputJpeg is an absolute or relative path to your document. Ex: @"C:\Docs\test.jpg" > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > // Edit or remove metadata here > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Save a modified file to the original source]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+the+original+source [Save a modified file to a specified location]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+specified+location [Save a modified file to a stream]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+stream | ##### generatePreview(PreviewOptions previewOptions) ``` public final void generatePreview(PreviewOptions previewOptions) ``` Creates preview images for specified pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | A set of options for preview generation. [Generate document preview]: https://docs.groupdocs.com/display/metadatajava/Generate+document+preview | ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets common information about the loaded document. **Returns:** IDocumentInfo - An object representing common document information. [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info ##### copyTo(MetadataPackage metadataPackage) ``` public void copyTo(MetadataPackage metadataPackage) ``` Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. > ``` > This example demonstrates how to copy metadata properties from source package to destination package. > > Metadata source_metadata = new Metadata(Constants.InputPdf); > Metadata destination_metadata = new Metadata(Constants.DestinationPdf); > { > source_metadata.copyTo(destination_metadata); > source_metadata.save(); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | A destination metadata package. If the package types do not match, an error will be returned. | ##### copyTo(MetadataPackage metadataPackage, List tags) ``` public int copyTo(MetadataPackage metadataPackage, List tags) ``` Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. > ``` > This example demonstrates how to copy metadata properties from source package to destination package. > > Metadata source_metadata = new Metadata(Constants.InputPdf); > Metadata destination_metadata = new Metadata(Constants.DestinationPdf); > { > List tags = new ArrayList(); > tags.add(Tags.getPerson().getCreator()); > source_metadata.copyTo(destination_metadata, tags); > source_metadata.save(); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | A destination metadata package. | | tags | java.util.List | A list of the tags. If the package types do not match, an error will be returned. | **Returns:** int - The number of affected properties. ##### close() ``` public void close() ``` Closes the loaded document and releases any system resources associated with it. ## .NET ### GroupDocs.Metadata for .NET Path: https://reference.groupdocs.com/metadata/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Metadata | The namespace provides main classes allowing working with metadata in all supported formats. The `Metadata` class is the entry point to all features of the library. | | GroupDocs.Metadata.Common | The namespace contains base classes, utility classes and interfaces used across all formats and metadata standards. | | GroupDocs.Metadata.Exceptions | The namespace contains some specific exceptions that are thrown by the library during file reading and updating. | | GroupDocs.Metadata.Export | The namespace contains classes that allow users to export metadata properties to different representations. | | GroupDocs.Metadata.Formats.Archive | The namespace contains classes for working with archive formats. | | GroupDocs.Metadata.Formats.Audio | The namespace provides classes intended to work with different audio formats. | | GroupDocs.Metadata.Formats.Audio.Ogg | | | GroupDocs.Metadata.Formats.BusinessCard | The namespace contains classes intended to work with electronic business card formats. | | GroupDocs.Metadata.Formats.Cad | The namespace contains classes for working with CAD (computer-aided design) formats. | | GroupDocs.Metadata.Formats.Document | The namespace provides functionality intended to work with a variety of document formats such as spreadsheets, presentations, text processing formats, etc. | | GroupDocs.Metadata.Formats.Ebook | The namespace provides functionality for working with electronic book formats. | | GroupDocs.Metadata.Formats.Ebook.Fb2 | | | GroupDocs.Metadata.Formats.Ebook.Mobi | | | GroupDocs.Metadata.Formats.Email | The namespace contains classes representing saved email messages and their parts. | | GroupDocs.Metadata.Formats.Email.Msg | | | GroupDocs.Metadata.Formats.Fb2 | | | GroupDocs.Metadata.Formats.Font | The namespace contains classes allowing users to work with formats representing scalable computer fonts. | | GroupDocs.Metadata.Formats.Gis | | | GroupDocs.Metadata.Formats.Image | The namespace provides functionality allowing users to read and update metadata stored in different image formats. | | GroupDocs.Metadata.Formats.Image.Dng | | | GroupDocs.Metadata.Formats.Image.Svg | | | GroupDocs.Metadata.Formats.Mpeg | The namespace provides functionality allowing users to work with metadata of various MPEG standards. | | GroupDocs.Metadata.Formats.Peer2Peer | The namespace contains classes intended to work with different formats based on the peer2peer protocol. | | GroupDocs.Metadata.Formats.Raw | | | GroupDocs.Metadata.Formats.Raw.Cr2 | | | GroupDocs.Metadata.Formats.Raw.Tag | | | GroupDocs.Metadata.Formats.Riff | The namespace provides functionality allowing users to work with metadata of various formats derived from the RIFF container. | | GroupDocs.Metadata.Formats.ThreeD.Dae | | | GroupDocs.Metadata.Formats.ThreeD.Fbx | | | GroupDocs.Metadata.Formats.ThreeD.Gltf | | | GroupDocs.Metadata.Formats.ThreeD.Stl | | | GroupDocs.Metadata.Formats.ThreeD.ThreeDS | | | GroupDocs.Metadata.Formats.Video | The namespace contains classes for working with the most popular video formats. | | GroupDocs.Metadata.Import | | | GroupDocs.Metadata.Logging | | | GroupDocs.Metadata.Options | The namespace contains all classes representing settings that allow users to control file and metadata processing. | | GroupDocs.Metadata.Standards.DublinCore | The namespace contains functionality intended to read DublinCore metadata from files of different formats. | | GroupDocs.Metadata.Standards.Exif | The namespace contains functionality intended to read and write EXIF (exchangeable image file format) metadata. | | GroupDocs.Metadata.Standards.Exif.MakerNote | The namespace contains classes intended to work with MakerNote metadata written by various camera manufacturers. | | GroupDocs.Metadata.Standards.Iptc | The namespace contains classes allowing users to work with IPTC metadata. | | GroupDocs.Metadata.Standards.Pkcs | The namespace provides functionality intended to work with digital signatures based on the syntax of PKCS #7, specified in RFC 5652. | | GroupDocs.Metadata.Standards.Signing | The namespace provides base functionality intended to work with digital signatures. | | GroupDocs.Metadata.Standards.Xmp | The namespace provides functionality for XMP (Extensible Metadata Platform) metadata reading and writing. | | GroupDocs.Metadata.Standards.Xmp.Schemes | Contains the implementation of different XMP Schemes. | | GroupDocs.Metadata.Tagging | The namespace contains various sets of tags with which most important metadata properties are marked. The tags allow users to find and update metadata properties in different packages regardless of the metadata standard and file format. | ### GroupDocs.Metadata.Common Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common.md The namespace contains base classes, utility classes and interfaces used across all formats and metadata standards. #### Classes | Class | Description | | --- | --- | | CustomPackage | Provides a container for metadata properties. | | DocumentInfo | Provides common information about a loaded document. | | FeatureSupport | Represents support information for a specific product feature. | | FileType | Represents the file type. | | FileTypeFeatureSupport | Represents product feature support information for a specific file extension. | | FileTypePackage | Represents a metadata package containing file format information. | | Func<TResult> | Encapsulates a method that has no parameters and returns a value of the type specified by the *TResult* parameter. | | Func<T,TResult> | Encapsulates a method that has one parameter and returns a value of the type specified by the *TResult* parameter. | | MetadataPackage | Represents base abstraction for a metadata package. | | MetadataProperty | Represents a metadata property. | | MetadataPropertyEqualityComparer | Defines methods to support the comparison of metadata properties for equality. | | PageInfo | Provides common information about a document page (slide, worksheet, etc). | | PropertyDescriptor | Represents a descriptor of a property that can be accessed through the GroupDocs.Metadata search engine. | | PropertyValue | Represents a property value. | | PropertyValueEqualityComparer | Defines methods to support the comparison of property values for equality. | | ReadOnlyList<T> | Provides an abstract base class for a strongly typed read-only list. | | RootMetadataPackage | Represents an entry point to all metadata packages presented in a particular file. | | ValueAcceptor | Provides a base abstract class that allows extracting all supported types of values from a `PropertyValue` instance. | | ValueInterpreter | Defines operations required to interpret metadata property values. | #### Structures | Structure | Description | | --- | --- | | Rectangle | A set of four integers that represent the location and size of a rectangle. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Provides common information about a loaded document. | | IEnumValueInterpreter | Represents an interpreter intended to convert various numeric values to descriptive string values. | | IReadOnlyList<T> | Represents a read-only collection of elements that can be accessed by index. | #### Enumeration | Enumeration | Description | | --- | --- | | ByteOrder | Defines various byte orders. | | FileFormat | Represents the recognized format of a loaded file. | | FormatFamily | Groups file types into families for documentation and feature matrices. | | MetadataPropertyType | Defines metadata property types. | | MetadataType | Specifies the type of a metadata package. | | ProductFeature | Specifies product features that can be supported by a file type. | | PropertyAccessLevels | Defines access levels for metadata properties. | | SupportLevel | Specifies the feature support level. | ### ByteOrder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/byteorder.md #### ByteOrder enumeration Defines various byte orders. ```csharp public enum ByteOrder ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The byte order is unknown. | | BigEndian | `1` | Big endian. | | LittleEndian | `2` | Little endian. | ### CustomPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/custompackage.md #### CustomPackage class Provides a container for metadata properties. ```csharp public abstract class CustomPackage : MetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DocumentInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/documentinfo.md #### DocumentInfo class Provides common information about a loaded document. ```csharp public class DocumentInfo : IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | FileType { get; } | Gets the file type of the loaded document. | | IsEncrypted { get; } | Gets a value indicating whether the document is encrypted and requires a password to open. | | PageCount { get; } | Gets the number of pages (slides, worksheets, etc) in the loaded document. | | Pages { get; } | Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). | | Size { get; } | Gets the size of the loaded document in bytes. | ##### Examples This example demonstrates how to extract basic format information from a file. ```csharp using (Metadata metadata = new Metadata(Constants.InputXlsx)) { if (metadata.FileFormat != FileFormat.Unknown) { IDocumentInfo info = metadata.GetDocumentInfo(); Console.WriteLine("File format: {0}", info.FileType.FileFormat); Console.WriteLine("File extension: {0}", info.FileType.Extension); Console.WriteLine("MIME Type: {0}", info.FileType.MimeType); Console.WriteLine("Number of pages: {0}", info.PageCount); Console.WriteLine("Document size: {0} bytes", info.Size); Console.WriteLine("Is document encrypted: {0}", info.IsEncrypted); } } ``` ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/documentinfo/filetype.md #### DocumentInfo.FileType property Gets the file type of the loaded document. ```csharp public FileTypePackage FileType { get; } ``` ##### Property Value The file type of the loaded document. ### IsEncrypted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/documentinfo/isencrypted.md #### DocumentInfo.IsEncrypted property Gets a value indicating whether the document is encrypted and requires a password to open. ```csharp public bool IsEncrypted { get; } ``` ##### Property Value A value indicating whether the document is encrypted and requires a password to open. ### PageCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/documentinfo/pagecount.md #### DocumentInfo.PageCount property Gets the number of pages (slides, worksheets, etc) in the loaded document. ```csharp public int PageCount { get; } ``` ##### Property Value The number of pages (slides, worksheets, etc) in the loaded document. ### Pages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/documentinfo/pages.md #### DocumentInfo.Pages property Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). ```csharp public IReadOnlyList Pages { get; } ``` ##### Property Value A collection of objects representing common information about the document pages (slides, worksheets, etc). ### Size Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/documentinfo/size.md #### DocumentInfo.Size property Gets the size of the loaded document in bytes. ```csharp public long Size { get; } ``` ##### Property Value The size of the loaded document in bytes. ### FeatureSupport Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/featuresupport.md #### FeatureSupport class Represents support information for a specific product feature. ```csharp public sealed class FeatureSupport ``` #### Properties | Name | Description | | --- | --- | | Feature { get; } | Gets the product feature this entry describes. | | Level { get; } | Gets the support level for this feature. | ### Feature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/featuresupport/feature.md #### FeatureSupport.Feature property Gets the product feature this entry describes. ```csharp public ProductFeature Feature { get; } ``` ### Level Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/featuresupport/level.md #### FeatureSupport.Level property Gets the support level for this feature. ```csharp public SupportLevel Level { get; } ``` ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/fileformat.md #### FileFormat enumeration Represents the recognized format of a loaded file. ```csharp public enum FileFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The file type is not recognized. | | Presentation | `1` | A presentation file. You must be familiar with PPTX and PPT extension files while working with Microsoft PowerPoint. These are Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. Learn more about this file format [here](https://wiki.fileformat.com/presentation/). | | Spreadsheet | `2` | A spreadsheet file. A spreadsheet file contains data in the form of rows and columns. You can open, view and edit such files using spreadsheet software applications such as Microsoft Excel that is now available for both Windows and MacOS operating system. Similarly, Google sheets is a free online spreadsheet creating and editing tool that works from any web browser. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/). | | WordProcessing | `3` | A word processing file. A word processing file contains user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/). | | Diagram | `4` | A diagram file. | | Note | `5` | An electronic note file. Note-taking programs such as Microsoft OneNote lets you create, open and edit notes files that contain sections and pages for storing notes. A note document can be as simple as a text document as well as more detailed consisting of digital images, audio/video clips, and hand sketch drawings. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/). | | ProjectManagement | `6` | A project management format. Have you ever come across and wondered what is an MPP file or how to open it? MPP and other similar files are Project file formats that are created by Project Management software such as Microsoft Project. A project file is a collection of tasks, resources, and their scheduling to get a measurable output in the form or a product or a service. Learn more about this file format [here](https://wiki.fileformat.com/project-management/). | | Pdf | `7` | A PDF file. Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://wiki.fileformat.com/view/pdf/). | | Tiff | `8` | A TIFF image. TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). | | Jpeg | `9` | A JPEG image. JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). | | Psd | `10` | A PSD image. PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. PSD files may include image layers, adjustment layers, layer masks, annotations, file information, keywords and other Photoshop-specific elements. Learn more about this file format [here](https://wiki.fileformat.com/image/psd/). | | Jpeg2000 | `11` | A Jpeg2000 image. JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | Gif | `12` | A GIF image. A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif/). | | Png | `13` | A PNG image. PNG, Portable Network Graphics, refers to a type of raster image file format that use lossless compression. Learn more about this file format [here](https://wiki.fileformat.com/image/png/). | | Bmp | `14` | A BMP image. Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp/). | | Dicom | `15` | A DICOM image. DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is the combination of file format definition and a network communications protocol. Learn more about this file format [ here ](https://wiki.fileformat.com/image/dicom/). | | WebP | `16` | A WEBP image. WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp/). | | Emf | `17` | An EMF image. Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format [here](https://wiki.fileformat.com/image/emf/). | | Wmf | `18` | A WMF image. Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. To be more accurate, WMF belongs to the vector file format category of Graphics file formats that is device independent. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf/). | | DjVu | `19` | A DjVu file. DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. It was developed by AT&T Labs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). | | Wav | `20` | A WAV audio file. WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn't apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. Learn more about this file format [here](https://wiki.fileformat.com/audio/wav/). | | Mp3 | `21` | An Mp3 audio file. Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. It was developed by the Moving Picture Experts Group (MPEG) that uses Layer 3 audio compression. Learn more about this file format [here](https://wiki.fileformat.com/audio/mp3/). | | Avi | `22` | An AVI video. The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. It holds the audio and video data created and compressed using several codecs (Coders/Decoders) such as Xvid and DivX. Learn more about this file format [here](https://wiki.fileformat.com/video/avi/). | | Flv | `23` | An FLV video. | | Asf | `24` | An ASF video. The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/video/wmv/). | | Mov | `25` | A QuickTime video. Mov or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Mov format is compatible both in Windows and Macintosh systems. Learn more about this file format [here](https://wiki.fileformat.com/video/mov/). | | Matroska | `26` | A video encoded with the Matroska multimedia container. | | Zip | `27` | A ZIP archive. ZIP file extension represents archives that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size. ZIP file format was made public back in February 1989 by Phil Katz for achieving archiving of files and folders. Learn more about this file format [here](https://wiki.fileformat.com/compression/zip/). | | SevenZip | `28` | 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. | | VCard | `29` | A VCard file. VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here](https://wiki.fileformat.com/email/vcf/). | | Epub | `30` | An EPUB electronic book. Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub/). | | OpenType | `31` | An OpenType font. | | Dxf | `32` | A DXF (Drawing Exchange Format) drawing. DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Each element in the file has a prefix integer number called a group code. Learn more about this file format [here](https://wiki.fileformat.com/cad/dxf/). | | Dwg | `33` | A DWG drawing. Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwg/). | | Eml | `34` | An EML email message. EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format [here](https://wiki.fileformat.com/email/eml/). | | Msg | `35` | An MSG email message. MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Such messages may contain one or more email fields, with the sender, recipient, subject, date, and message body, or contact information, appointment particulars, and one or more task specifications. Learn more about this file format [here](https://wiki.fileformat.com/email/msg/). | | Torrent | `36` | A torrent file that contains metadata about files and folders to be distributed. | | Heif | `37` | A HEIF/HEIC image. | | Dng | `38` | A dng RAW image. | | Cr2 | `39` | A CR2 image. | | Rar | `40` | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | Tar | `41` | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | | ThreeDS | `42` | 3DS is one of the file formats used by the Autodesk 3ds Max 3D modeling, animation and rendering software. | | Dae | `43` | A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. | | Fbx | `44` | FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware. | | Stl | `45` | STL is a file format native to the stereolithography CAD software created by 3D Systems.[3][4][5] Chuck Hull, the inventor of stereolithography and 3D Systems’ founder, reports that the file extension is an abbreviation for stereolithography. | | Gis | `46` | Gis file. | | Fb2 | `47` | Files with .fb2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. It is based on XML format and contains special tags for describing each element of the book. It was developed primarily for fictional writings and literature, but is not limited to these only. The format accommodates all the metadata as well as content in itself and allows flexibility for a number of operations such as automatic processing, indexing, and conversion to other formats. In short, it focuses on describing the structure of the file instead of specifying its appearance. Several applications as well as APIs are available to convert FB2 to several other formats on Windows, MacOS, and Linux. Learn more about this file format [here](https://docs.fileformat.com/ebook/fb2/). | | Mobi | `48` | The MOBI file format is one of the most widely used ebook file formats. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as the proprietary format for Mobipocket Reader. | | Ogg | `49` | OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. OGG is a free and open container format that is maintained by Xiph.Org Foundation. | | Svg | `50` | Scalable Vector Graphics (SVG) is an XML-based vector graphics format for defining two-dimensional graphics, having support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium since 1999. | | Gltf | `51` | glTF (Graphics Library Transmission Format or GL Transmission Format and formerly known as WebGL Transmissions Format or WebGL TF) is a standard file format for three-dimensional scenes and models. A glTF file uses one of two possible file extensions: .gltf (JSON/ASCII) or .glb (binary). | | Avif | `52` | AV1 Image File Format (AVIF) is an open, royalty-free image file format specification for storing images or image sequences compressed with AV1 in the HEIF container format. | ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype.md #### FileType class Represents the file type. ```csharp public class FileType ``` #### Properties | Name | Description | | --- | --- | | Description { get; } | Gets the file type description. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Gets FileType for provided fileExtension | | override ToString() | Returns a String that represents the current `FileType`. | | static GetSupportedFileTypes() | Retrieves supported file types. | #### Fields | Name | Description | | --- | --- | | static readonly ASF | The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/video/wmv/). | | static readonly AVI | The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/video/avi/). | | static readonly AVIF | AV1 Image File Format (AVIF) is an open, royalty-free image file format specification for storing images or image sequences compressed with AV1 in the HEIF container format. Learn more about this file format [here](https://docs.fileformat.com/image/avif/). | | static readonly BMP | Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp/). | | static readonly CBRAR | A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). | | static readonly CBSEVEN | A CB7 file refers to Comic Book 7-Zip Archive. It is compressed file format commonly used for storing and distributing comic book collections digitally. CB7 files are created using 7-Zip compression software, which is known for its high compression ratio. [here](https://wiki.fileformat.com/compression/cb7/). | | static readonly CBTAR | A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). | | static readonly CBZIP | A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). | | static readonly CR2 | The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. [here](https://wiki.fileformat.com/image/cr2/). | | static readonly CRW | The .CRW file format is a digital photography RAW format created by Canon. [here](https://wiki.fileformat.com/image/crw/). | | static readonly DAE | A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. [here](https://wiki.fileformat.com/3d/dae/). | | static readonly DICOM | DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is used for the integration of medical imaging devices like printers, servers, scanners etc from various vendors and also contains identification data of each patient for uniqueness. Learn more about this file format [here](https://docs.fileformat.com/image/dicom/). | | static readonly DJV | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). | | static readonly DJVU | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). | | static readonly DNG | DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. DNG is an extension of TIFF/EP standard format and uses metadata significantly. In order to manipulate raw data from digital cameras with the ease of flexibility and artistic control, photographers opt camera raw files. JPEG and TIFF formats store images that are processed by the camera, therefore, not much room for alteration is available in such formats. [here](https://wiki.fileformat.com/image/dng/). | | static readonly DOC | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc/). | | static readonly DOCM | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm/). | | static readonly DOCX | DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx/). | | static readonly DOT | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot/). | | static readonly DOTM | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm/). | | static readonly DOTX | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx/). | | static readonly DWG | Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwg/). | | static readonly DXF | DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here](https://wiki.fileformat.com/cad/dxf/). | | static readonly EMF | Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format [here](https://wiki.fileformat.com/image/emf/). | | static readonly EML | EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here](https://wiki.fileformat.com/email/eml/). | | static readonly EPUB | Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub/). | | static readonly FB2 | Files with .fb2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. It is based on XML format and contains special tags for describing each element of the book. It was developed primarily for fictional writings and literature, but is not limited to these only. The format accommodates all the metadata as well as content in itself and allows flexibility for a number of operations such as automatic processing, indexing, and conversion to other formats. In short, it focuses on describing the structure of the file instead of specifying its appearance. Several applications as well as APIs are available to convert FB2 to several other formats on Windows, MacOS, and Linux. Learn more about this file format [here](https://docs.fileformat.com/ebook/fb2/). | | static readonly FBX | FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware. [here](https://wiki.fileformat.com/3d/fbx/). | | static readonly FLV | FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here](https://docs.fileformat.com/video/flv/). | | static readonly GEOJSON | GeoJSON is a JSON based format designed to represent the geographical features with their non-spatial attributes. [here](https://docs.fileformat.com/gis/geojson/). | | static readonly GIF | A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif/). | | static readonly GLTF | glTF (GL Transmission Format) is a 3D file format that stores 3D model information in JSON format. The use of JSON minimizes both the size of 3D assets and the runtime processing needed to unpack and use those assets. It was adopted for the efficient transmission and loading of 3D scenes and models by applications. glTF was developed by the Khronos Group 3D Formats Working Group and is also described as JPEG of 3D by its creators. [here](https://wiki.fileformat.com/3d/gltf/). | | static readonly GML | GML stands for Geography Markup Language that is based on XML specifications developed by the Open Geospatial Consortium (OGC). [here](https://docs.fileformat.com/gis/gml/). | | static readonly GPX | Files with GPX extension represent GPS Exchange format for interchange of GPS data between applications and web services on the internet. It is a light-weight XML file format that contains GPS data i.e. waypoints, routes and tracks to be imported and red by multiple programs. [here](https://docs.fileformat.com/gis/gpx/). | | static readonly HEIC | An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. HEIC, like HEIF, are compressed using the High Efficiency Video Coding (HEVC) standard and are smaller in size without compromising the quality. Learn more about this file format [here](https://docs.fileformat.com/image/heic/). | | static readonly HEIF | An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. HEIF file format compresses the images using the High Efficiency Video Coding (HEVC) standard. Learn more about this file format [here](https://docs.fileformat.com/image/heif/). | | static readonly J2K | JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/j2k/). | | static readonly JAR | JAR is a Java Archive file that contains many different application related files as a single file. This file format was created to reduce the speed of loading a downloaded Java Applet in browser via HTTP transaction, Learn more about this file format [here](https://docs.fileformat.com/programming/jar/). | | static readonly JP2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly JPE | A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). | | static readonly JPEG | A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). | | static readonly JPF | JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpf/). | | static readonly JPG | A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). | | static readonly JPM | JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpm/). | | static readonly JPX | JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpx/). | | static readonly KML | KML, Keyhole Markup Language) contains geospatial information in XML notation. Files saved as KML can be opened in Geographic Information System (GIS) applications provided they support it. [here](https://docs.fileformat.com/gis/kml/). | | static readonly MJ2 | Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. | | static readonly MK3D | MK3D is actually stereoscopic 3D video created using Matroska 3D format. The MKV file container uses a StereoMode field’s value to define the type of stereoscopic 3D video stuff. Learn more about this file format [here](https://docs.fileformat.com/video/mk3d/). | | static readonly MKA | MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. The MKA format supports several different kinds of audio compression algorithms such as MP3, AAC and Vobis. Learn more about this file format [here](https://docs.fileformat.com/audio/mka/). | | static readonly MKV | MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. Learn more about this file format [here](https://wiki.fileformat.com/video/mkv/). | | static readonly MOBI | The MOBI file format is one of the most widely used ebook file formats. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as the proprietary format for Mobipocket Reader. Like EPUB, it is supported by almost all modern e-readers specifically by mobile devices with low bandwidth. The format can be converted to several other formats such as PDF, EPUB, and several other formats using publicly available software applications such as the Kindle app. There are several companies that offer free MOBI books such as Project Gutenberg, Feedbooks, and Open Library. Learn more about this file format [here](https://docs.fileformat.com/ebook/mobi/). | | static readonly MOV | MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here](https://wiki.fileformat.com/video/mov/). | | static readonly MP3 | Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here](https://wiki.fileformat.com/audio/mp3/). | | static readonly MPP | MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpp/). | | static readonly MPT | MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpt/). | | static readonly MSG | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://wiki.fileformat.com/email/msg/). | | static readonly ODS | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods/). | | static readonly ODT | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt/). | | static readonly OGG | OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. OGG is a free and open container format that is maintained by Xiph.Org Foundation. Learn more about this file format [here](https://docs.fileformat.com/audio/ogg/). | | static readonly ONE | File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/one/). | | static readonly OSM | OpenStreetMap (OSM) is a huge collection of volunteered geographic information stores in different types of files, using different encoding schemes to convert this data into bits and bytes. [here](https://docs.fileformat.com/gis/osm/). | | static readonly OTC | OTC (OpenType Collection) is a OpenType font collection format. An OTC file can combine the multiple font files into it. | | static readonly OTF | A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Learn more about this file format [here](https://docs.fileformat.com/font/otf/). | | static readonly PDF | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://docs.fileformat.com/pdf/). | | static readonly PNG | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format [here](https://wiki.fileformat.com/image/png/). | | static readonly POT | Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot/). | | static readonly POTM | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm/). | | static readonly POTX | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx/). | | static readonly PPS | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps/). | | static readonly PPSM | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm/). | | static readonly PPSX | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx/). | | static readonly PPT | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt/). | | static readonly PPTM | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm/). | | static readonly PPTX | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx/). | | static readonly PSD | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here](https://wiki.fileformat.com/image/psd/). | | static readonly QT | MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here](https://wiki.fileformat.com/video/mov/). | | static readonly RAR | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. [here](https://wiki.fileformat.com/compression/rar/). | | static readonly SEVENZIP | 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. [here](https://wiki.fileformat.com/compression/zip/). | | static readonly SHP | The shapefile format is a geospatial vector data format for geographic information system (GIS) software. [here](https://docs.fileformat.com/gis/shp/). | | static readonly STL | STL is a file format native to the stereolithography CAD software created by 3D Systems. Chuck Hull, the inventor of stereolithography and 3D Systems’ founder, reports that the file extension is an abbreviation for stereolithography. [here](https://wiki.fileformat.com/3d/stl/). | | static readonly SVG | An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. The word Scalable refers to the fact that the SVG can be scaled to different sizes without losing any quality. Text-based description of such files makes them independent of resolution. It is one of the most used formats for building a website and print graphics in order to achieve scalability. The format can only be used for two-dimensional graphics though. SVG files can be viewed/opened in almost all modern browsers including Chrome, Internet Explorer, Firefox, and Safari. Learn more about this file format [here](https://docs.fileformat.com/image/svg/). | | static readonly TAR | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. [here](https://wiki.fileformat.com/compression/tar/). | | static readonly THREEDS | A file with .3ds extension represents 3D Sudio (DOS) mesh file format used by Autodesk 3D Studio. Autodesk 3D Studio has been in 3D file format market since 1990s and has now evolved to 3D Studio MAX for working with 3D modeling, animation and rendering. [here](https://wiki.fileformat.com/3d/3ds/). | | static readonly TIF | TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). | | static readonly TIFF | TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). | | static readonly TOPOJSON | TopoJSON is an extension of GeoJSON that encodes topology. [here](https://docs.fileformat.com/gis/geojson/). | | static readonly TORRENT | Represents TORRENT file type. | | static readonly TTC | TTC (TrueType Collection) is a TrueType font collection format. A TTC file can combine the multiple font files into it. Learn more about this file format [here](https://docs.fileformat.com/font/ttc/). | | static readonly TTF | TTF represents font files based on the TrueType specifications font technology. TrueType fonts provide highest quality display on computer screens and printers without any dependency on resolution. Learn more about this file format [here](https://docs.fileformat.com/font/ttf/). | | static readonly Unknown | Represents unknown file type. | | static readonly VCF | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here](https://docs.fileformat.com/email/vcf/). | | static readonly VCR | VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. | | static readonly VDX | Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. Learn more about this file format [here](https://wiki.fileformat.com/visio/vdx/). | | static readonly VSD | VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsd/). | | static readonly VSDX | Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsdx/). | | static readonly VSS | VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here](https://wiki.fileformat.com/visio/vss/). | | static readonly VSX | Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsx/). | | static readonly VTX | Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. Learn more about this file format [here](https://docs.fileformat.com/visio/vtx/). | | static readonly WAV | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here](https://wiki.fileformat.com/audio/wav/). | | static readonly WEBM | WEBM is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here](https://docs.fileformat.com/video/webm/). | | static readonly WEBP | WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp/). | | static readonly WMF | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf/). | | static readonly XLS | Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xls/). | | static readonly XLSB | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsb/). | | static readonly XLSM | Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsm/). | | static readonly XLSX | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsx/). | | static readonly XLT | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlt/). | | static readonly XLTM | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltm/). | | static readonly XLTX | Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltx/). | | static readonly ZIP | ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format [here](https://wiki.fileformat.com/compression/zip/). | | static readonly ZIPX | ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. | ### ASF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/asf.md #### FileType.ASF field The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/video/wmv/). ```csharp public static readonly FileType ASF; ``` ### AVI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/avi.md #### FileType.AVI field The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/video/avi/). ```csharp public static readonly FileType AVI; ``` ### AVIF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/avif.md #### FileType.AVIF field AV1 Image File Format (AVIF) is an open, royalty-free image file format specification for storing images or image sequences compressed with AV1 in the HEIF container format. Learn more about this file format [here](https://docs.fileformat.com/image/avif/). ```csharp public static readonly FileType AVIF; ``` ### BMP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/bmp.md #### FileType.BMP field Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp/). ```csharp public static readonly FileType BMP; ``` ### CBRAR Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/cbrar.md #### FileType.CBRAR field A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). ```csharp public static readonly FileType CBRAR; ``` ### CBSEVEN Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/cbseven.md #### FileType.CBSEVEN field A CB7 file refers to Comic Book 7-Zip Archive. It is compressed file format commonly used for storing and distributing comic book collections digitally. CB7 files are created using 7-Zip compression software, which is known for its high compression ratio. [here](https://wiki.fileformat.com/compression/cb7/). ```csharp public static readonly FileType CBSEVEN; ``` ### CBTAR Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/cbtar.md #### FileType.CBTAR field A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). ```csharp public static readonly FileType CBTAR; ``` ### CBZIP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/cbzip.md #### FileType.CBZIP field A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). ```csharp public static readonly FileType CBZIP; ``` ### CR2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/cr2.md #### FileType.CR2 field The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. [here](https://wiki.fileformat.com/image/cr2/). ```csharp public static readonly FileType CR2; ``` ### CRW Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/crw.md #### FileType.CRW field The .CRW file format is a digital photography RAW format created by Canon. [here](https://wiki.fileformat.com/image/crw/). ```csharp public static readonly FileType CRW; ``` ### DAE Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dae.md #### FileType.DAE field A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. [here](https://wiki.fileformat.com/3d/dae/). ```csharp public static readonly FileType DAE; ``` ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/description.md #### FileType.Description property Gets the file type description. ```csharp public string Description { get; } ``` ##### Property Value The file type description. ### DICOM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dicom.md #### FileType.DICOM field DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is used for the integration of medical imaging devices like printers, servers, scanners etc from various vendors and also contains identification data of each patient for uniqueness. Learn more about this file format [here](https://docs.fileformat.com/image/dicom/). ```csharp public static readonly FileType DICOM; ``` ### DJV Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/djv.md #### FileType.DJV field DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). ```csharp public static readonly FileType DJV; ``` ### DJVU Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/djvu.md #### FileType.DJVU field DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). ```csharp public static readonly FileType DJVU; ``` ### DNG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dng.md #### FileType.DNG field DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. DNG is an extension of TIFF/EP standard format and uses metadata significantly. In order to manipulate raw data from digital cameras with the ease of flexibility and artistic control, photographers opt camera raw files. JPEG and TIFF formats store images that are processed by the camera, therefore, not much room for alteration is available in such formats. [here](https://wiki.fileformat.com/image/dng/). ```csharp public static readonly FileType DNG; ``` ### DOC Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/doc.md #### FileType.DOC field Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc/). ```csharp public static readonly FileType DOC; ``` ### DOCM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/docm.md #### FileType.DOCM field DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm/). ```csharp public static readonly FileType DOCM; ``` ### DOCX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/docx.md #### FileType.DOCX field DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx/). ```csharp public static readonly FileType DOCX; ``` ### DOT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dot.md #### FileType.DOT field Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot/). ```csharp public static readonly FileType DOT; ``` ### DOTM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dotm.md #### FileType.DOTM field A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm/). ```csharp public static readonly FileType DOTM; ``` ### DOTX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dotx.md #### FileType.DOTX field Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx/). ```csharp public static readonly FileType DOTX; ``` ### DWG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dwg.md #### FileType.DWG field Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwg/). ```csharp public static readonly FileType DWG; ``` ### DXF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/dxf.md #### FileType.DXF field DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here](https://wiki.fileformat.com/cad/dxf/). ```csharp public static readonly FileType DXF; ``` ### EMF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/emf.md #### FileType.EMF field Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format [here](https://wiki.fileformat.com/image/emf/). ```csharp public static readonly FileType EMF; ``` ### EML Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/eml.md #### FileType.EML field EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here](https://wiki.fileformat.com/email/eml/). ```csharp public static readonly FileType EML; ``` ### EPUB Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/epub.md #### FileType.EPUB field Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub/). ```csharp public static readonly FileType EPUB; ``` ### Extension Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/extension.md #### FileType.Extension property Gets the file extension. ```csharp public string Extension { get; } ``` ##### Property Value The file extension. ### FB2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/fb2.md #### FileType.FB2 field Files with .fb2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. It is based on XML format and contains special tags for describing each element of the book. It was developed primarily for fictional writings and literature, but is not limited to these only. The format accommodates all the metadata as well as content in itself and allows flexibility for a number of operations such as automatic processing, indexing, and conversion to other formats. In short, it focuses on describing the structure of the file instead of specifying its appearance. Several applications as well as APIs are available to convert FB2 to several other formats on Windows, MacOS, and Linux. Learn more about this file format [here](https://docs.fileformat.com/ebook/fb2/). ```csharp public static readonly FileType FB2; ``` ### FBX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/fbx.md #### FileType.FBX field FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware. [here](https://wiki.fileformat.com/3d/fbx/). ```csharp public static readonly FileType FBX; ``` ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/fileformat.md #### FileType.FileFormat property Gets the file format. ```csharp public FileFormat FileFormat { get; } ``` ##### Property Value The file format. ### FLV Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/flv.md #### FileType.FLV field FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here](https://docs.fileformat.com/video/flv/). ```csharp public static readonly FileType FLV; ``` ### FromExtension Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/fromextension.md #### FileType.FromExtension method Gets FileType for provided fileExtension ```csharp public static FileType FromExtension(string fileExtension) ``` | Parameter | Type | Description | | --- | --- | --- | | fileExtension | String | File extension | ##### Return Value File type ### GEOJSON Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/geojson.md #### FileType.GEOJSON field GeoJSON is a JSON based format designed to represent the geographical features with their non-spatial attributes. [here](https://docs.fileformat.com/gis/geojson/). ```csharp public static readonly FileType GEOJSON; ``` ### GetSupportedFileTypes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/getsupportedfiletypes.md #### FileType.GetSupportedFileTypes method Retrieves supported file types. ```csharp public static IEnumerable GetSupportedFileTypes() ``` ##### Return Value A collection of supported file types. ### GIF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/gif.md #### FileType.GIF field A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif/). ```csharp public static readonly FileType GIF; ``` ### GLTF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/gltf.md #### FileType.GLTF field glTF (GL Transmission Format) is a 3D file format that stores 3D model information in JSON format. The use of JSON minimizes both the size of 3D assets and the runtime processing needed to unpack and use those assets. It was adopted for the efficient transmission and loading of 3D scenes and models by applications. glTF was developed by the Khronos Group 3D Formats Working Group and is also described as JPEG of 3D by its creators. [here](https://wiki.fileformat.com/3d/gltf/). ```csharp public static readonly FileType GLTF; ``` ### GML Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/gml.md #### FileType.GML field GML stands for Geography Markup Language that is based on XML specifications developed by the Open Geospatial Consortium (OGC). [here](https://docs.fileformat.com/gis/gml/). ```csharp public static readonly FileType GML; ``` ### GPX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/gpx.md #### FileType.GPX field Files with GPX extension represent GPS Exchange format for interchange of GPS data between applications and web services on the internet. It is a light-weight XML file format that contains GPS data i.e. waypoints, routes and tracks to be imported and red by multiple programs. [here](https://docs.fileformat.com/gis/gpx/). ```csharp public static readonly FileType GPX; ``` ### HEIC Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/heic.md #### FileType.HEIC field An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. HEIC, like HEIF, are compressed using the High Efficiency Video Coding (HEVC) standard and are smaller in size without compromising the quality. Learn more about this file format [here](https://docs.fileformat.com/image/heic/). ```csharp public static readonly FileType HEIC; ``` ### HEIF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/heif.md #### FileType.HEIF field An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. HEIF file format compresses the images using the High Efficiency Video Coding (HEVC) standard. Learn more about this file format [here](https://docs.fileformat.com/image/heif/). ```csharp public static readonly FileType HEIF; ``` ### J2K Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/j2k.md #### FileType.J2K field JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/j2k/). ```csharp public static readonly FileType J2K; ``` ### JAR Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jar.md #### FileType.JAR field JAR is a Java Archive file that contains many different application related files as a single file. This file format was created to reduce the speed of loading a downloaded Java Applet in browser via HTTP transaction, Learn more about this file format [here](https://docs.fileformat.com/programming/jar/). ```csharp public static readonly FileType JAR; ``` ### JP2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jp2.md #### FileType.JP2 field JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType JP2; ``` ### JPE Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jpe.md #### FileType.JPE field A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ```csharp public static readonly FileType JPE; ``` ### JPEG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jpeg.md #### FileType.JPEG field A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ```csharp public static readonly FileType JPEG; ``` ### JPF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jpf.md #### FileType.JPF field JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpf/). ```csharp public static readonly FileType JPF; ``` ### JPG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jpg.md #### FileType.JPG field A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ```csharp public static readonly FileType JPG; ``` ### JPM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jpm.md #### FileType.JPM field JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpm/). ```csharp public static readonly FileType JPM; ``` ### JPX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/jpx.md #### FileType.JPX field JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpx/). ```csharp public static readonly FileType JPX; ``` ### KML Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/kml.md #### FileType.KML field KML, Keyhole Markup Language) contains geospatial information in XML notation. Files saved as KML can be opened in Geographic Information System (GIS) applications provided they support it. [here](https://docs.fileformat.com/gis/kml/). ```csharp public static readonly FileType KML; ``` ### MJ2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mj2.md #### FileType.MJ2 field Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. ```csharp public static readonly FileType MJ2; ``` ### MK3D Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mk3d.md #### FileType.MK3D field MK3D is actually stereoscopic 3D video created using Matroska 3D format. The MKV file container uses a StereoMode field’s value to define the type of stereoscopic 3D video stuff. Learn more about this file format [here](https://docs.fileformat.com/video/mk3d/). ```csharp public static readonly FileType MK3D; ``` ### MKA Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mka.md #### FileType.MKA field MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. The MKA format supports several different kinds of audio compression algorithms such as MP3, AAC and Vobis. Learn more about this file format [here](https://docs.fileformat.com/audio/mka/). ```csharp public static readonly FileType MKA; ``` ### MKV Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mkv.md #### FileType.MKV field MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. Learn more about this file format [here](https://wiki.fileformat.com/video/mkv/). ```csharp public static readonly FileType MKV; ``` ### MOBI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mobi.md #### FileType.MOBI field The MOBI file format is one of the most widely used ebook file formats. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as the proprietary format for Mobipocket Reader. Like EPUB, it is supported by almost all modern e-readers specifically by mobile devices with low bandwidth. The format can be converted to several other formats such as PDF, EPUB, and several other formats using publicly available software applications such as the Kindle app. There are several companies that offer free MOBI books such as Project Gutenberg, Feedbooks, and Open Library. Learn more about this file format [here](https://docs.fileformat.com/ebook/mobi/). ```csharp public static readonly FileType MOBI; ``` ### MOV Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mov.md #### FileType.MOV field MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here](https://wiki.fileformat.com/video/mov/). ```csharp public static readonly FileType MOV; ``` ### MP3 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mp3.md #### FileType.MP3 field Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here](https://wiki.fileformat.com/audio/mp3/). ```csharp public static readonly FileType MP3; ``` ### MPP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mpp.md #### FileType.MPP field MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpp/). ```csharp public static readonly FileType MPP; ``` ### MPT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/mpt.md #### FileType.MPT field MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpt/). ```csharp public static readonly FileType MPT; ``` ### MSG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/msg.md #### FileType.MSG field MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://wiki.fileformat.com/email/msg/). ```csharp public static readonly FileType MSG; ``` ### ODS Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/ods.md #### FileType.ODS field Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods/). ```csharp public static readonly FileType ODS; ``` ### ODT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/odt.md #### FileType.ODT field ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt/). ```csharp public static readonly FileType ODT; ``` ### OGG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/ogg.md #### FileType.OGG field OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. OGG is a free and open container format that is maintained by Xiph.Org Foundation. Learn more about this file format [here](https://docs.fileformat.com/audio/ogg/). ```csharp public static readonly FileType OGG; ``` ### ONE Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/one.md #### FileType.ONE field File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/one/). ```csharp public static readonly FileType ONE; ``` ### OSM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/osm.md #### FileType.OSM field OpenStreetMap (OSM) is a huge collection of volunteered geographic information stores in different types of files, using different encoding schemes to convert this data into bits and bytes. [here](https://docs.fileformat.com/gis/osm/). ```csharp public static readonly FileType OSM; ``` ### OTC Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/otc.md #### FileType.OTC field OTC (OpenType Collection) is a OpenType font collection format. An OTC file can combine the multiple font files into it. ```csharp public static readonly FileType OTC; ``` ### OTF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/otf.md #### FileType.OTF field A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Learn more about this file format [here](https://docs.fileformat.com/font/otf/). ```csharp public static readonly FileType OTF; ``` ### PDF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/pdf.md #### FileType.PDF field Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://docs.fileformat.com/pdf/). ```csharp public static readonly FileType PDF; ``` ### PNG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/png.md #### FileType.PNG field PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format [here](https://wiki.fileformat.com/image/png/). ```csharp public static readonly FileType PNG; ``` ### POT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/pot.md #### FileType.POT field Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot/). ```csharp public static readonly FileType POT; ``` ### POTM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/potm.md #### FileType.POTM field Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm/). ```csharp public static readonly FileType POTM; ``` ### POTX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/potx.md #### FileType.POTX field Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx/). ```csharp public static readonly FileType POTX; ``` ### PPS Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/pps.md #### FileType.PPS field PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps/). ```csharp public static readonly FileType PPS; ``` ### PPSM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/ppsm.md #### FileType.PPSM field Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm/). ```csharp public static readonly FileType PPSM; ``` ### PPSX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/ppsx.md #### FileType.PPSX field PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx/). ```csharp public static readonly FileType PPSX; ``` ### PPT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/ppt.md #### FileType.PPT field A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt/). ```csharp public static readonly FileType PPT; ``` ### PPTM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/pptm.md #### FileType.PPTM field Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm/). ```csharp public static readonly FileType PPTM; ``` ### PPTX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/pptx.md #### FileType.PPTX field Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx/). ```csharp public static readonly FileType PPTX; ``` ### PSD Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/psd.md #### FileType.PSD field PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here](https://wiki.fileformat.com/image/psd/). ```csharp public static readonly FileType PSD; ``` ### QT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/qt.md #### FileType.QT field MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here](https://wiki.fileformat.com/video/mov/). ```csharp public static readonly FileType QT; ``` ### RAR Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/rar.md #### FileType.RAR field RAR is a proprietary archive file format that supports data compression, error correction and file spanning. [here](https://wiki.fileformat.com/compression/rar/). ```csharp public static readonly FileType RAR; ``` ### SEVENZIP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/sevenzip.md #### FileType.SEVENZIP field 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. [here](https://wiki.fileformat.com/compression/zip/). ```csharp public static readonly FileType SEVENZIP; ``` ### SHP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/shp.md #### FileType.SHP field The shapefile format is a geospatial vector data format for geographic information system (GIS) software. [here](https://docs.fileformat.com/gis/shp/). ```csharp public static readonly FileType SHP; ``` ### STL Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/stl.md #### FileType.STL field STL is a file format native to the stereolithography CAD software created by 3D Systems. Chuck Hull, the inventor of stereolithography and 3D Systems’ founder, reports that the file extension is an abbreviation for stereolithography. [here](https://wiki.fileformat.com/3d/stl/). ```csharp public static readonly FileType STL; ``` ### SVG Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/svg.md #### FileType.SVG field An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. The word Scalable refers to the fact that the SVG can be scaled to different sizes without losing any quality. Text-based description of such files makes them independent of resolution. It is one of the most used formats for building a website and print graphics in order to achieve scalability. The format can only be used for two-dimensional graphics though. SVG files can be viewed/opened in almost all modern browsers including Chrome, Internet Explorer, Firefox, and Safari. Learn more about this file format [here](https://docs.fileformat.com/image/svg/). ```csharp public static readonly FileType SVG; ``` ### TAR Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/tar.md #### FileType.TAR field In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. [here](https://wiki.fileformat.com/compression/tar/). ```csharp public static readonly FileType TAR; ``` ### THREEDS Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/threeds.md #### FileType.THREEDS field A file with .3ds extension represents 3D Sudio (DOS) mesh file format used by Autodesk 3D Studio. Autodesk 3D Studio has been in 3D file format market since 1990s and has now evolved to 3D Studio MAX for working with 3D modeling, animation and rendering. [here](https://wiki.fileformat.com/3d/3ds/). ```csharp public static readonly FileType THREEDS; ``` ### TIF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/tif.md #### FileType.TIF field TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). ```csharp public static readonly FileType TIF; ``` ### TIFF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/tiff.md #### FileType.TIFF field TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). ```csharp public static readonly FileType TIFF; ``` ### TOPOJSON Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/topojson.md #### FileType.TOPOJSON field TopoJSON is an extension of GeoJSON that encodes topology. [here](https://docs.fileformat.com/gis/geojson/). ```csharp public static readonly FileType TOPOJSON; ``` ### TORRENT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/torrent.md #### FileType.TORRENT field Represents TORRENT file type. ```csharp public static readonly FileType TORRENT; ``` ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/tostring.md #### FileType.ToString method Returns a String that represents the current `FileType`. ```csharp public override string ToString() ``` ##### Return Value A String that represents the current `FileType`. ### TTC Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/ttc.md #### FileType.TTC field TTC (TrueType Collection) is a TrueType font collection format. A TTC file can combine the multiple font files into it. Learn more about this file format [here](https://docs.fileformat.com/font/ttc/). ```csharp public static readonly FileType TTC; ``` ### TTF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/ttf.md #### FileType.TTF field TTF represents font files based on the TrueType specifications font technology. TrueType fonts provide highest quality display on computer screens and printers without any dependency on resolution. Learn more about this file format [here](https://docs.fileformat.com/font/ttf/). ```csharp public static readonly FileType TTF; ``` ### Unknown Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/unknown.md #### FileType.Unknown field Represents unknown file type. ```csharp public static readonly FileType Unknown; ``` ### VCF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vcf.md #### FileType.VCF field VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here](https://docs.fileformat.com/email/vcf/). ```csharp public static readonly FileType VCF; ``` ### VCR Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vcr.md #### FileType.VCR field VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. ```csharp public static readonly FileType VCR; ``` ### VDX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vdx.md #### FileType.VDX field Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. Learn more about this file format [here](https://wiki.fileformat.com/visio/vdx/). ```csharp public static readonly FileType VDX; ``` ### VSD Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vsd.md #### FileType.VSD field VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsd/). ```csharp public static readonly FileType VSD; ``` ### VSDX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vsdx.md #### FileType.VSDX field Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsdx/). ```csharp public static readonly FileType VSDX; ``` ### VSS Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vss.md #### FileType.VSS field VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here](https://wiki.fileformat.com/visio/vss/). ```csharp public static readonly FileType VSS; ``` ### VSX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vsx.md #### FileType.VSX field Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsx/). ```csharp public static readonly FileType VSX; ``` ### VTX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/vtx.md #### FileType.VTX field Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. Learn more about this file format [here](https://docs.fileformat.com/visio/vtx/). ```csharp public static readonly FileType VTX; ``` ### WAV Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/wav.md #### FileType.WAV field WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here](https://wiki.fileformat.com/audio/wav/). ```csharp public static readonly FileType WAV; ``` ### WEBM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/webm.md #### FileType.WEBM field WEBM is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here](https://docs.fileformat.com/video/webm/). ```csharp public static readonly FileType WEBM; ``` ### WEBP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/webp.md #### FileType.WEBP field WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp/). ```csharp public static readonly FileType WEBP; ``` ### WMF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/wmf.md #### FileType.WMF field Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf/). ```csharp public static readonly FileType WMF; ``` ### XLS Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/xls.md #### FileType.XLS field Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xls/). ```csharp public static readonly FileType XLS; ``` ### XLSB Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/xlsb.md #### FileType.XLSB field XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsb/). ```csharp public static readonly FileType XLSB; ``` ### XLSM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/xlsm.md #### FileType.XLSM field Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsm/). ```csharp public static readonly FileType XLSM; ``` ### XLSX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/xlsx.md #### FileType.XLSX field XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsx/). ```csharp public static readonly FileType XLSX; ``` ### XLT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/xlt.md #### FileType.XLT field Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlt/). ```csharp public static readonly FileType XLT; ``` ### XLTM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/xltm.md #### FileType.XLTM field The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltm/). ```csharp public static readonly FileType XLTM; ``` ### XLTX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/xltx.md #### FileType.XLTX field Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltx/). ```csharp public static readonly FileType XLTX; ``` ### ZIP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/zip.md #### FileType.ZIP field ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format [here](https://wiki.fileformat.com/compression/zip/). ```csharp public static readonly FileType ZIP; ``` ### ZIPX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetype/zipx.md #### FileType.ZIPX field ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. ```csharp public static readonly FileType ZIPX; ``` ### FileTypeFeatureSupport Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypefeaturesupport.md #### FileTypeFeatureSupport class Represents product feature support information for a specific file extension. ```csharp public sealed class FileTypeFeatureSupport ``` #### Properties | Name | Description | | --- | --- | | Description { get; } | Gets the file type description. | | Extension { get; } | Gets the file extension for this entry (e.g. `.pdf`). | | Features { get; } | Gets feature support details for this file type. | | FormatFamily { get; } | Gets the documentation family this file type belongs to. | | Note { get; } | Gets optional remarks about support for this file type. | #### Methods | Name | Description | | --- | --- | | static GetSupportedFileTypeFeatures(FileType) | Gets feature support for the specified file type. | | static GetSupportedFileTypeFeatures(string) | Gets feature support for the specified file extension. | | static GetSupportedFileTypeFeatures() | Gets all registered file type feature support entries keyed by `FileType`. | ##### Remarks Use `GetSupportedFileTypeFeatures` to enumerate all registered entries and `GetSupportedFileTypeFeatures` or `GetSupportedFileTypeFeatures` to resolve a single entry. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypefeaturesupport/description.md #### FileTypeFeatureSupport.Description property Gets the file type description. ```csharp public string Description { get; } ``` ### Extension Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypefeaturesupport/extension.md #### FileTypeFeatureSupport.Extension property Gets the file extension for this entry (e.g. `.pdf`). ```csharp public string Extension { get; } ``` ### Features Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypefeaturesupport/features.md #### FileTypeFeatureSupport.Features property Gets feature support details for this file type. ```csharp public IEnumerable Features { get; } ``` ### FormatFamily Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypefeaturesupport/formatfamily.md #### FileTypeFeatureSupport.FormatFamily property Gets the documentation family this file type belongs to. ```csharp public FormatFamily FormatFamily { get; } ``` ### GetSupportedFileTypeFeatures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypefeaturesupport/getsupportedfiletypefeatures.md #### GetSupportedFileTypeFeatures() Gets all registered file type feature support entries keyed by `FileType`. ```csharp public static IReadOnlyDictionary GetSupportedFileTypeFeatures() ``` ##### Return Value A read-only map of supported file types. #### GetSupportedFileTypeFeatures(FileType) Gets feature support for the specified file type. ```csharp public static FileTypeFeatureSupport GetSupportedFileTypeFeatures(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The file type. | ##### Return Value The support information. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | *fileType* is `null`. | | ArgumentException | *fileType* is `Unknown`. | | KeyNotFoundException | No support information is registered for this file type. | #### GetSupportedFileTypeFeatures(string) Gets feature support for the specified file extension. ```csharp public static FileTypeFeatureSupport GetSupportedFileTypeFeatures(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | The file extension, with or without a leading dot (e.g. `.pdf` or `pdf`). | ##### Return Value The support information. ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | *extension* is null or whitespace. | | KeyNotFoundException | No support information is registered for this extension. | ### Note Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypefeaturesupport/note.md #### FileTypeFeatureSupport.Note property Gets optional remarks about support for this file type. ```csharp public string Note { get; } ``` ### FileTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypepackage.md #### FileTypePackage class Represents a metadata package containing file format information. ```csharp public class FileTypePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Extension Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypepackage/extension.md #### FileTypePackage.Extension property Gets the file extension. ```csharp public string Extension { get; } ``` ##### Property Value The file extension. ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypepackage/fileformat.md #### FileTypePackage.FileFormat property Gets the file format. ```csharp public FileFormat FileFormat { get; } ``` ##### Property Value The file format. ### MimeType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/filetypepackage/mimetype.md #### FileTypePackage.MimeType property Gets the MIME type. ```csharp public string MimeType { get; } ``` ##### Property Value The MIME type value. ### FormatFamily Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/formatfamily.md #### FormatFamily enumeration Groups file types into families for documentation and feature matrices. ```csharp public enum FormatFamily ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The format family is not specified. | | Word | `1` | Microsoft Word and compatible word-processing formats (.doc, .docx, .odt, …). | | Excel | `2` | Microsoft Excel and compatible spreadsheet formats (.xls, .xlsx, .ods, …). | | PowerPoint | `3` | Microsoft PowerPoint and compatible presentation formats (.ppt, .pptx, …). | | Pdf | `4` | PDF documents (.pdf). | | Email | `5` | Email message formats (.eml, .msg, …). | | Image | `6` | Raster and common image formats (.png, .jpg, .avif, …). | | Visio | `7` | Microsoft Visio diagram formats (.vsd, .vsdx, …). | | Other | `8` | Miscellaneous formats (e.g. .mpp, .vcf, .torrent) not grouped in a dedicated family below. | | OneNote | `10` | Microsoft OneNote formats (.one). | | Ebook | `11` | Electronic book formats (.epub, .fb2, .mobi, …). | | Cad | `12` | CAD drawing formats (.dwg, .dxf, …). | | Font | `13` | Font formats (.ttf, .otf, …). | | Audio | `15` | Audio formats (.mp3, .wav, .ogg, …). | | Video | `16` | Video formats (.avi, .mkv, .mov, …). | | Gis | `17` | GIS formats (.shp, .kml, .geojson, …). | | ThreeD | `18` | 3D model formats (.fbx, .gltf, .stl, …). | | Archive | `19` | Archive formats (.zip, .7z, .rar, …). | ### FuncTResult Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/func-1.md #### Func<TResult> delegate Encapsulates a method that has no parameters and returns a value of the type specified by the *TResult* parameter. ```csharp public delegate TResult Func(); ``` | Parameter | Description | | --- | --- | | TResult | The type of the return value of the method that this delegate encapsulates. | ##### Return Value The return value of the method that this delegate encapsulates. ### FuncTTResult Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/func-2.md #### Func<T,TResult> delegate Encapsulates a method that has one parameter and returns a value of the type specified by the *TResult* parameter. ```csharp public delegate TResult Func(T arg); ``` | Parameter | Description | | --- | --- | | T | The type of the parameter of the method that this delegate encapsulates. | | TResult | The type of the return value of the method that this delegate encapsulates. | | arg | The parameter of the method that this delegate encapsulates. | ##### Return Value The return value of the method that this delegate encapsulates. ### IDocumentInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/idocumentinfo.md #### IDocumentInfo interface Provides common information about a loaded document. ```csharp public interface IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | FileType { get; } | Gets the file type of the loaded document. | | IsEncrypted { get; } | Gets a value indicating whether the document is encrypted and requires a password to open. | | PageCount { get; } | Gets the number of pages (slides, worksheets, etc) in the loaded document. | | Pages { get; } | Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). | | Size { get; } | Gets the size of the loaded document in bytes. | ##### Examples This example demonstrates how to extract basic format information from a file. ```csharp using (Metadata metadata = new Metadata(Constants.InputXlsx)) { if (metadata.FileFormat != FileFormat.Unknown) { IDocumentInfo info = metadata.GetDocumentInfo(); Console.WriteLine("File format: {0}", info.FileType.FileFormat); Console.WriteLine("File extension: {0}", info.FileType.Extension); Console.WriteLine("MIME Type: {0}", info.FileType.MimeType); Console.WriteLine("Number of pages: {0}", info.PageCount); Console.WriteLine("Document size: {0} bytes", info.Size); Console.WriteLine("Is document encrypted: {0}", info.IsEncrypted); } } ``` ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/idocumentinfo/filetype.md #### IDocumentInfo.FileType property Gets the file type of the loaded document. ```csharp public FileTypePackage FileType { get; } ``` ##### Property Value The file type of the loaded document. ### IsEncrypted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/idocumentinfo/isencrypted.md #### IDocumentInfo.IsEncrypted property Gets a value indicating whether the document is encrypted and requires a password to open. ```csharp public bool IsEncrypted { get; } ``` ##### Property Value A value indicating whether the document is encrypted and requires a password to open. ### PageCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/idocumentinfo/pagecount.md #### IDocumentInfo.PageCount property Gets the number of pages (slides, worksheets, etc) in the loaded document. ```csharp public int PageCount { get; } ``` ##### Property Value The number of pages (slides, worksheets, etc) in the loaded document. ### Pages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/idocumentinfo/pages.md #### IDocumentInfo.Pages property Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). ```csharp public IReadOnlyList Pages { get; } ``` ##### Property Value A collection of objects representing common information about the document pages (slides, worksheets, etc). ### Size Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/idocumentinfo/size.md #### IDocumentInfo.Size property Gets the size of the loaded document in bytes. ```csharp public long Size { get; } ``` ##### Property Value The size of the loaded document in bytes. ### IEnumValueInterpreter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/ienumvalueinterpreter.md #### IEnumValueInterpreter interface Represents an interpreter intended to convert various numeric values to descriptive string values. ```csharp public interface IEnumValueInterpreter ``` #### Properties | Name | Description | | --- | --- | | OutputValueRange { get; } | Gets the range of all possible output (interpreted) values. | ### OutputValueRange Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/ienumvalueinterpreter/outputvaluerange.md #### IEnumValueInterpreter.OutputValueRange property Gets the range of all possible output (interpreted) values. ```csharp public IReadOnlyList OutputValueRange { get; } ``` ##### Property Value The range of all possible output (interpreted) values. ### IReadOnlyListT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/ireadonlylist-1.md #### IReadOnlyList<T> interface Represents a read-only collection of elements that can be accessed by index. ```csharp public interface IReadOnlyList : IEnumerable ``` | Parameter | Description | | --- | --- | | T | The type of elements in the read-only list. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of elements contained in the collection. | | Item { get; } | Gets the element at the specified index in the read-only list. | #### Methods | Name | Description | | --- | --- | | Contains(T) | Determines whether the collection contains a specific item. | | Contains(TagCategory) | Determines whether the collection contains a TagCategory item. | | IndexOf(T) | Determines the index of a specific item in the collection. | ### Contains Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/ireadonlylist-1/contains.md #### Contains(T) Determines whether the collection contains a specific item. ```csharp public bool Contains(T item) ``` | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | ##### Return Value True if the item is found in the collection; otherwise, false. #### Contains(TagCategory) Determines whether the collection contains a TagCategory item. ```csharp public bool Contains(TagCategory item) ``` | Parameter | Type | Description | | --- | --- | --- | | item | TagCategory | The item to locate in the collection. | ##### Return Value True if the item is found in the collection; otherwise, false. ### Count Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/ireadonlylist-1/count.md #### IReadOnlyList<T>.Count property Gets the number of elements contained in the collection. ```csharp public int Count { get; } ``` ##### Property Value The number of elements contained in the collection. ### IndexOf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/ireadonlylist-1/indexof.md #### IReadOnlyList<T>.IndexOf method Determines the index of a specific item in the collection. ```csharp public int IndexOf(T item) ``` | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | ##### Return Value The index of *item* if found in the collection; otherwise, -1. ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/ireadonlylist-1/item.md #### IReadOnlyList<T> indexer Gets the element at the specified index in the read-only list. ```csharp public T this[int index] { get; } ``` | Parameter | Description | | --- | --- | | index | The zero-based index of the element to get. | ##### Return Value The element at the specified index in the read-only list. ### MetadataPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage.md #### MetadataPackage class Represents base abstraction for a metadata package. ```csharp public abstract class MetadataPackage : IEnumerable ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AddProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/addproperties.md #### MetadataPackage.AddProperties method Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. ```csharp public virtual int AddProperties(Func predicate, PropertyValue value) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | | value | PropertyValue | A value for the picked properties. | ##### Return Value The number of affected properties. ### Contains Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/contains.md #### MetadataPackage.Contains method Determines whether the package contains a metadata property with the specified name. ```csharp public bool Contains(string propertyName) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The name of the property to locate in the package. | ##### Return Value True if the package contains a property with the specified name; otherwise, false. ### Count Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/count.md #### MetadataPackage.Count property Gets the number of metadata properties. ```csharp public int Count { get; } ``` ##### Property Value The number or metadata properties. ### FindProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/findproperties.md #### MetadataPackage.FindProperties method Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. ```csharp public virtual IEnumerable FindProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value An IEnumerable that contains properties from the package that satisfy the condition. ### GetEnumerator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/getenumerator.md #### MetadataPackage.GetEnumerator method Returns an enumerator that iterates through the collection. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An enumerator that can be used to iterate through the collection. ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/item.md #### MetadataPackage indexer Gets the `MetadataProperty` with the specified name. ```csharp public MetadataProperty this[string propertyName] { get; } ``` | Parameter | Description | | --- | --- | | propertyName | The name of the metadata property to be found. | ##### Return Value The `MetadataProperty` if found; otherwise, null. ##### Property Value The appropriate `MetadataProperty`. ### Keys Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/keys.md #### MetadataPackage.Keys property Gets a collection of the metadata property names. ```csharp public IReadOnlyList Keys { get; } ``` ##### Property Value A collection of the metadata property names. ### MetadataType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/metadatatype.md #### MetadataPackage.MetadataType property Gets the metadata type. ```csharp public MetadataType MetadataType { get; } ``` ##### Property Value The type of the metadata package. ### PropertyDescriptors Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/propertydescriptors.md #### MetadataPackage.PropertyDescriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ```csharp public IReadOnlyList PropertyDescriptors { get; } ``` ##### Property Value A collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ### RemoveProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/removeproperties.md #### MetadataPackage.RemoveProperties method Removes metadata properties satisfying the specified predicate. ```csharp public virtual int RemoveProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value The number of affected properties. ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/sanitize.md #### MetadataPackage.Sanitize method Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ```csharp public virtual int Sanitize() ``` ##### Return Value The number of affected properties. ### SetProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/setproperties.md #### MetadataPackage.SetProperties method Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. ```csharp public virtual int SetProperties(Func predicate, PropertyValue value) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. | ##### Return Value The number of affected properties. ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### UpdateProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapackage/updateproperties.md #### MetadataPackage.UpdateProperties method Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. ```csharp public virtual int UpdateProperties(Func predicate, PropertyValue value) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. | ##### Return Value The number of affected properties. ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MetadataProperty Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadataproperty.md #### MetadataProperty class Represents a metadata property. ```csharp public class MetadataProperty ``` #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | Tags { get; } | Gets a collection of tags associated with the property. | | Value { get; } | Gets the property value. | ### Descriptor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadataproperty/descriptor.md #### MetadataProperty.Descriptor property Gets the descriptor associated with the metadata property. ```csharp public PropertyDescriptor Descriptor { get; } ``` ##### Property Value The descriptor associated with the metadata property. ### InterpretedValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadataproperty/interpretedvalue.md #### MetadataProperty.InterpretedValue property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ```csharp public PropertyValue InterpretedValue { get; } ``` ##### Property Value The interpreted property value, if available. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadataproperty/name.md #### MetadataProperty.Name property Gets the property name. ```csharp public string Name { get; } ``` ##### Property Value The property name. ### Tags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadataproperty/tags.md #### MetadataProperty.Tags property Gets a collection of tags associated with the property. ```csharp public IReadOnlyList Tags { get; } ``` ##### Property Value A collection of tags associated with the property. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadataproperty/value.md #### MetadataProperty.Value property Gets the property value. ```csharp public PropertyValue Value { get; } ``` ##### Property Value The property value. ### MetadataPropertyEqualityComparer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapropertyequalitycomparer.md #### MetadataPropertyEqualityComparer class Defines methods to support the comparison of metadata properties for equality. ```csharp public class MetadataPropertyEqualityComparer : IEqualityComparer ``` #### Constructors | Name | Description | | --- | --- | | MetadataPropertyEqualityComparer() | The default constructor. | #### Methods | Name | Description | | --- | --- | | Equals(MetadataProperty, MetadataProperty) | Determines whether the specified objects are equal. | | GetHashCode(MetadataProperty) | Returns a hash code for the specified object. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapropertyequalitycomparer/equals.md #### MetadataPropertyEqualityComparer.Equals method Determines whether the specified objects are equal. ```csharp public bool Equals(MetadataProperty x, MetadataProperty y) ``` | Parameter | Type | Description | | --- | --- | --- | | x | MetadataProperty | The first object of type `MetadataProperty` to compare. | | y | MetadataProperty | The second object of type `MetadataProperty` to compare. | ##### Return Value `true` if the specified objects are equal; otherwise, `false`. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapropertyequalitycomparer/gethashcode.md #### MetadataPropertyEqualityComparer.GetHashCode method Returns a hash code for the specified object. ```csharp public int GetHashCode(MetadataProperty obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | MetadataProperty | The `MetadataProperty` for which a hash code is to be returned. | ##### Return Value A hash code for the specified object. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | The type of *obj* is a reference type and *obj* is `null`. | ### MetadataPropertyEqualityComparer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapropertyequalitycomparer/metadatapropertyequalitycomparer.md #### MetadataPropertyEqualityComparer constructor The default constructor. ```csharp public MetadataPropertyEqualityComparer() ``` ### MetadataPropertyType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatapropertytype.md #### MetadataPropertyType enumeration Defines metadata property types. ```csharp public enum MetadataPropertyType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Empty | `0` | Represents an empty (null) property. | | String | `1` | Represents a string property. | | Boolean | `2` | Represents a boolean property. | | DateTime | `3` | Represents a date property. | | TimeSpan | `4` | Represents a time property. | | Integer | `5` | Represents an integer property. | | Long | `6` | Represents a long integer property. | | Double | `7` | Represents a property with a double or float value. | | StringArray | `8` | Represents a string array property. | | ByteArray | `9` | Represents a byte array property. | | DoubleArray | `10` | Represents an array of double values. | | IntegerArray | `11` | Represents an array of integer values. | | LongArray | `12` | Represents an array of long values. | | Metadata | `13` | Represents a nested metadata block. | | MetadataArray | `14` | Represents an array of nested metadata blocks. | | Guid | `15` | Represents a global unique identifier value. | | PropertyValueArray | `16` | Represents a metadata property value array. | | Object | `17` | Represents a metadata property value object. | ### MetadataType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/metadatatype.md #### MetadataType enumeration Specifies the type of a metadata package. ```csharp public enum MetadataType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | The type of a metadata package is undefined. | | Root | `1` | A root metadata package containing other format-specific packages. | | Xmp | `2` | An XMP metadata package. | | Exif | `3` | An EXIF metadata package, | | Iptc | `4` | An IPTC metadata package, | | DublinCore | `5` | A Dublin Core metadata package. | | ImageResourceBlock | `6` | A Photoshop's native metadata package. | | FileFormat | `7` | A package containing information about the format of a loaded file. | | DigitalSignature | `8` | A package containing digital signature metadata. | | Presentation | `9` | A presentation metadata package. | | Spreadsheet | `10` | A spreadsheet metadata package. | | WordProcessing | `11` | A word processing metadata package. | | Diagram | `12` | A diagram metadata package. | | Note | `13` | A metadata package containing information about an electronic note file. | | ProjectManagement | `14` | A metadata package containing information about a project management file. | | Pdf | `15` | A PDF metadata package. | | DocumentStatistics | `16` | A package containing document statistics. | | Psd | `17` | A metadata package containing information about a Photoshop document. | | Jpeg2000 | `18` | A JPEG2000 native metadata package. | | Dicom | `19` | A DICOM native metadata package. | | Bmp | `20` | A BMP native metadata package. | | Wav | `21` | A WAV native metadata package. | | ID3V1 | `22` | An ID3V1 tag. | | ID3V2 | `23` | An ID3V2 tag. | | MpegAudio | `24` | An MPEG audio native metadata package. | | Lyrics3 | `25` | A Lyrics3 metadata package. | | ApeV2 | `26` | An APEv2 metadata package. | | Avi | `27` | An AVI video native metadata package. | | Flv | `28` | An FLV video native metadata package. | | Asf | `29` | An ASF video native metadata package. | | Mov | `30` | A QuickTime video. | | Matroska | `31` | A native metadata package extracted from a video encoded with the Matroska multimedia container. | | Zip | `32` | A native metadata package of a ZIP archive. | | SevenZip | `33` | A native metadata package of a SevenZip archive. | | VCard | `34` | A native metadata package of a VCard. | | Epub | `35` | A native metadata package of a EPUB e-book. | | OpenType | `36` | An OpenType font metadata package. | | Cad | `37` | A metadata package extracted from a CAD drawing. | | Eml | `38` | An EML message metadata package. | | Msg | `39` | An MSG message metadata package. | | Torrent | `40` | A torrent file metadata package. Please find more information at [https://en.wikipedia.org/wiki/Torrent_file/](https://en.wikipedia.org/wiki/Torrent_file/). | | Png | `41` | A PNG image metadata package. | | Dng | `42` | A DNG image metadata package. | | Cr2 | `43` | A CR2 image metadata package. | | Rar | `44` | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | Tar | `45` | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | | ThreeDS | `46` | 3DS is one of the file formats used by the Autodesk 3ds Max 3D modeling, animation and rendering software. | | Dae | `47` | A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. | | Fbx | `48` | FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware. | | Stl | `49` | STL is a file format native to the stereolithography CAD software created by 3D Systems.[3][4][5] Chuck Hull, the inventor of stereolithography and 3D Systems’ founder, reports that the file extension is an abbreviation for stereolithography. | | Gis | `50` | Gis format | | Fb2 | `51` | Files with .fb2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. | | Mobi | `52` | The MOBI file format is one of the most widely used ebook file formats. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as the proprietary format for Mobipocket Reader. | | Ogg | `53` | Ogg format | | Svg | `54` | Svg format | | Gltf | `55` | glTF (Graphics Library Transmission Format or GL Transmission Format and formerly known as WebGL Transmissions Format or WebGL TF) | | Avif | `56` | Avif format | ### PageInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/pageinfo.md #### PageInfo class Provides common information about a document page (slide, worksheet, etc). ```csharp public class PageInfo ``` #### Properties | Name | Description | | --- | --- | | Height { get; } | Gets the height of the page in document default units. | | PageNumber { get; } | Gets the number of the page. | | Width { get; } | Gets the width of the page in document default units. | ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/pageinfo/height.md #### PageInfo.Height property Gets the height of the page in document default units. ```csharp public int Height { get; } ``` ##### Property Value The height of the page in document default units. ### PageNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/pageinfo/pagenumber.md #### PageInfo.PageNumber property Gets the number of the page. ```csharp public int PageNumber { get; } ``` ##### Property Value The number of the page. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/pageinfo/width.md #### PageInfo.Width property Gets the width of the page in document default units. ```csharp public int Width { get; } ``` ##### Property Value The width of the page in document default units. ### ProductFeature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/productfeature.md #### ProductFeature enumeration Specifies product features that can be supported by a file type. ```csharp public enum ProductFeature ``` ##### Values | Name | Value | Description | | --- | --- | --- | | AutoDetection | `0` | Automatic file format detection. | | Read | `1` | Reading metadata from files of this type. | | Edit | `2` | Adding or updating metadata in files of this type. | | Remove | `3` | Removing metadata from files of this type. | ### PropertyAccessLevels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyaccesslevels.md #### PropertyAccessLevels enumeration Defines access levels for metadata properties. ```csharp [Flags] public enum PropertyAccessLevels ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Read | `0` | The property is read-only. | | Update | `1` | It is possible to update the property using the `UpdateProperties` method. | | Remove | `2` | The property can be removed through the `RemoveProperties` method. | | Add | `4` | It is possible to update the property using the `AddProperties` method. | | Full | `7` | Grants full access to the property. | | AddOrUpdate | `5` | It is allowed to add and update the property. All other operations are restricted. | ### PropertyDescriptor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertydescriptor.md #### PropertyDescriptor class Represents a descriptor of a property that can be accessed through the GroupDocs.Metadata search engine. ```csharp public class PropertyDescriptor ``` #### Properties | Name | Description | | --- | --- | | virtual AccessLevel { get; } | Gets the property access level. | | Interpreter { get; } | Gets the property value interpreter. | | Name { get; } | Gets the property name. | | Tags { get; } | Gets a collection of tags associated with the property. | | Type { get; } | Gets the property type. | ### AccessLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertydescriptor/accesslevel.md #### PropertyDescriptor.AccessLevel property Gets the property access level. ```csharp public virtual PropertyAccessLevels AccessLevel { get; } ``` ##### Property Value The property access level. ### Interpreter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertydescriptor/interpreter.md #### PropertyDescriptor.Interpreter property Gets the property value interpreter. ```csharp public ValueInterpreter Interpreter { get; } ``` ##### Property Value The property value interpreter. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertydescriptor/name.md #### PropertyDescriptor.Name property Gets the property name. ```csharp public string Name { get; } ``` ##### Property Value The property name. ### Tags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertydescriptor/tags.md #### PropertyDescriptor.Tags property Gets a collection of tags associated with the property. ```csharp public IReadOnlyList Tags { get; } ``` ##### Property Value A collection of tags associated with the property. ### Type Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertydescriptor/type.md #### PropertyDescriptor.Type property Gets the property type. ```csharp public MetadataPropertyType Type { get; } ``` ##### Property Value The property type. ### PropertyValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue.md #### PropertyValue class Represents a property value. ```csharp public class PropertyValue ``` #### Constructors | Name | Description | | --- | --- | | PropertyValue(bool) | Initializes a new instance of the `PropertyValue` class with a boolean value. | | PropertyValue(byte[]) | Initializes a new instance of the `PropertyValue` class with a byte array. | | PropertyValue(DateTime) | Initializes a new instance of the `PropertyValue` class with a DateTime value. | | PropertyValue(double) | Initializes a new instance of the `PropertyValue` class with a double value. | | PropertyValue(double[]) | Initializes a new instance of the `PropertyValue` class with an array of double values. | | PropertyValue(int) | Initializes a new instance of the `PropertyValue` class with an integer value. | | PropertyValue(int[]) | Initializes a new instance of the `PropertyValue` class with an array of integer values. | | PropertyValue(long) | Initializes a new instance of the `PropertyValue` class with a long value. | | PropertyValue(long[]) | Initializes a new instance of the `PropertyValue` class with an array of long values. | | PropertyValue(object) | Initializes a new instance of the `PropertyValue` class with a object value. | | PropertyValue(string) | Initializes a new instance of the `PropertyValue` class with a string value. | | PropertyValue(string[]) | Initializes a new instance of the `PropertyValue` class with a string array. | | PropertyValue(TimeSpan) | Initializes a new instance of the `PropertyValue` class with a TimeSpan value. | | PropertyValue(ushort[]) | Initializes a new instance of the `PropertyValue` class with an array of ushort values. | #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### AcceptValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/acceptvalue.md #### PropertyValue.AcceptValue method Extracts the property value using a custom `ValueAcceptor`. ```csharp public void AcceptValue(ValueAcceptor valueAcceptor) ``` | Parameter | Type | Description | | --- | --- | --- | | valueAcceptor | ValueAcceptor | An acceptor that extracts the value. | ### PropertyValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/propertyvalue.md #### PropertyValue(int) Initializes a new instance of the `PropertyValue` class with an integer value. ```csharp public PropertyValue(int value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Int32 | An Int32 value. | #### PropertyValue(long) Initializes a new instance of the `PropertyValue` class with a long value. ```csharp public PropertyValue(long value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Int64 | A Int64 value. | #### PropertyValue(bool) Initializes a new instance of the `PropertyValue` class with a boolean value. ```csharp public PropertyValue(bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Boolean | A Boolean value. | #### PropertyValue(double) Initializes a new instance of the `PropertyValue` class with a double value. ```csharp public PropertyValue(double value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Double | A Double value. | #### PropertyValue(string) Initializes a new instance of the `PropertyValue` class with a string value. ```csharp public PropertyValue(string value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | A String value. | #### PropertyValue(object) Initializes a new instance of the `PropertyValue` class with a object value. ```csharp public PropertyValue(object value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Object | A Object value. | #### PropertyValue(DateTime) Initializes a new instance of the `PropertyValue` class with a DateTime value. ```csharp public PropertyValue(DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | DateTime | A DateTime value. | #### PropertyValue(TimeSpan) Initializes a new instance of the `PropertyValue` class with a TimeSpan value. ```csharp public PropertyValue(TimeSpan value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | TimeSpan | A TimeSpan value. | #### PropertyValue(string[]) Initializes a new instance of the `PropertyValue` class with a string array. ```csharp public PropertyValue(string[] values) ``` | Parameter | Type | Description | | --- | --- | --- | | values | String[] | A string array. | #### PropertyValue(byte[]) Initializes a new instance of the `PropertyValue` class with a byte array. ```csharp public PropertyValue(byte[] values) ``` | Parameter | Type | Description | | --- | --- | --- | | values | Byte[] | A byte array. | #### PropertyValue(double[]) Initializes a new instance of the `PropertyValue` class with an array of double values. ```csharp public PropertyValue(double[] values) ``` | Parameter | Type | Description | | --- | --- | --- | | values | Double[] | An array of double values. | #### PropertyValue(int[]) Initializes a new instance of the `PropertyValue` class with an array of integer values. ```csharp public PropertyValue(int[] values) ``` | Parameter | Type | Description | | --- | --- | --- | | values | Int32[] | An array of integer values. | #### PropertyValue(long[]) Initializes a new instance of the `PropertyValue` class with an array of long values. ```csharp public PropertyValue(long[] values) ``` | Parameter | Type | Description | | --- | --- | --- | | values | Int64[] | An array of long values. | #### PropertyValue(ushort[]) Initializes a new instance of the `PropertyValue` class with an array of ushort values. ```csharp public PropertyValue(ushort[] values) ``` | Parameter | Type | Description | | --- | --- | --- | | values | UInt16[] | An array of ushort values. | ### RawValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/rawvalue.md #### PropertyValue.RawValue property Gets the raw value. ```csharp public object RawValue { get; } ``` ##### Property Value The raw value. ### ToArray Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/toarray.md #### PropertyValue.ToArray<TElement> method Converts the property value to an array of the specified type. ```csharp public TElement[] ToArray() ``` | Parameter | Description | | --- | --- | | TElement | The type of an element. | ##### Return Value The value represented as an array of the specified type or null if there is no such conversion. ### ToClass Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/toclass.md #### PropertyValue.ToClass<T> method Converts the property value to a reference type. ```csharp public T ToClass() where T : class ``` | Parameter | Description | | --- | --- | | T | The exact type to convert to. | ##### Return Value The converted value or null if there is no such conversion. ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/tostring.md #### PropertyValue.ToString method Returns a string that represents the property value. ```csharp public override string ToString() ``` ##### Return Value A string that represents the property value. ### ToStruct Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/tostruct.md #### ToStruct<T>() Converts the property value to a value type. ```csharp public T? ToStruct() where T : struct ``` | Parameter | Description | | --- | --- | | T | The exact type to convert to. | ##### Return Value The converted value or null if there is no such conversion. #### ToStruct<T>(T) Converts the property value to a value type. ```csharp public T ToStruct(T @default) where T : struct ``` | Parameter | Description | | --- | --- | | T | The exact type to convert to. | | default | A value that should be used by default if conversion fails. | ##### Return Value The converted value or the specified default value if there is no such conversion. ### Type Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalue/type.md #### PropertyValue.Type property Gets the `MetadataPropertyType`. ```csharp public MetadataPropertyType Type { get; } ``` ##### Property Value The type of the property. ### PropertyValueEqualityComparer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalueequalitycomparer.md #### PropertyValueEqualityComparer class Defines methods to support the comparison of property values for equality. ```csharp public class PropertyValueEqualityComparer : IEqualityComparer ``` #### Constructors | Name | Description | | --- | --- | | PropertyValueEqualityComparer() | The default constructor. | #### Methods | Name | Description | | --- | --- | | Equals(PropertyValue, PropertyValue) | Determines whether the specified objects are equal. | | GetHashCode(PropertyValue) | Returns a hash code for the specified object. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalueequalitycomparer/equals.md #### PropertyValueEqualityComparer.Equals method Determines whether the specified objects are equal. ```csharp public bool Equals(PropertyValue x, PropertyValue y) ``` | Parameter | Type | Description | | --- | --- | --- | | x | PropertyValue | The first object of type `PropertyValue` to compare. | | y | PropertyValue | The second object of type `PropertyValue` to compare. | ##### Return Value `true` if the specified objects are equal; otherwise, `false`. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalueequalitycomparer/gethashcode.md #### PropertyValueEqualityComparer.GetHashCode method Returns a hash code for the specified object. ```csharp public int GetHashCode(PropertyValue obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | PropertyValue | The `PropertyValue` for which a hash code is to be returned. | ##### Return Value A hash code for the specified object. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | The type of *obj* is a reference type and *obj* is `null`. | ### PropertyValueEqualityComparer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/propertyvalueequalitycomparer/propertyvalueequalitycomparer.md #### PropertyValueEqualityComparer constructor The default constructor. ```csharp public PropertyValueEqualityComparer() ``` ### ReadOnlyListT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/readonlylist-1.md #### ReadOnlyList<T> class Provides an abstract base class for a strongly typed read-only list. ```csharp public class ReadOnlyList : IList, IList, IReadOnlyList ``` | Parameter | Description | | --- | --- | | T | The type of the element. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of elements contained in the collection. | | IsReadOnly { get; } | Gets a value indicating whether the collection is read-only. | | Item { get; } | Gets the element at the specified index in the collection. | #### Methods | Name | Description | | --- | --- | | Contains(T) | Determines whether the collection contains a specific item. | | Contains(TagCategory) | Determines whether the collection contains a TagCategory item. | | GetEnumerator() | Returns an enumerator that iterates through a collection. | | IndexOf(T) | Determines the index of a specific item in the collection. | ### Contains Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/readonlylist-1/contains.md #### Contains(T) Determines whether the collection contains a specific item. ```csharp public bool Contains(T item) ``` | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | ##### Return Value True if the item is found in the collection; otherwise, false. #### Contains(TagCategory) Determines whether the collection contains a TagCategory item. ```csharp public bool Contains(TagCategory item) ``` | Parameter | Type | Description | | --- | --- | --- | | item | TagCategory | The item to locate in the collection. | ##### Return Value True if the item is found in the collection; otherwise, false. ### Count Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/readonlylist-1/count.md #### ReadOnlyList<T>.Count property Gets the number of elements contained in the collection. ```csharp public int Count { get; } ``` ##### Property Value The number of elements contained in the collection. ### GetEnumerator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/readonlylist-1/getenumerator.md #### ReadOnlyList<T>.GetEnumerator method Returns an enumerator that iterates through a collection. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An IEnumerator object that can be used to iterate through the collection. ### IndexOf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/readonlylist-1/indexof.md #### ReadOnlyList<T>.IndexOf method Determines the index of a specific item in the collection. ```csharp public int IndexOf(T item) ``` | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | ##### Return Value The index of *item* if found in the collection; otherwise, -1. ### IsReadOnly Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/readonlylist-1/isreadonly.md #### ReadOnlyList<T>.IsReadOnly property Gets a value indicating whether the collection is read-only. ```csharp public bool IsReadOnly { get; } ``` ##### Property Value True if the collection is read-only; otherwise, false. ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/readonlylist-1/item.md #### ReadOnlyList<T> indexer Gets the element at the specified index in the collection. ```csharp public T this[int index] { get; } ``` | Parameter | Description | | --- | --- | | index | The zero-based index of the element to get. | ##### Return Value The element at the specified index. ### Rectangle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle.md #### Rectangle structure A set of four integers that represent the location and size of a rectangle. ```csharp public struct Rectangle ``` #### Properties | Name | Description | | --- | --- | | static Empty { get; } | Gets the empty rectangle. | | Bottom { get; } | Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. | | Height { get; } | Gets the height. | | IsEmpty { get; } | Gets a value indicating whether this instance is empty. | | Left { get; } | Gets the x-coordinate of the left edge of the rectangle. | | Right { get; } | Gets the x-coordinate that is the sum of X and Width property values of the rectangle. | | Top { get; } | Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. | | Width { get; } | Gets the width. | | X { get; } | Gets the x. | | Y { get; } | Gets the y. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a String that represents this instance. | ### Bottom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/bottom.md #### Rectangle.Bottom property Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. ```csharp public int Bottom { get; } ``` ##### Property Value The y-coordinate that is the sum of the Y and Height property values of the rectangle. ### Empty Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/empty.md #### Rectangle.Empty property Gets the empty rectangle. ```csharp public static Rectangle Empty { get; } ``` ##### Property Value The empty rectangle. ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/height.md #### Rectangle.Height property Gets the height. ```csharp public int Height { get; } ``` ##### Property Value The height. ### IsEmpty Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/isempty.md #### Rectangle.IsEmpty property Gets a value indicating whether this instance is empty. ```csharp public bool IsEmpty { get; } ``` ##### Property Value `true` if this instance is empty; otherwise, `false`. ### Left Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/left.md #### Rectangle.Left property Gets the x-coordinate of the left edge of the rectangle. ```csharp public int Left { get; } ``` ##### Property Value The x-coordinate of the left edge of the rectangle. ### Right Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/right.md #### Rectangle.Right property Gets the x-coordinate that is the sum of X and Width property values of the rectangle. ```csharp public int Right { get; } ``` ##### Property Value The x-coordinate that is the sum of X and Width property values of the rectangle. ### Top Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/top.md #### Rectangle.Top property Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. ```csharp public int Top { get; } ``` ##### Property Value The y-coordinate that is the sum of the Y and Height property values of the rectangle. ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/tostring.md #### Rectangle.ToString method Returns a String that represents this instance. ```csharp public override string ToString() ``` ##### Return Value A String that represents this instance. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/width.md #### Rectangle.Width property Gets the width. ```csharp public int Width { get; } ``` ##### Property Value The width. ### X Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/x.md #### Rectangle.X property Gets the x. ```csharp public int X { get; } ``` ##### Property Value The x. ### Y Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rectangle/y.md #### Rectangle.Y property Gets the y. ```csharp public int Y { get; } ``` ##### Property Value The y. ### RootMetadataPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rootmetadatapackage.md #### RootMetadataPackage class Represents an entry point to all metadata packages presented in a particular file. ```csharp public abstract class RootMetadataPackage : MetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rootmetadatapackage/filetype.md #### RootMetadataPackage.FileType property Gets the file type metadata package. ```csharp public FileTypePackage FileType { get; } ``` ##### Property Value The file type metadata package. ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/rootmetadatapackage/sanitize.md #### RootMetadataPackage.Sanitize method Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ```csharp public override int Sanitize() ``` ##### Return Value The number of affected properties. ### SupportLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/supportlevel.md #### SupportLevel enumeration Specifies the feature support level. ```csharp public enum SupportLevel ``` ##### Values | Name | Value | Description | | --- | --- | --- | | NotSupported | `0` | The feature is not supported. | | Supported | `1` | The feature is supported. | | PartiallySupported | `2` | The feature is partially supported or supported with limitations. | ### ValueAcceptor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/valueacceptor.md #### ValueAcceptor class Provides a base abstract class that allows extracting all supported types of values from a `PropertyValue` instance. ```csharp public abstract class ValueAcceptor ``` ### ValueInterpreter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/valueinterpreter.md #### ValueInterpreter class Defines operations required to interpret metadata property values. ```csharp public abstract class ValueInterpreter ``` #### Properties | Name | Description | | --- | --- | | abstract InterpretedValueType { get; } | Gets the type of the interpreted value. | #### Methods | Name | Description | | --- | --- | | ToInterpretedValue(PropertyValue) | Interprets the provided property value. | | ToSourceValue(PropertyValue) | Converts an interpreted value back to its original form. | ### InterpretedValueType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/valueinterpreter/interpretedvaluetype.md #### ValueInterpreter.InterpretedValueType property Gets the type of the interpreted value. ```csharp public abstract MetadataPropertyType InterpretedValueType { get; } ``` ##### Property Value The type of the interpreted value. ### ToInterpretedValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/valueinterpreter/tointerpretedvalue.md #### ValueInterpreter.ToInterpretedValue method Interprets the provided property value. ```csharp public PropertyValue ToInterpretedValue(PropertyValue originalValue) ``` | Parameter | Type | Description | | --- | --- | --- | | originalValue | PropertyValue | The value to interpret. | ##### Return Value The interpreted value. ### ToSourceValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.common/valueinterpreter/tosourcevalue.md #### ValueInterpreter.ToSourceValue method Converts an interpreted value back to its original form. ```csharp public PropertyValue ToSourceValue(PropertyValue interpretedValue) ``` | Parameter | Type | Description | | --- | --- | --- | | interpretedValue | PropertyValue | The interpreted value to convert. | ##### Return Value The original value. ### GroupDocs.Metadata.Exceptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions.md The namespace contains some specific exceptions that are thrown by the library during file reading and updating. #### Classes | Class | Description | | --- | --- | | DocumentProtectedException | The exception that is thrown when document is protected by password. | | GroupDocsMetadataException | Represents a product-specific exception that is thrown during file processing. | | InvalidFormatException | The exception that is thrown when a file has an invalid format. | | MetadataValidationException | The exception that is thrown when validation errors encountered during metadata saving. | | XmpException | The exception that is thrown when XMP has invalid structure. | ### DocumentProtectedException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/documentprotectedexception.md #### DocumentProtectedException class The exception that is thrown when document is protected by password. ```csharp public sealed class DocumentProtectedException : GroupDocsMetadataException ``` #### Constructors | Name | Description | | --- | --- | | DocumentProtectedException() | Initializes a new instance of the `DocumentProtectedException` class. | ### DocumentProtectedException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/documentprotectedexception/documentprotectedexception.md #### DocumentProtectedException constructor Initializes a new instance of the `DocumentProtectedException` class. ```csharp public DocumentProtectedException() ``` ### GroupDocsMetadataException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/groupdocsmetadataexception.md #### GroupDocsMetadataException class Represents a product-specific exception that is thrown during file processing. ```csharp public class GroupDocsMetadataException : Exception ``` #### Constructors | Name | Description | | --- | --- | | GroupDocsMetadataException() | Initializes a new instance of the `GroupDocsMetadataException` class. | | GroupDocsMetadataException(string) | Initializes a new instance of the `GroupDocsMetadataException` class. | | GroupDocsMetadataException(string, Exception) | Initializes a new instance of the `GroupDocsMetadataException` class. | ### GroupDocsMetadataException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/groupdocsmetadataexception/groupdocsmetadataexception.md #### GroupDocsMetadataException() Initializes a new instance of the `GroupDocsMetadataException` class. ```csharp public GroupDocsMetadataException() ``` #### GroupDocsMetadataException(string) Initializes a new instance of the `GroupDocsMetadataException` class. ```csharp public GroupDocsMetadataException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### GroupDocsMetadataException(string, Exception) Initializes a new instance of the `GroupDocsMetadataException` class. ```csharp public GroupDocsMetadataException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### InvalidFormatException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/invalidformatexception.md #### InvalidFormatException class The exception that is thrown when a file has an invalid format. ```csharp public sealed class InvalidFormatException : GroupDocsMetadataException ``` #### Constructors | Name | Description | | --- | --- | | InvalidFormatException() | Initializes a new instance of the `InvalidFormatException` class. | | InvalidFormatException(string) | Initializes a new instance of the `InvalidFormatException` class. | | InvalidFormatException(string, Exception) | Initializes a new instance of the `InvalidFormatException` class. | ### InvalidFormatException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/invalidformatexception/invalidformatexception.md #### InvalidFormatException() Initializes a new instance of the `InvalidFormatException` class. ```csharp public InvalidFormatException() ``` #### InvalidFormatException(string) Initializes a new instance of the `InvalidFormatException` class. ```csharp public InvalidFormatException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | #### InvalidFormatException(string, Exception) Initializes a new instance of the `InvalidFormatException` class. ```csharp public InvalidFormatException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message that explains the reason for the exception. | | innerException | Exception | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### MetadataValidationException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/metadatavalidationexception.md #### MetadataValidationException class The exception that is thrown when validation errors encountered during metadata saving. ```csharp public sealed class MetadataValidationException : GroupDocsMetadataException ``` #### Properties | Name | Description | | --- | --- | | Errors { get; } | Gets an array of the validation errors that were encountered during the last metadata saving. | #### Methods | Name | Description | | --- | --- | | override GetObjectData(SerializationInfo, StreamingContext) | When overridden in a derived class, sets the SerializationInfo with information about the exception. | ### Errors Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/metadatavalidationexception/errors.md #### MetadataValidationException.Errors property Gets an array of the validation errors that were encountered during the last metadata saving. ```csharp public string[] Errors { get; } ``` ##### Property Value An array of the validation errors that were encountered during the last metadata saving. ### GetObjectData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/metadatavalidationexception/getobjectdata.md #### MetadataValidationException.GetObjectData method When overridden in a derived class, sets the SerializationInfo with information about the exception. ```csharp public override void GetObjectData(SerializationInfo info, StreamingContext context) ``` | Parameter | Type | Description | | --- | --- | --- | | info | SerializationInfo | The SerializationInfo that holds the serialized object data about the exception being thrown. | | context | StreamingContext | The StreamingContext that contains contextual information about the source or destination. | ### XmpException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/xmpexception.md #### XmpException class The exception that is thrown when XMP has invalid structure. ```csharp public sealed class XmpException : GroupDocsMetadataException ``` #### Constructors | Name | Description | | --- | --- | | XmpException() | Initializes a new instance of the `XmpException` class. | | XmpException(string) | Initializes a new instance of the `XmpException` class. | | XmpException(string, Exception) | Initializes a new instance of the `XmpException` class. | ### XmpException Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.exceptions/xmpexception/xmpexception.md #### XmpException() Initializes a new instance of the `XmpException` class. ```csharp public XmpException() ``` #### XmpException(string) Initializes a new instance of the `XmpException` class. ```csharp public XmpException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message. | #### XmpException(string, Exception) Initializes a new instance of the `XmpException` class. ```csharp public XmpException(string message, Exception innerException) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message. | | innerException | Exception | The inner exception. | ### GroupDocs.Metadata.Export Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export.md The namespace contains classes that allow users to export metadata properties to different representations. #### Classes | Class | Description | | --- | --- | | CsvExportOptions | Creates an export options of xml file. | | ExcelExportOptions | Creates an export options of excel file. | | ExportManager | Provides a row of methods allowing the user to export metadata properties to various formats. | | ExportOptions | Abstract class export options. | | JsonExportOptions | Creates an export options of xml file. | | XmlExportOptions | Creates an export options of xml file. | #### Enumeration | Enumeration | Description | | --- | --- | | ExportFormat | Defines file formats to which you can export metadata properties. | ### CsvExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/csvexportoptions.md #### CsvExportOptions class Creates an export options of xml file. ```csharp public class CsvExportOptions : ExportOptions ``` #### Constructors | Name | Description | | --- | --- | | CsvExportOptions() | Initializes a new instance of the `CsvExportOptions` class. | ### CsvExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/csvexportoptions/csvexportoptions.md #### CsvExportOptions constructor Initializes a new instance of the `CsvExportOptions` class. ```csharp public CsvExportOptions() ``` ### ExcelExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/excelexportoptions.md #### ExcelExportOptions class Creates an export options of excel file. ```csharp public class ExcelExportOptions : ExportOptions ``` #### Constructors | Name | Description | | --- | --- | | ExcelExportOptions() | Initializes a new instance of the `ExcelExportOptions` class. | | ExcelExportOptions(bool) | Initializes a new instance of the `ExcelExportOptions` class. | #### Properties | Name | Description | | --- | --- | | GroupCells { get; set; } | This flag determines whether it is necessary to group rows when exporting to Excel format | ### ExcelExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/excelexportoptions/excelexportoptions.md #### ExcelExportOptions() Initializes a new instance of the `ExcelExportOptions` class. ```csharp public ExcelExportOptions() ``` #### ExcelExportOptions(bool) Initializes a new instance of the `ExcelExportOptions` class. ```csharp public ExcelExportOptions(bool groupCells) ``` | Parameter | Type | Description | | --- | --- | --- | | groupCells | Boolean | Group flag. | ### GroupCells Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/excelexportoptions/groupcells.md #### ExcelExportOptions.GroupCells property This flag determines whether it is necessary to group rows when exporting to Excel format ```csharp public bool GroupCells { get; set; } ``` ##### Property Value If the flag is true, the lines will be grouped, otherwise not ### ExportFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/exportformat.md #### ExportFormat enumeration Defines file formats to which you can export metadata properties. ```csharp public enum ExportFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Xls | `0` | Represents the .XLS Excel format. | | Xlsx | `1` | Represents the .XLSX Excel format. | | Xml | `2` | Represents the .XML format. | | Csv | `3` | Represents the .CSV format. | | Json | `4` | Represents the .JSON format. | ### ExportManager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/exportmanager.md #### ExportManager class Provides a row of methods allowing the user to export metadata properties to various formats. ```csharp public class ExportManager ``` #### Constructors | Name | Description | | --- | --- | | ExportManager(IEnumerable<MetadataProperty>) | Initializes a new instance of the `ExportManager` class. | #### Methods | Name | Description | | --- | --- | | Export(Stream, ExportFormat) | Exports the metadata properties to a stream. | | Export(string, ExportFormat) | Exports the metadata properties to a file. | | Export(Stream, ExportFormat, ExportOptions) | Exports the metadata properties to a stream. | | Export(string, ExportFormat, ExportOptions) | Exports the metadata properties to a file. | ### Export Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/exportmanager/export.md #### Export(string, ExportFormat, ExportOptions) Exports the metadata properties to a file. ```csharp public void Export(string filePath, ExportFormat format, ExportOptions exportOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The full name of the output file. | | format | ExportFormat | The format of the output file. | | exportOptions | ExportOptions | Additional options to use when exporting a document. | #### Export(Stream, ExportFormat, ExportOptions) Exports the metadata properties to a stream. ```csharp public void Export(Stream document, ExportFormat format, ExportOptions exportOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The full name of the output file. | | format | ExportFormat | The format of the output file. | | exportOptions | ExportOptions | Additional options to use when exporting a document. | #### Export(string, ExportFormat) Exports the metadata properties to a file. ```csharp public void Export(string filePath, ExportFormat format) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The full name of the output file. | | format | ExportFormat | The format of the output file. | #### Export(Stream, ExportFormat) Exports the metadata properties to a stream. ```csharp public void Export(Stream document, ExportFormat format) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | The full name of the output file. | | format | ExportFormat | The format of the output file. | ### ExportManager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/exportmanager/exportmanager.md #### ExportManager constructor Initializes a new instance of the `ExportManager` class. ```csharp public ExportManager(IEnumerable properties) ``` | Parameter | Type | Description | | --- | --- | --- | | properties | IEnumerable`1 | A collection of metadata properties to be exported. | ### ExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/exportoptions.md #### ExportOptions class Abstract class export options. ```csharp public abstract class ExportOptions ``` #### Constructors | Name | Description | | --- | --- | | ExportOptions() | Initializes a new instance of the `ExportOptions` class. | ### ExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/exportoptions/exportoptions.md #### ExportOptions constructor Initializes a new instance of the `ExportOptions` class. ```csharp public ExportOptions() ``` ### JsonExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/jsonexportoptions.md #### JsonExportOptions class Creates an export options of xml file. ```csharp public class JsonExportOptions : ExportOptions ``` #### Constructors | Name | Description | | --- | --- | | JsonExportOptions() | Initializes a new instance of the `JsonExportOptions` class. | ### JsonExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/jsonexportoptions/jsonexportoptions.md #### JsonExportOptions constructor Initializes a new instance of the `JsonExportOptions` class. ```csharp public JsonExportOptions() ``` ### XmlExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/xmlexportoptions.md #### XmlExportOptions class Creates an export options of xml file. ```csharp public class XmlExportOptions : ExportOptions ``` #### Constructors | Name | Description | | --- | --- | | XmlExportOptions() | Initializes a new instance of the `XmlExportOptions` class. | ### XmlExportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/xmlexportoptions/xmlexportoptions.md #### XmlExportOptions constructor Initializes a new instance of the `XmlExportOptions` class. ```csharp public XmlExportOptions() ``` ### GroupDocs.Metadata.Formats.Archive Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive.md The namespace contains classes for working with archive formats. #### Classes | Class | Description | | --- | --- | | RarFile | Represents metadata associated with an archived file or directory. | | RarPackage | Represents ZIP archive metadata. | | RarRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | SevenZipFile | Represents metadata associated with an archived file or directory. | | SevenZipPackage | Represents ZIP archive metadata. | | SevenZipRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | TarFile | Represents metadata associated with an archived file or directory. | | TarPackage | Represents ZIP archive metadata. | | TarRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | ZipFile | Represents metadata associated with an archived file or directory. | | ZipPackage | Represents ZIP archive metadata. | | ZipRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | #### Enumeration | Enumeration | Description | | --- | --- | | ZipCompressionMethod | Defines ZIP compression methods. | ### RarFile Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarfile.md #### RarFile class Represents metadata associated with an archived file or directory. ```csharp public sealed class RarFile : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | CompressedSize { get; } | Gets the compressed size in bytes. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | ModificationDateTime { get; } | Gets the last modification date and time. | | Name { get; } | Gets the entry name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | UncompressedSize { get; } | Gets the uncompressed size in bytes. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CompressedSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarfile/compressedsize.md #### RarFile.CompressedSize property Gets the compressed size in bytes. ```csharp public ulong CompressedSize { get; } ``` ##### Property Value The compressed size in bytes. ### ModificationDateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarfile/modificationdatetime.md #### RarFile.ModificationDateTime property Gets the last modification date and time. ```csharp public DateTime ModificationDateTime { get; } ``` ##### Property Value The last modification date and time. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarfile/name.md #### RarFile.Name property Gets the entry name. ```csharp public string Name { get; } ``` ##### Property Value The entry name. It can be a file or directory name. ### UncompressedSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarfile/uncompressedsize.md #### RarFile.UncompressedSize property Gets the uncompressed size in bytes. ```csharp public ulong UncompressedSize { get; } ``` ##### Property Value The uncompressed size in bytes. ### RarPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarpackage.md #### RarPackage class Represents ZIP archive metadata. ```csharp public sealed class RarPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Files { get; } | Gets an array of `ZipFile` entries inside the ZIP archive. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TotalEntries { get; } | Gets the total number of entries inside the ZIP archive. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputRar)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.RarPackage.TotalEntries); foreach (var file in root.RarPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.CompressedSize); Console.WriteLine(file.ModificationDateTime); Console.WriteLine(file.UncompressedSize); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### Files Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarpackage/files.md #### RarPackage.Files property Gets an array of `ZipFile` entries inside the ZIP archive. ```csharp public RarFile[] Files { get; } ``` ##### Property Value An array of `ZipFile` entries inside the ZIP archive. ### TotalEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarpackage/totalentries.md #### RarPackage.TotalEntries property Gets the total number of entries inside the ZIP archive. ```csharp public ulong TotalEntries { get; } ``` ##### Property Value The total number of entries inside the ZIP archive. ### RarRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarrootpackage.md #### RarRootPackage class Represents the root package allowing working with metadata in a ZIP archive. ```csharp public class RarRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RarPackage { get; } | Gets the ZIP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputRar)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.RarPackage.TotalEntries); foreach (var file in root.RarPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.CompressedSize); Console.WriteLine(file.ModificationDateTime); Console.WriteLine(file.UncompressedSize); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### RarPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/rarrootpackage/rarpackage.md #### RarRootPackage.RarPackage property Gets the ZIP metadata package. ```csharp public RarPackage RarPackage { get; } ``` ##### Property Value The ZIP metadata package. ### SevenZipFile Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzipfile.md #### SevenZipFile class Represents metadata associated with an archived file or directory. ```csharp public sealed class SevenZipFile : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | CompressedSize { get; } | Gets the compressed size in bytes. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | ModificationDateTime { get; } | Gets the last modification date and time. | | Name { get; } | Gets the entry name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | UncompressedSize { get; } | Gets the uncompressed size in bytes. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CompressedSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzipfile/compressedsize.md #### SevenZipFile.CompressedSize property Gets the compressed size in bytes. ```csharp public ulong CompressedSize { get; } ``` ##### Property Value The compressed size in bytes. ### ModificationDateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzipfile/modificationdatetime.md #### SevenZipFile.ModificationDateTime property Gets the last modification date and time. ```csharp public DateTime ModificationDateTime { get; } ``` ##### Property Value The last modification date and time. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzipfile/name.md #### SevenZipFile.Name property Gets the entry name. ```csharp public string Name { get; } ``` ##### Property Value The entry name. It can be a file or directory name. ### UncompressedSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzipfile/uncompressedsize.md #### SevenZipFile.UncompressedSize property Gets the uncompressed size in bytes. ```csharp public ulong UncompressedSize { get; } ``` ##### Property Value The uncompressed size in bytes. ### SevenZipPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzippackage.md #### SevenZipPackage class Represents ZIP archive metadata. ```csharp public sealed class SevenZipPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Files { get; } | Gets an array of `ZipFile` entries inside the ZIP archive. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TotalEntries { get; } | Gets the total number of entries inside the ZIP archive. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputSevenZip)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.SevenZipPackage.TotalEntries); foreach (var file in root.SevenZipPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.CompressedSize); Console.WriteLine(file.ModificationDateTime); Console.WriteLine(file.UncompressedSize); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### Files Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzippackage/files.md #### SevenZipPackage.Files property Gets an array of `ZipFile` entries inside the ZIP archive. ```csharp public SevenZipFile[] Files { get; } ``` ##### Property Value An array of `ZipFile` entries inside the ZIP archive. ### TotalEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenzippackage/totalentries.md #### SevenZipPackage.TotalEntries property Gets the total number of entries inside the ZIP archive. ```csharp public ulong TotalEntries { get; } ``` ##### Property Value The total number of entries inside the ZIP archive. ### SevenZipRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenziprootpackage.md #### SevenZipRootPackage class Represents the root package allowing working with metadata in a ZIP archive. ```csharp public class SevenZipRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SevenZipPackage { get; } | Gets the ZIP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputSevenZip)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.SevenZipPackage.TotalEntries); foreach (var file in root.SevenZipPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.CompressedSize); Console.WriteLine(file.ModificationDateTime); Console.WriteLine(file.UncompressedSize); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### SevenZipPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/sevenziprootpackage/sevenzippackage.md #### SevenZipRootPackage.SevenZipPackage property Gets the ZIP metadata package. ```csharp public SevenZipPackage SevenZipPackage { get; } ``` ##### Property Value The ZIP metadata package. ### TarFile Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarfile.md #### TarFile class Represents metadata associated with an archived file or directory. ```csharp public sealed class TarFile : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the entry name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Size { get; } | Gets the size in bytes. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarfile/name.md #### TarFile.Name property Gets the entry name. ```csharp public string Name { get; } ``` ##### Property Value The entry name. It can be a file or directory name. ### Size Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarfile/size.md #### TarFile.Size property Gets the size in bytes. ```csharp public ulong Size { get; } ``` ##### Property Value The size in bytes. ### TarPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarpackage.md #### TarPackage class Represents ZIP archive metadata. ```csharp public sealed class TarPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Files { get; } | Gets an array of `ZipFile` entries inside the ZIP archive. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TotalEntries { get; } | Gets the total number of entries inside the ZIP archive. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputTar)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.TarPackage.TotalEntries); foreach (var file in root.TarPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.Size); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### Files Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarpackage/files.md #### TarPackage.Files property Gets an array of `ZipFile` entries inside the ZIP archive. ```csharp public TarFile[] Files { get; } ``` ##### Property Value An array of `ZipFile` entries inside the ZIP archive. ### TotalEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarpackage/totalentries.md #### TarPackage.TotalEntries property Gets the total number of entries inside the ZIP archive. ```csharp public ulong TotalEntries { get; } ``` ##### Property Value The total number of entries inside the ZIP archive. ### TarRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarrootpackage.md #### TarRootPackage class Represents the root package allowing working with metadata in a ZIP archive. ```csharp public class TarRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TarPackage { get; } | Gets the ZIP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputTar)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.TarPackage.TotalEntries); foreach (var file in root.TarPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.CompressedSize); Console.WriteLine(file.ModificationDateTime); Console.WriteLine(file.UncompressedSize); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### TarPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/tarrootpackage/tarpackage.md #### TarRootPackage.TarPackage property Gets the ZIP metadata package. ```csharp public TarPackage TarPackage { get; } ``` ##### Property Value The ZIP metadata package. ### ZipCompressionMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipcompressionmethod.md #### ZipCompressionMethod enumeration Defines ZIP compression methods. ```csharp public enum ZipCompressionMethod : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | NoCompression | `0` | The file is stored (no compression). | | Shrunk | `1` | The file is Shrunk. | | Imploded | `6` | The file is Imploded. | | Reserved | `7` | A reserved compression method. | | Deflated | `8` | The file is Deflated. | | BZip2 | `12` | The file is compressed with the BZip2 algorithm. | | Lzma | `14` | The Lempel-Ziv-Markov chain-Algorithm. | ### ZipFile Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile.md #### ZipFile class Represents metadata associated with an archived file or directory. ```csharp public sealed class ZipFile : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | CompressedSize { get; } | Gets the compressed size in bytes. | | CompressionMethod { get; } | Gets the compression method. | | Count { get; } | Gets the number of metadata properties. | | Flags { get; } | Gets the ZIP entry flags. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | ModificationDateTime { get; } | Gets the last modification date and time. | | Name { get; } | Gets the entry name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawName { get; } | Gets an array of bytes representing the name of the entry. | | UncompressedSize { get; } | Gets the uncompressed size in bytes. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CompressedSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile/compressedsize.md #### ZipFile.CompressedSize property Gets the compressed size in bytes. ```csharp public ulong CompressedSize { get; } ``` ##### Property Value The compressed size in bytes. ### CompressionMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile/compressionmethod.md #### ZipFile.CompressionMethod property Gets the compression method. ```csharp public ZipCompressionMethod CompressionMethod { get; } ``` ##### Property Value The compression method. ### Flags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile/flags.md #### ZipFile.Flags property Gets the ZIP entry flags. ```csharp public int Flags { get; } ``` ##### Property Value The ZIP entry flags. ##### Remarks Bit 00: encrypted file. Bit 01: compression option. Bit 02: compression option. Bit 03: data descriptor. Bit 04: enhanced deflation. Bit 05: compressed patched data. Bit 06: strong encryption. Bit 07-10: unused. Bit 11: language encoding. Bit 12: reserved. Bit 13: mask header values. Bit 14-15: reserved. ### ModificationDateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile/modificationdatetime.md #### ZipFile.ModificationDateTime property Gets the last modification date and time. ```csharp public DateTime ModificationDateTime { get; } ``` ##### Property Value The last modification date and time. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile/name.md #### ZipFile.Name property Gets the entry name. ```csharp public string Name { get; } ``` ##### Property Value The entry name. It can be a file or directory name. ### RawName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile/rawname.md #### ZipFile.RawName property Gets an array of bytes representing the name of the entry. ```csharp public byte[] RawName { get; } ``` ##### Property Value An array of bytes representing the name of the entry. ### UncompressedSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zipfile/uncompressedsize.md #### ZipFile.UncompressedSize property Gets the uncompressed size in bytes. ```csharp public ulong UncompressedSize { get; } ``` ##### Property Value The uncompressed size in bytes. ### ZipPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zippackage.md #### ZipPackage class Represents ZIP archive metadata. ```csharp public sealed class ZipPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Comment { get; set; } | Gets or sets the ZIP archive comment created by a user. | | Count { get; } | Gets the number of metadata properties. | | Files { get; } | Gets an array of `ZipFile` entries inside the ZIP archive. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TotalEntries { get; } | Gets the total number of entries inside the ZIP archive. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputZip)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.ZipPackage.Comment); Console.WriteLine(root.ZipPackage.TotalEntries); foreach (var file in root.ZipPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.CompressedSize); Console.WriteLine(file.CompressionMethod); Console.WriteLine(file.Flags); Console.WriteLine(file.ModificationDateTime); Console.WriteLine(file.UncompressedSize); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zippackage/comment.md #### ZipPackage.Comment property Gets or sets the ZIP archive comment created by a user. ```csharp public string Comment { get; set; } ``` ##### Property Value The user's comment. ##### Examples The following code snippet shows how to remove the user comment from a ZIP archive. ```csharp using (Metadata metadata = new Metadata(Constants.InputZip)) { var root = metadata.GetRootPackage(); root.ZipPackage.Comment = null; metadata.Save(Constants.OutputZip); } ``` ### Files Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zippackage/files.md #### ZipPackage.Files property Gets an array of `ZipFile` entries inside the ZIP archive. ```csharp public ZipFile[] Files { get; } ``` ##### Property Value An array of `ZipFile` entries inside the ZIP archive. ### TotalEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/zippackage/totalentries.md #### ZipPackage.TotalEntries property Gets the total number of entries inside the ZIP archive. ```csharp public ulong TotalEntries { get; } ``` ##### Property Value The total number of entries inside the ZIP archive. ### ZipRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/ziprootpackage.md #### ZipRootPackage class Represents the root package allowing working with metadata in a ZIP archive. ```csharp public class ZipRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ZipPackage { get; } | Gets the ZIP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a ZIP archive. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputZip)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.ZipPackage.Comment); Console.WriteLine(root.ZipPackage.TotalEntries); foreach (var file in root.ZipPackage.Files) { Console.WriteLine(file.Name); Console.WriteLine(file.CompressedSize); Console.WriteLine(file.CompressionMethod); Console.WriteLine(file.Flags); Console.WriteLine(file.ModificationDateTime); Console.WriteLine(file.UncompressedSize); // Use a specific encoding for the file names Console.WriteLine(encoding.GetString(file.RawName)); } } ``` ### ZipPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.archive/ziprootpackage/zippackage.md #### ZipRootPackage.ZipPackage property Gets the ZIP metadata package. ```csharp public ZipPackage ZipPackage { get; } ``` ##### Property Value The ZIP metadata package. ### GroupDocs.Metadata.Formats.Audio.Ogg Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg.md #### Classes | Class | Description | | --- | --- | | OggPackage | Represents a native metadata package in a OGG audio file. | | OggRootPackage | Represents a native metadata package in a OGG audio file. | | OggUserComment | Represents Ogg User Comment metadata class. | ### OggPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage.md #### OggPackage class Represents a native metadata package in a OGG audio file. ```csharp public sealed class OggPackage : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | OggPackage() | Initializes a new instance of the `OggPackage` class. | #### Properties | Name | Description | | --- | --- | | Album { get; } | The collection name to which this track belongs | | Artist { get; } | The artist generally considered responsible for the work. In popular music this is usually the performing band or singer. For classical music it would be the composer. For an audio book it would be the author of the original text. | | Contact { get; } | Contact information for the creators or distributors of the track. This could be a URL, an email address, the physical address of the producing label. | | Copyright { get; } | Copyright attribution, e.g., '2001 Nobody's Band' or '1999 Jack Moffitt' | | Count { get; } | Gets the number of metadata properties. | | Date { get; } | Date the track was recorded | | Description { get; } | A short text description of the contents | | Genre { get; } | A short text indication of music genre | | Isrc { get; } | ISRC number for the track | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | License { get; } | License information, for example, 'All Rights Reserved', 'Any Use Permitted', a URL to a license such as a Creative Commons license (e.g. "creativecommons.org/licenses/by/4.0/"), or similar. | | Location { get; } | Location where track was recorded | | MetadataType { get; } | Gets the metadata type. | | OggUserComments { get; } | Gets an array of `OggUserComment` entries inside the metadata. | | Organization { get; } | Name of the organization producing the track (i.e. the 'record label') | | Performer { get; } | The artist(s) who performed the work. In classical music this would be the conductor, orchestra, soloists. In an audio book it would be the actor who did the reading. In popular music this is typically the same as the ARTIST and is omitted. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Title { get; } | Track/Work name | | Tracknumber { get; } | The track number of this piece if part of a specific larger collection or album | | Vendor { get; } | Vendor | | Version { get; } | The version field may be used to differentiate multiple versions of the same track title in a single collection. (e.g. remix info) | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract technical audio information from a OGG file. ```csharp using (Metadata metadata = new Metadata("input.ogg")) { var root = metadata.GetRootPackage(); if (root.OggPackage != null) { Console.WriteLine(root.OggPackage.Title); Console.WriteLine(root.OggPackage.Version); Console.WriteLine(root.OggPackage.Album); } } ``` ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/album.md #### OggPackage.Album property The collection name to which this track belongs ```csharp public string Album { get; } ``` ##### Property Value Album value ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/artist.md #### OggPackage.Artist property The artist generally considered responsible for the work. In popular music this is usually the performing band or singer. For classical music it would be the composer. For an audio book it would be the author of the original text. ```csharp public string Artist { get; } ``` ##### Property Value Artist value ### Contact Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/contact.md #### OggPackage.Contact property Contact information for the creators or distributors of the track. This could be a URL, an email address, the physical address of the producing label. ```csharp public string Contact { get; } ``` ##### Property Value Contact value ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/copyright.md #### OggPackage.Copyright property Copyright attribution, e.g., '2001 Nobody's Band' or '1999 Jack Moffitt' ```csharp public string Copyright { get; } ``` ##### Property Value Copyright value ### Date Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/date.md #### OggPackage.Date property Date the track was recorded ```csharp public string Date { get; } ``` ##### Property Value Date value ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/description.md #### OggPackage.Description property A short text description of the contents ```csharp public string Description { get; } ``` ##### Property Value Description value ### Genre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/genre.md #### OggPackage.Genre property A short text indication of music genre ```csharp public string Genre { get; } ``` ##### Property Value Genre value ### Isrc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/isrc.md #### OggPackage.Isrc property ISRC number for the track ```csharp public string Isrc { get; } ``` ##### Property Value Isrc value ### License Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/license.md #### OggPackage.License property License information, for example, 'All Rights Reserved', 'Any Use Permitted', a URL to a license such as a Creative Commons license (e.g. "creativecommons.org/licenses/by/4.0/"), or similar. ```csharp public string License { get; } ``` ##### Property Value License value ### Location Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/location.md #### OggPackage.Location property Location where track was recorded ```csharp public string Location { get; } ``` ##### Property Value Location value ### OggPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/oggpackage.md #### OggPackage constructor Initializes a new instance of the `OggPackage` class. ```csharp public OggPackage() ``` ### OggUserComments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/oggusercomments.md #### OggPackage.OggUserComments property Gets an array of `OggUserComment` entries inside the metadata. ```csharp public OggUserComment[] OggUserComments { get; } ``` ##### Property Value An array of `OggUserComment` entries inside the metadata. ### Organization Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/organization.md #### OggPackage.Organization property Name of the organization producing the track (i.e. the 'record label') ```csharp public string Organization { get; } ``` ##### Property Value Organization value ### Performer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/performer.md #### OggPackage.Performer property The artist(s) who performed the work. In classical music this would be the conductor, orchestra, soloists. In an audio book it would be the actor who did the reading. In popular music this is typically the same as the ARTIST and is omitted. ```csharp public string Performer { get; } ``` ##### Property Value Performer value ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/title.md #### OggPackage.Title property Track/Work name ```csharp public string Title { get; } ``` ##### Property Value Title value ### Tracknumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/tracknumber.md #### OggPackage.Tracknumber property The track number of this piece if part of a specific larger collection or album ```csharp public string Tracknumber { get; } ``` ##### Property Value Tracknumber value ### Vendor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/vendor.md #### OggPackage.Vendor property Vendor ```csharp public string Vendor { get; } ``` ##### Property Value Vendor value ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggpackage/version.md #### OggPackage.Version property The version field may be used to differentiate multiple versions of the same track title in a single collection. (e.g. remix info) ```csharp public string Version { get; } ``` ##### Property Value Version value ### OggRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggrootpackage.md #### OggRootPackage class Represents a native metadata package in a OGG audio file. ```csharp public class OggRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | OggPackage { get; } | Gets the Ogg native metadata package. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract technical audio information from a OGG file. ```csharp using (Metadata metadata = new Metadata("input.ogg")) { var root = metadata.GetRootPackage(); if (root.OggPackage != null) { Console.WriteLine(root.OggPackage.Title); Console.WriteLine(root.OggPackage.Version); Console.WriteLine(root.OggPackage.Album); } } ``` ### OggPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/oggpackage.md #### OggRootPackage.OggPackage property Gets the Ogg native metadata package. ```csharp public OggPackage OggPackage { get; } ``` ##### Property Value The Ogg native metadata package. ### OggUserComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggusercomment.md #### OggUserComment class Represents Ogg User Comment metadata class. ```csharp public sealed class OggUserComment : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Header { get; } | Gets the user comments header | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the user comments value | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Header Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggusercomment/header.md #### OggUserComment.Header property Gets the user comments header ```csharp public string Header { get; } ``` ##### Property Value The header value. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.ogg/oggusercomment/value.md #### OggUserComment.Value property Gets the user comments value ```csharp public string Value { get; } ``` ##### Property Value The value. ### GroupDocs.Metadata.Formats.Audio Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio.md The namespace provides classes intended to work with different audio formats. #### Classes | Class | Description | | --- | --- | | ApePackage | Represents an APE v2 metadata package. Please find more information at [http://wiki.hydrogenaud.io/index.php?title=APE_key](http://wiki.hydrogenaud.io/index.php?title=APE_key). | | ID3Tag | Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. | | ID3V1Tag | Represents an ID3v1 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v1](https://en.wikipedia.org/wiki/ID3#ID3v1). | | ID3V2AttachedPictureFrame | Represents an APIC frame in an `ID3V2Tag`. | | ID3V2CommentFrame | Represents a COMM frame in an `ID3V2Tag`. | | ID3V2MlltFrame | Represents an MLLT frame in an `ID3V2Tag`. | | ID3V2PlayCounterFrame | Represents a PCNT frame in an `ID3V2Tag`. This is simply a counter of the number of times a file has been played. | | ID3V2PrivateFrame | Represents a PRIV frame in an `ID3V2Tag`. The frame is used to contain information from a software producer that its program uses and does not fit into the other frames. | | ID3V2Tag | Represents an ID3v2 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v2](https://en.wikipedia.org/wiki/ID3#ID3v2). | | ID3V2TagFrame | Represents a generic frame in an `ID3V2Tag`. | | ID3V2TagFrameFlags | Represents flags used in a ID3v2 tag frame. | | ID3V2TextFrame | Represents a text frame in an `ID3V2Tag`. Almost all frames starting with the T character fall into this category. There is only one exception, which is the TXXX frame represented by the `ID3V2UserDefinedFrame` class. | | ID3V2UrlLinkFrame | Represents a URL link frame in an `ID3V2Tag`. Name of the frame always starts with the W character. | | ID3V2UserDefinedFrame | Represents a TXXX frame in an `ID3V2Tag`. | | ID3V2UserDefinedUrlLinkFrame | Represents a WXXX frame in an `ID3V2Tag`. | | LyricsField | Represents a `LyricsTag` field. | | LyricsTag | Represents Lyrics3 v2.00 metadata. Please find more information at http://id3.org/Lyrics3v2. | | MP3RootPackage | Represents the root package allowing working with metadata in an MP3 audio. | | WavPackage | Represents a native metadata package in a WAV audio file. | | WavRootPackage | Represents the root package allowing working with metadata in a WAV audio. | #### Enumeration | Enumeration | Description | | --- | --- | | ID3V1Genre | Specifies genres used in an Id3v1 tag. | | ID3V2AttachedPictureType | Represents the type of an attached picture. | | ID3V2EncodingType | Defines different types of text encoding used in ID3v2. | ### ApePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage.md #### ApePackage class Represents an APE v2 metadata package. Please find more information at [http://wiki.hydrogenaud.io/index.php?title=APE_key](http://wiki.hydrogenaud.io/index.php?title=APE_key). ```csharp public sealed class ApePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Abstract { get; } | Gets the abstract link. | | Album { get; } | Gets the album. | | Artist { get; } | Gets the artist. | | Bibliography { get; } | Gets the bibliography. | | Comment { get; } | Gets the comment. | | Composer { get; } | Gets the composer. | | Conductor { get; } | Gets the conductor. | | Copyright { get; } | Gets the copyright. | | Count { get; } | Gets the number of metadata properties. | | DebutAlbum { get; } | Gets the debut album. | | File { get; } | Gets the file. | | Genre { get; } | Gets the genre. | | Isbn { get; } | Gets the ISBN number with check digit. See more: https://en.wikipedia.org/wiki/International_Standard_Book_Number. | | Isrc { get; } | Gets the International Standard Recording Number. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | PublicationRight { get; } | Gets the publication right. | | Publisher { get; } | Gets the publisher. | | RecordLocation { get; } | Gets the record location. | | Subtitle { get; } | Gets the subtitle. | | Title { get; } | Gets the title. | | Track { get; } | Gets the track number. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example demonstrates how to read the APEv2 tag in an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithApe)) { var root = metadata.GetRootPackage(); if (root.ApeV2 != null) { Console.WriteLine(root.ApeV2.Album); Console.WriteLine(root.ApeV2.Title); Console.WriteLine(root.ApeV2.Artist); Console.WriteLine(root.ApeV2.Composer); Console.WriteLine(root.ApeV2.Copyright); Console.WriteLine(root.ApeV2.Genre); Console.WriteLine(root.ApeV2.Language); // ... } } ``` ### Abstract Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/abstract.md #### ApePackage.Abstract property Gets the abstract link. ```csharp public string Abstract { get; } ``` ##### Property Value The abstract link. ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/album.md #### ApePackage.Album property Gets the album. ```csharp public string Album { get; } ``` ##### Property Value The album. ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/artist.md #### ApePackage.Artist property Gets the artist. ```csharp public string Artist { get; } ``` ##### Property Value The artist. ### Bibliography Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/bibliography.md #### ApePackage.Bibliography property Gets the bibliography. ```csharp public string Bibliography { get; } ``` ##### Property Value The bibliography. ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/comment.md #### ApePackage.Comment property Gets the comment. ```csharp public string Comment { get; } ``` ##### Property Value The comment. ### Composer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/composer.md #### ApePackage.Composer property Gets the composer. ```csharp public string Composer { get; } ``` ##### Property Value The composer. ### Conductor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/conductor.md #### ApePackage.Conductor property Gets the conductor. ```csharp public string Conductor { get; } ``` ##### Property Value The conductor. ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/copyright.md #### ApePackage.Copyright property Gets the copyright. ```csharp public string Copyright { get; } ``` ##### Property Value The copyright. ### DebutAlbum Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/debutalbum.md #### ApePackage.DebutAlbum property Gets the debut album. ```csharp public string DebutAlbum { get; } ``` ##### Property Value The debut album. ### File Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/file.md #### ApePackage.File property Gets the file. ```csharp public string File { get; } ``` ##### Property Value The file. ### Genre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/genre.md #### ApePackage.Genre property Gets the genre. ```csharp public string Genre { get; } ``` ##### Property Value The genre. ### Isbn Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/isbn.md #### ApePackage.Isbn property Gets the ISBN number with check digit. See more: https://en.wikipedia.org/wiki/International_Standard_Book_Number. ```csharp public string Isbn { get; } ``` ##### Property Value The ISBN number. ### Isrc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/isrc.md #### ApePackage.Isrc property Gets the International Standard Recording Number. ```csharp public string Isrc { get; } ``` ##### Property Value The International Standard Recording Number. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/language.md #### ApePackage.Language property Gets the language. ```csharp public string Language { get; } ``` ##### Property Value The language. ### PublicationRight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/publicationright.md #### ApePackage.PublicationRight property Gets the publication right. ```csharp public string PublicationRight { get; } ``` ##### Property Value The publication right. ### Publisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/publisher.md #### ApePackage.Publisher property Gets the publisher. ```csharp public string Publisher { get; } ``` ##### Property Value The publisher. ### RecordLocation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/recordlocation.md #### ApePackage.RecordLocation property Gets the record location. ```csharp public string RecordLocation { get; } ``` ##### Property Value The record location. ### Subtitle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/subtitle.md #### ApePackage.Subtitle property Gets the subtitle. ```csharp public string Subtitle { get; } ``` ##### Property Value The subtitle. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/title.md #### ApePackage.Title property Gets the title. ```csharp public string Title { get; } ``` ##### Property Value The title. ### Track Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/apepackage/track.md #### ApePackage.Track property Gets the track number. ```csharp public int? Track { get; } ``` ##### Property Value The track number. ### ID3Tag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3tag.md #### ID3Tag class Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. ```csharp public abstract class ID3Tag : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | abstract Version { get; } | Gets the version of the ID3 tag in string format. For example: 'ID3v1.1'. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3tag/version.md #### ID3Tag.Version property Gets the version of the ID3 tag in string format. For example: 'ID3v1.1'. ```csharp public abstract string Version { get; } ``` ##### Property Value The ID3 version. ### ID3V1Genre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1genre.md #### ID3V1Genre enumeration Specifies genres used in an Id3v1 tag. ```csharp public enum ID3V1Genre : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Blues | `0` | Represents the Blues genre. | | ClassicRock | `1` | Represents the Classic Rock genre. | | Country | `2` | Represents the Country genre. | | Dance | `3` | Represents the Dance genre. | | Disco | `4` | Represents the Disco genre. | | Funk | `5` | Represents the Funk genre. | | Grunge | `6` | Represents the Grunge genre. | | HipHop | `7` | Represents the Hip-Hop genre. | | Jazz | `8` | Represents the Jazz genre. | | Metal | `9` | Represents the Metal genre. | | NewAge | `10` | Represents the New Age genre. | | Oldies | `11` | Represents the Oldies genre. | | Other | `12` | Represents the Other genre. | | Pop | `13` | Represents the Pop genre. | | RhythmAndBlues | `14` | Represents the Rhythm and Blues genre. | | Rap | `15` | Represents the Rap genre. | | Reggae | `16` | Represents the Reggae genre. | | Rock | `17` | Represents the Rock genre. | | Techno | `18` | Represents the Techno genre. | | Industrial | `19` | Represents the Industrial genre. | | Alternative | `20` | Represents the Alternative genre. | | Ska | `21` | Represents the Ska genre. | | DeathMetal | `22` | Represents the Death Metal genre. | | Pranks | `23` | Represents the Pranks genre. | | Soundtrack | `24` | Represents the Soundtrack genre. | | EuroTechno | `25` | Represents the Euro-Techno genre. | | Ambient | `26` | Represents the Ambient genre. | | TripHop | `27` | Represents the Trip-Hop genre. | | Vocal | `28` | Represents the Vocal genre. | | JazzAndFunk | `29` | Represents the JazzAndFunk genre. | | Fusion | `30` | Represents the Fusion genre. | | Trance | `31` | Represents the Trance genre. | | Classical | `32` | Represents the Classical genre. | | Instrumental | `33` | Represents the Instrumental genre. | | Acid | `34` | Represents the Acid genre. | | House | `35` | Represents the House genre. | | Game | `36` | Represents the Game genre. | | SoundClip | `37` | Represents the Sound Clip genre. | | Gospel | `38` | Represents the Gospel genre. | | Noise | `39` | Represents the Noise genre. | | AlternativeRock | `40` | Represents the Alternative Rock genre. | | Bass | `41` | Represents the Bass genre. | | Soul | `42` | Represents the Soul genre. | | Punk | `43` | Represents the Punk genre. | | Space | `44` | Represents the Space genre. | | Meditative | `45` | Represents the Meditative genre. | | InstrumentalPop | `46` | Represents the Instrumental Pop genre. | | InstrumentalRock | `47` | Represents the Instrumental Rock genre. | | Ethnic | `48` | Represents the Ethnic genre. | | Gothic | `49` | Represents the Gothic genre. | | Darkwave | `50` | Represents the Darkwave genre. | | TechnoIndustrial | `51` | Represents the Techno-Industrial genre. | | Electronic | `52` | Represents the Electronic genre. | | PopFolk | `53` | Represents the Pop-Folk genre. | | Eurodance | `54` | Represents the Eurodance genre. | | Dream | `55` | Represents the Dream genre. | | SouthernRock | `56` | Represents the Southern Rock genre. | | Comedy | `57` | Represents the Comedy genre. | | Cult | `58` | Represents the Cult genre. | | Gangsta | `59` | Represents the Gangsta genre. | | Top40 | `60` | Represents the Top 40 genre. | | ChristianRap | `61` | Represents the Christian Rap genre. | | PopFunk | `62` | Represents the Pop/Funk genre. | | Jungle | `63` | Represents the Jungle genre. | | NativeAmerican | `64` | Represents the Native American genre. | | Cabaret | `65` | Represents the Cabaret genre. | | NewWave | `66` | Represents the New Wave genre. | | Psychedelic | `67` | Represents the Psychedelic genre. | | Rave | `68` | Represents the Rave genre. | | Showtunes | `69` | Represents the Showtunes genre. | | Trailer | `70` | Represents the Trailer genre. | | LoFi | `71` | Represents the Lo-Fi genre. | | Tribal | `72` | Represents the Tribal genre. | | AcidPunk | `73` | Represents the Acid Punk genre. | | AcidJazz | `74` | Represents the Acid Jazz genre. | | Polka | `75` | Represents the Polka genre. | | Retro | `76` | Represents the Retro genre. | | Musical | `77` | Represents the Musical genre. | | RockNRoll | `78` | Represents the Rock 'n' Roll genre. | | HardRock | `79` | Represents the Hard Rock genre. | ### ID3V1Tag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag.md #### ID3V1Tag class Represents an ID3v1 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v1](https://en.wikipedia.org/wiki/ID3#ID3v1). ```csharp public sealed class ID3V1Tag : ID3Tag ``` #### Constructors | Name | Description | | --- | --- | | ID3V1Tag() | Initializes a new instance of the `ID3V1Tag` class. | #### Properties | Name | Description | | --- | --- | | Album { get; set; } | Gets or sets the album. Maximum length is 30 characters. | | Artist { get; set; } | Gets or sets the artist. Maximum length is 30 characters. | | Comment { get; set; } | Gets or sets the comment. Maximum length is 30 characters. | | Count { get; } | Gets the number of metadata properties. | | GenreValue { get; } | Gets or sets the genre identifier. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Title { get; set; } | Gets or sets the title. | | TrackNumber { get; set; } | Gets or sets the track number. Presented in a ID3v1.1 tag only. | | override Version { get; } | Gets the ID3 version. It can be ID3 or ID3v1.1 | | Year { get; set; } | Gets or sets the year. Maximum length is 4 characters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Remarks ID3(v1) tag is a small chunk of extra data at the end of MP3. Please find more information at [http://id3.org/ID3v1](http://id3.org/ID3v1). ##### Examples This code sample shows how to read the ID3v1 tag in an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithID3V1)) { var root = metadata.GetRootPackage(); if (root.ID3V1 != null) { Console.WriteLine(root.ID3V1.Album); Console.WriteLine(root.ID3V1.Artist); Console.WriteLine(root.ID3V1.Title); Console.WriteLine(root.ID3V1.Version); Console.WriteLine(root.ID3V1.Comment); // ... } } ``` ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/album.md #### ID3V1Tag.Album property Gets or sets the album. Maximum length is 30 characters. ```csharp public string Album { get; set; } ``` ##### Property Value The album. ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/artist.md #### ID3V1Tag.Artist property Gets or sets the artist. Maximum length is 30 characters. ```csharp public string Artist { get; set; } ``` ##### Property Value The artist. ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/comment.md #### ID3V1Tag.Comment property Gets or sets the comment. Maximum length is 30 characters. ```csharp public string Comment { get; set; } ``` ##### Property Value The comment. ### GenreValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/genrevalue.md #### ID3V1Tag.GenreValue property Gets or sets the genre identifier. ```csharp public ID3V1Genre GenreValue { get; } ``` ##### Property Value The genre identifier. ### ID3V1Tag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/id3v1tag.md #### ID3V1Tag constructor Initializes a new instance of the `ID3V1Tag` class. ```csharp public ID3V1Tag() ``` ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/title.md #### ID3V1Tag.Title property Gets or sets the title. ```csharp public string Title { get; set; } ``` ##### Property Value The title. ### TrackNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/tracknumber.md #### ID3V1Tag.TrackNumber property Gets or sets the track number. Presented in a ID3v1.1 tag only. ```csharp public int? TrackNumber { get; set; } ``` ##### Property Value The track number. ##### Remarks If the value of `TrackNumber` is a positive integer then ID3 changes version to 'ID3v1.1' automatically. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/version.md #### ID3V1Tag.Version property Gets the ID3 version. It can be ID3 or ID3v1.1 ```csharp public override string Version { get; } ``` ##### Property Value The ID3 version. ### Year Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v1tag/year.md #### ID3V1Tag.Year property Gets or sets the year. Maximum length is 4 characters. ```csharp public string Year { get; set; } ``` ##### Property Value The year. ### ID3V2AttachedPictureFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe.md #### ID3V2AttachedPictureFrame class Represents an APIC frame in an `ID3V2Tag`. ```csharp public sealed class ID3V2AttachedPictureFrame : ID3V2TagFrame ``` #### Constructors | Name | Description | | --- | --- | | ID3V2AttachedPictureFrame(byte[]) | Initializes a new instance of the `ID3V2AttachedPictureFrame` class. | | ID3V2AttachedPictureFrame(ID3V2AttachedPictureType, string, byte[]) | Initializes a new instance of the `ID3V2AttachedPictureFrame` class. | | ID3V2AttachedPictureFrame(ID3V2EncodingType, string, ID3V2AttachedPictureType, string, byte[]) | Initializes a new instance of the `ID3V2AttachedPictureFrame` class. | #### Properties | Name | Description | | --- | --- | | AttachedPictureType { get; } | Gets the type of the picture. | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Description { get; } | Gets the picture description. The description has a maximum length of 64 characters, but may be empty. | | DescriptionEncoding { get; } | Gets the encoding used to encode the picture description. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type of the picture. | | PictureData { get; } | Gets the picture data. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AttachedPictureType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/attachedpicturetype.md #### ID3V2AttachedPictureFrame.AttachedPictureType property Gets the type of the picture. ```csharp public ID3V2AttachedPictureType AttachedPictureType { get; } ``` ##### Property Value The type of the picture. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/description.md #### ID3V2AttachedPictureFrame.Description property Gets the picture description. The description has a maximum length of 64 characters, but may be empty. ```csharp public string Description { get; } ``` ##### Property Value The picture description. ### DescriptionEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/descriptionencoding.md #### ID3V2AttachedPictureFrame.DescriptionEncoding property Gets the encoding used to encode the picture description. ```csharp public ID3V2EncodingType DescriptionEncoding { get; } ``` ##### Property Value The encoding used to encode the picture description. ### ID3V2AttachedPictureFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/id3v2attachedpictureframe.md #### ID3V2AttachedPictureFrame(ID3V2EncodingType, string, ID3V2AttachedPictureType, string, byte[]) Initializes a new instance of the `ID3V2AttachedPictureFrame` class. ```csharp public ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, string mimeType, ID3V2AttachedPictureType pictureType, string description, byte[] pictureData) ``` | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The frame encoding. | | mimeType | String | The MIME-type of the image. | | pictureType | ID3V2AttachedPictureType | The type of the picture. | | description | String | The description of the picture. | | pictureData | Byte[] | The picture data. | #### ID3V2AttachedPictureFrame(ID3V2AttachedPictureType, string, byte[]) Initializes a new instance of the `ID3V2AttachedPictureFrame` class. ```csharp public ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, string description, byte[] pictureData) ``` | Parameter | Type | Description | | --- | --- | --- | | pictureType | ID3V2AttachedPictureType | The type of the picture. | | description | String | The description of the picture. | | pictureData | Byte[] | The picture data. | #### ID3V2AttachedPictureFrame(byte[]) Initializes a new instance of the `ID3V2AttachedPictureFrame` class. ```csharp public ID3V2AttachedPictureFrame(byte[] pictureData) ``` | Parameter | Type | Description | | --- | --- | --- | | pictureData | Byte[] | The picture data. | ### MimeType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/mimetype.md #### ID3V2AttachedPictureFrame.MimeType property Gets the MIME type of the picture. ```csharp public string MimeType { get; } ``` ##### Property Value The MIME type of the picture. ### PictureData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/picturedata.md #### ID3V2AttachedPictureFrame.PictureData property Gets the picture data. ```csharp public byte[] PictureData { get; } ``` ##### Property Value The picture data. ### ID3V2AttachedPictureType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2attachedpicturetype.md #### ID3V2AttachedPictureType enumeration Represents the type of an attached picture. ```csharp public enum ID3V2AttachedPictureType : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Other | `0` | Attached picture of any other type. | | FileIcon32X32 | `1` | 32x32 pixels file icon (PNG only). | | OtherFileIcon | `2` | Other file icon. | | CoverFront | `3` | Cover (front). | | CoverBack | `4` | Cover (back). | | LeafletPage | `5` | Leaflet page. | | Media | `6` | Media (e.g. label side of CD). | | LeadArtist | `7` | Lead artist/lead performer/soloist. | | Artist | `8` | Artist/performer. | | Conductor | `9` | Conductor. | | Band | `10` | Band/Orchestra. | | Composer | `11` | Composer/music author. | | Lyricist | `12` | Lyricist/text writer. | | RecordingLocation | `13` | Recording Location. | | DuringRecording | `14` | During recording. | | DuringPerformance | `15` | During performance. | | VideoScreenCapture | `16` | Movie/video screen capture. | | BrightColouredFish | `17` | A bright coloured fish. | | Illustration | `18` | Illustration. | | ArtistLogo | `19` | Band/artist logotype. | | StudioLogo | `20` | Publisher/Studio logotype. | ### ID3V2CommentFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2commentframe.md #### ID3V2CommentFrame class Represents a COMM frame in an `ID3V2Tag`. ```csharp public sealed class ID3V2CommentFrame : ID3V2TagFrame ``` #### Constructors | Name | Description | | --- | --- | | ID3V2CommentFrame(ID3V2EncodingType, string, string, string) | Initializes a new instance of the `ID3V2CommentFrame` class. | #### Properties | Name | Description | | --- | --- | | CommentEncoding { get; } | Gets the encoding of the comment. | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language of the comment (3 characters). | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ShortContentDescription { get; } | Gets the short content description. | | Text { get; } | Gets the text of the comment. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Remarks This frame is intended for any kind of full text information that does not fit in any other frame. ### CommentEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2commentframe/commentencoding.md #### ID3V2CommentFrame.CommentEncoding property Gets the encoding of the comment. ```csharp public ID3V2EncodingType CommentEncoding { get; } ``` ##### Property Value The encoding of the comment. ### ID3V2CommentFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2commentframe/id3v2commentframe.md #### ID3V2CommentFrame constructor Initializes a new instance of the `ID3V2CommentFrame` class. ```csharp public ID3V2CommentFrame(ID3V2EncodingType encoding, string language, string description, string text) ``` | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the comment. | | language | String | The language of the comment. | | description | String | A short content description. | | text | String | The text of the comment. | ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2commentframe/language.md #### ID3V2CommentFrame.Language property Gets the language of the comment (3 characters). ```csharp public string Language { get; } ``` ##### Property Value The language of the comment. ### ShortContentDescription Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2commentframe/shortcontentdescription.md #### ID3V2CommentFrame.ShortContentDescription property Gets the short content description. ```csharp public string ShortContentDescription { get; } ``` ##### Property Value The short content description. ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2commentframe/text.md #### ID3V2CommentFrame.Text property Gets the text of the comment. ```csharp public string Text { get; } ``` ##### Property Value The text of the comment. ### ID3V2EncodingType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2encodingtype.md #### ID3V2EncodingType enumeration Defines different types of text encoding used in ID3v2. ```csharp public enum ID3V2EncodingType : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Iso88591 | `0` | The ISO-8859-1 encoding. | | Utf16 | `1` | The UTF-16 encoding with BOM. | | Utf16Be | `2` | The UTF-16 encoding without BOM. | | Utf8 | `3` | The UTF-8 encoding. | ### ID3V2MlltFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2mlltframe.md #### ID3V2MlltFrame class Represents an MLLT frame in an `ID3V2Tag`. ```csharp public sealed class ID3V2MlltFrame : ID3V2TagFrame ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ID3V2PlayCounterFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2playcounterframe.md #### ID3V2PlayCounterFrame class Represents a PCNT frame in an `ID3V2Tag`. This is simply a counter of the number of times a file has been played. ```csharp public sealed class ID3V2PlayCounterFrame : ID3V2TagFrame ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the number of times the file has been played. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2playcounterframe/value.md #### ID3V2PlayCounterFrame.Value property Gets the number of times the file has been played. ```csharp public ulong Value { get; } ``` ##### Property Value The number of times the file has been played. ### ID3V2PrivateFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2privateframe.md #### ID3V2PrivateFrame class Represents a PRIV frame in an `ID3V2Tag`. The frame is used to contain information from a software producer that its program uses and does not fit into the other frames. ```csharp public sealed class ID3V2PrivateFrame : ID3V2TagFrame ``` #### Constructors | Name | Description | | --- | --- | | ID3V2PrivateFrame(string, byte[]) | Initializes a new instance of the `ID3V2PrivateFrame` class. | #### Properties | Name | Description | | --- | --- | | BinaryData { get; } | Gets the binary data. | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | OwnerIdentifier { get; } | Gets the owner identifier. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BinaryData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2privateframe/binarydata.md #### ID3V2PrivateFrame.BinaryData property Gets the binary data. ```csharp public byte[] BinaryData { get; } ``` ##### Property Value The binary data. ### ID3V2PrivateFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2privateframe/id3v2privateframe.md #### ID3V2PrivateFrame constructor Initializes a new instance of the `ID3V2PrivateFrame` class. ```csharp public ID3V2PrivateFrame(string ownerIdentifier, byte[] data) ``` | Parameter | Type | Description | | --- | --- | --- | | ownerIdentifier | String | The owner identifier. | | data | Byte[] | Frame binary data. | ### OwnerIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2privateframe/owneridentifier.md #### ID3V2PrivateFrame.OwnerIdentifier property Gets the owner identifier. ```csharp public string OwnerIdentifier { get; } ``` ##### Property Value The owner identifier. ### ID3V2Tag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag.md #### ID3V2Tag class Represents an ID3v2 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v2](https://en.wikipedia.org/wiki/ID3#ID3v2). ```csharp public sealed class ID3V2Tag : ID3Tag ``` #### Constructors | Name | Description | | --- | --- | | ID3V2Tag() | Initializes a new instance of the `ID3V2Tag` class. | #### Properties | Name | Description | | --- | --- | | Album { get; set; } | Gets or sets the Album/Movie/Show title. This value is represented by the TALB frame. | | Artist { get; set; } | Gets or sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. This value is represented by the TPE1 frame. | | AttachedPictures { get; set; } | Gets or sets the attached pictures directly related to the audio file. This value is represented by the APIC frame. | | Band { get; set; } | Gets or sets the Band/Orchestra/Accompaniment. This value is represented by the TPE2 frame. | | BitsPerMinute { get; set; } | Gets or sets the number of beats per minute in the main part of the audio. This value is represented by the TBPM frame. | | Comments { get; set; } | Gets or sets the user comments. This value is represented by the COMM frame. The frame is intended for any kind of full text information that does not fit in any other frame. | | Composers { get; set; } | Gets or sets the composers. The names are separated with the "/" character. This value is represented by the TCOM frame. | | ContentType { get; set; } | Gets or sets the content type. This value is represented by the TCON frame. | | Copyright { get; set; } | Gets or sets the copyright message. This value is represented by the TCOP frame. | | Count { get; } | Gets the number of metadata properties. | | Date { get; set; } | Gets or sets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long. This value is represented by the TDAT frame. | | EncodedBy { get; set; } | Gets or sets the name of the person or organization that encoded the audio file. This value is represented by the TENC frame. | | Isrc { get; set; } | Gets or sets the International Standard Recording Code (ISRC) (12 characters). This value is represented by the TSRC frame. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LengthInMilliseconds { get; set; } | Gets or sets the length of the audio file in milliseconds, represented as a numeric string. This value is represented by the TLEN frame. | | MetadataType { get; } | Gets the metadata type. | | MusicalKey { get; set; } | Gets or sets the musical key in which the sound starts. This value is represented by the TKEY frame. | | OriginalAlbum { get; set; } | Gets or sets the original album/movie/show title. This value is represented by the TOAL frame. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Publisher { get; set; } | Gets or sets the name of the label or publisher. This value is represented by the TPUB frame. | | SizeInBytes { get; set; } | Gets or sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. This value is represented by the TSIZ frame. | | SoftwareHardware { get; set; } | Gets or sets the used audio encoder and its settings when the file was encoded. This value is represented by the TSSE frame. | | Subtitle { get; set; } | Gets or sets the Subtitle/Description refinement. This value is represented by the TIT3 frame. | | TagSize { get; } | Gets the size of the tag. | | Time { get; set; } | Gets or sets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long. This value is represented by the TIME frame. | | Title { get; set; } | Gets or sets the Title/Song name/Content description. This value is represented by the TIT2 frame. | | TrackNumber { get; set; } | Gets or sets a numeric string containing the order number of the audio-file on its original recording. This value is represented by the TRCK frame. | | TrackPlayCounter { get; } | Gets the number of times the file has been played. This value is represented by the PCNT frame. | | override Version { get; } | Gets the ID3 version. | | Year { get; set; } | Gets or sets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000). This value is represented by the TYER frame. | #### Methods | Name | Description | | --- | --- | | Add(ID3V2TagFrame) | Adds a frame to the tag. | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear(string) | Removes all frames with the specified id. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | Get(string) | Gets an array of frames with the specified id. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(ID3V2TagFrame) | Removes the specified frame from the tag. | | RemoveAttachedPictures() | Removes all attached pictures stored in APIC frames. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(ID3V2TagFrame) | Removes all frames having the same id as the specified one and adds the new frame to the tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example shows how to read the ID3v2 tag in an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { var root = metadata.GetRootPackage(); if (root.ID3V2 != null) { Console.WriteLine(root.ID3V2.Album); Console.WriteLine(root.ID3V2.Artist); Console.WriteLine(root.ID3V2.Band); Console.WriteLine(root.ID3V2.Title); Console.WriteLine(root.ID3V2.Composers); Console.WriteLine(root.ID3V2.Copyright); Console.WriteLine(root.ID3V2.Publisher); Console.WriteLine(root.ID3V2.OriginalAlbum); Console.WriteLine(root.ID3V2.MusicalKey); if (root.ID3V2.AttachedPictures != null) { foreach (var attachedPicture in root.ID3V2.AttachedPictures) { Console.WriteLine(attachedPicture.AttachedPictureType); Console.WriteLine(attachedPicture.MimeType); Console.WriteLine(attachedPicture.Description); // ... } } // ... } } ``` ### Add Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/add.md #### ID3V2Tag.Add method Adds a frame to the tag. ```csharp public void Add(ID3V2TagFrame frame) ``` | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to be added to the tag. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | The provided frame is incompatible with the existing frames of the same kind. | ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/album.md #### ID3V2Tag.Album property Gets or sets the Album/Movie/Show title. This value is represented by the TALB frame. ```csharp public string Album { get; set; } ``` ##### Property Value The Album/Movie/Show title. ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/artist.md #### ID3V2Tag.Artist property Gets or sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. This value is represented by the TPE1 frame. ```csharp public string Artist { get; set; } ``` ##### Property Value The Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. ### AttachedPictures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/attachedpictures.md #### ID3V2Tag.AttachedPictures property Gets or sets the attached pictures directly related to the audio file. This value is represented by the APIC frame. ```csharp public ID3V2AttachedPictureFrame[] AttachedPictures { get; set; } ``` ##### Property Value The attached pictures directly related to the audio file. ### Band Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/band.md #### ID3V2Tag.Band property Gets or sets the Band/Orchestra/Accompaniment. This value is represented by the TPE2 frame. ```csharp public string Band { get; set; } ``` ##### Property Value The Band/Orchestra/Accompaniment. ### BitsPerMinute Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/bitsperminute.md #### ID3V2Tag.BitsPerMinute property Gets or sets the number of beats per minute in the main part of the audio. This value is represented by the TBPM frame. ```csharp public string BitsPerMinute { get; set; } ``` ##### Property Value The number of beats per minute in the main part of the audio. ### Clear Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/clear.md #### ID3V2Tag.Clear method Removes all frames with the specified id. ```csharp public void Clear(string frameId) ``` | Parameter | Type | Description | | --- | --- | --- | | frameId | String | The id of the frames to remove. | ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/comments.md #### ID3V2Tag.Comments property Gets or sets the user comments. This value is represented by the COMM frame. The frame is intended for any kind of full text information that does not fit in any other frame. ```csharp public ID3V2CommentFrame[] Comments { get; set; } ``` ##### Property Value The user comments. ### Composers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/composers.md #### ID3V2Tag.Composers property Gets or sets the composers. The names are separated with the "/" character. This value is represented by the TCOM frame. ```csharp public string Composers { get; set; } ``` ##### Property Value The composers. The names are separated with the "/" character. ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/contenttype.md #### ID3V2Tag.ContentType property Gets or sets the content type. This value is represented by the TCON frame. ```csharp public string ContentType { get; set; } ``` ##### Property Value The content type. ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/copyright.md #### ID3V2Tag.Copyright property Gets or sets the copyright message. This value is represented by the TCOP frame. ```csharp public string Copyright { get; set; } ``` ##### Property Value The copyright message. ##### Remarks Every time this field is displayed the field must be preceded with "Copyright © ". ### Date Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/date.md #### ID3V2Tag.Date property Gets or sets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long. This value is represented by the TDAT frame. ```csharp public string Date { get; set; } ``` ##### Property Value A numeric string in the DDMM format containing the date for the recording. ### EncodedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/encodedby.md #### ID3V2Tag.EncodedBy property Gets or sets the name of the person or organization that encoded the audio file. This value is represented by the TENC frame. ```csharp public string EncodedBy { get; set; } ``` ##### Property Value The name of the person or organization that encoded the audio file. ### Get Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/get.md #### ID3V2Tag.Get method Gets an array of frames with the specified id. ```csharp public ID3V2TagFrame[] Get(string frameId) ``` | Parameter | Type | Description | | --- | --- | --- | | frameId | String | The id of the frames to get. | ##### Return Value An array of frames with the specified id. ### ID3V2Tag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/id3v2tag.md #### ID3V2Tag constructor Initializes a new instance of the `ID3V2Tag` class. ```csharp public ID3V2Tag() ``` ### Isrc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/isrc.md #### ID3V2Tag.Isrc property Gets or sets the International Standard Recording Code (ISRC) (12 characters). This value is represented by the TSRC frame. ```csharp public string Isrc { get; set; } ``` ##### Property Value The International Standard Recording Code (ISRC) (12 characters). ### LengthInMilliseconds Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/lengthinmilliseconds.md #### ID3V2Tag.LengthInMilliseconds property Gets or sets the length of the audio file in milliseconds, represented as a numeric string. This value is represented by the TLEN frame. ```csharp public string LengthInMilliseconds { get; set; } ``` ##### Property Value The length of the audio file in milliseconds, represented as a numeric string. ### MusicalKey Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/musicalkey.md #### ID3V2Tag.MusicalKey property Gets or sets the musical key in which the sound starts. This value is represented by the TKEY frame. ```csharp public string MusicalKey { get; set; } ``` ##### Property Value The musical key in which the sound starts. ### OriginalAlbum Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/originalalbum.md #### ID3V2Tag.OriginalAlbum property Gets or sets the original album/movie/show title. This value is represented by the TOAL frame. ```csharp public string OriginalAlbum { get; set; } ``` ##### Property Value The original album/movie/show title. ### Publisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/publisher.md #### ID3V2Tag.Publisher property Gets or sets the name of the label or publisher. This value is represented by the TPUB frame. ```csharp public string Publisher { get; set; } ``` ##### Property Value The name of the label or publisher. ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/remove.md #### ID3V2Tag.Remove method Removes the specified frame from the tag. ```csharp public void Remove(ID3V2TagFrame frame) ``` | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to be removed from the tag. | ### RemoveAttachedPictures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/removeattachedpictures.md #### ID3V2Tag.RemoveAttachedPictures method Removes all attached pictures stored in APIC frames. ```csharp public void RemoveAttachedPictures() ``` ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/set.md #### ID3V2Tag.Set method Removes all frames having the same id as the specified one and adds the new frame to the tag. ```csharp public void Set(ID3V2TagFrame frame) ``` | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to replace all frames of its kind with. | ### SizeInBytes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/sizeinbytes.md #### ID3V2Tag.SizeInBytes property Gets or sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. This value is represented by the TSIZ frame. ```csharp public string SizeInBytes { get; set; } ``` ##### Property Value The size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. ### SoftwareHardware Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/softwarehardware.md #### ID3V2Tag.SoftwareHardware property Gets or sets the used audio encoder and its settings when the file was encoded. This value is represented by the TSSE frame. ```csharp public string SoftwareHardware { get; set; } ``` ##### Property Value The used audio encoder and its settings when the file was encoded. ### Subtitle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/subtitle.md #### ID3V2Tag.Subtitle property Gets or sets the Subtitle/Description refinement. This value is represented by the TIT3 frame. ```csharp public string Subtitle { get; set; } ``` ##### Property Value The Subtitle/Description refinement. ### TagSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/tagsize.md #### ID3V2Tag.TagSize property Gets the size of the tag. ```csharp public int TagSize { get; } ``` ##### Property Value The size of the tag. ### Time Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/time.md #### ID3V2Tag.Time property Gets or sets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long. This value is represented by the TIME frame. ```csharp public string Time { get; set; } ``` ##### Property Value A numeric string in the HHMM format containing the time for the recording. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/title.md #### ID3V2Tag.Title property Gets or sets the Title/Song name/Content description. This value is represented by the TIT2 frame. ```csharp public string Title { get; set; } ``` ##### Property Value The Title/Song name/Content description. ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/tolist.md #### ID3V2Tag.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list of all frames contained in the ID3v2 tag. ### TrackNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/tracknumber.md #### ID3V2Tag.TrackNumber property Gets or sets a numeric string containing the order number of the audio-file on its original recording. This value is represented by the TRCK frame. ```csharp public string TrackNumber { get; set; } ``` ##### Property Value A numeric string containing the order number of the audio-file on its original recording ### TrackPlayCounter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/trackplaycounter.md #### ID3V2Tag.TrackPlayCounter property Gets the number of times the file has been played. This value is represented by the PCNT frame. ```csharp public ulong? TrackPlayCounter { get; } ``` ##### Property Value The number of times a file has been played. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/version.md #### ID3V2Tag.Version property Gets the ID3 version. ```csharp public override string Version { get; } ``` ##### Property Value The ID3 version. ### Year Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tag/year.md #### ID3V2Tag.Year property Gets or sets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000). This value is represented by the TYER frame. ```csharp public string Year { get; set; } ``` ##### Property Value A numeric string with a year of the recording. This frames is always four characters long (until the year 10000). ### ID3V2TagFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframe.md #### ID3V2TagFrame class Represents a generic frame in an `ID3V2Tag`. ```csharp public class ID3V2TagFrame : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | ID3V2TagFrame(string, byte[]) | Initializes a new instance of the `ID3V2TagFrame` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Data Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframe/data.md #### ID3V2TagFrame.Data property Gets the frame data. ```csharp public byte[] Data { get; } ``` ##### Property Value The frame data. ### Flags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframe/flags.md #### ID3V2TagFrame.Flags property Gets the frame flags. ```csharp public ID3V2TagFrameFlags Flags { get; } ``` ##### Property Value The frame flags. ### Id Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframe/id.md #### ID3V2TagFrame.Id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ```csharp public string Id { get; } ``` ##### Property Value The id of the frame (four characters matching the pattern [A-Z0-9]). ### ID3V2TagFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframe/id3v2tagframe.md #### ID3V2TagFrame constructor Initializes a new instance of the `ID3V2TagFrame` class. ```csharp public ID3V2TagFrame(string frameId, byte[] data) ``` | Parameter | Type | Description | | --- | --- | --- | | frameId | String | The id of the frame (four characters matching the pattern [A-Z0-9]). | | data | Byte[] | The content of the frame. | ### ID3V2TagFrameFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags.md #### ID3V2TagFrameFlags class Represents flags used in a ID3v2 tag frame. ```csharp public sealed class ID3V2TagFrameFlags : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Compression { get; } | Gets a value indicating whether the frame is compressed. | | DataLengthIndicator { get; } | Gets a value indicating whether a data length indicator has been added to the frame. The data length indicator is the value one would write as the 'Frame length' if all of the frame format flags were zeroed, represented as a 32 bit synchsafe integer. | | Encryption { get; } | Gets a value indicating whether the frame is encrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. | | FileAlterPreservation { get; } | Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. This does not apply when the audio is completely replaced with other audio data. | | GroupingIdentity { get; } | Gets a value indicating whether the frame belongs to a group of frames. If set a group identifier byte is added to the frame header. Every frame with the same group identifier belongs to the same group. | | ReadOnly { get; } | Gets the tag that tells the software that the contents of this frame is intended to be read-only. | | TagAlterPreservation { get; } | Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. This applies to all kinds of alterations, including adding more padding and reordering the frames. | | Unsynchronisation { get; } | Gets a value indicating whether unsynchronisation was applied to this frame. | #### Methods | Name | Description | | --- | --- | | Equals(ID3V2TagFrameFlags) | Indicates whether the current object is equal to another object of the same type. | | override Equals(object) | Determines whether the specified object is equal to this instance. | | override GetHashCode() | Returns a hash code for this instance. | ### Compression Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/compression.md #### ID3V2TagFrameFlags.Compression property Gets a value indicating whether the frame is compressed. ```csharp public bool Compression { get; } ``` ##### Property Value `true`, if the frame is compressed; otherwise, false. ### DataLengthIndicator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/datalengthindicator.md #### ID3V2TagFrameFlags.DataLengthIndicator property Gets a value indicating whether a data length indicator has been added to the frame. The data length indicator is the value one would write as the 'Frame length' if all of the frame format flags were zeroed, represented as a 32 bit synchsafe integer. ```csharp public bool DataLengthIndicator { get; } ``` ##### Property Value `true`, if a data length indicator has been added to the frame; otherwise, false. ### Encryption Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/encryption.md #### ID3V2TagFrameFlags.Encryption property Gets a value indicating whether the frame is encrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. ```csharp public bool Encryption { get; } ``` ##### Property Value `true`, if the frame is encrypted; otherwise, false. ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/equals.md #### Equals(ID3V2TagFrameFlags) Indicates whether the current object is equal to another object of the same type. ```csharp public bool Equals(ID3V2TagFrameFlags other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | ID3V2TagFrameFlags | An object to compare with this object. | ##### Return Value true if the current object is equal to the *other* parameter; otherwise, false. #### Equals(object) Determines whether the specified object is equal to this instance. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The Object to compare with this instance. | ##### Return Value `true` if the specified Object is equal to this instance; otherwise, `false`. ### FileAlterPreservation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/filealterpreservation.md #### ID3V2TagFrameFlags.FileAlterPreservation property Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. This does not apply when the audio is completely replaced with other audio data. ```csharp public bool FileAlterPreservation { get; } ``` ##### Property Value Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/gethashcode.md #### ID3V2TagFrameFlags.GetHashCode method Returns a hash code for this instance. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### GroupingIdentity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/groupingidentity.md #### ID3V2TagFrameFlags.GroupingIdentity property Gets a value indicating whether the frame belongs to a group of frames. If set a group identifier byte is added to the frame header. Every frame with the same group identifier belongs to the same group. ```csharp public bool GroupingIdentity { get; } ``` ##### Property Value `true`, if the frame belongs to a group of frames; otherwise, false. ### ReadOnly Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/readonly.md #### ID3V2TagFrameFlags.ReadOnly property Gets the tag that tells the software that the contents of this frame is intended to be read-only. ```csharp public bool ReadOnly { get; } ``` ##### Property Value The tag that tells the software that the contents of this frame is intended to be read-only. ### TagAlterPreservation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/tagalterpreservation.md #### ID3V2TagFrameFlags.TagAlterPreservation property Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. This applies to all kinds of alterations, including adding more padding and reordering the frames. ```csharp public bool TagAlterPreservation { get; } ``` ##### Property Value The flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. ### Unsynchronisation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2tagframeflags/unsynchronisation.md #### ID3V2TagFrameFlags.Unsynchronisation property Gets a value indicating whether unsynchronisation was applied to this frame. ```csharp public bool Unsynchronisation { get; } ``` ##### Property Value `true`, if unsynchronisation was applied to this frame; otherwise, false. ### ID3V2TextFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2textframe.md #### ID3V2TextFrame class Represents a text frame in an `ID3V2Tag`. Almost all frames starting with the T character fall into this category. There is only one exception, which is the TXXX frame represented by the `ID3V2UserDefinedFrame` class. ```csharp public class ID3V2TextFrame : ID3V2TagFrame ``` #### Constructors | Name | Description | | --- | --- | | ID3V2TextFrame(string, ID3V2EncodingType, string) | Initializes a new instance of the `ID3V2TextFrame` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Text { get; } | Gets the text value. | | TextEncoding { get; } | Gets the text encoding. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ID3V2TextFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2textframe/id3v2textframe.md #### ID3V2TextFrame constructor Initializes a new instance of the `ID3V2TextFrame` class. ```csharp public ID3V2TextFrame(string id, ID3V2EncodingType encoding, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | id | String | The frame id. | | encoding | ID3V2EncodingType | The encoding of the frame. | | value | String | The frame value. | ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2textframe/text.md #### ID3V2TextFrame.Text property Gets the text value. ```csharp public string Text { get; } ``` ##### Property Value The text value. ### TextEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2textframe/textencoding.md #### ID3V2TextFrame.TextEncoding property Gets the text encoding. ```csharp public ID3V2EncodingType TextEncoding { get; } ``` ##### Property Value The text encoding. ### ID3V2UrlLinkFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2urllinkframe.md #### ID3V2UrlLinkFrame class Represents a URL link frame in an `ID3V2Tag`. Name of the frame always starts with the W character. ```csharp public sealed class ID3V2UrlLinkFrame : ID3V2TagFrame ``` #### Constructors | Name | Description | | --- | --- | | ID3V2UrlLinkFrame(string, string) | Initializes a new instance of the `ID3V2UrlLinkFrame` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Url { get; } | Gets the URL value. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ID3V2UrlLinkFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2urllinkframe/id3v2urllinkframe.md #### ID3V2UrlLinkFrame constructor Initializes a new instance of the `ID3V2UrlLinkFrame` class. ```csharp public ID3V2UrlLinkFrame(string id, string url) ``` | Parameter | Type | Description | | --- | --- | --- | | id | String | The frame id. | | url | String | The URL which is the value of the frame. | ### Url Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2urllinkframe/url.md #### ID3V2UrlLinkFrame.Url property Gets the URL value. ```csharp public string Url { get; } ``` ##### Property Value The URL value. ### ID3V2UserDefinedFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedframe.md #### ID3V2UserDefinedFrame class Represents a TXXX frame in an `ID3V2Tag`. ```csharp public sealed class ID3V2UserDefinedFrame : ID3V2TagFrame ``` #### Constructors | Name | Description | | --- | --- | | ID3V2UserDefinedFrame(string, string) | Initializes a new instance of the `ID3V2UserDefinedFrame` class. | | ID3V2UserDefinedFrame(ID3V2EncodingType, string, string) | Initializes a new instance of the `ID3V2UserDefinedFrame` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Description { get; } | Gets the description. | | Encoding { get; } | Gets the encoding of the frame. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/description.md #### ID3V2UserDefinedFrame.Description property Gets the description. ```csharp public string Description { get; } ``` ##### Property Value The description. ### Encoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/encoding.md #### ID3V2UserDefinedFrame.Encoding property Gets the encoding of the frame. ```csharp public ID3V2EncodingType Encoding { get; } ``` ##### Property Value The encoding of the frame. ### ID3V2UserDefinedFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/id3v2userdefinedframe.md #### ID3V2UserDefinedFrame(string, string) Initializes a new instance of the `ID3V2UserDefinedFrame` class. ```csharp public ID3V2UserDefinedFrame(string description, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | description | String | The description. | | value | String | The value. | #### ID3V2UserDefinedFrame(ID3V2EncodingType, string, string) Initializes a new instance of the `ID3V2UserDefinedFrame` class. ```csharp public ID3V2UserDefinedFrame(ID3V2EncodingType encoding, string description, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the frame. | | description | String | The description. | | value | String | The text value. | ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/value.md #### ID3V2UserDefinedFrame.Value property Gets the value. ```csharp public string Value { get; } ``` ##### Property Value The value. ### ID3V2UserDefinedUrlLinkFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe.md #### ID3V2UserDefinedUrlLinkFrame class Represents a WXXX frame in an `ID3V2Tag`. ```csharp public sealed class ID3V2UserDefinedUrlLinkFrame : ID3V2TagFrame ``` #### Constructors | Name | Description | | --- | --- | | ID3V2UserDefinedUrlLinkFrame(string, string) | Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. | | ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType, string, string) | Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the frame data. | | Description { get; } | Gets the description. | | Encoding { get; } | Gets the encoding of the frame. | | Flags { get; } | Gets the frame flags. | | Id { get; } | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Url { get; } | Gets the URL. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/description.md #### ID3V2UserDefinedUrlLinkFrame.Description property Gets the description. ```csharp public string Description { get; } ``` ##### Property Value The description. ### Encoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/encoding.md #### ID3V2UserDefinedUrlLinkFrame.Encoding property Gets the encoding of the frame. ```csharp public ID3V2EncodingType Encoding { get; } ``` ##### Property Value The encoding of the frame. ### ID3V2UserDefinedUrlLinkFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/id3v2userdefinedurllinkframe.md #### ID3V2UserDefinedUrlLinkFrame(string, string) Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. ```csharp public ID3V2UserDefinedUrlLinkFrame(string description, string url) ``` | Parameter | Type | Description | | --- | --- | --- | | description | String | The description. | | url | String | The actual value of the frame. | #### ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType, string, string) Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. ```csharp public ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType encoding, string description, string url) ``` | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the frame. | | description | String | The description. | | url | String | The actual value of the frame. | ### Url Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/url.md #### ID3V2UserDefinedUrlLinkFrame.Url property Gets the URL. ```csharp public string Url { get; } ``` ##### Property Value The URL. ### LyricsField Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricsfield.md #### LyricsField class Represents a `LyricsTag` field. ```csharp public sealed class LyricsField : MetadataProperty ``` #### Constructors | Name | Description | | --- | --- | | LyricsField(string, string) | Initializes a new instance of the `LyricsField` class. | #### Properties | Name | Description | | --- | --- | | Data { get; } | Gets the field data. | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | ID { get; } | Gets the id of the field (it's always three characters long). | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | Size { get; } | Gets the string representation of the field size. | | Tags { get; } | Gets a collection of tags associated with the property. | | Value { get; } | Gets the property value. | ### Data Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricsfield/data.md #### LyricsField.Data property Gets the field data. ```csharp public string Data { get; } ``` ##### Property Value The field data. ### ID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricsfield/id.md #### LyricsField.ID property Gets the id of the field (it's always three characters long). ```csharp public string ID { get; } ``` ##### Property Value The id of the field (it's always three characters long). ### LyricsField Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricsfield/lyricsfield.md #### LyricsField constructor Initializes a new instance of the `LyricsField` class. ```csharp public LyricsField(string id, string data) ``` | Parameter | Type | Description | | --- | --- | --- | | id | String | The three character field id. | | data | String | The field data. | ### Size Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricsfield/size.md #### LyricsField.Size property Gets the string representation of the field size. ```csharp public string Size { get; } ``` ##### Property Value The string representation of the field size. ### LyricsTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag.md #### LyricsTag class Represents Lyrics3 v2.00 metadata. Please find more information at http://id3.org/Lyrics3v2. ```csharp public sealed class LyricsTag : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | LyricsTag() | Initializes a new instance of the `LyricsTag` class. | #### Properties | Name | Description | | --- | --- | | AdditionalInfo { get; set; } | Gets or sets the additional information. This value is represented by the INF field. | | Album { get; set; } | Gets or sets the album name. This value is represented by the EAL field. | | Artist { get; set; } | Gets or sets the artist name. This value is represented by the EAR field. | | Author { get; set; } | Gets or sets the author. This value is represented by the AUT field. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Lyrics { get; set; } | Gets or sets the lyrics. This value is represented by the LYR field. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Track { get; set; } | Gets or sets the track title. This value is represented by the ETT field. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | Get(string) | Gets the value of the field with the specified id. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes the field with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(LyricsField) | Adds or replaces the specified Lyrics3 field. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Remarks Lyrics3 v2.00 uses fields to represent information. The data in a field can consist of ASCII characters in the range 01 to 254 according to the standard. As the ASCII character map is only defined from 00 to 128 ISO-8859-1 might be assumed. Numerical fields are 5 or 6 characters long, depending on location, and are padded with zeroes. ##### Examples This code sample shows how to read the Lyrics tag from an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithLyrics)) { var root = metadata.GetRootPackage(); if (root.Lyrics3V2 != null) { Console.WriteLine(root.Lyrics3V2.Lyrics); Console.WriteLine(root.Lyrics3V2.Album); Console.WriteLine(root.Lyrics3V2.Artist); Console.WriteLine(root.Lyrics3V2.Track); // ... // Alternatively, you can loop through a full list of tag fields foreach (var field in root.Lyrics3V2.ToList()) { Console.WriteLine("{0} = {1}", field.ID, field.Data); } } } ``` ### AdditionalInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/additionalinfo.md #### LyricsTag.AdditionalInfo property Gets or sets the additional information. This value is represented by the INF field. ```csharp public string AdditionalInfo { get; set; } ``` ##### Property Value The additional information. ##### Remarks This is always three (3) characters long in v2.00, but might be longer in a future standard. The first byte indicates weather or not a lyrics field is present. "1" for present and "0" for otherwise. The second character indicates if there is a timestamp in the lyrics. Again "1" for yes and "0" for no. The third character inhibits tracks for random selection - "1" if inhibited and "0" if not. ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/album.md #### LyricsTag.Album property Gets or sets the album name. This value is represented by the EAL field. ```csharp public string Album { get; set; } ``` ##### Property Value The album. ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/artist.md #### LyricsTag.Artist property Gets or sets the artist name. This value is represented by the EAR field. ```csharp public string Artist { get; set; } ``` ##### Property Value The artist. ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/author.md #### LyricsTag.Author property Gets or sets the author. This value is represented by the AUT field. ```csharp public string Author { get; set; } ``` ##### Property Value The author. ### Get Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/get.md #### LyricsTag.Get method Gets the value of the field with the specified id. ```csharp public string Get(string id) ``` | Parameter | Type | Description | | --- | --- | --- | | id | String | The id of the field. | ##### Return Value The value if the tag contains a field with the specified id; otherwise, null. ### Lyrics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/lyrics.md #### LyricsTag.Lyrics property Gets or sets the lyrics. This value is represented by the LYR field. ```csharp public string Lyrics { get; set; } ``` ##### Property Value The lyrics. ### LyricsTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/lyricstag.md #### LyricsTag constructor Initializes a new instance of the `LyricsTag` class. ```csharp public LyricsTag() ``` ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/remove.md #### LyricsTag.Remove method Removes the field with the specified id. ```csharp public void Remove(string id) ``` | Parameter | Type | Description | | --- | --- | --- | | id | String | The field identifier. | ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/set.md #### LyricsTag.Set method Adds or replaces the specified Lyrics3 field. ```csharp public void Set(LyricsField field) ``` | Parameter | Type | Description | | --- | --- | --- | | field | LyricsField | The field to be set. | ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/tolist.md #### LyricsTag.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list of all fields contained in the Lyrics3 tag. ### Track Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/lyricstag/track.md #### LyricsTag.Track property Gets or sets the track title. This value is represented by the ETT field. ```csharp public string Track { get; set; } ``` ##### Property Value The track. ### MP3RootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage.md #### MP3RootPackage class Represents the root package allowing working with metadata in an MP3 audio. ```csharp public class MP3RootPackage : RootMetadataPackage, IXmp ``` #### Properties | Name | Description | | --- | --- | | ApeV2 { get; } | Gets the APE v2 metadata. | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | ID3V1 { get; set; } | Gets or sets the ID3v1 metadata tag. Please find more information at [http://id3.org/ID3v1](http://id3.org/ID3v1). | | ID3V2 { get; set; } | Gets or sets the ID3v2 metadata tag. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Lyrics3V2 { get; set; } | Gets or sets the Lyrics3v2 metadata tag. | | MetadataType { get; } | Gets the metadata type. | | MpegAudioPackage { get; } | Gets the MPEG audio metadata package. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | RemoveApeV2() | Removes the APEv2 audio tag. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ApeV2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/apev2.md #### MP3RootPackage.ApeV2 property Gets the APE v2 metadata. ```csharp public ApePackage ApeV2 { get; } ``` ##### Property Value The APE v2 metadata. ##### Examples This example demonstrates how to read the APEv2 tag in an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithApe)) { var root = metadata.GetRootPackage(); if (root.ApeV2 != null) { Console.WriteLine(root.ApeV2.Album); Console.WriteLine(root.ApeV2.Title); Console.WriteLine(root.ApeV2.Artist); Console.WriteLine(root.ApeV2.Composer); Console.WriteLine(root.ApeV2.Copyright); Console.WriteLine(root.ApeV2.Genre); Console.WriteLine(root.ApeV2.Language); // ... } } ``` ### ID3V1 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/id3v1.md #### MP3RootPackage.ID3V1 property Gets or sets the ID3v1 metadata tag. Please find more information at [http://id3.org/ID3v1](http://id3.org/ID3v1). ```csharp public ID3V1Tag ID3V1 { get; set; } ``` ##### Property Value The ID3v1 metadata tag attached to the audio file. ##### Remarks The ID3(v1) tag is a small chunk of extra data at the end of an MP3 file. ##### Examples This code sample shows how to update the ID3v1 tag in an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithID3V1)) { var root = metadata.GetRootPackage(); if (root.ID3V1 == null) { root.ID3V1 = new ID3V1Tag(); } root.ID3V1.Album = "test album"; root.ID3V1.Artist = "test artist"; root.ID3V1.Title = "test title"; root.ID3V1.Comment = "test comment"; root.ID3V1.Year = "2019"; // ... metadata.Save(Constants.OutputMp3); } ``` ### ID3V2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/id3v2.md #### MP3RootPackage.ID3V2 property Gets or sets the ID3v2 metadata tag. ```csharp public ID3V2Tag ID3V2 { get; set; } ``` ##### Property Value The ID3v2 metadata tag attached to the audio file. ##### Examples The code sample shows how to update the ID3v2 tag in an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { var root = metadata.GetRootPackage(); if (root.ID3V2 == null) { root.ID3V2 = new ID3V2Tag(); } root.ID3V2.Album = "test album"; root.ID3V2.Artist = "test artist"; root.ID3V2.Band = "test band"; root.ID3V2.TrackNumber = "1"; root.ID3V2.MusicalKey = "C#"; root.ID3V2.Title = "code sample"; root.ID3V2.Date = "2019"; // ... metadata.Save(Constants.OutputMp3); } ``` ### Lyrics3V2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/lyrics3v2.md #### MP3RootPackage.Lyrics3V2 property Gets or sets the Lyrics3v2 metadata tag. ```csharp public LyricsTag Lyrics3V2 { get; set; } ``` ##### Property Value The Lyrics3v2 metadata tag. ##### Examples This example shows how to update the Lyrics tag in an MP3 file ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithLyrics)) { var root = metadata.GetRootPackage(); if (root.Lyrics3V2 == null) { root.Lyrics3V2 = new LyricsTag(); } root.Lyrics3V2.Lyrics = "[00:01]Test lyrics"; root.Lyrics3V2.Artist = "test artist"; root.Lyrics3V2.Album = "test album"; root.Lyrics3V2.Track = "test track"; // You can add a fully custom field to the tag root.Lyrics3V2.Set(new LyricsField("ABC", "custom value")); // ... metadata.Save(Constants.OutputMp3); } ``` ### MpegAudioPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/mpegaudiopackage.md #### MP3RootPackage.MpegAudioPackage property Gets the MPEG audio metadata package. ```csharp public MpegAudioPackage MpegAudioPackage { get; } ``` ##### Property Value The MPEG audio metadata package. ##### Examples This example demonstrates how to read MPEG audio metadata from an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.MpegAudioPackage.Bitrate); Console.WriteLine(root.MpegAudioPackage.ChannelMode); Console.WriteLine(root.MpegAudioPackage.Emphasis); Console.WriteLine(root.MpegAudioPackage.Frequency); Console.WriteLine(root.MpegAudioPackage.HeaderPosition); Console.WriteLine(root.MpegAudioPackage.Layer); // ... } ``` ### RemoveApeV2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/removeapev2.md #### MP3RootPackage.RemoveApeV2 method Removes the APEv2 audio tag. ```csharp public void RemoveApeV2() ``` ##### Remarks This feature is not available in trial mode. ##### Examples This example shows how to remove the APEv2 tag from an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithApe)) { var root = metadata.GetRootPackage(); root.RemoveApeV2(); metadata.Save(Constants.OutputMp3); } ``` ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/sanitize.md #### MP3RootPackage.Sanitize method Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ```csharp public override int Sanitize() ``` ##### Return Value The number of affected properties. ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/mp3rootpackage/xmppackage.md #### MP3RootPackage.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ### WavPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage.md #### WavPackage class Represents a native metadata package in a WAV audio file. ```csharp public sealed class WavPackage : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | WavPackage() | Initializes a new instance of the `WavPackage` class. | #### Properties | Name | Description | | --- | --- | | AudioFormat { get; } | Gets the audio format. PCM = 1 (i.e. Linear quantization). Values other than 1 indicate some form of compression. | | BitsPerSample { get; } | Gets the bits per sample value. | | BlockAlign { get; } | Gets the block align. | | ByteRate { get; } | Gets the byte rate. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NumberOfChannels { get; } | Gets the number of channels. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SampleRate { get; } | Gets the sample rate. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract technical audio information from a WAV file. ```csharp using (Metadata metadata = new Metadata(Constants.InputWav)) { var root = metadata.GetRootPackage(); if (root.WavPackage != null) { Console.WriteLine(root.WavPackage.AudioFormat); Console.WriteLine(root.WavPackage.BitsPerSample); Console.WriteLine(root.WavPackage.BlockAlign); Console.WriteLine(root.WavPackage.ByteRate); Console.WriteLine(root.WavPackage.NumberOfChannels); Console.WriteLine(root.WavPackage.SampleRate); } } ``` ### AudioFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage/audioformat.md #### WavPackage.AudioFormat property Gets the audio format. PCM = 1 (i.e. Linear quantization). Values other than 1 indicate some form of compression. ```csharp public int AudioFormat { get; } ``` ##### Property Value The audio format. ### BitsPerSample Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage/bitspersample.md #### WavPackage.BitsPerSample property Gets the bits per sample value. ```csharp public int BitsPerSample { get; } ``` ##### Property Value The bits per sample value. ### BlockAlign Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage/blockalign.md #### WavPackage.BlockAlign property Gets the block align. ```csharp public int BlockAlign { get; } ``` ##### Property Value The block align. ### ByteRate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage/byterate.md #### WavPackage.ByteRate property Gets the byte rate. ```csharp public int ByteRate { get; } ``` ##### Property Value The byte rate. ### NumberOfChannels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage/numberofchannels.md #### WavPackage.NumberOfChannels property Gets the number of channels. ```csharp public int NumberOfChannels { get; } ``` ##### Property Value The number of channels. ### SampleRate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage/samplerate.md #### WavPackage.SampleRate property Gets the sample rate. ```csharp public int SampleRate { get; } ``` ##### Property Value The sample rate. ### WavPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavpackage/wavpackage.md #### WavPackage constructor Initializes a new instance of the `WavPackage` class. ```csharp public WavPackage() ``` ### WavRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavrootpackage.md #### WavRootPackage class Represents the root package allowing working with metadata in a WAV audio. ```csharp public class WavRootPackage : RootMetadataPackage, IXmp ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RiffInfoPackage { get; } | Gets the package containing RIFF Info tags. | | WavPackage { get; } | Gets the WAV native metadata package. | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract technical audio information from a WAV file. ```csharp using (Metadata metadata = new Metadata(Constants.InputWav)) { var root = metadata.GetRootPackage(); if (root.WavPackage != null) { Console.WriteLine(root.WavPackage.AudioFormat); Console.WriteLine(root.WavPackage.BitsPerSample); Console.WriteLine(root.WavPackage.BlockAlign); Console.WriteLine(root.WavPackage.ByteRate); Console.WriteLine(root.WavPackage.NumberOfChannels); Console.WriteLine(root.WavPackage.SampleRate); } } ``` ### RiffInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavrootpackage/riffinfopackage.md #### WavRootPackage.RiffInfoPackage property Gets the package containing RIFF Info tags. ```csharp public RiffInfoPackage RiffInfoPackage { get; } ``` ##### Property Value The package containing RIFF Info tags. ### WavPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavrootpackage/wavpackage.md #### WavRootPackage.WavPackage property Gets the WAV native metadata package. ```csharp public WavPackage WavPackage { get; } ``` ##### Property Value The WAV native metadata package. ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.audio/wavrootpackage/xmppackage.md #### WavRootPackage.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ##### Examples This example demonstrates how to extract XMP metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.WavWithXmp)) { var root = metadata.GetRootPackage(); if (root.XmpPackage != null) { if (root.XmpPackage.Schemes.XmpBasic != null) { Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname); // ... } if (root.XmpPackage.Schemes.DublinCore != null) { Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source); // ... } if (root.XmpPackage.Schemes.Photoshop != null) { Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated); // ... } // ... } } ``` ### GroupDocs.Metadata.Formats.BusinessCard Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard.md The namespace contains classes intended to work with electronic business card formats. #### Classes | Class | Description | | --- | --- | | VCardAgentRecord | Represents vCard Agent record metadata class. | | VCardBasePackage | Represents the base VCard metadata class. | | VCardBinaryRecord | Represents vCard binary record metadata class. | | VCardCalendarRecordset | Represents a set of Calendar vCard records. | | VCardCard | Represents a single card extracted from a VCard file. | | VCardCommunicationRecordset | Represents a set of Communication vCard records. These properties describe information about how to communicate with the object the vCard represents. | | VCardCustomRecord | Represents vCard custom record metadata class. | | VCardDateTimeRecord | Represents vCard date time record metadata class. | | VCardDeliveryAddressingRecordset | Represents a set of Delivery Addressing vCard records. These types are concerned with information related to the delivery addressing or label for the vCard object. | | VCardExplanatoryRecordset | Represents a set of Explanatory vCard records. These properties are concerned with additional explanations, such as that related to informational notes or revisions specific to the vCard. | | VCardGeneralRecordset | Represents a set of General vCard records. | | VCardGeographicalRecordset | Represents a set of Geographical vCard records. These properties are concerned with information associated with geographical positions or regions associated with the object the vCard represents. | | VCardIdentificationRecordset | Represents a set of Identification vCard records. These types are used to capture information associated with the identification and naming of the entity associated with the vCard. | | VCardOrganizationalRecordset | Represents a set of Organizational vCard records. These properties are concerned with information associated with characteristics of the organization or organizational units of the object that the vCard represents. | | VCardPackage | Represents VCF (Virtual Contact File) electronic business card format metadata. | | VCardRecord | Represents abstract vCard record metadata class. | | VCardRecordset | Provides a base vCard record union class. | | VCardRootPackage | Represents the root package allowing working with metadata in a VCard file. | | VCardSecurityRecordset | Represents a set of Security vCard records. These properties are concerned with the security of communication pathways or access to the vCard. | | VCardTextRecord | Represents vCard text record metadata class. | #### Enumeration | Enumeration | Description | | --- | --- | | VCardContentType | Defines vCard record content types. | ### VCardAgentRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardagentrecord.md #### VCardAgentRecord class Represents vCard Agent record metadata class. ```csharp public class VCardAgentRecord : VCardRecord ``` #### Properties | Name | Description | | --- | --- | | AltIdParameter { get; } | Gets the alternative representations parameter value. | | AnonymParameters { get; } | Gets the anonymous parameters. | | override ContentType { get; } | Gets the content type of record. | | Count { get; } | Gets the number of metadata properties. | | EncodingParameter { get; } | Gets the encoding parameter value. | | Group { get; } | Gets the grouping value. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageParameter { get; } | Gets the language parameter value. | | MetadataType { get; } | Gets the metadata type. | | PrefParameter { get; } | Gets the preferred parameter. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TypeName { get; } | Gets the type of the record. | | TypeParameters { get; } | Gets the type parameter values. | | Value { get; } | Gets the record value. | | ValueParameters { get; } | Gets the value parameters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardagentrecord/contenttype.md #### VCardAgentRecord.ContentType property Gets the content type of record. ```csharp public override VCardContentType ContentType { get; } ``` ##### Property Value The content type of record. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardagentrecord/value.md #### VCardAgentRecord.Value property Gets the record value. ```csharp public VCardCard Value { get; } ``` ##### Property Value The record value. ### VCardBasePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardbasepackage.md #### VCardBasePackage class Represents the base VCard metadata class. ```csharp public abstract class VCardBasePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### VCardBinaryRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord.md #### VCardBinaryRecord class Represents vCard binary record metadata class. ```csharp public class VCardBinaryRecord : VCardRecord ``` #### Properties | Name | Description | | --- | --- | | AltIdParameter { get; } | Gets the alternative representations parameter value. | | AnonymParameters { get; } | Gets the anonymous parameters. | | override ContentType { get; } | Gets the content type of record. | | Count { get; } | Gets the number of metadata properties. | | EncodingParameter { get; } | Gets the encoding parameter value. | | Group { get; } | Gets the grouping value. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageParameter { get; } | Gets the language parameter value. | | MetadataType { get; } | Gets the metadata type. | | PrefParameter { get; } | Gets the preferred parameter. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TypeName { get; } | Gets the type of the record. | | TypeParameters { get; } | Gets the type parameter values. | | Value { get; } | Gets the record value. | | ValueParameters { get; } | Gets the value parameters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/contenttype.md #### VCardBinaryRecord.ContentType property Gets the content type of record. ```csharp public override VCardContentType ContentType { get; } ``` ##### Property Value The content type of record. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/value.md #### VCardBinaryRecord.Value property Gets the record value. ```csharp public byte[] Value { get; } ``` ##### Property Value The record value. ### VCardCalendarRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset.md #### VCardCalendarRecordset class Represents a set of Calendar vCard records. ```csharp public class VCardCalendarRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | BusyTimeEntries { get; } | Gets the URIs for the busy time associated with the object. | | BusyTimeRecords { get; } | Gets the URIs for the busy time associated with the object. | | CalendarAddresses { get; } | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | CalendarAddressRecords { get; } | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | CalendarUriRecords { get; } | Gets the URIs for the calendar associated with the object represented by the vCard. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | UriCalendarEntries { get; } | Gets the URIs for the calendar associated with the object represented by the vCard. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BusyTimeEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/busytimeentries.md #### VCardCalendarRecordset.BusyTimeEntries property Gets the URIs for the busy time associated with the object. ```csharp public string[] BusyTimeEntries { get; } ``` ##### Property Value The URIs for the busy time associated with the object. ##### Remarks This property is a simplified version of `BusyTimeRecords`. ### BusyTimeRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/busytimerecords.md #### VCardCalendarRecordset.BusyTimeRecords property Gets the URIs for the busy time associated with the object. ```csharp public VCardTextRecord[] BusyTimeRecords { get; } ``` ##### Property Value The URIs for the busy time associated with the object. ### CalendarAddresses Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/calendaraddresses.md #### VCardCalendarRecordset.CalendarAddresses property Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ```csharp public string[] CalendarAddresses { get; } ``` ##### Property Value The calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ##### Remarks This property is a simplified version of `CalendarAddressRecords`. ### CalendarAddressRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/calendaraddressrecords.md #### VCardCalendarRecordset.CalendarAddressRecords property Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ```csharp public VCardTextRecord[] CalendarAddressRecords { get; } ``` ##### Property Value The calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ### CalendarUriRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/calendarurirecords.md #### VCardCalendarRecordset.CalendarUriRecords property Gets the URIs for the calendar associated with the object represented by the vCard. ```csharp public VCardTextRecord[] CalendarUriRecords { get; } ``` ##### Property Value The URIs for the calendar associated with the object represented by the vCard. ### UriCalendarEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/uricalendarentries.md #### VCardCalendarRecordset.UriCalendarEntries property Gets the URIs for the calendar associated with the object represented by the vCard. ```csharp public string[] UriCalendarEntries { get; } ``` ##### Property Value The URIs for the calendar associated with the object represented by the vCard. ##### Remarks This property is a simplified version of `CalendarUriRecords`. ### VCardCard Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard.md #### VCardCard class Represents a single card extracted from a VCard file. ```csharp public class VCardCard : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | CalendarRecordset { get; } | Gets the calendar records. | | CommunicationRecordset { get; } | Gets the communication records. | | Count { get; } | Gets the number of metadata properties. | | DeliveryAddressingRecordset { get; } | Gets the delivery addressing records. | | ExplanatoryRecordset { get; } | Gets the explanatory records. | | ExtensionRecords { get; } | Gets the private extension records. | | GeneralRecordset { get; } | Gets the general records. | | GeographicalRecordset { get; } | Gets the geographical records. | | IdentificationRecordset { get; } | Gets the identification records. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | OrganizationalRecordset { get; } | Gets the organizational records. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SecurityRecordset { get; } | Gets the security records. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | FilterByGroup(string) | Filters all vCard records by the group name passed as a parameter. For more information please see the method. | | FilterHomeTags() | Filters all vCard records marked with the HOME tag. | | FilterPreferred() | Filters the preferred records. | | FilterWorkTags() | Filters all vCard records marked with the WORK tag. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetAvailableGroups() | Gets the available group names. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example shows how to use vCard property filters. ```csharp public static void Run() { using (Metadata metadata = new Metadata(Constants.InputVcf)) { var root = metadata.GetRootPackage(); foreach (var vCard in root.VCardPackage.Cards) { // Print most preferred work phone numbers and work emails var filtered = vCard.FilterWorkTags().FilterPreferred(); PrintArray(filtered.CommunicationRecordset.Telephones); PrintArray(filtered.CommunicationRecordset.Emails); } } } private static void PrintArray(string[] values) { if (values != null) { foreach (string value in values) { Console.WriteLine(value); } } } ``` ### CalendarRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/calendarrecordset.md #### VCardCard.CalendarRecordset property Gets the calendar records. ```csharp public VCardCalendarRecordset CalendarRecordset { get; } ``` ##### Property Value The calendar records. ### CommunicationRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/communicationrecordset.md #### VCardCard.CommunicationRecordset property Gets the communication records. ```csharp public VCardCommunicationRecordset CommunicationRecordset { get; } ``` ##### Property Value The communication records. ### DeliveryAddressingRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/deliveryaddressingrecordset.md #### VCardCard.DeliveryAddressingRecordset property Gets the delivery addressing records. ```csharp public VCardDeliveryAddressingRecordset DeliveryAddressingRecordset { get; } ``` ##### Property Value The delivery addressing records. ### ExplanatoryRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/explanatoryrecordset.md #### VCardCard.ExplanatoryRecordset property Gets the explanatory records. ```csharp public VCardExplanatoryRecordset ExplanatoryRecordset { get; } ``` ##### Property Value The explanatory records. ### ExtensionRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/extensionrecords.md #### VCardCard.ExtensionRecords property Gets the private extension records. ```csharp public VCardTextRecord[] ExtensionRecords { get; } ``` ##### Property Value The private extension records. ### FilterByGroup Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/filterbygroup.md #### VCardCard.FilterByGroup method Filters all vCard records by the group name passed as a parameter. For more information please see the method. ```csharp public VCardCard FilterByGroup(string groupName) ``` | Parameter | Type | Description | | --- | --- | --- | | groupName | String | The name of the group. | ##### Return Value The filtered vCard instance. ### FilterHomeTags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/filterhometags.md #### VCardCard.FilterHomeTags method Filters all vCard records marked with the HOME tag. ```csharp public VCardCard FilterHomeTags() ``` ##### Return Value The filtered vCard instance. ### FilterPreferred Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/filterpreferred.md #### VCardCard.FilterPreferred method Filters the preferred records. ```csharp public VCardCard FilterPreferred() ``` ##### Return Value The filtered vCard instance. ### FilterWorkTags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/filterworktags.md #### VCardCard.FilterWorkTags method Filters all vCard records marked with the WORK tag. ```csharp public VCardCard FilterWorkTags() ``` ##### Return Value Filtered vCard instance. ### GeneralRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/generalrecordset.md #### VCardCard.GeneralRecordset property Gets the general records. ```csharp public VCardGeneralRecordset GeneralRecordset { get; } ``` ##### Property Value The general records. ### GeographicalRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/geographicalrecordset.md #### VCardCard.GeographicalRecordset property Gets the geographical records. ```csharp public VCardGeographicalRecordset GeographicalRecordset { get; } ``` ##### Property Value The geographical records. ### GetAvailableGroups Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/getavailablegroups.md #### VCardCard.GetAvailableGroups method Gets the available group names. ```csharp public string[] GetAvailableGroups() ``` ##### Return Value The available group names. ### IdentificationRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/identificationrecordset.md #### VCardCard.IdentificationRecordset property Gets the identification records. ```csharp public VCardIdentificationRecordset IdentificationRecordset { get; } ``` ##### Property Value The identification records. ### OrganizationalRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/organizationalrecordset.md #### VCardCard.OrganizationalRecordset property Gets the organizational records. ```csharp public VCardOrganizationalRecordset OrganizationalRecordset { get; } ``` ##### Property Value The organizational records. ### SecurityRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcard/securityrecordset.md #### VCardCard.SecurityRecordset property Gets the security records. ```csharp public VCardSecurityRecordset SecurityRecordset { get; } ``` ##### Property Value The security records. ### VCardCommunicationRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset.md #### VCardCommunicationRecordset class Represents a set of Communication vCard records. These properties describe information about how to communicate with the object the vCard represents. ```csharp public class VCardCommunicationRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | EmailRecords { get; } | Gets the electronic mail addresses for communication with the object. | | Emails { get; } | Gets the electronic mail addresses for communication with the object. | | ImppEntries { get; } | Gets the URIs for instant messaging and presence protocol communications with the object. | | ImppRecords { get; } | Gets the URIs for instant messaging and presence protocol communications with the object. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageRecords { get; } | Gets the languages that may be used for contacting the object. | | Languages { get; } | Gets the languages that may be used for contacting the object. | | Mailer { get; } | Gets the type of the electronic mail software that is used by the individual associated with the vCard. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TelephoneRecords { get; } | Gets the telephone numbers for telephony communication with the object. | | Telephones { get; } | Gets the telephone numbers for telephony communication with the object. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### EmailRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/emailrecords.md #### VCardCommunicationRecordset.EmailRecords property Gets the electronic mail addresses for communication with the object. ```csharp public VCardTextRecord[] EmailRecords { get; } ``` ##### Property Value The electronic mail addresses array for communication with the object. ### Emails Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/emails.md #### VCardCommunicationRecordset.Emails property Gets the electronic mail addresses for communication with the object. ```csharp public string[] Emails { get; } ``` ##### Property Value The electronic mail addresses array for communication with the object. ##### Remarks This property is a simplified version of `EmailRecords`. ### ImppEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/imppentries.md #### VCardCommunicationRecordset.ImppEntries property Gets the URIs for instant messaging and presence protocol communications with the object. ```csharp public string[] ImppEntries { get; } ``` ##### Property Value The URIs for instant messaging and presence protocol communications with the object. ##### Remarks This property is a simplified version of `ImppRecords`. ### ImppRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/impprecords.md #### VCardCommunicationRecordset.ImppRecords property Gets the URIs for instant messaging and presence protocol communications with the object. ```csharp public VCardTextRecord[] ImppRecords { get; } ``` ##### Property Value The URIs for instant messaging and presence protocol communications with the object. ### LanguageRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/languagerecords.md #### VCardCommunicationRecordset.LanguageRecords property Gets the languages that may be used for contacting the object. ```csharp public VCardTextRecord[] LanguageRecords { get; } ``` ##### Property Value The languages that may be used for contacting the object. ### Languages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/languages.md #### VCardCommunicationRecordset.Languages property Gets the languages that may be used for contacting the object. ```csharp public string[] Languages { get; } ``` ##### Property Value The languages that may be used for contacting the object. ##### Remarks This property is a simplified version of `LanguageRecords`. ### Mailer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/mailer.md #### VCardCommunicationRecordset.Mailer property Gets the type of the electronic mail software that is used by the individual associated with the vCard. ```csharp public string Mailer { get; } ``` ##### Property Value The type of the electronic mail software that is used by the individual associated with the vCard ### TelephoneRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/telephonerecords.md #### VCardCommunicationRecordset.TelephoneRecords property Gets the telephone numbers for telephony communication with the object. ```csharp public VCardTextRecord[] TelephoneRecords { get; } ``` ##### Property Value The telephone numbers for telephony communication with the object. ### Telephones Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/telephones.md #### VCardCommunicationRecordset.Telephones property Gets the telephone numbers for telephony communication with the object. ```csharp public string[] Telephones { get; } ``` ##### Property Value The telephone numbers for telephony communication with the object. ##### Remarks This property is a simplified version of `TelephoneRecords`. ### VCardContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcontenttype.md #### VCardContentType enumeration Defines vCard record content types. ```csharp public enum VCardContentType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Custom | `0` | The custom content type. | | Text | `1` | The text content type. | | Binary | `2` | The binary content type. | | DateTime | `3` | The date time content type. | | Agent | `4` | The agent content type. | ### VCardCustomRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcustomrecord.md #### VCardCustomRecord class Represents vCard custom record metadata class. ```csharp public class VCardCustomRecord : VCardRecord ``` #### Properties | Name | Description | | --- | --- | | AltIdParameter { get; } | Gets the alternative representations parameter value. | | AnonymParameters { get; } | Gets the anonymous parameters. | | override ContentType { get; } | Gets the content type of record. | | Count { get; } | Gets the number of metadata properties. | | EncodingParameter { get; } | Gets the encoding parameter value. | | Group { get; } | Gets the grouping value. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageParameter { get; } | Gets the language parameter value. | | MetadataType { get; } | Gets the metadata type. | | PrefParameter { get; } | Gets the preferred parameter. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TypeName { get; } | Gets the type of the record. | | TypeParameters { get; } | Gets the type parameter values. | | Value { get; } | Gets the record value. | | ValueParameters { get; } | Gets the value parameters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/contenttype.md #### VCardCustomRecord.ContentType property Gets the content type of record. ```csharp public override VCardContentType ContentType { get; } ``` ##### Property Value The content type of record. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/value.md #### VCardCustomRecord.Value property Gets the record value. ```csharp public string Value { get; } ``` ##### Property Value The record value. ### VCardDateTimeRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord.md #### VCardDateTimeRecord class Represents vCard date time record metadata class. ```csharp public class VCardDateTimeRecord : VCardRecord ``` #### Properties | Name | Description | | --- | --- | | AltIdParameter { get; } | Gets the alternative representations parameter value. | | AnonymParameters { get; } | Gets the anonymous parameters. | | override ContentType { get; } | Gets the content type of record. | | Count { get; } | Gets the number of metadata properties. | | EncodingParameter { get; } | Gets the encoding parameter value. | | Group { get; } | Gets the grouping value. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageParameter { get; } | Gets the language parameter value. | | MetadataType { get; } | Gets the metadata type. | | PrefParameter { get; } | Gets the preferred parameter. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TypeName { get; } | Gets the type of the record. | | TypeParameters { get; } | Gets the type parameter values. | | Value { get; } | Gets the record value. | | ValueParameters { get; } | Gets the value parameters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/contenttype.md #### VCardDateTimeRecord.ContentType property Gets the content type of record. ```csharp public override VCardContentType ContentType { get; } ``` ##### Property Value The content type of record. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/value.md #### VCardDateTimeRecord.Value property Gets the record value. ```csharp public DateTime Value { get; } ``` ##### Property Value The record value. ### VCardDeliveryAddressingRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset.md #### VCardDeliveryAddressingRecordset class Represents a set of Delivery Addressing vCard records. These types are concerned with information related to the delivery addressing or label for the vCard object. ```csharp public class VCardDeliveryAddressingRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | Addresses { get; } | Gets the components of the delivery address of the object. | | AddressRecords { get; } | Gets the components of the delivery address of the object. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LabelRecords { get; } | Gets an array containing the formatted text corresponding to delivery address of the object. | | Labels { get; } | Gets an array containing the formatted text corresponding to delivery address of the object. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Addresses Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/addresses.md #### VCardDeliveryAddressingRecordset.Addresses property Gets the components of the delivery address of the object. ```csharp public string[] Addresses { get; } ``` ##### Property Value The components of the delivery address of the object. ##### Remarks This property is a simplified version of `AddressRecords`. ### AddressRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/addressrecords.md #### VCardDeliveryAddressingRecordset.AddressRecords property Gets the components of the delivery address of the object. ```csharp public VCardTextRecord[] AddressRecords { get; } ``` ##### Property Value The components of the delivery address of the object. ### LabelRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/labelrecords.md #### VCardDeliveryAddressingRecordset.LabelRecords property Gets an array containing the formatted text corresponding to delivery address of the object. ```csharp public VCardTextRecord[] LabelRecords { get; } ``` ##### Property Value An array containing the formatted text corresponding to delivery address of the object. ### Labels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/labels.md #### VCardDeliveryAddressingRecordset.Labels property Gets an array containing the formatted text corresponding to delivery address of the object. ```csharp public string[] Labels { get; } ``` ##### Property Value An array containing the formatted text corresponding to delivery address of the object. ##### Remarks This property is a simplified version of `LabelRecords`. ### VCardExplanatoryRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset.md #### VCardExplanatoryRecordset class Represents a set of Explanatory vCard records. These properties are concerned with additional explanations, such as that related to informational notes or revisions specific to the vCard. ```csharp public class VCardExplanatoryRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | BinarySounds { get; } | Gets the digital sound content information that annotates some aspects of the vCard. | | Categories { get; } | Gets the application category information about the vCard, also known as "tags". | | CategoryRecords { get; } | Gets the application category information about the vCard, also known as "tags". | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NoteRecords { get; } | Gets the supplemental information or comments that are associated with the vCard. | | Notes { get; } | Gets the supplemental information or comments that are associated with the vCard. | | PidIdentifierRecords { get; } | Gets the global meaning of the local PID source identifier. | | PidIdentifiers { get; } | Gets the global meaning of the local PID source identifier. | | ProductIdentifier { get; } | Gets the identifier of the product that created the vCard object. | | ProductIdentifierRecord { get; } | Gets the identifier of the product that created the vCard object. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Revision { get; } | Gets the revision information about the current vCard. | | SortString { get; } | Gets the family name or given name text to be used for national-language-specific sorting of the `FormattedNames` and `Name` types. | | SoundBinaryRecords { get; } | Gets the digital sound content information that annotates some aspects of the vCard. | | SoundRecords { get; } | Gets the digital sound content information that annotates some aspects of the vCard. | | SoundUriRecords { get; } | Gets the digital sound content information that annotates some aspects of the vCard. | | Uid { get; } | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | UidRecord { get; } | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | UriSounds { get; } | Gets the digital sound content information that annotates some aspects of the vCard. | | UrlRecords { get; } | Gets an array of URLs pointing to websites that represent the person in some way. | | Urls { get; } | Gets an array of URLs pointing to websites that represent the person in some way. | | Version { get; } | Gets the version of the vCard specification. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BinarySounds Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/binarysounds.md #### VCardExplanatoryRecordset.BinarySounds property Gets the digital sound content information that annotates some aspects of the vCard. ```csharp public byte[][] BinarySounds { get; } ``` ##### Property Value The digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `SoundBinaryRecords`. ### Categories Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/categories.md #### VCardExplanatoryRecordset.Categories property Gets the application category information about the vCard, also known as "tags". ```csharp public string[] Categories { get; } ``` ##### Property Value The application category information about the vCard, also known as "tags". ##### Remarks This property is a simplified version of `CategoryRecords`. ### CategoryRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/categoryrecords.md #### VCardExplanatoryRecordset.CategoryRecords property Gets the application category information about the vCard, also known as "tags". ```csharp public VCardTextRecord[] CategoryRecords { get; } ``` ##### Property Value The application category information about the vCard, also known as "tags". ### NoteRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/noterecords.md #### VCardExplanatoryRecordset.NoteRecords property Gets the supplemental information or comments that are associated with the vCard. ```csharp public VCardTextRecord[] NoteRecords { get; } ``` ##### Property Value The supplemental information or comments that are associated with the vCard. ### Notes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/notes.md #### VCardExplanatoryRecordset.Notes property Gets the supplemental information or comments that are associated with the vCard. ```csharp public string[] Notes { get; } ``` ##### Property Value The supplemental information or comments that are associated with the vCard. ##### Remarks This property is a simplified version of `NoteRecords`. ### PidIdentifierRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/pididentifierrecords.md #### VCardExplanatoryRecordset.PidIdentifierRecords property Gets the global meaning of the local PID source identifier. ```csharp public VCardTextRecord[] PidIdentifierRecords { get; } ``` ##### Property Value The global meaning of the local PID source identifier. ### PidIdentifiers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/pididentifiers.md #### VCardExplanatoryRecordset.PidIdentifiers property Gets the global meaning of the local PID source identifier. ```csharp public string[] PidIdentifiers { get; } ``` ##### Property Value The global meaning of the local PID source identifier. ##### Remarks This property is a simplified version of `PidIdentifierRecords`. ### ProductIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/productidentifier.md #### VCardExplanatoryRecordset.ProductIdentifier property Gets the identifier of the product that created the vCard object. ```csharp public string ProductIdentifier { get; } ``` ##### Property Value The identifier of the product that created the vCard object ##### Remarks This property is a simplified version of `ProductIdentifierRecord`. ### ProductIdentifierRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/productidentifierrecord.md #### VCardExplanatoryRecordset.ProductIdentifierRecord property Gets the identifier of the product that created the vCard object. ```csharp public VCardTextRecord ProductIdentifierRecord { get; } ``` ##### Property Value The identifier of the product that created the vCard object ### Revision Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/revision.md #### VCardExplanatoryRecordset.Revision property Gets the revision information about the current vCard. ```csharp public DateTime? Revision { get; } ``` ##### Property Value The revision information about the current vCard. ### SortString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/sortstring.md #### VCardExplanatoryRecordset.SortString property Gets the family name or given name text to be used for national-language-specific sorting of the `FormattedNames` and `Name` types. ```csharp public string SortString { get; } ``` ##### Property Value The family name or given name text to be used for national-language-specific sorting of the `FormattedNames` and `Name` types. ### SoundBinaryRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/soundbinaryrecords.md #### VCardExplanatoryRecordset.SoundBinaryRecords property Gets the digital sound content information that annotates some aspects of the vCard. ```csharp public VCardBinaryRecord[] SoundBinaryRecords { get; } ``` ##### Property Value The digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `SoundRecords`. ### SoundRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/soundrecords.md #### VCardExplanatoryRecordset.SoundRecords property Gets the digital sound content information that annotates some aspects of the vCard. ```csharp public VCardRecord[] SoundRecords { get; } ``` ##### Property Value The digital sound content information that annotates some aspects of the vCard. ### SoundUriRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/soundurirecords.md #### VCardExplanatoryRecordset.SoundUriRecords property Gets the digital sound content information that annotates some aspects of the vCard. ```csharp public VCardTextRecord[] SoundUriRecords { get; } ``` ##### Property Value The digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `SoundRecords`. ### Uid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/uid.md #### VCardExplanatoryRecordset.Uid property Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. ```csharp public string Uid { get; } ``` ##### Property Value The value that represents a globally unique identifier corresponding. ##### Remarks This property is a simplified version of `UidRecord`. ### UidRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/uidrecord.md #### VCardExplanatoryRecordset.UidRecord property Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. ```csharp public VCardTextRecord UidRecord { get; } ``` ##### Property Value The value that represents a globally unique identifier corresponding. ### UriSounds Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/urisounds.md #### VCardExplanatoryRecordset.UriSounds property Gets the digital sound content information that annotates some aspects of the vCard. ```csharp public string[] UriSounds { get; } ``` ##### Property Value The digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `SoundUriRecords`. ### UrlRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/urlrecords.md #### VCardExplanatoryRecordset.UrlRecords property Gets an array of URLs pointing to websites that represent the person in some way. ```csharp public VCardTextRecord[] UrlRecords { get; } ``` ##### Property Value An array of URLs pointing to websites that represent the person in some way. ### Urls Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/urls.md #### VCardExplanatoryRecordset.Urls property Gets an array of URLs pointing to websites that represent the person in some way. ```csharp public string[] Urls { get; } ``` ##### Property Value An array of URLs pointing to websites that represent the person in some way. ##### Remarks This property is a simplified version of `UrlRecords`. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/version.md #### VCardExplanatoryRecordset.Version property Gets the version of the vCard specification. ```csharp public string Version { get; } ``` ##### Property Value The version of the vCard specification. ### VCardGeneralRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset.md #### VCardGeneralRecordset class Represents a set of General vCard records. ```csharp public class VCardGeneralRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Kind { get; } | Gets the kind of the object. | | MetadataType { get; } | Gets the metadata type. | | NameOfSource { get; } | Gets the textual representation of the SOURCE property. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SourceRecords { get; } | Gets the array of sources of directory information contained in the content type. | | Sources { get; } | Gets an array containing the sources of the directory information contained in the content type. | | XmlEntries { get; } | Gets an array containing extended XML-encoded vCard data. | | XmlRecords { get; } | Gets an array containing extended XML-encoded vCard data. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Kind Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/kind.md #### VCardGeneralRecordset.Kind property Gets the kind of the object. ```csharp public string Kind { get; } ``` ##### Property Value The kind of object. ### NameOfSource Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/nameofsource.md #### VCardGeneralRecordset.NameOfSource property Gets the textual representation of the SOURCE property. ```csharp public string NameOfSource { get; } ``` ##### Property Value The textual representation of the SOURCE property. ### SourceRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/sourcerecords.md #### VCardGeneralRecordset.SourceRecords property Gets the array of sources of directory information contained in the content type. ```csharp public VCardTextRecord[] SourceRecords { get; } ``` ##### Property Value The array of sources of directory information contained in the content type. ### Sources Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/sources.md #### VCardGeneralRecordset.Sources property Gets an array containing the sources of the directory information contained in the content type. ```csharp public string[] Sources { get; } ``` ##### Property Value An array containing the sources of the directory information contained in the content type. ##### Remarks This property is a simplified version of `SourceRecords`. ### XmlEntries Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/xmlentries.md #### VCardGeneralRecordset.XmlEntries property Gets an array containing extended XML-encoded vCard data. ```csharp public string[] XmlEntries { get; } ``` ##### Property Value An array of extended XML-encoded vCard data. ##### Remarks This property is a simplified version of `XmlRecords`. ### XmlRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/xmlrecords.md #### VCardGeneralRecordset.XmlRecords property Gets an array containing extended XML-encoded vCard data. ```csharp public VCardTextRecord[] XmlRecords { get; } ``` ##### Property Value An array containing extended XML-encoded vCard data. ### VCardGeographicalRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset.md #### VCardGeographicalRecordset class Represents a set of Geographical vCard records. These properties are concerned with information associated with geographical positions or regions associated with the object the vCard represents. ```csharp public class VCardGeographicalRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | GeographicPositionRecords { get; } | Gets the information related to the global positioning of the object. | | GeographicPositions { get; } | Gets the information related to the global positioning of the object. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TimeZoneRecords { get; } | Gets the time zones of the object. | | TimeZones { get; } | Gets the time zones of the object. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### GeographicPositionRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/geographicpositionrecords.md #### VCardGeographicalRecordset.GeographicPositionRecords property Gets the information related to the global positioning of the object. ```csharp public VCardTextRecord[] GeographicPositionRecords { get; } ``` ##### Property Value The information related to the global positioning of the object. ### GeographicPositions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/geographicpositions.md #### VCardGeographicalRecordset.GeographicPositions property Gets the information related to the global positioning of the object. ```csharp public string[] GeographicPositions { get; } ``` ##### Property Value The information related to the global positioning of the object. ##### Remarks This property is a simplified version of `GeographicPositionRecords`. ### TimeZoneRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/timezonerecords.md #### VCardGeographicalRecordset.TimeZoneRecords property Gets the time zones of the object. ```csharp public VCardTextRecord[] TimeZoneRecords { get; } ``` ##### Property Value The time zones of the object. ### TimeZones Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/timezones.md #### VCardGeographicalRecordset.TimeZones property Gets the time zones of the object. ```csharp public string[] TimeZones { get; } ``` ##### Property Value The time zones of the object. ##### Remarks This property is a simplified version of `TimeZoneRecords`. ### VCardIdentificationRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset.md #### VCardIdentificationRecordset class Represents a set of Identification vCard records. These types are used to capture information associated with the identification and naming of the entity associated with the vCard. ```csharp public class VCardIdentificationRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | AnniversaryDateTimeRecord { get; } | Gets the date of marriage represented as a single date-and-or-time value. | | AnniversaryRecord { get; } | Gets the date of marriage, or equivalent, of the object. | | AnniversaryTextRecord { get; } | Gets the date of marriage represented as a single text value. | | BinaryPhotos { get; } | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | BirthdateDateTimeRecord { get; } | Gets the birth date of the object. | | BirthdateRecords { get; } | Gets an array containing the birth date of the object in different representations. | | BirthdateTextRecords { get; } | Gets an array containing the birth date of the object in different text representations. | | Count { get; } | Gets the number of metadata properties. | | DateTimeAnniversary { get; } | Gets the date of marriage represented as a single date-and-or-time value. | | DateTimeBirthdate { get; } | Gets the birth date of the object. | | FormattedNameRecords { get; } | Gets an array containing the formatted text corresponding to the name of the object. | | FormattedNames { get; } | Gets an array containing the formatted text corresponding to the name of the object. | | Gender { get; } | Gets the components of the sex and gender identity of the object. | | GenderRecord { get; } | Gets the components of the sex and gender identity of the object. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the components of the name of the object. | | NameRecord { get; } | Gets the components of the name of the object. | | NicknameRecords { get; } | Gets an array containing the text corresponding to the nickname of the object. | | Nicknames { get; } | Gets an array containing the text corresponding to the nickname of the object. | | PhotoBinaryRecords { get; } | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | PhotoRecords { get; } | Gets an array containing the image or photograph information that annotates some aspects of the object. | | PhotoUriRecords { get; } | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TextAnniversary { get; } | Gets the date of marriage represented as a single text value. | | TextBirthdates { get; } | Gets an array containing the birth date of the object in different text representations. | | UriPhotos { get; } | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AnniversaryDateTimeRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/anniversarydatetimerecord.md #### VCardIdentificationRecordset.AnniversaryDateTimeRecord property Gets the date of marriage represented as a single date-and-or-time value. ```csharp public VCardDateTimeRecord AnniversaryDateTimeRecord { get; } ``` ##### Property Value The date of marriage represented as a single date-and-or-time value. ##### Remarks This property is a simplified version of `AnniversaryRecord`. ### AnniversaryRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/anniversaryrecord.md #### VCardIdentificationRecordset.AnniversaryRecord property Gets the date of marriage, or equivalent, of the object. ```csharp public VCardRecord AnniversaryRecord { get; } ``` ##### Property Value The date of marriage, or equivalent, of the object. ### AnniversaryTextRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/anniversarytextrecord.md #### VCardIdentificationRecordset.AnniversaryTextRecord property Gets the date of marriage represented as a single text value. ```csharp public VCardTextRecord AnniversaryTextRecord { get; } ``` ##### Property Value The date of marriage represented as a single text value. ##### Remarks This property is a simplified version of `AnniversaryRecord`. ### BinaryPhotos Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/binaryphotos.md #### VCardIdentificationRecordset.BinaryPhotos property Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. ```csharp public byte[][] BinaryPhotos { get; } ``` ##### Property Value An array containing the image or photograph information represented as binary data that annotates some aspects of the object. ##### Remarks This property is a simplified version of `PhotoBinaryRecords`. ### BirthdateDateTimeRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/birthdatedatetimerecord.md #### VCardIdentificationRecordset.BirthdateDateTimeRecord property Gets the birth date of the object. ```csharp public VCardDateTimeRecord BirthdateDateTimeRecord { get; } ``` ##### Property Value The birth date of the object. ##### Remarks This property is a simplified version of `BirthdateRecords`. ### BirthdateRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/birthdaterecords.md #### VCardIdentificationRecordset.BirthdateRecords property Gets an array containing the birth date of the object in different representations. ```csharp public VCardRecord[] BirthdateRecords { get; } ``` ##### Property Value An array containing the birth date of the object in different representations. ### BirthdateTextRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/birthdatetextrecords.md #### VCardIdentificationRecordset.BirthdateTextRecords property Gets an array containing the birth date of the object in different text representations. ```csharp public VCardTextRecord[] BirthdateTextRecords { get; } ``` ##### Property Value An array containing the birth date of the object in different text representations. ##### Remarks This property is a simplified version of `BirthdateRecords`. ### DateTimeAnniversary Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/datetimeanniversary.md #### VCardIdentificationRecordset.DateTimeAnniversary property Gets the date of marriage represented as a single date-and-or-time value. ```csharp public DateTime? DateTimeAnniversary { get; } ``` ##### Property Value The date of marriage represented as a single date-and-or-time value. ##### Remarks This property is a simplified version of `AnniversaryDateTimeRecord`. ### DateTimeBirthdate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/datetimebirthdate.md #### VCardIdentificationRecordset.DateTimeBirthdate property Gets the birth date of the object. ```csharp public DateTime? DateTimeBirthdate { get; } ``` ##### Property Value The birth date of the object. ##### Remarks This property is a simplified version of `BirthdateDateTimeRecord`. ### FormattedNameRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/formattednamerecords.md #### VCardIdentificationRecordset.FormattedNameRecords property Gets an array containing the formatted text corresponding to the name of the object. ```csharp public VCardTextRecord[] FormattedNameRecords { get; } ``` ##### Property Value An array containing the formatted text corresponding to the name of the object. ### FormattedNames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/formattednames.md #### VCardIdentificationRecordset.FormattedNames property Gets an array containing the formatted text corresponding to the name of the object. ```csharp public string[] FormattedNames { get; } ``` ##### Property Value An array containing the formatted text corresponding to the name of the object. ##### Remarks This property is a simplified version of `FormattedNameRecords`. ### Gender Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/gender.md #### VCardIdentificationRecordset.Gender property Gets the components of the sex and gender identity of the object. ```csharp public string Gender { get; } ``` ##### Property Value The components of the sex and gender identity of the object. ##### Remarks This property is a simplified version of `GenderRecord`. ### GenderRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/genderrecord.md #### VCardIdentificationRecordset.GenderRecord property Gets the components of the sex and gender identity of the object. ```csharp public VCardTextRecord GenderRecord { get; } ``` ##### Property Value The components of the sex and gender identity of the object. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/name.md #### VCardIdentificationRecordset.Name property Gets the components of the name of the object. ```csharp public string Name { get; } ``` ##### Property Value The components of the name of the object. ##### Remarks This property is a simplified version of `NameRecord`. ### NameRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/namerecord.md #### VCardIdentificationRecordset.NameRecord property Gets the components of the name of the object. ```csharp public VCardTextRecord NameRecord { get; } ``` ##### Property Value The components of the name of the object. ### NicknameRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/nicknamerecords.md #### VCardIdentificationRecordset.NicknameRecords property Gets an array containing the text corresponding to the nickname of the object. ```csharp public VCardTextRecord[] NicknameRecords { get; } ``` ##### Property Value An array containing the text corresponding to the nickname of the object. ### Nicknames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/nicknames.md #### VCardIdentificationRecordset.Nicknames property Gets an array containing the text corresponding to the nickname of the object. ```csharp public string[] Nicknames { get; } ``` ##### Property Value An array containing the text corresponding to the nickname of the object. ##### Remarks This property is a simplified version of `NicknameRecords`. ### PhotoBinaryRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/photobinaryrecords.md #### VCardIdentificationRecordset.PhotoBinaryRecords property Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. ```csharp public VCardBinaryRecord[] PhotoBinaryRecords { get; } ``` ##### Property Value An array containing the image or photograph information represented as binary data that annotates some aspects of the object. ##### Remarks This property is a simplified version of `PhotoRecords`. ### PhotoRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/photorecords.md #### VCardIdentificationRecordset.PhotoRecords property Gets an array containing the image or photograph information that annotates some aspects of the object. ```csharp public VCardRecord[] PhotoRecords { get; } ``` ##### Property Value An array containing the image or photograph information that annotates some aspects of the object. ### PhotoUriRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/photourirecords.md #### VCardIdentificationRecordset.PhotoUriRecords property Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. ```csharp public VCardTextRecord[] PhotoUriRecords { get; } ``` ##### Property Value An array containing the image or photograph information represented by URIs that annotates some aspects of the object. ##### Remarks This property is a simplified version of `PhotoRecords`. ### TextAnniversary Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/textanniversary.md #### VCardIdentificationRecordset.TextAnniversary property Gets the date of marriage represented as a single text value. ```csharp public string TextAnniversary { get; } ``` ##### Property Value The date of marriage represented as a single text value. ##### Remarks This property is a simplified version of `AnniversaryTextRecord`. ### TextBirthdates Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/textbirthdates.md #### VCardIdentificationRecordset.TextBirthdates property Gets an array containing the birth date of the object in different text representations. ```csharp public string[] TextBirthdates { get; } ``` ##### Property Value An array containing the birth date of the object in different text representations. ##### Remarks This property is a simplified version of `BirthdateTextRecords`. ### UriPhotos Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/uriphotos.md #### VCardIdentificationRecordset.UriPhotos property Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. ```csharp public string[] UriPhotos { get; } ``` ##### Property Value An array containing the image or photograph information represented by URIs that annotates some aspects of the object. ##### Remarks This property is a simplified version of `PhotoUriRecords`. ### VCardOrganizationalRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset.md #### VCardOrganizationalRecordset class Represents a set of Organizational vCard records. These properties are concerned with information associated with characteristics of the organization or organizational units of the object that the vCard represents. ```csharp public class VCardOrganizationalRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | AgentObjectRecord { get; } | Gets the information about another person who will act on behalf of the vCard object. | | AgentRecords { get; } | Gets the information about another person who will act on behalf of the vCard object. | | AgentUriRecords { get; } | Gets the information about another person who will act on behalf of the vCard object. | | BinaryLogos { get; } | Gets the graphic images of the logo associated with the object. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LogoBinaryRecords { get; } | Gets the graphic images of the logo associated with the object. | | LogoRecords { get; } | Gets the graphic images of the logo associated with the object. | | LogoUriRecords { get; } | Gets the URIs of the graphic images of the logo associated with the object. | | MemberRecords { get; } | Gets the members in the group this vCard represents. | | Members { get; } | Gets the members in the group this vCard represents. | | MetadataType { get; } | Gets the metadata type. | | ObjectAgent { get; } | Gets the information about another person who will act on behalf of the vCard object. | | OrganizationNameRecords { get; } | Gets the organizational names and units associated with the object. | | OrganizationNames { get; } | Gets the organizational names and units associated with the object. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RelationshipRecords { get; } | Gets the relationships between another entity and the entity represented by this vCard. | | Relationships { get; } | Gets the relationships between another entity and the entity represented by this vCard. | | RoleRecords { get; } | Gets the functions or parts played in a particular situation by the object. | | Roles { get; } | Gets the functions or parts played in a particular situation by the object. | | TitleRecords { get; } | Gets the positions or jobs of the object. | | Titles { get; } | Gets the positions or jobs of the object. | | UriAgents { get; } | Gets the information about another person who will act on behalf of the vCard object. | | UriLogos { get; } | Gets the URIs of the graphic images of the logo associated with the object. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AgentObjectRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/agentobjectrecord.md #### VCardOrganizationalRecordset.AgentObjectRecord property Gets the information about another person who will act on behalf of the vCard object. ```csharp public VCardAgentRecord AgentObjectRecord { get; } ``` ##### Property Value The information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `AgentRecords`. ### AgentRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/agentrecords.md #### VCardOrganizationalRecordset.AgentRecords property Gets the information about another person who will act on behalf of the vCard object. ```csharp public VCardRecord[] AgentRecords { get; } ``` ##### Property Value The information about another person who will act on behalf of the vCard object. ### AgentUriRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/agenturirecords.md #### VCardOrganizationalRecordset.AgentUriRecords property Gets the information about another person who will act on behalf of the vCard object. ```csharp public VCardTextRecord[] AgentUriRecords { get; } ``` ##### Property Value The information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `AgentRecords`. ### BinaryLogos Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/binarylogos.md #### VCardOrganizationalRecordset.BinaryLogos property Gets the graphic images of the logo associated with the object. ```csharp public byte[][] BinaryLogos { get; } ``` ##### Property Value The graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `LogoBinaryRecords`. ### LogoBinaryRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/logobinaryrecords.md #### VCardOrganizationalRecordset.LogoBinaryRecords property Gets the graphic images of the logo associated with the object. ```csharp public VCardBinaryRecord[] LogoBinaryRecords { get; } ``` ##### Property Value The graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `LogoRecords`. ### LogoRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/logorecords.md #### VCardOrganizationalRecordset.LogoRecords property Gets the graphic images of the logo associated with the object. ```csharp public VCardRecord[] LogoRecords { get; } ``` ##### Property Value The graphic images of the logo associated with the object. ### LogoUriRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/logourirecords.md #### VCardOrganizationalRecordset.LogoUriRecords property Gets the URIs of the graphic images of the logo associated with the object. ```csharp public VCardTextRecord[] LogoUriRecords { get; } ``` ##### Property Value The URIs of the graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `LogoRecords`. ### MemberRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/memberrecords.md #### VCardOrganizationalRecordset.MemberRecords property Gets the members in the group this vCard represents. ```csharp public VCardTextRecord[] MemberRecords { get; } ``` ##### Property Value The members in the group this vCard represents. ### Members Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/members.md #### VCardOrganizationalRecordset.Members property Gets the members in the group this vCard represents. ```csharp public string[] Members { get; } ``` ##### Property Value The members in the group this vCard represents. ##### Remarks This property is a simplified version of `MemberRecords`. ### ObjectAgent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/objectagent.md #### VCardOrganizationalRecordset.ObjectAgent property Gets the information about another person who will act on behalf of the vCard object. ```csharp public VCardCard ObjectAgent { get; } ``` ##### Property Value The information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `AgentObjectRecord`. ### OrganizationNameRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/organizationnamerecords.md #### VCardOrganizationalRecordset.OrganizationNameRecords property Gets the organizational names and units associated with the object. ```csharp public VCardTextRecord[] OrganizationNameRecords { get; } ``` ##### Property Value The organizational names and units associated with the object. ### OrganizationNames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/organizationnames.md #### VCardOrganizationalRecordset.OrganizationNames property Gets the organizational names and units associated with the object. ```csharp public string[] OrganizationNames { get; } ``` ##### Property Value The organizational names and units associated with the object. ##### Remarks This property is a simplified version of `OrganizationNameRecords`. ### RelationshipRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/relationshiprecords.md #### VCardOrganizationalRecordset.RelationshipRecords property Gets the relationships between another entity and the entity represented by this vCard. ```csharp public VCardTextRecord[] RelationshipRecords { get; } ``` ##### Property Value The relationships between another entity and the entity represented by this vCard. ### Relationships Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/relationships.md #### VCardOrganizationalRecordset.Relationships property Gets the relationships between another entity and the entity represented by this vCard. ```csharp public string[] Relationships { get; } ``` ##### Property Value The relationships between another entity and the entity represented by this vCard. ##### Remarks This property is a simplified version of `RelationshipRecords`. ### RoleRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/rolerecords.md #### VCardOrganizationalRecordset.RoleRecords property Gets the functions or parts played in a particular situation by the object. ```csharp public VCardTextRecord[] RoleRecords { get; } ``` ##### Property Value The functions or parts played in a particular situation by the object. ### Roles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/roles.md #### VCardOrganizationalRecordset.Roles property Gets the functions or parts played in a particular situation by the object. ```csharp public string[] Roles { get; } ``` ##### Property Value The functions or parts played in a particular situation by the object. ##### Remarks This property is a simplified version of `TitleRecords`. ### TitleRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/titlerecords.md #### VCardOrganizationalRecordset.TitleRecords property Gets the positions or jobs of the object. ```csharp public VCardTextRecord[] TitleRecords { get; } ``` ##### Property Value The positions or jobs of the object. ### Titles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/titles.md #### VCardOrganizationalRecordset.Titles property Gets the positions or jobs of the object. ```csharp public string[] Titles { get; } ``` ##### Property Value The positions or jobs of the object. ##### Remarks This property is a simplified version of `TitleRecords`. ### UriAgents Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/uriagents.md #### VCardOrganizationalRecordset.UriAgents property Gets the information about another person who will act on behalf of the vCard object. ```csharp public string[] UriAgents { get; } ``` ##### Property Value The information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `AgentUriRecords`. ### UriLogos Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/urilogos.md #### VCardOrganizationalRecordset.UriLogos property Gets the URIs of the graphic images of the logo associated with the object. ```csharp public string[] UriLogos { get; } ``` ##### Property Value The URIs of the graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `LogoUriRecords`. ### VCardPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardpackage.md #### VCardPackage class Represents VCF (Virtual Contact File) electronic business card format metadata. ```csharp public sealed class VCardPackage : VCardBasePackage ``` #### Properties | Name | Description | | --- | --- | | Cards { get; } | Gets an array of the cards extracted from the file. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cards Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardpackage/cards.md #### VCardPackage.Cards property Gets an array of the cards extracted from the file. ```csharp public VCardCard[] Cards { get; } ``` ##### Property Value An array of the cards extracted from the file. ### VCardRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord.md #### VCardRecord class Represents abstract vCard record metadata class. ```csharp public abstract class VCardRecord : VCardBasePackage ``` #### Properties | Name | Description | | --- | --- | | AltIdParameter { get; } | Gets the alternative representations parameter value. | | AnonymParameters { get; } | Gets the anonymous parameters. | | abstract ContentType { get; } | Gets the content type of record. | | Count { get; } | Gets the number of metadata properties. | | EncodingParameter { get; } | Gets the encoding parameter value. | | Group { get; } | Gets the grouping value. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageParameter { get; } | Gets the language parameter value. | | MetadataType { get; } | Gets the metadata type. | | PrefParameter { get; } | Gets the preferred parameter. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TypeName { get; } | Gets the type of the record. | | TypeParameters { get; } | Gets the type parameter values. | | ValueParameters { get; } | Gets the value parameters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AltIdParameter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/altidparameter.md #### VCardRecord.AltIdParameter property Gets the alternative representations parameter value. ```csharp public string AltIdParameter { get; } ``` ##### Property Value The alternative representations parameter value. ##### Remarks Used to "tag" property instances as being alternative representations of the same logical property. ### AnonymParameters Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/anonymparameters.md #### VCardRecord.AnonymParameters property Gets the anonymous parameters. ```csharp public string[] AnonymParameters { get; } ``` ##### Property Value The anonymous parameters. ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/contenttype.md #### VCardRecord.ContentType property Gets the content type of record. ```csharp public abstract VCardContentType ContentType { get; } ``` ##### Property Value The content type of record. ### EncodingParameter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/encodingparameter.md #### VCardRecord.EncodingParameter property Gets the encoding parameter value. ```csharp public string EncodingParameter { get; } ``` ##### Property Value The encoding parameter value. ### Group Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/group.md #### VCardRecord.Group property Gets the grouping value. ```csharp public string Group { get; } ``` ##### Property Value The grouping value. ### LanguageParameter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/languageparameter.md #### VCardRecord.LanguageParameter property Gets the language parameter value. ```csharp public string LanguageParameter { get; } ``` ##### Property Value The language parameter value. ### PrefParameter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/prefparameter.md #### VCardRecord.PrefParameter property Gets the preferred parameter. ```csharp public int? PrefParameter { get; } ``` ##### Property Value The preferred parameter. ##### Remarks Used to indicate that the corresponding instance of a property is preferred by the vCard author. ### TypeName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/typename.md #### VCardRecord.TypeName property Gets the type of the record. ```csharp public string TypeName { get; } ``` ##### Property Value The type of the record. ### TypeParameters Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/typeparameters.md #### VCardRecord.TypeParameters property Gets the type parameter values. ```csharp public string[] TypeParameters { get; } ``` ##### Property Value The type parameter values. ##### Remarks The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ### ValueParameters Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecord/valueparameters.md #### VCardRecord.ValueParameters property Gets the value parameters. ```csharp public string[] ValueParameters { get; } ``` ##### Property Value The value parameters. ##### Remarks Used to identify the value type (data type) and format of the value. ### VCardRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrecordset.md #### VCardRecordset class Provides a base vCard record union class. ```csharp public class VCardRecordset : VCardBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### VCardRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrootpackage.md #### VCardRootPackage class Represents the root package allowing working with metadata in a VCard file. ```csharp public class VCardRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | VCardPackage { get; } | Gets the VCard metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to read metadata properties of a vCard file. ```csharp public static void Run() { using (Metadata metadata = new Metadata(Constants.InputVcf)) { var root = metadata.GetRootPackage(); foreach (var vCard in root.VCardPackage.Cards) { Console.WriteLine(vCard.IdentificationRecordset.Name); PrintArray(vCard.IdentificationRecordset.FormattedNames); PrintArray(vCard.CommunicationRecordset.Emails); PrintArray(vCard.CommunicationRecordset.Telephones); PrintArray(vCard.DeliveryAddressingRecordset.Addresses); // ... } } } private static void PrintArray(string[] values) { if (values != null) { foreach (string value in values) { Console.WriteLine(value); } } } ``` ### VCardPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardrootpackage/vcardpackage.md #### VCardRootPackage.VCardPackage property Gets the VCard metadata package. ```csharp public VCardPackage VCardPackage { get; } ``` ##### Property Value The VCard metadata package. ##### Examples This code sample demonstrates how to extract vCard fields along with descriptive parameters. ```csharp using (Metadata metadata = new Metadata(Constants.InputVcf)) { var root = metadata.GetRootPackage(); foreach (var vCard in root.VCardPackage.Cards) { if (vCard.IdentificationRecordset.PhotoUriRecords != null) { // Iterate all photos represented by URIs foreach (var photoUriRecord in vCard.IdentificationRecordset.PhotoUriRecords) { // Print the property value Console.WriteLine(photoUriRecord.Value); // Print some additional parameters of the property Console.WriteLine(photoUriRecord.ContentType); Console.WriteLine(photoUriRecord.MediaTypeParameter); if (photoUriRecord.TypeParameters != null) { foreach (string parameter in photoUriRecord.TypeParameters) { Console.WriteLine(parameter); } } Console.WriteLine(photoUriRecord.PrefParameter); } } } } ``` ### VCardSecurityRecordset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset.md #### VCardSecurityRecordset class Represents a set of Security vCard records. These properties are concerned with the security of communication pathways or access to the vCard. ```csharp public class VCardSecurityRecordset : VCardRecordset ``` #### Properties | Name | Description | | --- | --- | | AccessClassification { get; } | Gets the sensitivity of the information in the vCard. | | BinaryPublicKeys { get; } | Gets the public keys or authentication certificates associated with the object. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | PublicKeyBinaryRecords { get; } | Gets the public keys or authentication certificates associated with the object. | | PublicKeyRecords { get; } | Gets the public keys or authentication certificates associated with the object. | | PublicKeyUriRecords { get; } | Gets the public keys or authentication certificates associated with the object. | | UriPublicKeys { get; } | Gets the public keys or authentication certificates associated with the object. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AccessClassification Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/accessclassification.md #### VCardSecurityRecordset.AccessClassification property Gets the sensitivity of the information in the vCard. ```csharp public string AccessClassification { get; } ``` ##### Property Value The sensitivity of the information in the vCard. ### BinaryPublicKeys Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/binarypublickeys.md #### VCardSecurityRecordset.BinaryPublicKeys property Gets the public keys or authentication certificates associated with the object. ```csharp public byte[][] BinaryPublicKeys { get; } ``` ##### Property Value The public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `PublicKeyBinaryRecords`. ### PublicKeyBinaryRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/publickeybinaryrecords.md #### VCardSecurityRecordset.PublicKeyBinaryRecords property Gets the public keys or authentication certificates associated with the object. ```csharp public VCardBinaryRecord[] PublicKeyBinaryRecords { get; } ``` ##### Property Value The public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `PublicKeyRecords`. ### PublicKeyRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/publickeyrecords.md #### VCardSecurityRecordset.PublicKeyRecords property Gets the public keys or authentication certificates associated with the object. ```csharp public VCardRecord[] PublicKeyRecords { get; } ``` ##### Property Value The public keys or authentication certificates associated with the object. ### PublicKeyUriRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/publickeyurirecords.md #### VCardSecurityRecordset.PublicKeyUriRecords property Gets the public keys or authentication certificates associated with the object. ```csharp public VCardTextRecord[] PublicKeyUriRecords { get; } ``` ##### Property Value The public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `PublicKeyRecords`. ### UriPublicKeys Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/uripublickeys.md #### VCardSecurityRecordset.UriPublicKeys property Gets the public keys or authentication certificates associated with the object. ```csharp public string[] UriPublicKeys { get; } ``` ##### Property Value The public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `PublicKeyUriRecords`. ### VCardTextRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardtextrecord.md #### VCardTextRecord class Represents vCard text record metadata class. ```csharp public class VCardTextRecord : VCardRecord ``` #### Properties | Name | Description | | --- | --- | | AltIdParameter { get; } | Gets the alternative representations parameter value. | | AnonymParameters { get; } | Gets the anonymous parameters. | | CharsetParameter { get; } | Gets the charset parameter. | | override ContentType { get; } | Gets the content type of record. | | Count { get; } | Gets the number of metadata properties. | | EncodingParameter { get; } | Gets the encoding parameter value. | | Group { get; } | Gets the grouping value. | | IsQuotedPrintable { get; } | Gets a value indicating whether this instance is quoted printable string. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageParameter { get; } | Gets the language parameter value. | | MediaTypeParameter { get; } | Gets the media type parameter value. | | MetadataType { get; } | Gets the metadata type. | | PrefParameter { get; } | Gets the preferred parameter. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TypeName { get; } | Gets the type of the record. | | TypeParameters { get; } | Gets the type parameter values. | | Value { get; } | Gets the record value. | | ValueParameters { get; } | Gets the value parameters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetReadabilityValue(string) | Gets the readability value. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CharsetParameter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardtextrecord/charsetparameter.md #### VCardTextRecord.CharsetParameter property Gets the charset parameter. ```csharp public string CharsetParameter { get; } ``` ##### Property Value The charset parameter. ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardtextrecord/contenttype.md #### VCardTextRecord.ContentType property Gets the content type of record. ```csharp public override VCardContentType ContentType { get; } ``` ##### Property Value The content type of record. ### GetReadabilityValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardtextrecord/getreadabilityvalue.md #### VCardTextRecord.GetReadabilityValue method Gets the readability value. ```csharp public string GetReadabilityValue(string codePageName) ``` | Parameter | Type | Description | | --- | --- | --- | | codePageName | String | The using encoding code page name or null for ASCII encoding. | ##### Return Value The readability value. ### IsQuotedPrintable Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardtextrecord/isquotedprintable.md #### VCardTextRecord.IsQuotedPrintable property Gets a value indicating whether this instance is quoted printable string. ```csharp public bool IsQuotedPrintable { get; } ``` ##### Property Value `true` if this instance is quoted printable; otherwise, `false`. ### MediaTypeParameter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardtextrecord/mediatypeparameter.md #### VCardTextRecord.MediaTypeParameter property Gets the media type parameter value. ```csharp public string MediaTypeParameter { get; } ``` ##### Property Value The media type parameter value. ##### Remarks Used with properties whose value is a URI. It provides a hint to the vCard consumer application about the media type [RFC2046] of the resource identified by the URI. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.businesscard/vcardtextrecord/value.md #### VCardTextRecord.Value property Gets the record value. ```csharp public string Value { get; } ``` ##### Property Value The record value. ### GroupDocs.Metadata.Formats.Cad Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad.md The namespace contains classes for working with CAD (computer-aided design) formats. #### Classes | Class | Description | | --- | --- | | CadCustomPropertyPackage | Represents a collection of custom CAD metadata properties. | | CadPackage | Represents CAD (Computer-aided design) metadata. | | CadRootPackage | Represents the root package allowing working with metadata in a CAD drawing. | | DwgRootPackage | Represents the root package allowing working with metadata in a DWG drawing. | | DxfRootPackage | Represents the root package allowing working with metadata in a DXF drawing. | #### Enumeration | Enumeration | Description | | --- | --- | | CadAcadVersion | Defines AutoCAD drawing database version numbers. | ### CadAcadVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadacadversion.md #### CadAcadVersion enumeration Defines AutoCAD drawing database version numbers. ```csharp public enum CadAcadVersion ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Non-versioned. | | Ac1006 | `1` | AutoCAD drawing database R10. | | Ac1009 | `2` | AutoCAD drawing database R11 and R12. | | Ac1012 | `3` | AutoCAD drawing database R13. | | Ac1014 | `4` | AutoCAD drawing database R14. | | Ac1015 | `5` | AutoCAD drawing database AutoCAD 2000. | | Ac1018 | `6` | AutoCAD drawing database AutoCAD 2004. | | Ac1021 | `7` | AutoCAD drawing database AutoCAD 2007. | | Ac1024 | `8` | AutoCAD drawing database AutoCAD 2010. | | Ac1027 | `9` | AutoCAD drawing database AutoCAD 2013. | | Ac1032 | `10` | AutoCAD drawing database AutoCAD 2018. | ### CadCustomPropertyPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadcustompropertypackage.md #### CadCustomPropertyPackage class Represents a collection of custom CAD metadata properties. ```csharp public class CadCustomPropertyPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CadPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage.md #### CadPackage class Represents CAD (Computer-aided design) metadata. ```csharp public sealed class CadPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | AcadVersion { get; } | Gets the AutoCAD drawing database version number. | | Author { get; } | Gets the drawing author. | | Comments { get; } | Gets the user comments. | | Count { get; } | Gets the number of metadata properties. | | CreatedDateTime { get; } | Gets the date and time when the drawing was created. | | CustomProperties { get; } | Gets the package containing custom metadata properties. | | Height { get; } | Gets the drawing height. | | HyperlinkBase { get; } | Gets the hyperlink base. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; } | Gets the keywords. | | LastSavedBy { get; } | Gets the name of the last editor. | | MetadataType { get; } | Gets the metadata type. | | ModifiedDateTime { get; } | Gets the date and time when the drawing was modified. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RevisionNumber { get; } | Gets the revision number. | | Subject { get; } | Gets the subject. | | Title { get; } | Gets the title. | | Width { get; } | Gets the drawing width. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AcadVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/acadversion.md #### CadPackage.AcadVersion property Gets the AutoCAD drawing database version number. ```csharp public CadAcadVersion AcadVersion { get; } ``` ##### Property Value The AutoCAD drawing database version number. ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/author.md #### CadPackage.Author property Gets the drawing author. ```csharp public string Author { get; } ``` ##### Property Value The drawing author. ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/comments.md #### CadPackage.Comments property Gets the user comments. ```csharp public string Comments { get; } ``` ##### Property Value The user comments. ### CreatedDateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/createddatetime.md #### CadPackage.CreatedDateTime property Gets the date and time when the drawing was created. ```csharp public DateTime? CreatedDateTime { get; } ``` ##### Property Value The date and time when the drawing was created. ### CustomProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/customproperties.md #### CadPackage.CustomProperties property Gets the package containing custom metadata properties. ```csharp public CadCustomPropertyPackage CustomProperties { get; } ``` ##### Property Value The package containing custom metadata properties. ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/height.md #### CadPackage.Height property Gets the drawing height. ```csharp public int Height { get; } ``` ##### Property Value The drawing height. ### HyperlinkBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/hyperlinkbase.md #### CadPackage.HyperlinkBase property Gets the hyperlink base. ```csharp public string HyperlinkBase { get; } ``` ##### Property Value The hyperlink base. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/keywords.md #### CadPackage.Keywords property Gets the keywords. ```csharp public string Keywords { get; } ``` ##### Property Value The keywords. ### LastSavedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/lastsavedby.md #### CadPackage.LastSavedBy property Gets the name of the last editor. ```csharp public string LastSavedBy { get; } ``` ##### Property Value The name of the last editor. ### ModifiedDateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/modifieddatetime.md #### CadPackage.ModifiedDateTime property Gets the date and time when the drawing was modified. ```csharp public DateTime? ModifiedDateTime { get; } ``` ##### Property Value The date and time when the drawing was modified. ### RevisionNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/revisionnumber.md #### CadPackage.RevisionNumber property Gets the revision number. ```csharp public string RevisionNumber { get; } ``` ##### Property Value The revision number. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/subject.md #### CadPackage.Subject property Gets the subject. ```csharp public string Subject { get; } ``` ##### Property Value The subject. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/title.md #### CadPackage.Title property Gets the title. ```csharp public string Title { get; } ``` ##### Property Value The title. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadpackage/width.md #### CadPackage.Width property Gets the drawing width. ```csharp public int Width { get; } ``` ##### Property Value The drawing width. ### CadRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadrootpackage.md #### CadRootPackage class Represents the root package allowing working with metadata in a CAD drawing. ```csharp public abstract class CadRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | CadPackage { get; } | Gets the CAD metadata package. | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to read metadata of a CAD drawing. ```csharp using (Metadata metadata = new Metadata(Constants.InputDxf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.CadPackage.AcadVersion); Console.WriteLine(root.CadPackage.Author); Console.WriteLine(root.CadPackage.Comments); Console.WriteLine(root.CadPackage.CreatedDateTime); Console.WriteLine(root.CadPackage.HyperlinkBase); Console.WriteLine(root.CadPackage.Keywords); Console.WriteLine(root.CadPackage.LastSavedBy); Console.WriteLine(root.CadPackage.Title); // ... } ``` ### CadPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/cadrootpackage/cadpackage.md #### CadRootPackage.CadPackage property Gets the CAD metadata package. ```csharp public CadPackage CadPackage { get; } ``` ##### Property Value The CAD metadata package. ### DwgRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/dwgrootpackage.md #### DwgRootPackage class Represents the root package allowing working with metadata in a DWG drawing. ```csharp public class DwgRootPackage : CadRootPackage ``` #### Properties | Name | Description | | --- | --- | | CadPackage { get; } | Gets the CAD metadata package. | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DxfRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.cad/dxfrootpackage.md #### DxfRootPackage class Represents the root package allowing working with metadata in a DXF drawing. ```csharp public class DxfRootPackage : CadRootPackage ``` #### Properties | Name | Description | | --- | --- | | CadPackage { get; } | Gets the CAD metadata package. | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### GroupDocs.Metadata.Formats.Document Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document.md The namespace provides functionality intended to work with a variety of document formats such as spreadsheets, presentations, text processing formats, etc. #### Classes | Class | Description | | --- | --- | | DiagramPackage | Represents a native metadata package in a diagram format. | | DiagramRootPackage | Represents the root package intended to work with metadata in a diagram. | | DiagramTypePackage | Represents a metadata package containing diagram-specific file format information. | | DocumentPackage | Represents native metadata in an office document. | | DocumentRootPackage<TPackage> | Represents a root package for document formats such as PDF, WordProcessing, Spreadsheet, Presentation, etc. | | DocumentStatistics | Represents a set of document statistics. | | NoteInspectionPackage | Represents a metadata package exposing the internal structure of a note section. | | NotePage | Represents a page in a OneNote section. | | NoteRootPackage | Represents the root package intended to work with metadata in an electronic note file. | | PdfAnnotation | Represents an annotation in a PDF document. | | PdfAttachment | Represents an attachment in a PDF document. | | PdfBookmark | Represents a bookmark in a PDF document. | | PdfFormField | Represents a form field in a PDF document. | | PdfInspectionPackage | Contains information about PDF document parts that can be considered as metadata in some cases. | | PdfPackage | Represents native metadata in a PDF document. | | PdfRootPackage | Represents the root package allowing working with metadata in a PDF document. | | PdfTypePackage | Represents a metadata package containing PDF-specific file format information. | | PresentationComment | Represents a user comment in a presentation. | | PresentationInspectionPackage | Contains information about presentation parts that can be considered as metadata in some cases. | | PresentationPackage | Represents a native metadata package in a presentation. | | PresentationRootPackage | Represents the root package intended to work with metadata in a presentation. | | PresentationSlide | Represents a slide in a presentation. | | PresentationTypePackage | Represents a metadata package containing presentation-specific file format information. | | ProjectManagementPackage | Represents a native metadata package in a project management file. | | ProjectManagementRootPackage | Represents the root package intended to work with metadata in a project management format. | | SpreadsheetComment | Represents a user comment in a spreadsheet. | | SpreadsheetContentTypePackage | Represents a metadata package containing spreadsheet content type properties. | | SpreadsheetContentTypeProperty | Represents a content type property in a spreadsheet. | | SpreadsheetInspectionPackage | Contains information about spreadsheet parts that can be considered as metadata in some cases. | | SpreadsheetPackage | Represents a native metadata package in a spreadsheet. | | SpreadsheetRootPackage | Represents the root package allowing working with metadata in a spreadsheet. | | SpreadsheetSheet | Represents a sheet in a spreadsheet document. | | SpreadsheetTypePackage | Represents a metadata package containing spreadsheet-specific file format information. | | WordProcessingComment | Represents a comment in a word processing document. | | WordProcessingField | Represents a field in a word processing document. | | WordProcessingInspectionPackage | Contains information about document parts that can be considered as metadata in some cases. | | WordProcessingPackage | Represents a native metadata package in a word processing document. | | WordProcessingRevision | Represents a revision (tracked change) in a document. | | WordProcessingRootPackage | Represents the root package allowing working with metadata in a word processing document. | | WordProcessingTypePackage | Represents a metadata package containing document-specific file format information. | #### Enumeration | Enumeration | Description | | --- | --- | | DiagramFormat | Defines various diagram subformats. | | PdfFormat | Represents supported PDF format standards and versions. | | PresentationFormat | Defines various presentation subformats. | | SpreadsheetFormat | Defines various spreadsheet subformats. | | WordProcessingFormat | Defines various word processing document subformats. | | WordProcessingRevisionType | Specifies the type of the change being tracked by a revision. | ### DiagramFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagramformat.md #### DiagramFormat enumeration Defines various diagram subformats. ```csharp public enum DiagramFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The format is not recognized. | | Vdx | `1` | Represents the .VDX Visio format. Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/image/vdx/). | | Vsd | `2` | Represents the .VSD Visio format. VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Such drawings can contain visual objects such as visual objects, flow charts, UML diagram, information flow, organizational charts, software diagrams, network layout, database models, objects mapping and other similar information. Learn more about this file format [here](https://wiki.fileformat.com/image/vsd/). | | Vsdx | `3` | Represents the .VSDX Visio format. Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here](https://wiki.fileformat.com/image/vsdx/). | | Vss | `4` | Represents the .VSS Visio format. VSS are stencil files created with Microsoft Visio 2007 and earlier. A relatively new file format is .VSSX that was introduced with Microsoft Visio 2013. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here](https://wiki.fileformat.com/image/vss/). | | Vsx | `5` | Represents the .VSX Visio format. Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here](https://wiki.fileformat.com/image/vsx/). | ### DiagramPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage.md #### DiagramPackage class Represents a native metadata package in a diagram format. ```csharp public class DiagramPackage : DocumentPackage ``` #### Properties | Name | Description | | --- | --- | | AlternateNames { get; set; } | Gets or sets the alternate names for the document. Can be updated in VDX and VSX formats only. | | BuildNumberCreated { get; } | Gets the full build number of the instance used to create the document. | | BuildNumberEdited { get; } | Gets the build number of the instance last used to edit the document. | | Category { get; set; } | Gets or sets the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. | | Company { get; set; } | Gets or sets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters. | | Count { get; } | Gets the number of metadata properties. | | Creator { get; set; } | Gets or sets the person who created or last updated the file. The maximum length is 63 characters.. | | Description { get; set; } | Gets or sets a descriptive text string for the document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters. | | HyperlinkBase { get; set; } | Gets or sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters. | | Language { get; set; } | Gets or sets the language of the document. Can be updated in VSD and VSDX formats only. | | Manager { get; set; } | Gets or sets a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters. | | MetadataType { get; } | Gets the metadata type. | | PreviewPicture { get; set; } | Gets or sets the preview picture. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Subject { get; set; } | Gets or sets a user-defined text string that describes the contents of the document. Maximum length is 63 characters. | | Template { get; set; } | Gets or sets a string value specifying the file name of the template from which the document was created. | | TimeCreated { get; set; } | Gets or sets a date and time value indicating when the document was created. | | TimeEdited { get; } | Gets a date and time value indicating when the document was last edited. | | TimePrinted { get; } | Gets a date and time value indicating when the document was last printed. | | TimeSaved { get; } | Gets a date and time value indicating when the document was last saved. | | Title { get; set; } | Gets or sets a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties from the package. | | ClearBuiltInProperties() | Removes all built-in metadata properties. | | ClearCustomProperties() | Removes all custom metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes a writable metadata property by the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Adds or replaces the metadata property with the specified name. | | Set(string, DateTime) | Adds or replaces the metadata property with the specified name. | | Set(string, double) | Adds or replaces the metadata property with the specified name. | | Set(string, string) | Adds or replaces the metadata property with the specified name. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to extract built-in metadata properties from a diagram. ```csharp using (Metadata metadata = new Metadata(Constants.InputVsdx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentProperties.Creator); Console.WriteLine(root.DocumentProperties.Company); Console.WriteLine(root.DocumentProperties.Keywords); Console.WriteLine(root.DocumentProperties.Language); Console.WriteLine(root.DocumentProperties.TimeCreated); Console.WriteLine(root.DocumentProperties.Category); // ... } ``` ### AlternateNames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/alternatenames.md #### DiagramPackage.AlternateNames property Gets or sets the alternate names for the document. Can be updated in VDX and VSX formats only. ```csharp public string AlternateNames { get; set; } ``` ##### Property Value The alternate names for the document. ### BuildNumberCreated Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/buildnumbercreated.md #### DiagramPackage.BuildNumberCreated property Gets the full build number of the instance used to create the document. ```csharp public string BuildNumberCreated { get; } ``` ##### Property Value The full build number of the instance used to create the document. ### BuildNumberEdited Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/buildnumberedited.md #### DiagramPackage.BuildNumberEdited property Gets the build number of the instance last used to edit the document. ```csharp public string BuildNumberEdited { get; } ``` ##### Property Value The build number of the instance last used to edit the document. ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/category.md #### DiagramPackage.Category property Gets or sets the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. ```csharp public string Category { get; set; } ``` ##### Property Value The descriptive text for the type of drawing, such as flowchart or office layout. ### Company Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/company.md #### DiagramPackage.Company property Gets or sets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters. ```csharp public string Company { get; set; } ``` ##### Property Value The user-entered information identifying the company creating the drawing or the company the drawing is being created for. ### Creator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/creator.md #### DiagramPackage.Creator property Gets or sets the person who created or last updated the file. The maximum length is 63 characters.. ```csharp public string Creator { get; set; } ``` ##### Property Value The person who created or last updated the file. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/description.md #### DiagramPackage.Description property Gets or sets a descriptive text string for the document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters. ```csharp public string Description { get; set; } ``` ##### Property Value A descriptive text string for the document. ### HyperlinkBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/hyperlinkbase.md #### DiagramPackage.HyperlinkBase property Gets or sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters. ```csharp public string HyperlinkBase { get; set; } ``` ##### Property Value The path to be used for relative hyperlinks. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/keywords.md #### DiagramPackage.Keywords property Gets or sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters. ```csharp public string Keywords { get; set; } ``` ##### Property Value A text string that identifies topics or other important information about the file, such as project name, client name, or version number. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/language.md #### DiagramPackage.Language property Gets or sets the language of the document. Can be updated in VSD and VSDX formats only. ```csharp public string Language { get; set; } ``` ##### Property Value The language of the document. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/manager.md #### DiagramPackage.Manager property Gets or sets a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters. ```csharp public string Manager { get; set; } ``` ##### Property Value A user-entered text string identifying the person in charge of the project or department. ### PreviewPicture Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/previewpicture.md #### DiagramPackage.PreviewPicture property Gets or sets the preview picture. ```csharp public byte[] PreviewPicture { get; set; } ``` ##### Property Value The preview picture. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/set.md #### Set(string, string) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | String | The property value. | #### Set(string, bool) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Boolean | The property value. | #### Set(string, double) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, double value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Double | The property value. | #### Set(string, DateTime) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | DateTime | The property value. | ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/subject.md #### DiagramPackage.Subject property Gets or sets a user-defined text string that describes the contents of the document. Maximum length is 63 characters. ```csharp public string Subject { get; set; } ``` ##### Property Value A user-defined text string that describes the contents of the document. ### Template Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/template.md #### DiagramPackage.Template property Gets or sets a string value specifying the file name of the template from which the document was created. ```csharp public string Template { get; set; } ``` ##### Property Value A string value specifying the file name of the template from which the document was created. ### TimeCreated Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/timecreated.md #### DiagramPackage.TimeCreated property Gets or sets a date and time value indicating when the document was created. ```csharp public DateTime TimeCreated { get; set; } ``` ##### Property Value A date and time value indicating when the document was created. ### TimeEdited Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/timeedited.md #### DiagramPackage.TimeEdited property Gets a date and time value indicating when the document was last edited. ```csharp public DateTime TimeEdited { get; } ``` ##### Property Value A date and time value indicating when the document was last edited. ### TimePrinted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/timeprinted.md #### DiagramPackage.TimePrinted property Gets a date and time value indicating when the document was last printed. ```csharp public DateTime TimePrinted { get; } ``` ##### Property Value A date and time value indicating when the document was last printed. ### TimeSaved Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/timesaved.md #### DiagramPackage.TimeSaved property Gets a date and time value indicating when the document was last saved. ```csharp public DateTime TimeSaved { get; } ``` ##### Property Value A date and time value indicating when the document was last saved. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagrampackage/title.md #### DiagramPackage.Title property Gets or sets a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters. ```csharp public string Title { get; set; } ``` ##### Property Value A user-defined text string that serves as a descriptive title for the document. ### DiagramRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagramrootpackage.md #### DiagramRootPackage class Represents the root package intended to work with metadata in a diagram. ```csharp public class DiagramRootPackage : DocumentRootPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | virtual DocumentProperties { get; } | Gets the native metadata properties presented in the document. | | DocumentStatistics { get; } | Gets the document statistics package. | | FileType { get; } | Gets the file type metadata package. (2 properties) | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code sample demonstrates how to update built-in metadata properties in a diagram document. ```csharp using (Metadata metadata = new Metadata(Constants.InputVdx)) { var root = metadata.GetRootPackage(); root.DocumentProperties.Creator = "test author"; root.DocumentProperties.TimeCreated = DateTime.Now; root.DocumentProperties.Company = "GroupDocs"; root.DocumentProperties.Category = "test category"; root.DocumentProperties.Keywords = "metadata, built-in, update"; // ... metadata.Save(Constants.OutputVdx); } ``` ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagramrootpackage/documentstatistics.md #### DiagramRootPackage.DocumentStatistics property Gets the document statistics package. ```csharp public DocumentStatistics DocumentStatistics { get; } ``` ##### Property Value The document statistics package. ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagramrootpackage/filetype.md #### DiagramRootPackage.FileType property Gets the file type metadata package. ```csharp public DiagramTypePackage FileType { get; } ``` ##### Property Value The file type metadata package. ##### Examples This code sample shows how to detect the exact type of a loaded diagram and extract some additional file format information. ```csharp using (Metadata metadata = new Metadata(Constants.InputVdx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.DiagramFormat); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } ``` ### DiagramTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagramtypepackage.md #### DiagramTypePackage class Represents a metadata package containing diagram-specific file format information. ```csharp public class DiagramTypePackage : FileTypePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DiagramFormat { get; } | Gets the exact diagram format. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DiagramFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/diagramtypepackage/diagramformat.md #### DiagramTypePackage.DiagramFormat property Gets the exact diagram format. ```csharp public DiagramFormat DiagramFormat { get; } ``` ##### Property Value The exact diagram format. ### DocumentPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentpackage.md #### DocumentPackage class Represents native metadata in an office document. ```csharp public abstract class DocumentPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties from the package. | | ClearBuiltInProperties() | Removes all built-in metadata properties. | | ClearCustomProperties() | Removes all custom metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes a writable metadata property by the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Clear Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentpackage/clear.md #### DocumentPackage.Clear method Removes all writable metadata properties from the package. ```csharp public void Clear() ``` ### ClearBuiltInProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentpackage/clearbuiltinproperties.md #### DocumentPackage.ClearBuiltInProperties method Removes all built-in metadata properties. ```csharp public void ClearBuiltInProperties() ``` ### ClearCustomProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentpackage/clearcustomproperties.md #### DocumentPackage.ClearCustomProperties method Removes all custom metadata properties. ```csharp public void ClearCustomProperties() ``` ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentpackage/remove.md #### DocumentPackage.Remove method Removes a writable metadata property by the specified name. ```csharp public bool Remove(string propertyName) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | A metadata property name. | ##### Return Value `true` if the property is found and deleted; otherwise `false`. ### DocumentRootPackageTPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentrootpackage-1.md #### DocumentRootPackage<TPackage> class Represents a root package for document formats such as PDF, WordProcessing, Spreadsheet, Presentation, etc. ```csharp public abstract class DocumentRootPackage : RootMetadataPackage where TPackage : DocumentPackage ``` | Parameter | Description | | --- | --- | | TPackage | The type of the native metadata package. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | virtual DocumentProperties { get; } | Gets the native metadata properties presented in the document. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DocumentProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentrootpackage-1/documentproperties.md #### DocumentRootPackage<TPackage>.DocumentProperties property Gets the native metadata properties presented in the document. ```csharp public virtual TPackage DocumentProperties { get; } ``` ##### Property Value The document properties. ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentstatistics.md #### DocumentStatistics class Represents a set of document statistics. ```csharp public class DocumentStatistics : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | DocumentStatistics() | Initializes a new instance of the `DocumentStatistics` class. | #### Properties | Name | Description | | --- | --- | | CharacterCount { get; } | Gets an estimated number of characters in the document. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PageCount { get; } | Gets an estimated number of pages in the document. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | WordCount { get; } | Gets an estimated number of words in the document. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CharacterCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentstatistics/charactercount.md #### DocumentStatistics.CharacterCount property Gets an estimated number of characters in the document. ```csharp public int CharacterCount { get; } ``` ##### Property Value An estimated number of characters in the document. ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentstatistics/documentstatistics.md #### DocumentStatistics constructor Initializes a new instance of the `DocumentStatistics` class. ```csharp public DocumentStatistics() ``` ### PageCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentstatistics/pagecount.md #### DocumentStatistics.PageCount property Gets an estimated number of pages in the document. ```csharp public int PageCount { get; } ``` ##### Property Value An estimated number of pages in the document. ### WordCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/documentstatistics/wordcount.md #### DocumentStatistics.WordCount property Gets an estimated number of words in the document. ```csharp public int WordCount { get; } ``` ##### Property Value An estimated number of words in the document. ### NoteInspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/noteinspectionpackage.md #### NoteInspectionPackage class Represents a metadata package exposing the internal structure of a note section. ```csharp public sealed class NoteInspectionPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Pages { get; } | Gets an array of section pages. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Pages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/noteinspectionpackage/pages.md #### NoteInspectionPackage.Pages property Gets an array of section pages. ```csharp public NotePage[] Pages { get; } ``` ##### Property Value An array of section pages. ### NotePage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/notepage.md #### NotePage class Represents a page in a OneNote section. ```csharp public class NotePage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets the page author. | | Count { get; } | Gets the number of metadata properties. | | CreationTime { get; } | Gets the creation time. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LastModificationTime { get; } | Gets the last modification time. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Title { get; } | Gets the page title. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/notepage/author.md #### NotePage.Author property Gets the page author. ```csharp public string Author { get; } ``` ##### Property Value The page author. ### CreationTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/notepage/creationtime.md #### NotePage.CreationTime property Gets the creation time. ```csharp public DateTime CreationTime { get; } ``` ##### Property Value The creation time. ### LastModificationTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/notepage/lastmodificationtime.md #### NotePage.LastModificationTime property Gets the last modification time. ```csharp public DateTime LastModificationTime { get; } ``` ##### Property Value The last modification time. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/notepage/title.md #### NotePage.Title property Gets the page title. ```csharp public string Title { get; } ``` ##### Property Value The page title. ### NoteRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/noterootpackage.md #### NoteRootPackage class Represents the root package intended to work with metadata in an electronic note file. ```csharp public class NoteRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DocumentStatistics { get; } | Gets the document statistics package. | | FileType { get; } | Gets the file type metadata package. | | InspectionPackage { get; } | Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to inspect a note document. ```csharp using (Metadata metadata = new Metadata(Constants.InputOne)) { var root = metadata.GetRootPackage(); if (root.InspectionPackage.Pages != null) { foreach (var page in root.InspectionPackage.Pages) { Console.WriteLine(page.Title); Console.WriteLine(page.Author); Console.WriteLine(page.CreationTime); Console.WriteLine(page.LastModificationTime); } } } ``` ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/noterootpackage/documentstatistics.md #### NoteRootPackage.DocumentStatistics property Gets the document statistics package. ```csharp public DocumentStatistics DocumentStatistics { get; } ``` ##### Property Value The document statistics package. ### InspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/noterootpackage/inspectionpackage.md #### NoteRootPackage.InspectionPackage property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ```csharp public NoteInspectionPackage InspectionPackage { get; } ``` ##### Property Value A metadata package containing inspection results for the document. ### PdfAnnotation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfannotation.md #### PdfAnnotation class Represents an annotation in a PDF document. ```csharp public class PdfAnnotation : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the name of the annotation. | | PageNumber { get; } | Gets the number of the page containing the annotation. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Text { get; } | Gets the annotation text. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfannotation/name.md #### PdfAnnotation.Name property Gets the name of the annotation. ```csharp public string Name { get; } ``` ##### Property Value The name of the annotation. ### PageNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfannotation/pagenumber.md #### PdfAnnotation.PageNumber property Gets the number of the page containing the annotation. ```csharp public int PageNumber { get; } ``` ##### Property Value The number of the page containing the annotation. ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfannotation/text.md #### PdfAnnotation.Text property Gets the annotation text. ```csharp public string Text { get; } ``` ##### Property Value The annotation text. ### PdfAttachment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfattachment.md #### PdfAttachment class Represents an attachment in a PDF document. ```csharp public class PdfAttachment : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Description { get; } | Gets the attachment description. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type of the attachment. | | Name { get; } | Gets the attachment name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfattachment/description.md #### PdfAttachment.Description property Gets the attachment description. ```csharp public string Description { get; } ``` ##### Property Value The attachment description. ### MimeType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfattachment/mimetype.md #### PdfAttachment.MimeType property Gets the MIME type of the attachment. ```csharp public string MimeType { get; } ``` ##### Property Value The MIME type of the attachment. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfattachment/name.md #### PdfAttachment.Name property Gets the attachment name. ```csharp public string Name { get; } ``` ##### Property Value The attachment name. ### PdfBookmark Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfbookmark.md #### PdfBookmark class Represents a bookmark in a PDF document. ```csharp public class PdfBookmark : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Title { get; } | Gets the title of the bookmark. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfbookmark/title.md #### PdfBookmark.Title property Gets the title of the bookmark. ```csharp public string Title { get; } ``` ##### Property Value The title of the bookmark. ### PdfFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfformat.md #### PdfFormat enumeration Represents supported PDF format standards and versions. ```csharp public enum PdfFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PdfA1A | `0` | Represents the PDF/A-1a format. | | PdfA1B | `1` | Represents the PDF/A-1b format. | | PdfA2A | `2` | Represents the PDF/A-2a format. | | PdfA3A | `3` | Represents the PDF/A-3a format. | | PdfA2B | `4` | Represents the PDF/A-2b format. | | PdfA2U | `5` | Represents the PDF/A-2u format. | | PdfA3B | `6` | Represents the PDF/A-3b format. | | PdfA3U | `7` | Represents the PDF/A-3u format. | | Pdf10 | `8` | Represents the PDF 1.0 format. | | Pdf11 | `9` | Represents the PDF 1.1 format. | | Pdf12 | `10` | Represents the PDF 1.2 format. | | Pdf13 | `11` | Represents the PDF 1.3 format. | | Pdf14 | `12` | Represents the PDF 1.4 format. | | Pdf15 | `13` | Represents the PDF 1.5 format. | | Pdf16 | `14` | Represents the PDF 1.6 format. | | Pdf17 | `15` | Represents the PDF 1.7 format. | | Pdf20 | `16` | Represents the PDF 2.0 format. | | PdfUa1 | `17` | Represents the PDF/UA-1 (Universal Accessibility) format. | | PdfX1A2001 | `18` | Represents the PDF/X-1a:2001 format. | | PdfX1A | `19` | Represents the PDF/X-1a format. | | PdfX3 | `20` | Represents the PDF/X-3 format. | | ZugFeRD | `21` | Represents the ZUGFeRD format (electronic invoice standard based on PDF). | | PdfA4 | `22` | Represents the PDF/A-4 format. | | PdfA4E | `23` | Represents the PDF/A-4e format (engineering). | | PdfA4F | `24` | Represents the PDF/A-4f format (file attachments). | | PdfX4 | `25` | Represents the PDF/X-4 format. | | Unknown | `26` | Represents an unknown or unsupported PDF format. | ### PdfFormField Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfformfield.md #### PdfFormField class Represents a form field in a PDF document. ```csharp public class PdfFormField : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the name of the field. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the field value. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfformfield/name.md #### PdfFormField.Name property Gets the name of the field. ```csharp public string Name { get; } ``` ##### Property Value The name of the field. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfformfield/value.md #### PdfFormField.Value property Gets the field value. ```csharp public string Value { get; } ``` ##### Property Value The field value. ### PdfInspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage.md #### PdfInspectionPackage class Contains information about PDF document parts that can be considered as metadata in some cases. ```csharp public sealed class PdfInspectionPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Annotations { get; } | Gets an array of the annotations. | | Attachments { get; } | Gets an array of the attachments. | | Bookmarks { get; } | Gets an array of the bookmarks. | | Count { get; } | Gets the number of metadata properties. | | DigitalSignatures { get; } | Gets an array of the digital signatures. | | Fields { get; } | Gets an array of the form fields. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearAnnotations() | Removes all detected annotations from the document. | | ClearAttachments() | Removes all detected attachments from the document. | | ClearBookmarks() | Removes all detected bookmarks from the document. | | ClearDigitalSignatures() | Removes all detected digital signatures from the document. | | ClearFields() | Removes all detected form fields from the document. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to remove the inspection properties in a PDF document. ```csharp using (Metadata metadata = new Metadata(Constants.SignedPdf)) { var root = metadata.GetRootPackage(); root.InspectionPackage.ClearAnnotations(); root.InspectionPackage.ClearAttachments(); root.InspectionPackage.ClearFields(); root.InspectionPackage.ClearBookmarks(); root.InspectionPackage.ClearDigitalSignatures(); metadata.Save(Constants.OutputPdf); } ``` ### Annotations Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/annotations.md #### PdfInspectionPackage.Annotations property Gets an array of the annotations. ```csharp public PdfAnnotation[] Annotations { get; } ``` ##### Property Value An array of the annotations. ### Attachments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/attachments.md #### PdfInspectionPackage.Attachments property Gets an array of the attachments. ```csharp public PdfAttachment[] Attachments { get; } ``` ##### Property Value An array of the attachments. ### Bookmarks Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/bookmarks.md #### PdfInspectionPackage.Bookmarks property Gets an array of the bookmarks. ```csharp public PdfBookmark[] Bookmarks { get; } ``` ##### Property Value An array of the bookmarks. ### ClearAnnotations Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/clearannotations.md #### PdfInspectionPackage.ClearAnnotations method Removes all detected annotations from the document. ```csharp public void ClearAnnotations() ``` ### ClearAttachments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/clearattachments.md #### PdfInspectionPackage.ClearAttachments method Removes all detected attachments from the document. ```csharp public void ClearAttachments() ``` ### ClearBookmarks Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/clearbookmarks.md #### PdfInspectionPackage.ClearBookmarks method Removes all detected bookmarks from the document. ```csharp public void ClearBookmarks() ``` ### ClearDigitalSignatures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/cleardigitalsignatures.md #### PdfInspectionPackage.ClearDigitalSignatures method Removes all detected digital signatures from the document. ```csharp public void ClearDigitalSignatures() ``` ### ClearFields Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/clearfields.md #### PdfInspectionPackage.ClearFields method Removes all detected form fields from the document. ```csharp public void ClearFields() ``` ### DigitalSignatures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/digitalsignatures.md #### PdfInspectionPackage.DigitalSignatures property Gets an array of the digital signatures. ```csharp public DigitalSignature[] DigitalSignatures { get; } ``` ##### Property Value An array of the digital signatures. ### Fields Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/fields.md #### PdfInspectionPackage.Fields property Gets an array of the form fields. ```csharp public PdfFormField[] Fields { get; } ``` ##### Property Value An array of the form fields. ### RemoveProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/removeproperties.md #### PdfInspectionPackage.RemoveProperties method Removes metadata properties satisfying the specified predicate. ```csharp public override int RemoveProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value The number of affected properties. ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfinspectionpackage/sanitize.md #### PdfInspectionPackage.Sanitize method Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ```csharp public override int Sanitize() ``` ##### Return Value The number of affected properties. ### PdfPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage.md #### PdfPackage class Represents native metadata in a PDF document. ```csharp public class PdfPackage : DocumentPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets the document author. | | Count { get; } | Gets the number of metadata properties. | | CreatedDate { get; set; } | Gets or sets the date of document creation. | | Creator { get; set; } | Gets the creator of the document. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets the keywords. | | MetadataType { get; } | Gets the metadata type. | | ModifiedDate { get; set; } | Gets or sets the date of the last modification. | | Producer { get; set; } | Gets the document producer. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Subject { get; set; } | Gets or sets the subject of the document. | | Title { get; set; } | Gets or sets the title of the document. | | TrappedFlag { get; set; } | Gets or sets the trapped flag. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties from the package. | | ClearBuiltInProperties() | Removes all built-in metadata properties. | | ClearCustomProperties() | Removes all custom metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes a writable metadata property by the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, string) | Adds or replaces the metadata property with the specified name. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code snippet demonstrates how to update built-in metadata properties in a PDF document. ```csharp using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); root.DocumentProperties.Author = "test author"; root.DocumentProperties.CreatedDate = DateTime.Now; root.DocumentProperties.Title = "test title"; root.DocumentProperties.Keywords = "metadata, built-in, update"; // ... metadata.Save(Constants.OutputPdf); } ``` ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/author.md #### PdfPackage.Author property Gets or sets the document author. ```csharp public string Author { get; set; } ``` ##### Property Value The document author. ### CreatedDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/createddate.md #### PdfPackage.CreatedDate property Gets or sets the date of document creation. ```csharp public DateTime? CreatedDate { get; set; } ``` ##### Property Value The date of document creation. ### Creator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/creator.md #### PdfPackage.Creator property Gets the creator of the document. ```csharp public string Creator { get; set; } ``` ##### Property Value The creator of the document. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/keywords.md #### PdfPackage.Keywords property Gets or sets the keywords. ```csharp public string Keywords { get; set; } ``` ##### Property Value The keywords. ### ModifiedDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/modifieddate.md #### PdfPackage.ModifiedDate property Gets or sets the date of the last modification. ```csharp public DateTime? ModifiedDate { get; set; } ``` ##### Property Value The date of the last modification. ### Producer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/producer.md #### PdfPackage.Producer property Gets the document producer. ```csharp public string Producer { get; set; } ``` ##### Property Value The document producer. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/set.md #### PdfPackage.Set method Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | String | The property value. | ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/subject.md #### PdfPackage.Subject property Gets or sets the subject of the document. ```csharp public string Subject { get; set; } ``` ##### Property Value The subject of the document. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/title.md #### PdfPackage.Title property Gets or sets the title of the document. ```csharp public string Title { get; set; } ``` ##### Property Value The title of the document. ### TrappedFlag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfpackage/trappedflag.md #### PdfPackage.TrappedFlag property Gets or sets the trapped flag. ```csharp public bool? TrappedFlag { get; set; } ``` ##### Property Value `true` if the trapped flag is set; otherwise, `false`. ### PdfRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfrootpackage.md #### PdfRootPackage class Represents the root package allowing working with metadata in a PDF document. ```csharp public class PdfRootPackage : DocumentRootPackage, IXmp ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | virtual DocumentProperties { get; } | Gets the native metadata properties presented in the document. | | DocumentStatistics { get; } | Gets the document statistics package. | | FileType { get; } | Gets the file type metadata package. (2 properties) | | InspectionPackage { get; } | Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract built-in metadata properties from a PDF document. ```csharp using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentProperties.Author); Console.WriteLine(root.DocumentProperties.CreatedDate); Console.WriteLine(root.DocumentProperties.Subject); Console.WriteLine(root.DocumentProperties.Producer); Console.WriteLine(root.DocumentProperties.Keywords); // ... } ``` ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfrootpackage/documentstatistics.md #### PdfRootPackage.DocumentStatistics property Gets the document statistics package. ```csharp public DocumentStatistics DocumentStatistics { get; } ``` ##### Property Value The document statistics package. ##### Examples This code sample demonstrates how to obtain the text statistics for a PDF document. ```csharp using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentStatistics.CharacterCount); Console.WriteLine(root.DocumentStatistics.PageCount); Console.WriteLine(root.DocumentStatistics.WordCount); } ``` ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfrootpackage/filetype.md #### PdfRootPackage.FileType property Gets the file type metadata package. ```csharp public PdfTypePackage FileType { get; } ``` ##### Property Value The file type metadata package. ##### Examples This code snippet shows how to detect the PDF version a loaded document and extract some additional file format information. ```csharp using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } ``` ### InspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfrootpackage/inspectionpackage.md #### PdfRootPackage.InspectionPackage property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ```csharp public PdfInspectionPackage InspectionPackage { get; } ``` ##### Property Value A metadata package containing inspection results for the document. ##### Examples This example demonstrates how to inspect a PDF document. ```csharp using (Metadata metadata = new Metadata(Constants.SignedPdf)) { var root = metadata.GetRootPackage(); if (root.InspectionPackage.Annotations != null) { foreach (var annotation in root.InspectionPackage.Annotations) { Console.WriteLine(annotation.Name); Console.WriteLine(annotation.Text); Console.WriteLine(annotation.PageNumber); } } if (root.InspectionPackage.Attachments != null) { foreach (var attachment in root.InspectionPackage.Attachments) { Console.WriteLine(attachment.Name); Console.WriteLine(attachment.MimeType); Console.WriteLine(attachment.Description); } } if (root.InspectionPackage.Bookmarks != null) { foreach (var bookmark in root.InspectionPackage.Bookmarks) { Console.WriteLine(bookmark.Title); } } if (root.InspectionPackage.DigitalSignatures != null) { foreach (var signature in root.InspectionPackage.DigitalSignatures) { Console.WriteLine(signature.CertificateSubject); Console.WriteLine(signature.Comments); Console.WriteLine(signature.SignTime); // ... } } if (root.InspectionPackage.Fields != null) { foreach (var field in root.InspectionPackage.Fields) { Console.WriteLine(field.Name); Console.WriteLine(field.Value); // ... } } } ``` ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdfrootpackage/xmppackage.md #### PdfRootPackage.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ##### Examples This example demonstrates how to extract XMP metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.PdfWithXmp)) { var root = metadata.GetRootPackage(); if (root.XmpPackage != null) { if (root.XmpPackage.Schemes.XmpBasic != null) { Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname); // ... } if (root.XmpPackage.Schemes.DublinCore != null) { Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source); // ... } if (root.XmpPackage.Schemes.Photoshop != null) { Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated); // ... } // ... } } ``` ### PdfTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdftypepackage.md #### PdfTypePackage class Represents a metadata package containing PDF-specific file format information. ```csharp public class PdfTypePackage : FileTypePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | IsPdfA { get; } | Gets a value indicating whether the document conforms to any PDF/A standard. | | IsPdfX { get; } | Gets a value indicating whether the document conforms to any PDF/X standard. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PdfFormat { get; } | Gets the detected PDF format. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Version { get; } | Gets the version of the format. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### IsPdfA Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdftypepackage/ispdfa.md #### PdfTypePackage.IsPdfA property Gets a value indicating whether the document conforms to any PDF/A standard. ```csharp public bool IsPdfA { get; } ``` ##### Property Value `true` if the document is identified as PDF/A; otherwise, `false`. ### IsPdfX Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdftypepackage/ispdfx.md #### PdfTypePackage.IsPdfX property Gets a value indicating whether the document conforms to any PDF/X standard. ```csharp public bool IsPdfX { get; } ``` ##### Property Value `true` if the document is identified as PDF/X; otherwise, `false`. ### PdfFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdftypepackage/pdfformat.md #### PdfTypePackage.PdfFormat property Gets the detected PDF format. ```csharp public PdfFormat PdfFormat { get; } ``` ##### Property Value The detected PDF format. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/pdftypepackage/version.md #### PdfTypePackage.Version property Gets the version of the format. ```csharp public string Version { get; } ``` ##### Property Value The version of the format. ### PresentationComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationcomment.md #### PresentationComment class Represents a user comment in a presentation. ```csharp public sealed class PresentationComment : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets the author of the comment. | | Count { get; } | Gets the number of metadata properties. | | CreatedTime { get; } | Gets the created time of the comment. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SlideNumber { get; } | Gets the slide number the comment belongs to. | | Text { get; } | Gets the text of the comment. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationcomment/author.md #### PresentationComment.Author property Gets the author of the comment. ```csharp public string Author { get; } ``` ##### Property Value The author of the comment. ### CreatedTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationcomment/createdtime.md #### PresentationComment.CreatedTime property Gets the created time of the comment. ```csharp public DateTime CreatedTime { get; } ``` ##### Property Value The created time of the comment. ### SlideNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationcomment/slidenumber.md #### PresentationComment.SlideNumber property Gets the slide number the comment belongs to. ```csharp public int SlideNumber { get; } ``` ##### Property Value The slide number the comment belongs to. ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationcomment/text.md #### PresentationComment.Text property Gets the text of the comment. ```csharp public string Text { get; } ``` ##### Property Value The comment text. ### PresentationFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationformat.md #### PresentationFormat enumeration Defines various presentation subformats. ```csharp public enum PresentationFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The format is not recognized. | | Ppt | `1` | Represents the .PPT PowerPoint format. A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text, bulleted points, images, multimedia and other embedded OLE objects. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt/). | | Pptx | `2` | Represents the .PPTX PowerPoint format. Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx/). | | Potm | `3` | Represents the .POTM PowerPoint format. Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm/). | | Potx | `4` | Represents the .POTX PowerPoint format. Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. This format was created to replace the POT file format that is based on the binary file format and is supported with PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx/). | | Pptm | `5` | Represents the .PPTM PowerPoint format. Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can't execute macros though they can contain macros. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm/). | | Pps | `6` | Represents the .PPS PowerPoint format. PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps/). | | Ppsx | `7` | Represents the .PPSX PowerPoint format. PPSX, Power Point Slide Show, files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. It is an update to the PPS file format that was supported by Microsoft PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx/). | | Ppsm | `8` | Represents the .PPSM PowerPoint format. Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Another similar file format is PPTM which differs in opening with Microsoft PowerPoint in editable format instead of running as Slide Show Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm/). | | Pot | `9` | Represents the .POT PowerPoint format. Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Files created with these versions of Microsoft PowerPoint are in binary format as compared to those created in Office OpenXML file formats using the higher versions of PowerPoint. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot/). | ### PresentationInspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationinspectionpackage.md #### PresentationInspectionPackage class Contains information about presentation parts that can be considered as metadata in some cases. ```csharp public sealed class PresentationInspectionPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Comments { get; } | Gets an array of the comments. | | Count { get; } | Gets the number of metadata properties. | | HiddenSlides { get; } | Gets an array of the hidden slides. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearComments() | Removes all detected user comments from the presentation. | | ClearHiddenSlides() | Removes all detected hidden slides from the presentation. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to clean inspection properties in a presentation. ```csharp using (Metadata metadata = new Metadata(Constants.InputPpt)) { var root = metadata.GetRootPackage(); root.InspectionPackage.ClearComments(); root.InspectionPackage.ClearHiddenSlides(); metadata.Save(Constants.OutputPpt); } ``` ### ClearComments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationinspectionpackage/clearcomments.md #### PresentationInspectionPackage.ClearComments method Removes all detected user comments from the presentation. ```csharp public void ClearComments() ``` ### ClearHiddenSlides Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationinspectionpackage/clearhiddenslides.md #### PresentationInspectionPackage.ClearHiddenSlides method Removes all detected hidden slides from the presentation. ```csharp public void ClearHiddenSlides() ``` ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationinspectionpackage/comments.md #### PresentationInspectionPackage.Comments property Gets an array of the comments. ```csharp public PresentationComment[] Comments { get; } ``` ##### Property Value The comments. ### HiddenSlides Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationinspectionpackage/hiddenslides.md #### PresentationInspectionPackage.HiddenSlides property Gets an array of the hidden slides. ```csharp public PresentationSlide[] HiddenSlides { get; } ``` ##### Property Value The hidden slides. ### RemoveProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationinspectionpackage/removeproperties.md #### PresentationInspectionPackage.RemoveProperties method Removes metadata properties satisfying the specified predicate. ```csharp public override int RemoveProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value The number of affected properties. ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationinspectionpackage/sanitize.md #### PresentationInspectionPackage.Sanitize method Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ```csharp public override int Sanitize() ``` ##### Return Value The number of affected properties. ### PresentationPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage.md #### PresentationPackage class Represents a native metadata package in a presentation. ```csharp public class PresentationPackage : DocumentPackage ``` #### Properties | Name | Description | | --- | --- | | ApplicationTemplate { get; set; } | Gets or sets the application template. | | Author { get; set; } | Gets or sets the document's author. | | Category { get; set; } | Gets or sets the category. | | Comments { get; set; } | Gets or sets the comments. | | Company { get; set; } | Gets or sets the company. | | ContentStatus { get; set; } | Gets or sets the content status. Can be updated in a PPTX document only. | | ContentType { get; set; } | Gets or sets the content type. Can be updated in a PPTX document only. | | Count { get; } | Gets the number of metadata properties. | | CreatedTime { get; set; } | Gets or sets the document created date. | | HyperlinkBase { get; set; } | Gets or sets the hyperlink base. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets the keywords. | | LastPrintedDate { get; set; } | Gets or sets the last printed date. | | LastSavedBy { get; set; } | Gets or sets the name of the last author. | | LastSavedTime { get; } | Gets the date and time when the presentation was modified last time. | | Manager { get; set; } | Gets or sets the manager. | | MetadataType { get; } | Gets the metadata type. | | NameOfApplication { get; } | Gets the name of the application created the document. | | PresentationFormat { get; } | Gets the presentation format. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RevisionNumber { get; set; } | Gets or sets the revision number. | | SharedDoc { get; set; } | Gets or sets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. | | Subject { get; set; } | Gets or sets the subject. | | Title { get; set; } | Gets or sets the title of the document. | | TotalEditingTime { get; set; } | Gets or sets the total editing time of the document. | | Version { get; } | Gets the application version. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties from the package. | | ClearBuiltInProperties() | Removes all built-in metadata properties. | | ClearCustomProperties() | Removes all custom metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes a writable metadata property by the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Adds or replaces the metadata property with the specified name. | | Set(string, DateTime) | Adds or replaces the metadata property with the specified name. | | Set(string, double) | Adds or replaces the metadata property with the specified name. | | Set(string, int) | Adds or replaces the metadata property with the specified name. | | Set(string, string) | Adds or replaces the metadata property with the specified name. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example demonstrates how to update built-in metadata properties in a presentation. ```csharp using (Metadata metadata = new Metadata(Constants.InputPptx)) { var root = metadata.GetRootPackage(); root.DocumentProperties.Author = "test author"; root.DocumentProperties.CreatedTime = DateTime.Now; root.DocumentProperties.Company = "GroupDocs"; root.DocumentProperties.Category = "test category"; root.DocumentProperties.Keywords = "metadata, built-in, update"; // ... metadata.Save(Constants.OutputPptx); } ``` ### ApplicationTemplate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/applicationtemplate.md #### PresentationPackage.ApplicationTemplate property Gets or sets the application template. ```csharp public string ApplicationTemplate { get; set; } ``` ##### Property Value The application template. ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/author.md #### PresentationPackage.Author property Gets or sets the document's author. ```csharp public string Author { get; set; } ``` ##### Property Value The author. ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/category.md #### PresentationPackage.Category property Gets or sets the category. ```csharp public string Category { get; set; } ``` ##### Property Value The category. ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/comments.md #### PresentationPackage.Comments property Gets or sets the comments. ```csharp public string Comments { get; set; } ``` ##### Property Value The comments. ### Company Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/company.md #### PresentationPackage.Company property Gets or sets the company. ```csharp public string Company { get; set; } ``` ##### Property Value The company. ### ContentStatus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/contentstatus.md #### PresentationPackage.ContentStatus property Gets or sets the content status. Can be updated in a PPTX document only. ```csharp public string ContentStatus { get; set; } ``` ##### Property Value The content status. ##### Remarks Can be updated in a PPTX document only. Read-only for other supported formats. ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/contenttype.md #### PresentationPackage.ContentType property Gets or sets the content type. Can be updated in a PPTX document only. ```csharp public string ContentType { get; set; } ``` ##### Property Value The type of the content. ##### Remarks Can be updated in a PPTX document only. Read-only for other supported formats. ### CreatedTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/createdtime.md #### PresentationPackage.CreatedTime property Gets or sets the document created date. ```csharp public DateTime CreatedTime { get; set; } ``` ##### Property Value The document created date. ### HyperlinkBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/hyperlinkbase.md #### PresentationPackage.HyperlinkBase property Gets or sets the hyperlink base. ```csharp public string HyperlinkBase { get; set; } ``` ##### Property Value The hyperlink base. ##### Remarks Read-only in old PPT. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/keywords.md #### PresentationPackage.Keywords property Gets or sets the keywords. ```csharp public string Keywords { get; set; } ``` ##### Property Value The keywords. ### LastPrintedDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/lastprinteddate.md #### PresentationPackage.LastPrintedDate property Gets or sets the last printed date. ```csharp public DateTime LastPrintedDate { get; set; } ``` ##### Property Value The last printed date. ### LastSavedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/lastsavedby.md #### PresentationPackage.LastSavedBy property Gets or sets the name of the last author. ```csharp public string LastSavedBy { get; set; } ``` ##### Property Value The last saved by. ### LastSavedTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/lastsavedtime.md #### PresentationPackage.LastSavedTime property Gets the date and time when the presentation was modified last time. ```csharp public DateTime LastSavedTime { get; } ``` ##### Property Value The last saved time. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/manager.md #### PresentationPackage.Manager property Gets or sets the manager. ```csharp public string Manager { get; set; } ``` ##### Property Value The manager. ### NameOfApplication Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/nameofapplication.md #### PresentationPackage.NameOfApplication property Gets the name of the application created the document. ```csharp public string NameOfApplication { get; } ``` ##### Property Value The name of the application. ### PresentationFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/presentationformat.md #### PresentationPackage.PresentationFormat property Gets the presentation format. ```csharp public string PresentationFormat { get; } ``` ##### Property Value The presentation format. ### RevisionNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/revisionnumber.md #### PresentationPackage.RevisionNumber property Gets or sets the revision number. ```csharp public int RevisionNumber { get; set; } ``` ##### Property Value The revision number. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/set.md #### Set(string, string) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | String | The property value. | #### Set(string, bool) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Boolean | The property value. | #### Set(string, DateTime) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | DateTime | The property value. | #### Set(string, int) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, int value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Int32 | The property value. | #### Set(string, double) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, double value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Double | The property value. | ### SharedDoc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/shareddoc.md #### PresentationPackage.SharedDoc property Gets or sets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. ```csharp public bool SharedDoc { get; set; } ``` ##### Property Value `true` if the presentation shared between multiple people; otherwise, `false`. ##### Remarks Can be updated in a PPTX document only. Read-only for other formats like PPT, POT etc. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/subject.md #### PresentationPackage.Subject property Gets or sets the subject. ```csharp public string Subject { get; set; } ``` ##### Property Value The subject. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/title.md #### PresentationPackage.Title property Gets or sets the title of the document. ```csharp public string Title { get; set; } ``` ##### Property Value The title. ### TotalEditingTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/totaleditingtime.md #### PresentationPackage.TotalEditingTime property Gets or sets the total editing time of the document. ```csharp public TimeSpan TotalEditingTime { get; set; } ``` ##### Property Value The total editing time of the document. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationpackage/version.md #### PresentationPackage.Version property Gets the application version. ```csharp public string Version { get; } ``` ##### Property Value The application version. ### PresentationRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationrootpackage.md #### PresentationRootPackage class Represents the root package intended to work with metadata in a presentation. ```csharp public class PresentationRootPackage : DocumentRootPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | virtual DocumentProperties { get; } | Gets the native metadata properties presented in the document. | | DocumentStatistics { get; } | Gets the document statistics package. | | FileType { get; } | Gets the file type metadata package. (2 properties) | | InspectionPackage { get; } | Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example shows how to extract built-in metadata properties from a presentation. ```csharp using (Metadata metadata = new Metadata(Constants.InputPpt)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentProperties.Author); Console.WriteLine(root.DocumentProperties.CreatedTime); Console.WriteLine(root.DocumentProperties.Company); Console.WriteLine(root.DocumentProperties.Category); Console.WriteLine(root.DocumentProperties.Keywords); Console.WriteLine(root.DocumentProperties.LastPrintedDate); Console.WriteLine(root.DocumentProperties.NameOfApplication); // ... } ``` ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationrootpackage/documentstatistics.md #### PresentationRootPackage.DocumentStatistics property Gets the document statistics package. ```csharp public DocumentStatistics DocumentStatistics { get; } ``` ##### Property Value The document statistics package. ##### Examples This code sample demonstrates how to obtain simple text statistics for a presentation. ```csharp using (Metadata metadata = new Metadata(Constants.InputPpt)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentStatistics.CharacterCount); Console.WriteLine(root.DocumentStatistics.PageCount); Console.WriteLine(root.DocumentStatistics.WordCount); } ``` ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationrootpackage/filetype.md #### PresentationRootPackage.FileType property Gets the file type metadata package. ```csharp public PresentationTypePackage FileType { get; } ``` ##### Property Value The file type metadata package. ##### Examples This example demonstrates how to detect the exact type of a presentation and extract some additional file format information. ```csharp using (Metadata metadata = new Metadata(Constants.InputPptx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.PresentationFormat); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } ``` ### InspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationrootpackage/inspectionpackage.md #### PresentationRootPackage.InspectionPackage property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ```csharp public PresentationInspectionPackage InspectionPackage { get; } ``` ##### Property Value A metadata package containing inspection results for the document. ##### Examples This code sample demonstrates how to inspect a presentation. ```csharp using (Metadata metadata = new Metadata(Constants.InputPpt)) { var root = metadata.GetRootPackage(); if (root.InspectionPackage.Comments != null) { foreach (var comment in root.InspectionPackage.Comments) { Console.WriteLine(comment.Author); Console.WriteLine(comment.Text); Console.WriteLine(comment.CreatedTime); Console.WriteLine(comment.SlideNumber); } } if (root.InspectionPackage.HiddenSlides != null) { foreach (var slide in root.InspectionPackage.HiddenSlides) { Console.WriteLine(slide.Name); Console.WriteLine(slide.Number); Console.WriteLine(slide.SlideId); } } } ``` ### PresentationSlide Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationslide.md #### PresentationSlide class Represents a slide in a presentation. ```csharp public sealed class PresentationSlide : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the slide name. | | Number { get; } | Gets the slide number. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SlideId { get; } | Gets the slide id. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationslide/name.md #### PresentationSlide.Name property Gets the slide name. ```csharp public string Name { get; } ``` ##### Property Value The slide name. ### Number Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationslide/number.md #### PresentationSlide.Number property Gets the slide number. ```csharp public int Number { get; } ``` ##### Property Value The slide number. ### SlideId Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationslide/slideid.md #### PresentationSlide.SlideId property Gets the slide id. ```csharp public uint SlideId { get; } ``` ##### Property Value The slide identifier. ### PresentationTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationtypepackage.md #### PresentationTypePackage class Represents a metadata package containing presentation-specific file format information. ```csharp public class PresentationTypePackage : FileTypePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PresentationFormat { get; } | Gets the exact presentation format. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### PresentationFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/presentationtypepackage/presentationformat.md #### PresentationTypePackage.PresentationFormat property Gets the exact presentation format. ```csharp public PresentationFormat PresentationFormat { get; } ``` ##### Property Value The exact presentation format. ### ProjectManagementPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage.md #### ProjectManagementPackage class Represents a native metadata package in a project management file. ```csharp public sealed class ProjectManagementPackage : DocumentPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets the author of the project. | | Category { get; set; } | Gets or sets the category. | | Comments { get; set; } | Gets or sets the user comments. | | Company { get; set; } | Gets or sets the company. | | Count { get; } | Gets the number of metadata properties. | | CreationDate { get; set; } | Gets or sets the creation date. | | Guid { get; set; } | Gets or sets the id of the project. | | HyperlinkBase { get; set; } | Gets or sets the hyperlink base. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets the keywords. | | LastAuthor { get; set; } | Gets or sets the last author. | | LastPrinted { get; set; } | Gets or sets the project's last print time. | | LastSaved { get; set; } | Gets or sets the date when the project was saved last time. | | Manager { get; set; } | Gets or sets the project manager. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Revision { get; set; } | Gets or sets the revision number. | | SaveVersion { get; } | Gets the version of Microsoft Office Project from which a project file was saved. | | Subject { get; set; } | Gets or sets the subject. | | Template { get; set; } | Gets or sets the template. | | Title { get; set; } | Gets or sets the title. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties from the package. | | ClearBuiltInProperties() | Removes all built-in metadata properties. | | ClearCustomProperties() | Removes all custom metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes a writable metadata property by the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Adds or replaces the metadata property with the specified name. | | Set(string, DateTime) | Adds or replaces the metadata property with the specified name. | | Set(string, double) | Adds or replaces the metadata property with the specified name. | | Set(string, int) | Adds or replaces the metadata property with the specified name. | | Set(string, string) | Adds or replaces the metadata property with the specified name. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to update built-in properties in a ProjectManagement document. ```csharp using (Metadata metadata = new Metadata(Constants.InputMpp)) { var root = metadata.GetRootPackage(); root.DocumentProperties.Author = "test author"; root.DocumentProperties.CreationDate = DateTime.Now; root.DocumentProperties.Company = "GroupDocs"; root.DocumentProperties.Comments = "test comment"; root.DocumentProperties.Keywords = "metadata, built-in, update"; // ... metadata.Save(Constants.OutputMpp); } ``` ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/author.md #### ProjectManagementPackage.Author property Gets or sets the author of the project. ```csharp public string Author { get; set; } ``` ##### Property Value The author of the project. ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/category.md #### ProjectManagementPackage.Category property Gets or sets the category. ```csharp public string Category { get; set; } ``` ##### Property Value The category. ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/comments.md #### ProjectManagementPackage.Comments property Gets or sets the user comments. ```csharp public string Comments { get; set; } ``` ##### Property Value The user comments. ### Company Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/company.md #### ProjectManagementPackage.Company property Gets or sets the company. ```csharp public string Company { get; set; } ``` ##### Property Value The company. ### CreationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/creationdate.md #### ProjectManagementPackage.CreationDate property Gets or sets the creation date. ```csharp public DateTime CreationDate { get; set; } ``` ##### Property Value The creation date. ### Guid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/guid.md #### ProjectManagementPackage.Guid property Gets or sets the id of the project. ```csharp public Guid Guid { get; set; } ``` ##### Property Value The id of the project. ### HyperlinkBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/hyperlinkbase.md #### ProjectManagementPackage.HyperlinkBase property Gets or sets the hyperlink base. ```csharp public string HyperlinkBase { get; set; } ``` ##### Property Value The hyperlink base. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/keywords.md #### ProjectManagementPackage.Keywords property Gets or sets the keywords. ```csharp public string Keywords { get; set; } ``` ##### Property Value The keywords. ### LastAuthor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/lastauthor.md #### ProjectManagementPackage.LastAuthor property Gets or sets the last author. ```csharp public string LastAuthor { get; set; } ``` ##### Property Value The last author. ### LastPrinted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/lastprinted.md #### ProjectManagementPackage.LastPrinted property Gets or sets the project's last print time. ```csharp public DateTime LastPrinted { get; set; } ``` ##### Property Value The project's last print time. ### LastSaved Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/lastsaved.md #### ProjectManagementPackage.LastSaved property Gets or sets the date when the project was saved last time. ```csharp public DateTime LastSaved { get; set; } ``` ##### Property Value The date when the project was saved last time. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/manager.md #### ProjectManagementPackage.Manager property Gets or sets the project manager. ```csharp public string Manager { get; set; } ``` ##### Property Value The project manager. ### Revision Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/revision.md #### ProjectManagementPackage.Revision property Gets or sets the revision number. ```csharp public int Revision { get; set; } ``` ##### Property Value The revision number. ### SaveVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/saveversion.md #### ProjectManagementPackage.SaveVersion property Gets the version of Microsoft Office Project from which a project file was saved. ```csharp public int SaveVersion { get; } ``` ##### Property Value The version of Microsoft Office Project from which a project file was saved. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/set.md #### Set(string, string) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | String | The property value. | #### Set(string, double) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, double value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Double | The property value. | #### Set(string, bool) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Boolean | The property value. | #### Set(string, DateTime) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | DateTime | The property value. | #### Set(string, int) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, int value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Int32 | The property value. | ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/subject.md #### ProjectManagementPackage.Subject property Gets or sets the subject. ```csharp public string Subject { get; set; } ``` ##### Property Value The subject. ### Template Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/template.md #### ProjectManagementPackage.Template property Gets or sets the template. ```csharp public string Template { get; set; } ``` ##### Property Value The template. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementpackage/title.md #### ProjectManagementPackage.Title property Gets or sets the title. ```csharp public string Title { get; set; } ``` ##### Property Value The title. ### ProjectManagementRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/projectmanagementrootpackage.md #### ProjectManagementRootPackage class Represents the root package intended to work with metadata in a project management format. ```csharp public class ProjectManagementRootPackage : DocumentRootPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | virtual DocumentProperties { get; } | Gets the native metadata properties presented in the document. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to extract built-in properties of a ProjectManagement document. ```csharp using (Metadata metadata = new Metadata(Constants.InputMpp)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentProperties.Author); Console.WriteLine(root.DocumentProperties.CreationDate); Console.WriteLine(root.DocumentProperties.Company); Console.WriteLine(root.DocumentProperties.Category); Console.WriteLine(root.DocumentProperties.Keywords); Console.WriteLine(root.DocumentProperties.Revision); Console.WriteLine(root.DocumentProperties.Subject); // ... } ``` ### SpreadsheetComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcomment.md #### SpreadsheetComment class Represents a user comment in a spreadsheet. ```csharp public class SpreadsheetComment : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets the author of the comment. | | Column { get; } | Gets the one-based column index of the comment. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Row { get; } | Gets the one-based row index of the comment. | | SheetNumber { get; } | Gets the sheet number. | | Text { get; } | Gets the comment text. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcomment/author.md #### SpreadsheetComment.Author property Gets the author of the comment. ```csharp public string Author { get; } ``` ##### Property Value The author of the comment. ### Column Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcomment/column.md #### SpreadsheetComment.Column property Gets the one-based column index of the comment. ```csharp public int Column { get; } ``` ##### Property Value The column index of the comment. ### Row Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcomment/row.md #### SpreadsheetComment.Row property Gets the one-based row index of the comment. ```csharp public int Row { get; } ``` ##### Property Value The row index of the comment. ### SheetNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcomment/sheetnumber.md #### SpreadsheetComment.SheetNumber property Gets the sheet number. ```csharp public int SheetNumber { get; } ``` ##### Property Value The sheet number. ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcomment/text.md #### SpreadsheetComment.Text property Gets the comment text. ```csharp public string Text { get; } ``` ##### Property Value The comment text. ### SpreadsheetContentTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage.md #### SpreadsheetContentTypePackage class Represents a metadata package containing spreadsheet content type properties. ```csharp public class SpreadsheetContentTypePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes the content type property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, string) | Adds or replaces the content type property with the specified name. | | Set(string, string, string) | Adds or replaces the content type property with the specified name. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Clear Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/clear.md #### SpreadsheetContentTypePackage.Clear method Removes all writable metadata properties. ```csharp public void Clear() ``` ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/remove.md #### SpreadsheetContentTypePackage.Remove method Removes the content type property with the specified name. ```csharp public bool Remove(string propertyName) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The name of the content type property to be removed. | ##### Return Value `true` if the property is found and deleted; otherwise `false`. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/set.md #### Set(string, string) Adds or replaces the content type property with the specified name. ```csharp public void Set(string propertyName, string propertyValue) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | propertyValue | String | The property value. | #### Set(string, string, string) Adds or replaces the content type property with the specified name. ```csharp public void Set(string propertyName, string propertyValue, string propertyType) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | propertyValue | String | The property value. | | propertyType | String | The property type. | ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/tolist.md #### SpreadsheetContentTypePackage.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list that contains properties from the package. ### SpreadsheetContentTypeProperty Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty.md #### SpreadsheetContentTypeProperty class Represents a content type property in a spreadsheet. ```csharp public sealed class SpreadsheetContentTypeProperty : MetadataProperty ``` #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | SpreadsheetPropertyType { get; } | Gets the type of the property. | | SpreadsheetPropertyValue { get; } | Gets the value of the property. | | Tags { get; } | Gets a collection of tags associated with the property. | | Value { get; } | Gets the property value. | ### SpreadsheetPropertyType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/spreadsheetpropertytype.md #### SpreadsheetContentTypeProperty.SpreadsheetPropertyType property Gets the type of the property. ```csharp public string SpreadsheetPropertyType { get; } ``` ##### Property Value The type of the property. ### SpreadsheetPropertyValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/spreadsheetpropertyvalue.md #### SpreadsheetContentTypeProperty.SpreadsheetPropertyValue property Gets the value of the property. ```csharp public string SpreadsheetPropertyValue { get; } ``` ##### Property Value The value of the property. ### SpreadsheetFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetformat.md #### SpreadsheetFormat enumeration Defines various spreadsheet subformats. ```csharp public enum SpreadsheetFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The format is not recognized. | | Xls | `1` | Represents the .XLS Excel format. Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. File saved by Excel is known as Workbook where each workbook can have one or more worksheets. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xls/). | | Xlsb | `2` | Represents the .XLSB Excel format. XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. The content can include unstructured or semi-structured tables of numbers, text, or both numbers and text, formulas, external data connections, charts and images. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsb/). | | Xlsx | `3` | Represents the .XLSX Excel format. XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsx/). | | Xlsm | `4` | Represents the .XLSM Excel format. Files with XLSM extension is a type of Spreasheet files that support Macros. From application point of view, a Macro is set of instructions that are used for automating processes. A macro is used to record the steps that are performed repeatedly and facilitates performing the actions by running the macro again. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsm/). | | Xltx | `5` | Represents the .XLTX Excel format. Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltx/). | | Xltm | `6` | Represents the .XLTM Excel format. The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Such template files are used to generate and set the layout, formatting, and other settings along with the macros to facilitate creating similar XLSX files then. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltm/). | | Ods | `7` | Represents the Opendocument Spreadsheet format. Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. It is XML-based format and is one of the several subtypes in the Open Document Formats (ODF) family. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods/). | | Xlt | `8` | Represents the .XLT Excel format. Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. The latest version of Excel is still capable of opening this old format template files. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlt/). | ### SpreadsheetInspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage.md #### SpreadsheetInspectionPackage class Contains information about spreadsheet parts that can be considered as metadata in some cases. ```csharp public sealed class SpreadsheetInspectionPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Comments { get; } | Gets an array of the user comments. | | Count { get; } | Gets the number of metadata properties. | | DigitalSignatures { get; } | Gets an array of digital signatures presented in the document. | | HiddenSheets { get; } | Gets an array of the hidden sheets. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearComments() | Removes all detected user comments from the spreadsheet. | | ClearDigitalSignatures() | Removes all detected digital signatures from the spreadsheet. | | ClearHiddenSheets() | Removes all detected hidden sheets from the spreadsheet. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows hot to remove inspection properties from a spreadsheet. ```csharp using (Metadata metadata = new Metadata(Constants.InputXlsx)) { var root = metadata.GetRootPackage(); root.InspectionPackage.ClearComments(); root.InspectionPackage.ClearDigitalSignatures(); root.InspectionPackage.ClearHiddenSheets(); metadata.Save(Constants.OutputXlsx); } ``` ### ClearComments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/clearcomments.md #### SpreadsheetInspectionPackage.ClearComments method Removes all detected user comments from the spreadsheet. ```csharp public void ClearComments() ``` ### ClearDigitalSignatures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/cleardigitalsignatures.md #### SpreadsheetInspectionPackage.ClearDigitalSignatures method Removes all detected digital signatures from the spreadsheet. ```csharp public void ClearDigitalSignatures() ``` ### ClearHiddenSheets Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/clearhiddensheets.md #### SpreadsheetInspectionPackage.ClearHiddenSheets method Removes all detected hidden sheets from the spreadsheet. ```csharp public void ClearHiddenSheets() ``` ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/comments.md #### SpreadsheetInspectionPackage.Comments property Gets an array of the user comments. ```csharp public SpreadsheetComment[] Comments { get; } ``` ##### Property Value The user comments. ### DigitalSignatures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/digitalsignatures.md #### SpreadsheetInspectionPackage.DigitalSignatures property Gets an array of digital signatures presented in the document. ```csharp public DigitalSignature[] DigitalSignatures { get; } ``` ##### Property Value The digital signatures. ### HiddenSheets Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/hiddensheets.md #### SpreadsheetInspectionPackage.HiddenSheets property Gets an array of the hidden sheets. ```csharp public SpreadsheetSheet[] HiddenSheets { get; } ``` ##### Property Value The hidden sheets. ### RemoveProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/removeproperties.md #### SpreadsheetInspectionPackage.RemoveProperties method Removes metadata properties satisfying the specified predicate. ```csharp public override int RemoveProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value The number of affected properties. ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/sanitize.md #### SpreadsheetInspectionPackage.Sanitize method Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ```csharp public override int Sanitize() ``` ##### Return Value The number of affected properties. ### SpreadsheetPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage.md #### SpreadsheetPackage class Represents a native metadata package in a spreadsheet. ```csharp public class SpreadsheetPackage : DocumentPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets the document author. | | Category { get; set; } | Gets or sets the category. | | Comments { get; set; } | Gets or sets the comments. | | Company { get; set; } | Gets or sets the company. | | ContentStatus { get; set; } | Gets or sets the content status. | | ContentType { get; set; } | Gets or sets the content type. | | ContentTypeProperties { get; } | Gets the metadata package containing the content type properties. | | Count { get; } | Gets the number of metadata properties. | | CreatedTime { get; set; } | Gets or sets the document created date. | | HyperlinkBase { get; set; } | Gets or sets the hyperlink base. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets the keywords. | | Language { get; set; } | Gets or sets the document language. | | LastPrintedDate { get; set; } | Gets or sets the last printed date in UTC. | | LastSavedBy { get; set; } | Gets or sets the name of the last author. | | LastSavedTime { get; set; } | Gets or sets the time of the last saving in UTC. | | Manager { get; set; } | Gets or sets the manager. | | MetadataType { get; } | Gets the metadata type. | | NameOfApplication { get; set; } | Gets or sets the name of application. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Revision { get; set; } | Gets or sets the document revision number. | | Subject { get; set; } | Gets or sets the subject. | | Template { get; set; } | Gets or sets the document template name. | | Title { get; set; } | Gets or sets the title of the document. | | TotalEditingTime { get; set; } | Gets or sets the total editing time in minutes. | | Version { get; set; } | Gets or sets the version number of the application that created the document. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties from the package. | | ClearBuiltInProperties() | Removes all built-in metadata properties. | | ClearCustomProperties() | Removes all custom metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes a writable metadata property by the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Adds or replaces the metadata property with the specified name. | | Set(string, DateTime) | Adds or replaces the metadata property with the specified name. | | Set(string, double) | Adds or replaces the metadata property with the specified name. | | Set(string, int) | Adds or replaces the metadata property with the specified name. | | Set(string, string) | Adds or replaces the metadata property with the specified name. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example shows how to update built-in metadata properties in a spreadsheet. ```csharp using (Metadata metadata = new Metadata(Constants.InputXlsx)) { var root = metadata.GetRootPackage(); root.DocumentProperties.Author = "test author"; root.DocumentProperties.CreatedTime = DateTime.Now; root.DocumentProperties.Company = "GroupDocs"; root.DocumentProperties.Category = "test category"; root.DocumentProperties.Keywords = "metadata, built-in, update"; // ... metadata.Save(Constants.OutputXlsx); } ``` ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/author.md #### SpreadsheetPackage.Author property Gets or sets the document author. ```csharp public string Author { get; set; } ``` ##### Property Value The author. ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/category.md #### SpreadsheetPackage.Category property Gets or sets the category. ```csharp public string Category { get; set; } ``` ##### Property Value The category. ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/comments.md #### SpreadsheetPackage.Comments property Gets or sets the comments. ```csharp public string Comments { get; set; } ``` ##### Property Value Comments value. ### Company Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/company.md #### SpreadsheetPackage.Company property Gets or sets the company. ```csharp public string Company { get; set; } ``` ##### Property Value The company. ### ContentStatus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/contentstatus.md #### SpreadsheetPackage.ContentStatus property Gets or sets the content status. ```csharp public string ContentStatus { get; set; } ``` ##### Property Value The content status. ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/contenttype.md #### SpreadsheetPackage.ContentType property Gets or sets the content type. ```csharp public string ContentType { get; set; } ``` ##### Property Value The type of the content. ### ContentTypeProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/contenttypeproperties.md #### SpreadsheetPackage.ContentTypeProperties property Gets the metadata package containing the content type properties. ```csharp public SpreadsheetContentTypePackage ContentTypeProperties { get; } ``` ##### Property Value The metadata package containing the content type properties. ### CreatedTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/createdtime.md #### SpreadsheetPackage.CreatedTime property Gets or sets the document created date. ```csharp public DateTime? CreatedTime { get; set; } ``` ##### Property Value The created time. ### HyperlinkBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/hyperlinkbase.md #### SpreadsheetPackage.HyperlinkBase property Gets or sets the hyperlink base. ```csharp public string HyperlinkBase { get; set; } ``` ##### Property Value The hyperlink base. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/keywords.md #### SpreadsheetPackage.Keywords property Gets or sets the keywords. ```csharp public string Keywords { get; set; } ``` ##### Property Value Keywords. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/language.md #### SpreadsheetPackage.Language property Gets or sets the document language. ```csharp public string Language { get; set; } ``` ##### Property Value The document language. ### LastPrintedDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/lastprinteddate.md #### SpreadsheetPackage.LastPrintedDate property Gets or sets the last printed date in UTC. ```csharp public DateTime? LastPrintedDate { get; set; } ``` ##### Property Value The last printed date. ### LastSavedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/lastsavedby.md #### SpreadsheetPackage.LastSavedBy property Gets or sets the name of the last author. ```csharp public string LastSavedBy { get; set; } ``` ##### Property Value The name of the last author. ### LastSavedTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/lastsavedtime.md #### SpreadsheetPackage.LastSavedTime property Gets or sets the time of the last saving in UTC. ```csharp public DateTime? LastSavedTime { get; set; } ``` ##### Property Value The time of the last saving. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/manager.md #### SpreadsheetPackage.Manager property Gets or sets the manager. ```csharp public string Manager { get; set; } ``` ##### Property Value The manager. ### NameOfApplication Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/nameofapplication.md #### SpreadsheetPackage.NameOfApplication property Gets or sets the name of application. ```csharp public string NameOfApplication { get; set; } ``` ##### Property Value The name of application. ### Revision Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/revision.md #### SpreadsheetPackage.Revision property Gets or sets the document revision number. ```csharp public string Revision { get; set; } ``` ##### Property Value The revision number. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/set.md #### Set(string, string) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | String | The property value. | #### Set(string, bool) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Boolean | The property value. | #### Set(string, DateTime) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | DateTime | The property value. | #### Set(string, int) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, int value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Int32 | The property value. | #### Set(string, double) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, double value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Double | The property value. | ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/subject.md #### SpreadsheetPackage.Subject property Gets or sets the subject. ```csharp public string Subject { get; set; } ``` ##### Property Value The subject. ### Template Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/template.md #### SpreadsheetPackage.Template property Gets or sets the document template name. ```csharp public string Template { get; set; } ``` ##### Property Value The template. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/title.md #### SpreadsheetPackage.Title property Gets or sets the title of the document. ```csharp public string Title { get; set; } ``` ##### Property Value The title. ### TotalEditingTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/totaleditingtime.md #### SpreadsheetPackage.TotalEditingTime property Gets or sets the total editing time in minutes. ```csharp public double? TotalEditingTime { get; set; } ``` ##### Property Value The total editing time. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetpackage/version.md #### SpreadsheetPackage.Version property Gets or sets the version number of the application that created the document. ```csharp public string Version { get; set; } ``` ##### Property Value The version. ##### Remarks Its format is "00.0000",for example 12.0000 ### SpreadsheetRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetrootpackage.md #### SpreadsheetRootPackage class Represents the root package allowing working with metadata in a spreadsheet. ```csharp public class SpreadsheetRootPackage : DocumentRootPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | virtual DocumentProperties { get; } | Gets the native metadata properties presented in the document. | | DocumentStatistics { get; } | Gets the document statistics package. | | FileType { get; } | Gets the file type metadata package. (2 properties) | | InspectionPackage { get; } | Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code snippet demonstrates how to extract built-in metadata properties from a spreadsheet. ```csharp /// using (Metadata metadata = new Metadata(Constants.InputXlsx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentProperties.Author); Console.WriteLine(root.DocumentProperties.CreatedTime); Console.WriteLine(root.DocumentProperties.Company); Console.WriteLine(root.DocumentProperties.Category); Console.WriteLine(root.DocumentProperties.Keywords); Console.WriteLine(root.DocumentProperties.Language); Console.WriteLine(root.DocumentProperties.ContentType); // ... } ``` ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetrootpackage/documentstatistics.md #### SpreadsheetRootPackage.DocumentStatistics property Gets the document statistics package. ```csharp public DocumentStatistics DocumentStatistics { get; } ``` ##### Property Value The document statistics package. ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetrootpackage/filetype.md #### SpreadsheetRootPackage.FileType property Gets the file type metadata package. ```csharp public SpreadsheetTypePackage FileType { get; } ``` ##### Property Value The file type metadata package. ##### Examples This example shows how to detect the exact type of a loaded spreadsheet and extract some additional file format information. ```csharp using (Metadata metadata = new Metadata(Constants.InputXlsx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.SpreadsheetFormat); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } ``` ### InspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetrootpackage/inspectionpackage.md #### SpreadsheetRootPackage.InspectionPackage property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ```csharp public SpreadsheetInspectionPackage InspectionPackage { get; } ``` ##### Property Value A metadata package containing inspection results for the document. ##### Examples This code snippet shows how to inspect a spreadsheet document. ```csharp using (Metadata metadata = new Metadata(Constants.InputXls)) { var root = metadata.GetRootPackage(); if (root.InspectionPackage.Comments != null) { foreach (var comment in root.InspectionPackage.Comments) { Console.WriteLine(comment.Author); Console.WriteLine(comment.Text); Console.WriteLine(comment.SheetNumber); Console.WriteLine(comment.Row); Console.WriteLine(comment.Column); } } if (root.InspectionPackage.DigitalSignatures != null) { foreach (var signature in root.InspectionPackage.DigitalSignatures) { Console.WriteLine(signature.CertificateSubject); Console.WriteLine(signature.Comments); Console.WriteLine(signature.SignTime); // ... } } if (root.InspectionPackage.HiddenSheets != null) { foreach (var sheet in root.InspectionPackage.HiddenSheets) { Console.WriteLine(sheet.Name); Console.WriteLine(sheet.Number); } } } ``` ### SpreadsheetSheet Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetsheet.md #### SpreadsheetSheet class Represents a sheet in a spreadsheet document. ```csharp public sealed class SpreadsheetSheet : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the sheet name. | | Number { get; } | Gets the sheet number. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetsheet/name.md #### SpreadsheetSheet.Name property Gets the sheet name. ```csharp public string Name { get; } ``` ##### Property Value The sheet name. ### Number Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheetsheet/number.md #### SpreadsheetSheet.Number property Gets the sheet number. ```csharp public int Number { get; } ``` ##### Property Value The sheet number. ### SpreadsheetTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheettypepackage.md #### SpreadsheetTypePackage class Represents a metadata package containing spreadsheet-specific file format information. ```csharp public class SpreadsheetTypePackage : FileTypePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SpreadsheetFormat { get; } | Gets the exact spreadsheet format. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### SpreadsheetFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/spreadsheettypepackage/spreadsheetformat.md #### SpreadsheetTypePackage.SpreadsheetFormat property Gets the exact spreadsheet format. ```csharp public SpreadsheetFormat SpreadsheetFormat { get; } ``` ##### Property Value The exact spreadsheet format. ### WordProcessingComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingcomment.md #### WordProcessingComment class Represents a comment in a word processing document. ```csharp public sealed class WordProcessingComment : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets the author. | | Count { get; } | Gets the number of metadata properties. | | CreatedDate { get; set; } | Gets or sets the date the comment was created. | | Id { get; } | Gets the comment id. | | Initials { get; set; } | Gets or sets the author's initials. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Text { get; set; } | Gets or sets the text of the comment. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingcomment/author.md #### WordProcessingComment.Author property Gets or sets the author. ```csharp public string Author { get; set; } ``` ##### Property Value The author. ### CreatedDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingcomment/createddate.md #### WordProcessingComment.CreatedDate property Gets or sets the date the comment was created. ```csharp public DateTime CreatedDate { get; set; } ``` ##### Property Value The date the comment was created. ### Id Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingcomment/id.md #### WordProcessingComment.Id property Gets the comment id. ```csharp public int Id { get; } ``` ##### Property Value The comment identifier. ### Initials Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingcomment/initials.md #### WordProcessingComment.Initials property Gets or sets the author's initials. ```csharp public string Initials { get; set; } ``` ##### Property Value The initials of the author. ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingcomment/text.md #### WordProcessingComment.Text property Gets or sets the text of the comment. ```csharp public string Text { get; set; } ``` ##### Property Value The text of the comment. ### WordProcessingField Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingfield.md #### WordProcessingField class Represents a field in a word processing document. ```csharp public class WordProcessingField : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Code { get; } | Gets the field code. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Result { get; } | Gets the field result. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Code Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingfield/code.md #### WordProcessingField.Code property Gets the field code. ```csharp public string Code { get; } ``` ##### Property Value The field code. ### Result Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingfield/result.md #### WordProcessingField.Result property Gets the field result. ```csharp public string Result { get; } ``` ##### Property Value The field result. ### WordProcessingFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingformat.md #### WordProcessingFormat enumeration Defines various word processing document subformats. ```csharp public enum WordProcessingFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The format is not recognized. | | Doc | `1` | Represents the .DOC Word format. Files with .doc extension represent documents generated by Microsoft Word or other word processing applications in binary file format. The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images, formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc/). | | Docm | `2` | Represents the .DOCM Word format. DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. It is similar to DOCX file format but the ability to run macros makes it different from DOCX. Like DOCX, DOCM files can be store text, images, tables, shapes, charts and other contents. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm/). | | Docx | `3` | Represents the .DOCX Word format. DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx/). | | Dot | `4` | Represents the .DOT Word format. Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent files created from these. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot/). | | Dotx | `5` | Represents the .DOTX Word format. Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent flies created from these. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx/). | | Dotm | `6` | Represents the .DOTM Word format. A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. It is similar to the popular DOCX file format other than it retains the user defined settings for reuse in case of creating new documents. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm/). | | Odt | `7` | Represents the .ODT format. ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt/). | ### WordProcessingInspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage.md #### WordProcessingInspectionPackage class Contains information about document parts that can be considered as metadata in some cases. ```csharp public sealed class WordProcessingInspectionPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Comments { get; } | Gets an array of the user comments. | | Count { get; } | Gets the number of metadata properties. | | DigitalSignatures { get; } | Gets an array of digital signatures presented in the document. | | Fields { get; } | Gets an array of document fields. | | HiddenText { get; } | Gets an array of hidden text fragments extracted from the document. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Revisions { get; } | Gets an array of digital signatures presented in the document. | #### Methods | Name | Description | | --- | --- | | AcceptAllRevisions() | Accepts all detected revisions in the document. | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearComments() | Removes all detected user comments from the document. | | ClearFields() | Removes all detected fields from the document. | | ClearHiddenText() | Removes all hidden text fragments from the document. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | RejectAllRevisions() | Rejects all detected revisions in the document. | | override RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to update inspection properties in a WordProcessing document. ```csharp using (Metadata metadata = new Metadata(Constants.InputDoc)) { var root = metadata.GetRootPackage(); root.InspectionPackage.ClearComments(); root.InspectionPackage.AcceptAllRevisions(); root.InspectionPackage.ClearFields(); root.InspectionPackage.ClearHiddenText(); metadata.Save(Constants.OutputDoc); } ``` ### AcceptAllRevisions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/acceptallrevisions.md #### WordProcessingInspectionPackage.AcceptAllRevisions method Accepts all detected revisions in the document. ```csharp public void AcceptAllRevisions() ``` ### ClearComments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/clearcomments.md #### WordProcessingInspectionPackage.ClearComments method Removes all detected user comments from the document. ```csharp public void ClearComments() ``` ### ClearFields Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/clearfields.md #### WordProcessingInspectionPackage.ClearFields method Removes all detected fields from the document. ```csharp public void ClearFields() ``` ### ClearHiddenText Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/clearhiddentext.md #### WordProcessingInspectionPackage.ClearHiddenText method Removes all hidden text fragments from the document. ```csharp public void ClearHiddenText() ``` ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/comments.md #### WordProcessingInspectionPackage.Comments property Gets an array of the user comments. ```csharp public WordProcessingComment[] Comments { get; } ``` ##### Property Value The user comments. ### DigitalSignatures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/digitalsignatures.md #### WordProcessingInspectionPackage.DigitalSignatures property Gets an array of digital signatures presented in the document. ```csharp public DigitalSignature[] DigitalSignatures { get; } ``` ##### Property Value The digital signatures. ### Fields Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/fields.md #### WordProcessingInspectionPackage.Fields property Gets an array of document fields. ```csharp public WordProcessingField[] Fields { get; } ``` ##### Property Value An array of document fields. ### HiddenText Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/hiddentext.md #### WordProcessingInspectionPackage.HiddenText property Gets an array of hidden text fragments extracted from the document. ```csharp public string[] HiddenText { get; } ``` ##### Property Value An array of hidden text fragments extracted from the document. ### RejectAllRevisions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/rejectallrevisions.md #### WordProcessingInspectionPackage.RejectAllRevisions method Rejects all detected revisions in the document. ```csharp public void RejectAllRevisions() ``` ### RemoveProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/removeproperties.md #### WordProcessingInspectionPackage.RemoveProperties method Removes metadata properties satisfying the specified predicate. ```csharp public override int RemoveProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value The number of affected properties. ### Revisions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/revisions.md #### WordProcessingInspectionPackage.Revisions property Gets an array of digital signatures presented in the document. ```csharp public WordProcessingRevision[] Revisions { get; } ``` ##### Property Value The digital signatures. ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/sanitize.md #### WordProcessingInspectionPackage.Sanitize method Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ```csharp public override int Sanitize() ``` ##### Return Value The number of affected properties. ### WordProcessingPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage.md #### WordProcessingPackage class Represents a native metadata package in a word processing document. ```csharp public class WordProcessingPackage : DocumentPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets the document's author. | | BytesInDocument { get; } | Gets an estimate of the number of bytes in the document. | | Category { get; set; } | Gets or sets the category. | | Comments { get; set; } | Gets or sets the comments. | | Company { get; set; } | Gets or sets the company. | | ContentStatus { get; set; } | Gets or sets the content status. | | ContentType { get; set; } | Gets or sets the content type of the document. | | Count { get; } | Gets the number of metadata properties. | | CreatedTime { get; set; } | Gets or sets the document created date. | | HyperlinkBase { get; set; } | Gets or sets the hyperlink base. | | HyperlinksChanged { get; set; } | Gets or sets the Hyperlinks Changed of the document. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets the keywords. | | LastPrintedDate { get; set; } | Gets or sets the last printed date. | | LastSavedBy { get; set; } | Gets or sets the name of the last author. | | LastSavedTime { get; set; } | Gets or sets the time of the last save. | | LinksUpToDate { get; set; } | Gets or sets a value indicating whether the hyperlinks in the document are up-to-date. | | Manager { get; set; } | Gets or sets the manager. | | MetadataType { get; } | Gets the metadata type. | | NameOfApplication { get; } | Gets the name of the application. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RevisionNumber { get; set; } | Gets or sets the revision number. | | ScaleCrop { get; set; } | Gets or sets the ScaleCrop of the document. | | SharedDoc { get; set; } | Gets or sets the SharedDoc of the document. | | Subject { get; set; } | Gets or sets the subject. | | Template { get; set; } | Gets or sets the template. | | Title { get; set; } | Gets or sets the title of the document. | | TitlesOfParts { get; } | Gets the titles of document parts. Read-only. | | TotalEditingTime { get; set; } | Gets or sets the total editing time in minutes. | | Version { get; } | Gets the version number of the application that created the document. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all writable metadata properties from the package. | | ClearBuiltInProperties() | Removes all built-in metadata properties. | | ClearCustomProperties() | Removes all custom metadata properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(string) | Removes a writable metadata property by the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Adds or replaces the metadata property with the specified name. | | Set(string, DateTime) | Adds or replaces the metadata property with the specified name. | | Set(string, double) | Adds or replaces the metadata property with the specified name. | | Set(string, int) | Adds or replaces the metadata property with the specified name. | | Set(string, string) | Adds or replaces the metadata property with the specified name. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to update built-in metadata properties in a WordProcessing document. ```csharp using (Metadata metadata = new Metadata(Constants.InputDoc)) { var root = metadata.GetRootPackage(); root.DocumentProperties.Author = "test author"; root.DocumentProperties.CreatedTime = DateTime.Now; root.DocumentProperties.Company = "GroupDocs"; root.DocumentProperties.Category = "test category"; root.DocumentProperties.Keywords = "metadata, built-in, update"; // ... metadata.Save(Constants.OutputDoc); } ``` ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/author.md #### WordProcessingPackage.Author property Gets or sets the document's author. ```csharp public string Author { get; set; } ``` ##### Property Value The author. ### BytesInDocument Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/bytesindocument.md #### WordProcessingPackage.BytesInDocument property Gets an estimate of the number of bytes in the document. ```csharp public int? BytesInDocument { get; } ``` ##### Property Value An estimate of the number of bytes in the document. ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/category.md #### WordProcessingPackage.Category property Gets or sets the category. ```csharp public string Category { get; set; } ``` ##### Property Value The category. ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/comments.md #### WordProcessingPackage.Comments property Gets or sets the comments. ```csharp public string Comments { get; set; } ``` ##### Property Value The comments. ### Company Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/company.md #### WordProcessingPackage.Company property Gets or sets the company. ```csharp public string Company { get; set; } ``` ##### Property Value The company. ### ContentStatus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/contentstatus.md #### WordProcessingPackage.ContentStatus property Gets or sets the content status. ```csharp public string ContentStatus { get; set; } ``` ##### Property Value The content status. ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/contenttype.md #### WordProcessingPackage.ContentType property Gets or sets the content type of the document. ```csharp public string ContentType { get; set; } ``` ##### Property Value The type of the content. ### CreatedTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/createdtime.md #### WordProcessingPackage.CreatedTime property Gets or sets the document created date. ```csharp public DateTime? CreatedTime { get; set; } ``` ##### Property Value The created time. ### HyperlinkBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/hyperlinkbase.md #### WordProcessingPackage.HyperlinkBase property Gets or sets the hyperlink base. ```csharp public string HyperlinkBase { get; set; } ``` ##### Property Value The hyperlink base. ### HyperlinksChanged Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/hyperlinkschanged.md #### WordProcessingPackage.HyperlinksChanged property Gets or sets the Hyperlinks Changed of the document. ```csharp public bool? HyperlinksChanged { get; set; } ``` ##### Property Value The Hyperlinks Changed of the document. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/keywords.md #### WordProcessingPackage.Keywords property Gets or sets the keywords. ```csharp public string Keywords { get; set; } ``` ##### Property Value The keywords. ### LastPrintedDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/lastprinteddate.md #### WordProcessingPackage.LastPrintedDate property Gets or sets the last printed date. ```csharp public DateTime? LastPrintedDate { get; set; } ``` ##### Property Value The last printed date. ### LastSavedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/lastsavedby.md #### WordProcessingPackage.LastSavedBy property Gets or sets the name of the last author. ```csharp public string LastSavedBy { get; set; } ``` ##### Property Value The name of the last author. ### LastSavedTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/lastsavedtime.md #### WordProcessingPackage.LastSavedTime property Gets or sets the time of the last save. ```csharp public DateTime? LastSavedTime { get; set; } ``` ##### Property Value The time of the last save. ### LinksUpToDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/linksuptodate.md #### WordProcessingPackage.LinksUpToDate property Gets or sets a value indicating whether the hyperlinks in the document are up-to-date. ```csharp public bool? LinksUpToDate { get; set; } ``` ##### Property Value A value indicating whether the hyperlinks in the document are up-to-date. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/manager.md #### WordProcessingPackage.Manager property Gets or sets the manager. ```csharp public string Manager { get; set; } ``` ##### Property Value The manager. ### NameOfApplication Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/nameofapplication.md #### WordProcessingPackage.NameOfApplication property Gets the name of the application. ```csharp public string NameOfApplication { get; } ``` ##### Property Value The name of the application. ### RevisionNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/revisionnumber.md #### WordProcessingPackage.RevisionNumber property Gets or sets the revision number. ```csharp public int? RevisionNumber { get; set; } ``` ##### Property Value The revision number. ### ScaleCrop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/scalecrop.md #### WordProcessingPackage.ScaleCrop property Gets or sets the ScaleCrop of the document. ```csharp public bool? ScaleCrop { get; set; } ``` ##### Property Value The ScaleCrop of the document. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/set.md #### Set(string, string) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | String | The property value. | #### Set(string, bool) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Boolean | The property value. | #### Set(string, DateTime) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | DateTime | The property value. | #### Set(string, int) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, int value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Int32 | The property value. | #### Set(string, double) Adds or replaces the metadata property with the specified name. ```csharp public void Set(string propertyName, double value) ``` | Parameter | Type | Description | | --- | --- | --- | | propertyName | String | The property name. | | value | Double | The property value. | ### SharedDoc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/shareddoc.md #### WordProcessingPackage.SharedDoc property Gets or sets the SharedDoc of the document. ```csharp public bool? SharedDoc { get; set; } ``` ##### Property Value The SharedDoc of the document. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/subject.md #### WordProcessingPackage.Subject property Gets or sets the subject. ```csharp public string Subject { get; set; } ``` ##### Property Value The subject. ### Template Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/template.md #### WordProcessingPackage.Template property Gets or sets the template. ```csharp public string Template { get; set; } ``` ##### Property Value The template. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/title.md #### WordProcessingPackage.Title property Gets or sets the title of the document. ```csharp public string Title { get; set; } ``` ##### Property Value The title of the document. ### TitlesOfParts Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/titlesofparts.md #### WordProcessingPackage.TitlesOfParts property Gets the titles of document parts. Read-only. ```csharp public string[] TitlesOfParts { get; } ``` ##### Property Value The titles of document parts. ### TotalEditingTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/totaleditingtime.md #### WordProcessingPackage.TotalEditingTime property Gets or sets the total editing time in minutes. ```csharp public int? TotalEditingTime { get; set; } ``` ##### Property Value The total editing time in minutes. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingpackage/version.md #### WordProcessingPackage.Version property Gets the version number of the application that created the document. ```csharp public int? Version { get; } ``` ##### Property Value The version number of the application that created the document. ##### Remarks When a document was created by Microsoft Word, then high 16 bit represent the major version and low 16 bit represent the build number. ### WordProcessingRevision Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrevision.md #### WordProcessingRevision class Represents a revision (tracked change) in a document. ```csharp public sealed class WordProcessingRevision : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; } | Gets the author of the revision. | | Count { get; } | Gets the number of metadata properties. | | DateTime { get; } | Gets the date/time of the revision. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RevisionType { get; } | Gets the type of the revision. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrevision/author.md #### WordProcessingRevision.Author property Gets the author of the revision. ```csharp public string Author { get; } ``` ##### Property Value The author of the revision. ### DateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrevision/datetime.md #### WordProcessingRevision.DateTime property Gets the date/time of the revision. ```csharp public DateTime DateTime { get; } ``` ##### Property Value The date/time of the revision. ### RevisionType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrevision/revisiontype.md #### WordProcessingRevision.RevisionType property Gets the type of the revision. ```csharp public WordProcessingRevisionType RevisionType { get; } ``` ##### Property Value The type of the revision. ### WordProcessingRevisionType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrevisiontype.md #### WordProcessingRevisionType enumeration Specifies the type of the change being tracked by a revision. ```csharp public enum WordProcessingRevisionType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Insertion | `0` | New content was inserted into the document. | | Deletion | `1` | Content was removed from the document. | | FormatChange | `2` | Change of formatting was applied to the parent node. | | StyleDefinitionChange | `3` | Change of formatting was applied to the parent style. | | Moving | `4` | Content was moved in the document. | ### WordProcessingRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrootpackage.md #### WordProcessingRootPackage class Represents the root package allowing working with metadata in a word processing document. ```csharp public class WordProcessingRootPackage : DocumentRootPackage, IDublinCore ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | virtual DocumentProperties { get; } | Gets the native metadata properties presented in the document. | | DocumentStatistics { get; } | Gets the document statistics package. | | DublinCorePackage { get; } | Gets the Dublin Core metadata package extracted from the document. | | FileType { get; } | Gets the file type metadata package. (2 properties) | | InspectionPackage { get; } | Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | UpdateDocumentStatistics() | Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to read built-in metadata properties of a WordProcessing document. ```csharp using (Metadata metadata = new Metadata(Constants.InputDocx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentProperties.Author); Console.WriteLine(root.DocumentProperties.CreatedTime); Console.WriteLine(root.DocumentProperties.Company); Console.WriteLine(root.DocumentProperties.Category); Console.WriteLine(root.DocumentProperties.Keywords); // ... } ``` ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrootpackage/documentstatistics.md #### WordProcessingRootPackage.DocumentStatistics property Gets the document statistics package. ```csharp public DocumentStatistics DocumentStatistics { get; } ``` ##### Property Value The document statistics package. ##### Examples This code sample shows how to obtain simple text statistics for a WordProcessing document. ```csharp using (Metadata metadata = new Metadata(Constants.InputDocx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.DocumentStatistics.CharacterCount); Console.WriteLine(root.DocumentStatistics.PageCount); Console.WriteLine(root.DocumentStatistics.WordCount); } ``` ### DublinCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrootpackage/dublincorepackage.md #### WordProcessingRootPackage.DublinCorePackage property Gets the Dublin Core metadata package extracted from the document. ```csharp public DublinCorePackage DublinCorePackage { get; } ``` ##### Property Value The Dublin Core metadata package extracted from the document. ##### Examples This example demonstrates how to extract Dublin Core metadata from a WordProcessing document. ```csharp using (Metadata metadata = new Metadata(Constants.InputDocx)) { var root = metadata.GetRootPackage(); if (root.DublinCorePackage != null) { Console.WriteLine(root.DublinCorePackage.Format); Console.WriteLine(root.DublinCorePackage.Contributor); Console.WriteLine(root.DublinCorePackage.Coverage); Console.WriteLine(root.DublinCorePackage.Creator); Console.WriteLine(root.DublinCorePackage.Source); Console.WriteLine(root.DublinCorePackage.Description); // ... } } ``` ### FileType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrootpackage/filetype.md #### WordProcessingRootPackage.FileType property Gets the file type metadata package. ```csharp public WordProcessingTypePackage FileType { get; } ``` ##### Property Value The file type metadata package. ##### Examples This example shows how to detect the exact type of a loaded document and extract some additional file format information. ```csharp using (Metadata metadata = new Metadata(Constants.InputDoc)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.WordProcessingFormat); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } ``` ### InspectionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrootpackage/inspectionpackage.md #### WordProcessingRootPackage.InspectionPackage property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ```csharp public WordProcessingInspectionPackage InspectionPackage { get; } ``` ##### Property Value A metadata package containing inspection results for the document. ##### Examples This code sample shows how to inspect a WordProcessing document. ```csharp using (Metadata metadata = new Metadata(Constants.InputDocx)) { var root = metadata.GetRootPackage(); if (root.InspectionPackage.Comments != null) { foreach (var comment in root.InspectionPackage.Comments) { Console.WriteLine(comment.Author); Console.WriteLine(comment.CreatedDate); Console.WriteLine(comment.Text); // ... } } if (root.InspectionPackage.DigitalSignatures != null) { foreach (var signature in root.InspectionPackage.DigitalSignatures) { Console.WriteLine(signature.CertificateSubject); Console.WriteLine(signature.Comments); Console.WriteLine(signature.SignTime); // ... } } if (root.InspectionPackage.Fields != null) { foreach (var field in root.InspectionPackage.Fields) { Console.WriteLine(field.Code); Console.WriteLine(field.Result); } } if (root.InspectionPackage.HiddenText != null) { foreach (var textFragment in root.InspectionPackage.HiddenText) { Console.WriteLine(textFragment); } } if (root.InspectionPackage.Revisions != null) { foreach (var revision in root.InspectionPackage.Revisions) { Console.WriteLine(revision.Author); Console.WriteLine(revision.DateTime); Console.WriteLine(revision.RevisionType); } } } ``` ### UpdateDocumentStatistics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingrootpackage/updatedocumentstatistics.md #### WordProcessingRootPackage.UpdateDocumentStatistics method Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. ```csharp public void UpdateDocumentStatistics() ``` ##### Examples This code sample demonstrates how to update document statistics for a WordProcessing document. ```csharp using (Metadata metadata = new Metadata(Constants.InputDoc)) { var root = metadata.GetRootPackage(); root.UpdateDocumentStatistics(); metadata.Save(Constants.OutputDoc); } ``` ### WordProcessingTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingtypepackage.md #### WordProcessingTypePackage class Represents a metadata package containing document-specific file format information. ```csharp public class WordProcessingTypePackage : FileTypePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | WordProcessingFormat { get; } | Gets the exact word processing format. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### WordProcessingFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.document/wordprocessingtypepackage/wordprocessingformat.md #### WordProcessingTypePackage.WordProcessingFormat property Gets the exact word processing format. ```csharp public WordProcessingFormat WordProcessingFormat { get; } ``` ##### Property Value The exact word processing format. ### GroupDocs.Metadata.Formats.Ebook.Fb2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2.md #### Classes | Class | Description | | --- | --- | | Fb2Author | Represents an information about the author of the book. | | Fb2DocumentInfo | Description of information about the work (including translation, but excluding publication). | | Fb2PublishInfo | Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. | | Fb2Sequence | Represents an information about the sequence of the book. | | Fb2TitleInfo | Description of information about the work (including translation, but excluding publication). | #### Enumeration | Enumeration | Description | | --- | --- | | Fb2Genre | Defines Fb2 genres | ### Fb2Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author.md #### Fb2Author class Represents an information about the author of the book. ```csharp public class Fb2Author : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | Fb2Author(string, string, string, string, string, string, string) | | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Email { get; } | Gets the Email. | | FirstName { get; } | Gets the First Name. | | HomePage { get; } | Gets the HomePage. | | Id { get; } | Gets the Id. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LastName { get; } | Gets the Last Name. | | MetadataType { get; } | Gets the metadata type. | | MiddleName { get; } | Gets the Middle Name. | | NickName { get; } | Gets the NickName. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Email Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/email.md #### Fb2Author.Email property Gets the Email. ```csharp public string Email { get; } ``` ##### Property Value The Email. ### Fb2Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/fb2author.md #### Fb2Author constructor ```csharp public Fb2Author(string firstName, string middleName, string lastName, string nickName, string homePage, string email, string id) ``` ### FirstName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/firstname.md #### Fb2Author.FirstName property Gets the First Name. ```csharp public string FirstName { get; } ``` ##### Property Value The First Name. ### HomePage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/homepage.md #### Fb2Author.HomePage property Gets the HomePage. ```csharp public string HomePage { get; } ``` ##### Property Value The HomePage. ### Id Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/id.md #### Fb2Author.Id property Gets the Id. ```csharp public string Id { get; } ``` ##### Property Value The Id. ### LastName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/lastname.md #### Fb2Author.LastName property Gets the Last Name. ```csharp public string LastName { get; } ``` ##### Property Value The Last Name. ### MiddleName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/middlename.md #### Fb2Author.MiddleName property Gets the Middle Name. ```csharp public string MiddleName { get; } ``` ##### Property Value The Middle Name. ### NickName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2author/nickname.md #### Fb2Author.NickName property Gets the NickName. ```csharp public string NickName { get; } ``` ##### Property Value The NickName. ### Fb2DocumentInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo.md #### Fb2DocumentInfo class Description of information about the work (including translation, but excluding publication). ```csharp public class Fb2DocumentInfo : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Authors { get; } | Information about the author of the document | | Count { get; } | Gets the number of metadata properties. | | Date { get; } | Date | | Id { get; } | Gets the Id. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | ProgramUsed { get; } | The programs that were used in preparing the document are listed. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Publishers { get; } | Information about the author of the document | | SrcOcr { get; } | The author of the OCR or original document posted online. | | SrcUrl { get; } | Where did the original document available online come from | | Version { get; } | FB2 document version. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Authors Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/authors.md #### Fb2DocumentInfo.Authors property Information about the author of the document ```csharp public Fb2Author[] Authors { get; } ``` ##### Property Value The document author. ### Date Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/date.md #### Fb2DocumentInfo.Date property Date ```csharp public string Date { get; } ``` ##### Property Value The book date. ### Id Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/id.md #### Fb2DocumentInfo.Id property Gets the Id. ```csharp public string Id { get; } ``` ##### Property Value The Id. ### ProgramUsed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/programused.md #### Fb2DocumentInfo.ProgramUsed property The programs that were used in preparing the document are listed. ```csharp public string ProgramUsed { get; } ``` ##### Property Value The programs. ### Publishers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/publishers.md #### Fb2DocumentInfo.Publishers property Information about the author of the document ```csharp public Fb2Author[] Publishers { get; } ``` ##### Property Value The document author. ### SrcOcr Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/srcocr.md #### Fb2DocumentInfo.SrcOcr property The author of the OCR or original document posted online. ```csharp public string SrcOcr { get; } ``` ##### Property Value The author. ### SrcUrl Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/srcurl.md #### Fb2DocumentInfo.SrcUrl property Where did the original document available online come from ```csharp public string SrcUrl { get; } ``` ##### Property Value The url. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/version.md #### Fb2DocumentInfo.Version property FB2 document version. ```csharp public string Version { get; } ``` ##### Property Value The version. ### Fb2Genre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2genre.md #### Fb2Genre enumeration Defines Fb2 genres ```csharp public enum Fb2Genre ``` ##### Values | Name | Value | Description | | --- | --- | --- | | sf_history | `0` | | | sf_action | `1` | | | sf_epic | `2` | | | sf_heroic | `3` | | | sf_detective | `4` | | | sf_cyberpunk | `5` | | | sf_space | `6` | | | sf_social | `7` | | | sf_horror | `8` | | | sf_humor | `9` | | | sf_fantasy | `10` | | | sf | `11` | | | det_classic | `12` | | | det_police | `13` | | | det_action | `14` | | | det_irony | `15` | | | det_history | `16` | | | det_espionage | `17` | | | det_crime | `18` | | | det_political | `19` | | | det_maniac | `20` | | | det_hard | `21` | | | thriller | `22` | | | detective | `23` | | | prose_classic | `24` | | | prose_history | `25` | | | prose_contemporary | `26` | | | prose_counter | `27` | | | prose_rus_classic | `28` | | | prose_su_classics | `29` | | | love_contemporary | `30` | | | love_history | `31` | | | love_detective | `32` | | | love_short | `33` | | | love_erotica | `34` | | | adv_western | `35` | | | adv_history | `36` | | | adv_indian | `37` | | | adv_maritime | `38` | | | adv_geo | `39` | | | adv_animal | `40` | | | adventure | `41` | | | child_tale | `42` | | | child_verse | `43` | | | child_prose | `44` | | | child_sf | `45` | | | child_det | `46` | | | child_adv | `47` | | | child_education | `48` | | | children | `49` | | | poetry | `50` | | | dramaturgy | `51` | | | antique_ant | `52` | | | antique_european | `53` | | | antique_russian | `54` | | | antique_east | `55` | | | antique_myths | `56` | | | antique | `57` | | | sci_history | `58` | | | sci_psychology | `59` | | | sci_culture | `60` | | | sci_religion | `61` | | | sci_philosophy | `62` | | | sci_politics | `63` | | | sci_business | `64` | | | sci_juris | `65` | | | sci_linguistic | `66` | | | sci_medicine | `67` | | | sci_phys | `68` | | | sci_math | `69` | | | sci_chem | `70` | | | sci_biology | `71` | | | sci_tech | `72` | | | science | `73` | | | comp_www | `74` | | | comp_programming | `75` | | | comp_hard | `76` | | | comp_soft | `77` | | | comp_db | `78` | | | comp_osnet | `79` | | | computers | `80` | | | ref_encyc | `81` | | | ref_dict | `82` | | | ref_ref | `83` | | | ref_guide | `84` | | | reference | `85` | | | nonf_biography | `86` | | | nonf_publicism | `87` | | | nonf_criticism | `88` | | | design | `89` | | | nonfiction | `90` | | | religion_rel | `91` | | | religion_esoterics | `92` | | | religion_self | `93` | | | religion | `94` | | | humor_anecdote | `95` | | | humor_prose | `96` | | | humor_verse | `97` | | | humor | `98` | | | home_cooking | `99` | | | home_pets | `100` | | | home_crafts | `101` | | | home_entertain | `102` | | | home_health | `103` | | | home_garden | `104` | | | home_diy | `105` | | | home_sport | `106` | | | home_sex | `107` | | | home | `108` | | ### Fb2PublishInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo.md #### Fb2PublishInfo class Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. ```csharp public class Fb2PublishInfo : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | BookName { get; } | The title of the original (paper) book. | | City { get; } | City, place of publication of the original (paper) book. | | Count { get; } | Gets the number of metadata properties. | | Isbn { get; } | ISBN of the original (paper) book. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Publisher { get; } | The title of the original (paper) book. | | Sequence { get; } | The series of publications that the book belongs to and the number in the series. | | Year { get; } | Year of publication of the original (paper) book. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BookName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/bookname.md #### Fb2PublishInfo.BookName property The title of the original (paper) book. ```csharp public string BookName { get; } ``` ##### Property Value The title. ### City Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/city.md #### Fb2PublishInfo.City property City, place of publication of the original (paper) book. ```csharp public string City { get; } ``` ##### Property Value The city. ### Isbn Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/isbn.md #### Fb2PublishInfo.Isbn property ISBN of the original (paper) book. ```csharp public string Isbn { get; } ``` ##### Property Value The isbn. ### Publisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/publisher.md #### Fb2PublishInfo.Publisher property The title of the original (paper) book. ```csharp public string Publisher { get; } ``` ##### Property Value The title. ### Sequence Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/sequence.md #### Fb2PublishInfo.Sequence property The series of publications that the book belongs to and the number in the series. ```csharp public Fb2Sequence Sequence { get; } ``` ##### Property Value The book series. ### Year Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/year.md #### Fb2PublishInfo.Year property Year of publication of the original (paper) book. ```csharp public string Year { get; } ``` ##### Property Value The year. ### Fb2Sequence Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2sequence.md #### Fb2Sequence class Represents an information about the sequence of the book. ```csharp public class Fb2Sequence : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | Fb2Sequence(string, int, string) | | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Lang { get; } | Gets the language. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Series title | | Number { get; } | Book number in the series. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Fb2Sequence Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/fb2sequence.md #### Fb2Sequence constructor ```csharp public Fb2Sequence(string name, int number, string lang) ``` ### Lang Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/lang.md #### Fb2Sequence.Lang property Gets the language. ```csharp public string Lang { get; } ``` ##### Property Value The language. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/name.md #### Fb2Sequence.Name property Series title ```csharp public string Name { get; } ``` ##### Property Value The series title. ### Number Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/number.md #### Fb2Sequence.Number property Book number in the series. ```csharp public int? Number { get; } ``` ##### Property Value The book number in the series. ### Fb2TitleInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo.md #### Fb2TitleInfo class Description of information about the work (including translation, but excluding publication). ```csharp public class Fb2TitleInfo : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Authors { get; } | Information about the author of the book | | BookTitle { get; } | The title of the book. It can either match the book title (book-name) or differ (for example, when there are several works under one cover). | | Count { get; } | Gets the number of metadata properties. | | Coverpage { get; } | Contains a link to a graphic image of the book cover. | | Date { get; } | Date | | Genres { get; } | Describes the genre of the book. It is used to place the book in the library rubricator, for this reason the list of possible genres is strictly defined. It is allowed to specify several genres. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; } | List of keywords for the book. Intended for use by search engines. | | Lang { get; } | Language of the book (work) | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Sequence { get; } | The series of publications that the book belongs to and the number in the series. | | SrcLang { get; } | Original language (for translations). | | Translators { get; } | Information about the author of the book | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Authors Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/authors.md #### Fb2TitleInfo.Authors property Information about the author of the book ```csharp public Fb2Author[] Authors { get; } ``` ##### Property Value The book author. ### BookTitle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/booktitle.md #### Fb2TitleInfo.BookTitle property The title of the book. It can either match the book title (book-name) or differ (for example, when there are several works under one cover). ```csharp public string BookTitle { get; } ``` ##### Property Value The book title. ### Coverpage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/coverpage.md #### Fb2TitleInfo.Coverpage property Contains a link to a graphic image of the book cover. ```csharp public string[] Coverpage { get; } ``` ##### Property Value The book coverage. ### Date Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/date.md #### Fb2TitleInfo.Date property Date ```csharp public string Date { get; } ``` ##### Property Value The book date. ### Genres Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/genres.md #### Fb2TitleInfo.Genres property Describes the genre of the book. It is used to place the book in the library rubricator, for this reason the list of possible genres is strictly defined. It is allowed to specify several genres. ```csharp public Fb2Genre[] Genres { get; } ``` ##### Property Value The book genres. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/keywords.md #### Fb2TitleInfo.Keywords property List of keywords for the book. Intended for use by search engines. ```csharp public string Keywords { get; } ``` ##### Property Value The book keywords. ### Lang Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/lang.md #### Fb2TitleInfo.Lang property Language of the book (work) ```csharp public string Lang { get; } ``` ##### Property Value The book language. ### Sequence Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/sequence.md #### Fb2TitleInfo.Sequence property The series of publications that the book belongs to and the number in the series. ```csharp public Fb2Sequence Sequence { get; } ``` ##### Property Value The book series. ### SrcLang Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/srclang.md #### Fb2TitleInfo.SrcLang property Original language (for translations). ```csharp public string SrcLang { get; } ``` ##### Property Value The book original language. ### Translators Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/translators.md #### Fb2TitleInfo.Translators property Information about the author of the book ```csharp public Fb2Author[] Translators { get; } ``` ##### Property Value The book author. ### GroupDocs.Metadata.Formats.Ebook.Mobi Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi.md #### Classes | Class | Description | | --- | --- | | MobiHeader | Represents metadata in a Mobi e-book. | | MobiPackage | Represents metadata in a Mobi e-book. | | MobiRootPackage | Represents the root package allowing working with metadata in an Mobi e-book. | | PDBHeader | Represents metadata in a Mobi e-book. | ### MobiHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobiheader.md #### MobiHeader class Represents metadata in a Mobi e-book. ```csharp public sealed class MobiHeader : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FullName { get; set; } | Gets the Mobi e-book full name. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MobiType { get; } | Gets the mobi type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TextEncoding { get; } | Gets the Mobi Text Encoding. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### FullName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobiheader/fullname.md #### MobiHeader.FullName property Gets the Mobi e-book full name. ```csharp public string FullName { get; set; } ``` ##### Property Value The Mobi e-book full name. ### MobiType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobiheader/mobitype.md #### MobiHeader.MobiType property Gets the mobi type. ```csharp public uint MobiType { get; } ``` ##### Property Value The mobi type. ### TextEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobiheader/textencoding.md #### MobiHeader.TextEncoding property Gets the Mobi Text Encoding. ```csharp public uint TextEncoding { get; } ``` ##### Property Value The Mobi Text Encoding. ### MobiPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobipackage.md #### MobiPackage class Represents metadata in a Mobi e-book. ```csharp public sealed class MobiPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MobiHeader { get; } | | | PDBHeader { get; } | | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### MobiHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobipackage/mobiheader.md #### MobiPackage.MobiHeader property ```csharp public MobiHeader MobiHeader { get; } ``` ### PDBHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobipackage/pdbheader.md #### MobiPackage.PDBHeader property ```csharp public PDBHeader PDBHeader { get; } ``` ### MobiRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage.md #### MobiRootPackage class Represents the root package allowing working with metadata in an Mobi e-book. ```csharp public class MobiRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MobiPackage { get; } | Gets the Mobi metadata package. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### MobiPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/mobipackage.md #### MobiRootPackage.MobiPackage property Gets the Mobi metadata package. ```csharp public MobiPackage MobiPackage { get; } ``` ##### Property Value The Mobi metadata package. ##### Examples This code sample shows how to read Mobi format-specific metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputMobi)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.MobiPackage.Name); } ``` ### PDBHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader.md #### PDBHeader class Represents metadata in a Mobi e-book. ```csharp public sealed class PDBHeader : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | AppInfoID { get; set; } | Gets the app info ID. | | Attributes { get; set; } | Gets the mobi attributes. | | Count { get; } | Gets the number of metadata properties. | | CreationDate { get; set; } | Gets the creation date. | | Creator { get; set; } | Gets the creator. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LastBackupDate { get; set; } | Gets the last backup date. | | MetadataType { get; } | Gets the metadata type. | | ModificationDate { get; set; } | Gets the modification date. | | ModificationNumber { get; set; } | Gets the modification number. | | Name { get; set; } | Gets the Mobi e-book name. | | NextRecordList { get; } | | | NumRecords { get; } | Gets the num records. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SortInfoID { get; set; } | Gets the sort info ID. | | Type { get; set; } | Gets the type. | | UniqueIDSeed { get; set; } | Gets the unique ID seed. | | Version { get; set; } | Gets the Mobi version. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AppInfoID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/appinfoid.md #### PDBHeader.AppInfoID property Gets the app info ID. ```csharp public uint AppInfoID { get; set; } ``` ##### Property Value The app info ID. ### Attributes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/attributes.md #### PDBHeader.Attributes property Gets the mobi attributes. ```csharp public ushort Attributes { get; set; } ``` ##### Property Value The mobi attributes. ### CreationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/creationdate.md #### PDBHeader.CreationDate property Gets the creation date. ```csharp public DateTime CreationDate { get; set; } ``` ##### Property Value The creation date. ### Creator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/creator.md #### PDBHeader.Creator property Gets the creator. ```csharp public string Creator { get; set; } ``` ##### Property Value The creator. ### LastBackupDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/lastbackupdate.md #### PDBHeader.LastBackupDate property Gets the last backup date. ```csharp public DateTime LastBackupDate { get; set; } ``` ##### Property Value The last backup date. ### ModificationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/modificationdate.md #### PDBHeader.ModificationDate property Gets the modification date. ```csharp public DateTime ModificationDate { get; set; } ``` ##### Property Value The modification date. ### ModificationNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/modificationnumber.md #### PDBHeader.ModificationNumber property Gets the modification number. ```csharp public uint ModificationNumber { get; set; } ``` ##### Property Value The modification number. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/name.md #### PDBHeader.Name property Gets the Mobi e-book name. ```csharp public string Name { get; set; } ``` ##### Property Value The Mobi e-book name. ### NextRecordList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/nextrecordlist.md #### PDBHeader.NextRecordList property ```csharp public uint NextRecordList { get; } ``` ### NumRecords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/numrecords.md #### PDBHeader.NumRecords property Gets the num records. ```csharp public ushort NumRecords { get; } ``` ##### Property Value The num records. ### SortInfoID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/sortinfoid.md #### PDBHeader.SortInfoID property Gets the sort info ID. ```csharp public uint SortInfoID { get; set; } ``` ##### Property Value The sort info ID. ### Type Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/type.md #### PDBHeader.Type property Gets the type. ```csharp public string Type { get; set; } ``` ##### Property Value The type. ### UniqueIDSeed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/uniqueidseed.md #### PDBHeader.UniqueIDSeed property Gets the unique ID seed. ```csharp public uint UniqueIDSeed { get; set; } ``` ##### Property Value The unique ID seed. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.mobi/pdbheader/version.md #### PDBHeader.Version property Gets the Mobi version. ```csharp public ushort Version { get; set; } ``` ##### Property Value The Mobi version. ### GroupDocs.Metadata.Formats.Ebook Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook.md The namespace provides functionality for working with electronic book formats. #### Classes | Class | Description | | --- | --- | | EpubPackage | Represents metadata in a EPUB e-book. | | EpubRootPackage | Represents the root package allowing working with metadata in an EPUB e-book. | | Fb2RootPackage | Represents the root package allowing working with metadata in an Fb2 e-book. | ### EpubPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage.md #### EpubPackage class Represents metadata in a EPUB e-book. ```csharp public sealed class EpubPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Abstract { get; set; } | Gets or sets a summary of the resource. | | AccessRights { get; set; } | Gets or sets the information about who access the resource or an indication of its security status. | | AccrualMethod { get; set; } | Gets or sets the method by which items are added to a collection. | | AccrualPeriodicity { get; set; } | Gets or sets the frequency with which items are added to a collection. | | AccrualPolicy { get; set; } | Gets or sets the policy governing the addition of items to a collection. | | Alternative { get; set; } | Gets or sets an alternative name for the resource. | | Audience { get; set; } | Gets or sets a class of agents for whom the resource is intended or useful. | | Available { get; set; } | Gets or sets the date that the resource became or will become available. | | BibliographicCitation { get; set; } | Gets or sets a bibliographic reference for the resource. | | ConformsTo { get; set; } | Gets or sets an established standard to which the described resource conforms. | | Contributor { get; set; } | Gets or sets an entity responsible for making contributions to the resource. | | Count { get; } | Gets the number of metadata properties. | | Coverage { get; set; } | Gets or sets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | | Created { get; set; } | Gets or sets the date of creation of the resource. | | Creator { get; set; } | Gets or sets an entity responsible for making the resource. | | Date { get; set; } | Gets or sets a point or period of time associated with an event in the lifecycle of the resource. | | DateAccepted { get; set; } | Gets or sets the date of acceptance of the resource. | | DateCopyrighted { get; set; } | Gets or sets the date of copyright of the resource. | | DateSubmitted { get; set; } | Gets or sets the date of submission of the resource. | | Description { get; set; } | Gets or sets an account of the resource. | | EducationLevel { get; set; } | Gets or sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | | Extent { get; set; } | Gets or sets the size or duration of the resource. | | Format { get; set; } | Gets or sets the file format, physical medium, or dimensions of the resource. | | HasFormat { get; set; } | Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. | | HasPart { get; set; } | Gets or sets a related resource that is included either physically or logically in the described resource. | | HasVersion { get; set; } | Gets or sets a related resource that is a version, edition, or adaptation of the described resource. | | Identifier { get; set; } | Gets or sets an unambiguous reference to the resource within a given context. | | ImageCover { get; } | Gets the image cover as an array of bytes. | | InstructionalMethod { get; set; } | Gets or sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | | IsFormatOf { get; set; } | Gets or sets a pre-existing related resource that is substantially the same as the described resource, but in another format. | | IsPartOf { get; set; } | Gets or sets a related resource in which the described resource is physically or logically included. | | IsReferencedBy { get; set; } | Gets or sets a related resource that references, cites, or otherwise points to the described resource. | | IsReplacedBy { get; set; } | Gets or sets a related resource that supplants, displaces, or supersedes the described resource. | | IsRequiredBy { get; set; } | Gets or sets a related resource that requires the described resource to support its function, delivery, or coherence. | | Issued { get; set; } | Gets or sets the date of formal issuance of the resource. | | IsVersionOf { get; set; } | Gets or sets a related resource of which the described resource is a version, edition, or adaptation. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; set; } | Gets or sets the language of the resource. | | License { get; set; } | Gets or sets a legal document giving official permission to do something with the resource. | | Mediator { get; set; } | Gets or sets an entity that mediates access to the resource. | | Medium { get; set; } | Gets or sets the material or physical carrier of the resource. | | MetadataType { get; } | Gets the metadata type. | | Modified { get; set; } | Gets or sets the date on which the resource was changed. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Provenance { get; set; } | Gets or sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | | Publisher { get; set; } | Gets or sets an entity responsible for making the resource available. | | References { get; set; } | Gets or sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. | | Relation { get; set; } | Gets or sets a related resource. | | Replaces { get; set; } | Gets or sets a related resource that is supplanted, displaced, or superseded by the described resource. | | Requires { get; set; } | Gets or sets a related resource that is required by the described resource to support its function, delivery, or coherence. | | Rights { get; set; } | Gets or sets the information about rights held in and over the resource. | | RightsHolder { get; set; } | Gets or sets a person or organization owning or managing rights over the resource. | | Source { get; set; } | Gets or sets a related resource from which the described resource is derived. | | Spatial { get; set; } | Gets or sets the spatial characteristics of the resource. | | Subject { get; set; } | Gets or sets a topic of the resource. | | TableOfContents { get; set; } | Gets or sets a list of subunits of the resource. | | Temporal { get; set; } | Gets or sets the temporal characteristics of the resource. | | Title { get; set; } | Gets or sets a name given to the resource. | | Type { get; set; } | Gets or sets the nature or genre of the resource. | | UniqueIdentifier { get; } | Gets the package unique identifier. | | Valid { get; set; } | Gets or sets the date (often a range) of validity of a resource. | | Version { get; } | Gets the EPUB version. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Abstract Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/abstract.md #### EpubPackage.Abstract property Gets or sets a summary of the resource. ```csharp public string Abstract { get; set; } ``` ##### Property Value A summary of the resource. ### AccessRights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/accessrights.md #### EpubPackage.AccessRights property Gets or sets the information about who access the resource or an indication of its security status. ```csharp public string AccessRights { get; set; } ``` ##### Property Value The information about who access the resource or an indication of its security status. ### AccrualMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/accrualmethod.md #### EpubPackage.AccrualMethod property Gets or sets the method by which items are added to a collection. ```csharp public string AccrualMethod { get; set; } ``` ##### Property Value The method by which items are added to a collection. ### AccrualPeriodicity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/accrualperiodicity.md #### EpubPackage.AccrualPeriodicity property Gets or sets the frequency with which items are added to a collection. ```csharp public string AccrualPeriodicity { get; set; } ``` ##### Property Value The frequency with which items are added to a collection. ### AccrualPolicy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/accrualpolicy.md #### EpubPackage.AccrualPolicy property Gets or sets the policy governing the addition of items to a collection. ```csharp public string AccrualPolicy { get; set; } ``` ##### Property Value The policy governing the addition of items to a collection. ### Alternative Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/alternative.md #### EpubPackage.Alternative property Gets or sets an alternative name for the resource. ```csharp public string Alternative { get; set; } ``` ##### Property Value An alternative name for the resource. ### Audience Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/audience.md #### EpubPackage.Audience property Gets or sets a class of agents for whom the resource is intended or useful. ```csharp public string Audience { get; set; } ``` ##### Property Value A class of agents for whom the resource is intended or useful. ### Available Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/available.md #### EpubPackage.Available property Gets or sets the date that the resource became or will become available. ```csharp public string Available { get; set; } ``` ##### Property Value The date that the resource became or will become available. ### BibliographicCitation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/bibliographiccitation.md #### EpubPackage.BibliographicCitation property Gets or sets a bibliographic reference for the resource. ```csharp public string BibliographicCitation { get; set; } ``` ##### Property Value A bibliographic reference for the resource. ### ConformsTo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/conformsto.md #### EpubPackage.ConformsTo property Gets or sets an established standard to which the described resource conforms. ```csharp public string ConformsTo { get; set; } ``` ##### Property Value An established standard to which the described resource conforms. ### Contributor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/contributor.md #### EpubPackage.Contributor property Gets or sets an entity responsible for making contributions to the resource. ```csharp public string Contributor { get; set; } ``` ##### Property Value An entity responsible for making contributions to the resource. ### Created Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/created.md #### EpubPackage.Created property Gets or sets the date of creation of the resource. ```csharp public string Created { get; set; } ``` ##### Property Value The date of creation of the resource. ### Creator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/creator.md #### EpubPackage.Creator property Gets or sets an entity responsible for making the resource. ```csharp public string Creator { get; set; } ``` ##### Property Value An entity responsible for making the resource. ### Date Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/date.md #### EpubPackage.Date property Gets or sets a point or period of time associated with an event in the lifecycle of the resource. ```csharp public string Date { get; set; } ``` ##### Property Value A point or period of time associated with an event in the lifecycle of the resource. ### DateAccepted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/dateaccepted.md #### EpubPackage.DateAccepted property Gets or sets the date of acceptance of the resource. ```csharp public string DateAccepted { get; set; } ``` ##### Property Value The date of acceptance of the resource. ### DateCopyrighted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/datecopyrighted.md #### EpubPackage.DateCopyrighted property Gets or sets the date of copyright of the resource. ```csharp public string DateCopyrighted { get; set; } ``` ##### Property Value The date of copyright of the resource. ### DateSubmitted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/datesubmitted.md #### EpubPackage.DateSubmitted property Gets or sets the date of submission of the resource. ```csharp public string DateSubmitted { get; set; } ``` ##### Property Value The date of submission of the resource. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/description.md #### EpubPackage.Description property Gets or sets an account of the resource. ```csharp public string Description { get; set; } ``` ##### Property Value An account of the resource. ### EducationLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/educationlevel.md #### EpubPackage.EducationLevel property Gets or sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. ```csharp public string EducationLevel { get; set; } ``` ##### Property Value A class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. ### Extent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/extent.md #### EpubPackage.Extent property Gets or sets the size or duration of the resource. ```csharp public string Extent { get; set; } ``` ##### Property Value The size or duration of the resource. ### Format Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/format.md #### EpubPackage.Format property Gets or sets the file format, physical medium, or dimensions of the resource. ```csharp public string Format { get; set; } ``` ##### Property Value The file format, physical medium, or dimensions of the resource. ### HasFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/hasformat.md #### EpubPackage.HasFormat property Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. ```csharp public string HasFormat { get; set; } ``` ##### Property Value A related resource that is substantially the same as the pre-existing described resource, but in another format. ### HasPart Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/haspart.md #### EpubPackage.HasPart property Gets or sets a related resource that is included either physically or logically in the described resource. ```csharp public string HasPart { get; set; } ``` ##### Property Value A related resource that is included either physically or logically in the described resource. ### HasVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/hasversion.md #### EpubPackage.HasVersion property Gets or sets a related resource that is a version, edition, or adaptation of the described resource. ```csharp public string HasVersion { get; set; } ``` ##### Property Value A related resource that is a version, edition, or adaptation of the described resource. ### Identifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/identifier.md #### EpubPackage.Identifier property Gets or sets an unambiguous reference to the resource within a given context. ```csharp public string Identifier { get; set; } ``` ##### Property Value An unambiguous reference to the resource within a given context. ### ImageCover Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/imagecover.md #### EpubPackage.ImageCover property Gets the image cover as an array of bytes. ```csharp public byte[] ImageCover { get; } ``` ##### Property Value The image cover. ### InstructionalMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/instructionalmethod.md #### EpubPackage.InstructionalMethod property Gets or sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. ```csharp public string InstructionalMethod { get; set; } ``` ##### Property Value A process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. ### IsFormatOf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/isformatof.md #### EpubPackage.IsFormatOf property Gets or sets a pre-existing related resource that is substantially the same as the described resource, but in another format. ```csharp public string IsFormatOf { get; set; } ``` ##### Property Value A pre-existing related resource that is substantially the same as the described resource, but in another format. ### IsPartOf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/ispartof.md #### EpubPackage.IsPartOf property Gets or sets a related resource in which the described resource is physically or logically included. ```csharp public string IsPartOf { get; set; } ``` ##### Property Value A related resource in which the described resource is physically or logically included. ### IsReferencedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/isreferencedby.md #### EpubPackage.IsReferencedBy property Gets or sets a related resource that references, cites, or otherwise points to the described resource. ```csharp public string IsReferencedBy { get; set; } ``` ##### Property Value A related resource that references, cites, or otherwise points to the described resource. ### IsReplacedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/isreplacedby.md #### EpubPackage.IsReplacedBy property Gets or sets a related resource that supplants, displaces, or supersedes the described resource. ```csharp public string IsReplacedBy { get; set; } ``` ##### Property Value A related resource that supplants, displaces, or supersedes the described resource. ### IsRequiredBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/isrequiredby.md #### EpubPackage.IsRequiredBy property Gets or sets a related resource that requires the described resource to support its function, delivery, or coherence. ```csharp public string IsRequiredBy { get; set; } ``` ##### Property Value A related resource that requires the described resource to support its function, delivery, or coherence. ### Issued Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/issued.md #### EpubPackage.Issued property Gets or sets the date of formal issuance of the resource. ```csharp public string Issued { get; set; } ``` ##### Property Value The date of formal issuance of the resource. ### IsVersionOf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/isversionof.md #### EpubPackage.IsVersionOf property Gets or sets a related resource of which the described resource is a version, edition, or adaptation. ```csharp public string IsVersionOf { get; set; } ``` ##### Property Value A related resource of which the described resource is a version, edition, or adaptation. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/language.md #### EpubPackage.Language property Gets or sets the language of the resource. ```csharp public string Language { get; set; } ``` ##### Property Value The language of the resource. ### License Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/license.md #### EpubPackage.License property Gets or sets a legal document giving official permission to do something with the resource. ```csharp public string License { get; set; } ``` ##### Property Value A legal document giving official permission to do something with the resource. ### Mediator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/mediator.md #### EpubPackage.Mediator property Gets or sets an entity that mediates access to the resource. ```csharp public string Mediator { get; set; } ``` ##### Property Value An entity that mediates access to the resource. ### Medium Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/medium.md #### EpubPackage.Medium property Gets or sets the material or physical carrier of the resource. ```csharp public string Medium { get; set; } ``` ##### Property Value The material or physical carrier of the resource. ### Modified Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/modified.md #### EpubPackage.Modified property Gets or sets the date on which the resource was changed. ```csharp public string Modified { get; set; } ``` ##### Property Value The date on which the resource was changed. ### Provenance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/provenance.md #### EpubPackage.Provenance property Gets or sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. ```csharp public string Provenance { get; set; } ``` ##### Property Value A statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. ### Publisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/publisher.md #### EpubPackage.Publisher property Gets or sets an entity responsible for making the resource available. ```csharp public string Publisher { get; set; } ``` ##### Property Value An entity responsible for making the resource available. ### References Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/references.md #### EpubPackage.References property Gets or sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. ```csharp public string References { get; set; } ``` ##### Property Value A related resource that is referenced, cited, or otherwise pointed to by the described resource. ### Relation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/relation.md #### EpubPackage.Relation property Gets or sets a related resource. ```csharp public string Relation { get; set; } ``` ##### Property Value A related resource. ### Replaces Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/replaces.md #### EpubPackage.Replaces property Gets or sets a related resource that is supplanted, displaced, or superseded by the described resource. ```csharp public string Replaces { get; set; } ``` ##### Property Value A related resource that is supplanted, displaced, or superseded by the described resource. ### Requires Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/requires.md #### EpubPackage.Requires property Gets or sets a related resource that is required by the described resource to support its function, delivery, or coherence. ```csharp public string Requires { get; set; } ``` ##### Property Value A related resource that is required by the described resource to support its function, delivery, or coherence. ### Rights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/rights.md #### EpubPackage.Rights property Gets or sets the information about rights held in and over the resource. ```csharp public string Rights { get; set; } ``` ##### Property Value The information about rights held in and over the resource. ### RightsHolder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/rightsholder.md #### EpubPackage.RightsHolder property Gets or sets a person or organization owning or managing rights over the resource. ```csharp public string RightsHolder { get; set; } ``` ##### Property Value A person or organization owning or managing rights over the resource. ### Source Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/source.md #### EpubPackage.Source property Gets or sets a related resource from which the described resource is derived. ```csharp public string Source { get; set; } ``` ##### Property Value A related resource from which the described resource is derived. ### Spatial Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/spatial.md #### EpubPackage.Spatial property Gets or sets the spatial characteristics of the resource. ```csharp public string Spatial { get; set; } ``` ##### Property Value The spatial characteristics of the resource. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/subject.md #### EpubPackage.Subject property Gets or sets a topic of the resource. ```csharp public string Subject { get; set; } ``` ##### Property Value A topic of the resource. ### TableOfContents Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/tableofcontents.md #### EpubPackage.TableOfContents property Gets or sets a list of subunits of the resource. ```csharp public string TableOfContents { get; set; } ``` ##### Property Value A list of subunits of the resource. ### Temporal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/temporal.md #### EpubPackage.Temporal property Gets or sets the temporal characteristics of the resource. ```csharp public string Temporal { get; set; } ``` ##### Property Value The temporal characteristics of the resource. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/title.md #### EpubPackage.Title property Gets or sets a name given to the resource. ```csharp public string Title { get; set; } ``` ##### Property Value A name given to the resource. ### Type Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/type.md #### EpubPackage.Type property Gets or sets the nature or genre of the resource. ```csharp public string Type { get; set; } ``` ##### Property Value The nature or genre of the resource. ### UniqueIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/uniqueidentifier.md #### EpubPackage.UniqueIdentifier property Gets the package unique identifier. ```csharp public string UniqueIdentifier { get; } ``` ##### Property Value The package unique identifier. ### Valid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/valid.md #### EpubPackage.Valid property Gets or sets the date (often a range) of validity of a resource. ```csharp public string Valid { get; set; } ``` ##### Property Value The date (often a range) of validity of a resource. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubpackage/version.md #### EpubPackage.Version property Gets the EPUB version. ```csharp public string Version { get; } ``` ##### Property Value The EPUB version. ### EpubRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubrootpackage.md #### EpubRootPackage class Represents the root package allowing working with metadata in an EPUB e-book. ```csharp public class EpubRootPackage : RootMetadataPackage, IDublinCore ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DublinCorePackage { get; } | Gets the Dublin Core metadata package extracted from the e-book. | | EpubPackage { get; } | Gets the EPUB metadata package. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DublinCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubrootpackage/dublincorepackage.md #### EpubRootPackage.DublinCorePackage property Gets the Dublin Core metadata package extracted from the e-book. ```csharp public DublinCorePackage DublinCorePackage { get; } ``` ##### Property Value The Dublin Core metadata package extracted from the e-book. ##### Examples This example shows how to extract Dublin Core metadata from an EPUB file. ```csharp using (Metadata metadata = new Metadata(Constants.InputEpub)) { var root = metadata.GetRootPackage(); if (root.DublinCorePackage != null) { Console.WriteLine(root.DublinCorePackage.Rights); Console.WriteLine(root.DublinCorePackage.Publisher); Console.WriteLine(root.DublinCorePackage.Title); Console.WriteLine(root.DublinCorePackage.Creator); Console.WriteLine(root.DublinCorePackage.Language); Console.WriteLine(root.DublinCorePackage.Date); // ... } } ``` ### EpubPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/epubrootpackage/epubpackage.md #### EpubRootPackage.EpubPackage property Gets the EPUB metadata package. ```csharp public EpubPackage EpubPackage { get; } ``` ##### Property Value The EPUB metadata package. ##### Examples This code sample shows how to read EPUB format-specific metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputEpub)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.EpubPackage.Version); Console.WriteLine(root.EpubPackage.UniqueIdentifier); Console.WriteLine(root.EpubPackage.ImageCover != null ? root.EpubPackage.ImageCover.Length : 0); } ``` ### Fb2RootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/fb2rootpackage.md #### Fb2RootPackage class Represents the root package allowing working with metadata in an Fb2 e-book. ```csharp public class Fb2RootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Fb2Package { get; } | Gets the Fb2 metadata package. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Fb2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.ebook/fb2rootpackage/fb2package.md #### Fb2RootPackage.Fb2Package property Gets the Fb2 metadata package. ```csharp public Fb2Package Fb2Package { get; } ``` ##### Property Value The Fb2 metadata package. ##### Examples This code sample shows how to read Fb2 format-specific metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputFb2)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Fb2Package.TitleInfo.BookTitle); } ``` ### GroupDocs.Metadata.Formats.Email.Msg Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email.msg.md #### Enumeration | Enumeration | Description | | --- | --- | | MsgKnownProperties | Defines known msg properties. | ### MsgKnownProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email.msg/msgknownproperties.md #### MsgKnownProperties enumeration Defines known msg properties. ```csharp public enum MsgKnownProperties : long ``` ##### Values | Name | Value | Description | | --- | --- | --- | | ObjectUri | `1627455519` | | | contactEtag | `1627521055` | | | photoEtag | `1627586591` | | | PR_ACCESS | `267649027` | | | PR_ACL_DATA | `1071644930` | | | PR_ACCESS_LEVEL | `267845635` | | | PR_ACCOUNT | `973078559` | | | PR_ADDITIONAL_REN_ENTRYIDS | `920129794` | | | PR_ADDITIONAL_REN_ENTRYIDS_EX | `920191234` | | | PR_EMS_AB_AUTH_ORIG | `2362966029` | | | PR_EMS_AB_CONTAINERID | `4294770691` | | | PR_EMS_AB_DELIV_CONT_LENGTH | `2154430467` | | | PR_EMS_AB_DISPLAY_NAME_PRINTABLE | `973013023` | | | PR_EMS_AB_DISPLAY_TYPE_EX | `2358444035` | | | PR_EMS_AB_DL_EXTERNAL_MEMBER_COUNT | `2363686915` | | | PR_EMS_AB_DL_TOTAL_MEMBER_COUNT | `2363621379` | | | PR_EMS_AB_DL_MEM_SUBMIT_PERMS_BL_O | `2155020301` | | | PR_EMS_AB_DL_MEM_SUBMIT_PERMS | `2363097101` | | | PR_EMS_AB_DL_MEM_REJECT_PERMS | `2363162637` | | | PR_ADDRESS_BOOK_ENTRYID | `1715142914` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_1 | `2150432799` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_10 | `2151022623` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_11 | `2354511903` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_12 | `2354577439` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_13 | `2354642975` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_14 | `2355101727` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_15 | `2355167263` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_2 | `2150498335` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_3 | `2150563871` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_4 | `2150629407` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_5 | `2150694943` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_6 | `2150760479` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_7 | `2150826015` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_8 | `2150891551` | | | PR_EMS_AB_EXTENSION_ATTRIBUTE_9 | `2150957087` | | | PR_EMS_AB_FOLDER_PATHNAME | `2147745823` | | | PR_EMS_AB_HAB_CHILD_DEPARTMENTS | `2358902797` | | | PR_EMS_AB_HAB_DEPARTMENT_MEMBERS | `2358706189` | | | PR_EMS_AB_HAB_IS_HIERARCHICAL_GROUP | `2363293707` | | | PR_EMS_AB_HAB_PARENT_DEPARTMENT | `2358837261` | | | PR_EMS_AB_HAB_ROOT_DEPARTMENT | `2358771743` | | | PR_EMS_AB_HAB_SHOW_IN_DEPARTMENTS | `2358509581` | | | PR_EMS_AB_HOME_MDB | `2147876895` | | | PR_EMS_AB_IS_MASTER | `4294639627` | | | PR_EMS_AB_IS_MEMBER_OF_DL | `2148007967` | | | PR_EMS_AB_MANAGE_DL | `1728315405` | | | PR_EMS_AB_MANAGER | `2147811341` | | | PR_EMS_AB_MANAGER_T | `2147811359` | | | PR_EMS_AB_MEMBER | `2148073485` | | | PR_EMS_AB_ENABLE_MODERATION | `2360672267` | | | PR_EMS_AB_NETWORK_ADDRESS | `2171605023` | | | PR_EMS_AB_OBJ_DIST_NAME | `2151415839` | | | PR_EMS_AB_OBJECT_GUID | `2355953922` | | | PR_EMS_AB_ORG_UNIT_ROOT_DN | `2359820319` | | | PR_EMS_AB_OWNER_O | `2148270093` | | | PR_EMS_AB_OWNER_BL_O | `2149842957` | | | PR_EMS_AB_PARENT_ENTRYID | `4294705410` | | | PR_EMS_AB_PHONETIC_COMPANY_NAME | `2358312991` | | | PR_EMS_AB_PHONETIC_DEPARTMENT_NAME | `2358247455` | | | PR_EMS_AB_PHONETIC_DISPLAY_NAME | `2358378527` | | | PR_EMS_AB_PHONETIC_GIVEN_NAME | `2358116383` | | | PR_EMS_AB_PHONETIC_SURNAME | `2358181919` | | | PR_EMS_AB_PROXY_ADDRESSES | `2148470815` | | | PR_EMS_AB_PUBLIC_DELEGATES | `2148859917` | | | PR_EMS_AB_REPORTS | `2148401165` | | | PR_EMS_AB_ROOM_CAPACITY | `134676483` | | | PR_EMS_AB_ROOM_CONTAINERS | `2358644767` | | | PR_EMS_AB_ROOM_DESCRIPTION | `134807583` | | | PR_EMS_AB_DL_SENDER_HINT_TRANSLATIONS_W | `2360086559` | | | PR_EMS_AB_TARGET_ADDRESS | `2148597791` | | | PR_EMS_AB_UNAUTH_ORIG | `2363031565` | | | PR_EMS_AB_X509_CERT | `2355761410` | | | PR_ADDRTYPE | `805437471` | | | PR_ALTERNATE_RECIPIENT_ALLOWED | `131083` | | | PR_ANR | `906756127` | | | PR_ARCHIVE_DATE | `807338048` | | | PR_ARCHIVE_PERIOD | `807272451` | | | PR_ARCHIVE_TAG | `806879490` | | | PR_ASSISTANT | `976224287` | | | PR_ASSISTANT_TELEPHONE_NUMBER | `976093215` | | | PR_ATTACH_ADDITIONAL_INFO | `923730178` | | | PR_ATTACH_CONTENT_ID | `923926559` | | | PR_ATTACH_CONTENT_LOCATION | `923992095` | | | PR_ATTACH_DATA_BIN | `922812674` | | | PR_ATTACH_DATA_OBJ | `922812429` | | | PR_ATTACH_ENCODING | `922878210` | | | PR_ATTACH_EXTENSION | `922943519` | | | PR_ATTACH_FILENAME | `923009055` | | | PR_ATTACH_FLAGS | `924057603` | | | PR_ATTACH_LONG_FILENAME | `923205663` | | | PR_ATTACH_LONG_PATHNAME | `923598879` | | | PR_ATTACHMENT_CONTACTPHOTO | `2147418123` | | | PR_ATTACHMENT_FLAGS | `2147287043` | | | PR_ATTACHMENT_HIDDEN | `2147352587` | | | PR_ATTACHMENT_LINKID | `2147090435` | | | PR_ATTACH_METHOD | `923074563` | | | PR_ATTACH_MIME_TAG | `923664415` | | | PR_ATTACH_NUM | `237043715` | | | PR_ATTACH_PATHNAME | `923271199` | | | PR_ATTACH_PAYLOAD_CLASS | `924450847` | | | PR_ATTACH_PAYLOAD_PROV_GUID_STR | `924385311` | | | PR_ATTACH_RENDERING | `923336962` | | | PR_ATTACH_SIZE | `236978179` | | | PR_ATTACH_TAG | `923402498` | | | PR_ATTACH_TRANSPORT_NAME | `923533343` | | | PR_ATTR_HIDDEN | `284426251` | | | PR_ATTR_READONLY | `284557323` | | | PR_AUTO_FORWARD_COMMENT | `262175` | | | PR_AUTO_FORWARDED | `327691` | | | PR_AUTO_RESPONSE_SUPPRESS | `1071579139` | | | PR_BIRTHDAY | `977403968` | | | PR_BLOCK_STATUS | `278265859` | | | PR_BODY | `268435487` | | | PR_BODY_CONTENT_ID | `269811743` | | | PR_BODY_CONTENT_LOCATION | `269746207` | | | PR_BODY_HTML | `269680671` | | | PR_BUSINESS2_TELEPHONE_NUMBER_A | `974848031` | | | PR_BUSINESS2_TELEPHONE_NUMBER_A_MV | `974852127` | | | PR_BUSINESS_FAX_NUMBER | `975437855` | | | PR_BUSINESS_HOME_PAGE | `978386975` | | | PR_BUSINESS_TELEPHONE_NUMBER | `973602847` | | | PR_CALLBACK_TELEPHONE_NUMBER | `973209631` | | | PR_CAR_TELEPHONE_NUMBER | `975044639` | | | PR_CDO_RECURRENCEID | `281346112` | | | PR_CHANGE_KEY | `1709310210` | | | PR_CHILDRENS_NAMES | `978849823` | | | PR_CLIENT_ACTIONS | `1715798274` | | | PR_CLIENT_SUBMIT_TIME | `3735616` | | | PR_CODE_PAGE_ID | `1724055555` | | | PR_COMMENT | `805568543` | | | PR_COMPANY_MAIN_PHONE_NUMBER | `978780191` | | | PR_COMPANY_NAME | `974520351` | | | PR_COMPUTER_NETWORK_NAME | `977862687` | | | PR_CONFLICT_ENTRYID | `1072693506` | | | PR_CONTAINER_CLASS | `907214879` | | | PR_CONTAINER_CONTENTS | `906952717` | | | PR_CONTAINER_FLAGS | `905969667` | | | PR_CONTAINER_HIERARCHY | `906887181` | | | PR_CONTENT_COUNT | `906100739` | | | PR_CONTENT_FILTER_SCL | `1081475075` | | | PR_CONTENT_UNREAD | `906166275` | | | PR_CONVERSATION_ID | `806551810` | | | PR_CONVERSATION_INDEX | `7405826` | | | PR_CONVERSATION_INDEX_TRACKING | `806748171` | | | PR_CONVERSATION_TOPIC | `7340063` | | | PR_COUNTRY | `975568927` | | | PR_CREATION_TIME | `805765184` | | | PR_CREATOR_ENTRYID | `1073283330` | | | PR_CREATOR_NAME | `1073217567` | | | PR_CUSTOMER_ID | `977928223` | | | PR_DAM_BACK_PATCHED | `1715929099` | | | PR_DAM_ORIGINAL_ENTRYID | `1715863810` | | | PR_DEF_POST_MSGCLASS | `920977439` | | | PR_DAM_ORIG_MSG_SVREID | `1732313339` | | | PR_DEFERRED_DELIVERY_TIME | `983104` | | | PR_DEFERRED_SEND_NUMBER | `1072365571` | | | PR_DEFERRED_SEND_TIME | `1072627776` | | | PR_DEFERRED_SEND_UNITS | `1072431107` | | | PR_DELEGATED_BY_RULE | `1071841291` | | | PR_DELEGATE_FLAGS | `1751846915` | | | PR_DELETE_AFTER_SUBMIT | `234946571` | | | PR_DELETED_COUNT_TOTAL | `1728774147` | | | PR_DELETED_ON | `1720647744` | | | PR_DELIVER_TIME | `1048640` | | | PR_DEPARTMENT_NAME | `974651423` | | | PR_DEPTH | `805634051` | | | PR_DISPLAY_BCC | `235012127` | | | PR_DISPLAY_CC | `235077663` | | | PR_DISPLAY_NAME | `805371935` | | | PR_DISPLAY_NAME_PREFIX | `977600543` | | | PR_DISPLAY_TO | `235143199` | | | PR_DISPLAY_TYPE | `956301315` | | | PR_DISPLAY_TYPE_EX | `956628995` | | | PR_EMAIL_ADDRESS | `805503007` | | | PR_END_DATE | `6357056` | | | PR_ENTRYID | `268370178` | | | PR_EXCEPTION_ENDTIME | `2147221568` | | | PR_EXCEPTION_REPLACETIME | `2147024960` | | | PR_EXCEPTION_STARTTIME | `2147156032` | | | PR_EXPIRY_NUMBER | `1072496643` | | | PR_EXPIRY_TIME | `1376320` | | | PR_EXPIRY_UNITS | `1072562179` | | | PR_EXTENDED_FOLDER_FLAGS | `920256770` | | | PR_EXTENDED_RULE_MSG_ACTIONS | `244908290` | | | PR_EXTENDED_RULE_MSG_CONDITION | `244973826` | | | PR_EXTENDED_RULE_SIZE_LIMIT | `245039107` | | | PR_FLAG_COMPLETE_TIME | `277938240` | | | PR_FLAG_STATUS | `277872643` | | | PR_FLAT_URL_NAME | `1728970783` | | | PR_FOLDER_ASSOCIATED_CONTENTS | `907018253` | | | PR_FOLDER_FLAGS | `1722286083` | | | PR_FOLDER_TYPE | `906035203` | | | PR_FOLLOWUP_ICON | `278200323` | | | PR_FREEBUSY_COUNT_MONTHS | `1751711747` | | | PR_FREEBUSY_ENTRYIDS | `920916226` | | | PR_FREEBUSY_EMA | `1749614623` | | | PR_FREEBUSY_PUBLISH_END | `1749549059` | | | PR_FREEBUSY_PUBLISH_START | `1749483523` | | | PR_FREEBUSY_RANGE_TIMESTAMP | `1751646272` | | | PR_FTP_SITE | `978059295` | | | PR_GATEWAY_NEEDS_TO_REFRESH | `1749417995` | | | PR_GENDER | `978124802` | | | PR_GENERATION | `973406239` | | | PR_GIVEN_NAME | `973471775` | | | PR_GOVERNMENT_ID_NUMBER | `973537311` | | | PR_HASATTACH | `236650507` | | | PR_HAS_DAMS | `1072300043` | | | PR_HAS_NAMED_PROPERTIES | `1716125707` | | | PR_HAS_RULES | `1715077131` | | | PR_HIERARCHY_CHANGE_NUM | `1715339267` | | | PR_HIER_REV | `1082261568` | | | PR_HOBBIES | `977469471` | | | PR_HOME2_TELEPHONE_NUMBER | `976158751` | | | PR_HOME2_TELEPHONE_NUMBER_A_MV | `976162847` | | | PR_HOME_ADDRESS_CITY | `978911263` | | | PR_HOME_ADDRESS_COUNTRY | `978976799` | | | PR_HOME_ADDRESS_POSTAL_CODE | `979042335` | | | PR_HOME_ADDRESS_POST_OFFICE_BOX | `979238943` | | | PR_HOME_ADDRESS_STATE_OR_PROVINCE | `979107871` | | | PR_HOME_ADDRESS_STREET | `979173407` | | | PR_HOME_FAX_NUMBER | `975503391` | | | PR_HOME_TELEPHONE_NUMBER | `973668383` | | | PR_HTML | `269680898` | | | PR_ICON_INDEX | `276824067` | | | PR_IMPORTANCE | `1507331` | | | PR_IN_CONFLICT | `1718353931` | | | PR_INITIAL_DETAILS_PANE | `1057488899` | | | PR_INITIALS | `973733919` | | | PR_IN_REPLY_TO_ID | `272760863` | | | PR_INSTANCE_KEY | `267780354` | | | PR_INTERNET_CPID | `1071513603` | | | PR_INETMAIL_OVERRIDE_FORMAT | `1493303299` | | | PR_INTERNET_MESSAGE_ID | `271908895` | | | PR_INTERNET_REFERENCES | `272171039` | | | PR_IPM_APPOINTMENT_ENTRYID | `919601410` | | | PR_IPM_CONTACT_ENTRYID | `919666946` | | | PR_IPM_DRAFTS_ENTRYID | `920060162` | | | PR_IPM_JOURNAL_ENTRYID | `919732482` | | | PR_IPM_NOTE_ENTRYID | `919798018` | | | PR_IPM_TASK_ENTRYID | `919863554` | | | PR_ISDN_NUMBER | `976027679` | | | PR_JUNK_ADD_RECIPS_TO_SSL | `1627586563` | | | PR_JUNK_INCLUDE_CONTACTS | `1627389955` | | | PR_JUNK_PERMANENTLY_DELETE | `1627521027` | | | PR_JUNK_PHISHING_ENABLE_LINKS | `1627848715` | | | PR_JUNK_THRESHOLD | `1627455491` | | | PR_KEYWORD | `973799455` | | | PR_LANGUAGE | `973864991` | | | PR_LAST_MODIFICATION_TIME | `805830720` | | | PR_LAST_MODIFIER_ENTRYID | `1073414402` | | | PR_LAST_MODIFIER_NAME | `1073348639` | | | PR_LAST_VERB_EXECUTED | `276889603` | | | PR_LAST_VERB_EXECUTION_TIME | `276955200` | | | PR_LIST_HELP | `272826399` | | | PR_LIST_SUBSCRIBE | `272891935` | | | PR_LIST_UNSUBSCRIBE | `272957471` | | | PR_LOCAL_COMMIT_TIME | `1728643136` | | | PR_LOCAL_COMMIT_TIME_MAX | `1728708672` | | | PR_LOCALE_ID | `1721827331` | | | PR_LOCALITY | `975634463` | | | PR_LOCATION | `973930527` | | | PR_MAILBOX_OWNER_ENTRYID | `1713045762` | | | PR_MAILBOX_OWNER_NAME | `1713111071` | | | PR_MANAGER_NAME | `978190367` | | | PR_MAPPING_SIGNATURE | `267911426` | | | PR_MAX_SUBMIT_MESSAGE_SIZE | `1718419459` | | | PR_MEMBER_ID | `1718681620` | | | PR_MEMBER_NAME | `1718747167` | | | PR_MEMBER_RIGHTS | `1718812675` | | | PR_MESSAGE_ATTACHMENTS | `236126221` | | | PR_MESSAGE_CC_ME | `5767179` | | | PR_MESSAGE_CLASS | `1703967` | | | PR_MESSAGE_CODEPAGE | `1073545219` | | | PR_MESSAGE_DELIVERY_TIME | `235274304` | | | PR_MSG_EDITOR_FORMAT | `1493762051` | | | PR_MESSAGE_FLAGS | `235339779` | | | PR_MHS_COMMON_NAME | `974061599` | | | PR_MESSAGE_LOCALE_ID | `1072758787` | | | PR_MESSAGE_RECIP_ME | `5832715` | | | PR_MESSAGE_RECIPIENTS | `236060685` | | | PR_MESSAGE_SIZE | `235405315` | | | PR_MESSAGE_SIZE_EXTENDED | `235405332` | | | PR_MSG_STATUS | `236388355` | | | PR_MESSAGE_SUBMISSION_ID | `4653314` | | | PR_MESSAGE_TO_ME | `5701643` | | | PR_MIDDLE_NAME | `977535007` | | | PR_MOBILE_TELEPHONE_NUMBER | `974913567` | | | PR_NATIVE_BODY_INFO | `269877251` | | | PR_NEXT_SEND_ACCT | `237568031` | | | PR_NICKNAME | `978255903` | | | PR_NDR_DIAG_CODE | `201654275` | | | PR_NDR_REASON_CODE | `201588739` | | | PR_NDR_STATUS_CODE | `203423747` | | | PR_NON_RECEIPT_NOTIFICATION_REQUESTED | `201719819` | | | PR_NORMALIZED_SUBJECT | `236781599` | | | PR_OBJECT_TYPE | `268304387` | | | PR_OFFICE_LOCATION | `974716959` | | | PR_OAB_CONTAINER_GUID | `1744961567` | | | PR_OAB_DN | `1745092639` | | | PR_OAB_MESSAGE_CLASS | `1745027075` | | | PR_OAB_NAME | `1744830495` | | | PR_OAB_SEQUENCE | `1744896003` | | | PR_OAB_TRUNCATED_PROPS | `1745162243` | | | PR_ORDINAL_MOST | `920780803` | | | PR_ORGANIZATIONAL_ID_NUMBER | `974127135` | | | PR_ORIGINAL_AUTHOR_ENTRYID | `4980994` | | | PR_ORIGINAL_AUTHOR_NAME_W | `5046303` | | | PR_ORIGINAL_DELIVERY_TIME | `5570624` | | | PR_ORIGINAL_DISPLAY_BCC | `7471135` | | | PR_ORIGINAL_DISPLAY_CC | `7536671` | | | PR_ORIGINAL_DISPLAY_TO | `7602207` | | | PR_ORIGINAL_ENTRYID | `974258434` | | | PR_ORIG_MESSAGE_CLASS | `4915231` | | | PR_ORIGINAL_SENDER_ADDRTYPE | `6684703` | | | PR_ORIGINAL_SENDER_EMAIL_ADDRESS | `6750239` | | | PR_ORIGINAL_SENDER_ENTRYID | `5964034` | | | PR_ORIGINAL_SENDER_NAME | `5898271` | | | PR_ORIGINAL_SENDER_SEARCH_KEY | `6029570` | | | PR_ORIGINAL_SENSITIVITY | `3014659` | | | PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE | `6815775` | | | PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS | `6881311` | | | PR_ORIGINAL_SENT_REPRESENTING_ENTRYID | `6160642` | | | PR_ORIGINAL_SENT_REPRESENTING_NAME | `6094879` | | | PR_ORIGINAL_SENT_REPRESENTING_SEARCH_KEY | `6226178` | | | PR_ORIGINAL_SUBJECT | `4784159` | | | PR_ORIGINAL_SUBMIT_TIME | `5111872` | | | PR_ORIGINATOR_DELIVERY_REPORT_REQUESTED | `2293771` | | | PR_ORIGINATOR_NON_DELIVERY_REPORT_REQUESTED | `201850891` | | | PR_OSC_SYNC_ENABLEDONSERVER | `2082734091` | | | PR_OTHER_ADDRESS_CITY | `979304479` | | | PR_OTHER_ADDRESS_COUNTRY | `979370015` | | | PR_OTHER_ADDRESS_POSTAL_CODE | `979435551` | | | PR_OTHER_ADDRESS_POST_OFFICE_BOX | `979632159` | | | PR_OTHER_ADDRESS_STATE_OR_PROVINCE | `979501087` | | | PR_OTHER_ADDRESS_STREET | `979566623` | | | PR_OTHER_TELEPHONE_NUMBER | `975110175` | | | PR_OOF_STATE | `1713176587` | | | PR_OWNER_APPT_ID | `6422531` | | | PR_PAGER_TELEPHONE_NUMBER | `975241247` | | | PR_PARENT_ENTRYID | `235471106` | | | PR_PARENT_KEY | `2425090` | | | PR_PARENT_SOURCE_KEY | `1709244674` | | | PR_PERSONAL_HOME_PAGE | `978321439` | | | PR_POLICY_TAG | `806945026` | | | PR_POSTAL_ADDRESS | `974454815` | | | PR_POSTAL_CODE | `975831071` | | | PR_POST_OFFICE_BOX | `975896607` | | | PR_PREDECESSOR_CHANGE_LIST | `1709375746` | | | PR_PRIMARY_FAX_NUMBER | `975372319` | | | PR_PRIMARY_SEND_ACCT | `237502495` | | | PR_PRIMARY_TELEPHONE_NUMBER | `974782495` | | | PR_PRIORITY | `2490371` | | | PR_PROCESSED | `2097217547` | | | PR_PROFESSION | `977666079` | | | PR_PROHIBIT_RECEIVE_QUOTA | `1718222851` | | | PR_PROHIBIT_SEND_QUOTA | `1718484995` | | | PR_PURPORTED_SENDER_DOMAIN | `1082327071` | | | PR_RADIO_TELEPHONE_NUMBER | `974979103` | | | PR_READ | `241762315` | | | PR_READ_RECEIPT_ENTRYID | `4587778` | | | PR_READ_RECEIPT_REQUESTED | `2686987` | | | PR_READ_RECEIPT_SEARCH_KEY | `5439746` | | | PR_RECEIPT_TIME | `2752576` | | | PR_RECEIVED_BY_ADDRTYPE | `7667743` | | | PR_RECEIVED_BY_EMAIL_ADDRESS | `7733279` | | | PR_RECEIVED_BY_ENTRYID | `4129026` | | | PR_RECEIVED_BY_NAME | `4194335` | | | PR_RECEIVED_BY_SEARCH_KEY | `5308674` | | | PR_RCVD_REPRESENTING_ADDRTYPE | `7798815` | | | PR_RCVD_REPRESENTING_EMAIL_ADDRESS | `7864351` | | | PR_RCVD_REPRESENTING_ENTRYID | `4391170` | | | PR_RCVD_REPRESENTING_NAME | `4456479` | | | PR_RCVD_REPRESENTING_SEARCH_KEY | `5374210` | | | PR_RECIPIENT_DISPLAY_NAME | `1609957407` | | | PR_RECIPIENT_ENTRYID | `1610023170` | | | PR_RECIPIENT_FLAGS | `1610416131` | | | PR_RECIPIENT_ORDER | `1608450051` | | | PR_RECIPIENT_PROPOSED | `1608581131` | | | PR_RECIPIENT_PROPOSEDENDTIME | `1608777792` | | | PR_RECIPIENT_PROPOSEDSTARTTIME | `1608712256` | | | PR_RECIPIENT_REASSIGNMENT_PROHIBITED | `2818059` | | | PR_RECIPIENT_TRACKSTATUS | `1610547203` | | | PR_RECIPIENT_TRACKSTATUS_TIME | `1610285120` | | | PR_RECIPIENT_TYPE | `202702851` | | | PR_RECORD_KEY | `267976962` | | | PR_REFERRED_BY_NAME | `977731615` | | | PR_REM_ONLINE_ENTRYID | `919929090` | | | PR_DSN_REMOTE_MTA | `203489311` | | | PR_RENDERING_POSITION | `923467779` | | | PR_REPLY_RECIPIENT_ENTRIES | `5177602` | | | PR_REPLY_RECIPIENT_NAMES | `5242911` | | | PR_REPLY_REQUESTED | `202833931` | | | PR_REPLY_TEMPLATE_ID | `1707213058` | | | PR_REPLY_TIME | `3145792` | | | PR_REPORT_DISPOSITION_W | `8388639` | | | PR_REPORT_DISPOSITION_MODE_W | `8454175` | | | PR_REPORT_ENTRYID | `4522242` | | | PR_REPORT_NAME | `3801119` | | | PR_REPORT_SEARCH_KEY | `5505282` | | | PR_REPORT_TAG | `3211522` | | | PR_REPORT_TEXT | `268501023` | | | PR_REPORT_TIME | `3276864` | | | PR_RESOLVE_METHOD | `1072103427` | | | PR_RESPONSE_REQUESTED | `6488075` | | | PR_RESPONSIBILITY | `235864075` | | | PR_RETENTION_DATE | `807141440` | | | PR_RETENTION_FLAGS | `807206915` | | | PR_RETENTION_PERIOD | `807010307` | | | PR_RIGHTS | `1715011587` | | | PR_ROAMING_DATATYPES | `2080768003` | | | PR_ROAMING_DICTIONARY | `2080833794` | | | PR_ROAMING_XMLSTREAM | `2080899330` | | | PR_ROWID | `805306371` | | | PR_ROW_TYPE | `267714563` | | | PR_RTF_COMPRESSED | `269025538` | | | PR_RTF_IN_SYNC | `236912651` | | | PR_RULE_ACTION_NUMBER | `1716518915` | | | PR_RULE_ACTIONS | `1719664894` | | | PR_RULE_ACTION_TYPE | `1716060163` | | | PR_RULE_CONDITION | `1719206141` | | | PR_RULE_ERROR | `1715994627` | | | PR_RULE_FOLDER_ENTRYID | `1716584706` | | | PR_RULE_ID | `1718878228` | | | PR_RULE_IDS | `1718944002` | | | PR_RULE_LEVEL | `1719861251` | | | PR_RULE_MSG_LEVEL | `1710030851` | | | PR_RULE_MSG_PROVIDER_DATA | `1710096642` | | | PR_RULE_MSG_SEQUENCE | `1710424067` | | | PR_RULE_MSG_STATE | `1709768707` | | | PR_RULE_MSG_USER_FLAGS | `1709834243` | | | PR_RULE_NAME | `1719795743` | | | PR_RULE_PROVIDER | `1719730207` | | | PR_RULE_PROVIDER_DATA | `1719927042` | | | PR_RULE_SEQUENCE | `1719009283` | | | PR_RULE_STATE | `1719074819` | | | PR_RULE_USER_FLAGS | `1719140355` | | | PR_RW_RULES_STREAM | `1744961794` | | | PR_SCHDINFO_APPT_TOMBSTONE | `1751777538` | | | PR_SCHDINFO_AUTO_ACCEPT_APPTS | `1751973899` | | | PR_SCHDINFO_DELEGATE_ENTRYIDS | `1749356802` | | | PR_SCHDINFO_DELEGATE_NAMES | `1749291039` | | | PR_SCHDINFO_DELEGATE_NAMES_W | `1749684255` | | | PR_SCHDINFO_BOSS_WANTS_COPY | `1749155851` | | | PR_SCHDINFO_BOSS_WANTS_INFO | `1749745675` | | | PR_SCHDINFO_DISALLOW_OVERLAPPING_APPTS | `1752104971` | | | PR_SCHDINFO_DISALLOW_RECURRING_APPTS | `1752039435` | | | PR_SCHDINFO_DONT_MAIL_DELEGATES | `1749221387` | | | PR_SCHDINFO_FREEBUSY | `1751908610` | | | PR_SCHDINFO_FREEBUSY_OOF | `1750470914` | | | PR_SCHDINFO_FREEBUSY_BUSY | `1750339842` | | | PR_SCHDINFO_FREEBUSY_MERGED | `1750077698` | | | PR_SCHDINFO_FREEBUSY_TENTATIVE | `1750208770` | | | PR_SCHDINFO_MONTHS_OOF | `1750405123` | | | PR_SCHDINFO_MONTHS_BUSY | `1750274051` | | | PR_SCHDINFO_MONTHS_MERGED | `1750011907` | | | PR_SCHDINFO_MONTHS_TENTATIVE | `1750142979` | | | PR_SCHDINFO_RESOURCE_TYPE | `1749090307` | | | PR_SPLUS_FREE_BUSY_ENTRYID | `1713504514` | | | PR_EMS_SCRIPT_BLOB | `262402` | | | PR_WB_SF_DEFINITION | `1749352706` | | | PR_WB_SF_EFP_FLAGS | `1749549059` | | | PR_WB_SF_EXPIRATION | `1748631555` | | | PR_WB_SF_ID | `1749156098` | | | PR_WB_SF_LAST_USED | `1748238339` | | | PR_WB_SF_RECREATE_INFO | `1749287170` | | | PR_WB_SF_STORAGE_TYPE | `1749417987` | | | PR_WB_SF_TAG | `1749483523` | | | PR_WB_SF_TEMPLATE_ID | `1749090307` | | | PR_SEARCH_KEY | `806027522` | | | PR_NT_SECURITY_DESCRIPTOR_AS_XML | `241827871` | | | PR_SELECTABLE | `906559499` | | | PR_SENDER_ADDRTYPE | `203292703` | | | PR_SENDER_EMAIL_ADDRESS | `203358239` | | | PR_SENDER_ENTRYID | `202965250` | | | PR_SENDER_ID_STATUS | `1081671683` | | | PR_SENDER_NAME | `203030559` | | | PR_SENDER_SEARCH_KEY | `203227394` | | | PR_SEND_INTERNET_ENCODING | `980484099` | | | PR_SEND_RICH_INFO | `977272843` | | | PR_SENSITIVITY | `3538947` | | | PR_SENT_REPRESENTING_ADDRTYPE | `6553631` | | | PR_SENT_REPRESENTING_EMAIL_ADDRESS | `6619167` | | | PR_SENT_REPRESENTING_ENTRYID | `4260098` | | | PR_SENT_REPRESENTING_NAME | `4325407` | | | PR_SENT_REPRESENTING_SEARCH_KEY | `3866882` | | | PR_SENT_REPRESENTING_SMTP_ADDRESS | `1560412191` | | | PR_SMTP_ADDRESS | `972947487` | | | PR_SORT_LOCALE_ID | `1728380931` | | | PR_SOURCE_KEY | `1709179138` | | | PR_EMS_AB_UM_SPOKEN_NAME | `2361524482` | | | PR_SPOUSE_NAME | `977797151` | | | PR_START_DATE | `6291520` | | | PR_START_DATE_ETC | `807076098` | | | PR_STATE_OR_PROVINCE | `975699999` | | | PR_STORE_ENTRYID | `268108034` | | | PR_STORE_STATE | `873332739` | | | PR_STORE_SUPPORT_MASK | `873267203` | | | PR_STREET_ADDRESS | `975765535` | | | PR_SUBFOLDERS | `906625035` | | | PR_SUBJECT | `3604511` | | | PR_SUBJECT_PREFIX | `3997727` | | | PR_SUPPLEMENTARY_INFO | `203096095` | | | PR_SURNAME | `974192671` | | | PR_SWAPPED_TODO_DATA | `237830402` | | | PR_SWAPPED_TODO_STORE | `237764866` | | | PR_TARGET_ENTRYID | `806355202` | | | PR_TTYTDD_PHONE_NUMBER | `977993759` | | | PR_TELEX_NUMBER | `975962143` | | | PR_EMS_TEMPLATE_BLOB | `65794` | | | PR_TEMPLATEID | `956432642` | | | PR_EMS_AB_THUMBNAIL_PHOTO | `2359165186` | | | PR_TITLE | `974585887` | | | PR_TNEF_CORRELATION_KEY | `8323330` | | | PR_TODO_ITEM_FLAGS | `237699075` | | | PR_TRANSMITABLE_DISPLAY_NAME | `975175711` | | | PR_TRANSPORT_MESSAGE_HEADERS | `8192031` | | | PR_TRUST_SENDER | `242810883` | | | PR_USER_CERTIFICATE | `975307010` | | | PR_USER_ENTRYID | `1712914690` | | | PR_USER_X509_CERTIFICATE | `980422914` | | | PR_VD_BINARY | `1879113986` | | | PR_VD_NAME | `1879441439` | | | PR_VD_STRINGS | `1879179295` | | | PR_VD_VERSION | `1879506947` | | | PR_WEDDING_ANNIVERSARY | `977338432` | | | PR_WLINK_ABEID | `1750335746` | | | PR_WLINK_AB_EXSTOREEID | `1754333442` | | | PR_WLINK_CALENDAR_COLOR | `1750269955` | | | PR_WLINK_CLIENTID | `1754267906` | | | PR_WLINK_ENTRYID | `1749811458` | | | PR_WLINK_FLAGS | `1749680131` | | | PR_WLINK_FOLDER_TYPE | `1750008066` | | | PR_WLINK_GROUP_CLSID | `1750073602` | | | PR_WLINK_GROUP_NAME | `1750138911` | | | PR_WLINK_ORDINAL | `1749745922` | | | PR_WLINK_RECKEY | `1749876994` | | | PR_WLINK_RO_GROUP_TYPE | `1754398723` | | | PR_WLINK_SECTION | `1750204419` | | | PR_WLINK_STORE_ENTRYID | `1749942530` | | | PR_WLINK_TYPE | `1749614595` | | | PR_ABSTRACT | `1071251486` | | | PR_ACTIVE_USER_ENTRYID | `1716650242` | | | PR_ADDRBOOK_FOR_LOCAL_SITE_ENTRYID | `1713766658` | | | PR_ADDRESS_BOOK_DISPLAY_NAME | `1072168990` | | | PR_ARRIVAL_TIME | `1717502016` | | | PR_ASSOC_MESSAGE_SIZE | `1723072515` | | | PR_ASSOC_MESSAGE_SIZE_EXTENDED | `1723072532` | | | PR_ASSOC_MSG_W_ATTACH_COUNT | `1722679299` | | | PR_ATTACH_ON_ASSOC_MSG_COUNT | `1722941443` | | | PR_ATTACH_ON_NORMAL_MSG_COUNT | `1722875907` | | | PR_AUTO_ADD_NEW_SUBS | `1709506571` | | | PR_BILATERAL_INFO | `1071382786` | | | PR_CACHED_COLUMN_COUNT | `1722548227` | | | PR_CATEG_COUNT | `1722482691` | | | PR_CHANGE_ADVISOR | `1714683917` | | | PR_CHANGE_NOTIFICATION_GUID | `1714880584` | | | PR_COLLECTOR | `1714290701` | | | PR_CONTACT_COUNT | `1723269123` | | | PR_CONTENT_SEARCH_KEY | `1717960962` | | | PR_CONTENTS_SYNCHRONIZER | `1714225165` | | | PR_DELETED_ASSOC_MESSAGE_SIZE_EXTENDED | `1721565204` | | | PR_DELETED_ASSOC_MSG_COUNT | `1715666947` | | | PR_DELETED_FOLDER_COUNT | `1715535875` | | | PR_DELETED_MESSAGE_SIZE_EXTENDED | `1721434132` | | | PR_DELETED_MSG_COUNT | `1715470339` | | | PR_DELETED_NORMAL_MESSAGE_SIZE_EXTENDED | `1721499668` | | | PR_DESIGN_IN_PROGRESS | `1071906827` | | | PR_DISABLE_FULL_FIDELITY | `284295179` | | | PR_DISABLE_WINSOCK | `1712848899` | | | PR_DL_REPORT_FLAGS | `1071316995` | | | PR_EFORMS_FOR_LOCALE_ENTRYID | `1713635586` | | | PR_EFORMS_LOCALE_ID | `1072234499` | | | PR_EFORMS_REGISTRY_ENTRYID | `1713438978` | | | PR_EMS_AB_ACCESS_CATEGORY | `2151940099` | | | PR_EMS_AB_ACTIVATION_SCHEDULE | `2152005890` | | | PR_EMS_AB_ACTIVATION_STYLE | `2152071171` | | | PR_EMS_AB_ADDRESS_ENTRY_DISPLAY_TABLE | `2148991234` | | | PR_EMS_AB_ADDRESS_ENTRY_DISPLAY_TABLE_MSDOS | `2152136962` | | | PR_EMS_AB_ADDRESS_SYNTAX | `2149056770` | | | PR_EMS_AB_ADDRESS_TYPE | `2152202270` | | | PR_EMS_AB_ADMD | `2152267806` | | | PR_EMS_AB_ADMIN_DESCRIPTION | `2152333342` | | | PR_EMS_AB_ADMIN_DISPLAY_NAME | `2152398878` | | | PR_EMS_AB_ADMIN_EXTENSION_DLL | `2152464414` | | | PR_EMS_AB_ALIASED_OBJECT_NAME | `2152529950` | | | PR_EMS_AB_ALIASED_OBJECT_NAME_O | `2152529933` | | | PR_EMS_AB_ALT_RECIPIENT | `2152595486` | | | PR_EMS_AB_ALT_RECIPIENT_BL | `2152665118` | | | PR_EMS_AB_ALT_RECIPIENT_BL_O | `2152661005` | | | PR_EMS_AB_ALT_RECIPIENT_O | `2152595469` | | | PR_EMS_AB_ANCESTOR_ID | `2152726786` | | | PR_EMS_AB_ANONYMOUS_ACCESS | `2173108235` | | | PR_EMS_AB_ANONYMOUS_ACCOUNT | `2351300638` | | | PR_EMS_AB_ASSOC_NT_ACCOUNT | `2150039810` | | | PR_EMS_AB_ASSOC_PROTOCOL_CFG_NNTP | `2175074334` | | | PR_EMS_AB_ASSOC_PROTOCOL_CFG_NNTP_O | `2175074317` | | | PR_EMS_AB_ASSOC_REMOTE_DXA | `2152796190` | | | PR_EMS_AB_ASSOC_REMOTE_DXA_O | `2152792077` | | | PR_EMS_AB_ASSOCIATION_LIFETIME | `2152857603` | | | PR_EMS_AB_ATTRIBUTE_CERTIFICATE | `2353336578` | | | PR_EMS_AB_AUTH_ORIG_BL | `2152927262` | | | PR_EMS_AB_AUTH_ORIG_BL_O | `2152923149` | | | PR_EMS_AB_AUTHENTICATION_TO_USE | `2174353438` | | | PR_EMS_AB_AUTHORITY_REVOCATION_LIST | `2149978370` | | | PR_EMS_AB_AUTHORIZED_DOMAIN | `2152988702` | | | PR_EMS_AB_AUTHORIZED_PASSWORD | `2153054466` | | | PR_EMS_AB_AUTHORIZED_PASSWORD_CONFIRM | `2173829378` | | | PR_EMS_AB_AUTHORIZED_USER | `2153119774` | | | PR_EMS_AB_AUTOREPLY | `2148204555` | | | PR_EMS_AB_AUTOREPLY_MESSAGE | `2148139038` | | | PR_EMS_AB_AUTOREPLY_SUBJECT | `2151546910` | | | PR_EMS_AB_AVAILABLE_AUTHORIZATION_PACKAGES | `2172719134` | | | PR_EMS_AB_AVAILABLE_DISTRIBUTIONS | `2173370398` | | | PR_EMS_AB_BRIDGEHEAD_SERVERS | `2171867166` | | | PR_EMS_AB_BRIDGEHEAD_SERVERS_O | `2171863053` | | | PR_EMS_AB_BUSINESS_CATEGORY | `2153189406` | | | PR_EMS_AB_BUSINESS_ROLES | `2149777666` | | | PR_EMS_AB_CA_CERTIFICATE | `2147684610` | | | PR_EMS_AB_CAN_CREATE_PF | `2153254942` | | | PR_EMS_AB_CAN_CREATE_PF_BL | `2153320478` | | | PR_EMS_AB_CAN_CREATE_PF_BL_O | `2153316365` | | | PR_EMS_AB_CAN_CREATE_PF_DL | `2153386014` | | | PR_EMS_AB_CAN_CREATE_PF_DL_BL | `2153451550` | | | PR_EMS_AB_CAN_CREATE_PF_DL_BL_O | `2153447437` | | | PR_EMS_AB_CAN_CREATE_PF_DL_O | `2153381901` | | | PR_EMS_AB_CAN_CREATE_PF_O | `2153250829` | | | PR_EMS_AB_CAN_NOT_CREATE_PF | `2153517086` | | | PR_EMS_AB_CAN_NOT_CREATE_PF_BL | `2153582622` | | | PR_EMS_AB_CAN_NOT_CREATE_PF_BL_O | `2153578509` | | | PR_EMS_AB_CAN_NOT_CREATE_PF_DL | `2153648158` | | | PR_EMS_AB_CAN_NOT_CREATE_PF_DL_BL | `2153713694` | | | PR_EMS_AB_CAN_NOT_CREATE_PF_DL_BL_O | `2153709581` | | | PR_EMS_AB_CAN_NOT_CREATE_PF_DL_O | `2153644045` | | | PR_EMS_AB_CAN_NOT_CREATE_PF_O | `2153512973` | | | PR_EMS_AB_CAN_PRESERVE_DNS | `2153775115` | | | PR_EMS_AB_CERTIFICATE_CHAIN_V3 | `2351366402` | | | PR_EMS_AB_CERTIFICATE_REVOCATION_LIST | `2148925698` | | | PR_EMS_AB_CERTIFICATE_REVOCATION_LIST_V1 | `2351497474` | | | PR_EMS_AB_CERTIFICATE_REVOCATION_LIST_V3 | `2351431938` | | | PR_EMS_AB_CHARACTER_SET | `2172977182` | | | PR_EMS_AB_CHARACTER_SET_LIST | `2172784670` | | | PR_EMS_AB_CHILD_RDNS | `4294447134` | | | PR_EMS_AB_CLIENT_ACCESS_ENABLED | `2351169547` | | | PR_EMS_AB_CLOCK_ALERT_OFFSET | `2153840643` | | | PR_EMS_AB_CLOCK_ALERT_REPAIR | `2153906187` | | | PR_EMS_AB_CLOCK_WARNING_OFFSET | `2153971715` | | | PR_EMS_AB_CLOCK_WARNING_REPAIR | `2154037259` | | | PR_EMS_AB_COMPROMISED_KEY_LIST | `2177106178` | | | PR_EMS_AB_COMPUTER_NAME | `2154102814` | | | PR_EMS_AB_CONNECTED_DOMAINS | `2154172446` | | | PR_EMS_AB_CONNECTION_LIST_FILTER | `2172649730` | | | PR_EMS_AB_CONNECTION_LIST_FILTER_TYPE | `2176057347` | | | PR_EMS_AB_CONNECTION_TYPE | `2175991819` | | | PR_EMS_AB_CONTAINER_INFO | `2154233859` | | | PR_EMS_AB_CONTENT_TYPE | `2173042691` | | | PR_EMS_AB_CONTROL_MSG_FOLDER_ID | `2173174018` | | | PR_EMS_AB_CONTROL_MSG_RULES | `2173305090` | | | PR_EMS_AB_COST | `2154299395` | | | PR_EMS_AB_COUNTRY_NAME | `2154364958` | | | PR_EMS_AB_CROSS_CERTIFICATE_CRL | `2351960322` | | | PR_EMS_AB_CROSS_CERTIFICATE_PAIR | `2149912834` | | | PR_EMS_AB_DEFAULT_MESSAGE_FORMAT | `2352414731` | | | PR_EMS_AB_DELEGATE_USER | `2353594379` | | | PR_EMS_AB_DELIV_EITS | `2154500354` | | | PR_EMS_AB_DELIV_EXT_CONT_TYPES | `2154565890` | | | PR_EMS_AB_DELIVER_AND_REDIRECT | `2154627083` | | | PR_EMS_AB_DELIVERY_MECHANISM | `2154692611` | | | PR_EMS_AB_DELTA_REVOCATION_LIST | `2353402114` | | | PR_EMS_AB_DESCRIPTION | `2154762270` | | | PR_EMS_AB_DESTINATION_INDICATOR | `2154827806` | | | PR_EMS_AB_DIAGNOSTIC_REG_KEY | `2154889246` | | | PR_EMS_AB_DISABLE_DEFERRED_COMMIT | `2351104011` | | | PR_EMS_AB_DISABLED_GATEWAY_PROXY | `2177044510` | | | PR_EMS_AB_DISPLAY_NAME_OVERRIDE | `2147549195` | | | PR_EMS_AB_DISPLAY_NAME_SUFFIX | `2353266718` | | | PR_EMS_AB_DL_MEM_REJECT_PERMS_BL | `2154958878` | | | PR_EMS_AB_DL_MEM_REJECT_PERMS_BL_O | `2154954765` | | | PR_EMS_AB_DL_MEMBER_RULE | `2155090178` | | | PR_EMS_AB_DMD_NAME | `2354446366` | | | PR_EMS_AB_DO_OAB_VERSION | `2352611331` | | | PR_EMS_AB_DOMAIN_DEF_ALT_RECIP | `2155151390` | | | PR_EMS_AB_DOMAIN_DEF_ALT_RECIP_O | `2155151373` | | | PR_EMS_AB_DOMAIN_NAME | `2155216926` | | | PR_EMS_AB_DSA_SIGNATURE | `2155282690` | | | PR_EMS_AB_DXA_ADMIN_COPY | `2155347979` | | | PR_EMS_AB_DXA_ADMIN_FORWARD | `2155413515` | | | PR_EMS_AB_DXA_ADMIN_UPDATE | `2155479043` | | | PR_EMS_AB_DXA_APPEND_REQCN | `2155544587` | | | PR_EMS_AB_DXA_CONF_CONTAINER_LIST | `2155614238` | | | PR_EMS_AB_DXA_CONF_CONTAINER_LIST_O | `2155610125` | | | PR_EMS_AB_DXA_CONF_REQ_TIME | `2155675712` | | | PR_EMS_AB_DXA_CONF_SEQ | `2155741214` | | | PR_EMS_AB_DXA_CONF_SEQ_USN | `2155806723` | | | PR_EMS_AB_DXA_EXCHANGE_OPTIONS | `2155872259` | | | PR_EMS_AB_DXA_EXPORT_NOW | `2155937803` | | | PR_EMS_AB_DXA_FLAGS | `2156003331` | | | PR_EMS_AB_DXA_IMP_SEQ | `2156068894` | | | PR_EMS_AB_DXA_IMP_SEQ_TIME | `2156134464` | | | PR_EMS_AB_DXA_IMP_SEQ_USN | `2156199939` | | | PR_EMS_AB_DXA_IMPORT_NOW | `2156265483` | | | PR_EMS_AB_DXA_IN_TEMPLATE_MAP | `2156335134` | | | PR_EMS_AB_DXA_LOCAL_ADMIN | `2156396574` | | | PR_EMS_AB_DXA_LOCAL_ADMIN_O | `2156396557` | | | PR_EMS_AB_DXA_LOGGING_LEVEL | `2156462083` | | | PR_EMS_AB_DXA_NATIVE_ADDRESS_TYPE | `2156527646` | | | PR_EMS_AB_DXA_OUT_TEMPLATE_MAP | `2156597278` | | | PR_EMS_AB_DXA_PASSWORD | `2156658718` | | | PR_EMS_AB_DXA_PREV_EXCHANGE_OPTIONS | `2156724227` | | | PR_EMS_AB_DXA_PREV_EXPORT_NATIVE_ONLY | `2156789771` | | | PR_EMS_AB_DXA_PREV_IN_EXCHANGE_SENSITIVITY | `2156855299` | | | PR_EMS_AB_DXA_PREV_REMOTE_ENTRIES | `2156920862` | | | PR_EMS_AB_DXA_PREV_REMOTE_ENTRIES_O | `2156920845` | | | PR_EMS_AB_DXA_PREV_REPLICATION_SENSITIVITY | `2156986371` | | | PR_EMS_AB_DXA_PREV_TEMPLATE_OPTIONS | `2157051907` | | | PR_EMS_AB_DXA_PREV_TYPES | `2157117443` | | | PR_EMS_AB_DXA_RECIPIENT_CP | `2157183006` | | | PR_EMS_AB_DXA_REMOTE_CLIENT | `2157248542` | | | PR_EMS_AB_DXA_REMOTE_CLIENT_O | `2157248525` | | | PR_EMS_AB_DXA_REQ_SEQ | `2157314078` | | | PR_EMS_AB_DXA_REQ_SEQ_TIME | `2157379648` | | | PR_EMS_AB_DXA_REQ_SEQ_USN | `2157445123` | | | PR_EMS_AB_DXA_REQNAME | `2157510686` | | | PR_EMS_AB_DXA_SVR_SEQ | `2157576222` | | | PR_EMS_AB_DXA_SVR_SEQ_TIME | `2157641792` | | | PR_EMS_AB_DXA_SVR_SEQ_USN | `2157707267` | | | PR_EMS_AB_DXA_TASK | `2157772803` | | | PR_EMS_AB_DXA_TEMPLATE_OPTIONS | `2157838339` | | | PR_EMS_AB_DXA_TEMPLATE_TIMESTAMP | `2157903936` | | | PR_EMS_AB_DXA_TYPES | `2157969411` | | | PR_EMS_AB_DXA_UNCONF_CONTAINER_LIST | `2158039070` | | | PR_EMS_AB_DXA_UNCONF_CONTAINER_LIST_O | `2158034957` | | | PR_EMS_AB_EMPLOYEE_NUMBER | `2355560478` | | | PR_EMS_AB_EMPLOYEE_TYPE | `2355691550` | | | PR_EMS_AB_ENABLE_COMPATIBILITY | `2352087051` | | | PR_EMS_AB_ENABLED | `2350972939` | | | PR_EMS_AB_ENABLED_AUTHORIZATION_PACKAGES | `2172915742` | | | PR_EMS_AB_ENABLED_PROTOCOL_CFG | `2175270923` | | | PR_EMS_AB_ENABLED_PROTOCOLS | `2172583939` | | | PR_EMS_AB_ENCAPSULATION_METHOD | `2158100483` | | | PR_EMS_AB_ENCRYPT | `2158166027` | | | PR_EMS_AB_ENCRYPT_ALG_LIST_NA | `2151682078` | | | PR_EMS_AB_ENCRYPT_ALG_LIST_OTHER | `2151747614` | | | PR_EMS_AB_ENCRYPT_ALG_SELECTED_NA | `2151874590` | | | PR_EMS_AB_ENCRYPT_ALG_SELECTED_OTHER | `2151481374` | | | PR_EMS_AB_EXPAND_DLS_LOCALLY | `2158231563` | | | PR_EMS_AB_EXPIRATION_TIME | `2150105152` | | | PR_EMS_AB_EXPORT_CONTAINERS | `2158301214` | | | PR_EMS_AB_EXPORT_CONTAINERS_O | `2158297101` | | | PR_EMS_AB_EXPORT_CUSTOM_RECIPIENTS | `2158362635` | | | PR_EMS_AB_EXTENDED_CHARS_ALLOWED | `2158428171` | | | PR_EMS_AB_EXTENSION_DATA | `2158498050` | | | PR_EMS_AB_EXTENSION_NAME | `2158563358` | | | PR_EMS_AB_EXTENSION_NAME_INHERITED | `2158628894` | | | PR_EMS_AB_FACSIMILE_TELEPHONE_NUMBER | `2158694658` | | | PR_EMS_AB_FILE_VERSION | `2158756098` | | | PR_EMS_AB_FILTER_LOCAL_ADDRESSES | `2158821387` | | | PR_EMS_AB_FOLDERS_CONTAINER | `2158886942` | | | PR_EMS_AB_FOLDERS_CONTAINER_O | `2158886925` | | | PR_EMS_AB_FORM_DATA | `2355429634` | | | PR_EMS_AB_FORWARDING_ADDRESS | `2355363870` | | | PR_EMS_AB_GARBAGE_COLL_PERIOD | `2158952451` | | | PR_EMS_AB_GATEWAY_LOCAL_CRED | `2159018014` | | | PR_EMS_AB_GATEWAY_LOCAL_DESIG | `2159083550` | | | PR_EMS_AB_GATEWAY_PROXY | `2159153182` | | | PR_EMS_AB_GATEWAY_ROUTING_TREE | `2159214850` | | | PR_EMS_AB_GENERATION_QUALIFIER | `2354249758` | | | PR_EMS_AB_GROUP_BY_ATTR_1 | `2176253982` | | | PR_EMS_AB_GROUP_BY_ATTR_2 | `2176319518` | | | PR_EMS_AB_GROUP_BY_ATTR_3 | `2176385054` | | | PR_EMS_AB_GROUP_BY_ATTR_4 | `2176450590` | | | PR_EMS_AB_GROUP_BY_ATTR_VALUE_DN | `2350514206` | | | PR_EMS_AB_GROUP_BY_ATTR_VALUE_DN_O | `2350514189` | | | PR_EMS_AB_GROUP_BY_ATTR_VALUE_STR | `2350448670` | | | PR_EMS_AB_GWART_LAST_MODIFIED | `2159280192` | | | PR_EMS_AB_HAS_FULL_REPLICA_NCS | `2159349790` | | | PR_EMS_AB_HAS_FULL_REPLICA_NCS_O | `2159345677` | | | PR_EMS_AB_HAS_MASTER_NCS | `2159415326` | | | PR_EMS_AB_HAS_MASTER_NCS_O | `2159411213` | | | PR_EMS_AB_HELP_DATA16 | `2151284994` | | | PR_EMS_AB_HELP_DATA32 | `2148532482` | | | PR_EMS_AB_HELP_FILE_NAME | `2151350302` | | | PR_EMS_AB_HEURISTICS | `2159476739` | | | PR_EMS_AB_HIDE_DL_MEMBERSHIP | `2159542283` | | | PR_EMS_AB_HIDE_FROM_ADDRESS_BOOK | `2159607819` | | | PR_EMS_AB_HIERARCHY_PATH | `4294508574` | | | PR_EMS_AB_HOME_MDB_BL | `2148798494` | | | PR_EMS_AB_HOME_MDB_BL_O | `2148794381` | | | PR_EMS_AB_HOME_MTA | `2147942430` | | | PR_EMS_AB_HOME_MTA_O | `2147942413` | | | PR_EMS_AB_HOME_PUBLIC_SERVER | `2151612446` | | | PR_EMS_AB_HOME_PUBLIC_SERVER_O | `2151612429` | | | PR_EMS_AB_HOUSE_IDENTIFIER | `2354315294` | | | PR_EMS_AB_HTTP_PUB_AB_ATTRIBUTES | `2175340574` | | | PR_EMS_AB_HTTP_PUB_GAL | `2174418955` | | | PR_EMS_AB_HTTP_PUB_GAL_LIMIT | `2174484483` | | | PR_EMS_AB_HTTP_PUB_PF | `2174619906` | | | PR_EMS_AB_HTTP_SERVERS | `2175471646` | | | PR_EMS_AB_IMPORT_CONTAINER | `2159673374` | | | PR_EMS_AB_IMPORT_CONTAINER_O | `2159673357` | | | PR_EMS_AB_IMPORT_SENSITIVITY | `2159738883` | | | PR_EMS_AB_IMPORTED_FROM | `2151809054` | | | PR_EMS_AB_INBOUND_ACCEPT_ALL | `2350907403` | | | PR_EMS_AB_INBOUND_DN | `2350776350` | | | PR_EMS_AB_INBOUND_DN_O | `2350776333` | | | PR_EMS_AB_INBOUND_HOST | `2173571102` | | | PR_EMS_AB_INBOUND_NEWSFEED | `2173894686` | | | PR_EMS_AB_INBOUND_NEWSFEED_TYPE | `2350841867` | | | PR_EMS_AB_INBOUND_SITES | `2159808542` | | | PR_EMS_AB_INBOUND_SITES_O | `2159804429` | | | PR_EMS_AB_INCOMING_MSG_SIZE_LIMIT | `2173698051` | | | PR_EMS_AB_INCOMING_PASSWORD | `2175729922` | | | PR_EMS_AB_INSADMIN | `2177171486` | | | PR_EMS_AB_INSADMIN_O | `2177171469` | | | PR_EMS_AB_INSTANCE_TYPE | `2159869955` | | | PR_EMS_AB_INTERNATIONAL_ISDN_NUMBER | `2159939614` | | | PR_EMS_AB_INVOCATION_ID | `2160001282` | | | PR_EMS_AB_IS_DELETED | `2160066571` | | | PR_EMS_AB_IS_SINGLE_VALUED | `2160132107` | | | PR_EMS_AB_KCC_STATUS | `2160201986` | | | PR_EMS_AB_KM_SERVER | `2148335646` | | | PR_EMS_AB_KM_SERVER_O | `2148335629` | | | PR_EMS_AB_KNOWLEDGE_INFORMATION | `2160267294` | | | PR_EMS_AB_LABELEDURI | `2354118686` | | | PR_EMS_AB_LANGUAGE | `2172125187` | | | PR_EMS_AB_LANGUAGE_ISO639 | `2355888158` | | | PR_EMS_AB_LDAP_DISPLAY_NAME | `2171670558` | | | PR_EMS_AB_LDAP_SEARCH_CFG | `2350710787` | | | PR_EMS_AB_LINE_WRAP | `2160328707` | | | PR_EMS_AB_LINK_ID | `2160394243` | | | PR_EMS_AB_LIST_PUBLIC_FOLDERS | `2354053131` | | | PR_EMS_AB_LOCAL_BRIDGE_HEAD | `2160459806` | | | PR_EMS_AB_LOCAL_BRIDGE_HEAD_ADDRESS | `2160525342` | | | PR_EMS_AB_LOCAL_INITIAL_TURN | `2160590859` | | | PR_EMS_AB_LOCAL_SCOPE | `2160660510` | | | PR_EMS_AB_LOCAL_SCOPE_O | `2160656397` | | | PR_EMS_AB_LOG_FILENAME | `2160721950` | | | PR_EMS_AB_LOG_ROLLOVER_INTERVAL | `2160787459` | | | PR_EMS_AB_MAIL_DROP | `2355298334` | | | PR_EMS_AB_MAINTAIN_AUTOREPLY_HISTORY | `2160853003` | | | PR_EMS_AB_MAPI_DISPLAY_TYPE | `2160918531` | | | PR_EMS_AB_MAPI_ID | `2160984067` | | | PR_EMS_AB_MAXIMUM_OBJECT_ID | `2171142402` | | | PR_EMS_AB_MDB_BACKOFF_INTERVAL | `2161049603` | | | PR_EMS_AB_MDB_MSG_TIME_OUT_PERIOD | `2161115139` | | | PR_EMS_AB_MDB_OVER_QUOTA_LIMIT | `2161180675` | | | PR_EMS_AB_MDB_STORAGE_QUOTA | `2161246211` | | | PR_EMS_AB_MDB_UNREAD_LIMIT | `2161311747` | | | PR_EMS_AB_MDB_USE_DEFAULTS | `2161377291` | | | PR_EMS_AB_MESSAGE_TRACKING_ENABLED | `2161442827` | | | PR_EMS_AB_MIME_TYPES | `2350645506` | | | PR_EMS_AB_MODERATED | `2175533067` | | | PR_EMS_AB_MODERATOR | `2174287902` | | | PR_EMS_AB_MONITOR_CLOCK | `2161508363` | | | PR_EMS_AB_MONITOR_SERVERS | `2161573899` | | | PR_EMS_AB_MONITOR_SERVICES | `2161639435` | | | PR_EMS_AB_MONITORED_CONFIGURATIONS | `2161709086` | | | PR_EMS_AB_MONITORED_CONFIGURATIONS_O | `2161704973` | | | PR_EMS_AB_MONITORED_SERVERS | `2161774622` | | | PR_EMS_AB_MONITORED_SERVERS_O | `2161770509` | | | PR_EMS_AB_MONITORED_SERVICES | `2161840158` | | | PR_EMS_AB_MONITORING_ALERT_DELAY | `2161901571` | | | PR_EMS_AB_MONITORING_ALERT_UNITS | `2161967107` | | | PR_EMS_AB_MONITORING_AVAILABILITY_STYLE | `2162032643` | | | PR_EMS_AB_MONITORING_AVAILABILITY_WINDOW | `2162098434` | | | PR_EMS_AB_MONITORING_CACHED_VIA_MAIL | `2162167838` | | | PR_EMS_AB_MONITORING_CACHED_VIA_MAIL_O | `2162163725` | | | PR_EMS_AB_MONITORING_CACHED_VIA_RPC | `2162233374` | | | PR_EMS_AB_MONITORING_CACHED_VIA_RPC_O | `2162229261` | | | PR_EMS_AB_MONITORING_ESCALATION_PROCEDURE | `2162299138` | | | PR_EMS_AB_MONITORING_HOTSITE_POLL_INTERVAL | `2162360323` | | | PR_EMS_AB_MONITORING_HOTSITE_POLL_UNITS | `2162425859` | | | PR_EMS_AB_MONITORING_MAIL_UPDATE_INTERVAL | `2162491395` | | | PR_EMS_AB_MONITORING_MAIL_UPDATE_UNITS | `2162556931` | | | PR_EMS_AB_MONITORING_NORMAL_POLL_INTERVAL | `2162622467` | | | PR_EMS_AB_MONITORING_NORMAL_POLL_UNITS | `2162688003` | | | PR_EMS_AB_MONITORING_RECIPIENTS | `2162757662` | | | PR_EMS_AB_MONITORING_RECIPIENTS_NDR | `2162823198` | | | PR_EMS_AB_MONITORING_RECIPIENTS_NDR_O | `2162819085` | | | PR_EMS_AB_MONITORING_RECIPIENTS_O | `2162753549` | | | PR_EMS_AB_MONITORING_RPC_UPDATE_INTERVAL | `2162884611` | | | PR_EMS_AB_MONITORING_RPC_UPDATE_UNITS | `2162950147` | | | PR_EMS_AB_MONITORING_WARNING_DELAY | `2163015683` | | | PR_EMS_AB_MONITORING_WARNING_UNITS | `2163081219` | | | PR_EMS_AB_MTA_LOCAL_CRED | `2163146782` | | | PR_EMS_AB_MTA_LOCAL_DESIG | `2163212318` | | | PR_EMS_AB_N_ADDRESS | `2163278082` | | | PR_EMS_AB_N_ADDRESS_TYPE | `2163343363` | | | PR_EMS_AB_NEWSFEED_TYPE | `2173960195` | | | PR_EMS_AB_NEWSGROUP | `2174222366` | | | PR_EMS_AB_NEWSGROUP_LIST | `2174091522` | | | PR_EMS_AB_NNTP_CHARACTER_SET | `2172452894` | | | PR_EMS_AB_NNTP_CONTENT_FORMAT | `2171994142` | | | PR_EMS_AB_NNTP_DISTRIBUTIONS | `2174160926` | | | PR_EMS_AB_NNTP_DISTRIBUTIONS_FLAG | `2175008779` | | | PR_EMS_AB_NNTP_NEWSFEEDS | `2175143966` | | | PR_EMS_AB_NNTP_NEWSFEEDS_O | `2175139853` | | | PR_EMS_AB_NT_MACHINE_NAME | `2163408926` | | | PR_EMS_AB_NT_SECURITY_DESCRIPTOR | `2148729090` | | | PR_EMS_AB_NUM_OF_OPEN_RETRIES | `2163474435` | | | PR_EMS_AB_NUM_OF_TRANSFER_RETRIES | `2163539971` | | | PR_EMS_AB_OBJ_VIEW_CONTAINERS | `2177306654` | | | PR_EMS_AB_OBJ_VIEW_CONTAINERS_O | `2177302541` | | | PR_EMS_AB_OBJECT_CLASS_CATEGORY | `2163605507` | | | PR_EMS_AB_OBJECT_OID | `4294574338` | | | PR_EMS_AB_OBJECT_VERSION | `2163671043` | | | PR_EMS_AB_OFF_LINE_AB_CONTAINERS | `2163740702` | | | PR_EMS_AB_OFF_LINE_AB_CONTAINERS_O | `2163736589` | | | PR_EMS_AB_OFF_LINE_AB_SCHEDULE | `2163802370` | | | PR_EMS_AB_OFF_LINE_AB_SERVER | `2163867678` | | | PR_EMS_AB_OFF_LINE_AB_SERVER_O | `2163867661` | | | PR_EMS_AB_OFF_LINE_AB_STYLE | `2163933187` | | | PR_EMS_AB_OID_TYPE | `2163998723` | | | PR_EMS_AB_OM_OBJECT_CLASS | `2164064514` | | | PR_EMS_AB_OM_SYNTAX | `2164129795` | | | PR_EMS_AB_OOF_REPLY_TO_ORIGINATOR | `2164195339` | | | PR_EMS_AB_OPEN_RETRY_INTERVAL | `2164260867` | | | PR_EMS_AB_ORGANIZATION_NAME | `2164330526` | | | PR_EMS_AB_ORGANIZATIONAL_UNIT_NAME | `2164396062` | | | PR_EMS_AB_ORIGINAL_DISPLAY_TABLE | `2164457730` | | | PR_EMS_AB_ORIGINAL_DISPLAY_TABLE_MSDOS | `2164523266` | | | PR_EMS_AB_OTHER_RECIPS | `4026531853` | | | PR_EMS_AB_OUTBOUND_HOST | `2173501698` | | | PR_EMS_AB_OUTBOUND_HOST_TYPE | `2175795211` | | | PR_EMS_AB_OUTBOUND_NEWSFEED | `2174025758` | | | PR_EMS_AB_OUTBOUND_SITES | `2164592670` | | | PR_EMS_AB_OUTBOUND_SITES_O | `2164588557` | | | PR_EMS_AB_OUTGOING_MSG_SIZE_LIMIT | `2173632515` | | | PR_EMS_AB_OVERRIDE_NNTP_CONTENT_FORMAT | `2177237003` | | | PR_EMS_AB_OWA_SERVER | `2355494942` | | | PR_EMS_AB_P_SELECTOR | `2164654338` | | | PR_EMS_AB_P_SELECTOR_INBOUND | `2164719874` | | | PR_EMS_AB_PER_MSG_DIALOG_DISPLAY_TABLE | `2164785410` | | | PR_EMS_AB_PER_RECIP_DIALOG_DISPLAY_TABLE | `2164850946` | | | PR_EMS_AB_PERIOD_REP_SYNC_TIMES | `2164916482` | | | PR_EMS_AB_PERIOD_REPL_STAGGER | `2164981763` | | | PR_EMS_AB_PERSONAL_TITLE | `2355822622` | | | PR_EMS_AB_PF_CONTACTS | `2151157790` | | | PR_EMS_AB_PF_CONTACTS_O | `2151153677` | | | PR_EMS_AB_POP_CHARACTER_SET | `2172190750` | | | PR_EMS_AB_POP_CONTENT_FORMAT | `2172059678` | | | PR_EMS_AB_PORT_NUMBER | `2176122883` | | | PR_EMS_AB_POSTAL_ADDRESS | `2165051650` | | | PR_EMS_AB_PREFERRED_DELIVERY_METHOD | `2165116931` | | | PR_EMS_AB_PRESERVE_INTERNET_CONTENT | `2351038475` | | | PR_EMS_AB_PRMD | `2165178398` | | | PR_EMS_AB_PROMO_EXPIRATION | `2176974912` | | | PR_EMS_AB_PROTOCOL_SETTINGS | `2176192542` | | | PR_EMS_AB_PROXY_GENERATION_ENABLED | `2175860747` | | | PR_EMS_AB_PROXY_GENERATOR_DLL | `2165243934` | | | PR_EMS_AB_PUBLIC_DELEGATES_BL | `2165313566` | | | PR_EMS_AB_PUBLIC_DELEGATES_BL_O | `2165309453` | | | PR_EMS_AB_QUOTA_NOTIFICATION_SCHEDULE | `2165375234` | | | PR_EMS_AB_QUOTA_NOTIFICATION_STYLE | `2165440515` | | | PR_EMS_AB_RANGE_LOWER | `2165506051` | | | PR_EMS_AB_RANGE_UPPER | `2165571587` | | | PR_EMS_AB_RAS_ACCOUNT | `2175598622` | | | PR_EMS_AB_RAS_CALLBACK_NUMBER | `2165637150` | | | PR_EMS_AB_RAS_PASSWORD | `2175664386` | | | PR_EMS_AB_RAS_PHONE_NUMBER | `2165702686` | | | PR_EMS_AB_RAS_PHONEBOOK_ENTRY_NAME | `2165768222` | | | PR_EMS_AB_RAS_REMOTE_SRVR_NAME | `2165833758` | | | PR_EMS_AB_REFERRAL_LIST | `2174947358` | | | PR_EMS_AB_REGISTERED_ADDRESS | `2165903618` | | | PR_EMS_AB_REMOTE_BRIDGE_HEAD | `2165964830` | | | PR_EMS_AB_REMOTE_BRIDGE_HEAD_ADDRESS | `2166030366` | | | PR_EMS_AB_REMOTE_OUT_BH_SERVER | `2166095902` | | | PR_EMS_AB_REMOTE_OUT_BH_SERVER_O | `2166095885` | | | PR_EMS_AB_REMOTE_SITE | `2166161438` | | | PR_EMS_AB_REMOTE_SITE_O | `2166161421` | | | PR_EMS_AB_REPLICATED_OBJECT_VERSION | `2355232771` | | | PR_EMS_AB_REPLICATION_MAIL_MSG_SIZE | `2171076611` | | | PR_EMS_AB_REPLICATION_SENSITIVITY | `2166226947` | | | PR_EMS_AB_REPLICATION_STAGGER | `2166292483` | | | PR_EMS_AB_REPORT_TO_ORIGINATOR | `2166358027` | | | PR_EMS_AB_REPORT_TO_OWNER | `2166423563` | | | PR_EMS_AB_REQ_SEQ | `2166489091` | | | PR_EMS_AB_REQUIRE_SSL | `2351235083` | | | PR_EMS_AB_RESPONSIBLE_LOCAL_DXA | `2166554654` | | | PR_EMS_AB_RESPONSIBLE_LOCAL_DXA_O | `2166554637` | | | PR_EMS_AB_RETURN_EXACT_MSG_SIZE | `2354184203` | | | PR_EMS_AB_RID_SERVER | `2166620190` | | | PR_EMS_AB_RID_SERVER_O | `2166620173` | | | PR_EMS_AB_ROLE_OCCUPANT | `2166689822` | | | PR_EMS_AB_ROLE_OCCUPANT_O | `2166685709` | | | PR_EMS_AB_ROOT_NEWSGROUPS_FOLDER_ID | `2175926530` | | | PR_EMS_AB_ROUTING_LIST | `2166755358` | | | PR_EMS_AB_RTS_CHECKPOINT_SIZE | `2166816771` | | | PR_EMS_AB_RTS_RECOVERY_TIMEOUT | `2166882307` | | | PR_EMS_AB_RTS_WINDOW_SIZE | `2166947843` | | | PR_EMS_AB_RUNS_ON | `2167017502` | | | PR_EMS_AB_RUNS_ON_O | `2167013389` | | | PR_EMS_AB_S_SELECTOR | `2167079170` | | | PR_EMS_AB_S_SELECTOR_INBOUND | `2167144706` | | | PR_EMS_AB_SCHEMA_FLAGS | `2171797507` | | | PR_EMS_AB_SCHEMA_VERSION | `2172391427` | | | PR_EMS_AB_SEARCH_FLAGS | `2167209987` | | | PR_EMS_AB_SEARCH_GUIDE | `2167279874` | | | PR_EMS_AB_SECURITY_POLICY | `2353467650` | | | PR_EMS_AB_SECURITY_PROTOCOL | `2151092482` | | | PR_EMS_AB_SEE_ALSO | `2167345182` | | | PR_EMS_AB_SEE_ALSO_O | `2167341069` | | | PR_EMS_AB_SEND_EMAIL_MESSAGE | `2352021515` | | | PR_EMS_AB_SEND_TNEF | `2173763595` | | | PR_EMS_AB_SERIAL_NUMBER | `2167410718` | | | PR_EMS_AB_SERVER | `4294836254` | | | PR_EMS_AB_SERVICE_ACTION_FIRST | `2167472131` | | | PR_EMS_AB_SERVICE_ACTION_OTHER | `2167537667` | | | PR_EMS_AB_SERVICE_ACTION_SECOND | `2167603203` | | | PR_EMS_AB_SERVICE_RESTART_DELAY | `2167668739` | | | PR_EMS_AB_SERVICE_RESTART_MESSAGE | `2167734302` | | | PR_EMS_AB_SESSION_DISCONNECT_TIMER | `2167799811` | | | PR_EMS_AB_SITE_AFFINITY | `2167869470` | | | PR_EMS_AB_SITE_FOLDER_GUID | `2170945794` | | | PR_EMS_AB_SITE_FOLDER_SERVER | `2171011102` | | | PR_EMS_AB_SITE_FOLDER_SERVER_O | `2171011085` | | | PR_EMS_AB_SITE_PROXY_SPACE | `2167935006` | | | PR_EMS_AB_SMIME_ALG_LIST_NA | `2352156702` | | | PR_EMS_AB_SMIME_ALG_LIST_OTHER | `2352222238` | | | PR_EMS_AB_SMIME_ALG_SELECTED_NA | `2352283678` | | | PR_EMS_AB_SMIME_ALG_SELECTED_OTHER | `2352349214` | | | PR_EMS_AB_SPACE_LAST_COMPUTED | `2167996480` | | | PR_EMS_AB_STREET_ADDRESS | `2168061982` | | | PR_EMS_AB_SUB_REFS | `2168131614` | | | PR_EMS_AB_SUB_REFS_O | `2168127501` | | | PR_EMS_AB_SUB_SITE | `2172321822` | | | PR_EMS_AB_SUBMISSION_CONT_LENGTH | `2168193027` | | | PR_EMS_AB_SUPPORT_SMIME_SIGNATURES | `2353528843` | | | PR_EMS_AB_SUPPORTED_ALGORITHMS | `2354381058` | | | PR_EMS_AB_SUPPORTED_APPLICATION_CONTEXT | `2168262914` | | | PR_EMS_AB_SUPPORTING_STACK | `2168328222` | | | PR_EMS_AB_SUPPORTING_STACK_BL | `2168393758` | | | PR_EMS_AB_SUPPORTING_STACK_BL_O | `2168389645` | | | PR_EMS_AB_SUPPORTING_STACK_O | `2168324109` | | | PR_EMS_AB_T_SELECTOR | `2168455426` | | | PR_EMS_AB_T_SELECTOR_INBOUND | `2168520962` | | | PR_EMS_AB_TARGET_MTAS | `2168590366` | | | PR_EMS_AB_TELEPHONE_NUMBER | `2148667422` | | | PR_EMS_AB_TELEPHONE_PERSONAL_PAGER | `2355626014` | | | PR_EMS_AB_TELETEX_TERMINAL_IDENTIFIER | `2168656130` | | | PR_EMS_AB_TEMP_ASSOC_THRESHOLD | `2168717315` | | | PR_EMS_AB_TOMBSTONE_LIFETIME | `2168782851` | | | PR_EMS_AB_TRACKING_LOG_PATH_NAME | `2168848414` | | | PR_EMS_AB_TRANS_RETRY_MINS | `2168913923` | | | PR_EMS_AB_TRANS_TIMEOUT_MINS | `2168979459` | | | PR_EMS_AB_TRANSFER_RETRY_INTERVAL | `2169044995` | | | PR_EMS_AB_TRANSFER_TIMEOUT_NON_URGENT | `2169110531` | | | PR_EMS_AB_TRANSFER_TIMEOUT_NORMAL | `2169176067` | | | PR_EMS_AB_TRANSFER_TIMEOUT_URGENT | `2169241603` | | | PR_EMS_AB_TRANSLATION_TABLE_USED | `2169307139` | | | PR_EMS_AB_TRANSPORT_EXPEDITED_DATA | `2169372683` | | | PR_EMS_AB_TRUST_LEVEL | `2169438211` | | | PR_EMS_AB_TURN_REQUEST_THRESHOLD | `2169503747` | | | PR_EMS_AB_TWO_WAY_ALTERNATE_FACILITY | `2169569291` | | | PR_EMS_AB_TYPE | `2352480286` | | | PR_EMS_AB_UNAUTH_ORIG_BL | `2169638942` | | | PR_EMS_AB_UNAUTH_ORIG_BL_O | `2169634829` | | | PR_EMS_AB_USE_SERVER_VALUES | `2172518411` | | | PR_EMS_AB_USE_SITE_VALUES | `2172846091` | | | PR_EMS_AB_USENET_SITE_NAME | `2173239326` | | | PR_EMS_AB_USER_PASSWORD | `2169704706` | | | PR_EMS_AB_USN_CHANGED | `2150170627` | | | PR_EMS_AB_USN_CREATED | `2169765891` | | | PR_EMS_AB_USN_DSA_LAST_OBJ_REMOVED | `2169831427` | | | PR_EMS_AB_USN_INTERSITE | `2172256259` | | | PR_EMS_AB_USN_LAST_OBJ_REM | `2169896963` | | | PR_EMS_AB_USN_SOURCE | `2169962499` | | | PR_EMS_AB_VIEW_CONTAINER_1 | `2176778270` | | | PR_EMS_AB_VIEW_CONTAINER_2 | `2176843806` | | | PR_EMS_AB_VIEW_CONTAINER_3 | `2176909342` | | | PR_EMS_AB_VIEW_DEFINITION | `2350584066` | | | PR_EMS_AB_VIEW_FLAGS | `2350383107` | | | PR_EMS_AB_VIEW_SITE | `2176712734` | | | PR_EMS_AB_VOICE_MAIL_FLAGS | `2353008898` | | | PR_EMS_AB_VOICE_MAIL_GREETINGS | `2352943134` | | | PR_EMS_AB_VOICE_MAIL_PASSWORD | `2352807966` | | | PR_EMS_AB_VOICE_MAIL_RECORDED_NAME | `2352873730` | | | PR_EMS_AB_VOICE_MAIL_RECORDING_LENGTH | `2353205251` | | | PR_EMS_AB_VOICE_MAIL_SPEED | `2353135619` | | | PR_EMS_AB_VOICE_MAIL_SYSTEM_GUID | `2352677122` | | | PR_EMS_AB_VOICE_MAIL_USER_ID | `2352742430` | | | PR_EMS_AB_VOICE_MAIL_VOLUME | `2353070083` | | | PR_EMS_AB_WWW_HOME_PAGE | `2171928606` | | | PR_EMS_AB_X121_ADDRESS | `2170032158` | | | PR_EMS_AB_X25_CALL_USER_DATA_INCOMING | `2170093826` | | | PR_EMS_AB_X25_CALL_USER_DATA_OUTGOING | `2170159362` | | | PR_EMS_AB_X25_FACILITIES_DATA_INCOMING | `2170224898` | | | PR_EMS_AB_X25_FACILITIES_DATA_OUTGOING | `2170290434` | | | PR_EMS_AB_X25_LEASED_LINE_PORT | `2170355970` | | | PR_EMS_AB_X25_LEASED_OR_SWITCHED | `2170421259` | | | PR_EMS_AB_X25_REMOTE_MTA_PHONE | `2170486814` | | | PR_EMS_AB_X400_ATTACHMENT_TYPE | `2170552578` | | | PR_EMS_AB_X400_SELECTOR_SYNTAX | `2170617859` | | | PR_EMS_AB_X500_ACCESS_CONTROL_LIST | `2170683650` | | | PR_EMS_AB_X500_NC | `2174877726` | | | PR_EMS_AB_X500_RDN | `2174812190` | | | PR_EMS_AB_XMIT_TIMEOUT_NON_URGENT | `2170748931` | | | PR_EMS_AB_XMIT_TIMEOUT_NORMAL | `2170814467` | | | PR_EMS_AB_XMIT_TIMEOUT_URGENT | `2170880003` | | | PR_EVENTS_ROOT_FOLDER_ENTRYID | `1720320258` | | | PR_EXCESS_STORAGE_USED | `1073086467` | | | PR_EXTENDED_ACL_DATA | `1073611010` | | | PR_FAST_TRANSFER | `1714356237` | | | PR_FAVORITES_DEFAULT_NAME | `1714749470` | | | PR_FOLDER_CHILD_COUNT | `1714946051` | | | PR_FOLDER_DESIGN_FLAGS | `1071775747` | | | PR_FOLDER_PATHNAME | `1723138078` | | | PR_FOREIGN_ID | `1718026498` | | | PR_FOREIGN_REPORT_ID | `1718092034` | | | PR_FOREIGN_SUBJECT_ID | `1718157570` | | | PR_FREE_BUSY_FOR_LOCAL_SITE_ENTRYID | `1713701122` | | | PR_GW_ADMIN_OPERATIONS | `1717043203` | | | PR_GW_MTSIN_ENTRYID | `1713897730` | | | PR_GW_MTSOUT_ENTRYID | `1713963266` | | | PR_HAS_MODERATOR_RULES | `1715404811` | | | PR_HIERARCHY_SERVER | `1713569822` | | | PR_HIERARCHY_SYNCHRONIZER | `1714159629` | | | PR_IMAP_INTERNAL_DATE | `1710555200` | | | PR_IN_TRANSIT | `1712848907` | | | PR_INBOUND_NEWSFEED_DN | `1720516638` | | | PR_INTERNET_CHARSET | `1721368606` | | | PR_INTERNET_NEWSGROUP_NAME | `1722220574` | | | PR_IPM_DAF_ENTRYID | `1713307906` | | | PR_IPM_FAVORITES_ENTRYID | `1714422018` | | | PR_IPM_PUBLIC_FOLDERS_ENTRYID | `1714487554` | | | PR_IS_NEWSGROUP | `1721171979` | | | PR_IS_NEWSGROUP_ANCHOR | `1721106443` | | | PR_LAST_ACCESS_TIME | `1722351680` | | | PR_LAST_FULL_BACKUP | `1719992384` | | | PR_LAST_LOGOFF_TIME | `1721958464` | | | PR_LAST_LOGON_TIME | `1721892928` | | | PR_LONGTERM_ENTRYID_FROM_TABLE | `1718616322` | | | PR_MESSAGE_PROCESSED | `1709703179` | | | PR_MESSAGE_SITE_NAME | `1709637662` | | | PR_MOVE_TO_FOLDER_ENTRYID | `1072955650` | | | PR_MOVE_TO_STORE_ENTRYID | `1072890114` | | | PR_MSG_BODY_ID | `1071448067` | | | PR_MTS_SUBJECT_ID | `1717764354` | | | PR_NEW_SUBS_GET_AUTO_ADD | `1709572107` | | | PR_NEWSFEED_INFO | `1722155266` | | | PR_NEWSGROUP_COMPONENT | `1722089502` | | | PR_NEWSGROUP_ROOT_FOLDER_ENTRYID | `1720451330` | | | PR_NNTP_ARTICLE_FOLDER_ENTRYID | `1720320258` | | | PR_NNTP_CONTROL_FOLDER_ENTRYID | `1720385794` | | | PR_NON_IPM_SUBTREE_ENTRYID | `1713373442` | | | PR_NORMAL_MESSAGE_SIZE | `1723006979` | | | PR_NORMAL_MESSAGE_SIZE_EXTENDED | `1723006996` | | | PR_NORMAL_MSG_W_ATTACH_COUNT | `1722613763` | | | PR_NT_USER_NAME | `1721761822` | | | PR_OFFLINE_ADDRBOOK_ENTRYID | `1713570050` | | | PR_OFFLINE_FLAGS | `1715273731` | | | PR_OFFLINE_MESSAGE_ENTRYID | `1713832194` | | | PR_OLDEST_DELETED_ON | `1715601472` | | | PR_ORIGINATOR_ADDR | `1717305374` | | | PR_ORIGINATOR_ADDRTYPE | `1717370910` | | | PR_ORIGINATOR_ENTRYID | `1717436674` | | | PR_ORIGINATOR_NAME | `1717239838` | | | PR_OST_ENCRYPTION | `1728184323` | | | PR_OUTBOUND_NEWSFEED_DN | `1720582174` | | | PR_OVERALL_AGE_LIMIT | `1721303043` | | | PR_OVERALL_MSG_AGE_LIMIT | `1720909827` | | | PR_OWA_URL | `284229662` | | | PR_OWNER_COUNT | `1723203587` | | | PR_P1_CONTENT | `285212930` | | | PR_P1_CONTENT_TYPE | `285278466` | | | PR_PREVENT_MSG_CREATE | `1710489611` | | | PR_PREVIEW | `1071185950` | | | PR_PREVIEW_UNREAD | `1071120414` | | | PR_PROFILE_AB_FILES_PATH | `1712193566` | | | PR_PROFILE_ADDR_INFO | `1720123650` | | | PR_PROFILE_ALLPUB_COMMENT | `1712783390` | | | PR_PROFILE_ALLPUB_DISPLAY_NAME | `1712717854` | | | PR_PROFILE_BINDING_ORDER | `1711865886` | | | PR_PROFILE_CONFIG_FLAGS | `1711341571` | | | PR_PROFILE_CONNECT_FLAGS | `1711538179` | | | PR_PROFILE_FAVFLD_COMMENT | `1712652318` | | | PR_PROFILE_FAVFLD_DISPLAY_NAME | `1712259102` | | | PR_PROFILE_HOME_SERVER | `1711407134` | | | PR_PROFILE_HOME_SERVER_ADDRS | `1712525342` | | | PR_PROFILE_HOME_SERVER_DN | `1712455710` | | | PR_PROFILE_MAILBOX | `1711996958` | | | PR_PROFILE_MAX_RESTRICT | `1712128003` | | | PR_PROFILE_MOAB | `1719336990` | | | PR_PROFILE_MOAB_GUID | `1719402526` | | | PR_PROFILE_MOAB_SEQ | `1719468035` | | | PR_PROFILE_OFFLINE_INFO | `1712390402` | | | PR_PROFILE_OFFLINE_STORE_PATH | `1712324638` | | | PR_PROFILE_OPEN_FLAGS | `1711865859` | | | PR_PROFILE_OPTIONS_DATA | `1720254722` | | | PR_PROFILE_SECURE_MAILBOX | `1743782146` | | | PR_PROFILE_SERVER | `1712062494` | | | PR_PROFILE_SERVER_DN | `1712586782` | | | PR_PROFILE_TRANSPORT_FLAGS | `1711603715` | | | PR_PROFILE_TYPE | `1711931395` | | | PR_PROFILE_UI_STATE | `1711669251` | | | PR_PROFILE_UNRESOLVED_NAME | `1711734814` | | | PR_PROFILE_UNRESOLVED_SERVER | `1711800350` | | | PR_PROFILE_USER | `1711472670` | | | PR_PROFILE_VERSION | `1711276035` | | | PR_PST_ENCRYPTION | `1728184323` | | | PR_PST_PATH | `1728053278` | | | PR_PST_PW_SZ_OLD | `1728249886` | | | PR_PST_REMEMBER_PW | `1728118795` | | | PR_PUBLIC_FOLDER_ENTRYID | `1715208450` | | | PR_PUBLISH_IN_ADDRESS_BOOK | `1072037899` | | | PR_RECIPIENT_NUMBER | `1717698563` | | | PR_RECIPIENT_ON_ASSOC_MSG_COUNT | `1722810371` | | | PR_RECIPIENT_ON_NORMAL_MSG_COUNT | `1722744835` | | | PR_REPLICA_LIST | `1721237762` | | | PR_REPLICA_SERVER | `1715732510` | | | PR_REPLICA_VERSION | `1716191252` | | | PR_REPLICATION_ALWAYS_INTERVAL | `1720975363` | | | PR_REPLICATION_MESSAGE_PRIORITY | `1720844291` | | | PR_REPLICATION_MSG_SIZE | `1721040899` | | | PR_REPLICATION_SCHEDULE | `1720779010` | | | PR_REPLICATION_STYLE | `1720713219` | | | PR_REPLY_RECIPIENT_SMTP_PROXIES | `1073479710` | | | PR_REPORT_DESTINATION_ENTRYID | `1717895426` | | | PR_REPORT_DESTINATION_NAME | `1717829662` | | | PR_RESTRICTION_COUNT | `1722417155` | | | PR_RETENTION_AGE_LIMIT | `1724121091` | | | PR_RULE_TRIGGER_HISTORY | `1072824578` | | | PR_RULES_DATA | `1071710466` | | | PR_RULES_TABLE | `1071710221` | | | PR_SCHEDULE_FOLDER_ENTRYID | `1713242370` | | | PR_SECURE_IN_SITE | `1721630731` | | | PR_SECURE_ORIGINATION | `1071972363` | | | PR_STORAGE_LIMIT_INFORMATION | `1722023939` | | | PR_STORAGE_QUOTA_LIMIT | `1073020931` | | | PR_STORE_OFFLINE | `1714552843` | | | PR_STORE_SLOWLINK | `2081030155` | | | PR_SUBJECT_TRACE_INFO | `1717633282` | | | PR_SVR_GENERATING_QUOTA_MSG | `1073152030` | | | PR_SYNCHRONIZE_FLAGS | `1709441027` | | | PR_SYS_CONFIG_FOLDER_ENTRYID | `1714815234` | | | PR_TEST_LINE_SPEED | `1714094338` | | | PR_TRACE_INFO | `1717567746` | | | PR_TRANSFER_ENABLED | `1714028555` | | | PR_USER_NAME | `1712979998` | | | PR_X400_ENVELOPE_TYPE | `1716715523` | | | PR_AB_DEFAULT_DIR | `1023803650` | | | PR_AB_DEFAULT_PAB | `1023869186` | | | PR_AB_PROVIDER_ID | `907346178` | | | PR_AB_PROVIDERS | `1023475970` | | | PR_AB_SEARCH_PATH | `1023742210` | | | PR_AB_SEARCH_PATH_UPDATE | `1024524546` | | | PR_ALTERNATE_RECIPIENT | `973144322` | | | PR_ASSOC_CONTENT_COUNT | `907476995` | | | PR_ATTACHMENT_X400_PARAMETERS | `922747138` | | | PR_AUTHORIZING_USERS | `196866` | | | PR_BODY_CRC | `236716035` | | | PR_COMMON_VIEWS_ENTRYID | `904265986` | | | PR_CONTACT_ADDRTYPES | `978587678` | | | PR_CONTACT_DEFAULT_ADDRESS_INDEX | `978649091` | | | PR_CONTACT_EMAIL_ADDRESSES | `978718750` | | | PR_CONTACT_ENTRYIDS | `978522370` | | | PR_CONTACT_VERSION | `978452552` | | | PR_CONTAINER_MODIFY_VERSION | `907280404` | | | PR_CONTENT_CONFIDENTIALITY_ALGORITHM_ID | `393474` | | | PR_CONTENT_CORRELATOR | `459010` | | | PR_CONTENT_IDENTIFIER | `524318` | | | PR_CONTENT_INTEGRITY_CHECK | `201326850` | | | PR_CONTENT_LENGTH | `589827` | | | PR_CONTENT_RETURN_REQUESTED | `655371` | | | PR_CONTENTS_SORT_ORDER | `906825731` | | | PR_CONTROL_FLAGS | `1056964611` | | | PR_CONTROL_ID | `1057423618` | | | PR_CONTROL_STRUCTURE | `1057030402` | | | PR_CONTROL_TYPE | `1057095683` | | | PR_CONVERSATION_KEY | `721154` | | | PR_CONVERSION_EITS | `786690` | | | PR_CONVERSION_PROHIBITED | `973275147` | | | PR_CONVERSION_WITH_LOSS_PROHIBITED | `851979` | | | PR_CONVERTED_EITS | `917762` | | | PR_CORRELATE | `235667467` | | | PR_CORRELATE_MTSID | `235733250` | | | PR_CREATE_TEMPLATES | `906231821` | | | PR_CREATION_VERSION | `236519444` | | | PR_CURRENT_VERSION | `234881044` | | | PR_DEF_CREATE_DL | `907084034` | | | PR_DEF_CREATE_MAILUSER | `907149570` | | | PR_DEFAULT_PROFILE | `1023672331` | | | PR_DEFAULT_STORE | `872415243` | | | PR_DEFAULT_VIEW_ENTRYID | `907411714` | | | PR_DELEGATION | `8257794` | | | PR_DELIVERY_POINT | `201785347` | | | PR_DELTAX | `1057161219` | | | PR_DELTAY | `1057226755` | | | PR_DETAILS_TABLE | `906297357` | | | PR_DISC_VAL | `4849675` | | | PR_DISCARD_REASON | `1114115` | | | PR_DISCLOSE_RECIPIENTS | `973340683` | | | PR_DISCLOSURE_OF_RECIPIENTS | `1179659` | | | PR_DISCRETE_VALUES | `235798539` | | | PR_DL_EXPANSION_HISTORY | `1245442` | | | PR_DL_EXPANSION_PROHIBITED | `1310731` | | | PR_EXPLICIT_CONVERSION | `201392131` | | | PR_FILTERING_HOOKS | `1023934722` | | | PR_FINDER_ENTRYID | `904331522` | | | PR_FORM_CATEGORY | `855900190` | | | PR_FORM_CATEGORY_SUB | `855965726` | | | PR_FORM_CLSID | `855769160` | | | PR_FORM_CONTACT_NAME | `855834654` | | | PR_FORM_DESIGNER_GUID | `856227912` | | | PR_FORM_DESIGNER_NAME | `856162334` | | | PR_FORM_HIDDEN | `856096779` | | | PR_FORM_HOST_MAP | `856035331` | | | PR_FORM_MESSAGE_BEHAVIOR | `856293379` | | | PR_FORM_VERSION | `855703582` | | | PR_HEADER_FOLDER_ENTRYID | `1040843010` | | | PR_ICON | `268239106` | | | PR_IDENTITY_DISPLAY | `1040187422` | | | PR_IDENTITY_ENTRYID | `1040253186` | | | PR_IDENTITY_SEARCH_KEY | `1040515330` | | | PR_IMPLICIT_CONVERSION_PROHIBITED | `1441803` | | | PR_INCOMPLETE_COPY | `3473419` | | | PR_INTERNET_APPROVED | `271581214` | | | PR_INTERNET_ARTICLE_NUMBER | `237174787` | | | PR_INTERNET_CONTROL | `271646750` | | | PR_INTERNET_DISTRIBUTION | `271712286` | | | PR_INTERNET_FOLLOWUP_TO | `271777822` | | | PR_INTERNET_LINES | `271843331` | | | PR_INTERNET_NEWSGROUPS | `271974430` | | | PR_INTERNET_NNTP_PATH | `272105502` | | | PR_INTERNET_ORGANIZATION | `272039966` | | | PR_INTERNET_PRECEDENCE | `272695326` | | | PR_IPM_ID | `1573122` | | | PR_IPM_OUTBOX_ENTRYID | `904003842` | | | PR_IPM_OUTBOX_SEARCH_KEY | `873529602` | | | PR_IPM_RETURN_REQUESTED | `201457675` | | | PR_IPM_SENTMAIL_ENTRYID | `904134914` | | | PR_IPM_SENTMAIL_SEARCH_KEY | `873660674` | | | PR_IPM_SUBTREE_ENTRYID | `903872770` | | | PR_IPM_SUBTREE_SEARCH_KEY | `873464066` | | | PR_IPM_WASTEBASKET_ENTRYID | `904069378` | | | PR_IPM_WASTEBASKET_SEARCH_KEY | `873595138` | | | PR_LANGUAGES | `3080222` | | | PR_LATEST_DELIVERY_TIME | `1638464` | | | PR_MAIL_PERMISSION | `973996043` | | | PR_MDB_PROVIDER | `873726210` | | | PR_MESSAGE_DELIVERY_ID | `1769730` | | | PR_MESSAGE_DOWNLOAD_TIME | `236453891` | | | PR_MESSAGE_SECURITY_LABEL | `1966338` | | | PR_MESSAGE_TOKEN | `201523458` | | | PR_MINI_ICON | `268173570` | | | PR_MODIFY_VERSION | `236584980` | | | PR_NEWSGROUP_NAME | `237240350` | | | PR_NNTP_XREF | `272629790` | | | PR_NON_RECEIPT_REASON | `4063235` | | | PR_OBSOLETED_IPMS | `2031874` | | | PR_ORIGIN_CHECK | `2556162` | | | PR_ORIGINAL_AUTHOR_ADDRTYPE | `7929886` | | | PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS | `7995422` | | | PR_ORIGINAL_AUTHOR_SEARCH_KEY | `5636354` | | | PR_ORIGINAL_DISPLAY_NAME | `974323742` | | | PR_ORIGINAL_EITS | `2162946` | | | PR_ORIGINAL_SEARCH_KEY | `974389506` | | | PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE | `8060958` | | | PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS | `8126494` | | | PR_ORIGINALLY_INTENDED_RECIP_ENTRYID | `269615362` | | | PR_ORIGINALLY_INTENDED_RECIPIENT_NAME | `2097410` | | | PR_ORIGINATING_MTA_CERTIFICATE | `237306114` | | | PR_ORIGINATOR_AND_DL_EXPANSION_HISTORY | `268566786` | | | PR_ORIGINATOR_CERTIFICATE | `2228482` | | | PR_ORIGINATOR_REQUESTED_ALTERNATE_RECIPIENT | `201916674` | | | PR_ORIGINATOR_RETURN_ADDRESS | `2359554` | | | PR_OWN_STORE_ENTRYID | `1040580866` | | | PR_PARENT_DISPLAY | `235208734` | | | PR_PHYSICAL_DELIVERY_BUREAU_FAX_DELIVERY | `201981963` | | | PR_PHYSICAL_DELIVERY_MODE | `202047491` | | | PR_PHYSICAL_DELIVERY_REPORT_REQUEST | `202113027` | | | PR_PHYSICAL_FORWARDING_ADDRESS | `202178818` | | | PR_PHYSICAL_FORWARDING_ADDRESS_REQUESTED | `202244107` | | | PR_PHYSICAL_FORWARDING_PROHIBITED | `202309643` | | | PR_PHYSICAL_RENDITION_ATTRIBUTES | `202375426` | | | PR_POST_FOLDER_ENTRIES | `272302338` | | | PR_POST_FOLDER_NAMES | `272367646` | | | PR_POST_REPLY_DENIED | `272564482` | | | PR_POST_REPLY_FOLDER_ENTRIES | `272433410` | | | PR_POST_REPLY_FOLDER_NAMES | `272498718` | | | PR_PREPROCESS | `237109259` | | | PR_PRIMARY_CAPABILITY | `956563714` | | | PR_PROFILE_NAME | `1024589854` | | | PR_PROOF_OF_DELIVERY | `202440962` | | | PR_PROOF_OF_DELIVERY_REQUESTED | `202506251` | | | PR_PROOF_OF_SUBMISSION | `237371650` | | | PR_PROOF_OF_SUBMISSION_REQUESTED | `2621451` | | | PR_PROVIDER_DISPLAY | `805699614` | | | PR_PROVIDER_DLL_NAME | `805961758` | | | PR_PROVIDER_ORDINAL | `806158339` | | | PR_PROVIDER_SUBMIT_TIME | `4718656` | | | PR_PROVIDER_UID | `806093058` | | | PR_RECEIVE_FOLDER_SETTINGS | `873791501` | | | PR_RECIPIENT_CERTIFICATE | `202572034` | | | PR_RECIPIENT_NUMBER_FOR_ADVICE | `202637342` | | | PR_RECIPIENT_STATUS | `236257283` | | | PR_REDIRECTION_HISTORY | `2883842` | | | PR_REGISTERED_MAIL_TYPE | `202768387` | | | PR_RELATED_IPMS | `2949378` | | | PR_REMOTE_PROGRESS | `1040908291` | | | PR_REMOTE_PROGRESS_TEXT | `1040973854` | | | PR_REMOTE_VALIDATE_OK | `1041039371` | | | PR_REPORTING_DL_NAME | `268632322` | | | PR_REPORTING_MTA_CERTIFICATE | `268697858` | | | PR_REQUESTED_DELIVERY_METHOD | `202899459` | | | PR_RESOURCE_FLAGS | `805896195` | | | PR_RESOURCE_METHODS | `1040318467` | | | PR_RESOURCE_PATH | `1040646174` | | | PR_RESOURCE_TYPE | `1040384003` | | | PR_RETURNED_IPM | `3342347` | | | PR_RTF_SYNC_BODY_COUNT | `268894211` | | | PR_RTF_SYNC_BODY_CRC | `268828675` | | | PR_RTF_SYNC_BODY_TAG | `268959774` | | | PR_RTF_SYNC_PREFIX_COUNT | `269484035` | | | PR_RTF_SYNC_TRAILING_COUNT | `269549571` | | | PR_SEARCH | `906428429` | | | PR_SECURITY | `3407875` | | | PR_SENTMAIL_ENTRYID | `235536642` | | | PR_SERVICE_DELETE_FILES | `1024462878` | | | PR_SERVICE_DLL_NAME | `1024065566` | | | PR_SERVICE_ENTRY_NAME | `1024131102` | | | PR_SERVICE_EXTRA_UIDS | `1024262402` | | | PR_SERVICE_NAME | `1024000030` | | | PR_SERVICE_SUPPORT_FILES | `1024397342` | | | PR_SERVICE_UID | `1024196866` | | | PR_SERVICES | `1024327938` | | | PR_SPOOLER_STATUS | `235929603` | | | PR_STATUS | `906690563` | | | PR_STATUS_CODE | `1040449539` | | | PR_STATUS_STRING | `1040711710` | | | PR_STORE_PROVIDERS | `1023410434` | | | PR_STORE_RECORD_KEY | `268042498` | | | PR_SUBJECT_IPM | `3670274` | | | PR_SUBMIT_FLAGS | `236191747` | | | PR_SUPERSEDES | `272236574` | | | PR_TRANSPORT_KEY | `236322819` | | | PR_TRANSPORT_PROVIDERS | `1023541506` | | | PR_TRANSPORT_STATUS | `235995139` | | | PR_TYPE_OF_MTS_USER | `203161603` | | | PR_VALID_FOLDER_MASK | `903806979` | | | PR_VIEWS_ENTRYID | `904200450` | | | PR_X400_CONTENT_TYPE | `3932418` | | | PR_X400_DEFERRED_DELIVERY_CANCEL | `1040777227` | | | PR_XPOS | `1057292291` | | | PR_YPOS | `1057357827` | | ### GroupDocs.Metadata.Formats.Email Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email.md The namespace contains classes representing saved email messages and their parts. #### Classes | Class | Description | | --- | --- | | EmailAttachmentPackage | Represents a metadata package containing email attachment name. | | EmailHeaderPackage | Represents a metadata package containing email message headers. | | EmailPackage | Represents email message metadata. | | EmailRootPackage | Represents the root package allowing working with metadata in an email message. | | EmlPackage | Represents EML message metadata. | | EmlRootPackage | Represents the root package allowing working with metadata in an EML email message. | | MsgAttachmentPackage | Represents a metadata package containing email attachment name and data. | | MsgPackage | Represents MSG message metadata. | | MsgRootPackage | Represents the root package allowing working with metadata in an MSG email message. | ### EmailAttachmentPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailattachmentpackage.md #### EmailAttachmentPackage class Represents a metadata package containing email attachment name. ```csharp public class EmailAttachmentPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; set; } | Gets the attachment name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailattachmentpackage/name.md #### EmailAttachmentPackage.Name property Gets the attachment name. ```csharp public string Name { get; set; } ``` ##### Property Value The attachment name. ### EmailHeaderPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailheaderpackage.md #### EmailHeaderPackage class Represents a metadata package containing email message headers. ```csharp public class EmailHeaderPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | Get(string) | Gets the value of the specified header. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, PropertyValue) | Set the value of the specified header. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Get Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailheaderpackage/get.md #### EmailHeaderPackage.Get method Gets the value of the specified header. ```csharp public string Get(string header) ``` | Parameter | Type | Description | | --- | --- | --- | | header | String | An email header. | ##### Return Value The value if the package contains the specified header; otherwise, null. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailheaderpackage/set.md #### EmailHeaderPackage.Set method Set the value of the specified header. ```csharp public void Set(string header, PropertyValue value) ``` | Parameter | Type | Description | | --- | --- | --- | | header | String | An email header. | | value | PropertyValue | An email header value. | ### EmailPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailpackage.md #### EmailPackage class Represents email message metadata. ```csharp public abstract class EmailPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | BlindCarbonCopyRecipients { get; set; } | Gets or sets the array of BCC (blind carbon copy) recipients of the email message. | | CarbonCopyRecipients { get; set; } | Gets or sets the array of CC (carbon copy) recipients of the email message. | | Count { get; } | Gets the number of metadata properties. | | Headers { get; set; } | Gets a metadata package containing the email headers. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Recipients { get; set; } | Gets or sets the array of the email recipients. | | SenderEmailAddress { get; set; } | Gets the email address of the sender. | | Subject { get; set; } | Gets or sets the email subject. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example demonstrates how to remove all attachments from an email. ```csharp using (Metadata metadata = new Metadata(Constants.InputEml)) { var root = metadata.GetRootPackage(); root.ClearAttachments(); metadata.Save(Constants.OutputEml); } ``` ### BlindCarbonCopyRecipients Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailpackage/blindcarboncopyrecipients.md #### EmailPackage.BlindCarbonCopyRecipients property Gets or sets the array of BCC (blind carbon copy) recipients of the email message. ```csharp public string[] BlindCarbonCopyRecipients { get; set; } ``` ##### Property Value The array of BCC (blind carbon copy) recipients of the email message. ### CarbonCopyRecipients Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailpackage/carboncopyrecipients.md #### EmailPackage.CarbonCopyRecipients property Gets or sets the array of CC (carbon copy) recipients of the email message. ```csharp public string[] CarbonCopyRecipients { get; set; } ``` ##### Property Value The array of CC (carbon copy) recipients of the email message. ### Headers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailpackage/headers.md #### EmailPackage.Headers property Gets a metadata package containing the email headers. ```csharp public EmailHeaderPackage Headers { get; set; } ``` ##### Property Value A metadata package containing the email headers. ### Recipients Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailpackage/recipients.md #### EmailPackage.Recipients property Gets or sets the array of the email recipients. ```csharp public string[] Recipients { get; set; } ``` ##### Property Value The array of the email recipients. ### SenderEmailAddress Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailpackage/senderemailaddress.md #### EmailPackage.SenderEmailAddress property Gets the email address of the sender. ```csharp public string SenderEmailAddress { get; set; } ``` ##### Property Value The email address of the sender. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailpackage/subject.md #### EmailPackage.Subject property Gets or sets the email subject. ```csharp public string Subject { get; set; } ``` ##### Property Value The email subject. ### EmailRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailrootpackage.md #### EmailRootPackage class Represents the root package allowing working with metadata in an email message. ```csharp public abstract class EmailRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | EmailPackage { get; } | Gets the email metadata package. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearAttachments() | Removes all the attachments form the email message. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ClearAttachments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailrootpackage/clearattachments.md #### EmailRootPackage.ClearAttachments method Removes all the attachments form the email message. ```csharp public void ClearAttachments() ``` ### EmailPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emailrootpackage/emailpackage.md #### EmailRootPackage.EmailPackage property Gets the email metadata package. ```csharp public EmailPackage EmailPackage { get; } ``` ##### Property Value The email metadata package. ### EmlPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emlpackage.md #### EmlPackage class Represents EML message metadata. ```csharp public class EmlPackage : EmailPackage ``` #### Properties | Name | Description | | --- | --- | | Attachments { get; set; } | Gets an array of the attached files. | | BlindCarbonCopyRecipients { get; set; } | Gets or sets the array of BCC (blind carbon copy) recipients of the email message. | | CarbonCopyRecipients { get; set; } | Gets or sets the array of CC (carbon copy) recipients of the email message. | | Count { get; } | Gets the number of metadata properties. | | Headers { get; set; } | Gets a metadata package containing the email headers. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Recipients { get; set; } | Gets or sets the array of the email recipients. | | SenderEmailAddress { get; set; } | Gets the email address of the sender. | | Subject { get; set; } | Gets or sets the email subject. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Attachments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emlpackage/attachments.md #### EmlPackage.Attachments property Gets an array of the attached files. ```csharp public EmailAttachmentPackage[] Attachments { get; set; } ``` ##### Property Value An array of the attached files. ### EmlRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emlrootpackage.md #### EmlRootPackage class Represents the root package allowing working with metadata in an EML email message. ```csharp public class EmlRootPackage : EmailRootPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | EmailPackage { get; } | Gets the EML metadata package. (2 properties) | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearAttachments() | Removes all the attachments form the email message. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract metadata from an EML message. ```csharp using (Metadata metadata = new Metadata(Constants.InputEml)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.EmailPackage.Sender); Console.WriteLine(root.EmailPackage.Subject); foreach (string recipient in root.EmailPackage.Recipients) { Console.WriteLine(recipient); } foreach (var attachedFileName in root.EmailPackage.AttachedFileNames) { Console.WriteLine(attachedFileName); } foreach (var header in root.EmailPackage.Headers) { Console.WriteLine("{0} = {1}", header.Name, header.Value); } // ... } ``` ### EmailPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/emlrootpackage/emailpackage.md #### EmlRootPackage.EmailPackage property Gets the EML metadata package. ```csharp public EmlPackage EmailPackage { get; } ``` ##### Property Value The EML metadata package. ### MsgAttachmentPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgattachmentpackage.md #### MsgAttachmentPackage class Represents a metadata package containing email attachment name and data. ```csharp public class MsgAttachmentPackage : EmailAttachmentPackage ``` #### Constructors | Name | Description | | --- | --- | | MsgAttachmentPackage(string, byte[]) | MsgAttachmentPackage constructor | #### Properties | Name | Description | | --- | --- | | Content { get; set; } | Gets the last attachment data on byte array. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; set; } | Gets the attachment name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Content Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgattachmentpackage/content.md #### MsgAttachmentPackage.Content property Gets the last attachment data on byte array. ```csharp public byte[] Content { get; set; } ``` ##### Property Value Attachment data on byte array. ### MsgAttachmentPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgattachmentpackage/msgattachmentpackage.md #### MsgAttachmentPackage constructor MsgAttachmentPackage constructor ```csharp public MsgAttachmentPackage(string name, byte[] content) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | Attachment name | | content | Byte[] | Attachment file which byte[] | ### MsgPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage.md #### MsgPackage class Represents MSG message metadata. ```csharp public class MsgPackage : EmailPackage ``` #### Properties | Name | Description | | --- | --- | | Attachments { get; set; } | Gets an array of the attached files. | | Billing { get; set; } | Contains the billing information associated with an item. | | BlindCarbonCopyRecipients { get; set; } | Gets or sets the array of BCC (blind carbon copy) recipients of the email message. | | Body { get; set; } | Gets the email message text. | | BodyHtml { get; set; } | Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. | | BodyRtf { get; set; } | Gets the BodyRtf of the message. | | CarbonCopyRecipients { get; set; } | Gets or sets the array of CC (carbon copy) recipients of the email message. | | Categories { get; set; } | Gets the array of categories or keywords. | | ClientSubmitTime { get; set; } | Gets the date and time the message was submit. | | ConversationTopic { get; } | Gets the Conversation Topic. | | Count { get; } | Gets the number of metadata properties. | | DeliveryTime { get; set; } | Gets the date and time the message was delivered. | | DisplayBcc { get; } | Gets the Display Bcc. | | DisplayCc { get; } | Gets the Display Cc. | | DisplayName { get; } | Gets the Display Name. | | DisplayNamePrefix { get; } | Gets the Display Name Prefix. | | DisplayTo { get; } | Gets the Display To. | | Headers { get; set; } | Gets a metadata package containing the email headers. | | InternetMessageId { get; } | Gets the message id of the message. | | IsEncrypted { get; } | Gets the Is Encrypted. | | IsSigned { get; } | Gets the Is Signed. | | IsTemplate { get; } | Gets the Is Template. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Mileage { get; set; } | Gets the Mileage. | | NormalizedSubject { get; } | Gets the Normalized Subject. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ReadReceiptRequested { get; set; } | Gets the Read Receipt Requested. | | Recipients { get; set; } | Gets or sets the array of the email recipients. | | ReplyTo { get; set; } | Gets the Reply To. | | SenderAddressType { get; } | Gets the Sender Address Type. | | SenderEmailAddress { get; set; } | Gets the email address of the sender. | | SenderName { get; set; } | Gets the name of the sender. | | SenderSmtpAddress { get; set; } | Gets the Sender Smtp Address. | | SentRepresentingAddressType { get; } | Gets the Sent Representing Address Type. | | SentRepresentingEmailAddress { get; set; } | Gets the Sent Representing Email Address. | | SentRepresentingName { get; set; } | Gets the Sent Representing Name. | | SentRepresentingSmtpAddress { get; } | Gets the Sent Representing Smtp Address. | | Subject { get; set; } | Gets or sets the email subject. | | SubjectPrefix { get; } | Gets the Subject Prefix. | | TransportMessageHeaders { get; } | Gets the Transport Message Headers. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Attachments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/attachments.md #### MsgPackage.Attachments property Gets an array of the attached files. ```csharp public MsgAttachmentPackage[] Attachments { get; set; } ``` ##### Property Value An array of the attached files. ### Billing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/billing.md #### MsgPackage.Billing property Contains the billing information associated with an item. ```csharp public string Billing { get; set; } ``` ##### Property Value The billing information. ### Body Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/body.md #### MsgPackage.Body property Gets the email message text. ```csharp public string Body { get; set; } ``` ##### Property Value The email message text. ### BodyHtml Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/bodyhtml.md #### MsgPackage.BodyHtml property Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. ```csharp public string BodyHtml { get; set; } ``` ##### Property Value The BodyRtf of the message converted to HTML. ### BodyRtf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/bodyrtf.md #### MsgPackage.BodyRtf property Gets the BodyRtf of the message. ```csharp public string BodyRtf { get; set; } ``` ##### Property Value The BodyRtf of the message. ### Categories Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/categories.md #### MsgPackage.Categories property Gets the array of categories or keywords. ```csharp public string[] Categories { get; set; } ``` ##### Property Value The array of categories or keywords. ### ClientSubmitTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/clientsubmittime.md #### MsgPackage.ClientSubmitTime property Gets the date and time the message was submit. ```csharp public DateTime ClientSubmitTime { get; set; } ``` ##### Property Value The submit time. ### ConversationTopic Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/conversationtopic.md #### MsgPackage.ConversationTopic property Gets the Conversation Topic. ```csharp public string ConversationTopic { get; } ``` ##### Property Value The Conversation Topic. ### DeliveryTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/deliverytime.md #### MsgPackage.DeliveryTime property Gets the date and time the message was delivered. ```csharp public DateTime DeliveryTime { get; set; } ``` ##### Property Value The delivery time. ### DisplayBcc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/displaybcc.md #### MsgPackage.DisplayBcc property Gets the Display Bcc. ```csharp public string DisplayBcc { get; } ``` ##### Property Value The Display Bcc. ### DisplayCc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/displaycc.md #### MsgPackage.DisplayCc property Gets the Display Cc. ```csharp public string DisplayCc { get; } ``` ##### Property Value The Display Cc. ### DisplayName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/displayname.md #### MsgPackage.DisplayName property Gets the Display Name. ```csharp public string DisplayName { get; } ``` ##### Property Value The Display Name. ### DisplayNamePrefix Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/displaynameprefix.md #### MsgPackage.DisplayNamePrefix property Gets the Display Name Prefix. ```csharp public string DisplayNamePrefix { get; } ``` ##### Property Value The Display Name Prefix. ### DisplayTo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/displayto.md #### MsgPackage.DisplayTo property Gets the Display To. ```csharp public string DisplayTo { get; } ``` ##### Property Value The Display To. ### InternetMessageId Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/internetmessageid.md #### MsgPackage.InternetMessageId property Gets the message id of the message. ```csharp public string InternetMessageId { get; } ``` ##### Property Value The message id. ### IsEncrypted Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/isencrypted.md #### MsgPackage.IsEncrypted property Gets the Is Encrypted. ```csharp public bool IsEncrypted { get; } ``` ##### Property Value The Is Encrypted. ### IsSigned Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/issigned.md #### MsgPackage.IsSigned property Gets the Is Signed. ```csharp public bool IsSigned { get; } ``` ##### Property Value The Is Signed. ### IsTemplate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/istemplate.md #### MsgPackage.IsTemplate property Gets the Is Template. ```csharp public bool IsTemplate { get; } ``` ##### Property Value The Is Template. ### Mileage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/mileage.md #### MsgPackage.Mileage property Gets the Mileage. ```csharp public string Mileage { get; set; } ``` ##### Property Value The Mileage. ### NormalizedSubject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/normalizedsubject.md #### MsgPackage.NormalizedSubject property Gets the Normalized Subject. ```csharp public string NormalizedSubject { get; } ``` ##### Property Value The Normalized Subject. ### ReadReceiptRequested Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/readreceiptrequested.md #### MsgPackage.ReadReceiptRequested property Gets the Read Receipt Requested. ```csharp public bool ReadReceiptRequested { get; set; } ``` ##### Property Value The Read Receipt Requested. ### ReplyTo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/replyto.md #### MsgPackage.ReplyTo property Gets the Reply To. ```csharp public string ReplyTo { get; set; } ``` ##### Property Value The Reply To. ### SenderAddressType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/senderaddresstype.md #### MsgPackage.SenderAddressType property Gets the Sender Address Type. ```csharp public string SenderAddressType { get; } ``` ##### Property Value The Sender Address Type. ### SenderName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/sendername.md #### MsgPackage.SenderName property Gets the name of the sender. ```csharp public string SenderName { get; set; } ``` ##### Property Value The name of the sender. ### SenderSmtpAddress Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/sendersmtpaddress.md #### MsgPackage.SenderSmtpAddress property Gets the Sender Smtp Address. ```csharp public string SenderSmtpAddress { get; set; } ``` ##### Property Value The Sender Smtp Address. ### SentRepresentingAddressType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/sentrepresentingaddresstype.md #### MsgPackage.SentRepresentingAddressType property Gets the Sent Representing Address Type. ```csharp public string SentRepresentingAddressType { get; } ``` ##### Property Value The Sent Representing Address Type. ### SentRepresentingEmailAddress Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/sentrepresentingemailaddress.md #### MsgPackage.SentRepresentingEmailAddress property Gets the Sent Representing Email Address. ```csharp public string SentRepresentingEmailAddress { get; set; } ``` ##### Property Value The Sent Representing Email Address. ### SentRepresentingName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/sentrepresentingname.md #### MsgPackage.SentRepresentingName property Gets the Sent Representing Name. ```csharp public string SentRepresentingName { get; set; } ``` ##### Property Value The Sent Representing Name. ### SentRepresentingSmtpAddress Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/sentrepresentingsmtpaddress.md #### MsgPackage.SentRepresentingSmtpAddress property Gets the Sent Representing Smtp Address. ```csharp public string SentRepresentingSmtpAddress { get; } ``` ##### Property Value The Sent Representing Smtp Address. ### SubjectPrefix Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/subjectprefix.md #### MsgPackage.SubjectPrefix property Gets the Subject Prefix. ```csharp public string SubjectPrefix { get; } ``` ##### Property Value The Subject Prefix. ### TransportMessageHeaders Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgpackage/transportmessageheaders.md #### MsgPackage.TransportMessageHeaders property Gets the Transport Message Headers. ```csharp public string TransportMessageHeaders { get; } ``` ##### Property Value The Transport Message Headers. ### MsgRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgrootpackage.md #### MsgRootPackage class Represents the root package allowing working with metadata in an MSG email message. ```csharp public class MsgRootPackage : EmailRootPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | EmailPackage { get; } | Gets the MSG metadata package. (2 properties) | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearAttachments() | Removes all the attachments form the email message. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetString(MsgKnownProperties) | Gets the string value of the property specified by tag. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract metadata from an MSG message. ```csharp using (Metadata metadata = new Metadata(Constants.InputMsg)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.EmailPackage.Sender); Console.WriteLine(root.EmailPackage.Subject); foreach (string recipient in root.EmailPackage.Recipients) { Console.WriteLine(recipient); } foreach (var attachedFileName in root.EmailPackage.AttachedFileNames) { Console.WriteLine(attachedFileName); } foreach (var header in root.EmailPackage.Headers) { Console.WriteLine("{0} = {1}", header.Name, header.Value); } Console.WriteLine(root.EmailPackage.Body); Console.WriteLine(root.EmailPackage.DeliveryTime); // ... } ``` ### EmailPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgrootpackage/emailpackage.md #### MsgRootPackage.EmailPackage property Gets the MSG metadata package. ```csharp public MsgPackage EmailPackage { get; } ``` ##### Property Value The MSG metadata package. ### GetString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.email/msgrootpackage/getstring.md #### MsgRootPackage.GetString method Gets the string value of the property specified by tag. ```csharp public string GetString(MsgKnownProperties tag) ``` | Parameter | Type | Description | | --- | --- | --- | | tag | MsgKnownProperties | The value from MsgKnownProperties enum . | ##### Return Value The value of the property. If the property does not exist, returns NULL; otherwise, returns the value. ### GroupDocs.Metadata.Formats.Fb2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.fb2.md #### Classes | Class | Description | | --- | --- | | Fb2Package | Represents metadata in a Fb2 e-book. | ### Fb2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.fb2/fb2package.md #### Fb2Package class Represents metadata in a Fb2 e-book. ```csharp public sealed class Fb2Package : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | CustomInfo { get; } | Some information about the document that is not provided in the rest of the description. This may be either just some information from the author or some information that may be useful to some FB2 software. | | DocumentInfo { get; } | Description of information about a specific FB2.x document (creator(s), history, etc.). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | PublishInfo { get; } | Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. | | SrcTitleInfo { get; } | Description of information about the work in the original language (not available for the original book). | | TitleInfo { get; } | Description of information about the work (including translation, but excluding publication). | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CustomInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.fb2/fb2package/custominfo.md #### Fb2Package.CustomInfo property Some information about the document that is not provided in the rest of the description. This may be either just some information from the author or some information that may be useful to some FB2 software. ```csharp public string[] CustomInfo { get; } ``` ##### Property Value The Custom Info. ### DocumentInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.fb2/fb2package/documentinfo.md #### Fb2Package.DocumentInfo property Description of information about a specific FB2.x document (creator(s), history, etc.). ```csharp public Fb2DocumentInfo DocumentInfo { get; } ``` ##### Property Value The Fb2 Document Info. ### PublishInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.fb2/fb2package/publishinfo.md #### Fb2Package.PublishInfo property Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. ```csharp public Fb2PublishInfo PublishInfo { get; } ``` ##### Property Value The Fb2 Publish Info. ### SrcTitleInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.fb2/fb2package/srctitleinfo.md #### Fb2Package.SrcTitleInfo property Description of information about the work in the original language (not available for the original book). ```csharp public Fb2TitleInfo SrcTitleInfo { get; } ``` ##### Property Value The Fb2 Src Title Info. ### TitleInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.fb2/fb2package/titleinfo.md #### Fb2Package.TitleInfo property Description of information about the work (including translation, but excluding publication). ```csharp public Fb2TitleInfo TitleInfo { get; } ``` ##### Property Value The Fb2 Title Info. ### GroupDocs.Metadata.Formats.Font Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font.md The namespace contains classes allowing users to work with formats representing scalable computer fonts. #### Classes | Class | Description | | --- | --- | | OpenTypeBaseNameRecord | Represents the base OpenType Name table record class. | | OpenTypeFont | Represents a single font extracted from a file. | | OpenTypeMacintoshNameRecord | Represents the Name record table value for the Macintosh platform. | | OpenTypePackage | Represents an OpenType font metadata package. | | OpenTypeRootPackage | Represents the root package allowing working with metadata in an OpenType font file. | | OpenTypeUnicodeNameRecord | Represents the Name record table value for the Unicode platform. | | OpenTypeWindowsNameRecord | Represents the Name record table value for Windows platform. | #### Enumeration | Enumeration | Description | | --- | --- | | OpenTypeDigitalSignatureFlags | Represents OpenType font digital signature flags. | | OpenTypeDirectionHint | Represents the OpenType font direction. | | OpenTypeFlags | Represents OpenType font header flags. | | OpenTypeIsoEncoding | Represents encoding for the Iso platform. | | OpenTypeLicensingRights | Indicates font embedding licensing rights for the font. | | OpenTypeMacintoshEncoding | Represents encoding for the Macintosh platform. | | OpenTypeMacintoshLanguage | Represents language enum for the Macintosh platform. | | OpenTypeName | Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. | | OpenTypePlatform | Represents OpenType platform for Name table. | | OpenTypeStyles | Represents the OpenType font style. | | OpenTypeUnicodeEncoding | Represents encoding for Unicode platform. | | OpenTypeVersion | Represents the OpenType version. | | OpenTypeWeight | Represents the OpenType font weight. Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the font. Values from 1 to 1000 are valid. | | OpenTypeWidth | Represents the OpenType font width. Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a font. | | OpenTypeWindowsEncoding | Represents encoding for the Windows platform. | | OpenTypeWindowsLanguage | Represents language for Windows platform. | ### OpenTypeBaseNameRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypebasenamerecord.md #### OpenTypeBaseNameRecord class Represents the base OpenType Name table record class. ```csharp public abstract class OpenTypeBaseNameRecord : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NameID { get; } | Gets the name identifier. | | Platform { get; } | Gets the platform identifier. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the string value of record. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### NameID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypebasenamerecord/nameid.md #### OpenTypeBaseNameRecord.NameID property Gets the name identifier. ```csharp public OpenTypeName NameID { get; } ``` ##### Property Value The name identifier. ### Platform Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypebasenamerecord/platform.md #### OpenTypeBaseNameRecord.Platform property Gets the platform identifier. ```csharp public OpenTypePlatform Platform { get; } ``` ##### Property Value The platform identifier. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypebasenamerecord/value.md #### OpenTypeBaseNameRecord.Value property Gets the string value of record. ```csharp public string Value { get; } ``` ##### Property Value The string value of record. ### OpenTypeDigitalSignatureFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypedigitalsignatureflags.md #### OpenTypeDigitalSignatureFlags enumeration Represents OpenType font digital signature flags. ```csharp [Flags] public enum OpenTypeDigitalSignatureFlags : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Undefined flag. | | CannotBeResigned | `1` | Cannot be resigned. | ### OpenTypeDirectionHint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypedirectionhint.md #### OpenTypeDirectionHint enumeration Represents the OpenType font direction. ```csharp public enum OpenTypeDirectionHint : short ``` ##### Values | Name | Value | Description | | --- | --- | --- | | FullyMixed | `0` | Fully mixed directional glyphs. | | OnlyLeftToRight | `1` | Only strongly left to right. | | LeftToRightAndNeutrals | `2` | Like OnlyLeftToRight but also contains neutrals. | | OnlyRightToLeft | `-1` | Only strongly right to left. | | RightToLeftAndNeutrals | `-2` | Like OnlyRightToLeft but also contains neutrals. | ### OpenTypeFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeflags.md #### OpenTypeFlags enumeration Represents OpenType font header flags. ```csharp [Flags] public enum OpenTypeFlags : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | Undefined, no flags. | | BaselineAtY0 | `1` | Baseline for font at y=0. | | LeftSidebearingAtX0 | `2` | Left sidebearing point at x=0 (relevant only for TrueType rasterizers). | | DependOnPointSize | `4` | Instructions may depend on point size. | | ForceToInteger | `8` | Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear. | | AlterAdvanceWidth | `10` | Instructions may alter advance width (the advance widths might not scale linearly). | | Lossless | `1000` | Font data is “lossless” as a result of having been subjected to optimizing transformation and/or compression. | | Converted | `2000` | Font converted (produce compatible metrics). | | Optimized | `4000` | Font optimized for ClearType™. | | Resort | `8000` | Last Resort font. | ### OpenTypeFont Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont.md #### OpenTypeFont class Represents a single font extracted from a file. ```csharp public class OpenTypeFont : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Created { get; } | Gets the created date. | | DirectionHint { get; } | Gets the direction hint. | | EmbeddingLicensingRights { get; } | Gets the embedding licensing rights type. | | Flags { get; } | Gets the header flags. | | FontFamilyName { get; } | Gets the name of the font family. | | FontRevision { get; } | Gets the font revision. | | FontSubfamilyName { get; } | Gets the name of the font subfamily. | | FullFontName { get; } | Gets the full name of the font. | | GlyphBounds { get; } | Gets the glyph bounds. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MajorVersion { get; } | Gets the header major version. | | MetadataType { get; } | Gets the metadata type. | | MinorVersion { get; } | Gets the header minor version. | | Modified { get; } | Gets the modified date. | | Names { get; } | Gets the name records. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SfntVersion { get; } | Gets the header SFNT version. | | Style { get; } | Gets the font style. | | TypographicFamily { get; } | Gets the typographic family. | | TypographicSubfamily { get; } | Gets the typographic subfamily. | | Weight { get; } | Gets the font weight. | | Width { get; } | Gets the font width. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Created Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/created.md #### OpenTypeFont.Created property Gets the created date. ```csharp public DateTime Created { get; } ``` ##### Property Value The created date. ### DirectionHint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/directionhint.md #### OpenTypeFont.DirectionHint property Gets the direction hint. ```csharp public OpenTypeDirectionHint DirectionHint { get; } ``` ##### Property Value The direction hint. ### EmbeddingLicensingRights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/embeddinglicensingrights.md #### OpenTypeFont.EmbeddingLicensingRights property Gets the embedding licensing rights type. ```csharp public OpenTypeLicensingRights EmbeddingLicensingRights { get; } ``` ##### Property Value The embedding licensing rights type. ### Flags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/flags.md #### OpenTypeFont.Flags property Gets the header flags. ```csharp public OpenTypeFlags Flags { get; } ``` ##### Property Value The header flags. ### FontFamilyName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/fontfamilyname.md #### OpenTypeFont.FontFamilyName property Gets the name of the font family. ```csharp public string FontFamilyName { get; } ``` ##### Property Value The name of the font family. ### FontRevision Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/fontrevision.md #### OpenTypeFont.FontRevision property Gets the font revision. ```csharp public float FontRevision { get; } ``` ##### Property Value The font revision. ### FontSubfamilyName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/fontsubfamilyname.md #### OpenTypeFont.FontSubfamilyName property Gets the name of the font subfamily. ```csharp public string FontSubfamilyName { get; } ``` ##### Property Value The name of the font subfamily. ### FullFontName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/fullfontname.md #### OpenTypeFont.FullFontName property Gets the full name of the font. ```csharp public string FullFontName { get; } ``` ##### Property Value The full name of the font. ### GlyphBounds Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/glyphbounds.md #### OpenTypeFont.GlyphBounds property Gets the glyph bounds. ```csharp public Rectangle GlyphBounds { get; } ``` ##### Property Value The glyph bounds. ### MajorVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/majorversion.md #### OpenTypeFont.MajorVersion property Gets the header major version. ```csharp public ushort MajorVersion { get; } ``` ##### Property Value The header major version. ### MinorVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/minorversion.md #### OpenTypeFont.MinorVersion property Gets the header minor version. ```csharp public ushort MinorVersion { get; } ``` ##### Property Value The header minor version. ### Modified Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/modified.md #### OpenTypeFont.Modified property Gets the modified date. ```csharp public DateTime Modified { get; } ``` ##### Property Value The modified date. ### Names Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/names.md #### OpenTypeFont.Names property Gets the name records. ```csharp public OpenTypeBaseNameRecord[] Names { get; } ``` ##### Property Value The name records. ### SfntVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/sfntversion.md #### OpenTypeFont.SfntVersion property Gets the header SFNT version. ```csharp public OpenTypeVersion SfntVersion { get; } ``` ##### Property Value The header SFNT version. ### Style Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/style.md #### OpenTypeFont.Style property Gets the font style. ```csharp public OpenTypeStyles Style { get; } ``` ##### Property Value The font style. ### TypographicFamily Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/typographicfamily.md #### OpenTypeFont.TypographicFamily property Gets the typographic family. ```csharp public string TypographicFamily { get; } ``` ##### Property Value The typographic family. ### TypographicSubfamily Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/typographicsubfamily.md #### OpenTypeFont.TypographicSubfamily property Gets the typographic subfamily. ```csharp public string TypographicSubfamily { get; } ``` ##### Property Value The typographic subfamily. ### Weight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/weight.md #### OpenTypeFont.Weight property Gets the font weight. ```csharp public OpenTypeWeight Weight { get; } ``` ##### Property Value The font weight. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypefont/width.md #### OpenTypeFont.Width property Gets the font width. ```csharp public OpenTypeWidth Width { get; } ``` ##### Property Value The font width. ### OpenTypeIsoEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeisoencoding.md #### OpenTypeIsoEncoding enumeration Represents encoding for the Iso platform. ```csharp public enum OpenTypeIsoEncoding : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Ascii7Bit | `0` | The 7-bit ASCII encoding. | | Iso10646 | `1` | The ISO 10646 encoding. | | Iso8859 | `2` | The ISO 8859-1 encoding. | ### OpenTypeLicensingRights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypelicensingrights.md #### OpenTypeLicensingRights enumeration Indicates font embedding licensing rights for the font. ```csharp [Flags] public enum OpenTypeLicensingRights : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | The undefined licensing rights. | | UsagePermissionsMask | `F` | Usage permissions mask. | | InstallableEmbedding | `1` | Installable embedding. The font may be embedded, and may be permanently installed for use on a remote systems, or for use by other users. | | RestrictedLicenseEmbedding | `2` | Restricted License embedding. The font must not be modified, embedded or exchanged in any manner without first obtaining explicit permission of the legal owner. | | PreviewAndPrintEmbedding | `4` | Preview and Print embedding. The font may be embedded, and may be temporarily loaded on other systems for purposes of viewing or printing the document. Documents containing Preview & Print fonts must be opened “read-only”; no edits can be applied to the document. | | EditableEmbedding | `8` | Editable embedding. The font may be embedded, and may be temporarily loaded on other systems. As with Preview and Print embedding, documents containing Editable fonts may be opened for reading. In addition, editing is permitted, including ability to format new text using the embedded font, and changes may be saved. | | NoSubsetting | `100` | No subsetting. When this bit is set, the font may not be subsetted prior to embedding. Other embedding restrictions specified in bits 0 to 3 and bit 9 also apply. | | BitmapEmbeddingOnly | `200` | Bitmap embedding only. When this bit is set, only bitmaps contained in the font may be embedded. No outline data may be embedded. If there are no bitmaps available in the font, then the font is considered unembeddable and the embedding services will fail. Other embedding restrictions specified in bits 0-3 and 8 also apply. | ### OpenTypeMacintoshEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypemacintoshencoding.md #### OpenTypeMacintoshEncoding enumeration Represents encoding for the Macintosh platform. ```csharp public enum OpenTypeMacintoshEncoding : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | DefaultSemantics | `0` | Default semantics. | | Version11Semantics | `1` | Version 1.1 semantics. | | Iso106461993Semantics | `2` | ISO 10646 1993 semantics (deprecated). | | Unicode20BmpOnly | `3` | Unicode 2.0 or later semantics (BMP only). | | Unicode20NonBmp | `4` | Unicode 2.0 or later semantics (non-BMP characters allowed). | | UnicodeVariationSequences | `5` | Unicode Variation Sequences. | | FullUnicodeCoverage | `6` | Full Unicode coverage. | ### OpenTypeMacintoshLanguage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypemacintoshlanguage.md #### OpenTypeMacintoshLanguage enumeration Represents language enum for the Macintosh platform. ```csharp public enum OpenTypeMacintoshLanguage : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | English | `0` | The english language. | | French | `1` | The french language. | | German | `2` | The german language. | | Italian | `3` | The italian language. | | Dutch | `4` | The dutch language. | | Swedish | `5` | The swedish language. | | Spanish | `6` | The spanish language. | | Danish | `7` | The danish language. | | Portuguese | `8` | The portuguese language. | | Norwegian | `9` | The norwegian language. | | Hebrew | `10` | The hebrew language. | | Japanese | `11` | The japanese language. | | Arabic | `12` | The arabic language. | | Finnish | `13` | The finnish language. | | Greek | `14` | The greek language. | | Icelandic | `15` | The icelandic language. | | Maltese | `16` | The maltese language. | | Turkish | `17` | The turkish language. | | Croatian | `18` | The croatian language. | | ChineseTraditional | `19` | The chinese traditional language. | | Urdu | `20` | The urdu language. | | Hindi | `21` | The hindi language. | | Thai | `22` | The thai language. | | Korean | `23` | The korean language. | | Lithuanian | `24` | The lithuanian language. | | Polish | `25` | The polish language. | | Hungarian | `26` | The hungarian language. | | Estonian | `27` | The estonian language. | | Latvian | `28` | The latvian language. | | Sami | `29` | The sami language. | | Faroese | `30` | The faroese language. | | FarsiPersian | `31` | The farsi persian language. | | Russian | `32` | The russian language. | | ChineseSimplified | `33` | The chinese simplifie language. | | Flemish | `34` | The flemish language. | | IrishGaelic | `35` | The irish gaelic language. | | Albanian | `36` | The albanian language. | | Romanian | `37` | The romanian language. | | Czech | `38` | The czech language. | | Slovak | `39` | The slovak language. | | Slovenian | `40` | The slovenian language. | | Yiddish | `41` | The yiddish language. | | Serbian | `42` | The serbian language. | | Macedonian | `43` | The macedonian language. | | Bulgarian | `44` | The bulgarian language. | | Ukrainian | `45` | The ukrainian language. | | Byelorussian | `46` | The byelorussian language. | | Uzbek | `47` | The uzbek language. | | Kazakh | `48` | The kazakh language. | | AzerbaijaniCyrillic | `49` | The azerbaijani cyrillic language. | | AzerbaijaniArabic | `50` | The azerbaijani arabic language. | | Armenian | `51` | The armenian language. | | Georgian | `52` | The georgian language. | | Moldavian | `53` | The moldavian language. | | Kirghiz | `54` | The kirghiz language. | | Tajiki | `55` | The tajiki language. | | Turkmen | `56` | The turkmen language. | | MongolianMongolian | `57` | The mongolian mongolian language. | | MongolianCyrillic | `58` | The mongolian cyrillic language. | | Pashto | `59` | The pashto language. | | Kurdish | `60` | The kurdish language. | | Kashmiri | `61` | The kashmiri language. | | Sindhi | `62` | The sindhi language. | | Tibetan | `63` | The tibetan language. | | Nepali | `64` | The nepali language. | | Sanskrit | `65` | The sanskrit language. | | Marathi | `66` | The marathi language. | | Bengali | `67` | The bengali language. | | Assamese | `68` | The assamese language. | | Gujarati | `69` | The gujarati language. | | Punjabi | `70` | The punjabi language. | | Oriya | `71` | The oriya language. | | Malayalam | `72` | The malayalam language. | | Kannada | `73` | The kannada language. | | Tamil | `74` | The tamil language. | | Telugu | `75` | The telugu language. | | Sinhalese | `76` | The sinhalese language. | | Burmese | `77` | The burmese language. | | Khmer | `78` | The khmer language. | | Lao | `79` | The lao language. | | Vietnamese | `80` | The vietnamese language. | | Indonesian | `81` | The indonesian language. | | Tagalog | `82` | The tagalog language. | | MalayRoman | `83` | The malay roman language. | | MalayArabic | `84` | The malay arabic language. | | Amharic | `85` | The amharic language. | | Tigrinya | `86` | The tigrinya language. | | Galla | `87` | The galla language. | | Somali | `88` | The somali language. | | Swahili | `89` | The swahili language. | | KinyarwandaOrRuanda | `90` | The kinyarwanda or ruanda language. | | Rundi | `91` | The rundi language. | | NyanjaOrChewa | `92` | The nyanja or chewa language. | | Malagasy | `93` | The malagasy language. | | Esperanto | `94` | The esperanto language. | | Welsh | `128` | The welsh language. | | Basque | `129` | The basque language. | | Catalan | `130` | The catalan language. | | Latin | `131` | The latin language. | | Quechua | `132` | The quechua language. | | Guarani | `133` | The guarani language. | | Aymara | `134` | The aymara language. | | Tatar | `135` | The tatar language. | | Uighur | `136` | The uighur language. | | Dzongkha | `137` | The dzongkha language. | | JavaneseRoman | `138` | The javanese roman language. | | SundaneseRoman | `139` | The sundanese roman language. | | Galician | `140` | The galician language. | | Afrikaans | `141` | The afrikaans language. | | Breton | `142` | The breton language. | | Inuktitut | `143` | The inuktitut language. | | ScottishGaelic | `144` | The scottish gaelic language. | | ManxGaelic | `145` | The manx gaelic language. | | IrishGaelicWithDotAbove | `146` | The irish gaelic with dot above language. | | Tongan | `147` | The tongan language. | | GreekPolytonic | `148` | The greek polytonic language. | | Greenlandic | `149` | The greenlandic language. | | AzerbaijaniRoman | `150` | The azerbaijani roman language. | ### OpenTypeMacintoshNameRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord.md #### OpenTypeMacintoshNameRecord class Represents the Name record table value for the Macintosh platform. ```csharp public class OpenTypeMacintoshNameRecord : OpenTypeBaseNameRecord ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Encoding { get; } | Gets the encoding identifier. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language identifier. | | MetadataType { get; } | Gets the metadata type. | | NameID { get; } | Gets the name identifier. | | Platform { get; } | Gets the platform identifier. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the string value of record. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Encoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/encoding.md #### OpenTypeMacintoshNameRecord.Encoding property Gets the encoding identifier. ```csharp public OpenTypeMacintoshEncoding Encoding { get; } ``` ##### Property Value The encoding identifier. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/language.md #### OpenTypeMacintoshNameRecord.Language property Gets the language identifier. ```csharp public OpenTypeMacintoshLanguage Language { get; } ``` ##### Property Value The language identifier. ### OpenTypeName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypename.md #### OpenTypeName enumeration Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. ```csharp public enum OpenTypeName : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | CopyrightNotice | `0` | Copyright notice. | | FontFamilyName | `1` | Font Family name. | | FontSubfamilyName | `2` | Font Subfamily name. | | UniqueFontIdentifier | `3` | Unique font identifier. | | FullFontName | `4` | Full font name that reflects all family and relevant subfamily descriptors. | | VersionString | `5` | Version string. | | PostScriptName | `6` | PostScript name for the font. | | Trademark | `7` | Trademark notice/information for this font. | | ManufacturerName | `8` | Manufacturer Name. | | Designer | `9` | Designer; name of the designer of the typeface. | | Description | `10` | Description of the typeface. | | UrlVendor | `11` | URL of font vendor (with protocol, e.g., http://, ftp://). | | UrlDesigner | `12` | URL of typeface designer (with protocol, e.g., http://, ftp://). | | LicenseDescription | `13` | Description of how the font may be legally used, or different example scenarios for licensed use. | | LicenseInfoUrl | `14` | URL where additional licensing information can be found. | | TypographicFamily | `16` | Typographic Family name. | | TypographicSubfamily | `17` | Typographic Subfamily name. | | CompatibleFull | `18` | Compatible Full (Macintosh only). On the Macintosh, the menu name is constructed using the FOND resource. | | SampleText | `19` | Sample text. This can be the font name, or any other text that the designer thinks is the best sample to display the font in. | | PostScriptCidFindfont | `20` | PostScript CID findfont name. | | WwsFamilyName | `21` | WWS Family Name. | | WwsSubfamilyName | `22` | WWS Subfamily Name. | | LightBackgroundPalette | `23` | Light Background Palette. | | DarkBackgroundPalette | `24` | Dark Background Palette. | | VariationsPostScriptNamePrefix | `25` | Variations PostScript Name Prefix. | ### OpenTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypepackage.md #### OpenTypePackage class Represents an OpenType font metadata package. ```csharp public sealed class OpenTypePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Fonts { get; } | Gets an array of the fonts extracted from the file. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Fonts Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypepackage/fonts.md #### OpenTypePackage.Fonts property Gets an array of the fonts extracted from the file. ```csharp public OpenTypeFont[] Fonts { get; } ``` ##### Property Value An array of the fonts extracted from the file. ### OpenTypePlatform Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeplatform.md #### OpenTypePlatform enumeration Represents OpenType platform for Name table. ```csharp public enum OpenTypePlatform : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unicode | `0` | The Unicode platform. | | Macintosh | `1` | The Macintosh platform. | | Iso | `2` | The ISO [deprecated] platform. | | Windows | `3` | The Windows platform. | | Custom | `4` | The Custom platform. | ### OpenTypeRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentyperootpackage.md #### OpenTypeRootPackage class Represents the root package allowing working with metadata in an OpenType font file. ```csharp public class OpenTypeRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DigitalSignaturePackage { get; } | Gets the digital signature metadata package. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | OpenTypePackage { get; } | Gets the OpenType metadata package. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DigitalSignaturePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentyperootpackage/digitalsignaturepackage.md #### OpenTypeRootPackage.DigitalSignaturePackage property Gets the digital signature metadata package. ```csharp public CmsPackage DigitalSignaturePackage { get; } ``` ##### Property Value The digital signature metadata package. ##### Examples This code snippet demonstrates how to extract digital signatures associated with an OpenType font. ```csharp public static void Run() { using (Metadata metadata = new Metadata(Constants.InputTtf)) { var root = metadata.GetRootPackage(); if (root.DigitalSignaturePackage != null) { Console.WriteLine(root.DigitalSignaturePackage.Flags); foreach (var signature in root.DigitalSignaturePackage.Signatures) { Console.WriteLine(signature.SignTime); if (signature.DigestAlgorithms != null) { foreach (var signatureDigestAlgorithm in signature.DigestAlgorithms) { PrintOid(signatureDigestAlgorithm); } } if (signature.EncapsulatedContent != null) { PrintOid(signature.EncapsulatedContent.ContentType); Console.WriteLine(signature.EncapsulatedContent.ContentRawData.Length); } if (signature.Certificates != null) { foreach (var certificate in signature.Certificates) { Console.WriteLine(certificate.NotAfter); Console.WriteLine(certificate.NotBefore); Console.WriteLine(certificate.RawData.Length); } } if (signature.Signers != null) { foreach (var signerInfoEntry in signature.Signers) { Console.WriteLine(signerInfoEntry.SignatureValue); PrintOid(signerInfoEntry.DigestAlgorithm); PrintOid(signerInfoEntry.SignatureAlgorithm); Console.WriteLine(signerInfoEntry.SigningTime); PrintAttributes(signerInfoEntry.SignedAttributes); PrintAttributes(signerInfoEntry.UnsignedAttributes); } } } } } } private static void PrintOid(Oid oid) { // Display the property name and value of OID if (oid != null) { Console.WriteLine(oid.FriendlyName); Console.WriteLine(oid.Value); } } private static void PrintAttributes(CmsAttribute[] attributes) { //Display the CmsAttributes of an OID if (attributes != null) { foreach (CmsAttribute attribute in attributes) { PrintOid(attribute.Oid); Console.WriteLine(attribute.Value); } } } ``` ### OpenTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentyperootpackage/opentypepackage.md #### OpenTypeRootPackage.OpenTypePackage property Gets the OpenType metadata package. ```csharp public OpenTypePackage OpenTypePackage { get; } ``` ##### Property Value The OpenType metadata package. ##### Examples This example shows how to read OpenType font metadata. ```csharp using (Metadata metadata = new Metadata(Constants.InputTtf)) { var root = metadata.GetRootPackage(); // Read the OpenType font metadata foreach (var metadataEntry in root.OpenTypePackage.Fonts) { // Display the values of some metadata properties Console.WriteLine(metadataEntry.Created); Console.WriteLine(metadataEntry.DirectionHint); Console.WriteLine(metadataEntry.EmbeddingLicensingRights); Console.WriteLine(metadataEntry.Flags); Console.WriteLine(metadataEntry.FontFamilyName); Console.WriteLine(metadataEntry.FontRevision); Console.WriteLine(metadataEntry.FontSubfamilyName); Console.WriteLine(metadataEntry.FullFontName); Console.WriteLine(metadataEntry.GlyphBounds); Console.WriteLine(metadataEntry.MajorVersion); Console.WriteLine(metadataEntry.MinorVersion); Console.WriteLine(metadataEntry.Modified); Console.WriteLine(metadataEntry.SfntVersion); Console.WriteLine(metadataEntry.Style); Console.WriteLine(metadataEntry.TypographicFamily); Console.WriteLine(metadataEntry.TypographicSubfamily); Console.WriteLine(metadataEntry.Weight); Console.WriteLine(metadataEntry.Width); foreach (OpenTypeBaseNameRecord nameRecord in metadataEntry.Names) { Console.WriteLine(nameRecord.NameID); Console.WriteLine(nameRecord.Platform); Console.WriteLine(nameRecord.Value); OpenTypeMacintoshNameRecord macintoshNameRecord = nameRecord as OpenTypeMacintoshNameRecord; if (macintoshNameRecord != null) { Console.WriteLine(macintoshNameRecord.Encoding); Console.WriteLine(macintoshNameRecord.Language); } else { OpenTypeUnicodeNameRecord unicodeNameRecord = nameRecord as OpenTypeUnicodeNameRecord; if (unicodeNameRecord != null) { Console.WriteLine(unicodeNameRecord.Encoding); } else { OpenTypeWindowsNameRecord windowsNameRecord = nameRecord as OpenTypeWindowsNameRecord; if (windowsNameRecord != null) { Console.WriteLine(windowsNameRecord.Encoding); Console.WriteLine(windowsNameRecord.Language); } } } } } } ``` ### OpenTypeStyles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypestyles.md #### OpenTypeStyles enumeration Represents the OpenType font style. ```csharp [Flags] public enum OpenTypeStyles : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Regular | `0` | Normal text. | | Bold | `1` | Bold text. | | Italic | `2` | Italic text. | | Underline | `4` | Underlined text. | | Outline | `8` | Outline text. | | Shadow | `A` | Shadow text. | | Condensed | `14` | Condensed text. | | Extended | `28` | Extended text. | ### OpenTypeUnicodeEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeunicodeencoding.md #### OpenTypeUnicodeEncoding enumeration Represents encoding for Unicode platform. ```csharp public enum OpenTypeUnicodeEncoding : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unicode10 | `0` | Unicode 1.0 semantics. | | Unicode11 | `1` | Unicode 1.1 semantics. | | Iso | `2` | ISO/IEC 10646 semantics. | | Unicode20Bmp | `3` | Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6). | | Unicode20Full | `4` | Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12). | | UnicodeVariation | `5` | Unicode Variation Sequences ('cmap' subtable format 14). | | UnicodeFull | `6` | Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13). | ### OpenTypeUnicodeNameRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeunicodenamerecord.md #### OpenTypeUnicodeNameRecord class Represents the Name record table value for the Unicode platform. ```csharp public class OpenTypeUnicodeNameRecord : OpenTypeBaseNameRecord ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Encoding { get; } | Gets the encoding identifier. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NameID { get; } | Gets the name identifier. | | Platform { get; } | Gets the platform identifier. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the string value of record. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Encoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/encoding.md #### OpenTypeUnicodeNameRecord.Encoding property Gets the encoding identifier. ```csharp public OpenTypeUnicodeEncoding Encoding { get; } ``` ##### Property Value The encoding identifier. ### OpenTypeVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeversion.md #### OpenTypeVersion enumeration Represents the OpenType version. ```csharp public enum OpenTypeVersion : uint ``` ##### Values | Name | Value | Description | | --- | --- | --- | | TrueType | `65536` | The TrueType font. | | Cff | `1330926671` | The OpenType font with PostScript outlines. | | TrueTypeOsX | `1953658213` | The OS X and iOS TrueType font. | ### OpenTypeWeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypeweight.md #### OpenTypeWeight enumeration Represents the OpenType font weight. Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the font. Values from 1 to 1000 are valid. ```csharp public enum OpenTypeWeight : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | The undefined weight. | | Thin | `100` | The Thin weight. | | ExtraLight | `200` | The Extra-light (Ultra-light) weight. | | Light | `300` | The Light weight. | | Normal | `400` | The Normal (Regular) weight. | | Medium | `500` | The Medium weight. | | SemiBold | `600` | The Semi-bold (Demi-bold) weight. | | Bold | `700` | The Bold weight. | | ExtraBold | `800` | The Extra-bold (Ultra-bold) weight. | | Heavy | `900` | The Black (Heavy) weight. | ### OpenTypeWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypewidth.md #### OpenTypeWidth enumeration Represents the OpenType font width. Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a font. ```csharp public enum OpenTypeWidth : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | The undefined wifth. | | UltraCondensed | `1` | The Ultra-condensed wifth. | | ExtraCondensed | `2` | The Extra-condensed wifth. | | Condensed | `3` | The Condensed wifth. | | SemiCondensed | `4` | The Semi-condensed wifth. | | Medium | `5` | The Medium (normal) wifth. | | SemiExpanded | `6` | The Semi-expanded wifth. | | Expanded | `7` | The Expanded wifth. | | ExtraExpanded | `8` | The Extra-expanded wifth. | | UltraExpanded | `9` | The Ultra-expanded wifth. | ### OpenTypeWindowsEncoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypewindowsencoding.md #### OpenTypeWindowsEncoding enumeration Represents encoding for the Windows platform. ```csharp public enum OpenTypeWindowsEncoding : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Symbol | `0` | The Symbol encoding. | | UnicodeBmp | `1` | The Unicode BMP encoding. | | ShiftJis | `2` | The ShiftJIS encoding. | | Prc | `3` | The PRC encoding. | | Big5 | `4` | The Big5 encoding. | | Wansung | `5` | The Wansung encoding. | | Johab | `6` | The Johab encoding. | | UnicodeFull | `10` | The Unicode full repertoire encoding. | ### OpenTypeWindowsLanguage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypewindowslanguage.md #### OpenTypeWindowsLanguage enumeration Represents language for Windows platform. ```csharp public enum OpenTypeWindowsLanguage : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The unknown language. | | AfrikaansSouthAfrica | `1078` | The afrikaans south africa language. | | AlbanianAlbania | `1052` | The albanian Albania language. | | AlsatianFrance | `1156` | The alsatian France language. | | AmharicEthiopia | `1118` | The amharic Rthiopia language. | | ArabicAlgeria | `5121` | The arabic Algeria language. | | ArabicBahrain | `15361` | The arabic Bahrain language. | | ArabicEgypt | `3073` | The arabic Egypt language. | | ArabicIraq | `2049` | The arabic Iraq language. | | ArabicJordan | `11265` | The arabic Jordan language. | | ArabicKuwait | `13313` | The arabic Kuwait language. | | ArabicLebanon | `12289` | The arabic Lebanon language. | | ArabicLibya | `4097` | The arabic Libya language. | | ArabicMorocco | `6145` | The arabic Morocco language. | | ArabicOman | `8193` | The arabic Oman language. | | ArabicQatar | `16385` | The arabic Qatar language. | | ArabicSaudiArabia | `1025` | The arabic Saudi Arabia language. | | ArabicSyria | `10241` | The arabic Syria language. | | ArabicTunisia | `7169` | The arabic Tunisia language. | | ArabicUae | `14337` | The arabic UAE language. | | ArabicYemen | `9217` | The arabic Yemen language. | | ArmenianArmenia | `1067` | The armenian Armenia language. | | AssameseIndia | `1101` | The assamese India language. | | AzeriCyrillicAzerbaijan | `2092` | The azeri cyrillic Azerbaijan language. | | AzeriLatinAzerbaijan | `1068` | The azeri latin Azerbaijan language. | | BashkirRussia | `1133` | The bashkir Russia language. | | BasqueBasque | `1069` | The basque Basque language. | | BelarusianBelarus | `1059` | The belarusian Belarus language. | | BengaliBangladesh | `2117` | The bengali Bangladesh language. | | BengaliIndia | `1093` | The bengali India language. | | BosnianLatinBosniaAndHerzegovina | `5146` | The bosnian latin Bosnia and Herzegovina language. | | BretonFrance | `1150` | The breton France language. | | BulgarianBulgaria | `1026` | The bulgarian Bulgaria language. | | CatalanCatalan | `1027` | The catalan Catalan language. | | ChineseHongKongSar | `3076` | The chinese Hong Kong SAR language. | | ChineseMacaoSar | `5124` | The chinese Macao SAR language. | | ChinesePeoplesRepublicOfChina | `2052` | The chinese Peoples Republic of China language. | | ChineseSingapore | `4100` | The chinese Singapore language. | | ChineseTaiwan | `1028` | The chinese Taiwan language. | | CorsicanFrance | `1155` | The corsican France language. | | CroatianCroatia | `1050` | The croatian Croatia language. | | CroatianLatinBosniaAndHerzegovina | `4122` | The croatian latin Bosnia and Herzegovina language. | | CzechCzechRepublic | `1029` | The czech Czech Republic language. | | DanishDenmark | `1030` | The danish Denmark language. | | DariAfghanistan | `1164` | The dari Afghanistan language. | | DivehiMaldives | `1125` | The divehi Maldives language. | | DutchBelgium | `2067` | The dutch Belgium language. | | DutchNetherlands | `1043` | The dutch Netherlands language. | | EnglishAustralia | `3081` | The english Australia language. | | EnglishBelize | `10249` | The english Belize language. | | EnglishCanada | `4105` | The english Canada language. | | EnglishCaribbean | `9225` | The english Caribbean language. | | EnglishIndia | `16393` | The english India language. | | EnglishIreland | `6153` | The english Ireland language. | | EnglishJamaica | `8201` | The english Jamaica language. | | EnglishMalaysia | `17417` | The english Malaysia language. | | EnglishNewZealand | `5129` | The english New Zealand language. | | EnglishRepublicOfThePhilippines | `13321` | The english Republic of the Philippines language. | | EnglishSingapore | `18441` | The english Singapore language. | | EnglishSouthAfrica | `7177` | The english south africa language. | | EnglishTrinidadAndTobago | `11273` | The english Trinidad and Tobago language. | | EnglishUnitedKingdom | `2057` | The english United Kingdom language. | | EnglishUnitedStates | `1033` | The english United States language. | | EnglishZimbabwe | `12297` | The english Zimbabwe language. | | EstonianEstonia | `1061` | The estonian Estonia language. | | FaroeseFaroeIslands | `1080` | The faroese Faroe Islands language. | | FilipinoPhilippines | `1124` | The filipino Philippines language. | | FinnishFinland | `1035` | The finnish Finland language. | | FrenchBelgium | `2060` | The french Belgium language. | | FrenchCanada | `3084` | The french Canada language. | | FrenchFrance | `1036` | The french France language. | | FrenchLuxembourg | `5132` | The french Luxembourg language. | | FrenchPrincipalityOfMonaco | `6156` | The french Principality of Monaco language. | | FrenchSwitzerland | `4108` | The french Switzerland language. | | FrisianNetherlands | `1122` | The frisian Netherlands language. | | GalicianGalician | `1110` | The galician Galician language. | | GeorgianGeorgia | `1079` | The georgian Georgia language. | | GermanAustria | `3079` | The german Austria language. | | GermanGermany | `1031` | The german Germany language. | | GermanLiechtenstein | `5127` | The german Liechtenstein language. | | GermanLuxembourg | `4103` | The german Luxembourg language. | | GermanSwitzerland | `2055` | The german Switzerland language. | | GreekGreece | `1032` | The greek Greece language. | | GreenlandicGreenland | `1135` | The greenlandic Greenland language. | | GujaratiIndia | `1095` | The gujarati India language. | | HausaLatinNigeria | `1128` | The hausa latin Nigeria language. | | HebrewIsrael | `1037` | The hebrew Israel language. | | HindiIndia | `1081` | The hindi India language. | | HungarianHungary | `1038` | The hungarian Hungary language. | | IcelandicIceland | `1039` | The icelandic Iceland language. | | IgboNigeria | `1136` | The igbo Nigeria language. | | IndonesianIndonesia | `1057` | The indonesian Indonesia language. | | InuktitutCanada | `1117` | The inuktitut Canada language. | | InuktitutLatinCanada | `2141` | The inuktitut latin Canada language. | | IrishIreland | `2108` | The irish Ireland language. | | IsiXhosaSouthAfrica | `1076` | The isi xhosa South Africa language. | | IsiZuluSouthAfrica | `1077` | The isi zulu South Africa language. | | ItalianItaly | `1040` | The italian Italy language. | | ItalianSwitzerland | `2064` | The italian Switzerland language. | | JapaneseJapan | `1041` | The japanese Japan language. | | KannadaIndia | `1099` | The kannada India language. | | KazakhKazakhstan | `1087` | The kazakh Kazakhstan language. | | KhmerCambodia | `1107` | The khmer Cambodia language. | | KicheGuatemala | `1158` | The kiche Guatemala language. | | KinyarwandaRwanda | `1159` | The kinyarwanda Rwanda language. | | KiswahiliKenya | `1089` | The kiswahili Kenya language. | | KonkaniIndia | `1111` | The konkani India language. | | KoreanKorea | `1042` | The korean Korea language. | | KyrgyzKyrgyzstan | `1088` | The kyrgyz Kyrgyzstan language. | | LaoLaoPdr | `1108` | The lao lao PDR language. | | LatvianLatvia | `1062` | The latvian Latvia language. | | LithuanianLithuania | `1063` | The lithuanian Lithuania language. | | LowerSorbianGermany | `2094` | The lower sorbian Germany language. | | LuxembourgishLuxembourg | `1134` | The luxembourgish Luxembourg language. | | MacedonianFyromFormerYugoslavRepublicOfMacedonia | `1071` | The macedonian fyrom former Yugoslav Republic of Macedonia language. | | MalayBruneiDarussalam | `2110` | The malay brunei Darussalam language. | | MalayMalaysia | `1086` | The malay Malaysia language. | | MalayalamIndia | `1100` | The malayalam India language. | | MalteseMalta | `1082` | The maltese Malta language. | | MaoriNewZealand | `1153` | The maori New Zealand language. | | MapudungunChile | `1146` | The mapudungun Chile language. | | MarathiIndia | `1102` | The marathi India language. | | MohawkMohawk | `1148` | The mohawk Mohawk language. | | MongolianCyrillicMongolia | `1104` | The mongolian cyrillic Mongolia language. | | MongolianTraditionalPeoplesRepublicOfChina | `2128` | The mongolian traditional Peoples Republic of China language. | | NepaliNepal | `1121` | The nepali Nepal language. | | NorwegianBokmalNorway | `1044` | The norwegian bokmal Norway language. | | NorwegianNynorskNorway | `2068` | The norwegian nynorsk Norway language. | | OccitanFrance | `1154` | The occitan France language. | | OdiaFormerlyOriyaIndia | `1096` | The odia formerly oriya India language. | | PashtoAfghanistan | `1123` | The pashto Afghanistan language. | | PolishPoland | `1045` | The polish Poland language. | | PortugueseBrazil | `1046` | The portuguese Brazil language. | | PortuguesePortugal | `2070` | The portuguese Portugal language. | | PunjabiIndia | `1094` | The punjabi India language. | | QuechuaBolivia | `1131` | The quechua Bolivia language. | | QuechuaEcuador | `2155` | The quechua Ecuador language. | | QuechuaPeru | `3179` | The quechua Peru language. | | RomanianRomania | `1048` | The romanian Romania language. | | RomanshSwitzerland | `1047` | The romansh Switzerland language. | | RussianRussia | `1049` | The russian Russia language. | | SamiInariFinland | `9275` | The sami inari Finland language. | | SamiLuleNorway | `4155` | The sami lule Norway language. | | SamiLuleSweden | `5179` | The sami lule Sweden language. | | SamiNorthernFinland | `3131` | The sami northern Finland language. | | SamiNorthernNorway | `1083` | The sami northern Norway language. | | SamiNorthernSweden | `2107` | The sami northern Sweden language. | | SamiSkoltFinland | `8251` | The sami skolt Finland language. | | SamiSouthernNorway | `6203` | The sami southern Norway language. | | SamiSouthernSweden | `7227` | The sami southern Sweden language. | | SanskritIndia | `1103` | The sanskrit India language. | | SerbianCyrillicBosniaAndHerzegovina | `7194` | The serbian cyrillic Bosnia and Herzegovina language. | | SerbianCyrillicSerbia | `3098` | The serbian cyrillic Serbia language. | | SerbianLatinBosniaAndHerzegovina | `6170` | The serbian latin Bosnia and Herzegovina language. | | SerbianLatinSerbia | `2074` | The serbian latin Serbia language. | | SesothoSaLeboaSouthAfrica | `1132` | The sesotho sa leboa South Africa language. | | SetswanaSouthAfrica | `1074` | The setswana South Africa language. | | SinhalaSriLanka | `1115` | The sinhala Sri Lanka language. | | SlovakSlovakia | `1051` | The slovak Slovakia language. | | SlovenianSlovenia | `1060` | The slovenian Slovenia language. | | SpanishArgentina | `11274` | The spanish Argentina language. | | SpanishBolivia | `16394` | The spanish Bolivia language. | | SpanishChile | `13322` | The spanish Chile language. | | SpanishColombia | `9226` | The spanish Colombia language. | | SpanishCostaRica | `5130` | The spanish Costa Rica language. | | SpanishDominicanRepublic | `7178` | The spanish Dominican Republic language. | | SpanishEcuador | `12298` | The spanish Ecuador language. | | SpanishElSalvador | `17418` | The spanish El Salvador language. | | SpanishGuatemala | `4106` | The spanish Guatemala language. | | SpanishHonduras | `18442` | The spanish Honduras language. | | SpanishMexico | `2058` | The spanish Mexico language. | | SpanishNicaragua | `19466` | The spanish Nicaragua language. | | SpanishPanama | `6154` | The spanish Panama language. | | SpanishParaguay | `15370` | The spanish Paraguay language. | | SpanishPeru | `10250` | The spanish Peru language. | | SpanishPuertoRico | `20490` | The spanish Puerto Rico language. | | SpanishModernSortSpain | `3082` | The spanish modern sort Spain language. | | SpanishTraditionalSortSpain | `1034` | The spanish traditional sort Spain language. | | SpanishUnitedStates | `21514` | The spanish United States language. | | SpanishUruguay | `14346` | The spanish Uruguay language. | | SpanishVenezuela | `8202` | The spanish Venezuela language. | | SwedenFinland | `2077` | The sweden Finland language. | | SwedishSweden | `1053` | The swedish Sweden language. | | SyriacSyria | `1114` | The syriac Syria language. | | TajikCyrillicTajikistan | `1064` | The tajik cyrillic tajikistan language. | | TamazightLatinAlgeria | `2143` | The tamazight latin Algeria language. | | TamilIndia | `1097` | The tamil India language. | | TatarRussia | `1092` | The tatar Russia language. | | TeluguIndia | `1098` | The telugu India language. | | ThaiThailand | `1054` | The thai Thailand language. | | TibetanPrc | `1105` | The tibetan PRC language. | | TurkishTurkey | `1055` | The turkish Turkey language. | | TurkmenTurkmenistan | `1090` | The turkmen Turkmenistan language. | | UighurPrc | `1152` | The uighur PRC language. | | UkrainianUkraine | `1058` | The ukrainian Ukraine language. | | UpperSorbianGermany | `1070` | The upper sorbian Germany language. | | UrduIslamicRepublicOfPakistan | `1056` | The urdu Islamic Republic of Pakistan language. | | UzbekCyrillicUzbekistan | `2115` | The uzbek cyrillic Uzbekistan language. | | UzbekLatinUzbekistan | `1091` | The uzbek latin Uzbekistan language. | | VietnameseVietnam | `1066` | The vietnamese Vietnam language. | | WelshUnitedKingdom | `1106` | The welsh United Kingdom language. | | WolofSenegal | `1160` | The wolof Senegal language. | | YakutRussia | `1157` | The yakut Russia language. | | YiPrc | `1144` | The yi PRC language. | | YorubaNigeria | `1130` | The yoruba Nigeria language. | ### OpenTypeWindowsNameRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypewindowsnamerecord.md #### OpenTypeWindowsNameRecord class Represents the Name record table value for Windows platform. ```csharp public class OpenTypeWindowsNameRecord : OpenTypeBaseNameRecord ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Encoding { get; } | Gets the encoding identifier. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language identifier. | | MetadataType { get; } | Gets the metadata type. | | NameID { get; } | Gets the name identifier. | | Platform { get; } | Gets the platform identifier. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the string value of record. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Encoding Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/encoding.md #### OpenTypeWindowsNameRecord.Encoding property Gets the encoding identifier. ```csharp public OpenTypeWindowsEncoding Encoding { get; } ``` ##### Property Value The encoding identifier. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/language.md #### OpenTypeWindowsNameRecord.Language property Gets the language identifier. ```csharp public OpenTypeWindowsLanguage Language { get; } ``` ##### Property Value The language identifier. ### GroupDocs.Metadata.Formats.Gis Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis.md #### Classes | Class | Description | | --- | --- | | GisAttribute | Represents metadata associated with layer. | | GisFeature | Represents metadata associated with feature. | | GisPackage | Represents gis metadata. | | GisRootPackage | Represents gis metadata. | #### Enumeration | Enumeration | Description | | --- | --- | | GisFormat | Defines various gis subformats. | ### GisAttribute Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisattribute.md #### GisAttribute class Represents metadata associated with layer. ```csharp public sealed class GisAttribute : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the attribute name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the attribute value. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisattribute/name.md #### GisAttribute.Name property Gets the attribute name. ```csharp public string Name { get; } ``` ##### Property Value The attribute name. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisattribute/value.md #### GisAttribute.Value property Gets the attribute value. ```csharp public string Value { get; } ``` ##### Property Value The attribute value. ### GisFeature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisfeature.md #### GisFeature class Represents metadata associated with feature. ```csharp public sealed class GisFeature : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Attributes { get; } | Gets an array of `GisAttribute`. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Attributes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisfeature/attributes.md #### GisFeature.Attributes property Gets an array of `GisAttribute`. ```csharp public GisAttribute[] Attributes { get; } ``` ##### Property Value An array of `GisAttribute`. ### GisFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisformat.md #### GisFormat enumeration Defines various gis subformats. ```csharp public enum GisFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | The format is not recognized. | | Shp | `1` | Shp file. | | GeoJson | `2` | GeoJson file. | | TopoJson | `3` | TopoJson file. | | Gml | `4` | Gml file. | | Osm | `5` | Osm file. | | Kml | `6` | Kml file. | | Gpx | `7` | Gpx file. | ### GisPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gispackage.md #### GisPackage class Represents gis metadata. ```csharp public sealed class GisPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Features { get; } | Gets an array of `GisFeature`. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a gis file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputGis)) { var root = metadata.GetRootPackage(); foreach (var feature in root.GisPackage.Features) { foreach (var attribute in feature.Attributes) { Console.WriteLine(attribute.Name); Console.WriteLine(attribute.Value); } } } ``` ### Features Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gispackage/features.md #### GisPackage.Features property Gets an array of `GisFeature`. ```csharp public GisFeature[] Features { get; } ``` ##### Property Value An array of `GisFeature`. ### GisRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisrootpackage.md #### GisRootPackage class Represents gis metadata. ```csharp public class GisRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | GisPackage { get; } | Gets the Gis metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a gis file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputGis)) { var root = metadata.GetRootPackage(); foreach (var feature in root.GisPackage.Features) { foreach (var attribute in feature.Attributes) { Console.WriteLine(attribute.Name); Console.WriteLine(attribute.Value); } } } ``` ### GisPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.gis/gisrootpackage/gispackage.md #### GisRootPackage.GisPackage property Gets the Gis metadata package. ```csharp public GisPackage GisPackage { get; } ``` ##### Property Value The Gis metadata package. ### GroupDocs.Metadata.Formats.Image.Dng Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng.md #### Classes | Class | Description | | --- | --- | | DngPackage | Represents native DNG metadata. | ### DngPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage.md #### DngPackage class Represents native DNG metadata. ```csharp public sealed class DngPackage : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | DngPackage() | Initializes a new instance of the `Metadata` class. | #### Properties | Name | Description | | --- | --- | | Aperture { get; } | Gets the aperture. | | Artist { get; } | Gets the author of image. | | CameraManufacturer { get; } | Gets the camera manufacturer. | | ColorsCount { get; } | Gets the colors. | | Count { get; } | Gets the number of metadata properties. | | Description { get; } | Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). | | DngVersion { get; } | Gets the DNG version. | | Filters { get; } | Gets the Bit mask describing the order of color pixels in the matrix. | | FocalLength { get; } | Gets the length of the focal. | | GpsData { get; } | Gets the GPS data. | | IsFoveon { get; } | Gets the is foveon matrix. | | IsoSpeed { get; } | Gets the ISO sensitivity. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Model { get; } | Gets the camera model. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawCount { get; } | Gets the number of RAW images in file (0 means that the file has not been recognized). | | ShotOrder { get; } | Gets serial number of image. | | ShutterSpeed { get; } | Gets the shutter speed. | | Software { get; } | Gets the software. | | Timestamp { get; } | Gets the date of shooting. | | TranslationCfaDng { get; } | Gets the translation array for CFA mosaic DNG format. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Aperture Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/aperture.md #### DngPackage.Aperture property Gets the aperture. ```csharp public float Aperture { get; } ``` ##### Property Value The aperture. ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/artist.md #### DngPackage.Artist property Gets the author of image. ```csharp public string Artist { get; } ``` ##### Property Value The artist. ### CameraManufacturer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/cameramanufacturer.md #### DngPackage.CameraManufacturer property Gets the camera manufacturer. ```csharp public string CameraManufacturer { get; } ``` ##### Property Value The make. ### ColorsCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/colorscount.md #### DngPackage.ColorsCount property Gets the colors. ```csharp public int ColorsCount { get; } ``` ##### Property Value The colors. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/description.md #### DngPackage.Description property Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). ```csharp public string Description { get; } ``` ##### Property Value The cdesc. ### DngPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/dngpackage.md #### DngPackage constructor Initializes a new instance of the `Metadata` class. ```csharp public DngPackage() ``` ### DngVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/dngversion.md #### DngPackage.DngVersion property Gets the DNG version. ```csharp public uint DngVersion { get; } ``` ##### Property Value The DNG version. ### Filters Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/filters.md #### DngPackage.Filters property Gets the Bit mask describing the order of color pixels in the matrix. ```csharp public uint Filters { get; } ``` ##### Property Value The filters. ### FocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/focallength.md #### DngPackage.FocalLength property Gets the length of the focal. ```csharp public float FocalLength { get; } ``` ##### Property Value The length of the focal. ### GpsData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/gpsdata.md #### DngPackage.GpsData property Gets the GPS data. ```csharp public uint[] GpsData { get; } ``` ##### Property Value The GPS data. ### IsFoveon Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/isfoveon.md #### DngPackage.IsFoveon property Gets the is foveon matrix. ```csharp public uint IsFoveon { get; } ``` ##### Property Value The is foveon. ### IsoSpeed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/isospeed.md #### DngPackage.IsoSpeed property Gets the ISO sensitivity. ```csharp public float IsoSpeed { get; } ``` ##### Property Value The ISO speed. ### Model Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/model.md #### DngPackage.Model property Gets the camera model. ```csharp public string Model { get; } ``` ##### Property Value The model. ### RawCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/rawcount.md #### DngPackage.RawCount property Gets the number of RAW images in file (0 means that the file has not been recognized). ```csharp public uint RawCount { get; } ``` ##### Property Value The raw count. ### ShotOrder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/shotorder.md #### DngPackage.ShotOrder property Gets serial number of image. ```csharp public uint ShotOrder { get; } ``` ##### Property Value The shot order. ### ShutterSpeed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/shutterspeed.md #### DngPackage.ShutterSpeed property Gets the shutter speed. ```csharp public float ShutterSpeed { get; } ``` ##### Property Value The shutter. ### Software Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/software.md #### DngPackage.Software property Gets the software. ```csharp public string Software { get; } ``` ##### Property Value The software. ### Timestamp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/timestamp.md #### DngPackage.Timestamp property Gets the date of shooting. ```csharp public long Timestamp { get; } ``` ##### Property Value The timestamp. ### TranslationCfaDng Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.dng/dngpackage/translationcfadng.md #### DngPackage.TranslationCfaDng property Gets the translation array for CFA mosaic DNG format. ```csharp public string[] TranslationCfaDng { get; } ``` ##### Property Value The xtrans. ### GroupDocs.Metadata.Formats.Image.Svg Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.svg.md #### Classes | Class | Description | | --- | --- | | SvgPackage | Represents a native metadata package in a SVG image file. | ### SvgPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.svg/svgpackage.md #### SvgPackage class Represents a native metadata package in a SVG image file. ```csharp public sealed class SvgPackage : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | SvgPackage() | Initializes a new instance of the `SvgPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Height { get; } | Gets the image height. | | HeightF { get; } | Gets the object height, in inches. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Width { get; } | Gets the image width. | | WidthF { get; } | Gets the object width, in inches. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to extract technical information from a SVG file. ```csharp using (Metadata metadata = new Metadata("input.svg")) { var root = metadata.GetRootPackage(); if (root.SvgPackage != null) { Console.WriteLine(root.SvgPackage.Title); Console.WriteLine(root.SvgPackage.Version); Console.WriteLine(root.SvgPackage.Album); } } ``` ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.svg/svgpackage/height.md #### SvgPackage.Height property Gets the image height. ```csharp public int Height { get; } ``` ##### Property Value Height value ### HeightF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.svg/svgpackage/heightf.md #### SvgPackage.HeightF property Gets the object height, in inches. ```csharp public float HeightF { get; } ``` ##### Property Value HeightF value ### SvgPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.svg/svgpackage/svgpackage.md #### SvgPackage constructor Initializes a new instance of the `SvgPackage` class. ```csharp public SvgPackage() ``` ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.svg/svgpackage/width.md #### SvgPackage.Width property Gets the image width. ```csharp public int Width { get; } ``` ##### Property Value Width value ### WidthF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.svg/svgpackage/widthf.md #### SvgPackage.WidthF property Gets the object width, in inches. ```csharp public float WidthF { get; } ``` ##### Property Value WidthF value ### GroupDocs.Metadata.Formats.Image Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image.md The namespace provides functionality allowing users to read and update metadata stored in different image formats. #### Classes | Class | Description | | --- | --- | | BmpHeaderPackage | Represents BMP header info. | | DicomPackage | Represents native DICOM metadata. | | GifImageTypePackage | Represents a metadata package containing GIF-specific file format information. | | ImageResourceBlock | Represents a Photoshop Image Resource block. Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF. Image resources are used to store non-pixel data associated with images, such as pen tool paths. | | ImageResourcePackage | Represents a metadata package containing Photoshop Image Resources. | | ImageTypePackage | Represents a metadata package containing image-specific file format information. | | Jpeg2000Package | Represents native JPEG2000 metadata. | | PngCompressedTextChunk | Represents compressed textual data extracted from a PNG image. | | PngInternationalTextChunk | Represents international textual data extracted from a PNG image. | | PngPackage | Represents native PNG metadata. | | PngTextChunk | Represents textual data extracted from a PNG image. | | PsdLayer | Represents a layer in a PSD file. | | PsdPackage | Represents native Photoshop metadata. | | RawDoubleTag | Represents a Raw Double tag. | | RawFloatTag | Represents a Raw float tag. | | RawRational | Represents a rational number. | | RawRationalTag | Represents a Raw Rational tag. | | RawSByteTag | Represents a Raw SByte tag. | | RawSLongTag | Represents a Raw SLong tag. | | RawSRational | Represents signed rational number. | | RawSRationalTag | Represents a Raw SRational tag. | | RawSShortTag | Represents a Raw SShort tag. | | RawTypePackage | Represents a metadata package containing image-specific file format information. | | RawUndefinedTag | Represents a Raw tag with the Undefined type. | | TiffArrayTag<T> | Represents an array-based TIFF tag. | | TiffAsciiTag | Represents a TIFF ASCII tag. | | TiffByteTag | Represents a Byte tag. | | TiffDoubleTag | Represents a TIFF Double tag. | | TiffFloatTag | Represents a TIFF float tag. | | TiffLongTag | Represents a TIFF Long tag. | | TiffRational | Represents a rational number. | | TiffRationalTag | Represents a TIFF Rational tag. | | TiffSByteTag | Represents a TIFF SByte tag. | | TiffShortTag | Represents a TIFF Short tag. | | TiffSLongTag | Represents a TIFF SLong tag. | | TiffSRational | Represents signed rational number. | | TiffSRationalTag | Represents a TIFF SRational tag. | | TiffSShortTag | Represents a TIFF SShort tag. | | TiffTag | Represents a TIFF tag. | | TiffUndefinedTag | Represents a TIFF tag with the Undefined type. | #### Enumeration | Enumeration | Description | | --- | --- | | ImageResourceID | Image resources standard ID numbers. Not all file formats use all ID's. Some information may be stored in other sections of the file. | | PngCompressionMethod | Defines compression methods used in the PNG format. | | PsdColorMode | Represents the psd file format color mode. | | PsdCompressionMethod | Defines the compression method used for image data. | | PsdLayerFlags | The Photoshop layer flags. | | TiffTagID | Defines ids of TIFF tags. | | TiffTagType | Represents the IFD data type. | ### BmpHeaderPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/bmpheaderpackage.md #### BmpHeaderPackage class Represents BMP header info. ```csharp public sealed class BmpHeaderPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets the bits per pixel value. | | ColorsImportant { get; } | Gets the number of important palette colors. | | Count { get; } | Gets the number of metadata properties. | | HeaderSize { get; } | Gets the size of the header in bytes. | | ImageSize { get; } | Gets the bitmap raw data size in bytes. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Planes { get; } | Gets the number of planes. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BitsPerPixel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/bmpheaderpackage/bitsperpixel.md #### BmpHeaderPackage.BitsPerPixel property Gets the bits per pixel value. ```csharp public ushort BitsPerPixel { get; } ``` ##### Property Value The bits per pixel value. ### ColorsImportant Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/bmpheaderpackage/colorsimportant.md #### BmpHeaderPackage.ColorsImportant property Gets the number of important palette colors. ```csharp public uint ColorsImportant { get; } ``` ##### Property Value The number of important palette colors. ### HeaderSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/bmpheaderpackage/headersize.md #### BmpHeaderPackage.HeaderSize property Gets the size of the header in bytes. ```csharp public uint HeaderSize { get; } ``` ##### Property Value The size of the header in bytes. ### ImageSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/bmpheaderpackage/imagesize.md #### BmpHeaderPackage.ImageSize property Gets the bitmap raw data size in bytes. ```csharp public uint ImageSize { get; } ``` ##### Property Value The bitmap raw data size in bytes. ### Planes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/bmpheaderpackage/planes.md #### BmpHeaderPackage.Planes property Gets the number of planes. ```csharp public ushort Planes { get; } ``` ##### Property Value The number of planes. ### DicomPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage.md #### DicomPackage class Represents native DICOM metadata. ```csharp public sealed class DicomPackage : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | DicomPackage() | Initializes a new instance of the `Metadata` class. | #### Properties | Name | Description | | --- | --- | | BitsAllocated { get; } | Gets the bits allocated value. | | Blues { get; } | Gets the array colors of the blue. | | Count { get; } | Gets the number of metadata properties. | | DicomInfo { get; } | Gets the header information of the DICOM file. | | Greens { get; } | Gets the array colors of the green. | | HeaderBytes { get; } | Gets the header information by bytes. | | HeaderOffset { get; } | Gets the header offset. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NumberOfFrames { get; } | Gets the number of frames. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Reds { get; } | Gets the array colors of the red. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BitsAllocated Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/bitsallocated.md #### DicomPackage.BitsAllocated property Gets the bits allocated value. ```csharp public int BitsAllocated { get; } ``` ##### Property Value The bits allocated. ### Blues Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/blues.md #### DicomPackage.Blues property Gets the array colors of the blue. ```csharp public byte[] Blues { get; } ``` ##### Property Value The blue colors. ### DicomInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/dicominfo.md #### DicomPackage.DicomInfo property Gets the header information of the DICOM file. ```csharp public string[] DicomInfo { get; } ``` ##### Property Value The dicom header information. ### DicomPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/dicompackage.md #### DicomPackage constructor Initializes a new instance of the `Metadata` class. ```csharp public DicomPackage() ``` ### Greens Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/greens.md #### DicomPackage.Greens property Gets the array colors of the green. ```csharp public byte[] Greens { get; } ``` ##### Property Value The green colors. ### HeaderBytes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/headerbytes.md #### DicomPackage.HeaderBytes property Gets the header information by bytes. ```csharp public byte[] HeaderBytes { get; } ``` ##### Property Value The header bytes. ### HeaderOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/headeroffset.md #### DicomPackage.HeaderOffset property Gets the header offset. ```csharp public int HeaderOffset { get; } ``` ##### Property Value The header offset. ### NumberOfFrames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/numberofframes.md #### DicomPackage.NumberOfFrames property Gets the number of frames. ```csharp public int NumberOfFrames { get; } ``` ##### Property Value The number of frames. ### Reds Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/dicompackage/reds.md #### DicomPackage.Reds property Gets the array colors of the red. ```csharp public byte[] Reds { get; } ``` ##### Property Value The red colors. ### GifImageTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/gifimagetypepackage.md #### GifImageTypePackage class Represents a metadata package containing GIF-specific file format information. ```csharp public class GifImageTypePackage : ImageTypePackage ``` #### Properties | Name | Description | | --- | --- | | ByteOrder { get; } | Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Height { get; } | Gets the image height. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Version { get; } | Gets the version of the format. | | Width { get; } | Gets the image width. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/gifimagetypepackage/version.md #### GifImageTypePackage.Version property Gets the version of the format. ```csharp public string Version { get; } ``` ##### Property Value The version of the format. ### ImageResourceBlock Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourceblock.md #### ImageResourceBlock class Represents a Photoshop Image Resource block. Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF. Image resources are used to store non-pixel data associated with images, such as pen tool paths. ```csharp public sealed class ImageResourceBlock : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Data { get; } | Gets the resource data. | | ID { get; } | Gets the unique identifier for the resource. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the image resource block name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Signature { get; } | Gets the image resource block signature. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Data Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourceblock/data.md #### ImageResourceBlock.Data property Gets the resource data. ```csharp public byte[] Data { get; } ``` ##### Property Value The resource data. ### ID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourceblock/id.md #### ImageResourceBlock.ID property Gets the unique identifier for the resource. ```csharp public ImageResourceID ID { get; } ``` ##### Property Value The identifier. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourceblock/name.md #### ImageResourceBlock.Name property Gets the image resource block name. ```csharp public string Name { get; } ``` ##### Property Value The image resource block name. ### Signature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourceblock/signature.md #### ImageResourceBlock.Signature property Gets the image resource block signature. ```csharp public string Signature { get; } ``` ##### Property Value The image resource block signature ### ImageResourceID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourceid.md #### ImageResourceID enumeration Image resources standard ID numbers. Not all file formats use all ID's. Some information may be stored in other sections of the file. ```csharp public enum ImageResourceID ``` ##### Values | Name | Value | Description | | --- | --- | --- | | ResolutionInfo | `1005` | ResolutionInfo structure. See Appendix A in Photoshop API Guide PDF document. | | NamesOfAlphaChannels | `1006` | Names of the alpha channels as a series of Pascal strings. | | Caption | `1008` | The caption as a Pascal string. | | BorderInformation | `1009` | Border information. Contains a fixed number (2 bytes real, 2 bytes fraction) for the border width, and 2 bytes for border units (1 = inches, 2 = cm, 3 = points, 4 = picas, 5 = columns). | | BackgroundColor | `1010` | Background color. [See more.](http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577411_31265) | | PrintFlags | `1011` | Print flags. A series of one-byte boolean values (see Page Setup dialog): labels, crop marks, color bars, registration marks, negative, flip, interpolate, caption, print flags. | | Grayscale | `1012` | Grayscale and multichannel halftoning information. | | ColorHalftoning | `1013` | Color halftoning information. | | DuotoneHalftoning | `1014` | Duotone halftoning information. | | GrayscaleFunction | `1015` | Grayscale and multichannel transfer function. | | ColorTransferFunctions | `1016` | Color transfer functions. | | DuotoneTransferFunctions | `1017` | Duotone transfer functions. | | DuotoneImageInformation | `1018` | Duotone image information. | | EPSOptions | `1021` | EPS options. | | QuickMaskInformation | `1022` | Quick Mask information. 2 bytes containing Quick Mask channel ID; 1- byte boolean indicating whether the mask was initially empty. | | LayerStateInformation | `1024` | Layer state information. 2 bytes containing the index of target layer (0 = bottom layer). | | WorkingPath | `1025` | Working path (not saved). See See Path resource format. | | LayersGroupInformation | `1026` | Layers group information. 2 bytes per layer containing a group ID for the dragging groups. Layers in a group have the same group ID. | | Iptc | `1028` | IPTC-NAA record. Contains the File Info... information. See the documentation in the IPTC folder of the Documentation folder. | | ImageModeForRawFormat | `1029` | Image mode for raw format files. | | JpegQuality | `1030` | JPEG quality. Private. | | GridAndGuidesInfoPhotoshop4 | `1032` | Grid and guides information. | | ThumbnailResourcePhotoshop4 | `1033` | Thumbnail resource for Photoshop 4.0 only. | | CopyrightFlagPhotoshop4 | `1034` | Copyright flag. Boolean indicating whether image is copyrighted. Can be set via Property suite or by user in File Info... | | UrlPhotoshop4 | `1035` | URL. Handle of a text string with uniform resource locator. Can be set via Property suite or by user in File Info... | | ThumbnailResourcePhotoshop5 | `1036` | Thumbnail resource (supersedes resource 1033). See See Thumbnail resource format. | | GlobalAnglePhotoshop5 | `1037` | Global Angle. 4 bytes that contain an integer between 0 and 359, which is the global lighting angle for effects layer. If not present, assumed to be 30. | | IccProfilePhotoshop5 | `1039` | (Photoshop 5.0) ICC Profile. The raw bytes of an ICC (International Color Consortium) format profile. See ICC1v42_2006-05.pdf in the Documentation folder and icProfileHeader.h in Sample Code\Common\Includes. | | WatermarkPhotoshop5 | `1040` | Watermark. One byte. | | IccUntaggedProfilePhotoshop5 | `1041` | ICC Untagged Profile. 1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged. | | TransparencyIndexPhotoshop6 | `1047` | Transparency Index. 2 bytes for the index of transparent color, if any. | | GlobalAltitudePhotoshop6 | `1049` | Global Altitude. 4 byte entry for altitude. | | SlicesPhotoshop6 | `1050` | Slices (Photoshop 6). | | WorkflowUrlPhotoshop6 | `1051` | Workflow URL. Unicode string. Photoshop 6. | | AlphaIdentifiersPhotoshop6 | `1053` | Alpha Identifiers. 4 bytes of length, followed by 4 bytes each for every alpha identifier. | | UrlListPhotoshop6 | `1054` | URL InternalList. 4 byte count of URLs, followed by 4 byte long, 4 byte ID, and Unicode string for each count. | | VersionInfoPhotoshop6 | `1057` | Version Info. 4 bytes version, 1 byte hasRealMergedData , Unicode string: writer name, Unicode string: reader name, 4 bytes file version. | | ExifData1Photoshop7 | `1058` | EXIF data 1, [see more](http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf). | | ExifData3Photoshop7 | `1059` | [EXIF data 3. ](http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf) | | XmpPhotoshop7 | `1060` | XMP metadata. File info as XML description, [see more](http://www.adobe.com/devnet/xmp). | | CaptionDigestPhotoshop7 | `1061` | Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm. | | PrintScalePhotoshop7 | `1062` | Print scale. 2 bytes style (0 = centered, 1 = size to fit, 2 = user defined). 4 bytes x location (floating point). 4 bytes y location (floating point). 4 bytes scale (floating point). | | PixelAspectRatio | `1064` | Pixel Aspect Ratio. 4 bytes (version = 1 or 2), 8 bytes double, x / y of a pixel. Version 2, attempting to correct values for NTSC and PAL, previously off by a factor of approx. 5%. | | LayerComps | `1065` | Layer Comps. 4 bytes (descriptor version = 16), Descriptor. | | LayerSelectionIds | `1069` | Layer Selection ID(s). 2 bytes count, following is repeated for each count: 4 bytes layer ID. | | PrintInfoCS2 | `1071` | Print info (Photoshop CS2). | | LayerGroupEnabledIdCS2 | `1072` | Layer Group(s) Enabled ID. 1 byte for each layer in the document, repeated by length of the resource. NOTE: Layer groups have start and end markers (Photoshop CS2). | | ColorSamplersResourceCS3 | `1073` | Color samplers resource. Also see ID 1038 for old format. | | MeasurementScaleCS3 | `1074` | Measurement Scale. 4 bytes (descriptor version = 16), Descriptor. | | TimelineInformationCS3 | `1075` | Timeline Information. 4 bytes (descriptor version = 16), Descriptor. | | SheetDisclosureCS3 | `1076` | Sheet Disclosure. 4 bytes (descriptor version = 16), Descriptor. | | PrintInformationCS5 | `1082` | Print Information (Photoshop CS5). | | PrintStyleCS5 | `1083` | Print Style (Photoshop CS5). | | MacintoshNSPrintInfoCS5 | `1084` | Macintosh NSPrintInfo. Variable OS specific info for Macintosh. NSPrintInfo. It is recommended that you do not interpret or use this data. (Photoshop CS5). | | WindowsDevmodeCS5 | `1085` | Windows DEVMODE. Variable OS specific info for Windows. DEVMODE. It is recommended that you do not interpret or use this data. (Photoshop CS5). | | AutoSaveFilePathCS6 | `1086` | Auto Save File Path. Unicode string. (Photoshop CS6). | | AutoSaveFormatCS6 | `1087` | Auto Save Format. Unicode string. (Photoshop CS6). | | PathSelectionStateCC | `1088` | Path Selection State. (Photoshop CC). | | ImageReadyVariables | `7000` | Image Ready variables. XML representation of variables definition. | | ImageReadyDatasets | `7001` | Image Ready data sets. | | PrintFlagsInformation | `10000` | Print flags information. 2 bytes version ( = 1), 1 byte center crop marks, 1 byte ( = 0), 4 bytes bleed width value, 2 bytes bleed width scale. | ### ImageResourcePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourcepackage.md #### ImageResourcePackage class Represents a metadata package containing Photoshop Image Resources. ```csharp public sealed class ImageResourcePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imageresourcepackage/tolist.md #### ImageResourcePackage.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list that contains all Image Resource Blocks from the package. ### ImageTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imagetypepackage.md #### ImageTypePackage class Represents a metadata package containing image-specific file format information. ```csharp public class ImageTypePackage : FileTypePackage ``` #### Properties | Name | Description | | --- | --- | | ByteOrder { get; } | Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Height { get; } | Gets the image height. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Width { get; } | Gets the image width. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ByteOrder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imagetypepackage/byteorder.md #### ImageTypePackage.ByteOrder property Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. ```csharp public ByteOrder ByteOrder { get; } ``` ##### Property Value The byte-order value. ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imagetypepackage/height.md #### ImageTypePackage.Height property Gets the image height. ```csharp public int Height { get; } ``` ##### Property Value The image height. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/imagetypepackage/width.md #### ImageTypePackage.Width property Gets the image width. ```csharp public int Width { get; } ``` ##### Property Value The image width. ### Jpeg2000Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/jpeg2000package.md #### Jpeg2000Package class Represents native JPEG2000 metadata. ```csharp public class Jpeg2000Package : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Comments { get; } | Gets the JPEG2000 comments. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/jpeg2000package/comments.md #### Jpeg2000Package.Comments property Gets the JPEG2000 comments. ```csharp public string[] Comments { get; } ``` ##### Property Value The JPEG2000 comments. ### PngCompressedTextChunk Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngcompressedtextchunk.md #### PngCompressedTextChunk class Represents compressed textual data extracted from a PNG image. ```csharp public class PngCompressedTextChunk : PngTextChunk ``` #### Properties | Name | Description | | --- | --- | | CompressionMethod { get; } | Gets the algorithm used to compress the chunk data. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keyword { get; } | Gets the keyword that indicates the type of information represented by the chunk. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Text { get; } | Gets the actual text string represented by the chunk. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CompressionMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngcompressedtextchunk/compressionmethod.md #### PngCompressedTextChunk.CompressionMethod property Gets the algorithm used to compress the chunk data. ```csharp public PngCompressionMethod CompressionMethod { get; } ``` ##### Property Value The algorithm used to compress the chunk data. ### PngCompressionMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngcompressionmethod.md #### PngCompressionMethod enumeration Defines compression methods used in the PNG format. ```csharp public enum PngCompressionMethod ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Deflate | `0` | Represents the deflate/inflate compression with a sliding window. | ### PngInternationalTextChunk Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pnginternationaltextchunk.md #### PngInternationalTextChunk class Represents international textual data extracted from a PNG image. ```csharp public class PngInternationalTextChunk : PngCompressedTextChunk ``` #### Properties | Name | Description | | --- | --- | | CompressionMethod { get; } | Gets the algorithm used to compress the chunk data. | | Count { get; } | Gets the number of metadata properties. | | IsCompressed { get; } | Gets a value indicating whether the chunk is compressed. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keyword { get; } | Gets the keyword that indicates the type of information represented by the chunk. | | Language { get; } | Gets the human language used by the translated keyword and the text. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Text { get; } | Gets the actual text string represented by the chunk. | | TranslatedKeyword { get; } | Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### IsCompressed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pnginternationaltextchunk/iscompressed.md #### PngInternationalTextChunk.IsCompressed property Gets a value indicating whether the chunk is compressed. ```csharp public bool IsCompressed { get; } ``` ##### Property Value True, if the chunk is compressed; otherwise, false. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pnginternationaltextchunk/language.md #### PngInternationalTextChunk.Language property Gets the human language used by the translated keyword and the text. ```csharp public string Language { get; } ``` ##### Property Value The human language used by the translated keyword and the text. ### TranslatedKeyword Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pnginternationaltextchunk/translatedkeyword.md #### PngInternationalTextChunk.TranslatedKeyword property Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. ```csharp public string TranslatedKeyword { get; } ``` ##### Property Value The translated keyword that contains a translation of the keyword into the language indicated by the language property. ### PngPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngpackage.md #### PngPackage class Represents native PNG metadata. ```csharp public class PngPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TextChunks { get; } | Gets the collection of text chunks extracted from the image. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### TextChunks Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngpackage/textchunks.md #### PngPackage.TextChunks property Gets the collection of text chunks extracted from the image. ```csharp public PngTextChunk[] TextChunks { get; } ``` ##### Property Value The collection of text chunks extracted from the image. ### PngTextChunk Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngtextchunk.md #### PngTextChunk class Represents textual data extracted from a PNG image. ```csharp public class PngTextChunk : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keyword { get; } | Gets the keyword that indicates the type of information represented by the chunk. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Text { get; } | Gets the actual text string represented by the chunk. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Keyword Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngtextchunk/keyword.md #### PngTextChunk.Keyword property Gets the keyword that indicates the type of information represented by the chunk. ```csharp public string Keyword { get; } ``` ##### Property Value The keyword that indicates the type of information represented by the chunk. ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/pngtextchunk/text.md #### PngTextChunk.Text property Gets the actual text string represented by the chunk. ```csharp public string Text { get; } ``` ##### Property Value The actual text string represented by the chunk. ### PsdColorMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdcolormode.md #### PsdColorMode enumeration Represents the psd file format color mode. ```csharp public enum PsdColorMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Bitmap | `0` | The bitmap color mode. | | Grayscale | `1` | The grayscale mode. | | Indexed | `2` | The indexed color mode. | | Rgb | `3` | The RGB color mode. | | Cmyk | `4` | The CMYK color mode. | | Multichannel | `7` | The multichannel color mode. | | Duotone | `8` | The duotone color mode. | | Lab | `9` | The LAB color mode. | ### PsdCompressionMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdcompressionmethod.md #### PsdCompressionMethod enumeration Defines the compression method used for image data. ```csharp public enum PsdCompressionMethod ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Raw | `0` | No compression. The image data stored as raw bytes in RGBA planar order. That means that first all R data is written, then all G is written, then all B and finally all A data is written. | | Rle | `1` | RLE compressed. The image data starts with the byte counts for all the scan lines (rows * channels), with each count stored as a two-byte value. The RLE compressed data follows, with each scan line compressed separately. The RLE compression is the same compression algorithm used by the Macintosh ROM routine PackBits and the TIFF standard. | | ZipWithoutPrediction | `2` | ZIP without prediction. | | ZipWithPrediction | `3` | ZIP with prediction. | ### PsdLayer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer.md #### PsdLayer class Represents a layer in a PSD file. ```csharp public sealed class PsdLayer : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | BitsPerPixel { get; } | Gets the bits per pixel value. | | Bottom { get; } | Gets the bottom layer position. | | ChannelCount { get; } | Gets the number of channels. | | Count { get; } | Gets the number of metadata properties. | | Flags { get; } | Gets the layer flags. | | Height { get; } | Gets the height. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Left { get; } | Gets the left layer position. | | Length { get; } | Gets the overall layer length in bytes. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the layer name. | | Opacity { get; } | Gets the layer opacity. 0 = transparent, 255 = opaque. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Right { get; } | Gets the right layer position. | | Top { get; } | Gets the top layer position. | | Width { get; } | Gets the width. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BitsPerPixel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/bitsperpixel.md #### PsdLayer.BitsPerPixel property Gets the bits per pixel value. ```csharp public int BitsPerPixel { get; } ``` ##### Property Value The bits per pixel value. ### Bottom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/bottom.md #### PsdLayer.Bottom property Gets the bottom layer position. ```csharp public int Bottom { get; } ``` ##### Property Value The bottom layer position. ### ChannelCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/channelcount.md #### PsdLayer.ChannelCount property Gets the number of channels. ```csharp public ushort ChannelCount { get; } ``` ##### Property Value The number of channels. ### Flags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/flags.md #### PsdLayer.Flags property Gets the layer flags. ```csharp public PsdLayerFlags Flags { get; } ``` ##### Property Value The flags. ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/height.md #### PsdLayer.Height property Gets the height. ```csharp public int Height { get; } ``` ##### Property Value The height. ### Left Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/left.md #### PsdLayer.Left property Gets the left layer position. ```csharp public int Left { get; } ``` ##### Property Value The left layer position. ### Length Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/length.md #### PsdLayer.Length property Gets the overall layer length in bytes. ```csharp public long Length { get; } ``` ##### Property Value The overall layer length in bytes. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/name.md #### PsdLayer.Name property Gets the layer name. ```csharp public string Name { get; } ``` ##### Property Value The layer name. ### Opacity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/opacity.md #### PsdLayer.Opacity property Gets the layer opacity. 0 = transparent, 255 = opaque. ```csharp public byte Opacity { get; } ``` ##### Property Value The opacity. ### Right Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/right.md #### PsdLayer.Right property Gets the right layer position. ```csharp public int Right { get; } ``` ##### Property Value The right layer position. ### Top Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/top.md #### PsdLayer.Top property Gets the top layer position. ```csharp public int Top { get; } ``` ##### Property Value The top layer position. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayer/width.md #### PsdLayer.Width property Gets the width. ```csharp public int Width { get; } ``` ##### Property Value The width. ### PsdLayerFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdlayerflags.md #### PsdLayerFlags enumeration The Photoshop layer flags. ```csharp [Flags] public enum PsdLayerFlags : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | No flags are set. | | TransparencyProtected | `1` | The transparency protected flag. | | Visible | `2` | The visibility flag. | | Obsolete | `4` | The obsolete flag. | | HasUsefulInformation | `8` | Defines if bit 4 has useful information. 1 for Photoshop 5.0 and later, | | PixelDataIrrelevantToAppearanceInDocument | `10` | The pixel data is irrelevant to appearance in a document. | | Undocumented | `20` | An undocumented flag. | ### PsdPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage.md #### PsdPackage class Represents native Photoshop metadata. ```csharp public sealed class PsdPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | ChannelCount { get; } | Gets the number of channels. | | ColorMode { get; } | Gets the psd color mode. | | Compression { get; } | Gets the compression method used for image data. | | Count { get; } | Gets the number of metadata properties. | | Height { get; } | Gets the height of the image. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Layers { get; } | Gets the Photoshop layers. | | MetadataType { get; } | Gets the metadata type. | | PhotoshopVersion { get; } | Gets the Photoshop version. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Width { get; } | Gets PSD width of the image. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ChannelCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage/channelcount.md #### PsdPackage.ChannelCount property Gets the number of channels. ```csharp public int ChannelCount { get; } ``` ##### Property Value The number of channels. ### ColorMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage/colormode.md #### PsdPackage.ColorMode property Gets the psd color mode. ```csharp public PsdColorMode ColorMode { get; } ``` ##### Property Value The color mode. ### Compression Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage/compression.md #### PsdPackage.Compression property Gets the compression method used for image data. ```csharp public PsdCompressionMethod Compression { get; } ``` ##### Property Value The compression method. ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage/height.md #### PsdPackage.Height property Gets the height of the image. ```csharp public int Height { get; } ``` ##### Property Value The height of the image. ### Layers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage/layers.md #### PsdPackage.Layers property Gets the Photoshop layers. ```csharp public PsdLayer[] Layers { get; } ``` ##### Property Value The Photoshop layers. ### PhotoshopVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage/photoshopversion.md #### PsdPackage.PhotoshopVersion property Gets the Photoshop version. ```csharp public int PhotoshopVersion { get; } ``` ##### Property Value The photoshop version. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/psdpackage/width.md #### PsdPackage.Width property Gets PSD width of the image. ```csharp public int Width { get; } ``` ##### Property Value The width of the image. ### RawDoubleTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawdoubletag.md #### RawDoubleTag class Represents a Raw Double tag. ```csharp public sealed class RawDoubleTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawDoubleTag(uint, double[]) | Initializes a new instance of the `RawDoubleTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawdoubletag/equals.md #### RawDoubleTag.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawdoubletag/gethashcode.md #### RawDoubleTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawDoubleTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawdoubletag/rawdoubletag.md #### RawDoubleTag constructor Initializes a new instance of the `RawDoubleTag` class. ```csharp public RawDoubleTag(uint tagID, double[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | Double[] | The value. | ### RawFloatTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawfloattag.md #### RawFloatTag class Represents a Raw float tag. ```csharp public sealed class RawFloatTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawFloatTag(uint, float[]) | Initializes a new instance of the `RawFloatTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawfloattag/equals.md #### RawFloatTag.Equals method Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | | ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawfloattag/gethashcode.md #### RawFloatTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawFloatTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawfloattag/rawfloattag.md #### RawFloatTag constructor Initializes a new instance of the `RawFloatTag` class. ```csharp public RawFloatTag(uint tagID, float[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | Single[] | The value. | ### RawRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational.md #### RawRational class Represents a rational number. ```csharp public sealed class RawRational : IEquatable ``` #### Constructors | Name | Description | | --- | --- | | RawRational(uint, uint) | Initializes a new instance of the `RawRational` class. | #### Properties | Name | Description | | --- | --- | | Denominator { get; } | Gets the denominator. | | Numerator { get; } | Gets the numerator. | | Value { get; } | Gets the rational value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Indicates whether the current object is equal to another object of the same type. | | Equals(RawRational) | Indicates whether the current object is equal to another object of the same type. | | override GetHashCode() | Returns a hash code for this instance. | | override ToString() | Returns a String that represents this instance. | | static Equals(RawRational, RawRational) | Compares a pair of `RawRational` numbers. | | operator == | Indicates whether two objects of the same type are equal. | | operator != | Indicates whether two objects of the same type are not equal. | ### Denominator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/denominator.md #### RawRational.Denominator property Gets the denominator. ```csharp public uint Denominator { get; } ``` ##### Property Value The denominator. ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/equals.md #### Equals(RawRational, RawRational) Compares a pair of `RawRational` numbers. ```csharp public static bool Equals(RawRational rational, RawRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | rational | RawRational | A rational number. | | other | RawRational | Another rational number. | ##### Return Value `true` if the objects are equal; otherwise, `false`. #### Equals(RawRational) Indicates whether the current object is equal to another object of the same type. ```csharp public bool Equals(RawRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | RawRational | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *other* parameter; otherwise, `false`. #### Equals(object) Indicates whether the current object is equal to another object of the same type. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *obj* parameter; otherwise, `false`. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/gethashcode.md #### RawRational.GetHashCode method Returns a hash code for this instance. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### Numerator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/numerator.md #### RawRational.Numerator property Gets the numerator. ```csharp public uint Numerator { get; } ``` ##### Property Value The numerator. ### op_Equality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/op_equality.md #### RawRational Equality operator Indicates whether two objects of the same type are equal. ```csharp public static bool operator ==(RawRational left, RawRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | RawRational | The left object. | | right | RawRational | The rigt object. | ##### Return Value True if the objects are equal; otherwise, false. ### op_Inequality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/op_inequality.md #### RawRational Inequality operator Indicates whether two objects of the same type are not equal. ```csharp public static bool operator !=(RawRational left, RawRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | RawRational | The left object. | | right | RawRational | The right object. | ##### Return Value True if the objects are not equal; otherwise, false. ### RawRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/rawrational.md #### RawRational constructor Initializes a new instance of the `RawRational` class. ```csharp public RawRational(uint numerator, uint denominator) ``` | Parameter | Type | Description | | --- | --- | --- | | numerator | UInt32 | The numerator. | | denominator | UInt32 | The denominator. | ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/tostring.md #### RawRational.ToString method Returns a String that represents this instance. ```csharp public override string ToString() ``` ##### Return Value A String that represents this instance. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrational/value.md #### RawRational.Value property Gets the rational value. ```csharp public double Value { get; } ``` ##### Property Value The rational value. ### RawRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrationaltag.md #### RawRationalTag class Represents a Raw Rational tag. ```csharp public sealed class RawRationalTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawRationalTag(uint, RawRational[]) | Initializes a new instance of the `RawRationalTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrationaltag/equals.md #### RawRationalTag.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrationaltag/gethashcode.md #### RawRationalTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawrationaltag/rawrationaltag.md #### RawRationalTag constructor Initializes a new instance of the `RawRationalTag` class. ```csharp public RawRationalTag(uint tagID, RawRational[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | RawRational[] | The value. | ### RawSByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsbytetag.md #### RawSByteTag class Represents a Raw SByte tag. ```csharp public sealed class RawSByteTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawSByteTag(uint, sbyte[]) | Initializes a new instance of the `RawSByteTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsbytetag/equals.md #### RawSByteTag.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsbytetag/gethashcode.md #### RawSByteTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawSByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsbytetag/rawsbytetag.md #### RawSByteTag constructor Initializes a new instance of the `RawSByteTag` class. ```csharp public RawSByteTag(uint tagID, sbyte[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | SByte[] | The value. | ### RawSLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawslongtag.md #### RawSLongTag class Represents a Raw SLong tag. ```csharp public sealed class RawSLongTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawSLongTag(uint, int[]) | Initializes a new instance of the `RawSLongTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawslongtag/equals.md #### RawSLongTag.Equals method Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | | ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawslongtag/gethashcode.md #### RawSLongTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawSLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawslongtag/rawslongtag.md #### RawSLongTag constructor Initializes a new instance of the `RawSLongTag` class. ```csharp public RawSLongTag(uint tagID, int[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | Int32[] | The value. | ### RawSRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational.md #### RawSRational class Represents signed rational number. ```csharp public sealed class RawSRational : IEquatable ``` #### Constructors | Name | Description | | --- | --- | | RawSRational(int, int) | Initializes a new instance of the `RawSRational` class. | #### Properties | Name | Description | | --- | --- | | Denominator { get; } | Gets denominator. | | Numerator { get; } | Gets numerator. | | Value { get; } | Gets actual value represented as double. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Indicates whether the current object is equal to another object of the same type. | | Equals(RawSRational) | Indicates whether the current object is equal to another object of the same type. | | override GetHashCode() | Returns a hash code for this instance. | | override ToString() | Returns a String that represents this instance. | | static Equals(RawSRational, RawSRational) | Compares pair of `RawSRational`. | | operator == | Indicates whether two objects of the same type are equal. | | operator != | Indicates whether two objects of the same type are not equal. | ### Denominator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/denominator.md #### RawSRational.Denominator property Gets denominator. ```csharp public int Denominator { get; } ``` ##### Property Value The denominator. ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/equals.md #### Equals(RawSRational, RawSRational) Compares pair of `RawSRational`. ```csharp public static bool Equals(RawSRational rational, RawSRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | rational | RawSRational | Comparing item. | | other | RawSRational | Other item. | ##### Return Value `true` if objects are equal; otherwise `false`. #### Equals(RawSRational) Indicates whether the current object is equal to another object of the same type. ```csharp public bool Equals(RawSRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | RawSRational | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *other* parameter; otherwise, `false`. #### Equals(object) Indicates whether the current object is equal to another object of the same type. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *obj* parameter; otherwise, `false`. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/gethashcode.md #### RawSRational.GetHashCode method Returns a hash code for this instance. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### Numerator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/numerator.md #### RawSRational.Numerator property Gets numerator. ```csharp public int Numerator { get; } ``` ##### Property Value The numerator. ### op_Equality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/op_equality.md #### RawSRational Equality operator Indicates whether two objects of the same type are equal. ```csharp public static bool operator ==(RawSRational left, RawSRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | RawSRational | The left object. | | right | RawSRational | The rigt object. | ##### Return Value True if the objects are equal; otherwise, false. ### op_Inequality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/op_inequality.md #### RawSRational Inequality operator Indicates whether two objects of the same type are not equal. ```csharp public static bool operator !=(RawSRational left, RawSRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | RawSRational | The left object. | | right | RawSRational | The rigt object. | ##### Return Value True if the objects are not equal; otherwise, false. ### RawSRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/rawsrational.md #### RawSRational constructor Initializes a new instance of the `RawSRational` class. ```csharp public RawSRational(int numerator, int denominator) ``` | Parameter | Type | Description | | --- | --- | --- | | numerator | Int32 | The numerator. | | denominator | Int32 | The denominator. | ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/tostring.md #### RawSRational.ToString method Returns a String that represents this instance. ```csharp public override string ToString() ``` ##### Return Value A String that represents this instance. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrational/value.md #### RawSRational.Value property Gets actual value represented as double. ```csharp public double Value { get; } ``` ##### Property Value Double value. ### RawSRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrationaltag.md #### RawSRationalTag class Represents a Raw SRational tag. ```csharp public sealed class RawSRationalTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawSRationalTag(uint, RawSRational[]) | Initializes a new instance of the `RawSRationalTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrationaltag/equals.md #### RawSRationalTag.Equals method Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | | ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrationaltag/gethashcode.md #### RawSRationalTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawSRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsrationaltag/rawsrationaltag.md #### RawSRationalTag constructor Initializes a new instance of the `RawSRationalTag` class. ```csharp public RawSRationalTag(uint tagID, RawSRational[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | RawSRational[] | The value. | ### RawSShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsshorttag.md #### RawSShortTag class Represents a Raw SShort tag. ```csharp public sealed class RawSShortTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawSShortTag(uint, short[]) | Initializes a new instance of the `RawSShortTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsshorttag/equals.md #### RawSShortTag.Equals method Equals method ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | | ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsshorttag/gethashcode.md #### RawSShortTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawSShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawsshorttag/rawsshorttag.md #### RawSShortTag constructor Initializes a new instance of the `RawSShortTag` class. ```csharp public RawSShortTag(uint tagID, short[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | Int16[] | The value. | ### RawTypePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawtypepackage.md #### RawTypePackage class Represents a metadata package containing image-specific file format information. ```csharp public class RawTypePackage : FileTypePackage ``` #### Properties | Name | Description | | --- | --- | | ByteOrder { get; } | Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. | | Count { get; } | Gets the number of metadata properties. | | Extension { get; } | Gets the file extension. | | FileFormat { get; } | Gets the file format. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MimeType { get; } | Gets the MIME type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ByteOrder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawtypepackage/byteorder.md #### RawTypePackage.ByteOrder property Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. ```csharp public ByteOrder ByteOrder { get; } ``` ##### Property Value The byte-order value. ### RawUndefinedTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawundefinedtag.md #### RawUndefinedTag class Represents a Raw tag with the Undefined type. ```csharp public sealed class RawUndefinedTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawUndefinedTag(uint, byte[]) | Initializes a new instance of the `RawUndefinedTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | | | override GetHashCode() | | ### RawUndefinedTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/rawundefinedtag/rawundefinedtag.md #### RawUndefinedTag constructor Initializes a new instance of the `RawUndefinedTag` class. ```csharp public RawUndefinedTag(uint tagID, byte[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | Byte[] | The value. | ### TiffArrayTagT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffarraytag-1.md #### TiffArrayTag<T> class Represents an array-based TIFF tag. ```csharp public abstract class TiffArrayTag : TiffTag ``` | Parameter | Description | | --- | --- | | T | The type of array values. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TagValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffarraytag-1/tagvalue.md #### TiffArrayTag<T>.TagValue property Gets the tag value. ```csharp public T[] TagValue { get; } ``` ##### Property Value The tag value. ### TiffAsciiTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffasciitag.md #### TiffAsciiTag class Represents a TIFF ASCII tag. ```csharp public sealed class TiffAsciiTag : TiffTag ``` #### Constructors | Name | Description | | --- | --- | | TiffAsciiTag(TiffTagID, string) | Initializes a new instance of the `TiffAsciiTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TagValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffasciitag/tagvalue.md #### TiffAsciiTag.TagValue property Gets the tag value. ```csharp public string TagValue { get; } ``` ##### Property Value The tag value. ### TiffAsciiTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffasciitag/tiffasciitag.md #### TiffAsciiTag constructor Initializes a new instance of the `TiffAsciiTag` class. ```csharp public TiffAsciiTag(TiffTagID tagID, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | String | The value. | ### TiffByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffbytetag.md #### TiffByteTag class Represents a Byte tag. ```csharp public sealed class TiffByteTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffByteTag(TiffTagID, byte[]) | Initializes a new instance of the `TiffByteTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffbytetag/tiffbytetag.md #### TiffByteTag constructor Initializes a new instance of the `TiffByteTag` class. ```csharp public TiffByteTag(TiffTagID tagID, byte[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | Byte[] | The value. | ### TiffDoubleTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffdoubletag.md #### TiffDoubleTag class Represents a TIFF Double tag. ```csharp public sealed class TiffDoubleTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffDoubleTag(TiffTagID, double[]) | Initializes a new instance of the `TiffDoubleTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffDoubleTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffdoubletag/tiffdoubletag.md #### TiffDoubleTag constructor Initializes a new instance of the `TiffDoubleTag` class. ```csharp public TiffDoubleTag(TiffTagID tagID, double[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | Double[] | The value. | ### TiffFloatTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifffloattag.md #### TiffFloatTag class Represents a TIFF float tag. ```csharp public sealed class TiffFloatTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffFloatTag(TiffTagID, float[]) | Initializes a new instance of the `TiffFloatTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffFloatTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifffloattag/tifffloattag.md #### TiffFloatTag constructor Initializes a new instance of the `TiffFloatTag` class. ```csharp public TiffFloatTag(TiffTagID tagID, float[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | Single[] | The value. | ### TiffLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifflongtag.md #### TiffLongTag class Represents a TIFF Long tag. ```csharp public sealed class TiffLongTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffLongTag(TiffTagID, uint[]) | Initializes a new instance of the `TiffLongTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifflongtag/tifflongtag.md #### TiffLongTag constructor Initializes a new instance of the `TiffLongTag` class. ```csharp public TiffLongTag(TiffTagID tagID, uint[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | UInt32[] | The value. | ### TiffRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational.md #### TiffRational class Represents a rational number. ```csharp public sealed class TiffRational : IEquatable ``` #### Constructors | Name | Description | | --- | --- | | TiffRational(uint, uint) | Initializes a new instance of the `TiffRational` class. | #### Properties | Name | Description | | --- | --- | | Denominator { get; } | Gets the denominator. | | Numerator { get; } | Gets the numerator. | | Value { get; } | Gets the rational value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Indicates whether the current object is equal to another object of the same type. | | Equals(TiffRational) | Indicates whether the current object is equal to another object of the same type. | | override GetHashCode() | Returns a hash code for this instance. | | override ToString() | Returns a String that represents this instance. | | static Equals(TiffRational, TiffRational) | Compares a pair of `TiffRational` numbers. | | operator == | Indicates whether two objects of the same type are equal. | | operator != | Indicates whether two objects of the same type are not equal. | ### Denominator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/denominator.md #### TiffRational.Denominator property Gets the denominator. ```csharp public uint Denominator { get; } ``` ##### Property Value The denominator. ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/equals.md #### Equals(TiffRational, TiffRational) Compares a pair of `TiffRational` numbers. ```csharp public static bool Equals(TiffRational rational, TiffRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | rational | TiffRational | A rational number. | | other | TiffRational | Another rational number. | ##### Return Value `true` if the objects are equal; otherwise, `false`. #### Equals(TiffRational) Indicates whether the current object is equal to another object of the same type. ```csharp public bool Equals(TiffRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | TiffRational | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *other* parameter; otherwise, `false`. #### Equals(object) Indicates whether the current object is equal to another object of the same type. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *obj* parameter; otherwise, `false`. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/gethashcode.md #### TiffRational.GetHashCode method Returns a hash code for this instance. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### Numerator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/numerator.md #### TiffRational.Numerator property Gets the numerator. ```csharp public uint Numerator { get; } ``` ##### Property Value The numerator. ### op_Equality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/op_equality.md #### TiffRational Equality operator Indicates whether two objects of the same type are equal. ```csharp public static bool operator ==(TiffRational left, TiffRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | TiffRational | The left object. | | right | TiffRational | The rigt object. | ##### Return Value True if the objects are equal; otherwise, false. ### op_Inequality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/op_inequality.md #### TiffRational Inequality operator Indicates whether two objects of the same type are not equal. ```csharp public static bool operator !=(TiffRational left, TiffRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | TiffRational | The left object. | | right | TiffRational | The right object. | ##### Return Value True if the objects are not equal; otherwise, false. ### TiffRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/tiffrational.md #### TiffRational constructor Initializes a new instance of the `TiffRational` class. ```csharp public TiffRational(uint numerator, uint denominator) ``` | Parameter | Type | Description | | --- | --- | --- | | numerator | UInt32 | The numerator. | | denominator | UInt32 | The denominator. | ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/tostring.md #### TiffRational.ToString method Returns a String that represents this instance. ```csharp public override string ToString() ``` ##### Return Value A String that represents this instance. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrational/value.md #### TiffRational.Value property Gets the rational value. ```csharp public double Value { get; } ``` ##### Property Value The rational value. ### TiffRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrationaltag.md #### TiffRationalTag class Represents a TIFF Rational tag. ```csharp public sealed class TiffRationalTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffRationalTag(TiffTagID, TiffRational[]) | Initializes a new instance of the `TiffRationalTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffrationaltag/tiffrationaltag.md #### TiffRationalTag constructor Initializes a new instance of the `TiffRationalTag` class. ```csharp public TiffRationalTag(TiffTagID tagID, TiffRational[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | TiffRational[] | The value. | ### TiffSByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsbytetag.md #### TiffSByteTag class Represents a TIFF SByte tag. ```csharp public sealed class TiffSByteTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffSByteTag(TiffTagID, sbyte[]) | Initializes a new instance of the `TiffSByteTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffSByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsbytetag/tiffsbytetag.md #### TiffSByteTag constructor Initializes a new instance of the `TiffSByteTag` class. ```csharp public TiffSByteTag(TiffTagID tagID, sbyte[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | SByte[] | The value. | ### TiffShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffshorttag.md #### TiffShortTag class Represents a TIFF Short tag. ```csharp public sealed class TiffShortTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffShortTag(TiffTagID, ushort[]) | Initializes a new instance of the `TiffShortTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffshorttag/tiffshorttag.md #### TiffShortTag constructor Initializes a new instance of the `TiffShortTag` class. ```csharp public TiffShortTag(TiffTagID tagID, ushort[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | UInt16[] | The value. | ### TiffSLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffslongtag.md #### TiffSLongTag class Represents a TIFF SLong tag. ```csharp public sealed class TiffSLongTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffSLongTag(TiffTagID, int[]) | Initializes a new instance of the `TiffSLongTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffSLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffslongtag/tiffslongtag.md #### TiffSLongTag constructor Initializes a new instance of the `TiffSLongTag` class. ```csharp public TiffSLongTag(TiffTagID tagID, int[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | Int32[] | The value. | ### TiffSRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational.md #### TiffSRational class Represents signed rational number. ```csharp public sealed class TiffSRational : IEquatable ``` #### Constructors | Name | Description | | --- | --- | | TiffSRational(int, int) | Initializes a new instance of the `TiffSRational` class. | #### Properties | Name | Description | | --- | --- | | Denominator { get; } | Gets denominator. | | Numerator { get; } | Gets numerator. | | Value { get; } | Gets actual value represented as double. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Indicates whether the current object is equal to another object of the same type. | | Equals(TiffSRational) | Indicates whether the current object is equal to another object of the same type. | | override GetHashCode() | Returns a hash code for this instance. | | override ToString() | Returns a String that represents this instance. | | static Equals(TiffSRational, TiffSRational) | Compares pair of `TiffSRational`. | | operator == | Indicates whether two objects of the same type are equal. | | operator != | Indicates whether two objects of the same type are not equal. | ### Denominator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/denominator.md #### TiffSRational.Denominator property Gets denominator. ```csharp public int Denominator { get; } ``` ##### Property Value The denominator. ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/equals.md #### Equals(TiffSRational, TiffSRational) Compares pair of `TiffSRational`. ```csharp public static bool Equals(TiffSRational rational, TiffSRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | rational | TiffSRational | Comparing item. | | other | TiffSRational | Other item. | ##### Return Value `true` if objects are equal; otherwise `false`. #### Equals(TiffSRational) Indicates whether the current object is equal to another object of the same type. ```csharp public bool Equals(TiffSRational other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | TiffSRational | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *other* parameter; otherwise, `false`. #### Equals(object) Indicates whether the current object is equal to another object of the same type. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | An object to compare with this object. | ##### Return Value `true` if the current object is equal to the *obj* parameter; otherwise, `false`. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/gethashcode.md #### TiffSRational.GetHashCode method Returns a hash code for this instance. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### Numerator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/numerator.md #### TiffSRational.Numerator property Gets numerator. ```csharp public int Numerator { get; } ``` ##### Property Value The numerator. ### op_Equality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/op_equality.md #### TiffSRational Equality operator Indicates whether two objects of the same type are equal. ```csharp public static bool operator ==(TiffSRational left, TiffSRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | TiffSRational | The left object. | | right | TiffSRational | The rigt object. | ##### Return Value True if the objects are equal; otherwise, false. ### op_Inequality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/op_inequality.md #### TiffSRational Inequality operator Indicates whether two objects of the same type are not equal. ```csharp public static bool operator !=(TiffSRational left, TiffSRational right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | TiffSRational | The left object. | | right | TiffSRational | The rigt object. | ##### Return Value True if the objects are not equal; otherwise, false. ### TiffSRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/tiffsrational.md #### TiffSRational constructor Initializes a new instance of the `TiffSRational` class. ```csharp public TiffSRational(int numerator, int denominator) ``` | Parameter | Type | Description | | --- | --- | --- | | numerator | Int32 | The numerator. | | denominator | Int32 | The denominator. | ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/tostring.md #### TiffSRational.ToString method Returns a String that represents this instance. ```csharp public override string ToString() ``` ##### Return Value A String that represents this instance. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrational/value.md #### TiffSRational.Value property Gets actual value represented as double. ```csharp public double Value { get; } ``` ##### Property Value Double value. ### TiffSRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrationaltag.md #### TiffSRationalTag class Represents a TIFF SRational tag. ```csharp public sealed class TiffSRationalTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffSRationalTag(TiffTagID, TiffSRational[]) | Initializes a new instance of the `TiffSRationalTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffSRationalTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsrationaltag/tiffsrationaltag.md #### TiffSRationalTag constructor Initializes a new instance of the `TiffSRationalTag` class. ```csharp public TiffSRationalTag(TiffTagID tagID, TiffSRational[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | TiffSRational[] | The value. | ### TiffSShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsshorttag.md #### TiffSShortTag class Represents a TIFF SShort tag. ```csharp public sealed class TiffSShortTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffSShortTag(TiffTagID, short[]) | Initializes a new instance of the `TiffSShortTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffSShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffsshorttag/tiffsshorttag.md #### TiffSShortTag constructor Initializes a new instance of the `TiffSShortTag` class. ```csharp public TiffSShortTag(TiffTagID tagID, short[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | Int16[] | The value. | ### TiffTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifftag.md #### TiffTag class Represents a TIFF tag. ```csharp public abstract class TiffTag : MetadataProperty ``` #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | Value { get; } | Gets the property value. | ### TagID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifftag/tagid.md #### TiffTag.TagID property Gets the tag id. ```csharp public TiffTagID TagID { get; } ``` ##### Property Value The tag id. ### TagType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifftag/tagtype.md #### TiffTag.TagType property Gets the type of the tag. ```csharp public TiffTagType TagType { get; } ``` ##### Property Value The tag type. ### TiffTagID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifftagid.md #### TiffTagID enumeration Defines ids of TIFF tags. ```csharp public enum TiffTagID : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | GpsVersionID | `0` | Indicates the version of GPSInfoIFD. | | GpsLatitudeRef | `1` | Indicates whether the latitude is north or south latitude. | | GpsLatitude | `2` | Indicates the latitude. | | GpsLongitudeRef | `3` | Indicates whether the longitude is east or west longitude. | | GpsLongitude | `4` | Indicates the longitude. | | GpsAltitudeRef | `5` | Indicates the altitude used as the reference altitude. | | GpsAltitude | `6` | Indicates the altitude based on the reference in GPSAltitudeRef. | | GpsTimeStamp | `7` | Indicates the time as UTC (Coordinated Universal Time). | | GpsSatellites | `8` | ndicates the GPS satellites used for measurements. | | GpsStatus | `9` | Indicates the status of the GPS receiver when the image is recorded. | | GpsMeasureMode | `10` | Indicates the GPS measurement mode. | | GpsDop | `11` | Indicates the GPS DOP (data degree of precision). | | GpsSpeedRef | `12` | Indicates the unit used to express the GPS receiver speed of movement | | GpsSpeed | `13` | Indicates the speed of GPS receiver movement. | | GpsTrackRef | `14` | Indicates the reference for giving the direction of GPS receiver movement. | | GpsTrack | `15` | Indicates the direction of GPS receiver movement. | | GpsImgDirectionRef | `16` | Indicates the reference for giving the direction of the image when it is captured. | | GpsImgDirection | `17` | Indicates the direction of the image when it was captured. | | GpsMapDatum | `18` | Indicates the geodetic survey data used by the GPS receiver. | | GpsDestLatitudeRef | `19` | Indicates whether the latitude of the destination point is north or south latitude. | | GpsDestLatitude | `20` | Indicates the latitude of the destination point. | | GpsDestLongitudeRef | `21` | Indicates whether the longitude of the destination point is east or west longitude. | | GpsDestLongitude | `22` | Indicates the longitude of the destination point. | | GpsDestBearingRef | `23` | Indicates the reference used for giving the bearing to the destination point. | | GpsDestBearing | `24` | Indicates the bearing to the destination point. | | GpsDestDistanceRef | `25` | Indicates the unit used to express the distance to the destination point. | | GpsDestDistance | `26` | Indicates the distance to the destination point. | | GpsProcessingMethod | `27` | A character string recording the name of the method used for location finding. | | GpsAreaInformation | `28` | A character string recording the name of the GPS area. | | GpsDateStamp | `29` | A character string recording date and time information relative to UTC (Coordinated Universal Time). | | GpsDifferential | `30` | Indicates whether differential correction is applied to the GPS receiver. | | GpsHPositioningError | `31` | This tag indicates horizontal positioning errors in meters. | | NewSubfileType | `254` | A general indication of the kind of data contained in this sub-file. | | SubfileType | `255` | A general indication of the kind of data contained in this subfile. This field is deprecated. The NewSubfileType field should be used instead | | ImageWidth | `256` | The number of columns in the image, i.e., the number of pixels per scan line. | | ImageLength | `257` | The number of rows (sometimes described as scan lines) in the image. | | BitsPerSample | `258` | Number of bits per component. | | Compression | `259` | Compression scheme used on the image data. | | PhotometricInterpretation | `262` | The color space of the image data. | | Threshholding | `263` | For black and white TIFF files that represent shades of gray, the technique used to convert from gray to black and white pixels. | | CellWidth | `264` | The width of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. | | CellLength | `265` | The length of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. | | FillOrder | `266` | The logical order of bits within a byte. | | DocumentName | `269` | The name of the document from which this image was scanned. | | ImageDescription | `270` | A string that describes the subject of the image. | | Make | `271` | The scanner manufacturer. | | Model | `272` | The scanner model name or number. | | StripOffsets | `273` | For each strip, the byte offset of that strip. | | Orientation | `274` | The orientation of the image with respect to the rows and columns. | | SamplesPerPixel | `277` | The number of components per pixel. | | RowsPerStrip | `278` | The number of rows per strip. | | StripByteCounts | `279` | For each strip, the number of bytes in the strip after compression. | | MinSampleValue | `280` | The minimum component value used. | | MaxSampleValue | `281` | The maximum component value used. | | XResolution | `282` | The number of pixels per ResolutionUnit in the ImageWidth direction. | | YResolution | `283` | The number of pixels per ResolutionUnit in the ImageLength direction. | | PlanarConfiguration | `284` | How the components of each pixel are stored. | | PageName | `285` | The name of the page from which this image was scanned. | | XPosition | `286` | X position of the image. | | YPosition | `287` | Y position of the image. | | FreeOffsets | `288` | For each string of contiguous unused bytes in a TIFF file, the byte offset of the string. | | FreeByteCounts | `289` | For each string of contiguous unused bytes in a TIFF file, the number of bytes in the string. | | GrayResponseUnit | `290` | The precision of the information contained in the GrayResponseCurve. | | GrayResponseCurve | `291` | For grayscale data, the optical density of each possible pixel value. | | T4Options | `292` | T4-encoding options. | | T6Options | `293` | T6-encoding options. | | ResolutionUnit | `296` | The unit of measurement for XResolution and YResolution. | | PageNumber | `297` | The page number of the page from which this image was scanned. | | TransferFunction | `301` | Describes a transfer function for the image in tabular style. Pixel components can be gamma-compensated, companded, non-uniformly quantized, or coded in some other way. The TransferFunction maps the pixel components from a non-linear BitsPerSample (e.g. 8-bit) form into a 16-bit linear form without a perceptible loss of accuracy. | | Software | `305` | Name and version number of the software package(s) used to create the image. | | DateTime | `306` | Date and time of image creation. | | Artist | `315` | Person who created the image. | | HostComputer | `316` | The computer and/or operating system in use at the time of image creation. | | Predictor | `317` | This section defines a Predictor that greatly improves compression ratios for some images. | | WhitePoint | `318` | The chromaticity of the white point of the image. | | PrimaryChromaticities | `319` | The chromaticities of the primaries of the image. | | ColorMap | `320` | A color map for palette color images. | | HalftoneHints | `321` | The purpose of the HalftoneHints field is to convey to the halftone function the range of gray levels within a colorimetrically-specified image that should retain tonal detail. | | TileWidth | `322` | The tile width in pixels. This is the number of columns in each tile. | | TileLength | `323` | The tile length (height) in pixels. This is the number of rows in each tile. | | TileOffsets | `324` | For each tile, the byte offset of that tile, as compressed and stored on disk. The offset is specified with respect to the beginning of the TIFF file. Note that this implies that each tile has a location independent of the locations of other tiles. | | TileByteCounts | `325` | For each tile, the number of (compressed) bytes in that tile. | | InkSet | `332` | The set of inks used in a separated (PhotometricInterpretation=5) image. | | InkNames | `333` | The name of each ink used in a separated (PhotometricInterpretation=5) image, written as a list of concatenated, NUL-terminated ASCII strings. | | NumberOfInks | `334` | The number of inks. Usually equal to SamplesPerPixel, unless there are extra samples. | | DotRange | `336` | The component values that correspond to a 0% dot and 100% dot. DotRange[0] corresponds to a 0% dot, and DotRange[1] corresponds to a 100% dot. | | ExtraSamples | `338` | Description of extra components. | | SampleFormat | `339` | This field specifies how to interpret each data sample in a pixel. | | SMinSampleValue | `340` | This field specifies the minimum sample value. | | SMaxSampleValue | `341` | This new field specifies the maximum sample value. | | TransferRange | `342` | Expands the range of the TransferFunction. | | JpegProc | `512` | This Field indicates the JPEG process used to produce the compressed data. | | JpegInterchangeFormat | `513` | This Field indicates whether a JPEG interchange format bitstream is present in the TIFF file. | | JpegInterchangeFormatLength | `514` | This Field indicates the length in bytes of the JPEG interchange format bitstream | | JpegRestartInterval | `515` | This Field indicates the length of the restart interval used in the compressed image data. | | JpegLosslessPredictors | `517` | This Field points to a list of lossless predictor-selection values, one per component. | | JpegPointTransforms | `518` | This Field points to a list of point transform values, one per component. | | JpegQTables | `519` | This Field points to a list of offsets to the quantization tables, one per component. | | JpegDCTables | `520` | This Field points to a list of offsets to the DC Huffman tables or the lossless Huffman tables, one per component. | | JpegACTables | `521` | This Field points to a list of offsets to the Huffman AC tables, one per component. | | YCbCrCoefficients | `529` | The matrix cofficients for transformation from RGB to YCbCr image data. | | YCbCrSubSampling | `530` | The sampling ratio of chrominance components in relation to the luminance component. | | YCbCrPositioning | `531` | Specifies the positioning of subsampled chrominance components relative to luminance samples. | | ReferenceBlackWhite | `532` | Specifies a pair of headroom and footroom image data values (codes) for each pixel component. | | Copyright | `33432` | Copyright notice. | | UserComment | `37510` | Keywords or comments on the image; complements ImageDescription. | | Xmp | `700` | Pointer to the XMP metadata. | | ImageID | `32781` | OPI-related. | | Iptc | `33723` | IPTC (International Press Telecommunications Council) metadata. Often times, the data type is incorrectly specified as LONG. | | Photoshop | `34377` | Collection of Photoshop 'Image Resource Blocks'. | | ImageLayer | `34732` | Image layer. | | IccProfile | `34675` | Color profile data. | | ExifIfd | `34665` | Pointer to collection of all EXIF Metadata. EXIF uses field names rather than tags to indicate the field content. | | GpsIfd | `34853` | Pointer to GPS data. | | Makernotes | `37500` | Pointer to makernotes data. | | InteroperabilityIfd | `40965` | Exif-related Interoperability IFD. | | CameraOwnerName | `42032` | Camera owner name as ASCII string. | | BodySerialNumber | `42033` | Camera body serial number as ASCII string. | | CfaPattern | `41730` | ndicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods. | | ExifVersion | `36864` | The version of the EXIF standard supported. | | ComponentsConfiguration | `37121` | Information specific to the compressed data. The channels of each component are arranged in order from the 1st component to the 4th. | | FlashpixVersion | `40960` | The Flashpix format version supported by a FPXR file. If the FPXR function supports Flashpix format Ver. 1.0, this is indicated similarly to ExifVersion by recording "0100" as 4-byte ASCII. | | ColorSpace | `40961` | The color space information tag (ColorSpace) is always recorded as the color space specifier. Normally sRGB (=1) is used to define the color space based on the PC monitor conditions and environment. If a color space other than sRGB is used, Uncalibrated (=FFFF.H) is set. | | PixelXDimension | `40962` | Information specific to compressed data. When a compressed file is recorded, the valid width of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. | | PixelYDimension | `40963` | Information specific to compressed data. When a compressed file is recorded, the valid height of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. | | SceneCaptureType | `41990` | This tag indicates the type of scene that was shot. It may also be used to record the mode in which the image was shot. | | Gamma | `42240` | Indicates the value of coefficient gamma. | | CompressedBitsPerPixel | `37122` | Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel. | | RelatedSoundFile | `40964` | This tag is used to record the name of an audio file related to the image data. The only relational information recorded here is the Exif audio file name and extension (an ASCII string consisting of 8 characters + '.' + 3 characters). | | DateTimeOriginal | `36867` | The date and time when the original image data was generated. For a DSC the date and time the picture was taken are recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. | | DateTimeDigitized | `36868` | The date and time when the image was stored as digital data. If, for example, an image was captured by DSC and at the same time the file was recorded, then the DateTimeOriginal and DateTimeDigitized will have the same contents. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. | | OffsetTime | `36880` | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". | | OffsetTimeOriginal | `36881` | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". | | OffsetTimeDigitized | `36882` | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". | | SubsecTime | `37520` | A tag used to record fractions of seconds for the DateTime tag. | | SubsecTimeOriginal | `37521` | A tag used to record fractions of seconds for the DateTimeOriginal tag. | | SubsecTimeDigitized | `37522` | A tag used to record fractions of seconds for the DateTimeDigitized tag. | | ExposureTime | `33434` | Exposure time, given in seconds (sec). | | FNumber | `33437` | The F number. | | ExposureProgram | `34850` | The class of the program used by the camera to set exposure when the picture is taken. | | SpectralSensitivity | `34852` | Indicates the spectral sensitivity of each channel of the camera used. The tag value is an ASCII string compatible with the standard developed by the ASTM Technical committee. | | PhotographicSensitivity | `34855` | This tag indicates the sensitivity of the camera or input device when the image was shot. | | Oecf | `34856` | Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. OECF is the relationship between the camera optical input and the image values. | | SensitivityType | `34864` | The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag. Although it is an optional tag, it should be recorded when a PhotographicSensitivity tag is recorded. | | StandardOutputSensitivity | `34865` | This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. | | RecommendedExposureIndex | `34866` | This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. | | IsoSpeed | `34867` | This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. | | ISOSpeedLatitudeYyy | `34868` | This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. | | ISOSpeedLatitudeZzz | `34869` | This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. | | ShutterSpeedValue | `37377` | Shutter speed. The unit is the APEX (Additive System of Photographic Exposure) setting. | | ApertureValue | `37378` | The lens aperture. The unit is the APEX value. | | BrightnessValue | `37379` | The value of brightness. The unit is the APEX value. | | ExposureBiasValue | `37380` | The exposure bias. The unit is the APEX value. | | MaxApertureValue | `37381` | The smallest F number of the lens. The unit is the APEX value. | | SubjectDistance | `37382` | The distance to the subject, given in meters. | | MeteringMode | `37383` | The metering mode. | | LightSource | `37384` | The kind of light source. | | Flash | `37385` | This tag indicates the status of flash when the image was shot. Bit 0 indicates the flash firing status, bits 1 and 2 indicate the flash return status, bits 3 and 4 indicate the flash mode, bit 5 indicates whether the flash function is present, and bit 6 indicates "red eye" mode. | | SubjectArea | `37396` | This tag indicates the location and area of the main subject in the overall scene. | | FocalLength | `37386` | The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera. | | FlashEnergy | `41483` | Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). | | SpatialFrequencyResponse | `41484` | This tag records the camera or input device spatial frequency table and SFR values in the direction of image width, image height, and diagonal direction, as specified in ISO 12233. | | FocalPlaneXResolution | `41486` | Indicates the number of pixels in the image width (X) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FocalPlaneYResolution | `41487` | Indicates the number of pixels in the image height (Y) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FocalPlaneResolutionUnit | `41488` | Indicates the unit for measuring FocalPlaneXResolution and FocalPlaneYResolution. This value is the same as the ResolutionUnit. | | SubjectLocation | `41492` | Indicates the location of the main subject in the scene. The value of this tag represents the pixel at the center of the main subject relative to the left edge, prior to rotation processing as per the Rotation tag. The first value indicates the X column number and second indicates the Y row number. | | ExposureIndex | `41493` | Indicates the exposure index selected on the camera or input device at the time the image is captured. | | SensingMethod | `41495` | Indicates the image sensor type on the camera or input device. | | FileSource | `41728` | Indicates the image source. If a DSC recorded the image, this tag value always shall be set to 3. | | SceneType | `41729` | Indicates the type of scene. If a DSC recorded the image, this tag value shall always be set to 1, indicating that the image was directly photographed. | | CustomRendered | `41985` | This tag indicates the use of special processing on image data, such as rendering geared to output. | | ExposureMode | `41986` | This tag indicates the exposure mode set when the image was shot. In auto-bracketing mode, the camera shoots a series of frames of the same scene at different exposure settings. | | WhiteBalance | `41987` | This tag indicates the white balance mode set when the image was shot. | | DigitalZoomRatio | `41988` | This tag indicates the digital zoom ratio when the image was shot. If the numerator of the recorded value is 0, this indicates that digital zoom was not used. | | FocalLengthIn35mmFilm | `41989` | This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. A value of 0 means the focal length is unknown. Note that this tag differs from the FocalLength tag. | | GainControl | `41991` | This tag indicates the degree of overall image gain adjustment. | | Contrast | `41992` | This tag indicates the direction of contrast processing applied by the camera when the image was shot. | | Saturation | `41993` | This tag indicates the direction of saturation processing applied by the camera when the image was shot. | | Sharpness | `41994` | This tag indicates the direction of sharpness processing applied by the camera when the image was shot. | | DeviceSettingDescription | `41995` | This tag indicates information on the picture-taking conditions of a particular camera model. | | SubjectDistanceRange | `41996` | This tag indicates the distance to the subject. | | CompositeImage | `42080` | This tag indicates whether the recorded image is a composite image* or not. | | SourceImageNumberOfCompositeImage | `42081` | This tag indicates the number of the source images (tentatively recorded images) captured for a composite Image. | | SourceExposureTimesOfCompositeImage | `42082` | For a composite image, this tag records the parameters relating exposure time of the exposures for generating the said composite image, such as respective exposure times of captured source images (tentatively recorded images). | | Temperature | `37888` | Temperature as the ambient situation at the shot, for example the room temperature where the photographer was holding the camera. The unit is °C. | | Humidity | `37889` | Humidity as the ambient situation at the shot, for example the room humidity where the photographer was holding the camera. The unit is %. | | Pressure | `37890` | Pressure as the ambient situation at the shot, for example the room atmospfere where the photographer was holding the camera or the water pressure under the sea. The unit is hPa. | | WaterDepth | `37891` | Water depth as the ambient situation at the shot, for example the water depth of the camera at underwater photography. The unit is m. | | Acceleration | `37892` | Acceleration (a scalar regardless of direction) as the ambient situation at the shot, for example the driving acceleration of the vehicle which the photographer rode on at the shot. The unit is mGal (10-5 m/s2). | | CameraElevationAngle | `37893` | Elevation/depression. angle of the orientation of the camera(imaging optical axis) as the ambient situation at the shot. The unit is degree(°). | | ImageUniqueID | `42016` | This tag indicates an identifier assigned uniquely to each image. | | LensSpecification | `42034` | This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. | | LensMake | `42035` | This tag records the lens manufacturer as an ASCII string. | | LensModel | `42036` | This tag records the lens’s model name and model number as an ASCII string. | | LensSerialNumber | `42037` | This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. | ### TiffTagType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tifftagtype.md #### TiffTagType enumeration Represents the IFD data type. ```csharp public enum TiffTagType : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Byte | `1` | An 8-bit unsigned integer. | | Ascii | `2` | An 8-bit byte with a 7-bit ASCII character. | | Short | `3` | A 16-bit unsigned integer. | | Long | `4` | A 32-bit unsigned integer. | | Rational | `5` | A pair of LONGs, numerator then denominator. | | SByte | `6` | An 8-bit signed integer. | | Undefined | `7` | An undefined 8-bit byte. | | SShort | `8` | A 16-bit signed integer. | | SLong | `9` | A 32-bit signed integer. | | SRational | `10` | A pair of SLONGs, numerator then denominator. | | Float | `11` | A 4-byte IEEE floating point value. | | Double | `12` | An 8-byte IEEE floating point value. | | SubIfd | `13` | A 4-byte long offset value | ### TiffUndefinedTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffundefinedtag.md #### TiffUndefinedTag class Represents a TIFF tag with the Undefined type. ```csharp public sealed class TiffUndefinedTag : TiffArrayTag ``` #### Constructors | Name | Description | | --- | --- | | TiffUndefinedTag(TiffTagID, byte[]) | Initializes a new instance of the `TiffUndefinedTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | ### TiffUndefinedTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.image/tiffundefinedtag/tiffundefinedtag.md #### TiffUndefinedTag constructor Initializes a new instance of the `TiffUndefinedTag` class. ```csharp public TiffUndefinedTag(TiffTagID tagID, byte[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | Byte[] | The value. | ### GroupDocs.Metadata.Formats.Mpeg Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg.md The namespace provides functionality allowing users to work with metadata of various MPEG standards. #### Classes | Class | Description | | --- | --- | | MpegAudioPackage | Represents MPEG audio metadata. | #### Enumeration | Enumeration | Description | | --- | --- | | MpegAudioVersion | Represents a particular MPEG standard. | | MpegChannelMode | Defines MPEG audio channel modes. | | MpegEmphasis | Defines MPEG emphasis types. | ### MpegAudioPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage.md #### MpegAudioPackage class Represents MPEG audio metadata. ```csharp public sealed class MpegAudioPackage : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | MpegAudioPackage() | Initializes a new instance of the `MpegAudioPackage` class. | #### Properties | Name | Description | | --- | --- | | Bitrate { get; } | Gets the bitrate. | | ChannelMode { get; } | Gets the channel mode. | | Copyright { get; } | Gets the copyright bit. | | Count { get; } | Gets the number of metadata properties. | | Emphasis { get; } | Gets the emphasis. | | Frequency { get; } | Gets the frequency. | | HeaderPosition { get; } | Gets the header offset. | | IsOriginal { get; } | Gets the original bit. | | IsProtected { get; } | Gets `true` if protected. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Layer { get; } | Gets the layer description. For an MP3 audio it is '3'. | | MetadataType { get; } | Gets the metadata type. | | ModeExtensionBits { get; } | Gets the mode extension bits. | | MpegAudioVersion { get; } | Gets the MPEG audio version. Can be MPEG-1, MPEG-2 etc. | | PaddingBit { get; } | Gets the padding bit. | | PrivateBit { get; } | Gets a value indicating whether [private bit]. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example demonstrates how to read MPEG audio metadata from an MP3 file. ```csharp using (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.MpegAudioPackage.Bitrate); Console.WriteLine(root.MpegAudioPackage.ChannelMode); Console.WriteLine(root.MpegAudioPackage.Emphasis); Console.WriteLine(root.MpegAudioPackage.Frequency); Console.WriteLine(root.MpegAudioPackage.HeaderPosition); Console.WriteLine(root.MpegAudioPackage.Layer); // ... } ``` ### Bitrate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/bitrate.md #### MpegAudioPackage.Bitrate property Gets the bitrate. ```csharp public int Bitrate { get; } ``` ##### Property Value The bitrate. ### ChannelMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/channelmode.md #### MpegAudioPackage.ChannelMode property Gets the channel mode. ```csharp public MpegChannelMode ChannelMode { get; } ``` ##### Property Value The channel mode. ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/copyright.md #### MpegAudioPackage.Copyright property Gets the copyright bit. ```csharp public bool Copyright { get; } ``` ##### Property Value `true` if copyright; otherwise, `false`. ### Emphasis Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/emphasis.md #### MpegAudioPackage.Emphasis property Gets the emphasis. ```csharp public MpegEmphasis Emphasis { get; } ``` ##### Property Value The emphasis. ### Frequency Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/frequency.md #### MpegAudioPackage.Frequency property Gets the frequency. ```csharp public int Frequency { get; } ``` ##### Property Value The frequency. ### HeaderPosition Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/headerposition.md #### MpegAudioPackage.HeaderPosition property Gets the header offset. ```csharp public long HeaderPosition { get; } ``` ##### Property Value The header offset. ### IsOriginal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/isoriginal.md #### MpegAudioPackage.IsOriginal property Gets the original bit. ```csharp public bool IsOriginal { get; } ``` ##### Property Value `true` if audio is original; otherwise, `false`. ### IsProtected Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/isprotected.md #### MpegAudioPackage.IsProtected property Gets `true` if protected. ```csharp public bool IsProtected { get; } ``` ##### Property Value `true` if is protected; otherwise, `false`. ### Layer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/layer.md #### MpegAudioPackage.Layer property Gets the layer description. For an MP3 audio it is '3'. ```csharp public int Layer { get; } ``` ##### Property Value The layer description. ### ModeExtensionBits Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/modeextensionbits.md #### MpegAudioPackage.ModeExtensionBits property Gets the mode extension bits. ```csharp public int ModeExtensionBits { get; } ``` ##### Property Value The mode extension bits. ### MpegAudioPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/mpegaudiopackage.md #### MpegAudioPackage constructor Initializes a new instance of the `MpegAudioPackage` class. ```csharp public MpegAudioPackage() ``` ### MpegAudioVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/mpegaudioversion.md #### MpegAudioPackage.MpegAudioVersion property Gets the MPEG audio version. Can be MPEG-1, MPEG-2 etc. ```csharp public MpegAudioVersion MpegAudioVersion { get; } ``` ##### Property Value The MPEG audio version. ### PaddingBit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/paddingbit.md #### MpegAudioPackage.PaddingBit property Gets the padding bit. ```csharp public int PaddingBit { get; } ``` ##### Property Value The padding bit. ### PrivateBit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/privatebit.md #### MpegAudioPackage.PrivateBit property Gets a value indicating whether [private bit]. ```csharp public bool PrivateBit { get; } ``` ##### Property Value `true` if [private bit]; otherwise, `false`. ### MpegAudioVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegaudioversion.md #### MpegAudioVersion enumeration Represents a particular MPEG standard. ```csharp public enum MpegAudioVersion ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Mpeg25 | `0` | The MPEG 2.5 standard. | | Mpeg2 | `2` | The MPEG 2 standard. | | Mpeg1 | `3` | The MPEG 1 standard. | ### MpegChannelMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegchannelmode.md #### MpegChannelMode enumeration Defines MPEG audio channel modes. ```csharp public enum MpegChannelMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Stereo | `0` | Stereo mode. | | JointStereo | `1` | Joint stereo mode. | | DualChannel | `2` | Dual channel mode. | | Mono | `3` | Mono mode. | ### MpegEmphasis Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.mpeg/mpegemphasis.md #### MpegEmphasis enumeration Defines MPEG emphasis types. ```csharp public enum MpegEmphasis ``` ##### Values | Name | Value | Description | | --- | --- | --- | | None | `0` | No emphasis indication. | | Ms5015 | `1` | 50/15 ms. | | Reserved | `2` | Reserved. | | CcitJ17 | `3` | CCIT J.17. | ### GroupDocs.Metadata.Formats.Peer2Peer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer.md The namespace contains classes intended to work with different formats based on the peer2peer protocol. #### Classes | Class | Description | | --- | --- | | TorrentPackage | Represents torrent descriptor file metadata. Please find more information at [https://en.wikipedia.org/wiki/Torrent_file](https://en.wikipedia.org/wiki/Torrent_file). | | TorrentRootPackage | Represents the root package intended to work with metadata of a TORRENT file. | | TorrentSharedFilePackage | Represents shared file information. Contains detailed info about each file in a torrent distribution. | ### TorrentPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage.md #### TorrentPackage class Represents torrent descriptor file metadata. Please find more information at [https://en.wikipedia.org/wiki/Torrent_file](https://en.wikipedia.org/wiki/Torrent_file). ```csharp public sealed class TorrentPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Announce { get; set; } | Gets or sets the URL of the tracker. | | Comment { get; set; } | Gets or sets the author's comment. | | Count { get; } | Gets the number of metadata properties. | | CreatedBy { get; set; } | Gets or sets the name and version of the program used to create the torrent. | | CreationDate { get; set; } | Gets or sets the creation date of the torrent. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PieceLength { get; } | Gets the number of bytes in each piece. For more information please see . | | Pieces { get; } | Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SharedFiles { get; } | Gets an array containing shared file information entries. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Announce Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage/announce.md #### TorrentPackage.Announce property Gets or sets the URL of the tracker. ```csharp public string Announce { get; set; } ``` ##### Property Value The URL of the tracker. ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage/comment.md #### TorrentPackage.Comment property Gets or sets the author's comment. ```csharp public string Comment { get; set; } ``` ##### Property Value The author's comment. ### CreatedBy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage/createdby.md #### TorrentPackage.CreatedBy property Gets or sets the name and version of the program used to create the torrent. ```csharp public string CreatedBy { get; set; } ``` ##### Property Value The name and version of the program used to create the torrent. ### CreationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage/creationdate.md #### TorrentPackage.CreationDate property Gets or sets the creation date of the torrent. ```csharp public DateTime? CreationDate { get; set; } ``` ##### Property Value The creation date of the torrent. ### PieceLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage/piecelength.md #### TorrentPackage.PieceLength property Gets the number of bytes in each piece. For more information please see . ```csharp public long PieceLength { get; } ``` ##### Property Value The number of bytes in each piece. ### Pieces Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage/pieces.md #### TorrentPackage.Pieces property Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. ```csharp public byte[] Pieces { get; } ``` ##### Property Value A byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. ### SharedFiles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentpackage/sharedfiles.md #### TorrentPackage.SharedFiles property Gets an array containing shared file information entries. ```csharp public TorrentSharedFilePackage[] SharedFiles { get; } ``` ##### Property Value An array containing shared file information entries. ### TorrentRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentrootpackage.md #### TorrentRootPackage class Represents the root package intended to work with metadata of a TORRENT file. ```csharp public class TorrentRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TorrentPackage { get; } | Gets the TORRENT file metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows how to read metadata of a TORRENT file. ```csharp using (Metadata metadata = new Metadata(Constants.InputTorrent)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.TorrentPackage.Announce); Console.WriteLine(root.TorrentPackage.Comment); Console.WriteLine(root.TorrentPackage.CreatedBy); Console.WriteLine(root.TorrentPackage.CreationDate); foreach (var file in root.TorrentPackage.SharedFiles) { Console.WriteLine(file.Name); Console.WriteLine(file.Length); } // ... } ``` ### TorrentPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/torrentpackage.md #### TorrentRootPackage.TorrentPackage property Gets the TORRENT file metadata package. ```csharp public TorrentPackage TorrentPackage { get; } ``` ##### Property Value The TORRENT file metadata package. ##### Examples This code sample shows how to update metadata in a TORRENT file. ```csharp using (Metadata metadata = new Metadata(Constants.InputTorrent)) { var root = metadata.GetRootPackage(); root.TorrentPackage.Comment = "test comment"; root.TorrentPackage.CreatedBy = "GroupDocs.Metadata"; root.TorrentPackage.CreationDate = DateTime.Today; metadata.Save(Constants.OutputTorrent); } ``` ### TorrentSharedFilePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage.md #### TorrentSharedFilePackage class Represents shared file information. Contains detailed info about each file in a torrent distribution. ```csharp public class TorrentSharedFilePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Length { get; } | Gets the length of the file in bytes. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the full name of the file (relative path to the file from the root torrent folder). | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Length Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/length.md #### TorrentSharedFilePackage.Length property Gets the length of the file in bytes. ```csharp public long Length { get; } ``` ##### Property Value The length of the file in bytes. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/name.md #### TorrentSharedFilePackage.Name property Gets the full name of the file (relative path to the file from the root torrent folder). ```csharp public string Name { get; } ``` ##### Property Value The full name of the file (relative path to the file from the root torrent folder). ### GroupDocs.Metadata.Formats.Raw.Cr2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2.md #### Classes | Class | Description | | --- | --- | | Cr2AFConfigPackage | Represents Canon MakerNotes tags. | | Cr2AFInfo2Package | Represents Canon MakerNotes tags. | | Cr2AFInfoPackage | Represents Canon MakerNotes tags. | | Cr2AFMicroAdjPackage | Represents Canon MakerNotes tags. | | Cr2AspectInfoPackage | Represents Canon MakerNotes tags. | | Cr2CameraSettingsPackage | Represents Canon MakerNotes tags. | | Cr2ColorBalancePackage | Represents Canon MakerNotes tags. | | Cr2ColorInfoPackage | Represents Canon MakerNotes tags. | | Cr2CropInfoPackage | Represents Canon MakerNotes tags. | | Cr2FileInfoPackage | Represents Canon MakerNotes tags. | | Cr2FocalLengthPackage | Represents Canon MakerNotes tags. | | Cr2Functions1DPackage | Represents Canon MakerNotes tags. | | Cr2LightingOptPackage | Represents Canon MakerNotes tags. | | Cr2LogInfoPackage | Represents Canon MakerNotes tags. | | Cr2MakerNotePackage | Represents Canon MakerNotes tags. | | Cr2ModifiedInfoPackage | Represents Canon MakerNotes tags. | | Cr2MovieInfoPackage | Represents Canon MakerNotes tags. | | Cr2MultiExpPackage | Represents Canon MakerNotes tags. | | Cr2Package | Represents native CR2 metadata. | | Cr2PanoramaPackage | Represents Canon MakerNotes tags. | | Cr2PersonalFuncsPackage | Represents Canon MakerNotes tags. | | Cr2PersonalFuncValuesPackage | Represents Canon MakerNotes tags. | | Cr2ProcessingPackage | Represents Canon MakerNotes tags. | | Cr2RootPackage | Represents an entry point to all metadata packages presented in a particular file CR2. | | Cr2SensorInfoPackage | Represents Canon MakerNotes tags. | | Cr2ShotInfoPackage | Represents Canon MakerNotes tags. | | Cr2TimeInfoPackage | Represents Canon MakerNotes tags. | | Cr2VignettingCorr2Package | Represents Canon MakerNotes tags. | | Cr2WBInfoPackage | Represents Canon MakerNotes tags. | #### Enumeration | Enumeration | Description | | --- | --- | | Cr2AFConfigIndex | Defines ids of Cr2AFConfig tags. | | Cr2AFInfo2Index | Defines ids of Cr2AFInfo2 tags. | | Cr2AFInfoIndex | Defines ids of Cr2AFInfo tags. | | Cr2AFMicroAdjIndex | Defines ids of Cr2AFMicroAdj tags. | | Cr2AspectInfoIndex | Defines ids of Cr2AspectInfo tags. | | Cr2CameraSettingsIndex | Defines ids of Cr2CameraSettings tags. | | Cr2ColorBalanceIndex | Defines ids of Cr2ColorBalance tags. | | Cr2ColorInfoIndex | Defines ids of Cr2ColorInfo tags. | | Cr2CropInfoIndex | Defines ids of Cr2CropInfo tags. | | Cr2FileInfoIndex | Defines ids of Cr2FileInfo tags. | | Cr2FilterInfoIndex | Defines ids of Cr2FilterInfo tags. | | Cr2FocalLengthIndex | Defines ids of Cr2FocalLength tags. | | Cr2Functions1DIndex | Defines ids of Cr2Functions1D tags. | | Cr2Functions2Index | Defines ids of Cr2Functions2 tags. | | Cr2LightingOptIndex | Defines ids of Cr2LightingOpt tags. | | Cr2LogInfoIndex | Defines ids of Cr2LogInfo tags. | | Cr2MakerNoteIndex | Defines ids of Cr2MakerNote tags. | | Cr2ModifiedInfoIndex | Defines ids of Cr2ModifiedInfo tags. | | Cr2MovieInfoIndex | Defines ids of Cr2MovieInfo tags. | | Cr2MultiExpIndex | Defines ids of Cr2MultiExp tags. | | Cr2PanoramaIndex | Defines ids of Cr2Panorama tags. | | Cr2PersonalFuncsIndex | Defines ids of Cr2PersonalFuncs tags. | | Cr2PersonalFuncValuesIndex | Defines ids of Cr2PersonalFuncValues tags. | | Cr2ProcessingIndex | Defines ids of Cr2Processing tags. | | Cr2SensorInfoIndex | Defines ids of Cr2SensorInfo tags. | | Cr2ShotInfoIndex | Defines ids of Cr2ShotInfo tags. | | Cr2TimeInfoIndex | Defines ids of Cr2TimeInfo tags. | | Cr2VignettingCorr2Index | Defines ids of Cr2VignettingCorr2 tags. | | Cr2WBInfoIndex | Defines ids of Cr2WBInfo tags. | ### Cr2AFConfigIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigindex.md #### Cr2AFConfigIndex enumeration Defines ids of Cr2AFConfig tags. ```csharp public enum Cr2AFConfigIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | AFConfigTool | `1` | Indicates the AFConfigTool. | | AFTrackingSensitivity | `2` | Indicates the AFTrackingSensitivity. | | AFAccelDecelTracking | `3` | Indicates the AFAccelDecelTracking. | | AFPointSwitching | `4` | Indicates the AFPointSwitching. | | AIServoFirstImage | `5` | Indicates the AIServoFirstImage. | | AIServoSecondImage | `6` | Indicates the AIServoSecondImage. | | USMLensElectronicMF | `7` | Indicates the USMLensElectronicMF. | | AFAssistBeam | `8` | Indicates the AFAssistBeam. | | OneShotAFRelease | `9` | Indicates the OneShotAFRelease. | | AutoAFPointSelEOSiTRAF | `10` | Indicates the AutoAFPointSelEOSiTRAF. | | LensDriveWhenAFImpossible | `11` | Indicates the LensDriveWhenAFImpossible. | | SelectAFAreaSelectionMode | `12` | Indicates the SelectAFAreaSelectionMode. | | AFAreaSelectionMethod | `13` | Indicates the AFAreaSelectionMethod. | | OrientationLinkedAF | `14` | Indicates the OrientationLinkedAF. | | ManualAFPointSelPattern | `15` | Indicates the ManualAFPointSelPattern. | | AFPointDisplayDuringFocus | `16` | Indicates the AFPointDisplayDuringFocus. | | VFDisplayIllumination | `17` | Indicates the VFDisplayIllumination. | | AFStatusViewfinder | `18` | Indicates the AFStatusViewfinder. | | InitialAFPointInServo | `19` | Indicates the InitialAFPointInServo. | ### Cr2AFConfigPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage.md #### Cr2AFConfigPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2AFConfigPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2AFConfigPackage() | Initializes a new instance of the `Cr2AFConfigPackage` class. | #### Properties | Name | Description | | --- | --- | | AFAccelDecelTracking { get; } | Gets the AFAccelDecelTracking. | | AFAreaSelectionMethod { get; } | Gets the AFAreaSelectionMethod. | | AFAssistBeam { get; } | Gets the AFAssistBeam. | | AFConfigTool { get; } | Gets the AFConfigTool. | | AFPointDisplayDuringFocus { get; } | Gets the AFPointDisplayDuringFocus. | | AFPointSwitching { get; } | Gets the AFPointSwitching. | | AFStatusViewfinder { get; } | Gets the AFStatusViewfinder. | | AFTrackingSensitivity { get; } | Gets the AFTrackingSensitivity. | | AIServoFirstImage { get; } | Gets the AIServoFirstImage. | | AIServoSecondImage { get; } | Gets the AIServoSecondImage. | | AutoAFPointSelEOSiTRAF { get; } | Gets the AutoAFPointSelEOSiTRAF. | | Count { get; } | Gets the number of metadata properties. | | InitialAFPointInServo { get; } | Gets the InitialAFPointInServo. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LensDriveWhenAFImpossible { get; } | Gets the LensDriveWhenAFImpossible. | | ManualAFPointSelPattern { get; } | Gets the ManualAFPointSelPattern. | | MetadataType { get; } | Gets the metadata type. | | OneShotAFRelease { get; } | Gets the OneShotAFRelease. | | OrientationLinkedAF { get; } | Gets the OrientationLinkedAF. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SelectAFAreaSelectionMode { get; } | Gets the SelectAFAreaSelectionMode. | | USMLensElectronicMF { get; } | Gets the USMLensElectronicMF. | | VFDisplayIllumination { get; } | Gets the VFDisplayIllumination. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AFAccelDecelTracking Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/afacceldeceltracking.md #### Cr2AFConfigPackage.AFAccelDecelTracking property Gets the AFAccelDecelTracking. ```csharp public int AFAccelDecelTracking { get; } ``` ##### Property Value The AFAccelDecelTracking. ### AFAreaSelectionMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/afareaselectionmethod.md #### Cr2AFConfigPackage.AFAreaSelectionMethod property Gets the AFAreaSelectionMethod. ```csharp public int AFAreaSelectionMethod { get; } ``` ##### Property Value The AFAreaSelectionMethod. ### AFAssistBeam Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/afassistbeam.md #### Cr2AFConfigPackage.AFAssistBeam property Gets the AFAssistBeam. ```csharp public int AFAssistBeam { get; } ``` ##### Property Value The AFAssistBeam. ### AFConfigTool Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/afconfigtool.md #### Cr2AFConfigPackage.AFConfigTool property Gets the AFConfigTool. ```csharp public int AFConfigTool { get; } ``` ##### Property Value The AFConfigTool. ### AFPointDisplayDuringFocus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/afpointdisplayduringfocus.md #### Cr2AFConfigPackage.AFPointDisplayDuringFocus property Gets the AFPointDisplayDuringFocus. ```csharp public int AFPointDisplayDuringFocus { get; } ``` ##### Property Value The AFPointDisplayDuringFocus. ### AFPointSwitching Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/afpointswitching.md #### Cr2AFConfigPackage.AFPointSwitching property Gets the AFPointSwitching. ```csharp public int AFPointSwitching { get; } ``` ##### Property Value The AFPointSwitching. ### AFStatusViewfinder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/afstatusviewfinder.md #### Cr2AFConfigPackage.AFStatusViewfinder property Gets the AFStatusViewfinder. ```csharp public int AFStatusViewfinder { get; } ``` ##### Property Value The AFStatusViewfinder. ### AFTrackingSensitivity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/aftrackingsensitivity.md #### Cr2AFConfigPackage.AFTrackingSensitivity property Gets the AFTrackingSensitivity. ```csharp public int AFTrackingSensitivity { get; } ``` ##### Property Value The AFTrackingSensitivity. ### AIServoFirstImage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/aiservofirstimage.md #### Cr2AFConfigPackage.AIServoFirstImage property Gets the AIServoFirstImage. ```csharp public int AIServoFirstImage { get; } ``` ##### Property Value The AIServoFirstImage. ### AIServoSecondImage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/aiservosecondimage.md #### Cr2AFConfigPackage.AIServoSecondImage property Gets the AIServoSecondImage. ```csharp public int AIServoSecondImage { get; } ``` ##### Property Value The AIServoSecondImage. ### AutoAFPointSelEOSiTRAF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/autoafpointseleositraf.md #### Cr2AFConfigPackage.AutoAFPointSelEOSiTRAF property Gets the AutoAFPointSelEOSiTRAF. ```csharp public int AutoAFPointSelEOSiTRAF { get; } ``` ##### Property Value The AutoAFPointSelEOSiTRAF. ### Cr2AFConfigPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/cr2afconfigpackage.md #### Cr2AFConfigPackage constructor Initializes a new instance of the `Cr2AFConfigPackage` class. ```csharp public Cr2AFConfigPackage() ``` ### InitialAFPointInServo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/initialafpointinservo.md #### Cr2AFConfigPackage.InitialAFPointInServo property Gets the InitialAFPointInServo. ```csharp public int InitialAFPointInServo { get; } ``` ##### Property Value The InitialAFPointInServo. ### LensDriveWhenAFImpossible Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/lensdrivewhenafimpossible.md #### Cr2AFConfigPackage.LensDriveWhenAFImpossible property Gets the LensDriveWhenAFImpossible. ```csharp public int LensDriveWhenAFImpossible { get; } ``` ##### Property Value The LensDriveWhenAFImpossible. ### ManualAFPointSelPattern Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/manualafpointselpattern.md #### Cr2AFConfigPackage.ManualAFPointSelPattern property Gets the ManualAFPointSelPattern. ```csharp public int ManualAFPointSelPattern { get; } ``` ##### Property Value The ManualAFPointSelPattern. ### OneShotAFRelease Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/oneshotafrelease.md #### Cr2AFConfigPackage.OneShotAFRelease property Gets the OneShotAFRelease. ```csharp public int OneShotAFRelease { get; } ``` ##### Property Value The OneShotAFRelease. ### OrientationLinkedAF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/orientationlinkedaf.md #### Cr2AFConfigPackage.OrientationLinkedAF property Gets the OrientationLinkedAF. ```csharp public int OrientationLinkedAF { get; } ``` ##### Property Value The OrientationLinkedAF. ### SelectAFAreaSelectionMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/selectafareaselectionmode.md #### Cr2AFConfigPackage.SelectAFAreaSelectionMode property Gets the SelectAFAreaSelectionMode. ```csharp public int SelectAFAreaSelectionMode { get; } ``` ##### Property Value The SelectAFAreaSelectionMode. ### USMLensElectronicMF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/usmlenselectronicmf.md #### Cr2AFConfigPackage.USMLensElectronicMF property Gets the USMLensElectronicMF. ```csharp public int USMLensElectronicMF { get; } ``` ##### Property Value The USMLensElectronicMF. ### VFDisplayIllumination Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/vfdisplayillumination.md #### Cr2AFConfigPackage.VFDisplayIllumination property Gets the VFDisplayIllumination. ```csharp public int VFDisplayIllumination { get; } ``` ##### Property Value The VFDisplayIllumination. ### Cr2AFInfo2Index Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2index.md #### Cr2AFInfo2Index enumeration Defines ids of Cr2AFInfo2 tags. ```csharp public enum Cr2AFInfo2Index ``` ##### Values | Name | Value | Description | | --- | --- | --- | | AFInfoSize | `0` | Indicates the AFInfoSize. | | AFAreaMode | `1` | Indicates the AFAreaMode. | | NumAFPoints | `2` | Indicates the NumAFPoints. | | ValidAFPoints | `3` | Indicates the ValidAFPoints. | | CanonImageWidth | `4` | Indicates the CanonImageWidth. | | CanonImageHeight | `5` | Indicates the CanonImageHeight. | | AFImageWidth | `6` | Indicates the AFImageWidth. | | AFImageHeight | `7` | Indicates the AFImageHeight. | | AFAreaWidths | `8` | Indicates the AFAreaWidths. | | AFAreaHeights | `9` | Indicates the AFAreaHeights. | | AFAreaXPositions | `10` | Indicates the AFAreaXPositions. | | AFAreaYPositions | `11` | Indicates the AFAreaYPositions. | | AFPointsInFocus | `12` | Indicates the AFPointsInFocus. | | AFPointsSelected | `13` | Indicates the AFPointsSelected. | | PrimaryAFPoint | `14` | Indicates the PrimaryAFPoint. | ### Cr2AFInfo2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package.md #### Cr2AFInfo2Package class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2AFInfo2Package : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2AFInfo2Package() | Initializes a new instance of the `Cr2AFInfo2Package` class. | #### Properties | Name | Description | | --- | --- | | AFAreaHeights { get; } | Gets the AFAreaHeights. | | AFAreaMode { get; } | Gets the AFAreaMode. | | AFAreaWidths { get; } | Gets the AFAreaWidths. | | AFAreaXPositions { get; } | Gets the AFAreaXPositions. | | AFAreaYPositions { get; } | Gets the AFAreaYPositions. | | AFImageHeight { get; } | Gets the AFImageHeight. | | AFImageWidth { get; } | Gets the AFImageWidth. | | AFInfoSize { get; } | Gets the AFInfoSize. | | AFPointsInFocus { get; } | Gets the AFPointsInFocus. | | AFPointsSelected { get; } | Gets the AFPointsSelected. | | CanonImageHeight { get; } | Gets the CanonImageHeight. | | CanonImageWidth { get; } | Gets the CanonImageWidth. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NumAFPoints { get; } | Gets the NumAFPoints. | | PrimaryAFPoint { get; } | Gets the PrimaryAFPoint. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ValidAFPoints { get; } | Gets the ValidAFPoints. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AFAreaHeights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afareaheights.md #### Cr2AFInfo2Package.AFAreaHeights property Gets the AFAreaHeights. ```csharp public ushort AFAreaHeights { get; } ``` ##### Property Value The AFAreaHeights. ### AFAreaMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afareamode.md #### Cr2AFInfo2Package.AFAreaMode property Gets the AFAreaMode. ```csharp public ushort AFAreaMode { get; } ``` ##### Property Value The AFAreaMode. ### AFAreaWidths Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afareawidths.md #### Cr2AFInfo2Package.AFAreaWidths property Gets the AFAreaWidths. ```csharp public ushort AFAreaWidths { get; } ``` ##### Property Value The AFAreaWidths. ### AFAreaXPositions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afareaxpositions.md #### Cr2AFInfo2Package.AFAreaXPositions property Gets the AFAreaXPositions. ```csharp public ushort AFAreaXPositions { get; } ``` ##### Property Value The AFAreaXPositions. ### AFAreaYPositions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afareaypositions.md #### Cr2AFInfo2Package.AFAreaYPositions property Gets the AFAreaYPositions. ```csharp public ushort AFAreaYPositions { get; } ``` ##### Property Value The AFAreaYPositions. ### AFImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afimageheight.md #### Cr2AFInfo2Package.AFImageHeight property Gets the AFImageHeight. ```csharp public ushort AFImageHeight { get; } ``` ##### Property Value The AFImageHeight. ### AFImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afimagewidth.md #### Cr2AFInfo2Package.AFImageWidth property Gets the AFImageWidth. ```csharp public ushort AFImageWidth { get; } ``` ##### Property Value The AFImageWidth. ### AFInfoSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afinfosize.md #### Cr2AFInfo2Package.AFInfoSize property Gets the AFInfoSize. ```csharp public ushort AFInfoSize { get; } ``` ##### Property Value The AFInfoSize. ### AFPointsInFocus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afpointsinfocus.md #### Cr2AFInfo2Package.AFPointsInFocus property Gets the AFPointsInFocus. ```csharp public ushort AFPointsInFocus { get; } ``` ##### Property Value The AFPointsInFocus. ### AFPointsSelected Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/afpointsselected.md #### Cr2AFInfo2Package.AFPointsSelected property Gets the AFPointsSelected. ```csharp public ushort AFPointsSelected { get; } ``` ##### Property Value The AFPointsSelected. ### CanonImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/canonimageheight.md #### Cr2AFInfo2Package.CanonImageHeight property Gets the CanonImageHeight. ```csharp public ushort CanonImageHeight { get; } ``` ##### Property Value The CanonImageHeight. ### CanonImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/canonimagewidth.md #### Cr2AFInfo2Package.CanonImageWidth property Gets the CanonImageWidth. ```csharp public ushort CanonImageWidth { get; } ``` ##### Property Value The CanonImageWidth. ### Cr2AFInfo2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/cr2afinfo2package.md #### Cr2AFInfo2Package constructor Initializes a new instance of the `Cr2AFInfo2Package` class. ```csharp public Cr2AFInfo2Package() ``` ### NumAFPoints Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/numafpoints.md #### Cr2AFInfo2Package.NumAFPoints property Gets the NumAFPoints. ```csharp public ushort NumAFPoints { get; } ``` ##### Property Value The NumAFPoints. ### PrimaryAFPoint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/primaryafpoint.md #### Cr2AFInfo2Package.PrimaryAFPoint property Gets the PrimaryAFPoint. ```csharp public ushort PrimaryAFPoint { get; } ``` ##### Property Value The PrimaryAFPoint. ### ValidAFPoints Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/validafpoints.md #### Cr2AFInfo2Package.ValidAFPoints property Gets the ValidAFPoints. ```csharp public ushort ValidAFPoints { get; } ``` ##### Property Value The ValidAFPoints. ### Cr2AFInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfoindex.md #### Cr2AFInfoIndex enumeration Defines ids of Cr2AFInfo tags. ```csharp public enum Cr2AFInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | NumAFPoints | `0` | Indicates the NumAFPoints. | | ValidAFPoints | `1` | Indicates the ValidAFPoints. | | CanonImageWidth | `2` | Indicates the CanonImageWidth. | | CanonImageHeight | `3` | Indicates the CanonImageHeight. | | AFImageWidth | `4` | Indicates the AFImageWidth. | | AFImageHeight | `5` | Indicates the AFImageHeight. | | AFAreaWidth | `6` | Indicates the AFAreaWidth. | | AFAreaHeight | `7` | Indicates the AFAreaHeight. | | AFAreaXPositions | `8` | Indicates the AFAreaXPositions. | | AFAreaYPositions | `9` | Indicates the AFAreaYPositions. | | AFPointsInFocus | `10` | Indicates the AFPointsInFocus. | | PrimaryAFPointAFInfo | `11` | Indicates the PrimaryAFPointAFInfo. | | PrimaryAFPoint | `12` | Indicates the PrimaryAFPoint. | ### Cr2AFInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage.md #### Cr2AFInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2AFInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2AFInfoPackage() | Initializes a new instance of the `Cr2AFInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | AFAreaHeight { get; } | Gets the AFAreaHeight. | | AFAreaWidth { get; } | Gets the AFAreaWidth. | | AFAreaXPositions { get; } | Gets the AFAreaXPositions. | | AFAreaYPositions { get; } | Gets the AFAreaYPositions. | | AFImageHeight { get; } | Gets the AFImageHeight. | | AFImageWidth { get; } | Gets the AFImageWidth. | | AFPointsInFocus { get; } | Gets the AFPointsInFocus. | | CanonImageHeight { get; } | Gets the CanonImageHeight. | | CanonImageWidth { get; } | Gets the CanonImageWidth. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NumAFPoints { get; } | Gets the NumAFPoints. | | PrimaryAFPoint { get; } | Gets the PrimaryAFPoint. | | PrimaryAFPointAFInfo { get; } | Gets the PrimaryAFPointAFInfo. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ValidAFPoints { get; } | Gets the ValidAFPoints. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AFAreaHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/afareaheight.md #### Cr2AFInfoPackage.AFAreaHeight property Gets the AFAreaHeight. ```csharp public ushort AFAreaHeight { get; } ``` ##### Property Value The AFAreaHeight. ### AFAreaWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/afareawidth.md #### Cr2AFInfoPackage.AFAreaWidth property Gets the AFAreaWidth. ```csharp public ushort AFAreaWidth { get; } ``` ##### Property Value The AFAreaWidth. ### AFAreaXPositions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/afareaxpositions.md #### Cr2AFInfoPackage.AFAreaXPositions property Gets the AFAreaXPositions. ```csharp public ushort AFAreaXPositions { get; } ``` ##### Property Value The AFAreaXPositions. ### AFAreaYPositions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/afareaypositions.md #### Cr2AFInfoPackage.AFAreaYPositions property Gets the AFAreaYPositions. ```csharp public ushort AFAreaYPositions { get; } ``` ##### Property Value The AFAreaYPositions. ### AFImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/afimageheight.md #### Cr2AFInfoPackage.AFImageHeight property Gets the AFImageHeight. ```csharp public ushort AFImageHeight { get; } ``` ##### Property Value The AFImageHeight. ### AFImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/afimagewidth.md #### Cr2AFInfoPackage.AFImageWidth property Gets the AFImageWidth. ```csharp public ushort AFImageWidth { get; } ``` ##### Property Value The AFImageWidth. ### AFPointsInFocus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/afpointsinfocus.md #### Cr2AFInfoPackage.AFPointsInFocus property Gets the AFPointsInFocus. ```csharp public ushort AFPointsInFocus { get; } ``` ##### Property Value The AFPointsInFocus. ### CanonImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/canonimageheight.md #### Cr2AFInfoPackage.CanonImageHeight property Gets the CanonImageHeight. ```csharp public ushort CanonImageHeight { get; } ``` ##### Property Value The CanonImageHeight. ### CanonImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/canonimagewidth.md #### Cr2AFInfoPackage.CanonImageWidth property Gets the CanonImageWidth. ```csharp public ushort CanonImageWidth { get; } ``` ##### Property Value The CanonImageWidth. ### Cr2AFInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/cr2afinfopackage.md #### Cr2AFInfoPackage constructor Initializes a new instance of the `Cr2AFInfoPackage` class. ```csharp public Cr2AFInfoPackage() ``` ### NumAFPoints Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/numafpoints.md #### Cr2AFInfoPackage.NumAFPoints property Gets the NumAFPoints. ```csharp public ushort NumAFPoints { get; } ``` ##### Property Value The NumAFPoints. ### PrimaryAFPoint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/primaryafpoint.md #### Cr2AFInfoPackage.PrimaryAFPoint property Gets the PrimaryAFPoint. ```csharp public ushort PrimaryAFPoint { get; } ``` ##### Property Value The PrimaryAFPoint. ### PrimaryAFPointAFInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/primaryafpointafinfo.md #### Cr2AFInfoPackage.PrimaryAFPointAFInfo property Gets the PrimaryAFPointAFInfo. ```csharp public ushort PrimaryAFPointAFInfo { get; } ``` ##### Property Value The PrimaryAFPointAFInfo. ### ValidAFPoints Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/validafpoints.md #### Cr2AFInfoPackage.ValidAFPoints property Gets the ValidAFPoints. ```csharp public ushort ValidAFPoints { get; } ``` ##### Property Value The ValidAFPoints. ### Cr2AFMicroAdjIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjindex.md #### Cr2AFMicroAdjIndex enumeration Defines ids of Cr2AFMicroAdj tags. ```csharp public enum Cr2AFMicroAdjIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | AFMicroAdjMode | `1` | Indicates the AFMicroAdjMode. | | AFMicroAdjValue | `2` | Indicates the AFMicroAdjValue. | ### Cr2AFMicroAdjPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage.md #### Cr2AFMicroAdjPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2AFMicroAdjPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2AFMicroAdjPackage() | Initializes a new instance of the `Cr2AFMicroAdjPackage` class. | #### Properties | Name | Description | | --- | --- | | AFMicroAdjMode { get; } | Gets the AFMicroAdjMode. | | AFMicroAdjValue { get; } | Gets the AFMicroAdjValue. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AFMicroAdjMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/afmicroadjmode.md #### Cr2AFMicroAdjPackage.AFMicroAdjMode property Gets the AFMicroAdjMode. ```csharp public int AFMicroAdjMode { get; } ``` ##### Property Value The AFMicroAdjMode. ### AFMicroAdjValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/afmicroadjvalue.md #### Cr2AFMicroAdjPackage.AFMicroAdjValue property Gets the AFMicroAdjValue. ```csharp public float AFMicroAdjValue { get; } ``` ##### Property Value The AFMicroAdjValue. ### Cr2AFMicroAdjPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/cr2afmicroadjpackage.md #### Cr2AFMicroAdjPackage constructor Initializes a new instance of the `Cr2AFMicroAdjPackage` class. ```csharp public Cr2AFMicroAdjPackage() ``` ### Cr2AspectInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfoindex.md #### Cr2AspectInfoIndex enumeration Defines ids of Cr2AspectInfo tags. ```csharp public enum Cr2AspectInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | AspectRatio | `0` | Indicates the AspectRatio. | | CroppedImageWidth | `1` | Indicates the CroppedImageWidth. | | CroppedImageHeight | `2` | Indicates the CroppedImageHeight. | | CroppedImageLeft | `3` | Indicates the CroppedImageLeft. | | CroppedImageTop | `4` | Indicates the CroppedImageTop. | ### Cr2AspectInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage.md #### Cr2AspectInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2AspectInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2AspectInfoPackage() | Initializes a new instance of the `Cr2AspectInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | AspectRatio { get; } | Gets the AspectRatio. | | Count { get; } | Gets the number of metadata properties. | | CroppedImageHeight { get; } | Gets the CroppedImageHeight. | | CroppedImageLeft { get; } | Gets the CroppedImageLeft. | | CroppedImageTop { get; } | Gets the CroppedImageTop. | | CroppedImageWidth { get; } | Gets the CroppedImageWidth. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AspectRatio Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/aspectratio.md #### Cr2AspectInfoPackage.AspectRatio property Gets the AspectRatio. ```csharp public int AspectRatio { get; } ``` ##### Property Value The AspectRatio. ### Cr2AspectInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/cr2aspectinfopackage.md #### Cr2AspectInfoPackage constructor Initializes a new instance of the `Cr2AspectInfoPackage` class. ```csharp public Cr2AspectInfoPackage() ``` ### CroppedImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/croppedimageheight.md #### Cr2AspectInfoPackage.CroppedImageHeight property Gets the CroppedImageHeight. ```csharp public int CroppedImageHeight { get; } ``` ##### Property Value The CroppedImageHeight. ### CroppedImageLeft Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/croppedimageleft.md #### Cr2AspectInfoPackage.CroppedImageLeft property Gets the CroppedImageLeft. ```csharp public int CroppedImageLeft { get; } ``` ##### Property Value The CroppedImageLeft. ### CroppedImageTop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/croppedimagetop.md #### Cr2AspectInfoPackage.CroppedImageTop property Gets the CroppedImageTop. ```csharp public int CroppedImageTop { get; } ``` ##### Property Value The CroppedImageTop. ### CroppedImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/croppedimagewidth.md #### Cr2AspectInfoPackage.CroppedImageWidth property Gets the CroppedImageWidth. ```csharp public int CroppedImageWidth { get; } ``` ##### Property Value The CroppedImageWidth. ### Cr2CameraSettingsIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingsindex.md #### Cr2CameraSettingsIndex enumeration Defines ids of Cr2CameraSettings tags. ```csharp public enum Cr2CameraSettingsIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | MacroMode | `1` | Indicates the MacroMode. | | SelfTimer | `2` | Indicates the SelfTimer. | | Quality | `3` | Indicates the Quality. | | CanonFlashMode | `4` | Indicates the CanonFlashMode. | | ContinuousDrive | `5` | Indicates the ContinuousDrive. | | Unknown2 | `6` | Unknown tag. | | FocusMode | `7` | Indicates the FocusMode. | | Unknown3 | `8` | Unknown tag. | | RecordMode | `9` | Indicates the RecordMode. | | CanonImageSize | `10` | Indicates the CanonImageSize. | | EasyMode | `11` | Indicates the EasyMode. | | DigitalZoom | `12` | Indicates the DigitalZoom. | | Contrast | `13` | Indicates the Contrast. | | Saturation | `14` | Indicates the Saturation. | | Sharpness | `15` | Indicates the Sharpness. | | CameraIso | `16` | Indicates the CameraIso. | | MeteringMode | `17` | Indicates the MeteringMode. | | FocusRange | `18` | Indicates the FocusRange. | | AFPoint | `19` | Indicates the AFPoint. | | CanonExposureMode | `20` | Indicates the CanonExposureMode. | | Unknown4 | `21` | Unknown tag. | | LensType | `22` | Indicates the LensType. | | MaxFocalLength | `23` | Indicates the MaxFocalLength. | | MinFocalLength | `24` | Indicates the MinFocalLength. | | FocalUnits | `25` | Indicates the FocalUnits. | | MaxAperture | `26` | Indicates the MaxAperture. | | MinAperture | `27` | Indicates the MinAperture. | | FlashActivity | `28` | Indicates the FlashActivity. | | FlashBits | `29` | Indicates the FlashBits. | | FocusContinuous | `32` | Indicates the FocusContinuous. | | AESetting | `33` | Indicates the AESetting. | | ImageStabilization | `34` | Indicates the ImageStabilization. | | DisplayAperture | `35` | Indicates the DisplayAperture. | | ZoomSourceWidth | `36` | Indicates the ZoomSourceWidth. | | ZoomTargetWidth | `37` | Indicates the ZoomTargetWidth. | | Unknown5 | `38` | Unknown tag. | | SpotMeteringMode | `39` | Indicates the SpotMeteringMode. | | PhotoEffect | `40` | Indicates the PhotoEffect. | | ManualFlashOutput | `41` | Indicates the ManualFlashOutput. | | Unknown6 | `42` | Unknown tag. | | ColorTone | `43` | Indicates the ColorTone. | | Unknown7 | `44` | Unknown tag. | | Unknown8 | `45` | Unknown tag. | | Unknown9 | `46` | Unknown tag. | | SRAWQuality | `47` | Indicates the SRAWQuality. | | Unknown10 | `48` | Unknown tag. | | Unknown11 | `49` | Unknown tag. | | Unknown12 | `50` | Unknown tag. | ### Cr2CameraSettingsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage.md #### Cr2CameraSettingsPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2CameraSettingsPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2CameraSettingsPackage() | Initializes a new instance of the `Cr2CameraSettingsPackage` class. | #### Properties | Name | Description | | --- | --- | | AESetting { get; } | Gets the AESetting. | | AFPoint { get; } | Gets the AFPoint. | | CameraIso { get; } | Gets the CameraIso. | | CanonExposureMode { get; } | Gets the CanonExposureMode. | | CanonFlashMode { get; } | Gets the CanonFlashMode. | | CanonImageSize { get; } | Gets the CanonImageSize. | | ColorTone { get; } | Gets the ColorTone. | | ContinuousDrive { get; } | Gets the ContinuousDrive. | | Contrast { get; } | Gets the Contrast. | | Count { get; } | Gets the number of metadata properties. | | DigitalZoom { get; } | Gets the DigitalZoom. | | DisplayAperture { get; } | Gets the DisplayAperture. | | EasyMode { get; } | Gets the EasyMode. | | FlashActivity { get; } | Gets the FlashActivity. | | FlashBits { get; } | Gets the FlashBits. | | FocalUnits { get; } | Gets the FocalUnits. | | FocusContinuous { get; } | Gets the FocusContinuous. | | FocusMode { get; } | Gets the FocusMode. | | FocusRange { get; } | Gets the FocusRange. | | ImageStabilization { get; } | Gets the ImageStabilization. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LensType { get; } | Gets the LensType. | | MacroMode { get; } | Gets the MacroMode. | | ManualFlashOutput { get; } | Gets the ManualFlashOutput. | | MaxAperture { get; } | Gets the MaxAperture. | | MaxFocalLength { get; } | Gets the MaxFocalLength. | | MetadataType { get; } | Gets the metadata type. | | MeteringMode { get; } | Gets the MeteringMode. | | MinAperture { get; } | Gets the MinAperture. | | MinFocalLength { get; } | Gets the MinFocalLength. | | PhotoEffect { get; } | Gets the PhotoEffect. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Quality { get; } | Gets the Quality. | | RecordMode { get; } | Gets the RecordMode. | | Saturation { get; } | Gets the Saturation. | | SelfTimer { get; } | Gets the SelfTimer. | | Sharpness { get; } | Gets the Sharpness. | | SpotMeteringMode { get; } | Gets the SpotMeteringMode. | | SRAWQuality { get; } | Gets the SRAWQuality. | | ZoomSourceWidth { get; } | Gets the ZoomSourceWidth. | | ZoomTargetWidth { get; } | Gets the ZoomTargetWidth. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AESetting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/aesetting.md #### Cr2CameraSettingsPackage.AESetting property Gets the AESetting. ```csharp public ushort AESetting { get; } ``` ##### Property Value The AESetting. ### AFPoint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/afpoint.md #### Cr2CameraSettingsPackage.AFPoint property Gets the AFPoint. ```csharp public ushort AFPoint { get; } ``` ##### Property Value The AFPoint. ### CameraIso Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/cameraiso.md #### Cr2CameraSettingsPackage.CameraIso property Gets the CameraIso. ```csharp public ushort CameraIso { get; } ``` ##### Property Value The CameraIso. ### CanonExposureMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/canonexposuremode.md #### Cr2CameraSettingsPackage.CanonExposureMode property Gets the CanonExposureMode. ```csharp public ushort CanonExposureMode { get; } ``` ##### Property Value The CanonExposureMode. ### CanonFlashMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/canonflashmode.md #### Cr2CameraSettingsPackage.CanonFlashMode property Gets the CanonFlashMode. ```csharp public ushort CanonFlashMode { get; } ``` ##### Property Value The CanonFlashMode. ### CanonImageSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/canonimagesize.md #### Cr2CameraSettingsPackage.CanonImageSize property Gets the CanonImageSize. ```csharp public ushort CanonImageSize { get; } ``` ##### Property Value The CanonImageSize. ### ColorTone Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/colortone.md #### Cr2CameraSettingsPackage.ColorTone property Gets the ColorTone. ```csharp public ushort ColorTone { get; } ``` ##### Property Value The ColorTone. ### ContinuousDrive Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/continuousdrive.md #### Cr2CameraSettingsPackage.ContinuousDrive property Gets the ContinuousDrive. ```csharp public ushort ContinuousDrive { get; } ``` ##### Property Value The ContinuousDrive. ### Contrast Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/contrast.md #### Cr2CameraSettingsPackage.Contrast property Gets the Contrast. ```csharp public ushort Contrast { get; } ``` ##### Property Value The Contrast. ### Cr2CameraSettingsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/cr2camerasettingspackage.md #### Cr2CameraSettingsPackage constructor Initializes a new instance of the `Cr2CameraSettingsPackage` class. ```csharp public Cr2CameraSettingsPackage() ``` ### DigitalZoom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/digitalzoom.md #### Cr2CameraSettingsPackage.DigitalZoom property Gets the DigitalZoom. ```csharp public ushort DigitalZoom { get; } ``` ##### Property Value The DigitalZoom. ### DisplayAperture Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/displayaperture.md #### Cr2CameraSettingsPackage.DisplayAperture property Gets the DisplayAperture. ```csharp public ushort DisplayAperture { get; } ``` ##### Property Value The DisplayAperture. ### EasyMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/easymode.md #### Cr2CameraSettingsPackage.EasyMode property Gets the EasyMode. ```csharp public ushort EasyMode { get; } ``` ##### Property Value The EasyMode. ### FlashActivity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/flashactivity.md #### Cr2CameraSettingsPackage.FlashActivity property Gets the FlashActivity. ```csharp public ushort FlashActivity { get; } ``` ##### Property Value The FlashActivity. ### FlashBits Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/flashbits.md #### Cr2CameraSettingsPackage.FlashBits property Gets the FlashBits. ```csharp public ushort FlashBits { get; } ``` ##### Property Value The FlashBits. ### FocalUnits Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focalunits.md #### Cr2CameraSettingsPackage.FocalUnits property Gets the FocalUnits. ```csharp public ushort FocalUnits { get; } ``` ##### Property Value The FocalUnits. ### FocusContinuous Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focuscontinuous.md #### Cr2CameraSettingsPackage.FocusContinuous property Gets the FocusContinuous. ```csharp public ushort FocusContinuous { get; } ``` ##### Property Value The FocusContinuous. ### FocusMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focusmode.md #### Cr2CameraSettingsPackage.FocusMode property Gets the FocusMode. ```csharp public ushort FocusMode { get; } ``` ##### Property Value The FocusMode. ### FocusRange Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focusrange.md #### Cr2CameraSettingsPackage.FocusRange property Gets the FocusRange. ```csharp public ushort FocusRange { get; } ``` ##### Property Value The FocusRange. ### ImageStabilization Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/imagestabilization.md #### Cr2CameraSettingsPackage.ImageStabilization property Gets the ImageStabilization. ```csharp public ushort ImageStabilization { get; } ``` ##### Property Value The ImageStabilization. ### LensType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/lenstype.md #### Cr2CameraSettingsPackage.LensType property Gets the LensType. ```csharp public ushort LensType { get; } ``` ##### Property Value The LensType. ### MacroMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/macromode.md #### Cr2CameraSettingsPackage.MacroMode property Gets the MacroMode. ```csharp public ushort MacroMode { get; } ``` ##### Property Value The MacroMode. ### ManualFlashOutput Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/manualflashoutput.md #### Cr2CameraSettingsPackage.ManualFlashOutput property Gets the ManualFlashOutput. ```csharp public ushort ManualFlashOutput { get; } ``` ##### Property Value The ManualFlashOutput. ### MaxAperture Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/maxaperture.md #### Cr2CameraSettingsPackage.MaxAperture property Gets the MaxAperture. ```csharp public ushort MaxAperture { get; } ``` ##### Property Value The MaxAperture. ### MaxFocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/maxfocallength.md #### Cr2CameraSettingsPackage.MaxFocalLength property Gets the MaxFocalLength. ```csharp public ushort MaxFocalLength { get; } ``` ##### Property Value The MaxFocalLength. ### MeteringMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/meteringmode.md #### Cr2CameraSettingsPackage.MeteringMode property Gets the MeteringMode. ```csharp public ushort MeteringMode { get; } ``` ##### Property Value The MeteringMode. ### MinAperture Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/minaperture.md #### Cr2CameraSettingsPackage.MinAperture property Gets the MinAperture. ```csharp public ushort MinAperture { get; } ``` ##### Property Value The MinAperture. ### MinFocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/minfocallength.md #### Cr2CameraSettingsPackage.MinFocalLength property Gets the MinFocalLength. ```csharp public ushort MinFocalLength { get; } ``` ##### Property Value The MinFocalLength. ### PhotoEffect Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/photoeffect.md #### Cr2CameraSettingsPackage.PhotoEffect property Gets the PhotoEffect. ```csharp public ushort PhotoEffect { get; } ``` ##### Property Value The PhotoEffect. ### Quality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/quality.md #### Cr2CameraSettingsPackage.Quality property Gets the Quality. ```csharp public ushort Quality { get; } ``` ##### Property Value The Quality. ### RecordMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/recordmode.md #### Cr2CameraSettingsPackage.RecordMode property Gets the RecordMode. ```csharp public ushort RecordMode { get; } ``` ##### Property Value The RecordMode. ### Saturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/saturation.md #### Cr2CameraSettingsPackage.Saturation property Gets the Saturation. ```csharp public ushort Saturation { get; } ``` ##### Property Value The Saturation. ### SelfTimer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/selftimer.md #### Cr2CameraSettingsPackage.SelfTimer property Gets the SelfTimer. ```csharp public ushort SelfTimer { get; } ``` ##### Property Value The SelfTimer. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/sharpness.md #### Cr2CameraSettingsPackage.Sharpness property Gets the Sharpness. ```csharp public ushort Sharpness { get; } ``` ##### Property Value The Sharpness. ### SpotMeteringMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/spotmeteringmode.md #### Cr2CameraSettingsPackage.SpotMeteringMode property Gets the SpotMeteringMode. ```csharp public ushort SpotMeteringMode { get; } ``` ##### Property Value The SpotMeteringMode. ### SRAWQuality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/srawquality.md #### Cr2CameraSettingsPackage.SRAWQuality property Gets the SRAWQuality. ```csharp public ushort SRAWQuality { get; } ``` ##### Property Value The SRAWQuality. ### ZoomSourceWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/zoomsourcewidth.md #### Cr2CameraSettingsPackage.ZoomSourceWidth property Gets the ZoomSourceWidth. ```csharp public ushort ZoomSourceWidth { get; } ``` ##### Property Value The ZoomSourceWidth. ### ZoomTargetWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/zoomtargetwidth.md #### Cr2CameraSettingsPackage.ZoomTargetWidth property Gets the ZoomTargetWidth. ```csharp public ushort ZoomTargetWidth { get; } ``` ##### Property Value The ZoomTargetWidth. ### Cr2ColorBalanceIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalanceindex.md #### Cr2ColorBalanceIndex enumeration Defines ids of Cr2ColorBalance tags. ```csharp public enum Cr2ColorBalanceIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | WB_RGGBLevelsAuto | `1` | Indicates the WB_RGGBLevelsAuto. | | WB_RGGBLevelsDaylight | `5` | Indicates the WB_RGGBLevelsDaylight. | | WB_RGGBLevelsShade | `9` | Indicates the WB_RGGBLevelsShade. | | WB_RGGBLevelsCloudy | `13` | Indicates the WB_RGGBLevelsCloudy. | | WB_RGGBLevelsTungsten | `17` | Indicates the WB_RGGBLevelsTungsten. | | WB_RGGBLevelsFluorescent | `21` | Indicates the WB_RGGBLevelsFluorescent. | | WB_RGGBLevelsFlash | `25` | Indicates the WB_RGGBLevelsFlash. | | WB_RGGBLevelsKelvin | `33` | Indicates the WB_RGGBLevelsKelvin. | | WB_RGGBBlackLevels | `37` | Indicates the WB_RGGBBlackLevels. | ### Cr2ColorBalancePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage.md #### Cr2ColorBalancePackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2ColorBalancePackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2ColorBalancePackage() | Initializes a new instance of the `Cr2ColorBalancePackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | WB_RGGBBlackLevels { get; } | Gets the WB_RGGBBlackLevels. | | WB_RGGBLevelsAuto { get; } | Gets the WB_RGGBLevelsAuto. | | WB_RGGBLevelsCloudy { get; } | Gets the WB_RGGBLevelsCloudy. | | WB_RGGBLevelsDaylight { get; } | Gets the WB_RGGBLevelsDaylight. | | WB_RGGBLevelsFlash { get; } | Gets the WB_RGGBLevelsFlash. | | WB_RGGBLevelsFluorescent { get; } | Gets the WB_RGGBLevelsFluorescent. | | WB_RGGBLevelsKelvin { get; } | Gets the WB_RGGBLevelsKelvin. | | WB_RGGBLevelsShade { get; } | Gets the WB_RGGBLevelsShade. | | WB_RGGBLevelsTungsten { get; } | Gets the WB_RGGBLevelsTungsten. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2ColorBalancePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/cr2colorbalancepackage.md #### Cr2ColorBalancePackage constructor Initializes a new instance of the `Cr2ColorBalancePackage` class. ```csharp public Cr2ColorBalancePackage() ``` ### WB_RGGBBlackLevels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggbblacklevels.md #### Cr2ColorBalancePackage.WB_RGGBBlackLevels property Gets the WB_RGGBBlackLevels. ```csharp public ushort WB_RGGBBlackLevels { get; } ``` ##### Property Value The WB_RGGBBlackLevels. ### WB_RGGBLevelsAuto Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelsauto.md #### Cr2ColorBalancePackage.WB_RGGBLevelsAuto property Gets the WB_RGGBLevelsAuto. ```csharp public ushort WB_RGGBLevelsAuto { get; } ``` ##### Property Value The WB_RGGBLevelsAuto. ### WB_RGGBLevelsCloudy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelscloudy.md #### Cr2ColorBalancePackage.WB_RGGBLevelsCloudy property Gets the WB_RGGBLevelsCloudy. ```csharp public ushort WB_RGGBLevelsCloudy { get; } ``` ##### Property Value The WB_RGGBLevelsCloudy. ### WB_RGGBLevelsDaylight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelsdaylight.md #### Cr2ColorBalancePackage.WB_RGGBLevelsDaylight property Gets the WB_RGGBLevelsDaylight. ```csharp public ushort WB_RGGBLevelsDaylight { get; } ``` ##### Property Value The WB_RGGBLevelsDaylight. ### WB_RGGBLevelsFlash Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelsflash.md #### Cr2ColorBalancePackage.WB_RGGBLevelsFlash property Gets the WB_RGGBLevelsFlash. ```csharp public ushort WB_RGGBLevelsFlash { get; } ``` ##### Property Value The WB_RGGBLevelsFlash. ### WB_RGGBLevelsFluorescent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelsfluorescent.md #### Cr2ColorBalancePackage.WB_RGGBLevelsFluorescent property Gets the WB_RGGBLevelsFluorescent. ```csharp public ushort WB_RGGBLevelsFluorescent { get; } ``` ##### Property Value The WB_RGGBLevelsFluorescent. ### WB_RGGBLevelsKelvin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelskelvin.md #### Cr2ColorBalancePackage.WB_RGGBLevelsKelvin property Gets the WB_RGGBLevelsKelvin. ```csharp public ushort WB_RGGBLevelsKelvin { get; } ``` ##### Property Value The WB_RGGBLevelsKelvin. ### WB_RGGBLevelsShade Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelsshade.md #### Cr2ColorBalancePackage.WB_RGGBLevelsShade property Gets the WB_RGGBLevelsShade. ```csharp public ushort WB_RGGBLevelsShade { get; } ``` ##### Property Value The WB_RGGBLevelsShade. ### WB_RGGBLevelsTungsten Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggblevelstungsten.md #### Cr2ColorBalancePackage.WB_RGGBLevelsTungsten property Gets the WB_RGGBLevelsTungsten. ```csharp public ushort WB_RGGBLevelsTungsten { get; } ``` ##### Property Value The WB_RGGBLevelsTungsten. ### Cr2ColorInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorinfoindex.md #### Cr2ColorInfoIndex enumeration Defines ids of Cr2ColorInfo tags. ```csharp public enum Cr2ColorInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | Saturation | `1` | Indicates the Saturation. | | ColorTone | `2` | Indicates the ColorTone. | | ColorSpace | `3` | Indicates the ColorSpace. | ### Cr2ColorInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage.md #### Cr2ColorInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2ColorInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2ColorInfoPackage() | Initializes a new instance of the `Cr2ColorInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | ColorSpace { get; } | Gets the ColorSpace. | | ColorTone { get; } | Gets the ColorTone. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Saturation { get; } | Gets the Saturation. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ColorSpace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/colorspace.md #### Cr2ColorInfoPackage.ColorSpace property Gets the ColorSpace. ```csharp public ushort ColorSpace { get; } ``` ##### Property Value The ColorSpace. ### ColorTone Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/colortone.md #### Cr2ColorInfoPackage.ColorTone property Gets the ColorTone. ```csharp public ushort ColorTone { get; } ``` ##### Property Value The ColorTone. ### Cr2ColorInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/cr2colorinfopackage.md #### Cr2ColorInfoPackage constructor Initializes a new instance of the `Cr2ColorInfoPackage` class. ```csharp public Cr2ColorInfoPackage() ``` ### Saturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/saturation.md #### Cr2ColorInfoPackage.Saturation property Gets the Saturation. ```csharp public ushort Saturation { get; } ``` ##### Property Value The Saturation. ### Cr2CropInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2cropinfoindex.md #### Cr2CropInfoIndex enumeration Defines ids of Cr2CropInfo tags. ```csharp public enum Cr2CropInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | CropLeftMargin | `0` | Indicates the CropLeftMargin. | | CropRightMargin | `1` | Indicates the CropRightMargin. | | CropTopMargin | `2` | Indicates the CropTopMargin. | | CropBottomMargin | `3` | Indicates the CropBottomMargin. | ### Cr2CropInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage.md #### Cr2CropInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2CropInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2CropInfoPackage() | Initializes a new instance of the `Cr2CropInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | CropBottomMargin { get; } | Gets the CropBottomMargin. | | CropLeftMargin { get; } | Gets the CropLeftMargin. | | CropRightMargin { get; } | Gets the CropRightMargin. | | CropTopMargin { get; } | Gets the CropTopMargin. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2CropInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/cr2cropinfopackage.md #### Cr2CropInfoPackage constructor Initializes a new instance of the `Cr2CropInfoPackage` class. ```csharp public Cr2CropInfoPackage() ``` ### CropBottomMargin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/cropbottommargin.md #### Cr2CropInfoPackage.CropBottomMargin property Gets the CropBottomMargin. ```csharp public ushort CropBottomMargin { get; } ``` ##### Property Value The CropBottomMargin. ### CropLeftMargin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/cropleftmargin.md #### Cr2CropInfoPackage.CropLeftMargin property Gets the CropLeftMargin. ```csharp public ushort CropLeftMargin { get; } ``` ##### Property Value The CropLeftMargin. ### CropRightMargin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/croprightmargin.md #### Cr2CropInfoPackage.CropRightMargin property Gets the CropRightMargin. ```csharp public ushort CropRightMargin { get; } ``` ##### Property Value The CropRightMargin. ### CropTopMargin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/croptopmargin.md #### Cr2CropInfoPackage.CropTopMargin property Gets the CropTopMargin. ```csharp public ushort CropTopMargin { get; } ``` ##### Property Value The CropTopMargin. ### Cr2FileInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfoindex.md #### Cr2FileInfoIndex enumeration Defines ids of Cr2FileInfo tags. ```csharp public enum Cr2FileInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | FileNumberOrShutterCount | `1` | Indicates the FileNumber or ShutterCount. | | BracketMode | `3` | Indicates the BracketMode. | | BracketValue | `4` | Indicates the BracketValue. | | BracketShotNumber | `5` | Indicates the BracketShotNumber. | | RawJpgQuality | `6` | Indicates the RawJpgQuality. | | RawJpgSize | `7` | Indicates the RawJpgSize. | | LongExposureNoiseReduction2 | `8` | Indicates the LongExposureNoiseReduction2. | | WBBracketMode | `9` | Indicates the WBBracketMode. | | Unknown2 | `10` | Unknown tag. | | Unknown3 | `11` | Unknown tag. | | WBBracketValueAB | `12` | Indicates the WBBracketValueAB. | | WBBracketValueGM | `13` | Indicates the WBBracketValueGM. | | FilterEffect | `14` | Indicates the FilterEffect. | | ToningEffect | `15` | Indicates the ToningEffect. | | MacroMagnification | `16` | Indicates the MacroMagnification. | | Unknown4 | `17` | Unknown tag. | | Unknown5 | `18` | Unknown tag. | | LiveViewShooting | `19` | Indicates the LiveViewShooting. | | FocusDistanceUpper | `20` | Indicates the FocusDistanceUpper. | | FocusDistanceLower | `21` | Indicates the FocusDistanceLower. | | ShutterMode | `23` | Indicates the ShutterMode. | | FlashExposureLock | `25` | Indicates the FlashExposureLock. | | RFLensType | `61` | Indicates the RFLensType. | ### Cr2FileInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage.md #### Cr2FileInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2FileInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2FileInfoPackage() | Initializes a new instance of the `Cr2FileInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | BracketMode { get; } | Gets the BracketMode. | | BracketShotNumber { get; } | Gets the BracketShotNumber. | | BracketValue { get; } | Gets the BracketValue. | | Count { get; } | Gets the number of metadata properties. | | FileNumberOrShutterCount { get; } | Gets the FileNumberOrShutterCount. | | FilterEffect { get; } | Gets the FilterEffect. | | FlashExposureLock { get; } | Gets the FlashExposureLock. | | FocusDistanceLower { get; } | Gets the FocusDistanceLower. | | FocusDistanceUpper { get; } | Gets the FocusDistanceUpper. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LiveViewShooting { get; } | Gets the LiveViewShooting. | | LongExposureNoiseReduction2 { get; } | Gets the LongExposureNoiseReduction2. | | MacroMagnification { get; } | Gets the MacroMagnification. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawJpgQuality { get; } | Gets the RawJpgQuality. | | RawJpgSize { get; } | Gets the RawJpgSize. | | RFLensType { get; } | Gets the RFLensType. | | ShutterMode { get; } | Gets the ShutterMode. | | Size { get; set; } | Gets the Size. | | ToningEffect { get; } | Gets the ToningEffect. | | WBBracketMode { get; } | Gets the WBBracketMode. | | WBBracketValueAB { get; } | Gets the WBBracketValueAB. | | WBBracketValueGM { get; } | Gets the WBBracketValueGM. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BracketMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/bracketmode.md #### Cr2FileInfoPackage.BracketMode property Gets the BracketMode. ```csharp public ushort BracketMode { get; } ``` ##### Property Value The BracketMode. ### BracketShotNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/bracketshotnumber.md #### Cr2FileInfoPackage.BracketShotNumber property Gets the BracketShotNumber. ```csharp public ushort BracketShotNumber { get; } ``` ##### Property Value The BracketShotNumber. ### BracketValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/bracketvalue.md #### Cr2FileInfoPackage.BracketValue property Gets the BracketValue. ```csharp public ushort BracketValue { get; } ``` ##### Property Value The BracketValue. ### Cr2FileInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/cr2fileinfopackage.md #### Cr2FileInfoPackage constructor Initializes a new instance of the `Cr2FileInfoPackage` class. ```csharp public Cr2FileInfoPackage() ``` ### FileNumberOrShutterCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/filenumberorshuttercount.md #### Cr2FileInfoPackage.FileNumberOrShutterCount property Gets the FileNumberOrShutterCount. ```csharp public int FileNumberOrShutterCount { get; } ``` ##### Property Value The FileNumber. ### FilterEffect Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/filtereffect.md #### Cr2FileInfoPackage.FilterEffect property Gets the FilterEffect. ```csharp public ushort FilterEffect { get; } ``` ##### Property Value The FilterEffect. ### FlashExposureLock Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/flashexposurelock.md #### Cr2FileInfoPackage.FlashExposureLock property Gets the FlashExposureLock. ```csharp public ushort FlashExposureLock { get; } ``` ##### Property Value The FlashExposureLock. ### FocusDistanceLower Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/focusdistancelower.md #### Cr2FileInfoPackage.FocusDistanceLower property Gets the FocusDistanceLower. ```csharp public ushort FocusDistanceLower { get; } ``` ##### Property Value The FocusDistanceLower. ### FocusDistanceUpper Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/focusdistanceupper.md #### Cr2FileInfoPackage.FocusDistanceUpper property Gets the FocusDistanceUpper. ```csharp public ushort FocusDistanceUpper { get; } ``` ##### Property Value The FocusDistanceUpper. ### LiveViewShooting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/liveviewshooting.md #### Cr2FileInfoPackage.LiveViewShooting property Gets the LiveViewShooting. ```csharp public ushort LiveViewShooting { get; } ``` ##### Property Value The LiveViewShooting. ### LongExposureNoiseReduction2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/longexposurenoisereduction2.md #### Cr2FileInfoPackage.LongExposureNoiseReduction2 property Gets the LongExposureNoiseReduction2. ```csharp public ushort LongExposureNoiseReduction2 { get; } ``` ##### Property Value The LongExposureNoiseReduction2. ### MacroMagnification Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/macromagnification.md #### Cr2FileInfoPackage.MacroMagnification property Gets the MacroMagnification. ```csharp public ushort MacroMagnification { get; } ``` ##### Property Value The MacroMagnification. ### RawJpgQuality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/rawjpgquality.md #### Cr2FileInfoPackage.RawJpgQuality property Gets the RawJpgQuality. ```csharp public ushort RawJpgQuality { get; } ``` ##### Property Value The RawJpgQuality. ### RawJpgSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/rawjpgsize.md #### Cr2FileInfoPackage.RawJpgSize property Gets the RawJpgSize. ```csharp public ushort RawJpgSize { get; } ``` ##### Property Value The RawJpgSize. ### RFLensType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/rflenstype.md #### Cr2FileInfoPackage.RFLensType property Gets the RFLensType. ```csharp public ushort RFLensType { get; } ``` ##### Property Value The RFLensType. ### ShutterMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/shuttermode.md #### Cr2FileInfoPackage.ShutterMode property Gets the ShutterMode. ```csharp public ushort ShutterMode { get; } ``` ##### Property Value The ShutterMode. ### Size Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/size.md #### Cr2FileInfoPackage.Size property Gets the Size. ```csharp public long Size { get; set; } ``` ##### Property Value The Size. ### ToningEffect Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/toningeffect.md #### Cr2FileInfoPackage.ToningEffect property Gets the ToningEffect. ```csharp public ushort ToningEffect { get; } ``` ##### Property Value The ToningEffect. ### WBBracketMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/wbbracketmode.md #### Cr2FileInfoPackage.WBBracketMode property Gets the WBBracketMode. ```csharp public ushort WBBracketMode { get; } ``` ##### Property Value The WBBracketMode. ### WBBracketValueAB Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/wbbracketvalueab.md #### Cr2FileInfoPackage.WBBracketValueAB property Gets the WBBracketValueAB. ```csharp public ushort WBBracketValueAB { get; } ``` ##### Property Value The WBBracketValueAB. ### WBBracketValueGM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/wbbracketvaluegm.md #### Cr2FileInfoPackage.WBBracketValueGM property Gets the WBBracketValueGM. ```csharp public ushort WBBracketValueGM { get; } ``` ##### Property Value The WBBracketValueGM. ### Cr2FilterInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2filterinfoindex.md #### Cr2FilterInfoIndex enumeration Defines ids of Cr2FilterInfo tags. ```csharp public enum Cr2FilterInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | GrainyBWFilter | `257` | Indicates the GrainyBWFilter. | | SoftFocusFilter | `513` | Indicates the SoftFocusFilter. | | ToyCameraFilter | `769` | Indicates the ToyCameraFilter. | | MiniatureFilter | `1025` | Indicates the MiniatureFilter. | | MiniatureFilterOrientation | `1026` | Indicates the MiniatureFilterOrientation. | | MiniatureFilterPosition | `1027` | Indicates the MiniatureFilterPosition. | | MiniatureFilterParameter | `1028` | Indicates the MiniatureFilterParameter. | | FisheyeFilter | `1281` | Indicates the FisheyeFilter. | | PaintingFilter | `1537` | Indicates the PaintingFilter. | | WatercolorFilter | `1793` | Indicates the WatercolorFilter. | ### Cr2FocalLengthIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2focallengthindex.md #### Cr2FocalLengthIndex enumeration Defines ids of Cr2FocalLength tags. ```csharp public enum Cr2FocalLengthIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | FocalType | `0` | Indicates the FocalType. | | FocalLength | `1` | Indicates the FocalLength. | | FocalPlaneXSize | `2` | Indicates the FocalPlaneXSize. | | FocalPlaneYSize | `3` | Indicates the FocalPlaneYSize. | ### Cr2FocalLengthPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage.md #### Cr2FocalLengthPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2FocalLengthPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2FocalLengthPackage() | Initializes a new instance of the `Cr2FocalLengthPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FocalLength { get; } | Gets the FocalLength. | | FocalPlaneXSize { get; } | Gets the FocalPlaneXSize. | | FocalPlaneYSize { get; } | Gets the FocalPlaneYSize. | | FocalType { get; } | Gets the FocalType. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2FocalLengthPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/cr2focallengthpackage.md #### Cr2FocalLengthPackage constructor Initializes a new instance of the `Cr2FocalLengthPackage` class. ```csharp public Cr2FocalLengthPackage() ``` ### FocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focallength.md #### Cr2FocalLengthPackage.FocalLength property Gets the FocalLength. ```csharp public ushort FocalLength { get; } ``` ##### Property Value The FocalLength. ### FocalPlaneXSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focalplanexsize.md #### Cr2FocalLengthPackage.FocalPlaneXSize property Gets the FocalPlaneXSize. ```csharp public ushort FocalPlaneXSize { get; } ``` ##### Property Value The FocalPlaneXSize. ### FocalPlaneYSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focalplaneysize.md #### Cr2FocalLengthPackage.FocalPlaneYSize property Gets the FocalPlaneYSize. ```csharp public ushort FocalPlaneYSize { get; } ``` ##### Property Value The FocalPlaneYSize. ### FocalType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focaltype.md #### Cr2FocalLengthPackage.FocalType property Gets the FocalType. ```csharp public ushort FocalType { get; } ``` ##### Property Value The FocalType. ### Cr2Functions1DIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dindex.md #### Cr2Functions1DIndex enumeration Defines ids of Cr2Functions1D tags. ```csharp public enum Cr2Functions1DIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | FocusingScreen | `0` | Indicates the FocusingScreen. | | FinderDisplayDuringExposure | `1` | Indicates the FinderDisplayDuringExposure. | | ShutterReleaseNoCFCard | `2` | Indicates the ShutterReleaseNoCFCard. | | ISOSpeedExpansion | `3` | Indicates the ISOSpeedExpansion. | | ShutterAELButton | `4` | Indicates the ShutterAELButton. | | ManualTv | `5` | Indicates the ManualTv. | | ExposureLevelIncrements | `6` | Indicates the ExposureLevelIncrements. | | USMLensElectronicMF | `7` | Indicates the USMLensElectronicMF. | | LCDPanels | `8` | Indicates the LCDPanels. | | AEBSequenceAutoCancel | `9` | Indicates the AEBSequenceAutoCancel. | | AFPointIllumination | `10` | Indicates the AFPointIllumination. | | AFPointSelection | `11` | Indicates the AFPointSelection. | | MirrorLockup | `12` | Indicates the MirrorLockup. | | AFPointSpotMetering | `13` | Indicates the AFPointSpotMetering. | | FillFlashAutoReduction | `14` | Indicates the FillFlashAutoReduction. | | ShutterCurtainSync | `15` | Indicates the ShutterCurtainSync. | | SafetyShiftInAvOrTv | `16` | Indicates the SafetyShiftInAvOrTv. | | AFPointActivationArea | `17` | Indicates the AFPointActivationArea. | | SwitchToRegisteredAFPoint | `18` | Indicates the SwitchToRegisteredAFPoint. | | LensAFStopButton | `19` | Indicates the LensAFStopButton. | | AIServoTrackingSensitivity | `20` | Indicates the AIServoTrackingSensitivity. | | AIServoContinuousShooting | `21` | Indicates the AIServoContinuousShooting. | ### Cr2Functions1DPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage.md #### Cr2Functions1DPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2Functions1DPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2Functions1DPackage() | Initializes a new instance of the `Cr2Functions1DPackage` class. | #### Properties | Name | Description | | --- | --- | | AEBSequenceAutoCancel { get; } | Gets the AEBSequenceAutoCancel. | | AFPointActivationArea { get; } | Gets the AFPointActivationArea. | | AFPointIllumination { get; } | Gets the AFPointIllumination. | | AFPointSelection { get; } | Gets the AFPointSelection. | | AFPointSpotMetering { get; } | Gets the AFPointSpotMetering. | | AIServoContinuousShooting { get; } | Gets the AIServoContinuousShooting. | | AIServoTrackingSensitivity { get; } | Gets the AIServoTrackingSensitivity. | | Count { get; } | Gets the number of metadata properties. | | ExposureLevelIncrements { get; } | Gets the ExposureLevelIncrements. | | FillFlashAutoReduction { get; } | Gets the FillFlashAutoReduction. | | FinderDisplayDuringExposure { get; } | Gets the FinderDisplayDuringExposure. | | FocusingScreen { get; } | Gets the FocusingScreen. | | ISOSpeedExpansion { get; } | Gets the ISOSpeedExpansion. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LCDPanels { get; } | Gets the LCDPanels. | | LensAFStopButton { get; } | Gets the LensAFStopButton. | | ManualTv { get; } | Gets the ManualTv. | | MetadataType { get; } | Gets the metadata type. | | MirrorLockup { get; } | Gets the MirrorLockup. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SafetyShiftInAvOrTv { get; } | Gets the SafetyShiftInAvOrTv. | | ShutterAELButton { get; } | Gets the ShutterAELButton. | | ShutterCurtainSync { get; } | Gets the ShutterCurtainSync. | | ShutterReleaseNoCFCard { get; } | Gets the ShutterReleaseNoCFCard. | | SwitchToRegisteredAFPoint { get; } | Gets the SwitchToRegisteredAFPoint. | | USMLensElectronicMF { get; } | Gets the USMLensElectronicMF. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AEBSequenceAutoCancel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/aebsequenceautocancel.md #### Cr2Functions1DPackage.AEBSequenceAutoCancel property Gets the AEBSequenceAutoCancel. ```csharp public ushort AEBSequenceAutoCancel { get; } ``` ##### Property Value The AEBSequenceAutoCancel. ### AFPointActivationArea Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/afpointactivationarea.md #### Cr2Functions1DPackage.AFPointActivationArea property Gets the AFPointActivationArea. ```csharp public ushort AFPointActivationArea { get; } ``` ##### Property Value The AFPointActivationArea. ### AFPointIllumination Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/afpointillumination.md #### Cr2Functions1DPackage.AFPointIllumination property Gets the AFPointIllumination. ```csharp public ushort AFPointIllumination { get; } ``` ##### Property Value The AFPointIllumination. ### AFPointSelection Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/afpointselection.md #### Cr2Functions1DPackage.AFPointSelection property Gets the AFPointSelection. ```csharp public ushort AFPointSelection { get; } ``` ##### Property Value The AFPointSelection. ### AFPointSpotMetering Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/afpointspotmetering.md #### Cr2Functions1DPackage.AFPointSpotMetering property Gets the AFPointSpotMetering. ```csharp public ushort AFPointSpotMetering { get; } ``` ##### Property Value The AFPointSpotMetering. ### AIServoContinuousShooting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/aiservocontinuousshooting.md #### Cr2Functions1DPackage.AIServoContinuousShooting property Gets the AIServoContinuousShooting. ```csharp public ushort AIServoContinuousShooting { get; } ``` ##### Property Value The AIServoContinuousShooting. ### AIServoTrackingSensitivity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/aiservotrackingsensitivity.md #### Cr2Functions1DPackage.AIServoTrackingSensitivity property Gets the AIServoTrackingSensitivity. ```csharp public ushort AIServoTrackingSensitivity { get; } ``` ##### Property Value The AIServoTrackingSensitivity. ### Cr2Functions1DPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/cr2functions1dpackage.md #### Cr2Functions1DPackage constructor Initializes a new instance of the `Cr2Functions1DPackage` class. ```csharp public Cr2Functions1DPackage() ``` ### ExposureLevelIncrements Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/exposurelevelincrements.md #### Cr2Functions1DPackage.ExposureLevelIncrements property Gets the ExposureLevelIncrements. ```csharp public ushort ExposureLevelIncrements { get; } ``` ##### Property Value The ExposureLevelIncrements. ### FillFlashAutoReduction Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/fillflashautoreduction.md #### Cr2Functions1DPackage.FillFlashAutoReduction property Gets the FillFlashAutoReduction. ```csharp public ushort FillFlashAutoReduction { get; } ``` ##### Property Value The FillFlashAutoReduction. ### FinderDisplayDuringExposure Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/finderdisplayduringexposure.md #### Cr2Functions1DPackage.FinderDisplayDuringExposure property Gets the FinderDisplayDuringExposure. ```csharp public ushort FinderDisplayDuringExposure { get; } ``` ##### Property Value The FinderDisplayDuringExposure. ### FocusingScreen Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/focusingscreen.md #### Cr2Functions1DPackage.FocusingScreen property Gets the FocusingScreen. ```csharp public ushort FocusingScreen { get; } ``` ##### Property Value The FocusingScreen. ### ISOSpeedExpansion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/isospeedexpansion.md #### Cr2Functions1DPackage.ISOSpeedExpansion property Gets the ISOSpeedExpansion. ```csharp public ushort ISOSpeedExpansion { get; } ``` ##### Property Value The ISOSpeedExpansion. ### LCDPanels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/lcdpanels.md #### Cr2Functions1DPackage.LCDPanels property Gets the LCDPanels. ```csharp public ushort LCDPanels { get; } ``` ##### Property Value The LCDPanels. ### LensAFStopButton Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/lensafstopbutton.md #### Cr2Functions1DPackage.LensAFStopButton property Gets the LensAFStopButton. ```csharp public ushort LensAFStopButton { get; } ``` ##### Property Value The LensAFStopButton. ### ManualTv Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/manualtv.md #### Cr2Functions1DPackage.ManualTv property Gets the ManualTv. ```csharp public ushort ManualTv { get; } ``` ##### Property Value The ManualTv. ### MirrorLockup Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/mirrorlockup.md #### Cr2Functions1DPackage.MirrorLockup property Gets the MirrorLockup. ```csharp public ushort MirrorLockup { get; } ``` ##### Property Value The MirrorLockup. ### SafetyShiftInAvOrTv Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/safetyshiftinavortv.md #### Cr2Functions1DPackage.SafetyShiftInAvOrTv property Gets the SafetyShiftInAvOrTv. ```csharp public ushort SafetyShiftInAvOrTv { get; } ``` ##### Property Value The SafetyShiftInAvOrTv. ### ShutterAELButton Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/shutteraelbutton.md #### Cr2Functions1DPackage.ShutterAELButton property Gets the ShutterAELButton. ```csharp public ushort ShutterAELButton { get; } ``` ##### Property Value The ShutterAELButton. ### ShutterCurtainSync Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/shuttercurtainsync.md #### Cr2Functions1DPackage.ShutterCurtainSync property Gets the ShutterCurtainSync. ```csharp public ushort ShutterCurtainSync { get; } ``` ##### Property Value The ShutterCurtainSync. ### ShutterReleaseNoCFCard Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/shutterreleasenocfcard.md #### Cr2Functions1DPackage.ShutterReleaseNoCFCard property Gets the ShutterReleaseNoCFCard. ```csharp public ushort ShutterReleaseNoCFCard { get; } ``` ##### Property Value The ShutterReleaseNoCFCard. ### SwitchToRegisteredAFPoint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/switchtoregisteredafpoint.md #### Cr2Functions1DPackage.SwitchToRegisteredAFPoint property Gets the SwitchToRegisteredAFPoint. ```csharp public ushort SwitchToRegisteredAFPoint { get; } ``` ##### Property Value The SwitchToRegisteredAFPoint. ### USMLensElectronicMF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/usmlenselectronicmf.md #### Cr2Functions1DPackage.USMLensElectronicMF property Gets the USMLensElectronicMF. ```csharp public ushort USMLensElectronicMF { get; } ``` ##### Property Value The USMLensElectronicMF. ### Cr2Functions2Index Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2functions2index.md #### Cr2Functions2Index enumeration Defines ids of Cr2Functions2 tags. ```csharp public enum Cr2Functions2Index ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | ExposureLevelIncrements | `257` | Indicates the ExposureLevelIncrements. | | ISOSpeedIncrements | `258` | Indicates the ISOSpeedIncrements. | | ISOSpeedRange | `259` | Indicates the ISOSpeedRange. | | AEBAutoCancel | `260` | Indicates the AEBAutoCancel. | | AEBSequence | `261` | Indicates the AEBSequence. | | AEBShotCount | `262` | Indicates the AEBShotCount. | | SpotMeterLinkToAFPoint | `263` | Indicates the SpotMeterLinkToAFPoint. | | SafetyShift | `264` | Indicates the SafetyShift. | | UsableShootingModes | `265` | Indicates the UsableShootingModes. | | UsableMeteringModes | `266` | Indicates the UsableMeteringModes. | | ExposureModeInManual | `267` | Indicates the ExposureModeInManual. | | ShutterSpeedRange | `268` | Indicates the ShutterSpeedRange. | | ApertureRange | `269` | Indicates the ApertureRange. | | ApplyShootingMeteringMode | `270` | Indicates the ApplyShootingMeteringMode. | | FlashSyncSpeedAv | `271` | Indicates the FlashSyncSpeedAv. | | AEMicroadjustment | `272` | Indicates the AEMicroadjustment. | | FEMicroadjustment | `273` | Indicates the FEMicroadjustment. | | SameExposureForNewAperture | `274` | Indicates the SameExposureForNewAperture. | | ExposureCompAutoCancel | `275` | Indicates the ExposureCompAutoCancel. | | AELockMeterModeAfterFocus | `276` | Indicates the AELockMeterModeAfterFocus. | | Unknown2 | `277` | Unknown tag. | | LongExposureNoiseReduction | `513` | Indicates the LongExposureNoiseReduction. | | HighISONoiseReduction | `514` | Indicates the HighISONoiseReduction. | | HighlightTonePriority | `515` | Indicates the HighlightTonePriority. | | AutoLightingOptimizer | `516` | Indicates the AutoLightingOptimizer. | | ETTLII | `772` | Indicates the ETTLII. | | ShutterCurtainSync | `773` | Indicates the ShutterCurtainSync. | | FlashFiring | `774` | Indicates the FlashFiring. | | ViewInfoDuringExposure | `1031` | Indicates the ViewInfoDuringExposure. | | LCDIlluminationDuringBulb | `1032` | Indicates the LCDIlluminationDuringBulb. | | InfoButtonWhenShooting | `1033` | Indicates the InfoButtonWhenShooting. | | ViewfinderWarnings | `1034` | Indicates the ViewfinderWarnings. | | LVShootingAreaDisplay | `1035` | Indicates the LVShootingAreaDisplay. | | LVShootingAreaDisplay2 | `1036` | Indicates the LVShootingAreaDisplay2. | | Unknown3 | `1280` | Unknown tag. | | USMLensElectronicMF | `1281` | Indicates the USMLensElectronicMF. | | AIServoTrackingSensitivity | `1282` | Indicates the AIServoTrackingSensitivity. | | AIServoImagePriority | `1283` | Indicates the AIServoImagePriority. | | AIServoTrackingMethod | `1284` | Indicates the AIServoTrackingMethod. | | LensDriveNoAF | `1285` | Indicates the LensDriveNoAF. | | LensAFStopButton | `1286` | Indicates the LensAFStopButton. | | AFMicroadjustment | `1287` | Indicates the AFMicroadjustment. | | AFPointAreaExpansion | `1288` | Indicates the AFPointAreaExpansion. | | SelectableAFPoint | `1289` | Indicates the SelectableAFPoint. | | SwitchToRegisteredAFPoint | `1290` | Indicates the SwitchToRegisteredAFPoint. | | AFPointAutoSelection | `1291` | Indicates the AFPointAutoSelection. | | AFPointDisplayDuringFocus | `1292` | Indicates the AFPointDisplayDuringFocus. | | AFPointBrightness | `1293` | Indicates the AFPointBrightness. | | AFAssistBeam | `1294` | Indicates the AFAssistBeam. | | AFPointSelectionMethod | `1295` | Indicates the AFPointSelectionMethod. | | AFDuringLiveView | `1297` | Indicates the AFDuringLiveView. | | SelectAFAreaSelectMode | `1298` | Indicates the SelectAFAreaSelectMode. | | ManualAFPointSelectPattern | `1299` | Indicates the ManualAFPointSelectPattern. | | DisplayAllAFPoints | `1300` | Indicates the DisplayAllAFPoints. | | FocusDisplayAIServoAndMF | `1301` | Indicates the FocusDisplayAIServoAndMF. | | OrientationLinkedAFPoint | `1302` | Indicates the OrientationLinkedAFPoint. | | MultiControllerWhileMetering | `1303` | Indicates the MultiControllerWhileMetering. | | AccelerationTracking | `1304` | Indicates the AccelerationTracking. | | AIServoFirstImagePriority | `1305` | Indicates the AIServoFirstImagePriority. | | AIServoSecondImagePriority | `1306` | Indicates the AIServoSecondImagePriority. | | AFAreaSelectMethod | `1307` | Indicates the AFAreaSelectMethod. | | AutoAFPointColorTracking | `1308` | Indicates the AutoAFPointColorTracking. | | VFDisplayIllumination | `1309` | Indicates the VFDisplayIllumination. | | InitialAFPointAIServoAF | `1310` | Indicates the InitialAFPointAIServoAF. | | MirrorLockup | `1551` | Indicates the MirrorLockup. | | ContinuousShootingSpeed | `1552` | Indicates the ContinuousShootingSpeed. | | ContinuousShotLimit | `1553` | Indicates the ContinuousShotLimit. | | RestrictDriveModes | `1554` | Indicates the RestrictDriveModes. | | ShutterAELock | `1793` | Indicates the ShutterAELock. | | AFOnAELockButtonSwitch | `1794` | Indicates the AFOnAELockButtonSwitch. | | QuickControlDialInMeter | `1795` | Indicates the QuickControlDialInMeter. | | SetButtonWhenShooting | `1796` | Indicates the SetButtonWhenShooting. | | ManualTv | `1797` | Indicates the ManualTv. | | DialDirectionTvAv | `1798` | Indicates the DialDirectionTvAv. | | AvSettingWithoutLens | `1799` | Indicates the AvSettingWithoutLens. | | WBMediaImageSizeSetting | `1800` | Indicates the WBMediaImageSizeSetting. | | LockMicrophoneButton | `1801` | Indicates the LockMicrophoneButton. | | ButtonFunctionControlOff | `1802` | Indicates the ButtonFunctionControlOff. | | AssignFuncButton | `1803` | Indicates the AssignFuncButton. | | CustomControls | `1804` | Indicates the CustomControls. | | StartMovieShooting | `1805` | Indicates the StartMovieShooting. | | FlashButtonFunction | `1806` | Indicates the FlashButtonFunction. | | MultiFunctionLock | `1807` | Indicates the MultiFunctionLock. | | TrashButtonFunction | `1808` | Indicates the TrashButtonFunction. | | ShutterReleaseWithoutLens | `1809` | Indicates the ShutterReleaseWithoutLens. | | ControlRingRotation | `1810` | Indicates the ControlRingRotation. | | FocusRingRotation | `1811` | Indicates the FocusRingRotation. | | RFLensMFFocusRingSensitivity | `1812` | Indicates the RFLensMFFocusRingSensitivity. | | CustomizeDials | `1813` | Indicates the CustomizeDials. | | FocusingScreen | `2059` | Indicates the FocusingScreen. | | TimerLength | `2060` | Indicates the TimerLength. | | ShortReleaseTimeLag | `2061` | Indicates the ShortReleaseTimeLag. | | AddAspectRatioInfo | `2062` | Indicates the AddAspectRatioInfo. | | AddOriginalDecisionData | `2063` | Indicates the AddOriginalDecisionData. | | LiveViewExposureSimulation | `2064` | Indicates the LiveViewExposureSimulation. | | LCDDisplayAtPowerOn | `2065` | Indicates the LCDDisplayAtPowerOn. | | MemoAudioQuality | `2066` | Indicates the MemoAudioQuality. | | DefaultEraseOption | `2067` | Indicates the DefaultEraseOption. | | RetractLensOnPowerOff | `2068` | Indicates the RetractLensOnPowerOff. | | AddIPTCInformation | `2069` | Indicates the AddIPTCInformation. | | AudioCompression | `2070` | Indicates the AudioCompression. | ### Cr2LightingOptIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptindex.md #### Cr2LightingOptIndex enumeration Defines ids of Cr2LightingOpt tags. ```csharp public enum Cr2LightingOptIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | PeripheralIlluminationCorr | `1` | Indicates the PeripheralIlluminationCorr. | | AutoLightingOptimizer | `2` | Indicates the AutoLightingOptimizer. | | HighlightTonePriority | `3` | Indicates the HighlightTonePriority. | | LongExposureNoiseReduction | `4` | Indicates the LongExposureNoiseReduction. | | HighISONoiseReduction | `5` | Indicates the HighISONoiseReduction. | | DigitalLensOptimizer | `10` | Indicates the DigitalLensOptimizer. | ### Cr2LightingOptPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage.md #### Cr2LightingOptPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2LightingOptPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2LightingOptPackage() | Initializes a new instance of the `Cr2LightingOptPackage` class. | #### Properties | Name | Description | | --- | --- | | AutoLightingOptimizer { get; } | Gets the AutoLightingOptimizer. | | Count { get; } | Gets the number of metadata properties. | | DigitalLensOptimizer { get; } | Gets the DigitalLensOptimizer. | | HighISONoiseReduction { get; } | Gets the HighISONoiseReduction. | | HighlightTonePriority { get; } | Gets the HighlightTonePriority. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LongExposureNoiseReduction { get; } | Gets the LongExposureNoiseReduction. | | MetadataType { get; } | Gets the metadata type. | | PeripheralIlluminationCorr { get; } | Gets the PeripheralIlluminationCorr. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Size { get; set; } | Gets the Size. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AutoLightingOptimizer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/autolightingoptimizer.md #### Cr2LightingOptPackage.AutoLightingOptimizer property Gets the AutoLightingOptimizer. ```csharp public int AutoLightingOptimizer { get; } ``` ##### Property Value The AutoLightingOptimizer. ### Cr2LightingOptPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/cr2lightingoptpackage.md #### Cr2LightingOptPackage constructor Initializes a new instance of the `Cr2LightingOptPackage` class. ```csharp public Cr2LightingOptPackage() ``` ### DigitalLensOptimizer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/digitallensoptimizer.md #### Cr2LightingOptPackage.DigitalLensOptimizer property Gets the DigitalLensOptimizer. ```csharp public int DigitalLensOptimizer { get; } ``` ##### Property Value The DigitalLensOptimizer. ### HighISONoiseReduction Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/highisonoisereduction.md #### Cr2LightingOptPackage.HighISONoiseReduction property Gets the HighISONoiseReduction. ```csharp public int HighISONoiseReduction { get; } ``` ##### Property Value The HighISONoiseReduction. ### HighlightTonePriority Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/highlighttonepriority.md #### Cr2LightingOptPackage.HighlightTonePriority property Gets the HighlightTonePriority. ```csharp public int HighlightTonePriority { get; } ``` ##### Property Value The HighlightTonePriority. ### LongExposureNoiseReduction Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/longexposurenoisereduction.md #### Cr2LightingOptPackage.LongExposureNoiseReduction property Gets the LongExposureNoiseReduction. ```csharp public int LongExposureNoiseReduction { get; } ``` ##### Property Value The LongExposureNoiseReduction. ### PeripheralIlluminationCorr Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/peripheralilluminationcorr.md #### Cr2LightingOptPackage.PeripheralIlluminationCorr property Gets the PeripheralIlluminationCorr. ```csharp public int PeripheralIlluminationCorr { get; } ``` ##### Property Value The PeripheralIlluminationCorr. ### Size Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/size.md #### Cr2LightingOptPackage.Size property Gets the Size. ```csharp public long Size { get; set; } ``` ##### Property Value The Size. ### Cr2LogInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfoindex.md #### Cr2LogInfoIndex enumeration Defines ids of Cr2LogInfo tags. ```csharp public enum Cr2LogInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | CompressionFormat | `4` | Indicates the CompressionFormat. | | Sharpness | `6` | Indicates the Sharpness. | | Saturation | `7` | Indicates the Saturation. | | ColorTone | `8` | Indicates the ColorTone. | | ColorSpace2 | `9` | Indicates the ColorSpace2. | | ColorMatrix | `10` | Indicates the ColorMatrix. | | CanonLogVersion | `11` | Indicates the CanonLogVersion. | ### Cr2LogInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage.md #### Cr2LogInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2LogInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2LogInfoPackage() | Initializes a new instance of the `Cr2LogInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | CanonLogVersion { get; } | Gets the CanonLogVersion. | | ColorMatrix { get; } | Gets the ColorMatrix. | | ColorSpace2 { get; } | Gets the ColorSpace2. | | ColorTone { get; } | Gets the ColorTone. | | CompressionFormat { get; } | Gets the CompressionFormat. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Saturation { get; } | Gets the Saturation. | | Sharpness { get; } | Gets the Sharpness. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CanonLogVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/canonlogversion.md #### Cr2LogInfoPackage.CanonLogVersion property Gets the CanonLogVersion. ```csharp public int CanonLogVersion { get; } ``` ##### Property Value The CanonLogVersion. ### ColorMatrix Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/colormatrix.md #### Cr2LogInfoPackage.ColorMatrix property Gets the ColorMatrix. ```csharp public int ColorMatrix { get; } ``` ##### Property Value The ColorMatrix. ### ColorSpace2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/colorspace2.md #### Cr2LogInfoPackage.ColorSpace2 property Gets the ColorSpace2. ```csharp public int ColorSpace2 { get; } ``` ##### Property Value The ColorSpace2. ### ColorTone Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/colortone.md #### Cr2LogInfoPackage.ColorTone property Gets the ColorTone. ```csharp public int ColorTone { get; } ``` ##### Property Value The ColorTone. ### CompressionFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/compressionformat.md #### Cr2LogInfoPackage.CompressionFormat property Gets the CompressionFormat. ```csharp public int CompressionFormat { get; } ``` ##### Property Value The CompressionFormat. ### Cr2LogInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/cr2loginfopackage.md #### Cr2LogInfoPackage constructor Initializes a new instance of the `Cr2LogInfoPackage` class. ```csharp public Cr2LogInfoPackage() ``` ### Saturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/saturation.md #### Cr2LogInfoPackage.Saturation property Gets the Saturation. ```csharp public int Saturation { get; } ``` ##### Property Value The Saturation. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/sharpness.md #### Cr2LogInfoPackage.Sharpness property Gets the Sharpness. ```csharp public int Sharpness { get; } ``` ##### Property Value The Sharpness. ### Cr2MakerNoteIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernoteindex.md #### Cr2MakerNoteIndex enumeration Defines ids of Cr2MakerNote tags. ```csharp public enum Cr2MakerNoteIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | CameraSettings | `1` | Indicates the CameraSettings. | | FocalLength | `2` | Indicates the FocalLength. | | ShotInfo | `4` | Indicates the ShotInfo. | | Panorama | `5` | Indicates the Panorama. | | ImageType | `6` | Indicates the ImageType. | | FirmwareVersion | `7` | Indicates the FirmwareVersion. | | FileNumber | `8` | Indicates the FileNumber. | | OwnerName | `9` | Indicates the OwnerName. | | SerialNumber | `12` | Indicates the SerialNumber. | | CameraInfo | `13` | Indicates the CameraInfo. | | FileLength | `14` | Indicates the FileLength. | | CustomFunctions | `15` | Indicates the CustomFunctions. | | ModelID | `16` | Indicates the ModelID. | | MovieInfo | `17` | Indicates the MovieInfo. | | CanonAFInfo | `18` | Indicates the CanonAFInfo. | | ThumbnailImageValidArea | `19` | Indicates the ThumbnailImageValidArea. | | SerialNumberFormat | `21` | Indicates the SerialNumberFormat. | | SuperMacro | `26` | Indicates the SuperMacro. | | DateStampMode | `28` | Indicates the DateStampMode. | | MyColors | `29` | Indicates the MyColors. | | Categories | `35` | Indicates the Categories. | | FaceDetect1 | `36` | Indicates the FaceDetect1. | | FaceDetect2 | `37` | Indicates the FaceDetect2. | | CanonAFInfo2 | `38` | Indicates the CanonAFInfo2. | | ContrastInfo | `39` | Indicates the ContrastInfo. | | ImageUniqueID | `40` | Indicates the ImageUniqueID. | | WBInfo | `41` | Indicates the WBInfo. | | FaceDetect3 | `47` | Indicates the FaceDetect3. | | TimeInfo | `53` | Indicates the TimeInfo. | | BatteryType | `56` | Indicates the BatteryType. | | AFInfo3 | `60` | Indicates the AFInfo3. | | RawDataOffset | `129` | Indicates the RawDataOffset. | | OriginalDecisionDataOffset | `131` | Indicates the OriginalDecisionDataOffset. | | CustomFunctions1D | `144` | Indicates the CustomFunctions1D. | | PersonalFunctions | `145` | Indicates the PersonalFunctions. | | PersonalFunctionValues | `146` | Indicates the PersonalFunctionValues. | | CanonFileInfo | `147` | Indicates the CanonFileInfo. | | AFPointsInFocus1D | `148` | Indicates the AFPointsInFocus1D. | | LensModel | `149` | Indicates the LensModel. | | SerialInfo | `150` | Indicates the SerialInfo. | | DustRemovalData | `151` | Indicates the DustRemovalData. | | CropInfo | `152` | Indicates the CropInfo. | | CustomFunctions2 | `153` | Indicates the CustomFunctions2. | | AspectInfo | `154` | Indicates the AspectInfo. | | ProcessingInfo | `160` | Indicates the ProcessingInfo. | | ToneCurveTable | `161` | Indicates the ToneCurveTable. | | SharpnessTable | `162` | Indicates the SharpnessTable. | | SharpnessFreqTable | `163` | Indicates the SharpnessFreqTable. | | WhiteBalanceTable | `164` | Indicates the WhiteBalanceTable. | | ColorBalance | `169` | Indicates the ColorBalance. | | MeasuredColor | `170` | Indicates the MeasuredColor. | | ColorTemperature | `174` | Indicates the ColorTemperature. | | CanonFlags | `176` | Indicates the CanonFlags. | | ModifiedInfo | `177` | Indicates the ModifiedInfo. | | ToneCurveMatching | `178` | Indicates the ToneCurveMatching. | | WhiteBalanceMatching | `179` | Indicates the WhiteBalanceMatching. | | ColorSpace | `180` | Indicates the ColorSpace. | | PreviewImageInfo | `182` | Indicates the PreviewImageInfo. | | VRDOffset | `208` | Indicates the VRDOffset. | | SensorInfo | `224` | Indicates the SensorInfo. | | ColorData1 | `16385` | Indicates the ColorData1. | | CRWParam | `16386` | Indicates the CRWParam. | | ColorInfo | `16387` | Indicates the ColorInfo. | | Flavor | `16389` | Indicates the Flavor. | | PictureStyleUserDef | `16392` | Indicates the PictureStyleUserDef. | | PictureStylePC | `16393` | Indicates the PictureStylePC. | | CustomPictureStyleFileName | `16400` | Indicates the CustomPictureStyleFileName. | | AFMicroAdj | `16403` | Indicates the AFMicroAdj. | | VignettingCorr | `16405` | Indicates the VignettingCorr. | | VignettingCorr2 | `16406` | Indicates the VignettingCorr2. | | LightingOpt | `16408` | Indicates the LightingOpt. | | LensInfo | `16409` | Indicates the LensInfo. | | AmbienceInfo | `16416` | Indicates the AmbienceInfo. | | MultiExp | `16417` | Indicates the MultiExp. | | FilterInfo | `16420` | Indicates the FilterInfo. | | HDRInfo | `16421` | Indicates the HDRInfo. | | LogInfo | `16422` | Indicates the LogInfo. | | AFConfig | `16424` | Indicates the AFConfig. | | RawBurstModeRoll | `16447` | Indicates the RawBurstModeRoll. | ### Cr2MakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage.md #### Cr2MakerNotePackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2MakerNotePackage : RawMakerNotePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2MakerNotePackage() | Initializes a new instance of the `Cr2MakerNotePackage` class. | #### Properties | Name | Description | | --- | --- | | AmbienceInfo { get; set; } | Gets the LensInfo. | | CameraInfo { get; set; } | Gets the CameraInfo. | | CameraSettings { get; set; } | Gets the CanonCameraSettings Offset. | | CanonFlags { get; set; } | Gets the CanonFlags. | | Categories { get; set; } | Gets the Categories. | | ColorData1 { get; set; } | Gets the ColorData1. | | ColorSpace { get; set; } | Gets the ColorSpace. | | ColorTemperature { get; set; } | Gets the ColorTemperature. | | ContrastInfo { get; set; } | Gets the ContrastInfo. | | Count { get; } | Gets the number of metadata properties. | | Cr2AFConfig { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2AFConfigPackage { get; set; } | Gets the AFConfig. | | Cr2AFInfo2 { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2AFInfo2Package { get; set; } | Gets the AFInfo3 (Newer version of the AFInfo record). | | Cr2AFInfo3 { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2AFInfo3Package { get; set; } | Gets the AFInfo3. | | Cr2AFMicroAdj { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2AFMicroAdjPackage { get; set; } | Gets the AFMicroAdj. | | Cr2AspectInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2AspectInfoPackage { get; set; } | Gets the AspectInfo. | | Cr2CameraSettingsPackage { get; set; } | Gets the CanonCameraSettings. | | Cr2ColorBalance { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2ColorBalancePackage { get; set; } | Gets the ColorBalance (These tags are used by the 10D and 300D.). | | Cr2ColorInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2ColorInfoPackage { get; set; } | Gets the ColorInfo. | | Cr2CropInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2CropInfoPackage { get; set; } | Gets the CropInfo. | | Cr2FileInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2FileInfoPackage { get; set; } | Not used in this version. Gets the CanonFileInfo. | | Cr2FocalLength { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2FocalLengthPackage { get; set; } | Gets the CanonFocalLength. | | Cr2Functions1D { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2Functions1DPackage { get; set; } | Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). | | Cr2LightingOpt { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2LightingOptPackage { get; set; } | Gets the LightingOpt (This information is new in images from the EOS 7D.). | | Cr2LogInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2LogInfoPackage { get; set; } | Gets the LogInfo. | | Cr2ModifiedInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2ModifiedInfoPackage { get; set; } | Gets the MeasuredColor. | | Cr2MovieInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2MovieInfoPackage { get; set; } | Gets the MovieInfo (Tags written by some Canon cameras when recording video). | | Cr2MultiExp { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2MultiExpPackage { get; set; } | Gets the MultiExp. | | Cr2Panorama { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2PanoramaPackage { get; set; } | Gets the CanonPanorama. | | Cr2PersonalFuncs { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2PersonalFuncsPackage { get; set; } | Gets the PersonalFunctions (Personal function settings for the EOS-1D.). | | Cr2PersonalFuncValues { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2PersonalFuncValuesPackage { get; set; } | Gets the PersonalFunctionValues. | | Cr2Processing { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2ProcessingPackage { get; set; } | Gets the ProcessingInfo. | | Cr2SensorInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2SensorInfoPackage { get; set; } | Gets the SensorInfo. | | Cr2ShotInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2ShotInfoPackage { get; set; } | Gets the CanonShotInfo. | | Cr2TimeInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2TimeInfoPackage { get; set; } | Gets the TimeInfo. | | Cr2WBInfo { get; set; } | Gets the CanonCameraSettings Offset. | | Cr2WBInfoPackage { get; set; } | Gets the WBInfo (WB tags for the Canon G9). | | CustomFunctions { get; set; } | Gets the CustomFunctions. | | CustomPictureStyleFileName { get; set; } | Gets the CustomPictureStyleFileName. | | DateStampMode { get; set; } | Gets the DateStampMode. | | FaceDetect1 { get; set; } | Gets the FaceDetect1. | | FaceDetect2 { get; set; } | Gets the FaceDetect2. | | FaceDetect3 { get; set; } | Gets the FaceDetect3. | | FileLength { get; set; } | Gets the FileLength. | | FileNumber { get; set; } | Gets the FileNumber. | | FirmwareVersion { get; set; } | Gets the FirmwareVersion. | | HDRInfo { get; set; } | Gets the HDRInfo. | | ImageType { get; set; } | Gets the ImageType. | | ImageUniqueID { get; set; } | Gets the ImageUniqueID. | | InternalSerialNumber { get; set; } | Gets the InternalSerialNumber. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LensInfo { get; set; } | Gets the LensInfo. | | LensModel { get; set; } | Gets the LensModel. | | MeasuredColor { get; set; } | Gets the MeasuredColor. | | MetadataType { get; } | Gets the metadata type. | | ModelID { get; set; } | Gets the ModelID. | | MyColors { get; set; } | Gets the MyColors. | | OriginalDecisionDataOffset { get; set; } | Gets the OriginalDecisionDataOffset. | | OwnerName { get; set; } | Gets the OwnerName. | | PictureStylePC { get; set; } | Gets the PictureStylePC. | | PictureStyleUserDef { get; set; } | Gets the PictureStyleUserDef. | | PreviewImageInfo { get; set; } | Gets the PreviewImageInfo. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawBurstModeRoll { get; set; } | Gets the RawBurstModeRoll. | | SerialNumber { get; set; } | Gets the SerialNumber. | | SerialNumberFormat { get; set; } | Gets the SerialNumberFormat. | | SuperMacro { get; set; } | Gets the SuperMacro. | | ThumbnailImageValidArea { get; set; } | Gets the ThumbnailImageValidArea. | | VignettingCorr { get; set; } | Gets the VignettingCorr. | | VRDOffset { get; set; } | Gets the VRDOffset. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AmbienceInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/ambienceinfo.md #### Cr2MakerNotePackage.AmbienceInfo property Gets the LensInfo. ```csharp public long[] AmbienceInfo { get; set; } ``` ##### Property Value The LensInfo. ### CameraInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/camerainfo.md #### Cr2MakerNotePackage.CameraInfo property Gets the CameraInfo. ```csharp public long CameraInfo { get; set; } ``` ##### Property Value The CameraInfo. ### CameraSettings Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/camerasettings.md #### Cr2MakerNotePackage.CameraSettings property Gets the CanonCameraSettings Offset. ```csharp public long CameraSettings { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### CanonFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/canonflags.md #### Cr2MakerNotePackage.CanonFlags property Gets the CanonFlags. ```csharp public ushort CanonFlags { get; set; } ``` ##### Property Value The CanonFlags. ### Categories Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/categories.md #### Cr2MakerNotePackage.Categories property Gets the Categories. ```csharp public long[] Categories { get; set; } ``` ##### Property Value The Categories. ### ColorData1 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/colordata1.md #### Cr2MakerNotePackage.ColorData1 property Gets the ColorData1. ```csharp public long ColorData1 { get; set; } ``` ##### Property Value The ColorData1. ### ColorSpace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/colorspace.md #### Cr2MakerNotePackage.ColorSpace property Gets the ColorSpace. ```csharp public ushort ColorSpace { get; set; } ``` ##### Property Value The ColorSpace. ### ColorTemperature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/colortemperature.md #### Cr2MakerNotePackage.ColorTemperature property Gets the ColorTemperature. ```csharp public ushort ColorTemperature { get; set; } ``` ##### Property Value The ColorTemperature. ### ContrastInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/contrastinfo.md #### Cr2MakerNotePackage.ContrastInfo property Gets the ContrastInfo. ```csharp public ushort[] ContrastInfo { get; set; } ``` ##### Property Value The ContrastInfo. ### Cr2AFConfig Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afconfig.md #### Cr2MakerNotePackage.Cr2AFConfig property Gets the CanonCameraSettings Offset. ```csharp public long Cr2AFConfig { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2AFConfigPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afconfigpackage.md #### Cr2MakerNotePackage.Cr2AFConfigPackage property Gets the AFConfig. ```csharp public Cr2AFConfigPackage Cr2AFConfigPackage { get; set; } ``` ##### Property Value The AFConfig. ### Cr2AFInfo2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afinfo2.md #### Cr2MakerNotePackage.Cr2AFInfo2 property Gets the CanonCameraSettings Offset. ```csharp public long Cr2AFInfo2 { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2AFInfo2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afinfo2package.md #### Cr2MakerNotePackage.Cr2AFInfo2Package property Gets the AFInfo3 (Newer version of the AFInfo record). ```csharp public Cr2AFInfo2Package Cr2AFInfo2Package { get; set; } ``` ##### Property Value The AFInfo3. ### Cr2AFInfo3 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afinfo3.md #### Cr2MakerNotePackage.Cr2AFInfo3 property Gets the CanonCameraSettings Offset. ```csharp public long Cr2AFInfo3 { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2AFInfo3Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afinfo3package.md #### Cr2MakerNotePackage.Cr2AFInfo3Package property Gets the AFInfo3. ```csharp public Cr2AFInfo2Package Cr2AFInfo3Package { get; set; } ``` ##### Property Value The AFInfo3. ### Cr2AFMicroAdj Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afmicroadj.md #### Cr2MakerNotePackage.Cr2AFMicroAdj property Gets the CanonCameraSettings Offset. ```csharp public long Cr2AFMicroAdj { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2AFMicroAdjPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2afmicroadjpackage.md #### Cr2MakerNotePackage.Cr2AFMicroAdjPackage property Gets the AFMicroAdj. ```csharp public Cr2AFMicroAdjPackage Cr2AFMicroAdjPackage { get; set; } ``` ##### Property Value The AFMicroAdj. ### Cr2AspectInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2aspectinfo.md #### Cr2MakerNotePackage.Cr2AspectInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2AspectInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2AspectInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2aspectinfopackage.md #### Cr2MakerNotePackage.Cr2AspectInfoPackage property Gets the AspectInfo. ```csharp public Cr2AspectInfoPackage Cr2AspectInfoPackage { get; set; } ``` ##### Property Value The AspectInfo. ### Cr2CameraSettingsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2camerasettingspackage.md #### Cr2MakerNotePackage.Cr2CameraSettingsPackage property Gets the CanonCameraSettings. ```csharp public Cr2CameraSettingsPackage Cr2CameraSettingsPackage { get; set; } ``` ##### Property Value The CanonCameraSettings. ### Cr2ColorBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2colorbalance.md #### Cr2MakerNotePackage.Cr2ColorBalance property Gets the CanonCameraSettings Offset. ```csharp public long Cr2ColorBalance { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2ColorBalancePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2colorbalancepackage.md #### Cr2MakerNotePackage.Cr2ColorBalancePackage property Gets the ColorBalance (These tags are used by the 10D and 300D.). ```csharp public Cr2ColorBalancePackage Cr2ColorBalancePackage { get; set; } ``` ##### Property Value The ColorBalance. ### Cr2ColorInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2colorinfo.md #### Cr2MakerNotePackage.Cr2ColorInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2ColorInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2ColorInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2colorinfopackage.md #### Cr2MakerNotePackage.Cr2ColorInfoPackage property Gets the ColorInfo. ```csharp public Cr2ColorInfoPackage Cr2ColorInfoPackage { get; set; } ``` ##### Property Value The ColorInfo. ### Cr2CropInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2cropinfo.md #### Cr2MakerNotePackage.Cr2CropInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2CropInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2CropInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2cropinfopackage.md #### Cr2MakerNotePackage.Cr2CropInfoPackage property Gets the CropInfo. ```csharp public Cr2CropInfoPackage Cr2CropInfoPackage { get; set; } ``` ##### Property Value The CropInfo. ### Cr2FileInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2fileinfo.md #### Cr2MakerNotePackage.Cr2FileInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2FileInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2FileInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2fileinfopackage.md #### Cr2MakerNotePackage.Cr2FileInfoPackage property Not used in this version. Gets the CanonFileInfo. ```csharp public Cr2FileInfoPackage Cr2FileInfoPackage { get; set; } ``` ##### Property Value The CanonFileInfo. ### Cr2FocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2focallength.md #### Cr2MakerNotePackage.Cr2FocalLength property Gets the CanonCameraSettings Offset. ```csharp public long Cr2FocalLength { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2FocalLengthPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2focallengthpackage.md #### Cr2MakerNotePackage.Cr2FocalLengthPackage property Gets the CanonFocalLength. ```csharp public Cr2FocalLengthPackage Cr2FocalLengthPackage { get; set; } ``` ##### Property Value The CanonFocalLength. ### Cr2Functions1D Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2functions1d.md #### Cr2MakerNotePackage.Cr2Functions1D property Gets the CanonCameraSettings Offset. ```csharp public long Cr2Functions1D { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2Functions1DPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2functions1dpackage.md #### Cr2MakerNotePackage.Cr2Functions1DPackage property Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). ```csharp public Cr2Functions1DPackage Cr2Functions1DPackage { get; set; } ``` ##### Property Value The CustomFunctions1D. ### Cr2LightingOpt Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2lightingopt.md #### Cr2MakerNotePackage.Cr2LightingOpt property Gets the CanonCameraSettings Offset. ```csharp public long Cr2LightingOpt { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2LightingOptPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2lightingoptpackage.md #### Cr2MakerNotePackage.Cr2LightingOptPackage property Gets the LightingOpt (This information is new in images from the EOS 7D.). ```csharp public Cr2LightingOptPackage Cr2LightingOptPackage { get; set; } ``` ##### Property Value The LightingOpt. ### Cr2LogInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2loginfo.md #### Cr2MakerNotePackage.Cr2LogInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2LogInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2LogInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2loginfopackage.md #### Cr2MakerNotePackage.Cr2LogInfoPackage property Gets the LogInfo. ```csharp public Cr2LogInfoPackage Cr2LogInfoPackage { get; set; } ``` ##### Property Value The LogInfo. ### Cr2MakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2makernotepackage.md #### Cr2MakerNotePackage constructor Initializes a new instance of the `Cr2MakerNotePackage` class. ```csharp public Cr2MakerNotePackage() ``` ### Cr2ModifiedInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2modifiedinfo.md #### Cr2MakerNotePackage.Cr2ModifiedInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2ModifiedInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2ModifiedInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2modifiedinfopackage.md #### Cr2MakerNotePackage.Cr2ModifiedInfoPackage property Gets the MeasuredColor. ```csharp public Cr2ModifiedInfoPackage Cr2ModifiedInfoPackage { get; set; } ``` ##### Property Value The MeasuredColor. ### Cr2MovieInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2movieinfo.md #### Cr2MakerNotePackage.Cr2MovieInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2MovieInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2MovieInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2movieinfopackage.md #### Cr2MakerNotePackage.Cr2MovieInfoPackage property Gets the MovieInfo (Tags written by some Canon cameras when recording video). ```csharp public Cr2MovieInfoPackage Cr2MovieInfoPackage { get; set; } ``` ##### Property Value The MovieInfo. ### Cr2MultiExp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2multiexp.md #### Cr2MakerNotePackage.Cr2MultiExp property Gets the CanonCameraSettings Offset. ```csharp public long Cr2MultiExp { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2MultiExpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2multiexppackage.md #### Cr2MakerNotePackage.Cr2MultiExpPackage property Gets the MultiExp. ```csharp public Cr2MultiExpPackage Cr2MultiExpPackage { get; set; } ``` ##### Property Value The MultiExp. ### Cr2Panorama Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2panorama.md #### Cr2MakerNotePackage.Cr2Panorama property Gets the CanonCameraSettings Offset. ```csharp public long Cr2Panorama { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2PanoramaPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2panoramapackage.md #### Cr2MakerNotePackage.Cr2PanoramaPackage property Gets the CanonPanorama. ```csharp public Cr2PanoramaPackage Cr2PanoramaPackage { get; set; } ``` ##### Property Value The CanonPanorama. ### Cr2PersonalFuncs Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2personalfuncs.md #### Cr2MakerNotePackage.Cr2PersonalFuncs property Gets the CanonCameraSettings Offset. ```csharp public long Cr2PersonalFuncs { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2PersonalFuncsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2personalfuncspackage.md #### Cr2MakerNotePackage.Cr2PersonalFuncsPackage property Gets the PersonalFunctions (Personal function settings for the EOS-1D.). ```csharp public Cr2PersonalFuncsPackage Cr2PersonalFuncsPackage { get; set; } ``` ##### Property Value The PersonalFunctions. ### Cr2PersonalFuncValues Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2personalfuncvalues.md #### Cr2MakerNotePackage.Cr2PersonalFuncValues property Gets the CanonCameraSettings Offset. ```csharp public long Cr2PersonalFuncValues { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2PersonalFuncValuesPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2personalfuncvaluespackage.md #### Cr2MakerNotePackage.Cr2PersonalFuncValuesPackage property Gets the PersonalFunctionValues. ```csharp public Cr2PersonalFuncValuesPackage Cr2PersonalFuncValuesPackage { get; set; } ``` ##### Property Value The PersonalFunctionValues. ### Cr2Processing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2processing.md #### Cr2MakerNotePackage.Cr2Processing property Gets the CanonCameraSettings Offset. ```csharp public long Cr2Processing { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2ProcessingPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2processingpackage.md #### Cr2MakerNotePackage.Cr2ProcessingPackage property Gets the ProcessingInfo. ```csharp public Cr2ProcessingPackage Cr2ProcessingPackage { get; set; } ``` ##### Property Value The ProcessingInfo. ### Cr2SensorInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2sensorinfo.md #### Cr2MakerNotePackage.Cr2SensorInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2SensorInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2SensorInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2sensorinfopackage.md #### Cr2MakerNotePackage.Cr2SensorInfoPackage property Gets the SensorInfo. ```csharp public Cr2SensorInfoPackage Cr2SensorInfoPackage { get; set; } ``` ##### Property Value The SensorInfo. ### Cr2ShotInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2shotinfo.md #### Cr2MakerNotePackage.Cr2ShotInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2ShotInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2ShotInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2shotinfopackage.md #### Cr2MakerNotePackage.Cr2ShotInfoPackage property Gets the CanonShotInfo. ```csharp public Cr2ShotInfoPackage Cr2ShotInfoPackage { get; set; } ``` ##### Property Value The CanonShotInfo. ### Cr2TimeInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2timeinfo.md #### Cr2MakerNotePackage.Cr2TimeInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2TimeInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2TimeInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2timeinfopackage.md #### Cr2MakerNotePackage.Cr2TimeInfoPackage property Gets the TimeInfo. ```csharp public Cr2TimeInfoPackage Cr2TimeInfoPackage { get; set; } ``` ##### Property Value The TimeInfo. ### Cr2WBInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2wbinfo.md #### Cr2MakerNotePackage.Cr2WBInfo property Gets the CanonCameraSettings Offset. ```csharp public long Cr2WBInfo { get; set; } ``` ##### Property Value The CanonCameraSettings Offset. ### Cr2WBInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr2wbinfopackage.md #### Cr2MakerNotePackage.Cr2WBInfoPackage property Gets the WBInfo (WB tags for the Canon G9). ```csharp public Cr2WBInfoPackage Cr2WBInfoPackage { get; set; } ``` ##### Property Value The WBInfo. ### CustomFunctions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/customfunctions.md #### Cr2MakerNotePackage.CustomFunctions property Gets the CustomFunctions. ```csharp public long CustomFunctions { get; set; } ``` ##### Property Value The CustomFunctions. ### CustomPictureStyleFileName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/custompicturestylefilename.md #### Cr2MakerNotePackage.CustomPictureStyleFileName property Gets the CustomPictureStyleFileName. ```csharp public string CustomPictureStyleFileName { get; set; } ``` ##### Property Value The CustomPictureStyleFileName. ### DateStampMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/datestampmode.md #### Cr2MakerNotePackage.DateStampMode property Gets the DateStampMode. ```csharp public ushort DateStampMode { get; set; } ``` ##### Property Value The DateStampMode. ### FaceDetect1 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/facedetect1.md #### Cr2MakerNotePackage.FaceDetect1 property Gets the FaceDetect1. ```csharp public long FaceDetect1 { get; set; } ``` ##### Property Value The FaceDetect1. ### FaceDetect2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/facedetect2.md #### Cr2MakerNotePackage.FaceDetect2 property Gets the FaceDetect2. ```csharp public long FaceDetect2 { get; set; } ``` ##### Property Value The FaceDetect2. ### FaceDetect3 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/facedetect3.md #### Cr2MakerNotePackage.FaceDetect3 property Gets the FaceDetect3. ```csharp public long FaceDetect3 { get; set; } ``` ##### Property Value The FaceDetect3. ### FileLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/filelength.md #### Cr2MakerNotePackage.FileLength property Gets the FileLength. ```csharp public long FileLength { get; set; } ``` ##### Property Value The FileLength. ### FileNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/filenumber.md #### Cr2MakerNotePackage.FileNumber property Gets the FileNumber. ```csharp public long FileNumber { get; set; } ``` ##### Property Value The FileNumber. ### FirmwareVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/firmwareversion.md #### Cr2MakerNotePackage.FirmwareVersion property Gets the FirmwareVersion. ```csharp public string FirmwareVersion { get; set; } ``` ##### Property Value The FirmwareVersion. ### HDRInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/hdrinfo.md #### Cr2MakerNotePackage.HDRInfo property Gets the HDRInfo. ```csharp public long HDRInfo { get; set; } ``` ##### Property Value The HDRInfo. ### ImageType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/imagetype.md #### Cr2MakerNotePackage.ImageType property Gets the ImageType. ```csharp public string ImageType { get; set; } ``` ##### Property Value The ImageType. ### ImageUniqueID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/imageuniqueid.md #### Cr2MakerNotePackage.ImageUniqueID property Gets the ImageUniqueID. ```csharp public byte[] ImageUniqueID { get; set; } ``` ##### Property Value The ImageUniqueID. ### InternalSerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/internalserialnumber.md #### Cr2MakerNotePackage.InternalSerialNumber property Gets the InternalSerialNumber. ```csharp public string InternalSerialNumber { get; set; } ``` ##### Property Value The InternalSerialNumber. ### LensInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/lensinfo.md #### Cr2MakerNotePackage.LensInfo property Gets the LensInfo. ```csharp public byte[] LensInfo { get; set; } ``` ##### Property Value The LensInfo. ### LensModel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/lensmodel.md #### Cr2MakerNotePackage.LensModel property Gets the LensModel. ```csharp public string LensModel { get; set; } ``` ##### Property Value The LensModel. ### MeasuredColor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/measuredcolor.md #### Cr2MakerNotePackage.MeasuredColor property Gets the MeasuredColor. ```csharp public ushort[] MeasuredColor { get; set; } ``` ##### Property Value The MeasuredColor. ### ModelID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/modelid.md #### Cr2MakerNotePackage.ModelID property Gets the ModelID. ```csharp public long ModelID { get; set; } ``` ##### Property Value The ModelID. ### MyColors Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/mycolors.md #### Cr2MakerNotePackage.MyColors property Gets the MyColors. ```csharp public ushort[] MyColors { get; set; } ``` ##### Property Value The MyColors. ### OriginalDecisionDataOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/originaldecisiondataoffset.md #### Cr2MakerNotePackage.OriginalDecisionDataOffset property Gets the OriginalDecisionDataOffset. ```csharp public long OriginalDecisionDataOffset { get; set; } ``` ##### Property Value The OriginalDecisionDataOffset. ### OwnerName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/ownername.md #### Cr2MakerNotePackage.OwnerName property Gets the OwnerName. ```csharp public string OwnerName { get; set; } ``` ##### Property Value The OwnerName. ### PictureStylePC Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/picturestylepc.md #### Cr2MakerNotePackage.PictureStylePC property Gets the PictureStylePC. ```csharp public ushort[] PictureStylePC { get; set; } ``` ##### Property Value The PictureStylePC. ### PictureStyleUserDef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/picturestyleuserdef.md #### Cr2MakerNotePackage.PictureStyleUserDef property Gets the PictureStyleUserDef. ```csharp public ushort[] PictureStyleUserDef { get; set; } ``` ##### Property Value The PictureStyleUserDef. ### PreviewImageInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/previewimageinfo.md #### Cr2MakerNotePackage.PreviewImageInfo property Gets the PreviewImageInfo. ```csharp public long PreviewImageInfo { get; set; } ``` ##### Property Value The PreviewImageInfo. ### RawBurstModeRoll Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/rawburstmoderoll.md #### Cr2MakerNotePackage.RawBurstModeRoll property Gets the RawBurstModeRoll. ```csharp public long RawBurstModeRoll { get; set; } ``` ##### Property Value The RawBurstModeRoll. ### SerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/serialnumber.md #### Cr2MakerNotePackage.SerialNumber property Gets the SerialNumber. ```csharp public long SerialNumber { get; set; } ``` ##### Property Value The SerialNumber. ### SerialNumberFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/serialnumberformat.md #### Cr2MakerNotePackage.SerialNumberFormat property Gets the SerialNumberFormat. ```csharp public long SerialNumberFormat { get; set; } ``` ##### Property Value The SerialNumberFormat. ### SuperMacro Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/supermacro.md #### Cr2MakerNotePackage.SuperMacro property Gets the SuperMacro. ```csharp public ushort SuperMacro { get; set; } ``` ##### Property Value The SuperMacro. ### ThumbnailImageValidArea Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/thumbnailimagevalidarea.md #### Cr2MakerNotePackage.ThumbnailImageValidArea property Gets the ThumbnailImageValidArea. ```csharp public ushort[] ThumbnailImageValidArea { get; set; } ``` ##### Property Value The ThumbnailImageValidArea. ### VignettingCorr Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/vignettingcorr.md #### Cr2MakerNotePackage.VignettingCorr property Gets the VignettingCorr. ```csharp public long VignettingCorr { get; set; } ``` ##### Property Value The VignettingCorr. ### VRDOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/vrdoffset.md #### Cr2MakerNotePackage.VRDOffset property Gets the VRDOffset. ```csharp public long VRDOffset { get; set; } ``` ##### Property Value The VRDOffset. ### Cr2ModifiedInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfoindex.md #### Cr2ModifiedInfoIndex enumeration Defines ids of Cr2ModifiedInfo tags. ```csharp public enum Cr2ModifiedInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | ModifiedToneCurve | `1` | Indicates the ModifiedToneCurve. | | ModifiedSharpness | `2` | Indicates the ModifiedSharpness. | | ModifiedSharpnessFreq | `3` | Indicates the ModifiedSharpnessFreq. | | ModifiedSensorRedLevel | `4` | Indicates the ModifiedSensorRedLevel. | | ModifiedSensorBlueLevel | `5` | Indicates the ModifiedSensorBlueLevel. | | ModifiedWhiteBalanceRed | `6` | Indicates the ModifiedWhiteBalanceRed. | | ModifiedWhiteBalanceBlue | `7` | Indicates the ModifiedWhiteBalanceBlue. | | ModifiedWhiteBalance | `8` | Indicates the ModifiedWhiteBalance. | | ModifiedColorTemp | `9` | Indicates the ModifiedColorTemp. | | ModifiedPictureStyle | `10` | Indicates the ModifiedPictureStyle. | | ModifiedDigitalGain | `11` | Indicates the ModifiedDigitalGain. | ### Cr2ModifiedInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage.md #### Cr2ModifiedInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2ModifiedInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2ModifiedInfoPackage() | Initializes a new instance of the `Cr2ModifiedInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | ModifiedColorTemp { get; } | Gets the ModifiedColorTemp. | | ModifiedDigitalGain { get; } | Gets the ModifiedDigitalGain. | | ModifiedPictureStyle { get; } | Gets the ModifiedPictureStyle. | | ModifiedSensorBlueLevel { get; } | Gets the ModifiedSensorBlueLevel. | | ModifiedSensorRedLevel { get; } | Gets the ModifiedSensorRedLevel. | | ModifiedSharpness { get; } | Gets the ModifiedSharpness. | | ModifiedSharpnessFreq { get; } | Gets the ModifiedSharpnessFreq. | | ModifiedToneCurve { get; } | Gets the ModifiedToneCurve. | | ModifiedWhiteBalance { get; } | Gets the ModifiedWhiteBalance. | | ModifiedWhiteBalanceBlue { get; } | Gets the ModifiedWhiteBalanceBlue. | | ModifiedWhiteBalanceRed { get; } | Gets the ModifiedWhiteBalanceRed. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2ModifiedInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/cr2modifiedinfopackage.md #### Cr2ModifiedInfoPackage constructor Initializes a new instance of the `Cr2ModifiedInfoPackage` class. ```csharp public Cr2ModifiedInfoPackage() ``` ### ModifiedColorTemp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedcolortemp.md #### Cr2ModifiedInfoPackage.ModifiedColorTemp property Gets the ModifiedColorTemp. ```csharp public ushort ModifiedColorTemp { get; } ``` ##### Property Value The ModifiedColorTemp. ### ModifiedDigitalGain Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifieddigitalgain.md #### Cr2ModifiedInfoPackage.ModifiedDigitalGain property Gets the ModifiedDigitalGain. ```csharp public ushort ModifiedDigitalGain { get; } ``` ##### Property Value The ModifiedDigitalGain. ### ModifiedPictureStyle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedpicturestyle.md #### Cr2ModifiedInfoPackage.ModifiedPictureStyle property Gets the ModifiedPictureStyle. ```csharp public ushort ModifiedPictureStyle { get; } ``` ##### Property Value The ModifiedPictureStyle. ### ModifiedSensorBlueLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedsensorbluelevel.md #### Cr2ModifiedInfoPackage.ModifiedSensorBlueLevel property Gets the ModifiedSensorBlueLevel. ```csharp public ushort ModifiedSensorBlueLevel { get; } ``` ##### Property Value The ModifiedSensorBlueLevel. ### ModifiedSensorRedLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedsensorredlevel.md #### Cr2ModifiedInfoPackage.ModifiedSensorRedLevel property Gets the ModifiedSensorRedLevel. ```csharp public ushort ModifiedSensorRedLevel { get; } ``` ##### Property Value The ModifiedSensorRedLevel. ### ModifiedSharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedsharpness.md #### Cr2ModifiedInfoPackage.ModifiedSharpness property Gets the ModifiedSharpness. ```csharp public ushort ModifiedSharpness { get; } ``` ##### Property Value The ModifiedSharpness. ### ModifiedSharpnessFreq Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedsharpnessfreq.md #### Cr2ModifiedInfoPackage.ModifiedSharpnessFreq property Gets the ModifiedSharpnessFreq. ```csharp public ushort ModifiedSharpnessFreq { get; } ``` ##### Property Value The ModifiedSharpnessFreq. ### ModifiedToneCurve Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedtonecurve.md #### Cr2ModifiedInfoPackage.ModifiedToneCurve property Gets the ModifiedToneCurve. ```csharp public ushort ModifiedToneCurve { get; } ``` ##### Property Value The ModifiedToneCurve. ### ModifiedWhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedwhitebalance.md #### Cr2ModifiedInfoPackage.ModifiedWhiteBalance property Gets the ModifiedWhiteBalance. ```csharp public ushort ModifiedWhiteBalance { get; } ``` ##### Property Value The ModifiedWhiteBalance. ### ModifiedWhiteBalanceBlue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedwhitebalanceblue.md #### Cr2ModifiedInfoPackage.ModifiedWhiteBalanceBlue property Gets the ModifiedWhiteBalanceBlue. ```csharp public ushort ModifiedWhiteBalanceBlue { get; } ``` ##### Property Value The ModifiedWhiteBalanceBlue. ### ModifiedWhiteBalanceRed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modifiedwhitebalancered.md #### Cr2ModifiedInfoPackage.ModifiedWhiteBalanceRed property Gets the ModifiedWhiteBalanceRed. ```csharp public ushort ModifiedWhiteBalanceRed { get; } ``` ##### Property Value The ModifiedWhiteBalanceRed. ### Cr2MovieInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfoindex.md #### Cr2MovieInfoIndex enumeration Defines ids of Cr2MovieInfo tags. ```csharp public enum Cr2MovieInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | FrameRate | `1` | Indicates the FrameRate. | | FrameCount | `2` | Indicates the FrameCount. | | FrameCount2 | `4` | Indicates the FrameCount2. | | FrameRate2 | `6` | Indicates the FrameRate2. | | Duration | `106` | Indicates the Duration. | | AudioBitrate | `108` | Indicates the AudioBitrate. | | AudioSampleRate | `110` | Indicates the AudioSampleRate. | | AudioChannels | `112` | Indicates the AudioChannels. | | VideoCodec | `116` | Indicates the VideoCodec. | ### Cr2MovieInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage.md #### Cr2MovieInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2MovieInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2MovieInfoPackage() | Initializes a new instance of the `Cr2MovieInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | AudioBitrate { get; } | Gets the AudioBitrate. | | AudioChannels { get; } | Gets the AudioChannels. | | AudioSampleRate { get; } | Gets the AudioSampleRate. | | Count { get; } | Gets the number of metadata properties. | | Duration { get; } | Gets the Duration. | | FrameCount { get; } | Gets the FrameCount. | | FrameCount2 { get; } | Gets the FrameCount2. | | FrameRate { get; } | Gets the FrameRate. | | FrameRate2 { get; } | Gets the FrameRate2. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | VideoCodec { get; } | Gets the VideoCodec. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AudioBitrate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/audiobitrate.md #### Cr2MovieInfoPackage.AudioBitrate property Gets the AudioBitrate. ```csharp public ushort AudioBitrate { get; } ``` ##### Property Value The AudioBitrate. ### AudioChannels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/audiochannels.md #### Cr2MovieInfoPackage.AudioChannels property Gets the AudioChannels. ```csharp public ushort AudioChannels { get; } ``` ##### Property Value The AudioChannels. ### AudioSampleRate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/audiosamplerate.md #### Cr2MovieInfoPackage.AudioSampleRate property Gets the AudioSampleRate. ```csharp public ushort AudioSampleRate { get; } ``` ##### Property Value The AudioSampleRate. ### Cr2MovieInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/cr2movieinfopackage.md #### Cr2MovieInfoPackage constructor Initializes a new instance of the `Cr2MovieInfoPackage` class. ```csharp public Cr2MovieInfoPackage() ``` ### Duration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/duration.md #### Cr2MovieInfoPackage.Duration property Gets the Duration. ```csharp public ushort Duration { get; } ``` ##### Property Value The Duration. ### FrameCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/framecount.md #### Cr2MovieInfoPackage.FrameCount property Gets the FrameCount. ```csharp public ushort FrameCount { get; } ``` ##### Property Value The FrameCount. ### FrameCount2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/framecount2.md #### Cr2MovieInfoPackage.FrameCount2 property Gets the FrameCount2. ```csharp public int FrameCount2 { get; } ``` ##### Property Value The FrameCount2. ### FrameRate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/framerate.md #### Cr2MovieInfoPackage.FrameRate property Gets the FrameRate. ```csharp public ushort FrameRate { get; } ``` ##### Property Value The FrameRate. ### FrameRate2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/framerate2.md #### Cr2MovieInfoPackage.FrameRate2 property Gets the FrameRate2. ```csharp public float FrameRate2 { get; } ``` ##### Property Value The FrameRate2. ### VideoCodec Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/videocodec.md #### Cr2MovieInfoPackage.VideoCodec property Gets the VideoCodec. ```csharp public byte[] VideoCodec { get; } ``` ##### Property Value The VideoCodec. ### Cr2MultiExpIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2multiexpindex.md #### Cr2MultiExpIndex enumeration Defines ids of Cr2MultiExp tags. ```csharp public enum Cr2MultiExpIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | MultiExposure | `1` | Indicates the MultiExposure. | | MultiExposureControl | `2` | Indicates the MultiExposureControl. | | MultiExposureShots | `3` | Indicates the MultiExposureShots. | | Unknown2 | `5` | Unknown tag. | ### Cr2MultiExpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage.md #### Cr2MultiExpPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2MultiExpPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2MultiExpPackage() | Initializes a new instance of the `Cr2MultiExpPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MultiExposure { get; } | Gets the MultiExposure. | | MultiExposureControl { get; } | Gets the MultiExposureControl. | | MultiExposureShots { get; } | Gets the MultiExposureShots. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2MultiExpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/cr2multiexppackage.md #### Cr2MultiExpPackage constructor Initializes a new instance of the `Cr2MultiExpPackage` class. ```csharp public Cr2MultiExpPackage() ``` ### MultiExposure Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/multiexposure.md #### Cr2MultiExpPackage.MultiExposure property Gets the MultiExposure. ```csharp public int MultiExposure { get; } ``` ##### Property Value The MultiExposure. ### MultiExposureControl Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/multiexposurecontrol.md #### Cr2MultiExpPackage.MultiExposureControl property Gets the MultiExposureControl. ```csharp public int MultiExposureControl { get; } ``` ##### Property Value The MultiExposureControl. ### MultiExposureShots Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/multiexposureshots.md #### Cr2MultiExpPackage.MultiExposureShots property Gets the MultiExposureShots. ```csharp public int MultiExposureShots { get; } ``` ##### Property Value The MultiExposureShots. ### Cr2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2package.md #### Cr2Package class Represents native CR2 metadata. ```csharp public sealed class Cr2Package : RawPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawTiffTagPackage { get; } | Gets the Tag Support Levels. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### RawTiffTagPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2package/rawtifftagpackage.md #### Cr2Package.RawTiffTagPackage property Gets the Tag Support Levels. ```csharp public RawTiffTagPackage RawTiffTagPackage { get; } ``` ##### Property Value The Tag Support Levels. ### Cr2PanoramaIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2panoramaindex.md #### Cr2PanoramaIndex enumeration Defines ids of Cr2Panorama tags. ```csharp public enum Cr2PanoramaIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PanoramaFrameNumber | `2` | Indicates the PanoramaFrameNumber. | | PanoramaDirection | `5` | Indicates the PanoramaDirection. | ### Cr2PanoramaPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage.md #### Cr2PanoramaPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2PanoramaPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2PanoramaPackage() | Initializes a new instance of the `Cr2PanoramaPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PanoramaDirection { get; } | Gets the PanoramaDirection. | | PanoramaFrameNumber { get; } | Gets the PanoramaFrameNumber. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2PanoramaPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/cr2panoramapackage.md #### Cr2PanoramaPackage constructor Initializes a new instance of the `Cr2PanoramaPackage` class. ```csharp public Cr2PanoramaPackage() ``` ### PanoramaDirection Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/panoramadirection.md #### Cr2PanoramaPackage.PanoramaDirection property Gets the PanoramaDirection. ```csharp public ushort PanoramaDirection { get; } ``` ##### Property Value The PanoramaDirection. ### PanoramaFrameNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/panoramaframenumber.md #### Cr2PanoramaPackage.PanoramaFrameNumber property Gets the PanoramaFrameNumber. ```csharp public ushort PanoramaFrameNumber { get; } ``` ##### Property Value The PanoramaFrameNumber. ### Cr2PersonalFuncsIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncsindex.md #### Cr2PersonalFuncsIndex enumeration Defines ids of Cr2PersonalFuncs tags. ```csharp public enum Cr2PersonalFuncsIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | PF0CustomFuncRegistration | `1` | Indicates the PF0CustomFuncRegistration. | | PF1DisableShootingModes | `2` | Indicates the PF1DisableShootingModes. | | PF2DisableMeteringModes | `3` | Indicates the PF2DisableMeteringModes. | | PF3ManualExposureMetering | `4` | Indicates the PF3ManualExposureMetering. | | PF4ExposureTimeLimits | `5` | Indicates the PF4ExposureTimeLimits. | | PF5ApertureLimits | `6` | Indicates the PF5ApertureLimits. | | PF6PresetShootingModes | `7` | Indicates the PF6PresetShootingModes. | | PF7BracketContinuousShoot | `8` | Indicates the PF7BracketContinuousShoot. | | PF8SetBracketShots | `9` | Indicates the PF8SetBracketShots. | | PF9ChangeBracketSequence | `10` | Indicates the PF9ChangeBracketSequence. | | PF10RetainProgramShift | `11` | Indicates the PF10RetainProgramShift. | | PF13DrivePriority | `14` | Indicates the PF13DrivePriority. | | PF14DisableFocusSearch | `15` | Indicates the PF14DisableFocusSearch. | | PF15DisableAFAssistBeam | `16` | Indicates the PF15DisableAFAssistBeam. | | PF16AutoFocusPointShoot | `17` | Indicates the PF16AutoFocusPointShoot. | | PF17DisableAFPointSel | `18` | Indicates the PF17DisableAFPointSel. | | PF18EnableAutoAFPointSel | `19` | Indicates the PF18EnableAutoAFPointSel. | | PF19ContinuousShootSpeed | `20` | Indicates the PF19ContinuousShootSpeed. | | PF20LimitContinousShots | `21` | Indicates the PF20LimitContinousShots. | | PF21EnableQuietOperation | `22` | Indicates the PF21EnableQuietOperation. | | PF23SetTimerLengths | `24` | Indicates the PF23SetTimerLengths. | | PF24LightLCDDuringBulb | `25` | Indicates the PF24LightLCDDuringBulb. | | PF25DefaultClearSettings | `26` | Indicates the PF25DefaultClearSettings. | | PF26ShortenReleaseLag | `27` | Indicates the PF26ShortenReleaseLag. | | PF27ReverseDialRotation | `28` | Indicates the PF27ReverseDialRotation. | | PF28NoQuickDialExpComp | `29` | Indicates the PF28NoQuickDialExpComp. | | PF29QuickDialSwitchOff | `30` | Indicates the PF29QuickDialSwitchOff. | | PF30EnlargementMode | `31` | Indicates the PF30EnlargementMode. | | PF31OriginalDecisionData | `32` | Indicates the PF31OriginalDecisionData. | ### Cr2PersonalFuncsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage.md #### Cr2PersonalFuncsPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2PersonalFuncsPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2PersonalFuncsPackage() | Initializes a new instance of the `Cr2PersonalFuncsPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PF0CustomFuncRegistration { get; } | Gets the PF0CustomFuncRegistration. | | PF10RetainProgramShift { get; } | Gets the PF10RetainProgramShift. | | PF13DrivePriority { get; } | Gets the PF13DrivePriority. | | PF14DisableFocusSearch { get; } | Gets the PF14DisableFocusSearch. | | PF15DisableAFAssistBeam { get; } | Gets the PF15DisableAFAssistBeam. | | PF16AutoFocusPointShoot { get; } | Gets the PF16AutoFocusPointShoot. | | PF17DisableAFPointSel { get; } | Gets the PF17DisableAFPointSel. | | PF18EnableAutoAFPointSel { get; } | Gets the PF18EnableAutoAFPointSel. | | PF19ContinuousShootSpeed { get; } | Gets the PF19ContinuousShootSpeed. | | PF1DisableShootingModes { get; } | Gets the PF1DisableShootingModes. | | PF20LimitContinousShots { get; } | Gets the PF20LimitContinousShots. | | PF21EnableQuietOperation { get; } | Gets the PF21EnableQuietOperation. | | PF23SetTimerLengths { get; } | Gets the PF23SetTimerLengths. | | PF24LightLCDDuringBulb { get; } | Gets the PF24LightLCDDuringBulb. | | PF25DefaultClearSettings { get; } | Gets the PF25DefaultClearSettings. | | PF26ShortenReleaseLag { get; } | Gets the PF26ShortenReleaseLag. | | PF27ReverseDialRotation { get; } | Gets the PF27ReverseDialRotation. | | PF28NoQuickDialExpComp { get; } | Gets the PF28NoQuickDialExpComp. | | PF29QuickDialSwitchOff { get; } | Gets the PF29QuickDialSwitchOff. | | PF2DisableMeteringModes { get; } | Gets the PF2DisableMeteringModes. | | PF30EnlargementMode { get; } | Gets the PF30EnlargementMode. | | PF31OriginalDecisionData { get; } | Gets the PF31OriginalDecisionData. | | PF3ManualExposureMetering { get; } | Gets the PF3ManualExposureMetering. | | PF4ExposureTimeLimits { get; } | Gets the PF4ExposureTimeLimits. | | PF5ApertureLimits { get; } | Gets the PF5ApertureLimits. | | PF6PresetShootingModes { get; } | Gets the PF6PresetShootingModes. | | PF7BracketContinuousShoot { get; } | Gets the PF7BracketContinuousShoot. | | PF8SetBracketShots { get; } | Gets the PF8SetBracketShots. | | PF9ChangeBracketSequence { get; } | Gets the PF9ChangeBracketSequence. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2PersonalFuncsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/cr2personalfuncspackage.md #### Cr2PersonalFuncsPackage constructor Initializes a new instance of the `Cr2PersonalFuncsPackage` class. ```csharp public Cr2PersonalFuncsPackage() ``` ### PF0CustomFuncRegistration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf0customfuncregistration.md #### Cr2PersonalFuncsPackage.PF0CustomFuncRegistration property Gets the PF0CustomFuncRegistration. ```csharp public ushort PF0CustomFuncRegistration { get; } ``` ##### Property Value The PF0CustomFuncRegistration. ### PF10RetainProgramShift Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf10retainprogramshift.md #### Cr2PersonalFuncsPackage.PF10RetainProgramShift property Gets the PF10RetainProgramShift. ```csharp public ushort PF10RetainProgramShift { get; } ``` ##### Property Value The PF10RetainProgramShift. ### PF13DrivePriority Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf13drivepriority.md #### Cr2PersonalFuncsPackage.PF13DrivePriority property Gets the PF13DrivePriority. ```csharp public ushort PF13DrivePriority { get; } ``` ##### Property Value The PF13DrivePriority. ### PF14DisableFocusSearch Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf14disablefocussearch.md #### Cr2PersonalFuncsPackage.PF14DisableFocusSearch property Gets the PF14DisableFocusSearch. ```csharp public ushort PF14DisableFocusSearch { get; } ``` ##### Property Value The PF14DisableFocusSearch. ### PF15DisableAFAssistBeam Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf15disableafassistbeam.md #### Cr2PersonalFuncsPackage.PF15DisableAFAssistBeam property Gets the PF15DisableAFAssistBeam. ```csharp public ushort PF15DisableAFAssistBeam { get; } ``` ##### Property Value The PF15DisableAFAssistBeam. ### PF16AutoFocusPointShoot Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf16autofocuspointshoot.md #### Cr2PersonalFuncsPackage.PF16AutoFocusPointShoot property Gets the PF16AutoFocusPointShoot. ```csharp public ushort PF16AutoFocusPointShoot { get; } ``` ##### Property Value The PF16AutoFocusPointShoot. ### PF17DisableAFPointSel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf17disableafpointsel.md #### Cr2PersonalFuncsPackage.PF17DisableAFPointSel property Gets the PF17DisableAFPointSel. ```csharp public ushort PF17DisableAFPointSel { get; } ``` ##### Property Value The PF17DisableAFPointSel. ### PF18EnableAutoAFPointSel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf18enableautoafpointsel.md #### Cr2PersonalFuncsPackage.PF18EnableAutoAFPointSel property Gets the PF18EnableAutoAFPointSel. ```csharp public ushort PF18EnableAutoAFPointSel { get; } ``` ##### Property Value The PF18EnableAutoAFPointSel. ### PF19ContinuousShootSpeed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf19continuousshootspeed.md #### Cr2PersonalFuncsPackage.PF19ContinuousShootSpeed property Gets the PF19ContinuousShootSpeed. ```csharp public ushort PF19ContinuousShootSpeed { get; } ``` ##### Property Value The PF19ContinuousShootSpeed. ### PF1DisableShootingModes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf1disableshootingmodes.md #### Cr2PersonalFuncsPackage.PF1DisableShootingModes property Gets the PF1DisableShootingModes. ```csharp public ushort PF1DisableShootingModes { get; } ``` ##### Property Value The PF1DisableShootingModes. ### PF20LimitContinousShots Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf20limitcontinousshots.md #### Cr2PersonalFuncsPackage.PF20LimitContinousShots property Gets the PF20LimitContinousShots. ```csharp public ushort PF20LimitContinousShots { get; } ``` ##### Property Value The PF20LimitContinousShots. ### PF21EnableQuietOperation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf21enablequietoperation.md #### Cr2PersonalFuncsPackage.PF21EnableQuietOperation property Gets the PF21EnableQuietOperation. ```csharp public ushort PF21EnableQuietOperation { get; } ``` ##### Property Value The PF21EnableQuietOperation. ### PF23SetTimerLengths Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf23settimerlengths.md #### Cr2PersonalFuncsPackage.PF23SetTimerLengths property Gets the PF23SetTimerLengths. ```csharp public ushort PF23SetTimerLengths { get; } ``` ##### Property Value The PF23SetTimerLengths. ### PF24LightLCDDuringBulb Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf24lightlcdduringbulb.md #### Cr2PersonalFuncsPackage.PF24LightLCDDuringBulb property Gets the PF24LightLCDDuringBulb. ```csharp public ushort PF24LightLCDDuringBulb { get; } ``` ##### Property Value The PF24LightLCDDuringBulb. ### PF25DefaultClearSettings Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf25defaultclearsettings.md #### Cr2PersonalFuncsPackage.PF25DefaultClearSettings property Gets the PF25DefaultClearSettings. ```csharp public ushort PF25DefaultClearSettings { get; } ``` ##### Property Value The PF25DefaultClearSettings. ### PF26ShortenReleaseLag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf26shortenreleaselag.md #### Cr2PersonalFuncsPackage.PF26ShortenReleaseLag property Gets the PF26ShortenReleaseLag. ```csharp public ushort PF26ShortenReleaseLag { get; } ``` ##### Property Value The PF26ShortenReleaseLag. ### PF27ReverseDialRotation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf27reversedialrotation.md #### Cr2PersonalFuncsPackage.PF27ReverseDialRotation property Gets the PF27ReverseDialRotation. ```csharp public ushort PF27ReverseDialRotation { get; } ``` ##### Property Value The PF27ReverseDialRotation. ### PF28NoQuickDialExpComp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf28noquickdialexpcomp.md #### Cr2PersonalFuncsPackage.PF28NoQuickDialExpComp property Gets the PF28NoQuickDialExpComp. ```csharp public ushort PF28NoQuickDialExpComp { get; } ``` ##### Property Value The PF28NoQuickDialExpComp. ### PF29QuickDialSwitchOff Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf29quickdialswitchoff.md #### Cr2PersonalFuncsPackage.PF29QuickDialSwitchOff property Gets the PF29QuickDialSwitchOff. ```csharp public ushort PF29QuickDialSwitchOff { get; } ``` ##### Property Value The PF29QuickDialSwitchOff. ### PF2DisableMeteringModes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf2disablemeteringmodes.md #### Cr2PersonalFuncsPackage.PF2DisableMeteringModes property Gets the PF2DisableMeteringModes. ```csharp public ushort PF2DisableMeteringModes { get; } ``` ##### Property Value The PF2DisableMeteringModes. ### PF30EnlargementMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf30enlargementmode.md #### Cr2PersonalFuncsPackage.PF30EnlargementMode property Gets the PF30EnlargementMode. ```csharp public ushort PF30EnlargementMode { get; } ``` ##### Property Value The PF30EnlargementMode. ### PF31OriginalDecisionData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf31originaldecisiondata.md #### Cr2PersonalFuncsPackage.PF31OriginalDecisionData property Gets the PF31OriginalDecisionData. ```csharp public ushort PF31OriginalDecisionData { get; } ``` ##### Property Value The PF31OriginalDecisionData. ### PF3ManualExposureMetering Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf3manualexposuremetering.md #### Cr2PersonalFuncsPackage.PF3ManualExposureMetering property Gets the PF3ManualExposureMetering. ```csharp public ushort PF3ManualExposureMetering { get; } ``` ##### Property Value The PF3ManualExposureMetering. ### PF4ExposureTimeLimits Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf4exposuretimelimits.md #### Cr2PersonalFuncsPackage.PF4ExposureTimeLimits property Gets the PF4ExposureTimeLimits. ```csharp public ushort PF4ExposureTimeLimits { get; } ``` ##### Property Value The PF4ExposureTimeLimits. ### PF5ApertureLimits Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf5aperturelimits.md #### Cr2PersonalFuncsPackage.PF5ApertureLimits property Gets the PF5ApertureLimits. ```csharp public ushort PF5ApertureLimits { get; } ``` ##### Property Value The PF5ApertureLimits. ### PF6PresetShootingModes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf6presetshootingmodes.md #### Cr2PersonalFuncsPackage.PF6PresetShootingModes property Gets the PF6PresetShootingModes. ```csharp public ushort PF6PresetShootingModes { get; } ``` ##### Property Value The PF6PresetShootingModes. ### PF7BracketContinuousShoot Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf7bracketcontinuousshoot.md #### Cr2PersonalFuncsPackage.PF7BracketContinuousShoot property Gets the PF7BracketContinuousShoot. ```csharp public ushort PF7BracketContinuousShoot { get; } ``` ##### Property Value The PF7BracketContinuousShoot. ### PF8SetBracketShots Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf8setbracketshots.md #### Cr2PersonalFuncsPackage.PF8SetBracketShots property Gets the PF8SetBracketShots. ```csharp public ushort PF8SetBracketShots { get; } ``` ##### Property Value The PF8SetBracketShots. ### PF9ChangeBracketSequence Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf9changebracketsequence.md #### Cr2PersonalFuncsPackage.PF9ChangeBracketSequence property Gets the PF9ChangeBracketSequence. ```csharp public ushort PF9ChangeBracketSequence { get; } ``` ##### Property Value The PF9ChangeBracketSequence. ### Cr2PersonalFuncValuesIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluesindex.md #### Cr2PersonalFuncValuesIndex enumeration Defines ids of Cr2PersonalFuncValues tags. ```csharp public enum Cr2PersonalFuncValuesIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | PF1Value | `1` | Indicates the PF1Value. | | PF2Value | `2` | Indicates the PF2Value. | | PF3Value | `3` | Indicates the PF3Value. | | PF4ExposureTimeMin | `4` | Indicates the PF4ExposureTimeMin. | | PF4ExposureTimeMax | `5` | Indicates the PF4ExposureTimeMax. | | PF5ApertureMin | `6` | Indicates the PF5ApertureMin. | | PF5ApertureMax | `7` | Indicates the PF5ApertureMax. | | PF8BracketShots | `8` | Indicates the PF8BracketShots. | | PF19ShootingSpeedLow | `9` | Indicates the PF19ShootingSpeedLow. | | PF19ShootingSpeedHigh | `10` | Indicates the PF19ShootingSpeedHigh. | | PF20MaxContinousShots | `11` | Indicates the PF20MaxContinousShots. | | PF23ShutterButtonTime | `12` | Indicates the PF23ShutterButtonTime. | | PF23FELockTime | `13` | Indicates the PF23FELockTime. | | PF23PostReleaseTime | `14` | Indicates the PF23PostReleaseTime. | | PF25AEMode | `15` | Indicates the PF25AEMode. | | PF25MeteringMode | `16` | Indicates the PF25MeteringMode. | | PF25DriveMode | `17` | Indicates the PF25DriveMode. | | PF25AFMode | `18` | Indicates the PF25AFMode. | | PF25AFPointSel | `19` | Indicates the PF25AFPointSel. | | PF25ImageSize | `20` | Indicates the PF25ImageSize. | | PF25WBMode | `21` | Indicates the PF25WBMode. | | PF25Parameters | `22` | Indicates the PF25Parameters. | | PF25ColorMatrix | `23` | Indicates the PF25ColorMatrix. | | PF27Value | `24` | Indicates the PF27Value. | ### Cr2PersonalFuncValuesPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage.md #### Cr2PersonalFuncValuesPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2PersonalFuncValuesPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2PersonalFuncValuesPackage() | Initializes a new instance of the `Cr2PersonalFuncValuesPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PF19ShootingSpeedHigh { get; } | Gets the PF19ShootingSpeedHigh. | | PF19ShootingSpeedLow { get; } | Gets the PF19ShootingSpeedLow. | | PF1Value { get; } | Gets the PF1Value. | | PF20MaxContinousShots { get; } | Gets the PF20MaxContinousShots. | | PF23FELockTime { get; } | Gets the PF23FELockTime. | | PF23PostReleaseTime { get; } | Gets the PF23PostReleaseTime. | | PF23ShutterButtonTime { get; } | Gets the PF23ShutterButtonTime. | | PF25AEMode { get; } | Gets the PF25AEMode. | | PF25AFMode { get; } | Gets the PF25AFMode. | | PF25AFPointSel { get; } | Gets the PF25AFPointSel. | | PF25ColorMatrix { get; } | Gets the PF25ColorMatrix. | | PF25DriveMode { get; } | Gets the PF25DriveMode. | | PF25ImageSize { get; } | Gets the PF25ImageSize. | | PF25MeteringMode { get; } | Gets the PF25MeteringMode. | | PF25Parameters { get; } | Gets the PF25Parameters. | | PF25WBMode { get; } | Gets the PF25WBMode. | | PF27Value { get; } | Gets the PF27Value. | | PF2Value { get; } | Gets the PF2Value. | | PF3Value { get; } | Gets the PF3Value. | | PF4ExposureTimeMax { get; } | Gets the PF4ExposureTimeMax. | | PF4ExposureTimeMin { get; } | Gets the PF4ExposureTimeMin. | | PF5ApertureMax { get; } | Gets the PF5ApertureMax. | | PF5ApertureMin { get; } | Gets the PF5ApertureMin. | | PF8BracketShots { get; } | Gets the PF8BracketShots. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2PersonalFuncValuesPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/cr2personalfuncvaluespackage.md #### Cr2PersonalFuncValuesPackage constructor Initializes a new instance of the `Cr2PersonalFuncValuesPackage` class. ```csharp public Cr2PersonalFuncValuesPackage() ``` ### PF19ShootingSpeedHigh Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf19shootingspeedhigh.md #### Cr2PersonalFuncValuesPackage.PF19ShootingSpeedHigh property Gets the PF19ShootingSpeedHigh. ```csharp public ushort PF19ShootingSpeedHigh { get; } ``` ##### Property Value The PF19ShootingSpeedHigh. ### PF19ShootingSpeedLow Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf19shootingspeedlow.md #### Cr2PersonalFuncValuesPackage.PF19ShootingSpeedLow property Gets the PF19ShootingSpeedLow. ```csharp public ushort PF19ShootingSpeedLow { get; } ``` ##### Property Value The PF19ShootingSpeedLow. ### PF1Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf1value.md #### Cr2PersonalFuncValuesPackage.PF1Value property Gets the PF1Value. ```csharp public ushort PF1Value { get; } ``` ##### Property Value The PF1Value. ### PF20MaxContinousShots Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf20maxcontinousshots.md #### Cr2PersonalFuncValuesPackage.PF20MaxContinousShots property Gets the PF20MaxContinousShots. ```csharp public ushort PF20MaxContinousShots { get; } ``` ##### Property Value The PF20MaxContinousShots. ### PF23FELockTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf23felocktime.md #### Cr2PersonalFuncValuesPackage.PF23FELockTime property Gets the PF23FELockTime. ```csharp public ushort PF23FELockTime { get; } ``` ##### Property Value The PF23FELockTime. ### PF23PostReleaseTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf23postreleasetime.md #### Cr2PersonalFuncValuesPackage.PF23PostReleaseTime property Gets the PF23PostReleaseTime. ```csharp public ushort PF23PostReleaseTime { get; } ``` ##### Property Value The PF23PostReleaseTime. ### PF23ShutterButtonTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf23shutterbuttontime.md #### Cr2PersonalFuncValuesPackage.PF23ShutterButtonTime property Gets the PF23ShutterButtonTime. ```csharp public ushort PF23ShutterButtonTime { get; } ``` ##### Property Value The PF23ShutterButtonTime. ### PF25AEMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25aemode.md #### Cr2PersonalFuncValuesPackage.PF25AEMode property Gets the PF25AEMode. ```csharp public ushort PF25AEMode { get; } ``` ##### Property Value The PF25AEMode. ### PF25AFMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25afmode.md #### Cr2PersonalFuncValuesPackage.PF25AFMode property Gets the PF25AFMode. ```csharp public ushort PF25AFMode { get; } ``` ##### Property Value The PF25AFMode. ### PF25AFPointSel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25afpointsel.md #### Cr2PersonalFuncValuesPackage.PF25AFPointSel property Gets the PF25AFPointSel. ```csharp public ushort PF25AFPointSel { get; } ``` ##### Property Value The PF25AFPointSel. ### PF25ColorMatrix Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25colormatrix.md #### Cr2PersonalFuncValuesPackage.PF25ColorMatrix property Gets the PF25ColorMatrix. ```csharp public ushort PF25ColorMatrix { get; } ``` ##### Property Value The PF25ColorMatrix. ### PF25DriveMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25drivemode.md #### Cr2PersonalFuncValuesPackage.PF25DriveMode property Gets the PF25DriveMode. ```csharp public ushort PF25DriveMode { get; } ``` ##### Property Value The PF25DriveMode. ### PF25ImageSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25imagesize.md #### Cr2PersonalFuncValuesPackage.PF25ImageSize property Gets the PF25ImageSize. ```csharp public ushort PF25ImageSize { get; } ``` ##### Property Value The PF25ImageSize. ### PF25MeteringMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25meteringmode.md #### Cr2PersonalFuncValuesPackage.PF25MeteringMode property Gets the PF25MeteringMode. ```csharp public ushort PF25MeteringMode { get; } ``` ##### Property Value The PF25MeteringMode. ### PF25Parameters Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25parameters.md #### Cr2PersonalFuncValuesPackage.PF25Parameters property Gets the PF25Parameters. ```csharp public ushort PF25Parameters { get; } ``` ##### Property Value The PF25Parameters. ### PF25WBMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25wbmode.md #### Cr2PersonalFuncValuesPackage.PF25WBMode property Gets the PF25WBMode. ```csharp public ushort PF25WBMode { get; } ``` ##### Property Value The PF25WBMode. ### PF27Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf27value.md #### Cr2PersonalFuncValuesPackage.PF27Value property Gets the PF27Value. ```csharp public ushort PF27Value { get; } ``` ##### Property Value The PF27Value. ### PF2Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf2value.md #### Cr2PersonalFuncValuesPackage.PF2Value property Gets the PF2Value. ```csharp public ushort PF2Value { get; } ``` ##### Property Value The PF2Value. ### PF3Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf3value.md #### Cr2PersonalFuncValuesPackage.PF3Value property Gets the PF3Value. ```csharp public ushort PF3Value { get; } ``` ##### Property Value The PF3Value. ### PF4ExposureTimeMax Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf4exposuretimemax.md #### Cr2PersonalFuncValuesPackage.PF4ExposureTimeMax property Gets the PF4ExposureTimeMax. ```csharp public ushort PF4ExposureTimeMax { get; } ``` ##### Property Value The PF4ExposureTimeMax. ### PF4ExposureTimeMin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf4exposuretimemin.md #### Cr2PersonalFuncValuesPackage.PF4ExposureTimeMin property Gets the PF4ExposureTimeMin. ```csharp public ushort PF4ExposureTimeMin { get; } ``` ##### Property Value The PF4ExposureTimeMin. ### PF5ApertureMax Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf5aperturemax.md #### Cr2PersonalFuncValuesPackage.PF5ApertureMax property Gets the PF5ApertureMax. ```csharp public ushort PF5ApertureMax { get; } ``` ##### Property Value The PF5ApertureMax. ### PF5ApertureMin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf5aperturemin.md #### Cr2PersonalFuncValuesPackage.PF5ApertureMin property Gets the PF5ApertureMin. ```csharp public ushort PF5ApertureMin { get; } ``` ##### Property Value The PF5ApertureMin. ### PF8BracketShots Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf8bracketshots.md #### Cr2PersonalFuncValuesPackage.PF8BracketShots property Gets the PF8BracketShots. ```csharp public ushort PF8BracketShots { get; } ``` ##### Property Value The PF8BracketShots. ### Cr2ProcessingIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingindex.md #### Cr2ProcessingIndex enumeration Defines ids of Cr2Processing tags. ```csharp public enum Cr2ProcessingIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | ToneCurve | `1` | Indicates the ToneCurve. | | Sharpness | `2` | Indicates the Sharpness. | | SharpnessFrequency | `3` | Indicates the SharpnessFrequency. | | SensorRedLevel | `4` | Indicates the SensorRedLevel. | | SensorBlueLevel | `5` | Indicates the SensorBlueLevel. | | WhiteBalanceRed | `6` | Indicates the WhiteBalanceRed. | | WhiteBalanceBlue | `7` | Indicates the WhiteBalanceBlue. | | WhiteBalance | `8` | Indicates the WhiteBalance. | | ColorTemperature | `9` | Indicates the ColorTemperature. | | PictureStyle | `10` | Indicates the PictureStyle. | | DigitalGain | `11` | Indicates the DigitalGain. | | WBShiftAB | `12` | Indicates the WBShiftAB. | | WBShiftGM | `13` | Indicates the WBShiftGM. | ### Cr2ProcessingPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage.md #### Cr2ProcessingPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2ProcessingPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2ProcessingPackage() | Initializes a new instance of the `Cr2ProcessingPackage` class. | #### Properties | Name | Description | | --- | --- | | ColorTemperature { get; } | Gets the ColorTemperature. | | Count { get; } | Gets the number of metadata properties. | | DigitalGain { get; } | Gets the DigitalGain. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PictureStyle { get; } | Gets the PictureStyle. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SensorBlueLevel { get; } | Gets the SensorBlueLevel. | | SensorRedLevel { get; } | Gets the SensorRedLevel. | | Sharpness { get; } | Gets the Sharpness. | | SharpnessFrequency { get; } | Gets the SharpnessFrequency. | | ToneCurve { get; } | Gets the ToneCurve. | | WBShiftAB { get; } | Gets the WBShiftAB. | | WBShiftGM { get; } | Gets the WBShiftGM. | | WhiteBalance { get; } | Gets the WhiteBalance. | | WhiteBalanceBlue { get; } | Gets the WhiteBalanceBlue. | | WhiteBalanceRed { get; } | Gets the WhiteBalanceRed. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ColorTemperature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/colortemperature.md #### Cr2ProcessingPackage.ColorTemperature property Gets the ColorTemperature. ```csharp public ushort ColorTemperature { get; } ``` ##### Property Value The ColorTemperature. ### Cr2ProcessingPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/cr2processingpackage.md #### Cr2ProcessingPackage constructor Initializes a new instance of the `Cr2ProcessingPackage` class. ```csharp public Cr2ProcessingPackage() ``` ### DigitalGain Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/digitalgain.md #### Cr2ProcessingPackage.DigitalGain property Gets the DigitalGain. ```csharp public ushort DigitalGain { get; } ``` ##### Property Value The DigitalGain. ### PictureStyle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/picturestyle.md #### Cr2ProcessingPackage.PictureStyle property Gets the PictureStyle. ```csharp public ushort PictureStyle { get; } ``` ##### Property Value The PictureStyle. ### SensorBlueLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sensorbluelevel.md #### Cr2ProcessingPackage.SensorBlueLevel property Gets the SensorBlueLevel. ```csharp public ushort SensorBlueLevel { get; } ``` ##### Property Value The SensorBlueLevel. ### SensorRedLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sensorredlevel.md #### Cr2ProcessingPackage.SensorRedLevel property Gets the SensorRedLevel. ```csharp public ushort SensorRedLevel { get; } ``` ##### Property Value The SensorRedLevel. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sharpness.md #### Cr2ProcessingPackage.Sharpness property Gets the Sharpness. ```csharp public ushort Sharpness { get; } ``` ##### Property Value The Sharpness. ### SharpnessFrequency Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sharpnessfrequency.md #### Cr2ProcessingPackage.SharpnessFrequency property Gets the SharpnessFrequency. ```csharp public ushort SharpnessFrequency { get; } ``` ##### Property Value The SharpnessFrequency. ### ToneCurve Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/tonecurve.md #### Cr2ProcessingPackage.ToneCurve property Gets the ToneCurve. ```csharp public ushort ToneCurve { get; } ``` ##### Property Value The ToneCurve. ### WBShiftAB Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/wbshiftab.md #### Cr2ProcessingPackage.WBShiftAB property Gets the WBShiftAB. ```csharp public ushort WBShiftAB { get; } ``` ##### Property Value The WBShiftAB. ### WBShiftGM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/wbshiftgm.md #### Cr2ProcessingPackage.WBShiftGM property Gets the WBShiftGM. ```csharp public ushort WBShiftGM { get; } ``` ##### Property Value The WBShiftGM. ### WhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/whitebalance.md #### Cr2ProcessingPackage.WhiteBalance property Gets the WhiteBalance. ```csharp public ushort WhiteBalance { get; } ``` ##### Property Value The WhiteBalance. ### WhiteBalanceBlue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/whitebalanceblue.md #### Cr2ProcessingPackage.WhiteBalanceBlue property Gets the WhiteBalanceBlue. ```csharp public ushort WhiteBalanceBlue { get; } ``` ##### Property Value The WhiteBalanceBlue. ### WhiteBalanceRed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/whitebalancered.md #### Cr2ProcessingPackage.WhiteBalanceRed property Gets the WhiteBalanceRed. ```csharp public ushort WhiteBalanceRed { get; } ``` ##### Property Value The WhiteBalanceRed. ### Cr2RootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage.md #### Cr2RootPackage class Represents an entry point to all metadata packages presented in a particular file CR2. ```csharp public class Cr2RootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Cr2Package { get; } | Gets the CR2 header metadata package. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/cr2package.md #### Cr2RootPackage.Cr2Package property Gets the CR2 header metadata package. ```csharp public Cr2Package Cr2Package { get; } ``` ##### Property Value The CR2 header metadata package. ### Cr2SensorInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfoindex.md #### Cr2SensorInfoIndex enumeration Defines ids of Cr2SensorInfo tags. ```csharp public enum Cr2SensorInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | SensorWidth | `1` | Indicates the SensorWidth. | | SensorHeight | `2` | Indicates the SensorHeight. | | Unknown2 | `3` | Unknown tag. | | Unknown3 | `4` | Unknown tag. | | SensorLeftBorder | `5` | Indicates the SensorLeftBorder. | | SensorTopBorder | `6` | Indicates the SensorTopBorder. | | SensorRightBorder | `7` | Indicates the SensorRightBorder. | | SensorBottomBorder | `8` | Indicates the SensorBottomBorder. | | BlackMaskLeftBorder | `9` | Indicates the BlackMaskLeftBorder. | | BlackMaskTopBorder | `10` | Indicates the BlackMaskTopBorder. | | BlackMaskRightBorder | `11` | Indicates the BlackMaskRightBorder. | | BlackMaskBottomBorder | `12` | Indicates the BlackMaskBottomBorder. | ### Cr2SensorInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage.md #### Cr2SensorInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2SensorInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2SensorInfoPackage() | Initializes a new instance of the `Cr2SensorInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | BlackMaskBottomBorder { get; } | Gets the BlackMaskBottomBorder. | | BlackMaskLeftBorder { get; } | Gets the BlackMaskLeftBorder. | | BlackMaskRightBorder { get; } | Gets the BlackMaskRightBorder. | | BlackMaskTopBorder { get; } | Gets the BlackMaskTopBorder. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SensorBottomBorder { get; } | Gets the SensorBottomBorder. | | SensorHeight { get; } | Gets the SensorHeight. | | SensorLeftBorder { get; } | Gets the SensorLeftBorder. | | SensorRightBorder { get; } | Gets the SensorRightBorder. | | SensorTopBorder { get; } | Gets the SensorTopBorder. | | SensorWidth { get; } | Gets the SensorWidth. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BlackMaskBottomBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/blackmaskbottomborder.md #### Cr2SensorInfoPackage.BlackMaskBottomBorder property Gets the BlackMaskBottomBorder. ```csharp public ushort BlackMaskBottomBorder { get; } ``` ##### Property Value The BlackMaskBottomBorder. ### BlackMaskLeftBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/blackmaskleftborder.md #### Cr2SensorInfoPackage.BlackMaskLeftBorder property Gets the BlackMaskLeftBorder. ```csharp public ushort BlackMaskLeftBorder { get; } ``` ##### Property Value The BlackMaskLeftBorder. ### BlackMaskRightBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/blackmaskrightborder.md #### Cr2SensorInfoPackage.BlackMaskRightBorder property Gets the BlackMaskRightBorder. ```csharp public ushort BlackMaskRightBorder { get; } ``` ##### Property Value The BlackMaskRightBorder. ### BlackMaskTopBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/blackmasktopborder.md #### Cr2SensorInfoPackage.BlackMaskTopBorder property Gets the BlackMaskTopBorder. ```csharp public ushort BlackMaskTopBorder { get; } ``` ##### Property Value The BlackMaskTopBorder. ### Cr2SensorInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/cr2sensorinfopackage.md #### Cr2SensorInfoPackage constructor Initializes a new instance of the `Cr2SensorInfoPackage` class. ```csharp public Cr2SensorInfoPackage() ``` ### SensorBottomBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensorbottomborder.md #### Cr2SensorInfoPackage.SensorBottomBorder property Gets the SensorBottomBorder. ```csharp public ushort SensorBottomBorder { get; } ``` ##### Property Value The SensorBottomBorder. ### SensorHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensorheight.md #### Cr2SensorInfoPackage.SensorHeight property Gets the SensorHeight. ```csharp public ushort SensorHeight { get; } ``` ##### Property Value The SensorHeight. ### SensorLeftBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensorleftborder.md #### Cr2SensorInfoPackage.SensorLeftBorder property Gets the SensorLeftBorder. ```csharp public ushort SensorLeftBorder { get; } ``` ##### Property Value The SensorLeftBorder. ### SensorRightBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensorrightborder.md #### Cr2SensorInfoPackage.SensorRightBorder property Gets the SensorRightBorder. ```csharp public ushort SensorRightBorder { get; } ``` ##### Property Value The SensorRightBorder. ### SensorTopBorder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensortopborder.md #### Cr2SensorInfoPackage.SensorTopBorder property Gets the SensorTopBorder. ```csharp public ushort SensorTopBorder { get; } ``` ##### Property Value The SensorTopBorder. ### SensorWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensorwidth.md #### Cr2SensorInfoPackage.SensorWidth property Gets the SensorWidth. ```csharp public ushort SensorWidth { get; } ``` ##### Property Value The SensorWidth. ### Cr2ShotInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfoindex.md #### Cr2ShotInfoIndex enumeration Defines ids of Cr2ShotInfo tags. ```csharp public enum Cr2ShotInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | AutoISO | `1` | Indicates the AutoISO. | | BaseISO | `2` | Indicates the BaseISO. | | MeasuredEV | `3` | Indicates the MeasuredEV. | | TargetAperture | `4` | Indicates the TargetAperture. | | TargetExposureTime | `5` | Indicates the TargetExposureTime. | | ExposureCompensation | `6` | Indicates the ExposureCompensation. | | WhiteBalance | `7` | Indicates the WhiteBalance. | | SlowShutter | `8` | Indicates the SlowShutter. | | SequenceNumber | `9` | Indicates the SequenceNumber. | | OpticalZoomCode | `10` | Indicates the OpticalZoomCode. | | Unknown2 | `11` | Unknown tag. | | CameraTemperature | `12` | Indicates the CameraTemperature. | | FlashGuideNumber | `13` | Indicates the FlashGuideNumber. | | AFPointsInFocus | `14` | Indicates the AFPointsInFocus. | | FlashExposureComp | `15` | Indicates the FlashExposureComp. | | AutoExposureBracketing | `16` | Indicates the AutoExposureBracketing. | | AEBBracketValue | `17` | Indicates the AEBBracketValue. | | ControlMode | `18` | Indicates the ControlMode. | | FocusDistanceUpper | `19` | Indicates the FocusDistanceUpper. | | FocusDistanceLower | `20` | Indicates the FocusDistanceLower. | | FNumber | `21` | Indicates the FNumber. | | ExposureTime | `22` | Indicates the ExposureTime. | | MeasuredEV2 | `23` | Indicates the MeasuredEV2. | | BulbDuration | `24` | Indicates the BulbDuration. | | Unknown3 | `25` | Unknown tag. | | CameraType | `26` | Indicates the CameraType. | | AutoRotate | `27` | Indicates the AutoRotate. | | NDFilter | `28` | Indicates the NDFilter. | | SelfTimer2 | `29` | Indicates the SelfTimer2. | | Unknown4 | `30` | Unknown tag. | | Unknown5 | `31` | Unknown tag. | | Unknown6 | `32` | Unknown tag. | | FlashOutput | `33` | Indicates the FlashOutput. | ### Cr2ShotInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage.md #### Cr2ShotInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2ShotInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2ShotInfoPackage() | Initializes a new instance of the `Cr2ShotInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | AEBBracketValue { get; } | Gets the AEBBracketValue. | | AFPointsInFocus { get; } | Gets the AFPointsInFocus. | | AutoExposureBracketing { get; } | Gets the AutoExposureBracketing. | | AutoISO { get; } | Gets the AutoISO. | | AutoRotate { get; } | Gets the AutoRotate. | | BaseISO { get; } | Gets the BaseISO. | | BulbDuration { get; } | Gets the BulbDuration. | | CameraTemperature { get; } | Gets the CameraTemperature. | | CameraType { get; } | Gets the CameraType. | | ControlMode { get; } | Gets the ControlMode. | | Count { get; } | Gets the number of metadata properties. | | ExposureCompensation { get; } | Gets the ExposureCompensation. | | ExposureTime { get; } | Gets the ExposureTime. | | FlashExposureComp { get; } | Gets the FlashExposureComp. | | FlashGuideNumber { get; } | Gets the FlashGuideNumber. | | FlashOutput { get; } | Gets the FlashOutput. | | FNumber { get; } | Gets the FNumber. | | FocusDistanceLower { get; } | Gets the FocusDistanceLower. | | FocusDistanceUpper { get; } | Gets the FocusDistanceUpper. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MeasuredEV { get; } | Gets the MeasuredEV. | | MeasuredEV2 { get; } | Gets the MeasuredEV2. | | MetadataType { get; } | Gets the metadata type. | | NDFilter { get; } | Gets the NDFilter. | | OpticalZoomCode { get; } | Gets the OpticalZoomCode. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SelfTimer2 { get; } | Gets the SelfTimer2. | | SequenceNumber { get; } | Gets the SequenceNumber. | | SlowShutter { get; } | Gets the SlowShutter. | | TargetAperture { get; } | Gets the TargetAperture. | | TargetExposureTime { get; } | Gets the TargetExposureTime. | | WhiteBalance { get; } | Gets the WhiteBalance. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AEBBracketValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/aebbracketvalue.md #### Cr2ShotInfoPackage.AEBBracketValue property Gets the AEBBracketValue. ```csharp public ushort AEBBracketValue { get; } ``` ##### Property Value The AEBBracketValue. ### AFPointsInFocus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/afpointsinfocus.md #### Cr2ShotInfoPackage.AFPointsInFocus property Gets the AFPointsInFocus. ```csharp public ushort AFPointsInFocus { get; } ``` ##### Property Value The AFPointsInFocus. ### AutoExposureBracketing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/autoexposurebracketing.md #### Cr2ShotInfoPackage.AutoExposureBracketing property Gets the AutoExposureBracketing. ```csharp public ushort AutoExposureBracketing { get; } ``` ##### Property Value The AutoExposureBracketing. ### AutoISO Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/autoiso.md #### Cr2ShotInfoPackage.AutoISO property Gets the AutoISO. ```csharp public ushort AutoISO { get; } ``` ##### Property Value The AutoISO. ### AutoRotate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/autorotate.md #### Cr2ShotInfoPackage.AutoRotate property Gets the AutoRotate. ```csharp public ushort AutoRotate { get; } ``` ##### Property Value The AutoRotate. ### BaseISO Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/baseiso.md #### Cr2ShotInfoPackage.BaseISO property Gets the BaseISO. ```csharp public ushort BaseISO { get; } ``` ##### Property Value The BaseISO. ### BulbDuration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/bulbduration.md #### Cr2ShotInfoPackage.BulbDuration property Gets the BulbDuration. ```csharp public ushort BulbDuration { get; } ``` ##### Property Value The BulbDuration. ### CameraTemperature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/cameratemperature.md #### Cr2ShotInfoPackage.CameraTemperature property Gets the CameraTemperature. ```csharp public ushort CameraTemperature { get; } ``` ##### Property Value The CameraTemperature. ### CameraType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/cameratype.md #### Cr2ShotInfoPackage.CameraType property Gets the CameraType. ```csharp public ushort CameraType { get; } ``` ##### Property Value The CameraType. ### ControlMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/controlmode.md #### Cr2ShotInfoPackage.ControlMode property Gets the ControlMode. ```csharp public ushort ControlMode { get; } ``` ##### Property Value The ControlMode. ### Cr2ShotInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/cr2shotinfopackage.md #### Cr2ShotInfoPackage constructor Initializes a new instance of the `Cr2ShotInfoPackage` class. ```csharp public Cr2ShotInfoPackage() ``` ### ExposureCompensation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/exposurecompensation.md #### Cr2ShotInfoPackage.ExposureCompensation property Gets the ExposureCompensation. ```csharp public ushort ExposureCompensation { get; } ``` ##### Property Value The ExposureCompensation. ### ExposureTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/exposuretime.md #### Cr2ShotInfoPackage.ExposureTime property Gets the ExposureTime. ```csharp public ushort ExposureTime { get; } ``` ##### Property Value The ExposureTime. ### FlashExposureComp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/flashexposurecomp.md #### Cr2ShotInfoPackage.FlashExposureComp property Gets the FlashExposureComp. ```csharp public ushort FlashExposureComp { get; } ``` ##### Property Value The FlashExposureComp. ### FlashGuideNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/flashguidenumber.md #### Cr2ShotInfoPackage.FlashGuideNumber property Gets the FlashGuideNumber. ```csharp public ushort FlashGuideNumber { get; } ``` ##### Property Value The FlashGuideNumber. ### FlashOutput Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/flashoutput.md #### Cr2ShotInfoPackage.FlashOutput property Gets the FlashOutput. ```csharp public ushort FlashOutput { get; } ``` ##### Property Value The FlashOutput. ### FNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/fnumber.md #### Cr2ShotInfoPackage.FNumber property Gets the FNumber. ```csharp public ushort FNumber { get; } ``` ##### Property Value The FNumber. ### FocusDistanceLower Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/focusdistancelower.md #### Cr2ShotInfoPackage.FocusDistanceLower property Gets the FocusDistanceLower. ```csharp public ushort FocusDistanceLower { get; } ``` ##### Property Value The FocusDistanceLower. ### FocusDistanceUpper Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/focusdistanceupper.md #### Cr2ShotInfoPackage.FocusDistanceUpper property Gets the FocusDistanceUpper. ```csharp public ushort FocusDistanceUpper { get; } ``` ##### Property Value The FocusDistanceUpper. ### MeasuredEV Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/measuredev.md #### Cr2ShotInfoPackage.MeasuredEV property Gets the MeasuredEV. ```csharp public ushort MeasuredEV { get; } ``` ##### Property Value The MeasuredEV. ### MeasuredEV2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/measuredev2.md #### Cr2ShotInfoPackage.MeasuredEV2 property Gets the MeasuredEV2. ```csharp public ushort MeasuredEV2 { get; } ``` ##### Property Value The MeasuredEV2. ### NDFilter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/ndfilter.md #### Cr2ShotInfoPackage.NDFilter property Gets the NDFilter. ```csharp public ushort NDFilter { get; } ``` ##### Property Value The NDFilter. ### OpticalZoomCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/opticalzoomcode.md #### Cr2ShotInfoPackage.OpticalZoomCode property Gets the OpticalZoomCode. ```csharp public ushort OpticalZoomCode { get; } ``` ##### Property Value The OpticalZoomCode. ### SelfTimer2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/selftimer2.md #### Cr2ShotInfoPackage.SelfTimer2 property Gets the SelfTimer2. ```csharp public ushort SelfTimer2 { get; } ``` ##### Property Value The SelfTimer2. ### SequenceNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/sequencenumber.md #### Cr2ShotInfoPackage.SequenceNumber property Gets the SequenceNumber. ```csharp public ushort SequenceNumber { get; } ``` ##### Property Value The SequenceNumber. ### SlowShutter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/slowshutter.md #### Cr2ShotInfoPackage.SlowShutter property Gets the SlowShutter. ```csharp public ushort SlowShutter { get; } ``` ##### Property Value The SlowShutter. ### TargetAperture Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/targetaperture.md #### Cr2ShotInfoPackage.TargetAperture property Gets the TargetAperture. ```csharp public ushort TargetAperture { get; } ``` ##### Property Value The TargetAperture. ### TargetExposureTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/targetexposuretime.md #### Cr2ShotInfoPackage.TargetExposureTime property Gets the TargetExposureTime. ```csharp public ushort TargetExposureTime { get; } ``` ##### Property Value The TargetExposureTime. ### WhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/whitebalance.md #### Cr2ShotInfoPackage.WhiteBalance property Gets the WhiteBalance. ```csharp public ushort WhiteBalance { get; } ``` ##### Property Value The WhiteBalance. ### Cr2TimeInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2timeinfoindex.md #### Cr2TimeInfoIndex enumeration Defines ids of Cr2TimeInfo tags. ```csharp public enum Cr2TimeInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown1 | `0` | Unknown tag. | | TimeZone | `1` | Indicates the TimeZone. | | TimeZoneCity | `2` | Indicates the TimeZoneCity. | | DaylightSavings | `3` | Indicates the DaylightSavings. | ### Cr2TimeInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage.md #### Cr2TimeInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2TimeInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2TimeInfoPackage() | Initializes a new instance of the `Cr2TimeInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DaylightSavings { get; } | Gets the DaylightSavings. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TimeZone { get; } | Gets the TimeZone. | | TimeZoneCity { get; } | Gets the TimeZoneCity. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2TimeInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/cr2timeinfopackage.md #### Cr2TimeInfoPackage constructor Initializes a new instance of the `Cr2TimeInfoPackage` class. ```csharp public Cr2TimeInfoPackage() ``` ### DaylightSavings Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/daylightsavings.md #### Cr2TimeInfoPackage.DaylightSavings property Gets the DaylightSavings. ```csharp public int DaylightSavings { get; } ``` ##### Property Value The DaylightSavings. ### TimeZone Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/timezone.md #### Cr2TimeInfoPackage.TimeZone property Gets the TimeZone. ```csharp public int TimeZone { get; } ``` ##### Property Value The TimeZone. ### TimeZoneCity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/timezonecity.md #### Cr2TimeInfoPackage.TimeZoneCity property Gets the TimeZoneCity. ```csharp public int TimeZoneCity { get; } ``` ##### Property Value The TimeZoneCity. ### Cr2VignettingCorr2Index Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2index.md #### Cr2VignettingCorr2Index enumeration Defines ids of Cr2VignettingCorr2 tags. ```csharp public enum Cr2VignettingCorr2Index ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PeripheralLightingSetting | `5` | Indicates the PeripheralLightingSetting. | | ChromaticAberrationSetting | `6` | Indicates the ChromaticAberrationSetting. | | DistortionCorrectionSetting | `7` | Indicates the DistortionCorrectionSetting. | | DigitalLensOptimizerSetting | `9` | Indicates the DigitalLensOptimizerSetting. | ### Cr2VignettingCorr2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package.md #### Cr2VignettingCorr2Package class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2VignettingCorr2Package : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2VignettingCorr2Package() | Initializes a new instance of the `Cr2VignettingCorr2Package` class. | #### Properties | Name | Description | | --- | --- | | ChromaticAberrationSetting { get; } | Gets the ChromaticAberrationSetting. | | Count { get; } | Gets the number of metadata properties. | | DigitalLensOptimizerSetting { get; } | Gets the DigitalLensOptimizerSetting. | | DistortionCorrectionSetting { get; } | Gets the DistortionCorrectionSetting. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PeripheralLightingSetting { get; } | Gets the PeripheralLightingSetting. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ChromaticAberrationSetting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/chromaticaberrationsetting.md #### Cr2VignettingCorr2Package.ChromaticAberrationSetting property Gets the ChromaticAberrationSetting. ```csharp public int ChromaticAberrationSetting { get; } ``` ##### Property Value The ChromaticAberrationSetting. ### Cr2VignettingCorr2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/cr2vignettingcorr2package.md #### Cr2VignettingCorr2Package constructor Initializes a new instance of the `Cr2VignettingCorr2Package` class. ```csharp public Cr2VignettingCorr2Package() ``` ### DigitalLensOptimizerSetting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/digitallensoptimizersetting.md #### Cr2VignettingCorr2Package.DigitalLensOptimizerSetting property Gets the DigitalLensOptimizerSetting. ```csharp public int DigitalLensOptimizerSetting { get; } ``` ##### Property Value The DigitalLensOptimizerSetting. ### DistortionCorrectionSetting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/distortioncorrectionsetting.md #### Cr2VignettingCorr2Package.DistortionCorrectionSetting property Gets the DistortionCorrectionSetting. ```csharp public int DistortionCorrectionSetting { get; } ``` ##### Property Value The DistortionCorrectionSetting. ### PeripheralLightingSetting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/peripherallightingsetting.md #### Cr2VignettingCorr2Package.PeripheralLightingSetting property Gets the PeripheralLightingSetting. ```csharp public int PeripheralLightingSetting { get; } ``` ##### Property Value The PeripheralLightingSetting. ### Cr2WBInfoIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfoindex.md #### Cr2WBInfoIndex enumeration Defines ids of Cr2WBInfo tags. ```csharp public enum Cr2WBInfoIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | WB_GRBGLevelsAuto | `2` | Indicates the WB_GRBGLevelsAuto. | | Unknown1 | `3` | Unknown tag. | | WB_GRBGLevelsDaylight | `10` | Indicates the WB_GRBGLevelsDaylight. | | Unknown2 | `11` | Unknown tag. | | WB_GRBGLevelsCloudy | `18` | Indicates the WB_GRBGLevelsCloudy. | | Unknown3 | `19` | Unknown tag. | | WB_GRBGLevelsTungsten | `26` | Indicates the WB_GRBGLevelsTungsten. | | Unknown4 | `27` | Unknown tag. | | WB_GRBGLevelsFluorescent | `34` | Indicates the WB_GRBGLevelsFluorescent. | | Unknown5 | `35` | Unknown tag. | | WB_GRBGLevelsFluorHigh | `42` | Indicates the WB_GRBGLevelsFluorHigh. | | Unknown6 | `43` | Unknown tag. | | WB_GRBGLevelsFlash | `50` | Indicates the WB_GRBGLevelsFlash. | | Unknown7 | `51` | Unknown tag. | | WB_GRBGLevelsUnderwater | `58` | Indicates the WB_GRBGLevelsUnderwater. | | Unknown8 | `59` | Unknown tag. | | WB_GRBGLevelsCustom1 | `66` | Indicates the WB_GRBGLevelsCustom1. | | Unknown9 | `67` | Unknown tag. | | WB_GRBGLevelsCustom2 | `74` | Indicates the WB_GRBGLevelsCustom2. | ### Cr2WBInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage.md #### Cr2WBInfoPackage class Represents Canon MakerNotes tags. ```csharp public sealed class Cr2WBInfoPackage : RawDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | Cr2WBInfoPackage() | Initializes a new instance of the `Cr2WBInfoPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | WB_GRBGLevelsAuto { get; } | Gets the WB_GRBGLevelsAuto. | | WB_GRBGLevelsCloudy { get; } | Gets the WB_GRBGLevelsCloudy. | | WB_GRBGLevelsCustom1 { get; } | Gets the WB_GRBGLevelsCustom1. | | WB_GRBGLevelsCustom2 { get; } | Gets the WB_GRBGLevelsCustom2. | | WB_GRBGLevelsDaylight { get; } | Gets the WB_GRBGLevelsDaylight. | | WB_GRBGLevelsFlash { get; } | Gets the WB_GRBGLevelsFlash. | | WB_GRBGLevelsFluorescent { get; } | Gets the WB_GRBGLevelsFluorescent. | | WB_GRBGLevelsFluorHigh { get; } | Gets the WB_GRBGLevelsFluorHigh. | | WB_GRBGLevelsTungsten { get; } | Gets the WB_GRBGLevelsTungsten. | | WB_GRBGLevelsUnderwater { get; } | Gets the WB_GRBGLevelsUnderwater. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Cr2WBInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/cr2wbinfopackage.md #### Cr2WBInfoPackage constructor Initializes a new instance of the `Cr2WBInfoPackage` class. ```csharp public Cr2WBInfoPackage() ``` ### WB_GRBGLevelsAuto Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelsauto.md #### Cr2WBInfoPackage.WB_GRBGLevelsAuto property Gets the WB_GRBGLevelsAuto. ```csharp public int[] WB_GRBGLevelsAuto { get; } ``` ##### Property Value The WB_GRBGLevelsAuto. ### WB_GRBGLevelsCloudy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelscloudy.md #### Cr2WBInfoPackage.WB_GRBGLevelsCloudy property Gets the WB_GRBGLevelsCloudy. ```csharp public int[] WB_GRBGLevelsCloudy { get; } ``` ##### Property Value The WB_GRBGLevelsCloudy. ### WB_GRBGLevelsCustom1 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelscustom1.md #### Cr2WBInfoPackage.WB_GRBGLevelsCustom1 property Gets the WB_GRBGLevelsCustom1. ```csharp public int[] WB_GRBGLevelsCustom1 { get; } ``` ##### Property Value The WB_GRBGLevelsCustom1. ### WB_GRBGLevelsCustom2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelscustom2.md #### Cr2WBInfoPackage.WB_GRBGLevelsCustom2 property Gets the WB_GRBGLevelsCustom2. ```csharp public int[] WB_GRBGLevelsCustom2 { get; } ``` ##### Property Value The WB_GRBGLevelsCustom2. ### WB_GRBGLevelsDaylight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelsdaylight.md #### Cr2WBInfoPackage.WB_GRBGLevelsDaylight property Gets the WB_GRBGLevelsDaylight. ```csharp public int[] WB_GRBGLevelsDaylight { get; } ``` ##### Property Value The WB_GRBGLevelsDaylight. ### WB_GRBGLevelsFlash Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelsflash.md #### Cr2WBInfoPackage.WB_GRBGLevelsFlash property Gets the WB_GRBGLevelsFlash. ```csharp public int[] WB_GRBGLevelsFlash { get; } ``` ##### Property Value The WB_GRBGLevelsFlash. ### WB_GRBGLevelsFluorescent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelsfluorescent.md #### Cr2WBInfoPackage.WB_GRBGLevelsFluorescent property Gets the WB_GRBGLevelsFluorescent. ```csharp public int[] WB_GRBGLevelsFluorescent { get; } ``` ##### Property Value The WB_GRBGLevelsFluorescent. ### WB_GRBGLevelsFluorHigh Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelsfluorhigh.md #### Cr2WBInfoPackage.WB_GRBGLevelsFluorHigh property Gets the WB_GRBGLevelsFluorHigh. ```csharp public int[] WB_GRBGLevelsFluorHigh { get; } ``` ##### Property Value The WB_GRBGLevelsFluorHigh. ### WB_GRBGLevelsTungsten Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelstungsten.md #### Cr2WBInfoPackage.WB_GRBGLevelsTungsten property Gets the WB_GRBGLevelsTungsten. ```csharp public int[] WB_GRBGLevelsTungsten { get; } ``` ##### Property Value The WB_GRBGLevelsTungsten. ### WB_GRBGLevelsUnderwater Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbglevelsunderwater.md #### Cr2WBInfoPackage.WB_GRBGLevelsUnderwater property Gets the WB_GRBGLevelsUnderwater. ```csharp public int[] WB_GRBGLevelsUnderwater { get; } ``` ##### Property Value The WB_GRBGLevelsUnderwater. ### GroupDocs.Metadata.Formats.Raw.Tag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag.md #### Classes | Class | Description | | --- | --- | | RawArrayTag<T> | Represents an array-based TIFF tag. | | RawAsciiTag | Represents a Raw ASCII tag. | | RawByteTag | Represents an byte-based TIFF tag. | | RawLongTag | Represents a Raw Long tag. | | RawShortTag | Represents a Raw Short tag. | | RawTag | Represents a RawTag property. | ### RawArrayTagT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawarraytag-1.md #### RawArrayTag<T> class Represents an array-based TIFF tag. ```csharp public abstract class RawArrayTag : RawTag ``` | Parameter | Description | | --- | --- | | T | The type of array values. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawarraytag-1/equals.md #### RawArrayTag<T>.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawarraytag-1/gethashcode.md #### RawArrayTag<T>.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### TagValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawarraytag-1/tagvalue.md #### RawArrayTag<T>.TagValue property Gets the tag value. ```csharp public T[] TagValue { get; } ``` ##### Property Value The tag value. ### RawAsciiTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawasciitag.md #### RawAsciiTag class Represents a Raw ASCII tag. ```csharp public sealed class RawAsciiTag : RawTag ``` #### Constructors | Name | Description | | --- | --- | | RawAsciiTag(uint, string) | Initializes a new instance of the `RawAsciiTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawasciitag/equals.md #### RawAsciiTag.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawasciitag/gethashcode.md #### RawAsciiTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawAsciiTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawasciitag/rawasciitag.md #### RawAsciiTag constructor Initializes a new instance of the `RawAsciiTag` class. ```csharp public RawAsciiTag(uint tagID, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | String | The value. | ### TagValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawasciitag/tagvalue.md #### RawAsciiTag.TagValue property Gets the tag value. ```csharp public string TagValue { get; } ``` ##### Property Value The tag value. ### RawByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawbytetag.md #### RawByteTag class Represents an byte-based TIFF tag. ```csharp public sealed class RawByteTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawByteTag(uint, byte[]) | Initializes a new instance of the `TiffByteTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawbytetag/equals.md #### RawByteTag.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawbytetag/gethashcode.md #### RawByteTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawByteTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawbytetag/rawbytetag.md #### RawByteTag constructor Initializes a new instance of the `TiffByteTag` class. ```csharp public RawByteTag(uint tagID, byte[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | Byte[] | The value. | ### RawLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawlongtag.md #### RawLongTag class Represents a Raw Long tag. ```csharp public sealed class RawLongTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawLongTag(uint, uint[]) | Initializes a new instance of the `RawLongTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawlongtag/equals.md #### RawLongTag.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawlongtag/gethashcode.md #### RawLongTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawLongTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawlongtag/rawlongtag.md #### RawLongTag constructor Initializes a new instance of the `RawLongTag` class. ```csharp public RawLongTag(uint tagID, uint[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | UInt32[] | The value. | ### RawShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawshorttag.md #### RawShortTag class Represents a Raw Short tag. ```csharp public sealed class RawShortTag : RawArrayTag ``` #### Constructors | Name | Description | | --- | --- | | RawShortTag(uint, ushort[]) | Initializes a new instance of the `RawShortTag` class. | #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | TagValue { get; } | Gets the tag value. | | Value { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Equals method. | | override GetHashCode() | GetHashCode method. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawshorttag/equals.md #### RawShortTag.Equals method Equals method. ```csharp public override bool Equals(object obj) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawshorttag/gethashcode.md #### RawShortTag.GetHashCode method GetHashCode method. ```csharp public override int GetHashCode() ``` ### RawShortTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawshorttag/rawshorttag.md #### RawShortTag constructor Initializes a new instance of the `RawShortTag` class. ```csharp public RawShortTag(uint tagID, ushort[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | tagID | UInt32 | The tag identifier. | | value | UInt16[] | The value. | ### RawTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawtag.md #### RawTag class Represents a RawTag property. ```csharp public abstract class RawTag : MetadataProperty ``` #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | Value { get; } | Gets the property value. | ### TagID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawtag/tagid.md #### RawTag.TagID property Gets the tag id. ```csharp public uint TagID { get; } ``` ##### Property Value The tag id. ### TagType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.tag/rawtag/tagtype.md #### RawTag.TagType property Gets the type of the tag. ```csharp public RawTagType TagType { get; } ``` ##### Property Value The tag type. ### GroupDocs.Metadata.Formats.Raw Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw.md #### Classes | Class | Description | | --- | --- | | ExifTag | Represents a ExifTag property. | | GpsIfdPackage | Represents GPS IFD. | | InteroperabilityIFDPointerPackage | Represents Interoperability IFD. | | RawDictionaryBasePackage | Provides an abstract base class for EXIF metadata dictionaries. | | RawExifTagPackage | Represents Exif tags. | | RawIFD1Package | Represents IFD1 tags. | | RawIFD2Package | Represents IFD1 tags. | | RawIFD3Package | Represents IFD1 tags. | | RawMakerNotePackage | Represents Raw MakerNotes tags. | | RawPackage | Represents Raw Package. | | RawTiffTagPackage | Represents Tiff tags. | #### Enumeration | Enumeration | Description | | --- | --- | | ExifTagID | Defines ids of Exif tags. | | GpsIfdIndex | Defines ids of GpsIfd tags. | | InteroperabilityIFDPointerIndex | Defines ids of InteroperabilityIFDPointer tags. | | RawExifIndex | Defines ids of RawExif tags. | | RawTagType | Represents the IFD data type. | ### ExifTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/exiftag.md #### ExifTag class Represents a ExifTag property. ```csharp public abstract class ExifTag : MetadataProperty ``` #### Properties | Name | Description | | --- | --- | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | TagID { get; } | Gets the tag id. | | Tags { get; } | Gets a collection of tags associated with the property. | | TagType { get; } | Gets the type of the tag. | | Value { get; } | Gets the property value. | ### TagID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/exiftag/tagid.md #### ExifTag.TagID property Gets the tag id. ```csharp public ExifTagID TagID { get; } ``` ##### Property Value The tag id. ### TagType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/exiftag/tagtype.md #### ExifTag.TagType property Gets the type of the tag. ```csharp public TiffTagType TagType { get; } ``` ##### Property Value The tag type. ### ExifTagID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/exiftagid.md #### ExifTagID enumeration Defines ids of Exif tags. ```csharp public enum ExifTagID : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | ExposureTime | `33434` | Exposure Time | | FNumber | `33437` | F-Number | | ExposureProgram | `34850` | ExposureProgram | | SpectralSensitivity | `34852` | SpectralSensitivity | | GPSInfo | `34853` | GPSInfo | | ISOSpeedRatings | `34855` | ISO Speed Ratings | | MakerNoteCanon | `37500` | ISO Speed Ratings | ### GpsIfdIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdindex.md #### GpsIfdIndex enumeration Defines ids of GpsIfd tags. ```csharp public enum GpsIfdIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | GPSVersionID | `0` | Indicates the GPSVersionID. | | GPSLatitudeRef | `1` | Indicates the GPSLatitudeRef. | | GPSLatitude | `2` | Indicates the GPSLatitude. | | GPSLongitudeRef | `3` | Indicates the GPSLongitudeRef. | | GPSLongitude | `4` | Indicates the GPSLongitude. | | GPSAltitudeRef | `5` | Indicates the GPSAltitudeRef. | | GPSAltitude | `6` | Indicates the GPSAltitude. | | GPSTimeStamp | `7` | Indicates the GPSTimeStamp. | | GPSSatellites | `8` | Indicates the GPSSatellites. | | GPSStatus | `9` | Indicates the GPSStatus. | | GPSMeasureMode | `10` | Indicates the GPSMeasureMode. | | GPSDOP | `11` | Indicates the GPSDOP. | | GPSSpeedRef | `12` | Indicates the GPSSpeedRef. | | GPSSpeed | `13` | Indicates the GPSSpeed. | | GPSTrackRef | `14` | Indicates the GPSTrackRef. | | GPSTrack | `15` | Indicates the GPSTrack. | | GPSImgDirectionRef | `16` | Indicates the GPSImgDirectionRef. | | GPSImgDirection | `17` | Indicates the GPSImgDirection. | | GPSMapDatum | `18` | Indicates the GPSMapDatum. | | GPSDestLatitudeRef | `19` | Indicates the GPSDestLatitudeRef. | | GPSDestLatitude | `20` | Indicates the GPSDestLatitude. | | GPSDestLongitudeRef | `21` | Indicates the GPSDestLongitudeRef. | | GPSDestLongitude | `22` | Indicates the GPSDestLongitude. | | GPSDestBearingRef | `23` | Indicates the GPSDestBearingRef. | | GPSDestBearing | `24` | Indicates the GPSDestBearing. | | GPSDestDistanceRef | `25` | Indicates the GPSDestDistanceRef. | | GPSDestDistance | `26` | Indicates the GPSDestDistance. | | GPSProcessingMethod | `27` | Indicates the GPSProcessingMethod. | | GPSAreaInformation | `28` | Indicates the GPSAreaInformation. | | GPSDateStamp | `29` | Indicates the GPSDateStamp. | | GPSDifferential | `30` | Indicates the GPSDifferential. | | GPSHPositioningError | `31` | Indicates the GPSHPositioningError. | ### GpsIfdPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage.md #### GpsIfdPackage class Represents GPS IFD. ```csharp public sealed class GpsIfdPackage : RawDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | GPSAltitude { get; } | Gets the GPSAltitude. | | GPSAltitudeRef { get; } | Gets the GPSAltitudeRef. | | GPSAreaInformation { get; } | Gets the GPSAreaInformation. | | GPSDateStamp { get; } | Gets the GPSDateStamp. | | GPSDestBearing { get; } | Gets the GPSDestBearing. | | GPSDestBearingRef { get; } | Gets the GPSDestBearingRef. | | GPSDestDistance { get; } | Gets the GPSDestDistance. | | GPSDestDistanceRef { get; } | Gets the GPSDestDistanceRef. | | GPSDestLatitude { get; } | Gets the GPSDestLatitude. | | GPSDestLatitudeRef { get; } | Gets the GPSDestLatitudeRef. | | GPSDestLongitude { get; } | Gets the GPSDestLongitude. | | GPSDestLongitudeRef { get; } | Gets the GPSDestLongitudeRef. | | GPSDifferential { get; } | Gets the GPSDifferential. | | GPSDOP { get; } | Gets the GPSDOP. | | GPSHPositioningError { get; } | Gets the GPSHPositioningError. | | GPSImgDirection { get; } | Gets the GPSImgDirection. | | GPSImgDirectionRef { get; } | Gets the GPSImgDirectionRef. | | GPSLatitude { get; } | Gets the GPSLatitude. | | GPSLatitudeRef { get; } | Gets the GPSLatitudeRef. | | GPSLongitude { get; } | Gets the GPSLongitude. | | GPSLongitudeRef { get; } | Gets the GPSLongitudeRef. | | GPSMapDatum { get; } | Gets the GPSMapDatum. | | GPSMeasureMode { get; } | Gets the GPSMeasureMode. | | GPSProcessingMethod { get; } | Gets the GPSProcessingMethod. | | GPSSatellites { get; } | Gets the GPSSatellites. | | GPSSpeed { get; } | Gets the GPSSpeed. | | GPSSpeedRef { get; } | Gets the GPSSpeedRef. | | GPSStatus { get; } | Gets the GPSStatus. | | GPSTimeStamp { get; } | Gets the GPSTimeStamp. | | GPSTrack { get; } | Gets the GPSTrack. | | GPSTrackRef { get; } | Gets the GPSTrackRef. | | GPSVersionID { get; } | Gets the GPSVersionID. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### GPSAltitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsaltitude.md #### GpsIfdPackage.GPSAltitude property Gets the GPSAltitude. ```csharp public float GPSAltitude { get; } ``` ##### Property Value The GPSAltitude. ### GPSAltitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsaltituderef.md #### GpsIfdPackage.GPSAltitudeRef property Gets the GPSAltitudeRef. ```csharp public byte GPSAltitudeRef { get; } ``` ##### Property Value The GPSAltitudeRef. ### GPSAreaInformation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsareainformation.md #### GpsIfdPackage.GPSAreaInformation property Gets the GPSAreaInformation. ```csharp public ushort GPSAreaInformation { get; } ``` ##### Property Value The GPSAreaInformation. ### GPSDateStamp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdatestamp.md #### GpsIfdPackage.GPSDateStamp property Gets the GPSDateStamp. ```csharp public string GPSDateStamp { get; } ``` ##### Property Value The GPSDateStamp. ### GPSDestBearing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestbearing.md #### GpsIfdPackage.GPSDestBearing property Gets the GPSDestBearing. ```csharp public float GPSDestBearing { get; } ``` ##### Property Value The GPSDestBearing. ### GPSDestBearingRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestbearingref.md #### GpsIfdPackage.GPSDestBearingRef property Gets the GPSDestBearingRef. ```csharp public string GPSDestBearingRef { get; } ``` ##### Property Value The GPSDestBearingRef. ### GPSDestDistance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestdistance.md #### GpsIfdPackage.GPSDestDistance property Gets the GPSDestDistance. ```csharp public float GPSDestDistance { get; } ``` ##### Property Value The GPSDestDistance. ### GPSDestDistanceRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestdistanceref.md #### GpsIfdPackage.GPSDestDistanceRef property Gets the GPSDestDistanceRef. ```csharp public string GPSDestDistanceRef { get; } ``` ##### Property Value The GPSDestDistanceRef. ### GPSDestLatitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestlatitude.md #### GpsIfdPackage.GPSDestLatitude property Gets the GPSDestLatitude. ```csharp public double[] GPSDestLatitude { get; } ``` ##### Property Value The GPSDestLatitude. ### GPSDestLatitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestlatituderef.md #### GpsIfdPackage.GPSDestLatitudeRef property Gets the GPSDestLatitudeRef. ```csharp public string GPSDestLatitudeRef { get; } ``` ##### Property Value The GPSDestLatitudeRef. ### GPSDestLongitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestlongitude.md #### GpsIfdPackage.GPSDestLongitude property Gets the GPSDestLongitude. ```csharp public double[] GPSDestLongitude { get; } ``` ##### Property Value The GPSDestLongitude. ### GPSDestLongitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdestlongituderef.md #### GpsIfdPackage.GPSDestLongitudeRef property Gets the GPSDestLongitudeRef. ```csharp public string GPSDestLongitudeRef { get; } ``` ##### Property Value The GPSDestLongitudeRef. ### GPSDifferential Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdifferential.md #### GpsIfdPackage.GPSDifferential property Gets the GPSDifferential. ```csharp public ushort GPSDifferential { get; } ``` ##### Property Value The GPSDifferential. ### GPSDOP Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdop.md #### GpsIfdPackage.GPSDOP property Gets the GPSDOP. ```csharp public float GPSDOP { get; } ``` ##### Property Value The GPSDOP. ### GPSHPositioningError Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpshpositioningerror.md #### GpsIfdPackage.GPSHPositioningError property Gets the GPSHPositioningError. ```csharp public float GPSHPositioningError { get; } ``` ##### Property Value The GPSHPositioningError. ### GPSImgDirection Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsimgdirection.md #### GpsIfdPackage.GPSImgDirection property Gets the GPSImgDirection. ```csharp public float GPSImgDirection { get; } ``` ##### Property Value The GPSImgDirection. ### GPSImgDirectionRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsimgdirectionref.md #### GpsIfdPackage.GPSImgDirectionRef property Gets the GPSImgDirectionRef. ```csharp public string GPSImgDirectionRef { get; } ``` ##### Property Value The GPSImgDirectionRef. ### GPSLatitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpslatitude.md #### GpsIfdPackage.GPSLatitude property Gets the GPSLatitude. ```csharp public double[] GPSLatitude { get; } ``` ##### Property Value The GPSLatitude. ### GPSLatitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpslatituderef.md #### GpsIfdPackage.GPSLatitudeRef property Gets the GPSLatitudeRef. ```csharp public string GPSLatitudeRef { get; } ``` ##### Property Value The GPSLatitudeRef. ### GPSLongitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpslongitude.md #### GpsIfdPackage.GPSLongitude property Gets the GPSLongitude. ```csharp public double[] GPSLongitude { get; } ``` ##### Property Value The GPSLongitude. ### GPSLongitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpslongituderef.md #### GpsIfdPackage.GPSLongitudeRef property Gets the GPSLongitudeRef. ```csharp public string GPSLongitudeRef { get; } ``` ##### Property Value The GPSLongitudeRef. ### GPSMapDatum Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsmapdatum.md #### GpsIfdPackage.GPSMapDatum property Gets the GPSMapDatum. ```csharp public string GPSMapDatum { get; } ``` ##### Property Value The GPSMapDatum. ### GPSMeasureMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsmeasuremode.md #### GpsIfdPackage.GPSMeasureMode property Gets the GPSMeasureMode. ```csharp public string GPSMeasureMode { get; } ``` ##### Property Value The GPSMeasureMode. ### GPSProcessingMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsprocessingmethod.md #### GpsIfdPackage.GPSProcessingMethod property Gets the GPSProcessingMethod. ```csharp public string GPSProcessingMethod { get; } ``` ##### Property Value The GPSProcessingMethod. ### GPSSatellites Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpssatellites.md #### GpsIfdPackage.GPSSatellites property Gets the GPSSatellites. ```csharp public string GPSSatellites { get; } ``` ##### Property Value The GPSSatellites. ### GPSSpeed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsspeed.md #### GpsIfdPackage.GPSSpeed property Gets the GPSSpeed. ```csharp public float GPSSpeed { get; } ``` ##### Property Value The GPSSpeed. ### GPSSpeedRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsspeedref.md #### GpsIfdPackage.GPSSpeedRef property Gets the GPSSpeedRef. ```csharp public string GPSSpeedRef { get; } ``` ##### Property Value The GPSSpeedRef. ### GPSStatus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsstatus.md #### GpsIfdPackage.GPSStatus property Gets the GPSStatus. ```csharp public string GPSStatus { get; } ``` ##### Property Value The GPSStatus. ### GPSTimeStamp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpstimestamp.md #### GpsIfdPackage.GPSTimeStamp property Gets the GPSTimeStamp. ```csharp public double[] GPSTimeStamp { get; } ``` ##### Property Value The GPSTimeStamp. ### GPSTrack Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpstrack.md #### GpsIfdPackage.GPSTrack property Gets the GPSTrack. ```csharp public float GPSTrack { get; } ``` ##### Property Value The GPSTrack. ### GPSTrackRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpstrackref.md #### GpsIfdPackage.GPSTrackRef property Gets the GPSTrackRef. ```csharp public string GPSTrackRef { get; } ``` ##### Property Value The GPSTrackRef. ### GPSVersionID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsversionid.md #### GpsIfdPackage.GPSVersionID property Gets the GPSVersionID. ```csharp public byte[] GPSVersionID { get; } ``` ##### Property Value The GPSVersionID. ### InteroperabilityIFDPointerIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/interoperabilityifdpointerindex.md #### InteroperabilityIFDPointerIndex enumeration Defines ids of InteroperabilityIFDPointer tags. ```csharp public enum InteroperabilityIFDPointerIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | TagInteropIndex | `1` | Indicates the TagInteropIndex. | | TagInteropVersion | `2` | Indicates the TagInteropVersion. | ### InteroperabilityIFDPointerPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage.md #### InteroperabilityIFDPointerPackage class Represents Interoperability IFD. ```csharp public sealed class InteroperabilityIFDPointerPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TagInteropIndex { get; } | Gets the TagInteropIndex. | | TagInteropVersion { get; } | Gets the TagInteropVersion. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### TagInteropIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/taginteropindex.md #### InteroperabilityIFDPointerPackage.TagInteropIndex property Gets the TagInteropIndex. ```csharp public string TagInteropIndex { get; } ``` ##### Property Value The TagInteropIndex. ### TagInteropVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/taginteropversion.md #### InteroperabilityIFDPointerPackage.TagInteropVersion property Gets the TagInteropVersion. ```csharp public byte[] TagInteropVersion { get; } ``` ##### Property Value The TagInteropVersion. ### RawDictionaryBasePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawdictionarybasepackage.md #### RawDictionaryBasePackage class Provides an abstract base class for EXIF metadata dictionaries. ```csharp public abstract class RawDictionaryBasePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Clear Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/clear.md #### RawDictionaryBasePackage.Clear method Removes all Raw tags stored in the package. ```csharp public void Clear() ``` ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/item.md #### RawDictionaryBasePackage indexer Gets the Raw tag with the specified id. ```csharp public RawTag this[uint tagId] { get; } ``` | Parameter | Description | | --- | --- | | tagId | The id of the tag to retrieve. | ##### Return Value The `RawTag` with the specified tag id. ##### Examples This example demonstrates how to read a specific Raw/EXIF tag by its identifier. ```csharp using (Metadata metadata = new Metadata(Constants.RawWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null && root.ExifPackage != null) { RawAsciiTag software = (RawAsciiTag)root.ExifPackage[uint.Software]; if (software != null) { Console.WriteLine("Software: {0}", software.Value); } } } ``` ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/remove.md #### RawDictionaryBasePackage.Remove method Removes the property with the specified id. ```csharp public bool Remove(uint tagId) ``` | Parameter | Type | Description | | --- | --- | --- | | tagId | UInt32 | A Raw tag id. | ##### Return Value True if the specified Raw tag is found and removed; otherwise, false. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/set.md #### RawDictionaryBasePackage.Set method Adds or replaces the specified tag. ```csharp public void Set(RawTag tag) ``` | Parameter | Type | Description | | --- | --- | --- | | tag | RawTag | The tag to set. | ##### Examples This code sample demonstrates how to add a custom tag to an EXIF package. ```csharp using (Metadata metadata = new Metadata(Constants.RawWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null) { // Set the EXIF package if it's missing if (root.ExifPackage == null) { root.ExifPackage = new ExifPackage(); } // Add a known property root.ExifPackage.Set(new RawAsciiTag(uint.Artist, "test artist")); // Add a fully custom property (which is not described in the EXIF specification). // Please note that the chosen ID may intersect with the IDs used by some third party tools. root.ExifPackage.Set(new RawAsciiTag((uint)65523, "custom")); metadata.Save(Constants.OutputRaw); } } ``` ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/tolist.md #### RawDictionaryBasePackage.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list that contains all Raw tags from the package. ##### Examples This example demonstrates how to read all EXIF tags extracted from a file. ```csharp using (Metadata metadata = new Metadata(Constants.JpegWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null && root.ExifPackage != null) { const string pattern = "{0} = {1}"; foreach (RawTag tag in root.ExifPackage.ToList()) { Console.WriteLine(pattern, tag.TagID, tag.Value); } foreach (RawTag tag in root.ExifPackage.ExifIfdPackage.ToList()) { Console.WriteLine(pattern, tag.TagID, tag.Value); } foreach (RawTag tag in root.ExifPackage.GpsPackage.ToList()) { Console.WriteLine(pattern, tag.TagID, tag.Value); } } } ``` ### RawExifIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexifindex.md #### RawExifIndex enumeration Defines ids of RawExif tags. ```csharp public enum RawExifIndex ``` ##### Values | Name | Value | Description | | --- | --- | --- | | ExposureTime | `33434` | Indicates the ExposureTime. | | FNumber | `33437` | Indicates the FNumber. | | ExposureProgram | `34850` | Indicates the ExposureProgram. | | SpectralSensitivity | `34852` | Indicates the SpectralSensitivity. | | PhotographicSensitivity | `34855` | Indicates the PhotographicSensitivity. | | OECF | `34856` | Indicates the OECF. | | SensitivityType | `34864` | Indicates the SensitivityType. | | StandardOutputSensitivity | `34865` | Indicates the StandardOutputSensitivity. | | RecommendedExposureIndex | `34866` | Indicates the RecommendedExposureIndex. | | ISOSpeed | `34867` | Indicates the ISOSpeed. | | ISOSpeedLatitudeyyy | `34868` | Indicates the ISOSpeedLatitudeyyy. | | ISOSpeedLatitudezzz | `34869` | Indicates the ISOSpeedLatitudezzz. | | ExifVersion | `36864` | Indicates the ExifVersion. | | DateTimeOriginal | `36867` | Indicates the DateTimeOriginal. | | DateTimeDigitized | `36868` | Indicates the DateTimeDigitized. | | OffsetTime | `36880` | Indicates the OffsetTime. | | OffsetTimeOriginal | `36881` | Indicates the OffsetTimeOriginal. | | OffsetTimeDigitized | `36882` | Indicates the OffsetTimeDigitized. | | ComponentsConfiguration | `37121` | Indicates the ComponentsConfiguration. | | ShutterSpeedValue | `37377` | Indicates the ShutterSpeedValue. | | ApertureValue | `37378` | Indicates the ApertureValue. | | BrightnessValue | `37379` | Indicates the BrightnessValue. | | ExposureBiasValue | `37380` | Indicates the ExposureBiasValue. | | MaxApertureValue | `37381` | Indicates the MaxApertureValue. | | SubjectDistance | `37382` | Indicates the SubjectDistance. | | MeteringMode | `37383` | Indicates the MeteringMode. | | LightSource | `37384` | Indicates the LightSource. | | Flash | `37385` | Indicates the Flash. | | FocalLength | `37386` | Indicates the FocalLength. | | SubjectArea | `37396` | Indicates the SubjectArea. | | MakerNote | `37500` | Indicates the MakerNote. | | UserComment | `37510` | Indicates the UserComment. | | SubSecTime | `37520` | Indicates the SubSecTime. | | SubSecTimeOriginal | `37521` | Indicates the SubSecTimeOriginal. | | SubSecTimeDigitized | `37522` | Indicates the SubSecTimeDigitized. | | Temperature | `37888` | Indicates the Temperature. | | Humidity | `37889` | Indicates the Humidity. | | Pressure | `37890` | Indicates the Pressure. | | WaterDepth | `37891` | Indicates the WaterDepth. | | Acceleration | `37892` | Indicates the Acceleration. | | CameraElevationAngle | `37893` | Indicates the CameraElevationAngle. | | FlashpixVersion | `40960` | Indicates the FlashpixVersion. | | ColorSpace | `40961` | Indicates the ColorSpace. | | PixelXDimension | `40962` | Indicates the PixelXDimension. | | PixelYDimension | `40963` | Indicates the PixelYDimension. | | RelatedSoundFile | `40964` | Indicates the RelatedSoundFile. | | InteroperabilityIFDPointer | `40965` | Indicates the InteroperabilityIFDPointer. | | FlashEnergy | `41483` | Indicates the FlashEnergy. | | SpatialFrequencyResponse | `41484` | Indicates the SpatialFrequencyResponse. | | FocalPlaneXResolution | `41486` | Indicates the FocalPlaneXResolution. | | FocalPlaneYResolution | `41487` | Indicates the FocalPlaneYResolution. | | FocalPlaneResolutionUnit | `41488` | Indicates the FocalPlaneResolutionUnit. | | SubjectLocation | `41492` | Indicates the SubjectLocation. | | ExposureIndex | `41493` | Indicates the ExposureIndex. | | SensingMethod | `41495` | Indicates the SensingMethod. | | FileSource | `41728` | Indicates the FileSource. | | SceneType | `41729` | Indicates the SceneType. | | CFAPattern | `41730` | Indicates the CFAPattern. | | CustomRendered | `41985` | Indicates the CustomRendered. | | ExposureMode | `41986` | Indicates the ExposureMode. | | WhiteBalance | `41987` | Indicates the WhiteBalance. | | DigitalZoomRatio | `41988` | Indicates the DigitalZoomRatio. | | FocalLengthIn35mmFilm | `41989` | Indicates the FocalLengthIn35mmFilm. | | SceneCaptureType | `41990` | Indicates the SceneCaptureType. | | GainControl | `41991` | Indicates the GainControl. | | Contrast | `41992` | Indicates the Contrast. | | Saturation | `41993` | Indicates the Saturation. | | Sharpness | `41994` | Indicates the Sharpness. | | DeviceSettingDescription | `41995` | Indicates the DeviceSettingDescription. | | SubjectDistanceRange | `41996` | Indicates the SubjectDistanceRange. | | ImageUniqueID | `42016` | Indicates the ImageUniqueID. | | CameraOwnerName | `42032` | Indicates the CameraOwnerName. | | BodySerialNumber | `42033` | Indicates the BodySerialNumber. | | LensSpecification | `42034` | Indicates the LensSpecification. | | LensMake | `42035` | Indicates the LensMake. | | LensModel | `42036` | Indicates the LensModel. | | LensSerialNumber | `42037` | Indicates the LensSerialNumber. | | CompositeImage | `42080` | Indicates the CompositeImage. | | SourceImageNumberOfCompositeImage | `42081` | Indicates the SourceImageNumberOfCompositeImage. | | SourceExposureTimesOfCompositeImage | `42082` | Indicates the SourceExposureTimesOfCompositeImage. | | Gamma | `42240` | Indicates the Gamma. | ### RawExifTagPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage.md #### RawExifTagPackage class Represents Exif tags. ```csharp public abstract class RawExifTagPackage : RawDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | Acceleration { get; } | Gets the Acceleration. | | ApertureValue { get; } | Gets the Aperture. | | BodySerialNumber { get; } | Gets the Body Serial Number. | | BrightnessValue { get; } | Gets the Brightness. | | CameraElevationAngle { get; } | Gets the Camera elevation angle. | | CameraOwnerName { get; } | Gets the Camera Owner Name. | | CFAPattern { get; } | Gets the CFA pattern. | | ColorSpace { get; } | Gets the Color space information . | | ComponentsConfiguration { get; } | Gets the Meaning of each component. | | CompositeImage { get; } | Gets the Composite image. | | Contrast { get; } | Gets the Contrast. | | Count { get; } | Gets the number of metadata properties. | | CustomRendered { get; } | Gets the Custom image processing. | | DateTimeDigitized { get; } | Gets the Date and time of digital data generation. | | DateTimeOriginal { get; } | Gets the Date and time of original data generation. | | DeviceSettingDescription { get; } | Gets the Device settings description. | | DigitalZoomRatio { get; } | Gets the Digital zoom ratio. | | ExifVersion { get; } | Gets the ExifVersion. | | ExposureBiasValue { get; } | Gets the Exposure bias. | | ExposureIndex { get; } | Gets the Exposure index. | | ExposureMode { get; } | Gets the Exposure mode. | | ExposureProgram { get; } | Gets the Exposure program. | | ExposureTime { get; } | Gets the Exposure time. | | FileSource { get; } | Gets the File source. | | Flash { get; } | Gets the Flash. | | FlashEnergy { get; } | Gets the Flash energy. | | FlashpixVersion { get; } | Gets the Temperature. | | FNumber { get; } | Gets the F number. | | FocalLength { get; } | Gets the Lens focal length. | | FocalLengthIn35mmFilm { get; } | Gets the Focal length in 35 mm film. | | FocalPlaneResolutionUnit { get; } | Gets the Focal plane resolution unit. | | FocalPlaneXResolution { get; } | Gets Focal plane X resolution. | | FocalPlaneYResolution { get; } | Gets the Focal plane Y resolution. | | GainControl { get; } | Gets the Gain control. | | Gamma { get; } | Gets the Gamma. | | Humidity { get; } | Gets the Humidity. | | ImageUniqueID { get; } | Gets the Unique image ID. | | InteroperabilityIFDPointer { get; } | Gets the Interoperability tag (Interoperability IFD Pointer). | | InteroperabilityIFDPointerPackage { get; } | Gets the Interoperability tag (Interoperability IFD Pointer). | | ISOSpeed { get; } | Gets the ISO Speed. | | ISOSpeedLatitudeyyy { get; } | Gets the ISO Speed Latitude yyy. | | ISOSpeedLatitudezzz { get; } | Gets the ISO Speed Latitude zzz. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LensMake { get; } | Gets the Lens Make. | | LensModel { get; } | Gets the Lens Model. | | LensSerialNumber { get; } | Gets the Lens Serial Number. | | LensSpecification { get; } | Gets the Lens Specification. | | LightSource { get; } | Gets the Light source. | | MakerNote { get; } | Gets the Standard Output Sensitivity. | | MaxApertureValue { get; } | Gets the Maximum lens aperture. | | MetadataType { get; } | Gets the metadata type. | | MeteringMode { get; } | Gets the Metering mode. | | OECF { get; } | Gets the Optoelectric conversion factor. | | OffsetTime { get; } | Gets the Offset data of DateTime. | | OffsetTimeDigitized { get; } | Gets the Offset data of DateTimeDigitized. | | OffsetTimeOriginal { get; } | Gets the Offset data of DateTimeOriginal. | | PhotographicSensitivity { get; } | Gets the Photographic Sensitivity. | | PixelXDimension { get; } | Gets the Valid image width. | | PixelYDimension { get; } | Gets the Valid image height. | | Pressure { get; } | Gets the Pressure. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | virtual RawMakerNotePackage { get; } | Gets the Manufacturer notes (MakerNote). | | RecommendedExposureIndex { get; } | Gets the Recommended ExposureIndexs. | | RelatedSoundFile { get; } | Gets the Related audio file. | | Saturation { get; } | Gets the Saturation. | | SceneCaptureType { get; } | Gets the Scene capture type. | | SceneType { get; } | Gets the Scene Type. | | SensingMethod { get; } | Gets the Sensing method. | | SensitivityType { get; } | Gets the Sensitivity Type. | | Sharpness { get; } | Gets the Sharpness. | | ShutterSpeedValue { get; } | Gets the Shutter speed. | | SourceExposureTimesOfCompositeImage { get; } | Gets the Source exposure times of composite image. | | SourceImageNumberOfCompositeImage { get; } | Gets the Source image number of composite image. | | SpatialFrequencyResponse { get; } | Gets the Spatial frequency response. | | SpectralSensitivity { get; } | Gets the Spectral sensitivity. | | StandardOutputSensitivity { get; } | Gets the Standard Output Sensitivity. | | SubjectArea { get; } | Gets the Subject area. | | SubjectDistance { get; } | Gets the Subject distance. | | SubjectDistanceRange { get; } | Gets the Subject distance range. | | SubjectLocation { get; } | Gets the Subject location. | | SubSecTime { get; } | Gets the DateTime subseconds. | | SubSecTimeDigitized { get; } | Gets the DateTimeDigitized subseconds. | | SubSecTimeOriginal { get; } | Gets the DateTimeOriginal subseconds. | | Temperature { get; } | Gets the Temperature. | | UserComment { get; } | Gets the User comments. | | WaterDepth { get; } | Gets the WaterDepth. | | WhiteBalance { get; } | Gets the White balance. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Acceleration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/acceleration.md #### RawExifTagPackage.Acceleration property Gets the Acceleration. ```csharp public float Acceleration { get; } ``` ##### Property Value The Acceleration. ### ApertureValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/aperturevalue.md #### RawExifTagPackage.ApertureValue property Gets the Aperture. ```csharp public float ApertureValue { get; } ``` ##### Property Value The Aperture. ### BodySerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/bodyserialnumber.md #### RawExifTagPackage.BodySerialNumber property Gets the Body Serial Number. ```csharp public string BodySerialNumber { get; } ``` ##### Property Value The Body Serial Number. ### BrightnessValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/brightnessvalue.md #### RawExifTagPackage.BrightnessValue property Gets the Brightness. ```csharp public float BrightnessValue { get; } ``` ##### Property Value The Brightness. ### CameraElevationAngle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/cameraelevationangle.md #### RawExifTagPackage.CameraElevationAngle property Gets the Camera elevation angle. ```csharp public float CameraElevationAngle { get; } ``` ##### Property Value The Camera elevation angle. ### CameraOwnerName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/cameraownername.md #### RawExifTagPackage.CameraOwnerName property Gets the Camera Owner Name. ```csharp public string CameraOwnerName { get; } ``` ##### Property Value The Camera Owner Name. ### CFAPattern Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/cfapattern.md #### RawExifTagPackage.CFAPattern property Gets the CFA pattern. ```csharp public byte[] CFAPattern { get; } ``` ##### Property Value The CFA pattern. ### ColorSpace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/colorspace.md #### RawExifTagPackage.ColorSpace property Gets the Color space information . ```csharp public ushort ColorSpace { get; } ``` ##### Property Value The Color space information . ### ComponentsConfiguration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/componentsconfiguration.md #### RawExifTagPackage.ComponentsConfiguration property Gets the Meaning of each component. ```csharp public byte[] ComponentsConfiguration { get; } ``` ##### Property Value The Meaning of each component. ### CompositeImage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/compositeimage.md #### RawExifTagPackage.CompositeImage property Gets the Composite image. ```csharp public ushort CompositeImage { get; } ``` ##### Property Value The Composite image. ### Contrast Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/contrast.md #### RawExifTagPackage.Contrast property Gets the Contrast. ```csharp public ushort Contrast { get; } ``` ##### Property Value The Contrast. ### CustomRendered Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/customrendered.md #### RawExifTagPackage.CustomRendered property Gets the Custom image processing. ```csharp public ushort CustomRendered { get; } ``` ##### Property Value The Custom image processing. ### DateTimeDigitized Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/datetimedigitized.md #### RawExifTagPackage.DateTimeDigitized property Gets the Date and time of digital data generation. ```csharp public string DateTimeDigitized { get; } ``` ##### Property Value The Date and time of digital data generation. ### DateTimeOriginal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/datetimeoriginal.md #### RawExifTagPackage.DateTimeOriginal property Gets the Date and time of original data generation. ```csharp public string DateTimeOriginal { get; } ``` ##### Property Value The Date and time of original data generation. ### DeviceSettingDescription Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/devicesettingdescription.md #### RawExifTagPackage.DeviceSettingDescription property Gets the Device settings description. ```csharp public byte[] DeviceSettingDescription { get; } ``` ##### Property Value The Device settings description. ### DigitalZoomRatio Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/digitalzoomratio.md #### RawExifTagPackage.DigitalZoomRatio property Gets the Digital zoom ratio. ```csharp public float DigitalZoomRatio { get; } ``` ##### Property Value The Digital zoom ratio. ### ExifVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/exifversion.md #### RawExifTagPackage.ExifVersion property Gets the ExifVersion. ```csharp public byte[] ExifVersion { get; } ``` ##### Property Value The ExifVersion. ### ExposureBiasValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposurebiasvalue.md #### RawExifTagPackage.ExposureBiasValue property Gets the Exposure bias. ```csharp public float ExposureBiasValue { get; } ``` ##### Property Value The Exposure bias. ### ExposureIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposureindex.md #### RawExifTagPackage.ExposureIndex property Gets the Exposure index. ```csharp public float ExposureIndex { get; } ``` ##### Property Value The Exposure index. ### ExposureMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposuremode.md #### RawExifTagPackage.ExposureMode property Gets the Exposure mode. ```csharp public ushort ExposureMode { get; } ``` ##### Property Value The Exposure mode. ### ExposureProgram Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposureprogram.md #### RawExifTagPackage.ExposureProgram property Gets the Exposure program. ```csharp public ushort ExposureProgram { get; } ``` ##### Property Value The Exposure program. ### ExposureTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposuretime.md #### RawExifTagPackage.ExposureTime property Gets the Exposure time. ```csharp public float ExposureTime { get; } ``` ##### Property Value The Exposure time. ### FileSource Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/filesource.md #### RawExifTagPackage.FileSource property Gets the File source. ```csharp public byte[] FileSource { get; } ``` ##### Property Value The File source. ### Flash Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/flash.md #### RawExifTagPackage.Flash property Gets the Flash. ```csharp public ushort Flash { get; } ``` ##### Property Value The Flash. ### FlashEnergy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/flashenergy.md #### RawExifTagPackage.FlashEnergy property Gets the Flash energy. ```csharp public float FlashEnergy { get; } ``` ##### Property Value The Flash energy. ### FlashpixVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/flashpixversion.md #### RawExifTagPackage.FlashpixVersion property Gets the Temperature. ```csharp public byte[] FlashpixVersion { get; } ``` ##### Property Value The Temperature. ### FNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/fnumber.md #### RawExifTagPackage.FNumber property Gets the F number. ```csharp public float FNumber { get; } ``` ##### Property Value The F number. ### FocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/focallength.md #### RawExifTagPackage.FocalLength property Gets the Lens focal length. ```csharp public float FocalLength { get; } ``` ##### Property Value The Lens focal length. ### FocalLengthIn35mmFilm Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/focallengthin35mmfilm.md #### RawExifTagPackage.FocalLengthIn35mmFilm property Gets the Focal length in 35 mm film. ```csharp public ushort FocalLengthIn35mmFilm { get; } ``` ##### Property Value The Focal length in 35 mm film. ### FocalPlaneResolutionUnit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/focalplaneresolutionunit.md #### RawExifTagPackage.FocalPlaneResolutionUnit property Gets the Focal plane resolution unit. ```csharp public ushort FocalPlaneResolutionUnit { get; } ``` ##### Property Value The Focal plane resolution unit. ### FocalPlaneXResolution Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/focalplanexresolution.md #### RawExifTagPackage.FocalPlaneXResolution property Gets Focal plane X resolution. ```csharp public float FocalPlaneXResolution { get; } ``` ##### Property Value The Focal plane X resolution. ### FocalPlaneYResolution Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/focalplaneyresolution.md #### RawExifTagPackage.FocalPlaneYResolution property Gets the Focal plane Y resolution. ```csharp public float FocalPlaneYResolution { get; } ``` ##### Property Value The Focal plane Y resolution. ### GainControl Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/gaincontrol.md #### RawExifTagPackage.GainControl property Gets the Gain control. ```csharp public float GainControl { get; } ``` ##### Property Value The Gain control. ### Gamma Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/gamma.md #### RawExifTagPackage.Gamma property Gets the Gamma. ```csharp public float Gamma { get; } ``` ##### Property Value The Gamma. ### Humidity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/humidity.md #### RawExifTagPackage.Humidity property Gets the Humidity. ```csharp public float Humidity { get; } ``` ##### Property Value The Humidity. ### ImageUniqueID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/imageuniqueid.md #### RawExifTagPackage.ImageUniqueID property Gets the Unique image ID. ```csharp public string ImageUniqueID { get; } ``` ##### Property Value The Unique image ID. ### InteroperabilityIFDPointer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/interoperabilityifdpointer.md #### RawExifTagPackage.InteroperabilityIFDPointer property Gets the Interoperability tag (Interoperability IFD Pointer). ```csharp public long InteroperabilityIFDPointer { get; } ``` ##### Property Value The Interoperability tag (Interoperability IFD Pointer). ### InteroperabilityIFDPointerPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/interoperabilityifdpointerpackage.md #### RawExifTagPackage.InteroperabilityIFDPointerPackage property Gets the Interoperability tag (Interoperability IFD Pointer). ```csharp public InteroperabilityIFDPointerPackage InteroperabilityIFDPointerPackage { get; } ``` ##### Property Value The Interoperability tag (Interoperability IFD Pointer). ### ISOSpeed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/isospeed.md #### RawExifTagPackage.ISOSpeed property Gets the ISO Speed. ```csharp public long ISOSpeed { get; } ``` ##### Property Value The ISO Speed. ### ISOSpeedLatitudeyyy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/isospeedlatitudeyyy.md #### RawExifTagPackage.ISOSpeedLatitudeyyy property Gets the ISO Speed Latitude yyy. ```csharp public long ISOSpeedLatitudeyyy { get; } ``` ##### Property Value The ISO Speed Latitude yyy. ### ISOSpeedLatitudezzz Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/isospeedlatitudezzz.md #### RawExifTagPackage.ISOSpeedLatitudezzz property Gets the ISO Speed Latitude zzz. ```csharp public long ISOSpeedLatitudezzz { get; } ``` ##### Property Value The ISO Speed Latitude zzz. ### LensMake Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/lensmake.md #### RawExifTagPackage.LensMake property Gets the Lens Make. ```csharp public string LensMake { get; } ``` ##### Property Value The Lens Make. ### LensModel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/lensmodel.md #### RawExifTagPackage.LensModel property Gets the Lens Model. ```csharp public string LensModel { get; } ``` ##### Property Value The Lens Model. ### LensSerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/lensserialnumber.md #### RawExifTagPackage.LensSerialNumber property Gets the Lens Serial Number. ```csharp public string LensSerialNumber { get; } ``` ##### Property Value The Lens Serial Number. ### LensSpecification Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/lensspecification.md #### RawExifTagPackage.LensSpecification property Gets the Lens Specification. ```csharp public double[] LensSpecification { get; } ``` ##### Property Value The Lens Specification. ### LightSource Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/lightsource.md #### RawExifTagPackage.LightSource property Gets the Light source. ```csharp public ushort LightSource { get; } ``` ##### Property Value The Light source. ### MakerNote Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/makernote.md #### RawExifTagPackage.MakerNote property Gets the Standard Output Sensitivity. ```csharp public long MakerNote { get; } ``` ##### Property Value The Standard Output Sensitivity. ### MaxApertureValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/maxaperturevalue.md #### RawExifTagPackage.MaxApertureValue property Gets the Maximum lens aperture. ```csharp public float MaxApertureValue { get; } ``` ##### Property Value The Maximum lens aperture. ### MeteringMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/meteringmode.md #### RawExifTagPackage.MeteringMode property Gets the Metering mode. ```csharp public ushort MeteringMode { get; } ``` ##### Property Value The Metering mode. ### OECF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/oecf.md #### RawExifTagPackage.OECF property Gets the Optoelectric conversion factor. ```csharp public byte[] OECF { get; } ``` ##### Property Value The Optoelectric conversion factor. ### OffsetTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/offsettime.md #### RawExifTagPackage.OffsetTime property Gets the Offset data of DateTime. ```csharp public string OffsetTime { get; } ``` ##### Property Value The Offset data of DateTime. ### OffsetTimeDigitized Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/offsettimedigitized.md #### RawExifTagPackage.OffsetTimeDigitized property Gets the Offset data of DateTimeDigitized. ```csharp public string OffsetTimeDigitized { get; } ``` ##### Property Value The Offset data of DateTimeDigitized. ### OffsetTimeOriginal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/offsettimeoriginal.md #### RawExifTagPackage.OffsetTimeOriginal property Gets the Offset data of DateTimeOriginal. ```csharp public string OffsetTimeOriginal { get; } ``` ##### Property Value The Offset data of DateTimeOriginal. ### PhotographicSensitivity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/photographicsensitivity.md #### RawExifTagPackage.PhotographicSensitivity property Gets the Photographic Sensitivity. ```csharp public ushort PhotographicSensitivity { get; } ``` ##### Property Value The Photographic Sensitivity. ### PixelXDimension Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/pixelxdimension.md #### RawExifTagPackage.PixelXDimension property Gets the Valid image width. ```csharp public long PixelXDimension { get; } ``` ##### Property Value The Valid image width. ### PixelYDimension Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/pixelydimension.md #### RawExifTagPackage.PixelYDimension property Gets the Valid image height. ```csharp public long PixelYDimension { get; } ``` ##### Property Value The Valid image height. ### Pressure Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/pressure.md #### RawExifTagPackage.Pressure property Gets the Pressure. ```csharp public float Pressure { get; } ``` ##### Property Value The Pressure. ### RawMakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/rawmakernotepackage.md #### RawExifTagPackage.RawMakerNotePackage property Gets the Manufacturer notes (MakerNote). ```csharp public virtual RawMakerNotePackage RawMakerNotePackage { get; } ``` ##### Property Value The Manufacturer notes (MakerNote). ### RecommendedExposureIndex Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/recommendedexposureindex.md #### RawExifTagPackage.RecommendedExposureIndex property Gets the Recommended ExposureIndexs. ```csharp public long RecommendedExposureIndex { get; } ``` ##### Property Value The Recommended ExposureIndex. ### RelatedSoundFile Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/relatedsoundfile.md #### RawExifTagPackage.RelatedSoundFile property Gets the Related audio file. ```csharp public string RelatedSoundFile { get; } ``` ##### Property Value The Related audio file. ### Saturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/saturation.md #### RawExifTagPackage.Saturation property Gets the Saturation. ```csharp public ushort Saturation { get; } ``` ##### Property Value The Saturation. ### SceneCaptureType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/scenecapturetype.md #### RawExifTagPackage.SceneCaptureType property Gets the Scene capture type. ```csharp public ushort SceneCaptureType { get; } ``` ##### Property Value The Scene capture type. ### SceneType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/scenetype.md #### RawExifTagPackage.SceneType property Gets the Scene Type. ```csharp public byte[] SceneType { get; } ``` ##### Property Value The Scene Type. ### SensingMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/sensingmethod.md #### RawExifTagPackage.SensingMethod property Gets the Sensing method. ```csharp public ushort SensingMethod { get; } ``` ##### Property Value The Sensing method. ### SensitivityType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/sensitivitytype.md #### RawExifTagPackage.SensitivityType property Gets the Sensitivity Type. ```csharp public ushort SensitivityType { get; } ``` ##### Property Value The Sensitivity Type. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/sharpness.md #### RawExifTagPackage.Sharpness property Gets the Sharpness. ```csharp public ushort Sharpness { get; } ``` ##### Property Value The Sharpness. ### ShutterSpeedValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/shutterspeedvalue.md #### RawExifTagPackage.ShutterSpeedValue property Gets the Shutter speed. ```csharp public float ShutterSpeedValue { get; } ``` ##### Property Value The Shutter speed. ### SourceExposureTimesOfCompositeImage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/sourceexposuretimesofcompositeimage.md #### RawExifTagPackage.SourceExposureTimesOfCompositeImage property Gets the Source exposure times of composite image. ```csharp public byte[] SourceExposureTimesOfCompositeImage { get; } ``` ##### Property Value The Source exposure times of composite image. ### SourceImageNumberOfCompositeImage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/sourceimagenumberofcompositeimage.md #### RawExifTagPackage.SourceImageNumberOfCompositeImage property Gets the Source image number of composite image. ```csharp public ushort SourceImageNumberOfCompositeImage { get; } ``` ##### Property Value The Source image number of composite image. ### SpatialFrequencyResponse Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/spatialfrequencyresponse.md #### RawExifTagPackage.SpatialFrequencyResponse property Gets the Spatial frequency response. ```csharp public byte[] SpatialFrequencyResponse { get; } ``` ##### Property Value The Spatial frequency response. ### SpectralSensitivity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/spectralsensitivity.md #### RawExifTagPackage.SpectralSensitivity property Gets the Spectral sensitivity. ```csharp public string SpectralSensitivity { get; } ``` ##### Property Value The Spectral sensitivity. ### StandardOutputSensitivity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/standardoutputsensitivity.md #### RawExifTagPackage.StandardOutputSensitivity property Gets the Standard Output Sensitivity. ```csharp public long StandardOutputSensitivity { get; } ``` ##### Property Value The Standard Output Sensitivity. ### SubjectArea Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/subjectarea.md #### RawExifTagPackage.SubjectArea property Gets the Subject area. ```csharp public ushort SubjectArea { get; } ``` ##### Property Value The Subject area. ### SubjectDistance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/subjectdistance.md #### RawExifTagPackage.SubjectDistance property Gets the Subject distance. ```csharp public float SubjectDistance { get; } ``` ##### Property Value The Subject distance. ### SubjectDistanceRange Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/subjectdistancerange.md #### RawExifTagPackage.SubjectDistanceRange property Gets the Subject distance range. ```csharp public ushort SubjectDistanceRange { get; } ``` ##### Property Value The Subject distance range. ### SubjectLocation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/subjectlocation.md #### RawExifTagPackage.SubjectLocation property Gets the Subject location. ```csharp public ushort SubjectLocation { get; } ``` ##### Property Value The Subject location. ### SubSecTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/subsectime.md #### RawExifTagPackage.SubSecTime property Gets the DateTime subseconds. ```csharp public string SubSecTime { get; } ``` ##### Property Value The DateTime subseconds. ### SubSecTimeDigitized Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/subsectimedigitized.md #### RawExifTagPackage.SubSecTimeDigitized property Gets the DateTimeDigitized subseconds. ```csharp public string SubSecTimeDigitized { get; } ``` ##### Property Value The DateTimeDigitized subseconds. ### SubSecTimeOriginal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/subsectimeoriginal.md #### RawExifTagPackage.SubSecTimeOriginal property Gets the DateTimeOriginal subseconds. ```csharp public string SubSecTimeOriginal { get; } ``` ##### Property Value The DateTimeOriginal subseconds. ### Temperature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/temperature.md #### RawExifTagPackage.Temperature property Gets the Temperature. ```csharp public float Temperature { get; } ``` ##### Property Value The Temperature. ### UserComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/usercomment.md #### RawExifTagPackage.UserComment property Gets the User comments. ```csharp public byte[] UserComment { get; } ``` ##### Property Value The User comments. ### WaterDepth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/waterdepth.md #### RawExifTagPackage.WaterDepth property Gets the WaterDepth. ```csharp public float WaterDepth { get; } ``` ##### Property Value The WaterDepth. ### WhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawexiftagpackage/whitebalance.md #### RawExifTagPackage.WhiteBalance property Gets the White balance. ```csharp public ushort WhiteBalance { get; } ``` ##### Property Value The White balance. ### RawIFD1Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd1package.md #### RawIFD1Package class Represents IFD1 tags. ```csharp public sealed class RawIFD1Package : RawDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ThumbnailLenght { get; } | Gets the ThumbnailLenght. | | ThumbnailOffset { get; } | Gets the ThumbnailOffset. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ThumbnailLenght Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd1package/thumbnaillenght.md #### RawIFD1Package.ThumbnailLenght property Gets the ThumbnailLenght. ```csharp public long ThumbnailLenght { get; } ``` ##### Property Value The ThumbnailLenght. ### ThumbnailOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd1package/thumbnailoffset.md #### RawIFD1Package.ThumbnailOffset property Gets the ThumbnailOffset. ```csharp public long ThumbnailOffset { get; } ``` ##### Property Value The ThumbnailOffset. ### RawIFD2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package.md #### RawIFD2Package class Represents IFD1 tags. ```csharp public sealed class RawIFD2Package : RawDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | BitsPerSample { get; } | Gets the image BitsPerSample. | | Compression { get; } | Gets the image Compression. | | Count { get; } | Gets the number of metadata properties. | | ImageHeight { get; } | Gets the image height. | | ImageWidth { get; } | Gets the image width. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PhotometricInterpretation { get; } | Gets the image PhotometricInterpretation. | | PlanarConfiguration { get; } | Gets the PlanarConfiguration. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RowPerStrip { get; } | Gets the RowPerStrip. | | SamplesPerPixel { get; } | Gets the SamplesPerPixel. | | StripByteCounts { get; } | Gets the StripByteCounts. | | StripOffset { get; } | Gets the image StripOffset. | | Unknown1 { get; } | Gets the Unknown1. | | Unknown2 { get; } | Gets the Unknown2. | | Unknown3 { get; } | Gets the Unknown3. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BitsPerSample Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/bitspersample.md #### RawIFD2Package.BitsPerSample property Gets the image BitsPerSample. ```csharp public ushort[] BitsPerSample { get; } ``` ##### Property Value The image BitsPerSample. ### Compression Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/compression.md #### RawIFD2Package.Compression property Gets the image Compression. ```csharp public ushort Compression { get; } ``` ##### Property Value The image Compression. ### ImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/imageheight.md #### RawIFD2Package.ImageHeight property Gets the image height. ```csharp public ushort ImageHeight { get; } ``` ##### Property Value The image height. ### ImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/imagewidth.md #### RawIFD2Package.ImageWidth property Gets the image width. ```csharp public ushort ImageWidth { get; } ``` ##### Property Value The image width. ### PhotometricInterpretation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/photometricinterpretation.md #### RawIFD2Package.PhotometricInterpretation property Gets the image PhotometricInterpretation. ```csharp public ushort PhotometricInterpretation { get; } ``` ##### Property Value The image PhotometricInterpretation. ### PlanarConfiguration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/planarconfiguration.md #### RawIFD2Package.PlanarConfiguration property Gets the PlanarConfiguration. ```csharp public ushort PlanarConfiguration { get; } ``` ##### Property Value The PlanarConfiguration. ### RowPerStrip Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/rowperstrip.md #### RawIFD2Package.RowPerStrip property Gets the RowPerStrip. ```csharp public ushort RowPerStrip { get; } ``` ##### Property Value The RowPerStrip. ### SamplesPerPixel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/samplesperpixel.md #### RawIFD2Package.SamplesPerPixel property Gets the SamplesPerPixel. ```csharp public ushort SamplesPerPixel { get; } ``` ##### Property Value The SamplesPerPixel. ### StripByteCounts Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/stripbytecounts.md #### RawIFD2Package.StripByteCounts property Gets the StripByteCounts. ```csharp public long StripByteCounts { get; } ``` ##### Property Value The StripByteCounts. ### StripOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/stripoffset.md #### RawIFD2Package.StripOffset property Gets the image StripOffset. ```csharp public long StripOffset { get; } ``` ##### Property Value The image StripOffset. ### Unknown1 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/unknown1.md #### RawIFD2Package.Unknown1 property Gets the Unknown1. ```csharp public long Unknown1 { get; } ``` ##### Property Value The Unknown1. ### Unknown2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/unknown2.md #### RawIFD2Package.Unknown2 property Gets the Unknown2. ```csharp public long Unknown2 { get; } ``` ##### Property Value The Unknown2. ### Unknown3 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd2package/unknown3.md #### RawIFD2Package.Unknown3 property Gets the Unknown3. ```csharp public long[] Unknown3 { get; } ``` ##### Property Value The Unknown3. ### RawIFD3Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package.md #### RawIFD3Package class Represents IFD1 tags. ```csharp public sealed class RawIFD3Package : RawDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | Compression { get; } | Gets the image Compression. | | Count { get; } | Gets the number of metadata properties. | | ImageHeight { get; } | Gets the image height. | | ImageWidth { get; } | Gets the image width. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | StripByteCounts { get; } | Gets the image StripByteCounts. | | StripOffset { get; } | Gets the image StripOffset. | | Unknown1 { get; } | Gets the Unknown1. | | Unknown2 { get; } | Gets the Unknown2. | | Unknown3 { get; } | Gets the Unknown3. | | Unknown4 { get; } | Gets the Unknown4. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Compression Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/compression.md #### RawIFD3Package.Compression property Gets the image Compression. ```csharp public ushort Compression { get; } ``` ##### Property Value The image Compression. ### ImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/imageheight.md #### RawIFD3Package.ImageHeight property Gets the image height. ```csharp public ushort ImageHeight { get; } ``` ##### Property Value The image height. ### ImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/imagewidth.md #### RawIFD3Package.ImageWidth property Gets the image width. ```csharp public ushort ImageWidth { get; } ``` ##### Property Value The image width. ### StripByteCounts Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/stripbytecounts.md #### RawIFD3Package.StripByteCounts property Gets the image StripByteCounts. ```csharp public long StripByteCounts { get; } ``` ##### Property Value The image StripByteCounts. ### StripOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/stripoffset.md #### RawIFD3Package.StripOffset property Gets the image StripOffset. ```csharp public long StripOffset { get; } ``` ##### Property Value The image StripOffset. ### Unknown1 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/unknown1.md #### RawIFD3Package.Unknown1 property Gets the Unknown1. ```csharp public long Unknown1 { get; } ``` ##### Property Value The Unknown1. ### Unknown2 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/unknown2.md #### RawIFD3Package.Unknown2 property Gets the Unknown2. ```csharp public long Unknown2 { get; } ``` ##### Property Value The Unknown2. ### Unknown3 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/unknown3.md #### RawIFD3Package.Unknown3 property Gets the Unknown3. ```csharp public ushort[] Unknown3 { get; } ``` ##### Property Value The Unknown3. ### Unknown4 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawifd3package/unknown4.md #### RawIFD3Package.Unknown4 property Gets the Unknown4. ```csharp public long Unknown4 { get; } ``` ##### Property Value The Unknown4. ### RawMakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawmakernotepackage.md #### RawMakerNotePackage class Represents Raw MakerNotes tags. ```csharp public abstract class RawMakerNotePackage : RawDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### RawPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawpackage.md #### RawPackage class Represents Raw Package. ```csharp public abstract class RawPackage : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | RawPackage() | Initializes a new instance of the `RawPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### RawPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawpackage/rawpackage.md #### RawPackage constructor Initializes a new instance of the `RawPackage` class. ```csharp public RawPackage() ``` ### RawTagType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtagtype.md #### RawTagType enumeration Represents the IFD data type. ```csharp public enum RawTagType : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Byte | `1` | An 8-bit unsigned integer. | | Ascii | `2` | An 8-bit byte with a 7-bit ASCII character. | | Short | `3` | A 16-bit unsigned integer. | | Long | `4` | A 32-bit unsigned integer. | | Rational | `5` | A pair of LONGs, numerator then denominator. | | SByte | `6` | An 8-bit signed integer. | | Undefined | `7` | An undefined 8-bit byte. | | SShort | `8` | A 16-bit signed integer. | | SLong | `9` | A 32-bit signed integer. | | SRational | `10` | A pair of SLONGs, numerator then denominator. | | Float | `11` | A 4-byte IEEE floating point value. | | Double | `12` | An 8-byte IEEE floating point value. | | SubIfd | `13` | A 4-byte long offset value | ### RawTiffTagPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage.md #### RawTiffTagPackage class Represents Tiff tags. ```csharp public sealed class RawTiffTagPackage : RawDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | Artist { get; } | Gets the Artist. | | BitsPerSample { get; } | Gets the bits per sample. | | Compression { get; } | Gets compression. | | Copyright { get; } | Gets the Copyright. | | Count { get; } | Gets the number of metadata properties. | | DateTime { get; } | Gets the DateTime. | | EXIF { get; } | Gets the EXIF. | | GpsIfd { get; } | Gets the EXIF. | | GpsIfdPackage { get; } | Gets the GPS tag (GPSInfo IFD Pointer). | | ImageDescription { get; set; } | Gets or sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. | | ImageHeight { get; } | Gets the image height. | | ImageWidth { get; } | Gets the image width. | | Item { get; } | Gets the Raw tag with the specified id. (2 indexers) | | JpegInterchangeFormat { get; } | Gets the JpegInterchangeFormat. | | JpegInterchangeFormatLength { get; } | Gets the JpegInterchangeFormatLength. | | Keys { get; } | Gets a collection of the metadata property names. | | Make { get; } | Gets the macro mode. | | MetadataType { get; } | Gets the metadata type. | | Model { get; } | Gets the model. | | Orientation { get; } | Gets the orientation. | | PhotometricInterpretation { get; } | Gets PhotometricInterpretation. | | PlanarConfiguration { get; } | Gets the PlanarConfiguration. | | PrimaryChromaticities { get; } | Gets the PrimaryChromaticities. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawExifTagPackage { get; } | Gets the Exif tag (Exif IFD Pointer). | | RawIFD1Package { get; } | Gets the IFD1. | | RawIFD2Package { get; } | Gets the IFD2. | | RawIFD3Package { get; } | Gets the IFD3. | | ReferenceBlackWhite { get; } | Gets the ReferenceBlackWhite. | | ResolutionUnit { get; } | Gets the Resolution Unit. | | RowsPerStrip { get; } | Gets the RowsPerStrip. | | SamplesPerPixel { get; } | Gets the SamplesPerPixel. | | Software { get; } | Gets the Software. | | StripByteCounts { get; } | Gets the strip byte counts. | | StripOffset { get; } | Gets the StripOffset. | | TransferFunction { get; } | Gets the TransferFunction. | | WhitePoint { get; } | Gets the WhitePoint. | | XResolution { get; } | Gets the XResolution. | | YCbCrCoefficients { get; } | Gets the YCbCrCoefficients. | | YCbCrPositioning { get; } | Gets the YCbCrPositioning. | | YCbCrSubSampling { get; } | Gets the YCbCrSubSampling. | | YResolution { get; } | Gets the YResolution. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all Raw tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(uint) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(RawTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/artist.md #### RawTiffTagPackage.Artist property Gets the Artist. ```csharp public string Artist { get; } ``` ##### Property Value The Artist. ### BitsPerSample Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/bitspersample.md #### RawTiffTagPackage.BitsPerSample property Gets the bits per sample. ```csharp public ushort[] BitsPerSample { get; } ``` ##### Property Value The bits per sample. ### Compression Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/compression.md #### RawTiffTagPackage.Compression property Gets compression. ```csharp public ushort Compression { get; } ``` ##### Property Value The compression. ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/copyright.md #### RawTiffTagPackage.Copyright property Gets the Copyright. ```csharp public string Copyright { get; } ``` ##### Property Value The Copyright. ### DateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/datetime.md #### RawTiffTagPackage.DateTime property Gets the DateTime. ```csharp public string DateTime { get; } ``` ##### Property Value The DateTime. ### EXIF Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/exif.md #### RawTiffTagPackage.EXIF property Gets the EXIF. ```csharp public long EXIF { get; } ``` ##### Property Value The EXIF. ### GpsIfd Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/gpsifd.md #### RawTiffTagPackage.GpsIfd property Gets the EXIF. ```csharp public long GpsIfd { get; } ``` ##### Property Value The EXIF. ### GpsIfdPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/gpsifdpackage.md #### RawTiffTagPackage.GpsIfdPackage property Gets the GPS tag (GPSInfo IFD Pointer). ```csharp public GpsIfdPackage GpsIfdPackage { get; } ``` ##### Property Value The GPS tag (GPSInfo IFD Pointer). ### ImageDescription Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/imagedescription.md #### RawTiffTagPackage.ImageDescription property Gets or sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. ```csharp public string ImageDescription { get; set; } ``` ##### Property Value The image description. ### ImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/imageheight.md #### RawTiffTagPackage.ImageHeight property Gets the image height. ```csharp public ushort ImageHeight { get; } ``` ##### Property Value The image height. ### ImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/imagewidth.md #### RawTiffTagPackage.ImageWidth property Gets the image width. ```csharp public ushort ImageWidth { get; } ``` ##### Property Value The image width. ### JpegInterchangeFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/jpeginterchangeformat.md #### RawTiffTagPackage.JpegInterchangeFormat property Gets the JpegInterchangeFormat. ```csharp public long JpegInterchangeFormat { get; } ``` ##### Property Value The JpegInterchangeFormat. ### JpegInterchangeFormatLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/jpeginterchangeformatlength.md #### RawTiffTagPackage.JpegInterchangeFormatLength property Gets the JpegInterchangeFormatLength. ```csharp public long JpegInterchangeFormatLength { get; } ``` ##### Property Value The JpegInterchangeFormatLength. ### Make Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/make.md #### RawTiffTagPackage.Make property Gets the macro mode. ```csharp public string Make { get; } ``` ##### Property Value The macro mode. ### Model Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/model.md #### RawTiffTagPackage.Model property Gets the model. ```csharp public string Model { get; } ``` ##### Property Value The model. ### Orientation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/orientation.md #### RawTiffTagPackage.Orientation property Gets the orientation. ```csharp public ushort Orientation { get; } ``` ##### Property Value The orientation. ### PhotometricInterpretation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/photometricinterpretation.md #### RawTiffTagPackage.PhotometricInterpretation property Gets PhotometricInterpretation. ```csharp public ushort PhotometricInterpretation { get; } ``` ##### Property Value The PhotometricInterpretation. ### PlanarConfiguration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/planarconfiguration.md #### RawTiffTagPackage.PlanarConfiguration property Gets the PlanarConfiguration. ```csharp public ushort PlanarConfiguration { get; } ``` ##### Property Value The PlanarConfiguration. ### PrimaryChromaticities Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/primarychromaticities.md #### RawTiffTagPackage.PrimaryChromaticities property Gets the PrimaryChromaticities. ```csharp public double[] PrimaryChromaticities { get; } ``` ##### Property Value The PrimaryChromaticities. ### RawExifTagPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/rawexiftagpackage.md #### RawTiffTagPackage.RawExifTagPackage property Gets the Exif tag (Exif IFD Pointer). ```csharp public RawExifTagPackage RawExifTagPackage { get; } ``` ##### Property Value The Exif tag (Exif IFD Pointer). ### RawIFD1Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/rawifd1package.md #### RawTiffTagPackage.RawIFD1Package property Gets the IFD1. ```csharp public RawIFD1Package RawIFD1Package { get; } ``` ##### Property Value The IFD1. ### RawIFD2Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/rawifd2package.md #### RawTiffTagPackage.RawIFD2Package property Gets the IFD2. ```csharp public RawIFD2Package RawIFD2Package { get; } ``` ##### Property Value The IFD2. ### RawIFD3Package Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/rawifd3package.md #### RawTiffTagPackage.RawIFD3Package property Gets the IFD3. ```csharp public RawIFD3Package RawIFD3Package { get; } ``` ##### Property Value The IFD3. ### ReferenceBlackWhite Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/referenceblackwhite.md #### RawTiffTagPackage.ReferenceBlackWhite property Gets the ReferenceBlackWhite. ```csharp public double[] ReferenceBlackWhite { get; } ``` ##### Property Value The ReferenceBlackWhite. ### ResolutionUnit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/resolutionunit.md #### RawTiffTagPackage.ResolutionUnit property Gets the Resolution Unit. ```csharp public ushort ResolutionUnit { get; } ``` ##### Property Value The Resolution Unit. ### RowsPerStrip Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/rowsperstrip.md #### RawTiffTagPackage.RowsPerStrip property Gets the RowsPerStrip. ```csharp public long RowsPerStrip { get; } ``` ##### Property Value The RowsPerStrip. ### SamplesPerPixel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/samplesperpixel.md #### RawTiffTagPackage.SamplesPerPixel property Gets the SamplesPerPixel. ```csharp public ushort SamplesPerPixel { get; } ``` ##### Property Value The SamplesPerPixel. ### Software Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/software.md #### RawTiffTagPackage.Software property Gets the Software. ```csharp public string Software { get; } ``` ##### Property Value The Software. ### StripByteCounts Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/stripbytecounts.md #### RawTiffTagPackage.StripByteCounts property Gets the strip byte counts. ```csharp public long StripByteCounts { get; } ``` ##### Property Value The strip byte counts. ### StripOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/stripoffset.md #### RawTiffTagPackage.StripOffset property Gets the StripOffset. ```csharp public long StripOffset { get; } ``` ##### Property Value The StripOffset. ### TransferFunction Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/transferfunction.md #### RawTiffTagPackage.TransferFunction property Gets the TransferFunction. ```csharp public ushort[] TransferFunction { get; } ``` ##### Property Value The TransferFunction. ### WhitePoint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/whitepoint.md #### RawTiffTagPackage.WhitePoint property Gets the WhitePoint. ```csharp public double[] WhitePoint { get; } ``` ##### Property Value The WhitePoint. ### XResolution Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/xresolution.md #### RawTiffTagPackage.XResolution property Gets the XResolution. ```csharp public float XResolution { get; } ``` ##### Property Value The XResolution. ### YCbCrCoefficients Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/ycbcrcoefficients.md #### RawTiffTagPackage.YCbCrCoefficients property Gets the YCbCrCoefficients. ```csharp public double[] YCbCrCoefficients { get; } ``` ##### Property Value The YCbCrCoefficients. ### YCbCrPositioning Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/ycbcrpositioning.md #### RawTiffTagPackage.YCbCrPositioning property Gets the YCbCrPositioning. ```csharp public ushort YCbCrPositioning { get; } ``` ##### Property Value The YCbCrPositioning. ### YCbCrSubSampling Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/ycbcrsubsampling.md #### RawTiffTagPackage.YCbCrSubSampling property Gets the YCbCrSubSampling. ```csharp public ushort[] YCbCrSubSampling { get; } ``` ##### Property Value The YCbCrSubSampling. ### YResolution Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.raw/rawtifftagpackage/yresolution.md #### RawTiffTagPackage.YResolution property Gets the YResolution. ```csharp public float YResolution { get; } ``` ##### Property Value The YResolution. ### GroupDocs.Metadata.Formats.Riff Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff.md The namespace provides functionality allowing users to work with metadata of various formats derived from the RIFF container. #### Classes | Class | Description | | --- | --- | | RiffInfoPackage | Represents the metadata package containing properties extracted from the RIFF INFO chunk. | ### RiffInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage.md #### RiffInfoPackage class Represents the metadata package containing properties extracted from the RIFF INFO chunk. ```csharp public sealed class RiffInfoPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Artist { get; } | Gets the artist of the original subject of the file. | | Comment { get; } | Gets the comment about the file or the subject of the file. | | Copyright { get; } | Gets the copyright information for the file. | | Count { get; } | Gets the number of metadata properties. | | CreationDate { get; } | Gets the date the subject of the file was created. | | Engineer { get; } | Gets the name of the engineer who worked on the file. | | Genre { get; } | Gets the genre of the original work. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; } | Gets the keywords that refer to the file or subject of the file. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the title of the subject of the file. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Software { get; } | Gets the name of the software package used to create the file. | | Source { get; } | Gets the name of the person or organization who supplied the original subject of the file. | | Subject { get; } | Gets a description of the file contents, such as "Aerial view of Seattle." | | Technician { get; } | Gets the technician who digitized the subject file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/artist.md #### RiffInfoPackage.Artist property Gets the artist of the original subject of the file. ```csharp public string Artist { get; } ``` ##### Property Value The artist of the original subject of the file. ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/comment.md #### RiffInfoPackage.Comment property Gets the comment about the file or the subject of the file. ```csharp public string Comment { get; } ``` ##### Property Value The comment about the file or the subject of the file. ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/copyright.md #### RiffInfoPackage.Copyright property Gets the copyright information for the file. ```csharp public string Copyright { get; } ``` ##### Property Value The copyright information for the file. ### CreationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/creationdate.md #### RiffInfoPackage.CreationDate property Gets the date the subject of the file was created. ```csharp public string CreationDate { get; } ``` ##### Property Value The date the subject of the file was created. ### Engineer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/engineer.md #### RiffInfoPackage.Engineer property Gets the name of the engineer who worked on the file. ```csharp public string Engineer { get; } ``` ##### Property Value The name of the engineer who worked on the file. ### Genre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/genre.md #### RiffInfoPackage.Genre property Gets the genre of the original work. ```csharp public string Genre { get; } ``` ##### Property Value The genre of the original work. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/keywords.md #### RiffInfoPackage.Keywords property Gets the keywords that refer to the file or subject of the file. ```csharp public string Keywords { get; } ``` ##### Property Value The keywords that refer to the file or subject of the file. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/name.md #### RiffInfoPackage.Name property Gets the title of the subject of the file. ```csharp public string Name { get; } ``` ##### Property Value The title of the subject of the file. ### Software Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/software.md #### RiffInfoPackage.Software property Gets the name of the software package used to create the file. ```csharp public string Software { get; } ``` ##### Property Value The name of the software package used to create the file. ### Source Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/source.md #### RiffInfoPackage.Source property Gets the name of the person or organization who supplied the original subject of the file. ```csharp public string Source { get; } ``` ##### Property Value The name of the person or organization who supplied the original subject of the file. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/subject.md #### RiffInfoPackage.Subject property Gets a description of the file contents, such as "Aerial view of Seattle." ```csharp public string Subject { get; } ``` ##### Property Value A description of the file contents. ### Technician Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.riff/riffinfopackage/technician.md #### RiffInfoPackage.Technician property Gets the technician who digitized the subject file. ```csharp public string Technician { get; } ``` ##### Property Value The technician who digitized the subject file. ### GroupDocs.Metadata.Formats.ThreeD.Dae Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae.md #### Classes | Class | Description | | --- | --- | | DaeNode | Represents metadata associated with an .dae file. | | DaePackage | Represents .dae file metadata. | | DaeRootPackage | Represents .dae file metadata. | ### DaeNode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daenode.md #### DaeNode class Represents metadata associated with an .dae file. ```csharp public sealed class DaeNode : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the node name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daenode/name.md #### DaeNode.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### DaePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage.md #### DaePackage class Represents .dae file metadata. ```csharp public sealed class DaePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Author { get; set; } | Gets or sets the author of this asset | | Comment { get; set; } | Gets or sets the comment of this asset. | | Count { get; } | Gets the number of metadata properties. | | CreationTime { get; set; } | Gets or Sets the creation time of this asset. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | ModificationTime { get; set; } | Gets or Sets the modification time of this asset. | | Name { get; } | Gets the node name. | | Nodes { get; } | Gets an array of `DaeNode` entries inside the dae file. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Title { get; set; } | Gets or sets the title of this asset | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputDae)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.DaePackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage/author.md #### DaePackage.Author property Gets or sets the author of this asset ```csharp public string Author { get; set; } ``` ##### Property Value Author of this asset ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage/comment.md #### DaePackage.Comment property Gets or sets the comment of this asset. ```csharp public string Comment { get; set; } ``` ##### Property Value Comment of this asset. ### CreationTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage/creationtime.md #### DaePackage.CreationTime property Gets or Sets the creation time of this asset. ```csharp public DateTime CreationTime { get; set; } ``` ##### Property Value Creation time. ### ModificationTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage/modificationtime.md #### DaePackage.ModificationTime property Gets or Sets the modification time of this asset. ```csharp public DateTime ModificationTime { get; set; } ``` ##### Property Value Modification time. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage/name.md #### DaePackage.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### Nodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage/nodes.md #### DaePackage.Nodes property Gets an array of `DaeNode` entries inside the dae file. ```csharp public DaeNode[] Nodes { get; } ``` ##### Property Value An array of `DaeNode` entries inside the dae file. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daepackage/title.md #### DaePackage.Title property Gets or sets the title of this asset ```csharp public string Title { get; set; } ``` ##### Property Value Title of this asset ### DaeRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daerootpackage.md #### DaeRootPackage class Represents .dae file metadata. ```csharp public class DaeRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DaePackage { get; } | Gets the Dae metadata package. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputDae)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.DaePackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### DaePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.dae/daerootpackage/daepackage.md #### DaeRootPackage.DaePackage property Gets the Dae metadata package. ```csharp public DaePackage DaePackage { get; } ``` ##### Property Value The Dae metadata package. ### GroupDocs.Metadata.Formats.ThreeD.Fbx Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx.md #### Classes | Class | Description | | --- | --- | | FbxNode | Represents metadata associated with an .fbx file. | | FbxPackage | Represents .fbx file metadata. | | FbxRootPackage | Represents .fbx file metadata. | ### FbxNode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxnode.md #### FbxNode class Represents metadata associated with an .fbx file. ```csharp public sealed class FbxNode : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the node name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxnode/name.md #### FbxNode.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### FbxPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage.md #### FbxPackage class Represents .fbx file metadata. ```csharp public sealed class FbxPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | ApplicationName { get; set; } | Gets or sets the application name of this asset | | ApplicationVendor { get; set; } | Gets or sets the a application vendor of this asset | | ApplicationVersion { get; set; } | Gets or sets the application version of this asset | | Author { get; set; } | Gets or sets the author of this asset | | Comment { get; set; } | Gets or sets the comment of this asset. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the node name. | | Nodes { get; } | Gets an array of `FbxNode` entries inside the Fbx file. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Url { get; set; } | Gets or sets the url of this asset | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputFbx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.FbxPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### ApplicationName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/applicationname.md #### FbxPackage.ApplicationName property Gets or sets the application name of this asset ```csharp public string ApplicationName { get; set; } ``` ##### Property Value Application name of this asset ### ApplicationVendor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/applicationvendor.md #### FbxPackage.ApplicationVendor property Gets or sets the a application vendor of this asset ```csharp public string ApplicationVendor { get; set; } ``` ##### Property Value Application vendor of this asset ### ApplicationVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/applicationversion.md #### FbxPackage.ApplicationVersion property Gets or sets the application version of this asset ```csharp public string ApplicationVersion { get; set; } ``` ##### Property Value Application version of this asset ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/author.md #### FbxPackage.Author property Gets or sets the author of this asset ```csharp public string Author { get; set; } ``` ##### Property Value Author of this asset ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/comment.md #### FbxPackage.Comment property Gets or sets the comment of this asset. ```csharp public string Comment { get; set; } ``` ##### Property Value Comment of this asset. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/name.md #### FbxPackage.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### Nodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/nodes.md #### FbxPackage.Nodes property Gets an array of `FbxNode` entries inside the Fbx file. ```csharp public FbxNode[] Nodes { get; } ``` ##### Property Value An array of `FbxNode` entries inside the Fbx file. ### Url Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxpackage/url.md #### FbxPackage.Url property Gets or sets the url of this asset ```csharp public string Url { get; set; } ``` ##### Property Value Url of this asset ### FbxRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage.md #### FbxRootPackage class Represents .fbx file metadata. ```csharp public class FbxRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FbxPackage { get; } | Gets the Fbx metadata package. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputFbx)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.FbxPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### FbxPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/fbxpackage.md #### FbxRootPackage.FbxPackage property Gets the Fbx metadata package. ```csharp public FbxPackage FbxPackage { get; } ``` ##### Property Value The Fbx metadata package. ### GroupDocs.Metadata.Formats.ThreeD.Gltf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf.md #### Classes | Class | Description | | --- | --- | | GltfPackage | Represents .glTF file metadata. | | GltfPropertyDefinition | Represents metadata associated with an .glTF file. | | GltfPropertyTable | Represents metadata associated with an .glTF file. | | GltfRootPackage | Represents .glTF file metadata. | ### GltfPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpackage.md #### GltfPackage class Represents .glTF file metadata. ```csharp public sealed class GltfPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | PropertyTables { get; } | | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputGltf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.GltfPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### PropertyTables Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpackage/propertytables.md #### GltfPackage.PropertyTables property ```csharp public GltfPropertyTable[] PropertyTables { get; } ``` ### GltfPropertyDefinition Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition.md #### GltfPropertyDefinition class Represents metadata associated with an .glTF file. ```csharp public sealed class GltfPropertyDefinition : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | PropertyName { get; } | Gets the property name. | | PropertyType { get; } | Gets the property type. | | PropertyValue { get; } | Gets the property value. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### PropertyName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/propertyname.md #### GltfPropertyDefinition.PropertyName property Gets the property name. ```csharp public string PropertyName { get; } ``` ##### Property Value The property name. ### PropertyType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/propertytype.md #### GltfPropertyDefinition.PropertyType property Gets the property type. ```csharp public string PropertyType { get; } ``` ##### Property Value The property type. ### PropertyValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/propertyvalue.md #### GltfPropertyDefinition.PropertyValue property Gets the property value. ```csharp public object PropertyValue { get; } ``` ##### Property Value The property value. ### GltfPropertyTable Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable.md #### GltfPropertyTable class Represents metadata associated with an .glTF file. ```csharp public sealed class GltfPropertyTable : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetaClassName { get; } | Gets the Meta Class name. | | MetadataType { get; } | Gets the metadata type. | | Properties { get; } | Gets the Properties. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | PropertyTableName { get; } | Gets the Property Table name. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### MetaClassName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/metaclassname.md #### GltfPropertyTable.MetaClassName property Gets the Meta Class name. ```csharp public string MetaClassName { get; } ``` ##### Property Value The Meta Class name. ### Properties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/properties.md #### GltfPropertyTable.Properties property Gets the Properties. ```csharp public GltfPropertyDefinition[] Properties { get; } ``` ##### Property Value The Properties. ### PropertyTableName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/propertytablename.md #### GltfPropertyTable.PropertyTableName property Gets the Property Table name. ```csharp public string PropertyTableName { get; } ``` ##### Property Value The Property Table name. ### GltfRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage.md #### GltfRootPackage class Represents .glTF file metadata. ```csharp public class GltfRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | GltfPackage { get; } | Gets the Gltf metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputGltf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.GltfPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### GltfPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/gltfpackage.md #### GltfRootPackage.GltfPackage property Gets the Gltf metadata package. ```csharp public GltfPackage GltfPackage { get; } ``` ##### Property Value The Gltf metadata package. ### GroupDocs.Metadata.Formats.ThreeD.Stl Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl.md #### Classes | Class | Description | | --- | --- | | StlNode | Represents metadata associated with an .stl file. | | StlPackage | Represents .stl file metadata. | | StlRootPackage | Represents .stl file metadata. | ### StlNode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl/stlnode.md #### StlNode class Represents metadata associated with an .stl file. ```csharp public sealed class StlNode : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the node name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl/stlnode/name.md #### StlNode.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### StlPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl/stlpackage.md #### StlPackage class Represents .stl file metadata. ```csharp public sealed class StlPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the node name. | | Nodes { get; } | Gets an array of `StlNode` entries inside the 3ds file. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputStl)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.StlPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl/stlpackage/name.md #### StlPackage.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### Nodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl/stlpackage/nodes.md #### StlPackage.Nodes property Gets an array of `StlNode` entries inside the 3ds file. ```csharp public StlNode[] Nodes { get; } ``` ##### Property Value An array of `StlNode` entries inside the 3ds file. ### StlRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl/stlrootpackage.md #### StlRootPackage class Represents .stl file metadata. ```csharp public class StlRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | StlPackage { get; } | Gets the Stl package package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputStl)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.StlPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### StlPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.stl/stlrootpackage/stlpackage.md #### StlRootPackage.StlPackage property Gets the Stl package package. ```csharp public StlPackage StlPackage { get; } ``` ##### Property Value The Stl metadata package. ### GroupDocs.Metadata.Formats.ThreeD.ThreeDS Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds.md #### Classes | Class | Description | | --- | --- | | ThreeDSNode | Represents metadata associated with an .3ds file. | | ThreeDSPackage | Represents .3ds file metadata. | | ThreeDSRootPackage | Represents .3ds file metadata. | ### ThreeDSNode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedsnode.md #### ThreeDSNode class Represents metadata associated with an .3ds file. ```csharp public sealed class ThreeDSNode : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Materials { get; } | Gets the array of materials. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the node name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Materials Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedsnode/materials.md #### ThreeDSNode.Materials property Gets the array of materials. ```csharp public string[] Materials { get; } ``` ##### Property Value The array of categories. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedsnode/name.md #### ThreeDSNode.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### ThreeDSPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedspackage.md #### ThreeDSPackage class Represents .3ds file metadata. ```csharp public sealed class ThreeDSPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Materials { get; } | Gets the array of materials. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the node name. | | Nodes { get; } | Gets an array of `ThreeDSNode` entries inside the 3ds file. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputThreeDS)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.ThreeDSPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### Materials Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedspackage/materials.md #### ThreeDSPackage.Materials property Gets the array of materials. ```csharp public string[] Materials { get; } ``` ##### Property Value The array of materials. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedspackage/name.md #### ThreeDSPackage.Name property Gets the node name. ```csharp public string Name { get; } ``` ##### Property Value The node name. ### Nodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedspackage/nodes.md #### ThreeDSPackage.Nodes property Gets an array of `ThreeDSNode` entries inside the 3ds file. ```csharp public ThreeDSNode[] Nodes { get; } ``` ##### Property Value An array of `ThreeDSNode` entries inside the 3ds file. ### ThreeDSRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage.md #### ThreeDSRootPackage class Represents .3ds file metadata. ```csharp public class ThreeDSRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ThreeDSPackage { get; } | Gets the 3ds metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples The following code snippet shows how to get metadata from a 3D file. ```csharp Encoding encoding = Encoding.GetEncoding(866); using (Metadata metadata = new Metadata(Constants.InputThreeDS)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Name); foreach (var node in root.ThreeDSPackage.Nodes) { Console.WriteLine(node.Name); } } ``` ### ThreeDSPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/threedspackage.md #### ThreeDSRootPackage.ThreeDSPackage property Gets the 3ds metadata package. ```csharp public ThreeDSPackage ThreeDSPackage { get; } ``` ##### Property Value The 3ds metadata package. ### GroupDocs.Metadata.Formats.Video Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video.md The namespace contains classes for working with the most popular video formats. #### Classes | Class | Description | | --- | --- | | AsfAudioStreamProperty | Represents Audio stream property metadata in the ASF media container. | | AsfBaseDescriptor | Represents an ASF base metadata descriptor object. | | AsfBaseStreamProperty | Represents base stream property metadata in the ASF media container. | | AsfCodec | Represents ASF codec metadata. | | AsfContentDescriptor | Represents an ASF content descriptor object. | | AsfMetadataDescriptor | Represents an ASF metadata descriptor. | | AsfMetadataDescriptorCollection | Represents a collection of metadata descriptors. | | AsfPackage | Represents native metadata of the ASF media container. | | AsfRootPackage | Represents the root package allowing working with metadata in an ASF video. | | AsfVideoStreamProperty | Represents Video stream property metadata in the ASF media container. | | AviHeader | Represents the AVIMAINHEADER structure in an AVI video. | | AviRootPackage | Represents the root package allowing working with metadata in an AVI video. | | FlvHeader | Represents a FLV video header. | | FlvRootPackage | Represents the root package allowing working with metadata in an FLV video. | | MatroskaAudioTrack | Represents audio metadata in a Matroska video. | | MatroskaBasePackage | Provides a base metadata class for all packages extracted from a Matroska video. | | MatroskaEbmlHeader | Represents EBML header metadata in a Matroska video. | | MatroskaPackage | Represents a metadata container in a Matroska video. | | MatroskaRootPackage | Represents the root package allowing working with metadata in a Matroska video. | | MatroskaSegment | Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. | | MatroskaSimpleTag | Represents general information about the target in a Matroska video. | | MatroskaSubtitle | Represents subtitle metadata in a Matroska video. | | MatroskaSubtitleTrack | Represents subtitle metadata in a Matroska video. | | MatroskaTag | Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. | | MatroskaTrack | Represents track metadata in a Matroska video. | | MatroskaVideoTrack | Represents video metadata in a Matroska video. | | MovAtom | Represents a QuickTime atom. | | MovPackage | Represents QuickTime metadata. | | MovRootPackage | Represents the root package allowing working with metadata in a QuickTime video. | #### Enumeration | Enumeration | Description | | --- | --- | | AsfCodecType | Defines ASF codec types. | | AsfDescriptorType | Defines ASF descriptor types. | | AsfExtendedStreamPropertyFlags | Defines ASF extended stream property flags. | | AsfFilePropertyFlags | Defines ASF file property flags. | | AsfStreamType | Defines ASF stream types. | | AviHeaderFlags | Represents AVI Header flags. | | MatroskaContentType | Represents a Matroska content type. | | MatroskaTargetTypeValue | Represents a number to indicate the logical level of the Matroska tag target. | | MatroskaTrackType | Represents Matroska track types coded in 8 bits. | | MatroskaVideoDisplayUnit | Defines how Matroska DisplayWidth and DisplayHeight are interpreted. | | MatroskaVideoFieldOrder | Represents the field ordering of the Matroska video. If FlagInterlaced is not set to 1, this Element MUST be ignored. | | MatroskaVideoFlagInterlaced | Represents a flag to declare if the Matroska video is known to be progressive or interlaced and if applicable to declare details about the interlacement. | | MatroskaVideoStereoMode | Represents Matroska Stereo-3D video modes. | ### AsfAudioStreamProperty Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfaudiostreamproperty.md #### AsfAudioStreamProperty class Represents Audio stream property metadata in the ASF media container. ```csharp public class AsfAudioStreamProperty : AsfBaseStreamProperty ``` #### Properties | Name | Description | | --- | --- | | AlternateBitrate { get; } | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | AverageBitrate { get; } | Gets the average bitrate. | | AverageTimePerFrame { get; } | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | Bitrate { get; } | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | BitsPerSample { get; } | Gets the number of bits per sample of monaural data. | | Channels { get; } | Gets the number of audio channels. | | Count { get; } | Gets the number of metadata properties. | | EndTime { get; } | Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. | | Flags { get; } | Gets the flags. | | FormatTag { get; } | Gets the unique ID of the codec used to encode the audio data. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the stream language. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SamplesPerSecond { get; } | Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. | | StartTime { get; } | Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. | | StreamNumber { get; } | Gets the number of this stream. | | StreamType { get; } | Gets the type of this stream. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BitsPerSample Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfaudiostreamproperty/bitspersample.md #### AsfAudioStreamProperty.BitsPerSample property Gets the number of bits per sample of monaural data. ```csharp public ushort BitsPerSample { get; } ``` ##### Property Value The number of bits per sample of monaural data. ### Channels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfaudiostreamproperty/channels.md #### AsfAudioStreamProperty.Channels property Gets the number of audio channels. ```csharp public ushort Channels { get; } ``` ##### Property Value The number of audio channels. ### FormatTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfaudiostreamproperty/formattag.md #### AsfAudioStreamProperty.FormatTag property Gets the unique ID of the codec used to encode the audio data. ```csharp public ushort FormatTag { get; } ``` ##### Property Value The unique ID of the codec used to encode the audio data. ### SamplesPerSecond Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfaudiostreamproperty/samplespersecond.md #### AsfAudioStreamProperty.SamplesPerSecond property Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. ```csharp public uint SamplesPerSecond { get; } ``` ##### Property Value The a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. ### AsfBaseDescriptor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasedescriptor.md #### AsfBaseDescriptor class Represents an ASF base metadata descriptor object. ```csharp public abstract class AsfBaseDescriptor : MetadataProperty ``` #### Properties | Name | Description | | --- | --- | | AsfContentType { get; } | Gets the type of the content. | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | Tags { get; } | Gets a collection of tags associated with the property. | | Value { get; } | Gets the property value. | ### AsfContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasedescriptor/asfcontenttype.md #### AsfBaseDescriptor.AsfContentType property Gets the type of the content. ```csharp public AsfDescriptorType AsfContentType { get; } ``` ##### Property Value The type of the content. ### AsfBaseStreamProperty Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty.md #### AsfBaseStreamProperty class Represents base stream property metadata in the ASF media container. ```csharp public abstract class AsfBaseStreamProperty : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | AlternateBitrate { get; } | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | AverageBitrate { get; } | Gets the average bitrate. | | AverageTimePerFrame { get; } | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | Bitrate { get; } | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | Count { get; } | Gets the number of metadata properties. | | EndTime { get; } | Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. | | Flags { get; } | Gets the flags. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the stream language. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | StartTime { get; } | Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. | | StreamNumber { get; } | Gets the number of this stream. | | StreamType { get; } | Gets the type of this stream. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AlternateBitrate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/alternatebitrate.md #### AsfBaseStreamProperty.AlternateBitrate property Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ```csharp public uint? AlternateBitrate { get; } ``` ##### Property Value The leak rate RAlt, in bits per second. ### AverageBitrate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/averagebitrate.md #### AsfBaseStreamProperty.AverageBitrate property Gets the average bitrate. ```csharp public uint? AverageBitrate { get; } ``` ##### Property Value The average bitrate. ### AverageTimePerFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/averagetimeperframe.md #### AsfBaseStreamProperty.AverageTimePerFrame property Gets the average time duration, measured in 100-nanosecond units, of each frame. ```csharp public ulong? AverageTimePerFrame { get; } ``` ##### Property Value The average time duration, measured in 100-nanosecond units, of each frame. ### Bitrate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/bitrate.md #### AsfBaseStreamProperty.Bitrate property Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ```csharp public uint? Bitrate { get; } ``` ##### Property Value The bleak rate R, in bits per second. ### EndTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/endtime.md #### AsfBaseStreamProperty.EndTime property Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. ```csharp public ulong? EndTime { get; } ``` ##### Property Value The presentation time of the last object plus the duration of play. ### Flags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/flags.md #### AsfBaseStreamProperty.Flags property Gets the flags. ```csharp public AsfExtendedStreamPropertyFlags? Flags { get; } ``` ##### Property Value The flags. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/language.md #### AsfBaseStreamProperty.Language property Gets the stream language. ```csharp public string Language { get; } ``` ##### Property Value The stream language. ### StartTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/starttime.md #### AsfBaseStreamProperty.StartTime property Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. ```csharp public ulong? StartTime { get; } ``` ##### Property Value The presentation time of the first object. ### StreamNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/streamnumber.md #### AsfBaseStreamProperty.StreamNumber property Gets the number of this stream. ```csharp public byte StreamNumber { get; } ``` ##### Property Value The number of this stream. ### StreamType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfbasestreamproperty/streamtype.md #### AsfBaseStreamProperty.StreamType property Gets the type of this stream. ```csharp public AsfStreamType StreamType { get; } ``` ##### Property Value The type of this stream. ### AsfCodec Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfcodec.md #### AsfCodec class Represents ASF codec metadata. ```csharp public class AsfCodec : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | CodecType { get; } | Gets the type of the codec. | | Count { get; } | Gets the number of metadata properties. | | Description { get; } | Gets the description. | | Information { get; } | Gets the information string. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the property name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CodecType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfcodec/codectype.md #### AsfCodec.CodecType property Gets the type of the codec. ```csharp public AsfCodecType CodecType { get; } ``` ##### Property Value The type of the codec. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfcodec/description.md #### AsfCodec.Description property Gets the description. ```csharp public string Description { get; } ``` ##### Property Value The description. ### Information Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfcodec/information.md #### AsfCodec.Information property Gets the information string. ```csharp public string Information { get; } ``` ##### Property Value The information string. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfcodec/name.md #### AsfCodec.Name property Gets the property name. ```csharp public string Name { get; } ``` ##### Property Value The property name. ### AsfCodecType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfcodectype.md #### AsfCodecType enumeration Defines ASF codec types. ```csharp public enum AsfCodecType : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | Undefined codec. | | Video | `1` | Video codec. | | Audio | `2` | Audio codec. | | Unknown | `65535` | Unknown codec. | ### AsfContentDescriptor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfcontentdescriptor.md #### AsfContentDescriptor class Represents an ASF content descriptor object. ```csharp public sealed class AsfContentDescriptor : AsfBaseDescriptor ``` #### Properties | Name | Description | | --- | --- | | AsfContentType { get; } | Gets the type of the content. | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | Tags { get; } | Gets a collection of tags associated with the property. | | Value { get; } | Gets the property value. | ### AsfDescriptorType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfdescriptortype.md #### AsfDescriptorType enumeration Defines ASF descriptor types. ```csharp public enum AsfDescriptorType : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unicode | `0` | The unicode string type. | | ByteArray | `1` | The byte array type. | | Bool | `2` | The 32-bit bool type. | | DWord | `3` | The 32-bit unsigned integer type. | | QWord | `4` | The 64-bit unsigned integer type. | | Word | `5` | The 16-bit unsigned integer type. | | Guid | `6` | The 128-bit (16 byte) GUID type. | ### AsfExtendedStreamPropertyFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfextendedstreampropertyflags.md #### AsfExtendedStreamPropertyFlags enumeration Defines ASF extended stream property flags. ```csharp [Flags] public enum AsfExtendedStreamPropertyFlags : uint ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Reliable | `1` | This digital media stream, if sent over a network, must be carried over a reliable data communications transport mechanism. | | Seekable | `2` | This flag should be set only if the stream is seekable. | | NoCleanpoints | `2` | The stream does not contain any cleanpoints. | | ResendLiveCleanpoints | `2` | A stream is joined in mid-transmission, all information from the most recent cleanpoint up to the current time should be sent before normal streaming begins at the current time. | ### AsfFilePropertyFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asffilepropertyflags.md #### AsfFilePropertyFlags enumeration Defines ASF file property flags. ```csharp [Flags] public enum AsfFilePropertyFlags : uint ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | The undefined flag. | | Broadcast | `1` | Specifies, that a file is in the process of being created, and thus that various values stored in the header objects are invalid. | | Seekable | `2` | Specifies, that a file is seekable. | ### AsfMetadataDescriptor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfmetadatadescriptor.md #### AsfMetadataDescriptor class Represents an ASF metadata descriptor. ```csharp public sealed class AsfMetadataDescriptor : AsfBaseDescriptor ``` #### Properties | Name | Description | | --- | --- | | AsfContentType { get; } | Gets the type of the content. | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Language { get; } | Gets the language. | | Name { get; } | Gets the property name. | | OriginalName { get; } | Gets the original name of the descriptor. | | StreamNumber { get; } | Gets the stream number. | | Tags { get; } | Gets a collection of tags associated with the property. | | Value { get; } | Gets the property value. | ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfmetadatadescriptor/language.md #### AsfMetadataDescriptor.Language property Gets the language. ```csharp public string Language { get; } ``` ##### Property Value The language. ### OriginalName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfmetadatadescriptor/originalname.md #### AsfMetadataDescriptor.OriginalName property Gets the original name of the descriptor. ```csharp public string OriginalName { get; } ``` ##### Property Value The original name of the descriptor. ### StreamNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfmetadatadescriptor/streamnumber.md #### AsfMetadataDescriptor.StreamNumber property Gets the stream number. ```csharp public ushort StreamNumber { get; } ``` ##### Property Value The stream number. ### AsfMetadataDescriptorCollection Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection.md #### AsfMetadataDescriptorCollection class Represents a collection of metadata descriptors. ```csharp public class AsfMetadataDescriptorCollection : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AsfPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfpackage.md #### AsfPackage class Represents native metadata of the ASF media container. ```csharp public class AsfPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | CodecInformation { get; } | Gets the codec info entries. | | Count { get; } | Gets the number of metadata properties. | | CreationDate { get; } | Gets the date and time of the initial creation of the file. | | FileID { get; } | Gets the unique identifier for this file. | | Flags { get; } | Gets the header flags. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataDescriptors { get; } | Gets the metadata descriptors. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | StreamProperties { get; } | Gets the digital media stream properties. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CodecInformation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfpackage/codecinformation.md #### AsfPackage.CodecInformation property Gets the codec info entries. ```csharp public AsfCodec[] CodecInformation { get; } ``` ##### Property Value The codec info entries. ### CreationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfpackage/creationdate.md #### AsfPackage.CreationDate property Gets the date and time of the initial creation of the file. ```csharp public DateTime CreationDate { get; } ``` ##### Property Value The date and time of the initial creation of the file. ### FileID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfpackage/fileid.md #### AsfPackage.FileID property Gets the unique identifier for this file. ```csharp public Guid FileID { get; } ``` ##### Property Value The unique identifier for this file. ### Flags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfpackage/flags.md #### AsfPackage.Flags property Gets the header flags. ```csharp public AsfFilePropertyFlags Flags { get; } ``` ##### Property Value The header flags. ### MetadataDescriptors Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfpackage/metadatadescriptors.md #### AsfPackage.MetadataDescriptors property Gets the metadata descriptors. ```csharp public AsfBaseDescriptor[] MetadataDescriptors { get; } ``` ##### Property Value The metadata descriptors. ### StreamProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfpackage/streamproperties.md #### AsfPackage.StreamProperties property Gets the digital media stream properties. ```csharp public AsfBaseStreamProperty[] StreamProperties { get; } ``` ##### Property Value The digital media stream properties. ### AsfRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfrootpackage.md #### AsfRootPackage class Represents the root package allowing working with metadata in an ASF video. ```csharp public class AsfRootPackage : RootMetadataPackage, IXmp ``` #### Properties | Name | Description | | --- | --- | | AsfPackage { get; } | Gets the ASF metadata package. | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AsfPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfrootpackage/asfpackage.md #### AsfRootPackage.AsfPackage property Gets the ASF metadata package. ```csharp public AsfPackage AsfPackage { get; } ``` ##### Property Value The ASF metadata package. ##### Examples This code sample demonstrates how to read native ASF metadata. ```csharp using (Metadata metadata = new Metadata(Constants.InputAsf)) { var root = metadata.GetRootPackage(); var package = root.AsfPackage; // Display basic properties Console.WriteLine("Creation date: {0}", package.CreationDate); Console.WriteLine("File id: {0}", package.FileID); Console.WriteLine("Flags: {0}", package.Flags); // Display Asf Codec Information foreach (var codecInfo in package.CodecInformation) { Console.WriteLine("Codec type: {0}", codecInfo.CodecType); Console.WriteLine("Description: {0}", codecInfo.Description); Console.WriteLine("Codec information: {0}", codecInfo.Information); Console.WriteLine(codecInfo.Name); } // Display metadata descriptors foreach (AsfBaseDescriptor descriptor in package.MetadataDescriptors) { Console.WriteLine("Name: {0}", descriptor.Name); Console.WriteLine("Value: {0}", descriptor.Value); Console.WriteLine("Content type: {0}", descriptor.AsfContentType); AsfMetadataDescriptor metadataDescriptor = descriptor as AsfMetadataDescriptor; if (metadataDescriptor != null) { Console.WriteLine("Language: {0}", metadataDescriptor.Language); Console.WriteLine("Stream number: {0}", metadataDescriptor.StreamNumber); Console.WriteLine("Original name: {0}", metadataDescriptor.OriginalName); } } //Display the base stream properties foreach (AsfBaseStreamProperty property in package.StreamProperties) { Console.WriteLine("Alternate bitrate: {0}", property.AlternateBitrate); Console.WriteLine("Average bitrate: {0}", property.AverageBitrate); Console.WriteLine("Average time per frame: {0}", property.AverageTimePerFrame); Console.WriteLine("Bitrate: {0}", property.Bitrate); Console.WriteLine("Stream end time: {0}", property.EndTime); Console.WriteLine("Stream flags: {0}", property.Flags); Console.WriteLine("Stream language: {0}", property.Language); Console.WriteLine("Stream start time: {0}", property.StartTime); Console.WriteLine("Stream number: {0}", property.StreamNumber); Console.WriteLine("Stream type: {0}", property.StreamType); //Display the audio stream properties AsfAudioStreamProperty audioStreamProperty = property as AsfAudioStreamProperty; if (audioStreamProperty != null) { Console.WriteLine("Audio bits per sample: {0}", audioStreamProperty.BitsPerSample); Console.WriteLine("Audio channels: {0}", audioStreamProperty.Channels); Console.WriteLine("Audio format tag: {0}", audioStreamProperty.FormatTag); Console.WriteLine("Audio samples per second: {0}", audioStreamProperty.SamplesPerSecond); } //Display the video stream properties AsfVideoStreamProperty videoStreamProperty = property as AsfVideoStreamProperty; if (videoStreamProperty != null) { Console.WriteLine("Video bits per pixels: {0}", videoStreamProperty.BitsPerPixels); Console.WriteLine("Compression: {0}", videoStreamProperty.Compression); Console.WriteLine("Image height: {0}", videoStreamProperty.ImageHeight); Console.WriteLine("Image width: {0}", videoStreamProperty.ImageWidth); } } } ``` ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfrootpackage/xmppackage.md #### AsfRootPackage.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ##### Examples This example demonstrates how to extract XMP metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.AsfWithXmp)) { var root = metadata.GetRootPackage(); if (root.XmpPackage != null) { if (root.XmpPackage.Schemes.XmpBasic != null) { Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname); // ... } if (root.XmpPackage.Schemes.DublinCore != null) { Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source); // ... } if (root.XmpPackage.Schemes.Photoshop != null) { Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated); // ... } // ... } } ``` ### AsfStreamType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfstreamtype.md #### AsfStreamType enumeration Defines ASF stream types. ```csharp public enum AsfStreamType : ushort ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | Undefined stream type. | | Audio | `1` | ASF Audio Media. | | Video | `2` | ASF Video Media. | | Command | `3` | ASF Command Media. | | Jfif | `4` | ASF JFIF Media. | | DegradableJpeg | `5` | ASF Degradable JPEG Media. | | FileTransfer | `6` | ASF File Transfer Media. | | Binary | `7` | ASF Binary Media. | | WebStreamSubtype | `8` | ASF Web Stream Media Subtype. | | WebStreamFormat | `9` | ASF Web Stream Format. | ### AsfVideoStreamProperty Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfvideostreamproperty.md #### AsfVideoStreamProperty class Represents Video stream property metadata in the ASF media container. ```csharp public class AsfVideoStreamProperty : AsfBaseStreamProperty ``` #### Properties | Name | Description | | --- | --- | | AlternateBitrate { get; } | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | AverageBitrate { get; } | Gets the average bitrate. | | AverageTimePerFrame { get; } | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | Bitrate { get; } | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | BitsPerPixels { get; } | Gets the bits per pixels. | | Compression { get; } | Gets the video compression Id. | | Count { get; } | Gets the number of metadata properties. | | EndTime { get; } | Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. | | Flags { get; } | Gets the flags. | | ImageHeight { get; } | Gets the height of the encoded image in pixels. | | ImageWidth { get; } | Gets the width of the encoded image in pixels. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the stream language. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | StartTime { get; } | Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. | | StreamNumber { get; } | Gets the number of this stream. | | StreamType { get; } | Gets the type of this stream. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BitsPerPixels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfvideostreamproperty/bitsperpixels.md #### AsfVideoStreamProperty.BitsPerPixels property Gets the bits per pixels. ```csharp public uint BitsPerPixels { get; } ``` ##### Property Value The bits per pixels. ### Compression Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfvideostreamproperty/compression.md #### AsfVideoStreamProperty.Compression property Gets the video compression Id. ```csharp public uint Compression { get; } ``` ##### Property Value The video compression Id. ### ImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfvideostreamproperty/imageheight.md #### AsfVideoStreamProperty.ImageHeight property Gets the height of the encoded image in pixels. ```csharp public uint ImageHeight { get; } ``` ##### Property Value The height of the encoded image in pixels. ### ImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/asfvideostreamproperty/imagewidth.md #### AsfVideoStreamProperty.ImageWidth property Gets the width of the encoded image in pixels. ```csharp public uint ImageWidth { get; } ``` ##### Property Value The width of the encoded image in pixels. ### AviHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader.md #### AviHeader class Represents the AVIMAINHEADER structure in an AVI video. ```csharp public sealed class AviHeader : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | AviHeader() | Initializes a new instance of the `AviHeader` class. | #### Properties | Name | Description | | --- | --- | | AviHeaderFlags { get; } | Gets a bitwise combination of zero or more of the AVI flags. | | Count { get; } | Gets the number of metadata properties. | | Height { get; } | Gets the height of the AVI file in pixels. | | InitialFrames { get; } | Gets the initial frame for interleaved files. Noninterleaved files should specify zero. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this member. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MaxBytesPerSec { get; } | Gets the approximate maximum data rate of the file. This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks. | | MetadataType { get; } | Gets the metadata type. | | MicroSecPerFrame { get; } | Gets the the number of microseconds between frames. This value indicates the overall timing for the file. | | PaddingGranularity { get; } | Gets the alignment for data, in bytes. Pad the data to multiples of this value. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Streams { get; } | Gets the number of streams in the file. For example, a file with audio and video has two streams. | | SuggestedBufferSize { get; } | Gets the suggested buffer size for reading the file. Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback, which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record, and not just a chunk. | | TotalFrames { get; } | Gets the the total number of frames of data in the file. | | Width { get; } | Gets the width of the AVI file in pixels. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AviHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/aviheader.md #### AviHeader constructor Initializes a new instance of the `AviHeader` class. ```csharp public AviHeader() ``` ### AviHeaderFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/aviheaderflags.md #### AviHeader.AviHeaderFlags property Gets a bitwise combination of zero or more of the AVI flags. ```csharp public AviHeaderFlags AviHeaderFlags { get; } ``` ##### Property Value The AVI flags. ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/height.md #### AviHeader.Height property Gets the height of the AVI file in pixels. ```csharp public int Height { get; } ``` ##### Property Value The height in pixels. ### InitialFrames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/initialframes.md #### AviHeader.InitialFrames property Gets the initial frame for interleaved files. Noninterleaved files should specify zero. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this member. ```csharp public int InitialFrames { get; } ``` ##### Property Value The initial frames. ### MaxBytesPerSec Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/maxbytespersec.md #### AviHeader.MaxBytesPerSec property Gets the approximate maximum data rate of the file. This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks. ```csharp public int MaxBytesPerSec { get; } ``` ##### Property Value The the approximate maximum data rate of the file. ### MicroSecPerFrame Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/microsecperframe.md #### AviHeader.MicroSecPerFrame property Gets the the number of microseconds between frames. This value indicates the overall timing for the file. ```csharp public int MicroSecPerFrame { get; } ``` ##### Property Value The number of microseconds between frames. ### PaddingGranularity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/paddinggranularity.md #### AviHeader.PaddingGranularity property Gets the alignment for data, in bytes. Pad the data to multiples of this value. ```csharp public int PaddingGranularity { get; } ``` ##### Property Value The the alignment for data. ### Streams Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/streams.md #### AviHeader.Streams property Gets the number of streams in the file. For example, a file with audio and video has two streams. ```csharp public int Streams { get; } ``` ##### Property Value The number of streams. ### SuggestedBufferSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/suggestedbuffersize.md #### AviHeader.SuggestedBufferSize property Gets the suggested buffer size for reading the file. Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback, which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record, and not just a chunk. ```csharp public int SuggestedBufferSize { get; } ``` ##### Property Value The suggested buffer size for reading the file. ### TotalFrames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/totalframes.md #### AviHeader.TotalFrames property Gets the the total number of frames of data in the file. ```csharp public int TotalFrames { get; } ``` ##### Property Value The total number of frames. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheader/width.md #### AviHeader.Width property Gets the width of the AVI file in pixels. ```csharp public int Width { get; } ``` ##### Property Value The width in pixels. ### AviHeaderFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/aviheaderflags.md #### AviHeaderFlags enumeration Represents AVI Header flags. ```csharp [Flags] public enum AviHeaderFlags ``` ##### Values | Name | Value | Description | | --- | --- | --- | | HasIndex | `10` | Indicates the AVI file has an index. | | MustUseIndex | `20` | Indicates that application should use the index, rather than the physical ordering of the chunks in the file, to determine the order of presentation of the data. For example, this flag could be used to create a list of frames for editing. | | IsInterleaved | `100` | Indicates the AVI file is interleaved. | | TrustCkType | `800` | Use CKType to find key frames. | | WasCaptureFile | `10000` | Indicates the AVI file is a specially allocated file used for capturing real-time video. Applications should warn the user before writing over a file with this flag set because the user probably defragmented this file. | | Copyrighted | `20000` | Indicates the AVI file contains copyrighted data and software. When this flag is used, software should not permit the data to be duplicated. | ### AviRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/avirootpackage.md #### AviRootPackage class Represents the root package allowing working with metadata in an AVI video. ```csharp public class AviRootPackage : RootMetadataPackage, IXmp ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Header { get; } | Gets the AVI header package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RiffInfoPackage { get; } | Gets the package containing RIFF Info tags. | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Header Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/avirootpackage/header.md #### AviRootPackage.Header property Gets the AVI header package. ```csharp public AviHeader Header { get; } ``` ##### Property Value The AVI header package. ##### Examples This code snippet shows how to read AVI header properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputAvi)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Header.AviHeaderFlags); Console.WriteLine(root.Header.Height); Console.WriteLine(root.Header.Width); Console.WriteLine(root.Header.TotalFrames); Console.WriteLine(root.Header.InitialFrames); Console.WriteLine(root.Header.MaxBytesPerSec); Console.WriteLine(root.Header.PaddingGranularity); Console.WriteLine(root.Header.Streams); // ... } ``` ### RiffInfoPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/avirootpackage/riffinfopackage.md #### AviRootPackage.RiffInfoPackage property Gets the package containing RIFF Info tags. ```csharp public RiffInfoPackage RiffInfoPackage { get; } ``` ##### Property Value The package containing RIFF Info tags. ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/avirootpackage/xmppackage.md #### AviRootPackage.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ##### Examples This example demonstrates how to extract XMP metadata from a file. ```csharp This example demonstrates how to extract XMP metadata from a file. (); if (root.XmpPackage != null) { if (root.XmpPackage.Schemes.XmpBasic != null) { Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname); // ... } if (root.XmpPackage.Schemes.DublinCore != null) { Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source); // ... } if (root.XmpPackage.Schemes.Photoshop != null) { Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated); // ... } // ... } } ``` ### FlvHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvheader.md #### FlvHeader class Represents a FLV video header. ```csharp public class FlvHeader : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | HasAudioTags { get; } | Gets a value indicating whether audio tags are present in the file. | | HasVideoTags { get; } | Gets a value indicating whether video tags are present in the file. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TypeFlags { get; } | Gets the FLV type flags. | | Version { get; } | Gets the file version. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### HasAudioTags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvheader/hasaudiotags.md #### FlvHeader.HasAudioTags property Gets a value indicating whether audio tags are present in the file. ```csharp public bool HasAudioTags { get; } ``` ##### Property Value True if the FLV file contains audio tags; otherwise, false. ### HasVideoTags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvheader/hasvideotags.md #### FlvHeader.HasVideoTags property Gets a value indicating whether video tags are present in the file. ```csharp public bool HasVideoTags { get; } ``` ##### Property Value True if the FLV file contains video tags; otherwise, false. ### TypeFlags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvheader/typeflags.md #### FlvHeader.TypeFlags property Gets the FLV type flags. ```csharp public byte TypeFlags { get; } ``` ##### Property Value The FLV type flags. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvheader/version.md #### FlvHeader.Version property Gets the file version. ```csharp public byte Version { get; } ``` ##### Property Value The file version. ### FlvRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvrootpackage.md #### FlvRootPackage class Represents the root package allowing working with metadata in an FLV video. ```csharp public class FlvRootPackage : RootMetadataPackage, IXmp ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Header { get; } | Gets the FLV header package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Header Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvrootpackage/header.md #### FlvRootPackage.Header property Gets the FLV header package. ```csharp public FlvHeader Header { get; } ``` ##### Property Value The FLV header package. ##### Examples This example shows how to read FLV header properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputFlv)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Header.Version); Console.WriteLine(root.Header.HasAudioTags); Console.WriteLine(root.Header.HasVideoTags); Console.WriteLine(root.Header.TypeFlags); } ``` ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/flvrootpackage/xmppackage.md #### FlvRootPackage.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ##### Examples This example demonstrates how to extract XMP metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.FlvWithXmp)) { var root = metadata.GetRootPackage(); if (root.XmpPackage != null) { if (root.XmpPackage.Schemes.XmpBasic != null) { Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname); // ... } if (root.XmpPackage.Schemes.DublinCore != null) { Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source); // ... } if (root.XmpPackage.Schemes.Photoshop != null) { Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated); // ... } // ... } } ``` ### MatroskaAudioTrack Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaaudiotrack.md #### MatroskaAudioTrack class Represents audio metadata in a Matroska video. ```csharp public class MatroskaAudioTrack : MatroskaTrack ``` #### Properties | Name | Description | | --- | --- | | BitDepth { get; } | Gets the bits per sample, mostly used for PCM. | | Channels { get; } | Gets the numbers of channels in the track. | | CodecID { get; } | Gets an ID corresponding to the codec. | | CodecName { get; } | Gets a human-readable string specifying the codec. | | Count { get; } | Gets the number of metadata properties. | | DefaultDuration { get; } | Gets the number of nanoseconds (not scaled via `TimecodeScale`) per frame. | | FlagEnabled { get; } | Gets the enabled flag, true if the track is usable. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `LanguageIetf` Element is used in the same TrackEntry. | | LanguageIetf { get; } | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `Language` Elements used in the same TrackEntry MUST be ignored. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the human-readable track name. | | OutputSamplingFrequency { get; } | Gets the real output sampling frequency in Hz (used for SBR techniques). | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SamplingFrequency { get; } | Gets the sampling frequency in Hz. | | TrackNumber { get; } | Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | TrackType { get; } | Gets the type of the track. | | TrackUid { get; } | Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BitDepth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaaudiotrack/bitdepth.md #### MatroskaAudioTrack.BitDepth property Gets the bits per sample, mostly used for PCM. ```csharp public ulong? BitDepth { get; } ``` ##### Property Value The bits per sample, mostly used for PCM. ### Channels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaaudiotrack/channels.md #### MatroskaAudioTrack.Channels property Gets the numbers of channels in the track. ```csharp public ulong Channels { get; } ``` ##### Property Value The numbers of channels in the track. ### OutputSamplingFrequency Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaaudiotrack/outputsamplingfrequency.md #### MatroskaAudioTrack.OutputSamplingFrequency property Gets the real output sampling frequency in Hz (used for SBR techniques). ```csharp public double OutputSamplingFrequency { get; } ``` ##### Property Value The real output sampling frequency in Hz (used for SBR techniques). ### SamplingFrequency Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaaudiotrack/samplingfrequency.md #### MatroskaAudioTrack.SamplingFrequency property Gets the sampling frequency in Hz. ```csharp public double SamplingFrequency { get; } ``` ##### Property Value The sampling frequency in Hz. ### MatroskaBasePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskabasepackage.md #### MatroskaBasePackage class Provides a base metadata class for all packages extracted from a Matroska video. ```csharp public abstract class MatroskaBasePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### MatroskaContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskacontenttype.md #### MatroskaContentType enumeration Represents a Matroska content type. ```csharp public enum MatroskaContentType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | Undefined content. | | Audio | `1` | Defines the Matroska audio type. | | Video | `2` | Defines the Matroska video type. | | Video3D | `3` | Defines the Matroska 3D video type. | ### MatroskaEbmlHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaebmlheader.md #### MatroskaEbmlHeader class Represents EBML header metadata in a Matroska video. ```csharp public class MatroskaEbmlHeader : MatroskaBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DocType { get; } | Gets the contents of the file. In the case of a MATROSKA file, its value is 'matroska'. | | DocTypeReadVersion { get; } | Gets the minimum version number a `DocType` parser must be compliant with to read the file. | | DocTypeVersion { get; } | Gets the version of the `DocType` writer used to create the file. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ReadVersion { get; } | Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. | | Version { get; } | Gets the version of the EBML Writer that has been used to create the file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DocType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaebmlheader/doctype.md #### MatroskaEbmlHeader.DocType property Gets the contents of the file. In the case of a MATROSKA file, its value is 'matroska'. ```csharp public string DocType { get; } ``` ##### Property Value The contents of the file. ### DocTypeReadVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaebmlheader/doctypereadversion.md #### MatroskaEbmlHeader.DocTypeReadVersion property Gets the minimum version number a `DocType` parser must be compliant with to read the file. ```csharp public byte DocTypeReadVersion { get; } ``` ##### Property Value The minimum version number a `DocType` parser must be compliant with to read the file. ### DocTypeVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaebmlheader/doctypeversion.md #### MatroskaEbmlHeader.DocTypeVersion property Gets the version of the `DocType` writer used to create the file. ```csharp public byte DocTypeVersion { get; } ``` ##### Property Value The version of the `DocType` writer used to create the file. ### ReadVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaebmlheader/readversion.md #### MatroskaEbmlHeader.ReadVersion property Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. ```csharp public byte ReadVersion { get; } ``` ##### Property Value The minimum version an EBML parser needs to be compliant with to be able to read the file. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskaebmlheader/version.md #### MatroskaEbmlHeader.Version property Gets the version of the EBML Writer that has been used to create the file. ```csharp public byte Version { get; } ``` ##### Property Value The version of the EBML Writer that has been used to create the file. ### MatroskaPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskapackage.md #### MatroskaPackage class Represents a metadata container in a Matroska video. ```csharp public class MatroskaPackage : MatroskaBasePackage ``` #### Properties | Name | Description | | --- | --- | | ContentType { get; } | Gets the Matroska content type. | | Count { get; } | Gets the number of metadata properties. | | EbmlHeader { get; } | Gets the EBML header metadata. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Segments { get; } | Gets the segment information metadata. | | SubtitleTracks { get; } | Gets the subtitle metadata entries. | | Tags { get; } | Gets the tagging metadata. | | Tracks { get; } | Gets the track metadata entries. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskapackage/contenttype.md #### MatroskaPackage.ContentType property Gets the Matroska content type. ```csharp public MatroskaContentType ContentType { get; } ``` ##### Property Value The Matroska content type. ### EbmlHeader Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskapackage/ebmlheader.md #### MatroskaPackage.EbmlHeader property Gets the EBML header metadata. ```csharp public MatroskaEbmlHeader EbmlHeader { get; } ``` ##### Property Value The EBML header metadata. ### Segments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskapackage/segments.md #### MatroskaPackage.Segments property Gets the segment information metadata. ```csharp public MatroskaSegment[] Segments { get; } ``` ##### Property Value The segment information metadata. ### SubtitleTracks Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskapackage/subtitletracks.md #### MatroskaPackage.SubtitleTracks property Gets the subtitle metadata entries. ```csharp public MatroskaSubtitleTrack[] SubtitleTracks { get; } ``` ##### Return Value The subtitle metadata entries. ### Tags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskapackage/tags.md #### MatroskaPackage.Tags property Gets the tagging metadata. ```csharp public MatroskaTag[] Tags { get; } ``` ##### Property Value The tagging metadata. ### Tracks Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskapackage/tracks.md #### MatroskaPackage.Tracks property Gets the track metadata entries. ```csharp public MatroskaTrack[] Tracks { get; } ``` ##### Property Value The track metadata entries. ### MatroskaRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskarootpackage.md #### MatroskaRootPackage class Represents the root package allowing working with metadata in a Matroska video. ```csharp public class MatroskaRootPackage : RootMetadataPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MatroskaPackage { get; } | Gets the Matroska metadata package. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example demonstrates how to extract subtitles from an MKV video. ```csharp using (Metadata metadata = new Metadata(Constants.MkvWithSubtitles)) { var root = metadata.GetRootPackage(); foreach (var subtitleTrack in root.MatroskaPackage.SubtitleTracks) { Console.WriteLine(subtitleTrack.LanguageIetf ?? subtitleTrack.Language); foreach (MatroskaSubtitle subtitle in subtitleTrack.Subtitles) { Console.WriteLine("Timecode={0}, Duration={1}", subtitle.Timecode, subtitle.Duration); Console.WriteLine(subtitle.Text); } } } ``` ### MatroskaPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskarootpackage/matroskapackage.md #### MatroskaRootPackage.MatroskaPackage property Gets the Matroska metadata package. ```csharp public MatroskaPackage MatroskaPackage { get; } ``` ##### Property Value The Matroska metadata package. ##### Examples This example demonstrates how to read Matroska format-specific metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputMkv)) { var root = metadata.GetRootPackage(); // Read the EBML header Console.WriteLine("DocType: {0}", root.MatroskaPackage.EbmlHeader.DocType); Console.WriteLine("DocTypeReadVersion: {0}", root.MatroskaPackage.EbmlHeader.DocTypeReadVersion); Console.WriteLine("DocTypeVersion: {0}", root.MatroskaPackage.EbmlHeader.DocTypeVersion); Console.WriteLine("ReadVersion: {0}", root.MatroskaPackage.EbmlHeader.ReadVersion); Console.WriteLine("Version: {0}", root.MatroskaPackage.EbmlHeader.Version); // Read Matroska segment information foreach (var segment in root.MatroskaPackage.Segments) { Console.WriteLine("DateUtc: {0}", segment.DateUtc); Console.WriteLine("Duration: {0}", segment.Duration); Console.WriteLine("MuxingApp: {0}", segment.MuxingApp); Console.WriteLine("SegmentFilename: {0}", segment.SegmentFilename); Console.WriteLine("SegmentUid: {0}", segment.SegmentUid); Console.WriteLine("TimecodeScale: {0}", segment.TimecodeScale); Console.WriteLine("Title: {0}", segment.Title); Console.WriteLine("WritingApp: {0}", segment.WritingApp); } // Read Matroska tag metadata foreach (var tag in root.MatroskaPackage.Tags) { Console.WriteLine("TargetType: {0}", tag.TargetType); Console.WriteLine("TargetTypeValue: {0}", tag.TargetTypeValue); Console.WriteLine("TagTrackUid: {0}", tag.TagTrackUid); foreach (var simpleTag in tag.SimpleTags) { Console.WriteLine("Name: {0}", simpleTag.Name); Console.WriteLine("Value: {0}", simpleTag.Value); } } // Read Matroska track metadata foreach (var track in root.MatroskaPackage.Tracks) { Console.WriteLine("CodecId: {0}", track.CodecID); Console.WriteLine("CodecName: {0}", track.CodecName); Console.WriteLine("DefaultDuration: {0}", track.DefaultDuration); Console.WriteLine("FlagEnabled: {0}", track.FlagEnabled); Console.WriteLine("Language: {0}", track.Language); Console.WriteLine("LanguageIetf: {0}", track.LanguageIetf); Console.WriteLine("Name: {0}", track.Name); Console.WriteLine("TrackNumber: {0}", track.TrackNumber); Console.WriteLine("TrackType: {0}", track.TrackType); Console.WriteLine("TrackUid: {0}", track.TrackUid); var audioTrack = track as MatroskaAudioTrack; if (audioTrack != null) { Console.WriteLine("SamplingFrequency: {0}", audioTrack.SamplingFrequency); Console.WriteLine("OutputSamplingFrequency: {0}", audioTrack.OutputSamplingFrequency); Console.WriteLine("Channels: {0}", audioTrack.Channels); Console.WriteLine("BitDepth: {0}", audioTrack.BitDepth); } var videoTrack = track as MatroskaVideoTrack; if (videoTrack != null) { Console.WriteLine("FlagInterlaced: {0}", videoTrack.FlagInterlaced); Console.WriteLine("FieldOrder: {0}", videoTrack.FieldOrder); Console.WriteLine("StereoMode: {0}", videoTrack.StereoMode); Console.WriteLine("AlphaMode: {0}", videoTrack.AlphaMode); Console.WriteLine("PixelWidth: {0}", videoTrack.PixelWidth); Console.WriteLine("PixelHeight: {0}", videoTrack.PixelHeight); Console.WriteLine("PixelCropBottom: {0}", videoTrack.PixelCropBottom); Console.WriteLine("PixelCropTop: {0}", videoTrack.PixelCropTop); Console.WriteLine("PixelCropLeft: {0}", videoTrack.PixelCropLeft); Console.WriteLine("PixelCropRight: {0}", videoTrack.PixelCropRight); Console.WriteLine("DisplayWidth: {0}", videoTrack.DisplayWidth); Console.WriteLine("DisplayHeight: {0}", videoTrack.DisplayHeight); Console.WriteLine("DisplayUnit: {0}", videoTrack.DisplayUnit); } } } ``` ### MatroskaSegment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment.md #### MatroskaSegment class Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. ```csharp public class MatroskaSegment : MatroskaBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DateUtc { get; } | Gets the date and time that the Segment was created by the muxing application or library. | | Duration { get; } | Gets the duration of the SEGMENT. Please see `TimecodeScale` for more information. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MuxingApp { get; } | Gets the full name of the application or library followed by the version number. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ScaledDuration { get; } | Gets the scaled duration of the SEGMENT. | | SegmentFilename { get; } | Gets the filename corresponding to this Segment. | | SegmentUid { get; } | Gets the unique 128 bit number identifying a SEGMENT. Obviously, a file can only be referred to by another file if a SEGMENTUID is present, however, playback is possible without that UID. | | TimecodeScale { get; } | Gets the timecode scale value. Each scaled timecode in a MATROSKA file is multiplied by TIMECODESCALE to obtain the timecode in nanoseconds. Note that not all timecodes are scaled! | | Title { get; } | Gets the general name of the Segment. | | WritingApp { get; } | Gets the full name of the application followed by the version number. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DateUtc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/dateutc.md #### MatroskaSegment.DateUtc property Gets the date and time that the Segment was created by the muxing application or library. ```csharp public DateTime? DateUtc { get; } ``` ##### Property Value The date and time that the Segment was created by the muxing application or library. ### Duration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/duration.md #### MatroskaSegment.Duration property Gets the duration of the SEGMENT. Please see `TimecodeScale` for more information. ```csharp public double? Duration { get; } ``` ##### Property Value The duration of the SEGMENT. ### MuxingApp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/muxingapp.md #### MatroskaSegment.MuxingApp property Gets the full name of the application or library followed by the version number. ```csharp public string MuxingApp { get; } ``` ##### Property Value The full name of the application or library followed by the version number. ### ScaledDuration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/scaledduration.md #### MatroskaSegment.ScaledDuration property Gets the scaled duration of the SEGMENT. ```csharp public TimeSpan? ScaledDuration { get; } ``` ##### Property Value The scaled duration of the SEGMENT. ### SegmentFilename Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/segmentfilename.md #### MatroskaSegment.SegmentFilename property Gets the filename corresponding to this Segment. ```csharp public string SegmentFilename { get; } ``` ##### Property Value The filename corresponding to this Segment. ### SegmentUid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/segmentuid.md #### MatroskaSegment.SegmentUid property Gets the unique 128 bit number identifying a SEGMENT. Obviously, a file can only be referred to by another file if a SEGMENTUID is present, however, playback is possible without that UID. ```csharp public byte[] SegmentUid { get; } ``` ##### Property Value The unique 128 bit number identifying a SEGMENT. ### TimecodeScale Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/timecodescale.md #### MatroskaSegment.TimecodeScale property Gets the timecode scale value. Each scaled timecode in a MATROSKA file is multiplied by TIMECODESCALE to obtain the timecode in nanoseconds. Note that not all timecodes are scaled! ```csharp public ulong TimecodeScale { get; } ``` ##### Property Value The timecode scale value. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/title.md #### MatroskaSegment.Title property Gets the general name of the Segment. ```csharp public string Title { get; } ``` ##### Property Value The general name of the Segment. ### WritingApp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasegment/writingapp.md #### MatroskaSegment.WritingApp property Gets the full name of the application followed by the version number. ```csharp public string WritingApp { get; } ``` ##### Property Value The full name of the application followed by the version number. ### MatroskaSimpleTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasimpletag.md #### MatroskaSimpleTag class Represents general information about the target in a Matroska video. ```csharp public class MatroskaSimpleTag : MatroskaBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### MatroskaSubtitle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasubtitle.md #### MatroskaSubtitle class Represents subtitle metadata in a Matroska video. ```csharp public class MatroskaSubtitle : MatroskaBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Duration { get; } | Gets the duration. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Text { get; } | Gets the subtitle text. | | Timecode { get; } | Gets the time code. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Duration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasubtitle/duration.md #### MatroskaSubtitle.Duration property Gets the duration. ```csharp public TimeSpan Duration { get; } ``` ##### Property Value The duration. ### Text Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasubtitle/text.md #### MatroskaSubtitle.Text property Gets the subtitle text. ```csharp public string Text { get; } ``` ##### Property Value The subtitle text. ### Timecode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasubtitle/timecode.md #### MatroskaSubtitle.Timecode property Gets the time code. ```csharp public TimeSpan Timecode { get; } ``` ##### Property Value The time code. ### MatroskaSubtitleTrack Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasubtitletrack.md #### MatroskaSubtitleTrack class Represents subtitle metadata in a Matroska video. ```csharp public class MatroskaSubtitleTrack : MatroskaTrack ``` #### Properties | Name | Description | | --- | --- | | CodecID { get; } | Gets an ID corresponding to the codec. | | CodecName { get; } | Gets a human-readable string specifying the codec. | | Count { get; } | Gets the number of metadata properties. | | DefaultDuration { get; } | Gets the number of nanoseconds (not scaled via `TimecodeScale`) per frame. | | FlagEnabled { get; } | Gets the enabled flag, true if the track is usable. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `LanguageIetf` Element is used in the same TrackEntry. | | LanguageIetf { get; } | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `Language` Elements used in the same TrackEntry MUST be ignored. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the human-readable track name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Subtitles { get; } | Gets the subtitles. | | TrackNumber { get; } | Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | TrackType { get; } | Gets the type of the track. | | TrackUid { get; } | Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Subtitles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskasubtitletrack/subtitles.md #### MatroskaSubtitleTrack.Subtitles property Gets the subtitles. ```csharp public MatroskaSubtitle[] Subtitles { get; } ``` ##### Property Value The subtitles. ### MatroskaTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatag.md #### MatroskaTag class Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. ```csharp public class MatroskaTag : MatroskaBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SimpleTags { get; } | Gets the general information about the target. | | TagTrackUid { get; } | Gets a unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment. | | TargetType { get; } | Gets an informational string that can be used to display the logical level of the target. Like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc. | | TargetTypeValue { get; } | Gets the number to indicate the logical level of the target. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### SimpleTags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatag/simpletags.md #### MatroskaTag.SimpleTags property Gets the general information about the target. ```csharp public MatroskaSimpleTag SimpleTags { get; } ``` ##### Property Value The general information about the target. ### TagTrackUid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatag/tagtrackuid.md #### MatroskaTag.TagTrackUid property Gets a unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment. ```csharp public ulong TagTrackUid { get; } ``` ##### Property Value A unique ID to identify the Track(s) the tags belong to. ### TargetType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatag/targettype.md #### MatroskaTag.TargetType property Gets an informational string that can be used to display the logical level of the target. Like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc. ```csharp public string TargetType { get; } ``` ##### Property Value An informational string that can be used to display the logical level of the target. ### TargetTypeValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatag/targettypevalue.md #### MatroskaTag.TargetTypeValue property Gets the number to indicate the logical level of the target. ```csharp public MatroskaTargetTypeValue TargetTypeValue { get; } ``` ##### Property Value The number to indicate the logical level of the target. ### MatroskaTargetTypeValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatargettypevalue.md #### MatroskaTargetTypeValue enumeration Represents a number to indicate the logical level of the Matroska tag target. ```csharp public enum MatroskaTargetTypeValue : uint ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | Undefined level. | | Collection | `70` | COLLECTION level. | | Edition | `60` | EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL level. | | Album | `50` | ALBUM / OPERA / CONCERT / MOVIE / EPISODE / CONCERT level. | | Part | `40` | PART / SESSION level. | | Track | `30` | TRACK / SONG / CHAPTER level. | | Subtrack | `20` | SUBTRACK / PART / MOVEMENT / SCENE level. | | Shot | `10` | SHOT level. | ### MatroskaTrack Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack.md #### MatroskaTrack class Represents track metadata in a Matroska video. ```csharp public class MatroskaTrack : MatroskaBasePackage ``` #### Properties | Name | Description | | --- | --- | | CodecID { get; } | Gets an ID corresponding to the codec. | | CodecName { get; } | Gets a human-readable string specifying the codec. | | Count { get; } | Gets the number of metadata properties. | | DefaultDuration { get; } | Gets the number of nanoseconds (not scaled via `TimecodeScale`) per frame. | | FlagEnabled { get; } | Gets the enabled flag, true if the track is usable. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `LanguageIetf` Element is used in the same TrackEntry. | | LanguageIetf { get; } | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `Language` Elements used in the same TrackEntry MUST be ignored. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the human-readable track name. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TrackNumber { get; } | Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | TrackType { get; } | Gets the type of the track. | | TrackUid { get; } | Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CodecID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/codecid.md #### MatroskaTrack.CodecID property Gets an ID corresponding to the codec. ```csharp public string CodecID { get; } ``` ##### Property Value An ID corresponding to the codec. ##### Remarks See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info. ### CodecName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/codecname.md #### MatroskaTrack.CodecName property Gets a human-readable string specifying the codec. ```csharp public string CodecName { get; } ``` ##### Property Value A human-readable string specifying the codec. ### DefaultDuration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/defaultduration.md #### MatroskaTrack.DefaultDuration property Gets the number of nanoseconds (not scaled via `TimecodeScale`) per frame. ```csharp public ulong? DefaultDuration { get; } ``` ##### Property Value The number of nanoseconds (not scaled via `TimecodeScale`) per frame. ##### Remarks Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block. ### FlagEnabled Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/flagenabled.md #### MatroskaTrack.FlagEnabled property Gets the enabled flag, true if the track is usable. ```csharp public bool FlagEnabled { get; } ``` ##### Property Value The enabled flag. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/language.md #### MatroskaTrack.Language property Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `LanguageIetf` Element is used in the same TrackEntry. ```csharp public string Language { get; } ``` ##### Property Value The language of the track in the Matroska languages form. ##### Remarks Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains. ### LanguageIetf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/languageietf.md #### MatroskaTrack.LanguageIetf property Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `Language` Elements used in the same TrackEntry MUST be ignored. ```csharp public string LanguageIetf { get; } ``` ##### Property Value The language of the track according to BCP 47 and using the IANA Language Subtag Registry. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/name.md #### MatroskaTrack.Name property Gets the human-readable track name. ```csharp public string Name { get; } ``` ##### Property Value The human-readable track name. ### TrackNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/tracknumber.md #### MatroskaTrack.TrackNumber property Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. ```csharp public ulong TrackNumber { get; } ``` ##### Property Value The track number as used in the Block Header. ### TrackType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/tracktype.md #### MatroskaTrack.TrackType property Gets the type of the track. ```csharp public MatroskaTrackType TrackType { get; } ``` ##### Property Value The type of the track. ### TrackUid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatrack/trackuid.md #### MatroskaTrack.TrackUid property Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. ```csharp public ulong TrackUid { get; } ``` ##### Property Value The unique ID to identify the Track. ### MatroskaTrackType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskatracktype.md #### MatroskaTrackType enumeration Represents Matroska track types coded in 8 bits. ```csharp public enum MatroskaTrackType : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | The undefined track type. | | Video | `1` | Track is a video track. | | Audio | `2` | Track is an audio track. | | Complex | `3` | Track is a complex track, i.e. a combined video and audio track. | | Logo | `16` | Track is a logo track. | | Subtitle | `17` | Track is a subtitle track. | | Button | `18` | Track is a button track. | | Control | `32` | Track is a control track. | ### MatroskaVideoDisplayUnit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideodisplayunit.md #### MatroskaVideoDisplayUnit enumeration Defines how Matroska DisplayWidth and DisplayHeight are interpreted. ```csharp public enum MatroskaVideoDisplayUnit : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Pixels | `0` | Pixels unit. | | Centimeters | `1` | Centimeters unit. | | Inches | `2` | Inches unit. | | AspectRatio | `3` | Display aspect ratio unit. | | Unknown | `4` | Unknown unit. | ### MatroskaVideoFieldOrder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideofieldorder.md #### MatroskaVideoFieldOrder enumeration Represents the field ordering of the Matroska video. If FlagInterlaced is not set to 1, this Element MUST be ignored. ```csharp public enum MatroskaVideoFieldOrder : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Progressive | `0` | Progressive ordering. | | Tff | `1` | Tiff ordering. | | Undetermined | `2` | Undetermined ordering. | | Bff | `6` | Biff ordering. | | BffSwapped | `9` | Bff (swapped) ordering. | | TffSwapped | `14` | Tff (swapped) ordering. | ### MatroskaVideoFlagInterlaced Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideoflaginterlaced.md #### MatroskaVideoFlagInterlaced enumeration Represents a flag to declare if the Matroska video is known to be progressive or interlaced and if applicable to declare details about the interlacement. ```csharp public enum MatroskaVideoFlagInterlaced : byte ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undetermined | `0` | Undetermined flag. | | Interlaced | `1` | Interlaced flag. | | Progressive | `2` | Progressive flag. | ### MatroskaVideoStereoMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideostereomode.md #### MatroskaVideoStereoMode enumeration Represents Matroska Stereo-3D video modes. ```csharp public enum MatroskaVideoStereoMode : uint ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Mono | `0` | Mono mode. | | SideBySideLeft | `1` | Side by side (left eye first) video mode. | | TopBottomRight | `2` | Top - bottom (right eye is first) video mode. | | TopBottomLeft | `3` | Top - bottom (left eye is first) video mode. | | CheckboardRight | `4` | Checkboard (right eye is first) video mode. | | CheckboardLleft | `5` | Checkboard (left eye is first) video mode. | | RowInterleavedRight | `6` | Row interleaved (right eye is first) video mode. | | RowInterleavedLeft | `7` | Row interleaved (left eye is first) video mode. | | ColumnInterleavedRight | `8` | Column interleaved (right eye is first) video mode. | | ColumnInterleavedLeft | `9` | Column interleaved (left eye is first) video mode. | | AnaglyphCyanRed | `10` | Anaglyph (cyan/red) video mode. | | SideBySideRight | `11` | Side by side (right eye first) video mode. | | AnaglyphGreenMagenta | `12` | Anaglyph (green/magenta) video mode. | | BothEyesLacedLeft | `13` | Both eyes laced in one Block (left eye is first) video mode. | | BothEyesLacedRight | `14` | Both eyes laced in one Block (right eye is first) video mode. | ### MatroskaVideoTrack Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack.md #### MatroskaVideoTrack class Represents video metadata in a Matroska video. ```csharp public class MatroskaVideoTrack : MatroskaTrack ``` #### Properties | Name | Description | | --- | --- | | AlphaMode { get; } | Gets the alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data. | | CodecID { get; } | Gets an ID corresponding to the codec. | | CodecName { get; } | Gets a human-readable string specifying the codec. | | Count { get; } | Gets the number of metadata properties. | | DefaultDuration { get; } | Gets the number of nanoseconds (not scaled via `TimecodeScale`) per frame. | | DisplayHeight { get; } | Gets the height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). | | DisplayUnit { get; } | Gets the how `DisplayWidth`and `DisplayHeight` are interpreted. | | DisplayWidth { get; } | Gets the width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). | | FieldOrder { get; } | Gets declare the field ordering of the video. If FlagInterlaced is not set to 1, this Element MUST be ignored. | | FlagEnabled { get; } | Gets the enabled flag, true if the track is usable. | | FlagInterlaced { get; } | Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `LanguageIetf` Element is used in the same TrackEntry. | | LanguageIetf { get; } | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `Language` Elements used in the same TrackEntry MUST be ignored. | | MetadataType { get; } | Gets the metadata type. | | Name { get; } | Gets the human-readable track name. | | PixelCropBottom { get; } | Gets the number of video pixels to remove at the bottom of the image. | | PixelCropLeft { get; } | Gets the number of video pixels to remove on the left of the image. | | PixelCropRight { get; } | Gets the number of video pixels to remove on the right of the image. | | PixelCropTop { get; } | Gets the number of video pixels to remove at the top of the image. | | PixelHeight { get; } | Gets the height of the encoded video frames in pixels. | | PixelWidth { get; } | Gets the width of the encoded video frames in pixels. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | StereoMode { get; } | Gets the stereo-3D video mode. | | TrackNumber { get; } | Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | TrackType { get; } | Gets the type of the track. | | TrackUid { get; } | Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AlphaMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/alphamode.md #### MatroskaVideoTrack.AlphaMode property Gets the alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data. ```csharp public ulong? AlphaMode { get; } ``` ##### Property Value The alpha Video Mode. ### DisplayHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/displayheight.md #### MatroskaVideoTrack.DisplayHeight property Gets the height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). ```csharp public ulong? DisplayHeight { get; } ``` ##### Property Value The height of the video frames to display. ### DisplayUnit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/displayunit.md #### MatroskaVideoTrack.DisplayUnit property Gets the how `DisplayWidth`and `DisplayHeight` are interpreted. ```csharp public MatroskaVideoDisplayUnit DisplayUnit { get; } ``` ##### Property Value The how `DisplayWidth`and `DisplayHeight` are interpreted. ### DisplayWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/displaywidth.md #### MatroskaVideoTrack.DisplayWidth property Gets the width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). ```csharp public ulong? DisplayWidth { get; } ``` ##### Property Value The width of the video frames to display. ### FieldOrder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/fieldorder.md #### MatroskaVideoTrack.FieldOrder property Gets declare the field ordering of the video. If FlagInterlaced is not set to 1, this Element MUST be ignored. ```csharp public MatroskaVideoFieldOrder FieldOrder { get; } ``` ##### Property Value Declare the field ordering of the video. ### FlagInterlaced Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/flaginterlaced.md #### MatroskaVideoTrack.FlagInterlaced property Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. ```csharp public MatroskaVideoFlagInterlaced FlagInterlaced { get; } ``` ##### Property Value A flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. ### PixelCropBottom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/pixelcropbottom.md #### MatroskaVideoTrack.PixelCropBottom property Gets the number of video pixels to remove at the bottom of the image. ```csharp public ulong PixelCropBottom { get; } ``` ##### Property Value The number of video pixels to remove at the bottom of the image. ### PixelCropLeft Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/pixelcropleft.md #### MatroskaVideoTrack.PixelCropLeft property Gets the number of video pixels to remove on the left of the image. ```csharp public ulong PixelCropLeft { get; } ``` ##### Property Value The number of video pixels to remove on the left of the image. ### PixelCropRight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/pixelcropright.md #### MatroskaVideoTrack.PixelCropRight property Gets the number of video pixels to remove on the right of the image. ```csharp public ulong PixelCropRight { get; } ``` ##### Property Value The number of video pixels to remove on the right of the image. ### PixelCropTop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/pixelcroptop.md #### MatroskaVideoTrack.PixelCropTop property Gets the number of video pixels to remove at the top of the image. ```csharp public ulong PixelCropTop { get; } ``` ##### Property Value The number of video pixels to remove at the top of the image. ### PixelHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/pixelheight.md #### MatroskaVideoTrack.PixelHeight property Gets the height of the encoded video frames in pixels. ```csharp public ulong PixelHeight { get; } ``` ##### Property Value The height of the encoded video frames in pixels. ### PixelWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/pixelwidth.md #### MatroskaVideoTrack.PixelWidth property Gets the width of the encoded video frames in pixels. ```csharp public ulong PixelWidth { get; } ``` ##### Property Value The width of the encoded video frames in pixels. ### StereoMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/matroskavideotrack/stereomode.md #### MatroskaVideoTrack.StereoMode property Gets the stereo-3D video mode. ```csharp public MatroskaVideoStereoMode? StereoMode { get; } ``` ##### Property Value The stereo-3D video mode. ### MovAtom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom.md #### MovAtom class Represents a QuickTime atom. ```csharp public sealed class MovAtom : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Atoms { get; } | Gets an array of `MovAtom` atoms. | | Count { get; } | Gets the number of metadata properties. | | DataOffset { get; } | Gets the data offset. | | DataSize { get; } | Gets the data size in bytes. | | HasExtendedSize { get; } | Gets a value indicating whether the extended size field was used to store the atom data. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LongSize { get; } | Gets the atom size in bytes. | | MetadataType { get; } | Gets the metadata type. | | Offset { get; } | Gets the atom offset. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Size { get; } | Gets the atom size in bytes. | | Type { get; } | Gets the 4-characters type. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Atoms Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/atoms.md #### MovAtom.Atoms property Gets an array of `MovAtom` atoms. ```csharp public MovAtom[] Atoms { get; } ``` ##### Property Value The QuickTime atoms. ### DataOffset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/dataoffset.md #### MovAtom.DataOffset property Gets the data offset. ```csharp public long DataOffset { get; } ``` ##### Property Value The data offset. ### DataSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/datasize.md #### MovAtom.DataSize property Gets the data size in bytes. ```csharp public int DataSize { get; } ``` ##### Property Value The data size. ### HasExtendedSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/hasextendedsize.md #### MovAtom.HasExtendedSize property Gets a value indicating whether the extended size field was used to store the atom data. ```csharp public bool HasExtendedSize { get; } ``` ##### Property Value True, if the extended size field was used to store the atom data; otherwise, false. ### LongSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/longsize.md #### MovAtom.LongSize property Gets the atom size in bytes. ```csharp public long LongSize { get; } ``` ##### Property Value The atom size. ### Offset Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/offset.md #### MovAtom.Offset property Gets the atom offset. ```csharp public long Offset { get; } ``` ##### Property Value The atom offset. ### Size Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/size.md #### MovAtom.Size property Gets the atom size in bytes. ```csharp public int Size { get; } ``` ##### Property Value The atom size. ### Type Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movatom/type.md #### MovAtom.Type property Gets the 4-characters type. ```csharp public string Type { get; } ``` ##### Property Value The type. ### MovPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage.md #### MovPackage class Represents QuickTime metadata. ```csharp public sealed class MovPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Album { get; } | Album or collection name of which the movie content forms a part | | Artist { get; } | Name of the artist who created the movie file content. | | Artwork { get; } | A single image that can represent the movie file content. | | Atoms { get; } | Gets an array of `MovAtom` atoms. | | Author { get; } | Name of the author of the movie file content. | | Comment { get; } | User entered comment regarding the movie file content. | | Copyright { get; } | Copyright statement for the movie file content. | | Count { get; } | Gets the number of metadata properties. | | CreationDate { get; } | The date the movie file content was created. | | Description { get; } | Description of the movie file content. | | Director { get; } | Name of the director of the movie content. | | Genre { get; } | Text describing the genre or genres to which the movie content conforms. | | Information { get; } | Information about the movie file content. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; } | Keywords associated with the movie file content. | | LocationBody { get; } | The astronomical body, for compatibility with the 3GPP format | | LocationDate { get; } | A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. | | LocationFacing { get; } | An indication of the direction the camera is facing during the shot. | | LocationMotion { get; } | An indication of the direction the camera is moving during the shot. | | LocationName { get; } | Name of the location. | | LocationNote { get; } | Descriptive comment. | | LocationRole { get; } | A single byte, binary value containing a value from the set: 0 indicates “shooting location”, 1 indicates “real location”, 2 indicates “fictional location”. Other values are reserved. | | MetadataType { get; } | Gets the metadata type. | | MovieCreationTime { get; set; } | A 32-bit integer that specifies the creation calendar date and time for the movie atom. | | MovieDuration { get; } | A time value that indicates the duration of the movie in seconds. | | MovieModificationTime { get; set; } | A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. | | Producer { get; } | Name of producer of movie file content. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Publisher { get; } | Name of publisher of movie file content. | | Software { get; } | Name of software used to create the movie file content. | | Title { get; } | The title of the movie file content. | | UserRatings { get; } | A number, assigned by the user, that indicates the rating or relative value of the movie. This number can range from 0.0 to 5.0. A value of 0.0 indicates that the user has not rated the movie. | | Users { get; } | A name indicating a user-defined collection that includes this movie. | | Year { get; } | Year when the movie file or the original content was created or recorded. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/album.md #### MovPackage.Album property Album or collection name of which the movie content forms a part ```csharp public string Album { get; } ``` ##### Property Value The Album. ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/artist.md #### MovPackage.Artist property Name of the artist who created the movie file content. ```csharp public string Artist { get; } ``` ##### Property Value The Artist. ### Artwork Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/artwork.md #### MovPackage.Artwork property A single image that can represent the movie file content. ```csharp public string Artwork { get; } ``` ##### Property Value The Artwork. ### Atoms Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/atoms.md #### MovPackage.Atoms property Gets an array of `MovAtom` atoms. ```csharp public MovAtom[] Atoms { get; } ``` ##### Property Value The QuickTime atoms. ### Author Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/author.md #### MovPackage.Author property Name of the author of the movie file content. ```csharp public string Author { get; } ``` ##### Property Value The Author. ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/comment.md #### MovPackage.Comment property User entered comment regarding the movie file content. ```csharp public string Comment { get; } ``` ##### Property Value The Comment. ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/copyright.md #### MovPackage.Copyright property Copyright statement for the movie file content. ```csharp public string Copyright { get; } ``` ##### Property Value The Copyright. ### CreationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/creationdate.md #### MovPackage.CreationDate property The date the movie file content was created. ```csharp public string CreationDate { get; } ``` ##### Property Value The CreationDate. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/description.md #### MovPackage.Description property Description of the movie file content. ```csharp public string Description { get; } ``` ##### Property Value The Description. ### Director Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/director.md #### MovPackage.Director property Name of the director of the movie content. ```csharp public string Director { get; } ``` ##### Property Value The Director. ### Genre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/genre.md #### MovPackage.Genre property Text describing the genre or genres to which the movie content conforms. ```csharp public string Genre { get; } ``` ##### Property Value The Genre. ### Information Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/information.md #### MovPackage.Information property Information about the movie file content. ```csharp public string Information { get; } ``` ##### Property Value The Information. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/keywords.md #### MovPackage.Keywords property Keywords associated with the movie file content. ```csharp public string Keywords { get; } ``` ##### Property Value The Keywords. ### LocationBody Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/locationbody.md #### MovPackage.LocationBody property The astronomical body, for compatibility with the 3GPP format ```csharp public string LocationBody { get; } ``` ##### Property Value The LocationBody. ### LocationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/locationdate.md #### MovPackage.LocationDate property A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. ```csharp public string LocationDate { get; } ``` ##### Property Value The LocationDate. ### LocationFacing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/locationfacing.md #### MovPackage.LocationFacing property An indication of the direction the camera is facing during the shot. ```csharp public string LocationFacing { get; } ``` ##### Property Value The LocationFacing. ### LocationMotion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/locationmotion.md #### MovPackage.LocationMotion property An indication of the direction the camera is moving during the shot. ```csharp public string LocationMotion { get; } ``` ##### Property Value The LocationMotion. ### LocationName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/locationname.md #### MovPackage.LocationName property Name of the location. ```csharp public string LocationName { get; } ``` ##### Property Value The LocationName. ### LocationNote Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/locationnote.md #### MovPackage.LocationNote property Descriptive comment. ```csharp public string LocationNote { get; } ``` ##### Property Value The LocationNote. ### LocationRole Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/locationrole.md #### MovPackage.LocationRole property A single byte, binary value containing a value from the set: 0 indicates “shooting location”, 1 indicates “real location”, 2 indicates “fictional location”. Other values are reserved. ```csharp public string LocationRole { get; } ``` ##### Property Value The LocationRole. ### MovieCreationTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/moviecreationtime.md #### MovPackage.MovieCreationTime property A 32-bit integer that specifies the creation calendar date and time for the movie atom. ```csharp public DateTime? MovieCreationTime { get; set; } ``` ##### Property Value A 32-bit integer that specifies the creation calendar date and time for the movie atom. ### MovieDuration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/movieduration.md #### MovPackage.MovieDuration property A time value that indicates the duration of the movie in seconds. ```csharp public uint MovieDuration { get; } ``` ##### Property Value A time value that indicates the duration of the movie in seconds. ### MovieModificationTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/moviemodificationtime.md #### MovPackage.MovieModificationTime property A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. ```csharp public DateTime? MovieModificationTime { get; set; } ``` ##### Property Value A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. ### Producer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/producer.md #### MovPackage.Producer property Name of producer of movie file content. ```csharp public string Producer { get; } ``` ##### Property Value The Producer. ### Publisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/publisher.md #### MovPackage.Publisher property Name of publisher of movie file content. ```csharp public string Publisher { get; } ``` ##### Property Value The Publisher. ### Software Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/software.md #### MovPackage.Software property Name of software used to create the movie file content. ```csharp public string Software { get; } ``` ##### Property Value The Software. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/title.md #### MovPackage.Title property The title of the movie file content. ```csharp public string Title { get; } ``` ##### Property Value The Title. ### UserRatings Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/userratings.md #### MovPackage.UserRatings property A number, assigned by the user, that indicates the rating or relative value of the movie. This number can range from 0.0 to 5.0. A value of 0.0 indicates that the user has not rated the movie. ```csharp public string UserRatings { get; } ``` ##### Property Value The UserRatings. ### Users Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/users.md #### MovPackage.Users property A name indicating a user-defined collection that includes this movie. ```csharp public string Users { get; } ``` ##### Property Value The Users. ### Year Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movpackage/year.md #### MovPackage.Year property Year when the movie file or the original content was created or recorded. ```csharp public string Year { get; } ``` ##### Property Value The Year. ### MovRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movrootpackage.md #### MovRootPackage class Represents the root package allowing working with metadata in a QuickTime video. ```csharp public class MovRootPackage : RootMetadataPackage, IXmp ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FileType { get; } | Gets the file type metadata package. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | MovPackage { get; } | Gets the QuickTime metadata package. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | override Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example shows how to read QuickTime atoms in a MOV video. ```csharp using (Metadata metadata = new Metadata(Constants.InputMov)) { var root = metadata.GetRootPackage(); foreach (var atom in root.MovPackage.Atoms) { Console.WriteLine(atom.Type); Console.WriteLine(atom.Offset); Console.WriteLine(atom.Size); // ... } } ``` ### MovPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movrootpackage/movpackage.md #### MovRootPackage.MovPackage property Gets the QuickTime metadata package. ```csharp public MovPackage MovPackage { get; } ``` ##### Property Value The QuickTime metadata package. ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.formats.video/movrootpackage/xmppackage.md #### MovRootPackage.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ### GroupDocs.Metadata.Import Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import.md #### Classes | Class | Description | | --- | --- | | ImportManager | Provides a row of methods allowing the user to import metadata properties to various formats. | | ImportOptions | Abstract class import options. | | JsonImportOptions | Creates an import options from json file. | #### Enumeration | Enumeration | Description | | --- | --- | | ImportFormat | Defines file formats to which you can import metadata properties. | ### ImportFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/importformat.md #### ImportFormat enumeration Defines file formats to which you can import metadata properties. ```csharp public enum ImportFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Json | `0` | Represents the .JSON format. | ### ImportManager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/importmanager.md #### ImportManager class Provides a row of methods allowing the user to import metadata properties to various formats. ```csharp public class ImportManager ``` #### Constructors | Name | Description | | --- | --- | | ImportManager(RootMetadataPackage) | Initializes a new instance of the `ImportManager` class. | #### Methods | Name | Description | | --- | --- | | Import(Stream, ImportFormat, ImportOptions) | Imports the metadata properties to a file. | | Import(string, ImportFormat, ImportOptions) | Imports the metadata properties to a file. | ### Import Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/importmanager/import.md #### Import(string, ImportFormat, ImportOptions) Imports the metadata properties to a file. ```csharp public void Import(string filePath, ImportFormat format, ImportOptions importOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The full name of the input file. | | format | ImportFormat | The format of the input file. | | importOptions | ImportOptions | Additional options to use when importing. | #### Import(Stream, ImportFormat, ImportOptions) Imports the metadata properties to a file. ```csharp public void Import(Stream stream, ImportFormat format, ImportOptions importOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | The filestream of the input file. | | format | ImportFormat | The format of the input file. | | importOptions | ImportOptions | Additional options to use when importing. | ### ImportManager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/importmanager/importmanager.md #### ImportManager constructor Initializes a new instance of the `ImportManager` class. ```csharp public ImportManager(RootMetadataPackage rootMetadataPackage) ``` | Parameter | Type | Description | | --- | --- | --- | | rootMetadataPackage | RootMetadataPackage | A collection of metadata properties where the import will be performed. | ### ImportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/importoptions.md #### ImportOptions class Abstract class import options. ```csharp public abstract class ImportOptions ``` #### Constructors | Name | Description | | --- | --- | | ImportOptions() | Initializes a new instance of the `ImportOptions` class. | ### ImportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/importoptions/importoptions.md #### ImportOptions constructor Initializes a new instance of the `ImportOptions` class. ```csharp public ImportOptions() ``` ### JsonImportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/jsonimportoptions.md #### JsonImportOptions class Creates an import options from json file. ```csharp public class JsonImportOptions : ImportOptions ``` #### Constructors | Name | Description | | --- | --- | | JsonImportOptions() | Initializes a new instance of the `JsonImportOptions` class. | ### JsonImportOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.import/jsonimportoptions/jsonimportoptions.md #### JsonImportOptions constructor Initializes a new instance of the `JsonImportOptions` class. ```csharp public JsonImportOptions() ``` ### GroupDocs.Metadata.Logging Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging.md #### Classes | Class | Description | | --- | --- | | ConsoleLogger | Writes log messages to the console. | | FileLogger | Writes log messages to the file. | | Logging | The class provides work with logger. | #### Interfaces | Interface | Description | | --- | --- | | ILogger | Defines the methods that are used to perform logging. | ### ConsoleLogger Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/consolelogger.md #### ConsoleLogger class Writes log messages to the console. ```csharp public class ConsoleLogger : ILogger ``` #### Constructors | Name | Description | | --- | --- | | ConsoleLogger() | The default constructor. | #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | | Trace(string) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | Warning(string) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | ### ConsoleLogger Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/consolelogger/consolelogger.md #### ConsoleLogger constructor The default constructor. ```csharp public ConsoleLogger() ``` ### Error Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/consolelogger/error.md #### ConsoleLogger.Error method Writes error log message; Error log messages provides information about unrecoverable events in application flow. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The exception. | ### Trace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/consolelogger/trace.md #### ConsoleLogger.Trace method Writes trace log message; Trace log messages provides generally useful information about application flow. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | ### Warning Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/consolelogger/warning.md #### ConsoleLogger.Warning method Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | ### FileLogger Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/filelogger.md #### FileLogger class Writes log messages to the file. ```csharp public class FileLogger : ILogger ``` #### Constructors | Name | Description | | --- | --- | | FileLogger(string) | Create logger to file. | #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | | Trace(string) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | Warning(string) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | ### Error Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/filelogger/error.md #### FileLogger.Error method Writes error log message; Error log messages provides information about unrecoverable events in application flow. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The exception. | ### FileLogger Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/filelogger/filelogger.md #### FileLogger constructor Create logger to file. ```csharp public FileLogger(string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | fileName | String | Full file name with path. | ### Trace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/filelogger/trace.md #### FileLogger.Trace method Writes trace log message; Trace log messages provides generally useful information about application flow. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | ### Warning Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/filelogger/warning.md #### FileLogger.Warning method Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | ### ILogger Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/ilogger.md #### ILogger interface Defines the methods that are used to perform logging. ```csharp public interface ILogger ``` #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. | | Trace(string) | Writes trace log message; Trace log messages provides generally useful information about application flow. | | Warning(string) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. | ### Error Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/ilogger/error.md #### ILogger.Error method Writes error log message; Error log messages provides information about unrecoverable events in application flow. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The exception. | ### Trace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/ilogger/trace.md #### ILogger.Trace method Writes trace log message; Trace log messages provides generally useful information about application flow. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | ### Warning Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/ilogger/warning.md #### ILogger.Warning method Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | ### Logging Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/logging.md #### Logging class The class provides work with logger. ```csharp public static class Logging ``` #### Methods | Name | Description | | --- | --- | | static Start(ILogger) | Start logging. | | static Stop() | Stop logging. | ### Start Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/logging/start.md #### Logging.Start method Start logging. ```csharp public static void Start(ILogger logger) ``` | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | The error message. | ### Stop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.logging/logging/stop.md #### Logging.Stop method Stop logging. ```csharp public static void Stop() ``` ### GroupDocs.Metadata.Options Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options.md The namespace contains all classes representing settings that allow users to control file and metadata processing. #### Classes | Class | Description | | --- | --- | | CreatePageStream | Represents a method that returns a stream to write page preview data. | | LoadOptions | Allows a developer to specify additional options (such as a password) when loading a file. | | PreviewOptions | Provides options to sets requirements and stream delegates for preview generation. | | ReleasePageStream | Represents a method which releases the stream created by the `CreatePageStream` delegate. | #### Enumeration | Enumeration | Description | | --- | --- | | PreviewOptions.PreviewFormats | Represents supported preview formats. | ### CreatePageStream Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/createpagestream.md #### CreatePageStream delegate Represents a method that returns a stream to write page preview data. ```csharp public delegate Stream CreatePageStream(int pageNumber); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number of a page to generate a thumbnail. | ##### Return Value The stream to write the page preview. ### LoadOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/loadoptions.md #### LoadOptions class Allows a developer to specify additional options (such as a password) when loading a file. ```csharp public class LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | LoadOptions() | Initializes a new instance of the `LoadOptions` class. | | LoadOptions(FileFormat) | Initializes a new instance of the `LoadOptions` class. | #### Properties | Name | Description | | --- | --- | | FileFormat { get; } | Gets the exact type of the file that is to be loaded. The default value is Unknown which means that the type should be detected automatically. | | Password { get; set; } | Gets or sets the password for opening an encrypted document. | ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/loadoptions/fileformat.md #### LoadOptions.FileFormat property Gets the exact type of the file that is to be loaded. The default value is Unknown which means that the type should be detected automatically. ```csharp public FileFormat FileFormat { get; } ``` ##### Property Value The exact type of the file that is to be loaded. ### LoadOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/loadoptions/loadoptions.md #### LoadOptions() Initializes a new instance of the `LoadOptions` class. ```csharp public LoadOptions() ``` #### LoadOptions(FileFormat) Initializes a new instance of the `LoadOptions` class. ```csharp public LoadOptions(FileFormat fileFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The exact type of the file. | ### Password Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/loadoptions/password.md #### LoadOptions.Password property Gets or sets the password for opening an encrypted document. ```csharp public string Password { get; set; } ``` ##### Property Value Can be null or empty string. The default value is null. If the document is not encrypted, set this to null or the empty string. ### PreviewOptions.PreviewFormats Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions.previewformats.md #### PreviewOptions.PreviewFormats enumeration Represents supported preview formats. ```csharp public enum PreviewFormats ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PNG | `0` | Portable Network Graphics Format. | | JPEG | `1` | Joint Photographic Experts Group Format. | | BMP | `2` | Bitmap Picture Format. | ### PreviewOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions.md #### PreviewOptions class Provides options to sets requirements and stream delegates for preview generation. ```csharp public class PreviewOptions ``` #### Constructors | Name | Description | | --- | --- | | PreviewOptions(CreatePageStream) | Initializes a new instance of the `PreviewOptions` class causing the output stream to be closed. | | PreviewOptions(CreatePageStream, ReleasePageStream) | Initializes a new instance of `PreviewOptions` class causing the output stream to be returned to the client for further use. | #### Properties | Name | Description | | --- | --- | | CacheFolder { get; set; } | Gets or sets the cache folder. By default the cache folder is set to user's local temp directory. | | CreatePageStream { get; set; } | Gets or sets an instance of the page stream creation delegate. | | Height { get; set; } | Gets or sets the page preview height. | | MaxDiskSpaceForCache { get; set; } | Gets or sets the maximum available disk space for cache in bytes. The default value is 1073741824. | | MaxMemoryForCache { get; set; } | Gets or sets the maximum available memory for cache in memory in bytes. The default value is 1073741824. | | PageNumbers { get; set; } | Gets or sets an array of page numbers to generate previews. | | PreviewFormat { get; set; } | Gets or sets the preview image format. | | ReleasePageStream { get; set; } | Gets or sets an instance of the page preview completion delegate. | | Resolution { get; set; } | Gets or sets the page preview resolution. | | Width { get; set; } | Gets or sets the page preview width. | ### CacheFolder Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/cachefolder.md #### PreviewOptions.CacheFolder property Gets or sets the cache folder. By default the cache folder is set to user's local temp directory. ```csharp public string CacheFolder { get; set; } ``` ### CreatePageStream Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/createpagestream.md #### PreviewOptions.CreatePageStream property Gets or sets an instance of the page stream creation delegate. ```csharp public CreatePageStream CreatePageStream { get; set; } ``` ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/height.md #### PreviewOptions.Height property Gets or sets the page preview height. ```csharp public int Height { get; set; } ``` ### MaxDiskSpaceForCache Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/maxdiskspaceforcache.md #### PreviewOptions.MaxDiskSpaceForCache property Gets or sets the maximum available disk space for cache in bytes. The default value is 1073741824. ```csharp public int MaxDiskSpaceForCache { get; set; } ``` ### MaxMemoryForCache Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/maxmemoryforcache.md #### PreviewOptions.MaxMemoryForCache property Gets or sets the maximum available memory for cache in memory in bytes. The default value is 1073741824. ```csharp public int MaxMemoryForCache { get; set; } ``` ### PageNumbers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/pagenumbers.md #### PreviewOptions.PageNumbers property Gets or sets an array of page numbers to generate previews. ```csharp public int[] PageNumbers { get; set; } ``` ### PreviewFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/previewformat.md #### PreviewOptions.PreviewFormat property Gets or sets the preview image format. ```csharp public PreviewFormats PreviewFormat { get; set; } ``` ### PreviewOptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/previewoptions.md #### PreviewOptions(CreatePageStream) Initializes a new instance of the `PreviewOptions` class causing the output stream to be closed. ```csharp public PreviewOptions(CreatePageStream createPageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Creates a stream for a specific page preview. | #### PreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of `PreviewOptions` class causing the output stream to be returned to the client for further use. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Creates a stream for a specific page preview | | releasePageStream | ReleasePageStream | Notifies that the page preview generation is done and gets the output stream. | ### ReleasePageStream Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/releasepagestream.md #### PreviewOptions.ReleasePageStream property Gets or sets an instance of the page preview completion delegate. ```csharp public ReleasePageStream ReleasePageStream { get; set; } ``` ### Resolution Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/resolution.md #### PreviewOptions.Resolution property Gets or sets the page preview resolution. ```csharp public int Resolution { get; set; } ``` ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/previewoptions/width.md #### PreviewOptions.Width property Gets or sets the page preview width. ```csharp public int Width { get; set; } ``` ### ReleasePageStream Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.options/releasepagestream.md #### ReleasePageStream delegate Represents a method which releases the stream created by the `CreatePageStream` delegate. ```csharp public delegate void ReleasePageStream(int pageNumber, Stream pageStream); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number of a generated page preview. | | pageStream | Stream | The stream containing the generated page preview. | ### GroupDocs.Metadata.Standards.DublinCore Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore.md The namespace contains functionality intended to read DublinCore metadata from files of different formats. #### Classes | Class | Description | | --- | --- | | DublinCorePackage | Represents a Dublin Core metadata package. | #### Interfaces | Interface | Description | | --- | --- | | IDublinCore | Defines base operations allowing working with Dublin Core metadata. | ### DublinCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage.md #### DublinCorePackage class Represents a Dublin Core metadata package. ```csharp public sealed class DublinCorePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Contributor { get; } | Gets the contributor Dublin Core element. | | Count { get; } | Gets the number of metadata properties. | | Coverage { get; } | Gets the coverage Dublin Core element. | | Creator { get; } | Gets the creator Dublin Core element. | | Date { get; } | Gets the date Dublin Core element. | | Description { get; } | Gets the description Dublin Core element. | | Format { get; } | Gets the format Dublin Core element. | | Identifier { get; } | Gets the identifier Dublin Core element. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Language { get; } | Gets the language Dublin Core element. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Publisher { get; } | Gets the publisher Dublin Core element. | | Relation { get; } | Gets the relation Dublin Core element. | | Rights { get; } | Gets the rights Dublin Core element. | | Source { get; } | Gets the source Dublin Core element. | | Subject { get; } | Gets the subject Dublin Core element. | | Title { get; } | Gets the title Dublin Core element. | | Type { get; } | Gets the type Dublin Core element. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Contributor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/contributor.md #### DublinCorePackage.Contributor property Gets the contributor Dublin Core element. ```csharp public string Contributor { get; } ``` ##### Property Value An entity responsible for making contributions to the content of the resource. Examples of a Contributor include a person, an organization or a service. ### Creator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/creator.md #### DublinCorePackage.Creator property Gets the creator Dublin Core element. ```csharp public string Creator { get; } ``` ##### Property Value An entity primarily responsible for making the content of the resource. Examples of a Creator include a person, an organization, or a service. ### Date Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/date.md #### DublinCorePackage.Date property Gets the date Dublin Core element. ```csharp public string Date { get; } ``` ##### Property Value A date associated with an event in the life cycle of the resource. Typically, Date will be associated with the creation or availability of the resource. Recommended best practice for encoding the date value is defined in a profile of ISO 8601 and follows the YYYY-MM-DD format. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/description.md #### DublinCorePackage.Description property Gets the description Dublin Core element. ```csharp public string Description { get; } ``` ##### Property Value An account of the content of the resource. Description may include but is not limited to: an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content. ### Format Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/format.md #### DublinCorePackage.Format property Gets the format Dublin Core element. ```csharp public string Format { get; } ``` ##### Property Value The physical or digital manifestation of the resource. Typically, Format may include the media-type or dimensions of the resource. Examples of dimensions include size and duration. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. ### Identifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/identifier.md #### DublinCorePackage.Identifier property Gets the identifier Dublin Core element. ```csharp public string Identifier { get; } ``` ##### Property Value An unambiguous reference to the resource within a given context. Recommended best practice is to identify the resource by means of a string or number conforming to a formal identification system. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/language.md #### DublinCorePackage.Language property Gets the language Dublin Core element. ```csharp public string Language { get; } ``` ##### Property Value A language of the intellectual content of the resource. Recommended best practice for the values of the Language element is defined by RFC 3066 which, in conjunction with ISO 639), defines two- and three-letter primary language tags with optional subtags. ### Publisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/publisher.md #### DublinCorePackage.Publisher property Gets the publisher Dublin Core element. ```csharp public string Publisher { get; } ``` ##### Property Value The entity responsible for making the resource available. Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity. ### Relation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/relation.md #### DublinCorePackage.Relation property Gets the relation Dublin Core element. ```csharp public string Relation { get; } ``` ##### Property Value A reference to a related resource. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system. ### Rights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/rights.md #### DublinCorePackage.Rights property Gets the rights Dublin Core element. ```csharp public string Rights { get; } ``` ##### Property Value Information about rights held in and over the resource. Typically a Rights element will contain a rights management statement for the resource, or reference a service providing such information. Rights information often encompasses Intellectual Property Rights (IPR), Copyright, and various Property Rights. If the rights element is absent, no assumptions can be made about the status of these and other rights with respect to the resource. ### Source Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/source.md #### DublinCorePackage.Source property Gets the source Dublin Core element. ```csharp public string Source { get; } ``` ##### Property Value A Reference to a resource from which the present resource is derived. The present resource may be derived from the Source resource in whole or part. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/subject.md #### DublinCorePackage.Subject property Gets the subject Dublin Core element. ```csharp public string Subject { get; } ``` ##### Property Value The topic of the content of the resource. Typically, a Subject will be expressed as keywords or key phrases or classification codes that describe the topic of the resource. Recommended best practice is to select a value from a controlled vocabulary or formal classification scheme. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/title.md #### DublinCorePackage.Title property Gets the title Dublin Core element. ```csharp public string Title { get; } ``` ##### Property Value The name given to the resource. Typically, a Title will be a name by which the resource is formally known. ### Type Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/dublincorepackage/type.md #### DublinCorePackage.Type property Gets the type Dublin Core element. ```csharp public string Type { get; } ``` ##### Property Value The nature or genre of the content of the resource. Type includes terms describing general categories, functions, genres, or aggregation levels for content. Recommended best practice is to select a value from a controlled vocabulary (for example, the DCMIType vocabulary). ### IDublinCore Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/idublincore.md #### IDublinCore interface Defines base operations allowing working with Dublin Core metadata. ```csharp public interface IDublinCore ``` #### Properties | Name | Description | | --- | --- | | DublinCorePackage { get; } | Gets the Dublin Core metadata package extracted from the document. | ### DublinCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.dublincore/idublincore/dublincorepackage.md #### IDublinCore.DublinCorePackage property Gets the Dublin Core metadata package extracted from the document. ```csharp public DublinCorePackage DublinCorePackage { get; } ``` ##### Property Value The Dublin Core metadata package extracted from the document. ### GroupDocs.Metadata.Standards.Exif.MakerNote Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote.md The namespace contains classes intended to work with MakerNote metadata written by various camera manufacturers. #### Classes | Class | Description | | --- | --- | | CanonCameraSettingsPackage | Represents CANON camera settings. | | CanonMakerNotePackage | Represents CANON MakerNote metadata. | | MakerNotePackage | Provides an abstract base class for MakerNote metadata packages. | | NikonMakerNotePackage | Represents NIKON MakerNote metadata. | | PanasonicMakerNotePackage | Represents PANASONIC MakerNote metadata. | | SonyMakerNotePackage | Represents SONY MakerNote metadata. | ### CanonCameraSettingsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage.md #### CanonCameraSettingsPackage class Represents CANON camera settings. ```csharp public sealed class CanonCameraSettingsPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | AFPoint { get; } | Gets the AFPoint. | | CameraIso { get; } | Gets the camera iso. | | CanonExposureMode { get; } | Gets the canon exposure mode. | | CanonFlashMode { get; } | Gets the canon flash mode. | | CanonImageSize { get; } | Gets the size of the canon image. | | ContinuousDrive { get; } | Gets the continuous drive. | | Contrast { get; } | Gets the contrast. | | Count { get; } | Gets the number of metadata properties. | | DigitalZoom { get; } | Gets the digital zoom. | | EasyMode { get; } | Gets the easy mode. | | FocusMode { get; } | Gets the focus mode. | | FocusRange { get; } | Gets the focus range. | | ImageStabilization { get; } | Gets the image stabilization. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LensType { get; } | Gets the type of the lens. | | MacroMode { get; } | Gets the macro mode. | | MaxFocalLength { get; } | Gets the maximum length of the focal. | | MetadataType { get; } | Gets the metadata type. | | MeteringMode { get; } | Gets the metering mode. | | MinFocalLength { get; } | Gets the minimum length of the focal. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Quality { get; } | Gets the quality. | | RecordMode { get; } | Gets the record mode. | | Saturation { get; } | Gets the saturation. | | SelfTimer { get; } | Gets the self timer. | | Sharpness { get; } | Gets the sharpness. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AFPoint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/afpoint.md #### CanonCameraSettingsPackage.AFPoint property Gets the AFPoint. ```csharp public short AFPoint { get; } ``` ##### Property Value The AFPoint. ### CameraIso Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/cameraiso.md #### CanonCameraSettingsPackage.CameraIso property Gets the camera iso. ```csharp public short CameraIso { get; } ``` ##### Property Value The camera iso. ### CanonExposureMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/canonexposuremode.md #### CanonCameraSettingsPackage.CanonExposureMode property Gets the canon exposure mode. ```csharp public short CanonExposureMode { get; } ``` ##### Property Value The canon exposure mode. ### CanonFlashMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/canonflashmode.md #### CanonCameraSettingsPackage.CanonFlashMode property Gets the canon flash mode. ```csharp public short CanonFlashMode { get; } ``` ##### Property Value The canon flash mode. ### CanonImageSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/canonimagesize.md #### CanonCameraSettingsPackage.CanonImageSize property Gets the size of the canon image. ```csharp public short CanonImageSize { get; } ``` ##### Property Value The size of the canon image. ### ContinuousDrive Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/continuousdrive.md #### CanonCameraSettingsPackage.ContinuousDrive property Gets the continuous drive. ```csharp public short ContinuousDrive { get; } ``` ##### Property Value The continuous drive. ### Contrast Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/contrast.md #### CanonCameraSettingsPackage.Contrast property Gets the contrast. ```csharp public short Contrast { get; } ``` ##### Property Value The contrast. ### DigitalZoom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/digitalzoom.md #### CanonCameraSettingsPackage.DigitalZoom property Gets the digital zoom. ```csharp public short DigitalZoom { get; } ``` ##### Property Value The digital zoom. ### EasyMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/easymode.md #### CanonCameraSettingsPackage.EasyMode property Gets the easy mode. ```csharp public short EasyMode { get; } ``` ##### Property Value The easy mode. ### FocusMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/focusmode.md #### CanonCameraSettingsPackage.FocusMode property Gets the focus mode. ```csharp public short FocusMode { get; } ``` ##### Property Value The focus mode. ### FocusRange Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/focusrange.md #### CanonCameraSettingsPackage.FocusRange property Gets the focus range. ```csharp public short FocusRange { get; } ``` ##### Property Value The focus range. ### ImageStabilization Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/imagestabilization.md #### CanonCameraSettingsPackage.ImageStabilization property Gets the image stabilization. ```csharp public short ImageStabilization { get; } ``` ##### Property Value The image stabilization. ### LensType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/lenstype.md #### CanonCameraSettingsPackage.LensType property Gets the type of the lens. ```csharp public ushort LensType { get; } ``` ##### Property Value The type of the lens. ### MacroMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/macromode.md #### CanonCameraSettingsPackage.MacroMode property Gets the macro mode. ```csharp public short MacroMode { get; } ``` ##### Property Value The macro mode. ### MaxFocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/maxfocallength.md #### CanonCameraSettingsPackage.MaxFocalLength property Gets the maximum length of the focal. ```csharp public ushort MaxFocalLength { get; } ``` ##### Property Value The maximum length of the focal. ### MeteringMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/meteringmode.md #### CanonCameraSettingsPackage.MeteringMode property Gets the metering mode. ```csharp public short MeteringMode { get; } ``` ##### Property Value The metering mode. ### MinFocalLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/minfocallength.md #### CanonCameraSettingsPackage.MinFocalLength property Gets the minimum length of the focal. ```csharp public ushort MinFocalLength { get; } ``` ##### Property Value The minimum length of the focal. ### Quality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/quality.md #### CanonCameraSettingsPackage.Quality property Gets the quality. ```csharp public short Quality { get; } ``` ##### Property Value The quality. ### RecordMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/recordmode.md #### CanonCameraSettingsPackage.RecordMode property Gets the record mode. ```csharp public short RecordMode { get; } ``` ##### Property Value The record mode. ### Saturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/saturation.md #### CanonCameraSettingsPackage.Saturation property Gets the saturation. ```csharp public short Saturation { get; } ``` ##### Property Value The saturation. ### SelfTimer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/selftimer.md #### CanonCameraSettingsPackage.SelfTimer property Gets the self timer. ```csharp public short SelfTimer { get; } ``` ##### Property Value The self timer. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/sharpness.md #### CanonCameraSettingsPackage.Sharpness property Gets the sharpness. ```csharp public short Sharpness { get; } ``` ##### Property Value The sharpness. ### CanonMakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage.md #### CanonMakerNotePackage class Represents CANON MakerNote metadata. ```csharp public sealed class CanonMakerNotePackage : MakerNotePackage ``` #### Properties | Name | Description | | --- | --- | | CameraSettings { get; } | Gets the camera settings. | | CanonFileLength { get; } | Gets the length of the canon file. | | CanonFirmwareVersion { get; } | Gets the canon firmware version. | | CanonImageType { get; } | Gets the Canon image type. | | CanonModelID { get; } | Gets the canon model identifier. | | Count { get; } | Gets the number of metadata properties. | | FileNumber { get; } | Gets the file number. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | OwnerName { get; } | Gets the name of the owner. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SerialNumber { get; } | Gets the serial number. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CameraSettings Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/camerasettings.md #### CanonMakerNotePackage.CameraSettings property Gets the camera settings. ```csharp public CanonCameraSettingsPackage CameraSettings { get; } ``` ##### Property Value The camera settings. ### CanonFileLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canonfilelength.md #### CanonMakerNotePackage.CanonFileLength property Gets the length of the canon file. ```csharp public uint? CanonFileLength { get; } ``` ##### Property Value The length of the canon file. ### CanonFirmwareVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canonfirmwareversion.md #### CanonMakerNotePackage.CanonFirmwareVersion property Gets the canon firmware version. ```csharp public string CanonFirmwareVersion { get; } ``` ##### Property Value The canon firmware version. ### CanonImageType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canonimagetype.md #### CanonMakerNotePackage.CanonImageType property Gets the Canon image type. ```csharp public string CanonImageType { get; } ``` ##### Property Value The Canon type of the image. ### CanonModelID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canonmodelid.md #### CanonMakerNotePackage.CanonModelID property Gets the canon model identifier. ```csharp public uint? CanonModelID { get; } ``` ##### Property Value The canon model identifier. ### FileNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/filenumber.md #### CanonMakerNotePackage.FileNumber property Gets the file number. ```csharp public uint? FileNumber { get; } ``` ##### Property Value The file number. ### OwnerName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/ownername.md #### CanonMakerNotePackage.OwnerName property Gets the name of the owner. ```csharp public string OwnerName { get; } ``` ##### Property Value The name of the owner. ### SerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/serialnumber.md #### CanonMakerNotePackage.SerialNumber property Gets the serial number. ```csharp public uint? SerialNumber { get; } ``` ##### Property Value The serial number. ### MakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/makernotepackage.md #### MakerNotePackage class Provides an abstract base class for MakerNote metadata packages. ```csharp public abstract class MakerNotePackage : ExifDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### NikonMakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage.md #### NikonMakerNotePackage class Represents NIKON MakerNote metadata. ```csharp public sealed class NikonMakerNotePackage : MakerNotePackage ``` #### Constructors | Name | Description | | --- | --- | | NikonMakerNotePackage(TiffTag[]) | Initializes a new instance of the `NikonMakerNotePackage` class. | #### Properties | Name | Description | | --- | --- | | ColorMode { get; } | Gets the color mode. | | Count { get; } | Gets the number of metadata properties. | | FlashSetting { get; } | Gets the flash setting. | | FlashType { get; } | Gets the type of the flash. | | FocusMode { get; } | Gets the focus mode. | | Iso { get; } | Gets the iso. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MakerNoteVersion { get; } | Gets the MakerNote version. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Quality { get; } | Gets the quality string. | | Sharpness { get; } | Gets the sharpness. | | WhiteBalance { get; } | Gets the white balance. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ColorMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/colormode.md #### NikonMakerNotePackage.ColorMode property Gets the color mode. ```csharp public string ColorMode { get; } ``` ##### Property Value The color mode. ### FlashSetting Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/flashsetting.md #### NikonMakerNotePackage.FlashSetting property Gets the flash setting. ```csharp public string FlashSetting { get; } ``` ##### Property Value The flash setting. ### FlashType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/flashtype.md #### NikonMakerNotePackage.FlashType property Gets the type of the flash. ```csharp public string FlashType { get; } ``` ##### Property Value The type of the flash. ### FocusMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/focusmode.md #### NikonMakerNotePackage.FocusMode property Gets the focus mode. ```csharp public string FocusMode { get; } ``` ##### Property Value The focus mode. ### Iso Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/iso.md #### NikonMakerNotePackage.Iso property Gets the iso. ```csharp public ushort[] Iso { get; } ``` ##### Property Value The iso. ### MakerNoteVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/makernoteversion.md #### NikonMakerNotePackage.MakerNoteVersion property Gets the MakerNote version. ```csharp public byte[] MakerNoteVersion { get; } ``` ##### Property Value The MakerNote version. ### NikonMakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/nikonmakernotepackage.md #### NikonMakerNotePackage constructor Initializes a new instance of the `NikonMakerNotePackage` class. ```csharp public NikonMakerNotePackage(TiffTag[] tags) ``` | Parameter | Type | Description | | --- | --- | --- | | tags | TiffTag[] | Array of TIFF tags. | ### Quality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/quality.md #### NikonMakerNotePackage.Quality property Gets the quality string. ```csharp public string Quality { get; } ``` ##### Property Value The quality. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/sharpness.md #### NikonMakerNotePackage.Sharpness property Gets the sharpness. ```csharp public string Sharpness { get; } ``` ##### Property Value The sharpness. ### WhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/whitebalance.md #### NikonMakerNotePackage.WhiteBalance property Gets the white balance. ```csharp public string WhiteBalance { get; } ``` ##### Property Value The white balance. ### PanasonicMakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage.md #### PanasonicMakerNotePackage class Represents PANASONIC MakerNote metadata. ```csharp public class PanasonicMakerNotePackage : MakerNotePackage ``` #### Properties | Name | Description | | --- | --- | | AccessorySerialNumber { get; } | Gets the accessory serial number. | | AccessoryType { get; } | Gets the type of the accessory. | | AFMode { get; } | Gets the AF mode. | | Audio { get; } | Gets the audio mode. | | Count { get; } | Gets the number of metadata properties. | | FirmwareVersion { get; } | Gets the firmware version. | | FocusMode { get; } | Gets the focus mode. | | ImageQuality { get; } | Gets the image quality. | | ImageStabilization { get; } | Gets the image stabilization mode. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | LensSerialNumber { get; } | Gets the lens serial number. | | LensType { get; } | Gets the type of the lens. | | MacroMode { get; } | Gets the macro mode. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ShootingMode { get; } | Gets the shooting mode. | | WhiteBalance { get; } | Gets the white balance. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AccessorySerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/accessoryserialnumber.md #### PanasonicMakerNotePackage.AccessorySerialNumber property Gets the accessory serial number. ```csharp public string AccessorySerialNumber { get; } ``` ##### Property Value The accessory serial number. ### AccessoryType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/accessorytype.md #### PanasonicMakerNotePackage.AccessoryType property Gets the type of the accessory. ```csharp public string AccessoryType { get; } ``` ##### Property Value The type of the accessory. ### AFMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/afmode.md #### PanasonicMakerNotePackage.AFMode property Gets the AF mode. ```csharp public byte[] AFMode { get; } ``` ##### Property Value The AF mode. ### Audio Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/audio.md #### PanasonicMakerNotePackage.Audio property Gets the audio mode. ```csharp public ushort? Audio { get; } ``` ##### Property Value The audio mode. ### FirmwareVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/firmwareversion.md #### PanasonicMakerNotePackage.FirmwareVersion property Gets the firmware version. ```csharp public byte[] FirmwareVersion { get; } ``` ##### Property Value The firmware version. ### FocusMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/focusmode.md #### PanasonicMakerNotePackage.FocusMode property Gets the focus mode. ```csharp public ushort? FocusMode { get; } ``` ##### Property Value The focus mode. ### ImageQuality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/imagequality.md #### PanasonicMakerNotePackage.ImageQuality property Gets the image quality. ```csharp public ushort? ImageQuality { get; } ``` ##### Property Value The image quality. ### ImageStabilization Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/imagestabilization.md #### PanasonicMakerNotePackage.ImageStabilization property Gets the image stabilization mode. ```csharp public ushort? ImageStabilization { get; } ``` ##### Property Value The image stabilization mode. ### LensSerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/lensserialnumber.md #### PanasonicMakerNotePackage.LensSerialNumber property Gets the lens serial number. ```csharp public string LensSerialNumber { get; } ``` ##### Property Value The lens serial number. ### LensType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/lenstype.md #### PanasonicMakerNotePackage.LensType property Gets the type of the lens. ```csharp public string LensType { get; } ``` ##### Property Value The type of the lens. ### MacroMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/macromode.md #### PanasonicMakerNotePackage.MacroMode property Gets the macro mode. ```csharp public ushort? MacroMode { get; } ``` ##### Property Value The macro mode. ### ShootingMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/shootingmode.md #### PanasonicMakerNotePackage.ShootingMode property Gets the shooting mode. ```csharp public ushort? ShootingMode { get; } ``` ##### Property Value The shooting mode. ### WhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/whitebalance.md #### PanasonicMakerNotePackage.WhiteBalance property Gets the white balance. ```csharp public ushort? WhiteBalance { get; } ``` ##### Property Value The white balance. ### SonyMakerNotePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage.md #### SonyMakerNotePackage class Represents SONY MakerNote metadata. ```csharp public sealed class SonyMakerNotePackage : MakerNotePackage ``` #### Properties | Name | Description | | --- | --- | | AFIlluminator { get; } | Gets the AF illuminator type. | | Brightness { get; } | Gets the brightness. | | ColorMode { get; } | Gets the color mode. | | ColorTemperature { get; } | Gets the color temperature. | | Contrast { get; } | Gets the contrast. | | Count { get; } | Gets the number of metadata properties. | | CreativeStyle { get; } | Gets the creative style. | | ExposureMode { get; } | Gets the exposure mode. | | FlashLevel { get; } | Gets the flash level. | | FocusMode { get; } | Gets the focus mode. | | Header { get; } | Gets the MakerNote header. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | JpegQuality { get; } | Gets the JPEG quality. | | Keys { get; } | Gets a collection of the metadata property names. | | Macro { get; } | Gets the macro. | | MetadataType { get; } | Gets the metadata type. | | MultiBurstImageHeight { get; } | Gets the height of the multi burst image. | | MultiBurstImageWidth { get; } | Gets the width of the multi burst image. | | MultiBurstMode { get; } | Gets a value indicating whether the multi burst mode is on. | | PictureEffect { get; } | Gets the picture effect. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Quality { get; } | Gets the image quality. | | Rating { get; } | Gets the rating. | | ReleaseMode { get; } | Gets the release mode. | | Saturation { get; } | Gets the saturation. | | Sharpness { get; } | Gets the sharpness. | | SoftSkinEffect { get; } | Gets the soft skin effect. | | SonyModelID { get; } | Gets the sony model identifier. | | Teleconverter { get; } | Gets the teleconverter type. | | WhiteBalance { get; } | Gets the white balance. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AFIlluminator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/afilluminator.md #### SonyMakerNotePackage.AFIlluminator property Gets the AF illuminator type. ```csharp public ushort? AFIlluminator { get; } ``` ##### Property Value The AF illuminator type. ### Brightness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/brightness.md #### SonyMakerNotePackage.Brightness property Gets the brightness. ```csharp public int? Brightness { get; } ``` ##### Property Value The brightness. ### ColorMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/colormode.md #### SonyMakerNotePackage.ColorMode property Gets the color mode. ```csharp public uint? ColorMode { get; } ``` ##### Property Value The color mode. ### ColorTemperature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/colortemperature.md #### SonyMakerNotePackage.ColorTemperature property Gets the color temperature. ```csharp public uint? ColorTemperature { get; } ``` ##### Property Value The color temperature. ### Contrast Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/contrast.md #### SonyMakerNotePackage.Contrast property Gets the contrast. ```csharp public int? Contrast { get; } ``` ##### Property Value The contrast. ### CreativeStyle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/creativestyle.md #### SonyMakerNotePackage.CreativeStyle property Gets the creative style. ```csharp public string CreativeStyle { get; } ``` ##### Property Value The creative style. ### ExposureMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/exposuremode.md #### SonyMakerNotePackage.ExposureMode property Gets the exposure mode. ```csharp public ushort? ExposureMode { get; } ``` ##### Property Value The exposure mode. ### FlashLevel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/flashlevel.md #### SonyMakerNotePackage.FlashLevel property Gets the flash level. ```csharp public short? FlashLevel { get; } ``` ##### Property Value The flash level. ### FocusMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/focusmode.md #### SonyMakerNotePackage.FocusMode property Gets the focus mode. ```csharp public ushort? FocusMode { get; } ``` ##### Property Value The focus mode. ### Header Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/header.md #### SonyMakerNotePackage.Header property Gets the MakerNote header. ```csharp public string Header { get; } ``` ##### Property Value The MakerNote header. ### JpegQuality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/jpegquality.md #### SonyMakerNotePackage.JpegQuality property Gets the JPEG quality. ```csharp public ushort? JpegQuality { get; } ``` ##### Property Value The JPEG quality. ### Macro Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/macro.md #### SonyMakerNotePackage.Macro property Gets the macro. ```csharp public ushort? Macro { get; } ``` ##### Property Value The macro. ### MultiBurstImageHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/multiburstimageheight.md #### SonyMakerNotePackage.MultiBurstImageHeight property Gets the height of the multi burst image. ```csharp public ushort? MultiBurstImageHeight { get; } ``` ##### Property Value The height of the multi burst image. ### MultiBurstImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/multiburstimagewidth.md #### SonyMakerNotePackage.MultiBurstImageWidth property Gets the width of the multi burst image. ```csharp public ushort? MultiBurstImageWidth { get; } ``` ##### Property Value The width of the multi burst image. ### MultiBurstMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/multiburstmode.md #### SonyMakerNotePackage.MultiBurstMode property Gets a value indicating whether the multi burst mode is on. ```csharp public bool MultiBurstMode { get; } ``` ##### Property Value `true` if the multi burst mode is on; otherwise, `false`. ### PictureEffect Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/pictureeffect.md #### SonyMakerNotePackage.PictureEffect property Gets the picture effect. ```csharp public ushort? PictureEffect { get; } ``` ##### Property Value The picture effect. ### Quality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/quality.md #### SonyMakerNotePackage.Quality property Gets the image quality. ```csharp public uint? Quality { get; } ``` ##### Property Value The image quality. ### Rating Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/rating.md #### SonyMakerNotePackage.Rating property Gets the rating. ```csharp public uint? Rating { get; } ``` ##### Property Value The rating. ### ReleaseMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/releasemode.md #### SonyMakerNotePackage.ReleaseMode property Gets the release mode. ```csharp public ushort? ReleaseMode { get; } ``` ##### Property Value The release mode. ### Saturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/saturation.md #### SonyMakerNotePackage.Saturation property Gets the saturation. ```csharp public int? Saturation { get; } ``` ##### Property Value The saturation. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/sharpness.md #### SonyMakerNotePackage.Sharpness property Gets the sharpness. ```csharp public int? Sharpness { get; } ``` ##### Property Value The sharpness. ### SoftSkinEffect Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/softskineffect.md #### SonyMakerNotePackage.SoftSkinEffect property Gets the soft skin effect. ```csharp public uint? SoftSkinEffect { get; } ``` ##### Property Value The soft skin effect. ### SonyModelID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/sonymodelid.md #### SonyMakerNotePackage.SonyModelID property Gets the sony model identifier. ```csharp public ushort? SonyModelID { get; } ``` ##### Property Value The sony model identifier. ### Teleconverter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/teleconverter.md #### SonyMakerNotePackage.Teleconverter property Gets the teleconverter type. ```csharp public uint? Teleconverter { get; } ``` ##### Property Value The teleconverter type. ### WhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/whitebalance.md #### SonyMakerNotePackage.WhiteBalance property Gets the white balance. ```csharp public uint? WhiteBalance { get; } ``` ##### Property Value The white balance. ### GroupDocs.Metadata.Standards.Exif Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif.md The namespace contains functionality intended to read and write EXIF (exchangeable image file format) metadata. #### Classes | Class | Description | | --- | --- | | ExifDictionaryBasePackage | Provides an abstract base class for EXIF metadata dictionaries. | | ExifGpsPackage | Represents GPS metadata in an EXIF metadata package. | | ExifIfdPackage | Represents the Exif Image File Directory. Exif IFD is a set of tags for recording Exif-specific attribute information. | | ExifPackage | Represents an EXIF metadata package (Exchangeable Image File Format). | #### Interfaces | Interface | Description | | --- | --- | | IExif | Defines base operations intended to work with EXIF metadata. | #### Enumeration | Enumeration | Description | | --- | --- | | ExifGpsAltitudeRef | Represents a GPS altitude reference. | | ExifOrientation | Exif image orientation. | ### ExifDictionaryBasePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifdictionarybasepackage.md #### ExifDictionaryBasePackage class Provides an abstract base class for EXIF metadata dictionaries. ```csharp public abstract class ExifDictionaryBasePackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Clear Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/clear.md #### ExifDictionaryBasePackage.Clear method Removes all TIFF tags stored in the package. ```csharp public void Clear() ``` ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/item.md #### ExifDictionaryBasePackage indexer Gets the TIFF tag with the specified id. ```csharp public TiffTag this[TiffTagID tagId] { get; } ``` | Parameter | Description | | --- | --- | | tagId | The id of the tag to retrieve. | ##### Return Value The `TiffTag` with the specified tag id. ##### Examples This example demonstrates how to read a specific TIFF/EXIF tag by its identifier. ```csharp using (Metadata metadata = new Metadata(Constants.TiffWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null && root.ExifPackage != null) { TiffAsciiTag software = (TiffAsciiTag)root.ExifPackage[TiffTagID.Software]; if (software != null) { Console.WriteLine("Software: {0}", software.Value); } } } ``` ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/remove.md #### ExifDictionaryBasePackage.Remove method Removes the property with the specified id. ```csharp public bool Remove(TiffTagID tagId) ``` | Parameter | Type | Description | | --- | --- | --- | | tagId | TiffTagID | A TIFF tag id. | ##### Return Value True if the specified TIFF tag is found and removed; otherwise, false. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/set.md #### ExifDictionaryBasePackage.Set method Adds or replaces the specified tag. ```csharp public void Set(TiffTag tag) ``` | Parameter | Type | Description | | --- | --- | --- | | tag | TiffTag | The tag to set. | ##### Examples This code sample demonstrates how to add a custom tag to an EXIF package. ```csharp using (Metadata metadata = new Metadata(Constants.TiffWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null) { // Set the EXIF package if it's missing if (root.ExifPackage == null) { root.ExifPackage = new ExifPackage(); } // Add a known property root.ExifPackage.Set(new TiffAsciiTag(TiffTagID.Artist, "test artist")); // Add a fully custom property (which is not described in the EXIF specification). // Please note that the chosen ID may intersect with the IDs used by some third party tools. root.ExifPackage.Set(new TiffAsciiTag((TiffTagID)65523, "custom")); metadata.Save(Constants.OutputTiff); } } ``` ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/tolist.md #### ExifDictionaryBasePackage.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list that contains all TIFF tags from the package. ##### Examples This example demonstrates how to read all EXIF tags extracted from a file. ```csharp using (Metadata metadata = new Metadata(Constants.JpegWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null && root.ExifPackage != null) { const string pattern = "{0} = {1}"; foreach (TiffTag tag in root.ExifPackage.ToList()) { Console.WriteLine(pattern, tag.TagID, tag.Value); } foreach (TiffTag tag in root.ExifPackage.ExifIfdPackage.ToList()) { Console.WriteLine(pattern, tag.TagID, tag.Value); } foreach (TiffTag tag in root.ExifPackage.GpsPackage.ToList()) { Console.WriteLine(pattern, tag.TagID, tag.Value); } } } ``` ### ExifGpsAltitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpsaltituderef.md #### ExifGpsAltitudeRef enumeration Represents a GPS altitude reference. ```csharp public enum ExifGpsAltitudeRef ``` ##### Values | Name | Value | Description | | --- | --- | --- | | AboveSeaLevel | `0` | Above sea level. | | BelowSeaLevel | `1` | Below sea level. | ### ExifGpsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage.md #### ExifGpsPackage class Represents GPS metadata in an EXIF metadata package. ```csharp public sealed class ExifGpsPackage : ExifDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | ExifGpsPackage() | Initializes a new instance of the `ExifGpsPackage` class. | #### Properties | Name | Description | | --- | --- | | Altitude { get; set; } | Gets or sets the altitude based on the reference in `AltitudeRef`. The reference unit is meters. | | AltitudeRef { get; set; } | Gets or sets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the `Altitude` tag. | | AreaInformation { get; set; } | Gets or sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. | | Count { get; } | Gets the number of metadata properties. | | DataDegreeOfPrecision { get; set; } | Gets or sets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. | | DateStamp { get; set; } | Gets or sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. | | DestBearing { get; set; } | Gets or sets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99. | | DestBearingRef { get; set; } | Gets or sets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction. | | DestDistance { get; set; } | Gets or sets the GPS distance to the destination point. | | DestDistanceRef { get; set; } | Gets or sets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots. | | DestLatitude { get; set; } | Gets or sets the GPS latitude of the destination point. | | DestLatitudeRef { get; set; } | Gets or sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. | | DestLongitude { get; set; } | Gets or sets the GPS longitude of the destination point. | | DestLongitudeRef { get; set; } | Gets or sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude. | | Differential { get; set; } | Gets or sets a GPS value which indicates whether differential correction is applied to the GPS receiver. | | GpsTrack { get; set; } | Gets or sets the direction of GPS receiver movement. | | ImgDirection { get; set; } | Gets or sets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99. | | ImgDirectionRef { get; set; } | Gets or sets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | Latitude { get; set; } | Gets or sets the GPS latitude. | | LatitudeRef { get; set; } | Gets or sets a GPS value indicating whether the latitude is north or south latitude. | | Longitude { get; set; } | Gets or sets the GPS longitude. | | LongitudeRef { get; set; } | Gets or sets a GPS value indicating whether the longitude is east or west longitude. | | MapDatum { get; set; } | Gets or sets the geodetic survey data used by the GPS receiver. | | MeasureMode { get; set; } | Gets or sets the GPS measurement mode. | | MetadataType { get; } | Gets the metadata type. | | ProcessingMethod { get; set; } | Gets or sets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Satellites { get; set; } | Gets or sets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. | | Speed { get; set; } | Gets or sets the speed of GPS receiver movement. | | SpeedRef { get; set; } | Gets or sets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. | | Status { get; set; } | Gets or sets the status of the GPS receiver when the image is recorded. | | TimeStamp { get; set; } | Gets or sets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. | | TrackRef { get; set; } | Gets or sets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction. | | VersionID { get; set; } | Gets or sets the version of GPS IFD. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Altitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/altitude.md #### ExifGpsPackage.Altitude property Gets or sets the altitude based on the reference in `AltitudeRef`. The reference unit is meters. ```csharp public TiffRational Altitude { get; set; } ``` ##### Property Value The altitude based on the reference in `AltitudeRef`. ### AltitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/altituderef.md #### ExifGpsPackage.AltitudeRef property Gets or sets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the `Altitude` tag. ```csharp public ExifGpsAltitudeRef? AltitudeRef { get; set; } ``` ##### Property Value The altitude used as the reference altitude ### AreaInformation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/areainformation.md #### ExifGpsPackage.AreaInformation property Gets or sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. ```csharp public byte[] AreaInformation { get; set; } ``` ##### Property Value The character string recording the name of the GPS area. ### DataDegreeOfPrecision Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/datadegreeofprecision.md #### ExifGpsPackage.DataDegreeOfPrecision property Gets or sets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. ```csharp public TiffRational DataDegreeOfPrecision { get; set; } ``` ##### Property Value The data degree of precision. ### DateStamp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/datestamp.md #### ExifGpsPackage.DateStamp property Gets or sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. ```csharp public string DateStamp { get; set; } ``` ##### Property Value The character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. ### DestBearing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destbearing.md #### ExifGpsPackage.DestBearing property Gets or sets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99. ```csharp public TiffRational DestBearing { get; set; } ``` ##### Property Value The bearing to the destination point. ### DestBearingRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destbearingref.md #### ExifGpsPackage.DestBearingRef property Gets or sets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction. ```csharp public string DestBearingRef { get; set; } ``` ##### Property Value The GPS reference used for giving the bearing to the destination point. ### DestDistance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destdistance.md #### ExifGpsPackage.DestDistance property Gets or sets the GPS distance to the destination point. ```csharp public TiffRational DestDistance { get; set; } ``` ##### Property Value The distance to the destination point. ### DestDistanceRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destdistanceref.md #### ExifGpsPackage.DestDistanceRef property Gets or sets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots. ```csharp public string DestDistanceRef { get; set; } ``` ##### Property Value The GPS unit used to express the distance to the destination point. ### DestLatitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destlatitude.md #### ExifGpsPackage.DestLatitude property Gets or sets the GPS latitude of the destination point. ```csharp public TiffRational[] DestLatitude { get; set; } ``` ##### Property Value The latitude of the destination point. ### DestLatitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destlatituderef.md #### ExifGpsPackage.DestLatitudeRef property Gets or sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. ```csharp public string DestLatitudeRef { get; set; } ``` ##### Property Value The GPS value which indicates whether the latitude of the destination point is north or south latitude. ### DestLongitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destlongitude.md #### ExifGpsPackage.DestLongitude property Gets or sets the GPS longitude of the destination point. ```csharp public TiffRational[] DestLongitude { get; set; } ``` ##### Property Value The GPS longitude of the destination point. ### DestLongitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/destlongituderef.md #### ExifGpsPackage.DestLongitudeRef property Gets or sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude. ```csharp public string DestLongitudeRef { get; set; } ``` ##### Property Value The GPS value which indicates whether the longitude of the destination point is east or west longitude. ### Differential Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/differential.md #### ExifGpsPackage.Differential property Gets or sets a GPS value which indicates whether differential correction is applied to the GPS receiver. ```csharp public int? Differential { get; set; } ``` ##### Property Value A GPS value which indicates whether differential correction is applied to the GPS receiver. ### ExifGpsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/exifgpspackage.md #### ExifGpsPackage constructor Initializes a new instance of the `ExifGpsPackage` class. ```csharp public ExifGpsPackage() ``` ### GpsTrack Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/gpstrack.md #### ExifGpsPackage.GpsTrack property Gets or sets the direction of GPS receiver movement. ```csharp public TiffRational GpsTrack { get; set; } ``` ##### Property Value The direction of GPS receiver movement. ### ImgDirection Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/imgdirection.md #### ExifGpsPackage.ImgDirection property Gets or sets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99. ```csharp public TiffRational ImgDirection { get; set; } ``` ##### Property Value The GPS direction of the image when it was captured. ### ImgDirectionRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/imgdirectionref.md #### ExifGpsPackage.ImgDirectionRef property Gets or sets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction. ```csharp public string ImgDirectionRef { get; set; } ``` ##### Property Value The GPS reference for giving the direction of the image when it is captured. ### Latitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/latitude.md #### ExifGpsPackage.Latitude property Gets or sets the GPS latitude. ```csharp public TiffRational[] Latitude { get; set; } ``` ##### Property Value The latitude. ### LatitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/latituderef.md #### ExifGpsPackage.LatitudeRef property Gets or sets a GPS value indicating whether the latitude is north or south latitude. ```csharp public string LatitudeRef { get; set; } ``` ##### Property Value A GPS value indicating whether the latitude is north or south latitude. ### Longitude Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/longitude.md #### ExifGpsPackage.Longitude property Gets or sets the GPS longitude. ```csharp public TiffRational[] Longitude { get; set; } ``` ##### Property Value The longitude. ### LongitudeRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/longituderef.md #### ExifGpsPackage.LongitudeRef property Gets or sets a GPS value indicating whether the longitude is east or west longitude. ```csharp public string LongitudeRef { get; set; } ``` ##### Property Value A GPS value indicating whether the longitude is east or west longitude. ### MapDatum Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/mapdatum.md #### ExifGpsPackage.MapDatum property Gets or sets the geodetic survey data used by the GPS receiver. ```csharp public string MapDatum { get; set; } ``` ##### Property Value The geodetic survey data used by the GPS receiver. ### MeasureMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/measuremode.md #### ExifGpsPackage.MeasureMode property Gets or sets the GPS measurement mode. ```csharp public string MeasureMode { get; set; } ``` ##### Property Value The measure mode. ### ProcessingMethod Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/processingmethod.md #### ExifGpsPackage.ProcessingMethod property Gets or sets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method. ```csharp public byte[] ProcessingMethod { get; set; } ``` ##### Property Value A character string recording the name of the method used for location finding. ### Satellites Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/satellites.md #### ExifGpsPackage.Satellites property Gets or sets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. ```csharp public string Satellites { get; set; } ``` ##### Property Value The GPS satellites used for measurements. ### Speed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/speed.md #### ExifGpsPackage.Speed property Gets or sets the speed of GPS receiver movement. ```csharp public TiffRational Speed { get; set; } ``` ##### Property Value The speed of GPS receiver movement. ### SpeedRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/speedref.md #### ExifGpsPackage.SpeedRef property Gets or sets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. ```csharp public string SpeedRef { get; set; } ``` ##### Property Value The unit used to express the GPS receiver speed of movement. ### Status Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/status.md #### ExifGpsPackage.Status property Gets or sets the status of the GPS receiver when the image is recorded. ```csharp public string Status { get; set; } ``` ##### Property Value The status of the GPS receiver when the image is recorded. ### TimeStamp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/timestamp.md #### ExifGpsPackage.TimeStamp property Gets or sets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. ```csharp public TiffRational[] TimeStamp { get; set; } ``` ##### Property Value The time as UTC (Coordinated Universal Time). ### TrackRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/trackref.md #### ExifGpsPackage.TrackRef property Gets or sets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction. ```csharp public string TrackRef { get; set; } ``` ##### Property Value The reference for giving the direction of GPS receiver movement. ### VersionID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifgpspackage/versionid.md #### ExifGpsPackage.VersionID property Gets or sets the version of GPS IFD. ```csharp public byte[] VersionID { get; set; } ``` ##### Property Value The version of GPS IFD ### ExifIfdPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exififdpackage.md #### ExifIfdPackage class Represents the Exif Image File Directory. Exif IFD is a set of tags for recording Exif-specific attribute information. ```csharp public sealed class ExifIfdPackage : ExifDictionaryBasePackage ``` #### Properties | Name | Description | | --- | --- | | BodySerialNumber { get; set; } | Gets or sets the camera body serial number. | | CameraOwnerName { get; set; } | Gets or sets the camera owner's name. | | CfaPattern { get; set; } | Gets or sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | UserComment { get; set; } | Gets or sets the user comment. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### BodySerialNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exififdpackage/bodyserialnumber.md #### ExifIfdPackage.BodySerialNumber property Gets or sets the camera body serial number. ```csharp public string BodySerialNumber { get; set; } ``` ##### Property Value The camera body serial number. ### CameraOwnerName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exififdpackage/cameraownername.md #### ExifIfdPackage.CameraOwnerName property Gets or sets the camera owner's name. ```csharp public string CameraOwnerName { get; set; } ``` ##### Property Value The name of the camera owner. ### CfaPattern Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exififdpackage/cfapattern.md #### ExifIfdPackage.CfaPattern property Gets or sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. ```csharp public byte[] CfaPattern { get; set; } ``` ##### Property Value The color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. ### UserComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exififdpackage/usercomment.md #### ExifIfdPackage.UserComment property Gets or sets the user comment. ```csharp public string UserComment { get; set; } ``` ##### Property Value The user comment. ### ExifOrientation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exiforientation.md #### ExifOrientation enumeration Exif image orientation. ```csharp public enum ExifOrientation ``` ##### Values | Name | Value | Description | | --- | --- | --- | | TopLeft | `1` | Top left. Default orientation. | | TopRight | `2` | Top right. Horizontally reversed. | | BottomRight | `3` | Bottom right. Rotated by 180 degrees. | | BottomLeft | `4` | Bottom left. Rotated by 180 degrees and then horizontally reversed. | | LeftTop | `5` | Left top. Rotated by 90 degrees counterclockwise and then horizontally reversed. | | RightTop | `6` | Right top. Rotated by 90 degrees clockwise. | | RightBottom | `7` | Right bottom. Rotated by 90 degrees clockwise and then horizontally reversed. | | LeftBottom | `8` | Left bottom. Rotated by 90 degrees counterclockwise. | ### ExifPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage.md #### ExifPackage class Represents an EXIF metadata package (Exchangeable Image File Format). ```csharp public class ExifPackage : ExifDictionaryBasePackage ``` #### Constructors | Name | Description | | --- | --- | | ExifPackage() | Initializes a new instance of the `ExifPackage` class. | #### Properties | Name | Description | | --- | --- | | Artist { get; set; } | Gets or sets the name of the camera owner, photographer or image creator. | | Copyright { get; set; } | Gets or sets the copyright notice. | | Count { get; } | Gets the number of metadata properties. | | DateTime { get; set; } | Gets or sets the date and time of image creation. In the EXIF standard, it is the date and time the file was changed. | | ExifIfdPackage { get; } | Gets the EXIF IFD data. | | GpsPackage { get; } | Gets the GPS data. | | ImageDescription { get; set; } | Gets or sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. | | ImageLength { get; set; } | Gets or sets the number of rows of image data. | | ImageWidth { get; set; } | Gets or sets the number of columns of image data, equal to the number of pixels per row. | | Item { get; } | Gets the TIFF tag with the specified id. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | Make { get; set; } | Gets or sets the manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. | | MetadataType { get; } | Gets the metadata type. | | Model { get; set; } | Gets or sets the model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. | | Orientation { get; set; } | Gets or sets the orientation. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Software { get; set; } | Gets or sets the name and version of the software or firmware of the camera or image input device used to generate the image. | | Thumbnail { get; } | Gets the image thumbnail represented as an array of bytes. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all TIFF tags stored in the package. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(TiffTagID) | Removes the property with the specified id. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(TiffTag) | Adds or replaces the specified tag. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample demonstrates how to update common EXIF properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputJpeg)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null) { // Set the EXIF package if it's missing if (root.ExifPackage == null) { root.ExifPackage = new ExifPackage(); } root.ExifPackage.Copyright = "Copyright (C) 2011-2026 GroupDocs. All Rights Reserved."; root.ExifPackage.ImageDescription = "test image"; root.ExifPackage.Software = "GroupDocs.Metadata"; // ... root.ExifPackage.ExifIfdPackage.BodySerialNumber = "test"; root.ExifPackage.ExifIfdPackage.CameraOwnerName = "GroupDocs"; root.ExifPackage.ExifIfdPackage.UserComment = "test comment"; // ... metadata.Save(Constants.OutputJpeg); } } ``` ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/artist.md #### ExifPackage.Artist property Gets or sets the name of the camera owner, photographer or image creator. ```csharp public string Artist { get; set; } ``` ##### Property Value The name of the camera owner, photographer or image creator. ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/copyright.md #### ExifPackage.Copyright property Gets or sets the copyright notice. ```csharp public string Copyright { get; set; } ``` ##### Property Value The copyright notice. ### DateTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/datetime.md #### ExifPackage.DateTime property Gets or sets the date and time of image creation. In the EXIF standard, it is the date and time the file was changed. ```csharp public string DateTime { get; set; } ``` ##### Property Value The date and time of image creation. ### ExifIfdPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/exififdpackage.md #### ExifPackage.ExifIfdPackage property Gets the EXIF IFD data. ```csharp public ExifIfdPackage ExifIfdPackage { get; } ``` ##### Property Value The EXIF IFD data. ### ExifPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/exifpackage.md #### ExifPackage constructor Initializes a new instance of the `ExifPackage` class. ```csharp public ExifPackage() ``` ### GpsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/gpspackage.md #### ExifPackage.GpsPackage property Gets the GPS data. ```csharp public ExifGpsPackage GpsPackage { get; } ``` ##### Property Value The GPS data. ### ImageDescription Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/imagedescription.md #### ExifPackage.ImageDescription property Gets or sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. ```csharp public string ImageDescription { get; set; } ``` ##### Property Value The image description. ### ImageLength Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/imagelength.md #### ExifPackage.ImageLength property Gets or sets the number of rows of image data. ```csharp public int ImageLength { get; set; } ``` ##### Property Value The number of rows of image data. ### ImageWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/imagewidth.md #### ExifPackage.ImageWidth property Gets or sets the number of columns of image data, equal to the number of pixels per row. ```csharp public int ImageWidth { get; set; } ``` ##### Property Value The number of columns of image data, equal to the number of pixels per row. ### Make Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/make.md #### ExifPackage.Make property Gets or sets the manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. ```csharp public string Make { get; set; } ``` ##### Property Value The manufacturer of the recording equipment. ### Model Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/model.md #### ExifPackage.Model property Gets or sets the model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. ```csharp public string Model { get; set; } ``` ##### Property Value The model name or model number of the equipment. ### Orientation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/orientation.md #### ExifPackage.Orientation property Gets or sets the orientation. ```csharp public ExifOrientation Orientation { get; set; } ``` ##### Property Value The orientation. ### Software Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/software.md #### ExifPackage.Software property Gets or sets the name and version of the software or firmware of the camera or image input device used to generate the image. ```csharp public string Software { get; set; } ``` ##### Property Value The name and version of the software or firmware of the camera or image input device used to generate the image. ### Thumbnail Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/exifpackage/thumbnail.md #### ExifPackage.Thumbnail property Gets the image thumbnail represented as an array of bytes. ```csharp public byte[] Thumbnail { get; } ``` ##### Property Value The image thumbnail represented as an array of bytes. ##### Remarks This feature is not available in trial mode. ### IExif Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/iexif.md #### IExif interface Defines base operations intended to work with EXIF metadata. ```csharp public interface IExif ``` #### Properties | Name | Description | | --- | --- | | ExifPackage { get; set; } | Gets or sets the EXIF metadata package associated with the file. | ##### Examples This code sample demonstrates how to extract basic EXIF metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.TiffWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null && root.ExifPackage != null) { Console.WriteLine(root.ExifPackage.Artist); Console.WriteLine(root.ExifPackage.Copyright); Console.WriteLine(root.ExifPackage.ImageDescription); Console.WriteLine(root.ExifPackage.Make); Console.WriteLine(root.ExifPackage.Model); Console.WriteLine(root.ExifPackage.Software); Console.WriteLine(root.ExifPackage.ImageWidth); Console.WriteLine(root.ExifPackage.ImageLength); // ... Console.WriteLine(root.ExifPackage.ExifIfdPackage.BodySerialNumber); Console.WriteLine(root.ExifPackage.ExifIfdPackage.CameraOwnerName); Console.WriteLine(root.ExifPackage.ExifIfdPackage.UserComment); // ... Console.WriteLine(root.ExifPackage.GpsPackage.Altitude); Console.WriteLine(root.ExifPackage.GpsPackage.LatitudeRef); Console.WriteLine(root.ExifPackage.GpsPackage.LongitudeRef); // ... } } ``` ### ExifPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.exif/iexif/exifpackage.md #### IExif.ExifPackage property Gets or sets the EXIF metadata package associated with the file. ```csharp public ExifPackage ExifPackage { get; set; } ``` ##### Property Value The EXIF metadata package associated with the file. ##### Examples This code sample shows how to remove EXIF metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.JpegWithExif)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null) { root.ExifPackage = null; metadata.Save(Constants.OutputJpeg); } } ``` ### GroupDocs.Metadata.Standards.Iptc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc.md The namespace contains classes allowing users to work with IPTC metadata. #### Classes | Class | Description | | --- | --- | | IptcApplicationRecord | Represents an IPTC Application Record. | | IptcDataSet | Represents an IPTC DataSet (metadata property). | | IptcEnvelopeRecord | Represents an IPTC Envelope Record. | | IptcRecord | Represents an IPTC record. | | IptcRecordSet | Represents a collection of IPTC records. | #### Interfaces | Interface | Description | | --- | --- | | IIptc | Represents base operations intended to work with IPTC metadata. Please find more information at [http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council](http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council). | #### Enumeration | Enumeration | Description | | --- | --- | | IptcApplicationRecordDataSet | Defines IPTC Application Record dataSet numbers. | | IptcEnvelopeRecordDataSet | Defines IPTC Envelope Record dataSet numbers. | | IptcRecordType | Defines IPTC record types. | ### IIptc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iiptc.md #### IIptc interface Represents base operations intended to work with IPTC metadata. Please find more information at [http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council](http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council). ```csharp public interface IIptc ``` #### Properties | Name | Description | | --- | --- | | IptcPackage { get; set; } | Gets or sets the IPTC metadata package associated with the file. | ##### Examples This example shows how to read basic IPTC metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.JpegWithIptc)) { IIptc root = metadata.GetRootPackage() as IIptc; if (root != null && root.IptcPackage != null) { if (root.IptcPackage.EnvelopeRecord != null) { Console.WriteLine(root.IptcPackage.EnvelopeRecord.DateSent); Console.WriteLine(root.IptcPackage.EnvelopeRecord.Destination); Console.WriteLine(root.IptcPackage.EnvelopeRecord.FileFormat); Console.WriteLine(root.IptcPackage.EnvelopeRecord.FileFormatVersion); // ... } if (root.IptcPackage.ApplicationRecord != null) { Console.WriteLine(root.IptcPackage.ApplicationRecord.Headline); Console.WriteLine(root.IptcPackage.ApplicationRecord.ByLine); Console.WriteLine(root.IptcPackage.ApplicationRecord.ByLineTitle); Console.WriteLine(root.IptcPackage.ApplicationRecord.CaptionAbstract); Console.WriteLine(root.IptcPackage.ApplicationRecord.City); Console.WriteLine(root.IptcPackage.ApplicationRecord.DateCreated); Console.WriteLine(root.IptcPackage.ApplicationRecord.ReleaseDate); // ... } } } ``` ### IptcPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iiptc/iptcpackage.md #### IIptc.IptcPackage property Gets or sets the IPTC metadata package associated with the file. ```csharp public IptcRecordSet IptcPackage { get; set; } ``` ##### Property Value The IPTC metadata package associated with the file. ##### Examples This code sample shows how to remove IPTC metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.JpegWithIptc)) { IIptc root = metadata.GetRootPackage() as IIptc; if (root != null) { root.IptcPackage = null; metadata.Save(Constants.OutputJpeg); } } ``` ### IptcApplicationRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord.md #### IptcApplicationRecord class Represents an IPTC Application Record. ```csharp public sealed class IptcApplicationRecord : IptcRecord ``` #### Constructors | Name | Description | | --- | --- | | IptcApplicationRecord() | Initializes a new instance of the `IptcApplicationRecord` class. | #### Properties | Name | Description | | --- | --- | | AllKeywords { get; set; } | Gets or sets the keywords. | | ByLine { get; set; } | Gets or sets the name of the creator of the object, e.g. writer, photographer or graphic artist. | | ByLines { get; set; } | Gets or sets the names of the creators of the object, e.g. writer, photographer or graphic artist. | | ByLineTitle { get; set; } | Gets or sets the title of the creator or creators of the object. | | ByLineTitles { get; set; } | Gets or sets the titles of the creator or creators of the object. | | CaptionAbstract { get; set; } | Gets or sets a textual description of the object, particularly used where the object is not text. | | City { get; set; } | Gets or sets the city. | | Contact { get; set; } | Gets or sets information about the person or organisation which can provide further background information on the object. | | Contacts { get; set; } | Gets or sets information about the person or organisation which can provide further background information on the object. | | ContentLocationCode { get; set; } | Gets or sets the content location code. | | ContentLocationCodes { get; set; } | Gets or sets the content location codes. | | ContentLocationName { get; set; } | Gets or sets the content location name. | | ContentLocationNames { get; set; } | Gets or sets the content location names. | | CopyrightNotice { get; set; } | Gets or sets the copyright notice. | | Count { get; } | Gets the number of metadata properties. | | Credit { get; set; } | Gets or sets information about the provider of the object, not necessarily the owner/creator. | | DateCreated { get; set; } | Gets or sets the date the intellectual content of the object was created. | | Headline { get; set; } | Gets or sets a publishable entry providing a synopsis of the contents of the object. | | Item { get; } | Gets the `IptcDataSet` with the specified number. (3 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets the keywords. | | MetadataType { get; } | Gets the metadata type. | | ProgramVersion { get; set; } | Gets or sets the program version. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RecordNumber { get; } | Gets the record number. | | ReferenceDate { get; set; } | Gets or sets the date of a prior envelope to which the current object refers. | | ReferenceDates { get; } | Gets the dates of a prior envelope to which the current object refers. | | ReleaseDate { get; set; } | Gets or sets the release date. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AllKeywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/allkeywords.md #### IptcApplicationRecord.AllKeywords property Gets or sets the keywords. ```csharp public string[] AllKeywords { get; set; } ``` ##### Property Value The keywords. ### ByLine Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/byline.md #### IptcApplicationRecord.ByLine property Gets or sets the name of the creator of the object, e.g. writer, photographer or graphic artist. ```csharp public string ByLine { get; set; } ``` ##### Property Value The name of the creator of the object, e.g. writer, photographer or graphic artist. ### ByLines Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/bylines.md #### IptcApplicationRecord.ByLines property Gets or sets the names of the creators of the object, e.g. writer, photographer or graphic artist. ```csharp public string[] ByLines { get; set; } ``` ##### Property Value The names of the creators of the object, e.g. writer, photographer or graphic artist. ### ByLineTitle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/bylinetitle.md #### IptcApplicationRecord.ByLineTitle property Gets or sets the title of the creator or creators of the object. ```csharp public string ByLineTitle { get; set; } ``` ##### Property Value The title of the creator or creators of the object. ### ByLineTitles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/bylinetitles.md #### IptcApplicationRecord.ByLineTitles property Gets or sets the titles of the creator or creators of the object. ```csharp public string[] ByLineTitles { get; set; } ``` ##### Property Value The titles of the creator or creators of the object. ### CaptionAbstract Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/captionabstract.md #### IptcApplicationRecord.CaptionAbstract property Gets or sets a textual description of the object, particularly used where the object is not text. ```csharp public string CaptionAbstract { get; set; } ``` ##### Property Value TheA textual description of the object, particularly used where the object is not text. ### City Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/city.md #### IptcApplicationRecord.City property Gets or sets the city. ```csharp public string City { get; set; } ``` ##### Property Value The city. ### Contact Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contact.md #### IptcApplicationRecord.Contact property Gets or sets information about the person or organisation which can provide further background information on the object. ```csharp public string Contact { get; set; } ``` ##### Property Value The information about the person or organisation which can provide further background information on the object. ### Contacts Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contacts.md #### IptcApplicationRecord.Contacts property Gets or sets information about the person or organisation which can provide further background information on the object. ```csharp public string[] Contacts { get; set; } ``` ##### Property Value The information about the person or organisation which can provide further background information on the object. ### ContentLocationCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contentlocationcode.md #### IptcApplicationRecord.ContentLocationCode property Gets or sets the content location code. ```csharp public string ContentLocationCode { get; set; } ``` ##### Property Value The content location code. ### ContentLocationCodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contentlocationcodes.md #### IptcApplicationRecord.ContentLocationCodes property Gets or sets the content location codes. ```csharp public string[] ContentLocationCodes { get; set; } ``` ##### Property Value The content location codes. ### ContentLocationName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contentlocationname.md #### IptcApplicationRecord.ContentLocationName property Gets or sets the content location name. ```csharp public string ContentLocationName { get; set; } ``` ##### Property Value The name of the content location. ### ContentLocationNames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contentlocationnames.md #### IptcApplicationRecord.ContentLocationNames property Gets or sets the content location names. ```csharp public string[] ContentLocationNames { get; set; } ``` ##### Property Value The name of the content locations. ### CopyrightNotice Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/copyrightnotice.md #### IptcApplicationRecord.CopyrightNotice property Gets or sets the copyright notice. ```csharp public string CopyrightNotice { get; set; } ``` ##### Property Value The copyright notice. ### Credit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/credit.md #### IptcApplicationRecord.Credit property Gets or sets information about the provider of the object, not necessarily the owner/creator. ```csharp public string Credit { get; set; } ``` ##### Property Value The information about the provider of the object, not necessarily the owner/creator. ### DateCreated Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/datecreated.md #### IptcApplicationRecord.DateCreated property Gets or sets the date the intellectual content of the object was created. ```csharp public DateTime? DateCreated { get; set; } ``` ##### Property Value The date the intellectual content of the object was created. ### Headline Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/headline.md #### IptcApplicationRecord.Headline property Gets or sets a publishable entry providing a synopsis of the contents of the object. ```csharp public string Headline { get; set; } ``` ##### Property Value A publishable entry providing a synopsis of the contents of the object. ### IptcApplicationRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/iptcapplicationrecord.md #### IptcApplicationRecord constructor Initializes a new instance of the `IptcApplicationRecord` class. ```csharp public IptcApplicationRecord() ``` ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/item.md #### IptcApplicationRecord indexer Gets the `IptcDataSet` with the specified number. ```csharp public IptcDataSet this[IptcApplicationRecordDataSet dataSetNumber] { get; } ``` | Parameter | Description | | --- | --- | | dataSetNumber | The dataSet number. | ##### Return Value The `IptcDataSet` with the specified number. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/keywords.md #### IptcApplicationRecord.Keywords property Gets or sets the keywords. ```csharp public string Keywords { get; set; } ``` ##### Property Value The keywords. ### ProgramVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/programversion.md #### IptcApplicationRecord.ProgramVersion property Gets or sets the program version. ```csharp public string ProgramVersion { get; set; } ``` ##### Property Value The program version. ### ReferenceDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/referencedate.md #### IptcApplicationRecord.ReferenceDate property Gets or sets the date of a prior envelope to which the current object refers. ```csharp public DateTime? ReferenceDate { get; set; } ``` ##### Property Value The date of a prior envelope to which the current object refers. ### ReferenceDates Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/referencedates.md #### IptcApplicationRecord.ReferenceDates property Gets the dates of a prior envelope to which the current object refers. ```csharp public DateTime[] ReferenceDates { get; } ``` ##### Property Value The dates of a prior envelope to which the current object refers. ### ReleaseDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/releasedate.md #### IptcApplicationRecord.ReleaseDate property Gets or sets the release date. ```csharp public DateTime? ReleaseDate { get; set; } ``` ##### Property Value The release date. ### IptcApplicationRecordDataSet Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcapplicationrecorddataset.md #### IptcApplicationRecordDataSet enumeration Defines IPTC Application Record dataSet numbers. ```csharp public enum IptcApplicationRecordDataSet ``` ##### Values | Name | Value | Description | | --- | --- | --- | | RecordVersion | `0` | Represents the record version. Binary. Always 2 in JPEGs. | | ObjectTypeReference | `3` | Object type reference. Used pattern: "/\d{2}:[\w\s]{0,64}?/". | | ObjectAttributeReference | `4` | The object attribute reference. | | ObjectName | `5` | Used as a shorthand reference for the object. | | EditStatus | `7` | Status of the objectdata, according to the practice of the provider. | | EditorialUpdate | `8` | Indicates the type of update that this object provides to a previous object. | | Urgency | `10` | Specifies the editorial urgency of content and not necessarily the envelope handling priority (see 1:60, Envelope Priority). | | SubjectReference | `12` | The subject reference. | | Category | `15` | Identifies the subject of the objectdata in the opinion of the provider. | | SupplementalCategory | `20` | Supplemental categories further refine the subject of an objectdata. Only a single supplemental category may be contained in each DataSet. A supplemental category may include any of the recognised categories as used in 2:15. | | FixtureIdentifier | `22` | The fixture identifier. | | Keywords | `25` | Used to indicate specific information retrieval words. Each keyword uses a single Keywords DataSet. Multiple keywords use multiple Keywords DataSets. | | ContentLocationCode | `26` | Indicates the code of a country/geographical location referenced by the content of the object. | | ContentLocationName | `27` | Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. | | ReleaseDate | `30` | Designates in the form CCYYMMDD the earliest date the provider intends the object to be used. Follows ISO 8601 standard. | | ReleaseTime | `35` | Designates in the form HHMMSS±HHMM the earliest time the provider intends the object to be used. Follows ISO 8601 standard. | | ExpirationDate | `37` | Designates in the form CCYYMMDD the latest date the provider or owner intends the objectdata to be used. Follows ISO 8601 standard. | | SpecialInstructions | `40` | Other editorial instructions concerning the use of the objectdata, such as embargoes and warnings. | | ActionAdvised | `42` | Indicates the type of action that this object provides to a previous object. | | ReferenceService | `45` | Identifies the Service Identifier of a prior envelope to which the current object refers. | | ReferenceDate | `47` | Identifies the date of a prior envelope to which the current object refers. | | ReferenceNumber | `50` | Identifies the Envelope Number of a prior envelope to which the current object refers. | | DateCreated | `55` | Represented in the form CCYYMMDD to designate the date the intellectual content of the objectdata was created rather than the date of the creation of the physical representation. | | TimeCreated | `60` | Represented in the form HHMMSS±HHMM to designate the time the intellectual content of the objectdata current source material was created rather than the creation of the physical representation. | | DigitalCreationDate | `62` | Represented in the form CCYYMMDD to designate the date the digital representation of the objectdata was created. | | DigitalCreationTime | `63` | Represented in the form HHMMSS±HHMM to designate the time the digital representation of the objectdata was created. | | OriginatingProgram | `65` | Identifies the type of program used to originate the objectdata. | | ProgramVersion | `70` | Used to identify the version of the program mentioned in 2:65. DataSet 2:70 is invalid if 2:65 is not present. | | ObjectCycle | `75` | Consisting of an alphabetic character. Where: 'a' = morning, 'p' = evening, 'b' = both. | | Byline | `80` | Contains name of the creator of the objectdata, e.g. writer, photographer or graphic artist. | | BylineTitle | `85` | A by-line title is the title of the creator or creators of an object data. | | City | `90` | Identifies city of objectdata origin according to guidelines established by the provider. | | SubLocation | `92` | Identifies the location within a city from which the objectdata originates, according to guidelines established by the provider. | | ProvinceState | `95` | Identifies Province/State of origin according to guidelines established by the provider. | | PrimaryLocationCode | `100` | Indicates the code of the country/primary location where the intellectual property of the objectdata was created, e.g. a photo was taken, an event occurred. | | PrimaryLocationName | `101` | Provides full, publishable, name of the country/primary location where the intellectual property of the objectdata was created, according to guidelines of the provider. | | OriginalTransmissionReference | `103` | A code representing the location of original transmission according to practices of the provider. | | Headline | `105` | A publishable entry providing a synopsis of the contents of the objectdata. | | Credit | `110` | Identifies the provider of the objectdata, not necessarily the owner/creator. | | Source | `115` | The name of a person or party who has a role in the content supply chain. This could be an agency, a member of an agency, an individual or a combination. | | CopyrightNotice | `116` | Contains any necessary copyright notice. | | Contact | `118` | Identifies the person or organization which can provide further background information on the object data. | | CaptionAbstract | `120` | A textual description of the objectdata, particularly used where the object is not text. | | WriterEditor | `122` | Identification of the name of the person involved in the writing, editing or correcting the objectdata or caption/abstract. | | RasterizedCaption | `125` | Image width 460 pixels and image height 128 pixels. Scanning direction bottom to top, left to right. | | ImageType | `130` | The numeric characters 1 to 4 indicate the number of components in an image, in single or multiple envelopes. | | ImageOrientation | `131` | Indicates the layout of the image area. | | LanguageIdentifier | `135` | Describes the major national language of the object, according to the 2-letter codes of ISO 639:1988. | | AudioType | `150` | The audio type. | | AudioSamplingRate | `151` | Sampling rate numeric characters, representing the sampling rate in hertz (Hz). | | AudioSamplingResolution | `152` | The number of bits in each audio sample. | | AudioDuration | `153` | Duration Designates in the form HHMMSS the running time of an audio object data when played back at the speed at which it was recorded. | | AudioOutcue | `154` | Identifies the content of the end of an audio objectdata, according to guidelines established by the provider. | | ObjDataPreviewFileFormat | `200` | A binary number representing the file format of the ObjectData Preview. | | ObjDataPreviewFileFormatVer | `201` | A binary number representing the particular version of the ObjectData Preview File Format specified in 2:200. | | ObjDataPreviewData | `202` | The object data preview. | ### IptcDataSet Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcdataset.md #### IptcDataSet class Represents an IPTC DataSet (metadata property). ```csharp public sealed class IptcDataSet : MetadataProperty ``` #### Constructors | Name | Description | | --- | --- | | IptcDataSet(byte, byte, byte[]) | Initializes a new instance of the `IptcDataSet` class. | | IptcDataSet(byte, byte, DateTime) | Initializes a new instance of the `IptcDataSet` class. | | IptcDataSet(byte, byte, int) | Initializes a new instance of the `IptcDataSet` class. | | IptcDataSet(byte, byte, string) | Initializes a new instance of the `IptcDataSet` class. | #### Properties | Name | Description | | --- | --- | | AlternativeName { get; } | Gets the alternative name of the dataSet. | | DataSetNumber { get; } | Gets the dataSet number. | | Descriptor { get; } | Gets the descriptor associated with the metadata property. | | InterpretedValue { get; } | Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. | | Name { get; } | Gets the property name. | | RecordNumber { get; } | Gets the record number. | | Tags { get; } | Gets a collection of tags associated with the property. | | Value { get; } | Gets the property value. | ### AlternativeName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcdataset/alternativename.md #### IptcDataSet.AlternativeName property Gets the alternative name of the dataSet. ```csharp public string AlternativeName { get; } ``` ##### Property Value The alternative name of the dataSet. ### DataSetNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcdataset/datasetnumber.md #### IptcDataSet.DataSetNumber property Gets the dataSet number. ```csharp public byte DataSetNumber { get; } ``` ##### Property Value The dataSet number. ### IptcDataSet Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcdataset/iptcdataset.md #### IptcDataSet(byte, byte, byte[]) Initializes a new instance of the `IptcDataSet` class. ```csharp public IptcDataSet(byte recordNumber, byte dataSetNumber, byte[] value) ``` | Parameter | Type | Description | | --- | --- | --- | | recordNumber | Byte | The record number. | | dataSetNumber | Byte | The dataSet number. | | value | Byte[] | A byte array value. | #### IptcDataSet(byte, byte, string) Initializes a new instance of the `IptcDataSet` class. ```csharp public IptcDataSet(byte recordNumber, byte dataSetNumber, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | recordNumber | Byte | The record number. | | dataSetNumber | Byte | The dataSet number. | | value | String | A string value. | #### IptcDataSet(byte, byte, int) Initializes a new instance of the `IptcDataSet` class. ```csharp public IptcDataSet(byte recordNumber, byte dataSetNumber, int value) ``` | Parameter | Type | Description | | --- | --- | --- | | recordNumber | Byte | The record number. | | dataSetNumber | Byte | The dataSet number. | | value | Int32 | An integer value. | #### IptcDataSet(byte, byte, DateTime) Initializes a new instance of the `IptcDataSet` class. ```csharp public IptcDataSet(byte recordNumber, byte dataSetNumber, DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | recordNumber | Byte | The record number. | | dataSetNumber | Byte | The dataSet number. | | value | DateTime | A date value. | ### RecordNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcdataset/recordnumber.md #### IptcDataSet.RecordNumber property Gets the record number. ```csharp public byte RecordNumber { get; } ``` ##### Property Value The record number. ### IptcEnvelopeRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord.md #### IptcEnvelopeRecord class Represents an IPTC Envelope Record. ```csharp public sealed class IptcEnvelopeRecord : IptcRecord ``` #### Constructors | Name | Description | | --- | --- | | IptcEnvelopeRecord() | Initializes a new instance of the `IptcEnvelopeRecord` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DateSent { get; set; } | Gets or sets the date the service sent the material. | | Destination { get; set; } | Gets or sets the destination. | | Destinations { get; set; } | Gets or sets an array of destinations. | | FileFormat { get; set; } | Gets or sets the file format. | | FileFormatVersion { get; set; } | Gets or sets the file format version. A number representing the particular version of the File Format specified in `FileFormat`. | | Item { get; } | Gets the `IptcDataSet` with the specified number. (3 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | ModelVersion { get; set; } | Gets or sets a number identifying the version of the information. | | ProductID { get; set; } | Gets or sets the product identifier. | | ProductIds { get; set; } | Gets or sets the product identifiers. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RecordNumber { get; } | Gets the record number. | | ServiceIdentifier { get; set; } | Gets or sets the service identifier. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DateSent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/datesent.md #### IptcEnvelopeRecord.DateSent property Gets or sets the date the service sent the material. ```csharp public DateTime? DateSent { get; set; } ``` ##### Property Value The date the service sent the material. ### Destination Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/destination.md #### IptcEnvelopeRecord.Destination property Gets or sets the destination. ```csharp public string Destination { get; set; } ``` ##### Property Value The destination. ### Destinations Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/destinations.md #### IptcEnvelopeRecord.Destinations property Gets or sets an array of destinations. ```csharp public string[] Destinations { get; set; } ``` ##### Property Value The destinations. ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/fileformat.md #### IptcEnvelopeRecord.FileFormat property Gets or sets the file format. ```csharp public ushort? FileFormat { get; set; } ``` ##### Property Value The file format. ### FileFormatVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/fileformatversion.md #### IptcEnvelopeRecord.FileFormatVersion property Gets or sets the file format version. A number representing the particular version of the File Format specified in `FileFormat`. ```csharp public ushort? FileFormatVersion { get; set; } ``` ##### Property Value The file format version. ### IptcEnvelopeRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/iptcenveloperecord.md #### IptcEnvelopeRecord constructor Initializes a new instance of the `IptcEnvelopeRecord` class. ```csharp public IptcEnvelopeRecord() ``` ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/item.md #### IptcEnvelopeRecord indexer Gets the `IptcDataSet` with the specified number. ```csharp public IptcDataSet this[IptcEnvelopeRecordDataSet dataSetNumber] { get; } ``` | Parameter | Description | | --- | --- | | dataSetNumber | The dataSet number. | ##### Return Value The `IptcDataSet` with the specified number. ### ModelVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/modelversion.md #### IptcEnvelopeRecord.ModelVersion property Gets or sets a number identifying the version of the information. ```csharp public ushort? ModelVersion { get; set; } ``` ##### Property Value The model version. ### ProductID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/productid.md #### IptcEnvelopeRecord.ProductID property Gets or sets the product identifier. ```csharp public string ProductID { get; set; } ``` ##### Property Value The product identifier. ### ProductIds Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/productids.md #### IptcEnvelopeRecord.ProductIds property Gets or sets the product identifiers. ```csharp public string[] ProductIds { get; set; } ``` ##### Property Value The product identifiers. ### ServiceIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecord/serviceidentifier.md #### IptcEnvelopeRecord.ServiceIdentifier property Gets or sets the service identifier. ```csharp public string ServiceIdentifier { get; set; } ``` ##### Property Value The service identifier. ### IptcEnvelopeRecordDataSet Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcenveloperecorddataset.md #### IptcEnvelopeRecordDataSet enumeration Defines IPTC Envelope Record dataSet numbers. ```csharp public enum IptcEnvelopeRecordDataSet ``` ##### Values | Name | Value | Description | | --- | --- | --- | | ModelVersion | `0` | A binary number identifying the version of the Information Interchange Model, Part I, utilised by the provider. Version numbers are assigned by IPTC and NAA. The version number of this record is four (4). | | Destination | `5` | Optional, repeatable, maximum 1024 octets, consisting of sequentially contiguous graphic characters. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. | | FileFormat | `20` | File format. | | FileFormatVersion | `22` | Mandatory, not repeatable, two octets. A binary number representing the particular version of the File Format specified in 1:20. A list of File Formats, including version cross references, is included as Appendix A. | | ServiceIdentifier | `30` | Mandatory, not repeatable. Up to 10 octets, consisting of graphic characters. Identifies the provider and product. | | EnvelopeNumber | `40` | Mandatory, not repeatable, eight octets, consisting of numeric characters. The characters form a number that will be unique for the date specified in 1:70 and for the Service Identifier specified in 1:30. If identical envelope numbers appear with the same date and with the same Service Identifier, records 2-9 must be unchanged from the original. This is not intended to be a sequential serial number reception check. | | ProductID | `50` | Optional, repeatable. Up to 32 octets, consisting of graphic characters. Allows a provider to identify subsets of its overall service. Used to provide receiving organization data on which to select, route, or otherwise handle data. | | EnvelopePriority | `60` | Optional, not repeatable. A single octet, consisting of a numeric character. Specifies the envelope handling priority and not the editorial urgency (see 2:10, Urgency). '1' indicates the most urgent, '5' the normal urgency, and '8' the least urgent copy. The numeral '9' indicates a User Defined Priority. The numeral '0' is reserved for future use. | | DateSent | `70` | Mandatory, not repeatable. Eight octets, consisting of numeric characters. Uses the format CCYYMMDD (century, year, month, day) as defined in ISO 8601 to indicate year, month and day the service sent the material. | | TimeSent | `80` | Uses the format HHMMSS±HHMM where HHMMSS refers to local hour, minute and seconds and HHMM refers to hours and minutes ahead (+) or behind (-) Universal Coordinated Time as described in ISO 8601. This is the time the service sent the material. | | CodedCharacterSet | `90` | Optional, not repeatable, up to 32 octets, consisting of one or more control functions used for the announcement, invocation or designation of coded character sets. The control functions follow the ISO 2022 standard and may consist of the escape control character and one or more graphic characters. For more details see Appendix C, the IPTC-NAA Code Library. | | Uno | `100` | Invalid (eternal identifier). | | ArmIdentifier | `120` | The DataSet identifies the Abstract Relationship Method (ARM) which is described in a document registered by the originator of the ARM with the IPTC and NAA. | | ArmVersion | `122` | Binary number representing the particular version of the ARM specified in DataSet 1:120. | ### IptcRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecord.md #### IptcRecord class Represents an IPTC record. ```csharp public class IptcRecord : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `IptcDataSet` with the specified dataSet number. (2 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RecordNumber { get; } | Gets the record number. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecord/item.md #### IptcRecord indexer Gets the `IptcDataSet` with the specified dataSet number. ```csharp public IptcDataSet this[byte dataSetNumber] { get; } ``` | Parameter | Description | | --- | --- | | dataSetNumber | The IPTC dataSet number. | ##### Return Value The `IptcDataSet` with the specified dataSet number, if found; otherwise null. ### RecordNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecord/recordnumber.md #### IptcRecord.RecordNumber property Gets the record number. ```csharp public byte RecordNumber { get; } ``` ##### Property Value The record number. ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecord/tolist.md #### IptcRecord.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list that contains all IPTC dataSets from the package. ### IptcRecordSet Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset.md #### IptcRecordSet class Represents a collection of IPTC records. ```csharp public sealed class IptcRecordSet : CustomPackage ``` #### Constructors | Name | Description | | --- | --- | | IptcRecordSet() | Initializes a new instance of the `IptcRecordSet` class. | | IptcRecordSet(IptcDataSet[]) | Initializes a new instance of the `IptcRecordSet` class. | #### Properties | Name | Description | | --- | --- | | ApplicationRecord { get; set; } | Gets or sets the Application Record. | | Count { get; } | Gets the number of metadata properties. | | EnvelopeRecord { get; set; } | Gets or sets the Envelope Record. | | Item { get; } | Gets the `IptcRecord` with the specified number. (3 indexers) | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | Add(IptcDataSet) | Adds the specified dataSet to the appropriate record. The dataSet is considered as repeatable if a dataSet with the specified number already exists. | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all records from the collection. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | Remove(byte) | Removes the record with the specified record number. | | Remove(byte, byte) | Removes the dataSet with the specified record and dataSet number. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(IptcDataSet) | Adds or updates the specified dataSet in the appropriate record. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | ToDataSetList() | Creates a list of dataSets from the package. | | ToList() | Creates a list from the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This code sample shows hot to update basic IPTC metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.InputJpeg)) { IIptc root = metadata.GetRootPackage() as IIptc; if (root != null) { // Set the IPTC package if it's missing if (root.IptcPackage == null) { root.IptcPackage = new IptcRecordSet(); } if (root.IptcPackage.EnvelopeRecord == null) { root.IptcPackage.EnvelopeRecord = new IptcEnvelopeRecord(); } root.IptcPackage.EnvelopeRecord.DateSent = DateTime.Now; root.IptcPackage.EnvelopeRecord.ProductID = Guid.NewGuid().ToString(); // ... if (root.IptcPackage.ApplicationRecord == null) { root.IptcPackage.ApplicationRecord = new IptcApplicationRecord(); } root.IptcPackage.ApplicationRecord.ByLine = "GroupDocs"; root.IptcPackage.ApplicationRecord.Headline = "test"; root.IptcPackage.ApplicationRecord.ByLineTitle = "code sample"; root.IptcPackage.ApplicationRecord.ReleaseDate = DateTime.Today; // ... metadata.Save(Constants.OutputJpeg); } } ``` ### Add Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/add.md #### IptcRecordSet.Add method Adds the specified dataSet to the appropriate record. The dataSet is considered as repeatable if a dataSet with the specified number already exists. ```csharp public void Add(IptcDataSet dataSet) ``` | Parameter | Type | Description | | --- | --- | --- | | dataSet | IptcDataSet | The IPTC dataSet to add. | ### ApplicationRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/applicationrecord.md #### IptcRecordSet.ApplicationRecord property Gets or sets the Application Record. ```csharp public IptcApplicationRecord ApplicationRecord { get; set; } ``` ##### Property Value The Application Record. ### Clear Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/clear.md #### IptcRecordSet.Clear method Removes all records from the collection. ```csharp public void Clear() ``` ### EnvelopeRecord Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/enveloperecord.md #### IptcRecordSet.EnvelopeRecord property Gets or sets the Envelope Record. ```csharp public IptcEnvelopeRecord EnvelopeRecord { get; set; } ``` ##### Property Value The Envelope Record. ### IptcRecordSet Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/iptcrecordset.md #### IptcRecordSet() Initializes a new instance of the `IptcRecordSet` class. ```csharp public IptcRecordSet() ``` #### IptcRecordSet(IptcDataSet[]) Initializes a new instance of the `IptcRecordSet` class. ```csharp public IptcRecordSet(IptcDataSet[] dataSets) ``` | Parameter | Type | Description | | --- | --- | --- | | dataSets | IptcDataSet[] | An array of IPTC dataSets. | ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/item.md #### IptcRecordSet indexer (1 of 2) Gets the `IptcRecord` with the specified number. ```csharp public IptcRecord this[byte recordNumber] { get; } ``` | Parameter | Description | | --- | --- | | recordNumber | The record number. | ##### Return Value The `IptcRecord` with the specified number, if found; otherwise null. #### IptcRecordSet indexer (2 of 2) Gets the `IptcDataSet` with the specified record and dataSet number. ```csharp public IptcDataSet this[byte recordNumber, byte dataSetNumber] { get; } ``` | Parameter | Description | | --- | --- | | recordNumber | The record number. | | dataSetNumber | The dataSet number. | ##### Return Value The `IptcDataSet` with the specified record and dataSet number. ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/remove.md #### Remove(byte, byte) Removes the dataSet with the specified record and dataSet number. ```csharp public bool Remove(byte recordNumber, byte dataSetNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | recordNumber | Byte | The record number. | | dataSetNumber | Byte | The dataSet number. | ##### Return Value True if the specified IPTC dataSet is found and removed; otherwise, false. #### Remove(byte) Removes the record with the specified record number. ```csharp public bool Remove(byte recordNumber) ``` | Parameter | Type | Description | | --- | --- | --- | | recordNumber | Byte | The record number. | ##### Return Value True if the specified IPTC record is found and removed; otherwise, false. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/set.md #### IptcRecordSet.Set method Adds or updates the specified dataSet in the appropriate record. ```csharp public void Set(IptcDataSet dataSet) ``` | Parameter | Type | Description | | --- | --- | --- | | dataSet | IptcDataSet | The IPTC dataSet to add/update. | ##### Examples This example shows how to add or update custom IPTC datasets in a file. ```csharp using (Metadata metadata = new Metadata(Constants.PsdWithIptc)) { IIptc root = metadata.GetRootPackage() as IIptc; if (root != null) { // Set the IPTC package if it's missing if (root.IptcPackage == null) { root.IptcPackage = new IptcRecordSet(); } // Add a know property using the DataSet API root.IptcPackage.Set(new IptcDataSet((byte) IptcRecordType.ApplicationRecord, (byte) IptcApplicationRecordDataSet.BylineTitle, "test code sample")); // Add a custom IPTC DataSet root.IptcPackage.Set(new IptcDataSet(255, 255, new byte[] { 1, 2, 3 })); metadata.Save(Constants.OutputPsd); } } ``` ### ToDataSetList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/todatasetlist.md #### IptcRecordSet.ToDataSetList method Creates a list of dataSets from the package. ```csharp public IReadOnlyList ToDataSetList() ``` ##### Return Value A list that contains all IPTC dataSets from the package. ##### Examples This example demonstrates how to read all IPTC IIM datasets from an IPTC metadata package. ```csharp using (Metadata metadata = new Metadata(Constants.PsdWithIptc)) { IIptc root = metadata.GetRootPackage() as IIptc; if (root != null && root.IptcPackage != null) { foreach (var dataSet in root.IptcPackage.ToDataSetList()) { Console.WriteLine(dataSet.RecordNumber); Console.WriteLine(dataSet.DataSetNumber); Console.WriteLine(dataSet.AlternativeName); Console.WriteLine(dataSet.Value); } } } ``` ### ToList Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordset/tolist.md #### IptcRecordSet.ToList method Creates a list from the package. ```csharp public IReadOnlyList ToList() ``` ##### Return Value A list that contains all IPTC records from the package. ### IptcRecordType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.iptc/iptcrecordtype.md #### IptcRecordType enumeration Defines IPTC record types. ```csharp public enum IptcRecordType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | EnvelopeRecord | `1` | Represents an Envelope Record. | | ApplicationRecord | `2` | Represents an Application Record. | ### GroupDocs.Metadata.Standards.Pkcs Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs.md The namespace provides functionality intended to work with digital signatures based on the syntax of PKCS #7, specified in RFC 5652. #### Classes | Class | Description | | --- | --- | | Cms | Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. CMS is based on the syntax of PKCS #7, specified in RFC 5652. Please see [https://tools.ietf.org/html/rfc5652](https://tools.ietf.org/html/rfc5652) for more information. | | CmsAttribute | Represents a CMS signer info attribute. | | CmsCertificate | Represents a CMS certificate. | | CmsEncapsulatedContent | Represents a signed content container, consisting of a content type identifier and the content itself. | | CmsPackage | Represents a CMS digital signature metadata package. | | CmsSigner | Represents CMS per-signer information. | | Oid | Represents an object identifier (OID). An identifier mechanism standardized by the International Telecommunications Union (ITU) and ISO/IEC for naming any object, concept, or "thing" with a globally unambiguous persistent name. | ### Cms Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cms.md #### Cms class Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. CMS is based on the syntax of PKCS #7, specified in RFC 5652. Please see [https://tools.ietf.org/html/rfc5652](https://tools.ietf.org/html/rfc5652) for more information. ```csharp public class Cms : DigitalSignature ``` #### Properties | Name | Description | | --- | --- | | CertificateRawData { get; } | Gets the certificate raw data. | | Certificates { get; } | Gets the collection of certificates. | | CertificateSubject { get; } | Gets the subject distinguished name from a certificate. | | Comments { get; } | Gets the signing purpose comment. | | Count { get; } | Gets the number of metadata properties. | | DigestAlgorithms { get; } | Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero. | | EncapsulatedContent { get; } | Gets the signed content, consisting of a content type identifier and the content itself. | | virtual IsValid { get; } | Gets a value indicating whether the signature is valid. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Signers { get; } | Gets the collection of per-signer information packages. | | override SignTime { get; } | Gets the time at which the signer (purportedly) performed the signing process. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Certificates Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cms/certificates.md #### Cms.Certificates property Gets the collection of certificates. ```csharp public CmsCertificate[] Certificates { get; } ``` ##### Property Value The collection of certificates. ##### Remarks It is intended that the set of certificates be sufficient to contain certification paths from a recognized "root" or "top-level certification authority" to all of the signers in the SignerInfo field. ### DigestAlgorithms Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cms/digestalgorithms.md #### Cms.DigestAlgorithms property Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero. ```csharp public Oid[] DigestAlgorithms { get; } ``` ##### Property Value The array of message-digest algorithm identifiers. ### EncapsulatedContent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cms/encapsulatedcontent.md #### Cms.EncapsulatedContent property Gets the signed content, consisting of a content type identifier and the content itself. ```csharp public CmsEncapsulatedContent EncapsulatedContent { get; } ``` ##### Property Value The signed content, consisting of a content type identifier and the content itself. ### Signers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cms/signers.md #### Cms.Signers property Gets the collection of per-signer information packages. ```csharp public CmsSigner[] Signers { get; } ``` ##### Property Value The collection of per-signer information packages. ##### Remarks There may be any number of elements in the collection, including zero. ### SignTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cms/signtime.md #### Cms.SignTime property Gets the time at which the signer (purportedly) performed the signing process. ```csharp public override DateTime SignTime { get; } ``` ##### Property Value The time at which the signer (purportedly) performed the signing process. ### CmsAttribute Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmsattribute.md #### CmsAttribute class Represents a CMS signer info attribute. ```csharp public class CmsAttribute : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Oid { get; } | Gets the attribute OID. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the attribute value represented as a string. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Oid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmsattribute/oid.md #### CmsAttribute.Oid property Gets the attribute OID. ```csharp public Oid Oid { get; } ``` ##### Property Value The attribute OID. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmsattribute/value.md #### CmsAttribute.Value property Gets the attribute value represented as a string. ```csharp public string Value { get; } ``` ##### Property Value The attribute value represented as a string. ### CmsCertificate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmscertificate.md #### CmsCertificate class Represents a CMS certificate. ```csharp public class CmsCertificate : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NotAfter { get; } | Gets the date in local time after which a certificate is no longer valid. | | NotBefore { get; } | Gets the date in local time on which a certificate becomes valid. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawData { get; } | Gets the raw data of this certificate. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### NotAfter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmscertificate/notafter.md #### CmsCertificate.NotAfter property Gets the date in local time after which a certificate is no longer valid. ```csharp public DateTime NotAfter { get; } ``` ##### Property Value The date in local time after which a certificate is no longer valid. ### NotBefore Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmscertificate/notbefore.md #### CmsCertificate.NotBefore property Gets the date in local time on which a certificate becomes valid. ```csharp public DateTime NotBefore { get; } ``` ##### Property Value The date in local time on which a certificate becomes valid. ### RawData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmscertificate/rawdata.md #### CmsCertificate.RawData property Gets the raw data of this certificate. ```csharp public byte[] RawData { get; } ``` ##### Property Value The raw data of this certificate. ### CmsEncapsulatedContent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent.md #### CmsEncapsulatedContent class Represents a signed content container, consisting of a content type identifier and the content itself. ```csharp public class CmsEncapsulatedContent : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | ContentRawData { get; } | Gets the raw data of content info. | | ContentType { get; } | Gets the object identifier uniquely specifies the content type. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ContentRawData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/contentrawdata.md #### CmsEncapsulatedContent.ContentRawData property Gets the raw data of content info. ```csharp public byte[] ContentRawData { get; } ``` ##### Property Value The raw data of content info. ### ContentType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/contenttype.md #### CmsEncapsulatedContent.ContentType property Gets the object identifier uniquely specifies the content type. ```csharp public Oid ContentType { get; } ``` ##### Property Value The object identifier uniquely specifies the content type. ### CmsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmspackage.md #### CmsPackage class Represents a CMS digital signature metadata package. ```csharp public sealed class CmsPackage : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Flags { get; } | Gets the digital signature flags. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Signatures { get; } | Gets an array of the signatures extracted from the file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Flags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmspackage/flags.md #### CmsPackage.Flags property Gets the digital signature flags. ```csharp public OpenTypeDigitalSignatureFlags? Flags { get; } ``` ##### Property Value The digital signature flags. ### Signatures Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmspackage/signatures.md #### CmsPackage.Signatures property Gets an array of the signatures extracted from the file. ```csharp public Cms[] Signatures { get; } ``` ##### Property Value An array of the signatures extracted from the file. ### CmsSigner Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner.md #### CmsSigner class Represents CMS per-signer information. ```csharp public class CmsSigner : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DigestAlgorithm { get; } | Gets the message digest algorithm, and any associated parameters, used by the signer. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SignatureAlgorithm { get; } | Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. | | SignatureValue { get; } | Gets the result of digital signature generation, using the message digest and the signer's private key. | | SignedAttributes { get; } | Gets the collection of attributes that are signed. | | SignerIdentifier { get; } | Gets the signer's certificate (and thereby the signer's public key) raw data. | | SigningTime { get; } | Gets the time at which the signer (purportedly) performed the signing process. | | UnsignedAttributes { get; } | Gets the collection of attributes that are not signed. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DigestAlgorithm Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner/digestalgorithm.md #### CmsSigner.DigestAlgorithm property Gets the message digest algorithm, and any associated parameters, used by the signer. ```csharp public Oid DigestAlgorithm { get; } ``` ##### Property Value The message digest algorithm, and any associated parameters, used by the signer. ### SignatureAlgorithm Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner/signaturealgorithm.md #### CmsSigner.SignatureAlgorithm property Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. ```csharp public Oid SignatureAlgorithm { get; } ``` ##### Property Value The signature algorithm, and any associated parameters, used by the signer to generate the digital signature. ### SignatureValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner/signaturevalue.md #### CmsSigner.SignatureValue property Gets the result of digital signature generation, using the message digest and the signer's private key. ```csharp public string SignatureValue { get; } ``` ##### Property Value The result of digital signature generation, using the message digest and the signer's private key. ### SignedAttributes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner/signedattributes.md #### CmsSigner.SignedAttributes property Gets the collection of attributes that are signed. ```csharp public CmsAttribute[] SignedAttributes { get; } ``` ##### Property Value The collection of attributes that are signed. ### SignerIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner/signeridentifier.md #### CmsSigner.SignerIdentifier property Gets the signer's certificate (and thereby the signer's public key) raw data. ```csharp public byte[] SignerIdentifier { get; } ``` ##### Property Value The signer's certificate (and thereby the signer's public key) raw data. ### SigningTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner/signingtime.md #### CmsSigner.SigningTime property Gets the time at which the signer (purportedly) performed the signing process. ```csharp public DateTime? SigningTime { get; } ``` ##### Property Value The time at which the signer (purportedly) performed the signing process. ### UnsignedAttributes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/cmssigner/unsignedattributes.md #### CmsSigner.UnsignedAttributes property Gets the collection of attributes that are not signed. ```csharp public CmsAttribute[] UnsignedAttributes { get; } ``` ##### Property Value The collection of attributes that are not signed. ### Oid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/oid.md #### Oid class Represents an object identifier (OID). An identifier mechanism standardized by the International Telecommunications Union (ITU) and ISO/IEC for naming any object, concept, or "thing" with a globally unambiguous persistent name. ```csharp public sealed class Oid : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | FriendlyName { get; } | Gets the friendly name. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Value { get; } | Gets the object identifier (OID) value. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### FriendlyName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/oid/friendlyname.md #### Oid.FriendlyName property Gets the friendly name. ```csharp public string FriendlyName { get; } ``` ##### Property Value The friendly name. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.pkcs/oid/value.md #### Oid.Value property Gets the object identifier (OID) value. ```csharp public string Value { get; } ``` ##### Property Value The object identifier (OID) value. ### GroupDocs.Metadata.Standards.Signing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.signing.md The namespace provides base functionality intended to work with digital signatures. #### Classes | Class | Description | | --- | --- | | DigitalSignature | Represents a digital signature used to sign a document. | ### DigitalSignature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.signing/digitalsignature.md #### DigitalSignature class Represents a digital signature used to sign a document. ```csharp public class DigitalSignature : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | CertificateRawData { get; } | Gets the certificate raw data. | | CertificateSubject { get; } | Gets the subject distinguished name from a certificate. | | Comments { get; } | Gets the signing purpose comment. | | Count { get; } | Gets the number of metadata properties. | | virtual IsValid { get; } | Gets a value indicating whether the signature is valid. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | virtual SignTime { get; } | Gets the time the document was signed. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CertificateRawData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.signing/digitalsignature/certificaterawdata.md #### DigitalSignature.CertificateRawData property Gets the certificate raw data. ```csharp public byte[] CertificateRawData { get; } ``` ##### Property Value The certificate raw data. ### CertificateSubject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.signing/digitalsignature/certificatesubject.md #### DigitalSignature.CertificateSubject property Gets the subject distinguished name from a certificate. ```csharp public string CertificateSubject { get; } ``` ##### Property Value The subject distinguished name from a certificate. ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.signing/digitalsignature/comments.md #### DigitalSignature.Comments property Gets the signing purpose comment. ```csharp public string Comments { get; } ``` ##### Property Value The signing purpose comment. ### IsValid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.signing/digitalsignature/isvalid.md #### DigitalSignature.IsValid property Gets a value indicating whether the signature is valid. ```csharp public virtual bool? IsValid { get; } ``` ##### Property Value True if the the signature is valid; otherwise, false. Null indicates that validation is unavailable for the signature. ### SignTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.signing/digitalsignature/signtime.md #### DigitalSignature.SignTime property Gets the time the document was signed. ```csharp public virtual DateTime SignTime { get; } ``` ##### Property Value The time the document was signed. ### GroupDocs.Metadata.Standards.Xmp.Schemes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes.md Contains the implementation of different XMP Schemes. #### Classes | Class | Description | | --- | --- | | XmpAudioChannelType | Represents audio channel type. | | XmpAudioSampleType | Represents Audio sample type in `XmpDynamicMediaPackage`. | | XmpBasicJobTicketPackage | Represents Basic Job-Ticket namespace. | | XmpBasicPackage | Represents the XMP basic namespace. | | XmpCameraRawPackage | Represents Camera Raw schema. | | XmpDublinCorePackage | Represents the Dublin Core scheme. | | XmpDynamicMediaPackage | Represents XMP Dynamic Media namespace. | | XmpIptcCorePackage | Represents the IPTC Core XMP package. | | XmpIptcExtensionPackage | Represents the IPTC Extension XMP package. | | XmpIptcIimPackage | Represents the IPTC-IIM XMP package. | | XmpMediaManagementPackage | Represents the XMP Media Management namespace. | | XmpPagedTextPackage | Represents the XMP Paged-Text package. | | XmpPdfPackage | Specifies properties used with Adobe PDF documents. | | XmpPhotoshopPackage | Represents Adobe Photoshop namespace. | | XmpRightsManagementPackage | Represents XMP Rights Management namespace. | | XmpTimeFormat | Represents time format in `XmpTimecode`. | | XmpWhiteBalance | Represents the White Balance setting in `XmpCameraRawPackage`. | #### Enumeration | Enumeration | Description | | --- | --- | | XmpCropUnit | Represent a unit for CropWidth and CropHeight in `XmpCameraRawPackage`. | | XmpPhotoshopColorMode | Represents a color mode in `XmpPhotoshopPackage`. | ### XmpAudioChannelType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype.md #### XmpAudioChannelType class Represents audio channel type. ```csharp public sealed class XmpAudioChannelType : XmpClosedChoice ``` #### Properties | Name | Description | | --- | --- | | static Audio16Channel { get; } | Gets 16 audio channel. | | static Audio51 { get; } | Gets 5.1 audio channel. | | static Audio71 { get; } | Gets 7.1 audio channel. | | static Mono { get; } | Gets mono audio channel. | | static OtherChannel { get; } | Gets other channel. | | static Stereo { get; } | Gets stereo audio channel. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | | | Equals(XmpClosedChoice<string>) | | | override GetHashCode() | | | override ToString() | | ### Audio16Channel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/audio16channel.md #### XmpAudioChannelType.Audio16Channel property Gets 16 audio channel. ```csharp public static XmpAudioChannelType Audio16Channel { get; } ``` ##### Property Value 16 channel audio. ### Audio51 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/audio51.md #### XmpAudioChannelType.Audio51 property Gets 5.1 audio channel. ```csharp public static XmpAudioChannelType Audio51 { get; } ``` ##### Property Value The audio 5.1. ### Audio71 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/audio71.md #### XmpAudioChannelType.Audio71 property Gets 7.1 audio channel. ```csharp public static XmpAudioChannelType Audio71 { get; } ``` ##### Property Value The audio 7.1. ### Mono Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/mono.md #### XmpAudioChannelType.Mono property Gets mono audio channel. ```csharp public static XmpAudioChannelType Mono { get; } ``` ##### Property Value The mono. ### OtherChannel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/otherchannel.md #### XmpAudioChannelType.OtherChannel property Gets other channel. ```csharp public static XmpAudioChannelType OtherChannel { get; } ``` ##### Property Value The other channel. ### Stereo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/stereo.md #### XmpAudioChannelType.Stereo property Gets stereo audio channel. ```csharp public static XmpAudioChannelType Stereo { get; } ``` ##### Property Value The stereo. ### XmpAudioSampleType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype.md #### XmpAudioSampleType class Represents Audio sample type in `XmpDynamicMediaPackage`. ```csharp public sealed class XmpAudioSampleType : XmpClosedChoice ``` #### Properties | Name | Description | | --- | --- | | static Compressed { get; } | Gets Compressed audio sample. | | static Other { get; } | Gets Other audio sample. | | static Packed { get; } | Gets Packed audio sample. | | static Sample16Int { get; } | Gets 16Int audio sample. | | static Sample24Int { get; } | Gets 24Int audio sample. | | static Sample32Float { get; } | Gets 32Float audio sample. | | static Sample32Int { get; } | Gets 32Int audio sample. | | static Sample8Int { get; } | Gets 8Int audio sample. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | | | Equals(XmpClosedChoice<string>) | | | override GetHashCode() | | | override ToString() | | ### Compressed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/compressed.md #### XmpAudioSampleType.Compressed property Gets Compressed audio sample. ```csharp public static XmpAudioSampleType Compressed { get; } ``` ##### Property Value The compressed audio. ### Other Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/other.md #### XmpAudioSampleType.Other property Gets Other audio sample. ```csharp public static XmpAudioSampleType Other { get; } ``` ##### Property Value The packed audio. ### Packed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/packed.md #### XmpAudioSampleType.Packed property Gets Packed audio sample. ```csharp public static XmpAudioSampleType Packed { get; } ``` ##### Property Value The packed audio. ### Sample16Int Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample16int.md #### XmpAudioSampleType.Sample16Int property Gets 16Int audio sample. ```csharp public static XmpAudioSampleType Sample16Int { get; } ``` ##### Property Value 16Int. ### Sample24Int Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample24int.md #### XmpAudioSampleType.Sample24Int property Gets 24Int audio sample. ```csharp public static XmpAudioSampleType Sample24Int { get; } ``` ##### Property Value 24Int. ### Sample32Float Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample32float.md #### XmpAudioSampleType.Sample32Float property Gets 32Float audio sample. ```csharp public static XmpAudioSampleType Sample32Float { get; } ``` ##### Property Value 32Float. ### Sample32Int Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample32int.md #### XmpAudioSampleType.Sample32Int property Gets 32Int audio sample. ```csharp public static XmpAudioSampleType Sample32Int { get; } ``` ##### Property Value 32Int. ### Sample8Int Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample8int.md #### XmpAudioSampleType.Sample8Int property Gets 8Int audio sample. ```csharp public static XmpAudioSampleType Sample8Int { get; } ``` ##### Property Value 8Int. ### XmpBasicJobTicketPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage.md #### XmpBasicJobTicketPackage class Represents Basic Job-Ticket namespace. ```csharp public sealed class XmpBasicJobTicketPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpBasicJobTicketPackage() | Initializes a new instance of the `XmpBasicJobTicketPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Jobs { get; set; } | Gets or sets the jobs. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | virtual Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Jobs Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/jobs.md #### XmpBasicJobTicketPackage.Jobs property Gets or sets the jobs. ```csharp public XmpJob[] Jobs { get; set; } ``` ##### Property Value The jobs. ### XmpBasicJobTicketPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/xmpbasicjobticketpackage.md #### XmpBasicJobTicketPackage constructor Initializes a new instance of the `XmpBasicJobTicketPackage` class. ```csharp public XmpBasicJobTicketPackage() ``` ### XmpBasicPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage.md #### XmpBasicPackage class Represents the XMP basic namespace. ```csharp public sealed class XmpBasicPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpBasicPackage() | Initializes a new instance of the `XmpBasicPackage` class. | #### Properties | Name | Description | | --- | --- | | BaseUrl { get; set; } | Gets or sets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. | | Count { get; } | Gets the number of metadata properties. | | CreateDate { get; set; } | Gets or sets the date and time the resource was created. | | CreatorTool { get; set; } | Gets or sets the name of the tool used to create the resource. | | Identifiers { get; set; } | Gets or sets an unordered array of text strings that unambiguously identify the resource within a given context. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Label { get; set; } | Gets or sets a word or short phrase that identifies the resource as a member of a user-defined collection. | | MetadataDate { get; set; } | Gets or sets the date and time that any metadata for this resource was last changed. | | MetadataType { get; } | Gets the metadata type. | | ModifyDate { get; set; } | Gets or sets the date and time the resource was last modified. | | NamespaceUri { get; } | Gets the namespace URI. | | Nickname { get; set; } | Gets or sets a short informal name for the resource. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Rating { get; set; } | Gets or sets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”. | | Thumbnails { get; set; } | Gets or sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Adds string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | #### Fields | Name | Description | | --- | --- | | const RatingMax | Rating max value. | | const RatingMin | Rating min value. | | const RatingRejected | Rating rejected value. | ### BaseUrl Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/baseurl.md #### XmpBasicPackage.BaseUrl property Gets or sets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. ```csharp public string BaseUrl { get; set; } ``` ##### Property Value The base URL. ### CreateDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/createdate.md #### XmpBasicPackage.CreateDate property Gets or sets the date and time the resource was created. ```csharp public DateTime? CreateDate { get; set; } ``` ##### Property Value The resource creation date. ### CreatorTool Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/creatortool.md #### XmpBasicPackage.CreatorTool property Gets or sets the name of the tool used to create the resource. ```csharp public string CreatorTool { get; set; } ``` ##### Property Value The name of the tool used to create the resource. ### Identifiers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/identifiers.md #### XmpBasicPackage.Identifiers property Gets or sets an unordered array of text strings that unambiguously identify the resource within a given context. ```csharp public string[] Identifiers { get; set; } ``` ##### Property Value An array of the identifiers. ### Label Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/label.md #### XmpBasicPackage.Label property Gets or sets a word or short phrase that identifies the resource as a member of a user-defined collection. ```csharp public string Label { get; set; } ``` ##### Property Value The label of the resource. ### MetadataDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/metadatadate.md #### XmpBasicPackage.MetadataDate property Gets or sets the date and time that any metadata for this resource was last changed. ```csharp public DateTime? MetadataDate { get; set; } ``` ##### Property Value The metadata date. ### ModifyDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/modifydate.md #### XmpBasicPackage.ModifyDate property Gets or sets the date and time the resource was last modified. ```csharp public DateTime? ModifyDate { get; set; } ``` ##### Property Value The last modification date. ### Nickname Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/nickname.md #### XmpBasicPackage.Nickname property Gets or sets a short informal name for the resource. ```csharp public string Nickname { get; set; } ``` ##### Property Value The nickname. ### Rating Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/rating.md #### XmpBasicPackage.Rating property Gets or sets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”. ```csharp public double Rating { get; set; } ``` ##### Property Value The rating. ### RatingMax Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/ratingmax.md #### XmpBasicPackage.RatingMax field Rating max value. ```csharp public const float RatingMax; ``` ### RatingMin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/ratingmin.md #### XmpBasicPackage.RatingMin field Rating min value. ```csharp public const float RatingMin; ``` ### RatingRejected Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/ratingrejected.md #### XmpBasicPackage.RatingRejected field Rating rejected value. ```csharp public const float RatingRejected; ``` ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/set.md #### XmpBasicPackage.Set method Adds string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XmpBasic key. | | value | String | String value. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Metadata key is not provided. | ### Thumbnails Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/thumbnails.md #### XmpBasicPackage.Thumbnails property Gets or sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. ```csharp public XmpThumbnail[] Thumbnails { get; set; } ``` ##### Property Value The thumbnails. ### XmpBasicPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/xmpbasicpackage.md #### XmpBasicPackage constructor Initializes a new instance of the `XmpBasicPackage` class. ```csharp public XmpBasicPackage() ``` ### XmpCameraRawPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage.md #### XmpCameraRawPackage class Represents Camera Raw schema. ```csharp public sealed class XmpCameraRawPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpCameraRawPackage() | Initializes a new instance of the `XmpCameraRawPackage` class. | #### Properties | Name | Description | | --- | --- | | AutoBrightness { get; set; } | Gets or sets the AutoBrightness value. When true, `Brightness` is automatically adjusted. | | AutoContrast { get; set; } | Gets or sets the AutoContrast value. When true, "Contrast" is automatically adjusted. | | AutoExposure { get; set; } | Gets or sets the AutoExposure value. When true, "Exposure" is automatically adjusted. | | AutoShadows { get; set; } | Gets or sets the AutoShadows value. When true, "Shadows" is automatically adjusted. | | BlueHue { get; set; } | Gets or sets the BlueHue value. Null if undefined. | | BlueSaturation { get; set; } | Gets or sets the BlueSaturation. Null if undefined. | | Brightness { get; set; } | Gets or sets the Brightness value. Null if undefined. | | CameraProfile { get; set; } | Gets or sets the CameraProfile value. | | ChromaticAberrationB { get; set; } | Gets or sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. | | ChromaticAberrationR { get; set; } | Gets or sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. | | ColorNoiseReduction { get; set; } | Gets or sets the Color Noise Reduction setting. Range 0 to 100. | | Contrast { get; set; } | Gets or sets the Contrast setting. Range -50 to 100. | | Count { get; } | Gets the number of metadata properties. | | CropAngle { get; set; } | Gets or sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. | | CropBottom { get; set; } | Gets or sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. | | CropHeight { get; set; } | Gets or sets the height of the resulting cropped image in `CropUnits` units. | | CropLeft { get; set; } | Gets or sets the CropLeft setting. When HasCrop is true, left of the crop rectangle. | | CropRight { get; set; } | Gets or sets the CropRight setting. When HasCrop is true, right of the crop rectangle. | | CropTop { get; set; } | Gets or sets the CropTop setting. When HasCrop is true, top of the crop rectangle. | | CropUnits { get; set; } | Gets or sets units for `CropWidth` and `CropHeight`. | | CropWidth { get; set; } | Gets or sets the width of the resulting cropped image in `CropUnits` units. | | Exposure { get; set; } | Gets or sets the Exposure setting. | | GreenHue { get; set; } | Gets or sets the Green Hue setting. Range -100 to 100. | | GreenSaturation { get; set; } | Gets or sets the Green Saturation setting. Range -100 to 100. | | HasCrop { get; set; } | Gets or sets the HasCrop value. When true, the image has a cropping rectangle. | | HasSettings { get; set; } | Gets or sets HasSettings value. When true, non-default camera raw settings. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LuminanceSmoothing { get; set; } | Gets or sets the LuminanceSmoothing setting. Range 0 to 100. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RawFileName { get; set; } | Gets or sets the file name for a raw file (not a complete path). | | RedHue { get; set; } | Gets or sets the Red Hue setting. Range -100 to 100. | | RedSaturation { get; set; } | Gets or sets the Red Saturation setting. Range -100 to 100. | | Saturation { get; set; } | Gets or sets the Saturation setting. Range -100 to 100. | | Shadows { get; set; } | Gets or sets the Shadows setting. Range 0 to 100. | | ShadowTint { get; set; } | Gets or sets the ShadowTint setting. Range -100 to 100. | | Sharpness { get; set; } | Gets or sets the Sharpness setting. Range 0 to 100. | | Temperature { get; set; } | Gets or sets the Temperature setting. Range 2000 to 50000. | | Tint { get; set; } | Gets or sets the Tint setting. Range -150 to 150. | | Version { get; set; } | Gets or sets the version of the Camera Raw plug-in. | | VignetteAmount { get; set; } | Gets or sets the Vignette Amount setting. Range -100 to 100. | | VignetteMidpoint { get; set; } | Gets or sets the Vignetting Midpoint setting. Range 0 to 100. | | WhiteBalance { get; } | Gets White Balance setting. Use `SetWhiteBalance` to set white balance value. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Adds string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | SetWhiteBalance(XmpWhiteBalance) | Sets the white balance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AutoBrightness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/autobrightness.md #### XmpCameraRawPackage.AutoBrightness property Gets or sets the AutoBrightness value. When true, `Brightness` is automatically adjusted. ```csharp public bool? AutoBrightness { get; set; } ``` ##### Property Value `true` if [automatic brightness]; otherwise, `false`. ### AutoContrast Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/autocontrast.md #### XmpCameraRawPackage.AutoContrast property Gets or sets the AutoContrast value. When true, "Contrast" is automatically adjusted. ```csharp public bool? AutoContrast { get; set; } ``` ##### Property Value `true` if [automatic contrast]; otherwise, `false`. ### AutoExposure Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/autoexposure.md #### XmpCameraRawPackage.AutoExposure property Gets or sets the AutoExposure value. When true, "Exposure" is automatically adjusted. ```csharp public bool? AutoExposure { get; set; } ``` ##### Property Value `true` if [automatic exposure]; otherwise, `false`. ### AutoShadows Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/autoshadows.md #### XmpCameraRawPackage.AutoShadows property Gets or sets the AutoShadows value. When true, "Shadows" is automatically adjusted. ```csharp public bool? AutoShadows { get; set; } ``` ##### Property Value `true` if [automatic shadows]; otherwise, `false`. ### BlueHue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/bluehue.md #### XmpCameraRawPackage.BlueHue property Gets or sets the BlueHue value. Null if undefined. ```csharp public int? BlueHue { get; set; } ``` ##### Property Value The blue hue. ### BlueSaturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/bluesaturation.md #### XmpCameraRawPackage.BlueSaturation property Gets or sets the BlueSaturation. Null if undefined. ```csharp public int? BlueSaturation { get; set; } ``` ##### Property Value The blue saturation. ### Brightness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/brightness.md #### XmpCameraRawPackage.Brightness property Gets or sets the Brightness value. Null if undefined. ```csharp public int? Brightness { get; set; } ``` ##### Property Value The brightness. ### CameraProfile Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cameraprofile.md #### XmpCameraRawPackage.CameraProfile property Gets or sets the CameraProfile value. ```csharp public string CameraProfile { get; set; } ``` ##### Property Value The camera profile. ### ChromaticAberrationB Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/chromaticaberrationb.md #### XmpCameraRawPackage.ChromaticAberrationB property Gets or sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. ```csharp public int? ChromaticAberrationB { get; set; } ``` ##### Property Value The chromatic aberration B. ### ChromaticAberrationR Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/chromaticaberrationr.md #### XmpCameraRawPackage.ChromaticAberrationR property Gets or sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. ```csharp public int? ChromaticAberrationR { get; set; } ``` ##### Property Value The chromatic aberration R. ### ColorNoiseReduction Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/colornoisereduction.md #### XmpCameraRawPackage.ColorNoiseReduction property Gets or sets the Color Noise Reduction setting. Range 0 to 100. ```csharp public int? ColorNoiseReduction { get; set; } ``` ##### Property Value The color noise reduction. ### Contrast Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/contrast.md #### XmpCameraRawPackage.Contrast property Gets or sets the Contrast setting. Range -50 to 100. ```csharp public int? Contrast { get; set; } ``` ##### Property Value The contrast. ### CropAngle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cropangle.md #### XmpCameraRawPackage.CropAngle property Gets or sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. ```csharp public double? CropAngle { get; set; } ``` ##### Property Value The crop angle. ### CropBottom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cropbottom.md #### XmpCameraRawPackage.CropBottom property Gets or sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. ```csharp public double? CropBottom { get; set; } ``` ##### Property Value The crop bottom. ### CropHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cropheight.md #### XmpCameraRawPackage.CropHeight property Gets or sets the height of the resulting cropped image in `CropUnits` units. ```csharp public double? CropHeight { get; set; } ``` ##### Property Value The height of the crop. ### CropLeft Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cropleft.md #### XmpCameraRawPackage.CropLeft property Gets or sets the CropLeft setting. When HasCrop is true, left of the crop rectangle. ```csharp public double? CropLeft { get; set; } ``` ##### Property Value The crop left. ### CropRight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cropright.md #### XmpCameraRawPackage.CropRight property Gets or sets the CropRight setting. When HasCrop is true, right of the crop rectangle. ```csharp public double? CropRight { get; set; } ``` ##### Property Value The crop right. ### CropTop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/croptop.md #### XmpCameraRawPackage.CropTop property Gets or sets the CropTop setting. When HasCrop is true, top of the crop rectangle. ```csharp public double? CropTop { get; set; } ``` ##### Property Value The crop top. ### CropUnits Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cropunits.md #### XmpCameraRawPackage.CropUnits property Gets or sets units for `CropWidth` and `CropHeight`. ```csharp public XmpCropUnit CropUnits { get; set; } ``` ##### Property Value The crop units. ### CropWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/cropwidth.md #### XmpCameraRawPackage.CropWidth property Gets or sets the width of the resulting cropped image in `CropUnits` units. ```csharp public double? CropWidth { get; set; } ``` ##### Property Value The width of the crop. ### Exposure Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/exposure.md #### XmpCameraRawPackage.Exposure property Gets or sets the Exposure setting. ```csharp public double? Exposure { get; set; } ``` ##### Property Value The exposure. ### GreenHue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/greenhue.md #### XmpCameraRawPackage.GreenHue property Gets or sets the Green Hue setting. Range -100 to 100. ```csharp public int? GreenHue { get; set; } ``` ##### Property Value The green hue. ### GreenSaturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/greensaturation.md #### XmpCameraRawPackage.GreenSaturation property Gets or sets the Green Saturation setting. Range -100 to 100. ```csharp public int? GreenSaturation { get; set; } ``` ##### Property Value The green saturation. ### HasCrop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/hascrop.md #### XmpCameraRawPackage.HasCrop property Gets or sets the HasCrop value. When true, the image has a cropping rectangle. ```csharp public bool? HasCrop { get; set; } ``` ##### Property Value `true` if the image has a cropping rectangle; otherwise, `false`. ### HasSettings Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/hassettings.md #### XmpCameraRawPackage.HasSettings property Gets or sets HasSettings value. When true, non-default camera raw settings. ```csharp public bool? HasSettings { get; set; } ``` ##### Property Value `true` if image has non-default camera raw settings; otherwise, `false`. ### LuminanceSmoothing Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/luminancesmoothing.md #### XmpCameraRawPackage.LuminanceSmoothing property Gets or sets the LuminanceSmoothing setting. Range 0 to 100. ```csharp public int? LuminanceSmoothing { get; set; } ``` ##### Property Value The luminance smoothing. ### RawFileName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/rawfilename.md #### XmpCameraRawPackage.RawFileName property Gets or sets the file name for a raw file (not a complete path). ```csharp public string RawFileName { get; set; } ``` ##### Property Value The name of the raw file. ### RedHue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/redhue.md #### XmpCameraRawPackage.RedHue property Gets or sets the Red Hue setting. Range -100 to 100. ```csharp public int? RedHue { get; set; } ``` ##### Property Value The red hue. ### RedSaturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/redsaturation.md #### XmpCameraRawPackage.RedSaturation property Gets or sets the Red Saturation setting. Range -100 to 100. ```csharp public int? RedSaturation { get; set; } ``` ##### Property Value The red saturation. ### Saturation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/saturation.md #### XmpCameraRawPackage.Saturation property Gets or sets the Saturation setting. Range -100 to 100. ```csharp public int? Saturation { get; set; } ``` ##### Property Value The saturation. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/set.md #### XmpCameraRawPackage.Set method Adds string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata key. | | value | String | XMP metadata value. | ### SetWhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/setwhitebalance.md #### XmpCameraRawPackage.SetWhiteBalance method Sets the white balance. ```csharp public void SetWhiteBalance(XmpWhiteBalance whiteBalance) ``` | Parameter | Type | Description | | --- | --- | --- | | whiteBalance | XmpWhiteBalance | The white balance. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | WhiteBalance could not be null. | ### Shadows Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/shadows.md #### XmpCameraRawPackage.Shadows property Gets or sets the Shadows setting. Range 0 to 100. ```csharp public int? Shadows { get; set; } ``` ##### Property Value The shadows. ### ShadowTint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/shadowtint.md #### XmpCameraRawPackage.ShadowTint property Gets or sets the ShadowTint setting. Range -100 to 100. ```csharp public int? ShadowTint { get; set; } ``` ##### Property Value The shadow tint. ### Sharpness Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/sharpness.md #### XmpCameraRawPackage.Sharpness property Gets or sets the Sharpness setting. Range 0 to 100. ```csharp public int? Sharpness { get; set; } ``` ##### Property Value The sharpness. ### Temperature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/temperature.md #### XmpCameraRawPackage.Temperature property Gets or sets the Temperature setting. Range 2000 to 50000. ```csharp public int? Temperature { get; set; } ``` ##### Property Value The temperature. ### Tint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/tint.md #### XmpCameraRawPackage.Tint property Gets or sets the Tint setting. Range -150 to 150. ```csharp public int? Tint { get; set; } ``` ##### Property Value The tint. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/version.md #### XmpCameraRawPackage.Version property Gets or sets the version of the Camera Raw plug-in. ```csharp public string Version { get; set; } ``` ##### Property Value The version. ### VignetteAmount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/vignetteamount.md #### XmpCameraRawPackage.VignetteAmount property Gets or sets the Vignette Amount setting. Range -100 to 100. ```csharp public int? VignetteAmount { get; set; } ``` ##### Property Value The vignette amount. ### VignetteMidpoint Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/vignettemidpoint.md #### XmpCameraRawPackage.VignetteMidpoint property Gets or sets the Vignetting Midpoint setting. Range 0 to 100. ```csharp public int? VignetteMidpoint { get; set; } ``` ##### Property Value The Vignette Midpoint. ### WhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/whitebalance.md #### XmpCameraRawPackage.WhiteBalance property Gets White Balance setting. Use `SetWhiteBalance` to set white balance value. ```csharp public string WhiteBalance { get; } ``` ##### Property Value The white balance. ### XmpCameraRawPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/xmpcamerarawpackage.md #### XmpCameraRawPackage constructor Initializes a new instance of the `XmpCameraRawPackage` class. ```csharp public XmpCameraRawPackage() ``` ### XmpCropUnit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpcropunit.md #### XmpCropUnit enumeration Represent a unit for CropWidth and CropHeight in `XmpCameraRawPackage`. ```csharp public enum XmpCropUnit ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Pixels | `0` | Pixels units. | | Inches | `1` | Inches units. | | Cm | `2` | Centimeters units. | ### XmpDublinCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage.md #### XmpDublinCorePackage class Represents the Dublin Core scheme. ```csharp public sealed class XmpDublinCorePackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpDublinCorePackage() | Initializes a new instance of the `XmpDublinCorePackage` class. | #### Properties | Name | Description | | --- | --- | | Contributors { get; set; } | Gets or sets an array of the contributors. | | Count { get; } | Gets the number of metadata properties. | | Coverage { get; set; } | Gets or sets the extent or scope of the resource. | | Creators { get; set; } | Gets or sets an array of the creators. | | Dates { get; set; } | Gets or sets an array of dates associated with an event in the life cycle of the resource. | | Descriptions { get; set; } | Gets or sets an array of textual descriptions of the content of the resource, given in various languages. | | Format { get; set; } | Gets or sets the MIME type of the resource. | | Identifier { get; set; } | Gets or sets a string value representing an unambiguous reference to the resource within a given context. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Languages { get; set; } | Gets or sets an array of languages used in the content of the resource. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Publishers { get; set; } | Gets or sets an array of publishers made the resource available. | | Relations { get; set; } | Gets or sets an array of the related resources. | | Rights { get; set; } | Gets or sets an array of the informal rights statements, given in various languages. | | Source { get; set; } | Gets or sets the related resource from which the described resource is derived. | | Subjects { get; set; } | Gets or sets an array of descriptive phrases or keywords that specify the content of the resource. | | Titles { get; set; } | Gets or sets the title or name of the resource, given in various languages. | | Types { get; set; } | Gets or sets an array of string values representing the nature or genre of the resource. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | virtual Set(string, string) | Sets string property. | | override Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | SetContributor(string) | Sets a single contributor of the resource. | | SetCreator(string) | Sets a single creator of the resource. | | SetDate(DateTime) | Sets a single date associated with the resource. | | SetDescription(string) | Sets the resource description, given in a single laguage. | | SetLanguage(string) | Sets a single language associated with the resource. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | SetPublisher(string) | Sets a single publisher of the resource. | | SetRelation(string) | Sets a single related resource. | | SetRights(string) | Sets the resource rights, given in a single laguage. | | SetSubject(string) | Sets a single subject of the resource. | | SetTitle(string) | Sets the resource title, given in a single laguage. | | SetType(string) | Sets a single type of the resource. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Remarks For more information see: http://dublincore.org/documents/usageguide/elements.shtml. ### Contributors Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/contributors.md #### XmpDublinCorePackage.Contributors property Gets or sets an array of the contributors. ```csharp public string[] Contributors { get; set; } ``` ##### Property Value An array of the contributors. ##### Remarks These contributors should not include those listed in dc:creator. ### Creators Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/creators.md #### XmpDublinCorePackage.Creators property Gets or sets an array of the creators. ```csharp public string[] Creators { get; set; } ``` ##### Property Value An array of the creators. ##### Remarks Entities should be listed in order of decreasing precedence, if such order is significant. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity. ### Dates Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/dates.md #### XmpDublinCorePackage.Dates property Gets or sets an array of dates associated with an event in the life cycle of the resource. ```csharp public DateTime[] Dates { get; set; } ``` ##### Property Value A point or period of time associated with an event in the life cycle of the resource. ### Descriptions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/descriptions.md #### XmpDublinCorePackage.Descriptions property Gets or sets an array of textual descriptions of the content of the resource, given in various languages. ```csharp public XmpLangAlt Descriptions { get; set; } ``` ##### Property Value An array of textual descriptions of the content of the resource, given in various languages. ### Format Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/format.md #### XmpDublinCorePackage.Format property Gets or sets the MIME type of the resource. ```csharp public string Format { get; set; } ``` ##### Property Value The MIME type of the resource. ### Identifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/identifier.md #### XmpDublinCorePackage.Identifier property Gets or sets a string value representing an unambiguous reference to the resource within a given context. ```csharp public string Identifier { get; set; } ``` ##### Property Value A string value representing an unambiguous reference to the resource within a given context. ##### Remarks Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. ### Languages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/languages.md #### XmpDublinCorePackage.Languages property Gets or sets an array of languages used in the content of the resource. ```csharp public string[] Languages { get; set; } ``` ##### Property Value An array of languages used in the content of the resource. ### Publishers Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/publishers.md #### XmpDublinCorePackage.Publishers property Gets or sets an array of publishers made the resource available. ```csharp public string[] Publishers { get; set; } ``` ##### Property Value An array of publishers made the resource available. ##### Remarks Examples of a publisher include a person, an organization, or a service. Typically, the name of a publisher should be used to indicate the entity. ### Relations Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/relations.md #### XmpDublinCorePackage.Relations property Gets or sets an array of the related resources. ```csharp public string[] Relations { get; set; } ``` ##### Property Value An array of the related resources. ##### Remarks Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ### Rights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/rights.md #### XmpDublinCorePackage.Rights property Gets or sets an array of the informal rights statements, given in various languages. ```csharp public XmpLangAlt Rights { get; set; } ``` ##### Property Value An array of the informal rights statements, given in various languages. ##### Remarks Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set.md #### XmpDublinCorePackage.Set method Sets the value inherited from `XmpArray` . ```csharp public override void Set(string name, XmpArray value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### SetContributor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setcontributor.md #### XmpDublinCorePackage.SetContributor method Sets a single contributor of the resource. ```csharp public void SetContributor(string contributor) ``` | Parameter | Type | Description | | --- | --- | --- | | contributor | String | The contributor to set. | ### SetCreator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setcreator.md #### XmpDublinCorePackage.SetCreator method Sets a single creator of the resource. ```csharp public void SetCreator(string creator) ``` | Parameter | Type | Description | | --- | --- | --- | | creator | String | The creator to set. | ### SetDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setdate.md #### XmpDublinCorePackage.SetDate method Sets a single date associated with the resource. ```csharp public void SetDate(DateTime date) ``` | Parameter | Type | Description | | --- | --- | --- | | date | DateTime | The date to set. | ### SetDescription Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setdescription.md #### XmpDublinCorePackage.SetDescription method Sets the resource description, given in a single laguage. ```csharp public void SetDescription(string description) ``` | Parameter | Type | Description | | --- | --- | --- | | description | String | The description to set. | ### SetLanguage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setlanguage.md #### XmpDublinCorePackage.SetLanguage method Sets a single language associated with the resource. ```csharp public void SetLanguage(string language) ``` | Parameter | Type | Description | | --- | --- | --- | | language | String | The language to set. | ### SetPublisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setpublisher.md #### XmpDublinCorePackage.SetPublisher method Sets a single publisher of the resource. ```csharp public void SetPublisher(string publisher) ``` | Parameter | Type | Description | | --- | --- | --- | | publisher | String | The publisher to set. | ### SetRelation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setrelation.md #### XmpDublinCorePackage.SetRelation method Sets a single related resource. ```csharp public void SetRelation(string relation) ``` | Parameter | Type | Description | | --- | --- | --- | | relation | String | The relation to set. | ### SetRights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setrights.md #### XmpDublinCorePackage.SetRights method Sets the resource rights, given in a single laguage. ```csharp public void SetRights(string rights) ``` | Parameter | Type | Description | | --- | --- | --- | | rights | String | The rights statements to set. | ### SetSubject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/setsubject.md #### XmpDublinCorePackage.SetSubject method Sets a single subject of the resource. ```csharp public void SetSubject(string subject) ``` | Parameter | Type | Description | | --- | --- | --- | | subject | String | The subject to set. | ### SetTitle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/settitle.md #### XmpDublinCorePackage.SetTitle method Sets the resource title, given in a single laguage. ```csharp public void SetTitle(string title) ``` | Parameter | Type | Description | | --- | --- | --- | | title | String | The title to set. | ### SetType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/settype.md #### XmpDublinCorePackage.SetType method Sets a single type of the resource. ```csharp public void SetType(string type) ``` | Parameter | Type | Description | | --- | --- | --- | | type | String | The type to set. | ### Source Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/source.md #### XmpDublinCorePackage.Source property Gets or sets the related resource from which the described resource is derived. ```csharp public string Source { get; set; } ``` ##### Property Value The related resource from which the described resource is derived. ##### Remarks The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ### Subjects Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/subjects.md #### XmpDublinCorePackage.Subjects property Gets or sets an array of descriptive phrases or keywords that specify the content of the resource. ```csharp public string[] Subjects { get; set; } ``` ##### Property Value An array of descriptive phrases or keywords that specify the content of the resource. ### Titles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/titles.md #### XmpDublinCorePackage.Titles property Gets or sets the title or name of the resource, given in various languages. ```csharp public XmpLangAlt Titles { get; set; } ``` ##### Property Value The title or name of the resource, given in various languages. ### Types Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/types.md #### XmpDublinCorePackage.Types property Gets or sets an array of string values representing the nature or genre of the resource. ```csharp public string[] Types { get; set; } ``` ##### Property Value An array of string values representing the nature or genre of the resource. ### XmpDublinCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/xmpdublincorepackage.md #### XmpDublinCorePackage constructor Initializes a new instance of the `XmpDublinCorePackage` class. ```csharp public XmpDublinCorePackage() ``` ### XmpDynamicMediaPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage.md #### XmpDynamicMediaPackage class Represents XMP Dynamic Media namespace. ```csharp public sealed class XmpDynamicMediaPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpDynamicMediaPackage() | Initializes a new instance of the `XmpDynamicMediaPackage` class. | #### Properties | Name | Description | | --- | --- | | AbsPeakAudioFilePath { get; set; } | Gets or sets the absolute path to the file’s peak audio file. | | Album { get; set; } | Gets or sets the name of the album. | | AltTapeName { get; set; } | Gets or sets the alternative tape name, set via the project window or timecode dialog in Premiere. | | AltTimecode { get; set; } | Gets or sets the timecode set by the user. | | Artist { get; set; } | Gets or sets the name of the artist or artists. | | AudioChannelType { get; set; } | Gets or sets the audio channel type. | | AudioCompressor { get; set; } | Gets or sets the audio compression used. | | AudioSampleRate { get; set; } | Gets or sets the audio sample rate. | | AudioSampleType { get; set; } | Gets or sets the audio sample type. | | CameraAngle { get; set; } | Gets or sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. | | CameraLabel { get; set; } | Gets or sets the description of the camera used for a shoot. | | CameraModel { get; set; } | Gets or sets the make and model of the camera used for a shoot. | | CameraMove { get; set; } | Gets or sets the movement of the camera during the shot, from a fixed set of industry standard terminology. | | Client { get; set; } | Gets or sets the client for the job of which this shot or take is a part. | | Comment { get; set; } | Gets or sets the user’s comments. | | Composer { get; set; } | Gets or sets the composer’s names. | | Count { get; } | Gets the number of metadata properties. | | Director { get; set; } | Gets or sets the director of the scene. | | DirectorPhotography { get; set; } | Gets or sets the director of photography for the scene. | | Duration { get; set; } | Gets or sets the duration of the media file. | | Engineer { get; set; } | Gets or sets the engineer's names. | | FileDataRate { get; set; } | Gets or sets the file data rate in megabytes per second. | | Genre { get; set; } | Gets or sets the name of the genres. | | Good { get; set; } | Gets or sets a value indicating whether the shot is a keeper. | | Instrument { get; set; } | Gets or sets the musical instruments. | | IntroTime { get; set; } | Gets or sets the duration of lead time for queuing music. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Key { get; set; } | Gets or sets the audio’s musical key. | | Keys { get; } | Gets a collection of the metadata property names. | | LogComment { get; set; } | Gets or sets the user’s log comments. | | Loop { get; set; } | Gets or sets a value indicating whether the clip can be looped seamlessly. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | NumberOfBeats { get; set; } | Gets or sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | | OutCue { get; set; } | Gets or sets the time at which to fade out. | | PartOfCompilation { get; set; } | Gets or sets a value indicating whether the resource is a part of compilation. | | Prefix { get; } | Gets the xmlns prefix. | | ProjectName { get; set; } | Gets or sets the name of the project of which this file is a part. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RelativeTimestamp { get; set; } | Gets or sets the start time of the media inside the audio project. | | ReleaseDate { get; set; } | Gets or sets the date the title was released. | | ShotDate { get; set; } | Gets or sets the date and time when the video was shot. | | StartTimecode { get; set; } | Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. | | TakeNumber { get; set; } | Gets or sets a numeric value indicating the absolute number of a take. | | Tempo { get; set; } | Gets or sets the audio’s tempo. | | TrackNumber { get; set; } | Gets or sets a numeric value indicating the order of the audio file within its original recording. | | VideoAlphaPremultipleColor { get; set; } | Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. | | VideoAlphaUnityIsTransparent { get; set; } | Gets or sets a value indicating whether the unity is clear. | | VideoFrameRate { get; set; } | Gets or sets the video frame rate. | | VideoFrameSize { get; set; } | Gets or sets the frame size. | | VideoPixelAspectRatio { get; set; } | Gets or sets the aspect ratio, expressed as wd/ht. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | override Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | SetAudioChannelType(XmpAudioChannelType) | Sets the audio channel type. | | SetAudioSampleType(XmpAudioSampleType) | Sets the audio sample type. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AbsPeakAudioFilePath Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/abspeakaudiofilepath.md #### XmpDynamicMediaPackage.AbsPeakAudioFilePath property Gets or sets the absolute path to the file’s peak audio file. ```csharp public string AbsPeakAudioFilePath { get; set; } ``` ##### Property Value The absolute path to the file’s peak audio file. If empty, no peak file exists. ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/album.md #### XmpDynamicMediaPackage.Album property Gets or sets the name of the album. ```csharp public string Album { get; set; } ``` ##### Property Value The name of the album. ### AltTapeName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/alttapename.md #### XmpDynamicMediaPackage.AltTapeName property Gets or sets the alternative tape name, set via the project window or timecode dialog in Premiere. ```csharp public string AltTapeName { get; set; } ``` ##### Property Value The alternative tape name, set via the project window or timecode dialog in Premiere. ### AltTimecode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/alttimecode.md #### XmpDynamicMediaPackage.AltTimecode property Gets or sets the timecode set by the user. ```csharp public XmpTimecode AltTimecode { get; set; } ``` ##### Property Value The timecode set by the user. When specified, it is used instead of the startTimecode. ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/artist.md #### XmpDynamicMediaPackage.Artist property Gets or sets the name of the artist or artists. ```csharp public string Artist { get; set; } ``` ##### Property Value The name of the artist or artists. ### AudioChannelType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audiochanneltype.md #### XmpDynamicMediaPackage.AudioChannelType property Gets or sets the audio channel type. ```csharp public string AudioChannelType { get; set; } ``` ##### Property Value The audio channel type. One of: Mono, Stereo, 5.1, 7.1, 16 Channel, Other ### AudioCompressor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audiocompressor.md #### XmpDynamicMediaPackage.AudioCompressor property Gets or sets the audio compression used. ```csharp public string AudioCompressor { get; set; } ``` ##### Property Value The audio compression used. For example, MP3. ### AudioSampleRate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audiosamplerate.md #### XmpDynamicMediaPackage.AudioSampleRate property Gets or sets the audio sample rate. ```csharp public int? AudioSampleRate { get; set; } ``` ##### Property Value The audio sample rate. Can be any value, but commonly 32000, 44100, or 48000. ### AudioSampleType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audiosampletype.md #### XmpDynamicMediaPackage.AudioSampleType property Gets or sets the audio sample type. ```csharp public string AudioSampleType { get; set; } ``` ##### Property Value The audio sample type. One of: 8Int, 16Int, 24Int, 32Int, 32Float, Compressed, Packed, Other. ### CameraAngle Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/cameraangle.md #### XmpDynamicMediaPackage.CameraAngle property Gets or sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. ```csharp public string CameraAngle { get; set; } ``` ##### Property Value The orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. Predefined values include: Low Angle, Eye Level, High Angle, Overhead Shot, Birds Eye Shot, Dutch Angle, POV, Over the Shoulder, Reaction Shot. ### CameraLabel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/cameralabel.md #### XmpDynamicMediaPackage.CameraLabel property Gets or sets the description of the camera used for a shoot. ```csharp public string CameraLabel { get; set; } ``` ##### Property Value The description of the camera used for a shoot. Can be any string, but is usually simply a number, for example "1", "2", or more explicitly "Camera 1". ### CameraModel Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/cameramodel.md #### XmpDynamicMediaPackage.CameraModel property Gets or sets the make and model of the camera used for a shoot. ```csharp public string CameraModel { get; set; } ``` ##### Property Value The make and model of the camera used for a shoot. ### CameraMove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/cameramove.md #### XmpDynamicMediaPackage.CameraMove property Gets or sets the movement of the camera during the shot, from a fixed set of industry standard terminology. ```csharp public string CameraMove { get; set; } ``` ##### Property Value The movement of the camera during the shot, from a fixed set of industry standard terminology. Predefined values include: Aerial, Boom Up, Boom Down, Crane Up, Crane Down, Dolly In, Dolly Out, Pan Left, Pan Right, Pedestal Up, Pedestal Down, Tilt Up, Tilt Down, Tracking, Truck Left, Truck Right, Zoom In, Zoom Out. ### Client Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/client.md #### XmpDynamicMediaPackage.Client property Gets or sets the client for the job of which this shot or take is a part. ```csharp public string Client { get; set; } ``` ##### Property Value The client for the job of which this shot or take is a part. ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/comment.md #### XmpDynamicMediaPackage.Comment property Gets or sets the user’s comments. ```csharp public string Comment { get; set; } ``` ##### Property Value The user’s comments. ### Composer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/composer.md #### XmpDynamicMediaPackage.Composer property Gets or sets the composer’s names. ```csharp public string Composer { get; set; } ``` ##### Property Value The composer’s names. ### Director Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/director.md #### XmpDynamicMediaPackage.Director property Gets or sets the director of the scene. ```csharp public string Director { get; set; } ``` ##### Property Value The director of the scene. ### DirectorPhotography Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/directorphotography.md #### XmpDynamicMediaPackage.DirectorPhotography property Gets or sets the director of photography for the scene. ```csharp public string DirectorPhotography { get; set; } ``` ##### Property Value The director of photography for the scene. ### Duration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/duration.md #### XmpDynamicMediaPackage.Duration property Gets or sets the duration of the media file. ```csharp public XmpTime Duration { get; set; } ``` ##### Property Value The duration of the media file. ### Engineer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/engineer.md #### XmpDynamicMediaPackage.Engineer property Gets or sets the engineer's names. ```csharp public string Engineer { get; set; } ``` ##### Property Value The engineer's names. ### FileDataRate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/filedatarate.md #### XmpDynamicMediaPackage.FileDataRate property Gets or sets the file data rate in megabytes per second. ```csharp public XmpRational FileDataRate { get; set; } ``` ##### Property Value The file data rate in megabytes per second. For example: "36/10" = 3.6 MB/sec. ### Genre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/genre.md #### XmpDynamicMediaPackage.Genre property Gets or sets the name of the genres. ```csharp public string Genre { get; set; } ``` ##### Property Value The name of the genres. ### Good Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/good.md #### XmpDynamicMediaPackage.Good property Gets or sets a value indicating whether the shot is a keeper. ```csharp public bool? Good { get; set; } ``` ##### Property Value A value indicating whether the shot is a keeper. ### Instrument Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/instrument.md #### XmpDynamicMediaPackage.Instrument property Gets or sets the musical instruments. ```csharp public string Instrument { get; set; } ``` ##### Property Value The musical instruments. ### IntroTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/introtime.md #### XmpDynamicMediaPackage.IntroTime property Gets or sets the duration of lead time for queuing music. ```csharp public XmpTime IntroTime { get; set; } ``` ##### Property Value The duration of lead time for queuing music. ### Key Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/key.md #### XmpDynamicMediaPackage.Key property Gets or sets the audio’s musical key. ```csharp public string Key { get; set; } ``` ##### Property Value The audio’s musical key. One of: C, C#, D, D#, E, F, F#, G, G#, A, A#, B. ### LogComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/logcomment.md #### XmpDynamicMediaPackage.LogComment property Gets or sets the user’s log comments. ```csharp public string LogComment { get; set; } ``` ##### Property Value The user’s log comments. ### Loop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/loop.md #### XmpDynamicMediaPackage.Loop property Gets or sets a value indicating whether the clip can be looped seamlessly. ```csharp public bool? Loop { get; set; } ``` ##### Property Value A value indicating whether the clip can be looped seamlessly. ### NumberOfBeats Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/numberofbeats.md #### XmpDynamicMediaPackage.NumberOfBeats property Gets or sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. ```csharp public double? NumberOfBeats { get; set; } ``` ##### Property Value The total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. ### OutCue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/outcue.md #### XmpDynamicMediaPackage.OutCue property Gets or sets the time at which to fade out. ```csharp public XmpTime OutCue { get; set; } ``` ##### Property Value The time at which to fade out. ### PartOfCompilation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/partofcompilation.md #### XmpDynamicMediaPackage.PartOfCompilation property Gets or sets a value indicating whether the resource is a part of compilation. ```csharp public bool? PartOfCompilation { get; set; } ``` ##### Property Value A value indicating whether the resource is a part of compilation. ### ProjectName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/projectname.md #### XmpDynamicMediaPackage.ProjectName property Gets or sets the name of the project of which this file is a part. ```csharp public string ProjectName { get; set; } ``` ##### Property Value The name of the project of which this file is a part. ### RelativeTimestamp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/relativetimestamp.md #### XmpDynamicMediaPackage.RelativeTimestamp property Gets or sets the start time of the media inside the audio project. ```csharp public XmpTime RelativeTimestamp { get; set; } ``` ##### Property Value The start time of the media inside the audio project. ### ReleaseDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/releasedate.md #### XmpDynamicMediaPackage.ReleaseDate property Gets or sets the date the title was released. ```csharp public DateTime? ReleaseDate { get; set; } ``` ##### Property Value The date the title was released. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/set.md #### Set(string, string) Sets string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | #### Set(string, XmpComplexType) Sets the value inherited from `XmpComplexType` . ```csharp public override void Set(string name, XmpComplexType value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | XmpComplexType | XMP metadata property value. | ### SetAudioChannelType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/setaudiochanneltype.md #### XmpDynamicMediaPackage.SetAudioChannelType method Sets the audio channel type. ```csharp public void SetAudioChannelType(XmpAudioChannelType audioChannelType) ``` | Parameter | Type | Description | | --- | --- | --- | | audioChannelType | XmpAudioChannelType | The audio channel type. | ### SetAudioSampleType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/setaudiosampletype.md #### XmpDynamicMediaPackage.SetAudioSampleType method Sets the audio sample type. ```csharp public void SetAudioSampleType(XmpAudioSampleType audioSampleType) ``` | Parameter | Type | Description | | --- | --- | --- | | audioSampleType | XmpAudioSampleType | The audio sample type. | ### ShotDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/shotdate.md #### XmpDynamicMediaPackage.ShotDate property Gets or sets the date and time when the video was shot. ```csharp public DateTime? ShotDate { get; set; } ``` ##### Property Value The date and time when the video was shot. ### StartTimecode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/starttimecode.md #### XmpDynamicMediaPackage.StartTimecode property Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. ```csharp public XmpTimecode StartTimecode { get; set; } ``` ##### Property Value The timecode of the first frame of video in the file, as obtained from the device control. ### TakeNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/takenumber.md #### XmpDynamicMediaPackage.TakeNumber property Gets or sets a numeric value indicating the absolute number of a take. ```csharp public int? TakeNumber { get; set; } ``` ##### Property Value A numeric value indicating the absolute number of a take. ### Tempo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/tempo.md #### XmpDynamicMediaPackage.Tempo property Gets or sets the audio’s tempo. ```csharp public double? Tempo { get; set; } ``` ##### Property Value The audio’s tempo. ### TrackNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/tracknumber.md #### XmpDynamicMediaPackage.TrackNumber property Gets or sets a numeric value indicating the order of the audio file within its original recording. ```csharp public int? TrackNumber { get; set; } ``` ##### Property Value A numeric value indicating the order of the audio file within its original recording. ### VideoAlphaPremultipleColor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/videoalphapremultiplecolor.md #### XmpDynamicMediaPackage.VideoAlphaPremultipleColor property Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. ```csharp public XmpColorantBase VideoAlphaPremultipleColor { get; set; } ``` ##### Property Value The timecode of the first frame of video in the file, as obtained from the device control. ### VideoAlphaUnityIsTransparent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/videoalphaunityistransparent.md #### XmpDynamicMediaPackage.VideoAlphaUnityIsTransparent property Gets or sets a value indicating whether the unity is clear. ```csharp public bool? VideoAlphaUnityIsTransparent { get; set; } ``` ##### Property Value `true`, if unity is clear; otherwise, it is opaque. ### VideoFrameRate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/videoframerate.md #### XmpDynamicMediaPackage.VideoFrameRate property Gets or sets the video frame rate. ```csharp public double? VideoFrameRate { get; set; } ``` ##### Property Value The video frame rate. ### VideoFrameSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/videoframesize.md #### XmpDynamicMediaPackage.VideoFrameSize property Gets or sets the frame size. ```csharp public XmpDimensions VideoFrameSize { get; set; } ``` ##### Property Value The frame size. ### VideoPixelAspectRatio Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/videopixelaspectratio.md #### XmpDynamicMediaPackage.VideoPixelAspectRatio property Gets or sets the aspect ratio, expressed as wd/ht. ```csharp public XmpRational VideoPixelAspectRatio { get; set; } ``` ##### Property Value The aspect ratio, expressed as wd/ht. ### XmpDynamicMediaPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/xmpdynamicmediapackage.md #### XmpDynamicMediaPackage constructor Initializes a new instance of the `XmpDynamicMediaPackage` class. ```csharp public XmpDynamicMediaPackage() ``` ### XmpIptcCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage.md #### XmpIptcCorePackage class Represents the IPTC Core XMP package. ```csharp public sealed class XmpIptcCorePackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpIptcCorePackage() | Initializes a new instance of the `XmpIptcCorePackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | CountryCode { get; set; } | Gets or sets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. | | IntellectualGenre { get; set; } | Gets or sets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Location { get; set; } | Gets or sets the location the content is focusing on. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Scenes { get; set; } | Gets or sets the scene of the photo content. | | SubjectCodes { get; set; } | Gets or sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | virtual Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### CountryCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/countrycode.md #### XmpIptcCorePackage.CountryCode property Gets or sets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. ```csharp public string CountryCode { get; set; } ``` ##### Property Value The country code. ### IntellectualGenre Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/intellectualgenre.md #### XmpIptcCorePackage.IntellectualGenre property Gets or sets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. ```csharp public string IntellectualGenre { get; set; } ``` ##### Property Value The intellectual genre. ### Location Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/location.md #### XmpIptcCorePackage.Location property Gets or sets the location the content is focusing on. ```csharp public string Location { get; set; } ``` ##### Property Value The location. ##### Remarks This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy. ### Scenes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/scenes.md #### XmpIptcCorePackage.Scenes property Gets or sets the scene of the photo content. ```csharp public string[] Scenes { get; set; } ``` ##### Property Value The scene codes. ##### Remarks Specifies one or more terms from the IPTC "Scene-NewsCodes". Each Scene is represented as a string of 6 digits in an unordered list ### SubjectCodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/subjectcodes.md #### XmpIptcCorePackage.SubjectCodes property Gets or sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. ```csharp public string[] SubjectCodes { get; set; } ``` ##### Property Value The subject codes. ##### Remarks More about IPTC Subject-NewsCodes at http://www.newscodes.org. ### XmpIptcCorePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/xmpiptccorepackage.md #### XmpIptcCorePackage constructor Initializes a new instance of the `XmpIptcCorePackage` class. ```csharp public XmpIptcCorePackage() ``` ### XmpIptcExtensionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage.md #### XmpIptcExtensionPackage class Represents the IPTC Extension XMP package. ```csharp public sealed class XmpIptcExtensionPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpIptcExtensionPackage() | Initializes a new instance of the `XmpIptcExtensionPackage` class. | #### Properties | Name | Description | | --- | --- | | AdditionalModelInformation { get; set; } | Gets or sets the information about the ethnicity and other facets of the model(s) in a model-released image. | | AgesOfModels { get; set; } | Gets or sets ages of the human models at the time this image was taken in a model released image. | | Count { get; } | Gets the number of metadata properties. | | DigitalImageGuid { get; set; } | Gets or sets the globally unique identifier for this digital image. | | DigitalSourceType { get; set; } | Gets or sets the type of the source of this digital image. | | Event { get; set; } | Gets or sets the description of the specific event at which the photo was taken. | | IptcLastEdited { get; set; } | Gets or sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MaxAvailableHeight { get; set; } | Gets or sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. | | MaxAvailableWidth { get; set; } | Gets or sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | OrganisationInImageCodes { get; set; } | Gets or sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. | | OrganisationInImageNames { get; set; } | Gets or sets names of the organisations or companies which are featured in the image. | | PersonsInImage { get; set; } | Gets or sets names of the persons the content of the item is about. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Sets string property. | | override Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AdditionalModelInformation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/additionalmodelinformation.md #### XmpIptcExtensionPackage.AdditionalModelInformation property Gets or sets the information about the ethnicity and other facets of the model(s) in a model-released image. ```csharp public string AdditionalModelInformation { get; set; } ``` ##### Property Value The additional model information. ### AgesOfModels Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/agesofmodels.md #### XmpIptcExtensionPackage.AgesOfModels property Gets or sets ages of the human models at the time this image was taken in a model released image. ```csharp public int[] AgesOfModels { get; set; } ``` ##### Property Value Ages of the models. ### DigitalImageGuid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/digitalimageguid.md #### XmpIptcExtensionPackage.DigitalImageGuid property Gets or sets the globally unique identifier for this digital image. ```csharp public string DigitalImageGuid { get; set; } ``` ##### Property Value The image GUID. ##### Remarks It is created and applied by the creator of the digital image at the time of its creation. This value shall not be changed after that time. ### DigitalSourceType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/digitalsourcetype.md #### XmpIptcExtensionPackage.DigitalSourceType property Gets or sets the type of the source of this digital image. ```csharp public string DigitalSourceType { get; set; } ``` ##### Property Value The type of the source digital file. ### Event Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/event.md #### XmpIptcExtensionPackage.Event property Gets or sets the description of the specific event at which the photo was taken. ```csharp public XmpLangAlt Event { get; set; } ``` ##### Property Value The specific event at which the photo was taken. ### IptcLastEdited Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/iptclastedited.md #### XmpIptcExtensionPackage.IptcLastEdited property Gets or sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. ```csharp public DateTime? IptcLastEdited { get; set; } ``` ##### Property Value The last edited date. ### MaxAvailableHeight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/maxavailableheight.md #### XmpIptcExtensionPackage.MaxAvailableHeight property Gets or sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. ```csharp public int? MaxAvailableHeight { get; set; } ``` ##### Property Value The maximum available height. ### MaxAvailableWidth Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/maxavailablewidth.md #### XmpIptcExtensionPackage.MaxAvailableWidth property Gets or sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. ```csharp public int? MaxAvailableWidth { get; set; } ``` ##### Property Value The maximum available width. ### OrganisationInImageCodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/organisationinimagecodes.md #### XmpIptcExtensionPackage.OrganisationInImageCodes property Gets or sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. ```csharp public string[] OrganisationInImageCodes { get; set; } ``` ##### Property Value The codes of the organisations. ### OrganisationInImageNames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/organisationinimagenames.md #### XmpIptcExtensionPackage.OrganisationInImageNames property Gets or sets names of the organisations or companies which are featured in the image. ```csharp public string[] OrganisationInImageNames { get; set; } ``` ##### Property Value Names of the organisations. ### PersonsInImage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/personsinimage.md #### XmpIptcExtensionPackage.PersonsInImage property Gets or sets names of the persons the content of the item is about. ```csharp public string[] PersonsInImage { get; set; } ``` ##### Property Value Names of the persons that are shown in the image. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/set.md #### Set(string, string) Sets string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | #### Set(string, XmpArray) Sets the value inherited from `XmpArray` . ```csharp public override void Set(string name, XmpArray value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpIptcExtensionPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/xmpiptcextensionpackage.md #### XmpIptcExtensionPackage constructor Initializes a new instance of the `XmpIptcExtensionPackage` class. ```csharp public XmpIptcExtensionPackage() ``` ### XmpIptcIimPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage.md #### XmpIptcIimPackage class Represents the IPTC-IIM XMP package. ```csharp public sealed class XmpIptcIimPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpIptcIimPackage() | Initializes a new instance of the `XmpIptcIimPackage` class. | #### Properties | Name | Description | | --- | --- | | ActionAdvised { get; set; } | Gets or sets the type of action that this object provides to a previous object. | | Category { get; set; } | Gets or sets the subject of the object data in the opinion of the provider. | | ContentLocationCodes { get; set; } | Gets or sets the content location codes. | | ContentLocationNames { get; set; } | Gets or sets the content location names. | | Count { get; } | Gets the number of metadata properties. | | DateSent { get; set; } | Gets or sets the date the service sent the material. | | Destination { get; set; } | Gets or sets the destination. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. | | DigitalCreationDate { get; set; } | Gets or sets the date the digital representation of the object data was created. | | EditStatus { get; set; } | Gets or sets the status of the object data, according to the practice of the provider. | | EnvelopeNumber { get; set; } | Gets or sets the envelope number. | | EnvelopePriority { get; set; } | Gets or sets the envelope handling priority. | | ExpirationDate { get; set; } | Gets or sets the latest date the provider or owner intends the object data to be used. | | FileFormat { get; set; } | Gets or sets the binary number identifying the version of the Information | | FileFormatVersion { get; set; } | Gets or sets the file format version. | | FixtureIdentifier { get; set; } | Gets or sets the object data that recurs often and predictably. | | ImageOrientation { get; set; } | Gets or sets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). | | ImageType { get; set; } | Gets or sets the type of the image. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LanguageIdentifier { get; set; } | Gets or sets the language identifier according to the 2-letter codes of ISO 639:1988. | | MetadataType { get; } | Gets the metadata type. | | ModelVersion { get; set; } | Gets or sets the binary number identifying the version of the Information | | NamespaceUri { get; } | Gets the namespace URI. | | ObjectTypeReference { get; set; } | Gets or sets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. | | OriginatingProgram { get; set; } | Gets or sets the type of program used to originate the object data. | | Prefix { get; } | Gets the xmlns prefix. | | ProductIDs { get; set; } | Gets or sets the product identifiers. | | ProgramVersion { get; set; } | Gets or sets the program version. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | ReferenceDate { get; set; } | Gets or sets the date of a prior envelope to which the current object refers. | | ReferenceNumber { get; set; } | Gets or sets the Envelope Number of a prior envelope to which the current object refers. | | ReferenceService { get; set; } | Gets or sets the Service Identifier of a prior envelope to which the current object refers. | | ReleaseDate { get; set; } | Gets or sets the earliest date the provider intends the object to be used. | | ServiceIdentifier { get; set; } | Gets or sets the service identifier. Identifies the provider and product. | | SupplementalCategories { get; set; } | Gets or sets the supplemental categories. | | UniqueNameOfObject { get; set; } | Gets or sets the unique name of the object. | | Urgency { get; set; } | Gets or sets the editorial urgency of the content. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ActionAdvised Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/actionadvised.md #### XmpIptcIimPackage.ActionAdvised property Gets or sets the type of action that this object provides to a previous object. ```csharp public string ActionAdvised { get; set; } ``` ##### Property Value The type of action. ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/category.md #### XmpIptcIimPackage.Category property Gets or sets the subject of the object data in the opinion of the provider. ```csharp public string Category { get; set; } ``` ##### Property Value The category. ### ContentLocationCodes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/contentlocationcodes.md #### XmpIptcIimPackage.ContentLocationCodes property Gets or sets the content location codes. ```csharp public string[] ContentLocationCodes { get; set; } ``` ##### Property Value The content location codes. ##### Remarks Indicates the code of a country/geographical location referenced by the content of the object. ### ContentLocationNames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/contentlocationnames.md #### XmpIptcIimPackage.ContentLocationNames property Gets or sets the content location names. ```csharp public string[] ContentLocationNames { get; set; } ``` ##### Property Value The content location names. ##### Remarks Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. ### DateSent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/datesent.md #### XmpIptcIimPackage.DateSent property Gets or sets the date the service sent the material. ```csharp public DateTime? DateSent { get; set; } ``` ##### Property Value The date sent. ### Destination Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/destination.md #### XmpIptcIimPackage.Destination property Gets or sets the destination. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. ```csharp public string[] Destination { get; set; } ``` ##### Property Value The destination. ### DigitalCreationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/digitalcreationdate.md #### XmpIptcIimPackage.DigitalCreationDate property Gets or sets the date the digital representation of the object data was created. ```csharp public DateTime? DigitalCreationDate { get; set; } ``` ##### Property Value The digital creation date. ### EditStatus Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/editstatus.md #### XmpIptcIimPackage.EditStatus property Gets or sets the status of the object data, according to the practice of the provider. ```csharp public string EditStatus { get; set; } ``` ##### Property Value The edit status. ### EnvelopeNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/envelopenumber.md #### XmpIptcIimPackage.EnvelopeNumber property Gets or sets the envelope number. ```csharp public string EnvelopeNumber { get; set; } ``` ##### Property Value The envelope number. ### EnvelopePriority Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/envelopepriority.md #### XmpIptcIimPackage.EnvelopePriority property Gets or sets the envelope handling priority. ```csharp public int? EnvelopePriority { get; set; } ``` ##### Property Value The envelope priority. ### ExpirationDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/expirationdate.md #### XmpIptcIimPackage.ExpirationDate property Gets or sets the latest date the provider or owner intends the object data to be used. ```csharp public DateTime? ExpirationDate { get; set; } ``` ##### Property Value The expiration date. ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/fileformat.md #### XmpIptcIimPackage.FileFormat property Gets or sets the binary number identifying the version of the Information ```csharp public int? FileFormat { get; set; } ``` ##### Property Value The file format. ### FileFormatVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/fileformatversion.md #### XmpIptcIimPackage.FileFormatVersion property Gets or sets the file format version. ```csharp public int? FileFormatVersion { get; set; } ``` ##### Property Value The file format version. ### FixtureIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/fixtureidentifier.md #### XmpIptcIimPackage.FixtureIdentifier property Gets or sets the object data that recurs often and predictably. ```csharp public string FixtureIdentifier { get; set; } ``` ##### Property Value The fixture identifier. ### ImageOrientation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/imageorientation.md #### XmpIptcIimPackage.ImageOrientation property Gets or sets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). ```csharp public string ImageOrientation { get; set; } ``` ##### Property Value The image orientation. ### ImageType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/imagetype.md #### XmpIptcIimPackage.ImageType property Gets or sets the type of the image. ```csharp public string ImageType { get; set; } ``` ##### Property Value The type of the image. ##### Remarks The first is a numeric character and the second is an alphabetic character. ### LanguageIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/languageidentifier.md #### XmpIptcIimPackage.LanguageIdentifier property Gets or sets the language identifier according to the 2-letter codes of ISO 639:1988. ```csharp public string LanguageIdentifier { get; set; } ``` ##### Property Value The language identifier. ### ModelVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/modelversion.md #### XmpIptcIimPackage.ModelVersion property Gets or sets the binary number identifying the version of the Information ```csharp public int? ModelVersion { get; set; } ``` ##### Property Value The model version. ### ObjectTypeReference Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/objecttypereference.md #### XmpIptcIimPackage.ObjectTypeReference property Gets or sets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. ```csharp public string ObjectTypeReference { get; set; } ``` ##### Property Value The object type reference. ### OriginatingProgram Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/originatingprogram.md #### XmpIptcIimPackage.OriginatingProgram property Gets or sets the type of program used to originate the object data. ```csharp public string OriginatingProgram { get; set; } ``` ##### Property Value The originating program. ### ProductIDs Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/productids.md #### XmpIptcIimPackage.ProductIDs property Gets or sets the product identifiers. ```csharp public string[] ProductIDs { get; set; } ``` ##### Property Value The product identifier. ##### Remarks Used to provide receiving organization data on which to select, route, or otherwise handle data. ### ProgramVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/programversion.md #### XmpIptcIimPackage.ProgramVersion property Gets or sets the program version. ```csharp public string ProgramVersion { get; set; } ``` ##### Property Value The program version. ### ReferenceDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/referencedate.md #### XmpIptcIimPackage.ReferenceDate property Gets or sets the date of a prior envelope to which the current object refers. ```csharp public DateTime? ReferenceDate { get; set; } ``` ##### Property Value The reference date. ### ReferenceNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/referencenumber.md #### XmpIptcIimPackage.ReferenceNumber property Gets or sets the Envelope Number of a prior envelope to which the current object refers. ```csharp public string ReferenceNumber { get; set; } ``` ##### Property Value The reference number. ### ReferenceService Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/referenceservice.md #### XmpIptcIimPackage.ReferenceService property Gets or sets the Service Identifier of a prior envelope to which the current object refers. ```csharp public string ReferenceService { get; set; } ``` ##### Property Value The reference service. ### ReleaseDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/releasedate.md #### XmpIptcIimPackage.ReleaseDate property Gets or sets the earliest date the provider intends the object to be used. ```csharp public DateTime? ReleaseDate { get; set; } ``` ##### Property Value The release date. ### ServiceIdentifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/serviceidentifier.md #### XmpIptcIimPackage.ServiceIdentifier property Gets or sets the service identifier. Identifies the provider and product. ```csharp public string ServiceIdentifier { get; set; } ``` ##### Property Value The service identifier. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/set.md #### XmpIptcIimPackage.Set method Sets string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | ### SupplementalCategories Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/supplementalcategories.md #### XmpIptcIimPackage.SupplementalCategories property Gets or sets the supplemental categories. ```csharp public string[] SupplementalCategories { get; set; } ``` ##### Property Value The supplemental categories. ### UniqueNameOfObject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/uniquenameofobject.md #### XmpIptcIimPackage.UniqueNameOfObject property Gets or sets the unique name of the object. ```csharp public string UniqueNameOfObject { get; set; } ``` ##### Property Value The unique name of the object. ### Urgency Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/urgency.md #### XmpIptcIimPackage.Urgency property Gets or sets the editorial urgency of the content. ```csharp public int? Urgency { get; set; } ``` ##### Property Value The urgency. ### XmpIptcIimPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/xmpiptciimpackage.md #### XmpIptcIimPackage constructor Initializes a new instance of the `XmpIptcIimPackage` class. ```csharp public XmpIptcIimPackage() ``` ### XmpMediaManagementPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage.md #### XmpMediaManagementPackage class Represents the XMP Media Management namespace. ```csharp public sealed class XmpMediaManagementPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpMediaManagementPackage() | Initializes a new instance of the `XmpMediaManagementPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | DerivedFrom { get; set; } | Gets or sets the reference to the resource from which this one is derived. | | DocumentID { get; set; } | Gets or sets the common identifier for all versions and renditions of the resource. | | History { get; set; } | Gets or sets an array of high-level actions that resulted in this resource. | | Ingredients { get; set; } | Gets or sets the references to resources that were incorporated, by inclusion or reference, into this resource. | | InstanceID { get; set; } | Gets or sets the identifier for a specific incarnation of a resource, updated each time the file is saved. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | ManagedFrom { get; set; } | Gets or sets the reference to the document as it was prior to becoming managed. | | Manager { get; set; } | Gets or sets the name of the asset management system that manages this resource. | | ManagerVariant { get; set; } | Gets or sets the particular variant of the asset management system. | | ManageTo { get; set; } | Gets or sets the URI identifying the managed resource to the asset management system | | ManageUI { get; set; } | Gets or sets the URI that can be used to access information about the managed resource through a web browser. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | OriginalDocumentID { get; set; } | Gets or sets the common identifier for the original resource from which the current resource is derived. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RenditionClass { get; set; } | Gets or sets the rendition class name for this resource. | | RenditionParams { get; set; } | Gets or sets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. | | VersionID { get; set; } | Gets or sets the document version identifier for this resource. | | Versions { get; set; } | Gets or sets the version history associated with this resource. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | virtual Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### DerivedFrom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/derivedfrom.md #### XmpMediaManagementPackage.DerivedFrom property Gets or sets the reference to the resource from which this one is derived. ```csharp public XmpResourceRef DerivedFrom { get; set; } ``` ##### Property Value The the reference to the resource from which this one is derived. ### DocumentID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/documentid.md #### XmpMediaManagementPackage.DocumentID property Gets or sets the common identifier for all versions and renditions of the resource. ```csharp public string DocumentID { get; set; } ``` ##### Property Value The common identifier for all versions and renditions of the resource. ### History Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/history.md #### XmpMediaManagementPackage.History property Gets or sets an array of high-level actions that resulted in this resource. ```csharp public XmpResourceEvent[] History { get; set; } ``` ##### Property Value An array of high-level actions that resulted in this resource. ### Ingredients Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/ingredients.md #### XmpMediaManagementPackage.Ingredients property Gets or sets the references to resources that were incorporated, by inclusion or reference, into this resource. ```csharp public XmpResourceRef[] Ingredients { get; set; } ``` ##### Property Value The references to resources that were incorporated, by inclusion or reference, into this resource. ### InstanceID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/instanceid.md #### XmpMediaManagementPackage.InstanceID property Gets or sets the identifier for a specific incarnation of a resource, updated each time the file is saved. ```csharp public string InstanceID { get; set; } ``` ##### Property Value The identifier for a specific incarnation of a resource, updated each time a file is saved. ### ManagedFrom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/managedfrom.md #### XmpMediaManagementPackage.ManagedFrom property Gets or sets the reference to the document as it was prior to becoming managed. ```csharp public XmpResourceRef ManagedFrom { get; set; } ``` ##### Property Value The reference to the document as it was prior to becoming managed. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/manager.md #### XmpMediaManagementPackage.Manager property Gets or sets the name of the asset management system that manages this resource. ```csharp public string Manager { get; set; } ``` ##### Property Value The name of the asset management system that manages this resource. ### ManagerVariant Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/managervariant.md #### XmpMediaManagementPackage.ManagerVariant property Gets or sets the particular variant of the asset management system. ```csharp public string ManagerVariant { get; set; } ``` ##### Property Value The particular variant of the asset management system. The format of this property is private to the specific asset management system. ### ManageTo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/manageto.md #### XmpMediaManagementPackage.ManageTo property Gets or sets the URI identifying the managed resource to the asset management system ```csharp public string ManageTo { get; set; } ``` ##### Property Value The URI identifying the managed resource to the asset management system. ### ManageUI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/manageui.md #### XmpMediaManagementPackage.ManageUI property Gets or sets the URI that can be used to access information about the managed resource through a web browser. ```csharp public string ManageUI { get; set; } ``` ##### Property Value The URI that can be used to access information about the managed resource through a web browser. ### OriginalDocumentID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/originaldocumentid.md #### XmpMediaManagementPackage.OriginalDocumentID property Gets or sets the common identifier for the original resource from which the current resource is derived. ```csharp public string OriginalDocumentID { get; set; } ``` ##### Property Value The common identifier for the original resource from which the current resource is derived ### RenditionClass Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/renditionclass.md #### XmpMediaManagementPackage.RenditionClass property Gets or sets the rendition class name for this resource. ```csharp public string RenditionClass { get; set; } ``` ##### Property Value The rendition class name for this resource. This property should be absent or set to default for a resource that is not a derived rendition. ### RenditionParams Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/renditionparams.md #### XmpMediaManagementPackage.RenditionParams property Gets or sets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. ```csharp public string RenditionParams { get; set; } ``` ##### Property Value The value that is used to provide additional rendition parameters. ### VersionID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/versionid.md #### XmpMediaManagementPackage.VersionID property Gets or sets the document version identifier for this resource. ```csharp public string VersionID { get; set; } ``` ##### Property Value The document version identifier for this resource. ### Versions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/versions.md #### XmpMediaManagementPackage.Versions property Gets or sets the version history associated with this resource. ```csharp public XmpVersion[] Versions { get; set; } ``` ##### Property Value The version history associated with this resource. Entry [0] is the oldest known version for this document, entry [Versions.Length - 1] is the most recent version. ### XmpMediaManagementPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/xmpmediamanagementpackage.md #### XmpMediaManagementPackage constructor Initializes a new instance of the `XmpMediaManagementPackage` class. ```csharp public XmpMediaManagementPackage() ``` ### XmpPagedTextPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage.md #### XmpPagedTextPackage class Represents the XMP Paged-Text package. ```csharp public sealed class XmpPagedTextPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpPagedTextPackage() | Initializes a new instance of the `XmpPagedTextPackage` class. | #### Properties | Name | Description | | --- | --- | | Colorants { get; set; } | Gets or sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). | | Count { get; } | Gets the number of metadata properties. | | Fonts { get; set; } | Gets or sets an unordered array of fonts that are used in the document (including any in contained documents). | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MaxPageSize { get; set; } | Gets or sets the size of the largest page in the document (including any in contained documents). | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | NumberOfPages { get; set; } | Gets or sets the number of pages in the document. | | PlateNames { get; set; } | Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Sets string property. | | override Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Colorants Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/colorants.md #### XmpPagedTextPackage.Colorants property Gets or sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). ```csharp public XmpColorantBase[] Colorants { get; set; } ``` ##### Property Value An array of the colorants. ### Fonts Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/fonts.md #### XmpPagedTextPackage.Fonts property Gets or sets an unordered array of fonts that are used in the document (including any in contained documents). ```csharp public XmpFont[] Fonts { get; set; } ``` ##### Property Value An array of the fonts. ### MaxPageSize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/maxpagesize.md #### XmpPagedTextPackage.MaxPageSize property Gets or sets the size of the largest page in the document (including any in contained documents). ```csharp public XmpDimensions MaxPageSize { get; set; } ``` ##### Property Value The size of the largest page. ### NumberOfPages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/numberofpages.md #### XmpPagedTextPackage.NumberOfPages property Gets or sets the number of pages in the document. ```csharp public int? NumberOfPages { get; set; } ``` ##### Property Value The number of pages. ### PlateNames Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/platenames.md #### XmpPagedTextPackage.PlateNames property Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). ```csharp public string[] PlateNames { get; set; } ``` ##### Property Value The plate names. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/set.md #### Set(string, string) Sets string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | #### Set(string, XmpArray) Sets the value inherited from `XmpArray` . ```csharp public override void Set(string name, XmpArray value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpPagedTextPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/xmppagedtextpackage.md #### XmpPagedTextPackage constructor Initializes a new instance of the `XmpPagedTextPackage` class. ```csharp public XmpPagedTextPackage() ``` ### XmpPdfPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage.md #### XmpPdfPackage class Specifies properties used with Adobe PDF documents. ```csharp public sealed class XmpPdfPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpPdfPackage() | Initializes a new instance of the `XmpPdfPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | IsTrapped { get; set; } | Gets or sets a value indicating whether the document has been trapped. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Keywords { get; set; } | Gets or sets the keywords. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | PdfVersion { get; set; } | Gets or sets the PDF file version. For example, 1.0, 1.3 and so on. | | Prefix { get; } | Gets the xmlns prefix. | | Producer { get; set; } | Gets or sets the name of the tool that created the PDF document. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### IsTrapped Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/istrapped.md #### XmpPdfPackage.IsTrapped property Gets or sets a value indicating whether the document has been trapped. ```csharp public bool? IsTrapped { get; set; } ``` ##### Property Value `true` if the document has been trapped; otherwise, `false`. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/keywords.md #### XmpPdfPackage.Keywords property Gets or sets the keywords. ```csharp public string Keywords { get; set; } ``` ##### Property Value The keywords. ### PdfVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/pdfversion.md #### XmpPdfPackage.PdfVersion property Gets or sets the PDF file version. For example, 1.0, 1.3 and so on. ```csharp public string PdfVersion { get; set; } ``` ##### Property Value The PDF version. ### Producer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/producer.md #### XmpPdfPackage.Producer property Gets or sets the name of the tool that created the PDF document. ```csharp public string Producer { get; set; } ``` ##### Property Value The producer. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/set.md #### XmpPdfPackage.Set method Sets string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | ### XmpPdfPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/xmppdfpackage.md #### XmpPdfPackage constructor Initializes a new instance of the `XmpPdfPackage` class. ```csharp public XmpPdfPackage() ``` ### XmpPhotoshopColorMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshopcolormode.md #### XmpPhotoshopColorMode enumeration Represents a color mode in `XmpPhotoshopPackage`. ```csharp public enum XmpPhotoshopColorMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Bitmap | `0` | The bitmap color mode. | | GrayScale | `1` | The gray scale color mode. | | IndexedColor | `2` | The indexed color. | | Rgb | `3` | The RGB color mode. | | Cmyk | `4` | The CMYK color mode. | | MultiChannel | `7` | The multi-channel color mode. | | Duotone | `8` | The duo-tone color mode. | | LabColor | `9` | The LAB color mode. | ### XmpPhotoshopPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage.md #### XmpPhotoshopPackage class Represents Adobe Photoshop namespace. ```csharp public sealed class XmpPhotoshopPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpPhotoshopPackage() | Initializes a new instance of the `XmpPhotoshopPackage` class. | #### Properties | Name | Description | | --- | --- | | AuthorsPosition { get; set; } | Gets or sets the by-line title. | | CaptionWriter { get; set; } | Gets or sets the writer/editor. | | Category { get; set; } | Gets or sets the category. Limited to 3 7-bit ASCII characters. | | City { get; set; } | Gets or sets the city. | | ColorMode { get; set; } | Gets or sets the color mode. | | Count { get; } | Gets the number of metadata properties. | | Country { get; set; } | Gets or sets the country. | | Credit { get; set; } | Gets or sets the credit. | | DateCreated { get; set; } | Gets or sets the date the intellectual content of the document was created. | | Headline { get; set; } | Gets or sets the headline. | | History { get; set; } | Gets or sets the history that appears in the FileInfo panel, if activated in the application preferences. | | IccProfile { get; set; } | Gets or sets the color profile, such as AppleRGB, AdobeRGB1998. | | Instructions { get; set; } | Gets or sets the special instructions. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Source { get; set; } | Gets or sets the source. | | State { get; set; } | Gets or sets the province/state. | | SupplementalCategories { get; set; } | Gets or sets the supplemental categories. | | TransmissionReference { get; set; } | Gets or sets the original transmission reference. | | Urgency { get; set; } | Gets or sets the urgency. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | #### Fields | Name | Description | | --- | --- | | const UrgencyMax | Urgency max value. | | const UrgencyMin | Urgency min value. | ### AuthorsPosition Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/authorsposition.md #### XmpPhotoshopPackage.AuthorsPosition property Gets or sets the by-line title. ```csharp public string AuthorsPosition { get; set; } ``` ##### Property Value The authors position. ### CaptionWriter Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/captionwriter.md #### XmpPhotoshopPackage.CaptionWriter property Gets or sets the writer/editor. ```csharp public string CaptionWriter { get; set; } ``` ##### Property Value The caption writer. ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/category.md #### XmpPhotoshopPackage.Category property Gets or sets the category. Limited to 3 7-bit ASCII characters. ```csharp public string Category { get; set; } ``` ##### Property Value The category. Limited to 3 ASCII characters. ### City Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/city.md #### XmpPhotoshopPackage.City property Gets or sets the city. ```csharp public string City { get; set; } ``` ##### Property Value The city. ### ColorMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/colormode.md #### XmpPhotoshopPackage.ColorMode property Gets or sets the color mode. ```csharp public XmpPhotoshopColorMode? ColorMode { get; set; } ``` ##### Property Value The color mode. ### Country Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/country.md #### XmpPhotoshopPackage.Country property Gets or sets the country. ```csharp public string Country { get; set; } ``` ##### Property Value The country. ### Credit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/credit.md #### XmpPhotoshopPackage.Credit property Gets or sets the credit. ```csharp public string Credit { get; set; } ``` ##### Property Value The credit. ### DateCreated Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/datecreated.md #### XmpPhotoshopPackage.DateCreated property Gets or sets the date the intellectual content of the document was created. ```csharp public DateTime? DateCreated { get; set; } ``` ##### Property Value The created date of the document. ### Headline Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/headline.md #### XmpPhotoshopPackage.Headline property Gets or sets the headline. ```csharp public string Headline { get; set; } ``` ##### Property Value The headline. ### History Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/history.md #### XmpPhotoshopPackage.History property Gets or sets the history that appears in the FileInfo panel, if activated in the application preferences. ```csharp public string History { get; set; } ``` ##### Property Value The history. ### IccProfile Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/iccprofile.md #### XmpPhotoshopPackage.IccProfile property Gets or sets the color profile, such as AppleRGB, AdobeRGB1998. ```csharp public string IccProfile { get; set; } ``` ##### Property Value The ICC profile. ### Instructions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/instructions.md #### XmpPhotoshopPackage.Instructions property Gets or sets the special instructions. ```csharp public string Instructions { get; set; } ``` ##### Property Value The special instructions. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/set.md #### XmpPhotoshopPackage.Set method Sets string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | ### Source Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/source.md #### XmpPhotoshopPackage.Source property Gets or sets the source. ```csharp public string Source { get; set; } ``` ##### Property Value The source. ### State Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/state.md #### XmpPhotoshopPackage.State property Gets or sets the province/state. ```csharp public string State { get; set; } ``` ##### Property Value The province/state. ### SupplementalCategories Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/supplementalcategories.md #### XmpPhotoshopPackage.SupplementalCategories property Gets or sets the supplemental categories. ```csharp public string[] SupplementalCategories { get; set; } ``` ##### Property Value The supplemental categories. ### TransmissionReference Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/transmissionreference.md #### XmpPhotoshopPackage.TransmissionReference property Gets or sets the original transmission reference. ```csharp public string TransmissionReference { get; set; } ``` ##### Property Value The transmission reference. ### Urgency Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/urgency.md #### XmpPhotoshopPackage.Urgency property Gets or sets the urgency. ```csharp public int? Urgency { get; set; } ``` ##### Property Value The urgency. ##### Remarks Valid range is 1-8. ### UrgencyMax Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/urgencymax.md #### XmpPhotoshopPackage.UrgencyMax field Urgency max value. ```csharp public const int UrgencyMax; ``` ### UrgencyMin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/urgencymin.md #### XmpPhotoshopPackage.UrgencyMin field Urgency min value. ```csharp public const int UrgencyMin; ``` ### XmpPhotoshopPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/xmpphotoshoppackage.md #### XmpPhotoshopPackage constructor Initializes a new instance of the `XmpPhotoshopPackage` class. ```csharp public XmpPhotoshopPackage() ``` ### XmpRightsManagementPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage.md #### XmpRightsManagementPackage class Represents XMP Rights Management namespace. ```csharp public sealed class XmpRightsManagementPackage : XmpPackage ``` #### Constructors | Name | Description | | --- | --- | | XmpRightsManagementPackage() | Initializes a new instance of the `XmpRightsManagementPackage` class. | #### Properties | Name | Description | | --- | --- | | Certificate { get; set; } | Gets or sets the Web URL for a rights management certificate. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Marked { get; set; } | Gets or sets a value indicating whether this is a rights-managed resource. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | Owners { get; set; } | Gets or sets the legal owners. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | UsageTerms { get; set; } | Gets or sets the instructions on how the resource can be legally used, given in a variety of languages. | | WebStatement { get; set; } | Gets or sets the Web URL for a statement of the ownership and usage rights for this resource. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | override Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Certificate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/certificate.md #### XmpRightsManagementPackage.Certificate property Gets or sets the Web URL for a rights management certificate. ```csharp public string Certificate { get; set; } ``` ##### Property Value The Web URL for a rights management certificate. ### Marked Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/marked.md #### XmpRightsManagementPackage.Marked property Gets or sets a value indicating whether this is a rights-managed resource. ```csharp public bool? Marked { get; set; } ``` ##### Property Value `true` if the resource is rights-managed; otherwise `false`. When false, indicates that this is a public-domain resource. Omit if the state is unknown. ### Owners Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/owners.md #### XmpRightsManagementPackage.Owners property Gets or sets the legal owners. ```csharp public string[] Owners { get; set; } ``` ##### Property Value The legal owners. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/set.md #### XmpRightsManagementPackage.Set method Sets string property. ```csharp public override void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | ### UsageTerms Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/usageterms.md #### XmpRightsManagementPackage.UsageTerms property Gets or sets the instructions on how the resource can be legally used, given in a variety of languages. ```csharp public XmpLangAlt UsageTerms { get; set; } ``` ##### Property Value The instructions on how the resource can be legally used, given in a variety of languages. ### WebStatement Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/webstatement.md #### XmpRightsManagementPackage.WebStatement property Gets or sets the Web URL for a statement of the ownership and usage rights for this resource. ```csharp public string WebStatement { get; set; } ``` ##### Property Value The Web URL for a statement of the ownership and usage rights for this resource. ### XmpRightsManagementPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/xmprightsmanagementpackage.md #### XmpRightsManagementPackage constructor Initializes a new instance of the `XmpRightsManagementPackage` class. ```csharp public XmpRightsManagementPackage() ``` ### XmpTimeFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat.md #### XmpTimeFormat class Represents time format in `XmpTimecode`. ```csharp public sealed class XmpTimeFormat : XmpClosedChoice ``` #### Properties | Name | Description | | --- | --- | | static DropTimecode2997 { get; } | Gets 2997DropTimecode. | | static DropTimecode5994 { get; } | Gets 5994DropTimecode. | | static NonDropTimecode2997 { get; } | Gets 2997NonDropTimecode. | | static NonDropTimecode5994 { get; } | Gets 5994NonDropTimecode. | | static Timecode23976 { get; } | Gets 23976Timecode. | | static Timecode24 { get; } | Gets 24Timecode. | | static Timecode25 { get; } | Gets 25Timecode. | | static Timecode30 { get; } | Gets 30Timecode. | | static Timecode50 { get; } | Gets 50Timecode. | | static Timecode60 { get; } | Gets 60Timecode. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | | | Equals(XmpClosedChoice<string>) | | | override GetHashCode() | | | override ToString() | | ### DropTimecode2997 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/droptimecode2997.md #### XmpTimeFormat.DropTimecode2997 property Gets 2997DropTimecode. ```csharp public static XmpTimeFormat DropTimecode2997 { get; } ``` ##### Property Value The drop timecode2997. ### DropTimecode5994 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/droptimecode5994.md #### XmpTimeFormat.DropTimecode5994 property Gets 5994DropTimecode. ```csharp public static XmpTimeFormat DropTimecode5994 { get; } ``` ##### Property Value The 5994DropTimecode. ### NonDropTimecode2997 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/nondroptimecode2997.md #### XmpTimeFormat.NonDropTimecode2997 property Gets 2997NonDropTimecode. ```csharp public static XmpTimeFormat NonDropTimecode2997 { get; } ``` ### NonDropTimecode5994 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/nondroptimecode5994.md #### XmpTimeFormat.NonDropTimecode5994 property Gets 5994NonDropTimecode. ```csharp public static XmpTimeFormat NonDropTimecode5994 { get; } ``` ##### Property Value The 5994NonDropTimecode. ### Timecode23976 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode23976.md #### XmpTimeFormat.Timecode23976 property Gets 23976Timecode. ```csharp public static XmpTimeFormat Timecode23976 { get; } ``` ##### Property Value The 23976Timecode. ### Timecode24 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode24.md #### XmpTimeFormat.Timecode24 property Gets 24Timecode. ```csharp public static XmpTimeFormat Timecode24 { get; } ``` ##### Property Value The 24Timecode. ### Timecode25 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode25.md #### XmpTimeFormat.Timecode25 property Gets 25Timecode. ```csharp public static XmpTimeFormat Timecode25 { get; } ``` ##### Property Value The 25Timecode. ### Timecode30 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode30.md #### XmpTimeFormat.Timecode30 property Gets 30Timecode. ```csharp public static XmpTimeFormat Timecode30 { get; } ``` ##### Property Value The 30Timecode. ### Timecode50 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode50.md #### XmpTimeFormat.Timecode50 property Gets 50Timecode. ```csharp public static XmpTimeFormat Timecode50 { get; } ``` ##### Property Value The 50Timecode. ### Timecode60 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode60.md #### XmpTimeFormat.Timecode60 property Gets 60Timecode. ```csharp public static XmpTimeFormat Timecode60 { get; } ``` ##### Property Value The 60Timecode. ### XmpWhiteBalance Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance.md #### XmpWhiteBalance class Represents the White Balance setting in `XmpCameraRawPackage`. ```csharp public sealed class XmpWhiteBalance : XmpClosedChoice ``` #### Properties | Name | Description | | --- | --- | | static AsShot { get; } | White balance: As Shot. | | static Auto { get; } | White balance: Auto. | | static Cloudy { get; } | White balance: Cloudy. | | static Custom { get; } | White balance: Custom. | | static Daylight { get; } | White balance: Daylight. | | static Flash { get; } | White balance: Flash. | | static Fluorescent { get; } | White balance: Fluorescent. | | static Shade { get; } | White balance: Shade. | | static Tungsten { get; } | White balance: Tungsten. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | | | Equals(XmpClosedChoice<string>) | | | override GetHashCode() | | | override ToString() | | ### AsShot Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/asshot.md #### XmpWhiteBalance.AsShot property White balance: As Shot. ```csharp public static XmpWhiteBalance AsShot { get; } ``` ##### Property Value As shot. ### Auto Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/auto.md #### XmpWhiteBalance.Auto property White balance: Auto. ```csharp public static XmpWhiteBalance Auto { get; } ``` ##### Property Value The automatic. ### Cloudy Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/cloudy.md #### XmpWhiteBalance.Cloudy property White balance: Cloudy. ```csharp public static XmpWhiteBalance Cloudy { get; } ``` ##### Property Value Cloudy. ### Custom Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/custom.md #### XmpWhiteBalance.Custom property White balance: Custom. ```csharp public static XmpWhiteBalance Custom { get; } ``` ##### Property Value Custom. ### Daylight Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/daylight.md #### XmpWhiteBalance.Daylight property White balance: Daylight. ```csharp public static XmpWhiteBalance Daylight { get; } ``` ##### Property Value Daylight. ### Flash Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/flash.md #### XmpWhiteBalance.Flash property White balance: Flash. ```csharp public static XmpWhiteBalance Flash { get; } ``` ##### Property Value Flash. ### Fluorescent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/fluorescent.md #### XmpWhiteBalance.Fluorescent property White balance: Fluorescent. ```csharp public static XmpWhiteBalance Fluorescent { get; } ``` ##### Property Value Fluorescent. ### Shade Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/shade.md #### XmpWhiteBalance.Shade property White balance: Shade. ```csharp public static XmpWhiteBalance Shade { get; } ``` ##### Property Value Shade. ### Tungsten Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/tungsten.md #### XmpWhiteBalance.Tungsten property White balance: Tungsten. ```csharp public static XmpWhiteBalance Tungsten { get; } ``` ##### Property Value Tungsten. ### GroupDocs.Metadata.Standards.Xmp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp.md The namespace provides functionality for XMP (Extensible Metadata Platform) metadata reading and writing. #### Classes | Class | Description | | --- | --- | | XmpArray | Represents base abstraction for XMP array. | | XmpBoolean | Represents XMP Boolean basic type. | | XmpClosedChoice<T> | Represents XMP Closed Choice. | | XmpColorantBase | A structure containing the characteristics of a colorant (swatch) used in a document. | | XmpColorantCmyk | Represents the CMYK Colorant. | | XmpColorantLab | Represents the LAB Colorant. | | XmpColorantRgb | Represents the RGB Colorant. | | XmpComplexType | Represents base abstraction for XMP Complex value type. | | XmpComplexTypeValue | Represents an XMP value containing a complex type instance. | | XmpDate | Represents Date in XMP packet. | | XmpDimensions | Containing dimensions for a drawn object. | | XmpElementBase | Represents base XMP element that contains attributes. | | XmpFont | A structure containing the characteristics of a font used in a document. | | XmpGuid | Represents XMP global unique identifier. | | XmpHeaderPI | Represents XMP header processing instruction. | | XmpInteger | Represents XMP Integer basic type. | | XmpJob | Represents Job. | | XmpLangAlt | Represents XMP Language Alternative. | | XmpMeta | Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF. | | XmpMetadataContainer | Represents a container for XMP metadata properties. | | XmpNamespaces | Contains namespaces used in `XmpPackage` and `XmpComplexType`. | | XmpPackage | Represents base abstraction for XMP package. | | XmpPacketWrapper | Contains serialized XMP package including header and trailer. A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element. | | XmpRational | Represents XMP XmpRational. | | XmpReal | Represents XMP Real. | | XmpRenditionClass | Represents XMP RenditionClass. | | XmpResourceEvent | Represents a high-level event that occurred in the processing of a resource. | | XmpResourceRef | Represents a multiple part reference to a resource. Used to indicate prior versions, originals of renditions, originals for derived documents, and so on. | | XmpSchemes | Provides access to known XMP schemes. | | XmpText | Represents XMP Text basic type. | | XmpThumbnail | Represents a thumbnail image for a file. | | XmpTime | Representation of a time value in seconds. | | XmpTimecode | Represents a timecode value in a video. | | XmpTrailerPI | Represents XMP trailer processing instruction. | | XmpValueBase | Represents base XMP value. | | XmpVersion | Represents a version of a document. | #### Interfaces | Interface | Description | | --- | --- | | IXmp | Defines base operations intended to work with XMP metadata. | | IXmpType | Base interface for XMP type. | #### Enumeration | Enumeration | Description | | --- | --- | | XmpArrayType | Represents array type in `XmpArray`. | | XmpColorantColorMode | Represents color mode in `XmpColorantBase`. | | XmpColorType | Type of color in `XmpColorantBase`. | ### IXmp Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/ixmp.md #### IXmp interface Defines base operations intended to work with XMP metadata. ```csharp public interface IXmp ``` #### Properties | Name | Description | | --- | --- | | XmpPackage { get; set; } | Gets or sets the XMP metadata package. | ##### Examples This example demonstrates how to extract XMP metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.PngWithXmp)) { IXmp root = metadata.GetRootPackage() as IXmp; if (root != null && root.XmpPackage != null) { if (root.XmpPackage.Schemes.XmpBasic != null) { Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname); // ... } if (root.XmpPackage.Schemes.DublinCore != null) { Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source); // ... } if (root.XmpPackage.Schemes.Photoshop != null) { Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated); // ... } // ... } } ``` ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/ixmp/xmppackage.md #### IXmp.XmpPackage property Gets or sets the XMP metadata package. ```csharp public XmpPacketWrapper XmpPackage { get; set; } ``` ##### Property Value The XMP metadata package. ##### Examples This code sample shows how to remove XMP metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.JpegWithXmp)) { IXmp root = metadata.GetRootPackage() as IXmp; if (root != null) { root.XmpPackage = null; metadata.Save(Constants.OutputJpeg); } } ``` ### IXmpType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/ixmptype.md #### IXmpType interface Base interface for XMP type. ```csharp public interface IXmpType ``` #### Methods | Name | Description | | --- | --- | | GetXmpRepresentation() | Converts the XMP value to the XML representation. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/ixmptype/getxmprepresentation.md #### IXmpType.GetXmpRepresentation method Converts the XMP value to the XML representation. ```csharp public string GetXmpRepresentation() ``` ##### Return Value A String representation of the XMP value. ### XmpArray Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmparray.md #### XmpArray class Represents base abstraction for XMP array. ```csharp public class XmpArray : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpArray(XmpArrayType, XmpComplexType[]) | Initializes a new instance of the `XmpArray` class. | | XmpArray(XmpArrayType, XmpValueBase[]) | Initializes a new instance of the `XmpArray` class. | #### Properties | Name | Description | | --- | --- | | ArrayType { get; } | Gets the type of the XMP array. | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | #### Methods | Name | Description | | --- | --- | | static From(DateTime[], XmpArrayType) | Creates an `XmpArray` instance form a date array. | | static From(double[], XmpArrayType) | Creates an `XmpArray` instance form a double array. | | static From(int[], XmpArrayType) | Creates an `XmpArray` instance form an integer array. | | static From(string[], XmpArrayType) | Creates an `XmpArray` instance form a string array. | | static From<T>(T[], XmpArrayType) | Creates an `XmpArray` instance form an array of `XmpComplexType`. | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Converts XMP value to the xml representation. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | ToPlatformArray<T>() | Converts the `XmpArray` to a platform-specific array. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### ArrayType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmparray/arraytype.md #### XmpArray.ArrayType property Gets the type of the XMP array. ```csharp public XmpArrayType ArrayType { get; } ``` ##### Property Value The type of the XMP array. ### From Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmparray/from.md #### From<T>(T[], XmpArrayType) Creates an `XmpArray` instance form an array of `XmpComplexType`. ```csharp public static XmpArray From(T[] array, XmpArrayType type) where T : XmpComplexType ``` | Parameter | Description | | --- | --- | | T | The element type of the source array. | | array | The array to create an `XmpArray` from. | | type | The type of the `XmpArray`. | ##### Return Value An `XmpArray` containing all the elements from the original array. #### From(string[], XmpArrayType) Creates an `XmpArray` instance form a string array. ```csharp public static XmpArray From(string[] array, XmpArrayType type) ``` | Parameter | Type | Description | | --- | --- | --- | | array | String[] | The array to create an `XmpArray` from. | | type | XmpArrayType | The type of the `XmpArray`. | ##### Return Value An `XmpArray` containing all the elements from the original array. #### From(int[], XmpArrayType) Creates an `XmpArray` instance form an integer array. ```csharp public static XmpArray From(int[] array, XmpArrayType type) ``` | Parameter | Type | Description | | --- | --- | --- | | array | Int32[] | The array to create an `XmpArray` from. | | type | XmpArrayType | The type of the `XmpArray`. | ##### Return Value An `XmpArray` containing all the elements from the original array. #### From(DateTime[], XmpArrayType) Creates an `XmpArray` instance form a date array. ```csharp public static XmpArray From(DateTime[] array, XmpArrayType type) ``` | Parameter | Type | Description | | --- | --- | --- | | array | DateTime[] | The array to create an `XmpArray` from. | | type | XmpArrayType | The type of the `XmpArray`. | ##### Return Value An `XmpArray` containing all the elements from the original array. #### From(double[], XmpArrayType) Creates an `XmpArray` instance form a double array. ```csharp public static XmpArray From(double[] array, XmpArrayType type) ``` | Parameter | Type | Description | | --- | --- | --- | | array | Double[] | The array to create an `XmpArray` from. | | type | XmpArrayType | The type of the `XmpArray`. | ##### Return Value An `XmpArray` containing all the elements from the original array. ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmparray/getxmprepresentation.md #### XmpArray.GetXmpRepresentation method Converts XMP value to the xml representation. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value Returns String representation of XMP value. ### ToPlatformArray Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmparray/toplatformarray.md #### XmpArray.ToPlatformArray<T> method Converts the `XmpArray` to a platform-specific array. ```csharp public T[] ToPlatformArray() ``` | Parameter | Description | | --- | --- | | T | The type of the array element. | ##### Return Value A platform-specific array containing elements of the `XmpArray`. ### XmpArray Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmparray/xmparray.md #### XmpArray(XmpArrayType, XmpValueBase[]) Initializes a new instance of the `XmpArray` class. ```csharp public XmpArray(XmpArrayType arrayType, XmpValueBase[] items) ``` | Parameter | Type | Description | | --- | --- | --- | | arrayType | XmpArrayType | Array type. | | items | XmpValueBase[] | Array items. | #### XmpArray(XmpArrayType, XmpComplexType[]) Initializes a new instance of the `XmpArray` class. ```csharp public XmpArray(XmpArrayType arrayType, XmpComplexType[] items) ``` | Parameter | Type | Description | | --- | --- | --- | | arrayType | XmpArrayType | Array type. | | items | XmpComplexType[] | Array items. | ### XmpArrayType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmparraytype.md #### XmpArrayType enumeration Represents array type in `XmpArray`. ```csharp public enum XmpArrayType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unordered | `0` | An unordered array. | | Ordered | `1` | An ordered array. | | Alternative | `2` | An alternative array. | ### XmpBoolean Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpboolean.md #### XmpBoolean class Represents XMP Boolean basic type. ```csharp public sealed class XmpBoolean : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpBoolean() | Initializes a new instance of the `XmpBoolean` class with default value. | | XmpBoolean(bool) | Initializes a new instance of the `XmpBoolean` class based on boolean value. | | XmpBoolean(string) | Initializes a new instance of the `XmpBoolean` class. | #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpboolean/getxmprepresentation.md #### XmpBoolean.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpboolean/value.md #### XmpBoolean.Value property Gets the value. ```csharp public bool Value { get; } ``` ##### Property Value Boolean value. ### XmpBoolean Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpboolean/xmpboolean.md #### XmpBoolean(bool) Initializes a new instance of the `XmpBoolean` class based on boolean value. ```csharp public XmpBoolean(bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Boolean | Boolean value. | #### XmpBoolean() Initializes a new instance of the `XmpBoolean` class with default value. ```csharp public XmpBoolean() ``` #### XmpBoolean(string) Initializes a new instance of the `XmpBoolean` class. ```csharp public XmpBoolean(string value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | The value. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid string value. | ### XmpClosedChoiceT Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpclosedchoice-1.md #### XmpClosedChoice<T> class Represents XMP Closed Choice. ```csharp public abstract class XmpClosedChoice : IEquatable ``` | Parameter | Description | | --- | --- | | T | Type of closed choice. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Indicates whether the current object is equal to another object of the same type. | | Equals(XmpClosedChoice) | | | override GetHashCode() | Returns a hash code for this instance. | | override ToString() | Returns a String that represents this instance. | ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpclosedchoice-1/equals.md #### Equals(object) Indicates whether the current object is equal to another object of the same type. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | An object to compare with this object. | ##### Return Value true if the current object is equal to the *obj* parameter; otherwise, false. #### Equals(XmpClosedChoice) ```csharp public bool Equals(XmpClosedChoice other) ``` ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpclosedchoice-1/gethashcode.md #### XmpClosedChoice<T>.GetHashCode method Returns a hash code for this instance. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpclosedchoice-1/tostring.md #### XmpClosedChoice<T>.ToString method Returns a String that represents this instance. ```csharp public override string ToString() ``` ##### Return Value A String that represents this instance. ### XmpColorantBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantbase.md #### XmpColorantBase class A structure containing the characteristics of a colorant (swatch) used in a document. ```csharp public class XmpColorantBase : XmpComplexType ``` #### Properties | Name | Description | | --- | --- | | ColorType { get; set; } | Gets or sets the type of color. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Mode { get; } | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SwatchName { get; set; } | Gets or sets the name of the swatch. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ColorType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantbase/colortype.md #### XmpColorantBase.ColorType property Gets or sets the type of color. ```csharp public XmpColorType? ColorType { get; set; } ``` ##### Property Value The color type. ### Mode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantbase/mode.md #### XmpColorantBase.Mode property Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. ```csharp public XmpColorantColorMode Mode { get; } ``` ##### Property Value The color mode. ### SwatchName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantbase/swatchname.md #### XmpColorantBase.SwatchName property Gets or sets the name of the swatch. ```csharp public string SwatchName { get; set; } ``` ##### Property Value The name of the swatch. ### XmpColorantCmyk Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk.md #### XmpColorantCmyk class Represents the CMYK Colorant. ```csharp public sealed class XmpColorantCmyk : XmpColorantBase ``` #### Constructors | Name | Description | | --- | --- | | XmpColorantCmyk() | Initializes a new instance of the `XmpColorantCmyk` class. | | XmpColorantCmyk(double, double, double, double) | Initializes a new instance of the `XmpColorantCmyk` class. | #### Properties | Name | Description | | --- | --- | | Black { get; set; } | Gets or sets the black component. | | ColorType { get; set; } | Gets or sets the type of color. | | Count { get; } | Gets the number of metadata properties. | | Cyan { get; set; } | Gets or sets the cyan component. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Magenta { get; set; } | Gets or sets the magenta component. | | MetadataType { get; } | Gets the metadata type. | | Mode { get; } | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SwatchName { get; set; } | Gets or sets the name of the swatch. | | Yellow { get; set; } | Gets or sets the yellow component. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | #### Fields | Name | Description | | --- | --- | | const ColorValueMax | Color max value in CMYK colorant. | | const ColorValueMin | Color min value in CMYK colorant. | ### Black Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/black.md #### XmpColorantCmyk.Black property Gets or sets the black component. ```csharp public double? Black { get; set; } ``` ##### Property Value The black value. ### ColorValueMax Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/colorvaluemax.md #### XmpColorantCmyk.ColorValueMax field Color max value in CMYK colorant. ```csharp public const double ColorValueMax; ``` ### ColorValueMin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/colorvaluemin.md #### XmpColorantCmyk.ColorValueMin field Color min value in CMYK colorant. ```csharp public const double ColorValueMin; ``` ### Cyan Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/cyan.md #### XmpColorantCmyk.Cyan property Gets or sets the cyan component. ```csharp public double? Cyan { get; set; } ``` ##### Property Value The cyan value. ### Magenta Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/magenta.md #### XmpColorantCmyk.Magenta property Gets or sets the magenta component. ```csharp public double? Magenta { get; set; } ``` ##### Property Value The magenta value. ### XmpColorantCmyk Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/xmpcolorantcmyk.md #### XmpColorantCmyk() Initializes a new instance of the `XmpColorantCmyk` class. ```csharp public XmpColorantCmyk() ``` #### XmpColorantCmyk(double, double, double, double) Initializes a new instance of the `XmpColorantCmyk` class. ```csharp public XmpColorantCmyk(double cyan, double magenta, double yellow, double black) ``` | Parameter | Type | Description | | --- | --- | --- | | cyan | Double | Cyan component. | | magenta | Double | Magenta component. | | yellow | Double | Yellow component. | | black | Double | Black component. | ### Yellow Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/yellow.md #### XmpColorantCmyk.Yellow property Gets or sets the yellow component. ```csharp public double? Yellow { get; set; } ``` ##### Property Value The yellow value. ### XmpColorantColorMode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantcolormode.md #### XmpColorantColorMode enumeration Represents color mode in `XmpColorantBase`. ```csharp public enum XmpColorantColorMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Undefined | `0` | The color mode is undefined. | | Cmyk | `1` | CMYK color mode. | | Rgb | `2` | RGB color mode. | | Lab | `3` | LAB color mode. | ### XmpColorantLab Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantlab.md #### XmpColorantLab class Represents the LAB Colorant. ```csharp public sealed class XmpColorantLab : XmpColorantBase ``` #### Constructors | Name | Description | | --- | --- | | XmpColorantLab() | Initializes a new instance of the `XmpColorantLab` class. | | XmpColorantLab(sbyte, sbyte, double) | Initializes a new instance of the `XmpColorantLab` class. | #### Properties | Name | Description | | --- | --- | | A { get; set; } | Gets or sets the A component. | | B { get; set; } | Gets or sets the B component. | | ColorType { get; set; } | Gets or sets the type of color. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | L { get; set; } | Gets or sets the L component. | | MetadataType { get; } | Gets the metadata type. | | Mode { get; } | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SwatchName { get; set; } | Gets or sets the name of the swatch. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | #### Fields | Name | Description | | --- | --- | | const MaxL | Component L max value. | | const MinL | Component L min value. | ### A Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantlab/a.md #### XmpColorantLab.A property Gets or sets the A component. ```csharp public sbyte? A { get; set; } ``` ##### Property Value The A component. ### B Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantlab/b.md #### XmpColorantLab.B property Gets or sets the B component. ```csharp public sbyte? B { get; set; } ``` ##### Property Value The B component. ### L Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantlab/l.md #### XmpColorantLab.L property Gets or sets the L component. ```csharp public double? L { get; set; } ``` ##### Property Value The L component. ### MaxL Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantlab/maxl.md #### XmpColorantLab.MaxL field Component L max value. ```csharp public const double MaxL; ``` ### MinL Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantlab/minl.md #### XmpColorantLab.MinL field Component L min value. ```csharp public const double MinL; ``` ### XmpColorantLab Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantlab/xmpcolorantlab.md #### XmpColorantLab() Initializes a new instance of the `XmpColorantLab` class. ```csharp public XmpColorantLab() ``` #### XmpColorantLab(sbyte, sbyte, double) Initializes a new instance of the `XmpColorantLab` class. ```csharp public XmpColorantLab(sbyte a, sbyte b, double l) ``` | Parameter | Type | Description | | --- | --- | --- | | a | SByte | A component. | | b | SByte | B component. | | l | Double | L component. | ### XmpColorantRgb Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantrgb.md #### XmpColorantRgb class Represents the RGB Colorant. ```csharp public sealed class XmpColorantRgb : XmpColorantBase ``` #### Constructors | Name | Description | | --- | --- | | XmpColorantRgb() | Initializes a new instance of the `XmpColorantRgb` class. | | XmpColorantRgb(byte, byte, byte) | Initializes a new instance of the `XmpColorantRgb` class. | #### Properties | Name | Description | | --- | --- | | Blue { get; set; } | Gets or sets the blue component. | | ColorType { get; set; } | Gets or sets the type of color. | | Count { get; } | Gets the number of metadata properties. | | Green { get; set; } | Gets or sets the green value. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Mode { get; } | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Red { get; set; } | Gets or sets the red component. | | SwatchName { get; set; } | Gets or sets the name of the swatch. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Blue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/blue.md #### XmpColorantRgb.Blue property Gets or sets the blue component. ```csharp public byte? Blue { get; set; } ``` ##### Property Value The blue component. ### Green Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/green.md #### XmpColorantRgb.Green property Gets or sets the green value. ```csharp public byte? Green { get; set; } ``` ##### Property Value The green component. ### Red Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/red.md #### XmpColorantRgb.Red property Gets or sets the red component. ```csharp public byte? Red { get; set; } ``` ##### Property Value The red component. ### XmpColorantRgb Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/xmpcolorantrgb.md #### XmpColorantRgb() Initializes a new instance of the `XmpColorantRgb` class. ```csharp public XmpColorantRgb() ``` #### XmpColorantRgb(byte, byte, byte) Initializes a new instance of the `XmpColorantRgb` class. ```csharp public XmpColorantRgb(byte red, byte green, byte blue) ``` | Parameter | Type | Description | | --- | --- | --- | | red | Byte | Red component. | | green | Byte | Green component. | | blue | Byte | Blue component. | ### XmpColorType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcolortype.md #### XmpColorType enumeration Type of color in `XmpColorantBase`. ```csharp public enum XmpColorType ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Process | `1` | The Process color type. | | Spot | `2` | The Spot color type. | ### XmpComplexType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextype.md #### XmpComplexType class Represents base abstraction for XMP Complex value type. ```csharp public class XmpComplexType : XmpMetadataContainer ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Remarks See more: XMP Specification Part 2, Chapter 1.2.2 ### GetNamespaceUri Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextype/getnamespaceuri.md #### XmpComplexType.GetNamespaceUri method Gets the namespace URI associated with the specified prefix. ```csharp public string GetNamespaceUri(string prefix) ``` | Parameter | Type | Description | | --- | --- | --- | | prefix | String | The prefix of the namespace to get. | ##### Return Value The associated namespace URI if the prefix is registered; otherwise, null. ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextype/getxmprepresentation.md #### XmpComplexType.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### NamespaceUris Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextype/namespaceuris.md #### XmpComplexType.NamespaceUris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ```csharp public string[] NamespaceUris { get; } ``` ##### Property Value The namespace URIs. ### Prefixes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextype/prefixes.md #### XmpComplexType.Prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ```csharp public string[] Prefixes { get; } ``` ##### Property Value The namespace prefixes. ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextype/tostring.md #### XmpComplexType.ToString method Returns a String that represents this instance. ```csharp public override string ToString() ``` ##### Return Value A String that represents this instance. ### XmpComplexTypeValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextypevalue.md #### XmpComplexTypeValue class Represents an XMP value containing a complex type instance. ```csharp public class XmpComplexTypeValue : XmpValueBase ``` #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpcomplextypevalue/getxmprepresentation.md #### XmpComplexTypeValue.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### XmpDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdate.md #### XmpDate class Represents Date in XMP packet. ```csharp public sealed class XmpDate : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpDate(DateTime) | Initializes a new instance of the `XmpDate` class. | | XmpDate(string) | Initializes a new instance of the `XmpDate` class. | #### Properties | Name | Description | | --- | --- | | Format { get; } | Gets format string for current value. | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | #### Fields | Name | Description | | --- | --- | | const Iso8601Format | The ISO 8601 (roundtrip) format string. | ##### Remarks A date-time value is represented using a subset of the formats as defined in Date and Time Formats: YYYY YYYY-MM YYYY-MM-DD YYYY-MM-DDThh:mmTZD YYYY-MM-DDThh:mm:ssTZD YYYY-MM-DDThh:mm:ss.sTZD ### Format Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdate/format.md #### XmpDate.Format property Gets format string for current value. ```csharp public string Format { get; } ``` ##### Property Value XMP date format string. ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdate/getxmprepresentation.md #### XmpDate.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### Iso8601Format Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdate/iso8601format.md #### XmpDate.Iso8601Format field The ISO 8601 (roundtrip) format string. ```csharp public const string Iso8601Format; ``` ##### Remarks See more: https://en.wikipedia.org/wiki/ISO_8601. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdate/value.md #### XmpDate.Value property Gets the value. ```csharp public DateTime Value { get; } ``` ##### Property Value DateTime value. ### XmpDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdate/xmpdate.md #### XmpDate(DateTime) Initializes a new instance of the `XmpDate` class. ```csharp public XmpDate(DateTime dateTime) ``` | Parameter | Type | Description | | --- | --- | --- | | dateTime | DateTime | DateTime value. | #### XmpDate(string) Initializes a new instance of the `XmpDate` class. ```csharp public XmpDate(string dateString) ``` | Parameter | Type | Description | | --- | --- | --- | | dateString | String | Date in string representation. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Invalid date format. | ### XmpDimensions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdimensions.md #### XmpDimensions class Containing dimensions for a drawn object. ```csharp public sealed class XmpDimensions : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpDimensions() | Initializes a new instance of the `XmpDimensions` class. | | XmpDimensions(double, double) | Initializes a new instance of the `XmpDimensions` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Height { get; set; } | Gets or sets the height. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Units { get; set; } | Gets or sets the units. | | Width { get; set; } | Gets or sets the width. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdimensions/height.md #### XmpDimensions.Height property Gets or sets the height. ```csharp public double? Height { get; set; } ``` ##### Property Value The height. ### Units Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdimensions/units.md #### XmpDimensions.Units property Gets or sets the units. ```csharp public string Units { get; set; } ``` ##### Property Value The units. ##### Examples For example: inch, mm, pixel, pica, point etc. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdimensions/width.md #### XmpDimensions.Width property Gets or sets the width. ```csharp public double? Width { get; set; } ``` ##### Property Value The width. ### XmpDimensions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpdimensions/xmpdimensions.md #### XmpDimensions() Initializes a new instance of the `XmpDimensions` class. ```csharp public XmpDimensions() ``` #### XmpDimensions(double, double) Initializes a new instance of the `XmpDimensions` class. ```csharp public XmpDimensions(double width, double height) ``` | Parameter | Type | Description | | --- | --- | --- | | width | Double | The width. | | height | Double | The height. | ### XmpElementBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpelementbase.md #### XmpElementBase class Represents base XMP element that contains attributes. ```csharp public abstract class XmpElementBase : CustomPackage ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearAttributes() | Removes all attributes. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | ContainsAttribute(string) | Determines whether the element contains a specific attribute. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetAttribute(string) | Gets the attribute. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetAttribute(string, string) | Adds the attribute. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ClearAttributes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpelementbase/clearattributes.md #### XmpElementBase.ClearAttributes method Removes all attributes. ```csharp public void ClearAttributes() ``` ### ContainsAttribute Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpelementbase/containsattribute.md #### XmpElementBase.ContainsAttribute method Determines whether the element contains a specific attribute. ```csharp public bool ContainsAttribute(string attribute) ``` | Parameter | Type | Description | | --- | --- | --- | | attribute | String | Attribute name. | ##### Return Value true if attribute is exist; otherwise false. ### GetAttribute Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpelementbase/getattribute.md #### XmpElementBase.GetAttribute method Gets the attribute. ```csharp public string GetAttribute(string attribute) ``` | Parameter | Type | Description | | --- | --- | --- | | attribute | String | The attribute. | ##### Return Value The attribute value. ### SetAttribute Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpelementbase/setattribute.md #### XmpElementBase.SetAttribute method Adds the attribute. ```csharp public virtual void SetAttribute(string attribute, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | attribute | String | Attribute key. | | value | String | Attribute value. | ### XmpFont Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont.md #### XmpFont class A structure containing the characteristics of a font used in a document. ```csharp public sealed class XmpFont : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpFont() | Initializes a new instance of the `XmpFont` class. | | XmpFont(string) | Initializes a new instance of the `XmpFont` class. | #### Properties | Name | Description | | --- | --- | | ChildFontFiles { get; set; } | Gets or sets the list of file names for the fonts that make up a composite font. | | Count { get; } | Gets the number of metadata properties. | | FontFace { get; set; } | Gets or sets the font face name. | | FontFamily { get; set; } | Gets or sets the font family name. | | FontFileName { get; set; } | Gets or sets the font file name (not a complete path). | | FontName { get; set; } | Gets or sets the PostScript name of the font. | | FontType { get; set; } | Gets or sets the font type. | | IsComposite { get; set; } | Gets or sets a value indicating whether whether the font is composite. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Version { get; set; } | Gets or sets the font version. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ChildFontFiles Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/childfontfiles.md #### XmpFont.ChildFontFiles property Gets or sets the list of file names for the fonts that make up a composite font. ```csharp public string[] ChildFontFiles { get; set; } ``` ##### Property Value The list of file names for the fonts that make up a composite font. ### FontFace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/fontface.md #### XmpFont.FontFace property Gets or sets the font face name. ```csharp public string FontFace { get; set; } ``` ##### Property Value The font face name. ### FontFamily Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/fontfamily.md #### XmpFont.FontFamily property Gets or sets the font family name. ```csharp public string FontFamily { get; set; } ``` ##### Property Value The font family name. ### FontFileName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/fontfilename.md #### XmpFont.FontFileName property Gets or sets the font file name (not a complete path). ```csharp public string FontFileName { get; set; } ``` ##### Property Value The name of the font file. ### FontName Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/fontname.md #### XmpFont.FontName property Gets or sets the PostScript name of the font. ```csharp public string FontName { get; set; } ``` ##### Property Value The PostScript name of the font. ### FontType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/fonttype.md #### XmpFont.FontType property Gets or sets the font type. ```csharp public string FontType { get; set; } ``` ##### Property Value The font type. ##### Remarks TrueType, Type 1, Open Type, and so on. ### IsComposite Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/iscomposite.md #### XmpFont.IsComposite property Gets or sets a value indicating whether whether the font is composite. ```csharp public bool? IsComposite { get; set; } ``` ##### Property Value `true` if the font is composite; otherwise, `false`. ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/version.md #### XmpFont.Version property Gets or sets the font version. ```csharp public string Version { get; set; } ``` ##### Property Value The version. ##### Remarks /version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts ### XmpFont Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpfont/xmpfont.md #### XmpFont() Initializes a new instance of the `XmpFont` class. ```csharp public XmpFont() ``` #### XmpFont(string) Initializes a new instance of the `XmpFont` class. ```csharp public XmpFont(string fontFamily) ``` | Parameter | Type | Description | | --- | --- | --- | | fontFamily | String | Font family. | ### XmpGuid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpguid.md #### XmpGuid class Represents XMP global unique identifier. ```csharp public sealed class XmpGuid : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpGuid(Guid) | Initializes a new instance of the `XmpGuid` class. | | XmpGuid(string) | Initializes a new instance of the `XmpGuid` class. | #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpguid/getxmprepresentation.md #### XmpGuid.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpguid/value.md #### XmpGuid.Value property Gets the value. ```csharp public Guid Value { get; } ``` ##### Property Value The value. ### XmpGuid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpguid/xmpguid.md #### XmpGuid(string) Initializes a new instance of the `XmpGuid` class. ```csharp public XmpGuid(string value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | The value. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid GUID value. | #### XmpGuid(Guid) Initializes a new instance of the `XmpGuid` class. ```csharp public XmpGuid(Guid value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Guid | The unique identifier. | ### XmpHeaderPI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpheaderpi.md #### XmpHeaderPI class Represents XMP header processing instruction. ```csharp public sealed class XmpHeaderPI : IXmpType ``` #### Constructors | Name | Description | | --- | --- | | XmpHeaderPI() | Initializes a new instance of the `XmpHeaderPI` class. | #### Properties | Name | Description | | --- | --- | | Guid { get; } | Represents Header GUID. | #### Methods | Name | Description | | --- | --- | | GetXmpRepresentation() | Converts XMP value to the xml representation. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpheaderpi/getxmprepresentation.md #### XmpHeaderPI.GetXmpRepresentation method Converts XMP value to the xml representation. ```csharp public string GetXmpRepresentation() ``` ##### Return Value Returns String representation of XMP value. ### Guid Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpheaderpi/guid.md #### XmpHeaderPI.Guid property Represents Header GUID. ```csharp public string Guid { get; } ``` ##### Property Value The unique identifier. ##### Remarks The text of the header PI contains a GUID, making it unlikely to appear by accident in the data stream. ### XmpHeaderPI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpheaderpi/xmpheaderpi.md #### XmpHeaderPI constructor Initializes a new instance of the `XmpHeaderPI` class. ```csharp public XmpHeaderPI() ``` ### XmpInteger Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpinteger.md #### XmpInteger class Represents XMP Integer basic type. ```csharp public sealed class XmpInteger : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpInteger(int) | Initializes a new instance of the `XmpInteger` class. | | XmpInteger(long) | Initializes a new instance of the `XmpInteger` class. | | XmpInteger(string) | Initializes a new instance of the `XmpInteger` class. | #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpinteger/getxmprepresentation.md #### XmpInteger.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpinteger/value.md #### XmpInteger.Value property Gets the value. ```csharp public long Value { get; } ``` ##### Property Value Integer value. ### XmpInteger Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpinteger/xmpinteger.md #### XmpInteger(long) Initializes a new instance of the `XmpInteger` class. ```csharp public XmpInteger(long value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Int64 | The value. | #### XmpInteger(int) Initializes a new instance of the `XmpInteger` class. ```csharp public XmpInteger(int value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Int32 | The value. | #### XmpInteger(string) Initializes a new instance of the `XmpInteger` class. ```csharp public XmpInteger(string value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | String value contained integer. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid string value. | ### XmpJob Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpjob.md #### XmpJob class Represents Job. ```csharp public sealed class XmpJob : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpJob() | Initializes a new instance of the `XmpJob` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | ID { get; set; } | Gets or sets unique id for the job. This field is a reference into some external job management system. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Name { get; set; } | Gets or sets informal name of the job. This name is for user display and informal systems. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Url { get; set; } | Gets or sets a file URL referencing an external job management file. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### ID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpjob/id.md #### XmpJob.ID property Gets or sets unique id for the job. This field is a reference into some external job management system. ```csharp public string ID { get; set; } ``` ##### Property Value The identifier. ### Name Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpjob/name.md #### XmpJob.Name property Gets or sets informal name of the job. This name is for user display and informal systems. ```csharp public string Name { get; set; } ``` ##### Property Value The name. ### Url Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpjob/url.md #### XmpJob.Url property Gets or sets a file URL referencing an external job management file. ```csharp public string Url { get; set; } ``` ##### Property Value The URL. ### XmpJob Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpjob/xmpjob.md #### XmpJob constructor Initializes a new instance of the `XmpJob` class. ```csharp public XmpJob() ``` ### XmpLangAlt Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmplangalt.md #### XmpLangAlt class Represents XMP Language Alternative. An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be unique among the items. ```csharp public sealed class XmpLangAlt : XmpArray ``` #### Constructors | Name | Description | | --- | --- | | XmpLangAlt(IDictionary<string, string>) | Initializes a new instance of the `XmpLangAlt` class. | | XmpLangAlt(string) | Initializes a new instance of the `XmpLangAlt` class. | #### Properties | Name | Description | | --- | --- | | ArrayType { get; } | Gets the type of the XMP array. | | Item { get; } | Gets the value associated with the specified language. | | Languages { get; } | Gets an array of all languages registered in the instance of `XmpLangAlt`. | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | Contains(string) | Determines whether the `XmpLangAlt` contains the specified language. | | override GetXmpRepresentation() | Converts XMP value to the xml representation. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | ToPlatformArray<T>() | Converts the `XmpArray` to a platform-specific array. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### Contains Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmplangalt/contains.md #### XmpLangAlt.Contains method Determines whether the `XmpLangAlt` contains the specified language. ```csharp public bool Contains(string language) ``` | Parameter | Type | Description | | --- | --- | --- | | language | String | The language to locate in the `XmpLangAlt`. | ##### Return Value True if the `XmpLangAlt` contains an element with the specified language; otherwise, false. ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmplangalt/getxmprepresentation.md #### XmpLangAlt.GetXmpRepresentation method Converts XMP value to the xml representation. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value Returns String representation of XMP value. ### Item Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmplangalt/item.md #### XmpLangAlt indexer Gets the value associated with the specified language. ```csharp public string this[string language] { get; } ``` | Parameter | Description | | --- | --- | | language | The language. | ##### Return Value Value for the specified language. ##### Property Value String value. ### Languages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmplangalt/languages.md #### XmpLangAlt.Languages property Gets an array of all languages registered in the instance of `XmpLangAlt`. ```csharp public string[] Languages { get; } ``` ##### Property Value An array of all languages registered in the instance of `XmpLangAlt`. ### XmpLangAlt Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmplangalt/xmplangalt.md #### XmpLangAlt(string) Initializes a new instance of the `XmpLangAlt` class. ```csharp public XmpLangAlt(string defaultValue) ``` | Parameter | Type | Description | | --- | --- | --- | | defaultValue | String | The default value. | #### XmpLangAlt(IDictionary<string, string>) Initializes a new instance of the `XmpLangAlt` class. ```csharp public XmpLangAlt(IDictionary dictionary) ``` | Parameter | Type | Description | | --- | --- | --- | | dictionary | IDictionary`2 | A dictionary containing values by languages. | ### XmpMeta Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpmeta.md #### XmpMeta class Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF. ```csharp public sealed class XmpMeta : XmpElementBase, IXmpType ``` #### Constructors | Name | Description | | --- | --- | | XmpMeta() | The default constructor. | #### Properties | Name | Description | | --- | --- | | AdobeXmpToolkit { get; } | Gets Adobe XMP toolkit version. | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearAttributes() | Removes all attributes. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | ContainsAttribute(string) | Determines whether the element contains a specific attribute. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetAttribute(string) | Gets the attribute. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetXmpRepresentation() | Converts XMP value to the xml representation. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | override SetAttribute(string, string) | Adds an attribute. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AdobeXmpToolkit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpmeta/adobexmptoolkit.md #### XmpMeta.AdobeXmpToolkit property Gets Adobe XMP toolkit version. ```csharp public string AdobeXmpToolkit { get; } ``` ##### Property Value The toolkit version. ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpmeta/getxmprepresentation.md #### XmpMeta.GetXmpRepresentation method Converts XMP value to the xml representation. ```csharp public string GetXmpRepresentation() ``` ##### Return Value Returns String representation of XMP value. ### SetAttribute Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpmeta/setattribute.md #### XmpMeta.SetAttribute method Adds an attribute. ```csharp public override void SetAttribute(string attribute, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | attribute | String | The attribute. | | value | String | The value. | ### XmpMeta Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpmeta/xmpmeta.md #### XmpMeta constructor The default constructor. ```csharp public XmpMeta() ``` ### XmpMetadataContainer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer.md #### XmpMetadataContainer class Represents a container for XMP metadata properties. ```csharp public abstract class XmpMetadataContainer : CustomPackage, IXmpType ``` #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | abstract GetXmpRepresentation() | Converts the XMP value to the XML representation. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/getxmprepresentation.md #### XmpMetadataContainer.GetXmpRepresentation method Converts the XMP value to the XML representation. ```csharp public abstract string GetXmpRepresentation() ``` ##### Return Value A String representation of the XMP value. ### XmpNamespaces Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces.md #### XmpNamespaces class Contains namespaces used in `XmpPackage` and `XmpComplexType`. ```csharp public static class XmpNamespaces ``` #### Fields | Name | Description | | --- | --- | | const BasicJob | Basic Job Ticket namespace. | | const CameraRaw | Camera Raw namespace. | | const DublinCore | Dublin Core namespace. | | const Iptc4XmpCore | IPTC Core namespace. | | const Iptc4XmpExt | IPTC Extension namespace. | | const Iptc4XmpIim | IPTC IIM namespace. | | const PagedText | XMP Paged-Text namespace. | | const Pdf | Adobe PDF namespace. | | const Photoshop | Adobe Photoshop namespace. | | const Rdf | Resource definition framework namespace. | | const Xml | Xml namespace. | | const XmpBasic | XMP Basic namespace. | | const XmpDM | XMP Dynamic Media namespace. | | const XmpGraphics | XMP graphics namespace. | | const XmpGraphicsThumbnail | XMP graphics namespace. | | const XmpMM | XMP digital asset management namespace. | | const XmpRights | XMP Rights Management namespace. | | const XmpTypeDimensions | XMP Dimensions type. | | const XmpTypeFont | XMP Font type. | | const XmpTypeJob | XMP Job Ticket. | | const XmpTypeResourceEvent | XMP ResourceEvent URI. | | const XmpTypeResourceRef | XMP ResourceRef URI. | | const XmpTypeVersion | XMP Version. | ### BasicJob Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/basicjob.md #### XmpNamespaces.BasicJob field Basic Job Ticket namespace. ```csharp public const string BasicJob; ``` ### CameraRaw Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/cameraraw.md #### XmpNamespaces.CameraRaw field Camera Raw namespace. ```csharp public const string CameraRaw; ``` ### DublinCore Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/dublincore.md #### XmpNamespaces.DublinCore field Dublin Core namespace. ```csharp public const string DublinCore; ``` ### Iptc4XmpCore Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/iptc4xmpcore.md #### XmpNamespaces.Iptc4XmpCore field IPTC Core namespace. ```csharp public const string Iptc4XmpCore; ``` ### Iptc4XmpExt Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/iptc4xmpext.md #### XmpNamespaces.Iptc4XmpExt field IPTC Extension namespace. ```csharp public const string Iptc4XmpExt; ``` ### Iptc4XmpIim Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/iptc4xmpiim.md #### XmpNamespaces.Iptc4XmpIim field IPTC IIM namespace. ```csharp public const string Iptc4XmpIim; ``` ### PagedText Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/pagedtext.md #### XmpNamespaces.PagedText field XMP Paged-Text namespace. ```csharp public const string PagedText; ``` ### Pdf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/pdf.md #### XmpNamespaces.Pdf field Adobe PDF namespace. ```csharp public const string Pdf; ``` ### Photoshop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/photoshop.md #### XmpNamespaces.Photoshop field Adobe Photoshop namespace. ```csharp public const string Photoshop; ``` ### Rdf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/rdf.md #### XmpNamespaces.Rdf field Resource definition framework namespace. ```csharp public const string Rdf; ``` ### Xml Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xml.md #### XmpNamespaces.Xml field Xml namespace. ```csharp public const string Xml; ``` ### XmpBasic Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmpbasic.md #### XmpNamespaces.XmpBasic field XMP Basic namespace. ```csharp public const string XmpBasic; ``` ### XmpDM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmpdm.md #### XmpNamespaces.XmpDM field XMP Dynamic Media namespace. ```csharp public const string XmpDM; ``` ### XmpGraphics Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmpgraphics.md #### XmpNamespaces.XmpGraphics field XMP graphics namespace. ```csharp public const string XmpGraphics; ``` ### XmpGraphicsThumbnail Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmpgraphicsthumbnail.md #### XmpNamespaces.XmpGraphicsThumbnail field XMP graphics namespace. ```csharp public const string XmpGraphicsThumbnail; ``` ### XmpMM Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmpmm.md #### XmpNamespaces.XmpMM field XMP digital asset management namespace. ```csharp public const string XmpMM; ``` ### XmpRights Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmprights.md #### XmpNamespaces.XmpRights field XMP Rights Management namespace. ```csharp public const string XmpRights; ``` ### XmpTypeDimensions Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmptypedimensions.md #### XmpNamespaces.XmpTypeDimensions field XMP Dimensions type. ```csharp public const string XmpTypeDimensions; ``` ### XmpTypeFont Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmptypefont.md #### XmpNamespaces.XmpTypeFont field XMP Font type. ```csharp public const string XmpTypeFont; ``` ### XmpTypeJob Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmptypejob.md #### XmpNamespaces.XmpTypeJob field XMP Job Ticket. ```csharp public const string XmpTypeJob; ``` ### XmpTypeResourceEvent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmptyperesourceevent.md #### XmpNamespaces.XmpTypeResourceEvent field XMP ResourceEvent URI. ```csharp public const string XmpTypeResourceEvent; ``` ### XmpTypeResourceRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmptyperesourceref.md #### XmpNamespaces.XmpTypeResourceRef field XMP ResourceRef URI. ```csharp public const string XmpTypeResourceRef; ``` ### XmpTypeVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmptypeversion.md #### XmpNamespaces.XmpTypeVersion field XMP Version. ```csharp public const string XmpTypeVersion; ``` ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage.md #### XmpPackage class Represents base abstraction for XMP package. ```csharp public class XmpPackage : XmpMetadataContainer ``` #### Constructors | Name | Description | | --- | --- | | XmpPackage(string, string) | Initializes a new instance of the `XmpPackage` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUri { get; } | Gets the namespace URI. | | Prefix { get; } | Gets the xmlns prefix. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | XmlNamespace { get; } | Gets the XML namespace. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Clear() | Removes all XMP properties. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | override GetXmpRepresentation() | Converts the XMP value to the XML representation. | | Remove(string) | Removes the property with the specified name. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | Set(string, bool) | Sets boolean property. | | Set(string, DateTime) | Sets DateTime property. | | Set(string, double) | Sets double property. | | Set(string, int) | Sets integer property. | | virtual Set(string, string) | Sets string property. | | virtual Set(string, XmpArray) | Sets the value inherited from `XmpArray` . | | virtual Set(string, XmpComplexType) | Sets the value inherited from `XmpComplexType` . | | Set(string, XmpValueBase) | Sets the value inherited from `XmpValueBase` . | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example demonstrates how to add a custom XMP package to a file of any supported format. ```csharp using (Metadata metadata = new Metadata(Constants.InputJpeg)) { IXmp root = metadata.GetRootPackage() as IXmp; if (root != null) { var packet = new XmpPacketWrapper(); var custom = new XmpPackage("gd", "https://groupdocs.com"); custom.Set("gd:Copyright", "Copyright (C) 2011-2026 GroupDocs. All Rights Reserved."); custom.Set("gd:CreationDate", DateTime.Today); custom.Set("gd:Company", XmpArray.From(new [] { "Aspose", "GroupDocs" }, XmpArrayType.Ordered)); packet.AddPackage(custom); root.XmpPackage = packet; metadata.Save(Constants.OutputJpeg); } } ``` ### Clear Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/clear.md #### XmpPackage.Clear method Removes all XMP properties. ```csharp public void Clear() ``` ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/getxmprepresentation.md #### XmpPackage.GetXmpRepresentation method Converts the XMP value to the XML representation. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value A String representation of the XMP value. ### NamespaceUri Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/namespaceuri.md #### XmpPackage.NamespaceUri property Gets the namespace URI. ```csharp public string NamespaceUri { get; } ``` ##### Property Value The namespace URI. ### Prefix Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/prefix.md #### XmpPackage.Prefix property Gets the xmlns prefix. ```csharp public string Prefix { get; } ``` ##### Property Value The prefix. ### Remove Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/remove.md #### XmpPackage.Remove method Removes the property with the specified name. ```csharp public bool Remove(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | ##### Return Value True if the specified metadata property is found and removed; otherwise, false. ### Set Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/set.md #### Set(string, string) Sets string property. ```csharp public virtual void Set(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | String | XMP metadata property value. | #### Set(string, XmpArray) Sets the value inherited from `XmpArray` . ```csharp public virtual void Set(string name, XmpArray value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | #### Set(string, XmpComplexType) Sets the value inherited from `XmpComplexType` . ```csharp public virtual void Set(string name, XmpComplexType value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | XmpComplexType | XMP metadata property value. | #### Set(string, int) Sets integer property. ```csharp public void Set(string name, int value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | Int32 | XMP metadata property value. | #### Set(string, bool) Sets boolean property. ```csharp public void Set(string name, bool value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | Boolean | XMP metadata property value. | #### Set(string, DateTime) Sets DateTime property. ```csharp public void Set(string name, DateTime value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | DateTime | XMP metadata property value. | #### Set(string, double) Sets double property. ```csharp public void Set(string name, double value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | Double | XMP metadata property value. | #### Set(string, XmpValueBase) Sets the value inherited from `XmpValueBase` . ```csharp public void Set(string name, XmpValueBase value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | XMP metadata property name. | | value | XmpValueBase | XMP metadata property value. | ### XmlNamespace Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/xmlnamespace.md #### XmpPackage.XmlNamespace property Gets the XML namespace. ```csharp public string XmlNamespace { get; } ``` ##### Property Value The XML namespace. ### XmpPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppackage/xmppackage.md #### XmpPackage constructor Initializes a new instance of the `XmpPackage` class. ```csharp public XmpPackage(string prefix, string namespaceUri) ``` | Parameter | Type | Description | | --- | --- | --- | | prefix | String | XMP prefix, for example dc:title. | | namespaceUri | String | Namespace uri. | ### XmpPacketWrapper Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper.md #### XmpPacketWrapper class Contains serialized XMP package including header and trailer. A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element. ```csharp public class XmpPacketWrapper : MetadataPackage, IXmpType ``` #### Constructors | Name | Description | | --- | --- | | XmpPacketWrapper() | Initializes a new instance of the `XmpPacketWrapper` class. | | XmpPacketWrapper(XmpHeaderPI, XmpTrailerPI, XmpMeta) | Initializes a new instance of the `XmpPacketWrapper` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | HeaderPI { get; set; } | Gets or sets the header processing instruction. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | Meta { get; set; } | Gets or sets the XMP meta. | | MetadataType { get; } | Gets the metadata type. | | PackageCount { get; } | Gets the number of packages inside the XMP structure. | | Packages { get; } | Gets array of `XmpPackage` inside XMP. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Schemes { get; } | Provides access to known XMP schemas. | | TrailerPI { get; set; } | Gets or sets the trailer processing instruction. | #### Methods | Name | Description | | --- | --- | | AddPackage(XmpPackage) | Adds the package. | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | ClearPackages() | Removes all `XmpPackage` inside XMP. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | ContainsPackage(string) | Determines whether package is exist in XMP wrapper. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetPackage(string) | Gets package by namespace uri. | | GetXmpRepresentation() | Returns string contained value in XMP format. | | RemovePackage(XmpPackage) | Removes the specified package. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ##### Examples This example shows how to update XMP metadata properties. ```csharp using (Metadata metadata = new Metadata(Constants.GifWithXmp)) { IXmp root = metadata.GetRootPackage() as IXmp; if (root != null && root.XmpPackage != null) { // if there is no such scheme in the XMP package we should create it if (root.XmpPackage.Schemes.DublinCore == null) { root.XmpPackage.Schemes.DublinCore = new XmpDublinCorePackage(); } root.XmpPackage.Schemes.DublinCore.Format = "image/gif"; root.XmpPackage.Schemes.DublinCore.SetRights("Copyright (C) 2011-2022 GroupDocs. All Rights Reserved"); root.XmpPackage.Schemes.DublinCore.SetSubject("test"); if (root.XmpPackage.Schemes.CameraRaw == null) { root.XmpPackage.Schemes.CameraRaw = new XmpCameraRawPackage(); } root.XmpPackage.Schemes.CameraRaw.Shadows = 50; root.XmpPackage.Schemes.CameraRaw.AutoBrightness = true; root.XmpPackage.Schemes.CameraRaw.AutoExposure = true; root.XmpPackage.Schemes.CameraRaw.CameraProfile = "test"; root.XmpPackage.Schemes.CameraRaw.Exposure = 0.0001; // If you don't want to keep the old values just replace the whole scheme root.XmpPackage.Schemes.XmpBasic = new XmpBasicPackage(); root.XmpPackage.Schemes.XmpBasic.CreateDate = DateTime.Today; root.XmpPackage.Schemes.XmpBasic.BaseUrl = "https://groupdocs.com"; root.XmpPackage.Schemes.XmpBasic.Rating = 5; root.XmpPackage.Schemes.BasicJobTicket = new XmpBasicJobTicketPackage(); // Set a complex type property root.XmpPackage.Schemes.BasicJobTicket.Jobs = new[] { new XmpJob { ID = "1", Name = "test job", Url = "https://groupdocs.com" }, }; // ... metadata.Save(Constants.OutputGif); } } ``` ### AddPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/addpackage.md #### XmpPacketWrapper.AddPackage method Adds the package. ```csharp public void AddPackage(XmpPackage package) ``` | Parameter | Type | Description | | --- | --- | --- | | package | XmpPackage | The package. | ##### Examples This example demonstrates how to add a custom XMP package to a file of any supported format. ```csharp using (Metadata metadata = new Metadata(Constants.InputJpeg)) { IXmp root = metadata.GetRootPackage() as IXmp; if (root != null) { var packet = new XmpPacketWrapper(); var custom = new XmpPackage("gd", "https://groupdocs.com"); custom.Set("gd:Copyright", "Copyright (C) 2011-2026 GroupDocs. All Rights Reserved."); custom.Set("gd:CreationDate", DateTime.Today); custom.Set("gd:Company", XmpArray.From(new [] { "Aspose", "GroupDocs" }, XmpArrayType.Ordered)); packet.AddPackage(custom); root.XmpPackage = packet; metadata.Save(Constants.OutputJpeg); } } ``` ### ClearPackages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/clearpackages.md #### XmpPacketWrapper.ClearPackages method Removes all `XmpPackage` inside XMP. ```csharp public void ClearPackages() ``` ### ContainsPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/containspackage.md #### XmpPacketWrapper.ContainsPackage method Determines whether package is exist in XMP wrapper. ```csharp public bool ContainsPackage(string namespaceUri) ``` | Parameter | Type | Description | | --- | --- | --- | | namespaceUri | String | Package namespace URI. | ##### Return Value `true` if package found by *namespaceUri*; otherwise `false`. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Namespace URI could not be null. | ### GetPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/getpackage.md #### XmpPacketWrapper.GetPackage method Gets package by namespace uri. ```csharp public XmpPackage GetPackage(string namespaceUri) ``` | Parameter | Type | Description | | --- | --- | --- | | namespaceUri | String | Package schema uri. | ##### Return Value Appropriate `XmpPackage` if package found by *namespaceUri*; otherwise null. ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Namespace URI could not be null. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/getxmprepresentation.md #### XmpPacketWrapper.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### HeaderPI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/headerpi.md #### XmpPacketWrapper.HeaderPI property Gets or sets the header processing instruction. ```csharp public XmpHeaderPI HeaderPI { get; set; } ``` ##### Property Value The header processing instruction. ### Meta Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/meta.md #### XmpPacketWrapper.Meta property Gets or sets the XMP meta. ```csharp public XmpMeta Meta { get; set; } ``` ##### Property Value The XMP meta. ### PackageCount Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/packagecount.md #### XmpPacketWrapper.PackageCount property Gets the number of packages inside the XMP structure. ```csharp public int PackageCount { get; } ``` ##### Property Value The package count. ### Packages Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/packages.md #### XmpPacketWrapper.Packages property Gets array of `XmpPackage` inside XMP. ```csharp public XmpPackage[] Packages { get; } ``` ##### Property Value XMP packages. ### RemovePackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/removepackage.md #### XmpPacketWrapper.RemovePackage method Removes the specified package. ```csharp public void RemovePackage(XmpPackage package) ``` | Parameter | Type | Description | | --- | --- | --- | | package | XmpPackage | The package. | ### Schemes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/schemes.md #### XmpPacketWrapper.Schemes property Provides access to known XMP schemas. ```csharp public XmpSchemes Schemes { get; } ``` ##### Property Value XMP schemes. ### TrailerPI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/trailerpi.md #### XmpPacketWrapper.TrailerPI property Gets or sets the trailer processing instruction. ```csharp public XmpTrailerPI TrailerPI { get; set; } ``` ##### Property Value The trailer processing instruction. ### XmpPacketWrapper Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmppacketwrapper/xmppacketwrapper.md #### XmpPacketWrapper(XmpHeaderPI, XmpTrailerPI, XmpMeta) Initializes a new instance of the `XmpPacketWrapper` class. ```csharp public XmpPacketWrapper(XmpHeaderPI header, XmpTrailerPI trailer, XmpMeta xmpMeta) ``` | Parameter | Type | Description | | --- | --- | --- | | header | XmpHeaderPI | XMP header processing instruction. | | trailer | XmpTrailerPI | XMP trailer processing instruction. | | xmpMeta | XmpMeta | Instance of `XmpMeta`. | #### XmpPacketWrapper() Initializes a new instance of the `XmpPacketWrapper` class. ```csharp public XmpPacketWrapper() ``` ### XmpRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprational.md #### XmpRational class Represents XMP XmpRational. ```csharp public sealed class XmpRational : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpRational(string) | Initializes a new instance of the `XmpBoolean` class. | | XmpRational(long, long) | Initializes a new instance of the `XmpRational` class. | #### Properties | Name | Description | | --- | --- | | Denominator { get; } | Gets denominator | | DoubleValue { get; } | Gets value of rational type presented in double format. | | Numerator { get; } | Gets numerator. | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### Denominator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprational/denominator.md #### XmpRational.Denominator property Gets denominator ```csharp public long Denominator { get; } ``` ##### Property Value The denominator. ### DoubleValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprational/doublevalue.md #### XmpRational.DoubleValue property Gets value of rational type presented in double format. ```csharp public double DoubleValue { get; } ``` ##### Property Value Double value. ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprational/getxmprepresentation.md #### XmpRational.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### Numerator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprational/numerator.md #### XmpRational.Numerator property Gets numerator. ```csharp public long Numerator { get; } ``` ##### Property Value The numerator. ### XmpRational Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprational/xmprational.md #### XmpRational(long, long) Initializes a new instance of the `XmpRational` class. ```csharp public XmpRational(long numerator, long denominator) ``` | Parameter | Type | Description | | --- | --- | --- | | numerator | Int64 | The numerator. | | denominator | Int64 | The denominator. | #### XmpRational(string) Initializes a new instance of the `XmpBoolean` class. ```csharp public XmpRational(string value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | The value. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid string value. | ### XmpReal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpreal.md #### XmpReal class Represents XMP Real. ```csharp public sealed class XmpReal : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpReal(double) | Initializes a new instance of the `XmpReal` class. | | XmpReal(string) | Initializes a new instance of the `XmpReal` class. | #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpreal/getxmprepresentation.md #### XmpReal.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpreal/value.md #### XmpReal.Value property Gets the value. ```csharp public double Value { get; } ``` ##### Property Value Double value. ### XmpReal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpreal/xmpreal.md #### XmpReal(double) Initializes a new instance of the `XmpReal` class. ```csharp public XmpReal(double value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | Double | Double value. | #### XmpReal(string) Initializes a new instance of the `XmpReal` class. ```csharp public XmpReal(string value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | The value. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid value. Should be double. | ### XmpRenditionClass Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass.md #### XmpRenditionClass class Represents XMP RenditionClass. ```csharp public sealed class XmpRenditionClass : XmpText ``` #### Constructors | Name | Description | | --- | --- | | XmpRenditionClass(params string[]) | Initializes a new instance of the `XmpRenditionClass` class. | #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | #### Fields | Name | Description | | --- | --- | | const Default | The master resource; no additional tokens allowed. | | const Draft | A review rendition. | | const LowRes | A low-resolution, full-size stand-in. | | const Proof | A review proof. | | const Screen | Screen resolution or Web rendition. | | const Thumbnail | A simplified or reduced preview. Additional tokens can provide characteristics. The recommended order is thumbnail:format:size:colorspace. | ### Default Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass/default.md #### XmpRenditionClass.Default field The master resource; no additional tokens allowed. ```csharp public const string Default; ``` ### Draft Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass/draft.md #### XmpRenditionClass.Draft field A review rendition. ```csharp public const string Draft; ``` ### LowRes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass/lowres.md #### XmpRenditionClass.LowRes field A low-resolution, full-size stand-in. ```csharp public const string LowRes; ``` ### Proof Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass/proof.md #### XmpRenditionClass.Proof field A review proof. ```csharp public const string Proof; ``` ### Screen Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass/screen.md #### XmpRenditionClass.Screen field Screen resolution or Web rendition. ```csharp public const string Screen; ``` ### Thumbnail Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass/thumbnail.md #### XmpRenditionClass.Thumbnail field A simplified or reduced preview. Additional tokens can provide characteristics. The recommended order is thumbnail:format:size:colorspace. ```csharp public const string Thumbnail; ``` ### XmpRenditionClass Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmprenditionclass/xmprenditionclass.md #### XmpRenditionClass constructor Initializes a new instance of the `XmpRenditionClass` class. ```csharp public XmpRenditionClass(params string[] tokens) ``` | Parameter | Type | Description | | --- | --- | --- | | tokens | String[] | The token. | ### XmpResourceEvent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent.md #### XmpResourceEvent class Represents a high-level event that occurred in the processing of a resource. ```csharp public sealed class XmpResourceEvent : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpResourceEvent() | Initializes a new instance of the `XmpResourceEvent` class. | #### Properties | Name | Description | | --- | --- | | Action { get; set; } | Gets or sets the action that occurred. | | Changed { get; set; } | Gets or sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. | | Count { get; } | Gets the number of metadata properties. | | InstanceID { get; set; } | Gets or sets the value of the xmpMM:InstanceID property for the modified (output) resource. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Parameters { get; set; } | Gets or sets the additional description of the action. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | SoftwareAgent { get; set; } | Gets or sets the software agent that performed the action. | | When { get; set; } | Gets or sets the timestamp of when the action occurred. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Action Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent/action.md #### XmpResourceEvent.Action property Gets or sets the action that occurred. ```csharp public string Action { get; set; } ``` ##### Property Value The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version_updated, printed, published, managed, produced, resized, saved. New values should be verbs in the past tense. ### Changed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent/changed.md #### XmpResourceEvent.Changed property Gets or sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. ```csharp public string Changed { get; set; } ``` ##### Property Value A semicolon-delimited list of the parts of the resource that were changed since the previous event history. ### InstanceID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent/instanceid.md #### XmpResourceEvent.InstanceID property Gets or sets the value of the xmpMM:InstanceID property for the modified (output) resource. ```csharp public string InstanceID { get; set; } ``` ##### Property Value The value of the xmpMM:InstanceID property for the modified (output) resource. ### Parameters Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent/parameters.md #### XmpResourceEvent.Parameters property Gets or sets the additional description of the action. ```csharp public string Parameters { get; set; } ``` ##### Property Value The Additional description of the action. ### SoftwareAgent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent/softwareagent.md #### XmpResourceEvent.SoftwareAgent property Gets or sets the software agent that performed the action. ```csharp public string SoftwareAgent { get; set; } ``` ##### Property Value The software agent that performed the action. ### When Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent/when.md #### XmpResourceEvent.When property Gets or sets the timestamp of when the action occurred. ```csharp public DateTime? When { get; set; } ``` ##### Property Value The timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file. ### XmpResourceEvent Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceevent/xmpresourceevent.md #### XmpResourceEvent constructor Initializes a new instance of the `XmpResourceEvent` class. ```csharp public XmpResourceEvent() ``` ### XmpResourceRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref.md #### XmpResourceRef class Represents a multiple part reference to a resource. Used to indicate prior versions, originals of renditions, originals for derived documents, and so on. ```csharp public sealed class XmpResourceRef : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpResourceRef() | Initializes a new instance of the `XmpResourceRef` class. | #### Properties | Name | Description | | --- | --- | | AlternatePaths { get; set; } | Gets or sets the referenced resource’s fallback file paths or URLs. | | Count { get; } | Gets the number of metadata properties. | | DocumentID { get; set; } | Gets or sets the value of the xmpMM:DocumentID property from the referenced resource. | | FilePath { get; set; } | Gets or sets the referenced resource’s file path or URL. | | InstanceID { get; set; } | Gets or sets the value of the xmpMM:InstanceID property from the referenced resource. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | LastModifyDate { get; set; } | Gets or sets the value of stEvt:when for the last time the file was written. | | Manager { get; set; } | Gets or sets the referenced resource’s xmpMM:Manager. | | ManagerVariant { get; set; } | Gets or sets the referenced resource’s xmpMM:Manager. | | ManageTo { get; set; } | Gets or sets the referenced resource’s xmpMM:ManageTo. | | ManageUI { get; set; } | Gets or sets the referenced resource’s xmpMM:ManageUI. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | PartMapping { get; set; } | Gets or sets the name or URI of a mapping function used to map the fromPart to the toPart. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | RenditionClass { get; set; } | Gets or sets the value of the xmpMM:RenditionClass property from the referenced resource. | | RenditionParams { get; set; } | Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. | | VersionID { get; set; } | Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AlternatePaths Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/alternatepaths.md #### XmpResourceRef.AlternatePaths property Gets or sets the referenced resource’s fallback file paths or URLs. ```csharp public string[] AlternatePaths { get; set; } ``` ##### Property Value The referenced resource’s fallback file paths or URLs. The sequence order is the recommended order in attempting to locate the resource. ### DocumentID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/documentid.md #### XmpResourceRef.DocumentID property Gets or sets the value of the xmpMM:DocumentID property from the referenced resource. ```csharp public string DocumentID { get; set; } ``` ##### Property Value The value of the xmpMM:DocumentID property from the referenced resource. ### FilePath Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/filepath.md #### XmpResourceRef.FilePath property Gets or sets the referenced resource’s file path or URL. ```csharp public string FilePath { get; set; } ``` ##### Property Value The referenced resource’s file path or URL. ### InstanceID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/instanceid.md #### XmpResourceRef.InstanceID property Gets or sets the value of the xmpMM:InstanceID property from the referenced resource. ```csharp public string InstanceID { get; set; } ``` ##### Property Value The value of the xmpMM:InstanceID property from the referenced resource. ### LastModifyDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/lastmodifydate.md #### XmpResourceRef.LastModifyDate property Gets or sets the value of stEvt:when for the last time the file was written. ```csharp public DateTime? LastModifyDate { get; set; } ``` ##### Property Value The value of stEvt:when for the last time the file was written. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/manager.md #### XmpResourceRef.Manager property Gets or sets the referenced resource’s xmpMM:Manager. ```csharp public string Manager { get; set; } ``` ##### Property Value The referenced resource’s xmpMM:Manager. ### ManagerVariant Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/managervariant.md #### XmpResourceRef.ManagerVariant property Gets or sets the referenced resource’s xmpMM:Manager. ```csharp public string ManagerVariant { get; set; } ``` ##### Property Value The referenced resource’s xmpMM:Manager. ### ManageTo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/manageto.md #### XmpResourceRef.ManageTo property Gets or sets the referenced resource’s xmpMM:ManageTo. ```csharp public string ManageTo { get; set; } ``` ##### Property Value The referenced resource’s xmpMM:ManageTo. ### ManageUI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/manageui.md #### XmpResourceRef.ManageUI property Gets or sets the referenced resource’s xmpMM:ManageUI. ```csharp public string ManageUI { get; set; } ``` ##### Property Value The referenced resource’s xmpMM:ManageUI. ### PartMapping Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/partmapping.md #### XmpResourceRef.PartMapping property Gets or sets the name or URI of a mapping function used to map the fromPart to the toPart. ```csharp public string PartMapping { get; set; } ``` ##### Property Value The name or URI of a mapping function used to map the fromPart to the toPart. The default for time mappings is "linear". ### RenditionClass Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/renditionclass.md #### XmpResourceRef.RenditionClass property Gets or sets the value of the xmpMM:RenditionClass property from the referenced resource. ```csharp public string RenditionClass { get; set; } ``` ##### Property Value The value of the xmpMM:RenditionClass property from the referenced resource. ### RenditionParams Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/renditionparams.md #### XmpResourceRef.RenditionParams property Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. ```csharp public string RenditionParams { get; set; } ``` ##### Property Value The value of the xmpMM:RenditionParams property from the referenced resource. ### VersionID Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/versionid.md #### XmpResourceRef.VersionID property Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. ```csharp public string VersionID { get; set; } ``` ##### Property Value The value of the xmpMM:RenditionParams property from the referenced resource. ### XmpResourceRef Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpresourceref/xmpresourceref.md #### XmpResourceRef constructor Initializes a new instance of the `XmpResourceRef` class. ```csharp public XmpResourceRef() ``` ### XmpSchemes Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes.md #### XmpSchemes class Provides access to known XMP schemes. ```csharp public sealed class XmpSchemes ``` #### Properties | Name | Description | | --- | --- | | BasicJobTicket { get; set; } | Gets or sets the BasicJobTicket scheme. | | CameraRaw { get; set; } | Gets or sets the Camera Raw scheme. | | DublinCore { get; set; } | Gets or sets the Dublin Core scheme. | | PagedText { get; set; } | Gets or sets the PagedText scheme. | | Pdf { get; set; } | Gets or sets the PDF scheme. | | Photoshop { get; set; } | Gets or sets the Photoshop scheme. | | XmpBasic { get; set; } | Gets or sets the XmpBasic scheme. | | XmpDynamicMedia { get; set; } | Gets or sets the XmpDynamicMedia scheme. | | XmpMediaManagement { get; set; } | Gets or sets the XmpMediaManagement schema. | | XmpRightsManagement { get; set; } | Gets or sets the XmpRightsManagement schema. | ##### Examples This example demonstrates how to extract XMP metadata from a file. ```csharp using (Metadata metadata = new Metadata(Constants.PngWithXmp)) { IXmp root = metadata.GetRootPackage() as IXmp; if (root != null && root.XmpPackage != null) { if (root.XmpPackage.Schemes.XmpBasic != null) { Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label); Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname); // ... } if (root.XmpPackage.Schemes.DublinCore != null) { Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier); Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source); // ... } if (root.XmpPackage.Schemes.Photoshop != null) { Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City); Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated); // ... } // ... } } ``` ### BasicJobTicket Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/basicjobticket.md #### XmpSchemes.BasicJobTicket property Gets or sets the BasicJobTicket scheme. ```csharp public XmpBasicJobTicketPackage BasicJobTicket { get; set; } ``` ##### Property Value The XMP job ticket namespace. ### CameraRaw Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/cameraraw.md #### XmpSchemes.CameraRaw property Gets or sets the Camera Raw scheme. ```csharp public XmpCameraRawPackage CameraRaw { get; set; } ``` ##### Property Value The camera raw namespace. ### DublinCore Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/dublincore.md #### XmpSchemes.DublinCore property Gets or sets the Dublin Core scheme. ```csharp public XmpDublinCorePackage DublinCore { get; set; } ``` ##### Property Value The dublin core namespace. ### PagedText Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/pagedtext.md #### XmpSchemes.PagedText property Gets or sets the PagedText scheme. ```csharp public XmpPagedTextPackage PagedText { get; set; } ``` ##### Property Value The paged text namespace. ### Pdf Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/pdf.md #### XmpSchemes.Pdf property Gets or sets the PDF scheme. ```csharp public XmpPdfPackage Pdf { get; set; } ``` ##### Property Value The PDF namespace. ### Photoshop Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/photoshop.md #### XmpSchemes.Photoshop property Gets or sets the Photoshop scheme. ```csharp public XmpPhotoshopPackage Photoshop { get; set; } ``` ##### Property Value The photoshop namespace. ### XmpBasic Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/xmpbasic.md #### XmpSchemes.XmpBasic property Gets or sets the XmpBasic scheme. ```csharp public XmpBasicPackage XmpBasic { get; set; } ``` ##### Property Value The XMP basic namespace. ### XmpDynamicMedia Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/xmpdynamicmedia.md #### XmpSchemes.XmpDynamicMedia property Gets or sets the XmpDynamicMedia scheme. ```csharp public XmpDynamicMediaPackage XmpDynamicMedia { get; set; } ``` ##### Property Value The XMP dynamic media namespace. ### XmpMediaManagement Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/xmpmediamanagement.md #### XmpSchemes.XmpMediaManagement property Gets or sets the XmpMediaManagement schema. ```csharp public XmpMediaManagementPackage XmpMediaManagement { get; set; } ``` ##### Property Value The XMP media management namespace. ### XmpRightsManagement Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpschemes/xmprightsmanagement.md #### XmpSchemes.XmpRightsManagement property Gets or sets the XmpRightsManagement schema. ```csharp public XmpRightsManagementPackage XmpRightsManagement { get; set; } ``` ##### Property Value The XMP rights management namespace. ### XmpText Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptext.md #### XmpText class Represents XMP Text basic type. ```csharp public class XmpText : XmpValueBase ``` #### Constructors | Name | Description | | --- | --- | | XmpText(string) | Initializes a new instance of the `XmpText` class. | #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | | Value { get; } | Gets the value. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptext/getxmprepresentation.md #### XmpText.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public override string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptext/value.md #### XmpText.Value property Gets the value. ```csharp public string Value { get; } ``` ##### Property Value Text value. ### XmpText Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptext/xmptext.md #### XmpText constructor Initializes a new instance of the `XmpText` class. ```csharp public XmpText(string value) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | The value. | ### XmpThumbnail Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpthumbnail.md #### XmpThumbnail class Represents a thumbnail image for a file. ```csharp public sealed class XmpThumbnail : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpThumbnail() | Initializes a new instance of the `XmpThumbnail` class. | | XmpThumbnail(int, int) | Initializes a new instance of the `XmpThumbnail` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Format { get; set; } | Gets or sets the image format. Defined value: JPEG. | | Height { get; set; } | Gets or sets the image height in pixels. | | ImageBase64 { get; set; } | Gets or sets the full thumbnail image data, converted to base 64 notation. | | ImageData { get; } | Gets the image data. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Width { get; set; } | Gets or sets the image width in pixels. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Format Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpthumbnail/format.md #### XmpThumbnail.Format property Gets or sets the image format. Defined value: JPEG. ```csharp public string Format { get; set; } ``` ##### Property Value The thumbnail format. ### Height Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpthumbnail/height.md #### XmpThumbnail.Height property Gets or sets the image height in pixels. ```csharp public int? Height { get; set; } ``` ##### Property Value The thumbnail height. ### ImageBase64 Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpthumbnail/imagebase64.md #### XmpThumbnail.ImageBase64 property Gets or sets the full thumbnail image data, converted to base 64 notation. ```csharp public string ImageBase64 { get; set; } ``` ##### Property Value The full thumbnail image data, converted to base 64 notation. ### ImageData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpthumbnail/imagedata.md #### XmpThumbnail.ImageData property Gets the image data. ```csharp public byte[] ImageData { get; } ``` ##### Property Value The image data. ### Width Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpthumbnail/width.md #### XmpThumbnail.Width property Gets or sets the image width in pixels. ```csharp public int? Width { get; set; } ``` ##### Property Value The thumbnail width. ### XmpThumbnail Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpthumbnail/xmpthumbnail.md #### XmpThumbnail() Initializes a new instance of the `XmpThumbnail` class. ```csharp public XmpThumbnail() ``` #### XmpThumbnail(int, int) Initializes a new instance of the `XmpThumbnail` class. ```csharp public XmpThumbnail(int width, int height) ``` | Parameter | Type | Description | | --- | --- | --- | | width | Int32 | The width. | | height | Int32 | The height. | ### XmpTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptime.md #### XmpTime class Representation of a time value in seconds. ```csharp public sealed class XmpTime : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpTime() | Initializes a new instance of the `XmpTime` class. | | XmpTime(XmpRational, int) | Initializes a new instance of the `XmpTime` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | Scale { get; set; } | Gets or sets the scale for the time value. | | Value { get; set; } | Gets or sets the time value in the specified scale. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Scale Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptime/scale.md #### XmpTime.Scale property Gets or sets the scale for the time value. ```csharp public XmpRational Scale { get; set; } ``` ##### Property Value The scale for the time value. For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25. ### Value Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptime/value.md #### XmpTime.Value property Gets or sets the time value in the specified scale. ```csharp public int? Value { get; set; } ``` ##### Property Value The time value in the specified scale. ### XmpTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptime/xmptime.md #### XmpTime() Initializes a new instance of the `XmpTime` class. ```csharp public XmpTime() ``` #### XmpTime(XmpRational, int) Initializes a new instance of the `XmpTime` class. ```csharp public XmpTime(XmpRational scale, int value) ``` | Parameter | Type | Description | | --- | --- | --- | | scale | XmpRational | The scale. | | value | Int32 | The value. | ### XmpTimecode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptimecode.md #### XmpTimecode class Represents a timecode value in a video. ```csharp public sealed class XmpTimecode : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpTimecode() | Initializes a new instance of the `XmpTimecode` class. | | XmpTimecode(XmpTimeFormat, string) | Initializes a new instance of the `XmpTimecode` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the number of metadata properties. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | TimeFormat { get; set; } | Gets or sets the format used in the time value. | | TimeValue { get; set; } | Gets or sets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | SetTimeFormat(XmpTimeFormat) | Sets the time format. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### SetTimeFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptimecode/settimeformat.md #### XmpTimecode.SetTimeFormat method Sets the time format. ```csharp public void SetTimeFormat(XmpTimeFormat timeFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | timeFormat | XmpTimeFormat | The time format. | ### TimeFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptimecode/timeformat.md #### XmpTimecode.TimeFormat property Gets or sets the format used in the time value. ```csharp public string TimeFormat { get; set; } ``` ##### Property Value The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode, 30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode. ### TimeValue Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptimecode/timevalue.md #### XmpTimecode.TimeValue property Gets or sets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff ```csharp public string TimeValue { get; set; } ``` ##### Property Value The time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff ### XmpTimecode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptimecode/xmptimecode.md #### XmpTimecode() Initializes a new instance of the `XmpTimecode` class. ```csharp public XmpTimecode() ``` #### XmpTimecode(XmpTimeFormat, string) Initializes a new instance of the `XmpTimecode` class. ```csharp public XmpTimecode(XmpTimeFormat format, string timeValue) ``` | Parameter | Type | Description | | --- | --- | --- | | format | XmpTimeFormat | Time format. | | timeValue | String | Time value. | ### XmpTrailerPI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptrailerpi.md #### XmpTrailerPI class Represents XMP trailer processing instruction. ```csharp public sealed class XmpTrailerPI : IXmpType ``` #### Constructors | Name | Description | | --- | --- | | XmpTrailerPI() | Initializes a new instance of the `XmpTrailerPI` class. | | XmpTrailerPI(bool) | Initializes a new instance of the `XmpTrailerPI` class. | #### Properties | Name | Description | | --- | --- | | IsWritable { get; } | Indicates whether form may be modified in-place. | #### Methods | Name | Description | | --- | --- | | GetXmpRepresentation() | Converts XMP value to the xml representation. | ##### Remarks The end="w" or end="r" portion shall be used by packet scanning processors to determine whether the XMP may be modified in-place. ##### Examples Allowed forms of the trailer PI: ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptrailerpi/getxmprepresentation.md #### XmpTrailerPI.GetXmpRepresentation method Converts XMP value to the xml representation. ```csharp public string GetXmpRepresentation() ``` ##### Return Value Returns String representation of XMP value. ### IsWritable Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptrailerpi/iswritable.md #### XmpTrailerPI.IsWritable property Indicates whether form may be modified in-place. ```csharp public bool IsWritable { get; } ``` ##### Property Value `true` if XMP packet is writable; otherwise, `false`. ### XmpTrailerPI Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmptrailerpi/xmptrailerpi.md #### XmpTrailerPI(bool) Initializes a new instance of the `XmpTrailerPI` class. ```csharp public XmpTrailerPI(bool isWritable) ``` | Parameter | Type | Description | | --- | --- | --- | | isWritable | Boolean | Indicates whether trailer is writable. | #### XmpTrailerPI() Initializes a new instance of the `XmpTrailerPI` class. ```csharp public XmpTrailerPI() ``` ### XmpValueBase Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpvaluebase.md #### XmpValueBase class Represents base XMP value. ```csharp public abstract class XmpValueBase : PropertyValue, IXmpType ``` #### Properties | Name | Description | | --- | --- | | RawValue { get; } | Gets the raw value. | | Type { get; } | Gets the `MetadataPropertyType`. | #### Methods | Name | Description | | --- | --- | | AcceptValue(ValueAcceptor) | Extracts the property value using a custom `ValueAcceptor`. | | abstract GetXmpRepresentation() | Returns string contained value in XMP format. | | ToArray<TElement>() | Converts the property value to an array of the specified type. | | ToClass<T>() | Converts the property value to a reference type. | | override ToString() | Returns a string that represents the property value. | | ToStruct<T>() | Converts the property value to a value type. | | ToStruct<T>(T) | Converts the property value to a value type. | ### GetXmpRepresentation Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpvaluebase/getxmprepresentation.md #### XmpValueBase.GetXmpRepresentation method Returns string contained value in XMP format. ```csharp public abstract string GetXmpRepresentation() ``` ##### Return Value String contained XMP representation. ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpvaluebase/tostring.md #### XmpValueBase.ToString method Returns a string that represents the property value. ```csharp public override string ToString() ``` ##### Return Value A string that represents the property value. ### XmpVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpversion.md #### XmpVersion class Represents a version of a document. ```csharp public sealed class XmpVersion : XmpComplexType ``` #### Constructors | Name | Description | | --- | --- | | XmpVersion() | Initializes a new instance of the `XmpVersion` class. | #### Properties | Name | Description | | --- | --- | | Comments { get; set; } | Gets or sets the comments concerning what was changed. | | Count { get; } | Gets the number of metadata properties. | | Event { get; set; } | Gets or sets the high-level, formal description of what operation the user performed. | | Item { get; } | Gets the `MetadataProperty` with the specified name. | | Keys { get; } | Gets a collection of the metadata property names. | | MetadataType { get; } | Gets the metadata type. | | Modifier { get; set; } | Gets or sets the person who modified this version. | | ModifyDate { get; set; } | Gets or sets the date on which this version was checked in. | | NamespaceUris { get; } | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | Prefixes { get; } | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | PropertyDescriptors { get; } | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | VersionNumber { get; set; } | Gets or sets the new version number. | #### Methods | Name | Description | | --- | --- | | virtual AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | Contains(string) | Determines whether the package contains a metadata property with the specified name. | | virtual FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GetEnumerator() | Returns an enumerator that iterates through the collection. | | GetNamespaceUri(string) | Gets the namespace URI associated with the specified prefix. | | override GetXmpRepresentation() | Returns string contained value in XMP format. | | virtual RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | virtual Sanitize() | Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. | | virtual SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package. | | override ToString() | Returns a String that represents this instance. | | virtual UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### Comments Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpversion/comments.md #### XmpVersion.Comments property Gets or sets the comments concerning what was changed. ```csharp public string Comments { get; set; } ``` ##### Property Value The comments concerning what was changed. ### Event Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpversion/event.md #### XmpVersion.Event property Gets or sets the high-level, formal description of what operation the user performed. ```csharp public XmpResourceEvent Event { get; set; } ``` ##### Property Value The high-level, formal description of what operation the user performed. ### Modifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpversion/modifier.md #### XmpVersion.Modifier property Gets or sets the person who modified this version. ```csharp public string Modifier { get; set; } ``` ##### Property Value The person who modified this version. ### ModifyDate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpversion/modifydate.md #### XmpVersion.ModifyDate property Gets or sets the date on which this version was checked in. ```csharp public DateTime? ModifyDate { get; set; } ``` ##### Property Value The date on which this version was checked in. ### VersionNumber Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpversion/versionnumber.md #### XmpVersion.VersionNumber property Gets or sets the new version number. ```csharp public string VersionNumber { get; set; } ``` ##### Property Value The new version number. ### XmpVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.standards.xmp/xmpversion/xmpversion.md #### XmpVersion constructor Initializes a new instance of the `XmpVersion` class. ```csharp public XmpVersion() ``` ### GroupDocs.Metadata.Tagging Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging.md The namespace contains various sets of tags with which most important metadata properties are marked. The tags allow users to find and update metadata properties in different packages regardless of the metadata standard and file format. #### Classes | Class | Description | | --- | --- | | ContentTagCategory | Provides tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. | | CorporateTagCategory | Provides tags intended to mark metadata properties related to a company that participated in file creation. | | DocumentTagCategory | Provides tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. | | LegalTagCategory | Provides tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. | | OriginTagCategory | Provides tags that help a user to determine the origin of a file (e.g. template or another source). | | PersonTagCategory | Provides tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. | | PropertyTag | Represents a tag used to mark metadata properties. | | PropertyTypeTagCategory | Provides tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. | | TagCategory | Represents a set of tags having some shared characteristics. | | Tags | Contains various sets of tags with which most important metadata properties are marked. The tags allow you to find and update metadata properties in different packages regardless of the metadata standard and file format. | | TimeTagCategory | Provides tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. | | ToolTagCategory | Provides tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. | ### ContentTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory.md #### ContentTagCategory class Provides tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. ```csharp public class ContentTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Album { get; } | Gets the tag that denotes the album name of a audio file. | | Body { get; } | Gets the tag that denotes the body of a email file. | | Comment { get; } | Gets the tag that denotes a comment left by a person who contributed in file creation. | | Description { get; } | Gets the tag that labels properties containing a description of a file. | | FileFormat { get; } | Gets the tag that indicates a metadata property containing information about the format of a file. | | HyperlinksChanged { get; } | Gets the tag that denotes the indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. | | Keywords { get; } | Gets the tag that denotes a metadata property containing keywords that describe the content. | | Language { get; } | Gets the tag indicating the language of the intellectual content of a file. | | Rating { get; } | Gets the tag labeling a user assigned rating of a file. | | SharedDoc { get; } | Gets the tag that denotes which is a common document for several manufacturers. | | Status { get; } | Gets the tag that denotes the status of a file. | | Subject { get; } | Gets the tag that denotes the subject the intellectual content is focused on. | | TableOfContents { get; } | Gets the tag indicating properties containing the table of contents of a file. | | Thumbnail { get; } | Gets the tag that indicates a thumbnail image attached to a file. | | Title { get; } | Gets the tag that labels the name given to a file. | | Type { get; } | Gets the tag that indicates the nature or genre of the content of a file. It also includes terms describing general categories, functions, aggregation levels for the content. | | Version { get; } | Gets the tag labeling the version or revision of a file. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Album Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/album.md #### ContentTagCategory.Album property Gets the tag that denotes the album name of a audio file. ```csharp public PropertyTag Album { get; } ``` ##### Property Value The tag that denotes the album name of a audio file. ### Body Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/body.md #### ContentTagCategory.Body property Gets the tag that denotes the body of a email file. ```csharp public PropertyTag Body { get; } ``` ##### Property Value The tag that denotes the body of a email file. ### Comment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/comment.md #### ContentTagCategory.Comment property Gets the tag that denotes a comment left by a person who contributed in file creation. ```csharp public PropertyTag Comment { get; } ``` ##### Property Value The tag that denotes a comment left by a person who contributed in file creation. ### Description Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/description.md #### ContentTagCategory.Description property Gets the tag that labels properties containing a description of a file. ```csharp public PropertyTag Description { get; } ``` ##### Property Value The tag that labels properties containing a description of a file. ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/fileformat.md #### ContentTagCategory.FileFormat property Gets the tag that indicates a metadata property containing information about the format of a file. ```csharp public PropertyTag FileFormat { get; } ``` ##### Property Value The tag that indicates a metadata property containing information about the format of a file. ### HyperlinksChanged Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/hyperlinkschanged.md #### ContentTagCategory.HyperlinksChanged property Gets the tag that denotes the indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. ```csharp public PropertyTag HyperlinksChanged { get; } ``` ##### Property Value The tag that denotes indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. ### Keywords Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/keywords.md #### ContentTagCategory.Keywords property Gets the tag that denotes a metadata property containing keywords that describe the content. ```csharp public PropertyTag Keywords { get; } ``` ##### Property Value The tag that denotes a metadata property containing keywords that describe the content. ### Language Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/language.md #### ContentTagCategory.Language property Gets the tag indicating the language of the intellectual content of a file. ```csharp public PropertyTag Language { get; } ``` ### Rating Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/rating.md #### ContentTagCategory.Rating property Gets the tag labeling a user assigned rating of a file. ```csharp public PropertyTag Rating { get; } ``` ##### Property Value The tag labeling a user assigned rating of a file. ### SharedDoc Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/shareddoc.md #### ContentTagCategory.SharedDoc property Gets the tag that denotes which is a common document for several manufacturers. ```csharp public PropertyTag SharedDoc { get; } ``` ##### Property Value The tag that denotes which is a common document for several manufacturers. ### Status Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/status.md #### ContentTagCategory.Status property Gets the tag that denotes the status of a file. ```csharp public PropertyTag Status { get; } ``` ##### Property Value The tag that denotes the status of a file. ### Subject Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/subject.md #### ContentTagCategory.Subject property Gets the tag that denotes the subject the intellectual content is focused on. ```csharp public PropertyTag Subject { get; } ``` ##### Property Value The tag that denotes the subject the intellectual content is focused on. ### TableOfContents Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/tableofcontents.md #### ContentTagCategory.TableOfContents property Gets the tag indicating properties containing the table of contents of a file. ```csharp public PropertyTag TableOfContents { get; } ``` ### Thumbnail Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/thumbnail.md #### ContentTagCategory.Thumbnail property Gets the tag that indicates a thumbnail image attached to a file. ```csharp public PropertyTag Thumbnail { get; } ``` ##### Property Value The tag that indicates a thumbnail image attached to a file. ### Title Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/title.md #### ContentTagCategory.Title property Gets the tag that labels the name given to a file. ```csharp public PropertyTag Title { get; } ``` ##### Property Value The tag that labels the name given to a file. ### Type Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/type.md #### ContentTagCategory.Type property Gets the tag that indicates the nature or genre of the content of a file. It also includes terms describing general categories, functions, aggregation levels for the content. ```csharp public PropertyTag Type { get; } ``` ### Version Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/contenttagcategory/version.md #### ContentTagCategory.Version property Gets the tag labeling the version or revision of a file. ```csharp public PropertyTag Version { get; } ``` ##### Property Value The tag labeling the version or revision of a file. ### CorporateTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/corporatetagcategory.md #### CorporateTagCategory class Provides tags intended to mark metadata properties related to a company that participated in file creation. ```csharp public class CorporateTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Company { get; } | Gets the tag that labels a property containing information about a company contributed to file creation. Alternatively, the tag can refer to a company the file content is about. | | Manager { get; } | Gets the tag that labels information about a person who managed the making process of a file. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Company Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/corporatetagcategory/company.md #### CorporateTagCategory.Company property Gets the tag that labels a property containing information about a company contributed to file creation. Alternatively, the tag can refer to a company the file content is about. ```csharp public PropertyTag Company { get; } ``` ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/corporatetagcategory/manager.md #### CorporateTagCategory.Manager property Gets the tag that labels information about a person who managed the making process of a file. ```csharp public PropertyTag Manager { get; } ``` ##### Property Value The tag that labels information about a person who managed the making process of a file. ### DocumentTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory.md #### DocumentTagCategory class Provides tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. ```csharp public class DocumentTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | BuiltIn { get; } | Gets the tag that indicates that the property it labels is built-in. | | Field { get; } | Gets the tag that denotes a property holding information about a form field or calculated field extracted from a document. | | HiddenData { get; } | Gets the tag indicating a document part that is not visible for regular users. | | OnlyUpdate { get; } | Gets the tag that indicates that the property it not full removal from document. | | Page { get; } | Gets the tag that denotes a property holding information about a document page. | | ReadOnly { get; } | Gets the tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. | | Revision { get; } | Get the tag labeling a property containing information about a document revision (tracked change). | | Statistic { get; } | Gets the tag indicating a property containing document statistics (word count, character count, etc). | | UserComment { get; } | Gets the tag that labels user comments shown in the document content. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### BuiltIn Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/builtin.md #### DocumentTagCategory.BuiltIn property Gets the tag that indicates that the property it labels is built-in. ```csharp public PropertyTag BuiltIn { get; } ``` ##### Property Value The tag that indicates that the property it labels is built-in. ### Field Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/field.md #### DocumentTagCategory.Field property Gets the tag that denotes a property holding information about a form field or calculated field extracted from a document. ```csharp public PropertyTag Field { get; } ``` ##### Property Value The tag that denotes a property holding information about a form field or calculated field extracted from a document. ### HiddenData Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/hiddendata.md #### DocumentTagCategory.HiddenData property Gets the tag indicating a document part that is not visible for regular users. ```csharp public PropertyTag HiddenData { get; } ``` ##### Property Value The tag indicating a document part that is not visible for regular users. ### OnlyUpdate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/onlyupdate.md #### DocumentTagCategory.OnlyUpdate property Gets the tag that indicates that the property it not full removal from document. ```csharp public PropertyTag OnlyUpdate { get; } ``` ##### Property Value The tag that indicates that the property it not full removal from document. ### Page Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/page.md #### DocumentTagCategory.Page property Gets the tag that denotes a property holding information about a document page. ```csharp public PropertyTag Page { get; } ``` ##### Property Value The tag that denotes a property holding information about a document page. ### ReadOnly Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/readonly.md #### DocumentTagCategory.ReadOnly property Gets the tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. ```csharp public PropertyTag ReadOnly { get; } ``` ##### Property Value The tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. ### Revision Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/revision.md #### DocumentTagCategory.Revision property Get the tag labeling a property containing information about a document revision (tracked change). ```csharp public PropertyTag Revision { get; } ``` ##### Property Value The tag labeling a property containing information about a document revision (tracked change). ### Statistic Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/statistic.md #### DocumentTagCategory.Statistic property Gets the tag indicating a property containing document statistics (word count, character count, etc). ```csharp public PropertyTag Statistic { get; } ``` ##### Property Value The tag indicating a property containing document statistics (word count, character count, etc). ### UserComment Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/documenttagcategory/usercomment.md #### DocumentTagCategory.UserComment property Gets the tag that labels user comments shown in the document content. ```csharp public PropertyTag UserComment { get; } ``` ##### Property Value The tag that labels user comments shown in the document content. ### LegalTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/legaltagcategory.md #### LegalTagCategory class Provides tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. ```csharp public class LegalTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Copyright { get; } | Gets the tag that labels a copyright notice provided by the owner. | | Owner { get; } | Gets the tag that denotes information about the owners of a file. | | UsageTerms { get; } | Gets the tag that labels instructions on how the file can be used. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Copyright Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/legaltagcategory/copyright.md #### LegalTagCategory.Copyright property Gets the tag that labels a copyright notice provided by the owner. ```csharp public PropertyTag Copyright { get; } ``` ##### Property Value The tag that labels a copyright notice provided by the owner. ### Owner Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/legaltagcategory/owner.md #### LegalTagCategory.Owner property Gets the tag that denotes information about the owners of a file. ```csharp public PropertyTag Owner { get; } ``` ##### Property Value The tag that denotes information about the owners of a file. ### UsageTerms Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/legaltagcategory/usageterms.md #### LegalTagCategory.UsageTerms property Gets the tag that labels instructions on how the file can be used. ```csharp public PropertyTag UsageTerms { get; } ``` ##### Property Value The tag that labels instructions on how the file can be used. ### OriginTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/origintagcategory.md #### OriginTagCategory class Provides tags that help a user to determine the origin of a file (e.g. template or another source). ```csharp public class OriginTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Source { get; } | Gets the tag that labels a reference to a resource from which the file content is derived. | | Template { get; } | Gets the tag that denotes the template from which the file was created. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Source Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/origintagcategory/source.md #### OriginTagCategory.Source property Gets the tag that labels a reference to a resource from which the file content is derived. ```csharp public PropertyTag Source { get; } ``` ##### Property Value The tag that labels a reference to a resource from which the file content is derived. ### Template Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/origintagcategory/template.md #### OriginTagCategory.Template property Gets the tag that denotes the template from which the file was created. ```csharp public PropertyTag Template { get; } ``` ##### Property Value The tag that denotes the template from which the file was created. ### PersonTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory.md #### PersonTagCategory class Provides tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. ```csharp public class PersonTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Artist { get; } | Gets the tag that denotes the original performer of a file. | | Client { get; } | Gets the tag that labels information about the client for whom the file/intellectual content was created. | | Contributor { get; } | Gets the tag that labels a property containing the name of a person who somehow contributed to file creation. Please note that the tag is not applied towards metadata properties marked with more specific tags from this category. E.g. if a property labeled with the Creator tag. | | Creator { get; } | Gets the tag that denotes the original author of a file/document. | | Editor { get; } | Gets the tag that labels a person who edited a file. The tag is usually used to mark a property containing information about the last editor. | | Manager { get; } | Gets the tag that labels information about a person who managed the making process of a file. | | Model { get; } | Gets the tag that denotes information about a person the content of the file is about. For photos that is a person shown in the image. | | Publisher { get; } | Gets the tag marking a person responsible for making the file available. | | Recipient { get; } | Gets the tag that denotes the original recipients of a mail. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Artist Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/artist.md #### PersonTagCategory.Artist property Gets the tag that denotes the original performer of a file. ```csharp public PropertyTag Artist { get; } ``` ##### Property Value The tag that denotes the original performer of a file. ### Client Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/client.md #### PersonTagCategory.Client property Gets the tag that labels information about the client for whom the file/intellectual content was created. ```csharp public PropertyTag Client { get; } ``` ##### Property Value The tag that labels information about the client for whom the file/intellectual content was created. ### Contributor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/contributor.md #### PersonTagCategory.Contributor property Gets the tag that labels a property containing the name of a person who somehow contributed to file creation. Please note that the tag is not applied towards metadata properties marked with more specific tags from this category. E.g. if a property labeled with the Creator tag. ```csharp public PropertyTag Contributor { get; } ``` ##### Property Value The tag that labels a property containing the name of a person who somehow contributed to file creation. ### Creator Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/creator.md #### PersonTagCategory.Creator property Gets the tag that denotes the original author of a file/document. ```csharp public PropertyTag Creator { get; } ``` ##### Property Value The tag that denotes the original author of a file/document. ### Editor Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/editor.md #### PersonTagCategory.Editor property Gets the tag that labels a person who edited a file. The tag is usually used to mark a property containing information about the last editor. ```csharp public PropertyTag Editor { get; } ``` ##### Property Value The tag that labels a person who edited a file. ### Manager Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/manager.md #### PersonTagCategory.Manager property Gets the tag that labels information about a person who managed the making process of a file. ```csharp public PropertyTag Manager { get; } ``` ##### Property Value The tag that labels information about a person who managed the making process of a file. ### Model Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/model.md #### PersonTagCategory.Model property Gets the tag that denotes information about a person the content of the file is about. For photos that is a person shown in the image. ```csharp public PropertyTag Model { get; } ``` ##### Property Value The tag that denotes information about a person the content of the file is about. ### Publisher Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/publisher.md #### PersonTagCategory.Publisher property Gets the tag marking a person responsible for making the file available. ```csharp public PropertyTag Publisher { get; } ``` ##### Property Value The tag marking a person responsible for making the file available. ### Recipient Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/persontagcategory/recipient.md #### PersonTagCategory.Recipient property Gets the tag that denotes the original recipients of a mail. ```csharp public PropertyTag Recipient { get; } ``` ##### Property Value The tag that denotes the original recipients of a mail. ### PropertyTag Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytag.md #### PropertyTag class Represents a tag used to mark metadata properties. ```csharp public sealed class PropertyTag : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Category { get; } | Gets the tag category. | #### Methods | Name | Description | | --- | --- | | override Equals(object) | Determines whether the specified object is equal to the current object. | | Equals(PropertyTag) | Indicates whether the current object is equal to another object of the same type. | | override GetHashCode() | Serves as the default hash function. | | override ToString() | Returns a string that represents the current object. | | operator == | Indicates whether two objects of the same type are equal. | | operator != | Indicates whether two objects of the same type are not equal. | ### Category Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytag/category.md #### PropertyTag.Category property Gets the tag category. ```csharp public TagCategory Category { get; } ``` ##### Property Value The tag category. ### Equals Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytag/equals.md #### Equals(PropertyTag) Indicates whether the current object is equal to another object of the same type. ```csharp public bool Equals(PropertyTag other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | PropertyTag | An object to compare with this object. | ##### Return Value True if the current object is equal to the *other* parameter; otherwise, false. #### Equals(object) Determines whether the specified object is equal to the current object. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current object. | ##### Return Value True if the specified object is equal to the current object; otherwise, false. ### GetHashCode Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytag/gethashcode.md #### PropertyTag.GetHashCode method Serves as the default hash function. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current object. ### op_Equality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytag/op_equality.md #### PropertyTag Equality operator Indicates whether two objects of the same type are equal. ```csharp public static bool operator ==(PropertyTag left, PropertyTag right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | PropertyTag | The left object. | | right | PropertyTag | The rigt object. | ##### Return Value True if the objects are equal; otherwise, false. ### op_Inequality Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytag/op_inequality.md #### PropertyTag Inequality operator Indicates whether two objects of the same type are not equal. ```csharp public static bool operator !=(PropertyTag left, PropertyTag right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | PropertyTag | The left object. | | right | PropertyTag | The rigt object. | ##### Return Value True if the objects are not equal; otherwise, false. ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytag/tostring.md #### PropertyTag.ToString method Returns a string that represents the current object. ```csharp public override string ToString() ``` ##### Return Value A string that represents the current object. ### PropertyTypeTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory.md #### PropertyTypeTagCategory class Provides tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. ```csharp public class PropertyTypeTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Bitrate { get; } | Gets the tag that labels a property describing a bitrate. | | Color { get; } | Gets the tag that labels a property describing a color. | | DigitalSignature { get; } | Gets the tag that labels a digital signature. | | Font { get; } | Gets the tag that denotes a property describing font characteristics. | | Hash { get; } | Gets the tag that labels a property holding a hash of the file content. | | Identifier { get; } | Gets the tag that labels a property containing an identifier of the content. | | Link { get; } | Gets the tag that denotes a property being a link to an external resource. | | Location { get; } | Gets the tag that indicates a property being a reference to a geographical location. The property can contain the name of a city, full address, GPS coordinates, etc. | | Measure { get; } | Gets the tag that indicates a property being a measured characteristic of the content. It can be the file size, number of pages, page size, etc. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Bitrate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/bitrate.md #### PropertyTypeTagCategory.Bitrate property Gets the tag that labels a property describing a bitrate. ```csharp public PropertyTag Bitrate { get; } ``` ##### Property Value The tag that labels a property describing a bitrate. ### Color Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/color.md #### PropertyTypeTagCategory.Color property Gets the tag that labels a property describing a color. ```csharp public PropertyTag Color { get; } ``` ##### Property Value The tag that labels a property describing a color. ### DigitalSignature Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/digitalsignature.md #### PropertyTypeTagCategory.DigitalSignature property Gets the tag that labels a digital signature. ```csharp public PropertyTag DigitalSignature { get; } ``` ##### Property Value The tag that labels a digital signature. ### Font Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/font.md #### PropertyTypeTagCategory.Font property Gets the tag that denotes a property describing font characteristics. ```csharp public PropertyTag Font { get; } ``` ##### Property Value The tag that denotes a property describing font characteristics. ### Hash Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/hash.md #### PropertyTypeTagCategory.Hash property Gets the tag that labels a property holding a hash of the file content. ```csharp public PropertyTag Hash { get; } ``` ##### Property Value The tag that labels a property holding a hash of the file content. ### Identifier Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/identifier.md #### PropertyTypeTagCategory.Identifier property Gets the tag that labels a property containing an identifier of the content. ```csharp public PropertyTag Identifier { get; } ``` ##### Property Value The tag that labels a property containing an identifier of the content. ### Link Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/link.md #### PropertyTypeTagCategory.Link property Gets the tag that denotes a property being a link to an external resource. ```csharp public PropertyTag Link { get; } ``` ##### Property Value The tag that denotes a property being a link to an external resource. ### Location Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/location.md #### PropertyTypeTagCategory.Location property Gets the tag that indicates a property being a reference to a geographical location. The property can contain the name of a city, full address, GPS coordinates, etc. ```csharp public PropertyTag Location { get; } ``` ##### Property Value The tag that indicates a property being a reference to a geographical location. ### Measure Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/propertytypetagcategory/measure.md #### PropertyTypeTagCategory.Measure property Gets the tag that indicates a property being a measured characteristic of the content. It can be the file size, number of pages, page size, etc. ```csharp public PropertyTag Measure { get; } ``` ##### Property Value The tag that indicates a property being a measured characteristic of the content. ### TagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tagcategory.md #### TagCategory class Represents a set of tags having some shared characteristics. ```csharp public class TagCategory ``` #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### ToString Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tagcategory/tostring.md #### TagCategory.ToString method Returns a string that represents the current object. ```csharp public override string ToString() ``` ##### Return Value A string that represents the current object. ### Tags Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags.md #### Tags class Contains various sets of tags with which most important metadata properties are marked. The tags allow you to find and update metadata properties in different packages regardless of the metadata standard and file format. ```csharp public static class Tags ``` #### Properties | Name | Description | | --- | --- | | static Content { get; } | Gets the tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. | | static Corporate { get; } | Gets a set of tags intended to mark metadata properties related to a company that participated in file creation. | | static Document { get; } | Gets a set of tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. | | static Legal { get; } | Gets a set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. | | static Origin { get; } | Gets the tags that help a user to determine the origin of a file (e.g. template or another source). | | static Person { get; } | Gets a set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. | | static PropertyType { get; } | Gets a set of tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. | | static Time { get; } | Gets a set of tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. | | static Tool { get; } | Gets the tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. | ### Content Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/content.md #### Tags.Content property Gets the tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. ```csharp public static ContentTagCategory Content { get; } ``` ##### Property Value The tags that are attached to metadata properties describing the content of a file. ### Corporate Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/corporate.md #### Tags.Corporate property Gets a set of tags intended to mark metadata properties related to a company that participated in file creation. ```csharp public static CorporateTagCategory Corporate { get; } ``` ##### Property Value A set of tags intended to mark metadata properties related to a company that participated in file creation. ### Document Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/document.md #### Tags.Document property Gets a set of tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. ```csharp public static DocumentTagCategory Document { get; } ``` ##### Property Value A set of tags that are applied to document-specific properties only. ### Legal Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/legal.md #### Tags.Legal property Gets a set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. ```csharp public static LegalTagCategory Legal { get; } ``` ##### Property Value A set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. ### Origin Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/origin.md #### Tags.Origin property Gets the tags that help a user to determine the origin of a file (e.g. template or another source). ```csharp public static OriginTagCategory Origin { get; } ``` ##### Property Value The tags that help a user to determine the origin of a file (e.g. template or another source). ### Person Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/person.md #### Tags.Person property Gets a set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. ```csharp public static PersonTagCategory Person { get; } ``` ##### Property Value A set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. ### PropertyType Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/propertytype.md #### Tags.PropertyType property Gets a set of tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. ```csharp public static PropertyTypeTagCategory PropertyType { get; } ``` ### Time Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/time.md #### Tags.Time property Gets a set of tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. ```csharp public static TimeTagCategory Time { get; } ``` ##### Property Value A set of tags that mark metadata properties used to describe the lifecycle of a file. ### Tool Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tags/tool.md #### Tags.Tool property Gets the tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. ```csharp public static ToolTagCategory Tool { get; } ``` ##### Property Value The tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. ### TimeTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory.md #### TimeTagCategory class Provides tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. ```csharp public class TimeTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Created { get; } | Gets the tag that indicates the date a file was created. | | Delivery { get; } | Gets the tag that indicates the date a file was delivered. | | Duration { get; } | Gets the tag that denotes the duration of a media file. | | Expired { get; } | Gets the tag that labels the latest date the owner intends the file data to be used. | | IntellectualContentCreated { get; } | Gets the tag that denotes the date the intellectual content of a file was created. | | Modified { get; } | Gets the tag that indicates the date a file was edited. | | Printed { get; } | Gets the tag that denotes the date a file was printed. | | Published { get; } | Gets the tag that indicates the date a file became available. | | TotalEditingTime { get; } | Gets the tag that denotes the total editing time of a file. | | ZoneCity { get; } | Gets the tag that denotes the time zone. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Created Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/created.md #### TimeTagCategory.Created property Gets the tag that indicates the date a file was created. ```csharp public PropertyTag Created { get; } ``` ##### Property Value The tag that indicates the date a file was created. ### Delivery Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/delivery.md #### TimeTagCategory.Delivery property Gets the tag that indicates the date a file was delivered. ```csharp public PropertyTag Delivery { get; } ``` ##### Property Value The tag that indicates the date a file was delivered. ### Duration Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/duration.md #### TimeTagCategory.Duration property Gets the tag that denotes the duration of a media file. ```csharp public PropertyTag Duration { get; } ``` ##### Property Value The tag that denotes the duration of a media file. ### Expired Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/expired.md #### TimeTagCategory.Expired property Gets the tag that labels the latest date the owner intends the file data to be used. ```csharp public PropertyTag Expired { get; } ``` ##### Property Value The tag that labels the latest date the owner intends the file data to be used. ### IntellectualContentCreated Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/intellectualcontentcreated.md #### TimeTagCategory.IntellectualContentCreated property Gets the tag that denotes the date the intellectual content of a file was created. ```csharp public PropertyTag IntellectualContentCreated { get; } ``` ##### Property Value The tag that denotes the date the intellectual content of a file was created. ### Modified Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/modified.md #### TimeTagCategory.Modified property Gets the tag that indicates the date a file was edited. ```csharp public PropertyTag Modified { get; } ``` ##### Property Value The tag that indicates the date a file was edited. ### Printed Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/printed.md #### TimeTagCategory.Printed property Gets the tag that denotes the date a file was printed. ```csharp public PropertyTag Printed { get; } ``` ##### Property Value The tag that denotes the date a file was printed. ### Published Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/published.md #### TimeTagCategory.Published property Gets the tag that indicates the date a file became available. ```csharp public PropertyTag Published { get; } ``` ##### Property Value The tag that indicates the date a file became available. ### TotalEditingTime Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/totaleditingtime.md #### TimeTagCategory.TotalEditingTime property Gets the tag that denotes the total editing time of a file. ```csharp public PropertyTag TotalEditingTime { get; } ``` ##### Property Value The tag that denotes the total editing time of a file. ### ZoneCity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/timetagcategory/zonecity.md #### TimeTagCategory.ZoneCity property Gets the tag that denotes the time zone. ```csharp public PropertyTag ZoneCity { get; } ``` ##### Property Value The tag that denotes the time zone. ### ToolTagCategory Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory.md #### ToolTagCategory class Provides tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. ```csharp public class ToolTagCategory : TagCategory ``` #### Properties | Name | Description | | --- | --- | | Compression { get; } | Gets the tag that marks a compression. | | Hardware { get; } | Gets the tag that denotes any kind of hardware used to create a file. | | HardwareManufacturer { get; } | Gets the tag that marks a hardware manufacturer. | | HardwareVersion { get; } | Gets the tag that labels properties containing the version of the hardware used to create a file. | | ModelId { get; } | Gets the tag that marks a model id. | | Software { get; } | Gets the tag that labels any kind of software used to create a file. | | SoftwareManufacturer { get; } | Gets the tag that marks a software manufacturer. | | SoftwareVersion { get; } | Gets the tag that labels properties containing the version of the software used to create a file. | #### Methods | Name | Description | | --- | --- | | override ToString() | Returns a string that represents the current object. | ### Compression Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/compression.md #### ToolTagCategory.Compression property Gets the tag that marks a compression. ```csharp public PropertyTag Compression { get; } ``` ##### Property Value The tag that marks a compression. ### Hardware Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/hardware.md #### ToolTagCategory.Hardware property Gets the tag that denotes any kind of hardware used to create a file. ```csharp public PropertyTag Hardware { get; } ``` ##### Property Value The tag that denotes any kind of hardware used to create a file. ### HardwareManufacturer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/hardwaremanufacturer.md #### ToolTagCategory.HardwareManufacturer property Gets the tag that marks a hardware manufacturer. ```csharp public PropertyTag HardwareManufacturer { get; } ``` ##### Property Value The tag that marks a hardware manufacturer. ### HardwareVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/hardwareversion.md #### ToolTagCategory.HardwareVersion property Gets the tag that labels properties containing the version of the hardware used to create a file. ```csharp public PropertyTag HardwareVersion { get; } ``` ##### Property Value The tag that labels properties containing the version of the hardware used to create a file. ### ModelId Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/modelid.md #### ToolTagCategory.ModelId property Gets the tag that marks a model id. ```csharp public PropertyTag ModelId { get; } ``` ##### Property Value The tag that marks a model id. ### Software Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/software.md #### ToolTagCategory.Software property Gets the tag that labels any kind of software used to create a file. ```csharp public PropertyTag Software { get; } ``` ##### Property Value The tag that labels any kind of software used to create a file. ### SoftwareManufacturer Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/softwaremanufacturer.md #### ToolTagCategory.SoftwareManufacturer property Gets the tag that marks a software manufacturer. ```csharp public PropertyTag SoftwareManufacturer { get; } ``` ##### Property Value The tag that marks a software manufacturer. ### SoftwareVersion Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.tagging/tooltagcategory/softwareversion.md #### ToolTagCategory.SoftwareVersion property Gets the tag that labels properties containing the version of the software used to create a file. ```csharp public PropertyTag SoftwareVersion { get; } ``` ##### Property Value The tag that labels properties containing the version of the software used to create a file. ### GroupDocs.Metadata Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata.md The namespace provides main classes allowing working with metadata in all supported formats. The `Metadata` class is the entry point to all features of the library. #### Classes | Class | Description | | --- | --- | | License | Represents GroupDocs.Metadata license. License class should be applied once per AppDomain. | | Metadata | Provides the main class to access metadata in all supported formats. | | Metered | Provides methods to set a metered key. | ### License Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/license.md #### License class Represents GroupDocs.Metadata license. License class should be applied once per AppDomain. ```csharp public sealed class License ``` #### Constructors | Name | Description | | --- | --- | | License() | Initializes a new instance of the `License` class. | #### Methods | Name | Description | | --- | --- | | SetLicense(Stream) | Licenses the component. | | SetLicense(string) | Licenses the component. | ##### Examples This example demonstrates how to setup a license. ```csharp // initialize License class License license = new License(); // set path to .lic file license.SetLicense(@"C:\\GroupDocs.Metadata.lic"); ``` ### License Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/license/license.md #### License constructor Initializes a new instance of the `License` class. ```csharp public License() ``` ### SetLicense Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/license/setlicense.md #### SetLicense(string) Licenses the component. ```csharp public void SetLicense(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The absolute path to a license file. | ##### Examples This example demonstrates how to setup license. ```csharp // initialize License class License license = new License(); // set path to .lic file license.SetLicense(@"C:\\GroupDocs.Metadata.lic"); ``` #### SetLicense(Stream) Licenses the component. ```csharp public void SetLicense(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | License stream. | ### Metadata Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata.md #### Metadata class Provides the main class to access metadata in all supported formats. ```csharp public sealed class Metadata : IDisposable ``` #### Constructors | Name | Description | | --- | --- | | Metadata(Stream) | Initializes a new instance of the `Metadata` class. | | Metadata(string) | Initializes a new instance of the `Metadata` class. | | Metadata(Uri) | Initializes a new instance of the `Metadata` class. | | Metadata(Stream, LoadOptions) | Initializes a new instance of the `Metadata` class. | | Metadata(string, LoadOptions) | Initializes a new instance of the `Metadata` class. | | Metadata(Uri, LoadOptions) | Initializes a new instance of the `Metadata` class. | #### Properties | Name | Description | | --- | --- | | FileFormat { get; } | Gets the type of the loaded file (if recognized). | #### Methods | Name | Description | | --- | --- | | AddProperties(Func<MetadataProperty, bool>, PropertyValue) | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | | CopyTo(MetadataPackage) | Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. | | CopyTo(MetadataPackage, List<PropertyTag>) | Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. | | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | | FindProperties(Func<MetadataProperty, bool>) | Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. | | GeneratePreview(PreviewOptions) | Creates preview images for specified pages. | | GetDocumentInfo() | Gets common information about the loaded document. | | GetRootPackage() | Gets the root package providing access to all metadata properties extracted from the file. | | GetRootPackage<TRoot>() | Gets the root package providing access to all metadata properties extracted from the file. | | RemoveProperties(Func<MetadataProperty, bool>) | Removes metadata properties satisfying the specified predicate. | | Sanitize() | Removes writable metadata properties from all detected packages or whole packages if possible. The operation is recursive so it affects all nested packages as well. | | Save() | Saves all changes made in the loaded document. | | Save(Stream) | Saves the document content into a stream. | | Save(string) | Saves the document content to the specified file. | | SetProperties(Func<MetadataProperty, bool>, PropertyValue) | Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in a package that satisfies the predicate it is added to the package. | | UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) | Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. | ### AddProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/addproperties.md #### Metadata.AddProperties method Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. ```csharp public int AddProperties(Func predicate, PropertyValue value) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | | value | PropertyValue | A value for the picked properties. | ##### Return Value The number of affected properties. ##### Examples This example demonstrates how to add some missing metadata properties to a file regardless of its format. ```csharp using (Metadata metadata = new Metadata(Constants.InputDocx)) { // Add a property containing the file last printing date if it's missing // Note that the property will be added to metadata packages that satisfy the following criteria: // 1) Only existing metadata packages will be affected. No new packages are added during this operation // 2) There should be a known metadata property in the package structure that fits the search condition but is actually missing in the package. // All properties supported by a certain package are usually defined in the specification of a particular metadata standard var affected = metadata.AddProperties(p => p.Tags.Contains(Tags.Time.Printed), new PropertyValue(DateTime.Now)); Console.WriteLine("Affected properties: {0}", affected); metadata.Save(Constants.OutputDocx); } ``` ### CopyTo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/copyto.md #### CopyTo(MetadataPackage) Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. ```csharp public void CopyTo(MetadataPackage metadata) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | A destination metadata package. | ##### Remarks If the package types do not match, an error will be returned. ##### Examples This example demonstrates how to copy metadata properties from source package to destination package. ```csharp using (Metadata source_metadata = new Metadata(Constants.InputPdf)) using (Metadata destination_metadata = new Metadata(Constants.DestinationPdf)) { source_metadata.CopyTo(destination_metadata); source_metadata.Save(); } ``` #### CopyTo(MetadataPackage, List<PropertyTag>) Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. ```csharp public int CopyTo(MetadataPackage metadata, List tags) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | A destination metadata package. | | tags | List`1 | A list of the tags. | ##### Return Value The number of affected properties. ##### Remarks If the package types do not match, an error will be returned. ##### Examples This example demonstrates how to copy metadata properties from source package to destination package. ```csharp using (Metadata source_metadata = new Metadata(Constants.InputPdf)) using (Metadata destination_metadata = new Metadata(Constants.DestinationPdf)) { var tags = new List(); tags.Add(Tags.Content.Album); source_metadata.CopyTo(destination_metadata, tags); source_metadata.Save(); } ``` ### Dispose Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/dispose.md #### Metadata.Dispose method Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. ```csharp public void Dispose() ``` ### FileFormat Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/fileformat.md #### Metadata.FileFormat property Gets the type of the loaded file (if recognized). ```csharp public FileFormat FileFormat { get; } ``` ##### Property Value The type of the loaded file if recognized; otherwise, Unknown. ### FindProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/findproperties.md #### Metadata.FindProperties method Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well. ```csharp public IEnumerable FindProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value An IEnumerable that contains properties from the package that satisfy the condition. ##### Examples This example demonstrates how to search for specific metadata properties using tags. ```csharp using (Metadata metadata = new Metadata(Constants.InputPptx)) { // Fetch all the properties satisfying the predicate: // property contains the name of the last document editor OR the date/time the document was last modified var properties = metadata.FindProperties(p => p.Tags.Contains(Tags.Person.Editor) || p.Tags.Contains(Tags.Time.Modified)); foreach (var property in properties) { Console.WriteLine("Property name: {0}, Property value: {1}", property.Name, property.Value); } } ``` ### GeneratePreview Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/generatepreview.md #### Metadata.GeneratePreview method Creates preview images for specified pages. ```csharp public void GeneratePreview(PreviewOptions previewOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | A set of options for preview generation. | ##### Examples This code snippet demonstrates how to create image previews for document pages. ```csharp using (Metadata metadata = new Metadata(Constants.InputDocx)) { PreviewOptions previewOptions = new PreviewOptions(pageNumber => File.Create($"{Constants.OutputPath}\\result_{pageNumber}.png")); previewOptions.PreviewFormat = PreviewOptions.PreviewFormats.PNG; previewOptions.PageNumbers = new int[] { 1 }; metadata.GeneratePreview(previewOptions); } ``` ### GetDocumentInfo Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/getdocumentinfo.md #### Metadata.GetDocumentInfo method Gets common information about the loaded document. ```csharp public IDocumentInfo GetDocumentInfo() ``` ##### Return Value An object representing common document information. ##### Examples This example demonstrates how to extract basic format information from a file. ```csharp using (Metadata metadata = new Metadata(Constants.InputXlsx)) { if (metadata.FileFormat != FileFormat.Unknown) { IDocumentInfo info = metadata.GetDocumentInfo(); Console.WriteLine("File format: {0}", info.FileType.FileFormat); Console.WriteLine("File extension: {0}", info.FileType.Extension); Console.WriteLine("MIME Type: {0}", info.FileType.MimeType); Console.WriteLine("Number of pages: {0}", info.PageCount); Console.WriteLine("Document size: {0} bytes", info.Size); Console.WriteLine("Is document encrypted: {0}", info.IsEncrypted); } } ``` ### GetRootPackage Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/getrootpackage.md #### GetRootPackage() Gets the root package providing access to all metadata properties extracted from the file. ```csharp public RootMetadataPackage GetRootPackage() ``` ##### Return Value The root package providing access to all metadata properties extracted from the file. ##### Examples This example demonstrates how to traverse the whole metadata tree for a specific file regardless of the format. ```csharp public static void Run() { using (Metadata metadata = new Metadata(Constants.JpegWithXmp)) { DisplayMetadataTree(metadata.GetRootPackage(), 0); } } private static void DisplayMetadataTree(MetadataPackage package, int indent) { if (package != null) { var stringMetadataType = package.MetadataType.ToString(); Console.WriteLine(stringMetadataType.PadLeft(stringMetadataType.Length + indent)); foreach (MetadataProperty property in package) { string stringPropertyRepresentation = string.Format("Name: {0}, Value: {1}", property.Name, property.Value); Console.WriteLine(stringPropertyRepresentation.PadLeft(stringPropertyRepresentation.Length + indent + 1)); if (property.Value != null) { switch (property.Value.Type) { case MetadataPropertyType.Metadata: DisplayMetadataTree(property.Value.ToClass(), indent + 2); break; case MetadataPropertyType.MetadataArray: DisplayMetadataTree(property.Value.ToArray(), indent + 2); break; } } } } } private static void DisplayMetadataTree(MetadataPackage[] packages, int indent) { if (packages != null) { foreach (var package in packages) { DisplayMetadataTree(package, indent); } } } ``` #### GetRootPackage<TRoot>() Gets the root package providing access to all metadata properties extracted from the file. ```csharp public TRoot GetRootPackage() where TRoot : RootMetadataPackage ``` | Parameter | Description | | --- | --- | | TRoot | The exact type of the root package. | ##### Return Value The root package providing access to all metadata properties extracted from the file. ### Metadata Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/metadata.md #### Metadata(string) Initializes a new instance of the `Metadata` class. ```csharp public Metadata(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | A string that contains the full name of the file from which to create a `Metadata` instance. | ##### Examples This example demonstrates how to load a file from a local disk. ```csharp using (Metadata metadata = new Metadata(Constants.InputOne)) { // Extract, edit or remove metadata here } ``` #### Metadata(Stream) Initializes a new instance of the `Metadata` class. ```csharp public Metadata(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | A stream that contains the document to load. | ##### Examples This example demonstrates how to load a file from a stream. ```csharp using (Stream stream = File.Open(Constants.InputDoc, FileMode.Open, FileAccess.ReadWrite)) using (Metadata metadata = new Metadata(stream)) { // Extract, edit or remove metadata here } ``` #### Metadata(string, LoadOptions) Initializes a new instance of the `Metadata` class. ```csharp public Metadata(string filePath, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | A string that contains the full name of the file from which to create a `Metadata` instance. | | loadOptions | LoadOptions | Additional options to use when loading a document. | ##### Examples This example demonstrates how to load a password-protected document. ```csharp // Specify the password var loadOptions = new LoadOptions { Password = "123" }; using (var metadata = new Metadata(Constants.ProtectedDocx, loadOptions)) { // Extract, edit or remove metadata here } ``` #### Metadata(Stream, LoadOptions) Initializes a new instance of the `Metadata` class. ```csharp public Metadata(Stream document, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | A stream that contains the document to load. | | loadOptions | LoadOptions | Additional options to use when loading a document. | #### Metadata(Uri) Initializes a new instance of the `Metadata` class. ```csharp public Metadata(Uri uri) ``` | Parameter | Type | Description | | --- | --- | --- | | uri | Uri | A uri that contains the document to load. | ##### Examples This example demonstrates how to load a file from a uri. ```csharp using (Metadata metadata = new Metadata(uri)) { // Extract, edit or remove metadata here } ``` #### Metadata(Uri, LoadOptions) Initializes a new instance of the `Metadata` class. ```csharp public Metadata(Uri uri, LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | uri | Uri | A uri that contains the document to load. | | loadOptions | LoadOptions | Additional options to use when loading a document. | ### RemoveProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/removeproperties.md #### Metadata.RemoveProperties method Removes metadata properties satisfying the specified predicate. ```csharp public int RemoveProperties(Func predicate) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | ##### Return Value The number of affected properties. ##### Examples This example demonstrates how to remove specific metadata properties using various criteria. ```csharp using (Metadata metadata = new Metadata(Constants.InputDocx)) { // Remove all the properties satisfying the predicate: // property contains the name of the document author OR // it refers to the last editor OR // the property value is a string that contains the substring "John" (to remove any mentions of John from the detected metadata) var affected = metadata.RemoveProperties( p => p.Tags.Contains(Tags.Person.Creator) || p.Tags.Contains(Tags.Person.Editor) || p.Value.Type == MetadataPropertyType.String && p.Value.ToString().Contains("John")); Console.WriteLine("Properties removed: {0}", affected); metadata.Save(Constants.OutputDocx); } ``` ### Sanitize Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/sanitize.md #### Metadata.Sanitize method Removes writable metadata properties from all detected packages or whole packages if possible. The operation is recursive so it affects all nested packages as well. ```csharp public int Sanitize() ``` ##### Return Value The number of affected properties. ##### Examples This example demonstrates how to remove all detected metadata packages/properties from a file. ```csharp using (Metadata metadata = new Metadata(Constants.InputPdf)) { // Remove detected metadata packages var affected = metadata.Sanitize(); Console.WriteLine("Properties removed: {0}", affected); metadata.Save(Constants.OutputPdf); } ``` ### Save Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/save.md #### Save() Saves all changes made in the loaded document. ```csharp public void Save() ``` ##### Examples This example shows how to save the modified content to the underlying source. ```csharp using (Metadata metadata = new Metadata(Constants.OutputPpt)) { // Edit or remove metadata here // Saves the document to the underlying source (stream or file) metadata.Save(); } ``` #### Save(Stream) Saves the document content into a stream. ```csharp public void Save(Stream document) ``` | Parameter | Type | Description | | --- | --- | --- | | document | Stream | An output stream for the document. | ##### Examples This example shows how to save a document to the specified stream. ```csharp using (MemoryStream stream = new MemoryStream()) { using (Metadata metadata = new Metadata(Constants.InputPng)) { // Edit or remove metadata here metadata.Save(stream); } } ``` #### Save(string) Saves the document content to the specified file. ```csharp public void Save(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The full name of the output file. | ##### Examples This example shows how to save a document to the specified location. ```csharp using (Metadata metadata = new Metadata(Constants.InputJpeg)) { // Edit or remove metadata here metadata.Save(Constants.OutputJpeg); } ``` ### SetProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/setproperties.md #### Metadata.SetProperties method Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of `AddProperties` and `UpdateProperties`. If an existing property satisfies the predicate its value is updated. If there is a known property missing in a package that satisfies the predicate it is added to the package. ```csharp public int SetProperties(Func predicate, PropertyValue value) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. | ##### Return Value The number of affected properties. ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ##### Examples This example demonstrates how to set specific metadata properties using different criteria. ```csharp using (Metadata metadata = new Metadata(Constants.InputVsdx)) { // Set the value of each property that satisfies the predicate: // property contains the date/time the document was created OR modified var affected = metadata.SetProperties( p => p.Tags.Contains(Tags.Time.Created) || p.Tags.Contains(Tags.Time.Modified), new PropertyValue(DateTime.Now)); Console.WriteLine("Properties set: {0}", affected); metadata.Save(Constants.OutputVsdx); } ``` ### UpdateProperties Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metadata/updateproperties.md #### Metadata.UpdateProperties method Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. ```csharp public int UpdateProperties(Func predicate, PropertyValue value) ``` | Parameter | Type | Description | | --- | --- | --- | | predicate | Func`2 | A function to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. | ##### Return Value The number of affected properties. ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ##### Examples ```csharp using (Metadata metadata = new Metadata(Constants.InputXlsx)) { if (metadata.FileFormat != FileFormat.Unknown && !metadata.GetDocumentInfo().IsEncrypted) { // Update the file creation date/time if the existing value is older than 3 days var affected = metadata.UpdateProperties(p => p.Tags.Contains(Tags.Time.Created) && p.Value.Type == MetadataPropertyType.DateTime && p.Value.ToStruct() < threeDaysAgo, new PropertyValue(today)); Console.WriteLine("Affected properties: {0}", affected); metadata.Save(Constants.OutputXlsx); } } ``` ### Metered Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metered.md #### Metered class Provides methods to set a metered key. ```csharp public class Metered ``` #### Constructors | Name | Description | | --- | --- | | Metered() | The default constructor. | #### Methods | Name | Description | | --- | --- | | SetMeteredKey(string, string) | Sets metered public and private key | | static GetConsumptionCredit() | Gets the consumption credit. | | static GetConsumptionQuantity() | Gets the consumption file size. | ### GetConsumptionCredit Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metered/getconsumptioncredit.md #### Metered.GetConsumptionCredit method Gets the consumption credit. ```csharp public static decimal GetConsumptionCredit() ``` ##### Return Value The consumption credit. ### GetConsumptionQuantity Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metered/getconsumptionquantity.md #### Metered.GetConsumptionQuantity method Gets the consumption file size. ```csharp public static decimal GetConsumptionQuantity() ``` ##### Return Value The consumption file size. ### Metered Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metered/metered.md #### Metered constructor The default constructor. ```csharp public Metered() ``` ### SetMeteredKey Path: https://reference.groupdocs.com/metadata/net/groupdocs.metadata/metered/setmeteredkey.md #### Metered.SetMeteredKey method Sets metered public and private key ```csharp public void SetMeteredKey(string publicKey, string privateKey) ``` | Parameter | Type | Description | | --- | --- | --- | | publicKey | String | public key | | privateKey | String | private key | ## Node.js ### GroupDocs.Signature for Node.js via Java Path: https://reference.groupdocs.com/metadata/nodejs-java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.metadata | The **com.groupdocs.metadata** namespace is the entry point to all features of the library. | | com.groupdocs.metadata.core | The **com.groupdocs.metadata.core** namespace provides main classes allowing working with metadata in all supported formats. | | com.groupdocs.metadata.export | The **com.groupdocs.metadata.export** namespace contains classes that allow users to export metadata properties to different representations. | | com.groupdocs.metadata.imports | The **com.groupdocs.metadata.imports** namespace contains classes that allow users to import metadata properties to different representations. | | com.groupdocs.metadata.licensing | The **com.groupdocs.metadata.licensing** namespace provides classes for licensing the Metadata library. | | com.groupdocs.metadata.options | The **com.groupdocs.metadata.options** namespace contains all classes representing settings that allow users to control file and metadata processing. | | com.groupdocs.metadata.search | The **com.groupdocs.metadata.search** namespace contains base classes, utility classes and interfaces used across all formats and metadata standards. | | com.groupdocs.metadata.tagging | The **com.groupdocs.metadata.tagging** namespace contains various sets of tags with which most important metadata properties are marked.The tags allow users to find and update metadata properties in different packages regardless of the metadata standard and file format. | ### com.groupdocs.metadata.core Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core.md The **com.groupdocs.metadata.core** namespace provides main classes allowing working with metadata in all supported formats. #### Classes | Class | Description | | --- | --- | | ApePackage | Represents an APE v2 metadata package. | | AsfAudioStreamProperty | Represents Audio stream property metadata in the ASF media container. | | AsfBaseDescriptor | Represents an ASF base metadata descriptor object. | | AsfBaseStreamProperty | Represents base stream property metadata in the ASF media container. | | AsfCodec | Represents ASF codec metadata. | | AsfContentDescriptor | Represents an ASF content descriptor object. | | AsfDescriptorType | Defines ASF descriptor types. | | AsfExtendedStreamPropertyFlags | Defines ASF extended stream property flags. | | AsfFilePropertyFlags | Defines ASF file property flags. | | AsfMetadataDescriptor | Represents an ASF metadata descriptor. | | AsfMetadataDescriptorCollection | Represents a collection of metadata descriptors. | | AsfPackage | Represents native metadata of the ASF media container. | | AsfRootPackage | Represents the root package allowing working with metadata in an ASF video. | | AsfVideoStreamProperty | Represents Video stream property metadata in the ASF media container. | | AviHeader | Represents the AVIMAINHEADER structure in an AVI video. | | AviHeaderFlags | Represents AVI Header flags. | | AviRootPackage | Represents the root package allowing working with metadata in an AVI video. | | BmpHeaderPackage | Represents BMP header info. | | BmpRootPackage | Represents the root package intended to work with metadata in a BMP image. | | CadCustomPropertyPackage | Represents a collection of custom CAD metadata properties. | | CadPackage | Represents CAD (Computer-aided design) metadata. | | CadRootPackage | Represents the root package allowing working with metadata in a CAD drawing. | | CanonCameraSettingsPackage | Represents CANON camera settings. | | CanonMakerNotePackage | Represents CANON MakerNote metadata. | | Cms | Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. | | CmsAttribute | Represents a CMS signer info attribute. | | CmsCertificate | Represents a CMS certificate. | | CmsEncapsulatedContent | Represents a signed content container, consisting of a content type identifier and the content itself. | | CmsPackage | Represents a CMS digital signature metadata package. | | CmsSigner | Represents CMS per-signer information. | | Cr2AFConfigPackage | Represents Canon MakerNotes tags. | | Cr2AFInfo2Package | Represents Canon MakerNotes tags. | | Cr2AFInfoPackage | Represents Canon MakerNotes tags. | | Cr2AFMicroAdjPackage | Represents Canon MakerNotes tags. | | Cr2AspectInfoPackage | Represents Canon MakerNotes tags. | | Cr2CameraSettingsPackage | Represents Canon MakerNotes tags. | | Cr2ColorBalancePackage | Represents Canon MakerNotes tags. | | Cr2ColorInfoPackage | Represents Canon MakerNotes tags. | | Cr2CropInfoPackage | Represents Canon MakerNotes tags. | | Cr2FileInfoPackage | Represents Canon MakerNotes tags. | | Cr2FocalLengthPackage | Represents Canon MakerNotes tags. | | Cr2Functions1DPackage | Represents Canon MakerNotes tags. | | Cr2LightingOptPackage | Represents Canon MakerNotes tags. | | Cr2LogInfoPackage | Represents Canon MakerNotes tags. | | Cr2MakerNotePackage | Represents Canon MakerNotes tags. | | Cr2ModifiedInfoPackage | Represents Canon MakerNotes tags. | | Cr2MovieInfoPackage | Represents Canon MakerNotes tags. | | Cr2MultiExpPackage | Represents Canon MakerNotes tags. | | Cr2Package | Represents native CR2 metadata. | | Cr2PanoramaPackage | Represents Canon MakerNotes tags. | | Cr2PersonalFuncValuesPackage | Represents Canon MakerNotes tags. | | Cr2PersonalFuncsPackage | Represents Canon MakerNotes tags. | | Cr2ProcessingPackage | Represents Canon MakerNotes tags. | | Cr2RootPackage | Represents an entry point to all metadata packages presented in a particular file CR2. | | Cr2SensorInfoPackage | Represents Canon MakerNotes tags. | | Cr2ShotInfoPackage | Represents Canon MakerNotes tags. | | Cr2TimeInfoPackage | Represents Canon MakerNotes tags. | | Cr2VignettingCorr2Package | Represents Canon MakerNotes tags. | | Cr2WBInfoPackage | Represents Canon MakerNotes tags. | | CustomPackage | Provides a container for metadata properties. | | DiagramPackage | Represents a native metadata package in a diagram format. | | DiagramRootPackage | Represents the root package intended to work with metadata in a diagram. | | DiagramTypePackage | Represents a metadata package containing diagram-specific file format information. | | DicomPackage | Represents native DICOM metadata. | | DicomRootPackage | Represents the root package intended to work with metadata in a DICOM image. | | DigitalSignature | Represents a digital signature used to sign a document. | | DisposableWrapper | | | DjVuRootPackage | Represents the root package intended to work with metadata in an DjVu image. | | DngPackage | Represents native DNG metadata. | | DngRootPackage | Represents the root package intended to work with metadata in a DNG image. | | DocumentInfo | Provides common information about a loaded document. | | DocumentPackage | Represents native metadata in an office document. | | DocumentProtectedException | The exception that is thrown when document is protected by password. | | DocumentRootPackage | Represents a root package for document formats such as PDF, WordProcessing, Spreadsheet, Presentation, etc. | | DocumentStatistics | Represents a set of document statistics. | | DublinCorePackage | Represents a Dublin Core metadata package. | | DwgRootPackage | Represents the root package allowing working with metadata in a DWG drawing. | | DxfRootPackage | Represents the root package allowing working with metadata in a DXF drawing. | | EmailHeaderPackage | Represents a metadata package containing email message headers. | | EmailPackage | Represents email message metadata. | | EmailRootPackage | Represents the root package allowing working with metadata in an email message. | | EmfRootPackage | Represents the root package intended to work with metadata in an EMF image. | | EmlPackage | Represents EML message metadata. | | EmlRootPackage | Represents the root package allowing working with metadata in an EML email message. | | EpubPackage | Represents metadata in a EPUB e-book. | | EpubRootPackage | Represents the root package allowing working with metadata in an EPUB e-book. | | ExifDictionaryBasePackage | Provides an abstract base class for EXIF metadata dictionaries. | | ExifGpsPackage | Represents GPS metadata in an EXIF metadata package. | | ExifIfdPackage | Represents the Exif Image File Directory. | | ExifPackage | Represents an EXIF metadata package (Exchangeable Image File Format). | | FileType | Represents the file type. | | FileTypePackage | Represents a metadata package containing file format information. | | FlvHeader | Represents a FLV video header. | | FlvRootPackage | Represents the root package allowing working with metadata in an FLV video. | | GifImageTypePackage | Represents a metadata package containing GIF-specific file format information. | | GifRootPackage | Represents the root package intended to work with metadata in a GIF image. | | GpsIfdPackage | Represents GPS IFD. | | GroupDocsMetadataException | Represents a product-specific exception that is thrown during file processing. | | HeifRootPackage | Represents the root package intended to work with metadata in a HEIF image. | | ID3Tag | Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. | | ID3V1Genre | Specifies genres used in an Id3v1 tag. | | ID3V1Tag | Represents an ID3v1 tag. | | ID3V2AttachedPictureFrame | Represents an APIC frame in an ID3V2Tag . | | ID3V2AttachedPictureType | Represents the type of an attached picture. | | ID3V2CommentFrame | Represents a COMM frame in an ID3V2Tag . | | ID3V2MlltFrame | Represents an MLLT frame in an ID3V2Tag . | | ID3V2PlayCounterFrame | Represents a PCNT frame in an ID3V2Tag . | | ID3V2PrivateFrame | Represents a PRIV frame in an ID3V2Tag . | | ID3V2Tag | Represents an ID3v2 tag. | | ID3V2TagFrame | Represents a generic frame in an ID3V2Tag . | | ID3V2TagFrameFlags | Represents flags used in a ID3v2 tag frame. | | ID3V2TextFrame | Represents a text frame in an ID3V2Tag . | | ID3V2UrlLinkFrame | Represents a URL link frame in an ID3V2Tag . | | ID3V2UserDefinedFrame | Represents a TXXX frame in an ID3V2Tag . | | ID3V2UserDefinedUrlLinkFrame | Represents a WXXX frame in an ID3V2Tag . | | ImageResourceBlock | | | ImageResourceID | Image resources standard ID numbers. | | ImageResourcePackage | Represents a metadata package containing Photoshop Image Resources. | | ImageRootPackage | Provides a base abstract class for all image root packages. | | ImageTypePackage | Represents a metadata package containing image-specific file format information. | | InteroperabilityIFDPointerPackage | Represents Interoperability IFD. | | InvalidFormatException | The exception that is thrown when a file has an invalid format. | | IptcApplicationRecord | Represents an IPTC Application Record. | | IptcDataSet | Represents an IPTC DataSet (metadata property). | | IptcEnvelopeRecord | Represents an IPTC Envelope Record. | | IptcEnvelopeRecordDataSet | Defines IPTC Envelope Record dataSet numbers. | | IptcRecord | Represents an IPTC record. | | IptcRecordSet | Represents a collection of IPTC records. | | IptcRecordType | Defines IPTC record types. | | Jpeg2000Package | Represents native JPEG2000 metadata. | | Jpeg2000RootPackage | Represents the root package intended to work with metadata in a JPEG2000 image. | | JpegRootPackage | Represents the root package allowing working with metadata in a JPEG image. | | LyricsField | Represents a LyricsTag field. | | LyricsTag | Represents Lyrics3 v2.00 metadata. | | MP3RootPackage | Represents the root package allowing working with metadata in an MP3 audio. | | MakerNotePackage | Provides an abstract base class for MakerNote metadata packages. | | MatroskaAudioTrack | Represents audio metadata in a Matroska video. | | MatroskaBasePackage | Provides a base metadata class for all packages extracted from a Matroska video. | | MatroskaEbmlHeader | Represents EBML header metadata in a Matroska video. | | MatroskaPackage | Represents a metadata container in a Matroska video. | | MatroskaRootPackage | Represents the root package allowing working with metadata in a Matroska video. | | MatroskaSegment | Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. | | MatroskaSimpleTag | Represents general information about the target in a Matroska video. | | MatroskaSubtitle | Represents subtitle metadata in a Matroska video. | | MatroskaSubtitleTrack | Represents subtitle metadata in a Matroska video. | | MatroskaTag | Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. | | MatroskaTrack | Represents track metadata in a Matroska video. | | MatroskaVideoTrack | Represents video metadata in a Matroska video. | | MetadataPackage | Represents base abstraction for a metadata package. | | MetadataProperty | Represents a metadata property. | | MetadataValidationException | The exception that is thrown when validation errors encountered during metadata saving. | | MovAtom | Represents a QuickTime atom. | | MovPackage | Represents QuickTime metadata. | | MovRootPackage | Represents the root package allowing working with metadata in a QuickTime video. | | MpegAudioPackage | Represents MPEG audio metadata. | | MsgPackage | Represents MSG message metadata. | | MsgRootPackage | Represents the root package allowing working with metadata in an MSG email message. | | NikonMakerNotePackage | Represents NIKON MakerNote metadata. | | NoteInspectionPackage | Represents a metadata package exposing the internal structure of a note section. | | NotePage | Represents a page in a OneNote section. | | NoteRootPackage | Represents the root package intended to work with metadata in an electronic note file. | | Oid | Represents an object identifier (OID). | | OpenTypeBaseNameRecord | Represents the base OpenType Name table record class. | | OpenTypeFlags | Represents OpenType font header flags. | | OpenTypeFont | Represents a single font extracted from a file. | | OpenTypeLicensingRights | Indicates font embedding licensing rights for the font. | | OpenTypeMacintoshNameRecord | Represents the Name record table value for the OpenTypePlatform.Macintosh platform. | | OpenTypePackage | Represents an OpenType font metadata package. | | OpenTypeRootPackage | Represents the root package allowing working with metadata in an OpenType font file. | | OpenTypeStyles | Represents the OpenType font style. | | OpenTypeUnicodeNameRecord | Represents the Name record table value for the OpenTypePlatform.Unicode platform. | | OpenTypeWindowsNameRecord | Represents the Name record table value for OpenTypePlatform.Windows platform. | | PageInfo | Provides common information about a document page (slide, worksheet, etc). | | PanasonicMakerNotePackage | Represents PANASONIC MakerNote metadata. | | PdfAnnotation | Represents an annotation in a PDF document. | | PdfAttachment | Represents an attachment in a PDF document. | | PdfBookmark | Represents a bookmark in a PDF document. | | PdfFormField | Represents a form field in a PDF document. | | PdfInspectionPackage | Contains information about PDF document parts that can be considered as metadata in some cases. | | PdfPackage | Represents native metadata in a PDF document. | | PdfRootPackage | Represents the root package allowing working with metadata in a PDF document. | | PdfTypePackage | Represents a metadata package containing PDF-specific file format information. | | PngCompressedTextChunk | Represents compressed textual data extracted from a PNG image. | | PngInternationalTextChunk | Represents international textual data extracted from a PNG image. | | PngPackage | Represents native PNG metadata. | | PngRootPackage | Represents the root package intended to work with metadata in a PNG image. | | PngTextChunk | Represents textual data extracted from a PNG image. | | PresentationComment | Represents a user comment in a presentation. | | PresentationInspectionPackage | Contains information about presentation parts that can be considered as metadata in some cases. | | PresentationPackage | Represents a native metadata package in a presentation. | | PresentationRootPackage | Represents the root package intended to work with metadata in a presentation. | | PresentationSlide | Represents a slide in a presentation. | | PresentationTypePackage | Represents a metadata package containing presentation-specific file format information. | | ProjectManagementPackage | Represents a native metadata package in a project management file. | | ProjectManagementRootPackage | Represents the root package intended to work with metadata in a project management format. | | PropertyAccessLevels | Defines access levels for metadata properties. | | PropertyDescriptor | Represents a descriptor of a property that can be accessed through the GroupDocs.Metadata search engine. | | PropertyValue | Represents a property value. | | PsdLayer | Represents a layer in a PSD file. | | PsdLayerFlags | The Photoshop layer flags. | | PsdPackage | Represents native Photoshop metadata. | | PsdRootPackage | Represents the root package allowing working with metadata in a Photoshop Document. | | RarFile | Represents metadata associated with an archived file or directory. | | RarPackage | Represents ZIP archive metadata. | | RarRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | RawDictionaryBasePackage | Provides an abstract base class for EXIF metadata dictionaries. | | RawExifTagPackage | Represents Exif tags. | | RawIFD1Package | Represents IFD1 tags. | | RawIFD2Package | Represents IFD1 tags. | | RawIFD3Package | Represents IFD1 tags. | | RawMakerNotePackage | Represents Raw MakerNotes tags. | | RawTiffTagPackage | Represents Tiff tags. | | RawTypePackage | Represents a metadata package containing image-specific file format information. | | ReadOnlyList | Provides an abstract base class for a strongly typed read-only list. | | Rectangle | A set of four integers that represent the location and size of a rectangle. | | RiffInfoPackage | Represents the metadata package containing properties extracted from the RIFF INFO chunk. | | RootMetadataPackage | Represents an entry point to all metadata packages presented in a particular file. | | SevenZipFile | Represents metadata associated with an archived file or directory. | | SevenZipPackage | Represents ZIP archive metadata. | | SevenZipRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | SonyMakerNotePackage | Represents SONY MakerNote metadata. | | SpreadsheetComment | Represents a user comment in a spreadsheet. | | SpreadsheetContentTypePackage | Represents a metadata package containing spreadsheet content type properties. | | SpreadsheetContentTypeProperty | Represents a content type property in a spreadsheet. | | SpreadsheetInspectionPackage | Contains information about spreadsheet parts that can be considered as metadata in some cases. | | SpreadsheetPackage | Represents a native metadata package in a spreadsheet. | | SpreadsheetRootPackage | Represents the root package allowing working with metadata in a spreadsheet. | | SpreadsheetSheet | Represents a sheet in a spreadsheet document. | | SpreadsheetTypePackage | Represents a metadata package containing spreadsheet-specific file format information. | | TarFile | Represents metadata associated with an archived file or directory. | | TarPackage | Represents ZIP archive metadata. | | TarRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | | TiffArrayTag | Represents an array-based TIFF tag. | | TiffAsciiTag | Represents a TIFF ASCII tag. | | TiffByteTag | Represents a Byte tag. | | TiffDoubleTag | Represents a TIFF Double tag. | | TiffFloatTag | Represents a TIFF float tag. | | TiffLongTag | Represents a TIFF Long tag. | | TiffRational | Represents a rational number. | | TiffRationalTag | Represents a TIFF Rational tag. | | TiffRootPackage | Represents the root package allowing working with metadata in a TIFF image. | | TiffSByteTag | Represents a TIFF SByte tag. | | TiffSLongTag | Represents a TIFF SLong tag. | | TiffSRational | Represents signed rational number. | | TiffSRationalTag | Represents a TIFF SRational tag. | | TiffSShortTag | Represents a TIFF SShort tag. | | TiffShortTag | Represents a TIFF Short tag. | | TiffTag | Represents a TIFF tag. | | TiffTagID | Defines ids of TIFF tags. | | TiffUndefinedTag | Represents a TIFF tag with the Undefined type. | | TorrentPackage | Represents torrent descriptor file metadata. | | TorrentRootPackage | Represents the root package intended to work with metadata of a TORRENT file. | | TorrentSharedFilePackage | Represents shared file information. | | VCardAgentRecord | Represents vCard Agent record metadata class. | | VCardBasePackage | Represents the base VCard metadata class. | | VCardBinaryRecord | Represents vCard binary record metadata class. | | VCardCalendarRecordset | Represents a set of Calendar vCard records. | | VCardCard | Represents a single card extracted from a VCard file. | | VCardCommunicationRecordset | Represents a set of Communication vCard records. | | VCardCustomRecord | Represents vCard custom record metadata class. | | VCardDateTimeRecord | Represents vCard date time record metadata class. | | VCardDeliveryAddressingRecordset | Represents a set of Delivery Addressing vCard records. | | VCardExplanatoryRecordset | Represents a set of Explanatory vCard records. | | VCardGeneralRecordset | Represents a set of General vCard records. | | VCardGeographicalRecordset | Represents a set of Geographical vCard records. | | VCardIdentificationRecordset | Represents a set of Identification vCard records. | | VCardOrganizationalRecordset | Represents a set of Organizational vCard records. | | VCardPackage | Represents VCF (Virtual Contact File) electronic business card format metadata. | | VCardRecord | Represents abstract vCard record metadata class. | | VCardRecordset | Provides a base vCard record union class. | | VCardRootPackage | Represents the root package allowing working with metadata in a VCard file. | | VCardSecurityRecordset | Represents a set of Security vCard records. | | VCardTextRecord | Represents vCard text record metadata class. | | ValueAcceptor | Provides a base abstract class that allows extracting all supported types of values from a PropertyValue instance. | | ValueInterpreter | Defines operations required to interpret metadata property values. | | WavPackage | Represents a native metadata package in a WAV audio file. | | WavRootPackage | Represents the root package allowing working with metadata in a WAV audio. | | WebPRootPackage | Represents the root package allowing working with metadata in a WEBP image. | | WmfRootPackage | Represents the root package intended to work with metadata in a WMF image. | | WordProcessingComment | Represents a comment in a word processing document. | | WordProcessingField | Represents a field in a word processing document. | | WordProcessingInspectionPackage | Contains information about document parts that can be considered as metadata in some cases. | | WordProcessingPackage | Represents a native metadata package in a word processing document. | | WordProcessingRevision | Represents a revision (tracked change) in a document. | | WordProcessingRootPackage | Represents the root package allowing working with metadata in a word processing document. | | WordProcessingTypePackage | Represents a metadata package containing document-specific file format information. | | XmpArray | Represents base abstraction for XMP array. | | XmpAudioChannelType | Represents audio channel type. | | XmpAudioSampleType | Represents Audio sample type in XmpDynamicMediaPackage . | | XmpBasicJobTicketPackage | Represents Basic Job-Ticket namespace. | | XmpBasicPackage | Represents the XMP basic namespace. | | XmpBoolean | Represents XMP Boolean basic type. | | XmpCameraRawPackage | Represents Camera Raw schema. | | XmpClosedChoice | Represents XMP Closed Choice. | | XmpColorantBase | A structure containing the characteristics of a colorant (swatch) used in a document. | | XmpColorantCmyk | Represents the CMYK Colorant. | | XmpColorantLab | Represents the LAB Colorant. | | XmpColorantRgb | Represents the RGB Colorant. | | XmpComplexType | Represents base abstraction for XMP Complex value type. | | XmpComplexTypeValue | Represents an XMP value containing a complex type instance. | | XmpDate | Represents Date in XMP packet. | | XmpDimensions | Containing dimensions for a drawn object. | | XmpDublinCorePackage | Represents the Dublin Core scheme. | | XmpDynamicMediaPackage | Represents XMP Dynamic Media namespace. | | XmpElementBase | Represents base XMP element that contains attributes. | | XmpException | The exception that is thrown when XMP has invalid structure. | | XmpFont | A structure containing the characteristics of a font used in a document. | | XmpGuid | Represents XMP global unique identifier. | | XmpHeaderPI | Represents XMP header processing instruction. | | XmpInteger | Represents XMP Integer basic type. | | XmpIptcCorePackage | Represents the IPTC Core XMP package. | | XmpIptcExtensionPackage | Represents the IPTC Extension XMP package. | | XmpIptcIimPackage | Represents the IPTC-IIM XMP package. | | XmpJob | Represents Job. | | XmpLangAlt | | | XmpMediaManagementPackage | Represents the XMP Media Management namespace. | | XmpMeta | Represents xmpmeta. | | XmpMetadataContainer | Represents a container for XMP metadata properties. | | XmpNamespaces | Contains namespaces used in XmpPackage and XmpComplexType . | | XmpPackage | Represents base abstraction for XMP package. | | XmpPacketWrapper | Contains serialized XMP package including header and trailer. | | XmpPagedTextPackage | Represents the XMP Paged-Text package. | | XmpPdfPackage | Specifies properties used with Adobe PDF documents. | | XmpPhotoshopPackage | Represents Adobe Photoshop namespace. | | XmpRational | Represents XMP XmpRational. | | XmpReal | Represents XMP Real. | | XmpRenditionClass | Represents XMP RenditionClass. | | XmpResourceEvent | Represents a high-level event that occurred in the processing of a resource. | | XmpResourceRef | | | XmpRightsManagementPackage | Represents XMP Rights Management namespace. | | XmpSchemes | Provides access to known XMP schemes. | | XmpText | Represents XMP Text basic type. | | XmpThumbnail | Represents a thumbnail image for a file. | | XmpTime | Representation of a time value in seconds. | | XmpTimeFormat | Represents time format in XmpTimecode . | | XmpTimecode | Represents a timecode value in a video. | | XmpTrailerPI | Represents XMP trailer processing instruction. | | XmpValueBase | Represents base XMP value. | | XmpVersion | Represents a version of a document. | | XmpWhiteBalance | Represents the White Balance setting in XmpCameraRawPackage . | | ZipFile | Represents metadata associated with an archived file or directory. | | ZipPackage | Represents ZIP archive metadata. | | ZipRootPackage | Represents the root package allowing working with metadata in a ZIP archive. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Provides common information about a loaded document. | | IDublinCore | Defines base operations allowing working with Dublin Core metadata. | | IEnumValue | Defines a value of an enumeration. | | IEnumValueInterpreter | Represents an interpreter intended to convert various numeric values to descriptive string values. | | IExif | Defines base operations intended to work with EXIF metadata. | | IIptc | Represents base operations intended to work with IPTC metadata. | | IReadOnlyList | Represents a read-only collection of elements that can be accessed by index. | | IXmp | Defines base operations intended to work with XMP metadata. | | IXmpType | Base interface for XMP type. | #### Enumerations | Enum | Description | | --- | --- | | AsfCodecType | Defines ASF codec types. | | AsfStreamType | Defines ASF stream types. | | ByteOrder | Defines various byte orders. | | CadAcadVersion | Defines AutoCAD drawing database version numbers. | | DiagramFormat | Defines various diagram subformats. | | ExifGpsAltitudeRef | Represents a GPS altitude reference. | | FileFormat | Represents the recognized format of a loaded file. | | ID3V2EncodingType | Defines different types of text encoding used in ID3v2. | | IptcApplicationRecordDataSet | Defines IPTC Application Record dataSet numbers. | | MatroskaContentType | Represents a Matroska content type. | | MatroskaTargetTypeValue | Represents a number to indicate the logical level of the Matroska tag target. | | MatroskaTrackType | Represents Matroska track types coded in 8 bits. | | MatroskaVideoDisplayUnit | Defines how Matroska DisplayWidth and DisplayHeight are interpreted. | | MatroskaVideoFieldOrder | Represents the field ordering of the Matroska video. | | MatroskaVideoFlagInterlaced | Represents a flag to declare if the Matroska video is known to be progressive or interlaced and if applicable to declare details about the interlacement. | | MatroskaVideoStereoMode | Represents Matroska Stereo-3D video modes. | | MetadataPropertyType | Defines metadata property types. | | MetadataType | Specifies the type of a metadata package. | | MpegAudioVersion | Represents a particular MPEG standard. | | MpegChannelMode | Defines MPEG audio channel modes. | | MpegEmphasis | Defines MPEG emphasis types. | | OpenTypeDigitalSignatureFlags | Represents OpenType font digital signature flags. | | OpenTypeDirectionHint | Represents the OpenType font direction. | | OpenTypeIsoEncoding | Represents encoding for the OpenTypePlatform.Iso platform. | | OpenTypeMacintoshEncoding | Represents encoding for the OpenTypePlatform.Macintosh platform. | | OpenTypeMacintoshLanguage | Represents language enum for the OpenTypePlatform.Macintosh platform. | | OpenTypeName | Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. | | OpenTypePlatform | Represents OpenType platform for Name table. | | OpenTypeUnicodeEncoding | Represents encoding for OpenTypePlatform.Unicode platform. | | OpenTypeVersion | Represents the OpenType version. | | OpenTypeWeight | Represents the OpenType font weight. | | OpenTypeWidth | Represents the OpenType font width. | | OpenTypeWindowsEncoding | Represents encoding for the OpenTypePlatform.Windows platform. | | OpenTypeWindowsLanguage | Represents language for OpenTypePlatform.Windows platform. | | PngCompressionMethod | Defines compression methods used in the PNG format. | | PresentationFormat | Defines various presentation subformats. | | PsdColorMode | Represents the psd file format color mode. | | PsdCompressionMethod | Defines the compression method used for image data. | | RawIntegerType | Defines raw integer types for enumerations. | | SpreadsheetFormat | Defines various spreadsheet subformats. | | TiffTagType | Represents the IFD data type. | | VCardContentType | Defines vCard record content types. | | WordProcessingFormat | Defines various word processing document subformats. | | WordProcessingRevisionType | Specifies the type of the change being tracked by a revision. | | XmpArrayType | Represents array type in XmpArray . | | XmpColorType | Type of color in XmpColorantBase . | | XmpColorantColorMode | Represents color mode in XmpColorantBase . | | XmpCropUnit | Represent a unit for CropWidth and CropHeight in XmpCameraRawPackage . | | XmpPhotoshopColorMode | Represents a color mode in XmpPhotoshopPackage . | | ZipCompressionMethod | Defines ZIP compression methods. | ### ApePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/apepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ApePackage extends CustomPackage ``` Represents an APE v2 metadata package. Please find more information at [http://wiki.hydrogenaud.io/index.php?title=APE\_key][http_wiki.hydrogenaud.io_index.php_title_APE_key] . This example demonstrates how to read the APEv2 tag in an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithApe)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getApeV2() != null) { > System.out.println(root.getApeV2().getAlbum()); > System.out.println(root.getApeV2().getTitle()); > System.out.println(root.getApeV2().getArtist()); > System.out.println(root.getApeV2().getComposer()); > System.out.println(root.getApeV2().getCopyright()); > System.out.println(root.getApeV2().getGenre()); > System.out.println(root.getApeV2().getLanguage()); > // ... > } > } > > ``` > ``` [http_wiki.hydrogenaud.io_index.php_title_APE_key]: http://wiki.hydrogenaud.io/index.php?title=APE_key [Handling the APEv2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+APEv2+tag #### Methods | Method | Description | | --- | --- | | getTitle() | Gets the title. | | getSubtitle() | Gets the subtitle. | | getArtist() | Gets the artist. | | getAlbum() | Gets the album. | | getDebutAlbum() | Gets the debut album. | | getPublisher() | Gets the publisher. | | getConductor() | Gets the conductor. | | getTrack() | Gets the track number. | | getComposer() | Gets the composer. | | getComment() | Gets the comment. | | getCopyright() | Gets the copyright. | | getPublicationRight() | Gets the publication right. | | getFile() | Gets the file. | | getIsbn() | Gets the ISBN number with check digit. | | getRecordLocation() | Gets the record location. | | getGenre() | Gets the genre. | | getIsrc() | Gets the International Standard Recording Number. | | getAbstract() | Gets the abstract link. | | getLanguage() | Gets the language. | | getBibliography() | Gets the bibliography. | ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### getSubtitle() ``` public final String getSubtitle() ``` Gets the subtitle. **Returns:** java.lang.String - The subtitle. ##### getArtist() ``` public final String getArtist() ``` Gets the artist. **Returns:** java.lang.String - The artist. ##### getAlbum() ``` public final String getAlbum() ``` Gets the album. **Returns:** java.lang.String - The album. ##### getDebutAlbum() ``` public final String getDebutAlbum() ``` Gets the debut album. **Returns:** java.lang.String - The debut album. ##### getPublisher() ``` public final String getPublisher() ``` Gets the publisher. **Returns:** java.lang.String - The publisher. ##### getConductor() ``` public final String getConductor() ``` Gets the conductor. **Returns:** java.lang.String - The conductor. ##### getTrack() ``` public final Integer getTrack() ``` Gets the track number. **Returns:** java.lang.Integer - The track number. ##### getComposer() ``` public final String getComposer() ``` Gets the composer. **Returns:** java.lang.String - The composer. ##### getComment() ``` public final String getComment() ``` Gets the comment. **Returns:** java.lang.String - The comment. ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright. **Returns:** java.lang.String - The copyright. ##### getPublicationRight() ``` public final String getPublicationRight() ``` Gets the publication right. **Returns:** java.lang.String - The publication right. ##### getFile() ``` public final String getFile() ``` Gets the file. **Returns:** java.lang.String - The file. ##### getIsbn() ``` public final String getIsbn() ``` Gets the ISBN number with check digit. See more: https://en.wikipedia.org/wiki/International\_Standard\_Book\_Number. **Returns:** java.lang.String - The ISBN number. ##### getRecordLocation() ``` public final String getRecordLocation() ``` Gets the record location. **Returns:** java.lang.String - The record location. ##### getGenre() ``` public final String getGenre() ``` Gets the genre. **Returns:** java.lang.String - The genre. ##### getIsrc() ``` public final String getIsrc() ``` Gets the International Standard Recording Number. **Returns:** java.lang.String - The International Standard Recording Number. ##### getAbstract() ``` public final String getAbstract() ``` Gets the abstract link. **Returns:** java.lang.String - The abstract link. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language. **Returns:** java.lang.String - The language. ##### getBibliography() ``` public final String getBibliography() ``` Gets the bibliography. **Returns:** java.lang.String - The bibliography. ### AsfAudioStreamProperty Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfaudiostreamproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.AsfBaseStreamProperty ``` public class AsfAudioStreamProperty extends AsfBaseStreamProperty ``` Represents Audio stream property metadata in the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getFormatTag() | Gets the unique ID of the codec used to encode the audio data. | | getChannels() | Gets the number of audio channels. | | getSamplesPerSecond() | Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. | | getBitsPerSample() | Gets the number of bits per sample of monaural data. | ##### getFormatTag() ``` public final int getFormatTag() ``` Gets the unique ID of the codec used to encode the audio data. **Returns:** int - The unique ID of the codec used to encode the audio data. ##### getChannels() ``` public final int getChannels() ``` Gets the number of audio channels. **Returns:** int - The number of audio channels. ##### getSamplesPerSecond() ``` public final long getSamplesPerSecond() ``` Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. **Returns:** long - The a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. ##### getBitsPerSample() ``` public final int getBitsPerSample() ``` Gets the number of bits per sample of monaural data. **Returns:** int - The number of bits per sample of monaural data. ### AsfBaseDescriptor Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfbasedescriptor.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public abstract class AsfBaseDescriptor extends MetadataProperty ``` Represents an ASF base metadata descriptor object. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getAsfContentType() | Gets the type of the content. | ##### getAsfContentType() ``` public final AsfDescriptorType getAsfContentType() ``` Gets the type of the content. **Returns:** AsfDescriptorType - The type of the content. ### AsfBaseStreamProperty Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfbasestreamproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class AsfBaseStreamProperty extends CustomPackage ``` Represents base stream property metadata in the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getStreamType() | Gets the type of this stream. | | getStreamNumber() | Gets the number of this stream. | | getStartTime() | Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. | | getEndTime() | Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. | | getBitrate() | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | getAlternateBitrate() | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. | | getFlags() | Gets the flags. | | getLanguage() | Gets the stream language. | | getAverageTimePerFrame() | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | getAverageBitrate() | Gets the average bitrate. | ##### getStreamType() ``` public final AsfStreamType getStreamType() ``` Gets the type of this stream. **Returns:** AsfStreamType - The type of this stream. ##### getStreamNumber() ``` public final byte getStreamNumber() ``` Gets the number of this stream. **Returns:** byte - The number of this stream. ##### getStartTime() ``` public final Long getStartTime() ``` Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. **Returns:** java.lang.Long - The presentation time of the first object. ##### getEndTime() ``` public final Long getEndTime() ``` Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. **Returns:** java.lang.Long - The presentation time of the last object plus the duration of play. ##### getBitrate() ``` public final Long getBitrate() ``` Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. **Returns:** java.lang.Long - The bleak rate R, in bits per second. ##### getAlternateBitrate() ``` public final Long getAlternateBitrate() ``` Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. **Returns:** java.lang.Long - The leak rate RAlt, in bits per second. ##### getFlags() ``` public final AsfExtendedStreamPropertyFlags getFlags() ``` Gets the flags. **Returns:** AsfExtendedStreamPropertyFlags - The flags. ##### getLanguage() ``` public final String getLanguage() ``` Gets the stream language. **Returns:** java.lang.String - The stream language. ##### getAverageTimePerFrame() ``` public final Long getAverageTimePerFrame() ``` Gets the average time duration, measured in 100-nanosecond units, of each frame. **Returns:** java.lang.Long - The average time duration, measured in 100-nanosecond units, of each frame. ##### getAverageBitrate() ``` public final Long getAverageBitrate() ``` Gets the average bitrate. **Returns:** java.lang.Long - The average bitrate. ### AsfCodec Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfcodec.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class AsfCodec extends CustomPackage ``` Represents ASF codec metadata. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getName() | Gets the property name. | | getCodecType() | Gets the type of the codec. | | getDescription() | Gets the description. | | getInformation() | Gets the information string. | ##### getName() ``` public final String getName() ``` Gets the property name. **Returns:** java.lang.String - The property name. ##### getCodecType() ``` public final AsfCodecType getCodecType() ``` Gets the type of the codec. **Returns:** AsfCodecType - The type of the codec. ##### getDescription() ``` public final String getDescription() ``` Gets the description. **Returns:** java.lang.String - The description. ##### getInformation() ``` public final String getInformation() ``` Gets the information string. **Returns:** java.lang.String - The information string. ### AsfCodecType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfcodectype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum AsfCodecType extends Enum implements IEnumValue ``` Defines ASF codec types. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined codec. | | Video | Video codec. | | Audio | Audio codec. | | Unknown | Unknown codec. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final AsfCodecType Undefined ``` Undefined codec. ##### Video ``` public static final AsfCodecType Video ``` Video codec. ##### Audio ``` public static final AsfCodecType Audio ``` Audio codec. ##### Unknown ``` public static final AsfCodecType Unknown ``` Unknown codec. ##### values() ``` public static AsfCodecType[] values() ``` **Returns:** com.groupdocs.metadata.core.AsfCodecType[] ##### valueOf(String name) ``` public static AsfCodecType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** AsfCodecType ##### getByRawValue(int rawValue) ``` public static AsfCodecType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfCodecType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### AsfContentDescriptor Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfcontentdescriptor.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.AsfBaseDescriptor ``` public final class AsfContentDescriptor extends AsfBaseDescriptor ``` Represents an ASF content descriptor object. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files ### AsfDescriptorType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfdescriptortype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AsfDescriptorType implements IEnumValue ``` Defines ASF descriptor types. #### Fields | Field | Description | | --- | --- | | Unicode | The unicode string type. | | ByteArray | The byte array type. | | Bool | The 32-bit bool type. | | DWord | The 32-bit unsigned integer type. | | QWord | The 64-bit unsigned integer type. | | Word | The 16-bit unsigned integer type. | | Guid | The 128-bit (16 byte) GUID type. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Unicode ``` public static final AsfDescriptorType Unicode ``` The unicode string type. ##### ByteArray ``` public static final AsfDescriptorType ByteArray ``` The byte array type. ##### Bool ``` public static final AsfDescriptorType Bool ``` The 32-bit bool type. ##### DWord ``` public static final AsfDescriptorType DWord ``` The 32-bit unsigned integer type. ##### QWord ``` public static final AsfDescriptorType QWord ``` The 64-bit unsigned integer type. ##### Word ``` public static final AsfDescriptorType Word ``` The 16-bit unsigned integer type. ##### Guid ``` public static final AsfDescriptorType Guid ``` The 128-bit (16 byte) GUID type. ##### getByRawValue(int rawValue) ``` public static AsfDescriptorType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfDescriptorType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AsfExtendedStreamPropertyFlags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfextendedstreampropertyflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AsfExtendedStreamPropertyFlags implements IEnumValue ``` Defines ASF extended stream property flags. #### Fields | Field | Description | | --- | --- | | Reliable | This digital media stream, if sent over a network, must be carried over a reliable data communications transport mechanism. | | Seekable | This flag should be set only if the stream is seekable. | | NoCleanpoints | The stream does not contain any cleanpoints. | | ResendLiveCleanpoints | A stream is joined in mid-transmission, all information from the most recent cleanpoint up to the current time should be sent before normal streaming begins at the current time. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Reliable ``` public static final AsfExtendedStreamPropertyFlags Reliable ``` This digital media stream, if sent over a network, must be carried over a reliable data communications transport mechanism. ##### Seekable ``` public static final AsfExtendedStreamPropertyFlags Seekable ``` This flag should be set only if the stream is seekable. ##### NoCleanpoints ``` public static final AsfExtendedStreamPropertyFlags NoCleanpoints ``` The stream does not contain any cleanpoints. ##### ResendLiveCleanpoints ``` public static final AsfExtendedStreamPropertyFlags ResendLiveCleanpoints ``` A stream is joined in mid-transmission, all information from the most recent cleanpoint up to the current time should be sent before normal streaming begins at the current time. ##### getByRawValue(int rawValue) ``` public static AsfExtendedStreamPropertyFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfExtendedStreamPropertyFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AsfFilePropertyFlags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asffilepropertyflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AsfFilePropertyFlags implements IEnumValue ``` Defines ASF file property flags. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined flag. | | Broadcast | Specifies, that a file is in the process of being created, and thus that various values stored in the header objects are invalid. | | Seekable | Specifies, that a file is seekable. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Undefined ``` public static final AsfFilePropertyFlags Undefined ``` The undefined flag. ##### Broadcast ``` public static final AsfFilePropertyFlags Broadcast ``` Specifies, that a file is in the process of being created, and thus that various values stored in the header objects are invalid. ##### Seekable ``` public static final AsfFilePropertyFlags Seekable ``` Specifies, that a file is seekable. ##### getByRawValue(int rawValue) ``` public static AsfFilePropertyFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfFilePropertyFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AsfMetadataDescriptor Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfmetadatadescriptor.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.AsfBaseDescriptor ``` public final class AsfMetadataDescriptor extends AsfBaseDescriptor ``` Represents an ASF metadata descriptor. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getLanguage() | Gets the language. | | getStreamNumber() | Gets the stream number. | | getOriginalName() | Gets the original name of the descriptor. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the language. **Returns:** java.lang.String - The language. ##### getStreamNumber() ``` public final int getStreamNumber() ``` Gets the stream number. **Returns:** int - The stream number. ##### getOriginalName() ``` public final String getOriginalName() ``` Gets the original name of the descriptor. **Returns:** java.lang.String - The original name of the descriptor. ### AsfMetadataDescriptorCollection Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfmetadatadescriptorcollection.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class AsfMetadataDescriptorCollection extends CustomPackage ``` Represents a collection of metadata descriptors. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files ### AsfPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class AsfPackage extends CustomPackage ``` Represents native metadata of the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getFileID() | Gets the unique identifier for this file. | | getCreationDate() | Gets the date and time of the initial creation of the file. | | getFlags() | Gets the header flags. | | getStreamProperties() | Gets the digital media stream properties. | | getMetadataDescriptors() | Gets the metadata descriptors. | | getCodecInformation() | Gets the codec info entries. | ##### getFileID() ``` public final UUID getFileID() ``` Gets the unique identifier for this file. **Returns:** java.util.UUID - The unique identifier for this file. ##### getCreationDate() ``` public final Date getCreationDate() ``` Gets the date and time of the initial creation of the file. **Returns:** java.util.Date - The date and time of the initial creation of the file. ##### getFlags() ``` public final AsfFilePropertyFlags getFlags() ``` Gets the header flags. **Returns:** AsfFilePropertyFlags - The header flags. ##### getStreamProperties() ``` public final AsfBaseStreamProperty[] getStreamProperties() ``` Gets the digital media stream properties. **Returns:** com.groupdocs.metadata.core.AsfBaseStreamProperty[] - The digital media stream properties. ##### getMetadataDescriptors() ``` public final AsfBaseDescriptor[] getMetadataDescriptors() ``` Gets the metadata descriptors. **Returns:** com.groupdocs.metadata.core.AsfBaseDescriptor[] - The metadata descriptors. ##### getCodecInformation() ``` public final AsfCodec[] getCodecInformation() ``` Gets the codec info entries. **Returns:** com.groupdocs.metadata.core.AsfCodec[] - The codec info entries. ### AsfRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class AsfRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an ASF video. This code sample demonstrates how to read native ASF metadata. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputAsf)) { > AsfRootPackage root = metadata.getRootPackageGeneric(); > AsfPackage asfPackage = root.getAsfPackage(); > // Display basic properties > System.out.println(String.format("Creation date: %s", asfPackage.getCreationDate())); > System.out.println(String.format("File id: %s", asfPackage.getFileID())); > System.out.println(String.format("Flags: %s", asfPackage.getFlags())); > // Display Asf Codec Information > for (AsfCodec codecInfo : asfPackage.getCodecInformation()) { > System.out.println(String.format("Codec type: %s", codecInfo.getCodecType())); > System.out.println(String.format("Description: %s", codecInfo.getDescription())); > System.out.println(String.format("Codec information: %s", codecInfo.getInformation())); > System.out.println(codecInfo.getName()); > } > // Display metadata descriptors > for (AsfBaseDescriptor descriptor : asfPackage.getMetadataDescriptors()) { > System.out.println(String.format("Name: %s", descriptor.getName())); > System.out.println(String.format("Value: %s", descriptor.getValue())); > System.out.println(String.format("Content type: %s", descriptor.getAsfContentType())); > if (descriptor instanceof AsfMetadataDescriptor) { > AsfMetadataDescriptor metadataDescriptor = (AsfMetadataDescriptor) descriptor; > System.out.println(String.format("Language: %s", metadataDescriptor.getLanguage())); > System.out.println(String.format("Stream number: %s", metadataDescriptor.getStreamNumber())); > System.out.println(String.format("Original name: %s", metadataDescriptor.getOriginalName())); > } > } > //Display the base stream properties > for (AsfBaseStreamProperty property : asfPackage.getStreamProperties()) { > System.out.println(String.format("Alternate bitrate: %s", property.getAlternateBitrate())); > System.out.println(String.format("Average bitrate: %s", property.getAverageBitrate())); > System.out.println(String.format("Average time per frame: %s", property.getAverageTimePerFrame())); > System.out.println(String.format("Bitrate: %s", property.getBitrate())); > System.out.println(String.format("Stream end time: %s", property.getEndTime())); > System.out.println(String.format("Stream flags: %s", property.getFlags())); > System.out.println(String.format("Stream language: %s", property.getLanguage())); > System.out.println(String.format("Stream start time: %s", property.getStartTime())); > System.out.println(String.format("Stream number: %s", property.getStreamNumber())); > System.out.println(String.format("Stream type: %s", property.getStreamType())); > //Display the audio stream properties > if (property instanceof AsfAudioStreamProperty) { > AsfAudioStreamProperty audioStreamProperty = (AsfAudioStreamProperty) property; > System.out.println(String.format("Audio bits per sample: %s", audioStreamProperty.getBitsPerSample())); > System.out.println(String.format("Audio channels: %s", audioStreamProperty.getChannels())); > System.out.println(String.format("Audio format tag: %s", audioStreamProperty.getFormatTag())); > System.out.println(String.format("Audio samples per second: %s", audioStreamProperty.getSamplesPerSecond())); > } > //Display the video stream properties > if (property instanceof AsfVideoStreamProperty) { > AsfVideoStreamProperty videoStreamProperty = (AsfVideoStreamProperty) property; > System.out.println(String.format("Video bits per pixels: %s", videoStreamProperty.getBitsPerPixels())); > System.out.println(String.format("Compression: %s", videoStreamProperty.getCompression())); > System.out.println(String.format("Image height: %s", videoStreamProperty.getImageHeight())); > System.out.println(String.format("Image width: %s", videoStreamProperty.getImageWidth())); > } > } > } > > ``` > ``` [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getAsfPackage() | Gets the ASF metadata package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | copyTo(MetadataPackage metadata) | | ##### getAsfPackage() ``` public final AsfPackage getAsfPackage() ``` Gets the ASF metadata package. **Returns:** AsfPackage - The ASF metadata package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### copyTo(MetadataPackage metadata) ``` public void copyTo(MetadataPackage metadata) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | | ### AsfStreamType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfstreamtype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum AsfStreamType extends Enum implements IEnumValue ``` Defines ASF stream types. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined stream type. | | Audio | ASF Audio Media. | | Video | ASF Video Media. | | Command | ASF Command Media. | | Jfif | ASF JFIF Media. | | DegradableJpeg | ASF Degradable JPEG Media. | | FileTransfer | ASF File Transfer Media. | | Binary | ASF Binary Media. | | WebStreamSubtype | ASF Web Stream Media Subtype. | | WebStreamFormat | ASF Web Stream Format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final AsfStreamType Undefined ``` Undefined stream type. ##### Audio ``` public static final AsfStreamType Audio ``` ASF Audio Media. ##### Video ``` public static final AsfStreamType Video ``` ASF Video Media. ##### Command ``` public static final AsfStreamType Command ``` ASF Command Media. ##### Jfif ``` public static final AsfStreamType Jfif ``` ASF JFIF Media. ##### DegradableJpeg ``` public static final AsfStreamType DegradableJpeg ``` ASF Degradable JPEG Media. ##### FileTransfer ``` public static final AsfStreamType FileTransfer ``` ASF File Transfer Media. ##### Binary ``` public static final AsfStreamType Binary ``` ASF Binary Media. ##### WebStreamSubtype ``` public static final AsfStreamType WebStreamSubtype ``` ASF Web Stream Media Subtype. ##### WebStreamFormat ``` public static final AsfStreamType WebStreamFormat ``` ASF Web Stream Format. ##### values() ``` public static AsfStreamType[] values() ``` **Returns:** com.groupdocs.metadata.core.AsfStreamType[] ##### valueOf(String name) ``` public static AsfStreamType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** AsfStreamType ##### getByRawValue(int rawValue) ``` public static AsfStreamType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AsfStreamType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### AsfVideoStreamProperty Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/asfvideostreamproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.AsfBaseStreamProperty ``` public class AsfVideoStreamProperty extends AsfBaseStreamProperty ``` Represents Video stream property metadata in the ASF media container. [Working with Metadata in ASF Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+Metadata+in+ASF+Files #### Methods | Method | Description | | --- | --- | | getImageWidth() | Gets the width of the encoded image in pixels. | | getImageHeight() | Gets the height of the encoded image in pixels. | | getCompression() | Gets the video compression Id. | | getBitsPerPixels() | Gets the bits per pixels. | ##### getImageWidth() ``` public final long getImageWidth() ``` Gets the width of the encoded image in pixels. **Returns:** long - The width of the encoded image in pixels. ##### getImageHeight() ``` public final long getImageHeight() ``` Gets the height of the encoded image in pixels. **Returns:** long - The height of the encoded image in pixels. ##### getCompression() ``` public final long getCompression() ``` Gets the video compression Id. **Returns:** long - The video compression Id. ##### getBitsPerPixels() ``` public final long getBitsPerPixels() ``` Gets the bits per pixels. **Returns:** long - The bits per pixels. ### AviHeader Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/aviheader.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class AviHeader extends CustomPackage ``` Represents the AVIMAINHEADER structure in an AVI video. [Working with metadata in AVI files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+AVI+files #### Constructors | Constructor | Description | | --- | --- | | AviHeader() | Initializes a new instance of the AviHeader class. | #### Methods | Method | Description | | --- | --- | | getMicroSecPerFrame() | Gets the the number of microseconds between frames. | | getMaxBytesPerSec() | | | getPaddingGranularity() | Gets the alignment for data, in bytes. | | getAviHeaderFlags() | Gets a bitwise combination of zero or more of the AVI flags. | | getTotalFrames() | Gets the the total number of frames of data in the file. | | getInitialFrames() | | | getStreams() | Gets the number of streams in the file. | | getSuggestedBufferSize() | | | getWidth() | Gets the width of the AVI file in pixels. | | getHeight() | Gets the height of the AVI file in pixels. | ##### AviHeader() ``` public AviHeader() ``` Initializes a new instance of the AviHeader class. ##### getMicroSecPerFrame() ``` public final int getMicroSecPerFrame() ``` Gets the the number of microseconds between frames. This value indicates the overall timing for the file. **Returns:** int - The number of microseconds between frames. ##### getMaxBytesPerSec() ``` public final int getMaxBytesPerSec() ``` Gets the approximate maximum data rate of the file. This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks. **Returns:** int - The the approximate maximum data rate of the file. ##### getPaddingGranularity() ``` public final int getPaddingGranularity() ``` Gets the alignment for data, in bytes. Pad the data to multiples of this value. **Returns:** int - The the alignment for data. ##### getAviHeaderFlags() ``` public final AviHeaderFlags getAviHeaderFlags() ``` Gets a bitwise combination of zero or more of the AVI flags. **Returns:** AviHeaderFlags - The AVI flags. ##### getTotalFrames() ``` public final int getTotalFrames() ``` Gets the the total number of frames of data in the file. **Returns:** int - The total number of frames. ##### getInitialFrames() ``` public final int getInitialFrames() ``` Gets the initial frame for interleaved files. Noninterleaved files should specify zero. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this member. **Returns:** int - The initial frames. ##### getStreams() ``` public final int getStreams() ``` Gets the number of streams in the file. For example, a file with audio and video has two streams. **Returns:** int - The number of streams. ##### getSuggestedBufferSize() ``` public final int getSuggestedBufferSize() ``` Gets the suggested buffer size for reading the file. Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback, which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record, and not just a chunk. **Returns:** int - The suggested buffer size for reading the file. ##### getWidth() ``` public final int getWidth() ``` Gets the width of the AVI file in pixels. **Returns:** int - The width in pixels. ##### getHeight() ``` public final int getHeight() ``` Gets the height of the AVI file in pixels. **Returns:** int - The height in pixels. ### AviHeaderFlags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/aviheaderflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class AviHeaderFlags implements IEnumValue ``` Represents AVI Header flags. #### Fields | Field | Description | | --- | --- | | HasIndex | Indicates the AVI file has an index. | | MustUseIndex | Indicates that application should use the index, rather than the physical ordering of the chunks in the file, to determine the order of presentation of the data. | | IsInterleaved | Indicates the AVI file is interleaved. | | TrustCkType | Use CKType to find key frames. | | WasCaptureFile | Indicates the AVI file is a specially allocated file used for capturing real-time video. | | Copyrighted | Indicates the AVI file contains copyrighted data and software. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### HasIndex ``` public static final AviHeaderFlags HasIndex ``` Indicates the AVI file has an index. ##### MustUseIndex ``` public static final AviHeaderFlags MustUseIndex ``` Indicates that application should use the index, rather than the physical ordering of the chunks in the file, to determine the order of presentation of the data. For example, this flag could be used to create a list of frames for editing. ##### IsInterleaved ``` public static final AviHeaderFlags IsInterleaved ``` Indicates the AVI file is interleaved. ##### TrustCkType ``` public static final AviHeaderFlags TrustCkType ``` Use CKType to find key frames. ##### WasCaptureFile ``` public static final AviHeaderFlags WasCaptureFile ``` Indicates the AVI file is a specially allocated file used for capturing real-time video. Applications should warn the user before writing over a file with this flag set because the user probably defragmented this file. ##### Copyrighted ``` public static final AviHeaderFlags Copyrighted ``` Indicates the AVI file contains copyrighted data and software. When this flag is used, software should not permit the data to be duplicated. ##### getByRawValue(int rawValue) ``` public static AviHeaderFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** AviHeaderFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### AviRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/avirootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class AviRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an AVI video. This code snippet shows how to read AVI header properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputAvi)) { > AviRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getHeader().getAviHeaderFlags()); > System.out.println(root.getHeader().getHeight()); > System.out.println(root.getHeader().getWidth()); > System.out.println(root.getHeader().getTotalFrames()); > System.out.println(root.getHeader().getInitialFrames()); > System.out.println(root.getHeader().getMaxBytesPerSec()); > System.out.println(root.getHeader().getPaddingGranularity()); > System.out.println(root.getHeader().getStreams()); > // ... > } > > ``` > ``` [Working with metadata in AVI files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+AVI+files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getHeader() | Gets the AVI header package. | | getRiffInfoPackage() | Gets the package containing RIFF Info tags. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getHeader() ``` public final AviHeader getHeader() ``` Gets the AVI header package. **Returns:** AviHeader - The AVI header package. ##### getRiffInfoPackage() ``` public final RiffInfoPackage getRiffInfoPackage() ``` Gets the package containing RIFF Info tags. **Returns:** RiffInfoPackage - The package containing RIFF Info tags. ### BmpHeaderPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/bmpheaderpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class BmpHeaderPackage extends CustomPackage ``` Represents BMP header info. [Working with BMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+BMP+metadata #### Methods | Method | Description | | --- | --- | | getHeaderSize() | Gets the size of the header in bytes. | | getBitsPerPixel() | Gets the bits per pixel value. | | getImageSize() | Gets the bitmap raw data size in bytes. | | getPlanes() | Gets the number of planes. | | getColorsImportant() | Gets the number of important palette colors. | ##### getHeaderSize() ``` public final long getHeaderSize() ``` Gets the size of the header in bytes. **Returns:** long - The size of the header in bytes. ##### getBitsPerPixel() ``` public final int getBitsPerPixel() ``` Gets the bits per pixel value. **Returns:** int - The bits per pixel value. ##### getImageSize() ``` public final long getImageSize() ``` Gets the bitmap raw data size in bytes. **Returns:** long - The bitmap raw data size in bytes. ##### getPlanes() ``` public final int getPlanes() ``` Gets the number of planes. **Returns:** int - The number of planes. ##### getColorsImportant() ``` public final long getColorsImportant() ``` Gets the number of important palette colors. **Returns:** long - The number of important palette colors. ### BmpRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/bmprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class BmpRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a BMP image. This code sample shows how to read the header of a BMP file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputBmp)) { > BmpRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getBmpHeader().getBitsPerPixel()); > System.out.println(root.getBmpHeader().getColorsImportant()); > System.out.println(root.getBmpHeader().getHeaderSize()); > System.out.println(root.getBmpHeader().getImageSize()); > System.out.println(root.getBmpHeader().getPlanes()); > } > > ``` > ``` [Working with BMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+BMP+metadata #### Methods | Method | Description | | --- | --- | | getBmpHeader() | Gets the BMP header metadata package. | ##### getBmpHeader() ``` public final BmpHeaderPackage getBmpHeader() ``` Gets the BMP header metadata package. **Returns:** BmpHeaderPackage - The BMP header metadata package. ### ByteOrder Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/byteorder.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ByteOrder extends Enum implements IEnumValue ``` Defines various byte orders. #### Fields | Field | Description | | --- | --- | | Unknown | The byte order is unknown. | | BigEndian | Big endian. | | LittleEndian | Little endian. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final ByteOrder Unknown ``` The byte order is unknown. ##### BigEndian ``` public static final ByteOrder BigEndian ``` Big endian. ##### LittleEndian ``` public static final ByteOrder LittleEndian ``` Little endian. ##### values() ``` public static ByteOrder[] values() ``` **Returns:** com.groupdocs.metadata.core.ByteOrder[] ##### valueOf(String name) ``` public static ByteOrder valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ByteOrder ##### getByRawValue(int rawValue) ``` public static ByteOrder getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ByteOrder ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### CadAcadVersion Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cadacadversion.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum CadAcadVersion extends Enum implements IEnumValue ``` Defines AutoCAD drawing database version numbers. #### Fields | Field | Description | | --- | --- | | None | Non-versioned. | | Ac1006 | AutoCAD drawing database R10. | | Ac1009 | AutoCAD drawing database R11 and R12. | | Ac1012 | AutoCAD drawing database R13. | | Ac1014 | AutoCAD drawing database R14. | | Ac1015 | AutoCAD drawing database AutoCAD 2000. | | Ac1018 | AutoCAD drawing database AutoCAD 2004. | | Ac1021 | AutoCAD drawing database AutoCAD 2007. | | Ac1024 | AutoCAD drawing database AutoCAD 2010. | | Ac1027 | AutoCAD drawing database AutoCAD 2013. | | Ac1032 | AutoCAD drawing database AutoCAD 2018. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### None ``` public static final CadAcadVersion None ``` Non-versioned. ##### Ac1006 ``` public static final CadAcadVersion Ac1006 ``` AutoCAD drawing database R10. ##### Ac1009 ``` public static final CadAcadVersion Ac1009 ``` AutoCAD drawing database R11 and R12. ##### Ac1012 ``` public static final CadAcadVersion Ac1012 ``` AutoCAD drawing database R13. ##### Ac1014 ``` public static final CadAcadVersion Ac1014 ``` AutoCAD drawing database R14. ##### Ac1015 ``` public static final CadAcadVersion Ac1015 ``` AutoCAD drawing database AutoCAD 2000. ##### Ac1018 ``` public static final CadAcadVersion Ac1018 ``` AutoCAD drawing database AutoCAD 2004. ##### Ac1021 ``` public static final CadAcadVersion Ac1021 ``` AutoCAD drawing database AutoCAD 2007. ##### Ac1024 ``` public static final CadAcadVersion Ac1024 ``` AutoCAD drawing database AutoCAD 2010. ##### Ac1027 ``` public static final CadAcadVersion Ac1027 ``` AutoCAD drawing database AutoCAD 2013. ##### Ac1032 ``` public static final CadAcadVersion Ac1032 ``` AutoCAD drawing database AutoCAD 2018. ##### values() ``` public static CadAcadVersion[] values() ``` **Returns:** com.groupdocs.metadata.core.CadAcadVersion[] ##### valueOf(String name) ``` public static CadAcadVersion valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** CadAcadVersion ##### getByRawValue(int rawValue) ``` public static CadAcadVersion getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** CadAcadVersion ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### CadCustomPropertyPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cadcustompropertypackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CadCustomPropertyPackage extends CustomPackage ``` Represents a collection of custom CAD metadata properties. ### CadPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cadpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class CadPackage extends CustomPackage ``` Represents CAD (Computer-aided design) metadata. [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata #### Methods | Method | Description | | --- | --- | | getAcadVersion() | Gets the AutoCAD drawing database version number. | | getHeight() | Gets the drawing height. | | getWidth() | Gets the drawing width. | | getAuthor() | Gets the drawing author. | | getComments() | Gets the user comments. | | getHyperlinkBase() | Gets the hyperlink base. | | getKeywords() | Gets the keywords. | | getLastSavedBy() | Gets the name of the last editor. | | getRevisionNumber() | Gets the revision number. | | getSubject() | Gets the subject. | | getTitle() | Gets the title. | | getCreatedDateTime() | Gets the date and time when the drawing was created. | | getModifiedDateTime() | Gets the date and time when the drawing was modified. | | getCustomProperties() | Gets the package containing custom metadata properties. | ##### getAcadVersion() ``` public final CadAcadVersion getAcadVersion() ``` Gets the AutoCAD drawing database version number. **Returns:** CadAcadVersion - The AutoCAD drawing database version number. ##### getHeight() ``` public final int getHeight() ``` Gets the drawing height. **Returns:** int - The drawing height. ##### getWidth() ``` public final int getWidth() ``` Gets the drawing width. **Returns:** int - The drawing width. ##### getAuthor() ``` public final String getAuthor() ``` Gets the drawing author. **Returns:** java.lang.String - The drawing author. ##### getComments() ``` public final String getComments() ``` Gets the user comments. **Returns:** java.lang.String - The user comments. ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last editor. **Returns:** java.lang.String - The name of the last editor. ##### getRevisionNumber() ``` public final String getRevisionNumber() ``` Gets the revision number. **Returns:** java.lang.String - The revision number. ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### getCreatedDateTime() ``` public final Date getCreatedDateTime() ``` Gets the date and time when the drawing was created. **Returns:** java.util.Date - The date and time when the drawing was created. ##### getModifiedDateTime() ``` public final Date getModifiedDateTime() ``` Gets the date and time when the drawing was modified. **Returns:** java.util.Date - The date and time when the drawing was modified. ##### getCustomProperties() ``` public final CadCustomPropertyPackage getCustomProperties() ``` Gets the package containing custom metadata properties. **Returns:** CadCustomPropertyPackage - The package containing custom metadata properties. ### CadRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cadrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class CadRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a CAD drawing. This code sample shows how to read metadata of a CAD drawing. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDxf)) { > CadRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getCadPackage().getAcadVersion()); > System.out.println(root.getCadPackage().getAuthor()); > System.out.println(root.getCadPackage().getComments()); > System.out.println(root.getCadPackage().getCreatedDateTime()); > System.out.println(root.getCadPackage().getHyperlinkBase()); > System.out.println(root.getCadPackage().getKeywords()); > System.out.println(root.getCadPackage().getLastSavedBy()); > System.out.println(root.getCadPackage().getTitle()); > // ... > } > > ``` > ``` [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata #### Methods | Method | Description | | --- | --- | | getCadPackage() | Gets the CAD metadata package. | ##### getCadPackage() ``` public final CadPackage getCadPackage() ``` Gets the CAD metadata package. **Returns:** CadPackage - The CAD metadata package. ### CanonCameraSettingsPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/canoncamerasettingspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class CanonCameraSettingsPackage extends CustomPackage ``` Represents CANON camera settings. #### Methods | Method | Description | | --- | --- | | getMacroMode() | Gets the macro mode. | | getSelfTimer() | Gets the self timer. | | getQuality() | Gets the quality. | | getCanonFlashMode() | Gets the canon flash mode. | | getContinuousDrive() | Gets the continuous drive. | | getFocusMode() | Gets the focus mode. | | getRecordMode() | Gets the record mode. | | getCanonImageSize() | Gets the size of the canon image. | | getEasyMode() | Gets the easy mode. | | getDigitalZoom() | Gets the digital zoom. | | getContrast() | Gets the contrast. | | getSaturation() | Gets the saturation. | | getSharpness() | Gets the sharpness. | | getCameraIso() | Gets the camera iso. | | getMeteringMode() | Gets the metering mode. | | getFocusRange() | Gets the focus range. | | getAFPoint() | Gets the AFPoint. | | getCanonExposureMode() | Gets the canon exposure mode. | | getLensType() | Gets the type of the lens. | | getMaxFocalLength() | Gets the maximum length of the focal. | | getMinFocalLength() | Gets the minimum length of the focal. | | getImageStabilization() | Gets the image stabilization. | ##### getMacroMode() ``` public final short getMacroMode() ``` Gets the macro mode. **Returns:** short - The macro mode. ##### getSelfTimer() ``` public final short getSelfTimer() ``` Gets the self timer. **Returns:** short - The self timer. ##### getQuality() ``` public final short getQuality() ``` Gets the quality. **Returns:** short - The quality. ##### getCanonFlashMode() ``` public final short getCanonFlashMode() ``` Gets the canon flash mode. **Returns:** short - The canon flash mode. ##### getContinuousDrive() ``` public final short getContinuousDrive() ``` Gets the continuous drive. **Returns:** short - The continuous drive. ##### getFocusMode() ``` public final short getFocusMode() ``` Gets the focus mode. **Returns:** short - The focus mode. ##### getRecordMode() ``` public final short getRecordMode() ``` Gets the record mode. **Returns:** short - The record mode. ##### getCanonImageSize() ``` public final short getCanonImageSize() ``` Gets the size of the canon image. **Returns:** short - The size of the canon image. ##### getEasyMode() ``` public final short getEasyMode() ``` Gets the easy mode. **Returns:** short - The easy mode. ##### getDigitalZoom() ``` public final short getDigitalZoom() ``` Gets the digital zoom. **Returns:** short - The digital zoom. ##### getContrast() ``` public final short getContrast() ``` Gets the contrast. **Returns:** short - The contrast. ##### getSaturation() ``` public final short getSaturation() ``` Gets the saturation. **Returns:** short - The saturation. ##### getSharpness() ``` public final short getSharpness() ``` Gets the sharpness. **Returns:** short - The sharpness. ##### getCameraIso() ``` public final short getCameraIso() ``` Gets the camera iso. **Returns:** short - The camera iso. ##### getMeteringMode() ``` public final short getMeteringMode() ``` Gets the metering mode. **Returns:** short - The metering mode. ##### getFocusRange() ``` public final short getFocusRange() ``` Gets the focus range. **Returns:** short - The focus range. ##### getAFPoint() ``` public final short getAFPoint() ``` Gets the AFPoint. **Returns:** short - The AFPoint. ##### getCanonExposureMode() ``` public final short getCanonExposureMode() ``` Gets the canon exposure mode. **Returns:** short - The canon exposure mode. ##### getLensType() ``` public final int getLensType() ``` Gets the type of the lens. **Returns:** int - The type of the lens. ##### getMaxFocalLength() ``` public final int getMaxFocalLength() ``` Gets the maximum length of the focal. **Returns:** int - The maximum length of the focal. ##### getMinFocalLength() ``` public final int getMinFocalLength() ``` Gets the minimum length of the focal. **Returns:** int - The minimum length of the focal. ##### getImageStabilization() ``` public final short getImageStabilization() ``` Gets the image stabilization. **Returns:** short - The image stabilization. ### CanonMakerNotePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/canonmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public final class CanonMakerNotePackage extends MakerNotePackage ``` Represents CANON MakerNote metadata. #### Methods | Method | Description | | --- | --- | | getCameraSettings() | Gets the camera settings. | | getCanonImageType() | Gets the Canon image type. | | getCanonFirmwareVersion() | Gets the canon firmware version. | | getFileNumber() | Gets the file number. | | getOwnerName() | Gets the name of the owner. | | getSerialNumber() | Gets the serial number. | | getCanonFileLength() | Gets the length of the canon file. | | getCanonModelID() | Gets the canon model identifier. | ##### getCameraSettings() ``` public final CanonCameraSettingsPackage getCameraSettings() ``` Gets the camera settings. **Returns:** CanonCameraSettingsPackage - The camera settings. ##### getCanonImageType() ``` public final String getCanonImageType() ``` Gets the Canon image type. **Returns:** java.lang.String - The Canon type of the image. ##### getCanonFirmwareVersion() ``` public final String getCanonFirmwareVersion() ``` Gets the canon firmware version. **Returns:** java.lang.String - The canon firmware version. ##### getFileNumber() ``` public final Long getFileNumber() ``` Gets the file number. **Returns:** java.lang.Long - The file number. ##### getOwnerName() ``` public final String getOwnerName() ``` Gets the name of the owner. **Returns:** java.lang.String - The name of the owner. ##### getSerialNumber() ``` public final Long getSerialNumber() ``` Gets the serial number. **Returns:** java.lang.Long - The serial number. ##### getCanonFileLength() ``` public final Long getCanonFileLength() ``` Gets the length of the canon file. **Returns:** java.lang.Long - The length of the canon file. ##### getCanonModelID() ``` public final Long getCanonModelID() ``` Gets the canon model identifier. **Returns:** java.lang.Long - The canon model identifier. ### Cms Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cms.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DigitalSignature ``` public class Cms extends DigitalSignature ``` Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. CMS is based on the syntax of PKCS \#7, specified in RFC 5652. Please see https://tools.ietf.org/html/rfc5652 for more information. #### Methods | Method | Description | | --- | --- | | getDigestAlgorithms() | Gets the array of message-digest algorithm identifiers. | | getEncapsulatedContent() | Gets the signed content, consisting of a content type identifier and the content itself. | | getCertificates() | Gets the collection of certificates. | | getSigners() | Gets the collection of per-signer information packages. | | getSignTime() | Gets the time at which the signer (purportedly) performed the signing process. | ##### getDigestAlgorithms() ``` public final Oid[] getDigestAlgorithms() ``` Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero. **Returns:** com.groupdocs.metadata.core.Oid[] - The array of message-digest algorithm identifiers. ##### getEncapsulatedContent() ``` public final CmsEncapsulatedContent getEncapsulatedContent() ``` Gets the signed content, consisting of a content type identifier and the content itself. **Returns:** CmsEncapsulatedContent - The signed content, consisting of a content type identifier and the content itself. ##### getCertificates() ``` public final CmsCertificate[] getCertificates() ``` Gets the collection of certificates. **Returns:** com.groupdocs.metadata.core.CmsCertificate[] - The collection of certificates. It is intended that the set of certificates be sufficient to contain certification paths from a recognized "root" or "top-level certification authority" to all of the signers in the SignerInfo field. ##### getSigners() ``` public final CmsSigner[] getSigners() ``` Gets the collection of per-signer information packages. **Returns:** com.groupdocs.metadata.core.CmsSigner[] - The collection of per-signer information packages. There may be any number of elements in the collection, including zero. ##### getSignTime() ``` public Date getSignTime() ``` Gets the time at which the signer (purportedly) performed the signing process. **Returns:** java.util.Date - The time at which the signer (purportedly) performed the signing process. ### CmsAttribute Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cmsattribute.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsAttribute extends CustomPackage ``` Represents a CMS signer info attribute. #### Methods | Method | Description | | --- | --- | | getOid() | Gets the attribute OID. | | getValue() | Gets the attribute value represented as a string. | ##### getOid() ``` public final Oid getOid() ``` Gets the attribute OID. **Returns:** Oid - The attribute OID. ##### getValue() ``` public final String getValue() ``` Gets the attribute value represented as a string. **Returns:** java.lang.String - The attribute value represented as a string. ### CmsCertificate Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cmscertificate.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsCertificate extends CustomPackage ``` Represents a CMS certificate. #### Methods | Method | Description | | --- | --- | | getNotAfter() | Gets the date in local time after which a certificate is no longer valid. | | getNotBefore() | Gets the date in local time on which a certificate becomes valid. | | getRawData() | Gets the raw data of this certificate. | ##### getNotAfter() ``` public final Date getNotAfter() ``` Gets the date in local time after which a certificate is no longer valid. **Returns:** java.util.Date - The date in local time after which a certificate is no longer valid. ##### getNotBefore() ``` public final Date getNotBefore() ``` Gets the date in local time on which a certificate becomes valid. **Returns:** java.util.Date - The date in local time on which a certificate becomes valid. ##### getRawData() ``` public final byte[] getRawData() ``` Gets the raw data of this certificate. **Returns:** byte[] - The raw data of this certificate. ### CmsEncapsulatedContent Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cmsencapsulatedcontent.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsEncapsulatedContent extends CustomPackage ``` Represents a signed content container, consisting of a content type identifier and the content itself. #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the object identifier uniquely specifies the content type. | | getContentRawData() | Gets the raw data of content info. | ##### getContentType() ``` public final Oid getContentType() ``` Gets the object identifier uniquely specifies the content type. **Returns:** Oid - The object identifier uniquely specifies the content type. ##### getContentRawData() ``` public final byte[] getContentRawData() ``` Gets the raw data of content info. **Returns:** byte[] - The raw data of content info. ### CmsPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cmspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class CmsPackage extends CustomPackage ``` Represents a CMS digital signature metadata package. #### Methods | Method | Description | | --- | --- | | getSignatures() | Gets an array of the signatures extracted from the file. | | getFlags() | Gets the digital signature flags. | ##### getSignatures() ``` public final Cms[] getSignatures() ``` Gets an array of the signatures extracted from the file. **Returns:** com.groupdocs.metadata.core.Cms[] - An array of the signatures extracted from the file. ##### getFlags() ``` public final Integer getFlags() ``` Gets the digital signature flags. **Returns:** java.lang.Integer - The digital signature flags. ### CmsSigner Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cmssigner.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class CmsSigner extends CustomPackage ``` Represents CMS per-signer information. #### Methods | Method | Description | | --- | --- | | getSignerIdentifier() | Gets the signer's certificate (and thereby the signer's public key) raw data. | | getDigestAlgorithm() | Gets the message digest algorithm, and any associated parameters, used by the signer. | | getSignedAttributes() | Gets the collection of attributes that are signed. | | getSignatureAlgorithm() | Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. | | getSignatureValue() | Gets the result of digital signature generation, using the message digest and the signer's private key. | | getUnsignedAttributes() | Gets the collection of attributes that are not signed. | | getSigningTime() | Gets the time at which the signer (purportedly) performed the signing process. | ##### getSignerIdentifier() ``` public final byte[] getSignerIdentifier() ``` Gets the signer's certificate (and thereby the signer's public key) raw data. **Returns:** byte[] - The signer's certificate (and thereby the signer's public key) raw data. ##### getDigestAlgorithm() ``` public final Oid getDigestAlgorithm() ``` Gets the message digest algorithm, and any associated parameters, used by the signer. **Returns:** Oid - The message digest algorithm, and any associated parameters, used by the signer. ##### getSignedAttributes() ``` public final CmsAttribute[] getSignedAttributes() ``` Gets the collection of attributes that are signed. **Returns:** com.groupdocs.metadata.core.CmsAttribute[] - The collection of attributes that are signed. ##### getSignatureAlgorithm() ``` public final Oid getSignatureAlgorithm() ``` Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. **Returns:** Oid - The signature algorithm, and any associated parameters, used by the signer to generate the digital signature. ##### getSignatureValue() ``` public final String getSignatureValue() ``` Gets the result of digital signature generation, using the message digest and the signer's private key. **Returns:** java.lang.String - The result of digital signature generation, using the message digest and the signer's private key. ##### getUnsignedAttributes() ``` public final CmsAttribute[] getUnsignedAttributes() ``` Gets the collection of attributes that are not signed. **Returns:** com.groupdocs.metadata.core.CmsAttribute[] - The collection of attributes that are not signed. ##### getSigningTime() ``` public final Date getSigningTime() ``` Gets the time at which the signer (purportedly) performed the signing process. **Returns:** java.util.Date - The time at which the signer (purportedly) performed the signing process. ### Cr2AFConfigPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2afconfigpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFConfigPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFConfigPackage() | Initializes a new instance of the Cr2AFConfigPackage class. | #### Methods | Method | Description | | --- | --- | | getAFConfigTool() | Gets the AFConfigTool. | | getAFTrackingSensitivity() | Gets the AFTrackingSensitivity. | | getAFAccelDecelTracking() | Gets the AFAccelDecelTracking. | | getAFPointSwitching() | Gets the AFPointSwitching. | | getAIServoFirstImage() | Gets the AIServoFirstImage. | | getAIServoSecondImage() | Gets the AIServoSecondImage. | | getUSMLensElectronicMF() | Gets the USMLensElectronicMF. | | getAFAssistBeam() | Gets the AFAssistBeam. | | getOneShotAFRelease() | Gets the OneShotAFRelease. | | getAutoAFPointSelEOSiTRAF() | Gets the AutoAFPointSelEOSiTRAF. | | getLensDriveWhenAFImpossible() | Gets the LensDriveWhenAFImpossible. | | getSelectAFAreaSelectionMode() | Gets the SelectAFAreaSelectionMode. | | getAFAreaSelectionMethod() | Gets the AFAreaSelectionMethod. | | getOrientationLinkedAF() | Gets the OrientationLinkedAF. | | getManualAFPointSelPattern() | Gets the ManualAFPointSelPattern. | | getAFPointDisplayDuringFocus() | Gets the AFPointDisplayDuringFocus. | | getVFDisplayIllumination() | Gets the VFDisplayIllumination. | | getAFStatusViewfinder() | Gets the AFStatusViewfinder. | | getInitialAFPointInServo() | Gets the InitialAFPointInServo. | ##### Cr2AFConfigPackage() ``` public Cr2AFConfigPackage() ``` Initializes a new instance of the Cr2AFConfigPackage class. ##### getAFConfigTool() ``` public final int getAFConfigTool() ``` Gets the AFConfigTool. **Returns:** int - The AFConfigTool. ##### getAFTrackingSensitivity() ``` public final int getAFTrackingSensitivity() ``` Gets the AFTrackingSensitivity. **Returns:** int - The AFTrackingSensitivity. ##### getAFAccelDecelTracking() ``` public final int getAFAccelDecelTracking() ``` Gets the AFAccelDecelTracking. **Returns:** int - The AFAccelDecelTracking. ##### getAFPointSwitching() ``` public final int getAFPointSwitching() ``` Gets the AFPointSwitching. **Returns:** int - The AFPointSwitching. ##### getAIServoFirstImage() ``` public final int getAIServoFirstImage() ``` Gets the AIServoFirstImage. **Returns:** int - The AIServoFirstImage. ##### getAIServoSecondImage() ``` public final int getAIServoSecondImage() ``` Gets the AIServoSecondImage. **Returns:** int - The AIServoSecondImage. ##### getUSMLensElectronicMF() ``` public final int getUSMLensElectronicMF() ``` Gets the USMLensElectronicMF. **Returns:** int - The USMLensElectronicMF. ##### getAFAssistBeam() ``` public final int getAFAssistBeam() ``` Gets the AFAssistBeam. **Returns:** int - The AFAssistBeam. ##### getOneShotAFRelease() ``` public final int getOneShotAFRelease() ``` Gets the OneShotAFRelease. **Returns:** int - The OneShotAFRelease. ##### getAutoAFPointSelEOSiTRAF() ``` public final int getAutoAFPointSelEOSiTRAF() ``` Gets the AutoAFPointSelEOSiTRAF. **Returns:** int - The AutoAFPointSelEOSiTRAF. ##### getLensDriveWhenAFImpossible() ``` public final int getLensDriveWhenAFImpossible() ``` Gets the LensDriveWhenAFImpossible. **Returns:** int - The LensDriveWhenAFImpossible. ##### getSelectAFAreaSelectionMode() ``` public final int getSelectAFAreaSelectionMode() ``` Gets the SelectAFAreaSelectionMode. **Returns:** int - The SelectAFAreaSelectionMode. ##### getAFAreaSelectionMethod() ``` public final int getAFAreaSelectionMethod() ``` Gets the AFAreaSelectionMethod. **Returns:** int - The AFAreaSelectionMethod. ##### getOrientationLinkedAF() ``` public final int getOrientationLinkedAF() ``` Gets the OrientationLinkedAF. **Returns:** int - The OrientationLinkedAF. ##### getManualAFPointSelPattern() ``` public final int getManualAFPointSelPattern() ``` Gets the ManualAFPointSelPattern. **Returns:** int - The ManualAFPointSelPattern. ##### getAFPointDisplayDuringFocus() ``` public final int getAFPointDisplayDuringFocus() ``` Gets the AFPointDisplayDuringFocus. **Returns:** int - The AFPointDisplayDuringFocus. ##### getVFDisplayIllumination() ``` public final int getVFDisplayIllumination() ``` Gets the VFDisplayIllumination. **Returns:** int - The VFDisplayIllumination. ##### getAFStatusViewfinder() ``` public final int getAFStatusViewfinder() ``` Gets the AFStatusViewfinder. **Returns:** int - The AFStatusViewfinder. ##### getInitialAFPointInServo() ``` public final int getInitialAFPointInServo() ``` Gets the InitialAFPointInServo. **Returns:** int - The InitialAFPointInServo. ### Cr2AFInfo2Package Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2afinfo2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFInfo2Package extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFInfo2Package() | Initializes a new instance of the Cr2AFInfo2Package class. | #### Methods | Method | Description | | --- | --- | | getAFInfoSize() | Gets the AFInfoSize. | | getAFAreaMode() | Gets the AFAreaMode. | | getNumAFPoints() | Gets the NumAFPoints. | | getValidAFPoints() | Gets the ValidAFPoints. | | getCanonImageWidth() | Gets the CanonImageWidth. | | getCanonImageHeight() | Gets the CanonImageHeight. | | getAFImageWidth() | Gets the AFImageWidth. | | getAFImageHeight() | Gets the AFImageHeight. | | getAFAreaWidths() | Gets the AFAreaWidths. | | getAFAreaHeights() | Gets the AFAreaHeights. | | getAFAreaXPositions() | Gets the AFAreaXPositions. | | getAFAreaYPositions() | Gets the AFAreaYPositions. | | getAFPointsInFocus() | Gets the AFPointsInFocus. | | getAFPointsSelected() | Gets the AFPointsSelected. | | getPrimaryAFPoint() | Gets the PrimaryAFPoint. | ##### Cr2AFInfo2Package() ``` public Cr2AFInfo2Package() ``` Initializes a new instance of the Cr2AFInfo2Package class. ##### getAFInfoSize() ``` public final int getAFInfoSize() ``` Gets the AFInfoSize. **Returns:** int - The AFInfoSize. ##### getAFAreaMode() ``` public final int getAFAreaMode() ``` Gets the AFAreaMode. **Returns:** int - The AFAreaMode. ##### getNumAFPoints() ``` public final int getNumAFPoints() ``` Gets the NumAFPoints. **Returns:** int - The NumAFPoints. ##### getValidAFPoints() ``` public final int getValidAFPoints() ``` Gets the ValidAFPoints. **Returns:** int - The ValidAFPoints. ##### getCanonImageWidth() ``` public final int getCanonImageWidth() ``` Gets the CanonImageWidth. **Returns:** int - The CanonImageWidth. ##### getCanonImageHeight() ``` public final int getCanonImageHeight() ``` Gets the CanonImageHeight. **Returns:** int - The CanonImageHeight. ##### getAFImageWidth() ``` public final int getAFImageWidth() ``` Gets the AFImageWidth. **Returns:** int - The AFImageWidth. ##### getAFImageHeight() ``` public final int getAFImageHeight() ``` Gets the AFImageHeight. **Returns:** int - The AFImageHeight. ##### getAFAreaWidths() ``` public final int getAFAreaWidths() ``` Gets the AFAreaWidths. **Returns:** int - The AFAreaWidths. ##### getAFAreaHeights() ``` public final int getAFAreaHeights() ``` Gets the AFAreaHeights. **Returns:** int - The AFAreaHeights. ##### getAFAreaXPositions() ``` public final int getAFAreaXPositions() ``` Gets the AFAreaXPositions. **Returns:** int - The AFAreaXPositions. ##### getAFAreaYPositions() ``` public final int getAFAreaYPositions() ``` Gets the AFAreaYPositions. **Returns:** int - The AFAreaYPositions. ##### getAFPointsInFocus() ``` public final int getAFPointsInFocus() ``` Gets the AFPointsInFocus. **Returns:** int - The AFPointsInFocus. ##### getAFPointsSelected() ``` public final int getAFPointsSelected() ``` Gets the AFPointsSelected. **Returns:** int - The AFPointsSelected. ##### getPrimaryAFPoint() ``` public final int getPrimaryAFPoint() ``` Gets the PrimaryAFPoint. **Returns:** int - The PrimaryAFPoint. ### Cr2AFInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2afinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFInfoPackage() | Initializes a new instance of the Cr2AFInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getNumAFPoints() | Gets the NumAFPoints. | | getValidAFPoints() | Gets the ValidAFPoints. | | getCanonImageWidth() | Gets the CanonImageWidth. | | getCanonImageHeight() | Gets the CanonImageHeight. | | getAFImageWidth() | Gets the AFImageWidth. | | getAFImageHeight() | Gets the AFImageHeight. | | getAFAreaWidth() | Gets the AFAreaWidth. | | getAFAreaHeight() | Gets the AFAreaHeight. | | getAFAreaXPositions() | Gets the AFAreaXPositions. | | getAFAreaYPositions() | Gets the AFAreaYPositions. | | getAFPointsInFocus() | Gets the AFPointsInFocus. | | getPrimaryAFPointAFInfo() | Gets the PrimaryAFPointAFInfo. | | getPrimaryAFPoint() | Gets the PrimaryAFPoint. | ##### Cr2AFInfoPackage() ``` public Cr2AFInfoPackage() ``` Initializes a new instance of the Cr2AFInfoPackage class. ##### getNumAFPoints() ``` public final int getNumAFPoints() ``` Gets the NumAFPoints. **Returns:** int - The NumAFPoints. ##### getValidAFPoints() ``` public final int getValidAFPoints() ``` Gets the ValidAFPoints. **Returns:** int - The ValidAFPoints. ##### getCanonImageWidth() ``` public final int getCanonImageWidth() ``` Gets the CanonImageWidth. **Returns:** int - The CanonImageWidth. ##### getCanonImageHeight() ``` public final int getCanonImageHeight() ``` Gets the CanonImageHeight. **Returns:** int - The CanonImageHeight. ##### getAFImageWidth() ``` public final int getAFImageWidth() ``` Gets the AFImageWidth. **Returns:** int - The AFImageWidth. ##### getAFImageHeight() ``` public final int getAFImageHeight() ``` Gets the AFImageHeight. **Returns:** int - The AFImageHeight. ##### getAFAreaWidth() ``` public final int getAFAreaWidth() ``` Gets the AFAreaWidth. **Returns:** int - The AFAreaWidth. ##### getAFAreaHeight() ``` public final int getAFAreaHeight() ``` Gets the AFAreaHeight. **Returns:** int - The AFAreaHeight. ##### getAFAreaXPositions() ``` public final int getAFAreaXPositions() ``` Gets the AFAreaXPositions. **Returns:** int - The AFAreaXPositions. ##### getAFAreaYPositions() ``` public final int getAFAreaYPositions() ``` Gets the AFAreaYPositions. **Returns:** int - The AFAreaYPositions. ##### getAFPointsInFocus() ``` public final int getAFPointsInFocus() ``` Gets the AFPointsInFocus. **Returns:** int - The AFPointsInFocus. ##### getPrimaryAFPointAFInfo() ``` public final int getPrimaryAFPointAFInfo() ``` Gets the PrimaryAFPointAFInfo. **Returns:** int - The PrimaryAFPointAFInfo. ##### getPrimaryAFPoint() ``` public final int getPrimaryAFPoint() ``` Gets the PrimaryAFPoint. **Returns:** int - The PrimaryAFPoint. ### Cr2AFMicroAdjPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2afmicroadjpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AFMicroAdjPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AFMicroAdjPackage() | Initializes a new instance of the Cr2AFMicroAdjPackage class. | #### Methods | Method | Description | | --- | --- | | getAFMicroAdjMode() | Gets the AFMicroAdjMode. | | getAFMicroAdjValue() | Gets the AFMicroAdjValue. | ##### Cr2AFMicroAdjPackage() ``` public Cr2AFMicroAdjPackage() ``` Initializes a new instance of the Cr2AFMicroAdjPackage class. ##### getAFMicroAdjMode() ``` public final int getAFMicroAdjMode() ``` Gets the AFMicroAdjMode. **Returns:** int - The AFMicroAdjMode. ##### getAFMicroAdjValue() ``` public final float getAFMicroAdjValue() ``` Gets the AFMicroAdjValue. **Returns:** float - The AFMicroAdjValue. ### Cr2AspectInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2aspectinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2AspectInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2AspectInfoPackage() | Initializes a new instance of the Cr2AspectInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getAspectRatio() | Gets the AspectRatio. | | getCroppedImageWidth() | Gets the CroppedImageWidth. | | getCroppedImageHeight() | Gets the CroppedImageHeight. | | getCroppedImageLeft() | Gets the CroppedImageLeft. | | getCroppedImageTop() | Gets the CroppedImageTop. | ##### Cr2AspectInfoPackage() ``` public Cr2AspectInfoPackage() ``` Initializes a new instance of the Cr2AspectInfoPackage class. ##### getAspectRatio() ``` public final int getAspectRatio() ``` Gets the AspectRatio. **Returns:** int - The AspectRatio. ##### getCroppedImageWidth() ``` public final int getCroppedImageWidth() ``` Gets the CroppedImageWidth. **Returns:** int - The CroppedImageWidth. ##### getCroppedImageHeight() ``` public final int getCroppedImageHeight() ``` Gets the CroppedImageHeight. **Returns:** int - The CroppedImageHeight. ##### getCroppedImageLeft() ``` public final int getCroppedImageLeft() ``` Gets the CroppedImageLeft. **Returns:** int - The CroppedImageLeft. ##### getCroppedImageTop() ``` public final int getCroppedImageTop() ``` Gets the CroppedImageTop. **Returns:** int - The CroppedImageTop. ### Cr2CameraSettingsPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2camerasettingspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2CameraSettingsPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2CameraSettingsPackage() | Initializes a new instance of the Cr2CameraSettingsPackage class. | #### Methods | Method | Description | | --- | --- | | getMacroMode() | Gets the MacroMode. | | getSelfTimer() | Gets the SelfTimer. | | getQuality() | Gets the Quality. | | getCanonFlashMode() | Gets the CanonFlashMode. | | getContinuousDrive() | Gets the ContinuousDrive. | | getFocusMode() | Gets the FocusMode. | | getRecordMode() | Gets the RecordMode. | | getCanonImageSize() | Gets the CanonImageSize. | | getEasyMode() | Gets the EasyMode. | | getDigitalZoom() | Gets the DigitalZoom. | | getContrast() | Gets the Contrast. | | getSaturation() | Gets the Saturation. | | getSharpness() | Gets the Sharpness. | | getCameraIso() | Gets the CameraIso. | | getMeteringMode() | Gets the MeteringMode. | | getFocusRange() | Gets the FocusRange. | | getAFPoint() | Gets the AFPoint. | | getCanonExposureMode() | Gets the CanonExposureMode. | | getLensType() | Gets the LensType. | | getMaxFocalLength() | Gets the MaxFocalLength. | | getMinFocalLength() | Gets the MinFocalLength. | | getFocalUnits() | Gets the FocalUnits. | | getMaxAperture() | Gets the MaxAperture. | | getMinAperture() | Gets the MinAperture. | | getFlashActivity() | Gets the FlashActivity. | | getFlashBits() | Gets the FlashBits. | | getFocusContinuous() | Gets the FocusContinuous. | | getAESetting() | Gets the AESetting. | | getImageStabilization() | Gets the ImageStabilization. | | getDisplayAperture() | Gets the DisplayAperture. | | getZoomSourceWidth() | Gets the ZoomSourceWidth. | | getZoomTargetWidth() | Gets the ZoomTargetWidth. | | getSpotMeteringMode() | Gets the SpotMeteringMode. | | getPhotoEffect() | Gets the PhotoEffect. | | getManualFlashOutput() | Gets the ManualFlashOutput. | | getColorTone() | Gets the ColorTone. | | getSRAWQuality() | Gets the SRAWQuality. | ##### Cr2CameraSettingsPackage() ``` public Cr2CameraSettingsPackage() ``` Initializes a new instance of the Cr2CameraSettingsPackage class. ##### getMacroMode() ``` public final int getMacroMode() ``` Gets the MacroMode. **Returns:** int - The MacroMode. ##### getSelfTimer() ``` public final int getSelfTimer() ``` Gets the SelfTimer. **Returns:** int - The SelfTimer. ##### getQuality() ``` public final int getQuality() ``` Gets the Quality. **Returns:** int - The Quality. ##### getCanonFlashMode() ``` public final int getCanonFlashMode() ``` Gets the CanonFlashMode. **Returns:** int - The CanonFlashMode. ##### getContinuousDrive() ``` public final int getContinuousDrive() ``` Gets the ContinuousDrive. **Returns:** int - The ContinuousDrive. ##### getFocusMode() ``` public final int getFocusMode() ``` Gets the FocusMode. **Returns:** int - The FocusMode. ##### getRecordMode() ``` public final int getRecordMode() ``` Gets the RecordMode. **Returns:** int - The RecordMode. ##### getCanonImageSize() ``` public final int getCanonImageSize() ``` Gets the CanonImageSize. **Returns:** int - The CanonImageSize. ##### getEasyMode() ``` public final int getEasyMode() ``` Gets the EasyMode. **Returns:** int - The EasyMode. ##### getDigitalZoom() ``` public final int getDigitalZoom() ``` Gets the DigitalZoom. **Returns:** int - The DigitalZoom. ##### getContrast() ``` public final int getContrast() ``` Gets the Contrast. **Returns:** int - The Contrast. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getCameraIso() ``` public final int getCameraIso() ``` Gets the CameraIso. **Returns:** int - The CameraIso. ##### getMeteringMode() ``` public final int getMeteringMode() ``` Gets the MeteringMode. **Returns:** int - The MeteringMode. ##### getFocusRange() ``` public final int getFocusRange() ``` Gets the FocusRange. **Returns:** int - The FocusRange. ##### getAFPoint() ``` public final int getAFPoint() ``` Gets the AFPoint. **Returns:** int - The AFPoint. ##### getCanonExposureMode() ``` public final int getCanonExposureMode() ``` Gets the CanonExposureMode. **Returns:** int - The CanonExposureMode. ##### getLensType() ``` public final int getLensType() ``` Gets the LensType. **Returns:** int - The LensType. ##### getMaxFocalLength() ``` public final int getMaxFocalLength() ``` Gets the MaxFocalLength. **Returns:** int - The MaxFocalLength. ##### getMinFocalLength() ``` public final int getMinFocalLength() ``` Gets the MinFocalLength. **Returns:** int - The MinFocalLength. ##### getFocalUnits() ``` public final int getFocalUnits() ``` Gets the FocalUnits. **Returns:** int - The FocalUnits. ##### getMaxAperture() ``` public final int getMaxAperture() ``` Gets the MaxAperture. **Returns:** int - The MaxAperture. ##### getMinAperture() ``` public final int getMinAperture() ``` Gets the MinAperture. **Returns:** int - The MinAperture. ##### getFlashActivity() ``` public final int getFlashActivity() ``` Gets the FlashActivity. **Returns:** int - The FlashActivity. ##### getFlashBits() ``` public final int getFlashBits() ``` Gets the FlashBits. **Returns:** int - The FlashBits. ##### getFocusContinuous() ``` public final int getFocusContinuous() ``` Gets the FocusContinuous. **Returns:** int - The FocusContinuous. ##### getAESetting() ``` public final int getAESetting() ``` Gets the AESetting. **Returns:** int - The AESetting. ##### getImageStabilization() ``` public final int getImageStabilization() ``` Gets the ImageStabilization. **Returns:** int - The ImageStabilization. ##### getDisplayAperture() ``` public final int getDisplayAperture() ``` Gets the DisplayAperture. **Returns:** int - The DisplayAperture. ##### getZoomSourceWidth() ``` public final int getZoomSourceWidth() ``` Gets the ZoomSourceWidth. **Returns:** int - The ZoomSourceWidth. ##### getZoomTargetWidth() ``` public final int getZoomTargetWidth() ``` Gets the ZoomTargetWidth. **Returns:** int - The ZoomTargetWidth. ##### getSpotMeteringMode() ``` public final int getSpotMeteringMode() ``` Gets the SpotMeteringMode. **Returns:** int - The SpotMeteringMode. ##### getPhotoEffect() ``` public final int getPhotoEffect() ``` Gets the PhotoEffect. **Returns:** int - The PhotoEffect. ##### getManualFlashOutput() ``` public final int getManualFlashOutput() ``` Gets the ManualFlashOutput. **Returns:** int - The ManualFlashOutput. ##### getColorTone() ``` public final int getColorTone() ``` Gets the ColorTone. **Returns:** int - The ColorTone. ##### getSRAWQuality() ``` public final int getSRAWQuality() ``` Gets the SRAWQuality. **Returns:** int - The SRAWQuality. ### Cr2ColorBalancePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2colorbalancepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ColorBalancePackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ColorBalancePackage() | Initializes a new instance of the Cr2ColorBalancePackage class. | #### Methods | Method | Description | | --- | --- | | getWB_RGGBLevelsAuto() | Gets the WB\_RGGBLevelsAuto. | | getWB_RGGBLevelsDaylight() | Gets the WB\_RGGBLevelsDaylight. | | getWB_RGGBLevelsShade() | Gets the WB\_RGGBLevelsShade. | | getWB_RGGBLevelsCloudy() | Gets the WB\_RGGBLevelsCloudy. | | getWB_RGGBLevelsTungsten() | Gets the WB\_RGGBLevelsTungsten. | | getWB_RGGBLevelsFluorescent() | Gets the WB\_RGGBLevelsFluorescent. | | getWB_RGGBLevelsFlash() | Gets the WB\_RGGBLevelsFlash. | | getWB_RGGBLevelsKelvin() | Gets the WB\_RGGBLevelsKelvin. | | getWB_RGGBBlackLevels() | Gets the WB\_RGGBBlackLevels. | ##### Cr2ColorBalancePackage() ``` public Cr2ColorBalancePackage() ``` Initializes a new instance of the Cr2ColorBalancePackage class. ##### getWB_RGGBLevelsAuto() ``` public final int getWB_RGGBLevelsAuto() ``` Gets the WB\_RGGBLevelsAuto. **Returns:** int - The WB\_RGGBLevelsAuto. ##### getWB_RGGBLevelsDaylight() ``` public final int getWB_RGGBLevelsDaylight() ``` Gets the WB\_RGGBLevelsDaylight. **Returns:** int - The WB\_RGGBLevelsDaylight. ##### getWB_RGGBLevelsShade() ``` public final int getWB_RGGBLevelsShade() ``` Gets the WB\_RGGBLevelsShade. **Returns:** int - The WB\_RGGBLevelsShade. ##### getWB_RGGBLevelsCloudy() ``` public final int getWB_RGGBLevelsCloudy() ``` Gets the WB\_RGGBLevelsCloudy. **Returns:** int - The WB\_RGGBLevelsCloudy. ##### getWB_RGGBLevelsTungsten() ``` public final int getWB_RGGBLevelsTungsten() ``` Gets the WB\_RGGBLevelsTungsten. **Returns:** int - The WB\_RGGBLevelsTungsten. ##### getWB_RGGBLevelsFluorescent() ``` public final int getWB_RGGBLevelsFluorescent() ``` Gets the WB\_RGGBLevelsFluorescent. **Returns:** int - The WB\_RGGBLevelsFluorescent. ##### getWB_RGGBLevelsFlash() ``` public final int getWB_RGGBLevelsFlash() ``` Gets the WB\_RGGBLevelsFlash. **Returns:** int - The WB\_RGGBLevelsFlash. ##### getWB_RGGBLevelsKelvin() ``` public final int getWB_RGGBLevelsKelvin() ``` Gets the WB\_RGGBLevelsKelvin. **Returns:** int - The WB\_RGGBLevelsKelvin. ##### getWB_RGGBBlackLevels() ``` public final int getWB_RGGBBlackLevels() ``` Gets the WB\_RGGBBlackLevels. **Returns:** int - The WB\_RGGBBlackLevels. ### Cr2ColorInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2colorinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ColorInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ColorInfoPackage() | Initializes a new instance of the Cr2ColorInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getSaturation() | Gets the Saturation. | | getColorTone() | Gets the ColorTone. | | getColorSpace() | Gets the ColorSpace. | ##### Cr2ColorInfoPackage() ``` public Cr2ColorInfoPackage() ``` Initializes a new instance of the Cr2ColorInfoPackage class. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getColorTone() ``` public final int getColorTone() ``` Gets the ColorTone. **Returns:** int - The ColorTone. ##### getColorSpace() ``` public final int getColorSpace() ``` Gets the ColorSpace. **Returns:** int - The ColorSpace. ### Cr2CropInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2cropinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2CropInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2CropInfoPackage() | Initializes a new instance of the Cr2CropInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getCropLeftMargin() | Gets the CropLeftMargin. | | getCropRightMargin() | Gets the CropRightMargin. | | getCropTopMargin() | Gets the CropTopMargin. | | getCropBottomMargin() | Gets the CropBottomMargin. | ##### Cr2CropInfoPackage() ``` public Cr2CropInfoPackage() ``` Initializes a new instance of the Cr2CropInfoPackage class. ##### getCropLeftMargin() ``` public final int getCropLeftMargin() ``` Gets the CropLeftMargin. **Returns:** int - The CropLeftMargin. ##### getCropRightMargin() ``` public final int getCropRightMargin() ``` Gets the CropRightMargin. **Returns:** int - The CropRightMargin. ##### getCropTopMargin() ``` public final int getCropTopMargin() ``` Gets the CropTopMargin. **Returns:** int - The CropTopMargin. ##### getCropBottomMargin() ``` public final int getCropBottomMargin() ``` Gets the CropBottomMargin. **Returns:** int - The CropBottomMargin. ### Cr2FileInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2fileinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2FileInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2FileInfoPackage() | Initializes a new instance of the Cr2FileInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getSize() | Gets the Size. | | setSize(long value) | Sets the Size. | | getFileNumberOrShutterCount() | Gets the FileNumberOrShutterCount. | | getBracketMode() | Gets the BracketMode. | | getBracketValue() | Gets the BracketValue. | | getBracketShotNumber() | Gets the BracketShotNumber. | | getRawJpgQuality() | Gets the RawJpgQuality. | | getRawJpgSize() | Gets the RawJpgSize. | | getLongExposureNoiseReduction2() | Gets the LongExposureNoiseReduction2. | | getWBBracketMode() | Gets the WBBracketMode. | | getWBBracketValueAB() | Gets the WBBracketValueAB. | | getWBBracketValueGM() | Gets the WBBracketValueGM. | | getFilterEffect() | Gets the FilterEffect. | | getToningEffect() | Gets the ToningEffect. | | getMacroMagnification() | Gets the MacroMagnification. | | getLiveViewShooting() | Gets the LiveViewShooting. | | getFocusDistanceUpper() | Gets the FocusDistanceUpper. | | getFocusDistanceLower() | Gets the FocusDistanceLower. | | getShutterMode() | Gets the ShutterMode. | | getFlashExposureLock() | Gets the FlashExposureLock. | | getRFLensType() | Gets the RFLensType. | ##### Cr2FileInfoPackage() ``` public Cr2FileInfoPackage() ``` Initializes a new instance of the Cr2FileInfoPackage class. ##### getSize() ``` public final long getSize() ``` Gets the Size. **Returns:** long - The Size. ##### setSize(long value) ``` public final void setSize(long value) ``` Sets the Size. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The Size. | ##### getFileNumberOrShutterCount() ``` public final int getFileNumberOrShutterCount() ``` Gets the FileNumberOrShutterCount. **Returns:** int - The FileNumber. ##### getBracketMode() ``` public final int getBracketMode() ``` Gets the BracketMode. **Returns:** int - The BracketMode. ##### getBracketValue() ``` public final int getBracketValue() ``` Gets the BracketValue. **Returns:** int - The BracketValue. ##### getBracketShotNumber() ``` public final int getBracketShotNumber() ``` Gets the BracketShotNumber. **Returns:** int - The BracketShotNumber. ##### getRawJpgQuality() ``` public final int getRawJpgQuality() ``` Gets the RawJpgQuality. **Returns:** int - The RawJpgQuality. ##### getRawJpgSize() ``` public final int getRawJpgSize() ``` Gets the RawJpgSize. **Returns:** int - The RawJpgSize. ##### getLongExposureNoiseReduction2() ``` public final int getLongExposureNoiseReduction2() ``` Gets the LongExposureNoiseReduction2. **Returns:** int - The LongExposureNoiseReduction2. ##### getWBBracketMode() ``` public final int getWBBracketMode() ``` Gets the WBBracketMode. **Returns:** int - The WBBracketMode. ##### getWBBracketValueAB() ``` public final int getWBBracketValueAB() ``` Gets the WBBracketValueAB. **Returns:** int - The WBBracketValueAB. ##### getWBBracketValueGM() ``` public final int getWBBracketValueGM() ``` Gets the WBBracketValueGM. **Returns:** int - The WBBracketValueGM. ##### getFilterEffect() ``` public final int getFilterEffect() ``` Gets the FilterEffect. **Returns:** int - The FilterEffect. ##### getToningEffect() ``` public final int getToningEffect() ``` Gets the ToningEffect. **Returns:** int - The ToningEffect. ##### getMacroMagnification() ``` public final int getMacroMagnification() ``` Gets the MacroMagnification. **Returns:** int - The MacroMagnification. ##### getLiveViewShooting() ``` public final int getLiveViewShooting() ``` Gets the LiveViewShooting. **Returns:** int - The LiveViewShooting. ##### getFocusDistanceUpper() ``` public final int getFocusDistanceUpper() ``` Gets the FocusDistanceUpper. **Returns:** int - The FocusDistanceUpper. ##### getFocusDistanceLower() ``` public final int getFocusDistanceLower() ``` Gets the FocusDistanceLower. **Returns:** int - The FocusDistanceLower. ##### getShutterMode() ``` public final int getShutterMode() ``` Gets the ShutterMode. **Returns:** int - The ShutterMode. ##### getFlashExposureLock() ``` public final int getFlashExposureLock() ``` Gets the FlashExposureLock. **Returns:** int - The FlashExposureLock. ##### getRFLensType() ``` public final int getRFLensType() ``` Gets the RFLensType. **Returns:** int - The RFLensType. ### Cr2FocalLengthPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2focallengthpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2FocalLengthPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2FocalLengthPackage() | Initializes a new instance of the Cr2FocalLengthPackage class. | #### Methods | Method | Description | | --- | --- | | getFocalType() | Gets the FocalType. | | getFocalLength() | Gets the FocalLength. | | getFocalPlaneXSize() | Gets the FocalPlaneXSize. | | getFocalPlaneYSize() | Gets the FocalPlaneYSize. | ##### Cr2FocalLengthPackage() ``` public Cr2FocalLengthPackage() ``` Initializes a new instance of the Cr2FocalLengthPackage class. ##### getFocalType() ``` public final int getFocalType() ``` Gets the FocalType. **Returns:** int - The FocalType. ##### getFocalLength() ``` public final int getFocalLength() ``` Gets the FocalLength. **Returns:** int - The FocalLength. ##### getFocalPlaneXSize() ``` public final int getFocalPlaneXSize() ``` Gets the FocalPlaneXSize. **Returns:** int - The FocalPlaneXSize. ##### getFocalPlaneYSize() ``` public final int getFocalPlaneYSize() ``` Gets the FocalPlaneYSize. **Returns:** int - The FocalPlaneYSize. ### Cr2Functions1DPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2functions1dpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2Functions1DPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2Functions1DPackage() | Initializes a new instance of the Cr2Functions1DPackage class. | #### Methods | Method | Description | | --- | --- | | getFocusingScreen() | Gets the FocusingScreen. | | getFinderDisplayDuringExposure() | Gets the FinderDisplayDuringExposure. | | getShutterReleaseNoCFCard() | Gets the ShutterReleaseNoCFCard. | | getISOSpeedExpansion() | Gets the ISOSpeedExpansion. | | getShutterAELButton() | Gets the ShutterAELButton. | | getManualTv() | Gets the ManualTv. | | getExposureLevelIncrements() | Gets the ExposureLevelIncrements. | | getUSMLensElectronicMF() | Gets the USMLensElectronicMF. | | getLCDPanels() | Gets the LCDPanels. | | getAEBSequenceAutoCancel() | Gets the AEBSequenceAutoCancel. | | getAFPointIllumination() | Gets the AFPointIllumination. | | getAFPointSelection() | Gets the AFPointSelection. | | getMirrorLockup() | Gets the MirrorLockup. | | getAFPointSpotMetering() | Gets the AFPointSpotMetering. | | getFillFlashAutoReduction() | Gets the FillFlashAutoReduction. | | getShutterCurtainSync() | Gets the ShutterCurtainSync. | | getSafetyShiftInAvOrTv() | Gets the SafetyShiftInAvOrTv. | | getAFPointActivationArea() | Gets the AFPointActivationArea. | | getSwitchToRegisteredAFPoint() | Gets the SwitchToRegisteredAFPoint. | | getLensAFStopButton() | Gets the LensAFStopButton. | | getAIServoTrackingSensitivity() | Gets the AIServoTrackingSensitivity. | | getAIServoContinuousShooting() | Gets the AIServoContinuousShooting. | ##### Cr2Functions1DPackage() ``` public Cr2Functions1DPackage() ``` Initializes a new instance of the Cr2Functions1DPackage class. ##### getFocusingScreen() ``` public final int getFocusingScreen() ``` Gets the FocusingScreen. **Returns:** int - The FocusingScreen. ##### getFinderDisplayDuringExposure() ``` public final int getFinderDisplayDuringExposure() ``` Gets the FinderDisplayDuringExposure. **Returns:** int - The FinderDisplayDuringExposure. ##### getShutterReleaseNoCFCard() ``` public final int getShutterReleaseNoCFCard() ``` Gets the ShutterReleaseNoCFCard. **Returns:** int - The ShutterReleaseNoCFCard. ##### getISOSpeedExpansion() ``` public final int getISOSpeedExpansion() ``` Gets the ISOSpeedExpansion. **Returns:** int - The ISOSpeedExpansion. ##### getShutterAELButton() ``` public final int getShutterAELButton() ``` Gets the ShutterAELButton. **Returns:** int - The ShutterAELButton. ##### getManualTv() ``` public final int getManualTv() ``` Gets the ManualTv. **Returns:** int - The ManualTv. ##### getExposureLevelIncrements() ``` public final int getExposureLevelIncrements() ``` Gets the ExposureLevelIncrements. **Returns:** int - The ExposureLevelIncrements. ##### getUSMLensElectronicMF() ``` public final int getUSMLensElectronicMF() ``` Gets the USMLensElectronicMF. **Returns:** int - The USMLensElectronicMF. ##### getLCDPanels() ``` public final int getLCDPanels() ``` Gets the LCDPanels. **Returns:** int - The LCDPanels. ##### getAEBSequenceAutoCancel() ``` public final int getAEBSequenceAutoCancel() ``` Gets the AEBSequenceAutoCancel. **Returns:** int - The AEBSequenceAutoCancel. ##### getAFPointIllumination() ``` public final int getAFPointIllumination() ``` Gets the AFPointIllumination. **Returns:** int - The AFPointIllumination. ##### getAFPointSelection() ``` public final int getAFPointSelection() ``` Gets the AFPointSelection. **Returns:** int - The AFPointSelection. ##### getMirrorLockup() ``` public final int getMirrorLockup() ``` Gets the MirrorLockup. **Returns:** int - The MirrorLockup. ##### getAFPointSpotMetering() ``` public final int getAFPointSpotMetering() ``` Gets the AFPointSpotMetering. **Returns:** int - The AFPointSpotMetering. ##### getFillFlashAutoReduction() ``` public final int getFillFlashAutoReduction() ``` Gets the FillFlashAutoReduction. **Returns:** int - The FillFlashAutoReduction. ##### getShutterCurtainSync() ``` public final int getShutterCurtainSync() ``` Gets the ShutterCurtainSync. **Returns:** int - The ShutterCurtainSync. ##### getSafetyShiftInAvOrTv() ``` public final int getSafetyShiftInAvOrTv() ``` Gets the SafetyShiftInAvOrTv. **Returns:** int - The SafetyShiftInAvOrTv. ##### getAFPointActivationArea() ``` public final int getAFPointActivationArea() ``` Gets the AFPointActivationArea. **Returns:** int - The AFPointActivationArea. ##### getSwitchToRegisteredAFPoint() ``` public final int getSwitchToRegisteredAFPoint() ``` Gets the SwitchToRegisteredAFPoint. **Returns:** int - The SwitchToRegisteredAFPoint. ##### getLensAFStopButton() ``` public final int getLensAFStopButton() ``` Gets the LensAFStopButton. **Returns:** int - The LensAFStopButton. ##### getAIServoTrackingSensitivity() ``` public final int getAIServoTrackingSensitivity() ``` Gets the AIServoTrackingSensitivity. **Returns:** int - The AIServoTrackingSensitivity. ##### getAIServoContinuousShooting() ``` public final int getAIServoContinuousShooting() ``` Gets the AIServoContinuousShooting. **Returns:** int - The AIServoContinuousShooting. ### Cr2LightingOptPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2lightingoptpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2LightingOptPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2LightingOptPackage() | Initializes a new instance of the Cr2LightingOptPackage class. | #### Methods | Method | Description | | --- | --- | | getSize() | Gets the Size. | | setSize(long value) | Sets the Size. | | getPeripheralIlluminationCorr() | Gets the PeripheralIlluminationCorr. | | getAutoLightingOptimizer() | Gets the AutoLightingOptimizer. | | getHighlightTonePriority() | Gets the HighlightTonePriority. | | getLongExposureNoiseReduction() | Gets the LongExposureNoiseReduction. | | getHighISONoiseReduction() | Gets the HighISONoiseReduction. | | getDigitalLensOptimizer() | Gets the DigitalLensOptimizer. | ##### Cr2LightingOptPackage() ``` public Cr2LightingOptPackage() ``` Initializes a new instance of the Cr2LightingOptPackage class. ##### getSize() ``` public final long getSize() ``` Gets the Size. **Returns:** long - The Size. ##### setSize(long value) ``` public final void setSize(long value) ``` Sets the Size. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The Size. | ##### getPeripheralIlluminationCorr() ``` public final int getPeripheralIlluminationCorr() ``` Gets the PeripheralIlluminationCorr. **Returns:** int - The PeripheralIlluminationCorr. ##### getAutoLightingOptimizer() ``` public final int getAutoLightingOptimizer() ``` Gets the AutoLightingOptimizer. **Returns:** int - The AutoLightingOptimizer. ##### getHighlightTonePriority() ``` public final int getHighlightTonePriority() ``` Gets the HighlightTonePriority. **Returns:** int - The HighlightTonePriority. ##### getLongExposureNoiseReduction() ``` public final int getLongExposureNoiseReduction() ``` Gets the LongExposureNoiseReduction. **Returns:** int - The LongExposureNoiseReduction. ##### getHighISONoiseReduction() ``` public final int getHighISONoiseReduction() ``` Gets the HighISONoiseReduction. **Returns:** int - The HighISONoiseReduction. ##### getDigitalLensOptimizer() ``` public final int getDigitalLensOptimizer() ``` Gets the DigitalLensOptimizer. **Returns:** int - The DigitalLensOptimizer. ### Cr2LogInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2loginfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2LogInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2LogInfoPackage() | Initializes a new instance of the Cr2LogInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getCompressionFormat() | Gets the CompressionFormat. | | getSharpness() | Gets the Sharpness. | | getSaturation() | Gets the Saturation. | | getColorTone() | Gets the ColorTone. | | getColorSpace2() | Gets the ColorSpace2. | | getColorMatrix() | Gets the ColorMatrix. | | getCanonLogVersion() | Gets the CanonLogVersion. | ##### Cr2LogInfoPackage() ``` public Cr2LogInfoPackage() ``` Initializes a new instance of the Cr2LogInfoPackage class. ##### getCompressionFormat() ``` public final int getCompressionFormat() ``` Gets the CompressionFormat. **Returns:** int - The CompressionFormat. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getColorTone() ``` public final int getColorTone() ``` Gets the ColorTone. **Returns:** int - The ColorTone. ##### getColorSpace2() ``` public final int getColorSpace2() ``` Gets the ColorSpace2. **Returns:** int - The ColorSpace2. ##### getColorMatrix() ``` public final int getColorMatrix() ``` Gets the ColorMatrix. **Returns:** int - The ColorMatrix. ##### getCanonLogVersion() ``` public final int getCanonLogVersion() ``` Gets the CanonLogVersion. **Returns:** int - The CanonLogVersion. ### Cr2MakerNotePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2makernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage, com.groupdocs.metadata.core.RawMakerNotePackage ``` public final class Cr2MakerNotePackage extends RawMakerNotePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2MakerNotePackage() | Initializes a new instance of the Cr2MakerNotePackage class. | #### Methods | Method | Description | | --- | --- | | getCr2CameraSettingsPackage() | Gets the CanonCameraSettings. | | setCr2CameraSettingsPackage(Cr2CameraSettingsPackage value) | Sets the CanonCameraSettings. | | getCameraSettings() | Gets the CanonCameraSettings Offset. | | setCameraSettings(long value) | Sets the CanonCameraSettings Offset. | | getCr2FocalLengthPackage() | Gets the CanonFocalLength. | | setCr2FocalLengthPackage(Cr2FocalLengthPackage value) | Sets the CanonFocalLength. | | getCr2FocalLength() | Gets the CanonCameraSettings Offset. | | setCr2FocalLength(long value) | Sets the CanonCameraSettings Offset. | | getCr2ShotInfoPackage() | Gets the CanonShotInfo. | | setCr2ShotInfoPackage(Cr2ShotInfoPackage value) | Sets the CanonShotInfo. | | getCr2ShotInfo() | Gets the CanonCameraSettings Offset. | | setCr2ShotInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2PanoramaPackage() | Gets the CanonPanorama. | | setCr2PanoramaPackage(Cr2PanoramaPackage value) | Sets the CanonPanorama. | | getCr2Panorama() | Gets the CanonCameraSettings Offset. | | setCr2Panorama(long value) | Sets the CanonCameraSettings Offset. | | getCr2MovieInfoPackage() | Gets the MovieInfo (Tags written by some Canon cameras when recording video). | | setCr2MovieInfoPackage(Cr2MovieInfoPackage value) | Sets the MovieInfo (Tags written by some Canon cameras when recording video). | | getCr2MovieInfo() | Gets the CanonCameraSettings Offset. | | setCr2MovieInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFInfo2Package() | Gets the AFInfo3 (Newer version of the AFInfo record). | | setCr2AFInfo2Package(Cr2AFInfo2Package value) | Sets the AFInfo3 (Newer version of the AFInfo record). | | getCr2AFInfo2() | Gets the CanonCameraSettings Offset. | | setCr2AFInfo2(long value) | Sets the CanonCameraSettings Offset. | | getCr2WBInfoPackage() | Gets the WBInfo (WB tags for the Canon G9). | | setCr2WBInfoPackage(Cr2WBInfoPackage value) | Sets the WBInfo (WB tags for the Canon G9). | | getCr2WBInfo() | Gets the CanonCameraSettings Offset. | | setCr2WBInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2TimeInfoPackage() | Gets the TimeInfo. | | setCr2TimeInfoPackage(Cr2TimeInfoPackage value) | Sets the TimeInfo. | | getCr2TimeInfo() | Gets the CanonCameraSettings Offset. | | setCr2TimeInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFInfo3Package() | Gets the AFInfo3. | | setCr2AFInfo3Package(Cr2AFInfo2Package value) | Sets the AFInfo3. | | getCr2AFInfo3() | Gets the CanonCameraSettings Offset. | | setCr2AFInfo3(long value) | Sets the CanonCameraSettings Offset. | | getCr2Functions1DPackage() | Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). | | setCr2Functions1DPackage(Cr2Functions1DPackage value) | Sets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). | | getCr2Functions1D() | Gets the CanonCameraSettings Offset. | | setCr2Functions1D(long value) | Sets the CanonCameraSettings Offset. | | getCr2PersonalFuncsPackage() | Gets the PersonalFunctions (Personal function settings for the EOS-1D.). | | setCr2PersonalFuncsPackage(Cr2PersonalFuncsPackage value) | Sets the PersonalFunctions (Personal function settings for the EOS-1D.). | | getCr2PersonalFuncs() | Gets the CanonCameraSettings Offset. | | setCr2PersonalFuncs(long value) | Sets the CanonCameraSettings Offset. | | getCr2PersonalFuncValuesPackage() | Gets the PersonalFunctionValues. | | setCr2PersonalFuncValuesPackage(Cr2PersonalFuncValuesPackage value) | Sets the PersonalFunctionValues. | | getCr2PersonalFuncValues() | Gets the CanonCameraSettings Offset. | | setCr2PersonalFuncValues(long value) | Sets the CanonCameraSettings Offset. | | getCr2FileInfoPackage() | Not used in this version. | | setCr2FileInfoPackage(Cr2FileInfoPackage value) | Not used in this version. | | getCr2FileInfo() | Gets the CanonCameraSettings Offset. | | setCr2FileInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2CropInfoPackage() | Gets the CropInfo. | | setCr2CropInfoPackage(Cr2CropInfoPackage value) | Sets the CropInfo. | | getCr2CropInfo() | Gets the CanonCameraSettings Offset. | | setCr2CropInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AspectInfoPackage() | Gets the AspectInfo. | | setCr2AspectInfoPackage(Cr2AspectInfoPackage value) | Sets the AspectInfo. | | getCr2AspectInfo() | Gets the CanonCameraSettings Offset. | | setCr2AspectInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2ProcessingPackage() | Gets the ProcessingInfo. | | setCr2ProcessingPackage(Cr2ProcessingPackage value) | Sets the ProcessingInfo. | | getCr2Processing() | Gets the CanonCameraSettings Offset. | | setCr2Processing(long value) | Sets the CanonCameraSettings Offset. | | getCr2ColorBalancePackage() | Gets the ColorBalance (These tags are used by the 10D and 300D.). | | setCr2ColorBalancePackage(Cr2ColorBalancePackage value) | Sets the ColorBalance (These tags are used by the 10D and 300D.). | | getCr2ColorBalance() | Gets the CanonCameraSettings Offset. | | setCr2ColorBalance(long value) | Sets the CanonCameraSettings Offset. | | getCr2ModifiedInfoPackage() | Gets the MeasuredColor. | | setCr2ModifiedInfoPackage(Cr2ModifiedInfoPackage value) | Sets the MeasuredColor. | | getCr2ModifiedInfo() | Gets the CanonCameraSettings Offset. | | setCr2ModifiedInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2SensorInfoPackage() | Gets the SensorInfo. | | setCr2SensorInfoPackage(Cr2SensorInfoPackage value) | Sets the SensorInfo. | | getCr2SensorInfo() | Gets the CanonCameraSettings Offset. | | setCr2SensorInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2ColorInfoPackage() | Gets the ColorInfo. | | setCr2ColorInfoPackage(Cr2ColorInfoPackage value) | Sets the ColorInfo. | | getCr2ColorInfo() | Gets the CanonCameraSettings Offset. | | setCr2ColorInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFMicroAdjPackage() | Gets the AFMicroAdj. | | setCr2AFMicroAdjPackage(Cr2AFMicroAdjPackage value) | Sets the AFMicroAdj. | | getCr2AFMicroAdj() | Gets the CanonCameraSettings Offset. | | setCr2AFMicroAdj(long value) | Sets the CanonCameraSettings Offset. | | getCr2LightingOptPackage() | Gets the LightingOpt (This information is new in images from the EOS 7D.). | | setCr2LightingOptPackage(Cr2LightingOptPackage value) | Sets the LightingOpt (This information is new in images from the EOS 7D.). | | getCr2LightingOpt() | Gets the CanonCameraSettings Offset. | | setCr2LightingOpt(long value) | Sets the CanonCameraSettings Offset. | | getCr2MultiExpPackage() | Gets the MultiExp. | | setCr2MultiExpPackage(Cr2MultiExpPackage value) | Sets the MultiExp. | | getCr2MultiExp() | Gets the CanonCameraSettings Offset. | | setCr2MultiExp(long value) | Sets the CanonCameraSettings Offset. | | getCr2LogInfoPackage() | Gets the LogInfo. | | setCr2LogInfoPackage(Cr2LogInfoPackage value) | Sets the LogInfo. | | getCr2LogInfo() | Gets the CanonCameraSettings Offset. | | setCr2LogInfo(long value) | Sets the CanonCameraSettings Offset. | | getCr2AFConfigPackage() | Gets the AFConfig. | | setCr2AFConfigPackage(Cr2AFConfigPackage value) | Sets the AFConfig. | | getCr2AFConfig() | Gets the CanonCameraSettings Offset. | | setCr2AFConfig(long value) | Sets the CanonCameraSettings Offset. | | getImageType() | Gets the ImageType. | | setImageType(String value) | Sets the ImageType. | | getFirmwareVersion() | Gets the FirmwareVersion. | | setFirmwareVersion(String value) | Sets the FirmwareVersion. | | getFileNumber() | Gets the FileNumber. | | setFileNumber(long value) | Sets the FileNumber. | | getOwnerName() | Gets the OwnerName. | | setOwnerName(String value) | Sets the OwnerName. | | getSerialNumber() | Gets the SerialNumber. | | setSerialNumber(long value) | Sets the SerialNumber. | | getFileLength() | Gets the FileLength. | | setFileLength(long value) | Sets the FileLength. | | getModelID() | Gets the ModelID. | | setModelID(long value) | Sets the ModelID. | | getThumbnailImageValidArea() | Gets the ThumbnailImageValidArea. | | setThumbnailImageValidArea(int[] value) | Sets the ThumbnailImageValidArea. | | getSerialNumberFormat() | Gets the SerialNumberFormat. | | setSerialNumberFormat(long value) | Sets the SerialNumberFormat. | | getSuperMacro() | Gets the SuperMacro. | | setSuperMacro(int value) | Sets the SuperMacro. | | getDateStampMode() | Gets the DateStampMode. | | setDateStampMode(int value) | Sets the DateStampMode. | | getMyColors() | Gets the MyColors. | | setMyColors(int[] value) | Sets the MyColors. | | getContrastInfo() | Gets the Categories. | | setContrastInfo(int[] value) | Sets the Categories. | | getCategories() | Gets the Categories. | | setCategories(long[] value) | Sets the Categories. | | getImageUniqueID() | Gets the ImageUniqueID. | | setImageUniqueID(byte[] value) | Sets the ImageUniqueID. | | getOriginalDecisionDataOffset() | Gets the OriginalDecisionDataOffset. | | setOriginalDecisionDataOffset(long value) | Sets the OriginalDecisionDataOffset. | | getLensModel() | Gets the LensModel. | | setLensModel(String value) | Sets the LensModel. | | getInternalSerialNumber() | Gets the InternalSerialNumber. | | setInternalSerialNumber(String value) | Sets the InternalSerialNumber. | | getColorTemperature() | Gets the ColorTemperature. | | setColorTemperature(int value) | Sets the ColorTemperature. | | getMeasuredColor() | Gets the MeasuredColor. | | setMeasuredColor(int[] value) | Sets the MeasuredColor. | | getColorSpace() | Gets the ColorSpace. | | setColorSpace(int value) | Sets the ColorSpace. | | getCanonFlags() | Gets the CanonFlags. | | setCanonFlags(int value) | Sets the CanonFlags. | | getVRDOffset() | Gets the VRDOffset. | | setVRDOffset(long value) | Sets the VRDOffset. | | getPictureStyleUserDef() | Gets the PictureStyleUserDef. | | setPictureStyleUserDef(int[] value) | Sets the PictureStyleUserDef. | | getPictureStylePC() | Gets the PictureStylePC. | | setPictureStylePC(int[] value) | Sets the PictureStylePC. | | getCustomPictureStyleFileName() | Gets the CustomPictureStyleFileName. | | setCustomPictureStyleFileName(String value) | Sets the CustomPictureStyleFileName. | | getLensInfo() | Gets the LensInfo. | | setLensInfo(byte[] value) | Sets the LensInfo. | | getAmbienceInfo() | Gets the LensInfo. | | setAmbienceInfo(long[] value) | Sets the LensInfo. | | getCameraInfo() | Gets the CameraInfo. | | setCameraInfo(long value) | Sets the CameraInfo. | | getCustomFunctions() | Gets the CustomFunctions. | | setCustomFunctions(long value) | Sets the CustomFunctions. | | getFaceDetect1() | Gets the FaceDetect1. | | setFaceDetect1(long value) | Sets the FaceDetect1. | | getFaceDetect2() | Gets the FaceDetect2. | | setFaceDetect2(long value) | Sets the FaceDetect2. | | getFaceDetect3() | Gets the FaceDetect3. | | setFaceDetect3(long value) | Sets the FaceDetect3. | | getPreviewImageInfo() | Gets the PreviewImageInfo. | | setPreviewImageInfo(long value) | Sets the PreviewImageInfo. | | getColorData1() | Gets the ColorData1. | | setColorData1(long value) | Sets the ColorData1. | | getVignettingCorr() | Gets the VignettingCorr. | | setVignettingCorr(long value) | Sets the VignettingCorr. | | getHDRInfo() | Gets the HDRInfo. | | setHDRInfo(long value) | Sets the HDRInfo. | | getRawBurstModeRoll() | Gets the RawBurstModeRoll. | | setRawBurstModeRoll(long value) | Sets the RawBurstModeRoll. | ##### Cr2MakerNotePackage() ``` public Cr2MakerNotePackage() ``` Initializes a new instance of the Cr2MakerNotePackage class. ##### getCr2CameraSettingsPackage() ``` public final Cr2CameraSettingsPackage getCr2CameraSettingsPackage() ``` Gets the CanonCameraSettings. **Returns:** Cr2CameraSettingsPackage - The CanonCameraSettings. ##### setCr2CameraSettingsPackage(Cr2CameraSettingsPackage value) ``` public final void setCr2CameraSettingsPackage(Cr2CameraSettingsPackage value) ``` Sets the CanonCameraSettings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2CameraSettingsPackage | The CanonCameraSettings. | ##### getCameraSettings() ``` public final long getCameraSettings() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCameraSettings(long value) ``` public final void setCameraSettings(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2FocalLengthPackage() ``` public final Cr2FocalLengthPackage getCr2FocalLengthPackage() ``` Gets the CanonFocalLength. **Returns:** Cr2FocalLengthPackage - The CanonFocalLength. ##### setCr2FocalLengthPackage(Cr2FocalLengthPackage value) ``` public final void setCr2FocalLengthPackage(Cr2FocalLengthPackage value) ``` Sets the CanonFocalLength. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2FocalLengthPackage | The CanonFocalLength. | ##### getCr2FocalLength() ``` public final long getCr2FocalLength() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2FocalLength(long value) ``` public final void setCr2FocalLength(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ShotInfoPackage() ``` public final Cr2ShotInfoPackage getCr2ShotInfoPackage() ``` Gets the CanonShotInfo. **Returns:** Cr2ShotInfoPackage - The CanonShotInfo. ##### setCr2ShotInfoPackage(Cr2ShotInfoPackage value) ``` public final void setCr2ShotInfoPackage(Cr2ShotInfoPackage value) ``` Sets the CanonShotInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ShotInfoPackage | The CanonShotInfo. | ##### getCr2ShotInfo() ``` public final long getCr2ShotInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ShotInfo(long value) ``` public final void setCr2ShotInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2PanoramaPackage() ``` public final Cr2PanoramaPackage getCr2PanoramaPackage() ``` Gets the CanonPanorama. **Returns:** Cr2PanoramaPackage - The CanonPanorama. ##### setCr2PanoramaPackage(Cr2PanoramaPackage value) ``` public final void setCr2PanoramaPackage(Cr2PanoramaPackage value) ``` Sets the CanonPanorama. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2PanoramaPackage | The CanonPanorama. | ##### getCr2Panorama() ``` public final long getCr2Panorama() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2Panorama(long value) ``` public final void setCr2Panorama(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2MovieInfoPackage() ``` public final Cr2MovieInfoPackage getCr2MovieInfoPackage() ``` Gets the MovieInfo (Tags written by some Canon cameras when recording video). **Returns:** Cr2MovieInfoPackage - The MovieInfo. ##### setCr2MovieInfoPackage(Cr2MovieInfoPackage value) ``` public final void setCr2MovieInfoPackage(Cr2MovieInfoPackage value) ``` Sets the MovieInfo (Tags written by some Canon cameras when recording video). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2MovieInfoPackage | The MovieInfo. | ##### getCr2MovieInfo() ``` public final long getCr2MovieInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2MovieInfo(long value) ``` public final void setCr2MovieInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFInfo2Package() ``` public final Cr2AFInfo2Package getCr2AFInfo2Package() ``` Gets the AFInfo3 (Newer version of the AFInfo record). **Returns:** Cr2AFInfo2Package - The AFInfo3. ##### setCr2AFInfo2Package(Cr2AFInfo2Package value) ``` public final void setCr2AFInfo2Package(Cr2AFInfo2Package value) ``` Sets the AFInfo3 (Newer version of the AFInfo record). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFInfo2Package | The AFInfo3. | ##### getCr2AFInfo2() ``` public final long getCr2AFInfo2() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFInfo2(long value) ``` public final void setCr2AFInfo2(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2WBInfoPackage() ``` public final Cr2WBInfoPackage getCr2WBInfoPackage() ``` Gets the WBInfo (WB tags for the Canon G9). **Returns:** Cr2WBInfoPackage - The WBInfo. ##### setCr2WBInfoPackage(Cr2WBInfoPackage value) ``` public final void setCr2WBInfoPackage(Cr2WBInfoPackage value) ``` Sets the WBInfo (WB tags for the Canon G9). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2WBInfoPackage | The WBInfo. | ##### getCr2WBInfo() ``` public final long getCr2WBInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2WBInfo(long value) ``` public final void setCr2WBInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2TimeInfoPackage() ``` public final Cr2TimeInfoPackage getCr2TimeInfoPackage() ``` Gets the TimeInfo. **Returns:** Cr2TimeInfoPackage - The TimeInfo. ##### setCr2TimeInfoPackage(Cr2TimeInfoPackage value) ``` public final void setCr2TimeInfoPackage(Cr2TimeInfoPackage value) ``` Sets the TimeInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2TimeInfoPackage | The TimeInfo. | ##### getCr2TimeInfo() ``` public final long getCr2TimeInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2TimeInfo(long value) ``` public final void setCr2TimeInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFInfo3Package() ``` public final Cr2AFInfo2Package getCr2AFInfo3Package() ``` Gets the AFInfo3. **Returns:** Cr2AFInfo2Package - The AFInfo3. ##### setCr2AFInfo3Package(Cr2AFInfo2Package value) ``` public final void setCr2AFInfo3Package(Cr2AFInfo2Package value) ``` Sets the AFInfo3. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFInfo2Package | The AFInfo3. | ##### getCr2AFInfo3() ``` public final long getCr2AFInfo3() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFInfo3(long value) ``` public final void setCr2AFInfo3(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2Functions1DPackage() ``` public final Cr2Functions1DPackage getCr2Functions1DPackage() ``` Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). **Returns:** Cr2Functions1DPackage - The CustomFunctions1D. ##### setCr2Functions1DPackage(Cr2Functions1DPackage value) ``` public final void setCr2Functions1DPackage(Cr2Functions1DPackage value) ``` Sets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2Functions1DPackage | The CustomFunctions1D. | ##### getCr2Functions1D() ``` public final long getCr2Functions1D() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2Functions1D(long value) ``` public final void setCr2Functions1D(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2PersonalFuncsPackage() ``` public final Cr2PersonalFuncsPackage getCr2PersonalFuncsPackage() ``` Gets the PersonalFunctions (Personal function settings for the EOS-1D.). **Returns:** Cr2PersonalFuncsPackage - The PersonalFunctions. ##### setCr2PersonalFuncsPackage(Cr2PersonalFuncsPackage value) ``` public final void setCr2PersonalFuncsPackage(Cr2PersonalFuncsPackage value) ``` Sets the PersonalFunctions (Personal function settings for the EOS-1D.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2PersonalFuncsPackage | The PersonalFunctions. | ##### getCr2PersonalFuncs() ``` public final long getCr2PersonalFuncs() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2PersonalFuncs(long value) ``` public final void setCr2PersonalFuncs(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2PersonalFuncValuesPackage() ``` public final Cr2PersonalFuncValuesPackage getCr2PersonalFuncValuesPackage() ``` Gets the PersonalFunctionValues. **Returns:** Cr2PersonalFuncValuesPackage - The PersonalFunctionValues. ##### setCr2PersonalFuncValuesPackage(Cr2PersonalFuncValuesPackage value) ``` public final void setCr2PersonalFuncValuesPackage(Cr2PersonalFuncValuesPackage value) ``` Sets the PersonalFunctionValues. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2PersonalFuncValuesPackage | The PersonalFunctionValues. | ##### getCr2PersonalFuncValues() ``` public final long getCr2PersonalFuncValues() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2PersonalFuncValues(long value) ``` public final void setCr2PersonalFuncValues(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2FileInfoPackage() ``` public final Cr2FileInfoPackage getCr2FileInfoPackage() ``` Not used in this version. Gets the CanonFileInfo. **Returns:** Cr2FileInfoPackage - The CanonFileInfo. ##### setCr2FileInfoPackage(Cr2FileInfoPackage value) ``` public final void setCr2FileInfoPackage(Cr2FileInfoPackage value) ``` Not used in this version. Gets the CanonFileInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2FileInfoPackage | | ##### getCr2FileInfo() ``` public final long getCr2FileInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2FileInfo(long value) ``` public final void setCr2FileInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2CropInfoPackage() ``` public final Cr2CropInfoPackage getCr2CropInfoPackage() ``` Gets the CropInfo. **Returns:** Cr2CropInfoPackage - The CropInfo. ##### setCr2CropInfoPackage(Cr2CropInfoPackage value) ``` public final void setCr2CropInfoPackage(Cr2CropInfoPackage value) ``` Sets the CropInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2CropInfoPackage | The CropInfo. | ##### getCr2CropInfo() ``` public final long getCr2CropInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2CropInfo(long value) ``` public final void setCr2CropInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AspectInfoPackage() ``` public final Cr2AspectInfoPackage getCr2AspectInfoPackage() ``` Gets the AspectInfo. **Returns:** Cr2AspectInfoPackage - The AspectInfo. ##### setCr2AspectInfoPackage(Cr2AspectInfoPackage value) ``` public final void setCr2AspectInfoPackage(Cr2AspectInfoPackage value) ``` Sets the AspectInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AspectInfoPackage | The AspectInfo. | ##### getCr2AspectInfo() ``` public final long getCr2AspectInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AspectInfo(long value) ``` public final void setCr2AspectInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ProcessingPackage() ``` public final Cr2ProcessingPackage getCr2ProcessingPackage() ``` Gets the ProcessingInfo. **Returns:** Cr2ProcessingPackage - The ProcessingInfo. ##### setCr2ProcessingPackage(Cr2ProcessingPackage value) ``` public final void setCr2ProcessingPackage(Cr2ProcessingPackage value) ``` Sets the ProcessingInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ProcessingPackage | The ProcessingInfo. | ##### getCr2Processing() ``` public final long getCr2Processing() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2Processing(long value) ``` public final void setCr2Processing(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ColorBalancePackage() ``` public final Cr2ColorBalancePackage getCr2ColorBalancePackage() ``` Gets the ColorBalance (These tags are used by the 10D and 300D.). **Returns:** Cr2ColorBalancePackage - The ColorBalance. ##### setCr2ColorBalancePackage(Cr2ColorBalancePackage value) ``` public final void setCr2ColorBalancePackage(Cr2ColorBalancePackage value) ``` Sets the ColorBalance (These tags are used by the 10D and 300D.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ColorBalancePackage | The ColorBalance. | ##### getCr2ColorBalance() ``` public final long getCr2ColorBalance() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ColorBalance(long value) ``` public final void setCr2ColorBalance(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ModifiedInfoPackage() ``` public final Cr2ModifiedInfoPackage getCr2ModifiedInfoPackage() ``` Gets the MeasuredColor. **Returns:** Cr2ModifiedInfoPackage - The MeasuredColor. ##### setCr2ModifiedInfoPackage(Cr2ModifiedInfoPackage value) ``` public final void setCr2ModifiedInfoPackage(Cr2ModifiedInfoPackage value) ``` Sets the MeasuredColor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ModifiedInfoPackage | The MeasuredColor. | ##### getCr2ModifiedInfo() ``` public final long getCr2ModifiedInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ModifiedInfo(long value) ``` public final void setCr2ModifiedInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2SensorInfoPackage() ``` public final Cr2SensorInfoPackage getCr2SensorInfoPackage() ``` Gets the SensorInfo. **Returns:** Cr2SensorInfoPackage - The SensorInfo. ##### setCr2SensorInfoPackage(Cr2SensorInfoPackage value) ``` public final void setCr2SensorInfoPackage(Cr2SensorInfoPackage value) ``` Sets the SensorInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2SensorInfoPackage | The SensorInfo. | ##### getCr2SensorInfo() ``` public final long getCr2SensorInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2SensorInfo(long value) ``` public final void setCr2SensorInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2ColorInfoPackage() ``` public final Cr2ColorInfoPackage getCr2ColorInfoPackage() ``` Gets the ColorInfo. **Returns:** Cr2ColorInfoPackage - The ColorInfo. ##### setCr2ColorInfoPackage(Cr2ColorInfoPackage value) ``` public final void setCr2ColorInfoPackage(Cr2ColorInfoPackage value) ``` Sets the ColorInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2ColorInfoPackage | The ColorInfo. | ##### getCr2ColorInfo() ``` public final long getCr2ColorInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2ColorInfo(long value) ``` public final void setCr2ColorInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFMicroAdjPackage() ``` public final Cr2AFMicroAdjPackage getCr2AFMicroAdjPackage() ``` Gets the AFMicroAdj. **Returns:** Cr2AFMicroAdjPackage - The AFMicroAdj. ##### setCr2AFMicroAdjPackage(Cr2AFMicroAdjPackage value) ``` public final void setCr2AFMicroAdjPackage(Cr2AFMicroAdjPackage value) ``` Sets the AFMicroAdj. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFMicroAdjPackage | The AFMicroAdj. | ##### getCr2AFMicroAdj() ``` public final long getCr2AFMicroAdj() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFMicroAdj(long value) ``` public final void setCr2AFMicroAdj(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2LightingOptPackage() ``` public final Cr2LightingOptPackage getCr2LightingOptPackage() ``` Gets the LightingOpt (This information is new in images from the EOS 7D.). **Returns:** Cr2LightingOptPackage - The LightingOpt. ##### setCr2LightingOptPackage(Cr2LightingOptPackage value) ``` public final void setCr2LightingOptPackage(Cr2LightingOptPackage value) ``` Sets the LightingOpt (This information is new in images from the EOS 7D.). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2LightingOptPackage | The LightingOpt. | ##### getCr2LightingOpt() ``` public final long getCr2LightingOpt() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2LightingOpt(long value) ``` public final void setCr2LightingOpt(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2MultiExpPackage() ``` public final Cr2MultiExpPackage getCr2MultiExpPackage() ``` Gets the MultiExp. **Returns:** Cr2MultiExpPackage - The MultiExp. ##### setCr2MultiExpPackage(Cr2MultiExpPackage value) ``` public final void setCr2MultiExpPackage(Cr2MultiExpPackage value) ``` Sets the MultiExp. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2MultiExpPackage | The MultiExp. | ##### getCr2MultiExp() ``` public final long getCr2MultiExp() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2MultiExp(long value) ``` public final void setCr2MultiExp(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2LogInfoPackage() ``` public final Cr2LogInfoPackage getCr2LogInfoPackage() ``` Gets the LogInfo. **Returns:** Cr2LogInfoPackage - The LogInfo. ##### setCr2LogInfoPackage(Cr2LogInfoPackage value) ``` public final void setCr2LogInfoPackage(Cr2LogInfoPackage value) ``` Sets the LogInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2LogInfoPackage | The LogInfo. | ##### getCr2LogInfo() ``` public final long getCr2LogInfo() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2LogInfo(long value) ``` public final void setCr2LogInfo(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getCr2AFConfigPackage() ``` public final Cr2AFConfigPackage getCr2AFConfigPackage() ``` Gets the AFConfig. **Returns:** Cr2AFConfigPackage - The AFConfig. ##### setCr2AFConfigPackage(Cr2AFConfigPackage value) ``` public final void setCr2AFConfigPackage(Cr2AFConfigPackage value) ``` Sets the AFConfig. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | Cr2AFConfigPackage | The AFConfig. | ##### getCr2AFConfig() ``` public final long getCr2AFConfig() ``` Gets the CanonCameraSettings Offset. **Returns:** long - The CanonCameraSettings Offset. ##### setCr2AFConfig(long value) ``` public final void setCr2AFConfig(long value) ``` Sets the CanonCameraSettings Offset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CanonCameraSettings Offset. | ##### getImageType() ``` public final String getImageType() ``` Gets the ImageType. **Returns:** java.lang.String - The ImageType. ##### setImageType(String value) ``` public final void setImageType(String value) ``` Sets the ImageType. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The ImageType. | ##### getFirmwareVersion() ``` public final String getFirmwareVersion() ``` Gets the FirmwareVersion. **Returns:** java.lang.String - The FirmwareVersion. ##### setFirmwareVersion(String value) ``` public final void setFirmwareVersion(String value) ``` Sets the FirmwareVersion. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The FirmwareVersion. | ##### getFileNumber() ``` public final long getFileNumber() ``` Gets the FileNumber. **Returns:** long - The FileNumber. ##### setFileNumber(long value) ``` public final void setFileNumber(long value) ``` Sets the FileNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FileNumber. | ##### getOwnerName() ``` public final String getOwnerName() ``` Gets the OwnerName. **Returns:** java.lang.String - The OwnerName. ##### setOwnerName(String value) ``` public final void setOwnerName(String value) ``` Sets the OwnerName. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The OwnerName. | ##### getSerialNumber() ``` public final long getSerialNumber() ``` Gets the SerialNumber. **Returns:** long - The SerialNumber. ##### setSerialNumber(long value) ``` public final void setSerialNumber(long value) ``` Sets the SerialNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The SerialNumber. | ##### getFileLength() ``` public final long getFileLength() ``` Gets the FileLength. **Returns:** long - The FileLength. ##### setFileLength(long value) ``` public final void setFileLength(long value) ``` Sets the FileLength. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FileLength. | ##### getModelID() ``` public final long getModelID() ``` Gets the ModelID. **Returns:** long - The ModelID. ##### setModelID(long value) ``` public final void setModelID(long value) ``` Sets the ModelID. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The ModelID. | ##### getThumbnailImageValidArea() ``` public final int[] getThumbnailImageValidArea() ``` Gets the ThumbnailImageValidArea. **Returns:** int[] - The ThumbnailImageValidArea. ##### setThumbnailImageValidArea(int[] value) ``` public final void setThumbnailImageValidArea(int[] value) ``` Sets the ThumbnailImageValidArea. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The ThumbnailImageValidArea. | ##### getSerialNumberFormat() ``` public final long getSerialNumberFormat() ``` Gets the SerialNumberFormat. **Returns:** long - The SerialNumberFormat. ##### setSerialNumberFormat(long value) ``` public final void setSerialNumberFormat(long value) ``` Sets the SerialNumberFormat. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The SerialNumberFormat. | ##### getSuperMacro() ``` public final int getSuperMacro() ``` Gets the SuperMacro. **Returns:** int - The SuperMacro. ##### setSuperMacro(int value) ``` public final void setSuperMacro(int value) ``` Sets the SuperMacro. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The SuperMacro. | ##### getDateStampMode() ``` public final int getDateStampMode() ``` Gets the DateStampMode. **Returns:** int - The DateStampMode. ##### setDateStampMode(int value) ``` public final void setDateStampMode(int value) ``` Sets the DateStampMode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The DateStampMode. | ##### getMyColors() ``` public final int[] getMyColors() ``` Gets the MyColors. **Returns:** int[] - The MyColors. ##### setMyColors(int[] value) ``` public final void setMyColors(int[] value) ``` Sets the MyColors. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The MyColors. | ##### getContrastInfo() ``` public final int[] getContrastInfo() ``` Gets the Categories. **Returns:** int[] - The Categories. ##### setContrastInfo(int[] value) ``` public final void setContrastInfo(int[] value) ``` Sets the Categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The Categories. | ##### getCategories() ``` public final long[] getCategories() ``` Gets the Categories. **Returns:** long[] - The Categories. ##### setCategories(long[] value) ``` public final void setCategories(long[] value) ``` Sets the Categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long[] | The Categories. | ##### getImageUniqueID() ``` public final byte[] getImageUniqueID() ``` Gets the ImageUniqueID. **Returns:** byte[] - The ImageUniqueID. ##### setImageUniqueID(byte[] value) ``` public final void setImageUniqueID(byte[] value) ``` Sets the ImageUniqueID. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The ImageUniqueID. | ##### getOriginalDecisionDataOffset() ``` public final long getOriginalDecisionDataOffset() ``` Gets the OriginalDecisionDataOffset. **Returns:** long - The OriginalDecisionDataOffset. ##### setOriginalDecisionDataOffset(long value) ``` public final void setOriginalDecisionDataOffset(long value) ``` Sets the OriginalDecisionDataOffset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The OriginalDecisionDataOffset. | ##### getLensModel() ``` public final String getLensModel() ``` Gets the LensModel. **Returns:** java.lang.String - The LensModel. ##### setLensModel(String value) ``` public final void setLensModel(String value) ``` Sets the LensModel. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The LensModel. | ##### getInternalSerialNumber() ``` public final String getInternalSerialNumber() ``` Gets the InternalSerialNumber. **Returns:** java.lang.String - The InternalSerialNumber. ##### setInternalSerialNumber(String value) ``` public final void setInternalSerialNumber(String value) ``` Sets the InternalSerialNumber. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The InternalSerialNumber. | ##### getColorTemperature() ``` public final int getColorTemperature() ``` Gets the ColorTemperature. **Returns:** int - The ColorTemperature. ##### setColorTemperature(int value) ``` public final void setColorTemperature(int value) ``` Sets the ColorTemperature. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The ColorTemperature. | ##### getMeasuredColor() ``` public final int[] getMeasuredColor() ``` Gets the MeasuredColor. **Returns:** int[] - The MeasuredColor. ##### setMeasuredColor(int[] value) ``` public final void setMeasuredColor(int[] value) ``` Sets the MeasuredColor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The MeasuredColor. | ##### getColorSpace() ``` public final int getColorSpace() ``` Gets the ColorSpace. **Returns:** int - The ColorSpace. ##### setColorSpace(int value) ``` public final void setColorSpace(int value) ``` Sets the ColorSpace. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The ColorSpace. | ##### getCanonFlags() ``` public final int getCanonFlags() ``` Gets the CanonFlags. **Returns:** int - The CanonFlags. ##### setCanonFlags(int value) ``` public final void setCanonFlags(int value) ``` Sets the CanonFlags. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The CanonFlags. | ##### getVRDOffset() ``` public final long getVRDOffset() ``` Gets the VRDOffset. **Returns:** long - The VRDOffset. ##### setVRDOffset(long value) ``` public final void setVRDOffset(long value) ``` Sets the VRDOffset. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The VRDOffset. | ##### getPictureStyleUserDef() ``` public final int[] getPictureStyleUserDef() ``` Gets the PictureStyleUserDef. **Returns:** int[] - The PictureStyleUserDef. ##### setPictureStyleUserDef(int[] value) ``` public final void setPictureStyleUserDef(int[] value) ``` Sets the PictureStyleUserDef. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The PictureStyleUserDef. | ##### getPictureStylePC() ``` public final int[] getPictureStylePC() ``` Gets the PictureStylePC. **Returns:** int[] - The PictureStylePC. ##### setPictureStylePC(int[] value) ``` public final void setPictureStylePC(int[] value) ``` Sets the PictureStylePC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | The PictureStylePC. | ##### getCustomPictureStyleFileName() ``` public final String getCustomPictureStyleFileName() ``` Gets the CustomPictureStyleFileName. **Returns:** java.lang.String - The CustomPictureStyleFileName. ##### setCustomPictureStyleFileName(String value) ``` public final void setCustomPictureStyleFileName(String value) ``` Sets the CustomPictureStyleFileName. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The CustomPictureStyleFileName. | ##### getLensInfo() ``` public final byte[] getLensInfo() ``` Gets the LensInfo. **Returns:** byte[] - The LensInfo. ##### setLensInfo(byte[] value) ``` public final void setLensInfo(byte[] value) ``` Sets the LensInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The LensInfo. | ##### getAmbienceInfo() ``` public final long[] getAmbienceInfo() ``` Gets the LensInfo. **Returns:** long[] - The LensInfo. ##### setAmbienceInfo(long[] value) ``` public final void setAmbienceInfo(long[] value) ``` Sets the LensInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long[] | The LensInfo. | ##### getCameraInfo() ``` public final long getCameraInfo() ``` Gets the CameraInfo. **Returns:** long - The CameraInfo. ##### setCameraInfo(long value) ``` public final void setCameraInfo(long value) ``` Sets the CameraInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CameraInfo. | ##### getCustomFunctions() ``` public final long getCustomFunctions() ``` Gets the CustomFunctions. **Returns:** long - The CustomFunctions. ##### setCustomFunctions(long value) ``` public final void setCustomFunctions(long value) ``` Sets the CustomFunctions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The CustomFunctions. | ##### getFaceDetect1() ``` public final long getFaceDetect1() ``` Gets the FaceDetect1. **Returns:** long - The FaceDetect1. ##### setFaceDetect1(long value) ``` public final void setFaceDetect1(long value) ``` Sets the FaceDetect1. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FaceDetect1. | ##### getFaceDetect2() ``` public final long getFaceDetect2() ``` Gets the FaceDetect2. **Returns:** long - The FaceDetect2. ##### setFaceDetect2(long value) ``` public final void setFaceDetect2(long value) ``` Sets the FaceDetect2. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FaceDetect2. | ##### getFaceDetect3() ``` public final long getFaceDetect3() ``` Gets the FaceDetect3. **Returns:** long - The FaceDetect3. ##### setFaceDetect3(long value) ``` public final void setFaceDetect3(long value) ``` Sets the FaceDetect3. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The FaceDetect3. | ##### getPreviewImageInfo() ``` public final long getPreviewImageInfo() ``` Gets the PreviewImageInfo. **Returns:** long - The PreviewImageInfo. ##### setPreviewImageInfo(long value) ``` public final void setPreviewImageInfo(long value) ``` Sets the PreviewImageInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The PreviewImageInfo. | ##### getColorData1() ``` public final long getColorData1() ``` Gets the ColorData1. **Returns:** long - The ColorData1. ##### setColorData1(long value) ``` public final void setColorData1(long value) ``` Sets the ColorData1. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The ColorData1. | ##### getVignettingCorr() ``` public final long getVignettingCorr() ``` Gets the VignettingCorr. **Returns:** long - The VignettingCorr. ##### setVignettingCorr(long value) ``` public final void setVignettingCorr(long value) ``` Sets the VignettingCorr. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The VignettingCorr. | ##### getHDRInfo() ``` public final long getHDRInfo() ``` Gets the HDRInfo. **Returns:** long - The HDRInfo. ##### setHDRInfo(long value) ``` public final void setHDRInfo(long value) ``` Sets the HDRInfo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The HDRInfo. | ##### getRawBurstModeRoll() ``` public final long getRawBurstModeRoll() ``` Gets the RawBurstModeRoll. **Returns:** long - The RawBurstModeRoll. ##### setRawBurstModeRoll(long value) ``` public final void setRawBurstModeRoll(long value) ``` Sets the RawBurstModeRoll. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The RawBurstModeRoll. | ### Cr2ModifiedInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2modifiedinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ModifiedInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ModifiedInfoPackage() | Initializes a new instance of the Cr2ModifiedInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getModifiedToneCurve() | Gets the ModifiedToneCurve. | | getModifiedSharpness() | Gets the ModifiedSharpness. | | getModifiedSharpnessFreq() | Gets the ModifiedSharpnessFreq. | | getModifiedSensorRedLevel() | Gets the ModifiedSensorRedLevel. | | getModifiedSensorBlueLevel() | Gets the ModifiedSensorBlueLevel. | | getModifiedWhiteBalanceRed() | Gets the ModifiedWhiteBalanceRed. | | getModifiedWhiteBalanceBlue() | Gets the ModifiedWhiteBalanceBlue. | | getModifiedWhiteBalance() | Gets the ModifiedWhiteBalance. | | getModifiedColorTemp() | Gets the ModifiedColorTemp. | | getModifiedPictureStyle() | Gets the ModifiedPictureStyle. | | getModifiedDigitalGain() | Gets the ModifiedDigitalGain. | ##### Cr2ModifiedInfoPackage() ``` public Cr2ModifiedInfoPackage() ``` Initializes a new instance of the Cr2ModifiedInfoPackage class. ##### getModifiedToneCurve() ``` public final int getModifiedToneCurve() ``` Gets the ModifiedToneCurve. **Returns:** int - The ModifiedToneCurve. ##### getModifiedSharpness() ``` public final int getModifiedSharpness() ``` Gets the ModifiedSharpness. **Returns:** int - The ModifiedSharpness. ##### getModifiedSharpnessFreq() ``` public final int getModifiedSharpnessFreq() ``` Gets the ModifiedSharpnessFreq. **Returns:** int - The ModifiedSharpnessFreq. ##### getModifiedSensorRedLevel() ``` public final int getModifiedSensorRedLevel() ``` Gets the ModifiedSensorRedLevel. **Returns:** int - The ModifiedSensorRedLevel. ##### getModifiedSensorBlueLevel() ``` public final int getModifiedSensorBlueLevel() ``` Gets the ModifiedSensorBlueLevel. **Returns:** int - The ModifiedSensorBlueLevel. ##### getModifiedWhiteBalanceRed() ``` public final int getModifiedWhiteBalanceRed() ``` Gets the ModifiedWhiteBalanceRed. **Returns:** int - The ModifiedWhiteBalanceRed. ##### getModifiedWhiteBalanceBlue() ``` public final int getModifiedWhiteBalanceBlue() ``` Gets the ModifiedWhiteBalanceBlue. **Returns:** int - The ModifiedWhiteBalanceBlue. ##### getModifiedWhiteBalance() ``` public final int getModifiedWhiteBalance() ``` Gets the ModifiedWhiteBalance. **Returns:** int - The ModifiedWhiteBalance. ##### getModifiedColorTemp() ``` public final int getModifiedColorTemp() ``` Gets the ModifiedColorTemp. **Returns:** int - The ModifiedColorTemp. ##### getModifiedPictureStyle() ``` public final int getModifiedPictureStyle() ``` Gets the ModifiedPictureStyle. **Returns:** int - The ModifiedPictureStyle. ##### getModifiedDigitalGain() ``` public final int getModifiedDigitalGain() ``` Gets the ModifiedDigitalGain. **Returns:** int - The ModifiedDigitalGain. ### Cr2MovieInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2movieinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2MovieInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2MovieInfoPackage() | Initializes a new instance of the Cr2MovieInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getFrameRate() | Gets the FrameRate. | | getFrameCount() | Gets the FrameCount. | | getFrameCount2() | Gets the FrameCount2. | | getFrameRate2() | Gets the FrameRate. | | getDuration() | Gets the Duration. | | getAudioBitrate() | Gets the AudioBitrate. | | getAudioSampleRate() | Gets the AudioSampleRate. | | getAudioChannels() | Gets the AudioChannels. | | getVideoCodec() | Gets the VideoCodec. | ##### Cr2MovieInfoPackage() ``` public Cr2MovieInfoPackage() ``` Initializes a new instance of the Cr2MovieInfoPackage class. ##### getFrameRate() ``` public final int getFrameRate() ``` Gets the FrameRate. **Returns:** int - The FrameRate. ##### getFrameCount() ``` public final int getFrameCount() ``` Gets the FrameCount. **Returns:** int - The FrameCount. ##### getFrameCount2() ``` public final int getFrameCount2() ``` Gets the FrameCount2. **Returns:** int - The FrameCount2. ##### getFrameRate2() ``` public final float getFrameRate2() ``` Gets the FrameRate. **Returns:** float - The FrameRate. ##### getDuration() ``` public final int getDuration() ``` Gets the Duration. **Returns:** int - The Duration. ##### getAudioBitrate() ``` public final int getAudioBitrate() ``` Gets the AudioBitrate. **Returns:** int - The AudioBitrate. ##### getAudioSampleRate() ``` public final int getAudioSampleRate() ``` Gets the AudioSampleRate. **Returns:** int - The AudioSampleRate. ##### getAudioChannels() ``` public final int getAudioChannels() ``` Gets the AudioChannels. **Returns:** int - The AudioChannels. ##### getVideoCodec() ``` public final byte[] getVideoCodec() ``` Gets the VideoCodec. **Returns:** byte[] - The VideoCodec. ### Cr2MultiExpPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2multiexppackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2MultiExpPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2MultiExpPackage() | Initializes a new instance of the Cr2MultiExpPackage class. | #### Methods | Method | Description | | --- | --- | | getMultiExposure() | Gets the MultiExposure. | | getMultiExposureControl() | Gets the MultiExposureControl. | | getMultiExposureShots() | Gets the MultiExposureShots. | ##### Cr2MultiExpPackage() ``` public Cr2MultiExpPackage() ``` Initializes a new instance of the Cr2MultiExpPackage class. ##### getMultiExposure() ``` public final int getMultiExposure() ``` Gets the MultiExposure. **Returns:** int - The MultiExposure. ##### getMultiExposureControl() ``` public final int getMultiExposureControl() ``` Gets the MultiExposureControl. **Returns:** int - The MultiExposureControl. ##### getMultiExposureShots() ``` public final int getMultiExposureShots() ``` Gets the MultiExposureShots. **Returns:** int - The MultiExposureShots. ### Cr2Package Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawPackage ``` public final class Cr2Package extends RawPackage ``` Represents native CR2 metadata. [Working with DNG metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CR2+metadata #### Methods | Method | Description | | --- | --- | | getRawTiffTagPackage() | Gets the Tag Support Levels. | ##### getRawTiffTagPackage() ``` public final RawTiffTagPackage getRawTiffTagPackage() ``` Gets the Tag Support Levels. **Returns:** RawTiffTagPackage - The Tag Support Levels. ### Cr2PanoramaPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2panoramapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2PanoramaPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2PanoramaPackage() | Initializes a new instance of the Cr2PanoramaPackage class. | #### Methods | Method | Description | | --- | --- | | getPanoramaFrameNumber() | Gets the PanoramaFrameNumber. | | getPanoramaDirection() | Gets the PanoramaDirection. | ##### Cr2PanoramaPackage() ``` public Cr2PanoramaPackage() ``` Initializes a new instance of the Cr2PanoramaPackage class. ##### getPanoramaFrameNumber() ``` public final int getPanoramaFrameNumber() ``` Gets the PanoramaFrameNumber. **Returns:** int - The PanoramaFrameNumber. ##### getPanoramaDirection() ``` public final int getPanoramaDirection() ``` Gets the PanoramaDirection. **Returns:** int - The PanoramaDirection. ### Cr2PersonalFuncsPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2personalfuncspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2PersonalFuncsPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2PersonalFuncsPackage() | Initializes a new instance of the Cr2PersonalFuncsPackage class. | #### Methods | Method | Description | | --- | --- | | getPF0CustomFuncRegistration() | Gets the PF0CustomFuncRegistration. | | getPF1DisableShootingModes() | Gets the PF1DisableShootingModes. | | getPF2DisableMeteringModes() | Gets the PF2DisableMeteringModes. | | getPF3ManualExposureMetering() | Gets the PF3ManualExposureMetering. | | getPF4ExposureTimeLimits() | Gets the PF4ExposureTimeLimits. | | getPF5ApertureLimits() | Gets the PF5ApertureLimits. | | getPF6PresetShootingModes() | Gets the PF6PresetShootingModes. | | getPF7BracketContinuousShoot() | Gets the PF7BracketContinuousShoot. | | getPF8SetBracketShots() | Gets the PF8SetBracketShots. | | getPF9ChangeBracketSequence() | Gets the PF9ChangeBracketSequence. | | getPF10RetainProgramShift() | Gets the PF10RetainProgramShift. | | getPF13DrivePriority() | Gets the PF13DrivePriority. | | getPF14DisableFocusSearch() | Gets the PF14DisableFocusSearch. | | getPF15DisableAFAssistBeam() | Gets the PF15DisableAFAssistBeam. | | getPF16AutoFocusPointShoot() | Gets the PF16AutoFocusPointShoot. | | getPF17DisableAFPointSel() | Gets the PF17DisableAFPointSel. | | getPF18EnableAutoAFPointSel() | Gets the PF18EnableAutoAFPointSel. | | getPF19ContinuousShootSpeed() | Gets the PF19ContinuousShootSpeed. | | getPF20LimitContinousShots() | Gets the PF20LimitContinousShots. | | getPF21EnableQuietOperation() | Gets the PF21EnableQuietOperation. | | getPF23SetTimerLengths() | Gets the PF23SetTimerLengths. | | getPF24LightLCDDuringBulb() | Gets the PF24LightLCDDuringBulb. | | getPF25DefaultClearSettings() | Gets the PF25DefaultClearSettings. | | getPF26ShortenReleaseLag() | Gets the PF26ShortenReleaseLag. | | getPF27ReverseDialRotation() | Gets the PF27ReverseDialRotation. | | getPF28NoQuickDialExpComp() | Gets the PF28NoQuickDialExpComp. | | getPF29QuickDialSwitchOff() | Gets the PF29QuickDialSwitchOff. | | getPF30EnlargementMode() | Gets the PF30EnlargementMode. | | getPF31OriginalDecisionData() | Gets the PF31OriginalDecisionData. | ##### Cr2PersonalFuncsPackage() ``` public Cr2PersonalFuncsPackage() ``` Initializes a new instance of the Cr2PersonalFuncsPackage class. ##### getPF0CustomFuncRegistration() ``` public final int getPF0CustomFuncRegistration() ``` Gets the PF0CustomFuncRegistration. **Returns:** int - The PF0CustomFuncRegistration. ##### getPF1DisableShootingModes() ``` public final int getPF1DisableShootingModes() ``` Gets the PF1DisableShootingModes. **Returns:** int - The PF1DisableShootingModes. ##### getPF2DisableMeteringModes() ``` public final int getPF2DisableMeteringModes() ``` Gets the PF2DisableMeteringModes. **Returns:** int - The PF2DisableMeteringModes. ##### getPF3ManualExposureMetering() ``` public final int getPF3ManualExposureMetering() ``` Gets the PF3ManualExposureMetering. **Returns:** int - The PF3ManualExposureMetering. ##### getPF4ExposureTimeLimits() ``` public final int getPF4ExposureTimeLimits() ``` Gets the PF4ExposureTimeLimits. **Returns:** int - The PF4ExposureTimeLimits. ##### getPF5ApertureLimits() ``` public final int getPF5ApertureLimits() ``` Gets the PF5ApertureLimits. **Returns:** int - The PF5ApertureLimits. ##### getPF6PresetShootingModes() ``` public final int getPF6PresetShootingModes() ``` Gets the PF6PresetShootingModes. **Returns:** int - The PF6PresetShootingModes. ##### getPF7BracketContinuousShoot() ``` public final int getPF7BracketContinuousShoot() ``` Gets the PF7BracketContinuousShoot. **Returns:** int - The PF7BracketContinuousShoot. ##### getPF8SetBracketShots() ``` public final int getPF8SetBracketShots() ``` Gets the PF8SetBracketShots. **Returns:** int - The PF8SetBracketShots. ##### getPF9ChangeBracketSequence() ``` public final int getPF9ChangeBracketSequence() ``` Gets the PF9ChangeBracketSequence. **Returns:** int - The PF9ChangeBracketSequence. ##### getPF10RetainProgramShift() ``` public final int getPF10RetainProgramShift() ``` Gets the PF10RetainProgramShift. **Returns:** int - The PF10RetainProgramShift. ##### getPF13DrivePriority() ``` public final int getPF13DrivePriority() ``` Gets the PF13DrivePriority. **Returns:** int - The PF13DrivePriority. ##### getPF14DisableFocusSearch() ``` public final int getPF14DisableFocusSearch() ``` Gets the PF14DisableFocusSearch. **Returns:** int - The PF14DisableFocusSearch. ##### getPF15DisableAFAssistBeam() ``` public final int getPF15DisableAFAssistBeam() ``` Gets the PF15DisableAFAssistBeam. **Returns:** int - The PF15DisableAFAssistBeam. ##### getPF16AutoFocusPointShoot() ``` public final int getPF16AutoFocusPointShoot() ``` Gets the PF16AutoFocusPointShoot. **Returns:** int - The PF16AutoFocusPointShoot. ##### getPF17DisableAFPointSel() ``` public final int getPF17DisableAFPointSel() ``` Gets the PF17DisableAFPointSel. **Returns:** int - The PF17DisableAFPointSel. ##### getPF18EnableAutoAFPointSel() ``` public final int getPF18EnableAutoAFPointSel() ``` Gets the PF18EnableAutoAFPointSel. **Returns:** int - The PF18EnableAutoAFPointSel. ##### getPF19ContinuousShootSpeed() ``` public final int getPF19ContinuousShootSpeed() ``` Gets the PF19ContinuousShootSpeed. **Returns:** int - The PF19ContinuousShootSpeed. ##### getPF20LimitContinousShots() ``` public final int getPF20LimitContinousShots() ``` Gets the PF20LimitContinousShots. **Returns:** int - The PF20LimitContinousShots. ##### getPF21EnableQuietOperation() ``` public final int getPF21EnableQuietOperation() ``` Gets the PF21EnableQuietOperation. **Returns:** int - The PF21EnableQuietOperation. ##### getPF23SetTimerLengths() ``` public final int getPF23SetTimerLengths() ``` Gets the PF23SetTimerLengths. **Returns:** int - The PF23SetTimerLengths. ##### getPF24LightLCDDuringBulb() ``` public final int getPF24LightLCDDuringBulb() ``` Gets the PF24LightLCDDuringBulb. **Returns:** int - The PF24LightLCDDuringBulb. ##### getPF25DefaultClearSettings() ``` public final int getPF25DefaultClearSettings() ``` Gets the PF25DefaultClearSettings. **Returns:** int - The PF25DefaultClearSettings. ##### getPF26ShortenReleaseLag() ``` public final int getPF26ShortenReleaseLag() ``` Gets the PF26ShortenReleaseLag. **Returns:** int - The PF26ShortenReleaseLag. ##### getPF27ReverseDialRotation() ``` public final int getPF27ReverseDialRotation() ``` Gets the PF27ReverseDialRotation. **Returns:** int - The PF27ReverseDialRotation. ##### getPF28NoQuickDialExpComp() ``` public final int getPF28NoQuickDialExpComp() ``` Gets the PF28NoQuickDialExpComp. **Returns:** int - The PF28NoQuickDialExpComp. ##### getPF29QuickDialSwitchOff() ``` public final int getPF29QuickDialSwitchOff() ``` Gets the PF29QuickDialSwitchOff. **Returns:** int - The PF29QuickDialSwitchOff. ##### getPF30EnlargementMode() ``` public final int getPF30EnlargementMode() ``` Gets the PF30EnlargementMode. **Returns:** int - The PF30EnlargementMode. ##### getPF31OriginalDecisionData() ``` public final int getPF31OriginalDecisionData() ``` Gets the PF31OriginalDecisionData. **Returns:** int - The PF31OriginalDecisionData. ### Cr2PersonalFuncValuesPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2personalfuncvaluespackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2PersonalFuncValuesPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2PersonalFuncValuesPackage() | Initializes a new instance of the Cr2PersonalFuncValuesPackage class. | #### Methods | Method | Description | | --- | --- | | getPF1Value() | Gets the PF1Value. | | getPF2Value() | Gets the PF2Value. | | getPF3Value() | Gets the PF3Value. | | getPF4ExposureTimeMin() | Gets the PF4ExposureTimeMin. | | getPF4ExposureTimeMax() | Gets the PF4ExposureTimeMax. | | getPF5ApertureMin() | Gets the PF5ApertureMin. | | getPF5ApertureMax() | Gets the PF5ApertureMax. | | getPF8BracketShots() | Gets the PF8BracketShots. | | getPF19ShootingSpeedLow() | Gets the PF19ShootingSpeedLow. | | getPF19ShootingSpeedHigh() | Gets the PF19ShootingSpeedHigh. | | getPF20MaxContinousShots() | Gets the PF20MaxContinousShots. | | getPF23ShutterButtonTime() | Gets the PF23ShutterButtonTime. | | getPF23FELockTime() | Gets the PF23FELockTime. | | getPF23PostReleaseTime() | Gets the PF23PostReleaseTime. | | getPF25AEMode() | Gets the PF25AEMode. | | getPF25MeteringMode() | Gets the PF25MeteringMode. | | getPF25DriveMode() | Gets the PF25DriveMode. | | getPF25AFMode() | Gets the PF25AFMode. | | getPF25AFPointSel() | Gets the PF25AFPointSel. | | getPF25ImageSize() | Gets the PF25ImageSize. | | getPF25WBMode() | Gets the PF25WBMode. | | getPF25Parameters() | Gets the PF25Parameters. | | getPF25ColorMatrix() | Gets the PF25ColorMatrix. | | getPF27Value() | Gets the PF27Value. | ##### Cr2PersonalFuncValuesPackage() ``` public Cr2PersonalFuncValuesPackage() ``` Initializes a new instance of the Cr2PersonalFuncValuesPackage class. ##### getPF1Value() ``` public final int getPF1Value() ``` Gets the PF1Value. **Returns:** int - The PF1Value. ##### getPF2Value() ``` public final int getPF2Value() ``` Gets the PF2Value. **Returns:** int - The PF2Value. ##### getPF3Value() ``` public final int getPF3Value() ``` Gets the PF3Value. **Returns:** int - The PF3Value. ##### getPF4ExposureTimeMin() ``` public final int getPF4ExposureTimeMin() ``` Gets the PF4ExposureTimeMin. **Returns:** int - The PF4ExposureTimeMin. ##### getPF4ExposureTimeMax() ``` public final int getPF4ExposureTimeMax() ``` Gets the PF4ExposureTimeMax. **Returns:** int - The PF4ExposureTimeMax. ##### getPF5ApertureMin() ``` public final int getPF5ApertureMin() ``` Gets the PF5ApertureMin. **Returns:** int - The PF5ApertureMin. ##### getPF5ApertureMax() ``` public final int getPF5ApertureMax() ``` Gets the PF5ApertureMax. **Returns:** int - The PF5ApertureMax. ##### getPF8BracketShots() ``` public final int getPF8BracketShots() ``` Gets the PF8BracketShots. **Returns:** int - The PF8BracketShots. ##### getPF19ShootingSpeedLow() ``` public final int getPF19ShootingSpeedLow() ``` Gets the PF19ShootingSpeedLow. **Returns:** int - The PF19ShootingSpeedLow. ##### getPF19ShootingSpeedHigh() ``` public final int getPF19ShootingSpeedHigh() ``` Gets the PF19ShootingSpeedHigh. **Returns:** int - The PF19ShootingSpeedHigh. ##### getPF20MaxContinousShots() ``` public final int getPF20MaxContinousShots() ``` Gets the PF20MaxContinousShots. **Returns:** int - The PF20MaxContinousShots. ##### getPF23ShutterButtonTime() ``` public final int getPF23ShutterButtonTime() ``` Gets the PF23ShutterButtonTime. **Returns:** int - The PF23ShutterButtonTime. ##### getPF23FELockTime() ``` public final int getPF23FELockTime() ``` Gets the PF23FELockTime. **Returns:** int - The PF23FELockTime. ##### getPF23PostReleaseTime() ``` public final int getPF23PostReleaseTime() ``` Gets the PF23PostReleaseTime. **Returns:** int - The PF23PostReleaseTime. ##### getPF25AEMode() ``` public final int getPF25AEMode() ``` Gets the PF25AEMode. **Returns:** int - The PF25AEMode. ##### getPF25MeteringMode() ``` public final int getPF25MeteringMode() ``` Gets the PF25MeteringMode. **Returns:** int - The PF25MeteringMode. ##### getPF25DriveMode() ``` public final int getPF25DriveMode() ``` Gets the PF25DriveMode. **Returns:** int - The PF25DriveMode. ##### getPF25AFMode() ``` public final int getPF25AFMode() ``` Gets the PF25AFMode. **Returns:** int - The PF25AFMode. ##### getPF25AFPointSel() ``` public final int getPF25AFPointSel() ``` Gets the PF25AFPointSel. **Returns:** int - The PF25AFPointSel. ##### getPF25ImageSize() ``` public final int getPF25ImageSize() ``` Gets the PF25ImageSize. **Returns:** int - The PF25ImageSize. ##### getPF25WBMode() ``` public final int getPF25WBMode() ``` Gets the PF25WBMode. **Returns:** int - The PF25WBMode. ##### getPF25Parameters() ``` public final int getPF25Parameters() ``` Gets the PF25Parameters. **Returns:** int - The PF25Parameters. ##### getPF25ColorMatrix() ``` public final int getPF25ColorMatrix() ``` Gets the PF25ColorMatrix. **Returns:** int - The PF25ColorMatrix. ##### getPF27Value() ``` public final int getPF27Value() ``` Gets the PF27Value. **Returns:** int - The PF27Value. ### Cr2ProcessingPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2processingpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ProcessingPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ProcessingPackage() | Initializes a new instance of the Cr2ProcessingPackage class. | #### Methods | Method | Description | | --- | --- | | getToneCurve() | Gets the ToneCurve. | | getSharpness() | Gets the Sharpness. | | getSharpnessFrequency() | Gets the SharpnessFrequency. | | getSensorRedLevel() | Gets the SensorRedLevel. | | getSensorBlueLevel() | Gets the SensorBlueLevel. | | getWhiteBalanceRed() | Gets the WhiteBalanceRed. | | getWhiteBalanceBlue() | Gets the WhiteBalanceBlue. | | getWhiteBalance() | Gets the WhiteBalance. | | getColorTemperature() | Gets the ColorTemperature. | | getPictureStyle() | Gets the PictureStyle. | | getDigitalGain() | Gets the DigitalGain. | | getWBShiftAB() | Gets the WBShiftAB. | | getWBShiftGM() | Gets the WBShiftGM. | ##### Cr2ProcessingPackage() ``` public Cr2ProcessingPackage() ``` Initializes a new instance of the Cr2ProcessingPackage class. ##### getToneCurve() ``` public final int getToneCurve() ``` Gets the ToneCurve. **Returns:** int - The ToneCurve. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getSharpnessFrequency() ``` public final int getSharpnessFrequency() ``` Gets the SharpnessFrequency. **Returns:** int - The SharpnessFrequency. ##### getSensorRedLevel() ``` public final int getSensorRedLevel() ``` Gets the SensorRedLevel. **Returns:** int - The SensorRedLevel. ##### getSensorBlueLevel() ``` public final int getSensorBlueLevel() ``` Gets the SensorBlueLevel. **Returns:** int - The SensorBlueLevel. ##### getWhiteBalanceRed() ``` public final int getWhiteBalanceRed() ``` Gets the WhiteBalanceRed. **Returns:** int - The WhiteBalanceRed. ##### getWhiteBalanceBlue() ``` public final int getWhiteBalanceBlue() ``` Gets the WhiteBalanceBlue. **Returns:** int - The WhiteBalanceBlue. ##### getWhiteBalance() ``` public final int getWhiteBalance() ``` Gets the WhiteBalance. **Returns:** int - The WhiteBalance. ##### getColorTemperature() ``` public final int getColorTemperature() ``` Gets the ColorTemperature. **Returns:** int - The ColorTemperature. ##### getPictureStyle() ``` public final int getPictureStyle() ``` Gets the PictureStyle. **Returns:** int - The PictureStyle. ##### getDigitalGain() ``` public final int getDigitalGain() ``` Gets the DigitalGain. **Returns:** int - The DigitalGain. ##### getWBShiftAB() ``` public final int getWBShiftAB() ``` Gets the WBShiftAB. **Returns:** int - The WBShiftAB. ##### getWBShiftGM() ``` public final int getWBShiftGM() ``` Gets the WBShiftGM. **Returns:** int - The WBShiftGM. ### Cr2RootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2rootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class Cr2RootPackage extends RootMetadataPackage ``` Represents an entry point to all metadata packages presented in a particular file CR2. #### Methods | Method | Description | | --- | --- | | getCr2Package() | Gets the CR2 header metadata package. | ##### getCr2Package() ``` public final Cr2Package getCr2Package() ``` Gets the CR2 header metadata package. **Returns:** Cr2Package - The CR2 header metadata package. ### Cr2SensorInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2sensorinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2SensorInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2SensorInfoPackage() | Initializes a new instance of the Cr2SensorInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getSensorWidth() | Gets the SensorWidth. | | getSensorHeight() | Gets the SensorHeight. | | getSensorLeftBorder() | Gets the SensorLeftBorder. | | getSensorTopBorder() | Gets the SensorTopBorder. | | getSensorRightBorder() | Gets the SensorRightBorder. | | getSensorBottomBorder() | Gets the SensorBottomBorder. | | getBlackMaskLeftBorder() | Gets the BlackMaskLeftBorder. | | getBlackMaskTopBorder() | Gets the BlackMaskTopBorder. | | getBlackMaskRightBorder() | Gets the BlackMaskRightBorder. | | getBlackMaskBottomBorder() | Gets the BlackMaskBottomBorder. | ##### Cr2SensorInfoPackage() ``` public Cr2SensorInfoPackage() ``` Initializes a new instance of the Cr2SensorInfoPackage class. ##### getSensorWidth() ``` public final int getSensorWidth() ``` Gets the SensorWidth. **Returns:** int - The SensorWidth. ##### getSensorHeight() ``` public final int getSensorHeight() ``` Gets the SensorHeight. **Returns:** int - The SensorHeight. ##### getSensorLeftBorder() ``` public final int getSensorLeftBorder() ``` Gets the SensorLeftBorder. **Returns:** int - The SensorLeftBorder. ##### getSensorTopBorder() ``` public final int getSensorTopBorder() ``` Gets the SensorTopBorder. **Returns:** int - The SensorTopBorder. ##### getSensorRightBorder() ``` public final int getSensorRightBorder() ``` Gets the SensorRightBorder. **Returns:** int - The SensorRightBorder. ##### getSensorBottomBorder() ``` public final int getSensorBottomBorder() ``` Gets the SensorBottomBorder. **Returns:** int - The SensorBottomBorder. ##### getBlackMaskLeftBorder() ``` public final int getBlackMaskLeftBorder() ``` Gets the BlackMaskLeftBorder. **Returns:** int - The BlackMaskLeftBorder. ##### getBlackMaskTopBorder() ``` public final int getBlackMaskTopBorder() ``` Gets the BlackMaskTopBorder. **Returns:** int - The BlackMaskTopBorder. ##### getBlackMaskRightBorder() ``` public final int getBlackMaskRightBorder() ``` Gets the BlackMaskRightBorder. **Returns:** int - The BlackMaskRightBorder. ##### getBlackMaskBottomBorder() ``` public final int getBlackMaskBottomBorder() ``` Gets the BlackMaskBottomBorder. **Returns:** int - The BlackMaskBottomBorder. ### Cr2ShotInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2shotinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2ShotInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2ShotInfoPackage() | Initializes a new instance of the Cr2ShotInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getAutoISO() | Gets the AutoISO. | | getBaseISO() | Gets the BaseISO. | | getMeasuredEV() | Gets the MeasuredEV. | | getTargetAperture() | Gets the TargetAperture. | | getTargetExposureTime() | Gets the TargetExposureTime. | | getExposureCompensation() | Gets the ExposureCompensation. | | getWhiteBalance() | Gets the WhiteBalance. | | getSlowShutter() | Gets the SlowShutter. | | getSequenceNumber() | Gets the SequenceNumber. | | getOpticalZoomCode() | Gets the OpticalZoomCode. | | getCameraTemperature() | Gets the CameraTemperature. | | getFlashGuideNumber() | Gets the FlashGuideNumber. | | getAFPointsInFocus() | Gets the AFPointsInFocus. | | getFlashExposureComp() | Gets the FlashExposureComp. | | getAutoExposureBracketing() | Gets the AutoExposureBracketing. | | getAEBBracketValue() | Gets the AEBBracketValue. | | getControlMode() | Gets the ControlMode. | | getFocusDistanceUpper() | Gets the FocusDistanceUpper. | | getFocusDistanceLower() | Gets the FocusDistanceLower. | | getFNumber() | Gets the FNumber. | | getExposureTime() | Gets the ExposureTime. | | getMeasuredEV2() | Gets the MeasuredEV2. | | getBulbDuration() | Gets the BulbDuration. | | getCameraType() | Gets the CameraType. | | getAutoRotate() | Gets the AutoRotate. | | getNDFilter() | Gets the NDFilter. | | getSelfTimer2() | Gets the SelfTimer2. | | getFlashOutput() | Gets the FlashOutput. | ##### Cr2ShotInfoPackage() ``` public Cr2ShotInfoPackage() ``` Initializes a new instance of the Cr2ShotInfoPackage class. ##### getAutoISO() ``` public final int getAutoISO() ``` Gets the AutoISO. **Returns:** int - The AutoISO. ##### getBaseISO() ``` public final int getBaseISO() ``` Gets the BaseISO. **Returns:** int - The BaseISO. ##### getMeasuredEV() ``` public final int getMeasuredEV() ``` Gets the MeasuredEV. **Returns:** int - The MeasuredEV. ##### getTargetAperture() ``` public final int getTargetAperture() ``` Gets the TargetAperture. **Returns:** int - The TargetAperture. ##### getTargetExposureTime() ``` public final int getTargetExposureTime() ``` Gets the TargetExposureTime. **Returns:** int - The TargetExposureTime. ##### getExposureCompensation() ``` public final int getExposureCompensation() ``` Gets the ExposureCompensation. **Returns:** int - The ExposureCompensation. ##### getWhiteBalance() ``` public final int getWhiteBalance() ``` Gets the WhiteBalance. **Returns:** int - The WhiteBalance. ##### getSlowShutter() ``` public final int getSlowShutter() ``` Gets the SlowShutter. **Returns:** int - The SlowShutter. ##### getSequenceNumber() ``` public final int getSequenceNumber() ``` Gets the SequenceNumber. **Returns:** int - The SequenceNumber. ##### getOpticalZoomCode() ``` public final int getOpticalZoomCode() ``` Gets the OpticalZoomCode. **Returns:** int - The OpticalZoomCode. ##### getCameraTemperature() ``` public final int getCameraTemperature() ``` Gets the CameraTemperature. **Returns:** int - The CameraTemperature. ##### getFlashGuideNumber() ``` public final int getFlashGuideNumber() ``` Gets the FlashGuideNumber. **Returns:** int - The FlashGuideNumber. ##### getAFPointsInFocus() ``` public final int getAFPointsInFocus() ``` Gets the AFPointsInFocus. **Returns:** int - The AFPointsInFocus. ##### getFlashExposureComp() ``` public final int getFlashExposureComp() ``` Gets the FlashExposureComp. **Returns:** int - The FlashExposureComp. ##### getAutoExposureBracketing() ``` public final int getAutoExposureBracketing() ``` Gets the AutoExposureBracketing. **Returns:** int - The AutoExposureBracketing. ##### getAEBBracketValue() ``` public final int getAEBBracketValue() ``` Gets the AEBBracketValue. **Returns:** int - The AEBBracketValue. ##### getControlMode() ``` public final int getControlMode() ``` Gets the ControlMode. **Returns:** int - The ControlMode. ##### getFocusDistanceUpper() ``` public final int getFocusDistanceUpper() ``` Gets the FocusDistanceUpper. **Returns:** int - The FocusDistanceUpper. ##### getFocusDistanceLower() ``` public final int getFocusDistanceLower() ``` Gets the FocusDistanceLower. **Returns:** int - The FocusDistanceLower. ##### getFNumber() ``` public final int getFNumber() ``` Gets the FNumber. **Returns:** int - The FNumber. ##### getExposureTime() ``` public final int getExposureTime() ``` Gets the ExposureTime. **Returns:** int - The ExposureTime. ##### getMeasuredEV2() ``` public final int getMeasuredEV2() ``` Gets the MeasuredEV2. **Returns:** int - The MeasuredEV2. ##### getBulbDuration() ``` public final int getBulbDuration() ``` Gets the BulbDuration. **Returns:** int - The BulbDuration. ##### getCameraType() ``` public final int getCameraType() ``` Gets the CameraType. **Returns:** int - The CameraType. ##### getAutoRotate() ``` public final int getAutoRotate() ``` Gets the AutoRotate. **Returns:** int - The AutoRotate. ##### getNDFilter() ``` public final int getNDFilter() ``` Gets the NDFilter. **Returns:** int - The NDFilter. ##### getSelfTimer2() ``` public final int getSelfTimer2() ``` Gets the SelfTimer2. **Returns:** int - The SelfTimer2. ##### getFlashOutput() ``` public final int getFlashOutput() ``` Gets the FlashOutput. **Returns:** int - The FlashOutput. ### Cr2TimeInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2timeinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2TimeInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2TimeInfoPackage() | Initializes a new instance of the Cr2TimeInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getTimeZone() | Gets the TimeZone. | | getTimeZoneCity() | Gets the TimeZoneCity. | | getDaylightSavings() | Gets the DaylightSavings. | ##### Cr2TimeInfoPackage() ``` public Cr2TimeInfoPackage() ``` Initializes a new instance of the Cr2TimeInfoPackage class. ##### getTimeZone() ``` public final int getTimeZone() ``` Gets the TimeZone. **Returns:** int - The TimeZone. ##### getTimeZoneCity() ``` public final int getTimeZoneCity() ``` Gets the TimeZoneCity. **Returns:** int - The TimeZoneCity. ##### getDaylightSavings() ``` public final int getDaylightSavings() ``` Gets the DaylightSavings. **Returns:** int - The DaylightSavings. ### Cr2VignettingCorr2Package Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2vignettingcorr2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2VignettingCorr2Package extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2VignettingCorr2Package() | Initializes a new instance of the Cr2VignettingCorr2Package class. | #### Methods | Method | Description | | --- | --- | | getPeripheralLightingSetting() | Gets the PeripheralLightingSetting. | | getChromaticAberrationSetting() | Gets the ChromaticAberrationSetting. | | getDistortionCorrectionSetting() | Gets the DistortionCorrectionSetting. | | getDigitalLensOptimizerSetting() | Gets the DigitalLensOptimizerSetting. | ##### Cr2VignettingCorr2Package() ``` public Cr2VignettingCorr2Package() ``` Initializes a new instance of the Cr2VignettingCorr2Package class. ##### getPeripheralLightingSetting() ``` public final int getPeripheralLightingSetting() ``` Gets the PeripheralLightingSetting. **Returns:** int - The PeripheralLightingSetting. ##### getChromaticAberrationSetting() ``` public final int getChromaticAberrationSetting() ``` Gets the ChromaticAberrationSetting. **Returns:** int - The ChromaticAberrationSetting. ##### getDistortionCorrectionSetting() ``` public final int getDistortionCorrectionSetting() ``` Gets the DistortionCorrectionSetting. **Returns:** int - The DistortionCorrectionSetting. ##### getDigitalLensOptimizerSetting() ``` public final int getDigitalLensOptimizerSetting() ``` Gets the DigitalLensOptimizerSetting. **Returns:** int - The DigitalLensOptimizerSetting. ### Cr2WBInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/cr2wbinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class Cr2WBInfoPackage extends RawDictionaryBasePackage ``` Represents Canon MakerNotes tags. #### Constructors | Constructor | Description | | --- | --- | | Cr2WBInfoPackage() | Initializes a new instance of the Cr2WBInfoPackage class. | #### Methods | Method | Description | | --- | --- | | getWB_GRBGLevelsAuto() | Gets the WB\_GRBGLevelsAuto. | | getWB_GRBGLevelsDaylight() | Gets the WB\_GRBGLevelsDaylight. | | getWB_GRBGLevelsCloudy() | Gets the WB\_GRBGLevelsCloudy. | | getWB_GRBGLevelsTungsten() | Gets the WB\_GRBGLevelsTungsten. | | getWB_GRBGLevelsFluorescent() | Gets the WB\_GRBGLevelsFluorescent. | | getWB_GRBGLevelsFluorHigh() | Gets the WB\_GRBGLevelsFluorHigh. | | getWB_GRBGLevelsFlash() | Gets the WB\_GRBGLevelsFlash. | | getWB_GRBGLevelsUnderwater() | Gets the WB\_GRBGLevelsUnderwater. | | getWB_GRBGLevelsCustom1() | Gets the WB\_GRBGLevelsCustom1. | | getWB_GRBGLevelsCustom2() | Gets the WB\_GRBGLevelsCustom2. | ##### Cr2WBInfoPackage() ``` public Cr2WBInfoPackage() ``` Initializes a new instance of the Cr2WBInfoPackage class. ##### getWB_GRBGLevelsAuto() ``` public final int[] getWB_GRBGLevelsAuto() ``` Gets the WB\_GRBGLevelsAuto. **Returns:** int[] - The WB\_GRBGLevelsAuto. ##### getWB_GRBGLevelsDaylight() ``` public final int[] getWB_GRBGLevelsDaylight() ``` Gets the WB\_GRBGLevelsDaylight. **Returns:** int[] - The WB\_GRBGLevelsDaylight. ##### getWB_GRBGLevelsCloudy() ``` public final int[] getWB_GRBGLevelsCloudy() ``` Gets the WB\_GRBGLevelsCloudy. **Returns:** int[] - The WB\_GRBGLevelsCloudy. ##### getWB_GRBGLevelsTungsten() ``` public final int[] getWB_GRBGLevelsTungsten() ``` Gets the WB\_GRBGLevelsTungsten. **Returns:** int[] - The WB\_GRBGLevelsTungsten. ##### getWB_GRBGLevelsFluorescent() ``` public final int[] getWB_GRBGLevelsFluorescent() ``` Gets the WB\_GRBGLevelsFluorescent. **Returns:** int[] - The WB\_GRBGLevelsFluorescent. ##### getWB_GRBGLevelsFluorHigh() ``` public final int[] getWB_GRBGLevelsFluorHigh() ``` Gets the WB\_GRBGLevelsFluorHigh. **Returns:** int[] - The WB\_GRBGLevelsFluorHigh. ##### getWB_GRBGLevelsFlash() ``` public final int[] getWB_GRBGLevelsFlash() ``` Gets the WB\_GRBGLevelsFlash. **Returns:** int[] - The WB\_GRBGLevelsFlash. ##### getWB_GRBGLevelsUnderwater() ``` public final int[] getWB_GRBGLevelsUnderwater() ``` Gets the WB\_GRBGLevelsUnderwater. **Returns:** int[] - The WB\_GRBGLevelsUnderwater. ##### getWB_GRBGLevelsCustom1() ``` public final int[] getWB_GRBGLevelsCustom1() ``` Gets the WB\_GRBGLevelsCustom1. **Returns:** int[] - The WB\_GRBGLevelsCustom1. ##### getWB_GRBGLevelsCustom2() ``` public final int[] getWB_GRBGLevelsCustom2() ``` Gets the WB\_GRBGLevelsCustom2. **Returns:** int[] - The WB\_GRBGLevelsCustom2. ### CustomPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/custompackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage ``` public abstract class CustomPackage extends MetadataPackage ``` Provides a container for metadata properties. ### DiagramFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/diagramformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum DiagramFormat extends Enum implements IEnumValue ``` Defines various diagram subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Vdx | Represents the .VDX Visio format. | | Vsd | Represents the .VSD Visio format. | | Vsdx | Represents the .VSDX Visio format. | | Vss | Represents the .VSS Visio format. | | Vsx | Represents the .VSX Visio format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final DiagramFormat Unknown ``` The format is not recognized. ##### Vdx ``` public static final DiagramFormat Vdx ``` Represents the .VDX Visio format. Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vdx/ ##### Vsd ``` public static final DiagramFormat Vsd ``` Represents the .VSD Visio format. VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Such drawings can contain visual objects such as visual objects, flow charts, UML diagram, information flow, organizational charts, software diagrams, network layout, database models, objects mapping and other similar information. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vsd/ ##### Vsdx ``` public static final DiagramFormat Vsdx ``` Represents the .VSDX Visio format. Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vsdx/ ##### Vss ``` public static final DiagramFormat Vss ``` Represents the .VSS Visio format. VSS are stencil files created with Microsoft Visio 2007 and earlier. A relatively new file format is .VSSX that was introduced with Microsoft Visio 2013. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vss/ ##### Vsx ``` public static final DiagramFormat Vsx ``` Represents the .VSX Visio format. Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/vsx/ ##### values() ``` public static DiagramFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.DiagramFormat[] ##### valueOf(String name) ``` public static DiagramFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** DiagramFormat ##### getByRawValue(int rawValue) ``` public static DiagramFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** DiagramFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### DiagramPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/diagrampackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class DiagramPackage extends DocumentPackage ``` Represents a native metadata package in a diagram format. The following code sample demonstrates how to update built-in metadata properties in a diagram document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputVdx)) { > DiagramRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setCreator("test author"); > root.getDocumentProperties().setTimeCreated(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputVdx); > } > > ``` > ``` [Working with metadata in Diagrams]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Diagrams #### Methods | Method | Description | | --- | --- | | getAlternateNames() | Gets the alternate names for the document. | | setAlternateNames(String value) | Sets the alternate names for the document. | | getBuildNumberCreated() | Gets the full build number of the instance used to create the document. | | getBuildNumberEdited() | Gets the build number of the instance last used to edit the document. | | getCategory() | Gets the descriptive text for the type of drawing, such as flowchart or office layout. | | setCategory(String value) | Sets the descriptive text for the type of drawing, such as flowchart or office layout. | | getCompany() | Gets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. | | setCompany(String value) | Sets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. | | getCreator() | Gets the person who created or last updated the file. | | setCreator(String value) | Sets the person who created or last updated the file. | | getDescription() | Gets a descriptive text string for the document. | | setDescription(String value) | Sets a descriptive text string for the document. | | getHyperlinkBase() | Gets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). | | setHyperlinkBase(String value) | Sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). | | getKeywords() | Gets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. | | setKeywords(String value) | Sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. | | getLanguage() | Gets the language of the document. | | setLanguage(String value) | Sets the language of the document. | | getManager() | Gets a user-entered text string identifying the person in charge of the project or department. | | setManager(String value) | Sets a user-entered text string identifying the person in charge of the project or department. | | getPreviewPicture() | Gets the preview picture. | | setPreviewPicture(byte[] value) | Sets the preview picture. | | getSubject() | Gets a user-defined text string that describes the contents of the document. | | setSubject(String value) | Sets a user-defined text string that describes the contents of the document. | | getTemplate() | Gets a string value specifying the file name of the template from which the document was created. | | setTemplate(String value) | Sets a string value specifying the file name of the template from which the document was created. | | getTimeCreated() | Gets a date and time value indicating when the document was created. | | setTimeCreated(Date value) | Sets a date and time value indicating when the document was created. | | getTimeEdited() | Gets a date and time value indicating when the document was last edited. | | getTimePrinted() | Gets a date and time value indicating when the document was last printed. | | getTimeSaved() | Gets a date and time value indicating when the document was last saved. | | getTitle() | Gets a user-defined text string that serves as a descriptive title for the document. | | setTitle(String value) | Sets a user-defined text string that serves as a descriptive title for the document. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | ##### getAlternateNames() ``` public final String getAlternateNames() ``` Gets the alternate names for the document. Can be updated in VDX and VSX formats only. **Returns:** java.lang.String - The alternate names for the document. ##### setAlternateNames(String value) ``` public final void setAlternateNames(String value) ``` Sets the alternate names for the document. Can be updated in VDX and VSX formats only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The alternate names for the document. | ##### getBuildNumberCreated() ``` public final String getBuildNumberCreated() ``` Gets the full build number of the instance used to create the document. **Returns:** java.lang.String - The full build number of the instance used to create the document. ##### getBuildNumberEdited() ``` public final String getBuildNumberEdited() ``` Gets the build number of the instance last used to edit the document. **Returns:** java.lang.String - The build number of the instance last used to edit the document. ##### getCategory() ``` public final String getCategory() ``` Gets the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. **Returns:** java.lang.String - The descriptive text for the type of drawing, such as flowchart or office layout. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The descriptive text for the type of drawing, such as flowchart or office layout. | ##### getCompany() ``` public final String getCompany() ``` Gets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters. **Returns:** java.lang.String - The user-entered information identifying the company creating the drawing or the company the drawing is being created for. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user-entered information identifying the company creating the drawing or the company the drawing is being created for. | ##### getCreator() ``` public final String getCreator() ``` Gets the person who created or last updated the file. The maximum length is 63 characters.. **Returns:** java.lang.String - The person who created or last updated the file. ##### setCreator(String value) ``` public final void setCreator(String value) ``` Sets the person who created or last updated the file. The maximum length is 63 characters.. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The person who created or last updated the file. | ##### getDescription() ``` public final String getDescription() ``` Gets a descriptive text string for the document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters. **Returns:** java.lang.String - A descriptive text string for the document. ##### setDescription(String value) ``` public final void setDescription(String value) ``` Sets a descriptive text string for the document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A descriptive text string for the document. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters. **Returns:** java.lang.String - The path to be used for relative hyperlinks. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The path to be used for relative hyperlinks. | ##### getKeywords() ``` public final String getKeywords() ``` Gets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters. **Returns:** java.lang.String - A text string that identifies topics or other important information about the file, such as project name, client name, or version number. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A text string that identifies topics or other important information about the file, such as project name, client name, or version number. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the document. Can be updated in VSD and VSDX formats only. **Returns:** java.lang.String - The language of the document. ##### setLanguage(String value) ``` public final void setLanguage(String value) ``` Sets the language of the document. Can be updated in VSD and VSDX formats only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The language of the document. | ##### getManager() ``` public final String getManager() ``` Gets a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters. **Returns:** java.lang.String - A user-entered text string identifying the person in charge of the project or department. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A user-entered text string identifying the person in charge of the project or department. | ##### getPreviewPicture() ``` public final byte[] getPreviewPicture() ``` Gets the preview picture. **Returns:** byte[] - The preview picture. ##### setPreviewPicture(byte[] value) ``` public final void setPreviewPicture(byte[] value) ``` Sets the preview picture. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The preview picture. | ##### getSubject() ``` public final String getSubject() ``` Gets a user-defined text string that describes the contents of the document. Maximum length is 63 characters. **Returns:** java.lang.String - A user-defined text string that describes the contents of the document. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets a user-defined text string that describes the contents of the document. Maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A user-defined text string that describes the contents of the document. | ##### getTemplate() ``` public final String getTemplate() ``` Gets a string value specifying the file name of the template from which the document was created. **Returns:** java.lang.String - A string value specifying the file name of the template from which the document was created. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets a string value specifying the file name of the template from which the document was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A string value specifying the file name of the template from which the document was created. | ##### getTimeCreated() ``` public final Date getTimeCreated() ``` Gets a date and time value indicating when the document was created. **Returns:** java.util.Date - A date and time value indicating when the document was created. ##### setTimeCreated(Date value) ``` public final void setTimeCreated(Date value) ``` Sets a date and time value indicating when the document was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | A date and time value indicating when the document was created. | ##### getTimeEdited() ``` public final Date getTimeEdited() ``` Gets a date and time value indicating when the document was last edited. **Returns:** java.util.Date - A date and time value indicating when the document was last edited. ##### getTimePrinted() ``` public final Date getTimePrinted() ``` Gets a date and time value indicating when the document was last printed. **Returns:** java.util.Date - A date and time value indicating when the document was last printed. ##### getTimeSaved() ``` public final Date getTimeSaved() ``` Gets a date and time value indicating when the document was last saved. **Returns:** java.util.Date - A date and time value indicating when the document was last saved. ##### getTitle() ``` public final String getTitle() ``` Gets a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters. **Returns:** java.lang.String - A user-defined text string that serves as a descriptive title for the document. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A user-defined text string that serves as a descriptive title for the document. | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ### DiagramRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/diagramrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class DiagramRootPackage extends DocumentRootPackage ``` Represents the root package intended to work with metadata in a diagram. This code sample demonstrates how to extract built-in metadata properties from a diagram. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputVsdx)) { > DiagramRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getCreator()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getLanguage()); > System.out.println(root.getDocumentProperties().getTimeCreated()); > System.out.println(root.getDocumentProperties().getCategory()); > // ... > } > > ``` > ``` [Working with metadata in Diagrams]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Diagrams #### Methods | Method | Description | | --- | --- | | getDiagramType() | Gets the file type metadata package. | | getDocumentStatistics() | Gets the document statistics package. | ##### getDiagramType() ``` public final DiagramTypePackage getDiagramType() ``` Gets the file type metadata package. **Returns:** DiagramTypePackage - The file type metadata package. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ### DiagramTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/diagramtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class DiagramTypePackage extends FileTypePackage ``` Represents a metadata package containing diagram-specific file format information. #### Methods | Method | Description | | --- | --- | | getDiagramFormat() | Gets the exact diagram format. | ##### getDiagramFormat() ``` public final DiagramFormat getDiagramFormat() ``` Gets the exact diagram format. **Returns:** DiagramFormat - The exact diagram format. ### DicomPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/dicompackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class DicomPackage extends CustomPackage ``` Represents native DICOM metadata. [Working with DICOM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+DICOM+metadata #### Constructors | Constructor | Description | | --- | --- | | DicomPackage() | Initializes a new instance of the Metadata class. | #### Methods | Method | Description | | --- | --- | | getHeaderOffset() | Gets the header offset. | | getHeaderBytes() | Gets the header information by bytes. | | getBitsAllocated() | Gets the bits allocated value. | | getDicomInfo() | Gets the header information of the DICOM file. | | getBlues() | Gets the array colors of the blue. | | getGreens() | Gets the array colors of the green. | | getReds() | Gets the array colors of the red. | | getNumberOfFrames() | Gets the number of frames. | ##### DicomPackage() ``` public DicomPackage() ``` Initializes a new instance of the Metadata class. ##### getHeaderOffset() ``` public final int getHeaderOffset() ``` Gets the header offset. Value: The header offset. **Returns:** int ##### getHeaderBytes() ``` public final Byte[] getHeaderBytes() ``` Gets the header information by bytes. Value: The header bytes. **Returns:** java.lang.Byte[] ##### getBitsAllocated() ``` public final int getBitsAllocated() ``` Gets the bits allocated value. **Returns:** int - The bits allocated. ##### getDicomInfo() ``` public final String[] getDicomInfo() ``` Gets the header information of the DICOM file. **Returns:** java.lang.String[] - The dicom header information. ##### getBlues() ``` public final byte[] getBlues() ``` Gets the array colors of the blue. **Returns:** byte[] - The blue colors. ##### getGreens() ``` public final byte[] getGreens() ``` Gets the array colors of the green. **Returns:** byte[] - The green colors. ##### getReds() ``` public final byte[] getReds() ``` Gets the array colors of the red. **Returns:** byte[] - The red colors. ##### getNumberOfFrames() ``` public final int getNumberOfFrames() ``` Gets the number of frames. **Returns:** int - The number of frames. ### DicomRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/dicomrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class DicomRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a DICOM image. This example demonstrates how to read DICOM format-specific metadata properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDicom)) { > DicomRootPackage root = metadata.getRootPackageGeneric(); > if (root.getDicomPackage() != null) { > System.out.println(root.getDicomPackage().getBitsAllocated()); > System.out.println(root.getDicomPackage().getReds()); > System.out.println(root.getDicomPackage().getGreens()); > System.out.println(root.getDicomPackage().getBlues()); > System.out.println(root.getDicomPackage().getNumberOfFrames()); > // ... > } > } > > ``` > ``` [Working with DICOM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+DICOM+metadata #### Methods | Method | Description | | --- | --- | | getDicomPackage() | Gets the DICOM native metadata package. | ##### getDicomPackage() ``` public final DicomPackage getDicomPackage() ``` Gets the DICOM native metadata package. **Returns:** DicomPackage - The DICOM native metadata package. ### DigitalSignature Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/digitalsignature.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class DigitalSignature extends CustomPackage ``` Represents a digital signature used to sign a document. #### Methods | Method | Description | | --- | --- | | getComments() | Gets the signing purpose comment. | | isValid() | Gets a value indicating whether the signature is valid. | | getSignTime() | Gets the time the document was signed. | | getCertificateSubject() | Gets the subject distinguished name from a certificate. | | getCertificateRawData() | Gets the certificate raw data. | ##### getComments() ``` public final String getComments() ``` Gets the signing purpose comment. **Returns:** java.lang.String - The signing purpose comment. ##### isValid() ``` public Boolean isValid() ``` Gets a value indicating whether the signature is valid. **Returns:** java.lang.Boolean - True if the the signature is valid; otherwise, false. Null indicates that validation is unavailable for the signature. ##### getSignTime() ``` public Date getSignTime() ``` Gets the time the document was signed. **Returns:** java.util.Date - The time the document was signed. ##### getCertificateSubject() ``` public final String getCertificateSubject() ``` Gets the subject distinguished name from a certificate. **Returns:** java.lang.String - The subject distinguished name from a certificate. ##### getCertificateRawData() ``` public final byte[] getCertificateRawData() ``` Gets the certificate raw data. **Returns:** byte[] - The certificate raw data. ### DisposableWrapper Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/disposablewrapper.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IDisposable ``` public abstract class DisposableWrapper implements System.IDisposable ``` #### Methods | Method | Description | | --- | --- | | dispose() | | ##### dispose() ``` public void dispose() ``` ### DjVuRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/djvurootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class DjVuRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in an DjVu image. ### DngPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/dngpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class DngPackage extends CustomPackage ``` Represents native DNG metadata. [Working with DNG metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+DNG+metadata #### Constructors | Constructor | Description | | --- | --- | | DngPackage() | Initializes a new instance of the Metadata class. | #### Methods | Method | Description | | --- | --- | | getCameraManufacturer() | Gets the camera manufacturer. | | getColorsCount() | Gets the colors. | | getDescription() | Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). | | getDngVersion() | Gets the DNG version. | | getFilters() | Gets the Bit mask describing the order of color pixels in the matrix. | | isFoveon() | Gets the is foveon matrix. | | getModel() | Gets the camera model. | | getRawCount() | Gets the number of RAW images in file (0 means that the file has not been recognized). | | getSoftware() | Gets the software. | | getTranslationCfaDng() | Gets the translation array for CFA mosaic DNG format. | | getAperture() | Gets the aperture. | | getArtist() | Gets the author of image. | | getFocalLength() | Gets the length of the focal. | | getGpsData() | Gets the GPS data. | | getIsoSpeed() | Gets the ISO sensitivity. | | getShotOrder() | Gets serial number of image. | | getShutterSpeed() | Gets the shutter speed. | | getTimestamp() | Gets the date of shooting. | ##### DngPackage() ``` public DngPackage() ``` Initializes a new instance of the Metadata class. ##### getCameraManufacturer() ``` public final String getCameraManufacturer() ``` Gets the camera manufacturer. **Returns:** java.lang.String - The make. ##### getColorsCount() ``` public final int getColorsCount() ``` Gets the colors. **Returns:** int - The colors. ##### getDescription() ``` public final String getDescription() ``` Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). **Returns:** java.lang.String - The cdesc. ##### getDngVersion() ``` public final long getDngVersion() ``` Gets the DNG version. **Returns:** long - The DNG version. ##### getFilters() ``` public final long getFilters() ``` Gets the Bit mask describing the order of color pixels in the matrix. **Returns:** long - The filters. ##### isFoveon() ``` public final long isFoveon() ``` Gets the is foveon matrix. **Returns:** long - The is foveon. ##### getModel() ``` public final String getModel() ``` Gets the camera model. **Returns:** java.lang.String - The model. ##### getRawCount() ``` public final long getRawCount() ``` Gets the number of RAW images in file (0 means that the file has not been recognized). **Returns:** long - The raw count. ##### getSoftware() ``` public final String getSoftware() ``` Gets the software. **Returns:** java.lang.String - The software. ##### getTranslationCfaDng() ``` public final String[] getTranslationCfaDng() ``` Gets the translation array for CFA mosaic DNG format. **Returns:** java.lang.String[] - The xtrans. ##### getAperture() ``` public final float getAperture() ``` Gets the aperture. **Returns:** float - The aperture. ##### getArtist() ``` public final String getArtist() ``` Gets the author of image. **Returns:** java.lang.String - The artist. ##### getFocalLength() ``` public final float getFocalLength() ``` Gets the length of the focal. **Returns:** float - The length of the focal. ##### getGpsData() ``` public final long[] getGpsData() ``` Gets the GPS data. **Returns:** long[] - The GPS data. ##### getIsoSpeed() ``` public final float getIsoSpeed() ``` Gets the ISO sensitivity. **Returns:** float - The ISO speed. ##### getShotOrder() ``` public final long getShotOrder() ``` Gets serial number of image. **Returns:** long - The shot order. ##### getShutterSpeed() ``` public final float getShutterSpeed() ``` Gets the shutter speed. **Returns:** float - The shutter. ##### getTimestamp() ``` public final long getTimestamp() ``` Gets the date of shooting. **Returns:** long - The timestamp. ### DngRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/dngrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class DngRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a DNG image. [Working with metadata in DNG images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+DNG+images #### Methods | Method | Description | | --- | --- | | getDngPackage() | Gets the DNG header metadata package. | ##### getDngPackage() ``` public final DngPackage getDngPackage() ``` Gets the DNG header metadata package. **Returns:** DngPackage - The DNG header metadata package. ### DocumentInfo Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/documentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IDocumentInfo ``` public class DocumentInfo implements IDocumentInfo ``` Provides common information about a loaded document. [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info #### Methods | Method | Description | | --- | --- | | getFileType() | Gets the file type of the loaded document. | | getSize() | Gets the size of the loaded document in bytes. | | getPageCount() | Gets the number of pages (slides, worksheets, etc) in the loaded document. | | getPages() | Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). | | isEncrypted() | Gets a value indicating whether the document is encrypted and requires a password to open. | ##### getFileType() ``` public final FileTypePackage getFileType() ``` Gets the file type of the loaded document. **Returns:** FileTypePackage - The file type of the loaded document. ##### getSize() ``` public final long getSize() ``` Gets the size of the loaded document in bytes. **Returns:** long - The size of the loaded document in bytes. ##### getPageCount() ``` public final int getPageCount() ``` Gets the number of pages (slides, worksheets, etc) in the loaded document. **Returns:** int - The number of pages (slides, worksheets, etc) in the loaded document. ##### getPages() ``` public final IReadOnlyList getPages() ``` Gets a collection of objects representing common information about the document pages (slides, worksheets, etc). **Returns:** IReadOnlyList - A collection of objects representing common information about the document pages (slides, worksheets, etc). ##### isEncrypted() ``` public final boolean isEncrypted() ``` Gets a value indicating whether the document is encrypted and requires a password to open. **Returns:** boolean - A value indicating whether the document is encrypted and requires a password to open. ### DocumentPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/documentpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class DocumentPackage extends CustomPackage ``` Represents native metadata in an office document. #### Methods | Method | Description | | --- | --- | | remove(String propertyName) | Removes a writable metadata property by the specified name. | | clear() | Removes all writable metadata properties from the package. | | clearBuiltInProperties() | Removes all built-in metadata properties. | | clearCustomProperties() | Removes all custom metadata properties. | ##### remove(String propertyName) ``` public final boolean remove(String propertyName) ``` Removes a writable metadata property by the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | A metadata property name. | **Returns:** boolean - true if the property is found and deleted; otherwise false . ##### clear() ``` public final void clear() ``` Removes all writable metadata properties from the package. ##### clearBuiltInProperties() ``` public final void clearBuiltInProperties() ``` Removes all built-in metadata properties. ##### clearCustomProperties() ``` public final void clearCustomProperties() ``` Removes all custom metadata properties. ### DocumentProtectedException Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/documentprotectedexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class DocumentProtectedException extends GroupDocsMetadataException ``` The exception that is thrown when document is protected by password. #### Constructors | Constructor | Description | | --- | --- | | DocumentProtectedException() | Initializes a new instance of the DocumentProtectedException class. | ##### DocumentProtectedException() ``` public DocumentProtectedException() ``` Initializes a new instance of the DocumentProtectedException class. ### DocumentRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/documentrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class DocumentRootPackage extends RootMetadataPackage ``` Represents a root package for document formats such as PDF, WordProcessing, Spreadsheet, Presentation, etc. TPackage : The type of the native metadata package. #### Methods | Method | Description | | --- | --- | | getDocumentProperties() | Gets the native metadata properties presented in the document. | ##### getDocumentProperties() ``` public TPackage getDocumentProperties() ``` Gets the native metadata properties presented in the document. **Returns:** TPackage - The document properties. ### DocumentStatistics Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/documentstatistics.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class DocumentStatistics extends CustomPackage ``` Represents a set of document statistics. #### Constructors | Constructor | Description | | --- | --- | | DocumentStatistics() | Initializes a new instance of the DocumentStatistics class. | #### Methods | Method | Description | | --- | --- | | getCharacterCount() | Gets an estimated number of characters in the document. | | getWordCount() | Gets an estimated number of words in the document. | | getPageCount() | Gets an estimated number of pages in the document. | ##### DocumentStatistics() ``` public DocumentStatistics() ``` Initializes a new instance of the DocumentStatistics class. ##### getCharacterCount() ``` public final int getCharacterCount() ``` Gets an estimated number of characters in the document. **Returns:** int - An estimated number of characters in the document. ##### getWordCount() ``` public final int getWordCount() ``` Gets an estimated number of words in the document. **Returns:** int - An estimated number of words in the document. ##### getPageCount() ``` public final int getPageCount() ``` Gets an estimated number of pages in the document. **Returns:** int - An estimated number of pages in the document. ### DublinCorePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/dublincorepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class DublinCorePackage extends CustomPackage ``` Represents a Dublin Core metadata package. #### Methods | Method | Description | | --- | --- | | getContributor() | Gets the contributor Dublin Core element. | | getCoverage() | Gets the coverage Dublin Core element. | | getCreator() | Gets the creator Dublin Core element. | | getDate() | Gets the date Dublin Core element. | | getDescription() | Gets the description Dublin Core element. | | getFormat() | Gets the format Dublin Core element. | | getLanguage() | Gets the language Dublin Core element. | | getPublisher() | Gets the publisher Dublin Core element. | | getRelation() | Gets the relation Dublin Core element. | | getSource() | Gets the source Dublin Core element. | | getSubject() | Gets the subject Dublin Core element. | | getTitle() | Gets the title Dublin Core element. | | getType() | Gets the type Dublin Core element. | | getRights() | Gets the rights Dublin Core element. | | getIdentifier() | Gets the identifier Dublin Core element. | ##### getContributor() ``` public final String getContributor() ``` Gets the contributor Dublin Core element. **Returns:** java.lang.String - An entity responsible for making contributions to the content of the resource. Examples of a Contributor include a person, an organization or a service. ##### getCoverage() ``` public final String getCoverage() ``` Gets the coverage Dublin Core element. **Returns:** java.lang.String - The extent or scope of the content of the resource. Coverage will typically include spatial location (a place name or geographic co-ordinates), temporal period (a period label, date, or date range) or jurisdiction (such as a named administrative entity). ##### getCreator() ``` public final String getCreator() ``` Gets the creator Dublin Core element. **Returns:** java.lang.String - An entity primarily responsible for making the content of the resource. Examples of a Creator include a person, an organization, or a service. ##### getDate() ``` public final String getDate() ``` Gets the date Dublin Core element. **Returns:** java.lang.String - A date associated with an event in the life cycle of the resource. Typically, Date will be associated with the creation or availability of the resource. Recommended best practice for encoding the date value is defined in a profile of ISO 8601 and follows the YYYY-MM-DD format. ##### getDescription() ``` public final String getDescription() ``` Gets the description Dublin Core element. **Returns:** java.lang.String - An account of the content of the resource. Description may include but is not limited to: an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content. ##### getFormat() ``` public final String getFormat() ``` Gets the format Dublin Core element. **Returns:** java.lang.String - The physical or digital manifestation of the resource. Typically, Format may include the media-type or dimensions of the resource. Examples of dimensions include size and duration. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language Dublin Core element. **Returns:** java.lang.String - A language of the intellectual content of the resource. Recommended best practice for the values of the Language element is defined by RFC 3066 which, in conjunction with ISO 639), defines two- and three-letter primary language tags with optional subtags. ##### getPublisher() ``` public final String getPublisher() ``` Gets the publisher Dublin Core element. **Returns:** java.lang.String - The entity responsible for making the resource available. Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity. ##### getRelation() ``` public final String getRelation() ``` Gets the relation Dublin Core element. **Returns:** java.lang.String - A reference to a related resource. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system. ##### getSource() ``` public final String getSource() ``` Gets the source Dublin Core element. **Returns:** java.lang.String - A Reference to a resource from which the present resource is derived. The present resource may be derived from the Source resource in whole or part. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system. ##### getSubject() ``` public final String getSubject() ``` Gets the subject Dublin Core element. **Returns:** java.lang.String - The topic of the content of the resource. Typically, a Subject will be expressed as keywords or key phrases or classification codes that describe the topic of the resource. Recommended best practice is to select a value from a controlled vocabulary or formal classification scheme. ##### getTitle() ``` public final String getTitle() ``` Gets the title Dublin Core element. **Returns:** java.lang.String - The name given to the resource. Typically, a Title will be a name by which the resource is formally known. ##### getType() ``` public final String getType() ``` Gets the type Dublin Core element. **Returns:** java.lang.String - The nature or genre of the content of the resource. Type includes terms describing general categories, functions, genres, or aggregation levels for content. Recommended best practice is to select a value from a controlled vocabulary (for example, the DCMIType vocabulary). ##### getRights() ``` public final String getRights() ``` Gets the rights Dublin Core element. **Returns:** java.lang.String - Information about rights held in and over the resource. Typically a Rights element will contain a rights management statement for the resource, or reference a service providing such information. Rights information often encompasses Intellectual Property Rights (IPR), Copyright, and various Property Rights. If the rights element is absent, no assumptions can be made about the status of these and other rights with respect to the resource. ##### getIdentifier() ``` public final String getIdentifier() ``` Gets the identifier Dublin Core element. **Returns:** java.lang.String - An unambiguous reference to the resource within a given context. Recommended best practice is to identify the resource by means of a string or number conforming to a formal identification system. ### DwgRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/dwgrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.CadRootPackage ``` public class DwgRootPackage extends CadRootPackage ``` Represents the root package allowing working with metadata in a DWG drawing. [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata ### DxfRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/dxfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.CadRootPackage ``` public class DxfRootPackage extends CadRootPackage ``` Represents the root package allowing working with metadata in a DXF drawing. [Working with CAD metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+CAD+metadata ### EmailHeaderPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/emailheaderpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class EmailHeaderPackage extends CustomPackage ``` Represents a metadata package containing email message headers. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | get(String header) | Gets the value of the specified header. | ##### get(String header) ``` public final String get(String header) ``` Gets the value of the specified header. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | header | java.lang.String | An email header. | **Returns:** java.lang.String - The value if the package contains the specified header; otherwise, null. ### EmailPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/emailpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class EmailPackage extends CustomPackage ``` Represents email message metadata. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getAttachedFileNames() | Gets an array of the names of the attached files. | | getSubject() | Gets the email subject. | | setSubject(String value) | Sets the email subject. | | getRecipients() | Gets the array of the email recipients. | | setRecipients(String[] value) | Sets the array of the email recipients. | | getCarbonCopyRecipients() | Gets the array of CC (carbon copy) recipients of the email message. | | setCarbonCopyRecipients(String[] value) | Sets the array of CC (carbon copy) recipients of the email message. | | getBlindCarbonCopyRecipients() | Gets the array of BCC (blind carbon copy) recipients of the email message. | | setBlindCarbonCopyRecipients(String[] value) | Sets the array of BCC (blind carbon copy) recipients of the email message. | | getSender() | Gets the email address of the sender. | | getHeaders() | Gets a metadata package containing the email headers. | ##### getAttachedFileNames() ``` public final String[] getAttachedFileNames() ``` Gets an array of the names of the attached files. **Returns:** java.lang.String[] - An array of the names of the attached files. ##### getSubject() ``` public final String getSubject() ``` Gets the email subject. **Returns:** java.lang.String - The email subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the email subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The email subject. | ##### getRecipients() ``` public final String[] getRecipients() ``` Gets the array of the email recipients. **Returns:** java.lang.String[] - The array of the email recipients. ##### setRecipients(String[] value) ``` public final void setRecipients(String[] value) ``` Sets the array of the email recipients. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The array of the email recipients. | ##### getCarbonCopyRecipients() ``` public final String[] getCarbonCopyRecipients() ``` Gets the array of CC (carbon copy) recipients of the email message. **Returns:** java.lang.String[] - The array of CC (carbon copy) recipients of the email message. ##### setCarbonCopyRecipients(String[] value) ``` public final void setCarbonCopyRecipients(String[] value) ``` Sets the array of CC (carbon copy) recipients of the email message. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The array of CC (carbon copy) recipients of the email message. | ##### getBlindCarbonCopyRecipients() ``` public final String[] getBlindCarbonCopyRecipients() ``` Gets the array of BCC (blind carbon copy) recipients of the email message. **Returns:** java.lang.String[] - The array of BCC (blind carbon copy) recipients of the email message. ##### setBlindCarbonCopyRecipients(String[] value) ``` public final void setBlindCarbonCopyRecipients(String[] value) ``` Sets the array of BCC (blind carbon copy) recipients of the email message. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The array of BCC (blind carbon copy) recipients of the email message. | ##### getSender() ``` public final String getSender() ``` Gets the email address of the sender. **Returns:** java.lang.String - The email address of the sender. ##### getHeaders() ``` public final EmailHeaderPackage getHeaders() ``` Gets a metadata package containing the email headers. **Returns:** EmailHeaderPackage - A metadata package containing the email headers. ### EmailRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/emailrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class EmailRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in an email message. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getEmailPackage() | Gets the email metadata package. | | clearAttachments() | Removes all the attachments form the email message. | ##### getEmailPackage() ``` public final EmailPackage getEmailPackage() ``` Gets the email metadata package. **Returns:** EmailPackage - The email metadata package. ##### clearAttachments() ``` public final void clearAttachments() ``` Removes all the attachments form the email message. ### EmfRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/emfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class EmfRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in an EMF image. ### EmlPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/emlpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.EmailPackage ``` public class EmlPackage extends EmailPackage ``` Represents EML message metadata. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails ### EmlRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/emlrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.EmailRootPackage ``` public class EmlRootPackage extends EmailRootPackage ``` Represents the root package allowing working with metadata in an EML email message. This code sample shows how to extract metadata from an EML message. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputEml)) { > EmlRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getEmailPackage().getSender()); > System.out.println(root.getEmailPackage().getSubject()); > for (String recipient : root.getEmailPackage().getRecipients()) { > System.out.println(recipient); > } > for (String attachedFileName : root.getEmailPackage().getAttachedFileNames()) { > System.out.println(attachedFileName); > } > for (MetadataProperty header : root.getEmailPackage().getHeaders()) { > System.out.println(String.format("%s = %s", header.getName(), header.getValue())); > } > // ... > } > > ``` > ``` [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getEmlPackage() | Gets the EML metadata package. | ##### getEmlPackage() ``` public final EmlPackage getEmlPackage() ``` Gets the EML metadata package. **Returns:** EmlPackage - The EML metadata package. ### EpubPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/epubpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class EpubPackage extends CustomPackage ``` Represents metadata in a EPUB e-book. [Working with metadata in EPUB E-Books]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+EPUB+E-Books #### Methods | Method | Description | | --- | --- | | getImageCover() | Gets the image cover as an array of bytes. | | getVersion() | Gets the EPUB version. | | getUniqueIdentifier() | Gets the package unique identifier. | | getAbstract() | Gets a summary of the resource. | | setAbstract(String value) | Sets a summary of the resource. | | getAccessRights() | Gets the information about who access the resource or an indication of its security status. | | setAccessRights(String value) | Sets the information about who access the resource or an indication of its security status. | | getAccrualMethod() | Gets the method by which items are added to a collection. | | setAccrualMethod(String value) | Sets the method by which items are added to a collection. | | getAccrualPeriodicity() | Gets the frequency with which items are added to a collection. | | setAccrualPeriodicity(String value) | Sets the frequency with which items are added to a collection. | | getAccrualPolicy() | Gets the policy governing the addition of items to a collection. | | setAccrualPolicy(String value) | Sets the policy governing the addition of items to a collection. | | getAlternative() | Gets an alternative name for the resource. | | setAlternative(String value) | Sets an alternative name for the resource. | | getAudience() | Gets a class of agents for whom the resource is intended or useful. | | setAudience(String value) | Sets a class of agents for whom the resource is intended or useful. | | getAvailable() | Gets the date that the resource became or will become available. | | setAvailable(String value) | Sets the date that the resource became or will become available. | | getBibliographicCitation() | Gets a bibliographic reference for the resource. | | setBibliographicCitation(String value) | Sets a bibliographic reference for the resource. | | getConformsTo() | Gets an established standard to which the described resource conforms. | | setConformsTo(String value) | Sets an established standard to which the described resource conforms. | | getContributor() | Gets an entity responsible for making contributions to the resource. | | setContributor(String value) | Sets an entity responsible for making contributions to the resource. | | getCoverage() | Gets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | | setCoverage(String value) | Sets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | | getCreated() | Gets the date of creation of the resource. | | setCreated(String value) | Sets the date of creation of the resource. | | getCreator() | Gets an entity responsible for making the resource. | | setCreator(String value) | Sets an entity responsible for making the resource. | | getDate() | Gets a point or period of time associated with an event in the lifecycle of the resource. | | setDate(String value) | Sets a point or period of time associated with an event in the lifecycle of the resource. | | getDateAccepted() | Gets the date of acceptance of the resource. | | setDateAccepted(String value) | Sets the date of acceptance of the resource. | | getDateCopyrighted() | Gets the date of copyright of the resource. | | setDateCopyrighted(String value) | Sets the date of copyright of the resource. | | getDateSubmitted() | Gets the date of submission of the resource. | | setDateSubmitted(String value) | Sets the date of submission of the resource. | | getDescription() | Gets an account of the resource. | | setDescription(String value) | Sets an account of the resource. | | getEducationLevel() | Gets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | | setEducationLevel(String value) | Sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | | getExtent() | Gets the size or duration of the resource. | | setExtent(String value) | Sets the size or duration of the resource. | | getFormat() | Gets the file format, physical medium, or dimensions of the resource. | | setFormat(String value) | Sets the file format, physical medium, or dimensions of the resource. | | hasFormat() | Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. | | setHasFormat(String value) | Sets a related resource that is substantially the same as the pre-existing described resource, but in another format. | | hasPart() | Gets or sets a related resource that is included either physically or logically in the described resource. | | setPart(String value) | Sets a related resource that is included either physically or logically in the described resource. | | hasVersion() | Gets or sets a related resource that is a version, edition, or adaptation of the described resource. | | setHasVersion(String value) | Sets a related resource that is a version, edition, or adaptation of the described resource. | | getIdentifier() | Gets an unambiguous reference to the resource within a given context. | | setIdentifier(String value) | Sets an unambiguous reference to the resource within a given context. | | getInstructionalMethod() | Gets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | | setInstructionalMethod(String value) | Sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | | isFormatOf() | Gets a pre-existing related resource that is substantially the same as the described resource, but in another format. | | setFormatOf(String value) | Sets a pre-existing related resource that is substantially the same as the described resource, but in another format. | | isPartOf() | Gets a related resource in which the described resource is physically or logically included. | | setPartOf(String value) | Sets a related resource in which the described resource is physically or logically included. | | isReferencedBy() | Gets a related resource that references, cites, or otherwise points to the described resource. | | setReferencedBy(String value) | Sets a related resource that references, cites, or otherwise points to the described resource. | | isReplacedBy() | Gets a related resource that supplants, displaces, or supersedes the described resource. | | setReplacedBy(String value) | Sets a related resource that supplants, displaces, or supersedes the described resource. | | isRequiredBy() | Gets a related resource that requires the described resource to support its function, delivery, or coherence. | | setRequiredBy(String value) | Sets a related resource that requires the described resource to support its function, delivery, or coherence. | | getIssued() | Gets the date of formal issuance of the resource. | | setIssued(String value) | Sets the date of formal issuance of the resource. | | isVersionOf() | Gets a related resource of which the described resource is a version, edition, or adaptation. | | setVersionOf(String value) | Sets a related resource of which the described resource is a version, edition, or adaptation. | | getLanguage() | Gets the language of the resource. | | setLanguage(String value) | Sets the language of the resource. | | getLicense() | Gets a legal document giving official permission to do something with the resource. | | setLicense(String value) | Sets a legal document giving official permission to do something with the resource. | | getMediator() | Gets an entity that mediates access to the resource. | | setMediator(String value) | Sets an entity that mediates access to the resource. | | getMedium() | Gets the material or physical carrier of the resource. | | setMedium(String value) | Sets the material or physical carrier of the resource. | | getModified() | Gets the date on which the resource was changed. | | setModified(String value) | Sets the date on which the resource was changed. | | getProvenance() | Gets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | | setProvenance(String value) | Sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | | getPublisher() | Gets an entity responsible for making the resource available. | | setPublisher(String value) | Sets an entity responsible for making the resource available. | | getReferences() | Gets a related resource that is referenced, cited, or otherwise pointed to by the described resource. | | setReferences(String value) | Sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. | | getRelation() | Gets a related resource. | | setRelation(String value) | Sets a related resource. | | getReplaces() | Gets a related resource that is supplanted, displaced, or superseded by the described resource. | | setReplaces(String value) | Sets a related resource that is supplanted, displaced, or superseded by the described resource. | | getRequires() | Gets a related resource that is required by the described resource to support its function, delivery, or coherence. | | setRequires(String value) | Sets a related resource that is required by the described resource to support its function, delivery, or coherence. | | getRights() | Gets the information about rights held in and over the resource. | | setRights(String value) | Sets the information about rights held in and over the resource. | | getRightsHolder() | Gets a person or organization owning or managing rights over the resource. | | setRightsHolder(String value) | Sets a person or organization owning or managing rights over the resource. | | getSource() | Gets a related resource from which the described resource is derived. | | setSource(String value) | Sets a related resource from which the described resource is derived. | | getSpatial() | Gets the spatial characteristics of the resource. | | setSpatial(String value) | Sets the spatial characteristics of the resource. | | getSubject() | Gets a topic of the resource. | | setSubject(String value) | Sets a topic of the resource. | | getTableOfContents() | Gets a list of subunits of the resource. | | setTableOfContents(String value) | Sets a list of subunits of the resource. | | getTemporal() | Gets the temporal characteristics of the resource. | | setTemporal(String value) | Sets the temporal characteristics of the resource. | | getTitle() | Gets a name given to the resource. | | setTitle(String value) | Sets a name given to the resource. | | getType() | Gets the nature or genre of the resource. | | setType(String value) | Sets the nature or genre of the resource. | | getValid() | Gets the date (often a range) of validity of a resource. | | setValid(String value) | Sets the date (often a range) of validity of a resource. | ##### getImageCover() ``` public final byte[] getImageCover() ``` Gets the image cover as an array of bytes. **Returns:** byte[] - The image cover. ##### getVersion() ``` public final String getVersion() ``` Gets the EPUB version. **Returns:** java.lang.String - The EPUB version. ##### getUniqueIdentifier() ``` public final String getUniqueIdentifier() ``` Gets the package unique identifier. **Returns:** java.lang.String - The package unique identifier. ##### getAbstract() ``` public final String getAbstract() ``` Gets a summary of the resource. **Returns:** java.lang.String - A summary of the resource. ##### setAbstract(String value) ``` public final void setAbstract(String value) ``` Sets a summary of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A summary of the resource. | ##### getAccessRights() ``` public final String getAccessRights() ``` Gets the information about who access the resource or an indication of its security status. **Returns:** java.lang.String - The information about who access the resource or an indication of its security status. ##### setAccessRights(String value) ``` public final void setAccessRights(String value) ``` Sets the information about who access the resource or an indication of its security status. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about who access the resource or an indication of its security status. | ##### getAccrualMethod() ``` public final String getAccrualMethod() ``` Gets the method by which items are added to a collection. **Returns:** java.lang.String - The method by which items are added to a collection. ##### setAccrualMethod(String value) ``` public final void setAccrualMethod(String value) ``` Sets the method by which items are added to a collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The method by which items are added to a collection. | ##### getAccrualPeriodicity() ``` public final String getAccrualPeriodicity() ``` Gets the frequency with which items are added to a collection. **Returns:** java.lang.String - The frequency with which items are added to a collection. ##### setAccrualPeriodicity(String value) ``` public final void setAccrualPeriodicity(String value) ``` Sets the frequency with which items are added to a collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The frequency with which items are added to a collection. | ##### getAccrualPolicy() ``` public final String getAccrualPolicy() ``` Gets the policy governing the addition of items to a collection. **Returns:** java.lang.String - The policy governing the addition of items to a collection. ##### setAccrualPolicy(String value) ``` public final void setAccrualPolicy(String value) ``` Sets the policy governing the addition of items to a collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The policy governing the addition of items to a collection. | ##### getAlternative() ``` public final String getAlternative() ``` Gets an alternative name for the resource. **Returns:** java.lang.String - An alternative name for the resource. ##### setAlternative(String value) ``` public final void setAlternative(String value) ``` Sets an alternative name for the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An alternative name for the resource. | ##### getAudience() ``` public final String getAudience() ``` Gets a class of agents for whom the resource is intended or useful. **Returns:** java.lang.String - A class of agents for whom the resource is intended or useful. ##### setAudience(String value) ``` public final void setAudience(String value) ``` Sets a class of agents for whom the resource is intended or useful. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A class of agents for whom the resource is intended or useful. | ##### getAvailable() ``` public final String getAvailable() ``` Gets the date that the resource became or will become available. **Returns:** java.lang.String - The date that the resource became or will become available. ##### setAvailable(String value) ``` public final void setAvailable(String value) ``` Sets the date that the resource became or will become available. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date that the resource became or will become available. | ##### getBibliographicCitation() ``` public final String getBibliographicCitation() ``` Gets a bibliographic reference for the resource. **Returns:** java.lang.String - A bibliographic reference for the resource. ##### setBibliographicCitation(String value) ``` public final void setBibliographicCitation(String value) ``` Sets a bibliographic reference for the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A bibliographic reference for the resource. | ##### getConformsTo() ``` public final String getConformsTo() ``` Gets an established standard to which the described resource conforms. **Returns:** java.lang.String - An established standard to which the described resource conforms. ##### setConformsTo(String value) ``` public final void setConformsTo(String value) ``` Sets an established standard to which the described resource conforms. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An established standard to which the described resource conforms. | ##### getContributor() ``` public final String getContributor() ``` Gets an entity responsible for making contributions to the resource. **Returns:** java.lang.String - An entity responsible for making contributions to the resource. ##### setContributor(String value) ``` public final void setContributor(String value) ``` Sets an entity responsible for making contributions to the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity responsible for making contributions to the resource. | ##### getCoverage() ``` public final String getCoverage() ``` Gets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. **Returns:** java.lang.String - The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. ##### setCoverage(String value) ``` public final void setCoverage(String value) ``` Sets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | ##### getCreated() ``` public final String getCreated() ``` Gets the date of creation of the resource. **Returns:** java.lang.String - The date of creation of the resource. ##### setCreated(String value) ``` public final void setCreated(String value) ``` Sets the date of creation of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of creation of the resource. | ##### getCreator() ``` public final String getCreator() ``` Gets an entity responsible for making the resource. **Returns:** java.lang.String - An entity responsible for making the resource. ##### setCreator(String value) ``` public final void setCreator(String value) ``` Sets an entity responsible for making the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity responsible for making the resource. | ##### getDate() ``` public final String getDate() ``` Gets a point or period of time associated with an event in the lifecycle of the resource. **Returns:** java.lang.String - A point or period of time associated with an event in the lifecycle of the resource. ##### setDate(String value) ``` public final void setDate(String value) ``` Sets a point or period of time associated with an event in the lifecycle of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A point or period of time associated with an event in the lifecycle of the resource. | ##### getDateAccepted() ``` public final String getDateAccepted() ``` Gets the date of acceptance of the resource. **Returns:** java.lang.String - The date of acceptance of the resource. ##### setDateAccepted(String value) ``` public final void setDateAccepted(String value) ``` Sets the date of acceptance of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of acceptance of the resource. | ##### getDateCopyrighted() ``` public final String getDateCopyrighted() ``` Gets the date of copyright of the resource. **Returns:** java.lang.String - The date of copyright of the resource. ##### setDateCopyrighted(String value) ``` public final void setDateCopyrighted(String value) ``` Sets the date of copyright of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of copyright of the resource. | ##### getDateSubmitted() ``` public final String getDateSubmitted() ``` Gets the date of submission of the resource. **Returns:** java.lang.String - The date of submission of the resource. ##### setDateSubmitted(String value) ``` public final void setDateSubmitted(String value) ``` Sets the date of submission of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of submission of the resource. | ##### getDescription() ``` public final String getDescription() ``` Gets an account of the resource. **Returns:** java.lang.String - An account of the resource. ##### setDescription(String value) ``` public final void setDescription(String value) ``` Sets an account of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An account of the resource. | ##### getEducationLevel() ``` public final String getEducationLevel() ``` Gets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. **Returns:** java.lang.String - A class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. ##### setEducationLevel(String value) ``` public final void setEducationLevel(String value) ``` Sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | ##### getExtent() ``` public final String getExtent() ``` Gets the size or duration of the resource. **Returns:** java.lang.String - The size or duration of the resource. ##### setExtent(String value) ``` public final void setExtent(String value) ``` Sets the size or duration of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The size or duration of the resource. | ##### getFormat() ``` public final String getFormat() ``` Gets the file format, physical medium, or dimensions of the resource. **Returns:** java.lang.String - The file format, physical medium, or dimensions of the resource. ##### setFormat(String value) ``` public final void setFormat(String value) ``` Sets the file format, physical medium, or dimensions of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The file format, physical medium, or dimensions of the resource. | ##### hasFormat() ``` public final String hasFormat() ``` Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. **Returns:** java.lang.String - A related resource that is substantially the same as the pre-existing described resource, but in another format. ##### setHasFormat(String value) ``` public final void setHasFormat(String value) ``` Sets a related resource that is substantially the same as the pre-existing described resource, but in another format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is substantially the same as the pre-existing described resource, but in another format. | ##### hasPart() ``` public final String hasPart() ``` Gets or sets a related resource that is included either physically or logically in the described resource. **Returns:** java.lang.String - A related resource that is included either physically or logically in the described resource. ##### setPart(String value) ``` public final void setPart(String value) ``` Sets a related resource that is included either physically or logically in the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is included either physically or logically in the described resource. | ##### hasVersion() ``` public final String hasVersion() ``` Gets or sets a related resource that is a version, edition, or adaptation of the described resource. **Returns:** java.lang.String - A related resource that is a version, edition, or adaptation of the described resource. ##### setHasVersion(String value) ``` public final void setHasVersion(String value) ``` Sets a related resource that is a version, edition, or adaptation of the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is a version, edition, or adaptation of the described resource. | ##### getIdentifier() ``` public final String getIdentifier() ``` Gets an unambiguous reference to the resource within a given context. **Returns:** java.lang.String - An unambiguous reference to the resource within a given context. ##### setIdentifier(String value) ``` public final void setIdentifier(String value) ``` Sets an unambiguous reference to the resource within a given context. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An unambiguous reference to the resource within a given context. | ##### getInstructionalMethod() ``` public final String getInstructionalMethod() ``` Gets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. **Returns:** java.lang.String - A process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. ##### setInstructionalMethod(String value) ``` public final void setInstructionalMethod(String value) ``` Sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | ##### isFormatOf() ``` public final String isFormatOf() ``` Gets a pre-existing related resource that is substantially the same as the described resource, but in another format. **Returns:** java.lang.String - A pre-existing related resource that is substantially the same as the described resource, but in another format. ##### setFormatOf(String value) ``` public final void setFormatOf(String value) ``` Sets a pre-existing related resource that is substantially the same as the described resource, but in another format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A pre-existing related resource that is substantially the same as the described resource, but in another format. | ##### isPartOf() ``` public final String isPartOf() ``` Gets a related resource in which the described resource is physically or logically included. **Returns:** java.lang.String - A related resource in which the described resource is physically or logically included. ##### setPartOf(String value) ``` public final void setPartOf(String value) ``` Sets a related resource in which the described resource is physically or logically included. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource in which the described resource is physically or logically included. | ##### isReferencedBy() ``` public final String isReferencedBy() ``` Gets a related resource that references, cites, or otherwise points to the described resource. **Returns:** java.lang.String - A related resource that references, cites, or otherwise points to the described resource. ##### setReferencedBy(String value) ``` public final void setReferencedBy(String value) ``` Sets a related resource that references, cites, or otherwise points to the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that references, cites, or otherwise points to the described resource. | ##### isReplacedBy() ``` public final String isReplacedBy() ``` Gets a related resource that supplants, displaces, or supersedes the described resource. **Returns:** java.lang.String - A related resource that supplants, displaces, or supersedes the described resource. ##### setReplacedBy(String value) ``` public final void setReplacedBy(String value) ``` Sets a related resource that supplants, displaces, or supersedes the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that supplants, displaces, or supersedes the described resource. | ##### isRequiredBy() ``` public final String isRequiredBy() ``` Gets a related resource that requires the described resource to support its function, delivery, or coherence. **Returns:** java.lang.String - A related resource that requires the described resource to support its function, delivery, or coherence. ##### setRequiredBy(String value) ``` public final void setRequiredBy(String value) ``` Sets a related resource that requires the described resource to support its function, delivery, or coherence. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that requires the described resource to support its function, delivery, or coherence. | ##### getIssued() ``` public final String getIssued() ``` Gets the date of formal issuance of the resource. **Returns:** java.lang.String - The date of formal issuance of the resource. ##### setIssued(String value) ``` public final void setIssued(String value) ``` Sets the date of formal issuance of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date of formal issuance of the resource. | ##### isVersionOf() ``` public final String isVersionOf() ``` Gets a related resource of which the described resource is a version, edition, or adaptation. **Returns:** java.lang.String - A related resource of which the described resource is a version, edition, or adaptation. ##### setVersionOf(String value) ``` public final void setVersionOf(String value) ``` Sets a related resource of which the described resource is a version, edition, or adaptation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource of which the described resource is a version, edition, or adaptation. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the resource. **Returns:** java.lang.String - The language of the resource. ##### setLanguage(String value) ``` public final void setLanguage(String value) ``` Sets the language of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The language of the resource. | ##### getLicense() ``` public final String getLicense() ``` Gets a legal document giving official permission to do something with the resource. **Returns:** java.lang.String - A legal document giving official permission to do something with the resource. ##### setLicense(String value) ``` public final void setLicense(String value) ``` Sets a legal document giving official permission to do something with the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A legal document giving official permission to do something with the resource. | ##### getMediator() ``` public final String getMediator() ``` Gets an entity that mediates access to the resource. **Returns:** java.lang.String - An entity that mediates access to the resource. ##### setMediator(String value) ``` public final void setMediator(String value) ``` Sets an entity that mediates access to the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity that mediates access to the resource. | ##### getMedium() ``` public final String getMedium() ``` Gets the material or physical carrier of the resource. **Returns:** java.lang.String - The material or physical carrier of the resource. ##### setMedium(String value) ``` public final void setMedium(String value) ``` Sets the material or physical carrier of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The material or physical carrier of the resource. | ##### getModified() ``` public final String getModified() ``` Gets the date on which the resource was changed. **Returns:** java.lang.String - The date on which the resource was changed. ##### setModified(String value) ``` public final void setModified(String value) ``` Sets the date on which the resource was changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date on which the resource was changed. | ##### getProvenance() ``` public final String getProvenance() ``` Gets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. **Returns:** java.lang.String - A statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. ##### setProvenance(String value) ``` public final void setProvenance(String value) ``` Sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | ##### getPublisher() ``` public final String getPublisher() ``` Gets an entity responsible for making the resource available. **Returns:** java.lang.String - An entity responsible for making the resource available. ##### setPublisher(String value) ``` public final void setPublisher(String value) ``` Sets an entity responsible for making the resource available. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | An entity responsible for making the resource available. | ##### getReferences() ``` public final String getReferences() ``` Gets a related resource that is referenced, cited, or otherwise pointed to by the described resource. **Returns:** java.lang.String - A related resource that is referenced, cited, or otherwise pointed to by the described resource. ##### setReferences(String value) ``` public final void setReferences(String value) ``` Sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is referenced, cited, or otherwise pointed to by the described resource. | ##### getRelation() ``` public final String getRelation() ``` Gets a related resource. **Returns:** java.lang.String - A related resource. ##### setRelation(String value) ``` public final void setRelation(String value) ``` Sets a related resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource. | ##### getReplaces() ``` public final String getReplaces() ``` Gets a related resource that is supplanted, displaced, or superseded by the described resource. **Returns:** java.lang.String - A related resource that is supplanted, displaced, or superseded by the described resource. ##### setReplaces(String value) ``` public final void setReplaces(String value) ``` Sets a related resource that is supplanted, displaced, or superseded by the described resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is supplanted, displaced, or superseded by the described resource. | ##### getRequires() ``` public final String getRequires() ``` Gets a related resource that is required by the described resource to support its function, delivery, or coherence. **Returns:** java.lang.String - A related resource that is required by the described resource to support its function, delivery, or coherence. ##### setRequires(String value) ``` public final void setRequires(String value) ``` Sets a related resource that is required by the described resource to support its function, delivery, or coherence. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource that is required by the described resource to support its function, delivery, or coherence. | ##### getRights() ``` public final String getRights() ``` Gets the information about rights held in and over the resource. **Returns:** java.lang.String - The information about rights held in and over the resource. ##### setRights(String value) ``` public final void setRights(String value) ``` Sets the information about rights held in and over the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about rights held in and over the resource. | ##### getRightsHolder() ``` public final String getRightsHolder() ``` Gets a person or organization owning or managing rights over the resource. **Returns:** java.lang.String - A person or organization owning or managing rights over the resource. ##### setRightsHolder(String value) ``` public final void setRightsHolder(String value) ``` Sets a person or organization owning or managing rights over the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A person or organization owning or managing rights over the resource. | ##### getSource() ``` public final String getSource() ``` Gets a related resource from which the described resource is derived. **Returns:** java.lang.String - A related resource from which the described resource is derived. ##### setSource(String value) ``` public final void setSource(String value) ``` Sets a related resource from which the described resource is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A related resource from which the described resource is derived. | ##### getSpatial() ``` public final String getSpatial() ``` Gets the spatial characteristics of the resource. **Returns:** java.lang.String - The spatial characteristics of the resource. ##### setSpatial(String value) ``` public final void setSpatial(String value) ``` Sets the spatial characteristics of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The spatial characteristics of the resource. | ##### getSubject() ``` public final String getSubject() ``` Gets a topic of the resource. **Returns:** java.lang.String - A topic of the resource. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets a topic of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A topic of the resource. | ##### getTableOfContents() ``` public final String getTableOfContents() ``` Gets a list of subunits of the resource. **Returns:** java.lang.String - A list of subunits of the resource. ##### setTableOfContents(String value) ``` public final void setTableOfContents(String value) ``` Sets a list of subunits of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A list of subunits of the resource. | ##### getTemporal() ``` public final String getTemporal() ``` Gets the temporal characteristics of the resource. **Returns:** java.lang.String - The temporal characteristics of the resource. ##### setTemporal(String value) ``` public final void setTemporal(String value) ``` Sets the temporal characteristics of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The temporal characteristics of the resource. | ##### getTitle() ``` public final String getTitle() ``` Gets a name given to the resource. **Returns:** java.lang.String - A name given to the resource. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets a name given to the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A name given to the resource. | ##### getType() ``` public final String getType() ``` Gets the nature or genre of the resource. **Returns:** java.lang.String - The nature or genre of the resource. ##### setType(String value) ``` public final void setType(String value) ``` Sets the nature or genre of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The nature or genre of the resource. | ##### getValid() ``` public final String getValid() ``` Gets the date (often a range) of validity of a resource. **Returns:** java.lang.String - The date (often a range) of validity of a resource. ##### setValid(String value) ``` public final void setValid(String value) ``` Sets the date (often a range) of validity of a resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date (often a range) of validity of a resource. | ### EpubRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/epubrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IDublinCore ``` public class EpubRootPackage extends RootMetadataPackage implements IDublinCore ``` Represents the root package allowing working with metadata in an EPUB e-book. This code sample shows how to read EPUB format-specific metadata properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputEpub)) { > EpubRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getEpubPackage().getVersion()); > System.out.println(root.getEpubPackage().getUniqueIdentifier()); > System.out.println(root.getEpubPackage().getImageCover() != null ? root.getEpubPackage().getImageCover().length : 0); > } > > ``` > ``` [Working with metadata in EPUB E-Books]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+EPUB+E-Books #### Methods | Method | Description | | --- | --- | | getEpubPackage() | Gets the EPUB metadata package. | | getDublinCorePackage() | Gets the Dublin Core metadata package extracted from the e-book. | ##### getEpubPackage() ``` public final EpubPackage getEpubPackage() ``` Gets the EPUB metadata package. **Returns:** EpubPackage - The EPUB metadata package. ##### getDublinCorePackage() ``` public final DublinCorePackage getDublinCorePackage() ``` Gets the Dublin Core metadata package extracted from the e-book. **Returns:** DublinCorePackage - The Dublin Core metadata package extracted from the e-book. ### ExifDictionaryBasePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/exifdictionarybasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class ExifDictionaryBasePackage extends CustomPackage ``` Provides an abstract base class for EXIF metadata dictionaries. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Methods | Method | Description | | --- | --- | | toList() | Creates a list from the package. | | getByTiffTagID(TiffTagID tagId) | Gets the TIFF tag with the specified id. | | remove(TiffTagID tagId) | Removes the property with the specified id. | | set(TiffTag tag) | Adds or replaces the specified tag. | | clear() | Removes all TIFF tags stored in the package. | ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all TIFF tags from the package. ##### getByTiffTagID(TiffTagID tagId) ``` public final TiffTag getByTiffTagID(TiffTagID tagId) ``` Gets the TIFF tag with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | TiffTagID | The id of the tag to retrieve. | **Returns:** TiffTag - The TiffTag with the specified tag id. ##### remove(TiffTagID tagId) ``` public final boolean remove(TiffTagID tagId) ``` Removes the property with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | TiffTagID | A TIFF tag id. | **Returns:** boolean - True if the specified TIFF tag is found and removed; otherwise, false. ##### set(TiffTag tag) ``` public final void set(TiffTag tag) ``` Adds or replaces the specified tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tag | TiffTag | The tag to set. | ##### clear() ``` public final void clear() ``` Removes all TIFF tags stored in the package. ### ExifGpsAltitudeRef Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/exifgpsaltituderef.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ExifGpsAltitudeRef extends Enum implements IEnumValue ``` Represents a GPS altitude reference. #### Fields | Field | Description | | --- | --- | | AboveSeaLevel | Above sea level. | | BelowSeaLevel | Below sea level. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### AboveSeaLevel ``` public static final ExifGpsAltitudeRef AboveSeaLevel ``` Above sea level. ##### BelowSeaLevel ``` public static final ExifGpsAltitudeRef BelowSeaLevel ``` Below sea level. ##### values() ``` public static ExifGpsAltitudeRef[] values() ``` **Returns:** com.groupdocs.metadata.core.ExifGpsAltitudeRef[] ##### valueOf(String name) ``` public static ExifGpsAltitudeRef valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ExifGpsAltitudeRef ##### getByRawValue(int rawValue) ``` public static ExifGpsAltitudeRef getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ExifGpsAltitudeRef ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ExifGpsPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/exifgpspackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public final class ExifGpsPackage extends ExifDictionaryBasePackage ``` Represents GPS metadata in an EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Constructors | Constructor | Description | | --- | --- | | ExifGpsPackage() | Initializes a new instance of the ExifGpsPackage class. | #### Methods | Method | Description | | --- | --- | | getAltitude() | Gets the altitude based on the reference in AltitudeRef . | | setAltitude(TiffRational value) | Sets the altitude based on the reference in AltitudeRef . | | getAltitudeRef() | Gets the altitude used as the reference altitude. | | setAltitudeRef(ExifGpsAltitudeRef value) | Sets the altitude used as the reference altitude. | | getAreaInformation() | Gets the character string recording the name of the GPS area. | | setAreaInformation(byte[] value) | Sets the character string recording the name of the GPS area. | | getDateStamp() | Gets the character string recording date and time information relative to UTC (Coordinated Universal Time). | | setDateStamp(String value) | Sets the character string recording date and time information relative to UTC (Coordinated Universal Time). | | getDestBearing() | Gets the GPS bearing to the destination point. | | setDestBearing(TiffRational value) | Sets the GPS bearing to the destination point. | | getDestBearingRef() | Gets the GPS reference used for giving the bearing to the destination point. | | setDestBearingRef(String value) | Sets the GPS reference used for giving the bearing to the destination point. | | getDestDistance() | Gets the GPS distance to the destination point. | | setDestDistance(TiffRational value) | Sets the GPS distance to the destination point. | | getDestDistanceRef() | Gets the GPS unit used to express the distance to the destination point. | | setDestDistanceRef(String value) | Sets the GPS unit used to express the distance to the destination point. | | getDestLatitude() | Gets the GPS latitude of the destination point. | | setDestLatitude(TiffRational[] value) | Sets the GPS latitude of the destination point. | | getDestLatitudeRef() | Gets the GPS value which indicates whether the latitude of the destination point is north or south latitude. | | setDestLatitudeRef(String value) | Sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. | | getDestLongitude() | Gets the GPS longitude of the destination point. | | setDestLongitude(TiffRational[] value) | Sets the GPS longitude of the destination point. | | getDestLongitudeRef() | Gets the GPS value which indicates whether the longitude of the destination point is east or west longitude. | | setDestLongitudeRef(String value) | Sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. | | getDifferential() | Gets a GPS value which indicates whether differential correction is applied to the GPS receiver. | | setDifferential(Integer value) | Sets a GPS value which indicates whether differential correction is applied to the GPS receiver. | | getDataDegreeOfPrecision() | Gets the GPS DOP (data degree of precision). | | setDataDegreeOfPrecision(TiffRational value) | Sets the GPS DOP (data degree of precision). | | getImgDirection() | Gets the GPS direction of the image when it was captured. | | setImgDirection(TiffRational value) | Sets the GPS direction of the image when it was captured. | | getImgDirectionRef() | Gets the GPS reference for giving the direction of the image when it is captured. | | setImgDirectionRef(String value) | Sets the GPS reference for giving the direction of the image when it is captured. | | getLatitude() | Gets the GPS latitude. | | setLatitude(TiffRational[] value) | Sets the GPS latitude. | | getLatitudeRef() | Gets a GPS value indicating whether the latitude is north or south latitude. | | setLatitudeRef(String value) | Sets a GPS value indicating whether the latitude is north or south latitude. | | getLongitude() | Gets the GPS longitude. | | setLongitude(TiffRational[] value) | Sets the GPS longitude. | | getLongitudeRef() | Gets a GPS value indicating whether the longitude is east or west longitude. | | setLongitudeRef(String value) | Sets a GPS value indicating whether the longitude is east or west longitude. | | getMapDatum() | Gets the geodetic survey data used by the GPS receiver. | | setMapDatum(String value) | Sets the geodetic survey data used by the GPS receiver. | | getMeasureMode() | Gets the GPS measurement mode. | | setMeasureMode(String value) | Sets the GPS measurement mode. | | getProcessingMethod() | Gets a character string recording the name of the method used for location finding. | | setProcessingMethod(byte[] value) | Sets a character string recording the name of the method used for location finding. | | getSatellites() | Gets the GPS satellites used for measurements. | | setSatellites(String value) | Sets the GPS satellites used for measurements. | | getSpeed() | Gets the speed of GPS receiver movement. | | setSpeed(TiffRational value) | Sets the speed of GPS receiver movement. | | getSpeedRef() | Gets the unit used to express the GPS receiver speed of movement. | | setSpeedRef(String value) | Sets the unit used to express the GPS receiver speed of movement. | | getStatus() | Gets the status of the GPS receiver when the image is recorded. | | setStatus(String value) | Sets the status of the GPS receiver when the image is recorded. | | getTimeStamp() | Gets the time as UTC (Coordinated Universal Time). | | setTimeStamp(TiffRational[] value) | Sets the time as UTC (Coordinated Universal Time). | | getGpsTrack() | Gets the direction of GPS receiver movement. | | setGpsTrack(TiffRational value) | Sets the direction of GPS receiver movement. | | getTrackRef() | Gets the reference for giving the direction of GPS receiver movement. | | setTrackRef(String value) | Sets the reference for giving the direction of GPS receiver movement. | | getVersionID() | Gets the version of GPS IFD. | | setVersionID(byte[] value) | Sets the version of GPS IFD. | ##### ExifGpsPackage() ``` public ExifGpsPackage() ``` Initializes a new instance of the ExifGpsPackage class. ##### getAltitude() ``` public final TiffRational getAltitude() ``` Gets the altitude based on the reference in AltitudeRef . The reference unit is meters. **Returns:** TiffRational - The altitude based on the reference in AltitudeRef . ##### setAltitude(TiffRational value) ``` public final void setAltitude(TiffRational value) ``` Sets the altitude based on the reference in AltitudeRef . The reference unit is meters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The altitude based on the reference in AltitudeRef . | ##### getAltitudeRef() ``` public final ExifGpsAltitudeRef getAltitudeRef() ``` Gets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the Altitude tag. **Returns:** ExifGpsAltitudeRef - The altitude used as the reference altitude ##### setAltitudeRef(ExifGpsAltitudeRef value) ``` public final void setAltitudeRef(ExifGpsAltitudeRef value) ``` Sets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the Altitude tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifGpsAltitudeRef | The altitude used as the reference altitude | ##### getAreaInformation() ``` public final byte[] getAreaInformation() ``` Gets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. **Returns:** byte[] - The character string recording the name of the GPS area. ##### setAreaInformation(byte[] value) ``` public final void setAreaInformation(byte[] value) ``` Sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The character string recording the name of the GPS area. | ##### getDateStamp() ``` public final String getDateStamp() ``` Gets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. **Returns:** java.lang.String - The character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. ##### setDateStamp(String value) ``` public final void setDateStamp(String value) ``` Sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. | ##### getDestBearing() ``` public final TiffRational getDestBearing() ``` Gets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99. **Returns:** TiffRational - The bearing to the destination point. ##### setDestBearing(TiffRational value) ``` public final void setDestBearing(TiffRational value) ``` Sets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The bearing to the destination point. | ##### getDestBearingRef() ``` public final String getDestBearingRef() ``` Gets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction. **Returns:** java.lang.String - The GPS reference used for giving the bearing to the destination point. ##### setDestBearingRef(String value) ``` public final void setDestBearingRef(String value) ``` Sets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS reference used for giving the bearing to the destination point. | ##### getDestDistance() ``` public final TiffRational getDestDistance() ``` Gets the GPS distance to the destination point. **Returns:** TiffRational - The distance to the destination point. ##### setDestDistance(TiffRational value) ``` public final void setDestDistance(TiffRational value) ``` Sets the GPS distance to the destination point. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The distance to the destination point. | ##### getDestDistanceRef() ``` public final String getDestDistanceRef() ``` Gets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots. **Returns:** java.lang.String - The GPS unit used to express the distance to the destination point. ##### setDestDistanceRef(String value) ``` public final void setDestDistanceRef(String value) ``` Sets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS unit used to express the distance to the destination point. | ##### getDestLatitude() ``` public final TiffRational[] getDestLatitude() ``` Gets the GPS latitude of the destination point. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The latitude of the destination point. ##### setDestLatitude(TiffRational[] value) ``` public final void setDestLatitude(TiffRational[] value) ``` Sets the GPS latitude of the destination point. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The latitude of the destination point. | ##### getDestLatitudeRef() ``` public final String getDestLatitudeRef() ``` Gets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. **Returns:** java.lang.String - The GPS value which indicates whether the latitude of the destination point is north or south latitude. ##### setDestLatitudeRef(String value) ``` public final void setDestLatitudeRef(String value) ``` Sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS value which indicates whether the latitude of the destination point is north or south latitude. | ##### getDestLongitude() ``` public final TiffRational[] getDestLongitude() ``` Gets the GPS longitude of the destination point. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The GPS longitude of the destination point. ##### setDestLongitude(TiffRational[] value) ``` public final void setDestLongitude(TiffRational[] value) ``` Sets the GPS longitude of the destination point. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The GPS longitude of the destination point. | ##### getDestLongitudeRef() ``` public final String getDestLongitudeRef() ``` Gets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude. **Returns:** java.lang.String - The GPS value which indicates whether the longitude of the destination point is east or west longitude. ##### setDestLongitudeRef(String value) ``` public final void setDestLongitudeRef(String value) ``` Sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS value which indicates whether the longitude of the destination point is east or west longitude. | ##### getDifferential() ``` public final Integer getDifferential() ``` Gets a GPS value which indicates whether differential correction is applied to the GPS receiver. **Returns:** java.lang.Integer - A GPS value which indicates whether differential correction is applied to the GPS receiver. ##### setDifferential(Integer value) ``` public final void setDifferential(Integer value) ``` Sets a GPS value which indicates whether differential correction is applied to the GPS receiver. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | A GPS value which indicates whether differential correction is applied to the GPS receiver. | ##### getDataDegreeOfPrecision() ``` public final TiffRational getDataDegreeOfPrecision() ``` Gets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. **Returns:** TiffRational - The data degree of precision. ##### setDataDegreeOfPrecision(TiffRational value) ``` public final void setDataDegreeOfPrecision(TiffRational value) ``` Sets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The data degree of precision. | ##### getImgDirection() ``` public final TiffRational getImgDirection() ``` Gets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99. **Returns:** TiffRational - The GPS direction of the image when it was captured. ##### setImgDirection(TiffRational value) ``` public final void setImgDirection(TiffRational value) ``` Sets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The GPS direction of the image when it was captured. | ##### getImgDirectionRef() ``` public final String getImgDirectionRef() ``` Gets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction. **Returns:** java.lang.String - The GPS reference for giving the direction of the image when it is captured. ##### setImgDirectionRef(String value) ``` public final void setImgDirectionRef(String value) ``` Sets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS reference for giving the direction of the image when it is captured. | ##### getLatitude() ``` public final TiffRational[] getLatitude() ``` Gets the GPS latitude. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The latitude. ##### setLatitude(TiffRational[] value) ``` public final void setLatitude(TiffRational[] value) ``` Sets the GPS latitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The latitude. | ##### getLatitudeRef() ``` public final String getLatitudeRef() ``` Gets a GPS value indicating whether the latitude is north or south latitude. **Returns:** java.lang.String - A GPS value indicating whether the latitude is north or south latitude. ##### setLatitudeRef(String value) ``` public final void setLatitudeRef(String value) ``` Sets a GPS value indicating whether the latitude is north or south latitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A GPS value indicating whether the latitude is north or south latitude. | ##### getLongitude() ``` public final TiffRational[] getLongitude() ``` Gets the GPS longitude. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The longitude. ##### setLongitude(TiffRational[] value) ``` public final void setLongitude(TiffRational[] value) ``` Sets the GPS longitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The longitude. | ##### getLongitudeRef() ``` public final String getLongitudeRef() ``` Gets a GPS value indicating whether the longitude is east or west longitude. **Returns:** java.lang.String - A GPS value indicating whether the longitude is east or west longitude. ##### setLongitudeRef(String value) ``` public final void setLongitudeRef(String value) ``` Sets a GPS value indicating whether the longitude is east or west longitude. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A GPS value indicating whether the longitude is east or west longitude. | ##### getMapDatum() ``` public final String getMapDatum() ``` Gets the geodetic survey data used by the GPS receiver. **Returns:** java.lang.String - The geodetic survey data used by the GPS receiver. ##### setMapDatum(String value) ``` public final void setMapDatum(String value) ``` Sets the geodetic survey data used by the GPS receiver. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The geodetic survey data used by the GPS receiver. | ##### getMeasureMode() ``` public final String getMeasureMode() ``` Gets the GPS measurement mode. **Returns:** java.lang.String - The measure mode. ##### setMeasureMode(String value) ``` public final void setMeasureMode(String value) ``` Sets the GPS measurement mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The measure mode. | ##### getProcessingMethod() ``` public final byte[] getProcessingMethod() ``` Gets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method. **Returns:** byte[] - A character string recording the name of the method used for location finding. ##### setProcessingMethod(byte[] value) ``` public final void setProcessingMethod(byte[] value) ``` Sets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | A character string recording the name of the method used for location finding. | ##### getSatellites() ``` public final String getSatellites() ``` Gets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. **Returns:** java.lang.String - The GPS satellites used for measurements. ##### setSatellites(String value) ``` public final void setSatellites(String value) ``` Sets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The GPS satellites used for measurements. | ##### getSpeed() ``` public final TiffRational getSpeed() ``` Gets the speed of GPS receiver movement. **Returns:** TiffRational - The speed of GPS receiver movement. ##### setSpeed(TiffRational value) ``` public final void setSpeed(TiffRational value) ``` Sets the speed of GPS receiver movement. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The speed of GPS receiver movement. | ##### getSpeedRef() ``` public final String getSpeedRef() ``` Gets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. **Returns:** java.lang.String - The unit used to express the GPS receiver speed of movement. ##### setSpeedRef(String value) ``` public final void setSpeedRef(String value) ``` Sets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The unit used to express the GPS receiver speed of movement. | ##### getStatus() ``` public final String getStatus() ``` Gets the status of the GPS receiver when the image is recorded. **Returns:** java.lang.String - The status of the GPS receiver when the image is recorded. ##### setStatus(String value) ``` public final void setStatus(String value) ``` Sets the status of the GPS receiver when the image is recorded. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The status of the GPS receiver when the image is recorded. | ##### getTimeStamp() ``` public final TiffRational[] getTimeStamp() ``` Gets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. **Returns:** com.groupdocs.metadata.core.TiffRational[] - The time as UTC (Coordinated Universal Time). ##### setTimeStamp(TiffRational[] value) ``` public final void setTimeStamp(TiffRational[] value) ``` Sets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational\[\] | The time as UTC (Coordinated Universal Time). | ##### getGpsTrack() ``` public final TiffRational getGpsTrack() ``` Gets the direction of GPS receiver movement. **Returns:** TiffRational - The direction of GPS receiver movement. ##### setGpsTrack(TiffRational value) ``` public final void setGpsTrack(TiffRational value) ``` Sets the direction of GPS receiver movement. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | TiffRational | The direction of GPS receiver movement. | ##### getTrackRef() ``` public final String getTrackRef() ``` Gets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction. **Returns:** java.lang.String - The reference for giving the direction of GPS receiver movement. ##### setTrackRef(String value) ``` public final void setTrackRef(String value) ``` Sets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The reference for giving the direction of GPS receiver movement. | ##### getVersionID() ``` public final byte[] getVersionID() ``` Gets the version of GPS IFD. **Returns:** byte[] - The version of GPS IFD ##### setVersionID(byte[] value) ``` public final void setVersionID(byte[] value) ``` Sets the version of GPS IFD. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The version of GPS IFD | ### ExifIfdPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/exififdpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public final class ExifIfdPackage extends ExifDictionaryBasePackage ``` Represents the Exif Image File Directory. Exif IFD is a set of tags for recording Exif-specific attribute information. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Methods | Method | Description | | --- | --- | | getCameraOwnerName() | Gets the camera owner's name. | | setCameraOwnerName(String value) | Sets the camera owner's name. | | getBodySerialNumber() | Gets the camera body serial number. | | setBodySerialNumber(String value) | Sets the camera body serial number. | | getCfaPattern() | Gets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | setCfaPattern(byte[] value) | Sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | getUserComment() | Gets the user comment. | | setUserComment(String value) | Sets the user comment. | ##### getCameraOwnerName() ``` public final String getCameraOwnerName() ``` Gets the camera owner's name. **Returns:** java.lang.String - The name of the camera owner. ##### setCameraOwnerName(String value) ``` public final void setCameraOwnerName(String value) ``` Sets the camera owner's name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the camera owner. | ##### getBodySerialNumber() ``` public final String getBodySerialNumber() ``` Gets the camera body serial number. **Returns:** java.lang.String - The camera body serial number. ##### setBodySerialNumber(String value) ``` public final void setBodySerialNumber(String value) ``` Sets the camera body serial number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The camera body serial number. | ##### getCfaPattern() ``` public final byte[] getCfaPattern() ``` Gets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. **Returns:** byte[] - The color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. ##### setCfaPattern(byte[] value) ``` public final void setCfaPattern(byte[] value) ``` Sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | byte[] | The color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | ##### getUserComment() ``` public final String getUserComment() ``` Gets the user comment. **Returns:** java.lang.String - The user comment. ##### setUserComment(String value) ``` public final void setUserComment(String value) ``` Sets the user comment. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user comment. | ### ExifPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/exifpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public class ExifPackage extends ExifDictionaryBasePackage ``` Represents an EXIF metadata package (Exchangeable Image File Format). This code sample demonstrates how to update common EXIF properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > IExif root = (IExif) metadata.getRootPackage(); > // Set the EXIF package if it's missing > if (root.getExifPackage() == null) { > root.setExifPackage(new ExifPackage()); > } > root.getExifPackage().setCopyright("Copyright (C) 2011-2024 GroupDocs. All Rights Reserved."); > root.getExifPackage().setImageDescription("test image"); > root.getExifPackage().setSoftware("GroupDocs.Metadata"); > // ... > root.getExifPackage().getExifIfdPackage().setBodySerialNumber("test"); > root.getExifPackage().getExifIfdPackage().setCameraOwnerName("GroupDocs"); > root.getExifPackage().getExifIfdPackage().setUserComment("test comment"); > // ... > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Constructors | Constructor | Description | | --- | --- | | ExifPackage() | Initializes a new instance of the ExifPackage class. | #### Methods | Method | Description | | --- | --- | | getGpsPackage() | Gets the GPS data. | | getExifIfdPackage() | Gets the EXIF IFD data. | | getThumbnail() | Gets the image thumbnail represented as an array of bytes. | | getArtist() | Gets the name of the camera owner, photographer or image creator. | | setArtist(String value) | Sets the name of the camera owner, photographer or image creator. | | getCopyright() | Gets the copyright notice. | | setCopyright(String value) | Sets the copyright notice. | | getDateTime() | Gets the date and time of image creation. | | setDateTime(String value) | Sets the date and time of image creation. | | getImageDescription() | Gets a character string giving the title of the image. | | setImageDescription(String value) | Sets a character string giving the title of the image. | | getImageLength() | Gets the number of rows of image data. | | setImageLength(int value) | Sets the number of rows of image data. | | getImageWidth() | Gets the number of columns of image data, equal to the number of pixels per row. | | setImageWidth(int value) | Sets the number of columns of image data, equal to the number of pixels per row. | | getOrientation() | Gets or sets the orientation. | | setOrientation(int value) | Gets or sets the orientation. | | getMake() | Gets the manufacturer of the recording equipment. | | setMake(String value) | Sets the manufacturer of the recording equipment. | | getModel() | Gets the model name or model number of the equipment. | | setModel(String value) | Sets the model name or model number of the equipment. | | getSoftware() | Gets the name and version of the software or firmware of the camera or image input device used to generate the image. | | setSoftware(String value) | Sets the name and version of the software or firmware of the camera or image input device used to generate the image. | ##### ExifPackage() ``` public ExifPackage() ``` Initializes a new instance of the ExifPackage class. ##### getGpsPackage() ``` public final ExifGpsPackage getGpsPackage() ``` Gets the GPS data. **Returns:** ExifGpsPackage - The GPS data. ##### getExifIfdPackage() ``` public final ExifIfdPackage getExifIfdPackage() ``` Gets the EXIF IFD data. **Returns:** ExifIfdPackage - The EXIF IFD data. ##### getThumbnail() ``` public final byte[] getThumbnail() ``` Gets the image thumbnail represented as an array of bytes. **Returns:** byte[] - The image thumbnail represented as an array of bytes. This feature is not available in trial mode. ##### getArtist() ``` public final String getArtist() ``` Gets the name of the camera owner, photographer or image creator. **Returns:** java.lang.String - The name of the camera owner, photographer or image creator. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the name of the camera owner, photographer or image creator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the camera owner, photographer or image creator. | ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright notice. **Returns:** java.lang.String - The copyright notice. ##### setCopyright(String value) ``` public final void setCopyright(String value) ``` Sets the copyright notice. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The copyright notice. | ##### getDateTime() ``` public final String getDateTime() ``` Gets the date and time of image creation. In the EXIF standard, it is the date and time the file was changed. **Returns:** java.lang.String - The date and time of image creation. ##### setDateTime(String value) ``` public final void setDateTime(String value) ``` Sets the date and time of image creation. In the EXIF standard, it is the date and time the file was changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The date and time of image creation. | ##### getImageDescription() ``` public final String getImageDescription() ``` Gets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Returns:** java.lang.String - The image description. ##### setImageDescription(String value) ``` public final void setImageDescription(String value) ``` Sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image description. | ##### getImageLength() ``` public final int getImageLength() ``` Gets the number of rows of image data. **Returns:** int - The number of rows of image data. ##### setImageLength(int value) ``` public final void setImageLength(int value) ``` Sets the number of rows of image data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The number of rows of image data. | ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the number of columns of image data, equal to the number of pixels per row. **Returns:** int - The number of columns of image data, equal to the number of pixels per row. ##### setImageWidth(int value) ``` public final void setImageWidth(int value) ``` Sets the number of columns of image data, equal to the number of pixels per row. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The number of columns of image data, equal to the number of pixels per row. | ##### getOrientation() ``` public final int getOrientation() ``` Gets or sets the orientation. Value: The orientation. **Returns:** int ##### setOrientation(int value) ``` public final void setOrientation(int value) ``` Gets or sets the orientation. Value: The orientation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ##### getMake() ``` public final String getMake() ``` Gets the manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. **Returns:** java.lang.String - The manufacturer of the recording equipment. ##### setMake(String value) ``` public final void setMake(String value) ``` Sets the manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manufacturer of the recording equipment. | ##### getModel() ``` public final String getModel() ``` Gets the model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. **Returns:** java.lang.String - The model name or model number of the equipment. ##### setModel(String value) ``` public final void setModel(String value) ``` Sets the model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The model name or model number of the equipment. | ##### getSoftware() ``` public final String getSoftware() ``` Gets the name and version of the software or firmware of the camera or image input device used to generate the image. **Returns:** java.lang.String - The name and version of the software or firmware of the camera or image input device used to generate the image. ##### setSoftware(String value) ``` public final void setSoftware(String value) ``` Sets the name and version of the software or firmware of the camera or image input device used to generate the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name and version of the software or firmware of the camera or image input device used to generate the image. | ### FileFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/fileformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum FileFormat extends Enum implements IEnumValue ``` Represents the recognized format of a loaded file. #### Fields | Field | Description | | --- | --- | | Unknown | The file type is not recognized. | | Presentation | A presentation file. | | Spreadsheet | A spreadsheet file. | | WordProcessing | A word processing file. | | Diagram | A diagram file. | | Note | An electronic note file. | | ProjectManagement | A project management format. | | Pdf | A PDF file. | | Tiff | A TIFF image. | | Jpeg | A JPEG image. | | Psd | A PSD image. | | Jpeg2000 | A Jpeg2000 image. | | Gif | A GIF image. | | Png | A PNG image. | | Bmp | A BMP image. | | Dicom | A DICOM image. | | WebP | A WEBP image. | | Emf | An EMF image. | | Wmf | A WMF image. | | DjVu | A DjVu file. | | Wav | A WAV audio file. | | Mp3 | An Mp3 audio file. | | Avi | An AVI video. | | Flv | An FLV video. | | Asf | An ASF video. | | Mov | A QuickTime video. | | Matroska | A video encoded with the Matroska multimedia container. | | Zip | A ZIP archive. | | SevenZip | 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. | | VCard | A VCard file. | | Epub | An EPUB electronic book. | | OpenType | An OpenType font. | | Dxf | A DXF (Drawing Exchange Format) drawing. | | Dwg | A DWG drawing. | | Eml | An EML email message. | | Msg | An MSG email message. | | Torrent | A torrent file that contains metadata about files and folders to be distributed. | | Heif | A HEIF/HEIC image. | | Dng | A dng RAW image. | | Cr2 | A CR2 image. | | Rar | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | Tar | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final FileFormat Unknown ``` The file type is not recognized. ##### Presentation ``` public static final FileFormat Presentation ``` A presentation file. You must be familiar with PPTX and PPT extension files while working with Microsoft PowerPoint. These are Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ ##### Spreadsheet ``` public static final FileFormat Spreadsheet ``` A spreadsheet file. A spreadsheet file contains data in the form of rows and columns. You can open, view and edit such files using spreadsheet software applications such as Microsoft Excel that is now available for both Windows and MacOS operating system. Similarly, Google sheets is a free online spreadsheet creating and editing tool that works from any web browser. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/ ##### WordProcessing ``` public static final FileFormat WordProcessing ``` A word processing file. A word processing file contains user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/ ##### Diagram ``` public static final FileFormat Diagram ``` A diagram file. ##### Note ``` public static final FileFormat Note ``` An electronic note file. Note-taking programs such as Microsoft OneNote lets you create, open and edit notes files that contain sections and pages for storing notes. A note document can be as simple as a text document as well as more detailed consisting of digital images, audio/video clips, and hand sketch drawings. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/note-taking/ ##### ProjectManagement ``` public static final FileFormat ProjectManagement ``` A project management format. Have you ever come across and wondered what is an MPP file or how to open it? MPP and other similar files are Project file formats that are created by Project Management software such as Microsoft Project. A project file is a collection of tasks, resources, and their scheduling to get a measurable output in the form or a product or a service. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/project-management/ ##### Pdf ``` public static final FileFormat Pdf ``` A PDF file. Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/view/pdf/ ##### Tiff ``` public static final FileFormat Tiff ``` A TIFF image. TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/tiff/ ##### Jpeg ``` public static final FileFormat Jpeg ``` A JPEG image. JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/jpeg/ ##### Psd ``` public static final FileFormat Psd ``` A PSD image. PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. PSD files may include image layers, adjustment layers, layer masks, annotations, file information, keywords and other Photoshop-specific elements. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/psd/ ##### Jpeg2000 ``` public static final FileFormat Jpeg2000 ``` A Jpeg2000 image. JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/jp2/ ##### Gif ``` public static final FileFormat Gif ``` A GIF image. A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/gif/ ##### Png ``` public static final FileFormat Png ``` A PNG image. PNG, Portable Network Graphics, refers to a type of raster image file format that use lossless compression. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/png/ ##### Bmp ``` public static final FileFormat Bmp ``` A BMP image. Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/bmp/ ##### Dicom ``` public static final FileFormat Dicom ``` A DICOM image. DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is the combination of file format definition and a network communications protocol. Learn more about this file format [ here ][here] . [here]: https://wiki.fileformat.com/image/dicom/ ##### WebP ``` public static final FileFormat WebP ``` A WEBP image. WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/webp/ ##### Emf ``` public static final FileFormat Emf ``` An EMF image. Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/emf/ ##### Wmf ``` public static final FileFormat Wmf ``` A WMF image. Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. To be more accurate, WMF belongs to the vector file format category of Graphics file formats that is device independent. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/wmf/ ##### DjVu ``` public static final FileFormat DjVu ``` A DjVu file. DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. It was developed by AT&T Labs. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/image/djvu/ ##### Wav ``` public static final FileFormat Wav ``` A WAV audio file. WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn't apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/audio/wav/ ##### Mp3 ``` public static final FileFormat Mp3 ``` An Mp3 audio file. Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. It was developed by the Moving Picture Experts Group (MPEG) that uses Layer 3 audio compression. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/audio/mp3/ ##### Avi ``` public static final FileFormat Avi ``` An AVI video. The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. It holds the audio and video data created and compressed using several codecs (Coders/Decoders) such as Xvid and DivX. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/video/avi/ ##### Flv ``` public static final FileFormat Flv ``` An FLV video. ##### Asf ``` public static final FileFormat Asf ``` An ASF video. The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/video/wmv/ ##### Mov ``` public static final FileFormat Mov ``` A QuickTime video. Mov or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Mov format is compatible both in Windows and Macintosh systems. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/video/mov/ ##### Matroska ``` public static final FileFormat Matroska ``` A video encoded with the Matroska multimedia container. ##### Zip ``` public static final FileFormat Zip ``` A ZIP archive. ZIP file extension represents archives that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size. ZIP file format was made public back in February 1989 by Phil Katz for achieving archiving of files and folders. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/compression/zip/ ##### SevenZip ``` public static final FileFormat SevenZip ``` 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. ##### VCard ``` public static final FileFormat VCard ``` A VCard file. VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/email/vcf/ ##### Epub ``` public static final FileFormat Epub ``` An EPUB electronic book. Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/ebook/epub/ ##### OpenType ``` public static final FileFormat OpenType ``` An OpenType font. ##### Dxf ``` public static final FileFormat Dxf ``` A DXF (Drawing Exchange Format) drawing. DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Each element in the file has a prefix integer number called a group code. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/cad/dxf/ ##### Dwg ``` public static final FileFormat Dwg ``` A DWG drawing. Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Like DXF, which are ASCII files, DWG represent the binary file format for CAD (Computer Aided Design) drawings. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/cad/dwg/ ##### Eml ``` public static final FileFormat Eml ``` An EML email message. EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/email/eml/ ##### Msg ``` public static final FileFormat Msg ``` An MSG email message. MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Such messages may contain one or more email fields, with the sender, recipient, subject, date, and message body, or contact information, appointment particulars, and one or more task specifications. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/email/msg/ ##### Torrent ``` public static final FileFormat Torrent ``` A torrent file that contains metadata about files and folders to be distributed. ##### Heif ``` public static final FileFormat Heif ``` A HEIF/HEIC image. ##### Dng ``` public static final FileFormat Dng ``` A dng RAW image. ##### Cr2 ``` public static final FileFormat Cr2 ``` A CR2 image. ##### Rar ``` public static final FileFormat Rar ``` RAR is a proprietary archive file format that supports data compression, error correction and file spanning. ##### Tar ``` public static final FileFormat Tar ``` In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. ##### values() ``` public static FileFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.FileFormat[] ##### valueOf(String name) ``` public static FileFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** FileFormat ##### getByRawValue(int rawValue) ``` public static FileFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** FileFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### FileType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/filetype.md **Inheritance:** java.lang.Object ``` public class FileType ``` Represents the file type. [Supported Document Formats]: https://docs.groupdocs.com/metadata/java/supported-document-formats/ [Get supported file formats]: https://docs.groupdocs.com/metadata/java/get-supported-file-formats/ #### Fields | Field | Description | | --- | --- | | Unknown | Represents unknown file type. | | TORRENT | Represents TORRENT file type. | | PDF | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | | PPT | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. | | PPTX | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. | | POTX | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. | | PPTM | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. | | POTM | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. | | PPS | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. | | PPSX | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. | | PPSM | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. | | POT | Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. | | XLS | Files with XLS extension represent Excel Binary File Format. | | XLSX | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. | | XLSM | Files with XLSM extension is a type of Spreasheet files that support Macros. | | XLT | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. | | ODT | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | DOT | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | DOC | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. | | DOCX | DOCX is a well-known format for Microsoft Word documents. | | XLTX | Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. | | DOTX | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | ODS | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. | | XLTM | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. | | XLSB | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. | | DOTM | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. | | DOCM | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | EPUB | Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. | | TTF | TTF represents font files based on the TrueType specifications font technology. | | TTC | TTC (TrueType Collection) is a TrueType font collection format. | | OTF | A file with .otf extension refers to OpenType font format. | | OTC | OTC (OpenType Collection) is a OpenType font collection format. | | ONE | File represented by .ONE extension are created by Microsoft OneNote application. | | ZIP | ZIP file extension represents archives that can hold one or more files or directories. | | ZIPX | ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. | | JAR | JAR is a Java Archive file that contains many different application related files as a single file. | | VCF | VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. | | VCR | VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. | | EML | EML file format represents email messages saved using Outlook and other relevant applications. | | MSG | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. | | MP3 | Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. | | WAV | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. | | BMP | Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. | | DJVU | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. | | DJV | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. | | GIF | A GIF or Graphical Interchange Format is a type of highly compressed image. | | JPG | A JPEG is a type of image format that is saved using the method of lossy compression. | | JPE | A JPEG is a type of image format that is saved using the method of lossy compression. | | JPEG | A JPEG is a type of image format that is saved using the method of lossy compression. | | JP2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. | | J2K | JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. | | JPF | JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. | | JPX | JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. | | JPM | JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. | | MJ2 | Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. | | PNG | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. | | TIFF | TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | TIF | TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | WEBP | WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. | | EMF | Enhanced metafile format (EMF) stores graphical images device-independently. | | WMF | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. | | PSD | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. | | MPP | MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. | | MPT | MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. | | VSD | VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. | | VDX | Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. | | VSDX | Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. | | VSS | VSS are stencil files created with Microsoft Visio 2007 and earlier. | | VSX | Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. | | VTX | Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. | | DICOM | DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. | | HEIF | An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. | | HEIC | An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. | | DWG | Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. | | DXF | DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. | | AVI | The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. | | MOV | MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. | | QT | MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. | | MKA | MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. | | MKV | MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. | | MK3D | MK3D is actually stereoscopic 3D video created using Matroska 3D format. | | WEBM | WEBM is a video file based on the open, royalty-free WebM file format. | | FLV | FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. | | ASF | The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. | | DNG | DNG is a digital camera image format used for the storage of raw files. | | CR2 | The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. | | SEVENZIP | 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. | | RAR | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | TAR | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | #### Methods | Method | Description | | --- | --- | | getDescription() | Gets the file type description. | | getExtension() | Gets the file extension. | | getFileFormat() | Gets the file format. | | toString() | Returns a String that represents the current FileType . | | getSupportedFileTypes() | Retrieves supported file types. | | fromExtension(String fileExtension) | Gets FileType for provided fileExtension | ##### Unknown ``` public static final FileType Unknown ``` Represents unknown file type. ##### TORRENT ``` public static final FileType TORRENT ``` Represents TORRENT file type. ##### PDF ``` public static final FileType PDF ``` Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/pdf/ ##### PPT ``` public static final FileType PPT ``` A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppt/ ##### PPTX ``` public static final FileType PPTX ``` Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pptx/ ##### POTX ``` public static final FileType POTX ``` Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/potx/ ##### PPTM ``` public static final FileType PPTM ``` Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pptm/ ##### POTM ``` public static final FileType POTM ``` Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/potm/ ##### PPS ``` public static final FileType PPS ``` PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pps/ ##### PPSX ``` public static final FileType PPSX ``` PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppsx/ ##### PPSM ``` public static final FileType PPSM ``` Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/ppsm/ ##### POT ``` public static final FileType POT ``` Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/presentation/pot/ ##### XLS ``` public static final FileType XLS ``` Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xls/ ##### XLSX ``` public static final FileType XLSX ``` XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlsx/ ##### XLSM ``` public static final FileType XLSM ``` Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlsm/ ##### XLT ``` public static final FileType XLT ``` Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlt/ ##### ODT ``` public static final FileType ODT ``` ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/odt/ ##### DOT ``` public static final FileType DOT ``` Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dot/ ##### DOC ``` public static final FileType DOC ``` Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/doc/ ##### DOCX ``` public static final FileType DOCX ``` DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/docx/ ##### XLTX ``` public static final FileType XLTX ``` Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xltx/ ##### DOTX ``` public static final FileType DOTX ``` Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dotx/ ##### ODS ``` public static final FileType ODS ``` Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/spreadsheet/ods/ ##### XLTM ``` public static final FileType XLTM ``` The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xltm/ ##### XLSB ``` public static final FileType XLSB ``` XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/specification/spreadsheet/xlsb/ ##### DOTM ``` public static final FileType DOTM ``` A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/dotm/ ##### DOCM ``` public static final FileType DOCM ``` DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/word-processing/docm/ ##### EPUB ``` public static final FileType EPUB ``` Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/ebook/epub/ ##### TTF ``` public static final FileType TTF ``` TTF represents font files based on the TrueType specifications font technology. TrueType fonts provide highest quality display on computer screens and printers without any dependency on resolution. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/ttf/ ##### TTC ``` public static final FileType TTC ``` TTC (TrueType Collection) is a TrueType font collection format. A TTC file can combine the multiple font files into it. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/ttc/ ##### OTF ``` public static final FileType OTF ``` A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/font/otf/ ##### OTC ``` public static final FileType OTC ``` OTC (OpenType Collection) is a OpenType font collection format. An OTC file can combine the multiple font files into it. ##### ONE ``` public static final FileType ONE ``` File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/note-taking/one/ ##### ZIP ``` public static final FileType ZIP ``` ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/compression/zip/ ##### ZIPX ``` public static final FileType ZIPX ``` ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. ##### JAR ``` public static final FileType JAR ``` JAR is a Java Archive file that contains many different application related files as a single file. This file format was created to reduce the speed of loading a downloaded Java Applet in browser via HTTP transaction, Learn more about this file format [here][]. [here]: https://docs.fileformat.com/programming/jar/ ##### VCF ``` public static final FileType VCF ``` VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/email/vcf/ ##### VCR ``` public static final FileType VCR ``` VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. ##### EML ``` public static final FileType EML ``` EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/eml/ ##### MSG ``` public static final FileType MSG ``` MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/email/msg/ ##### MP3 ``` public static final FileType MP3 ``` Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/audio/mp3/ ##### WAV ``` public static final FileType WAV ``` WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/audio/wav/ ##### BMP ``` public static final FileType BMP ``` Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/bmp/ ##### DJVU ``` public static final FileType DJVU ``` DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/djvu/ ##### DJV ``` public static final FileType DJV ``` DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/djvu/ ##### GIF ``` public static final FileType GIF ``` A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/gif/ ##### JPG ``` public static final FileType JPG ``` A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg/ ##### JPE ``` public static final FileType JPE ``` A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg/ ##### JPEG ``` public static final FileType JPEG ``` A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpeg/ ##### JP2 ``` public static final FileType JP2 ``` JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jp2/ ##### J2K ``` public static final FileType J2K ``` JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/j2k/ ##### JPF ``` public static final FileType JPF ``` JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpf/ ##### JPX ``` public static final FileType JPX ``` JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpx/ ##### JPM ``` public static final FileType JPM ``` JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/jpm/ ##### MJ2 ``` public static final FileType MJ2 ``` Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. ##### PNG ``` public static final FileType PNG ``` PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/png/ ##### TIFF ``` public static final FileType TIFF ``` TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/tiff/ ##### TIF ``` public static final FileType TIF ``` TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/tiff/ ##### WEBP ``` public static final FileType WEBP ``` WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/webp/ ##### EMF ``` public static final FileType EMF ``` Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/emf/ ##### WMF ``` public static final FileType WMF ``` Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/wmf/ ##### PSD ``` public static final FileType PSD ``` PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/image/psd/ ##### MPP ``` public static final FileType MPP ``` MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/project-management/mpp/ ##### MPT ``` public static final FileType MPT ``` MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/project-management/mpt/ ##### VSD ``` public static final FileType VSD ``` VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vsd/ ##### VDX ``` public static final FileType VDX ``` Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vdx/ ##### VSDX ``` public static final FileType VSDX ``` Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vsdx/ ##### VSS ``` public static final FileType VSS ``` VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vss/ ##### VSX ``` public static final FileType VSX ``` Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/visio/vsx/ ##### VTX ``` public static final FileType VTX ``` Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/visio/vtx/ ##### DICOM ``` public static final FileType DICOM ``` DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is used for the integration of medical imaging devices like printers, servers, scanners etc from various vendors and also contains identification data of each patient for uniqueness. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/dicom/ ##### HEIF ``` public static final FileType HEIF ``` An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. HEIF file format compresses the images using the High Efficiency Video Coding (HEVC) standard. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/heif/ ##### HEIC ``` public static final FileType HEIC ``` An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. HEIC, like HEIF, are compressed using the High Efficiency Video Coding (HEVC) standard and are smaller in size without compromising the quality. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/image/heic/ ##### DWG ``` public static final FileType DWG ``` Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dwg/ ##### DXF ``` public static final FileType DXF ``` DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/cad/dxf/ ##### AVI ``` public static final FileType AVI ``` The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/avi/ ##### MOV ``` public static final FileType MOV ``` MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/mov/ ##### QT ``` public static final FileType QT ``` MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/mov/ ##### MKA ``` public static final FileType MKA ``` MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. The MKA format supports several different kinds of audio compression algorithms such as MP3, AAC and Vobis. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/audio/mka/ ##### MKV ``` public static final FileType MKV ``` MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/mkv/ ##### MK3D ``` public static final FileType MK3D ``` MK3D is actually stereoscopic 3D video created using Matroska 3D format. The MKV file container uses a StereoMode field\\u2019s value to define the type of stereoscopic 3D video stuff. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/mk3d/ ##### WEBM ``` public static final FileType WEBM ``` WEBM is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/webm/ ##### FLV ``` public static final FileType FLV ``` FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here][]. [here]: https://docs.fileformat.com/video/flv/ ##### ASF ``` public static final FileType ASF ``` The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here][]. [here]: https://wiki.fileformat.com/video/wmv/ ##### DNG ``` public static final FileType DNG ``` DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. DNG is an extension of TIFF/EP standard format and uses metadata significantly. In order to manipulate raw data from digital cameras with the ease of flexibility and artistic control, photographers opt camera raw files. JPEG and TIFF formats store images that are processed by the camera, therefore, not much room for alteration is available in such formats. [here][]. [here]: https://wiki.fileformat.com/image/dng/ ##### CR2 ``` public static final FileType CR2 ``` The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. [here][]. [here]: https://wiki.fileformat.com/image/cr2/ ##### SEVENZIP ``` public static final FileType SEVENZIP ``` 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. [here][] . [here]: https://wiki.fileformat.com/compression/zip/ ##### RAR ``` public static final FileType RAR ``` RAR is a proprietary archive file format that supports data compression, error correction and file spanning. [here][] . [here]: https://wiki.fileformat.com/compression/rar/ ##### TAR ``` public static final FileType TAR ``` In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. [here][] . [here]: https://wiki.fileformat.com/compression/tar/ ##### getDescription() ``` public final String getDescription() ``` Gets the file type description. **Returns:** java.lang.String - The file type description. ##### getExtension() ``` public final String getExtension() ``` Gets the file extension. **Returns:** java.lang.String - The file extension. ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the file format. **Returns:** FileFormat - The file format. ##### toString() ``` public String toString() ``` Returns a String that represents the current FileType . **Returns:** java.lang.String - A String that represents the current FileType . ##### getSupportedFileTypes() ``` public static Iterable getSupportedFileTypes() ``` Retrieves supported file types. **Returns:** java.lang.Iterable - A collection of supported file types. ##### fromExtension(String fileExtension) ``` public static FileType fromExtension(String fileExtension) ``` Gets FileType for provided fileExtension **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileExtension | java.lang.String | File extension | **Returns:** FileType - File type ### FileTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/filetypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class FileTypePackage extends CustomPackage ``` Represents a metadata package containing file format information. [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info [Supported file formats]: https://docs.groupdocs.com/display/metadatajava/Supported+File+Formats #### Methods | Method | Description | | --- | --- | | getFileFormat() | Gets the file format. | | getMimeType() | Gets the MIME type. | | getExtension() | Gets the file extension. | ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the file format. **Returns:** FileFormat - The file format. ##### getMimeType() ``` public final String getMimeType() ``` Gets the MIME type. **Returns:** java.lang.String - The MIME type value. ##### getExtension() ``` public final String getExtension() ``` Gets the file extension. **Returns:** java.lang.String - The file extension. ### FlvHeader Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/flvheader.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class FlvHeader extends CustomPackage ``` Represents a FLV video header. [Working with metadata in FLV files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+FLV+files #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the file version. | | getTypeFlags() | Gets the FLV type flags. | | hasAudioTags() | Gets a value indicating whether audio tags are present in the file. | | hasVideoTags() | Gets a value indicating whether video tags are present in the file. | ##### getVersion() ``` public final byte getVersion() ``` Gets the file version. **Returns:** byte - The file version. ##### getTypeFlags() ``` public final byte getTypeFlags() ``` Gets the FLV type flags. **Returns:** byte - The FLV type flags. ##### hasAudioTags() ``` public final boolean hasAudioTags() ``` Gets a value indicating whether audio tags are present in the file. **Returns:** boolean - True if the FLV file contains audio tags; otherwise, false. ##### hasVideoTags() ``` public final boolean hasVideoTags() ``` Gets a value indicating whether video tags are present in the file. **Returns:** boolean - True if the FLV file contains video tags; otherwise, false. ### FlvRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/flvrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class FlvRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an FLV video. This example shows how to read FLV header properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputFlv)) { > FlvRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getHeader().getVersion()); > System.out.println(root.getHeader().hasAudioTags()); > System.out.println(root.getHeader().hasVideoTags()); > System.out.println(root.getHeader().getTypeFlags()); > } > > ``` > ``` [Working with metadata in FLV files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+FLV+files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getHeader() | Gets the FLV header package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getHeader() ``` public final FlvHeader getHeader() ``` Gets the FLV header package. **Returns:** FlvHeader - The FLV header package. ### GifImageTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/gifimagetypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage, com.groupdocs.metadata.core.ImageTypePackage ``` public class GifImageTypePackage extends ImageTypePackage ``` Represents a metadata package containing GIF-specific file format information. #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the format. | ##### getVersion() ``` public final String getVersion() ``` Gets the version of the format. **Returns:** java.lang.String - The version of the format. ### GifRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/gifrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class GifRootPackage extends ImageRootPackage implements IXmp ``` Represents the root package intended to work with metadata in a GIF image. This code snippet shows how to detect the version of a loaded GIF image and extract some additional file format information. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputGif)) { > GifRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getGifImageType().getFileFormat()); > System.out.println(root.getGifImageType().getVersion()); > System.out.println(root.getGifImageType().getByteOrder()); > System.out.println(root.getGifImageType().getMimeType()); > System.out.println(root.getGifImageType().getExtension()); > System.out.println(root.getGifImageType().getWidth()); > System.out.println(root.getGifImageType().getHeight()); > } > > ``` > ``` [Working with metadata in GIF images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+GIF+images [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getGifImageType() | Gets the file type metadata package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | isXmpSupported() | Gets a value indicating whether the XMP metadata is supported for this image. | ##### getGifImageType() ``` public final GifImageTypePackage getGifImageType() ``` Gets the file type metadata package. **Returns:** GifImageTypePackage - The file type metadata package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### isXmpSupported() ``` public final boolean isXmpSupported() ``` Gets a value indicating whether the XMP metadata is supported for this image. **Returns:** boolean - True if the XMP metadata is supported for this image; otherwise, false. ### GpsIfdPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/gpsifdpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class GpsIfdPackage extends RawDictionaryBasePackage ``` Represents GPS IFD. #### Methods | Method | Description | | --- | --- | | getGPSVersionID() | Gets the GPSVersionID. | | getGPSLatitudeRef() | Gets the GPSLatitudeRef. | | getGPSLatitude() | Gets the GPSLatitude. | | getGPSLongitudeRef() | Gets the GPSLongitudeRef. | | getGPSLongitude() | Gets the GPSLongitude. | | getGPSAltitudeRef() | Gets the GPSAltitudeRef. | | getGPSAltitude() | Gets the GPSAltitude. | | getGPSTimeStamp() | Gets the GPSTimeStamp. | | getGPSSatellites() | Gets the GPSSatellites. | | getGPSStatus() | Gets the GPSStatus. | | getGPSMeasureMode() | Gets the GPSMeasureMode. | | getGPSDOP() | Gets the GPSDOP. | | getGPSSpeedRef() | Gets the GPSSpeedRef. | | getGPSSpeed() | Gets the GPSSpeed. | | getGPSTrackRef() | Gets the GPSTrackRef. | | getGPSTrack() | Gets the GPSTrack. | | getGPSImgDirectionRef() | Gets the GPSImgDirectionRef. | | getGPSImgDirection() | Gets the GPSImgDirection. | | getGPSMapDatum() | Gets the GPSMapDatum. | | getGPSDestLatitudeRef() | Gets the GPSDestLatitudeRef. | | getGPSDestLatitude() | Gets the GPSDestLatitude. | | getGPSDestLongitudeRef() | Gets the GPSDestLongitudeRef. | | getGPSDestLongitude() | Gets the GPSDestLongitude. | | getGPSDestBearingRef() | Gets the GPSDestBearingRef. | | getGPSDestBearing() | Gets the GPSDestBearing. | | getGPSDestDistanceRef() | Gets the GPSDestDistanceRef. | | getGPSDestDistance() | Gets the GPSDestDistance. | | getGPSProcessingMethod() | Gets the GPSProcessingMethod. | | getGPSAreaInformation() | Gets the GPSAreaInformation. | | getGPSDateStamp() | Gets the GPSDateStamp. | | getGPSDifferential() | Gets the GPSDifferential. | | getGPSHPositioningError() | Gets the GPSHPositioningError. | ##### getGPSVersionID() ``` public final byte[] getGPSVersionID() ``` Gets the GPSVersionID. **Returns:** byte[] - The GPSVersionID. ##### getGPSLatitudeRef() ``` public final String getGPSLatitudeRef() ``` Gets the GPSLatitudeRef. **Returns:** java.lang.String - The GPSLatitudeRef. ##### getGPSLatitude() ``` public final double[] getGPSLatitude() ``` Gets the GPSLatitude. **Returns:** double[] - The GPSLatitude. ##### getGPSLongitudeRef() ``` public final String getGPSLongitudeRef() ``` Gets the GPSLongitudeRef. **Returns:** java.lang.String - The GPSLongitudeRef. ##### getGPSLongitude() ``` public final double[] getGPSLongitude() ``` Gets the GPSLongitude. **Returns:** double[] - The GPSLongitude. ##### getGPSAltitudeRef() ``` public final byte getGPSAltitudeRef() ``` Gets the GPSAltitudeRef. **Returns:** byte - The GPSAltitudeRef. ##### getGPSAltitude() ``` public final float getGPSAltitude() ``` Gets the GPSAltitude. **Returns:** float - The GPSAltitude. ##### getGPSTimeStamp() ``` public final double[] getGPSTimeStamp() ``` Gets the GPSTimeStamp. **Returns:** double[] - The GPSTimeStamp. ##### getGPSSatellites() ``` public final String getGPSSatellites() ``` Gets the GPSSatellites. **Returns:** java.lang.String - The GPSSatellites. ##### getGPSStatus() ``` public final String getGPSStatus() ``` Gets the GPSStatus. **Returns:** java.lang.String - The GPSStatus. ##### getGPSMeasureMode() ``` public final String getGPSMeasureMode() ``` Gets the GPSMeasureMode. **Returns:** java.lang.String - The GPSMeasureMode. ##### getGPSDOP() ``` public final float getGPSDOP() ``` Gets the GPSDOP. **Returns:** float - The GPSDOP. ##### getGPSSpeedRef() ``` public final String getGPSSpeedRef() ``` Gets the GPSSpeedRef. **Returns:** java.lang.String - The GPSSpeedRef. ##### getGPSSpeed() ``` public final float getGPSSpeed() ``` Gets the GPSSpeed. **Returns:** float - The GPSSpeed. ##### getGPSTrackRef() ``` public final String getGPSTrackRef() ``` Gets the GPSTrackRef. **Returns:** java.lang.String - The GPSTrackRef. ##### getGPSTrack() ``` public final float getGPSTrack() ``` Gets the GPSTrack. **Returns:** float - The GPSTrack. ##### getGPSImgDirectionRef() ``` public final String getGPSImgDirectionRef() ``` Gets the GPSImgDirectionRef. **Returns:** java.lang.String - The GPSImgDirectionRef. ##### getGPSImgDirection() ``` public final float getGPSImgDirection() ``` Gets the GPSImgDirection. **Returns:** float - The GPSImgDirection. ##### getGPSMapDatum() ``` public final String getGPSMapDatum() ``` Gets the GPSMapDatum. **Returns:** java.lang.String - The GPSMapDatum. ##### getGPSDestLatitudeRef() ``` public final String getGPSDestLatitudeRef() ``` Gets the GPSDestLatitudeRef. **Returns:** java.lang.String - The GPSDestLatitudeRef. ##### getGPSDestLatitude() ``` public final double[] getGPSDestLatitude() ``` Gets the GPSDestLatitude. **Returns:** double[] - The GPSDestLatitude. ##### getGPSDestLongitudeRef() ``` public final String getGPSDestLongitudeRef() ``` Gets the GPSDestLongitudeRef. **Returns:** java.lang.String - The GPSDestLongitudeRef. ##### getGPSDestLongitude() ``` public final double[] getGPSDestLongitude() ``` Gets the GPSDestLongitude. **Returns:** double[] - The GPSDestLongitude. ##### getGPSDestBearingRef() ``` public final String getGPSDestBearingRef() ``` Gets the GPSDestBearingRef. **Returns:** java.lang.String - The GPSDestBearingRef. ##### getGPSDestBearing() ``` public final float getGPSDestBearing() ``` Gets the GPSDestBearing. **Returns:** float - The GPSDestBearing. ##### getGPSDestDistanceRef() ``` public final String getGPSDestDistanceRef() ``` Gets the GPSDestDistanceRef. **Returns:** java.lang.String - The GPSDestDistanceRef. ##### getGPSDestDistance() ``` public final float getGPSDestDistance() ``` Gets the GPSDestDistance. **Returns:** float - The GPSDestDistance. ##### getGPSProcessingMethod() ``` public final String getGPSProcessingMethod() ``` Gets the GPSProcessingMethod. **Returns:** java.lang.String - The GPSProcessingMethod. ##### getGPSAreaInformation() ``` public final int getGPSAreaInformation() ``` Gets the GPSAreaInformation. **Returns:** int - The GPSAreaInformation. ##### getGPSDateStamp() ``` public final String getGPSDateStamp() ``` Gets the GPSDateStamp. **Returns:** java.lang.String - The GPSDateStamp. ##### getGPSDifferential() ``` public final int getGPSDifferential() ``` Gets the GPSDifferential. **Returns:** int - The GPSDifferential. ##### getGPSHPositioningError() ``` public final float getGPSHPositioningError() ``` Gets the GPSHPositioningError. **Returns:** float - The GPSHPositioningError. ### GroupDocsMetadataException Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/groupdocsmetadataexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception ``` public class GroupDocsMetadataException extends System.Exception ``` Represents a product-specific exception that is thrown during file processing. #### Constructors | Constructor | Description | | --- | --- | | GroupDocsMetadataException() | Initializes a new instance of the GroupDocsMetadataException class. | | GroupDocsMetadataException(String message) | Initializes a new instance of the GroupDocsMetadataException class. | | GroupDocsMetadataException(String message, RuntimeException innerException) | Initializes a new instance of the GroupDocsMetadataException class. | ##### GroupDocsMetadataException() ``` public GroupDocsMetadataException() ``` Initializes a new instance of the GroupDocsMetadataException class. ##### GroupDocsMetadataException(String message) ``` public GroupDocsMetadataException(String message) ``` Initializes a new instance of the GroupDocsMetadataException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### GroupDocsMetadataException(String message, RuntimeException innerException) ``` public GroupDocsMetadataException(String message, RuntimeException innerException) ``` Initializes a new instance of the GroupDocsMetadataException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### HeifRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/heifrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class HeifRootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package intended to work with metadata in a HEIF image. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ### ID3Tag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3tag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class ID3Tag extends CustomPackage ``` Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the ID3 tag in string format. | ##### getVersion() ``` public abstract String getVersion() ``` Gets the version of the ID3 tag in string format. For example: 'ID3v1.1'. **Returns:** java.lang.String - The ID3 version. ### ID3V1Genre Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v1genre.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class ID3V1Genre implements IEnumValue ``` Specifies genres used in an Id3v1 tag. #### Fields | Field | Description | | --- | --- | | Blues | Represents the Blues genre. | | ClassicRock | Represents the Classic Rock genre. | | Country | Represents the Country genre. | | Dance | Represents the Dance genre. | | Disco | Represents the Disco genre. | | Funk | Represents the Funk genre. | | Grunge | Represents the Grunge genre. | | HipHop | Represents the Hip-Hop genre. | | Jazz | Represents the Jazz genre. | | Metal | Represents the Metal genre. | | NewAge | Represents the New Age genre. | | Oldies | Represents the Oldies genre. | | Other | Represents the Other genre. | | Pop | Represents the Pop genre. | | RhythmAndBlues | Represents the Rhythm and Blues genre. | | Rap | Represents the Rap genre. | | Reggae | Represents the Reggae genre. | | Rock | Represents the Rock genre. | | Techno | Represents the Techno genre. | | Industrial | Represents the Industrial genre. | | Alternative | Represents the Alternative genre. | | Ska | Represents the Ska genre. | | DeathMetal | Represents the Death Metal genre. | | Pranks | Represents the Pranks genre. | | Soundtrack | Represents the Soundtrack genre. | | EuroTechno | Represents the Euro-Techno genre. | | Ambient | Represents the Ambient genre. | | TripHop | Represents the Trip-Hop genre. | | Vocal | Represents the Vocal genre. | | JazzAndFunk | Represents the JazzAndFunk genre. | | Fusion | Represents the Fusion genre. | | Trance | Represents the Trance genre. | | Classical | Represents the Classical genre. | | Instrumental | Represents the Instrumental genre. | | Acid | Represents the Acid genre. | | House | Represents the House genre. | | Game | Represents the Game genre. | | SoundClip | Represents the Sound Clip genre. | | Gospel | Represents the Gospel genre. | | Noise | Represents the Noise genre. | | AlternativeRock | Represents the Alternative Rock genre. | | Bass | Represents the Bass genre. | | Soul | Represents the Soul genre. | | Punk | Represents the Punk genre. | | Space | Represents the Space genre. | | Meditative | Represents the Meditative genre. | | InstrumentalPop | Represents the Instrumental Pop genre. | | InstrumentalRock | Represents the Instrumental Rock genre. | | Ethnic | Represents the Ethnic genre. | | Gothic | Represents the Gothic genre. | | Darkwave | Represents the Darkwave genre. | | TechnoIndustrial | Represents the Techno-Industrial genre. | | Electronic | Represents the Electronic genre. | | PopFolk | Represents the Pop-Folk genre. | | Eurodance | Represents the Eurodance genre. | | Dream | Represents the Dream genre. | | SouthernRock | Represents the Southern Rock genre. | | Comedy | Represents the Comedy genre. | | Cult | Represents the Cult genre. | | Gangsta | Represents the Gangsta genre. | | Top40 | Represents the Top 40 genre. | | ChristianRap | Represents the Christian Rap genre. | | PopFunk | Represents the Pop/Funk genre. | | Jungle | Represents the Jungle genre. | | NativeAmerican | Represents the Native American genre. | | Cabaret | Represents the Cabaret genre. | | NewWave | Represents the New Wave genre. | | Psychedelic | Represents the Psychedelic genre. | | Rave | Represents the Rave genre. | | Showtunes | Represents the Showtunes genre. | | Trailer | Represents the Trailer genre. | | LoFi | Represents the Lo-Fi genre. | | Tribal | Represents the Tribal genre. | | AcidPunk | Represents the Acid Punk genre. | | AcidJazz | Represents the Acid Jazz genre. | | Polka | Represents the Polka genre. | | Retro | Represents the Retro genre. | | Musical | Represents the Musical genre. | | RockNRoll | Represents the Rock 'n' Roll genre. | | HardRock | Represents the Hard Rock genre. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Blues ``` public static final ID3V1Genre Blues ``` Represents the Blues genre. ##### ClassicRock ``` public static final ID3V1Genre ClassicRock ``` Represents the Classic Rock genre. ##### Country ``` public static final ID3V1Genre Country ``` Represents the Country genre. ##### Dance ``` public static final ID3V1Genre Dance ``` Represents the Dance genre. ##### Disco ``` public static final ID3V1Genre Disco ``` Represents the Disco genre. ##### Funk ``` public static final ID3V1Genre Funk ``` Represents the Funk genre. ##### Grunge ``` public static final ID3V1Genre Grunge ``` Represents the Grunge genre. ##### HipHop ``` public static final ID3V1Genre HipHop ``` Represents the Hip-Hop genre. ##### Jazz ``` public static final ID3V1Genre Jazz ``` Represents the Jazz genre. ##### Metal ``` public static final ID3V1Genre Metal ``` Represents the Metal genre. ##### NewAge ``` public static final ID3V1Genre NewAge ``` Represents the New Age genre. ##### Oldies ``` public static final ID3V1Genre Oldies ``` Represents the Oldies genre. ##### Other ``` public static final ID3V1Genre Other ``` Represents the Other genre. ##### Pop ``` public static final ID3V1Genre Pop ``` Represents the Pop genre. ##### RhythmAndBlues ``` public static final ID3V1Genre RhythmAndBlues ``` Represents the Rhythm and Blues genre. ##### Rap ``` public static final ID3V1Genre Rap ``` Represents the Rap genre. ##### Reggae ``` public static final ID3V1Genre Reggae ``` Represents the Reggae genre. ##### Rock ``` public static final ID3V1Genre Rock ``` Represents the Rock genre. ##### Techno ``` public static final ID3V1Genre Techno ``` Represents the Techno genre. ##### Industrial ``` public static final ID3V1Genre Industrial ``` Represents the Industrial genre. ##### Alternative ``` public static final ID3V1Genre Alternative ``` Represents the Alternative genre. ##### Ska ``` public static final ID3V1Genre Ska ``` Represents the Ska genre. ##### DeathMetal ``` public static final ID3V1Genre DeathMetal ``` Represents the Death Metal genre. ##### Pranks ``` public static final ID3V1Genre Pranks ``` Represents the Pranks genre. ##### Soundtrack ``` public static final ID3V1Genre Soundtrack ``` Represents the Soundtrack genre. ##### EuroTechno ``` public static final ID3V1Genre EuroTechno ``` Represents the Euro-Techno genre. ##### Ambient ``` public static final ID3V1Genre Ambient ``` Represents the Ambient genre. ##### TripHop ``` public static final ID3V1Genre TripHop ``` Represents the Trip-Hop genre. ##### Vocal ``` public static final ID3V1Genre Vocal ``` Represents the Vocal genre. ##### JazzAndFunk ``` public static final ID3V1Genre JazzAndFunk ``` Represents the JazzAndFunk genre. ##### Fusion ``` public static final ID3V1Genre Fusion ``` Represents the Fusion genre. ##### Trance ``` public static final ID3V1Genre Trance ``` Represents the Trance genre. ##### Classical ``` public static final ID3V1Genre Classical ``` Represents the Classical genre. ##### Instrumental ``` public static final ID3V1Genre Instrumental ``` Represents the Instrumental genre. ##### Acid ``` public static final ID3V1Genre Acid ``` Represents the Acid genre. ##### House ``` public static final ID3V1Genre House ``` Represents the House genre. ##### Game ``` public static final ID3V1Genre Game ``` Represents the Game genre. ##### SoundClip ``` public static final ID3V1Genre SoundClip ``` Represents the Sound Clip genre. ##### Gospel ``` public static final ID3V1Genre Gospel ``` Represents the Gospel genre. ##### Noise ``` public static final ID3V1Genre Noise ``` Represents the Noise genre. ##### AlternativeRock ``` public static final ID3V1Genre AlternativeRock ``` Represents the Alternative Rock genre. ##### Bass ``` public static final ID3V1Genre Bass ``` Represents the Bass genre. ##### Soul ``` public static final ID3V1Genre Soul ``` Represents the Soul genre. ##### Punk ``` public static final ID3V1Genre Punk ``` Represents the Punk genre. ##### Space ``` public static final ID3V1Genre Space ``` Represents the Space genre. ##### Meditative ``` public static final ID3V1Genre Meditative ``` Represents the Meditative genre. ##### InstrumentalPop ``` public static final ID3V1Genre InstrumentalPop ``` Represents the Instrumental Pop genre. ##### InstrumentalRock ``` public static final ID3V1Genre InstrumentalRock ``` Represents the Instrumental Rock genre. ##### Ethnic ``` public static final ID3V1Genre Ethnic ``` Represents the Ethnic genre. ##### Gothic ``` public static final ID3V1Genre Gothic ``` Represents the Gothic genre. ##### Darkwave ``` public static final ID3V1Genre Darkwave ``` Represents the Darkwave genre. ##### TechnoIndustrial ``` public static final ID3V1Genre TechnoIndustrial ``` Represents the Techno-Industrial genre. ##### Electronic ``` public static final ID3V1Genre Electronic ``` Represents the Electronic genre. ##### PopFolk ``` public static final ID3V1Genre PopFolk ``` Represents the Pop-Folk genre. ##### Eurodance ``` public static final ID3V1Genre Eurodance ``` Represents the Eurodance genre. ##### Dream ``` public static final ID3V1Genre Dream ``` Represents the Dream genre. ##### SouthernRock ``` public static final ID3V1Genre SouthernRock ``` Represents the Southern Rock genre. ##### Comedy ``` public static final ID3V1Genre Comedy ``` Represents the Comedy genre. ##### Cult ``` public static final ID3V1Genre Cult ``` Represents the Cult genre. ##### Gangsta ``` public static final ID3V1Genre Gangsta ``` Represents the Gangsta genre. ##### Top40 ``` public static final ID3V1Genre Top40 ``` Represents the Top 40 genre. ##### ChristianRap ``` public static final ID3V1Genre ChristianRap ``` Represents the Christian Rap genre. ##### PopFunk ``` public static final ID3V1Genre PopFunk ``` Represents the Pop/Funk genre. ##### Jungle ``` public static final ID3V1Genre Jungle ``` Represents the Jungle genre. ##### NativeAmerican ``` public static final ID3V1Genre NativeAmerican ``` Represents the Native American genre. ##### Cabaret ``` public static final ID3V1Genre Cabaret ``` Represents the Cabaret genre. ##### NewWave ``` public static final ID3V1Genre NewWave ``` Represents the New Wave genre. ##### Psychedelic ``` public static final ID3V1Genre Psychedelic ``` Represents the Psychedelic genre. ##### Rave ``` public static final ID3V1Genre Rave ``` Represents the Rave genre. ##### Showtunes ``` public static final ID3V1Genre Showtunes ``` Represents the Showtunes genre. ##### Trailer ``` public static final ID3V1Genre Trailer ``` Represents the Trailer genre. ##### LoFi ``` public static final ID3V1Genre LoFi ``` Represents the Lo-Fi genre. ##### Tribal ``` public static final ID3V1Genre Tribal ``` Represents the Tribal genre. ##### AcidPunk ``` public static final ID3V1Genre AcidPunk ``` Represents the Acid Punk genre. ##### AcidJazz ``` public static final ID3V1Genre AcidJazz ``` Represents the Acid Jazz genre. ##### Polka ``` public static final ID3V1Genre Polka ``` Represents the Polka genre. ##### Retro ``` public static final ID3V1Genre Retro ``` Represents the Retro genre. ##### Musical ``` public static final ID3V1Genre Musical ``` Represents the Musical genre. ##### RockNRoll ``` public static final ID3V1Genre RockNRoll ``` Represents the Rock 'n' Roll genre. ##### HardRock ``` public static final ID3V1Genre HardRock ``` Represents the Hard Rock genre. ##### getByRawValue(int rawValue) ``` public static ID3V1Genre getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ID3V1Genre ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### ID3V1Tag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v1tag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3Tag ``` public final class ID3V1Tag extends ID3Tag ``` Represents an ID3v1 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3\#ID3v1][https_en.wikipedia.org_wiki_ID3_ID3v1] . ID3(v1) tag is a small chunk of extra data at the end of MP3. Please find more information at http://id3.org/ID3v1 . This code sample shows how to read the ID3v1 tag in an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithID3V1)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getID3V1() != null) { > System.out.println(root.getID3V1().getAlbum()); > System.out.println(root.getID3V1().getArtist()); > System.out.println(root.getID3V1().getTitle()); > System.out.println(root.getID3V1().getVersion()); > System.out.println(root.getID3V1().getComment()); > // ... > } > } > > ``` > ``` [https_en.wikipedia.org_wiki_ID3_ID3v1]: https://en.wikipedia.org/wiki/ID3#ID3v1 [Handling the ID3v1 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v1+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V1Tag() | Initializes a new instance of the ID3V1Tag class. | #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the ID3 version. | | getArtist() | Gets the artist. | | setArtist(String value) | Sets the artist. | | getAlbum() | Gets the album. | | setAlbum(String value) | Sets the album. | | getGenreValue() | Gets the genre identifier. | | getComment() | Gets the comment. | | setComment(String value) | Sets the comment. | | getTitle() | Gets the title. | | setTitle(String value) | Sets the title. | | getYear() | Gets the year. | | setYear(String value) | Sets the year. | | getTrackNumber() | Gets the track number. | | setTrackNumber(Integer value) | Sets the track number. | ##### ID3V1Tag() ``` public ID3V1Tag() ``` Initializes a new instance of the ID3V1Tag class. ##### getVersion() ``` public String getVersion() ``` Gets the ID3 version. It can be ID3 or ID3v1.1 **Returns:** java.lang.String - The ID3 version. ##### getArtist() ``` public final String getArtist() ``` Gets the artist. Maximum length is 30 characters. **Returns:** java.lang.String - The artist. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the artist. Maximum length is 30 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The artist. | ##### getAlbum() ``` public final String getAlbum() ``` Gets the album. Maximum length is 30 characters. **Returns:** java.lang.String - The album. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the album. Maximum length is 30 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The album. | ##### getGenreValue() ``` public final ID3V1Genre getGenreValue() ``` Gets the genre identifier. **Returns:** ID3V1Genre - The genre identifier. ##### getComment() ``` public final String getComment() ``` Gets the comment. Maximum length is 30 characters. **Returns:** java.lang.String - The comment. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the comment. Maximum length is 30 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comment. | ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getYear() ``` public final String getYear() ``` Gets the year. Maximum length is 4 characters. **Returns:** java.lang.String - The year. ##### setYear(String value) ``` public final void setYear(String value) ``` Sets the year. Maximum length is 4 characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The year. | ##### getTrackNumber() ``` public final Integer getTrackNumber() ``` Gets the track number. Presented in a ID3v1.1 tag only. **Returns:** java.lang.Integer - The track number. If the value of TrackNumber is a positive integer then ID3 changes version to 'ID3v1.1' automatically. ##### setTrackNumber(Integer value) ``` public final void setTrackNumber(Integer value) ``` Sets the track number. Presented in a ID3v1.1 tag only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The track number. If the value of TrackNumber is a positive integer then ID3 changes version to 'ID3v1.1' automatically. | ### ID3V2AttachedPictureFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2attachedpictureframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2AttachedPictureFrame extends ID3V2TagFrame ``` Represents an APIC frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. | | ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. | | ID3V2AttachedPictureFrame(byte[] pictureData) | Initializes a new instance of the ID3V2AttachedPictureFrame class. | #### Methods | Method | Description | | --- | --- | | getDescriptionEncoding() | Gets the encoding used to encode the picture description. | | getMimeType() | Gets the MIME type of the picture. | | getAttachedPictureType() | Gets the type of the picture. | | getDescription() | Gets the picture description. | | getPictureData() | Gets the picture data. | ##### ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` public ID3V2AttachedPictureFrame(ID3V2EncodingType encoding, String mimeType, ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` Initializes a new instance of the ID3V2AttachedPictureFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The frame encoding. | | mimeType | java.lang.String | The MIME-type of the image. | | pictureType | ID3V2AttachedPictureType | The type of the picture. | | description | java.lang.String | The description of the picture. | | pictureData | byte[] | The picture data. | ##### ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` public ID3V2AttachedPictureFrame(ID3V2AttachedPictureType pictureType, String description, byte[] pictureData) ``` Initializes a new instance of the ID3V2AttachedPictureFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pictureType | ID3V2AttachedPictureType | The type of the picture. | | description | java.lang.String | The description of the picture. | | pictureData | byte[] | The picture data. | ##### ID3V2AttachedPictureFrame(byte[] pictureData) ``` public ID3V2AttachedPictureFrame(byte[] pictureData) ``` Initializes a new instance of the ID3V2AttachedPictureFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pictureData | byte[] | The picture data. | ##### getDescriptionEncoding() ``` public final ID3V2EncodingType getDescriptionEncoding() ``` Gets the encoding used to encode the picture description. **Returns:** ID3V2EncodingType - The encoding used to encode the picture description. ##### getMimeType() ``` public final String getMimeType() ``` Gets the MIME type of the picture. **Returns:** java.lang.String - The MIME type of the picture. ##### getAttachedPictureType() ``` public final ID3V2AttachedPictureType getAttachedPictureType() ``` Gets the type of the picture. **Returns:** ID3V2AttachedPictureType - The type of the picture. ##### getDescription() ``` public final String getDescription() ``` Gets the picture description. The description has a maximum length of 64 characters, but may be empty. **Returns:** java.lang.String - The picture description. ##### getPictureData() ``` public final byte[] getPictureData() ``` Gets the picture data. **Returns:** byte[] - The picture data. ### ID3V2AttachedPictureType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2attachedpicturetype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class ID3V2AttachedPictureType implements IEnumValue ``` Represents the type of an attached picture. #### Fields | Field | Description | | --- | --- | | Other | Attached picture of any other type. | | FileIcon32X32 | 32x32 pixels file icon (PNG only). | | OtherFileIcon | Other file icon. | | CoverFront | Cover (front). | | CoverBack | Cover (back). | | LeafletPage | Leaflet page. | | Media | Media (e.g. | | LeadArtist | Lead artist/lead performer/soloist. | | Artist | Artist/performer. | | Conductor | Conductor. | | Band | Band/Orchestra. | | Composer | Composer/music author. | | Lyricist | Lyricist/text writer. | | RecordingLocation | Recording Location. | | DuringRecording | During recording. | | DuringPerformance | During performance. | | VideoScreenCapture | Movie/video screen capture. | | BrightColouredFish | A bright coloured fish. | | Illustration | Illustration. | | ArtistLogo | Band/artist logotype. | | StudioLogo | Publisher/Studio logotype. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Other ``` public static final ID3V2AttachedPictureType Other ``` Attached picture of any other type. ##### FileIcon32X32 ``` public static final ID3V2AttachedPictureType FileIcon32X32 ``` 32x32 pixels file icon (PNG only). ##### OtherFileIcon ``` public static final ID3V2AttachedPictureType OtherFileIcon ``` Other file icon. ##### CoverFront ``` public static final ID3V2AttachedPictureType CoverFront ``` Cover (front). ##### CoverBack ``` public static final ID3V2AttachedPictureType CoverBack ``` Cover (back). ##### LeafletPage ``` public static final ID3V2AttachedPictureType LeafletPage ``` Leaflet page. ##### Media ``` public static final ID3V2AttachedPictureType Media ``` Media (e.g. label side of CD). ##### LeadArtist ``` public static final ID3V2AttachedPictureType LeadArtist ``` Lead artist/lead performer/soloist. ##### Artist ``` public static final ID3V2AttachedPictureType Artist ``` Artist/performer. ##### Conductor ``` public static final ID3V2AttachedPictureType Conductor ``` Conductor. ##### Band ``` public static final ID3V2AttachedPictureType Band ``` Band/Orchestra. ##### Composer ``` public static final ID3V2AttachedPictureType Composer ``` Composer/music author. ##### Lyricist ``` public static final ID3V2AttachedPictureType Lyricist ``` Lyricist/text writer. ##### RecordingLocation ``` public static final ID3V2AttachedPictureType RecordingLocation ``` Recording Location. ##### DuringRecording ``` public static final ID3V2AttachedPictureType DuringRecording ``` During recording. ##### DuringPerformance ``` public static final ID3V2AttachedPictureType DuringPerformance ``` During performance. ##### VideoScreenCapture ``` public static final ID3V2AttachedPictureType VideoScreenCapture ``` Movie/video screen capture. ##### BrightColouredFish ``` public static final ID3V2AttachedPictureType BrightColouredFish ``` A bright coloured fish. ##### Illustration ``` public static final ID3V2AttachedPictureType Illustration ``` Illustration. ##### ArtistLogo ``` public static final ID3V2AttachedPictureType ArtistLogo ``` Band/artist logotype. ##### StudioLogo ``` public static final ID3V2AttachedPictureType StudioLogo ``` Publisher/Studio logotype. ##### getByRawValue(int rawValue) ``` public static ID3V2AttachedPictureType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ID3V2AttachedPictureType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### ID3V2CommentFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2commentframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2CommentFrame extends ID3V2TagFrame ``` Represents a COMM frame in an ID3V2Tag . This frame is intended for any kind of full text information that does not fit in any other frame. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2CommentFrame(ID3V2EncodingType encoding, String language, String description, String text) | Initializes a new instance of the ID3V2CommentFrame class. | #### Methods | Method | Description | | --- | --- | | getCommentEncoding() | Gets the encoding of the comment. | | getLanguage() | Gets the language of the comment (3 characters). | | getShortContentDescription() | Gets the short content description. | | getText() | Gets the text of the comment. | ##### ID3V2CommentFrame(ID3V2EncodingType encoding, String language, String description, String text) ``` public ID3V2CommentFrame(ID3V2EncodingType encoding, String language, String description, String text) ``` Initializes a new instance of the ID3V2CommentFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the comment. | | language | java.lang.String | The language of the comment. | | description | java.lang.String | A short content description. | | text | java.lang.String | The text of the comment. | ##### getCommentEncoding() ``` public final ID3V2EncodingType getCommentEncoding() ``` Gets the encoding of the comment. **Returns:** ID3V2EncodingType - The encoding of the comment. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the comment (3 characters). **Returns:** java.lang.String - The language of the comment. ##### getShortContentDescription() ``` public final String getShortContentDescription() ``` Gets the short content description. **Returns:** java.lang.String - The short content description. ##### getText() ``` public final String getText() ``` Gets the text of the comment. **Returns:** java.lang.String - The text of the comment. ### ID3V2EncodingType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2encodingtype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ID3V2EncodingType extends Enum implements IEnumValue ``` Defines different types of text encoding used in ID3v2. #### Fields | Field | Description | | --- | --- | | Iso88591 | The ISO-8859-1 encoding. | | Utf16 | The UTF-16 encoding with BOM. | | Utf16Be | The UTF-16 encoding without BOM. | | Utf8 | The UTF-8 encoding. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Iso88591 ``` public static final ID3V2EncodingType Iso88591 ``` The ISO-8859-1 encoding. ##### Utf16 ``` public static final ID3V2EncodingType Utf16 ``` The UTF-16 encoding with BOM. ##### Utf16Be ``` public static final ID3V2EncodingType Utf16Be ``` The UTF-16 encoding without BOM. ##### Utf8 ``` public static final ID3V2EncodingType Utf8 ``` The UTF-8 encoding. ##### values() ``` public static ID3V2EncodingType[] values() ``` **Returns:** com.groupdocs.metadata.core.ID3V2EncodingType[] ##### valueOf(String name) ``` public static ID3V2EncodingType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ID3V2EncodingType ##### getByRawValue(int rawValue) ``` public static ID3V2EncodingType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ID3V2EncodingType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ID3V2MlltFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2mlltframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2MlltFrame extends ID3V2TagFrame ``` Represents an MLLT frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag ### ID3V2PlayCounterFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2playcounterframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2PlayCounterFrame extends ID3V2TagFrame ``` Represents a PCNT frame in an ID3V2Tag . This is simply a counter of the number of times a file has been played. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Methods | Method | Description | | --- | --- | | getValue() | Gets the number of times the file has been played. | ##### getValue() ``` public final long getValue() ``` Gets the number of times the file has been played. **Returns:** long - The number of times the file has been played. ### ID3V2PrivateFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2privateframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2PrivateFrame extends ID3V2TagFrame ``` Represents a PRIV frame in an ID3V2Tag . The frame is used to contain information from a software producer that its program uses and does not fit into the other frames. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2PrivateFrame(String ownerIdentifier, byte[] data) | Initializes a new instance of the ID3V2PrivateFrame class. | #### Methods | Method | Description | | --- | --- | | getOwnerIdentifier() | Gets the owner identifier. | | getBinaryData() | Gets the binary data. | ##### ID3V2PrivateFrame(String ownerIdentifier, byte[] data) ``` public ID3V2PrivateFrame(String ownerIdentifier, byte[] data) ``` Initializes a new instance of the ID3V2PrivateFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ownerIdentifier | java.lang.String | The owner identifier. | | data | byte[] | Frame binary data. | ##### getOwnerIdentifier() ``` public final String getOwnerIdentifier() ``` Gets the owner identifier. **Returns:** java.lang.String - The owner identifier. ##### getBinaryData() ``` public final byte[] getBinaryData() ``` Gets the binary data. **Returns:** byte[] - The binary data. ### ID3V2Tag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2tag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3Tag ``` public final class ID3V2Tag extends ID3Tag ``` Represents an ID3v2 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3\#ID3v2][https_en.wikipedia.org_wiki_ID3_ID3v2] . This example shows how to read the ID3v2 tag in an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getID3V2() != null) { > System.out.println(root.getID3V2().getAlbum()); > System.out.println(root.getID3V2().getArtist()); > System.out.println(root.getID3V2().getBand()); > System.out.println(root.getID3V2().getTitle()); > System.out.println(root.getID3V2().getComposers()); > System.out.println(root.getID3V2().getCopyright()); > System.out.println(root.getID3V2().getPublisher()); > System.out.println(root.getID3V2().getOriginalAlbum()); > System.out.println(root.getID3V2().getMusicalKey()); > if (root.getID3V2().getAttachedPictures() != null) { > for (ID3V2AttachedPictureFrame attachedPicture : root.getID3V2().getAttachedPictures()) { > System.out.println(attachedPicture.getAttachedPictureType()); > System.out.println(attachedPicture.getMimeType()); > System.out.println(attachedPicture.getDescription()); > // ... > } > } > // ... > } > } > > ``` > ``` [https_en.wikipedia.org_wiki_ID3_ID3v2]: https://en.wikipedia.org/wiki/ID3#ID3v2 [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2Tag() | Initializes a new instance of the ID3V2Tag class. | #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the ID3 version. | | getTagSize() | Gets the size of the tag. | | getAlbum() | Gets the Album/Movie/Show title. | | setAlbum(String value) | Sets the Album/Movie/Show title. | | getArtist() | Gets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. | | setArtist(String value) | Sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. | | getBand() | Gets the Band/Orchestra/Accompaniment. | | setBand(String value) | Sets the Band/Orchestra/Accompaniment. | | getBitsPerMinute() | Gets the number of beats per minute in the main part of the audio. | | setBitsPerMinute(String value) | Sets the number of beats per minute in the main part of the audio. | | getComposers() | Gets the composers. | | setComposers(String value) | Sets the composers. | | getContentType() | Gets the content type. | | setContentType(String value) | Sets the content type. | | getCopyright() | Gets the copyright message. | | setCopyright(String value) | Sets the copyright message. | | getDate() | Gets a numeric string in the DDMM format containing the date for the recording. | | setDate(String value) | Sets a numeric string in the DDMM format containing the date for the recording. | | getEncodedBy() | Gets the name of the person or organization that encoded the audio file. | | setEncodedBy(String value) | Sets the name of the person or organization that encoded the audio file. | | getPublisher() | Gets the name of the label or publisher. | | setPublisher(String value) | Sets the name of the label or publisher. | | getTime() | Gets a numeric string in the HHMM format containing the time for the recording. | | setTime(String value) | Sets a numeric string in the HHMM format containing the time for the recording. | | getTitle() | Gets the Title/Song name/Content description. | | setTitle(String value) | Sets the Title/Song name/Content description. | | getSubtitle() | Gets the Subtitle/Description refinement. | | setSubtitle(String value) | Sets the Subtitle/Description refinement. | | getMusicalKey() | Gets the musical key in which the sound starts. | | setMusicalKey(String value) | Sets the musical key in which the sound starts. | | getLengthInMilliseconds() | Gets the length of the audio file in milliseconds, represented as a numeric string. | | setLengthInMilliseconds(String value) | Sets the length of the audio file in milliseconds, represented as a numeric string. | | getOriginalAlbum() | Gets the original album/movie/show title. | | setOriginalAlbum(String value) | Sets the original album/movie/show title. | | getTrackNumber() | Gets a numeric string containing the order number of the audio-file on its original recording. | | setTrackNumber(String value) | Sets a numeric string containing the order number of the audio-file on its original recording. | | getSizeInBytes() | Gets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. | | setSizeInBytes(String value) | Sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. | | getIsrc() | Gets the International Standard Recording Code (ISRC) (12 characters). | | setIsrc(String value) | Sets the International Standard Recording Code (ISRC) (12 characters). | | getSoftwareHardware() | Gets the used audio encoder and its settings when the file was encoded. | | setSoftwareHardware(String value) | Sets the used audio encoder and its settings when the file was encoded. | | getYear() | Gets a numeric string with a year of the recording. | | setYear(String value) | Sets a numeric string with a year of the recording. | | getComments() | Gets the user comments. | | setComments(ID3V2CommentFrame[] value) | Sets the user comments. | | getAttachedPictures() | Gets the attached pictures directly related to the audio file. | | setAttachedPictures(ID3V2AttachedPictureFrame[] value) | Sets the attached pictures directly related to the audio file. | | getTrackPlayCounter() | Gets the number of times the file has been played. | | toList() | Creates a list from the package. | | removeAttachedPictures() | Removes all attached pictures stored in APIC frames. | | get(String frameId) | Gets an array of frames with the specified id. | | set(ID3V2TagFrame frame) | Removes all frames having the same id as the specified one and adds the new frame to the tag. | | clear(String frameId) | Removes all frames with the specified id. | | add(ID3V2TagFrame frame) | Adds a frame to the tag. | | remove(ID3V2TagFrame frame) | Removes the specified frame from the tag. | ##### ID3V2Tag() ``` public ID3V2Tag() ``` Initializes a new instance of the ID3V2Tag class. ##### getVersion() ``` public String getVersion() ``` Gets the ID3 version. **Returns:** java.lang.String - The ID3 version. ##### getTagSize() ``` public final int getTagSize() ``` Gets the size of the tag. **Returns:** int - The size of the tag. ##### getAlbum() ``` public final String getAlbum() ``` Gets the Album/Movie/Show title. This value is represented by the TALB frame. **Returns:** java.lang.String - The Album/Movie/Show title. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the Album/Movie/Show title. This value is represented by the TALB frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Album/Movie/Show title. | ##### getArtist() ``` public final String getArtist() ``` Gets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. This value is represented by the TPE1 frame. **Returns:** java.lang.String - The Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. This value is represented by the TPE1 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. | ##### getBand() ``` public final String getBand() ``` Gets the Band/Orchestra/Accompaniment. This value is represented by the TPE2 frame. **Returns:** java.lang.String - The Band/Orchestra/Accompaniment. ##### setBand(String value) ``` public final void setBand(String value) ``` Sets the Band/Orchestra/Accompaniment. This value is represented by the TPE2 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Band/Orchestra/Accompaniment. | ##### getBitsPerMinute() ``` public final String getBitsPerMinute() ``` Gets the number of beats per minute in the main part of the audio. This value is represented by the TBPM frame. **Returns:** java.lang.String - The number of beats per minute in the main part of the audio. ##### setBitsPerMinute(String value) ``` public final void setBitsPerMinute(String value) ``` Sets the number of beats per minute in the main part of the audio. This value is represented by the TBPM frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The number of beats per minute in the main part of the audio. | ##### getComposers() ``` public final String getComposers() ``` Gets the composers. The names are separated with the "/" character. This value is represented by the TCOM frame. **Returns:** java.lang.String - The composers. The names are separated with the "/" character. ##### setComposers(String value) ``` public final void setComposers(String value) ``` Sets the composers. The names are separated with the "/" character. This value is represented by the TCOM frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The composers. The names are separated with the "/" character. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type. This value is represented by the TCON frame. **Returns:** java.lang.String - The content type. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type. This value is represented by the TCON frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content type. | ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright message. This value is represented by the TCOP frame. **Returns:** java.lang.String - The copyright message. Every time this field is displayed the field must be preceded with "Copyright ?? ". ##### setCopyright(String value) ``` public final void setCopyright(String value) ``` Sets the copyright message. This value is represented by the TCOP frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The copyright message. Every time this field is displayed the field must be preceded with "Copyright ?? ". | ##### getDate() ``` public final String getDate() ``` Gets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long. This value is represented by the TDAT frame. **Returns:** java.lang.String - A numeric string in the DDMM format containing the date for the recording. ##### setDate(String value) ``` public final void setDate(String value) ``` Sets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long. This value is represented by the TDAT frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string in the DDMM format containing the date for the recording. | ##### getEncodedBy() ``` public final String getEncodedBy() ``` Gets the name of the person or organization that encoded the audio file. This value is represented by the TENC frame. **Returns:** java.lang.String - The name of the person or organization that encoded the audio file. ##### setEncodedBy(String value) ``` public final void setEncodedBy(String value) ``` Sets the name of the person or organization that encoded the audio file. This value is represented by the TENC frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the person or organization that encoded the audio file. | ##### getPublisher() ``` public final String getPublisher() ``` Gets the name of the label or publisher. This value is represented by the TPUB frame. **Returns:** java.lang.String - The name of the label or publisher. ##### setPublisher(String value) ``` public final void setPublisher(String value) ``` Sets the name of the label or publisher. This value is represented by the TPUB frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the label or publisher. | ##### getTime() ``` public final String getTime() ``` Gets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long. This value is represented by the TIME frame. **Returns:** java.lang.String - A numeric string in the HHMM format containing the time for the recording. ##### setTime(String value) ``` public final void setTime(String value) ``` Sets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long. This value is represented by the TIME frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string in the HHMM format containing the time for the recording. | ##### getTitle() ``` public final String getTitle() ``` Gets the Title/Song name/Content description. This value is represented by the TIT2 frame. **Returns:** java.lang.String - The Title/Song name/Content description. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the Title/Song name/Content description. This value is represented by the TIT2 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Title/Song name/Content description. | ##### getSubtitle() ``` public final String getSubtitle() ``` Gets the Subtitle/Description refinement. This value is represented by the TIT3 frame. **Returns:** java.lang.String - The Subtitle/Description refinement. ##### setSubtitle(String value) ``` public final void setSubtitle(String value) ``` Sets the Subtitle/Description refinement. This value is represented by the TIT3 frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Subtitle/Description refinement. | ##### getMusicalKey() ``` public final String getMusicalKey() ``` Gets the musical key in which the sound starts. This value is represented by the TKEY frame. **Returns:** java.lang.String - The musical key in which the sound starts. ##### setMusicalKey(String value) ``` public final void setMusicalKey(String value) ``` Sets the musical key in which the sound starts. This value is represented by the TKEY frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The musical key in which the sound starts. | ##### getLengthInMilliseconds() ``` public final String getLengthInMilliseconds() ``` Gets the length of the audio file in milliseconds, represented as a numeric string. This value is represented by the TLEN frame. **Returns:** java.lang.String - The length of the audio file in milliseconds, represented as a numeric string. ##### setLengthInMilliseconds(String value) ``` public final void setLengthInMilliseconds(String value) ``` Sets the length of the audio file in milliseconds, represented as a numeric string. This value is represented by the TLEN frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The length of the audio file in milliseconds, represented as a numeric string. | ##### getOriginalAlbum() ``` public final String getOriginalAlbum() ``` Gets the original album/movie/show title. This value is represented by the TOAL frame. **Returns:** java.lang.String - The original album/movie/show title. ##### setOriginalAlbum(String value) ``` public final void setOriginalAlbum(String value) ``` Sets the original album/movie/show title. This value is represented by the TOAL frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The original album/movie/show title. | ##### getTrackNumber() ``` public final String getTrackNumber() ``` Gets a numeric string containing the order number of the audio-file on its original recording. This value is represented by the TRCK frame. **Returns:** java.lang.String - A numeric string containing the order number of the audio-file on its original recording ##### setTrackNumber(String value) ``` public final void setTrackNumber(String value) ``` Sets a numeric string containing the order number of the audio-file on its original recording. This value is represented by the TRCK frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string containing the order number of the audio-file on its original recording | ##### getSizeInBytes() ``` public final String getSizeInBytes() ``` Gets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. This value is represented by the TSIZ frame. **Returns:** java.lang.String - The size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. ##### setSizeInBytes(String value) ``` public final void setSizeInBytes(String value) ``` Sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. This value is represented by the TSIZ frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. | ##### getIsrc() ``` public final String getIsrc() ``` Gets the International Standard Recording Code (ISRC) (12 characters). This value is represented by the TSRC frame. **Returns:** java.lang.String - The International Standard Recording Code (ISRC) (12 characters). ##### setIsrc(String value) ``` public final void setIsrc(String value) ``` Sets the International Standard Recording Code (ISRC) (12 characters). This value is represented by the TSRC frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The International Standard Recording Code (ISRC) (12 characters). | ##### getSoftwareHardware() ``` public final String getSoftwareHardware() ``` Gets the used audio encoder and its settings when the file was encoded. This value is represented by the TSSE frame. **Returns:** java.lang.String - The used audio encoder and its settings when the file was encoded. ##### setSoftwareHardware(String value) ``` public final void setSoftwareHardware(String value) ``` Sets the used audio encoder and its settings when the file was encoded. This value is represented by the TSSE frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The used audio encoder and its settings when the file was encoded. | ##### getYear() ``` public final String getYear() ``` Gets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000). This value is represented by the TYER frame. **Returns:** java.lang.String - A numeric string with a year of the recording. This frames is always four characters long (until the year 10000). ##### setYear(String value) ``` public final void setYear(String value) ``` Sets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000). This value is represented by the TYER frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A numeric string with a year of the recording. This frames is always four characters long (until the year 10000). | ##### getComments() ``` public final ID3V2CommentFrame[] getComments() ``` Gets the user comments. This value is represented by the COMM frame. The frame is intended for any kind of full text information that does not fit in any other frame. **Returns:** com.groupdocs.metadata.core.ID3V2CommentFrame[] - The user comments. ##### setComments(ID3V2CommentFrame[] value) ``` public final void setComments(ID3V2CommentFrame[] value) ``` Sets the user comments. This value is represented by the COMM frame. The frame is intended for any kind of full text information that does not fit in any other frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V2CommentFrame\[\] | The user comments. | ##### getAttachedPictures() ``` public final ID3V2AttachedPictureFrame[] getAttachedPictures() ``` Gets the attached pictures directly related to the audio file. This value is represented by the APIC frame. **Returns:** com.groupdocs.metadata.core.ID3V2AttachedPictureFrame[] - The attached pictures directly related to the audio file. ##### setAttachedPictures(ID3V2AttachedPictureFrame[] value) ``` public final void setAttachedPictures(ID3V2AttachedPictureFrame[] value) ``` Sets the attached pictures directly related to the audio file. This value is represented by the APIC frame. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V2AttachedPictureFrame\[\] | The attached pictures directly related to the audio file. | ##### getTrackPlayCounter() ``` public final Long getTrackPlayCounter() ``` Gets the number of times the file has been played. This value is represented by the PCNT frame. **Returns:** java.lang.Long - The number of times a file has been played. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list of all frames contained in the ID3v2 tag. ##### removeAttachedPictures() ``` public final void removeAttachedPictures() ``` Removes all attached pictures stored in APIC frames. ##### get(String frameId) ``` public final ID3V2TagFrame[] get(String frameId) ``` Gets an array of frames with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frameId | java.lang.String | The id of the frames to get. | **Returns:** com.groupdocs.metadata.core.ID3V2TagFrame[] - An array of frames with the specified id. ##### set(ID3V2TagFrame frame) ``` public final void set(ID3V2TagFrame frame) ``` Removes all frames having the same id as the specified one and adds the new frame to the tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to replace all frames of its kind with. | ##### clear(String frameId) ``` public final void clear(String frameId) ``` Removes all frames with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frameId | java.lang.String | The id of the frames to remove. | ##### add(ID3V2TagFrame frame) ``` public final void add(ID3V2TagFrame frame) ``` Adds a frame to the tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to be added to the tag. | ##### remove(ID3V2TagFrame frame) ``` public final void remove(ID3V2TagFrame frame) ``` Removes the specified frame from the tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frame | ID3V2TagFrame | The frame to be removed from the tag. | ### ID3V2TagFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2tagframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class ID3V2TagFrame extends CustomPackage ``` Represents a generic frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2TagFrame(String frameId, byte[] data) | Initializes a new instance of the ID3V2TagFrame class. | #### Methods | Method | Description | | --- | --- | | getId() | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | getFlags() | Gets the frame flags. | | getData() | Gets the frame data. | ##### ID3V2TagFrame(String frameId, byte[] data) ``` public ID3V2TagFrame(String frameId, byte[] data) ``` Initializes a new instance of the ID3V2TagFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | frameId | java.lang.String | The id of the frame (four characters matching the pattern [A-Z0-9]). | | data | byte[] | The content of the frame. | ##### getId() ``` public final String getId() ``` Gets the id of the frame (four characters matching the pattern [A-Z0-9]). **Returns:** java.lang.String - The id of the frame (four characters matching the pattern [A-Z0-9]). ##### getFlags() ``` public final ID3V2TagFrameFlags getFlags() ``` Gets the frame flags. **Returns:** ID3V2TagFrameFlags - The frame flags. ##### getData() ``` public final byte[] getData() ``` Gets the frame data. **Returns:** byte[] - The frame data. ### ID3V2TagFrameFlags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2tagframeflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class ID3V2TagFrameFlags implements System.IEquatable ``` Represents flags used in a ID3v2 tag frame. #### Methods | Method | Description | | --- | --- | | getTagAlterPreservation() | Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. | | getFileAlterPreservation() | Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. | | getReadOnly() | Gets the tag that tells the software that the contents of this frame is intended to be read-only. | | getCompression() | Gets a value indicating whether the frame is compressed. | | getEncryption() | Gets a value indicating whether the frame is encrypted. | | getGroupingIdentity() | Gets a value indicating whether the frame belongs to a group of frames. | | getUnsynchronisation() | Gets a value indicating whether unsynchronisation was applied to this frame. | | getDataLengthIndicator() | Gets a value indicating whether a data length indicator has been added to the frame. | | equals(ID3V2TagFrameFlags other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Determines whether the specified object is equal to this instance. | | hashCode() | Returns a hash code for this instance. | ##### getTagAlterPreservation() ``` public final boolean getTagAlterPreservation() ``` Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. This applies to all kinds of alterations, including adding more padding and reordering the frames. **Returns:** boolean - The flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. ##### getFileAlterPreservation() ``` public final boolean getFileAlterPreservation() ``` Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. This does not apply when the audio is completely replaced with other audio data. **Returns:** boolean - Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. ##### getReadOnly() ``` public final boolean getReadOnly() ``` Gets the tag that tells the software that the contents of this frame is intended to be read-only. **Returns:** boolean - The tag that tells the software that the contents of this frame is intended to be read-only. ##### getCompression() ``` public final boolean getCompression() ``` Gets a value indicating whether the frame is compressed. **Returns:** boolean - true , if the frame is compressed; otherwise, false. ##### getEncryption() ``` public final boolean getEncryption() ``` Gets a value indicating whether the frame is encrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. **Returns:** boolean - true , if the frame is encrypted; otherwise, false. ##### getGroupingIdentity() ``` public final boolean getGroupingIdentity() ``` Gets a value indicating whether the frame belongs to a group of frames. If set a group identifier byte is added to the frame header. Every frame with the same group identifier belongs to the same group. **Returns:** boolean - true , if the frame belongs to a group of frames; otherwise, false. ##### getUnsynchronisation() ``` public final boolean getUnsynchronisation() ``` Gets a value indicating whether unsynchronisation was applied to this frame. **Returns:** boolean - true , if unsynchronisation was applied to this frame; otherwise, false. ##### getDataLengthIndicator() ``` public final boolean getDataLengthIndicator() ``` Gets a value indicating whether a data length indicator has been added to the frame. The data length indicator is the value one would write as the 'Frame length' if all of the frame format flags were zeroed, represented as a 32 bit synchsafe integer. **Returns:** boolean - true , if a data length indicator has been added to the frame; otherwise, false. ##### equals(ID3V2TagFrameFlags other) ``` public final boolean equals(ID3V2TagFrameFlags other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | ID3V2TagFrameFlags | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether the specified object is equal to this instance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The System.Object to compare with this instance. | **Returns:** boolean - true if the specified System.Object is equal to this instance; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ### ID3V2TextFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2textframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public class ID3V2TextFrame extends ID3V2TagFrame ``` Represents a text frame in an ID3V2Tag . Almost all frames starting with the T character fall into this category. There is only one exception, which is the TXXX frame represented by the ID3V2UserDefinedFrame class. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value) | Initializes a new instance of the ID3V2TextFrame class. | #### Methods | Method | Description | | --- | --- | | getTextEncoding() | Gets the text encoding. | | getText() | Gets the text value. | ##### ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value) ``` public ID3V2TextFrame(String id, ID3V2EncodingType encoding, String value) ``` Initializes a new instance of the ID3V2TextFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The frame id. | | encoding | ID3V2EncodingType | The encoding of the frame. | | value | java.lang.String | The frame value. | ##### getTextEncoding() ``` public final ID3V2EncodingType getTextEncoding() ``` Gets the text encoding. **Returns:** ID3V2EncodingType - The text encoding. ##### getText() ``` public final String getText() ``` Gets the text value. **Returns:** java.lang.String - The text value. ### ID3V2UrlLinkFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2urllinkframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2UrlLinkFrame extends ID3V2TagFrame ``` Represents a URL link frame in an ID3V2Tag . Name of the frame always starts with the W character. [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2UrlLinkFrame(String id, String url) | Initializes a new instance of the ID3V2UrlLinkFrame class. | #### Methods | Method | Description | | --- | --- | | getUrl() | Gets the URL value. | ##### ID3V2UrlLinkFrame(String id, String url) ``` public ID3V2UrlLinkFrame(String id, String url) ``` Initializes a new instance of the ID3V2UrlLinkFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The frame id. | | url | java.lang.String | The URL which is the value of the frame. | ##### getUrl() ``` public final String getUrl() ``` Gets the URL value. **Returns:** java.lang.String - The URL value. ### ID3V2UserDefinedFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2userdefinedframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2UserDefinedFrame extends ID3V2TagFrame ``` Represents a TXXX frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2UserDefinedFrame(String description, String value) | Initializes a new instance of the ID3V2UserDefinedFrame class. | | ID3V2UserDefinedFrame(ID3V2EncodingType encoding, String description, String value) | Initializes a new instance of the ID3V2UserDefinedFrame class. | #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding of the frame. | | getDescription() | Gets the description. | | getValue() | Gets the value. | ##### ID3V2UserDefinedFrame(String description, String value) ``` public ID3V2UserDefinedFrame(String description, String value) ``` Initializes a new instance of the ID3V2UserDefinedFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | description | java.lang.String | The description. | | value | java.lang.String | The value. | ##### ID3V2UserDefinedFrame(ID3V2EncodingType encoding, String description, String value) ``` public ID3V2UserDefinedFrame(ID3V2EncodingType encoding, String description, String value) ``` Initializes a new instance of the ID3V2UserDefinedFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the frame. | | description | java.lang.String | The description. | | value | java.lang.String | The text value. | ##### getEncoding() ``` public final ID3V2EncodingType getEncoding() ``` Gets the encoding of the frame. **Returns:** ID3V2EncodingType - The encoding of the frame. ##### getDescription() ``` public final String getDescription() ``` Gets the description. **Returns:** java.lang.String - The description. ##### getValue() ``` public final String getValue() ``` Gets the value. **Returns:** java.lang.String - The value. ### ID3V2UserDefinedUrlLinkFrame Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/id3v2userdefinedurllinkframe.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ID3V2TagFrame ``` public final class ID3V2UserDefinedUrlLinkFrame extends ID3V2TagFrame ``` Represents a WXXX frame in an ID3V2Tag . [Handling the ID3v2 tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+ID3v2+tag #### Constructors | Constructor | Description | | --- | --- | | ID3V2UserDefinedUrlLinkFrame(String description, String url) | Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. | | ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType encoding, String description, String url) | Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. | #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding of the frame. | | getDescription() | Gets the description. | | getUrl() | Gets the URL. | ##### ID3V2UserDefinedUrlLinkFrame(String description, String url) ``` public ID3V2UserDefinedUrlLinkFrame(String description, String url) ``` Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | description | java.lang.String | The description. | | url | java.lang.String | The actual value of the frame. | ##### ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType encoding, String description, String url) ``` public ID3V2UserDefinedUrlLinkFrame(ID3V2EncodingType encoding, String description, String url) ``` Initializes a new instance of the ID3V2UserDefinedUrlLinkFrame class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | encoding | ID3V2EncodingType | The encoding of the frame. | | description | java.lang.String | The description. | | url | java.lang.String | The actual value of the frame. | ##### getEncoding() ``` public final ID3V2EncodingType getEncoding() ``` Gets the encoding of the frame. **Returns:** ID3V2EncodingType - The encoding of the frame. ##### getDescription() ``` public final String getDescription() ``` Gets the description. **Returns:** java.lang.String - The description. ##### getUrl() ``` public final String getUrl() ``` Gets the URL. **Returns:** java.lang.String - The URL. ### IDocumentInfo Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/idocumentinfo.md ### IDublinCore Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/idublincore.md ### IEnumValue Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/ienumvalue.md ### IEnumValueInterpreter Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/ienumvalueinterpreter.md ### IExif Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iexif.md ### IIptc Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iiptc.md ### ImageResourceBlock Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/imageresourceblock.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ImageResourceBlock extends CustomPackage ``` Represents a Photoshop Image Resource block. Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF. Image resources are used to store non-pixel data associated with images, such as pen tool paths. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | getSignature() | Gets the image resource block signature. | | getID() | Gets the unique identifier for the resource. | | getName() | Gets the image resource block name. | | getData() | Gets the resource data. | ##### getSignature() ``` public final String getSignature() ``` Gets the image resource block signature. **Returns:** java.lang.String - The image resource block signature ##### getID() ``` public final ImageResourceID getID() ``` Gets the unique identifier for the resource. **Returns:** ImageResourceID - The identifier. ##### getName() ``` public final String getName() ``` Gets the image resource block name. **Returns:** java.lang.String - The image resource block name. ##### getData() ``` public final byte[] getData() ``` Gets the resource data. **Returns:** byte[] - The resource data. ### ImageResourceID Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/imageresourceid.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class ImageResourceID implements IEnumValue ``` Image resources standard ID numbers. Not all file formats use all ID's. Some information may be stored in other sections of the file. #### Fields | Field | Description | | --- | --- | | ResolutionInfo | ResolutionInfo structure. | | NamesOfAlphaChannels | Names of the alpha channels as a series of Pascal strings. | | Caption | The caption as a Pascal string. | | BorderInformation | Border information. | | BackgroundColor | Background color. | | PrintFlags | Print flags. | | Grayscale | Grayscale and multichannel halftoning information. | | ColorHalftoning | Color halftoning information. | | DuotoneHalftoning | Duotone halftoning information. | | GrayscaleFunction | Grayscale and multichannel transfer function. | | ColorTransferFunctions | Color transfer functions. | | DuotoneTransferFunctions | Duotone transfer functions. | | DuotoneImageInformation | Duotone image information. | | EPSOptions | EPS options. | | QuickMaskInformation | Quick Mask information. | | LayerStateInformation | Layer state information. | | WorkingPath | Working path (not saved). | | LayersGroupInformation | Layers group information. | | Iptc | IPTC-NAA record. | | ImageModeForRawFormat | Image mode for raw format files. | | JpegQuality | JPEG quality. | | GridAndGuidesInfoPhotoshop4 | Grid and guides information. | | ThumbnailResourcePhotoshop4 | Thumbnail resource for Photoshop 4.0 only. | | CopyrightFlagPhotoshop4 | Copyright flag. | | UrlPhotoshop4 | URL. | | ThumbnailResourcePhotoshop5 | Thumbnail resource (supersedes resource 1033). | | GlobalAnglePhotoshop5 | Global Angle. | | IccProfilePhotoshop5 | (Photoshop 5.0) ICC Profile. | | WatermarkPhotoshop5 | Watermark. | | IccUntaggedProfilePhotoshop5 | ICC Untagged Profile. | | TransparencyIndexPhotoshop6 | Transparency Index. | | GlobalAltitudePhotoshop6 | Global Altitude. | | SlicesPhotoshop6 | Slices (Photoshop 6). | | WorkflowUrlPhotoshop6 | Workflow URL. | | AlphaIdentifiersPhotoshop6 | Alpha Identifiers. | | UrlListPhotoshop6 | URL InternalList. | | VersionInfoPhotoshop6 | Version Info. | | ExifData1Photoshop7 | EXIF data 1, see more . | | ExifData3Photoshop7 | EXIF data 3. | | XmpPhotoshop7 | XMP metadata. | | CaptionDigestPhotoshop7 | Caption digest. | | PrintScalePhotoshop7 | Print scale. | | PixelAspectRatio | Pixel Aspect Ratio. | | LayerComps | Layer Comps. | | LayerSelectionIds | Layer Selection ID(s). | | PrintInfoCS2 | Print info (Photoshop CS2). | | LayerGroupEnabledIdCS2 | Layer Group(s) Enabled ID. | | ColorSamplersResourceCS3 | Color samplers resource. | | MeasurementScaleCS3 | Measurement Scale. | | TimelineInformationCS3 | Timeline Information. | | SheetDisclosureCS3 | Sheet Disclosure. | | PrintInformationCS5 | Print Information (Photoshop CS5). | | PrintStyleCS5 | Print Style (Photoshop CS5). | | MacintoshNSPrintInfoCS5 | Macintosh NSPrintInfo. | | WindowsDevmodeCS5 | Windows DEVMODE. | | AutoSaveFilePathCS6 | Auto Save File Path. | | AutoSaveFormatCS6 | Auto Save Format. | | PathSelectionStateCC | Path Selection State. | | ImageReadyVariables | Image Ready variables. | | ImageReadyDatasets | Image Ready data sets. | | PrintFlagsInformation | Print flags information. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### ResolutionInfo ``` public static final ImageResourceID ResolutionInfo ``` ResolutionInfo structure. See Appendix A in Photoshop API Guide PDF document. ##### NamesOfAlphaChannels ``` public static final ImageResourceID NamesOfAlphaChannels ``` Names of the alpha channels as a series of Pascal strings. ##### Caption ``` public static final ImageResourceID Caption ``` The caption as a Pascal string. ##### BorderInformation ``` public static final ImageResourceID BorderInformation ``` Border information. Contains a fixed number (2 bytes real, 2 bytes fraction) for the border width, and 2 bytes for border units (1 = inches, 2 = cm, 3 = points, 4 = picas, 5 = columns). ##### BackgroundColor ``` public static final ImageResourceID BackgroundColor ``` Background color. See more. ##### PrintFlags ``` public static final ImageResourceID PrintFlags ``` Print flags. A series of one-byte boolean values (see Page Setup dialog): labels, crop marks, color bars, registration marks, negative, flip, interpolate, caption, print flags. ##### Grayscale ``` public static final ImageResourceID Grayscale ``` Grayscale and multichannel halftoning information. ##### ColorHalftoning ``` public static final ImageResourceID ColorHalftoning ``` Color halftoning information. ##### DuotoneHalftoning ``` public static final ImageResourceID DuotoneHalftoning ``` Duotone halftoning information. ##### GrayscaleFunction ``` public static final ImageResourceID GrayscaleFunction ``` Grayscale and multichannel transfer function. ##### ColorTransferFunctions ``` public static final ImageResourceID ColorTransferFunctions ``` Color transfer functions. ##### DuotoneTransferFunctions ``` public static final ImageResourceID DuotoneTransferFunctions ``` Duotone transfer functions. ##### DuotoneImageInformation ``` public static final ImageResourceID DuotoneImageInformation ``` Duotone image information. ##### EPSOptions ``` public static final ImageResourceID EPSOptions ``` EPS options. ##### QuickMaskInformation ``` public static final ImageResourceID QuickMaskInformation ``` Quick Mask information. 2 bytes containing Quick Mask channel ID; 1- byte boolean indicating whether the mask was initially empty. ##### LayerStateInformation ``` public static final ImageResourceID LayerStateInformation ``` Layer state information. 2 bytes containing the index of target layer (0 = bottom layer). ##### WorkingPath ``` public static final ImageResourceID WorkingPath ``` Working path (not saved). See See Path resource format. ##### LayersGroupInformation ``` public static final ImageResourceID LayersGroupInformation ``` Layers group information. 2 bytes per layer containing a group ID for the dragging groups. Layers in a group have the same group ID. ##### Iptc ``` public static final ImageResourceID Iptc ``` IPTC-NAA record. Contains the File Info... information. See the documentation in the IPTC folder of the Documentation folder. ##### ImageModeForRawFormat ``` public static final ImageResourceID ImageModeForRawFormat ``` Image mode for raw format files. ##### JpegQuality ``` public static final ImageResourceID JpegQuality ``` JPEG quality. Private. ##### GridAndGuidesInfoPhotoshop4 ``` public static final ImageResourceID GridAndGuidesInfoPhotoshop4 ``` Grid and guides information. ##### ThumbnailResourcePhotoshop4 ``` public static final ImageResourceID ThumbnailResourcePhotoshop4 ``` Thumbnail resource for Photoshop 4.0 only. ##### CopyrightFlagPhotoshop4 ``` public static final ImageResourceID CopyrightFlagPhotoshop4 ``` Copyright flag. Boolean indicating whether image is copyrighted. Can be set via Property suite or by user in File Info... ##### UrlPhotoshop4 ``` public static final ImageResourceID UrlPhotoshop4 ``` URL. Handle of a text string with uniform resource locator. Can be set via Property suite or by user in File Info... ##### ThumbnailResourcePhotoshop5 ``` public static final ImageResourceID ThumbnailResourcePhotoshop5 ``` Thumbnail resource (supersedes resource 1033). See See Thumbnail resource format. ##### GlobalAnglePhotoshop5 ``` public static final ImageResourceID GlobalAnglePhotoshop5 ``` Global Angle. 4 bytes that contain an integer between 0 and 359, which is the global lighting angle for effects layer. If not present, assumed to be 30. ##### IccProfilePhotoshop5 ``` public static final ImageResourceID IccProfilePhotoshop5 ``` (Photoshop 5.0) ICC Profile. The raw bytes of an ICC (International Color Consortium) format profile. See ICC1v42\_2006-05.pdf in the Documentation folder and icProfileHeader.h in Sample Code\\Common\\Includes. ##### WatermarkPhotoshop5 ``` public static final ImageResourceID WatermarkPhotoshop5 ``` Watermark. One byte. ##### IccUntaggedProfilePhotoshop5 ``` public static final ImageResourceID IccUntaggedProfilePhotoshop5 ``` ICC Untagged Profile. 1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged. ##### TransparencyIndexPhotoshop6 ``` public static final ImageResourceID TransparencyIndexPhotoshop6 ``` Transparency Index. 2 bytes for the index of transparent color, if any. ##### GlobalAltitudePhotoshop6 ``` public static final ImageResourceID GlobalAltitudePhotoshop6 ``` Global Altitude. 4 byte entry for altitude. ##### SlicesPhotoshop6 ``` public static final ImageResourceID SlicesPhotoshop6 ``` Slices (Photoshop 6). ##### WorkflowUrlPhotoshop6 ``` public static final ImageResourceID WorkflowUrlPhotoshop6 ``` Workflow URL. Unicode string. Photoshop 6. ##### AlphaIdentifiersPhotoshop6 ``` public static final ImageResourceID AlphaIdentifiersPhotoshop6 ``` Alpha Identifiers. 4 bytes of length, followed by 4 bytes each for every alpha identifier. ##### UrlListPhotoshop6 ``` public static final ImageResourceID UrlListPhotoshop6 ``` URL InternalList. 4 byte count of URLs, followed by 4 byte long, 4 byte ID, and Unicode string for each count. ##### VersionInfoPhotoshop6 ``` public static final ImageResourceID VersionInfoPhotoshop6 ``` Version Info. 4 bytes version, 1 byte hasRealMergedData , Unicode string: writer name, Unicode string: reader name, 4 bytes file version. ##### ExifData1Photoshop7 ``` public static final ImageResourceID ExifData1Photoshop7 ``` EXIF data 1, see more . ##### ExifData3Photoshop7 ``` public static final ImageResourceID ExifData3Photoshop7 ``` EXIF data 3. ##### XmpPhotoshop7 ``` public static final ImageResourceID XmpPhotoshop7 ``` XMP metadata. File info as XML description, see more . ##### CaptionDigestPhotoshop7 ``` public static final ImageResourceID CaptionDigestPhotoshop7 ``` Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm. ##### PrintScalePhotoshop7 ``` public static final ImageResourceID PrintScalePhotoshop7 ``` Print scale. 2 bytes style (0 = centered, 1 = size to fit, 2 = user defined). 4 bytes x location (floating point). 4 bytes y location (floating point). 4 bytes scale (floating point). ##### PixelAspectRatio ``` public static final ImageResourceID PixelAspectRatio ``` Pixel Aspect Ratio. 4 bytes (version = 1 or 2), 8 bytes double, x / y of a pixel. Version 2, attempting to correct values for NTSC and PAL, previously off by a factor of approx. 5%. ##### LayerComps ``` public static final ImageResourceID LayerComps ``` Layer Comps. 4 bytes (descriptor version = 16), Descriptor. ##### LayerSelectionIds ``` public static final ImageResourceID LayerSelectionIds ``` Layer Selection ID(s). 2 bytes count, following is repeated for each count: 4 bytes layer ID. ##### PrintInfoCS2 ``` public static final ImageResourceID PrintInfoCS2 ``` Print info (Photoshop CS2). ##### LayerGroupEnabledIdCS2 ``` public static final ImageResourceID LayerGroupEnabledIdCS2 ``` Layer Group(s) Enabled ID. 1 byte for each layer in the document, repeated by length of the resource. NOTE: Layer groups have start and end markers (Photoshop CS2). ##### ColorSamplersResourceCS3 ``` public static final ImageResourceID ColorSamplersResourceCS3 ``` Color samplers resource. Also see ID 1038 for old format. ##### MeasurementScaleCS3 ``` public static final ImageResourceID MeasurementScaleCS3 ``` Measurement Scale. 4 bytes (descriptor version = 16), Descriptor. ##### TimelineInformationCS3 ``` public static final ImageResourceID TimelineInformationCS3 ``` Timeline Information. 4 bytes (descriptor version = 16), Descriptor. ##### SheetDisclosureCS3 ``` public static final ImageResourceID SheetDisclosureCS3 ``` Sheet Disclosure. 4 bytes (descriptor version = 16), Descriptor. ##### PrintInformationCS5 ``` public static final ImageResourceID PrintInformationCS5 ``` Print Information (Photoshop CS5). ##### PrintStyleCS5 ``` public static final ImageResourceID PrintStyleCS5 ``` Print Style (Photoshop CS5). ##### MacintoshNSPrintInfoCS5 ``` public static final ImageResourceID MacintoshNSPrintInfoCS5 ``` Macintosh NSPrintInfo. Variable OS specific info for Macintosh. NSPrintInfo. It is recommended that you do not interpret or use this data. (Photoshop CS5). ##### WindowsDevmodeCS5 ``` public static final ImageResourceID WindowsDevmodeCS5 ``` Windows DEVMODE. Variable OS specific info for Windows. DEVMODE. It is recommended that you do not interpret or use this data. (Photoshop CS5). ##### AutoSaveFilePathCS6 ``` public static final ImageResourceID AutoSaveFilePathCS6 ``` Auto Save File Path. Unicode string. (Photoshop CS6). ##### AutoSaveFormatCS6 ``` public static final ImageResourceID AutoSaveFormatCS6 ``` Auto Save Format. Unicode string. (Photoshop CS6). ##### PathSelectionStateCC ``` public static final ImageResourceID PathSelectionStateCC ``` Path Selection State. (Photoshop CC). ##### ImageReadyVariables ``` public static final ImageResourceID ImageReadyVariables ``` Image Ready variables. XML representation of variables definition. ##### ImageReadyDatasets ``` public static final ImageResourceID ImageReadyDatasets ``` Image Ready data sets. ##### PrintFlagsInformation ``` public static final ImageResourceID PrintFlagsInformation ``` Print flags information. 2 bytes version ( = 1), 1 byte center crop marks, 1 byte ( = 0), 4 bytes bleed width value, 2 bytes bleed width scale. ##### getByRawValue(int rawValue) ``` public static ImageResourceID getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ImageResourceID ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### ImageResourcePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/imageresourcepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ImageResourcePackage extends CustomPackage ``` Represents a metadata package containing Photoshop Image Resources. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | toList() | Creates a list from the package. | ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all Image Resource Blocks from the package. ### ImageRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/imagerootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public abstract class ImageRootPackage extends RootMetadataPackage ``` Provides a base abstract class for all image root packages. This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPng)) { > ImageRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getImageType().getFileFormat()); > System.out.println(root.getImageType().getByteOrder()); > System.out.println(root.getImageType().getMimeType()); > System.out.println(root.getImageType().getExtension()); > System.out.println(root.getImageType().getWidth()); > System.out.println(root.getImageType().getHeight()); > } > > ``` > ``` #### Methods | Method | Description | | --- | --- | | getImageType() | Gets the file type metadata package. | ##### getImageType() ``` public final ImageTypePackage getImageType() ``` Gets the file type metadata package. **Returns:** ImageTypePackage - The file type metadata package. ### ImageTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/imagetypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class ImageTypePackage extends FileTypePackage ``` Represents a metadata package containing image-specific file format information. #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the image width. | | getHeight() | Gets the image height. | | getByteOrder() | Gets the byte-order of the image. | ##### getWidth() ``` public final int getWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getHeight() ``` public final int getHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getByteOrder() ``` public final ByteOrder getByteOrder() ``` Gets the byte-order of the image. Please see https://en.wikipedia.org/wiki/Endianness for more information. **Returns:** ByteOrder - The byte-order value. ### InteroperabilityIFDPointerPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/interoperabilityifdpointerpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class InteroperabilityIFDPointerPackage extends CustomPackage ``` Represents Interoperability IFD. #### Methods | Method | Description | | --- | --- | | getTagInteropIndex() | Gets the TagInteropIndex. | | getTagInteropVersion() | Gets the TagInteropVersion. | ##### getTagInteropIndex() ``` public final String getTagInteropIndex() ``` Gets the TagInteropIndex. **Returns:** java.lang.String - The TagInteropIndex. ##### getTagInteropVersion() ``` public final byte[] getTagInteropVersion() ``` Gets the TagInteropVersion. **Returns:** byte[] - The TagInteropVersion. ### InvalidFormatException Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/invalidformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class InvalidFormatException extends GroupDocsMetadataException ``` The exception that is thrown when a file has an invalid format. #### Constructors | Constructor | Description | | --- | --- | | InvalidFormatException() | Initializes a new instance of the InvalidFormatException class. | | InvalidFormatException(String message) | Initializes a new instance of the InvalidFormatException class. | | InvalidFormatException(String message, RuntimeException innerException) | Initializes a new instance of the InvalidFormatException class. | ##### InvalidFormatException() ``` public InvalidFormatException() ``` Initializes a new instance of the InvalidFormatException class. ##### InvalidFormatException(String message) ``` public InvalidFormatException(String message) ``` Initializes a new instance of the InvalidFormatException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ##### InvalidFormatException(String message, RuntimeException innerException) ``` public InvalidFormatException(String message, RuntimeException innerException) ``` Initializes a new instance of the InvalidFormatException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The error message that explains the reason for the exception. | | innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. | ### IptcApplicationRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcapplicationrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.IptcRecord ``` public final class IptcApplicationRecord extends IptcRecord ``` Represents an IPTC Application Record. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcApplicationRecord() | Initializes a new instance of the IptcApplicationRecord class. | #### Methods | Method | Description | | --- | --- | | getByLine() | Gets the name of the creator of the object, e.g. | | setByLine(String value) | Sets the name of the creator of the object, e.g. | | getByLines() | Gets the names of the creators of the object, e.g. | | setByLines(String[] value) | Sets the names of the creators of the object, e.g. | | getByLineTitle() | Gets the title of the creator or creators of the object. | | setByLineTitle(String value) | Sets the title of the creator or creators of the object. | | getByLineTitles() | Gets the titles of the creator or creators of the object. | | setByLineTitles(String[] value) | Sets the titles of the creator or creators of the object. | | getContentLocationCode() | Gets the content location code. | | setContentLocationCode(String value) | Sets the content location code. | | getContentLocationCodes() | Gets the content location codes. | | setContentLocationCodes(String[] value) | Sets the content location codes. | | getContentLocationName() | Gets the content location name. | | setContentLocationName(String value) | Sets the content location name. | | getContentLocationNames() | Gets the content location names. | | setContentLocationNames(String[] value) | Sets the content location names. | | getDateCreated() | Gets the date the intellectual content of the object was created. | | setDateCreated(Date value) | Sets the date the intellectual content of the object was created. | | getReferenceDate() | Gets the date of a prior envelope to which the current object refers. | | setReferenceDate(Date value) | Sets the date of a prior envelope to which the current object refers. | | getReferenceDates() | Gets the dates of a prior envelope to which the current object refers. | | getReleaseDate() | Gets the release date. | | setReleaseDate(Date value) | Sets the release date. | | getCredit() | Gets information about the provider of the object, not necessarily the owner/creator. | | setCredit(String value) | Sets information about the provider of the object, not necessarily the owner/creator. | | getHeadline() | Gets a publishable entry providing a synopsis of the contents of the object. | | setHeadline(String value) | Sets a publishable entry providing a synopsis of the contents of the object. | | getCopyrightNotice() | Gets the copyright notice. | | setCopyrightNotice(String value) | Sets the copyright notice. | | getContact() | Gets information about the person or organisation which can provide further background information on the object. | | setContact(String value) | Sets information about the person or organisation which can provide further background information on the object. | | getContacts() | Gets information about the person or organisation which can provide further background information on the object. | | setContacts(String[] value) | Sets information about the person or organisation which can provide further background information on the object. | | getCity() | Gets the city. | | setCity(String value) | Sets the city. | | getCaptionAbstract() | Gets a textual description of the object, particularly used where the object is not text. | | setCaptionAbstract(String value) | Sets a textual description of the object, particularly used where the object is not text. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getAllKeywords() | Gets the keywords. | | setAllKeywords(String[] value) | Sets the keywords. | | getProgramVersion() | Gets the program version. | | setProgramVersion(String value) | Sets the program version. | | getByIptcApplicationRecordDataSet(IptcApplicationRecordDataSet dataSetNumber) | Gets the IptcDataSet with the specified number. | ##### IptcApplicationRecord() ``` public IptcApplicationRecord() ``` Initializes a new instance of the IptcApplicationRecord class. ##### getByLine() ``` public final String getByLine() ``` Gets the name of the creator of the object, e.g. writer, photographer or graphic artist. **Returns:** java.lang.String - The name of the creator of the object, e.g. writer, photographer or graphic artist. ##### setByLine(String value) ``` public final void setByLine(String value) ``` Sets the name of the creator of the object, e.g. writer, photographer or graphic artist. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the creator of the object, e.g. writer, photographer or graphic artist. | ##### getByLines() ``` public final String[] getByLines() ``` Gets the names of the creators of the object, e.g. writer, photographer or graphic artist. **Returns:** java.lang.String[] - The names of the creators of the object, e.g. writer, photographer or graphic artist. ##### setByLines(String[] value) ``` public final void setByLines(String[] value) ``` Sets the names of the creators of the object, e.g. writer, photographer or graphic artist. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The names of the creators of the object, e.g. writer, photographer or graphic artist. | ##### getByLineTitle() ``` public final String getByLineTitle() ``` Gets the title of the creator or creators of the object. **Returns:** java.lang.String - The title of the creator or creators of the object. ##### setByLineTitle(String value) ``` public final void setByLineTitle(String value) ``` Sets the title of the creator or creators of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title of the creator or creators of the object. | ##### getByLineTitles() ``` public final String[] getByLineTitles() ``` Gets the titles of the creator or creators of the object. **Returns:** java.lang.String[] - The titles of the creator or creators of the object. ##### setByLineTitles(String[] value) ``` public final void setByLineTitles(String[] value) ``` Sets the titles of the creator or creators of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The titles of the creator or creators of the object. | ##### getContentLocationCode() ``` public final String getContentLocationCode() ``` Gets the content location code. **Returns:** java.lang.String - The content location code. ##### setContentLocationCode(String value) ``` public final void setContentLocationCode(String value) ``` Sets the content location code. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content location code. | ##### getContentLocationCodes() ``` public final String[] getContentLocationCodes() ``` Gets the content location codes. **Returns:** java.lang.String[] - The content location codes. ##### setContentLocationCodes(String[] value) ``` public final void setContentLocationCodes(String[] value) ``` Sets the content location codes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The content location codes. | ##### getContentLocationName() ``` public final String getContentLocationName() ``` Gets the content location name. **Returns:** java.lang.String - The name of the content location. ##### setContentLocationName(String value) ``` public final void setContentLocationName(String value) ``` Sets the content location name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the content location. | ##### getContentLocationNames() ``` public final String[] getContentLocationNames() ``` Gets the content location names. **Returns:** java.lang.String[] - The name of the content locations. ##### setContentLocationNames(String[] value) ``` public final void setContentLocationNames(String[] value) ``` Sets the content location names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The name of the content locations. | ##### getDateCreated() ``` public final Date getDateCreated() ``` Gets the date the intellectual content of the object was created. **Returns:** java.util.Date - The date the intellectual content of the object was created. ##### setDateCreated(Date value) ``` public final void setDateCreated(Date value) ``` Sets the date the intellectual content of the object was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the intellectual content of the object was created. | ##### getReferenceDate() ``` public final Date getReferenceDate() ``` Gets the date of a prior envelope to which the current object refers. **Returns:** java.util.Date - The date of a prior envelope to which the current object refers. ##### setReferenceDate(Date value) ``` public final void setReferenceDate(Date value) ``` Sets the date of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date of a prior envelope to which the current object refers. | ##### getReferenceDates() ``` public final Date[] getReferenceDates() ``` Gets the dates of a prior envelope to which the current object refers. **Returns:** java.util.Date[] - The dates of a prior envelope to which the current object refers. ##### getReleaseDate() ``` public final Date getReleaseDate() ``` Gets the release date. **Returns:** java.util.Date - The release date. ##### setReleaseDate(Date value) ``` public final void setReleaseDate(Date value) ``` Sets the release date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The release date. | ##### getCredit() ``` public final String getCredit() ``` Gets information about the provider of the object, not necessarily the owner/creator. **Returns:** java.lang.String - The information about the provider of the object, not necessarily the owner/creator. ##### setCredit(String value) ``` public final void setCredit(String value) ``` Sets information about the provider of the object, not necessarily the owner/creator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about the provider of the object, not necessarily the owner/creator. | ##### getHeadline() ``` public final String getHeadline() ``` Gets a publishable entry providing a synopsis of the contents of the object. **Returns:** java.lang.String - A publishable entry providing a synopsis of the contents of the object. ##### setHeadline(String value) ``` public final void setHeadline(String value) ``` Sets a publishable entry providing a synopsis of the contents of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A publishable entry providing a synopsis of the contents of the object. | ##### getCopyrightNotice() ``` public final String getCopyrightNotice() ``` Gets the copyright notice. **Returns:** java.lang.String - The copyright notice. ##### setCopyrightNotice(String value) ``` public final void setCopyrightNotice(String value) ``` Sets the copyright notice. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The copyright notice. | ##### getContact() ``` public final String getContact() ``` Gets information about the person or organisation which can provide further background information on the object. **Returns:** java.lang.String - The information about the person or organisation which can provide further background information on the object. ##### setContact(String value) ``` public final void setContact(String value) ``` Sets information about the person or organisation which can provide further background information on the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The information about the person or organisation which can provide further background information on the object. | ##### getContacts() ``` public final String[] getContacts() ``` Gets information about the person or organisation which can provide further background information on the object. **Returns:** java.lang.String[] - The information about the person or organisation which can provide further background information on the object. ##### setContacts(String[] value) ``` public final void setContacts(String[] value) ``` Sets information about the person or organisation which can provide further background information on the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The information about the person or organisation which can provide further background information on the object. | ##### getCity() ``` public final String getCity() ``` Gets the city. **Returns:** java.lang.String - The city. ##### setCity(String value) ``` public final void setCity(String value) ``` Sets the city. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The city. | ##### getCaptionAbstract() ``` public final String getCaptionAbstract() ``` Gets a textual description of the object, particularly used where the object is not text. **Returns:** java.lang.String - TheA textual description of the object, particularly used where the object is not text. ##### setCaptionAbstract(String value) ``` public final void setCaptionAbstract(String value) ``` Sets a textual description of the object, particularly used where the object is not text. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | TheA textual description of the object, particularly used where the object is not text. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getAllKeywords() ``` public final String[] getAllKeywords() ``` Gets the keywords. **Returns:** java.lang.String[] - The keywords. ##### setAllKeywords(String[] value) ``` public final void setAllKeywords(String[] value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The keywords. | ##### getProgramVersion() ``` public final String getProgramVersion() ``` Gets the program version. **Returns:** java.lang.String - The program version. ##### setProgramVersion(String value) ``` public final void setProgramVersion(String value) ``` Sets the program version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The program version. | ##### getByIptcApplicationRecordDataSet(IptcApplicationRecordDataSet dataSetNumber) ``` public final IptcDataSet getByIptcApplicationRecordDataSet(IptcApplicationRecordDataSet dataSetNumber) ``` Gets the IptcDataSet with the specified number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSetNumber | IptcApplicationRecordDataSet | The dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified number. ### IptcApplicationRecordDataSet Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcapplicationrecorddataset.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum IptcApplicationRecordDataSet extends Enum implements IEnumValue ``` Defines IPTC Application Record dataSet numbers. #### Fields | Field | Description | | --- | --- | | RecordVersion | Represents the record version. | | ObjectTypeReference | Object type reference. | | ObjectAttributeReference | The object attribute reference. | | ObjectName | Used as a shorthand reference for the object. | | EditStatus | Status of the objectdata, according to the practice of the provider. | | EditorialUpdate | Indicates the type of update that this object provides to a previous object. | | Urgency | Specifies the editorial urgency of content and not necessarily the envelope handling priority (see 1:60, Envelope Priority). | | SubjectReference | The subject reference. | | Category | Identifies the subject of the objectdata in the opinion of the provider. | | SupplementalCategory | | | FixtureIdentifier | The fixture identifier. | | Keywords | Used to indicate specific information retrieval words. | | ContentLocationCode | Indicates the code of a country/geographical location referenced by the content of the object. | | ContentLocationName | | | ReleaseDate | Designates in the form CCYYMMDD the earliest date the provider intends the object to be used. | | ReleaseTime | Designates in the form HHMMSS??HHMM the earliest time the provider intends the object to be used. | | ExpirationDate | Designates in the form CCYYMMDD the latest date the provider or owner intends the objectdata to be used. | | SpecialInstructions | Other editorial instructions concerning the use of the objectdata, such as embargoes and warnings. | | ActionAdvised | Indicates the type of action that this object provides to a previous object. | | ReferenceService | Identifies the Service Identifier of a prior envelope to which the current object refers. | | ReferenceDate | Identifies the date of a prior envelope to which the current object refers. | | ReferenceNumber | Identifies the Envelope Number of a prior envelope to which the current object refers. | | DateCreated | Represented in the form CCYYMMDD to designate the date the intellectual content of the objectdata was created rather than the date of the creation of the physical representation. | | TimeCreated | Represented in the form HHMMSS??HHMM to designate the time the intellectual content of the objectdata current source material was created rather than the creation of the physical representation. | | DigitalCreationDate | Represented in the form CCYYMMDD to designate the date the digital representation of the objectdata was created. | | DigitalCreationTime | Represented in the form HHMMSS??HHMM to designate the time the digital representation of the objectdata was created. | | OriginatingProgram | Identifies the type of program used to originate the objectdata. | | ProgramVersion | Used to identify the version of the program mentioned in 2:65. | | ObjectCycle | Consisting of an alphabetic character. | | Byline | Contains name of the creator of the objectdata, e.g. | | BylineTitle | A by-line title is the title of the creator or creators of an object data. | | City | Identifies city of objectdata origin according to guidelines established by the provider. | | SubLocation | Identifies the location within a city from which the objectdata originates, according to guidelines established by the provider. | | ProvinceState | Identifies Province/State of origin according to guidelines established by the provider. | | PrimaryLocationCode | Indicates the code of the country/primary location where the intellectual property of the objectdata was created, e.g. | | PrimaryLocationName | Provides full, publishable, name of the country/primary location where the intellectual property of the objectdata was created, according to guidelines of the provider. | | OriginalTransmissionReference | A code representing the location of original transmission according to practices of the provider. | | Headline | A publishable entry providing a synopsis of the contents of the objectdata. | | Credit | Identifies the provider of the objectdata, not necessarily the owner/creator. | | Source | The name of a person or party who has a role in the content supply chain. | | CopyrightNotice | Contains any necessary copyright notice. | | Contact | Identifies the person or organization which can provide further background information on the object data. | | CaptionAbstract | A textual description of the objectdata, particularly used where the object is not text. | | WriterEditor | Identification of the name of the person involved in the writing, editing or correcting the objectdata or caption/abstract. | | RasterizedCaption | Image width 460 pixels and image height 128 pixels. | | ImageType | The numeric characters 1 to 4 indicate the number of components in an image, in single or multiple envelopes. | | ImageOrientation | Indicates the layout of the image area. | | LanguageIdentifier | Describes the major national language of the object, according to the 2-letter codes of ISO 639:1988. | | AudioType | The audio type. | | AudioSamplingRate | Sampling rate numeric characters, representing the sampling rate in hertz (Hz). | | AudioSamplingResolution | The number of bits in each audio sample. | | AudioDuration | Duration Designates in the form HHMMSS the running time of an audio object data when played back at the speed at which it was recorded. | | AudioOutcue | Identifies the content of the end of an audio objectdata, according to guidelines established by the provider. | | ObjDataPreviewFileFormat | A binary number representing the file format of the ObjectData Preview. | | ObjDataPreviewFileFormatVer | A binary number representing the particular version of the ObjectData Preview File Format specified in 2:200. | | ObjDataPreviewData | The object data preview. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### RecordVersion ``` public static final IptcApplicationRecordDataSet RecordVersion ``` Represents the record version. Binary. Always 2 in JPEGs. ##### ObjectTypeReference ``` public static final IptcApplicationRecordDataSet ObjectTypeReference ``` Object type reference. Used pattern: "/\\d\{2\}:[\\w\\s]\{0,64\}?/". ##### ObjectAttributeReference ``` public static final IptcApplicationRecordDataSet ObjectAttributeReference ``` The object attribute reference. ##### ObjectName ``` public static final IptcApplicationRecordDataSet ObjectName ``` Used as a shorthand reference for the object. Changes to existing data, such as updated stories or new crops on photos, should be identified in EditStatus . ##### EditStatus ``` public static final IptcApplicationRecordDataSet EditStatus ``` Status of the objectdata, according to the practice of the provider. ##### EditorialUpdate ``` public static final IptcApplicationRecordDataSet EditorialUpdate ``` Indicates the type of update that this object provides to a previous object. ##### Urgency ``` public static final IptcApplicationRecordDataSet Urgency ``` Specifies the editorial urgency of content and not necessarily the envelope handling priority (see 1:60, Envelope Priority). ##### SubjectReference ``` public static final IptcApplicationRecordDataSet SubjectReference ``` The subject reference. ##### Category ``` public static final IptcApplicationRecordDataSet Category ``` Identifies the subject of the objectdata in the opinion of the provider. ##### SupplementalCategory ``` public static final IptcApplicationRecordDataSet SupplementalCategory ``` Supplemental categories further refine the subject of an objectdata. Only a single supplemental category may be contained in each DataSet. A supplemental category may include any of the recognised categories as used in 2:15. ##### FixtureIdentifier ``` public static final IptcApplicationRecordDataSet FixtureIdentifier ``` The fixture identifier. ##### Keywords ``` public static final IptcApplicationRecordDataSet Keywords ``` Used to indicate specific information retrieval words. Each keyword uses a single Keywords DataSet. Multiple keywords use multiple Keywords DataSets. ##### ContentLocationCode ``` public static final IptcApplicationRecordDataSet ContentLocationCode ``` Indicates the code of a country/geographical location referenced by the content of the object. ##### ContentLocationName ``` public static final IptcApplicationRecordDataSet ContentLocationName ``` Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. ##### ReleaseDate ``` public static final IptcApplicationRecordDataSet ReleaseDate ``` Designates in the form CCYYMMDD the earliest date the provider intends the object to be used. Follows ISO 8601 standard. ##### ReleaseTime ``` public static final IptcApplicationRecordDataSet ReleaseTime ``` Designates in the form HHMMSS??HHMM the earliest time the provider intends the object to be used. Follows ISO 8601 standard. ##### ExpirationDate ``` public static final IptcApplicationRecordDataSet ExpirationDate ``` Designates in the form CCYYMMDD the latest date the provider or owner intends the objectdata to be used. Follows ISO 8601 standard. ##### SpecialInstructions ``` public static final IptcApplicationRecordDataSet SpecialInstructions ``` Other editorial instructions concerning the use of the objectdata, such as embargoes and warnings. ##### ActionAdvised ``` public static final IptcApplicationRecordDataSet ActionAdvised ``` Indicates the type of action that this object provides to a previous object. ##### ReferenceService ``` public static final IptcApplicationRecordDataSet ReferenceService ``` Identifies the Service Identifier of a prior envelope to which the current object refers. ##### ReferenceDate ``` public static final IptcApplicationRecordDataSet ReferenceDate ``` Identifies the date of a prior envelope to which the current object refers. ##### ReferenceNumber ``` public static final IptcApplicationRecordDataSet ReferenceNumber ``` Identifies the Envelope Number of a prior envelope to which the current object refers. ##### DateCreated ``` public static final IptcApplicationRecordDataSet DateCreated ``` Represented in the form CCYYMMDD to designate the date the intellectual content of the objectdata was created rather than the date of the creation of the physical representation. Follows ISO 8601 standard. Where the month or day cannot be determined, the information will be represented by ???00???. Where the year cannot be determined, the information for century and year will be represented by ???00???. ##### TimeCreated ``` public static final IptcApplicationRecordDataSet TimeCreated ``` Represented in the form HHMMSS??HHMM to designate the time the intellectual content of the objectdata current source material was created rather than the creation of the physical representation. Follows ISO 8601 standard. ##### DigitalCreationDate ``` public static final IptcApplicationRecordDataSet DigitalCreationDate ``` Represented in the form CCYYMMDD to designate the date the digital representation of the objectdata was created. ##### DigitalCreationTime ``` public static final IptcApplicationRecordDataSet DigitalCreationTime ``` Represented in the form HHMMSS??HHMM to designate the time the digital representation of the objectdata was created. ##### OriginatingProgram ``` public static final IptcApplicationRecordDataSet OriginatingProgram ``` Identifies the type of program used to originate the objectdata. ##### ProgramVersion ``` public static final IptcApplicationRecordDataSet ProgramVersion ``` Used to identify the version of the program mentioned in 2:65. DataSet 2:70 is invalid if 2:65 is not present. ##### ObjectCycle ``` public static final IptcApplicationRecordDataSet ObjectCycle ``` Consisting of an alphabetic character. Where: 'a'(morning, 'p'(evening, 'b'(both. ##### Byline ``` public static final IptcApplicationRecordDataSet Byline ``` Contains name of the creator of the objectdata, e.g. writer, photographer or graphic artist. ##### BylineTitle ``` public static final IptcApplicationRecordDataSet BylineTitle ``` A by-line title is the title of the creator or creators of an object data. ##### City ``` public static final IptcApplicationRecordDataSet City ``` Identifies city of objectdata origin according to guidelines established by the provider. ##### SubLocation ``` public static final IptcApplicationRecordDataSet SubLocation ``` Identifies the location within a city from which the objectdata originates, according to guidelines established by the provider. ##### ProvinceState ``` public static final IptcApplicationRecordDataSet ProvinceState ``` Identifies Province/State of origin according to guidelines established by the provider. ##### PrimaryLocationCode ``` public static final IptcApplicationRecordDataSet PrimaryLocationCode ``` Indicates the code of the country/primary location where the intellectual property of the objectdata was created, e.g. a photo was taken, an event occurred. ##### PrimaryLocationName ``` public static final IptcApplicationRecordDataSet PrimaryLocationName ``` Provides full, publishable, name of the country/primary location where the intellectual property of the objectdata was created, according to guidelines of the provider. ##### OriginalTransmissionReference ``` public static final IptcApplicationRecordDataSet OriginalTransmissionReference ``` A code representing the location of original transmission according to practices of the provider. ##### Headline ``` public static final IptcApplicationRecordDataSet Headline ``` A publishable entry providing a synopsis of the contents of the objectdata. ##### Credit ``` public static final IptcApplicationRecordDataSet Credit ``` Identifies the provider of the objectdata, not necessarily the owner/creator. ##### Source ``` public static final IptcApplicationRecordDataSet Source ``` The name of a person or party who has a role in the content supply chain. This could be an agency, a member of an agency, an individual or a combination. ##### CopyrightNotice ``` public static final IptcApplicationRecordDataSet CopyrightNotice ``` Contains any necessary copyright notice. ##### Contact ``` public static final IptcApplicationRecordDataSet Contact ``` Identifies the person or organization which can provide further background information on the object data. ##### CaptionAbstract ``` public static final IptcApplicationRecordDataSet CaptionAbstract ``` A textual description of the objectdata, particularly used where the object is not text. ##### WriterEditor ``` public static final IptcApplicationRecordDataSet WriterEditor ``` Identification of the name of the person involved in the writing, editing or correcting the objectdata or caption/abstract. ##### RasterizedCaption ``` public static final IptcApplicationRecordDataSet RasterizedCaption ``` Image width 460 pixels and image height 128 pixels. Scanning direction bottom to top, left to right. ##### ImageType ``` public static final IptcApplicationRecordDataSet ImageType ``` The numeric characters 1 to 4 indicate the number of components in an image, in single or multiple envelopes. ##### ImageOrientation ``` public static final IptcApplicationRecordDataSet ImageOrientation ``` Indicates the layout of the image area. ##### LanguageIdentifier ``` public static final IptcApplicationRecordDataSet LanguageIdentifier ``` Describes the major national language of the object, according to the 2-letter codes of ISO 639:1988. ##### AudioType ``` public static final IptcApplicationRecordDataSet AudioType ``` The audio type. ##### AudioSamplingRate ``` public static final IptcApplicationRecordDataSet AudioSamplingRate ``` Sampling rate numeric characters, representing the sampling rate in hertz (Hz). ##### AudioSamplingResolution ``` public static final IptcApplicationRecordDataSet AudioSamplingResolution ``` The number of bits in each audio sample. ##### AudioDuration ``` public static final IptcApplicationRecordDataSet AudioDuration ``` Duration Designates in the form HHMMSS the running time of an audio object data when played back at the speed at which it was recorded. ##### AudioOutcue ``` public static final IptcApplicationRecordDataSet AudioOutcue ``` Identifies the content of the end of an audio objectdata, according to guidelines established by the provider. ##### ObjDataPreviewFileFormat ``` public static final IptcApplicationRecordDataSet ObjDataPreviewFileFormat ``` A binary number representing the file format of the ObjectData Preview. ##### ObjDataPreviewFileFormatVer ``` public static final IptcApplicationRecordDataSet ObjDataPreviewFileFormatVer ``` A binary number representing the particular version of the ObjectData Preview File Format specified in 2:200. ##### ObjDataPreviewData ``` public static final IptcApplicationRecordDataSet ObjDataPreviewData ``` The object data preview. ##### values() ``` public static IptcApplicationRecordDataSet[] values() ``` **Returns:** com.groupdocs.metadata.core.IptcApplicationRecordDataSet[] ##### valueOf(String name) ``` public static IptcApplicationRecordDataSet valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IptcApplicationRecordDataSet ##### getByRawValue(int rawValue) ``` public static IptcApplicationRecordDataSet getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IptcApplicationRecordDataSet ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### IptcDataSet Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcdataset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public final class IptcDataSet extends MetadataProperty ``` Represents an IPTC DataSet (metadata property). [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcDataSet(byte recordNumber, byte dataSetNumber, byte[] value) | Initializes a new instance of the IptcDataSet class. | | IptcDataSet(byte recordNumber, byte dataSetNumber, String value) | Initializes a new instance of the IptcDataSet class. | | IptcDataSet(byte recordNumber, byte dataSetNumber, int value) | Initializes a new instance of the IptcDataSet class. | | IptcDataSet(byte recordNumber, byte dataSetNumber, Date value) | Initializes a new instance of the IptcDataSet class. | #### Methods | Method | Description | | --- | --- | | getRecordNumber() | Gets the record number. | | getDataSetNumber() | Gets the dataSet number. | | getAlternativeName() | Gets the alternative name of the dataSet. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, byte[] value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, byte[] value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | byte[] | A byte array value. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, String value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, String value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | java.lang.String | A string value. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, int value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, int value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | int | An integer value. | ##### IptcDataSet(byte recordNumber, byte dataSetNumber, Date value) ``` public IptcDataSet(byte recordNumber, byte dataSetNumber, Date value) ``` Initializes a new instance of the IptcDataSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | | value | java.util.Date | A date value. | ##### getRecordNumber() ``` public final byte getRecordNumber() ``` Gets the record number. **Returns:** byte - The record number. ##### getDataSetNumber() ``` public final byte getDataSetNumber() ``` Gets the dataSet number. **Returns:** byte - The dataSet number. ##### getAlternativeName() ``` public final String getAlternativeName() ``` Gets the alternative name of the dataSet. **Returns:** java.lang.String - The alternative name of the dataSet. ### IptcEnvelopeRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcenveloperecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.IptcRecord ``` public final class IptcEnvelopeRecord extends IptcRecord ``` Represents an IPTC Envelope Record. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcEnvelopeRecord() | Initializes a new instance of the IptcEnvelopeRecord class. | #### Methods | Method | Description | | --- | --- | | getModelVersion() | Gets a number identifying the version of the information. | | setModelVersion(Integer value) | Sets a number identifying the version of the information. | | getDestination() | Gets the destination. | | setDestination(String value) | Sets the destination. | | getDestinations() | Gets an array of destinations. | | setDestinations(String[] value) | Sets an array of destinations. | | getFileFormat() | Gets the file format. | | setFileFormat(Integer value) | Sets the file format. | | getFileFormatVersion() | Gets the file format version. | | setFileFormatVersion(Integer value) | Sets the file format version. | | getServiceIdentifier() | Gets the service identifier. | | setServiceIdentifier(String value) | Sets the service identifier. | | getProductID() | Gets the product identifier. | | setProductID(String value) | Sets the product identifier. | | getProductIds() | Gets the product identifiers. | | setProductIds(String[] value) | Sets the product identifiers. | | getDateSent() | Gets the date the service sent the material. | | setDateSent(Date value) | Sets the date the service sent the material. | | getByIptcEnvelopeRecordDataSet(IptcEnvelopeRecordDataSet dataSetNumber) | Gets the IptcDataSet with the specified number. | ##### IptcEnvelopeRecord() ``` public IptcEnvelopeRecord() ``` Initializes a new instance of the IptcEnvelopeRecord class. ##### getModelVersion() ``` public final Integer getModelVersion() ``` Gets a number identifying the version of the information. **Returns:** java.lang.Integer - The model version. ##### setModelVersion(Integer value) ``` public final void setModelVersion(Integer value) ``` Sets a number identifying the version of the information. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The model version. | ##### getDestination() ``` public final String getDestination() ``` Gets the destination. **Returns:** java.lang.String - The destination. ##### setDestination(String value) ``` public final void setDestination(String value) ``` Sets the destination. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The destination. | ##### getDestinations() ``` public final String[] getDestinations() ``` Gets an array of destinations. **Returns:** java.lang.String[] - The destinations. ##### setDestinations(String[] value) ``` public final void setDestinations(String[] value) ``` Sets an array of destinations. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The destinations. | ##### getFileFormat() ``` public final Integer getFileFormat() ``` Gets the file format. **Returns:** java.lang.Integer - The file format. ##### setFileFormat(Integer value) ``` public final void setFileFormat(Integer value) ``` Sets the file format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format. | ##### getFileFormatVersion() ``` public final Integer getFileFormatVersion() ``` Gets the file format version. A number representing the particular version of the File Format specified in FileFormat . **Returns:** java.lang.Integer - The file format version. ##### setFileFormatVersion(Integer value) ``` public final void setFileFormatVersion(Integer value) ``` Sets the file format version. A number representing the particular version of the File Format specified in FileFormat . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format version. | ##### getServiceIdentifier() ``` public final String getServiceIdentifier() ``` Gets the service identifier. **Returns:** java.lang.String - The service identifier. ##### setServiceIdentifier(String value) ``` public final void setServiceIdentifier(String value) ``` Sets the service identifier. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The service identifier. | ##### getProductID() ``` public final String getProductID() ``` Gets the product identifier. **Returns:** java.lang.String - The product identifier. ##### setProductID(String value) ``` public final void setProductID(String value) ``` Sets the product identifier. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The product identifier. | ##### getProductIds() ``` public final String[] getProductIds() ``` Gets the product identifiers. **Returns:** java.lang.String[] - The product identifiers. ##### setProductIds(String[] value) ``` public final void setProductIds(String[] value) ``` Sets the product identifiers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The product identifiers. | ##### getDateSent() ``` public final Date getDateSent() ``` Gets the date the service sent the material. **Returns:** java.util.Date - The date the service sent the material. ##### setDateSent(Date value) ``` public final void setDateSent(Date value) ``` Sets the date the service sent the material. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the service sent the material. | ##### getByIptcEnvelopeRecordDataSet(IptcEnvelopeRecordDataSet dataSetNumber) ``` public final IptcDataSet getByIptcEnvelopeRecordDataSet(IptcEnvelopeRecordDataSet dataSetNumber) ``` Gets the IptcDataSet with the specified number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSetNumber | IptcEnvelopeRecordDataSet | The dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified number. ### IptcEnvelopeRecordDataSet Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcenveloperecorddataset.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class IptcEnvelopeRecordDataSet implements IEnumValue ``` Defines IPTC Envelope Record dataSet numbers. #### Fields | Field | Description | | --- | --- | | ModelVersion | | | Destination | | | FileFormat | File format. | | FileFormatVersion | | | ServiceIdentifier | | | EnvelopeNumber | | | ProductID | | | EnvelopePriority | | | DateSent | | | TimeSent | | | CodedCharacterSet | | | Uno | Invalid (eternal identifier). | | ArmIdentifier | The DataSet identifies the Abstract Relationship Method (ARM) which is described in a document registered by the originator of the ARM with the IPTC and NAA. | | ArmVersion | Binary number representing the particular version of the ARM specified in DataSet 1:120. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### ModelVersion ``` public static final IptcEnvelopeRecordDataSet ModelVersion ``` A binary number identifying the version of the Information Interchange Model, Part I, utilised by the provider. Version numbers are assigned by IPTC and NAA. The version number of this record is four (4). ##### Destination ``` public static final IptcEnvelopeRecordDataSet Destination ``` Optional, repeatable, maximum 1024 octets, consisting of sequentially contiguous graphic characters. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. ##### FileFormat ``` public static final IptcEnvelopeRecordDataSet FileFormat ``` File format. ##### FileFormatVersion ``` public static final IptcEnvelopeRecordDataSet FileFormatVersion ``` Mandatory, not repeatable, two octets. A binary number representing the particular version of the File Format specified in 1:20. A list of File Formats, including version cross references, is included as Appendix A. ##### ServiceIdentifier ``` public static final IptcEnvelopeRecordDataSet ServiceIdentifier ``` Mandatory, not repeatable. Up to 10 octets, consisting of graphic characters. Identifies the provider and product. ##### EnvelopeNumber ``` public static final IptcEnvelopeRecordDataSet EnvelopeNumber ``` Mandatory, not repeatable, eight octets, consisting of numeric characters. The characters form a number that will be unique for the date specified in 1:70 and for the Service Identifier specified in 1:30. If identical envelope numbers appear with the same date and with the same Service Identifier, records 2-9 must be unchanged from the original. This is not intended to be a sequential serial number reception check. ##### ProductID ``` public static final IptcEnvelopeRecordDataSet ProductID ``` Optional, repeatable. Up to 32 octets, consisting of graphic characters. Allows a provider to identify subsets of its overall service. Used to provide receiving organization data on which to select, route, or otherwise handle data. ##### EnvelopePriority ``` public static final IptcEnvelopeRecordDataSet EnvelopePriority ``` Optional, not repeatable. A single octet, consisting of a numeric character. Specifies the envelope handling priority and not the editorial urgency (see 2:10, Urgency). '1' indicates the most urgent, '5' the normal urgency, and '8' the least urgent copy. The numeral '9' indicates a User Defined Priority. The numeral '0' is reserved for future use. ##### DateSent ``` public static final IptcEnvelopeRecordDataSet DateSent ``` Mandatory, not repeatable. Eight octets, consisting of numeric characters. Uses the format CCYYMMDD (century, year, month, day) as defined in ISO 8601 to indicate year, month and day the service sent the material. ##### TimeSent ``` public static final IptcEnvelopeRecordDataSet TimeSent ``` Uses the format HHMMSS±HHMM where HHMMSS refers to local hour, minute and seconds and HHMM refers to hours and minutes ahead (+) or behind (-) Universal Coordinated Time as described in ISO 8601. This is the time the service sent the material. ##### CodedCharacterSet ``` public static final IptcEnvelopeRecordDataSet CodedCharacterSet ``` Optional, not repeatable, up to 32 octets, consisting of one or more control functions used for the announcement, invocation or designation of coded character sets. The control functions follow the ISO 2022 standard and may consist of the escape control character and one or more graphic characters. For more details see Appendix C, the IPTC-NAA Code Library. ##### Uno ``` public static final IptcEnvelopeRecordDataSet Uno ``` Invalid (eternal identifier). ##### ArmIdentifier ``` public static final IptcEnvelopeRecordDataSet ArmIdentifier ``` The DataSet identifies the Abstract Relationship Method (ARM) which is described in a document registered by the originator of the ARM with the IPTC and NAA. ##### ArmVersion ``` public static final IptcEnvelopeRecordDataSet ArmVersion ``` Binary number representing the particular version of the ARM specified in DataSet 1:120. ##### getByRawValue(int rawValue) ``` public static IptcEnvelopeRecordDataSet getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IptcEnvelopeRecordDataSet ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### IptcRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class IptcRecord extends CustomPackage ``` Represents an IPTC record. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getRecordNumber() | Gets the record number. | | toList() | Creates a list from the package. | | get_Item(byte dataSetNumber) | Gets the IptcDataSet with the specified dataSet number. | ##### getRecordNumber() ``` public final byte getRecordNumber() ``` Gets the record number. **Returns:** byte - The record number. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all IPTC dataSets from the package. ##### get_Item(byte dataSetNumber) ``` public final IptcDataSet get_Item(byte dataSetNumber) ``` Gets the IptcDataSet with the specified dataSet number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSetNumber | byte | The IPTC dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified dataSet number, if found; otherwise null. ### IptcRecordSet Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class IptcRecordSet extends CustomPackage ``` Represents a collection of IPTC records. This code sample shows hot to update basic IPTC metadata properties. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > IIptc root = (IIptc) metadata.getRootPackage(); > // Set the IPTC package if it's missing > if (root.getIptcPackage() == null) { > root.setIptcPackage(new IptcRecordSet()); > } > if (root.getIptcPackage().getEnvelopeRecord() == null) { > root.getIptcPackage().setEnvelopeRecord(new IptcEnvelopeRecord()); > } > root.getIptcPackage().getEnvelopeRecord().setDateSent(new Date()); > root.getIptcPackage().getEnvelopeRecord().setProductID("test project id"); > // ... > if (root.getIptcPackage().getApplicationRecord() == null) { > root.getIptcPackage().setApplicationRecord(new IptcApplicationRecord()); > } > root.getIptcPackage().getApplicationRecord().setByLine("GroupDocs"); > root.getIptcPackage().getApplicationRecord().setHeadline("test"); > root.getIptcPackage().getApplicationRecord().setByLineTitle("code sample"); > root.getIptcPackage().getApplicationRecord().setReleaseDate(new Date()); > // ... > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Constructors | Constructor | Description | | --- | --- | | IptcRecordSet() | Initializes a new instance of the IptcRecordSet class. | | IptcRecordSet(IptcDataSet[] dataSets) | Initializes a new instance of the IptcRecordSet class. | #### Methods | Method | Description | | --- | --- | | getEnvelopeRecord() | Gets the Envelope Record. | | setEnvelopeRecord(IptcEnvelopeRecord value) | Sets the Envelope Record. | | getApplicationRecord() | Gets the Application Record. | | setApplicationRecord(IptcApplicationRecord value) | Sets the Application Record. | | get_Item(byte recordNumber) | Gets the IptcRecord with the specified number. | | get_Item(byte recordNumber, byte dataSetNumber) | Gets the IptcDataSet with the specified record and dataSet number. | | set(IptcDataSet dataSet) | Adds or updates the specified dataSet in the appropriate record. | | add(IptcDataSet dataSet) | Adds the specified dataSet to the appropriate record. | | remove(byte recordNumber, byte dataSetNumber) | Removes the dataSet with the specified record and dataSet number. | | clear() | Removes all records from the collection. | | remove(byte recordNumber) | Removes the record with the specified record number. | | toDataSetList() | Creates a list of dataSets from the package. | | toList() | Creates a list from the package. | ##### IptcRecordSet() ``` public IptcRecordSet() ``` Initializes a new instance of the IptcRecordSet class. ##### IptcRecordSet(IptcDataSet[] dataSets) ``` public IptcRecordSet(IptcDataSet[] dataSets) ``` Initializes a new instance of the IptcRecordSet class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSets | IptcDataSet\[\] | An array of IPTC dataSets. | ##### getEnvelopeRecord() ``` public final IptcEnvelopeRecord getEnvelopeRecord() ``` Gets the Envelope Record. **Returns:** IptcEnvelopeRecord - The Envelope Record. ##### setEnvelopeRecord(IptcEnvelopeRecord value) ``` public final void setEnvelopeRecord(IptcEnvelopeRecord value) ``` Sets the Envelope Record. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcEnvelopeRecord | The Envelope Record. | ##### getApplicationRecord() ``` public final IptcApplicationRecord getApplicationRecord() ``` Gets the Application Record. **Returns:** IptcApplicationRecord - The Application Record. ##### setApplicationRecord(IptcApplicationRecord value) ``` public final void setApplicationRecord(IptcApplicationRecord value) ``` Sets the Application Record. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcApplicationRecord | The Application Record. | ##### get_Item(byte recordNumber) ``` public final IptcRecord get_Item(byte recordNumber) ``` Gets the IptcRecord with the specified number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | **Returns:** IptcRecord - The IptcRecord with the specified number, if found; otherwise null. ##### get_Item(byte recordNumber, byte dataSetNumber) ``` public final IptcDataSet get_Item(byte recordNumber, byte dataSetNumber) ``` Gets the IptcDataSet with the specified record and dataSet number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | **Returns:** IptcDataSet - The IptcDataSet with the specified record and dataSet number. ##### set(IptcDataSet dataSet) ``` public final void set(IptcDataSet dataSet) ``` Adds or updates the specified dataSet in the appropriate record. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSet | IptcDataSet | The IPTC dataSet to add/update. | ##### add(IptcDataSet dataSet) ``` public final void add(IptcDataSet dataSet) ``` Adds the specified dataSet to the appropriate record. The dataSet is considered as repeatable if a dataSet with the specified number already exists. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dataSet | IptcDataSet | The IPTC dataSet to add. | ##### remove(byte recordNumber, byte dataSetNumber) ``` public final boolean remove(byte recordNumber, byte dataSetNumber) ``` Removes the dataSet with the specified record and dataSet number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | | dataSetNumber | byte | The dataSet number. | **Returns:** boolean - True if the specified IPTC dataSet is found and removed; otherwise, false. ##### clear() ``` public final void clear() ``` Removes all records from the collection. ##### remove(byte recordNumber) ``` public final boolean remove(byte recordNumber) ``` Removes the record with the specified record number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | recordNumber | byte | The record number. | **Returns:** boolean - True if the specified IPTC record is found and removed; otherwise, false. ##### toDataSetList() ``` public final IReadOnlyList toDataSetList() ``` Creates a list of dataSets from the package. **Returns:** IReadOnlyList - A list that contains all IPTC dataSets from the package. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all IPTC records from the package. ### IptcRecordType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/iptcrecordtype.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class IptcRecordType implements IEnumValue ``` Defines IPTC record types. #### Fields | Field | Description | | --- | --- | | EnvelopeRecord | Represents an Envelope Record. | | ApplicationRecord | Represents an Application Record. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### EnvelopeRecord ``` public static final IptcRecordType EnvelopeRecord ``` Represents an Envelope Record. ##### ApplicationRecord ``` public static final IptcRecordType ApplicationRecord ``` Represents an Application Record. ##### getByRawValue(int rawValue) ``` public static IptcRecordType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IptcRecordType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### IReadOnlyList Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/ireadonlylist.md **All Implemented Interfaces:** java.lang.Iterable ``` public interface IReadOnlyList extends Iterable ``` Represents a read-only collection of elements that can be accessed by index. T : The type of elements in the read-only list. #### Methods | Method | Description | | --- | --- | | getCount() | Gets the number of elements contained in the collection. | | get_Item(int index) | Gets the element at the specified index in the read-only list. | | indexOf(T item) | Determines the index of a specific item in the collection. | | contains(T item) | Determines whether the collection contains a specific item. | | contains(TagCategory item) | Determines whether the collection contains a TagCategory item. | ##### getCount() ``` public abstract int getCount() ``` Gets the number of elements contained in the collection. **Returns:** int - The number of elements contained in the collection. ##### get_Item(int index) ``` public abstract T get_Item(int index) ``` Gets the element at the specified index in the read-only list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the element to get. | **Returns:** T - The element at the specified index in the read-only list. ##### indexOf(T item) ``` public abstract int indexOf(T item) ``` Determines the index of a specific item in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** int - The index of item if found in the collection; otherwise, -1. ##### contains(T item) ``` public abstract boolean contains(T item) ``` Determines whether the collection contains a specific item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ##### contains(TagCategory item) ``` public abstract boolean contains(TagCategory item) ``` Determines whether the collection contains a TagCategory item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | TagCategory | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ### IXmp Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/ixmp.md ### IXmpType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/ixmptype.md ### Jpeg2000Package Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/jpeg2000package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class Jpeg2000Package extends CustomPackage ``` Represents native JPEG2000 metadata. [Working with metadata in JPEG2000 images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+JPEG2000+images #### Methods | Method | Description | | --- | --- | | getComments() | Gets the JPEG2000 comments. | ##### getComments() ``` public final String[] getComments() ``` Gets the JPEG2000 comments. **Returns:** java.lang.String[] - The JPEG2000 comments. ### Jpeg2000RootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/jpeg2000rootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class Jpeg2000RootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package intended to work with metadata in a JPEG2000 image. This code snippet demonstrates how to read JPEG2000 image comments. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg2000)) { > Jpeg2000RootPackage root = metadata.getRootPackageGeneric(); > if (root.getJpeg2000Package().getComments() != null) { > for (String comment : root.getJpeg2000Package().getComments()) { > System.out.println(comment); > } > } > } > > ``` > ``` [Working with metadata in JPEG2000 images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+JPEG2000+images [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getJpeg2000Package() | Gets the JPEG2000 native metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getJpeg2000Package() ``` public final Jpeg2000Package getJpeg2000Package() ``` Gets the JPEG2000 native metadata package. **Returns:** Jpeg2000Package - The JPEG2000 native metadata package. ### JpegRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/jpegrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif, com.groupdocs.metadata.core.IIptc ``` public class JpegRootPackage extends ImageRootPackage implements IXmp, IExif, IIptc ``` Represents the root package allowing working with metadata in a JPEG image. [Working with metadata in JPEG images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+JPEG+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getIptcPackage() | Gets the IPTC metadata package. | | setIptcPackage(IptcRecordSet value) | Sets the IPTC metadata package. | | getImageResourcePackage() | Gets the Photoshop Image Resource metadata package. | | getMakerNotePackage() | Gets the MakerNote metadata package. | | removeImageResourcePackage() | Removes Photoshop Image Resource metadata package. | | detectBarcodeTypes() | Extracts the types of the barcodes presented in the image. | | sanitize() | Removes writable metadata properties from the package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getIptcPackage() ``` public final IptcRecordSet getIptcPackage() ``` Gets the IPTC metadata package. **Returns:** IptcRecordSet - The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata ##### setIptcPackage(IptcRecordSet value) ``` public final void setIptcPackage(IptcRecordSet value) ``` Sets the IPTC metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcRecordSet | The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata | ##### getImageResourcePackage() ``` public final ImageResourcePackage getImageResourcePackage() ``` Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format. **Returns:** ImageResourcePackage - The Image Resource metadata package. ##### getMakerNotePackage() ``` public final MakerNotePackage getMakerNotePackage() ``` Gets the MakerNote metadata package. **Returns:** MakerNotePackage - The MakerNote metadata package. ##### removeImageResourcePackage() ``` public final void removeImageResourcePackage() ``` Removes Photoshop Image Resource metadata package. ##### detectBarcodeTypes() ``` public final String[] detectBarcodeTypes() ``` Extracts the types of the barcodes presented in the image. **Returns:** java.lang.String[] - An array of barcode types. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### LyricsField Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/lyricsfield.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public final class LyricsField extends MetadataProperty ``` Represents a LyricsTag field. [Handling the Lyrics tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+Lyrics+tag #### Constructors | Constructor | Description | | --- | --- | | LyricsField(String id, String data) | Initializes a new instance of the LyricsField class. | #### Methods | Method | Description | | --- | --- | | getID() | Gets the id of the field (it's always three characters long). | | getSize() | Gets the string representation of the field size. | | getData() | Gets the field data. | ##### LyricsField(String id, String data) ``` public LyricsField(String id, String data) ``` Initializes a new instance of the LyricsField class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The three character field id. | | data | java.lang.String | The field data. | ##### getID() ``` public final String getID() ``` Gets the id of the field (it's always three characters long). **Returns:** java.lang.String - The id of the field (it's always three characters long). ##### getSize() ``` public final String getSize() ``` Gets the string representation of the field size. **Returns:** java.lang.String - The string representation of the field size. ##### getData() ``` public final String getData() ``` Gets the field data. **Returns:** java.lang.String - The field data. ### LyricsTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/lyricstag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class LyricsTag extends CustomPackage ``` Represents Lyrics3 v2.00 metadata. Please find more information at http://id3.org/Lyrics3v2 . Lyrics3 v2.00 uses fields to represent information. The data in a field can consist of ASCII characters in the range 01 to 254 according to the standard. As the ASCII character map is only defined from 00 to 128 ISO-8859-1 might be assumed. Numerical fields are 5 or 6 characters long, depending on location, and are padded with zeroes. This code sample shows how to read the Lyrics tag from an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithLyrics)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > if (root.getLyrics3V2() != null) { > System.out.println(root.getLyrics3V2().getLyrics()); > System.out.println(root.getLyrics3V2().getAlbum()); > System.out.println(root.getLyrics3V2().getArtist()); > System.out.println(root.getLyrics3V2().getTrack()); > // ... > // Alternatively, you can loop through a full list of tag fields > for (LyricsField field : root.getLyrics3V2().toList()) { > System.out.println(String.format("%s = %s", field.getID(), field.getData())); > } > } > } > > ``` > ``` [Handling the Lyrics tag]: https://docs.groupdocs.com/display/metadatajava/Handling+the+Lyrics+tag #### Constructors | Constructor | Description | | --- | --- | | LyricsTag() | Initializes a new instance of the LyricsTag class. | #### Methods | Method | Description | | --- | --- | | getLyrics() | Gets the lyrics. | | setLyrics(String value) | Sets the lyrics. | | getAdditionalInfo() | Gets the additional information. | | setAdditionalInfo(String value) | Sets the additional information. | | getAuthor() | Gets the author. | | setAuthor(String value) | Sets the author. | | getAlbum() | Gets the album name. | | setAlbum(String value) | Sets the album name. | | getArtist() | Gets the artist name. | | setArtist(String value) | Sets the artist name. | | getTrack() | Gets the track title. | | setTrack(String value) | Sets the track title. | | set(LyricsField field) | Adds or replaces the specified Lyrics3 field. | | remove(String id) | Removes the field with the specified id. | | get(String id) | Gets the value of the field with the specified id. | | toList() | Creates a list from the package. | ##### LyricsTag() ``` public LyricsTag() ``` Initializes a new instance of the LyricsTag class. ##### getLyrics() ``` public final String getLyrics() ``` Gets the lyrics. This value is represented by the LYR field. **Returns:** java.lang.String - The lyrics. ##### setLyrics(String value) ``` public final void setLyrics(String value) ``` Sets the lyrics. This value is represented by the LYR field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The lyrics. | ##### getAdditionalInfo() ``` public final String getAdditionalInfo() ``` Gets the additional information. This value is represented by the INF field. **Returns:** java.lang.String - The additional information. This is always three (3) characters long in v2.00, but might be longer in a future standard. The first byte indicates weather or not a lyrics field is present. "1" for present and "0" for otherwise. The second character indicates if there is a timestamp in the lyrics. Again "1" for yes and "0" for no. The third character inhibits tracks for random selection - "1" if inhibited and "0" if not. ##### setAdditionalInfo(String value) ``` public final void setAdditionalInfo(String value) ``` Sets the additional information. This value is represented by the INF field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The additional information. This is always three (3) characters long in v2.00, but might be longer in a future standard. The first byte indicates weather or not a lyrics field is present. "1" for present and "0" for otherwise. The second character indicates if there is a timestamp in the lyrics. Again "1" for yes and "0" for no. The third character inhibits tracks for random selection - "1" if inhibited and "0" if not. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author. This value is represented by the AUT field. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the author. This value is represented by the AUT field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getAlbum() ``` public final String getAlbum() ``` Gets the album name. This value is represented by the EAL field. **Returns:** java.lang.String - The album. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the album name. This value is represented by the EAL field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The album. | ##### getArtist() ``` public final String getArtist() ``` Gets the artist name. This value is represented by the EAR field. **Returns:** java.lang.String - The artist. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the artist name. This value is represented by the EAR field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The artist. | ##### getTrack() ``` public final String getTrack() ``` Gets the track title. This value is represented by the ETT field. **Returns:** java.lang.String - The track. ##### setTrack(String value) ``` public final void setTrack(String value) ``` Sets the track title. This value is represented by the ETT field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The track. | ##### set(LyricsField field) ``` public final void set(LyricsField field) ``` Adds or replaces the specified Lyrics3 field. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | field | LyricsField | The field to be set. | ##### remove(String id) ``` public final void remove(String id) ``` Removes the field with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The field identifier. | ##### get(String id) ``` public final String get(String id) ``` Gets the value of the field with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | id | java.lang.String | The id of the field. | **Returns:** java.lang.String - The value if the tag contains a field with the specified id; otherwise, null. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list of all fields contained in the Lyrics3 tag. ### MakerNotePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/makernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage ``` public abstract class MakerNotePackage extends ExifDictionaryBasePackage ``` Provides an abstract base class for MakerNote metadata packages. ### MatroskaAudioTrack Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskaaudiotrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage, com.groupdocs.metadata.core.MatroskaTrack ``` public class MatroskaAudioTrack extends MatroskaTrack ``` Represents audio metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getSamplingFrequency() | Gets the sampling frequency in Hz. | | getOutputSamplingFrequency() | Gets the real output sampling frequency in Hz (used for SBR techniques). | | getChannels() | Gets the numbers of channels in the track. | | getBitDepth() | Gets the bits per sample, mostly used for PCM. | ##### getSamplingFrequency() ``` public final double getSamplingFrequency() ``` Gets the sampling frequency in Hz. **Returns:** double - The sampling frequency in Hz. ##### getOutputSamplingFrequency() ``` public final double getOutputSamplingFrequency() ``` Gets the real output sampling frequency in Hz (used for SBR techniques). **Returns:** double - The real output sampling frequency in Hz (used for SBR techniques). ##### getChannels() ``` public final long getChannels() ``` Gets the numbers of channels in the track. **Returns:** long - The numbers of channels in the track. ##### getBitDepth() ``` public final Long getBitDepth() ``` Gets the bits per sample, mostly used for PCM. **Returns:** java.lang.Long - The bits per sample, mostly used for PCM. ### MatroskaBasePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskabasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class MatroskaBasePackage extends CustomPackage ``` Provides a base metadata class for all packages extracted from a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files ### MatroskaContentType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskacontenttype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaContentType extends Enum implements IEnumValue ``` Represents a Matroska content type. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined content. | | Audio | Defines the Matroska audio type. | | Video | Defines the Matroska video type. | | Video3D | Defines the Matroska 3D video type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MatroskaContentType Undefined ``` Undefined content. ##### Audio ``` public static final MatroskaContentType Audio ``` Defines the Matroska audio type. ##### Video ``` public static final MatroskaContentType Video ``` Defines the Matroska video type. ##### Video3D ``` public static final MatroskaContentType Video3D ``` Defines the Matroska 3D video type. ##### values() ``` public static MatroskaContentType[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaContentType[] ##### valueOf(String name) ``` public static MatroskaContentType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaContentType ##### getByRawValue(int rawValue) ``` public static MatroskaContentType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaContentType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaEbmlHeader Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskaebmlheader.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaEbmlHeader extends MatroskaBasePackage ``` Represents EBML header metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the EBML Writer that has been used to create the file. | | getReadVersion() | Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. | | getDocType() | Gets the contents of the file. | | getDocTypeVersion() | Gets the version of the DocType writer used to create the file. | | getDocTypeReadVersion() | Gets the minimum version number a DocType parser must be compliant with to read the file. | ##### getVersion() ``` public final byte getVersion() ``` Gets the version of the EBML Writer that has been used to create the file. **Returns:** byte - The version of the EBML Writer that has been used to create the file. ##### getReadVersion() ``` public final byte getReadVersion() ``` Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. **Returns:** byte - The minimum version an EBML parser needs to be compliant with to be able to read the file. ##### getDocType() ``` public final String getDocType() ``` Gets the contents of the file. In the case of a MATROSKA file, its value is 'matroska'. **Returns:** java.lang.String - The contents of the file. ##### getDocTypeVersion() ``` public final byte getDocTypeVersion() ``` Gets the version of the DocType writer used to create the file. **Returns:** byte - The version of the DocType writer used to create the file. ##### getDocTypeReadVersion() ``` public final byte getDocTypeReadVersion() ``` Gets the minimum version number a DocType parser must be compliant with to read the file. **Returns:** byte - The minimum version number a DocType parser must be compliant with to read the file. ### MatroskaPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaPackage extends MatroskaBasePackage ``` Represents a metadata container in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getEbmlHeader() | Gets the EBML header metadata. | | getSegments() | Gets the segment information metadata. | | getTracks() | Gets the track metadata entries. | | getTags() | Gets the tagging metadata. | | getContentType() | Gets the Matroska content type. | | getSubtitleTracks() | Gets the subtitle metadata entries. | ##### getEbmlHeader() ``` public final MatroskaEbmlHeader getEbmlHeader() ``` Gets the EBML header metadata. **Returns:** MatroskaEbmlHeader - The EBML header metadata. ##### getSegments() ``` public final MatroskaSegment[] getSegments() ``` Gets the segment information metadata. **Returns:** com.groupdocs.metadata.core.MatroskaSegment[] - The segment information metadata. ##### getTracks() ``` public final MatroskaTrack[] getTracks() ``` Gets the track metadata entries. **Returns:** com.groupdocs.metadata.core.MatroskaTrack[] - The track metadata entries. ##### getTags() ``` public final MatroskaTag[] getTags() ``` Gets the tagging metadata. **Returns:** com.groupdocs.metadata.core.MatroskaTag[] - The tagging metadata. ##### getContentType() ``` public final MatroskaContentType getContentType() ``` Gets the Matroska content type. **Returns:** MatroskaContentType - The Matroska content type. ##### getSubtitleTracks() ``` public final MatroskaSubtitleTrack[] getSubtitleTracks() ``` Gets the subtitle metadata entries. **Returns:** com.groupdocs.metadata.core.MatroskaSubtitleTrack[] - The subtitle metadata entries. ### MatroskaRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskarootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class MatroskaRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a Matroska video. This example demonstrates how to extract subtitles from an MKV video. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MkvWithSubtitles)) { > MatroskaRootPackage root = metadata.getRootPackageGeneric(); > for (MatroskaSubtitleTrack subtitleTrack : root.getMatroskaPackage().getSubtitleTracks()) { > System.out.println(subtitleTrack.getLanguageIetf() != null ? subtitleTrack.getLanguageIetf() : subtitleTrack.getLanguage()); > for (MatroskaSubtitle subtitle : subtitleTrack.getSubtitles()) { > System.out.println(String.format("Timecode=%s, Duration=%s", subtitle.getTimecode(), subtitle.getDuration())); > System.out.println(subtitle.getText()); > } > } > } > > ``` > ``` [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getMatroskaPackage() | Gets the Matroska metadata package. | ##### getMatroskaPackage() ``` public final MatroskaPackage getMatroskaPackage() ``` Gets the Matroska metadata package. **Returns:** MatroskaPackage - The Matroska metadata package. ### MatroskaSegment Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskasegment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaSegment extends MatroskaBasePackage ``` Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getSegmentUid() | Gets the unique 128 bit number identifying a SEGMENT. | | getSegmentFilename() | Gets the filename corresponding to this Segment. | | getTimecodeScale() | Gets the timecode scale value. | | getDuration() | Gets the duration of the SEGMENT. | | getDateUtc() | Gets the date and time that the Segment was created by the muxing application or library. | | getTitle() | Gets the general name of the Segment. | | getMuxingApp() | Gets the full name of the application or library followed by the version number. | | getWritingApp() | Gets the full name of the application followed by the version number. | | getScaledDuration() | Gets the scaled duration of the SEGMENT in milliseconds. | ##### getSegmentUid() ``` public final byte[] getSegmentUid() ``` Gets the unique 128 bit number identifying a SEGMENT. Obviously, a file can only be referred to by another file if a SEGMENTUID is present, however, playback is possible without that UID. **Returns:** byte[] - The unique 128 bit number identifying a SEGMENT. ##### getSegmentFilename() ``` public final String getSegmentFilename() ``` Gets the filename corresponding to this Segment. **Returns:** java.lang.String - The filename corresponding to this Segment. ##### getTimecodeScale() ``` public final long getTimecodeScale() ``` Gets the timecode scale value. Each scaled timecode in a MATROSKA file is multiplied by TIMECODESCALE to obtain the timecode in nanoseconds. Note that not all timecodes are scaled! **Returns:** long - The timecode scale value. ##### getDuration() ``` public final Double getDuration() ``` Gets the duration of the SEGMENT. Please see TimecodeScale for more information. **Returns:** java.lang.Double - The duration of the SEGMENT. ##### getDateUtc() ``` public final Date getDateUtc() ``` Gets the date and time that the Segment was created by the muxing application or library. **Returns:** java.util.Date - The date and time that the Segment was created by the muxing application or library. ##### getTitle() ``` public final String getTitle() ``` Gets the general name of the Segment. **Returns:** java.lang.String - The general name of the Segment. ##### getMuxingApp() ``` public final String getMuxingApp() ``` Gets the full name of the application or library followed by the version number. **Returns:** java.lang.String - The full name of the application or library followed by the version number. ##### getWritingApp() ``` public final String getWritingApp() ``` Gets the full name of the application followed by the version number. **Returns:** java.lang.String - The full name of the application followed by the version number. ##### getScaledDuration() ``` public final Double getScaledDuration() ``` Gets the scaled duration of the SEGMENT in milliseconds. **Returns:** java.lang.Double - The scaled duration of the SEGMENT in milliseconds. ### MatroskaSimpleTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskasimpletag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaSimpleTag extends MatroskaBasePackage ``` Represents general information about the target in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files ### MatroskaSubtitle Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskasubtitle.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaSubtitle extends MatroskaBasePackage ``` Represents subtitle metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getTimecode() | Gets the time code. | | getDuration() | Gets the duration. | | getText() | Gets the subtitle text. | ##### getTimecode() ``` public final double getTimecode() ``` Gets the time code. **Returns:** double - The time code. ##### getDuration() ``` public final double getDuration() ``` Gets the duration. **Returns:** double - The duration. ##### getText() ``` public final String getText() ``` Gets the subtitle text. **Returns:** java.lang.String - The subtitle text. ### MatroskaSubtitleTrack Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskasubtitletrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage, com.groupdocs.metadata.core.MatroskaTrack ``` public class MatroskaSubtitleTrack extends MatroskaTrack ``` Represents subtitle metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getSubtitles() | Gets the subtitles. | ##### getSubtitles() ``` public final MatroskaSubtitle[] getSubtitles() ``` Gets the subtitles. **Returns:** com.groupdocs.metadata.core.MatroskaSubtitle[] - The subtitles. ### MatroskaTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskatag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaTag extends MatroskaBasePackage ``` Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getTargetTypeValue() | Gets the number to indicate the logical level of the target. | | getTargetType() | Gets an informational string that can be used to display the logical level of the target. | | getTagTrackUid() | Gets a unique ID to identify the Track(s) the tags belong to. | | getSimpleTags() | Gets the general information about the target. | ##### getTargetTypeValue() ``` public final MatroskaTargetTypeValue getTargetTypeValue() ``` Gets the number to indicate the logical level of the target. **Returns:** MatroskaTargetTypeValue - The number to indicate the logical level of the target. ##### getTargetType() ``` public final String getTargetType() ``` Gets an informational string that can be used to display the logical level of the target. Like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc. **Returns:** java.lang.String - An informational string that can be used to display the logical level of the target. ##### getTagTrackUid() ``` public final long getTagTrackUid() ``` Gets a unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment. **Returns:** long - A unique ID to identify the Track(s) the tags belong to. ##### getSimpleTags() ``` public final MatroskaSimpleTag getSimpleTags() ``` Gets the general information about the target. **Returns:** MatroskaSimpleTag - The general information about the target. ### MatroskaTargetTypeValue Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskatargettypevalue.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaTargetTypeValue extends Enum implements IEnumValue ``` Represents a number to indicate the logical level of the Matroska tag target. #### Fields | Field | Description | | --- | --- | | Undefined | Undefined level. | | Collection | COLLECTION level. | | Edition | EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL level. | | Album | ALBUM / OPERA / CONCERT / MOVIE / EPISODE / CONCERT level. | | Part | PART / SESSION level. | | Track | TRACK / SONG / CHAPTER level. | | Subtrack | SUBTRACK / PART / MOVEMENT / SCENE level. | | Shot | SHOT level. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MatroskaTargetTypeValue Undefined ``` Undefined level. ##### Collection ``` public static final MatroskaTargetTypeValue Collection ``` COLLECTION level. ##### Edition ``` public static final MatroskaTargetTypeValue Edition ``` EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL level. ##### Album ``` public static final MatroskaTargetTypeValue Album ``` ALBUM / OPERA / CONCERT / MOVIE / EPISODE / CONCERT level. ##### Part ``` public static final MatroskaTargetTypeValue Part ``` PART / SESSION level. ##### Track ``` public static final MatroskaTargetTypeValue Track ``` TRACK / SONG / CHAPTER level. ##### Subtrack ``` public static final MatroskaTargetTypeValue Subtrack ``` SUBTRACK / PART / MOVEMENT / SCENE level. ##### Shot ``` public static final MatroskaTargetTypeValue Shot ``` SHOT level. ##### values() ``` public static MatroskaTargetTypeValue[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaTargetTypeValue[] ##### valueOf(String name) ``` public static MatroskaTargetTypeValue valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaTargetTypeValue ##### getByRawValue(int rawValue) ``` public static MatroskaTargetTypeValue getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaTargetTypeValue ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaTrack Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskatrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage ``` public class MatroskaTrack extends MatroskaBasePackage ``` Represents track metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getTrackNumber() | Gets the track number as used in the Block Header. | | getTrackUid() | Gets the unique ID to identify the Track. | | getTrackType() | Gets the type of the track. | | getFlagEnabled() | Gets the enabled flag, true if the track is usable. | | getDefaultDuration() | Gets the number of nanoseconds (not scaled via MatroskaSegment.TimecodeScale ) per frame. | | getName() | Gets the human-readable track name. | | getLanguage() | Gets the language of the track in the Matroska languages form. | | getLanguageIetf() | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. | | getCodecID() | Gets an ID corresponding to the codec. | | getCodecName() | Gets a human-readable string specifying the codec. | ##### getTrackNumber() ``` public final long getTrackNumber() ``` Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. **Returns:** long - The track number as used in the Block Header. ##### getTrackUid() ``` public final long getTrackUid() ``` Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. **Returns:** long - The unique ID to identify the Track. ##### getTrackType() ``` public final MatroskaTrackType getTrackType() ``` Gets the type of the track. **Returns:** MatroskaTrackType - The type of the track. ##### getFlagEnabled() ``` public final boolean getFlagEnabled() ``` Gets the enabled flag, true if the track is usable. **Returns:** boolean - The enabled flag. ##### getDefaultDuration() ``` public final Long getDefaultDuration() ``` Gets the number of nanoseconds (not scaled via MatroskaSegment.TimecodeScale ) per frame. **Returns:** java.lang.Long - The number of nanoseconds (not scaled via MatroskaSegment.TimecodeScale ) per frame. Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block. ##### getName() ``` public final String getName() ``` Gets the human-readable track name. **Returns:** java.lang.String - The human-readable track name. ##### getLanguage() ``` public final String getLanguage() ``` Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the LanguageIetf Element is used in the same TrackEntry. **Returns:** java.lang.String - The language of the track in the Matroska languages form. Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains. ##### getLanguageIetf() ``` public final String getLanguageIetf() ``` Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any Language Elements used in the same TrackEntry MUST be ignored. **Returns:** java.lang.String - The language of the track according to BCP 47 and using the IANA Language Subtag Registry. ##### getCodecID() ``` public final String getCodecID() ``` Gets an ID corresponding to the codec. **Returns:** java.lang.String - An ID corresponding to the codec. See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info. ##### getCodecName() ``` public final String getCodecName() ``` Gets a human-readable string specifying the codec. **Returns:** java.lang.String - A human-readable string specifying the codec. ### MatroskaTrackType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskatracktype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaTrackType extends Enum implements IEnumValue ``` Represents Matroska track types coded in 8 bits. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined track type. | | Video | Track is a video track. | | Audio | Track is an audio track. | | Complex | Track is a complex track, i.e. | | Logo | Track is a logo track. | | Subtitle | Track is a subtitle track. | | Button | Track is a button track. | | Control | Track is a control track. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MatroskaTrackType Undefined ``` The undefined track type. ##### Video ``` public static final MatroskaTrackType Video ``` Track is a video track. ##### Audio ``` public static final MatroskaTrackType Audio ``` Track is an audio track. ##### Complex ``` public static final MatroskaTrackType Complex ``` Track is a complex track, i.e. a combined video and audio track. ##### Logo ``` public static final MatroskaTrackType Logo ``` Track is a logo track. ##### Subtitle ``` public static final MatroskaTrackType Subtitle ``` Track is a subtitle track. ##### Button ``` public static final MatroskaTrackType Button ``` Track is a button track. ##### Control ``` public static final MatroskaTrackType Control ``` Track is a control track. ##### values() ``` public static MatroskaTrackType[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaTrackType[] ##### valueOf(String name) ``` public static MatroskaTrackType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaTrackType ##### getByRawValue(int rawValue) ``` public static MatroskaTrackType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaTrackType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoDisplayUnit Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskavideodisplayunit.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoDisplayUnit extends Enum implements IEnumValue ``` Defines how Matroska DisplayWidth and DisplayHeight are interpreted. #### Fields | Field | Description | | --- | --- | | Pixels | Pixels unit. | | Centimeters | Centimeters unit. | | Inches | Inches unit. | | AspectRatio | Display aspect ratio unit. | | Unknown | Unknown unit. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Pixels ``` public static final MatroskaVideoDisplayUnit Pixels ``` Pixels unit. ##### Centimeters ``` public static final MatroskaVideoDisplayUnit Centimeters ``` Centimeters unit. ##### Inches ``` public static final MatroskaVideoDisplayUnit Inches ``` Inches unit. ##### AspectRatio ``` public static final MatroskaVideoDisplayUnit AspectRatio ``` Display aspect ratio unit. ##### Unknown ``` public static final MatroskaVideoDisplayUnit Unknown ``` Unknown unit. ##### values() ``` public static MatroskaVideoDisplayUnit[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoDisplayUnit[] ##### valueOf(String name) ``` public static MatroskaVideoDisplayUnit valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoDisplayUnit ##### getByRawValue(int rawValue) ``` public static MatroskaVideoDisplayUnit getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoDisplayUnit ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoFieldOrder Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskavideofieldorder.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoFieldOrder extends Enum implements IEnumValue ``` Represents the field ordering of the Matroska video. If FlagInterlaced is not set to 1, this Element MUST be ignored. #### Fields | Field | Description | | --- | --- | | Progressive | Progressive ordering. | | Tff | Tiff ordering. | | Undetermined | Undetermined ordering. | | Bff | Biff ordering. | | BffSwapped | Bff (swapped) ordering. | | TffSwapped | Tff (swapped) ordering. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Progressive ``` public static final MatroskaVideoFieldOrder Progressive ``` Progressive ordering. ##### Tff ``` public static final MatroskaVideoFieldOrder Tff ``` Tiff ordering. ##### Undetermined ``` public static final MatroskaVideoFieldOrder Undetermined ``` Undetermined ordering. ##### Bff ``` public static final MatroskaVideoFieldOrder Bff ``` Biff ordering. ##### BffSwapped ``` public static final MatroskaVideoFieldOrder BffSwapped ``` Bff (swapped) ordering. ##### TffSwapped ``` public static final MatroskaVideoFieldOrder TffSwapped ``` Tff (swapped) ordering. ##### values() ``` public static MatroskaVideoFieldOrder[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoFieldOrder[] ##### valueOf(String name) ``` public static MatroskaVideoFieldOrder valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoFieldOrder ##### getByRawValue(int rawValue) ``` public static MatroskaVideoFieldOrder getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoFieldOrder ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoFlagInterlaced Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskavideoflaginterlaced.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoFlagInterlaced extends Enum implements IEnumValue ``` Represents a flag to declare if the Matroska video is known to be progressive or interlaced and if applicable to declare details about the interlacement. #### Fields | Field | Description | | --- | --- | | Undetermined | Undetermined flag. | | Interlaced | Interlaced flag. | | Progressive | Progressive flag. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undetermined ``` public static final MatroskaVideoFlagInterlaced Undetermined ``` Undetermined flag. ##### Interlaced ``` public static final MatroskaVideoFlagInterlaced Interlaced ``` Interlaced flag. ##### Progressive ``` public static final MatroskaVideoFlagInterlaced Progressive ``` Progressive flag. ##### values() ``` public static MatroskaVideoFlagInterlaced[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoFlagInterlaced[] ##### valueOf(String name) ``` public static MatroskaVideoFlagInterlaced valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoFlagInterlaced ##### getByRawValue(int rawValue) ``` public static MatroskaVideoFlagInterlaced getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoFlagInterlaced ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoStereoMode Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskavideostereomode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MatroskaVideoStereoMode extends Enum implements IEnumValue ``` Represents Matroska Stereo-3D video modes. #### Fields | Field | Description | | --- | --- | | Mono | Mono mode. | | SideBySideLeft | Side by side (left eye first) video mode. | | TopBottomRight | Top - bottom (right eye is first) video mode. | | TopBottomLeft | Top - bottom (left eye is first) video mode. | | CheckboardRight | Checkboard (right eye is first) video mode. | | CheckboardLleft | Checkboard (left eye is first) video mode. | | RowInterleavedRight | Row interleaved (right eye is first) video mode. | | RowInterleavedLeft | Row interleaved (left eye is first) video mode. | | ColumnInterleavedRight | Column interleaved (right eye is first) video mode. | | ColumnInterleavedLeft | Column interleaved (left eye is first) video mode. | | AnaglyphCyanRed | Anaglyph (cyan/red) video mode. | | SideBySideRight | Side by side (right eye first) video mode. | | AnaglyphGreenMagenta | Anaglyph (green/magenta) video mode. | | BothEyesLacedLeft | Both eyes laced in one Block (left eye is first) video mode. | | BothEyesLacedRight | Both eyes laced in one Block (right eye is first) video mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Mono ``` public static final MatroskaVideoStereoMode Mono ``` Mono mode. ##### SideBySideLeft ``` public static final MatroskaVideoStereoMode SideBySideLeft ``` Side by side (left eye first) video mode. ##### TopBottomRight ``` public static final MatroskaVideoStereoMode TopBottomRight ``` Top - bottom (right eye is first) video mode. ##### TopBottomLeft ``` public static final MatroskaVideoStereoMode TopBottomLeft ``` Top - bottom (left eye is first) video mode. ##### CheckboardRight ``` public static final MatroskaVideoStereoMode CheckboardRight ``` Checkboard (right eye is first) video mode. ##### CheckboardLleft ``` public static final MatroskaVideoStereoMode CheckboardLleft ``` Checkboard (left eye is first) video mode. ##### RowInterleavedRight ``` public static final MatroskaVideoStereoMode RowInterleavedRight ``` Row interleaved (right eye is first) video mode. ##### RowInterleavedLeft ``` public static final MatroskaVideoStereoMode RowInterleavedLeft ``` Row interleaved (left eye is first) video mode. ##### ColumnInterleavedRight ``` public static final MatroskaVideoStereoMode ColumnInterleavedRight ``` Column interleaved (right eye is first) video mode. ##### ColumnInterleavedLeft ``` public static final MatroskaVideoStereoMode ColumnInterleavedLeft ``` Column interleaved (left eye is first) video mode. ##### AnaglyphCyanRed ``` public static final MatroskaVideoStereoMode AnaglyphCyanRed ``` Anaglyph (cyan/red) video mode. ##### SideBySideRight ``` public static final MatroskaVideoStereoMode SideBySideRight ``` Side by side (right eye first) video mode. ##### AnaglyphGreenMagenta ``` public static final MatroskaVideoStereoMode AnaglyphGreenMagenta ``` Anaglyph (green/magenta) video mode. ##### BothEyesLacedLeft ``` public static final MatroskaVideoStereoMode BothEyesLacedLeft ``` Both eyes laced in one Block (left eye is first) video mode. ##### BothEyesLacedRight ``` public static final MatroskaVideoStereoMode BothEyesLacedRight ``` Both eyes laced in one Block (right eye is first) video mode. ##### values() ``` public static MatroskaVideoStereoMode[] values() ``` **Returns:** com.groupdocs.metadata.core.MatroskaVideoStereoMode[] ##### valueOf(String name) ``` public static MatroskaVideoStereoMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MatroskaVideoStereoMode ##### getByRawValue(int rawValue) ``` public static MatroskaVideoStereoMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MatroskaVideoStereoMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MatroskaVideoTrack Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/matroskavideotrack.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage, com.groupdocs.metadata.core.MatroskaTrack ``` public class MatroskaVideoTrack extends MatroskaTrack ``` Represents video metadata in a Matroska video. [Working with metadata in Matroska _MKV_ files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Matroska+%28MKV%29+files #### Methods | Method | Description | | --- | --- | | getFlagInterlaced() | Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. | | getFieldOrder() | Gets declare the field ordering of the video. | | getStereoMode() | Gets the stereo-3D video mode. | | getAlphaMode() | Gets the alpha Video Mode. | | getPixelWidth() | Gets the width of the encoded video frames in pixels. | | getPixelHeight() | Gets the height of the encoded video frames in pixels. | | getPixelCropBottom() | Gets the number of video pixels to remove at the bottom of the image. | | getPixelCropTop() | Gets the number of video pixels to remove at the top of the image. | | getPixelCropLeft() | Gets the number of video pixels to remove on the left of the image. | | getPixelCropRight() | Gets the number of video pixels to remove on the right of the image. | | getDisplayWidth() | Gets the width of the video frames to display. | | getDisplayHeight() | Gets the height of the video frames to display. | | getDisplayUnit() | Gets the how DisplayWidth and DisplayHeight are interpreted. | ##### getFlagInterlaced() ``` public final MatroskaVideoFlagInterlaced getFlagInterlaced() ``` Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. **Returns:** MatroskaVideoFlagInterlaced - A flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. ##### getFieldOrder() ``` public final MatroskaVideoFieldOrder getFieldOrder() ``` Gets declare the field ordering of the video. If FlagInterlaced is not set to 1, this Element MUST be ignored. **Returns:** MatroskaVideoFieldOrder - Declare the field ordering of the video. ##### getStereoMode() ``` public final MatroskaVideoStereoMode getStereoMode() ``` Gets the stereo-3D video mode. **Returns:** MatroskaVideoStereoMode - The stereo-3D video mode. ##### getAlphaMode() ``` public final Long getAlphaMode() ``` Gets the alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data. Value: The alpha Video Mode. **Returns:** java.lang.Long ##### getPixelWidth() ``` public final long getPixelWidth() ``` Gets the width of the encoded video frames in pixels. **Returns:** long - The width of the encoded video frames in pixels. ##### getPixelHeight() ``` public final long getPixelHeight() ``` Gets the height of the encoded video frames in pixels. **Returns:** long - The height of the encoded video frames in pixels. ##### getPixelCropBottom() ``` public final long getPixelCropBottom() ``` Gets the number of video pixels to remove at the bottom of the image. **Returns:** long - The number of video pixels to remove at the bottom of the image. ##### getPixelCropTop() ``` public final long getPixelCropTop() ``` Gets the number of video pixels to remove at the top of the image. **Returns:** long - The number of video pixels to remove at the top of the image. ##### getPixelCropLeft() ``` public final long getPixelCropLeft() ``` Gets the number of video pixels to remove on the left of the image. **Returns:** long - The number of video pixels to remove on the left of the image. ##### getPixelCropRight() ``` public final long getPixelCropRight() ``` Gets the number of video pixels to remove on the right of the image. **Returns:** long - The number of video pixels to remove on the right of the image. ##### getDisplayWidth() ``` public final Long getDisplayWidth() ``` Gets the width of the video frames to display. Applies to the video frame after cropping (PixelCrop\* Elements). **Returns:** java.lang.Long - The width of the video frames to display. ##### getDisplayHeight() ``` public final Long getDisplayHeight() ``` Gets the height of the video frames to display. Applies to the video frame after cropping (PixelCrop\* Elements). **Returns:** java.lang.Long - The height of the video frames to display. ##### getDisplayUnit() ``` public final MatroskaVideoDisplayUnit getDisplayUnit() ``` Gets the how DisplayWidth and DisplayHeight are interpreted. **Returns:** MatroskaVideoDisplayUnit - The how DisplayWidth and DisplayHeight are interpreted. ### MetadataPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/metadatapackage.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public abstract class MetadataPackage implements Iterable ``` Represents base abstraction for a metadata package. #### Methods | Method | Description | | --- | --- | | getMetadataType() | Gets the metadata type. | | getKeys() | Gets a collection of the metadata property names. | | get_Item(String propertyName) | Gets the MetadataProperty with the specified name. | | getPropertyDescriptors() | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | iterator() | Returns an enumerator that iterates through the collection. | | contains(String propertyName) | Determines whether the package contains a metadata property with the specified name. | | getCount() | Gets the number of metadata properties. | | findProperties(Specification specification) | Finds the metadata properties satisfying a specification. | | updateProperties(Specification specification, PropertyValue value) | Updates known metadata properties satisfying a specification. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | addProperties(Specification specification, PropertyValue value) | Adds known metadata properties satisfying the specification. | | setProperties(Specification specification, PropertyValue value) | Sets known metadata properties satisfying the specification. | | sanitize() | Removes writable metadata properties from the package. | ##### getMetadataType() ``` public final MetadataType getMetadataType() ``` Gets the metadata type. **Returns:** MetadataType - The type of the metadata package. ##### getKeys() ``` public final IReadOnlyList getKeys() ``` Gets a collection of the metadata property names. **Returns:** IReadOnlyList - A collection of the metadata property names. ##### get_Item(String propertyName) ``` public final MetadataProperty get_Item(String propertyName) ``` Gets the MetadataProperty with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The name of the metadata property to be found. Value: The appropriate MetadataProperty . | **Returns:** MetadataProperty - The MetadataProperty if found; otherwise, null. ##### getPropertyDescriptors() ``` public final IReadOnlyList getPropertyDescriptors() ``` Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. **Returns:** IReadOnlyList - A collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### iterator() ``` public final Iterator iterator() ``` Returns an enumerator that iterates through the collection. **Returns:** java.util.Iterator - An enumerator that can be used to iterate through the collection. ##### contains(String propertyName) ``` public final boolean contains(String propertyName) ``` Determines whether the package contains a metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The name of the property to locate in the package. | **Returns:** boolean - True if the package contains a property with the specified name; otherwise, false. ##### getCount() ``` public final int getCount() ``` Gets the number of metadata properties. **Returns:** int - The number or metadata properties. ##### findProperties(Specification specification) ``` public IReadOnlyList findProperties(Specification specification) ``` Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A function to test each metadata property for a condition. This example demonstrates how to search for specific metadata properties using tags. > ``` > ``` > > // Constants.InputPptx is an absolute or relative path to your document. Ex: @"C:\Docs\source.pptx" > try (Metadata metadata = new Metadata(Constants.InputPptx)) { > // Fetch all the properties satisfying the predicate: > // property contains the name of the last document editor OR the date/time the document was last modified > IReadOnlyList properties = metadata.findProperties( > new ContainsTagSpecification(Tags.getPerson().getEditor()).or(new ContainsTagSpecification(Tags.getTime().getModified()))); > for (MetadataProperty property : properties) { > System.out.println(String.format("Property name: %s, Property value: %s", property.getName(), property.getValue())); > } > } > > ``` > ``` [Extracting metadata]: https://docs.groupdocs.com/display/metadatajava/Extracting+metadata | **Returns:** IReadOnlyList - A collection that contains properties from the package that satisfy the condition. ##### updateProperties(Specification specification, PropertyValue value) ``` public int updateProperties(Specification specification, PropertyValue value) ``` Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. This example demonstrates how to update existing metadata properties by various criteria regardless of the file format. > ``` > ``` > > public class UpdatingMetadata { > public static void run() { > Date threeDaysAgo = new Date(System.currentTimeMillis() - TimeUnit.DAYS.toMillis(3)); > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Update the file creation date/time if the existing value is older than 3 days > int affected = metadata.updateProperties(new ContainsTagSpecification(Tags.getTime().getCreated()).and( > new OfTypeSpecification(MetadataPropertyType.DateTime)).and( > new UpdatingMetadata().new DateBeforeSpecification(threeDaysAgo)), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > } > // Define your own specifications to filter metadata properties > public class DateBeforeSpecification extends Specification { > public DateBeforeSpecification(Date date) { > setValue(date); > } > > public final Date getValue() { > return auto_Value; > } > > private void setValue(Date value) { > auto_Value = value; > } > > private Date auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > Date date = candidate.getValue().toClass(Date.class); > if (date != null) { > return date.before(getValue()); > } > return false; > } > } > } > > ``` > ``` [Updating metadata]: https://docs.groupdocs.com/display/metadatajava/Updating+metadata | **Returns:** int - The number of affected properties. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. This example demonstrates how to remove specific metadata properties using various criteria. > ``` > ``` > > public class RemoveMetadataProperties { > public static void run() { > // Constants.InputDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" > try (Metadata metadata = new Metadata(Constants.InputDocx)) { > > // Remove all the properties satisfying the predicate: > // property contains the name of the document author OR > // it refers to the last editor OR > // the property value is a string that is equal to the given string "John" (to remove any mentions of John from the detected metadata) > int affected = metadata.removeProperties( > new ContainsTagSpecification(Tags.getPerson().getCreator()).or( > new ContainsTagSpecification(Tags.getPerson().getEditor())).or( > new OfTypeSpecification(MetadataPropertyType.String).and(new RemoveMetadataProperties().new WithValueSpecification("John")))); > > System.out.println(String.format("Properties removed: %s", affected)); > > metadata.save(Constants.OutputDocx); > } > } > > // Define your own specifications to filter metadata properties > public class WithValueSpecification extends Specification { > public WithValueSpecification(Object value) { > setValue(value); > } > > public final Object getValue() { > return auto_Value; > } > > private void setValue(Object value) { > auto_Value = value; > } > > private Object auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > return candidate.getValue().getRawValue().equals(getValue()); > } > } > } > > ``` > ``` [Removing metadata]: https://docs.groupdocs.com/display/metadatajava/Removing+metadata | **Returns:** int - The number of affected properties. ##### addProperties(Specification specification, PropertyValue value) ``` public int addProperties(Specification specification, PropertyValue value) ``` Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A value for the picked properties. This example demonstrates how to add some missing metadata properties to a file regardless of its format. > ``` > ``` > > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Add a property containing the file last printing date if it's missing > // Note that the property will be added to metadata packages that satisfy the following criteria: > // 1) Only existing metadata packages will be affected. No new packages are added during this operation > // 2) There should be a known metadata property in the package structure that fits the search condition but is actually missing in the package. > // All properties supported by a certain package are usually defined in the specification of a particular metadata standard > int affected = metadata.addProperties(new ContainsTagSpecification(Tags.getTime().getPrinted()), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > > ``` > ``` [Adding metadata]: https://docs.groupdocs.com/display/metadatajava/Adding+metadata | **Returns:** int - The number of affected properties. ##### setProperties(Specification specification, PropertyValue value) ``` public int setProperties(Specification specification, PropertyValue value) ``` Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties . If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. This example demonstrates how to set specific metadata properties using different criteria. > ``` > ``` > > // Constants.InputVsdx is an absolute or relative path to your document. Ex: @"C:\Docs\source.vsdx" > try (Metadata metadata = new Metadata(Constants.InputVsdx)) { > // Set the value of each property that satisfies the predicate: > // property contains the date/time the document was created OR modified > int affected = metadata.setProperties( > new ContainsTagSpecification(Tags.getTime().getCreated()).or(new ContainsTagSpecification(Tags.getTime().getModified())), > new PropertyValue(new Date())); > System.out.println(String.format("Properties set: %s", affected)); > metadata.save(Constants.OutputVsdx); > } > > ``` > ``` [Set metadata properties]: https://docs.groupdocs.com/display/metadatajava/Set+metadata+properties | **Returns:** int - The number of affected properties. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. This example demonstrates how to remove all detected metadata packages/properties from a file. > ``` > ``` > > // Constants.InputPdf is an absolute or relative path to your document. Ex: @"C:\Docs\source.pdf" > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > // Remove detected metadata packages > int affected = metadata.sanitize(); > System.out.println(String.format("Properties removed: %s", affected)); > metadata.save(Constants.OutputPdf); > } > > ``` > ``` [Clean metadata]: https://docs.groupdocs.com/display/metadatajava/Clean+metadata ### MetadataProperty Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/metadataproperty.md **Inheritance:** java.lang.Object ``` public class MetadataProperty ``` Represents a metadata property. #### Constructors | Constructor | Description | | --- | --- | | MetadataProperty(String name, PropertyValue value) | Initializes a new instance of the MetadataProperty class. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the property name. | | getValue() | Gets the property value. | | getInterpretedValue() | Gets the interpreted property value, if available. | | getDescriptor() | Gets the descriptor associated with the metadata property. | | getTags() | Gets a collection of tags associated with the property. | ##### MetadataProperty(String name, PropertyValue value) ``` public MetadataProperty(String name, PropertyValue value) ``` Initializes a new instance of the MetadataProperty class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the metadata property. | | value | PropertyValue | The value of the metadata property. | ##### getName() ``` public final String getName() ``` Gets the property name. **Returns:** java.lang.String - The property name. ##### getValue() ``` public final PropertyValue getValue() ``` Gets the property value. **Returns:** PropertyValue - The property value. ##### getInterpretedValue() ``` public final PropertyValue getInterpretedValue() ``` Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. **Returns:** PropertyValue - The interpreted property value, if available. ##### getDescriptor() ``` public final PropertyDescriptor getDescriptor() ``` Gets the descriptor associated with the metadata property. **Returns:** PropertyDescriptor - The descriptor associated with the metadata property. ##### getTags() ``` public final IReadOnlyList getTags() ``` Gets a collection of tags associated with the property. **Returns:** IReadOnlyList - A collection of tags associated with the property. ### MetadataPropertyType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/metadatapropertytype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MetadataPropertyType extends Enum implements IEnumValue ``` Defines metadata property types. #### Fields | Field | Description | | --- | --- | | Empty | Represents an empty (null) property. | | String | Represents a string property. | | Boolean | Represents a boolean property. | | DateTime | Represents a date property. | | TimeSpan | Represents a time property. | | Integer | Represents an integer property. | | Long | Represents a long integer property. | | Double | Represents a property with a double or float value. | | StringArray | Represents a string array property. | | ByteArray | Represents a byte array property. | | DoubleArray | Represents an array of double values. | | IntegerArray | Represents an array of integer values. | | LongArray | Represents an array of long values. | | Metadata | Represents a nested metadata block. | | MetadataArray | Represents an array of nested metadata blocks. | | Guid | Represents a global unique identifier value. | | PropertyValueArray | Represents a metadata property value array. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Empty ``` public static final MetadataPropertyType Empty ``` Represents an empty (null) property. ##### String ``` public static final MetadataPropertyType String ``` Represents a string property. ##### Boolean ``` public static final MetadataPropertyType Boolean ``` Represents a boolean property. ##### DateTime ``` public static final MetadataPropertyType DateTime ``` Represents a date property. ##### TimeSpan ``` public static final MetadataPropertyType TimeSpan ``` Represents a time property. ##### Integer ``` public static final MetadataPropertyType Integer ``` Represents an integer property. ##### Long ``` public static final MetadataPropertyType Long ``` Represents a long integer property. ##### Double ``` public static final MetadataPropertyType Double ``` Represents a property with a double or float value. ##### StringArray ``` public static final MetadataPropertyType StringArray ``` Represents a string array property. ##### ByteArray ``` public static final MetadataPropertyType ByteArray ``` Represents a byte array property. ##### DoubleArray ``` public static final MetadataPropertyType DoubleArray ``` Represents an array of double values. ##### IntegerArray ``` public static final MetadataPropertyType IntegerArray ``` Represents an array of integer values. ##### LongArray ``` public static final MetadataPropertyType LongArray ``` Represents an array of long values. ##### Metadata ``` public static final MetadataPropertyType Metadata ``` Represents a nested metadata block. ##### MetadataArray ``` public static final MetadataPropertyType MetadataArray ``` Represents an array of nested metadata blocks. ##### Guid ``` public static final MetadataPropertyType Guid ``` Represents a global unique identifier value. ##### PropertyValueArray ``` public static final MetadataPropertyType PropertyValueArray ``` Represents a metadata property value array. ##### values() ``` public static MetadataPropertyType[] values() ``` **Returns:** com.groupdocs.metadata.core.MetadataPropertyType[] ##### valueOf(String name) ``` public static MetadataPropertyType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MetadataPropertyType ##### getByRawValue(int rawValue) ``` public static MetadataPropertyType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MetadataPropertyType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MetadataType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/metadatatype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MetadataType extends Enum implements IEnumValue ``` Specifies the type of a metadata package. #### Fields | Field | Description | | --- | --- | | Undefined | The type of a metadata package is undefined. | | Root | A root metadata package containing other format-specific packages. | | Xmp | An XMP metadata package. | | Exif | An EXIF metadata package, | | Iptc | An IPTC metadata package, | | DublinCore | A Dublin Core metadata package. | | ImageResourceBlock | A Photoshop's native metadata package. | | FileFormat | A package containing information about the format of a loaded file. | | DigitalSignature | A package containing digital signature metadata. | | Presentation | A presentation metadata package. | | Spreadsheet | A spreadsheet metadata package. | | WordProcessing | A word processing metadata package. | | Diagram | A diagram metadata package. | | Note | A metadata package containing information about an electronic note file. | | ProjectManagement | A metadata package containing information about a project management file. | | Pdf | A PDF metadata package. | | DocumentStatistics | A package containing document statistics. | | Psd | A metadata package containing information about a Photoshop document. | | Jpeg2000 | A JPEG2000 native metadata package. | | Dicom | A DICOM native metadata package. | | Bmp | A BMP native metadata package. | | Wav | A WAV native metadata package. | | ID3V1 | An ID3V1 tag. | | ID3V2 | An ID3V2 tag. | | MpegAudio | An MPEG audio native metadata package. | | Lyrics3 | A Lyrics3 metadata package. | | ApeV2 | An APEv2 metadata package. | | Avi | An AVI video native metadata package. | | Flv | An FLV video native metadata package. | | Asf | An ASF video native metadata package. | | Mov | A QuickTime video. | | Matroska | A native metadata package extracted from a video encoded with the Matroska multimedia container. | | Zip | A native metadata package of a ZIP archive. | | SevenZip | A native metadata package of a SevenZip archive. | | VCard | A native metadata package of a VCard. | | Epub | A native metadata package of a EPUB e-book. | | OpenType | An OpenType font metadata package. | | Cad | A metadata package extracted from a CAD drawing. | | Eml | An EML message metadata package. | | Msg | An MSG message metadata package. | | Torrent | A torrent file metadata package. | | Png | A PNG image metadata package. | | Dng | A DNG image metadata package. | | Cr2 | A CR2 image metadata package. | | Rar | RAR is a proprietary archive file format that supports data compression, error correction and file spanning. | | Tar | In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. | | ThreeDS | 3DS is one of the file formats used by the Autodesk 3ds Max 3D modeling, animation and rendering software. | | Dae | A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. | | Fbx | FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. | | Stl | STL is a file format native to the stereolithography CAD software created by 3D Systems.[3][4][5] Chuck Hull, the inventor of stereolithography and 3D Systems\\u2019 founder, reports that the file extension is an abbreviation for stereolithography. | | Gis | Gis format | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final MetadataType Undefined ``` The type of a metadata package is undefined. ##### Root ``` public static final MetadataType Root ``` A root metadata package containing other format-specific packages. ##### Xmp ``` public static final MetadataType Xmp ``` An XMP metadata package. ##### Exif ``` public static final MetadataType Exif ``` An EXIF metadata package, ##### Iptc ``` public static final MetadataType Iptc ``` An IPTC metadata package, ##### DublinCore ``` public static final MetadataType DublinCore ``` A Dublin Core metadata package. ##### ImageResourceBlock ``` public static final MetadataType ImageResourceBlock ``` A Photoshop's native metadata package. ##### FileFormat ``` public static final MetadataType FileFormat ``` A package containing information about the format of a loaded file. ##### DigitalSignature ``` public static final MetadataType DigitalSignature ``` A package containing digital signature metadata. ##### Presentation ``` public static final MetadataType Presentation ``` A presentation metadata package. ##### Spreadsheet ``` public static final MetadataType Spreadsheet ``` A spreadsheet metadata package. ##### WordProcessing ``` public static final MetadataType WordProcessing ``` A word processing metadata package. ##### Diagram ``` public static final MetadataType Diagram ``` A diagram metadata package. ##### Note ``` public static final MetadataType Note ``` A metadata package containing information about an electronic note file. ##### ProjectManagement ``` public static final MetadataType ProjectManagement ``` A metadata package containing information about a project management file. ##### Pdf ``` public static final MetadataType Pdf ``` A PDF metadata package. ##### DocumentStatistics ``` public static final MetadataType DocumentStatistics ``` A package containing document statistics. ##### Psd ``` public static final MetadataType Psd ``` A metadata package containing information about a Photoshop document. ##### Jpeg2000 ``` public static final MetadataType Jpeg2000 ``` A JPEG2000 native metadata package. ##### Dicom ``` public static final MetadataType Dicom ``` A DICOM native metadata package. ##### Bmp ``` public static final MetadataType Bmp ``` A BMP native metadata package. ##### Wav ``` public static final MetadataType Wav ``` A WAV native metadata package. ##### ID3V1 ``` public static final MetadataType ID3V1 ``` An ID3V1 tag. ##### ID3V2 ``` public static final MetadataType ID3V2 ``` An ID3V2 tag. ##### MpegAudio ``` public static final MetadataType MpegAudio ``` An MPEG audio native metadata package. ##### Lyrics3 ``` public static final MetadataType Lyrics3 ``` A Lyrics3 metadata package. ##### ApeV2 ``` public static final MetadataType ApeV2 ``` An APEv2 metadata package. ##### Avi ``` public static final MetadataType Avi ``` An AVI video native metadata package. ##### Flv ``` public static final MetadataType Flv ``` An FLV video native metadata package. ##### Asf ``` public static final MetadataType Asf ``` An ASF video native metadata package. ##### Mov ``` public static final MetadataType Mov ``` A QuickTime video. ##### Matroska ``` public static final MetadataType Matroska ``` A native metadata package extracted from a video encoded with the Matroska multimedia container. ##### Zip ``` public static final MetadataType Zip ``` A native metadata package of a ZIP archive. ##### SevenZip ``` public static final MetadataType SevenZip ``` A native metadata package of a SevenZip archive. ##### VCard ``` public static final MetadataType VCard ``` A native metadata package of a VCard. ##### Epub ``` public static final MetadataType Epub ``` A native metadata package of a EPUB e-book. ##### OpenType ``` public static final MetadataType OpenType ``` An OpenType font metadata package. ##### Cad ``` public static final MetadataType Cad ``` A metadata package extracted from a CAD drawing. ##### Eml ``` public static final MetadataType Eml ``` An EML message metadata package. ##### Msg ``` public static final MetadataType Msg ``` An MSG message metadata package. ##### Torrent ``` public static final MetadataType Torrent ``` A torrent file metadata package. Please find more information at [https://en.wikipedia.org/wiki/Torrent\_file/][https_en.wikipedia.org_wiki_Torrent_file] . [https_en.wikipedia.org_wiki_Torrent_file]: https://en.wikipedia.org/wiki/Torrent_file/ ##### Png ``` public static final MetadataType Png ``` A PNG image metadata package. ##### Dng ``` public static final MetadataType Dng ``` A DNG image metadata package. ##### Cr2 ``` public static final MetadataType Cr2 ``` A CR2 image metadata package. ##### Rar ``` public static final MetadataType Rar ``` RAR is a proprietary archive file format that supports data compression, error correction and file spanning. ##### Tar ``` public static final MetadataType Tar ``` In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. ##### ThreeDS ``` public static final MetadataType ThreeDS ``` 3DS is one of the file formats used by the Autodesk 3ds Max 3D modeling, animation and rendering software. ##### Dae ``` public static final MetadataType Dae ``` A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. ##### Fbx ``` public static final MetadataType Fbx ``` FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware. ##### Stl ``` public static final MetadataType Stl ``` STL is a file format native to the stereolithography CAD software created by 3D Systems.[3][4][5] Chuck Hull, the inventor of stereolithography and 3D Systems\\u2019 founder, reports that the file extension is an abbreviation for stereolithography. ##### Gis ``` public static final MetadataType Gis ``` Gis format ##### values() ``` public static MetadataType[] values() ``` **Returns:** com.groupdocs.metadata.core.MetadataType[] ##### valueOf(String name) ``` public static MetadataType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MetadataType ##### getByRawValue(int rawValue) ``` public static MetadataType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MetadataType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MetadataValidationException Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/metadatavalidationexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class MetadataValidationException extends GroupDocsMetadataException ``` The exception that is thrown when validation errors encountered during metadata saving. #### Methods | Method | Description | | --- | --- | | getErrors() | Gets an array of the validation errors that were encountered during the last metadata saving. | ##### getErrors() ``` public final String[] getErrors() ``` Gets an array of the validation errors that were encountered during the last metadata saving. **Returns:** java.lang.String[] - An array of the validation errors that were encountered during the last metadata saving. ### MovAtom Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/movatom.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IIsoMediaBox ``` public final class MovAtom extends CustomPackage implements IIsoMediaBox ``` Represents a QuickTime atom. [Working with metadata in MOV Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+MOV+Files #### Methods | Method | Description | | --- | --- | | getOffset() | Gets the atom offset. | | getSize() | Gets the atom size in bytes. | | getLongSize() | Gets the atom size in bytes. | | getType() | Gets the 4-characters type. | | getDataOffset() | Gets the data offset. | | getDataSize() | Gets the data size in bytes. | | hasExtendedSize() | Gets a value indicating whether the extended size field was used to store the atom data. | | getAtoms() | Gets an array of MovAtom atoms. | ##### getOffset() ``` public final long getOffset() ``` Gets the atom offset. **Returns:** long - The atom offset. ##### getSize() ``` public final int getSize() ``` Gets the atom size in bytes. **Returns:** int - The atom size. ##### getLongSize() ``` public final long getLongSize() ``` Gets the atom size in bytes. **Returns:** long - The atom size. ##### getType() ``` public final String getType() ``` Gets the 4-characters type. **Returns:** java.lang.String - The type. ##### getDataOffset() ``` public final long getDataOffset() ``` Gets the data offset. **Returns:** long - The data offset. ##### getDataSize() ``` public final int getDataSize() ``` Gets the data size in bytes. **Returns:** int - The data size. ##### hasExtendedSize() ``` public final boolean hasExtendedSize() ``` Gets a value indicating whether the extended size field was used to store the atom data. **Returns:** boolean - True, if the extended size field was used to store the atom data; otherwise, false. ##### getAtoms() ``` public final MovAtom[] getAtoms() ``` Gets an array of MovAtom atoms. Value: The QuickTime atoms. **Returns:** com.groupdocs.metadata.core.MovAtom[] ### MovPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/movpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class MovPackage extends CustomPackage ``` Represents QuickTime metadata. [Working with metadata in MOV Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+MOV+Files #### Methods | Method | Description | | --- | --- | | getDirector() | Name of the director of the movie content. | | getDescription() | Description of the movie file content. | | getLocationMotion() | An indication of the direction the camera is moving during the shot. | | getLocationFacing() | An indication of the direction the camera is facing during the shot. | | getLocationDate() | A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. | | getLocationRole() | A single byte, binary value containing a value from the set: 0 indicates \\u201cshooting location\\u201d, 1 indicates \\u201creal location\\u201d, 2 indicates \\u201cfictional location\\u201d. | | getLocationNote() | Descriptive comment. | | getLocationBody() | The astronomical body, for compatibility with the 3GPP format | | getLocationName() | Name of the location. | | getUserRatings() | A number, assigned by the user, that indicates the rating or relative value of the movie. | | getUsers() | A name indicating a user-defined collection that includes this movie. | | getYear() | Year when the movie file or the original content was created or recorded. | | getSoftware() | Name of software used to create the movie file content. | | getProducer() | Name of producer of movie file content. | | getAlbum() | Album or collection name of which the movie content forms a part | | getKeywords() | Keywords associated with the movie file content. | | getInformation() | Information about the movie file content. | | getGenre() | Text describing the genre or genres to which the movie content conforms. | | getTitle() | The title of the movie file content. | | getCreationDate() | The date the movie file content was created. | | getCopyright() | Copyright statement for the movie file content. | | getComment() | User entered comment regarding the movie file content. | | getAuthor() | Name of the author of the movie file content. | | getArtwork() | A single image that can represent the movie file content. | | getArtist() | Name of the artist who created the movie file content. | | getPublisher() | Name of publisher of movie file content. | | getMovieCreationTime() | A 32-bit integer that specifies the creation calendar date and time for the movie atom. | | setMovieCreationTime(System.DateTime value) | A 32-bit integer that specifies the creation calendar date and time for the movie atom. | | getMovieModificationTime() | A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. | | setMovieModificationTime(System.DateTime value) | A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. | | getMovieDuration() | A time value that indicates the duration of the movie in seconds. | | getAtoms() | Gets an array of MovAtom atoms. | ##### getDirector() ``` public final String getDirector() ``` Name of the director of the movie content. Value: The Director. **Returns:** java.lang.String ##### getDescription() ``` public final String getDescription() ``` Description of the movie file content. Value: The Description. **Returns:** java.lang.String ##### getLocationMotion() ``` public final String getLocationMotion() ``` An indication of the direction the camera is moving during the shot. Value: The LocationMotion. **Returns:** java.lang.String ##### getLocationFacing() ``` public final String getLocationFacing() ``` An indication of the direction the camera is facing during the shot. Value: The LocationFacing. **Returns:** java.lang.String ##### getLocationDate() ``` public final String getLocationDate() ``` A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. Value: The LocationDate. **Returns:** java.lang.String ##### getLocationRole() ``` public final String getLocationRole() ``` A single byte, binary value containing a value from the set: 0 indicates \\u201cshooting location\\u201d, 1 indicates \\u201creal location\\u201d, 2 indicates \\u201cfictional location\\u201d. Other values are reserved. Value: The LocationRole. **Returns:** java.lang.String ##### getLocationNote() ``` public final String getLocationNote() ``` Descriptive comment. Value: The LocationNote. **Returns:** java.lang.String ##### getLocationBody() ``` public final String getLocationBody() ``` The astronomical body, for compatibility with the 3GPP format Value: The LocationBody. **Returns:** java.lang.String ##### getLocationName() ``` public final String getLocationName() ``` Name of the location. Value: The LocationName. **Returns:** java.lang.String ##### getUserRatings() ``` public final String getUserRatings() ``` A number, assigned by the user, that indicates the rating or relative value of the movie. This number can range from 0.0 to 5.0. A value of 0.0 indicates that the user has not rated the movie. Value: The UserRatings. **Returns:** java.lang.String ##### getUsers() ``` public final String getUsers() ``` A name indicating a user-defined collection that includes this movie. Value: The Users. **Returns:** java.lang.String ##### getYear() ``` public final String getYear() ``` Year when the movie file or the original content was created or recorded. Value: The Year. **Returns:** java.lang.String ##### getSoftware() ``` public final String getSoftware() ``` Name of software used to create the movie file content. Value: The Software. **Returns:** java.lang.String ##### getProducer() ``` public final String getProducer() ``` Name of producer of movie file content. Value: The Producer. **Returns:** java.lang.String ##### getAlbum() ``` public final String getAlbum() ``` Album or collection name of which the movie content forms a part Value: The Album. **Returns:** java.lang.String ##### getKeywords() ``` public final String getKeywords() ``` Keywords associated with the movie file content. Value: The Keywords. **Returns:** java.lang.String ##### getInformation() ``` public final String getInformation() ``` Information about the movie file content. Value: The Information. **Returns:** java.lang.String ##### getGenre() ``` public final String getGenre() ``` Text describing the genre or genres to which the movie content conforms. Value: The Genre. **Returns:** java.lang.String ##### getTitle() ``` public final String getTitle() ``` The title of the movie file content. Value: The Title. **Returns:** java.lang.String ##### getCreationDate() ``` public final String getCreationDate() ``` The date the movie file content was created. Value: The CreationDate. **Returns:** java.lang.String ##### getCopyright() ``` public final String getCopyright() ``` Copyright statement for the movie file content. Value: The Copyright. **Returns:** java.lang.String ##### getComment() ``` public final String getComment() ``` User entered comment regarding the movie file content. Value: The Comment. **Returns:** java.lang.String ##### getAuthor() ``` public final String getAuthor() ``` Name of the author of the movie file content. Value: The Author. **Returns:** java.lang.String ##### getArtwork() ``` public final String getArtwork() ``` A single image that can represent the movie file content. Value: The Artwork. **Returns:** java.lang.String ##### getArtist() ``` public final String getArtist() ``` Name of the artist who created the movie file content. Value: The Artist. **Returns:** java.lang.String ##### getPublisher() ``` public final String getPublisher() ``` Name of publisher of movie file content. Value: The Publisher. **Returns:** java.lang.String ##### getMovieCreationTime() ``` public final System.DateTime getMovieCreationTime() ``` A 32-bit integer that specifies the creation calendar date and time for the movie atom. Value: A 32-bit integer that specifies the creation calendar date and time for the movie atom. **Returns:** com.aspose.ms.System.DateTime ##### setMovieCreationTime(System.DateTime value) ``` public final void setMovieCreationTime(System.DateTime value) ``` A 32-bit integer that specifies the creation calendar date and time for the movie atom. Value: A 32-bit integer that specifies the creation calendar date and time for the movie atom. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.aspose.ms.System.DateTime | | ##### getMovieModificationTime() ``` public final System.DateTime getMovieModificationTime() ``` A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. Value: A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. **Returns:** com.aspose.ms.System.DateTime ##### setMovieModificationTime(System.DateTime value) ``` public final void setMovieModificationTime(System.DateTime value) ``` A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. Value: A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | com.aspose.ms.System.DateTime | | ##### getMovieDuration() ``` public final long getMovieDuration() ``` A time value that indicates the duration of the movie in seconds. Value: A time value that indicates the duration of the movie in seconds. **Returns:** long ##### getAtoms() ``` public final MovAtom[] getAtoms() ``` Gets an array of MovAtom atoms. Value: The QuickTime atoms. **Returns:** com.groupdocs.metadata.core.MovAtom[] ### MovRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/movrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class MovRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in a QuickTime video. This example shows how to read QuickTime atoms in a MOV video. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMov)) { > MovRootPackage root = metadata.getRootPackageGeneric(); > for (MovAtom atom : root.getMovPackage().getAtoms()) { > System.out.println(atom.getType()); > System.out.println(atom.getOffset()); > System.out.println(atom.getSize()); > // ... > } > } > > ``` > ``` [Working with metadata in MOV Files]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+MOV+Files [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getMovPackage() | Gets the QuickTime metadata package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | ##### getMovPackage() ``` public final MovPackage getMovPackage() ``` Gets the QuickTime metadata package. **Returns:** MovPackage - The QuickTime metadata package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ### MP3RootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/mp3rootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class MP3RootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in an MP3 audio. [Working with MP3 metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+MP3+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getMpegAudioPackage() | Gets the MPEG audio metadata package. | | getID3V1() | Gets the ID3v1 metadata tag. | | setID3V1(ID3V1Tag value) | Sets the ID3v1 metadata tag. | | getID3V2() | Gets the ID3v2 metadata tag. | | setID3V2(ID3V2Tag value) | Sets the ID3v2 metadata tag. | | getLyrics3V2() | Gets the Lyrics3v2 metadata tag. | | setLyrics3V2(LyricsTag value) | Sets the Lyrics3v2 metadata tag. | | getApeV2() | Gets the APE v2 metadata. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | removeApeV2() | Removes the APEv2 audio tag. | | sanitize() | Removes writable metadata properties from the package. | | copyTo(MetadataPackage metadata) | | ##### getMpegAudioPackage() ``` public final MpegAudioPackage getMpegAudioPackage() ``` Gets the MPEG audio metadata package. **Returns:** MpegAudioPackage - The MPEG audio metadata package. ##### getID3V1() ``` public final ID3V1Tag getID3V1() ``` Gets the ID3v1 metadata tag. Please find more information at http://id3.org/ID3v1 . **Returns:** ID3V1Tag - The ID3v1 metadata tag attached to the audio file. The ID3(v1) tag is a small chunk of extra data at the end of an MP3 file. ##### setID3V1(ID3V1Tag value) ``` public final void setID3V1(ID3V1Tag value) ``` Sets the ID3v1 metadata tag. Please find more information at http://id3.org/ID3v1 . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V1Tag | The ID3v1 metadata tag attached to the audio file. The ID3(v1) tag is a small chunk of extra data at the end of an MP3 file. | ##### getID3V2() ``` public final ID3V2Tag getID3V2() ``` Gets the ID3v2 metadata tag. **Returns:** ID3V2Tag - The ID3v2 metadata tag attached to the audio file. ##### setID3V2(ID3V2Tag value) ``` public final void setID3V2(ID3V2Tag value) ``` Sets the ID3v2 metadata tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ID3V2Tag | The ID3v2 metadata tag attached to the audio file. | ##### getLyrics3V2() ``` public final LyricsTag getLyrics3V2() ``` Gets the Lyrics3v2 metadata tag. **Returns:** LyricsTag - The Lyrics3v2 metadata tag. ##### setLyrics3V2(LyricsTag value) ``` public final void setLyrics3V2(LyricsTag value) ``` Sets the Lyrics3v2 metadata tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | LyricsTag | The Lyrics3v2 metadata tag. | ##### getApeV2() ``` public final ApePackage getApeV2() ``` Gets the APE v2 metadata. **Returns:** ApePackage - The APE v2 metadata. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### removeApeV2() ``` public final void removeApeV2() ``` Removes the APEv2 audio tag. This feature is not available in trial mode. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ##### copyTo(MetadataPackage metadata) ``` public void copyTo(MetadataPackage metadata) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | | ### MpegAudioPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/mpegaudiopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class MpegAudioPackage extends CustomPackage ``` Represents MPEG audio metadata. This example demonstrates how to read MPEG audio metadata from an MP3 file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { > MP3RootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getMpegAudioPackage().getBitrate()); > System.out.println(root.getMpegAudioPackage().getChannelMode()); > System.out.println(root.getMpegAudioPackage().getEmphasis()); > System.out.println(root.getMpegAudioPackage().getFrequency()); > System.out.println(root.getMpegAudioPackage().getHeaderPosition()); > System.out.println(root.getMpegAudioPackage().getLayer()); > // ... > } > > ``` > ``` #### Constructors | Constructor | Description | | --- | --- | | MpegAudioPackage() | Initializes a new instance of the MpegAudioPackage class. | #### Methods | Method | Description | | --- | --- | | getMpegAudioVersion() | Gets the MPEG audio version. | | getLayer() | Gets the layer description. | | isProtected() | Gets true if protected. | | getHeaderPosition() | Gets the header offset. | | getBitrate() | Gets the bitrate. | | getFrequency() | Gets the frequency. | | getPaddingBit() | Gets the padding bit. | | getPrivateBit() | Gets a value indicating whether [private bit]. | | getChannelMode() | Gets the channel mode. | | getCopyright() | Gets the copyright bit. | | isOriginal() | Gets the original bit. | | getEmphasis() | Gets the emphasis. | | getModeExtensionBits() | Gets the mode extension bits. | ##### MpegAudioPackage() ``` public MpegAudioPackage() ``` Initializes a new instance of the MpegAudioPackage class. ##### getMpegAudioVersion() ``` public final MpegAudioVersion getMpegAudioVersion() ``` Gets the MPEG audio version. Can be MPEG-1, MPEG-2 etc. **Returns:** MpegAudioVersion - The MPEG audio version. ##### getLayer() ``` public final int getLayer() ``` Gets the layer description. For an MP3 audio it is '3'. **Returns:** int - The layer description. ##### isProtected() ``` public final boolean isProtected() ``` Gets true if protected. **Returns:** boolean - true if is protected; otherwise, false . ##### getHeaderPosition() ``` public final long getHeaderPosition() ``` Gets the header offset. **Returns:** long - The header offset. ##### getBitrate() ``` public final int getBitrate() ``` Gets the bitrate. **Returns:** int - The bitrate. ##### getFrequency() ``` public final int getFrequency() ``` Gets the frequency. **Returns:** int - The frequency. ##### getPaddingBit() ``` public final int getPaddingBit() ``` Gets the padding bit. **Returns:** int - The padding bit. ##### getPrivateBit() ``` public final boolean getPrivateBit() ``` Gets a value indicating whether [private bit]. **Returns:** boolean - true if [private bit]; otherwise, false . ##### getChannelMode() ``` public final MpegChannelMode getChannelMode() ``` Gets the channel mode. **Returns:** MpegChannelMode - The channel mode. ##### getCopyright() ``` public final boolean getCopyright() ``` Gets the copyright bit. **Returns:** boolean - true if copyright; otherwise, false . ##### isOriginal() ``` public final boolean isOriginal() ``` Gets the original bit. **Returns:** boolean - true if audio is original; otherwise, false . ##### getEmphasis() ``` public final MpegEmphasis getEmphasis() ``` Gets the emphasis. **Returns:** MpegEmphasis - The emphasis. ##### getModeExtensionBits() ``` public final int getModeExtensionBits() ``` Gets the mode extension bits. **Returns:** int - The mode extension bits. ### MpegAudioVersion Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/mpegaudioversion.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MpegAudioVersion extends Enum implements IEnumValue ``` Represents a particular MPEG standard. #### Fields | Field | Description | | --- | --- | | Mpeg25 | The MPEG 2.5 standard. | | Mpeg2 | The MPEG 2 standard. | | Mpeg1 | The MPEG 1 standard. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Mpeg25 ``` public static final MpegAudioVersion Mpeg25 ``` The MPEG 2.5 standard. ##### Mpeg2 ``` public static final MpegAudioVersion Mpeg2 ``` The MPEG 2 standard. ##### Mpeg1 ``` public static final MpegAudioVersion Mpeg1 ``` The MPEG 1 standard. ##### values() ``` public static MpegAudioVersion[] values() ``` **Returns:** com.groupdocs.metadata.core.MpegAudioVersion[] ##### valueOf(String name) ``` public static MpegAudioVersion valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MpegAudioVersion ##### getByRawValue(int rawValue) ``` public static MpegAudioVersion getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MpegAudioVersion ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MpegChannelMode Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/mpegchannelmode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MpegChannelMode extends Enum implements IEnumValue ``` Defines MPEG audio channel modes. #### Fields | Field | Description | | --- | --- | | Stereo | Stereo mode. | | JointStereo | Joint stereo mode. | | DualChannel | Dual channel mode. | | Mono | Mono mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Stereo ``` public static final MpegChannelMode Stereo ``` Stereo mode. ##### JointStereo ``` public static final MpegChannelMode JointStereo ``` Joint stereo mode. ##### DualChannel ``` public static final MpegChannelMode DualChannel ``` Dual channel mode. ##### Mono ``` public static final MpegChannelMode Mono ``` Mono mode. ##### values() ``` public static MpegChannelMode[] values() ``` **Returns:** com.groupdocs.metadata.core.MpegChannelMode[] ##### valueOf(String name) ``` public static MpegChannelMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MpegChannelMode ##### getByRawValue(int rawValue) ``` public static MpegChannelMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MpegChannelMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MpegEmphasis Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/mpegemphasis.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum MpegEmphasis extends Enum implements IEnumValue ``` Defines MPEG emphasis types. #### Fields | Field | Description | | --- | --- | | None | No emphasis indication. | | Ms5015 | 50/15 ms. | | Reserved | Reserved. | | CcitJ17 | CCIT J.17. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### None ``` public static final MpegEmphasis None ``` No emphasis indication. ##### Ms5015 ``` public static final MpegEmphasis Ms5015 ``` 50/15 ms. ##### Reserved ``` public static final MpegEmphasis Reserved ``` Reserved. ##### CcitJ17 ``` public static final MpegEmphasis CcitJ17 ``` CCIT J.17. ##### values() ``` public static MpegEmphasis[] values() ``` **Returns:** com.groupdocs.metadata.core.MpegEmphasis[] ##### valueOf(String name) ``` public static MpegEmphasis valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** MpegEmphasis ##### getByRawValue(int rawValue) ``` public static MpegEmphasis getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** MpegEmphasis ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### MsgPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/msgpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.EmailPackage ``` public class MsgPackage extends EmailPackage ``` Represents MSG message metadata. [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getBody() | Gets the email message text. | | getCategories() | Gets the array of categories or keywords. | | getDeliveryTime() | Gets the date and time the message was delivered. | ##### getBody() ``` public final String getBody() ``` Gets the email message text. **Returns:** java.lang.String - The email message text. ##### getCategories() ``` public final String[] getCategories() ``` Gets the array of categories or keywords. **Returns:** java.lang.String[] - The array of categories or keywords. ##### getDeliveryTime() ``` public final Date getDeliveryTime() ``` Gets the date and time the message was delivered. **Returns:** java.util.Date - The delivery time. ### MsgRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/msgrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.EmailRootPackage ``` public class MsgRootPackage extends EmailRootPackage ``` Represents the root package allowing working with metadata in an MSG email message. This code sample shows how to extract metadata from an MSG message. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMsg)) { > MsgRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getMsgPackage().getSender()); > System.out.println(root.getMsgPackage().getSubject()); > for (String recipient : root.getMsgPackage().getRecipients()) { > System.out.println(recipient); > } > for (String attachedFileName : root.getMsgPackage().getAttachedFileNames()) { > System.out.println(attachedFileName); > } > for (MetadataProperty header : root.getMsgPackage().getHeaders()) { > System.out.println(String.format("%s = %s", header.getName(), header.getValue())); > } > System.out.println(root.getMsgPackage().getBody()); > System.out.println(root.getMsgPackage().getDeliveryTime()); > // ... > } > > ``` > ``` [Working with saved Emails]: https://docs.groupdocs.com/display/metadatajava/Working+with+saved+Emails #### Methods | Method | Description | | --- | --- | | getMsgPackage() | Gets the MSG metadata package. | ##### getMsgPackage() ``` public final MsgPackage getMsgPackage() ``` Gets the MSG metadata package. **Returns:** MsgPackage - The MSG metadata package. ### NikonMakerNotePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/nikonmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public final class NikonMakerNotePackage extends MakerNotePackage ``` Represents NIKON MakerNote metadata. #### Constructors | Constructor | Description | | --- | --- | | NikonMakerNotePackage(TiffTag[] tags) | Initializes a new instance of the NikonMakerNotePackage class. | #### Methods | Method | Description | | --- | --- | | getMakerNoteVersion() | Gets the MakerNote version. | | getIso() | Gets the iso. | | getColorMode() | Gets the color mode. | | getQuality() | Gets the quality string. | | getWhiteBalance() | Gets the white balance. | | getSharpness() | Gets the sharpness. | | getFocusMode() | Gets the focus mode. | | getFlashSetting() | Gets the flash setting. | | getFlashType() | Gets the type of the flash. | ##### NikonMakerNotePackage(TiffTag[] tags) ``` public NikonMakerNotePackage(TiffTag[] tags) ``` Initializes a new instance of the NikonMakerNotePackage class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tags | TiffTag\[\] | Array of TIFF tags. | ##### getMakerNoteVersion() ``` public final byte[] getMakerNoteVersion() ``` Gets the MakerNote version. **Returns:** byte[] - The MakerNote version. ##### getIso() ``` public final int[] getIso() ``` Gets the iso. **Returns:** int[] - The iso. ##### getColorMode() ``` public final String getColorMode() ``` Gets the color mode. **Returns:** java.lang.String - The color mode. ##### getQuality() ``` public final String getQuality() ``` Gets the quality string. **Returns:** java.lang.String - The quality. ##### getWhiteBalance() ``` public final String getWhiteBalance() ``` Gets the white balance. **Returns:** java.lang.String - The white balance. ##### getSharpness() ``` public final String getSharpness() ``` Gets the sharpness. **Returns:** java.lang.String - The sharpness. ##### getFocusMode() ``` public final String getFocusMode() ``` Gets the focus mode. **Returns:** java.lang.String - The focus mode. ##### getFlashSetting() ``` public final String getFlashSetting() ``` Gets the flash setting. **Returns:** java.lang.String - The flash setting. ##### getFlashType() ``` public final String getFlashType() ``` Gets the type of the flash. **Returns:** java.lang.String - The type of the flash. ### NoteInspectionPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/noteinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class NoteInspectionPackage extends CustomPackage ``` Represents a metadata package exposing the internal structure of a note section. [Working with metadata in Note formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Note+formats #### Methods | Method | Description | | --- | --- | | getPages() | Gets an array of section pages. | ##### getPages() ``` public final NotePage[] getPages() ``` Gets an array of section pages. **Returns:** com.groupdocs.metadata.core.NotePage[] - An array of section pages. ### NotePage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/notepage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class NotePage extends CustomPackage ``` Represents a page in a OneNote section. [Working with metadata in Note formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Note+formats #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the page author. | | getTitle() | Gets the page title. | | getCreationTime() | Gets the creation time. | | getLastModificationTime() | Gets the last modification time. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the page author. **Returns:** java.lang.String - The page author. ##### getTitle() ``` public final String getTitle() ``` Gets the page title. **Returns:** java.lang.String - The page title. ##### getCreationTime() ``` public final Date getCreationTime() ``` Gets the creation time. **Returns:** java.util.Date - The creation time. ##### getLastModificationTime() ``` public final Date getLastModificationTime() ``` Gets the last modification time. **Returns:** java.util.Date - The last modification time. ### NoteRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/noterootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class NoteRootPackage extends RootMetadataPackage ``` Represents the root package intended to work with metadata in an electronic note file. This code sample demonstrates how to inspect a note document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputOne)) { > NoteRootPackage root = metadata.getRootPackageGeneric(); > if (root.getInspectionPackage().getPages() != null) { > for (NotePage page : root.getInspectionPackage().getPages()) { > System.out.println(page.getTitle()); > System.out.println(page.getAuthor()); > System.out.println(page.getCreationTime()); > System.out.println(page.getLastModificationTime()); > } > } > } > > ``` > ``` [Working with metadata in Note formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Note+formats #### Methods | Method | Description | | --- | --- | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | | copyTo(MetadataPackage metadataPackage) | | ##### getInspectionPackage() ``` public final NoteInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** NoteInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ##### copyTo(MetadataPackage metadataPackage) ``` public void copyTo(MetadataPackage metadataPackage) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | | ### Oid Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/oid.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class Oid extends CustomPackage ``` Represents an object identifier (OID). An identifier mechanism standardized by the International Telecommunications Union (ITU) and ISO/IEC for naming any object, concept, or "thing" with a globally unambiguous persistent name. #### Methods | Method | Description | | --- | --- | | getValue() | Gets the object identifier (OID) value. | | getFriendlyName() | Gets the friendly name. | ##### getValue() ``` public final String getValue() ``` Gets the object identifier (OID) value. **Returns:** java.lang.String - The object identifier (OID) value. ##### getFriendlyName() ``` public final String getFriendlyName() ``` Gets the friendly name. **Returns:** java.lang.String - The friendly name. ### OpenTypeBaseNameRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypebasenamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class OpenTypeBaseNameRecord extends CustomPackage ``` Represents the base OpenType Name table record class. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getNameID() | Gets the name identifier. | | getPlatform() | Gets the platform identifier. | | getValue() | Gets the string value of record. | ##### getNameID() ``` public final OpenTypeName getNameID() ``` Gets the name identifier. **Returns:** OpenTypeName - The name identifier. ##### getPlatform() ``` public final OpenTypePlatform getPlatform() ``` Gets the platform identifier. **Returns:** OpenTypePlatform - The platform identifier. ##### getValue() ``` public final String getValue() ``` Gets the string value of record. **Returns:** java.lang.String - The string value of record. ### OpenTypeDigitalSignatureFlags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypedigitalsignatureflags.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeDigitalSignatureFlags extends Enum implements IEnumValue ``` Represents OpenType font digital signature flags. #### Fields | Field | Description | | --- | --- | | None | Undefined flag. | | CannotBeResigned | Cannot be resigned. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### None ``` public static final OpenTypeDigitalSignatureFlags None ``` Undefined flag. ##### CannotBeResigned ``` public static final OpenTypeDigitalSignatureFlags CannotBeResigned ``` Cannot be resigned. ##### values() ``` public static OpenTypeDigitalSignatureFlags[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeDigitalSignatureFlags[] ##### valueOf(String name) ``` public static OpenTypeDigitalSignatureFlags valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeDigitalSignatureFlags ##### getByRawValue(int rawValue) ``` public static OpenTypeDigitalSignatureFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeDigitalSignatureFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeDirectionHint Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypedirectionhint.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeDirectionHint extends Enum implements IEnumValue ``` Represents the OpenType font direction. #### Fields | Field | Description | | --- | --- | | FullyMixed | Fully mixed directional glyphs. | | OnlyLeftToRight | Only strongly left to right. | | LeftToRightAndNeutrals | Like OnlyLeftToRight but also contains neutrals. | | OnlyRightToLeft | Only strongly right to left. | | RightToLeftAndNeutrals | Like OnlyRightToLeft but also contains neutrals. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### FullyMixed ``` public static final OpenTypeDirectionHint FullyMixed ``` Fully mixed directional glyphs. ##### OnlyLeftToRight ``` public static final OpenTypeDirectionHint OnlyLeftToRight ``` Only strongly left to right. ##### LeftToRightAndNeutrals ``` public static final OpenTypeDirectionHint LeftToRightAndNeutrals ``` Like OnlyLeftToRight but also contains neutrals. ##### OnlyRightToLeft ``` public static final OpenTypeDirectionHint OnlyRightToLeft ``` Only strongly right to left. ##### RightToLeftAndNeutrals ``` public static final OpenTypeDirectionHint RightToLeftAndNeutrals ``` Like OnlyRightToLeft but also contains neutrals. ##### values() ``` public static OpenTypeDirectionHint[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeDirectionHint[] ##### valueOf(String name) ``` public static OpenTypeDirectionHint valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeDirectionHint ##### getByRawValue(int rawValue) ``` public static OpenTypeDirectionHint getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeDirectionHint ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeFlags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypeflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class OpenTypeFlags implements IEnumValue ``` Represents OpenType font header flags. #### Fields | Field | Description | | --- | --- | | None | Undefined, no flags. | | BaselineAtY0 | Baseline for font at y=0. | | LeftSidebearingAtX0 | Left sidebearing point at x=0 (relevant only for TrueType rasterizers). | | DependOnPointSize | Instructions may depend on point size. | | ForceToInteger | Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear. | | AlterAdvanceWidth | Instructions may alter advance width (the advance widths might not scale linearly). | | Lossless | Font data is \\u201clossless\\u201d as a result of having been subjected to optimizing transformation and/or compression. | | Converted | Font converted (produce compatible metrics). | | Optimized | Font optimized for ClearType\\u2122. | | Resort | Last Resort font. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### None ``` public static final OpenTypeFlags None ``` Undefined, no flags. ##### BaselineAtY0 ``` public static final OpenTypeFlags BaselineAtY0 ``` Baseline for font at y=0. ##### LeftSidebearingAtX0 ``` public static final OpenTypeFlags LeftSidebearingAtX0 ``` Left sidebearing point at x=0 (relevant only for TrueType rasterizers). ##### DependOnPointSize ``` public static final OpenTypeFlags DependOnPointSize ``` Instructions may depend on point size. ##### ForceToInteger ``` public static final OpenTypeFlags ForceToInteger ``` Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear. ##### AlterAdvanceWidth ``` public static final OpenTypeFlags AlterAdvanceWidth ``` Instructions may alter advance width (the advance widths might not scale linearly). ##### Lossless ``` public static final OpenTypeFlags Lossless ``` Font data is \\u201clossless\\u201d as a result of having been subjected to optimizing transformation and/or compression. ##### Converted ``` public static final OpenTypeFlags Converted ``` Font converted (produce compatible metrics). ##### Optimized ``` public static final OpenTypeFlags Optimized ``` Font optimized for ClearType\\u2122. ##### Resort ``` public static final OpenTypeFlags Resort ``` Last Resort font. ##### getByRawValue(int rawValue) ``` public static OpenTypeFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### OpenTypeFont Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypefont.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class OpenTypeFont extends CustomPackage ``` Represents a single font extracted from a file. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getSfntVersion() | Gets the header SFNT version. | | getMajorVersion() | Gets the header major version. | | getMinorVersion() | Gets the header minor version. | | getFontRevision() | Gets the font revision. | | getFlags() | Gets the header flags. | | getCreated() | Gets the created date. | | getModified() | Gets the modified date. | | getGlyphBounds() | Gets the glyph bounds. | | getStyle() | Gets the font style. | | getDirectionHint() | Gets the direction hint. | | getNames() | Gets the name records. | | getFontFamilyName() | Gets the name of the font family. | | getFontSubfamilyName() | Gets the name of the font subfamily. | | getFullFontName() | Gets the full name of the font. | | getTypographicFamily() | Gets the typographic family. | | getTypographicSubfamily() | Gets the typographic subfamily. | | getWeight() | Gets the font weight. | | getWidth() | Gets the font width. | | getEmbeddingLicensingRights() | Gets the embedding licensing rights type. | ##### getSfntVersion() ``` public final OpenTypeVersion getSfntVersion() ``` Gets the header SFNT version. **Returns:** OpenTypeVersion - The header SFNT version. ##### getMajorVersion() ``` public final int getMajorVersion() ``` Gets the header major version. **Returns:** int - The header major version. ##### getMinorVersion() ``` public final int getMinorVersion() ``` Gets the header minor version. **Returns:** int - The header minor version. ##### getFontRevision() ``` public final float getFontRevision() ``` Gets the font revision. **Returns:** float - The font revision. ##### getFlags() ``` public final OpenTypeFlags getFlags() ``` Gets the header flags. **Returns:** OpenTypeFlags - The header flags. ##### getCreated() ``` public final Date getCreated() ``` Gets the created date. **Returns:** java.util.Date - The created date. ##### getModified() ``` public final Date getModified() ``` Gets the modified date. **Returns:** java.util.Date - The modified date. ##### getGlyphBounds() ``` public final Rectangle getGlyphBounds() ``` Gets the glyph bounds. **Returns:** Rectangle - The glyph bounds. ##### getStyle() ``` public final OpenTypeStyles getStyle() ``` Gets the font style. **Returns:** OpenTypeStyles - The font style. ##### getDirectionHint() ``` public final OpenTypeDirectionHint getDirectionHint() ``` Gets the direction hint. **Returns:** OpenTypeDirectionHint - The direction hint. ##### getNames() ``` public final OpenTypeBaseNameRecord[] getNames() ``` Gets the name records. **Returns:** com.groupdocs.metadata.core.OpenTypeBaseNameRecord[] - The name records. ##### getFontFamilyName() ``` public final String getFontFamilyName() ``` Gets the name of the font family. **Returns:** java.lang.String - The name of the font family. ##### getFontSubfamilyName() ``` public final String getFontSubfamilyName() ``` Gets the name of the font subfamily. **Returns:** java.lang.String - The name of the font subfamily. ##### getFullFontName() ``` public final String getFullFontName() ``` Gets the full name of the font. **Returns:** java.lang.String - The full name of the font. ##### getTypographicFamily() ``` public final String getTypographicFamily() ``` Gets the typographic family. **Returns:** java.lang.String - The typographic family. ##### getTypographicSubfamily() ``` public final String getTypographicSubfamily() ``` Gets the typographic subfamily. **Returns:** java.lang.String - The typographic subfamily. ##### getWeight() ``` public final OpenTypeWeight getWeight() ``` Gets the font weight. **Returns:** OpenTypeWeight - The font weight. ##### getWidth() ``` public final OpenTypeWidth getWidth() ``` Gets the font width. **Returns:** OpenTypeWidth - The font width. ##### getEmbeddingLicensingRights() ``` public final OpenTypeLicensingRights getEmbeddingLicensingRights() ``` Gets the embedding licensing rights type. **Returns:** OpenTypeLicensingRights - The embedding licensing rights type. ### OpenTypeIsoEncoding Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypeisoencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeIsoEncoding extends Enum implements IEnumValue ``` Represents encoding for the OpenTypePlatform.Iso platform. #### Fields | Field | Description | | --- | --- | | Ascii7Bit | The 7-bit ASCII encoding. | | Iso10646 | The ISO 10646 encoding. | | Iso8859 | The ISO 8859-1 encoding. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Ascii7Bit ``` public static final OpenTypeIsoEncoding Ascii7Bit ``` The 7-bit ASCII encoding. ##### Iso10646 ``` public static final OpenTypeIsoEncoding Iso10646 ``` The ISO 10646 encoding. ##### Iso8859 ``` public static final OpenTypeIsoEncoding Iso8859 ``` The ISO 8859-1 encoding. ##### values() ``` public static OpenTypeIsoEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeIsoEncoding[] ##### valueOf(String name) ``` public static OpenTypeIsoEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeIsoEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeIsoEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeIsoEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeLicensingRights Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypelicensingrights.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class OpenTypeLicensingRights implements IEnumValue ``` Indicates font embedding licensing rights for the font. #### Fields | Field | Description | | --- | --- | | None | The undefined licensing rights. | | UsagePermissionsMask | Usage permissions mask. | | InstallableEmbedding | Installable embedding. | | RestrictedLicenseEmbedding | Restricted License embedding. | | PreviewAndPrintEmbedding | Preview and Print embedding. | | EditableEmbedding | Editable embedding. | | NoSubsetting | No subsetting. | | BitmapEmbeddingOnly | Bitmap embedding only. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### None ``` public static final OpenTypeLicensingRights None ``` The undefined licensing rights. ##### UsagePermissionsMask ``` public static final OpenTypeLicensingRights UsagePermissionsMask ``` Usage permissions mask. ##### InstallableEmbedding ``` public static final OpenTypeLicensingRights InstallableEmbedding ``` Installable embedding. The font may be embedded, and may be permanently installed for use on a remote systems, or for use by other users. ##### RestrictedLicenseEmbedding ``` public static final OpenTypeLicensingRights RestrictedLicenseEmbedding ``` Restricted License embedding. The font must not be modified, embedded or exchanged in any manner without first obtaining explicit permission of the legal owner. ##### PreviewAndPrintEmbedding ``` public static final OpenTypeLicensingRights PreviewAndPrintEmbedding ``` Preview and Print embedding. The font may be embedded, and may be temporarily loaded on other systems for purposes of viewing or printing the document. Documents containing Preview & Print fonts must be opened \\u201cread-only\\u201d; no edits can be applied to the document. ##### EditableEmbedding ``` public static final OpenTypeLicensingRights EditableEmbedding ``` Editable embedding. The font may be embedded, and may be temporarily loaded on other systems. As with Preview and Print embedding, documents containing Editable fonts may be opened for reading. In addition, editing is permitted, including ability to format new text using the embedded font, and changes may be saved. ##### NoSubsetting ``` public static final OpenTypeLicensingRights NoSubsetting ``` No subsetting. When this bit is set, the font may not be subsetted prior to embedding. Other embedding restrictions specified in bits 0 to 3 and bit 9 also apply. ##### BitmapEmbeddingOnly ``` public static final OpenTypeLicensingRights BitmapEmbeddingOnly ``` Bitmap embedding only. When this bit is set, only bitmaps contained in the font may be embedded. No outline data may be embedded. If there are no bitmaps available in the font, then the font is considered unembeddable and the embedding services will fail. Other embedding restrictions specified in bits 0-3 and 8 also apply. ##### getByRawValue(int rawValue) ``` public static OpenTypeLicensingRights getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeLicensingRights ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### OpenTypeMacintoshEncoding Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypemacintoshencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeMacintoshEncoding extends Enum implements IEnumValue ``` Represents encoding for the OpenTypePlatform.Macintosh platform. #### Fields | Field | Description | | --- | --- | | DefaultSemantics | Default semantics. | | Version11Semantics | Version 1.1 semantics. | | Iso106461993Semantics | ISO 10646 1993 semantics (deprecated). | | Unicode20BmpOnly | Unicode 2.0 or later semantics (BMP only). | | Unicode20NonBmp | Unicode 2.0 or later semantics (non-BMP characters allowed). | | UnicodeVariationSequences | Unicode Variation Sequences. | | FullUnicodeCoverage | Full Unicode coverage. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### DefaultSemantics ``` public static final OpenTypeMacintoshEncoding DefaultSemantics ``` Default semantics. ##### Version11Semantics ``` public static final OpenTypeMacintoshEncoding Version11Semantics ``` Version 1.1 semantics. ##### Iso106461993Semantics ``` public static final OpenTypeMacintoshEncoding Iso106461993Semantics ``` ISO 10646 1993 semantics (deprecated). ##### Unicode20BmpOnly ``` public static final OpenTypeMacintoshEncoding Unicode20BmpOnly ``` Unicode 2.0 or later semantics (BMP only). ##### Unicode20NonBmp ``` public static final OpenTypeMacintoshEncoding Unicode20NonBmp ``` Unicode 2.0 or later semantics (non-BMP characters allowed). ##### UnicodeVariationSequences ``` public static final OpenTypeMacintoshEncoding UnicodeVariationSequences ``` Unicode Variation Sequences. ##### FullUnicodeCoverage ``` public static final OpenTypeMacintoshEncoding FullUnicodeCoverage ``` Full Unicode coverage. ##### values() ``` public static OpenTypeMacintoshEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeMacintoshEncoding[] ##### valueOf(String name) ``` public static OpenTypeMacintoshEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeMacintoshEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeMacintoshEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeMacintoshEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeMacintoshLanguage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypemacintoshlanguage.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeMacintoshLanguage extends Enum implements IEnumValue ``` Represents language enum for the OpenTypePlatform.Macintosh platform. #### Fields | Field | Description | | --- | --- | | English | The english language. | | French | The french language. | | German | The german language. | | Italian | The italian language. | | Dutch | The dutch language. | | Swedish | The swedish language. | | Spanish | The spanish language. | | Danish | The danish language. | | Portuguese | The portuguese language. | | Norwegian | The norwegian language. | | Hebrew | The hebrew language. | | Japanese | The japanese language. | | Arabic | The arabic language. | | Finnish | The finnish language. | | Greek | The greek language. | | Icelandic | The icelandic language. | | Maltese | The maltese language. | | Turkish | The turkish language. | | Croatian | The croatian language. | | ChineseTraditional | The chinese traditional language. | | Urdu | The urdu language. | | Hindi | The hindi language. | | Thai | The thai language. | | Korean | The korean language. | | Lithuanian | The lithuanian language. | | Polish | The polish language. | | Hungarian | The hungarian language. | | Estonian | The estonian language. | | Latvian | The latvian language. | | Sami | The sami language. | | Faroese | The faroese language. | | FarsiPersian | The farsi persian language. | | Russian | The russian language. | | ChineseSimplified | The chinese simplifie language. | | Flemish | The flemish language. | | IrishGaelic | The irish gaelic language. | | Albanian | The albanian language. | | Romanian | The romanian language. | | Czech | The czech language. | | Slovak | The slovak language. | | Slovenian | The slovenian language. | | Yiddish | The yiddish language. | | Serbian | The serbian language. | | Macedonian | The macedonian language. | | Bulgarian | The bulgarian language. | | Ukrainian | The ukrainian language. | | Byelorussian | The byelorussian language. | | Uzbek | The uzbek language. | | Kazakh | The kazakh language. | | AzerbaijaniCyrillic | The azerbaijani cyrillic language. | | AzerbaijaniArabic | The azerbaijani arabic language. | | Armenian | The armenian language. | | Georgian | The georgian language. | | Moldavian | The moldavian language. | | Kirghiz | The kirghiz language. | | Tajiki | The tajiki language. | | Turkmen | The turkmen language. | | MongolianMongolian | The mongolian mongolian language. | | MongolianCyrillic | The mongolian cyrillic language. | | Pashto | The pashto language. | | Kurdish | The kurdish language. | | Kashmiri | The kashmiri language. | | Sindhi | The sindhi language. | | Tibetan | The tibetan language. | | Nepali | The nepali language. | | Sanskrit | The sanskrit language. | | Marathi | The marathi language. | | Bengali | The bengali language. | | Assamese | The assamese language. | | Gujarati | The gujarati language. | | Punjabi | The punjabi language. | | Oriya | The oriya language. | | Malayalam | The malayalam language. | | Kannada | The kannada language. | | Tamil | The tamil language. | | Telugu | The telugu language. | | Sinhalese | The sinhalese language. | | Burmese | The burmese language. | | Khmer | The khmer language. | | Lao | The lao language. | | Vietnamese | The vietnamese language. | | Indonesian | The indonesian language. | | Tagalog | The tagalog language. | | MalayRoman | The malay roman language. | | MalayArabic | The malay arabic language. | | Amharic | The amharic language. | | Tigrinya | The tigrinya language. | | Galla | The galla language. | | Somali | The somali language. | | Swahili | The swahili language. | | KinyarwandaOrRuanda | The kinyarwanda or ruanda language. | | Rundi | The rundi language. | | NyanjaOrChewa | The nyanja or chewa language. | | Malagasy | The malagasy language. | | Esperanto | The esperanto language. | | Welsh | The welsh language. | | Basque | The basque language. | | Catalan | The catalan language. | | Latin | The latin language. | | Quechua | The quechua language. | | Guarani | The guarani language. | | Aymara | The aymara language. | | Tatar | The tatar language. | | Uighur | The uighur language. | | Dzongkha | The dzongkha language. | | JavaneseRoman | The javanese roman language. | | SundaneseRoman | The sundanese roman language. | | Galician | The galician language. | | Afrikaans | The afrikaans language. | | Breton | The breton language. | | Inuktitut | The inuktitut language. | | ScottishGaelic | The scottish gaelic language. | | ManxGaelic | The manx gaelic language. | | IrishGaelicWithDotAbove | The irish gaelic with dot above language. | | Tongan | The tongan language. | | GreekPolytonic | The greek polytonic language. | | Greenlandic | The greenlandic language. | | AzerbaijaniRoman | The azerbaijani roman language. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### English ``` public static final OpenTypeMacintoshLanguage English ``` The english language. ##### French ``` public static final OpenTypeMacintoshLanguage French ``` The french language. ##### German ``` public static final OpenTypeMacintoshLanguage German ``` The german language. ##### Italian ``` public static final OpenTypeMacintoshLanguage Italian ``` The italian language. ##### Dutch ``` public static final OpenTypeMacintoshLanguage Dutch ``` The dutch language. ##### Swedish ``` public static final OpenTypeMacintoshLanguage Swedish ``` The swedish language. ##### Spanish ``` public static final OpenTypeMacintoshLanguage Spanish ``` The spanish language. ##### Danish ``` public static final OpenTypeMacintoshLanguage Danish ``` The danish language. ##### Portuguese ``` public static final OpenTypeMacintoshLanguage Portuguese ``` The portuguese language. ##### Norwegian ``` public static final OpenTypeMacintoshLanguage Norwegian ``` The norwegian language. ##### Hebrew ``` public static final OpenTypeMacintoshLanguage Hebrew ``` The hebrew language. ##### Japanese ``` public static final OpenTypeMacintoshLanguage Japanese ``` The japanese language. ##### Arabic ``` public static final OpenTypeMacintoshLanguage Arabic ``` The arabic language. ##### Finnish ``` public static final OpenTypeMacintoshLanguage Finnish ``` The finnish language. ##### Greek ``` public static final OpenTypeMacintoshLanguage Greek ``` The greek language. ##### Icelandic ``` public static final OpenTypeMacintoshLanguage Icelandic ``` The icelandic language. ##### Maltese ``` public static final OpenTypeMacintoshLanguage Maltese ``` The maltese language. ##### Turkish ``` public static final OpenTypeMacintoshLanguage Turkish ``` The turkish language. ##### Croatian ``` public static final OpenTypeMacintoshLanguage Croatian ``` The croatian language. ##### ChineseTraditional ``` public static final OpenTypeMacintoshLanguage ChineseTraditional ``` The chinese traditional language. ##### Urdu ``` public static final OpenTypeMacintoshLanguage Urdu ``` The urdu language. ##### Hindi ``` public static final OpenTypeMacintoshLanguage Hindi ``` The hindi language. ##### Thai ``` public static final OpenTypeMacintoshLanguage Thai ``` The thai language. ##### Korean ``` public static final OpenTypeMacintoshLanguage Korean ``` The korean language. ##### Lithuanian ``` public static final OpenTypeMacintoshLanguage Lithuanian ``` The lithuanian language. ##### Polish ``` public static final OpenTypeMacintoshLanguage Polish ``` The polish language. ##### Hungarian ``` public static final OpenTypeMacintoshLanguage Hungarian ``` The hungarian language. ##### Estonian ``` public static final OpenTypeMacintoshLanguage Estonian ``` The estonian language. ##### Latvian ``` public static final OpenTypeMacintoshLanguage Latvian ``` The latvian language. ##### Sami ``` public static final OpenTypeMacintoshLanguage Sami ``` The sami language. ##### Faroese ``` public static final OpenTypeMacintoshLanguage Faroese ``` The faroese language. ##### FarsiPersian ``` public static final OpenTypeMacintoshLanguage FarsiPersian ``` The farsi persian language. ##### Russian ``` public static final OpenTypeMacintoshLanguage Russian ``` The russian language. ##### ChineseSimplified ``` public static final OpenTypeMacintoshLanguage ChineseSimplified ``` The chinese simplifie language. ##### Flemish ``` public static final OpenTypeMacintoshLanguage Flemish ``` The flemish language. ##### IrishGaelic ``` public static final OpenTypeMacintoshLanguage IrishGaelic ``` The irish gaelic language. ##### Albanian ``` public static final OpenTypeMacintoshLanguage Albanian ``` The albanian language. ##### Romanian ``` public static final OpenTypeMacintoshLanguage Romanian ``` The romanian language. ##### Czech ``` public static final OpenTypeMacintoshLanguage Czech ``` The czech language. ##### Slovak ``` public static final OpenTypeMacintoshLanguage Slovak ``` The slovak language. ##### Slovenian ``` public static final OpenTypeMacintoshLanguage Slovenian ``` The slovenian language. ##### Yiddish ``` public static final OpenTypeMacintoshLanguage Yiddish ``` The yiddish language. ##### Serbian ``` public static final OpenTypeMacintoshLanguage Serbian ``` The serbian language. ##### Macedonian ``` public static final OpenTypeMacintoshLanguage Macedonian ``` The macedonian language. ##### Bulgarian ``` public static final OpenTypeMacintoshLanguage Bulgarian ``` The bulgarian language. ##### Ukrainian ``` public static final OpenTypeMacintoshLanguage Ukrainian ``` The ukrainian language. ##### Byelorussian ``` public static final OpenTypeMacintoshLanguage Byelorussian ``` The byelorussian language. ##### Uzbek ``` public static final OpenTypeMacintoshLanguage Uzbek ``` The uzbek language. ##### Kazakh ``` public static final OpenTypeMacintoshLanguage Kazakh ``` The kazakh language. ##### AzerbaijaniCyrillic ``` public static final OpenTypeMacintoshLanguage AzerbaijaniCyrillic ``` The azerbaijani cyrillic language. ##### AzerbaijaniArabic ``` public static final OpenTypeMacintoshLanguage AzerbaijaniArabic ``` The azerbaijani arabic language. ##### Armenian ``` public static final OpenTypeMacintoshLanguage Armenian ``` The armenian language. ##### Georgian ``` public static final OpenTypeMacintoshLanguage Georgian ``` The georgian language. ##### Moldavian ``` public static final OpenTypeMacintoshLanguage Moldavian ``` The moldavian language. ##### Kirghiz ``` public static final OpenTypeMacintoshLanguage Kirghiz ``` The kirghiz language. ##### Tajiki ``` public static final OpenTypeMacintoshLanguage Tajiki ``` The tajiki language. ##### Turkmen ``` public static final OpenTypeMacintoshLanguage Turkmen ``` The turkmen language. ##### MongolianMongolian ``` public static final OpenTypeMacintoshLanguage MongolianMongolian ``` The mongolian mongolian language. ##### MongolianCyrillic ``` public static final OpenTypeMacintoshLanguage MongolianCyrillic ``` The mongolian cyrillic language. ##### Pashto ``` public static final OpenTypeMacintoshLanguage Pashto ``` The pashto language. ##### Kurdish ``` public static final OpenTypeMacintoshLanguage Kurdish ``` The kurdish language. ##### Kashmiri ``` public static final OpenTypeMacintoshLanguage Kashmiri ``` The kashmiri language. ##### Sindhi ``` public static final OpenTypeMacintoshLanguage Sindhi ``` The sindhi language. ##### Tibetan ``` public static final OpenTypeMacintoshLanguage Tibetan ``` The tibetan language. ##### Nepali ``` public static final OpenTypeMacintoshLanguage Nepali ``` The nepali language. ##### Sanskrit ``` public static final OpenTypeMacintoshLanguage Sanskrit ``` The sanskrit language. ##### Marathi ``` public static final OpenTypeMacintoshLanguage Marathi ``` The marathi language. ##### Bengali ``` public static final OpenTypeMacintoshLanguage Bengali ``` The bengali language. ##### Assamese ``` public static final OpenTypeMacintoshLanguage Assamese ``` The assamese language. ##### Gujarati ``` public static final OpenTypeMacintoshLanguage Gujarati ``` The gujarati language. ##### Punjabi ``` public static final OpenTypeMacintoshLanguage Punjabi ``` The punjabi language. ##### Oriya ``` public static final OpenTypeMacintoshLanguage Oriya ``` The oriya language. ##### Malayalam ``` public static final OpenTypeMacintoshLanguage Malayalam ``` The malayalam language. ##### Kannada ``` public static final OpenTypeMacintoshLanguage Kannada ``` The kannada language. ##### Tamil ``` public static final OpenTypeMacintoshLanguage Tamil ``` The tamil language. ##### Telugu ``` public static final OpenTypeMacintoshLanguage Telugu ``` The telugu language. ##### Sinhalese ``` public static final OpenTypeMacintoshLanguage Sinhalese ``` The sinhalese language. ##### Burmese ``` public static final OpenTypeMacintoshLanguage Burmese ``` The burmese language. ##### Khmer ``` public static final OpenTypeMacintoshLanguage Khmer ``` The khmer language. ##### Lao ``` public static final OpenTypeMacintoshLanguage Lao ``` The lao language. ##### Vietnamese ``` public static final OpenTypeMacintoshLanguage Vietnamese ``` The vietnamese language. ##### Indonesian ``` public static final OpenTypeMacintoshLanguage Indonesian ``` The indonesian language. ##### Tagalog ``` public static final OpenTypeMacintoshLanguage Tagalog ``` The tagalog language. ##### MalayRoman ``` public static final OpenTypeMacintoshLanguage MalayRoman ``` The malay roman language. ##### MalayArabic ``` public static final OpenTypeMacintoshLanguage MalayArabic ``` The malay arabic language. ##### Amharic ``` public static final OpenTypeMacintoshLanguage Amharic ``` The amharic language. ##### Tigrinya ``` public static final OpenTypeMacintoshLanguage Tigrinya ``` The tigrinya language. ##### Galla ``` public static final OpenTypeMacintoshLanguage Galla ``` The galla language. ##### Somali ``` public static final OpenTypeMacintoshLanguage Somali ``` The somali language. ##### Swahili ``` public static final OpenTypeMacintoshLanguage Swahili ``` The swahili language. ##### KinyarwandaOrRuanda ``` public static final OpenTypeMacintoshLanguage KinyarwandaOrRuanda ``` The kinyarwanda or ruanda language. ##### Rundi ``` public static final OpenTypeMacintoshLanguage Rundi ``` The rundi language. ##### NyanjaOrChewa ``` public static final OpenTypeMacintoshLanguage NyanjaOrChewa ``` The nyanja or chewa language. ##### Malagasy ``` public static final OpenTypeMacintoshLanguage Malagasy ``` The malagasy language. ##### Esperanto ``` public static final OpenTypeMacintoshLanguage Esperanto ``` The esperanto language. ##### Welsh ``` public static final OpenTypeMacintoshLanguage Welsh ``` The welsh language. ##### Basque ``` public static final OpenTypeMacintoshLanguage Basque ``` The basque language. ##### Catalan ``` public static final OpenTypeMacintoshLanguage Catalan ``` The catalan language. ##### Latin ``` public static final OpenTypeMacintoshLanguage Latin ``` The latin language. ##### Quechua ``` public static final OpenTypeMacintoshLanguage Quechua ``` The quechua language. ##### Guarani ``` public static final OpenTypeMacintoshLanguage Guarani ``` The guarani language. ##### Aymara ``` public static final OpenTypeMacintoshLanguage Aymara ``` The aymara language. ##### Tatar ``` public static final OpenTypeMacintoshLanguage Tatar ``` The tatar language. ##### Uighur ``` public static final OpenTypeMacintoshLanguage Uighur ``` The uighur language. ##### Dzongkha ``` public static final OpenTypeMacintoshLanguage Dzongkha ``` The dzongkha language. ##### JavaneseRoman ``` public static final OpenTypeMacintoshLanguage JavaneseRoman ``` The javanese roman language. ##### SundaneseRoman ``` public static final OpenTypeMacintoshLanguage SundaneseRoman ``` The sundanese roman language. ##### Galician ``` public static final OpenTypeMacintoshLanguage Galician ``` The galician language. ##### Afrikaans ``` public static final OpenTypeMacintoshLanguage Afrikaans ``` The afrikaans language. ##### Breton ``` public static final OpenTypeMacintoshLanguage Breton ``` The breton language. ##### Inuktitut ``` public static final OpenTypeMacintoshLanguage Inuktitut ``` The inuktitut language. ##### ScottishGaelic ``` public static final OpenTypeMacintoshLanguage ScottishGaelic ``` The scottish gaelic language. ##### ManxGaelic ``` public static final OpenTypeMacintoshLanguage ManxGaelic ``` The manx gaelic language. ##### IrishGaelicWithDotAbove ``` public static final OpenTypeMacintoshLanguage IrishGaelicWithDotAbove ``` The irish gaelic with dot above language. ##### Tongan ``` public static final OpenTypeMacintoshLanguage Tongan ``` The tongan language. ##### GreekPolytonic ``` public static final OpenTypeMacintoshLanguage GreekPolytonic ``` The greek polytonic language. ##### Greenlandic ``` public static final OpenTypeMacintoshLanguage Greenlandic ``` The greenlandic language. ##### AzerbaijaniRoman ``` public static final OpenTypeMacintoshLanguage AzerbaijaniRoman ``` The azerbaijani roman language. ##### values() ``` public static OpenTypeMacintoshLanguage[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeMacintoshLanguage[] ##### valueOf(String name) ``` public static OpenTypeMacintoshLanguage valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeMacintoshLanguage ##### getByRawValue(int rawValue) ``` public static OpenTypeMacintoshLanguage getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeMacintoshLanguage ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeMacintoshNameRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypemacintoshnamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.OpenTypeBaseNameRecord ``` public class OpenTypeMacintoshNameRecord extends OpenTypeBaseNameRecord ``` Represents the Name record table value for the OpenTypePlatform.Macintosh platform. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding identifier. | | getLanguage() | Gets the language identifier. | ##### getEncoding() ``` public final OpenTypeMacintoshEncoding getEncoding() ``` Gets the encoding identifier. **Returns:** OpenTypeMacintoshEncoding - The encoding identifier. ##### getLanguage() ``` public final OpenTypeMacintoshLanguage getLanguage() ``` Gets the language identifier. **Returns:** OpenTypeMacintoshLanguage - The language identifier. ### OpenTypeName Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypename.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeName extends Enum implements IEnumValue ``` Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. #### Fields | Field | Description | | --- | --- | | CopyrightNotice | Copyright notice. | | FontFamilyName | Font Family name. | | FontSubfamilyName | Font Subfamily name. | | UniqueFontIdentifier | Unique font identifier. | | FullFontName | Full font name that reflects all family and relevant subfamily descriptors. | | VersionString | Version string. | | PostScriptName | PostScript name for the font. | | Trademark | Trademark notice/information for this font. | | ManufacturerName | Manufacturer Name. | | Designer | Designer), name of the designer of the typeface. | | Description | Description of the typeface. | | UrlVendor | URL of font vendor (with protocol, e.g., http://, ftp://). | | UrlDesigner | URL of typeface designer (with protocol, e.g., http://, ftp://). | | LicenseDescription | Description of how the font may be legally used, or different example scenarios for licensed use. | | LicenseInfoUrl | URL where additional licensing information can be found. | | TypographicFamily | Typographic Family name. | | TypographicSubfamily | Typographic Subfamily name. | | CompatibleFull | Compatible Full (Macintosh only). | | SampleText | Sample text. | | PostScriptCidFindfont | PostScript CID findfont name. | | WwsFamilyName | WWS Family Name. | | WwsSubfamilyName | WWS Subfamily Name. | | LightBackgroundPalette | Light Background Palette. | | DarkBackgroundPalette | Dark Background Palette. | | VariationsPostScriptNamePrefix | Variations PostScript Name Prefix. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### CopyrightNotice ``` public static final OpenTypeName CopyrightNotice ``` Copyright notice. ##### FontFamilyName ``` public static final OpenTypeName FontFamilyName ``` Font Family name. ##### FontSubfamilyName ``` public static final OpenTypeName FontSubfamilyName ``` Font Subfamily name. ##### UniqueFontIdentifier ``` public static final OpenTypeName UniqueFontIdentifier ``` Unique font identifier. ##### FullFontName ``` public static final OpenTypeName FullFontName ``` Full font name that reflects all family and relevant subfamily descriptors. ##### VersionString ``` public static final OpenTypeName VersionString ``` Version string. ##### PostScriptName ``` public static final OpenTypeName PostScriptName ``` PostScript name for the font. ##### Trademark ``` public static final OpenTypeName Trademark ``` Trademark notice/information for this font. ##### ManufacturerName ``` public static final OpenTypeName ManufacturerName ``` Manufacturer Name. ##### Designer ``` public static final OpenTypeName Designer ``` Designer), name of the designer of the typeface. ##### Description ``` public static final OpenTypeName Description ``` Description of the typeface. ##### UrlVendor ``` public static final OpenTypeName UrlVendor ``` URL of font vendor (with protocol, e.g., http://, ftp://). ##### UrlDesigner ``` public static final OpenTypeName UrlDesigner ``` URL of typeface designer (with protocol, e.g., http://, ftp://). ##### LicenseDescription ``` public static final OpenTypeName LicenseDescription ``` Description of how the font may be legally used, or different example scenarios for licensed use. ##### LicenseInfoUrl ``` public static final OpenTypeName LicenseInfoUrl ``` URL where additional licensing information can be found. ##### TypographicFamily ``` public static final OpenTypeName TypographicFamily ``` Typographic Family name. ##### TypographicSubfamily ``` public static final OpenTypeName TypographicSubfamily ``` Typographic Subfamily name. ##### CompatibleFull ``` public static final OpenTypeName CompatibleFull ``` Compatible Full (Macintosh only). On the Macintosh, the menu name is constructed using the FOND resource. ##### SampleText ``` public static final OpenTypeName SampleText ``` Sample text. This can be the font name, or any other text that the designer thinks is the best sample to display the font in. ##### PostScriptCidFindfont ``` public static final OpenTypeName PostScriptCidFindfont ``` PostScript CID findfont name. ##### WwsFamilyName ``` public static final OpenTypeName WwsFamilyName ``` WWS Family Name. ##### WwsSubfamilyName ``` public static final OpenTypeName WwsSubfamilyName ``` WWS Subfamily Name. ##### LightBackgroundPalette ``` public static final OpenTypeName LightBackgroundPalette ``` Light Background Palette. ##### DarkBackgroundPalette ``` public static final OpenTypeName DarkBackgroundPalette ``` Dark Background Palette. ##### VariationsPostScriptNamePrefix ``` public static final OpenTypeName VariationsPostScriptNamePrefix ``` Variations PostScript Name Prefix. ##### values() ``` public static OpenTypeName[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeName[] ##### valueOf(String name) ``` public static OpenTypeName valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeName ##### getByRawValue(int rawValue) ``` public static OpenTypeName getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeName ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class OpenTypePackage extends CustomPackage ``` Represents an OpenType font metadata package. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getFonts() | Gets an array of the fonts extracted from the file. | ##### getFonts() ``` public final OpenTypeFont[] getFonts() ``` Gets an array of the fonts extracted from the file. **Returns:** com.groupdocs.metadata.core.OpenTypeFont[] - An array of the fonts extracted from the file. ### OpenTypePlatform Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypeplatform.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypePlatform extends Enum implements IEnumValue ``` Represents OpenType platform for Name table. #### Fields | Field | Description | | --- | --- | | Unicode | The Unicode platform. | | Macintosh | The Macintosh platform. | | Iso | The ISO [deprecated] platform. | | Windows | The Windows platform. | | Custom | The Custom platform. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unicode ``` public static final OpenTypePlatform Unicode ``` The Unicode platform. ##### Macintosh ``` public static final OpenTypePlatform Macintosh ``` The Macintosh platform. ##### Iso ``` public static final OpenTypePlatform Iso ``` The ISO [deprecated] platform. ##### Windows ``` public static final OpenTypePlatform Windows ``` The Windows platform. ##### Custom ``` public static final OpenTypePlatform Custom ``` The Custom platform. ##### values() ``` public static OpenTypePlatform[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypePlatform[] ##### valueOf(String name) ``` public static OpenTypePlatform valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypePlatform ##### getByRawValue(int rawValue) ``` public static OpenTypePlatform getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypePlatform ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentyperootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class OpenTypeRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in an OpenType font file. This example shows how to read OpenType font metadata. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputTtf)) { > OpenTypeRootPackage root = metadata.getRootPackageGeneric(); > // Read the OpenType font metadata > for (OpenTypeFont metadataEntry : root.getOpenTypePackage().getFonts()) { > // Display the values of some metadata properties > System.out.println(metadataEntry.getCreated()); > System.out.println(metadataEntry.getDirectionHint()); > System.out.println(metadataEntry.getEmbeddingLicensingRights()); > System.out.println(metadataEntry.getFlags()); > System.out.println(metadataEntry.getFontFamilyName()); > System.out.println(metadataEntry.getFontRevision()); > System.out.println(metadataEntry.getFontSubfamilyName()); > System.out.println(metadataEntry.getFullFontName()); > System.out.println(metadataEntry.getGlyphBounds()); > System.out.println(metadataEntry.getMajorVersion()); > System.out.println(metadataEntry.getMinorVersion()); > System.out.println(metadataEntry.getModified()); > System.out.println(metadataEntry.getSfntVersion()); > System.out.println(metadataEntry.getStyle()); > System.out.println(metadataEntry.getTypographicFamily()); > System.out.println(metadataEntry.getTypographicSubfamily()); > System.out.println(metadataEntry.getWeight()); > System.out.println(metadataEntry.getWidth()); > for (OpenTypeBaseNameRecord nameRecord : metadataEntry.getNames()) { > System.out.println(nameRecord.getNameID()); > System.out.println(nameRecord.getPlatform()); > System.out.println(nameRecord.getValue()); > if (nameRecord instanceof OpenTypeMacintoshNameRecord) { > OpenTypeMacintoshNameRecord macintoshNameRecord = (OpenTypeMacintoshNameRecord) nameRecord; > System.out.println(macintoshNameRecord.getEncoding()); > System.out.println(macintoshNameRecord.getLanguage()); > } else { > if (nameRecord instanceof OpenTypeUnicodeNameRecord) { > OpenTypeUnicodeNameRecord unicodeNameRecord = (OpenTypeUnicodeNameRecord) nameRecord; > System.out.println(unicodeNameRecord.getEncoding()); > } else { > if (nameRecord instanceof OpenTypeWindowsNameRecord) { > OpenTypeWindowsNameRecord windowsNameRecord = (OpenTypeWindowsNameRecord) nameRecord; > System.out.println(windowsNameRecord.getEncoding()); > System.out.println(windowsNameRecord.getLanguage()); > } > } > } > } > } > } > > ``` > ``` [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getOpenTypePackage() | Gets the OpenType metadata package. | | getDigitalSignaturePackage() | Gets the digital signature metadata package. | ##### getOpenTypePackage() ``` public final OpenTypePackage getOpenTypePackage() ``` Gets the OpenType metadata package. **Returns:** OpenTypePackage - The OpenType metadata package. ##### getDigitalSignaturePackage() ``` public final CmsPackage getDigitalSignaturePackage() ``` Gets the digital signature metadata package. **Returns:** CmsPackage - The digital signature metadata package. ### OpenTypeStyles Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypestyles.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class OpenTypeStyles implements IEnumValue ``` Represents the OpenType font style. #### Fields | Field | Description | | --- | --- | | Regular | Normal text. | | Bold | Bold text. | | Italic | Italic text. | | Underline | Underlined text. | | Outline | Outline text. | | Shadow | Shadow text. | | Condensed | Condensed text. | | Extended | Extended text. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Regular ``` public static final OpenTypeStyles Regular ``` Normal text. ##### Bold ``` public static final OpenTypeStyles Bold ``` Bold text. ##### Italic ``` public static final OpenTypeStyles Italic ``` Italic text. ##### Underline ``` public static final OpenTypeStyles Underline ``` Underlined text. ##### Outline ``` public static final OpenTypeStyles Outline ``` Outline text. ##### Shadow ``` public static final OpenTypeStyles Shadow ``` Shadow text. ##### Condensed ``` public static final OpenTypeStyles Condensed ``` Condensed text. ##### Extended ``` public static final OpenTypeStyles Extended ``` Extended text. ##### getByRawValue(int rawValue) ``` public static OpenTypeStyles getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeStyles ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### OpenTypeUnicodeEncoding Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypeunicodeencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeUnicodeEncoding extends Enum implements IEnumValue ``` Represents encoding for OpenTypePlatform.Unicode platform. #### Fields | Field | Description | | --- | --- | | Unicode10 | Unicode 1.0 semantics. | | Unicode11 | Unicode 1.1 semantics. | | Iso | ISO/IEC 10646 semantics. | | Unicode20Bmp | Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6). | | Unicode20Full | Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12). | | UnicodeVariation | Unicode Variation Sequences ('cmap' subtable format 14). | | UnicodeFull | Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13). | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unicode10 ``` public static final OpenTypeUnicodeEncoding Unicode10 ``` Unicode 1.0 semantics. ##### Unicode11 ``` public static final OpenTypeUnicodeEncoding Unicode11 ``` Unicode 1.1 semantics. ##### Iso ``` public static final OpenTypeUnicodeEncoding Iso ``` ISO/IEC 10646 semantics. ##### Unicode20Bmp ``` public static final OpenTypeUnicodeEncoding Unicode20Bmp ``` Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6). ##### Unicode20Full ``` public static final OpenTypeUnicodeEncoding Unicode20Full ``` Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12). ##### UnicodeVariation ``` public static final OpenTypeUnicodeEncoding UnicodeVariation ``` Unicode Variation Sequences ('cmap' subtable format 14). ##### UnicodeFull ``` public static final OpenTypeUnicodeEncoding UnicodeFull ``` Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13). ##### values() ``` public static OpenTypeUnicodeEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeUnicodeEncoding[] ##### valueOf(String name) ``` public static OpenTypeUnicodeEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeUnicodeEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeUnicodeEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeUnicodeEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeUnicodeNameRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypeunicodenamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.OpenTypeBaseNameRecord ``` public class OpenTypeUnicodeNameRecord extends OpenTypeBaseNameRecord ``` Represents the Name record table value for the OpenTypePlatform.Unicode platform. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding identifier. | ##### getEncoding() ``` public final OpenTypeUnicodeEncoding getEncoding() ``` Gets the encoding identifier. **Returns:** OpenTypeUnicodeEncoding - The encoding identifier. ### OpenTypeVersion Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypeversion.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeVersion extends Enum implements IEnumValue ``` Represents the OpenType version. #### Fields | Field | Description | | --- | --- | | TrueType | The TrueType font. | | Cff | The OpenType font with PostScript outlines. | | TrueTypeOsX | The OS X and iOS TrueType font. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### TrueType ``` public static final OpenTypeVersion TrueType ``` The TrueType font. ##### Cff ``` public static final OpenTypeVersion Cff ``` The OpenType font with PostScript outlines. ##### TrueTypeOsX ``` public static final OpenTypeVersion TrueTypeOsX ``` The OS X and iOS TrueType font. ##### values() ``` public static OpenTypeVersion[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeVersion[] ##### valueOf(String name) ``` public static OpenTypeVersion valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeVersion ##### getByRawValue(int rawValue) ``` public static OpenTypeVersion getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeVersion ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWeight Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypeweight.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWeight extends Enum implements IEnumValue ``` Represents the OpenType font weight. Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the font. Values from 1 to 1000 are valid. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined weight. | | Thin | The Thin weight. | | ExtraLight | The Extra-light (Ultra-light) weight. | | Light | The Light weight. | | Normal | The Normal (Regular) weight. | | Medium | The Medium weight. | | SemiBold | The Semi-bold (Demi-bold) weight. | | Bold | The Bold weight. | | ExtraBold | The Extra-bold (Ultra-bold) weight. | | Heavy | The Black (Heavy) weight. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final OpenTypeWeight Undefined ``` The undefined weight. ##### Thin ``` public static final OpenTypeWeight Thin ``` The Thin weight. ##### ExtraLight ``` public static final OpenTypeWeight ExtraLight ``` The Extra-light (Ultra-light) weight. ##### Light ``` public static final OpenTypeWeight Light ``` The Light weight. ##### Normal ``` public static final OpenTypeWeight Normal ``` The Normal (Regular) weight. ##### Medium ``` public static final OpenTypeWeight Medium ``` The Medium weight. ##### SemiBold ``` public static final OpenTypeWeight SemiBold ``` The Semi-bold (Demi-bold) weight. ##### Bold ``` public static final OpenTypeWeight Bold ``` The Bold weight. ##### ExtraBold ``` public static final OpenTypeWeight ExtraBold ``` The Extra-bold (Ultra-bold) weight. ##### Heavy ``` public static final OpenTypeWeight Heavy ``` The Black (Heavy) weight. ##### values() ``` public static OpenTypeWeight[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWeight[] ##### valueOf(String name) ``` public static OpenTypeWeight valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWeight ##### getByRawValue(int rawValue) ``` public static OpenTypeWeight getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWeight ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWidth Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypewidth.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWidth extends Enum implements IEnumValue ``` Represents the OpenType font width. Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a font. #### Fields | Field | Description | | --- | --- | | Undefined | The undefined wifth. | | UltraCondensed | The Ultra-condensed wifth. | | ExtraCondensed | The Extra-condensed wifth. | | Condensed | The Condensed wifth. | | SemiCondensed | The Semi-condensed wifth. | | Medium | The Medium (normal) wifth. | | SemiExpanded | The Semi-expanded wifth. | | Expanded | The Expanded wifth. | | ExtraExpanded | The Extra-expanded wifth. | | UltraExpanded | The Ultra-expanded wifth. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final OpenTypeWidth Undefined ``` The undefined wifth. ##### UltraCondensed ``` public static final OpenTypeWidth UltraCondensed ``` The Ultra-condensed wifth. ##### ExtraCondensed ``` public static final OpenTypeWidth ExtraCondensed ``` The Extra-condensed wifth. ##### Condensed ``` public static final OpenTypeWidth Condensed ``` The Condensed wifth. ##### SemiCondensed ``` public static final OpenTypeWidth SemiCondensed ``` The Semi-condensed wifth. ##### Medium ``` public static final OpenTypeWidth Medium ``` The Medium (normal) wifth. ##### SemiExpanded ``` public static final OpenTypeWidth SemiExpanded ``` The Semi-expanded wifth. ##### Expanded ``` public static final OpenTypeWidth Expanded ``` The Expanded wifth. ##### ExtraExpanded ``` public static final OpenTypeWidth ExtraExpanded ``` The Extra-expanded wifth. ##### UltraExpanded ``` public static final OpenTypeWidth UltraExpanded ``` The Ultra-expanded wifth. ##### values() ``` public static OpenTypeWidth[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWidth[] ##### valueOf(String name) ``` public static OpenTypeWidth valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWidth ##### getByRawValue(int rawValue) ``` public static OpenTypeWidth getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWidth ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWindowsEncoding Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypewindowsencoding.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWindowsEncoding extends Enum implements IEnumValue ``` Represents encoding for the OpenTypePlatform.Windows platform. #### Fields | Field | Description | | --- | --- | | Symbol | The Symbol encoding. | | UnicodeBmp | The Unicode BMP encoding. | | ShiftJis | The ShiftJIS encoding. | | Prc | The PRC encoding. | | Big5 | The Big5 encoding. | | Wansung | The Wansung encoding. | | Johab | The Johab encoding. | | UnicodeFull | The Unicode full repertoire encoding. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Symbol ``` public static final OpenTypeWindowsEncoding Symbol ``` The Symbol encoding. ##### UnicodeBmp ``` public static final OpenTypeWindowsEncoding UnicodeBmp ``` The Unicode BMP encoding. ##### ShiftJis ``` public static final OpenTypeWindowsEncoding ShiftJis ``` The ShiftJIS encoding. ##### Prc ``` public static final OpenTypeWindowsEncoding Prc ``` The PRC encoding. ##### Big5 ``` public static final OpenTypeWindowsEncoding Big5 ``` The Big5 encoding. ##### Wansung ``` public static final OpenTypeWindowsEncoding Wansung ``` The Wansung encoding. ##### Johab ``` public static final OpenTypeWindowsEncoding Johab ``` The Johab encoding. ##### UnicodeFull ``` public static final OpenTypeWindowsEncoding UnicodeFull ``` The Unicode full repertoire encoding. ##### values() ``` public static OpenTypeWindowsEncoding[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWindowsEncoding[] ##### valueOf(String name) ``` public static OpenTypeWindowsEncoding valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWindowsEncoding ##### getByRawValue(int rawValue) ``` public static OpenTypeWindowsEncoding getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWindowsEncoding ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWindowsLanguage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypewindowslanguage.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum OpenTypeWindowsLanguage extends Enum implements IEnumValue ``` Represents language for OpenTypePlatform.Windows platform. #### Fields | Field | Description | | --- | --- | | Unknown | The unknown language. | | AfrikaansSouthAfrica | The afrikaans south africa language. | | AlbanianAlbania | The albanian Albania language. | | AlsatianFrance | The alsatian France language. | | AmharicEthiopia | The amharic Rthiopia language. | | ArabicAlgeria | The arabic Algeria language. | | ArabicBahrain | The arabic Bahrain language. | | ArabicEgypt | The arabic Egypt language. | | ArabicIraq | The arabic Iraq language. | | ArabicJordan | The arabic Jordan language. | | ArabicKuwait | The arabic Kuwait language. | | ArabicLebanon | The arabic Lebanon language. | | ArabicLibya | The arabic Libya language. | | ArabicMorocco | The arabic Morocco language. | | ArabicOman | The arabic Oman language. | | ArabicQatar | The arabic Qatar language. | | ArabicSaudiArabia | The arabic Saudi Arabia language. | | ArabicSyria | The arabic Syria language. | | ArabicTunisia | The arabic Tunisia language. | | ArabicUae | The arabic UAE language. | | ArabicYemen | The arabic Yemen language. | | ArmenianArmenia | The armenian Armenia language. | | AssameseIndia | The assamese India language. | | AzeriCyrillicAzerbaijan | The azeri cyrillic Azerbaijan language. | | AzeriLatinAzerbaijan | The azeri latin Azerbaijan language. | | BashkirRussia | The bashkir Russia language. | | BasqueBasque | The basque Basque language. | | BelarusianBelarus | The belarusian Belarus language. | | BengaliBangladesh | The bengali Bangladesh language. | | BengaliIndia | The bengali India language. | | BosnianLatinBosniaAndHerzegovina | The bosnian latin Bosnia and Herzegovina language. | | BretonFrance | The breton France language. | | BulgarianBulgaria | The bulgarian Bulgaria language. | | CatalanCatalan | The catalan Catalan language. | | ChineseHongKongSar | The chinese Hong Kong SAR language. | | ChineseMacaoSar | The chinese Macao SAR language. | | ChinesePeoplesRepublicOfChina | The chinese Peoples Republic of China language. | | ChineseSingapore | The chinese Singapore language. | | ChineseTaiwan | The chinese Taiwan language. | | CorsicanFrance | The corsican France language. | | CroatianCroatia | The croatian Croatia language. | | CroatianLatinBosniaAndHerzegovina | The croatian latin Bosnia and Herzegovina language. | | CzechCzechRepublic | The czech Czech Republic language. | | DanishDenmark | The danish Denmark language. | | DariAfghanistan | The dari Afghanistan language. | | DivehiMaldives | The divehi Maldives language. | | DutchBelgium | The dutch Belgium language. | | DutchNetherlands | The dutch Netherlands language. | | EnglishAustralia | The english Australia language. | | EnglishBelize | The english Belize language. | | EnglishCanada | The english Canada language. | | EnglishCaribbean | The english Caribbean language. | | EnglishIndia | The english India language. | | EnglishIreland | The english Ireland language. | | EnglishJamaica | The english Jamaica language. | | EnglishMalaysia | The english Malaysia language. | | EnglishNewZealand | The english New Zealand language. | | EnglishRepublicOfThePhilippines | The english Republic of the Philippines language. | | EnglishSingapore | The english Singapore language. | | EnglishSouthAfrica | The english south africa language. | | EnglishTrinidadAndTobago | The english Trinidad and Tobago language. | | EnglishUnitedKingdom | The english United Kingdom language. | | EnglishUnitedStates | The english United States language. | | EnglishZimbabwe | The english Zimbabwe language. | | EstonianEstonia | The estonian Estonia language. | | FaroeseFaroeIslands | The faroese Faroe Islands language. | | FilipinoPhilippines | The filipino Philippines language. | | FinnishFinland | The finnish Finland language. | | FrenchBelgium | The french Belgium language. | | FrenchCanada | The french Canada language. | | FrenchFrance | The french France language. | | FrenchLuxembourg | The french Luxembourg language. | | FrenchPrincipalityOfMonaco | The french Principality of Monaco language. | | FrenchSwitzerland | The french Switzerland language. | | FrisianNetherlands | The frisian Netherlands language. | | GalicianGalician | The galician Galician language. | | GeorgianGeorgia | The georgian Georgia language. | | GermanAustria | The german Austria language. | | GermanGermany | The german Germany language. | | GermanLiechtenstein | The german Liechtenstein language. | | GermanLuxembourg | The german Luxembourg language. | | GermanSwitzerland | The german Switzerland language. | | GreekGreece | The greek Greece language. | | GreenlandicGreenland | The greenlandic Greenland language. | | GujaratiIndia | The gujarati India language. | | HausaLatinNigeria | The hausa latin Nigeria language. | | HebrewIsrael | The hebrew Israel language. | | HindiIndia | The hindi India language. | | HungarianHungary | The hungarian Hungary language. | | IcelandicIceland | The icelandic Iceland language. | | IgboNigeria | The igbo Nigeria language. | | IndonesianIndonesia | The indonesian Indonesia language. | | InuktitutCanada | The inuktitut Canada language. | | InuktitutLatinCanada | The inuktitut latin Canada language. | | IrishIreland | The irish Ireland language. | | IsiXhosaSouthAfrica | The isi xhosa South Africa language. | | IsiZuluSouthAfrica | The isi zulu South Africa language. | | ItalianItaly | The italian Italy language. | | ItalianSwitzerland | The italian Switzerland language. | | JapaneseJapan | The japanese Japan language. | | KannadaIndia | The kannada India language. | | KazakhKazakhstan | The kazakh Kazakhstan language. | | KhmerCambodia | The khmer Cambodia language. | | KicheGuatemala | The kiche Guatemala language. | | KinyarwandaRwanda | The kinyarwanda Rwanda language. | | KiswahiliKenya | The kiswahili Kenya language. | | KonkaniIndia | The konkani India language. | | KoreanKorea | The korean Korea language. | | KyrgyzKyrgyzstan | The kyrgyz Kyrgyzstan language. | | LaoLaoPdr | The lao lao PDR language. | | LatvianLatvia | The latvian Latvia language. | | LithuanianLithuania | The lithuanian Lithuania language. | | LowerSorbianGermany | The lower sorbian Germany language. | | LuxembourgishLuxembourg | The luxembourgish Luxembourg language. | | MacedonianFyromFormerYugoslavRepublicOfMacedonia | The macedonian fyrom former Yugoslav Republic of Macedonia language. | | MalayBruneiDarussalam | The malay brunei Darussalam language. | | MalayMalaysia | The malay Malaysia language. | | MalayalamIndia | The malayalam India language. | | MalteseMalta | The maltese Malta language. | | MaoriNewZealand | The maori New Zealand language. | | MapudungunChile | The mapudungun Chile language. | | MarathiIndia | The marathi India language. | | MohawkMohawk | The mohawk Mohawk language. | | MongolianCyrillicMongolia | The mongolian cyrillic Mongolia language. | | MongolianTraditionalPeoplesRepublicOfChina | The mongolian traditional Peoples Republic of China language. | | NepaliNepal | The nepali Nepal language. | | NorwegianBokmalNorway | The norwegian bokmal Norway language. | | NorwegianNynorskNorway | The norwegian nynorsk Norway language. | | OccitanFrance | The occitan France language. | | OdiaFormerlyOriyaIndia | The odia formerly oriya India language. | | PashtoAfghanistan | The pashto Afghanistan language. | | PolishPoland | The polish Poland language. | | PortugueseBrazil | The portuguese Brazil language. | | PortuguesePortugal | The portuguese Portugal language. | | PunjabiIndia | The punjabi India language. | | QuechuaBolivia | The quechua Bolivia language. | | QuechuaEcuador | The quechua Ecuador language. | | QuechuaPeru | The quechua Peru language. | | RomanianRomania | The romanian Romania language. | | RomanshSwitzerland | The romansh Switzerland language. | | RussianRussia | The russian Russia language. | | SamiInariFinland | The sami inari Finland language. | | SamiLuleNorway | The sami lule Norway language. | | SamiLuleSweden | The sami lule Sweden language. | | SamiNorthernFinland | The sami northern Finland language. | | SamiNorthernNorway | The sami northern Norway language. | | SamiNorthernSweden | The sami northern Sweden language. | | SamiSkoltFinland | The sami skolt Finland language. | | SamiSouthernNorway | The sami southern Norway language. | | SamiSouthernSweden | The sami southern Sweden language. | | SanskritIndia | The sanskrit India language. | | SerbianCyrillicBosniaAndHerzegovina | The serbian cyrillic Bosnia and Herzegovina language. | | SerbianCyrillicSerbia | The serbian cyrillic Serbia language. | | SerbianLatinBosniaAndHerzegovina | The serbian latin Bosnia and Herzegovina language. | | SerbianLatinSerbia | The serbian latin Serbia language. | | SesothoSaLeboaSouthAfrica | The sesotho sa leboa South Africa language. | | SetswanaSouthAfrica | The setswana South Africa language. | | SinhalaSriLanka | The sinhala Sri Lanka language. | | SlovakSlovakia | The slovak Slovakia language. | | SlovenianSlovenia | The slovenian Slovenia language. | | SpanishArgentina | The spanish Argentina language. | | SpanishBolivia | The spanish Bolivia language. | | SpanishChile | The spanish Chile language. | | SpanishColombia | The spanish Colombia language. | | SpanishCostaRica | The spanish Costa Rica language. | | SpanishDominicanRepublic | The spanish Dominican Republic language. | | SpanishEcuador | The spanish Ecuador language. | | SpanishElSalvador | The spanish El Salvador language. | | SpanishGuatemala | The spanish Guatemala language. | | SpanishHonduras | The spanish Honduras language. | | SpanishMexico | The spanish Mexico language. | | SpanishNicaragua | The spanish Nicaragua language. | | SpanishPanama | The spanish Panama language. | | SpanishParaguay | The spanish Paraguay language. | | SpanishPeru | The spanish Peru language. | | SpanishPuertoRico | The spanish Puerto Rico language. | | SpanishModernSortSpain | The spanish modern sort Spain language. | | SpanishTraditionalSortSpain | The spanish traditional sort Spain language. | | SpanishUnitedStates | The spanish United States language. | | SpanishUruguay | The spanish Uruguay language. | | SpanishVenezuela | The spanish Venezuela language. | | SwedenFinland | The sweden Finland language. | | SwedishSweden | The swedish Sweden language. | | SyriacSyria | The syriac Syria language. | | TajikCyrillicTajikistan | The tajik cyrillic tajikistan language. | | TamazightLatinAlgeria | The tamazight latin Algeria language. | | TamilIndia | The tamil India language. | | TatarRussia | The tatar Russia language. | | TeluguIndia | The telugu India language. | | ThaiThailand | The thai Thailand language. | | TibetanPrc | The tibetan PRC language. | | TurkishTurkey | The turkish Turkey language. | | TurkmenTurkmenistan | The turkmen Turkmenistan language. | | UighurPrc | The uighur PRC language. | | UkrainianUkraine | The ukrainian Ukraine language. | | UpperSorbianGermany | The upper sorbian Germany language. | | UrduIslamicRepublicOfPakistan | The urdu Islamic Republic of Pakistan language. | | UzbekCyrillicUzbekistan | The uzbek cyrillic Uzbekistan language. | | UzbekLatinUzbekistan | The uzbek latin Uzbekistan language. | | VietnameseVietnam | The vietnamese Vietnam language. | | WelshUnitedKingdom | The welsh United Kingdom language. | | WolofSenegal | The wolof Senegal language. | | YakutRussia | The yakut Russia language. | | YiPrc | The yi PRC language. | | YorubaNigeria | The yoruba Nigeria language. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final OpenTypeWindowsLanguage Unknown ``` The unknown language. ##### AfrikaansSouthAfrica ``` public static final OpenTypeWindowsLanguage AfrikaansSouthAfrica ``` The afrikaans south africa language. ##### AlbanianAlbania ``` public static final OpenTypeWindowsLanguage AlbanianAlbania ``` The albanian Albania language. ##### AlsatianFrance ``` public static final OpenTypeWindowsLanguage AlsatianFrance ``` The alsatian France language. ##### AmharicEthiopia ``` public static final OpenTypeWindowsLanguage AmharicEthiopia ``` The amharic Rthiopia language. ##### ArabicAlgeria ``` public static final OpenTypeWindowsLanguage ArabicAlgeria ``` The arabic Algeria language. ##### ArabicBahrain ``` public static final OpenTypeWindowsLanguage ArabicBahrain ``` The arabic Bahrain language. ##### ArabicEgypt ``` public static final OpenTypeWindowsLanguage ArabicEgypt ``` The arabic Egypt language. ##### ArabicIraq ``` public static final OpenTypeWindowsLanguage ArabicIraq ``` The arabic Iraq language. ##### ArabicJordan ``` public static final OpenTypeWindowsLanguage ArabicJordan ``` The arabic Jordan language. ##### ArabicKuwait ``` public static final OpenTypeWindowsLanguage ArabicKuwait ``` The arabic Kuwait language. ##### ArabicLebanon ``` public static final OpenTypeWindowsLanguage ArabicLebanon ``` The arabic Lebanon language. ##### ArabicLibya ``` public static final OpenTypeWindowsLanguage ArabicLibya ``` The arabic Libya language. ##### ArabicMorocco ``` public static final OpenTypeWindowsLanguage ArabicMorocco ``` The arabic Morocco language. ##### ArabicOman ``` public static final OpenTypeWindowsLanguage ArabicOman ``` The arabic Oman language. ##### ArabicQatar ``` public static final OpenTypeWindowsLanguage ArabicQatar ``` The arabic Qatar language. ##### ArabicSaudiArabia ``` public static final OpenTypeWindowsLanguage ArabicSaudiArabia ``` The arabic Saudi Arabia language. ##### ArabicSyria ``` public static final OpenTypeWindowsLanguage ArabicSyria ``` The arabic Syria language. ##### ArabicTunisia ``` public static final OpenTypeWindowsLanguage ArabicTunisia ``` The arabic Tunisia language. ##### ArabicUae ``` public static final OpenTypeWindowsLanguage ArabicUae ``` The arabic UAE language. ##### ArabicYemen ``` public static final OpenTypeWindowsLanguage ArabicYemen ``` The arabic Yemen language. ##### ArmenianArmenia ``` public static final OpenTypeWindowsLanguage ArmenianArmenia ``` The armenian Armenia language. ##### AssameseIndia ``` public static final OpenTypeWindowsLanguage AssameseIndia ``` The assamese India language. ##### AzeriCyrillicAzerbaijan ``` public static final OpenTypeWindowsLanguage AzeriCyrillicAzerbaijan ``` The azeri cyrillic Azerbaijan language. ##### AzeriLatinAzerbaijan ``` public static final OpenTypeWindowsLanguage AzeriLatinAzerbaijan ``` The azeri latin Azerbaijan language. ##### BashkirRussia ``` public static final OpenTypeWindowsLanguage BashkirRussia ``` The bashkir Russia language. ##### BasqueBasque ``` public static final OpenTypeWindowsLanguage BasqueBasque ``` The basque Basque language. ##### BelarusianBelarus ``` public static final OpenTypeWindowsLanguage BelarusianBelarus ``` The belarusian Belarus language. ##### BengaliBangladesh ``` public static final OpenTypeWindowsLanguage BengaliBangladesh ``` The bengali Bangladesh language. ##### BengaliIndia ``` public static final OpenTypeWindowsLanguage BengaliIndia ``` The bengali India language. ##### BosnianLatinBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage BosnianLatinBosniaAndHerzegovina ``` The bosnian latin Bosnia and Herzegovina language. ##### BretonFrance ``` public static final OpenTypeWindowsLanguage BretonFrance ``` The breton France language. ##### BulgarianBulgaria ``` public static final OpenTypeWindowsLanguage BulgarianBulgaria ``` The bulgarian Bulgaria language. ##### CatalanCatalan ``` public static final OpenTypeWindowsLanguage CatalanCatalan ``` The catalan Catalan language. ##### ChineseHongKongSar ``` public static final OpenTypeWindowsLanguage ChineseHongKongSar ``` The chinese Hong Kong SAR language. ##### ChineseMacaoSar ``` public static final OpenTypeWindowsLanguage ChineseMacaoSar ``` The chinese Macao SAR language. ##### ChinesePeoplesRepublicOfChina ``` public static final OpenTypeWindowsLanguage ChinesePeoplesRepublicOfChina ``` The chinese Peoples Republic of China language. ##### ChineseSingapore ``` public static final OpenTypeWindowsLanguage ChineseSingapore ``` The chinese Singapore language. ##### ChineseTaiwan ``` public static final OpenTypeWindowsLanguage ChineseTaiwan ``` The chinese Taiwan language. ##### CorsicanFrance ``` public static final OpenTypeWindowsLanguage CorsicanFrance ``` The corsican France language. ##### CroatianCroatia ``` public static final OpenTypeWindowsLanguage CroatianCroatia ``` The croatian Croatia language. ##### CroatianLatinBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage CroatianLatinBosniaAndHerzegovina ``` The croatian latin Bosnia and Herzegovina language. ##### CzechCzechRepublic ``` public static final OpenTypeWindowsLanguage CzechCzechRepublic ``` The czech Czech Republic language. ##### DanishDenmark ``` public static final OpenTypeWindowsLanguage DanishDenmark ``` The danish Denmark language. ##### DariAfghanistan ``` public static final OpenTypeWindowsLanguage DariAfghanistan ``` The dari Afghanistan language. ##### DivehiMaldives ``` public static final OpenTypeWindowsLanguage DivehiMaldives ``` The divehi Maldives language. ##### DutchBelgium ``` public static final OpenTypeWindowsLanguage DutchBelgium ``` The dutch Belgium language. ##### DutchNetherlands ``` public static final OpenTypeWindowsLanguage DutchNetherlands ``` The dutch Netherlands language. ##### EnglishAustralia ``` public static final OpenTypeWindowsLanguage EnglishAustralia ``` The english Australia language. ##### EnglishBelize ``` public static final OpenTypeWindowsLanguage EnglishBelize ``` The english Belize language. ##### EnglishCanada ``` public static final OpenTypeWindowsLanguage EnglishCanada ``` The english Canada language. ##### EnglishCaribbean ``` public static final OpenTypeWindowsLanguage EnglishCaribbean ``` The english Caribbean language. ##### EnglishIndia ``` public static final OpenTypeWindowsLanguage EnglishIndia ``` The english India language. ##### EnglishIreland ``` public static final OpenTypeWindowsLanguage EnglishIreland ``` The english Ireland language. ##### EnglishJamaica ``` public static final OpenTypeWindowsLanguage EnglishJamaica ``` The english Jamaica language. ##### EnglishMalaysia ``` public static final OpenTypeWindowsLanguage EnglishMalaysia ``` The english Malaysia language. ##### EnglishNewZealand ``` public static final OpenTypeWindowsLanguage EnglishNewZealand ``` The english New Zealand language. ##### EnglishRepublicOfThePhilippines ``` public static final OpenTypeWindowsLanguage EnglishRepublicOfThePhilippines ``` The english Republic of the Philippines language. ##### EnglishSingapore ``` public static final OpenTypeWindowsLanguage EnglishSingapore ``` The english Singapore language. ##### EnglishSouthAfrica ``` public static final OpenTypeWindowsLanguage EnglishSouthAfrica ``` The english south africa language. ##### EnglishTrinidadAndTobago ``` public static final OpenTypeWindowsLanguage EnglishTrinidadAndTobago ``` The english Trinidad and Tobago language. ##### EnglishUnitedKingdom ``` public static final OpenTypeWindowsLanguage EnglishUnitedKingdom ``` The english United Kingdom language. ##### EnglishUnitedStates ``` public static final OpenTypeWindowsLanguage EnglishUnitedStates ``` The english United States language. ##### EnglishZimbabwe ``` public static final OpenTypeWindowsLanguage EnglishZimbabwe ``` The english Zimbabwe language. ##### EstonianEstonia ``` public static final OpenTypeWindowsLanguage EstonianEstonia ``` The estonian Estonia language. ##### FaroeseFaroeIslands ``` public static final OpenTypeWindowsLanguage FaroeseFaroeIslands ``` The faroese Faroe Islands language. ##### FilipinoPhilippines ``` public static final OpenTypeWindowsLanguage FilipinoPhilippines ``` The filipino Philippines language. ##### FinnishFinland ``` public static final OpenTypeWindowsLanguage FinnishFinland ``` The finnish Finland language. ##### FrenchBelgium ``` public static final OpenTypeWindowsLanguage FrenchBelgium ``` The french Belgium language. ##### FrenchCanada ``` public static final OpenTypeWindowsLanguage FrenchCanada ``` The french Canada language. ##### FrenchFrance ``` public static final OpenTypeWindowsLanguage FrenchFrance ``` The french France language. ##### FrenchLuxembourg ``` public static final OpenTypeWindowsLanguage FrenchLuxembourg ``` The french Luxembourg language. ##### FrenchPrincipalityOfMonaco ``` public static final OpenTypeWindowsLanguage FrenchPrincipalityOfMonaco ``` The french Principality of Monaco language. ##### FrenchSwitzerland ``` public static final OpenTypeWindowsLanguage FrenchSwitzerland ``` The french Switzerland language. ##### FrisianNetherlands ``` public static final OpenTypeWindowsLanguage FrisianNetherlands ``` The frisian Netherlands language. ##### GalicianGalician ``` public static final OpenTypeWindowsLanguage GalicianGalician ``` The galician Galician language. ##### GeorgianGeorgia ``` public static final OpenTypeWindowsLanguage GeorgianGeorgia ``` The georgian Georgia language. ##### GermanAustria ``` public static final OpenTypeWindowsLanguage GermanAustria ``` The german Austria language. ##### GermanGermany ``` public static final OpenTypeWindowsLanguage GermanGermany ``` The german Germany language. ##### GermanLiechtenstein ``` public static final OpenTypeWindowsLanguage GermanLiechtenstein ``` The german Liechtenstein language. ##### GermanLuxembourg ``` public static final OpenTypeWindowsLanguage GermanLuxembourg ``` The german Luxembourg language. ##### GermanSwitzerland ``` public static final OpenTypeWindowsLanguage GermanSwitzerland ``` The german Switzerland language. ##### GreekGreece ``` public static final OpenTypeWindowsLanguage GreekGreece ``` The greek Greece language. ##### GreenlandicGreenland ``` public static final OpenTypeWindowsLanguage GreenlandicGreenland ``` The greenlandic Greenland language. ##### GujaratiIndia ``` public static final OpenTypeWindowsLanguage GujaratiIndia ``` The gujarati India language. ##### HausaLatinNigeria ``` public static final OpenTypeWindowsLanguage HausaLatinNigeria ``` The hausa latin Nigeria language. ##### HebrewIsrael ``` public static final OpenTypeWindowsLanguage HebrewIsrael ``` The hebrew Israel language. ##### HindiIndia ``` public static final OpenTypeWindowsLanguage HindiIndia ``` The hindi India language. ##### HungarianHungary ``` public static final OpenTypeWindowsLanguage HungarianHungary ``` The hungarian Hungary language. ##### IcelandicIceland ``` public static final OpenTypeWindowsLanguage IcelandicIceland ``` The icelandic Iceland language. ##### IgboNigeria ``` public static final OpenTypeWindowsLanguage IgboNigeria ``` The igbo Nigeria language. ##### IndonesianIndonesia ``` public static final OpenTypeWindowsLanguage IndonesianIndonesia ``` The indonesian Indonesia language. ##### InuktitutCanada ``` public static final OpenTypeWindowsLanguage InuktitutCanada ``` The inuktitut Canada language. ##### InuktitutLatinCanada ``` public static final OpenTypeWindowsLanguage InuktitutLatinCanada ``` The inuktitut latin Canada language. ##### IrishIreland ``` public static final OpenTypeWindowsLanguage IrishIreland ``` The irish Ireland language. ##### IsiXhosaSouthAfrica ``` public static final OpenTypeWindowsLanguage IsiXhosaSouthAfrica ``` The isi xhosa South Africa language. ##### IsiZuluSouthAfrica ``` public static final OpenTypeWindowsLanguage IsiZuluSouthAfrica ``` The isi zulu South Africa language. ##### ItalianItaly ``` public static final OpenTypeWindowsLanguage ItalianItaly ``` The italian Italy language. ##### ItalianSwitzerland ``` public static final OpenTypeWindowsLanguage ItalianSwitzerland ``` The italian Switzerland language. ##### JapaneseJapan ``` public static final OpenTypeWindowsLanguage JapaneseJapan ``` The japanese Japan language. ##### KannadaIndia ``` public static final OpenTypeWindowsLanguage KannadaIndia ``` The kannada India language. ##### KazakhKazakhstan ``` public static final OpenTypeWindowsLanguage KazakhKazakhstan ``` The kazakh Kazakhstan language. ##### KhmerCambodia ``` public static final OpenTypeWindowsLanguage KhmerCambodia ``` The khmer Cambodia language. ##### KicheGuatemala ``` public static final OpenTypeWindowsLanguage KicheGuatemala ``` The kiche Guatemala language. ##### KinyarwandaRwanda ``` public static final OpenTypeWindowsLanguage KinyarwandaRwanda ``` The kinyarwanda Rwanda language. ##### KiswahiliKenya ``` public static final OpenTypeWindowsLanguage KiswahiliKenya ``` The kiswahili Kenya language. ##### KonkaniIndia ``` public static final OpenTypeWindowsLanguage KonkaniIndia ``` The konkani India language. ##### KoreanKorea ``` public static final OpenTypeWindowsLanguage KoreanKorea ``` The korean Korea language. ##### KyrgyzKyrgyzstan ``` public static final OpenTypeWindowsLanguage KyrgyzKyrgyzstan ``` The kyrgyz Kyrgyzstan language. ##### LaoLaoPdr ``` public static final OpenTypeWindowsLanguage LaoLaoPdr ``` The lao lao PDR language. ##### LatvianLatvia ``` public static final OpenTypeWindowsLanguage LatvianLatvia ``` The latvian Latvia language. ##### LithuanianLithuania ``` public static final OpenTypeWindowsLanguage LithuanianLithuania ``` The lithuanian Lithuania language. ##### LowerSorbianGermany ``` public static final OpenTypeWindowsLanguage LowerSorbianGermany ``` The lower sorbian Germany language. ##### LuxembourgishLuxembourg ``` public static final OpenTypeWindowsLanguage LuxembourgishLuxembourg ``` The luxembourgish Luxembourg language. ##### MacedonianFyromFormerYugoslavRepublicOfMacedonia ``` public static final OpenTypeWindowsLanguage MacedonianFyromFormerYugoslavRepublicOfMacedonia ``` The macedonian fyrom former Yugoslav Republic of Macedonia language. ##### MalayBruneiDarussalam ``` public static final OpenTypeWindowsLanguage MalayBruneiDarussalam ``` The malay brunei Darussalam language. ##### MalayMalaysia ``` public static final OpenTypeWindowsLanguage MalayMalaysia ``` The malay Malaysia language. ##### MalayalamIndia ``` public static final OpenTypeWindowsLanguage MalayalamIndia ``` The malayalam India language. ##### MalteseMalta ``` public static final OpenTypeWindowsLanguage MalteseMalta ``` The maltese Malta language. ##### MaoriNewZealand ``` public static final OpenTypeWindowsLanguage MaoriNewZealand ``` The maori New Zealand language. ##### MapudungunChile ``` public static final OpenTypeWindowsLanguage MapudungunChile ``` The mapudungun Chile language. ##### MarathiIndia ``` public static final OpenTypeWindowsLanguage MarathiIndia ``` The marathi India language. ##### MohawkMohawk ``` public static final OpenTypeWindowsLanguage MohawkMohawk ``` The mohawk Mohawk language. ##### MongolianCyrillicMongolia ``` public static final OpenTypeWindowsLanguage MongolianCyrillicMongolia ``` The mongolian cyrillic Mongolia language. ##### MongolianTraditionalPeoplesRepublicOfChina ``` public static final OpenTypeWindowsLanguage MongolianTraditionalPeoplesRepublicOfChina ``` The mongolian traditional Peoples Republic of China language. ##### NepaliNepal ``` public static final OpenTypeWindowsLanguage NepaliNepal ``` The nepali Nepal language. ##### NorwegianBokmalNorway ``` public static final OpenTypeWindowsLanguage NorwegianBokmalNorway ``` The norwegian bokmal Norway language. ##### NorwegianNynorskNorway ``` public static final OpenTypeWindowsLanguage NorwegianNynorskNorway ``` The norwegian nynorsk Norway language. ##### OccitanFrance ``` public static final OpenTypeWindowsLanguage OccitanFrance ``` The occitan France language. ##### OdiaFormerlyOriyaIndia ``` public static final OpenTypeWindowsLanguage OdiaFormerlyOriyaIndia ``` The odia formerly oriya India language. ##### PashtoAfghanistan ``` public static final OpenTypeWindowsLanguage PashtoAfghanistan ``` The pashto Afghanistan language. ##### PolishPoland ``` public static final OpenTypeWindowsLanguage PolishPoland ``` The polish Poland language. ##### PortugueseBrazil ``` public static final OpenTypeWindowsLanguage PortugueseBrazil ``` The portuguese Brazil language. ##### PortuguesePortugal ``` public static final OpenTypeWindowsLanguage PortuguesePortugal ``` The portuguese Portugal language. ##### PunjabiIndia ``` public static final OpenTypeWindowsLanguage PunjabiIndia ``` The punjabi India language. ##### QuechuaBolivia ``` public static final OpenTypeWindowsLanguage QuechuaBolivia ``` The quechua Bolivia language. ##### QuechuaEcuador ``` public static final OpenTypeWindowsLanguage QuechuaEcuador ``` The quechua Ecuador language. ##### QuechuaPeru ``` public static final OpenTypeWindowsLanguage QuechuaPeru ``` The quechua Peru language. ##### RomanianRomania ``` public static final OpenTypeWindowsLanguage RomanianRomania ``` The romanian Romania language. ##### RomanshSwitzerland ``` public static final OpenTypeWindowsLanguage RomanshSwitzerland ``` The romansh Switzerland language. ##### RussianRussia ``` public static final OpenTypeWindowsLanguage RussianRussia ``` The russian Russia language. ##### SamiInariFinland ``` public static final OpenTypeWindowsLanguage SamiInariFinland ``` The sami inari Finland language. ##### SamiLuleNorway ``` public static final OpenTypeWindowsLanguage SamiLuleNorway ``` The sami lule Norway language. ##### SamiLuleSweden ``` public static final OpenTypeWindowsLanguage SamiLuleSweden ``` The sami lule Sweden language. ##### SamiNorthernFinland ``` public static final OpenTypeWindowsLanguage SamiNorthernFinland ``` The sami northern Finland language. ##### SamiNorthernNorway ``` public static final OpenTypeWindowsLanguage SamiNorthernNorway ``` The sami northern Norway language. ##### SamiNorthernSweden ``` public static final OpenTypeWindowsLanguage SamiNorthernSweden ``` The sami northern Sweden language. ##### SamiSkoltFinland ``` public static final OpenTypeWindowsLanguage SamiSkoltFinland ``` The sami skolt Finland language. ##### SamiSouthernNorway ``` public static final OpenTypeWindowsLanguage SamiSouthernNorway ``` The sami southern Norway language. ##### SamiSouthernSweden ``` public static final OpenTypeWindowsLanguage SamiSouthernSweden ``` The sami southern Sweden language. ##### SanskritIndia ``` public static final OpenTypeWindowsLanguage SanskritIndia ``` The sanskrit India language. ##### SerbianCyrillicBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage SerbianCyrillicBosniaAndHerzegovina ``` The serbian cyrillic Bosnia and Herzegovina language. ##### SerbianCyrillicSerbia ``` public static final OpenTypeWindowsLanguage SerbianCyrillicSerbia ``` The serbian cyrillic Serbia language. ##### SerbianLatinBosniaAndHerzegovina ``` public static final OpenTypeWindowsLanguage SerbianLatinBosniaAndHerzegovina ``` The serbian latin Bosnia and Herzegovina language. ##### SerbianLatinSerbia ``` public static final OpenTypeWindowsLanguage SerbianLatinSerbia ``` The serbian latin Serbia language. ##### SesothoSaLeboaSouthAfrica ``` public static final OpenTypeWindowsLanguage SesothoSaLeboaSouthAfrica ``` The sesotho sa leboa South Africa language. ##### SetswanaSouthAfrica ``` public static final OpenTypeWindowsLanguage SetswanaSouthAfrica ``` The setswana South Africa language. ##### SinhalaSriLanka ``` public static final OpenTypeWindowsLanguage SinhalaSriLanka ``` The sinhala Sri Lanka language. ##### SlovakSlovakia ``` public static final OpenTypeWindowsLanguage SlovakSlovakia ``` The slovak Slovakia language. ##### SlovenianSlovenia ``` public static final OpenTypeWindowsLanguage SlovenianSlovenia ``` The slovenian Slovenia language. ##### SpanishArgentina ``` public static final OpenTypeWindowsLanguage SpanishArgentina ``` The spanish Argentina language. ##### SpanishBolivia ``` public static final OpenTypeWindowsLanguage SpanishBolivia ``` The spanish Bolivia language. ##### SpanishChile ``` public static final OpenTypeWindowsLanguage SpanishChile ``` The spanish Chile language. ##### SpanishColombia ``` public static final OpenTypeWindowsLanguage SpanishColombia ``` The spanish Colombia language. ##### SpanishCostaRica ``` public static final OpenTypeWindowsLanguage SpanishCostaRica ``` The spanish Costa Rica language. ##### SpanishDominicanRepublic ``` public static final OpenTypeWindowsLanguage SpanishDominicanRepublic ``` The spanish Dominican Republic language. ##### SpanishEcuador ``` public static final OpenTypeWindowsLanguage SpanishEcuador ``` The spanish Ecuador language. ##### SpanishElSalvador ``` public static final OpenTypeWindowsLanguage SpanishElSalvador ``` The spanish El Salvador language. ##### SpanishGuatemala ``` public static final OpenTypeWindowsLanguage SpanishGuatemala ``` The spanish Guatemala language. ##### SpanishHonduras ``` public static final OpenTypeWindowsLanguage SpanishHonduras ``` The spanish Honduras language. ##### SpanishMexico ``` public static final OpenTypeWindowsLanguage SpanishMexico ``` The spanish Mexico language. ##### SpanishNicaragua ``` public static final OpenTypeWindowsLanguage SpanishNicaragua ``` The spanish Nicaragua language. ##### SpanishPanama ``` public static final OpenTypeWindowsLanguage SpanishPanama ``` The spanish Panama language. ##### SpanishParaguay ``` public static final OpenTypeWindowsLanguage SpanishParaguay ``` The spanish Paraguay language. ##### SpanishPeru ``` public static final OpenTypeWindowsLanguage SpanishPeru ``` The spanish Peru language. ##### SpanishPuertoRico ``` public static final OpenTypeWindowsLanguage SpanishPuertoRico ``` The spanish Puerto Rico language. ##### SpanishModernSortSpain ``` public static final OpenTypeWindowsLanguage SpanishModernSortSpain ``` The spanish modern sort Spain language. ##### SpanishTraditionalSortSpain ``` public static final OpenTypeWindowsLanguage SpanishTraditionalSortSpain ``` The spanish traditional sort Spain language. ##### SpanishUnitedStates ``` public static final OpenTypeWindowsLanguage SpanishUnitedStates ``` The spanish United States language. ##### SpanishUruguay ``` public static final OpenTypeWindowsLanguage SpanishUruguay ``` The spanish Uruguay language. ##### SpanishVenezuela ``` public static final OpenTypeWindowsLanguage SpanishVenezuela ``` The spanish Venezuela language. ##### SwedenFinland ``` public static final OpenTypeWindowsLanguage SwedenFinland ``` The sweden Finland language. ##### SwedishSweden ``` public static final OpenTypeWindowsLanguage SwedishSweden ``` The swedish Sweden language. ##### SyriacSyria ``` public static final OpenTypeWindowsLanguage SyriacSyria ``` The syriac Syria language. ##### TajikCyrillicTajikistan ``` public static final OpenTypeWindowsLanguage TajikCyrillicTajikistan ``` The tajik cyrillic tajikistan language. ##### TamazightLatinAlgeria ``` public static final OpenTypeWindowsLanguage TamazightLatinAlgeria ``` The tamazight latin Algeria language. ##### TamilIndia ``` public static final OpenTypeWindowsLanguage TamilIndia ``` The tamil India language. ##### TatarRussia ``` public static final OpenTypeWindowsLanguage TatarRussia ``` The tatar Russia language. ##### TeluguIndia ``` public static final OpenTypeWindowsLanguage TeluguIndia ``` The telugu India language. ##### ThaiThailand ``` public static final OpenTypeWindowsLanguage ThaiThailand ``` The thai Thailand language. ##### TibetanPrc ``` public static final OpenTypeWindowsLanguage TibetanPrc ``` The tibetan PRC language. ##### TurkishTurkey ``` public static final OpenTypeWindowsLanguage TurkishTurkey ``` The turkish Turkey language. ##### TurkmenTurkmenistan ``` public static final OpenTypeWindowsLanguage TurkmenTurkmenistan ``` The turkmen Turkmenistan language. ##### UighurPrc ``` public static final OpenTypeWindowsLanguage UighurPrc ``` The uighur PRC language. ##### UkrainianUkraine ``` public static final OpenTypeWindowsLanguage UkrainianUkraine ``` The ukrainian Ukraine language. ##### UpperSorbianGermany ``` public static final OpenTypeWindowsLanguage UpperSorbianGermany ``` The upper sorbian Germany language. ##### UrduIslamicRepublicOfPakistan ``` public static final OpenTypeWindowsLanguage UrduIslamicRepublicOfPakistan ``` The urdu Islamic Republic of Pakistan language. ##### UzbekCyrillicUzbekistan ``` public static final OpenTypeWindowsLanguage UzbekCyrillicUzbekistan ``` The uzbek cyrillic Uzbekistan language. ##### UzbekLatinUzbekistan ``` public static final OpenTypeWindowsLanguage UzbekLatinUzbekistan ``` The uzbek latin Uzbekistan language. ##### VietnameseVietnam ``` public static final OpenTypeWindowsLanguage VietnameseVietnam ``` The vietnamese Vietnam language. ##### WelshUnitedKingdom ``` public static final OpenTypeWindowsLanguage WelshUnitedKingdom ``` The welsh United Kingdom language. ##### WolofSenegal ``` public static final OpenTypeWindowsLanguage WolofSenegal ``` The wolof Senegal language. ##### YakutRussia ``` public static final OpenTypeWindowsLanguage YakutRussia ``` The yakut Russia language. ##### YiPrc ``` public static final OpenTypeWindowsLanguage YiPrc ``` The yi PRC language. ##### YorubaNigeria ``` public static final OpenTypeWindowsLanguage YorubaNigeria ``` The yoruba Nigeria language. ##### values() ``` public static OpenTypeWindowsLanguage[] values() ``` **Returns:** com.groupdocs.metadata.core.OpenTypeWindowsLanguage[] ##### valueOf(String name) ``` public static OpenTypeWindowsLanguage valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** OpenTypeWindowsLanguage ##### getByRawValue(int rawValue) ``` public static OpenTypeWindowsLanguage getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** OpenTypeWindowsLanguage ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### OpenTypeWindowsNameRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/opentypewindowsnamerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.OpenTypeBaseNameRecord ``` public class OpenTypeWindowsNameRecord extends OpenTypeBaseNameRecord ``` Represents the Name record table value for OpenTypePlatform.Windows platform. [Working with OpenType fonts]: https://docs.groupdocs.com/display/metadatajava/Working+with+OpenType+fonts #### Methods | Method | Description | | --- | --- | | getEncoding() | Gets the encoding identifier. | | getLanguage() | Gets the language identifier. | ##### getEncoding() ``` public final OpenTypeWindowsEncoding getEncoding() ``` Gets the encoding identifier. **Returns:** OpenTypeWindowsEncoding - The encoding identifier. ##### getLanguage() ``` public final OpenTypeWindowsLanguage getLanguage() ``` Gets the language identifier. **Returns:** OpenTypeWindowsLanguage - The language identifier. ### PageInfo Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pageinfo.md **Inheritance:** java.lang.Object ``` public class PageInfo ``` Provides common information about a document page (slide, worksheet, etc). [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width of the page in document default units. | | getHeight() | Gets the height of the page in document default units. | | getPageNumber() | Gets the number of the page. | ##### getWidth() ``` public final int getWidth() ``` Gets the width of the page in document default units. **Returns:** int - The width of the page in document default units. ##### getHeight() ``` public final int getHeight() ``` Gets the height of the page in document default units. **Returns:** int - The height of the page in document default units. ##### getPageNumber() ``` public final int getPageNumber() ``` Gets the number of the page. **Returns:** int - The number of the page. ### PanasonicMakerNotePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/panasonicmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public class PanasonicMakerNotePackage extends MakerNotePackage ``` Represents PANASONIC MakerNote metadata. #### Methods | Method | Description | | --- | --- | | getImageQuality() | Gets the image quality. | | getFirmwareVersion() | Gets the firmware version. | | getWhiteBalance() | Gets the white balance. | | getFocusMode() | Gets the focus mode. | | getAFMode() | Gets the AF mode. | | getImageStabilization() | Gets the image stabilization mode. | | getMacroMode() | Gets the macro mode. | | getShootingMode() | Gets the shooting mode. | | getAudio() | Gets the audio mode. | | getLensType() | Gets the type of the lens. | | getLensSerialNumber() | Gets the lens serial number. | | getAccessoryType() | Gets the type of the accessory. | | getAccessorySerialNumber() | Gets the accessory serial number. | ##### getImageQuality() ``` public final Integer getImageQuality() ``` Gets the image quality. **Returns:** java.lang.Integer - The image quality. ##### getFirmwareVersion() ``` public final byte[] getFirmwareVersion() ``` Gets the firmware version. **Returns:** byte[] - The firmware version. ##### getWhiteBalance() ``` public final Integer getWhiteBalance() ``` Gets the white balance. **Returns:** java.lang.Integer - The white balance. ##### getFocusMode() ``` public final Integer getFocusMode() ``` Gets the focus mode. **Returns:** java.lang.Integer - The focus mode. ##### getAFMode() ``` public final byte[] getAFMode() ``` Gets the AF mode. **Returns:** byte[] - The AF mode. ##### getImageStabilization() ``` public final Integer getImageStabilization() ``` Gets the image stabilization mode. **Returns:** java.lang.Integer - The image stabilization mode. ##### getMacroMode() ``` public final Integer getMacroMode() ``` Gets the macro mode. **Returns:** java.lang.Integer - The macro mode. ##### getShootingMode() ``` public final Integer getShootingMode() ``` Gets the shooting mode. **Returns:** java.lang.Integer - The shooting mode. ##### getAudio() ``` public final Integer getAudio() ``` Gets the audio mode. **Returns:** java.lang.Integer - The audio mode. ##### getLensType() ``` public final String getLensType() ``` Gets the type of the lens. **Returns:** java.lang.String - The type of the lens. ##### getLensSerialNumber() ``` public final String getLensSerialNumber() ``` Gets the lens serial number. **Returns:** java.lang.String - The lens serial number. ##### getAccessoryType() ``` public final String getAccessoryType() ``` Gets the type of the accessory. **Returns:** java.lang.String - The type of the accessory. ##### getAccessorySerialNumber() ``` public final String getAccessorySerialNumber() ``` Gets the accessory serial number. **Returns:** java.lang.String - The accessory serial number. ### PdfAnnotation Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdfannotation.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfAnnotation extends CustomPackage ``` Represents an annotation in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getText() | Gets the annotation text. | | getName() | Gets the name of the annotation. | | getPageNumber() | Gets the number of the page containing the annotation. | ##### getText() ``` public final String getText() ``` Gets the annotation text. **Returns:** java.lang.String - The annotation text. ##### getName() ``` public final String getName() ``` Gets the name of the annotation. **Returns:** java.lang.String - The name of the annotation. ##### getPageNumber() ``` public final int getPageNumber() ``` Gets the number of the page containing the annotation. **Returns:** int - The number of the page containing the annotation. ### PdfAttachment Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdfattachment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfAttachment extends CustomPackage ``` Represents an attachment in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getName() | Gets the attachment name. | | getDescription() | Gets the attachment description. | | getMimeType() | Gets the MIME type of the attachment. | ##### getName() ``` public final String getName() ``` Gets the attachment name. **Returns:** java.lang.String - The attachment name. ##### getDescription() ``` public final String getDescription() ``` Gets the attachment description. **Returns:** java.lang.String - The attachment description. ##### getMimeType() ``` public final String getMimeType() ``` Gets the MIME type of the attachment. **Returns:** java.lang.String - The MIME type of the attachment. ### PdfBookmark Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdfbookmark.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfBookmark extends CustomPackage ``` Represents a bookmark in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getTitle() | Gets the title of the bookmark. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the bookmark. **Returns:** java.lang.String - The title of the bookmark. ### PdfFormField Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdfformfield.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PdfFormField extends CustomPackage ``` Represents a form field in a PDF document. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getName() | Gets the name of the field. | | getValue() | Gets the field value. | ##### getName() ``` public final String getName() ``` Gets the name of the field. **Returns:** java.lang.String - The name of the field. ##### getValue() ``` public final String getValue() ``` Gets the field value. **Returns:** java.lang.String - The field value. ### PdfInspectionPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdfinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PdfInspectionPackage extends CustomPackage ``` Contains information about PDF document parts that can be considered as metadata in some cases. [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getAnnotations() | Gets an array of the annotations. | | getAttachments() | Gets an array of the attachments. | | getBookmarks() | Gets an array of the bookmarks. | | getFields() | Gets an array of the form fields. | | getDigitalSignatures() | Gets an array of the digital signatures. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | sanitize() | Removes writable metadata properties from the package. | | clearAnnotations() | Removes all detected annotations from the document. | | clearAttachments() | Removes all detected attachments from the document. | | clearBookmarks() | Removes all detected bookmarks from the document. | | clearFields() | Removes all detected form fields from the document. | | clearDigitalSignatures() | Removes all detected digital signatures from the document. | ##### getAnnotations() ``` public final PdfAnnotation[] getAnnotations() ``` Gets an array of the annotations. **Returns:** com.groupdocs.metadata.core.PdfAnnotation[] - An array of the annotations. ##### getAttachments() ``` public final PdfAttachment[] getAttachments() ``` Gets an array of the attachments. **Returns:** com.groupdocs.metadata.core.PdfAttachment[] - An array of the attachments. ##### getBookmarks() ``` public final PdfBookmark[] getBookmarks() ``` Gets an array of the bookmarks. **Returns:** com.groupdocs.metadata.core.PdfBookmark[] - An array of the bookmarks. ##### getFields() ``` public final PdfFormField[] getFields() ``` Gets an array of the form fields. **Returns:** com.groupdocs.metadata.core.PdfFormField[] - An array of the form fields. ##### getDigitalSignatures() ``` public final DigitalSignature[] getDigitalSignatures() ``` Gets an array of the digital signatures. **Returns:** com.groupdocs.metadata.core.DigitalSignature[] - An array of the digital signatures. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ##### clearAnnotations() ``` public final void clearAnnotations() ``` Removes all detected annotations from the document. ##### clearAttachments() ``` public final void clearAttachments() ``` Removes all detected attachments from the document. ##### clearBookmarks() ``` public final void clearBookmarks() ``` Removes all detected bookmarks from the document. ##### clearFields() ``` public final void clearFields() ``` Removes all detected form fields from the document. ##### clearDigitalSignatures() ``` public final void clearDigitalSignatures() ``` Removes all detected digital signatures from the document. ### PdfPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdfpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class PdfPackage extends DocumentPackage ``` Represents native metadata in a PDF document. This code snippet demonstrates how to update built-in metadata properties in a PDF document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > PdfRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedDate(new Date()); > root.getDocumentProperties().setTitle("test title"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputPdf); > } > > ``` > ``` [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the document author. | | setAuthor(String value) | Sets the document author. | | getCreatedDate() | Gets the date of document creation. | | setCreatedDate(Date value) | Sets the date of document creation. | | getCreator() | Gets the creator of the document. | | setCreator(String value) | Gets the creator of the document. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getModifiedDate() | Gets the date of the last modification. | | setModifiedDate(Date value) | Sets the date of the last modification. | | getProducer() | Gets the document producer. | | setProducer(String value) | Gets the document producer. | | getSubject() | Gets the subject of the document. | | setSubject(String value) | Sets the subject of the document. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getTrappedFlag() | Gets the trapped flag. | | setTrappedFlag(Boolean value) | Sets the trapped flag. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document author. **Returns:** java.lang.String - The document author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The document author. | ##### getCreatedDate() ``` public final Date getCreatedDate() ``` Gets the date of document creation. **Returns:** java.util.Date - The date of document creation. ##### setCreatedDate(Date value) ``` public final void setCreatedDate(Date value) ``` Sets the date of document creation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date of document creation. | ##### getCreator() ``` public final String getCreator() ``` Gets the creator of the document. **Returns:** java.lang.String - The creator of the document. ##### setCreator(String value) ``` public final void setCreator(String value) ``` Gets the creator of the document. Value: The creator of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getModifiedDate() ``` public final Date getModifiedDate() ``` Gets the date of the last modification. **Returns:** java.util.Date - The date of the last modification. ##### setModifiedDate(Date value) ``` public final void setModifiedDate(Date value) ``` Sets the date of the last modification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date of the last modification. | ##### getProducer() ``` public final String getProducer() ``` Gets the document producer. **Returns:** java.lang.String - The document producer. ##### setProducer(String value) ``` public final void setProducer(String value) ``` Gets the document producer. Value: The document producer. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | | ##### getSubject() ``` public final String getSubject() ``` Gets the subject of the document. **Returns:** java.lang.String - The subject of the document. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject of the document. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title of the document. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title of the document. | ##### getTrappedFlag() ``` public final Boolean getTrappedFlag() ``` Gets the trapped flag. **Returns:** java.lang.Boolean - true if the trapped flag is set; otherwise, false . ##### setTrappedFlag(Boolean value) ``` public final void setTrappedFlag(Boolean value) ``` Sets the trapped flag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the trapped flag is set; otherwise, false . | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ### PdfRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class PdfRootPackage extends DocumentRootPackage implements IXmp ``` Represents the root package allowing working with metadata in a PDF document. This code sample shows how to extract built-in metadata properties from a PDF document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > PdfRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedDate()); > System.out.println(root.getDocumentProperties().getSubject()); > System.out.println(root.getDocumentProperties().getProducer()); > System.out.println(root.getDocumentProperties().getKeywords()); > // ... > } > > ``` > ``` [Working with metadata in PDF documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PDF+documents [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getPdfType() | Gets the file type metadata package. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | ##### getPdfType() ``` public final PdfTypePackage getPdfType() ``` Gets the file type metadata package. **Returns:** PdfTypePackage - The file type metadata package. ##### getInspectionPackage() ``` public final PdfInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** PdfInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ### PdfTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pdftypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class PdfTypePackage extends FileTypePackage ``` Represents a metadata package containing PDF-specific file format information. #### Methods | Method | Description | | --- | --- | | getVersion() | Gets the version of the format. | ##### getVersion() ``` public final String getVersion() ``` Gets the version of the format. **Returns:** java.lang.String - The version of the format. ### PngCompressedTextChunk Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pngcompressedtextchunk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.PngTextChunk ``` public class PngCompressedTextChunk extends PngTextChunk ``` Represents compressed textual data extracted from a PNG image. #### Methods | Method | Description | | --- | --- | | getCompressionMethod() | Gets the algorithm used to compress the chunk data. | ##### getCompressionMethod() ``` public final PngCompressionMethod getCompressionMethod() ``` Gets the algorithm used to compress the chunk data. **Returns:** PngCompressionMethod - The algorithm used to compress the chunk data. ### PngCompressionMethod Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pngcompressionmethod.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PngCompressionMethod extends Enum implements IEnumValue ``` Defines compression methods used in the PNG format. #### Fields | Field | Description | | --- | --- | | Deflate | Represents the deflate/inflate compression with a sliding window. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Deflate ``` public static final PngCompressionMethod Deflate ``` Represents the deflate/inflate compression with a sliding window. ##### values() ``` public static PngCompressionMethod[] values() ``` **Returns:** com.groupdocs.metadata.core.PngCompressionMethod[] ##### valueOf(String name) ``` public static PngCompressionMethod valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PngCompressionMethod ##### getByRawValue(int rawValue) ``` public static PngCompressionMethod getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PngCompressionMethod ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PngInternationalTextChunk Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pnginternationaltextchunk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.PngTextChunk, com.groupdocs.metadata.core.PngCompressedTextChunk ``` public class PngInternationalTextChunk extends PngCompressedTextChunk ``` Represents international textual data extracted from a PNG image. #### Methods | Method | Description | | --- | --- | | isCompressed() | Gets a value indicating whether the chunk is compressed. | | getLanguage() | Gets the human language used by the translated keyword and the text. | | getTranslatedKeyword() | Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. | ##### isCompressed() ``` public final boolean isCompressed() ``` Gets a value indicating whether the chunk is compressed. **Returns:** boolean - True, if the chunk is compressed; otherwise, false. ##### getLanguage() ``` public final String getLanguage() ``` Gets the human language used by the translated keyword and the text. **Returns:** java.lang.String - The human language used by the translated keyword and the text. ##### getTranslatedKeyword() ``` public final String getTranslatedKeyword() ``` Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. **Returns:** java.lang.String - The translated keyword that contains a translation of the keyword into the language indicated by the language property. ### PngPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pngpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PngPackage extends CustomPackage ``` Represents native PNG metadata. #### Methods | Method | Description | | --- | --- | | getTextChunks() | Gets the collection of text chunks extracted from the image. | ##### getTextChunks() ``` public final PngTextChunk[] getTextChunks() ``` Gets the collection of text chunks extracted from the image. **Returns:** com.groupdocs.metadata.core.PngTextChunk[] - The collection of text chunks extracted from the image. ### PngRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pngrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class PngRootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package intended to work with metadata in a PNG image. [Working with metadata in PNG images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PNG+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getPngPackage() | Gets the PNG native metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getPngPackage() ``` public final PngPackage getPngPackage() ``` Gets the PNG native metadata package. **Returns:** PngPackage - The PNG native metadata package. ### PngTextChunk Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/pngtextchunk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class PngTextChunk extends CustomPackage ``` Represents textual data extracted from a PNG image. #### Methods | Method | Description | | --- | --- | | getKeyword() | Gets the keyword that indicates the type of information represented by the chunk. | | getText() | Gets the actual text string represented by the chunk. | ##### getKeyword() ``` public final String getKeyword() ``` Gets the keyword that indicates the type of information represented by the chunk. **Returns:** java.lang.String - The keyword that indicates the type of information represented by the chunk. ##### getText() ``` public final String getText() ``` Gets the actual text string represented by the chunk. **Returns:** java.lang.String - The actual text string represented by the chunk. ### PresentationComment Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/presentationcomment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PresentationComment extends CustomPackage ``` Represents a user comment in a presentation. [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the comment. | | getCreatedTime() | Gets the created time of the comment. | | getSlideNumber() | Gets the slide number the comment belongs to. | | getText() | Gets the text of the comment. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the comment. **Returns:** java.lang.String - The author of the comment. ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the created time of the comment. **Returns:** java.util.Date - The created time of the comment. ##### getSlideNumber() ``` public final int getSlideNumber() ``` Gets the slide number the comment belongs to. **Returns:** int - The slide number the comment belongs to. ##### getText() ``` public final String getText() ``` Gets the text of the comment. **Returns:** java.lang.String - The comment text. ### PresentationFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/presentationformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PresentationFormat extends Enum implements IEnumValue ``` Defines various presentation subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Ppt | Represents the .PPT PowerPoint format. | | Pptx | Represents the .PPTX PowerPoint format. | | Potm | Represents the .POTM PowerPoint format. | | Potx | Represents the .POTX PowerPoint format. | | Pptm | Represents the .PPTM PowerPoint format. | | Pps | Represents the .PPS PowerPoint format. | | Ppsx | Represents the .PPSX PowerPoint format. | | Ppsm | Represents the .PPSM PowerPoint format. | | Pot | Represents the .POT PowerPoint format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final PresentationFormat Unknown ``` The format is not recognized. ##### Ppt ``` public static final PresentationFormat Ppt ``` Represents the .PPT PowerPoint format. A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text, bulleted points, images, multimedia and other embedded OLE objects. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppt/ ##### Pptx ``` public static final PresentationFormat Pptx ``` Represents the .PPTX PowerPoint format. Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptx/ ##### Potm ``` public static final PresentationFormat Potm ``` Represents the .POTM PowerPoint format. Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potm/ ##### Potx ``` public static final PresentationFormat Potx ``` Represents the .POTX PowerPoint format. Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. This format was created to replace the POT file format that is based on the binary file format and is supported with PowerPoint 97-2003. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/potx/ ##### Pptm ``` public static final PresentationFormat Pptm ``` Represents the .PPTM PowerPoint format. Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can't execute macros though they can contain macros. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pptm/ ##### Pps ``` public static final PresentationFormat Pps ``` Represents the .PPS PowerPoint format. PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pps/ ##### Ppsx ``` public static final PresentationFormat Ppsx ``` Represents the .PPSX PowerPoint format. PPSX, Power Point Slide Show, files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. It is an update to the PPS file format that was supported by Microsoft PowerPoint 97-2003 versions. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsx/ ##### Ppsm ``` public static final PresentationFormat Ppsm ``` Represents the .PPSM PowerPoint format. Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Another similar file format is PPTM which differs in opening with Microsoft PowerPoint in editable format instead of running as Slide Show Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/ppsm/ ##### Pot ``` public static final PresentationFormat Pot ``` Represents the .POT PowerPoint format. Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Files created with these versions of Microsoft PowerPoint are in binary format as compared to those created in Office OpenXML file formats using the higher versions of PowerPoint. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/presentation/pot/ ##### values() ``` public static PresentationFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.PresentationFormat[] ##### valueOf(String name) ``` public static PresentationFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PresentationFormat ##### getByRawValue(int rawValue) ``` public static PresentationFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PresentationFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PresentationInspectionPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/presentationinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PresentationInspectionPackage extends CustomPackage ``` Contains information about presentation parts that can be considered as metadata in some cases. [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getHiddenSlides() | Gets an array of the hidden slides. | | getComments() | Gets an array of the comments. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | clearComments() | Removes all detected user comments from the presentation. | | clearHiddenSlides() | Removes all detected hidden slides from the presentation. | | sanitize() | Removes writable metadata properties from the package. | ##### getHiddenSlides() ``` public final PresentationSlide[] getHiddenSlides() ``` Gets an array of the hidden slides. **Returns:** com.groupdocs.metadata.core.PresentationSlide[] - The hidden slides. ##### getComments() ``` public final PresentationComment[] getComments() ``` Gets an array of the comments. **Returns:** com.groupdocs.metadata.core.PresentationComment[] - The comments. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### clearComments() ``` public final void clearComments() ``` Removes all detected user comments from the presentation. ##### clearHiddenSlides() ``` public final void clearHiddenSlides() ``` Removes all detected hidden slides from the presentation. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### PresentationPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/presentationpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class PresentationPackage extends DocumentPackage ``` Represents a native metadata package in a presentation. This example demonstrates how to update built-in metadata properties in a presentation. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPptx)) { > PresentationRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedTime(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputPptx); > } > > ``` > ``` [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getApplicationTemplate() | Gets the application template. | | setApplicationTemplate(String value) | Sets the application template. | | getAuthor() | Gets the document's author. | | setAuthor(String value) | Sets the document's author. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the comments. | | setComments(String value) | Sets the comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getContentStatus() | Gets the content status. | | setContentStatus(String value) | Sets the content status. | | getContentType() | Gets the content type. | | setContentType(String value) | Sets the content type. | | getCreatedTime() | Gets the document created date. | | setCreatedTime(Date value) | Sets the document created date. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getLastPrintedDate() | Gets the last printed date. | | setLastPrintedDate(Date value) | Sets the last printed date. | | getLastSavedTime() | Gets the date and time when the presentation was modified last time. | | getLastSavedBy() | Gets the name of the last author. | | setLastSavedBy(String value) | Sets the name of the last author. | | getManager() | Gets the manager. | | setManager(String value) | Sets the manager. | | getNameOfApplication() | Gets the name of the application created the document. | | getRevisionNumber() | Gets the revision number. | | setRevisionNumber(int value) | Sets the revision number. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getVersion() | Gets the application version. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getPresentationFormat() | Gets the presentation format. | | getSharedDoc() | Gets a value indicating whether the presentation is shared between multiple people. | | setSharedDoc(boolean value) | Sets a value indicating whether the presentation is shared between multiple people. | | getTotalEditingTime() | Gets the total editing time of the document. | | setTotalEditingTime(double value) | Sets the total editing time of the document. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | ##### getApplicationTemplate() ``` public final String getApplicationTemplate() ``` Gets the application template. **Returns:** java.lang.String - The application template. ##### setApplicationTemplate(String value) ``` public final void setApplicationTemplate(String value) ``` Sets the application template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The application template. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document's author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document's author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the comments. **Returns:** java.lang.String - The comments. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comments. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getContentStatus() ``` public final String getContentStatus() ``` Gets the content status. Can be updated in a PPTX document only. **Returns:** java.lang.String - The content status. Can be updated in a PPTX document only. Read-only for other supported formats. ##### setContentStatus(String value) ``` public final void setContentStatus(String value) ``` Sets the content status. Can be updated in a PPTX document only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content status. Can be updated in a PPTX document only. Read-only for other supported formats. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type. Can be updated in a PPTX document only. **Returns:** java.lang.String - The type of the content. Can be updated in a PPTX document only. Read-only for other supported formats. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type. Can be updated in a PPTX document only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the content. Can be updated in a PPTX document only. Read-only for other supported formats. | ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the document created date. **Returns:** java.util.Date - The document created date. ##### setCreatedTime(Date value) ``` public final void setCreatedTime(Date value) ``` Sets the document created date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The document created date. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getLastPrintedDate() ``` public final Date getLastPrintedDate() ``` Gets the last printed date. **Returns:** java.util.Date - The last printed date. ##### setLastPrintedDate(Date value) ``` public final void setLastPrintedDate(Date value) ``` Sets the last printed date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last printed date. | ##### getLastSavedTime() ``` public final Date getLastSavedTime() ``` Gets the date and time when the presentation was modified last time. **Returns:** java.util.Date - The last saved time. ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last author. **Returns:** java.lang.String - The last saved by. ##### setLastSavedBy(String value) ``` public final void setLastSavedBy(String value) ``` Sets the name of the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The last saved by. | ##### getManager() ``` public final String getManager() ``` Gets the manager. **Returns:** java.lang.String - The manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manager. | ##### getNameOfApplication() ``` public final String getNameOfApplication() ``` Gets the name of the application created the document. **Returns:** java.lang.String - The name of the application. ##### getRevisionNumber() ``` public final int getRevisionNumber() ``` Gets the revision number. **Returns:** int - The revision number. ##### setRevisionNumber(int value) ``` public final void setRevisionNumber(int value) ``` Sets the revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The revision number. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getVersion() ``` public final String getVersion() ``` Gets the application version. **Returns:** java.lang.String - The application version. ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. Read-only in old PPT. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. Read-only in old PPT. | ##### getPresentationFormat() ``` public final String getPresentationFormat() ``` Gets the presentation format. **Returns:** java.lang.String - The presentation format. ##### getSharedDoc() ``` public final boolean getSharedDoc() ``` Gets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. **Returns:** boolean - true if the presentation shared between multiple people; otherwise, false . Can be updated in a PPTX document only. Read-only for other formats like PPT, POT etc. ##### setSharedDoc(boolean value) ``` public final void setSharedDoc(boolean value) ``` Sets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | true if the presentation shared between multiple people; otherwise, false . Can be updated in a PPTX document only. Read-only for other formats like PPT, POT etc. | ##### getTotalEditingTime() ``` public final double getTotalEditingTime() ``` Gets the total editing time of the document. **Returns:** double - The total editing time of the document. ##### setTotalEditingTime(double value) ``` public final void setTotalEditingTime(double value) ``` Sets the total editing time of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The total editing time of the document. | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ### PresentationRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/presentationrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class PresentationRootPackage extends DocumentRootPackage ``` Represents the root package intended to work with metadata in a presentation. This example shows how to extract built-in metadata properties from a presentation. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputPpt)) { > PresentationRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedTime()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getLastPrintedDate()); > System.out.println(root.getDocumentProperties().getNameOfApplication()); > // ... > } > > ``` > ``` [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getPresentationType() | Gets the file type metadata package. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | ##### getPresentationType() ``` public final PresentationTypePackage getPresentationType() ``` Gets the file type metadata package. **Returns:** PresentationTypePackage - The file type metadata package. ##### getInspectionPackage() ``` public final PresentationInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** PresentationInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ### PresentationSlide Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/presentationslide.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PresentationSlide extends CustomPackage ``` Represents a slide in a presentation. [Working with metadata in Presentations]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Presentations #### Methods | Method | Description | | --- | --- | | getName() | Gets the slide name. | | getNumber() | Gets the slide number. | | getSlideId() | Gets the slide id. | ##### getName() ``` public final String getName() ``` Gets the slide name. **Returns:** java.lang.String - The slide name. ##### getNumber() ``` public final int getNumber() ``` Gets the slide number. **Returns:** int - The slide number. ##### getSlideId() ``` public final long getSlideId() ``` Gets the slide id. **Returns:** long - The slide identifier. ### PresentationTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/presentationtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class PresentationTypePackage extends FileTypePackage ``` Represents a metadata package containing presentation-specific file format information. #### Methods | Method | Description | | --- | --- | | getPresentationFormat() | Gets the exact presentation format. | ##### getPresentationFormat() ``` public final PresentationFormat getPresentationFormat() ``` Gets the exact presentation format. **Returns:** PresentationFormat - The exact presentation format. ### ProjectManagementPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/projectmanagementpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public final class ProjectManagementPackage extends DocumentPackage ``` Represents a native metadata package in a project management file. This code sample demonstrates how to update built-in properties in a ProjectManagement document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMpp)) { > ProjectManagementRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreationDate(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setComments("test comment"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputMpp); > } > > ``` > ``` [Working with metadata in ProjectManagement formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+ProjectManagement+formats #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the project. | | setAuthor(String value) | Sets the author of the project. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the user comments. | | setComments(String value) | Sets the user comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getCreationDate() | Gets the creation date. | | setCreationDate(Date value) | Sets the creation date. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getLastAuthor() | Gets the last author. | | setLastAuthor(String value) | Sets the last author. | | getRevision() | Gets the revision number. | | setRevision(int value) | Sets the revision number. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTitle() | Gets the title. | | setTitle(String value) | Sets the title. | | getTemplate() | Gets the template. | | setTemplate(String value) | Sets the template. | | getManager() | Gets the project manager. | | setManager(String value) | Sets the project manager. | | getLastSaved() | Gets the date when the project was saved last time. | | setLastSaved(Date value) | Sets the date when the project was saved last time. | | getSaveVersion() | Gets the version of Microsoft Office Project from which a project file was saved. | | getLastPrinted() | Gets the project's last print time. | | setLastPrinted(Date value) | Sets the project's last print time. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the project. **Returns:** java.lang.String - The author of the project. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the author of the project. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author of the project. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the user comments. **Returns:** java.lang.String - The user comments. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the user comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user comments. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getCreationDate() ``` public final Date getCreationDate() ``` Gets the creation date. **Returns:** java.util.Date - The creation date. ##### setCreationDate(Date value) ``` public final void setCreationDate(Date value) ``` Sets the creation date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The creation date. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getLastAuthor() ``` public final String getLastAuthor() ``` Gets the last author. **Returns:** java.lang.String - The last author. ##### setLastAuthor(String value) ``` public final void setLastAuthor(String value) ``` Sets the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The last author. | ##### getRevision() ``` public final int getRevision() ``` Gets the revision number. **Returns:** int - The revision number. ##### setRevision(int value) ``` public final void setRevision(int value) ``` Sets the revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The revision number. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTitle() ``` public final String getTitle() ``` Gets the title. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getTemplate() ``` public final String getTemplate() ``` Gets the template. **Returns:** java.lang.String - The template. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets the template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The template. | ##### getManager() ``` public final String getManager() ``` Gets the project manager. **Returns:** java.lang.String - The project manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the project manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The project manager. | ##### getLastSaved() ``` public final Date getLastSaved() ``` Gets the date when the project was saved last time. **Returns:** java.util.Date - The date when the project was saved last time. ##### setLastSaved(Date value) ``` public final void setLastSaved(Date value) ``` Sets the date when the project was saved last time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date when the project was saved last time. | ##### getSaveVersion() ``` public final int getSaveVersion() ``` Gets the version of Microsoft Office Project from which a project file was saved. **Returns:** int - The version of Microsoft Office Project from which a project file was saved. ##### getLastPrinted() ``` public final Date getLastPrinted() ``` Gets the project's last print time. **Returns:** java.util.Date - The project's last print time. ##### setLastPrinted(Date value) ``` public final void setLastPrinted(Date value) ``` Sets the project's last print time. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The project's last print time. | ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ### ProjectManagementRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/projectmanagementrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class ProjectManagementRootPackage extends DocumentRootPackage ``` Represents the root package intended to work with metadata in a project management format. This code sample demonstrates how to extract built-in properties of a ProjectManagement document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputMpp)) { > ProjectManagementRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreationDate()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getRevision()); > System.out.println(root.getDocumentProperties().getSubject()); > // ... > } > > ``` > ``` [Working with metadata in ProjectManagement formats]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+ProjectManagement+formats ### PropertyAccessLevels Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/propertyaccesslevels.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class PropertyAccessLevels implements IEnumValue ``` Defines access levels for metadata properties. #### Fields | Field | Description | | --- | --- | | Read | The property is read-only. | | Update | It is possible to update the property using the MetadataPackage.UpdateProperties method. | | Remove | The property can be removed through the MetadataPackage.RemoveProperties method. | | Add | It is possible to update the property using the MetadataPackage.AddProperties method. | | Full | Grants full access to the property. | | AddOrUpdate | It is allowed to add and update the property. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### Read ``` public static final PropertyAccessLevels Read ``` The property is read-only. ##### Update ``` public static final PropertyAccessLevels Update ``` It is possible to update the property using the MetadataPackage.UpdateProperties method. ##### Remove ``` public static final PropertyAccessLevels Remove ``` The property can be removed through the MetadataPackage.RemoveProperties method. ##### Add ``` public static final PropertyAccessLevels Add ``` It is possible to update the property using the MetadataPackage.AddProperties method. ##### Full ``` public static final PropertyAccessLevels Full ``` Grants full access to the property. ##### AddOrUpdate ``` public static final PropertyAccessLevels AddOrUpdate ``` It is allowed to add and update the property. All other operations are restricted. ##### getByRawValue(int rawValue) ``` public static PropertyAccessLevels getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PropertyAccessLevels ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### PropertyDescriptor Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/propertydescriptor.md **Inheritance:** java.lang.Object ``` public class PropertyDescriptor ``` Represents a descriptor of a property that can be accessed through the GroupDocs.Metadata search engine. #### Methods | Method | Description | | --- | --- | | getName() | Gets the property name. | | getType() | Gets the property type. | | getAccessLevel() | Gets the property access level. | | getTags() | Gets a collection of tags associated with the property. | | getInterpreter() | Gets the property value interpreter. | ##### getName() ``` public final String getName() ``` Gets the property name. **Returns:** java.lang.String - The property name. ##### getType() ``` public final MetadataPropertyType getType() ``` Gets the property type. **Returns:** MetadataPropertyType - The property type. ##### getAccessLevel() ``` public PropertyAccessLevels getAccessLevel() ``` Gets the property access level. **Returns:** PropertyAccessLevels - The property access level. ##### getTags() ``` public final IReadOnlyList getTags() ``` Gets a collection of tags associated with the property. **Returns:** IReadOnlyList - A collection of tags associated with the property. ##### getInterpreter() ``` public final ValueInterpreter getInterpreter() ``` Gets the property value interpreter. **Returns:** ValueInterpreter - The property value interpreter. ### PropertyValue Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/propertyvalue.md **Inheritance:** java.lang.Object ``` public class PropertyValue ``` Represents a property value. #### Constructors | Constructor | Description | | --- | --- | | PropertyValue(int value) | Initializes a new instance of the PropertyValue class with an integer value. | | PropertyValue(long value) | Initializes a new instance of the PropertyValue class with a long value. | | PropertyValue(boolean value) | Initializes a new instance of the PropertyValue class with a boolean value. | | PropertyValue(double value) | Initializes a new instance of the PropertyValue class with a double value. | | PropertyValue(String value) | Initializes a new instance of the PropertyValue class with a string value. | | PropertyValue(Date value) | Initializes a new instance of the PropertyValue class with a DateTime value. | | PropertyValue(String[] values) | Initializes a new instance of the PropertyValue class with a string array. | | PropertyValue(byte[] values) | Initializes a new instance of the PropertyValue class with a byte array. | | PropertyValue(double[] values) | Initializes a new instance of the PropertyValue class with an array of double values. | | PropertyValue(int[] values) | Initializes a new instance of the PropertyValue class with an array of integer values. | | PropertyValue(long[] values) | Initializes a new instance of the PropertyValue class with an array of long values. | | PropertyValue(PropertyValue[] values) | Initializes a new instance of the PropertyValue class with an array of metadata property values. | | PropertyValue(PropertyValue value) | | | PropertyValue(UUID value) | | #### Methods | Method | Description | | --- | --- | | getType() | Gets the MetadataPropertyType . | | getRawValue() | Gets the raw value. | | getEmpty() | | | toArray(Class elementType) | Converts the property value to an array of the specified type. | | toClass(Class type) | Converts the property value to a reference type. | | toString() | Returns a string that represents the property value. | | acceptValue(ValueAcceptor valueAcceptor) | Extracts the property value using a custom ValueAcceptor. | ##### PropertyValue(int value) ``` public PropertyValue(int value) ``` Initializes a new instance of the PropertyValue class with an integer value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | An int value. | ##### PropertyValue(long value) ``` public PropertyValue(long value) ``` Initializes a new instance of the PropertyValue class with a long value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | A long value. | ##### PropertyValue(boolean value) ``` public PropertyValue(boolean value) ``` Initializes a new instance of the PropertyValue class with a boolean value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | A bool value. | ##### PropertyValue(double value) ``` public PropertyValue(double value) ``` Initializes a new instance of the PropertyValue class with a double value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | A double value. | ##### PropertyValue(String value) ``` public PropertyValue(String value) ``` Initializes a new instance of the PropertyValue class with a string value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A string value. | ##### PropertyValue(Date value) ``` public PropertyValue(Date value) ``` Initializes a new instance of the PropertyValue class with a DateTime value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | A DateTime value. | ##### PropertyValue(String[] values) ``` public PropertyValue(String[] values) ``` Initializes a new instance of the PropertyValue class with a string array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | java.lang.String[] | A string array. | ##### PropertyValue(byte[] values) ``` public PropertyValue(byte[] values) ``` Initializes a new instance of the PropertyValue class with a byte array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | byte[] | A byte array. | ##### PropertyValue(double[] values) ``` public PropertyValue(double[] values) ``` Initializes a new instance of the PropertyValue class with an array of double values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | double[] | An array of double values. | ##### PropertyValue(int[] values) ``` public PropertyValue(int[] values) ``` Initializes a new instance of the PropertyValue class with an array of integer values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | int[] | An array of integer values. | ##### PropertyValue(long[] values) ``` public PropertyValue(long[] values) ``` Initializes a new instance of the PropertyValue class with an array of long values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | long[] | An array of long values. | ##### PropertyValue(PropertyValue[] values) ``` public PropertyValue(PropertyValue[] values) ``` Initializes a new instance of the PropertyValue class with an array of metadata property values. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | values | PropertyValue\[\] | An array of metadata property values. | ##### PropertyValue(PropertyValue value) ``` public PropertyValue(PropertyValue value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PropertyValue | | ##### PropertyValue(UUID value) ``` public PropertyValue(UUID value) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.UUID | | ##### getType() ``` public final MetadataPropertyType getType() ``` Gets the MetadataPropertyType . **Returns:** MetadataPropertyType - The type of the property. ##### getRawValue() ``` public final Object getRawValue() ``` Gets the raw value. **Returns:** java.lang.Object - The raw value. ##### getEmpty() ``` public static PropertyValue getEmpty() ``` **Returns:** PropertyValue ##### toArray(Class elementType) ``` public final TElement[] toArray(Class elementType) ``` Converts the property value to an array of the specified type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | elementType | java.lang.Class | | **Returns:** TElement[] - The value represented as an array of the specified type or null if there is no such conversion. TElement : The type of an element. ##### toClass(Class type) ``` public final T toClass(Class type) ``` Converts the property value to a reference type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.Class | | **Returns:** T - The converted value or null if there is no such conversion. T : The exact type to convert to. ##### toString() ``` public String toString() ``` Returns a string that represents the property value. **Returns:** java.lang.String - A string that represents the property value. ##### acceptValue(ValueAcceptor valueAcceptor) ``` public void acceptValue(ValueAcceptor valueAcceptor) ``` Extracts the property value using a custom ValueAcceptor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | valueAcceptor | ValueAcceptor | An acceptor that extracts the value. | ### PsdColorMode Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/psdcolormode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PsdColorMode extends Enum implements IEnumValue ``` Represents the psd file format color mode. #### Fields | Field | Description | | --- | --- | | Bitmap | The bitmap color mode. | | Grayscale | The grayscale mode. | | Indexed | The indexed color mode. | | Rgb | The RGB color mode. | | Cmyk | The CMYK color mode. | | Multichannel | The multichannel color mode. | | Duotone | The duotone color mode. | | Lab | The LAB color mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Bitmap ``` public static final PsdColorMode Bitmap ``` The bitmap color mode. ##### Grayscale ``` public static final PsdColorMode Grayscale ``` The grayscale mode. ##### Indexed ``` public static final PsdColorMode Indexed ``` The indexed color mode. ##### Rgb ``` public static final PsdColorMode Rgb ``` The RGB color mode. ##### Cmyk ``` public static final PsdColorMode Cmyk ``` The CMYK color mode. ##### Multichannel ``` public static final PsdColorMode Multichannel ``` The multichannel color mode. ##### Duotone ``` public static final PsdColorMode Duotone ``` The duotone color mode. ##### Lab ``` public static final PsdColorMode Lab ``` The LAB color mode. ##### values() ``` public static PsdColorMode[] values() ``` **Returns:** com.groupdocs.metadata.core.PsdColorMode[] ##### valueOf(String name) ``` public static PsdColorMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PsdColorMode ##### getByRawValue(int rawValue) ``` public static PsdColorMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PsdColorMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PsdCompressionMethod Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/psdcompressionmethod.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum PsdCompressionMethod extends Enum implements IEnumValue ``` Defines the compression method used for image data. #### Fields | Field | Description | | --- | --- | | Raw | No compression. | | Rle | RLE compressed. | | ZipWithoutPrediction | ZIP without prediction. | | ZipWithPrediction | ZIP with prediction. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Raw ``` public static final PsdCompressionMethod Raw ``` No compression. The image data stored as raw bytes in RGBA planar order. That means that first all R data is written, then all G is written, then all B and finally all A data is written. ##### Rle ``` public static final PsdCompressionMethod Rle ``` RLE compressed. The image data starts with the byte counts for all the scan lines (rows \* channels), with each count stored as a two-byte value. The RLE compressed data follows, with each scan line compressed separately. The RLE compression is the same compression algorithm used by the Macintosh ROM routine PackBits and the TIFF standard. ##### ZipWithoutPrediction ``` public static final PsdCompressionMethod ZipWithoutPrediction ``` ZIP without prediction. ##### ZipWithPrediction ``` public static final PsdCompressionMethod ZipWithPrediction ``` ZIP with prediction. ##### values() ``` public static PsdCompressionMethod[] values() ``` **Returns:** com.groupdocs.metadata.core.PsdCompressionMethod[] ##### valueOf(String name) ``` public static PsdCompressionMethod valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PsdCompressionMethod ##### getByRawValue(int rawValue) ``` public static PsdCompressionMethod getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PsdCompressionMethod ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### PsdLayer Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/psdlayer.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PsdLayer extends CustomPackage ``` Represents a layer in a PSD file. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | getBitsPerPixel() | Gets the bits per pixel value. | | getChannelCount() | Gets the number of channels. | | getFlags() | Gets the layer flags. | | getLength() | Gets the overall layer length in bytes. | | getOpacity() | Gets the layer opacity. | | getTop() | Gets the top layer position. | | getLeft() | Gets the left layer position. | | getBottom() | Gets the bottom layer position. | | getRight() | Gets the right layer position. | | getHeight() | Gets the height. | | getWidth() | Gets the width. | | getName() | Gets the layer name. | ##### getBitsPerPixel() ``` public final int getBitsPerPixel() ``` Gets the bits per pixel value. **Returns:** int - The bits per pixel value. ##### getChannelCount() ``` public final int getChannelCount() ``` Gets the number of channels. **Returns:** int - The number of channels. ##### getFlags() ``` public final PsdLayerFlags getFlags() ``` Gets the layer flags. **Returns:** PsdLayerFlags - The flags. ##### getLength() ``` public final int getLength() ``` Gets the overall layer length in bytes. **Returns:** int - The overall layer length in bytes. ##### getOpacity() ``` public final byte getOpacity() ``` Gets the layer opacity. 0 = transparent, 255 = opaque. **Returns:** byte - The opacity. ##### getTop() ``` public final int getTop() ``` Gets the top layer position. **Returns:** int - The top layer position. ##### getLeft() ``` public final int getLeft() ``` Gets the left layer position. **Returns:** int - The left layer position. ##### getBottom() ``` public final int getBottom() ``` Gets the bottom layer position. **Returns:** int - The bottom layer position. ##### getRight() ``` public final int getRight() ``` Gets the right layer position. **Returns:** int - The right layer position. ##### getHeight() ``` public final int getHeight() ``` Gets the height. **Returns:** int - The height. ##### getWidth() ``` public final int getWidth() ``` Gets the width. **Returns:** int - The width. ##### getName() ``` public final String getName() ``` Gets the layer name. **Returns:** java.lang.String - The layer name. ### PsdLayerFlags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/psdlayerflags.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class PsdLayerFlags implements IEnumValue ``` The Photoshop layer flags. #### Fields | Field | Description | | --- | --- | | None | No flags are set. | | TransparencyProtected | The transparency protected flag. | | Visible | The visibility flag. | | Obsolete | The obsolete flag. | | HasUsefulInformation | Defines if bit 4 has useful information. | | PixelDataIrrelevantToAppearanceInDocument | The pixel data is irrelevant to appearance in a document. | | Undocumented | An undocumented flag. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### None ``` public static final PsdLayerFlags None ``` No flags are set. ##### TransparencyProtected ``` public static final PsdLayerFlags TransparencyProtected ``` The transparency protected flag. ##### Visible ``` public static final PsdLayerFlags Visible ``` The visibility flag. ##### Obsolete ``` public static final PsdLayerFlags Obsolete ``` The obsolete flag. ##### HasUsefulInformation ``` public static final PsdLayerFlags HasUsefulInformation ``` Defines if bit 4 has useful information. 1 for Photoshop 5.0 and later, ##### PixelDataIrrelevantToAppearanceInDocument ``` public static final PsdLayerFlags PixelDataIrrelevantToAppearanceInDocument ``` The pixel data is irrelevant to appearance in a document. ##### Undocumented ``` public static final PsdLayerFlags Undocumented ``` An undocumented flag. ##### getByRawValue(int rawValue) ``` public static PsdLayerFlags getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** PsdLayerFlags ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### PsdPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/psdpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class PsdPackage extends CustomPackage ``` Represents native Photoshop metadata. [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images #### Methods | Method | Description | | --- | --- | | getChannelCount() | Gets the number of channels. | | getColorMode() | Gets the psd color mode. | | getCompression() | Gets the compression method used for image data. | | getPhotoshopVersion() | Gets the Photoshop version. | | getHeight() | Gets the height of the image. | | getWidth() | Gets PSD width of the image. | | getLayers() | Gets the Photoshop layers. | ##### getChannelCount() ``` public final int getChannelCount() ``` Gets the number of channels. **Returns:** int - The number of channels. ##### getColorMode() ``` public final PsdColorMode getColorMode() ``` Gets the psd color mode. **Returns:** PsdColorMode - The color mode. ##### getCompression() ``` public final PsdCompressionMethod getCompression() ``` Gets the compression method used for image data. **Returns:** PsdCompressionMethod - The compression method. ##### getPhotoshopVersion() ``` public final int getPhotoshopVersion() ``` Gets the Photoshop version. **Returns:** int - The photoshop version. ##### getHeight() ``` public final int getHeight() ``` Gets the height of the image. **Returns:** int - The height of the image. ##### getWidth() ``` public final int getWidth() ``` Gets PSD width of the image. **Returns:** int - The width of the image. ##### getLayers() ``` public final PsdLayer[] getLayers() ``` Gets the Photoshop layers. **Returns:** com.groupdocs.metadata.core.PsdLayer[] - The Photoshop layers. ### PsdRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/psdrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IIptc, com.groupdocs.metadata.core.IExif ``` public class PsdRootPackage extends ImageRootPackage implements IXmp, IIptc, IExif ``` Represents the root package allowing working with metadata in a Photoshop Document. This code sample demonstrates how to read the header of a PSD file and extract some information about the PSD layers. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.PsdWithIptc)) { > PsdRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getPsdPackage().getChannelCount()); > System.out.println(root.getPsdPackage().getColorMode()); > System.out.println(root.getPsdPackage().getCompression()); > System.out.println(root.getPsdPackage().getPhotoshopVersion()); > for (PsdLayer layer : root.getPsdPackage().getLayers()) { > System.out.println(layer.getName()); > System.out.println(layer.getBitsPerPixel()); > System.out.println(layer.getChannelCount()); > System.out.println(layer.getFlags()); > System.out.println(layer.getHeight()); > System.out.println(layer.getWidth()); > // ... > } > // ... > } > > ``` > ``` [Working with metadata in PSD images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+PSD+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getIptcPackage() | Gets the IPTC metadata package. | | setIptcPackage(IptcRecordSet value) | Sets the IPTC metadata package. | | getImageResourcePackage() | Gets the Photoshop Image Resource metadata package. | | getPsdPackage() | Gets the metadata package containing information about the PSD file. | | copyTo(MetadataPackage metadata) | | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getIptcPackage() ``` public final IptcRecordSet getIptcPackage() ``` Gets the IPTC metadata package. **Returns:** IptcRecordSet - The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata ##### setIptcPackage(IptcRecordSet value) ``` public final void setIptcPackage(IptcRecordSet value) ``` Sets the IPTC metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcRecordSet | The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata | ##### getImageResourcePackage() ``` public final ImageResourcePackage getImageResourcePackage() ``` Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format. **Returns:** ImageResourcePackage - The Image Resource metadata package. ##### getPsdPackage() ``` public final PsdPackage getPsdPackage() ``` Gets the metadata package containing information about the PSD file. **Returns:** PsdPackage - The metadata package containing information about the PSD file. ##### copyTo(MetadataPackage metadata) ``` public void copyTo(MetadataPackage metadata) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | MetadataPackage | | ### RarFile Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rarfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class RarFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. #### Methods | Method | Description | | --- | --- | | getCompressedSize() | Gets the compressed size in bytes. | | getUncompressedSize() | Gets the uncompressed size in bytes. | | getName() | Gets the entry name. | | getModificationDateTime() | Gets the last modification date and time. | ##### getCompressedSize() ``` public final long getCompressedSize() ``` Gets the compressed size in bytes. Value: The compressed size in bytes. **Returns:** long ##### getUncompressedSize() ``` public final long getUncompressedSize() ``` Gets the uncompressed size in bytes. Value: The uncompressed size in bytes. **Returns:** long ##### getName() ``` public final String getName() ``` Gets the entry name. Value: The entry name. It can be a file or directory name. **Returns:** java.lang.String ##### getModificationDateTime() ``` public final Date getModificationDateTime() ``` Gets the last modification date and time. Value: The last modification date and time. **Returns:** java.util.Date ### RarPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rarpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class RarPackage extends CustomPackage ``` Represents ZIP archive metadata. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputRar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.RarPackage.TotalEntries); > foreach (var file in root.RarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getFiles() ``` public final RarFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. Value: An array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.RarFile[] ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. Value: The total number of entries inside the ZIP archive. **Returns:** long ### RarRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rarrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class RarRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputRar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.RarPackage.TotalEntries); > foreach (var file in root.RarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getRarPackage() | Gets the ZIP metadata package. | ##### getRarPackage() ``` public final RarPackage getRarPackage() ``` Gets the ZIP metadata package. Value: The ZIP metadata package. **Returns:** RarPackage ### RawDictionaryBasePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawdictionarybasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class RawDictionaryBasePackage extends CustomPackage ``` Provides an abstract base class for EXIF metadata dictionaries. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata #### Methods | Method | Description | | --- | --- | | toList() | Creates a list from the package. | | get_Item(long tagId) | Gets the Raw tag with the specified id. | | remove(long tagId) | Removes the property with the specified id. | | set(RawTag tag) | Adds or replaces the specified tag. | | clear() | Removes all Raw tags stored in the package. | ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains all Raw tags from the package. ##### get_Item(long tagId) ``` public final RawTag get_Item(long tagId) ``` Gets the Raw tag with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | long | The id of the tag to retrieve. | **Returns:** RawTag - The RawTag with the specified tag id. ##### remove(long tagId) ``` public final boolean remove(long tagId) ``` Removes the property with the specified id. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagId | long | A Raw tag id. | **Returns:** boolean - True if the specified Raw tag is found and removed; otherwise, false. ##### set(RawTag tag) ``` public final void set(RawTag tag) ``` Adds or replaces the specified tag. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tag | RawTag | The tag to set. | ##### clear() ``` public final void clear() ``` Removes all Raw tags stored in the package. ### RawExifTagPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawexiftagpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public abstract class RawExifTagPackage extends RawDictionaryBasePackage ``` Represents Exif tags. #### Methods | Method | Description | | --- | --- | | getRawMakerNotePackage() | Gets the Manufacturer notes (MakerNote). | | getInteroperabilityIFDPointerPackage() | Gets the Interoperability tag (Interoperability IFD Pointer). | | getInteroperabilityIFDPointer() | Gets the Interoperability tag (Interoperability IFD Pointer). | | getExposureTime() | Gets the Exposure time. | | getFNumber() | Gets the F number. | | getExposureProgram() | Gets the Exposure program. | | getSpectralSensitivity() | Gets the Spectral sensitivity. | | getPhotographicSensitivity() | Gets the Photographic Sensitivity. | | getOECF() | Gets the Optoelectric conversion factor. | | getSensitivityType() | Gets the Sensitivity Type. | | getStandardOutputSensitivity() | Gets the Standard Output Sensitivity. | | getRecommendedExposureIndex() | Gets the Recommended ExposureIndexs. | | getISOSpeed() | Gets the ISO Speed. | | getISOSpeedLatitudeyyy() | Gets the ISO Speed Latitude yyy. | | getISOSpeedLatitudezzz() | Gets the ISO Speed Latitude zzz. | | getExifVersion() | Gets the ExifVersion. | | getDateTimeOriginal() | Gets the Date and time of original data generation. | | getDateTimeDigitized() | Gets the Date and time of digital data generation. | | getOffsetTime() | Gets the Offset data of DateTime. | | getOffsetTimeOriginal() | Gets the Offset data of DateTimeOriginal. | | getOffsetTimeDigitized() | Gets the Offset data of DateTimeDigitized. | | getComponentsConfiguration() | Gets the Meaning of each component. | | getShutterSpeedValue() | Gets the Shutter speed. | | getApertureValue() | Gets the Aperture. | | getBrightnessValue() | Gets the Brightness. | | getExposureBiasValue() | Gets the Exposure bias. | | getMaxApertureValue() | Gets the Maximum lens aperture. | | getSubjectDistance() | Gets the Subject distance. | | getMeteringMode() | Gets the Metering mode. | | getLightSource() | Gets the Light source. | | getFlash() | Gets the Flash. | | getFocalLength() | Gets the Lens focal length. | | getSubjectArea() | Gets the Subject area. | | getUserComment() | Gets the User comments. | | getSubSecTime() | Gets the DateTime subseconds. | | getSubSecTimeOriginal() | Gets the DateTimeOriginal subseconds. | | getSubSecTimeDigitized() | Gets the DateTimeDigitized subseconds. | | getTemperature() | Gets the Temperature. | | getHumidity() | Gets the Humidity. | | getPressure() | Gets the Pressure. | | getWaterDepth() | Gets the WaterDepth. | | getAcceleration() | Gets the Acceleration. | | getCameraElevationAngle() | Gets the Camera elevation angle. | | getFlashpixVersion() | Gets the Temperature. | | getColorSpace() | Gets the Color space information . | | getPixelXDimension() | Gets the Valid image width. | | getPixelYDimension() | Gets the Valid image height. | | getRelatedSoundFile() | Gets the Related audio file. | | getFlashEnergy() | Gets the Flash energy. | | getSpatialFrequencyResponse() | Gets the Spatial frequency response. | | getFocalPlaneXResolution() | Gets Focal plane X resolution. | | getFocalPlaneYResolution() | Gets the Focal plane Y resolution. | | getFocalPlaneResolutionUnit() | Gets the Focal plane resolution unit. | | getSubjectLocation() | Gets the Subject location. | | getExposureIndex() | Gets the Exposure index. | | getSensingMethod() | Gets the Sensing method. | | getFileSource() | Gets the File source. | | getSceneType() | Gets the Scene Type. | | getCFAPattern() | Gets the CFA pattern. | | getCustomRendered() | Gets the Custom image processing. | | getExposureMode() | Gets the Exposure mode. | | getWhiteBalance() | Gets the White balance. | | getDigitalZoomRatio() | Gets the Digital zoom ratio. | | getFocalLengthIn35mmFilm() | Gets the Focal length in 35 mm film. | | getSceneCaptureType() | Gets the Scene capture type. | | getGainControl() | Gets the Gain control. | | getContrast() | Gets the Contrast. | | getSaturation() | Gets the Saturation. | | getSharpness() | Gets the Sharpness. | | getDeviceSettingDescription() | Gets the Device settings description. | | getSubjectDistanceRange() | Gets the Subject distance range. | | getImageUniqueID() | Gets the Unique image ID. | | getCameraOwnerName() | Gets the Camera Owner Name. | | getBodySerialNumber() | Gets the Body Serial Number. | | getLensSpecification() | Gets the Lens Specification. | | getLensModel() | Gets the Lens Model. | | getLensMake() | Gets the Lens Make. | | getLensSerialNumber() | Gets the Lens Serial Number. | | getCompositeImage() | Gets the Composite image. | | getSourceImageNumberOfCompositeImage() | Gets the Source image number of composite image. | | getSourceExposureTimesOfCompositeImage() | Gets the Source exposure times of composite image. | | getGamma() | Gets the Gamma. | | getMakerNote() | Gets the Standard Output Sensitivity. | ##### getRawMakerNotePackage() ``` public RawMakerNotePackage getRawMakerNotePackage() ``` Gets the Manufacturer notes (MakerNote). **Returns:** RawMakerNotePackage - The Manufacturer notes (MakerNote). ##### getInteroperabilityIFDPointerPackage() ``` public final InteroperabilityIFDPointerPackage getInteroperabilityIFDPointerPackage() ``` Gets the Interoperability tag (Interoperability IFD Pointer). **Returns:** InteroperabilityIFDPointerPackage - The Interoperability tag (Interoperability IFD Pointer). ##### getInteroperabilityIFDPointer() ``` public final long getInteroperabilityIFDPointer() ``` Gets the Interoperability tag (Interoperability IFD Pointer). **Returns:** long - The Interoperability tag (Interoperability IFD Pointer). ##### getExposureTime() ``` public final float getExposureTime() ``` Gets the Exposure time. **Returns:** float - The Exposure time. ##### getFNumber() ``` public final float getFNumber() ``` Gets the F number. **Returns:** float - The F number. ##### getExposureProgram() ``` public final int getExposureProgram() ``` Gets the Exposure program. **Returns:** int - The Exposure program. ##### getSpectralSensitivity() ``` public final String getSpectralSensitivity() ``` Gets the Spectral sensitivity. **Returns:** java.lang.String - The Spectral sensitivity. ##### getPhotographicSensitivity() ``` public final int getPhotographicSensitivity() ``` Gets the Photographic Sensitivity. **Returns:** int - The Photographic Sensitivity. ##### getOECF() ``` public final byte[] getOECF() ``` Gets the Optoelectric conversion factor. **Returns:** byte[] - The Optoelectric conversion factor. ##### getSensitivityType() ``` public final int getSensitivityType() ``` Gets the Sensitivity Type. **Returns:** int - The Sensitivity Type. ##### getStandardOutputSensitivity() ``` public final long getStandardOutputSensitivity() ``` Gets the Standard Output Sensitivity. **Returns:** long - The Standard Output Sensitivity. ##### getRecommendedExposureIndex() ``` public final long getRecommendedExposureIndex() ``` Gets the Recommended ExposureIndexs. **Returns:** long - The Recommended ExposureIndex. ##### getISOSpeed() ``` public final long getISOSpeed() ``` Gets the ISO Speed. **Returns:** long - The ISO Speed. ##### getISOSpeedLatitudeyyy() ``` public final long getISOSpeedLatitudeyyy() ``` Gets the ISO Speed Latitude yyy. **Returns:** long - The ISO Speed Latitude yyy. ##### getISOSpeedLatitudezzz() ``` public final long getISOSpeedLatitudezzz() ``` Gets the ISO Speed Latitude zzz. **Returns:** long - The ISO Speed Latitude zzz. ##### getExifVersion() ``` public final byte[] getExifVersion() ``` Gets the ExifVersion. **Returns:** byte[] - The ExifVersion. ##### getDateTimeOriginal() ``` public final String getDateTimeOriginal() ``` Gets the Date and time of original data generation. **Returns:** java.lang.String - The Date and time of original data generation. ##### getDateTimeDigitized() ``` public final String getDateTimeDigitized() ``` Gets the Date and time of digital data generation. **Returns:** java.lang.String - The Date and time of digital data generation. ##### getOffsetTime() ``` public final String getOffsetTime() ``` Gets the Offset data of DateTime. **Returns:** java.lang.String - The Offset data of DateTime. ##### getOffsetTimeOriginal() ``` public final String getOffsetTimeOriginal() ``` Gets the Offset data of DateTimeOriginal. **Returns:** java.lang.String - The Offset data of DateTimeOriginal. ##### getOffsetTimeDigitized() ``` public final String getOffsetTimeDigitized() ``` Gets the Offset data of DateTimeDigitized. **Returns:** java.lang.String - The Offset data of DateTimeDigitized. ##### getComponentsConfiguration() ``` public final byte[] getComponentsConfiguration() ``` Gets the Meaning of each component. **Returns:** byte[] - The Meaning of each component. ##### getShutterSpeedValue() ``` public final float getShutterSpeedValue() ``` Gets the Shutter speed. **Returns:** float - The Shutter speed. ##### getApertureValue() ``` public final float getApertureValue() ``` Gets the Aperture. **Returns:** float - The Aperture. ##### getBrightnessValue() ``` public final float getBrightnessValue() ``` Gets the Brightness. **Returns:** float - The Brightness. ##### getExposureBiasValue() ``` public final float getExposureBiasValue() ``` Gets the Exposure bias. **Returns:** float - The Exposure bias. ##### getMaxApertureValue() ``` public final float getMaxApertureValue() ``` Gets the Maximum lens aperture. **Returns:** float - The Maximum lens aperture. ##### getSubjectDistance() ``` public final float getSubjectDistance() ``` Gets the Subject distance. **Returns:** float - The Subject distance. ##### getMeteringMode() ``` public final int getMeteringMode() ``` Gets the Metering mode. **Returns:** int - The Metering mode. ##### getLightSource() ``` public final int getLightSource() ``` Gets the Light source. **Returns:** int - The Light source. ##### getFlash() ``` public final int getFlash() ``` Gets the Flash. **Returns:** int - The Flash. ##### getFocalLength() ``` public final float getFocalLength() ``` Gets the Lens focal length. **Returns:** float - The Lens focal length. ##### getSubjectArea() ``` public final int getSubjectArea() ``` Gets the Subject area. **Returns:** int - The Subject area. ##### getUserComment() ``` public final byte[] getUserComment() ``` Gets the User comments. **Returns:** byte[] - The User comments. ##### getSubSecTime() ``` public final String getSubSecTime() ``` Gets the DateTime subseconds. **Returns:** java.lang.String - The DateTime subseconds. ##### getSubSecTimeOriginal() ``` public final String getSubSecTimeOriginal() ``` Gets the DateTimeOriginal subseconds. **Returns:** java.lang.String - The DateTimeOriginal subseconds. ##### getSubSecTimeDigitized() ``` public final String getSubSecTimeDigitized() ``` Gets the DateTimeDigitized subseconds. **Returns:** java.lang.String - The DateTimeDigitized subseconds. ##### getTemperature() ``` public final float getTemperature() ``` Gets the Temperature. **Returns:** float - The Temperature. ##### getHumidity() ``` public final float getHumidity() ``` Gets the Humidity. **Returns:** float - The Humidity. ##### getPressure() ``` public final float getPressure() ``` Gets the Pressure. **Returns:** float - The Pressure. ##### getWaterDepth() ``` public final float getWaterDepth() ``` Gets the WaterDepth. **Returns:** float - The WaterDepth. ##### getAcceleration() ``` public final float getAcceleration() ``` Gets the Acceleration. **Returns:** float - The Acceleration. ##### getCameraElevationAngle() ``` public final float getCameraElevationAngle() ``` Gets the Camera elevation angle. **Returns:** float - The Camera elevation angle. ##### getFlashpixVersion() ``` public final byte[] getFlashpixVersion() ``` Gets the Temperature. **Returns:** byte[] - The Temperature. ##### getColorSpace() ``` public final int getColorSpace() ``` Gets the Color space information . **Returns:** int - The Color space information . ##### getPixelXDimension() ``` public final long getPixelXDimension() ``` Gets the Valid image width. **Returns:** long - The Valid image width. ##### getPixelYDimension() ``` public final long getPixelYDimension() ``` Gets the Valid image height. **Returns:** long - The Valid image height. ##### getRelatedSoundFile() ``` public final String getRelatedSoundFile() ``` Gets the Related audio file. **Returns:** java.lang.String - The Related audio file. ##### getFlashEnergy() ``` public final float getFlashEnergy() ``` Gets the Flash energy. **Returns:** float - The Flash energy. ##### getSpatialFrequencyResponse() ``` public final byte[] getSpatialFrequencyResponse() ``` Gets the Spatial frequency response. **Returns:** byte[] - The Spatial frequency response. ##### getFocalPlaneXResolution() ``` public final float getFocalPlaneXResolution() ``` Gets Focal plane X resolution. **Returns:** float - The Focal plane X resolution. ##### getFocalPlaneYResolution() ``` public final float getFocalPlaneYResolution() ``` Gets the Focal plane Y resolution. **Returns:** float - The Focal plane Y resolution. ##### getFocalPlaneResolutionUnit() ``` public final int getFocalPlaneResolutionUnit() ``` Gets the Focal plane resolution unit. **Returns:** int - The Focal plane resolution unit. ##### getSubjectLocation() ``` public final int getSubjectLocation() ``` Gets the Subject location. **Returns:** int - The Subject location. ##### getExposureIndex() ``` public final float getExposureIndex() ``` Gets the Exposure index. **Returns:** float - The Exposure index. ##### getSensingMethod() ``` public final int getSensingMethod() ``` Gets the Sensing method. **Returns:** int - The Sensing method. ##### getFileSource() ``` public final byte[] getFileSource() ``` Gets the File source. **Returns:** byte[] - The File source. ##### getSceneType() ``` public final byte[] getSceneType() ``` Gets the Scene Type. **Returns:** byte[] - The Scene Type. ##### getCFAPattern() ``` public final byte[] getCFAPattern() ``` Gets the CFA pattern. **Returns:** byte[] - The CFA pattern. ##### getCustomRendered() ``` public final int getCustomRendered() ``` Gets the Custom image processing. **Returns:** int - The Custom image processing. ##### getExposureMode() ``` public final int getExposureMode() ``` Gets the Exposure mode. **Returns:** int - The Exposure mode. ##### getWhiteBalance() ``` public final int getWhiteBalance() ``` Gets the White balance. **Returns:** int - The White balance. ##### getDigitalZoomRatio() ``` public final float getDigitalZoomRatio() ``` Gets the Digital zoom ratio. **Returns:** float - The Digital zoom ratio. ##### getFocalLengthIn35mmFilm() ``` public final int getFocalLengthIn35mmFilm() ``` Gets the Focal length in 35 mm film. **Returns:** int - The Focal length in 35 mm film. ##### getSceneCaptureType() ``` public final int getSceneCaptureType() ``` Gets the Scene capture type. **Returns:** int - The Scene capture type. ##### getGainControl() ``` public final float getGainControl() ``` Gets the Gain control. **Returns:** float - The Gain control. ##### getContrast() ``` public final int getContrast() ``` Gets the Contrast. **Returns:** int - The Contrast. ##### getSaturation() ``` public final int getSaturation() ``` Gets the Saturation. **Returns:** int - The Saturation. ##### getSharpness() ``` public final int getSharpness() ``` Gets the Sharpness. **Returns:** int - The Sharpness. ##### getDeviceSettingDescription() ``` public final byte[] getDeviceSettingDescription() ``` Gets the Device settings description. **Returns:** byte[] - The Device settings description. ##### getSubjectDistanceRange() ``` public final int getSubjectDistanceRange() ``` Gets the Subject distance range. **Returns:** int - The Subject distance range. ##### getImageUniqueID() ``` public final String getImageUniqueID() ``` Gets the Unique image ID. **Returns:** java.lang.String - The Unique image ID. ##### getCameraOwnerName() ``` public final String getCameraOwnerName() ``` Gets the Camera Owner Name. **Returns:** java.lang.String - The Camera Owner Name. ##### getBodySerialNumber() ``` public final String getBodySerialNumber() ``` Gets the Body Serial Number. **Returns:** java.lang.String - The Body Serial Number. ##### getLensSpecification() ``` public final double[] getLensSpecification() ``` Gets the Lens Specification. **Returns:** double[] - The Lens Specification. ##### getLensModel() ``` public final String getLensModel() ``` Gets the Lens Model. **Returns:** java.lang.String - The Lens Model. ##### getLensMake() ``` public final String getLensMake() ``` Gets the Lens Make. **Returns:** java.lang.String - The Lens Make. ##### getLensSerialNumber() ``` public final String getLensSerialNumber() ``` Gets the Lens Serial Number. **Returns:** java.lang.String - The Lens Serial Number. ##### getCompositeImage() ``` public final int getCompositeImage() ``` Gets the Composite image. **Returns:** int - The Composite image. ##### getSourceImageNumberOfCompositeImage() ``` public final int getSourceImageNumberOfCompositeImage() ``` Gets the Source image number of composite image. **Returns:** int - The Source image number of composite image. ##### getSourceExposureTimesOfCompositeImage() ``` public final byte[] getSourceExposureTimesOfCompositeImage() ``` Gets the Source exposure times of composite image. **Returns:** byte[] - The Source exposure times of composite image. ##### getGamma() ``` public final float getGamma() ``` Gets the Gamma. **Returns:** float - The Gamma. ##### getMakerNote() ``` public final long getMakerNote() ``` Gets the Standard Output Sensitivity. **Returns:** long - The Standard Output Sensitivity. ### RawIFD1Package Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawifd1package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawIFD1Package extends RawDictionaryBasePackage ``` Represents IFD1 tags. #### Methods | Method | Description | | --- | --- | | getThumbnailOffset() | Gets the ThumbnailOffset. | | getThumbnailLenght() | Gets the ThumbnailLenght. | ##### getThumbnailOffset() ``` public final long getThumbnailOffset() ``` Gets the ThumbnailOffset. **Returns:** long - The ThumbnailOffset. ##### getThumbnailLenght() ``` public final long getThumbnailLenght() ``` Gets the ThumbnailLenght. **Returns:** long - The ThumbnailLenght. ### RawIFD2Package Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawifd2package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawIFD2Package extends RawDictionaryBasePackage ``` Represents IFD1 tags. #### Methods | Method | Description | | --- | --- | | getImageWidth() | Gets the image width. | | getImageHeight() | Gets the image height. | | getBitsPerSample() | Gets the image BitsPerSample. | | getCompression() | Gets the image Compression. | | getPhotometricInterpretation() | Gets the image PhotometricInterpretation. | | getStripOffset() | Gets the image StripOffset. | | getSamplesPerPixel() | Gets the SamplesPerPixel. | | getRowPerStrip() | Gets the RowPerStrip. | | getStripByteCounts() | Gets the StripByteCounts. | | getPlanarConfiguration() | Gets the PlanarConfiguration. | | getUnknown1() | Gets the Unknown1. | | getUnknown2() | Gets the Unknown2. | | getUnknown3() | Gets the Unknown3. | ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getImageHeight() ``` public final int getImageHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getBitsPerSample() ``` public final int[] getBitsPerSample() ``` Gets the image BitsPerSample. **Returns:** int[] - The image BitsPerSample. ##### getCompression() ``` public final int getCompression() ``` Gets the image Compression. **Returns:** int - The image Compression. ##### getPhotometricInterpretation() ``` public final int getPhotometricInterpretation() ``` Gets the image PhotometricInterpretation. **Returns:** int - The image PhotometricInterpretation. ##### getStripOffset() ``` public final long getStripOffset() ``` Gets the image StripOffset. **Returns:** long - The image StripOffset. ##### getSamplesPerPixel() ``` public final int getSamplesPerPixel() ``` Gets the SamplesPerPixel. **Returns:** int - The SamplesPerPixel. ##### getRowPerStrip() ``` public final int getRowPerStrip() ``` Gets the RowPerStrip. **Returns:** int - The RowPerStrip. ##### getStripByteCounts() ``` public final long getStripByteCounts() ``` Gets the StripByteCounts. **Returns:** long - The StripByteCounts. ##### getPlanarConfiguration() ``` public final int getPlanarConfiguration() ``` Gets the PlanarConfiguration. **Returns:** int - The PlanarConfiguration. ##### getUnknown1() ``` public final long getUnknown1() ``` Gets the Unknown1. **Returns:** long - The Unknown1. ##### getUnknown2() ``` public final long getUnknown2() ``` Gets the Unknown2. **Returns:** long - The Unknown2. ##### getUnknown3() ``` public final long[] getUnknown3() ``` Gets the Unknown3. **Returns:** long[] - The Unknown3. ### RawIFD3Package Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawifd3package.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawIFD3Package extends RawDictionaryBasePackage ``` Represents IFD1 tags. #### Methods | Method | Description | | --- | --- | | getImageWidth() | Gets the image width. | | getImageHeight() | Gets the image height. | | getCompression() | Gets the image Compression. | | getStripOffset() | Gets the image StripOffset. | | getStripByteCounts() | Gets the image StripByteCounts. | | getUnknown1() | Gets the Unknown1. | | getUnknown2() | Gets the Unknown2. | | getUnknown3() | Gets the Unknown3. | | getUnknown4() | Gets the Unknown4. | ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getImageHeight() ``` public final int getImageHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getCompression() ``` public final int getCompression() ``` Gets the image Compression. **Returns:** int - The image Compression. ##### getStripOffset() ``` public final long getStripOffset() ``` Gets the image StripOffset. **Returns:** long - The image StripOffset. ##### getStripByteCounts() ``` public final long getStripByteCounts() ``` Gets the image StripByteCounts. **Returns:** long - The image StripByteCounts. ##### getUnknown1() ``` public final long getUnknown1() ``` Gets the Unknown1. **Returns:** long - The Unknown1. ##### getUnknown2() ``` public final long getUnknown2() ``` Gets the Unknown2. **Returns:** long - The Unknown2. ##### getUnknown3() ``` public final int[] getUnknown3() ``` Gets the Unknown3. **Returns:** int[] - The Unknown3. ##### getUnknown4() ``` public final long getUnknown4() ``` Gets the Unknown4. **Returns:** long - The Unknown4. ### RawIntegerType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawintegertype.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum RawIntegerType extends Enum ``` Defines raw integer types for enumerations. #### Fields | Field | Description | | --- | --- | | SignedByte | The 8-bit signed integer value type. | | UnsignedByte | The 8-bit unsigned integer value type. | | SignedShort | The 16-bit signed integer value type. | | UnsignedShort | The 16-bit unsigned integer value type. | | SignedInt | The 32-bit signed integer value type. | | UnsignedInt | The 32-bit unsigned integer value type. | | SignedLong | The 64-bit signed integer value type. | | UnsignedLong | The 64-bit unsigned integer value type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### SignedByte ``` public static final RawIntegerType SignedByte ``` The 8-bit signed integer value type. ##### UnsignedByte ``` public static final RawIntegerType UnsignedByte ``` The 8-bit unsigned integer value type. ##### SignedShort ``` public static final RawIntegerType SignedShort ``` The 16-bit signed integer value type. ##### UnsignedShort ``` public static final RawIntegerType UnsignedShort ``` The 16-bit unsigned integer value type. ##### SignedInt ``` public static final RawIntegerType SignedInt ``` The 32-bit signed integer value type. ##### UnsignedInt ``` public static final RawIntegerType UnsignedInt ``` The 32-bit unsigned integer value type. ##### SignedLong ``` public static final RawIntegerType SignedLong ``` The 64-bit signed integer value type. ##### UnsignedLong ``` public static final RawIntegerType UnsignedLong ``` The 64-bit unsigned integer value type. ##### values() ``` public static RawIntegerType[] values() ``` **Returns:** com.groupdocs.metadata.core.RawIntegerType[] ##### valueOf(String name) ``` public static RawIntegerType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** RawIntegerType ### RawMakerNotePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawmakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public abstract class RawMakerNotePackage extends RawDictionaryBasePackage ``` Represents Raw MakerNotes tags. ### RawTiffTagPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawtifftagpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.RawDictionaryBasePackage ``` public final class RawTiffTagPackage extends RawDictionaryBasePackage ``` Represents Tiff tags. #### Methods | Method | Description | | --- | --- | | getRawIFD1Package() | Gets the IFD1. | | getRawIFD2Package() | Gets the IFD2. | | getRawIFD3Package() | Gets the IFD3. | | getRawExifTagPackage() | Gets the Exif tag (Exif IFD Pointer). | | getGpsIfdPackage() | Gets the GPS tag (GPSInfo IFD Pointer). | | getImageWidth() | Gets the image width. | | getImageHeight() | Gets the image height. | | getBitsPerSample() | Gets the bits per sample. | | getCompression() | Gets compression. | | getPhotometricInterpretation() | Gets PhotometricInterpretation. | | getImageDescription() | Gets a character string giving the title of the image. | | setImageDescription(String value) | Sets a character string giving the title of the image. | | getMake() | Gets the macro mode. | | getModel() | Gets the model. | | getStripOffset() | Gets the StripOffset. | | getOrientation() | Gets the orientation. | | getSamplesPerPixel() | Gets the SamplesPerPixel. | | getRowsPerStrip() | Gets the RowsPerStrip. | | getStripByteCounts() | Gets the strip byte counts. | | getXResolution() | Gets the XResolution. | | getYResolution() | Gets the YResolution. | | getPlanarConfiguration() | Gets the PlanarConfiguration. | | getResolutionUnit() | Gets the Resolution Unit. | | getTransferFunction() | Gets the TransferFunction. | | getSoftware() | Gets the Software. | | getDateTime() | Gets the DateTime. | | getArtist() | Gets the Artist. | | getWhitePoint() | Gets the WhitePoint. | | getPrimaryChromaticities() | Gets the PrimaryChromaticities. | | getJpegInterchangeFormat() | Gets the JpegInterchangeFormat. | | getJpegInterchangeFormatLength() | Gets the JpegInterchangeFormatLength. | | getYCbCrCoefficients() | Gets the YCbCrCoefficients. | | getYCbCrSubSampling() | Gets the YCbCrSubSampling. | | getYCbCrPositioning() | Gets the YCbCrPositioning. | | getReferenceBlackWhite() | Gets the ReferenceBlackWhite. | | getCopyright() | Gets the Copyright. | | getEXIF() | Gets the EXIF. | | getGpsIfd() | Gets the EXIF. | ##### getRawIFD1Package() ``` public final RawIFD1Package getRawIFD1Package() ``` Gets the IFD1. **Returns:** RawIFD1Package - The IFD1. ##### getRawIFD2Package() ``` public final RawIFD2Package getRawIFD2Package() ``` Gets the IFD2. **Returns:** RawIFD2Package - The IFD2. ##### getRawIFD3Package() ``` public final RawIFD3Package getRawIFD3Package() ``` Gets the IFD3. **Returns:** RawIFD3Package - The IFD3. ##### getRawExifTagPackage() ``` public final RawExifTagPackage getRawExifTagPackage() ``` Gets the Exif tag (Exif IFD Pointer). **Returns:** RawExifTagPackage - The Exif tag (Exif IFD Pointer). ##### getGpsIfdPackage() ``` public final GpsIfdPackage getGpsIfdPackage() ``` Gets the GPS tag (GPSInfo IFD Pointer). **Returns:** GpsIfdPackage - The GPS tag (GPSInfo IFD Pointer). ##### getImageWidth() ``` public final int getImageWidth() ``` Gets the image width. **Returns:** int - The image width. ##### getImageHeight() ``` public final int getImageHeight() ``` Gets the image height. **Returns:** int - The image height. ##### getBitsPerSample() ``` public final int[] getBitsPerSample() ``` Gets the bits per sample. **Returns:** int[] - The bits per sample. ##### getCompression() ``` public final int getCompression() ``` Gets compression. **Returns:** int - The compression. ##### getPhotometricInterpretation() ``` public final int getPhotometricInterpretation() ``` Gets PhotometricInterpretation. **Returns:** int - The PhotometricInterpretation. ##### getImageDescription() ``` public final String getImageDescription() ``` Gets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Returns:** java.lang.String - The image description. ##### setImageDescription(String value) ``` public final void setImageDescription(String value) ``` Sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image description. | ##### getMake() ``` public final String getMake() ``` Gets the macro mode. **Returns:** java.lang.String - The macro mode. ##### getModel() ``` public final String getModel() ``` Gets the model. **Returns:** java.lang.String - The model. ##### getStripOffset() ``` public final long getStripOffset() ``` Gets the StripOffset. **Returns:** long - The StripOffset. ##### getOrientation() ``` public final int getOrientation() ``` Gets the orientation. **Returns:** int - The orientation. ##### getSamplesPerPixel() ``` public final int getSamplesPerPixel() ``` Gets the SamplesPerPixel. **Returns:** int - The SamplesPerPixel. ##### getRowsPerStrip() ``` public final long getRowsPerStrip() ``` Gets the RowsPerStrip. **Returns:** long - The RowsPerStrip. ##### getStripByteCounts() ``` public final long getStripByteCounts() ``` Gets the strip byte counts. **Returns:** long - The strip byte counts. ##### getXResolution() ``` public final float getXResolution() ``` Gets the XResolution. **Returns:** float - The XResolution. ##### getYResolution() ``` public final float getYResolution() ``` Gets the YResolution. **Returns:** float - The YResolution. ##### getPlanarConfiguration() ``` public final int getPlanarConfiguration() ``` Gets the PlanarConfiguration. **Returns:** int - The PlanarConfiguration. ##### getResolutionUnit() ``` public final int getResolutionUnit() ``` Gets the Resolution Unit. **Returns:** int - The Resolution Unit. ##### getTransferFunction() ``` public final int[] getTransferFunction() ``` Gets the TransferFunction. **Returns:** int[] - The TransferFunction. ##### getSoftware() ``` public final String getSoftware() ``` Gets the Software. **Returns:** java.lang.String - The Software. ##### getDateTime() ``` public final String getDateTime() ``` Gets the DateTime. **Returns:** java.lang.String - The DateTime. ##### getArtist() ``` public final String getArtist() ``` Gets the Artist. **Returns:** java.lang.String - The Artist. ##### getWhitePoint() ``` public final double[] getWhitePoint() ``` Gets the WhitePoint. **Returns:** double[] - The WhitePoint. ##### getPrimaryChromaticities() ``` public final double[] getPrimaryChromaticities() ``` Gets the PrimaryChromaticities. **Returns:** double[] - The PrimaryChromaticities. ##### getJpegInterchangeFormat() ``` public final long getJpegInterchangeFormat() ``` Gets the JpegInterchangeFormat. **Returns:** long - The JpegInterchangeFormat. ##### getJpegInterchangeFormatLength() ``` public final long getJpegInterchangeFormatLength() ``` Gets the JpegInterchangeFormatLength. **Returns:** long - The JpegInterchangeFormatLength. ##### getYCbCrCoefficients() ``` public final double[] getYCbCrCoefficients() ``` Gets the YCbCrCoefficients. **Returns:** double[] - The YCbCrCoefficients. ##### getYCbCrSubSampling() ``` public final int[] getYCbCrSubSampling() ``` Gets the YCbCrSubSampling. **Returns:** int[] - The YCbCrSubSampling. ##### getYCbCrPositioning() ``` public final int getYCbCrPositioning() ``` Gets the YCbCrPositioning. **Returns:** int - The YCbCrPositioning. ##### getReferenceBlackWhite() ``` public final double[] getReferenceBlackWhite() ``` Gets the ReferenceBlackWhite. **Returns:** double[] - The ReferenceBlackWhite. ##### getCopyright() ``` public final String getCopyright() ``` Gets the Copyright. **Returns:** java.lang.String - The Copyright. ##### getEXIF() ``` public final long getEXIF() ``` Gets the EXIF. **Returns:** long - The EXIF. ##### getGpsIfd() ``` public final long getGpsIfd() ``` Gets the EXIF. **Returns:** long - The EXIF. ### RawTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rawtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class RawTypePackage extends FileTypePackage ``` Represents a metadata package containing image-specific file format information. #### Methods | Method | Description | | --- | --- | | getByteOrder() | Gets the byte-order of the image. | ##### getByteOrder() ``` public final ByteOrder getByteOrder() ``` Gets the byte-order of the image. Please see https://en.wikipedia.org/wiki/Endianness for more information. **Returns:** ByteOrder - The byte-order value. ### ReadOnlyList Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/readonlylist.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IReadOnlyList ``` public class ReadOnlyList implements IReadOnlyList ``` Provides an abstract base class for a strongly typed read-only list. T : The type of the element. #### Methods | Method | Description | | --- | --- | | getCount() | Gets the number of elements contained in the collection. | | get_Item(int index) | Gets the element at the specified index in the collection. | | contains(T item) | Determines whether the collection contains a specific item. | | contains(TagCategory item) | Determines whether the collection contains a TagCategory item. | | indexOf(T item) | Determines the index of a specific item in the collection. | | iterator() | Returns an enumerator that iterates through a collection. | ##### getCount() ``` public final int getCount() ``` Gets the number of elements contained in the collection. **Returns:** int - The number of elements contained in the collection. ##### get_Item(int index) ``` public final T get_Item(int index) ``` Gets the element at the specified index in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the element to get. | **Returns:** T - The element at the specified index. ##### contains(T item) ``` public final boolean contains(T item) ``` Determines whether the collection contains a specific item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ##### contains(TagCategory item) ``` public final boolean contains(TagCategory item) ``` Determines whether the collection contains a TagCategory item. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | TagCategory | The item to locate in the collection. | **Returns:** boolean - True if the item is found in the collection; otherwise, false. ##### indexOf(T item) ``` public final int indexOf(T item) ``` Determines the index of a specific item in the collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | item | T | The item to locate in the collection. | **Returns:** int - The index of item if found in the collection; otherwise, -1. ##### iterator() ``` public final Iterator iterator() ``` Returns an enumerator that iterates through a collection. **Returns:** java.util.Iterator - An IEnumerator\{T\} object that can be used to iterate through the collection. ### Rectangle Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rectangle.md **Inheritance:** java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct ``` public class Rectangle extends Struct ``` A set of four integers that represent the location and size of a rectangle. #### Constructors | Constructor | Description | | --- | --- | | Rectangle() | | #### Methods | Method | Description | | --- | --- | | getEmpty() | Gets the empty rectangle. | | getX() | Gets the x. | | getY() | Gets the y. | | getWidth() | Gets the width. | | getHeight() | Gets the height. | | getLeft() | Gets the x-coordinate of the left edge of the rectangle. | | getTop() | Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. | | getRight() | Gets the x-coordinate that is the sum of X and Width property values of the rectangle. | | getBottom() | Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. | | isEmpty() | Gets a value indicating whether this instance is empty. | | toString() | Returns a System.String that represents this instance. | | CloneTo(Rectangle that) | | | Clone() | | | clone() | | | equals(Object obj) | | | equals(Rectangle obj1, Rectangle obj2) | | ##### Rectangle() ``` public Rectangle() ``` ##### getEmpty() ``` public static Rectangle getEmpty() ``` Gets the empty rectangle. **Returns:** Rectangle - The empty rectangle. ##### getX() ``` public final int getX() ``` Gets the x. **Returns:** int - The x. ##### getY() ``` public final int getY() ``` Gets the y. **Returns:** int - The y. ##### getWidth() ``` public final int getWidth() ``` Gets the width. **Returns:** int - The width. ##### getHeight() ``` public final int getHeight() ``` Gets the height. **Returns:** int - The height. ##### getLeft() ``` public final int getLeft() ``` Gets the x-coordinate of the left edge of the rectangle. **Returns:** int - The x-coordinate of the left edge of the rectangle. ##### getTop() ``` public final int getTop() ``` Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. **Returns:** int - The y-coordinate that is the sum of the Y and Height property values of the rectangle. ##### getRight() ``` public final int getRight() ``` Gets the x-coordinate that is the sum of X and Width property values of the rectangle. **Returns:** int - The x-coordinate that is the sum of X and Width property values of the rectangle. ##### getBottom() ``` public final int getBottom() ``` Gets the y-coordinate that is the sum of the Y and Height property values of the rectangle. **Returns:** int - The y-coordinate that is the sum of the Y and Height property values of the rectangle. ##### isEmpty() ``` public final boolean isEmpty() ``` Gets a value indicating whether this instance is empty. **Returns:** boolean - true if this instance is empty; otherwise, false . ##### toString() ``` public String toString() ``` Returns a System.String that represents this instance. **Returns:** java.lang.String - A System.String that represents this instance. ##### CloneTo(Rectangle that) ``` public void CloneTo(Rectangle that) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | that | Rectangle | | ##### Clone() ``` public Rectangle Clone() ``` **Returns:** Rectangle ##### clone() ``` public Object clone() ``` **Returns:** java.lang.Object ##### equals(Object obj) ``` public boolean equals(Object obj) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | | **Returns:** boolean ##### equals(Rectangle obj1, Rectangle obj2) ``` public static boolean equals(Rectangle obj1, Rectangle obj2) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj1 | Rectangle | | | obj2 | Rectangle | | **Returns:** boolean ### RiffInfoPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/riffinfopackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class RiffInfoPackage extends CustomPackage ``` Represents the metadata package containing properties extracted from the RIFF INFO chunk. #### Methods | Method | Description | | --- | --- | | getArtist() | Gets the artist of the original subject of the file. | | getComment() | Gets the comment about the file or the subject of the file. | | getCopyright() | Gets the copyright information for the file. | | getCreationDate() | Gets the date the subject of the file was created. | | getEngineer() | Gets the name of the engineer who worked on the file. | | getGenre() | Gets the genre of the original work. | | getKeywords() | Gets the keywords that refer to the file or subject of the file. | | getName() | Gets the title of the subject of the file. | | getSubject() | Gets a description of the file contents, such as "Aerial view of Seattle." | | getSoftware() | Gets the name of the software package used to create the file. | | getSource() | Gets the name of the person or organization who supplied the original subject of the file. | | getTechnician() | Gets the technician who digitized the subject file. | ##### getArtist() ``` public final String getArtist() ``` Gets the artist of the original subject of the file. **Returns:** java.lang.String - The artist of the original subject of the file. ##### getComment() ``` public final String getComment() ``` Gets the comment about the file or the subject of the file. **Returns:** java.lang.String - The comment about the file or the subject of the file. ##### getCopyright() ``` public final String getCopyright() ``` Gets the copyright information for the file. **Returns:** java.lang.String - The copyright information for the file. ##### getCreationDate() ``` public final String getCreationDate() ``` Gets the date the subject of the file was created. **Returns:** java.lang.String - The date the subject of the file was created. ##### getEngineer() ``` public final String getEngineer() ``` Gets the name of the engineer who worked on the file. **Returns:** java.lang.String - The name of the engineer who worked on the file. ##### getGenre() ``` public final String getGenre() ``` Gets the genre of the original work. **Returns:** java.lang.String - The genre of the original work. ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords that refer to the file or subject of the file. **Returns:** java.lang.String - The keywords that refer to the file or subject of the file. ##### getName() ``` public final String getName() ``` Gets the title of the subject of the file. **Returns:** java.lang.String - The title of the subject of the file. ##### getSubject() ``` public final String getSubject() ``` Gets a description of the file contents, such as "Aerial view of Seattle." **Returns:** java.lang.String - A description of the file contents. ##### getSoftware() ``` public final String getSoftware() ``` Gets the name of the software package used to create the file. **Returns:** java.lang.String - The name of the software package used to create the file. ##### getSource() ``` public final String getSource() ``` Gets the name of the person or organization who supplied the original subject of the file. **Returns:** java.lang.String - The name of the person or organization who supplied the original subject of the file. ##### getTechnician() ``` public final String getTechnician() ``` Gets the technician who digitized the subject file. **Returns:** java.lang.String - The technician who digitized the subject file. ### RootMetadataPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/rootmetadatapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage ``` public abstract class RootMetadataPackage extends MetadataPackage ``` Represents an entry point to all metadata packages presented in a particular file. #### Methods | Method | Description | | --- | --- | | getFileType() | Gets the file type metadata package. | | isLicensed() | | | sanitize() | Removes writable metadata properties from the package. | | copyTo(MetadataPackage metadataPackage) | | ##### getFileType() ``` public final FileTypePackage getFileType() ``` Gets the file type metadata package. **Returns:** FileTypePackage - The file type metadata package. ##### isLicensed() ``` public final boolean isLicensed() ``` **Returns:** boolean ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. [Clean metadata]: https://docs.groupdocs.com/display/metadatajava/Clean+metadata ##### copyTo(MetadataPackage metadataPackage) ``` public void copyTo(MetadataPackage metadataPackage) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | | ### SevenZipFile Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/sevenzipfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SevenZipFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. #### Methods | Method | Description | | --- | --- | | getCompressedSize() | Gets the compressed size in bytes. | | getUncompressedSize() | Gets the uncompressed size in bytes. | | getName() | Gets the entry name. | | getModificationDateTime() | Gets the last modification date and time. | ##### getCompressedSize() ``` public final long getCompressedSize() ``` Gets the compressed size in bytes. Value: The compressed size in bytes. **Returns:** long ##### getUncompressedSize() ``` public final long getUncompressedSize() ``` Gets the uncompressed size in bytes. Value: The uncompressed size in bytes. **Returns:** long ##### getName() ``` public final String getName() ``` Gets the entry name. Value: The entry name. It can be a file or directory name. **Returns:** java.lang.String ##### getModificationDateTime() ``` public final Date getModificationDateTime() ``` Gets the last modification date and time. Value: The last modification date and time. **Returns:** java.util.Date ### SevenZipPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/sevenzippackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SevenZipPackage extends CustomPackage ``` Represents ZIP archive metadata. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputSevenZip)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.SevenZipPackage.TotalEntries); > foreach (var file in root.SevenZipPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getFiles() ``` public final SevenZipFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. Value: An array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.SevenZipFile[] ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. Value: The total number of entries inside the ZIP archive. **Returns:** long ### SevenZipRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/sevenziprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class SevenZipRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputSevenZip)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.SevenZipPackage.TotalEntries); > foreach (var file in root.SevenZipPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getSevenZipPackage() | Gets the ZIP metadata package. | ##### getSevenZipPackage() ``` public final SevenZipPackage getSevenZipPackage() ``` Gets the ZIP metadata package. Value: The ZIP metadata package. **Returns:** SevenZipPackage ### SonyMakerNotePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/sonymakernotepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.ExifDictionaryBasePackage, com.groupdocs.metadata.core.MakerNotePackage ``` public final class SonyMakerNotePackage extends MakerNotePackage ``` Represents SONY MakerNote metadata. #### Methods | Method | Description | | --- | --- | | getHeader() | Gets the MakerNote header. | | getQuality() | Gets the image quality. | | getWhiteBalance() | Gets the white balance. | | getTeleconverter() | Gets the teleconverter type. | | getMultiBurstMode() | Gets a value indicating whether the multi burst mode is on. | | getMultiBurstImageWidth() | Gets the width of the multi burst image. | | getMultiBurstImageHeight() | Gets the height of the multi burst image. | | getRating() | Gets the rating. | | getContrast() | Gets the contrast. | | getSaturation() | Gets the saturation. | | getSharpness() | Gets the sharpness. | | getBrightness() | Gets the brightness. | | getPictureEffect() | Gets the picture effect. | | getSoftSkinEffect() | Gets the soft skin effect. | | getSonyModelID() | Gets the sony model identifier. | | getCreativeStyle() | Gets the creative style. | | getColorTemperature() | Gets the color temperature. | | getColorMode() | Gets the color mode. | | getMacro() | Gets the macro. | | getExposureMode() | Gets the exposure mode. | | getFocusMode() | Gets the focus mode. | | getJpegQuality() | Gets the JPEG quality. | | getAFIlluminator() | Gets the AF illuminator type. | | getFlashLevel() | Gets the flash level. | | getReleaseMode() | Gets the release mode. | ##### getHeader() ``` public final String getHeader() ``` Gets the MakerNote header. **Returns:** java.lang.String - The MakerNote header. ##### getQuality() ``` public final Long getQuality() ``` Gets the image quality. **Returns:** java.lang.Long - The image quality. ##### getWhiteBalance() ``` public final Long getWhiteBalance() ``` Gets the white balance. **Returns:** java.lang.Long - The white balance. ##### getTeleconverter() ``` public final Long getTeleconverter() ``` Gets the teleconverter type. **Returns:** java.lang.Long - The teleconverter type. ##### getMultiBurstMode() ``` public final boolean getMultiBurstMode() ``` Gets a value indicating whether the multi burst mode is on. **Returns:** boolean - true if the multi burst mode is on; otherwise, false . ##### getMultiBurstImageWidth() ``` public final Integer getMultiBurstImageWidth() ``` Gets the width of the multi burst image. **Returns:** java.lang.Integer - The width of the multi burst image. ##### getMultiBurstImageHeight() ``` public final Integer getMultiBurstImageHeight() ``` Gets the height of the multi burst image. **Returns:** java.lang.Integer - The height of the multi burst image. ##### getRating() ``` public final Long getRating() ``` Gets the rating. **Returns:** java.lang.Long - The rating. ##### getContrast() ``` public final Integer getContrast() ``` Gets the contrast. **Returns:** java.lang.Integer - The contrast. ##### getSaturation() ``` public final Integer getSaturation() ``` Gets the saturation. **Returns:** java.lang.Integer - The saturation. ##### getSharpness() ``` public final Integer getSharpness() ``` Gets the sharpness. **Returns:** java.lang.Integer - The sharpness. ##### getBrightness() ``` public final Integer getBrightness() ``` Gets the brightness. **Returns:** java.lang.Integer - The brightness. ##### getPictureEffect() ``` public final Integer getPictureEffect() ``` Gets the picture effect. **Returns:** java.lang.Integer - The picture effect. ##### getSoftSkinEffect() ``` public final Long getSoftSkinEffect() ``` Gets the soft skin effect. **Returns:** java.lang.Long - The soft skin effect. ##### getSonyModelID() ``` public final Integer getSonyModelID() ``` Gets the sony model identifier. **Returns:** java.lang.Integer - The sony model identifier. ##### getCreativeStyle() ``` public final String getCreativeStyle() ``` Gets the creative style. **Returns:** java.lang.String - The creative style. ##### getColorTemperature() ``` public final Long getColorTemperature() ``` Gets the color temperature. **Returns:** java.lang.Long - The color temperature. ##### getColorMode() ``` public final Long getColorMode() ``` Gets the color mode. **Returns:** java.lang.Long - The color mode. ##### getMacro() ``` public final Integer getMacro() ``` Gets the macro. **Returns:** java.lang.Integer - The macro. ##### getExposureMode() ``` public final Integer getExposureMode() ``` Gets the exposure mode. **Returns:** java.lang.Integer - The exposure mode. ##### getFocusMode() ``` public final Integer getFocusMode() ``` Gets the focus mode. **Returns:** java.lang.Integer - The focus mode. ##### getJpegQuality() ``` public final Integer getJpegQuality() ``` Gets the JPEG quality. **Returns:** java.lang.Integer - The JPEG quality. ##### getAFIlluminator() ``` public final Integer getAFIlluminator() ``` Gets the AF illuminator type. **Returns:** java.lang.Integer - The AF illuminator type. ##### getFlashLevel() ``` public final Short getFlashLevel() ``` Gets the flash level. **Returns:** java.lang.Short - The flash level. ##### getReleaseMode() ``` public final Integer getReleaseMode() ``` Gets the release mode. **Returns:** java.lang.Integer - The release mode. ### SpreadsheetComment Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetcomment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class SpreadsheetComment extends CustomPackage ``` Represents a user comment in a spreadsheet. [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the comment. | | getText() | Gets the comment text. | | getSheetNumber() | Gets the sheet number. | | getRow() | Gets the one-based row index of the comment. | | getColumn() | Gets the one-based column index of the comment. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the comment. **Returns:** java.lang.String - The author of the comment. ##### getText() ``` public final String getText() ``` Gets the comment text. **Returns:** java.lang.String - The comment text. ##### getSheetNumber() ``` public final int getSheetNumber() ``` Gets the sheet number. **Returns:** int - The sheet number. ##### getRow() ``` public final int getRow() ``` Gets the one-based row index of the comment. **Returns:** int - The row index of the comment. ##### getColumn() ``` public final int getColumn() ``` Gets the one-based column index of the comment. **Returns:** int - The column index of the comment. ### SpreadsheetContentTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetcontenttypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class SpreadsheetContentTypePackage extends CustomPackage ``` Represents a metadata package containing spreadsheet content type properties. #### Methods | Method | Description | | --- | --- | | set(String propertyName, String propertyValue) | Adds or replaces the content type property with the specified name. | | set(String propertyName, String propertyValue, String propertyType) | Adds or replaces the content type property with the specified name. | | remove(String propertyName) | Removes the content type property with the specified name. | | clear() | Removes all writable metadata properties. | | toList() | Creates a list from the package. | ##### set(String propertyName, String propertyValue) ``` public final void set(String propertyName, String propertyValue) ``` Adds or replaces the content type property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | propertyValue | java.lang.String | The property value. | ##### set(String propertyName, String propertyValue, String propertyType) ``` public final void set(String propertyName, String propertyValue, String propertyType) ``` Adds or replaces the content type property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | propertyValue | java.lang.String | The property value. | | propertyType | java.lang.String | The property type. | ##### remove(String propertyName) ``` public final boolean remove(String propertyName) ``` Removes the content type property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The name of the content type property to be removed. | **Returns:** boolean - true if the property is found and deleted; otherwise false . ##### clear() ``` public final void clear() ``` Removes all writable metadata properties. ##### toList() ``` public final IReadOnlyList toList() ``` Creates a list from the package. **Returns:** IReadOnlyList - A list that contains properties from the package. ### SpreadsheetContentTypeProperty Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetcontenttypeproperty.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public final class SpreadsheetContentTypeProperty extends MetadataProperty ``` Represents a content type property in a spreadsheet. #### Methods | Method | Description | | --- | --- | | getSpreadsheetPropertyType() | Gets the type of the property. | | getSpreadsheetPropertyValue() | Gets the value of the property. | ##### getSpreadsheetPropertyType() ``` public final String getSpreadsheetPropertyType() ``` Gets the type of the property. **Returns:** java.lang.String - The type of the property. ##### getSpreadsheetPropertyValue() ``` public final String getSpreadsheetPropertyValue() ``` Gets the value of the property. **Returns:** java.lang.String - The value of the property. ### SpreadsheetFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum SpreadsheetFormat extends Enum implements IEnumValue ``` Defines various spreadsheet subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Xls | Represents the .XLS Excel format. | | Xlsb | Represents the .XLSB Excel format. | | Xlsx | Represents the .XLSX Excel format. | | Xlsm | Represents the .XLSM Excel format. | | Xltx | Represents the .XLTX Excel format. | | Xltm | Represents the .XLTM Excel format. | | Ods | Represents the Opendocument Spreadsheet format. | | Xlt | Represents the .XLT Excel format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final SpreadsheetFormat Unknown ``` The format is not recognized. ##### Xls ``` public static final SpreadsheetFormat Xls ``` Represents the .XLS Excel format. Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. File saved by Excel is known as Workbook where each workbook can have one or more worksheets. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xls/ ##### Xlsb ``` public static final SpreadsheetFormat Xlsb ``` Represents the .XLSB Excel format. XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. The content can include unstructured or semi-structured tables of numbers, text, or both numbers and text, formulas, external data connections, charts and images. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsb/ ##### Xlsx ``` public static final SpreadsheetFormat Xlsx ``` Represents the .XLSX Excel format. XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsx/ ##### Xlsm ``` public static final SpreadsheetFormat Xlsm ``` Represents the .XLSM Excel format. Files with XLSM extension is a type of Spreasheet files that support Macros. From application point of view, a Macro is set of instructions that are used for automating processes. A macro is used to record the steps that are performed repeatedly and facilitates performing the actions by running the macro again. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlsm/ ##### Xltx ``` public static final SpreadsheetFormat Xltx ``` Represents the .XLTX Excel format. Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltx/ ##### Xltm ``` public static final SpreadsheetFormat Xltm ``` Represents the .XLTM Excel format. The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros. Such template files are used to generate and set the layout, formatting, and other settings along with the macros to facilitate creating similar XLSX files then. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xltm/ ##### Ods ``` public static final SpreadsheetFormat Ods ``` Represents the Opendocument Spreadsheet format. Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Data is stored inside ODF file into rows and columns. It is XML-based format and is one of the several subtypes in the Open Document Formats (ODF) family. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/ods/ ##### Xlt ``` public static final SpreadsheetFormat Xlt ``` Represents the .XLT Excel format. Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. The latest version of Excel is still capable of opening this old format template files. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/spreadsheet/xlt/ ##### values() ``` public static SpreadsheetFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.SpreadsheetFormat[] ##### valueOf(String name) ``` public static SpreadsheetFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** SpreadsheetFormat ##### getByRawValue(int rawValue) ``` public static SpreadsheetFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** SpreadsheetFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### SpreadsheetInspectionPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetinspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SpreadsheetInspectionPackage extends CustomPackage ``` Contains information about spreadsheet parts that can be considered as metadata in some cases. [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getComments() | Gets an array of the user comments. | | getHiddenSheets() | Gets an array of the hidden sheets. | | getDigitalSignatures() | Gets an array of digital signatures presented in the document. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | clearComments() | Removes all detected user comments from the spreadsheet. | | clearHiddenSheets() | Removes all detected hidden sheets from the spreadsheet. | | clearDigitalSignatures() | Removes all detected digital signatures from the spreadsheet. | | sanitize() | Removes writable metadata properties from the package. | ##### getComments() ``` public final SpreadsheetComment[] getComments() ``` Gets an array of the user comments. **Returns:** com.groupdocs.metadata.core.SpreadsheetComment[] - The user comments. ##### getHiddenSheets() ``` public final SpreadsheetSheet[] getHiddenSheets() ``` Gets an array of the hidden sheets. **Returns:** com.groupdocs.metadata.core.SpreadsheetSheet[] - The hidden sheets. ##### getDigitalSignatures() ``` public final DigitalSignature[] getDigitalSignatures() ``` Gets an array of digital signatures presented in the document. **Returns:** com.groupdocs.metadata.core.DigitalSignature[] - The digital signatures. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### clearComments() ``` public final void clearComments() ``` Removes all detected user comments from the spreadsheet. ##### clearHiddenSheets() ``` public final void clearHiddenSheets() ``` Removes all detected hidden sheets from the spreadsheet. ##### clearDigitalSignatures() ``` public final void clearDigitalSignatures() ``` Removes all detected digital signatures from the spreadsheet. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### SpreadsheetPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class SpreadsheetPackage extends DocumentPackage ``` Represents a native metadata package in a spreadsheet. This example shows how to update built-in metadata properties in a spreadsheet. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputXlsx)) { > SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedTime(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputXlsx); > } > > ``` > ``` [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getLanguage() | Gets the document language. | | setLanguage(String value) | Sets the document language. | | getAuthor() | Gets the document author. | | setAuthor(String value) | Sets the document author. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the comments. | | setComments(String value) | Sets the comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getContentStatus() | Gets the content status. | | setContentStatus(String value) | Sets the content status. | | getContentType() | Gets the content type. | | setContentType(String value) | Sets the content type. | | getCreatedTime() | Gets the document created date. | | setCreatedTime(Date value) | Sets the document created date. | | getTotalEditingTime() | Gets the total editing time in minutes. | | setTotalEditingTime(Double value) | Sets the total editing time in minutes. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getLastSavedTime() | Gets the time of the last saving in UTC. | | setLastSavedTime(Date value) | Sets the time of the last saving in UTC. | | getLastPrintedDate() | Gets the last printed date in UTC. | | setLastPrintedDate(Date value) | Sets the last printed date in UTC. | | getLastSavedBy() | Gets the name of the last author. | | setLastSavedBy(String value) | Sets the name of the last author. | | getManager() | Gets the manager. | | setManager(String value) | Sets the manager. | | getNameOfApplication() | Gets the name of application. | | setNameOfApplication(String value) | Sets the name of application. | | getRevision() | Gets the document revision number. | | setRevision(String value) | Sets the document revision number. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTemplate() | Gets the document template name. | | setTemplate(String value) | Sets the document template name. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getVersion() | Gets the version number of the application that created the document. | | setVersion(String value) | Sets the version number of the application that created the document. | | getContentTypeProperties() | Gets the metadata package containing the content type properties. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | ##### getLanguage() ``` public final String getLanguage() ``` Gets the document language. **Returns:** java.lang.String - The document language. ##### setLanguage(String value) ``` public final void setLanguage(String value) ``` Sets the document language. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The document language. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the comments. **Returns:** java.lang.String - Comments value. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Comments value. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getContentStatus() ``` public final String getContentStatus() ``` Gets the content status. **Returns:** java.lang.String - The content status. ##### setContentStatus(String value) ``` public final void setContentStatus(String value) ``` Sets the content status. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content status. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type. **Returns:** java.lang.String - The type of the content. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the content. | ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the document created date. **Returns:** java.util.Date - The created time. ##### setCreatedTime(Date value) ``` public final void setCreatedTime(Date value) ``` Sets the document created date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The created time. | ##### getTotalEditingTime() ``` public final Double getTotalEditingTime() ``` Gets the total editing time in minutes. **Returns:** java.lang.Double - The total editing time. ##### setTotalEditingTime(Double value) ``` public final void setTotalEditingTime(Double value) ``` Sets the total editing time in minutes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The total editing time. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - Keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Keywords. | ##### getLastSavedTime() ``` public final Date getLastSavedTime() ``` Gets the time of the last saving in UTC. **Returns:** java.util.Date - The time of the last saving. ##### setLastSavedTime(Date value) ``` public final void setLastSavedTime(Date value) ``` Sets the time of the last saving in UTC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The time of the last saving. | ##### getLastPrintedDate() ``` public final Date getLastPrintedDate() ``` Gets the last printed date in UTC. **Returns:** java.util.Date - The last printed date. ##### setLastPrintedDate(Date value) ``` public final void setLastPrintedDate(Date value) ``` Sets the last printed date in UTC. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last printed date. | ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last author. **Returns:** java.lang.String - The name of the last author. ##### setLastSavedBy(String value) ``` public final void setLastSavedBy(String value) ``` Sets the name of the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the last author. | ##### getManager() ``` public final String getManager() ``` Gets the manager. **Returns:** java.lang.String - The manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manager. | ##### getNameOfApplication() ``` public final String getNameOfApplication() ``` Gets the name of application. **Returns:** java.lang.String - The name of application. ##### setNameOfApplication(String value) ``` public final void setNameOfApplication(String value) ``` Sets the name of application. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of application. | ##### getRevision() ``` public final String getRevision() ``` Gets the document revision number. **Returns:** java.lang.String - The revision number. ##### setRevision(String value) ``` public final void setRevision(String value) ``` Sets the document revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The revision number. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTemplate() ``` public final String getTemplate() ``` Gets the document template name. **Returns:** java.lang.String - The template. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets the document template name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The template. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title. | ##### getVersion() ``` public final String getVersion() ``` Gets the version number of the application that created the document. **Returns:** java.lang.String - The version. Its format is "00.0000",for example 12.0000 ##### setVersion(String value) ``` public final void setVersion(String value) ``` Sets the version number of the application that created the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The version. Its format is "00.0000",for example 12.0000 | ##### getContentTypeProperties() ``` public final SpreadsheetContentTypePackage getContentTypeProperties() ``` Gets the metadata package containing the content type properties. **Returns:** SpreadsheetContentTypePackage - The metadata package containing the content type properties. ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ### SpreadsheetRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage ``` public class SpreadsheetRootPackage extends DocumentRootPackage ``` Represents the root package allowing working with metadata in a spreadsheet. This code snippet demonstrates how to extract built-in metadata properties from a spreadsheet. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputXlsx)) { > SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedTime()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > System.out.println(root.getDocumentProperties().getLanguage()); > System.out.println(root.getDocumentProperties().getContentType()); > // ... > } > > ``` > ``` [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getSpreadsheetType() | Gets the file type metadata package. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | ##### getSpreadsheetType() ``` public final SpreadsheetTypePackage getSpreadsheetType() ``` Gets the file type metadata package. **Returns:** SpreadsheetTypePackage - The file type metadata package. ##### getInspectionPackage() ``` public final SpreadsheetInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** SpreadsheetInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ### SpreadsheetSheet Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheetsheet.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class SpreadsheetSheet extends CustomPackage ``` Represents a sheet in a spreadsheet document. [Working with metadata in Spreadsheets]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Spreadsheets #### Methods | Method | Description | | --- | --- | | getName() | Gets the sheet name. | | getNumber() | Gets the sheet number. | ##### getName() ``` public final String getName() ``` Gets the sheet name. **Returns:** java.lang.String - The sheet name. ##### getNumber() ``` public final int getNumber() ``` Gets the sheet number. **Returns:** int - The sheet number. ### SpreadsheetTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/spreadsheettypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class SpreadsheetTypePackage extends FileTypePackage ``` Represents a metadata package containing spreadsheet-specific file format information. #### Methods | Method | Description | | --- | --- | | getSpreadsheetFormat() | Gets the exact spreadsheet format. | ##### getSpreadsheetFormat() ``` public final SpreadsheetFormat getSpreadsheetFormat() ``` Gets the exact spreadsheet format. **Returns:** SpreadsheetFormat - The exact spreadsheet format. ### TarFile Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tarfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class TarFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. #### Methods | Method | Description | | --- | --- | | getSize() | Gets the size in bytes. | | getName() | Gets the entry name. | ##### getSize() ``` public final long getSize() ``` Gets the size in bytes. Value: The size in bytes. **Returns:** long ##### getName() ``` public final String getName() ``` Gets the entry name. Value: The entry name. It can be a file or directory name. **Returns:** java.lang.String ### TarPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tarpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class TarPackage extends CustomPackage ``` Represents ZIP archive metadata. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputTar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.TarPackage.TotalEntries); > foreach (var file in root.TarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.Size); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getFiles() ``` public final TarFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. Value: An array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.TarFile[] ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. Value: The total number of entries inside the ZIP archive. **Returns:** long ### TarRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tarrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class TarRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. > ``` > The following code snippet shows how to get metadata from a ZIP archive. > > Encoding encoding = Encoding.GetEncoding(866); > using (Metadata metadata = new Metadata(Constants.InputTar)) > { > var root = metadata.GetRootPackage(); > Console.WriteLine(root.TarPackage.TotalEntries); > foreach (var file in root.TarPackage.Files) > { > Console.WriteLine(file.Name); > Console.WriteLine(file.CompressedSize); > Console.WriteLine(file.ModificationDateTime); > Console.WriteLine(file.UncompressedSize); > // Use a specific encoding for the file names > Console.WriteLine(encoding.GetString(file.RawName)); > } > } > ``` #### Methods | Method | Description | | --- | --- | | getTarPackage() | Gets the ZIP metadata package. | ##### getTarPackage() ``` public final TarPackage getTarPackage() ``` Gets the ZIP metadata package. Value: The ZIP metadata package. **Returns:** TarPackage ### TiffArrayTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffarraytag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag ``` public abstract class TiffArrayTag extends TiffTag ``` Represents an array-based TIFF tag. T : The type of array values. #### Methods | Method | Description | | --- | --- | | getTagValue() | Gets the tag value. | ##### getTagValue() ``` public final T[] getTagValue() ``` Gets the tag value. **Returns:** T[] - The tag value. ### TiffAsciiTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffasciitag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag ``` public final class TiffAsciiTag extends TiffTag ``` Represents a TIFF ASCII tag. #### Constructors | Constructor | Description | | --- | --- | | TiffAsciiTag(TiffTagID tagID, String value) | Initializes a new instance of the TiffAsciiTag class. | #### Methods | Method | Description | | --- | --- | | getTagValue() | Gets the tag value. | ##### TiffAsciiTag(TiffTagID tagID, String value) ``` public TiffAsciiTag(TiffTagID tagID, String value) ``` Initializes a new instance of the TiffAsciiTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | java.lang.String | The value. | ##### getTagValue() ``` public final String getTagValue() ``` Gets the tag value. **Returns:** java.lang.String - The tag value. ### TiffByteTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffbytetag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffByteTag extends TiffArrayTag ``` Represents a Byte tag. #### Constructors | Constructor | Description | | --- | --- | | TiffByteTag(TiffTagID tagID, byte[] value) | Initializes a new instance of the TiffByteTag class. | ##### TiffByteTag(TiffTagID tagID, byte[] value) ``` public TiffByteTag(TiffTagID tagID, byte[] value) ``` Initializes a new instance of the TiffByteTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | byte[] | The value. | ### TiffDoubleTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffdoubletag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffDoubleTag extends TiffArrayTag ``` Represents a TIFF Double tag. #### Constructors | Constructor | Description | | --- | --- | | TiffDoubleTag(TiffTagID tagID, double[] value) | Initializes a new instance of the TiffDoubleTag class. | ##### TiffDoubleTag(TiffTagID tagID, double[] value) ``` public TiffDoubleTag(TiffTagID tagID, double[] value) ``` Initializes a new instance of the TiffDoubleTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | double[] | The value. | ### TiffFloatTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tifffloattag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffFloatTag extends TiffArrayTag ``` Represents a TIFF float tag. #### Constructors | Constructor | Description | | --- | --- | | TiffFloatTag(TiffTagID tagID, float[] value) | Initializes a new instance of the TiffFloatTag class. | ##### TiffFloatTag(TiffTagID tagID, float[] value) ``` public TiffFloatTag(TiffTagID tagID, float[] value) ``` Initializes a new instance of the TiffFloatTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | float[] | The value. | ### TiffLongTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tifflongtag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffLongTag extends TiffArrayTag ``` Represents a TIFF Long tag. #### Constructors | Constructor | Description | | --- | --- | | TiffLongTag(TiffTagID tagID, long[] value) | Initializes a new instance of the TiffLongTag class. | ##### TiffLongTag(TiffTagID tagID, long[] value) ``` public TiffLongTag(TiffTagID tagID, long[] value) ``` Initializes a new instance of the TiffLongTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | long[] | The value. | ### TiffRational Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffrational.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class TiffRational implements System.IEquatable ``` Represents a rational number. #### Constructors | Constructor | Description | | --- | --- | | TiffRational(long numerator, long denominator) | Initializes a new instance of the TiffRational class. | #### Methods | Method | Description | | --- | --- | | getNumerator() | Gets the numerator. | | getDenominator() | Gets the denominator. | | getValue() | Gets the rational value. | | equals(TiffRational rational, TiffRational other) | Compares a pair of TiffRational numbers. | | equals(TiffRational other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Indicates whether the current object is equal to another object of the same type. | | hashCode() | Returns a hash code for this instance. | | op_Equality(TiffRational left, TiffRational right) | Indicates whether two objects of the same type are equal. | | op_Inequality(TiffRational left, TiffRational right) | Indicates whether two objects of the same type are not equal. | | toString() | Returns a string that represents this instance. | ##### TiffRational(long numerator, long denominator) ``` public TiffRational(long numerator, long denominator) ``` Initializes a new instance of the TiffRational class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | long | The numerator. | | denominator | long | The denominator. | ##### getNumerator() ``` public final long getNumerator() ``` Gets the numerator. **Returns:** long - The numerator. ##### getDenominator() ``` public final long getDenominator() ``` Gets the denominator. **Returns:** long - The denominator. ##### getValue() ``` public final double getValue() ``` Gets the rational value. **Returns:** double - The rational value. ##### equals(TiffRational rational, TiffRational other) ``` public static boolean equals(TiffRational rational, TiffRational other) ``` Compares a pair of TiffRational numbers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rational | TiffRational | A rational number. | | other | TiffRational | Another rational number. | **Returns:** boolean - true if the objects are equal; otherwise, false . ##### equals(TiffRational other) ``` public final boolean equals(TiffRational other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TiffRational | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false . ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the obj parameter; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ##### op_Equality(TiffRational left, TiffRational right) ``` public static boolean op_Equality(TiffRational left, TiffRational right) ``` Indicates whether two objects of the same type are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffRational | The left object. | | right | TiffRational | The rigt object. | **Returns:** boolean - True if the objects are equal; otherwise, false. ##### op_Inequality(TiffRational left, TiffRational right) ``` public static boolean op_Inequality(TiffRational left, TiffRational right) ``` Indicates whether two objects of the same type are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffRational | The left object. | | right | TiffRational | The right object. | **Returns:** boolean - True if the objects are not equal; otherwise, false. ##### toString() ``` public String toString() ``` Returns a string that represents this instance. **Returns:** java.lang.String - A string that represents this instance. ### TiffRationalTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffrationaltag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffRationalTag extends TiffArrayTag ``` Represents a TIFF Rational tag. #### Constructors | Constructor | Description | | --- | --- | | TiffRationalTag(TiffTagID tagID, TiffRational[] value) | Initializes a new instance of the TiffRationalTag class. | ##### TiffRationalTag(TiffTagID tagID, TiffRational[] value) ``` public TiffRationalTag(TiffTagID tagID, TiffRational[] value) ``` Initializes a new instance of the TiffRationalTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | TiffRational\[\] | The value. | ### TiffRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif, com.groupdocs.metadata.core.IIptc ``` public class TiffRootPackage extends ImageRootPackage implements IXmp, IExif, IIptc ``` Represents the root package allowing working with metadata in a TIFF image. This example shows how to extract basic IPTC metadata properties from a TIFF image. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.TiffWithIptc)) { > TiffRootPackage root = metadata.getRootPackageGeneric(); > if (root.getIptcPackage() != null) { > if (root.getIptcPackage().getEnvelopeRecord() != null) { > System.out.println(root.getIptcPackage().getEnvelopeRecord().getDateSent()); > System.out.println(root.getIptcPackage().getEnvelopeRecord().getDestination()); > System.out.println(root.getIptcPackage().getEnvelopeRecord().getFileFormat()); > System.out.println(root.getIptcPackage().getEnvelopeRecord().getFileFormatVersion()); > // ... > } > if (root.getIptcPackage().getApplicationRecord() != null) { > System.out.println(root.getIptcPackage().getApplicationRecord().getHeadline()); > System.out.println(root.getIptcPackage().getApplicationRecord().getByLine()); > System.out.println(root.getIptcPackage().getApplicationRecord().getByLineTitle()); > System.out.println(root.getIptcPackage().getApplicationRecord().getCaptionAbstract()); > System.out.println(root.getIptcPackage().getApplicationRecord().getCity()); > System.out.println(root.getIptcPackage().getApplicationRecord().getDateCreated()); > System.out.println(root.getIptcPackage().getApplicationRecord().getReleaseDate()); > // ... > } > } > } > > ``` > ``` [Working with metadata in TIFF images]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+TIFF+images [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | | getIptcPackage() | Gets the IPTC metadata package. | | setIptcPackage(IptcRecordSet value) | Sets the IPTC metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ##### getIptcPackage() ``` public final IptcRecordSet getIptcPackage() ``` Gets the IPTC metadata package. **Returns:** IptcRecordSet - The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata ##### setIptcPackage(IptcRecordSet value) ``` public final void setIptcPackage(IptcRecordSet value) ``` Sets the IPTC metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IptcRecordSet | The IPTC metadata package. [Working with IPTC IIM metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata | ### TiffSByteTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffsbytetag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSByteTag extends TiffArrayTag ``` Represents a TIFF SByte tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSByteTag(TiffTagID tagID, byte[] value) | Initializes a new instance of the TiffSByteTag class. | ##### TiffSByteTag(TiffTagID tagID, byte[] value) ``` public TiffSByteTag(TiffTagID tagID, byte[] value) ``` Initializes a new instance of the TiffSByteTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | byte[] | The value. | ### TiffShortTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffshorttag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffShortTag extends TiffArrayTag ``` Represents a TIFF Short tag. #### Constructors | Constructor | Description | | --- | --- | | TiffShortTag(TiffTagID tagID, int[] value) | Initializes a new instance of the TiffShortTag class. | ##### TiffShortTag(TiffTagID tagID, int[] value) ``` public TiffShortTag(TiffTagID tagID, int[] value) ``` Initializes a new instance of the TiffShortTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | int[] | The value. | ### TiffSLongTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffslongtag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSLongTag extends TiffArrayTag ``` Represents a TIFF SLong tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSLongTag(TiffTagID tagID, int[] value) | Initializes a new instance of the TiffSLongTag class. | ##### TiffSLongTag(TiffTagID tagID, int[] value) ``` public TiffSLongTag(TiffTagID tagID, int[] value) ``` Initializes a new instance of the TiffSLongTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | int[] | The value. | ### TiffSRational Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffsrational.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class TiffSRational implements System.IEquatable ``` Represents signed rational number. #### Constructors | Constructor | Description | | --- | --- | | TiffSRational(int numerator, int denominator) | Initializes a new instance of the TiffSRational class. | #### Methods | Method | Description | | --- | --- | | getNumerator() | Gets numerator. | | getDenominator() | Gets denominator. | | getValue() | Gets actual value represented as double. | | equals(TiffSRational rational, TiffSRational other) | Compares pair of TiffSRational . | | equals(TiffSRational other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Indicates whether the current object is equal to another object of the same type. | | hashCode() | Returns a hash code for this instance. | | op_Equality(TiffSRational left, TiffSRational right) | Indicates whether two objects of the same type are equal. | | op_Inequality(TiffSRational left, TiffSRational right) | Indicates whether two objects of the same type are not equal. | | toString() | Returns a System.String that represents this instance. | ##### TiffSRational(int numerator, int denominator) ``` public TiffSRational(int numerator, int denominator) ``` Initializes a new instance of the TiffSRational class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | int | The numerator. | | denominator | int | The denominator. | ##### getNumerator() ``` public final int getNumerator() ``` Gets numerator. **Returns:** int - The numerator. ##### getDenominator() ``` public final int getDenominator() ``` Gets denominator. **Returns:** int - The denominator. ##### getValue() ``` public final double getValue() ``` Gets actual value represented as double. **Returns:** double - Double value. ##### equals(TiffSRational rational, TiffSRational other) ``` public static boolean equals(TiffSRational rational, TiffSRational other) ``` Compares pair of TiffSRational . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rational | TiffSRational | Comparing item. | | other | TiffSRational | Other item. | **Returns:** boolean - true if objects are equal; otherwise false . ##### equals(TiffSRational other) ``` public final boolean equals(TiffSRational other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | TiffSRational | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false . ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the obj parameter; otherwise, false . ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ##### op_Equality(TiffSRational left, TiffSRational right) ``` public static boolean op_Equality(TiffSRational left, TiffSRational right) ``` Indicates whether two objects of the same type are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffSRational | The left object. | | right | TiffSRational | The rigt object. | **Returns:** boolean - True if the objects are equal; otherwise, false. ##### op_Inequality(TiffSRational left, TiffSRational right) ``` public static boolean op_Inequality(TiffSRational left, TiffSRational right) ``` Indicates whether two objects of the same type are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | TiffSRational | The left object. | | right | TiffSRational | The rigt object. | **Returns:** boolean - True if the objects are not equal; otherwise, false. ##### toString() ``` public String toString() ``` Returns a System.String that represents this instance. **Returns:** java.lang.String - A System.String that represents this instance. ### TiffSRationalTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffsrationaltag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSRationalTag extends TiffArrayTag ``` Represents a TIFF SRational tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSRationalTag(TiffTagID tagID, TiffSRational[] value) | Initializes a new instance of the TiffSRationalTag class. | ##### TiffSRationalTag(TiffTagID tagID, TiffSRational[] value) ``` public TiffSRationalTag(TiffTagID tagID, TiffSRational[] value) ``` Initializes a new instance of the TiffSRationalTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | TiffSRational\[\] | The value. | ### TiffSShortTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffsshorttag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffSShortTag extends TiffArrayTag ``` Represents a TIFF SShort tag. #### Constructors | Constructor | Description | | --- | --- | | TiffSShortTag(TiffTagID tagID, short[] value) | Initializes a new instance of the TiffSShortTag class. | ##### TiffSShortTag(TiffTagID tagID, short[] value) ``` public TiffSShortTag(TiffTagID tagID, short[] value) ``` Initializes a new instance of the TiffSShortTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | short[] | The value. | ### TiffTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tifftag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty ``` public abstract class TiffTag extends MetadataProperty ``` Represents a TIFF tag. #### Methods | Method | Description | | --- | --- | | getTagType() | Gets the type of the tag. | | getTagID() | Gets the tag id. | ##### getTagType() ``` public final TiffTagType getTagType() ``` Gets the type of the tag. **Returns:** TiffTagType - The tag type. ##### getTagID() ``` public final TiffTagID getTagID() ``` Gets the tag id. **Returns:** TiffTagID - The tag id. ### TiffTagID Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tifftagid.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public final class TiffTagID implements IEnumValue ``` Defines ids of TIFF tags. #### Fields | Field | Description | | --- | --- | | GpsVersionID | Indicates the version of GPSInfoIFD. | | GpsLatitudeRef | Indicates whether the latitude is north or south latitude. | | GpsLatitude | Indicates the latitude. | | GpsLongitudeRef | Indicates whether the longitude is east or west longitude. | | GpsLongitude | Indicates the longitude. | | GpsAltitudeRef | Indicates the altitude used as the reference altitude. | | GpsAltitude | Indicates the altitude based on the reference in GPSAltitudeRef. | | GpsTimeStamp | Indicates the time as UTC (Coordinated Universal Time). | | GpsSatellites | ndicates the GPS satellites used for measurements. | | GpsStatus | Indicates the status of the GPS receiver when the image is recorded. | | GpsMeasureMode | Indicates the GPS measurement mode. | | GpsDop | Indicates the GPS DOP (data degree of precision). | | GpsSpeedRef | Indicates the unit used to express the GPS receiver speed of movement | | GpsSpeed | Indicates the speed of GPS receiver movement. | | GpsTrackRef | Indicates the reference for giving the direction of GPS receiver movement. | | GpsTrack | Indicates the direction of GPS receiver movement. | | GpsImgDirectionRef | Indicates the reference for giving the direction of the image when it is captured. | | GpsImgDirection | Indicates the direction of the image when it was captured. | | GpsMapDatum | Indicates the geodetic survey data used by the GPS receiver. | | GpsDestLatitudeRef | Indicates whether the latitude of the destination point is north or south latitude. | | GpsDestLatitude | Indicates the latitude of the destination point. | | GpsDestLongitudeRef | Indicates whether the longitude of the destination point is east or west longitude. | | GpsDestLongitude | Indicates the longitude of the destination point. | | GpsDestBearingRef | Indicates the reference used for giving the bearing to the destination point. | | GpsDestBearing | Indicates the bearing to the destination point. | | GpsDestDistanceRef | Indicates the unit used to express the distance to the destination point. | | GpsDestDistance | Indicates the distance to the destination point. | | GpsProcessingMethod | A character string recording the name of the method used for location finding. | | GpsAreaInformation | A character string recording the name of the GPS area. | | GpsDateStamp | A character string recording date and time information relative to UTC (Coordinated Universal Time). | | GpsDifferential | Indicates whether differential correction is applied to the GPS receiver. | | GpsHPositioningError | This tag indicates horizontal positioning errors in meters. | | NewSubfileType | A general indication of the kind of data contained in this sub-file. | | SubfileType | A general indication of the kind of data contained in this subfile. | | ImageWidth | The number of columns in the image, i.e., the number of pixels per scan line. | | ImageLength | The number of rows (sometimes described as scan lines) in the image. | | BitsPerSample | Number of bits per component. | | Compression | Compression scheme used on the image data. | | PhotometricInterpretation | The color space of the image data. | | Threshholding | For black and white TIFF files that represent shades of gray, the technique used to convert from gray to black and white pixels. | | CellWidth | The width of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. | | CellLength | The length of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. | | FillOrder | The logical order of bits within a byte. | | DocumentName | The name of the document from which this image was scanned. | | ImageDescription | A string that describes the subject of the image. | | Make | The scanner manufacturer. | | Model | The scanner model name or number. | | StripOffsets | For each strip, the byte offset of that strip. | | Orientation | The orientation of the image with respect to the rows and columns. | | SamplesPerPixel | The number of components per pixel. | | RowsPerStrip | The number of rows per strip. | | StripByteCounts | For each strip, the number of bytes in the strip after compression. | | MinSampleValue | The minimum component value used. | | MaxSampleValue | The maximum component value used. | | XResolution | The number of pixels per ResolutionUnit in the ImageWidth direction. | | YResolution | The number of pixels per ResolutionUnit in the ImageLength direction. | | PlanarConfiguration | How the components of each pixel are stored. | | PageName | The name of the page from which this image was scanned. | | XPosition | X position of the image. | | YPosition | Y position of the image. | | FreeOffsets | For each string of contiguous unused bytes in a TIFF file, the byte offset of the string. | | FreeByteCounts | For each string of contiguous unused bytes in a TIFF file, the number of bytes in the string. | | GrayResponseUnit | The precision of the information contained in the GrayResponseCurve. | | GrayResponseCurve | For grayscale data, the optical density of each possible pixel value. | | T4Options | T4-encoding options. | | T6Options | T6-encoding options. | | ResolutionUnit | The unit of measurement for XResolution and YResolution. | | PageNumber | The page number of the page from which this image was scanned. | | TransferFunction | Describes a transfer function for the image in tabular style. | | Software | Name and version number of the software package(s) used to create the image. | | DateTime | Date and time of image creation. | | Artist | Person who created the image. | | HostComputer | The computer and/or operating system in use at the time of image creation. | | Predictor | This section defines a Predictor that greatly improves compression ratios for some images. | | WhitePoint | The chromaticity of the white point of the image. | | PrimaryChromaticities | The chromaticities of the primaries of the image. | | ColorMap | A color map for palette color images. | | HalftoneHints | The purpose of the HalftoneHints field is to convey to the halftone function the range of gray levels within a colorimetrically-specified image that should retain tonal detail. | | TileWidth | The tile width in pixels. | | TileLength | The tile length (height) in pixels. | | TileOffsets | For each tile, the byte offset of that tile, as compressed and stored on disk. | | TileByteCounts | For each tile, the number of (compressed) bytes in that tile. | | InkSet | The set of inks used in a separated (PhotometricInterpretation=5) image. | | InkNames | The name of each ink used in a separated (PhotometricInterpretation=5) image, written as a list of concatenated, NUL-terminated ASCII strings. | | NumberOfInks | The number of inks. | | DotRange | The component values that correspond to a 0% dot and 100% dot. | | ExtraSamples | Description of extra components. | | SampleFormat | This field specifies how to interpret each data sample in a pixel. | | SMinSampleValue | This field specifies the minimum sample value. | | SMaxSampleValue | This new field specifies the maximum sample value. | | TransferRange | Expands the range of the TransferFunction. | | JpegProc | This Field indicates the JPEG process used to produce the compressed data. | | JpegInterchangeFormat | This Field indicates whether a JPEG interchange format bitstream is present in the TIFF file. | | JpegInterchangeFormatLength | This Field indicates the length in bytes of the JPEG interchange format bitstream | | JpegRestartInterval | This Field indicates the length of the restart interval used in the compressed image data. | | JpegLosslessPredictors | This Field points to a list of lossless predictor-selection values, one per component. | | JpegPointTransforms | This Field points to a list of point transform values, one per component. | | JpegQTables | This Field points to a list of offsets to the quantization tables, one per component. | | JpegDCTables | This Field points to a list of offsets to the DC Huffman tables or the lossless Huffman tables, one per component. | | JpegACTables | This Field points to a list of offsets to the Huffman AC tables, one per component. | | YCbCrCoefficients | The matrix cofficients for transformation from RGB to YCbCr image data. | | YCbCrSubSampling | The sampling ratio of chrominance components in relation to the luminance component. | | YCbCrPositioning | Specifies the positioning of subsampled chrominance components relative to luminance samples. | | ReferenceBlackWhite | Specifies a pair of headroom and footroom image data values (codes) for each pixel component. | | Copyright | Copyright notice. | | UserComment | Keywords or comments on the image; complements ImageDescription. | | Xmp | Pointer to the XMP metadata. | | ImageID | OPI-related. | | Iptc | IPTC (International Press Telecommunications Council) metadata. | | Photoshop | Collection of Photoshop 'Image Resource Blocks'. | | ImageLayer | Image layer. | | IccProfile | Color profile data. | | ExifIfd | Pointer to collection of all EXIF Metadata. | | GpsIfd | Pointer to GPS data. | | Makernotes | Pointer to makernotes data. | | InteroperabilityIfd | Exif-related Interoperability IFD. | | CameraOwnerName | Camera owner name as ASCII string. | | BodySerialNumber | Camera body serial number as ASCII string. | | CfaPattern | ndicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | ExifVersion | The version of the EXIF standard supported. | | ComponentsConfiguration | Information specific to the compressed data. | | FlashpixVersion | The Flashpix format version supported by a FPXR file. | | ColorSpace | The color space information tag (ColorSpace) is always recorded as the color space specifier. | | PixelXDimension | Information specific to compressed data. | | PixelYDimension | Information specific to compressed data. | | SceneCaptureType | This tag indicates the type of scene that was shot. | | Gamma | Indicates the value of coefficient gamma. | | CompressedBitsPerPixel | Information specific to compressed data. | | RelatedSoundFile | This tag is used to record the name of an audio file related to the image data. | | DateTimeOriginal | The date and time when the original image data was generated. | | DateTimeDigitized | The date and time when the image was stored as digital data. | | OffsetTime | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag. | | OffsetTimeOriginal | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag. | | OffsetTimeDigitized | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag. | | SubsecTime | A tag used to record fractions of seconds for the DateTime tag. | | SubsecTimeOriginal | A tag used to record fractions of seconds for the DateTimeOriginal tag. | | SubsecTimeDigitized | A tag used to record fractions of seconds for the DateTimeDigitized tag. | | ExposureTime | Exposure time, given in seconds (sec). | | FNumber | The F number. | | ExposureProgram | The class of the program used by the camera to set exposure when the picture is taken. | | SpectralSensitivity | Indicates the spectral sensitivity of each channel of the camera used. | | PhotographicSensitivity | This tag indicates the sensitivity of the camera or input device when the image was shot. | | Oecf | Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. | | SensitivityType | The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag. | | StandardOutputSensitivity | This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. | | RecommendedExposureIndex | This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. | | IsoSpeed | This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. | | ISOSpeedLatitudeYyy | This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. | | ISOSpeedLatitudeZzz | This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. | | ShutterSpeedValue | Shutter speed. | | ApertureValue | The lens aperture. | | BrightnessValue | The value of brightness. | | ExposureBiasValue | The exposure bias. | | MaxApertureValue | The smallest F number of the lens. | | SubjectDistance | The distance to the subject, given in meters. | | MeteringMode | The metering mode. | | LightSource | The kind of light source. | | Flash | This tag indicates the status of flash when the image was shot. | | SubjectArea | This tag indicates the location and area of the main subject in the overall scene. | | FocalLength | The actual focal length of the lens, in mm. | | FlashEnergy | Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). | | SpatialFrequencyResponse | This tag records the camera or input device spatial frequency table and SFR values in the direction of image width, image height, and diagonal direction, as specified in ISO 12233. | | FocalPlaneXResolution | Indicates the number of pixels in the image width (X) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FocalPlaneYResolution | Indicates the number of pixels in the image height (Y) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FocalPlaneResolutionUnit | Indicates the unit for measuring FocalPlaneXResolution and FocalPlaneYResolution. | | SubjectLocation | Indicates the location of the main subject in the scene. | | ExposureIndex | Indicates the exposure index selected on the camera or input device at the time the image is captured. | | SensingMethod | Indicates the image sensor type on the camera or input device. | | FileSource | Indicates the image source. | | SceneType | Indicates the type of scene. | | CustomRendered | This tag indicates the use of special processing on image data, such as rendering geared to output. | | ExposureMode | This tag indicates the exposure mode set when the image was shot. | | WhiteBalance | This tag indicates the white balance mode set when the image was shot. | | DigitalZoomRatio | This tag indicates the digital zoom ratio when the image was shot. | | FocalLengthIn35mmFilm | This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. | | GainControl | This tag indicates the degree of overall image gain adjustment. | | Contrast | This tag indicates the direction of contrast processing applied by the camera when the image was shot. | | Saturation | This tag indicates the direction of saturation processing applied by the camera when the image was shot. | | Sharpness | This tag indicates the direction of sharpness processing applied by the camera when the image was shot. | | DeviceSettingDescription | This tag indicates information on the picture-taking conditions of a particular camera model. | | SubjectDistanceRange | This tag indicates the distance to the subject. | | CompositeImage | This tag indicates whether the recorded image is a composite image\* or not. | | SourceImageNumberOfCompositeImage | This tag indicates the number of the source images (tentatively recorded images) captured for a composite Image. | | SourceExposureTimesOfCompositeImage | For a composite image, this tag records the parameters relating exposure time of the exposures for generating the said composite image, such as respective exposure times of captured source images (tentatively recorded images). | | Temperature | Temperature as the ambient situation at the shot, for example the room temperature where the photographer was holding the camera. | | Humidity | Humidity as the ambient situation at the shot, for example the room humidity where the photographer was holding the camera. | | Pressure | Pressure as the ambient situation at the shot, for example the room atmospfere where the photographer was holding the camera or the water pressure under the sea. | | WaterDepth | Water depth as the ambient situation at the shot, for example the water depth of the camera at underwater photography. | | Acceleration | Acceleration (a scalar regardless of direction) as the ambient situation at the shot, for example the driving acceleration of the vehicle which the photographer rode on at the shot. | | CameraElevationAngle | Elevation/depression. | | ImageUniqueID | This tag indicates an identifier assigned uniquely to each image. | | LensSpecification | This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. | | LensMake | This tag records the lens manufacturer as an ASCII string. | | LensModel | This tag records the lens\\u2019s model name and model number as an ASCII string. | | LensSerialNumber | This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. | #### Methods | Method | Description | | --- | --- | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | values() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | | name() | | | equals(Object o) | | | hashCode() | | ##### GpsVersionID ``` public static final TiffTagID GpsVersionID ``` Indicates the version of GPSInfoIFD. ##### GpsLatitudeRef ``` public static final TiffTagID GpsLatitudeRef ``` Indicates whether the latitude is north or south latitude. ##### GpsLatitude ``` public static final TiffTagID GpsLatitude ``` Indicates the latitude. ##### GpsLongitudeRef ``` public static final TiffTagID GpsLongitudeRef ``` Indicates whether the longitude is east or west longitude. ##### GpsLongitude ``` public static final TiffTagID GpsLongitude ``` Indicates the longitude. ##### GpsAltitudeRef ``` public static final TiffTagID GpsAltitudeRef ``` Indicates the altitude used as the reference altitude. ##### GpsAltitude ``` public static final TiffTagID GpsAltitude ``` Indicates the altitude based on the reference in GPSAltitudeRef. ##### GpsTimeStamp ``` public static final TiffTagID GpsTimeStamp ``` Indicates the time as UTC (Coordinated Universal Time). ##### GpsSatellites ``` public static final TiffTagID GpsSatellites ``` ndicates the GPS satellites used for measurements. ##### GpsStatus ``` public static final TiffTagID GpsStatus ``` Indicates the status of the GPS receiver when the image is recorded. ##### GpsMeasureMode ``` public static final TiffTagID GpsMeasureMode ``` Indicates the GPS measurement mode. ##### GpsDop ``` public static final TiffTagID GpsDop ``` Indicates the GPS DOP (data degree of precision). ##### GpsSpeedRef ``` public static final TiffTagID GpsSpeedRef ``` Indicates the unit used to express the GPS receiver speed of movement ##### GpsSpeed ``` public static final TiffTagID GpsSpeed ``` Indicates the speed of GPS receiver movement. ##### GpsTrackRef ``` public static final TiffTagID GpsTrackRef ``` Indicates the reference for giving the direction of GPS receiver movement. ##### GpsTrack ``` public static final TiffTagID GpsTrack ``` Indicates the direction of GPS receiver movement. ##### GpsImgDirectionRef ``` public static final TiffTagID GpsImgDirectionRef ``` Indicates the reference for giving the direction of the image when it is captured. ##### GpsImgDirection ``` public static final TiffTagID GpsImgDirection ``` Indicates the direction of the image when it was captured. ##### GpsMapDatum ``` public static final TiffTagID GpsMapDatum ``` Indicates the geodetic survey data used by the GPS receiver. ##### GpsDestLatitudeRef ``` public static final TiffTagID GpsDestLatitudeRef ``` Indicates whether the latitude of the destination point is north or south latitude. ##### GpsDestLatitude ``` public static final TiffTagID GpsDestLatitude ``` Indicates the latitude of the destination point. ##### GpsDestLongitudeRef ``` public static final TiffTagID GpsDestLongitudeRef ``` Indicates whether the longitude of the destination point is east or west longitude. ##### GpsDestLongitude ``` public static final TiffTagID GpsDestLongitude ``` Indicates the longitude of the destination point. ##### GpsDestBearingRef ``` public static final TiffTagID GpsDestBearingRef ``` Indicates the reference used for giving the bearing to the destination point. ##### GpsDestBearing ``` public static final TiffTagID GpsDestBearing ``` Indicates the bearing to the destination point. ##### GpsDestDistanceRef ``` public static final TiffTagID GpsDestDistanceRef ``` Indicates the unit used to express the distance to the destination point. ##### GpsDestDistance ``` public static final TiffTagID GpsDestDistance ``` Indicates the distance to the destination point. ##### GpsProcessingMethod ``` public static final TiffTagID GpsProcessingMethod ``` A character string recording the name of the method used for location finding. ##### GpsAreaInformation ``` public static final TiffTagID GpsAreaInformation ``` A character string recording the name of the GPS area. ##### GpsDateStamp ``` public static final TiffTagID GpsDateStamp ``` A character string recording date and time information relative to UTC (Coordinated Universal Time). ##### GpsDifferential ``` public static final TiffTagID GpsDifferential ``` Indicates whether differential correction is applied to the GPS receiver. ##### GpsHPositioningError ``` public static final TiffTagID GpsHPositioningError ``` This tag indicates horizontal positioning errors in meters. ##### NewSubfileType ``` public static final TiffTagID NewSubfileType ``` A general indication of the kind of data contained in this sub-file. ##### SubfileType ``` public static final TiffTagID SubfileType ``` A general indication of the kind of data contained in this subfile. This field is deprecated. The NewSubfileType field should be used instead ##### ImageWidth ``` public static final TiffTagID ImageWidth ``` The number of columns in the image, i.e., the number of pixels per scan line. ##### ImageLength ``` public static final TiffTagID ImageLength ``` The number of rows (sometimes described as scan lines) in the image. ##### BitsPerSample ``` public static final TiffTagID BitsPerSample ``` Number of bits per component. ##### Compression ``` public static final TiffTagID Compression ``` Compression scheme used on the image data. ##### PhotometricInterpretation ``` public static final TiffTagID PhotometricInterpretation ``` The color space of the image data. ##### Threshholding ``` public static final TiffTagID Threshholding ``` For black and white TIFF files that represent shades of gray, the technique used to convert from gray to black and white pixels. ##### CellWidth ``` public static final TiffTagID CellWidth ``` The width of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. ##### CellLength ``` public static final TiffTagID CellLength ``` The length of the dithering or halftoning matrix used to create a dithered or halftoned bi-level file. ##### FillOrder ``` public static final TiffTagID FillOrder ``` The logical order of bits within a byte. ##### DocumentName ``` public static final TiffTagID DocumentName ``` The name of the document from which this image was scanned. ##### ImageDescription ``` public static final TiffTagID ImageDescription ``` A string that describes the subject of the image. ##### Make ``` public static final TiffTagID Make ``` The scanner manufacturer. ##### Model ``` public static final TiffTagID Model ``` The scanner model name or number. ##### StripOffsets ``` public static final TiffTagID StripOffsets ``` For each strip, the byte offset of that strip. ##### Orientation ``` public static final TiffTagID Orientation ``` The orientation of the image with respect to the rows and columns. ##### SamplesPerPixel ``` public static final TiffTagID SamplesPerPixel ``` The number of components per pixel. ##### RowsPerStrip ``` public static final TiffTagID RowsPerStrip ``` The number of rows per strip. ##### StripByteCounts ``` public static final TiffTagID StripByteCounts ``` For each strip, the number of bytes in the strip after compression. ##### MinSampleValue ``` public static final TiffTagID MinSampleValue ``` The minimum component value used. ##### MaxSampleValue ``` public static final TiffTagID MaxSampleValue ``` The maximum component value used. ##### XResolution ``` public static final TiffTagID XResolution ``` The number of pixels per ResolutionUnit in the ImageWidth direction. ##### YResolution ``` public static final TiffTagID YResolution ``` The number of pixels per ResolutionUnit in the ImageLength direction. ##### PlanarConfiguration ``` public static final TiffTagID PlanarConfiguration ``` How the components of each pixel are stored. ##### PageName ``` public static final TiffTagID PageName ``` The name of the page from which this image was scanned. ##### XPosition ``` public static final TiffTagID XPosition ``` X position of the image. ##### YPosition ``` public static final TiffTagID YPosition ``` Y position of the image. ##### FreeOffsets ``` public static final TiffTagID FreeOffsets ``` For each string of contiguous unused bytes in a TIFF file, the byte offset of the string. ##### FreeByteCounts ``` public static final TiffTagID FreeByteCounts ``` For each string of contiguous unused bytes in a TIFF file, the number of bytes in the string. ##### GrayResponseUnit ``` public static final TiffTagID GrayResponseUnit ``` The precision of the information contained in the GrayResponseCurve. ##### GrayResponseCurve ``` public static final TiffTagID GrayResponseCurve ``` For grayscale data, the optical density of each possible pixel value. ##### T4Options ``` public static final TiffTagID T4Options ``` T4-encoding options. ##### T6Options ``` public static final TiffTagID T6Options ``` T6-encoding options. ##### ResolutionUnit ``` public static final TiffTagID ResolutionUnit ``` The unit of measurement for XResolution and YResolution. ##### PageNumber ``` public static final TiffTagID PageNumber ``` The page number of the page from which this image was scanned. ##### TransferFunction ``` public static final TiffTagID TransferFunction ``` Describes a transfer function for the image in tabular style. Pixel components can be gamma-compensated, companded, non-uniformly quantized, or coded in some other way. The TransferFunction maps the pixel components from a non-linear BitsPerSample (e.g. 8-bit) form into a 16-bit linear form without a perceptible loss of accuracy. ##### Software ``` public static final TiffTagID Software ``` Name and version number of the software package(s) used to create the image. ##### DateTime ``` public static final TiffTagID DateTime ``` Date and time of image creation. ##### Artist ``` public static final TiffTagID Artist ``` Person who created the image. ##### HostComputer ``` public static final TiffTagID HostComputer ``` The computer and/or operating system in use at the time of image creation. ##### Predictor ``` public static final TiffTagID Predictor ``` This section defines a Predictor that greatly improves compression ratios for some images. ##### WhitePoint ``` public static final TiffTagID WhitePoint ``` The chromaticity of the white point of the image. ##### PrimaryChromaticities ``` public static final TiffTagID PrimaryChromaticities ``` The chromaticities of the primaries of the image. ##### ColorMap ``` public static final TiffTagID ColorMap ``` A color map for palette color images. ##### HalftoneHints ``` public static final TiffTagID HalftoneHints ``` The purpose of the HalftoneHints field is to convey to the halftone function the range of gray levels within a colorimetrically-specified image that should retain tonal detail. ##### TileWidth ``` public static final TiffTagID TileWidth ``` The tile width in pixels. This is the number of columns in each tile. ##### TileLength ``` public static final TiffTagID TileLength ``` The tile length (height) in pixels. This is the number of rows in each tile. ##### TileOffsets ``` public static final TiffTagID TileOffsets ``` For each tile, the byte offset of that tile, as compressed and stored on disk. The offset is specified with respect to the beginning of the TIFF file. Note that this implies that each tile has a location independent of the locations of other tiles. ##### TileByteCounts ``` public static final TiffTagID TileByteCounts ``` For each tile, the number of (compressed) bytes in that tile. ##### InkSet ``` public static final TiffTagID InkSet ``` The set of inks used in a separated (PhotometricInterpretation=5) image. ##### InkNames ``` public static final TiffTagID InkNames ``` The name of each ink used in a separated (PhotometricInterpretation=5) image, written as a list of concatenated, NUL-terminated ASCII strings. ##### NumberOfInks ``` public static final TiffTagID NumberOfInks ``` The number of inks. Usually equal to SamplesPerPixel, unless there are extra samples. ##### DotRange ``` public static final TiffTagID DotRange ``` The component values that correspond to a 0% dot and 100% dot. DotRange[0] corresponds to a 0% dot, and DotRange[1] corresponds to a 100% dot. ##### ExtraSamples ``` public static final TiffTagID ExtraSamples ``` Description of extra components. ##### SampleFormat ``` public static final TiffTagID SampleFormat ``` This field specifies how to interpret each data sample in a pixel. ##### SMinSampleValue ``` public static final TiffTagID SMinSampleValue ``` This field specifies the minimum sample value. ##### SMaxSampleValue ``` public static final TiffTagID SMaxSampleValue ``` This new field specifies the maximum sample value. ##### TransferRange ``` public static final TiffTagID TransferRange ``` Expands the range of the TransferFunction. ##### JpegProc ``` public static final TiffTagID JpegProc ``` This Field indicates the JPEG process used to produce the compressed data. ##### JpegInterchangeFormat ``` public static final TiffTagID JpegInterchangeFormat ``` This Field indicates whether a JPEG interchange format bitstream is present in the TIFF file. ##### JpegInterchangeFormatLength ``` public static final TiffTagID JpegInterchangeFormatLength ``` This Field indicates the length in bytes of the JPEG interchange format bitstream ##### JpegRestartInterval ``` public static final TiffTagID JpegRestartInterval ``` This Field indicates the length of the restart interval used in the compressed image data. ##### JpegLosslessPredictors ``` public static final TiffTagID JpegLosslessPredictors ``` This Field points to a list of lossless predictor-selection values, one per component. ##### JpegPointTransforms ``` public static final TiffTagID JpegPointTransforms ``` This Field points to a list of point transform values, one per component. ##### JpegQTables ``` public static final TiffTagID JpegQTables ``` This Field points to a list of offsets to the quantization tables, one per component. ##### JpegDCTables ``` public static final TiffTagID JpegDCTables ``` This Field points to a list of offsets to the DC Huffman tables or the lossless Huffman tables, one per component. ##### JpegACTables ``` public static final TiffTagID JpegACTables ``` This Field points to a list of offsets to the Huffman AC tables, one per component. ##### YCbCrCoefficients ``` public static final TiffTagID YCbCrCoefficients ``` The matrix cofficients for transformation from RGB to YCbCr image data. ##### YCbCrSubSampling ``` public static final TiffTagID YCbCrSubSampling ``` The sampling ratio of chrominance components in relation to the luminance component. ##### YCbCrPositioning ``` public static final TiffTagID YCbCrPositioning ``` Specifies the positioning of subsampled chrominance components relative to luminance samples. ##### ReferenceBlackWhite ``` public static final TiffTagID ReferenceBlackWhite ``` Specifies a pair of headroom and footroom image data values (codes) for each pixel component. ##### Copyright ``` public static final TiffTagID Copyright ``` Copyright notice. ##### UserComment ``` public static final TiffTagID UserComment ``` Keywords or comments on the image; complements ImageDescription. ##### Xmp ``` public static final TiffTagID Xmp ``` Pointer to the XMP metadata. ##### ImageID ``` public static final TiffTagID ImageID ``` OPI-related. ##### Iptc ``` public static final TiffTagID Iptc ``` IPTC (International Press Telecommunications Council) metadata. Often times, the data type is incorrectly specified as LONG. ##### Photoshop ``` public static final TiffTagID Photoshop ``` Collection of Photoshop 'Image Resource Blocks'. ##### ImageLayer ``` public static final TiffTagID ImageLayer ``` Image layer. ##### IccProfile ``` public static final TiffTagID IccProfile ``` Color profile data. ##### ExifIfd ``` public static final TiffTagID ExifIfd ``` Pointer to collection of all EXIF Metadata. EXIF uses field names rather than tags to indicate the field content. ##### GpsIfd ``` public static final TiffTagID GpsIfd ``` Pointer to GPS data. ##### Makernotes ``` public static final TiffTagID Makernotes ``` Pointer to makernotes data. ##### InteroperabilityIfd ``` public static final TiffTagID InteroperabilityIfd ``` Exif-related Interoperability IFD. ##### CameraOwnerName ``` public static final TiffTagID CameraOwnerName ``` Camera owner name as ASCII string. ##### BodySerialNumber ``` public static final TiffTagID BodySerialNumber ``` Camera body serial number as ASCII string. ##### CfaPattern ``` public static final TiffTagID CfaPattern ``` ndicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods. ##### ExifVersion ``` public static final TiffTagID ExifVersion ``` The version of the EXIF standard supported. ##### ComponentsConfiguration ``` public static final TiffTagID ComponentsConfiguration ``` Information specific to the compressed data. The channels of each component are arranged in order from the 1st component to the 4th. ##### FlashpixVersion ``` public static final TiffTagID FlashpixVersion ``` The Flashpix format version supported by a FPXR file. If the FPXR function supports Flashpix format Ver. 1.0, this is indicated similarly to ExifVersion by recording "0100" as 4-byte ASCII. ##### ColorSpace ``` public static final TiffTagID ColorSpace ``` The color space information tag (ColorSpace) is always recorded as the color space specifier. Normally sRGB (=1) is used to define the color space based on the PC monitor conditions and environment. If a color space other than sRGB is used, Uncalibrated (=FFFF.H) is set. ##### PixelXDimension ``` public static final TiffTagID PixelXDimension ``` Information specific to compressed data. When a compressed file is recorded, the valid width of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. ##### PixelYDimension ``` public static final TiffTagID PixelYDimension ``` Information specific to compressed data. When a compressed file is recorded, the valid height of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. ##### SceneCaptureType ``` public static final TiffTagID SceneCaptureType ``` This tag indicates the type of scene that was shot. It may also be used to record the mode in which the image was shot. ##### Gamma ``` public static final TiffTagID Gamma ``` Indicates the value of coefficient gamma. ##### CompressedBitsPerPixel ``` public static final TiffTagID CompressedBitsPerPixel ``` Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel. ##### RelatedSoundFile ``` public static final TiffTagID RelatedSoundFile ``` This tag is used to record the name of an audio file related to the image data. The only relational information recorded here is the Exif audio file name and extension (an ASCII string consisting of 8 characters + '.' + 3 characters). ##### DateTimeOriginal ``` public static final TiffTagID DateTimeOriginal ``` The date and time when the original image data was generated. For a DSC the date and time the picture was taken are recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. ##### DateTimeDigitized ``` public static final TiffTagID DateTimeDigitized ``` The date and time when the image was stored as digital data. If, for example, an image was captured by DSC and at the same time the file was recorded, then the DateTimeOriginal and DateTimeDigitized will have the same contents. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. ##### OffsetTime ``` public static final TiffTagID OffsetTime ``` A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". ##### OffsetTimeOriginal ``` public static final TiffTagID OffsetTimeOriginal ``` A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". ##### OffsetTimeDigitized ``` public static final TiffTagID OffsetTimeDigitized ``` A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag. The format when recording the offset is "±HH:MM". The part of "±" shall be recorded as "+" or "-". ##### SubsecTime ``` public static final TiffTagID SubsecTime ``` A tag used to record fractions of seconds for the DateTime tag. ##### SubsecTimeOriginal ``` public static final TiffTagID SubsecTimeOriginal ``` A tag used to record fractions of seconds for the DateTimeOriginal tag. ##### SubsecTimeDigitized ``` public static final TiffTagID SubsecTimeDigitized ``` A tag used to record fractions of seconds for the DateTimeDigitized tag. ##### ExposureTime ``` public static final TiffTagID ExposureTime ``` Exposure time, given in seconds (sec). ##### FNumber ``` public static final TiffTagID FNumber ``` The F number. ##### ExposureProgram ``` public static final TiffTagID ExposureProgram ``` The class of the program used by the camera to set exposure when the picture is taken. ##### SpectralSensitivity ``` public static final TiffTagID SpectralSensitivity ``` Indicates the spectral sensitivity of each channel of the camera used. The tag value is an ASCII string compatible with the standard developed by the ASTM Technical committee. ##### PhotographicSensitivity ``` public static final TiffTagID PhotographicSensitivity ``` This tag indicates the sensitivity of the camera or input device when the image was shot. ##### Oecf ``` public static final TiffTagID Oecf ``` Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. OECF is the relationship between the camera optical input and the image values. ##### SensitivityType ``` public static final TiffTagID SensitivityType ``` The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag. Although it is an optional tag, it should be recorded when a PhotographicSensitivity tag is recorded. ##### StandardOutputSensitivity ``` public static final TiffTagID StandardOutputSensitivity ``` This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. ##### RecommendedExposureIndex ``` public static final TiffTagID RecommendedExposureIndex ``` This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. ##### IsoSpeed ``` public static final TiffTagID IsoSpeed ``` This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. ##### ISOSpeedLatitudeYyy ``` public static final TiffTagID ISOSpeedLatitudeYyy ``` This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. ##### ISOSpeedLatitudeZzz ``` public static final TiffTagID ISOSpeedLatitudeZzz ``` This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. ##### ShutterSpeedValue ``` public static final TiffTagID ShutterSpeedValue ``` Shutter speed. The unit is the APEX (Additive System of Photographic Exposure) setting. ##### ApertureValue ``` public static final TiffTagID ApertureValue ``` The lens aperture. The unit is the APEX value. ##### BrightnessValue ``` public static final TiffTagID BrightnessValue ``` The value of brightness. The unit is the APEX value. ##### ExposureBiasValue ``` public static final TiffTagID ExposureBiasValue ``` The exposure bias. The unit is the APEX value. ##### MaxApertureValue ``` public static final TiffTagID MaxApertureValue ``` The smallest F number of the lens. The unit is the APEX value. ##### SubjectDistance ``` public static final TiffTagID SubjectDistance ``` The distance to the subject, given in meters. ##### MeteringMode ``` public static final TiffTagID MeteringMode ``` The metering mode. ##### LightSource ``` public static final TiffTagID LightSource ``` The kind of light source. ##### Flash ``` public static final TiffTagID Flash ``` This tag indicates the status of flash when the image was shot. Bit 0 indicates the flash firing status, bits 1 and 2 indicate the flash return status, bits 3 and 4 indicate the flash mode, bit 5 indicates whether the flash function is present, and bit 6 indicates "red eye" mode. ##### SubjectArea ``` public static final TiffTagID SubjectArea ``` This tag indicates the location and area of the main subject in the overall scene. ##### FocalLength ``` public static final TiffTagID FocalLength ``` The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera. ##### FlashEnergy ``` public static final TiffTagID FlashEnergy ``` Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). ##### SpatialFrequencyResponse ``` public static final TiffTagID SpatialFrequencyResponse ``` This tag records the camera or input device spatial frequency table and SFR values in the direction of image width, image height, and diagonal direction, as specified in ISO 12233. ##### FocalPlaneXResolution ``` public static final TiffTagID FocalPlaneXResolution ``` Indicates the number of pixels in the image width (X) direction per FocalPlaneResolutionUnit on the camera focal plane. ##### FocalPlaneYResolution ``` public static final TiffTagID FocalPlaneYResolution ``` Indicates the number of pixels in the image height (Y) direction per FocalPlaneResolutionUnit on the camera focal plane. ##### FocalPlaneResolutionUnit ``` public static final TiffTagID FocalPlaneResolutionUnit ``` Indicates the unit for measuring FocalPlaneXResolution and FocalPlaneYResolution. This value is the same as the ResolutionUnit. ##### SubjectLocation ``` public static final TiffTagID SubjectLocation ``` Indicates the location of the main subject in the scene. The value of this tag represents the pixel at the center of the main subject relative to the left edge, prior to rotation processing as per the Rotation tag. The first value indicates the X column number and second indicates the Y row number. ##### ExposureIndex ``` public static final TiffTagID ExposureIndex ``` Indicates the exposure index selected on the camera or input device at the time the image is captured. ##### SensingMethod ``` public static final TiffTagID SensingMethod ``` Indicates the image sensor type on the camera or input device. ##### FileSource ``` public static final TiffTagID FileSource ``` Indicates the image source. If a DSC recorded the image, this tag value always shall be set to 3. ##### SceneType ``` public static final TiffTagID SceneType ``` Indicates the type of scene. If a DSC recorded the image, this tag value shall always be set to 1, indicating that the image was directly photographed. ##### CustomRendered ``` public static final TiffTagID CustomRendered ``` This tag indicates the use of special processing on image data, such as rendering geared to output. ##### ExposureMode ``` public static final TiffTagID ExposureMode ``` This tag indicates the exposure mode set when the image was shot. In auto-bracketing mode, the camera shoots a series of frames of the same scene at different exposure settings. ##### WhiteBalance ``` public static final TiffTagID WhiteBalance ``` This tag indicates the white balance mode set when the image was shot. ##### DigitalZoomRatio ``` public static final TiffTagID DigitalZoomRatio ``` This tag indicates the digital zoom ratio when the image was shot. If the numerator of the recorded value is 0, this indicates that digital zoom was not used. ##### FocalLengthIn35mmFilm ``` public static final TiffTagID FocalLengthIn35mmFilm ``` This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. A value of 0 means the focal length is unknown. Note that this tag differs from the FocalLength tag. ##### GainControl ``` public static final TiffTagID GainControl ``` This tag indicates the degree of overall image gain adjustment. ##### Contrast ``` public static final TiffTagID Contrast ``` This tag indicates the direction of contrast processing applied by the camera when the image was shot. ##### Saturation ``` public static final TiffTagID Saturation ``` This tag indicates the direction of saturation processing applied by the camera when the image was shot. ##### Sharpness ``` public static final TiffTagID Sharpness ``` This tag indicates the direction of sharpness processing applied by the camera when the image was shot. ##### DeviceSettingDescription ``` public static final TiffTagID DeviceSettingDescription ``` This tag indicates information on the picture-taking conditions of a particular camera model. ##### SubjectDistanceRange ``` public static final TiffTagID SubjectDistanceRange ``` This tag indicates the distance to the subject. ##### CompositeImage ``` public static final TiffTagID CompositeImage ``` This tag indicates whether the recorded image is a composite image\* or not. ##### SourceImageNumberOfCompositeImage ``` public static final TiffTagID SourceImageNumberOfCompositeImage ``` This tag indicates the number of the source images (tentatively recorded images) captured for a composite Image. ##### SourceExposureTimesOfCompositeImage ``` public static final TiffTagID SourceExposureTimesOfCompositeImage ``` For a composite image, this tag records the parameters relating exposure time of the exposures for generating the said composite image, such as respective exposure times of captured source images (tentatively recorded images). ##### Temperature ``` public static final TiffTagID Temperature ``` Temperature as the ambient situation at the shot, for example the room temperature where the photographer was holding the camera. The unit is °C. ##### Humidity ``` public static final TiffTagID Humidity ``` Humidity as the ambient situation at the shot, for example the room humidity where the photographer was holding the camera. The unit is %. ##### Pressure ``` public static final TiffTagID Pressure ``` Pressure as the ambient situation at the shot, for example the room atmospfere where the photographer was holding the camera or the water pressure under the sea. The unit is hPa. ##### WaterDepth ``` public static final TiffTagID WaterDepth ``` Water depth as the ambient situation at the shot, for example the water depth of the camera at underwater photography. The unit is m. ##### Acceleration ``` public static final TiffTagID Acceleration ``` Acceleration (a scalar regardless of direction) as the ambient situation at the shot, for example the driving acceleration of the vehicle which the photographer rode on at the shot. The unit is mGal (10-5 m/s2). ##### CameraElevationAngle ``` public static final TiffTagID CameraElevationAngle ``` Elevation/depression. angle of the orientation of the camera(imaging optical axis) as the ambient situation at the shot. The unit is degree(°). ##### ImageUniqueID ``` public static final TiffTagID ImageUniqueID ``` This tag indicates an identifier assigned uniquely to each image. ##### LensSpecification ``` public static final TiffTagID LensSpecification ``` This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. ##### LensMake ``` public static final TiffTagID LensMake ``` This tag records the lens manufacturer as an ASCII string. ##### LensModel ``` public static final TiffTagID LensModel ``` This tag records the lens\\u2019s model name and model number as an ASCII string. ##### LensSerialNumber ``` public static final TiffTagID LensSerialNumber ``` This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. ##### getByRawValue(int rawValue) ``` public static TiffTagID getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** TiffTagID ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### values() ``` public static Iterable values() ``` **Returns:** java.lang.Iterable ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ##### name() ``` public String name() ``` Returns the name of this enumeration value. **Returns:** java.lang.String ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### TiffTagType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tifftagtype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum TiffTagType extends Enum implements IEnumValue ``` Represents the IFD data type. #### Fields | Field | Description | | --- | --- | | Byte | An 8-bit unsigned integer. | | Ascii | An 8-bit byte with a 7-bit ASCII character. | | Short | A 16-bit unsigned integer. | | Long | A 32-bit unsigned integer. | | Rational | A pair of LONGs, numerator then denominator. | | SByte | An 8-bit signed integer. | | Undefined | An undefined 8-bit byte. | | SShort | A 16-bit signed integer. | | SLong | A 32-bit signed integer. | | SRational | A pair of SLONGs, numerator then denominator. | | Float | A 4-byte IEEE floating point value. | | Double | An 8-byte IEEE floating point value. | | SubIfd | A 4-byte long offset value | | value | | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | get_Value() | | | set_Value(String value1) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getTiffTagType() | | | getRawValueType() | | | getRawValue() | | ##### Byte ``` public static final TiffTagType Byte ``` An 8-bit unsigned integer. ##### Ascii ``` public static final TiffTagType Ascii ``` An 8-bit byte with a 7-bit ASCII character. ##### Short ``` public static final TiffTagType Short ``` A 16-bit unsigned integer. ##### Long ``` public static final TiffTagType Long ``` A 32-bit unsigned integer. ##### Rational ``` public static final TiffTagType Rational ``` A pair of LONGs, numerator then denominator. ##### SByte ``` public static final TiffTagType SByte ``` An 8-bit signed integer. ##### Undefined ``` public static final TiffTagType Undefined ``` An undefined 8-bit byte. ##### SShort ``` public static final TiffTagType SShort ``` A 16-bit signed integer. ##### SLong ``` public static final TiffTagType SLong ``` A 32-bit signed integer. ##### SRational ``` public static final TiffTagType SRational ``` A pair of SLONGs, numerator then denominator. ##### Float ``` public static final TiffTagType Float ``` A 4-byte IEEE floating point value. ##### Double ``` public static final TiffTagType Double ``` An 8-byte IEEE floating point value. ##### SubIfd ``` public static final TiffTagType SubIfd ``` A 4-byte long offset value ##### value ``` public String value ``` ##### values() ``` public static TiffTagType[] values() ``` **Returns:** com.groupdocs.metadata.core.TiffTagType[] ##### valueOf(String name) ``` public static TiffTagType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** TiffTagType ##### get_Value() ``` public final String get_Value() ``` **Returns:** java.lang.String ##### set_Value(String value1) ``` public final void set_Value(String value1) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value1 | java.lang.String | | ##### getByRawValue(int rawValue) ``` public static TiffTagType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** TiffTagType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getTiffTagType() ``` public int getTiffTagType() ``` **Returns:** int ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### TiffUndefinedTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/tiffundefinedtag.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataProperty, com.groupdocs.metadata.core.TiffTag, com.groupdocs.metadata.core.TiffArrayTag ``` public final class TiffUndefinedTag extends TiffArrayTag ``` Represents a TIFF tag with the Undefined type. #### Constructors | Constructor | Description | | --- | --- | | TiffUndefinedTag(TiffTagID tagID, byte[] value) | Initializes a new instance of the TiffUndefinedTag class. | ##### TiffUndefinedTag(TiffTagID tagID, byte[] value) ``` public TiffUndefinedTag(TiffTagID tagID, byte[] value) ``` Initializes a new instance of the TiffUndefinedTag class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tagID | TiffTagID | The tag identifier. | | value | byte[] | The value. | ### TorrentPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/torrentpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class TorrentPackage extends CustomPackage ``` Represents torrent descriptor file metadata. Please find more information at [https://en.wikipedia.org/wiki/Torrent\_file][https_en.wikipedia.org_wiki_Torrent_file] . [https_en.wikipedia.org_wiki_Torrent_file]: https://en.wikipedia.org/wiki/Torrent_file [Working with TORRENT files]: https://docs.groupdocs.com/display/metadatajava/Working+with+TORRENT+files #### Methods | Method | Description | | --- | --- | | getAnnounce() | Gets the URL of the tracker. | | setAnnounce(String value) | Sets the URL of the tracker. | | getComment() | Gets the author's comment. | | setComment(String value) | Sets the author's comment. | | getCreationDate() | Gets the creation date of the torrent. | | setCreationDate(Date value) | Sets the creation date of the torrent. | | getCreatedBy() | Gets the name and version of the program used to create the torrent. | | setCreatedBy(String value) | Sets the name and version of the program used to create the torrent. | | getSharedFiles() | Gets an array containing shared file information entries. | | getPieceLength() | Gets the number of bytes in each piece. | | getPieces() | Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. | ##### getAnnounce() ``` public final String getAnnounce() ``` Gets the URL of the tracker. **Returns:** java.lang.String - The URL of the tracker. ##### setAnnounce(String value) ``` public final void setAnnounce(String value) ``` Sets the URL of the tracker. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URL of the tracker. | ##### getComment() ``` public final String getComment() ``` Gets the author's comment. **Returns:** java.lang.String - The author's comment. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the author's comment. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author's comment. | ##### getCreationDate() ``` public final Date getCreationDate() ``` Gets the creation date of the torrent. **Returns:** java.util.Date - The creation date of the torrent. ##### setCreationDate(Date value) ``` public final void setCreationDate(Date value) ``` Sets the creation date of the torrent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The creation date of the torrent. | ##### getCreatedBy() ``` public final String getCreatedBy() ``` Gets the name and version of the program used to create the torrent. **Returns:** java.lang.String - The name and version of the program used to create the torrent. ##### setCreatedBy(String value) ``` public final void setCreatedBy(String value) ``` Sets the name and version of the program used to create the torrent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name and version of the program used to create the torrent. | ##### getSharedFiles() ``` public final TorrentSharedFilePackage[] getSharedFiles() ``` Gets an array containing shared file information entries. **Returns:** com.groupdocs.metadata.core.TorrentSharedFilePackage[] - An array containing shared file information entries. ##### getPieceLength() ``` public final long getPieceLength() ``` Gets the number of bytes in each piece. For more information please see . **Returns:** long - The number of bytes in each piece. ##### getPieces() ``` public final byte[] getPieces() ``` Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. **Returns:** byte[] - A byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. ### TorrentRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/torrentrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class TorrentRootPackage extends RootMetadataPackage ``` Represents the root package intended to work with metadata of a TORRENT file. This code sample shows how to read metadata of a TORRENT file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputTorrent)) { > TorrentRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getTorrentPackage().getAnnounce()); > System.out.println(root.getTorrentPackage().getComment()); > System.out.println(root.getTorrentPackage().getCreatedBy()); > System.out.println(root.getTorrentPackage().getCreationDate()); > for (TorrentSharedFilePackage file : root.getTorrentPackage().getSharedFiles()) { > System.out.println(file.getName()); > System.out.println(file.getLength()); > } > // ... > } > > ``` > ``` [Working with TORRENT files]: https://docs.groupdocs.com/display/metadatajava/Working+with+TORRENT+files #### Methods | Method | Description | | --- | --- | | getTorrentPackage() | Gets the TORRENT file metadata package. | ##### getTorrentPackage() ``` public final TorrentPackage getTorrentPackage() ``` Gets the TORRENT file metadata package. **Returns:** TorrentPackage - The TORRENT file metadata package. ### TorrentSharedFilePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/torrentsharedfilepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class TorrentSharedFilePackage extends CustomPackage ``` Represents shared file information. Contains detailed info about each file in a torrent distribution. [Working with TORRENT files]: https://docs.groupdocs.com/display/metadatajava/Working+with+TORRENT+files #### Methods | Method | Description | | --- | --- | | getName() | Gets the full name of the file (relative path to the file from the root torrent folder). | | getLength() | Gets the length of the file in bytes. | ##### getName() ``` public final String getName() ``` Gets the full name of the file (relative path to the file from the root torrent folder). **Returns:** java.lang.String - The full name of the file (relative path to the file from the root torrent folder). ##### getLength() ``` public final long getLength() ``` Gets the length of the file in bytes. **Returns:** long - The length of the file in bytes. ### ValueAcceptor Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/valueacceptor.md **Inheritance:** java.lang.Object ``` public abstract class ValueAcceptor ``` Provides a base abstract class that allows extracting all supported types of values from a PropertyValue instance. #### Constructors | Constructor | Description | | --- | --- | | ValueAcceptor() | | ##### ValueAcceptor() ``` public ValueAcceptor() ``` ### ValueInterpreter Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/valueinterpreter.md **Inheritance:** java.lang.Object ``` public abstract class ValueInterpreter ``` Defines operations required to interpret metadata property values. #### Constructors | Constructor | Description | | --- | --- | | ValueInterpreter() | | #### Methods | Method | Description | | --- | --- | | getInterpretedValueType() | Gets the type of the interpreted value. | | toInterpretedValue(PropertyValue originalValue) | Interprets the provided property value. | | toSourceValue(PropertyValue interpretedValue) | Converts an interpreted value back to its original form. | ##### ValueInterpreter() ``` public ValueInterpreter() ``` ##### getInterpretedValueType() ``` public abstract MetadataPropertyType getInterpretedValueType() ``` Gets the type of the interpreted value. **Returns:** MetadataPropertyType - The type of the interpreted value. ##### toInterpretedValue(PropertyValue originalValue) ``` public final PropertyValue toInterpretedValue(PropertyValue originalValue) ``` Interprets the provided property value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | originalValue | PropertyValue | The value to interpret. | **Returns:** PropertyValue - The interpreted value. ##### toSourceValue(PropertyValue interpretedValue) ``` public final PropertyValue toSourceValue(PropertyValue interpretedValue) ``` Converts an interpreted value back to its original form. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | interpretedValue | PropertyValue | The interpreted value to convert. | **Returns:** PropertyValue - The original value. ### VCardAgentRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardagentrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardAgentRecord extends VCardRecord implements IVCardRecord ``` Represents vCard Agent record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final VCardCard getValue() ``` Gets the record value. **Returns:** VCardCard - The record value. ### VCardBasePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardbasepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class VCardBasePackage extends CustomPackage ``` Represents the base VCard metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata ### VCardBinaryRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardbinaryrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardBinaryRecord extends VCardRecord implements IVCardRecord ``` Represents vCard binary record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final byte[] getValue() ``` Gets the record value. **Returns:** byte[] - The record value. ### VCardCalendarRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardcalendarrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardCalendarRecordset extends VCardRecordset ``` Represents a set of Calendar vCard records. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getBusyTimeRecords() | Gets the URIs for the busy time associated with the object. | | getBusyTimeEntries() | Gets the URIs for the busy time associated with the object. | | getCalendarAddressRecords() | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | getCalendarAddresses() | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | getCalendarUriRecords() | Gets the URIs for the calendar associated with the object represented by the vCard. | | getUriCalendarEntries() | Gets the URIs for the calendar associated with the object represented by the vCard. | ##### getBusyTimeRecords() ``` public final VCardTextRecord[] getBusyTimeRecords() ``` Gets the URIs for the busy time associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs for the busy time associated with the object. ##### getBusyTimeEntries() ``` public final String[] getBusyTimeEntries() ``` Gets the URIs for the busy time associated with the object. **Returns:** java.lang.String[] - The URIs for the busy time associated with the object. This property is a simplified version of BusyTimeRecords . ##### getCalendarAddressRecords() ``` public final VCardTextRecord[] getCalendarAddressRecords() ``` Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ##### getCalendarAddresses() ``` public final String[] getCalendarAddresses() ``` Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. **Returns:** java.lang.String[] - The calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. This property is a simplified version of CalendarAddressRecords . ##### getCalendarUriRecords() ``` public final VCardTextRecord[] getCalendarUriRecords() ``` Gets the URIs for the calendar associated with the object represented by the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs for the calendar associated with the object represented by the vCard. ##### getUriCalendarEntries() ``` public final String[] getUriCalendarEntries() ``` Gets the URIs for the calendar associated with the object represented by the vCard. **Returns:** java.lang.String[] - The URIs for the calendar associated with the object represented by the vCard. This property is a simplified version of CalendarUriRecords . ### VCardCard Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardcard.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardCard extends VCardRecordset ``` Represents a single card extracted from a VCard file. This example shows how to use vCard property filters. > ``` > ``` > > public static void run() { > try (Metadata metadata = new Metadata(Constants.InputVcf)) { > VCardRootPackage root = metadata.getRootPackageGeneric(); > for (VCardCard vCard : root.getVCardPackage().getCards()) { > // Print most preferred work phone numbers and work emails > VCardCard filtered = vCard.filterWorkTags().filterPreferred(); > PrintArray(filtered.getCommunicationRecordset().getTelephones()); > PrintArray(filtered.getCommunicationRecordset().getEmails()); > } > } > } > private static void PrintArray(String[] values) { > if (values != null) { > for (String value : values) { > System.out.println(value); > } > } > } > > ``` > ``` [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getGeneralRecordset() | Gets the general records. | | getIdentificationRecordset() | Gets the identification records. | | getDeliveryAddressingRecordset() | Gets the delivery addressing records. | | getCommunicationRecordset() | Gets the communication records. | | getGeographicalRecordset() | Gets the geographical records. | | getOrganizationalRecordset() | Gets the organizational records. | | getExplanatoryRecordset() | Gets the explanatory records. | | getSecurityRecordset() | Gets the security records. | | getCalendarRecordset() | Gets the calendar records. | | getExtensionRecords() | Gets the private extension records. | | getAvailableGroups() | Gets the available group names. | | filterByGroup(String groupName) | Filters all vCard records by the group name passed as a parameter. | | filterHomeTags() | Filters all vCard records marked with the HOME tag. | | filterWorkTags() | Filters all vCard records marked with the WORK tag. | | filterPreferred() | Filters the preferred records. | ##### getGeneralRecordset() ``` public final VCardGeneralRecordset getGeneralRecordset() ``` Gets the general records. **Returns:** VCardGeneralRecordset - The general records. ##### getIdentificationRecordset() ``` public final VCardIdentificationRecordset getIdentificationRecordset() ``` Gets the identification records. **Returns:** VCardIdentificationRecordset - The identification records. ##### getDeliveryAddressingRecordset() ``` public final VCardDeliveryAddressingRecordset getDeliveryAddressingRecordset() ``` Gets the delivery addressing records. **Returns:** VCardDeliveryAddressingRecordset - The delivery addressing records. ##### getCommunicationRecordset() ``` public final VCardCommunicationRecordset getCommunicationRecordset() ``` Gets the communication records. **Returns:** VCardCommunicationRecordset - The communication records. ##### getGeographicalRecordset() ``` public final VCardGeographicalRecordset getGeographicalRecordset() ``` Gets the geographical records. **Returns:** VCardGeographicalRecordset - The geographical records. ##### getOrganizationalRecordset() ``` public final VCardOrganizationalRecordset getOrganizationalRecordset() ``` Gets the organizational records. **Returns:** VCardOrganizationalRecordset - The organizational records. ##### getExplanatoryRecordset() ``` public final VCardExplanatoryRecordset getExplanatoryRecordset() ``` Gets the explanatory records. **Returns:** VCardExplanatoryRecordset - The explanatory records. ##### getSecurityRecordset() ``` public final VCardSecurityRecordset getSecurityRecordset() ``` Gets the security records. **Returns:** VCardSecurityRecordset - The security records. ##### getCalendarRecordset() ``` public final VCardCalendarRecordset getCalendarRecordset() ``` Gets the calendar records. **Returns:** VCardCalendarRecordset - The calendar records. ##### getExtensionRecords() ``` public final VCardTextRecord[] getExtensionRecords() ``` Gets the private extension records. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The private extension records. ##### getAvailableGroups() ``` public final String[] getAvailableGroups() ``` Gets the available group names. **Returns:** java.lang.String[] - The available group names. ##### filterByGroup(String groupName) ``` public final VCardCard filterByGroup(String groupName) ``` Filters all vCard records by the group name passed as a parameter. For more information please see the method. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | groupName | java.lang.String | The name of the group. | **Returns:** VCardCard - The filtered vCard instance. ##### filterHomeTags() ``` public final VCardCard filterHomeTags() ``` Filters all vCard records marked with the HOME tag. **Returns:** VCardCard - The filtered vCard instance. ##### filterWorkTags() ``` public final VCardCard filterWorkTags() ``` Filters all vCard records marked with the WORK tag. **Returns:** VCardCard - Filtered vCard instance. ##### filterPreferred() ``` public final VCardCard filterPreferred() ``` Filters the preferred records. **Returns:** VCardCard - The filtered vCard instance. ### VCardCommunicationRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardcommunicationrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardCommunicationRecordset extends VCardRecordset ``` Represents a set of Communication vCard records. These properties describe information about how to communicate with the object the vCard represents. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getTelephoneRecords() | Gets the telephone numbers for telephony communication with the object. | | getTelephones() | Gets the telephone numbers for telephony communication with the object. | | getEmailRecords() | Gets the electronic mail addresses for communication with the object. | | getEmails() | Gets the electronic mail addresses for communication with the object. | | getMailer() | Gets the type of the electronic mail software that is used by the individual associated with the vCard. | | getImppRecords() | Gets the URIs for instant messaging and presence protocol communications with the object. | | getImppEntries() | Gets the URIs for instant messaging and presence protocol communications with the object. | | getLanguageRecords() | Gets the languages that may be used for contacting the object. | | getLanguages() | Gets the languages that may be used for contacting the object. | ##### getTelephoneRecords() ``` public final VCardTextRecord[] getTelephoneRecords() ``` Gets the telephone numbers for telephony communication with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The telephone numbers for telephony communication with the object. ##### getTelephones() ``` public final String[] getTelephones() ``` Gets the telephone numbers for telephony communication with the object. **Returns:** java.lang.String[] - The telephone numbers for telephony communication with the object. This property is a simplified version of TelephoneRecords . ##### getEmailRecords() ``` public final VCardTextRecord[] getEmailRecords() ``` Gets the electronic mail addresses for communication with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The electronic mail addresses array for communication with the object. ##### getEmails() ``` public final String[] getEmails() ``` Gets the electronic mail addresses for communication with the object. **Returns:** java.lang.String[] - The electronic mail addresses array for communication with the object. This property is a simplified version of EmailRecords . ##### getMailer() ``` public final String getMailer() ``` Gets the type of the electronic mail software that is used by the individual associated with the vCard. **Returns:** java.lang.String - The type of the electronic mail software that is used by the individual associated with the vCard ##### getImppRecords() ``` public final VCardTextRecord[] getImppRecords() ``` Gets the URIs for instant messaging and presence protocol communications with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs for instant messaging and presence protocol communications with the object. ##### getImppEntries() ``` public final String[] getImppEntries() ``` Gets the URIs for instant messaging and presence protocol communications with the object. **Returns:** java.lang.String[] - The URIs for instant messaging and presence protocol communications with the object. This property is a simplified version of ImppRecords . ##### getLanguageRecords() ``` public final VCardTextRecord[] getLanguageRecords() ``` Gets the languages that may be used for contacting the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The languages that may be used for contacting the object. ##### getLanguages() ``` public final String[] getLanguages() ``` Gets the languages that may be used for contacting the object. **Returns:** java.lang.String[] - The languages that may be used for contacting the object. This property is a simplified version of LanguageRecords . ### VCardContentType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardcontenttype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum VCardContentType extends Enum implements IEnumValue ``` Defines vCard record content types. #### Fields | Field | Description | | --- | --- | | Custom | The custom content type. | | Text | The text content type. | | Binary | The binary content type. | | DateTime | The date time content type. | | Agent | The agent content type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Custom ``` public static final VCardContentType Custom ``` The custom content type. ##### Text ``` public static final VCardContentType Text ``` The text content type. ##### Binary ``` public static final VCardContentType Binary ``` The binary content type. ##### DateTime ``` public static final VCardContentType DateTime ``` The date time content type. ##### Agent ``` public static final VCardContentType Agent ``` The agent content type. ##### values() ``` public static VCardContentType[] values() ``` **Returns:** com.groupdocs.metadata.core.VCardContentType[] ##### valueOf(String name) ``` public static VCardContentType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** VCardContentType ##### getByRawValue(int rawValue) ``` public static VCardContentType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** VCardContentType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### VCardCustomRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardcustomrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardCustomRecord extends VCardRecord implements IVCardRecord ``` Represents vCard custom record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final String getValue() ``` Gets the record value. **Returns:** java.lang.String - The record value. ### VCardDateTimeRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcarddatetimerecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardDateTimeRecord extends VCardRecord implements IVCardRecord ``` Represents vCard date time record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getValue() | Gets the record value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getValue() ``` public final Date getValue() ``` Gets the record value. **Returns:** java.util.Date - The record value. ### VCardDeliveryAddressingRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcarddeliveryaddressingrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardDeliveryAddressingRecordset extends VCardRecordset ``` Represents a set of Delivery Addressing vCard records. These types are concerned with information related to the delivery addressing or label for the vCard object. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getAddressRecords() | Gets the components of the delivery address of the object. | | getAddresses() | Gets the components of the delivery address of the object. | | getLabelRecords() | Gets an array containing the formatted text corresponding to delivery address of the object. | | getLabels() | Gets an array containing the formatted text corresponding to delivery address of the object. | ##### getAddressRecords() ``` public final VCardTextRecord[] getAddressRecords() ``` Gets the components of the delivery address of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The components of the delivery address of the object. ##### getAddresses() ``` public final String[] getAddresses() ``` Gets the components of the delivery address of the object. **Returns:** java.lang.String[] - The components of the delivery address of the object. This property is a simplified version of AddressRecords . ##### getLabelRecords() ``` public final VCardTextRecord[] getLabelRecords() ``` Gets an array containing the formatted text corresponding to delivery address of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the formatted text corresponding to delivery address of the object. ##### getLabels() ``` public final String[] getLabels() ``` Gets an array containing the formatted text corresponding to delivery address of the object. **Returns:** java.lang.String[] - An array containing the formatted text corresponding to delivery address of the object. This property is a simplified version of LabelRecords . ### VCardExplanatoryRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardexplanatoryrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardExplanatoryRecordset extends VCardRecordset ``` Represents a set of Explanatory vCard records. These properties are concerned with additional explanations, such as that related to informational notes or revisions specific to the vCard. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getCategoryRecords() | Gets the application category information about the vCard, also known as "tags". | | getCategories() | Gets the application category information about the vCard, also known as "tags". | | getNoteRecords() | Gets the supplemental information or comments that are associated with the vCard. | | getNotes() | Gets the supplemental information or comments that are associated with the vCard. | | getProductIdentifierRecord() | Gets the identifier of the product that created the vCard object. | | getProductIdentifier() | Gets the identifier of the product that created the vCard object. | | getRevision() | Gets the revision information about the current vCard. | | getSortString() | Gets the family name or given name text to be used for national-language-specific sorting of the VCardIdentificationRecordset.FormattedNames and VCardIdentificationRecordset.Name types. | | getSoundRecords() | Gets the digital sound content information that annotates some aspects of the vCard. | | getSoundBinaryRecords() | Gets the digital sound content information that annotates some aspects of the vCard. | | getBinarySounds() | Gets the digital sound content information that annotates some aspects of the vCard. | | getSoundUriRecords() | Gets the digital sound content information that annotates some aspects of the vCard. | | getUriSounds() | Gets the digital sound content information that annotates some aspects of the vCard. | | getUidRecord() | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | getUid() | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | getPidIdentifierRecords() | Gets the global meaning of the local PID source identifier. | | getPidIdentifiers() | Gets the global meaning of the local PID source identifier. | | getUrlRecords() | Gets an array of URLs pointing to websites that represent the person in some way. | | getUrls() | Gets an array of URLs pointing to websites that represent the person in some way. | | getVersion() | Gets the version of the vCard specification. | ##### getCategoryRecords() ``` public final VCardTextRecord[] getCategoryRecords() ``` Gets the application category information about the vCard, also known as "tags". **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The application category information about the vCard, also known as "tags". ##### getCategories() ``` public final String[] getCategories() ``` Gets the application category information about the vCard, also known as "tags". **Returns:** java.lang.String[] - The application category information about the vCard, also known as "tags". This property is a simplified version of CategoryRecords . ##### getNoteRecords() ``` public final VCardTextRecord[] getNoteRecords() ``` Gets the supplemental information or comments that are associated with the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The supplemental information or comments that are associated with the vCard. ##### getNotes() ``` public final String[] getNotes() ``` Gets the supplemental information or comments that are associated with the vCard. **Returns:** java.lang.String[] - The supplemental information or comments that are associated with the vCard. This property is a simplified version of NoteRecords . ##### getProductIdentifierRecord() ``` public final VCardTextRecord getProductIdentifierRecord() ``` Gets the identifier of the product that created the vCard object. **Returns:** VCardTextRecord - The identifier of the product that created the vCard object ##### getProductIdentifier() ``` public final String getProductIdentifier() ``` Gets the identifier of the product that created the vCard object. **Returns:** java.lang.String - The identifier of the product that created the vCard object This property is a simplified version of ProductIdentifierRecord . ##### getRevision() ``` public final Date getRevision() ``` Gets the revision information about the current vCard. **Returns:** java.util.Date - The revision information about the current vCard. ##### getSortString() ``` public final String getSortString() ``` Gets the family name or given name text to be used for national-language-specific sorting of the VCardIdentificationRecordset.FormattedNames and VCardIdentificationRecordset.Name types. **Returns:** java.lang.String - The family name or given name text to be used for national-language-specific sorting of the VCardIdentificationRecordset.FormattedNames and VCardIdentificationRecordset.Name types. ##### getSoundRecords() ``` public final VCardRecord[] getSoundRecords() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The digital sound content information that annotates some aspects of the vCard. ##### getSoundBinaryRecords() ``` public final VCardBinaryRecord[] getSoundBinaryRecords() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundRecords . ##### getBinarySounds() ``` public final byte[][] getBinarySounds() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** byte[][] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundBinaryRecords . ##### getSoundUriRecords() ``` public final VCardTextRecord[] getSoundUriRecords() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundRecords . ##### getUriSounds() ``` public final String[] getUriSounds() ``` Gets the digital sound content information that annotates some aspects of the vCard. **Returns:** java.lang.String[] - The digital sound content information that annotates some aspects of the vCard. This property is a simplified version of SoundUriRecords . ##### getUidRecord() ``` public final VCardTextRecord getUidRecord() ``` Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. **Returns:** VCardTextRecord - The value that represents a globally unique identifier corresponding. ##### getUid() ``` public final String getUid() ``` Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. **Returns:** java.lang.String - The value that represents a globally unique identifier corresponding. This property is a simplified version of UidRecord . ##### getPidIdentifierRecords() ``` public final VCardTextRecord[] getPidIdentifierRecords() ``` Gets the global meaning of the local PID source identifier. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The global meaning of the local PID source identifier. ##### getPidIdentifiers() ``` public final String[] getPidIdentifiers() ``` Gets the global meaning of the local PID source identifier. **Returns:** java.lang.String[] - The global meaning of the local PID source identifier. This property is a simplified version of PidIdentifierRecords . ##### getUrlRecords() ``` public final VCardTextRecord[] getUrlRecords() ``` Gets an array of URLs pointing to websites that represent the person in some way. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array of URLs pointing to websites that represent the person in some way. ##### getUrls() ``` public final String[] getUrls() ``` Gets an array of URLs pointing to websites that represent the person in some way. **Returns:** java.lang.String[] - An array of URLs pointing to websites that represent the person in some way. This property is a simplified version of UrlRecords . ##### getVersion() ``` public final String getVersion() ``` Gets the version of the vCard specification. **Returns:** java.lang.String - The version of the vCard specification. ### VCardGeneralRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardgeneralrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardGeneralRecordset extends VCardRecordset ``` Represents a set of General vCard records. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getSourceRecords() | Gets the array of sources of directory information contained in the content type. | | getSources() | Gets an array containing the sources of the directory information contained in the content type. | | getNameOfSource() | Gets the textual representation of the SOURCE property. | | getKind() | Gets the kind of the object. | | getXmlRecords() | Gets an array containing extended XML-encoded vCard data. | | getXmlEntries() | Gets an array containing extended XML-encoded vCard data. | ##### getSourceRecords() ``` public final VCardTextRecord[] getSourceRecords() ``` Gets the array of sources of directory information contained in the content type. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The array of sources of directory information contained in the content type. ##### getSources() ``` public final String[] getSources() ``` Gets an array containing the sources of the directory information contained in the content type. **Returns:** java.lang.String[] - An array containing the sources of the directory information contained in the content type. This property is a simplified version of SourceRecords . ##### getNameOfSource() ``` public final String getNameOfSource() ``` Gets the textual representation of the SOURCE property. **Returns:** java.lang.String - The textual representation of the SOURCE property. ##### getKind() ``` public final String getKind() ``` Gets the kind of the object. **Returns:** java.lang.String - The kind of object. ##### getXmlRecords() ``` public final VCardTextRecord[] getXmlRecords() ``` Gets an array containing extended XML-encoded vCard data. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing extended XML-encoded vCard data. ##### getXmlEntries() ``` public final String[] getXmlEntries() ``` Gets an array containing extended XML-encoded vCard data. **Returns:** java.lang.String[] - An array of extended XML-encoded vCard data. This property is a simplified version of XmlRecords . ### VCardGeographicalRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardgeographicalrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardGeographicalRecordset extends VCardRecordset ``` Represents a set of Geographical vCard records. These properties are concerned with information associated with geographical positions or regions associated with the object the vCard represents. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getTimeZoneRecords() | Gets the time zones of the object. | | getTimeZones() | Gets the time zones of the object. | | getGeographicPositionRecords() | Gets the information related to the global positioning of the object. | | getGeographicPositions() | Gets the information related to the global positioning of the object. | ##### getTimeZoneRecords() ``` public final VCardTextRecord[] getTimeZoneRecords() ``` Gets the time zones of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The time zones of the object. ##### getTimeZones() ``` public final String[] getTimeZones() ``` Gets the time zones of the object. **Returns:** java.lang.String[] - The time zones of the object. This property is a simplified version of TimeZoneRecords . ##### getGeographicPositionRecords() ``` public final VCardTextRecord[] getGeographicPositionRecords() ``` Gets the information related to the global positioning of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The information related to the global positioning of the object. ##### getGeographicPositions() ``` public final String[] getGeographicPositions() ``` Gets the information related to the global positioning of the object. **Returns:** java.lang.String[] - The information related to the global positioning of the object. This property is a simplified version of GeographicPositionRecords . ### VCardIdentificationRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardidentificationrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardIdentificationRecordset extends VCardRecordset ``` Represents a set of Identification vCard records. These types are used to capture information associated with the identification and naming of the entity associated with the vCard. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getFormattedNameRecords() | Gets an array containing the formatted text corresponding to the name of the object. | | getFormattedNames() | Gets an array containing the formatted text corresponding to the name of the object. | | getNameRecord() | Gets the components of the name of the object. | | getName() | Gets the components of the name of the object. | | getNicknameRecords() | Gets an array containing the text corresponding to the nickname of the object. | | getNicknames() | Gets an array containing the text corresponding to the nickname of the object. | | getPhotoRecords() | Gets an array containing the image or photograph information that annotates some aspects of the object. | | getPhotoBinaryRecords() | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | getBinaryPhotos() | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | getPhotoUriRecords() | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | | getUriPhotos() | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | | getBirthdateRecords() | Gets an array containing the birth date of the object in different representations. | | getBirthdateDateTimeRecord() | Gets the birth date of the object. | | getDateTimeBirthdate() | Gets the birth date of the object. | | getBirthdateTextRecords() | Gets an array containing the birth date of the object in different text representations. | | getTextBirthdates() | Gets an array containing the birth date of the object in different text representations. | | getAnniversaryRecord() | Gets the date of marriage, or equivalent, of the object. | | getAnniversaryDateTimeRecord() | Gets the date of marriage represented as a single date-and-or-time value. | | getDateTimeAnniversary() | Gets the date of marriage represented as a single date-and-or-time value. | | getAnniversaryTextRecord() | Gets the date of marriage represented as a single text value. | | getTextAnniversary() | Gets the date of marriage represented as a single text value. | | getGenderRecord() | Gets the components of the sex and gender identity of the object. | | getGender() | Gets the components of the sex and gender identity of the object. | ##### getFormattedNameRecords() ``` public final VCardTextRecord[] getFormattedNameRecords() ``` Gets an array containing the formatted text corresponding to the name of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the formatted text corresponding to the name of the object. ##### getFormattedNames() ``` public final String[] getFormattedNames() ``` Gets an array containing the formatted text corresponding to the name of the object. **Returns:** java.lang.String[] - An array containing the formatted text corresponding to the name of the object. This property is a simplified version of FormattedNameRecords . ##### getNameRecord() ``` public final VCardTextRecord getNameRecord() ``` Gets the components of the name of the object. **Returns:** VCardTextRecord - The components of the name of the object. ##### getName() ``` public final String getName() ``` Gets the components of the name of the object. **Returns:** java.lang.String - The components of the name of the object. This property is a simplified version of NameRecord . ##### getNicknameRecords() ``` public final VCardTextRecord[] getNicknameRecords() ``` Gets an array containing the text corresponding to the nickname of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the text corresponding to the nickname of the object. ##### getNicknames() ``` public final String[] getNicknames() ``` Gets an array containing the text corresponding to the nickname of the object. **Returns:** java.lang.String[] - An array containing the text corresponding to the nickname of the object. This property is a simplified version of NicknameRecords . ##### getPhotoRecords() ``` public final VCardRecord[] getPhotoRecords() ``` Gets an array containing the image or photograph information that annotates some aspects of the object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - An array containing the image or photograph information that annotates some aspects of the object. ##### getPhotoBinaryRecords() ``` public final VCardBinaryRecord[] getPhotoBinaryRecords() ``` Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - An array containing the image or photograph information represented as binary data that annotates some aspects of the object. This property is a simplified version of PhotoRecords . ##### getBinaryPhotos() ``` public final byte[][] getBinaryPhotos() ``` Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. **Returns:** byte[][] - An array containing the image or photograph information represented as binary data that annotates some aspects of the object. This property is a simplified version of PhotoBinaryRecords . ##### getPhotoUriRecords() ``` public final VCardTextRecord[] getPhotoUriRecords() ``` Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the image or photograph information represented by URIs that annotates some aspects of the object. This property is a simplified version of PhotoRecords . ##### getUriPhotos() ``` public final String[] getUriPhotos() ``` Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. **Returns:** java.lang.String[] - An array containing the image or photograph information represented by URIs that annotates some aspects of the object. This property is a simplified version of PhotoUriRecords . ##### getBirthdateRecords() ``` public final VCardRecord[] getBirthdateRecords() ``` Gets an array containing the birth date of the object in different representations. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - An array containing the birth date of the object in different representations. ##### getBirthdateDateTimeRecord() ``` public final VCardDateTimeRecord getBirthdateDateTimeRecord() ``` Gets the birth date of the object. **Returns:** VCardDateTimeRecord - The birth date of the object. This property is a simplified version of BirthdateRecords . ##### getDateTimeBirthdate() ``` public final Date getDateTimeBirthdate() ``` Gets the birth date of the object. **Returns:** java.util.Date - The birth date of the object. This property is a simplified version of BirthdateDateTimeRecord . ##### getBirthdateTextRecords() ``` public final VCardTextRecord[] getBirthdateTextRecords() ``` Gets an array containing the birth date of the object in different text representations. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - An array containing the birth date of the object in different text representations. This property is a simplified version of BirthdateRecords . ##### getTextBirthdates() ``` public final String[] getTextBirthdates() ``` Gets an array containing the birth date of the object in different text representations. **Returns:** java.lang.String[] - An array containing the birth date of the object in different text representations. This property is a simplified version of BirthdateTextRecords . ##### getAnniversaryRecord() ``` public final VCardRecord getAnniversaryRecord() ``` Gets the date of marriage, or equivalent, of the object. **Returns:** VCardRecord - The date of marriage, or equivalent, of the object. ##### getAnniversaryDateTimeRecord() ``` public final VCardDateTimeRecord getAnniversaryDateTimeRecord() ``` Gets the date of marriage represented as a single date-and-or-time value. **Returns:** VCardDateTimeRecord - The date of marriage represented as a single date-and-or-time value. This property is a simplified version of AnniversaryRecord . ##### getDateTimeAnniversary() ``` public final Date getDateTimeAnniversary() ``` Gets the date of marriage represented as a single date-and-or-time value. **Returns:** java.util.Date - The date of marriage represented as a single date-and-or-time value. This property is a simplified version of AnniversaryDateTimeRecord . ##### getAnniversaryTextRecord() ``` public final VCardTextRecord getAnniversaryTextRecord() ``` Gets the date of marriage represented as a single text value. **Returns:** VCardTextRecord - The date of marriage represented as a single text value. This property is a simplified version of AnniversaryRecord . ##### getTextAnniversary() ``` public final String getTextAnniversary() ``` Gets the date of marriage represented as a single text value. **Returns:** java.lang.String - The date of marriage represented as a single text value. This property is a simplified version of AnniversaryTextRecord . ##### getGenderRecord() ``` public final VCardTextRecord getGenderRecord() ``` Gets the components of the sex and gender identity of the object. **Returns:** VCardTextRecord - The components of the sex and gender identity of the object. ##### getGender() ``` public final String getGender() ``` Gets the components of the sex and gender identity of the object. **Returns:** java.lang.String - The components of the sex and gender identity of the object. This property is a simplified version of GenderRecord . ### VCardOrganizationalRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardorganizationalrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardOrganizationalRecordset extends VCardRecordset ``` Represents a set of Organizational vCard records. These properties are concerned with information associated with characteristics of the organization or organizational units of the object that the vCard represents. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getTitleRecords() | Gets the positions or jobs of the object. | | getTitles() | Gets the positions or jobs of the object. | | getRoleRecords() | Gets the functions or parts played in a particular situation by the object. | | getRoles() | Gets the functions or parts played in a particular situation by the object. | | getLogoRecords() | Gets the graphic images of the logo associated with the object. | | getLogoBinaryRecords() | Gets the graphic images of the logo associated with the object. | | getBinaryLogos() | Gets the graphic images of the logo associated with the object. | | getLogoUriRecords() | Gets the URIs of the graphic images of the logo associated with the object. | | getUriLogos() | Gets the URIs of the graphic images of the logo associated with the object. | | getAgentRecords() | Gets the information about another person who will act on behalf of the vCard object. | | getAgentObjectRecord() | Gets the information about another person who will act on behalf of the vCard object. | | getObjectAgent() | Gets the information about another person who will act on behalf of the vCard object. | | getAgentUriRecords() | Gets the information about another person who will act on behalf of the vCard object. | | getUriAgents() | Gets the information about another person who will act on behalf of the vCard object. | | getOrganizationNameRecords() | Gets the organizational names and units associated with the object. | | getOrganizationNames() | Gets the organizational names and units associated with the object. | | getMemberRecords() | Gets the members in the group this vCard represents. | | getMembers() | Gets the members in the group this vCard represents. | | getRelationshipRecords() | Gets the relationships between another entity and the entity represented by this vCard. | | getRelationships() | Gets the relationships between another entity and the entity represented by this vCard. | ##### getTitleRecords() ``` public final VCardTextRecord[] getTitleRecords() ``` Gets the positions or jobs of the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The positions or jobs of the object. ##### getTitles() ``` public final String[] getTitles() ``` Gets the positions or jobs of the object. **Returns:** java.lang.String[] - The positions or jobs of the object. This property is a simplified version of TitleRecords . ##### getRoleRecords() ``` public final VCardTextRecord[] getRoleRecords() ``` Gets the functions or parts played in a particular situation by the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The functions or parts played in a particular situation by the object. ##### getRoles() ``` public final String[] getRoles() ``` Gets the functions or parts played in a particular situation by the object. **Returns:** java.lang.String[] - The functions or parts played in a particular situation by the object. This property is a simplified version of TitleRecords . ##### getLogoRecords() ``` public final VCardRecord[] getLogoRecords() ``` Gets the graphic images of the logo associated with the object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The graphic images of the logo associated with the object. ##### getLogoBinaryRecords() ``` public final VCardBinaryRecord[] getLogoBinaryRecords() ``` Gets the graphic images of the logo associated with the object. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - The graphic images of the logo associated with the object. This property is a simplified version of LogoRecords . ##### getBinaryLogos() ``` public final byte[][] getBinaryLogos() ``` Gets the graphic images of the logo associated with the object. **Returns:** byte[][] - The graphic images of the logo associated with the object. This property is a simplified version of LogoBinaryRecords . ##### getLogoUriRecords() ``` public final VCardTextRecord[] getLogoUriRecords() ``` Gets the URIs of the graphic images of the logo associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The URIs of the graphic images of the logo associated with the object. This property is a simplified version of LogoRecords . ##### getUriLogos() ``` public final String[] getUriLogos() ``` Gets the URIs of the graphic images of the logo associated with the object. **Returns:** java.lang.String[] - The URIs of the graphic images of the logo associated with the object. This property is a simplified version of LogoUriRecords . ##### getAgentRecords() ``` public final VCardRecord[] getAgentRecords() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The information about another person who will act on behalf of the vCard object. ##### getAgentObjectRecord() ``` public final VCardAgentRecord getAgentObjectRecord() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** VCardAgentRecord - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentRecords . ##### getObjectAgent() ``` public final VCardCard getObjectAgent() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** VCardCard - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentObjectRecord . ##### getAgentUriRecords() ``` public final VCardTextRecord[] getAgentUriRecords() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentRecords . ##### getUriAgents() ``` public final String[] getUriAgents() ``` Gets the information about another person who will act on behalf of the vCard object. **Returns:** java.lang.String[] - The information about another person who will act on behalf of the vCard object. This property is a simplified version of AgentUriRecords . ##### getOrganizationNameRecords() ``` public final VCardTextRecord[] getOrganizationNameRecords() ``` Gets the organizational names and units associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The organizational names and units associated with the object. ##### getOrganizationNames() ``` public final String[] getOrganizationNames() ``` Gets the organizational names and units associated with the object. **Returns:** java.lang.String[] - The organizational names and units associated with the object. This property is a simplified version of OrganizationNameRecords . ##### getMemberRecords() ``` public final VCardTextRecord[] getMemberRecords() ``` Gets the members in the group this vCard represents. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The members in the group this vCard represents. ##### getMembers() ``` public final String[] getMembers() ``` Gets the members in the group this vCard represents. **Returns:** java.lang.String[] - The members in the group this vCard represents. This property is a simplified version of MemberRecords . ##### getRelationshipRecords() ``` public final VCardTextRecord[] getRelationshipRecords() ``` Gets the relationships between another entity and the entity represented by this vCard. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The relationships between another entity and the entity represented by this vCard. ##### getRelationships() ``` public final String[] getRelationships() ``` Gets the relationships between another entity and the entity represented by this vCard. **Returns:** java.lang.String[] - The relationships between another entity and the entity represented by this vCard. This property is a simplified version of RelationshipRecords . ### VCardPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage ``` public final class VCardPackage extends VCardBasePackage ``` Represents VCF (Virtual Contact File) electronic business card format metadata. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getCards() | Gets an array of the cards extracted from the file. | ##### getCards() ``` public final VCardCard[] getCards() ``` Gets an array of the cards extracted from the file. **Returns:** com.groupdocs.metadata.core.VCardCard[] - An array of the cards extracted from the file. ### VCardRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage ``` public abstract class VCardRecord extends VCardBasePackage ``` Represents abstract vCard record metadata class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getGroup() | Gets the grouping value. | | getValueParameters() | Gets the value parameters. | | getPrefParameter() | Gets the preferred parameter. | | getAltIdParameter() | Gets the alternative representations parameter value. | | getTypeParameters() | Gets the type parameter values. | | getEncodingParameter() | Gets the encoding parameter value. | | getLanguageParameter() | Gets the language parameter value. | | getAnonymParameters() | Gets the anonymous parameters. | | getContentType() | Gets the content type of record. | | getTypeName() | Gets the type of the record. | ##### getGroup() ``` public final String getGroup() ``` Gets the grouping value. **Returns:** java.lang.String - The grouping value. ##### getValueParameters() ``` public final String[] getValueParameters() ``` Gets the value parameters. **Returns:** java.lang.String[] - The value parameters. Used to identify the value type (data type) and format of the value. ##### getPrefParameter() ``` public final Integer getPrefParameter() ``` Gets the preferred parameter. **Returns:** java.lang.Integer - The preferred parameter. Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### getAltIdParameter() ``` public final String getAltIdParameter() ``` Gets the alternative representations parameter value. **Returns:** java.lang.String - The alternative representations parameter value. Used to "tag" property instances as being alternative representations of the same logical property. ##### getTypeParameters() ``` public final String[] getTypeParameters() ``` Gets the type parameter values. **Returns:** java.lang.String[] - The type parameter values. The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### getEncodingParameter() ``` public final String getEncodingParameter() ``` Gets the encoding parameter value. **Returns:** java.lang.String - The encoding parameter value. ##### getLanguageParameter() ``` public final String getLanguageParameter() ``` Gets the language parameter value. **Returns:** java.lang.String - The language parameter value. ##### getAnonymParameters() ``` public final String[] getAnonymParameters() ``` Gets the anonymous parameters. **Returns:** java.lang.String[] - The anonymous parameters. ##### getContentType() ``` public abstract VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getTypeName() ``` public final String getTypeName() ``` Gets the type of the record. **Returns:** java.lang.String - The type of the record. ### VCardRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage ``` public class VCardRecordset extends VCardBasePackage ``` Provides a base vCard record union class. [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata ### VCardRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class VCardRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a VCard file. This code sample demonstrates how to read metadata properties of a vCard file. > ``` > ``` > > public static void run() { > try (Metadata metadata = new Metadata(Constants.InputVcf)) { > VCardRootPackage root = metadata.getRootPackageGeneric(); > for (VCardCard vCard : root.getVCardPackage().getCards()) { > System.out.println(vCard.getIdentificationRecordset().getName()); > PrintArray(vCard.getIdentificationRecordset().getFormattedNames()); > PrintArray(vCard.getCommunicationRecordset().getEmails()); > PrintArray(vCard.getCommunicationRecordset().getTelephones()); > PrintArray(vCard.getDeliveryAddressingRecordset().getAddresses()); > // ... > } > } > } > private static void PrintArray(String[] values) { > if (values != null) { > for (String value : values) { > System.out.println(value); > } > } > } > > ``` > ``` [Working with vCard metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+vCard+metadata #### Methods | Method | Description | | --- | --- | | getVCardPackage() | Gets the VCard metadata package. | ##### getVCardPackage() ``` public final VCardPackage getVCardPackage() ``` Gets the VCard metadata package. **Returns:** VCardPackage - The VCard metadata package. ### VCardSecurityRecordset Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardsecurityrecordset.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecordset ``` public class VCardSecurityRecordset extends VCardRecordset ``` Represents a set of Security vCard records. These properties are concerned with the security of communication pathways or access to the vCard. #### Methods | Method | Description | | --- | --- | | getAccessClassification() | Gets the sensitivity of the information in the vCard. | | getPublicKeyRecords() | Gets the public keys or authentication certificates associated with the object. | | getPublicKeyBinaryRecords() | Gets the public keys or authentication certificates associated with the object. | | getBinaryPublicKeys() | Gets the public keys or authentication certificates associated with the object. | | getPublicKeyUriRecords() | Gets the public keys or authentication certificates associated with the object. | | getUriPublicKeys() | Gets the public keys or authentication certificates associated with the object. | ##### getAccessClassification() ``` public final String getAccessClassification() ``` Gets the sensitivity of the information in the vCard. **Returns:** java.lang.String - The sensitivity of the information in the vCard. ##### getPublicKeyRecords() ``` public final VCardRecord[] getPublicKeyRecords() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** com.groupdocs.metadata.core.VCardRecord[] - The public keys or authentication certificates associated with the object. ##### getPublicKeyBinaryRecords() ``` public final VCardBinaryRecord[] getPublicKeyBinaryRecords() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** com.groupdocs.metadata.core.VCardBinaryRecord[] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyRecords . ##### getBinaryPublicKeys() ``` public final byte[][] getBinaryPublicKeys() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** byte[][] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyBinaryRecords . ##### getPublicKeyUriRecords() ``` public final VCardTextRecord[] getPublicKeyUriRecords() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** com.groupdocs.metadata.core.VCardTextRecord[] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyRecords . ##### getUriPublicKeys() ``` public final String[] getUriPublicKeys() ``` Gets the public keys or authentication certificates associated with the object. **Returns:** java.lang.String[] - The public keys or authentication certificates associated with the object. This property is a simplified version of PublicKeyUriRecords . ### VCardTextRecord Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/vcardtextrecord.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.VCardBasePackage, com.groupdocs.metadata.core.VCardRecord **All Implemented Interfaces:** com.groupdocs.metadata.core.IVCardRecord ``` public class VCardTextRecord extends VCardRecord implements IVCardRecord ``` Represents vCard text record metadata class. #### Methods | Method | Description | | --- | --- | | getContentType() | Gets the content type of record. | | getMediaTypeParameter() | Gets the media type parameter value. | | getCharsetParameter() | Gets the charset parameter. | | getValue() | Gets the record value. | | isQuotedPrintable() | Gets a value indicating whether this instance is quoted printable string. | | getReadabilityValue(String codePageName) | Gets the readability value. | ##### getContentType() ``` public VCardContentType getContentType() ``` Gets the content type of record. **Returns:** VCardContentType - The content type of record. ##### getMediaTypeParameter() ``` public final String getMediaTypeParameter() ``` Gets the media type parameter value. **Returns:** java.lang.String - The media type parameter value. Used with properties whose value is a URI. It provides a hint to the vCard consumer application about the media type [RFC2046] of the resource identified by the URI. ##### getCharsetParameter() ``` public final String getCharsetParameter() ``` Gets the charset parameter. **Returns:** java.lang.String - The charset parameter. ##### getValue() ``` public final String getValue() ``` Gets the record value. **Returns:** java.lang.String - The record value. ##### isQuotedPrintable() ``` public final boolean isQuotedPrintable() ``` Gets a value indicating whether this instance is quoted printable string. **Returns:** boolean - true if this instance is quoted printable; otherwise, false . ##### getReadabilityValue(String codePageName) ``` public final String getReadabilityValue(String codePageName) ``` Gets the readability value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | codePageName | java.lang.String | The using encoding code page name or null for ASCII encoding. | **Returns:** java.lang.String - The readability value. ### WavPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wavpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WavPackage extends CustomPackage ``` Represents a native metadata package in a WAV audio file. This code sample shows how to extract technical audio information from a WAV file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputWav)) { > WavRootPackage root = metadata.getRootPackageGeneric(); > if (root.getWavPackage() != null) { > System.out.println(root.getWavPackage().getAudioFormat()); > System.out.println(root.getWavPackage().getBitsPerSample()); > System.out.println(root.getWavPackage().getBlockAlign()); > System.out.println(root.getWavPackage().getByteRate()); > System.out.println(root.getWavPackage().getNumberOfChannels()); > System.out.println(root.getWavPackage().getSampleRate()); > } > } > > ``` > ``` #### Constructors | Constructor | Description | | --- | --- | | WavPackage() | Initializes a new instance of the WavPackage class. | #### Methods | Method | Description | | --- | --- | | getAudioFormat() | Gets the audio format. | | getNumberOfChannels() | Gets the number of channels. | | getSampleRate() | Gets the sample rate. | | getByteRate() | Gets the byte rate. | | getBlockAlign() | Gets the block align. | | getBitsPerSample() | Gets the bits per sample value. | ##### WavPackage() ``` public WavPackage() ``` Initializes a new instance of the WavPackage class. ##### getAudioFormat() ``` public final int getAudioFormat() ``` Gets the audio format. PCM = 1 (i.e. Linear quantization). Values other than 1 indicate some form of compression. **Returns:** int - The audio format. ##### getNumberOfChannels() ``` public final int getNumberOfChannels() ``` Gets the number of channels. **Returns:** int - The number of channels. ##### getSampleRate() ``` public final int getSampleRate() ``` Gets the sample rate. **Returns:** int - The sample rate. ##### getByteRate() ``` public final int getByteRate() ``` Gets the byte rate. **Returns:** int - The byte rate. ##### getBlockAlign() ``` public final int getBlockAlign() ``` Gets the block align. **Returns:** int - The block align. ##### getBitsPerSample() ``` public final int getBitsPerSample() ``` Gets the bits per sample value. **Returns:** int - The bits per sample value. ### WavRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wavrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp ``` public class WavRootPackage extends RootMetadataPackage implements IXmp ``` Represents the root package allowing working with metadata in a WAV audio. This code sample shows how to extract technical audio information from a WAV file. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputWav)) { > WavRootPackage root = metadata.getRootPackageGeneric(); > if (root.getWavPackage() != null) { > System.out.println(root.getWavPackage().getAudioFormat()); > System.out.println(root.getWavPackage().getBitsPerSample()); > System.out.println(root.getWavPackage().getBlockAlign()); > System.out.println(root.getWavPackage().getByteRate()); > System.out.println(root.getWavPackage().getNumberOfChannels()); > System.out.println(root.getWavPackage().getSampleRate()); > } > } > > ``` > ``` #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getWavPackage() | Gets the WAV native metadata package. | | getRiffInfoPackage() | Gets the package containing RIFF Info tags. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getWavPackage() ``` public final WavPackage getWavPackage() ``` Gets the WAV native metadata package. **Returns:** WavPackage - The WAV native metadata package. ##### getRiffInfoPackage() ``` public final RiffInfoPackage getRiffInfoPackage() ``` Gets the package containing RIFF Info tags. **Returns:** RiffInfoPackage - The package containing RIFF Info tags. ### WebPRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/webprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif ``` public class WebPRootPackage extends ImageRootPackage implements IXmp, IExif ``` Represents the root package allowing working with metadata in a WEBP image. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Methods | Method | Description | | --- | --- | | getXmpPackage() | Gets the XMP metadata package. | | setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. | | getExifPackage() | Gets the EXIF metadata package. | | setExifPackage(ExifPackage value) | Sets the EXIF metadata package. | ##### getXmpPackage() ``` public final XmpPacketWrapper getXmpPackage() ``` Gets the XMP metadata package. **Returns:** XmpPacketWrapper - The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata ##### setXmpPackage(XmpPacketWrapper value) ``` public final void setXmpPackage(XmpPacketWrapper value) ``` Sets the XMP metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPacketWrapper | The XMP metadata package. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata | ##### getExifPackage() ``` public final ExifPackage getExifPackage() ``` Gets the EXIF metadata package. **Returns:** ExifPackage - The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata ##### setExifPackage(ExifPackage value) ``` public final void setExifPackage(ExifPackage value) ``` Sets the EXIF metadata package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ExifPackage | The EXIF metadata package. [Working with EXIF metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata | ### WmfRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wmfrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage ``` public class WmfRootPackage extends ImageRootPackage ``` Represents the root package intended to work with metadata in a WMF image. ### WordProcessingComment Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingcomment.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WordProcessingComment extends CustomPackage ``` Represents a comment in a word processing document. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getId() | Gets the comment id. | | getAuthor() | Gets the author. | | setAuthor(String value) | Sets the author. | | getInitials() | Gets the author's initials. | | setInitials(String value) | Sets the author's initials. | | getText() | Gets the text of the comment. | | setText(String value) | Sets the text of the comment. | | getCreatedDate() | Gets the date the comment was created. | | setCreatedDate(Date value) | Sets the date the comment was created. | ##### getId() ``` public final int getId() ``` Gets the comment id. **Returns:** int - The comment identifier. ##### getAuthor() ``` public final String getAuthor() ``` Gets the author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getInitials() ``` public final String getInitials() ``` Gets the author's initials. **Returns:** java.lang.String - The initials of the author. ##### setInitials(String value) ``` public final void setInitials(String value) ``` Sets the author's initials. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The initials of the author. | ##### getText() ``` public final String getText() ``` Gets the text of the comment. **Returns:** java.lang.String - The text of the comment. ##### setText(String value) ``` public final void setText(String value) ``` Sets the text of the comment. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The text of the comment. | ##### getCreatedDate() ``` public final Date getCreatedDate() ``` Gets the date the comment was created. **Returns:** java.util.Date - The date the comment was created. ##### setCreatedDate(Date value) ``` public final void setCreatedDate(Date value) ``` Sets the date the comment was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the comment was created. | ### WordProcessingField Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingfield.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public class WordProcessingField extends CustomPackage ``` Represents a field in a word processing document. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getCode() | Gets the field code. | | getResult() | Gets the field result. | ##### getCode() ``` public final String getCode() ``` Gets the field code. **Returns:** java.lang.String - The field code. ##### getResult() ``` public final String getResult() ``` Gets the field result. **Returns:** java.lang.String - The field result. ### WordProcessingFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum WordProcessingFormat extends Enum implements IEnumValue ``` Defines various word processing document subformats. #### Fields | Field | Description | | --- | --- | | Unknown | The format is not recognized. | | Doc | Represents the .DOC Word format. | | Docm | Represents the .DOCM Word format. | | Docx | Represents the .DOCX Word format. | | Dot | Represents the .DOT Word format. | | Dotx | Represents the .DOTX Word format. | | Dotm | Represents the .DOTM Word format. | | Odt | Represents the .ODT format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unknown ``` public static final WordProcessingFormat Unknown ``` The format is not recognized. ##### Doc ``` public static final WordProcessingFormat Doc ``` Represents the .DOC Word format. Files with .doc extension represent documents generated by Microsoft Word or other word processing applications in binary file format. The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images, formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/doc/ ##### Docm ``` public static final WordProcessingFormat Docm ``` Represents the .DOCM Word format. DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. It is similar to DOCX file format but the ability to run macros makes it different from DOCX. Like DOCX, DOCM files can be store text, images, tables, shapes, charts and other contents. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docm/ ##### Docx ``` public static final WordProcessingFormat Docx ``` Represents the .DOCX Word format. DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/docx/ ##### Dot ``` public static final WordProcessingFormat Dot ``` Represents the .DOT Word format. Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent files created from these. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dot/ ##### Dotx ``` public static final WordProcessingFormat Dotx ``` Represents the .DOTX Word format. Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent flies created from these. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotx/ ##### Dotm ``` public static final WordProcessingFormat Dotm ``` Represents the .DOTM Word format. A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. It is similar to the popular DOCX file format other than it retains the user defined settings for reuse in case of creating new documents. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/dotm/ ##### Odt ``` public static final WordProcessingFormat Odt ``` Represents the .ODT format. ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here][] . [here]: https://wiki.fileformat.com/word-processing/odt/ ##### values() ``` public static WordProcessingFormat[] values() ``` **Returns:** com.groupdocs.metadata.core.WordProcessingFormat[] ##### valueOf(String name) ``` public static WordProcessingFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** WordProcessingFormat ##### getByRawValue(int rawValue) ``` public static WordProcessingFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** WordProcessingFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### WordProcessingInspectionPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessinginspectionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WordProcessingInspectionPackage extends CustomPackage ``` Contains information about document parts that can be considered as metadata in some cases. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getComments() | Gets an array of the user comments. | | getFields() | Gets an array of document fields. | | getHiddenText() | Gets an array of hidden text fragments extracted from the document. | | getDigitalSignatures() | Gets an array of digital signatures presented in the document. | | getRevisions() | Gets an array of digital signatures presented in the document. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | clearComments() | Removes all detected user comments from the document. | | clearFields() | Removes all detected fields from the document. | | clearHiddenText() | Removes all hidden text fragments from the document. | | acceptAllRevisions() | Accepts all detected revisions in the document. | | rejectAllRevisions() | Rejects all detected revisions in the document. | | sanitize() | Removes writable metadata properties from the package. | ##### getComments() ``` public final WordProcessingComment[] getComments() ``` Gets an array of the user comments. **Returns:** com.groupdocs.metadata.core.WordProcessingComment[] - The user comments. ##### getFields() ``` public final WordProcessingField[] getFields() ``` Gets an array of document fields. **Returns:** com.groupdocs.metadata.core.WordProcessingField[] - An array of document fields. ##### getHiddenText() ``` public final String[] getHiddenText() ``` Gets an array of hidden text fragments extracted from the document. **Returns:** java.lang.String[] - An array of hidden text fragments extracted from the document. ##### getDigitalSignatures() ``` public final DigitalSignature[] getDigitalSignatures() ``` Gets an array of digital signatures presented in the document. **Returns:** com.groupdocs.metadata.core.DigitalSignature[] - The digital signatures. ##### getRevisions() ``` public final WordProcessingRevision[] getRevisions() ``` Gets an array of digital signatures presented in the document. **Returns:** com.groupdocs.metadata.core.WordProcessingRevision[] - The digital signatures. ##### removeProperties(Specification specification) ``` public int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | **Returns:** int - The number of affected properties. ##### clearComments() ``` public final void clearComments() ``` Removes all detected user comments from the document. ##### clearFields() ``` public final void clearFields() ``` Removes all detected fields from the document. ##### clearHiddenText() ``` public final void clearHiddenText() ``` Removes all hidden text fragments from the document. ##### acceptAllRevisions() ``` public final void acceptAllRevisions() ``` Accepts all detected revisions in the document. ##### rejectAllRevisions() ``` public final void rejectAllRevisions() ``` Rejects all detected revisions in the document. ##### sanitize() ``` public int sanitize() ``` Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. ### WordProcessingPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.DocumentPackage ``` public class WordProcessingPackage extends DocumentPackage ``` Represents a native metadata package in a word processing document. This code sample shows how to update built-in metadata properties in a WordProcessing document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDoc)) { > WordProcessingRootPackage root = metadata.getRootPackageGeneric(); > root.getDocumentProperties().setAuthor("test author"); > root.getDocumentProperties().setCreatedTime(new Date()); > root.getDocumentProperties().setCompany("GroupDocs"); > root.getDocumentProperties().setCategory("test category"); > root.getDocumentProperties().setKeywords("metadata, built-in, update"); > // ... > metadata.save(Constants.OutputDoc); > } > > ``` > ``` [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the document's author. | | setAuthor(String value) | Sets the document's author. | | getBytesInDocument() | Gets an estimate of the number of bytes in the document. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getComments() | Gets the comments. | | setComments(String value) | Sets the comments. | | getCompany() | Gets the company. | | setCompany(String value) | Sets the company. | | getContentStatus() | Gets the content status. | | setContentStatus(String value) | Sets the content status. | | getContentType() | Gets the content type of the document. | | setContentType(String value) | Sets the content type of the document. | | getCreatedTime() | Gets the document created date. | | setCreatedTime(Date value) | Sets the document created date. | | getHyperlinkBase() | Gets the hyperlink base. | | setHyperlinkBase(String value) | Sets the hyperlink base. | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getSubject() | Gets the subject. | | setSubject(String value) | Sets the subject. | | getTemplate() | Gets the template. | | setTemplate(String value) | Sets the template. | | getLastPrintedDate() | Gets the last printed date. | | setLastPrintedDate(Date value) | Sets the last printed date. | | getLastSavedBy() | Gets the name of the last author. | | setLastSavedBy(String value) | Sets the name of the last author. | | getLastSavedTime() | Gets the time of the last save. | | setLastSavedTime(Date value) | Sets the time of the last save. | | getManager() | Gets the manager. | | setManager(String value) | Sets the manager. | | getNameOfApplication() | Gets the name of the application. | | getRevisionNumber() | Gets the revision number. | | setRevisionNumber(Integer value) | Sets the revision number. | | getVersion() | Gets the version number of the application that created the document. | | getTotalEditingTime() | Gets the total editing time in minutes. | | setTotalEditingTime(Integer value) | Sets the total editing time in minutes. | | getTitle() | Gets the title of the document. | | setTitle(String value) | Sets the title of the document. | | getLinksUpToDate() | Gets a value indicating whether the hyperlinks in the document are up-to-date. | | setLinksUpToDate(Boolean value) | Sets a value indicating whether the hyperlinks in the document are up-to-date. | | getTitlesOfParts() | Gets the titles of document parts. | | getWords() | Gets an estimate of the number of words in the document. | | set(String propertyName, String value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, boolean value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, Date value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, int value) | Adds or replaces the metadata property with the specified name. | | set(String propertyName, double value) | Adds or replaces the metadata property with the specified name. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the document's author. **Returns:** java.lang.String - The author. ##### setAuthor(String value) ``` public final void setAuthor(String value) ``` Sets the document's author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The author. | ##### getBytesInDocument() ``` public final Integer getBytesInDocument() ``` Gets an estimate of the number of bytes in the document. **Returns:** java.lang.Integer - An estimate of the number of bytes in the document. ##### getCategory() ``` public final String getCategory() ``` Gets the category. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getComments() ``` public final String getComments() ``` Gets the comments. **Returns:** java.lang.String - The comments. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comments. | ##### getCompany() ``` public final String getCompany() ``` Gets the company. **Returns:** java.lang.String - The company. ##### setCompany(String value) ``` public final void setCompany(String value) ``` Sets the company. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The company. | ##### getContentStatus() ``` public final String getContentStatus() ``` Gets the content status. **Returns:** java.lang.String - The content status. ##### setContentStatus(String value) ``` public final void setContentStatus(String value) ``` Sets the content status. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The content status. | ##### getContentType() ``` public final String getContentType() ``` Gets the content type of the document. **Returns:** java.lang.String - The type of the content. ##### setContentType(String value) ``` public final void setContentType(String value) ``` Sets the content type of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the content. | ##### getCreatedTime() ``` public final Date getCreatedTime() ``` Gets the document created date. **Returns:** java.util.Date - The created time. ##### setCreatedTime(Date value) ``` public final void setCreatedTime(Date value) ``` Sets the document created date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The created time. | ##### getHyperlinkBase() ``` public final String getHyperlinkBase() ``` Gets the hyperlink base. **Returns:** java.lang.String - The hyperlink base. ##### setHyperlinkBase(String value) ``` public final void setHyperlinkBase(String value) ``` Sets the hyperlink base. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The hyperlink base. | ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getSubject() ``` public final String getSubject() ``` Gets the subject. **Returns:** java.lang.String - The subject. ##### setSubject(String value) ``` public final void setSubject(String value) ``` Sets the subject. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The subject. | ##### getTemplate() ``` public final String getTemplate() ``` Gets the template. **Returns:** java.lang.String - The template. ##### setTemplate(String value) ``` public final void setTemplate(String value) ``` Sets the template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The template. | ##### getLastPrintedDate() ``` public final Date getLastPrintedDate() ``` Gets the last printed date. **Returns:** java.util.Date - The last printed date. ##### setLastPrintedDate(Date value) ``` public final void setLastPrintedDate(Date value) ``` Sets the last printed date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last printed date. | ##### getLastSavedBy() ``` public final String getLastSavedBy() ``` Gets the name of the last author. **Returns:** java.lang.String - The name of the last author. ##### setLastSavedBy(String value) ``` public final void setLastSavedBy(String value) ``` Sets the name of the last author. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the last author. | ##### getLastSavedTime() ``` public final Date getLastSavedTime() ``` Gets the time of the last save. **Returns:** java.util.Date - The time of the last save. ##### setLastSavedTime(Date value) ``` public final void setLastSavedTime(Date value) ``` Sets the time of the last save. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The time of the last save. | ##### getManager() ``` public final String getManager() ``` Gets the manager. **Returns:** java.lang.String - The manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The manager. | ##### getNameOfApplication() ``` public final String getNameOfApplication() ``` Gets the name of the application. **Returns:** java.lang.String - The name of the application. ##### getRevisionNumber() ``` public final Integer getRevisionNumber() ``` Gets the revision number. **Returns:** java.lang.Integer - The revision number. ##### setRevisionNumber(Integer value) ``` public final void setRevisionNumber(Integer value) ``` Sets the revision number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The revision number. | ##### getVersion() ``` public final Integer getVersion() ``` Gets the version number of the application that created the document. **Returns:** java.lang.Integer - The version number of the application that created the document. When a document was created by Microsoft Word, then high 16 bit represent the major version and low 16 bit represent the build number. ##### getTotalEditingTime() ``` public final Integer getTotalEditingTime() ``` Gets the total editing time in minutes. **Returns:** java.lang.Integer - The total editing time in minutes. ##### setTotalEditingTime(Integer value) ``` public final void setTotalEditingTime(Integer value) ``` Sets the total editing time in minutes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The total editing time in minutes. | ##### getTitle() ``` public final String getTitle() ``` Gets the title of the document. **Returns:** java.lang.String - The title of the document. ##### setTitle(String value) ``` public final void setTitle(String value) ``` Sets the title of the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The title of the document. | ##### getLinksUpToDate() ``` public final Boolean getLinksUpToDate() ``` Gets a value indicating whether the hyperlinks in the document are up-to-date. **Returns:** java.lang.Boolean - A value indicating whether the hyperlinks in the document are up-to-date. ##### setLinksUpToDate(Boolean value) ``` public final void setLinksUpToDate(Boolean value) ``` Sets a value indicating whether the hyperlinks in the document are up-to-date. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the hyperlinks in the document are up-to-date. | ##### getTitlesOfParts() ``` public final String[] getTitlesOfParts() ``` Gets the titles of document parts. Read-only. **Returns:** java.lang.String[] - The titles of document parts. ##### getWords() ``` public final Integer getWords() ``` Gets an estimate of the number of words in the document. **Returns:** java.lang.Integer - The number of words in the document. ##### set(String propertyName, String value) ``` public final void set(String propertyName, String value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.lang.String | The property value. | ##### set(String propertyName, boolean value) ``` public final void set(String propertyName, boolean value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | boolean | The property value. | ##### set(String propertyName, Date value) ``` public final void set(String propertyName, Date value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | java.util.Date | The property value. | ##### set(String propertyName, int value) ``` public final void set(String propertyName, int value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | int | The property value. | ##### set(String propertyName, double value) ``` public final void set(String propertyName, double value) ``` Adds or replaces the metadata property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The property name. | | value | double | The property value. | ### WordProcessingRevision Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingrevision.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class WordProcessingRevision extends CustomPackage ``` Represents a revision (tracked change) in a document. [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getAuthor() | Gets the author of the revision. | | getDateTime() | Gets the date/time of the revision. | | getRevisionType() | Gets the type of the revision. | ##### getAuthor() ``` public final String getAuthor() ``` Gets the author of the revision. **Returns:** java.lang.String - The author of the revision. ##### getDateTime() ``` public final Date getDateTime() ``` Gets the date/time of the revision. **Returns:** java.util.Date - The date/time of the revision. ##### getRevisionType() ``` public final WordProcessingRevisionType getRevisionType() ``` Gets the type of the revision. **Returns:** WordProcessingRevisionType - The type of the revision. ### WordProcessingRevisionType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingrevisiontype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum WordProcessingRevisionType extends Enum implements IEnumValue ``` Specifies the type of the change being tracked by a revision. #### Fields | Field | Description | | --- | --- | | Insertion | New content was inserted into the document. | | Deletion | Content was removed from the document. | | FormatChange | Change of formatting was applied to the parent node. | | StyleDefinitionChange | Change of formatting was applied to the parent style. | | Moving | Content was moved in the document. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Insertion ``` public static final WordProcessingRevisionType Insertion ``` New content was inserted into the document. ##### Deletion ``` public static final WordProcessingRevisionType Deletion ``` Content was removed from the document. ##### FormatChange ``` public static final WordProcessingRevisionType FormatChange ``` Change of formatting was applied to the parent node. ##### StyleDefinitionChange ``` public static final WordProcessingRevisionType StyleDefinitionChange ``` Change of formatting was applied to the parent style. ##### Moving ``` public static final WordProcessingRevisionType Moving ``` Content was moved in the document. ##### values() ``` public static WordProcessingRevisionType[] values() ``` **Returns:** com.groupdocs.metadata.core.WordProcessingRevisionType[] ##### valueOf(String name) ``` public static WordProcessingRevisionType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** WordProcessingRevisionType ##### getByRawValue(int rawValue) ``` public static WordProcessingRevisionType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** WordProcessingRevisionType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### WordProcessingRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingrootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.DocumentRootPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IDublinCore ``` public class WordProcessingRootPackage extends DocumentRootPackage implements IDublinCore ``` Represents the root package allowing working with metadata in a word processing document. This code sample demonstrates how to read built-in metadata properties of a WordProcessing document. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputDocx)) { > WordProcessingRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getDocumentProperties().getAuthor()); > System.out.println(root.getDocumentProperties().getCreatedTime()); > System.out.println(root.getDocumentProperties().getCompany()); > System.out.println(root.getDocumentProperties().getCategory()); > System.out.println(root.getDocumentProperties().getKeywords()); > // ... > } > > ``` > ``` [Working with metadata in WordProcessing documents]: https://docs.groupdocs.com/display/metadatajava/Working+with+metadata+in+Word+Processing+documents #### Methods | Method | Description | | --- | --- | | getWordProcessingType() | Gets the file type metadata package. | | getDublinCorePackage() | Gets the Dublin Core metadata package extracted from the document. | | getInspectionPackage() | Gets a metadata package containing inspection results for the document. | | getDocumentStatistics() | Gets the document statistics package. | | updateDocumentStatistics() | Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. | ##### getWordProcessingType() ``` public final WordProcessingTypePackage getWordProcessingType() ``` Gets the file type metadata package. **Returns:** WordProcessingTypePackage - The file type metadata package. ##### getDublinCorePackage() ``` public final DublinCorePackage getDublinCorePackage() ``` Gets the Dublin Core metadata package extracted from the document. **Returns:** DublinCorePackage - The Dublin Core metadata package extracted from the document. ##### getInspectionPackage() ``` public final WordProcessingInspectionPackage getInspectionPackage() ``` Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. **Returns:** WordProcessingInspectionPackage - A metadata package containing inspection results for the document. ##### getDocumentStatistics() ``` public final DocumentStatistics getDocumentStatistics() ``` Gets the document statistics package. **Returns:** DocumentStatistics - The document statistics package. ##### updateDocumentStatistics() ``` public final void updateDocumentStatistics() ``` Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. ### WordProcessingTypePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/wordprocessingtypepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage ``` public class WordProcessingTypePackage extends FileTypePackage ``` Represents a metadata package containing document-specific file format information. #### Methods | Method | Description | | --- | --- | | getWordProcessingFormat() | Gets the exact word processing format. | ##### getWordProcessingFormat() ``` public final WordProcessingFormat getWordProcessingFormat() ``` Gets the exact word processing format. **Returns:** WordProcessingFormat - The exact word processing format. ### XmpArray Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmparray.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public class XmpArray extends XmpValueBase ``` Represents base abstraction for XMP array. #### Constructors | Constructor | Description | | --- | --- | | XmpArray(XmpArrayType arrayType, XmpValueBase[] items) | Initializes a new instance of the XmpArray class. | | XmpArray(XmpArrayType arrayType, XmpComplexType[] items) | Initializes a new instance of the XmpArray class. | #### Methods | Method | Description | | --- | --- | | getArrayType() | Gets the type of the XMP array. | | from(T[] array, XmpArrayType type) | Creates an XmpArray instance form an array of XmpComplexType . | | from(String[] array, XmpArrayType type) | Creates an XmpArray instance form a string array. | | from(int[] array, XmpArrayType type) | Creates an XmpArray instance form an integer array. | | from(Date[] array, XmpArrayType type) | Creates an XmpArray instance form a date array. | | from(double[] array, XmpArrayType type) | Creates an XmpArray instance form a double array. | | getXmpRepresentation() | Converts XMP value to the xml representation. | | toPlatformArray(Class type) | Converts the XmpArray to a platform-specific array. | ##### XmpArray(XmpArrayType arrayType, XmpValueBase[] items) ``` public XmpArray(XmpArrayType arrayType, XmpValueBase[] items) ``` Initializes a new instance of the XmpArray class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | arrayType | XmpArrayType | Array type. | | items | XmpValueBase\[\] | Array items. | ##### XmpArray(XmpArrayType arrayType, XmpComplexType[] items) ``` public XmpArray(XmpArrayType arrayType, XmpComplexType[] items) ``` Initializes a new instance of the XmpArray class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | arrayType | XmpArrayType | Array type. | | items | XmpComplexType\[\] | Array items. | ##### getArrayType() ``` public final XmpArrayType getArrayType() ``` Gets the type of the XMP array. **Returns:** XmpArrayType - The type of the XMP array. ##### from(T[] array, XmpArrayType type) ``` public static XmpArray from(T[] array, XmpArrayType type) ``` Creates an XmpArray instance form an array of XmpComplexType . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | T[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . T : The element type of the source array. | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(String[] array, XmpArrayType type) ``` public static XmpArray from(String[] array, XmpArrayType type) ``` Creates an XmpArray instance form a string array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | java.lang.String[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(int[] array, XmpArrayType type) ``` public static XmpArray from(int[] array, XmpArrayType type) ``` Creates an XmpArray instance form an integer array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | int[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(Date[] array, XmpArrayType type) ``` public static XmpArray from(Date[] array, XmpArrayType type) ``` Creates an XmpArray instance form a date array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | java.util.Date[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### from(double[] array, XmpArrayType type) ``` public static XmpArray from(double[] array, XmpArrayType type) ``` Creates an XmpArray instance form a double array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | array | double[] | The array to create an XmpArray from. | | type | XmpArrayType | The type of the XmpArray . | **Returns:** XmpArray - An XmpArray containing all the elements from the original array. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ##### toPlatformArray(Class type) ``` public final T[] toPlatformArray(Class type) ``` Converts the XmpArray to a platform-specific array. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.Class | | **Returns:** T[] - A platform-specific array containing elements of the XmpArray . T : The type of the array element. ### XmpArrayType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmparraytype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpArrayType extends Enum implements IEnumValue ``` Represents array type in XmpArray . #### Fields | Field | Description | | --- | --- | | Unordered | An unordered array. | | Ordered | An ordered array. | | Alternative | An alternative array. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Unordered ``` public static final XmpArrayType Unordered ``` An unordered array. ##### Ordered ``` public static final XmpArrayType Ordered ``` An ordered array. ##### Alternative ``` public static final XmpArrayType Alternative ``` An alternative array. ##### values() ``` public static XmpArrayType[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpArrayType[] ##### valueOf(String name) ``` public static XmpArrayType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpArrayType ##### getByRawValue(int rawValue) ``` public static XmpArrayType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpArrayType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpAudioChannelType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpaudiochanneltype.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpAudioChannelType extends XmpClosedChoice ``` Represents audio channel type. #### Methods | Method | Description | | --- | --- | | getMono() | Gets mono audio channel. | | getStereo() | Gets stereo audio channel. | | getAudio51() | Gets 5.1 audio channel. | | getAudio71() | Gets 7.1 audio channel. | | getAudio16Channel() | Gets 16 audio channel. | | getOtherChannel() | Gets other channel. | ##### getMono() ``` public static XmpAudioChannelType getMono() ``` Gets mono audio channel. **Returns:** XmpAudioChannelType - The mono. ##### getStereo() ``` public static XmpAudioChannelType getStereo() ``` Gets stereo audio channel. **Returns:** XmpAudioChannelType - The stereo. ##### getAudio51() ``` public static XmpAudioChannelType getAudio51() ``` Gets 5.1 audio channel. **Returns:** XmpAudioChannelType - The audio 5.1. ##### getAudio71() ``` public static XmpAudioChannelType getAudio71() ``` Gets 7.1 audio channel. **Returns:** XmpAudioChannelType - The audio 7.1. ##### getAudio16Channel() ``` public static XmpAudioChannelType getAudio16Channel() ``` Gets 16 audio channel. **Returns:** XmpAudioChannelType - 16 channel audio. ##### getOtherChannel() ``` public static XmpAudioChannelType getOtherChannel() ``` Gets other channel. **Returns:** XmpAudioChannelType - The other channel. ### XmpAudioSampleType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpaudiosampletype.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpAudioSampleType extends XmpClosedChoice ``` Represents Audio sample type in XmpDynamicMediaPackage . #### Methods | Method | Description | | --- | --- | | getSample8Int() | Gets 8Int audio sample. | | getSample16Int() | Gets 16Int audio sample. | | getSample24Int() | Gets 24Int audio sample. | | getSample32Int() | Gets 32Int audio sample. | | getSample32Float() | Gets 32Float audio sample. | | getCompressed() | Gets Compressed audio sample. | | getPacked() | Gets Packed audio sample. | | getOther() | Gets Other audio sample. | ##### getSample8Int() ``` public static XmpAudioSampleType getSample8Int() ``` Gets 8Int audio sample. **Returns:** XmpAudioSampleType - 8Int. ##### getSample16Int() ``` public static XmpAudioSampleType getSample16Int() ``` Gets 16Int audio sample. **Returns:** XmpAudioSampleType - 16Int. ##### getSample24Int() ``` public static XmpAudioSampleType getSample24Int() ``` Gets 24Int audio sample. **Returns:** XmpAudioSampleType - 24Int. ##### getSample32Int() ``` public static XmpAudioSampleType getSample32Int() ``` Gets 32Int audio sample. **Returns:** XmpAudioSampleType - 32Int. ##### getSample32Float() ``` public static XmpAudioSampleType getSample32Float() ``` Gets 32Float audio sample. **Returns:** XmpAudioSampleType - 32Float. ##### getCompressed() ``` public static XmpAudioSampleType getCompressed() ``` Gets Compressed audio sample. **Returns:** XmpAudioSampleType - The compressed audio. ##### getPacked() ``` public static XmpAudioSampleType getPacked() ``` Gets Packed audio sample. **Returns:** XmpAudioSampleType - The packed audio. ##### getOther() ``` public static XmpAudioSampleType getOther() ``` Gets Other audio sample. **Returns:** XmpAudioSampleType - The packed audio. ### XmpBasicJobTicketPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpbasicjobticketpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpBasicJobTicketPackage extends XmpPackage ``` Represents Basic Job-Ticket namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpBasicJobTicketPackage() | Initializes a new instance of the XmpBasicJobTicketPackage class. | #### Methods | Method | Description | | --- | --- | | getJobs() | Gets the jobs. | | setJobs(XmpJob[] value) | Sets the jobs. | ##### XmpBasicJobTicketPackage() ``` public XmpBasicJobTicketPackage() ``` Initializes a new instance of the XmpBasicJobTicketPackage class. ##### getJobs() ``` public final XmpJob[] getJobs() ``` Gets the jobs. **Returns:** com.groupdocs.metadata.core.XmpJob[] - The jobs. ##### setJobs(XmpJob[] value) ``` public final void setJobs(XmpJob[] value) ``` Sets the jobs. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpJob\[\] | The jobs. | ### XmpBasicPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpbasicpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpBasicPackage extends XmpPackage ``` Represents the XMP basic namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpBasicPackage() | Initializes a new instance of the XmpBasicPackage class. | #### Fields | Field | Description | | --- | --- | | RatingRejected | Rating rejected value. | | RatingMin | Rating min value. | | RatingMax | Rating max value. | #### Methods | Method | Description | | --- | --- | | getBaseUrl() | Gets the base URL for relative URLs in the document content. | | setBaseUrl(String value) | Sets the base URL for relative URLs in the document content. | | getCreateDate() | Gets the date and time the resource was created. | | setCreateDate(Date value) | Sets the date and time the resource was created. | | getCreatorTool() | Gets the name of the tool used to create the resource. | | setCreatorTool(String value) | Sets the name of the tool used to create the resource. | | getIdentifiers() | Gets an unordered array of text strings that unambiguously identify the resource within a given context. | | setIdentifiers(String[] value) | Sets an unordered array of text strings that unambiguously identify the resource within a given context. | | getLabel() | Gets a word or short phrase that identifies the resource as a member of a user-defined collection. | | setLabel(String value) | Sets a word or short phrase that identifies the resource as a member of a user-defined collection. | | getMetadataDate() | Gets the date and time that any metadata for this resource was last changed. | | setMetadataDate(Date value) | Sets the date and time that any metadata for this resource was last changed. | | getModifyDate() | Gets the date and time the resource was last modified. | | setModifyDate(Date value) | Sets the date and time the resource was last modified. | | getNickname() | Gets a short informal name for the resource. | | setNickname(String value) | Sets a short informal name for the resource. | | getRating() | Gets a user-assigned rating for this file. | | setRating(double value) | Sets a user-assigned rating for this file. | | getThumbnails() | Gets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. | | setThumbnails(XmpThumbnail[] value) | Sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. | | set(String name, String value) | Adds string property. | ##### XmpBasicPackage() ``` public XmpBasicPackage() ``` Initializes a new instance of the XmpBasicPackage class. ##### RatingRejected ``` public static final float RatingRejected ``` Rating rejected value. ##### RatingMin ``` public static final float RatingMin ``` Rating min value. ##### RatingMax ``` public static final float RatingMax ``` Rating max value. ##### getBaseUrl() ``` public final String getBaseUrl() ``` Gets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. **Returns:** java.lang.String - The base URL. ##### setBaseUrl(String value) ``` public final void setBaseUrl(String value) ``` Sets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The base URL. | ##### getCreateDate() ``` public final Date getCreateDate() ``` Gets the date and time the resource was created. **Returns:** java.util.Date - The resource creation date. ##### setCreateDate(Date value) ``` public final void setCreateDate(Date value) ``` Sets the date and time the resource was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The resource creation date. | ##### getCreatorTool() ``` public final String getCreatorTool() ``` Gets the name of the tool used to create the resource. **Returns:** java.lang.String - The name of the tool used to create the resource. ##### setCreatorTool(String value) ``` public final void setCreatorTool(String value) ``` Sets the name of the tool used to create the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the tool used to create the resource. | ##### getIdentifiers() ``` public final String[] getIdentifiers() ``` Gets an unordered array of text strings that unambiguously identify the resource within a given context. **Returns:** java.lang.String[] - An array of the identifiers. ##### setIdentifiers(String[] value) ``` public final void setIdentifiers(String[] value) ``` Sets an unordered array of text strings that unambiguously identify the resource within a given context. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the identifiers. | ##### getLabel() ``` public final String getLabel() ``` Gets a word or short phrase that identifies the resource as a member of a user-defined collection. **Returns:** java.lang.String - The label of the resource. ##### setLabel(String value) ``` public final void setLabel(String value) ``` Sets a word or short phrase that identifies the resource as a member of a user-defined collection. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The label of the resource. | ##### getMetadataDate() ``` public final Date getMetadataDate() ``` Gets the date and time that any metadata for this resource was last changed. **Returns:** java.util.Date - The metadata date. ##### setMetadataDate(Date value) ``` public final void setMetadataDate(Date value) ``` Sets the date and time that any metadata for this resource was last changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The metadata date. | ##### getModifyDate() ``` public final Date getModifyDate() ``` Gets the date and time the resource was last modified. **Returns:** java.util.Date - The last modification date. ##### setModifyDate(Date value) ``` public final void setModifyDate(Date value) ``` Sets the date and time the resource was last modified. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last modification date. | ##### getNickname() ``` public final String getNickname() ``` Gets a short informal name for the resource. **Returns:** java.lang.String - The nickname. ##### setNickname(String value) ``` public final void setNickname(String value) ``` Sets a short informal name for the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The nickname. | ##### getRating() ``` public final double getRating() ``` Gets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates \\u201crejected\\u201d and 0 indicates \\u201cunrated\\u201d. **Returns:** double - The rating. ##### setRating(double value) ``` public final void setRating(double value) ``` Sets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates \\u201crejected\\u201d and 0 indicates \\u201cunrated\\u201d. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | The rating. | ##### getThumbnails() ``` public final XmpThumbnail[] getThumbnails() ``` Gets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. **Returns:** com.groupdocs.metadata.core.XmpThumbnail[] - The thumbnails. ##### setThumbnails(XmpThumbnail[] value) ``` public final void setThumbnails(XmpThumbnail[] value) ``` Sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpThumbnail\[\] | The thumbnails. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Adds string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XmpBasic key. | | value | java.lang.String | String value. | ### XmpBoolean Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpboolean.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpBoolean extends XmpValueBase ``` Represents XMP Boolean basic type. #### Constructors | Constructor | Description | | --- | --- | | XmpBoolean(boolean value) | Initializes a new instance of the XmpBoolean class based on boolean value. | | XmpBoolean() | Initializes a new instance of the XmpBoolean class with default value. | | XmpBoolean(String value) | Initializes a new instance of the XmpBoolean class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpBoolean(boolean value) ``` public XmpBoolean(boolean value) ``` Initializes a new instance of the XmpBoolean class based on boolean value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | bool value. | ##### XmpBoolean() ``` public XmpBoolean() ``` Initializes a new instance of the XmpBoolean class with default value. ##### XmpBoolean(String value) ``` public XmpBoolean(String value) ``` Initializes a new instance of the XmpBoolean class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getValue() ``` public final boolean getValue() ``` Gets the value. **Returns:** boolean - Boolean value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - String contained XMP representation. ### XmpCameraRawPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcamerarawpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpCameraRawPackage extends XmpPackage ``` Represents Camera Raw schema. #### Constructors | Constructor | Description | | --- | --- | | XmpCameraRawPackage() | Initializes a new instance of the XmpCameraRawPackage class. | #### Methods | Method | Description | | --- | --- | | getAutoBrightness() | Gets the AutoBrightness value. | | setAutoBrightness(Boolean value) | Sets the AutoBrightness value. | | getAutoContrast() | Gets the AutoContrast value. | | setAutoContrast(Boolean value) | Sets the AutoContrast value. | | getAutoExposure() | Gets the AutoExposure value. | | setAutoExposure(Boolean value) | Sets the AutoExposure value. | | getAutoShadows() | Gets the AutoShadows value. | | setAutoShadows(Boolean value) | Sets the AutoShadows value. | | getBlueHue() | Gets the BlueHue value. | | setBlueHue(Integer value) | Sets the BlueHue value. | | getBlueSaturation() | Gets the BlueSaturation. | | setBlueSaturation(Integer value) | Sets the BlueSaturation. | | getBrightness() | Gets the Brightness value. | | setBrightness(Integer value) | Sets the Brightness value. | | getCameraProfile() | Gets the CameraProfile value. | | setCameraProfile(String value) | Sets the CameraProfile value. | | getChromaticAberrationB() | Gets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. | | setChromaticAberrationB(Integer value) | Sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. | | getChromaticAberrationR() | Gets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. | | setChromaticAberrationR(Integer value) | Sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. | | getColorNoiseReduction() | Gets the Color Noise Reduction setting. | | setColorNoiseReduction(Integer value) | Sets the Color Noise Reduction setting. | | getContrast() | Gets the Contrast setting. | | setContrast(Integer value) | Sets the Contrast setting. | | getCropTop() | Gets the CropTop setting. | | setCropTop(Double value) | Sets the CropTop setting. | | getCropLeft() | Gets the CropLeft setting. | | setCropLeft(Double value) | Sets the CropLeft setting. | | getCropBottom() | Gets the CropBottom setting. | | setCropBottom(Double value) | Sets the CropBottom setting. | | getCropRight() | Gets the CropRight setting. | | setCropRight(Double value) | Sets the CropRight setting. | | getCropAngle() | Gets the CropAngle setting. | | setCropAngle(Double value) | Sets the CropAngle setting. | | getCropWidth() | Gets the width of the resulting cropped image in CropUnits units. | | setCropWidth(Double value) | Sets the width of the resulting cropped image in CropUnits units. | | getCropHeight() | Gets the height of the resulting cropped image in CropUnits units. | | setCropHeight(Double value) | Sets the height of the resulting cropped image in CropUnits units. | | getCropUnits() | Gets units for CropWidth and CropHeight . | | setCropUnits(XmpCropUnit value) | Sets units for CropWidth and CropHeight . | | getExposure() | Gets the Exposure setting. | | setExposure(Double value) | Sets the Exposure setting. | | getGreenHue() | Gets the Green Hue setting. | | setGreenHue(Integer value) | Sets the Green Hue setting. | | getGreenSaturation() | Gets the Green Saturation setting. | | setGreenSaturation(Integer value) | Sets the Green Saturation setting. | | hasCrop() | Gets or sets the HasCrop value. | | setCrop(Boolean value) | Sets the HasCrop value. | | hasSettings() | Gets or sets HasSettings value. | | setSettings(Boolean value) | Sets HasSettings value. | | getLuminanceSmoothing() | Gets the LuminanceSmoothing setting. | | setLuminanceSmoothing(Integer value) | Sets the LuminanceSmoothing setting. | | getRawFileName() | Gets the file name for a raw file (not a complete path). | | setRawFileName(String value) | Sets the file name for a raw file (not a complete path). | | getRedHue() | Gets the Red Hue setting. | | setRedHue(Integer value) | Sets the Red Hue setting. | | getRedSaturation() | Gets the Red Saturation setting. | | setRedSaturation(Integer value) | Sets the Red Saturation setting. | | getSaturation() | Gets the Saturation setting. | | setSaturation(Integer value) | Sets the Saturation setting. | | getShadows() | Gets the Shadows setting. | | setShadows(Integer value) | Sets the Shadows setting. | | getShadowTint() | Gets the ShadowTint setting. | | setShadowTint(Integer value) | Sets the ShadowTint setting. | | getSharpness() | Gets the Sharpness setting. | | setSharpness(Integer value) | Sets the Sharpness setting. | | getTemperature() | Gets the Temperature setting. | | setTemperature(Integer value) | Sets the Temperature setting. | | getTint() | Gets the Tint setting. | | setTint(Integer value) | Sets the Tint setting. | | getVersion() | Gets the version of the Camera Raw plug-in. | | setVersion(String value) | Sets the version of the Camera Raw plug-in. | | getVignetteAmount() | Gets the Vignette Amount setting. | | setVignetteAmount(Integer value) | Sets the Vignette Amount setting. | | getVignetteMidpoint() | Gets the Vignetting Midpoint setting. | | setVignetteMidpoint(Integer value) | Sets the Vignetting Midpoint setting. | | getWhiteBalance() | Gets White Balance setting. | | set(String name, String value) | Adds string property. | | setWhiteBalance(XmpWhiteBalance whiteBalance) | Sets the white balance. | ##### XmpCameraRawPackage() ``` public XmpCameraRawPackage() ``` Initializes a new instance of the XmpCameraRawPackage class. ##### getAutoBrightness() ``` public final Boolean getAutoBrightness() ``` Gets the AutoBrightness value. When true, Brightness is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic brightness]; otherwise, false . ##### setAutoBrightness(Boolean value) ``` public final void setAutoBrightness(Boolean value) ``` Sets the AutoBrightness value. When true, Brightness is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic brightness]; otherwise, false . | ##### getAutoContrast() ``` public final Boolean getAutoContrast() ``` Gets the AutoContrast value. When true, "Contrast" is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic contrast]; otherwise, false . ##### setAutoContrast(Boolean value) ``` public final void setAutoContrast(Boolean value) ``` Sets the AutoContrast value. When true, "Contrast" is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic contrast]; otherwise, false . | ##### getAutoExposure() ``` public final Boolean getAutoExposure() ``` Gets the AutoExposure value. When true, "Exposure" is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic exposure]; otherwise, false . ##### setAutoExposure(Boolean value) ``` public final void setAutoExposure(Boolean value) ``` Sets the AutoExposure value. When true, "Exposure" is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic exposure]; otherwise, false . | ##### getAutoShadows() ``` public final Boolean getAutoShadows() ``` Gets the AutoShadows value. When true, "Shadows" is automatically adjusted. **Returns:** java.lang.Boolean - true if [automatic shadows]; otherwise, false . ##### setAutoShadows(Boolean value) ``` public final void setAutoShadows(Boolean value) ``` Sets the AutoShadows value. When true, "Shadows" is automatically adjusted. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if [automatic shadows]; otherwise, false . | ##### getBlueHue() ``` public final Integer getBlueHue() ``` Gets the BlueHue value. Null if undefined. **Returns:** java.lang.Integer - The blue hue. ##### setBlueHue(Integer value) ``` public final void setBlueHue(Integer value) ``` Sets the BlueHue value. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The blue hue. | ##### getBlueSaturation() ``` public final Integer getBlueSaturation() ``` Gets the BlueSaturation. Null if undefined. **Returns:** java.lang.Integer - The blue saturation. ##### setBlueSaturation(Integer value) ``` public final void setBlueSaturation(Integer value) ``` Sets the BlueSaturation. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The blue saturation. | ##### getBrightness() ``` public final Integer getBrightness() ``` Gets the Brightness value. Null if undefined. **Returns:** java.lang.Integer - The brightness. ##### setBrightness(Integer value) ``` public final void setBrightness(Integer value) ``` Sets the Brightness value. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The brightness. | ##### getCameraProfile() ``` public final String getCameraProfile() ``` Gets the CameraProfile value. **Returns:** java.lang.String - The camera profile. ##### setCameraProfile(String value) ``` public final void setCameraProfile(String value) ``` Sets the CameraProfile value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The camera profile. | ##### getChromaticAberrationB() ``` public final Integer getChromaticAberrationB() ``` Gets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. **Returns:** java.lang.Integer - The chromatic aberration B. ##### setChromaticAberrationB(Integer value) ``` public final void setChromaticAberrationB(Integer value) ``` Sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The chromatic aberration B. | ##### getChromaticAberrationR() ``` public final Integer getChromaticAberrationR() ``` Gets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. **Returns:** java.lang.Integer - The chromatic aberration R. ##### setChromaticAberrationR(Integer value) ``` public final void setChromaticAberrationR(Integer value) ``` Sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The chromatic aberration R. | ##### getColorNoiseReduction() ``` public final Integer getColorNoiseReduction() ``` Gets the Color Noise Reduction setting. Range 0 to 100. **Returns:** java.lang.Integer - The color noise reduction. ##### setColorNoiseReduction(Integer value) ``` public final void setColorNoiseReduction(Integer value) ``` Sets the Color Noise Reduction setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The color noise reduction. | ##### getContrast() ``` public final Integer getContrast() ``` Gets the Contrast setting. Range -50 to 100. **Returns:** java.lang.Integer - The contrast. ##### setContrast(Integer value) ``` public final void setContrast(Integer value) ``` Sets the Contrast setting. Range -50 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The contrast. | ##### getCropTop() ``` public final Double getCropTop() ``` Gets the CropTop setting. When HasCrop is true, top of the crop rectangle. **Returns:** java.lang.Double - The crop top. ##### setCropTop(Double value) ``` public final void setCropTop(Double value) ``` Sets the CropTop setting. When HasCrop is true, top of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop top. | ##### getCropLeft() ``` public final Double getCropLeft() ``` Gets the CropLeft setting. When HasCrop is true, left of the crop rectangle. **Returns:** java.lang.Double - The crop left. ##### setCropLeft(Double value) ``` public final void setCropLeft(Double value) ``` Sets the CropLeft setting. When HasCrop is true, left of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop left. | ##### getCropBottom() ``` public final Double getCropBottom() ``` Gets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. **Returns:** java.lang.Double - The crop bottom. ##### setCropBottom(Double value) ``` public final void setCropBottom(Double value) ``` Sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop bottom. | ##### getCropRight() ``` public final Double getCropRight() ``` Gets the CropRight setting. When HasCrop is true, right of the crop rectangle. **Returns:** java.lang.Double - The crop right. ##### setCropRight(Double value) ``` public final void setCropRight(Double value) ``` Sets the CropRight setting. When HasCrop is true, right of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop right. | ##### getCropAngle() ``` public final Double getCropAngle() ``` Gets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. **Returns:** java.lang.Double - The crop angle. ##### setCropAngle(Double value) ``` public final void setCropAngle(Double value) ``` Sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The crop angle. | ##### getCropWidth() ``` public final Double getCropWidth() ``` Gets the width of the resulting cropped image in CropUnits units. **Returns:** java.lang.Double - The width of the crop. ##### setCropWidth(Double value) ``` public final void setCropWidth(Double value) ``` Sets the width of the resulting cropped image in CropUnits units. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The width of the crop. | ##### getCropHeight() ``` public final Double getCropHeight() ``` Gets the height of the resulting cropped image in CropUnits units. **Returns:** java.lang.Double - The height of the crop. ##### setCropHeight(Double value) ``` public final void setCropHeight(Double value) ``` Sets the height of the resulting cropped image in CropUnits units. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The height of the crop. | ##### getCropUnits() ``` public final XmpCropUnit getCropUnits() ``` Gets units for CropWidth and CropHeight . **Returns:** XmpCropUnit - The crop units. ##### setCropUnits(XmpCropUnit value) ``` public final void setCropUnits(XmpCropUnit value) ``` Sets units for CropWidth and CropHeight . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpCropUnit | The crop units. | ##### getExposure() ``` public final Double getExposure() ``` Gets the Exposure setting. **Returns:** java.lang.Double - The exposure. ##### setExposure(Double value) ``` public final void setExposure(Double value) ``` Sets the Exposure setting. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The exposure. | ##### getGreenHue() ``` public final Integer getGreenHue() ``` Gets the Green Hue setting. Range -100 to 100. **Returns:** java.lang.Integer - The green hue. ##### setGreenHue(Integer value) ``` public final void setGreenHue(Integer value) ``` Sets the Green Hue setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The green hue. | ##### getGreenSaturation() ``` public final Integer getGreenSaturation() ``` Gets the Green Saturation setting. Range -100 to 100. **Returns:** java.lang.Integer - The green saturation. ##### setGreenSaturation(Integer value) ``` public final void setGreenSaturation(Integer value) ``` Sets the Green Saturation setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The green saturation. | ##### hasCrop() ``` public final Boolean hasCrop() ``` Gets or sets the HasCrop value. When true, the image has a cropping rectangle. **Returns:** java.lang.Boolean - true if the image has a cropping rectangle; otherwise, false . ##### setCrop(Boolean value) ``` public final void setCrop(Boolean value) ``` Sets the HasCrop value. When true, the image has a cropping rectangle. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the image has a cropping rectangle; otherwise, false . | ##### hasSettings() ``` public final Boolean hasSettings() ``` Gets or sets HasSettings value. When true, non-default camera raw settings. **Returns:** java.lang.Boolean - true if image has non-default camera raw settings; otherwise, false . ##### setSettings(Boolean value) ``` public final void setSettings(Boolean value) ``` Sets HasSettings value. When true, non-default camera raw settings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if image has non-default camera raw settings; otherwise, false . | ##### getLuminanceSmoothing() ``` public final Integer getLuminanceSmoothing() ``` Gets the LuminanceSmoothing setting. Range 0 to 100. **Returns:** java.lang.Integer - The luminance smoothing. ##### setLuminanceSmoothing(Integer value) ``` public final void setLuminanceSmoothing(Integer value) ``` Sets the LuminanceSmoothing setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The luminance smoothing. | ##### getRawFileName() ``` public final String getRawFileName() ``` Gets the file name for a raw file (not a complete path). **Returns:** java.lang.String - The name of the raw file. ##### setRawFileName(String value) ``` public final void setRawFileName(String value) ``` Sets the file name for a raw file (not a complete path). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the raw file. | ##### getRedHue() ``` public final Integer getRedHue() ``` Gets the Red Hue setting. Range -100 to 100. **Returns:** java.lang.Integer - The red hue. ##### setRedHue(Integer value) ``` public final void setRedHue(Integer value) ``` Sets the Red Hue setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The red hue. | ##### getRedSaturation() ``` public final Integer getRedSaturation() ``` Gets the Red Saturation setting. Range -100 to 100. **Returns:** java.lang.Integer - The red saturation. ##### setRedSaturation(Integer value) ``` public final void setRedSaturation(Integer value) ``` Sets the Red Saturation setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The red saturation. | ##### getSaturation() ``` public final Integer getSaturation() ``` Gets the Saturation setting. Range -100 to 100. **Returns:** java.lang.Integer - The saturation. ##### setSaturation(Integer value) ``` public final void setSaturation(Integer value) ``` Sets the Saturation setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The saturation. | ##### getShadows() ``` public final Integer getShadows() ``` Gets the Shadows setting. Range 0 to 100. **Returns:** java.lang.Integer - The shadows. ##### setShadows(Integer value) ``` public final void setShadows(Integer value) ``` Sets the Shadows setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The shadows. | ##### getShadowTint() ``` public final Integer getShadowTint() ``` Gets the ShadowTint setting. Range -100 to 100. **Returns:** java.lang.Integer - The shadow tint. ##### setShadowTint(Integer value) ``` public final void setShadowTint(Integer value) ``` Sets the ShadowTint setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The shadow tint. | ##### getSharpness() ``` public final Integer getSharpness() ``` Gets the Sharpness setting. Range 0 to 100. **Returns:** java.lang.Integer - The sharpness. ##### setSharpness(Integer value) ``` public final void setSharpness(Integer value) ``` Sets the Sharpness setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The sharpness. | ##### getTemperature() ``` public final Integer getTemperature() ``` Gets the Temperature setting. Range 2000 to 50000. **Returns:** java.lang.Integer - The temperature. ##### setTemperature(Integer value) ``` public final void setTemperature(Integer value) ``` Sets the Temperature setting. Range 2000 to 50000. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The temperature. | ##### getTint() ``` public final Integer getTint() ``` Gets the Tint setting. Range -150 to 150. **Returns:** java.lang.Integer - The tint. ##### setTint(Integer value) ``` public final void setTint(Integer value) ``` Sets the Tint setting. Range -150 to 150. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The tint. | ##### getVersion() ``` public final String getVersion() ``` Gets the version of the Camera Raw plug-in. **Returns:** java.lang.String - The version. ##### setVersion(String value) ``` public final void setVersion(String value) ``` Sets the version of the Camera Raw plug-in. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The version. | ##### getVignetteAmount() ``` public final Integer getVignetteAmount() ``` Gets the Vignette Amount setting. Range -100 to 100. **Returns:** java.lang.Integer - The vignette amount. ##### setVignetteAmount(Integer value) ``` public final void setVignetteAmount(Integer value) ``` Sets the Vignette Amount setting. Range -100 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The vignette amount. | ##### getVignetteMidpoint() ``` public final Integer getVignetteMidpoint() ``` Gets the Vignetting Midpoint setting. Range 0 to 100. **Returns:** java.lang.Integer - The Vignette Midpoint. ##### setVignetteMidpoint(Integer value) ``` public final void setVignetteMidpoint(Integer value) ``` Sets the Vignetting Midpoint setting. Range 0 to 100. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The Vignette Midpoint. | ##### getWhiteBalance() ``` public final String getWhiteBalance() ``` Gets White Balance setting. Use SetWhiteBalance to set white balance value. **Returns:** java.lang.String - The white balance. ##### set(String name, String value) ``` public void set(String name, String value) ``` Adds string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata key. | | value | java.lang.String | XMP metadata value. | ##### setWhiteBalance(XmpWhiteBalance whiteBalance) ``` public final void setWhiteBalance(XmpWhiteBalance whiteBalance) ``` Sets the white balance. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | whiteBalance | XmpWhiteBalance | The white balance. | ### XmpClosedChoice Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpclosedchoice.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public abstract class XmpClosedChoice implements System.IEquatable> ``` Represents XMP Closed Choice. T : Type of closed choice. #### Methods | Method | Description | | --- | --- | | hashCode() | Returns a hash code for this instance. | | equals(Object obj) | Indicates whether the current object is equal to another object of the same type. | | equals(XmpClosedChoice other) | Indicates whether the current object is equal to another object of the same type. | | toString() | Returns a String that represents this instance. | ##### hashCode() ``` public int hashCode() ``` Returns a hash code for this instance. **Returns:** int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the obj parameter; otherwise, false. ##### equals(XmpClosedChoice other) ``` public final boolean equals(XmpClosedChoice other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | XmpClosedChoice | An object to compare with this object. | **Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false. ##### toString() ``` public String toString() ``` Returns a String that represents this instance. **Returns:** java.lang.String - A String that represents this instance. ### XmpColorantBase Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcolorantbase.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public class XmpColorantBase extends XmpComplexType ``` A structure containing the characteristics of a colorant (swatch) used in a document. #### Methods | Method | Description | | --- | --- | | getMode() | Gets the colour space in which the colour is defined. | | getSwatchName() | Gets the name of the swatch. | | setSwatchName(String value) | Sets the name of the swatch. | | getColorType() | Gets the type of color. | | setColorType(XmpColorType value) | Sets the type of color. | ##### getMode() ``` public final XmpColorantColorMode getMode() ``` Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. **Returns:** XmpColorantColorMode - The color mode. ##### getSwatchName() ``` public final String getSwatchName() ``` Gets the name of the swatch. **Returns:** java.lang.String - The name of the swatch. ##### setSwatchName(String value) ``` public final void setSwatchName(String value) ``` Sets the name of the swatch. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the swatch. | ##### getColorType() ``` public final XmpColorType getColorType() ``` Gets the type of color. **Returns:** XmpColorType - The color type. ##### setColorType(XmpColorType value) ``` public final void setColorType(XmpColorType value) ``` Sets the type of color. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpColorType | The color type. | ### XmpColorantCmyk Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcolorantcmyk.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase ``` public final class XmpColorantCmyk extends XmpColorantBase ``` Represents the CMYK Colorant. #### Constructors | Constructor | Description | | --- | --- | | XmpColorantCmyk() | Initializes a new instance of the XmpColorantCmyk class. | | XmpColorantCmyk(double cyan, double magenta, double yellow, double black) | Initializes a new instance of the XmpColorantCmyk class. | #### Fields | Field | Description | | --- | --- | | ColorValueMax | Color max value in CMYK colorant. | | ColorValueMin | Color min value in CMYK colorant. | #### Methods | Method | Description | | --- | --- | | getBlack() | Gets the black component. | | setBlack(Double value) | Sets the black component. | | getCyan() | Gets the cyan component. | | setCyan(Double value) | Sets the cyan component. | | getMagenta() | Gets the magenta component. | | setMagenta(Double value) | Sets the magenta component. | | getYellow() | Gets the yellow component. | | setYellow(Double value) | Sets the yellow component. | ##### XmpColorantCmyk() ``` public XmpColorantCmyk() ``` Initializes a new instance of the XmpColorantCmyk class. ##### XmpColorantCmyk(double cyan, double magenta, double yellow, double black) ``` public XmpColorantCmyk(double cyan, double magenta, double yellow, double black) ``` Initializes a new instance of the XmpColorantCmyk class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | cyan | double | Cyan component. | | magenta | double | Magenta component. | | yellow | double | Yellow component. | | black | double | Black component. | ##### ColorValueMax ``` public static final double ColorValueMax ``` Color max value in CMYK colorant. ##### ColorValueMin ``` public static final double ColorValueMin ``` Color min value in CMYK colorant. ##### getBlack() ``` public final Double getBlack() ``` Gets the black component. **Returns:** java.lang.Double - The black value. ##### setBlack(Double value) ``` public final void setBlack(Double value) ``` Sets the black component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The black value. | ##### getCyan() ``` public final Double getCyan() ``` Gets the cyan component. **Returns:** java.lang.Double - The cyan value. ##### setCyan(Double value) ``` public final void setCyan(Double value) ``` Sets the cyan component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The cyan value. | ##### getMagenta() ``` public final Double getMagenta() ``` Gets the magenta component. **Returns:** java.lang.Double - The magenta value. ##### setMagenta(Double value) ``` public final void setMagenta(Double value) ``` Sets the magenta component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The magenta value. | ##### getYellow() ``` public final Double getYellow() ``` Gets the yellow component. **Returns:** java.lang.Double - The yellow value. ##### setYellow(Double value) ``` public final void setYellow(Double value) ``` Sets the yellow component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The yellow value. | ### XmpColorantColorMode Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcolorantcolormode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpColorantColorMode extends Enum implements IEnumValue ``` Represents color mode in XmpColorantBase . #### Fields | Field | Description | | --- | --- | | Undefined | The color mode is undefined. | | Cmyk | CMYK color mode. | | Rgb | RGB color mode. | | Lab | LAB color mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Undefined ``` public static final XmpColorantColorMode Undefined ``` The color mode is undefined. ##### Cmyk ``` public static final XmpColorantColorMode Cmyk ``` CMYK color mode. ##### Rgb ``` public static final XmpColorantColorMode Rgb ``` RGB color mode. ##### Lab ``` public static final XmpColorantColorMode Lab ``` LAB color mode. ##### values() ``` public static XmpColorantColorMode[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpColorantColorMode[] ##### valueOf(String name) ``` public static XmpColorantColorMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpColorantColorMode ##### getByRawValue(int rawValue) ``` public static XmpColorantColorMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpColorantColorMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpColorantLab Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcolorantlab.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase ``` public final class XmpColorantLab extends XmpColorantBase ``` Represents the LAB Colorant. #### Constructors | Constructor | Description | | --- | --- | | XmpColorantLab() | Initializes a new instance of the XmpColorantLab class. | | XmpColorantLab(byte a, byte b, double l) | Initializes a new instance of the XmpColorantLab class. | #### Fields | Field | Description | | --- | --- | | MinL | Component L min value. | | MaxL | Component L max value. | #### Methods | Method | Description | | --- | --- | | getA() | Gets the A component. | | setA(Byte value) | Sets the A component. | | getB() | Gets the B component. | | setB(Byte value) | Sets the B component. | | getL() | Gets the L component. | | setL(Double value) | Sets the L component. | ##### XmpColorantLab() ``` public XmpColorantLab() ``` Initializes a new instance of the XmpColorantLab class. ##### XmpColorantLab(byte a, byte b, double l) ``` public XmpColorantLab(byte a, byte b, double l) ``` Initializes a new instance of the XmpColorantLab class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | a | byte | A component. | | b | byte | B component. | | l | double | L component. | ##### MinL ``` public static final double MinL ``` Component L min value. ##### MaxL ``` public static final double MaxL ``` Component L max value. ##### getA() ``` public final Byte getA() ``` Gets the A component. **Returns:** java.lang.Byte - The A component. ##### setA(Byte value) ``` public final void setA(Byte value) ``` Sets the A component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | The A component. | ##### getB() ``` public final Byte getB() ``` Gets the B component. **Returns:** java.lang.Byte - The B component. ##### setB(Byte value) ``` public final void setB(Byte value) ``` Sets the B component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Byte | The B component. | ##### getL() ``` public final Double getL() ``` Gets the L component. **Returns:** java.lang.Double - The L component. ##### setL(Double value) ``` public final void setL(Double value) ``` Sets the L component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The L component. | ### XmpColorantRgb Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcolorantrgb.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase ``` public final class XmpColorantRgb extends XmpColorantBase ``` Represents the RGB Colorant. #### Constructors | Constructor | Description | | --- | --- | | XmpColorantRgb() | Initializes a new instance of the XmpColorantRgb class. | | XmpColorantRgb(int red, int green, int blue) | Initializes a new instance of the XmpColorantRgb class. | #### Methods | Method | Description | | --- | --- | | getRed() | Gets the red component. | | setRed(Integer value) | Sets the red component. | | getGreen() | Gets the green value. | | setGreen(Integer value) | Sets the green value. | | getBlue() | Gets the blue component. | | setBlue(Integer value) | Sets the blue component. | ##### XmpColorantRgb() ``` public XmpColorantRgb() ``` Initializes a new instance of the XmpColorantRgb class. ##### XmpColorantRgb(int red, int green, int blue) ``` public XmpColorantRgb(int red, int green, int blue) ``` Initializes a new instance of the XmpColorantRgb class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | red | int | Red component. | | green | int | Green component. | | blue | int | Blue component. | ##### getRed() ``` public final Integer getRed() ``` Gets the red component. **Returns:** java.lang.Integer - The red component. ##### setRed(Integer value) ``` public final void setRed(Integer value) ``` Sets the red component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The red component. | ##### getGreen() ``` public final Integer getGreen() ``` Gets the green value. **Returns:** java.lang.Integer - The green component. ##### setGreen(Integer value) ``` public final void setGreen(Integer value) ``` Sets the green value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The green component. | ##### getBlue() ``` public final Integer getBlue() ``` Gets the blue component. **Returns:** java.lang.Integer - The blue component. ##### setBlue(Integer value) ``` public final void setBlue(Integer value) ``` Sets the blue component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The blue component. | ### XmpColorType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcolortype.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpColorType extends Enum implements IEnumValue ``` Type of color in XmpColorantBase . #### Fields | Field | Description | | --- | --- | | Process | The Process color type. | | Spot | The Spot color type. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Process ``` public static final XmpColorType Process ``` The Process color type. ##### Spot ``` public static final XmpColorType Spot ``` The Spot color type. ##### values() ``` public static XmpColorType[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpColorType[] ##### valueOf(String name) ``` public static XmpColorType valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpColorType ##### getByRawValue(int rawValue) ``` public static XmpColorType getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpColorType ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpComplexType Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcomplextype.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer ``` public class XmpComplexType extends XmpMetadataContainer ``` Represents base abstraction for XMP Complex value type. See more: XMP Specification Part 2, Chapter 1.2.2 #### Methods | Method | Description | | --- | --- | | getPrefixes() | Gets the namespace prefixes that are used in the XmpComplexType instance. | | getNamespaceUris() | Gets the namespace URIs that are used in the XmpComplexType instance. | | getXmpRepresentation() | Returns string contained value in XMP format. | | toString() | Returns a String that represents this instance. | | getNamespaceUri(String prefix) | Gets the namespace URI associated with the specified prefix. | ##### getPrefixes() ``` public final String[] getPrefixes() ``` Gets the namespace prefixes that are used in the XmpComplexType instance. **Returns:** java.lang.String[] - The namespace prefixes. ##### getNamespaceUris() ``` public final String[] getNamespaceUris() ``` Gets the namespace URIs that are used in the XmpComplexType instance. **Returns:** java.lang.String[] - The namespace URIs. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ##### toString() ``` public String toString() ``` Returns a String that represents this instance. **Returns:** java.lang.String - A String that represents this instance. ##### getNamespaceUri(String prefix) ``` public final String getNamespaceUri(String prefix) ``` Gets the namespace URI associated with the specified prefix. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | prefix | java.lang.String | The prefix of the namespace to get. | **Returns:** java.lang.String - The associated namespace URI if the prefix is registered; otherwise, null. ### XmpComplexTypeValue Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcomplextypevalue.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public class XmpComplexTypeValue extends XmpValueBase ``` Represents an XMP value containing a complex type instance. #### Methods | Method | Description | | --- | --- | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpCropUnit Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpcropunit.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpCropUnit extends Enum implements IEnumValue ``` Represent a unit for CropWidth and CropHeight in XmpCameraRawPackage . #### Fields | Field | Description | | --- | --- | | Pixels | Pixels units. | | Inches | Inches units. | | Cm | Centimeters units. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Pixels ``` public static final XmpCropUnit Pixels ``` Pixels units. ##### Inches ``` public static final XmpCropUnit Inches ``` Inches units. ##### Cm ``` public static final XmpCropUnit Cm ``` Centimeters units. ##### values() ``` public static XmpCropUnit[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpCropUnit[] ##### valueOf(String name) ``` public static XmpCropUnit valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpCropUnit ##### getByRawValue(int rawValue) ``` public static XmpCropUnit getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpCropUnit ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpDate Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpdate.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpDate extends XmpValueBase ``` Represents Date in XMP packet. A date-time value is represented using a subset of the formats as defined in Date and Time Formats: YYYY YYYY-MM YYYY-MM-DD YYYY-MM-DDThh:mmTZD YYYY-MM-DDThh:mm:ssTZD YYYY-MM-DDThh:mm:ss.sTZD #### Constructors | Constructor | Description | | --- | --- | | XmpDate(Date dateTime) | Initializes a new instance of the XmpDate class. | | XmpDate(String dateString) | Initializes a new instance of the XmpDate class. | #### Fields | Field | Description | | --- | --- | | Iso8601Format | The ISO 8601 (roundtrip) format string. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getFormat() | Gets format string for current value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpDate(Date dateTime) ``` public XmpDate(Date dateTime) ``` Initializes a new instance of the XmpDate class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dateTime | java.util.Date | DateTime value. | ##### XmpDate(String dateString) ``` public XmpDate(String dateString) ``` Initializes a new instance of the XmpDate class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dateString | java.lang.String | Date in string representation. | ##### Iso8601Format ``` public static final String Iso8601Format ``` The ISO 8601 (roundtrip) format string. See more: https://en.wikipedia.org/wiki/ISO\_8601. ##### getValue() ``` public final Date getValue() ``` Gets the value. **Returns:** java.util.Date - DateTime value. ##### getFormat() ``` public final String getFormat() ``` Gets format string for current value. **Returns:** java.lang.String - XMP date format string. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpDimensions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpdimensions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpDimensions extends XmpComplexType ``` Containing dimensions for a drawn object. #### Constructors | Constructor | Description | | --- | --- | | XmpDimensions() | Initializes a new instance of the XmpDimensions class. | | XmpDimensions(double width, double height) | Initializes a new instance of the XmpDimensions class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width. | | setWidth(Double value) | Sets the width. | | getHeight() | Gets the height. | | setHeight(Double value) | Sets the height. | | getUnits() | Gets the units. | | setUnits(String value) | Sets the units. | ##### XmpDimensions() ``` public XmpDimensions() ``` Initializes a new instance of the XmpDimensions class. ##### XmpDimensions(double width, double height) ``` public XmpDimensions(double width, double height) ``` Initializes a new instance of the XmpDimensions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | double | The width. | | height | double | The height. | ##### getWidth() ``` public final Double getWidth() ``` Gets the width. **Returns:** java.lang.Double - The width. ##### setWidth(Double value) ``` public final void setWidth(Double value) ``` Sets the width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The width. | ##### getHeight() ``` public final Double getHeight() ``` Gets the height. **Returns:** java.lang.Double - The height. ##### setHeight(Double value) ``` public final void setHeight(Double value) ``` Sets the height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The height. | ##### getUnits() ``` public final String getUnits() ``` Gets the units. **Returns:** java.lang.String - The units. ##### setUnits(String value) ``` public final void setUnits(String value) ``` Sets the units. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The units. | ### XmpDublinCorePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpdublincorepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpDublinCorePackage extends XmpPackage ``` Represents the Dublin Core scheme. For more information see: http://dublincore.org/documents/usageguide/elements.shtml. #### Constructors | Constructor | Description | | --- | --- | | XmpDublinCorePackage() | Initializes a new instance of the XmpDublinCorePackage class. | #### Methods | Method | Description | | --- | --- | | getContributors() | Gets an array of the contributors. | | setContributors(String[] value) | Sets an array of the contributors. | | getCoverage() | Gets the extent or scope of the resource. | | setCoverage(String value) | Sets the extent or scope of the resource. | | getCreators() | Gets an array of the creators. | | setCreators(String[] value) | Sets an array of the creators. | | getDates() | Gets an array of dates associated with an event in the life cycle of the resource. | | setDates(Date[] value) | Sets an array of dates associated with an event in the life cycle of the resource. | | getDescriptions() | Gets an array of textual descriptions of the content of the resource, given in various languages. | | setDescriptions(XmpLangAlt value) | Sets an array of textual descriptions of the content of the resource, given in various languages. | | getFormat() | Gets the MIME type of the resource. | | setFormat(String value) | Sets the MIME type of the resource. | | getIdentifier() | Gets a string value representing an unambiguous reference to the resource within a given context. | | setIdentifier(String value) | Sets a string value representing an unambiguous reference to the resource within a given context. | | getLanguages() | Gets an array of languages used in the content of the resource. | | setLanguages(String[] value) | Sets an array of languages used in the content of the resource. | | getPublishers() | Gets an array of publishers made the resource available. | | setPublishers(String[] value) | Sets an array of publishers made the resource available. | | getRelations() | Gets an array of the related resources. | | setRelations(String[] value) | Sets an array of the related resources. | | getRights() | Gets an array of the informal rights statements, given in various languages. | | setRights(XmpLangAlt value) | Sets an array of the informal rights statements, given in various languages. | | getSource() | Gets the related resource from which the described resource is derived. | | setSource(String value) | Sets the related resource from which the described resource is derived. | | getSubjects() | Gets an array of descriptive phrases or keywords that specify the content of the resource. | | setSubjects(String[] value) | Sets an array of descriptive phrases or keywords that specify the content of the resource. | | getTitles() | Gets the title or name of the resource, given in various languages. | | setTitles(XmpLangAlt value) | Sets the title or name of the resource, given in various languages. | | getTypes() | Gets an array of string values representing the nature or genre of the resource. | | setTypes(String[] value) | Sets an array of string values representing the nature or genre of the resource. | | setContributor(String contributor) | Sets a single contributor of the resource. | | setCreator(String creator) | Sets a single creator of the resource. | | setDate(Date date) | Sets a single date associated with the resource. | | setDescription(String description) | Sets the resource description, given in a single laguage. | | setLanguage(String language) | Sets a single language associated with the resource. | | setPublisher(String publisher) | Sets a single publisher of the resource. | | setRelation(String relation) | Sets a single related resource. | | setRights(String rights) | Sets the resource rights, given in a single laguage. | | setSubject(String subject) | Sets a single subject of the resource. | | setTitle(String title) | Sets the resource title, given in a single laguage. | | setType(String type) | Sets a single type of the resource. | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | ##### XmpDublinCorePackage() ``` public XmpDublinCorePackage() ``` Initializes a new instance of the XmpDublinCorePackage class. ##### getContributors() ``` public final String[] getContributors() ``` Gets an array of the contributors. **Returns:** java.lang.String[] - An array of the contributors. These contributors should not include those listed in dc:creator. ##### setContributors(String[] value) ``` public final void setContributors(String[] value) ``` Sets an array of the contributors. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the contributors. These contributors should not include those listed in dc:creator. | ##### getCoverage() ``` public final String getCoverage() ``` Gets the extent or scope of the resource. **Returns:** java.lang.String - The extent or scope of the resource. ##### setCoverage(String value) ``` public final void setCoverage(String value) ``` Sets the extent or scope of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The extent or scope of the resource. | ##### getCreators() ``` public final String[] getCreators() ``` Gets an array of the creators. **Returns:** java.lang.String[] - An array of the creators. Entities should be listed in order of decreasing precedence, if such order is significant. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity. ##### setCreators(String[] value) ``` public final void setCreators(String[] value) ``` Sets an array of the creators. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the creators. Entities should be listed in order of decreasing precedence, if such order is significant. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity. | ##### getDates() ``` public final Date[] getDates() ``` Gets an array of dates associated with an event in the life cycle of the resource. **Returns:** java.util.Date[] - A point or period of time associated with an event in the life cycle of the resource. ##### setDates(Date[] value) ``` public final void setDates(Date[] value) ``` Sets an array of dates associated with an event in the life cycle of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date[] | A point or period of time associated with an event in the life cycle of the resource. | ##### getDescriptions() ``` public final XmpLangAlt getDescriptions() ``` Gets an array of textual descriptions of the content of the resource, given in various languages. **Returns:** XmpLangAlt - An array of textual descriptions of the content of the resource, given in various languages. ##### setDescriptions(XmpLangAlt value) ``` public final void setDescriptions(XmpLangAlt value) ``` Sets an array of textual descriptions of the content of the resource, given in various languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | An array of textual descriptions of the content of the resource, given in various languages. | ##### getFormat() ``` public final String getFormat() ``` Gets the MIME type of the resource. **Returns:** java.lang.String - The MIME type of the resource. ##### setFormat(String value) ``` public final void setFormat(String value) ``` Sets the MIME type of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The MIME type of the resource. | ##### getIdentifier() ``` public final String getIdentifier() ``` Gets a string value representing an unambiguous reference to the resource within a given context. **Returns:** java.lang.String - A string value representing an unambiguous reference to the resource within a given context. Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. ##### setIdentifier(String value) ``` public final void setIdentifier(String value) ``` Sets a string value representing an unambiguous reference to the resource within a given context. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A string value representing an unambiguous reference to the resource within a given context. Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. | ##### getLanguages() ``` public final String[] getLanguages() ``` Gets an array of languages used in the content of the resource. **Returns:** java.lang.String[] - An array of languages used in the content of the resource. ##### setLanguages(String[] value) ``` public final void setLanguages(String[] value) ``` Sets an array of languages used in the content of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of languages used in the content of the resource. | ##### getPublishers() ``` public final String[] getPublishers() ``` Gets an array of publishers made the resource available. **Returns:** java.lang.String[] - An array of publishers made the resource available. Examples of a publisher include a person, an organization, or a service. Typically, the name of a publisher should be used to indicate the entity. ##### setPublishers(String[] value) ``` public final void setPublishers(String[] value) ``` Sets an array of publishers made the resource available. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of publishers made the resource available. Examples of a publisher include a person, an organization, or a service. Typically, the name of a publisher should be used to indicate the entity. | ##### getRelations() ``` public final String[] getRelations() ``` Gets an array of the related resources. **Returns:** java.lang.String[] - An array of the related resources. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ##### setRelations(String[] value) ``` public final void setRelations(String[] value) ``` Sets an array of the related resources. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of the related resources. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. | ##### getRights() ``` public final XmpLangAlt getRights() ``` Gets an array of the informal rights statements, given in various languages. **Returns:** XmpLangAlt - An array of the informal rights statements, given in various languages. Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. ##### setRights(XmpLangAlt value) ``` public final void setRights(XmpLangAlt value) ``` Sets an array of the informal rights statements, given in various languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | An array of the informal rights statements, given in various languages. Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. | ##### getSource() ``` public final String getSource() ``` Gets the related resource from which the described resource is derived. **Returns:** java.lang.String - The related resource from which the described resource is derived. The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ##### setSource(String value) ``` public final void setSource(String value) ``` Sets the related resource from which the described resource is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The related resource from which the described resource is derived. The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. | ##### getSubjects() ``` public final String[] getSubjects() ``` Gets an array of descriptive phrases or keywords that specify the content of the resource. **Returns:** java.lang.String[] - An array of descriptive phrases or keywords that specify the content of the resource. ##### setSubjects(String[] value) ``` public final void setSubjects(String[] value) ``` Sets an array of descriptive phrases or keywords that specify the content of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of descriptive phrases or keywords that specify the content of the resource. | ##### getTitles() ``` public final XmpLangAlt getTitles() ``` Gets the title or name of the resource, given in various languages. **Returns:** XmpLangAlt - The title or name of the resource, given in various languages. ##### setTitles(XmpLangAlt value) ``` public final void setTitles(XmpLangAlt value) ``` Sets the title or name of the resource, given in various languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | The title or name of the resource, given in various languages. | ##### getTypes() ``` public final String[] getTypes() ``` Gets an array of string values representing the nature or genre of the resource. **Returns:** java.lang.String[] - An array of string values representing the nature or genre of the resource. ##### setTypes(String[] value) ``` public final void setTypes(String[] value) ``` Sets an array of string values representing the nature or genre of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | An array of string values representing the nature or genre of the resource. | ##### setContributor(String contributor) ``` public final void setContributor(String contributor) ``` Sets a single contributor of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | contributor | java.lang.String | The contributor to set. | ##### setCreator(String creator) ``` public final void setCreator(String creator) ``` Sets a single creator of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | creator | java.lang.String | The creator to set. | ##### setDate(Date date) ``` public final void setDate(Date date) ``` Sets a single date associated with the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | date | java.util.Date | The date to set. | ##### setDescription(String description) ``` public final void setDescription(String description) ``` Sets the resource description, given in a single laguage. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | description | java.lang.String | The description to set. | ##### setLanguage(String language) ``` public final void setLanguage(String language) ``` Sets a single language associated with the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | language | java.lang.String | The language to set. | ##### setPublisher(String publisher) ``` public final void setPublisher(String publisher) ``` Sets a single publisher of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publisher | java.lang.String | The publisher to set. | ##### setRelation(String relation) ``` public final void setRelation(String relation) ``` Sets a single related resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | relation | java.lang.String | The relation to set. | ##### setRights(String rights) ``` public final void setRights(String rights) ``` Sets the resource rights, given in a single laguage. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rights | java.lang.String | The rights statements to set. | ##### setSubject(String subject) ``` public final void setSubject(String subject) ``` Sets a single subject of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | subject | java.lang.String | The subject to set. | ##### setTitle(String title) ``` public final void setTitle(String title) ``` Sets the resource title, given in a single laguage. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | title | java.lang.String | The title to set. | ##### setType(String type) ``` public final void setType(String type) ``` Sets a single type of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | type | java.lang.String | The type to set. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpDynamicMediaPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpdynamicmediapackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpDynamicMediaPackage extends XmpPackage ``` Represents XMP Dynamic Media namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpDynamicMediaPackage() | Initializes a new instance of the XmpDynamicMediaPackage class. | #### Methods | Method | Description | | --- | --- | | getAbsPeakAudioFilePath() | Gets the absolute path to the file\\u2019s peak audio file. | | setAbsPeakAudioFilePath(String value) | Sets the absolute path to the file\\u2019s peak audio file. | | getAlbum() | Gets the name of the album. | | setAlbum(String value) | Sets the name of the album. | | getAltTapeName() | Gets the alternative tape name, set via the project window or timecode dialog in Premiere. | | setAltTapeName(String value) | Sets the alternative tape name, set via the project window or timecode dialog in Premiere. | | getAltTimecode() | Gets the timecode set by the user. | | setAltTimecode(XmpTimecode value) | Sets the timecode set by the user. | | getArtist() | Gets the name of the artist or artists. | | setArtist(String value) | Sets the name of the artist or artists. | | getAudioChannelType() | Gets the audio channel type. | | setAudioChannelType(String value) | Sets the audio channel type. | | getAudioCompressor() | Gets the audio compression used. | | setAudioCompressor(String value) | Sets the audio compression used. | | getAudioSampleRate() | Gets the audio sample rate. | | setAudioSampleRate(Integer value) | Sets the audio sample rate. | | getAudioSampleType() | Gets the audio sample type. | | setAudioSampleType(String value) | Sets the audio sample type. | | getCameraAngle() | Gets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. | | setCameraAngle(String value) | Sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. | | getCameraLabel() | Gets the description of the camera used for a shoot. | | setCameraLabel(String value) | Sets the description of the camera used for a shoot. | | getCameraModel() | Gets the make and model of the camera used for a shoot. | | setCameraModel(String value) | Sets the make and model of the camera used for a shoot. | | getCameraMove() | Gets the movement of the camera during the shot, from a fixed set of industry standard terminology. | | setCameraMove(String value) | Sets the movement of the camera during the shot, from a fixed set of industry standard terminology. | | getClient() | Gets the client for the job of which this shot or take is a part. | | setClient(String value) | Sets the client for the job of which this shot or take is a part. | | getComment() | Gets the user\\u2019s comments. | | setComment(String value) | Sets the user\\u2019s comments. | | getComposer() | Gets the composer\\u2019s names. | | setComposer(String value) | Sets the composer\\u2019s names. | | getDirector() | Gets the director of the scene. | | setDirector(String value) | Sets the director of the scene. | | getDirectorPhotography() | Gets the director of photography for the scene. | | setDirectorPhotography(String value) | Sets the director of photography for the scene. | | getDuration() | Gets the duration of the media file. | | setDuration(XmpTime value) | Sets the duration of the media file. | | getEngineer() | Gets the engineer's names. | | setEngineer(String value) | Sets the engineer's names. | | getFileDataRate() | Gets the file data rate in megabytes per second. | | setFileDataRate(XmpRational value) | Sets the file data rate in megabytes per second. | | getGenre() | Gets the name of the genres. | | setGenre(String value) | Sets the name of the genres. | | getGood() | Gets a value indicating whether the shot is a keeper. | | setGood(Boolean value) | Sets a value indicating whether the shot is a keeper. | | getInstrument() | Gets the musical instruments. | | setInstrument(String value) | Sets the musical instruments. | | getIntroTime() | Gets the duration of lead time for queuing music. | | setIntroTime(XmpTime value) | Sets the duration of lead time for queuing music. | | getKey() | Gets the audio\\u2019s musical key. | | setKey(String value) | Sets the audio\\u2019s musical key. | | getLogComment() | Gets the user\\u2019s log comments. | | setLogComment(String value) | Sets the user\\u2019s log comments. | | getLoop() | Gets a value indicating whether the clip can be looped seamlessly. | | setLoop(Boolean value) | Sets a value indicating whether the clip can be looped seamlessly. | | getNumberOfBeats() | Gets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | | setNumberOfBeats(Double value) | Sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | | getOutCue() | Gets the time at which to fade out. | | setOutCue(XmpTime value) | Sets the time at which to fade out. | | getProjectName() | Gets the name of the project of which this file is a part. | | setProjectName(String value) | Sets the name of the project of which this file is a part. | | getRelativeTimestamp() | Gets the start time of the media inside the audio project. | | setRelativeTimestamp(XmpTime value) | Sets the start time of the media inside the audio project. | | getReleaseDate() | Gets the date the title was released. | | setReleaseDate(Date value) | Sets the date the title was released. | | getShotDate() | Gets the date and time when the video was shot. | | setShotDate(Date value) | Sets the date and time when the video was shot. | | getStartTimecode() | Gets the timecode of the first frame of video in the file, as obtained from the device control. | | setStartTimecode(XmpTimecode value) | Sets the timecode of the first frame of video in the file, as obtained from the device control. | | getTakeNumber() | Gets a numeric value indicating the absolute number of a take. | | setTakeNumber(Integer value) | Sets a numeric value indicating the absolute number of a take. | | getTempo() | Gets the audio\\u2019s tempo. | | setTempo(Double value) | Sets the audio\\u2019s tempo. | | getTrackNumber() | Gets a numeric value indicating the order of the audio file within its original recording. | | setTrackNumber(Integer value) | Sets a numeric value indicating the order of the audio file within its original recording. | | getVideoAlphaPremultipleColor() | Gets the timecode of the first frame of video in the file, as obtained from the device control. | | setVideoAlphaPremultipleColor(XmpColorantBase value) | Sets the timecode of the first frame of video in the file, as obtained from the device control. | | getVideoAlphaUnityIsTransparent() | Gets a value indicating whether the unity is clear. | | setVideoAlphaUnityIsTransparent(Boolean value) | Sets a value indicating whether the unity is clear. | | getVideoFrameRate() | Gets the video frame rate. | | setVideoFrameRate(Double value) | Sets the video frame rate. | | getVideoFrameSize() | Gets the frame size. | | setVideoFrameSize(XmpDimensions value) | Sets the frame size. | | getVideoPixelAspectRatio() | Gets the aspect ratio, expressed as wd/ht. | | setVideoPixelAspectRatio(XmpRational value) | Sets the aspect ratio, expressed as wd/ht. | | getPartOfCompilation() | Gets a value indicating whether the resource is a part of compilation. | | setPartOfCompilation(Boolean value) | Sets a value indicating whether the resource is a part of compilation. | | set(String name, String value) | Sets string property. | | set(String name, XmpComplexType value) | Sets the value inherited from XmpComplexType . | | setAudioChannelType(XmpAudioChannelType audioChannelType) | Sets the audio channel type. | | setAudioSampleType(XmpAudioSampleType audioSampleType) | Sets the audio sample type. | ##### XmpDynamicMediaPackage() ``` public XmpDynamicMediaPackage() ``` Initializes a new instance of the XmpDynamicMediaPackage class. ##### getAbsPeakAudioFilePath() ``` public final String getAbsPeakAudioFilePath() ``` Gets the absolute path to the file\\u2019s peak audio file. **Returns:** java.lang.String - The absolute path to the file\\u2019s peak audio file. If empty, no peak file exists. ##### setAbsPeakAudioFilePath(String value) ``` public final void setAbsPeakAudioFilePath(String value) ``` Sets the absolute path to the file\\u2019s peak audio file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The absolute path to the file\\u2019s peak audio file. If empty, no peak file exists. | ##### getAlbum() ``` public final String getAlbum() ``` Gets the name of the album. **Returns:** java.lang.String - The name of the album. ##### setAlbum(String value) ``` public final void setAlbum(String value) ``` Sets the name of the album. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the album. | ##### getAltTapeName() ``` public final String getAltTapeName() ``` Gets the alternative tape name, set via the project window or timecode dialog in Premiere. **Returns:** java.lang.String - The alternative tape name, set via the project window or timecode dialog in Premiere. ##### setAltTapeName(String value) ``` public final void setAltTapeName(String value) ``` Sets the alternative tape name, set via the project window or timecode dialog in Premiere. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The alternative tape name, set via the project window or timecode dialog in Premiere. | ##### getAltTimecode() ``` public final XmpTimecode getAltTimecode() ``` Gets the timecode set by the user. **Returns:** XmpTimecode - The timecode set by the user. When specified, it is used instead of the startTimecode. ##### setAltTimecode(XmpTimecode value) ``` public final void setAltTimecode(XmpTimecode value) ``` Sets the timecode set by the user. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTimecode | The timecode set by the user. When specified, it is used instead of the startTimecode. | ##### getArtist() ``` public final String getArtist() ``` Gets the name of the artist or artists. **Returns:** java.lang.String - The name of the artist or artists. ##### setArtist(String value) ``` public final void setArtist(String value) ``` Sets the name of the artist or artists. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the artist or artists. | ##### getAudioChannelType() ``` public final String getAudioChannelType() ``` Gets the audio channel type. **Returns:** java.lang.String - The audio channel type. One of: Mono, Stereo, 5.1, 7.1, 16 Channel, Other ##### setAudioChannelType(String value) ``` public final void setAudioChannelType(String value) ``` Sets the audio channel type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio channel type. One of: Mono, Stereo, 5.1, 7.1, 16 Channel, Other | ##### getAudioCompressor() ``` public final String getAudioCompressor() ``` Gets the audio compression used. **Returns:** java.lang.String - The audio compression used. For example, MP3. ##### setAudioCompressor(String value) ``` public final void setAudioCompressor(String value) ``` Sets the audio compression used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio compression used. For example, MP3. | ##### getAudioSampleRate() ``` public final Integer getAudioSampleRate() ``` Gets the audio sample rate. **Returns:** java.lang.Integer - The audio sample rate. Can be any value, but commonly 32000, 44100, or 48000. ##### setAudioSampleRate(Integer value) ``` public final void setAudioSampleRate(Integer value) ``` Sets the audio sample rate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The audio sample rate. Can be any value, but commonly 32000, 44100, or 48000. | ##### getAudioSampleType() ``` public final String getAudioSampleType() ``` Gets the audio sample type. **Returns:** java.lang.String - The audio sample type. One of: 8Int, 16Int, 24Int, 32Int, 32Float, Compressed, Packed, Other. ##### setAudioSampleType(String value) ``` public final void setAudioSampleType(String value) ``` Sets the audio sample type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio sample type. One of: 8Int, 16Int, 24Int, 32Int, 32Float, Compressed, Packed, Other. | ##### getCameraAngle() ``` public final String getCameraAngle() ``` Gets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. **Returns:** java.lang.String - The orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. Predefined values include: Low Angle, Eye Level, High Angle, Overhead Shot, Birds Eye Shot, Dutch Angle, POV, Over the Shoulder, Reaction Shot. ##### setCameraAngle(String value) ``` public final void setCameraAngle(String value) ``` Sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. Predefined values include: Low Angle, Eye Level, High Angle, Overhead Shot, Birds Eye Shot, Dutch Angle, POV, Over the Shoulder, Reaction Shot. | ##### getCameraLabel() ``` public final String getCameraLabel() ``` Gets the description of the camera used for a shoot. **Returns:** java.lang.String - The description of the camera used for a shoot. Can be any string, but is usually simply a number, for example "1", "2", or more explicitly "Camera 1". ##### setCameraLabel(String value) ``` public final void setCameraLabel(String value) ``` Sets the description of the camera used for a shoot. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The description of the camera used for a shoot. Can be any string, but is usually simply a number, for example "1", "2", or more explicitly "Camera 1". | ##### getCameraModel() ``` public final String getCameraModel() ``` Gets the make and model of the camera used for a shoot. **Returns:** java.lang.String - The make and model of the camera used for a shoot. ##### setCameraModel(String value) ``` public final void setCameraModel(String value) ``` Sets the make and model of the camera used for a shoot. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The make and model of the camera used for a shoot. | ##### getCameraMove() ``` public final String getCameraMove() ``` Gets the movement of the camera during the shot, from a fixed set of industry standard terminology. **Returns:** java.lang.String - The movement of the camera during the shot, from a fixed set of industry standard terminology. Predefined values include: Aerial, Boom Up, Boom Down, Crane Up, Crane Down, Dolly In, Dolly Out, Pan Left, Pan Right, Pedestal Up, Pedestal Down, Tilt Up, Tilt Down, Tracking, Truck Left, Truck Right, Zoom In, Zoom Out. ##### setCameraMove(String value) ``` public final void setCameraMove(String value) ``` Sets the movement of the camera during the shot, from a fixed set of industry standard terminology. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The movement of the camera during the shot, from a fixed set of industry standard terminology. Predefined values include: Aerial, Boom Up, Boom Down, Crane Up, Crane Down, Dolly In, Dolly Out, Pan Left, Pan Right, Pedestal Up, Pedestal Down, Tilt Up, Tilt Down, Tracking, Truck Left, Truck Right, Zoom In, Zoom Out. | ##### getClient() ``` public final String getClient() ``` Gets the client for the job of which this shot or take is a part. **Returns:** java.lang.String - The client for the job of which this shot or take is a part. ##### setClient(String value) ``` public final void setClient(String value) ``` Sets the client for the job of which this shot or take is a part. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The client for the job of which this shot or take is a part. | ##### getComment() ``` public final String getComment() ``` Gets the user\\u2019s comments. **Returns:** java.lang.String - The user\\u2019s comments. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the user\\u2019s comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user\\u2019s comments. | ##### getComposer() ``` public final String getComposer() ``` Gets the composer\\u2019s names. **Returns:** java.lang.String - The composer\\u2019s names. ##### setComposer(String value) ``` public final void setComposer(String value) ``` Sets the composer\\u2019s names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The composer\\u2019s names. | ##### getDirector() ``` public final String getDirector() ``` Gets the director of the scene. **Returns:** java.lang.String - The director of the scene. ##### setDirector(String value) ``` public final void setDirector(String value) ``` Sets the director of the scene. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The director of the scene. | ##### getDirectorPhotography() ``` public final String getDirectorPhotography() ``` Gets the director of photography for the scene. **Returns:** java.lang.String - The director of photography for the scene. ##### setDirectorPhotography(String value) ``` public final void setDirectorPhotography(String value) ``` Sets the director of photography for the scene. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The director of photography for the scene. | ##### getDuration() ``` public final XmpTime getDuration() ``` Gets the duration of the media file. **Returns:** XmpTime - The duration of the media file. ##### setDuration(XmpTime value) ``` public final void setDuration(XmpTime value) ``` Sets the duration of the media file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The duration of the media file. | ##### getEngineer() ``` public final String getEngineer() ``` Gets the engineer's names. **Returns:** java.lang.String - The engineer's names. ##### setEngineer(String value) ``` public final void setEngineer(String value) ``` Sets the engineer's names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The engineer's names. | ##### getFileDataRate() ``` public final XmpRational getFileDataRate() ``` Gets the file data rate in megabytes per second. **Returns:** XmpRational - The file data rate in megabytes per second. For example: "36/10" = 3.6 MB/sec. ##### setFileDataRate(XmpRational value) ``` public final void setFileDataRate(XmpRational value) ``` Sets the file data rate in megabytes per second. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRational | The file data rate in megabytes per second. For example: "36/10" = 3.6 MB/sec. | ##### getGenre() ``` public final String getGenre() ``` Gets the name of the genres. **Returns:** java.lang.String - The name of the genres. ##### setGenre(String value) ``` public final void setGenre(String value) ``` Sets the name of the genres. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the genres. | ##### getGood() ``` public final Boolean getGood() ``` Gets a value indicating whether the shot is a keeper. **Returns:** java.lang.Boolean - A value indicating whether the shot is a keeper. ##### setGood(Boolean value) ``` public final void setGood(Boolean value) ``` Sets a value indicating whether the shot is a keeper. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the shot is a keeper. | ##### getInstrument() ``` public final String getInstrument() ``` Gets the musical instruments. **Returns:** java.lang.String - The musical instruments. ##### setInstrument(String value) ``` public final void setInstrument(String value) ``` Sets the musical instruments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The musical instruments. | ##### getIntroTime() ``` public final XmpTime getIntroTime() ``` Gets the duration of lead time for queuing music. **Returns:** XmpTime - The duration of lead time for queuing music. ##### setIntroTime(XmpTime value) ``` public final void setIntroTime(XmpTime value) ``` Sets the duration of lead time for queuing music. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The duration of lead time for queuing music. | ##### getKey() ``` public final String getKey() ``` Gets the audio\\u2019s musical key. **Returns:** java.lang.String - The audio\\u2019s musical key. One of: C, C\#, D, D\#, E, F, F\#, G, G\#, A, A\#, B. ##### setKey(String value) ``` public final void setKey(String value) ``` Sets the audio\\u2019s musical key. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The audio\\u2019s musical key. One of: C, C\#, D, D\#, E, F, F\#, G, G\#, A, A\#, B. | ##### getLogComment() ``` public final String getLogComment() ``` Gets the user\\u2019s log comments. **Returns:** java.lang.String - The user\\u2019s log comments. ##### setLogComment(String value) ``` public final void setLogComment(String value) ``` Sets the user\\u2019s log comments. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user\\u2019s log comments. | ##### getLoop() ``` public final Boolean getLoop() ``` Gets a value indicating whether the clip can be looped seamlessly. **Returns:** java.lang.Boolean - A value indicating whether the clip can be looped seamlessly. ##### setLoop(Boolean value) ``` public final void setLoop(Boolean value) ``` Sets a value indicating whether the clip can be looped seamlessly. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the clip can be looped seamlessly. | ##### getNumberOfBeats() ``` public final Double getNumberOfBeats() ``` Gets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. **Returns:** java.lang.Double - The total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. ##### setNumberOfBeats(Double value) ``` public final void setNumberOfBeats(Double value) ``` Sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | ##### getOutCue() ``` public final XmpTime getOutCue() ``` Gets the time at which to fade out. **Returns:** XmpTime - The time at which to fade out. ##### setOutCue(XmpTime value) ``` public final void setOutCue(XmpTime value) ``` Sets the time at which to fade out. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The time at which to fade out. | ##### getProjectName() ``` public final String getProjectName() ``` Gets the name of the project of which this file is a part. **Returns:** java.lang.String - The name of the project of which this file is a part. ##### setProjectName(String value) ``` public final void setProjectName(String value) ``` Sets the name of the project of which this file is a part. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the project of which this file is a part. | ##### getRelativeTimestamp() ``` public final XmpTime getRelativeTimestamp() ``` Gets the start time of the media inside the audio project. **Returns:** XmpTime - The start time of the media inside the audio project. ##### setRelativeTimestamp(XmpTime value) ``` public final void setRelativeTimestamp(XmpTime value) ``` Sets the start time of the media inside the audio project. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTime | The start time of the media inside the audio project. | ##### getReleaseDate() ``` public final Date getReleaseDate() ``` Gets the date the title was released. **Returns:** java.util.Date - The date the title was released. ##### setReleaseDate(Date value) ``` public final void setReleaseDate(Date value) ``` Sets the date the title was released. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date the title was released. | ##### getShotDate() ``` public final Date getShotDate() ``` Gets the date and time when the video was shot. **Returns:** java.util.Date - The date and time when the video was shot. ##### setShotDate(Date value) ``` public final void setShotDate(Date value) ``` Sets the date and time when the video was shot. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date and time when the video was shot. | ##### getStartTimecode() ``` public final XmpTimecode getStartTimecode() ``` Gets the timecode of the first frame of video in the file, as obtained from the device control. **Returns:** XmpTimecode - The timecode of the first frame of video in the file, as obtained from the device control. ##### setStartTimecode(XmpTimecode value) ``` public final void setStartTimecode(XmpTimecode value) ``` Sets the timecode of the first frame of video in the file, as obtained from the device control. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTimecode | The timecode of the first frame of video in the file, as obtained from the device control. | ##### getTakeNumber() ``` public final Integer getTakeNumber() ``` Gets a numeric value indicating the absolute number of a take. **Returns:** java.lang.Integer - A numeric value indicating the absolute number of a take. ##### setTakeNumber(Integer value) ``` public final void setTakeNumber(Integer value) ``` Sets a numeric value indicating the absolute number of a take. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | A numeric value indicating the absolute number of a take. | ##### getTempo() ``` public final Double getTempo() ``` Gets the audio\\u2019s tempo. **Returns:** java.lang.Double - The audio\\u2019s tempo. ##### setTempo(Double value) ``` public final void setTempo(Double value) ``` Sets the audio\\u2019s tempo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The audio\\u2019s tempo. | ##### getTrackNumber() ``` public final Integer getTrackNumber() ``` Gets a numeric value indicating the order of the audio file within its original recording. **Returns:** java.lang.Integer - A numeric value indicating the order of the audio file within its original recording. ##### setTrackNumber(Integer value) ``` public final void setTrackNumber(Integer value) ``` Sets a numeric value indicating the order of the audio file within its original recording. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | A numeric value indicating the order of the audio file within its original recording. | ##### getVideoAlphaPremultipleColor() ``` public final XmpColorantBase getVideoAlphaPremultipleColor() ``` Gets the timecode of the first frame of video in the file, as obtained from the device control. **Returns:** XmpColorantBase - The timecode of the first frame of video in the file, as obtained from the device control. ##### setVideoAlphaPremultipleColor(XmpColorantBase value) ``` public final void setVideoAlphaPremultipleColor(XmpColorantBase value) ``` Sets the timecode of the first frame of video in the file, as obtained from the device control. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpColorantBase | The timecode of the first frame of video in the file, as obtained from the device control. | ##### getVideoAlphaUnityIsTransparent() ``` public final Boolean getVideoAlphaUnityIsTransparent() ``` Gets a value indicating whether the unity is clear. **Returns:** java.lang.Boolean - true , if unity is clear; otherwise, it is opaque. ##### setVideoAlphaUnityIsTransparent(Boolean value) ``` public final void setVideoAlphaUnityIsTransparent(Boolean value) ``` Sets a value indicating whether the unity is clear. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true , if unity is clear; otherwise, it is opaque. | ##### getVideoFrameRate() ``` public final Double getVideoFrameRate() ``` Gets the video frame rate. **Returns:** java.lang.Double - The video frame rate. ##### setVideoFrameRate(Double value) ``` public final void setVideoFrameRate(Double value) ``` Sets the video frame rate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Double | The video frame rate. | ##### getVideoFrameSize() ``` public final XmpDimensions getVideoFrameSize() ``` Gets the frame size. **Returns:** XmpDimensions - The frame size. ##### setVideoFrameSize(XmpDimensions value) ``` public final void setVideoFrameSize(XmpDimensions value) ``` Sets the frame size. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDimensions | The frame size. | ##### getVideoPixelAspectRatio() ``` public final XmpRational getVideoPixelAspectRatio() ``` Gets the aspect ratio, expressed as wd/ht. **Returns:** XmpRational - The aspect ratio, expressed as wd/ht. ##### setVideoPixelAspectRatio(XmpRational value) ``` public final void setVideoPixelAspectRatio(XmpRational value) ``` Sets the aspect ratio, expressed as wd/ht. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRational | The aspect ratio, expressed as wd/ht. | ##### getPartOfCompilation() ``` public final Boolean getPartOfCompilation() ``` Gets a value indicating whether the resource is a part of compilation. **Returns:** java.lang.Boolean - A value indicating whether the resource is a part of compilation. ##### setPartOfCompilation(Boolean value) ``` public final void setPartOfCompilation(Boolean value) ``` Sets a value indicating whether the resource is a part of compilation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | A value indicating whether the resource is a part of compilation. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, XmpComplexType value) ``` public void set(String name, XmpComplexType value) ``` Sets the value inherited from XmpComplexType . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpComplexType | XMP metadata property value. | ##### setAudioChannelType(XmpAudioChannelType audioChannelType) ``` public final void setAudioChannelType(XmpAudioChannelType audioChannelType) ``` Sets the audio channel type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | audioChannelType | XmpAudioChannelType | The audio channel type. | ##### setAudioSampleType(XmpAudioSampleType audioSampleType) ``` public final void setAudioSampleType(XmpAudioSampleType audioSampleType) ``` Sets the audio sample type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | audioSampleType | XmpAudioSampleType | The audio sample type. | ### XmpElementBase Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpelementbase.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public abstract class XmpElementBase extends CustomPackage ``` Represents base XMP element that contains attributes. #### Methods | Method | Description | | --- | --- | | setAttribute(String attribute, String value) | Adds the attribute. | | clearAttributes() | Removes all attributes. | | containsAttribute(String attribute) | Determines whether the element contains a specific attribute. | | getAttribute(String attribute) | Gets the attribute. | ##### setAttribute(String attribute, String value) ``` public void setAttribute(String attribute, String value) ``` Adds the attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | Attribute key. | | value | java.lang.String | Attribute value. | ##### clearAttributes() ``` public final void clearAttributes() ``` Removes all attributes. ##### containsAttribute(String attribute) ``` public final boolean containsAttribute(String attribute) ``` Determines whether the element contains a specific attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | Attribute name. | **Returns:** boolean - true if attribute is exist; otherwise false. ##### getAttribute(String attribute) ``` public final String getAttribute(String attribute) ``` Gets the attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | The attribute. | **Returns:** java.lang.String - The attribute value. ### XmpException Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException ``` public final class XmpException extends GroupDocsMetadataException ``` The exception that is thrown when XMP has invalid structure. #### Constructors | Constructor | Description | | --- | --- | | XmpException() | Initializes a new instance of the XmpException class. | | XmpException(String message) | Initializes a new instance of the XmpException class. | | XmpException(String message, RuntimeException innerException) | Initializes a new instance of the XmpException class. | ##### XmpException() ``` public XmpException() ``` Initializes a new instance of the XmpException class. ##### XmpException(String message) ``` public XmpException(String message) ``` Initializes a new instance of the XmpException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | ##### XmpException(String message, RuntimeException innerException) ``` public XmpException(String message, RuntimeException innerException) ``` Initializes a new instance of the XmpException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message. | | innerException | java.lang.RuntimeException | The inner exception. | ### XmpFont Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpfont.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpFont extends XmpComplexType ``` A structure containing the characteristics of a font used in a document. #### Constructors | Constructor | Description | | --- | --- | | XmpFont() | Initializes a new instance of the XmpFont class. | | XmpFont(String fontFamily) | Initializes a new instance of the XmpFont class. | #### Methods | Method | Description | | --- | --- | | getChildFontFiles() | Gets the list of file names for the fonts that make up a composite font. | | setChildFontFiles(String[] value) | Sets the list of file names for the fonts that make up a composite font. | | isComposite() | Gets a value indicating whether whether the font is composite. | | setComposite(Boolean value) | Sets a value indicating whether whether the font is composite. | | getFontFace() | Gets the font face name. | | setFontFace(String value) | Sets the font face name. | | getFontFamily() | Gets the font family name. | | setFontFamily(String value) | Sets the font family name. | | getFontFileName() | Gets the font file name (not a complete path). | | setFontFileName(String value) | Sets the font file name (not a complete path). | | getFontName() | Gets the PostScript name of the font. | | setFontName(String value) | Sets the PostScript name of the font. | | getFontType() | Gets the font type. | | setFontType(String value) | Sets the font type. | | getVersion() | Gets the font version. | | setVersion(String value) | Sets the font version. | ##### XmpFont() ``` public XmpFont() ``` Initializes a new instance of the XmpFont class. ##### XmpFont(String fontFamily) ``` public XmpFont(String fontFamily) ``` Initializes a new instance of the XmpFont class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fontFamily | java.lang.String | Font family. | ##### getChildFontFiles() ``` public final String[] getChildFontFiles() ``` Gets the list of file names for the fonts that make up a composite font. **Returns:** java.lang.String[] - The list of file names for the fonts that make up a composite font. ##### setChildFontFiles(String[] value) ``` public final void setChildFontFiles(String[] value) ``` Sets the list of file names for the fonts that make up a composite font. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The list of file names for the fonts that make up a composite font. | ##### isComposite() ``` public final Boolean isComposite() ``` Gets a value indicating whether whether the font is composite. **Returns:** java.lang.Boolean - true if the font is composite; otherwise, false . ##### setComposite(Boolean value) ``` public final void setComposite(Boolean value) ``` Sets a value indicating whether whether the font is composite. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the font is composite; otherwise, false . | ##### getFontFace() ``` public final String getFontFace() ``` Gets the font face name. **Returns:** java.lang.String - The font face name. ##### setFontFace(String value) ``` public final void setFontFace(String value) ``` Sets the font face name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The font face name. | ##### getFontFamily() ``` public final String getFontFamily() ``` Gets the font family name. **Returns:** java.lang.String - The font family name. ##### setFontFamily(String value) ``` public final void setFontFamily(String value) ``` Sets the font family name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The font family name. | ##### getFontFileName() ``` public final String getFontFileName() ``` Gets the font file name (not a complete path). **Returns:** java.lang.String - The name of the font file. ##### setFontFileName(String value) ``` public final void setFontFileName(String value) ``` Sets the font file name (not a complete path). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the font file. | ##### getFontName() ``` public final String getFontName() ``` Gets the PostScript name of the font. **Returns:** java.lang.String - The PostScript name of the font. ##### setFontName(String value) ``` public final void setFontName(String value) ``` Sets the PostScript name of the font. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The PostScript name of the font. | ##### getFontType() ``` public final String getFontType() ``` Gets the font type. **Returns:** java.lang.String - The font type. TrueType, Type 1, Open Type, and so on. ##### setFontType(String value) ``` public final void setFontType(String value) ``` Sets the font type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The font type. TrueType, Type 1, Open Type, and so on. | ##### getVersion() ``` public final String getVersion() ``` Gets the font version. **Returns:** java.lang.String - The version. /version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts ##### setVersion(String value) ``` public final void setVersion(String value) ``` Sets the font version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The version. /version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts | ### XmpGuid Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpguid.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpGuid extends XmpValueBase ``` Represents XMP global unique identifier. #### Constructors | Constructor | Description | | --- | --- | | XmpGuid(String value) | Initializes a new instance of the XmpGuid class. | | XmpGuid(UUID value) | Initializes a new instance of the XmpGuid class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpGuid(String value) ``` public XmpGuid(String value) ``` Initializes a new instance of the XmpGuid class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### XmpGuid(UUID value) ``` public XmpGuid(UUID value) ``` Initializes a new instance of the XmpGuid class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.UUID | The unique identifier. | ##### getValue() ``` public final UUID getValue() ``` Gets the value. **Returns:** java.util.UUID - The value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpHeaderPI Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpheaderpi.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public final class XmpHeaderPI implements IXmpType ``` Represents XMP header processing instruction. #### Constructors | Constructor | Description | | --- | --- | | XmpHeaderPI() | Initializes a new instance of the XmpHeaderPI class. | #### Methods | Method | Description | | --- | --- | | getGuid() | Represents Header GUID. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpHeaderPI() ``` public XmpHeaderPI() ``` Initializes a new instance of the XmpHeaderPI class. ##### getGuid() ``` public final String getGuid() ``` Represents Header GUID. **Returns:** java.lang.String - The unique identifier. The text of the header PI contains a GUID, making it unlikely to appear by accident in the data stream. ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpInteger Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpinteger.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpInteger extends XmpValueBase ``` Represents XMP Integer basic type. #### Constructors | Constructor | Description | | --- | --- | | XmpInteger(long value) | Initializes a new instance of the XmpInteger class. | | XmpInteger(int value) | Initializes a new instance of the XmpInteger class. | | XmpInteger(String value) | Initializes a new instance of the XmpInteger class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpInteger(long value) ``` public XmpInteger(long value) ``` Initializes a new instance of the XmpInteger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | long | The value. | ##### XmpInteger(int value) ``` public XmpInteger(int value) ``` Initializes a new instance of the XmpInteger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The value. | ##### XmpInteger(String value) ``` public XmpInteger(String value) ``` Initializes a new instance of the XmpInteger class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | String value contained integer. | ##### getValue() ``` public final long getValue() ``` Gets the value. **Returns:** long - Integer value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpIptcCorePackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpiptccorepackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpIptcCorePackage extends XmpPackage ``` Represents the IPTC Core XMP package. #### Constructors | Constructor | Description | | --- | --- | | XmpIptcCorePackage() | Initializes a new instance of the XmpIptcCorePackage class. | #### Methods | Method | Description | | --- | --- | | getCountryCode() | Gets the code of the country the content is focusing on. | | setCountryCode(String value) | Sets the code of the country the content is focusing on. | | getIntellectualGenre() | Gets the intellectual genre. | | setIntellectualGenre(String value) | Sets the intellectual genre. | | getLocation() | Gets the location the content is focusing on. | | setLocation(String value) | Sets the location the content is focusing on. | | getScenes() | Gets the scene of the photo content. | | setScenes(String[] value) | Sets the scene of the photo content. | | getSubjectCodes() | Gets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. | | setSubjectCodes(String[] value) | Sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. | ##### XmpIptcCorePackage() ``` public XmpIptcCorePackage() ``` Initializes a new instance of the XmpIptcCorePackage class. ##### getCountryCode() ``` public final String getCountryCode() ``` Gets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. **Returns:** java.lang.String - The country code. ##### setCountryCode(String value) ``` public final void setCountryCode(String value) ``` Sets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The country code. | ##### getIntellectualGenre() ``` public final String getIntellectualGenre() ``` Gets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. **Returns:** java.lang.String - The intellectual genre. ##### setIntellectualGenre(String value) ``` public final void setIntellectualGenre(String value) ``` Sets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The intellectual genre. | ##### getLocation() ``` public final String getLocation() ``` Gets the location the content is focusing on. **Returns:** java.lang.String - The location. This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy. ##### setLocation(String value) ``` public final void setLocation(String value) ``` Sets the location the content is focusing on. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The location. This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy. | ##### getScenes() ``` public final String[] getScenes() ``` Gets the scene of the photo content. **Returns:** java.lang.String[] - The scene codes. Specifies one or more terms from the IPTC "Scene-NewsCodes". Each Scene is represented as a string of 6 digits in an unordered list ##### setScenes(String[] value) ``` public final void setScenes(String[] value) ``` Sets the scene of the photo content. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The scene codes. Specifies one or more terms from the IPTC "Scene-NewsCodes". Each Scene is represented as a string of 6 digits in an unordered list | ##### getSubjectCodes() ``` public final String[] getSubjectCodes() ``` Gets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. **Returns:** java.lang.String[] - The subject codes. More about IPTC Subject-NewsCodes at http://www.newscodes.org. ##### setSubjectCodes(String[] value) ``` public final void setSubjectCodes(String[] value) ``` Sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The subject codes. More about IPTC Subject-NewsCodes at http://www.newscodes.org. | ### XmpIptcExtensionPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpiptcextensionpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpIptcExtensionPackage extends XmpPackage ``` Represents the IPTC Extension XMP package. #### Constructors | Constructor | Description | | --- | --- | | XmpIptcExtensionPackage() | Initializes a new instance of the XmpIptcExtensionPackage class. | #### Methods | Method | Description | | --- | --- | | getAdditionalModelInformation() | Gets the information about the ethnicity and other facets of the model(s) in a model-released image. | | setAdditionalModelInformation(String value) | Sets the information about the ethnicity and other facets of the model(s) in a model-released image. | | getOrganisationInImageCodes() | Gets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. | | setOrganisationInImageCodes(String[] value) | Sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. | | getOrganisationInImageNames() | Gets names of the organisations or companies which are featured in the image. | | setOrganisationInImageNames(String[] value) | Sets names of the organisations or companies which are featured in the image. | | getAgesOfModels() | Gets ages of the human models at the time this image was taken in a model released image. | | setAgesOfModels(int[] value) | Sets ages of the human models at the time this image was taken in a model released image. | | getPersonsInImage() | Gets names of the persons the content of the item is about. | | setPersonsInImage(String[] value) | Sets names of the persons the content of the item is about. | | getDigitalImageGuid() | Gets the globally unique identifier for this digital image. | | setDigitalImageGuid(String value) | Sets the globally unique identifier for this digital image. | | getDigitalSourceType() | Gets the type of the source of this digital image. | | setDigitalSourceType(String value) | Sets the type of the source of this digital image. | | getEvent() | Gets the description of the specific event at which the photo was taken. | | setEvent(XmpLangAlt value) | Sets the description of the specific event at which the photo was taken. | | getIptcLastEdited() | Gets the date and optionally time when any of the IPTC photo metadata fields has been last edited. | | setIptcLastEdited(Date value) | Sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. | | getMaxAvailableHeight() | Gets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. | | setMaxAvailableHeight(Integer value) | Sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. | | getMaxAvailableWidth() | Gets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. | | setMaxAvailableWidth(Integer value) | Sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. | | set(String name, String value) | Sets string property. | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | ##### XmpIptcExtensionPackage() ``` public XmpIptcExtensionPackage() ``` Initializes a new instance of the XmpIptcExtensionPackage class. ##### getAdditionalModelInformation() ``` public final String getAdditionalModelInformation() ``` Gets the information about the ethnicity and other facets of the model(s) in a model-released image. **Returns:** java.lang.String - The additional model information. ##### setAdditionalModelInformation(String value) ``` public final void setAdditionalModelInformation(String value) ``` Sets the information about the ethnicity and other facets of the model(s) in a model-released image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The additional model information. | ##### getOrganisationInImageCodes() ``` public final String[] getOrganisationInImageCodes() ``` Gets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. **Returns:** java.lang.String[] - The codes of the organisations. ##### setOrganisationInImageCodes(String[] value) ``` public final void setOrganisationInImageCodes(String[] value) ``` Sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The codes of the organisations. | ##### getOrganisationInImageNames() ``` public final String[] getOrganisationInImageNames() ``` Gets names of the organisations or companies which are featured in the image. **Returns:** java.lang.String[] - Names of the organisations. ##### setOrganisationInImageNames(String[] value) ``` public final void setOrganisationInImageNames(String[] value) ``` Sets names of the organisations or companies which are featured in the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | Names of the organisations. | ##### getAgesOfModels() ``` public final int[] getAgesOfModels() ``` Gets ages of the human models at the time this image was taken in a model released image. **Returns:** int[] - Ages of the models. ##### setAgesOfModels(int[] value) ``` public final void setAgesOfModels(int[] value) ``` Sets ages of the human models at the time this image was taken in a model released image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | Ages of the models. | ##### getPersonsInImage() ``` public final String[] getPersonsInImage() ``` Gets names of the persons the content of the item is about. **Returns:** java.lang.String[] - Names of the persons that are shown in the image. ##### setPersonsInImage(String[] value) ``` public final void setPersonsInImage(String[] value) ``` Sets names of the persons the content of the item is about. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | Names of the persons that are shown in the image. | ##### getDigitalImageGuid() ``` public final String getDigitalImageGuid() ``` Gets the globally unique identifier for this digital image. **Returns:** java.lang.String - The image GUID. It is created and applied by the creator of the digital image at the time of its creation. This value shall not be changed after that time. ##### setDigitalImageGuid(String value) ``` public final void setDigitalImageGuid(String value) ``` Sets the globally unique identifier for this digital image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image GUID. It is created and applied by the creator of the digital image at the time of its creation. This value shall not be changed after that time. | ##### getDigitalSourceType() ``` public final String getDigitalSourceType() ``` Gets the type of the source of this digital image. **Returns:** java.lang.String - The type of the source digital file. ##### setDigitalSourceType(String value) ``` public final void setDigitalSourceType(String value) ``` Sets the type of the source of this digital image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the source digital file. | ##### getEvent() ``` public final XmpLangAlt getEvent() ``` Gets the description of the specific event at which the photo was taken. **Returns:** XmpLangAlt - The specific event at which the photo was taken. ##### setEvent(XmpLangAlt value) ``` public final void setEvent(XmpLangAlt value) ``` Sets the description of the specific event at which the photo was taken. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | The specific event at which the photo was taken. | ##### getIptcLastEdited() ``` public final Date getIptcLastEdited() ``` Gets the date and optionally time when any of the IPTC photo metadata fields has been last edited. **Returns:** java.util.Date - The last edited date. ##### setIptcLastEdited(Date value) ``` public final void setIptcLastEdited(Date value) ``` Sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The last edited date. | ##### getMaxAvailableHeight() ``` public final Integer getMaxAvailableHeight() ``` Gets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. **Returns:** java.lang.Integer - The maximum available height. ##### setMaxAvailableHeight(Integer value) ``` public final void setMaxAvailableHeight(Integer value) ``` Sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The maximum available height. | ##### getMaxAvailableWidth() ``` public final Integer getMaxAvailableWidth() ``` Gets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. **Returns:** java.lang.Integer - The maximum available width. ##### setMaxAvailableWidth(Integer value) ``` public final void setMaxAvailableWidth(Integer value) ``` Sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The maximum available width. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpIptcIimPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpiptciimpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpIptcIimPackage extends XmpPackage ``` Represents the IPTC-IIM XMP package. #### Constructors | Constructor | Description | | --- | --- | | XmpIptcIimPackage() | Initializes a new instance of the XmpIptcIimPackage class. | #### Methods | Method | Description | | --- | --- | | getModelVersion() | Gets the binary number identifying the version of the Information | | setModelVersion(Integer value) | Sets the binary number identifying the version of the Information | | getDestination() | Gets the destination. | | setDestination(String[] value) | Sets the destination. | | getFileFormat() | Gets the binary number identifying the version of the Information | | setFileFormat(Integer value) | Sets the binary number identifying the version of the Information | | getFileFormatVersion() | Gets the file format version. | | setFileFormatVersion(Integer value) | Sets the file format version. | | getServiceIdentifier() | Gets the service identifier. | | setServiceIdentifier(String value) | Sets the service identifier. | | getEnvelopeNumber() | Gets the envelope number. | | setEnvelopeNumber(String value) | Sets the envelope number. | | getProductIDs() | Gets the product identifiers. | | setProductIDs(String[] value) | Sets the product identifiers. | | getEnvelopePriority() | Gets the envelope handling priority. | | setEnvelopePriority(Integer value) | Sets the envelope handling priority. | | getDateSent() | Gets the date the service sent the material. | | setDateSent(Date value) | Sets the date the service sent the material. | | getUniqueNameOfObject() | Gets the unique name of the object. | | setUniqueNameOfObject(String value) | Sets the unique name of the object. | | getObjectTypeReference() | Gets the object type reference. | | setObjectTypeReference(String value) | Sets the object type reference. | | getEditStatus() | Gets the status of the object data, according to the practice of the provider. | | setEditStatus(String value) | Sets the status of the object data, according to the practice of the provider. | | getUrgency() | Gets the editorial urgency of the content. | | setUrgency(Integer value) | Sets the editorial urgency of the content. | | getCategory() | Gets the subject of the object data in the opinion of the provider. | | setCategory(String value) | Sets the subject of the object data in the opinion of the provider. | | getSupplementalCategories() | Gets the supplemental categories. | | setSupplementalCategories(String[] value) | Sets the supplemental categories. | | getFixtureIdentifier() | Gets the object data that recurs often and predictably. | | setFixtureIdentifier(String value) | Sets the object data that recurs often and predictably. | | getContentLocationCodes() | Gets the content location codes. | | setContentLocationCodes(String[] value) | Sets the content location codes. | | getContentLocationNames() | Gets the content location names. | | setContentLocationNames(String[] value) | Sets the content location names. | | getReleaseDate() | Gets the earliest date the provider intends the object to be used. | | setReleaseDate(Date value) | Sets the earliest date the provider intends the object to be used. | | getExpirationDate() | Gets the latest date the provider or owner intends the object data to be used. | | setExpirationDate(Date value) | Sets the latest date the provider or owner intends the object data to be used. | | getActionAdvised() | Gets the type of action that this object provides to a previous object. | | setActionAdvised(String value) | Sets the type of action that this object provides to a previous object. | | getReferenceService() | Gets the Service Identifier of a prior envelope to which the current object refers. | | setReferenceService(String value) | Sets the Service Identifier of a prior envelope to which the current object refers. | | getReferenceDate() | Gets the date of a prior envelope to which the current object refers. | | setReferenceDate(Date value) | Sets the date of a prior envelope to which the current object refers. | | getReferenceNumber() | Gets the Envelope Number of a prior envelope to which the current object refers. | | setReferenceNumber(String value) | Sets the Envelope Number of a prior envelope to which the current object refers. | | getDigitalCreationDate() | Gets the date the digital representation of the object data was created. | | setDigitalCreationDate(Date value) | Sets the date the digital representation of the object data was created. | | getOriginatingProgram() | Gets the type of program used to originate the object data. | | setOriginatingProgram(String value) | Sets the type of program used to originate the object data. | | getProgramVersion() | Gets the program version. | | setProgramVersion(String value) | Sets the program version. | | getImageType() | Gets the type of the image. | | setImageType(String value) | Sets the type of the image. | | getImageOrientation() | Gets the image orientation. | | setImageOrientation(String value) | Sets the image orientation. | | getLanguageIdentifier() | Gets the language identifier according to the 2-letter codes of ISO 639:1988. | | setLanguageIdentifier(String value) | Sets the language identifier according to the 2-letter codes of ISO 639:1988. | | set(String name, String value) | Sets string property. | ##### XmpIptcIimPackage() ``` public XmpIptcIimPackage() ``` Initializes a new instance of the XmpIptcIimPackage class. ##### getModelVersion() ``` public final Integer getModelVersion() ``` Gets the binary number identifying the version of the Information **Returns:** java.lang.Integer - The model version. ##### setModelVersion(Integer value) ``` public final void setModelVersion(Integer value) ``` Sets the binary number identifying the version of the Information **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The model version. | ##### getDestination() ``` public final String[] getDestination() ``` Gets the destination. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. **Returns:** java.lang.String[] - The destination. ##### setDestination(String[] value) ``` public final void setDestination(String[] value) ``` Sets the destination. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The destination. | ##### getFileFormat() ``` public final Integer getFileFormat() ``` Gets the binary number identifying the version of the Information **Returns:** java.lang.Integer - The file format. ##### setFileFormat(Integer value) ``` public final void setFileFormat(Integer value) ``` Sets the binary number identifying the version of the Information **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format. | ##### getFileFormatVersion() ``` public final Integer getFileFormatVersion() ``` Gets the file format version. **Returns:** java.lang.Integer - The file format version. ##### setFileFormatVersion(Integer value) ``` public final void setFileFormatVersion(Integer value) ``` Sets the file format version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The file format version. | ##### getServiceIdentifier() ``` public final String getServiceIdentifier() ``` Gets the service identifier. Identifies the provider and product. **Returns:** java.lang.String - The service identifier. ##### setServiceIdentifier(String value) ``` public final void setServiceIdentifier(String value) ``` Sets the service identifier. Identifies the provider and product. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The service identifier. | ##### getEnvelopeNumber() ``` public final String getEnvelopeNumber() ``` Gets the envelope number. **Returns:** java.lang.String - The envelope number. ##### setEnvelopeNumber(String value) ``` public final void setEnvelopeNumber(String value) ``` Sets the envelope number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The envelope number. | ##### getProductIDs() ``` public final String[] getProductIDs() ``` Gets the product identifiers. **Returns:** java.lang.String[] - The product identifier. Used to provide receiving organization data on which to select, route, or otherwise handle data. ##### setProductIDs(String[] value) ``` public final void setProductIDs(String[] value) ``` Sets the product identifiers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The product identifier. Used to provide receiving organization data on which to select, route, or otherwise handle data. | ##### getEnvelopePriority() ``` public final Integer getEnvelopePriority() ``` Gets the envelope handling priority. **Returns:** java.lang.Integer - The envelope priority. ##### setEnvelopePriority(Integer value) ``` public final void setEnvelopePriority(Integer value) ``` Sets the envelope handling priority. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The envelope priority. | ##### getDateSent() ``` public final Date getDateSent() ``` Gets the date the service sent the material. **Returns:** java.util.Date - The date sent. ##### setDateSent(Date value) ``` public final void setDateSent(Date value) ``` Sets the date the service sent the material. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date sent. | ##### getUniqueNameOfObject() ``` public final String getUniqueNameOfObject() ``` Gets the unique name of the object. **Returns:** java.lang.String - The unique name of the object. ##### setUniqueNameOfObject(String value) ``` public final void setUniqueNameOfObject(String value) ``` Sets the unique name of the object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The unique name of the object. | ##### getObjectTypeReference() ``` public final String getObjectTypeReference() ``` Gets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. **Returns:** java.lang.String - The object type reference. ##### setObjectTypeReference(String value) ``` public final void setObjectTypeReference(String value) ``` Sets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The object type reference. | ##### getEditStatus() ``` public final String getEditStatus() ``` Gets the status of the object data, according to the practice of the provider. **Returns:** java.lang.String - The edit status. ##### setEditStatus(String value) ``` public final void setEditStatus(String value) ``` Sets the status of the object data, according to the practice of the provider. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The edit status. | ##### getUrgency() ``` public final Integer getUrgency() ``` Gets the editorial urgency of the content. **Returns:** java.lang.Integer - The urgency. ##### setUrgency(Integer value) ``` public final void setUrgency(Integer value) ``` Sets the editorial urgency of the content. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The urgency. | ##### getCategory() ``` public final String getCategory() ``` Gets the subject of the object data in the opinion of the provider. **Returns:** java.lang.String - The category. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the subject of the object data in the opinion of the provider. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. | ##### getSupplementalCategories() ``` public final String[] getSupplementalCategories() ``` Gets the supplemental categories. **Returns:** java.lang.String[] - The supplemental categories. ##### setSupplementalCategories(String[] value) ``` public final void setSupplementalCategories(String[] value) ``` Sets the supplemental categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The supplemental categories. | ##### getFixtureIdentifier() ``` public final String getFixtureIdentifier() ``` Gets the object data that recurs often and predictably. **Returns:** java.lang.String - The fixture identifier. ##### setFixtureIdentifier(String value) ``` public final void setFixtureIdentifier(String value) ``` Sets the object data that recurs often and predictably. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The fixture identifier. | ##### getContentLocationCodes() ``` public final String[] getContentLocationCodes() ``` Gets the content location codes. **Returns:** java.lang.String[] - The content location codes. Indicates the code of a country/geographical location referenced by the content of the object. ##### setContentLocationCodes(String[] value) ``` public final void setContentLocationCodes(String[] value) ``` Sets the content location codes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The content location codes. Indicates the code of a country/geographical location referenced by the content of the object. | ##### getContentLocationNames() ``` public final String[] getContentLocationNames() ``` Gets the content location names. **Returns:** java.lang.String[] - The content location names. Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. ##### setContentLocationNames(String[] value) ``` public final void setContentLocationNames(String[] value) ``` Sets the content location names. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The content location names. Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. | ##### getReleaseDate() ``` public final Date getReleaseDate() ``` Gets the earliest date the provider intends the object to be used. **Returns:** java.util.Date - The release date. ##### setReleaseDate(Date value) ``` public final void setReleaseDate(Date value) ``` Sets the earliest date the provider intends the object to be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The release date. | ##### getExpirationDate() ``` public final Date getExpirationDate() ``` Gets the latest date the provider or owner intends the object data to be used. **Returns:** java.util.Date - The expiration date. ##### setExpirationDate(Date value) ``` public final void setExpirationDate(Date value) ``` Sets the latest date the provider or owner intends the object data to be used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The expiration date. | ##### getActionAdvised() ``` public final String getActionAdvised() ``` Gets the type of action that this object provides to a previous object. **Returns:** java.lang.String - The type of action. ##### setActionAdvised(String value) ``` public final void setActionAdvised(String value) ``` Sets the type of action that this object provides to a previous object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of action. | ##### getReferenceService() ``` public final String getReferenceService() ``` Gets the Service Identifier of a prior envelope to which the current object refers. **Returns:** java.lang.String - The reference service. ##### setReferenceService(String value) ``` public final void setReferenceService(String value) ``` Sets the Service Identifier of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The reference service. | ##### getReferenceDate() ``` public final Date getReferenceDate() ``` Gets the date of a prior envelope to which the current object refers. **Returns:** java.util.Date - The reference date. ##### setReferenceDate(Date value) ``` public final void setReferenceDate(Date value) ``` Sets the date of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The reference date. | ##### getReferenceNumber() ``` public final String getReferenceNumber() ``` Gets the Envelope Number of a prior envelope to which the current object refers. **Returns:** java.lang.String - The reference number. ##### setReferenceNumber(String value) ``` public final void setReferenceNumber(String value) ``` Sets the Envelope Number of a prior envelope to which the current object refers. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The reference number. | ##### getDigitalCreationDate() ``` public final Date getDigitalCreationDate() ``` Gets the date the digital representation of the object data was created. **Returns:** java.util.Date - The digital creation date. ##### setDigitalCreationDate(Date value) ``` public final void setDigitalCreationDate(Date value) ``` Sets the date the digital representation of the object data was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The digital creation date. | ##### getOriginatingProgram() ``` public final String getOriginatingProgram() ``` Gets the type of program used to originate the object data. **Returns:** java.lang.String - The originating program. ##### setOriginatingProgram(String value) ``` public final void setOriginatingProgram(String value) ``` Sets the type of program used to originate the object data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The originating program. | ##### getProgramVersion() ``` public final String getProgramVersion() ``` Gets the program version. **Returns:** java.lang.String - The program version. ##### setProgramVersion(String value) ``` public final void setProgramVersion(String value) ``` Sets the program version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The program version. | ##### getImageType() ``` public final String getImageType() ``` Gets the type of the image. **Returns:** java.lang.String - The type of the image. The first is a numeric character and the second is an alphabetic character. ##### setImageType(String value) ``` public final void setImageType(String value) ``` Sets the type of the image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The type of the image. The first is a numeric character and the second is an alphabetic character. | ##### getImageOrientation() ``` public final String getImageOrientation() ``` Gets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). **Returns:** java.lang.String - The image orientation. ##### setImageOrientation(String value) ``` public final void setImageOrientation(String value) ``` Sets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The image orientation. | ##### getLanguageIdentifier() ``` public final String getLanguageIdentifier() ``` Gets the language identifier according to the 2-letter codes of ISO 639:1988. **Returns:** java.lang.String - The language identifier. ##### setLanguageIdentifier(String value) ``` public final void setLanguageIdentifier(String value) ``` Sets the language identifier according to the 2-letter codes of ISO 639:1988. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The language identifier. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpJob Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpjob.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpJob extends XmpComplexType ``` Represents Job. #### Constructors | Constructor | Description | | --- | --- | | XmpJob() | Initializes a new instance of the XmpJob class. | #### Methods | Method | Description | | --- | --- | | getID() | Gets unique id for the job. | | setID(String value) | Sets unique id for the job. | | getName() | Gets informal name of the job. | | setName(String value) | Sets informal name of the job. | | getUrl() | Gets a file URL referencing an external job management file. | | setUrl(String value) | Sets a file URL referencing an external job management file. | ##### XmpJob() ``` public XmpJob() ``` Initializes a new instance of the XmpJob class. ##### getID() ``` public final String getID() ``` Gets unique id for the job. This field is a reference into some external job management system. **Returns:** java.lang.String - The identifier. ##### setID(String value) ``` public final void setID(String value) ``` Sets unique id for the job. This field is a reference into some external job management system. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The identifier. | ##### getName() ``` public final String getName() ``` Gets informal name of the job. This name is for user display and informal systems. **Returns:** java.lang.String - The name. ##### setName(String value) ``` public final void setName(String value) ``` Sets informal name of the job. This name is for user display and informal systems. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name. | ##### getUrl() ``` public final String getUrl() ``` Gets a file URL referencing an external job management file. **Returns:** java.lang.String - The URL. ##### setUrl(String value) ``` public final void setUrl(String value) ``` Sets a file URL referencing an external job management file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URL. | ### XmpLangAlt Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmplangalt.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase, com.groupdocs.metadata.core.XmpArray ``` public final class XmpLangAlt extends XmpArray ``` Represents XMP Language Alternative. An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be unique among the items. #### Constructors | Constructor | Description | | --- | --- | | XmpLangAlt(String defaultValue) | Initializes a new instance of the XmpLangAlt class. | | XmpLangAlt(Hashtable dictionary) | Initializes a new instance of the XmpLangAlt class. | #### Methods | Method | Description | | --- | --- | | get_Item(String language) | Gets the value associated with the specified language. | | getLanguages() | Gets an array of all languages registered in the instance of XmpLangAlt . | | contains(String language) | Determines whether the XmpLangAlt contains the specified language. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpLangAlt(String defaultValue) ``` public XmpLangAlt(String defaultValue) ``` Initializes a new instance of the XmpLangAlt class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | defaultValue | java.lang.String | The default value. | ##### XmpLangAlt(Hashtable dictionary) ``` public XmpLangAlt(Hashtable dictionary) ``` Initializes a new instance of the XmpLangAlt class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dictionary | java.util.Hashtable | A dictionary containing values by languages. | ##### get_Item(String language) ``` public final String get_Item(String language) ``` Gets the value associated with the specified language. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | language | java.lang.String | The language. Value: String value. | **Returns:** java.lang.String - Value for the specified language. ##### getLanguages() ``` public final String[] getLanguages() ``` Gets an array of all languages registered in the instance of XmpLangAlt . **Returns:** java.lang.String[] - An array of all languages registered in the instance of XmpLangAlt . ##### contains(String language) ``` public final boolean contains(String language) ``` Determines whether the XmpLangAlt contains the specified language. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | language | java.lang.String | The language to locate in the XmpLangAlt . | **Returns:** boolean - True if the XmpLangAlt contains an element with the specified language; otherwise, false. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpMediaManagementPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpmediamanagementpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpMediaManagementPackage extends XmpPackage ``` Represents the XMP Media Management namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpMediaManagementPackage() | Initializes a new instance of the XmpMediaManagementPackage class. | #### Methods | Method | Description | | --- | --- | | getDerivedFrom() | Gets the reference to the resource from which this one is derived. | | setDerivedFrom(XmpResourceRef value) | Sets the reference to the resource from which this one is derived. | | getDocumentID() | Gets the common identifier for all versions and renditions of the resource. | | setDocumentID(String value) | Sets the common identifier for all versions and renditions of the resource. | | getHistory() | Gets an array of high-level actions that resulted in this resource. | | setHistory(XmpResourceEvent[] value) | Sets an array of high-level actions that resulted in this resource. | | getIngredients() | Gets the references to resources that were incorporated, by inclusion or reference, into this resource. | | setIngredients(XmpResourceRef[] value) | Sets the references to resources that were incorporated, by inclusion or reference, into this resource. | | getInstanceID() | Gets the identifier for a specific incarnation of a resource, updated each time the file is saved. | | setInstanceID(String value) | Sets the identifier for a specific incarnation of a resource, updated each time the file is saved. | | getManagedFrom() | Gets the reference to the document as it was prior to becoming managed. | | setManagedFrom(XmpResourceRef value) | Sets the reference to the document as it was prior to becoming managed. | | getManager() | Gets the name of the asset management system that manages this resource. | | setManager(String value) | Sets the name of the asset management system that manages this resource. | | getManageTo() | Gets the URI identifying the managed resource to the asset management system | | setManageTo(String value) | Sets the URI identifying the managed resource to the asset management system | | getManageUI() | Gets the URI that can be used to access information about the managed resource through a web browser. | | setManageUI(String value) | Sets the URI that can be used to access information about the managed resource through a web browser. | | getManagerVariant() | Gets the particular variant of the asset management system. | | setManagerVariant(String value) | Sets the particular variant of the asset management system. | | getOriginalDocumentID() | Gets the common identifier for the original resource from which the current resource is derived. | | setOriginalDocumentID(String value) | Sets the common identifier for the original resource from which the current resource is derived. | | getRenditionClass() | Gets the rendition class name for this resource. | | setRenditionClass(String value) | Sets the rendition class name for this resource. | | getRenditionParams() | Gets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. | | setRenditionParams(String value) | Sets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. | | getVersionID() | Gets the document version identifier for this resource. | | setVersionID(String value) | Sets the document version identifier for this resource. | | getVersions() | Gets the version history associated with this resource. | | setVersions(XmpVersion[] value) | Sets the version history associated with this resource. | ##### XmpMediaManagementPackage() ``` public XmpMediaManagementPackage() ``` Initializes a new instance of the XmpMediaManagementPackage class. ##### getDerivedFrom() ``` public final XmpResourceRef getDerivedFrom() ``` Gets the reference to the resource from which this one is derived. **Returns:** XmpResourceRef - The the reference to the resource from which this one is derived. ##### setDerivedFrom(XmpResourceRef value) ``` public final void setDerivedFrom(XmpResourceRef value) ``` Sets the reference to the resource from which this one is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceRef | The the reference to the resource from which this one is derived. | ##### getDocumentID() ``` public final String getDocumentID() ``` Gets the common identifier for all versions and renditions of the resource. **Returns:** java.lang.String - The common identifier for all versions and renditions of the resource. ##### setDocumentID(String value) ``` public final void setDocumentID(String value) ``` Sets the common identifier for all versions and renditions of the resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The common identifier for all versions and renditions of the resource. | ##### getHistory() ``` public final XmpResourceEvent[] getHistory() ``` Gets an array of high-level actions that resulted in this resource. **Returns:** com.groupdocs.metadata.core.XmpResourceEvent[] - An array of high-level actions that resulted in this resource. ##### setHistory(XmpResourceEvent[] value) ``` public final void setHistory(XmpResourceEvent[] value) ``` Sets an array of high-level actions that resulted in this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceEvent\[\] | An array of high-level actions that resulted in this resource. | ##### getIngredients() ``` public final XmpResourceRef[] getIngredients() ``` Gets the references to resources that were incorporated, by inclusion or reference, into this resource. **Returns:** com.groupdocs.metadata.core.XmpResourceRef[] - The references to resources that were incorporated, by inclusion or reference, into this resource. ##### setIngredients(XmpResourceRef[] value) ``` public final void setIngredients(XmpResourceRef[] value) ``` Sets the references to resources that were incorporated, by inclusion or reference, into this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceRef\[\] | The references to resources that were incorporated, by inclusion or reference, into this resource. | ##### getInstanceID() ``` public final String getInstanceID() ``` Gets the identifier for a specific incarnation of a resource, updated each time the file is saved. **Returns:** java.lang.String - The identifier for a specific incarnation of a resource, updated each time a file is saved. ##### setInstanceID(String value) ``` public final void setInstanceID(String value) ``` Sets the identifier for a specific incarnation of a resource, updated each time the file is saved. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The identifier for a specific incarnation of a resource, updated each time a file is saved. | ##### getManagedFrom() ``` public final XmpResourceRef getManagedFrom() ``` Gets the reference to the document as it was prior to becoming managed. **Returns:** XmpResourceRef - The reference to the document as it was prior to becoming managed. ##### setManagedFrom(XmpResourceRef value) ``` public final void setManagedFrom(XmpResourceRef value) ``` Sets the reference to the document as it was prior to becoming managed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceRef | The reference to the document as it was prior to becoming managed. | ##### getManager() ``` public final String getManager() ``` Gets the name of the asset management system that manages this resource. **Returns:** java.lang.String - The name of the asset management system that manages this resource. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the name of the asset management system that manages this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name of the asset management system that manages this resource. | ##### getManageTo() ``` public final String getManageTo() ``` Gets the URI identifying the managed resource to the asset management system **Returns:** java.lang.String - The URI identifying the managed resource to the asset management system. ##### setManageTo(String value) ``` public final void setManageTo(String value) ``` Sets the URI identifying the managed resource to the asset management system **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URI identifying the managed resource to the asset management system. | ##### getManageUI() ``` public final String getManageUI() ``` Gets the URI that can be used to access information about the managed resource through a web browser. **Returns:** java.lang.String - The URI that can be used to access information about the managed resource through a web browser. ##### setManageUI(String value) ``` public final void setManageUI(String value) ``` Sets the URI that can be used to access information about the managed resource through a web browser. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The URI that can be used to access information about the managed resource through a web browser. | ##### getManagerVariant() ``` public final String getManagerVariant() ``` Gets the particular variant of the asset management system. **Returns:** java.lang.String - The particular variant of the asset management system. The format of this property is private to the specific asset management system. ##### setManagerVariant(String value) ``` public final void setManagerVariant(String value) ``` Sets the particular variant of the asset management system. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The particular variant of the asset management system. The format of this property is private to the specific asset management system. | ##### getOriginalDocumentID() ``` public final String getOriginalDocumentID() ``` Gets the common identifier for the original resource from which the current resource is derived. **Returns:** java.lang.String - The common identifier for the original resource from which the current resource is derived ##### setOriginalDocumentID(String value) ``` public final void setOriginalDocumentID(String value) ``` Sets the common identifier for the original resource from which the current resource is derived. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The common identifier for the original resource from which the current resource is derived | ##### getRenditionClass() ``` public final String getRenditionClass() ``` Gets the rendition class name for this resource. **Returns:** java.lang.String - The rendition class name for this resource. This property should be absent or set to default for a resource that is not a derived rendition. ##### setRenditionClass(String value) ``` public final void setRenditionClass(String value) ``` Sets the rendition class name for this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The rendition class name for this resource. This property should be absent or set to default for a resource that is not a derived rendition. | ##### getRenditionParams() ``` public final String getRenditionParams() ``` Gets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. **Returns:** java.lang.String - The value that is used to provide additional rendition parameters. ##### setRenditionParams(String value) ``` public final void setRenditionParams(String value) ``` Sets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value that is used to provide additional rendition parameters. | ##### getVersionID() ``` public final String getVersionID() ``` Gets the document version identifier for this resource. **Returns:** java.lang.String - The document version identifier for this resource. ##### setVersionID(String value) ``` public final void setVersionID(String value) ``` Sets the document version identifier for this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The document version identifier for this resource. | ##### getVersions() ``` public final XmpVersion[] getVersions() ``` Gets the version history associated with this resource. **Returns:** com.groupdocs.metadata.core.XmpVersion[] - The version history associated with this resource. Entry [0] is the oldest known version for this document, entry [Versions.Length - 1] is the most recent version. ##### setVersions(XmpVersion[] value) ``` public final void setVersions(XmpVersion[] value) ``` Sets the version history associated with this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpVersion\[\] | The version history associated with this resource. Entry [0] is the oldest known version for this document, entry [Versions.Length - 1] is the most recent version. | ### XmpMeta Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpmeta.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpElementBase **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public final class XmpMeta extends XmpElementBase implements IXmpType ``` Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF. #### Constructors | Constructor | Description | | --- | --- | | XmpMeta() | | #### Methods | Method | Description | | --- | --- | | getAdobeXmpToolkit() | Gets Adobe XMP toolkit version. | | setAttribute(String attribute, String value) | Adds an attribute. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpMeta() ``` public XmpMeta() ``` ##### getAdobeXmpToolkit() ``` public final String getAdobeXmpToolkit() ``` Gets Adobe XMP toolkit version. **Returns:** java.lang.String - The toolkit version. ##### setAttribute(String attribute, String value) ``` public void setAttribute(String attribute, String value) ``` Adds an attribute. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | attribute | java.lang.String | The attribute. | | value | java.lang.String | The value. | ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpMetadataContainer Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpmetadatacontainer.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public abstract class XmpMetadataContainer extends CustomPackage implements IXmpType ``` Represents a container for XMP metadata properties. #### Methods | Method | Description | | --- | --- | | getXmpRepresentation() | Converts the XMP value to the XML representation. | ##### getXmpRepresentation() ``` public abstract String getXmpRepresentation() ``` Converts the XMP value to the XML representation. **Returns:** java.lang.String - A string representation of the XMP value. ### XmpNamespaces Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpnamespaces.md **Inheritance:** java.lang.Object ``` public class XmpNamespaces ``` Contains namespaces used in XmpPackage and XmpComplexType . #### Constructors | Constructor | Description | | --- | --- | | XmpNamespaces() | | #### Fields | Field | Description | | --- | --- | | Xml | Xml namespace. | | Rdf | Resource definition framework namespace. | | BasicJob | Basic Job Ticket namespace. | | CameraRaw | Camera Raw namespace. | | DublinCore | Dublin Core namespace. | | Iptc4XmpIim | IPTC IIM namespace. | | Iptc4XmpCore | IPTC Core namespace. | | Iptc4XmpExt | IPTC Extension namespace. | | XmpBasic | XMP Basic namespace. | | XmpRights | XMP Rights Management namespace. | | XmpMM | XMP digital asset management namespace. | | XmpDM | XMP Dynamic Media namespace. | | Pdf | Adobe PDF namespace. | | Photoshop | Adobe Photoshop namespace. | | PagedText | XMP Paged-Text namespace. | | XmpGraphics | XMP graphics namespace. | | XmpGraphicsThumbnail | XMP graphics namespace. | | XmpTypeFont | XMP Font type. | | XmpTypeDimensions | XMP Dimensions type. | | XmpTypeResourceRef | XMP ResourceRef URI. | | XmpTypeResourceEvent | XMP ResourceEvent URI. | | XmpTypeVersion | XMP Version. | | XmpTypeJob | XMP Job Ticket. | ##### XmpNamespaces() ``` public XmpNamespaces() ``` ##### Xml ``` public static final String Xml ``` Xml namespace. ##### Rdf ``` public static final String Rdf ``` Resource definition framework namespace. ##### BasicJob ``` public static final String BasicJob ``` Basic Job Ticket namespace. ##### CameraRaw ``` public static final String CameraRaw ``` Camera Raw namespace. ##### DublinCore ``` public static final String DublinCore ``` Dublin Core namespace. ##### Iptc4XmpIim ``` public static final String Iptc4XmpIim ``` IPTC IIM namespace. ##### Iptc4XmpCore ``` public static final String Iptc4XmpCore ``` IPTC Core namespace. ##### Iptc4XmpExt ``` public static final String Iptc4XmpExt ``` IPTC Extension namespace. ##### XmpBasic ``` public static final String XmpBasic ``` XMP Basic namespace. ##### XmpRights ``` public static final String XmpRights ``` XMP Rights Management namespace. ##### XmpMM ``` public static final String XmpMM ``` XMP digital asset management namespace. ##### XmpDM ``` public static final String XmpDM ``` XMP Dynamic Media namespace. ##### Pdf ``` public static final String Pdf ``` Adobe PDF namespace. ##### Photoshop ``` public static final String Photoshop ``` Adobe Photoshop namespace. ##### PagedText ``` public static final String PagedText ``` XMP Paged-Text namespace. ##### XmpGraphics ``` public static final String XmpGraphics ``` XMP graphics namespace. ##### XmpGraphicsThumbnail ``` public static final String XmpGraphicsThumbnail ``` XMP graphics namespace. ##### XmpTypeFont ``` public static final String XmpTypeFont ``` XMP Font type. ##### XmpTypeDimensions ``` public static final String XmpTypeDimensions ``` XMP Dimensions type. ##### XmpTypeResourceRef ``` public static final String XmpTypeResourceRef ``` XMP ResourceRef URI. ##### XmpTypeResourceEvent ``` public static final String XmpTypeResourceEvent ``` XMP ResourceEvent URI. ##### XmpTypeVersion ``` public static final String XmpTypeVersion ``` XMP Version. ##### XmpTypeJob ``` public static final String XmpTypeJob ``` XMP Job Ticket. ### XmpPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmppackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer ``` public class XmpPackage extends XmpMetadataContainer ``` Represents base abstraction for XMP package. This example demonstrates how to add a custom XMP package to a file of any supported format. > ``` > ``` > > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > IXmp root = (IXmp) metadata.getRootPackage(); > XmpPacketWrapper packet = new XmpPacketWrapper(); > XmpPackage custom = new XmpPackage("gd", "https://groupdocs.com"); > custom.set("gd:Copyright", "Copyright (C) 2011-2024 GroupDocs. All Rights Reserved."); > custom.set("gd:CreationDate", new Date()); > custom.set("gd:Company", XmpArray.from(new String[]{"Aspose", "GroupDocs"}, XmpArrayType.Ordered)); > packet.addPackage(custom); > root.setXmpPackage(packet); > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Constructors | Constructor | Description | | --- | --- | | XmpPackage(String prefix, String namespaceUri) | Initializes a new instance of the XmpPackage class. | #### Methods | Method | Description | | --- | --- | | getPrefix() | Gets the xmlns prefix. | | getNamespaceUri() | Gets the namespace URI. | | getXmlNamespace() | Gets the XML namespace. | | set(String name, String value) | Sets string property. | | set(String name, int value) | Sets integer property. | | set(String name, boolean value) | Sets boolean property. | | set(String name, Date value) | Sets DateTime property. | | set(String name, double value) | Sets double property. | | remove(String name) | Removes the property with the specified name. | | clear() | Removes all XMP properties. | | set(String name, XmpValueBase value) | Sets the value inherited from XmpValueBase . | | set(String name, XmpComplexType value) | Sets the value inherited from XmpComplexType . | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | | getXmpRepresentation() | Converts the XMP value to the XML representation. | ##### XmpPackage(String prefix, String namespaceUri) ``` public XmpPackage(String prefix, String namespaceUri) ``` Initializes a new instance of the XmpPackage class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | prefix | java.lang.String | XMP prefix, for example dc:title. | | namespaceUri | java.lang.String | Namespace uri. | ##### getPrefix() ``` public final String getPrefix() ``` Gets the xmlns prefix. **Returns:** java.lang.String - The prefix. ##### getNamespaceUri() ``` public final String getNamespaceUri() ``` Gets the namespace URI. **Returns:** java.lang.String - The namespace URI. ##### getXmlNamespace() ``` public final String getXmlNamespace() ``` Gets the XML namespace. **Returns:** java.lang.String - The XML namespace. ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, int value) ``` public final void set(String name, int value) ``` Sets integer property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | int | XMP metadata property value. | ##### set(String name, boolean value) ``` public final void set(String name, boolean value) ``` Sets boolean property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | boolean | XMP metadata property value. | ##### set(String name, Date value) ``` public final void set(String name, Date value) ``` Sets DateTime property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.util.Date | XMP metadata property value. | ##### set(String name, double value) ``` public final void set(String name, double value) ``` Sets double property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | double | XMP metadata property value. | ##### remove(String name) ``` public final boolean remove(String name) ``` Removes the property with the specified name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | **Returns:** boolean - True if the specified metadata property is found and removed; otherwise, false. ##### clear() ``` public final void clear() ``` Removes all XMP properties. ##### set(String name, XmpValueBase value) ``` public final void set(String name, XmpValueBase value) ``` Sets the value inherited from XmpValueBase . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpValueBase | XMP metadata property value. | ##### set(String name, XmpComplexType value) ``` public void set(String name, XmpComplexType value) ``` Sets the value inherited from XmpComplexType . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpComplexType | XMP metadata property value. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Converts the XMP value to the XML representation. **Returns:** java.lang.String - A string representation of the XMP value. ### XmpPacketWrapper Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmppacketwrapper.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public class XmpPacketWrapper extends MetadataPackage implements IXmpType ``` Contains serialized XMP package including header and trailer. A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element. [Working with XMP metadata]: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata #### Constructors | Constructor | Description | | --- | --- | | XmpPacketWrapper(XmpHeaderPI header, XmpTrailerPI trailer, XmpMeta xmpMeta) | Initializes a new instance of the XmpPacketWrapper class. | | XmpPacketWrapper() | Initializes a new instance of the XmpPacketWrapper class. | #### Methods | Method | Description | | --- | --- | | getHeaderPI() | Gets the header processing instruction. | | setHeaderPI(XmpHeaderPI value) | Sets the header processing instruction. | | getMeta() | Gets the XMP meta. | | setMeta(XmpMeta value) | Sets the XMP meta. | | getTrailerPI() | Gets the trailer processing instruction. | | setTrailerPI(XmpTrailerPI value) | Sets the trailer processing instruction. | | getPackages() | Gets array of XmpPackage inside XMP. | | getPackageCount() | Gets the number of packages inside the XMP structure. | | getSchemes() | Provides access to known XMP schemas. | | addPackage(XmpPackage package_) | Adds the package. | | getPackage(String namespaceUri) | Gets package by namespace uri. | | containsPackage(String namespaceUri) | Determines whether package is exist in XMP wrapper. | | removePackage(XmpPackage package_) | Removes the specified package. | | clearPackages() | Removes all XmpPackage inside XMP. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpPacketWrapper(XmpHeaderPI header, XmpTrailerPI trailer, XmpMeta xmpMeta) ``` public XmpPacketWrapper(XmpHeaderPI header, XmpTrailerPI trailer, XmpMeta xmpMeta) ``` Initializes a new instance of the XmpPacketWrapper class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | header | XmpHeaderPI | XMP header processing instruction. | | trailer | XmpTrailerPI | XMP trailer processing instruction. | | xmpMeta | XmpMeta | Instance of XmpMeta . | ##### XmpPacketWrapper() ``` public XmpPacketWrapper() ``` Initializes a new instance of the XmpPacketWrapper class. ##### getHeaderPI() ``` public final XmpHeaderPI getHeaderPI() ``` Gets the header processing instruction. **Returns:** XmpHeaderPI - The header processing instruction. ##### setHeaderPI(XmpHeaderPI value) ``` public final void setHeaderPI(XmpHeaderPI value) ``` Sets the header processing instruction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpHeaderPI | The header processing instruction. | ##### getMeta() ``` public final XmpMeta getMeta() ``` Gets the XMP meta. **Returns:** XmpMeta - The XMP meta. ##### setMeta(XmpMeta value) ``` public final void setMeta(XmpMeta value) ``` Sets the XMP meta. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpMeta | The XMP meta. | ##### getTrailerPI() ``` public final XmpTrailerPI getTrailerPI() ``` Gets the trailer processing instruction. **Returns:** XmpTrailerPI - The trailer processing instruction. ##### setTrailerPI(XmpTrailerPI value) ``` public final void setTrailerPI(XmpTrailerPI value) ``` Sets the trailer processing instruction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpTrailerPI | The trailer processing instruction. | ##### getPackages() ``` public final XmpPackage[] getPackages() ``` Gets array of XmpPackage inside XMP. **Returns:** com.groupdocs.metadata.core.XmpPackage[] - XMP packages. ##### getPackageCount() ``` public final int getPackageCount() ``` Gets the number of packages inside the XMP structure. **Returns:** int - The package count. ##### getSchemes() ``` public final XmpSchemes getSchemes() ``` Provides access to known XMP schemas. **Returns:** XmpSchemes - XMP schemes. ##### addPackage(XmpPackage package_) ``` public final void addPackage(XmpPackage package_) ``` Adds the package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | package_ | XmpPackage | | ##### getPackage(String namespaceUri) ``` public final XmpPackage getPackage(String namespaceUri) ``` Gets package by namespace uri. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | namespaceUri | java.lang.String | Package schema uri. | **Returns:** XmpPackage - Appropriate XmpPackage if package found by namespaceUri ; otherwise null. ##### containsPackage(String namespaceUri) ``` public final boolean containsPackage(String namespaceUri) ``` Determines whether package is exist in XMP wrapper. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | namespaceUri | java.lang.String | Package namespace URI. | **Returns:** boolean - true if package found by namespaceUri ; otherwise false . ##### removePackage(XmpPackage package_) ``` public final void removePackage(XmpPackage package_) ``` Removes the specified package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | package_ | XmpPackage | | ##### clearPackages() ``` public final void clearPackages() ``` Removes all XmpPackage inside XMP. ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpPagedTextPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmppagedtextpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpPagedTextPackage extends XmpPackage ``` Represents the XMP Paged-Text package. #### Constructors | Constructor | Description | | --- | --- | | XmpPagedTextPackage() | Initializes a new instance of the XmpPagedTextPackage class. | #### Methods | Method | Description | | --- | --- | | getColorants() | Gets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). | | setColorants(XmpColorantBase[] value) | Sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). | | getFonts() | Gets an unordered array of fonts that are used in the document (including any in contained documents). | | setFonts(XmpFont[] value) | Sets an unordered array of fonts that are used in the document (including any in contained documents). | | getMaxPageSize() | Gets the size of the largest page in the document (including any in contained documents). | | setMaxPageSize(XmpDimensions value) | Sets the size of the largest page in the document (including any in contained documents). | | getNumberOfPages() | Gets the number of pages in the document. | | setNumberOfPages(Integer value) | Sets the number of pages in the document. | | getPlateNames() | Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). | | setPlateNames(String[] value) | Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). | | set(String name, String value) | Sets string property. | | set(String name, XmpArray value) | Sets the value inherited from XmpArray . | ##### XmpPagedTextPackage() ``` public XmpPagedTextPackage() ``` Initializes a new instance of the XmpPagedTextPackage class. ##### getColorants() ``` public final XmpColorantBase[] getColorants() ``` Gets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). **Returns:** com.groupdocs.metadata.core.XmpColorantBase[] - An array of the colorants. ##### setColorants(XmpColorantBase[] value) ``` public final void setColorants(XmpColorantBase[] value) ``` Sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpColorantBase\[\] | An array of the colorants. | ##### getFonts() ``` public final XmpFont[] getFonts() ``` Gets an unordered array of fonts that are used in the document (including any in contained documents). **Returns:** com.groupdocs.metadata.core.XmpFont[] - An array of the fonts. ##### setFonts(XmpFont[] value) ``` public final void setFonts(XmpFont[] value) ``` Sets an unordered array of fonts that are used in the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpFont\[\] | An array of the fonts. | ##### getMaxPageSize() ``` public final XmpDimensions getMaxPageSize() ``` Gets the size of the largest page in the document (including any in contained documents). **Returns:** XmpDimensions - The size of the largest page. ##### setMaxPageSize(XmpDimensions value) ``` public final void setMaxPageSize(XmpDimensions value) ``` Sets the size of the largest page in the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDimensions | The size of the largest page. | ##### getNumberOfPages() ``` public final Integer getNumberOfPages() ``` Gets the number of pages in the document. **Returns:** java.lang.Integer - The number of pages. ##### setNumberOfPages(Integer value) ``` public final void setNumberOfPages(Integer value) ``` Sets the number of pages in the document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The number of pages. | ##### getPlateNames() ``` public final String[] getPlateNames() ``` Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). **Returns:** java.lang.String[] - The plate names. ##### setPlateNames(String[] value) ``` public final void setPlateNames(String[] value) ``` Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ##### set(String name, XmpArray value) ``` public void set(String name, XmpArray value) ``` Sets the value inherited from XmpArray . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | XmpArray | XMP metadata property value. | ### XmpPdfPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmppdfpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpPdfPackage extends XmpPackage ``` Specifies properties used with Adobe PDF documents. #### Constructors | Constructor | Description | | --- | --- | | XmpPdfPackage() | Initializes a new instance of the XmpPdfPackage class. | #### Methods | Method | Description | | --- | --- | | getKeywords() | Gets the keywords. | | setKeywords(String value) | Sets the keywords. | | getPdfVersion() | Gets the PDF file version. | | setPdfVersion(String value) | Sets the PDF file version. | | getProducer() | Gets the name of the tool that created the PDF document. | | setProducer(String value) | Sets the name of the tool that created the PDF document. | | isTrapped() | Gets a value indicating whether the document has been trapped. | | setTrapped(Boolean value) | Sets a value indicating whether the document has been trapped. | | set(String name, String value) | Sets string property. | ##### XmpPdfPackage() ``` public XmpPdfPackage() ``` Initializes a new instance of the XmpPdfPackage class. ##### getKeywords() ``` public final String getKeywords() ``` Gets the keywords. **Returns:** java.lang.String - The keywords. ##### setKeywords(String value) ``` public final void setKeywords(String value) ``` Sets the keywords. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The keywords. | ##### getPdfVersion() ``` public final String getPdfVersion() ``` Gets the PDF file version. For example, 1.0, 1.3 and so on. **Returns:** java.lang.String - The PDF version. ##### setPdfVersion(String value) ``` public final void setPdfVersion(String value) ``` Sets the PDF file version. For example, 1.0, 1.3 and so on. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The PDF version. | ##### getProducer() ``` public final String getProducer() ``` Gets the name of the tool that created the PDF document. **Returns:** java.lang.String - The producer. ##### setProducer(String value) ``` public final void setProducer(String value) ``` Sets the name of the tool that created the PDF document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The producer. | ##### isTrapped() ``` public final Boolean isTrapped() ``` Gets a value indicating whether the document has been trapped. **Returns:** java.lang.Boolean - true if the document has been trapped; otherwise, false . ##### setTrapped(Boolean value) ``` public final void setTrapped(Boolean value) ``` Sets a value indicating whether the document has been trapped. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the document has been trapped; otherwise, false . | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpPhotoshopColorMode Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpphotoshopcolormode.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum XmpPhotoshopColorMode extends Enum implements IEnumValue ``` Represents a color mode in XmpPhotoshopPackage . #### Fields | Field | Description | | --- | --- | | Bitmap | The bitmap color mode. | | GrayScale | The gray scale color mode. | | IndexedColor | The indexed color. | | Rgb | The RGB color mode. | | Cmyk | The CMYK color mode. | | MultiChannel | The multi-channel color mode. | | Duotone | The duo-tone color mode. | | LabColor | The LAB color mode. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Bitmap ``` public static final XmpPhotoshopColorMode Bitmap ``` The bitmap color mode. ##### GrayScale ``` public static final XmpPhotoshopColorMode GrayScale ``` The gray scale color mode. ##### IndexedColor ``` public static final XmpPhotoshopColorMode IndexedColor ``` The indexed color. ##### Rgb ``` public static final XmpPhotoshopColorMode Rgb ``` The RGB color mode. ##### Cmyk ``` public static final XmpPhotoshopColorMode Cmyk ``` The CMYK color mode. ##### MultiChannel ``` public static final XmpPhotoshopColorMode MultiChannel ``` The multi-channel color mode. ##### Duotone ``` public static final XmpPhotoshopColorMode Duotone ``` The duo-tone color mode. ##### LabColor ``` public static final XmpPhotoshopColorMode LabColor ``` The LAB color mode. ##### values() ``` public static XmpPhotoshopColorMode[] values() ``` **Returns:** com.groupdocs.metadata.core.XmpPhotoshopColorMode[] ##### valueOf(String name) ``` public static XmpPhotoshopColorMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** XmpPhotoshopColorMode ##### getByRawValue(int rawValue) ``` public static XmpPhotoshopColorMode getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** XmpPhotoshopColorMode ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### XmpPhotoshopPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpphotoshoppackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpPhotoshopPackage extends XmpPackage ``` Represents Adobe Photoshop namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpPhotoshopPackage() | Initializes a new instance of the XmpPhotoshopPackage class. | #### Fields | Field | Description | | --- | --- | | UrgencyMax | Urgency max value. | | UrgencyMin | Urgency min value. | #### Methods | Method | Description | | --- | --- | | getAuthorsPosition() | Gets the by-line title. | | setAuthorsPosition(String value) | Sets the by-line title. | | getCaptionWriter() | Gets the writer/editor. | | setCaptionWriter(String value) | Sets the writer/editor. | | getCategory() | Gets the category. | | setCategory(String value) | Sets the category. | | getCity() | Gets the city. | | setCity(String value) | Sets the city. | | getColorMode() | Gets the color mode. | | setColorMode(XmpPhotoshopColorMode value) | Sets the color mode. | | getCountry() | Gets the country. | | setCountry(String value) | Sets the country. | | getCredit() | Gets the credit. | | setCredit(String value) | Sets the credit. | | getDateCreated() | Gets the date the intellectual content of the document was created. | | setDateCreated(Date value) | Sets the date the intellectual content of the document was created. | | getHeadline() | Gets the headline. | | setHeadline(String value) | Sets the headline. | | getHistory() | Gets the history that appears in the FileInfo panel, if activated in the application preferences. | | setHistory(String value) | Sets the history that appears in the FileInfo panel, if activated in the application preferences. | | getIccProfile() | Gets the color profile, such as AppleRGB, AdobeRGB1998. | | setIccProfile(String value) | Sets the color profile, such as AppleRGB, AdobeRGB1998. | | getInstructions() | Gets the special instructions. | | setInstructions(String value) | Sets the special instructions. | | getSource() | Gets the source. | | setSource(String value) | Sets the source. | | getState() | Gets the province/state. | | setState(String value) | Sets the province/state. | | getSupplementalCategories() | Gets the supplemental categories. | | setSupplementalCategories(String[] value) | Sets the supplemental categories. | | getTransmissionReference() | Gets the original transmission reference. | | setTransmissionReference(String value) | Sets the original transmission reference. | | getUrgency() | Gets the urgency. | | setUrgency(Integer value) | Sets the urgency. | | set(String name, String value) | Sets string property. | ##### XmpPhotoshopPackage() ``` public XmpPhotoshopPackage() ``` Initializes a new instance of the XmpPhotoshopPackage class. ##### UrgencyMax ``` public static final int UrgencyMax ``` Urgency max value. ##### UrgencyMin ``` public static final int UrgencyMin ``` Urgency min value. ##### getAuthorsPosition() ``` public final String getAuthorsPosition() ``` Gets the by-line title. **Returns:** java.lang.String - The authors position. ##### setAuthorsPosition(String value) ``` public final void setAuthorsPosition(String value) ``` Sets the by-line title. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The authors position. | ##### getCaptionWriter() ``` public final String getCaptionWriter() ``` Gets the writer/editor. **Returns:** java.lang.String - The caption writer. ##### setCaptionWriter(String value) ``` public final void setCaptionWriter(String value) ``` Sets the writer/editor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The caption writer. | ##### getCategory() ``` public final String getCategory() ``` Gets the category. Limited to 3 7-bit ASCII characters. **Returns:** java.lang.String - The category. Limited to 3 ASCII characters. ##### setCategory(String value) ``` public final void setCategory(String value) ``` Sets the category. Limited to 3 7-bit ASCII characters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The category. Limited to 3 ASCII characters. | ##### getCity() ``` public final String getCity() ``` Gets the city. **Returns:** java.lang.String - The city. ##### setCity(String value) ``` public final void setCity(String value) ``` Sets the city. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The city. | ##### getColorMode() ``` public final XmpPhotoshopColorMode getColorMode() ``` Gets the color mode. **Returns:** XmpPhotoshopColorMode - The color mode. ##### setColorMode(XmpPhotoshopColorMode value) ``` public final void setColorMode(XmpPhotoshopColorMode value) ``` Sets the color mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPhotoshopColorMode | The color mode. | ##### getCountry() ``` public final String getCountry() ``` Gets the country. **Returns:** java.lang.String - The country. ##### setCountry(String value) ``` public final void setCountry(String value) ``` Sets the country. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The country. | ##### getCredit() ``` public final String getCredit() ``` Gets the credit. **Returns:** java.lang.String - The credit. ##### setCredit(String value) ``` public final void setCredit(String value) ``` Sets the credit. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The credit. | ##### getDateCreated() ``` public final Date getDateCreated() ``` Gets the date the intellectual content of the document was created. **Returns:** java.util.Date - The created date of the document. ##### setDateCreated(Date value) ``` public final void setDateCreated(Date value) ``` Sets the date the intellectual content of the document was created. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The created date of the document. | ##### getHeadline() ``` public final String getHeadline() ``` Gets the headline. **Returns:** java.lang.String - The headline. ##### setHeadline(String value) ``` public final void setHeadline(String value) ``` Sets the headline. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The headline. | ##### getHistory() ``` public final String getHistory() ``` Gets the history that appears in the FileInfo panel, if activated in the application preferences. **Returns:** java.lang.String - The history. ##### setHistory(String value) ``` public final void setHistory(String value) ``` Sets the history that appears in the FileInfo panel, if activated in the application preferences. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The history. | ##### getIccProfile() ``` public final String getIccProfile() ``` Gets the color profile, such as AppleRGB, AdobeRGB1998. **Returns:** java.lang.String - The ICC profile. ##### setIccProfile(String value) ``` public final void setIccProfile(String value) ``` Sets the color profile, such as AppleRGB, AdobeRGB1998. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The ICC profile. | ##### getInstructions() ``` public final String getInstructions() ``` Gets the special instructions. **Returns:** java.lang.String - The special instructions. ##### setInstructions(String value) ``` public final void setInstructions(String value) ``` Sets the special instructions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The special instructions. | ##### getSource() ``` public final String getSource() ``` Gets the source. **Returns:** java.lang.String - The source. ##### setSource(String value) ``` public final void setSource(String value) ``` Sets the source. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The source. | ##### getState() ``` public final String getState() ``` Gets the province/state. **Returns:** java.lang.String - The province/state. ##### setState(String value) ``` public final void setState(String value) ``` Sets the province/state. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The province/state. | ##### getSupplementalCategories() ``` public final String[] getSupplementalCategories() ``` Gets the supplemental categories. **Returns:** java.lang.String[] - The supplemental categories. ##### setSupplementalCategories(String[] value) ``` public final void setSupplementalCategories(String[] value) ``` Sets the supplemental categories. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The supplemental categories. | ##### getTransmissionReference() ``` public final String getTransmissionReference() ``` Gets the original transmission reference. **Returns:** java.lang.String - The transmission reference. ##### setTransmissionReference(String value) ``` public final void setTransmissionReference(String value) ``` Sets the original transmission reference. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The transmission reference. | ##### getUrgency() ``` public final Integer getUrgency() ``` Gets the urgency. **Returns:** java.lang.Integer - The urgency. Valid range is 1-8. ##### setUrgency(Integer value) ``` public final void setUrgency(Integer value) ``` Sets the urgency. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The urgency. Valid range is 1-8. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpRational Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmprational.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpRational extends XmpValueBase ``` Represents XMP XmpRational. #### Constructors | Constructor | Description | | --- | --- | | XmpRational(long numerator, long denominator) | Initializes a new instance of the XmpRational class. | | XmpRational(String value) | Initializes a new instance of the XmpBoolean class. | #### Methods | Method | Description | | --- | --- | | getNumerator() | Gets numerator. | | getDenominator() | Gets denominator | | getDoubleValue() | Gets value of rational type presented in double format. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpRational(long numerator, long denominator) ``` public XmpRational(long numerator, long denominator) ``` Initializes a new instance of the XmpRational class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | numerator | long | The numerator. | | denominator | long | The denominator. | ##### XmpRational(String value) ``` public XmpRational(String value) ``` Initializes a new instance of the XmpBoolean class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getNumerator() ``` public final long getNumerator() ``` Gets numerator. **Returns:** long - The numerator. ##### getDenominator() ``` public final long getDenominator() ``` Gets denominator **Returns:** long - The denominator. ##### getDoubleValue() ``` public final double getDoubleValue() ``` Gets value of rational type presented in double format. **Returns:** double - Double value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpReal Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpreal.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public final class XmpReal extends XmpValueBase ``` Represents XMP Real. #### Constructors | Constructor | Description | | --- | --- | | XmpReal(double value) | Initializes a new instance of the XmpReal class. | | XmpReal(String value) | Initializes a new instance of the XmpReal class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpReal(double value) ``` public XmpReal(double value) ``` Initializes a new instance of the XmpReal class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | double | Double value. | ##### XmpReal(String value) ``` public XmpReal(String value) ``` Initializes a new instance of the XmpReal class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getValue() ``` public final double getValue() ``` Gets the value. **Returns:** double - Double value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpRenditionClass Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmprenditionclass.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase, com.groupdocs.metadata.core.XmpText ``` public final class XmpRenditionClass extends XmpText ``` Represents XMP RenditionClass. #### Constructors | Constructor | Description | | --- | --- | | XmpRenditionClass(String[] tokens) | Initializes a new instance of the XmpRenditionClass class. | #### Fields | Field | Description | | --- | --- | | Default | The master resource; no additional tokens allowed. | | Draft | A review rendition. | | LowRes | A low-resolution, full-size stand-in. | | Proof | A review proof. | | Screen | Screen resolution or Web rendition. | | Thumbnail | A simplified or reduced preview. | ##### XmpRenditionClass(String[] tokens) ``` public XmpRenditionClass(String[] tokens) ``` Initializes a new instance of the XmpRenditionClass class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tokens | java.lang.String[] | The token. | ##### Default ``` public static final String Default ``` The master resource; no additional tokens allowed. ##### Draft ``` public static final String Draft ``` A review rendition. ##### LowRes ``` public static final String LowRes ``` A low-resolution, full-size stand-in. ##### Proof ``` public static final String Proof ``` A review proof. ##### Screen ``` public static final String Screen ``` Screen resolution or Web rendition. ##### Thumbnail ``` public static final String Thumbnail ``` A simplified or reduced preview. Additional tokens can provide characteristics. The recommended order is thumbnail:format:size:colorspace. ### XmpResourceEvent Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpresourceevent.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpResourceEvent extends XmpComplexType ``` Represents a high-level event that occurred in the processing of a resource. #### Constructors | Constructor | Description | | --- | --- | | XmpResourceEvent() | Initializes a new instance of the XmpResourceEvent class. | #### Methods | Method | Description | | --- | --- | | getAction() | Gets the action that occurred. | | setAction(String value) | Sets the action that occurred. | | getChanged() | Gets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. | | setChanged(String value) | Sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. | | getInstanceID() | Gets the value of the xmpMM:InstanceID property for the modified (output) resource. | | setInstanceID(String value) | Sets the value of the xmpMM:InstanceID property for the modified (output) resource. | | getParameters() | Gets the additional description of the action. | | setParameters(String value) | Sets the additional description of the action. | | getSoftwareAgent() | Gets the software agent that performed the action. | | setSoftwareAgent(String value) | Sets the software agent that performed the action. | | getWhen() | Gets the timestamp of when the action occurred. | | setWhen(Date value) | Sets the timestamp of when the action occurred. | ##### XmpResourceEvent() ``` public XmpResourceEvent() ``` Initializes a new instance of the XmpResourceEvent class. ##### getAction() ``` public final String getAction() ``` Gets the action that occurred. **Returns:** java.lang.String - The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version\_updated, printed, published, managed, produced, resized, saved. New values should be verbs in the past tense. ##### setAction(String value) ``` public final void setAction(String value) ``` Sets the action that occurred. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version\_updated, printed, published, managed, produced, resized, saved. New values should be verbs in the past tense. | ##### getChanged() ``` public final String getChanged() ``` Gets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. **Returns:** java.lang.String - A semicolon-delimited list of the parts of the resource that were changed since the previous event history. ##### setChanged(String value) ``` public final void setChanged(String value) ``` Sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | A semicolon-delimited list of the parts of the resource that were changed since the previous event history. | ##### getInstanceID() ``` public final String getInstanceID() ``` Gets the value of the xmpMM:InstanceID property for the modified (output) resource. **Returns:** java.lang.String - The value of the xmpMM:InstanceID property for the modified (output) resource. ##### setInstanceID(String value) ``` public final void setInstanceID(String value) ``` Sets the value of the xmpMM:InstanceID property for the modified (output) resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:InstanceID property for the modified (output) resource. | ##### getParameters() ``` public final String getParameters() ``` Gets the additional description of the action. **Returns:** java.lang.String - The Additional description of the action. ##### setParameters(String value) ``` public final void setParameters(String value) ``` Sets the additional description of the action. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Additional description of the action. | ##### getSoftwareAgent() ``` public final String getSoftwareAgent() ``` Gets the software agent that performed the action. **Returns:** java.lang.String - The software agent that performed the action. ##### setSoftwareAgent(String value) ``` public final void setSoftwareAgent(String value) ``` Sets the software agent that performed the action. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The software agent that performed the action. | ##### getWhen() ``` public final Date getWhen() ``` Gets the timestamp of when the action occurred. **Returns:** java.util.Date - The timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file. ##### setWhen(Date value) ``` public final void setWhen(Date value) ``` Sets the timestamp of when the action occurred. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file. | ### XmpResourceRef Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpresourceref.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpResourceRef extends XmpComplexType ``` Represents a multiple part reference to a resource. Used to indicate prior versions, originals of renditions, originals for derived documents, and so on. #### Constructors | Constructor | Description | | --- | --- | | XmpResourceRef() | Initializes a new instance of the XmpResourceRef class. | #### Methods | Method | Description | | --- | --- | | getAlternatePaths() | Gets the referenced resource\\u2019s fallback file paths or URLs. | | setAlternatePaths(String[] value) | Sets the referenced resource\\u2019s fallback file paths or URLs. | | getDocumentID() | Gets the value of the xmpMM:DocumentID property from the referenced resource. | | setDocumentID(String value) | Sets the value of the xmpMM:DocumentID property from the referenced resource. | | getFilePath() | Gets the referenced resource\\u2019s file path or URL. | | setFilePath(String value) | Sets the referenced resource\\u2019s file path or URL. | | getInstanceID() | Gets the value of the xmpMM:InstanceID property from the referenced resource. | | setInstanceID(String value) | Sets the value of the xmpMM:InstanceID property from the referenced resource. | | getLastModifyDate() | Gets the value of stEvt:when for the last time the file was written. | | setLastModifyDate(Date value) | Sets the value of stEvt:when for the last time the file was written. | | getManager() | Gets the referenced resource\\u2019s xmpMM:Manager. | | setManager(String value) | Sets the referenced resource\\u2019s xmpMM:Manager. | | getManagerVariant() | Gets the referenced resource\\u2019s xmpMM:Manager. | | setManagerVariant(String value) | Sets the referenced resource\\u2019s xmpMM:Manager. | | getManageTo() | Gets the referenced resource\\u2019s xmpMM:ManageTo. | | setManageTo(String value) | Sets the referenced resource\\u2019s xmpMM:ManageTo. | | getManageUI() | Gets the referenced resource\\u2019s xmpMM:ManageUI. | | setManageUI(String value) | Sets the referenced resource\\u2019s xmpMM:ManageUI. | | getPartMapping() | Gets the name or URI of a mapping function used to map the fromPart to the toPart. | | setPartMapping(String value) | Sets the name or URI of a mapping function used to map the fromPart to the toPart. | | getRenditionClass() | Gets the value of the xmpMM:RenditionClass property from the referenced resource. | | setRenditionClass(String value) | Sets the value of the xmpMM:RenditionClass property from the referenced resource. | | getRenditionParams() | Gets the value of the xmpMM:RenditionParams property from the referenced resource. | | setRenditionParams(String value) | Sets the value of the xmpMM:RenditionParams property from the referenced resource. | | getVersionID() | Gets the value of the xmpMM:RenditionParams property from the referenced resource. | | setVersionID(String value) | Sets the value of the xmpMM:RenditionParams property from the referenced resource. | ##### XmpResourceRef() ``` public XmpResourceRef() ``` Initializes a new instance of the XmpResourceRef class. ##### getAlternatePaths() ``` public final String[] getAlternatePaths() ``` Gets the referenced resource\\u2019s fallback file paths or URLs. **Returns:** java.lang.String[] - The referenced resource\\u2019s fallback file paths or URLs. The sequence order is the recommended order in attempting to locate the resource. ##### setAlternatePaths(String[] value) ``` public final void setAlternatePaths(String[] value) ``` Sets the referenced resource\\u2019s fallback file paths or URLs. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The referenced resource\\u2019s fallback file paths or URLs. The sequence order is the recommended order in attempting to locate the resource. | ##### getDocumentID() ``` public final String getDocumentID() ``` Gets the value of the xmpMM:DocumentID property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:DocumentID property from the referenced resource. ##### setDocumentID(String value) ``` public final void setDocumentID(String value) ``` Sets the value of the xmpMM:DocumentID property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:DocumentID property from the referenced resource. | ##### getFilePath() ``` public final String getFilePath() ``` Gets the referenced resource\\u2019s file path or URL. **Returns:** java.lang.String - The referenced resource\\u2019s file path or URL. ##### setFilePath(String value) ``` public final void setFilePath(String value) ``` Sets the referenced resource\\u2019s file path or URL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s file path or URL. | ##### getInstanceID() ``` public final String getInstanceID() ``` Gets the value of the xmpMM:InstanceID property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:InstanceID property from the referenced resource. ##### setInstanceID(String value) ``` public final void setInstanceID(String value) ``` Sets the value of the xmpMM:InstanceID property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:InstanceID property from the referenced resource. | ##### getLastModifyDate() ``` public final Date getLastModifyDate() ``` Gets the value of stEvt:when for the last time the file was written. **Returns:** java.util.Date - The value of stEvt:when for the last time the file was written. ##### setLastModifyDate(Date value) ``` public final void setLastModifyDate(Date value) ``` Sets the value of stEvt:when for the last time the file was written. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The value of stEvt:when for the last time the file was written. | ##### getManager() ``` public final String getManager() ``` Gets the referenced resource\\u2019s xmpMM:Manager. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:Manager. ##### setManager(String value) ``` public final void setManager(String value) ``` Sets the referenced resource\\u2019s xmpMM:Manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:Manager. | ##### getManagerVariant() ``` public final String getManagerVariant() ``` Gets the referenced resource\\u2019s xmpMM:Manager. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:Manager. ##### setManagerVariant(String value) ``` public final void setManagerVariant(String value) ``` Sets the referenced resource\\u2019s xmpMM:Manager. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:Manager. | ##### getManageTo() ``` public final String getManageTo() ``` Gets the referenced resource\\u2019s xmpMM:ManageTo. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:ManageTo. ##### setManageTo(String value) ``` public final void setManageTo(String value) ``` Sets the referenced resource\\u2019s xmpMM:ManageTo. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:ManageTo. | ##### getManageUI() ``` public final String getManageUI() ``` Gets the referenced resource\\u2019s xmpMM:ManageUI. **Returns:** java.lang.String - The referenced resource\\u2019s xmpMM:ManageUI. ##### setManageUI(String value) ``` public final void setManageUI(String value) ``` Sets the referenced resource\\u2019s xmpMM:ManageUI. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The referenced resource\\u2019s xmpMM:ManageUI. | ##### getPartMapping() ``` public final String getPartMapping() ``` Gets the name or URI of a mapping function used to map the fromPart to the toPart. **Returns:** java.lang.String - The name or URI of a mapping function used to map the fromPart to the toPart. The default for time mappings is "linear". ##### setPartMapping(String value) ``` public final void setPartMapping(String value) ``` Sets the name or URI of a mapping function used to map the fromPart to the toPart. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The name or URI of a mapping function used to map the fromPart to the toPart. The default for time mappings is "linear". | ##### getRenditionClass() ``` public final String getRenditionClass() ``` Gets the value of the xmpMM:RenditionClass property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:RenditionClass property from the referenced resource. ##### setRenditionClass(String value) ``` public final void setRenditionClass(String value) ``` Sets the value of the xmpMM:RenditionClass property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:RenditionClass property from the referenced resource. | ##### getRenditionParams() ``` public final String getRenditionParams() ``` Gets the value of the xmpMM:RenditionParams property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:RenditionParams property from the referenced resource. ##### setRenditionParams(String value) ``` public final void setRenditionParams(String value) ``` Sets the value of the xmpMM:RenditionParams property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:RenditionParams property from the referenced resource. | ##### getVersionID() ``` public final String getVersionID() ``` Gets the value of the xmpMM:RenditionParams property from the referenced resource. **Returns:** java.lang.String - The value of the xmpMM:RenditionParams property from the referenced resource. ##### setVersionID(String value) ``` public final void setVersionID(String value) ``` Sets the value of the xmpMM:RenditionParams property from the referenced resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the xmpMM:RenditionParams property from the referenced resource. | ### XmpRightsManagementPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmprightsmanagementpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage ``` public final class XmpRightsManagementPackage extends XmpPackage ``` Represents XMP Rights Management namespace. #### Constructors | Constructor | Description | | --- | --- | | XmpRightsManagementPackage() | Initializes a new instance of the XmpRightsManagementPackage class. | #### Methods | Method | Description | | --- | --- | | getCertificate() | Gets the Web URL for a rights management certificate. | | setCertificate(String value) | Sets the Web URL for a rights management certificate. | | getMarked() | Gets a value indicating whether this is a rights-managed resource. | | setMarked(Boolean value) | Sets a value indicating whether this is a rights-managed resource. | | getOwners() | Gets the legal owners. | | setOwners(String[] value) | Sets the legal owners. | | getUsageTerms() | Gets the instructions on how the resource can be legally used, given in a variety of languages. | | setUsageTerms(XmpLangAlt value) | Sets the instructions on how the resource can be legally used, given in a variety of languages. | | getWebStatement() | Gets the Web URL for a statement of the ownership and usage rights for this resource. | | setWebStatement(String value) | Sets the Web URL for a statement of the ownership and usage rights for this resource. | | set(String name, String value) | Sets string property. | ##### XmpRightsManagementPackage() ``` public XmpRightsManagementPackage() ``` Initializes a new instance of the XmpRightsManagementPackage class. ##### getCertificate() ``` public final String getCertificate() ``` Gets the Web URL for a rights management certificate. **Returns:** java.lang.String - The Web URL for a rights management certificate. ##### setCertificate(String value) ``` public final void setCertificate(String value) ``` Sets the Web URL for a rights management certificate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Web URL for a rights management certificate. | ##### getMarked() ``` public final Boolean getMarked() ``` Gets a value indicating whether this is a rights-managed resource. **Returns:** java.lang.Boolean - true if the resource is rights-managed; otherwise false . When false, indicates that this is a public-domain resource. Omit if the state is unknown. ##### setMarked(Boolean value) ``` public final void setMarked(Boolean value) ``` Sets a value indicating whether this is a rights-managed resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Boolean | true if the resource is rights-managed; otherwise false . When false, indicates that this is a public-domain resource. Omit if the state is unknown. | ##### getOwners() ``` public final String[] getOwners() ``` Gets the legal owners. **Returns:** java.lang.String[] - The legal owners. ##### setOwners(String[] value) ``` public final void setOwners(String[] value) ``` Sets the legal owners. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String[] | The legal owners. | ##### getUsageTerms() ``` public final XmpLangAlt getUsageTerms() ``` Gets the instructions on how the resource can be legally used, given in a variety of languages. **Returns:** XmpLangAlt - The instructions on how the resource can be legally used, given in a variety of languages. ##### setUsageTerms(XmpLangAlt value) ``` public final void setUsageTerms(XmpLangAlt value) ``` Sets the instructions on how the resource can be legally used, given in a variety of languages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpLangAlt | The instructions on how the resource can be legally used, given in a variety of languages. | ##### getWebStatement() ``` public final String getWebStatement() ``` Gets the Web URL for a statement of the ownership and usage rights for this resource. **Returns:** java.lang.String - The Web URL for a statement of the ownership and usage rights for this resource. ##### setWebStatement(String value) ``` public final void setWebStatement(String value) ``` Sets the Web URL for a statement of the ownership and usage rights for this resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The Web URL for a statement of the ownership and usage rights for this resource. | ##### set(String name, String value) ``` public void set(String name, String value) ``` Sets string property. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | XMP metadata property name. | | value | java.lang.String | XMP metadata property value. | ### XmpSchemes Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpschemes.md **Inheritance:** java.lang.Object ``` public final class XmpSchemes ``` Provides access to known XMP schemes. #### Methods | Method | Description | | --- | --- | | getCameraRaw() | Gets the Camera Raw scheme. | | setCameraRaw(XmpCameraRawPackage value) | Sets the Camera Raw scheme. | | getDublinCore() | Gets the Dublin Core scheme. | | setDublinCore(XmpDublinCorePackage value) | Sets the Dublin Core scheme. | | getPagedText() | Gets the PagedText scheme. | | setPagedText(XmpPagedTextPackage value) | Sets the PagedText scheme. | | getPdf() | Gets the PDF scheme. | | setPdf(XmpPdfPackage value) | Sets the PDF scheme. | | getPhotoshop() | Gets the Photoshop scheme. | | setPhotoshop(XmpPhotoshopPackage value) | Sets the Photoshop scheme. | | getXmpBasic() | Gets the XmpBasic scheme. | | setXmpBasic(XmpBasicPackage value) | Sets the XmpBasic scheme. | | getXmpDynamicMedia() | Gets the XmpDynamicMedia scheme. | | setXmpDynamicMedia(XmpDynamicMediaPackage value) | Sets the XmpDynamicMedia scheme. | | getXmpMediaManagement() | Gets the XmpMediaManagement schema. | | setXmpMediaManagement(XmpMediaManagementPackage value) | Sets the XmpMediaManagement schema. | | getXmpRightsManagement() | Gets the XmpRightsManagement schema. | | setXmpRightsManagement(XmpRightsManagementPackage value) | Sets the XmpRightsManagement schema. | | getBasicJobTicket() | Gets the BasicJobTicket scheme. | | setBasicJobTicket(XmpBasicJobTicketPackage value) | Sets the BasicJobTicket scheme. | ##### getCameraRaw() ``` public final XmpCameraRawPackage getCameraRaw() ``` Gets the Camera Raw scheme. **Returns:** XmpCameraRawPackage - The camera raw namespace. ##### setCameraRaw(XmpCameraRawPackage value) ``` public final void setCameraRaw(XmpCameraRawPackage value) ``` Sets the Camera Raw scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpCameraRawPackage | The camera raw namespace. | ##### getDublinCore() ``` public final XmpDublinCorePackage getDublinCore() ``` Gets the Dublin Core scheme. **Returns:** XmpDublinCorePackage - The dublin core namespace. ##### setDublinCore(XmpDublinCorePackage value) ``` public final void setDublinCore(XmpDublinCorePackage value) ``` Sets the Dublin Core scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDublinCorePackage | The dublin core namespace. | ##### getPagedText() ``` public final XmpPagedTextPackage getPagedText() ``` Gets the PagedText scheme. **Returns:** XmpPagedTextPackage - The paged text namespace. ##### setPagedText(XmpPagedTextPackage value) ``` public final void setPagedText(XmpPagedTextPackage value) ``` Sets the PagedText scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPagedTextPackage | The paged text namespace. | ##### getPdf() ``` public final XmpPdfPackage getPdf() ``` Gets the PDF scheme. **Returns:** XmpPdfPackage - The PDF namespace. ##### setPdf(XmpPdfPackage value) ``` public final void setPdf(XmpPdfPackage value) ``` Sets the PDF scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPdfPackage | The PDF namespace. | ##### getPhotoshop() ``` public final XmpPhotoshopPackage getPhotoshop() ``` Gets the Photoshop scheme. **Returns:** XmpPhotoshopPackage - The photoshop namespace. ##### setPhotoshop(XmpPhotoshopPackage value) ``` public final void setPhotoshop(XmpPhotoshopPackage value) ``` Sets the Photoshop scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpPhotoshopPackage | The photoshop namespace. | ##### getXmpBasic() ``` public final XmpBasicPackage getXmpBasic() ``` Gets the XmpBasic scheme. **Returns:** XmpBasicPackage - The XMP basic namespace. ##### setXmpBasic(XmpBasicPackage value) ``` public final void setXmpBasic(XmpBasicPackage value) ``` Sets the XmpBasic scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpBasicPackage | The XMP basic namespace. | ##### getXmpDynamicMedia() ``` public final XmpDynamicMediaPackage getXmpDynamicMedia() ``` Gets the XmpDynamicMedia scheme. **Returns:** XmpDynamicMediaPackage - The XMP dynamic media namespace. ##### setXmpDynamicMedia(XmpDynamicMediaPackage value) ``` public final void setXmpDynamicMedia(XmpDynamicMediaPackage value) ``` Sets the XmpDynamicMedia scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpDynamicMediaPackage | The XMP dynamic media namespace. | ##### getXmpMediaManagement() ``` public final XmpMediaManagementPackage getXmpMediaManagement() ``` Gets the XmpMediaManagement schema. **Returns:** XmpMediaManagementPackage - The XMP media management namespace. ##### setXmpMediaManagement(XmpMediaManagementPackage value) ``` public final void setXmpMediaManagement(XmpMediaManagementPackage value) ``` Sets the XmpMediaManagement schema. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpMediaManagementPackage | The XMP media management namespace. | ##### getXmpRightsManagement() ``` public final XmpRightsManagementPackage getXmpRightsManagement() ``` Gets the XmpRightsManagement schema. **Returns:** XmpRightsManagementPackage - The XMP rights management namespace. ##### setXmpRightsManagement(XmpRightsManagementPackage value) ``` public final void setXmpRightsManagement(XmpRightsManagementPackage value) ``` Sets the XmpRightsManagement schema. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRightsManagementPackage | The XMP rights management namespace. | ##### getBasicJobTicket() ``` public final XmpBasicJobTicketPackage getBasicJobTicket() ``` Gets the BasicJobTicket scheme. **Returns:** XmpBasicJobTicketPackage - The XMP job ticket namespace. ##### setBasicJobTicket(XmpBasicJobTicketPackage value) ``` public final void setBasicJobTicket(XmpBasicJobTicketPackage value) ``` Sets the BasicJobTicket scheme. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpBasicJobTicketPackage | The XMP job ticket namespace. | ### XmpText Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmptext.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase ``` public class XmpText extends XmpValueBase ``` Represents XMP Text basic type. #### Constructors | Constructor | Description | | --- | --- | | XmpText(String value) | Initializes a new instance of the XmpText class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### XmpText(String value) ``` public XmpText(String value) ``` Initializes a new instance of the XmpText class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value. | ##### getValue() ``` public final String getValue() ``` Gets the value. **Returns:** java.lang.String - Text value. ##### getXmpRepresentation() ``` public String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpThumbnail Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpthumbnail.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpThumbnail extends XmpComplexType ``` Represents a thumbnail image for a file. #### Constructors | Constructor | Description | | --- | --- | | XmpThumbnail() | Initializes a new instance of the XmpThumbnail class. | | XmpThumbnail(int width, int height) | Initializes a new instance of the XmpThumbnail class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the image width in pixels. | | setWidth(Integer value) | Sets the image width in pixels. | | getHeight() | Gets the image height in pixels. | | setHeight(Integer value) | Sets the image height in pixels. | | getImageBase64() | Gets the full thumbnail image data, converted to base 64 notation. | | setImageBase64(String value) | Sets the full thumbnail image data, converted to base 64 notation. | | getImageData() | Gets the image data. | | getFormat() | Gets the image format. | | setFormat(String value) | Sets the image format. | ##### XmpThumbnail() ``` public XmpThumbnail() ``` Initializes a new instance of the XmpThumbnail class. ##### XmpThumbnail(int width, int height) ``` public XmpThumbnail(int width, int height) ``` Initializes a new instance of the XmpThumbnail class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | The width. | | height | int | The height. | ##### getWidth() ``` public final Integer getWidth() ``` Gets the image width in pixels. **Returns:** java.lang.Integer - The thumbnail width. ##### setWidth(Integer value) ``` public final void setWidth(Integer value) ``` Sets the image width in pixels. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The thumbnail width. | ##### getHeight() ``` public final Integer getHeight() ``` Gets the image height in pixels. **Returns:** java.lang.Integer - The thumbnail height. ##### setHeight(Integer value) ``` public final void setHeight(Integer value) ``` Sets the image height in pixels. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The thumbnail height. | ##### getImageBase64() ``` public final String getImageBase64() ``` Gets the full thumbnail image data, converted to base 64 notation. **Returns:** java.lang.String - The full thumbnail image data, converted to base 64 notation. ##### setImageBase64(String value) ``` public final void setImageBase64(String value) ``` Sets the full thumbnail image data, converted to base 64 notation. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The full thumbnail image data, converted to base 64 notation. | ##### getImageData() ``` public final byte[] getImageData() ``` Gets the image data. **Returns:** byte[] - The image data. ##### getFormat() ``` public final String getFormat() ``` Gets the image format. Defined value: JPEG. **Returns:** java.lang.String - The thumbnail format. ##### setFormat(String value) ``` public final void setFormat(String value) ``` Sets the image format. Defined value: JPEG. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The thumbnail format. | ### XmpTime Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmptime.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpTime extends XmpComplexType ``` Representation of a time value in seconds. #### Constructors | Constructor | Description | | --- | --- | | XmpTime() | Initializes a new instance of the XmpTime class. | | XmpTime(XmpRational scale, int value) | Initializes a new instance of the XmpTime class. | #### Methods | Method | Description | | --- | --- | | getScale() | Gets the scale for the time value. | | setScale(XmpRational value) | Sets the scale for the time value. | | getValue() | Gets the time value in the specified scale. | | setValue(Integer value) | Sets the time value in the specified scale. | ##### XmpTime() ``` public XmpTime() ``` Initializes a new instance of the XmpTime class. ##### XmpTime(XmpRational scale, int value) ``` public XmpTime(XmpRational scale, int value) ``` Initializes a new instance of the XmpTime class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | scale | XmpRational | The scale. | | value | int | The value. | ##### getScale() ``` public final XmpRational getScale() ``` Gets the scale for the time value. **Returns:** XmpRational - The scale for the time value. For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25. ##### setScale(XmpRational value) ``` public final void setScale(XmpRational value) ``` Sets the scale for the time value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpRational | The scale for the time value. For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25. | ##### getValue() ``` public final Integer getValue() ``` Gets the time value in the specified scale. **Returns:** java.lang.Integer - The time value in the specified scale. ##### setValue(Integer value) ``` public final void setValue(Integer value) ``` Sets the time value in the specified scale. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.Integer | The time value in the specified scale. | ### XmpTimecode Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmptimecode.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpTimecode extends XmpComplexType ``` Represents a timecode value in a video. #### Constructors | Constructor | Description | | --- | --- | | XmpTimecode() | Initializes a new instance of the XmpTimecode class. | | XmpTimecode(XmpTimeFormat format, String timeValue) | Initializes a new instance of the XmpTimecode class. | #### Methods | Method | Description | | --- | --- | | getTimeFormat() | Gets the format used in the time value. | | setTimeFormat(String value) | Sets the format used in the time value. | | getTimeValue() | Gets the time value in the specified format. | | setTimeValue(String value) | Sets the time value in the specified format. | | setTimeFormat(XmpTimeFormat timeFormat) | Sets the time format. | ##### XmpTimecode() ``` public XmpTimecode() ``` Initializes a new instance of the XmpTimecode class. ##### XmpTimecode(XmpTimeFormat format, String timeValue) ``` public XmpTimecode(XmpTimeFormat format, String timeValue) ``` Initializes a new instance of the XmpTimecode class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | format | XmpTimeFormat | Time format. | | timeValue | java.lang.String | Time value. | ##### getTimeFormat() ``` public final String getTimeFormat() ``` Gets the format used in the time value. **Returns:** java.lang.String - The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode, 30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode. ##### setTimeFormat(String value) ``` public final void setTimeFormat(String value) ``` Sets the format used in the time value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode, 30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode. | ##### getTimeValue() ``` public final String getTimeValue() ``` Gets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff **Returns:** java.lang.String - The time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff ##### setTimeValue(String value) ``` public final void setTimeValue(String value) ``` Sets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff | ##### setTimeFormat(XmpTimeFormat timeFormat) ``` public final void setTimeFormat(XmpTimeFormat timeFormat) ``` Sets the time format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | timeFormat | XmpTimeFormat | The time format. | ### XmpTimeFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmptimeformat.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpTimeFormat extends XmpClosedChoice ``` Represents time format in XmpTimecode . #### Methods | Method | Description | | --- | --- | | getTimecode24() | Gets 24Timecode. | | getTimecode25() | Gets 25Timecode. | | getDropTimecode2997() | Gets 2997DropTimecode. | | getNonDropTimecode2997() | Gets 2997NonDropTimecode. | | getTimecode30() | Gets 30Timecode. | | getTimecode50() | Gets 50Timecode. | | getDropTimecode5994() | Gets 5994DropTimecode. | | getNonDropTimecode5994() | Gets 5994NonDropTimecode. | | getTimecode60() | Gets 60Timecode. | | getTimecode23976() | Gets 23976Timecode. | ##### getTimecode24() ``` public static XmpTimeFormat getTimecode24() ``` Gets 24Timecode. **Returns:** XmpTimeFormat - The 24Timecode. ##### getTimecode25() ``` public static XmpTimeFormat getTimecode25() ``` Gets 25Timecode. **Returns:** XmpTimeFormat - The 25Timecode. ##### getDropTimecode2997() ``` public static XmpTimeFormat getDropTimecode2997() ``` Gets 2997DropTimecode. **Returns:** XmpTimeFormat - The drop timecode2997. ##### getNonDropTimecode2997() ``` public static XmpTimeFormat getNonDropTimecode2997() ``` Gets 2997NonDropTimecode. **Returns:** XmpTimeFormat ##### getTimecode30() ``` public static XmpTimeFormat getTimecode30() ``` Gets 30Timecode. **Returns:** XmpTimeFormat - The 30Timecode. ##### getTimecode50() ``` public static XmpTimeFormat getTimecode50() ``` Gets 50Timecode. **Returns:** XmpTimeFormat - The 50Timecode. ##### getDropTimecode5994() ``` public static XmpTimeFormat getDropTimecode5994() ``` Gets 5994DropTimecode. **Returns:** XmpTimeFormat - The 5994DropTimecode. ##### getNonDropTimecode5994() ``` public static XmpTimeFormat getNonDropTimecode5994() ``` Gets 5994NonDropTimecode. **Returns:** XmpTimeFormat - The 5994NonDropTimecode. ##### getTimecode60() ``` public static XmpTimeFormat getTimecode60() ``` Gets 60Timecode. **Returns:** XmpTimeFormat - The 60Timecode. ##### getTimecode23976() ``` public static XmpTimeFormat getTimecode23976() ``` Gets 23976Timecode. **Returns:** XmpTimeFormat - The 23976Timecode. ### XmpTrailerPI Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmptrailerpi.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public final class XmpTrailerPI implements IXmpType ``` Represents XMP trailer processing instruction. The end="w" or end="r" portion shall be used by packet scanning processors to determine whether the XMP may be modified in-place. #### Constructors | Constructor | Description | | --- | --- | | XmpTrailerPI(boolean isWritable) | Initializes a new instance of the XmpTrailerPI class. | | XmpTrailerPI() | Initializes a new instance of the XmpTrailerPI class. | #### Methods | Method | Description | | --- | --- | | isWritable() | Indicates whether form may be modified in-place. | | getXmpRepresentation() | Converts XMP value to the xml representation. | ##### XmpTrailerPI(boolean isWritable) ``` public XmpTrailerPI(boolean isWritable) ``` Initializes a new instance of the XmpTrailerPI class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | isWritable | boolean | Indicates whether trailer is writable. | ##### XmpTrailerPI() ``` public XmpTrailerPI() ``` Initializes a new instance of the XmpTrailerPI class. ##### isWritable() ``` public final boolean isWritable() ``` Indicates whether form may be modified in-place. **Returns:** boolean - true if XMP packet is writable; otherwise, false . ##### getXmpRepresentation() ``` public final String getXmpRepresentation() ``` Converts XMP value to the xml representation. **Returns:** java.lang.String - Returns string representation of XMP value. ### XmpValueBase Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpvaluebase.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.PropertyValue **All Implemented Interfaces:** com.groupdocs.metadata.core.IXmpType ``` public abstract class XmpValueBase extends PropertyValue implements IXmpType ``` Represents base XMP value. #### Methods | Method | Description | | --- | --- | | toString() | Returns a string that represents the property value. | | getXmpRepresentation() | Returns string contained value in XMP format. | ##### toString() ``` public String toString() ``` Returns a string that represents the property value. **Returns:** java.lang.String - A string that represents the property value. ##### getXmpRepresentation() ``` public abstract String getXmpRepresentation() ``` Returns string contained value in XMP format. **Returns:** java.lang.String - string contained XMP representation. ### XmpVersion Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpversion.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType ``` public final class XmpVersion extends XmpComplexType ``` Represents a version of a document. #### Constructors | Constructor | Description | | --- | --- | | XmpVersion() | Initializes a new instance of the XmpVersion class. | #### Methods | Method | Description | | --- | --- | | getComments() | Gets the comments concerning what was changed. | | setComments(String value) | Sets the comments concerning what was changed. | | getEvent() | Gets the high-level, formal description of what operation the user performed. | | setEvent(XmpResourceEvent value) | Sets the high-level, formal description of what operation the user performed. | | getModifier() | Gets the person who modified this version. | | setModifier(String value) | Sets the person who modified this version. | | getModifyDate() | Gets the date on which this version was checked in. | | setModifyDate(Date value) | Sets the date on which this version was checked in. | | getVersionNumber() | Gets the new version number. | | setVersionNumber(String value) | Sets the new version number. | ##### XmpVersion() ``` public XmpVersion() ``` Initializes a new instance of the XmpVersion class. ##### getComments() ``` public final String getComments() ``` Gets the comments concerning what was changed. **Returns:** java.lang.String - The comments concerning what was changed. ##### setComments(String value) ``` public final void setComments(String value) ``` Sets the comments concerning what was changed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The comments concerning what was changed. | ##### getEvent() ``` public final XmpResourceEvent getEvent() ``` Gets the high-level, formal description of what operation the user performed. **Returns:** XmpResourceEvent - The high-level, formal description of what operation the user performed. ##### setEvent(XmpResourceEvent value) ``` public final void setEvent(XmpResourceEvent value) ``` Sets the high-level, formal description of what operation the user performed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | XmpResourceEvent | The high-level, formal description of what operation the user performed. | ##### getModifier() ``` public final String getModifier() ``` Gets the person who modified this version. **Returns:** java.lang.String - The person who modified this version. ##### setModifier(String value) ``` public final void setModifier(String value) ``` Sets the person who modified this version. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The person who modified this version. | ##### getModifyDate() ``` public final Date getModifyDate() ``` Gets the date on which this version was checked in. **Returns:** java.util.Date - The date on which this version was checked in. ##### setModifyDate(Date value) ``` public final void setModifyDate(Date value) ``` Sets the date on which this version was checked in. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.util.Date | The date on which this version was checked in. | ##### getVersionNumber() ``` public final String getVersionNumber() ``` Gets the new version number. **Returns:** java.lang.String - The new version number. ##### setVersionNumber(String value) ``` public final void setVersionNumber(String value) ``` Sets the new version number. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The new version number. | ### XmpWhiteBalance Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/xmpwhitebalance.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.XmpClosedChoice ``` public final class XmpWhiteBalance extends XmpClosedChoice ``` Represents the White Balance setting in XmpCameraRawPackage . #### Methods | Method | Description | | --- | --- | | getAsShot() | White balance: As Shot. | | getAuto() | White balance: Auto. | | getCloudy() | White balance: Cloudy. | | getCustom() | White balance: Custom. | | getDaylight() | White balance: Daylight. | | getFlash() | White balance: Flash. | | getFluorescent() | White balance: Fluorescent. | | getShade() | White balance: Shade. | | getTungsten() | White balance: Tungsten. | ##### getAsShot() ``` public static XmpWhiteBalance getAsShot() ``` White balance: As Shot. **Returns:** XmpWhiteBalance - As shot. ##### getAuto() ``` public static XmpWhiteBalance getAuto() ``` White balance: Auto. **Returns:** XmpWhiteBalance - The automatic. ##### getCloudy() ``` public static XmpWhiteBalance getCloudy() ``` White balance: Cloudy. **Returns:** XmpWhiteBalance - Cloudy. ##### getCustom() ``` public static XmpWhiteBalance getCustom() ``` White balance: Custom. **Returns:** XmpWhiteBalance - Custom. ##### getDaylight() ``` public static XmpWhiteBalance getDaylight() ``` White balance: Daylight. **Returns:** XmpWhiteBalance - Daylight. ##### getFlash() ``` public static XmpWhiteBalance getFlash() ``` White balance: Flash. **Returns:** XmpWhiteBalance - Flash. ##### getFluorescent() ``` public static XmpWhiteBalance getFluorescent() ``` White balance: Fluorescent. **Returns:** XmpWhiteBalance - Fluorescent. ##### getShade() ``` public static XmpWhiteBalance getShade() ``` White balance: Shade. **Returns:** XmpWhiteBalance - Shade. ##### getTungsten() ``` public static XmpWhiteBalance getTungsten() ``` White balance: Tungsten. **Returns:** XmpWhiteBalance - Tungsten. ### ZipCompressionMethod Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/zipcompressionmethod.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ZipCompressionMethod extends Enum implements IEnumValue ``` Defines ZIP compression methods. #### Fields | Field | Description | | --- | --- | | NoCompression | The file is stored (no compression). | | Shrunk | The file is Shrunk. | | Imploded | The file is Imploded. | | Reserved | A reserved compression method. | | Deflated | The file is Deflated. | | BZip2 | The file is compressed with the BZip2 algorithm. | | Lzma | The Lempel-Ziv-Markov chain-Algorithm. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### NoCompression ``` public static final ZipCompressionMethod NoCompression ``` The file is stored (no compression). ##### Shrunk ``` public static final ZipCompressionMethod Shrunk ``` The file is Shrunk. ##### Imploded ``` public static final ZipCompressionMethod Imploded ``` The file is Imploded. ##### Reserved ``` public static final ZipCompressionMethod Reserved ``` A reserved compression method. ##### Deflated ``` public static final ZipCompressionMethod Deflated ``` The file is Deflated. ##### BZip2 ``` public static final ZipCompressionMethod BZip2 ``` The file is compressed with the BZip2 algorithm. ##### Lzma ``` public static final ZipCompressionMethod Lzma ``` The Lempel-Ziv-Markov chain-Algorithm. ##### values() ``` public static ZipCompressionMethod[] values() ``` **Returns:** com.groupdocs.metadata.core.ZipCompressionMethod[] ##### valueOf(String name) ``` public static ZipCompressionMethod valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ZipCompressionMethod ##### getByRawValue(int rawValue) ``` public static ZipCompressionMethod getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ZipCompressionMethod ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ZipFile Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/zipfile.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ZipFile extends CustomPackage ``` Represents metadata associated with an archived file or directory. [Working with ZIP archives]: https://docs.groupdocs.com/display/metadatajava/Working+with+ZIP+archives #### Methods | Method | Description | | --- | --- | | getCompressionMethod() | Gets the compression method. | | getCompressedSize() | Gets the compressed size in bytes. | | getUncompressedSize() | Gets the uncompressed size in bytes. | | getFlags() | Gets the ZIP entry flags. | | getName() | Gets the entry name. | | getRawName() | Gets an array of bytes representing the name of the entry. | | getModificationDateTime() | Gets the last modification date and time. | ##### getCompressionMethod() ``` public final ZipCompressionMethod getCompressionMethod() ``` Gets the compression method. **Returns:** ZipCompressionMethod - The compression method. ##### getCompressedSize() ``` public final long getCompressedSize() ``` Gets the compressed size in bytes. **Returns:** long - The compressed size in bytes. ##### getUncompressedSize() ``` public final long getUncompressedSize() ``` Gets the uncompressed size in bytes. **Returns:** long - The uncompressed size in bytes. ##### getFlags() ``` public final int getFlags() ``` Gets the ZIP entry flags. **Returns:** int - The ZIP entry flags. Bit 00: encrypted file. Bit 01: compression option. Bit 02: compression option. Bit 03: data descriptor. Bit 04: enhanced deflation. Bit 05: compressed patched data. Bit 06: strong encryption. Bit 07-10: unused. Bit 11: language encoding. Bit 12: reserved. Bit 13: mask header values. Bit 14-15: reserved. ##### getName() ``` public final String getName() ``` Gets the entry name. **Returns:** java.lang.String - The entry name. It can be a file or directory name. ##### getRawName() ``` public final byte[] getRawName() ``` Gets an array of bytes representing the name of the entry. **Returns:** byte[] - An array of bytes representing the name of the entry. ##### getModificationDateTime() ``` public final Date getModificationDateTime() ``` Gets the last modification date and time. **Returns:** java.util.Date - The last modification date and time. ### ZipPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/zippackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage ``` public final class ZipPackage extends CustomPackage ``` Represents ZIP archive metadata. The following code snippet shows how to get metadata from a ZIP archive. > ``` > ``` > > Charset charset = Charset.forName("cp866"); > try (Metadata metadata = new Metadata(Constants.InputZip)) { > ZipRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getZipPackage().getComment()); > System.out.println(root.getZipPackage().getTotalEntries()); > for (ZipFile file : root.getZipPackage().getFiles()) { > System.out.println(file.getName()); > System.out.println(file.getCompressedSize()); > System.out.println(file.getCompressionMethod()); > System.out.println(file.getFlags()); > System.out.println(file.getModificationDateTime()); > System.out.println(file.getUncompressedSize()); > // Use a specific encoding for the file names > System.out.println(new String(file.getRawName(), charset)); > } > } > > ``` > ``` [Working with ZIP archives]: https://docs.groupdocs.com/display/metadatajava/Working+with+ZIP+archives #### Methods | Method | Description | | --- | --- | | getComment() | Gets the ZIP archive comment created by a user. | | setComment(String value) | Sets the ZIP archive comment created by a user. | | getFiles() | Gets an array of ZipFile entries inside the ZIP archive. | | getTotalEntries() | Gets the total number of entries inside the ZIP archive. | ##### getComment() ``` public final String getComment() ``` Gets the ZIP archive comment created by a user. **Returns:** java.lang.String - The user's comment. ##### setComment(String value) ``` public final void setComment(String value) ``` Sets the ZIP archive comment created by a user. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The user's comment. | ##### getFiles() ``` public final ZipFile[] getFiles() ``` Gets an array of ZipFile entries inside the ZIP archive. **Returns:** com.groupdocs.metadata.core.ZipFile[] - An array of ZipFile entries inside the ZIP archive. ##### getTotalEntries() ``` public final long getTotalEntries() ``` Gets the total number of entries inside the ZIP archive. **Returns:** long - The total number of entries inside the ZIP archive. ### ZipRootPackage Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.core/ziprootpackage.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage ``` public class ZipRootPackage extends RootMetadataPackage ``` Represents the root package allowing working with metadata in a ZIP archive. The following code snippet shows how to get metadata from a ZIP archive. > ``` > ``` > > Charset charset = Charset.forName("cp866"); > try (Metadata metadata = new Metadata(Constants.InputZip)) { > ZipRootPackage root = metadata.getRootPackageGeneric(); > System.out.println(root.getZipPackage().getComment()); > System.out.println(root.getZipPackage().getTotalEntries()); > for (ZipFile file : root.getZipPackage().getFiles()) { > System.out.println(file.getName()); > System.out.println(file.getCompressedSize()); > System.out.println(file.getCompressionMethod()); > System.out.println(file.getFlags()); > System.out.println(file.getModificationDateTime()); > System.out.println(file.getUncompressedSize()); > // Use a specific encoding for the file names > System.out.println(new String(file.getRawName(), charset)); > } > } > > ``` > ``` [Working with ZIP archives]: https://docs.groupdocs.com/display/metadatajava/Working+with+ZIP+archives #### Methods | Method | Description | | --- | --- | | getZipPackage() | Gets the ZIP metadata package. | ##### getZipPackage() ``` public final ZipPackage getZipPackage() ``` Gets the ZIP metadata package. **Returns:** ZipPackage - The ZIP metadata package. ### com.groupdocs.metadata.export Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export.md The **com.groupdocs.metadata.export** namespace contains classes that allow users to export metadata properties to different representations. #### Classes | Class | Description | | --- | --- | | CsvExportOptions | Creates an export options of xml file. | | ExcelExportOptions | Creates an export options of excel file. | | ExportManager | Provides a row of methods allowing the user to export metadata properties to various formats. | | ExportOptions | Abstract class export options. | | JsonExportOptions | Creates an export options of xml file. | | XmlExportOptions | Creates an export options of xml file. | #### Enumerations | Enum | Description | | --- | --- | | ExportFormat | Defines file formats to which you can export metadata properties. | ### CsvExportOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export/csvexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class CsvExportOptions extends ExportOptions ``` Creates an export options of xml file. #### Constructors | Constructor | Description | | --- | --- | | CsvExportOptions() | Initializes a new instance of the CsvExportOptions class. | ##### CsvExportOptions() ``` public CsvExportOptions() ``` Initializes a new instance of the CsvExportOptions class. ### ExcelExportOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export/excelexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class ExcelExportOptions extends ExportOptions ``` Creates an export options of excel file. #### Constructors | Constructor | Description | | --- | --- | | ExcelExportOptions() | Initializes a new instance of the ExcelExportOptions class. | | ExcelExportOptions(boolean groupCells) | Initializes a new instance of the ExcelExportOptions class. | #### Methods | Method | Description | | --- | --- | | getGroupCells() | This flag determines whether it is necessary to group rows when exporting to Excel format | | setGroupCells(boolean value) | This flag determines whether it is necessary to group rows when exporting to Excel format | ##### ExcelExportOptions() ``` public ExcelExportOptions() ``` Initializes a new instance of the ExcelExportOptions class. ##### ExcelExportOptions(boolean groupCells) ``` public ExcelExportOptions(boolean groupCells) ``` Initializes a new instance of the ExcelExportOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | groupCells | boolean | Group flag. | ##### getGroupCells() ``` public final boolean getGroupCells() ``` This flag determines whether it is necessary to group rows when exporting to Excel format Value: If the flag is true, the lines will be grouped, otherwise not **Returns:** boolean ##### setGroupCells(boolean value) ``` public final void setGroupCells(boolean value) ``` This flag determines whether it is necessary to group rows when exporting to Excel format Value: If the flag is true, the lines will be grouped, otherwise not **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | boolean | | ### ExportFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export/exportformat.md **Inheritance:** java.lang.Object, java.lang.Enum **All Implemented Interfaces:** com.groupdocs.metadata.core.IEnumValue ``` public enum ExportFormat extends Enum implements IEnumValue ``` Defines file formats to which you can export metadata properties. #### Fields | Field | Description | | --- | --- | | Xls | Represents the .XLS Excel format. | | Xlsx | Represents the .XLSX Excel format. | | Xml | Represents the .XML format. | | Csv | Represents the .CSV format. | | Json | Represents the .JSON format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | | getByRawValue(int rawValue) | | | getFirst() | | | getAllValues() | | | getEnumValueByRawValue(int rawValue) | | | getEnumValueByName(String name) | | | getRawValueType() | | | getRawValue() | | ##### Xls ``` public static final ExportFormat Xls ``` Represents the .XLS Excel format. ##### Xlsx ``` public static final ExportFormat Xlsx ``` Represents the .XLSX Excel format. ##### Xml ``` public static final ExportFormat Xml ``` Represents the .XML format. ##### Csv ``` public static final ExportFormat Csv ``` Represents the .CSV format. ##### Json ``` public static final ExportFormat Json ``` Represents the .JSON format. ##### values() ``` public static ExportFormat[] values() ``` **Returns:** com.groupdocs.metadata.export.ExportFormat[] ##### valueOf(String name) ``` public static ExportFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ExportFormat ##### getByRawValue(int rawValue) ``` public static ExportFormat getByRawValue(int rawValue) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** ExportFormat ##### getFirst() ``` public static IEnumValue getFirst() ``` **Returns:** IEnumValue ##### getAllValues() ``` public Object[] getAllValues() ``` Returns the array of all values defined in the class. **Returns:** java.lang.Object[] ##### getEnumValueByRawValue(int rawValue) ``` public IEnumValue getEnumValueByRawValue(int rawValue) ``` Returns the enumeration value by the raw value associated with it. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rawValue | int | | **Returns:** IEnumValue ##### getEnumValueByName(String name) ``` public IEnumValue getEnumValueByName(String name) ``` Returns the enumeration value by its name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** IEnumValue ##### getRawValueType() ``` public RawIntegerType getRawValueType() ``` Returns the underlying type of the raw value of this enumeration value. **Returns:** RawIntegerType ##### getRawValue() ``` public int getRawValue() ``` Returns the raw value of this enumeration value. **Returns:** int ### ExportManager Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export/exportmanager.md **Inheritance:** java.lang.Object ``` public class ExportManager ``` Provides a row of methods allowing the user to export metadata properties to various formats. #### Constructors | Constructor | Description | | --- | --- | | ExportManager(Iterable properties) | Initializes a new instance of the ExportManager class. | #### Methods | Method | Description | | --- | --- | | export(String filePath, ExportFormat format, ExportOptions exportOptions) | Exports the metadata properties to a file. | | export(OutputStream document, ExportFormat format, ExportOptions exportOptions) | Exports the metadata properties to a stream. | | export(String filePath, ExportFormat format) | Exports the metadata properties to a file. | | export(OutputStream document, ExportFormat format) | Exports the metadata properties to a stream. | ##### ExportManager(Iterable properties) ``` public ExportManager(Iterable properties) ``` Initializes a new instance of the ExportManager class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | properties | java.lang.Iterable | A collection of metadata properties to be exported. | ##### export(String filePath, ExportFormat format, ExportOptions exportOptions) ``` public final void export(String filePath, ExportFormat format, ExportOptions exportOptions) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the output file. | | format | ExportFormat | The format of the output file. | | exportOptions | ExportOptions | | ##### export(OutputStream document, ExportFormat format, ExportOptions exportOptions) ``` public final void export(OutputStream document, ExportFormat format, ExportOptions exportOptions) ``` Exports the metadata properties to a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The full name of the output file. | | format | ExportFormat | The format of the output file. | | exportOptions | ExportOptions | | ##### export(String filePath, ExportFormat format) ``` public final void export(String filePath, ExportFormat format) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the output file. | | format | ExportFormat | The format of the output file. | ##### export(OutputStream document, ExportFormat format) ``` public final void export(OutputStream document, ExportFormat format) ``` Exports the metadata properties to a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | The output file stream. | | format | ExportFormat | The format of the output file. | ### ExportOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export/exportoptions.md **Inheritance:** java.lang.Object ``` public abstract class ExportOptions ``` Abstract class export options. #### Constructors | Constructor | Description | | --- | --- | | ExportOptions() | Initializes a new instance of the ExportOptions class. | ##### ExportOptions() ``` public ExportOptions() ``` Initializes a new instance of the ExportOptions class. ### JsonExportOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export/jsonexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class JsonExportOptions extends ExportOptions ``` Creates an export options of xml file. #### Constructors | Constructor | Description | | --- | --- | | JsonExportOptions() | Initializes a new instance of the JsonExportOptions class. | ##### JsonExportOptions() ``` public JsonExportOptions() ``` Initializes a new instance of the JsonExportOptions class. ### XmlExportOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.export/xmlexportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.export.ExportOptions ``` public class XmlExportOptions extends ExportOptions ``` Creates an export options of xml file. #### Constructors | Constructor | Description | | --- | --- | | XmlExportOptions() | Initializes a new instance of the XmlExportOptions class. | ##### XmlExportOptions() ``` public XmlExportOptions() ``` Initializes a new instance of the XmlExportOptions class. ### com.groupdocs.metadata.imports Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.imports.md The **com.groupdocs.metadata.imports** namespace contains classes that allow users to import metadata properties to different representations. #### Classes | Class | Description | | --- | --- | | ImportFormat | Defines file formats to which you can import metadata properties. | | ImportManager | Provides a row of methods allowing the user to export metadata properties to various formats. | | ImportOptions | Abstract class import options. | | JsonImportOptions | Creates an import options from json file. | ### ImportFormat Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.imports/importformat.md **Inheritance:** java.lang.Object ``` public final class ImportFormat ``` Defines file formats to which you can import metadata properties. #### Fields | Field | Description | | --- | --- | | Json | Represents the .JSON format. | ##### Json ``` public static final int Json ``` Represents the .JSON format. ### ImportManager Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.imports/importmanager.md **Inheritance:** java.lang.Object ``` public class ImportManager ``` Provides a row of methods allowing the user to export metadata properties to various formats. #### Constructors | Constructor | Description | | --- | --- | | ImportManager(RootMetadataPackage rootMetadataPackage) | Initializes a new instance of the ImportManager class. | #### Methods | Method | Description | | --- | --- | | import_(String filePath, int format, ImportOptions importOptions) | Exports the metadata properties to a file. | | import_(InputStream stream, int format, ImportOptions importOptions) | Exports the metadata properties to a file. | ##### ImportManager(RootMetadataPackage rootMetadataPackage) ``` public ImportManager(RootMetadataPackage rootMetadataPackage) ``` Initializes a new instance of the ImportManager class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rootMetadataPackage | RootMetadataPackage | A collection of metadata properties where the import will be performed.. | ##### import_(String filePath, int format, ImportOptions importOptions) ``` public final void import_(String filePath, int format, ImportOptions importOptions) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the input file. | | format | int | The format of the input file. | | importOptions | ImportOptions | Additional options to use when importing. | ##### import_(InputStream stream, int format, ImportOptions importOptions) ``` public final void import_(InputStream stream, int format, ImportOptions importOptions) ``` Exports the metadata properties to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | The filestream of the input file. | | format | int | The format of the input file. | | importOptions | ImportOptions | Additional options to use when importing. | ### ImportOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.imports/importoptions.md **Inheritance:** java.lang.Object ``` public abstract class ImportOptions ``` Abstract class import options. #### Constructors | Constructor | Description | | --- | --- | | ImportOptions() | Initializes a new instance of the ImportOptions class. | ##### ImportOptions() ``` public ImportOptions() ``` Initializes a new instance of the ImportOptions class. ### JsonImportOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.imports/jsonimportoptions.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.imports.ImportOptions ``` public class JsonImportOptions extends ImportOptions ``` Creates an import options from json file. #### Constructors | Constructor | Description | | --- | --- | | JsonImportOptions() | Initializes a new instance of the JsonImportOptions class. | ##### JsonImportOptions() ``` public JsonImportOptions() ``` Initializes a new instance of the JsonImportOptions class. ### com.groupdocs.metadata.licensing Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.licensing.md The **com.groupdocs.metadata.licensing** namespace provides classes for licensing the Metadata library. #### Classes | Class | Description | | --- | --- | | License | Represents GroupDocs.Metadata license. | | Metered | Provides methods to set metered key. | ### License Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.licensing/license.md **Inheritance:** java.lang.Object ``` public final class License ``` Represents GroupDocs.Metadata license. License class should be applied once per AppDomain. > ``` > This example demonstrates how to setup a license. > > // initialize License class > License license = new License(); > // set path to .lic file > license.SetLicense(@"C:\\GroupDocs.Metadata.lic"); > ``` #### Constructors | Constructor | Description | | --- | --- | | License() | | #### Methods | Method | Description | | --- | --- | | setLicense(String licensePath) | Licenses the component. | | setLicense(InputStream licenseStream) | Licenses the component. | ##### License() ``` public License() ``` ##### setLicense(String licensePath) ``` public final void setLicense(String licensePath) ``` Licenses the component. > ``` > This example demonstrates how to setup license. > > // initialize License class > License license = new License(); > // set path to .lic file > license.SetLicense(@"C:\\GroupDocs.Metadata.lic"); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licensePath | java.lang.String | The absolute path to a license file. | ##### setLicense(InputStream licenseStream) ``` public final void setLicense(InputStream licenseStream) ``` Licenses the component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | licenseStream | java.io.InputStream | License stream. | ### Metered Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.licensing/metered.md **Inheritance:** java.lang.Object ``` public class Metered ``` Provides methods to set metered key. #### Constructors | Constructor | Description | | --- | --- | | Metered() | | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Activates product with Metered keys. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves amount of used credits | ##### Metered() ``` public Metered() ``` ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Activates product with Metered keys. > ``` > Following example demonstrates how to activate product with Metered keys. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | The public key. | | privateKey | java.lang.String | The private key. | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed. > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal mbProcessed = Metered.GetConsumptionQuantity(); > ``` **Returns:** java.math.BigDecimal ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves amount of used credits > ``` > Following example demonstrates how to retrieve amount of MBs processed. > > string publicKey = "Public Key"; > string privateKey = "Private Key"; > > Metered metered = new Metered(); > metered.SetMeteredKey(publicKey, privateKey); > decimal usedCredits = Metered.GetConsumptionCredit(); > ``` **Returns:** java.math.BigDecimal ### com.groupdocs.metadata.options Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.options.md The **com.groupdocs.metadata.options** namespace contains all classes representing settings that allow users to control file and metadata processing. #### Classes | Class | Description | | --- | --- | | LoadOptions | Allows a developer to specify additional options (such as a password) when loading a file. | | PreviewOptions | Provides options to sets requirements and stream delegates for preview generation. | #### Interfaces | Interface | Description | | --- | --- | | ICreatePageStream | Defines a method that returns a stream to write page preview data. | | IReleasePageStream | Defines a method which releases the stream created by the passed ICreatePageStream implementation. | #### Enumerations | Enum | Description | | --- | --- | | PreviewFormats | Represents supported preview formats. | ### ICreatePageStream Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.options/icreatepagestream.md ### IReleasePageStream Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.options/ireleasepagestream.md ### LoadOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.options/loadoptions.md **Inheritance:** java.lang.Object ``` public class LoadOptions ``` Allows a developer to specify additional options (such as a password) when loading a file. [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document #### Constructors | Constructor | Description | | --- | --- | | LoadOptions() | Initializes a new instance of the LoadOptions class. | | LoadOptions(FileFormat fileFormat) | Initializes a new instance of the LoadOptions class. | #### Methods | Method | Description | | --- | --- | | getPassword() | Gets the password for opening an encrypted document. | | setPassword(String value) | Sets the password for opening an encrypted document. | | getFileFormat() | Gets the exact type of the file that is to be loaded. | ##### LoadOptions() ``` public LoadOptions() ``` Initializes a new instance of the LoadOptions class. ##### LoadOptions(FileFormat fileFormat) ``` public LoadOptions(FileFormat fileFormat) ``` Initializes a new instance of the LoadOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The exact type of the file. | ##### getPassword() ``` public final String getPassword() ``` Gets the password for opening an encrypted document. **Returns:** java.lang.String - Can be null or empty string. The default value is null. If the document is not encrypted, set this to null or the empty string. ##### setPassword(String value) ``` public final void setPassword(String value) ``` Sets the password for opening an encrypted document. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | Can be null or empty string. The default value is null. If the document is not encrypted, set this to null or the empty string. | ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the exact type of the file that is to be loaded. The default value is FileFormat.Unknown which means that the type should be detected automatically. **Returns:** FileFormat - The exact type of the file that is to be loaded. ### PreviewFormats Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.options/previewformats.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PreviewFormats extends Enum ``` Represents supported preview formats. #### Fields | Field | Description | | --- | --- | | PNG | Portable Network Graphics Format. | | JPEG | Joint Photographic Experts Group Format. | | BMP | Bitmap Picture Format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### PNG ``` public static final PreviewFormats PNG ``` Portable Network Graphics Format. ##### JPEG ``` public static final PreviewFormats JPEG ``` Joint Photographic Experts Group Format. ##### BMP ``` public static final PreviewFormats BMP ``` Bitmap Picture Format. ##### values() ``` public static PreviewFormats[] values() ``` **Returns:** com.groupdocs.metadata.options.PreviewFormats[] ##### valueOf(String name) ``` public static PreviewFormats valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PreviewFormats ### PreviewOptions Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.options/previewoptions.md **Inheritance:** java.lang.Object ``` public class PreviewOptions ``` Provides options to sets requirements and stream delegates for preview generation. #### Constructors | Constructor | Description | | --- | --- | | PreviewOptions(ICreatePageStream createPageStream) | Initializes a new instance of the PreviewOptions class causing the output stream to be closed. | | PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) | Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use. | #### Methods | Method | Description | | --- | --- | | getCacheFolder() | Gets the cache folder. | | setCacheFolder(String value) | Sets the cache folder. | | getMaxDiskSpaceForCache() | Gets the maximum available disk space for cache in bytes. | | setMaxDiskSpaceForCache(int value) | Sets the maximum available disk space for cache in bytes. | | getMaxMemoryForCache() | Gets the maximum available memory for cache in memory in bytes. | | setMaxMemoryForCache(int value) | Sets the maximum available memory for cache in memory in bytes. | | getWidth() | Gets the page preview width. | | setWidth(int value) | Sets the page preview width. | | getHeight() | Gets the page preview height. | | setHeight(int value) | Sets the page preview height. | | getPageNumbers() | Gets an array of page numbers to generate previews. | | setPageNumbers(int[] value) | Sets an array of page numbers to generate previews. | | getPreviewFormat() | Gets the preview image format. | | setPreviewFormat(PreviewFormats value) | Sets the preview image format. | | getCreatePageStream() | Gets an instance of the page stream creation delegate. | | setCreatePageStream(ICreatePageStream value) | Sets an instance of the page stream creation delegate. | | getReleasePageStream() | Gets an instance of the page preview completion delegate. | | setReleasePageStream(IReleasePageStream value) | Sets an instance of the page preview completion delegate. | | getResolution() | Gets or sets the page preview resolution. | | setResolution(int value) | Gets or sets the page preview resolution. | ##### PreviewOptions(ICreatePageStream createPageStream) ``` public PreviewOptions(ICreatePageStream createPageStream) ``` Initializes a new instance of the PreviewOptions class causing the output stream to be closed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | ICreatePageStream | Creates a stream for a specific page preview. | ##### PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) ``` public PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) ``` Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | ICreatePageStream | Creates a stream for a specific page preview | | releasePageStream | IReleasePageStream | Notifies that the page preview generation is done and gets the output stream. | ##### getCacheFolder() ``` public final String getCacheFolder() ``` Gets the cache folder. By default the cache folder is set to user's local temp directory. **Returns:** java.lang.String - The cache folder. ##### setCacheFolder(String value) ``` public final void setCacheFolder(String value) ``` Sets the cache folder. By default the cache folder is set to user's local temp directory. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The cache folder. | ##### getMaxDiskSpaceForCache() ``` public final int getMaxDiskSpaceForCache() ``` Gets the maximum available disk space for cache in bytes. The default value is 1073741824. **Returns:** int - The maximum available disk space for cache in bytes. ##### setMaxDiskSpaceForCache(int value) ``` public final void setMaxDiskSpaceForCache(int value) ``` Sets the maximum available disk space for cache in bytes. The default value is 1073741824. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The maximum available disk space for cache in bytes. | ##### getMaxMemoryForCache() ``` public final int getMaxMemoryForCache() ``` Gets the maximum available memory for cache in memory in bytes. The default value is 1073741824. **Returns:** int - The maximum available memory for cache in memory in bytes. ##### setMaxMemoryForCache(int value) ``` public final void setMaxMemoryForCache(int value) ``` Sets the maximum available memory for cache in memory in bytes. The default value is 1073741824. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The maximum available memory for cache in memory in bytes. | ##### getWidth() ``` public final int getWidth() ``` Gets the page preview width. **Returns:** int - The page preview width. ##### setWidth(int value) ``` public final void setWidth(int value) ``` Sets the page preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The page preview width. | ##### getHeight() ``` public final int getHeight() ``` Gets the page preview height. **Returns:** int - The page preview height. ##### setHeight(int value) ``` public final void setHeight(int value) ``` Sets the page preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | The page preview height. | ##### getPageNumbers() ``` public final int[] getPageNumbers() ``` Gets an array of page numbers to generate previews. **Returns:** int[] - An array of page numbers to generate previews. ##### setPageNumbers(int[] value) ``` public final void setPageNumbers(int[] value) ``` Sets an array of page numbers to generate previews. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int[] | An array of page numbers to generate previews. | ##### getPreviewFormat() ``` public final PreviewFormats getPreviewFormat() ``` Gets the preview image format. **Returns:** PreviewFormats - The preview image format. ##### setPreviewFormat(PreviewFormats value) ``` public final void setPreviewFormat(PreviewFormats value) ``` Sets the preview image format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | PreviewFormats | The preview image format. | ##### getCreatePageStream() ``` public final ICreatePageStream getCreatePageStream() ``` Gets an instance of the page stream creation delegate. **Returns:** ICreatePageStream - An instance of the page stream creation delegate. ##### setCreatePageStream(ICreatePageStream value) ``` public final void setCreatePageStream(ICreatePageStream value) ``` Sets an instance of the page stream creation delegate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | ICreatePageStream | An instance of the page stream creation delegate. | ##### getReleasePageStream() ``` public final IReleasePageStream getReleasePageStream() ``` Gets an instance of the page preview completion delegate. **Returns:** IReleasePageStream - An instance of the page preview completion delegate. ##### setReleasePageStream(IReleasePageStream value) ``` public final void setReleasePageStream(IReleasePageStream value) ``` Sets an instance of the page preview completion delegate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | IReleasePageStream | An instance of the page preview completion delegate. | ##### getResolution() ``` public final int getResolution() ``` Gets or sets the page preview resolution. **Returns:** int ##### setResolution(int value) ``` public final void setResolution(int value) ``` Gets or sets the page preview resolution. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | int | | ### com.groupdocs.metadata.search Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search.md The **com.groupdocs.metadata.search** namespace contains base classes, utility classes and interfaces used across all formats and metadata standards. #### Classes | Class | Description | | --- | --- | | AndSpecification | Represents a composite specification that uses the logical AND operator to combine two given search specifications. | | AnySpecification | Represents a specification that applies no filters to a property. | | ContainsTagSpecification | Represents a specification that checks whether the passed property contains the specified tag. | | FallsIntoCategorySpecification | Represents a specification that verifies whether the passed property falls into a particular category (i.e. | | NotSpecification | Represents a composite specification that negates any other specification. | | OfTypeSpecification | Represents a specification that filters properties of a particular type. | | OrSpecification | Represents a composite specification that uses the logical OR operator to combine two given search specifications. | | Specification | Provides a base abstract class for search specifications that can be combined using logical operators. | | WithNameSpecification | Represents a specification that filters properties with a particular name. | ### AndSpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/andspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class AndSpecification extends Specification ``` Represents a composite specification that uses the logical AND operator to combine two given search specifications. #### Methods | Method | Description | | --- | --- | | getLeft() | Gets the left specification. | | getRight() | Gets the right specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### getLeft() ``` public final Specification getLeft() ``` Gets the left specification. **Returns:** Specification - The left specification. ##### getRight() ``` public final Specification getRight() ``` Gets the right specification. **Returns:** Specification - The right specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### AnySpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/anyspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class AnySpecification extends Specification ``` Represents a specification that applies no filters to a property. #### Constructors | Constructor | Description | | --- | --- | | AnySpecification() | | #### Methods | Method | Description | | --- | --- | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### AnySpecification() ``` public AnySpecification() ``` ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### ContainsTagSpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/containstagspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class ContainsTagSpecification extends Specification ``` Represents a specification that checks whether the passed property contains the specified tag. #### Constructors | Constructor | Description | | --- | --- | | ContainsTagSpecification(PropertyTag tag) | Initializes a new instance of the ContainsTagSpecification class. | #### Methods | Method | Description | | --- | --- | | getTag() | Gets the tag a property must contain to satisfy the specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### ContainsTagSpecification(PropertyTag tag) ``` public ContainsTagSpecification(PropertyTag tag) ``` Initializes a new instance of the ContainsTagSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tag | PropertyTag | The tag a property must contain to satisfy the specification. | ##### getTag() ``` public final PropertyTag getTag() ``` Gets the tag a property must contain to satisfy the specification. **Returns:** PropertyTag - The tag a property must contain to satisfy the specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### FallsIntoCategorySpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/fallsintocategoryspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class FallsIntoCategorySpecification extends Specification ``` Represents a specification that verifies whether the passed property falls into a particular category (i.e. contains tags from the specified category). #### Constructors | Constructor | Description | | --- | --- | | FallsIntoCategorySpecification(TagCategory category) | Initializes a new instance of the FallsIntoCategorySpecification class. | #### Methods | Method | Description | | --- | --- | | getCategory() | Gets the category into which a property must fall to satisfy the specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### FallsIntoCategorySpecification(TagCategory category) ``` public FallsIntoCategorySpecification(TagCategory category) ``` Initializes a new instance of the FallsIntoCategorySpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | category | TagCategory | The category into which a property must fall to satisfy the specification. | ##### getCategory() ``` public final TagCategory getCategory() ``` Gets the category into which a property must fall to satisfy the specification. **Returns:** TagCategory - The category into which a property must fall to satisfy the specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### NotSpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/notspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class NotSpecification extends Specification ``` Represents a composite specification that negates any other specification. #### Methods | Method | Description | | --- | --- | | getWrapped() | Gets the base specification to be negated. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### getWrapped() ``` public final Specification getWrapped() ``` Gets the base specification to be negated. **Returns:** Specification - The base specification to be negated. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### OfTypeSpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/oftypespecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class OfTypeSpecification extends Specification ``` Represents a specification that filters properties of a particular type. #### Constructors | Constructor | Description | | --- | --- | | OfTypeSpecification(MetadataPropertyType propertyType) | Initializes a new instance of the OfTypeSpecification class. | #### Methods | Method | Description | | --- | --- | | getPropertyType() | Gets the type of properties that satisfy the specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### OfTypeSpecification(MetadataPropertyType propertyType) ``` public OfTypeSpecification(MetadataPropertyType propertyType) ``` Initializes a new instance of the OfTypeSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyType | MetadataPropertyType | The type of properties that satisfy the specification. | ##### getPropertyType() ``` public final MetadataPropertyType getPropertyType() ``` Gets the type of properties that satisfy the specification. **Returns:** MetadataPropertyType - The type of properties that satisfy the specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### OrSpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/orspecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class OrSpecification extends Specification ``` Represents a composite specification that uses the logical OR operator to combine two given search specifications. #### Methods | Method | Description | | --- | --- | | getLeft() | Gets the left specification. | | getRight() | Gets the right specification. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### getLeft() ``` public final Specification getLeft() ``` Gets the left specification. **Returns:** Specification - The left specification. ##### getRight() ``` public final Specification getRight() ``` Gets the right specification. **Returns:** Specification - The right specification. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### Specification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/specification.md **Inheritance:** java.lang.Object ``` public abstract class Specification ``` Provides a base abstract class for search specifications that can be combined using logical operators. #### Constructors | Constructor | Description | | --- | --- | | Specification() | | #### Methods | Method | Description | | --- | --- | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | | and(Specification other) | Combines two search specifications using the logical AND operator. | | or(Specification other) | Combines two search specifications using the logical OR operator. | | not() | Negates the specification. | ##### Specification() ``` public Specification() ``` ##### isSatisfiedBy(MetadataProperty candidate) ``` public abstract boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ##### and(Specification other) ``` public final Specification and(Specification other) ``` Combines two search specifications using the logical AND operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Specification | A specification to combine with. | **Returns:** Specification - A composite specification. ##### or(Specification other) ``` public final Specification or(Specification other) ``` Combines two search specifications using the logical OR operator. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | Specification | A specification to combine with. | **Returns:** Specification - A composite specification. ##### not() ``` public final Specification not() ``` Negates the specification. **Returns:** Specification - A composite specification. ### WithNameSpecification Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.search/withnamespecification.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.search.Specification ``` public class WithNameSpecification extends Specification ``` Represents a specification that filters properties with a particular name. #### Constructors | Constructor | Description | | --- | --- | | WithNameSpecification(String propertyName) | Initializes a new instance of the WithNameSpecification class. | | WithNameSpecification(String propertyName, boolean ignoreCase) | Initializes a new instance of the WithNameSpecification class. | #### Methods | Method | Description | | --- | --- | | getPropertyName() | Gets the name of properties that satisfy the specification. | | getIgnoreCase() | Gets a value indicating whether the case of the strings being compared should be ignored. | | isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. | ##### WithNameSpecification(String propertyName) ``` public WithNameSpecification(String propertyName) ``` Initializes a new instance of the WithNameSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The type of properties that satisfy the specification. | ##### WithNameSpecification(String propertyName, boolean ignoreCase) ``` public WithNameSpecification(String propertyName, boolean ignoreCase) ``` Initializes a new instance of the WithNameSpecification class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | propertyName | java.lang.String | The type of properties that satisfy the specification. | | ignoreCase | boolean | A value indicating whether the case of the strings being compared should be ignored. | ##### getPropertyName() ``` public final String getPropertyName() ``` Gets the name of properties that satisfy the specification. **Returns:** java.lang.String - The name of properties that satisfy the specification. ##### getIgnoreCase() ``` public final boolean getIgnoreCase() ``` Gets a value indicating whether the case of the strings being compared should be ignored. **Returns:** boolean - True if the case should be ignored; otherwise, false. ##### isSatisfiedBy(MetadataProperty candidate) ``` public boolean isSatisfiedBy(MetadataProperty candidate) ``` Verifies whether a MetadataProperty satisfies the specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | candidate | MetadataProperty | A metadata property to test. | **Returns:** boolean - True, if the passed property satisfies the specification; otherwise, false. ### com.groupdocs.metadata.tagging Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging.md The **com.groupdocs.metadata.tagging** namespace contains various sets of tags with which most important metadata properties are marked.The tags allow users to find and update metadata properties in different packages regardless of the metadata standard and file format. #### Classes | Class | Description | | --- | --- | | ContentTagCategory | Provides tags that are attached to metadata properties describing the content of a file. | | CorporateTagCategory | Provides tags intended to mark metadata properties related to a company that participated in file creation. | | DocumentTagCategory | Provides tags that are applied to document-specific properties only. | | LegalTagCategory | Provides tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. | | OriginTagCategory | Provides tags that help a user to determine the origin of a file (e.g. | | PersonTagCategory | Provides tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. | | PropertyTag | Represents a tag used to mark metadata properties. | | PropertyTypeTagCategory | Provides tags that bear additional information about the type of a property rather than about its purpose. | | TagCategory | Represents a set of tags having some shared characteristics. | | Tags | Contains various sets of tags with which most important metadata properties are marked. | | TimeTagCategory | Provides tags that mark metadata properties used to describe the lifecycle of a file. | | ToolTagCategory | Provides tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. | ### ContentTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/contenttagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class ContentTagCategory extends TagCategory ``` Provides tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. #### Methods | Method | Description | | --- | --- | | getDescription() | Gets the tag that labels properties containing a description of a file. | | getComment() | Gets the tag that denotes a comment left by a person who contributed in file creation. | | getTitle() | Gets the tag that labels the name given to a file. | | getThumbnail() | Gets the tag that indicates a thumbnail image attached to a file. | | getLanguage() | Gets the tag indicating the language of the intellectual content of a file. | | getSubject() | Gets the tag that denotes the subject the intellectual content is focused on. | | getTableOfContents() | Gets the tag indicating properties containing the table of contents of a file. | | getType() | Gets the tag that indicates the nature or genre of the content of a file. | | getRating() | Gets the tag labeling a user assigned rating of a file. | | getKeywords() | Gets the tag that denotes a metadata property containing keywords that describe the content. | | getFileFormat() | Gets the tag that indicates a metadata property containing information about the format of a file. | | getStatus() | Gets the tag that denotes the status of a file. | | getVersion() | Gets the tag labeling the version or revision of a file. | | getSharedDoc() | Gets the tag that denotes which is a common document for several manufacturers. | | getHyperlinksChanged() | Gets the tag that denotes the indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. | | getBody() | Gets the tag that denotes the body of a email file. | | getAlbum() | Gets the tag that denotes the album name of a audio file. | ##### getDescription() ``` public final PropertyTag getDescription() ``` Gets the tag that labels properties containing a description of a file. **Returns:** PropertyTag - The tag that labels properties containing a description of a file. ##### getComment() ``` public final PropertyTag getComment() ``` Gets the tag that denotes a comment left by a person who contributed in file creation. **Returns:** PropertyTag - The tag that denotes a comment left by a person who contributed in file creation. ##### getTitle() ``` public final PropertyTag getTitle() ``` Gets the tag that labels the name given to a file. **Returns:** PropertyTag - The tag that labels the name given to a file. ##### getThumbnail() ``` public final PropertyTag getThumbnail() ``` Gets the tag that indicates a thumbnail image attached to a file. **Returns:** PropertyTag - The tag that indicates a thumbnail image attached to a file. ##### getLanguage() ``` public final PropertyTag getLanguage() ``` Gets the tag indicating the language of the intellectual content of a file. **Returns:** PropertyTag ##### getSubject() ``` public final PropertyTag getSubject() ``` Gets the tag that denotes the subject the intellectual content is focused on. **Returns:** PropertyTag - The tag that denotes the subject the intellectual content is focused on. ##### getTableOfContents() ``` public final PropertyTag getTableOfContents() ``` Gets the tag indicating properties containing the table of contents of a file. **Returns:** PropertyTag ##### getType() ``` public final PropertyTag getType() ``` Gets the tag that indicates the nature or genre of the content of a file. It also includes terms describing general categories, functions, aggregation levels for the content. **Returns:** PropertyTag ##### getRating() ``` public final PropertyTag getRating() ``` Gets the tag labeling a user assigned rating of a file. **Returns:** PropertyTag - The tag labeling a user assigned rating of a file. ##### getKeywords() ``` public final PropertyTag getKeywords() ``` Gets the tag that denotes a metadata property containing keywords that describe the content. **Returns:** PropertyTag - The tag that denotes a metadata property containing keywords that describe the content. ##### getFileFormat() ``` public final PropertyTag getFileFormat() ``` Gets the tag that indicates a metadata property containing information about the format of a file. **Returns:** PropertyTag - The tag that indicates a metadata property containing information about the format of a file. ##### getStatus() ``` public final PropertyTag getStatus() ``` Gets the tag that denotes the status of a file. **Returns:** PropertyTag - The tag that denotes the status of a file. ##### getVersion() ``` public final PropertyTag getVersion() ``` Gets the tag labeling the version or revision of a file. **Returns:** PropertyTag - The tag labeling the version or revision of a file. ##### getSharedDoc() ``` public final PropertyTag getSharedDoc() ``` Gets the tag that denotes which is a common document for several manufacturers. **Returns:** PropertyTag - The tag that denotes which is a common document for several manufacturers. ##### getHyperlinksChanged() ``` public final PropertyTag getHyperlinksChanged() ``` Gets the tag that denotes the indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. **Returns:** PropertyTag - The tag that denotes indicates that one or more hyperlinks in this part have been updated exclusively in this part by the manufacturer. ##### getBody() ``` public final PropertyTag getBody() ``` Gets the tag that denotes the body of a email file. **Returns:** PropertyTag - The tag that denotes the body of a email file. ##### getAlbum() ``` public final PropertyTag getAlbum() ``` Gets the tag that denotes the album name of a audio file. Value: The tag that denotes the album name of a audio file. **Returns:** PropertyTag ### CorporateTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/corporatetagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class CorporateTagCategory extends TagCategory ``` Provides tags intended to mark metadata properties related to a company that participated in file creation. #### Methods | Method | Description | | --- | --- | | getCompany() | Gets the tag that labels a property containing information about a company contributed to file creation. | | getManager() | Gets the tag that labels information about a person who managed the making process of a file. | ##### getCompany() ``` public final PropertyTag getCompany() ``` Gets the tag that labels a property containing information about a company contributed to file creation. Alternatively, the tag can refer to a company the file content is about. **Returns:** PropertyTag ##### getManager() ``` public final PropertyTag getManager() ``` Gets the tag that labels information about a person who managed the making process of a file. **Returns:** PropertyTag - The tag that labels information about a person who managed the making process of a file. ### DocumentTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/documenttagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class DocumentTagCategory extends TagCategory ``` Provides tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. #### Methods | Method | Description | | --- | --- | | getBuiltIn() | Gets the tag that indicates that the property it labels is built-in. | | getReadOnly() | Gets the tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. | | getHiddenData() | Gets the tag indicating a document part that is not visible for regular users. | | getUserComment() | Gets the tag that labels user comments shown in the document content. | | getPage() | Gets the tag that denotes a property holding information about a document page. | | getStatistic() | Gets the tag indicating a property containing document statistics (word count, character count, etc). | | getField() | Gets the tag that denotes a property holding information about a form field or calculated field extracted from a document. | | getRevision() | Get the tag labeling a property containing information about a document revision (tracked change). | ##### getBuiltIn() ``` public final PropertyTag getBuiltIn() ``` Gets the tag that indicates that the property it labels is built-in. **Returns:** PropertyTag - The tag that indicates that the property it labels is built-in. ##### getReadOnly() ``` public final PropertyTag getReadOnly() ``` Gets the tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. **Returns:** PropertyTag - The tag that indicates that the property it labels is read-only and cannot be changed by GroupDocs.Metadata. ##### getHiddenData() ``` public final PropertyTag getHiddenData() ``` Gets the tag indicating a document part that is not visible for regular users. **Returns:** PropertyTag - The tag indicating a document part that is not visible for regular users. ##### getUserComment() ``` public final PropertyTag getUserComment() ``` Gets the tag that labels user comments shown in the document content. **Returns:** PropertyTag - The tag that labels user comments shown in the document content. ##### getPage() ``` public final PropertyTag getPage() ``` Gets the tag that denotes a property holding information about a document page. **Returns:** PropertyTag - The tag that denotes a property holding information about a document page. ##### getStatistic() ``` public final PropertyTag getStatistic() ``` Gets the tag indicating a property containing document statistics (word count, character count, etc). **Returns:** PropertyTag - The tag indicating a property containing document statistics (word count, character count, etc). ##### getField() ``` public final PropertyTag getField() ``` Gets the tag that denotes a property holding information about a form field or calculated field extracted from a document. **Returns:** PropertyTag - The tag that denotes a property holding information about a form field or calculated field extracted from a document. ##### getRevision() ``` public final PropertyTag getRevision() ``` Get the tag labeling a property containing information about a document revision (tracked change). **Returns:** PropertyTag - The tag labeling a property containing information about a document revision (tracked change). ### LegalTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/legaltagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class LegalTagCategory extends TagCategory ``` Provides tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. #### Methods | Method | Description | | --- | --- | | getCopyright() | Gets the tag that labels a copyright notice provided by the owner. | | getOwner() | Gets the tag that denotes information about the owners of a file. | | getUsageTerms() | Gets the tag that labels instructions on how the file can be used. | ##### getCopyright() ``` public final PropertyTag getCopyright() ``` Gets the tag that labels a copyright notice provided by the owner. **Returns:** PropertyTag - The tag that labels a copyright notice provided by the owner. ##### getOwner() ``` public final PropertyTag getOwner() ``` Gets the tag that denotes information about the owners of a file. **Returns:** PropertyTag - The tag that denotes information about the owners of a file. ##### getUsageTerms() ``` public final PropertyTag getUsageTerms() ``` Gets the tag that labels instructions on how the file can be used. **Returns:** PropertyTag - The tag that labels instructions on how the file can be used. ### OriginTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/origintagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class OriginTagCategory extends TagCategory ``` Provides tags that help a user to determine the origin of a file (e.g. template or another source). #### Methods | Method | Description | | --- | --- | | getTemplate() | Gets the tag that denotes the template from which the file was created. | | getSource() | Gets the tag that labels a reference to a resource from which the file content is derived. | ##### getTemplate() ``` public final PropertyTag getTemplate() ``` Gets the tag that denotes the template from which the file was created. **Returns:** PropertyTag - The tag that denotes the template from which the file was created. ##### getSource() ``` public final PropertyTag getSource() ``` Gets the tag that labels a reference to a resource from which the file content is derived. **Returns:** PropertyTag - The tag that labels a reference to a resource from which the file content is derived. ### PersonTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/persontagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class PersonTagCategory extends TagCategory ``` Provides tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. #### Methods | Method | Description | | --- | --- | | getCreator() | Gets the tag that denotes the original author of a file/document. | | getContributor() | Gets the tag that labels a property containing the name of a person who somehow contributed to file creation. | | getEditor() | Gets the tag that labels a person who edited a file. | | getModel() | Gets the tag that denotes information about a person the content of the file is about. | | getClient() | Gets the tag that labels information about the client for whom the file/intellectual content was created. | | getManager() | Gets the tag that labels information about a person who managed the making process of a file. | | getPublisher() | Gets the tag marking a person responsible for making the file available. | | getArtist() | Gets the tag that denotes the original performer of a file. | | getRecipient() | Gets the tag that denotes the original recipients of a mail. | ##### getCreator() ``` public final PropertyTag getCreator() ``` Gets the tag that denotes the original author of a file/document. **Returns:** PropertyTag - The tag that denotes the original author of a file/document. ##### getContributor() ``` public final PropertyTag getContributor() ``` Gets the tag that labels a property containing the name of a person who somehow contributed to file creation. Please note that the tag is not applied towards metadata properties marked with more specific tags from this category. E.g. if a property labeled with the Creator tag. **Returns:** PropertyTag - The tag that labels a property containing the name of a person who somehow contributed to file creation. ##### getEditor() ``` public final PropertyTag getEditor() ``` Gets the tag that labels a person who edited a file. The tag is usually used to mark a property containing information about the last editor. **Returns:** PropertyTag - The tag that labels a person who edited a file. ##### getModel() ``` public final PropertyTag getModel() ``` Gets the tag that denotes information about a person the content of the file is about. For photos that is a person shown in the image. **Returns:** PropertyTag - The tag that denotes information about a person the content of the file is about. ##### getClient() ``` public final PropertyTag getClient() ``` Gets the tag that labels information about the client for whom the file/intellectual content was created. **Returns:** PropertyTag - The tag that labels information about the client for whom the file/intellectual content was created. ##### getManager() ``` public final PropertyTag getManager() ``` Gets the tag that labels information about a person who managed the making process of a file. **Returns:** PropertyTag - The tag that labels information about a person who managed the making process of a file. ##### getPublisher() ``` public final PropertyTag getPublisher() ``` Gets the tag marking a person responsible for making the file available. **Returns:** PropertyTag - The tag marking a person responsible for making the file available. ##### getArtist() ``` public final PropertyTag getArtist() ``` Gets the tag that denotes the original performer of a file. **Returns:** PropertyTag - The tag that denotes the original performer of a file. ##### getRecipient() ``` public final PropertyTag getRecipient() ``` Gets the tag that denotes the original recipients of a mail. **Returns:** PropertyTag - The tag that denotes the original recipients of a mail. ### PropertyTag Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/propertytag.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.aspose.ms.System.IEquatable ``` public final class PropertyTag implements System.IEquatable ``` Represents a tag used to mark metadata properties. #### Methods | Method | Description | | --- | --- | | getCategory() | Gets the tag category. | | equals(PropertyTag other) | Indicates whether the current object is equal to another object of the same type. | | equals(Object obj) | Determines whether the specified object is equal to the current object. | | hashCode() | Serves as the default hash function. | | op_Equality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are equal. | | op_Inequality(PropertyTag left, PropertyTag right) | Indicates whether two objects of the same type are not equal. | | toString() | Returns a string that represents the current object. | ##### getCategory() ``` public final TagCategory getCategory() ``` Gets the tag category. **Returns:** TagCategory - The tag category. ##### equals(PropertyTag other) ``` public final boolean equals(PropertyTag other) ``` Indicates whether the current object is equal to another object of the same type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | other | PropertyTag | An object to compare with this object. | **Returns:** boolean - True if the current object is equal to the other parameter; otherwise, false. ##### equals(Object obj) ``` public boolean equals(Object obj) ``` Determines whether the specified object is equal to the current object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | obj | java.lang.Object | The object to compare with the current object. | **Returns:** boolean - True if the specified object is equal to the current object; otherwise, false. ##### hashCode() ``` public int hashCode() ``` Serves as the default hash function. **Returns:** int - A hash code for the current object. ##### op_Equality(PropertyTag left, PropertyTag right) ``` public static boolean op_Equality(PropertyTag left, PropertyTag right) ``` Indicates whether two objects of the same type are equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | PropertyTag | The left object. | | right | PropertyTag | The rigt object. | **Returns:** boolean - True if the objects are equal; otherwise, false. ##### op_Inequality(PropertyTag left, PropertyTag right) ``` public static boolean op_Inequality(PropertyTag left, PropertyTag right) ``` Indicates whether two objects of the same type are not equal. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | PropertyTag | The left object. | | right | PropertyTag | The rigt object. | **Returns:** boolean - True if the objects are not equal; otherwise, false. ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ### PropertyTypeTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/propertytypetagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class PropertyTypeTagCategory extends TagCategory ``` Provides tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. #### Methods | Method | Description | | --- | --- | | getLink() | Gets the tag that denotes a property being a link to an external resource. | | getHash() | Gets the tag that labels a property holding a hash of the file content. | | getMeasure() | Gets the tag that indicates a property being a measured characteristic of the content. | | getDigitalSignature() | Gets the tag that labels a digital signature. | | getIdentifier() | Gets the tag that labels a property containing an identifier of the content. | | getLocation() | Gets the tag that indicates a property being a reference to a geographical location. | | getFont() | Gets the tag that denotes a property describing font characteristics. | | getColor() | Gets the tag that labels a property describing a color. | | getBitrate() | Gets the tag that labels a property describing a bitrate. | ##### getLink() ``` public final PropertyTag getLink() ``` Gets the tag that denotes a property being a link to an external resource. **Returns:** PropertyTag - The tag that denotes a property being a link to an external resource. ##### getHash() ``` public final PropertyTag getHash() ``` Gets the tag that labels a property holding a hash of the file content. **Returns:** PropertyTag - The tag that labels a property holding a hash of the file content. ##### getMeasure() ``` public final PropertyTag getMeasure() ``` Gets the tag that indicates a property being a measured characteristic of the content. It can be the file size, number of pages, page size, etc. **Returns:** PropertyTag - The tag that indicates a property being a measured characteristic of the content. ##### getDigitalSignature() ``` public final PropertyTag getDigitalSignature() ``` Gets the tag that labels a digital signature. **Returns:** PropertyTag - The tag that labels a digital signature. ##### getIdentifier() ``` public final PropertyTag getIdentifier() ``` Gets the tag that labels a property containing an identifier of the content. **Returns:** PropertyTag - The tag that labels a property containing an identifier of the content. ##### getLocation() ``` public final PropertyTag getLocation() ``` Gets the tag that indicates a property being a reference to a geographical location. The property can contain the name of a city, full address, GPS coordinates, etc. **Returns:** PropertyTag - The tag that indicates a property being a reference to a geographical location. ##### getFont() ``` public final PropertyTag getFont() ``` Gets the tag that denotes a property describing font characteristics. **Returns:** PropertyTag - The tag that denotes a property describing font characteristics. ##### getColor() ``` public final PropertyTag getColor() ``` Gets the tag that labels a property describing a color. **Returns:** PropertyTag - The tag that labels a property describing a color. ##### getBitrate() ``` public final PropertyTag getBitrate() ``` Gets the tag that labels a property describing a bitrate. **Returns:** PropertyTag - The tag that labels a property describing a bitrate. ### TagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/tagcategory.md **Inheritance:** java.lang.Object ``` public class TagCategory ``` Represents a set of tags having some shared characteristics. #### Methods | Method | Description | | --- | --- | | toString() | Returns a string that represents the current object. | ##### toString() ``` public String toString() ``` Returns a string that represents the current object. **Returns:** java.lang.String - A string that represents the current object. ### Tags Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/tags.md **Inheritance:** java.lang.Object ``` public class Tags ``` Contains various sets of tags with which most important metadata properties are marked. The tags allow you to find and update metadata properties in different packages regardless of the metadata standard and file format. #### Constructors | Constructor | Description | | --- | --- | | Tags() | | #### Methods | Method | Description | | --- | --- | | getPerson() | Gets a set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. | | getTool() | Gets the tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. | | getTime() | Gets a set of tags that mark metadata properties used to describe the lifecycle of a file. | | getContent() | Gets the tags that are attached to metadata properties describing the content of a file. | | getPropertyType() | Gets a set of tags that bear additional information about the type of a property rather than about its purpose. | | getDocument() | Gets a set of tags that are applied to document-specific properties only. | | getOrigin() | Gets the tags that help a user to determine the origin of a file (e.g. | | getCorporate() | Gets a set of tags intended to mark metadata properties related to a company that participated in file creation. | | getLegal() | Gets a set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. | ##### Tags() ``` public Tags() ``` ##### getPerson() ``` public static PersonTagCategory getPerson() ``` Gets a set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. **Returns:** PersonTagCategory - A set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. ##### getTool() ``` public static ToolTagCategory getTool() ``` Gets the tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. **Returns:** ToolTagCategory - The tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. ##### getTime() ``` public static TimeTagCategory getTime() ``` Gets a set of tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. **Returns:** TimeTagCategory - A set of tags that mark metadata properties used to describe the lifecycle of a file. ##### getContent() ``` public static ContentTagCategory getContent() ``` Gets the tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. **Returns:** ContentTagCategory - The tags that are attached to metadata properties describing the content of a file. ##### getPropertyType() ``` public static PropertyTypeTagCategory getPropertyType() ``` Gets a set of tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. **Returns:** PropertyTypeTagCategory ##### getDocument() ``` public static DocumentTagCategory getDocument() ``` Gets a set of tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. **Returns:** DocumentTagCategory - A set of tags that are applied to document-specific properties only. ##### getOrigin() ``` public static OriginTagCategory getOrigin() ``` Gets the tags that help a user to determine the origin of a file (e.g. template or another source). **Returns:** OriginTagCategory - The tags that help a user to determine the origin of a file (e.g. template or another source). ##### getCorporate() ``` public static CorporateTagCategory getCorporate() ``` Gets a set of tags intended to mark metadata properties related to a company that participated in file creation. **Returns:** CorporateTagCategory - A set of tags intended to mark metadata properties related to a company that participated in file creation. ##### getLegal() ``` public static LegalTagCategory getLegal() ``` Gets a set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. **Returns:** LegalTagCategory - A set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. ### TimeTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/timetagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class TimeTagCategory extends TagCategory ``` Provides tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. #### Methods | Method | Description | | --- | --- | | getIntellectualContentCreated() | Gets the tag that denotes the date the intellectual content of a file was created. | | getCreated() | Gets the tag that indicates the date a file was created. | | getModified() | Gets the tag that indicates the date a file was edited. | | getPublished() | Gets the tag that indicates the date a file became available. | | getPrinted() | Gets the tag that denotes the date a file was printed. | | getExpired() | Gets the tag that labels the latest date the owner intends the file data to be used. | | getTotalEditingTime() | Gets the tag that denotes the total editing time of a file. | | getDuration() | Gets the tag that denotes the duration of a media file. | | getZoneCity() | Gets the tag that denotes the time zone. | ##### getIntellectualContentCreated() ``` public final PropertyTag getIntellectualContentCreated() ``` Gets the tag that denotes the date the intellectual content of a file was created. **Returns:** PropertyTag - The tag that denotes the date the intellectual content of a file was created. ##### getCreated() ``` public final PropertyTag getCreated() ``` Gets the tag that indicates the date a file was created. **Returns:** PropertyTag - The tag that indicates the date a file was created. ##### getModified() ``` public final PropertyTag getModified() ``` Gets the tag that indicates the date a file was edited. **Returns:** PropertyTag - The tag that indicates the date a file was edited. ##### getPublished() ``` public final PropertyTag getPublished() ``` Gets the tag that indicates the date a file became available. **Returns:** PropertyTag - The tag that indicates the date a file became available. ##### getPrinted() ``` public final PropertyTag getPrinted() ``` Gets the tag that denotes the date a file was printed. **Returns:** PropertyTag - The tag that denotes the date a file was printed. ##### getExpired() ``` public final PropertyTag getExpired() ``` Gets the tag that labels the latest date the owner intends the file data to be used. **Returns:** PropertyTag - The tag that labels the latest date the owner intends the file data to be used. ##### getTotalEditingTime() ``` public final PropertyTag getTotalEditingTime() ``` Gets the tag that denotes the total editing time of a file. **Returns:** PropertyTag - The tag that denotes the total editing time of a file. ##### getDuration() ``` public final PropertyTag getDuration() ``` Gets the tag that denotes the duration of a media file. **Returns:** PropertyTag - The tag that denotes the duration of a media file. ##### getZoneCity() ``` public final PropertyTag getZoneCity() ``` Gets the tag that denotes the time zone. **Returns:** PropertyTag - The tag that denotes the time zone. ### ToolTagCategory Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.tagging/tooltagcategory.md **Inheritance:** java.lang.Object, com.groupdocs.metadata.tagging.TagCategory ``` public class ToolTagCategory extends TagCategory ``` Provides tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. #### Methods | Method | Description | | --- | --- | | getSoftware() | Gets the tag that labels any kind of software used to create a file. | | getHardware() | Gets the tag that denotes any kind of hardware used to create a file. | | getSoftwareVersion() | Gets the tag that labels properties containing the version of the software used to create a file. | | getHardwareVersion() | Gets the tag that labels properties containing the version of the hardware used to create a file. | | getSoftwareManufacturer() | Gets the tag that marks a software manufacturer. | | getHardwareManufacturer() | Gets the tag that marks a hardware manufacturer. | | getModelId() | Gets the tag that marks a model id. | ##### getSoftware() ``` public final PropertyTag getSoftware() ``` Gets the tag that labels any kind of software used to create a file. **Returns:** PropertyTag - The tag that labels any kind of software used to create a file. ##### getHardware() ``` public final PropertyTag getHardware() ``` Gets the tag that denotes any kind of hardware used to create a file. **Returns:** PropertyTag - The tag that denotes any kind of hardware used to create a file. ##### getSoftwareVersion() ``` public final PropertyTag getSoftwareVersion() ``` Gets the tag that labels properties containing the version of the software used to create a file. **Returns:** PropertyTag - The tag that labels properties containing the version of the software used to create a file. ##### getHardwareVersion() ``` public final PropertyTag getHardwareVersion() ``` Gets the tag that labels properties containing the version of the hardware used to create a file. **Returns:** PropertyTag - The tag that labels properties containing the version of the hardware used to create a file. ##### getSoftwareManufacturer() ``` public final PropertyTag getSoftwareManufacturer() ``` Gets the tag that marks a software manufacturer. **Returns:** PropertyTag - The tag that marks a software manufacturer. ##### getHardwareManufacturer() ``` public final PropertyTag getHardwareManufacturer() ``` Gets the tag that marks a hardware manufacturer. **Returns:** PropertyTag - The tag that marks a hardware manufacturer. ##### getModelId() ``` public final PropertyTag getModelId() ``` Gets the tag that marks a model id. **Returns:** PropertyTag - The tag that marks a model id. ### com.groupdocs.metadata Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata.md The **com.groupdocs.metadata** namespace is the entry point to all features of the library. #### Classes | Class | Description | | --- | --- | | Metadata | Provides the main class to access metadata in all supported formats. | ### Metadata Path: https://reference.groupdocs.com/metadata/nodejs-java/com.groupdocs.metadata/metadata.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public final class Metadata implements Closeable ``` Provides the main class to access metadata in all supported formats. #### Constructors | Constructor | Description | | --- | --- | | Metadata(String filePath) | Initializes a new instance of the Metadata class. | | Metadata(InputStream document) | Initializes a new instance of the Metadata class. | | Metadata(String filePath, LoadOptions loadOptions) | Initializes a new instance of the Metadata class. | | Metadata(InputStream document, LoadOptions loadOptions) | Initializes a new instance of the Metadata class. | #### Methods | Method | Description | | --- | --- | | getFileFormat() | Gets the type of the loaded file (if recognized). | | getRootPackage() | Gets the root package providing access to all metadata properties extracted from the file. | | getRootPackageGeneric() | Gets the root package providing access to all metadata properties extracted from the file. | | findProperties(Specification specification) | Finds the metadata properties satisfying a specification. | | updateProperties(Specification specification, PropertyValue value) | Updates known metadata properties satisfying a specification. | | removeProperties(Specification specification) | Removes metadata properties satisfying a specification. | | addProperties(Specification specification, PropertyValue value) | Adds known metadata properties satisfying the specification. | | setProperties(Specification specification, PropertyValue value) | Sets known metadata properties satisfying the specification. | | sanitize() | Removes writable metadata properties from all detected packages or whole packages if possible. | | save() | Saves all changes made in the loaded document. | | save(OutputStream document) | Saves the document content into a stream. | | save(String filePath) | Saves the document content to the specified file. | | generatePreview(PreviewOptions previewOptions) | Creates preview images for specified pages. | | getDocumentInfo() | Gets common information about the loaded document. | | copyTo(MetadataPackage metadataPackage) | Copy known metadata properties from source package to destination package. | | copyTo(MetadataPackage metadataPackage, List tags) | Copy known metadata properties from source package to destination package. | | close() | Closes the loaded document and releases any system resources associated with it. | ##### Metadata(String filePath) ``` public Metadata(String filePath) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | A string that contains the full name of the file from which to create a Metadata instance. This example demonstrates how to load a file from a local disk. > ``` > ``` > > // Constants.InputOne is an absolute or relative path to your document. Ex: @"C:\Docs\source.one" > try (Metadata metadata = new Metadata(Constants.InputOne)) { > // Extract, edit or remove metadata here > } > > ``` > ``` [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### Metadata(InputStream document) ``` public Metadata(InputStream document) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | A stream that contains the document to load. This example demonstrates how to load a file from a stream. > ``` > ``` > > // Constants.InputDoc is an absolute or relative path to your document. Ex: @"C:\Docs\source.doc" > try (InputStream stream = new FileInputStream(Constants.InputDoc)) { > try (Metadata metadata = new Metadata(stream)) { > // Extract, edit or remove metadata here > } > } > > ``` > ``` [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### Metadata(String filePath, LoadOptions loadOptions) ``` public Metadata(String filePath, LoadOptions loadOptions) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | A string that contains the full name of the file from which to create a Metadata instance. | | loadOptions | LoadOptions | Additional options to use when loading a document. This example demonstrates how to load a password-protected document. > ``` > ``` > > // Specify the password > LoadOptions loadOptions = new LoadOptions(); > loadOptions.setPassword("123"); > // Constants.ProtectedDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" > try (Metadata metadata = new Metadata(Constants.ProtectedDocx, loadOptions)) { > // Extract, edit or remove metadata here > } > > ``` > ``` [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### Metadata(InputStream document, LoadOptions loadOptions) ``` public Metadata(InputStream document, LoadOptions loadOptions) ``` Initializes a new instance of the Metadata class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | A stream that contains the document to load. | | loadOptions | LoadOptions | Additional options to use when loading a document. [Load from a local disk]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+local+disk [Load from a stream]: https://docs.groupdocs.com/display/metadatajava/Load+from+a+stream [Load a file of a specific format]: https://docs.groupdocs.com/display/metadatajava/Load+a+file+of+a+specific+format [Load a password-protected document]: https://docs.groupdocs.com/display/metadatajava/Load+a+password-protected+document | ##### getFileFormat() ``` public final FileFormat getFileFormat() ``` Gets the type of the loaded file (if recognized). **Returns:** FileFormat - The type of the loaded file if recognized; otherwise, F:GroupDocs.Metadata.FileFormat.Unknown . ##### getRootPackage() ``` public final RootMetadataPackage getRootPackage() ``` Gets the root package providing access to all metadata properties extracted from the file. **Returns:** RootMetadataPackage - The root package providing access to all metadata properties extracted from the file. This example demonstrates how to traverse the whole metadata tree for a specific file regardless of the format. > ``` > ``` > > public static void run() { > try (Metadata metadata = new Metadata(Constants.JpegWithXmp)) { > displayMetadataTree(metadata.getRootPackage(), 0); > } > } > private static void displayMetadataTree(MetadataPackage metadata, int indent) { > if (metadata != null) { > String stringMetadataType = String.valueOf(metadata.getMetadataType()); > System.out.printf("%" + (stringMetadataType.length() + indent) + "s%n", stringMetadataType); > for (MetadataProperty property : metadata) { > String stringPropertyRepresentation = "Name: " + property.getName() + ", Value: " + property.getValue(); > System.out.printf("%" + (stringPropertyRepresentation.length() + indent + 1) + "s%n", stringPropertyRepresentation); > if (property.getValue() != null) { > switch (property.getValue().getType()) { > case MetadataPropertyType.Metadata: > displayMetadataTree(property.getValue().toClass(MetadataPackage.class), indent + 2); > break; > case MetadataPropertyType.MetadataArray: > displayMetadataTree(property.getValue().toArray(MetadataPackage.class), indent + 2); > break; > } > } > } > } > } > private static void displayMetadataTree(MetadataPackage[] metadataArray, int indent) { > if (metadataArray != null) { > for (MetadataPackage metadata : metadataArray) { > displayMetadataTree(metadata, indent); > } > } > } > > ``` > ``` [Traverse a whole metadata tree]: https://docs.groupdocs.com/display/metadatajava/Traverse+a+whole+metadata+tree ##### getRootPackageGeneric() ``` public final TRoot getRootPackageGeneric() ``` Gets the root package providing access to all metadata properties extracted from the file. [Traverse a whole metadata tree]: https://docs.groupdocs.com/display/metadatajava/Traverse+a+whole+metadata+tree **Returns:** TRoot - The root package providing access to all metadata properties extracted from the file. TRoot : The exact type of the root package. ##### findProperties(Specification specification) ``` public final IReadOnlyList findProperties(Specification specification) ``` Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A function to test each metadata property for a condition. This example demonstrates how to search for specific metadata properties using tags. > ``` > ``` > > // Constants.InputPptx is an absolute or relative path to your document. Ex: @"C:\Docs\source.pptx" > try (Metadata metadata = new Metadata(Constants.InputPptx)) { > // Fetch all the properties satisfying the predicate: > // property contains the name of the last document editor OR the date/time the document was last modified > IReadOnlyList properties = metadata.findProperties( > new ContainsTagSpecification(Tags.getPerson().getEditor()).or(new ContainsTagSpecification(Tags.getTime().getModified()))); > for (MetadataProperty property : properties) { > System.out.println(String.format("Property name: %s, Property value: %s", property.getName(), property.getValue())); > } > } > > ``` > ``` [Extracting metadata]: https://docs.groupdocs.com/display/metadatajava/Extracting+metadata | **Returns:** IReadOnlyList - A collection that contains properties from the package that satisfy the condition. ##### updateProperties(Specification specification, PropertyValue value) ``` public final int updateProperties(Specification specification, PropertyValue value) ``` Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. This example demonstrates how to update existing metadata properties by various criteria regardless of the file format. > ``` > ``` > > public class UpdatingMetadata { > public static void run() { > Date threeDaysAgo = new Date(System.currentTimeMillis() - TimeUnit.DAYS.toMillis(3)); > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Update the file creation date/time if the existing value is older than 3 days > int affected = metadata.updateProperties(new ContainsTagSpecification(Tags.getTime().getCreated()).and( > new OfTypeSpecification(MetadataPropertyType.DateTime)).and( > new UpdatingMetadata().new DateBeforeSpecification(threeDaysAgo)), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > } > // Define your own specifications to filter metadata properties > public class DateBeforeSpecification extends Specification { > public DateBeforeSpecification(Date date) { > setValue(date); > } > > public final Date getValue() { > return auto_Value; > } > > private void setValue(Date value) { > auto_Value = value; > } > > private Date auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > Date date = candidate.getValue().toClass(Date.class); > if (date != null) { > return date.before(getValue()); > } > return false; > } > } > } > > ``` > ``` [Updating metadata]: https://docs.groupdocs.com/display/metadatajava/Updating+metadata | **Returns:** int - The number of affected properties. ##### removeProperties(Specification specification) ``` public final int removeProperties(Specification specification) ``` Removes metadata properties satisfying a specification. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. This example demonstrates how to remove specific metadata properties using various criteria. > ``` > ``` > > public class RemoveMetadataProperties { > public static void run() { > // Constants.InputDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" > try (Metadata metadata = new Metadata(Constants.InputDocx)) { > > // Remove all the properties satisfying the predicate: > // property contains the name of the document author OR > // it refers to the last editor OR > // the property value is a string that is equal to the given string "John" (to remove any mentions of John from the detected metadata) > int affected = metadata.removeProperties( > new ContainsTagSpecification(Tags.getPerson().getCreator()).or( > new ContainsTagSpecification(Tags.getPerson().getEditor())).or( > new OfTypeSpecification(MetadataPropertyType.String).and(new RemoveMetadataProperties().new WithValueSpecification("John")))); > > System.out.println(String.format("Properties removed: %s", affected)); > > metadata.save(Constants.OutputDocx); > } > } > > // Define your own specifications to filter metadata properties > public class WithValueSpecification extends Specification { > public WithValueSpecification(Object value) { > setValue(value); > } > > public final Object getValue() { > return auto_Value; > } > > private void setValue(Object value) { > auto_Value = value; > } > > private Object auto_Value; > > public boolean isSatisfiedBy(MetadataProperty candidate) { > return candidate.getValue().getRawValue().equals(getValue()); > } > } > } > > ``` > ``` [Removing metadata]: https://docs.groupdocs.com/display/metadatajava/Removing+metadata | **Returns:** int - The number of affected properties. ##### addProperties(Specification specification, PropertyValue value) ``` public final int addProperties(Specification specification, PropertyValue value) ``` Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A value for the picked properties. This example demonstrates how to add some missing metadata properties to a file regardless of its format. > ``` > ``` > > File folder = new File(Constants.InputPath); > for (File file : folder.listFiles()) { > try (Metadata metadata = new Metadata(file.getAbsolutePath())) { > if (metadata.getFileFormat() != FileFormat.Unknown && !metadata.getDocumentInfo().isEncrypted()) { > System.out.println(); > System.out.println(file.getName()); > // Add a property containing the file last printing date if it's missing > // Note that the property will be added to metadata packages that satisfy the following criteria: > // 1) Only existing metadata packages will be affected. No new packages are added during this operation > // 2) There should be a known metadata property in the package structure that fits the search condition but is actually missing in the package. > // All properties supported by a certain package are usually defined in the specification of a particular metadata standard > int affected = metadata.addProperties(new ContainsTagSpecification(Tags.getTime().getPrinted()), new PropertyValue(new Date())); > System.out.println(String.format("Affected properties: %s", affected)); > metadata.save(Constants.OutputPath + "output." + FilenameUtils.getExtension(file.getName())); > } > } > } > > ``` > ``` [Adding metadata]: https://docs.groupdocs.com/display/metadatajava/Adding+metadata | **Returns:** int - The number of affected properties. ##### setProperties(Specification specification, PropertyValue value) ``` public final int setProperties(Specification specification, PropertyValue value) ``` Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties . If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | specification | Specification | A specification to test each metadata property for a condition. | | value | PropertyValue | A new value for the filtered properties. Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. This example demonstrates how to set specific metadata properties using different criteria. > ``` > ``` > > // Constants.InputVsdx is an absolute or relative path to your document. Ex: @"C:\Docs\source.vsdx" > try (Metadata metadata = new Metadata(Constants.InputVsdx)) { > // Set the value of each property that satisfies the predicate: > // property contains the date/time the document was created OR modified > int affected = metadata.setProperties( > new ContainsTagSpecification(Tags.getTime().getCreated()).or(new ContainsTagSpecification(Tags.getTime().getModified())), > new PropertyValue(new Date())); > System.out.println(String.format("Properties set: %s", affected)); > metadata.save(Constants.OutputVsdx); > } > > ``` > ``` [Set metadata properties]: https://docs.groupdocs.com/display/metadatajava/Set+metadata+properties | **Returns:** int - The number of affected properties. ##### sanitize() ``` public final int sanitize() ``` Removes writable metadata properties from all detected packages or whole packages if possible. The operation is recursive so it affects all nested packages as well. **Returns:** int - The number of affected properties. This example demonstrates how to remove all detected metadata packages/properties from a file. > ``` > ``` > > // Constants.InputPdf is an absolute or relative path to your document. Ex: @"C:\Docs\source.pdf" > try (Metadata metadata = new Metadata(Constants.InputPdf)) { > // Remove detected metadata packages > int affected = metadata.sanitize(); > System.out.println(String.format("Properties removed: %s", affected)); > metadata.save(Constants.OutputPdf); > } > > ``` > ``` [Clean metadata]: https://docs.groupdocs.com/display/metadatajava/Clean+metadata ##### save() ``` public final void save() ``` Saves all changes made in the loaded document. This example shows how to save the modified content to the underlying file. > ``` > ``` > > // Constants.InputPpt is an absolute or relative path to your document. Ex: @"C:\Docs\test.ppt" > File outputFile = new File(Constants.OutputPpt); > outputFile.delete(); > Files.copy(new File(Constants.InputPpt).toPath(), outputFile.toPath()); > try (Metadata metadata = new Metadata(Constants.OutputPpt)) { > // Edit or remove metadata here > // Saves the document to the underlying file > metadata.save(); > } > > ``` > ``` [Save a modified file to the original source]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+the+original+source [Save a modified file to a specified location]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+specified+location [Save a modified file to a stream]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+stream ##### save(OutputStream document) ``` public final void save(OutputStream document) ``` Saves the document content into a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.OutputStream | An output stream for the document. This example shows how to save a document to the specified stream. > ``` > ``` > > try (OutputStream stream = new FileOutputStream(Constants.OutputPng)) { > // Constants.InputPng is an absolute or relative path to your document. Ex: @"C:\Docs\test.png" > try (Metadata metadata = new Metadata(Constants.InputPng)) { > // Edit or remove metadata here > metadata.save(stream); > } > } > > ``` > ``` [Save a modified file to the original source]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+the+original+source [Save a modified file to a specified location]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+specified+location [Save a modified file to a stream]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+stream | ##### save(String filePath) ``` public final void save(String filePath) ``` Saves the document content to the specified file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full name of the output file. This example shows how to save a document to the specified location. > ``` > ``` > > // Constants.InputJpeg is an absolute or relative path to your document. Ex: @"C:\Docs\test.jpg" > try (Metadata metadata = new Metadata(Constants.InputJpeg)) { > // Edit or remove metadata here > metadata.save(Constants.OutputJpeg); > } > > ``` > ``` [Save a modified file to the original source]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+the+original+source [Save a modified file to a specified location]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+specified+location [Save a modified file to a stream]: https://docs.groupdocs.com/display/metadatajava/Save+a+modified+file+to+a+stream | ##### generatePreview(PreviewOptions previewOptions) ``` public final void generatePreview(PreviewOptions previewOptions) ``` Creates preview images for specified pages. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | A set of options for preview generation. [Generate document preview]: https://docs.groupdocs.com/display/metadatajava/Generate+document+preview | ##### getDocumentInfo() ``` public final IDocumentInfo getDocumentInfo() ``` Gets common information about the loaded document. **Returns:** IDocumentInfo - An object representing common document information. [Get document info]: https://docs.groupdocs.com/display/metadatajava/Get+document+info ##### copyTo(MetadataPackage metadataPackage) ``` public void copyTo(MetadataPackage metadataPackage) ``` Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. > ``` > This example demonstrates how to copy metadata properties from source package to destination package. > > Metadata source_metadata = new Metadata(Constants.InputPdf); > Metadata destination_metadata = new Metadata(Constants.DestinationPdf); > { > source_metadata.copyTo(destination_metadata); > source_metadata.save(); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | A destination metadata package. If the package types do not match, an error will be returned. | ##### copyTo(MetadataPackage metadataPackage, List tags) ``` public int copyTo(MetadataPackage metadataPackage, List tags) ``` Copy known metadata properties from source package to destination package. The operation is recursive so it affects all nested packages as well. If an existing property its value is updated. If there is a known property missing in a destination package it is added to the package. If there is a known property missing in a source package it is not remove from destination package. If that need, use Sanitize method before. > ``` > This example demonstrates how to copy metadata properties from source package to destination package. > > Metadata source_metadata = new Metadata(Constants.InputPdf); > Metadata destination_metadata = new Metadata(Constants.DestinationPdf); > { > List tags = new ArrayList(); > tags.add(Tags.getPerson().getCreator()); > source_metadata.copyTo(destination_metadata, tags); > source_metadata.save(); > } > ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadataPackage | MetadataPackage | A destination metadata package. | | tags | java.util.List | A list of the tags. If the package types do not match, an error will be returned. | **Returns:** int - The number of affected properties. ##### close() ``` public void close() ``` Closes the loaded document and releases any system resources associated with it. ## Python ### GroupDocs.Metadata for Python via .NET Path: https://reference.groupdocs.com/metadata/python-net.md ##### Modules | Module | Description | | :- | :- | | `groupdocs.metadata` | Main GroupDocs.Metadata namespace with top-level API classes. | | `groupdocs.metadata.common` | Types under `groupdocs.metadata.common`. | | `groupdocs.metadata.export` | Types under `groupdocs.metadata.export`. | | `groupdocs.metadata.import_` | Types under `groupdocs.metadata.import_`. | | `groupdocs.metadata.logging` | Logging hooks and listener interfaces. | | `groupdocs.metadata.options` | Option classes for configuring conversions and operations. | | `groupdocs.metadata.tagging` | Types under `groupdocs.metadata.tagging`. | ### groupdocs.metadata.common Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common.md Types under `groupdocs.metadata.common`. ##### Classes | Class | Description | | :- | :- | | `DocumentInfo` | | | `FileType` | | | `FileTypePackage` | | | `Func` | | | `IDocumentInfo` | | | `IEnumValueInterpreter` | | | `IReadOnlyList` | | | `MetadataPackage` | | | `MetadataProperty` | | | `MetadataPropertyEqualityComparer` | | | `PageInfo` | | | `PropertyDescriptor` | | | `PropertyValue` | | | `PropertyValueEqualityComparer` | | | `ReadOnlyList` | | | `Rectangle` | | | `RootMetadataPackage` | | | `ValueInterpreter` | | ##### Enumerations | Enum | Description | | :- | :- | | `ByteOrder` | | | `CustomPackage` | | | `FileFormat` | | | `MetadataPropertyType` | | | `MetadataType` | | | `PropertyAccessLevels` | | | `ValueAcceptor` | | ### ByteOrder class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/byteorder.md #### ByteOrder class The ByteOrder type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | | | BIG_ENDIAN | | | LITTLE_ENDIAN | | ### BIG_ENDIAN field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/byteorder/big_endian.md ##### Value `1` ### LITTLE_ENDIAN field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/byteorder/little_endian.md ##### Value `2` ### UNKNOWN field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/byteorder/unknown.md ##### Value `0` ### CustomPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage.md #### CustomPackage class The CustomPackage type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _add_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | _contains_string | (inherited from `MetadataPackage`) | | _find_properties_func_2_0c75 | (inherited from `MetadataPackage`) | | _get_enumerator_noargs | (inherited from `MetadataPackage`) | | _remove_properties_func_2_0c75 | (inherited from `MetadataPackage`) | | _sanitize_noargs | (inherited from `MetadataPackage`) | | _set_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | _update_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | add_properties | (inherited from `MetadataPackage`) | | add_properties_func | (inherited from `MetadataPackage`) | | contains | (inherited from `MetadataPackage`) | | contains_file | (inherited from `MetadataPackage`) | | contains_string | (inherited from `MetadataPackage`) | | find_properties | (inherited from `MetadataPackage`) | | find_properties_func | (inherited from `MetadataPackage`) | | get_enumerator | (inherited from `MetadataPackage`) | | remove_properties | (inherited from `MetadataPackage`) | | remove_properties_func | (inherited from `MetadataPackage`) | | sanitize | (inherited from `MetadataPackage`) | | set_properties | (inherited from `MetadataPackage`) | | set_properties_func | (inherited from `MetadataPackage`) | | update_properties | (inherited from `MetadataPackage`) | | update_properties_func | (inherited from `MetadataPackage`) | ##### Properties | Property | Description | | :- | :- | | count | (inherited from `MetadataPackage`) | | item | (inherited from `MetadataPackage`) | | keys | (inherited from `MetadataPackage`) | | know_property_descriptors | (inherited from `MetadataPackage`) | | metadata_type | (inherited from `MetadataPackage`) | | property_descriptors | (inherited from `MetadataPackage`) | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/custompackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DocumentInfo class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/documentinfo.md #### DocumentInfo class The DocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | file_type | | | is_encrypted | | | page_count | | | pages | | | size | | ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/documentinfo/file_type.md ##### Definition: ```python @property def file_type(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/documentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/documentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### pages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/documentinfo/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/documentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### FileFormat class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat.md #### FileFormat class The FileFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | | | PRESENTATION | | | SPREADSHEET | | | WORD_PROCESSING | | | DIAGRAM | | | NOTE | | | PROJECT_MANAGEMENT | | | PDF | | | TIFF | | | JPEG | | | PSD | | | JPEG2000 | | | GIF | | | PNG | | | BMP | | | DICOM | | | WEB_P | | | EMF | | | WMF | | | DJ_VU | | | WAV | | | MP3 | | | AVI | | | FLV | | | ASF | | | MOV | | | MATROSKA | | | ZIP | | | SEVEN_ZIP | | | VCARD | | | EPUB | | | OPEN_TYPE | | | DXF | | | DWG | | | EML | | | MSG | | | TORRENT | | | HEIF | | | DNG | | | CR2 | | | RAR | | | TAR | | | THREE_DS | | | DAE | | | FBX | | | STL | | | GIS | | | FB2 | | | MOBI | | | OGG | | | SVG | | | GLTF | | | AVIF | | ### ASF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/asf.md ##### Value `24` ### AVI field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/avi.md ##### Value `22` ### AVIF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/avif.md ##### Value `52` ### BMP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/bmp.md ##### Value `14` ### CR2 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/cr2.md ##### Value `39` ### DAE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/dae.md ##### Value `43` ### DIAGRAM field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/diagram.md ##### Value `4` ### DICOM field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/dicom.md ##### Value `15` ### DJ_VU field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/dj_vu.md ##### Value `19` ### DNG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/dng.md ##### Value `38` ### DWG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/dwg.md ##### Value `33` ### DXF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/dxf.md ##### Value `32` ### EMF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/emf.md ##### Value `17` ### EML field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/eml.md ##### Value `34` ### EPUB field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/epub.md ##### Value `30` ### FB2 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/fb2.md ##### Value `47` ### FBX field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/fbx.md ##### Value `44` ### FLV field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/flv.md ##### Value `23` ### GIF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/gif.md ##### Value `12` ### GIS field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/gis.md ##### Value `46` ### GLTF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/gltf.md ##### Value `51` ### HEIF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/heif.md ##### Value `37` ### JPEG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/jpeg.md ##### Value `9` ### JPEG2000 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/jpeg2000.md ##### Value `11` ### MATROSKA field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/matroska.md ##### Value `26` ### MOBI field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/mobi.md ##### Value `48` ### MOV field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/mov.md ##### Value `25` ### MP3 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/mp3.md ##### Value `21` ### MSG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/msg.md ##### Value `35` ### NOTE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/note.md ##### Value `5` ### OGG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/ogg.md ##### Value `49` ### OPEN_TYPE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/open_type.md ##### Value `31` ### PDF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/pdf.md ##### Value `7` ### PNG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/png.md ##### Value `13` ### PRESENTATION field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/presentation.md ##### Value `1` ### PROJECT_MANAGEMENT field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/project_management.md ##### Value `6` ### PSD field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/psd.md ##### Value `10` ### RAR field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/rar.md ##### Value `40` ### SEVEN_ZIP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/seven_zip.md ##### Value `28` ### SPREADSHEET field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/spreadsheet.md ##### Value `2` ### STL field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/stl.md ##### Value `45` ### SVG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/svg.md ##### Value `50` ### TAR field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/tar.md ##### Value `41` ### THREE_DS field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/three_ds.md ##### Value `42` ### TIFF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/tiff.md ##### Value `8` ### TORRENT field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/torrent.md ##### Value `36` ### UNKNOWN field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/unknown.md ##### Value `0` ### VCARD field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/vcard.md ##### Value `29` ### WAV field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/wav.md ##### Value `20` ### WEB_P field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/web_p.md ##### Value `16` ### WMF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/wmf.md ##### Value `18` ### WORD_PROCESSING field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/word_processing.md ##### Value `3` ### ZIP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/fileformat/zip.md ##### Value `27` ### FileType class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype.md #### FileType class The FileType type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | | | from_extension | | | get_supported_file_types | | | to_string | | ##### Properties | Property | Description | | :- | :- | | description | | | extension | | | file_format | | ### _to_string_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### ASF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/asf.md #### ASF property The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams. Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA) is the compressed audio format along with additional metadata in the ASF container developed by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/video/wmv/). ##### Definition: ```python f ASF ``` ### AVI property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/avi.md #### AVI property The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft. Learn more about this file format [here](https://wiki.fileformat.com/video/avi/). ##### Definition: ```python f AVI ``` ### BMP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/bmp.md #### BMP property Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp/). ##### Definition: ```python f BMP ``` ### CBRAR property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/cbrar.md #### CBRAR property A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). ##### Definition: ```python f CBRAR ``` ### CBSEVEN property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/cbseven.md #### CBSEVEN property A CB7 file refers to Comic Book 7-Zip Archive. It is compressed file format commonly used for storing and distributing comic book collections digitally. CB7 files are created using 7-Zip compression software, which is known for its high compression ratio. [here](https://wiki.fileformat.com/compression/cb7/). ##### Definition: ```python f CBSEVEN ``` ### CBTAR property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/cbtar.md #### CBTAR property A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). ##### Definition: ```python f CBTAR ``` ### CBZIP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/cbzip.md #### CBZIP property A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file, is a popular format used to store and distribute digital comic books. It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading. [here](https://wiki.fileformat.com/compression/cba/). ##### Definition: ```python f CBZIP ``` ### CR2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/cr2.md #### CR2 property The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon. [here](https://wiki.fileformat.com/image/cr2/). ##### Definition: ```python f CR2 ``` ### CRW property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/crw.md #### CRW property The .CRW file format is a digital photography RAW format created by Canon. [here](https://wiki.fileformat.com/image/crw/). ##### Definition: ```python f CRW ``` ### DAE property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dae.md #### DAE property A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications. [here](https://wiki.fileformat.com/3d/dae/). ##### Definition: ```python f DAE ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/description.md ##### Definition: ```python @property def description(self): ... ``` ### DICOM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dicom.md #### DICOM property DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics. DICOM is used for the integration of medical imaging devices like printers, servers, scanners etc from various vendors and also contains identification data of each patient for uniqueness. Learn more about this file format [here](https://docs.fileformat.com/image/dicom/). ##### Definition: ```python f DICOM ``` ### DJV property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/djv.md #### DJV property DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). ##### Definition: ```python f DJV ``` ### DJVU property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/djvu.md #### DJVU property DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). ##### Definition: ```python f DJVU ``` ### DNG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dng.md #### DNG property DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. DNG is an extension of TIFF/EP standard format and uses metadata significantly. In order to manipulate raw data from digital cameras with the ease of flexibility and artistic control, photographers opt camera raw files. JPEG and TIFF formats store images that are processed by the camera, therefore, not much room for alteration is available in such formats. [here](https://wiki.fileformat.com/image/dng/). ##### Definition: ```python f DNG ``` ### DOC property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/doc.md #### DOC property Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc/). ##### Definition: ```python f DOC ``` ### DOCM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/docm.md #### DOCM property DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm/). ##### Definition: ```python f DOCM ``` ### DOCX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/docx.md #### DOCX property DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx/). ##### Definition: ```python f DOCX ``` ### DOT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dot.md #### DOT property Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot/). ##### Definition: ```python f DOT ``` ### DOTM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dotm.md #### DOTM property A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm/). ##### Definition: ```python f DOTM ``` ### DOTX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dotx.md #### DOTX property Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx/). ##### Definition: ```python f DOTX ``` ### DWG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dwg.md #### DWG property Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data. Learn more about this file format [here](https://wiki.fileformat.com/cad/dwg/). ##### Definition: ```python f DWG ``` ### DXF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/dxf.md #### DXF property DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file. Learn more about this file format [here](https://wiki.fileformat.com/cad/dxf/). ##### Definition: ```python f DXF ``` ### EMF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/emf.md #### EMF property Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format [here](https://wiki.fileformat.com/image/emf/). ##### Definition: ```python f EMF ``` ### EML property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/eml.md #### EML property EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here](https://wiki.fileformat.com/email/eml/). ##### Definition: ```python f EML ``` ### EPUB property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/epub.md #### EPUB property Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub/). ##### Definition: ```python f EPUB ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### FB2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/fb2.md #### FB2 property Files with .fb2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. It is based on XML format and contains special tags for describing each element of the book. It was developed primarily for fictional writings and literature, but is not limited to these only. The format accommodates all the metadata as well as content in itself and allows flexibility for a number of operations such as automatic processing, indexing, and conversion to other formats. In short, it focuses on describing the structure of the file instead of specifying its appearance. Several applications as well as APIs are available to convert FB2 to several other formats on Windows, MacOS, and Linux. Learn more about this file format [here](https://docs.fileformat.com/ebook/fb2/). ##### Definition: ```python f FB2 ``` ### FBX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/fbx.md #### FBX property FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware. [here](https://wiki.fileformat.com/3d/fbx/). ##### Definition: ```python f FBX ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### FLV property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/flv.md #### FLV property FLV (Flash Video) is a container file format which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air. Learn more about this file format [here](https://docs.fileformat.com/video/flv/). ##### Definition: ```python f FLV ``` ### from_extension method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/from_extension.md #### from_extension ```python def from_extension(cls, file_extension): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_extension | `str` | | **Returns:** FileType ### GEOJSON property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/geojson.md #### GEOJSON property GeoJSON is a JSON based format designed to represent the geographical features with their non-spatial attributes. [here](https://docs.fileformat.com/gis/geojson/). ##### Definition: ```python f GEOJSON ``` ### get_supported_file_types method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/get_supported_file_types.md #### get_supported_file_types ```python def get_supported_file_types(cls): ... ``` **Returns:** List[Any] ### GIF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/gif.md #### GIF property A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif/). ##### Definition: ```python f GIF ``` ### GLTF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/gltf.md #### GLTF property glTF (GL Transmission Format) is a 3D file format that stores 3D model information in JSON format. The use of JSON minimizes both the size of 3D assets and the runtime processing needed to unpack and use those assets. It was adopted for the efficient transmission and loading of 3D scenes and models by applications. glTF was developed by the Khronos Group 3D Formats Working Group and is also described as JPEG of 3D by its creators. [here](https://wiki.fileformat.com/3d/gltf/). ##### Definition: ```python f GLTF ``` ### GML property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/gml.md #### GML property GML stands for Geography Markup Language that is based on XML specifications developed by the Open Geospatial Consortium (OGC). [here](https://docs.fileformat.com/gis/gml/). ##### Definition: ```python f GML ``` ### GPX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/gpx.md #### GPX property Files with GPX extension represent GPS Exchange format for interchange of GPS data between applications and web services on the internet. It is a light-weight XML file format that contains GPS data i.e. waypoints, routes and tracks to be imported and red by multiple programs. [here](https://docs.fileformat.com/gis/gpx/). ##### Definition: ```python f GPX ``` ### HEIC property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/heic.md #### HEIC property An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. HEIC, like HEIF, are compressed using the High Efficiency Video Coding (HEVC) standard and are smaller in size without compromising the quality. Learn more about this file format [here](https://docs.fileformat.com/image/heic/). ##### Definition: ```python f HEIC ``` ### HEIF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/heif.md #### HEIF property An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file. HEIF file format compresses the images using the High Efficiency Video Coding (HEVC) standard. Learn more about this file format [here](https://docs.fileformat.com/image/heif/). ##### Definition: ```python f HEIF ``` ### J2K property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/j2k.md #### J2K property JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/j2k/). ##### Definition: ```python f J2K ``` ### JAR property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jar.md #### JAR property JAR is a Java Archive file that contains many different application related files as a single file. This file format was created to reduce the speed of loading a downloaded Java Applet in browser via HTTP transaction, Learn more about this file format [here](https://docs.fileformat.com/programming/jar/). ##### Definition: ```python f JAR ``` ### JP2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jp2.md #### JP2 property JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ##### Definition: ```python f JP2 ``` ### JPE property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jpe.md #### JPE property A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ##### Definition: ```python f JPE ``` ### JPEG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jpeg.md #### JPEG property A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ##### Definition: ```python f JPEG ``` ### JPF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jpf.md #### JPF property JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpf/). ##### Definition: ```python f JPF ``` ### JPG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jpg.md #### JPG property A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ##### Definition: ```python f JPG ``` ### JPM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jpm.md #### JPM property JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpm/). ##### Definition: ```python f JPM ``` ### JPX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/jpx.md #### JPX property JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jpx/). ##### Definition: ```python f JPX ``` ### KML property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/kml.md #### KML property KML, Keyhole Markup Language) contains geospatial information in XML notation. Files saved as KML can be opened in Geographic Information System (GIS) applications provided they support it. [here](https://docs.fileformat.com/gis/kml/). ##### Definition: ```python f KML ``` ### MJ2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mj2.md #### MJ2 property Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images; does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression. ##### Definition: ```python f MJ2 ``` ### MK3D property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mk3d.md #### MK3D property MK3D is actually stereoscopic 3D video created using Matroska 3D format. The MKV file container uses a StereoMode field’s value to define the type of stereoscopic 3D video stuff. Learn more about this file format [here](https://docs.fileformat.com/video/mk3d/). ##### Definition: ```python f MK3D ``` ### MKA property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mka.md #### MKA property MKA (Matroska Audio) is the Matroska multimedia container format used for Audio. The MKA format supports several different kinds of audio compression algorithms such as MP3, AAC and Vobis. Learn more about this file format [here](https://docs.fileformat.com/audio/mka/). ##### Definition: ```python f MKA ``` ### MKV property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mkv.md #### MKV property MKV (Matroska Video) is a multimedia container similar to MOV and AVI format but it supports more than one audio and subtitle track in the same file. Learn more about this file format [here](https://wiki.fileformat.com/video/mkv/). ##### Definition: ```python f MKV ``` ### MOBI property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mobi.md #### MOBI property The MOBI file format is one of the most widely used ebook file formats. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as the proprietary format for Mobipocket Reader. Like EPUB, it is supported by almost all modern e-readers specifically by mobile devices with low bandwidth. The format can be converted to several other formats such as PDF, EPUB, and several other formats using publicly available software applications such as the Kindle app. There are several companies that offer free MOBI books such as Project Gutenberg, Feedbooks, and Open Library. Learn more about this file format [here](https://docs.fileformat.com/ebook/mobi/). ##### Definition: ```python f MOBI ``` ### MOV property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mov.md #### MOV property MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here](https://wiki.fileformat.com/video/mov/). ##### Definition: ```python f MOV ``` ### MP3 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mp3.md #### MP3 property Files with MP3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. Learn more about this file format [here](https://wiki.fileformat.com/audio/mp3/). ##### Definition: ```python f MP3 ``` ### MPP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mpp.md #### MPP property MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpp/). ##### Definition: ```python f MPP ``` ### MPT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/mpt.md #### MPT property MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Learn more about this file format [here](https://wiki.fileformat.com/project-management/mpt/). ##### Definition: ```python f MPT ``` ### MSG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/msg.md #### MSG property MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://wiki.fileformat.com/email/msg/). ##### Definition: ```python f MSG ``` ### ODS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/ods.md #### ODS property Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods/). ##### Definition: ```python f ODS ``` ### ODT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/odt.md #### ODT property ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt/). ##### Definition: ```python f ODT ``` ### OGG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/ogg.md #### OGG property OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. OGG is a free and open container format that is maintained by Xiph.Org Foundation. Learn more about this file format [here](https://docs.fileformat.com/audio/ogg/). ##### Definition: ```python f OGG ``` ### ONE property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/one.md #### ONE property File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/one/). ##### Definition: ```python f ONE ``` ### OSM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/osm.md #### OSM property OpenStreetMap (OSM) is a huge collection of volunteered geographic information stores in different types of files, using different encoding schemes to convert this data into bits and bytes. [here](https://docs.fileformat.com/gis/osm/). ##### Definition: ```python f OSM ``` ### OTC property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/otc.md #### OTC property OTC (OpenType Collection) is a OpenType font collection format. An OTC file can combine the multiple font files into it. ##### Definition: ```python f OTC ``` ### OTF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/otf.md #### OTF property A file with .otf extension refers to OpenType font format. OTF font format is more scalable and extends the existing features of TTF formats for digital typography. Learn more about this file format [here](https://docs.fileformat.com/font/otf/). ##### Definition: ```python f OTF ``` ### PDF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/pdf.md #### PDF property Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://docs.fileformat.com/pdf/). ##### Definition: ```python f PDF ``` ### PNG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/png.md #### PNG property PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format [here](https://wiki.fileformat.com/image/png/). ##### Definition: ```python f PNG ``` ### POT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/pot.md #### POT property Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot/). ##### Definition: ```python f POT ``` ### POTM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/potm.md #### POTM property Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm/). ##### Definition: ```python f POTM ``` ### POTX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/potx.md #### POTX property Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx/). ##### Definition: ```python f POTX ``` ### PPS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/pps.md #### PPS property PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps/). ##### Definition: ```python f PPS ``` ### PPSM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/ppsm.md #### PPSM property Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm/). ##### Definition: ```python f PPSM ``` ### PPSX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/ppsx.md #### PPSX property PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx/). ##### Definition: ```python f PPSX ``` ### PPT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/ppt.md #### PPT property A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt/). ##### Definition: ```python f PPT ``` ### PPTM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/pptm.md #### PPTM property Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm/). ##### Definition: ```python f PPTM ``` ### PPTX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/pptx.md #### PPTX property Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx/). ##### Definition: ```python f PPTX ``` ### PSD property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/psd.md #### PSD property PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here](https://wiki.fileformat.com/image/psd/). ##### Definition: ```python f PSD ``` ### QT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/qt.md #### QT property MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks, each track holds a particular type of data i.e. Video, Audio, text etc. Learn more about this file format [here](https://wiki.fileformat.com/video/mov/). ##### Definition: ```python f QT ``` ### RAR property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/rar.md #### RAR property RAR is a proprietary archive file format that supports data compression, error correction and file spanning. [here](https://wiki.fileformat.com/compression/rar/). ##### Definition: ```python f RAR ``` ### SEVENZIP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/sevenzip.md #### SEVENZIP property 7z is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The 7z format initially appeared as implemented by the 7-Zip archiver. The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License. [here](https://wiki.fileformat.com/compression/zip/). ##### Definition: ```python f SEVENZIP ``` ### SHP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/shp.md #### SHP property The shapefile format is a geospatial vector data format for geographic information system (GIS) software. [here](https://docs.fileformat.com/gis/shp/). ##### Definition: ```python f SHP ``` ### STL property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/stl.md #### STL property STL is a file format native to the stereolithography CAD software created by 3D Systems. Chuck Hull, the inventor of stereolithography and 3D Systems’ founder, reports that the file extension is an abbreviation for stereolithography. [here](https://wiki.fileformat.com/3d/stl/). ##### Definition: ```python f STL ``` ### SVG property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/svg.md #### SVG property An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. The word Scalable refers to the fact that the SVG can be scaled to different sizes without losing any quality. Text-based description of such files makes them independent of resolution. It is one of the most used formats for building a website and print graphics in order to achieve scalability. The format can only be used for two-dimensional graphics though. SVG files can be viewed/opened in almost all modern browsers including Chrome, Internet Explorer, Firefox, and Safari. Learn more about this file format [here](https://docs.fileformat.com/image/svg/). ##### Definition: ```python f SVG ``` ### TAR property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/tar.md #### TAR property In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. [here](https://wiki.fileformat.com/compression/tar/). ##### Definition: ```python f TAR ``` ### THREEDS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/threeds.md #### THREEDS property A file with .3ds extension represents 3D Sudio (DOS) mesh file format used by Autodesk 3D Studio. Autodesk 3D Studio has been in 3D file format market since 1990s and has now evolved to 3D Studio MAX for working with 3D modeling, animation and rendering. [here](https://wiki.fileformat.com/3d/3ds/). ##### Definition: ```python f THREEDS ``` ### TIF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/tif.md #### TIF property TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). ##### Definition: ```python f TIF ``` ### TIFF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/tiff.md #### TIFF property TIFF or TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). ##### Definition: ```python f TIFF ``` ### to_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/to_string.md #### to_string ```python def to_string(self): ... ``` ### TOPOJSON property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/topojson.md #### TOPOJSON property TopoJSON is an extension of GeoJSON that encodes topology. [here](https://docs.fileformat.com/gis/geojson/). ##### Definition: ```python f TOPOJSON ``` ### TORRENT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/torrent.md #### TORRENT property Represents TORRENT file type. ##### Definition: ```python f TORRENT ``` ### TTC property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/ttc.md #### TTC property TTC (TrueType Collection) is a TrueType font collection format. A TTC file can combine the multiple font files into it. Learn more about this file format [here](https://docs.fileformat.com/font/ttc/). ##### Definition: ```python f TTC ``` ### TTF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/ttf.md #### TTF property TTF represents font files based on the TrueType specifications font technology. TrueType fonts provide highest quality display on computer screens and printers without any dependency on resolution. Learn more about this file format [here](https://docs.fileformat.com/font/ttf/). ##### Definition: ```python f TTF ``` ### UNKNOWN property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/unknown.md #### UNKNOWN property Represents unknown file type. ##### Definition: ```python f UNKNOWN ``` ### VCF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vcf.md #### VCF property VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Learn more about this file format [here](https://docs.fileformat.com/email/vcf/). ##### Definition: ```python f VCF ``` ### VCR property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vcr.md #### VCR property VCR (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. ##### Definition: ```python f VCR ``` ### VDX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vdx.md #### VDX property Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. Learn more about this file format [here](https://wiki.fileformat.com/visio/vdx/). ##### Definition: ```python f VDX ``` ### VSD property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vsd.md #### VSD property VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsd/). ##### Definition: ```python f VSD ``` ### VSDX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vsdx.md #### VSDX property Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsdx/). ##### Definition: ```python f VSDX ``` ### VSS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vss.md #### VSS property VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing objects that can be included in a .VSD Visio drawing. Learn more about this file format [here](https://wiki.fileformat.com/visio/vss/). ##### Definition: ```python f VSS ``` ### VSX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vsx.md #### VSX property Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. Learn more about this file format [here](https://wiki.fileformat.com/visio/vsx/). ##### Definition: ```python f VSX ``` ### VTX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/vtx.md #### VTX property Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format. Learn more about this file format [here](https://docs.fileformat.com/visio/vtx/). ##### Definition: ```python f VTX ``` ### WAV property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/wav.md #### WAV property WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft's Resource Interchange File Format (RIFF) specification for storing digital audio files. Learn more about this file format [here](https://wiki.fileformat.com/audio/wav/). ##### Definition: ```python f WAV ``` ### WEBM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/webm.md #### WEBM property WEBM is a video file based on the open, royalty-free WebM file format. It has been designed for sharing video on the web and defines the file container structure including video and audio formats. Learn more about this file format [here](https://docs.fileformat.com/video/webm/). ##### Definition: ```python f WEBM ``` ### WEBP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/webp.md #### WEBP property WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp/). ##### Definition: ```python f WEBP ``` ### WMF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/wmf.md #### WMF property Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf/). ##### Definition: ```python f WMF ``` ### XLS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/xls.md #### XLS property Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xls/). ##### Definition: ```python f XLS ``` ### XLSB property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/xlsb.md #### XLSB property XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsb/). ##### Definition: ```python f XLSB ``` ### XLSM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/xlsm.md #### XLSM property Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsm/). ##### Definition: ```python f XLSM ``` ### XLSX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/xlsx.md #### XLSX property XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsx/). ##### Definition: ```python f XLSX ``` ### XLT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/xlt.md #### XLT property Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlt/). ##### Definition: ```python f XLT ``` ### XLTM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/xltm.md #### XLTM property The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltm/). ##### Definition: ```python f XLTM ``` ### XLTX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/xltx.md #### XLTX property Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltx/). ##### Definition: ```python f XLTX ``` ### ZIP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/zip.md #### ZIP property ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format [here](https://wiki.fileformat.com/compression/zip/). ##### Definition: ```python f ZIP ``` ### ZIPX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetype/zipx.md #### ZIPX property ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods. ##### Definition: ```python f ZIPX ``` ### FileTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage.md #### FileTypePackage class The FileTypePackage type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _add_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | _contains_string | (inherited from `MetadataPackage`) | | _find_properties_func_2_0c75 | (inherited from `MetadataPackage`) | | _get_enumerator_noargs | (inherited from `MetadataPackage`) | | _remove_properties_func_2_0c75 | (inherited from `MetadataPackage`) | | _sanitize_noargs | (inherited from `MetadataPackage`) | | _set_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | _update_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | add_properties | (inherited from `MetadataPackage`) | | add_properties_func | (inherited from `MetadataPackage`) | | contains | (inherited from `MetadataPackage`) | | contains_file | (inherited from `MetadataPackage`) | | contains_string | (inherited from `MetadataPackage`) | | find_properties | (inherited from `MetadataPackage`) | | find_properties_func | (inherited from `MetadataPackage`) | | get_enumerator | (inherited from `MetadataPackage`) | | remove_properties | (inherited from `MetadataPackage`) | | remove_properties_func | (inherited from `MetadataPackage`) | | sanitize | (inherited from `MetadataPackage`) | | set_properties | (inherited from `MetadataPackage`) | | set_properties_func | (inherited from `MetadataPackage`) | | update_properties | (inherited from `MetadataPackage`) | | update_properties_func | (inherited from `MetadataPackage`) | ##### Properties | Property | Description | | :- | :- | | extension | | | file_format | | | mime_type | | | count | (inherited from `MetadataPackage`) | | item | (inherited from `MetadataPackage`) | | keys | (inherited from `MetadataPackage`) | | know_property_descriptors | (inherited from `MetadataPackage`) | | metadata_type | (inherited from `MetadataPackage`) | | property_descriptors | (inherited from `MetadataPackage`) | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/extension.md ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/mime_type.md ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/filetypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Func class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func.md #### Func class The Func type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_arg_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_arg | | | begin_invoke | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_arg_async_callback_object method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/_begin_invoke_arg_async_callback_object.md #### _begin_invoke_arg_async_callback_object ```python def _begin_invoke_arg_async_callback_object(self, arg, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | arg | `Any` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | **Returns:** Any ### _init_object_int_ptr method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_arg method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/_invoke_arg.md #### _invoke_arg ```python def _invoke_arg(self, arg): ... ``` | Parameter | Type | Description | | :- | :- | :- | | arg | `Any` | | **Returns:** Any ### begin_invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/func/invoke.md #### invoke ```python def invoke(self): ... ``` ### IDocumentInfo class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/idocumentinfo.md #### IDocumentInfo class The IDocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | file_type | | | is_encrypted | | | page_count | | | pages | | | size | | ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/idocumentinfo/file_type.md ##### Definition: ```python @property def file_type(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/idocumentinfo/is_encrypted.md ##### Definition: ```python @property def is_encrypted(self): ... ``` ### page_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/idocumentinfo/page_count.md ##### Definition: ```python @property def page_count(self): ... ``` ### pages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/idocumentinfo/pages.md ##### Definition: ```python @property def pages(self): ... ``` ### size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/idocumentinfo/size.md ##### Definition: ```python @property def size(self): ... ``` ### IEnumValueInterpreter class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ienumvalueinterpreter.md #### IEnumValueInterpreter class The IEnumValueInterpreter type exposes the following members: ##### Properties | Property | Description | | :- | :- | | output_value_range | | ### output_value_range property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ienumvalueinterpreter/output_value_range.md ##### Definition: ```python @property def output_value_range(self): ... ``` ### IReadOnlyList class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist.md #### IReadOnlyList class The IReadOnlyList type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _contains_arg | | | _contains_tag_category | | | _index_of_arg | | | contains | | | contains_tag_category | | | index_of | | ##### Properties | Property | Description | | :- | :- | | count | | | item | | ### _contains_arg method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/_contains_arg.md #### _contains_arg ```python def _contains_arg(self, item): ... ``` | Parameter | Type | Description | | :- | :- | :- | | item | `Any` | | **Returns:** bool ### _contains_tag_category method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/_contains_tag_category.md #### _contains_tag_category ```python def _contains_tag_category(self, item): ... ``` | Parameter | Type | Description | | :- | :- | :- | | item | `TagCategory` | | **Returns:** bool ### _index_of_arg method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/_index_of_arg.md #### _index_of_arg ```python def _index_of_arg(self, item): ... ``` | Parameter | Type | Description | | :- | :- | :- | | item | `Any` | | **Returns:** int ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/contains.md #### contains ```python def contains(self): ... ``` ### contains_tag_category method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/contains_tag_category.md #### contains_tag_category ```python def contains_tag_category(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/count.md ##### Definition: ```python @property def count(self): ... ``` ### index_of method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/index_of.md #### index_of ```python def index_of(self): ... ``` ### item property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/ireadonlylist/item.md ##### Definition: ```python @property def item(self): ... ``` ### MetadataPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage.md #### MetadataPackage class The MetadataPackage type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _add_properties_func_2_0c75_property_value | | | _contains_string | | | _find_properties_func_2_0c75 | | | _get_enumerator_noargs | | | _remove_properties_func_2_0c75 | | | _sanitize_noargs | | | _set_properties_func_2_0c75_property_value | | | _update_properties_func_2_0c75_property_value | | | add_properties | | | add_properties_func | | | contains | | | contains_file | | | contains_string | | | find_properties | | | find_properties_func | | | get_enumerator | | | remove_properties | | | remove_properties_func | | | sanitize | | | set_properties | | | set_properties_func | | | update_properties | | | update_properties_func | | ##### Properties | Property | Description | | :- | :- | | count | | | item | | | keys | | | know_property_descriptors | | | metadata_type | | | property_descriptors | | ### _add_properties_func_2_0c75_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_add_properties_func_2_0c75_property_value.md #### _add_properties_func_2_0c75_property_value ```python def _add_properties_func_2_0c75_property_value(self, predicate, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | | value | `PropertyValue` | | **Returns:** int ### _contains_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_contains_string.md #### _contains_string ```python def _contains_string(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | `str` | | **Returns:** bool ### _find_properties_func_2_0c75 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_find_properties_func_2_0c75.md #### _find_properties_func_2_0c75 ```python def _find_properties_func_2_0c75(self, predicate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | **Returns:** List[Any] ### _get_enumerator_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_get_enumerator_noargs.md #### _get_enumerator_noargs ```python def _get_enumerator_noargs(self): ... ``` **Returns:** Any ### _remove_properties_func_2_0c75 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_remove_properties_func_2_0c75.md #### _remove_properties_func_2_0c75 ```python def _remove_properties_func_2_0c75(self, predicate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | **Returns:** int ### _sanitize_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_sanitize_noargs.md #### _sanitize_noargs ```python def _sanitize_noargs(self): ... ``` **Returns:** int ### _set_properties_func_2_0c75_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_set_properties_func_2_0c75_property_value.md #### _set_properties_func_2_0c75_property_value ```python def _set_properties_func_2_0c75_property_value(self, predicate, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | | value | `PropertyValue` | | **Returns:** int ### _update_properties_func_2_0c75_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/_update_properties_func_2_0c75_property_value.md #### _update_properties_func_2_0c75_property_value ```python def _update_properties_func_2_0c75_property_value(self, predicate, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | | value | `PropertyValue` | | **Returns:** int ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/add_properties.md #### add_properties ```python def add_properties(self): ... ``` ### add_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/add_properties_func.md #### add_properties_func ```python def add_properties_func(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/contains.md #### contains ```python def contains(self): ... ``` ### contains_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/contains_file.md #### contains_file ```python def contains_file(self): ... ``` ### contains_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/contains_string.md #### contains_string ```python def contains_string(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/count.md ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/find_properties.md #### find_properties ```python def find_properties(self): ... ``` ### find_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/find_properties_func.md #### find_properties_func ```python def find_properties_func(self): ... ``` ### get_enumerator method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/get_enumerator.md #### get_enumerator ```python def get_enumerator(self): ... ``` ### item property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/item.md ##### Definition: ```python @property def item(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/keys.md ##### Definition: ```python @property def keys(self): ... ``` ### know_property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/know_property_descriptors.md ##### Definition: ```python @property def know_property_descriptors(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/metadata_type.md ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/property_descriptors.md ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/remove_properties.md #### remove_properties ```python def remove_properties(self): ... ``` ### remove_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/remove_properties_func.md #### remove_properties_func ```python def remove_properties_func(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/sanitize.md #### sanitize ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/set_properties.md #### set_properties ```python def set_properties(self): ... ``` ### set_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/set_properties_func.md #### set_properties_func ```python def set_properties_func(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/update_properties.md #### update_properties ```python def update_properties(self): ... ``` ### update_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapackage/update_properties_func.md #### update_properties_func ```python def update_properties_func(self): ... ``` ### MetadataProperty class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadataproperty.md #### MetadataProperty class The MetadataProperty type exposes the following members: ##### Properties | Property | Description | | :- | :- | | descriptor | | | interpreted_value | | | name | | | tags | | | value | | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadataproperty/descriptor.md ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadataproperty/interpreted_value.md ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadataproperty/name.md ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadataproperty/tags.md ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadataproperty/value.md ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### MetadataPropertyEqualityComparer class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer.md #### MetadataPropertyEqualityComparer class The MetadataPropertyEqualityComparer type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _equals_metadata_property_metadata_property | | | _get_hash_code_metadata_property | | | _init_noargs | | | equals | | | equals_metadata_property | | | get_hash_code | | | get_hash_code_metadata_property | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _equals_metadata_property_metadata_property method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/_equals_metadata_property_metadata_property.md #### _equals_metadata_property_metadata_property ```python def _equals_metadata_property_metadata_property(self, x, y): ... ``` | Parameter | Type | Description | | :- | :- | :- | | x | `MetadataProperty` | | | y | `MetadataProperty` | | **Returns:** bool ### _get_hash_code_metadata_property method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/_get_hash_code_metadata_property.md #### _get_hash_code_metadata_property ```python def _get_hash_code_metadata_property(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `MetadataProperty` | | **Returns:** int ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/equals.md #### equals ```python def equals(self): ... ``` ### equals_metadata_property method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/equals_metadata_property.md #### equals_metadata_property ```python def equals_metadata_property(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### get_hash_code_metadata_property method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertyequalitycomparer/get_hash_code_metadata_property.md #### get_hash_code_metadata_property ```python def get_hash_code_metadata_property(self): ... ``` ### MetadataPropertyType class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype.md #### MetadataPropertyType class The MetadataPropertyType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | EMPTY | | | STRING | | | BOOLEAN | | | DATE_TIME | | | TIME_SPAN | | | INTEGER | | | LONG | | | DOUBLE | | | STRING_ARRAY | | | BYTE_ARRAY | | | DOUBLE_ARRAY | | | INTEGER_ARRAY | | | LONG_ARRAY | | | METADATA | | | METADATA_ARRAY | | | GUID | | | PROPERTY_VALUE_ARRAY | | | OBJECT | | ### BOOLEAN field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/boolean.md ##### Value `2` ### BYTE_ARRAY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/byte_array.md ##### Value `9` ### DATE_TIME field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/date_time.md ##### Value `3` ### DOUBLE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/double.md ##### Value `7` ### DOUBLE_ARRAY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/double_array.md ##### Value `10` ### EMPTY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/empty.md ##### Value `0` ### GUID field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/guid.md ##### Value `15` ### INTEGER field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/integer.md ##### Value `5` ### INTEGER_ARRAY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/integer_array.md ##### Value `11` ### LONG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/long.md ##### Value `6` ### LONG_ARRAY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/long_array.md ##### Value `12` ### METADATA field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/metadata.md ##### Value `13` ### METADATA_ARRAY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/metadata_array.md ##### Value `14` ### OBJECT field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/object.md ##### Value `17` ### PROPERTY_VALUE_ARRAY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/property_value_array.md ##### Value `16` ### STRING field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/string.md ##### Value `1` ### STRING_ARRAY field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/string_array.md ##### Value `8` ### TIME_SPAN field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatapropertytype/time_span.md ##### Value `4` ### MetadataType class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype.md #### MetadataType class The MetadataType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | | | ROOT | | | XMP | | | EXIF | | | IPTC | | | DUBLIN_CORE | | | IMAGE_RESOURCE_BLOCK | | | FILE_FORMAT | | | DIGITAL_SIGNATURE | | | PRESENTATION | | | SPREADSHEET | | | WORD_PROCESSING | | | DIAGRAM | | | NOTE | | | PROJECT_MANAGEMENT | | | PDF | | | DOCUMENT_STATISTICS | | | PSD | | | JPEG2000 | | | DICOM | | | BMP | | | WAV | | | ID3V1 | | | ID3V2 | | | MPEG_AUDIO | | | LYRICS3 | | | APE_V2 | | | AVI | | | FLV | | | ASF | | | MOV | | | MATROSKA | | | ZIP | | | SEVEN_ZIP | | | VCARD | | | EPUB | | | OPEN_TYPE | | | CAD | | | EML | | | MSG | | | TORRENT | | | PNG | | | DNG | | | CR2 | | | RAR | | | TAR | | | THREE_DS | | | DAE | | | FBX | | | STL | | | GIS | | | FB2 | | | MOBI | | | OGG | | | SVG | | | GLTF | | | AVIF | | ### APE_V2 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/ape_v2.md ##### Value `26` ### ASF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/asf.md ##### Value `29` ### AVI field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/avi.md ##### Value `27` ### AVIF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/avif.md ##### Value `56` ### BMP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/bmp.md ##### Value `20` ### CAD field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/cad.md ##### Value `37` ### CR2 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/cr2.md ##### Value `43` ### DAE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/dae.md ##### Value `47` ### DIAGRAM field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/diagram.md ##### Value `12` ### DICOM field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/dicom.md ##### Value `19` ### DIGITAL_SIGNATURE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/digital_signature.md ##### Value `8` ### DNG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/dng.md ##### Value `42` ### DOCUMENT_STATISTICS field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/document_statistics.md ##### Value `16` ### DUBLIN_CORE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/dublin_core.md ##### Value `5` ### EML field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/eml.md ##### Value `38` ### EPUB field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/epub.md ##### Value `35` ### EXIF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/exif.md ##### Value `3` ### FB2 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/fb2.md ##### Value `51` ### FBX field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/fbx.md ##### Value `48` ### FILE_FORMAT field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/file_format.md ##### Value `7` ### FLV field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/flv.md ##### Value `28` ### GIS field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/gis.md ##### Value `50` ### GLTF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/gltf.md ##### Value `55` ### ID3V1 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/id3v1.md ##### Value `22` ### ID3V2 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/id3v2.md ##### Value `23` ### IMAGE_RESOURCE_BLOCK field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/image_resource_block.md ##### Value `6` ### IPTC field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/iptc.md ##### Value `4` ### JPEG2000 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/jpeg2000.md ##### Value `18` ### LYRICS3 field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/lyrics3.md ##### Value `25` ### MATROSKA field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/matroska.md ##### Value `31` ### MOBI field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/mobi.md ##### Value `52` ### MOV field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/mov.md ##### Value `30` ### MPEG_AUDIO field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/mpeg_audio.md ##### Value `24` ### MSG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/msg.md ##### Value `39` ### NOTE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/note.md ##### Value `13` ### OGG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/ogg.md ##### Value `53` ### OPEN_TYPE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/open_type.md ##### Value `36` ### PDF field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/pdf.md ##### Value `15` ### PNG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/png.md ##### Value `41` ### PRESENTATION field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/presentation.md ##### Value `9` ### PROJECT_MANAGEMENT field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/project_management.md ##### Value `14` ### PSD field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/psd.md ##### Value `17` ### RAR field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/rar.md ##### Value `44` ### ROOT field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/root.md ##### Value `1` ### SEVEN_ZIP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/seven_zip.md ##### Value `33` ### SPREADSHEET field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/spreadsheet.md ##### Value `10` ### STL field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/stl.md ##### Value `49` ### SVG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/svg.md ##### Value `54` ### TAR field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/tar.md ##### Value `45` ### THREE_DS field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/three_ds.md ##### Value `46` ### TORRENT field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/torrent.md ##### Value `40` ### UNDEFINED field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/undefined.md ##### Value `0` ### VCARD field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/vcard.md ##### Value `34` ### WAV field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/wav.md ##### Value `21` ### WORD_PROCESSING field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/word_processing.md ##### Value `11` ### XMP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/xmp.md ##### Value `2` ### ZIP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/metadatatype/zip.md ##### Value `32` ### PageInfo class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/pageinfo.md #### PageInfo class The PageInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | height | | | page_number | | | width | | ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/pageinfo/height.md ##### Definition: ```python @property def height(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/pageinfo/page_number.md ##### Definition: ```python @property def page_number(self): ... ``` ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/pageinfo/width.md ##### Definition: ```python @property def width(self): ... ``` ### PropertyAccessLevels class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyaccesslevels.md #### PropertyAccessLevels class The PropertyAccessLevels type exposes the following members: ##### Fields | Field | Description | | :- | :- | | READ | | | UPDATE | | | REMOVE | | | ADD | | | ADD_OR_UPDATE | | | FULL | | ### ADD field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyaccesslevels/add.md ##### Value `4` ### ADD_OR_UPDATE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyaccesslevels/add_or_update.md ##### Value `5` ### FULL field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyaccesslevels/full.md ##### Value `7` ### READ field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyaccesslevels/read.md ##### Value `0` ### REMOVE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyaccesslevels/remove.md ##### Value `2` ### UPDATE field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyaccesslevels/update.md ##### Value `1` ### PropertyDescriptor class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertydescriptor.md #### PropertyDescriptor class The PropertyDescriptor type exposes the following members: ##### Properties | Property | Description | | :- | :- | | access_level | | | interpreter | | | name | | | tags | | | type | | ### access_level property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertydescriptor/access_level.md ##### Definition: ```python @property def access_level(self): ... @access_level.setter def access_level(self, value): ... ``` ### interpreter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertydescriptor/interpreter.md ##### Definition: ```python @property def interpreter(self): ... @interpreter.setter def interpreter(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertydescriptor/name.md ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertydescriptor/tags.md ##### Definition: ```python @property def tags(self): ... @tags.setter def tags(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertydescriptor/type.md ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### PropertyValue class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue.md #### PropertyValue class The PropertyValue type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _accept_value_value_acceptor | | | _init_boolean | | | _init_byte_array | | | _init_date_time | | | _init_double | | | _init_double_array | | | _init_int32 | | | _init_int32_array | | | _init_int64 | | | _init_int64_array | | | _init_object | | | _init_string | | | _init_string_array | | | _init_time_span | | | _init_uint16_array | | | _to_array_noargs | | | _to_class_noargs | | | _to_string_noargs | | | _to_struct_arg | | | _to_struct_noargs | | | accept_value | | | accept_value_value_acceptor | | | to_array | | | to_class | | | to_string | | | to_struct | | ##### Properties | Property | Description | | :- | :- | | raw_value | | | type | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _accept_value_value_acceptor method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_accept_value_value_acceptor.md #### _accept_value_value_acceptor ```python def _accept_value_value_acceptor(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | `ValueAcceptor` | | ### _init_boolean method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_boolean.md #### _init_boolean ```python def _init_boolean(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `bool` | | ### _init_byte_array method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_byte_array.md #### _init_byte_array ```python def _init_byte_array(self, values): ... ``` | Parameter | Type | Description | | :- | :- | :- | | values | `bytes` | | ### _init_date_time method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_date_time.md #### _init_date_time ```python def _init_date_time(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `datetime` | | ### _init_double method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_double.md #### _init_double ```python def _init_double(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `float` | | ### _init_double_array method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_double_array.md #### _init_double_array ```python def _init_double_array(self, values): ... ``` | Parameter | Type | Description | | :- | :- | :- | | values | `List[float]` | | ### _init_int32 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_int32.md #### _init_int32 ```python def _init_int32(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `int` | | ### _init_int32_array method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_int32_array.md #### _init_int32_array ```python def _init_int32_array(self, values): ... ``` | Parameter | Type | Description | | :- | :- | :- | | values | `List[int]` | | ### _init_int64 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_int64.md #### _init_int64 ```python def _init_int64(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `int` | | ### _init_int64_array method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_int64_array.md #### _init_int64_array ```python def _init_int64_array(self, values): ... ``` | Parameter | Type | Description | | :- | :- | :- | | values | `List[int]` | | ### _init_object method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_object.md #### _init_object ```python def _init_object(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `Any` | | ### _init_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_string.md #### _init_string ```python def _init_string(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `str` | | ### _init_string_array method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_string_array.md #### _init_string_array ```python def _init_string_array(self, values): ... ``` | Parameter | Type | Description | | :- | :- | :- | | values | `List[str]` | | ### _init_time_span method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_time_span.md #### _init_time_span ```python def _init_time_span(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | `timedelta` | | ### _init_uint16_array method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_init_uint16_array.md #### _init_uint16_array ```python def _init_uint16_array(self, values): ... ``` | Parameter | Type | Description | | :- | :- | :- | | values | `List[int]` | | ### _to_array_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_to_array_noargs.md #### _to_array_noargs ```python def _to_array_noargs(self): ... ``` **Returns:** Any ### _to_class_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_to_class_noargs.md #### _to_class_noargs ```python def _to_class_noargs(self): ... ``` **Returns:** Any ### _to_string_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### _to_struct_arg method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_to_struct_arg.md #### _to_struct_arg ```python def _to_struct_arg(self, default): ... ``` | Parameter | Type | Description | | :- | :- | :- | | default | `Any` | | **Returns:** Any ### _to_struct_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/_to_struct_noargs.md #### _to_struct_noargs ```python def _to_struct_noargs(self): ... ``` **Returns:** Any ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/accept_value.md #### accept_value ```python def accept_value(self): ... ``` ### accept_value_value_acceptor method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/accept_value_value_acceptor.md #### accept_value_value_acceptor ```python def accept_value_value_acceptor(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/raw_value.md ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### to_array method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/to_array.md #### to_array ```python def to_array(self): ... ``` ### to_class method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/to_class.md #### to_class ```python def to_class(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/to_string.md #### to_string ```python def to_string(self): ... ``` ### to_struct method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/to_struct.md #### to_struct ```python def to_struct(self): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalue/type.md ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### PropertyValueEqualityComparer class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer.md #### PropertyValueEqualityComparer class The PropertyValueEqualityComparer type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _equals_property_value_property_value | | | _get_hash_code_property_value | | | _init_noargs | | | equals | | | equals_property_value | | | get_hash_code | | | get_hash_code_property_value | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _equals_property_value_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/_equals_property_value_property_value.md #### _equals_property_value_property_value ```python def _equals_property_value_property_value(self, x, y): ... ``` | Parameter | Type | Description | | :- | :- | :- | | x | `PropertyValue` | | | y | `PropertyValue` | | **Returns:** bool ### _get_hash_code_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/_get_hash_code_property_value.md #### _get_hash_code_property_value ```python def _get_hash_code_property_value(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `PropertyValue` | | **Returns:** int ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/equals.md #### equals ```python def equals(self): ... ``` ### equals_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/equals_property_value.md #### equals_property_value ```python def equals_property_value(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### get_hash_code_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/propertyvalueequalitycomparer/get_hash_code_property_value.md #### get_hash_code_property_value ```python def get_hash_code_property_value(self): ... ``` ### ReadOnlyList class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist.md #### ReadOnlyList class The ReadOnlyList type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _contains_arg | | | _contains_tag_category | | | _get_enumerator_noargs | | | _index_of_arg | | | contains | | | contains_tag_category | | | get_enumerator | | | index_of | | ##### Properties | Property | Description | | :- | :- | | count | | | is_read_only | | | item | | ### _contains_arg method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/_contains_arg.md #### _contains_arg ```python def _contains_arg(self, item): ... ``` | Parameter | Type | Description | | :- | :- | :- | | item | `Any` | | **Returns:** bool ### _contains_tag_category method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/_contains_tag_category.md #### _contains_tag_category ```python def _contains_tag_category(self, item): ... ``` | Parameter | Type | Description | | :- | :- | :- | | item | `TagCategory` | | **Returns:** bool ### _get_enumerator_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/_get_enumerator_noargs.md #### _get_enumerator_noargs ```python def _get_enumerator_noargs(self): ... ``` **Returns:** Any ### _index_of_arg method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/_index_of_arg.md #### _index_of_arg ```python def _index_of_arg(self, item): ... ``` | Parameter | Type | Description | | :- | :- | :- | | item | `Any` | | **Returns:** int ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/contains.md #### contains ```python def contains(self): ... ``` ### contains_tag_category method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/contains_tag_category.md #### contains_tag_category ```python def contains_tag_category(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/count.md ##### Definition: ```python @property def count(self): ... ``` ### get_enumerator method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/get_enumerator.md #### get_enumerator ```python def get_enumerator(self): ... ``` ### index_of method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/index_of.md #### index_of ```python def index_of(self): ... ``` ### is_read_only property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/is_read_only.md ##### Definition: ```python @property def is_read_only(self): ... ``` ### item property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/readonlylist/item.md ##### Definition: ```python @property def item(self): ... ``` ### Rectangle class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle.md #### Rectangle class The Rectangle type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | | | to_string | | ##### Properties | Property | Description | | :- | :- | | bottom | | | height | | | is_empty | | | left | | | right | | | top | | | width | | | x | | | y | | ### Rectangle constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/__init__.md #### \_\_init\_\_(self) Constructs a new instance of Rectangle ```python def __init__(self): ... ``` ### _to_string_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### bottom property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/bottom.md ##### Definition: ```python @property def bottom(self): ... ``` ### empty property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/empty.md #### empty property Gets the empty rectangle. ##### Definition: ```python @property def empty(self): ... ``` ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/height.md ##### Definition: ```python @property def height(self): ... ``` ### is_empty property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/is_empty.md ##### Definition: ```python @property def is_empty(self): ... ``` ### left property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/left.md ##### Definition: ```python @property def left(self): ... ``` ### right property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/right.md ##### Definition: ```python @property def right(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/to_string.md #### to_string ```python def to_string(self): ... ``` ### top property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/top.md ##### Definition: ```python @property def top(self): ... ``` ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/width.md ##### Definition: ```python @property def width(self): ... ``` ### x property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/x.md ##### Definition: ```python @property def x(self): ... ``` ### y property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rectangle/y.md ##### Definition: ```python @property def y(self): ... ``` ### RootMetadataPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage.md #### RootMetadataPackage class The RootMetadataPackage type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _sanitize_noargs | | | sanitize | | | _add_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | _contains_string | (inherited from `MetadataPackage`) | | _find_properties_func_2_0c75 | (inherited from `MetadataPackage`) | | _get_enumerator_noargs | (inherited from `MetadataPackage`) | | _remove_properties_func_2_0c75 | (inherited from `MetadataPackage`) | | _set_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | _update_properties_func_2_0c75_property_value | (inherited from `MetadataPackage`) | | add_properties | (inherited from `MetadataPackage`) | | add_properties_func | (inherited from `MetadataPackage`) | | contains | (inherited from `MetadataPackage`) | | contains_file | (inherited from `MetadataPackage`) | | contains_string | (inherited from `MetadataPackage`) | | find_properties | (inherited from `MetadataPackage`) | | find_properties_func | (inherited from `MetadataPackage`) | | get_enumerator | (inherited from `MetadataPackage`) | | remove_properties | (inherited from `MetadataPackage`) | | remove_properties_func | (inherited from `MetadataPackage`) | | set_properties | (inherited from `MetadataPackage`) | | set_properties_func | (inherited from `MetadataPackage`) | | update_properties | (inherited from `MetadataPackage`) | | update_properties_func | (inherited from `MetadataPackage`) | ##### Properties | Property | Description | | :- | :- | | file_type | | | count | (inherited from `MetadataPackage`) | | item | (inherited from `MetadataPackage`) | | keys | (inherited from `MetadataPackage`) | | know_property_descriptors | (inherited from `MetadataPackage`) | | metadata_type | (inherited from `MetadataPackage`) | | property_descriptors | (inherited from `MetadataPackage`) | ### _sanitize_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/_sanitize_noargs.md #### _sanitize_noargs ```python def _sanitize_noargs(self): ... ``` **Returns:** int ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/file_type.md ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/sanitize.md #### sanitize ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/rootmetadatapackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ValueAcceptor class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueacceptor.md #### ValueAcceptor class The ValueAcceptor type exposes the following members: ### ValueInterpreter class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter.md #### ValueInterpreter class The ValueInterpreter type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_interpreted_value_property_value | | | _to_source_value_property_value | | | to_interpreted_value | | | to_interpreted_value_property_value | | | to_source_value | | | to_source_value_property_value | | ##### Properties | Property | Description | | :- | :- | | interpreted_value_type | | ### _to_interpreted_value_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter/_to_interpreted_value_property_value.md #### _to_interpreted_value_property_value ```python def _to_interpreted_value_property_value(self, original_value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | original_value | `PropertyValue` | | **Returns:** PropertyValue ### _to_source_value_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter/_to_source_value_property_value.md #### _to_source_value_property_value ```python def _to_source_value_property_value(self, interpreted_value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | interpreted_value | `PropertyValue` | | **Returns:** PropertyValue ### interpreted_value_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter/interpreted_value_type.md ##### Definition: ```python @property def interpreted_value_type(self): ... ``` ### to_interpreted_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter/to_interpreted_value.md #### to_interpreted_value ```python def to_interpreted_value(self): ... ``` ### to_interpreted_value_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter/to_interpreted_value_property_value.md #### to_interpreted_value_property_value ```python def to_interpreted_value_property_value(self): ... ``` ### to_source_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter/to_source_value.md #### to_source_value ```python def to_source_value(self): ... ``` ### to_source_value_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.common/valueinterpreter/to_source_value_property_value.md #### to_source_value_property_value ```python def to_source_value_property_value(self): ... ``` ### groupdocs.metadata.exceptions Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions.md The namespace contains some specific exceptions that are thrown by the library during file reading and updating. ##### Classes | Class | Description | | :- | :- | | `DocumentProtectedException` | The exception that is thrown when document is protected by password. | | `GroupDocsMetadataException` | Represents a product-specific exception that is thrown during file processing. | | `InvalidFormatException` | The exception that is thrown when a file has an invalid format. | | `MetadataValidationException` | The exception that is thrown when validation errors encountered during metadata saving. | | `XmpException` | The exception that is thrown when XMP has invalid structure. | ### DocumentProtectedException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/documentprotectedexception.md #### DocumentProtectedException class The exception that is thrown when document is protected by password. **Inheritance:** `DocumentProtectedException` → `GroupDocsMetadataException` The DocumentProtectedException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `DocumentProtectedException` class. | ### DocumentProtectedException constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/documentprotectedexception/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `DocumentProtectedException` class. ```python def __init__(self): ... ``` ### GroupDocsMetadataException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/groupdocsmetadataexception.md #### GroupDocsMetadataException class Represents a product-specific exception that is thrown during file processing. The GroupDocsMetadataException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `GroupDocsMetadataException` class. | | `__init__(self, message)` | Initializes a new instance of the `GroupDocsMetadataException` class. | ### GroupDocsMetadataException constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/groupdocsmetadataexception/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `GroupDocsMetadataException` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, message) Initializes a new instance of the `GroupDocsMetadataException` class. ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message that describes the error. | ### InvalidFormatException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/invalidformatexception.md #### InvalidFormatException class The exception that is thrown when a file has an invalid format. **Inheritance:** `InvalidFormatException` → `GroupDocsMetadataException` The InvalidFormatException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `InvalidFormatException` class. | | `__init__(self, message)` | Initializes a new instance of the `InvalidFormatException` class. | ### InvalidFormatException constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/invalidformatexception/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `InvalidFormatException` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, message) Initializes a new instance of the `InvalidFormatException` class. ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message that describes the error. | ### MetadataValidationException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/metadatavalidationexception.md #### MetadataValidationException class The exception that is thrown when validation errors encountered during metadata saving. **Inheritance:** `MetadataValidationException` → `GroupDocsMetadataException` The MetadataValidationException type exposes the following members: ##### Properties | Property | Description | | :- | :- | | errors | Gets an array of the validation errors that were encountered during the last metadata saving. | ### errors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/metadatavalidationexception/errors.md #### errors property Gets an array of the validation errors that were encountered during the last metadata saving. ##### Definition: ```python @property def errors(self): ... ``` ### XmpException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/xmpexception.md #### XmpException class The exception that is thrown when XMP has invalid structure. **Inheritance:** `XmpException` → `GroupDocsMetadataException` The XmpException type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpException` class. | | `__init__(self, message)` | Initializes a new instance of the `XmpException` class. | ### XmpException constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.exceptions/xmpexception/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpException` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, message) Initializes a new instance of the `XmpException` class. ```python def __init__(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | System.String | The message. | ### groupdocs.metadata.export Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export.md Types under `groupdocs.metadata.export`. ##### Classes | Class | Description | | :- | :- | | `CsvExportOptions` | | | `ExcelExportOptions` | | | `ExportManager` | | | `ExportOptions` | | | `JsonExportOptions` | | | `XmlExportOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `ExportFormat` | | ### CsvExportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/csvexportoptions.md #### CsvExportOptions class The CsvExportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/csvexportoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/csvexportoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### ExcelExportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/excelexportoptions.md #### ExcelExportOptions class The ExcelExportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_boolean | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | group_cells | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/excelexportoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_boolean method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/excelexportoptions/_init_boolean.md #### _init_boolean ```python def _init_boolean(self, group_cells): ... ``` | Parameter | Type | Description | | :- | :- | :- | | group_cells | `bool` | | ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/excelexportoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### group_cells property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/excelexportoptions/group_cells.md ##### Definition: ```python @property def group_cells(self): ... @group_cells.setter def group_cells(self, value): ... ``` ### ExportFormat class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportformat.md #### ExportFormat class The ExportFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | XLS | | | XLSX | | | XML | | | CSV | | | JSON | | ### CSV field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportformat/csv.md ##### Value `3` ### JSON field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportformat/json.md ##### Value `4` ### XLS field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportformat/xls.md ##### Value `0` ### XLSX field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportformat/xlsx.md ##### Value `1` ### XML field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportformat/xml.md ##### Value `2` ### ExportManager class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager.md #### ExportManager class The ExportManager type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _export_stream_export_format | | | _export_stream_export_format_export_options | | | _export_string_export_format | | | _export_string_export_format_export_options | | | _init_ienumerable_1_66b9 | | | export | | | export_file | | | export_stream | | | export_streams | | | export_string | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _export_stream_export_format method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/_export_stream_export_format.md #### _export_stream_export_format ```python def _export_stream_export_format(self, document, format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | format | `ExportFormat` | | ### _export_stream_export_format_export_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/_export_stream_export_format_export_options.md #### _export_stream_export_format_export_options ```python def _export_stream_export_format_export_options(self, document, format, export_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | format | `ExportFormat` | | | export_options | `ExportOptions` | | ### _export_string_export_format method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/_export_string_export_format.md #### _export_string_export_format ```python def _export_string_export_format(self, file_path, format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | format | `ExportFormat` | | ### _export_string_export_format_export_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/_export_string_export_format_export_options.md #### _export_string_export_format_export_options ```python def _export_string_export_format_export_options(self, file_path, format, export_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | format | `ExportFormat` | | | export_options | `ExportOptions` | | ### _init_ienumerable_1_66b9 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/_init_ienumerable_1_66b9.md #### _init_ienumerable_1_66b9 ```python def _init_ienumerable_1_66b9(self, properties): ... ``` | Parameter | Type | Description | | :- | :- | :- | | properties | `List[Any]` | | ### export method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/export.md #### export ```python def export(self): ... ``` ### export_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/export_file.md #### export_file ```python def export_file(self): ... ``` ### export_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/export_stream.md #### export_stream ```python def export_stream(self): ... ``` ### export_streams method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/export_streams.md #### export_streams ```python def export_streams(self): ... ``` ### export_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportmanager/export_string.md #### export_string ```python def export_string(self): ... ``` ### ExportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportoptions.md #### ExportOptions class The ExportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/exportoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### JsonExportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/jsonexportoptions.md #### JsonExportOptions class The JsonExportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/jsonexportoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/jsonexportoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### XmlExportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/xmlexportoptions.md #### XmlExportOptions class The XmlExportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/xmlexportoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.export/xmlexportoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### groupdocs.metadata.formats.archive Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive.md The namespace contains classes for working with archive formats. ##### Classes | Class | Description | | :- | :- | | `RarFile` | Represents metadata associated with an archived file or directory. | | `RarPackage` | Represents ZIP archive metadata. | | `RarRootPackage` | Represents the root package allowing working with metadata in a ZIP archive. | | `SevenZipFile` | Represents metadata associated with an archived file or directory. | | `SevenZipPackage` | Represents ZIP archive metadata. | | `SevenZipRootPackage` | Represents the root package allowing working with metadata in a ZIP archive. | | `TarFile` | Represents metadata associated with an archived file or directory. | | `TarPackage` | Represents ZIP archive metadata. | | `TarRootPackage` | Represents the root package allowing working with metadata in a ZIP archive. | | `ZipFile` | Represents metadata associated with an archived file or directory. | | `ZipPackage` | Represents ZIP archive metadata. | | `ZipRootPackage` | Represents the root package allowing working with metadata in a ZIP archive. | ##### Enumerations | Enumeration | Description | | :- | :- | | `ZipCompressionMethod` | Defines ZIP compression methods. | ### RarFile class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile.md #### RarFile class Represents metadata associated with an archived file or directory. **Inheritance:** `RarFile` → `CustomPackage` → `MetadataPackage` The RarFile type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | compressed_size | Gets the compressed size in bytes. | | uncompressed_size | Gets the uncompressed size in bytes. | | name | Gets the entry name. | | modification_date_time | Gets the last modification date and time. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### compressed_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/compressed_size.md #### compressed_size property Gets the compressed size in bytes. ##### Definition: ```python @property def compressed_size(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modification_date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/modification_date_time.md #### modification_date_time property Gets the last modification date and time. ##### Definition: ```python @property def modification_date_time(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/name.md #### name property Gets the entry name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### uncompressed_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/uncompressed_size.md #### uncompressed_size property Gets the uncompressed size in bytes. ##### Definition: ```python @property def uncompressed_size(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarfile/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RarPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage.md #### RarPackage class Represents ZIP archive metadata. **Inheritance:** `RarPackage` → `CustomPackage` → `MetadataPackage` The RarPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | files | Gets an array of `ZipFile` entries inside the ZIP archive. | | total_entries | Gets the total number of entries inside the ZIP archive. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### files property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/files.md #### files property Gets an array of `ZipFile` entries inside the ZIP archive. ##### Definition: ```python @property def files(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### total_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/total_entries.md #### total_entries property Gets the total number of entries inside the ZIP archive. ##### Definition: ```python @property def total_entries(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RarRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage.md #### RarRootPackage class Represents the root package allowing working with metadata in a ZIP archive. **Inheritance:** `RarRootPackage` → `RootMetadataPackage` → `MetadataPackage` The RarRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | rar_package | Gets the ZIP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### rar_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/rar_package.md #### rar_package property Gets the ZIP metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def rar_package(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/rarrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SevenZipFile class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile.md #### SevenZipFile class Represents metadata associated with an archived file or directory. **Inheritance:** `SevenZipFile` → `CustomPackage` → `MetadataPackage` The SevenZipFile type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | compressed_size | Gets the compressed size in bytes. | | uncompressed_size | Gets the uncompressed size in bytes. | | name | Gets the entry name. | | modification_date_time | Gets the last modification date and time. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### compressed_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/compressed_size.md #### compressed_size property Gets the compressed size in bytes. ##### Definition: ```python @property def compressed_size(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modification_date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/modification_date_time.md #### modification_date_time property Gets the last modification date and time. ##### Definition: ```python @property def modification_date_time(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/name.md #### name property Gets the entry name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### uncompressed_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/uncompressed_size.md #### uncompressed_size property Gets the uncompressed size in bytes. ##### Definition: ```python @property def uncompressed_size(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzipfile/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SevenZipPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage.md #### SevenZipPackage class Represents ZIP archive metadata. **Inheritance:** `SevenZipPackage` → `CustomPackage` → `MetadataPackage` The SevenZipPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | files | Gets an array of `ZipFile` entries inside the ZIP archive. | | total_entries | Gets the total number of entries inside the ZIP archive. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### files property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/files.md #### files property Gets an array of `ZipFile` entries inside the ZIP archive. ##### Definition: ```python @property def files(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### total_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/total_entries.md #### total_entries property Gets the total number of entries inside the ZIP archive. ##### Definition: ```python @property def total_entries(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenzippackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SevenZipRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage.md #### SevenZipRootPackage class Represents the root package allowing working with metadata in a ZIP archive. **Inheritance:** `SevenZipRootPackage` → `RootMetadataPackage` → `MetadataPackage` The SevenZipRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | seven_zip_package | Gets the ZIP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### seven_zip_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/seven_zip_package.md #### seven_zip_package property Gets the ZIP metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def seven_zip_package(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/sevenziprootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### TarFile class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile.md #### TarFile class Represents metadata associated with an archived file or directory. **Inheritance:** `TarFile` → `CustomPackage` → `MetadataPackage` The TarFile type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | size | Gets the size in bytes. | | name | Gets the entry name. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/name.md #### name property Gets the entry name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/size.md #### size property Gets the size in bytes. ##### Definition: ```python @property def size(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarfile/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### TarPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage.md #### TarPackage class Represents ZIP archive metadata. **Inheritance:** `TarPackage` → `CustomPackage` → `MetadataPackage` The TarPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | files | Gets an array of `ZipFile` entries inside the ZIP archive. | | total_entries | Gets the total number of entries inside the ZIP archive. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### files property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/files.md #### files property Gets an array of `ZipFile` entries inside the ZIP archive. ##### Definition: ```python @property def files(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### total_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/total_entries.md #### total_entries property Gets the total number of entries inside the ZIP archive. ##### Definition: ```python @property def total_entries(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### TarRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage.md #### TarRootPackage class Represents the root package allowing working with metadata in a ZIP archive. **Inheritance:** `TarRootPackage` → `RootMetadataPackage` → `MetadataPackage` The TarRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | tar_package | Gets the ZIP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### tar_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/tar_package.md #### tar_package property Gets the ZIP metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def tar_package(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/tarrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ZipCompressionMethod enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipcompressionmethod.md #### ZipCompressionMethod enumeration Defines ZIP compression methods. The ZipCompressionMethod type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NO_COMPRESSION | The file is stored (no compression). | | SHRUNK | The file is Shrunk. | | IMPLODED | The file is Imploded. | | RESERVED | A reserved compression method. | | DEFLATED | The file is Deflated. | | B_ZIP2 | The file is compressed with the BZip2 algorithm. | | LZMA | The Lempel-Ziv-Markov chain-Algorithm. | ### ZipFile class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile.md #### ZipFile class Represents metadata associated with an archived file or directory. **Inheritance:** `ZipFile` → `CustomPackage` → `MetadataPackage` The ZipFile type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | compression_method | Gets the compression method. | | compressed_size | Gets the compressed size in bytes. | | uncompressed_size | Gets the uncompressed size in bytes. | | flags | Gets the ZIP entry flags. | | name | Gets the entry name. | | raw_name | Gets an array of bytes representing the name of the entry. | | modification_date_time | Gets the last modification date and time. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### compressed_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/compressed_size.md #### compressed_size property Gets the compressed size in bytes. ##### Definition: ```python @property def compressed_size(self): ... ``` ### compression_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/compression_method.md #### compression_method property Gets the compression method. ##### Definition: ```python @property def compression_method(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/flags.md #### flags property Gets the ZIP entry flags. ##### Remarks Bit 00: encrypted file. Bit 01: compression option. Bit 02: compression option. Bit 03: data descriptor. Bit 04: enhanced deflation. Bit 05: compressed patched data. Bit 06: strong encryption. Bit 07-10: unused. Bit 11: language encoding. Bit 12: reserved. Bit 13: mask header values. Bit 14-15: reserved. ##### Definition: ```python @property def flags(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modification_date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/modification_date_time.md #### modification_date_time property Gets the last modification date and time. ##### Definition: ```python @property def modification_date_time(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/name.md #### name property Gets the entry name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/raw_name.md #### raw_name property Gets an array of bytes representing the name of the entry. ##### Definition: ```python @property def raw_name(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### uncompressed_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/uncompressed_size.md #### uncompressed_size property Gets the uncompressed size in bytes. ##### Definition: ```python @property def uncompressed_size(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zipfile/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ZipPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage.md #### ZipPackage class Represents ZIP archive metadata. **Inheritance:** `ZipPackage` → `CustomPackage` → `MetadataPackage` The ZipPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | comment | Gets or sets the ZIP archive comment created by a user. | | files | Gets an array of `ZipFile` entries inside the ZIP archive. | | total_entries | Gets the total number of entries inside the ZIP archive. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/comment.md #### comment property Gets or sets the ZIP archive comment created by a user. ##### Example The following code snippet shows how to remove the user comment from a ZIP archive. ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### files property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/files.md #### files property Gets an array of `ZipFile` entries inside the ZIP archive. ##### Definition: ```python @property def files(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### total_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/total_entries.md #### total_entries property Gets the total number of entries inside the ZIP archive. ##### Definition: ```python @property def total_entries(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/zippackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ZipRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage.md #### ZipRootPackage class Represents the root package allowing working with metadata in a ZIP archive. **Inheritance:** `ZipRootPackage` → `RootMetadataPackage` → `MetadataPackage` The ZipRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | zip_package | Gets the ZIP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a ZIP archive. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### zip_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.archive/ziprootpackage/zip_package.md #### zip_package property Gets the ZIP metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def zip_package(self): ... ``` ### groupdocs.metadata.formats.audio.ogg Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg.md ##### Classes | Class | Description | | :- | :- | | `OggPackage` | Represents a native metadata package in a OGG audio file. | | `OggRootPackage` | Represents a native metadata package in a OGG audio file. | | `OggUserComment` | Represents Ogg User Comment metadata class. | ### OggPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage.md #### OggPackage class Represents a native metadata package in a OGG audio file. **Inheritance:** `OggPackage` → `CustomPackage` → `MetadataPackage` The OggPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `OggPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | vendor | Vendor | | title | Track/Work name | | version | The version field may be used to differentiate multiple versions of the same track title in a single collection. (e.g. remix info) | | album | The collection name to which this track belongs | | tracknumber | The track number of this piece if part of a specific larger collection or album | | artist | The artist generally considered responsible for the work. In popular music this is usually the performing band or singer. For classical music it would be the composer. For an audio book it would be the author of the original text. | | performer | The artist(s) who performed the work. In classical music this would be the conductor, orchestra, soloists. In an audio book it would be the actor who did the reading. In popular music this is typically the same as the ARTIST and is omitted. | | copyright | Copyright attribution, e.g., '2001 Nobody's Band' or '1999 Jack Moffitt' | | license | License information, for example, 'All Rights Reserved', 'Any Use Permitted', a URL to a license such as a Creative Commons license (e.g. "creativecommons.org/licenses/by/4.0/"), or similar. | | organization | Name of the organization producing the track (i.e. the 'record label') | | description | A short text description of the contents | | genre | A short text indication of music genre | | date | Date the track was recorded | | location | Location where track was recorded | | contact | Contact information for the creators or distributors of the track. This could be a URL, an email address, the physical address of the producing label. | | isrc | ISRC number for the track | | ogg_user_comments | Gets an array of `OggUserComment` entries inside the metadata. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to extract technical audio information from a OGG file. ### OggPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `OggPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/album.md #### album property The collection name to which this track belongs ##### Definition: ```python @property def album(self): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/artist.md #### artist property The artist generally considered responsible for the work. In popular music this is usually the performing band or singer. For classical music it would be the composer. For an audio book it would be the author of the original text. ##### Definition: ```python @property def artist(self): ... ``` ### contact property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/contact.md #### contact property Contact information for the creators or distributors of the track. This could be a URL, an email address, the physical address of the producing label. ##### Definition: ```python @property def contact(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/copyright.md #### copyright property Copyright attribution, e.g., '2001 Nobody's Band' or '1999 Jack Moffitt' ##### Definition: ```python @property def copyright(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/date.md #### date property Date the track was recorded ##### Definition: ```python @property def date(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/description.md #### description property A short text description of the contents ##### Definition: ```python @property def description(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### genre property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/genre.md #### genre property A short text indication of music genre ##### Definition: ```python @property def genre(self): ... ``` ### isrc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/isrc.md #### isrc property ISRC number for the track ##### Definition: ```python @property def isrc(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### license property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/license.md #### license property License information, for example, 'All Rights Reserved', 'Any Use Permitted', a URL to a license such as a Creative Commons license (e.g. "creativecommons.org/licenses/by/4.0/"), or similar. ##### Definition: ```python @property def license(self): ... ``` ### location property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/location.md #### location property Location where track was recorded ##### Definition: ```python @property def location(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### ogg_user_comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/ogg_user_comments.md #### ogg_user_comments property Gets an array of `OggUserComment` entries inside the metadata. ##### Definition: ```python @property def ogg_user_comments(self): ... ``` ### organization property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/organization.md #### organization property Name of the organization producing the track (i.e. the 'record label') ##### Definition: ```python @property def organization(self): ... ``` ### performer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/performer.md #### performer property The artist(s) who performed the work. In classical music this would be the conductor, orchestra, soloists. In an audio book it would be the actor who did the reading. In popular music this is typically the same as the ARTIST and is omitted. ##### Definition: ```python @property def performer(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/title.md #### title property Track/Work name ##### Definition: ```python @property def title(self): ... ``` ### tracknumber property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/tracknumber.md #### tracknumber property The track number of this piece if part of a specific larger collection or album ##### Definition: ```python @property def tracknumber(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### vendor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/vendor.md #### vendor property Vendor ##### Definition: ```python @property def vendor(self): ... ``` ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggpackage/version.md #### version property The version field may be used to differentiate multiple versions of the same track title in a single collection. (e.g. remix info) ##### Definition: ```python @property def version(self): ... ``` ### OggRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage.md #### OggRootPackage class Represents a native metadata package in a OGG audio file. **Inheritance:** `OggRootPackage` → `RootMetadataPackage` → `MetadataPackage` The OggRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | ogg_package | Gets the Ogg native metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to extract technical audio information from a OGG file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### ogg_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/ogg_package.md #### ogg_package property Gets the Ogg native metadata package. ##### Definition: ```python @property def ogg_package(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### OggUserComment class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment.md #### OggUserComment class Represents Ogg User Comment metadata class. **Inheritance:** `OggUserComment` → `CustomPackage` → `MetadataPackage` The OggUserComment type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | header | Gets the user comments header | | value | Gets the user comments value | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/header.md #### header property Gets the user comments header ##### Definition: ```python @property def header(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.ogg/oggusercomment/value.md #### value property Gets the user comments value ##### Definition: ```python @property def value(self): ... ``` ### groupdocs.metadata.formats.audio Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio.md The namespace provides classes intended to work with different audio formats. ##### Classes | Class | Description | | :- | :- | | `ApePackage` | Represents an APE v2 metadata package.
Please find more information at [http://wiki.hydrogenaud.io/index.php?title=APE_key](http://wiki.hydrogenaud.io/index.php?title=APE_key). | | `ID3Tag` | Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. | | `ID3V1Tag` | Represents an ID3v1 tag.
Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v1](https://en.wikipedia.org/wiki/ID3#ID3v1). | | `ID3V2AttachedPictureFrame` | Represents an APIC frame in an `ID3V2Tag`. | | `ID3V2CommentFrame` | Represents a COMM frame in an `ID3V2Tag`. | | `ID3V2MlltFrame` | Represents an MLLT frame in an `ID3V2Tag`. | | `ID3V2PlayCounterFrame` | Represents a PCNT frame in an `ID3V2Tag`.
This is simply a counter of the number of times a file has been played. | | `ID3V2PrivateFrame` | Represents a PRIV frame in an `ID3V2Tag`.
The frame is used to contain information from a software producer that its program uses
and does not fit into the other frames. | | `ID3V2Tag` | Represents an ID3v2 tag.
Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v2](https://en.wikipedia.org/wiki/ID3#ID3v2). | | `ID3V2TagFrame` | Represents a generic frame in an `ID3V2Tag`. | | `ID3V2TagFrameFlags` | Represents flags used in a ID3v2 tag frame. | | `ID3V2TextFrame` | Represents a text frame in an `ID3V2Tag`.
Almost all frames starting with the T character fall into this category. There is only one exception, which is the TXXX frame represented by the `ID3V2UserDefinedFrame` class. | | `ID3V2UrlLinkFrame` | Represents a URL link frame in an `ID3V2Tag`. Name of the frame always starts with the W character. | | `ID3V2UserDefinedFrame` | Represents a TXXX frame in an `ID3V2Tag`. | | `ID3V2UserDefinedUrlLinkFrame` | Represents a WXXX frame in an `ID3V2Tag`. | | `LyricsField` | Represents a `LyricsTag` field. | | `LyricsTag` | Represents Lyrics3 v2.00 metadata.
Please find more information at [http://id3.org/Lyrics3v2](). | | `MP3RootPackage` | Represents the root package allowing working with metadata in an MP3 audio. | | `WavPackage` | Represents a native metadata package in a WAV audio file. | | `WavRootPackage` | Represents the root package allowing working with metadata in a WAV audio. | ##### Enumerations | Enumeration | Description | | :- | :- | | `ID3V1Genre` | Specifies genres used in an Id3v1 tag. | | `ID3V2AttachedPictureType` | Represents the type of an attached picture. | | `ID3V2EncodingType` | Defines different types of text encoding used in ID3v2. | ### ApePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage.md #### ApePackage class Represents an APE v2 metadata package. Please find more information at [http://wiki.hydrogenaud.io/index.php?title=APE_key](http://wiki.hydrogenaud.io/index.php?title=APE_key). **Inheritance:** `ApePackage` → `CustomPackage` → `MetadataPackage` The ApePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | title | Gets the title. | | subtitle | Gets the subtitle. | | artist | Gets the artist. | | album | Gets the album. | | debut_album | Gets the debut album. | | publisher | Gets the publisher. | | conductor | Gets the conductor. | | track | Gets the track number. | | composer | Gets the composer. | | comment | Gets the comment. | | copyright | Gets the copyright. | | publication_right | Gets the publication right. | | file | Gets the file. | | isbn | Gets the ISBN number with check digit. See more: https://en.wikipedia.org/wiki/International_Standard_Book_Number. | | record_location | Gets the record location. | | genre | Gets the genre. | | isrc | Gets the International Standard Recording Number. | | abstract | Gets the abstract link. | | language | Gets the language. | | bibliography | Gets the bibliography. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to read the APEv2 tag in an MP3 file. ### abstract property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/abstract.md #### abstract property Gets the abstract link. ##### Definition: ```python @property def abstract(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/album.md #### album property Gets the album. ##### Definition: ```python @property def album(self): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/artist.md #### artist property Gets the artist. ##### Definition: ```python @property def artist(self): ... ``` ### bibliography property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/bibliography.md #### bibliography property Gets the bibliography. ##### Definition: ```python @property def bibliography(self): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/comment.md #### comment property Gets the comment. ##### Definition: ```python @property def comment(self): ... ``` ### composer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/composer.md #### composer property Gets the composer. ##### Definition: ```python @property def composer(self): ... ``` ### conductor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/conductor.md #### conductor property Gets the conductor. ##### Definition: ```python @property def conductor(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/copyright.md #### copyright property Gets the copyright. ##### Definition: ```python @property def copyright(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### debut_album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/debut_album.md #### debut_album property Gets the debut album. ##### Definition: ```python @property def debut_album(self): ... ``` ### file property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/file.md #### file property Gets the file. ##### Definition: ```python @property def file(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### genre property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/genre.md #### genre property Gets the genre. ##### Definition: ```python @property def genre(self): ... ``` ### isbn property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/isbn.md #### isbn property Gets the ISBN number with check digit. See more: https://en.wikipedia.org/wiki/International_Standard_Book_Number. ##### Definition: ```python @property def isbn(self): ... ``` ### isrc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/isrc.md #### isrc property Gets the International Standard Recording Number. ##### Definition: ```python @property def isrc(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/language.md #### language property Gets the language. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publication_right property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/publication_right.md #### publication_right property Gets the publication right. ##### Definition: ```python @property def publication_right(self): ... ``` ### publisher property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/publisher.md #### publisher property Gets the publisher. ##### Definition: ```python @property def publisher(self): ... ``` ### record_location property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/record_location.md #### record_location property Gets the record location. ##### Definition: ```python @property def record_location(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subtitle property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/subtitle.md #### subtitle property Gets the subtitle. ##### Definition: ```python @property def subtitle(self): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/title.md #### title property Gets the title. ##### Definition: ```python @property def title(self): ... ``` ### track property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/track.md #### track property Gets the track number. ##### Definition: ```python @property def track(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/apepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ID3Tag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag.md #### ID3Tag class Represents a base abstract class for the ID3(v1) and ID3(v2) audio tags. **Inheritance:** `ID3Tag` → `CustomPackage` → `MetadataPackage` The ID3Tag type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | version | Gets the version of the ID3 tag in string format. For example: 'ID3v1.1'. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3tag/version.md #### version property Gets the version of the ID3 tag in string format. For example: 'ID3v1.1'. ##### Definition: ```python @property def version(self): ... ``` ### ID3V1Genre enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1genre.md #### ID3V1Genre enumeration Specifies genres used in an Id3v1 tag. The ID3V1Genre type exposes the following members: ##### Fields | Field | Description | | :- | :- | | BLUES | Represents the Blues genre. | | CLASSIC_ROCK | Represents the Classic Rock genre. | | COUNTRY | Represents the Country genre. | | DANCE | Represents the Dance genre. | | DISCO | Represents the Disco genre. | | FUNK | Represents the Funk genre. | | GRUNGE | Represents the Grunge genre. | | HIP_HOP | Represents the Hip-Hop genre. | | JAZZ | Represents the Jazz genre. | | METAL | Represents the Metal genre. | | NEW_AGE | Represents the New Age genre. | | OLDIES | Represents the Oldies genre. | | OTHER | Represents the Other genre. | | POP | Represents the Pop genre. | | RHYTHM_AND_BLUES | Represents the Rhythm and Blues genre. | | RAP | Represents the Rap genre. | | REGGAE | Represents the Reggae genre. | | ROCK | Represents the Rock genre. | | TECHNO | Represents the Techno genre. | | INDUSTRIAL | Represents the Industrial genre. | | ALTERNATIVE | Represents the Alternative genre. | | SKA | Represents the Ska genre. | | DEATH_METAL | Represents the Death Metal genre. | | PRANKS | Represents the Pranks genre. | | SOUNDTRACK | Represents the Soundtrack genre. | | EURO_TECHNO | Represents the Euro-Techno genre. | | AMBIENT | Represents the Ambient genre. | | TRIP_HOP | Represents the Trip-Hop genre. | | VOCAL | Represents the Vocal genre. | | JAZZ_AND_FUNK | Represents the JazzAndFunk genre. | | FUSION | Represents the Fusion genre. | | TRANCE | Represents the Trance genre. | | CLASSICAL | Represents the Classical genre. | | INSTRUMENTAL | Represents the Instrumental genre. | | ACID | Represents the Acid genre. | | HOUSE | Represents the House genre. | | GAME | Represents the Game genre. | | SOUND_CLIP | Represents the Sound Clip genre. | | GOSPEL | Represents the Gospel genre. | | NOISE | Represents the Noise genre. | | ALTERNATIVE_ROCK | Represents the Alternative Rock genre. | | BASS | Represents the Bass genre. | | SOUL | Represents the Soul genre. | | PUNK | Represents the Punk genre. | | SPACE | Represents the Space genre. | | MEDITATIVE | Represents the Meditative genre. | | INSTRUMENTAL_POP | Represents the Instrumental Pop genre. | | INSTRUMENTAL_ROCK | Represents the Instrumental Rock genre. | | ETHNIC | Represents the Ethnic genre. | | GOTHIC | Represents the Gothic genre. | | DARKWAVE | Represents the Darkwave genre. | | TECHNO_INDUSTRIAL | Represents the Techno-Industrial genre. | | ELECTRONIC | Represents the Electronic genre. | | POP_FOLK | Represents the Pop-Folk genre. | | EURODANCE | Represents the Eurodance genre. | | DREAM | Represents the Dream genre. | | SOUTHERN_ROCK | Represents the Southern Rock genre. | | COMEDY | Represents the Comedy genre. | | CULT | Represents the Cult genre. | | GANGSTA | Represents the Gangsta genre. | | TOP40 | Represents the Top 40 genre. | | CHRISTIAN_RAP | Represents the Christian Rap genre. | | POP_FUNK | Represents the Pop/Funk genre. | | JUNGLE | Represents the Jungle genre. | | NATIVE_AMERICAN | Represents the Native American genre. | | CABARET | Represents the Cabaret genre. | | NEW_WAVE | Represents the New Wave genre. | | PSYCHEDELIC | Represents the Psychedelic genre. | | RAVE | Represents the Rave genre. | | SHOWTUNES | Represents the Showtunes genre. | | TRAILER | Represents the Trailer genre. | | LO_FI | Represents the Lo-Fi genre. | | TRIBAL | Represents the Tribal genre. | | ACID_PUNK | Represents the Acid Punk genre. | | ACID_JAZZ | Represents the Acid Jazz genre. | | POLKA | Represents the Polka genre. | | RETRO | Represents the Retro genre. | | MUSICAL | Represents the Musical genre. | | ROCK_N_ROLL | Represents the Rock 'n' Roll genre. | | HARD_ROCK | Represents the Hard Rock genre. | ### ID3V1Tag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag.md #### ID3V1Tag class Represents an ID3v1 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v1](https://en.wikipedia.org/wiki/ID3#ID3v1). **Inheritance:** `ID3V1Tag` → `ID3Tag` → `CustomPackage` → `MetadataPackage` The ID3V1Tag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `ID3V1Tag` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | version | Gets the ID3 version. It can be ID3 or ID3v1.1 | | artist | Gets or sets the artist. Maximum length is 30 characters. | | album | Gets or sets the album. Maximum length is 30 characters. | | genre_value | Gets or sets the genre identifier. | | comment | Gets or sets the comment. Maximum length is 30 characters. | | title | Gets or sets the title. | | year | Gets or sets the year. Maximum length is 4 characters. | | track_number | Gets or sets the track number. Presented in a ID3v1.1 tag only. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks ID3(v1) tag is a small chunk of extra data at the end of MP3. Please find more information at [http://id3.org/ID3v1](http://id3.org/ID3v1). **Learn more** | | | ##### Example This code sample shows how to read the ID3v1 tag in an MP3 file. ### ID3V1Tag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `ID3V1Tag` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/album.md #### album property Gets or sets the album. Maximum length is 30 characters. ##### Definition: ```python @property def album(self): ... @album.setter def album(self, value): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/artist.md #### artist property Gets or sets the artist. Maximum length is 30 characters. ##### Definition: ```python @property def artist(self): ... @artist.setter def artist(self, value): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/comment.md #### comment property Gets or sets the comment. Maximum length is 30 characters. ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### genre_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/genre_value.md #### genre_value property Gets or sets the genre identifier. ##### Definition: ```python @property def genre_value(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/title.md #### title property Gets or sets the title. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### track_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/track_number.md #### track_number property Gets or sets the track number. Presented in a ID3v1.1 tag only. ##### Remarks If the value of `ID3V1Tag.track_number` is a positive integer then ID3 changes version to 'ID3v1.1' automatically. ##### Definition: ```python @property def track_number(self): ... @track_number.setter def track_number(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/version.md #### version property Gets the ID3 version. It can be ID3 or ID3v1.1 ##### Definition: ```python @property def version(self): ... ``` ### year property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v1tag/year.md #### year property Gets or sets the year. Maximum length is 4 characters. ##### Definition: ```python @property def year(self): ... @year.setter def year(self, value): ... ``` ### ID3V2AttachedPictureFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe.md #### ID3V2AttachedPictureFrame class Represents an APIC frame in an `ID3V2Tag`. **Inheritance:** `ID3V2AttachedPictureFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2AttachedPictureFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, encoding, mime_type, picture_type, description, picture_data)` | Initializes a new instance of the `ID3V2AttachedPictureFrame` class. | | `__init__(self, picture_type, description, picture_data)` | Initializes a new instance of the `ID3V2AttachedPictureFrame` class. | | `__init__(self, picture_data)` | Initializes a new instance of the `ID3V2AttachedPictureFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | description_encoding | Gets the encoding used to encode the picture description. | | mime_type | Gets the MIME type of the picture. | | attached_picture_type | Gets the type of the picture. | | description | Gets the picture description.
The description has a maximum length of 64 characters, but may be empty. | | picture_data | Gets the picture data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### ID3V2AttachedPictureFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/__init__.md #### \_\_init\_\_(self, picture_data) Initializes a new instance of the `ID3V2AttachedPictureFrame` class. ```python def __init__(self, picture_data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | picture_data | bytes | The picture data. | #### \_\_init\_\_(self, picture_type, description, picture_data) Initializes a new instance of the `ID3V2AttachedPictureFrame` class. ```python def __init__(self, picture_type, description, picture_data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | picture_type | groupdocs.metadata.formats.audio.ID3V2AttachedPictureType | The type of the picture. | | description | System.String | The description of the picture. | | picture_data | bytes | The picture data. | #### \_\_init\_\_(self, encoding, mime_type, picture_type, description, picture_data) Initializes a new instance of the `ID3V2AttachedPictureFrame` class. ```python def __init__(self, encoding, mime_type, picture_type, description, picture_data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | encoding | groupdocs.metadata.formats.audio.ID3V2EncodingType | The frame encoding. | | mime_type | System.String | The MIME-type of the image. | | picture_type | groupdocs.metadata.formats.audio.ID3V2AttachedPictureType | The type of the picture. | | description | System.String | The description of the picture. | | picture_data | bytes | The picture data. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### attached_picture_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/attached_picture_type.md #### attached_picture_type property Gets the type of the picture. ##### Definition: ```python @property def attached_picture_type(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/description.md #### description property Gets the picture description. The description has a maximum length of 64 characters, but may be empty. ##### Definition: ```python @property def description(self): ... ``` ### description_encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/description_encoding.md #### description_encoding property Gets the encoding used to encode the picture description. ##### Definition: ```python @property def description_encoding(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/mime_type.md #### mime_type property Gets the MIME type of the picture. ##### Definition: ```python @property def mime_type(self): ... ``` ### picture_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/picture_data.md #### picture_data property Gets the picture data. ##### Definition: ```python @property def picture_data(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpictureframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ID3V2AttachedPictureType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2attachedpicturetype.md #### ID3V2AttachedPictureType enumeration Represents the type of an attached picture. The ID3V2AttachedPictureType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | OTHER | Attached picture of any other type. | | FILE_ICON_32X32 | 32x32 pixels file icon (PNG only). | | OTHER_FILE_ICON | Other file icon. | | COVER_FRONT | Cover (front). | | COVER_BACK | Cover (back). | | LEAFLET_PAGE | Leaflet page. | | MEDIA | Media (e.g. label side of CD). | | LEAD_ARTIST | Lead artist/lead performer/soloist. | | ARTIST | Artist/performer. | | CONDUCTOR | Conductor. | | BAND | Band/Orchestra. | | COMPOSER | Composer/music author. | | LYRICIST | Lyricist/text writer. | | RECORDING_LOCATION | Recording Location. | | DURING_RECORDING | During recording. | | DURING_PERFORMANCE | During performance. | | VIDEO_SCREEN_CAPTURE | Movie/video screen capture. | | BRIGHT_COLOURED_FISH | A bright coloured fish. | | ILLUSTRATION | Illustration. | | ARTIST_LOGO | Band/artist logotype. | | STUDIO_LOGO | Publisher/Studio logotype. | ### ID3V2CommentFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe.md #### ID3V2CommentFrame class Represents a COMM frame in an `ID3V2Tag`. **Inheritance:** `ID3V2CommentFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2CommentFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, encoding, language, description, text)` | Initializes a new instance of the `ID3V2CommentFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | comment_encoding | Gets the encoding of the comment. | | language | Gets the language of the comment (3 characters). | | short_content_description | Gets the short content description. | | text | Gets the text of the comment. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks This frame is intended for any kind of full text information that does not fit in any other frame. **Learn more** | | | ### ID3V2CommentFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/__init__.md #### \_\_init\_\_(self, encoding, language, description, text) Initializes a new instance of the `ID3V2CommentFrame` class. ```python def __init__(self, encoding, language, description, text): ... ``` | Parameter | Type | Description | | :- | :- | :- | | encoding | groupdocs.metadata.formats.audio.ID3V2EncodingType | The encoding of the comment. | | language | System.String | The language of the comment. | | description | System.String | A short content description. | | text | System.String | The text of the comment. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### comment_encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/comment_encoding.md #### comment_encoding property Gets the encoding of the comment. ##### Definition: ```python @property def comment_encoding(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/language.md #### language property Gets the language of the comment (3 characters). ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### short_content_description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/short_content_description.md #### short_content_description property Gets the short content description. ##### Definition: ```python @property def short_content_description(self): ... ``` ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/text.md #### text property Gets the text of the comment. ##### Definition: ```python @property def text(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2commentframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ID3V2EncodingType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2encodingtype.md #### ID3V2EncodingType enumeration Defines different types of text encoding used in ID3v2. The ID3V2EncodingType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ISO88591 | The ISO-8859-1 encoding. | | UTF16 | The UTF-16 encoding with BOM. | | UTF_16_BE | The UTF-16 encoding without BOM. | | UTF8 | The UTF-8 encoding. | ### ID3V2MlltFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe.md #### ID3V2MlltFrame class Represents an MLLT frame in an `ID3V2Tag`. **Inheritance:** `ID3V2MlltFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2MlltFrame type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2mlltframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ID3V2PlayCounterFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe.md #### ID3V2PlayCounterFrame class Represents a PCNT frame in an `ID3V2Tag`. This is simply a counter of the number of times a file has been played. **Inheritance:** `ID3V2PlayCounterFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2PlayCounterFrame type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | value | Gets the number of times the file has been played. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2playcounterframe/value.md #### value property Gets the number of times the file has been played. ##### Definition: ```python @property def value(self): ... ``` ### ID3V2PrivateFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe.md #### ID3V2PrivateFrame class Represents a PRIV frame in an `ID3V2Tag`. The frame is used to contain information from a software producer that its program uses and does not fit into the other frames. **Inheritance:** `ID3V2PrivateFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2PrivateFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, owner_identifier, data)` | Initializes a new instance of the `ID3V2PrivateFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | owner_identifier | Gets the owner identifier. | | binary_data | Gets the binary data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### ID3V2PrivateFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/__init__.md #### \_\_init\_\_(self, owner_identifier, data) Initializes a new instance of the `ID3V2PrivateFrame` class. ```python def __init__(self, owner_identifier, data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | owner_identifier | System.String | The owner identifier. | | data | bytes | Frame binary data. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### binary_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/binary_data.md #### binary_data property Gets the binary data. ##### Definition: ```python @property def binary_data(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### owner_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/owner_identifier.md #### owner_identifier property Gets the owner identifier. ##### Definition: ```python @property def owner_identifier(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2privateframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ID3V2Tag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag.md #### ID3V2Tag class Represents an ID3v2 tag. Please find more information at [https://en.wikipedia.org/wiki/ID3#ID3v2](https://en.wikipedia.org/wiki/ID3#ID3v2). **Inheritance:** `ID3V2Tag` → `ID3Tag` → `CustomPackage` → `MetadataPackage` The ID3V2Tag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `ID3V2Tag` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | version | Gets the ID3 version. | | tag_size | Gets the size of the tag. | | album | Gets or sets the Album/Movie/Show title.
This value is represented by the TALB frame. | | artist | Gets or sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group.
This value is represented by the TPE1 frame. | | band | Gets or sets the Band/Orchestra/Accompaniment.
This value is represented by the TPE2 frame. | | bits_per_minute | Gets or sets the number of beats per minute in the main part of the audio.
This value is represented by the TBPM frame. | | composers | Gets or sets the composers. The names are separated with the "/" character.
This value is represented by the TCOM frame. | | content_type | Gets or sets the content type.
This value is represented by the TCON frame. | | copyright | Gets or sets the copyright message.
This value is represented by the TCOP frame. | | date | Gets or sets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long.
This value is represented by the TDAT frame. | | encoded_by | Gets or sets the name of the person or organization that encoded the audio file.
This value is represented by the TENC frame. | | publisher | Gets or sets the name of the label or publisher.
This value is represented by the TPUB frame. | | time | Gets or sets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long.
This value is represented by the TIME frame. | | title | Gets or sets the Title/Song name/Content description.
This value is represented by the TIT2 frame. | | subtitle | Gets or sets the Subtitle/Description refinement.
This value is represented by the TIT3 frame. | | musical_key | Gets or sets the musical key in which the sound starts.
This value is represented by the TKEY frame. | | length_in_milliseconds | Gets or sets the length of the audio file in milliseconds, represented as a numeric string.
This value is represented by the TLEN frame. | | original_album | Gets or sets the original album/movie/show title.
This value is represented by the TOAL frame. | | track_number | Gets or sets a numeric string containing the order number of the audio-file on its original recording.
This value is represented by the TRCK frame. | | size_in_bytes | Gets or sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string.
This value is represented by the TSIZ frame. | | isrc | Gets or sets the International Standard Recording Code (ISRC) (12 characters).
This value is represented by the TSRC frame. | | software_hardware | Gets or sets the used audio encoder and its settings when the file was encoded.
This value is represented by the TSSE frame. | | year | Gets or sets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000).
This value is represented by the TYER frame. | | comments | Gets or sets the user comments.
This value is represented by the COMM frame.
The frame is intended for any kind of full text information that does not fit in any other frame. | | attached_pictures | Gets or sets the attached pictures directly related to the audio file.
This value is represented by the APIC frame. | | track_play_counter | Gets the number of times the file has been played.
This value is represented by the PCNT frame. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove_attached_pictures(self)` | Removes all attached pictures stored in APIC frames. | | `get(self, frame_id)` | Gets an array of frames with the specified id. | | `set(self, frame)` | Removes all frames having the same id as the specified one and adds the new frame to the tag. | | `clear(self, frame_id)` | Removes all frames with the specified id. | | `add(self, frame)` | Adds a frame to the tag. | | `remove(self, frame)` | Removes the specified frame from the tag. | ##### Remarks **Learn more** | | | ##### Example This example shows how to read the ID3v2 tag in an MP3 file. ### ID3V2Tag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `ID3V2Tag` class. ```python def __init__(self): ... ``` ### add method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/add.md #### add(self, frame) Adds a frame to the tag. ```python def add(self, frame): ... ``` | Parameter | Type | Description | | :- | :- | :- | | frame | groupdocs.metadata.formats.audio.ID3V2TagFrame | The frame to be added to the tag. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentException | The provided frame is incompatible with the existing frames of the same kind. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/album.md #### album property Gets or sets the Album/Movie/Show title. This value is represented by the TALB frame. ##### Definition: ```python @property def album(self): ... @album.setter def album(self, value): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/artist.md #### artist property Gets or sets the Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group. This value is represented by the TPE1 frame. ##### Definition: ```python @property def artist(self): ... @artist.setter def artist(self, value): ... ``` ### attached_pictures property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/attached_pictures.md #### attached_pictures property Gets or sets the attached pictures directly related to the audio file. This value is represented by the APIC frame. ##### Definition: ```python @property def attached_pictures(self): ... @attached_pictures.setter def attached_pictures(self, value): ... ``` ### band property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/band.md #### band property Gets or sets the Band/Orchestra/Accompaniment. This value is represented by the TPE2 frame. ##### Definition: ```python @property def band(self): ... @band.setter def band(self, value): ... ``` ### bits_per_minute property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/bits_per_minute.md #### bits_per_minute property Gets or sets the number of beats per minute in the main part of the audio. This value is represented by the TBPM frame. ##### Definition: ```python @property def bits_per_minute(self): ... @bits_per_minute.setter def bits_per_minute(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/clear.md #### clear(self, frame_id) Removes all frames with the specified id. ```python def clear(self, frame_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | frame_id | System.String | The id of the frames to remove. | ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/comments.md #### comments property Gets or sets the user comments. This value is represented by the COMM frame. The frame is intended for any kind of full text information that does not fit in any other frame. ##### Definition: ```python @property def comments(self): ... @comments.setter def comments(self, value): ... ``` ### composers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/composers.md #### composers property Gets or sets the composers. The names are separated with the "/" character. This value is represented by the TCOM frame. ##### Definition: ```python @property def composers(self): ... @composers.setter def composers(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/content_type.md #### content_type property Gets or sets the content type. This value is represented by the TCON frame. ##### Definition: ```python @property def content_type(self): ... @content_type.setter def content_type(self, value): ... ``` ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/copyright.md #### copyright property Gets or sets the copyright message. This value is represented by the TCOP frame. ##### Remarks Every time this field is displayed the field must be preceded with "Copyright © ". ##### Definition: ```python @property def copyright(self): ... @copyright.setter def copyright(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/date.md #### date property Gets or sets a numeric string in the DDMM format containing the date for the recording. This field is always four characters long. This value is represented by the TDAT frame. ##### Definition: ```python @property def date(self): ... @date.setter def date(self, value): ... ``` ### encoded_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/encoded_by.md #### encoded_by property Gets or sets the name of the person or organization that encoded the audio file. This value is represented by the TENC frame. ##### Definition: ```python @property def encoded_by(self): ... @encoded_by.setter def encoded_by(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/get.md #### get(self, frame_id) Gets an array of frames with the specified id. ##### Returns An array of frames with the specified id. ```python def get(self, frame_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | frame_id | System.String | The id of the frames to get. | ### isrc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/isrc.md #### isrc property Gets or sets the International Standard Recording Code (ISRC) (12 characters). This value is represented by the TSRC frame. ##### Definition: ```python @property def isrc(self): ... @isrc.setter def isrc(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### length_in_milliseconds property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/length_in_milliseconds.md #### length_in_milliseconds property Gets or sets the length of the audio file in milliseconds, represented as a numeric string. This value is represented by the TLEN frame. ##### Definition: ```python @property def length_in_milliseconds(self): ... @length_in_milliseconds.setter def length_in_milliseconds(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### musical_key property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/musical_key.md #### musical_key property Gets or sets the musical key in which the sound starts. This value is represented by the TKEY frame. ##### Definition: ```python @property def musical_key(self): ... @musical_key.setter def musical_key(self, value): ... ``` ### original_album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/original_album.md #### original_album property Gets or sets the original album/movie/show title. This value is represented by the TOAL frame. ##### Definition: ```python @property def original_album(self): ... @original_album.setter def original_album(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publisher property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/publisher.md #### publisher property Gets or sets the name of the label or publisher. This value is represented by the TPUB frame. ##### Definition: ```python @property def publisher(self): ... @publisher.setter def publisher(self, value): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/remove.md #### remove(self, frame) Removes the specified frame from the tag. ```python def remove(self, frame): ... ``` | Parameter | Type | Description | | :- | :- | :- | | frame | groupdocs.metadata.formats.audio.ID3V2TagFrame | The frame to be removed from the tag. | ### remove_attached_pictures method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/remove_attached_pictures.md #### remove_attached_pictures(self) Removes all attached pictures stored in APIC frames. ```python def remove_attached_pictures(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/set.md #### set(self, frame) Removes all frames having the same id as the specified one and adds the new frame to the tag. ```python def set(self, frame): ... ``` | Parameter | Type | Description | | :- | :- | :- | | frame | groupdocs.metadata.formats.audio.ID3V2TagFrame | The frame to replace all frames of its kind with. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### size_in_bytes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/size_in_bytes.md #### size_in_bytes property Gets or sets the size of the audio file in bytes, excluding the ID3v2 tag, represented as a numeric string. This value is represented by the TSIZ frame. ##### Definition: ```python @property def size_in_bytes(self): ... @size_in_bytes.setter def size_in_bytes(self, value): ... ``` ### software_hardware property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/software_hardware.md #### software_hardware property Gets or sets the used audio encoder and its settings when the file was encoded. This value is represented by the TSSE frame. ##### Definition: ```python @property def software_hardware(self): ... @software_hardware.setter def software_hardware(self, value): ... ``` ### subtitle property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/subtitle.md #### subtitle property Gets or sets the Subtitle/Description refinement. This value is represented by the TIT3 frame. ##### Definition: ```python @property def subtitle(self): ... @subtitle.setter def subtitle(self, value): ... ``` ### tag_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/tag_size.md #### tag_size property Gets the size of the tag. ##### Definition: ```python @property def tag_size(self): ... ``` ### time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/time.md #### time property Gets or sets a numeric string in the HHMM format containing the time for the recording. This field is always four characters long. This value is represented by the TIME frame. ##### Definition: ```python @property def time(self): ... @time.setter def time(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/title.md #### title property Gets or sets the Title/Song name/Content description. This value is represented by the TIT2 frame. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list of all frames contained in the ID3v2 tag. ```python def to_list(self): ... ``` ### track_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/track_number.md #### track_number property Gets or sets a numeric string containing the order number of the audio-file on its original recording. This value is represented by the TRCK frame. ##### Definition: ```python @property def track_number(self): ... @track_number.setter def track_number(self, value): ... ``` ### track_play_counter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/track_play_counter.md #### track_play_counter property Gets the number of times the file has been played. This value is represented by the PCNT frame. ##### Definition: ```python @property def track_play_counter(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/version.md #### version property Gets the ID3 version. ##### Definition: ```python @property def version(self): ... ``` ### year property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tag/year.md #### year property Gets or sets a numeric string with a year of the recording. This frames is always four characters long (until the year 10000). This value is represented by the TYER frame. ##### Definition: ```python @property def year(self): ... @year.setter def year(self, value): ... ``` ### ID3V2TagFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe.md #### ID3V2TagFrame class Represents a generic frame in an `ID3V2Tag`. **Inheritance:** `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2TagFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, frame_id, data)` | Initializes a new instance of the `ID3V2TagFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### ID3V2TagFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/__init__.md #### \_\_init\_\_(self, frame_id, data) Initializes a new instance of the `ID3V2TagFrame` class. ```python def __init__(self, frame_id, data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | frame_id | System.String | The id of the frame (four characters matching the pattern [A-Z0-9]). | | data | bytes | The content of the frame. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ID3V2TagFrameFlags class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags.md #### ID3V2TagFrameFlags class Represents flags used in a ID3v2 tag frame. The ID3V2TagFrameFlags type exposes the following members: ##### Properties | Property | Description | | :- | :- | | tag_alter_preservation | Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way.
This applies to all kinds of alterations,
including adding more padding and reordering the frames. | | file_alter_preservation | Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered.
This does not apply when the audio is completely replaced with other audio data. | | read_only | Gets the tag that tells the software that the contents of this frame is intended to be read-only. | | compression | Gets a value indicating whether the frame is compressed. | | encryption | Gets a value indicating whether the frame is encrypted.
If set one byte indicating with which method it was encrypted will be appended to the frame header. | | grouping_identity | Gets a value indicating whether the frame belongs to a group of frames.
If set a group identifier byte is added to the frame header.
Every frame with the same group identifier belongs to the same group. | | unsynchronisation | Gets a value indicating whether unsynchronisation was applied to this frame. | | data_length_indicator | Gets a value indicating whether a data length indicator has been added to
the frame. The data length indicator is the value one would write
as the 'Frame length' if all of the frame format flags were
zeroed, represented as a 32 bit synchsafe integer. | ##### Methods | Method | Description | | :- | :- | | `equals(self, other)` | Indicates whether the current object is equal to another object of the same type. | ### compression property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/compression.md #### compression property Gets a value indicating whether the frame is compressed. ##### Definition: ```python @property def compression(self): ... ``` ### data_length_indicator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/data_length_indicator.md #### data_length_indicator property Gets a value indicating whether a data length indicator has been added to the frame. The data length indicator is the value one would write as the 'Frame length' if all of the frame format flags were zeroed, represented as a 32 bit synchsafe integer. ##### Definition: ```python @property def data_length_indicator(self): ... ``` ### encryption property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/encryption.md #### encryption property Gets a value indicating whether the frame is encrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. ##### Definition: ```python @property def encryption(self): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/equals.md #### equals(self, other) Indicates whether the current object is equal to another object of the same type. ##### Returns true if the current object is equal to the `other` parameter; otherwise, false. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.formats.audio.ID3V2TagFrameFlags | An object to compare with this object. | ### file_alter_preservation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/file_alter_preservation.md #### file_alter_preservation property Gets the flag that tells the software what to do with this frame if it is unknown and the file, excluding the tag, is altered. This does not apply when the audio is completely replaced with other audio data. ##### Definition: ```python @property def file_alter_preservation(self): ... ``` ### grouping_identity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/grouping_identity.md #### grouping_identity property Gets a value indicating whether the frame belongs to a group of frames. If set a group identifier byte is added to the frame header. Every frame with the same group identifier belongs to the same group. ##### Definition: ```python @property def grouping_identity(self): ... ``` ### read_only property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/read_only.md #### read_only property Gets the tag that tells the software that the contents of this frame is intended to be read-only. ##### Definition: ```python @property def read_only(self): ... ``` ### tag_alter_preservation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/tag_alter_preservation.md #### tag_alter_preservation property Gets the flag that tells the software what to do with this frame if it is unknown and the tag is altered in any way. This applies to all kinds of alterations, including adding more padding and reordering the frames. ##### Definition: ```python @property def tag_alter_preservation(self): ... ``` ### unsynchronisation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2tagframeflags/unsynchronisation.md #### unsynchronisation property Gets a value indicating whether unsynchronisation was applied to this frame. ##### Definition: ```python @property def unsynchronisation(self): ... ``` ### ID3V2TextFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe.md #### ID3V2TextFrame class Represents a text frame in an `ID3V2Tag`. Almost all frames starting with the T character fall into this category. There is only one exception, which is the TXXX frame represented by the `ID3V2UserDefinedFrame` class. **Inheritance:** `ID3V2TextFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2TextFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, id, encoding, value)` | Initializes a new instance of the `ID3V2TextFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | text_encoding | Gets the text encoding. | | text | Gets the text value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### ID3V2TextFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/__init__.md #### \_\_init\_\_(self, id, encoding, value) Initializes a new instance of the `ID3V2TextFrame` class. ```python def __init__(self, id, encoding, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | id | System.String | The frame id. | | encoding | groupdocs.metadata.formats.audio.ID3V2EncodingType | The encoding of the frame. | | value | System.String | The frame value. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/text.md #### text property Gets the text value. ##### Definition: ```python @property def text(self): ... ``` ### text_encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/text_encoding.md #### text_encoding property Gets the text encoding. ##### Definition: ```python @property def text_encoding(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2textframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ID3V2UrlLinkFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe.md #### ID3V2UrlLinkFrame class Represents a URL link frame in an `ID3V2Tag`. Name of the frame always starts with the W character. **Inheritance:** `ID3V2UrlLinkFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2UrlLinkFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, id, url)` | Initializes a new instance of the `ID3V2UrlLinkFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | url | Gets the URL value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### ID3V2UrlLinkFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/__init__.md #### \_\_init\_\_(self, id, url) Initializes a new instance of the `ID3V2UrlLinkFrame` class. ```python def __init__(self, id, url): ... ``` | Parameter | Type | Description | | :- | :- | :- | | id | System.String | The frame id. | | url | System.String | The URL which is the value of the frame. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### url property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2urllinkframe/url.md #### url property Gets the URL value. ##### Definition: ```python @property def url(self): ... ``` ### ID3V2UserDefinedFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe.md #### ID3V2UserDefinedFrame class Represents a TXXX frame in an `ID3V2Tag`. **Inheritance:** `ID3V2UserDefinedFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2UserDefinedFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, description, value)` | Initializes a new instance of the `ID3V2UserDefinedFrame` class. | | `__init__(self, encoding, description, value)` | Initializes a new instance of the `ID3V2UserDefinedFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | encoding | Gets the encoding of the frame. | | description | Gets the description. | | value | Gets the value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### ID3V2UserDefinedFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/__init__.md #### \_\_init\_\_(self, description, value) Initializes a new instance of the `ID3V2UserDefinedFrame` class. ```python def __init__(self, description, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | description | System.String | The description. | | value | System.String | The value. | #### \_\_init\_\_(self, encoding, description, value) Initializes a new instance of the `ID3V2UserDefinedFrame` class. ```python def __init__(self, encoding, description, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | encoding | groupdocs.metadata.formats.audio.ID3V2EncodingType | The encoding of the frame. | | description | System.String | The description. | | value | System.String | The text value. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/description.md #### description property Gets the description. ##### Definition: ```python @property def description(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/encoding.md #### encoding property Gets the encoding of the frame. ##### Definition: ```python @property def encoding(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedframe/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### ID3V2UserDefinedUrlLinkFrame class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe.md #### ID3V2UserDefinedUrlLinkFrame class Represents a WXXX frame in an `ID3V2Tag`. **Inheritance:** `ID3V2UserDefinedUrlLinkFrame` → `ID3V2TagFrame` → `CustomPackage` → `MetadataPackage` The ID3V2UserDefinedUrlLinkFrame type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, description, url)` | Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. | | `__init__(self, encoding, description, url)` | Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the id of the frame (four characters matching the pattern [A-Z0-9]). | | flags | Gets the frame flags. | | data | Gets the frame data. | | encoding | Gets the encoding of the frame. | | description | Gets the description. | | url | Gets the URL. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### ID3V2UserDefinedUrlLinkFrame constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/__init__.md #### \_\_init\_\_(self, description, url) Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. ```python def __init__(self, description, url): ... ``` | Parameter | Type | Description | | :- | :- | :- | | description | System.String | The description. | | url | System.String | The actual value of the frame. | #### \_\_init\_\_(self, encoding, description, url) Initializes a new instance of the `ID3V2UserDefinedUrlLinkFrame` class. ```python def __init__(self, encoding, description, url): ... ``` | Parameter | Type | Description | | :- | :- | :- | | encoding | groupdocs.metadata.formats.audio.ID3V2EncodingType | The encoding of the frame. | | description | System.String | The description. | | url | System.String | The actual value of the frame. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/data.md #### data property Gets the frame data. ##### Definition: ```python @property def data(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/description.md #### description property Gets the description. ##### Definition: ```python @property def description(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/encoding.md #### encoding property Gets the encoding of the frame. ##### Definition: ```python @property def encoding(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/flags.md #### flags property Gets the frame flags. ##### Definition: ```python @property def flags(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/id.md #### id property Gets the id of the frame (four characters matching the pattern [A-Z0-9]). ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### url property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/id3v2userdefinedurllinkframe/url.md #### url property Gets the URL. ##### Definition: ```python @property def url(self): ... ``` ### LyricsField class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield.md #### LyricsField class Represents a `LyricsTag` field. **Inheritance:** `LyricsField` → `MetadataProperty` The LyricsField type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, id, data)` | Initializes a new instance of the `LyricsField` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | id | Gets the id of the field (it's always three characters long). | | size | Gets the string representation of the field size. | | data | Gets the field data. | ##### Remarks **Learn more** | | | ### LyricsField constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/__init__.md #### \_\_init\_\_(self, id, data) Initializes a new instance of the `LyricsField` class. ```python def __init__(self, id, data): ... ``` | Parameter | Type | Description | | :- | :- | :- | | id | System.String | The three character field id. | | data | System.String | The field data. | ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/data.md #### data property Gets the field data. ##### Definition: ```python @property def data(self): ... ``` ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/id.md #### id property Gets the id of the field (it's always three characters long). ##### Definition: ```python @property def id(self): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/size.md #### size property Gets the string representation of the field size. ##### Definition: ```python @property def size(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricsfield/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### LyricsTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag.md #### LyricsTag class Represents Lyrics3 v2.00 metadata. Please find more information at [http://id3.org/Lyrics3v2](). **Inheritance:** `LyricsTag` → `CustomPackage` → `MetadataPackage` The LyricsTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `LyricsTag` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | lyrics | Gets or sets the lyrics.
This value is represented by the LYR field. | | additional_info | Gets or sets the additional information.
This value is represented by the INF field. | | author | Gets or sets the author.
This value is represented by the AUT field. | | album | Gets or sets the album name.
This value is represented by the EAL field. | | artist | Gets or sets the artist name.
This value is represented by the EAR field. | | track | Gets or sets the track title.
This value is represented by the ETT field. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `set(self, field)` | Adds or replaces the specified Lyrics3 field. | | `remove(self, id)` | Removes the field with the specified id. | | `get(self, id)` | Gets the value of the field with the specified id. | | `to_list(self)` | Creates a list from the package. | ##### Remarks Lyrics3 v2.00 uses fields to represent information. The data in a field can consist of ASCII characters in the range 01 to 254 according to the standard. As the ASCII character map is only defined from 00 to 128 ISO-8859-1 might be assumed. Numerical fields are 5 or 6 characters long, depending on location, and are padded with zeroes. **Learn more** | | | ##### Example This code sample shows how to read the Lyrics tag from an MP3 file. ### LyricsTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `LyricsTag` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### additional_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/additional_info.md #### additional_info property Gets or sets the additional information. This value is represented by the INF field. ##### Remarks This is always three (3) characters long in v2.00, but might be longer in a future standard. The first byte indicates weather or not a lyrics field is present. "1" for present and "0" for otherwise. The second character indicates if there is a timestamp in the lyrics. Again "1" for yes and "0" for no. The third character inhibits tracks for random selection - "1" if inhibited and "0" if not. ##### Definition: ```python @property def additional_info(self): ... @additional_info.setter def additional_info(self, value): ... ``` ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/album.md #### album property Gets or sets the album name. This value is represented by the EAL field. ##### Definition: ```python @property def album(self): ... @album.setter def album(self, value): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/artist.md #### artist property Gets or sets the artist name. This value is represented by the EAR field. ##### Definition: ```python @property def artist(self): ... @artist.setter def artist(self, value): ... ``` ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/author.md #### author property Gets or sets the author. This value is represented by the AUT field. ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/get.md #### get(self, id) Gets the value of the field with the specified id. ##### Returns The value if the tag contains a field with the specified id; otherwise, null. ```python def get(self, id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | id | System.String | The id of the field. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lyrics property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/lyrics.md #### lyrics property Gets or sets the lyrics. This value is represented by the LYR field. ##### Definition: ```python @property def lyrics(self): ... @lyrics.setter def lyrics(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/remove.md #### remove(self, id) Removes the field with the specified id. ```python def remove(self, id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | id | System.String | The field identifier. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/set.md #### set(self, field) Adds or replaces the specified Lyrics3 field. ```python def set(self, field): ... ``` | Parameter | Type | Description | | :- | :- | :- | | field | groupdocs.metadata.formats.audio.LyricsField | The field to be set. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list of all fields contained in the Lyrics3 tag. ```python def to_list(self): ... ``` ### track property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/track.md #### track property Gets or sets the track title. This value is represented by the ETT field. ##### Definition: ```python @property def track(self): ... @track.setter def track(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/lyricstag/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MP3RootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage.md #### MP3RootPackage class Represents the root package allowing working with metadata in an MP3 audio. **Inheritance:** `MP3RootPackage` → `RootMetadataPackage` → `MetadataPackage` The MP3RootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | mpeg_audio_package | Gets the MPEG audio metadata package. | | id3v1 | Gets or sets the ID3v1 metadata tag.
Please find more information at [http://id3.org/ID3v1](http://id3.org/ID3v1). | | id3v2 | Gets or sets the ID3v2 metadata tag. | | lyrics_3v2 | Gets or sets the Lyrics3v2 metadata tag. | | ape_v2 | Gets the APE v2 metadata. | | xmp_package | Gets or sets the XMP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove_ape_v2(self)` | Removes the APEv2 audio tag. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### ape_v2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/ape_v2.md #### ape_v2 property Gets the APE v2 metadata. ##### Example This example demonstrates how to read the APEv2 tag in an MP3 file. ##### Definition: ```python @property def ape_v2(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### id3v1 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/id3v1.md #### id3v1 property Gets or sets the ID3v1 metadata tag. Please find more information at [http://id3.org/ID3v1](http://id3.org/ID3v1). ##### Remarks The ID3(v1) tag is a small chunk of extra data at the end of an MP3 file. ##### Example This code sample shows how to update the ID3v1 tag in an MP3 file. ##### Definition: ```python @property def id3v1(self): ... @id3v1.setter def id3v1(self, value): ... ``` ### id3v2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/id3v2.md #### id3v2 property Gets or sets the ID3v2 metadata tag. ##### Example The code sample shows how to update the ID3v2 tag in an MP3 file. ##### Definition: ```python @property def id3v2(self): ... @id3v2.setter def id3v2(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lyrics_3v2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/lyrics_3v2.md #### lyrics_3v2 property Gets or sets the Lyrics3v2 metadata tag. ##### Example This example shows how to update the Lyrics tag in an MP3 file ##### Definition: ```python @property def lyrics_3v2(self): ... @lyrics_3v2.setter def lyrics_3v2(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mpeg_audio_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/mpeg_audio_package.md #### mpeg_audio_package property Gets the MPEG audio metadata package. ##### Example This example demonstrates how to read MPEG audio metadata from an MP3 file. ##### Definition: ```python @property def mpeg_audio_package(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_ape_v2 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/remove_ape_v2.md #### remove_ape_v2(self) Removes the APEv2 audio tag. ```python def remove_ape_v2(self): ... ``` ##### Remarks This feature is not available in trial mode. ##### Example This example shows how to remove the APEv2 tag from an MP3 file. ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/mp3rootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### WavPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage.md #### WavPackage class Represents a native metadata package in a WAV audio file. **Inheritance:** `WavPackage` → `CustomPackage` → `MetadataPackage` The WavPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `WavPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | audio_format | Gets the audio format.
PCM = 1 (i.e. Linear quantization). Values other than 1 indicate some form of compression. | | number_of_channels | Gets the number of channels. | | sample_rate | Gets the sample rate. | | byte_rate | Gets the byte rate. | | block_align | Gets the block align. | | bits_per_sample | Gets the bits per sample value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to extract technical audio information from a WAV file. ### WavPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `WavPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### audio_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/audio_format.md #### audio_format property Gets the audio format. PCM = 1 (i.e. Linear quantization). Values other than 1 indicate some form of compression. ##### Definition: ```python @property def audio_format(self): ... ``` ### bits_per_sample property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/bits_per_sample.md #### bits_per_sample property Gets the bits per sample value. ##### Definition: ```python @property def bits_per_sample(self): ... ``` ### block_align property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/block_align.md #### block_align property Gets the block align. ##### Definition: ```python @property def block_align(self): ... ``` ### byte_rate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/byte_rate.md #### byte_rate property Gets the byte rate. ##### Definition: ```python @property def byte_rate(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### number_of_channels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/number_of_channels.md #### number_of_channels property Gets the number of channels. ##### Definition: ```python @property def number_of_channels(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sample_rate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/sample_rate.md #### sample_rate property Gets the sample rate. ##### Definition: ```python @property def sample_rate(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### WavRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage.md #### WavRootPackage class Represents the root package allowing working with metadata in a WAV audio. **Inheritance:** `WavRootPackage` → `RootMetadataPackage` → `MetadataPackage` The WavRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | wav_package | Gets the WAV native metadata package. | | riff_info_package | Gets the package containing RIFF Info tags. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ##### Example This code sample shows how to extract technical audio information from a WAV file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### riff_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/riff_info_package.md #### riff_info_package property Gets the package containing RIFF Info tags. ##### Definition: ```python @property def riff_info_package(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### wav_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/wav_package.md #### wav_package property Gets the WAV native metadata package. ##### Definition: ```python @property def wav_package(self): ... ``` ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.audio/wavrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### groupdocs.metadata.formats.businesscard Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard.md The namespace contains classes intended to work with electronic business card formats. ##### Classes | Class | Description | | :- | :- | | `VCardAgentRecord` | Represents vCard Agent record metadata class. | | `VCardBasePackage` | Represents the base VCard metadata class. | | `VCardBinaryRecord` | Represents vCard binary record metadata class. | | `VCardCalendarRecordset` | Represents a set of Calendar vCard records. | | `VCardCard` | Represents a single card extracted from a VCard file. | | `VCardCommunicationRecordset` | Represents a set of Communication vCard records.
These properties describe information about how to communicate with the object the vCard represents. | | `VCardCustomRecord` | Represents vCard custom record metadata class. | | `VCardDateTimeRecord` | Represents vCard date time record metadata class. | | `VCardDeliveryAddressingRecordset` | Represents a set of Delivery Addressing vCard records.
These types are concerned with information related to
the delivery addressing or label for the vCard object. | | `VCardExplanatoryRecordset` | Represents a set of Explanatory vCard records.
These properties are concerned with additional explanations,
such as that related to informational notes or revisions specific to the vCard. | | `VCardGeneralRecordset` | Represents a set of General vCard records. | | `VCardGeographicalRecordset` | Represents a set of Geographical vCard records.
These properties are concerned with information associated with
geographical positions or regions associated with the object the vCard represents. | | `VCardIdentificationRecordset` | Represents a set of Identification vCard records.
These types are used to capture information associated with
the identification and naming of the entity associated with the vCard. | | `VCardOrganizationalRecordset` | Represents a set of Organizational vCard records.
These properties are concerned with information associated with
characteristics of the organization or organizational units of
the object that the vCard represents. | | `VCardPackage` | Represents VCF (Virtual Contact File) electronic business card format metadata. | | `VCardRecord` | Represents abstract vCard record metadata class. | | `VCardRecordset` | Provides a base vCard record union class. | | `VCardRootPackage` | Represents the root package allowing working with metadata in a VCard file. | | `VCardSecurityRecordset` | Represents a set of Security vCard records.
These properties are concerned with the security of
communication pathways or access to the vCard. | | `VCardTextRecord` | Represents vCard text record metadata class. | ##### Enumerations | Enumeration | Description | | :- | :- | | `VCardContentType` | Defines vCard record content types. | ### VCardAgentRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord.md #### VCardAgentRecord class Represents vCard Agent record metadata class. **Inheritance:** `VCardAgentRecord` → `VCardRecord` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardAgentRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | group | Gets the grouping value. | | value_parameters | Gets the value parameters. | | pref_parameter | Gets the preferred parameter. | | alt_id_parameter | Gets the alternative representations parameter value. | | type_parameters | Gets the type parameter values. | | encoding_parameter | Gets the encoding parameter value. | | language_parameter | Gets the language parameter value. | | anonym_parameters | Gets the anonymous parameters. | | content_type | Gets the content type of record. | | type_name | Gets the type of the record. | | value | Gets the record value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alt_id_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/alt_id_parameter.md #### alt_id_parameter property Gets the alternative representations parameter value. ##### Remarks Used to "tag" property instances as being alternative representations of the same logical property. ##### Definition: ```python @property def alt_id_parameter(self): ... ``` ### anonym_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/anonym_parameters.md #### anonym_parameters property Gets the anonymous parameters. ##### Definition: ```python @property def anonym_parameters(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/content_type.md #### content_type property Gets the content type of record. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/encoding_parameter.md #### encoding_parameter property Gets the encoding parameter value. ##### Definition: ```python @property def encoding_parameter(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### group property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/group.md #### group property Gets the grouping value. ##### Definition: ```python @property def group(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/language_parameter.md #### language_parameter property Gets the language parameter value. ##### Definition: ```python @property def language_parameter(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pref_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/pref_parameter.md #### pref_parameter property Gets the preferred parameter. ##### Remarks Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### Definition: ```python @property def pref_parameter(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### type_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/type_name.md #### type_name property Gets the type of the record. ##### Definition: ```python @property def type_name(self): ... ``` ### type_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/type_parameters.md #### type_parameters property Gets the type parameter values. ##### Remarks The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### Definition: ```python @property def type_parameters(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/value.md #### value property Gets the record value. ##### Definition: ```python @property def value(self): ... ``` ### value_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardagentrecord/value_parameters.md #### value_parameters property Gets the value parameters. ##### Remarks Used to identify the value type (data type) and format of the value. ##### Definition: ```python @property def value_parameters(self): ... ``` ### VCardBasePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage.md #### VCardBasePackage class Represents the base VCard metadata class. **Inheritance:** `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardBasePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbasepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### VCardBinaryRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord.md #### VCardBinaryRecord class Represents vCard binary record metadata class. **Inheritance:** `VCardBinaryRecord` → `VCardRecord` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardBinaryRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | group | Gets the grouping value. | | value_parameters | Gets the value parameters. | | pref_parameter | Gets the preferred parameter. | | alt_id_parameter | Gets the alternative representations parameter value. | | type_parameters | Gets the type parameter values. | | encoding_parameter | Gets the encoding parameter value. | | language_parameter | Gets the language parameter value. | | anonym_parameters | Gets the anonymous parameters. | | content_type | Gets the content type of record. | | type_name | Gets the type of the record. | | value | Gets the record value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alt_id_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/alt_id_parameter.md #### alt_id_parameter property Gets the alternative representations parameter value. ##### Remarks Used to "tag" property instances as being alternative representations of the same logical property. ##### Definition: ```python @property def alt_id_parameter(self): ... ``` ### anonym_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/anonym_parameters.md #### anonym_parameters property Gets the anonymous parameters. ##### Definition: ```python @property def anonym_parameters(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/content_type.md #### content_type property Gets the content type of record. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/encoding_parameter.md #### encoding_parameter property Gets the encoding parameter value. ##### Definition: ```python @property def encoding_parameter(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### group property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/group.md #### group property Gets the grouping value. ##### Definition: ```python @property def group(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/language_parameter.md #### language_parameter property Gets the language parameter value. ##### Definition: ```python @property def language_parameter(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pref_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/pref_parameter.md #### pref_parameter property Gets the preferred parameter. ##### Remarks Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### Definition: ```python @property def pref_parameter(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### type_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/type_name.md #### type_name property Gets the type of the record. ##### Definition: ```python @property def type_name(self): ... ``` ### type_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/type_parameters.md #### type_parameters property Gets the type parameter values. ##### Remarks The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### Definition: ```python @property def type_parameters(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/value.md #### value property Gets the record value. ##### Definition: ```python @property def value(self): ... ``` ### value_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardbinaryrecord/value_parameters.md #### value_parameters property Gets the value parameters. ##### Remarks Used to identify the value type (data type) and format of the value. ##### Definition: ```python @property def value_parameters(self): ... ``` ### VCardCalendarRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset.md #### VCardCalendarRecordset class Represents a set of Calendar vCard records. **Inheritance:** `VCardCalendarRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardCalendarRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | busy_time_records | Gets the URIs for the busy time associated with the object. | | busy_time_entries | Gets the URIs for the busy time associated with the object. | | calendar_address_records | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | calendar_addresses | Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. | | calendar_uri_records | Gets the URIs for the calendar associated with the object represented by the vCard. | | uri_calendar_entries | Gets the URIs for the calendar associated with the object represented by the vCard. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### busy_time_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/busy_time_entries.md #### busy_time_entries property Gets the URIs for the busy time associated with the object. ##### Remarks This property is a simplified version of `VCardCalendarRecordset.busy_time_records`. ##### Definition: ```python @property def busy_time_entries(self): ... ``` ### busy_time_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/busy_time_records.md #### busy_time_records property Gets the URIs for the busy time associated with the object. ##### Definition: ```python @property def busy_time_records(self): ... ``` ### calendar_address_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/calendar_address_records.md #### calendar_address_records property Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ##### Definition: ```python @property def calendar_address_records(self): ... ``` ### calendar_addresses property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/calendar_addresses.md #### calendar_addresses property Gets the calendar user addresses to which a scheduling request should be sent for the object represented by the vCard. ##### Remarks This property is a simplified version of `VCardCalendarRecordset.calendar_address_records`. ##### Definition: ```python @property def calendar_addresses(self): ... ``` ### calendar_uri_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/calendar_uri_records.md #### calendar_uri_records property Gets the URIs for the calendar associated with the object represented by the vCard. ##### Definition: ```python @property def calendar_uri_records(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### uri_calendar_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcalendarrecordset/uri_calendar_entries.md #### uri_calendar_entries property Gets the URIs for the calendar associated with the object represented by the vCard. ##### Remarks This property is a simplified version of `VCardCalendarRecordset.calendar_uri_records`. ##### Definition: ```python @property def uri_calendar_entries(self): ... ``` ### VCardCard class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard.md #### VCardCard class Represents a single card extracted from a VCard file. **Inheritance:** `VCardCard` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardCard type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | general_recordset | Gets the general records. | | identification_recordset | Gets the identification records. | | delivery_addressing_recordset | Gets the delivery addressing records. | | communication_recordset | Gets the communication records. | | geographical_recordset | Gets the geographical records. | | organizational_recordset | Gets the organizational records. | | explanatory_recordset | Gets the explanatory records. | | security_recordset | Gets the security records. | | calendar_recordset | Gets the calendar records. | | extension_records | Gets the private extension records. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_available_groups(self)` | Gets the available group names. | | `filter_by_group(self, group_name)` | Filters all vCard records by the group name passed as a parameter.
For more information please see the `VCardCard.get_available_groups` method. | | `filter_home_tags(self)` | Filters all vCard records marked with the HOME tag. | | `filter_work_tags(self)` | Filters all vCard records marked with the WORK tag. | | `filter_preferred(self)` | Filters the preferred records. | ##### Remarks **Learn more** | | | ##### Example This example shows how to use vCard property filters. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### calendar_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/calendar_recordset.md #### calendar_recordset property Gets the calendar records. ##### Definition: ```python @property def calendar_recordset(self): ... ``` ### communication_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/communication_recordset.md #### communication_recordset property Gets the communication records. ##### Definition: ```python @property def communication_recordset(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### delivery_addressing_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/delivery_addressing_recordset.md #### delivery_addressing_recordset property Gets the delivery addressing records. ##### Definition: ```python @property def delivery_addressing_recordset(self): ... ``` ### explanatory_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/explanatory_recordset.md #### explanatory_recordset property Gets the explanatory records. ##### Definition: ```python @property def explanatory_recordset(self): ... ``` ### extension_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/extension_records.md #### extension_records property Gets the private extension records. ##### Definition: ```python @property def extension_records(self): ... ``` ### filter_by_group method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/filter_by_group.md #### filter_by_group(self, group_name) Filters all vCard records by the group name passed as a parameter. For more information please see the `VCardCard.get_available_groups` method. ##### Returns The filtered vCard instance. ```python def filter_by_group(self, group_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | group_name | System.String | The name of the group. | ### filter_home_tags method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/filter_home_tags.md #### filter_home_tags(self) Filters all vCard records marked with the HOME tag. ##### Returns The filtered vCard instance. ```python def filter_home_tags(self): ... ``` ### filter_preferred method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/filter_preferred.md #### filter_preferred(self) Filters the preferred records. ##### Returns The filtered vCard instance. ```python def filter_preferred(self): ... ``` ### filter_work_tags method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/filter_work_tags.md #### filter_work_tags(self) Filters all vCard records marked with the WORK tag. ##### Returns Filtered vCard instance. ```python def filter_work_tags(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### general_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/general_recordset.md #### general_recordset property Gets the general records. ##### Definition: ```python @property def general_recordset(self): ... ``` ### geographical_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/geographical_recordset.md #### geographical_recordset property Gets the geographical records. ##### Definition: ```python @property def geographical_recordset(self): ... ``` ### get_available_groups method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/get_available_groups.md #### get_available_groups(self) Gets the available group names. ##### Returns The available group names. ```python def get_available_groups(self): ... ``` ### identification_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/identification_recordset.md #### identification_recordset property Gets the identification records. ##### Definition: ```python @property def identification_recordset(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### organizational_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/organizational_recordset.md #### organizational_recordset property Gets the organizational records. ##### Definition: ```python @property def organizational_recordset(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### security_recordset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/security_recordset.md #### security_recordset property Gets the security records. ##### Definition: ```python @property def security_recordset(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcard/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### VCardCommunicationRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset.md #### VCardCommunicationRecordset class Represents a set of Communication vCard records. These properties describe information about how to communicate with the object the vCard represents. **Inheritance:** `VCardCommunicationRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardCommunicationRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | telephone_records | Gets the telephone numbers for telephony communication with the object. | | telephones | Gets the telephone numbers for telephony communication with the object. | | email_records | Gets the electronic mail addresses for communication with the object. | | emails | Gets the electronic mail addresses for communication with the object. | | mailer | Gets the type of the electronic mail software that is used by the individual associated with the vCard. | | impp_records | Gets the URIs for instant messaging and presence protocol communications with the object. | | impp_entries | Gets the URIs for instant messaging and presence protocol communications with the object. | | language_records | Gets the languages that may be used for contacting the object. | | languages | Gets the languages that may be used for contacting the object. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### email_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/email_records.md #### email_records property Gets the electronic mail addresses for communication with the object. ##### Definition: ```python @property def email_records(self): ... ``` ### emails property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/emails.md #### emails property Gets the electronic mail addresses for communication with the object. ##### Remarks This property is a simplified version of `VCardCommunicationRecordset.email_records`. ##### Definition: ```python @property def emails(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### impp_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/impp_entries.md #### impp_entries property Gets the URIs for instant messaging and presence protocol communications with the object. ##### Remarks This property is a simplified version of `VCardCommunicationRecordset.impp_records`. ##### Definition: ```python @property def impp_entries(self): ... ``` ### impp_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/impp_records.md #### impp_records property Gets the URIs for instant messaging and presence protocol communications with the object. ##### Definition: ```python @property def impp_records(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/language_records.md #### language_records property Gets the languages that may be used for contacting the object. ##### Definition: ```python @property def language_records(self): ... ``` ### languages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/languages.md #### languages property Gets the languages that may be used for contacting the object. ##### Remarks This property is a simplified version of `VCardCommunicationRecordset.language_records`. ##### Definition: ```python @property def languages(self): ... ``` ### mailer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/mailer.md #### mailer property Gets the type of the electronic mail software that is used by the individual associated with the vCard. ##### Definition: ```python @property def mailer(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### telephone_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/telephone_records.md #### telephone_records property Gets the telephone numbers for telephony communication with the object. ##### Definition: ```python @property def telephone_records(self): ... ``` ### telephones property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/telephones.md #### telephones property Gets the telephone numbers for telephony communication with the object. ##### Remarks This property is a simplified version of `VCardCommunicationRecordset.telephone_records`. ##### Definition: ```python @property def telephones(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcommunicationrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### VCardContentType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcontenttype.md #### VCardContentType enumeration Defines vCard record content types. The VCardContentType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | CUSTOM | The custom content type. | | TEXT | The text content type. | | BINARY | The binary content type. | | DATE_TIME | The date time content type. | | AGENT | The agent content type. | ### VCardCustomRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord.md #### VCardCustomRecord class Represents vCard custom record metadata class. **Inheritance:** `VCardCustomRecord` → `VCardRecord` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardCustomRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | group | Gets the grouping value. | | value_parameters | Gets the value parameters. | | pref_parameter | Gets the preferred parameter. | | alt_id_parameter | Gets the alternative representations parameter value. | | type_parameters | Gets the type parameter values. | | encoding_parameter | Gets the encoding parameter value. | | language_parameter | Gets the language parameter value. | | anonym_parameters | Gets the anonymous parameters. | | content_type | Gets the content type of record. | | type_name | Gets the type of the record. | | value | Gets the record value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alt_id_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/alt_id_parameter.md #### alt_id_parameter property Gets the alternative representations parameter value. ##### Remarks Used to "tag" property instances as being alternative representations of the same logical property. ##### Definition: ```python @property def alt_id_parameter(self): ... ``` ### anonym_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/anonym_parameters.md #### anonym_parameters property Gets the anonymous parameters. ##### Definition: ```python @property def anonym_parameters(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/content_type.md #### content_type property Gets the content type of record. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/encoding_parameter.md #### encoding_parameter property Gets the encoding parameter value. ##### Definition: ```python @property def encoding_parameter(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### group property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/group.md #### group property Gets the grouping value. ##### Definition: ```python @property def group(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/language_parameter.md #### language_parameter property Gets the language parameter value. ##### Definition: ```python @property def language_parameter(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pref_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/pref_parameter.md #### pref_parameter property Gets the preferred parameter. ##### Remarks Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### Definition: ```python @property def pref_parameter(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### type_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/type_name.md #### type_name property Gets the type of the record. ##### Definition: ```python @property def type_name(self): ... ``` ### type_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/type_parameters.md #### type_parameters property Gets the type parameter values. ##### Remarks The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### Definition: ```python @property def type_parameters(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/value.md #### value property Gets the record value. ##### Definition: ```python @property def value(self): ... ``` ### value_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardcustomrecord/value_parameters.md #### value_parameters property Gets the value parameters. ##### Remarks Used to identify the value type (data type) and format of the value. ##### Definition: ```python @property def value_parameters(self): ... ``` ### VCardDateTimeRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord.md #### VCardDateTimeRecord class Represents vCard date time record metadata class. **Inheritance:** `VCardDateTimeRecord` → `VCardRecord` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardDateTimeRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | group | Gets the grouping value. | | value_parameters | Gets the value parameters. | | pref_parameter | Gets the preferred parameter. | | alt_id_parameter | Gets the alternative representations parameter value. | | type_parameters | Gets the type parameter values. | | encoding_parameter | Gets the encoding parameter value. | | language_parameter | Gets the language parameter value. | | anonym_parameters | Gets the anonymous parameters. | | content_type | Gets the content type of record. | | type_name | Gets the type of the record. | | value | Gets the record value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alt_id_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/alt_id_parameter.md #### alt_id_parameter property Gets the alternative representations parameter value. ##### Remarks Used to "tag" property instances as being alternative representations of the same logical property. ##### Definition: ```python @property def alt_id_parameter(self): ... ``` ### anonym_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/anonym_parameters.md #### anonym_parameters property Gets the anonymous parameters. ##### Definition: ```python @property def anonym_parameters(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/content_type.md #### content_type property Gets the content type of record. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/encoding_parameter.md #### encoding_parameter property Gets the encoding parameter value. ##### Definition: ```python @property def encoding_parameter(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### group property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/group.md #### group property Gets the grouping value. ##### Definition: ```python @property def group(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/language_parameter.md #### language_parameter property Gets the language parameter value. ##### Definition: ```python @property def language_parameter(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pref_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/pref_parameter.md #### pref_parameter property Gets the preferred parameter. ##### Remarks Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### Definition: ```python @property def pref_parameter(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### type_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/type_name.md #### type_name property Gets the type of the record. ##### Definition: ```python @property def type_name(self): ... ``` ### type_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/type_parameters.md #### type_parameters property Gets the type parameter values. ##### Remarks The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### Definition: ```python @property def type_parameters(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/value.md #### value property Gets the record value. ##### Definition: ```python @property def value(self): ... ``` ### value_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddatetimerecord/value_parameters.md #### value_parameters property Gets the value parameters. ##### Remarks Used to identify the value type (data type) and format of the value. ##### Definition: ```python @property def value_parameters(self): ... ``` ### VCardDeliveryAddressingRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset.md #### VCardDeliveryAddressingRecordset class Represents a set of Delivery Addressing vCard records. These types are concerned with information related to the delivery addressing or label for the vCard object. **Inheritance:** `VCardDeliveryAddressingRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardDeliveryAddressingRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | address_records | Gets the components of the delivery address of the object. | | addresses | Gets the components of the delivery address of the object. | | label_records | Gets an array containing the formatted text corresponding to delivery address of the object. | | labels | Gets an array containing the formatted text corresponding to delivery address of the object. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### address_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/address_records.md #### address_records property Gets the components of the delivery address of the object. ##### Definition: ```python @property def address_records(self): ... ``` ### addresses property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/addresses.md #### addresses property Gets the components of the delivery address of the object. ##### Remarks This property is a simplified version of `VCardDeliveryAddressingRecordset.address_records`. ##### Definition: ```python @property def addresses(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### label_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/label_records.md #### label_records property Gets an array containing the formatted text corresponding to delivery address of the object. ##### Definition: ```python @property def label_records(self): ... ``` ### labels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/labels.md #### labels property Gets an array containing the formatted text corresponding to delivery address of the object. ##### Remarks This property is a simplified version of `VCardDeliveryAddressingRecordset.label_records`. ##### Definition: ```python @property def labels(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcarddeliveryaddressingrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### VCardExplanatoryRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset.md #### VCardExplanatoryRecordset class Represents a set of Explanatory vCard records. These properties are concerned with additional explanations, such as that related to informational notes or revisions specific to the vCard. **Inheritance:** `VCardExplanatoryRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardExplanatoryRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | category_records | Gets the application category information about the vCard, also known as "tags". | | categories | Gets the application category information about the vCard, also known as "tags". | | note_records | Gets the supplemental information or comments that are associated with the vCard. | | notes | Gets the supplemental information or comments that are associated with the vCard. | | product_identifier_record | Gets the identifier of the product that created the vCard object. | | product_identifier | Gets the identifier of the product that created the vCard object. | | revision | Gets the revision information about the current vCard. | | sort_string | Gets the family name or given name text to be used for national-language-specific sorting of the `VCardIdentificationRecordset.formatted_names` and `VCardIdentificationRecordset.name` types. | | sound_records | Gets the digital sound content information that annotates some aspects of the vCard. | | sound_binary_records | Gets the digital sound content information that annotates some aspects of the vCard. | | binary_sounds | Gets the digital sound content information that annotates some aspects of the vCard. | | sound_uri_records | Gets the digital sound content information that annotates some aspects of the vCard. | | uri_sounds | Gets the digital sound content information that annotates some aspects of the vCard. | | uid_record | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | uid | Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. | | pid_identifier_records | Gets the global meaning of the local PID source identifier. | | pid_identifiers | Gets the global meaning of the local PID source identifier. | | url_records | Gets an array of URLs pointing to websites that represent the person in some way. | | urls | Gets an array of URLs pointing to websites that represent the person in some way. | | version | Gets the version of the vCard specification. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### binary_sounds property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/binary_sounds.md #### binary_sounds property Gets the digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.sound_binary_records`. ##### Definition: ```python @property def binary_sounds(self): ... ``` ### categories property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/categories.md #### categories property Gets the application category information about the vCard, also known as "tags". ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.category_records`. ##### Definition: ```python @property def categories(self): ... ``` ### category_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/category_records.md #### category_records property Gets the application category information about the vCard, also known as "tags". ##### Definition: ```python @property def category_records(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### note_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/note_records.md #### note_records property Gets the supplemental information or comments that are associated with the vCard. ##### Definition: ```python @property def note_records(self): ... ``` ### notes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/notes.md #### notes property Gets the supplemental information or comments that are associated with the vCard. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.note_records`. ##### Definition: ```python @property def notes(self): ... ``` ### pid_identifier_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/pid_identifier_records.md #### pid_identifier_records property Gets the global meaning of the local PID source identifier. ##### Definition: ```python @property def pid_identifier_records(self): ... ``` ### pid_identifiers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/pid_identifiers.md #### pid_identifiers property Gets the global meaning of the local PID source identifier. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.pid_identifier_records`. ##### Definition: ```python @property def pid_identifiers(self): ... ``` ### product_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/product_identifier.md #### product_identifier property Gets the identifier of the product that created the vCard object. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.product_identifier_record`. ##### Definition: ```python @property def product_identifier(self): ... ``` ### product_identifier_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/product_identifier_record.md #### product_identifier_record property Gets the identifier of the product that created the vCard object. ##### Definition: ```python @property def product_identifier_record(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revision property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/revision.md #### revision property Gets the revision information about the current vCard. ##### Definition: ```python @property def revision(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sort_string property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/sort_string.md #### sort_string property Gets the family name or given name text to be used for national-language-specific sorting of the `VCardIdentificationRecordset.formatted_names` and `VCardIdentificationRecordset.name` types. ##### Definition: ```python @property def sort_string(self): ... ``` ### sound_binary_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/sound_binary_records.md #### sound_binary_records property Gets the digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.sound_records`. ##### Definition: ```python @property def sound_binary_records(self): ... ``` ### sound_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/sound_records.md #### sound_records property Gets the digital sound content information that annotates some aspects of the vCard. ##### Definition: ```python @property def sound_records(self): ... ``` ### sound_uri_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/sound_uri_records.md #### sound_uri_records property Gets the digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.sound_records`. ##### Definition: ```python @property def sound_uri_records(self): ... ``` ### uid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/uid.md #### uid property Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.uid_record`. ##### Definition: ```python @property def uid(self): ... ``` ### uid_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/uid_record.md #### uid_record property Gets the value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard. ##### Definition: ```python @property def uid_record(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### uri_sounds property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/uri_sounds.md #### uri_sounds property Gets the digital sound content information that annotates some aspects of the vCard. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.sound_uri_records`. ##### Definition: ```python @property def uri_sounds(self): ... ``` ### url_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/url_records.md #### url_records property Gets an array of URLs pointing to websites that represent the person in some way. ##### Definition: ```python @property def url_records(self): ... ``` ### urls property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/urls.md #### urls property Gets an array of URLs pointing to websites that represent the person in some way. ##### Remarks This property is a simplified version of `VCardExplanatoryRecordset.url_records`. ##### Definition: ```python @property def urls(self): ... ``` ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardexplanatoryrecordset/version.md #### version property Gets the version of the vCard specification. ##### Definition: ```python @property def version(self): ... ``` ### VCardGeneralRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset.md #### VCardGeneralRecordset class Represents a set of General vCard records. **Inheritance:** `VCardGeneralRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardGeneralRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | source_records | Gets the array of sources of directory information contained in the content type. | | sources | Gets an array containing the sources of the directory information contained in the content type. | | name_of_source | Gets the textual representation of the SOURCE property. | | kind | Gets the kind of the object. | | xml_records | Gets an array containing extended XML-encoded vCard data. | | xml_entries | Gets an array containing extended XML-encoded vCard data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### kind property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/kind.md #### kind property Gets the kind of the object. ##### Definition: ```python @property def kind(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_of_source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/name_of_source.md #### name_of_source property Gets the textual representation of the SOURCE property. ##### Definition: ```python @property def name_of_source(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### source_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/source_records.md #### source_records property Gets the array of sources of directory information contained in the content type. ##### Definition: ```python @property def source_records(self): ... ``` ### sources property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/sources.md #### sources property Gets an array containing the sources of the directory information contained in the content type. ##### Remarks This property is a simplified version of `VCardGeneralRecordset.source_records`. ##### Definition: ```python @property def sources(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_entries property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/xml_entries.md #### xml_entries property Gets an array containing extended XML-encoded vCard data. ##### Remarks This property is a simplified version of `VCardGeneralRecordset.xml_records`. ##### Definition: ```python @property def xml_entries(self): ... ``` ### xml_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeneralrecordset/xml_records.md #### xml_records property Gets an array containing extended XML-encoded vCard data. ##### Definition: ```python @property def xml_records(self): ... ``` ### VCardGeographicalRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset.md #### VCardGeographicalRecordset class Represents a set of Geographical vCard records. These properties are concerned with information associated with geographical positions or regions associated with the object the vCard represents. **Inheritance:** `VCardGeographicalRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardGeographicalRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | time_zone_records | Gets the time zones of the object. | | time_zones | Gets the time zones of the object. | | geographic_position_records | Gets the information related to the global positioning of the object. | | geographic_positions | Gets the information related to the global positioning of the object. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### geographic_position_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/geographic_position_records.md #### geographic_position_records property Gets the information related to the global positioning of the object. ##### Definition: ```python @property def geographic_position_records(self): ... ``` ### geographic_positions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/geographic_positions.md #### geographic_positions property Gets the information related to the global positioning of the object. ##### Remarks This property is a simplified version of `VCardGeographicalRecordset.geographic_position_records`. ##### Definition: ```python @property def geographic_positions(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### time_zone_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/time_zone_records.md #### time_zone_records property Gets the time zones of the object. ##### Definition: ```python @property def time_zone_records(self): ... ``` ### time_zones property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/time_zones.md #### time_zones property Gets the time zones of the object. ##### Remarks This property is a simplified version of `VCardGeographicalRecordset.time_zone_records`. ##### Definition: ```python @property def time_zones(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardgeographicalrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### VCardIdentificationRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset.md #### VCardIdentificationRecordset class Represents a set of Identification vCard records. These types are used to capture information associated with the identification and naming of the entity associated with the vCard. **Inheritance:** `VCardIdentificationRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardIdentificationRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | formatted_name_records | Gets an array containing the formatted text corresponding to the name of the object. | | formatted_names | Gets an array containing the formatted text corresponding to the name of the object. | | name_record | Gets the components of the name of the object. | | name | Gets the components of the name of the object. | | nickname_records | Gets an array containing the text corresponding to the nickname of the object. | | nicknames | Gets an array containing the text corresponding to the nickname of the object. | | photo_records | Gets an array containing the image or photograph information that annotates some aspects of the object. | | photo_binary_records | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | binary_photos | Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. | | photo_uri_records | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | | uri_photos | Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. | | birthdate_records | Gets an array containing the birth date of the object in different representations. | | birthdate_date_time_record | Gets the birth date of the object. | | date_time_birthdate | Gets the birth date of the object. | | birthdate_text_records | Gets an array containing the birth date of the object in different text representations. | | text_birthdates | Gets an array containing the birth date of the object in different text representations. | | anniversary_record | Gets the date of marriage, or equivalent, of the object. | | anniversary_date_time_record | Gets the date of marriage represented as a single date-and-or-time value. | | date_time_anniversary | Gets the date of marriage represented as a single date-and-or-time value. | | anniversary_text_record | Gets the date of marriage represented as a single text value. | | text_anniversary | Gets the date of marriage represented as a single text value. | | gender_record | Gets the components of the sex and gender identity of the object. | | gender | Gets the components of the sex and gender identity of the object. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### anniversary_date_time_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/anniversary_date_time_record.md #### anniversary_date_time_record property Gets the date of marriage represented as a single date-and-or-time value. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.anniversary_record`. ##### Definition: ```python @property def anniversary_date_time_record(self): ... ``` ### anniversary_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/anniversary_record.md #### anniversary_record property Gets the date of marriage, or equivalent, of the object. ##### Definition: ```python @property def anniversary_record(self): ... ``` ### anniversary_text_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/anniversary_text_record.md #### anniversary_text_record property Gets the date of marriage represented as a single text value. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.anniversary_record`. ##### Definition: ```python @property def anniversary_text_record(self): ... ``` ### binary_photos property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/binary_photos.md #### binary_photos property Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.photo_binary_records`. ##### Definition: ```python @property def binary_photos(self): ... ``` ### birthdate_date_time_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/birthdate_date_time_record.md #### birthdate_date_time_record property Gets the birth date of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.birthdate_records`. ##### Definition: ```python @property def birthdate_date_time_record(self): ... ``` ### birthdate_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/birthdate_records.md #### birthdate_records property Gets an array containing the birth date of the object in different representations. ##### Definition: ```python @property def birthdate_records(self): ... ``` ### birthdate_text_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/birthdate_text_records.md #### birthdate_text_records property Gets an array containing the birth date of the object in different text representations. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.birthdate_records`. ##### Definition: ```python @property def birthdate_text_records(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date_time_anniversary property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/date_time_anniversary.md #### date_time_anniversary property Gets the date of marriage represented as a single date-and-or-time value. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.anniversary_date_time_record`. ##### Definition: ```python @property def date_time_anniversary(self): ... ``` ### date_time_birthdate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/date_time_birthdate.md #### date_time_birthdate property Gets the birth date of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.birthdate_date_time_record`. ##### Definition: ```python @property def date_time_birthdate(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### formatted_name_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/formatted_name_records.md #### formatted_name_records property Gets an array containing the formatted text corresponding to the name of the object. ##### Definition: ```python @property def formatted_name_records(self): ... ``` ### formatted_names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/formatted_names.md #### formatted_names property Gets an array containing the formatted text corresponding to the name of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.formatted_name_records`. ##### Definition: ```python @property def formatted_names(self): ... ``` ### gender property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/gender.md #### gender property Gets the components of the sex and gender identity of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.gender_record`. ##### Definition: ```python @property def gender(self): ... ``` ### gender_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/gender_record.md #### gender_record property Gets the components of the sex and gender identity of the object. ##### Definition: ```python @property def gender_record(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/name.md #### name property Gets the components of the name of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.name_record`. ##### Definition: ```python @property def name(self): ... ``` ### name_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/name_record.md #### name_record property Gets the components of the name of the object. ##### Definition: ```python @property def name_record(self): ... ``` ### nickname_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/nickname_records.md #### nickname_records property Gets an array containing the text corresponding to the nickname of the object. ##### Definition: ```python @property def nickname_records(self): ... ``` ### nicknames property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/nicknames.md #### nicknames property Gets an array containing the text corresponding to the nickname of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.nickname_records`. ##### Definition: ```python @property def nicknames(self): ... ``` ### photo_binary_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/photo_binary_records.md #### photo_binary_records property Gets an array containing the image or photograph information represented as binary data that annotates some aspects of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.photo_records`. ##### Definition: ```python @property def photo_binary_records(self): ... ``` ### photo_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/photo_records.md #### photo_records property Gets an array containing the image or photograph information that annotates some aspects of the object. ##### Definition: ```python @property def photo_records(self): ... ``` ### photo_uri_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/photo_uri_records.md #### photo_uri_records property Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.photo_records`. ##### Definition: ```python @property def photo_uri_records(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text_anniversary property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/text_anniversary.md #### text_anniversary property Gets the date of marriage represented as a single text value. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.anniversary_text_record`. ##### Definition: ```python @property def text_anniversary(self): ... ``` ### text_birthdates property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/text_birthdates.md #### text_birthdates property Gets an array containing the birth date of the object in different text representations. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.birthdate_text_records`. ##### Definition: ```python @property def text_birthdates(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### uri_photos property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardidentificationrecordset/uri_photos.md #### uri_photos property Gets an array containing the image or photograph information represented by URIs that annotates some aspects of the object. ##### Remarks This property is a simplified version of `VCardIdentificationRecordset.photo_uri_records`. ##### Definition: ```python @property def uri_photos(self): ... ``` ### VCardOrganizationalRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset.md #### VCardOrganizationalRecordset class Represents a set of Organizational vCard records. These properties are concerned with information associated with characteristics of the organization or organizational units of the object that the vCard represents. **Inheritance:** `VCardOrganizationalRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardOrganizationalRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | title_records | Gets the positions or jobs of the object. | | titles | Gets the positions or jobs of the object. | | role_records | Gets the functions or parts played in a particular situation by the object. | | roles | Gets the functions or parts played in a particular situation by the object. | | logo_records | Gets the graphic images of the logo associated with the object. | | logo_binary_records | Gets the graphic images of the logo associated with the object. | | binary_logos | Gets the graphic images of the logo associated with the object. | | logo_uri_records | Gets the URIs of the graphic images of the logo associated with the object. | | uri_logos | Gets the URIs of the graphic images of the logo associated with the object. | | agent_records | Gets the information about another person who will act on behalf of the vCard object. | | agent_object_record | Gets the information about another person who will act on behalf of the vCard object. | | object_agent | Gets the information about another person who will act on behalf of the vCard object. | | agent_uri_records | Gets the information about another person who will act on behalf of the vCard object. | | uri_agents | Gets the information about another person who will act on behalf of the vCard object. | | organization_name_records | Gets the organizational names and units associated with the object. | | organization_names | Gets the organizational names and units associated with the object. | | member_records | Gets the members in the group this vCard represents. | | members | Gets the members in the group this vCard represents. | | relationship_records | Gets the relationships between another entity and the entity represented by this vCard. | | relationships | Gets the relationships between another entity and the entity represented by this vCard. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### agent_object_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/agent_object_record.md #### agent_object_record property Gets the information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.agent_records`. ##### Definition: ```python @property def agent_object_record(self): ... ``` ### agent_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/agent_records.md #### agent_records property Gets the information about another person who will act on behalf of the vCard object. ##### Definition: ```python @property def agent_records(self): ... ``` ### agent_uri_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/agent_uri_records.md #### agent_uri_records property Gets the information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.agent_records`. ##### Definition: ```python @property def agent_uri_records(self): ... ``` ### binary_logos property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/binary_logos.md #### binary_logos property Gets the graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.logo_binary_records`. ##### Definition: ```python @property def binary_logos(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### logo_binary_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/logo_binary_records.md #### logo_binary_records property Gets the graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.logo_records`. ##### Definition: ```python @property def logo_binary_records(self): ... ``` ### logo_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/logo_records.md #### logo_records property Gets the graphic images of the logo associated with the object. ##### Definition: ```python @property def logo_records(self): ... ``` ### logo_uri_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/logo_uri_records.md #### logo_uri_records property Gets the URIs of the graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.logo_records`. ##### Definition: ```python @property def logo_uri_records(self): ... ``` ### member_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/member_records.md #### member_records property Gets the members in the group this vCard represents. ##### Definition: ```python @property def member_records(self): ... ``` ### members property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/members.md #### members property Gets the members in the group this vCard represents. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.member_records`. ##### Definition: ```python @property def members(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### object_agent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/object_agent.md #### object_agent property Gets the information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.agent_object_record`. ##### Definition: ```python @property def object_agent(self): ... ``` ### organization_name_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/organization_name_records.md #### organization_name_records property Gets the organizational names and units associated with the object. ##### Definition: ```python @property def organization_name_records(self): ... ``` ### organization_names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/organization_names.md #### organization_names property Gets the organizational names and units associated with the object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.organization_name_records`. ##### Definition: ```python @property def organization_names(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### relationship_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/relationship_records.md #### relationship_records property Gets the relationships between another entity and the entity represented by this vCard. ##### Definition: ```python @property def relationship_records(self): ... ``` ### relationships property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/relationships.md #### relationships property Gets the relationships between another entity and the entity represented by this vCard. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.relationship_records`. ##### Definition: ```python @property def relationships(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### role_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/role_records.md #### role_records property Gets the functions or parts played in a particular situation by the object. ##### Definition: ```python @property def role_records(self): ... ``` ### roles property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/roles.md #### roles property Gets the functions or parts played in a particular situation by the object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.title_records`. ##### Definition: ```python @property def roles(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### title_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/title_records.md #### title_records property Gets the positions or jobs of the object. ##### Definition: ```python @property def title_records(self): ... ``` ### titles property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/titles.md #### titles property Gets the positions or jobs of the object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.title_records`. ##### Definition: ```python @property def titles(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### uri_agents property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/uri_agents.md #### uri_agents property Gets the information about another person who will act on behalf of the vCard object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.agent_uri_records`. ##### Definition: ```python @property def uri_agents(self): ... ``` ### uri_logos property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardorganizationalrecordset/uri_logos.md #### uri_logos property Gets the URIs of the graphic images of the logo associated with the object. ##### Remarks This property is a simplified version of `VCardOrganizationalRecordset.logo_uri_records`. ##### Definition: ```python @property def uri_logos(self): ... ``` ### VCardPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage.md #### VCardPackage class Represents VCF (Virtual Contact File) electronic business card format metadata. **Inheritance:** `VCardPackage` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | cards | Gets an array of the cards extracted from the file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### cards property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/cards.md #### cards property Gets an array of the cards extracted from the file. ##### Definition: ```python @property def cards(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### VCardRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord.md #### VCardRecord class Represents abstract vCard record metadata class. **Inheritance:** `VCardRecord` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | group | Gets the grouping value. | | value_parameters | Gets the value parameters. | | pref_parameter | Gets the preferred parameter. | | alt_id_parameter | Gets the alternative representations parameter value. | | type_parameters | Gets the type parameter values. | | encoding_parameter | Gets the encoding parameter value. | | language_parameter | Gets the language parameter value. | | anonym_parameters | Gets the anonymous parameters. | | content_type | Gets the content type of record. | | type_name | Gets the type of the record. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alt_id_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/alt_id_parameter.md #### alt_id_parameter property Gets the alternative representations parameter value. ##### Remarks Used to "tag" property instances as being alternative representations of the same logical property. ##### Definition: ```python @property def alt_id_parameter(self): ... ``` ### anonym_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/anonym_parameters.md #### anonym_parameters property Gets the anonymous parameters. ##### Definition: ```python @property def anonym_parameters(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/content_type.md #### content_type property Gets the content type of record. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/encoding_parameter.md #### encoding_parameter property Gets the encoding parameter value. ##### Definition: ```python @property def encoding_parameter(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### group property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/group.md #### group property Gets the grouping value. ##### Definition: ```python @property def group(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/language_parameter.md #### language_parameter property Gets the language parameter value. ##### Definition: ```python @property def language_parameter(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pref_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/pref_parameter.md #### pref_parameter property Gets the preferred parameter. ##### Remarks Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### Definition: ```python @property def pref_parameter(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### type_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/type_name.md #### type_name property Gets the type of the record. ##### Definition: ```python @property def type_name(self): ... ``` ### type_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/type_parameters.md #### type_parameters property Gets the type parameter values. ##### Remarks The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### Definition: ```python @property def type_parameters(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecord/value_parameters.md #### value_parameters property Gets the value parameters. ##### Remarks Used to identify the value type (data type) and format of the value. ##### Definition: ```python @property def value_parameters(self): ... ``` ### VCardRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset.md #### VCardRecordset class Provides a base vCard record union class. **Inheritance:** `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### VCardRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage.md #### VCardRootPackage class Represents the root package allowing working with metadata in a VCard file. **Inheritance:** `VCardRootPackage` → `RootMetadataPackage` → `MetadataPackage` The VCardRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | v_card_package | Gets the VCard metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to read metadata properties of a vCard file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### v_card_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardrootpackage/v_card_package.md #### v_card_package property Gets the VCard metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract vCard fields along with descriptive parameters. ##### Definition: ```python @property def v_card_package(self): ... ``` ### VCardSecurityRecordset class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset.md #### VCardSecurityRecordset class Represents a set of Security vCard records. These properties are concerned with the security of communication pathways or access to the vCard. **Inheritance:** `VCardSecurityRecordset` → `VCardRecordset` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardSecurityRecordset type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | access_classification | Gets the sensitivity of the information in the vCard. | | public_key_records | Gets the public keys or authentication certificates associated with the object. | | public_key_binary_records | Gets the public keys or authentication certificates associated with the object. | | binary_public_keys | Gets the public keys or authentication certificates associated with the object. | | public_key_uri_records | Gets the public keys or authentication certificates associated with the object. | | uri_public_keys | Gets the public keys or authentication certificates associated with the object. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### access_classification property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/access_classification.md #### access_classification property Gets the sensitivity of the information in the vCard. ##### Definition: ```python @property def access_classification(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### binary_public_keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/binary_public_keys.md #### binary_public_keys property Gets the public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `VCardSecurityRecordset.public_key_binary_records`. ##### Definition: ```python @property def binary_public_keys(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### public_key_binary_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/public_key_binary_records.md #### public_key_binary_records property Gets the public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `VCardSecurityRecordset.public_key_records`. ##### Definition: ```python @property def public_key_binary_records(self): ... ``` ### public_key_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/public_key_records.md #### public_key_records property Gets the public keys or authentication certificates associated with the object. ##### Definition: ```python @property def public_key_records(self): ... ``` ### public_key_uri_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/public_key_uri_records.md #### public_key_uri_records property Gets the public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `VCardSecurityRecordset.public_key_records`. ##### Definition: ```python @property def public_key_uri_records(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### uri_public_keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardsecurityrecordset/uri_public_keys.md #### uri_public_keys property Gets the public keys or authentication certificates associated with the object. ##### Remarks This property is a simplified version of `VCardSecurityRecordset.public_key_uri_records`. ##### Definition: ```python @property def uri_public_keys(self): ... ``` ### VCardTextRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord.md #### VCardTextRecord class Represents vCard text record metadata class. **Inheritance:** `VCardTextRecord` → `VCardRecord` → `VCardBasePackage` → `CustomPackage` → `MetadataPackage` The VCardTextRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | group | Gets the grouping value. | | value_parameters | Gets the value parameters. | | pref_parameter | Gets the preferred parameter. | | alt_id_parameter | Gets the alternative representations parameter value. | | type_parameters | Gets the type parameter values. | | encoding_parameter | Gets the encoding parameter value. | | language_parameter | Gets the language parameter value. | | anonym_parameters | Gets the anonymous parameters. | | content_type | Gets the content type of record. | | type_name | Gets the type of the record. | | media_type_parameter | Gets the media type parameter value. | | charset_parameter | Gets the charset parameter. | | value | Gets the record value. | | is_quoted_printable | Gets a value indicating whether this instance is quoted printable string. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_readability_value(self, code_page_name)` | Gets the readability value. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alt_id_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/alt_id_parameter.md #### alt_id_parameter property Gets the alternative representations parameter value. ##### Remarks Used to "tag" property instances as being alternative representations of the same logical property. ##### Definition: ```python @property def alt_id_parameter(self): ... ``` ### anonym_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/anonym_parameters.md #### anonym_parameters property Gets the anonymous parameters. ##### Definition: ```python @property def anonym_parameters(self): ... ``` ### charset_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/charset_parameter.md #### charset_parameter property Gets the charset parameter. ##### Definition: ```python @property def charset_parameter(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/content_type.md #### content_type property Gets the content type of record. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/encoding_parameter.md #### encoding_parameter property Gets the encoding parameter value. ##### Definition: ```python @property def encoding_parameter(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_readability_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/get_readability_value.md #### get_readability_value(self, code_page_name) Gets the readability value. ##### Returns The readability value. ```python def get_readability_value(self, code_page_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | code_page_name | System.String | The using encoding code page name or null for ASCII encoding. | ### group property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/group.md #### group property Gets the grouping value. ##### Definition: ```python @property def group(self): ... ``` ### is_quoted_printable property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/is_quoted_printable.md #### is_quoted_printable property Gets a value indicating whether this instance is quoted printable string. ##### Definition: ```python @property def is_quoted_printable(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/language_parameter.md #### language_parameter property Gets the language parameter value. ##### Definition: ```python @property def language_parameter(self): ... ``` ### media_type_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/media_type_parameter.md #### media_type_parameter property Gets the media type parameter value. ##### Remarks Used with properties whose value is a URI. It provides a hint to the vCard consumer application about the media type [RFC2046] of the resource identified by the URI. ##### Definition: ```python @property def media_type_parameter(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pref_parameter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/pref_parameter.md #### pref_parameter property Gets the preferred parameter. ##### Remarks Used to indicate that the corresponding instance of a property is preferred by the vCard author. ##### Definition: ```python @property def pref_parameter(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### type_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/type_name.md #### type_name property Gets the type of the record. ##### Definition: ```python @property def type_name(self): ... ``` ### type_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/type_parameters.md #### type_parameters property Gets the type parameter values. ##### Remarks The type parameter has multiple, different uses. In general, it is a way of specifying class characteristics of the associated property. ##### Definition: ```python @property def type_parameters(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/value.md #### value property Gets the record value. ##### Definition: ```python @property def value(self): ... ``` ### value_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.businesscard/vcardtextrecord/value_parameters.md #### value_parameters property Gets the value parameters. ##### Remarks Used to identify the value type (data type) and format of the value. ##### Definition: ```python @property def value_parameters(self): ... ``` ### groupdocs.metadata.formats.cad Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad.md The namespace contains classes for working with CAD (computer-aided design) formats. ##### Classes | Class | Description | | :- | :- | | `CadCustomPropertyPackage` | Represents a collection of custom CAD metadata properties. | | `CadPackage` | Represents CAD (Computer-aided design) metadata. | | `CadRootPackage` | Represents the root package allowing working with metadata in a CAD drawing. | | `DwgRootPackage` | Represents the root package allowing working with metadata in a DWG drawing. | | `DxfRootPackage` | Represents the root package allowing working with metadata in a DXF drawing. | ##### Enumerations | Enumeration | Description | | :- | :- | | `CadAcadVersion` | Defines AutoCAD drawing database version numbers. | ### CadAcadVersion enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadacadversion.md #### CadAcadVersion enumeration Defines AutoCAD drawing database version numbers. The CadAcadVersion type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Non-versioned. | | AC1006 | AutoCAD drawing database R10. | | AC1009 | AutoCAD drawing database R11 and R12. | | AC1012 | AutoCAD drawing database R13. | | AC1014 | AutoCAD drawing database R14. | | AC1015 | AutoCAD drawing database AutoCAD 2000. | | AC1018 | AutoCAD drawing database AutoCAD 2004. | | AC1021 | AutoCAD drawing database AutoCAD 2007. | | AC1024 | AutoCAD drawing database AutoCAD 2010. | | AC1027 | AutoCAD drawing database AutoCAD 2013. | | AC1032 | AutoCAD drawing database AutoCAD 2018. | ### CadCustomPropertyPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage.md #### CadCustomPropertyPackage class Represents a collection of custom CAD metadata properties. **Inheritance:** `CadCustomPropertyPackage` → `CustomPackage` → `MetadataPackage` The CadCustomPropertyPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadcustompropertypackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### CadPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage.md #### CadPackage class Represents CAD (Computer-aided design) metadata. **Inheritance:** `CadPackage` → `CustomPackage` → `MetadataPackage` The CadPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | acad_version | Gets the AutoCAD drawing database version number. | | height | Gets the drawing height. | | width | Gets the drawing width. | | author | Gets the drawing author. | | comments | Gets the user comments. | | hyperlink_base | Gets the hyperlink base. | | keywords | Gets the keywords. | | last_saved_by | Gets the name of the last editor. | | revision_number | Gets the revision number. | | subject | Gets the subject. | | title | Gets the title. | | created_date_time | Gets the date and time when the drawing was created. | | modified_date_time | Gets the date and time when the drawing was modified. | | custom_properties | Gets the package containing custom metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### acad_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/acad_version.md #### acad_version property Gets the AutoCAD drawing database version number. ##### Definition: ```python @property def acad_version(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/author.md #### author property Gets the drawing author. ##### Definition: ```python @property def author(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/comments.md #### comments property Gets the user comments. ##### Definition: ```python @property def comments(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/created_date_time.md #### created_date_time property Gets the date and time when the drawing was created. ##### Definition: ```python @property def created_date_time(self): ... ``` ### custom_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/custom_properties.md #### custom_properties property Gets the package containing custom metadata properties. ##### Definition: ```python @property def custom_properties(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/height.md #### height property Gets the drawing height. ##### Definition: ```python @property def height(self): ... ``` ### hyperlink_base property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/hyperlink_base.md #### hyperlink_base property Gets the hyperlink base. ##### Definition: ```python @property def hyperlink_base(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/keywords.md #### keywords property Gets the keywords. ##### Definition: ```python @property def keywords(self): ... ``` ### last_saved_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/last_saved_by.md #### last_saved_by property Gets the name of the last editor. ##### Definition: ```python @property def last_saved_by(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modified_date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/modified_date_time.md #### modified_date_time property Gets the date and time when the drawing was modified. ##### Definition: ```python @property def modified_date_time(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revision_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/revision_number.md #### revision_number property Gets the revision number. ##### Definition: ```python @property def revision_number(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/subject.md #### subject property Gets the subject. ##### Definition: ```python @property def subject(self): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/title.md #### title property Gets the title. ##### Definition: ```python @property def title(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadpackage/width.md #### width property Gets the drawing width. ##### Definition: ```python @property def width(self): ... ``` ### CadRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage.md #### CadRootPackage class Represents the root package allowing working with metadata in a CAD drawing. **Inheritance:** `CadRootPackage` → `RootMetadataPackage` → `MetadataPackage` The CadRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | cad_package | Gets the CAD metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to read metadata of a CAD drawing. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### cad_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/cad_package.md #### cad_package property Gets the CAD metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def cad_package(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/cadrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DwgRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage.md #### DwgRootPackage class Represents the root package allowing working with metadata in a DWG drawing. **Inheritance:** `DwgRootPackage` → `CadRootPackage` → `RootMetadataPackage` → `MetadataPackage` The DwgRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | cad_package | Gets the CAD metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### cad_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/cad_package.md #### cad_package property Gets the CAD metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def cad_package(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dwgrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DxfRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage.md #### DxfRootPackage class Represents the root package allowing working with metadata in a DXF drawing. **Inheritance:** `DxfRootPackage` → `CadRootPackage` → `RootMetadataPackage` → `MetadataPackage` The DxfRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | cad_package | Gets the CAD metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### cad_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/cad_package.md #### cad_package property Gets the CAD metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def cad_package(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.cad/dxfrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.document Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document.md The namespace provides functionality intended to work with a variety of document formats such as spreadsheets, presentations, text processing formats, etc. ##### Classes | Class | Description | | :- | :- | | `DiagramPackage` | Represents a native metadata package in a diagram format. | | `DiagramRootPackage` | Represents the root package intended to work with metadata in a diagram. | | `DiagramTypePackage` | Represents a metadata package containing diagram-specific file format information. | | `DocumentPackage` | Represents native metadata in an office document. | | `DocumentStatistics` | Represents a set of document statistics. | | `NoteInspectionPackage` | Represents a metadata package exposing the internal structure of a note section. | | `NotePage` | Represents a page in a OneNote section. | | `NoteRootPackage` | Represents the root package intended to work with metadata in an electronic note file. | | `PdfAnnotation` | Represents an annotation in a PDF document. | | `PdfAttachment` | Represents an attachment in a PDF document. | | `PdfBookmark` | Represents a bookmark in a PDF document. | | `PdfFormField` | Represents a form field in a PDF document. | | `PdfInspectionPackage` | Contains information about PDF document parts that can be considered as metadata in some cases. | | `PdfPackage` | Represents native metadata in a PDF document. | | `PdfRootPackage` | Represents the root package allowing working with metadata in a PDF document. | | `PdfTypePackage` | Represents a metadata package containing PDF-specific file format information. | | `PresentationComment` | Represents a user comment in a presentation. | | `PresentationInspectionPackage` | Contains information about presentation parts that can be considered as metadata in some cases. | | `PresentationPackage` | Represents a native metadata package in a presentation. | | `PresentationRootPackage` | Represents the root package intended to work with metadata in a presentation. | | `PresentationSlide` | Represents a slide in a presentation. | | `PresentationTypePackage` | Represents a metadata package containing presentation-specific file format information. | | `ProjectManagementPackage` | Represents a native metadata package in a project management file. | | `ProjectManagementRootPackage` | Represents the root package intended to work with metadata in a project management format. | | `SpreadsheetComment` | Represents a user comment in a spreadsheet. | | `SpreadsheetContentTypePackage` | Represents a metadata package containing spreadsheet content type properties. | | `SpreadsheetContentTypeProperty` | Represents a content type property in a spreadsheet. | | `SpreadsheetInspectionPackage` | Contains information about spreadsheet parts that can be considered as metadata in some cases. | | `SpreadsheetPackage` | Represents a native metadata package in a spreadsheet. | | `SpreadsheetRootPackage` | Represents the root package allowing working with metadata in a spreadsheet. | | `SpreadsheetSheet` | Represents a sheet in a spreadsheet document. | | `SpreadsheetTypePackage` | Represents a metadata package containing spreadsheet-specific file format information. | | `WordProcessingComment` | Represents a comment in a word processing document. | | `WordProcessingField` | Represents a field in a word processing document. | | `WordProcessingInspectionPackage` | Contains information about document parts that can be considered as metadata in some cases. | | `WordProcessingPackage` | Represents a native metadata package in a word processing document. | | `WordProcessingRevision` | Represents a revision (tracked change) in a document. | | `WordProcessingRootPackage` | Represents the root package allowing working with metadata in a word processing document. | | `WordProcessingTypePackage` | Represents a metadata package containing document-specific file format information. | ##### Enumerations | Enumeration | Description | | :- | :- | | `DiagramFormat` | Defines various diagram subformats. | | `PresentationFormat` | Defines various presentation subformats. | | `SpreadsheetFormat` | Defines various spreadsheet subformats. | | `WordProcessingFormat` | Defines various word processing document subformats. | | `WordProcessingRevisionType` | Specifies the type of the change being tracked by a revision. | ### DiagramFormat enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramformat.md #### DiagramFormat enumeration Defines various diagram subformats. The DiagramFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | The format is not recognized. | | VDX | Represents the .VDX Visio format.
Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension.
A Visio drawing XML file is created in Visio software, which is developed by Microsoft.
Learn more about this file format [here](https://wiki.fileformat.com/image/vdx/). | | VSD | Represents the .VSD Visio format.
VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these.
Such drawings can contain visual objects such as visual objects, flow charts, UML diagram, information flow, organizational charts,
software diagrams, network layout, database models, objects mapping and other similar information.
Learn more about this file format [here](https://wiki.fileformat.com/image/vsd/). | | VSDX | Represents the .VSDX Visio format.
Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards.
It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio.
Learn more about this file format [here](https://wiki.fileformat.com/image/vsdx/). | | VSS | Represents the .VSS Visio format.
VSS are stencil files created with Microsoft Visio 2007 and earlier.
A relatively new file format is .VSSX that was introduced with Microsoft Visio 2013. Stencil files provide drawing objects that can be included in a .VSD Visio drawing.
Learn more about this file format [here](https://wiki.fileformat.com/image/vss/). | | VSX | Represents the .VSX Visio format.
Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio.
VSX files are saved in XML file format and was supported till Visio 2013.
Learn more about this file format [here](https://wiki.fileformat.com/image/vsx/). | ### DiagramPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage.md #### DiagramPackage class Represents a native metadata package in a diagram format. **Inheritance:** `DiagramPackage` → `DocumentPackage` → `CustomPackage` → `MetadataPackage` The DiagramPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | alternate_names | Gets or sets the alternate names for the document. Can be updated in VDX and VSX formats only. | | build_number_created | Gets the full build number of the instance used to create the document. | | build_number_edited | Gets the build number of the instance last used to edit the document. | | category | Gets or sets the descriptive text for the type of drawing, such as flowchart or office layout.
This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. | | company | Gets or sets 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 | Gets or sets the person who created or last updated the file.
The maximum length is 63 characters.. | | description | Gets or sets a descriptive text string for the document.
Use this element to store important information about the document, such as its purpose, recent changes, or pending changes.
The maximum is 191 characters. | | hyperlink_base | Gets or sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram).
By default, a hyperlink path is relative to the current document unless a different path is specified in this element.
Maximum length is 256 characters. | | keywords | Gets or sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number.
The maximum string length is 63 characters. | | language | Gets or sets the language of the document.
Can be updated in VSD and VSDX formats only. | | manager | Gets or sets a user-entered text string identifying the person in charge of the project or department.
The maximum length is 63 characters. | | preview_picture | Gets or sets the preview picture. | | subject | Gets or sets a user-defined text string that describes the contents of the document.
Maximum length is 63 characters. | | template | Gets or sets a string value specifying the file name of the template from which the document was created. | | time_created | Gets or sets a date and time value indicating when the document was created. | | time_edited | Gets a date and time value indicating when the document was last edited. | | time_printed | Gets a date and time value indicating when the document was last printed. | | time_saved | Gets a date and time value indicating when the document was last saved. | | title | Gets or sets a user-defined text string that serves as a descriptive title for the document.
Maximum length is 63 characters. | ##### Methods | Method | Description | | :- | :- | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes a writable metadata property by the specified name. | | `clear(self)` | Removes all writable metadata properties from the package. | | `clear_built_in_properties(self)` | Removes all built-in metadata properties. | | `clear_custom_properties(self)` | Removes all custom metadata properties. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract built-in metadata properties from a diagram. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alternate_names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/alternate_names.md #### alternate_names property Gets or sets the alternate names for the document. Can be updated in VDX and VSX formats only. ##### Definition: ```python @property def alternate_names(self): ... @alternate_names.setter def alternate_names(self, value): ... ``` ### build_number_created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/build_number_created.md #### build_number_created property Gets the full build number of the instance used to create the document. ##### Definition: ```python @property def build_number_created(self): ... ``` ### build_number_edited property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/build_number_edited.md #### build_number_edited property Gets the build number of the instance last used to edit the document. ##### Definition: ```python @property def build_number_edited(self): ... ``` ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/category.md #### category property Gets or sets the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box. ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/clear.md #### clear(self) Removes all writable metadata properties from the package. ```python def clear(self): ... ``` ### clear_built_in_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/clear_built_in_properties.md #### clear_built_in_properties(self) Removes all built-in metadata properties. ```python def clear_built_in_properties(self): ... ``` ### clear_custom_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/clear_custom_properties.md #### clear_custom_properties(self) Removes all custom metadata properties. ```python def clear_custom_properties(self): ... ``` ### company property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/company.md #### company property Gets or sets the user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters. ##### Definition: ```python @property def company(self): ... @company.setter def company(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/creator.md #### creator property Gets or sets the person who created or last updated the file. The maximum length is 63 characters.. ##### Definition: ```python @property def creator(self): ... @creator.setter def creator(self, value): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/description.md #### description property Gets or sets a descriptive text string for the document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters. ##### Definition: ```python @property def description(self): ... @description.setter def description(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### hyperlink_base property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/hyperlink_base.md #### hyperlink_base property Gets or sets the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters. ##### Definition: ```python @property def hyperlink_base(self): ... @hyperlink_base.setter def hyperlink_base(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/keywords.md #### keywords property Gets or sets a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/language.md #### language property Gets or sets the language of the document. Can be updated in VSD and VSDX formats only. ##### Definition: ```python @property def language(self): ... @language.setter def language(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/manager.md #### manager property Gets or sets a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters. ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### preview_picture property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/preview_picture.md #### preview_picture property Gets or sets the preview picture. ##### Definition: ```python @property def preview_picture(self): ... @preview_picture.setter def preview_picture(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/remove.md #### remove(self, property_name) Removes a writable metadata property by the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | A metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/set.md #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.String | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | bool | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | float | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.DateTime | The property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/subject.md #### subject property Gets or sets a user-defined text string that describes the contents of the document. Maximum length is 63 characters. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### template property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/template.md #### template property Gets or sets a string value specifying the file name of the template from which the document was created. ##### Definition: ```python @property def template(self): ... @template.setter def template(self, value): ... ``` ### time_created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/time_created.md #### time_created property Gets or sets a date and time value indicating when the document was created. ##### Definition: ```python @property def time_created(self): ... @time_created.setter def time_created(self, value): ... ``` ### time_edited property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/time_edited.md #### time_edited property Gets a date and time value indicating when the document was last edited. ##### Definition: ```python @property def time_edited(self): ... ``` ### time_printed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/time_printed.md #### time_printed property Gets a date and time value indicating when the document was last printed. ##### Definition: ```python @property def time_printed(self): ... ``` ### time_saved property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/time_saved.md #### time_saved property Gets a date and time value indicating when the document was last saved. ##### Definition: ```python @property def time_saved(self): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/title.md #### title property Gets or sets a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagrampackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DiagramRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage.md #### DiagramRootPackage class Represents the root package intended to work with metadata in a diagram. **Inheritance:** `DiagramRootPackage` → `RootMetadataPackage` → `MetadataPackage` The DiagramRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | document_statistics | Gets the document statistics package. | | document_properties | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code sample demonstrates how to update built-in metadata properties in a diagram document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/document_properties.md ##### Definition: ```python @property def document_properties(self): ... ``` ### document_statistics property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/document_statistics.md #### document_statistics property Gets the document statistics package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def document_statistics(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample shows how to detect the exact type of a loaded diagram and extract some additional file format information. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DiagramTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage.md #### DiagramTypePackage class Represents a metadata package containing diagram-specific file format information. **Inheritance:** `DiagramTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The DiagramTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | diagram_format | Gets the exact diagram format. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### diagram_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/diagram_format.md #### diagram_format property Gets the exact diagram format. ##### Definition: ```python @property def diagram_format(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/diagramtypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DocumentPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage.md #### DocumentPackage class Represents native metadata in an office document. **Inheritance:** `DocumentPackage` → `CustomPackage` → `MetadataPackage` The DocumentPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes a writable metadata property by the specified name. | | `clear(self)` | Removes all writable metadata properties from the package. | | `clear_built_in_properties(self)` | Removes all built-in metadata properties. | | `clear_custom_properties(self)` | Removes all custom metadata properties. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/clear.md #### clear(self) Removes all writable metadata properties from the package. ```python def clear(self): ... ``` ### clear_built_in_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/clear_built_in_properties.md #### clear_built_in_properties(self) Removes all built-in metadata properties. ```python def clear_built_in_properties(self): ... ``` ### clear_custom_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/clear_custom_properties.md #### clear_custom_properties(self) Removes all custom metadata properties. ```python def clear_custom_properties(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/remove.md #### remove(self, property_name) Removes a writable metadata property by the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | A metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DocumentStatistics class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics.md #### DocumentStatistics class Represents a set of document statistics. **Inheritance:** `DocumentStatistics` → `CustomPackage` → `MetadataPackage` The DocumentStatistics type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `DocumentStatistics` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | character_count | Gets an estimated number of characters in the document. | | word_count | Gets an estimated number of words in the document. | | page_count | Gets an estimated number of pages in the document. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### DocumentStatistics constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `DocumentStatistics` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### character_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/character_count.md #### character_count property Gets an estimated number of characters in the document. ##### Definition: ```python @property def character_count(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### page_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/page_count.md #### page_count property Gets an estimated number of pages in the document. ##### Definition: ```python @property def page_count(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### word_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/documentstatistics/word_count.md #### word_count property Gets an estimated number of words in the document. ##### Definition: ```python @property def word_count(self): ... ``` ### NoteInspectionPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage.md #### NoteInspectionPackage class Represents a metadata package exposing the internal structure of a note section. **Inheritance:** `NoteInspectionPackage` → `CustomPackage` → `MetadataPackage` The NoteInspectionPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | pages | Gets an array of section pages. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/pages.md #### pages property Gets an array of section pages. ##### Definition: ```python @property def pages(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noteinspectionpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### NotePage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage.md #### NotePage class Represents a page in a OneNote section. **Inheritance:** `NotePage` → `CustomPackage` → `MetadataPackage` The NotePage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | author | Gets the page author. | | title | Gets the page title. | | creation_time | Gets the creation time. | | last_modification_time | Gets the last modification time. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/author.md #### author property Gets the page author. ##### Definition: ```python @property def author(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creation_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/creation_time.md #### creation_time property Gets the creation time. ##### Definition: ```python @property def creation_time(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### last_modification_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/last_modification_time.md #### last_modification_time property Gets the last modification time. ##### Definition: ```python @property def last_modification_time(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/title.md #### title property Gets the page title. ##### Definition: ```python @property def title(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/notepage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### NoteRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage.md #### NoteRootPackage class Represents the root package intended to work with metadata in an electronic note file. **Inheritance:** `NoteRootPackage` → `RootMetadataPackage` → `MetadataPackage` The NoteRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | inspection_package | Gets a metadata package containing inspection results for the document.
The package contains information about document parts that can be considered as metadata in some cases. | | document_statistics | Gets the document statistics package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to inspect a note document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_statistics property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/document_statistics.md #### document_statistics property Gets the document statistics package. ##### Definition: ```python @property def document_statistics(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### inspection_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/inspection_package.md #### inspection_package property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def inspection_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/noterootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PdfAnnotation class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation.md #### PdfAnnotation class Represents an annotation in a PDF document. **Inheritance:** `PdfAnnotation` → `CustomPackage` → `MetadataPackage` The PdfAnnotation type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | text | Gets the annotation text. | | name | Gets the name of the annotation. | | page_number | Gets the number of the page containing the annotation. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/name.md #### name property Gets the name of the annotation. ##### Definition: ```python @property def name(self): ... ``` ### page_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/page_number.md #### page_number property Gets the number of the page containing the annotation. ##### Definition: ```python @property def page_number(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/text.md #### text property Gets the annotation text. ##### Definition: ```python @property def text(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfannotation/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PdfAttachment class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment.md #### PdfAttachment class Represents an attachment in a PDF document. **Inheritance:** `PdfAttachment` → `CustomPackage` → `MetadataPackage` The PdfAttachment type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the attachment name. | | description | Gets the attachment description. | | mime_type | Gets the MIME type of the attachment. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/description.md #### description property Gets the attachment description. ##### Definition: ```python @property def description(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/mime_type.md #### mime_type property Gets the MIME type of the attachment. ##### Definition: ```python @property def mime_type(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/name.md #### name property Gets the attachment name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfattachment/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PdfBookmark class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark.md #### PdfBookmark class Represents a bookmark in a PDF document. **Inheritance:** `PdfBookmark` → `CustomPackage` → `MetadataPackage` The PdfBookmark type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | title | Gets the title of the bookmark. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/title.md #### title property Gets the title of the bookmark. ##### Definition: ```python @property def title(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfbookmark/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PdfFormField class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield.md #### PdfFormField class Represents a form field in a PDF document. **Inheritance:** `PdfFormField` → `CustomPackage` → `MetadataPackage` The PdfFormField type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the name of the field. | | value | Gets the field value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/name.md #### name property Gets the name of the field. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfformfield/value.md #### value property Gets the field value. ##### Definition: ```python @property def value(self): ... ``` ### PdfInspectionPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage.md #### PdfInspectionPackage class Contains information about PDF document parts that can be considered as metadata in some cases. **Inheritance:** `PdfInspectionPackage` → `CustomPackage` → `MetadataPackage` The PdfInspectionPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | annotations | Gets an array of the annotations. | | attachments | Gets an array of the attachments. | | bookmarks | Gets an array of the bookmarks. | | fields | Gets an array of the form fields. | | digital_signatures | Gets an array of the digital signatures. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `clear_annotations(self)` | Removes all detected annotations from the document. | | `clear_attachments(self)` | Removes all detected attachments from the document. | | `clear_bookmarks(self)` | Removes all detected bookmarks from the document. | | `clear_fields(self)` | Removes all detected form fields from the document. | | `clear_digital_signatures(self)` | Removes all detected digital signatures from the document. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to remove the inspection properties in a PDF document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### annotations property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/annotations.md #### annotations property Gets an array of the annotations. ##### Definition: ```python @property def annotations(self): ... ``` ### attachments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/attachments.md #### attachments property Gets an array of the attachments. ##### Definition: ```python @property def attachments(self): ... ``` ### bookmarks property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/bookmarks.md #### bookmarks property Gets an array of the bookmarks. ##### Definition: ```python @property def bookmarks(self): ... ``` ### clear_annotations method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/clear_annotations.md #### clear_annotations(self) Removes all detected annotations from the document. ```python def clear_annotations(self): ... ``` ### clear_attachments method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/clear_attachments.md #### clear_attachments(self) Removes all detected attachments from the document. ```python def clear_attachments(self): ... ``` ### clear_bookmarks method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/clear_bookmarks.md #### clear_bookmarks(self) Removes all detected bookmarks from the document. ```python def clear_bookmarks(self): ... ``` ### clear_digital_signatures method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/clear_digital_signatures.md #### clear_digital_signatures(self) Removes all detected digital signatures from the document. ```python def clear_digital_signatures(self): ... ``` ### clear_fields method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/clear_fields.md #### clear_fields(self) Removes all detected form fields from the document. ```python def clear_fields(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_signatures property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/digital_signatures.md #### digital_signatures property Gets an array of the digital signatures. ##### Definition: ```python @property def digital_signatures(self): ... ``` ### fields property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/fields.md #### fields property Gets an array of the form fields. ##### Definition: ```python @property def fields(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfinspectionpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PdfPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage.md #### PdfPackage class Represents native metadata in a PDF document. **Inheritance:** `PdfPackage` → `DocumentPackage` → `CustomPackage` → `MetadataPackage` The PdfPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | author | Gets or sets the document author. | | created_date | Gets or sets the date of document creation. | | creator | Gets the creator of the document. | | keywords | Gets or sets the keywords. | | modified_date | Gets or sets the date of the last modification. | | producer | Gets the document producer. | | subject | Gets or sets the subject of the document. | | title | Gets or sets the title of the document. | | trapped_flag | Gets or sets the trapped flag. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes a writable metadata property by the specified name. | | `clear(self)` | Removes all writable metadata properties from the package. | | `clear_built_in_properties(self)` | Removes all built-in metadata properties. | | `clear_custom_properties(self)` | Removes all custom metadata properties. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | ##### Remarks **Learn more** | | | ##### Example This code snippet demonstrates how to update built-in metadata properties in a PDF document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/author.md #### author property Gets or sets the document author. ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/clear.md #### clear(self) Removes all writable metadata properties from the package. ```python def clear(self): ... ``` ### clear_built_in_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/clear_built_in_properties.md #### clear_built_in_properties(self) Removes all built-in metadata properties. ```python def clear_built_in_properties(self): ... ``` ### clear_custom_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/clear_custom_properties.md #### clear_custom_properties(self) Removes all custom metadata properties. ```python def clear_custom_properties(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/created_date.md #### created_date property Gets or sets the date of document creation. ##### Definition: ```python @property def created_date(self): ... @created_date.setter def created_date(self, value): ... ``` ### creator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/creator.md #### creator property Gets the creator of the document. ##### Definition: ```python @property def creator(self): ... @creator.setter def creator(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/keywords.md #### keywords property Gets or sets the keywords. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modified_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/modified_date.md #### modified_date property Gets or sets the date of the last modification. ##### Definition: ```python @property def modified_date(self): ... @modified_date.setter def modified_date(self, value): ... ``` ### producer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/producer.md #### producer property Gets the document producer. ##### Definition: ```python @property def producer(self): ... @producer.setter def producer(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/remove.md #### remove(self, property_name) Removes a writable metadata property by the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | A metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/set.md #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.String | The property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/subject.md #### subject property Gets or sets the subject of the document. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/title.md #### title property Gets or sets the title of the document. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### trapped_flag property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/trapped_flag.md #### trapped_flag property Gets or sets the trapped flag. ##### Definition: ```python @property def trapped_flag(self): ... @trapped_flag.setter def trapped_flag(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PdfRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage.md #### PdfRootPackage class Represents the root package allowing working with metadata in a PDF document. **Inheritance:** `PdfRootPackage` → `RootMetadataPackage` → `MetadataPackage` The PdfRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | inspection_package | Gets a metadata package containing inspection results for the document.
The package contains information about document parts that can be considered as metadata in some cases. | | document_statistics | Gets the document statistics package. | | xmp_package | Gets or sets the XMP metadata package. | | document_properties | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ##### Example This code sample shows how to extract built-in metadata properties from a PDF document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/document_properties.md ##### Definition: ```python @property def document_properties(self): ... ``` ### document_statistics property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/document_statistics.md #### document_statistics property Gets the document statistics package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to obtain the text statistics for a PDF document. ##### Definition: ```python @property def document_statistics(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code snippet shows how to detect the PDF version a loaded document and extract some additional file format information. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### inspection_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/inspection_package.md #### inspection_package property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to inspect a PDF document. ##### Definition: ```python @property def inspection_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdfrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### PdfTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage.md #### PdfTypePackage class Represents a metadata package containing PDF-specific file format information. **Inheritance:** `PdfTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The PdfTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | version | Gets the version of the format. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/pdftypepackage/version.md #### version property Gets the version of the format. ##### Definition: ```python @property def version(self): ... ``` ### PresentationComment class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment.md #### PresentationComment class Represents a user comment in a presentation. **Inheritance:** `PresentationComment` → `CustomPackage` → `MetadataPackage` The PresentationComment type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | author | Gets the author of the comment. | | created_time | Gets the created time of the comment. | | slide_number | Gets the slide number the comment belongs to. | | text | Gets the text of the comment. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/author.md #### author property Gets the author of the comment. ##### Definition: ```python @property def author(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/created_time.md #### created_time property Gets the created time of the comment. ##### Definition: ```python @property def created_time(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### slide_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/slide_number.md #### slide_number property Gets the slide number the comment belongs to. ##### Definition: ```python @property def slide_number(self): ... ``` ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/text.md #### text property Gets the text of the comment. ##### Definition: ```python @property def text(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationcomment/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PresentationFormat enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationformat.md #### PresentationFormat enumeration Defines various presentation subformats. The PresentationFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | The format is not recognized. | | PPT | Represents the .PPT PowerPoint format.
A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow.
It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text,
bulleted points, images, multimedia and other embedded OLE objects.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt/). | | PPTX | Represents the .PPTX PowerPoint format.
Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application.
Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx/). | | POTM | Represents the .POTM PowerPoint format.
Files with POTM extension are Microsoft PowerPoint template files with support for Macros.
POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm/). | | POTX | Represents the .POTX PowerPoint format.
Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above.
This format was created to replace the POT file format that is based on the binary file format and is supported with PowerPoint 97-2003.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx/). | | PPTM | Represents the .PPTM PowerPoint format.
Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions.
They are similar to PPTX files with the difference that the lateral can't execute macros though they can contain macros.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm/). | | PPS | Represents the .PPS PowerPoint format.
PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps/). | | PPSX | Represents the .PPSX PowerPoint format.
PPSX, Power Point Slide Show, files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose.
It is an update to the PPS file format that was supported by Microsoft PowerPoint 97-2003 versions.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx/). | | PPSM | Represents the .PPSM PowerPoint format.
Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher.
Another similar file format is PPTM which differs in opening with Microsoft PowerPoint in editable format instead of running as Slide Show
Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm/). | | POT | Represents the .POT PowerPoint format.
Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions.
Files created with these versions of Microsoft PowerPoint are in binary format as compared to those created in Office OpenXML
file formats using the higher versions of PowerPoint.
Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot/). | ### PresentationInspectionPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage.md #### PresentationInspectionPackage class Contains information about presentation parts that can be considered as metadata in some cases. **Inheritance:** `PresentationInspectionPackage` → `CustomPackage` → `MetadataPackage` The PresentationInspectionPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | hidden_slides | Gets an array of the hidden slides. | | comments | Gets an array of the comments. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `clear_comments(self)` | Removes all detected user comments from the presentation. | | `clear_hidden_slides(self)` | Removes all detected hidden slides from the presentation. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to clean inspection properties in a presentation. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_comments method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/clear_comments.md #### clear_comments(self) Removes all detected user comments from the presentation. ```python def clear_comments(self): ... ``` ### clear_hidden_slides method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/clear_hidden_slides.md #### clear_hidden_slides(self) Removes all detected hidden slides from the presentation. ```python def clear_hidden_slides(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/comments.md #### comments property Gets an array of the comments. ##### Definition: ```python @property def comments(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### hidden_slides property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/hidden_slides.md #### hidden_slides property Gets an array of the hidden slides. ##### Definition: ```python @property def hidden_slides(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationinspectionpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PresentationPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage.md #### PresentationPackage class Represents a native metadata package in a presentation. **Inheritance:** `PresentationPackage` → `DocumentPackage` → `CustomPackage` → `MetadataPackage` The PresentationPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | application_template | Gets or sets the application template. | | author | Gets or sets the document's author. | | category | Gets or sets the category. | | comments | Gets or sets the comments. | | company | Gets or sets the company. | | content_status | Gets or sets the content status. Can be updated in a PPTX document only. | | content_type | Gets or sets the content type. Can be updated in a PPTX document only. | | created_time | Gets or sets the document created date. | | keywords | Gets or sets the keywords. | | last_printed_date | Gets or sets the last printed date. | | last_saved_time | Gets the date and time when the presentation was modified last time. | | last_saved_by | Gets or sets the name of the last author. | | manager | Gets or sets the manager. | | name_of_application | Gets the name of the application created the document. | | revision_number | Gets or sets the revision number. | | subject | Gets or sets the subject. | | title | Gets or sets the title of the document. | | version | Gets the application version. | | hyperlink_base | Gets or sets the hyperlink base. | | presentation_format | Gets the presentation format. | | shared_doc | Gets or sets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. | | total_editing_time | Gets or sets the total editing time of the document. | ##### Methods | Method | Description | | :- | :- | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes a writable metadata property by the specified name. | | `clear(self)` | Removes all writable metadata properties from the package. | | `clear_built_in_properties(self)` | Removes all built-in metadata properties. | | `clear_custom_properties(self)` | Removes all custom metadata properties. | ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to update built-in metadata properties in a presentation. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### application_template property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/application_template.md #### application_template property Gets or sets the application template. ##### Definition: ```python @property def application_template(self): ... @application_template.setter def application_template(self, value): ... ``` ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/author.md #### author property Gets or sets the document's author. ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/category.md #### category property Gets or sets the category. ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/clear.md #### clear(self) Removes all writable metadata properties from the package. ```python def clear(self): ... ``` ### clear_built_in_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/clear_built_in_properties.md #### clear_built_in_properties(self) Removes all built-in metadata properties. ```python def clear_built_in_properties(self): ... ``` ### clear_custom_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/clear_custom_properties.md #### clear_custom_properties(self) Removes all custom metadata properties. ```python def clear_custom_properties(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/comments.md #### comments property Gets or sets the comments. ##### Definition: ```python @property def comments(self): ... @comments.setter def comments(self, value): ... ``` ### company property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/company.md #### company property Gets or sets the company. ##### Definition: ```python @property def company(self): ... @company.setter def company(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_status property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/content_status.md #### content_status property Gets or sets the content status. Can be updated in a PPTX document only. ##### Remarks Can be updated in a PPTX document only. Read-only for other supported formats. ##### Definition: ```python @property def content_status(self): ... @content_status.setter def content_status(self, value): ... ``` ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/content_type.md #### content_type property Gets or sets the content type. Can be updated in a PPTX document only. ##### Remarks Can be updated in a PPTX document only. Read-only for other supported formats. ##### Definition: ```python @property def content_type(self): ... @content_type.setter def content_type(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/created_time.md #### created_time property Gets or sets the document created date. ##### Definition: ```python @property def created_time(self): ... @created_time.setter def created_time(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### hyperlink_base property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/hyperlink_base.md #### hyperlink_base property Gets or sets the hyperlink base. ##### Remarks Read-only in old PPT. ##### Definition: ```python @property def hyperlink_base(self): ... @hyperlink_base.setter def hyperlink_base(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/keywords.md #### keywords property Gets or sets the keywords. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### last_printed_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/last_printed_date.md #### last_printed_date property Gets or sets the last printed date. ##### Definition: ```python @property def last_printed_date(self): ... @last_printed_date.setter def last_printed_date(self, value): ... ``` ### last_saved_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/last_saved_by.md #### last_saved_by property Gets or sets the name of the last author. ##### Definition: ```python @property def last_saved_by(self): ... @last_saved_by.setter def last_saved_by(self, value): ... ``` ### last_saved_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/last_saved_time.md #### last_saved_time property Gets the date and time when the presentation was modified last time. ##### Definition: ```python @property def last_saved_time(self): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/manager.md #### manager property Gets or sets the manager. ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_of_application property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/name_of_application.md #### name_of_application property Gets the name of the application created the document. ##### Definition: ```python @property def name_of_application(self): ... ``` ### presentation_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/presentation_format.md #### presentation_format property Gets the presentation format. ##### Definition: ```python @property def presentation_format(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/remove.md #### remove(self, property_name) Removes a writable metadata property by the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | A metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revision_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/revision_number.md #### revision_number property Gets or sets the revision number. ##### Definition: ```python @property def revision_number(self): ... @revision_number.setter def revision_number(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/set.md #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.String | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | bool | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.DateTime | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | int | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | float | The property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shared_doc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/shared_doc.md #### shared_doc property Gets or sets a value indicating whether the presentation is shared between multiple people. Can be updated in a PPTX document only. ##### Remarks Can be updated in a PPTX document only. Read-only for other formats like PPT, POT etc. ##### Definition: ```python @property def shared_doc(self): ... @shared_doc.setter def shared_doc(self, value): ... ``` ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/subject.md #### subject property Gets or sets the subject. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/title.md #### title property Gets or sets the title of the document. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### total_editing_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/total_editing_time.md #### total_editing_time property Gets or sets the total editing time of the document. ##### Definition: ```python @property def total_editing_time(self): ... @total_editing_time.setter def total_editing_time(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationpackage/version.md #### version property Gets the application version. ##### Definition: ```python @property def version(self): ... ``` ### PresentationRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage.md #### PresentationRootPackage class Represents the root package intended to work with metadata in a presentation. **Inheritance:** `PresentationRootPackage` → `RootMetadataPackage` → `MetadataPackage` The PresentationRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | inspection_package | Gets a metadata package containing inspection results for the document.
The package contains information about document parts that can be considered as metadata in some cases. | | document_statistics | Gets the document statistics package. | | document_properties | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This example shows how to extract built-in metadata properties from a presentation. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/document_properties.md ##### Definition: ```python @property def document_properties(self): ... ``` ### document_statistics property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/document_statistics.md #### document_statistics property Gets the document statistics package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to obtain simple text statistics for a presentation. ##### Definition: ```python @property def document_statistics(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This example demonstrates how to detect the exact type of a presentation and extract some additional file format information. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### inspection_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/inspection_package.md #### inspection_package property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to inspect a presentation. ##### Definition: ```python @property def inspection_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PresentationSlide class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide.md #### PresentationSlide class Represents a slide in a presentation. **Inheritance:** `PresentationSlide` → `CustomPackage` → `MetadataPackage` The PresentationSlide type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the slide name. | | number | Gets the slide number. | | slide_id | Gets the slide id. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/name.md #### name property Gets the slide name. ##### Definition: ```python @property def name(self): ... ``` ### number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/number.md #### number property Gets the slide number. ##### Definition: ```python @property def number(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### slide_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/slide_id.md #### slide_id property Gets the slide id. ##### Definition: ```python @property def slide_id(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationslide/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PresentationTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage.md #### PresentationTypePackage class Represents a metadata package containing presentation-specific file format information. **Inheritance:** `PresentationTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The PresentationTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | presentation_format | Gets the exact presentation format. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### presentation_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/presentation_format.md #### presentation_format property Gets the exact presentation format. ##### Definition: ```python @property def presentation_format(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/presentationtypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ProjectManagementPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage.md #### ProjectManagementPackage class Represents a native metadata package in a project management file. **Inheritance:** `ProjectManagementPackage` → `DocumentPackage` → `CustomPackage` → `MetadataPackage` The ProjectManagementPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | author | Gets or sets the author of the project. | | category | Gets or sets the category. | | comments | Gets or sets the user comments. | | company | Gets or sets the company. | | creation_date | Gets or sets the creation date. | | hyperlink_base | Gets or sets the hyperlink base. | | keywords | Gets or sets the keywords. | | last_author | Gets or sets the last author. | | revision | Gets or sets the revision number. | | subject | Gets or sets the subject. | | title | Gets or sets the title. | | template | Gets or sets the template. | | manager | Gets or sets the project manager. | | last_saved | Gets or sets the date when the project was saved last time. | | save_version | Gets the version of Microsoft Office Project from which a project file was saved. | | last_printed | Gets or sets the project's last print time. | | guid | Gets or sets the id of the project. | ##### Methods | Method | Description | | :- | :- | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes a writable metadata property by the specified name. | | `clear(self)` | Removes all writable metadata properties from the package. | | `clear_built_in_properties(self)` | Removes all built-in metadata properties. | | `clear_custom_properties(self)` | Removes all custom metadata properties. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to update built-in properties in a ProjectManagement document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/author.md #### author property Gets or sets the author of the project. ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/category.md #### category property Gets or sets the category. ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/clear.md #### clear(self) Removes all writable metadata properties from the package. ```python def clear(self): ... ``` ### clear_built_in_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/clear_built_in_properties.md #### clear_built_in_properties(self) Removes all built-in metadata properties. ```python def clear_built_in_properties(self): ... ``` ### clear_custom_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/clear_custom_properties.md #### clear_custom_properties(self) Removes all custom metadata properties. ```python def clear_custom_properties(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/comments.md #### comments property Gets or sets the user comments. ##### Definition: ```python @property def comments(self): ... @comments.setter def comments(self, value): ... ``` ### company property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/company.md #### company property Gets or sets the company. ##### Definition: ```python @property def company(self): ... @company.setter def company(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/creation_date.md #### creation_date property Gets or sets the creation date. ##### Definition: ```python @property def creation_date(self): ... @creation_date.setter def creation_date(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### guid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/guid.md #### guid property Gets or sets the id of the project. ##### Definition: ```python @property def guid(self): ... @guid.setter def guid(self, value): ... ``` ### hyperlink_base property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/hyperlink_base.md #### hyperlink_base property Gets or sets the hyperlink base. ##### Definition: ```python @property def hyperlink_base(self): ... @hyperlink_base.setter def hyperlink_base(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/keywords.md #### keywords property Gets or sets the keywords. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### last_author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/last_author.md #### last_author property Gets or sets the last author. ##### Definition: ```python @property def last_author(self): ... @last_author.setter def last_author(self, value): ... ``` ### last_printed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/last_printed.md #### last_printed property Gets or sets the project's last print time. ##### Definition: ```python @property def last_printed(self): ... @last_printed.setter def last_printed(self, value): ... ``` ### last_saved property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/last_saved.md #### last_saved property Gets or sets the date when the project was saved last time. ##### Definition: ```python @property def last_saved(self): ... @last_saved.setter def last_saved(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/manager.md #### manager property Gets or sets the project manager. ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/remove.md #### remove(self, property_name) Removes a writable metadata property by the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | A metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revision property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/revision.md #### revision property Gets or sets the revision number. ##### Definition: ```python @property def revision(self): ... @revision.setter def revision(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### save_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/save_version.md #### save_version property Gets the version of Microsoft Office Project from which a project file was saved. ##### Definition: ```python @property def save_version(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/set.md #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.String | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | float | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | bool | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.DateTime | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | int | The property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/subject.md #### subject property Gets or sets the subject. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### template property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/template.md #### template property Gets or sets the template. ##### Definition: ```python @property def template(self): ... @template.setter def template(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/title.md #### title property Gets or sets the title. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ProjectManagementRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage.md #### ProjectManagementRootPackage class Represents the root package intended to work with metadata in a project management format. **Inheritance:** `ProjectManagementRootPackage` → `RootMetadataPackage` → `MetadataPackage` The ProjectManagementRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | document_properties | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract built-in properties of a ProjectManagement document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/document_properties.md ##### Definition: ```python @property def document_properties(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/projectmanagementrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SpreadsheetComment class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment.md #### SpreadsheetComment class Represents a user comment in a spreadsheet. **Inheritance:** `SpreadsheetComment` → `CustomPackage` → `MetadataPackage` The SpreadsheetComment type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | author | Gets the author of the comment. | | text | Gets the comment text. | | sheet_number | Gets the sheet number. | | row | Gets the one-based row index of the comment. | | column | Gets the one-based column index of the comment. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/author.md #### author property Gets the author of the comment. ##### Definition: ```python @property def author(self): ... ``` ### column property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/column.md #### column property Gets the one-based column index of the comment. ##### Definition: ```python @property def column(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### row property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/row.md #### row property Gets the one-based row index of the comment. ##### Definition: ```python @property def row(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sheet_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/sheet_number.md #### sheet_number property Gets the sheet number. ##### Definition: ```python @property def sheet_number(self): ... ``` ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/text.md #### text property Gets the comment text. ##### Definition: ```python @property def text(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcomment/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SpreadsheetContentTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage.md #### SpreadsheetContentTypePackage class Represents a metadata package containing spreadsheet content type properties. **Inheritance:** `SpreadsheetContentTypePackage` → `CustomPackage` → `MetadataPackage` The SpreadsheetContentTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `set(self, property_name, property_value)` | Adds or replaces the content type property with the specified name. | | `set(self, property_name, property_value, property_type)` | Adds or replaces the content type property with the specified name. | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes the content type property with the specified name. | | `clear(self)` | Removes all writable metadata properties. | | `to_list(self)` | Creates a list from the package. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/clear.md #### clear(self) Removes all writable metadata properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/remove.md #### remove(self, property_name) Removes the content type property with the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the content type property to be removed. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/set.md #### set(self, property_name, property_value) Adds or replaces the content type property with the specified name. ```python def set(self, property_name, property_value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | property_value | System.String | The property value. | #### set(self, property_name, property_value, property_type) Adds or replaces the content type property with the specified name. ```python def set(self, property_name, property_value, property_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | property_value | System.String | The property value. | | property_type | System.String | The property type. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains properties from the package. ```python def to_list(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SpreadsheetContentTypeProperty class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty.md #### SpreadsheetContentTypeProperty class Represents a content type property in a spreadsheet. **Inheritance:** `SpreadsheetContentTypeProperty` → `MetadataProperty` The SpreadsheetContentTypeProperty type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | spreadsheet_property_type | Gets the type of the property. | | spreadsheet_property_value | Gets the value of the property. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### spreadsheet_property_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/spreadsheet_property_type.md #### spreadsheet_property_type property Gets the type of the property. ##### Definition: ```python @property def spreadsheet_property_type(self): ... ``` ### spreadsheet_property_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/spreadsheet_property_value.md #### spreadsheet_property_value property Gets the value of the property. ##### Definition: ```python @property def spreadsheet_property_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetcontenttypeproperty/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### SpreadsheetFormat enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetformat.md #### SpreadsheetFormat enumeration Defines various spreadsheet subformats. The SpreadsheetFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | The format is not recognized. | | XLS | Represents the .XLS Excel format.
Files with XLS extension represent Excel Binary File Format.
Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers.
File saved by Excel is known as Workbook where each workbook can have one or more worksheets.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xls/). | | XLSB | Represents the .XLSB Excel format.
XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content.
The content can include unstructured or semi-structured tables of numbers, text, or both numbers and text, formulas, external data connections, charts and images.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsb/). | | XLSX | Represents the .XLSX Excel format.
XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007.
Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376,
the new format is a zip package that contains a number of XML files.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsx/). | | XLSM | Represents the .XLSM Excel format.
Files with XLSM extension is a type of Spreasheet files that support Macros.
From application point of view, a Macro is set of instructions that are used for automating processes.
A macro is used to record the steps that are performed repeatedly and facilitates performing the actions by running the macro again.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlsm/). | | XLTX | Represents the .XLTX Excel format.
Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications.
It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltx/). | | XLTM | Represents the .XLTM Excel format.
The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files.
XLTM files are similar to XLTX in structure other than that the later doesn't support creating template files with macros.
Such template files are used to generate and set the layout, formatting, and other settings along with the macros to facilitate creating similar XLSX files then.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xltm/). | | ODS | Represents the Opendocument Spreadsheet format.
Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user.
Data is stored inside ODF file into rows and columns.
It is XML-based format and is one of the several subtypes in the Open Document Formats (ODF) family.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods/). | | XLT | Represents the .XLT Excel format.
Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite.
Microsoft Office 97-2003 supported creating new XLT files as well as opening these.
The latest version of Excel is still capable of opening this old format template files.
Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/xlt/). | ### SpreadsheetInspectionPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage.md #### SpreadsheetInspectionPackage class Contains information about spreadsheet parts that can be considered as metadata in some cases. **Inheritance:** `SpreadsheetInspectionPackage` → `CustomPackage` → `MetadataPackage` The SpreadsheetInspectionPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | comments | Gets an array of the user comments. | | hidden_sheets | Gets an array of the hidden sheets. | | digital_signatures | Gets an array of digital signatures presented in the document. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `clear_comments(self)` | Removes all detected user comments from the spreadsheet. | | `clear_hidden_sheets(self)` | Removes all detected hidden sheets from the spreadsheet. | | `clear_digital_signatures(self)` | Removes all detected digital signatures from the spreadsheet. | ##### Remarks **Learn more** | | | ##### Example This code sample shows hot to remove inspection properties from a spreadsheet. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_comments method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/clear_comments.md #### clear_comments(self) Removes all detected user comments from the spreadsheet. ```python def clear_comments(self): ... ``` ### clear_digital_signatures method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/clear_digital_signatures.md #### clear_digital_signatures(self) Removes all detected digital signatures from the spreadsheet. ```python def clear_digital_signatures(self): ... ``` ### clear_hidden_sheets method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/clear_hidden_sheets.md #### clear_hidden_sheets(self) Removes all detected hidden sheets from the spreadsheet. ```python def clear_hidden_sheets(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/comments.md #### comments property Gets an array of the user comments. ##### Definition: ```python @property def comments(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_signatures property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/digital_signatures.md #### digital_signatures property Gets an array of digital signatures presented in the document. ##### Definition: ```python @property def digital_signatures(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### hidden_sheets property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/hidden_sheets.md #### hidden_sheets property Gets an array of the hidden sheets. ##### Definition: ```python @property def hidden_sheets(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetinspectionpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SpreadsheetPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage.md #### SpreadsheetPackage class Represents a native metadata package in a spreadsheet. **Inheritance:** `SpreadsheetPackage` → `DocumentPackage` → `CustomPackage` → `MetadataPackage` The SpreadsheetPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | language | Gets or sets the document language. | | author | Gets or sets the document author. | | category | Gets or sets the category. | | comments | Gets or sets the comments. | | company | Gets or sets the company. | | content_status | Gets or sets the content status. | | content_type | Gets or sets the content type. | | created_time | Gets or sets the document created date. | | total_editing_time | Gets or sets the total editing time in minutes. | | hyperlink_base | Gets or sets the hyperlink base. | | keywords | Gets or sets the keywords. | | last_saved_time | Gets or sets the time of the last saving in UTC. | | last_printed_date | Gets or sets the last printed date in UTC. | | last_saved_by | Gets or sets the name of the last author. | | manager | Gets or sets the manager. | | name_of_application | Gets or sets the name of application. | | revision | Gets or sets the document revision number. | | subject | Gets or sets the subject. | | template | Gets or sets the document template name. | | title | Gets or sets the title of the document. | | version | Gets or sets the version number of the application that created the document. | | content_type_properties | Gets the metadata package containing the content type properties. | ##### Methods | Method | Description | | :- | :- | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes a writable metadata property by the specified name. | | `clear(self)` | Removes all writable metadata properties from the package. | | `clear_built_in_properties(self)` | Removes all built-in metadata properties. | | `clear_custom_properties(self)` | Removes all custom metadata properties. | ##### Remarks **Learn more** | | | ##### Example This example shows how to update built-in metadata properties in a spreadsheet. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/author.md #### author property Gets or sets the document author. ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/category.md #### category property Gets or sets the category. ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/clear.md #### clear(self) Removes all writable metadata properties from the package. ```python def clear(self): ... ``` ### clear_built_in_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/clear_built_in_properties.md #### clear_built_in_properties(self) Removes all built-in metadata properties. ```python def clear_built_in_properties(self): ... ``` ### clear_custom_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/clear_custom_properties.md #### clear_custom_properties(self) Removes all custom metadata properties. ```python def clear_custom_properties(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/comments.md #### comments property Gets or sets the comments. ##### Definition: ```python @property def comments(self): ... @comments.setter def comments(self, value): ... ``` ### company property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/company.md #### company property Gets or sets the company. ##### Definition: ```python @property def company(self): ... @company.setter def company(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_status property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/content_status.md #### content_status property Gets or sets the content status. ##### Definition: ```python @property def content_status(self): ... @content_status.setter def content_status(self, value): ... ``` ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/content_type.md #### content_type property Gets or sets the content type. ##### Definition: ```python @property def content_type(self): ... @content_type.setter def content_type(self, value): ... ``` ### content_type_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/content_type_properties.md #### content_type_properties property Gets the metadata package containing the content type properties. ##### Definition: ```python @property def content_type_properties(self): ... @content_type_properties.setter def content_type_properties(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/created_time.md #### created_time property Gets or sets the document created date. ##### Definition: ```python @property def created_time(self): ... @created_time.setter def created_time(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### hyperlink_base property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/hyperlink_base.md #### hyperlink_base property Gets or sets the hyperlink base. ##### Definition: ```python @property def hyperlink_base(self): ... @hyperlink_base.setter def hyperlink_base(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/keywords.md #### keywords property Gets or sets the keywords. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/language.md #### language property Gets or sets the document language. ##### Definition: ```python @property def language(self): ... @language.setter def language(self, value): ... ``` ### last_printed_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/last_printed_date.md #### last_printed_date property Gets or sets the last printed date in UTC. ##### Definition: ```python @property def last_printed_date(self): ... @last_printed_date.setter def last_printed_date(self, value): ... ``` ### last_saved_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/last_saved_by.md #### last_saved_by property Gets or sets the name of the last author. ##### Definition: ```python @property def last_saved_by(self): ... @last_saved_by.setter def last_saved_by(self, value): ... ``` ### last_saved_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/last_saved_time.md #### last_saved_time property Gets or sets the time of the last saving in UTC. ##### Definition: ```python @property def last_saved_time(self): ... @last_saved_time.setter def last_saved_time(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/manager.md #### manager property Gets or sets the manager. ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_of_application property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/name_of_application.md #### name_of_application property Gets or sets the name of application. ##### Definition: ```python @property def name_of_application(self): ... @name_of_application.setter def name_of_application(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/remove.md #### remove(self, property_name) Removes a writable metadata property by the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | A metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revision property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/revision.md #### revision property Gets or sets the document revision number. ##### Definition: ```python @property def revision(self): ... @revision.setter def revision(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/set.md #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.String | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | bool | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.DateTime | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | int | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | float | The property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/subject.md #### subject property Gets or sets the subject. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### template property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/template.md #### template property Gets or sets the document template name. ##### Definition: ```python @property def template(self): ... @template.setter def template(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/title.md #### title property Gets or sets the title of the document. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### total_editing_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/total_editing_time.md #### total_editing_time property Gets or sets the total editing time in minutes. ##### Definition: ```python @property def total_editing_time(self): ... @total_editing_time.setter def total_editing_time(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetpackage/version.md #### version property Gets or sets the version number of the application that created the document. ##### Remarks Its format is "00.0000",for example 12.0000 ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### SpreadsheetRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage.md #### SpreadsheetRootPackage class Represents the root package allowing working with metadata in a spreadsheet. **Inheritance:** `SpreadsheetRootPackage` → `RootMetadataPackage` → `MetadataPackage` The SpreadsheetRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | inspection_package | Gets a metadata package containing inspection results for the document.
The package contains information about document parts that can be considered as metadata in some cases. | | document_statistics | Gets the document statistics package. | | document_properties | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code snippet demonstrates how to extract built-in metadata properties from a spreadsheet. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/document_properties.md ##### Definition: ```python @property def document_properties(self): ... ``` ### document_statistics property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/document_statistics.md #### document_statistics property Gets the document statistics package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def document_statistics(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This example shows how to detect the exact type of a loaded spreadsheet and extract some additional file format information. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### inspection_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/inspection_package.md #### inspection_package property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ##### Remarks **Learn more** | | | ##### Example This code snippet shows how to inspect a spreadsheet document. ##### Definition: ```python @property def inspection_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SpreadsheetSheet class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet.md #### SpreadsheetSheet class Represents a sheet in a spreadsheet document. **Inheritance:** `SpreadsheetSheet` → `CustomPackage` → `MetadataPackage` The SpreadsheetSheet type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the sheet name. | | number | Gets the sheet number. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/name.md #### name property Gets the sheet name. ##### Definition: ```python @property def name(self): ... ``` ### number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/number.md #### number property Gets the sheet number. ##### Definition: ```python @property def number(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheetsheet/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### SpreadsheetTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage.md #### SpreadsheetTypePackage class Represents a metadata package containing spreadsheet-specific file format information. **Inheritance:** `SpreadsheetTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The SpreadsheetTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | spreadsheet_format | Gets the exact spreadsheet format. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### spreadsheet_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/spreadsheet_format.md #### spreadsheet_format property Gets the exact spreadsheet format. ##### Definition: ```python @property def spreadsheet_format(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/spreadsheettypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### WordProcessingComment class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment.md #### WordProcessingComment class Represents a comment in a word processing document. **Inheritance:** `WordProcessingComment` → `CustomPackage` → `MetadataPackage` The WordProcessingComment type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | id | Gets the comment id. | | author | Gets or sets the author. | | initials | Gets or sets the author's initials. | | text | Gets or sets the text of the comment. | | created_date | Gets or sets the date the comment was created. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/author.md #### author property Gets or sets the author. ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/created_date.md #### created_date property Gets or sets the date the comment was created. ##### Definition: ```python @property def created_date(self): ... @created_date.setter def created_date(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/id.md #### id property Gets the comment id. ##### Definition: ```python @property def id(self): ... ``` ### initials property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/initials.md #### initials property Gets or sets the author's initials. ##### Definition: ```python @property def initials(self): ... @initials.setter def initials(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/text.md #### text property Gets or sets the text of the comment. ##### Definition: ```python @property def text(self): ... @text.setter def text(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingcomment/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### WordProcessingField class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield.md #### WordProcessingField class Represents a field in a word processing document. **Inheritance:** `WordProcessingField` → `CustomPackage` → `MetadataPackage` The WordProcessingField type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | code | Gets the field code. | | result | Gets the field result. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### code property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/code.md #### code property Gets the field code. ##### Definition: ```python @property def code(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### result property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/result.md #### result property Gets the field result. ##### Definition: ```python @property def result(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingfield/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### WordProcessingFormat enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingformat.md #### WordProcessingFormat enumeration Defines various word processing document subformats. The WordProcessingFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | The format is not recognized. | | DOC | Represents the .DOC Word format.
Files with .doc extension represent documents generated by Microsoft Word or other word processing applications in binary file format.
The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images,
formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others.
Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc/). | | DOCM | Represents the .DOCM Word format.
DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros.
It is similar to DOCX file format but the ability to run macros makes it different from DOCX. Like DOCX, DOCM files can be store text, images,
tables, shapes, charts and other contents.
Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm/). | | DOCX | Represents the .DOCX Word format.
DOCX is a well-known format for Microsoft Word documents.
Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from
plain binary to a combination of XML and binary files.
Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions.
Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx/). | | DOT | Represents the .DOT Word format.
Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files.
A template file is created in order to have specific user settings that should be applied to subsequent files created from these.
Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot/). | | DOTX | Represents the .DOTX Word format.
Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files.
A template file is created in order to have specific user settings that should be applied to subsequent flies created from these.
Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx/). | | DOTM | Represents the .DOTM Word format.
A file with DOTM extension represents template file created with Microsoft Word 2007 or higher.
It is similar to the popular DOCX file format other than it retains the user defined settings for reuse in case of creating new documents.
Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm/). | | ODT | Represents the .ODT format.
ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format.
These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles.
Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt/). | ### WordProcessingInspectionPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage.md #### WordProcessingInspectionPackage class Contains information about document parts that can be considered as metadata in some cases. **Inheritance:** `WordProcessingInspectionPackage` → `CustomPackage` → `MetadataPackage` The WordProcessingInspectionPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | comments | Gets an array of the user comments. | | fields | Gets an array of document fields. | | hidden_text | Gets an array of hidden text fragments extracted from the document. | | digital_signatures | Gets an array of digital signatures presented in the document. | | revisions | Gets an array of digital signatures presented in the document. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `clear_comments(self)` | Removes all detected user comments from the document. | | `clear_fields(self)` | Removes all detected fields from the document. | | `clear_hidden_text(self)` | Removes all hidden text fragments from the document. | | `accept_all_revisions(self)` | Accepts all detected revisions in the document. | | `reject_all_revisions(self)` | Rejects all detected revisions in the document. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to update inspection properties in a WordProcessing document. ### accept_all_revisions method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/accept_all_revisions.md #### accept_all_revisions(self) Accepts all detected revisions in the document. ```python def accept_all_revisions(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_comments method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/clear_comments.md #### clear_comments(self) Removes all detected user comments from the document. ```python def clear_comments(self): ... ``` ### clear_fields method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/clear_fields.md #### clear_fields(self) Removes all detected fields from the document. ```python def clear_fields(self): ... ``` ### clear_hidden_text method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/clear_hidden_text.md #### clear_hidden_text(self) Removes all hidden text fragments from the document. ```python def clear_hidden_text(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/comments.md #### comments property Gets an array of the user comments. ##### Definition: ```python @property def comments(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_signatures property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/digital_signatures.md #### digital_signatures property Gets an array of digital signatures presented in the document. ##### Definition: ```python @property def digital_signatures(self): ... ``` ### fields property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/fields.md #### fields property Gets an array of document fields. ##### Definition: ```python @property def fields(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### hidden_text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/hidden_text.md #### hidden_text property Gets an array of hidden text fragments extracted from the document. ##### Definition: ```python @property def hidden_text(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### reject_all_revisions method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/reject_all_revisions.md #### reject_all_revisions(self) Rejects all detected revisions in the document. ```python def reject_all_revisions(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revisions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/revisions.md #### revisions property Gets an array of digital signatures presented in the document. ##### Definition: ```python @property def revisions(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessinginspectionpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### WordProcessingPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage.md #### WordProcessingPackage class Represents a native metadata package in a word processing document. **Inheritance:** `WordProcessingPackage` → `DocumentPackage` → `CustomPackage` → `MetadataPackage` The WordProcessingPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | author | Gets or sets the document's author. | | bytes_in_document | Gets an estimate of the number of bytes in the document. | | category | Gets or sets the category. | | comments | Gets or sets the comments. | | company | Gets or sets the company. | | content_status | Gets or sets the content status. | | content_type | Gets or sets the content type of the document. | | created_time | Gets or sets the document created date. | | hyperlink_base | Gets or sets the hyperlink base. | | keywords | Gets or sets the keywords. | | subject | Gets or sets the subject. | | template | Gets or sets the template. | | last_printed_date | Gets or sets the last printed date. | | last_saved_by | Gets or sets the name of the last author. | | last_saved_time | Gets or sets the time of the last save. | | manager | Gets or sets the manager. | | name_of_application | Gets the name of the application. | | revision_number | Gets or sets the revision number. | | version | Gets the version number of the application that created the document. | | total_editing_time | Gets or sets the total editing time in minutes. | | title | Gets or sets the title of the document. | | hyperlinks_changed | Gets or sets the Hyperlinks Changed of the document. | | scale_crop | Gets or sets the ScaleCrop of the document. | | shared_doc | Gets or sets the SharedDoc of the document. | | links_up_to_date | Gets or sets a value indicating whether the hyperlinks in the document are up-to-date. | | titles_of_parts | Gets the titles of document parts. Read-only. | ##### Methods | Method | Description | | :- | :- | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `set(self, property_name, value)` | Adds or replaces the metadata property with the specified name. | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove(self, property_name)` | Removes a writable metadata property by the specified name. | | `clear(self)` | Removes all writable metadata properties from the package. | | `clear_built_in_properties(self)` | Removes all built-in metadata properties. | | `clear_custom_properties(self)` | Removes all custom metadata properties. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to update built-in metadata properties in a WordProcessing document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/author.md #### author property Gets or sets the document's author. ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### bytes_in_document property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/bytes_in_document.md #### bytes_in_document property Gets an estimate of the number of bytes in the document. ##### Definition: ```python @property def bytes_in_document(self): ... ``` ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/category.md #### category property Gets or sets the category. ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/clear.md #### clear(self) Removes all writable metadata properties from the package. ```python def clear(self): ... ``` ### clear_built_in_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/clear_built_in_properties.md #### clear_built_in_properties(self) Removes all built-in metadata properties. ```python def clear_built_in_properties(self): ... ``` ### clear_custom_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/clear_custom_properties.md #### clear_custom_properties(self) Removes all custom metadata properties. ```python def clear_custom_properties(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/comments.md #### comments property Gets or sets the comments. ##### Definition: ```python @property def comments(self): ... @comments.setter def comments(self, value): ... ``` ### company property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/company.md #### company property Gets or sets the company. ##### Definition: ```python @property def company(self): ... @company.setter def company(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_status property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/content_status.md #### content_status property Gets or sets the content status. ##### Definition: ```python @property def content_status(self): ... @content_status.setter def content_status(self, value): ... ``` ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/content_type.md #### content_type property Gets or sets the content type of the document. ##### Definition: ```python @property def content_type(self): ... @content_type.setter def content_type(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/created_time.md #### created_time property Gets or sets the document created date. ##### Definition: ```python @property def created_time(self): ... @created_time.setter def created_time(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### hyperlink_base property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/hyperlink_base.md #### hyperlink_base property Gets or sets the hyperlink base. ##### Definition: ```python @property def hyperlink_base(self): ... @hyperlink_base.setter def hyperlink_base(self, value): ... ``` ### hyperlinks_changed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/hyperlinks_changed.md #### hyperlinks_changed property Gets or sets the Hyperlinks Changed of the document. ##### Definition: ```python @property def hyperlinks_changed(self): ... @hyperlinks_changed.setter def hyperlinks_changed(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/keywords.md #### keywords property Gets or sets the keywords. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### last_printed_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/last_printed_date.md #### last_printed_date property Gets or sets the last printed date. ##### Definition: ```python @property def last_printed_date(self): ... @last_printed_date.setter def last_printed_date(self, value): ... ``` ### last_saved_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/last_saved_by.md #### last_saved_by property Gets or sets the name of the last author. ##### Definition: ```python @property def last_saved_by(self): ... @last_saved_by.setter def last_saved_by(self, value): ... ``` ### last_saved_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/last_saved_time.md #### last_saved_time property Gets or sets the time of the last save. ##### Definition: ```python @property def last_saved_time(self): ... @last_saved_time.setter def last_saved_time(self, value): ... ``` ### links_up_to_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/links_up_to_date.md #### links_up_to_date property Gets or sets a value indicating whether the hyperlinks in the document are up-to-date. ##### Definition: ```python @property def links_up_to_date(self): ... @links_up_to_date.setter def links_up_to_date(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/manager.md #### manager property Gets or sets the manager. ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_of_application property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/name_of_application.md #### name_of_application property Gets the name of the application. ##### Definition: ```python @property def name_of_application(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/remove.md #### remove(self, property_name) Removes a writable metadata property by the specified name. ##### Returns `true` if the property is found and deleted; otherwise `false`. ```python def remove(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | A metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revision_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/revision_number.md #### revision_number property Gets or sets the revision number. ##### Definition: ```python @property def revision_number(self): ... @revision_number.setter def revision_number(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### scale_crop property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/scale_crop.md #### scale_crop property Gets or sets the ScaleCrop of the document. ##### Definition: ```python @property def scale_crop(self): ... @scale_crop.setter def scale_crop(self, value): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/set.md #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.String | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | bool | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | System.DateTime | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | int | The property value. | #### set(self, property_name, value) Adds or replaces the metadata property with the specified name. ```python def set(self, property_name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The property name. | | value | float | The property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shared_doc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/shared_doc.md #### shared_doc property Gets or sets the SharedDoc of the document. ##### Definition: ```python @property def shared_doc(self): ... @shared_doc.setter def shared_doc(self, value): ... ``` ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/subject.md #### subject property Gets or sets the subject. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### template property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/template.md #### template property Gets or sets the template. ##### Definition: ```python @property def template(self): ... @template.setter def template(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/title.md #### title property Gets or sets the title of the document. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### titles_of_parts property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/titles_of_parts.md #### titles_of_parts property Gets the titles of document parts. Read-only. ##### Definition: ```python @property def titles_of_parts(self): ... ``` ### total_editing_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/total_editing_time.md #### total_editing_time property Gets or sets the total editing time in minutes. ##### Definition: ```python @property def total_editing_time(self): ... @total_editing_time.setter def total_editing_time(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingpackage/version.md #### version property Gets the version number of the application that created the document. ##### Remarks When a document was created by Microsoft Word, then high 16 bit represent the major version and low 16 bit represent the build number. ##### Definition: ```python @property def version(self): ... ``` ### WordProcessingRevision class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision.md #### WordProcessingRevision class Represents a revision (tracked change) in a document. **Inheritance:** `WordProcessingRevision` → `CustomPackage` → `MetadataPackage` The WordProcessingRevision type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | author | Gets the author of the revision. | | date_time | Gets the date/time of the revision. | | revision_type | Gets the type of the revision. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/author.md #### author property Gets the author of the revision. ##### Definition: ```python @property def author(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/date_time.md #### date_time property Gets the date/time of the revision. ##### Definition: ```python @property def date_time(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### revision_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/revision_type.md #### revision_type property Gets the type of the revision. ##### Definition: ```python @property def revision_type(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevision/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### WordProcessingRevisionType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrevisiontype.md #### WordProcessingRevisionType enumeration Specifies the type of the change being tracked by a revision. The WordProcessingRevisionType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | INSERTION | New content was inserted into the document. | | DELETION | Content was removed from the document. | | FORMAT_CHANGE | Change of formatting was applied to the parent node. | | STYLE_DEFINITION_CHANGE | Change of formatting was applied to the parent style. | | MOVING | Content was moved in the document. | ### WordProcessingRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage.md #### WordProcessingRootPackage class Represents the root package allowing working with metadata in a word processing document. **Inheritance:** `WordProcessingRootPackage` → `RootMetadataPackage` → `MetadataPackage` The WordProcessingRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | dublin_core_package | Gets the Dublin Core metadata package extracted from the document. | | inspection_package | Gets a metadata package containing inspection results for the document.
The package contains information about document parts that can be considered as metadata in some cases. | | document_statistics | Gets the document statistics package. | | document_properties | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `update_document_statistics(self)` | Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to read built-in metadata properties of a WordProcessing document. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/document_properties.md ##### Definition: ```python @property def document_properties(self): ... ``` ### document_statistics property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/document_statistics.md #### document_statistics property Gets the document statistics package. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to obtain simple text statistics for a WordProcessing document. ##### Definition: ```python @property def document_statistics(self): ... ``` ### dublin_core_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/dublin_core_package.md #### dublin_core_package property Gets the Dublin Core metadata package extracted from the document. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract Dublin Core metadata from a WordProcessing document. ##### Definition: ```python @property def dublin_core_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This example shows how to detect the exact type of a loaded document and extract some additional file format information. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### inspection_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/inspection_package.md #### inspection_package property Gets a metadata package containing inspection results for the document. The package contains information about document parts that can be considered as metadata in some cases. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to inspect a WordProcessing document. ##### Definition: ```python @property def inspection_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_document_statistics method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/update_document_statistics.md #### update_document_statistics(self) Recalculates count of pages, paragraphs, words, lines, characters in the document and updates appropriate metadata packages. ```python def update_document_statistics(self): ... ``` ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to update document statistics for a WordProcessing document. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### WordProcessingTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage.md #### WordProcessingTypePackage class Represents a metadata package containing document-specific file format information. **Inheritance:** `WordProcessingTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The WordProcessingTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | word_processing_format | Gets the exact word processing format. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### word_processing_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.document/wordprocessingtypepackage/word_processing_format.md #### word_processing_format property Gets the exact word processing format. ##### Definition: ```python @property def word_processing_format(self): ... ``` ### groupdocs.metadata.formats.ebook.fb2 Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2.md ##### Classes | Class | Description | | :- | :- | | `Fb2Author` | Represents an information about the author of the book. | | `Fb2DocumentInfo` | Description of information about the work (including translation, but excluding publication). | | `Fb2PublishInfo` | Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. | | `Fb2Sequence` | Represents an information about the sequence of the book. | | `Fb2TitleInfo` | Description of information about the work (including translation, but excluding publication). | ##### Enumerations | Enumeration | Description | | :- | :- | | `Fb2Genre` | Defines Fb2 genres | ### Fb2Author class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author.md #### Fb2Author class Represents an information about the author of the book. **Inheritance:** `Fb2Author` → `CustomPackage` → `MetadataPackage` The Fb2Author type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, first_name, middle_name, last_name, nick_name, home_page, email, id)` | Constructs a new instance of Fb2Author | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | first_name | Gets the First Name. | | middle_name | Gets the Middle Name. | | last_name | Gets the Last Name. | | nick_name | Gets the NickName. | | home_page | Gets the HomePage. | | email | Gets the Email. | | id | Gets the Id. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### Fb2Author constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/__init__.md #### \_\_init\_\_(self, first_name, middle_name, last_name, nick_name, home_page, email, id) Constructs a new instance of Fb2Author ```python def __init__(self, first_name, middle_name, last_name, nick_name, home_page, email, id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | first_name | System.String | | | middle_name | System.String | | | last_name | System.String | | | nick_name | System.String | | | home_page | System.String | | | email | System.String | | | id | System.String | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### email property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/email.md #### email property Gets the Email. ##### Definition: ```python @property def email(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### first_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/first_name.md #### first_name property Gets the First Name. ##### Definition: ```python @property def first_name(self): ... ``` ### home_page property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/home_page.md #### home_page property Gets the HomePage. ##### Definition: ```python @property def home_page(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/id.md #### id property Gets the Id. ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### last_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/last_name.md #### last_name property Gets the Last Name. ##### Definition: ```python @property def last_name(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### middle_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/middle_name.md #### middle_name property Gets the Middle Name. ##### Definition: ```python @property def middle_name(self): ... ``` ### nick_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/nick_name.md #### nick_name property Gets the NickName. ##### Definition: ```python @property def nick_name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2author/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Fb2DocumentInfo class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo.md #### Fb2DocumentInfo class Description of information about the work (including translation, but excluding publication). **Inheritance:** `Fb2DocumentInfo` → `CustomPackage` → `MetadataPackage` The Fb2DocumentInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | authors | Information about the author of the document | | program_used | The programs that were used in preparing the document are listed. | | date | Date | | src_url | Where did the original document available online come from | | src_ocr | The author of the OCR or original document posted online. | | id | Gets the Id. | | version | FB2 document version. | | publishers | Information about the author of the document | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### authors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/authors.md #### authors property Information about the author of the document ##### Definition: ```python @property def authors(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/date.md #### date property Date ##### Definition: ```python @property def date(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/id.md #### id property Gets the Id. ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### program_used property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/program_used.md #### program_used property The programs that were used in preparing the document are listed. ##### Definition: ```python @property def program_used(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publishers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/publishers.md #### publishers property Information about the author of the document ##### Definition: ```python @property def publishers(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### src_ocr property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/src_ocr.md #### src_ocr property The author of the OCR or original document posted online. ##### Definition: ```python @property def src_ocr(self): ... ``` ### src_url property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/src_url.md #### src_url property Where did the original document available online come from ##### Definition: ```python @property def src_url(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2documentinfo/version.md #### version property FB2 document version. ##### Definition: ```python @property def version(self): ... ``` ### Fb2Genre enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2genre.md #### Fb2Genre enumeration Defines Fb2 genres The Fb2Genre type exposes the following members: ##### Fields | Field | Description | | :- | :- | | SF_HISTORY | | | SF_ACTION | | | SF_EPIC | | | SF_HEROIC | | | SF_DETECTIVE | | | SF_CYBERPUNK | | | SF_SPACE | | | SF_SOCIAL | | | SF_HORROR | | | SF_HUMOR | | | SF_FANTASY | | | SF | | | DET_CLASSIC | | | DET_POLICE | | | DET_ACTION | | | DET_IRONY | | | DET_HISTORY | | | DET_ESPIONAGE | | | DET_CRIME | | | DET_POLITICAL | | | DET_MANIAC | | | DET_HARD | | | THRILLER | | | DETECTIVE | | | PROSE_CLASSIC | | | PROSE_HISTORY | | | PROSE_CONTEMPORARY | | | PROSE_COUNTER | | | PROSE_RUS_CLASSIC | | | PROSE_SU_CLASSICS | | | LOVE_CONTEMPORARY | | | LOVE_HISTORY | | | LOVE_DETECTIVE | | | LOVE_SHORT | | | LOVE_EROTICA | | | ADV_WESTERN | | | ADV_HISTORY | | | ADV_INDIAN | | | ADV_MARITIME | | | ADV_GEO | | | ADV_ANIMAL | | | ADVENTURE | | | CHILD_TALE | | | CHILD_VERSE | | | CHILD_PROSE | | | CHILD_SF | | | CHILD_DET | | | CHILD_ADV | | | CHILD_EDUCATION | | | CHILDREN | | | POETRY | | | DRAMATURGY | | | ANTIQUE_ANT | | | ANTIQUE_EUROPEAN | | | ANTIQUE_RUSSIAN | | | ANTIQUE_EAST | | | ANTIQUE_MYTHS | | | ANTIQUE | | | SCI_HISTORY | | | SCI_PSYCHOLOGY | | | SCI_CULTURE | | | SCI_RELIGION | | | SCI_PHILOSOPHY | | | SCI_POLITICS | | | SCI_BUSINESS | | | SCI_JURIS | | | SCI_LINGUISTIC | | | SCI_MEDICINE | | | SCI_PHYS | | | SCI_MATH | | | SCI_CHEM | | | SCI_BIOLOGY | | | SCI_TECH | | | SCIENCE | | | COMP_WWW | | | COMP_PROGRAMMING | | | COMP_HARD | | | COMP_SOFT | | | COMP_DB | | | COMP_OSNET | | | COMPUTERS | | | REF_ENCYC | | | REF_DICT | | | REF_REF | | | REF_GUIDE | | | REFERENCE | | | NONF_BIOGRAPHY | | | NONF_PUBLICISM | | | NONF_CRITICISM | | | DESIGN | | | NONFICTION | | | RELIGION_REL | | | RELIGION_ESOTERICS | | | RELIGION_SELF | | | RELIGION | | | HUMOR_ANECDOTE | | | HUMOR_PROSE | | | HUMOR_VERSE | | | HUMOR | | | HOME_COOKING | | | HOME_PETS | | | HOME_CRAFTS | | | HOME_ENTERTAIN | | | HOME_HEALTH | | | HOME_GARDEN | | | HOME_DIY | | | HOME_SPORT | | | HOME_SEX | | | HOME | | ### Fb2PublishInfo class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo.md #### Fb2PublishInfo class Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. **Inheritance:** `Fb2PublishInfo` → `CustomPackage` → `MetadataPackage` The Fb2PublishInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | book_name | The title of the original (paper) book. | | publisher | The title of the original (paper) book. | | city | City, place of publication of the original (paper) book. | | year | Year of publication of the original (paper) book. | | isbn | ISBN of the original (paper) book. | | sequence | The series of publications that the book belongs to and the number in the series. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### book_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/book_name.md #### book_name property The title of the original (paper) book. ##### Definition: ```python @property def book_name(self): ... ``` ### city property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/city.md #### city property City, place of publication of the original (paper) book. ##### Definition: ```python @property def city(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### isbn property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/isbn.md #### isbn property ISBN of the original (paper) book. ##### Definition: ```python @property def isbn(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publisher property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/publisher.md #### publisher property The title of the original (paper) book. ##### Definition: ```python @property def publisher(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### sequence property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/sequence.md #### sequence property The series of publications that the book belongs to and the number in the series. ##### Definition: ```python @property def sequence(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### year property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2publishinfo/year.md #### year property Year of publication of the original (paper) book. ##### Definition: ```python @property def year(self): ... ``` ### Fb2Sequence class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence.md #### Fb2Sequence class Represents an information about the sequence of the book. **Inheritance:** `Fb2Sequence` → `CustomPackage` → `MetadataPackage` The Fb2Sequence type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, name, number, lang)` | Constructs a new instance of Fb2Sequence | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Series title | | number | Book number in the series. | | lang | Gets the language. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### Fb2Sequence constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/__init__.md #### \_\_init\_\_(self, name, number, lang) Constructs a new instance of Fb2Sequence ```python def __init__(self, name, number, lang): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | | | number | int | | | lang | System.String | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lang property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/lang.md #### lang property Gets the language. ##### Definition: ```python @property def lang(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/name.md #### name property Series title ##### Definition: ```python @property def name(self): ... ``` ### number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/number.md #### number property Book number in the series. ##### Definition: ```python @property def number(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2sequence/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Fb2TitleInfo class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo.md #### Fb2TitleInfo class Description of information about the work (including translation, but excluding publication). **Inheritance:** `Fb2TitleInfo` → `CustomPackage` → `MetadataPackage` The Fb2TitleInfo type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | book_title | The title of the book. It can either match the book title (book-name) or differ (for example, when there are several works under one cover). | | authors | Information about the author of the book | | genres | Describes the genre of the book. It is used to place the book in the library rubricator, for this reason the list of possible genres is strictly defined. It is allowed to specify several genres. | | keywords | List of keywords for the book. Intended for use by search engines. | | date | Date | | coverpage | Contains a link to a graphic image of the book cover. | | lang | Language of the book (work) | | src_lang | Original language (for translations). | | translators | Information about the author of the book | | sequence | The series of publications that the book belongs to and the number in the series. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### authors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/authors.md #### authors property Information about the author of the book ##### Definition: ```python @property def authors(self): ... ``` ### book_title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/book_title.md #### book_title property The title of the book. It can either match the book title (book-name) or differ (for example, when there are several works under one cover). ##### Definition: ```python @property def book_title(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### coverpage property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/coverpage.md #### coverpage property Contains a link to a graphic image of the book cover. ##### Definition: ```python @property def coverpage(self): ... ``` ### date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/date.md #### date property Date ##### Definition: ```python @property def date(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### genres property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/genres.md #### genres property Describes the genre of the book. It is used to place the book in the library rubricator, for this reason the list of possible genres is strictly defined. It is allowed to specify several genres. ##### Definition: ```python @property def genres(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/keywords.md #### keywords property List of keywords for the book. Intended for use by search engines. ##### Definition: ```python @property def keywords(self): ... ``` ### lang property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/lang.md #### lang property Language of the book (work) ##### Definition: ```python @property def lang(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### sequence property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/sequence.md #### sequence property The series of publications that the book belongs to and the number in the series. ##### Definition: ```python @property def sequence(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### src_lang property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/src_lang.md #### src_lang property Original language (for translations). ##### Definition: ```python @property def src_lang(self): ... ``` ### translators property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/translators.md #### translators property Information about the author of the book ##### Definition: ```python @property def translators(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.fb2/fb2titleinfo/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.ebook.mobi Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi.md ##### Classes | Class | Description | | :- | :- | | `MobiHeader` | Represents metadata in a Mobi e-book. | | `MobiPackage` | Represents metadata in a Mobi e-book. | | `MobiRootPackage` | Represents the root package allowing working with metadata in an Mobi e-book. | | `PDBHeader` | Represents metadata in a Mobi e-book. | ### MobiHeader class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader.md #### MobiHeader class Represents metadata in a Mobi e-book. **Inheritance:** `MobiHeader` → `CustomPackage` → `MetadataPackage` The MobiHeader type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | full_name | Gets the Mobi e-book full name. | | mobi_type | Gets the mobi type. | | text_encoding | Gets the Mobi Text Encoding. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### full_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/full_name.md #### full_name property Gets the Mobi e-book full name. ##### Definition: ```python @property def full_name(self): ... @full_name.setter def full_name(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mobi_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/mobi_type.md #### mobi_type property Gets the mobi type. ##### Definition: ```python @property def mobi_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text_encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/text_encoding.md #### text_encoding property Gets the Mobi Text Encoding. ##### Definition: ```python @property def text_encoding(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobiheader/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MobiPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage.md #### MobiPackage class Represents metadata in a Mobi e-book. **Inheritance:** `MobiPackage` → `CustomPackage` → `MetadataPackage` The MobiPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | pdb_header | | | mobi_header | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mobi_header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/mobi_header.md ##### Definition: ```python @property def mobi_header(self): ... ``` ### pdb_header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/pdb_header.md ##### Definition: ```python @property def pdb_header(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobipackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MobiRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage.md #### MobiRootPackage class Represents the root package allowing working with metadata in an Mobi e-book. **Inheritance:** `MobiRootPackage` → `RootMetadataPackage` → `MetadataPackage` The MobiRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | mobi_package | Gets the Mobi metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mobi_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/mobi_package.md #### mobi_package property Gets the Mobi metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to read Mobi format-specific metadata properties. ##### Definition: ```python @property def mobi_package(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/mobirootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PDBHeader class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader.md #### PDBHeader class Represents metadata in a Mobi e-book. **Inheritance:** `PDBHeader` → `CustomPackage` → `MetadataPackage` The PDBHeader type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the Mobi e-book name. | | attributes | Gets the mobi attributes. | | version | Gets the Mobi version. | | creation_date | Gets the creation date. | | modification_date | Gets the modification date. | | last_backup_date | Gets the last backup date. | | modification_number | Gets the modification number. | | app_info_id | Gets the app info ID. | | sort_info_id | Gets the sort info ID. | | type | Gets the type. | | creator | Gets the creator. | | unique_id_seed | Gets the unique ID seed. | | next_record_list | | | num_records | Gets the num records. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### app_info_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/app_info_id.md #### app_info_id property Gets the app info ID. ##### Definition: ```python @property def app_info_id(self): ... @app_info_id.setter def app_info_id(self, value): ... ``` ### attributes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/attributes.md #### attributes property Gets the mobi attributes. ##### Definition: ```python @property def attributes(self): ... @attributes.setter def attributes(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/creation_date.md #### creation_date property Gets the creation date. ##### Definition: ```python @property def creation_date(self): ... @creation_date.setter def creation_date(self, value): ... ``` ### creator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/creator.md #### creator property Gets the creator. ##### Definition: ```python @property def creator(self): ... @creator.setter def creator(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### last_backup_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/last_backup_date.md #### last_backup_date property Gets the last backup date. ##### Definition: ```python @property def last_backup_date(self): ... @last_backup_date.setter def last_backup_date(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modification_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/modification_date.md #### modification_date property Gets the modification date. ##### Definition: ```python @property def modification_date(self): ... @modification_date.setter def modification_date(self, value): ... ``` ### modification_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/modification_number.md #### modification_number property Gets the modification number. ##### Definition: ```python @property def modification_number(self): ... @modification_number.setter def modification_number(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/name.md #### name property Gets the Mobi e-book name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### next_record_list property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/next_record_list.md ##### Definition: ```python @property def next_record_list(self): ... ``` ### num_records property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/num_records.md #### num_records property Gets the num records. ##### Definition: ```python @property def num_records(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sort_info_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/sort_info_id.md #### sort_info_id property Gets the sort info ID. ##### Definition: ```python @property def sort_info_id(self): ... @sort_info_id.setter def sort_info_id(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/type.md #### type property Gets the type. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### unique_id_seed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/unique_id_seed.md #### unique_id_seed property Gets the unique ID seed. ##### Definition: ```python @property def unique_id_seed(self): ... @unique_id_seed.setter def unique_id_seed(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.mobi/pdbheader/version.md #### version property Gets the Mobi version. ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### groupdocs.metadata.formats.ebook Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook.md The namespace provides functionality for working with electronic book formats. ##### Classes | Class | Description | | :- | :- | | `EpubPackage` | Represents metadata in a EPUB e-book. | | `EpubRootPackage` | Represents the root package allowing working with metadata in an EPUB e-book. | | `Fb2RootPackage` | Represents the root package allowing working with metadata in an Fb2 e-book. | ### EpubPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage.md #### EpubPackage class Represents metadata in a EPUB e-book. **Inheritance:** `EpubPackage` → `CustomPackage` → `MetadataPackage` The EpubPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | image_cover | Gets the image cover as an array of bytes. | | version | Gets the EPUB version. | | unique_identifier | Gets the package unique identifier. | | abstract | Gets or sets a summary of the resource. | | access_rights | Gets or sets the information about who access the resource or an indication of its security status. | | accrual_method | Gets or sets the method by which items are added to a collection. | | accrual_periodicity | Gets or sets the frequency with which items are added to a collection. | | accrual_policy | Gets or sets the policy governing the addition of items to a collection. | | alternative | Gets or sets an alternative name for the resource. | | audience | Gets or sets a class of agents for whom the resource is intended or useful. | | available | Gets or sets the date that the resource became or will become available. | | bibliographic_citation | Gets or sets a bibliographic reference for the resource. | | conforms_to | Gets or sets an established standard to which the described resource conforms. | | contributor | Gets or sets an entity responsible for making contributions to the resource. | | coverage | Gets or sets the spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant. | | created | Gets or sets the date of creation of the resource. | | creator | Gets or sets an entity responsible for making the resource. | | date | Gets or sets a point or period of time associated with an event in the lifecycle of the resource. | | date_accepted | Gets or sets the date of acceptance of the resource. | | date_copyrighted | Gets or sets the date of copyright of the resource. | | date_submitted | Gets or sets the date of submission of the resource. | | description | Gets or sets an account of the resource. | | education_level | Gets or sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. | | extent | Gets or sets the size or duration of the resource. | | format | Gets or sets the file format, physical medium, or dimensions of the resource. | | has_format | Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. | | has_part | Gets or sets a related resource that is included either physically or logically in the described resource. | | has_version | Gets or sets a related resource that is a version, edition, or adaptation of the described resource. | | identifier | Gets or sets an unambiguous reference to the resource within a given context. | | instructional_method | Gets or sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. | | is_format_of | Gets or sets a pre-existing related resource that is substantially the same as the described resource, but in another format. | | is_part_of | Gets or sets a related resource in which the described resource is physically or logically included. | | is_referenced_by | Gets or sets a related resource that references, cites, or otherwise points to the described resource. | | is_replaced_by | Gets or sets a related resource that supplants, displaces, or supersedes the described resource. | | is_required_by | Gets or sets a related resource that requires the described resource to support its function, delivery, or coherence. | | issued | Gets or sets the date of formal issuance of the resource. | | is_version_of | Gets or sets a related resource of which the described resource is a version, edition, or adaptation. | | language | Gets or sets the language of the resource. | | license | Gets or sets a legal document giving official permission to do something with the resource. | | mediator | Gets or sets an entity that mediates access to the resource. | | medium | Gets or sets the material or physical carrier of the resource. | | modified | Gets or sets the date on which the resource was changed. | | provenance | Gets or sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. | | publisher | Gets or sets an entity responsible for making the resource available. | | references | Gets or sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. | | relation | Gets or sets a related resource. | | replaces | Gets or sets a related resource that is supplanted, displaced, or superseded by the described resource. | | requires | Gets or sets a related resource that is required by the described resource to support its function, delivery, or coherence. | | rights | Gets or sets the information about rights held in and over the resource. | | rights_holder | Gets or sets a person or organization owning or managing rights over the resource. | | source | Gets or sets a related resource from which the described resource is derived. | | spatial | Gets or sets the spatial characteristics of the resource. | | subject | Gets or sets a topic of the resource. | | table_of_contents | Gets or sets a list of subunits of the resource. | | temporal | Gets or sets the temporal characteristics of the resource. | | title | Gets or sets a name given to the resource. | | type | Gets or sets the nature or genre of the resource. | | valid | Gets or sets the date (often a range) of validity of a resource. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### abstract property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/abstract.md #### abstract property Gets or sets a summary of the resource. ##### Definition: ```python @property def abstract(self): ... @abstract.setter def abstract(self, value): ... ``` ### access_rights property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/access_rights.md #### access_rights property Gets or sets the information about who access the resource or an indication of its security status. ##### Definition: ```python @property def access_rights(self): ... @access_rights.setter def access_rights(self, value): ... ``` ### accrual_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/accrual_method.md #### accrual_method property Gets or sets the method by which items are added to a collection. ##### Definition: ```python @property def accrual_method(self): ... @accrual_method.setter def accrual_method(self, value): ... ``` ### accrual_periodicity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/accrual_periodicity.md #### accrual_periodicity property Gets or sets the frequency with which items are added to a collection. ##### Definition: ```python @property def accrual_periodicity(self): ... @accrual_periodicity.setter def accrual_periodicity(self, value): ... ``` ### accrual_policy property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/accrual_policy.md #### accrual_policy property Gets or sets the policy governing the addition of items to a collection. ##### Definition: ```python @property def accrual_policy(self): ... @accrual_policy.setter def accrual_policy(self, value): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alternative property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/alternative.md #### alternative property Gets or sets an alternative name for the resource. ##### Definition: ```python @property def alternative(self): ... @alternative.setter def alternative(self, value): ... ``` ### audience property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/audience.md #### audience property Gets or sets a class of agents for whom the resource is intended or useful. ##### Definition: ```python @property def audience(self): ... @audience.setter def audience(self, value): ... ``` ### available property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/available.md #### available property Gets or sets the date that the resource became or will become available. ##### Definition: ```python @property def available(self): ... @available.setter def available(self, value): ... ``` ### bibliographic_citation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/bibliographic_citation.md #### bibliographic_citation property Gets or sets a bibliographic reference for the resource. ##### Definition: ```python @property def bibliographic_citation(self): ... @bibliographic_citation.setter def bibliographic_citation(self, value): ... ``` ### conforms_to property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/conforms_to.md #### conforms_to property Gets or sets an established standard to which the described resource conforms. ##### Definition: ```python @property def conforms_to(self): ... @conforms_to.setter def conforms_to(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contributor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/contributor.md #### contributor property Gets or sets an entity responsible for making contributions to the resource. ##### Definition: ```python @property def contributor(self): ... @contributor.setter def contributor(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/created.md #### created property Gets or sets the date of creation of the resource. ##### Definition: ```python @property def created(self): ... @created.setter def created(self, value): ... ``` ### creator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/creator.md #### creator property Gets or sets an entity responsible for making the resource. ##### Definition: ```python @property def creator(self): ... @creator.setter def creator(self, value): ... ``` ### date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/date.md #### date property Gets or sets a point or period of time associated with an event in the lifecycle of the resource. ##### Definition: ```python @property def date(self): ... @date.setter def date(self, value): ... ``` ### date_accepted property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/date_accepted.md #### date_accepted property Gets or sets the date of acceptance of the resource. ##### Definition: ```python @property def date_accepted(self): ... @date_accepted.setter def date_accepted(self, value): ... ``` ### date_copyrighted property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/date_copyrighted.md #### date_copyrighted property Gets or sets the date of copyright of the resource. ##### Definition: ```python @property def date_copyrighted(self): ... @date_copyrighted.setter def date_copyrighted(self, value): ... ``` ### date_submitted property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/date_submitted.md #### date_submitted property Gets or sets the date of submission of the resource. ##### Definition: ```python @property def date_submitted(self): ... @date_submitted.setter def date_submitted(self, value): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/description.md #### description property Gets or sets an account of the resource. ##### Definition: ```python @property def description(self): ... @description.setter def description(self, value): ... ``` ### education_level property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/education_level.md #### education_level property Gets or sets a class of agents, defined in terms of progression through an educational or training context, for which the described resource is intended. ##### Definition: ```python @property def education_level(self): ... @education_level.setter def education_level(self, value): ... ``` ### extent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/extent.md #### extent property Gets or sets the size or duration of the resource. ##### Definition: ```python @property def extent(self): ... @extent.setter def extent(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/format.md #### format property Gets or sets the file format, physical medium, or dimensions of the resource. ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### has_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/has_format.md #### has_format property Gets or sets a related resource that is substantially the same as the pre-existing described resource, but in another format. ##### Definition: ```python @property def has_format(self): ... @has_format.setter def has_format(self, value): ... ``` ### has_part property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/has_part.md #### has_part property Gets or sets a related resource that is included either physically or logically in the described resource. ##### Definition: ```python @property def has_part(self): ... @has_part.setter def has_part(self, value): ... ``` ### has_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/has_version.md #### has_version property Gets or sets a related resource that is a version, edition, or adaptation of the described resource. ##### Definition: ```python @property def has_version(self): ... @has_version.setter def has_version(self, value): ... ``` ### identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/identifier.md #### identifier property Gets or sets an unambiguous reference to the resource within a given context. ##### Definition: ```python @property def identifier(self): ... @identifier.setter def identifier(self, value): ... ``` ### image_cover property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/image_cover.md #### image_cover property Gets the image cover as an array of bytes. ##### Definition: ```python @property def image_cover(self): ... ``` ### instructional_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/instructional_method.md #### instructional_method property Gets or sets a process, used to engender knowledge, attitudes and skills, that the described resource is designed to support. ##### Definition: ```python @property def instructional_method(self): ... @instructional_method.setter def instructional_method(self, value): ... ``` ### is_format_of property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/is_format_of.md #### is_format_of property Gets or sets a pre-existing related resource that is substantially the same as the described resource, but in another format. ##### Definition: ```python @property def is_format_of(self): ... @is_format_of.setter def is_format_of(self, value): ... ``` ### is_part_of property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/is_part_of.md #### is_part_of property Gets or sets a related resource in which the described resource is physically or logically included. ##### Definition: ```python @property def is_part_of(self): ... @is_part_of.setter def is_part_of(self, value): ... ``` ### is_referenced_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/is_referenced_by.md #### is_referenced_by property Gets or sets a related resource that references, cites, or otherwise points to the described resource. ##### Definition: ```python @property def is_referenced_by(self): ... @is_referenced_by.setter def is_referenced_by(self, value): ... ``` ### is_replaced_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/is_replaced_by.md #### is_replaced_by property Gets or sets a related resource that supplants, displaces, or supersedes the described resource. ##### Definition: ```python @property def is_replaced_by(self): ... @is_replaced_by.setter def is_replaced_by(self, value): ... ``` ### is_required_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/is_required_by.md #### is_required_by property Gets or sets a related resource that requires the described resource to support its function, delivery, or coherence. ##### Definition: ```python @property def is_required_by(self): ... @is_required_by.setter def is_required_by(self, value): ... ``` ### is_version_of property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/is_version_of.md #### is_version_of property Gets or sets a related resource of which the described resource is a version, edition, or adaptation. ##### Definition: ```python @property def is_version_of(self): ... @is_version_of.setter def is_version_of(self, value): ... ``` ### issued property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/issued.md #### issued property Gets or sets the date of formal issuance of the resource. ##### Definition: ```python @property def issued(self): ... @issued.setter def issued(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/language.md #### language property Gets or sets the language of the resource. ##### Definition: ```python @property def language(self): ... @language.setter def language(self, value): ... ``` ### license property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/license.md #### license property Gets or sets a legal document giving official permission to do something with the resource. ##### Definition: ```python @property def license(self): ... @license.setter def license(self, value): ... ``` ### mediator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/mediator.md #### mediator property Gets or sets an entity that mediates access to the resource. ##### Definition: ```python @property def mediator(self): ... @mediator.setter def mediator(self, value): ... ``` ### medium property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/medium.md #### medium property Gets or sets the material or physical carrier of the resource. ##### Definition: ```python @property def medium(self): ... @medium.setter def medium(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modified property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/modified.md #### modified property Gets or sets the date on which the resource was changed. ##### Definition: ```python @property def modified(self): ... @modified.setter def modified(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### provenance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/provenance.md #### provenance property Gets or sets a statement of any changes in ownership and custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation. ##### Definition: ```python @property def provenance(self): ... @provenance.setter def provenance(self, value): ... ``` ### publisher property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/publisher.md #### publisher property Gets or sets an entity responsible for making the resource available. ##### Definition: ```python @property def publisher(self): ... @publisher.setter def publisher(self, value): ... ``` ### references property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/references.md #### references property Gets or sets a related resource that is referenced, cited, or otherwise pointed to by the described resource. ##### Definition: ```python @property def references(self): ... @references.setter def references(self, value): ... ``` ### relation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/relation.md #### relation property Gets or sets a related resource. ##### Definition: ```python @property def relation(self): ... @relation.setter def relation(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### replaces property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/replaces.md #### replaces property Gets or sets a related resource that is supplanted, displaced, or superseded by the described resource. ##### Definition: ```python @property def replaces(self): ... @replaces.setter def replaces(self, value): ... ``` ### requires property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/requires.md #### requires property Gets or sets a related resource that is required by the described resource to support its function, delivery, or coherence. ##### Definition: ```python @property def requires(self): ... @requires.setter def requires(self, value): ... ``` ### rights property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/rights.md #### rights property Gets or sets the information about rights held in and over the resource. ##### Definition: ```python @property def rights(self): ... @rights.setter def rights(self, value): ... ``` ### rights_holder property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/rights_holder.md #### rights_holder property Gets or sets a person or organization owning or managing rights over the resource. ##### Definition: ```python @property def rights_holder(self): ... @rights_holder.setter def rights_holder(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/source.md #### source property Gets or sets a related resource from which the described resource is derived. ##### Definition: ```python @property def source(self): ... @source.setter def source(self, value): ... ``` ### spatial property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/spatial.md #### spatial property Gets or sets the spatial characteristics of the resource. ##### Definition: ```python @property def spatial(self): ... @spatial.setter def spatial(self, value): ... ``` ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/subject.md #### subject property Gets or sets a topic of the resource. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/table_of_contents.md #### table_of_contents property Gets or sets a list of subunits of the resource. ##### Definition: ```python @property def table_of_contents(self): ... @table_of_contents.setter def table_of_contents(self, value): ... ``` ### temporal property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/temporal.md #### temporal property Gets or sets the temporal characteristics of the resource. ##### Definition: ```python @property def temporal(self): ... @temporal.setter def temporal(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/title.md #### title property Gets or sets a name given to the resource. ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/type.md #### type property Gets or sets the nature or genre of the resource. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### unique_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/unique_identifier.md #### unique_identifier property Gets the package unique identifier. ##### Definition: ```python @property def unique_identifier(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### valid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/valid.md #### valid property Gets or sets the date (often a range) of validity of a resource. ##### Definition: ```python @property def valid(self): ... @valid.setter def valid(self, value): ... ``` ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubpackage/version.md #### version property Gets the EPUB version. ##### Definition: ```python @property def version(self): ... ``` ### EpubRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage.md #### EpubRootPackage class Represents the root package allowing working with metadata in an EPUB e-book. **Inheritance:** `EpubRootPackage` → `RootMetadataPackage` → `MetadataPackage` The EpubRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | epub_package | Gets the EPUB metadata package. | | dublin_core_package | Gets the Dublin Core metadata package extracted from the e-book. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### dublin_core_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/dublin_core_package.md #### dublin_core_package property Gets the Dublin Core metadata package extracted from the e-book. ##### Remarks **Learn more** | | | ##### Example This example shows how to extract Dublin Core metadata from an EPUB file. ##### Definition: ```python @property def dublin_core_package(self): ... ``` ### epub_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/epub_package.md #### epub_package property Gets the EPUB metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to read EPUB format-specific metadata properties. ##### Definition: ```python @property def epub_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/epubrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Fb2RootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage.md #### Fb2RootPackage class Represents the root package allowing working with metadata in an Fb2 e-book. **Inheritance:** `Fb2RootPackage` → `RootMetadataPackage` → `MetadataPackage` The Fb2RootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | fb_2_package | Gets the Fb2 metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### fb_2_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/fb_2_package.md #### fb_2_package property Gets the Fb2 metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to read Fb2 format-specific metadata properties. ##### Definition: ```python @property def fb_2_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.ebook/fb2rootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.email.msg Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email.msg.md ##### Enumerations | Enumeration | Description | | :- | :- | | `MsgKnownProperties` | Defines known msg properties. | ### MsgKnownProperties enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email.msg/msgknownproperties.md #### MsgKnownProperties enumeration Defines known msg properties. The MsgKnownProperties type exposes the following members: ##### Fields | Field | Description | | :- | :- | | OBJECT_URI | | | CONTACT_ETAG | | | PHOTO_ETAG | | | ACCESS | | | ACL_DATA | | | ACCESS_LEVEL | | | ACCOUNT | | | ADDITIONAL_REN_ENTRYIDS | | | ADDITIONAL_REN_ENTRYIDS_EX | | | EMS_AB_AUTH_ORIG | | | EMS_AB_CONTAINERID | | | EMS_AB_DELIV_CONT_LENGTH | | | EMS_AB_DISPLAY_NAME_PRINTABLE | | | EMS_AB_DISPLAY_TYPE_EX | | | EMS_AB_DL_EXTERNAL_MEMBER_COUNT | | | EMS_AB_DL_TOTAL_MEMBER_COUNT | | | EMS_AB_DL_MEM_SUBMIT_PERMS_BL_O | | | EMS_AB_DL_MEM_SUBMIT_PERMS | | | EMS_AB_DL_MEM_REJECT_PERMS | | | ADDRESS_BOOK_ENTRYID | | | EMS_AB_EXTENSION_ATTRIBUTE_1 | | | EMS_AB_EXTENSION_ATTRIBUTE_10 | | | EMS_AB_EXTENSION_ATTRIBUTE_11 | | | EMS_AB_EXTENSION_ATTRIBUTE_12 | | | EMS_AB_EXTENSION_ATTRIBUTE_13 | | | EMS_AB_EXTENSION_ATTRIBUTE_14 | | | EMS_AB_EXTENSION_ATTRIBUTE_15 | | | EMS_AB_EXTENSION_ATTRIBUTE_2 | | | EMS_AB_EXTENSION_ATTRIBUTE_3 | | | EMS_AB_EXTENSION_ATTRIBUTE_4 | | | EMS_AB_EXTENSION_ATTRIBUTE_5 | | | EMS_AB_EXTENSION_ATTRIBUTE_6 | | | EMS_AB_EXTENSION_ATTRIBUTE_7 | | | EMS_AB_EXTENSION_ATTRIBUTE_8 | | | EMS_AB_EXTENSION_ATTRIBUTE_9 | | | EMS_AB_FOLDER_PATHNAME | | | EMS_AB_HAB_CHILD_DEPARTMENTS | | | EMS_AB_HAB_DEPARTMENT_MEMBERS | | | EMS_AB_HAB_IS_HIERARCHICAL_GROUP | | | EMS_AB_HAB_PARENT_DEPARTMENT | | | EMS_AB_HAB_ROOT_DEPARTMENT | | | EMS_AB_HAB_SHOW_IN_DEPARTMENTS | | | EMS_AB_HOME_MDB | | | EMS_AB_IS_MASTER | | | EMS_AB_IS_MEMBER_OF_DL | | | EMS_AB_MANAGE_DL | | | EMS_AB_MANAGER | | | EMS_AB_MANAGER_T | | | EMS_AB_MEMBER | | | EMS_AB_ENABLE_MODERATION | | | EMS_AB_NETWORK_ADDRESS | | | EMS_AB_OBJ_DIST_NAME | | | EMS_AB_OBJECT_GUID | | | EMS_AB_ORG_UNIT_ROOT_DN | | | EMS_AB_OWNER_O | | | EMS_AB_OWNER_BL_O | | | EMS_AB_PARENT_ENTRYID | | | EMS_AB_PHONETIC_COMPANY_NAME | | | EMS_AB_PHONETIC_DEPARTMENT_NAME | | | EMS_AB_PHONETIC_DISPLAY_NAME | | | EMS_AB_PHONETIC_GIVEN_NAME | | | EMS_AB_PHONETIC_SURNAME | | | EMS_AB_PROXY_ADDRESSES | | | EMS_AB_PUBLIC_DELEGATES | | | EMS_AB_REPORTS | | | EMS_AB_ROOM_CAPACITY | | | EMS_AB_ROOM_CONTAINERS | | | EMS_AB_ROOM_DESCRIPTION | | | EMS_AB_DL_SENDER_HINT_TRANSLATIONS_W | | | EMS_AB_TARGET_ADDRESS | | | EMS_AB_UNAUTH_ORIG | | | EMS_AB_X509_CERT | | | ADDRTYPE | | | ALTERNATE_RECIPIENT_ALLOWED | | | ANR | | | ARCHIVE_DATE | | | ARCHIVE_PERIOD | | | ARCHIVE_TAG | | | ASSISTANT | | | ASSISTANT_TELEPHONE_NUMBER | | | ATTACH_ADDITIONAL_INFO | | | ATTACH_CONTENT_ID | | | ATTACH_CONTENT_LOCATION | | | ATTACH_DATA_BIN | | | ATTACH_DATA_OBJ | | | ATTACH_ENCODING | | | ATTACH_EXTENSION | | | ATTACH_FILENAME | | | ATTACH_FLAGS | | | ATTACH_LONG_FILENAME | | | ATTACH_LONG_PATHNAME | | | ATTACHMENT_CONTACTPHOTO | | | ATTACHMENT_FLAGS | | | ATTACHMENT_HIDDEN | | | ATTACHMENT_LINKID | | | ATTACH_METHOD | | | ATTACH_MIME_TAG | | | ATTACH_NUM | | | ATTACH_PATHNAME | | | ATTACH_PAYLOAD_CLASS | | | ATTACH_PAYLOAD_PROV_GUID_STR | | | ATTACH_RENDERING | | | ATTACH_SIZE | | | ATTACH_TAG | | | ATTACH_TRANSPORT_NAME | | | ATTR_HIDDEN | | | ATTR_READONLY | | | AUTO_FORWARD_COMMENT | | | AUTO_FORWARDED | | | AUTO_RESPONSE_SUPPRESS | | | BIRTHDAY | | | BLOCK_STATUS | | | BODY | | | BODY_CONTENT_ID | | | BODY_CONTENT_LOCATION | | | BODY_HTML | | | BUSINESS2_TELEPHONE_NUMBER_A | | | BUSINESS2_TELEPHONE_NUMBER_A_MV | | | BUSINESS_FAX_NUMBER | | | BUSINESS_HOME_PAGE | | | BUSINESS_TELEPHONE_NUMBER | | | CALLBACK_TELEPHONE_NUMBER | | | CAR_TELEPHONE_NUMBER | | | CDO_RECURRENCEID | | | CHANGE_KEY | | | CHILDRENS_NAMES | | | CLIENT_ACTIONS | | | CLIENT_SUBMIT_TIME | | | CODE_PAGE_ID | | | COMMENT | | | COMPANY_MAIN_PHONE_NUMBER | | | COMPANY_NAME | | | COMPUTER_NETWORK_NAME | | | CONFLICT_ENTRYID | | | CONTAINER_CLASS | | | CONTAINER_CONTENTS | | | CONTAINER_FLAGS | | | CONTAINER_HIERARCHY | | | CONTENT_COUNT | | | CONTENT_FILTER_SCL | | | CONTENT_UNREAD | | | CONVERSATION_ID | | | CONVERSATION_INDEX | | | CONVERSATION_INDEX_TRACKING | | | CONVERSATION_TOPIC | | | COUNTRY | | | CREATION_TIME | | | CREATOR_ENTRYID | | | CREATOR_NAME | | | CUSTOMER_ID | | | DAM_BACK_PATCHED | | | DAM_ORIGINAL_ENTRYID | | | DEF_POST_MSGCLASS | | | DAM_ORIG_MSG_SVREID | | | DEFERRED_DELIVERY_TIME | | | DEFERRED_SEND_NUMBER | | | DEFERRED_SEND_TIME | | | DEFERRED_SEND_UNITS | | | DELEGATED_BY_RULE | | | DELEGATE_FLAGS | | | DELETE_AFTER_SUBMIT | | | DELETED_COUNT_TOTAL | | | DELETED_ON | | | DELIVER_TIME | | | DEPARTMENT_NAME | | | DEPTH | | | DISPLAY_BCC | | | DISPLAY_CC | | | DISPLAY_NAME | | | DISPLAY_NAME_PREFIX | | | DISPLAY_TO | | | DISPLAY_TYPE | | | DISPLAY_TYPE_EX | | | EMAIL_ADDRESS | | | END_DATE | | | ENTRYID | | | EXCEPTION_ENDTIME | | | EXCEPTION_REPLACETIME | | | EXCEPTION_STARTTIME | | | EXPIRY_NUMBER | | | EXPIRY_TIME | | | EXPIRY_UNITS | | | EXTENDED_FOLDER_FLAGS | | | EXTENDED_RULE_MSG_ACTIONS | | | EXTENDED_RULE_MSG_CONDITION | | | EXTENDED_RULE_SIZE_LIMIT | | | FLAG_COMPLETE_TIME | | | FLAG_STATUS | | | FLAT_URL_NAME | | | FOLDER_ASSOCIATED_CONTENTS | | | FOLDER_FLAGS | | | FOLDER_TYPE | | | FOLLOWUP_ICON | | | FREEBUSY_COUNT_MONTHS | | | FREEBUSY_ENTRYIDS | | | FREEBUSY_EMA | | | FREEBUSY_PUBLISH_END | | | FREEBUSY_PUBLISH_START | | | FREEBUSY_RANGE_TIMESTAMP | | | FTP_SITE | | | GATEWAY_NEEDS_TO_REFRESH | | | GENDER | | | GENERATION | | | GIVEN_NAME | | | GOVERNMENT_ID_NUMBER | | | HASATTACH | | | HAS_DAMS | | | HAS_NAMED_PROPERTIES | | | HAS_RULES | | | HIERARCHY_CHANGE_NUM | | | HIER_REV | | | HOBBIES | | | HOME2_TELEPHONE_NUMBER | | | HOME2_TELEPHONE_NUMBER_A_MV | | | HOME_ADDRESS_CITY | | | HOME_ADDRESS_COUNTRY | | | HOME_ADDRESS_POSTAL_CODE | | | HOME_ADDRESS_POST_OFFICE_BOX | | | HOME_ADDRESS_STATE_OR_PROVINCE | | | HOME_ADDRESS_STREET | | | HOME_FAX_NUMBER | | | HOME_TELEPHONE_NUMBER | | | HTML | | | ICON_INDEX | | | IMPORTANCE | | | IN_CONFLICT | | | INITIAL_DETAILS_PANE | | | INITIALS | | | IN_REPLY_TO_ID | | | INSTANCE_KEY | | | INTERNET_CPID | | | INETMAIL_OVERRIDE_FORMAT | | | INTERNET_MESSAGE_ID | | | INTERNET_REFERENCES | | | IPM_APPOINTMENT_ENTRYID | | | IPM_CONTACT_ENTRYID | | | IPM_DRAFTS_ENTRYID | | | IPM_JOURNAL_ENTRYID | | | IPM_NOTE_ENTRYID | | | IPM_TASK_ENTRYID | | | ISDN_NUMBER | | | JUNK_ADD_RECIPS_TO_SSL | | | JUNK_INCLUDE_CONTACTS | | | JUNK_PERMANENTLY_DELETE | | | JUNK_PHISHING_ENABLE_LINKS | | | JUNK_THRESHOLD | | | KEYWORD | | | LANGUAGE | | | LAST_MODIFICATION_TIME | | | LAST_MODIFIER_ENTRYID | | | LAST_MODIFIER_NAME | | | LAST_VERB_EXECUTED | | | LAST_VERB_EXECUTION_TIME | | | LIST_HELP | | | LIST_SUBSCRIBE | | | LIST_UNSUBSCRIBE | | | LOCAL_COMMIT_TIME | | | LOCAL_COMMIT_TIME_MAX | | | LOCALE_ID | | | LOCALITY | | | LOCATION | | | MAILBOX_OWNER_ENTRYID | | | MAILBOX_OWNER_NAME | | | MANAGER_NAME | | | MAPPING_SIGNATURE | | | MAX_SUBMIT_MESSAGE_SIZE | | | MEMBER_ID | | | MEMBER_NAME | | | MEMBER_RIGHTS | | | MESSAGE_ATTACHMENTS | | | MESSAGE_CC_ME | | | MESSAGE_CLASS | | | MESSAGE_CODEPAGE | | | MESSAGE_DELIVERY_TIME | | | MSG_EDITOR_FORMAT | | | MESSAGE_FLAGS | | | MHS_COMMON_NAME | | | MESSAGE_LOCALE_ID | | | MESSAGE_RECIP_ME | | | MESSAGE_RECIPIENTS | | | MESSAGE_SIZE | | | MESSAGE_SIZE_EXTENDED | | | MSG_STATUS | | | MESSAGE_SUBMISSION_ID | | | MESSAGE_TO_ME | | | MIDDLE_NAME | | | MOBILE_TELEPHONE_NUMBER | | | NATIVE_BODY_INFO | | | NEXT_SEND_ACCT | | | NICKNAME | | | NDR_DIAG_CODE | | | NDR_REASON_CODE | | | NDR_STATUS_CODE | | | NON_RECEIPT_NOTIFICATION_REQUESTED | | | NORMALIZED_SUBJECT | | | OBJECT_TYPE | | | OFFICE_LOCATION | | | OAB_CONTAINER_GUID | | | OAB_DN | | | OAB_MESSAGE_CLASS | | | OAB_NAME | | | OAB_SEQUENCE | | | OAB_TRUNCATED_PROPS | | | ORDINAL_MOST | | | ORGANIZATIONAL_ID_NUMBER | | | ORIGINAL_AUTHOR_ENTRYID | | | ORIGINAL_AUTHOR_NAME_W | | | ORIGINAL_DELIVERY_TIME | | | ORIGINAL_DISPLAY_BCC | | | ORIGINAL_DISPLAY_CC | | | ORIGINAL_DISPLAY_TO | | | ORIGINAL_ENTRYID | | | ORIG_MESSAGE_CLASS | | | ORIGINAL_SENDER_ADDRTYPE | | | ORIGINAL_SENDER_EMAIL_ADDRESS | | | ORIGINAL_SENDER_ENTRYID | | | ORIGINAL_SENDER_NAME | | | ORIGINAL_SENDER_SEARCH_KEY | | | ORIGINAL_SENSITIVITY | | | ORIGINAL_SENT_REPRESENTING_ADDRTYPE | | | ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS | | | ORIGINAL_SENT_REPRESENTING_ENTRYID | | | ORIGINAL_SENT_REPRESENTING_NAME | | | ORIGINAL_SENT_REPRESENTING_SEARCH_KEY | | | ORIGINAL_SUBJECT | | | ORIGINAL_SUBMIT_TIME | | | ORIGINATOR_DELIVERY_REPORT_REQUESTED | | | ORIGINATOR_NON_DELIVERY_REPORT_REQUESTED | | | OSC_SYNC_ENABLEDONSERVER | | | OTHER_ADDRESS_CITY | | | OTHER_ADDRESS_COUNTRY | | | OTHER_ADDRESS_POSTAL_CODE | | | OTHER_ADDRESS_POST_OFFICE_BOX | | | OTHER_ADDRESS_STATE_OR_PROVINCE | | | OTHER_ADDRESS_STREET | | | OTHER_TELEPHONE_NUMBER | | | OOF_STATE | | | OWNER_APPT_ID | | | PAGER_TELEPHONE_NUMBER | | | PARENT_ENTRYID | | | PARENT_KEY | | | PARENT_SOURCE_KEY | | | PERSONAL_HOME_PAGE | | | POLICY_TAG | | | POSTAL_ADDRESS | | | POSTAL_CODE | | | POST_OFFICE_BOX | | | PREDECESSOR_CHANGE_LIST | | | PRIMARY_FAX_NUMBER | | | PRIMARY_SEND_ACCT | | | PRIMARY_TELEPHONE_NUMBER | | | PRIORITY | | | PROCESSED | | | PROFESSION | | | PROHIBIT_RECEIVE_QUOTA | | | PROHIBIT_SEND_QUOTA | | | PURPORTED_SENDER_DOMAIN | | | RADIO_TELEPHONE_NUMBER | | | READ | | | READ_RECEIPT_ENTRYID | | | READ_RECEIPT_REQUESTED | | | READ_RECEIPT_SEARCH_KEY | | | RECEIPT_TIME | | | RECEIVED_BY_ADDRTYPE | | | RECEIVED_BY_EMAIL_ADDRESS | | | RECEIVED_BY_ENTRYID | | | RECEIVED_BY_NAME | | | RECEIVED_BY_SEARCH_KEY | | | RCVD_REPRESENTING_ADDRTYPE | | | RCVD_REPRESENTING_EMAIL_ADDRESS | | | RCVD_REPRESENTING_ENTRYID | | | RCVD_REPRESENTING_NAME | | | RCVD_REPRESENTING_SEARCH_KEY | | | RECIPIENT_DISPLAY_NAME | | | RECIPIENT_ENTRYID | | | RECIPIENT_FLAGS | | | RECIPIENT_ORDER | | | RECIPIENT_PROPOSED | | | RECIPIENT_PROPOSEDENDTIME | | | RECIPIENT_PROPOSEDSTARTTIME | | | RECIPIENT_REASSIGNMENT_PROHIBITED | | | RECIPIENT_TRACKSTATUS | | | RECIPIENT_TRACKSTATUS_TIME | | | RECIPIENT_TYPE | | | RECORD_KEY | | | REFERRED_BY_NAME | | | REM_ONLINE_ENTRYID | | | DSN_REMOTE_MTA | | | RENDERING_POSITION | | | REPLY_RECIPIENT_ENTRIES | | | REPLY_RECIPIENT_NAMES | | | REPLY_REQUESTED | | | REPLY_TEMPLATE_ID | | | REPLY_TIME | | | REPORT_DISPOSITION_W | | | REPORT_DISPOSITION_MODE_W | | | REPORT_ENTRYID | | | REPORT_NAME | | | REPORT_SEARCH_KEY | | | REPORT_TAG | | | REPORT_TEXT | | | REPORT_TIME | | | RESOLVE_METHOD | | | RESPONSE_REQUESTED | | | RESPONSIBILITY | | | RETENTION_DATE | | | RETENTION_FLAGS | | | RETENTION_PERIOD | | | RIGHTS | | | ROAMING_DATATYPES | | | ROAMING_DICTIONARY | | | ROAMING_XMLSTREAM | | | ROWID | | | ROW_TYPE | | | RTF_COMPRESSED | | | RTF_IN_SYNC | | | RULE_ACTION_NUMBER | | | RULE_ACTIONS | | | RULE_ACTION_TYPE | | | RULE_CONDITION | | | RULE_ERROR | | | RULE_FOLDER_ENTRYID | | | RULE_ID | | | RULE_IDS | | | RULE_LEVEL | | | RULE_MSG_LEVEL | | | RULE_MSG_PROVIDER_DATA | | | RULE_MSG_SEQUENCE | | | RULE_MSG_STATE | | | RULE_MSG_USER_FLAGS | | | RULE_NAME | | | RULE_PROVIDER | | | RULE_PROVIDER_DATA | | | RULE_SEQUENCE | | | RULE_STATE | | | RULE_USER_FLAGS | | | RW_RULES_STREAM | | | SCHDINFO_APPT_TOMBSTONE | | | SCHDINFO_AUTO_ACCEPT_APPTS | | | SCHDINFO_DELEGATE_ENTRYIDS | | | SCHDINFO_DELEGATE_NAMES | | | SCHDINFO_DELEGATE_NAMES_W | | | SCHDINFO_BOSS_WANTS_COPY | | | SCHDINFO_BOSS_WANTS_INFO | | | SCHDINFO_DISALLOW_OVERLAPPING_APPTS | | | SCHDINFO_DISALLOW_RECURRING_APPTS | | | SCHDINFO_DONT_MAIL_DELEGATES | | | SCHDINFO_FREEBUSY | | | SCHDINFO_FREEBUSY_OOF | | | SCHDINFO_FREEBUSY_BUSY | | | SCHDINFO_FREEBUSY_MERGED | | | SCHDINFO_FREEBUSY_TENTATIVE | | | SCHDINFO_MONTHS_OOF | | | SCHDINFO_MONTHS_BUSY | | | SCHDINFO_MONTHS_MERGED | | | SCHDINFO_MONTHS_TENTATIVE | | | SCHDINFO_RESOURCE_TYPE | | | SPLUS_FREE_BUSY_ENTRYID | | | EMS_SCRIPT_BLOB | | | WB_SF_DEFINITION | | | WB_SF_EFP_FLAGS | | | WB_SF_EXPIRATION | | | WB_SF_ID | | | WB_SF_LAST_USED | | | WB_SF_RECREATE_INFO | | | WB_SF_STORAGE_TYPE | | | WB_SF_TAG | | | WB_SF_TEMPLATE_ID | | | SEARCH_KEY | | | NT_SECURITY_DESCRIPTOR_AS_XML | | | SELECTABLE | | | SENDER_ADDRTYPE | | | SENDER_EMAIL_ADDRESS | | | SENDER_ENTRYID | | | SENDER_ID_STATUS | | | SENDER_NAME | | | SENDER_SEARCH_KEY | | | SEND_INTERNET_ENCODING | | | SEND_RICH_INFO | | | SENSITIVITY | | | SENT_REPRESENTING_ADDRTYPE | | | SENT_REPRESENTING_EMAIL_ADDRESS | | | SENT_REPRESENTING_ENTRYID | | | SENT_REPRESENTING_NAME | | | SENT_REPRESENTING_SEARCH_KEY | | | SENT_REPRESENTING_SMTP_ADDRESS | | | SMTP_ADDRESS | | | SORT_LOCALE_ID | | | SOURCE_KEY | | | EMS_AB_UM_SPOKEN_NAME | | | SPOUSE_NAME | | | START_DATE | | | START_DATE_ETC | | | STATE_OR_PROVINCE | | | STORE_ENTRYID | | | STORE_STATE | | | STORE_SUPPORT_MASK | | | STREET_ADDRESS | | | SUBFOLDERS | | | SUBJECT | | | SUBJECT_PREFIX | | | SUPPLEMENTARY_INFO | | | SURNAME | | | SWAPPED_TODO_DATA | | | SWAPPED_TODO_STORE | | | TARGET_ENTRYID | | | TTYTDD_PHONE_NUMBER | | | TELEX_NUMBER | | | EMS_TEMPLATE_BLOB | | | TEMPLATEID | | | EMS_AB_THUMBNAIL_PHOTO | | | TITLE | | | TNEF_CORRELATION_KEY | | | TODO_ITEM_FLAGS | | | TRANSMITABLE_DISPLAY_NAME | | | TRANSPORT_MESSAGE_HEADERS | | | TRUST_SENDER | | | USER_CERTIFICATE | | | USER_ENTRYID | | | USER_X509_CERTIFICATE | | | VD_BINARY | | | VD_NAME | | | VD_STRINGS | | | VD_VERSION | | | WEDDING_ANNIVERSARY | | | WLINK_ABEID | | | WLINK_AB_EXSTOREEID | | | WLINK_CALENDAR_COLOR | | | WLINK_CLIENTID | | | WLINK_ENTRYID | | | WLINK_FLAGS | | | WLINK_FOLDER_TYPE | | | WLINK_GROUP_CLSID | | | WLINK_GROUP_NAME | | | WLINK_ORDINAL | | | WLINK_RECKEY | | | WLINK_RO_GROUP_TYPE | | | WLINK_SECTION | | | WLINK_STORE_ENTRYID | | | WLINK_TYPE | | | ABSTRACT | | | ACTIVE_USER_ENTRYID | | | ADDRBOOK_FOR_LOCAL_SITE_ENTRYID | | | ADDRESS_BOOK_DISPLAY_NAME | | | ARRIVAL_TIME | | | ASSOC_MESSAGE_SIZE | | | ASSOC_MESSAGE_SIZE_EXTENDED | | | ASSOC_MSG_W_ATTACH_COUNT | | | ATTACH_ON_ASSOC_MSG_COUNT | | | ATTACH_ON_NORMAL_MSG_COUNT | | | AUTO_ADD_NEW_SUBS | | | BILATERAL_INFO | | | CACHED_COLUMN_COUNT | | | CATEG_COUNT | | | CHANGE_ADVISOR | | | CHANGE_NOTIFICATION_GUID | | | COLLECTOR | | | CONTACT_COUNT | | | CONTENT_SEARCH_KEY | | | CONTENTS_SYNCHRONIZER | | | DELETED_ASSOC_MESSAGE_SIZE_EXTENDED | | | DELETED_ASSOC_MSG_COUNT | | | DELETED_FOLDER_COUNT | | | DELETED_MESSAGE_SIZE_EXTENDED | | | DELETED_MSG_COUNT | | | DELETED_NORMAL_MESSAGE_SIZE_EXTENDED | | | DESIGN_IN_PROGRESS | | | DISABLE_FULL_FIDELITY | | | DISABLE_WINSOCK | | | DL_REPORT_FLAGS | | | EFORMS_FOR_LOCALE_ENTRYID | | | EFORMS_LOCALE_ID | | | EFORMS_REGISTRY_ENTRYID | | | EMS_AB_ACCESS_CATEGORY | | | EMS_AB_ACTIVATION_SCHEDULE | | | EMS_AB_ACTIVATION_STYLE | | | EMS_AB_ADDRESS_ENTRY_DISPLAY_TABLE | | | EMS_AB_ADDRESS_ENTRY_DISPLAY_TABLE_MSDOS | | | EMS_AB_ADDRESS_SYNTAX | | | EMS_AB_ADDRESS_TYPE | | | EMS_AB_ADMD | | | EMS_AB_ADMIN_DESCRIPTION | | | EMS_AB_ADMIN_DISPLAY_NAME | | | EMS_AB_ADMIN_EXTENSION_DLL | | | EMS_AB_ALIASED_OBJECT_NAME | | | EMS_AB_ALIASED_OBJECT_NAME_O | | | EMS_AB_ALT_RECIPIENT | | | EMS_AB_ALT_RECIPIENT_BL | | | EMS_AB_ALT_RECIPIENT_BL_O | | | EMS_AB_ALT_RECIPIENT_O | | | EMS_AB_ANCESTOR_ID | | | EMS_AB_ANONYMOUS_ACCESS | | | EMS_AB_ANONYMOUS_ACCOUNT | | | EMS_AB_ASSOC_NT_ACCOUNT | | | EMS_AB_ASSOC_PROTOCOL_CFG_NNTP | | | EMS_AB_ASSOC_PROTOCOL_CFG_NNTP_O | | | EMS_AB_ASSOC_REMOTE_DXA | | | EMS_AB_ASSOC_REMOTE_DXA_O | | | EMS_AB_ASSOCIATION_LIFETIME | | | EMS_AB_ATTRIBUTE_CERTIFICATE | | | EMS_AB_AUTH_ORIG_BL | | | EMS_AB_AUTH_ORIG_BL_O | | | EMS_AB_AUTHENTICATION_TO_USE | | | EMS_AB_AUTHORITY_REVOCATION_LIST | | | EMS_AB_AUTHORIZED_DOMAIN | | | EMS_AB_AUTHORIZED_PASSWORD | | | EMS_AB_AUTHORIZED_PASSWORD_CONFIRM | | | EMS_AB_AUTHORIZED_USER | | | EMS_AB_AUTOREPLY | | | EMS_AB_AUTOREPLY_MESSAGE | | | EMS_AB_AUTOREPLY_SUBJECT | | | EMS_AB_AVAILABLE_AUTHORIZATION_PACKAGES | | | EMS_AB_AVAILABLE_DISTRIBUTIONS | | | EMS_AB_BRIDGEHEAD_SERVERS | | | EMS_AB_BRIDGEHEAD_SERVERS_O | | | EMS_AB_BUSINESS_CATEGORY | | | EMS_AB_BUSINESS_ROLES | | | EMS_AB_CA_CERTIFICATE | | | EMS_AB_CAN_CREATE_PF | | | EMS_AB_CAN_CREATE_PF_BL | | | EMS_AB_CAN_CREATE_PF_BL_O | | | EMS_AB_CAN_CREATE_PF_DL | | | EMS_AB_CAN_CREATE_PF_DL_BL | | | EMS_AB_CAN_CREATE_PF_DL_BL_O | | | EMS_AB_CAN_CREATE_PF_DL_O | | | EMS_AB_CAN_CREATE_PF_O | | | EMS_AB_CAN_NOT_CREATE_PF | | | EMS_AB_CAN_NOT_CREATE_PF_BL | | | EMS_AB_CAN_NOT_CREATE_PF_BL_O | | | EMS_AB_CAN_NOT_CREATE_PF_DL | | | EMS_AB_CAN_NOT_CREATE_PF_DL_BL | | | EMS_AB_CAN_NOT_CREATE_PF_DL_BL_O | | | EMS_AB_CAN_NOT_CREATE_PF_DL_O | | | EMS_AB_CAN_NOT_CREATE_PF_O | | | EMS_AB_CAN_PRESERVE_DNS | | | EMS_AB_CERTIFICATE_CHAIN_V3 | | | EMS_AB_CERTIFICATE_REVOCATION_LIST | | | EMS_AB_CERTIFICATE_REVOCATION_LIST_V1 | | | EMS_AB_CERTIFICATE_REVOCATION_LIST_V3 | | | EMS_AB_CHARACTER_SET | | | EMS_AB_CHARACTER_SET_LIST | | | EMS_AB_CHILD_RDNS | | | EMS_AB_CLIENT_ACCESS_ENABLED | | | EMS_AB_CLOCK_ALERT_OFFSET | | | EMS_AB_CLOCK_ALERT_REPAIR | | | EMS_AB_CLOCK_WARNING_OFFSET | | | EMS_AB_CLOCK_WARNING_REPAIR | | | EMS_AB_COMPROMISED_KEY_LIST | | | EMS_AB_COMPUTER_NAME | | | EMS_AB_CONNECTED_DOMAINS | | | EMS_AB_CONNECTION_LIST_FILTER | | | EMS_AB_CONNECTION_LIST_FILTER_TYPE | | | EMS_AB_CONNECTION_TYPE | | | EMS_AB_CONTAINER_INFO | | | EMS_AB_CONTENT_TYPE | | | EMS_AB_CONTROL_MSG_FOLDER_ID | | | EMS_AB_CONTROL_MSG_RULES | | | EMS_AB_COST | | | EMS_AB_COUNTRY_NAME | | | EMS_AB_CROSS_CERTIFICATE_CRL | | | EMS_AB_CROSS_CERTIFICATE_PAIR | | | EMS_AB_DEFAULT_MESSAGE_FORMAT | | | EMS_AB_DELEGATE_USER | | | EMS_AB_DELIV_EITS | | | EMS_AB_DELIV_EXT_CONT_TYPES | | | EMS_AB_DELIVER_AND_REDIRECT | | | EMS_AB_DELIVERY_MECHANISM | | | EMS_AB_DELTA_REVOCATION_LIST | | | EMS_AB_DESCRIPTION | | | EMS_AB_DESTINATION_INDICATOR | | | EMS_AB_DIAGNOSTIC_REG_KEY | | | EMS_AB_DISABLE_DEFERRED_COMMIT | | | EMS_AB_DISABLED_GATEWAY_PROXY | | | EMS_AB_DISPLAY_NAME_OVERRIDE | | | EMS_AB_DISPLAY_NAME_SUFFIX | | | EMS_AB_DL_MEM_REJECT_PERMS_BL | | | EMS_AB_DL_MEM_REJECT_PERMS_BL_O | | | EMS_AB_DL_MEMBER_RULE | | | EMS_AB_DMD_NAME | | | EMS_AB_DO_OAB_VERSION | | | EMS_AB_DOMAIN_DEF_ALT_RECIP | | | EMS_AB_DOMAIN_DEF_ALT_RECIP_O | | | EMS_AB_DOMAIN_NAME | | | EMS_AB_DSA_SIGNATURE | | | EMS_AB_DXA_ADMIN_COPY | | | EMS_AB_DXA_ADMIN_FORWARD | | | EMS_AB_DXA_ADMIN_UPDATE | | | EMS_AB_DXA_APPEND_REQCN | | | EMS_AB_DXA_CONF_CONTAINER_LIST | | | EMS_AB_DXA_CONF_CONTAINER_LIST_O | | | EMS_AB_DXA_CONF_REQ_TIME | | | EMS_AB_DXA_CONF_SEQ | | | EMS_AB_DXA_CONF_SEQ_USN | | | EMS_AB_DXA_EXCHANGE_OPTIONS | | | EMS_AB_DXA_EXPORT_NOW | | | EMS_AB_DXA_FLAGS | | | EMS_AB_DXA_IMP_SEQ | | | EMS_AB_DXA_IMP_SEQ_TIME | | | EMS_AB_DXA_IMP_SEQ_USN | | | EMS_AB_DXA_IMPORT_NOW | | | EMS_AB_DXA_IN_TEMPLATE_MAP | | | EMS_AB_DXA_LOCAL_ADMIN | | | EMS_AB_DXA_LOCAL_ADMIN_O | | | EMS_AB_DXA_LOGGING_LEVEL | | | EMS_AB_DXA_NATIVE_ADDRESS_TYPE | | | EMS_AB_DXA_OUT_TEMPLATE_MAP | | | EMS_AB_DXA_PASSWORD | | | EMS_AB_DXA_PREV_EXCHANGE_OPTIONS | | | EMS_AB_DXA_PREV_EXPORT_NATIVE_ONLY | | | EMS_AB_DXA_PREV_IN_EXCHANGE_SENSITIVITY | | | EMS_AB_DXA_PREV_REMOTE_ENTRIES | | | EMS_AB_DXA_PREV_REMOTE_ENTRIES_O | | | EMS_AB_DXA_PREV_REPLICATION_SENSITIVITY | | | EMS_AB_DXA_PREV_TEMPLATE_OPTIONS | | | EMS_AB_DXA_PREV_TYPES | | | EMS_AB_DXA_RECIPIENT_CP | | | EMS_AB_DXA_REMOTE_CLIENT | | | EMS_AB_DXA_REMOTE_CLIENT_O | | | EMS_AB_DXA_REQ_SEQ | | | EMS_AB_DXA_REQ_SEQ_TIME | | | EMS_AB_DXA_REQ_SEQ_USN | | | EMS_AB_DXA_REQNAME | | | EMS_AB_DXA_SVR_SEQ | | | EMS_AB_DXA_SVR_SEQ_TIME | | | EMS_AB_DXA_SVR_SEQ_USN | | | EMS_AB_DXA_TASK | | | EMS_AB_DXA_TEMPLATE_OPTIONS | | | EMS_AB_DXA_TEMPLATE_TIMESTAMP | | | EMS_AB_DXA_TYPES | | | EMS_AB_DXA_UNCONF_CONTAINER_LIST | | | EMS_AB_DXA_UNCONF_CONTAINER_LIST_O | | | EMS_AB_EMPLOYEE_NUMBER | | | EMS_AB_EMPLOYEE_TYPE | | | EMS_AB_ENABLE_COMPATIBILITY | | | EMS_AB_ENABLED | | | EMS_AB_ENABLED_AUTHORIZATION_PACKAGES | | | EMS_AB_ENABLED_PROTOCOL_CFG | | | EMS_AB_ENABLED_PROTOCOLS | | | EMS_AB_ENCAPSULATION_METHOD | | | EMS_AB_ENCRYPT | | | EMS_AB_ENCRYPT_ALG_LIST_NA | | | EMS_AB_ENCRYPT_ALG_LIST_OTHER | | | EMS_AB_ENCRYPT_ALG_SELECTED_NA | | | EMS_AB_ENCRYPT_ALG_SELECTED_OTHER | | | EMS_AB_EXPAND_DLS_LOCALLY | | | EMS_AB_EXPIRATION_TIME | | | EMS_AB_EXPORT_CONTAINERS | | | EMS_AB_EXPORT_CONTAINERS_O | | | EMS_AB_EXPORT_CUSTOM_RECIPIENTS | | | EMS_AB_EXTENDED_CHARS_ALLOWED | | | EMS_AB_EXTENSION_DATA | | | EMS_AB_EXTENSION_NAME | | | EMS_AB_EXTENSION_NAME_INHERITED | | | EMS_AB_FACSIMILE_TELEPHONE_NUMBER | | | EMS_AB_FILE_VERSION | | | EMS_AB_FILTER_LOCAL_ADDRESSES | | | EMS_AB_FOLDERS_CONTAINER | | | EMS_AB_FOLDERS_CONTAINER_O | | | EMS_AB_FORM_DATA | | | EMS_AB_FORWARDING_ADDRESS | | | EMS_AB_GARBAGE_COLL_PERIOD | | | EMS_AB_GATEWAY_LOCAL_CRED | | | EMS_AB_GATEWAY_LOCAL_DESIG | | | EMS_AB_GATEWAY_PROXY | | | EMS_AB_GATEWAY_ROUTING_TREE | | | EMS_AB_GENERATION_QUALIFIER | | | EMS_AB_GROUP_BY_ATTR_1 | | | EMS_AB_GROUP_BY_ATTR_2 | | | EMS_AB_GROUP_BY_ATTR_3 | | | EMS_AB_GROUP_BY_ATTR_4 | | | EMS_AB_GROUP_BY_ATTR_VALUE_DN | | | EMS_AB_GROUP_BY_ATTR_VALUE_DN_O | | | EMS_AB_GROUP_BY_ATTR_VALUE_STR | | | EMS_AB_GWART_LAST_MODIFIED | | | EMS_AB_HAS_FULL_REPLICA_NCS | | | EMS_AB_HAS_FULL_REPLICA_NCS_O | | | EMS_AB_HAS_MASTER_NCS | | | EMS_AB_HAS_MASTER_NCS_O | | | EMS_AB_HELP_DATA16 | | | EMS_AB_HELP_DATA32 | | | EMS_AB_HELP_FILE_NAME | | | EMS_AB_HEURISTICS | | | EMS_AB_HIDE_DL_MEMBERSHIP | | | EMS_AB_HIDE_FROM_ADDRESS_BOOK | | | EMS_AB_HIERARCHY_PATH | | | EMS_AB_HOME_MDB_BL | | | EMS_AB_HOME_MDB_BL_O | | | EMS_AB_HOME_MTA | | | EMS_AB_HOME_MTA_O | | | EMS_AB_HOME_PUBLIC_SERVER | | | EMS_AB_HOME_PUBLIC_SERVER_O | | | EMS_AB_HOUSE_IDENTIFIER | | | EMS_AB_HTTP_PUB_AB_ATTRIBUTES | | | EMS_AB_HTTP_PUB_GAL | | | EMS_AB_HTTP_PUB_GAL_LIMIT | | | EMS_AB_HTTP_PUB_PF | | | EMS_AB_HTTP_SERVERS | | | EMS_AB_IMPORT_CONTAINER | | | EMS_AB_IMPORT_CONTAINER_O | | | EMS_AB_IMPORT_SENSITIVITY | | | EMS_AB_IMPORTED_FROM | | | EMS_AB_INBOUND_ACCEPT_ALL | | | EMS_AB_INBOUND_DN | | | EMS_AB_INBOUND_DN_O | | | EMS_AB_INBOUND_HOST | | | EMS_AB_INBOUND_NEWSFEED | | | EMS_AB_INBOUND_NEWSFEED_TYPE | | | EMS_AB_INBOUND_SITES | | | EMS_AB_INBOUND_SITES_O | | | EMS_AB_INCOMING_MSG_SIZE_LIMIT | | | EMS_AB_INCOMING_PASSWORD | | | EMS_AB_INSADMIN | | | EMS_AB_INSADMIN_O | | | EMS_AB_INSTANCE_TYPE | | | EMS_AB_INTERNATIONAL_ISDN_NUMBER | | | EMS_AB_INVOCATION_ID | | | EMS_AB_IS_DELETED | | | EMS_AB_IS_SINGLE_VALUED | | | EMS_AB_KCC_STATUS | | | EMS_AB_KM_SERVER | | | EMS_AB_KM_SERVER_O | | | EMS_AB_KNOWLEDGE_INFORMATION | | | EMS_AB_LABELEDURI | | | EMS_AB_LANGUAGE | | | EMS_AB_LANGUAGE_ISO639 | | | EMS_AB_LDAP_DISPLAY_NAME | | | EMS_AB_LDAP_SEARCH_CFG | | | EMS_AB_LINE_WRAP | | | EMS_AB_LINK_ID | | | EMS_AB_LIST_PUBLIC_FOLDERS | | | EMS_AB_LOCAL_BRIDGE_HEAD | | | EMS_AB_LOCAL_BRIDGE_HEAD_ADDRESS | | | EMS_AB_LOCAL_INITIAL_TURN | | | EMS_AB_LOCAL_SCOPE | | | EMS_AB_LOCAL_SCOPE_O | | | EMS_AB_LOG_FILENAME | | | EMS_AB_LOG_ROLLOVER_INTERVAL | | | EMS_AB_MAIL_DROP | | | EMS_AB_MAINTAIN_AUTOREPLY_HISTORY | | | EMS_AB_MAPI_DISPLAY_TYPE | | | EMS_AB_MAPI_ID | | | EMS_AB_MAXIMUM_OBJECT_ID | | | EMS_AB_MDB_BACKOFF_INTERVAL | | | EMS_AB_MDB_MSG_TIME_OUT_PERIOD | | | EMS_AB_MDB_OVER_QUOTA_LIMIT | | | EMS_AB_MDB_STORAGE_QUOTA | | | EMS_AB_MDB_UNREAD_LIMIT | | | EMS_AB_MDB_USE_DEFAULTS | | | EMS_AB_MESSAGE_TRACKING_ENABLED | | | EMS_AB_MIME_TYPES | | | EMS_AB_MODERATED | | | EMS_AB_MODERATOR | | | EMS_AB_MONITOR_CLOCK | | | EMS_AB_MONITOR_SERVERS | | | EMS_AB_MONITOR_SERVICES | | | EMS_AB_MONITORED_CONFIGURATIONS | | | EMS_AB_MONITORED_CONFIGURATIONS_O | | | EMS_AB_MONITORED_SERVERS | | | EMS_AB_MONITORED_SERVERS_O | | | EMS_AB_MONITORED_SERVICES | | | EMS_AB_MONITORING_ALERT_DELAY | | | EMS_AB_MONITORING_ALERT_UNITS | | | EMS_AB_MONITORING_AVAILABILITY_STYLE | | | EMS_AB_MONITORING_AVAILABILITY_WINDOW | | | EMS_AB_MONITORING_CACHED_VIA_MAIL | | | EMS_AB_MONITORING_CACHED_VIA_MAIL_O | | | EMS_AB_MONITORING_CACHED_VIA_RPC | | | EMS_AB_MONITORING_CACHED_VIA_RPC_O | | | EMS_AB_MONITORING_ESCALATION_PROCEDURE | | | EMS_AB_MONITORING_HOTSITE_POLL_INTERVAL | | | EMS_AB_MONITORING_HOTSITE_POLL_UNITS | | | EMS_AB_MONITORING_MAIL_UPDATE_INTERVAL | | | EMS_AB_MONITORING_MAIL_UPDATE_UNITS | | | EMS_AB_MONITORING_NORMAL_POLL_INTERVAL | | | EMS_AB_MONITORING_NORMAL_POLL_UNITS | | | EMS_AB_MONITORING_RECIPIENTS | | | EMS_AB_MONITORING_RECIPIENTS_NDR | | | EMS_AB_MONITORING_RECIPIENTS_NDR_O | | | EMS_AB_MONITORING_RECIPIENTS_O | | | EMS_AB_MONITORING_RPC_UPDATE_INTERVAL | | | EMS_AB_MONITORING_RPC_UPDATE_UNITS | | | EMS_AB_MONITORING_WARNING_DELAY | | | EMS_AB_MONITORING_WARNING_UNITS | | | EMS_AB_MTA_LOCAL_CRED | | | EMS_AB_MTA_LOCAL_DESIG | | | EMS_AB_N_ADDRESS | | | EMS_AB_N_ADDRESS_TYPE | | | EMS_AB_NEWSFEED_TYPE | | | EMS_AB_NEWSGROUP | | | EMS_AB_NEWSGROUP_LIST | | | EMS_AB_NNTP_CHARACTER_SET | | | EMS_AB_NNTP_CONTENT_FORMAT | | | EMS_AB_NNTP_DISTRIBUTIONS | | | EMS_AB_NNTP_DISTRIBUTIONS_FLAG | | | EMS_AB_NNTP_NEWSFEEDS | | | EMS_AB_NNTP_NEWSFEEDS_O | | | EMS_AB_NT_MACHINE_NAME | | | EMS_AB_NT_SECURITY_DESCRIPTOR | | | EMS_AB_NUM_OF_OPEN_RETRIES | | | EMS_AB_NUM_OF_TRANSFER_RETRIES | | | EMS_AB_OBJ_VIEW_CONTAINERS | | | EMS_AB_OBJ_VIEW_CONTAINERS_O | | | EMS_AB_OBJECT_CLASS_CATEGORY | | | EMS_AB_OBJECT_OID | | | EMS_AB_OBJECT_VERSION | | | EMS_AB_OFF_LINE_AB_CONTAINERS | | | EMS_AB_OFF_LINE_AB_CONTAINERS_O | | | EMS_AB_OFF_LINE_AB_SCHEDULE | | | EMS_AB_OFF_LINE_AB_SERVER | | | EMS_AB_OFF_LINE_AB_SERVER_O | | | EMS_AB_OFF_LINE_AB_STYLE | | | EMS_AB_OID_TYPE | | | EMS_AB_OM_OBJECT_CLASS | | | EMS_AB_OM_SYNTAX | | | EMS_AB_OOF_REPLY_TO_ORIGINATOR | | | EMS_AB_OPEN_RETRY_INTERVAL | | | EMS_AB_ORGANIZATION_NAME | | | EMS_AB_ORGANIZATIONAL_UNIT_NAME | | | EMS_AB_ORIGINAL_DISPLAY_TABLE | | | EMS_AB_ORIGINAL_DISPLAY_TABLE_MSDOS | | | EMS_AB_OTHER_RECIPS | | | EMS_AB_OUTBOUND_HOST | | | EMS_AB_OUTBOUND_HOST_TYPE | | | EMS_AB_OUTBOUND_NEWSFEED | | | EMS_AB_OUTBOUND_SITES | | | EMS_AB_OUTBOUND_SITES_O | | | EMS_AB_OUTGOING_MSG_SIZE_LIMIT | | | EMS_AB_OVERRIDE_NNTP_CONTENT_FORMAT | | | EMS_AB_OWA_SERVER | | | EMS_AB_P_SELECTOR | | | EMS_AB_P_SELECTOR_INBOUND | | | EMS_AB_PER_MSG_DIALOG_DISPLAY_TABLE | | | EMS_AB_PER_RECIP_DIALOG_DISPLAY_TABLE | | | EMS_AB_PERIOD_REP_SYNC_TIMES | | | EMS_AB_PERIOD_REPL_STAGGER | | | EMS_AB_PERSONAL_TITLE | | | EMS_AB_PF_CONTACTS | | | EMS_AB_PF_CONTACTS_O | | | EMS_AB_POP_CHARACTER_SET | | | EMS_AB_POP_CONTENT_FORMAT | | | EMS_AB_PORT_NUMBER | | | EMS_AB_POSTAL_ADDRESS | | | EMS_AB_PREFERRED_DELIVERY_METHOD | | | EMS_AB_PRESERVE_INTERNET_CONTENT | | | EMS_AB_PRMD | | | EMS_AB_PROMO_EXPIRATION | | | EMS_AB_PROTOCOL_SETTINGS | | | EMS_AB_PROXY_GENERATION_ENABLED | | | EMS_AB_PROXY_GENERATOR_DLL | | | EMS_AB_PUBLIC_DELEGATES_BL | | | EMS_AB_PUBLIC_DELEGATES_BL_O | | | EMS_AB_QUOTA_NOTIFICATION_SCHEDULE | | | EMS_AB_QUOTA_NOTIFICATION_STYLE | | | EMS_AB_RANGE_LOWER | | | EMS_AB_RANGE_UPPER | | | EMS_AB_RAS_ACCOUNT | | | EMS_AB_RAS_CALLBACK_NUMBER | | | EMS_AB_RAS_PASSWORD | | | EMS_AB_RAS_PHONE_NUMBER | | | EMS_AB_RAS_PHONEBOOK_ENTRY_NAME | | | EMS_AB_RAS_REMOTE_SRVR_NAME | | | EMS_AB_REFERRAL_LIST | | | EMS_AB_REGISTERED_ADDRESS | | | EMS_AB_REMOTE_BRIDGE_HEAD | | | EMS_AB_REMOTE_BRIDGE_HEAD_ADDRESS | | | EMS_AB_REMOTE_OUT_BH_SERVER | | | EMS_AB_REMOTE_OUT_BH_SERVER_O | | | EMS_AB_REMOTE_SITE | | | EMS_AB_REMOTE_SITE_O | | | EMS_AB_REPLICATED_OBJECT_VERSION | | | EMS_AB_REPLICATION_MAIL_MSG_SIZE | | | EMS_AB_REPLICATION_SENSITIVITY | | | EMS_AB_REPLICATION_STAGGER | | | EMS_AB_REPORT_TO_ORIGINATOR | | | EMS_AB_REPORT_TO_OWNER | | | EMS_AB_REQ_SEQ | | | EMS_AB_REQUIRE_SSL | | | EMS_AB_RESPONSIBLE_LOCAL_DXA | | | EMS_AB_RESPONSIBLE_LOCAL_DXA_O | | | EMS_AB_RETURN_EXACT_MSG_SIZE | | | EMS_AB_RID_SERVER | | | EMS_AB_RID_SERVER_O | | | EMS_AB_ROLE_OCCUPANT | | | EMS_AB_ROLE_OCCUPANT_O | | | EMS_AB_ROOT_NEWSGROUPS_FOLDER_ID | | | EMS_AB_ROUTING_LIST | | | EMS_AB_RTS_CHECKPOINT_SIZE | | | EMS_AB_RTS_RECOVERY_TIMEOUT | | | EMS_AB_RTS_WINDOW_SIZE | | | EMS_AB_RUNS_ON | | | EMS_AB_RUNS_ON_O | | | EMS_AB_S_SELECTOR | | | EMS_AB_S_SELECTOR_INBOUND | | | EMS_AB_SCHEMA_FLAGS | | | EMS_AB_SCHEMA_VERSION | | | EMS_AB_SEARCH_FLAGS | | | EMS_AB_SEARCH_GUIDE | | | EMS_AB_SECURITY_POLICY | | | EMS_AB_SECURITY_PROTOCOL | | | EMS_AB_SEE_ALSO | | | EMS_AB_SEE_ALSO_O | | | EMS_AB_SEND_EMAIL_MESSAGE | | | EMS_AB_SEND_TNEF | | | EMS_AB_SERIAL_NUMBER | | | EMS_AB_SERVER | | | EMS_AB_SERVICE_ACTION_FIRST | | | EMS_AB_SERVICE_ACTION_OTHER | | | EMS_AB_SERVICE_ACTION_SECOND | | | EMS_AB_SERVICE_RESTART_DELAY | | | EMS_AB_SERVICE_RESTART_MESSAGE | | | EMS_AB_SESSION_DISCONNECT_TIMER | | | EMS_AB_SITE_AFFINITY | | | EMS_AB_SITE_FOLDER_GUID | | | EMS_AB_SITE_FOLDER_SERVER | | | EMS_AB_SITE_FOLDER_SERVER_O | | | EMS_AB_SITE_PROXY_SPACE | | | EMS_AB_SMIME_ALG_LIST_NA | | | EMS_AB_SMIME_ALG_LIST_OTHER | | | EMS_AB_SMIME_ALG_SELECTED_NA | | | EMS_AB_SMIME_ALG_SELECTED_OTHER | | | EMS_AB_SPACE_LAST_COMPUTED | | | EMS_AB_STREET_ADDRESS | | | EMS_AB_SUB_REFS | | | EMS_AB_SUB_REFS_O | | | EMS_AB_SUB_SITE | | | EMS_AB_SUBMISSION_CONT_LENGTH | | | EMS_AB_SUPPORT_SMIME_SIGNATURES | | | EMS_AB_SUPPORTED_ALGORITHMS | | | EMS_AB_SUPPORTED_APPLICATION_CONTEXT | | | EMS_AB_SUPPORTING_STACK | | | EMS_AB_SUPPORTING_STACK_BL | | | EMS_AB_SUPPORTING_STACK_BL_O | | | EMS_AB_SUPPORTING_STACK_O | | | EMS_AB_T_SELECTOR | | | EMS_AB_T_SELECTOR_INBOUND | | | EMS_AB_TARGET_MTAS | | | EMS_AB_TELEPHONE_NUMBER | | | EMS_AB_TELEPHONE_PERSONAL_PAGER | | | EMS_AB_TELETEX_TERMINAL_IDENTIFIER | | | EMS_AB_TEMP_ASSOC_THRESHOLD | | | EMS_AB_TOMBSTONE_LIFETIME | | | EMS_AB_TRACKING_LOG_PATH_NAME | | | EMS_AB_TRANS_RETRY_MINS | | | EMS_AB_TRANS_TIMEOUT_MINS | | | EMS_AB_TRANSFER_RETRY_INTERVAL | | | EMS_AB_TRANSFER_TIMEOUT_NON_URGENT | | | EMS_AB_TRANSFER_TIMEOUT_NORMAL | | | EMS_AB_TRANSFER_TIMEOUT_URGENT | | | EMS_AB_TRANSLATION_TABLE_USED | | | EMS_AB_TRANSPORT_EXPEDITED_DATA | | | EMS_AB_TRUST_LEVEL | | | EMS_AB_TURN_REQUEST_THRESHOLD | | | EMS_AB_TWO_WAY_ALTERNATE_FACILITY | | | EMS_AB_TYPE | | | EMS_AB_UNAUTH_ORIG_BL | | | EMS_AB_UNAUTH_ORIG_BL_O | | | EMS_AB_USE_SERVER_VALUES | | | EMS_AB_USE_SITE_VALUES | | | EMS_AB_USENET_SITE_NAME | | | EMS_AB_USER_PASSWORD | | | EMS_AB_USN_CHANGED | | | EMS_AB_USN_CREATED | | | EMS_AB_USN_DSA_LAST_OBJ_REMOVED | | | EMS_AB_USN_INTERSITE | | | EMS_AB_USN_LAST_OBJ_REM | | | EMS_AB_USN_SOURCE | | | EMS_AB_VIEW_CONTAINER_1 | | | EMS_AB_VIEW_CONTAINER_2 | | | EMS_AB_VIEW_CONTAINER_3 | | | EMS_AB_VIEW_DEFINITION | | | EMS_AB_VIEW_FLAGS | | | EMS_AB_VIEW_SITE | | | EMS_AB_VOICE_MAIL_FLAGS | | | EMS_AB_VOICE_MAIL_GREETINGS | | | EMS_AB_VOICE_MAIL_PASSWORD | | | EMS_AB_VOICE_MAIL_RECORDED_NAME | | | EMS_AB_VOICE_MAIL_RECORDING_LENGTH | | | EMS_AB_VOICE_MAIL_SPEED | | | EMS_AB_VOICE_MAIL_SYSTEM_GUID | | | EMS_AB_VOICE_MAIL_USER_ID | | | EMS_AB_VOICE_MAIL_VOLUME | | | EMS_AB_WWW_HOME_PAGE | | | EMS_AB_X121_ADDRESS | | | EMS_AB_X25_CALL_USER_DATA_INCOMING | | | EMS_AB_X25_CALL_USER_DATA_OUTGOING | | | EMS_AB_X25_FACILITIES_DATA_INCOMING | | | EMS_AB_X25_FACILITIES_DATA_OUTGOING | | | EMS_AB_X25_LEASED_LINE_PORT | | | EMS_AB_X25_LEASED_OR_SWITCHED | | | EMS_AB_X25_REMOTE_MTA_PHONE | | | EMS_AB_X400_ATTACHMENT_TYPE | | | EMS_AB_X400_SELECTOR_SYNTAX | | | EMS_AB_X500_ACCESS_CONTROL_LIST | | | EMS_AB_X500_NC | | | EMS_AB_X500_RDN | | | EMS_AB_XMIT_TIMEOUT_NON_URGENT | | | EMS_AB_XMIT_TIMEOUT_NORMAL | | | EMS_AB_XMIT_TIMEOUT_URGENT | | | EVENTS_ROOT_FOLDER_ENTRYID | | | EXCESS_STORAGE_USED | | | EXTENDED_ACL_DATA | | | FAST_TRANSFER | | | FAVORITES_DEFAULT_NAME | | | FOLDER_CHILD_COUNT | | | FOLDER_DESIGN_FLAGS | | | FOLDER_PATHNAME | | | FOREIGN_ID | | | FOREIGN_REPORT_ID | | | FOREIGN_SUBJECT_ID | | | FREE_BUSY_FOR_LOCAL_SITE_ENTRYID | | | GW_ADMIN_OPERATIONS | | | GW_MTSIN_ENTRYID | | | GW_MTSOUT_ENTRYID | | | HAS_MODERATOR_RULES | | | HIERARCHY_SERVER | | | HIERARCHY_SYNCHRONIZER | | | IMAP_INTERNAL_DATE | | | IN_TRANSIT | | | INBOUND_NEWSFEED_DN | | | INTERNET_CHARSET | | | INTERNET_NEWSGROUP_NAME | | | IPM_DAF_ENTRYID | | | IPM_FAVORITES_ENTRYID | | | IPM_PUBLIC_FOLDERS_ENTRYID | | | IS_NEWSGROUP | | | IS_NEWSGROUP_ANCHOR | | | LAST_ACCESS_TIME | | | LAST_FULL_BACKUP | | | LAST_LOGOFF_TIME | | | LAST_LOGON_TIME | | | LONGTERM_ENTRYID_FROM_TABLE | | | MESSAGE_PROCESSED | | | MESSAGE_SITE_NAME | | | MOVE_TO_FOLDER_ENTRYID | | | MOVE_TO_STORE_ENTRYID | | | MSG_BODY_ID | | | MTS_SUBJECT_ID | | | NEW_SUBS_GET_AUTO_ADD | | | NEWSFEED_INFO | | | NEWSGROUP_COMPONENT | | | NEWSGROUP_ROOT_FOLDER_ENTRYID | | | NNTP_ARTICLE_FOLDER_ENTRYID | | | NNTP_CONTROL_FOLDER_ENTRYID | | | NON_IPM_SUBTREE_ENTRYID | | | NORMAL_MESSAGE_SIZE | | | NORMAL_MESSAGE_SIZE_EXTENDED | | | NORMAL_MSG_W_ATTACH_COUNT | | | NT_USER_NAME | | | OFFLINE_ADDRBOOK_ENTRYID | | | OFFLINE_FLAGS | | | OFFLINE_MESSAGE_ENTRYID | | | OLDEST_DELETED_ON | | | ORIGINATOR_ADDR | | | ORIGINATOR_ADDRTYPE | | | ORIGINATOR_ENTRYID | | | ORIGINATOR_NAME | | | OST_ENCRYPTION | | | OUTBOUND_NEWSFEED_DN | | | OVERALL_AGE_LIMIT | | | OVERALL_MSG_AGE_LIMIT | | | OWA_URL | | | OWNER_COUNT | | | P1_CONTENT | | | P1_CONTENT_TYPE | | | PREVENT_MSG_CREATE | | | PREVIEW | | | PREVIEW_UNREAD | | | PROFILE_AB_FILES_PATH | | | PROFILE_ADDR_INFO | | | PROFILE_ALLPUB_COMMENT | | | PROFILE_ALLPUB_DISPLAY_NAME | | | PROFILE_BINDING_ORDER | | | PROFILE_CONFIG_FLAGS | | | PROFILE_CONNECT_FLAGS | | | PROFILE_FAVFLD_COMMENT | | | PROFILE_FAVFLD_DISPLAY_NAME | | | PROFILE_HOME_SERVER | | | PROFILE_HOME_SERVER_ADDRS | | | PROFILE_HOME_SERVER_DN | | | PROFILE_MAILBOX | | | PROFILE_MAX_RESTRICT | | | PROFILE_MOAB | | | PROFILE_MOAB_GUID | | | PROFILE_MOAB_SEQ | | | PROFILE_OFFLINE_INFO | | | PROFILE_OFFLINE_STORE_PATH | | | PROFILE_OPEN_FLAGS | | | PROFILE_OPTIONS_DATA | | | PROFILE_SECURE_MAILBOX | | | PROFILE_SERVER | | | PROFILE_SERVER_DN | | | PROFILE_TRANSPORT_FLAGS | | | PROFILE_TYPE | | | PROFILE_UI_STATE | | | PROFILE_UNRESOLVED_NAME | | | PROFILE_UNRESOLVED_SERVER | | | PROFILE_USER | | | PROFILE_VERSION | | | PST_ENCRYPTION | | | PST_PATH | | | PST_PW_SZ_OLD | | | PST_REMEMBER_PW | | | PUBLIC_FOLDER_ENTRYID | | | PUBLISH_IN_ADDRESS_BOOK | | | RECIPIENT_NUMBER | | | RECIPIENT_ON_ASSOC_MSG_COUNT | | | RECIPIENT_ON_NORMAL_MSG_COUNT | | | REPLICA_LIST | | | REPLICA_SERVER | | | REPLICA_VERSION | | | REPLICATION_ALWAYS_INTERVAL | | | REPLICATION_MESSAGE_PRIORITY | | | REPLICATION_MSG_SIZE | | | REPLICATION_SCHEDULE | | | REPLICATION_STYLE | | | REPLY_RECIPIENT_SMTP_PROXIES | | | REPORT_DESTINATION_ENTRYID | | | REPORT_DESTINATION_NAME | | | RESTRICTION_COUNT | | | RETENTION_AGE_LIMIT | | | RULE_TRIGGER_HISTORY | | | RULES_DATA | | | RULES_TABLE | | | SCHEDULE_FOLDER_ENTRYID | | | SECURE_IN_SITE | | | SECURE_ORIGINATION | | | STORAGE_LIMIT_INFORMATION | | | STORAGE_QUOTA_LIMIT | | | STORE_OFFLINE | | | STORE_SLOWLINK | | | SUBJECT_TRACE_INFO | | | SVR_GENERATING_QUOTA_MSG | | | SYNCHRONIZE_FLAGS | | | SYS_CONFIG_FOLDER_ENTRYID | | | TEST_LINE_SPEED | | | TRACE_INFO | | | TRANSFER_ENABLED | | | USER_NAME | | | X400_ENVELOPE_TYPE | | | AB_DEFAULT_DIR | | | AB_DEFAULT_PAB | | | AB_PROVIDER_ID | | | AB_PROVIDERS | | | AB_SEARCH_PATH | | | AB_SEARCH_PATH_UPDATE | | | ALTERNATE_RECIPIENT | | | ASSOC_CONTENT_COUNT | | | ATTACHMENT_X400_PARAMETERS | | | AUTHORIZING_USERS | | | BODY_CRC | | | COMMON_VIEWS_ENTRYID | | | CONTACT_ADDRTYPES | | | CONTACT_DEFAULT_ADDRESS_INDEX | | | CONTACT_EMAIL_ADDRESSES | | | CONTACT_ENTRYIDS | | | CONTACT_VERSION | | | CONTAINER_MODIFY_VERSION | | | CONTENT_CONFIDENTIALITY_ALGORITHM_ID | | | CONTENT_CORRELATOR | | | CONTENT_IDENTIFIER | | | CONTENT_INTEGRITY_CHECK | | | CONTENT_LENGTH | | | CONTENT_RETURN_REQUESTED | | | CONTENTS_SORT_ORDER | | | CONTROL_FLAGS | | | CONTROL_ID | | | CONTROL_STRUCTURE | | | CONTROL_TYPE | | | CONVERSATION_KEY | | | CONVERSION_EITS | | | CONVERSION_PROHIBITED | | | CONVERSION_WITH_LOSS_PROHIBITED | | | CONVERTED_EITS | | | CORRELATE | | | CORRELATE_MTSID | | | CREATE_TEMPLATES | | | CREATION_VERSION | | | CURRENT_VERSION | | | DEF_CREATE_DL | | | DEF_CREATE_MAILUSER | | | DEFAULT_PROFILE | | | DEFAULT_STORE | | | DEFAULT_VIEW_ENTRYID | | | DELEGATION | | | DELIVERY_POINT | | | DELTAX | | | DELTAY | | | DETAILS_TABLE | | | DISC_VAL | | | DISCARD_REASON | | | DISCLOSE_RECIPIENTS | | | DISCLOSURE_OF_RECIPIENTS | | | DISCRETE_VALUES | | | DL_EXPANSION_HISTORY | | | DL_EXPANSION_PROHIBITED | | | EXPLICIT_CONVERSION | | | FILTERING_HOOKS | | | FINDER_ENTRYID | | | FORM_CATEGORY | | | FORM_CATEGORY_SUB | | | FORM_CLSID | | | FORM_CONTACT_NAME | | | FORM_DESIGNER_GUID | | | FORM_DESIGNER_NAME | | | FORM_HIDDEN | | | FORM_HOST_MAP | | | FORM_MESSAGE_BEHAVIOR | | | FORM_VERSION | | | HEADER_FOLDER_ENTRYID | | | ICON | | | IDENTITY_DISPLAY | | | IDENTITY_ENTRYID | | | IDENTITY_SEARCH_KEY | | | IMPLICIT_CONVERSION_PROHIBITED | | | INCOMPLETE_COPY | | | INTERNET_APPROVED | | | INTERNET_ARTICLE_NUMBER | | | INTERNET_CONTROL | | | INTERNET_DISTRIBUTION | | | INTERNET_FOLLOWUP_TO | | | INTERNET_LINES | | | INTERNET_NEWSGROUPS | | | INTERNET_NNTP_PATH | | | INTERNET_ORGANIZATION | | | INTERNET_PRECEDENCE | | | IPM_ID | | | IPM_OUTBOX_ENTRYID | | | IPM_OUTBOX_SEARCH_KEY | | | IPM_RETURN_REQUESTED | | | IPM_SENTMAIL_ENTRYID | | | IPM_SENTMAIL_SEARCH_KEY | | | IPM_SUBTREE_ENTRYID | | | IPM_SUBTREE_SEARCH_KEY | | | IPM_WASTEBASKET_ENTRYID | | | IPM_WASTEBASKET_SEARCH_KEY | | | LANGUAGES | | | LATEST_DELIVERY_TIME | | | MAIL_PERMISSION | | | MDB_PROVIDER | | | MESSAGE_DELIVERY_ID | | | MESSAGE_DOWNLOAD_TIME | | | MESSAGE_SECURITY_LABEL | | | MESSAGE_TOKEN | | | MINI_ICON | | | MODIFY_VERSION | | | NEWSGROUP_NAME | | | NNTP_XREF | | | NON_RECEIPT_REASON | | | OBSOLETED_IPMS | | | ORIGIN_CHECK | | | ORIGINAL_AUTHOR_ADDRTYPE | | | ORIGINAL_AUTHOR_EMAIL_ADDRESS | | | ORIGINAL_AUTHOR_SEARCH_KEY | | | ORIGINAL_DISPLAY_NAME | | | ORIGINAL_EITS | | | ORIGINAL_SEARCH_KEY | | | ORIGINALLY_INTENDED_RECIP_ADDRTYPE | | | ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS | | | ORIGINALLY_INTENDED_RECIP_ENTRYID | | | ORIGINALLY_INTENDED_RECIPIENT_NAME | | | ORIGINATING_MTA_CERTIFICATE | | | ORIGINATOR_AND_DL_EXPANSION_HISTORY | | | ORIGINATOR_CERTIFICATE | | | ORIGINATOR_REQUESTED_ALTERNATE_RECIPIENT | | | ORIGINATOR_RETURN_ADDRESS | | | OWN_STORE_ENTRYID | | | PARENT_DISPLAY | | | PHYSICAL_DELIVERY_BUREAU_FAX_DELIVERY | | | PHYSICAL_DELIVERY_MODE | | | PHYSICAL_DELIVERY_REPORT_REQUEST | | | PHYSICAL_FORWARDING_ADDRESS | | | PHYSICAL_FORWARDING_ADDRESS_REQUESTED | | | PHYSICAL_FORWARDING_PROHIBITED | | | PHYSICAL_RENDITION_ATTRIBUTES | | | POST_FOLDER_ENTRIES | | | POST_FOLDER_NAMES | | | POST_REPLY_DENIED | | | POST_REPLY_FOLDER_ENTRIES | | | POST_REPLY_FOLDER_NAMES | | | PREPROCESS | | | PRIMARY_CAPABILITY | | | PROFILE_NAME | | | PROOF_OF_DELIVERY | | | PROOF_OF_DELIVERY_REQUESTED | | | PROOF_OF_SUBMISSION | | | PROOF_OF_SUBMISSION_REQUESTED | | | PROVIDER_DISPLAY | | | PROVIDER_DLL_NAME | | | PROVIDER_ORDINAL | | | PROVIDER_SUBMIT_TIME | | | PROVIDER_UID | | | RECEIVE_FOLDER_SETTINGS | | | RECIPIENT_CERTIFICATE | | | RECIPIENT_NUMBER_FOR_ADVICE | | | RECIPIENT_STATUS | | | REDIRECTION_HISTORY | | | REGISTERED_MAIL_TYPE | | | RELATED_IPMS | | | REMOTE_PROGRESS | | | REMOTE_PROGRESS_TEXT | | | REMOTE_VALIDATE_OK | | | REPORTING_DL_NAME | | | REPORTING_MTA_CERTIFICATE | | | REQUESTED_DELIVERY_METHOD | | | RESOURCE_FLAGS | | | RESOURCE_METHODS | | | RESOURCE_PATH | | | RESOURCE_TYPE | | | RETURNED_IPM | | | RTF_SYNC_BODY_COUNT | | | RTF_SYNC_BODY_CRC | | | RTF_SYNC_BODY_TAG | | | RTF_SYNC_PREFIX_COUNT | | | RTF_SYNC_TRAILING_COUNT | | | SEARCH | | | SECURITY | | | SENTMAIL_ENTRYID | | | SERVICE_DELETE_FILES | | | SERVICE_DLL_NAME | | | SERVICE_ENTRY_NAME | | | SERVICE_EXTRA_UIDS | | | SERVICE_NAME | | | SERVICE_SUPPORT_FILES | | | SERVICE_UID | | | SERVICES | | | SPOOLER_STATUS | | | STATUS | | | STATUS_CODE | | | STATUS_STRING | | | STORE_PROVIDERS | | | STORE_RECORD_KEY | | | SUBJECT_IPM | | | SUBMIT_FLAGS | | | SUPERSEDES | | | TRANSPORT_KEY | | | TRANSPORT_PROVIDERS | | | TRANSPORT_STATUS | | | TYPE_OF_MTS_USER | | | VALID_FOLDER_MASK | | | VIEWS_ENTRYID | | | X400_CONTENT_TYPE | | | X400_DEFERRED_DELIVERY_CANCEL | | | XPOS | | | YPOS | | ### groupdocs.metadata.formats.email Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email.md The namespace contains classes representing saved email messages and their parts. ##### Classes | Class | Description | | :- | :- | | `EmailAttachmentPackage` | Represents a metadata package containing email attachment name. | | `EmailHeaderPackage` | Represents a metadata package containing email message headers. | | `EmailPackage` | Represents email message metadata. | | `EmailRootPackage` | Represents the root package allowing working with metadata in an email message. | | `EmlPackage` | Represents EML message metadata. | | `EmlRootPackage` | Represents the root package allowing working with metadata in an EML email message. | | `MsgAttachmentPackage` | Represents a metadata package containing email attachment name and data. | | `MsgPackage` | Represents MSG message metadata. | | `MsgRootPackage` | Represents the root package allowing working with metadata in an MSG email message. | ### EmailAttachmentPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage.md #### EmailAttachmentPackage class Represents a metadata package containing email attachment name. **Inheritance:** `EmailAttachmentPackage` → `CustomPackage` → `MetadataPackage` The EmailAttachmentPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the attachment name. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/name.md #### name property Gets the attachment name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailattachmentpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### EmailHeaderPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage.md #### EmailHeaderPackage class Represents a metadata package containing email message headers. **Inheritance:** `EmailHeaderPackage` → `CustomPackage` → `MetadataPackage` The EmailHeaderPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get(self, header)` | Gets the value of the specified header. | | `set(self, header, value)` | Set the value of the specified header. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/get.md #### get(self, header) Gets the value of the specified header. ##### Returns The value if the package contains the specified header; otherwise, null. ```python def get(self, header): ... ``` | Parameter | Type | Description | | :- | :- | :- | | header | System.String | An email header. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/set.md #### set(self, header, value) Set the value of the specified header. ```python def set(self, header, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | header | System.String | An email header. | | value | groupdocs.metadata.common.PropertyValue | An email header value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailheaderpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### EmailPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage.md #### EmailPackage class Represents email message metadata. **Inheritance:** `EmailPackage` → `CustomPackage` → `MetadataPackage` The EmailPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | subject | Gets or sets the email subject. | | recipients | Gets or sets the array of the email recipients. | | carbon_copy_recipients | Gets or sets the array of CC (carbon copy) recipients of the email message. | | blind_carbon_copy_recipients | Gets or sets the array of BCC (blind carbon copy) recipients of the email message. | | sender_email_address | Gets the email address of the sender. | | headers | Gets a metadata package containing the email headers. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to remove all attachments from an email. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### blind_carbon_copy_recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/blind_carbon_copy_recipients.md #### blind_carbon_copy_recipients property Gets or sets the array of BCC (blind carbon copy) recipients of the email message. ##### Definition: ```python @property def blind_carbon_copy_recipients(self): ... @blind_carbon_copy_recipients.setter def blind_carbon_copy_recipients(self, value): ... ``` ### carbon_copy_recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/carbon_copy_recipients.md #### carbon_copy_recipients property Gets or sets the array of CC (carbon copy) recipients of the email message. ##### Definition: ```python @property def carbon_copy_recipients(self): ... @carbon_copy_recipients.setter def carbon_copy_recipients(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### headers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/headers.md #### headers property Gets a metadata package containing the email headers. ##### Definition: ```python @property def headers(self): ... @headers.setter def headers(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/recipients.md #### recipients property Gets or sets the array of the email recipients. ##### Definition: ```python @property def recipients(self): ... @recipients.setter def recipients(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### sender_email_address property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/sender_email_address.md #### sender_email_address property Gets the email address of the sender. ##### Definition: ```python @property def sender_email_address(self): ... @sender_email_address.setter def sender_email_address(self, value): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/subject.md #### subject property Gets or sets the email subject. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### EmailRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage.md #### EmailRootPackage class Represents the root package allowing working with metadata in an email message. **Inheritance:** `EmailRootPackage` → `RootMetadataPackage` → `MetadataPackage` The EmailRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | email_package | Gets the email metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `clear_attachments(self)` | Removes all the attachments form the email message. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_attachments method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/clear_attachments.md #### clear_attachments(self) Removes all the attachments form the email message. ```python def clear_attachments(self): ... ``` ##### Remarks **Learn more** | | | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### email_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/email_package.md #### email_package property Gets the email metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def email_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emailrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### EmlPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage.md #### EmlPackage class Represents EML message metadata. **Inheritance:** `EmlPackage` → `EmailPackage` → `CustomPackage` → `MetadataPackage` The EmlPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | subject | Gets or sets the email subject. | | recipients | Gets or sets the array of the email recipients. | | carbon_copy_recipients | Gets or sets the array of CC (carbon copy) recipients of the email message. | | blind_carbon_copy_recipients | Gets or sets the array of BCC (blind carbon copy) recipients of the email message. | | sender_email_address | Gets the email address of the sender. | | headers | Gets a metadata package containing the email headers. | | attachments | Gets an array of the attached files. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### attachments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/attachments.md #### attachments property Gets an array of the attached files. ##### Definition: ```python @property def attachments(self): ... @attachments.setter def attachments(self, value): ... ``` ### blind_carbon_copy_recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/blind_carbon_copy_recipients.md #### blind_carbon_copy_recipients property Gets or sets the array of BCC (blind carbon copy) recipients of the email message. ##### Definition: ```python @property def blind_carbon_copy_recipients(self): ... @blind_carbon_copy_recipients.setter def blind_carbon_copy_recipients(self, value): ... ``` ### carbon_copy_recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/carbon_copy_recipients.md #### carbon_copy_recipients property Gets or sets the array of CC (carbon copy) recipients of the email message. ##### Definition: ```python @property def carbon_copy_recipients(self): ... @carbon_copy_recipients.setter def carbon_copy_recipients(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### headers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/headers.md #### headers property Gets a metadata package containing the email headers. ##### Definition: ```python @property def headers(self): ... @headers.setter def headers(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/recipients.md #### recipients property Gets or sets the array of the email recipients. ##### Definition: ```python @property def recipients(self): ... @recipients.setter def recipients(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### sender_email_address property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/sender_email_address.md #### sender_email_address property Gets the email address of the sender. ##### Definition: ```python @property def sender_email_address(self): ... @sender_email_address.setter def sender_email_address(self, value): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/subject.md #### subject property Gets or sets the email subject. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### EmlRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage.md #### EmlRootPackage class Represents the root package allowing working with metadata in an EML email message. **Inheritance:** `EmlRootPackage` → `EmailRootPackage` → `RootMetadataPackage` → `MetadataPackage` The EmlRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | email_package | Gets the EML metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `clear_attachments(self)` | Removes all the attachments form the email message. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to extract metadata from an EML message. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_attachments method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/clear_attachments.md #### clear_attachments(self) Removes all the attachments form the email message. ```python def clear_attachments(self): ... ``` ##### Remarks **Learn more** | | | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### email_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/email_package.md #### email_package property Gets the EML metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def email_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/emlrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MsgAttachmentPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage.md #### MsgAttachmentPackage class Represents a metadata package containing email attachment name and data. **Inheritance:** `MsgAttachmentPackage` → `EmailAttachmentPackage` → `CustomPackage` → `MetadataPackage` The MsgAttachmentPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, name, content)` | MsgAttachmentPackage constructor | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the attachment name. | | content | Gets the last attachment data on byte array. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### MsgAttachmentPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/__init__.md #### \_\_init\_\_(self, name, content) MsgAttachmentPackage constructor ```python def __init__(self, name, content): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | Attachment name | | content | bytes | Attachment file which byte[] | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/content.md #### content property Gets the last attachment data on byte array. ##### Definition: ```python @property def content(self): ... @content.setter def content(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/name.md #### name property Gets the attachment name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgattachmentpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MsgPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage.md #### MsgPackage class Represents MSG message metadata. **Inheritance:** `MsgPackage` → `EmailPackage` → `CustomPackage` → `MetadataPackage` The MsgPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | subject | Gets or sets the email subject. | | recipients | Gets or sets the array of the email recipients. | | carbon_copy_recipients | Gets or sets the array of CC (carbon copy) recipients of the email message. | | blind_carbon_copy_recipients | Gets or sets the array of BCC (blind carbon copy) recipients of the email message. | | sender_email_address | Gets the email address of the sender. | | headers | Gets a metadata package containing the email headers. | | body | Gets the email message text. | | categories | Gets the array of categories or keywords. | | delivery_time | Gets the date and time the message was delivered. | | client_submit_time | Gets the date and time the message was submit. | | sender_name | Gets the name of the sender. | | internet_message_id | Gets the message id of the message. | | billing | Contains the billing information associated with an item. | | body_html | Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. | | body_rtf | Gets the BodyRtf of the message. | | conversation_topic | Gets the Conversation Topic. | | display_bcc | Gets the Display Bcc. | | display_cc | Gets the Display Cc. | | display_name | Gets the Display Name. | | display_name_prefix | Gets the Display Name Prefix. | | display_to | Gets the Display To. | | is_encrypted | Gets the Is Encrypted. | | is_signed | Gets the Is Signed. | | is_template | Gets the Is Template. | | normalized_subject | Gets the Normalized Subject. | | read_receipt_requested | Gets the Read Receipt Requested. | | reply_to | Gets the Reply To. | | sender_address_type | Gets the Sender Address Type. | | sender_smtp_address | Gets the Sender Smtp Address. | | sent_representing_address_type | Gets the Sent Representing Address Type. | | sent_representing_email_address | Gets the Sent Representing Email Address. | | sent_representing_name | Gets the Sent Representing Name. | | sent_representing_smtp_address | Gets the Sent Representing Smtp Address. | | transport_message_headers | Gets the Transport Message Headers. | | mileage | Gets the Mileage. | | subject_prefix | Gets the Subject Prefix. | | attachments | Gets an array of the attached files. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### attachments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/attachments.md #### attachments property Gets an array of the attached files. ##### Definition: ```python @property def attachments(self): ... @attachments.setter def attachments(self, value): ... ``` ### billing property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/billing.md #### billing property Contains the billing information associated with an item. ##### Definition: ```python @property def billing(self): ... @billing.setter def billing(self, value): ... ``` ### blind_carbon_copy_recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/blind_carbon_copy_recipients.md #### blind_carbon_copy_recipients property Gets or sets the array of BCC (blind carbon copy) recipients of the email message. ##### Definition: ```python @property def blind_carbon_copy_recipients(self): ... @blind_carbon_copy_recipients.setter def blind_carbon_copy_recipients(self, value): ... ``` ### body property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/body.md #### body property Gets the email message text. ##### Definition: ```python @property def body(self): ... @body.setter def body(self, value): ... ``` ### body_html property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/body_html.md #### body_html property Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. ##### Definition: ```python @property def body_html(self): ... @body_html.setter def body_html(self, value): ... ``` ### body_rtf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/body_rtf.md #### body_rtf property Gets the BodyRtf of the message. ##### Definition: ```python @property def body_rtf(self): ... @body_rtf.setter def body_rtf(self, value): ... ``` ### carbon_copy_recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/carbon_copy_recipients.md #### carbon_copy_recipients property Gets or sets the array of CC (carbon copy) recipients of the email message. ##### Definition: ```python @property def carbon_copy_recipients(self): ... @carbon_copy_recipients.setter def carbon_copy_recipients(self, value): ... ``` ### categories property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/categories.md #### categories property Gets the array of categories or keywords. ##### Definition: ```python @property def categories(self): ... @categories.setter def categories(self, value): ... ``` ### client_submit_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/client_submit_time.md #### client_submit_time property Gets the date and time the message was submit. ##### Definition: ```python @property def client_submit_time(self): ... @client_submit_time.setter def client_submit_time(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### conversation_topic property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/conversation_topic.md #### conversation_topic property Gets the Conversation Topic. ##### Definition: ```python @property def conversation_topic(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### delivery_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/delivery_time.md #### delivery_time property Gets the date and time the message was delivered. ##### Definition: ```python @property def delivery_time(self): ... @delivery_time.setter def delivery_time(self, value): ... ``` ### display_bcc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/display_bcc.md #### display_bcc property Gets the Display Bcc. ##### Definition: ```python @property def display_bcc(self): ... ``` ### display_cc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/display_cc.md #### display_cc property Gets the Display Cc. ##### Definition: ```python @property def display_cc(self): ... ``` ### display_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/display_name.md #### display_name property Gets the Display Name. ##### Definition: ```python @property def display_name(self): ... ``` ### display_name_prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/display_name_prefix.md #### display_name_prefix property Gets the Display Name Prefix. ##### Definition: ```python @property def display_name_prefix(self): ... ``` ### display_to property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/display_to.md #### display_to property Gets the Display To. ##### Definition: ```python @property def display_to(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### headers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/headers.md #### headers property Gets a metadata package containing the email headers. ##### Definition: ```python @property def headers(self): ... @headers.setter def headers(self, value): ... ``` ### internet_message_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/internet_message_id.md #### internet_message_id property Gets the message id of the message. ##### Definition: ```python @property def internet_message_id(self): ... ``` ### is_encrypted property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/is_encrypted.md #### is_encrypted property Gets the Is Encrypted. ##### Definition: ```python @property def is_encrypted(self): ... ``` ### is_signed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/is_signed.md #### is_signed property Gets the Is Signed. ##### Definition: ```python @property def is_signed(self): ... ``` ### is_template property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/is_template.md #### is_template property Gets the Is Template. ##### Definition: ```python @property def is_template(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mileage property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/mileage.md #### mileage property Gets the Mileage. ##### Definition: ```python @property def mileage(self): ... @mileage.setter def mileage(self, value): ... ``` ### normalized_subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/normalized_subject.md #### normalized_subject property Gets the Normalized Subject. ##### Definition: ```python @property def normalized_subject(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### read_receipt_requested property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/read_receipt_requested.md #### read_receipt_requested property Gets the Read Receipt Requested. ##### Definition: ```python @property def read_receipt_requested(self): ... @read_receipt_requested.setter def read_receipt_requested(self, value): ... ``` ### recipients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/recipients.md #### recipients property Gets or sets the array of the email recipients. ##### Definition: ```python @property def recipients(self): ... @recipients.setter def recipients(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### reply_to property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/reply_to.md #### reply_to property Gets the Reply To. ##### Definition: ```python @property def reply_to(self): ... @reply_to.setter def reply_to(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### sender_address_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sender_address_type.md #### sender_address_type property Gets the Sender Address Type. ##### Definition: ```python @property def sender_address_type(self): ... ``` ### sender_email_address property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sender_email_address.md #### sender_email_address property Gets the email address of the sender. ##### Definition: ```python @property def sender_email_address(self): ... @sender_email_address.setter def sender_email_address(self, value): ... ``` ### sender_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sender_name.md #### sender_name property Gets the name of the sender. ##### Definition: ```python @property def sender_name(self): ... @sender_name.setter def sender_name(self, value): ... ``` ### sender_smtp_address property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sender_smtp_address.md #### sender_smtp_address property Gets the Sender Smtp Address. ##### Definition: ```python @property def sender_smtp_address(self): ... @sender_smtp_address.setter def sender_smtp_address(self, value): ... ``` ### sent_representing_address_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sent_representing_address_type.md #### sent_representing_address_type property Gets the Sent Representing Address Type. ##### Definition: ```python @property def sent_representing_address_type(self): ... ``` ### sent_representing_email_address property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sent_representing_email_address.md #### sent_representing_email_address property Gets the Sent Representing Email Address. ##### Definition: ```python @property def sent_representing_email_address(self): ... @sent_representing_email_address.setter def sent_representing_email_address(self, value): ... ``` ### sent_representing_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sent_representing_name.md #### sent_representing_name property Gets the Sent Representing Name. ##### Definition: ```python @property def sent_representing_name(self): ... @sent_representing_name.setter def sent_representing_name(self, value): ... ``` ### sent_representing_smtp_address property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/sent_representing_smtp_address.md #### sent_representing_smtp_address property Gets the Sent Representing Smtp Address. ##### Definition: ```python @property def sent_representing_smtp_address(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/subject.md #### subject property Gets or sets the email subject. ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### subject_prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/subject_prefix.md #### subject_prefix property Gets the Subject Prefix. ##### Definition: ```python @property def subject_prefix(self): ... ``` ### transport_message_headers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/transport_message_headers.md #### transport_message_headers property Gets the Transport Message Headers. ##### Definition: ```python @property def transport_message_headers(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MsgRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage.md #### MsgRootPackage class Represents the root package allowing working with metadata in an MSG email message. **Inheritance:** `MsgRootPackage` → `EmailRootPackage` → `RootMetadataPackage` → `MetadataPackage` The MsgRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | email_package | Gets the MSG metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `clear_attachments(self)` | Removes all the attachments form the email message. | | `get_string(self, tag)` | Gets the string value of the property specified by tag. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to extract metadata from an MSG message. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_attachments method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/clear_attachments.md #### clear_attachments(self) Removes all the attachments form the email message. ```python def clear_attachments(self): ... ``` ##### Remarks **Learn more** | | | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### email_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/email_package.md #### email_package property Gets the MSG metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def email_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/get_string.md #### get_string(self, tag) Gets the string value of the property specified by tag. ##### Returns The value of the property. If the property does not exist, returns NULL; otherwise, returns the value. ```python def get_string(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.email.msg.MsgKnownProperties | The value from MsgKnownProperties enum . | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.email/msgrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.fb2 Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2.md ##### Classes | Class | Description | | :- | :- | | `Fb2Package` | Represents metadata in a Fb2 e-book. | ### Fb2Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package.md #### Fb2Package class Represents metadata in a Fb2 e-book. **Inheritance:** `Fb2Package` → `CustomPackage` → `MetadataPackage` The Fb2Package type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | title_info | Description of information about the work (including translation, but excluding publication). | | src_title_info | Description of information about the work in the original language (not available for the original book). | | document_info | Description of information about a specific FB2.x document (creator(s), history, etc.). | | publish_info | Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. | | custom_info | Some information about the document that is not provided in the rest of the description. This may be either just some information from the author or some information that may be useful to some FB2 software. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### custom_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/custom_info.md #### custom_info property Some information about the document that is not provided in the rest of the description. This may be either just some information from the author or some information that may be useful to some FB2 software. ##### Definition: ```python @property def custom_info(self): ... ``` ### document_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/document_info.md #### document_info property Description of information about a specific FB2.x document (creator(s), history, etc.). ##### Definition: ```python @property def document_info(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publish_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/publish_info.md #### publish_info property Information about the paper (or other) publication on the basis of which the FB2.x document was created. It is not recommended to fill in data from an arbitrary publication if the source is unknown, except for the case when verification was carried out on it and the document was brought to the form of this publication. If the source is unknown, it is better to omit this element altogether. ##### Definition: ```python @property def publish_info(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### src_title_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/src_title_info.md #### src_title_info property Description of information about the work in the original language (not available for the original book). ##### Definition: ```python @property def src_title_info(self): ... ``` ### title_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/title_info.md #### title_info property Description of information about the work (including translation, but excluding publication). ##### Definition: ```python @property def title_info(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.fb2/fb2package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.font Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font.md The namespace contains classes allowing users to work with formats representing scalable computer fonts. ##### Classes | Class | Description | | :- | :- | | `OpenTypeBaseNameRecord` | Represents the base OpenType Name table record class. | | `OpenTypeFont` | Represents a single font extracted from a file. | | `OpenTypeMacintoshNameRecord` | Represents the Name record table value for the `OpenTypePlatform.MACINTOSH` platform. | | `OpenTypePackage` | Represents an OpenType font metadata package. | | `OpenTypeRootPackage` | Represents the root package allowing working with metadata in an OpenType font file. | | `OpenTypeUnicodeNameRecord` | Represents the Name record table value for the `OpenTypePlatform.UNICODE` platform. | | `OpenTypeWindowsNameRecord` | Represents the Name record table value for `OpenTypePlatform.WINDOWS` platform. | ##### Enumerations | Enumeration | Description | | :- | :- | | `OpenTypeDigitalSignatureFlags` | Represents OpenType font digital signature flags. | | `OpenTypeDirectionHint` | Represents the OpenType font direction. | | `OpenTypeFlags` | Represents OpenType font header flags. | | `OpenTypeIsoEncoding` | Represents encoding for the `OpenTypePlatform.ISO` platform. | | `OpenTypeLicensingRights` | Indicates font embedding licensing rights for the font. | | `OpenTypeMacintoshEncoding` | Represents encoding for the `OpenTypePlatform.MACINTOSH` platform. | | `OpenTypeMacintoshLanguage` | Represents language enum for the `OpenTypePlatform.MACINTOSH` platform. | | `OpenTypeName` | Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. | | `OpenTypePlatform` | Represents OpenType platform for Name table. | | `OpenTypeStyles` | Represents the OpenType font style. | | `OpenTypeUnicodeEncoding` | Represents encoding for `OpenTypePlatform.UNICODE` platform. | | `OpenTypeVersion` | Represents the OpenType version. | | `OpenTypeWeight` | Represents the OpenType font weight.
Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the font.
Values from 1 to 1000 are valid. | | `OpenTypeWidth` | Represents the OpenType font width.
Indicates a relative change from the normal aspect ratio (width to height ratio)
as specified by a font designer for the glyphs in a font. | | `OpenTypeWindowsEncoding` | Represents encoding for the `OpenTypePlatform.WINDOWS` platform. | | `OpenTypeWindowsLanguage` | Represents language for `OpenTypePlatform.WINDOWS` platform. | ### OpenTypeBaseNameRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord.md #### OpenTypeBaseNameRecord class Represents the base OpenType Name table record class. **Inheritance:** `OpenTypeBaseNameRecord` → `CustomPackage` → `MetadataPackage` The OpenTypeBaseNameRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name_id | Gets the name identifier. | | platform | Gets the platform identifier. | | value | Gets the string value of record. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/name_id.md #### name_id property Gets the name identifier. ##### Definition: ```python @property def name_id(self): ... ``` ### platform property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/platform.md #### platform property Gets the platform identifier. ##### Definition: ```python @property def platform(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypebasenamerecord/value.md #### value property Gets the string value of record. ##### Definition: ```python @property def value(self): ... ``` ### OpenTypeDigitalSignatureFlags enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypedigitalsignatureflags.md #### OpenTypeDigitalSignatureFlags enumeration Represents OpenType font digital signature flags. The OpenTypeDigitalSignatureFlags type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Undefined flag. | | CANNOT_BE_RESIGNED | Cannot be resigned. | ### OpenTypeDirectionHint enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypedirectionhint.md #### OpenTypeDirectionHint enumeration Represents the OpenType font direction. The OpenTypeDirectionHint type exposes the following members: ##### Fields | Field | Description | | :- | :- | | FULLY_MIXED | Fully mixed directional glyphs. | | ONLY_LEFT_TO_RIGHT | Only strongly left to right. | | LEFT_TO_RIGHT_AND_NEUTRALS | Like `OpenTypeDirectionHint.ONLY_LEFT_TO_RIGHT` but also contains neutrals. | | ONLY_RIGHT_TO_LEFT | Only strongly right to left. | | RIGHT_TO_LEFT_AND_NEUTRALS | Like `OpenTypeDirectionHint.ONLY_RIGHT_TO_LEFT` but also contains neutrals. | ### OpenTypeFlags enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeflags.md #### OpenTypeFlags enumeration Represents OpenType font header flags. The OpenTypeFlags type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | Undefined, no flags. | | BASELINE_AT_Y0 | Baseline for font at y=0. | | LEFT_SIDEBEARING_AT_X0 | Left sidebearing point at x=0 (relevant only for TrueType rasterizers). | | DEPEND_ON_POINT_SIZE | Instructions may depend on point size. | | FORCE_TO_INTEGER | Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear. | | ALTER_ADVANCE_WIDTH | Instructions may alter advance width (the advance widths might not scale linearly). | | LOSSLESS | Font data is “lossless” as a result of having been subjected to optimizing transformation and/or compression. | | CONVERTED | Font converted (produce compatible metrics). | | OPTIMIZED | Font optimized for ClearType™. | | RESORT | Last Resort font. | ### OpenTypeFont class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont.md #### OpenTypeFont class Represents a single font extracted from a file. **Inheritance:** `OpenTypeFont` → `CustomPackage` → `MetadataPackage` The OpenTypeFont type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | sfnt_version | Gets the header SFNT version. | | major_version | Gets the header major version. | | minor_version | Gets the header minor version. | | font_revision | Gets the font revision. | | flags | Gets the header flags. | | created | Gets the created date. | | modified | Gets the modified date. | | glyph_bounds | Gets the glyph bounds. | | style | Gets the font style. | | direction_hint | Gets the direction hint. | | names | Gets the name records. | | font_family_name | Gets the name of the font family. | | font_subfamily_name | Gets the name of the font subfamily. | | full_font_name | Gets the full name of the font. | | typographic_family | Gets the typographic family. | | typographic_subfamily | Gets the typographic subfamily. | | weight | Gets the font weight. | | width | Gets the font width. | | embedding_licensing_rights | Gets the embedding licensing rights type. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/created.md #### created property Gets the created date. ##### Definition: ```python @property def created(self): ... ``` ### direction_hint property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/direction_hint.md #### direction_hint property Gets the direction hint. ##### Definition: ```python @property def direction_hint(self): ... ``` ### embedding_licensing_rights property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/embedding_licensing_rights.md #### embedding_licensing_rights property Gets the embedding licensing rights type. ##### Definition: ```python @property def embedding_licensing_rights(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/flags.md #### flags property Gets the header flags. ##### Definition: ```python @property def flags(self): ... ``` ### font_family_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/font_family_name.md #### font_family_name property Gets the name of the font family. ##### Definition: ```python @property def font_family_name(self): ... ``` ### font_revision property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/font_revision.md #### font_revision property Gets the font revision. ##### Definition: ```python @property def font_revision(self): ... ``` ### font_subfamily_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/font_subfamily_name.md #### font_subfamily_name property Gets the name of the font subfamily. ##### Definition: ```python @property def font_subfamily_name(self): ... ``` ### full_font_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/full_font_name.md #### full_font_name property Gets the full name of the font. ##### Definition: ```python @property def full_font_name(self): ... ``` ### glyph_bounds property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/glyph_bounds.md #### glyph_bounds property Gets the glyph bounds. ##### Definition: ```python @property def glyph_bounds(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### major_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/major_version.md #### major_version property Gets the header major version. ##### Definition: ```python @property def major_version(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### minor_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/minor_version.md #### minor_version property Gets the header minor version. ##### Definition: ```python @property def minor_version(self): ... ``` ### modified property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/modified.md #### modified property Gets the modified date. ##### Definition: ```python @property def modified(self): ... ``` ### names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/names.md #### names property Gets the name records. ##### Definition: ```python @property def names(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sfnt_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/sfnt_version.md #### sfnt_version property Gets the header SFNT version. ##### Definition: ```python @property def sfnt_version(self): ... ``` ### style property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/style.md #### style property Gets the font style. ##### Definition: ```python @property def style(self): ... ``` ### typographic_family property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/typographic_family.md #### typographic_family property Gets the typographic family. ##### Definition: ```python @property def typographic_family(self): ... ``` ### typographic_subfamily property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/typographic_subfamily.md #### typographic_subfamily property Gets the typographic subfamily. ##### Definition: ```python @property def typographic_subfamily(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### weight property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/weight.md #### weight property Gets the font weight. ##### Definition: ```python @property def weight(self): ... ``` ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypefont/width.md #### width property Gets the font width. ##### Definition: ```python @property def width(self): ... ``` ### OpenTypeIsoEncoding enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeisoencoding.md #### OpenTypeIsoEncoding enumeration Represents encoding for the `OpenTypePlatform.ISO` platform. The OpenTypeIsoEncoding type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ASCII_7_BIT | The 7-bit ASCII encoding. | | ISO10646 | The ISO 10646 encoding. | | ISO8859 | The ISO 8859-1 encoding. | ### OpenTypeLicensingRights enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypelicensingrights.md #### OpenTypeLicensingRights enumeration Indicates font embedding licensing rights for the font. The OpenTypeLicensingRights type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | The undefined licensing rights. | | USAGE_PERMISSIONS_MASK | Usage permissions mask. | | INSTALLABLE_EMBEDDING | Installable embedding.
The font may be embedded, and may be permanently installed for use on a remote systems, or for use by other users. | | RESTRICTED_LICENSE_EMBEDDING | Restricted License embedding.
The font must not be modified, embedded or exchanged in any manner without first obtaining explicit permission of the legal owner. | | PREVIEW_AND_PRINT_EMBEDDING | Preview and Print embedding.
The font may be embedded, and may be temporarily loaded on other systems for purposes of viewing or printing the document.
Documents containing Preview & Print fonts must be opened “read-only”; no edits can be applied to the document. | | EDITABLE_EMBEDDING | Editable embedding.
The font may be embedded, and may be temporarily loaded on other systems.
As with Preview and Print embedding, documents containing Editable fonts may be opened for reading.
In addition, editing is permitted, including ability to format new text using the embedded font, and changes may be saved. | | NO_SUBSETTING | No subsetting.
When this bit is set, the font may not be subsetted prior to embedding. Other embedding restrictions specified in bits 0 to 3 and bit 9 also apply. | | BITMAP_EMBEDDING_ONLY | Bitmap embedding only.
When this bit is set, only bitmaps contained in the font may be embedded. No outline data may be embedded.
If there are no bitmaps available in the font, then the font is considered unembeddable and the embedding services will fail.
Other embedding restrictions specified in bits 0-3 and 8 also apply. | ### OpenTypeMacintoshEncoding enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshencoding.md #### OpenTypeMacintoshEncoding enumeration Represents encoding for the `OpenTypePlatform.MACINTOSH` platform. The OpenTypeMacintoshEncoding type exposes the following members: ##### Fields | Field | Description | | :- | :- | | DEFAULT_SEMANTICS | Default semantics. | | VERSION_11_SEMANTICS | Version 1.1 semantics. | | ISO_106461993_SEMANTICS | ISO 10646 1993 semantics (deprecated). | | UNICODE_20_BMP_ONLY | Unicode 2.0 or later semantics (BMP only). | | UNICODE_20_NON_BMP | Unicode 2.0 or later semantics (non-BMP characters allowed). | | UNICODE_VARIATION_SEQUENCES | Unicode Variation Sequences. | | FULL_UNICODE_COVERAGE | Full Unicode coverage. | ### OpenTypeMacintoshLanguage enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshlanguage.md #### OpenTypeMacintoshLanguage enumeration Represents language enum for the `OpenTypePlatform.MACINTOSH` platform. The OpenTypeMacintoshLanguage type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ENGLISH | The english language. | | FRENCH | The french language. | | GERMAN | The german language. | | ITALIAN | The italian language. | | DUTCH | The dutch language. | | SWEDISH | The swedish language. | | SPANISH | The spanish language. | | DANISH | The danish language. | | PORTUGUESE | The portuguese language. | | NORWEGIAN | The norwegian language. | | HEBREW | The hebrew language. | | JAPANESE | The japanese language. | | ARABIC | The arabic language. | | FINNISH | The finnish language. | | GREEK | The greek language. | | ICELANDIC | The icelandic language. | | MALTESE | The maltese language. | | TURKISH | The turkish language. | | CROATIAN | The croatian language. | | CHINESE_TRADITIONAL | The chinese traditional language. | | URDU | The urdu language. | | HINDI | The hindi language. | | THAI | The thai language. | | KOREAN | The korean language. | | LITHUANIAN | The lithuanian language. | | POLISH | The polish language. | | HUNGARIAN | The hungarian language. | | ESTONIAN | The estonian language. | | LATVIAN | The latvian language. | | SAMI | The sami language. | | FAROESE | The faroese language. | | FARSI_PERSIAN | The farsi persian language. | | RUSSIAN | The russian language. | | CHINESE_SIMPLIFIED | The chinese simplifie language. | | FLEMISH | The flemish language. | | IRISH_GAELIC | The irish gaelic language. | | ALBANIAN | The albanian language. | | ROMANIAN | The romanian language. | | CZECH | The czech language. | | SLOVAK | The slovak language. | | SLOVENIAN | The slovenian language. | | YIDDISH | The yiddish language. | | SERBIAN | The serbian language. | | MACEDONIAN | The macedonian language. | | BULGARIAN | The bulgarian language. | | UKRAINIAN | The ukrainian language. | | BYELORUSSIAN | The byelorussian language. | | UZBEK | The uzbek language. | | KAZAKH | The kazakh language. | | AZERBAIJANI_CYRILLIC | The azerbaijani cyrillic language. | | AZERBAIJANI_ARABIC | The azerbaijani arabic language. | | ARMENIAN | The armenian language. | | GEORGIAN | The georgian language. | | MOLDAVIAN | The moldavian language. | | KIRGHIZ | The kirghiz language. | | TAJIKI | The tajiki language. | | TURKMEN | The turkmen language. | | MONGOLIAN_MONGOLIAN | The mongolian mongolian language. | | MONGOLIAN_CYRILLIC | The mongolian cyrillic language. | | PASHTO | The pashto language. | | KURDISH | The kurdish language. | | KASHMIRI | The kashmiri language. | | SINDHI | The sindhi language. | | TIBETAN | The tibetan language. | | NEPALI | The nepali language. | | SANSKRIT | The sanskrit language. | | MARATHI | The marathi language. | | BENGALI | The bengali language. | | ASSAMESE | The assamese language. | | GUJARATI | The gujarati language. | | PUNJABI | The punjabi language. | | ORIYA | The oriya language. | | MALAYALAM | The malayalam language. | | KANNADA | The kannada language. | | TAMIL | The tamil language. | | TELUGU | The telugu language. | | SINHALESE | The sinhalese language. | | BURMESE | The burmese language. | | KHMER | The khmer language. | | LAO | The lao language. | | VIETNAMESE | The vietnamese language. | | INDONESIAN | The indonesian language. | | TAGALOG | The tagalog language. | | MALAY_ROMAN | The malay roman language. | | MALAY_ARABIC | The malay arabic language. | | AMHARIC | The amharic language. | | TIGRINYA | The tigrinya language. | | GALLA | The galla language. | | SOMALI | The somali language. | | SWAHILI | The swahili language. | | KINYARWANDA_OR_RUANDA | The kinyarwanda or ruanda language. | | RUNDI | The rundi language. | | NYANJA_OR_CHEWA | The nyanja or chewa language. | | MALAGASY | The malagasy language. | | ESPERANTO | The esperanto language. | | WELSH | The welsh language. | | BASQUE | The basque language. | | CATALAN | The catalan language. | | LATIN | The latin language. | | QUECHUA | The quechua language. | | GUARANI | The guarani language. | | AYMARA | The aymara language. | | TATAR | The tatar language. | | UIGHUR | The uighur language. | | DZONGKHA | The dzongkha language. | | JAVANESE_ROMAN | The javanese roman language. | | SUNDANESE_ROMAN | The sundanese roman language. | | GALICIAN | The galician language. | | AFRIKAANS | The afrikaans language. | | BRETON | The breton language. | | INUKTITUT | The inuktitut language. | | SCOTTISH_GAELIC | The scottish gaelic language. | | MANX_GAELIC | The manx gaelic language. | | IRISH_GAELIC_WITH_DOT_ABOVE | The irish gaelic with dot above language. | | TONGAN | The tongan language. | | GREEK_POLYTONIC | The greek polytonic language. | | GREENLANDIC | The greenlandic language. | | AZERBAIJANI_ROMAN | The azerbaijani roman language. | ### OpenTypeMacintoshNameRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord.md #### OpenTypeMacintoshNameRecord class Represents the Name record table value for the `OpenTypePlatform.MACINTOSH` platform. **Inheritance:** `OpenTypeMacintoshNameRecord` → `OpenTypeBaseNameRecord` → `CustomPackage` → `MetadataPackage` The OpenTypeMacintoshNameRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name_id | Gets the name identifier. | | platform | Gets the platform identifier. | | value | Gets the string value of record. | | encoding | Gets the encoding identifier. | | language | Gets the language identifier. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/encoding.md #### encoding property Gets the encoding identifier. ##### Definition: ```python @property def encoding(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/language.md #### language property Gets the language identifier. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/name_id.md #### name_id property Gets the name identifier. ##### Definition: ```python @property def name_id(self): ... ``` ### platform property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/platform.md #### platform property Gets the platform identifier. ##### Definition: ```python @property def platform(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypemacintoshnamerecord/value.md #### value property Gets the string value of record. ##### Definition: ```python @property def value(self): ... ``` ### OpenTypeName enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypename.md #### OpenTypeName enumeration Defines pre-defined IDs, they apply to all platforms unless indicated otherwise. The OpenTypeName type exposes the following members: ##### Fields | Field | Description | | :- | :- | | COPYRIGHT_NOTICE | Copyright notice. | | FONT_FAMILY_NAME | Font Family name. | | FONT_SUBFAMILY_NAME | Font Subfamily name. | | UNIQUE_FONT_IDENTIFIER | Unique font identifier. | | FULL_FONT_NAME | Full font name that reflects all family and relevant subfamily descriptors. | | VERSION_STRING | Version string. | | POST_SCRIPT_NAME | PostScript name for the font. | | TRADEMARK | Trademark notice/information for this font. | | MANUFACTURER_NAME | Manufacturer Name. | | DESIGNER | Designer; name of the designer of the typeface. | | DESCRIPTION | Description of the typeface. | | URL_VENDOR | URL of font vendor (with protocol, e.g., http://, ftp://). | | URL_DESIGNER | URL of typeface designer (with protocol, e.g., http://, ftp://). | | LICENSE_DESCRIPTION | Description of how the font may be legally used, or different example scenarios for licensed use. | | LICENSE_INFO_URL | URL where additional licensing information can be found. | | TYPOGRAPHIC_FAMILY | Typographic Family name. | | TYPOGRAPHIC_SUBFAMILY | Typographic Subfamily name. | | COMPATIBLE_FULL | Compatible Full (Macintosh only).
On the Macintosh, the menu name is constructed using the FOND resource. | | SAMPLE_TEXT | Sample text.
This can be the font name, or any other text that the designer thinks is the best sample to display the font in. | | POST_SCRIPT_CID_FINDFONT | PostScript CID findfont name. | | WWS_FAMILY_NAME | WWS Family Name. | | WWS_SUBFAMILY_NAME | WWS Subfamily Name. | | LIGHT_BACKGROUND_PALETTE | Light Background Palette. | | DARK_BACKGROUND_PALETTE | Dark Background Palette. | | VARIATIONS_POST_SCRIPT_NAME_PREFIX | Variations PostScript Name Prefix. | ### OpenTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage.md #### OpenTypePackage class Represents an OpenType font metadata package. **Inheritance:** `OpenTypePackage` → `CustomPackage` → `MetadataPackage` The OpenTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | fonts | Gets an array of the fonts extracted from the file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### fonts property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/fonts.md #### fonts property Gets an array of the fonts extracted from the file. ##### Definition: ```python @property def fonts(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### OpenTypePlatform enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeplatform.md #### OpenTypePlatform enumeration Represents OpenType platform for Name table. The OpenTypePlatform type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNICODE | The Unicode platform. | | MACINTOSH | The Macintosh platform. | | ISO | The ISO [deprecated] platform. | | WINDOWS | The Windows platform. | | CUSTOM | The Custom platform. | ### OpenTypeRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage.md #### OpenTypeRootPackage class Represents the root package allowing working with metadata in an OpenType font file. **Inheritance:** `OpenTypeRootPackage` → `RootMetadataPackage` → `MetadataPackage` The OpenTypeRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | open_type_package | Gets the OpenType metadata package. | | digital_signature_package | Gets the digital signature metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_signature_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/digital_signature_package.md #### digital_signature_package property Gets the digital signature metadata package. ##### Remarks **Learn more** | | | ##### Example This code snippet demonstrates how to extract digital signatures associated with an OpenType font. ##### Definition: ```python @property def digital_signature_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### open_type_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/open_type_package.md #### open_type_package property Gets the OpenType metadata package. ##### Remarks **Learn more** | | | ##### Example This example shows how to read OpenType font metadata. ##### Definition: ```python @property def open_type_package(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentyperootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### OpenTypeStyles enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypestyles.md #### OpenTypeStyles enumeration Represents the OpenType font style. The OpenTypeStyles type exposes the following members: ##### Fields | Field | Description | | :- | :- | | REGULAR | Normal text. | | BOLD | Bold text. | | ITALIC | Italic text. | | UNDERLINE | Underlined text. | | OUTLINE | Outline text. | | SHADOW | Shadow text. | | CONDENSED | Condensed text. | | EXTENDED | Extended text. | ### OpenTypeUnicodeEncoding enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodeencoding.md #### OpenTypeUnicodeEncoding enumeration Represents encoding for `OpenTypePlatform.UNICODE` platform. The OpenTypeUnicodeEncoding type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNICODE10 | Unicode 1.0 semantics. | | UNICODE11 | Unicode 1.1 semantics. | | ISO | ISO/IEC 10646 semantics. | | UNICODE_20_BMP | Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6). | | UNICODE_20_FULL | Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12). | | UNICODE_VARIATION | Unicode Variation Sequences ('cmap' subtable format 14). | | UNICODE_FULL | Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13). | ### OpenTypeUnicodeNameRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord.md #### OpenTypeUnicodeNameRecord class Represents the Name record table value for the `OpenTypePlatform.UNICODE` platform. **Inheritance:** `OpenTypeUnicodeNameRecord` → `OpenTypeBaseNameRecord` → `CustomPackage` → `MetadataPackage` The OpenTypeUnicodeNameRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name_id | Gets the name identifier. | | platform | Gets the platform identifier. | | value | Gets the string value of record. | | encoding | Gets the encoding identifier. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/encoding.md #### encoding property Gets the encoding identifier. ##### Definition: ```python @property def encoding(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/name_id.md #### name_id property Gets the name identifier. ##### Definition: ```python @property def name_id(self): ... ``` ### platform property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/platform.md #### platform property Gets the platform identifier. ##### Definition: ```python @property def platform(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeunicodenamerecord/value.md #### value property Gets the string value of record. ##### Definition: ```python @property def value(self): ... ``` ### OpenTypeVersion enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeversion.md #### OpenTypeVersion enumeration Represents the OpenType version. The OpenTypeVersion type exposes the following members: ##### Fields | Field | Description | | :- | :- | | TRUE_TYPE | The TrueType font. | | CFF | The OpenType font with PostScript outlines. | | TRUE_TYPE_OS_X | The OS X and iOS TrueType font. | ### OpenTypeWeight enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypeweight.md #### OpenTypeWeight enumeration Represents the OpenType font weight. Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the font. Values from 1 to 1000 are valid. The OpenTypeWeight type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | The undefined weight. | | THIN | The Thin weight. | | EXTRA_LIGHT | The Extra-light (Ultra-light) weight. | | LIGHT | The Light weight. | | NORMAL | The Normal (Regular) weight. | | MEDIUM | The Medium weight. | | SEMI_BOLD | The Semi-bold (Demi-bold) weight. | | BOLD | The Bold weight. | | EXTRA_BOLD | The Extra-bold (Ultra-bold) weight. | | HEAVY | The Black (Heavy) weight. | ### OpenTypeWidth enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewidth.md #### OpenTypeWidth enumeration Represents the OpenType font width. Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a font. The OpenTypeWidth type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | The undefined wifth. | | ULTRA_CONDENSED | The Ultra-condensed wifth. | | EXTRA_CONDENSED | The Extra-condensed wifth. | | CONDENSED | The Condensed wifth. | | SEMI_CONDENSED | The Semi-condensed wifth. | | MEDIUM | The Medium (normal) wifth. | | SEMI_EXPANDED | The Semi-expanded wifth. | | EXPANDED | The Expanded wifth. | | EXTRA_EXPANDED | The Extra-expanded wifth. | | ULTRA_EXPANDED | The Ultra-expanded wifth. | ### OpenTypeWindowsEncoding enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsencoding.md #### OpenTypeWindowsEncoding enumeration Represents encoding for the `OpenTypePlatform.WINDOWS` platform. The OpenTypeWindowsEncoding type exposes the following members: ##### Fields | Field | Description | | :- | :- | | SYMBOL | The Symbol encoding. | | UNICODE_BMP | The Unicode BMP encoding. | | SHIFT_JIS | The ShiftJIS encoding. | | PRC | The PRC encoding. | | BIG5 | The Big5 encoding. | | WANSUNG | The Wansung encoding. | | JOHAB | The Johab encoding. | | UNICODE_FULL | The Unicode full repertoire encoding. | ### OpenTypeWindowsLanguage enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowslanguage.md #### OpenTypeWindowsLanguage enumeration Represents language for `OpenTypePlatform.WINDOWS` platform. The OpenTypeWindowsLanguage type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | The unknown language. | | AFRIKAANS_SOUTH_AFRICA | The afrikaans south africa language. | | ALBANIAN_ALBANIA | The albanian Albania language. | | ALSATIAN_FRANCE | The alsatian France language. | | AMHARIC_ETHIOPIA | The amharic Rthiopia language. | | ARABIC_ALGERIA | The arabic Algeria language. | | ARABIC_BAHRAIN | The arabic Bahrain language. | | ARABIC_EGYPT | The arabic Egypt language. | | ARABIC_IRAQ | The arabic Iraq language. | | ARABIC_JORDAN | The arabic Jordan language. | | ARABIC_KUWAIT | The arabic Kuwait language. | | ARABIC_LEBANON | The arabic Lebanon language. | | ARABIC_LIBYA | The arabic Libya language. | | ARABIC_MOROCCO | The arabic Morocco language. | | ARABIC_OMAN | The arabic Oman language. | | ARABIC_QATAR | The arabic Qatar language. | | ARABIC_SAUDI_ARABIA | The arabic Saudi Arabia language. | | ARABIC_SYRIA | The arabic Syria language. | | ARABIC_TUNISIA | The arabic Tunisia language. | | ARABIC_UAE | The arabic UAE language. | | ARABIC_YEMEN | The arabic Yemen language. | | ARMENIAN_ARMENIA | The armenian Armenia language. | | ASSAMESE_INDIA | The assamese India language. | | AZERI_CYRILLIC_AZERBAIJAN | The azeri cyrillic Azerbaijan language. | | AZERI_LATIN_AZERBAIJAN | The azeri latin Azerbaijan language. | | BASHKIR_RUSSIA | The bashkir Russia language. | | BASQUE_BASQUE | The basque Basque language. | | BELARUSIAN_BELARUS | The belarusian Belarus language. | | BENGALI_BANGLADESH | The bengali Bangladesh language. | | BENGALI_INDIA | The bengali India language. | | BOSNIAN_LATIN_BOSNIA_AND_HERZEGOVINA | The bosnian latin Bosnia and Herzegovina language. | | BRETON_FRANCE | The breton France language. | | BULGARIAN_BULGARIA | The bulgarian Bulgaria language. | | CATALAN_CATALAN | The catalan Catalan language. | | CHINESE_HONG_KONG_SAR | The chinese Hong Kong SAR language. | | CHINESE_MACAO_SAR | The chinese Macao SAR language. | | CHINESE_PEOPLES_REPUBLIC_OF_CHINA | The chinese Peoples Republic of China language. | | CHINESE_SINGAPORE | The chinese Singapore language. | | CHINESE_TAIWAN | The chinese Taiwan language. | | CORSICAN_FRANCE | The corsican France language. | | CROATIAN_CROATIA | The croatian Croatia language. | | CROATIAN_LATIN_BOSNIA_AND_HERZEGOVINA | The croatian latin Bosnia and Herzegovina language. | | CZECH_CZECH_REPUBLIC | The czech Czech Republic language. | | DANISH_DENMARK | The danish Denmark language. | | DARI_AFGHANISTAN | The dari Afghanistan language. | | DIVEHI_MALDIVES | The divehi Maldives language. | | DUTCH_BELGIUM | The dutch Belgium language. | | DUTCH_NETHERLANDS | The dutch Netherlands language. | | ENGLISH_AUSTRALIA | The english Australia language. | | ENGLISH_BELIZE | The english Belize language. | | ENGLISH_CANADA | The english Canada language. | | ENGLISH_CARIBBEAN | The english Caribbean language. | | ENGLISH_INDIA | The english India language. | | ENGLISH_IRELAND | The english Ireland language. | | ENGLISH_JAMAICA | The english Jamaica language. | | ENGLISH_MALAYSIA | The english Malaysia language. | | ENGLISH_NEW_ZEALAND | The english New Zealand language. | | ENGLISH_REPUBLIC_OF_THE_PHILIPPINES | The english Republic of the Philippines language. | | ENGLISH_SINGAPORE | The english Singapore language. | | ENGLISH_SOUTH_AFRICA | The english south africa language. | | ENGLISH_TRINIDAD_AND_TOBAGO | The english Trinidad and Tobago language. | | ENGLISH_UNITED_KINGDOM | The english United Kingdom language. | | ENGLISH_UNITED_STATES | The english United States language. | | ENGLISH_ZIMBABWE | The english Zimbabwe language. | | ESTONIAN_ESTONIA | The estonian Estonia language. | | FAROESE_FAROE_ISLANDS | The faroese Faroe Islands language. | | FILIPINO_PHILIPPINES | The filipino Philippines language. | | FINNISH_FINLAND | The finnish Finland language. | | FRENCH_BELGIUM | The french Belgium language. | | FRENCH_CANADA | The french Canada language. | | FRENCH_FRANCE | The french France language. | | FRENCH_LUXEMBOURG | The french Luxembourg language. | | FRENCH_PRINCIPALITY_OF_MONACO | The french Principality of Monaco language. | | FRENCH_SWITZERLAND | The french Switzerland language. | | FRISIAN_NETHERLANDS | The frisian Netherlands language. | | GALICIAN_GALICIAN | The galician Galician language. | | GEORGIAN_GEORGIA | The georgian Georgia language. | | GERMAN_AUSTRIA | The german Austria language. | | GERMAN_GERMANY | The german Germany language. | | GERMAN_LIECHTENSTEIN | The german Liechtenstein language. | | GERMAN_LUXEMBOURG | The german Luxembourg language. | | GERMAN_SWITZERLAND | The german Switzerland language. | | GREEK_GREECE | The greek Greece language. | | GREENLANDIC_GREENLAND | The greenlandic Greenland language. | | GUJARATI_INDIA | The gujarati India language. | | HAUSA_LATIN_NIGERIA | The hausa latin Nigeria language. | | HEBREW_ISRAEL | The hebrew Israel language. | | HINDI_INDIA | The hindi India language. | | HUNGARIAN_HUNGARY | The hungarian Hungary language. | | ICELANDIC_ICELAND | The icelandic Iceland language. | | IGBO_NIGERIA | The igbo Nigeria language. | | INDONESIAN_INDONESIA | The indonesian Indonesia language. | | INUKTITUT_CANADA | The inuktitut Canada language. | | INUKTITUT_LATIN_CANADA | The inuktitut latin Canada language. | | IRISH_IRELAND | The irish Ireland language. | | ISI_XHOSA_SOUTH_AFRICA | The isi xhosa South Africa language. | | ISI_ZULU_SOUTH_AFRICA | The isi zulu South Africa language. | | ITALIAN_ITALY | The italian Italy language. | | ITALIAN_SWITZERLAND | The italian Switzerland language. | | JAPANESE_JAPAN | The japanese Japan language. | | KANNADA_INDIA | The kannada India language. | | KAZAKH_KAZAKHSTAN | The kazakh Kazakhstan language. | | KHMER_CAMBODIA | The khmer Cambodia language. | | KICHE_GUATEMALA | The kiche Guatemala language. | | KINYARWANDA_RWANDA | The kinyarwanda Rwanda language. | | KISWAHILI_KENYA | The kiswahili Kenya language. | | KONKANI_INDIA | The konkani India language. | | KOREAN_KOREA | The korean Korea language. | | KYRGYZ_KYRGYZSTAN | The kyrgyz Kyrgyzstan language. | | LAO_LAO_PDR | The lao lao PDR language. | | LATVIAN_LATVIA | The latvian Latvia language. | | LITHUANIAN_LITHUANIA | The lithuanian Lithuania language. | | LOWER_SORBIAN_GERMANY | The lower sorbian Germany language. | | LUXEMBOURGISH_LUXEMBOURG | The luxembourgish Luxembourg language. | | MACEDONIAN_FYROM_FORMER_YUGOSLAV_REPUBLIC_OF_MACEDONIA | The macedonian fyrom former Yugoslav Republic of Macedonia language. | | MALAY_BRUNEI_DARUSSALAM | The malay brunei Darussalam language. | | MALAY_MALAYSIA | The malay Malaysia language. | | MALAYALAM_INDIA | The malayalam India language. | | MALTESE_MALTA | The maltese Malta language. | | MAORI_NEW_ZEALAND | The maori New Zealand language. | | MAPUDUNGUN_CHILE | The mapudungun Chile language. | | MARATHI_INDIA | The marathi India language. | | MOHAWK_MOHAWK | The mohawk Mohawk language. | | MONGOLIAN_CYRILLIC_MONGOLIA | The mongolian cyrillic Mongolia language. | | MONGOLIAN_TRADITIONAL_PEOPLES_REPUBLIC_OF_CHINA | The mongolian traditional Peoples Republic of China language. | | NEPALI_NEPAL | The nepali Nepal language. | | NORWEGIAN_BOKMAL_NORWAY | The norwegian bokmal Norway language. | | NORWEGIAN_NYNORSK_NORWAY | The norwegian nynorsk Norway language. | | OCCITAN_FRANCE | The occitan France language. | | ODIA_FORMERLY_ORIYA_INDIA | The odia formerly oriya India language. | | PASHTO_AFGHANISTAN | The pashto Afghanistan language. | | POLISH_POLAND | The polish Poland language. | | PORTUGUESE_BRAZIL | The portuguese Brazil language. | | PORTUGUESE_PORTUGAL | The portuguese Portugal language. | | PUNJABI_INDIA | The punjabi India language. | | QUECHUA_BOLIVIA | The quechua Bolivia language. | | QUECHUA_ECUADOR | The quechua Ecuador language. | | QUECHUA_PERU | The quechua Peru language. | | ROMANIAN_ROMANIA | The romanian Romania language. | | ROMANSH_SWITZERLAND | The romansh Switzerland language. | | RUSSIAN_RUSSIA | The russian Russia language. | | SAMI_INARI_FINLAND | The sami inari Finland language. | | SAMI_LULE_NORWAY | The sami lule Norway language. | | SAMI_LULE_SWEDEN | The sami lule Sweden language. | | SAMI_NORTHERN_FINLAND | The sami northern Finland language. | | SAMI_NORTHERN_NORWAY | The sami northern Norway language. | | SAMI_NORTHERN_SWEDEN | The sami northern Sweden language. | | SAMI_SKOLT_FINLAND | The sami skolt Finland language. | | SAMI_SOUTHERN_NORWAY | The sami southern Norway language. | | SAMI_SOUTHERN_SWEDEN | The sami southern Sweden language. | | SANSKRIT_INDIA | The sanskrit India language. | | SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA | The serbian cyrillic Bosnia and Herzegovina language. | | SERBIAN_CYRILLIC_SERBIA | The serbian cyrillic Serbia language. | | SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA | The serbian latin Bosnia and Herzegovina language. | | SERBIAN_LATIN_SERBIA | The serbian latin Serbia language. | | SESOTHO_SA_LEBOA_SOUTH_AFRICA | The sesotho sa leboa South Africa language. | | SETSWANA_SOUTH_AFRICA | The setswana South Africa language. | | SINHALA_SRI_LANKA | The sinhala Sri Lanka language. | | SLOVAK_SLOVAKIA | The slovak Slovakia language. | | SLOVENIAN_SLOVENIA | The slovenian Slovenia language. | | SPANISH_ARGENTINA | The spanish Argentina language. | | SPANISH_BOLIVIA | The spanish Bolivia language. | | SPANISH_CHILE | The spanish Chile language. | | SPANISH_COLOMBIA | The spanish Colombia language. | | SPANISH_COSTA_RICA | The spanish Costa Rica language. | | SPANISH_DOMINICAN_REPUBLIC | The spanish Dominican Republic language. | | SPANISH_ECUADOR | The spanish Ecuador language. | | SPANISH_EL_SALVADOR | The spanish El Salvador language. | | SPANISH_GUATEMALA | The spanish Guatemala language. | | SPANISH_HONDURAS | The spanish Honduras language. | | SPANISH_MEXICO | The spanish Mexico language. | | SPANISH_NICARAGUA | The spanish Nicaragua language. | | SPANISH_PANAMA | The spanish Panama language. | | SPANISH_PARAGUAY | The spanish Paraguay language. | | SPANISH_PERU | The spanish Peru language. | | SPANISH_PUERTO_RICO | The spanish Puerto Rico language. | | SPANISH_MODERN_SORT_SPAIN | The spanish modern sort Spain language. | | SPANISH_TRADITIONAL_SORT_SPAIN | The spanish traditional sort Spain language. | | SPANISH_UNITED_STATES | The spanish United States language. | | SPANISH_URUGUAY | The spanish Uruguay language. | | SPANISH_VENEZUELA | The spanish Venezuela language. | | SWEDEN_FINLAND | The sweden Finland language. | | SWEDISH_SWEDEN | The swedish Sweden language. | | SYRIAC_SYRIA | The syriac Syria language. | | TAJIK_CYRILLIC_TAJIKISTAN | The tajik cyrillic tajikistan language. | | TAMAZIGHT_LATIN_ALGERIA | The tamazight latin Algeria language. | | TAMIL_INDIA | The tamil India language. | | TATAR_RUSSIA | The tatar Russia language. | | TELUGU_INDIA | The telugu India language. | | THAI_THAILAND | The thai Thailand language. | | TIBETAN_PRC | The tibetan PRC language. | | TURKISH_TURKEY | The turkish Turkey language. | | TURKMEN_TURKMENISTAN | The turkmen Turkmenistan language. | | UIGHUR_PRC | The uighur PRC language. | | UKRAINIAN_UKRAINE | The ukrainian Ukraine language. | | UPPER_SORBIAN_GERMANY | The upper sorbian Germany language. | | URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN | The urdu Islamic Republic of Pakistan language. | | UZBEK_CYRILLIC_UZBEKISTAN | The uzbek cyrillic Uzbekistan language. | | UZBEK_LATIN_UZBEKISTAN | The uzbek latin Uzbekistan language. | | VIETNAMESE_VIETNAM | The vietnamese Vietnam language. | | WELSH_UNITED_KINGDOM | The welsh United Kingdom language. | | WOLOF_SENEGAL | The wolof Senegal language. | | YAKUT_RUSSIA | The yakut Russia language. | | YI_PRC | The yi PRC language. | | YORUBA_NIGERIA | The yoruba Nigeria language. | ### OpenTypeWindowsNameRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord.md #### OpenTypeWindowsNameRecord class Represents the Name record table value for `OpenTypePlatform.WINDOWS` platform. **Inheritance:** `OpenTypeWindowsNameRecord` → `OpenTypeBaseNameRecord` → `CustomPackage` → `MetadataPackage` The OpenTypeWindowsNameRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name_id | Gets the name identifier. | | platform | Gets the platform identifier. | | value | Gets the string value of record. | | encoding | Gets the encoding identifier. | | language | Gets the language identifier. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### encoding property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/encoding.md #### encoding property Gets the encoding identifier. ##### Definition: ```python @property def encoding(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/language.md #### language property Gets the language identifier. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/name_id.md #### name_id property Gets the name identifier. ##### Definition: ```python @property def name_id(self): ... ``` ### platform property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/platform.md #### platform property Gets the platform identifier. ##### Definition: ```python @property def platform(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.font/opentypewindowsnamerecord/value.md #### value property Gets the string value of record. ##### Definition: ```python @property def value(self): ... ``` ### groupdocs.metadata.formats.gis Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis.md ##### Classes | Class | Description | | :- | :- | | `GisAttribute` | Represents metadata associated with layer. | | `GisFeature` | Represents metadata associated with feature. | | `GisPackage` | Represents gis metadata. | | `GisRootPackage` | Represents gis metadata. | ##### Enumerations | Enumeration | Description | | :- | :- | | `GisFormat` | Defines various gis subformats. | ### GisAttribute class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute.md #### GisAttribute class Represents metadata associated with layer. **Inheritance:** `GisAttribute` → `CustomPackage` → `MetadataPackage` The GisAttribute type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the attribute name. | | value | Gets the attribute value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/name.md #### name property Gets the attribute name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisattribute/value.md #### value property Gets the attribute value. ##### Definition: ```python @property def value(self): ... ``` ### GisFeature class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature.md #### GisFeature class Represents metadata associated with feature. **Inheritance:** `GisFeature` → `CustomPackage` → `MetadataPackage` The GisFeature type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | attributes | Gets an array of `GisAttribute`. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### attributes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/attributes.md #### attributes property Gets an array of `GisAttribute`. ##### Definition: ```python @property def attributes(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisfeature/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### GisFormat enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisformat.md #### GisFormat enumeration Defines various gis subformats. The GisFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN | The format is not recognized. | | SHP | Shp file. | | GEO_JSON | GeoJson file. | | TOPO_JSON | TopoJson file. | | GML | Gml file. | | OSM | Osm file. | | KML | Kml file. | | GPX | Gpx file. | ### GisPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage.md #### GisPackage class Represents gis metadata. **Inheritance:** `GisPackage` → `CustomPackage` → `MetadataPackage` The GisPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | features | Gets an array of `GisFeature`. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Example The following code snippet shows how to get metadata from a gis file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### features property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/features.md #### features property Gets an array of `GisFeature`. ##### Definition: ```python @property def features(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gispackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### GisRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage.md #### GisRootPackage class Represents gis metadata. **Inheritance:** `GisRootPackage` → `RootMetadataPackage` → `MetadataPackage` The GisRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | gis_package | Gets the Gis metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Example The following code snippet shows how to get metadata from a gis file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### gis_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/gis_package.md #### gis_package property Gets the Gis metadata package. ##### Definition: ```python @property def gis_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.gis/gisrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.image.dng Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng.md ##### Classes | Class | Description | | :- | :- | | `DngPackage` | Represents native DNG metadata. | | `DngRootPackage` | Represents the root package intended to work with metadata in a DNG image. | ### DngPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage.md #### DngPackage class Represents native DNG metadata. **Inheritance:** `DngPackage` → `CustomPackage` → `MetadataPackage` The DngPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Metadata` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | camera_manufacturer | Gets the camera manufacturer. | | colors_count | Gets the colors. | | description | Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). | | dng_version | Gets the DNG version. | | filters | Gets the Bit mask describing the order of color pixels in the matrix. | | is_foveon | Gets the is foveon matrix. | | model | Gets the camera model. | | raw_count | Gets the number of RAW images in file (0 means that the file has not been recognized). | | software | Gets the software. | | translation_cfa_dng | Gets the translation array for CFA mosaic DNG format. | | aperture | Gets the aperture. | | artist | Gets the author of image. | | focal_length | Gets the length of the focal. | | gps_data | Gets the GPS data. | | iso_speed | Gets the ISO sensitivity. | | shot_order | Gets serial number of image. | | shutter_speed | Gets the shutter speed. | | timestamp | Gets the date of shooting. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### DngPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Metadata` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### aperture property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/aperture.md #### aperture property Gets the aperture. ##### Definition: ```python @property def aperture(self): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/artist.md #### artist property Gets the author of image. ##### Definition: ```python @property def artist(self): ... ``` ### camera_manufacturer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/camera_manufacturer.md #### camera_manufacturer property Gets the camera manufacturer. ##### Definition: ```python @property def camera_manufacturer(self): ... ``` ### colors_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/colors_count.md #### colors_count property Gets the colors. ##### Definition: ```python @property def colors_count(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/description.md #### description property Gets the description of colors (RGBG,RGBE,GMCY, or GBTG). ##### Definition: ```python @property def description(self): ... ``` ### dng_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/dng_version.md #### dng_version property Gets the DNG version. ##### Definition: ```python @property def dng_version(self): ... ``` ### filters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/filters.md #### filters property Gets the Bit mask describing the order of color pixels in the matrix. ##### Definition: ```python @property def filters(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/focal_length.md #### focal_length property Gets the length of the focal. ##### Definition: ```python @property def focal_length(self): ... ``` ### gps_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/gps_data.md #### gps_data property Gets the GPS data. ##### Definition: ```python @property def gps_data(self): ... ``` ### is_foveon property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/is_foveon.md #### is_foveon property Gets the is foveon matrix. ##### Definition: ```python @property def is_foveon(self): ... ``` ### iso_speed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/iso_speed.md #### iso_speed property Gets the ISO sensitivity. ##### Definition: ```python @property def iso_speed(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### model property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/model.md #### model property Gets the camera model. ##### Definition: ```python @property def model(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/raw_count.md #### raw_count property Gets the number of RAW images in file (0 means that the file has not been recognized). ##### Definition: ```python @property def raw_count(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shot_order property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/shot_order.md #### shot_order property Gets serial number of image. ##### Definition: ```python @property def shot_order(self): ... ``` ### shutter_speed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/shutter_speed.md #### shutter_speed property Gets the shutter speed. ##### Definition: ```python @property def shutter_speed(self): ... ``` ### software property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/software.md #### software property Gets the software. ##### Definition: ```python @property def software(self): ... ``` ### timestamp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/timestamp.md #### timestamp property Gets the date of shooting. ##### Definition: ```python @property def timestamp(self): ... ``` ### translation_cfa_dng property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/translation_cfa_dng.md #### translation_cfa_dng property Gets the translation array for CFA mosaic DNG format. ##### Definition: ```python @property def translation_cfa_dng(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DngRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage.md #### DngRootPackage class Represents the root package intended to work with metadata in a DNG image. **Inheritance:** `DngRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The DngRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | dng_package | Gets the DNG header metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### dng_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/dng_package.md #### dng_package property Gets the DNG header metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def dng_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.dng/dngrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.image.svg Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg.md ##### Classes | Class | Description | | :- | :- | | `SvgPackage` | Represents a native metadata package in a SVG image file. | | `SvgRootPackage` | Represents a native metadata package in a SVG image file. | ### SvgPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage.md #### SvgPackage class Represents a native metadata package in a SVG image file. **Inheritance:** `SvgPackage` → `CustomPackage` → `MetadataPackage` The SvgPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `SvgPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | height | Gets the image height. | | width | Gets the image width. | | height_f | Gets the object height, in inches. | | width_f | Gets the object width, in inches. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to extract technical information from a SVG file. ### SvgPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `SvgPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/height.md #### height property Gets the image height. ##### Definition: ```python @property def height(self): ... ``` ### height_f property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/height_f.md #### height_f property Gets the object height, in inches. ##### Definition: ```python @property def height_f(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/width.md #### width property Gets the image width. ##### Definition: ```python @property def width(self): ... ``` ### width_f property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgpackage/width_f.md #### width_f property Gets the object width, in inches. ##### Definition: ```python @property def width_f(self): ... ``` ### SvgRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage.md #### SvgRootPackage class Represents a native metadata package in a SVG image file. **Inheritance:** `SvgRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The SvgRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | svg_package | Gets the Svg native metadata package. | | xmp_package | Gets or sets the XMP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to extract technical information from a SVG file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### svg_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/svg_package.md #### svg_package property Gets the Svg native metadata package. ##### Definition: ```python @property def svg_package(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.svg/svgrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### groupdocs.metadata.formats.image Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image.md The namespace provides functionality allowing users to read and update metadata stored in different image formats. ##### Classes | Class | Description | | :- | :- | | `BmpHeaderPackage` | Represents BMP header info. | | `BmpRootPackage` | Represents the root package intended to work with metadata in a BMP image. | | `DicomPackage` | Represents native DICOM metadata. | | `DicomRootPackage` | Represents the root package intended to work with metadata in a DICOM image. | | `DjVuRootPackage` | Represents the root package intended to work with metadata in an DjVu image. | | `EmfRootPackage` | Represents the root package intended to work with metadata in an EMF image. | | `GifImageTypePackage` | Represents a metadata package containing GIF-specific file format information. | | `GifRootPackage` | Represents the root package intended to work with metadata in a GIF image. | | `HeifRootPackage` | Represents the root package intended to work with metadata in a HEIF image. | | `ImageResourceBlock` | Represents a Photoshop Image Resource block.


Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF.
Image resources are used to store non-pixel data associated with images, such as pen tool paths. | | `ImageResourcePackage` | Represents a metadata package containing Photoshop Image Resources. | | `ImageRootPackage` | Provides a base abstract class for all image root packages. | | `ImageTypePackage` | Represents a metadata package containing image-specific file format information. | | `Jpeg2000Package` | Represents native JPEG2000 metadata. | | `Jpeg2000RootPackage` | Represents the root package intended to work with metadata in a JPEG2000 image. | | `JpegRootPackage` | Represents the root package allowing working with metadata in a JPEG image. | | `PngCompressedTextChunk` | Represents compressed textual data extracted from a PNG image. | | `PngInternationalTextChunk` | Represents international textual data extracted from a PNG image. | | `PngPackage` | Represents native PNG metadata. | | `PngRootPackage` | Represents the root package intended to work with metadata in a PNG image. | | `PngTextChunk` | Represents textual data extracted from a PNG image. | | `PsdLayer` | Represents a layer in a PSD file. | | `PsdPackage` | Represents native Photoshop metadata. | | `PsdRootPackage` | Represents the root package allowing working with metadata in a Photoshop Document. | | `RawDoubleTag` | Represents a Raw Double tag. | | `RawFloatTag` | Represents a Raw float tag. | | `RawRational` | Represents a rational number. | | `RawRationalTag` | Represents a Raw Rational tag. | | `RawSByteTag` | Represents a Raw SByte tag. | | `RawSLongTag` | Represents a Raw SLong tag. | | `RawSRational` | Represents signed rational number. | | `RawSRationalTag` | Represents a Raw SRational tag. | | `RawSShortTag` | Represents a Raw SShort tag. | | `RawTypePackage` | Represents a metadata package containing image-specific file format information. | | `RawUndefinedTag` | Represents a Raw tag with the Undefined type. | | `TiffAsciiTag` | Represents a TIFF ASCII tag. | | `TiffByteTag` | Represents a Byte tag. | | `TiffDoubleTag` | Represents a TIFF Double tag. | | `TiffFloatTag` | Represents a TIFF float tag. | | `TiffLongTag` | Represents a TIFF Long tag. | | `TiffRational` | Represents a rational number. | | `TiffRationalTag` | Represents a TIFF Rational tag. | | `TiffRootPackage` | Represents the root package allowing working with metadata in a TIFF image. | | `TiffSByteTag` | Represents a TIFF SByte tag. | | `TiffSLongTag` | Represents a TIFF SLong tag. | | `TiffSRational` | Represents signed rational number. | | `TiffSRationalTag` | Represents a TIFF SRational tag. | | `TiffSShortTag` | Represents a TIFF SShort tag. | | `TiffShortTag` | Represents a TIFF Short tag. | | `TiffTag` | Represents a TIFF tag. | | `TiffUndefinedTag` | Represents a TIFF tag with the Undefined type. | | `WebPRootPackage` | Represents the root package allowing working with metadata in a WEBP image. | | `WmfRootPackage` | Represents the root package intended to work with metadata in a WMF image. | ##### Enumerations | Enumeration | Description | | :- | :- | | `ImageResourceID` | Image resources standard ID numbers. Not all file formats use all ID's. Some information may be stored in other sections of the file. | | `PngCompressionMethod` | Defines compression methods used in the PNG format. | | `PsdColorMode` | Represents the psd file format color mode. | | `PsdCompressionMethod` | Defines the compression method used for image data. | | `PsdLayerFlags` | The Photoshop layer flags. | | `TiffTagID` | Defines ids of TIFF tags. | | `TiffTagType` | Represents the IFD data type. | ### BmpHeaderPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage.md #### BmpHeaderPackage class Represents BMP header info. **Inheritance:** `BmpHeaderPackage` → `CustomPackage` → `MetadataPackage` The BmpHeaderPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | header_size | Gets the size of the header in bytes. | | bits_per_pixel | Gets the bits per pixel value. | | image_size | Gets the bitmap raw data size in bytes. | | planes | Gets the number of planes. | | colors_important | Gets the number of important palette colors. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bits_per_pixel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/bits_per_pixel.md #### bits_per_pixel property Gets the bits per pixel value. ##### Definition: ```python @property def bits_per_pixel(self): ... ``` ### colors_important property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/colors_important.md #### colors_important property Gets the number of important palette colors. ##### Definition: ```python @property def colors_important(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### header_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/header_size.md #### header_size property Gets the size of the header in bytes. ##### Definition: ```python @property def header_size(self): ... ``` ### image_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/image_size.md #### image_size property Gets the bitmap raw data size in bytes. ##### Definition: ```python @property def image_size(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### planes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/planes.md #### planes property Gets the number of planes. ##### Definition: ```python @property def planes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmpheaderpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### BmpRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage.md #### BmpRootPackage class Represents the root package intended to work with metadata in a BMP image. **Inheritance:** `BmpRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The BmpRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | bmp_header | Gets the BMP header metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to read the header of a BMP file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bmp_header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/bmp_header.md #### bmp_header property Gets the BMP header metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def bmp_header(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/bmprootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DicomPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage.md #### DicomPackage class Represents native DICOM metadata. **Inheritance:** `DicomPackage` → `CustomPackage` → `MetadataPackage` The DicomPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Metadata` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | header_offset | Gets the header offset. | | header_bytes | Gets the header information by bytes. | | bits_allocated | Gets the bits allocated value. | | dicom_info | Gets the header information of the DICOM file. | | blues | Gets the array colors of the blue. | | greens | Gets the array colors of the green. | | reds | Gets the array colors of the red. | | number_of_frames | Gets the number of frames. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### DicomPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Metadata` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bits_allocated property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/bits_allocated.md #### bits_allocated property Gets the bits allocated value. ##### Definition: ```python @property def bits_allocated(self): ... ``` ### blues property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/blues.md #### blues property Gets the array colors of the blue. ##### Definition: ```python @property def blues(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### dicom_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/dicom_info.md #### dicom_info property Gets the header information of the DICOM file. ##### Definition: ```python @property def dicom_info(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### greens property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/greens.md #### greens property Gets the array colors of the green. ##### Definition: ```python @property def greens(self): ... ``` ### header_bytes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/header_bytes.md #### header_bytes property Gets the header information by bytes. ##### Definition: ```python @property def header_bytes(self): ... ``` ### header_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/header_offset.md #### header_offset property Gets the header offset. ##### Definition: ```python @property def header_offset(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### number_of_frames property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/number_of_frames.md #### number_of_frames property Gets the number of frames. ##### Definition: ```python @property def number_of_frames(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### reds property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/reds.md #### reds property Gets the array colors of the red. ##### Definition: ```python @property def reds(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicompackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DicomRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage.md #### DicomRootPackage class Represents the root package intended to work with metadata in a DICOM image. **Inheritance:** `DicomRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The DicomRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | dicom_package | Gets the DICOM native metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to read DICOM format-specific metadata properties. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### dicom_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/dicom_package.md #### dicom_package property Gets the DICOM native metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def dicom_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/dicomrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DjVuRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage.md #### DjVuRootPackage class Represents the root package intended to work with metadata in an DjVu image. **Inheritance:** `DjVuRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The DjVuRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/djvurootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### EmfRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage.md #### EmfRootPackage class Represents the root package intended to work with metadata in an EMF image. **Inheritance:** `EmfRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The EmfRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/emfrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### GifImageTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage.md #### GifImageTypePackage class Represents a metadata package containing GIF-specific file format information. **Inheritance:** `GifImageTypePackage` → `ImageTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The GifImageTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | width | Gets the image width. | | height | Gets the image height. | | byte_order | Gets the byte-order of the image.
Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. | | version | Gets the version of the format. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### byte_order property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/byte_order.md #### byte_order property Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. ##### Definition: ```python @property def byte_order(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/height.md #### height property Gets the image height. ##### Definition: ```python @property def height(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/version.md #### version property Gets the version of the format. ##### Definition: ```python @property def version(self): ... ``` ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifimagetypepackage/width.md #### width property Gets the image width. ##### Definition: ```python @property def width(self): ... ``` ### GifRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage.md #### GifRootPackage class Represents the root package intended to work with metadata in a GIF image. **Inheritance:** `GifRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The GifRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | is_xmp_supported | Gets a value indicating whether the XMP metadata is supported for this image. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code snippet shows how to detect the version of a loaded GIF image and extract some additional file format information. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### is_xmp_supported property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/is_xmp_supported.md #### is_xmp_supported property Gets a value indicating whether the XMP metadata is supported for this image. ##### Definition: ```python @property def is_xmp_supported(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/gifrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### HeifRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage.md #### HeifRootPackage class Represents the root package intended to work with metadata in a HEIF image. **Inheritance:** `HeifRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The HeifRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | exif_package | Gets or sets the EXIF metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/exif_package.md #### exif_package property Gets or sets the EXIF metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract basic EXIF metadata properties. ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/heifrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### ImageResourceBlock class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock.md #### ImageResourceBlock class Represents a Photoshop Image Resource block. Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF. Image resources are used to store non-pixel data associated with images, such as pen tool paths. **Inheritance:** `ImageResourceBlock` → `CustomPackage` → `MetadataPackage` The ImageResourceBlock type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | signature | Gets the image resource block signature. | | id | Gets the unique identifier for the resource. | | name | Gets the image resource block name. | | data | Gets the resource data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/data.md #### data property Gets the resource data. ##### Definition: ```python @property def data(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/id.md #### id property Gets the unique identifier for the resource. ##### Definition: ```python @property def id(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/name.md #### name property Gets the image resource block name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### signature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/signature.md #### signature property Gets the image resource block signature. ##### Definition: ```python @property def signature(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceblock/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ImageResourceID enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourceid.md #### ImageResourceID enumeration Image resources standard ID numbers. Not all file formats use all ID's. Some information may be stored in other sections of the file. The ImageResourceID type exposes the following members: ##### Fields | Field | Description | | :- | :- | | RESOLUTION_INFO | ResolutionInfo structure. See Appendix A in Photoshop API Guide PDF document. | | NAMES_OF_ALPHA_CHANNELS | Names of the alpha channels as a series of Pascal strings. | | CAPTION | The caption as a Pascal string. | | BORDER_INFORMATION | Border information.
Contains a fixed number (2 bytes real, 2 bytes fraction) for the border width,
and 2 bytes for border units (1 = inches, 2 = cm, 3 = points, 4 = picas, 5 = columns). | | BACKGROUND_COLOR | Background color. | | PRINT_FLAGS | Print flags.
A series of one-byte boolean values (see Page Setup dialog):
labels, crop marks, color bars, registration marks, negative, flip, interpolate, caption, print flags. | | GRAYSCALE | Grayscale and multichannel halftoning information. | | COLOR_HALFTONING | Color halftoning information. | | DUOTONE_HALFTONING | Duotone halftoning information. | | GRAYSCALE_FUNCTION | Grayscale and multichannel transfer function. | | COLOR_TRANSFER_FUNCTIONS | Color transfer functions. | | DUOTONE_TRANSFER_FUNCTIONS | Duotone transfer functions. | | DUOTONE_IMAGE_INFORMATION | Duotone image information. | | EPS_OPTIONS | EPS options. | | QUICK_MASK_INFORMATION | Quick Mask information. 2 bytes containing Quick Mask channel ID; 1- byte boolean indicating whether the mask was initially empty. | | LAYER_STATE_INFORMATION | Layer state information. 2 bytes containing the index of target layer (0 = bottom layer). | | WORKING_PATH | Working path (not saved). See See Path resource format. | | LAYERS_GROUP_INFORMATION | Layers group information.
2 bytes per layer containing a group ID for the dragging groups. Layers in a group have the same group ID. | | IPTC | IPTC-NAA record. Contains the File Info... information. See the documentation in the IPTC folder of the Documentation folder. | | IMAGE_MODE_FOR_RAW_FORMAT | Image mode for raw format files. | | JPEG_QUALITY | JPEG quality. Private. | | GRID_AND_GUIDES_INFO_PHOTOSHOP4 | Grid and guides information. | | THUMBNAIL_RESOURCE_PHOTOSHOP4 | Thumbnail resource for Photoshop 4.0 only. | | COPYRIGHT_FLAG_PHOTOSHOP4 | Copyright flag. Boolean indicating whether image is copyrighted. Can be set via Property suite or by user in File Info... | | URL_PHOTOSHOP4 | URL. Handle of a text string with uniform resource locator. Can be set via Property suite or by user in File Info... | | THUMBNAIL_RESOURCE_PHOTOSHOP5 | Thumbnail resource (supersedes resource 1033). See See Thumbnail resource format. | | GLOBAL_ANGLE_PHOTOSHOP5 | Global Angle.
4 bytes that contain an integer between 0 and 359, which is the global lighting angle for effects layer. If not present, assumed to be 30. | | ICC_PROFILE_PHOTOSHOP5 | (Photoshop 5.0) ICC Profile.
The raw bytes of an ICC (International Color Consortium) format profile. See ICC1v42_2006-05.pdf in the Documentation folder and icProfileHeader.h in Sample Code\Common\Includes. | | WATERMARK_PHOTOSHOP5 | Watermark. One byte. | | ICC_UNTAGGED_PROFILE_PHOTOSHOP5 | ICC Untagged Profile. 1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged. | | TRANSPARENCY_INDEX_PHOTOSHOP6 | Transparency Index. 2 bytes for the index of transparent color, if any. | | GLOBAL_ALTITUDE_PHOTOSHOP6 | Global Altitude. 4 byte entry for altitude. | | SLICES_PHOTOSHOP6 | Slices (Photoshop 6). | | WORKFLOW_URL_PHOTOSHOP6 | Workflow URL. Unicode string. Photoshop 6. | | ALPHA_IDENTIFIERS_PHOTOSHOP6 | Alpha Identifiers. 4 bytes of length, followed by 4 bytes each for every alpha identifier. | | URL_LIST_PHOTOSHOP6 | URL InternalList. 4 byte count of URLs, followed by 4 byte long, 4 byte ID, and Unicode string for each count. | | VERSION_INFO_PHOTOSHOP6 | Version Info. 4 bytes version, 1 byte hasRealMergedData , Unicode string: writer name, Unicode string: reader name, 4 bytes file version. | | EXIF_DATA_1_PHOTOSHOP_7 | EXIF data 1 | | EXIF_DATA_3_PHOTOSHOP_7 | ExifData3Photoshop7 | | XMP_PHOTOSHOP7 | XMP metadata. File info as XML description. | | CAPTION_DIGEST_PHOTOSHOP7 | Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm. | | PRINT_SCALE_PHOTOSHOP7 | Print scale. 2 bytes style (0 = centered, 1 = size to fit, 2 = user defined).
4 bytes x location (floating point).
4 bytes y location (floating point).
4 bytes scale (floating point). | | PIXEL_ASPECT_RATIO | Pixel Aspect Ratio. 4 bytes (version = 1 or 2), 8 bytes double, x / y of a pixel.
Version 2, attempting to correct values for NTSC and PAL, previously off by a factor of approx. 5%. | | LAYER_COMPS | Layer Comps. 4 bytes (descriptor version = 16), Descriptor. | | LAYER_SELECTION_IDS | Layer Selection ID(s).
2 bytes count, following is repeated for each count: 4 bytes layer ID. | | PRINT_INFO_CS2 | Print info (Photoshop CS2). | | LAYER_GROUP_ENABLED_ID_CS2 | Layer Group(s) Enabled ID.
1 byte for each layer in the document, repeated by length of the resource.
NOTE: Layer groups have start and end markers (Photoshop CS2). | | COLOR_SAMPLERS_RESOURCE_CS3 | Color samplers resource. Also see ID 1038 for old format. | | MEASUREMENT_SCALE_CS3 | Measurement Scale. 4 bytes (descriptor version = 16), Descriptor. | | TIMELINE_INFORMATION_CS3 | Timeline Information. 4 bytes (descriptor version = 16), Descriptor. | | SHEET_DISCLOSURE_CS3 | Sheet Disclosure. 4 bytes (descriptor version = 16), Descriptor. | | PRINT_INFORMATION_CS5 | Print Information (Photoshop CS5). | | PRINT_STYLE_CS5 | Print Style (Photoshop CS5). | | MACINTOSH_NS_PRINT_INFO_CS5 | Macintosh NSPrintInfo.
Variable OS specific info for Macintosh. NSPrintInfo.
It is recommended that you do not interpret or use this data. (Photoshop CS5). | | WINDOWS_DEVMODE_CS5 | Windows DEVMODE.
Variable OS specific info for Windows. DEVMODE.
It is recommended that you do not interpret or use this data. (Photoshop CS5). | | AUTO_SAVE_FILE_PATH_CS6 | Auto Save File Path. Unicode string. (Photoshop CS6). | | AUTO_SAVE_FORMAT_CS6 | Auto Save Format. Unicode string. (Photoshop CS6). | | PATH_SELECTION_STATE_CC | Path Selection State. (Photoshop CC). | | IMAGE_READY_VARIABLES | Image Ready variables. XML representation of variables definition. | | IMAGE_READY_DATASETS | Image Ready data sets. | | PRINT_FLAGS_INFORMATION | Print flags information.
2 bytes version ( = 1),
1 byte center crop marks,
1 byte ( = 0), 4 bytes bleed width value, 2 bytes bleed width scale. | ### ImageResourcePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage.md #### ImageResourcePackage class Represents a metadata package containing Photoshop Image Resources. **Inheritance:** `ImageResourcePackage` → `CustomPackage` → `MetadataPackage` The ImageResourcePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Image Resource Blocks from the package. ```python def to_list(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imageresourcepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ImageRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage.md #### ImageRootPackage class Provides a base abstract class for all image root packages. **Inheritance:** `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The ImageRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagerootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ImageTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage.md #### ImageTypePackage class Represents a metadata package containing image-specific file format information. **Inheritance:** `ImageTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The ImageTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | width | Gets the image width. | | height | Gets the image height. | | byte_order | Gets the byte-order of the image.
Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### byte_order property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/byte_order.md #### byte_order property Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. ##### Definition: ```python @property def byte_order(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/height.md #### height property Gets the image height. ##### Definition: ```python @property def height(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/imagetypepackage/width.md #### width property Gets the image width. ##### Definition: ```python @property def width(self): ... ``` ### Jpeg2000Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package.md #### Jpeg2000Package class Represents native JPEG2000 metadata. **Inheritance:** `Jpeg2000Package` → `CustomPackage` → `MetadataPackage` The Jpeg2000Package type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | comments | Gets the JPEG2000 comments. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/comments.md #### comments property Gets the JPEG2000 comments. ##### Definition: ```python @property def comments(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Jpeg2000RootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage.md #### Jpeg2000RootPackage class Represents the root package intended to work with metadata in a JPEG2000 image. **Inheritance:** `Jpeg2000RootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The Jpeg2000RootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | exif_package | Gets or sets the EXIF metadata package. | | jpeg_2000_package | Gets the JPEG2000 native metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/exif_package.md #### exif_package property Gets or sets the EXIF metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract basic EXIF metadata properties. ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### jpeg_2000_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/jpeg_2000_package.md #### jpeg_2000_package property Gets the JPEG2000 native metadata package. ##### Remarks **Learn more** | | | ##### Example This code snippet demonstrates how to read JPEG2000 image comments. ##### Definition: ```python @property def jpeg_2000_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpeg2000rootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### JpegRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage.md #### JpegRootPackage class Represents the root package allowing working with metadata in a JPEG image. **Inheritance:** `JpegRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The JpegRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | exif_package | Gets or sets the EXIF metadata package. | | iptc_package | Gets or sets the IPTC metadata package. | | image_resource_package | Gets the Photoshop Image Resource metadata package.
Image resource blocks are the basic building unit of Photoshop native file format. | | maker_note_package | Gets or sets the MakerNote metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `remove_image_resource_package(self)` | Removes Photoshop Image Resource metadata package. | | `detect_barcode_types(self)` | Extracts the types of the barcodes presented in the image. | ##### Remarks **Learn more** | | | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### detect_barcode_types method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/detect_barcode_types.md #### detect_barcode_types(self) Extracts the types of the barcodes presented in the image. ##### Returns An array of barcode types. ```python def detect_barcode_types(self): ... ``` ##### Remarks **Learn more** | | | ##### Example This code snippet demonstrates how to detect barcodes in a JPEG image. ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/exif_package.md #### exif_package property Gets or sets the EXIF metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract basic EXIF metadata properties. ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### image_resource_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/image_resource_package.md #### image_resource_package property Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format. ##### Remarks **Learn more** | | | ##### Example The code sample below demonstrates how to extract image resource blocks (building blocks of the Photoshop file format) from a JPEG image. ##### Definition: ```python @property def image_resource_package(self): ... ``` ### iptc_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/iptc_package.md #### iptc_package property Gets or sets the IPTC metadata package. ##### Remarks **Learn more** | | | ##### Example This example shows how to read basic IPTC metadata properties. ##### Definition: ```python @property def iptc_package(self): ... @iptc_package.setter def iptc_package(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### maker_note_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/maker_note_package.md #### maker_note_package property Gets or sets the MakerNote metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def maker_note_package(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_image_resource_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/remove_image_resource_package.md #### remove_image_resource_package(self) Removes Photoshop Image Resource metadata package. ```python def remove_image_resource_package(self): ... ``` ##### Remarks **Learn more** | | | ##### Example This code snippet demonstrates how to remove Photoshop metadata from a JPEG image. ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/jpegrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### PngCompressedTextChunk class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk.md #### PngCompressedTextChunk class Represents compressed textual data extracted from a PNG image. **Inheritance:** `PngCompressedTextChunk` → `PngTextChunk` → `CustomPackage` → `MetadataPackage` The PngCompressedTextChunk type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | keyword | Gets the keyword that indicates the type of information represented by the chunk. | | text | Gets the actual text string represented by the chunk. | | compression_method | Gets the algorithm used to compress the chunk data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### compression_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/compression_method.md #### compression_method property Gets the algorithm used to compress the chunk data. ##### Definition: ```python @property def compression_method(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keyword property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/keyword.md #### keyword property Gets the keyword that indicates the type of information represented by the chunk. ##### Definition: ```python @property def keyword(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/text.md #### text property Gets the actual text string represented by the chunk. ##### Definition: ```python @property def text(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressedtextchunk/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PngCompressionMethod enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngcompressionmethod.md #### PngCompressionMethod enumeration Defines compression methods used in the PNG format. The PngCompressionMethod type exposes the following members: ##### Fields | Field | Description | | :- | :- | | DEFLATE | Represents the deflate/inflate compression with a sliding window. | ### PngInternationalTextChunk class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk.md #### PngInternationalTextChunk class Represents international textual data extracted from a PNG image. **Inheritance:** `PngInternationalTextChunk` → `PngCompressedTextChunk` → `PngTextChunk` → `CustomPackage` → `MetadataPackage` The PngInternationalTextChunk type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | keyword | Gets the keyword that indicates the type of information represented by the chunk. | | text | Gets the actual text string represented by the chunk. | | compression_method | Gets the algorithm used to compress the chunk data. | | is_compressed | Gets a value indicating whether the chunk is compressed. | | language | Gets the human language used by the translated keyword and the text. | | translated_keyword | Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### compression_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/compression_method.md #### compression_method property Gets the algorithm used to compress the chunk data. ##### Definition: ```python @property def compression_method(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### is_compressed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/is_compressed.md #### is_compressed property Gets a value indicating whether the chunk is compressed. ##### Definition: ```python @property def is_compressed(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keyword property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/keyword.md #### keyword property Gets the keyword that indicates the type of information represented by the chunk. ##### Definition: ```python @property def keyword(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/language.md #### language property Gets the human language used by the translated keyword and the text. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/text.md #### text property Gets the actual text string represented by the chunk. ##### Definition: ```python @property def text(self): ... ``` ### translated_keyword property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/translated_keyword.md #### translated_keyword property Gets the translated keyword that contains a translation of the keyword into the language indicated by the language property. ##### Definition: ```python @property def translated_keyword(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pnginternationaltextchunk/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PngPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage.md #### PngPackage class Represents native PNG metadata. **Inheritance:** `PngPackage` → `CustomPackage` → `MetadataPackage` The PngPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | text_chunks | Gets the collection of text chunks extracted from the image. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text_chunks property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/text_chunks.md #### text_chunks property Gets the collection of text chunks extracted from the image. ##### Definition: ```python @property def text_chunks(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PngRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage.md #### PngRootPackage class Represents the root package intended to work with metadata in a PNG image. **Inheritance:** `PngRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The PngRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | exif_package | Gets or sets the EXIF metadata package. | | png_package | Gets the PNG native metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/exif_package.md #### exif_package property Gets or sets the EXIF metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### png_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/png_package.md #### png_package property Gets the PNG native metadata package. ##### Definition: ```python @property def png_package(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### PngTextChunk class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk.md #### PngTextChunk class Represents textual data extracted from a PNG image. **Inheritance:** `PngTextChunk` → `CustomPackage` → `MetadataPackage` The PngTextChunk type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | keyword | Gets the keyword that indicates the type of information represented by the chunk. | | text | Gets the actual text string represented by the chunk. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keyword property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/keyword.md #### keyword property Gets the keyword that indicates the type of information represented by the chunk. ##### Definition: ```python @property def keyword(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/text.md #### text property Gets the actual text string represented by the chunk. ##### Definition: ```python @property def text(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/pngtextchunk/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### PsdColorMode enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdcolormode.md #### PsdColorMode enumeration Represents the psd file format color mode. The PsdColorMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | BITMAP | The bitmap color mode. | | GRAYSCALE | The grayscale mode. | | INDEXED | The indexed color mode. | | RGB | The RGB color mode. | | CMYK | The CMYK color mode. | | MULTICHANNEL | The multichannel color mode. | | DUOTONE | The duotone color mode. | | LAB | The LAB color mode. | ### PsdCompressionMethod enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdcompressionmethod.md #### PsdCompressionMethod enumeration Defines the compression method used for image data. The PsdCompressionMethod type exposes the following members: ##### Fields | Field | Description | | :- | :- | | RAW | No compression. The image data stored as raw bytes in RGBA planar order.
That means that first all R data is written, then all G is written, then all B and finally all A data is written. | | RLE | RLE compressed. The image data starts with the byte counts for all the scan lines (rows * channels), with each
count stored as a two-byte value. The RLE compressed data follows, with each scan line compressed separately.
The RLE compression is the same compression algorithm used by the Macintosh ROM routine PackBits and the TIFF standard. | | ZIP_WITHOUT_PREDICTION | ZIP without prediction. | | ZIP_WITH_PREDICTION | ZIP with prediction. | ### PsdLayer class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer.md #### PsdLayer class Represents a layer in a PSD file. **Inheritance:** `PsdLayer` → `CustomPackage` → `MetadataPackage` The PsdLayer type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | bits_per_pixel | Gets the bits per pixel value. | | channel_count | Gets the number of channels. | | flags | Gets the layer flags. | | length | Gets the overall layer length in bytes. | | opacity | Gets the layer opacity. 0 = transparent, 255 = opaque. | | top | Gets the top layer position. | | left | Gets the left layer position. | | bottom | Gets the bottom layer position. | | right | Gets the right layer position. | | height | Gets the height. | | width | Gets the width. | | name | Gets the layer name. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bits_per_pixel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/bits_per_pixel.md #### bits_per_pixel property Gets the bits per pixel value. ##### Definition: ```python @property def bits_per_pixel(self): ... ``` ### bottom property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/bottom.md #### bottom property Gets the bottom layer position. ##### Definition: ```python @property def bottom(self): ... ``` ### channel_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/channel_count.md #### channel_count property Gets the number of channels. ##### Definition: ```python @property def channel_count(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/flags.md #### flags property Gets the layer flags. ##### Definition: ```python @property def flags(self): ... ``` ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/height.md #### height property Gets the height. ##### Definition: ```python @property def height(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### left property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/left.md #### left property Gets the left layer position. ##### Definition: ```python @property def left(self): ... ``` ### length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/length.md #### length property Gets the overall layer length in bytes. ##### Definition: ```python @property def length(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/name.md #### name property Gets the layer name. ##### Definition: ```python @property def name(self): ... ``` ### opacity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/opacity.md #### opacity property Gets the layer opacity. 0 = transparent, 255 = opaque. ##### Definition: ```python @property def opacity(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### right property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/right.md #### right property Gets the right layer position. ##### Definition: ```python @property def right(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### top property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/top.md #### top property Gets the top layer position. ##### Definition: ```python @property def top(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayer/width.md #### width property Gets the width. ##### Definition: ```python @property def width(self): ... ``` ### PsdLayerFlags enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdlayerflags.md #### PsdLayerFlags enumeration The Photoshop layer flags. The PsdLayerFlags type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | No flags are set. | | TRANSPARENCY_PROTECTED | The transparency protected flag. | | VISIBLE | The visibility flag. | | OBSOLETE | The obsolete flag. | | HAS_USEFUL_INFORMATION | Defines if bit 4 has useful information. 1 for Photoshop 5.0 and later, | | PIXEL_DATA_IRRELEVANT_TO_APPEARANCE_IN_DOCUMENT | The pixel data is irrelevant to appearance in a document. | | UNDOCUMENTED | An undocumented flag. | ### PsdPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage.md #### PsdPackage class Represents native Photoshop metadata. **Inheritance:** `PsdPackage` → `CustomPackage` → `MetadataPackage` The PsdPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | channel_count | Gets the number of channels. | | color_mode | Gets the psd color mode. | | compression | Gets the compression method used for image data. | | photoshop_version | Gets the Photoshop version. | | height | Gets the height of the image. | | width | Gets PSD width of the image. | | layers | Gets the Photoshop layers. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### channel_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/channel_count.md #### channel_count property Gets the number of channels. ##### Definition: ```python @property def channel_count(self): ... ``` ### color_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/color_mode.md #### color_mode property Gets the psd color mode. ##### Definition: ```python @property def color_mode(self): ... ``` ### compression property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/compression.md #### compression property Gets the compression method used for image data. ##### Definition: ```python @property def compression(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/height.md #### height property Gets the height of the image. ##### Definition: ```python @property def height(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### layers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/layers.md #### layers property Gets the Photoshop layers. ##### Definition: ```python @property def layers(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### photoshop_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/photoshop_version.md #### photoshop_version property Gets the Photoshop version. ##### Definition: ```python @property def photoshop_version(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdpackage/width.md #### width property Gets PSD width of the image. ##### Definition: ```python @property def width(self): ... ``` ### PsdRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage.md #### PsdRootPackage class Represents the root package allowing working with metadata in a Photoshop Document. **Inheritance:** `PsdRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The PsdRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | exif_package | Gets or sets the EXIF metadata package. | | iptc_package | Gets or sets the IPTC metadata package. | | image_resource_package | Gets the Photoshop Image Resource metadata package.
Image resource blocks are the basic building unit of Photoshop native file format. | | psd_package | Gets the metadata package containing information about the PSD file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/exif_package.md #### exif_package property Gets or sets the EXIF metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract basic EXIF metadata properties from a PSD image. ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### image_resource_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/image_resource_package.md #### image_resource_package property Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format. ##### Remarks **Learn more** | | | ##### Example The code sample below demonstrates how to extract image resource blocks (building blocks of the Photoshop file format) from a PSD image. ##### Definition: ```python @property def image_resource_package(self): ... ``` ### iptc_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/iptc_package.md #### iptc_package property Gets or sets the IPTC metadata package. ##### Remarks **Learn more** | | | ##### Example This example shows how to read basic IPTC metadata properties. ##### Definition: ```python @property def iptc_package(self): ... @iptc_package.setter def iptc_package(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### psd_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/psd_package.md #### psd_package property Gets the metadata package containing information about the PSD file. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to read the header of a PSD file and extract some information about the PSD layers. ##### Definition: ```python @property def psd_package(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/psdrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### RawDoubleTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag.md #### RawDoubleTag class Represents a Raw Double tag. **Inheritance:** `RawDoubleTag` → `RawTag` → `MetadataProperty` The RawDoubleTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawDoubleTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawDoubleTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawDoubleTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawdoubletag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawFloatTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag.md #### RawFloatTag class Represents a Raw float tag. **Inheritance:** `RawFloatTag` → `RawTag` → `MetadataProperty` The RawFloatTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawFloatTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawFloatTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawFloatTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawfloattag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawRational class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrational.md #### RawRational class Represents a rational number. The RawRational type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, numerator, denominator)` | Initializes a new instance of the `RawRational` class. | ##### Properties | Property | Description | | :- | :- | | numerator | Gets the numerator. | | denominator | Gets the denominator. | | value | Gets the rational value. | ##### Methods | Method | Description | | :- | :- | | `equals(, rational, other)` | Compares a pair of `RawRational` numbers. | | `equals(self, other)` | Indicates whether the current object is equal to another object of the same type. | ### RawRational constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrational/__init__.md #### \_\_init\_\_(self, numerator, denominator) Initializes a new instance of the `RawRational` class. ```python def __init__(self, numerator, denominator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | numerator | int | The numerator. | | denominator | int | The denominator. | ### denominator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrational/denominator.md #### denominator property Gets the denominator. ##### Definition: ```python @property def denominator(self): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrational/equals.md #### equals(self, other) Indicates whether the current object is equal to another object of the same type. ##### Returns `true` if the current object is equal to the `other` parameter; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.formats.image.RawRational | An object to compare with this object. | #### equals(, rational, other) Compares a pair of `RawRational` numbers. ##### Returns `true` if the objects are equal; otherwise, `false`. ```python @staticmethod def equals(rational, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rational | groupdocs.metadata.formats.image.RawRational | A rational number. | | other | groupdocs.metadata.formats.image.RawRational | Another rational number. | ### numerator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrational/numerator.md #### numerator property Gets the numerator. ##### Definition: ```python @property def numerator(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrational/value.md #### value property Gets the rational value. ##### Definition: ```python @property def value(self): ... ``` ### RawRationalTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag.md #### RawRationalTag class Represents a Raw Rational tag. **Inheritance:** `RawRationalTag` → `RawTag` → `MetadataProperty` The RawRationalTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawRationalTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawRationalTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawRationalTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawrationaltag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawSByteTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag.md #### RawSByteTag class Represents a Raw SByte tag. **Inheritance:** `RawSByteTag` → `RawTag` → `MetadataProperty` The RawSByteTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawSByteTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawSByteTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawSByteTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsbytetag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawSLongTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag.md #### RawSLongTag class Represents a Raw SLong tag. **Inheritance:** `RawSLongTag` → `RawTag` → `MetadataProperty` The RawSLongTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawSLongTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawSLongTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawSLongTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawslongtag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawSRational class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrational.md #### RawSRational class Represents signed rational number. The RawSRational type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, numerator, denominator)` | Initializes a new instance of the `RawSRational` class. | ##### Properties | Property | Description | | :- | :- | | numerator | Gets numerator. | | denominator | Gets denominator. | | value | Gets actual value represented as double. | ##### Methods | Method | Description | | :- | :- | | `equals(, rational, other)` | Compares pair of `RawSRational`. | | `equals(self, other)` | Indicates whether the current object is equal to another object of the same type. | ### RawSRational constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrational/__init__.md #### \_\_init\_\_(self, numerator, denominator) Initializes a new instance of the `RawSRational` class. ```python def __init__(self, numerator, denominator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | numerator | int | The numerator. | | denominator | int | The denominator. | ### denominator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrational/denominator.md #### denominator property Gets denominator. ##### Definition: ```python @property def denominator(self): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrational/equals.md #### equals(self, other) Indicates whether the current object is equal to another object of the same type. ##### Returns `true` if the current object is equal to the `other` parameter; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.formats.image.RawSRational | An object to compare with this object. | #### equals(, rational, other) Compares pair of `RawSRational`. ##### Returns `true` if objects are equal; otherwise `false`. ```python @staticmethod def equals(rational, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rational | groupdocs.metadata.formats.image.RawSRational | Comparing item. | | other | groupdocs.metadata.formats.image.RawSRational | Other item. | ### numerator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrational/numerator.md #### numerator property Gets numerator. ##### Definition: ```python @property def numerator(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrational/value.md #### value property Gets actual value represented as double. ##### Definition: ```python @property def value(self): ... ``` ### RawSRationalTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag.md #### RawSRationalTag class Represents a Raw SRational tag. **Inheritance:** `RawSRationalTag` → `RawTag` → `MetadataProperty` The RawSRationalTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawSRationalTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawSRationalTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawSRationalTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsrationaltag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawSShortTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag.md #### RawSShortTag class Represents a Raw SShort tag. **Inheritance:** `RawSShortTag` → `RawTag` → `MetadataProperty` The RawSShortTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawSShortTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawSShortTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawSShortTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawsshorttag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawTypePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage.md #### RawTypePackage class Represents a metadata package containing image-specific file format information. **Inheritance:** `RawTypePackage` → `FileTypePackage` → `CustomPackage` → `MetadataPackage` The RawTypePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_format | Gets the file format. | | mime_type | Gets the MIME type. | | extension | Gets the file extension. | | byte_order | Gets the byte-order of the image.
Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### byte_order property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/byte_order.md #### byte_order property Gets the byte-order of the image. Please see [https://en.wikipedia.org/wiki/Endianness](https://en.wikipedia.org/wiki/Endianness) for more information. ##### Definition: ```python @property def byte_order(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### extension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/extension.md #### extension property Gets the file extension. ##### Definition: ```python @property def extension(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/file_format.md #### file_format property Gets the file format. ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mime_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/mime_type.md #### mime_type property Gets the MIME type. ##### Definition: ```python @property def mime_type(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawtypepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawUndefinedTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag.md #### RawUndefinedTag class Represents a Raw tag with the Undefined type. **Inheritance:** `RawUndefinedTag` → `RawTag` → `MetadataProperty` The RawUndefinedTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawUndefinedTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawUndefinedTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawUndefinedTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | bytes | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/rawundefinedtag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffAsciiTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag.md #### TiffAsciiTag class Represents a TIFF ASCII tag. **Inheritance:** `TiffAsciiTag` → `TiffTag` → `MetadataProperty` The TiffAsciiTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffAsciiTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | Gets the tag value. | ### TiffAsciiTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffAsciiTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | System.String | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/tag_value.md #### tag_value property Gets the tag value. ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffasciitag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffByteTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag.md #### TiffByteTag class Represents a Byte tag. **Inheritance:** `TiffByteTag` → `TiffTag` → `MetadataProperty` The TiffByteTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffByteTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffByteTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffByteTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | bytes | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffbytetag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffDoubleTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag.md #### TiffDoubleTag class Represents a TIFF Double tag. **Inheritance:** `TiffDoubleTag` → `TiffTag` → `MetadataProperty` The TiffDoubleTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffDoubleTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffDoubleTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffDoubleTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffdoubletag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffFloatTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag.md #### TiffFloatTag class Represents a TIFF float tag. **Inheritance:** `TiffFloatTag` → `TiffTag` → `MetadataProperty` The TiffFloatTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffFloatTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffFloatTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffFloatTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifffloattag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffLongTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag.md #### TiffLongTag class Represents a TIFF Long tag. **Inheritance:** `TiffLongTag` → `TiffTag` → `MetadataProperty` The TiffLongTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffLongTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffLongTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffLongTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifflongtag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffRational class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrational.md #### TiffRational class Represents a rational number. The TiffRational type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, numerator, denominator)` | Initializes a new instance of the `TiffRational` class. | ##### Properties | Property | Description | | :- | :- | | numerator | Gets the numerator. | | denominator | Gets the denominator. | | value | Gets the rational value. | ##### Methods | Method | Description | | :- | :- | | `equals(, rational, other)` | Compares a pair of `TiffRational` numbers. | | `equals(self, other)` | Indicates whether the current object is equal to another object of the same type. | ### TiffRational constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrational/__init__.md #### \_\_init\_\_(self, numerator, denominator) Initializes a new instance of the `TiffRational` class. ```python def __init__(self, numerator, denominator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | numerator | int | The numerator. | | denominator | int | The denominator. | ### denominator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrational/denominator.md #### denominator property Gets the denominator. ##### Definition: ```python @property def denominator(self): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrational/equals.md #### equals(self, other) Indicates whether the current object is equal to another object of the same type. ##### Returns `true` if the current object is equal to the `other` parameter; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.formats.image.TiffRational | An object to compare with this object. | #### equals(, rational, other) Compares a pair of `TiffRational` numbers. ##### Returns `true` if the objects are equal; otherwise, `false`. ```python @staticmethod def equals(rational, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rational | groupdocs.metadata.formats.image.TiffRational | A rational number. | | other | groupdocs.metadata.formats.image.TiffRational | Another rational number. | ### numerator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrational/numerator.md #### numerator property Gets the numerator. ##### Definition: ```python @property def numerator(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrational/value.md #### value property Gets the rational value. ##### Definition: ```python @property def value(self): ... ``` ### TiffRationalTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag.md #### TiffRationalTag class Represents a TIFF Rational tag. **Inheritance:** `TiffRationalTag` → `TiffTag` → `MetadataProperty` The TiffRationalTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffRationalTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffRationalTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffRationalTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrationaltag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage.md #### TiffRootPackage class Represents the root package allowing working with metadata in a TIFF image. **Inheritance:** `TiffRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The TiffRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | exif_package | Gets or sets the EXIF metadata package. | | iptc_package | Gets or sets the IPTC metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/exif_package.md #### exif_package property Gets or sets the EXIF metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract basic EXIF metadata properties. ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### iptc_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/iptc_package.md #### iptc_package property Gets or sets the IPTC metadata package. ##### Remarks **Learn more** | | | ##### Example This example shows how to extract basic IPTC metadata properties from a TIFF image. ##### Definition: ```python @property def iptc_package(self): ... @iptc_package.setter def iptc_package(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### TiffSByteTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag.md #### TiffSByteTag class Represents a TIFF SByte tag. **Inheritance:** `TiffSByteTag` → `TiffTag` → `MetadataProperty` The TiffSByteTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffSByteTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffSByteTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffSByteTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsbytetag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffShortTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag.md #### TiffShortTag class Represents a TIFF Short tag. **Inheritance:** `TiffShortTag` → `TiffTag` → `MetadataProperty` The TiffShortTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffShortTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffShortTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffShortTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffshorttag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffSLongTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag.md #### TiffSLongTag class Represents a TIFF SLong tag. **Inheritance:** `TiffSLongTag` → `TiffTag` → `MetadataProperty` The TiffSLongTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffSLongTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffSLongTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffSLongTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffslongtag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffSRational class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrational.md #### TiffSRational class Represents signed rational number. The TiffSRational type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, numerator, denominator)` | Initializes a new instance of the `TiffSRational` class. | ##### Properties | Property | Description | | :- | :- | | numerator | Gets numerator. | | denominator | Gets denominator. | | value | Gets actual value represented as double. | ##### Methods | Method | Description | | :- | :- | | `equals(, rational, other)` | Compares pair of `TiffSRational`. | | `equals(self, other)` | Indicates whether the current object is equal to another object of the same type. | ### TiffSRational constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrational/__init__.md #### \_\_init\_\_(self, numerator, denominator) Initializes a new instance of the `TiffSRational` class. ```python def __init__(self, numerator, denominator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | numerator | int | The numerator. | | denominator | int | The denominator. | ### denominator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrational/denominator.md #### denominator property Gets denominator. ##### Definition: ```python @property def denominator(self): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrational/equals.md #### equals(self, other) Indicates whether the current object is equal to another object of the same type. ##### Returns `true` if the current object is equal to the `other` parameter; otherwise, `false`. ```python def equals(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.formats.image.TiffSRational | An object to compare with this object. | #### equals(, rational, other) Compares pair of `TiffSRational`. ##### Returns `true` if objects are equal; otherwise `false`. ```python @staticmethod def equals(rational, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rational | groupdocs.metadata.formats.image.TiffSRational | Comparing item. | | other | groupdocs.metadata.formats.image.TiffSRational | Other item. | ### numerator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrational/numerator.md #### numerator property Gets numerator. ##### Definition: ```python @property def numerator(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrational/value.md #### value property Gets actual value represented as double. ##### Definition: ```python @property def value(self): ... ``` ### TiffSRationalTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag.md #### TiffSRationalTag class Represents a TIFF SRational tag. **Inheritance:** `TiffSRationalTag` → `TiffTag` → `MetadataProperty` The TiffSRationalTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffSRationalTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffSRationalTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffSRationalTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsrationaltag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffSShortTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag.md #### TiffSShortTag class Represents a TIFF SShort tag. **Inheritance:** `TiffSShortTag` → `TiffTag` → `MetadataProperty` The TiffSShortTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffSShortTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffSShortTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffSShortTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffsshorttag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag.md #### TiffTag class Represents a TIFF tag. **Inheritance:** `TiffTag` → `MetadataProperty` The TiffTag type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### TiffTagID enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftagid.md #### TiffTagID enumeration Defines ids of TIFF tags. The TiffTagID type exposes the following members: ##### Fields | Field | Description | | :- | :- | | GPS_VERSION_ID | Indicates the version of GPSInfoIFD. | | GPS_LATITUDE_REF | Indicates whether the latitude is north or south latitude. | | GPS_LATITUDE | Indicates the latitude. | | GPS_LONGITUDE_REF | Indicates whether the longitude is east or west longitude. | | GPS_LONGITUDE | Indicates the longitude. | | GPS_ALTITUDE_REF | Indicates the altitude used as the reference altitude. | | GPS_ALTITUDE | Indicates the altitude based on the reference in GPSAltitudeRef. | | GPS_TIME_STAMP | Indicates the time as UTC (Coordinated Universal Time). | | GPS_SATELLITES | ndicates the GPS satellites used for measurements. | | GPS_STATUS | Indicates the status of the GPS receiver when the image is recorded. | | GPS_MEASURE_MODE | Indicates the GPS measurement mode. | | GPS_DOP | Indicates the GPS DOP (data degree of precision). | | GPS_SPEED_REF | Indicates the unit used to express the GPS receiver speed of movement | | GPS_SPEED | Indicates the speed of GPS receiver movement. | | GPS_TRACK_REF | Indicates the reference for giving the direction of GPS receiver movement. | | GPS_TRACK | Indicates the direction of GPS receiver movement. | | GPS_IMG_DIRECTION_REF | Indicates the reference for giving the direction of the image when it is captured. | | GPS_IMG_DIRECTION | Indicates the direction of the image when it was captured. | | GPS_MAP_DATUM | Indicates the geodetic survey data used by the GPS receiver. | | GPS_DEST_LATITUDE_REF | Indicates whether the latitude of the destination point is north or south latitude. | | GPS_DEST_LATITUDE | Indicates the latitude of the destination point. | | GPS_DEST_LONGITUDE_REF | Indicates whether the longitude of the destination point is east or west longitude. | | GPS_DEST_LONGITUDE | Indicates the longitude of the destination point. | | GPS_DEST_BEARING_REF | Indicates the reference used for giving the bearing to the destination point. | | GPS_DEST_BEARING | Indicates the bearing to the destination point. | | GPS_DEST_DISTANCE_REF | Indicates the unit used to express the distance to the destination point. | | GPS_DEST_DISTANCE | Indicates the distance to the destination point. | | GPS_PROCESSING_METHOD | A character string recording the name of the method used for location finding. | | GPS_AREA_INFORMATION | A character string recording the name of the GPS area. | | GPS_DATE_STAMP | A character string recording date and time information relative to UTC (Coordinated Universal Time). | | GPS_DIFFERENTIAL | Indicates whether differential correction is applied to the GPS receiver. | | GPS_H_POSITIONING_ERROR | This tag indicates horizontal positioning errors in meters. | | NEW_SUBFILE_TYPE | A general indication of the kind of data contained in this sub-file. | | SUBFILE_TYPE | A general indication of the kind of data contained in this subfile.
This field is deprecated. The NewSubfileType field should be used instead | | IMAGE_WIDTH | The number of columns in the image, i.e., the number of pixels per scan line. | | IMAGE_LENGTH | The number of rows (sometimes described as scan lines) in the image. | | BITS_PER_SAMPLE | Number of bits per component. | | COMPRESSION | Compression scheme used on the image data. | | PHOTOMETRIC_INTERPRETATION | The color space of the image data. | | THRESHHOLDING | For black and white TIFF files that represent shades of gray, the technique used to convert from gray to black and white pixels. | | CELL_WIDTH | The width of the dithering or halftoning matrix used to create a dithered or
halftoned bi-level file. | | CELL_LENGTH | The length of the dithering or halftoning matrix used to create a dithered or
halftoned bi-level file. | | FILL_ORDER | The logical order of bits within a byte. | | DOCUMENT_NAME | The name of the document from which this image was scanned. | | IMAGE_DESCRIPTION | A string that describes the subject of the image. | | MAKE | The scanner manufacturer. | | MODEL | The scanner model name or number. | | STRIP_OFFSETS | For each strip, the byte offset of that strip. | | ORIENTATION | The orientation of the image with respect to the rows and columns. | | SAMPLES_PER_PIXEL | The number of components per pixel. | | ROWS_PER_STRIP | The number of rows per strip. | | STRIP_BYTE_COUNTS | For each strip, the number of bytes in the strip after compression. | | MIN_SAMPLE_VALUE | The minimum component value used. | | MAX_SAMPLE_VALUE | The maximum component value used. | | X_RESOLUTION | The number of pixels per ResolutionUnit in the ImageWidth direction. | | Y_RESOLUTION | The number of pixels per ResolutionUnit in the ImageLength direction. | | PLANAR_CONFIGURATION | How the components of each pixel are stored. | | PAGE_NAME | The name of the page from which this image was scanned. | | X_POSITION | X position of the image. | | Y_POSITION | Y position of the image. | | FREE_OFFSETS | For each string of contiguous unused bytes in a TIFF file, the byte offset of the string. | | FREE_BYTE_COUNTS | For each string of contiguous unused bytes in a TIFF file, the number of bytes in the string. | | GRAY_RESPONSE_UNIT | The precision of the information contained in the GrayResponseCurve. | | GRAY_RESPONSE_CURVE | For grayscale data, the optical density of each possible pixel value. | | T4_OPTIONS | T4-encoding options. | | T6_OPTIONS | T6-encoding options. | | RESOLUTION_UNIT | The unit of measurement for XResolution and YResolution. | | PAGE_NUMBER | The page number of the page from which this image was scanned. | | TRANSFER_FUNCTION | Describes a transfer function for the image in tabular style. Pixel components can
be gamma-compensated, companded, non-uniformly quantized, or coded in some
other way. The TransferFunction maps the pixel components from a non-linear
BitsPerSample (e.g. 8-bit) form into a 16-bit linear form without a perceptible loss
of accuracy. | | SOFTWARE | Name and version number of the software package(s) used to create the image. | | DATE_TIME | Date and time of image creation. | | ARTIST | Person who created the image. | | HOST_COMPUTER | The computer and/or operating system in use at the time of image creation. | | PREDICTOR | This section defines a Predictor that greatly improves compression ratios for some images. | | WHITE_POINT | The chromaticity of the white point of the image. | | PRIMARY_CHROMATICITIES | The chromaticities of the primaries of the image. | | COLOR_MAP | A color map for palette color images. | | HALFTONE_HINTS | The purpose of the HalftoneHints field is to convey to the halftone function the
range of gray levels within a colorimetrically-specified image that should retain
tonal detail. | | TILE_WIDTH | The tile width in pixels. This is the number of columns in each tile. | | TILE_LENGTH | The tile length (height) in pixels. This is the number of rows in each tile. | | TILE_OFFSETS | For each tile, the byte offset of that tile, as compressed and stored on disk.
The offset is specified with respect to the beginning of the TIFF file.
Note that this implies that each tile has a location independent of the locations of other tiles. | | TILE_BYTE_COUNTS | For each tile, the number of (compressed) bytes in that tile. | | INK_SET | The set of inks used in a separated (PhotometricInterpretation=5) image. | | INK_NAMES | The name of each ink used in a separated (PhotometricInterpretation=5) image,
written as a list of concatenated, NUL-terminated ASCII strings. | | NUMBER_OF_INKS | The number of inks. Usually equal to SamplesPerPixel, unless there are extra samples. | | DOT_RANGE | The component values that correspond to a 0% dot and 100% dot. DotRange[0]
corresponds to a 0% dot, and DotRange[1] corresponds to a 100% dot. | | EXTRA_SAMPLES | Description of extra components. | | SAMPLE_FORMAT | This field specifies how to interpret each data sample in a pixel. | | S_MIN_SAMPLE_VALUE | This field specifies the minimum sample value. | | S_MAX_SAMPLE_VALUE | This new field specifies the maximum sample value. | | TRANSFER_RANGE | Expands the range of the TransferFunction. | | JPEG_PROC | This Field indicates the JPEG process used to produce the compressed data. | | JPEG_INTERCHANGE_FORMAT | This Field indicates whether a JPEG interchange format bitstream is present in the TIFF file. | | JPEG_INTERCHANGE_FORMAT_LENGTH | This Field indicates the length in bytes of the JPEG interchange format bitstream | | JPEG_RESTART_INTERVAL | This Field indicates the length of the restart interval used in the compressed image data. | | JPEG_LOSSLESS_PREDICTORS | This Field points to a list of lossless predictor-selection values, one per component. | | JPEG_POINT_TRANSFORMS | This Field points to a list of point transform values, one per component. | | JPEG_Q_TABLES | This Field points to a list of offsets to the quantization tables, one per component. | | JPEG_DC_TABLES | This Field points to a list of offsets to the DC Huffman tables or the lossless
Huffman tables, one per component. | | JPEG_AC_TABLES | This Field points to a list of offsets to the Huffman AC tables, one per component. | | Y_CB_CR_COEFFICIENTS | The matrix cofficients for transformation from RGB to YCbCr image data. | | Y_CB_CR_SUB_SAMPLING | The sampling ratio of chrominance components in relation to the luminance component. | | Y_CB_CR_POSITIONING | Specifies the positioning of subsampled chrominance components relative to luminance samples. | | REFERENCE_BLACK_WHITE | Specifies a pair of headroom and footroom image data values (codes) for each pixel component. | | COPYRIGHT | Copyright notice. | | USER_COMMENT | Keywords or comments on the image; complements ImageDescription. | | XMP | Pointer to the XMP metadata. | | IMAGE_ID | OPI-related. | | IPTC | IPTC (International Press Telecommunications Council) metadata.
Often times, the data type is incorrectly specified as LONG. | | PHOTOSHOP | Collection of Photoshop 'Image Resource Blocks'. | | IMAGE_LAYER | Image layer. | | ICC_PROFILE | Color profile data. | | EXIF_IFD | Pointer to collection of all EXIF Metadata.
EXIF uses field names rather than tags to indicate the field content. | | GPS_IFD | Pointer to GPS data. | | MAKERNOTES | Pointer to makernotes data. | | INTEROPERABILITY_IFD | Exif-related Interoperability IFD. | | CAMERA_OWNER_NAME | Camera owner name as ASCII string. | | BODY_SERIAL_NUMBER | Camera body serial number as ASCII string. | | CFA_PATTERN | ndicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods. | | EXIF_VERSION | The version of the EXIF standard supported. | | COMPONENTS_CONFIGURATION | Information specific to the compressed data. The channels of each component are arranged in order from the 1st component to the 4th. | | FLASHPIX_VERSION | The Flashpix format version supported by a FPXR file. If the FPXR function supports Flashpix format Ver. 1.0, this is indicated similarly to ExifVersion by recording "0100" as 4-byte ASCII. | | COLOR_SPACE | The color space information tag (ColorSpace) is always recorded as the color space specifier.
Normally sRGB (=1) is used to define the color space based on the PC monitor conditions and environment.
If a color space other than sRGB is used, Uncalibrated (=FFFF.H) is set. | | PIXEL_X_DIMENSION | Information specific to compressed data. When a compressed file is recorded,
the valid width of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. | | PIXEL_Y_DIMENSION | Information specific to compressed data. When a compressed file is recorded,
the valid height of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. | | SCENE_CAPTURE_TYPE | This tag indicates the type of scene that was shot. It may also be used to record the mode in which the image was shot. | | GAMMA | Indicates the value of coefficient gamma. | | COMPRESSED_BITS_PER_PIXEL | Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel. | | RELATED_SOUND_FILE | This tag is used to record the name of an audio file related to the image data.
The only relational information recorded here is the Exif audio file name and extension
(an ASCII string consisting of 8 characters + '.' + 3 characters). | | DATE_TIME_ORIGINAL | The date and time when the original image data was generated.
For a DSC the date and time the picture was taken are recorded.
The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. | | DATE_TIME_DIGITIZED | The date and time when the image was stored as digital data.
If, for example, an image was captured by DSC and at the same time the file was recorded, then the DateTimeOriginal and DateTimeDigitized will have the same contents.
The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. | | OFFSET_TIME | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag.
The format when recording the offset is "±HH:MM".
The part of "±" shall be recorded as "+" or "-". | | OFFSET_TIME_ORIGINAL | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag.
The format when recording the offset is "±HH:MM".
The part of "±" shall be recorded as "+" or "-". | | OFFSET_TIME_DIGITIZED | A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag.
The format when recording the offset is "±HH:MM".
The part of "±" shall be recorded as "+" or "-". | | SUBSEC_TIME | A tag used to record fractions of seconds for the DateTime tag. | | SUBSEC_TIME_ORIGINAL | A tag used to record fractions of seconds for the DateTimeOriginal tag. | | SUBSEC_TIME_DIGITIZED | A tag used to record fractions of seconds for the DateTimeDigitized tag. | | EXPOSURE_TIME | Exposure time, given in seconds (sec). | | F_NUMBER | The F number. | | EXPOSURE_PROGRAM | The class of the program used by the camera to set exposure when the picture is taken. | | SPECTRAL_SENSITIVITY | Indicates the spectral sensitivity of each channel of the camera used.
The tag value is an ASCII string compatible with the standard developed by the ASTM Technical committee. | | PHOTOGRAPHIC_SENSITIVITY | This tag indicates the sensitivity of the camera or input device when the image was shot. | | OECF | Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524.
OECF is the relationship between the camera optical input and the image values. | | SENSITIVITY_TYPE | The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag.
Although it is an optional tag, it should be recorded when a PhotographicSensitivity tag is recorded. | | STANDARD_OUTPUT_SENSITIVITY | This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232.
When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. | | RECOMMENDED_EXPOSURE_INDEX | This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232.
When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. | | ISO_SPEED | This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232.
When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded. | | ISO_SPEED_LATITUDE_YYY | This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. | | ISO_SPEED_LATITUDE_ZZZ | This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. | | SHUTTER_SPEED_VALUE | Shutter speed. The unit is the APEX (Additive System of Photographic Exposure) setting. | | APERTURE_VALUE | The lens aperture. The unit is the APEX value. | | BRIGHTNESS_VALUE | The value of brightness. The unit is the APEX value. | | EXPOSURE_BIAS_VALUE | The exposure bias. The unit is the APEX value. | | MAX_APERTURE_VALUE | The smallest F number of the lens. The unit is the APEX value. | | SUBJECT_DISTANCE | The distance to the subject, given in meters. | | METERING_MODE | The metering mode. | | LIGHT_SOURCE | The kind of light source. | | FLASH | This tag indicates the status of flash when the image was shot.
Bit 0 indicates the flash firing status, bits 1 and 2 indicate the flash return status,
bits 3 and 4 indicate the flash mode, bit 5 indicates whether the flash function is present, and bit 6 indicates "red eye" mode. | | SUBJECT_AREA | This tag indicates the location and area of the main subject in the overall scene. | | FOCAL_LENGTH | The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera. | | FLASH_ENERGY | Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). | | SPATIAL_FREQUENCY_RESPONSE | This tag records the camera or input device spatial frequency table and SFR values in the direction of image width,
image height, and diagonal direction, as specified in ISO 12233. | | FOCAL_PLANE_X_RESOLUTION | Indicates the number of pixels in the image width (X) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FOCAL_PLANE_Y_RESOLUTION | Indicates the number of pixels in the image height (Y) direction per FocalPlaneResolutionUnit on the camera focal plane. | | FOCAL_PLANE_RESOLUTION_UNIT | Indicates the unit for measuring FocalPlaneXResolution and FocalPlaneYResolution. This value is the same as the ResolutionUnit. | | SUBJECT_LOCATION | Indicates the location of the main subject in the scene.
The value of this tag represents the pixel at the center of the main subject relative to the left edge, prior to rotation processing as per the Rotation tag.
The first value indicates the X column number and second indicates the Y row number. | | EXPOSURE_INDEX | Indicates the exposure index selected on the camera or input device at the time the image is captured. | | SENSING_METHOD | Indicates the image sensor type on the camera or input device. | | FILE_SOURCE | Indicates the image source. If a DSC recorded the image, this tag value always shall be set to 3. | | SCENE_TYPE | Indicates the type of scene. If a DSC recorded the image, this tag value shall always be set to 1, indicating that the image was directly photographed. | | CUSTOM_RENDERED | This tag indicates the use of special processing on image data, such as rendering geared to output. | | EXPOSURE_MODE | This tag indicates the exposure mode set when the image was shot. In auto-bracketing mode,
the camera shoots a series of frames of the same scene at different exposure settings. | | WHITE_BALANCE | This tag indicates the white balance mode set when the image was shot. | | DIGITAL_ZOOM_RATIO | This tag indicates the digital zoom ratio when the image was shot.
If the numerator of the recorded value is 0, this indicates that digital zoom was not used. | | FOCAL_LENGTH_IN_35MM_FILM | This tag indicates the equivalent focal length assuming a 35mm film camera, in mm.
A value of 0 means the focal length is unknown. Note that this tag differs from the FocalLength tag. | | GAIN_CONTROL | This tag indicates the degree of overall image gain adjustment. | | CONTRAST | This tag indicates the direction of contrast processing applied by the camera when the image was shot. | | SATURATION | This tag indicates the direction of saturation processing applied by the camera when the image was shot. | | SHARPNESS | This tag indicates the direction of sharpness processing applied by the camera when the image was shot. | | DEVICE_SETTING_DESCRIPTION | This tag indicates information on the picture-taking conditions of a particular camera model. | | SUBJECT_DISTANCE_RANGE | This tag indicates the distance to the subject. | | COMPOSITE_IMAGE | This tag indicates whether the recorded image is a composite image* or not. | | SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE | This tag indicates the number of the source images (tentatively recorded images) captured for a composite Image. | | SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE | For a composite image, this tag records the parameters relating exposure time of the exposures for generating the said composite image,
such as respective exposure times of captured source images (tentatively recorded images). | | TEMPERATURE | Temperature as the ambient situation at the shot, for example the room temperature where the photographer was holding the camera. The unit is °C. | | HUMIDITY | Humidity as the ambient situation at the shot, for example the room humidity where the photographer was holding the camera. The unit is %. | | PRESSURE | Pressure as the ambient situation at the shot,
for example the room atmospfere where the photographer was holding the camera or the water pressure under the sea.
The unit is hPa. | | WATER_DEPTH | Water depth as the ambient situation at the shot, for example the water depth of the camera at underwater photography. The unit is m. | | ACCELERATION | Acceleration (a scalar regardless of direction) as the ambient situation at the shot, for example the driving acceleration of the vehicle which the photographer rode on at the shot.
The unit is mGal (10-5 m/s2). | | CAMERA_ELEVATION_ANGLE | Elevation/depression. angle of the orientation of the camera(imaging optical axis) as the ambient situation at the shot. The unit is degree(°). | | IMAGE_UNIQUE_ID | This tag indicates an identifier assigned uniquely to each image. | | LENS_SPECIFICATION | This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length,
and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. | | LENS_MAKE | This tag records the lens manufacturer as an ASCII string. | | LENS_MODEL | This tag records the lens’s model name and model number as an ASCII string. | | LENS_SERIAL_NUMBER | This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. | ### TiffTagType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tifftagtype.md #### TiffTagType enumeration Represents the IFD data type. The TiffTagType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | BYTE | An 8-bit unsigned integer. | | ASCII | An 8-bit byte with a 7-bit ASCII character. | | SHORT | A 16-bit unsigned integer. | | LONG | A 32-bit unsigned integer. | | RATIONAL | A pair of LONGs, numerator then denominator. | | S_BYTE | An 8-bit signed integer. | | UNDEFINED | An undefined 8-bit byte. | | S_SHORT | A 16-bit signed integer. | | S_LONG | A 32-bit signed integer. | | S_RATIONAL | A pair of SLONGs, numerator then denominator. | | FLOAT | A 4-byte IEEE floating point value. | | DOUBLE | An 8-byte IEEE floating point value. | | SUB_IFD | A 4-byte long offset value | ### TiffUndefinedTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag.md #### TiffUndefinedTag class Represents a TIFF tag with the Undefined type. **Inheritance:** `TiffUndefinedTag` → `TiffTag` → `MetadataProperty` The TiffUndefinedTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffUndefinedTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### TiffUndefinedTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffUndefinedTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | The tag identifier. | | value | bytes | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/tiffundefinedtag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### WebPRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage.md #### WebPRootPackage class Represents the root package allowing working with metadata in a WEBP image. **Inheritance:** `WebPRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The WebPRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | exif_package | Gets or sets the EXIF metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/exif_package.md #### exif_package property Gets or sets the EXIF metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/webprootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### WmfRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage.md #### WmfRootPackage class Represents the root package intended to work with metadata in a WMF image. **Inheritance:** `WmfRootPackage` → `ImageRootPackage` → `RootMetadataPackage` → `MetadataPackage` The WmfRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Example This code sample demonstrates how to extract common image properties such as width and height, MIME type, byte order, etc. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.image/wmfrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.mpeg Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg.md The namespace provides functionality allowing users to work with metadata of various MPEG standards. ##### Classes | Class | Description | | :- | :- | | `MpegAudioPackage` | Represents MPEG audio metadata. | ##### Enumerations | Enumeration | Description | | :- | :- | | `MpegAudioVersion` | Represents a particular MPEG standard. | | `MpegChannelMode` | Defines MPEG audio channel modes. | | `MpegEmphasis` | Defines MPEG emphasis types. | ### MpegAudioPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage.md #### MpegAudioPackage class Represents MPEG audio metadata. **Inheritance:** `MpegAudioPackage` → `CustomPackage` → `MetadataPackage` The MpegAudioPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `MpegAudioPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | mpeg_audio_version | Gets the MPEG audio version. Can be MPEG-1, MPEG-2 etc. | | layer | Gets the layer description. For an MP3 audio it is '3'. | | is_protected | Gets `true` if protected. | | header_position | Gets the header offset. | | bitrate | Gets the bitrate. | | frequency | Gets the frequency. | | padding_bit | Gets the padding bit. | | private_bit | Gets a value indicating whether [private bit]. | | channel_mode | Gets the channel mode. | | copyright | Gets the copyright bit. | | is_original | Gets the original bit. | | emphasis | Gets the emphasis. | | mode_extension_bits | Gets the mode extension bits. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Example This example demonstrates how to read MPEG audio metadata from an MP3 file. ### MpegAudioPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `MpegAudioPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/bitrate.md #### bitrate property Gets the bitrate. ##### Definition: ```python @property def bitrate(self): ... ``` ### channel_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/channel_mode.md #### channel_mode property Gets the channel mode. ##### Definition: ```python @property def channel_mode(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/copyright.md #### copyright property Gets the copyright bit. ##### Definition: ```python @property def copyright(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### emphasis property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/emphasis.md #### emphasis property Gets the emphasis. ##### Definition: ```python @property def emphasis(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### frequency property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/frequency.md #### frequency property Gets the frequency. ##### Definition: ```python @property def frequency(self): ... ``` ### header_position property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/header_position.md #### header_position property Gets the header offset. ##### Definition: ```python @property def header_position(self): ... ``` ### is_original property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/is_original.md #### is_original property Gets the original bit. ##### Definition: ```python @property def is_original(self): ... ``` ### is_protected property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/is_protected.md #### is_protected property Gets `true` if protected. ##### Definition: ```python @property def is_protected(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### layer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/layer.md #### layer property Gets the layer description. For an MP3 audio it is '3'. ##### Definition: ```python @property def layer(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mode_extension_bits property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/mode_extension_bits.md #### mode_extension_bits property Gets the mode extension bits. ##### Definition: ```python @property def mode_extension_bits(self): ... ``` ### mpeg_audio_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/mpeg_audio_version.md #### mpeg_audio_version property Gets the MPEG audio version. Can be MPEG-1, MPEG-2 etc. ##### Definition: ```python @property def mpeg_audio_version(self): ... ``` ### padding_bit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/padding_bit.md #### padding_bit property Gets the padding bit. ##### Definition: ```python @property def padding_bit(self): ... ``` ### private_bit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/private_bit.md #### private_bit property Gets a value indicating whether [private bit]. ##### Definition: ```python @property def private_bit(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudiopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MpegAudioVersion enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegaudioversion.md #### MpegAudioVersion enumeration Represents a particular MPEG standard. The MpegAudioVersion type exposes the following members: ##### Fields | Field | Description | | :- | :- | | MPEG25 | The MPEG 2.5 standard. | | MPEG2 | The MPEG 2 standard. | | MPEG1 | The MPEG 1 standard. | ### MpegChannelMode enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegchannelmode.md #### MpegChannelMode enumeration Defines MPEG audio channel modes. The MpegChannelMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | STEREO | Stereo mode. | | JOINT_STEREO | Joint stereo mode. | | DUAL_CHANNEL | Dual channel mode. | | MONO | Mono mode. | ### MpegEmphasis enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.mpeg/mpegemphasis.md #### MpegEmphasis enumeration Defines MPEG emphasis types. The MpegEmphasis type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NONE | No emphasis indication. | | MS5015 | 50/15 ms. | | RESERVED | Reserved. | | CCIT_J17 | CCIT J.17. | ### groupdocs.metadata.formats.peer2peer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer.md The namespace contains classes intended to work with different formats based on the peer2peer protocol. ##### Classes | Class | Description | | :- | :- | | `TorrentPackage` | Represents torrent descriptor file metadata.
Please find more information at [https://en.wikipedia.org/wiki/Torrent_file](https://en.wikipedia.org/wiki/Torrent_file). | | `TorrentRootPackage` | Represents the root package intended to work with metadata of a TORRENT file. | | `TorrentSharedFilePackage` | Represents shared file information.
Contains detailed info about each file in a torrent distribution. | ### TorrentPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage.md #### TorrentPackage class Represents torrent descriptor file metadata. Please find more information at [https://en.wikipedia.org/wiki/Torrent_file](https://en.wikipedia.org/wiki/Torrent_file). **Inheritance:** `TorrentPackage` → `CustomPackage` → `MetadataPackage` The TorrentPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | announce | Gets or sets the URL of the tracker. | | comment | Gets or sets the author's comment. | | creation_date | Gets or sets the creation date of the torrent. | | created_by | Gets or sets the name and version of the program used to create the torrent. | | shared_files | Gets an array containing shared file information entries. | | piece_length | Gets the number of bytes in each piece. For more information please see `TorrentPackage.pieces`. | | pieces | Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### announce property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/announce.md #### announce property Gets or sets the URL of the tracker. ##### Definition: ```python @property def announce(self): ... @announce.setter def announce(self, value): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/comment.md #### comment property Gets or sets the author's comment. ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### created_by property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/created_by.md #### created_by property Gets or sets the name and version of the program used to create the torrent. ##### Definition: ```python @property def created_by(self): ... @created_by.setter def created_by(self, value): ... ``` ### creation_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/creation_date.md #### creation_date property Gets or sets the creation date of the torrent. ##### Definition: ```python @property def creation_date(self): ... @creation_date.setter def creation_date(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### piece_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/piece_length.md #### piece_length property Gets the number of bytes in each piece. For more information please see `TorrentPackage.pieces`. ##### Definition: ```python @property def piece_length(self): ... ``` ### pieces property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/pieces.md #### pieces property Gets a byte array consisting of the concatenation of all 20-byte SHA1 hash values, one per piece. ##### Definition: ```python @property def pieces(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shared_files property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/shared_files.md #### shared_files property Gets an array containing shared file information entries. ##### Definition: ```python @property def shared_files(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### TorrentRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage.md #### TorrentRootPackage class Represents the root package intended to work with metadata of a TORRENT file. **Inheritance:** `TorrentRootPackage` → `RootMetadataPackage` → `MetadataPackage` The TorrentRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | torrent_package | Gets the TORRENT file metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This code sample shows how to read metadata of a TORRENT file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### torrent_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/torrent_package.md #### torrent_package property Gets the TORRENT file metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to update metadata in a TORRENT file. ##### Definition: ```python @property def torrent_package(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### TorrentSharedFilePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage.md #### TorrentSharedFilePackage class Represents shared file information. Contains detailed info about each file in a torrent distribution. **Inheritance:** `TorrentSharedFilePackage` → `CustomPackage` → `MetadataPackage` The TorrentSharedFilePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the full name of the file (relative path to the file from the root torrent folder). | | length | Gets the length of the file in bytes. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/length.md #### length property Gets the length of the file in bytes. ##### Definition: ```python @property def length(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/name.md #### name property Gets the full name of the file (relative path to the file from the root torrent folder). ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.peer2peer/torrentsharedfilepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.raw.cr2 Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2.md ##### Classes | Class | Description | | :- | :- | | `Cr2AFConfigPackage` | Represents Canon MakerNotes tags. | | `Cr2AFInfo2Package` | Represents Canon MakerNotes tags. | | `Cr2AFInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2AFMicroAdjPackage` | Represents Canon MakerNotes tags. | | `Cr2AspectInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2CameraSettingsPackage` | Represents Canon MakerNotes tags. | | `Cr2ColorBalancePackage` | Represents Canon MakerNotes tags. | | `Cr2ColorInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2CropInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2FileInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2FocalLengthPackage` | Represents Canon MakerNotes tags. | | `Cr2Functions1DPackage` | Represents Canon MakerNotes tags. | | `Cr2LightingOptPackage` | Represents Canon MakerNotes tags. | | `Cr2LogInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2MakerNotePackage` | Represents Canon MakerNotes tags. | | `Cr2ModifiedInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2MovieInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2MultiExpPackage` | Represents Canon MakerNotes tags. | | `Cr2Package` | Represents native CR2 metadata. | | `Cr2PanoramaPackage` | Represents Canon MakerNotes tags. | | `Cr2PersonalFuncValuesPackage` | Represents Canon MakerNotes tags. | | `Cr2PersonalFuncsPackage` | Represents Canon MakerNotes tags. | | `Cr2ProcessingPackage` | Represents Canon MakerNotes tags. | | `Cr2RootPackage` | Represents an entry point to all metadata packages presented in a particular file CR2. | | `Cr2SensorInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2ShotInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2TimeInfoPackage` | Represents Canon MakerNotes tags. | | `Cr2VignettingCorr2Package` | Represents Canon MakerNotes tags. | | `Cr2WBInfoPackage` | Represents Canon MakerNotes tags. | ##### Enumerations | Enumeration | Description | | :- | :- | | `Cr2AFConfigIndex` | Defines ids of Cr2AFConfig tags. | | `Cr2AFInfo2Index` | Defines ids of Cr2AFInfo2 tags. | | `Cr2AFInfoIndex` | Defines ids of Cr2AFInfo tags. | | `Cr2AFMicroAdjIndex` | Defines ids of Cr2AFMicroAdj tags. | | `Cr2AspectInfoIndex` | Defines ids of Cr2AspectInfo tags. | | `Cr2CameraSettingsIndex` | Defines ids of Cr2CameraSettings tags. | | `Cr2ColorBalanceIndex` | Defines ids of Cr2ColorBalance tags. | | `Cr2ColorInfoIndex` | Defines ids of Cr2ColorInfo tags. | | `Cr2CropInfoIndex` | Defines ids of Cr2CropInfo tags. | | `Cr2FileInfoIndex` | Defines ids of Cr2FileInfo tags. | | `Cr2FilterInfoIndex` | Defines ids of Cr2FilterInfo tags. | | `Cr2FocalLengthIndex` | Defines ids of Cr2FocalLength tags. | | `Cr2Functions1DIndex` | Defines ids of Cr2Functions1D tags. | | `Cr2Functions2Index` | Defines ids of Cr2Functions2 tags. | | `Cr2LightingOptIndex` | Defines ids of Cr2LightingOpt tags. | | `Cr2LogInfoIndex` | Defines ids of Cr2LogInfo tags. | | `Cr2MakerNoteIndex` | Defines ids of Cr2MakerNote tags. | | `Cr2ModifiedInfoIndex` | Defines ids of Cr2ModifiedInfo tags. | | `Cr2MovieInfoIndex` | Defines ids of Cr2MovieInfo tags. | | `Cr2MultiExpIndex` | Defines ids of Cr2MultiExp tags. | | `Cr2PanoramaIndex` | Defines ids of Cr2Panorama tags. | | `Cr2PersonalFuncValuesIndex` | Defines ids of Cr2PersonalFuncValues tags. | | `Cr2PersonalFuncsIndex` | Defines ids of Cr2PersonalFuncs tags. | | `Cr2ProcessingIndex` | Defines ids of Cr2Processing tags. | | `Cr2SensorInfoIndex` | Defines ids of Cr2SensorInfo tags. | | `Cr2ShotInfoIndex` | Defines ids of Cr2ShotInfo tags. | | `Cr2TimeInfoIndex` | Defines ids of Cr2TimeInfo tags. | | `Cr2VignettingCorr2Index` | Defines ids of Cr2VignettingCorr2 tags. | | `Cr2WBInfoIndex` | Defines ids of Cr2WBInfo tags. | ### Cr2AFConfigIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigindex.md #### Cr2AFConfigIndex enumeration Defines ids of Cr2AFConfig tags. The Cr2AFConfigIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | AF_CONFIG_TOOL | Indicates the AFConfigTool. | | AF_TRACKING_SENSITIVITY | Indicates the AFTrackingSensitivity. | | AF_ACCEL_DECEL_TRACKING | Indicates the AFAccelDecelTracking. | | AF_POINT_SWITCHING | Indicates the AFPointSwitching. | | AI_SERVO_FIRST_IMAGE | Indicates the AIServoFirstImage. | | AI_SERVO_SECOND_IMAGE | Indicates the AIServoSecondImage. | | USM_LENS_ELECTRONIC_MF | Indicates the USMLensElectronicMF. | | AF_ASSIST_BEAM | Indicates the AFAssistBeam. | | ONE_SHOT_AF_RELEASE | Indicates the OneShotAFRelease. | | AUTO_AF_POINT_SEL_EO_SI_TRAF | Indicates the AutoAFPointSelEOSiTRAF. | | LENS_DRIVE_WHEN_AF_IMPOSSIBLE | Indicates the LensDriveWhenAFImpossible. | | SELECT_AF_AREA_SELECTION_MODE | Indicates the SelectAFAreaSelectionMode. | | AF_AREA_SELECTION_METHOD | Indicates the AFAreaSelectionMethod. | | ORIENTATION_LINKED_AF | Indicates the OrientationLinkedAF. | | MANUAL_AF_POINT_SEL_PATTERN | Indicates the ManualAFPointSelPattern. | | AF_POINT_DISPLAY_DURING_FOCUS | Indicates the AFPointDisplayDuringFocus. | | VF_DISPLAY_ILLUMINATION | Indicates the VFDisplayIllumination. | | AF_STATUS_VIEWFINDER | Indicates the AFStatusViewfinder. | | INITIAL_AF_POINT_IN_SERVO | Indicates the InitialAFPointInServo. | ### Cr2AFConfigPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage.md #### Cr2AFConfigPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2AFConfigPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2AFConfigPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2AFConfigPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | af_config_tool | Gets the AFConfigTool. | | af_tracking_sensitivity | Gets the AFTrackingSensitivity. | | af_accel_decel_tracking | Gets the AFAccelDecelTracking. | | af_point_switching | Gets the AFPointSwitching. | | ai_servo_first_image | Gets the AIServoFirstImage. | | ai_servo_second_image | Gets the AIServoSecondImage. | | usm_lens_electronic_mf | Gets the USMLensElectronicMF. | | af_assist_beam | Gets the AFAssistBeam. | | one_shot_af_release | Gets the OneShotAFRelease. | | auto_af_point_sel_eo_si_traf | Gets the AutoAFPointSelEOSiTRAF. | | lens_drive_when_af_impossible | Gets the LensDriveWhenAFImpossible. | | select_af_area_selection_mode | Gets the SelectAFAreaSelectionMode. | | af_area_selection_method | Gets the AFAreaSelectionMethod. | | orientation_linked_af | Gets the OrientationLinkedAF. | | manual_af_point_sel_pattern | Gets the ManualAFPointSelPattern. | | af_point_display_during_focus | Gets the AFPointDisplayDuringFocus. | | vf_display_illumination | Gets the VFDisplayIllumination. | | af_status_viewfinder | Gets the AFStatusViewfinder. | | initial_af_point_in_servo | Gets the InitialAFPointInServo. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2AFConfigPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2AFConfigPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2AFConfigPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### af_accel_decel_tracking property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_accel_decel_tracking.md #### af_accel_decel_tracking property Gets the AFAccelDecelTracking. ##### Definition: ```python @property def af_accel_decel_tracking(self): ... ``` ### af_area_selection_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_area_selection_method.md #### af_area_selection_method property Gets the AFAreaSelectionMethod. ##### Definition: ```python @property def af_area_selection_method(self): ... ``` ### af_assist_beam property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_assist_beam.md #### af_assist_beam property Gets the AFAssistBeam. ##### Definition: ```python @property def af_assist_beam(self): ... ``` ### af_config_tool property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_config_tool.md #### af_config_tool property Gets the AFConfigTool. ##### Definition: ```python @property def af_config_tool(self): ... ``` ### af_point_display_during_focus property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_point_display_during_focus.md #### af_point_display_during_focus property Gets the AFPointDisplayDuringFocus. ##### Definition: ```python @property def af_point_display_during_focus(self): ... ``` ### af_point_switching property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_point_switching.md #### af_point_switching property Gets the AFPointSwitching. ##### Definition: ```python @property def af_point_switching(self): ... ``` ### af_status_viewfinder property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_status_viewfinder.md #### af_status_viewfinder property Gets the AFStatusViewfinder. ##### Definition: ```python @property def af_status_viewfinder(self): ... ``` ### af_tracking_sensitivity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/af_tracking_sensitivity.md #### af_tracking_sensitivity property Gets the AFTrackingSensitivity. ##### Definition: ```python @property def af_tracking_sensitivity(self): ... ``` ### ai_servo_first_image property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/ai_servo_first_image.md #### ai_servo_first_image property Gets the AIServoFirstImage. ##### Definition: ```python @property def ai_servo_first_image(self): ... ``` ### ai_servo_second_image property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/ai_servo_second_image.md #### ai_servo_second_image property Gets the AIServoSecondImage. ##### Definition: ```python @property def ai_servo_second_image(self): ... ``` ### auto_af_point_sel_eo_si_traf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/auto_af_point_sel_eo_si_traf.md #### auto_af_point_sel_eo_si_traf property Gets the AutoAFPointSelEOSiTRAF. ##### Definition: ```python @property def auto_af_point_sel_eo_si_traf(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### initial_af_point_in_servo property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/initial_af_point_in_servo.md #### initial_af_point_in_servo property Gets the InitialAFPointInServo. ##### Definition: ```python @property def initial_af_point_in_servo(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lens_drive_when_af_impossible property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/lens_drive_when_af_impossible.md #### lens_drive_when_af_impossible property Gets the LensDriveWhenAFImpossible. ##### Definition: ```python @property def lens_drive_when_af_impossible(self): ... ``` ### manual_af_point_sel_pattern property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/manual_af_point_sel_pattern.md #### manual_af_point_sel_pattern property Gets the ManualAFPointSelPattern. ##### Definition: ```python @property def manual_af_point_sel_pattern(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### one_shot_af_release property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/one_shot_af_release.md #### one_shot_af_release property Gets the OneShotAFRelease. ##### Definition: ```python @property def one_shot_af_release(self): ... ``` ### orientation_linked_af property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/orientation_linked_af.md #### orientation_linked_af property Gets the OrientationLinkedAF. ##### Definition: ```python @property def orientation_linked_af(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### select_af_area_selection_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/select_af_area_selection_mode.md #### select_af_area_selection_mode property Gets the SelectAFAreaSelectionMode. ##### Definition: ```python @property def select_af_area_selection_mode(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### usm_lens_electronic_mf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/usm_lens_electronic_mf.md #### usm_lens_electronic_mf property Gets the USMLensElectronicMF. ##### Definition: ```python @property def usm_lens_electronic_mf(self): ... ``` ### vf_display_illumination property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afconfigpackage/vf_display_illumination.md #### vf_display_illumination property Gets the VFDisplayIllumination. ##### Definition: ```python @property def vf_display_illumination(self): ... ``` ### Cr2AFInfo2Index enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2index.md #### Cr2AFInfo2Index enumeration Defines ids of Cr2AFInfo2 tags. The Cr2AFInfo2Index type exposes the following members: ##### Fields | Field | Description | | :- | :- | | AF_INFO_SIZE | Indicates the AFInfoSize. | | AF_AREA_MODE | Indicates the AFAreaMode. | | NUM_AF_POINTS | Indicates the NumAFPoints. | | VALID_AF_POINTS | Indicates the ValidAFPoints. | | CANON_IMAGE_WIDTH | Indicates the CanonImageWidth. | | CANON_IMAGE_HEIGHT | Indicates the CanonImageHeight. | | AF_IMAGE_WIDTH | Indicates the AFImageWidth. | | AF_IMAGE_HEIGHT | Indicates the AFImageHeight. | | AF_AREA_WIDTHS | Indicates the AFAreaWidths. | | AF_AREA_HEIGHTS | Indicates the AFAreaHeights. | | AF_AREA_X_POSITIONS | Indicates the AFAreaXPositions. | | AF_AREA_Y_POSITIONS | Indicates the AFAreaYPositions. | | AF_POINTS_IN_FOCUS | Indicates the AFPointsInFocus. | | AF_POINTS_SELECTED | Indicates the AFPointsSelected. | | PRIMARY_AF_POINT | Indicates the PrimaryAFPoint. | ### Cr2AFInfo2Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package.md #### Cr2AFInfo2Package class Represents Canon MakerNotes tags. **Inheritance:** `Cr2AFInfo2Package` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2AFInfo2Package type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2AFInfo2Package` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | af_info_size | Gets the AFInfoSize. | | af_area_mode | Gets the AFAreaMode. | | num_af_points | Gets the NumAFPoints. | | valid_af_points | Gets the ValidAFPoints. | | canon_image_width | Gets the CanonImageWidth. | | canon_image_height | Gets the CanonImageHeight. | | af_image_width | Gets the AFImageWidth. | | af_image_height | Gets the AFImageHeight. | | af_area_widths | Gets the AFAreaWidths. | | af_area_heights | Gets the AFAreaHeights. | | af_area_x_positions | Gets the AFAreaXPositions. | | af_area_y_positions | Gets the AFAreaYPositions. | | af_points_in_focus | Gets the AFPointsInFocus. | | af_points_selected | Gets the AFPointsSelected. | | primary_af_point | Gets the PrimaryAFPoint. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2AFInfo2Package indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2AFInfo2Package constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2AFInfo2Package` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### af_area_heights property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_area_heights.md #### af_area_heights property Gets the AFAreaHeights. ##### Definition: ```python @property def af_area_heights(self): ... ``` ### af_area_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_area_mode.md #### af_area_mode property Gets the AFAreaMode. ##### Definition: ```python @property def af_area_mode(self): ... ``` ### af_area_widths property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_area_widths.md #### af_area_widths property Gets the AFAreaWidths. ##### Definition: ```python @property def af_area_widths(self): ... ``` ### af_area_x_positions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_area_x_positions.md #### af_area_x_positions property Gets the AFAreaXPositions. ##### Definition: ```python @property def af_area_x_positions(self): ... ``` ### af_area_y_positions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_area_y_positions.md #### af_area_y_positions property Gets the AFAreaYPositions. ##### Definition: ```python @property def af_area_y_positions(self): ... ``` ### af_image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_image_height.md #### af_image_height property Gets the AFImageHeight. ##### Definition: ```python @property def af_image_height(self): ... ``` ### af_image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_image_width.md #### af_image_width property Gets the AFImageWidth. ##### Definition: ```python @property def af_image_width(self): ... ``` ### af_info_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_info_size.md #### af_info_size property Gets the AFInfoSize. ##### Definition: ```python @property def af_info_size(self): ... ``` ### af_points_in_focus property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_points_in_focus.md #### af_points_in_focus property Gets the AFPointsInFocus. ##### Definition: ```python @property def af_points_in_focus(self): ... ``` ### af_points_selected property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/af_points_selected.md #### af_points_selected property Gets the AFPointsSelected. ##### Definition: ```python @property def af_points_selected(self): ... ``` ### canon_image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/canon_image_height.md #### canon_image_height property Gets the CanonImageHeight. ##### Definition: ```python @property def canon_image_height(self): ... ``` ### canon_image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/canon_image_width.md #### canon_image_width property Gets the CanonImageWidth. ##### Definition: ```python @property def canon_image_width(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### num_af_points property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/num_af_points.md #### num_af_points property Gets the NumAFPoints. ##### Definition: ```python @property def num_af_points(self): ... ``` ### primary_af_point property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/primary_af_point.md #### primary_af_point property Gets the PrimaryAFPoint. ##### Definition: ```python @property def primary_af_point(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### valid_af_points property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfo2package/valid_af_points.md #### valid_af_points property Gets the ValidAFPoints. ##### Definition: ```python @property def valid_af_points(self): ... ``` ### Cr2AFInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfoindex.md #### Cr2AFInfoIndex enumeration Defines ids of Cr2AFInfo tags. The Cr2AFInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | NUM_AF_POINTS | Indicates the NumAFPoints. | | VALID_AF_POINTS | Indicates the ValidAFPoints. | | CANON_IMAGE_WIDTH | Indicates the CanonImageWidth. | | CANON_IMAGE_HEIGHT | Indicates the CanonImageHeight. | | AF_IMAGE_WIDTH | Indicates the AFImageWidth. | | AF_IMAGE_HEIGHT | Indicates the AFImageHeight. | | AF_AREA_WIDTH | Indicates the AFAreaWidth. | | AF_AREA_HEIGHT | Indicates the AFAreaHeight. | | AF_AREA_X_POSITIONS | Indicates the AFAreaXPositions. | | AF_AREA_Y_POSITIONS | Indicates the AFAreaYPositions. | | AF_POINTS_IN_FOCUS | Indicates the AFPointsInFocus. | | PRIMARY_AF_POINT_AF_INFO | Indicates the PrimaryAFPointAFInfo. | | PRIMARY_AF_POINT | Indicates the PrimaryAFPoint. | ### Cr2AFInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage.md #### Cr2AFInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2AFInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2AFInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2AFInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | num_af_points | Gets the NumAFPoints. | | valid_af_points | Gets the ValidAFPoints. | | canon_image_width | Gets the CanonImageWidth. | | canon_image_height | Gets the CanonImageHeight. | | af_image_width | Gets the AFImageWidth. | | af_image_height | Gets the AFImageHeight. | | af_area_width | Gets the AFAreaWidth. | | af_area_height | Gets the AFAreaHeight. | | af_area_x_positions | Gets the AFAreaXPositions. | | af_area_y_positions | Gets the AFAreaYPositions. | | af_points_in_focus | Gets the AFPointsInFocus. | | primary_af_point_af_info | Gets the PrimaryAFPointAFInfo. | | primary_af_point | Gets the PrimaryAFPoint. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2AFInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2AFInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2AFInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### af_area_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/af_area_height.md #### af_area_height property Gets the AFAreaHeight. ##### Definition: ```python @property def af_area_height(self): ... ``` ### af_area_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/af_area_width.md #### af_area_width property Gets the AFAreaWidth. ##### Definition: ```python @property def af_area_width(self): ... ``` ### af_area_x_positions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/af_area_x_positions.md #### af_area_x_positions property Gets the AFAreaXPositions. ##### Definition: ```python @property def af_area_x_positions(self): ... ``` ### af_area_y_positions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/af_area_y_positions.md #### af_area_y_positions property Gets the AFAreaYPositions. ##### Definition: ```python @property def af_area_y_positions(self): ... ``` ### af_image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/af_image_height.md #### af_image_height property Gets the AFImageHeight. ##### Definition: ```python @property def af_image_height(self): ... ``` ### af_image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/af_image_width.md #### af_image_width property Gets the AFImageWidth. ##### Definition: ```python @property def af_image_width(self): ... ``` ### af_points_in_focus property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/af_points_in_focus.md #### af_points_in_focus property Gets the AFPointsInFocus. ##### Definition: ```python @property def af_points_in_focus(self): ... ``` ### canon_image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/canon_image_height.md #### canon_image_height property Gets the CanonImageHeight. ##### Definition: ```python @property def canon_image_height(self): ... ``` ### canon_image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/canon_image_width.md #### canon_image_width property Gets the CanonImageWidth. ##### Definition: ```python @property def canon_image_width(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### num_af_points property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/num_af_points.md #### num_af_points property Gets the NumAFPoints. ##### Definition: ```python @property def num_af_points(self): ... ``` ### primary_af_point property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/primary_af_point.md #### primary_af_point property Gets the PrimaryAFPoint. ##### Definition: ```python @property def primary_af_point(self): ... ``` ### primary_af_point_af_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/primary_af_point_af_info.md #### primary_af_point_af_info property Gets the PrimaryAFPointAFInfo. ##### Definition: ```python @property def primary_af_point_af_info(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### valid_af_points property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afinfopackage/valid_af_points.md #### valid_af_points property Gets the ValidAFPoints. ##### Definition: ```python @property def valid_af_points(self): ... ``` ### Cr2AFMicroAdjIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjindex.md #### Cr2AFMicroAdjIndex enumeration Defines ids of Cr2AFMicroAdj tags. The Cr2AFMicroAdjIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | AF_MICRO_ADJ_MODE | Indicates the AFMicroAdjMode. | | AF_MICRO_ADJ_VALUE | Indicates the AFMicroAdjValue. | ### Cr2AFMicroAdjPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage.md #### Cr2AFMicroAdjPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2AFMicroAdjPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2AFMicroAdjPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2AFMicroAdjPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | af_micro_adj_mode | Gets the AFMicroAdjMode. | | af_micro_adj_value | Gets the AFMicroAdjValue. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2AFMicroAdjPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2AFMicroAdjPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2AFMicroAdjPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### af_micro_adj_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/af_micro_adj_mode.md #### af_micro_adj_mode property Gets the AFMicroAdjMode. ##### Definition: ```python @property def af_micro_adj_mode(self): ... ``` ### af_micro_adj_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/af_micro_adj_value.md #### af_micro_adj_value property Gets the AFMicroAdjValue. ##### Definition: ```python @property def af_micro_adj_value(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2afmicroadjpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2AspectInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfoindex.md #### Cr2AspectInfoIndex enumeration Defines ids of Cr2AspectInfo tags. The Cr2AspectInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ASPECT_RATIO | Indicates the AspectRatio. | | CROPPED_IMAGE_WIDTH | Indicates the CroppedImageWidth. | | CROPPED_IMAGE_HEIGHT | Indicates the CroppedImageHeight. | | CROPPED_IMAGE_LEFT | Indicates the CroppedImageLeft. | | CROPPED_IMAGE_TOP | Indicates the CroppedImageTop. | ### Cr2AspectInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage.md #### Cr2AspectInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2AspectInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2AspectInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2AspectInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | aspect_ratio | Gets the AspectRatio. | | cropped_image_width | Gets the CroppedImageWidth. | | cropped_image_height | Gets the CroppedImageHeight. | | cropped_image_left | Gets the CroppedImageLeft. | | cropped_image_top | Gets the CroppedImageTop. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2AspectInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2AspectInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2AspectInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### aspect_ratio property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/aspect_ratio.md #### aspect_ratio property Gets the AspectRatio. ##### Definition: ```python @property def aspect_ratio(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### cropped_image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/cropped_image_height.md #### cropped_image_height property Gets the CroppedImageHeight. ##### Definition: ```python @property def cropped_image_height(self): ... ``` ### cropped_image_left property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/cropped_image_left.md #### cropped_image_left property Gets the CroppedImageLeft. ##### Definition: ```python @property def cropped_image_left(self): ... ``` ### cropped_image_top property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/cropped_image_top.md #### cropped_image_top property Gets the CroppedImageTop. ##### Definition: ```python @property def cropped_image_top(self): ... ``` ### cropped_image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/cropped_image_width.md #### cropped_image_width property Gets the CroppedImageWidth. ##### Definition: ```python @property def cropped_image_width(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2aspectinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2CameraSettingsIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingsindex.md #### Cr2CameraSettingsIndex enumeration Defines ids of Cr2CameraSettings tags. The Cr2CameraSettingsIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | MACRO_MODE | Indicates the MacroMode. | | SELF_TIMER | Indicates the SelfTimer. | | QUALITY | Indicates the Quality. | | CANON_FLASH_MODE | Indicates the CanonFlashMode. | | CONTINUOUS_DRIVE | Indicates the ContinuousDrive. | | UNKNOWN2 | Unknown tag. | | FOCUS_MODE | Indicates the FocusMode. | | UNKNOWN3 | Unknown tag. | | RECORD_MODE | Indicates the RecordMode. | | CANON_IMAGE_SIZE | Indicates the CanonImageSize. | | EASY_MODE | Indicates the EasyMode. | | DIGITAL_ZOOM | Indicates the DigitalZoom. | | CONTRAST | Indicates the Contrast. | | SATURATION | Indicates the Saturation. | | SHARPNESS | Indicates the Sharpness. | | CAMERA_ISO | Indicates the CameraIso. | | METERING_MODE | Indicates the MeteringMode. | | FOCUS_RANGE | Indicates the FocusRange. | | AF_POINT | Indicates the AFPoint. | | CANON_EXPOSURE_MODE | Indicates the CanonExposureMode. | | UNKNOWN4 | Unknown tag. | | LENS_TYPE | Indicates the LensType. | | MAX_FOCAL_LENGTH | Indicates the MaxFocalLength. | | MIN_FOCAL_LENGTH | Indicates the MinFocalLength. | | FOCAL_UNITS | Indicates the FocalUnits. | | MAX_APERTURE | Indicates the MaxAperture. | | MIN_APERTURE | Indicates the MinAperture. | | FLASH_ACTIVITY | Indicates the FlashActivity. | | FLASH_BITS | Indicates the FlashBits. | | FOCUS_CONTINUOUS | Indicates the FocusContinuous. | | AE_SETTING | Indicates the AESetting. | | IMAGE_STABILIZATION | Indicates the ImageStabilization. | | DISPLAY_APERTURE | Indicates the DisplayAperture. | | ZOOM_SOURCE_WIDTH | Indicates the ZoomSourceWidth. | | ZOOM_TARGET_WIDTH | Indicates the ZoomTargetWidth. | | UNKNOWN5 | Unknown tag. | | SPOT_METERING_MODE | Indicates the SpotMeteringMode. | | PHOTO_EFFECT | Indicates the PhotoEffect. | | MANUAL_FLASH_OUTPUT | Indicates the ManualFlashOutput. | | UNKNOWN6 | Unknown tag. | | COLOR_TONE | Indicates the ColorTone. | | UNKNOWN7 | Unknown tag. | | UNKNOWN8 | Unknown tag. | | UNKNOWN9 | Unknown tag. | | SRAW_QUALITY | Indicates the SRAWQuality. | | UNKNOWN10 | Unknown tag. | | UNKNOWN11 | Unknown tag. | | UNKNOWN12 | Unknown tag. | ### Cr2CameraSettingsPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage.md #### Cr2CameraSettingsPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2CameraSettingsPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2CameraSettingsPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2CameraSettingsPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | macro_mode | Gets the MacroMode. | | self_timer | Gets the SelfTimer. | | quality | Gets the Quality. | | canon_flash_mode | Gets the CanonFlashMode. | | continuous_drive | Gets the ContinuousDrive. | | focus_mode | Gets the FocusMode. | | record_mode | Gets the RecordMode. | | canon_image_size | Gets the CanonImageSize. | | easy_mode | Gets the EasyMode. | | digital_zoom | Gets the DigitalZoom. | | contrast | Gets the Contrast. | | saturation | Gets the Saturation. | | sharpness | Gets the Sharpness. | | camera_iso | Gets the CameraIso. | | metering_mode | Gets the MeteringMode. | | focus_range | Gets the FocusRange. | | af_point | Gets the AFPoint. | | canon_exposure_mode | Gets the CanonExposureMode. | | lens_type | Gets the LensType. | | max_focal_length | Gets the MaxFocalLength. | | min_focal_length | Gets the MinFocalLength. | | focal_units | Gets the FocalUnits. | | max_aperture | Gets the MaxAperture. | | min_aperture | Gets the MinAperture. | | flash_activity | Gets the FlashActivity. | | flash_bits | Gets the FlashBits. | | focus_continuous | Gets the FocusContinuous. | | ae_setting | Gets the AESetting. | | image_stabilization | Gets the ImageStabilization. | | display_aperture | Gets the DisplayAperture. | | zoom_source_width | Gets the ZoomSourceWidth. | | zoom_target_width | Gets the ZoomTargetWidth. | | spot_metering_mode | Gets the SpotMeteringMode. | | photo_effect | Gets the PhotoEffect. | | manual_flash_output | Gets the ManualFlashOutput. | | color_tone | Gets the ColorTone. | | sraw_quality | Gets the SRAWQuality. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2CameraSettingsPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2CameraSettingsPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2CameraSettingsPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### ae_setting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/ae_setting.md #### ae_setting property Gets the AESetting. ##### Definition: ```python @property def ae_setting(self): ... ``` ### af_point property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/af_point.md #### af_point property Gets the AFPoint. ##### Definition: ```python @property def af_point(self): ... ``` ### camera_iso property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/camera_iso.md #### camera_iso property Gets the CameraIso. ##### Definition: ```python @property def camera_iso(self): ... ``` ### canon_exposure_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/canon_exposure_mode.md #### canon_exposure_mode property Gets the CanonExposureMode. ##### Definition: ```python @property def canon_exposure_mode(self): ... ``` ### canon_flash_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/canon_flash_mode.md #### canon_flash_mode property Gets the CanonFlashMode. ##### Definition: ```python @property def canon_flash_mode(self): ... ``` ### canon_image_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/canon_image_size.md #### canon_image_size property Gets the CanonImageSize. ##### Definition: ```python @property def canon_image_size(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### color_tone property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/color_tone.md #### color_tone property Gets the ColorTone. ##### Definition: ```python @property def color_tone(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### continuous_drive property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/continuous_drive.md #### continuous_drive property Gets the ContinuousDrive. ##### Definition: ```python @property def continuous_drive(self): ... ``` ### contrast property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/contrast.md #### contrast property Gets the Contrast. ##### Definition: ```python @property def contrast(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_zoom property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/digital_zoom.md #### digital_zoom property Gets the DigitalZoom. ##### Definition: ```python @property def digital_zoom(self): ... ``` ### display_aperture property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/display_aperture.md #### display_aperture property Gets the DisplayAperture. ##### Definition: ```python @property def display_aperture(self): ... ``` ### easy_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/easy_mode.md #### easy_mode property Gets the EasyMode. ##### Definition: ```python @property def easy_mode(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flash_activity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/flash_activity.md #### flash_activity property Gets the FlashActivity. ##### Definition: ```python @property def flash_activity(self): ... ``` ### flash_bits property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/flash_bits.md #### flash_bits property Gets the FlashBits. ##### Definition: ```python @property def flash_bits(self): ... ``` ### focal_units property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focal_units.md #### focal_units property Gets the FocalUnits. ##### Definition: ```python @property def focal_units(self): ... ``` ### focus_continuous property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focus_continuous.md #### focus_continuous property Gets the FocusContinuous. ##### Definition: ```python @property def focus_continuous(self): ... ``` ### focus_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focus_mode.md #### focus_mode property Gets the FocusMode. ##### Definition: ```python @property def focus_mode(self): ... ``` ### focus_range property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/focus_range.md #### focus_range property Gets the FocusRange. ##### Definition: ```python @property def focus_range(self): ... ``` ### image_stabilization property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/image_stabilization.md #### image_stabilization property Gets the ImageStabilization. ##### Definition: ```python @property def image_stabilization(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lens_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/lens_type.md #### lens_type property Gets the LensType. ##### Definition: ```python @property def lens_type(self): ... ``` ### macro_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/macro_mode.md #### macro_mode property Gets the MacroMode. ##### Definition: ```python @property def macro_mode(self): ... ``` ### manual_flash_output property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/manual_flash_output.md #### manual_flash_output property Gets the ManualFlashOutput. ##### Definition: ```python @property def manual_flash_output(self): ... ``` ### max_aperture property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/max_aperture.md #### max_aperture property Gets the MaxAperture. ##### Definition: ```python @property def max_aperture(self): ... ``` ### max_focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/max_focal_length.md #### max_focal_length property Gets the MaxFocalLength. ##### Definition: ```python @property def max_focal_length(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### metering_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/metering_mode.md #### metering_mode property Gets the MeteringMode. ##### Definition: ```python @property def metering_mode(self): ... ``` ### min_aperture property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/min_aperture.md #### min_aperture property Gets the MinAperture. ##### Definition: ```python @property def min_aperture(self): ... ``` ### min_focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/min_focal_length.md #### min_focal_length property Gets the MinFocalLength. ##### Definition: ```python @property def min_focal_length(self): ... ``` ### photo_effect property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/photo_effect.md #### photo_effect property Gets the PhotoEffect. ##### Definition: ```python @property def photo_effect(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/quality.md #### quality property Gets the Quality. ##### Definition: ```python @property def quality(self): ... ``` ### record_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/record_mode.md #### record_mode property Gets the RecordMode. ##### Definition: ```python @property def record_mode(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/saturation.md #### saturation property Gets the Saturation. ##### Definition: ```python @property def saturation(self): ... ``` ### self_timer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/self_timer.md #### self_timer property Gets the SelfTimer. ##### Definition: ```python @property def self_timer(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/sharpness.md #### sharpness property Gets the Sharpness. ##### Definition: ```python @property def sharpness(self): ... ``` ### spot_metering_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/spot_metering_mode.md #### spot_metering_mode property Gets the SpotMeteringMode. ##### Definition: ```python @property def spot_metering_mode(self): ... ``` ### sraw_quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/sraw_quality.md #### sraw_quality property Gets the SRAWQuality. ##### Definition: ```python @property def sraw_quality(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### zoom_source_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/zoom_source_width.md #### zoom_source_width property Gets the ZoomSourceWidth. ##### Definition: ```python @property def zoom_source_width(self): ... ``` ### zoom_target_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2camerasettingspackage/zoom_target_width.md #### zoom_target_width property Gets the ZoomTargetWidth. ##### Definition: ```python @property def zoom_target_width(self): ... ``` ### Cr2ColorBalanceIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalanceindex.md #### Cr2ColorBalanceIndex enumeration Defines ids of Cr2ColorBalance tags. The Cr2ColorBalanceIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | WB_RGGB_LEVELS_AUTO | Indicates the WB_RGGBLevelsAuto. | | WB_RGGB_LEVELS_DAYLIGHT | Indicates the WB_RGGBLevelsDaylight. | | WB_RGGB_LEVELS_SHADE | Indicates the WB_RGGBLevelsShade. | | WB_RGGB_LEVELS_CLOUDY | Indicates the WB_RGGBLevelsCloudy. | | WB_RGGB_LEVELS_TUNGSTEN | Indicates the WB_RGGBLevelsTungsten. | | WB_RGGB_LEVELS_FLUORESCENT | Indicates the WB_RGGBLevelsFluorescent. | | WB_RGGB_LEVELS_FLASH | Indicates the WB_RGGBLevelsFlash. | | WB_RGGB_LEVELS_KELVIN | Indicates the WB_RGGBLevelsKelvin. | | WB_RGGB_BLACK_LEVELS | Indicates the WB_RGGBBlackLevels. | ### Cr2ColorBalancePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage.md #### Cr2ColorBalancePackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2ColorBalancePackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2ColorBalancePackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2ColorBalancePackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | wb_rggb_levels_auto | Gets the WB_RGGBLevelsAuto. | | wb_rggb_levels_daylight | Gets the WB_RGGBLevelsDaylight. | | wb_rggb_levels_shade | Gets the WB_RGGBLevelsShade. | | wb_rggb_levels_cloudy | Gets the WB_RGGBLevelsCloudy. | | wb_rggb_levels_tungsten | Gets the WB_RGGBLevelsTungsten. | | wb_rggb_levels_fluorescent | Gets the WB_RGGBLevelsFluorescent. | | wb_rggb_levels_flash | Gets the WB_RGGBLevelsFlash. | | wb_rggb_levels_kelvin | Gets the WB_RGGBLevelsKelvin. | | wb_rggb_black_levels | Gets the WB_RGGBBlackLevels. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2ColorBalancePackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2ColorBalancePackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2ColorBalancePackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### wb_rggb_black_levels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_black_levels.md #### wb_rggb_black_levels property Gets the WB_RGGBBlackLevels. ##### Definition: ```python @property def wb_rggb_black_levels(self): ... ``` ### wb_rggb_levels_auto property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_auto.md #### wb_rggb_levels_auto property Gets the WB_RGGBLevelsAuto. ##### Definition: ```python @property def wb_rggb_levels_auto(self): ... ``` ### wb_rggb_levels_cloudy property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_cloudy.md #### wb_rggb_levels_cloudy property Gets the WB_RGGBLevelsCloudy. ##### Definition: ```python @property def wb_rggb_levels_cloudy(self): ... ``` ### wb_rggb_levels_daylight property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_daylight.md #### wb_rggb_levels_daylight property Gets the WB_RGGBLevelsDaylight. ##### Definition: ```python @property def wb_rggb_levels_daylight(self): ... ``` ### wb_rggb_levels_flash property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_flash.md #### wb_rggb_levels_flash property Gets the WB_RGGBLevelsFlash. ##### Definition: ```python @property def wb_rggb_levels_flash(self): ... ``` ### wb_rggb_levels_fluorescent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_fluorescent.md #### wb_rggb_levels_fluorescent property Gets the WB_RGGBLevelsFluorescent. ##### Definition: ```python @property def wb_rggb_levels_fluorescent(self): ... ``` ### wb_rggb_levels_kelvin property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_kelvin.md #### wb_rggb_levels_kelvin property Gets the WB_RGGBLevelsKelvin. ##### Definition: ```python @property def wb_rggb_levels_kelvin(self): ... ``` ### wb_rggb_levels_shade property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_shade.md #### wb_rggb_levels_shade property Gets the WB_RGGBLevelsShade. ##### Definition: ```python @property def wb_rggb_levels_shade(self): ... ``` ### wb_rggb_levels_tungsten property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorbalancepackage/wb_rggb_levels_tungsten.md #### wb_rggb_levels_tungsten property Gets the WB_RGGBLevelsTungsten. ##### Definition: ```python @property def wb_rggb_levels_tungsten(self): ... ``` ### Cr2ColorInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfoindex.md #### Cr2ColorInfoIndex enumeration Defines ids of Cr2ColorInfo tags. The Cr2ColorInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | SATURATION | Indicates the Saturation. | | COLOR_TONE | Indicates the ColorTone. | | COLOR_SPACE | Indicates the ColorSpace. | ### Cr2ColorInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage.md #### Cr2ColorInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2ColorInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2ColorInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2ColorInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | saturation | Gets the Saturation. | | color_tone | Gets the ColorTone. | | color_space | Gets the ColorSpace. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2ColorInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2ColorInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2ColorInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### color_space property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/color_space.md #### color_space property Gets the ColorSpace. ##### Definition: ```python @property def color_space(self): ... ``` ### color_tone property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/color_tone.md #### color_tone property Gets the ColorTone. ##### Definition: ```python @property def color_tone(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/saturation.md #### saturation property Gets the Saturation. ##### Definition: ```python @property def saturation(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2colorinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2CropInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfoindex.md #### Cr2CropInfoIndex enumeration Defines ids of Cr2CropInfo tags. The Cr2CropInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | CROP_LEFT_MARGIN | Indicates the CropLeftMargin. | | CROP_RIGHT_MARGIN | Indicates the CropRightMargin. | | CROP_TOP_MARGIN | Indicates the CropTopMargin. | | CROP_BOTTOM_MARGIN | Indicates the CropBottomMargin. | ### Cr2CropInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage.md #### Cr2CropInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2CropInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2CropInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2CropInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | crop_left_margin | Gets the CropLeftMargin. | | crop_right_margin | Gets the CropRightMargin. | | crop_top_margin | Gets the CropTopMargin. | | crop_bottom_margin | Gets the CropBottomMargin. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2CropInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2CropInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2CropInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### crop_bottom_margin property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/crop_bottom_margin.md #### crop_bottom_margin property Gets the CropBottomMargin. ##### Definition: ```python @property def crop_bottom_margin(self): ... ``` ### crop_left_margin property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/crop_left_margin.md #### crop_left_margin property Gets the CropLeftMargin. ##### Definition: ```python @property def crop_left_margin(self): ... ``` ### crop_right_margin property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/crop_right_margin.md #### crop_right_margin property Gets the CropRightMargin. ##### Definition: ```python @property def crop_right_margin(self): ... ``` ### crop_top_margin property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/crop_top_margin.md #### crop_top_margin property Gets the CropTopMargin. ##### Definition: ```python @property def crop_top_margin(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2cropinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2FileInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfoindex.md #### Cr2FileInfoIndex enumeration Defines ids of Cr2FileInfo tags. The Cr2FileInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | FILE_NUMBER_OR_SHUTTER_COUNT | Indicates the FileNumber or ShutterCount. | | BRACKET_MODE | Indicates the BracketMode. | | BRACKET_VALUE | Indicates the BracketValue. | | BRACKET_SHOT_NUMBER | Indicates the BracketShotNumber. | | RAW_JPG_QUALITY | Indicates the RawJpgQuality. | | RAW_JPG_SIZE | Indicates the RawJpgSize. | | LONG_EXPOSURE_NOISE_REDUCTION2 | Indicates the LongExposureNoiseReduction2. | | WB_BRACKET_MODE | Indicates the WBBracketMode. | | UNKNOWN2 | Unknown tag. | | UNKNOWN3 | Unknown tag. | | WB_BRACKET_VALUE_AB | Indicates the WBBracketValueAB. | | WB_BRACKET_VALUE_GM | Indicates the WBBracketValueGM. | | FILTER_EFFECT | Indicates the FilterEffect. | | TONING_EFFECT | Indicates the ToningEffect. | | MACRO_MAGNIFICATION | Indicates the MacroMagnification. | | UNKNOWN4 | Unknown tag. | | UNKNOWN5 | Unknown tag. | | LIVE_VIEW_SHOOTING | Indicates the LiveViewShooting. | | FOCUS_DISTANCE_UPPER | Indicates the FocusDistanceUpper. | | FOCUS_DISTANCE_LOWER | Indicates the FocusDistanceLower. | | SHUTTER_MODE | Indicates the ShutterMode. | | FLASH_EXPOSURE_LOCK | Indicates the FlashExposureLock. | | RF_LENS_TYPE | Indicates the RFLensType. | ### Cr2FileInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage.md #### Cr2FileInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2FileInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2FileInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2FileInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | size | Gets the Size. | | file_number_or_shutter_count | Gets the FileNumberOrShutterCount. | | bracket_mode | Gets the BracketMode. | | bracket_value | Gets the BracketValue. | | bracket_shot_number | Gets the BracketShotNumber. | | raw_jpg_quality | Gets the RawJpgQuality. | | raw_jpg_size | Gets the RawJpgSize. | | long_exposure_noise_reduction2 | Gets the LongExposureNoiseReduction2. | | wb_bracket_mode | Gets the WBBracketMode. | | wb_bracket_value_ab | Gets the WBBracketValueAB. | | wb_bracket_value_gm | Gets the WBBracketValueGM. | | filter_effect | Gets the FilterEffect. | | toning_effect | Gets the ToningEffect. | | macro_magnification | Gets the MacroMagnification. | | live_view_shooting | Gets the LiveViewShooting. | | focus_distance_upper | Gets the FocusDistanceUpper. | | focus_distance_lower | Gets the FocusDistanceLower. | | shutter_mode | Gets the ShutterMode. | | flash_exposure_lock | Gets the FlashExposureLock. | | rf_lens_type | Gets the RFLensType. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2FileInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2FileInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2FileInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bracket_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/bracket_mode.md #### bracket_mode property Gets the BracketMode. ##### Definition: ```python @property def bracket_mode(self): ... ``` ### bracket_shot_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/bracket_shot_number.md #### bracket_shot_number property Gets the BracketShotNumber. ##### Definition: ```python @property def bracket_shot_number(self): ... ``` ### bracket_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/bracket_value.md #### bracket_value property Gets the BracketValue. ##### Definition: ```python @property def bracket_value(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_number_or_shutter_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/file_number_or_shutter_count.md #### file_number_or_shutter_count property Gets the FileNumberOrShutterCount. ##### Definition: ```python @property def file_number_or_shutter_count(self): ... ``` ### filter_effect property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/filter_effect.md #### filter_effect property Gets the FilterEffect. ##### Definition: ```python @property def filter_effect(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flash_exposure_lock property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/flash_exposure_lock.md #### flash_exposure_lock property Gets the FlashExposureLock. ##### Definition: ```python @property def flash_exposure_lock(self): ... ``` ### focus_distance_lower property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/focus_distance_lower.md #### focus_distance_lower property Gets the FocusDistanceLower. ##### Definition: ```python @property def focus_distance_lower(self): ... ``` ### focus_distance_upper property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/focus_distance_upper.md #### focus_distance_upper property Gets the FocusDistanceUpper. ##### Definition: ```python @property def focus_distance_upper(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### live_view_shooting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/live_view_shooting.md #### live_view_shooting property Gets the LiveViewShooting. ##### Definition: ```python @property def live_view_shooting(self): ... ``` ### long_exposure_noise_reduction2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/long_exposure_noise_reduction2.md #### long_exposure_noise_reduction2 property Gets the LongExposureNoiseReduction2. ##### Definition: ```python @property def long_exposure_noise_reduction2(self): ... ``` ### macro_magnification property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/macro_magnification.md #### macro_magnification property Gets the MacroMagnification. ##### Definition: ```python @property def macro_magnification(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_jpg_quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/raw_jpg_quality.md #### raw_jpg_quality property Gets the RawJpgQuality. ##### Definition: ```python @property def raw_jpg_quality(self): ... ``` ### raw_jpg_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/raw_jpg_size.md #### raw_jpg_size property Gets the RawJpgSize. ##### Definition: ```python @property def raw_jpg_size(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### rf_lens_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/rf_lens_type.md #### rf_lens_type property Gets the RFLensType. ##### Definition: ```python @property def rf_lens_type(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shutter_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/shutter_mode.md #### shutter_mode property Gets the ShutterMode. ##### Definition: ```python @property def shutter_mode(self): ... ``` ### size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/size.md #### size property Gets the Size. ##### Definition: ```python @property def size(self): ... @size.setter def size(self, value): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### toning_effect property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/toning_effect.md #### toning_effect property Gets the ToningEffect. ##### Definition: ```python @property def toning_effect(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### wb_bracket_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/wb_bracket_mode.md #### wb_bracket_mode property Gets the WBBracketMode. ##### Definition: ```python @property def wb_bracket_mode(self): ... ``` ### wb_bracket_value_ab property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/wb_bracket_value_ab.md #### wb_bracket_value_ab property Gets the WBBracketValueAB. ##### Definition: ```python @property def wb_bracket_value_ab(self): ... ``` ### wb_bracket_value_gm property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2fileinfopackage/wb_bracket_value_gm.md #### wb_bracket_value_gm property Gets the WBBracketValueGM. ##### Definition: ```python @property def wb_bracket_value_gm(self): ... ``` ### Cr2FilterInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2filterinfoindex.md #### Cr2FilterInfoIndex enumeration Defines ids of Cr2FilterInfo tags. The Cr2FilterInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | GRAINY_BW_FILTER | Indicates the GrainyBWFilter. | | SOFT_FOCUS_FILTER | Indicates the SoftFocusFilter. | | TOY_CAMERA_FILTER | Indicates the ToyCameraFilter. | | MINIATURE_FILTER | Indicates the MiniatureFilter. | | MINIATURE_FILTER_ORIENTATION | Indicates the MiniatureFilterOrientation. | | MINIATURE_FILTER_POSITION | Indicates the MiniatureFilterPosition. | | MINIATURE_FILTER_PARAMETER | Indicates the MiniatureFilterParameter. | | FISHEYE_FILTER | Indicates the FisheyeFilter. | | PAINTING_FILTER | Indicates the PaintingFilter. | | WATERCOLOR_FILTER | Indicates the WatercolorFilter. | ### Cr2FocalLengthIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthindex.md #### Cr2FocalLengthIndex enumeration Defines ids of Cr2FocalLength tags. The Cr2FocalLengthIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | FOCAL_TYPE | Indicates the FocalType. | | FOCAL_LENGTH | Indicates the FocalLength. | | FOCAL_PLANE_X_SIZE | Indicates the FocalPlaneXSize. | | FOCAL_PLANE_Y_SIZE | Indicates the FocalPlaneYSize. | ### Cr2FocalLengthPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage.md #### Cr2FocalLengthPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2FocalLengthPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2FocalLengthPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2FocalLengthPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | focal_type | Gets the FocalType. | | focal_length | Gets the FocalLength. | | focal_plane_x_size | Gets the FocalPlaneXSize. | | focal_plane_y_size | Gets the FocalPlaneYSize. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2FocalLengthPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2FocalLengthPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2FocalLengthPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focal_length.md #### focal_length property Gets the FocalLength. ##### Definition: ```python @property def focal_length(self): ... ``` ### focal_plane_x_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focal_plane_x_size.md #### focal_plane_x_size property Gets the FocalPlaneXSize. ##### Definition: ```python @property def focal_plane_x_size(self): ... ``` ### focal_plane_y_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focal_plane_y_size.md #### focal_plane_y_size property Gets the FocalPlaneYSize. ##### Definition: ```python @property def focal_plane_y_size(self): ... ``` ### focal_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/focal_type.md #### focal_type property Gets the FocalType. ##### Definition: ```python @property def focal_type(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2focallengthpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2Functions1DIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dindex.md #### Cr2Functions1DIndex enumeration Defines ids of Cr2Functions1D tags. The Cr2Functions1DIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | FOCUSING_SCREEN | Indicates the FocusingScreen. | | FINDER_DISPLAY_DURING_EXPOSURE | Indicates the FinderDisplayDuringExposure. | | SHUTTER_RELEASE_NO_CF_CARD | Indicates the ShutterReleaseNoCFCard. | | ISO_SPEED_EXPANSION | Indicates the ISOSpeedExpansion. | | SHUTTER_AEL_BUTTON | Indicates the ShutterAELButton. | | MANUAL_TV | Indicates the ManualTv. | | EXPOSURE_LEVEL_INCREMENTS | Indicates the ExposureLevelIncrements. | | USM_LENS_ELECTRONIC_MF | Indicates the USMLensElectronicMF. | | LCD_PANELS | Indicates the LCDPanels. | | AEB_SEQUENCE_AUTO_CANCEL | Indicates the AEBSequenceAutoCancel. | | AF_POINT_ILLUMINATION | Indicates the AFPointIllumination. | | AF_POINT_SELECTION | Indicates the AFPointSelection. | | MIRROR_LOCKUP | Indicates the MirrorLockup. | | AF_POINT_SPOT_METERING | Indicates the AFPointSpotMetering. | | FILL_FLASH_AUTO_REDUCTION | Indicates the FillFlashAutoReduction. | | SHUTTER_CURTAIN_SYNC | Indicates the ShutterCurtainSync. | | SAFETY_SHIFT_IN_AV_OR_TV | Indicates the SafetyShiftInAvOrTv. | | AF_POINT_ACTIVATION_AREA | Indicates the AFPointActivationArea. | | SWITCH_TO_REGISTERED_AF_POINT | Indicates the SwitchToRegisteredAFPoint. | | LENS_AF_STOP_BUTTON | Indicates the LensAFStopButton. | | AI_SERVO_TRACKING_SENSITIVITY | Indicates the AIServoTrackingSensitivity. | | AI_SERVO_CONTINUOUS_SHOOTING | Indicates the AIServoContinuousShooting. | ### Cr2Functions1DPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage.md #### Cr2Functions1DPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2Functions1DPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2Functions1DPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2Functions1DPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | focusing_screen | Gets the FocusingScreen. | | finder_display_during_exposure | Gets the FinderDisplayDuringExposure. | | shutter_release_no_cf_card | Gets the ShutterReleaseNoCFCard. | | iso_speed_expansion | Gets the ISOSpeedExpansion. | | shutter_ael_button | Gets the ShutterAELButton. | | manual_tv | Gets the ManualTv. | | exposure_level_increments | Gets the ExposureLevelIncrements. | | usm_lens_electronic_mf | Gets the USMLensElectronicMF. | | lcd_panels | Gets the LCDPanels. | | aeb_sequence_auto_cancel | Gets the AEBSequenceAutoCancel. | | af_point_illumination | Gets the AFPointIllumination. | | af_point_selection | Gets the AFPointSelection. | | mirror_lockup | Gets the MirrorLockup. | | af_point_spot_metering | Gets the AFPointSpotMetering. | | fill_flash_auto_reduction | Gets the FillFlashAutoReduction. | | shutter_curtain_sync | Gets the ShutterCurtainSync. | | safety_shift_in_av_or_tv | Gets the SafetyShiftInAvOrTv. | | af_point_activation_area | Gets the AFPointActivationArea. | | switch_to_registered_af_point | Gets the SwitchToRegisteredAFPoint. | | lens_af_stop_button | Gets the LensAFStopButton. | | ai_servo_tracking_sensitivity | Gets the AIServoTrackingSensitivity. | | ai_servo_continuous_shooting | Gets the AIServoContinuousShooting. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2Functions1DPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2Functions1DPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2Functions1DPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### aeb_sequence_auto_cancel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/aeb_sequence_auto_cancel.md #### aeb_sequence_auto_cancel property Gets the AEBSequenceAutoCancel. ##### Definition: ```python @property def aeb_sequence_auto_cancel(self): ... ``` ### af_point_activation_area property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/af_point_activation_area.md #### af_point_activation_area property Gets the AFPointActivationArea. ##### Definition: ```python @property def af_point_activation_area(self): ... ``` ### af_point_illumination property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/af_point_illumination.md #### af_point_illumination property Gets the AFPointIllumination. ##### Definition: ```python @property def af_point_illumination(self): ... ``` ### af_point_selection property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/af_point_selection.md #### af_point_selection property Gets the AFPointSelection. ##### Definition: ```python @property def af_point_selection(self): ... ``` ### af_point_spot_metering property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/af_point_spot_metering.md #### af_point_spot_metering property Gets the AFPointSpotMetering. ##### Definition: ```python @property def af_point_spot_metering(self): ... ``` ### ai_servo_continuous_shooting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/ai_servo_continuous_shooting.md #### ai_servo_continuous_shooting property Gets the AIServoContinuousShooting. ##### Definition: ```python @property def ai_servo_continuous_shooting(self): ... ``` ### ai_servo_tracking_sensitivity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/ai_servo_tracking_sensitivity.md #### ai_servo_tracking_sensitivity property Gets the AIServoTrackingSensitivity. ##### Definition: ```python @property def ai_servo_tracking_sensitivity(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exposure_level_increments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/exposure_level_increments.md #### exposure_level_increments property Gets the ExposureLevelIncrements. ##### Definition: ```python @property def exposure_level_increments(self): ... ``` ### fill_flash_auto_reduction property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/fill_flash_auto_reduction.md #### fill_flash_auto_reduction property Gets the FillFlashAutoReduction. ##### Definition: ```python @property def fill_flash_auto_reduction(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### finder_display_during_exposure property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/finder_display_during_exposure.md #### finder_display_during_exposure property Gets the FinderDisplayDuringExposure. ##### Definition: ```python @property def finder_display_during_exposure(self): ... ``` ### focusing_screen property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/focusing_screen.md #### focusing_screen property Gets the FocusingScreen. ##### Definition: ```python @property def focusing_screen(self): ... ``` ### iso_speed_expansion property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/iso_speed_expansion.md #### iso_speed_expansion property Gets the ISOSpeedExpansion. ##### Definition: ```python @property def iso_speed_expansion(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lcd_panels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/lcd_panels.md #### lcd_panels property Gets the LCDPanels. ##### Definition: ```python @property def lcd_panels(self): ... ``` ### lens_af_stop_button property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/lens_af_stop_button.md #### lens_af_stop_button property Gets the LensAFStopButton. ##### Definition: ```python @property def lens_af_stop_button(self): ... ``` ### manual_tv property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/manual_tv.md #### manual_tv property Gets the ManualTv. ##### Definition: ```python @property def manual_tv(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mirror_lockup property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/mirror_lockup.md #### mirror_lockup property Gets the MirrorLockup. ##### Definition: ```python @property def mirror_lockup(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### safety_shift_in_av_or_tv property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/safety_shift_in_av_or_tv.md #### safety_shift_in_av_or_tv property Gets the SafetyShiftInAvOrTv. ##### Definition: ```python @property def safety_shift_in_av_or_tv(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shutter_ael_button property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/shutter_ael_button.md #### shutter_ael_button property Gets the ShutterAELButton. ##### Definition: ```python @property def shutter_ael_button(self): ... ``` ### shutter_curtain_sync property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/shutter_curtain_sync.md #### shutter_curtain_sync property Gets the ShutterCurtainSync. ##### Definition: ```python @property def shutter_curtain_sync(self): ... ``` ### shutter_release_no_cf_card property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/shutter_release_no_cf_card.md #### shutter_release_no_cf_card property Gets the ShutterReleaseNoCFCard. ##### Definition: ```python @property def shutter_release_no_cf_card(self): ... ``` ### switch_to_registered_af_point property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/switch_to_registered_af_point.md #### switch_to_registered_af_point property Gets the SwitchToRegisteredAFPoint. ##### Definition: ```python @property def switch_to_registered_af_point(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### usm_lens_electronic_mf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions1dpackage/usm_lens_electronic_mf.md #### usm_lens_electronic_mf property Gets the USMLensElectronicMF. ##### Definition: ```python @property def usm_lens_electronic_mf(self): ... ``` ### Cr2Functions2Index enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2functions2index.md #### Cr2Functions2Index enumeration Defines ids of Cr2Functions2 tags. The Cr2Functions2Index type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | EXPOSURE_LEVEL_INCREMENTS | Indicates the ExposureLevelIncrements. | | ISO_SPEED_INCREMENTS | Indicates the ISOSpeedIncrements. | | ISO_SPEED_RANGE | Indicates the ISOSpeedRange. | | AEB_AUTO_CANCEL | Indicates the AEBAutoCancel. | | AEB_SEQUENCE | Indicates the AEBSequence. | | AEB_SHOT_COUNT | Indicates the AEBShotCount. | | SPOT_METER_LINK_TO_AF_POINT | Indicates the SpotMeterLinkToAFPoint. | | SAFETY_SHIFT | Indicates the SafetyShift. | | USABLE_SHOOTING_MODES | Indicates the UsableShootingModes. | | USABLE_METERING_MODES | Indicates the UsableMeteringModes. | | EXPOSURE_MODE_IN_MANUAL | Indicates the ExposureModeInManual. | | SHUTTER_SPEED_RANGE | Indicates the ShutterSpeedRange. | | APERTURE_RANGE | Indicates the ApertureRange. | | APPLY_SHOOTING_METERING_MODE | Indicates the ApplyShootingMeteringMode. | | FLASH_SYNC_SPEED_AV | Indicates the FlashSyncSpeedAv. | | AE_MICROADJUSTMENT | Indicates the AEMicroadjustment. | | FE_MICROADJUSTMENT | Indicates the FEMicroadjustment. | | SAME_EXPOSURE_FOR_NEW_APERTURE | Indicates the SameExposureForNewAperture. | | EXPOSURE_COMP_AUTO_CANCEL | Indicates the ExposureCompAutoCancel. | | AE_LOCK_METER_MODE_AFTER_FOCUS | Indicates the AELockMeterModeAfterFocus. | | UNKNOWN2 | Unknown tag. | | LONG_EXPOSURE_NOISE_REDUCTION | Indicates the LongExposureNoiseReduction. | | HIGH_ISO_NOISE_REDUCTION | Indicates the HighISONoiseReduction. | | HIGHLIGHT_TONE_PRIORITY | Indicates the HighlightTonePriority. | | AUTO_LIGHTING_OPTIMIZER | Indicates the AutoLightingOptimizer. | | ETTLII | Indicates the ETTLII. | | SHUTTER_CURTAIN_SYNC | Indicates the ShutterCurtainSync. | | FLASH_FIRING | Indicates the FlashFiring. | | VIEW_INFO_DURING_EXPOSURE | Indicates the ViewInfoDuringExposure. | | LCD_ILLUMINATION_DURING_BULB | Indicates the LCDIlluminationDuringBulb. | | INFO_BUTTON_WHEN_SHOOTING | Indicates the InfoButtonWhenShooting. | | VIEWFINDER_WARNINGS | Indicates the ViewfinderWarnings. | | LV_SHOOTING_AREA_DISPLAY | Indicates the LVShootingAreaDisplay. | | LV_SHOOTING_AREA_DISPLAY2 | Indicates the LVShootingAreaDisplay2. | | UNKNOWN3 | Unknown tag. | | USM_LENS_ELECTRONIC_MF | Indicates the USMLensElectronicMF. | | AI_SERVO_TRACKING_SENSITIVITY | Indicates the AIServoTrackingSensitivity. | | AI_SERVO_IMAGE_PRIORITY | Indicates the AIServoImagePriority. | | AI_SERVO_TRACKING_METHOD | Indicates the AIServoTrackingMethod. | | LENS_DRIVE_NO_AF | Indicates the LensDriveNoAF. | | LENS_AF_STOP_BUTTON | Indicates the LensAFStopButton. | | AF_MICROADJUSTMENT | Indicates the AFMicroadjustment. | | AF_POINT_AREA_EXPANSION | Indicates the AFPointAreaExpansion. | | SELECTABLE_AF_POINT | Indicates the SelectableAFPoint. | | SWITCH_TO_REGISTERED_AF_POINT | Indicates the SwitchToRegisteredAFPoint. | | AF_POINT_AUTO_SELECTION | Indicates the AFPointAutoSelection. | | AF_POINT_DISPLAY_DURING_FOCUS | Indicates the AFPointDisplayDuringFocus. | | AF_POINT_BRIGHTNESS | Indicates the AFPointBrightness. | | AF_ASSIST_BEAM | Indicates the AFAssistBeam. | | AF_POINT_SELECTION_METHOD | Indicates the AFPointSelectionMethod. | | AF_DURING_LIVE_VIEW | Indicates the AFDuringLiveView. | | SELECT_AF_AREA_SELECT_MODE | Indicates the SelectAFAreaSelectMode. | | MANUAL_AF_POINT_SELECT_PATTERN | Indicates the ManualAFPointSelectPattern. | | DISPLAY_ALL_AF_POINTS | Indicates the DisplayAllAFPoints. | | FOCUS_DISPLAY_AI_SERVO_AND_MF | Indicates the FocusDisplayAIServoAndMF. | | ORIENTATION_LINKED_AF_POINT | Indicates the OrientationLinkedAFPoint. | | MULTI_CONTROLLER_WHILE_METERING | Indicates the MultiControllerWhileMetering. | | ACCELERATION_TRACKING | Indicates the AccelerationTracking. | | AI_SERVO_FIRST_IMAGE_PRIORITY | Indicates the AIServoFirstImagePriority. | | AI_SERVO_SECOND_IMAGE_PRIORITY | Indicates the AIServoSecondImagePriority. | | AF_AREA_SELECT_METHOD | Indicates the AFAreaSelectMethod. | | AUTO_AF_POINT_COLOR_TRACKING | Indicates the AutoAFPointColorTracking. | | VF_DISPLAY_ILLUMINATION | Indicates the VFDisplayIllumination. | | INITIAL_AF_POINT_AI_SERVO_AF | Indicates the InitialAFPointAIServoAF. | | MIRROR_LOCKUP | Indicates the MirrorLockup. | | CONTINUOUS_SHOOTING_SPEED | Indicates the ContinuousShootingSpeed. | | CONTINUOUS_SHOT_LIMIT | Indicates the ContinuousShotLimit. | | RESTRICT_DRIVE_MODES | Indicates the RestrictDriveModes. | | SHUTTER_AE_LOCK | Indicates the ShutterAELock. | | AF_ON_AE_LOCK_BUTTON_SWITCH | Indicates the AFOnAELockButtonSwitch. | | QUICK_CONTROL_DIAL_IN_METER | Indicates the QuickControlDialInMeter. | | SET_BUTTON_WHEN_SHOOTING | Indicates the SetButtonWhenShooting. | | MANUAL_TV | Indicates the ManualTv. | | DIAL_DIRECTION_TV_AV | Indicates the DialDirectionTvAv. | | AV_SETTING_WITHOUT_LENS | Indicates the AvSettingWithoutLens. | | WB_MEDIA_IMAGE_SIZE_SETTING | Indicates the WBMediaImageSizeSetting. | | LOCK_MICROPHONE_BUTTON | Indicates the LockMicrophoneButton. | | BUTTON_FUNCTION_CONTROL_OFF | Indicates the ButtonFunctionControlOff. | | ASSIGN_FUNC_BUTTON | Indicates the AssignFuncButton. | | CUSTOM_CONTROLS | Indicates the CustomControls. | | START_MOVIE_SHOOTING | Indicates the StartMovieShooting. | | FLASH_BUTTON_FUNCTION | Indicates the FlashButtonFunction. | | MULTI_FUNCTION_LOCK | Indicates the MultiFunctionLock. | | TRASH_BUTTON_FUNCTION | Indicates the TrashButtonFunction. | | SHUTTER_RELEASE_WITHOUT_LENS | Indicates the ShutterReleaseWithoutLens. | | CONTROL_RING_ROTATION | Indicates the ControlRingRotation. | | FOCUS_RING_ROTATION | Indicates the FocusRingRotation. | | RF_LENS_MF_FOCUS_RING_SENSITIVITY | Indicates the RFLensMFFocusRingSensitivity. | | CUSTOMIZE_DIALS | Indicates the CustomizeDials. | | FOCUSING_SCREEN | Indicates the FocusingScreen. | | TIMER_LENGTH | Indicates the TimerLength. | | SHORT_RELEASE_TIME_LAG | Indicates the ShortReleaseTimeLag. | | ADD_ASPECT_RATIO_INFO | Indicates the AddAspectRatioInfo. | | ADD_ORIGINAL_DECISION_DATA | Indicates the AddOriginalDecisionData. | | LIVE_VIEW_EXPOSURE_SIMULATION | Indicates the LiveViewExposureSimulation. | | LCD_DISPLAY_AT_POWER_ON | Indicates the LCDDisplayAtPowerOn. | | MEMO_AUDIO_QUALITY | Indicates the MemoAudioQuality. | | DEFAULT_ERASE_OPTION | Indicates the DefaultEraseOption. | | RETRACT_LENS_ON_POWER_OFF | Indicates the RetractLensOnPowerOff. | | ADD_IPTC_INFORMATION | Indicates the AddIPTCInformation. | | AUDIO_COMPRESSION | Indicates the AudioCompression. | ### Cr2LightingOptIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptindex.md #### Cr2LightingOptIndex enumeration Defines ids of Cr2LightingOpt tags. The Cr2LightingOptIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | PERIPHERAL_ILLUMINATION_CORR | Indicates the PeripheralIlluminationCorr. | | AUTO_LIGHTING_OPTIMIZER | Indicates the AutoLightingOptimizer. | | HIGHLIGHT_TONE_PRIORITY | Indicates the HighlightTonePriority. | | LONG_EXPOSURE_NOISE_REDUCTION | Indicates the LongExposureNoiseReduction. | | HIGH_ISO_NOISE_REDUCTION | Indicates the HighISONoiseReduction. | | DIGITAL_LENS_OPTIMIZER | Indicates the DigitalLensOptimizer. | ### Cr2LightingOptPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage.md #### Cr2LightingOptPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2LightingOptPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2LightingOptPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2LightingOptPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | size | Gets the Size. | | peripheral_illumination_corr | Gets the PeripheralIlluminationCorr. | | auto_lighting_optimizer | Gets the AutoLightingOptimizer. | | highlight_tone_priority | Gets the HighlightTonePriority. | | long_exposure_noise_reduction | Gets the LongExposureNoiseReduction. | | high_iso_noise_reduction | Gets the HighISONoiseReduction. | | digital_lens_optimizer | Gets the DigitalLensOptimizer. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2LightingOptPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2LightingOptPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2LightingOptPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### auto_lighting_optimizer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/auto_lighting_optimizer.md #### auto_lighting_optimizer property Gets the AutoLightingOptimizer. ##### Definition: ```python @property def auto_lighting_optimizer(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_lens_optimizer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/digital_lens_optimizer.md #### digital_lens_optimizer property Gets the DigitalLensOptimizer. ##### Definition: ```python @property def digital_lens_optimizer(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### high_iso_noise_reduction property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/high_iso_noise_reduction.md #### high_iso_noise_reduction property Gets the HighISONoiseReduction. ##### Definition: ```python @property def high_iso_noise_reduction(self): ... ``` ### highlight_tone_priority property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/highlight_tone_priority.md #### highlight_tone_priority property Gets the HighlightTonePriority. ##### Definition: ```python @property def highlight_tone_priority(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### long_exposure_noise_reduction property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/long_exposure_noise_reduction.md #### long_exposure_noise_reduction property Gets the LongExposureNoiseReduction. ##### Definition: ```python @property def long_exposure_noise_reduction(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### peripheral_illumination_corr property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/peripheral_illumination_corr.md #### peripheral_illumination_corr property Gets the PeripheralIlluminationCorr. ##### Definition: ```python @property def peripheral_illumination_corr(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/size.md #### size property Gets the Size. ##### Definition: ```python @property def size(self): ... @size.setter def size(self, value): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2lightingoptpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2LogInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfoindex.md #### Cr2LogInfoIndex enumeration Defines ids of Cr2LogInfo tags. The Cr2LogInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | COMPRESSION_FORMAT | Indicates the CompressionFormat. | | SHARPNESS | Indicates the Sharpness. | | SATURATION | Indicates the Saturation. | | COLOR_TONE | Indicates the ColorTone. | | COLOR_SPACE2 | Indicates the ColorSpace2. | | COLOR_MATRIX | Indicates the ColorMatrix. | | CANON_LOG_VERSION | Indicates the CanonLogVersion. | ### Cr2LogInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage.md #### Cr2LogInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2LogInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2LogInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2LogInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | compression_format | Gets the CompressionFormat. | | sharpness | Gets the Sharpness. | | saturation | Gets the Saturation. | | color_tone | Gets the ColorTone. | | color_space2 | Gets the ColorSpace2. | | color_matrix | Gets the ColorMatrix. | | canon_log_version | Gets the CanonLogVersion. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2LogInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2LogInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2LogInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### canon_log_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/canon_log_version.md #### canon_log_version property Gets the CanonLogVersion. ##### Definition: ```python @property def canon_log_version(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### color_matrix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/color_matrix.md #### color_matrix property Gets the ColorMatrix. ##### Definition: ```python @property def color_matrix(self): ... ``` ### color_space2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/color_space2.md #### color_space2 property Gets the ColorSpace2. ##### Definition: ```python @property def color_space2(self): ... ``` ### color_tone property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/color_tone.md #### color_tone property Gets the ColorTone. ##### Definition: ```python @property def color_tone(self): ... ``` ### compression_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/compression_format.md #### compression_format property Gets the CompressionFormat. ##### Definition: ```python @property def compression_format(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/saturation.md #### saturation property Gets the Saturation. ##### Definition: ```python @property def saturation(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/sharpness.md #### sharpness property Gets the Sharpness. ##### Definition: ```python @property def sharpness(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2loginfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2MakerNoteIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernoteindex.md #### Cr2MakerNoteIndex enumeration Defines ids of Cr2MakerNote tags. The Cr2MakerNoteIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | CAMERA_SETTINGS | Indicates the CameraSettings. | | FOCAL_LENGTH | Indicates the FocalLength. | | SHOT_INFO | Indicates the ShotInfo. | | PANORAMA | Indicates the Panorama. | | IMAGE_TYPE | Indicates the ImageType. | | FIRMWARE_VERSION | Indicates the FirmwareVersion. | | FILE_NUMBER | Indicates the FileNumber. | | OWNER_NAME | Indicates the OwnerName. | | SERIAL_NUMBER | Indicates the SerialNumber. | | CAMERA_INFO | Indicates the CameraInfo. | | FILE_LENGTH | Indicates the FileLength. | | CUSTOM_FUNCTIONS | Indicates the CustomFunctions. | | MODEL_ID | Indicates the ModelID. | | MOVIE_INFO | Indicates the MovieInfo. | | CANON_AF_INFO | Indicates the CanonAFInfo. | | THUMBNAIL_IMAGE_VALID_AREA | Indicates the ThumbnailImageValidArea. | | SERIAL_NUMBER_FORMAT | Indicates the SerialNumberFormat. | | SUPER_MACRO | Indicates the SuperMacro. | | DATE_STAMP_MODE | Indicates the DateStampMode. | | MY_COLORS | Indicates the MyColors. | | CATEGORIES | Indicates the Categories. | | FACE_DETECT1 | Indicates the FaceDetect1. | | FACE_DETECT2 | Indicates the FaceDetect2. | | CANON_AF_INFO2 | Indicates the CanonAFInfo2. | | CONTRAST_INFO | Indicates the ContrastInfo. | | IMAGE_UNIQUE_ID | Indicates the ImageUniqueID. | | WB_INFO | Indicates the WBInfo. | | FACE_DETECT3 | Indicates the FaceDetect3. | | TIME_INFO | Indicates the TimeInfo. | | BATTERY_TYPE | Indicates the BatteryType. | | AF_INFO3 | Indicates the AFInfo3. | | RAW_DATA_OFFSET | Indicates the RawDataOffset. | | ORIGINAL_DECISION_DATA_OFFSET | Indicates the OriginalDecisionDataOffset. | | CUSTOM_FUNCTIONS_1D | Indicates the CustomFunctions1D. | | PERSONAL_FUNCTIONS | Indicates the PersonalFunctions. | | PERSONAL_FUNCTION_VALUES | Indicates the PersonalFunctionValues. | | CANON_FILE_INFO | Indicates the CanonFileInfo. | | AF_POINTS_IN_FOCUS_1D | Indicates the AFPointsInFocus1D. | | LENS_MODEL | Indicates the LensModel. | | SERIAL_INFO | Indicates the SerialInfo. | | DUST_REMOVAL_DATA | Indicates the DustRemovalData. | | CROP_INFO | Indicates the CropInfo. | | CUSTOM_FUNCTIONS2 | Indicates the CustomFunctions2. | | ASPECT_INFO | Indicates the AspectInfo. | | PROCESSING_INFO | Indicates the ProcessingInfo. | | TONE_CURVE_TABLE | Indicates the ToneCurveTable. | | SHARPNESS_TABLE | Indicates the SharpnessTable. | | SHARPNESS_FREQ_TABLE | Indicates the SharpnessFreqTable. | | WHITE_BALANCE_TABLE | Indicates the WhiteBalanceTable. | | COLOR_BALANCE | Indicates the ColorBalance. | | MEASURED_COLOR | Indicates the MeasuredColor. | | COLOR_TEMPERATURE | Indicates the ColorTemperature. | | CANON_FLAGS | Indicates the CanonFlags. | | MODIFIED_INFO | Indicates the ModifiedInfo. | | TONE_CURVE_MATCHING | Indicates the ToneCurveMatching. | | WHITE_BALANCE_MATCHING | Indicates the WhiteBalanceMatching. | | COLOR_SPACE | Indicates the ColorSpace. | | PREVIEW_IMAGE_INFO | Indicates the PreviewImageInfo. | | VRD_OFFSET | Indicates the VRDOffset. | | SENSOR_INFO | Indicates the SensorInfo. | | COLOR_DATA1 | Indicates the ColorData1. | | CRW_PARAM | Indicates the CRWParam. | | COLOR_INFO | Indicates the ColorInfo. | | FLAVOR | Indicates the Flavor. | | PICTURE_STYLE_USER_DEF | Indicates the PictureStyleUserDef. | | PICTURE_STYLE_PC | Indicates the PictureStylePC. | | CUSTOM_PICTURE_STYLE_FILE_NAME | Indicates the CustomPictureStyleFileName. | | AF_MICRO_ADJ | Indicates the AFMicroAdj. | | VIGNETTING_CORR | Indicates the VignettingCorr. | | VIGNETTING_CORR2 | Indicates the VignettingCorr2. | | LIGHTING_OPT | Indicates the LightingOpt. | | LENS_INFO | Indicates the LensInfo. | | AMBIENCE_INFO | Indicates the AmbienceInfo. | | MULTI_EXP | Indicates the MultiExp. | | FILTER_INFO | Indicates the FilterInfo. | | HDR_INFO | Indicates the HDRInfo. | | LOG_INFO | Indicates the LogInfo. | | AF_CONFIG | Indicates the AFConfig. | | RAW_BURST_MODE_ROLL | Indicates the RawBurstModeRoll. | ### Cr2MakerNotePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage.md #### Cr2MakerNotePackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2MakerNotePackage` → `RawMakerNotePackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2MakerNotePackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2MakerNotePackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | cr_2_camera_settings_package | Gets the CanonCameraSettings. | | camera_settings | Gets the CanonCameraSettings Offset. | | cr_2_focal_length_package | Gets the CanonFocalLength. | | cr_2_focal_length | Gets the CanonCameraSettings Offset. | | cr_2_shot_info_package | Gets the CanonShotInfo. | | cr_2_shot_info | Gets the CanonCameraSettings Offset. | | cr_2_panorama_package | Gets the CanonPanorama. | | cr_2_panorama | Gets the CanonCameraSettings Offset. | | cr_2_movie_info_package | Gets the MovieInfo (Tags written by some Canon cameras when recording video). | | cr_2_movie_info | Gets the CanonCameraSettings Offset. | | cr_2af_info_2_package | Gets the AFInfo3 (Newer version of the AFInfo record). | | cr_2af_info_2 | Gets the CanonCameraSettings Offset. | | cr_2wb_info_package | Gets the WBInfo (WB tags for the Canon G9). | | cr_2wb_info | Gets the CanonCameraSettings Offset. | | cr_2_time_info_package | Gets the TimeInfo. | | cr_2_time_info | Gets the CanonCameraSettings Offset. | | cr_2af_info_3_package | Gets the AFInfo3. | | cr_2af_info_3 | Gets the CanonCameraSettings Offset. | | cr_2_functions_1d_package | Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). | | cr_2_functions_1d | Gets the CanonCameraSettings Offset. | | cr_2_personal_funcs_package | Gets the PersonalFunctions (Personal function settings for the EOS-1D.). | | cr_2_personal_funcs | Gets the CanonCameraSettings Offset. | | cr_2_personal_func_values_package | Gets the PersonalFunctionValues. | | cr_2_personal_func_values | Gets the CanonCameraSettings Offset. | | cr_2_file_info_package | Not used in this version. Gets the CanonFileInfo. | | cr_2_file_info | Gets the CanonCameraSettings Offset. | | cr_2_crop_info_package | Gets the CropInfo. | | cr_2_crop_info | Gets the CanonCameraSettings Offset. | | cr_2_aspect_info_package | Gets the AspectInfo. | | cr_2_aspect_info | Gets the CanonCameraSettings Offset. | | cr_2_processing_package | Gets the ProcessingInfo. | | cr_2_processing | Gets the CanonCameraSettings Offset. | | cr_2_color_balance_package | Gets the ColorBalance (These tags are used by the 10D and 300D.). | | cr_2_color_balance | Gets the CanonCameraSettings Offset. | | cr_2_modified_info_package | Gets the MeasuredColor. | | cr_2_modified_info | Gets the CanonCameraSettings Offset. | | cr_2_sensor_info_package | Gets the SensorInfo. | | cr_2_sensor_info | Gets the CanonCameraSettings Offset. | | cr_2_color_info_package | Gets the ColorInfo. | | cr_2_color_info | Gets the CanonCameraSettings Offset. | | cr_2af_micro_adj_package | Gets the AFMicroAdj. | | cr_2af_micro_adj | Gets the CanonCameraSettings Offset. | | cr_2_lighting_opt_package | Gets the LightingOpt (This information is new in images from the EOS 7D.). | | cr_2_lighting_opt | Gets the CanonCameraSettings Offset. | | cr_2_multi_exp_package | Gets the MultiExp. | | cr_2_multi_exp | Gets the CanonCameraSettings Offset. | | cr_2_log_info_package | Gets the LogInfo. | | cr_2_log_info | Gets the CanonCameraSettings Offset. | | cr_2af_config_package | Gets the AFConfig. | | cr_2af_config | Gets the CanonCameraSettings Offset. | | image_type | Gets the ImageType. | | firmware_version | Gets the FirmwareVersion. | | file_number | Gets the FileNumber. | | owner_name | Gets the OwnerName. | | serial_number | Gets the SerialNumber. | | file_length | Gets the FileLength. | | model_id | Gets the ModelID. | | thumbnail_image_valid_area | Gets the ThumbnailImageValidArea. | | serial_number_format | Gets the SerialNumberFormat. | | super_macro | Gets the SuperMacro. | | date_stamp_mode | Gets the DateStampMode. | | my_colors | Gets the MyColors. | | contrast_info | Gets the ContrastInfo. | | categories | Gets the Categories. | | image_unique_id | Gets the ImageUniqueID. | | original_decision_data_offset | Gets the OriginalDecisionDataOffset. | | lens_model | Gets the LensModel. | | internal_serial_number | Gets the InternalSerialNumber. | | color_temperature | Gets the ColorTemperature. | | measured_color | Gets the MeasuredColor. | | color_space | Gets the ColorSpace. | | canon_flags | Gets the CanonFlags. | | vrd_offset | Gets the VRDOffset. | | picture_style_user_def | Gets the PictureStyleUserDef. | | picture_style_pc | Gets the PictureStylePC. | | custom_picture_style_file_name | Gets the CustomPictureStyleFileName. | | lens_info | Gets the LensInfo. | | ambience_info | Gets the LensInfo. | | camera_info | Gets the CameraInfo. | | custom_functions | Gets the CustomFunctions. | | face_detect1 | Gets the FaceDetect1. | | face_detect2 | Gets the FaceDetect2. | | face_detect3 | Gets the FaceDetect3. | | preview_image_info | Gets the PreviewImageInfo. | | color_data1 | Gets the ColorData1. | | vignetting_corr | Gets the VignettingCorr. | | hdr_info | Gets the HDRInfo. | | raw_burst_mode_roll | Gets the RawBurstModeRoll. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2MakerNotePackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2MakerNotePackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2MakerNotePackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### ambience_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/ambience_info.md #### ambience_info property Gets the LensInfo. ##### Definition: ```python @property def ambience_info(self): ... @ambience_info.setter def ambience_info(self, value): ... ``` ### camera_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/camera_info.md #### camera_info property Gets the CameraInfo. ##### Definition: ```python @property def camera_info(self): ... @camera_info.setter def camera_info(self, value): ... ``` ### camera_settings property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/camera_settings.md #### camera_settings property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def camera_settings(self): ... @camera_settings.setter def camera_settings(self, value): ... ``` ### canon_flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/canon_flags.md #### canon_flags property Gets the CanonFlags. ##### Definition: ```python @property def canon_flags(self): ... @canon_flags.setter def canon_flags(self, value): ... ``` ### categories property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/categories.md #### categories property Gets the Categories. ##### Definition: ```python @property def categories(self): ... @categories.setter def categories(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### color_data1 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/color_data1.md #### color_data1 property Gets the ColorData1. ##### Definition: ```python @property def color_data1(self): ... @color_data1.setter def color_data1(self, value): ... ``` ### color_space property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/color_space.md #### color_space property Gets the ColorSpace. ##### Definition: ```python @property def color_space(self): ... @color_space.setter def color_space(self, value): ... ``` ### color_temperature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/color_temperature.md #### color_temperature property Gets the ColorTemperature. ##### Definition: ```python @property def color_temperature(self): ... @color_temperature.setter def color_temperature(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contrast_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/contrast_info.md #### contrast_info property Gets the ContrastInfo. ##### Definition: ```python @property def contrast_info(self): ... @contrast_info.setter def contrast_info(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### cr_2_aspect_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_aspect_info.md #### cr_2_aspect_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_aspect_info(self): ... @cr_2_aspect_info.setter def cr_2_aspect_info(self, value): ... ``` ### cr_2_aspect_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_aspect_info_package.md #### cr_2_aspect_info_package property Gets the AspectInfo. ##### Definition: ```python @property def cr_2_aspect_info_package(self): ... @cr_2_aspect_info_package.setter def cr_2_aspect_info_package(self, value): ... ``` ### cr_2_camera_settings_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_camera_settings_package.md #### cr_2_camera_settings_package property Gets the CanonCameraSettings. ##### Definition: ```python @property def cr_2_camera_settings_package(self): ... @cr_2_camera_settings_package.setter def cr_2_camera_settings_package(self, value): ... ``` ### cr_2_color_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_color_balance.md #### cr_2_color_balance property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_color_balance(self): ... @cr_2_color_balance.setter def cr_2_color_balance(self, value): ... ``` ### cr_2_color_balance_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_color_balance_package.md #### cr_2_color_balance_package property Gets the ColorBalance (These tags are used by the 10D and 300D.). ##### Definition: ```python @property def cr_2_color_balance_package(self): ... @cr_2_color_balance_package.setter def cr_2_color_balance_package(self, value): ... ``` ### cr_2_color_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_color_info.md #### cr_2_color_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_color_info(self): ... @cr_2_color_info.setter def cr_2_color_info(self, value): ... ``` ### cr_2_color_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_color_info_package.md #### cr_2_color_info_package property Gets the ColorInfo. ##### Definition: ```python @property def cr_2_color_info_package(self): ... @cr_2_color_info_package.setter def cr_2_color_info_package(self, value): ... ``` ### cr_2_crop_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_crop_info.md #### cr_2_crop_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_crop_info(self): ... @cr_2_crop_info.setter def cr_2_crop_info(self, value): ... ``` ### cr_2_crop_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_crop_info_package.md #### cr_2_crop_info_package property Gets the CropInfo. ##### Definition: ```python @property def cr_2_crop_info_package(self): ... @cr_2_crop_info_package.setter def cr_2_crop_info_package(self, value): ... ``` ### cr_2_file_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_file_info.md #### cr_2_file_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_file_info(self): ... @cr_2_file_info.setter def cr_2_file_info(self, value): ... ``` ### cr_2_file_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_file_info_package.md #### cr_2_file_info_package property Not used in this version. Gets the CanonFileInfo. ##### Definition: ```python @property def cr_2_file_info_package(self): ... @cr_2_file_info_package.setter def cr_2_file_info_package(self, value): ... ``` ### cr_2_focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_focal_length.md #### cr_2_focal_length property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_focal_length(self): ... @cr_2_focal_length.setter def cr_2_focal_length(self, value): ... ``` ### cr_2_focal_length_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_focal_length_package.md #### cr_2_focal_length_package property Gets the CanonFocalLength. ##### Definition: ```python @property def cr_2_focal_length_package(self): ... @cr_2_focal_length_package.setter def cr_2_focal_length_package(self, value): ... ``` ### cr_2_functions_1d property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_functions_1d.md #### cr_2_functions_1d property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_functions_1d(self): ... @cr_2_functions_1d.setter def cr_2_functions_1d(self, value): ... ``` ### cr_2_functions_1d_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_functions_1d_package.md #### cr_2_functions_1d_package property Gets the CustomFunctions1D (These custom functions are used by all 1D models up to but not including the Mark III.). ##### Definition: ```python @property def cr_2_functions_1d_package(self): ... @cr_2_functions_1d_package.setter def cr_2_functions_1d_package(self, value): ... ``` ### cr_2_lighting_opt property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_lighting_opt.md #### cr_2_lighting_opt property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_lighting_opt(self): ... @cr_2_lighting_opt.setter def cr_2_lighting_opt(self, value): ... ``` ### cr_2_lighting_opt_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_lighting_opt_package.md #### cr_2_lighting_opt_package property Gets the LightingOpt (This information is new in images from the EOS 7D.). ##### Definition: ```python @property def cr_2_lighting_opt_package(self): ... @cr_2_lighting_opt_package.setter def cr_2_lighting_opt_package(self, value): ... ``` ### cr_2_log_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_log_info.md #### cr_2_log_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_log_info(self): ... @cr_2_log_info.setter def cr_2_log_info(self, value): ... ``` ### cr_2_log_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_log_info_package.md #### cr_2_log_info_package property Gets the LogInfo. ##### Definition: ```python @property def cr_2_log_info_package(self): ... @cr_2_log_info_package.setter def cr_2_log_info_package(self, value): ... ``` ### cr_2_modified_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_modified_info.md #### cr_2_modified_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_modified_info(self): ... @cr_2_modified_info.setter def cr_2_modified_info(self, value): ... ``` ### cr_2_modified_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_modified_info_package.md #### cr_2_modified_info_package property Gets the MeasuredColor. ##### Definition: ```python @property def cr_2_modified_info_package(self): ... @cr_2_modified_info_package.setter def cr_2_modified_info_package(self, value): ... ``` ### cr_2_movie_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_movie_info.md #### cr_2_movie_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_movie_info(self): ... @cr_2_movie_info.setter def cr_2_movie_info(self, value): ... ``` ### cr_2_movie_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_movie_info_package.md #### cr_2_movie_info_package property Gets the MovieInfo (Tags written by some Canon cameras when recording video). ##### Definition: ```python @property def cr_2_movie_info_package(self): ... @cr_2_movie_info_package.setter def cr_2_movie_info_package(self, value): ... ``` ### cr_2_multi_exp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_multi_exp.md #### cr_2_multi_exp property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_multi_exp(self): ... @cr_2_multi_exp.setter def cr_2_multi_exp(self, value): ... ``` ### cr_2_multi_exp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_multi_exp_package.md #### cr_2_multi_exp_package property Gets the MultiExp. ##### Definition: ```python @property def cr_2_multi_exp_package(self): ... @cr_2_multi_exp_package.setter def cr_2_multi_exp_package(self, value): ... ``` ### cr_2_panorama property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_panorama.md #### cr_2_panorama property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_panorama(self): ... @cr_2_panorama.setter def cr_2_panorama(self, value): ... ``` ### cr_2_panorama_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_panorama_package.md #### cr_2_panorama_package property Gets the CanonPanorama. ##### Definition: ```python @property def cr_2_panorama_package(self): ... @cr_2_panorama_package.setter def cr_2_panorama_package(self, value): ... ``` ### cr_2_personal_func_values property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_personal_func_values.md #### cr_2_personal_func_values property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_personal_func_values(self): ... @cr_2_personal_func_values.setter def cr_2_personal_func_values(self, value): ... ``` ### cr_2_personal_func_values_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_personal_func_values_package.md #### cr_2_personal_func_values_package property Gets the PersonalFunctionValues. ##### Definition: ```python @property def cr_2_personal_func_values_package(self): ... @cr_2_personal_func_values_package.setter def cr_2_personal_func_values_package(self, value): ... ``` ### cr_2_personal_funcs property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_personal_funcs.md #### cr_2_personal_funcs property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_personal_funcs(self): ... @cr_2_personal_funcs.setter def cr_2_personal_funcs(self, value): ... ``` ### cr_2_personal_funcs_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_personal_funcs_package.md #### cr_2_personal_funcs_package property Gets the PersonalFunctions (Personal function settings for the EOS-1D.). ##### Definition: ```python @property def cr_2_personal_funcs_package(self): ... @cr_2_personal_funcs_package.setter def cr_2_personal_funcs_package(self, value): ... ``` ### cr_2_processing property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_processing.md #### cr_2_processing property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_processing(self): ... @cr_2_processing.setter def cr_2_processing(self, value): ... ``` ### cr_2_processing_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_processing_package.md #### cr_2_processing_package property Gets the ProcessingInfo. ##### Definition: ```python @property def cr_2_processing_package(self): ... @cr_2_processing_package.setter def cr_2_processing_package(self, value): ... ``` ### cr_2_sensor_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_sensor_info.md #### cr_2_sensor_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_sensor_info(self): ... @cr_2_sensor_info.setter def cr_2_sensor_info(self, value): ... ``` ### cr_2_sensor_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_sensor_info_package.md #### cr_2_sensor_info_package property Gets the SensorInfo. ##### Definition: ```python @property def cr_2_sensor_info_package(self): ... @cr_2_sensor_info_package.setter def cr_2_sensor_info_package(self, value): ... ``` ### cr_2_shot_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_shot_info.md #### cr_2_shot_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_shot_info(self): ... @cr_2_shot_info.setter def cr_2_shot_info(self, value): ... ``` ### cr_2_shot_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_shot_info_package.md #### cr_2_shot_info_package property Gets the CanonShotInfo. ##### Definition: ```python @property def cr_2_shot_info_package(self): ... @cr_2_shot_info_package.setter def cr_2_shot_info_package(self, value): ... ``` ### cr_2_time_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_time_info.md #### cr_2_time_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2_time_info(self): ... @cr_2_time_info.setter def cr_2_time_info(self, value): ... ``` ### cr_2_time_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2_time_info_package.md #### cr_2_time_info_package property Gets the TimeInfo. ##### Definition: ```python @property def cr_2_time_info_package(self): ... @cr_2_time_info_package.setter def cr_2_time_info_package(self, value): ... ``` ### cr_2af_config property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_config.md #### cr_2af_config property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2af_config(self): ... @cr_2af_config.setter def cr_2af_config(self, value): ... ``` ### cr_2af_config_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_config_package.md #### cr_2af_config_package property Gets the AFConfig. ##### Definition: ```python @property def cr_2af_config_package(self): ... @cr_2af_config_package.setter def cr_2af_config_package(self, value): ... ``` ### cr_2af_info_2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_info_2.md #### cr_2af_info_2 property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2af_info_2(self): ... @cr_2af_info_2.setter def cr_2af_info_2(self, value): ... ``` ### cr_2af_info_2_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_info_2_package.md #### cr_2af_info_2_package property Gets the AFInfo3 (Newer version of the AFInfo record). ##### Definition: ```python @property def cr_2af_info_2_package(self): ... @cr_2af_info_2_package.setter def cr_2af_info_2_package(self, value): ... ``` ### cr_2af_info_3 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_info_3.md #### cr_2af_info_3 property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2af_info_3(self): ... @cr_2af_info_3.setter def cr_2af_info_3(self, value): ... ``` ### cr_2af_info_3_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_info_3_package.md #### cr_2af_info_3_package property Gets the AFInfo3. ##### Definition: ```python @property def cr_2af_info_3_package(self): ... @cr_2af_info_3_package.setter def cr_2af_info_3_package(self, value): ... ``` ### cr_2af_micro_adj property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_micro_adj.md #### cr_2af_micro_adj property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2af_micro_adj(self): ... @cr_2af_micro_adj.setter def cr_2af_micro_adj(self, value): ... ``` ### cr_2af_micro_adj_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2af_micro_adj_package.md #### cr_2af_micro_adj_package property Gets the AFMicroAdj. ##### Definition: ```python @property def cr_2af_micro_adj_package(self): ... @cr_2af_micro_adj_package.setter def cr_2af_micro_adj_package(self, value): ... ``` ### cr_2wb_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2wb_info.md #### cr_2wb_info property Gets the CanonCameraSettings Offset. ##### Definition: ```python @property def cr_2wb_info(self): ... @cr_2wb_info.setter def cr_2wb_info(self, value): ... ``` ### cr_2wb_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/cr_2wb_info_package.md #### cr_2wb_info_package property Gets the WBInfo (WB tags for the Canon G9). ##### Definition: ```python @property def cr_2wb_info_package(self): ... @cr_2wb_info_package.setter def cr_2wb_info_package(self, value): ... ``` ### custom_functions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/custom_functions.md #### custom_functions property Gets the CustomFunctions. ##### Definition: ```python @property def custom_functions(self): ... @custom_functions.setter def custom_functions(self, value): ... ``` ### custom_picture_style_file_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/custom_picture_style_file_name.md #### custom_picture_style_file_name property Gets the CustomPictureStyleFileName. ##### Definition: ```python @property def custom_picture_style_file_name(self): ... @custom_picture_style_file_name.setter def custom_picture_style_file_name(self, value): ... ``` ### date_stamp_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/date_stamp_mode.md #### date_stamp_mode property Gets the DateStampMode. ##### Definition: ```python @property def date_stamp_mode(self): ... @date_stamp_mode.setter def date_stamp_mode(self, value): ... ``` ### face_detect1 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/face_detect1.md #### face_detect1 property Gets the FaceDetect1. ##### Definition: ```python @property def face_detect1(self): ... @face_detect1.setter def face_detect1(self, value): ... ``` ### face_detect2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/face_detect2.md #### face_detect2 property Gets the FaceDetect2. ##### Definition: ```python @property def face_detect2(self): ... @face_detect2.setter def face_detect2(self, value): ... ``` ### face_detect3 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/face_detect3.md #### face_detect3 property Gets the FaceDetect3. ##### Definition: ```python @property def face_detect3(self): ... @face_detect3.setter def face_detect3(self, value): ... ``` ### file_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/file_length.md #### file_length property Gets the FileLength. ##### Definition: ```python @property def file_length(self): ... @file_length.setter def file_length(self, value): ... ``` ### file_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/file_number.md #### file_number property Gets the FileNumber. ##### Definition: ```python @property def file_number(self): ... @file_number.setter def file_number(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### firmware_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/firmware_version.md #### firmware_version property Gets the FirmwareVersion. ##### Definition: ```python @property def firmware_version(self): ... @firmware_version.setter def firmware_version(self, value): ... ``` ### hdr_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/hdr_info.md #### hdr_info property Gets the HDRInfo. ##### Definition: ```python @property def hdr_info(self): ... @hdr_info.setter def hdr_info(self, value): ... ``` ### image_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/image_type.md #### image_type property Gets the ImageType. ##### Definition: ```python @property def image_type(self): ... @image_type.setter def image_type(self, value): ... ``` ### image_unique_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/image_unique_id.md #### image_unique_id property Gets the ImageUniqueID. ##### Definition: ```python @property def image_unique_id(self): ... @image_unique_id.setter def image_unique_id(self, value): ... ``` ### internal_serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/internal_serial_number.md #### internal_serial_number property Gets the InternalSerialNumber. ##### Definition: ```python @property def internal_serial_number(self): ... @internal_serial_number.setter def internal_serial_number(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lens_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/lens_info.md #### lens_info property Gets the LensInfo. ##### Definition: ```python @property def lens_info(self): ... @lens_info.setter def lens_info(self, value): ... ``` ### lens_model property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/lens_model.md #### lens_model property Gets the LensModel. ##### Definition: ```python @property def lens_model(self): ... @lens_model.setter def lens_model(self, value): ... ``` ### measured_color property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/measured_color.md #### measured_color property Gets the MeasuredColor. ##### Definition: ```python @property def measured_color(self): ... @measured_color.setter def measured_color(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### model_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/model_id.md #### model_id property Gets the ModelID. ##### Definition: ```python @property def model_id(self): ... @model_id.setter def model_id(self, value): ... ``` ### my_colors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/my_colors.md #### my_colors property Gets the MyColors. ##### Definition: ```python @property def my_colors(self): ... @my_colors.setter def my_colors(self, value): ... ``` ### original_decision_data_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/original_decision_data_offset.md #### original_decision_data_offset property Gets the OriginalDecisionDataOffset. ##### Definition: ```python @property def original_decision_data_offset(self): ... @original_decision_data_offset.setter def original_decision_data_offset(self, value): ... ``` ### owner_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/owner_name.md #### owner_name property Gets the OwnerName. ##### Definition: ```python @property def owner_name(self): ... @owner_name.setter def owner_name(self, value): ... ``` ### picture_style_pc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/picture_style_pc.md #### picture_style_pc property Gets the PictureStylePC. ##### Definition: ```python @property def picture_style_pc(self): ... @picture_style_pc.setter def picture_style_pc(self, value): ... ``` ### picture_style_user_def property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/picture_style_user_def.md #### picture_style_user_def property Gets the PictureStyleUserDef. ##### Definition: ```python @property def picture_style_user_def(self): ... @picture_style_user_def.setter def picture_style_user_def(self, value): ... ``` ### preview_image_info property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/preview_image_info.md #### preview_image_info property Gets the PreviewImageInfo. ##### Definition: ```python @property def preview_image_info(self): ... @preview_image_info.setter def preview_image_info(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_burst_mode_roll property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/raw_burst_mode_roll.md #### raw_burst_mode_roll property Gets the RawBurstModeRoll. ##### Definition: ```python @property def raw_burst_mode_roll(self): ... @raw_burst_mode_roll.setter def raw_burst_mode_roll(self, value): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/serial_number.md #### serial_number property Gets the SerialNumber. ##### Definition: ```python @property def serial_number(self): ... @serial_number.setter def serial_number(self, value): ... ``` ### serial_number_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/serial_number_format.md #### serial_number_format property Gets the SerialNumberFormat. ##### Definition: ```python @property def serial_number_format(self): ... @serial_number_format.setter def serial_number_format(self, value): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### super_macro property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/super_macro.md #### super_macro property Gets the SuperMacro. ##### Definition: ```python @property def super_macro(self): ... @super_macro.setter def super_macro(self, value): ... ``` ### thumbnail_image_valid_area property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/thumbnail_image_valid_area.md #### thumbnail_image_valid_area property Gets the ThumbnailImageValidArea. ##### Definition: ```python @property def thumbnail_image_valid_area(self): ... @thumbnail_image_valid_area.setter def thumbnail_image_valid_area(self, value): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### vignetting_corr property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/vignetting_corr.md #### vignetting_corr property Gets the VignettingCorr. ##### Definition: ```python @property def vignetting_corr(self): ... @vignetting_corr.setter def vignetting_corr(self, value): ... ``` ### vrd_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2makernotepackage/vrd_offset.md #### vrd_offset property Gets the VRDOffset. ##### Definition: ```python @property def vrd_offset(self): ... @vrd_offset.setter def vrd_offset(self, value): ... ``` ### Cr2ModifiedInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfoindex.md #### Cr2ModifiedInfoIndex enumeration Defines ids of Cr2ModifiedInfo tags. The Cr2ModifiedInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | MODIFIED_TONE_CURVE | Indicates the ModifiedToneCurve. | | MODIFIED_SHARPNESS | Indicates the ModifiedSharpness. | | MODIFIED_SHARPNESS_FREQ | Indicates the ModifiedSharpnessFreq. | | MODIFIED_SENSOR_RED_LEVEL | Indicates the ModifiedSensorRedLevel. | | MODIFIED_SENSOR_BLUE_LEVEL | Indicates the ModifiedSensorBlueLevel. | | MODIFIED_WHITE_BALANCE_RED | Indicates the ModifiedWhiteBalanceRed. | | MODIFIED_WHITE_BALANCE_BLUE | Indicates the ModifiedWhiteBalanceBlue. | | MODIFIED_WHITE_BALANCE | Indicates the ModifiedWhiteBalance. | | MODIFIED_COLOR_TEMP | Indicates the ModifiedColorTemp. | | MODIFIED_PICTURE_STYLE | Indicates the ModifiedPictureStyle. | | MODIFIED_DIGITAL_GAIN | Indicates the ModifiedDigitalGain. | ### Cr2ModifiedInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage.md #### Cr2ModifiedInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2ModifiedInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2ModifiedInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2ModifiedInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | modified_tone_curve | Gets the ModifiedToneCurve. | | modified_sharpness | Gets the ModifiedSharpness. | | modified_sharpness_freq | Gets the ModifiedSharpnessFreq. | | modified_sensor_red_level | Gets the ModifiedSensorRedLevel. | | modified_sensor_blue_level | Gets the ModifiedSensorBlueLevel. | | modified_white_balance_red | Gets the ModifiedWhiteBalanceRed. | | modified_white_balance_blue | Gets the ModifiedWhiteBalanceBlue. | | modified_white_balance | Gets the ModifiedWhiteBalance. | | modified_color_temp | Gets the ModifiedColorTemp. | | modified_picture_style | Gets the ModifiedPictureStyle. | | modified_digital_gain | Gets the ModifiedDigitalGain. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2ModifiedInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2ModifiedInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2ModifiedInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modified_color_temp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_color_temp.md #### modified_color_temp property Gets the ModifiedColorTemp. ##### Definition: ```python @property def modified_color_temp(self): ... ``` ### modified_digital_gain property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_digital_gain.md #### modified_digital_gain property Gets the ModifiedDigitalGain. ##### Definition: ```python @property def modified_digital_gain(self): ... ``` ### modified_picture_style property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_picture_style.md #### modified_picture_style property Gets the ModifiedPictureStyle. ##### Definition: ```python @property def modified_picture_style(self): ... ``` ### modified_sensor_blue_level property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_sensor_blue_level.md #### modified_sensor_blue_level property Gets the ModifiedSensorBlueLevel. ##### Definition: ```python @property def modified_sensor_blue_level(self): ... ``` ### modified_sensor_red_level property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_sensor_red_level.md #### modified_sensor_red_level property Gets the ModifiedSensorRedLevel. ##### Definition: ```python @property def modified_sensor_red_level(self): ... ``` ### modified_sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_sharpness.md #### modified_sharpness property Gets the ModifiedSharpness. ##### Definition: ```python @property def modified_sharpness(self): ... ``` ### modified_sharpness_freq property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_sharpness_freq.md #### modified_sharpness_freq property Gets the ModifiedSharpnessFreq. ##### Definition: ```python @property def modified_sharpness_freq(self): ... ``` ### modified_tone_curve property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_tone_curve.md #### modified_tone_curve property Gets the ModifiedToneCurve. ##### Definition: ```python @property def modified_tone_curve(self): ... ``` ### modified_white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_white_balance.md #### modified_white_balance property Gets the ModifiedWhiteBalance. ##### Definition: ```python @property def modified_white_balance(self): ... ``` ### modified_white_balance_blue property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_white_balance_blue.md #### modified_white_balance_blue property Gets the ModifiedWhiteBalanceBlue. ##### Definition: ```python @property def modified_white_balance_blue(self): ... ``` ### modified_white_balance_red property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/modified_white_balance_red.md #### modified_white_balance_red property Gets the ModifiedWhiteBalanceRed. ##### Definition: ```python @property def modified_white_balance_red(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2modifiedinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2MovieInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfoindex.md #### Cr2MovieInfoIndex enumeration Defines ids of Cr2MovieInfo tags. The Cr2MovieInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | FRAME_RATE | Indicates the FrameRate. | | FRAME_COUNT | Indicates the FrameCount. | | FRAME_COUNT2 | Indicates the FrameCount2. | | FRAME_RATE2 | Indicates the FrameRate2. | | DURATION | Indicates the Duration. | | AUDIO_BITRATE | Indicates the AudioBitrate. | | AUDIO_SAMPLE_RATE | Indicates the AudioSampleRate. | | AUDIO_CHANNELS | Indicates the AudioChannels. | | VIDEO_CODEC | Indicates the VideoCodec. | ### Cr2MovieInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage.md #### Cr2MovieInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2MovieInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2MovieInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2MovieInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | frame_rate | Gets the FrameRate. | | frame_count | Gets the FrameCount. | | frame_count2 | Gets the FrameCount2. | | frame_rate2 | Gets the FrameRate2. | | duration | Gets the Duration. | | audio_bitrate | Gets the AudioBitrate. | | audio_sample_rate | Gets the AudioSampleRate. | | audio_channels | Gets the AudioChannels. | | video_codec | Gets the VideoCodec. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2MovieInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2MovieInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2MovieInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### audio_bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/audio_bitrate.md #### audio_bitrate property Gets the AudioBitrate. ##### Definition: ```python @property def audio_bitrate(self): ... ``` ### audio_channels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/audio_channels.md #### audio_channels property Gets the AudioChannels. ##### Definition: ```python @property def audio_channels(self): ... ``` ### audio_sample_rate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/audio_sample_rate.md #### audio_sample_rate property Gets the AudioSampleRate. ##### Definition: ```python @property def audio_sample_rate(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/duration.md #### duration property Gets the Duration. ##### Definition: ```python @property def duration(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### frame_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/frame_count.md #### frame_count property Gets the FrameCount. ##### Definition: ```python @property def frame_count(self): ... ``` ### frame_count2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/frame_count2.md #### frame_count2 property Gets the FrameCount2. ##### Definition: ```python @property def frame_count2(self): ... ``` ### frame_rate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/frame_rate.md #### frame_rate property Gets the FrameRate. ##### Definition: ```python @property def frame_rate(self): ... ``` ### frame_rate2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/frame_rate2.md #### frame_rate2 property Gets the FrameRate2. ##### Definition: ```python @property def frame_rate2(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### video_codec property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2movieinfopackage/video_codec.md #### video_codec property Gets the VideoCodec. ##### Definition: ```python @property def video_codec(self): ... ``` ### Cr2MultiExpIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexpindex.md #### Cr2MultiExpIndex enumeration Defines ids of Cr2MultiExp tags. The Cr2MultiExpIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | MULTI_EXPOSURE | Indicates the MultiExposure. | | MULTI_EXPOSURE_CONTROL | Indicates the MultiExposureControl. | | MULTI_EXPOSURE_SHOTS | Indicates the MultiExposureShots. | | UNKNOWN2 | Unknown tag. | ### Cr2MultiExpPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage.md #### Cr2MultiExpPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2MultiExpPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2MultiExpPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2MultiExpPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | multi_exposure | Gets the MultiExposure. | | multi_exposure_control | Gets the MultiExposureControl. | | multi_exposure_shots | Gets the MultiExposureShots. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2MultiExpPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2MultiExpPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2MultiExpPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### multi_exposure property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/multi_exposure.md #### multi_exposure property Gets the MultiExposure. ##### Definition: ```python @property def multi_exposure(self): ... ``` ### multi_exposure_control property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/multi_exposure_control.md #### multi_exposure_control property Gets the MultiExposureControl. ##### Definition: ```python @property def multi_exposure_control(self): ... ``` ### multi_exposure_shots property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/multi_exposure_shots.md #### multi_exposure_shots property Gets the MultiExposureShots. ##### Definition: ```python @property def multi_exposure_shots(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2multiexppackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package.md #### Cr2Package class Represents native CR2 metadata. **Inheritance:** `Cr2Package` → `RawPackage` → `CustomPackage` → `MetadataPackage` The Cr2Package type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | raw_tiff_tag_package | Gets the Tag Support Levels. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_tiff_tag_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/raw_tiff_tag_package.md #### raw_tiff_tag_package property Gets the Tag Support Levels. ##### Definition: ```python @property def raw_tiff_tag_package(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2PanoramaIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramaindex.md #### Cr2PanoramaIndex enumeration Defines ids of Cr2Panorama tags. The Cr2PanoramaIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PANORAMA_FRAME_NUMBER | Indicates the PanoramaFrameNumber. | | PANORAMA_DIRECTION | Indicates the PanoramaDirection. | ### Cr2PanoramaPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage.md #### Cr2PanoramaPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2PanoramaPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2PanoramaPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2PanoramaPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | panorama_frame_number | Gets the PanoramaFrameNumber. | | panorama_direction | Gets the PanoramaDirection. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2PanoramaPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2PanoramaPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2PanoramaPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### panorama_direction property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/panorama_direction.md #### panorama_direction property Gets the PanoramaDirection. ##### Definition: ```python @property def panorama_direction(self): ... ``` ### panorama_frame_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/panorama_frame_number.md #### panorama_frame_number property Gets the PanoramaFrameNumber. ##### Definition: ```python @property def panorama_frame_number(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2panoramapackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2PersonalFuncsIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncsindex.md #### Cr2PersonalFuncsIndex enumeration Defines ids of Cr2PersonalFuncs tags. The Cr2PersonalFuncsIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | PF0_CUSTOM_FUNC_REGISTRATION | Indicates the PF0CustomFuncRegistration. | | PF1_DISABLE_SHOOTING_MODES | Indicates the PF1DisableShootingModes. | | PF2_DISABLE_METERING_MODES | Indicates the PF2DisableMeteringModes. | | PF3_MANUAL_EXPOSURE_METERING | Indicates the PF3ManualExposureMetering. | | PF4_EXPOSURE_TIME_LIMITS | Indicates the PF4ExposureTimeLimits. | | PF5_APERTURE_LIMITS | Indicates the PF5ApertureLimits. | | PF6_PRESET_SHOOTING_MODES | Indicates the PF6PresetShootingModes. | | PF7_BRACKET_CONTINUOUS_SHOOT | Indicates the PF7BracketContinuousShoot. | | PF8_SET_BRACKET_SHOTS | Indicates the PF8SetBracketShots. | | PF9_CHANGE_BRACKET_SEQUENCE | Indicates the PF9ChangeBracketSequence. | | PF10_RETAIN_PROGRAM_SHIFT | Indicates the PF10RetainProgramShift. | | PF13_DRIVE_PRIORITY | Indicates the PF13DrivePriority. | | PF14_DISABLE_FOCUS_SEARCH | Indicates the PF14DisableFocusSearch. | | PF15_DISABLE_AF_ASSIST_BEAM | Indicates the PF15DisableAFAssistBeam. | | PF16_AUTO_FOCUS_POINT_SHOOT | Indicates the PF16AutoFocusPointShoot. | | PF17_DISABLE_AF_POINT_SEL | Indicates the PF17DisableAFPointSel. | | PF18_ENABLE_AUTO_AF_POINT_SEL | Indicates the PF18EnableAutoAFPointSel. | | PF19_CONTINUOUS_SHOOT_SPEED | Indicates the PF19ContinuousShootSpeed. | | PF20_LIMIT_CONTINOUS_SHOTS | Indicates the PF20LimitContinousShots. | | PF21_ENABLE_QUIET_OPERATION | Indicates the PF21EnableQuietOperation. | | PF23_SET_TIMER_LENGTHS | Indicates the PF23SetTimerLengths. | | PF24_LIGHT_LCD_DURING_BULB | Indicates the PF24LightLCDDuringBulb. | | PF25_DEFAULT_CLEAR_SETTINGS | Indicates the PF25DefaultClearSettings. | | PF26_SHORTEN_RELEASE_LAG | Indicates the PF26ShortenReleaseLag. | | PF27_REVERSE_DIAL_ROTATION | Indicates the PF27ReverseDialRotation. | | PF28_NO_QUICK_DIAL_EXP_COMP | Indicates the PF28NoQuickDialExpComp. | | PF29_QUICK_DIAL_SWITCH_OFF | Indicates the PF29QuickDialSwitchOff. | | PF30_ENLARGEMENT_MODE | Indicates the PF30EnlargementMode. | | PF31_ORIGINAL_DECISION_DATA | Indicates the PF31OriginalDecisionData. | ### Cr2PersonalFuncsPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage.md #### Cr2PersonalFuncsPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2PersonalFuncsPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2PersonalFuncsPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2PersonalFuncsPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | pf0_custom_func_registration | Gets the PF0CustomFuncRegistration. | | pf1_disable_shooting_modes | Gets the PF1DisableShootingModes. | | pf2_disable_metering_modes | Gets the PF2DisableMeteringModes. | | pf3_manual_exposure_metering | Gets the PF3ManualExposureMetering. | | pf4_exposure_time_limits | Gets the PF4ExposureTimeLimits. | | pf5_aperture_limits | Gets the PF5ApertureLimits. | | pf6_preset_shooting_modes | Gets the PF6PresetShootingModes. | | pf7_bracket_continuous_shoot | Gets the PF7BracketContinuousShoot. | | pf8_set_bracket_shots | Gets the PF8SetBracketShots. | | pf9_change_bracket_sequence | Gets the PF9ChangeBracketSequence. | | pf10_retain_program_shift | Gets the PF10RetainProgramShift. | | pf13_drive_priority | Gets the PF13DrivePriority. | | pf14_disable_focus_search | Gets the PF14DisableFocusSearch. | | pf15_disable_af_assist_beam | Gets the PF15DisableAFAssistBeam. | | pf16_auto_focus_point_shoot | Gets the PF16AutoFocusPointShoot. | | pf17_disable_af_point_sel | Gets the PF17DisableAFPointSel. | | pf18_enable_auto_af_point_sel | Gets the PF18EnableAutoAFPointSel. | | pf19_continuous_shoot_speed | Gets the PF19ContinuousShootSpeed. | | pf20_limit_continous_shots | Gets the PF20LimitContinousShots. | | pf21_enable_quiet_operation | Gets the PF21EnableQuietOperation. | | pf23_set_timer_lengths | Gets the PF23SetTimerLengths. | | pf24_light_lcd_during_bulb | Gets the PF24LightLCDDuringBulb. | | pf25_default_clear_settings | Gets the PF25DefaultClearSettings. | | pf26_shorten_release_lag | Gets the PF26ShortenReleaseLag. | | pf27_reverse_dial_rotation | Gets the PF27ReverseDialRotation. | | pf28_no_quick_dial_exp_comp | Gets the PF28NoQuickDialExpComp. | | pf29_quick_dial_switch_off | Gets the PF29QuickDialSwitchOff. | | pf30_enlargement_mode | Gets the PF30EnlargementMode. | | pf31_original_decision_data | Gets the PF31OriginalDecisionData. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2PersonalFuncsPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2PersonalFuncsPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2PersonalFuncsPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pf0_custom_func_registration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf0_custom_func_registration.md #### pf0_custom_func_registration property Gets the PF0CustomFuncRegistration. ##### Definition: ```python @property def pf0_custom_func_registration(self): ... ``` ### pf10_retain_program_shift property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf10_retain_program_shift.md #### pf10_retain_program_shift property Gets the PF10RetainProgramShift. ##### Definition: ```python @property def pf10_retain_program_shift(self): ... ``` ### pf13_drive_priority property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf13_drive_priority.md #### pf13_drive_priority property Gets the PF13DrivePriority. ##### Definition: ```python @property def pf13_drive_priority(self): ... ``` ### pf14_disable_focus_search property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf14_disable_focus_search.md #### pf14_disable_focus_search property Gets the PF14DisableFocusSearch. ##### Definition: ```python @property def pf14_disable_focus_search(self): ... ``` ### pf15_disable_af_assist_beam property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf15_disable_af_assist_beam.md #### pf15_disable_af_assist_beam property Gets the PF15DisableAFAssistBeam. ##### Definition: ```python @property def pf15_disable_af_assist_beam(self): ... ``` ### pf16_auto_focus_point_shoot property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf16_auto_focus_point_shoot.md #### pf16_auto_focus_point_shoot property Gets the PF16AutoFocusPointShoot. ##### Definition: ```python @property def pf16_auto_focus_point_shoot(self): ... ``` ### pf17_disable_af_point_sel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf17_disable_af_point_sel.md #### pf17_disable_af_point_sel property Gets the PF17DisableAFPointSel. ##### Definition: ```python @property def pf17_disable_af_point_sel(self): ... ``` ### pf18_enable_auto_af_point_sel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf18_enable_auto_af_point_sel.md #### pf18_enable_auto_af_point_sel property Gets the PF18EnableAutoAFPointSel. ##### Definition: ```python @property def pf18_enable_auto_af_point_sel(self): ... ``` ### pf19_continuous_shoot_speed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf19_continuous_shoot_speed.md #### pf19_continuous_shoot_speed property Gets the PF19ContinuousShootSpeed. ##### Definition: ```python @property def pf19_continuous_shoot_speed(self): ... ``` ### pf1_disable_shooting_modes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf1_disable_shooting_modes.md #### pf1_disable_shooting_modes property Gets the PF1DisableShootingModes. ##### Definition: ```python @property def pf1_disable_shooting_modes(self): ... ``` ### pf20_limit_continous_shots property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf20_limit_continous_shots.md #### pf20_limit_continous_shots property Gets the PF20LimitContinousShots. ##### Definition: ```python @property def pf20_limit_continous_shots(self): ... ``` ### pf21_enable_quiet_operation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf21_enable_quiet_operation.md #### pf21_enable_quiet_operation property Gets the PF21EnableQuietOperation. ##### Definition: ```python @property def pf21_enable_quiet_operation(self): ... ``` ### pf23_set_timer_lengths property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf23_set_timer_lengths.md #### pf23_set_timer_lengths property Gets the PF23SetTimerLengths. ##### Definition: ```python @property def pf23_set_timer_lengths(self): ... ``` ### pf24_light_lcd_during_bulb property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf24_light_lcd_during_bulb.md #### pf24_light_lcd_during_bulb property Gets the PF24LightLCDDuringBulb. ##### Definition: ```python @property def pf24_light_lcd_during_bulb(self): ... ``` ### pf25_default_clear_settings property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf25_default_clear_settings.md #### pf25_default_clear_settings property Gets the PF25DefaultClearSettings. ##### Definition: ```python @property def pf25_default_clear_settings(self): ... ``` ### pf26_shorten_release_lag property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf26_shorten_release_lag.md #### pf26_shorten_release_lag property Gets the PF26ShortenReleaseLag. ##### Definition: ```python @property def pf26_shorten_release_lag(self): ... ``` ### pf27_reverse_dial_rotation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf27_reverse_dial_rotation.md #### pf27_reverse_dial_rotation property Gets the PF27ReverseDialRotation. ##### Definition: ```python @property def pf27_reverse_dial_rotation(self): ... ``` ### pf28_no_quick_dial_exp_comp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf28_no_quick_dial_exp_comp.md #### pf28_no_quick_dial_exp_comp property Gets the PF28NoQuickDialExpComp. ##### Definition: ```python @property def pf28_no_quick_dial_exp_comp(self): ... ``` ### pf29_quick_dial_switch_off property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf29_quick_dial_switch_off.md #### pf29_quick_dial_switch_off property Gets the PF29QuickDialSwitchOff. ##### Definition: ```python @property def pf29_quick_dial_switch_off(self): ... ``` ### pf2_disable_metering_modes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf2_disable_metering_modes.md #### pf2_disable_metering_modes property Gets the PF2DisableMeteringModes. ##### Definition: ```python @property def pf2_disable_metering_modes(self): ... ``` ### pf30_enlargement_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf30_enlargement_mode.md #### pf30_enlargement_mode property Gets the PF30EnlargementMode. ##### Definition: ```python @property def pf30_enlargement_mode(self): ... ``` ### pf31_original_decision_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf31_original_decision_data.md #### pf31_original_decision_data property Gets the PF31OriginalDecisionData. ##### Definition: ```python @property def pf31_original_decision_data(self): ... ``` ### pf3_manual_exposure_metering property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf3_manual_exposure_metering.md #### pf3_manual_exposure_metering property Gets the PF3ManualExposureMetering. ##### Definition: ```python @property def pf3_manual_exposure_metering(self): ... ``` ### pf4_exposure_time_limits property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf4_exposure_time_limits.md #### pf4_exposure_time_limits property Gets the PF4ExposureTimeLimits. ##### Definition: ```python @property def pf4_exposure_time_limits(self): ... ``` ### pf5_aperture_limits property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf5_aperture_limits.md #### pf5_aperture_limits property Gets the PF5ApertureLimits. ##### Definition: ```python @property def pf5_aperture_limits(self): ... ``` ### pf6_preset_shooting_modes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf6_preset_shooting_modes.md #### pf6_preset_shooting_modes property Gets the PF6PresetShootingModes. ##### Definition: ```python @property def pf6_preset_shooting_modes(self): ... ``` ### pf7_bracket_continuous_shoot property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf7_bracket_continuous_shoot.md #### pf7_bracket_continuous_shoot property Gets the PF7BracketContinuousShoot. ##### Definition: ```python @property def pf7_bracket_continuous_shoot(self): ... ``` ### pf8_set_bracket_shots property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf8_set_bracket_shots.md #### pf8_set_bracket_shots property Gets the PF8SetBracketShots. ##### Definition: ```python @property def pf8_set_bracket_shots(self): ... ``` ### pf9_change_bracket_sequence property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/pf9_change_bracket_sequence.md #### pf9_change_bracket_sequence property Gets the PF9ChangeBracketSequence. ##### Definition: ```python @property def pf9_change_bracket_sequence(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncspackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2PersonalFuncValuesIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluesindex.md #### Cr2PersonalFuncValuesIndex enumeration Defines ids of Cr2PersonalFuncValues tags. The Cr2PersonalFuncValuesIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | PF1_VALUE | Indicates the PF1Value. | | PF2_VALUE | Indicates the PF2Value. | | PF3_VALUE | Indicates the PF3Value. | | PF4_EXPOSURE_TIME_MIN | Indicates the PF4ExposureTimeMin. | | PF4_EXPOSURE_TIME_MAX | Indicates the PF4ExposureTimeMax. | | PF5_APERTURE_MIN | Indicates the PF5ApertureMin. | | PF5_APERTURE_MAX | Indicates the PF5ApertureMax. | | PF8_BRACKET_SHOTS | Indicates the PF8BracketShots. | | PF19_SHOOTING_SPEED_LOW | Indicates the PF19ShootingSpeedLow. | | PF19_SHOOTING_SPEED_HIGH | Indicates the PF19ShootingSpeedHigh. | | PF20_MAX_CONTINOUS_SHOTS | Indicates the PF20MaxContinousShots. | | PF23_SHUTTER_BUTTON_TIME | Indicates the PF23ShutterButtonTime. | | PF23FE_LOCK_TIME | Indicates the PF23FELockTime. | | PF23_POST_RELEASE_TIME | Indicates the PF23PostReleaseTime. | | PF25AE_MODE | Indicates the PF25AEMode. | | PF25_METERING_MODE | Indicates the PF25MeteringMode. | | PF25_DRIVE_MODE | Indicates the PF25DriveMode. | | PF25AF_MODE | Indicates the PF25AFMode. | | PF25AF_POINT_SEL | Indicates the PF25AFPointSel. | | PF25_IMAGE_SIZE | Indicates the PF25ImageSize. | | PF25WB_MODE | Indicates the PF25WBMode. | | PF25_PARAMETERS | Indicates the PF25Parameters. | | PF25_COLOR_MATRIX | Indicates the PF25ColorMatrix. | | PF27_VALUE | Indicates the PF27Value. | ### Cr2PersonalFuncValuesPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage.md #### Cr2PersonalFuncValuesPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2PersonalFuncValuesPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2PersonalFuncValuesPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2PersonalFuncValuesPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | pf1_value | Gets the PF1Value. | | pf2_value | Gets the PF2Value. | | pf3_value | Gets the PF3Value. | | pf4_exposure_time_min | Gets the PF4ExposureTimeMin. | | pf4_exposure_time_max | Gets the PF4ExposureTimeMax. | | pf5_aperture_min | Gets the PF5ApertureMin. | | pf5_aperture_max | Gets the PF5ApertureMax. | | pf8_bracket_shots | Gets the PF8BracketShots. | | pf19_shooting_speed_low | Gets the PF19ShootingSpeedLow. | | pf19_shooting_speed_high | Gets the PF19ShootingSpeedHigh. | | pf20_max_continous_shots | Gets the PF20MaxContinousShots. | | pf23_shutter_button_time | Gets the PF23ShutterButtonTime. | | pf23fe_lock_time | Gets the PF23FELockTime. | | pf23_post_release_time | Gets the PF23PostReleaseTime. | | pf25ae_mode | Gets the PF25AEMode. | | pf25_metering_mode | Gets the PF25MeteringMode. | | pf25_drive_mode | Gets the PF25DriveMode. | | pf25af_mode | Gets the PF25AFMode. | | pf25af_point_sel | Gets the PF25AFPointSel. | | pf25_image_size | Gets the PF25ImageSize. | | pf25wb_mode | Gets the PF25WBMode. | | pf25_parameters | Gets the PF25Parameters. | | pf25_color_matrix | Gets the PF25ColorMatrix. | | pf27_value | Gets the PF27Value. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2PersonalFuncValuesPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2PersonalFuncValuesPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2PersonalFuncValuesPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### pf19_shooting_speed_high property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf19_shooting_speed_high.md #### pf19_shooting_speed_high property Gets the PF19ShootingSpeedHigh. ##### Definition: ```python @property def pf19_shooting_speed_high(self): ... ``` ### pf19_shooting_speed_low property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf19_shooting_speed_low.md #### pf19_shooting_speed_low property Gets the PF19ShootingSpeedLow. ##### Definition: ```python @property def pf19_shooting_speed_low(self): ... ``` ### pf1_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf1_value.md #### pf1_value property Gets the PF1Value. ##### Definition: ```python @property def pf1_value(self): ... ``` ### pf20_max_continous_shots property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf20_max_continous_shots.md #### pf20_max_continous_shots property Gets the PF20MaxContinousShots. ##### Definition: ```python @property def pf20_max_continous_shots(self): ... ``` ### pf23_post_release_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf23_post_release_time.md #### pf23_post_release_time property Gets the PF23PostReleaseTime. ##### Definition: ```python @property def pf23_post_release_time(self): ... ``` ### pf23_shutter_button_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf23_shutter_button_time.md #### pf23_shutter_button_time property Gets the PF23ShutterButtonTime. ##### Definition: ```python @property def pf23_shutter_button_time(self): ... ``` ### pf23fe_lock_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf23fe_lock_time.md #### pf23fe_lock_time property Gets the PF23FELockTime. ##### Definition: ```python @property def pf23fe_lock_time(self): ... ``` ### pf25_color_matrix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25_color_matrix.md #### pf25_color_matrix property Gets the PF25ColorMatrix. ##### Definition: ```python @property def pf25_color_matrix(self): ... ``` ### pf25_drive_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25_drive_mode.md #### pf25_drive_mode property Gets the PF25DriveMode. ##### Definition: ```python @property def pf25_drive_mode(self): ... ``` ### pf25_image_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25_image_size.md #### pf25_image_size property Gets the PF25ImageSize. ##### Definition: ```python @property def pf25_image_size(self): ... ``` ### pf25_metering_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25_metering_mode.md #### pf25_metering_mode property Gets the PF25MeteringMode. ##### Definition: ```python @property def pf25_metering_mode(self): ... ``` ### pf25_parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25_parameters.md #### pf25_parameters property Gets the PF25Parameters. ##### Definition: ```python @property def pf25_parameters(self): ... ``` ### pf25ae_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25ae_mode.md #### pf25ae_mode property Gets the PF25AEMode. ##### Definition: ```python @property def pf25ae_mode(self): ... ``` ### pf25af_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25af_mode.md #### pf25af_mode property Gets the PF25AFMode. ##### Definition: ```python @property def pf25af_mode(self): ... ``` ### pf25af_point_sel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25af_point_sel.md #### pf25af_point_sel property Gets the PF25AFPointSel. ##### Definition: ```python @property def pf25af_point_sel(self): ... ``` ### pf25wb_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf25wb_mode.md #### pf25wb_mode property Gets the PF25WBMode. ##### Definition: ```python @property def pf25wb_mode(self): ... ``` ### pf27_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf27_value.md #### pf27_value property Gets the PF27Value. ##### Definition: ```python @property def pf27_value(self): ... ``` ### pf2_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf2_value.md #### pf2_value property Gets the PF2Value. ##### Definition: ```python @property def pf2_value(self): ... ``` ### pf3_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf3_value.md #### pf3_value property Gets the PF3Value. ##### Definition: ```python @property def pf3_value(self): ... ``` ### pf4_exposure_time_max property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf4_exposure_time_max.md #### pf4_exposure_time_max property Gets the PF4ExposureTimeMax. ##### Definition: ```python @property def pf4_exposure_time_max(self): ... ``` ### pf4_exposure_time_min property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf4_exposure_time_min.md #### pf4_exposure_time_min property Gets the PF4ExposureTimeMin. ##### Definition: ```python @property def pf4_exposure_time_min(self): ... ``` ### pf5_aperture_max property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf5_aperture_max.md #### pf5_aperture_max property Gets the PF5ApertureMax. ##### Definition: ```python @property def pf5_aperture_max(self): ... ``` ### pf5_aperture_min property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf5_aperture_min.md #### pf5_aperture_min property Gets the PF5ApertureMin. ##### Definition: ```python @property def pf5_aperture_min(self): ... ``` ### pf8_bracket_shots property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/pf8_bracket_shots.md #### pf8_bracket_shots property Gets the PF8BracketShots. ##### Definition: ```python @property def pf8_bracket_shots(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2personalfuncvaluespackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2ProcessingIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingindex.md #### Cr2ProcessingIndex enumeration Defines ids of Cr2Processing tags. The Cr2ProcessingIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | TONE_CURVE | Indicates the ToneCurve. | | SHARPNESS | Indicates the Sharpness. | | SHARPNESS_FREQUENCY | Indicates the SharpnessFrequency. | | SENSOR_RED_LEVEL | Indicates the SensorRedLevel. | | SENSOR_BLUE_LEVEL | Indicates the SensorBlueLevel. | | WHITE_BALANCE_RED | Indicates the WhiteBalanceRed. | | WHITE_BALANCE_BLUE | Indicates the WhiteBalanceBlue. | | WHITE_BALANCE | Indicates the WhiteBalance. | | COLOR_TEMPERATURE | Indicates the ColorTemperature. | | PICTURE_STYLE | Indicates the PictureStyle. | | DIGITAL_GAIN | Indicates the DigitalGain. | | WB_SHIFT_AB | Indicates the WBShiftAB. | | WB_SHIFT_GM | Indicates the WBShiftGM. | ### Cr2ProcessingPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage.md #### Cr2ProcessingPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2ProcessingPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2ProcessingPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2ProcessingPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | tone_curve | Gets the ToneCurve. | | sharpness | Gets the Sharpness. | | sharpness_frequency | Gets the SharpnessFrequency. | | sensor_red_level | Gets the SensorRedLevel. | | sensor_blue_level | Gets the SensorBlueLevel. | | white_balance_red | Gets the WhiteBalanceRed. | | white_balance_blue | Gets the WhiteBalanceBlue. | | white_balance | Gets the WhiteBalance. | | color_temperature | Gets the ColorTemperature. | | picture_style | Gets the PictureStyle. | | digital_gain | Gets the DigitalGain. | | wb_shift_ab | Gets the WBShiftAB. | | wb_shift_gm | Gets the WBShiftGM. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2ProcessingPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2ProcessingPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2ProcessingPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### color_temperature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/color_temperature.md #### color_temperature property Gets the ColorTemperature. ##### Definition: ```python @property def color_temperature(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_gain property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/digital_gain.md #### digital_gain property Gets the DigitalGain. ##### Definition: ```python @property def digital_gain(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### picture_style property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/picture_style.md #### picture_style property Gets the PictureStyle. ##### Definition: ```python @property def picture_style(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### sensor_blue_level property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sensor_blue_level.md #### sensor_blue_level property Gets the SensorBlueLevel. ##### Definition: ```python @property def sensor_blue_level(self): ... ``` ### sensor_red_level property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sensor_red_level.md #### sensor_red_level property Gets the SensorRedLevel. ##### Definition: ```python @property def sensor_red_level(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sharpness.md #### sharpness property Gets the Sharpness. ##### Definition: ```python @property def sharpness(self): ... ``` ### sharpness_frequency property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/sharpness_frequency.md #### sharpness_frequency property Gets the SharpnessFrequency. ##### Definition: ```python @property def sharpness_frequency(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### tone_curve property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/tone_curve.md #### tone_curve property Gets the ToneCurve. ##### Definition: ```python @property def tone_curve(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### wb_shift_ab property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/wb_shift_ab.md #### wb_shift_ab property Gets the WBShiftAB. ##### Definition: ```python @property def wb_shift_ab(self): ... ``` ### wb_shift_gm property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/wb_shift_gm.md #### wb_shift_gm property Gets the WBShiftGM. ##### Definition: ```python @property def wb_shift_gm(self): ... ``` ### white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/white_balance.md #### white_balance property Gets the WhiteBalance. ##### Definition: ```python @property def white_balance(self): ... ``` ### white_balance_blue property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/white_balance_blue.md #### white_balance_blue property Gets the WhiteBalanceBlue. ##### Definition: ```python @property def white_balance_blue(self): ... ``` ### white_balance_red property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2processingpackage/white_balance_red.md #### white_balance_red property Gets the WhiteBalanceRed. ##### Definition: ```python @property def white_balance_red(self): ... ``` ### Cr2RootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage.md #### Cr2RootPackage class Represents an entry point to all metadata packages presented in a particular file CR2. **Inheritance:** `Cr2RootPackage` → `RootMetadataPackage` → `MetadataPackage` The Cr2RootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | cr_2_package | Gets the CR2 header metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### cr_2_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/cr_2_package.md #### cr_2_package property Gets the CR2 header metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def cr_2_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2rootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2SensorInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfoindex.md #### Cr2SensorInfoIndex enumeration Defines ids of Cr2SensorInfo tags. The Cr2SensorInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | SENSOR_WIDTH | Indicates the SensorWidth. | | SENSOR_HEIGHT | Indicates the SensorHeight. | | UNKNOWN2 | Unknown tag. | | UNKNOWN3 | Unknown tag. | | SENSOR_LEFT_BORDER | Indicates the SensorLeftBorder. | | SENSOR_TOP_BORDER | Indicates the SensorTopBorder. | | SENSOR_RIGHT_BORDER | Indicates the SensorRightBorder. | | SENSOR_BOTTOM_BORDER | Indicates the SensorBottomBorder. | | BLACK_MASK_LEFT_BORDER | Indicates the BlackMaskLeftBorder. | | BLACK_MASK_TOP_BORDER | Indicates the BlackMaskTopBorder. | | BLACK_MASK_RIGHT_BORDER | Indicates the BlackMaskRightBorder. | | BLACK_MASK_BOTTOM_BORDER | Indicates the BlackMaskBottomBorder. | ### Cr2SensorInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage.md #### Cr2SensorInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2SensorInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2SensorInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2SensorInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | sensor_width | Gets the SensorWidth. | | sensor_height | Gets the SensorHeight. | | sensor_left_border | Gets the SensorLeftBorder. | | sensor_top_border | Gets the SensorTopBorder. | | sensor_right_border | Gets the SensorRightBorder. | | sensor_bottom_border | Gets the SensorBottomBorder. | | black_mask_left_border | Gets the BlackMaskLeftBorder. | | black_mask_top_border | Gets the BlackMaskTopBorder. | | black_mask_right_border | Gets the BlackMaskRightBorder. | | black_mask_bottom_border | Gets the BlackMaskBottomBorder. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2SensorInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2SensorInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2SensorInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### black_mask_bottom_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/black_mask_bottom_border.md #### black_mask_bottom_border property Gets the BlackMaskBottomBorder. ##### Definition: ```python @property def black_mask_bottom_border(self): ... ``` ### black_mask_left_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/black_mask_left_border.md #### black_mask_left_border property Gets the BlackMaskLeftBorder. ##### Definition: ```python @property def black_mask_left_border(self): ... ``` ### black_mask_right_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/black_mask_right_border.md #### black_mask_right_border property Gets the BlackMaskRightBorder. ##### Definition: ```python @property def black_mask_right_border(self): ... ``` ### black_mask_top_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/black_mask_top_border.md #### black_mask_top_border property Gets the BlackMaskTopBorder. ##### Definition: ```python @property def black_mask_top_border(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### sensor_bottom_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensor_bottom_border.md #### sensor_bottom_border property Gets the SensorBottomBorder. ##### Definition: ```python @property def sensor_bottom_border(self): ... ``` ### sensor_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensor_height.md #### sensor_height property Gets the SensorHeight. ##### Definition: ```python @property def sensor_height(self): ... ``` ### sensor_left_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensor_left_border.md #### sensor_left_border property Gets the SensorLeftBorder. ##### Definition: ```python @property def sensor_left_border(self): ... ``` ### sensor_right_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensor_right_border.md #### sensor_right_border property Gets the SensorRightBorder. ##### Definition: ```python @property def sensor_right_border(self): ... ``` ### sensor_top_border property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensor_top_border.md #### sensor_top_border property Gets the SensorTopBorder. ##### Definition: ```python @property def sensor_top_border(self): ... ``` ### sensor_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/sensor_width.md #### sensor_width property Gets the SensorWidth. ##### Definition: ```python @property def sensor_width(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2sensorinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2ShotInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfoindex.md #### Cr2ShotInfoIndex enumeration Defines ids of Cr2ShotInfo tags. The Cr2ShotInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | AUTO_ISO | Indicates the AutoISO. | | BASE_ISO | Indicates the BaseISO. | | MEASURED_EV | Indicates the MeasuredEV. | | TARGET_APERTURE | Indicates the TargetAperture. | | TARGET_EXPOSURE_TIME | Indicates the TargetExposureTime. | | EXPOSURE_COMPENSATION | Indicates the ExposureCompensation. | | WHITE_BALANCE | Indicates the WhiteBalance. | | SLOW_SHUTTER | Indicates the SlowShutter. | | SEQUENCE_NUMBER | Indicates the SequenceNumber. | | OPTICAL_ZOOM_CODE | Indicates the OpticalZoomCode. | | UNKNOWN2 | Unknown tag. | | CAMERA_TEMPERATURE | Indicates the CameraTemperature. | | FLASH_GUIDE_NUMBER | Indicates the FlashGuideNumber. | | AF_POINTS_IN_FOCUS | Indicates the AFPointsInFocus. | | FLASH_EXPOSURE_COMP | Indicates the FlashExposureComp. | | AUTO_EXPOSURE_BRACKETING | Indicates the AutoExposureBracketing. | | AEB_BRACKET_VALUE | Indicates the AEBBracketValue. | | CONTROL_MODE | Indicates the ControlMode. | | FOCUS_DISTANCE_UPPER | Indicates the FocusDistanceUpper. | | FOCUS_DISTANCE_LOWER | Indicates the FocusDistanceLower. | | F_NUMBER | Indicates the FNumber. | | EXPOSURE_TIME | Indicates the ExposureTime. | | MEASURED_EV2 | Indicates the MeasuredEV2. | | BULB_DURATION | Indicates the BulbDuration. | | UNKNOWN3 | Unknown tag. | | CAMERA_TYPE | Indicates the CameraType. | | AUTO_ROTATE | Indicates the AutoRotate. | | ND_FILTER | Indicates the NDFilter. | | SELF_TIMER2 | Indicates the SelfTimer2. | | UNKNOWN4 | Unknown tag. | | UNKNOWN5 | Unknown tag. | | UNKNOWN6 | Unknown tag. | | FLASH_OUTPUT | Indicates the FlashOutput. | ### Cr2ShotInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage.md #### Cr2ShotInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2ShotInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2ShotInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2ShotInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | auto_iso | Gets the AutoISO. | | base_iso | Gets the BaseISO. | | measured_ev | Gets the MeasuredEV. | | target_aperture | Gets the TargetAperture. | | target_exposure_time | Gets the TargetExposureTime. | | exposure_compensation | Gets the ExposureCompensation. | | white_balance | Gets the WhiteBalance. | | slow_shutter | Gets the SlowShutter. | | sequence_number | Gets the SequenceNumber. | | optical_zoom_code | Gets the OpticalZoomCode. | | camera_temperature | Gets the CameraTemperature. | | flash_guide_number | Gets the FlashGuideNumber. | | af_points_in_focus | Gets the AFPointsInFocus. | | flash_exposure_comp | Gets the FlashExposureComp. | | auto_exposure_bracketing | Gets the AutoExposureBracketing. | | aeb_bracket_value | Gets the AEBBracketValue. | | control_mode | Gets the ControlMode. | | focus_distance_upper | Gets the FocusDistanceUpper. | | focus_distance_lower | Gets the FocusDistanceLower. | | f_number | Gets the FNumber. | | exposure_time | Gets the ExposureTime. | | measured_ev2 | Gets the MeasuredEV2. | | bulb_duration | Gets the BulbDuration. | | camera_type | Gets the CameraType. | | auto_rotate | Gets the AutoRotate. | | nd_filter | Gets the NDFilter. | | self_timer2 | Gets the SelfTimer2. | | flash_output | Gets the FlashOutput. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2ShotInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2ShotInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2ShotInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### aeb_bracket_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/aeb_bracket_value.md #### aeb_bracket_value property Gets the AEBBracketValue. ##### Definition: ```python @property def aeb_bracket_value(self): ... ``` ### af_points_in_focus property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/af_points_in_focus.md #### af_points_in_focus property Gets the AFPointsInFocus. ##### Definition: ```python @property def af_points_in_focus(self): ... ``` ### auto_exposure_bracketing property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/auto_exposure_bracketing.md #### auto_exposure_bracketing property Gets the AutoExposureBracketing. ##### Definition: ```python @property def auto_exposure_bracketing(self): ... ``` ### auto_iso property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/auto_iso.md #### auto_iso property Gets the AutoISO. ##### Definition: ```python @property def auto_iso(self): ... ``` ### auto_rotate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/auto_rotate.md #### auto_rotate property Gets the AutoRotate. ##### Definition: ```python @property def auto_rotate(self): ... ``` ### base_iso property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/base_iso.md #### base_iso property Gets the BaseISO. ##### Definition: ```python @property def base_iso(self): ... ``` ### bulb_duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/bulb_duration.md #### bulb_duration property Gets the BulbDuration. ##### Definition: ```python @property def bulb_duration(self): ... ``` ### camera_temperature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/camera_temperature.md #### camera_temperature property Gets the CameraTemperature. ##### Definition: ```python @property def camera_temperature(self): ... ``` ### camera_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/camera_type.md #### camera_type property Gets the CameraType. ##### Definition: ```python @property def camera_type(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### control_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/control_mode.md #### control_mode property Gets the ControlMode. ##### Definition: ```python @property def control_mode(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### exposure_compensation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/exposure_compensation.md #### exposure_compensation property Gets the ExposureCompensation. ##### Definition: ```python @property def exposure_compensation(self): ... ``` ### exposure_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/exposure_time.md #### exposure_time property Gets the ExposureTime. ##### Definition: ```python @property def exposure_time(self): ... ``` ### f_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/f_number.md #### f_number property Gets the FNumber. ##### Definition: ```python @property def f_number(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flash_exposure_comp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/flash_exposure_comp.md #### flash_exposure_comp property Gets the FlashExposureComp. ##### Definition: ```python @property def flash_exposure_comp(self): ... ``` ### flash_guide_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/flash_guide_number.md #### flash_guide_number property Gets the FlashGuideNumber. ##### Definition: ```python @property def flash_guide_number(self): ... ``` ### flash_output property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/flash_output.md #### flash_output property Gets the FlashOutput. ##### Definition: ```python @property def flash_output(self): ... ``` ### focus_distance_lower property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/focus_distance_lower.md #### focus_distance_lower property Gets the FocusDistanceLower. ##### Definition: ```python @property def focus_distance_lower(self): ... ``` ### focus_distance_upper property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/focus_distance_upper.md #### focus_distance_upper property Gets the FocusDistanceUpper. ##### Definition: ```python @property def focus_distance_upper(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### measured_ev property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/measured_ev.md #### measured_ev property Gets the MeasuredEV. ##### Definition: ```python @property def measured_ev(self): ... ``` ### measured_ev2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/measured_ev2.md #### measured_ev2 property Gets the MeasuredEV2. ##### Definition: ```python @property def measured_ev2(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### nd_filter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/nd_filter.md #### nd_filter property Gets the NDFilter. ##### Definition: ```python @property def nd_filter(self): ... ``` ### optical_zoom_code property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/optical_zoom_code.md #### optical_zoom_code property Gets the OpticalZoomCode. ##### Definition: ```python @property def optical_zoom_code(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### self_timer2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/self_timer2.md #### self_timer2 property Gets the SelfTimer2. ##### Definition: ```python @property def self_timer2(self): ... ``` ### sequence_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/sequence_number.md #### sequence_number property Gets the SequenceNumber. ##### Definition: ```python @property def sequence_number(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### slow_shutter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/slow_shutter.md #### slow_shutter property Gets the SlowShutter. ##### Definition: ```python @property def slow_shutter(self): ... ``` ### target_aperture property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/target_aperture.md #### target_aperture property Gets the TargetAperture. ##### Definition: ```python @property def target_aperture(self): ... ``` ### target_exposure_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/target_exposure_time.md #### target_exposure_time property Gets the TargetExposureTime. ##### Definition: ```python @property def target_exposure_time(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2shotinfopackage/white_balance.md #### white_balance property Gets the WhiteBalance. ##### Definition: ```python @property def white_balance(self): ... ``` ### Cr2TimeInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfoindex.md #### Cr2TimeInfoIndex enumeration Defines ids of Cr2TimeInfo tags. The Cr2TimeInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNKNOWN1 | Unknown tag. | | TIME_ZONE | Indicates the TimeZone. | | TIME_ZONE_CITY | Indicates the TimeZoneCity. | | DAYLIGHT_SAVINGS | Indicates the DaylightSavings. | ### Cr2TimeInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage.md #### Cr2TimeInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2TimeInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2TimeInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2TimeInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | time_zone | Gets the TimeZone. | | time_zone_city | Gets the TimeZoneCity. | | daylight_savings | Gets the DaylightSavings. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2TimeInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2TimeInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2TimeInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### daylight_savings property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/daylight_savings.md #### daylight_savings property Gets the DaylightSavings. ##### Definition: ```python @property def daylight_savings(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### time_zone property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/time_zone.md #### time_zone property Gets the TimeZone. ##### Definition: ```python @property def time_zone(self): ... ``` ### time_zone_city property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/time_zone_city.md #### time_zone_city property Gets the TimeZoneCity. ##### Definition: ```python @property def time_zone_city(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2timeinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2VignettingCorr2Index enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2index.md #### Cr2VignettingCorr2Index enumeration Defines ids of Cr2VignettingCorr2 tags. The Cr2VignettingCorr2Index type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PERIPHERAL_LIGHTING_SETTING | Indicates the PeripheralLightingSetting. | | CHROMATIC_ABERRATION_SETTING | Indicates the ChromaticAberrationSetting. | | DISTORTION_CORRECTION_SETTING | Indicates the DistortionCorrectionSetting. | | DIGITAL_LENS_OPTIMIZER_SETTING | Indicates the DigitalLensOptimizerSetting. | ### Cr2VignettingCorr2Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package.md #### Cr2VignettingCorr2Package class Represents Canon MakerNotes tags. **Inheritance:** `Cr2VignettingCorr2Package` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2VignettingCorr2Package type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2VignettingCorr2Package` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | peripheral_lighting_setting | Gets the PeripheralLightingSetting. | | chromatic_aberration_setting | Gets the ChromaticAberrationSetting. | | distortion_correction_setting | Gets the DistortionCorrectionSetting. | | digital_lens_optimizer_setting | Gets the DigitalLensOptimizerSetting. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2VignettingCorr2Package indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2VignettingCorr2Package constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2VignettingCorr2Package` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### chromatic_aberration_setting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/chromatic_aberration_setting.md #### chromatic_aberration_setting property Gets the ChromaticAberrationSetting. ##### Definition: ```python @property def chromatic_aberration_setting(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_lens_optimizer_setting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/digital_lens_optimizer_setting.md #### digital_lens_optimizer_setting property Gets the DigitalLensOptimizerSetting. ##### Definition: ```python @property def digital_lens_optimizer_setting(self): ... ``` ### distortion_correction_setting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/distortion_correction_setting.md #### distortion_correction_setting property Gets the DistortionCorrectionSetting. ##### Definition: ```python @property def distortion_correction_setting(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### peripheral_lighting_setting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/peripheral_lighting_setting.md #### peripheral_lighting_setting property Gets the PeripheralLightingSetting. ##### Definition: ```python @property def peripheral_lighting_setting(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2vignettingcorr2package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Cr2WBInfoIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfoindex.md #### Cr2WBInfoIndex enumeration Defines ids of Cr2WBInfo tags. The Cr2WBInfoIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | WB_GRBG_LEVELS_AUTO | Indicates the WB_GRBGLevelsAuto. | | UNKNOWN1 | Unknown tag. | | WB_GRBG_LEVELS_DAYLIGHT | Indicates the WB_GRBGLevelsDaylight. | | UNKNOWN2 | Unknown tag. | | WB_GRBG_LEVELS_CLOUDY | Indicates the WB_GRBGLevelsCloudy. | | UNKNOWN3 | Unknown tag. | | WB_GRBG_LEVELS_TUNGSTEN | Indicates the WB_GRBGLevelsTungsten. | | UNKNOWN4 | Unknown tag. | | WB_GRBG_LEVELS_FLUORESCENT | Indicates the WB_GRBGLevelsFluorescent. | | UNKNOWN5 | Unknown tag. | | WB_GRBG_LEVELS_FLUOR_HIGH | Indicates the WB_GRBGLevelsFluorHigh. | | UNKNOWN6 | Unknown tag. | | WB_GRBG_LEVELS_FLASH | Indicates the WB_GRBGLevelsFlash. | | UNKNOWN7 | Unknown tag. | | WB_GRBG_LEVELS_UNDERWATER | Indicates the WB_GRBGLevelsUnderwater. | | UNKNOWN8 | Unknown tag. | | WB_GRBG_LEVELS_CUSTOM1 | Indicates the WB_GRBGLevelsCustom1. | | UNKNOWN9 | Unknown tag. | | WB_GRBG_LEVELS_CUSTOM2 | Indicates the WB_GRBGLevelsCustom2. | ### Cr2WBInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage.md #### Cr2WBInfoPackage class Represents Canon MakerNotes tags. **Inheritance:** `Cr2WBInfoPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The Cr2WBInfoPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `Cr2WBInfoPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | wb_grbg_levels_auto | Gets the WB_GRBGLevelsAuto. | | wb_grbg_levels_daylight | Gets the WB_GRBGLevelsDaylight. | | wb_grbg_levels_cloudy | Gets the WB_GRBGLevelsCloudy. | | wb_grbg_levels_tungsten | Gets the WB_GRBGLevelsTungsten. | | wb_grbg_levels_fluorescent | Gets the WB_GRBGLevelsFluorescent. | | wb_grbg_levels_fluor_high | Gets the WB_GRBGLevelsFluorHigh. | | wb_grbg_levels_flash | Gets the WB_GRBGLevelsFlash. | | wb_grbg_levels_underwater | Gets the WB_GRBGLevelsUnderwater. | | wb_grbg_levels_custom1 | Gets the WB_GRBGLevelsCustom1. | | wb_grbg_levels_custom2 | Gets the WB_GRBGLevelsCustom2. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### Cr2WBInfoPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### Cr2WBInfoPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `Cr2WBInfoPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### wb_grbg_levels_auto property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_auto.md #### wb_grbg_levels_auto property Gets the WB_GRBGLevelsAuto. ##### Definition: ```python @property def wb_grbg_levels_auto(self): ... ``` ### wb_grbg_levels_cloudy property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_cloudy.md #### wb_grbg_levels_cloudy property Gets the WB_GRBGLevelsCloudy. ##### Definition: ```python @property def wb_grbg_levels_cloudy(self): ... ``` ### wb_grbg_levels_custom1 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_custom1.md #### wb_grbg_levels_custom1 property Gets the WB_GRBGLevelsCustom1. ##### Definition: ```python @property def wb_grbg_levels_custom1(self): ... ``` ### wb_grbg_levels_custom2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_custom2.md #### wb_grbg_levels_custom2 property Gets the WB_GRBGLevelsCustom2. ##### Definition: ```python @property def wb_grbg_levels_custom2(self): ... ``` ### wb_grbg_levels_daylight property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_daylight.md #### wb_grbg_levels_daylight property Gets the WB_GRBGLevelsDaylight. ##### Definition: ```python @property def wb_grbg_levels_daylight(self): ... ``` ### wb_grbg_levels_flash property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_flash.md #### wb_grbg_levels_flash property Gets the WB_GRBGLevelsFlash. ##### Definition: ```python @property def wb_grbg_levels_flash(self): ... ``` ### wb_grbg_levels_fluor_high property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_fluor_high.md #### wb_grbg_levels_fluor_high property Gets the WB_GRBGLevelsFluorHigh. ##### Definition: ```python @property def wb_grbg_levels_fluor_high(self): ... ``` ### wb_grbg_levels_fluorescent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_fluorescent.md #### wb_grbg_levels_fluorescent property Gets the WB_GRBGLevelsFluorescent. ##### Definition: ```python @property def wb_grbg_levels_fluorescent(self): ... ``` ### wb_grbg_levels_tungsten property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_tungsten.md #### wb_grbg_levels_tungsten property Gets the WB_GRBGLevelsTungsten. ##### Definition: ```python @property def wb_grbg_levels_tungsten(self): ... ``` ### wb_grbg_levels_underwater property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.cr2/cr2wbinfopackage/wb_grbg_levels_underwater.md #### wb_grbg_levels_underwater property Gets the WB_GRBGLevelsUnderwater. ##### Definition: ```python @property def wb_grbg_levels_underwater(self): ... ``` ### groupdocs.metadata.formats.raw.tag Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag.md ##### Classes | Class | Description | | :- | :- | | `RawAsciiTag` | Represents a Raw ASCII tag. | | `RawByteTag` | Represents an byte-based TIFF tag. | | `RawLongTag` | Represents a Raw Long tag. | | `RawShortTag` | Represents a Raw Short tag. | | `RawTag` | Represents a RawTag property. | ### RawAsciiTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag.md #### RawAsciiTag class Represents a Raw ASCII tag. **Inheritance:** `RawAsciiTag` → `RawTag` → `MetadataProperty` The RawAsciiTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawAsciiTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | Gets the tag value. | ### RawAsciiTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawAsciiTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | System.String | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/tag_value.md #### tag_value property Gets the tag value. ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawasciitag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawByteTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag.md #### RawByteTag class Represents an byte-based TIFF tag. **Inheritance:** `RawByteTag` → `RawTag` → `MetadataProperty` The RawByteTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `TiffByteTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawByteTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `TiffByteTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | bytes | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawbytetag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawLongTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag.md #### RawLongTag class Represents a Raw Long tag. **Inheritance:** `RawLongTag` → `RawTag` → `MetadataProperty` The RawLongTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawLongTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawLongTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawLongTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawlongtag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawShortTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag.md #### RawShortTag class Represents a Raw Short tag. **Inheritance:** `RawShortTag` → `RawTag` → `MetadataProperty` The RawShortTag type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag_id, value)` | Initializes a new instance of the `RawShortTag` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | | tag_value | | ### RawShortTag constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/__init__.md #### \_\_init\_\_(self, tag_id, value) Initializes a new instance of the `RawShortTag` class. ```python def __init__(self, tag_id, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | The tag identifier. | | value | list | The value. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tag_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/tag_value.md ##### Definition: ```python @property def tag_value(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawshorttag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### RawTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag.md #### RawTag class Represents a RawTag property. **Inheritance:** `RawTag` → `MetadataProperty` The RawTag type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... @tag_id.setter def tag_id(self, value): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... @tag_type.setter def tag_type(self, value): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.tag/rawtag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### groupdocs.metadata.formats.raw Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw.md ##### Classes | Class | Description | | :- | :- | | `ExifTag` | Represents a ExifTag property. | | `GpsIfdPackage` | Represents GPS IFD. | | `InteroperabilityIFDPointerPackage` | Represents Interoperability IFD. | | `RawDictionaryBasePackage` | Provides an abstract base class for EXIF metadata dictionaries. | | `RawExifTagPackage` | Represents Exif tags. | | `RawIFD1Package` | Represents IFD1 tags. | | `RawIFD2Package` | Represents IFD1 tags. | | `RawIFD3Package` | Represents IFD1 tags. | | `RawMakerNotePackage` | Represents Raw MakerNotes tags. | | `RawPackage` | Represents Raw Package. | | `RawTiffTagPackage` | Represents Tiff tags. | ##### Enumerations | Enumeration | Description | | :- | :- | | `ExifTagID` | Defines ids of Exif tags. | | `GpsIfdIndex` | Defines ids of GpsIfd tags. | | `InteroperabilityIFDPointerIndex` | Defines ids of InteroperabilityIFDPointer tags. | | `RawExifIndex` | Defines ids of RawExif tags. | | `RawTagType` | Represents the IFD data type. | ### ExifTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag.md #### ExifTag class Represents a ExifTag property. **Inheritance:** `ExifTag` → `MetadataProperty` The ExifTag type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | tag_type | Gets the type of the tag. | | tag_id | Gets the tag id. | ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tag_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag/tag_id.md #### tag_id property Gets the tag id. ##### Definition: ```python @property def tag_id(self): ... ``` ### tag_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag/tag_type.md #### tag_type property Gets the type of the tag. ##### Definition: ```python @property def tag_type(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftag/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### ExifTagID enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/exiftagid.md #### ExifTagID enumeration Defines ids of Exif tags. The ExifTagID type exposes the following members: ##### Fields | Field | Description | | :- | :- | | EXPOSURE_TIME | Exposure Time | | F_NUMBER | F-Number | | EXPOSURE_PROGRAM | ExposureProgram | | SPECTRAL_SENSITIVITY | SpectralSensitivity | | GPS_INFO | GPSInfo | | ISO_SPEED_RATINGS | ISO Speed Ratings | | MAKER_NOTE_CANON | ISO Speed Ratings | ### GpsIfdIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdindex.md #### GpsIfdIndex enumeration Defines ids of GpsIfd tags. The GpsIfdIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | GPS_VERSION_ID | Indicates the GPSVersionID. | | GPS_LATITUDE_REF | Indicates the GPSLatitudeRef. | | GPS_LATITUDE | Indicates the GPSLatitude. | | GPS_LONGITUDE_REF | Indicates the GPSLongitudeRef. | | GPS_LONGITUDE | Indicates the GPSLongitude. | | GPS_ALTITUDE_REF | Indicates the GPSAltitudeRef. | | GPS_ALTITUDE | Indicates the GPSAltitude. | | GPS_TIME_STAMP | Indicates the GPSTimeStamp. | | GPS_SATELLITES | Indicates the GPSSatellites. | | GPS_STATUS | Indicates the GPSStatus. | | GPS_MEASURE_MODE | Indicates the GPSMeasureMode. | | GPSDOP | Indicates the GPSDOP. | | GPS_SPEED_REF | Indicates the GPSSpeedRef. | | GPS_SPEED | Indicates the GPSSpeed. | | GPS_TRACK_REF | Indicates the GPSTrackRef. | | GPS_TRACK | Indicates the GPSTrack. | | GPS_IMG_DIRECTION_REF | Indicates the GPSImgDirectionRef. | | GPS_IMG_DIRECTION | Indicates the GPSImgDirection. | | GPS_MAP_DATUM | Indicates the GPSMapDatum. | | GPS_DEST_LATITUDE_REF | Indicates the GPSDestLatitudeRef. | | GPS_DEST_LATITUDE | Indicates the GPSDestLatitude. | | GPS_DEST_LONGITUDE_REF | Indicates the GPSDestLongitudeRef. | | GPS_DEST_LONGITUDE | Indicates the GPSDestLongitude. | | GPS_DEST_BEARING_REF | Indicates the GPSDestBearingRef. | | GPS_DEST_BEARING | Indicates the GPSDestBearing. | | GPS_DEST_DISTANCE_REF | Indicates the GPSDestDistanceRef. | | GPS_DEST_DISTANCE | Indicates the GPSDestDistance. | | GPS_PROCESSING_METHOD | Indicates the GPSProcessingMethod. | | GPS_AREA_INFORMATION | Indicates the GPSAreaInformation. | | GPS_DATE_STAMP | Indicates the GPSDateStamp. | | GPS_DIFFERENTIAL | Indicates the GPSDifferential. | | GPSH_POSITIONING_ERROR | Indicates the GPSHPositioningError. | ### GpsIfdPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage.md #### GpsIfdPackage class Represents GPS IFD. **Inheritance:** `GpsIfdPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The GpsIfdPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | gps_version_id | Gets the GPSVersionID. | | gps_latitude_ref | Gets the GPSLatitudeRef. | | gps_latitude | Gets the GPSLatitude. | | gps_longitude_ref | Gets the GPSLongitudeRef. | | gps_longitude | Gets the GPSLongitude. | | gps_altitude_ref | Gets the GPSAltitudeRef. | | gps_altitude | Gets the GPSAltitude. | | gps_time_stamp | Gets the GPSTimeStamp. | | gps_satellites | Gets the GPSSatellites. | | gps_status | Gets the GPSStatus. | | gps_measure_mode | Gets the GPSMeasureMode. | | gpsdop | Gets the GPSDOP. | | gps_speed_ref | Gets the GPSSpeedRef. | | gps_speed | Gets the GPSSpeed. | | gps_track_ref | Gets the GPSTrackRef. | | gps_track | Gets the GPSTrack. | | gps_img_direction_ref | Gets the GPSImgDirectionRef. | | gps_img_direction | Gets the GPSImgDirection. | | gps_map_datum | Gets the GPSMapDatum. | | gps_dest_latitude_ref | Gets the GPSDestLatitudeRef. | | gps_dest_latitude | Gets the GPSDestLatitude. | | gps_dest_longitude_ref | Gets the GPSDestLongitudeRef. | | gps_dest_longitude | Gets the GPSDestLongitude. | | gps_dest_bearing_ref | Gets the GPSDestBearingRef. | | gps_dest_bearing | Gets the GPSDestBearing. | | gps_dest_distance_ref | Gets the GPSDestDistanceRef. | | gps_dest_distance | Gets the GPSDestDistance. | | gps_processing_method | Gets the GPSProcessingMethod. | | gps_area_information | Gets the GPSAreaInformation. | | gps_date_stamp | Gets the GPSDateStamp. | | gps_differential | Gets the GPSDifferential. | | gpsh_positioning_error | Gets the GPSHPositioningError. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### GpsIfdPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### gps_altitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_altitude.md #### gps_altitude property Gets the GPSAltitude. ##### Definition: ```python @property def gps_altitude(self): ... ``` ### gps_altitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_altitude_ref.md #### gps_altitude_ref property Gets the GPSAltitudeRef. ##### Definition: ```python @property def gps_altitude_ref(self): ... ``` ### gps_area_information property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_area_information.md #### gps_area_information property Gets the GPSAreaInformation. ##### Definition: ```python @property def gps_area_information(self): ... ``` ### gps_date_stamp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_date_stamp.md #### gps_date_stamp property Gets the GPSDateStamp. ##### Definition: ```python @property def gps_date_stamp(self): ... ``` ### gps_dest_bearing property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_bearing.md #### gps_dest_bearing property Gets the GPSDestBearing. ##### Definition: ```python @property def gps_dest_bearing(self): ... ``` ### gps_dest_bearing_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_bearing_ref.md #### gps_dest_bearing_ref property Gets the GPSDestBearingRef. ##### Definition: ```python @property def gps_dest_bearing_ref(self): ... ``` ### gps_dest_distance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_distance.md #### gps_dest_distance property Gets the GPSDestDistance. ##### Definition: ```python @property def gps_dest_distance(self): ... ``` ### gps_dest_distance_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_distance_ref.md #### gps_dest_distance_ref property Gets the GPSDestDistanceRef. ##### Definition: ```python @property def gps_dest_distance_ref(self): ... ``` ### gps_dest_latitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_latitude.md #### gps_dest_latitude property Gets the GPSDestLatitude. ##### Definition: ```python @property def gps_dest_latitude(self): ... ``` ### gps_dest_latitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_latitude_ref.md #### gps_dest_latitude_ref property Gets the GPSDestLatitudeRef. ##### Definition: ```python @property def gps_dest_latitude_ref(self): ... ``` ### gps_dest_longitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_longitude.md #### gps_dest_longitude property Gets the GPSDestLongitude. ##### Definition: ```python @property def gps_dest_longitude(self): ... ``` ### gps_dest_longitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_dest_longitude_ref.md #### gps_dest_longitude_ref property Gets the GPSDestLongitudeRef. ##### Definition: ```python @property def gps_dest_longitude_ref(self): ... ``` ### gps_differential property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_differential.md #### gps_differential property Gets the GPSDifferential. ##### Definition: ```python @property def gps_differential(self): ... ``` ### gps_img_direction property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_img_direction.md #### gps_img_direction property Gets the GPSImgDirection. ##### Definition: ```python @property def gps_img_direction(self): ... ``` ### gps_img_direction_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_img_direction_ref.md #### gps_img_direction_ref property Gets the GPSImgDirectionRef. ##### Definition: ```python @property def gps_img_direction_ref(self): ... ``` ### gps_latitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_latitude.md #### gps_latitude property Gets the GPSLatitude. ##### Definition: ```python @property def gps_latitude(self): ... ``` ### gps_latitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_latitude_ref.md #### gps_latitude_ref property Gets the GPSLatitudeRef. ##### Definition: ```python @property def gps_latitude_ref(self): ... ``` ### gps_longitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_longitude.md #### gps_longitude property Gets the GPSLongitude. ##### Definition: ```python @property def gps_longitude(self): ... ``` ### gps_longitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_longitude_ref.md #### gps_longitude_ref property Gets the GPSLongitudeRef. ##### Definition: ```python @property def gps_longitude_ref(self): ... ``` ### gps_map_datum property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_map_datum.md #### gps_map_datum property Gets the GPSMapDatum. ##### Definition: ```python @property def gps_map_datum(self): ... ``` ### gps_measure_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_measure_mode.md #### gps_measure_mode property Gets the GPSMeasureMode. ##### Definition: ```python @property def gps_measure_mode(self): ... ``` ### gps_processing_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_processing_method.md #### gps_processing_method property Gets the GPSProcessingMethod. ##### Definition: ```python @property def gps_processing_method(self): ... ``` ### gps_satellites property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_satellites.md #### gps_satellites property Gets the GPSSatellites. ##### Definition: ```python @property def gps_satellites(self): ... ``` ### gps_speed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_speed.md #### gps_speed property Gets the GPSSpeed. ##### Definition: ```python @property def gps_speed(self): ... ``` ### gps_speed_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_speed_ref.md #### gps_speed_ref property Gets the GPSSpeedRef. ##### Definition: ```python @property def gps_speed_ref(self): ... ``` ### gps_status property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_status.md #### gps_status property Gets the GPSStatus. ##### Definition: ```python @property def gps_status(self): ... ``` ### gps_time_stamp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_time_stamp.md #### gps_time_stamp property Gets the GPSTimeStamp. ##### Definition: ```python @property def gps_time_stamp(self): ... ``` ### gps_track property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_track.md #### gps_track property Gets the GPSTrack. ##### Definition: ```python @property def gps_track(self): ... ``` ### gps_track_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_track_ref.md #### gps_track_ref property Gets the GPSTrackRef. ##### Definition: ```python @property def gps_track_ref(self): ... ``` ### gps_version_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gps_version_id.md #### gps_version_id property Gets the GPSVersionID. ##### Definition: ```python @property def gps_version_id(self): ... ``` ### gpsdop property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsdop.md #### gpsdop property Gets the GPSDOP. ##### Definition: ```python @property def gpsdop(self): ... ``` ### gpsh_positioning_error property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/gpsh_positioning_error.md #### gpsh_positioning_error property Gets the GPSHPositioningError. ##### Definition: ```python @property def gpsh_positioning_error(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/gpsifdpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### InteroperabilityIFDPointerIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerindex.md #### InteroperabilityIFDPointerIndex enumeration Defines ids of InteroperabilityIFDPointer tags. The InteroperabilityIFDPointerIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | TAG_INTEROP_INDEX | Indicates the TagInteropIndex. | | TAG_INTEROP_VERSION | Indicates the TagInteropVersion. | ### InteroperabilityIFDPointerPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage.md #### InteroperabilityIFDPointerPackage class Represents Interoperability IFD. **Inheritance:** `InteroperabilityIFDPointerPackage` → `CustomPackage` → `MetadataPackage` The InteroperabilityIFDPointerPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | tag_interop_index | Gets the TagInteropIndex. | | tag_interop_version | Gets the TagInteropVersion. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### tag_interop_index property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/tag_interop_index.md #### tag_interop_index property Gets the TagInteropIndex. ##### Definition: ```python @property def tag_interop_index(self): ... ``` ### tag_interop_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/tag_interop_version.md #### tag_interop_version property Gets the TagInteropVersion. ##### Definition: ```python @property def tag_interop_version(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/interoperabilityifdpointerpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawDictionaryBasePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage.md #### RawDictionaryBasePackage class Provides an abstract base class for EXIF metadata dictionaries. **Inheritance:** `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The RawDictionaryBasePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ##### Remarks **Learn more** | | | ### RawDictionaryBasePackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawdictionarybasepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawExifIndex enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexifindex.md #### RawExifIndex enumeration Defines ids of RawExif tags. The RawExifIndex type exposes the following members: ##### Fields | Field | Description | | :- | :- | | EXPOSURE_TIME | Indicates the ExposureTime. | | F_NUMBER | Indicates the FNumber. | | EXPOSURE_PROGRAM | Indicates the ExposureProgram. | | SPECTRAL_SENSITIVITY | Indicates the SpectralSensitivity. | | PHOTOGRAPHIC_SENSITIVITY | Indicates the PhotographicSensitivity. | | OECF | Indicates the OECF. | | SENSITIVITY_TYPE | Indicates the SensitivityType. | | STANDARD_OUTPUT_SENSITIVITY | Indicates the StandardOutputSensitivity. | | RECOMMENDED_EXPOSURE_INDEX | Indicates the RecommendedExposureIndex. | | ISO_SPEED | Indicates the ISOSpeed. | | ISO_SPEED_LATITUDEYYY | Indicates the ISOSpeedLatitudeyyy. | | ISO_SPEED_LATITUDEZZZ | Indicates the ISOSpeedLatitudezzz. | | EXIF_VERSION | Indicates the ExifVersion. | | DATE_TIME_ORIGINAL | Indicates the DateTimeOriginal. | | DATE_TIME_DIGITIZED | Indicates the DateTimeDigitized. | | OFFSET_TIME | Indicates the OffsetTime. | | OFFSET_TIME_ORIGINAL | Indicates the OffsetTimeOriginal. | | OFFSET_TIME_DIGITIZED | Indicates the OffsetTimeDigitized. | | COMPONENTS_CONFIGURATION | Indicates the ComponentsConfiguration. | | SHUTTER_SPEED_VALUE | Indicates the ShutterSpeedValue. | | APERTURE_VALUE | Indicates the ApertureValue. | | BRIGHTNESS_VALUE | Indicates the BrightnessValue. | | EXPOSURE_BIAS_VALUE | Indicates the ExposureBiasValue. | | MAX_APERTURE_VALUE | Indicates the MaxApertureValue. | | SUBJECT_DISTANCE | Indicates the SubjectDistance. | | METERING_MODE | Indicates the MeteringMode. | | LIGHT_SOURCE | Indicates the LightSource. | | FLASH | Indicates the Flash. | | FOCAL_LENGTH | Indicates the FocalLength. | | SUBJECT_AREA | Indicates the SubjectArea. | | MAKER_NOTE | Indicates the MakerNote. | | USER_COMMENT | Indicates the UserComment. | | SUB_SEC_TIME | Indicates the SubSecTime. | | SUB_SEC_TIME_ORIGINAL | Indicates the SubSecTimeOriginal. | | SUB_SEC_TIME_DIGITIZED | Indicates the SubSecTimeDigitized. | | TEMPERATURE | Indicates the Temperature. | | HUMIDITY | Indicates the Humidity. | | PRESSURE | Indicates the Pressure. | | WATER_DEPTH | Indicates the WaterDepth. | | ACCELERATION | Indicates the Acceleration. | | CAMERA_ELEVATION_ANGLE | Indicates the CameraElevationAngle. | | FLASHPIX_VERSION | Indicates the FlashpixVersion. | | COLOR_SPACE | Indicates the ColorSpace. | | PIXEL_X_DIMENSION | Indicates the PixelXDimension. | | PIXEL_Y_DIMENSION | Indicates the PixelYDimension. | | RELATED_SOUND_FILE | Indicates the RelatedSoundFile. | | INTEROPERABILITY_IFD_POINTER | Indicates the InteroperabilityIFDPointer. | | FLASH_ENERGY | Indicates the FlashEnergy. | | SPATIAL_FREQUENCY_RESPONSE | Indicates the SpatialFrequencyResponse. | | FOCAL_PLANE_X_RESOLUTION | Indicates the FocalPlaneXResolution. | | FOCAL_PLANE_Y_RESOLUTION | Indicates the FocalPlaneYResolution. | | FOCAL_PLANE_RESOLUTION_UNIT | Indicates the FocalPlaneResolutionUnit. | | SUBJECT_LOCATION | Indicates the SubjectLocation. | | EXPOSURE_INDEX | Indicates the ExposureIndex. | | SENSING_METHOD | Indicates the SensingMethod. | | FILE_SOURCE | Indicates the FileSource. | | SCENE_TYPE | Indicates the SceneType. | | CFA_PATTERN | Indicates the CFAPattern. | | CUSTOM_RENDERED | Indicates the CustomRendered. | | EXPOSURE_MODE | Indicates the ExposureMode. | | WHITE_BALANCE | Indicates the WhiteBalance. | | DIGITAL_ZOOM_RATIO | Indicates the DigitalZoomRatio. | | FOCAL_LENGTH_IN_35MM_FILM | Indicates the FocalLengthIn35mmFilm. | | SCENE_CAPTURE_TYPE | Indicates the SceneCaptureType. | | GAIN_CONTROL | Indicates the GainControl. | | CONTRAST | Indicates the Contrast. | | SATURATION | Indicates the Saturation. | | SHARPNESS | Indicates the Sharpness. | | DEVICE_SETTING_DESCRIPTION | Indicates the DeviceSettingDescription. | | SUBJECT_DISTANCE_RANGE | Indicates the SubjectDistanceRange. | | IMAGE_UNIQUE_ID | Indicates the ImageUniqueID. | | CAMERA_OWNER_NAME | Indicates the CameraOwnerName. | | BODY_SERIAL_NUMBER | Indicates the BodySerialNumber. | | LENS_SPECIFICATION | Indicates the LensSpecification. | | LENS_MAKE | Indicates the LensMake. | | LENS_MODEL | Indicates the LensModel. | | LENS_SERIAL_NUMBER | Indicates the LensSerialNumber. | | COMPOSITE_IMAGE | Indicates the CompositeImage. | | SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE | Indicates the SourceImageNumberOfCompositeImage. | | SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE | Indicates the SourceExposureTimesOfCompositeImage. | | GAMMA | Indicates the Gamma. | ### RawExifTagPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage.md #### RawExifTagPackage class Represents Exif tags. **Inheritance:** `RawExifTagPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The RawExifTagPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | raw_maker_note_package | Gets the Manufacturer notes (MakerNote). | | interoperability_ifd_pointer_package | Gets the Interoperability tag (Interoperability IFD Pointer). | | interoperability_ifd_pointer | Gets the Interoperability tag (Interoperability IFD Pointer). | | exposure_time | Gets the Exposure time. | | f_number | Gets the F number. | | exposure_program | Gets the Exposure program. | | spectral_sensitivity | Gets the Spectral sensitivity. | | photographic_sensitivity | Gets the Photographic Sensitivity. | | oecf | Gets the Optoelectric conversion factor. | | sensitivity_type | Gets the Sensitivity Type. | | standard_output_sensitivity | Gets the Standard Output Sensitivity. | | recommended_exposure_index | Gets the Recommended ExposureIndexs. | | iso_speed | Gets the ISO Speed. | | iso_speed_latitudeyyy | Gets the ISO Speed Latitude yyy. | | iso_speed_latitudezzz | Gets the ISO Speed Latitude zzz. | | exif_version | Gets the ExifVersion. | | date_time_original | Gets the Date and time of original data generation. | | date_time_digitized | Gets the Date and time of digital data generation. | | offset_time | Gets the Offset data of DateTime. | | offset_time_original | Gets the Offset data of DateTimeOriginal. | | offset_time_digitized | Gets the Offset data of DateTimeDigitized. | | components_configuration | Gets the Meaning of each component. | | shutter_speed_value | Gets the Shutter speed. | | aperture_value | Gets the Aperture. | | brightness_value | Gets the Brightness. | | exposure_bias_value | Gets the Exposure bias. | | max_aperture_value | Gets the Maximum lens aperture. | | subject_distance | Gets the Subject distance. | | metering_mode | Gets the Metering mode. | | light_source | Gets the Light source. | | flash | Gets the Flash. | | focal_length | Gets the Lens focal length. | | subject_area | Gets the Subject area. | | user_comment | Gets the User comments. | | sub_sec_time | Gets the DateTime subseconds. | | sub_sec_time_original | Gets the DateTimeOriginal subseconds. | | sub_sec_time_digitized | Gets the DateTimeDigitized subseconds. | | temperature | Gets the Temperature. | | humidity | Gets the Humidity. | | pressure | Gets the Pressure. | | water_depth | Gets the WaterDepth. | | acceleration | Gets the Acceleration. | | camera_elevation_angle | Gets the Camera elevation angle. | | flashpix_version | Gets the Temperature. | | color_space | Gets the Color space information . | | pixel_x_dimension | Gets the Valid image width. | | pixel_y_dimension | Gets the Valid image height. | | related_sound_file | Gets the Related audio file. | | flash_energy | Gets the Flash energy. | | spatial_frequency_response | Gets the Spatial frequency response. | | focal_plane_x_resolution | Gets Focal plane X resolution. | | focal_plane_y_resolution | Gets the Focal plane Y resolution. | | focal_plane_resolution_unit | Gets the Focal plane resolution unit. | | subject_location | Gets the Subject location. | | exposure_index | Gets the Exposure index. | | sensing_method | Gets the Sensing method. | | file_source | Gets the File source. | | scene_type | Gets the Scene Type. | | cfa_pattern | Gets the CFA pattern. | | custom_rendered | Gets the Custom image processing. | | exposure_mode | Gets the Exposure mode. | | white_balance | Gets the White balance. | | digital_zoom_ratio | Gets the Digital zoom ratio. | | focal_length_in_35mm_film | Gets the Focal length in 35 mm film. | | scene_capture_type | Gets the Scene capture type. | | gain_control | Gets the Gain control. | | contrast | Gets the Contrast. | | saturation | Gets the Saturation. | | sharpness | Gets the Sharpness. | | device_setting_description | Gets the Device settings description. | | subject_distance_range | Gets the Subject distance range. | | image_unique_id | Gets the Unique image ID. | | camera_owner_name | Gets the Camera Owner Name. | | body_serial_number | Gets the Body Serial Number. | | lens_specification | Gets the Lens Specification. | | lens_model | Gets the Lens Model. | | lens_make | Gets the Lens Make. | | lens_serial_number | Gets the Lens Serial Number. | | composite_image | Gets the Composite image. | | source_image_number_of_composite_image | Gets the Source image number of composite image. | | source_exposure_times_of_composite_image | Gets the Source exposure times of composite image. | | gamma | Gets the Gamma. | | maker_note | Gets the Standard Output Sensitivity. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### RawExifTagPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### acceleration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/acceleration.md #### acceleration property Gets the Acceleration. ##### Definition: ```python @property def acceleration(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### aperture_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/aperture_value.md #### aperture_value property Gets the Aperture. ##### Definition: ```python @property def aperture_value(self): ... ``` ### body_serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/body_serial_number.md #### body_serial_number property Gets the Body Serial Number. ##### Definition: ```python @property def body_serial_number(self): ... ``` ### brightness_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/brightness_value.md #### brightness_value property Gets the Brightness. ##### Definition: ```python @property def brightness_value(self): ... ``` ### camera_elevation_angle property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/camera_elevation_angle.md #### camera_elevation_angle property Gets the Camera elevation angle. ##### Definition: ```python @property def camera_elevation_angle(self): ... ``` ### camera_owner_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/camera_owner_name.md #### camera_owner_name property Gets the Camera Owner Name. ##### Definition: ```python @property def camera_owner_name(self): ... ``` ### cfa_pattern property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/cfa_pattern.md #### cfa_pattern property Gets the CFA pattern. ##### Definition: ```python @property def cfa_pattern(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### color_space property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/color_space.md #### color_space property Gets the Color space information . ##### Definition: ```python @property def color_space(self): ... ``` ### components_configuration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/components_configuration.md #### components_configuration property Gets the Meaning of each component. ##### Definition: ```python @property def components_configuration(self): ... ``` ### composite_image property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/composite_image.md #### composite_image property Gets the Composite image. ##### Definition: ```python @property def composite_image(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contrast property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/contrast.md #### contrast property Gets the Contrast. ##### Definition: ```python @property def contrast(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### custom_rendered property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/custom_rendered.md #### custom_rendered property Gets the Custom image processing. ##### Definition: ```python @property def custom_rendered(self): ... ``` ### date_time_digitized property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/date_time_digitized.md #### date_time_digitized property Gets the Date and time of digital data generation. ##### Definition: ```python @property def date_time_digitized(self): ... ``` ### date_time_original property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/date_time_original.md #### date_time_original property Gets the Date and time of original data generation. ##### Definition: ```python @property def date_time_original(self): ... ``` ### device_setting_description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/device_setting_description.md #### device_setting_description property Gets the Device settings description. ##### Definition: ```python @property def device_setting_description(self): ... ``` ### digital_zoom_ratio property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/digital_zoom_ratio.md #### digital_zoom_ratio property Gets the Digital zoom ratio. ##### Definition: ```python @property def digital_zoom_ratio(self): ... ``` ### exif_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/exif_version.md #### exif_version property Gets the ExifVersion. ##### Definition: ```python @property def exif_version(self): ... ``` ### exposure_bias_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposure_bias_value.md #### exposure_bias_value property Gets the Exposure bias. ##### Definition: ```python @property def exposure_bias_value(self): ... ``` ### exposure_index property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposure_index.md #### exposure_index property Gets the Exposure index. ##### Definition: ```python @property def exposure_index(self): ... ``` ### exposure_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposure_mode.md #### exposure_mode property Gets the Exposure mode. ##### Definition: ```python @property def exposure_mode(self): ... ``` ### exposure_program property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposure_program.md #### exposure_program property Gets the Exposure program. ##### Definition: ```python @property def exposure_program(self): ... ``` ### exposure_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/exposure_time.md #### exposure_time property Gets the Exposure time. ##### Definition: ```python @property def exposure_time(self): ... ``` ### f_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/f_number.md #### f_number property Gets the F number. ##### Definition: ```python @property def f_number(self): ... ``` ### file_source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/file_source.md #### file_source property Gets the File source. ##### Definition: ```python @property def file_source(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flash property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/flash.md #### flash property Gets the Flash. ##### Definition: ```python @property def flash(self): ... ``` ### flash_energy property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/flash_energy.md #### flash_energy property Gets the Flash energy. ##### Definition: ```python @property def flash_energy(self): ... ``` ### flashpix_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/flashpix_version.md #### flashpix_version property Gets the Temperature. ##### Definition: ```python @property def flashpix_version(self): ... ``` ### focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/focal_length.md #### focal_length property Gets the Lens focal length. ##### Definition: ```python @property def focal_length(self): ... ``` ### focal_length_in_35mm_film property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/focal_length_in_35mm_film.md #### focal_length_in_35mm_film property Gets the Focal length in 35 mm film. ##### Definition: ```python @property def focal_length_in_35mm_film(self): ... ``` ### focal_plane_resolution_unit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/focal_plane_resolution_unit.md #### focal_plane_resolution_unit property Gets the Focal plane resolution unit. ##### Definition: ```python @property def focal_plane_resolution_unit(self): ... ``` ### focal_plane_x_resolution property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/focal_plane_x_resolution.md #### focal_plane_x_resolution property Gets Focal plane X resolution. ##### Definition: ```python @property def focal_plane_x_resolution(self): ... ``` ### focal_plane_y_resolution property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/focal_plane_y_resolution.md #### focal_plane_y_resolution property Gets the Focal plane Y resolution. ##### Definition: ```python @property def focal_plane_y_resolution(self): ... ``` ### gain_control property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/gain_control.md #### gain_control property Gets the Gain control. ##### Definition: ```python @property def gain_control(self): ... ``` ### gamma property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/gamma.md #### gamma property Gets the Gamma. ##### Definition: ```python @property def gamma(self): ... ``` ### humidity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/humidity.md #### humidity property Gets the Humidity. ##### Definition: ```python @property def humidity(self): ... ``` ### image_unique_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/image_unique_id.md #### image_unique_id property Gets the Unique image ID. ##### Definition: ```python @property def image_unique_id(self): ... ``` ### interoperability_ifd_pointer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/interoperability_ifd_pointer.md #### interoperability_ifd_pointer property Gets the Interoperability tag (Interoperability IFD Pointer). ##### Definition: ```python @property def interoperability_ifd_pointer(self): ... ``` ### interoperability_ifd_pointer_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/interoperability_ifd_pointer_package.md #### interoperability_ifd_pointer_package property Gets the Interoperability tag (Interoperability IFD Pointer). ##### Definition: ```python @property def interoperability_ifd_pointer_package(self): ... ``` ### iso_speed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/iso_speed.md #### iso_speed property Gets the ISO Speed. ##### Definition: ```python @property def iso_speed(self): ... ``` ### iso_speed_latitudeyyy property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/iso_speed_latitudeyyy.md #### iso_speed_latitudeyyy property Gets the ISO Speed Latitude yyy. ##### Definition: ```python @property def iso_speed_latitudeyyy(self): ... ``` ### iso_speed_latitudezzz property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/iso_speed_latitudezzz.md #### iso_speed_latitudezzz property Gets the ISO Speed Latitude zzz. ##### Definition: ```python @property def iso_speed_latitudezzz(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lens_make property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/lens_make.md #### lens_make property Gets the Lens Make. ##### Definition: ```python @property def lens_make(self): ... ``` ### lens_model property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/lens_model.md #### lens_model property Gets the Lens Model. ##### Definition: ```python @property def lens_model(self): ... ``` ### lens_serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/lens_serial_number.md #### lens_serial_number property Gets the Lens Serial Number. ##### Definition: ```python @property def lens_serial_number(self): ... ``` ### lens_specification property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/lens_specification.md #### lens_specification property Gets the Lens Specification. ##### Definition: ```python @property def lens_specification(self): ... ``` ### light_source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/light_source.md #### light_source property Gets the Light source. ##### Definition: ```python @property def light_source(self): ... ``` ### maker_note property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/maker_note.md #### maker_note property Gets the Standard Output Sensitivity. ##### Definition: ```python @property def maker_note(self): ... ``` ### max_aperture_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/max_aperture_value.md #### max_aperture_value property Gets the Maximum lens aperture. ##### Definition: ```python @property def max_aperture_value(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### metering_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/metering_mode.md #### metering_mode property Gets the Metering mode. ##### Definition: ```python @property def metering_mode(self): ... ``` ### oecf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/oecf.md #### oecf property Gets the Optoelectric conversion factor. ##### Definition: ```python @property def oecf(self): ... ``` ### offset_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/offset_time.md #### offset_time property Gets the Offset data of DateTime. ##### Definition: ```python @property def offset_time(self): ... ``` ### offset_time_digitized property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/offset_time_digitized.md #### offset_time_digitized property Gets the Offset data of DateTimeDigitized. ##### Definition: ```python @property def offset_time_digitized(self): ... ``` ### offset_time_original property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/offset_time_original.md #### offset_time_original property Gets the Offset data of DateTimeOriginal. ##### Definition: ```python @property def offset_time_original(self): ... ``` ### photographic_sensitivity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/photographic_sensitivity.md #### photographic_sensitivity property Gets the Photographic Sensitivity. ##### Definition: ```python @property def photographic_sensitivity(self): ... ``` ### pixel_x_dimension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/pixel_x_dimension.md #### pixel_x_dimension property Gets the Valid image width. ##### Definition: ```python @property def pixel_x_dimension(self): ... ``` ### pixel_y_dimension property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/pixel_y_dimension.md #### pixel_y_dimension property Gets the Valid image height. ##### Definition: ```python @property def pixel_y_dimension(self): ... ``` ### pressure property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/pressure.md #### pressure property Gets the Pressure. ##### Definition: ```python @property def pressure(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_maker_note_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/raw_maker_note_package.md #### raw_maker_note_package property Gets the Manufacturer notes (MakerNote). ##### Definition: ```python @property def raw_maker_note_package(self): ... ``` ### recommended_exposure_index property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/recommended_exposure_index.md #### recommended_exposure_index property Gets the Recommended ExposureIndexs. ##### Definition: ```python @property def recommended_exposure_index(self): ... ``` ### related_sound_file property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/related_sound_file.md #### related_sound_file property Gets the Related audio file. ##### Definition: ```python @property def related_sound_file(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/saturation.md #### saturation property Gets the Saturation. ##### Definition: ```python @property def saturation(self): ... ``` ### scene_capture_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/scene_capture_type.md #### scene_capture_type property Gets the Scene capture type. ##### Definition: ```python @property def scene_capture_type(self): ... ``` ### scene_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/scene_type.md #### scene_type property Gets the Scene Type. ##### Definition: ```python @property def scene_type(self): ... ``` ### sensing_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/sensing_method.md #### sensing_method property Gets the Sensing method. ##### Definition: ```python @property def sensing_method(self): ... ``` ### sensitivity_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/sensitivity_type.md #### sensitivity_type property Gets the Sensitivity Type. ##### Definition: ```python @property def sensitivity_type(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/sharpness.md #### sharpness property Gets the Sharpness. ##### Definition: ```python @property def sharpness(self): ... ``` ### shutter_speed_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/shutter_speed_value.md #### shutter_speed_value property Gets the Shutter speed. ##### Definition: ```python @property def shutter_speed_value(self): ... ``` ### source_exposure_times_of_composite_image property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/source_exposure_times_of_composite_image.md #### source_exposure_times_of_composite_image property Gets the Source exposure times of composite image. ##### Definition: ```python @property def source_exposure_times_of_composite_image(self): ... ``` ### source_image_number_of_composite_image property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/source_image_number_of_composite_image.md #### source_image_number_of_composite_image property Gets the Source image number of composite image. ##### Definition: ```python @property def source_image_number_of_composite_image(self): ... ``` ### spatial_frequency_response property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/spatial_frequency_response.md #### spatial_frequency_response property Gets the Spatial frequency response. ##### Definition: ```python @property def spatial_frequency_response(self): ... ``` ### spectral_sensitivity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/spectral_sensitivity.md #### spectral_sensitivity property Gets the Spectral sensitivity. ##### Definition: ```python @property def spectral_sensitivity(self): ... ``` ### standard_output_sensitivity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/standard_output_sensitivity.md #### standard_output_sensitivity property Gets the Standard Output Sensitivity. ##### Definition: ```python @property def standard_output_sensitivity(self): ... ``` ### sub_sec_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/sub_sec_time.md #### sub_sec_time property Gets the DateTime subseconds. ##### Definition: ```python @property def sub_sec_time(self): ... ``` ### sub_sec_time_digitized property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/sub_sec_time_digitized.md #### sub_sec_time_digitized property Gets the DateTimeDigitized subseconds. ##### Definition: ```python @property def sub_sec_time_digitized(self): ... ``` ### sub_sec_time_original property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/sub_sec_time_original.md #### sub_sec_time_original property Gets the DateTimeOriginal subseconds. ##### Definition: ```python @property def sub_sec_time_original(self): ... ``` ### subject_area property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/subject_area.md #### subject_area property Gets the Subject area. ##### Definition: ```python @property def subject_area(self): ... ``` ### subject_distance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/subject_distance.md #### subject_distance property Gets the Subject distance. ##### Definition: ```python @property def subject_distance(self): ... ``` ### subject_distance_range property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/subject_distance_range.md #### subject_distance_range property Gets the Subject distance range. ##### Definition: ```python @property def subject_distance_range(self): ... ``` ### subject_location property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/subject_location.md #### subject_location property Gets the Subject location. ##### Definition: ```python @property def subject_location(self): ... ``` ### temperature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/temperature.md #### temperature property Gets the Temperature. ##### Definition: ```python @property def temperature(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### user_comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/user_comment.md #### user_comment property Gets the User comments. ##### Definition: ```python @property def user_comment(self): ... ``` ### water_depth property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/water_depth.md #### water_depth property Gets the WaterDepth. ##### Definition: ```python @property def water_depth(self): ... ``` ### white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawexiftagpackage/white_balance.md #### white_balance property Gets the White balance. ##### Definition: ```python @property def white_balance(self): ... ``` ### RawIFD1Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package.md #### RawIFD1Package class Represents IFD1 tags. **Inheritance:** `RawIFD1Package` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The RawIFD1Package type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | thumbnail_offset | Gets the ThumbnailOffset. | | thumbnail_lenght | Gets the ThumbnailLenght. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### RawIFD1Package indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### thumbnail_lenght property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/thumbnail_lenght.md #### thumbnail_lenght property Gets the ThumbnailLenght. ##### Definition: ```python @property def thumbnail_lenght(self): ... ``` ### thumbnail_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/thumbnail_offset.md #### thumbnail_offset property Gets the ThumbnailOffset. ##### Definition: ```python @property def thumbnail_offset(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd1package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawIFD2Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package.md #### RawIFD2Package class Represents IFD1 tags. **Inheritance:** `RawIFD2Package` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The RawIFD2Package type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | image_width | Gets the image width. | | image_height | Gets the image height. | | bits_per_sample | Gets the image BitsPerSample. | | compression | Gets the image Compression. | | photometric_interpretation | Gets the image PhotometricInterpretation. | | strip_offset | Gets the image StripOffset. | | samples_per_pixel | Gets the SamplesPerPixel. | | row_per_strip | Gets the RowPerStrip. | | strip_byte_counts | Gets the StripByteCounts. | | planar_configuration | Gets the PlanarConfiguration. | | unknown1 | Gets the Unknown1. | | unknown2 | Gets the Unknown2. | | unknown3 | Gets the Unknown3. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### RawIFD2Package indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bits_per_sample property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/bits_per_sample.md #### bits_per_sample property Gets the image BitsPerSample. ##### Definition: ```python @property def bits_per_sample(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### compression property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/compression.md #### compression property Gets the image Compression. ##### Definition: ```python @property def compression(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/image_height.md #### image_height property Gets the image height. ##### Definition: ```python @property def image_height(self): ... ``` ### image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/image_width.md #### image_width property Gets the image width. ##### Definition: ```python @property def image_width(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### photometric_interpretation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/photometric_interpretation.md #### photometric_interpretation property Gets the image PhotometricInterpretation. ##### Definition: ```python @property def photometric_interpretation(self): ... ``` ### planar_configuration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/planar_configuration.md #### planar_configuration property Gets the PlanarConfiguration. ##### Definition: ```python @property def planar_configuration(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### row_per_strip property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/row_per_strip.md #### row_per_strip property Gets the RowPerStrip. ##### Definition: ```python @property def row_per_strip(self): ... ``` ### samples_per_pixel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/samples_per_pixel.md #### samples_per_pixel property Gets the SamplesPerPixel. ##### Definition: ```python @property def samples_per_pixel(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### strip_byte_counts property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/strip_byte_counts.md #### strip_byte_counts property Gets the StripByteCounts. ##### Definition: ```python @property def strip_byte_counts(self): ... ``` ### strip_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/strip_offset.md #### strip_offset property Gets the image StripOffset. ##### Definition: ```python @property def strip_offset(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### unknown1 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/unknown1.md #### unknown1 property Gets the Unknown1. ##### Definition: ```python @property def unknown1(self): ... ``` ### unknown2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/unknown2.md #### unknown2 property Gets the Unknown2. ##### Definition: ```python @property def unknown2(self): ... ``` ### unknown3 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/unknown3.md #### unknown3 property Gets the Unknown3. ##### Definition: ```python @property def unknown3(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd2package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawIFD3Package class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package.md #### RawIFD3Package class Represents IFD1 tags. **Inheritance:** `RawIFD3Package` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The RawIFD3Package type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | image_width | Gets the image width. | | image_height | Gets the image height. | | compression | Gets the image Compression. | | strip_offset | Gets the image StripOffset. | | strip_byte_counts | Gets the image StripByteCounts. | | unknown1 | Gets the Unknown1. | | unknown2 | Gets the Unknown2. | | unknown3 | Gets the Unknown3. | | unknown4 | Gets the Unknown4. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### RawIFD3Package indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### compression property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/compression.md #### compression property Gets the image Compression. ##### Definition: ```python @property def compression(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/image_height.md #### image_height property Gets the image height. ##### Definition: ```python @property def image_height(self): ... ``` ### image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/image_width.md #### image_width property Gets the image width. ##### Definition: ```python @property def image_width(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### strip_byte_counts property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/strip_byte_counts.md #### strip_byte_counts property Gets the image StripByteCounts. ##### Definition: ```python @property def strip_byte_counts(self): ... ``` ### strip_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/strip_offset.md #### strip_offset property Gets the image StripOffset. ##### Definition: ```python @property def strip_offset(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### unknown1 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/unknown1.md #### unknown1 property Gets the Unknown1. ##### Definition: ```python @property def unknown1(self): ... ``` ### unknown2 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/unknown2.md #### unknown2 property Gets the Unknown2. ##### Definition: ```python @property def unknown2(self): ... ``` ### unknown3 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/unknown3.md #### unknown3 property Gets the Unknown3. ##### Definition: ```python @property def unknown3(self): ... ``` ### unknown4 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/unknown4.md #### unknown4 property Gets the Unknown4. ##### Definition: ```python @property def unknown4(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawifd3package/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawMakerNotePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage.md #### RawMakerNotePackage class Represents Raw MakerNotes tags. **Inheritance:** `RawMakerNotePackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The RawMakerNotePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### RawMakerNotePackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawmakernotepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage.md #### RawPackage class Represents Raw Package. **Inheritance:** `RawPackage` → `CustomPackage` → `MetadataPackage` The RawPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### RawTagType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtagtype.md #### RawTagType enumeration Represents the IFD data type. The RawTagType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | BYTE | An 8-bit unsigned integer. | | ASCII | An 8-bit byte with a 7-bit ASCII character. | | SHORT | A 16-bit unsigned integer. | | LONG | A 32-bit unsigned integer. | | RATIONAL | A pair of LONGs, numerator then denominator. | | S_BYTE | An 8-bit signed integer. | | UNDEFINED | An undefined 8-bit byte. | | S_SHORT | A 16-bit signed integer. | | S_LONG | A 32-bit signed integer. | | S_RATIONAL | A pair of SLONGs, numerator then denominator. | | FLOAT | A 4-byte IEEE floating point value. | | DOUBLE | An 8-byte IEEE floating point value. | | SUB_IFD | A 4-byte long offset value | ### RawTiffTagPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage.md #### RawTiffTagPackage class Represents Tiff tags. **Inheritance:** `RawTiffTagPackage` → `RawDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The RawTiffTagPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | raw_ifd1_package | Gets the IFD1. | | raw_ifd2_package | Gets the IFD2. | | raw_ifd3_package | Gets the IFD3. | | raw_exif_tag_package | Gets the Exif tag (Exif IFD Pointer). | | gps_ifd_package | Gets the GPS tag (GPSInfo IFD Pointer). | | image_width | Gets the image width. | | image_height | Gets the image height. | | bits_per_sample | Gets the bits per sample. | | compression | Gets compression. | | photometric_interpretation | Gets PhotometricInterpretation. | | image_description | Gets or sets a character string giving the title of the image.
It may be a comment such as "1988 company picnic" or the like. | | make | Gets the macro mode. | | model | Gets the model. | | strip_offset | Gets the StripOffset. | | orientation | Gets the orientation. | | samples_per_pixel | Gets the SamplesPerPixel. | | rows_per_strip | Gets the RowsPerStrip. | | strip_byte_counts | Gets the strip byte counts. | | x_resolution | Gets the XResolution. | | y_resolution | Gets the YResolution. | | planar_configuration | Gets the PlanarConfiguration. | | resolution_unit | Gets the Resolution Unit. | | transfer_function | Gets the TransferFunction. | | software | Gets the Software. | | date_time | Gets the DateTime. | | artist | Gets the Artist. | | white_point | Gets the WhitePoint. | | primary_chromaticities | Gets the PrimaryChromaticities. | | jpeg_interchange_format | Gets the JpegInterchangeFormat. | | jpeg_interchange_format_length | Gets the JpegInterchangeFormatLength. | | y_cb_cr_coefficients | Gets the YCbCrCoefficients. | | y_cb_cr_sub_sampling | Gets the YCbCrSubSampling. | | y_cb_cr_positioning | Gets the YCbCrPositioning. | | reference_black_white | Gets the ReferenceBlackWhite. | | copyright | Gets the Copyright. | | exif | Gets the EXIF. | | gps_ifd | Gets the EXIF. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all Raw tags stored in the package. | ### RawTiffTagPackage indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/artist.md #### artist property Gets the Artist. ##### Definition: ```python @property def artist(self): ... ``` ### bits_per_sample property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/bits_per_sample.md #### bits_per_sample property Gets the bits per sample. ##### Definition: ```python @property def bits_per_sample(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/clear.md #### clear(self) Removes all Raw tags stored in the package. ```python def clear(self): ... ``` ### compression property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/compression.md #### compression property Gets compression. ##### Definition: ```python @property def compression(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/copyright.md #### copyright property Gets the Copyright. ##### Definition: ```python @property def copyright(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/date_time.md #### date_time property Gets the DateTime. ##### Definition: ```python @property def date_time(self): ... ``` ### exif property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/exif.md #### exif property Gets the EXIF. ##### Definition: ```python @property def exif(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### gps_ifd property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/gps_ifd.md #### gps_ifd property Gets the EXIF. ##### Definition: ```python @property def gps_ifd(self): ... ``` ### gps_ifd_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/gps_ifd_package.md #### gps_ifd_package property Gets the GPS tag (GPSInfo IFD Pointer). ##### Definition: ```python @property def gps_ifd_package(self): ... ``` ### image_description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/image_description.md #### image_description property Gets or sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. ##### Definition: ```python @property def image_description(self): ... @image_description.setter def image_description(self, value): ... ``` ### image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/image_height.md #### image_height property Gets the image height. ##### Definition: ```python @property def image_height(self): ... ``` ### image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/image_width.md #### image_width property Gets the image width. ##### Definition: ```python @property def image_width(self): ... ``` ### jpeg_interchange_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/jpeg_interchange_format.md #### jpeg_interchange_format property Gets the JpegInterchangeFormat. ##### Definition: ```python @property def jpeg_interchange_format(self): ... ``` ### jpeg_interchange_format_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/jpeg_interchange_format_length.md #### jpeg_interchange_format_length property Gets the JpegInterchangeFormatLength. ##### Definition: ```python @property def jpeg_interchange_format_length(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### make property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/make.md #### make property Gets the macro mode. ##### Definition: ```python @property def make(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### model property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/model.md #### model property Gets the model. ##### Definition: ```python @property def model(self): ... ``` ### orientation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/orientation.md #### orientation property Gets the orientation. ##### Definition: ```python @property def orientation(self): ... ``` ### photometric_interpretation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/photometric_interpretation.md #### photometric_interpretation property Gets PhotometricInterpretation. ##### Definition: ```python @property def photometric_interpretation(self): ... ``` ### planar_configuration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/planar_configuration.md #### planar_configuration property Gets the PlanarConfiguration. ##### Definition: ```python @property def planar_configuration(self): ... ``` ### primary_chromaticities property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/primary_chromaticities.md #### primary_chromaticities property Gets the PrimaryChromaticities. ##### Definition: ```python @property def primary_chromaticities(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_exif_tag_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/raw_exif_tag_package.md #### raw_exif_tag_package property Gets the Exif tag (Exif IFD Pointer). ##### Definition: ```python @property def raw_exif_tag_package(self): ... ``` ### raw_ifd1_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/raw_ifd1_package.md #### raw_ifd1_package property Gets the IFD1. ##### Definition: ```python @property def raw_ifd1_package(self): ... ``` ### raw_ifd2_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/raw_ifd2_package.md #### raw_ifd2_package property Gets the IFD2. ##### Definition: ```python @property def raw_ifd2_package(self): ... ``` ### raw_ifd3_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/raw_ifd3_package.md #### raw_ifd3_package property Gets the IFD3. ##### Definition: ```python @property def raw_ifd3_package(self): ... ``` ### reference_black_white property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/reference_black_white.md #### reference_black_white property Gets the ReferenceBlackWhite. ##### Definition: ```python @property def reference_black_white(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified Raw tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | int | A Raw tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### resolution_unit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/resolution_unit.md #### resolution_unit property Gets the Resolution Unit. ##### Definition: ```python @property def resolution_unit(self): ... ``` ### rows_per_strip property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/rows_per_strip.md #### rows_per_strip property Gets the RowsPerStrip. ##### Definition: ```python @property def rows_per_strip(self): ... ``` ### samples_per_pixel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/samples_per_pixel.md #### samples_per_pixel property Gets the SamplesPerPixel. ##### Definition: ```python @property def samples_per_pixel(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.raw.tag.RawTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### software property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/software.md #### software property Gets the Software. ##### Definition: ```python @property def software(self): ... ``` ### strip_byte_counts property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/strip_byte_counts.md #### strip_byte_counts property Gets the strip byte counts. ##### Definition: ```python @property def strip_byte_counts(self): ... ``` ### strip_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/strip_offset.md #### strip_offset property Gets the StripOffset. ##### Definition: ```python @property def strip_offset(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all Raw tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### transfer_function property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/transfer_function.md #### transfer_function property Gets the TransferFunction. ##### Definition: ```python @property def transfer_function(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### white_point property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/white_point.md #### white_point property Gets the WhitePoint. ##### Definition: ```python @property def white_point(self): ... ``` ### x_resolution property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/x_resolution.md #### x_resolution property Gets the XResolution. ##### Definition: ```python @property def x_resolution(self): ... ``` ### y_cb_cr_coefficients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/y_cb_cr_coefficients.md #### y_cb_cr_coefficients property Gets the YCbCrCoefficients. ##### Definition: ```python @property def y_cb_cr_coefficients(self): ... ``` ### y_cb_cr_positioning property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/y_cb_cr_positioning.md #### y_cb_cr_positioning property Gets the YCbCrPositioning. ##### Definition: ```python @property def y_cb_cr_positioning(self): ... ``` ### y_cb_cr_sub_sampling property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/y_cb_cr_sub_sampling.md #### y_cb_cr_sub_sampling property Gets the YCbCrSubSampling. ##### Definition: ```python @property def y_cb_cr_sub_sampling(self): ... ``` ### y_resolution property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.raw/rawtifftagpackage/y_resolution.md #### y_resolution property Gets the YResolution. ##### Definition: ```python @property def y_resolution(self): ... ``` ### groupdocs.metadata.formats.riff Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff.md The namespace provides functionality allowing users to work with metadata of various formats derived from the RIFF container. ##### Classes | Class | Description | | :- | :- | | `RiffInfoPackage` | Represents the metadata package containing properties extracted from the RIFF INFO chunk. | ### RiffInfoPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage.md #### RiffInfoPackage class Represents the metadata package containing properties extracted from the RIFF INFO chunk. **Inheritance:** `RiffInfoPackage` → `CustomPackage` → `MetadataPackage` The RiffInfoPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | artist | Gets the artist of the original subject of the file. | | comment | Gets the comment about the file or the subject of the file. | | copyright | Gets the copyright information for the file. | | creation_date | Gets the date the subject of the file was created. | | engineer | Gets the name of the engineer who worked on the file. | | genre | Gets the genre of the original work. | | keywords | Gets the keywords that refer to the file or subject of the file. | | name | Gets the title of the subject of the file. | | subject | Gets a description of the file contents, such as "Aerial view of Seattle." | | software | Gets the name of the software package used to create the file. | | source | Gets the name of the person or organization who supplied the original subject of the file. | | technician | Gets the technician who digitized the subject file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/artist.md #### artist property Gets the artist of the original subject of the file. ##### Definition: ```python @property def artist(self): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/comment.md #### comment property Gets the comment about the file or the subject of the file. ##### Definition: ```python @property def comment(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/copyright.md #### copyright property Gets the copyright information for the file. ##### Definition: ```python @property def copyright(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/creation_date.md #### creation_date property Gets the date the subject of the file was created. ##### Definition: ```python @property def creation_date(self): ... ``` ### engineer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/engineer.md #### engineer property Gets the name of the engineer who worked on the file. ##### Definition: ```python @property def engineer(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### genre property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/genre.md #### genre property Gets the genre of the original work. ##### Definition: ```python @property def genre(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/keywords.md #### keywords property Gets the keywords that refer to the file or subject of the file. ##### Definition: ```python @property def keywords(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/name.md #### name property Gets the title of the subject of the file. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### software property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/software.md #### software property Gets the name of the software package used to create the file. ##### Definition: ```python @property def software(self): ... ``` ### source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/source.md #### source property Gets the name of the person or organization who supplied the original subject of the file. ##### Definition: ```python @property def source(self): ... ``` ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/subject.md #### subject property Gets a description of the file contents, such as "Aerial view of Seattle." ##### Definition: ```python @property def subject(self): ... ``` ### technician property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/technician.md #### technician property Gets the technician who digitized the subject file. ##### Definition: ```python @property def technician(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.riff/riffinfopackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.threed.dae Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae.md ##### Classes | Class | Description | | :- | :- | | `DaeNode` | Represents metadata associated with an .dae file. | | `DaePackage` | Represents .dae file metadata. | | `DaeRootPackage` | Represents .dae file metadata. | ### DaeNode class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode.md #### DaeNode class Represents metadata associated with an .dae file. **Inheritance:** `DaeNode` → `CustomPackage` → `MetadataPackage` The DaeNode type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daenode/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DaePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage.md #### DaePackage class Represents .dae file metadata. **Inheritance:** `DaePackage` → `CustomPackage` → `MetadataPackage` The DaePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | | creation_time | Gets or Sets the creation time of this asset. | | modification_time | Gets or Sets the modification time of this asset. | | author | Gets or sets the author of this asset | | comment | Gets or sets the comment of this asset. | | title | Gets or sets the title of this asset | | nodes | Gets an array of `DaeNode` entries inside the dae file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/author.md #### author property Gets or sets the author of this asset ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/comment.md #### comment property Gets or sets the comment of this asset. ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creation_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/creation_time.md #### creation_time property Gets or Sets the creation time of this asset. ##### Definition: ```python @property def creation_time(self): ... @creation_time.setter def creation_time(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modification_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/modification_time.md #### modification_time property Gets or Sets the modification time of this asset. ##### Definition: ```python @property def modification_time(self): ... @modification_time.setter def modification_time(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### nodes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/nodes.md #### nodes property Gets an array of `DaeNode` entries inside the dae file. ##### Definition: ```python @property def nodes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/title.md #### title property Gets or sets the title of this asset ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### DaeRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage.md #### DaeRootPackage class Represents .dae file metadata. **Inheritance:** `DaeRootPackage` → `RootMetadataPackage` → `MetadataPackage` The DaeRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | dae_package | Gets the Dae metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### dae_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/dae_package.md #### dae_package property Gets the Dae metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def dae_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.dae/daerootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.threed.fbx Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx.md ##### Classes | Class | Description | | :- | :- | | `FbxNode` | Represents metadata associated with an .fbx file. | | `FbxPackage` | Represents .fbx file metadata. | | `FbxRootPackage` | Represents .fbx file metadata. | ### FbxNode class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode.md #### FbxNode class Represents metadata associated with an .fbx file. **Inheritance:** `FbxNode` → `CustomPackage` → `MetadataPackage` The FbxNode type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxnode/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### FbxPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage.md #### FbxPackage class Represents .fbx file metadata. **Inheritance:** `FbxPackage` → `CustomPackage` → `MetadataPackage` The FbxPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | | author | Gets or sets the author of this asset | | comment | Gets or sets the comment of this asset. | | application_name | Gets or sets the application name of this asset | | application_vendor | Gets or sets the a application vendor of this asset | | application_version | Gets or sets the application version of this asset | | url | Gets or sets the url of this asset | | nodes | Gets an array of `FbxNode` entries inside the Fbx file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### application_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/application_name.md #### application_name property Gets or sets the application name of this asset ##### Definition: ```python @property def application_name(self): ... @application_name.setter def application_name(self, value): ... ``` ### application_vendor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/application_vendor.md #### application_vendor property Gets or sets the a application vendor of this asset ##### Definition: ```python @property def application_vendor(self): ... @application_vendor.setter def application_vendor(self, value): ... ``` ### application_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/application_version.md #### application_version property Gets or sets the application version of this asset ##### Definition: ```python @property def application_version(self): ... @application_version.setter def application_version(self, value): ... ``` ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/author.md #### author property Gets or sets the author of this asset ##### Definition: ```python @property def author(self): ... @author.setter def author(self, value): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/comment.md #### comment property Gets or sets the comment of this asset. ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### nodes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/nodes.md #### nodes property Gets an array of `FbxNode` entries inside the Fbx file. ##### Definition: ```python @property def nodes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### url property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxpackage/url.md #### url property Gets or sets the url of this asset ##### Definition: ```python @property def url(self): ... @url.setter def url(self, value): ... ``` ### FbxRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage.md #### FbxRootPackage class Represents .fbx file metadata. **Inheritance:** `FbxRootPackage` → `RootMetadataPackage` → `MetadataPackage` The FbxRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | fbx_package | Gets the Fbx metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### fbx_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/fbx_package.md #### fbx_package property Gets the Fbx metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def fbx_package(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.fbx/fbxrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.threed.gltf Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf.md ##### Classes | Class | Description | | :- | :- | | `GltfPackage` | Represents .glTF file metadata. | | `GltfPropertyDefinition` | Represents metadata associated with an .glTF file. | | `GltfPropertyTable` | Represents metadata associated with an .glTF file. | | `GltfRootPackage` | Represents .glTF file metadata. | ### GltfPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage.md #### GltfPackage class Represents .glTF file metadata. **Inheritance:** `GltfPackage` → `CustomPackage` → `MetadataPackage` The GltfPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | property_tables | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### property_tables property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/property_tables.md ##### Definition: ```python @property def property_tables(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### GltfPropertyDefinition class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition.md #### GltfPropertyDefinition class Represents metadata associated with an .glTF file. **Inheritance:** `GltfPropertyDefinition` → `CustomPackage` → `MetadataPackage` The GltfPropertyDefinition type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | property_name | Gets the property name. | | property_type | Gets the property type. | | property_value | Gets the property value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### property_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/property_name.md #### property_name property Gets the property name. ##### Definition: ```python @property def property_name(self): ... ``` ### property_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/property_type.md #### property_type property Gets the property type. ##### Definition: ```python @property def property_type(self): ... ``` ### property_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/property_value.md #### property_value property Gets the property value. ##### Definition: ```python @property def property_value(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertydefinition/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### GltfPropertyTable class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable.md #### GltfPropertyTable class Represents metadata associated with an .glTF file. **Inheritance:** `GltfPropertyTable` → `CustomPackage` → `MetadataPackage` The GltfPropertyTable type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | property_table_name | Gets the Property Table name. | | meta_class_name | Gets the Meta Class name. | | properties | Gets the Properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### meta_class_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/meta_class_name.md #### meta_class_name property Gets the Meta Class name. ##### Definition: ```python @property def meta_class_name(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/properties.md #### properties property Gets the Properties. ##### Definition: ```python @property def properties(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### property_table_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/property_table_name.md #### property_table_name property Gets the Property Table name. ##### Definition: ```python @property def property_table_name(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfpropertytable/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### GltfRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage.md #### GltfRootPackage class Represents .glTF file metadata. **Inheritance:** `GltfRootPackage` → `RootMetadataPackage` → `MetadataPackage` The GltfRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | gltf_package | Gets the Gltf metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### gltf_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/gltf_package.md #### gltf_package property Gets the Gltf metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def gltf_package(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.gltf/gltfrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.threed.stl Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl.md ##### Classes | Class | Description | | :- | :- | | `StlNode` | Represents metadata associated with an .stl file. | | `StlPackage` | Represents .stl file metadata. | | `StlRootPackage` | Represents .stl file metadata. | ### StlNode class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode.md #### StlNode class Represents metadata associated with an .stl file. **Inheritance:** `StlNode` → `CustomPackage` → `MetadataPackage` The StlNode type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlnode/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### StlPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage.md #### StlPackage class Represents .stl file metadata. **Inheritance:** `StlPackage` → `CustomPackage` → `MetadataPackage` The StlPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | | nodes | Gets an array of `StlNode` entries inside the 3ds file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### nodes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/nodes.md #### nodes property Gets an array of `StlNode` entries inside the 3ds file. ##### Definition: ```python @property def nodes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### StlRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage.md #### StlRootPackage class Represents .stl file metadata. **Inheritance:** `StlRootPackage` → `RootMetadataPackage` → `MetadataPackage` The StlRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | stl_package | Gets the Stl package package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### stl_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/stl_package.md #### stl_package property Gets the Stl package package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def stl_package(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.stl/stlrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.threed.threeds Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds.md ##### Classes | Class | Description | | :- | :- | | `ThreeDSNode` | Represents metadata associated with an .3ds file. | | `ThreeDSPackage` | Represents .3ds file metadata. | | `ThreeDSRootPackage` | Represents .3ds file metadata. | ### ThreeDSNode class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode.md #### ThreeDSNode class Represents metadata associated with an .3ds file. **Inheritance:** `ThreeDSNode` → `CustomPackage` → `MetadataPackage` The ThreeDSNode type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | | materials | Gets the array of materials. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### materials property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/materials.md #### materials property Gets the array of materials. ##### Definition: ```python @property def materials(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsnode/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ThreeDSPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage.md #### ThreeDSPackage class Represents .3ds file metadata. **Inheritance:** `ThreeDSPackage` → `CustomPackage` → `MetadataPackage` The ThreeDSPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the node name. | | materials | Gets the array of materials. | | nodes | Gets an array of `ThreeDSNode` entries inside the 3ds file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### materials property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/materials.md #### materials property Gets the array of materials. ##### Definition: ```python @property def materials(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/name.md #### name property Gets the node name. ##### Definition: ```python @property def name(self): ... ``` ### nodes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/nodes.md #### nodes property Gets an array of `ThreeDSNode` entries inside the 3ds file. ##### Definition: ```python @property def nodes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedspackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ThreeDSRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage.md #### ThreeDSRootPackage class Represents .3ds file metadata. **Inheritance:** `ThreeDSRootPackage` → `RootMetadataPackage` → `MetadataPackage` The ThreeDSRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | three_ds_package | Gets the 3ds metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example The following code snippet shows how to get metadata from a 3D file. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### three_ds_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/three_ds_package.md #### three_ds_package property Gets the 3ds metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def three_ds_package(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.threeds/threedsrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.formats.threed Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.threed.md ### groupdocs.metadata.formats.video Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video.md The namespace contains classes for working with the most popular video formats. ##### Classes | Class | Description | | :- | :- | | `AsfAudioStreamProperty` | Represents Audio stream property metadata in the ASF media container. | | `AsfBaseDescriptor` | Represents an ASF base metadata descriptor object. | | `AsfBaseStreamProperty` | Represents base stream property metadata in the ASF media container. | | `AsfCodec` | Represents ASF codec metadata. | | `AsfContentDescriptor` | Represents an ASF content descriptor object. | | `AsfMetadataDescriptor` | Represents an ASF metadata descriptor. | | `AsfMetadataDescriptorCollection` | Represents a collection of metadata descriptors. | | `AsfPackage` | Represents native metadata of the ASF media container. | | `AsfRootPackage` | Represents the root package allowing working with metadata in an ASF video. | | `AsfVideoStreamProperty` | Represents Video stream property metadata in the ASF media container. | | `AviHeader` | Represents the AVIMAINHEADER structure in an AVI video. | | `AviRootPackage` | Represents the root package allowing working with metadata in an AVI video. | | `FlvHeader` | Represents a FLV video header. | | `FlvRootPackage` | Represents the root package allowing working with metadata in an FLV video. | | `MatroskaAudioTrack` | Represents audio metadata in a Matroska video. | | `MatroskaBasePackage` | Provides a base metadata class for all packages extracted from a Matroska video. | | `MatroskaEbmlHeader` | Represents EBML header metadata in a Matroska video. | | `MatroskaPackage` | Represents a metadata container in a Matroska video. | | `MatroskaRootPackage` | Represents the root package allowing working with metadata in a Matroska video. | | `MatroskaSegment` | Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. | | `MatroskaSimpleTag` | Represents general information about the target in a Matroska video. | | `MatroskaSubtitle` | Represents subtitle metadata in a Matroska video. | | `MatroskaSubtitleTrack` | Represents subtitle metadata in a Matroska video. | | `MatroskaTag` | Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. | | `MatroskaTrack` | Represents track metadata in a Matroska video. | | `MatroskaVideoTrack` | Represents video metadata in a Matroska video. | | `MovAtom` | Represents a QuickTime atom. | | `MovPackage` | Represents QuickTime metadata. | | `MovRootPackage` | Represents the root package allowing working with metadata in a QuickTime video. | ##### Enumerations | Enumeration | Description | | :- | :- | | `AsfCodecType` | Defines ASF codec types. | | `AsfDescriptorType` | Defines ASF descriptor types. | | `AsfExtendedStreamPropertyFlags` | Defines ASF extended stream property flags. | | `AsfFilePropertyFlags` | Defines ASF file property flags. | | `AsfStreamType` | Defines ASF stream types. | | `AviHeaderFlags` | Represents AVI Header flags. | | `MatroskaContentType` | Represents a Matroska content type. | | `MatroskaTargetTypeValue` | Represents a number to indicate the logical level of the Matroska tag target. | | `MatroskaTrackType` | Represents Matroska track types coded in 8 bits. | | `MatroskaVideoDisplayUnit` | Defines how Matroska DisplayWidth and DisplayHeight are interpreted. | | `MatroskaVideoFieldOrder` | Represents the field ordering of the Matroska video.
If FlagInterlaced is not set to 1, this Element MUST be ignored. | | `MatroskaVideoFlagInterlaced` | Represents a flag to declare if the Matroska video is known to be progressive or interlaced
and if applicable to declare details about the interlacement. | | `MatroskaVideoStereoMode` | Represents Matroska Stereo-3D video modes. | ### AsfAudioStreamProperty class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty.md #### AsfAudioStreamProperty class Represents Audio stream property metadata in the ASF media container. **Inheritance:** `AsfAudioStreamProperty` → `AsfBaseStreamProperty` → `CustomPackage` → `MetadataPackage` The AsfAudioStreamProperty type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | stream_type | Gets the type of this stream. | | stream_number | Gets the number of this stream. | | start_time | Gets the presentation time of the first object, indicating where this digital media stream
starts within the context of the timeline of the ASF file as a whole. | | end_time | Gets the presentation time of the last object plus the duration of play, indicating where
this digital media stream ends within the context of the timeline of the ASF file as a whole. | | bitrate | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion
of the stream without overflowing, excluding all ASF Data Packet overhead. | | alternate_bitrate | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion
of the stream without overflowing, excluding all ASF Data Packet overhead. | | flags | Gets the flags. | | language | Gets the stream language. | | average_time_per_frame | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | average_bitrate | Gets the average bitrate. | | format_tag | Gets the unique ID of the codec used to encode the audio data. | | channels | Gets the number of audio channels. | | samples_per_second | Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. | | bits_per_sample | Gets the number of bits per sample of monaural data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alternate_bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/alternate_bitrate.md #### alternate_bitrate property Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ##### Definition: ```python @property def alternate_bitrate(self): ... ``` ### average_bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/average_bitrate.md #### average_bitrate property Gets the average bitrate. ##### Definition: ```python @property def average_bitrate(self): ... ``` ### average_time_per_frame property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/average_time_per_frame.md #### average_time_per_frame property Gets the average time duration, measured in 100-nanosecond units, of each frame. ##### Definition: ```python @property def average_time_per_frame(self): ... ``` ### bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/bitrate.md #### bitrate property Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ##### Definition: ```python @property def bitrate(self): ... ``` ### bits_per_sample property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/bits_per_sample.md #### bits_per_sample property Gets the number of bits per sample of monaural data. ##### Definition: ```python @property def bits_per_sample(self): ... ``` ### channels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/channels.md #### channels property Gets the number of audio channels. ##### Definition: ```python @property def channels(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### end_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/end_time.md #### end_time property Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. ##### Definition: ```python @property def end_time(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/flags.md #### flags property Gets the flags. ##### Definition: ```python @property def flags(self): ... ``` ### format_tag property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/format_tag.md #### format_tag property Gets the unique ID of the codec used to encode the audio data. ##### Definition: ```python @property def format_tag(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/language.md #### language property Gets the stream language. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### samples_per_second property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/samples_per_second.md #### samples_per_second property Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream. ##### Definition: ```python @property def samples_per_second(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### start_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/start_time.md #### start_time property Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. ##### Definition: ```python @property def start_time(self): ... ``` ### stream_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/stream_number.md #### stream_number property Gets the number of this stream. ##### Definition: ```python @property def stream_number(self): ... ``` ### stream_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/stream_type.md #### stream_type property Gets the type of this stream. ##### Definition: ```python @property def stream_type(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfaudiostreamproperty/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### AsfBaseDescriptor class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasedescriptor.md #### AsfBaseDescriptor class Represents an ASF base metadata descriptor object. **Inheritance:** `AsfBaseDescriptor` → `MetadataProperty` The AsfBaseDescriptor type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | asf_content_type | Gets the type of the content. | ##### Remarks **Learn more** | | | ### asf_content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasedescriptor/asf_content_type.md #### asf_content_type property Gets the type of the content. ##### Definition: ```python @property def asf_content_type(self): ... ``` ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasedescriptor/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasedescriptor/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasedescriptor/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasedescriptor/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasedescriptor/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### AsfBaseStreamProperty class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty.md #### AsfBaseStreamProperty class Represents base stream property metadata in the ASF media container. **Inheritance:** `AsfBaseStreamProperty` → `CustomPackage` → `MetadataPackage` The AsfBaseStreamProperty type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | stream_type | Gets the type of this stream. | | stream_number | Gets the number of this stream. | | start_time | Gets the presentation time of the first object, indicating where this digital media stream
starts within the context of the timeline of the ASF file as a whole. | | end_time | Gets the presentation time of the last object plus the duration of play, indicating where
this digital media stream ends within the context of the timeline of the ASF file as a whole. | | bitrate | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion
of the stream without overflowing, excluding all ASF Data Packet overhead. | | alternate_bitrate | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion
of the stream without overflowing, excluding all ASF Data Packet overhead. | | flags | Gets the flags. | | language | Gets the stream language. | | average_time_per_frame | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | average_bitrate | Gets the average bitrate. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alternate_bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/alternate_bitrate.md #### alternate_bitrate property Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ##### Definition: ```python @property def alternate_bitrate(self): ... ``` ### average_bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/average_bitrate.md #### average_bitrate property Gets the average bitrate. ##### Definition: ```python @property def average_bitrate(self): ... ``` ### average_time_per_frame property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/average_time_per_frame.md #### average_time_per_frame property Gets the average time duration, measured in 100-nanosecond units, of each frame. ##### Definition: ```python @property def average_time_per_frame(self): ... ``` ### bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/bitrate.md #### bitrate property Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ##### Definition: ```python @property def bitrate(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### end_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/end_time.md #### end_time property Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. ##### Definition: ```python @property def end_time(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/flags.md #### flags property Gets the flags. ##### Definition: ```python @property def flags(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/language.md #### language property Gets the stream language. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### start_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/start_time.md #### start_time property Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. ##### Definition: ```python @property def start_time(self): ... ``` ### stream_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/stream_number.md #### stream_number property Gets the number of this stream. ##### Definition: ```python @property def stream_number(self): ... ``` ### stream_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/stream_type.md #### stream_type property Gets the type of this stream. ##### Definition: ```python @property def stream_type(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfbasestreamproperty/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### AsfCodec class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec.md #### AsfCodec class Represents ASF codec metadata. **Inheritance:** `AsfCodec` → `CustomPackage` → `MetadataPackage` The AsfCodec type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | name | Gets the property name. | | codec_type | Gets the type of the codec. | | description | Gets the description. | | information | Gets the information string. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### codec_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/codec_type.md #### codec_type property Gets the type of the codec. ##### Definition: ```python @property def codec_type(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/description.md #### description property Gets the description. ##### Definition: ```python @property def description(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### information property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/information.md #### information property Gets the information string. ##### Definition: ```python @property def information(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodec/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### AsfCodecType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcodectype.md #### AsfCodecType enumeration Defines ASF codec types. The AsfCodecType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | Undefined codec. | | VIDEO | Video codec. | | AUDIO | Audio codec. | | UNKNOWN | Unknown codec. | ### AsfContentDescriptor class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcontentdescriptor.md #### AsfContentDescriptor class Represents an ASF content descriptor object. **Inheritance:** `AsfContentDescriptor` → `AsfBaseDescriptor` → `MetadataProperty` The AsfContentDescriptor type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | asf_content_type | Gets the type of the content. | ##### Remarks **Learn more** | | | ### asf_content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcontentdescriptor/asf_content_type.md #### asf_content_type property Gets the type of the content. ##### Definition: ```python @property def asf_content_type(self): ... ``` ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcontentdescriptor/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcontentdescriptor/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcontentdescriptor/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcontentdescriptor/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfcontentdescriptor/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### AsfDescriptorType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfdescriptortype.md #### AsfDescriptorType enumeration Defines ASF descriptor types. The AsfDescriptorType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNICODE | The unicode string type. | | BYTE_ARRAY | The byte array type. | | BOOL | The 32-bit bool type. | | D_WORD | The 32-bit unsigned integer type. | | Q_WORD | The 64-bit unsigned integer type. | | WORD | The 16-bit unsigned integer type. | | GUID | The 128-bit (16 byte) GUID type. | ### AsfExtendedStreamPropertyFlags enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfextendedstreampropertyflags.md #### AsfExtendedStreamPropertyFlags enumeration Defines ASF extended stream property flags. The AsfExtendedStreamPropertyFlags type exposes the following members: ##### Fields | Field | Description | | :- | :- | | RELIABLE | This digital media stream, if sent over a network, must be carried over a reliable data communications transport mechanism. | | SEEKABLE | This flag should be set only if the stream is seekable. | | NO_CLEANPOINTS | The stream does not contain any cleanpoints. | | RESEND_LIVE_CLEANPOINTS | A stream is joined in mid-transmission, all information from the most recent
cleanpoint up to the current time should be sent before normal streaming begins at the current time. | ### AsfFilePropertyFlags enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asffilepropertyflags.md #### AsfFilePropertyFlags enumeration Defines ASF file property flags. The AsfFilePropertyFlags type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | The undefined flag. | | BROADCAST | Specifies, that a file is in the process of being created,
and thus that various values stored in the header objects are invalid. | | SEEKABLE | Specifies, that a file is seekable. | ### AsfMetadataDescriptor class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor.md #### AsfMetadataDescriptor class Represents an ASF metadata descriptor. **Inheritance:** `AsfMetadataDescriptor` → `AsfBaseDescriptor` → `MetadataProperty` The AsfMetadataDescriptor type exposes the following members: ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | asf_content_type | Gets the type of the content. | | language | Gets the language. | | stream_number | Gets the stream number. | | original_name | Gets the original name of the descriptor. | ##### Remarks **Learn more** | | | ### asf_content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/asf_content_type.md #### asf_content_type property Gets the type of the content. ##### Definition: ```python @property def asf_content_type(self): ... ``` ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/language.md #### language property Gets the language. ##### Definition: ```python @property def language(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### original_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/original_name.md #### original_name property Gets the original name of the descriptor. ##### Definition: ```python @property def original_name(self): ... ``` ### stream_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/stream_number.md #### stream_number property Gets the stream number. ##### Definition: ```python @property def stream_number(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptor/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### AsfMetadataDescriptorCollection class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection.md #### AsfMetadataDescriptorCollection class Represents a collection of metadata descriptors. **Inheritance:** `AsfMetadataDescriptorCollection` → `CustomPackage` → `MetadataPackage` The AsfMetadataDescriptorCollection type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfmetadatadescriptorcollection/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### AsfPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage.md #### AsfPackage class Represents native metadata of the ASF media container. **Inheritance:** `AsfPackage` → `CustomPackage` → `MetadataPackage` The AsfPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_id | Gets the unique identifier for this file. | | creation_date | Gets the date and time of the initial creation of the file. | | flags | Gets the header flags. | | stream_properties | Gets the digital media stream properties. | | metadata_descriptors | Gets the metadata descriptors. | | codec_information | Gets the codec info entries. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### codec_information property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/codec_information.md #### codec_information property Gets the codec info entries. ##### Definition: ```python @property def codec_information(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/creation_date.md #### creation_date property Gets the date and time of the initial creation of the file. ##### Definition: ```python @property def creation_date(self): ... ``` ### file_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/file_id.md #### file_id property Gets the unique identifier for this file. ##### Definition: ```python @property def file_id(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/flags.md #### flags property Gets the header flags. ##### Definition: ```python @property def flags(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/metadata_descriptors.md #### metadata_descriptors property Gets the metadata descriptors. ##### Definition: ```python @property def metadata_descriptors(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### stream_properties property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/stream_properties.md #### stream_properties property Gets the digital media stream properties. ##### Definition: ```python @property def stream_properties(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### AsfRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage.md #### AsfRootPackage class Represents the root package allowing working with metadata in an ASF video. **Inheritance:** `AsfRootPackage` → `RootMetadataPackage` → `MetadataPackage` The AsfRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | asf_package | Gets the ASF metadata package. | | xmp_package | Gets or sets the XMP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### asf_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/asf_package.md #### asf_package property Gets the ASF metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to read native ASF metadata. ##### Definition: ```python @property def asf_package(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### AsfStreamType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfstreamtype.md #### AsfStreamType enumeration Defines ASF stream types. The AsfStreamType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | Undefined stream type. | | AUDIO | ASF Audio Media. | | VIDEO | ASF Video Media. | | COMMAND | ASF Command Media. | | JFIF | ASF JFIF Media. | | DEGRADABLE_JPEG | ASF Degradable JPEG Media. | | FILE_TRANSFER | ASF File Transfer Media. | | BINARY | ASF Binary Media. | | WEB_STREAM_SUBTYPE | ASF Web Stream Media Subtype. | | WEB_STREAM_FORMAT | ASF Web Stream Format. | ### AsfVideoStreamProperty class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty.md #### AsfVideoStreamProperty class Represents Video stream property metadata in the ASF media container. **Inheritance:** `AsfVideoStreamProperty` → `AsfBaseStreamProperty` → `CustomPackage` → `MetadataPackage` The AsfVideoStreamProperty type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | stream_type | Gets the type of this stream. | | stream_number | Gets the number of this stream. | | start_time | Gets the presentation time of the first object, indicating where this digital media stream
starts within the context of the timeline of the ASF file as a whole. | | end_time | Gets the presentation time of the last object plus the duration of play, indicating where
this digital media stream ends within the context of the timeline of the ASF file as a whole. | | bitrate | Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion
of the stream without overflowing, excluding all ASF Data Packet overhead. | | alternate_bitrate | Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion
of the stream without overflowing, excluding all ASF Data Packet overhead. | | flags | Gets the flags. | | language | Gets the stream language. | | average_time_per_frame | Gets the average time duration, measured in 100-nanosecond units, of each frame. | | average_bitrate | Gets the average bitrate. | | image_width | Gets the width of the encoded image in pixels. | | image_height | Gets the height of the encoded image in pixels. | | compression | Gets the video compression Id. | | bits_per_pixels | Gets the bits per pixels. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alternate_bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/alternate_bitrate.md #### alternate_bitrate property Gets the leak rate RAlt, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ##### Definition: ```python @property def alternate_bitrate(self): ... ``` ### average_bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/average_bitrate.md #### average_bitrate property Gets the average bitrate. ##### Definition: ```python @property def average_bitrate(self): ... ``` ### average_time_per_frame property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/average_time_per_frame.md #### average_time_per_frame property Gets the average time duration, measured in 100-nanosecond units, of each frame. ##### Definition: ```python @property def average_time_per_frame(self): ... ``` ### bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/bitrate.md #### bitrate property Gets the leak rate R, in bits per second, of a leaky bucket that contains the data portion of the stream without overflowing, excluding all ASF Data Packet overhead. ##### Definition: ```python @property def bitrate(self): ... ``` ### bits_per_pixels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/bits_per_pixels.md #### bits_per_pixels property Gets the bits per pixels. ##### Definition: ```python @property def bits_per_pixels(self): ... ``` ### compression property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/compression.md #### compression property Gets the video compression Id. ##### Definition: ```python @property def compression(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### end_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/end_time.md #### end_time property Gets the presentation time of the last object plus the duration of play, indicating where this digital media stream ends within the context of the timeline of the ASF file as a whole. ##### Definition: ```python @property def end_time(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/flags.md #### flags property Gets the flags. ##### Definition: ```python @property def flags(self): ... ``` ### image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/image_height.md #### image_height property Gets the height of the encoded image in pixels. ##### Definition: ```python @property def image_height(self): ... ``` ### image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/image_width.md #### image_width property Gets the width of the encoded image in pixels. ##### Definition: ```python @property def image_width(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/language.md #### language property Gets the stream language. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### start_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/start_time.md #### start_time property Gets the presentation time of the first object, indicating where this digital media stream starts within the context of the timeline of the ASF file as a whole. ##### Definition: ```python @property def start_time(self): ... ``` ### stream_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/stream_number.md #### stream_number property Gets the number of this stream. ##### Definition: ```python @property def stream_number(self): ... ``` ### stream_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/stream_type.md #### stream_type property Gets the type of this stream. ##### Definition: ```python @property def stream_type(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/asfvideostreamproperty/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### AviHeader class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader.md #### AviHeader class Represents the AVIMAINHEADER structure in an AVI video. **Inheritance:** `AviHeader` → `CustomPackage` → `MetadataPackage` The AviHeader type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `AviHeader` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | micro_sec_per_frame | Gets the the number of microseconds between frames. This value indicates the overall timing for the file. | | max_bytes_per_sec | Gets the approximate maximum data rate of the file.


This value indicates the number of bytes per second the system must handle to present an AVI sequence as
specified by the other parameters contained in the main header and stream header chunks. | | padding_granularity | Gets the alignment for data, in bytes. Pad the data to multiples of this value. | | avi_header_flags | Gets a bitwise combination of zero or more of the AVI flags. | | total_frames | Gets the the total number of frames of data in the file. | | initial_frames | Gets the initial frame for interleaved files.


Noninterleaved files should specify zero. If you are creating interleaved files, specify the number of frames
in the file prior to the initial frame of the AVI sequence in this member. | | streams | Gets the number of streams in the file. For example, a file with audio and video has two streams. | | suggested_buffer_size | Gets the suggested buffer size for reading the file.


Generally, this size should be large enough to contain the largest chunk in the file.
If set to zero, or if it is too small, the playback software will have to reallocate memory during playback, which will reduce performance. For an interleaved file,
the buffer size should be large enough to read an entire record, and not just a chunk. | | width | Gets the width of the AVI file in pixels. | | height | Gets the height of the AVI file in pixels. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### AviHeader constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `AviHeader` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### avi_header_flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/avi_header_flags.md #### avi_header_flags property Gets a bitwise combination of zero or more of the AVI flags. ##### Definition: ```python @property def avi_header_flags(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/height.md #### height property Gets the height of the AVI file in pixels. ##### Definition: ```python @property def height(self): ... ``` ### initial_frames property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/initial_frames.md #### initial_frames property Gets the initial frame for interleaved files. Noninterleaved files should specify zero. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this member. ##### Definition: ```python @property def initial_frames(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### max_bytes_per_sec property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/max_bytes_per_sec.md #### max_bytes_per_sec property Gets the approximate maximum data rate of the file. This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks. ##### Definition: ```python @property def max_bytes_per_sec(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### micro_sec_per_frame property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/micro_sec_per_frame.md #### micro_sec_per_frame property Gets the the number of microseconds between frames. This value indicates the overall timing for the file. ##### Definition: ```python @property def micro_sec_per_frame(self): ... ``` ### padding_granularity property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/padding_granularity.md #### padding_granularity property Gets the alignment for data, in bytes. Pad the data to multiples of this value. ##### Definition: ```python @property def padding_granularity(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### streams property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/streams.md #### streams property Gets the number of streams in the file. For example, a file with audio and video has two streams. ##### Definition: ```python @property def streams(self): ... ``` ### suggested_buffer_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/suggested_buffer_size.md #### suggested_buffer_size property Gets the suggested buffer size for reading the file. Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback, which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record, and not just a chunk. ##### Definition: ```python @property def suggested_buffer_size(self): ... ``` ### total_frames property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/total_frames.md #### total_frames property Gets the the total number of frames of data in the file. ##### Definition: ```python @property def total_frames(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheader/width.md #### width property Gets the width of the AVI file in pixels. ##### Definition: ```python @property def width(self): ... ``` ### AviHeaderFlags enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/aviheaderflags.md #### AviHeaderFlags enumeration Represents AVI Header flags. The AviHeaderFlags type exposes the following members: ##### Fields | Field | Description | | :- | :- | | HAS_INDEX | Indicates the AVI file has an index. | | MUST_USE_INDEX | Indicates that application should use the index, rather than the physical ordering of the chunks in the file,
to determine the order of presentation of the data. For example, this flag could be used to create a list of frames for editing. | | IS_INTERLEAVED | Indicates the AVI file is interleaved. | | TRUST_CK_TYPE | Use CKType to find key frames. | | WAS_CAPTURE_FILE | Indicates the AVI file is a specially allocated file used for capturing real-time video.
Applications should warn the user before writing over a file with this flag set because the user probably defragmented this file. | | COPYRIGHTED | Indicates the AVI file contains copyrighted data and software.
When this flag is used, software should not permit the data to be duplicated. | ### AviRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage.md #### AviRootPackage class Represents the root package allowing working with metadata in an AVI video. **Inheritance:** `AviRootPackage` → `RootMetadataPackage` → `MetadataPackage` The AviRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | header | Gets the AVI header package. | | riff_info_package | Gets the package containing RIFF Info tags. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/header.md #### header property Gets the AVI header package. ##### Remarks **Learn more** | | | ##### Example This code snippet shows how to read AVI header properties. ##### Definition: ```python @property def header(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### riff_info_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/riff_info_package.md #### riff_info_package property Gets the package containing RIFF Info tags. ##### Definition: ```python @property def riff_info_package(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/avirootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### FlvHeader class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader.md #### FlvHeader class Represents a FLV video header. **Inheritance:** `FlvHeader` → `CustomPackage` → `MetadataPackage` The FlvHeader type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | version | Gets the file version. | | type_flags | Gets the FLV type flags. | | has_audio_tags | Gets a value indicating whether audio tags are present in the file. | | has_video_tags | Gets a value indicating whether video tags are present in the file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### has_audio_tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/has_audio_tags.md #### has_audio_tags property Gets a value indicating whether audio tags are present in the file. ##### Definition: ```python @property def has_audio_tags(self): ... ``` ### has_video_tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/has_video_tags.md #### has_video_tags property Gets a value indicating whether video tags are present in the file. ##### Definition: ```python @property def has_video_tags(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### type_flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/type_flags.md #### type_flags property Gets the FLV type flags. ##### Definition: ```python @property def type_flags(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvheader/version.md #### version property Gets the file version. ##### Definition: ```python @property def version(self): ... ``` ### FlvRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage.md #### FlvRootPackage class Represents the root package allowing working with metadata in an FLV video. **Inheritance:** `FlvRootPackage` → `RootMetadataPackage` → `MetadataPackage` The FlvRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | xmp_package | Gets or sets the XMP metadata package. | | header | Gets the FLV header package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/header.md #### header property Gets the FLV header package. ##### Remarks **Learn more** | | | ##### Example This example shows how to read FLV header properties. ##### Definition: ```python @property def header(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/flvrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### MatroskaAudioTrack class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack.md #### MatroskaAudioTrack class Represents audio metadata in a Matroska video. **Inheritance:** `MatroskaAudioTrack` → `MatroskaTrack` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaAudioTrack type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | track_number | Gets the track number as used in the Block Header.
Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | track_uid | Gets the unique ID to identify the Track.
This SHOULD be kept the same when making a direct stream copy of the Track to another file. | | track_type | Gets the type of the track. | | flag_enabled | Gets the enabled flag, true if the track is usable. | | default_duration | Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. | | name | Gets the human-readable track name. | | language | Gets the language of the track in the Matroska languages form.
This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. | | language_ietf | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry.
If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. | | codec_id | Gets an ID corresponding to the codec. | | codec_name | Gets a human-readable string specifying the codec. | | sampling_frequency | Gets the sampling frequency in Hz. | | output_sampling_frequency | Gets the real output sampling frequency in Hz (used for SBR techniques). | | channels | Gets the numbers of channels in the track. | | bit_depth | Gets the bits per sample, mostly used for PCM. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### bit_depth property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/bit_depth.md #### bit_depth property Gets the bits per sample, mostly used for PCM. ##### Definition: ```python @property def bit_depth(self): ... ``` ### channels property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/channels.md #### channels property Gets the numbers of channels in the track. ##### Definition: ```python @property def channels(self): ... ``` ### codec_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/codec_id.md #### codec_id property Gets an ID corresponding to the codec. ##### Remarks See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info. ##### Definition: ```python @property def codec_id(self): ... ``` ### codec_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/codec_name.md #### codec_name property Gets a human-readable string specifying the codec. ##### Definition: ```python @property def codec_name(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### default_duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/default_duration.md #### default_duration property Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. ##### Remarks Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block. ##### Definition: ```python @property def default_duration(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flag_enabled property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/flag_enabled.md #### flag_enabled property Gets the enabled flag, true if the track is usable. ##### Definition: ```python @property def flag_enabled(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/language.md #### language property Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. ##### Remarks Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains. ##### Definition: ```python @property def language(self): ... ``` ### language_ietf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/language_ietf.md #### language_ietf property Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. ##### Definition: ```python @property def language_ietf(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/name.md #### name property Gets the human-readable track name. ##### Definition: ```python @property def name(self): ... ``` ### output_sampling_frequency property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/output_sampling_frequency.md #### output_sampling_frequency property Gets the real output sampling frequency in Hz (used for SBR techniques). ##### Definition: ```python @property def output_sampling_frequency(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sampling_frequency property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/sampling_frequency.md #### sampling_frequency property Gets the sampling frequency in Hz. ##### Definition: ```python @property def sampling_frequency(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### track_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/track_number.md #### track_number property Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. ##### Definition: ```python @property def track_number(self): ... ``` ### track_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/track_type.md #### track_type property Gets the type of the track. ##### Definition: ```python @property def track_type(self): ... ``` ### track_uid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/track_uid.md #### track_uid property Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. ##### Definition: ```python @property def track_uid(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaaudiotrack/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaBasePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage.md #### MatroskaBasePackage class Provides a base metadata class for all packages extracted from a Matroska video. **Inheritance:** `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaBasePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskabasepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaContentType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskacontenttype.md #### MatroskaContentType enumeration Represents a Matroska content type. The MatroskaContentType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | Undefined content. | | AUDIO | Defines the Matroska audio type. | | VIDEO | Defines the Matroska video type. | | VIDEO_3D | Defines the Matroska 3D video type. | ### MatroskaEbmlHeader class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader.md #### MatroskaEbmlHeader class Represents EBML header metadata in a Matroska video. **Inheritance:** `MatroskaEbmlHeader` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaEbmlHeader type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | version | Gets the version of the EBML Writer that has been used to create the file. | | read_version | Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. | | doc_type | Gets the contents of the file. In the case of a MATROSKA file, its value is 'matroska'. | | doc_type_version | Gets the version of the `MatroskaEbmlHeader.doc_type` writer used to create the file. | | doc_type_read_version | Gets the minimum version number a `MatroskaEbmlHeader.doc_type` parser must be compliant with to read the file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### doc_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/doc_type.md #### doc_type property Gets the contents of the file. In the case of a MATROSKA file, its value is 'matroska'. ##### Definition: ```python @property def doc_type(self): ... ``` ### doc_type_read_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/doc_type_read_version.md #### doc_type_read_version property Gets the minimum version number a `MatroskaEbmlHeader.doc_type` parser must be compliant with to read the file. ##### Definition: ```python @property def doc_type_read_version(self): ... ``` ### doc_type_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/doc_type_version.md #### doc_type_version property Gets the version of the `MatroskaEbmlHeader.doc_type` writer used to create the file. ##### Definition: ```python @property def doc_type_version(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### read_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/read_version.md #### read_version property Gets the minimum version an EBML parser needs to be compliant with to be able to read the file. ##### Definition: ```python @property def read_version(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskaebmlheader/version.md #### version property Gets the version of the EBML Writer that has been used to create the file. ##### Definition: ```python @property def version(self): ... ``` ### MatroskaPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage.md #### MatroskaPackage class Represents a metadata container in a Matroska video. **Inheritance:** `MatroskaPackage` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | ebml_header | Gets the EBML header metadata. | | segments | Gets the segment information metadata. | | tracks | Gets the track metadata entries. | | tags | Gets the tagging metadata. | | content_type | Gets the Matroska content type. | | subtitle_tracks | Gets the subtitle metadata entries. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/content_type.md #### content_type property Gets the Matroska content type. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### ebml_header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/ebml_header.md #### ebml_header property Gets the EBML header metadata. ##### Definition: ```python @property def ebml_header(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### segments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/segments.md #### segments property Gets the segment information metadata. ##### Definition: ```python @property def segments(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subtitle_tracks property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/subtitle_tracks.md #### subtitle_tracks property Gets the subtitle metadata entries. ##### Definition: ```python @property def subtitle_tracks(self): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/tags.md #### tags property Gets the tagging metadata. ##### Definition: ```python @property def tags(self): ... ``` ### tracks property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/tracks.md #### tracks property Gets the track metadata entries. ##### Definition: ```python @property def tracks(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskapackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage.md #### MatroskaRootPackage class Represents the root package allowing working with metadata in a Matroska video. **Inheritance:** `MatroskaRootPackage` → `RootMetadataPackage` → `MetadataPackage` The MatroskaRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | matroska_package | Gets the Matroska metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract subtitles from an MKV video. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### matroska_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/matroska_package.md #### matroska_package property Gets the Matroska metadata package. ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to read Matroska format-specific metadata properties. ##### Definition: ```python @property def matroska_package(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskarootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaSegment class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment.md #### MatroskaSegment class Represents a SEGMENTINFO element containing general information about the SEGMENT in a Matroska video. **Inheritance:** `MatroskaSegment` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaSegment type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | segment_uid | Gets the unique 128 bit number identifying a SEGMENT.
Obviously, a file can only be referred to by another file if a SEGMENTUID is present, however, playback is possible without that UID. | | segment_filename | Gets the filename corresponding to this Segment. | | timecode_scale | Gets the timecode scale value.
Each scaled timecode in a MATROSKA file is multiplied by TIMECODESCALE to obtain the timecode in nanoseconds. Note that not all timecodes are scaled! | | duration | Gets the duration of the SEGMENT.
Please see `MatroskaSegment.timecode_scale` for more information. | | date_utc | Gets the date and time that the Segment was created by the muxing application or library. | | title | Gets the general name of the Segment. | | muxing_app | Gets the full name of the application or library followed by the version number. | | writing_app | Gets the full name of the application followed by the version number. | | scaled_duration | Gets the scaled duration of the SEGMENT. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date_utc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/date_utc.md #### date_utc property Gets the date and time that the Segment was created by the muxing application or library. ##### Definition: ```python @property def date_utc(self): ... ``` ### duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/duration.md #### duration property Gets the duration of the SEGMENT. Please see `MatroskaSegment.timecode_scale` for more information. ##### Definition: ```python @property def duration(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### muxing_app property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/muxing_app.md #### muxing_app property Gets the full name of the application or library followed by the version number. ##### Definition: ```python @property def muxing_app(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### scaled_duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/scaled_duration.md #### scaled_duration property Gets the scaled duration of the SEGMENT. ##### Definition: ```python @property def scaled_duration(self): ... ``` ### segment_filename property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/segment_filename.md #### segment_filename property Gets the filename corresponding to this Segment. ##### Definition: ```python @property def segment_filename(self): ... ``` ### segment_uid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/segment_uid.md #### segment_uid property Gets the unique 128 bit number identifying a SEGMENT. Obviously, a file can only be referred to by another file if a SEGMENTUID is present, however, playback is possible without that UID. ##### Definition: ```python @property def segment_uid(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### timecode_scale property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/timecode_scale.md #### timecode_scale property Gets the timecode scale value. Each scaled timecode in a MATROSKA file is multiplied by TIMECODESCALE to obtain the timecode in nanoseconds. Note that not all timecodes are scaled! ##### Definition: ```python @property def timecode_scale(self): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/title.md #### title property Gets the general name of the Segment. ##### Definition: ```python @property def title(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### writing_app property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasegment/writing_app.md #### writing_app property Gets the full name of the application followed by the version number. ##### Definition: ```python @property def writing_app(self): ... ``` ### MatroskaSimpleTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag.md #### MatroskaSimpleTag class Represents general information about the target in a Matroska video. **Inheritance:** `MatroskaSimpleTag` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaSimpleTag type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasimpletag/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaSubtitle class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle.md #### MatroskaSubtitle class Represents subtitle metadata in a Matroska video. **Inheritance:** `MatroskaSubtitle` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaSubtitle type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | timecode | Gets the time code. | | duration | Gets the duration. | | text | Gets the subtitle text. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/duration.md #### duration property Gets the duration. ##### Definition: ```python @property def duration(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/text.md #### text property Gets the subtitle text. ##### Definition: ```python @property def text(self): ... ``` ### timecode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/timecode.md #### timecode property Gets the time code. ##### Definition: ```python @property def timecode(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitle/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaSubtitleTrack class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack.md #### MatroskaSubtitleTrack class Represents subtitle metadata in a Matroska video. **Inheritance:** `MatroskaSubtitleTrack` → `MatroskaTrack` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaSubtitleTrack type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | track_number | Gets the track number as used in the Block Header.
Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | track_uid | Gets the unique ID to identify the Track.
This SHOULD be kept the same when making a direct stream copy of the Track to another file. | | track_type | Gets the type of the track. | | flag_enabled | Gets the enabled flag, true if the track is usable. | | default_duration | Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. | | name | Gets the human-readable track name. | | language | Gets the language of the track in the Matroska languages form.
This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. | | language_ietf | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry.
If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. | | codec_id | Gets an ID corresponding to the codec. | | codec_name | Gets a human-readable string specifying the codec. | | subtitles | Gets the subtitles. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### codec_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/codec_id.md #### codec_id property Gets an ID corresponding to the codec. ##### Remarks See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info. ##### Definition: ```python @property def codec_id(self): ... ``` ### codec_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/codec_name.md #### codec_name property Gets a human-readable string specifying the codec. ##### Definition: ```python @property def codec_name(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### default_duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/default_duration.md #### default_duration property Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. ##### Remarks Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block. ##### Definition: ```python @property def default_duration(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flag_enabled property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/flag_enabled.md #### flag_enabled property Gets the enabled flag, true if the track is usable. ##### Definition: ```python @property def flag_enabled(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/language.md #### language property Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. ##### Remarks Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains. ##### Definition: ```python @property def language(self): ... ``` ### language_ietf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/language_ietf.md #### language_ietf property Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. ##### Definition: ```python @property def language_ietf(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/name.md #### name property Gets the human-readable track name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subtitles property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/subtitles.md #### subtitles property Gets the subtitles. ##### Definition: ```python @property def subtitles(self): ... ``` ### track_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/track_number.md #### track_number property Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. ##### Definition: ```python @property def track_number(self): ... ``` ### track_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/track_type.md #### track_type property Gets the type of the track. ##### Definition: ```python @property def track_type(self): ... ``` ### track_uid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/track_uid.md #### track_uid property Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. ##### Definition: ```python @property def track_uid(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskasubtitletrack/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag.md #### MatroskaTag class Represents metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole in a Matroska video. **Inheritance:** `MatroskaTag` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaTag type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | target_type_value | Gets the number to indicate the logical level of the target. | | target_type | Gets an informational string that can be used to display the logical level of the target.
Like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc. | | tag_track_uid | Gets a unique ID to identify the Track(s) the tags belong to.
If the value is 0 at this level, the tags apply to all tracks in the Segment. | | simple_tags | Gets the general information about the target. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### simple_tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/simple_tags.md #### simple_tags property Gets the general information about the target. ##### Definition: ```python @property def simple_tags(self): ... ``` ### tag_track_uid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/tag_track_uid.md #### tag_track_uid property Gets a unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment. ##### Definition: ```python @property def tag_track_uid(self): ... ``` ### target_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/target_type.md #### target_type property Gets an informational string that can be used to display the logical level of the target. Like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc. ##### Definition: ```python @property def target_type(self): ... ``` ### target_type_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/target_type_value.md #### target_type_value property Gets the number to indicate the logical level of the target. ##### Definition: ```python @property def target_type_value(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatag/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaTargetTypeValue enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatargettypevalue.md #### MatroskaTargetTypeValue enumeration Represents a number to indicate the logical level of the Matroska tag target. The MatroskaTargetTypeValue type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | Undefined level. | | COLLECTION | COLLECTION level. | | EDITION | EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL level. | | ALBUM | ALBUM / OPERA / CONCERT / MOVIE / EPISODE / CONCERT level. | | PART | PART / SESSION level. | | TRACK | TRACK / SONG / CHAPTER level. | | SUBTRACK | SUBTRACK / PART / MOVEMENT / SCENE level. | | SHOT | SHOT level. | ### MatroskaTrack class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack.md #### MatroskaTrack class Represents track metadata in a Matroska video. **Inheritance:** `MatroskaTrack` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaTrack type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | track_number | Gets the track number as used in the Block Header.
Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | track_uid | Gets the unique ID to identify the Track.
This SHOULD be kept the same when making a direct stream copy of the Track to another file. | | track_type | Gets the type of the track. | | flag_enabled | Gets the enabled flag, true if the track is usable. | | default_duration | Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. | | name | Gets the human-readable track name. | | language | Gets the language of the track in the Matroska languages form.
This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. | | language_ietf | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry.
If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. | | codec_id | Gets an ID corresponding to the codec. | | codec_name | Gets a human-readable string specifying the codec. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### codec_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/codec_id.md #### codec_id property Gets an ID corresponding to the codec. ##### Remarks See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info. ##### Definition: ```python @property def codec_id(self): ... ``` ### codec_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/codec_name.md #### codec_name property Gets a human-readable string specifying the codec. ##### Definition: ```python @property def codec_name(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### default_duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/default_duration.md #### default_duration property Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. ##### Remarks Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block. ##### Definition: ```python @property def default_duration(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flag_enabled property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/flag_enabled.md #### flag_enabled property Gets the enabled flag, true if the track is usable. ##### Definition: ```python @property def flag_enabled(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/language.md #### language property Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. ##### Remarks Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains. ##### Definition: ```python @property def language(self): ... ``` ### language_ietf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/language_ietf.md #### language_ietf property Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. ##### Definition: ```python @property def language_ietf(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/name.md #### name property Gets the human-readable track name. ##### Definition: ```python @property def name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### track_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/track_number.md #### track_number property Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. ##### Definition: ```python @property def track_number(self): ... ``` ### track_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/track_type.md #### track_type property Gets the type of the track. ##### Definition: ```python @property def track_type(self): ... ``` ### track_uid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/track_uid.md #### track_uid property Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. ##### Definition: ```python @property def track_uid(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatrack/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MatroskaTrackType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskatracktype.md #### MatroskaTrackType enumeration Represents Matroska track types coded in 8 bits. The MatroskaTrackType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | The undefined track type. | | VIDEO | Track is a video track. | | AUDIO | Track is an audio track. | | COMPLEX | Track is a complex track, i.e. a combined video and audio track. | | LOGO | Track is a logo track. | | SUBTITLE | Track is a subtitle track. | | BUTTON | Track is a button track. | | CONTROL | Track is a control track. | ### MatroskaVideoDisplayUnit enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideodisplayunit.md #### MatroskaVideoDisplayUnit enumeration Defines how Matroska DisplayWidth and DisplayHeight are interpreted. The MatroskaVideoDisplayUnit type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PIXELS | Pixels unit. | | CENTIMETERS | Centimeters unit. | | INCHES | Inches unit. | | ASPECT_RATIO | Display aspect ratio unit. | | UNKNOWN | Unknown unit. | ### MatroskaVideoFieldOrder enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideofieldorder.md #### MatroskaVideoFieldOrder enumeration Represents the field ordering of the Matroska video. If FlagInterlaced is not set to 1, this Element MUST be ignored. The MatroskaVideoFieldOrder type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PROGRESSIVE | Progressive ordering. | | TFF | Tiff ordering. | | UNDETERMINED | Undetermined ordering. | | BFF | Biff ordering. | | BFF_SWAPPED | Bff (swapped) ordering. | | TFF_SWAPPED | Tff (swapped) ordering. | ### MatroskaVideoFlagInterlaced enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideoflaginterlaced.md #### MatroskaVideoFlagInterlaced enumeration Represents a flag to declare if the Matroska video is known to be progressive or interlaced and if applicable to declare details about the interlacement. The MatroskaVideoFlagInterlaced type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDETERMINED | Undetermined flag. | | INTERLACED | Interlaced flag. | | PROGRESSIVE | Progressive flag. | ### MatroskaVideoStereoMode enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideostereomode.md #### MatroskaVideoStereoMode enumeration Represents Matroska Stereo-3D video modes. The MatroskaVideoStereoMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | MONO | Mono mode. | | SIDE_BY_SIDE_LEFT | Side by side (left eye first) video mode. | | TOP_BOTTOM_RIGHT | Top - bottom (right eye is first) video mode. | | TOP_BOTTOM_LEFT | Top - bottom (left eye is first) video mode. | | CHECKBOARD_RIGHT | Checkboard (right eye is first) video mode. | | CHECKBOARD_LLEFT | Checkboard (left eye is first) video mode. | | ROW_INTERLEAVED_RIGHT | Row interleaved (right eye is first) video mode. | | ROW_INTERLEAVED_LEFT | Row interleaved (left eye is first) video mode. | | COLUMN_INTERLEAVED_RIGHT | Column interleaved (right eye is first) video mode. | | COLUMN_INTERLEAVED_LEFT | Column interleaved (left eye is first) video mode. | | ANAGLYPH_CYAN_RED | Anaglyph (cyan/red) video mode. | | SIDE_BY_SIDE_RIGHT | Side by side (right eye first) video mode. | | ANAGLYPH_GREEN_MAGENTA | Anaglyph (green/magenta) video mode. | | BOTH_EYES_LACED_LEFT | Both eyes laced in one Block (left eye is first) video mode. | | BOTH_EYES_LACED_RIGHT | Both eyes laced in one Block (right eye is first) video mode. | ### MatroskaVideoTrack class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack.md #### MatroskaVideoTrack class Represents video metadata in a Matroska video. **Inheritance:** `MatroskaVideoTrack` → `MatroskaTrack` → `MatroskaBasePackage` → `CustomPackage` → `MetadataPackage` The MatroskaVideoTrack type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | track_number | Gets the track number as used in the Block Header.
Using more than 127 tracks is not encouraged, though the design allows an unlimited number. | | track_uid | Gets the unique ID to identify the Track.
This SHOULD be kept the same when making a direct stream copy of the Track to another file. | | track_type | Gets the type of the track. | | flag_enabled | Gets the enabled flag, true if the track is usable. | | default_duration | Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. | | name | Gets the human-readable track name. | | language | Gets the language of the track in the Matroska languages form.
This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. | | language_ietf | Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry.
If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. | | codec_id | Gets an ID corresponding to the codec. | | codec_name | Gets a human-readable string specifying the codec. | | flag_interlaced | Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. | | field_order | Gets declare the field ordering of the video.
If FlagInterlaced is not set to 1, this Element MUST be ignored. | | stereo_mode | Gets the stereo-3D video mode. | | alpha_mode | Gets the alpha Video Mode.
Presence of this Element indicates that the BlockAdditional Element could contain Alpha data. | | pixel_width | Gets the width of the encoded video frames in pixels. | | pixel_height | Gets the height of the encoded video frames in pixels. | | pixel_crop_bottom | Gets the number of video pixels to remove at the bottom of the image. | | pixel_crop_top | Gets the number of video pixels to remove at the top of the image. | | pixel_crop_left | Gets the number of video pixels to remove on the left of the image. | | pixel_crop_right | Gets the number of video pixels to remove on the right of the image. | | display_width | Gets the width of the video frames to display.
Applies to the video frame after cropping (PixelCrop* Elements). | | display_height | Gets the height of the video frames to display.
Applies to the video frame after cropping (PixelCrop* Elements). | | display_unit | Gets the how `MatroskaVideoTrack.display_width`and `MatroskaVideoTrack.display_height` are interpreted. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alpha_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/alpha_mode.md #### alpha_mode property Gets the alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data. ##### Definition: ```python @property def alpha_mode(self): ... ``` ### codec_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/codec_id.md #### codec_id property Gets an ID corresponding to the codec. ##### Remarks See the http://www.matroska.org/technical/specs/codecid/index.html codec page for more info. ##### Definition: ```python @property def codec_id(self): ... ``` ### codec_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/codec_name.md #### codec_name property Gets a human-readable string specifying the codec. ##### Definition: ```python @property def codec_name(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### default_duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/default_duration.md #### default_duration property Gets the number of nanoseconds (not scaled via `MatroskaSegment.timecode_scale`) per frame. ##### Remarks Note: 'frame' in the Matroska sense -- one Element put into a (Simple)Block. ##### Definition: ```python @property def default_duration(self): ... ``` ### display_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/display_height.md #### display_height property Gets the height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). ##### Definition: ```python @property def display_height(self): ... ``` ### display_unit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/display_unit.md #### display_unit property Gets the how `MatroskaVideoTrack.display_width`and `MatroskaVideoTrack.display_height` are interpreted. ##### Definition: ```python @property def display_unit(self): ... ``` ### display_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/display_width.md #### display_width property Gets the width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements). ##### Definition: ```python @property def display_width(self): ... ``` ### field_order property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/field_order.md #### field_order property Gets declare the field ordering of the video. If FlagInterlaced is not set to 1, this Element MUST be ignored. ##### Definition: ```python @property def field_order(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flag_enabled property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/flag_enabled.md #### flag_enabled property Gets the enabled flag, true if the track is usable. ##### Definition: ```python @property def flag_enabled(self): ... ``` ### flag_interlaced property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/flag_interlaced.md #### flag_interlaced property Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. ##### Definition: ```python @property def flag_interlaced(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/language.md #### language property Gets the language of the track in the Matroska languages form. This Element MUST be ignored if the `MatroskaTrack.language_ietf` Element is used in the same TrackEntry. ##### Remarks Language codes can be either the 3 letters bibliographic ISO-639-2 form (like "fre" for french), or such a language code followed by a dash and a country code for specialities in languages(like "fre-ca" for Canadian French). Country codes are the same as used for internet domains. ##### Definition: ```python @property def language(self): ... ``` ### language_ietf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/language_ietf.md #### language_ietf property Gets the language of the track according to BCP 47 and using the IANA Language Subtag Registry. If this Element is used, then any `MatroskaTrack.language` Elements used in the same TrackEntry MUST be ignored. ##### Definition: ```python @property def language_ietf(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/name.md #### name property Gets the human-readable track name. ##### Definition: ```python @property def name(self): ... ``` ### pixel_crop_bottom property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/pixel_crop_bottom.md #### pixel_crop_bottom property Gets the number of video pixels to remove at the bottom of the image. ##### Definition: ```python @property def pixel_crop_bottom(self): ... ``` ### pixel_crop_left property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/pixel_crop_left.md #### pixel_crop_left property Gets the number of video pixels to remove on the left of the image. ##### Definition: ```python @property def pixel_crop_left(self): ... ``` ### pixel_crop_right property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/pixel_crop_right.md #### pixel_crop_right property Gets the number of video pixels to remove on the right of the image. ##### Definition: ```python @property def pixel_crop_right(self): ... ``` ### pixel_crop_top property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/pixel_crop_top.md #### pixel_crop_top property Gets the number of video pixels to remove at the top of the image. ##### Definition: ```python @property def pixel_crop_top(self): ... ``` ### pixel_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/pixel_height.md #### pixel_height property Gets the height of the encoded video frames in pixels. ##### Definition: ```python @property def pixel_height(self): ... ``` ### pixel_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/pixel_width.md #### pixel_width property Gets the width of the encoded video frames in pixels. ##### Definition: ```python @property def pixel_width(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### stereo_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/stereo_mode.md #### stereo_mode property Gets the stereo-3D video mode. ##### Definition: ```python @property def stereo_mode(self): ... ``` ### track_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/track_number.md #### track_number property Gets the track number as used in the Block Header. Using more than 127 tracks is not encouraged, though the design allows an unlimited number. ##### Definition: ```python @property def track_number(self): ... ``` ### track_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/track_type.md #### track_type property Gets the type of the track. ##### Definition: ```python @property def track_type(self): ... ``` ### track_uid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/track_uid.md #### track_uid property Gets the unique ID to identify the Track. This SHOULD be kept the same when making a direct stream copy of the Track to another file. ##### Definition: ```python @property def track_uid(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/matroskavideotrack/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MovAtom class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom.md #### MovAtom class Represents a QuickTime atom. **Inheritance:** `MovAtom` → `CustomPackage` → `MetadataPackage` The MovAtom type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | offset | Gets the atom offset. | | size | Gets the atom size in bytes. | | long_size | Gets the atom size in bytes. | | type | Gets the 4-characters type. | | data_offset | Gets the data offset. | | data_size | Gets the data size in bytes. | | has_extended_size | Gets a value indicating whether the extended size field was used to store the atom data. | | atoms | Gets an array of `MovAtom` atoms. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### atoms property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/atoms.md #### atoms property Gets an array of `MovAtom` atoms. ##### Definition: ```python @property def atoms(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data_offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/data_offset.md #### data_offset property Gets the data offset. ##### Definition: ```python @property def data_offset(self): ... ``` ### data_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/data_size.md #### data_size property Gets the data size in bytes. ##### Definition: ```python @property def data_size(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### has_extended_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/has_extended_size.md #### has_extended_size property Gets a value indicating whether the extended size field was used to store the atom data. ##### Definition: ```python @property def has_extended_size(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### long_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/long_size.md #### long_size property Gets the atom size in bytes. ##### Definition: ```python @property def long_size(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### offset property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/offset.md #### offset property Gets the atom offset. ##### Definition: ```python @property def offset(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/size.md #### size property Gets the atom size in bytes. ##### Definition: ```python @property def size(self): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/type.md #### type property Gets the 4-characters type. ##### Definition: ```python @property def type(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movatom/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MovPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage.md #### MovPackage class Represents QuickTime metadata. **Inheritance:** `MovPackage` → `CustomPackage` → `MetadataPackage` The MovPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | director | Name of the director of the movie content. | | description | Description of the movie file content. | | location_motion | An indication of the direction the camera is moving during the shot. | | location_facing | An indication of the direction the camera is facing during the shot. | | location_date | A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. | | location_role | A single byte, binary value containing a value from the set: 0 indicates “shooting location”, 1 indicates “real location”, 2 indicates “fictional location”.
Other values are reserved. | | location_note | Descriptive comment. | | location_body | The astronomical body, for compatibility with the 3GPP format | | location_name | Name of the location. | | user_ratings | A number, assigned by the user, that indicates the rating or relative value of the movie.
This number can range from 0.0 to 5.0. A value of 0.0 indicates that the user has not rated the movie. | | users | A name indicating a user-defined collection that includes this movie. | | year | Year when the movie file or the original content was created or recorded. | | software | Name of software used to create the movie file content. | | producer | Name of producer of movie file content. | | album | Album or collection name of which the movie content forms a part | | keywords | Keywords associated with the movie file content. | | information | Information about the movie file content. | | genre | Text describing the genre or genres to which the movie content conforms. | | title | The title of the movie file content. | | creation_date | The date the movie file content was created. | | copyright | Copyright statement for the movie file content. | | comment | User entered comment regarding the movie file content. | | author | Name of the author of the movie file content. | | artwork | A single image that can represent the movie file content. | | artist | Name of the artist who created the movie file content. | | publisher | Name of publisher of movie file content. | | movie_creation_time | A 32-bit integer that specifies the creation calendar date and time for the movie atom. | | movie_modification_time | A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. | | movie_duration | A time value that indicates the duration of the movie in seconds. | | atoms | Gets an array of `MovAtom` atoms. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/album.md #### album property Album or collection name of which the movie content forms a part ##### Definition: ```python @property def album(self): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/artist.md #### artist property Name of the artist who created the movie file content. ##### Definition: ```python @property def artist(self): ... ``` ### artwork property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/artwork.md #### artwork property A single image that can represent the movie file content. ##### Definition: ```python @property def artwork(self): ... ``` ### atoms property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/atoms.md #### atoms property Gets an array of `MovAtom` atoms. ##### Definition: ```python @property def atoms(self): ... ``` ### author property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/author.md #### author property Name of the author of the movie file content. ##### Definition: ```python @property def author(self): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/comment.md #### comment property User entered comment regarding the movie file content. ##### Definition: ```python @property def comment(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/copyright.md #### copyright property Copyright statement for the movie file content. ##### Definition: ```python @property def copyright(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creation_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/creation_date.md #### creation_date property The date the movie file content was created. ##### Definition: ```python @property def creation_date(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/description.md #### description property Description of the movie file content. ##### Definition: ```python @property def description(self): ... ``` ### director property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/director.md #### director property Name of the director of the movie content. ##### Definition: ```python @property def director(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### genre property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/genre.md #### genre property Text describing the genre or genres to which the movie content conforms. ##### Definition: ```python @property def genre(self): ... ``` ### information property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/information.md #### information property Information about the movie file content. ##### Definition: ```python @property def information(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/keywords.md #### keywords property Keywords associated with the movie file content. ##### Definition: ```python @property def keywords(self): ... ``` ### location_body property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/location_body.md #### location_body property The astronomical body, for compatibility with the 3GPP format ##### Definition: ```python @property def location_body(self): ... ``` ### location_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/location_date.md #### location_date property A date and time, stored using the extended format defined in ISO 8601:2004- Data elements and interchange format. ##### Definition: ```python @property def location_date(self): ... ``` ### location_facing property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/location_facing.md #### location_facing property An indication of the direction the camera is facing during the shot. ##### Definition: ```python @property def location_facing(self): ... ``` ### location_motion property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/location_motion.md #### location_motion property An indication of the direction the camera is moving during the shot. ##### Definition: ```python @property def location_motion(self): ... ``` ### location_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/location_name.md #### location_name property Name of the location. ##### Definition: ```python @property def location_name(self): ... ``` ### location_note property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/location_note.md #### location_note property Descriptive comment. ##### Definition: ```python @property def location_note(self): ... ``` ### location_role property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/location_role.md #### location_role property A single byte, binary value containing a value from the set: 0 indicates “shooting location”, 1 indicates “real location”, 2 indicates “fictional location”. Other values are reserved. ##### Definition: ```python @property def location_role(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### movie_creation_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/movie_creation_time.md #### movie_creation_time property A 32-bit integer that specifies the creation calendar date and time for the movie atom. ##### Definition: ```python @property def movie_creation_time(self): ... @movie_creation_time.setter def movie_creation_time(self, value): ... ``` ### movie_duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/movie_duration.md #### movie_duration property A time value that indicates the duration of the movie in seconds. ##### Definition: ```python @property def movie_duration(self): ... ``` ### movie_modification_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/movie_modification_time.md #### movie_modification_time property A 32-bit integer that specifies the calendar date and time of the last change to the movie atom. ##### Definition: ```python @property def movie_modification_time(self): ... @movie_modification_time.setter def movie_modification_time(self, value): ... ``` ### producer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/producer.md #### producer property Name of producer of movie file content. ##### Definition: ```python @property def producer(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publisher property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/publisher.md #### publisher property Name of publisher of movie file content. ##### Definition: ```python @property def publisher(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### software property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/software.md #### software property Name of software used to create the movie file content. ##### Definition: ```python @property def software(self): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/title.md #### title property The title of the movie file content. ##### Definition: ```python @property def title(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### user_ratings property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/user_ratings.md #### user_ratings property A number, assigned by the user, that indicates the rating or relative value of the movie. This number can range from 0.0 to 5.0. A value of 0.0 indicates that the user has not rated the movie. ##### Definition: ```python @property def user_ratings(self): ... ``` ### users property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/users.md #### users property A name indicating a user-defined collection that includes this movie. ##### Definition: ```python @property def users(self): ... ``` ### year property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movpackage/year.md #### year property Year when the movie file or the original content was created or recorded. ##### Definition: ```python @property def year(self): ... ``` ### MovRootPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage.md #### MovRootPackage class Represents the root package allowing working with metadata in a QuickTime video. **Inheritance:** `MovRootPackage` → `RootMetadataPackage` → `MetadataPackage` The MovRootPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | file_type | Gets the file type metadata package. | | mov_package | Gets the QuickTime metadata package. | | xmp_package | Gets or sets the XMP metadata package. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ##### Remarks **Learn more** | | | | ##### Example This example shows how to read QuickTime atoms in a MOV video. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/file_type.md #### file_type property Gets the file type metadata package. ##### Definition: ```python @property def file_type(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mov_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/mov_package.md #### mov_package property Gets the QuickTime metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def mov_package(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.video/movrootpackage/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### groupdocs.metadata.formats Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.formats.md ### groupdocs.metadata.import_ Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_.md Types under `groupdocs.metadata.import_`. ##### Classes | Class | Description | | :- | :- | | `ImportManager` | | | `ImportOptions` | | | `JsonImportOptions` | | ##### Enumerations | Enum | Description | | :- | :- | | `ImportFormat` | | ### ImportFormat class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importformat.md #### ImportFormat class The ImportFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | JSON | | ### JSON field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importformat/json.md ##### Value `0` ### ImportManager class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager.md #### ImportManager class The ImportManager type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _import__stream_import_format_import_options | | | _import__string_import_format_import_options | | | _init_root_metadata_package | | | import_ | | | import_file | | | import_stream | | | import_streams | | | import_string | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _import__stream_import_format_import_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/_import__stream_import_format_import_options.md #### _import__stream_import_format_import_options ```python def _import__stream_import_format_import_options(self, stream, format, import_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | `Stream` | | | format | `ImportFormat` | | | import_options | `ImportOptions` | | ### _import__string_import_format_import_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/_import__string_import_format_import_options.md #### _import__string_import_format_import_options ```python def _import__string_import_format_import_options(self, file_path, format, import_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | format | `ImportFormat` | | | import_options | `ImportOptions` | | ### _init_root_metadata_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/_init_root_metadata_package.md #### _init_root_metadata_package ```python def _init_root_metadata_package(self, root_metadata_package): ... ``` | Parameter | Type | Description | | :- | :- | :- | | root_metadata_package | `RootMetadataPackage` | | ### import_ method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/import_.md #### import_ ```python def import_(self): ... ``` ### import_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/import_file.md #### import_file ```python def import_file(self): ... ``` ### import_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/import_stream.md #### import_stream ```python def import_stream(self): ... ``` ### import_streams method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/import_streams.md #### import_streams ```python def import_streams(self): ... ``` ### import_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importmanager/import_string.md #### import_string ```python def import_string(self): ... ``` ### ImportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importoptions.md #### ImportOptions class The ImportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/importoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### JsonImportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/jsonimportoptions.md #### JsonImportOptions class The JsonImportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_noargs | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/jsonimportoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.import_/jsonimportoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### groupdocs.metadata.importing Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing.md ##### Classes | Class | Description | | :- | :- | | `ImportManager` | Provides a row of methods allowing the user to import metadata properties to various formats. | | `ImportOptions` | Abstract class import options. | | `JsonImportOptions` | Creates an import options from json file. | ##### Enumerations | Enumeration | Description | | :- | :- | | `ImportFormat` | Defines file formats to which you can import metadata properties. | ### ImportFormat enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing/importformat.md #### ImportFormat enumeration Defines file formats to which you can import metadata properties. The ImportFormat type exposes the following members: ##### Fields | Field | Description | | :- | :- | | JSON | Represents the .JSON format. | ### ImportManager class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing/importmanager.md #### ImportManager class Provides a row of methods allowing the user to import metadata properties to various formats. The ImportManager type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, root_metadata_package)` | Initializes a new instance of the `ImportManager` class. | ##### Methods | Method | Description | | :- | :- | | `import_metadata(self, file_path, format, import_options)` | Imports the metadata properties to a file. | | `import_metadata(self, stream, format, import_options)` | Imports the metadata properties to a file. | ### ImportManager constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing/importmanager/__init__.md #### \_\_init\_\_(self, root_metadata_package) Initializes a new instance of the `ImportManager` class. ```python def __init__(self, root_metadata_package): ... ``` | Parameter | Type | Description | | :- | :- | :- | | root_metadata_package | groupdocs.metadata.common.RootMetadataPackage | A collection of metadata properties where the import will be performed. | ### import_metadata method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing/importmanager/import_metadata.md #### import_metadata(self, file_path, format, import_options) Imports the metadata properties to a file. ```python def import_metadata(self, file_path, format, import_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | System.String | The full name of the input file. | | format | groupdocs.metadata.importing.ImportFormat | The format of the input file. | | import_options | groupdocs.metadata.importing.ImportOptions | Additional options to use when importing. | #### import_metadata(self, stream, format, import_options) Imports the metadata properties to a file. ```python def import_metadata(self, stream, format, import_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | stream | io.RawIOBase | The filestream of the input file. | | format | groupdocs.metadata.importing.ImportFormat | The format of the input file. | | import_options | groupdocs.metadata.importing.ImportOptions | Additional options to use when importing. | ### ImportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing/importoptions.md #### ImportOptions class Abstract class import options. The ImportOptions type exposes the following members: ### JsonImportOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing/jsonimportoptions.md #### JsonImportOptions class Creates an import options from json file. **Inheritance:** `JsonImportOptions` → `ImportOptions` The JsonImportOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `JsonImportOptions` class. | ### JsonImportOptions constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.importing/jsonimportoptions/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `JsonImportOptions` class. ```python def __init__(self): ... ``` ### groupdocs.metadata.logging Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging.md Logging hooks and listener interfaces. ##### Classes | Class | Description | | :- | :- | | `ConsoleLogger` | | | `FileLogger` | | | `ILogger` | | | `Logging` | | ### ConsoleLogger class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger.md #### ConsoleLogger class The ConsoleLogger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _init_noargs | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _error_string_exception method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | exception | `Exception` | | ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### _trace_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/consolelogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### FileLogger class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger.md #### FileLogger class The FileLogger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _init_string | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _error_string_exception method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | exception | `Exception` | | ### _init_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/_init_string.md #### _init_string ```python def _init_string(self, file_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_name | `str` | | ### _trace_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/filelogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### ILogger class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger.md #### ILogger class The ILogger type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _error_string_exception | | | _trace_string | | | _warning_string | | | error | | | error_file | | | error_string | | | trace | | | trace_file | | | trace_string | | | warning | | | warning_file | | | warning_string | | ### _error_string_exception method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/_error_string_exception.md #### _error_string_exception ```python def _error_string_exception(self, message, exception): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | | exception | `Exception` | | ### _trace_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/_trace_string.md #### _trace_string ```python def _trace_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### _warning_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/_warning_string.md #### _warning_string ```python def _warning_string(self, message): ... ``` | Parameter | Type | Description | | :- | :- | :- | | message | `str` | | ### error method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/error.md #### error ```python def error(self): ... ``` ### error_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/error_file.md #### error_file ```python def error_file(self): ... ``` ### error_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/error_string.md #### error_string ```python def error_string(self): ... ``` ### trace method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/trace.md #### trace ```python def trace(self): ... ``` ### trace_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/trace_file.md #### trace_file ```python def trace_file(self): ... ``` ### trace_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/trace_string.md #### trace_string ```python def trace_string(self): ... ``` ### warning method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/warning.md #### warning ```python def warning(self): ... ``` ### warning_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/warning_file.md #### warning_file ```python def warning_file(self): ... ``` ### warning_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/ilogger/warning_string.md #### warning_string ```python def warning_string(self): ... ``` ### Logging class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/logging.md #### Logging class The Logging type exposes the following members: ##### Methods | Method | Description | | :- | :- | | start | | | stop | | ### start method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/logging/start.md #### start ```python def start(cls, logger): ... ``` | Parameter | Type | Description | | :- | :- | :- | | logger | `ILogger` | | ### stop method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.logging/logging/stop.md #### stop ```python def stop(cls): ... ``` ### groupdocs.metadata.options Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options.md Option classes for configuring conversions and operations. ##### Classes | Class | Description | | :- | :- | | `CreatePageStream` | | | `LoadOptions` | | | `PreviewOptions` | | | `ReleasePageStream` | | ##### Enumerations | Enum | Description | | :- | :- | | `PreviewFormats` | | ### CreatePageStream class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream.md #### CreatePageStream class The CreatePageStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_int32_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_int32 | | | begin_invoke | | | begin_invoke_int32 | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_int32_async_callback_object method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/_begin_invoke_int32_async_callback_object.md #### _begin_invoke_int32_async_callback_object ```python def _begin_invoke_int32_async_callback_object(self, page_number, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | **Returns:** Stream ### _init_object_int_ptr method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_int32 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/_invoke_int32.md #### _invoke_int32 ```python def _invoke_int32(self, page_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | **Returns:** Stream ### begin_invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### begin_invoke_int32 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/invoke.md #### invoke ```python def invoke(self): ... ``` ### invoke_int32 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/createpagestream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### LoadOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/loadoptions.md #### LoadOptions class The LoadOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_file_format | | | _init_noargs | | ##### Properties | Property | Description | | :- | :- | | file_format | | | password | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/loadoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_file_format method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/loadoptions/_init_file_format.md #### _init_file_format ```python def _init_file_format(self, file_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_format | `FileFormat` | | ### _init_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/loadoptions/_init_noargs.md #### _init_noargs ```python def _init_noargs(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/loadoptions/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### password property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/loadoptions/password.md ##### Definition: ```python @property def password(self): ... @password.setter def password(self, value): ... ``` ### PreviewFormats class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewformats.md #### PreviewFormats class The PreviewFormats type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PNG | | | JPEG | | | BMP | | ### BMP field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewformats/bmp.md ##### Value `2` ### JPEG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewformats/jpeg.md ##### Value `1` ### PNG field Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewformats/png.md ##### Value `0` ### PreviewOptions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions.md #### PreviewOptions class The PreviewOptions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _init_create_page_stream | | | _init_create_page_stream_release_page_stream | | ##### Properties | Property | Description | | :- | :- | | cache_folder | | | create_page_stream | | | height | | | max_disk_space_for_cache | | | max_memory_for_cache | | | page_numbers | | | preview_format | | | release_page_stream | | | resolution | | | width | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _init_create_page_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/_init_create_page_stream.md #### _init_create_page_stream ```python def _init_create_page_stream(self, create_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | ### _init_create_page_stream_release_page_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/_init_create_page_stream_release_page_stream.md #### _init_create_page_stream_release_page_stream ```python def _init_create_page_stream_release_page_stream(self, create_page_stream, release_page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | create_page_stream | `CreatePageStream` | | | release_page_stream | `ReleasePageStream` | | ### cache_folder property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/cache_folder.md ##### Definition: ```python @property def cache_folder(self): ... @cache_folder.setter def cache_folder(self, value): ... ``` ### create_page_stream property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/create_page_stream.md ##### Definition: ```python @property def create_page_stream(self): ... @create_page_stream.setter def create_page_stream(self, value): ... ``` ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/height.md ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### max_disk_space_for_cache property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/max_disk_space_for_cache.md ##### Definition: ```python @property def max_disk_space_for_cache(self): ... @max_disk_space_for_cache.setter def max_disk_space_for_cache(self, value): ... ``` ### max_memory_for_cache property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/max_memory_for_cache.md ##### Definition: ```python @property def max_memory_for_cache(self): ... @max_memory_for_cache.setter def max_memory_for_cache(self, value): ... ``` ### page_numbers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/page_numbers.md ##### Definition: ```python @property def page_numbers(self): ... @page_numbers.setter def page_numbers(self, value): ... ``` ### preview_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/preview_format.md ##### Definition: ```python @property def preview_format(self): ... @preview_format.setter def preview_format(self, value): ... ``` ### release_page_stream property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/release_page_stream.md ##### Definition: ```python @property def release_page_stream(self): ... @release_page_stream.setter def release_page_stream(self, value): ... ``` ### resolution property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/resolution.md ##### Definition: ```python @property def resolution(self): ... @resolution.setter def resolution(self, value): ... ``` ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/previewoptions/width.md ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### ReleasePageStream class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream.md #### ReleasePageStream class The ReleasePageStream type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _begin_invoke_int32_stream_async_callback_object | | | _end_invoke_iasync_result | | | _init_object_int_ptr | | | _invoke_int32_stream | | | begin_invoke | | | begin_invoke_int32 | | | begin_invoke_stream | | | begin_invoke_streams | | | end_invoke | | | end_invoke_iasync_result | | | invoke | | | invoke_int32 | | | invoke_stream | | | invoke_streams | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _begin_invoke_int32_stream_async_callback_object method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/_begin_invoke_int32_stream_async_callback_object.md #### _begin_invoke_int32_stream_async_callback_object ```python def _begin_invoke_int32_stream_async_callback_object(self, page_number, page_stream, callback, object): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | page_stream | `Stream` | | | callback | `AsyncCallback` | | | object | `Any` | | **Returns:** IAsyncResult ### _end_invoke_iasync_result method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/_end_invoke_iasync_result.md #### _end_invoke_iasync_result ```python def _end_invoke_iasync_result(self, result): ... ``` | Parameter | Type | Description | | :- | :- | :- | | result | `IAsyncResult` | | ### _init_object_int_ptr method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/_init_object_int_ptr.md #### _init_object_int_ptr ```python def _init_object_int_ptr(self, object, method): ... ``` | Parameter | Type | Description | | :- | :- | :- | | object | `Any` | | | method | `IntPtr` | | ### _invoke_int32_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/_invoke_int32_stream.md #### _invoke_int32_stream ```python def _invoke_int32_stream(self, page_number, page_stream): ... ``` | Parameter | Type | Description | | :- | :- | :- | | page_number | `int` | | | page_stream | `Stream` | | ### begin_invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/begin_invoke.md #### begin_invoke ```python def begin_invoke(self): ... ``` ### begin_invoke_int32 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/begin_invoke_int32.md #### begin_invoke_int32 ```python def begin_invoke_int32(self): ... ``` ### begin_invoke_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/begin_invoke_stream.md #### begin_invoke_stream ```python def begin_invoke_stream(self): ... ``` ### begin_invoke_streams method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/begin_invoke_streams.md #### begin_invoke_streams ```python def begin_invoke_streams(self): ... ``` ### end_invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/end_invoke.md #### end_invoke ```python def end_invoke(self): ... ``` ### end_invoke_iasync_result method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/end_invoke_iasync_result.md #### end_invoke_iasync_result ```python def end_invoke_iasync_result(self): ... ``` ### invoke method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/invoke.md #### invoke ```python def invoke(self): ... ``` ### invoke_int32 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/invoke_int32.md #### invoke_int32 ```python def invoke_int32(self): ... ``` ### invoke_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/invoke_stream.md #### invoke_stream ```python def invoke_stream(self): ... ``` ### invoke_streams method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.options/releasepagestream/invoke_streams.md #### invoke_streams ```python def invoke_streams(self): ... ``` ### groupdocs.metadata.search Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search.md ##### Classes | Class | Description | | :- | :- | | `AndSpecification` | Represents a composite specification that uses the logical AND operator to combine two given search specifications. | | `AnySpecification` | Represents a specification that applies no filters to a property. | | `ContainsTagSpecification` | Represents a specification that checks whether the passed property contains the specified tag. | | `FallsIntoCategorySpecification` | Represents a specification that verifies whether the passed property falls into a particular category
(i.e. contains tags from the specified category). | | `NotSpecification` | Represents a composite specification that negates any other specification. | | `OfTypeSpecification` | Represents a specification that filters properties of a particular type. | | `OrSpecification` | Represents a composite specification that uses the logical OR operator to combine two given search specifications. | | `Specification` | Provides a base abstract class for search specifications that can be combined using logical operators. | | `WithNameSpecification` | Represents a specification that filters properties with a particular name. | | `WithValueSpecification` | Represents a specification that filters properties with a particular value. | ### AndSpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/andspecification.md #### AndSpecification class Represents a composite specification that uses the logical AND operator to combine two given search specifications. **Inheritance:** `AndSpecification` → `Specification` The AndSpecification type exposes the following members: ##### Properties | Property | Description | | :- | :- | | left | Gets the left specification. | | right | Gets the right specification. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/andspecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/andspecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/andspecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/andspecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### left property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/andspecification/left.md #### left property Gets the left specification. ##### Definition: ```python @property def left(self): ... ``` ### right property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/andspecification/right.md #### right property Gets the right specification. ##### Definition: ```python @property def right(self): ... ``` ### AnySpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/anyspecification.md #### AnySpecification class Represents a specification that applies no filters to a property. **Inheritance:** `AnySpecification` → `Specification` The AnySpecification type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Constructs a new instance of AnySpecification | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### AnySpecification constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/anyspecification/__init__.md #### \_\_init\_\_(self) Constructs a new instance of AnySpecification ```python def __init__(self): ... ``` ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/anyspecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/anyspecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/anyspecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/anyspecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### ContainsTagSpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/containstagspecification.md #### ContainsTagSpecification class Represents a specification that checks whether the passed property contains the specified tag. **Inheritance:** `ContainsTagSpecification` → `Specification` The ContainsTagSpecification type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tag)` | Initializes a new instance of the `ContainsTagSpecification` class. | ##### Properties | Property | Description | | :- | :- | | tag | Gets the tag a property must contain to satisfy the specification. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### ContainsTagSpecification constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/containstagspecification/__init__.md #### \_\_init\_\_(self, tag) Initializes a new instance of the `ContainsTagSpecification` class. ```python def __init__(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.tagging.PropertyTag | The tag a property must contain to satisfy the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/containstagspecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/containstagspecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/containstagspecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/containstagspecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### tag property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/containstagspecification/tag.md #### tag property Gets the tag a property must contain to satisfy the specification. ##### Definition: ```python @property def tag(self): ... ``` ### FallsIntoCategorySpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/fallsintocategoryspecification.md #### FallsIntoCategorySpecification class Represents a specification that verifies whether the passed property falls into a particular category (i.e. contains tags from the specified category). **Inheritance:** `FallsIntoCategorySpecification` → `Specification` The FallsIntoCategorySpecification type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, category)` | Initializes a new instance of the `FallsIntoCategorySpecification` class. | ##### Properties | Property | Description | | :- | :- | | category | Gets the category into which a property must fall to satisfy the specification. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### FallsIntoCategorySpecification constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/fallsintocategoryspecification/__init__.md #### \_\_init\_\_(self, category) Initializes a new instance of the `FallsIntoCategorySpecification` class. ```python def __init__(self, category): ... ``` | Parameter | Type | Description | | :- | :- | :- | | category | groupdocs.metadata.tagging.TagCategory | The category into which a property must fall to satisfy the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/fallsintocategoryspecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/fallsintocategoryspecification/category.md #### category property Gets the category into which a property must fall to satisfy the specification. ##### Definition: ```python @property def category(self): ... ``` ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/fallsintocategoryspecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/fallsintocategoryspecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/fallsintocategoryspecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### NotSpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/notspecification.md #### NotSpecification class Represents a composite specification that negates any other specification. **Inheritance:** `NotSpecification` → `Specification` The NotSpecification type exposes the following members: ##### Properties | Property | Description | | :- | :- | | wrapped | Gets the base specification to be negated. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/notspecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/notspecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/notspecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/notspecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### wrapped property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/notspecification/wrapped.md #### wrapped property Gets the base specification to be negated. ##### Definition: ```python @property def wrapped(self): ... ``` ### OfTypeSpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/oftypespecification.md #### OfTypeSpecification class Represents a specification that filters properties of a particular type. **Inheritance:** `OfTypeSpecification` → `Specification` The OfTypeSpecification type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, property_type)` | Initializes a new instance of the `OfTypeSpecification` class. | ##### Properties | Property | Description | | :- | :- | | property_type | Gets the type of properties that satisfy the specification. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### OfTypeSpecification constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/oftypespecification/__init__.md #### \_\_init\_\_(self, property_type) Initializes a new instance of the `OfTypeSpecification` class. ```python def __init__(self, property_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_type | groupdocs.metadata.common.MetadataPropertyType | The type of properties that satisfy the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/oftypespecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/oftypespecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/oftypespecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/oftypespecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### property_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/oftypespecification/property_type.md #### property_type property Gets the type of properties that satisfy the specification. ##### Definition: ```python @property def property_type(self): ... ``` ### OrSpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/orspecification.md #### OrSpecification class Represents a composite specification that uses the logical OR operator to combine two given search specifications. **Inheritance:** `OrSpecification` → `Specification` The OrSpecification type exposes the following members: ##### Properties | Property | Description | | :- | :- | | left | Gets the left specification. | | right | Gets the right specification. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/orspecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/orspecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/orspecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/orspecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### left property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/orspecification/left.md #### left property Gets the left specification. ##### Definition: ```python @property def left(self): ... ``` ### right property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/orspecification/right.md #### right property Gets the right specification. ##### Definition: ```python @property def right(self): ... ``` ### Specification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/specification.md #### Specification class Provides a base abstract class for search specifications that can be combined using logical operators. The Specification type exposes the following members: ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/specification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/specification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/specification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/specification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### WithNameSpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification.md #### WithNameSpecification class Represents a specification that filters properties with a particular name. **Inheritance:** `WithNameSpecification` → `Specification` The WithNameSpecification type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, property_name)` | Initializes a new instance of the `WithNameSpecification` class. | | `__init__(self, property_name, ignore_case)` | Initializes a new instance of the `WithNameSpecification` class. | ##### Properties | Property | Description | | :- | :- | | property_name | Gets the name of properties that satisfy the specification. | | ignore_case | Gets a value indicating whether the case of the strings being compared should be ignored. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### WithNameSpecification constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification/__init__.md #### \_\_init\_\_(self, property_name) Initializes a new instance of the `WithNameSpecification` class. ```python def __init__(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The type of properties that satisfy the specification. | #### \_\_init\_\_(self, property_name, ignore_case) Initializes a new instance of the `WithNameSpecification` class. ```python def __init__(self, property_name, ignore_case): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The type of properties that satisfy the specification. | | ignore_case | bool | A value indicating whether the case of the strings being compared should be ignored. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### ignore_case property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification/ignore_case.md #### ignore_case property Gets a value indicating whether the case of the strings being compared should be ignored. ##### Definition: ```python @property def ignore_case(self): ... ``` ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### property_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withnamespecification/property_name.md #### property_name property Gets the name of properties that satisfy the specification. ##### Definition: ```python @property def property_name(self): ... ``` ### WithValueSpecification class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withvaluespecification.md #### WithValueSpecification class Represents a specification that filters properties with a particular value. **Inheritance:** `WithValueSpecification` → `Specification` The WithValueSpecification type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, property_value)` | Initializes a new instance of the `WithNameSpecification` class. | ##### Properties | Property | Description | | :- | :- | | property_value | Gets the value of properties that satisfy the specification. | ##### Methods | Method | Description | | :- | :- | | `is_satisfied_by(self, candidate)` | Verifies whether a `MetadataProperty` satisfies the specification. | | `both(self, other)` | Combines two search specifications using the logical AND operator. | | `either(self, other)` | Combines two search specifications using the logical OR operator. | | `is_not(self)` | Negates the specification. | ### WithValueSpecification constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withvaluespecification/__init__.md #### \_\_init\_\_(self, property_value) Initializes a new instance of the `WithNameSpecification` class. ```python def __init__(self, property_value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_value | System.Object | The type of properties that satisfy the specification. | ### both method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withvaluespecification/both.md #### both(self, other) Combines two search specifications using the logical AND operator. ##### Returns A composite specification. ```python def both(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### either method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withvaluespecification/either.md #### either(self, other) Combines two search specifications using the logical OR operator. ##### Returns A composite specification. ```python def either(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | groupdocs.metadata.search.Specification | A specification to combine with. | ### is_not method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withvaluespecification/is_not.md #### is_not(self) Negates the specification. ##### Returns A composite specification. ```python def is_not(self): ... ``` ### is_satisfied_by method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withvaluespecification/is_satisfied_by.md #### is_satisfied_by(self, candidate) Verifies whether a `MetadataProperty` satisfies the specification. ##### Returns True, if the passed property satisfies the specification; otherwise, false. ```python def is_satisfied_by(self, candidate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | candidate | groupdocs.metadata.common.MetadataProperty | A metadata property to test. | ### property_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.search/withvaluespecification/property_value.md #### property_value property Gets the value of properties that satisfy the specification. ##### Definition: ```python @property def property_value(self): ... ``` ### groupdocs.metadata.standards.dublincore Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore.md The namespace contains functionality intended to read DublinCore metadata from files of different formats. ##### Classes | Class | Description | | :- | :- | | `DublinCorePackage` | Represents a Dublin Core metadata package. | | `IDublinCore` | Defines base operations allowing working with Dublin Core metadata. | ### DublinCorePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage.md #### DublinCorePackage class Represents a Dublin Core metadata package. **Inheritance:** `DublinCorePackage` → `CustomPackage` → `MetadataPackage` The DublinCorePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | contributor | Gets the contributor Dublin Core element. | | coverage | Gets the coverage Dublin Core element. | | creator | Gets the creator Dublin Core element. | | date | Gets the date Dublin Core element. | | description | Gets the description Dublin Core element. | | format | Gets the format Dublin Core element. | | language | Gets the language Dublin Core element. | | publisher | Gets the publisher Dublin Core element. | | relation | Gets the relation Dublin Core element. | | source | Gets the source Dublin Core element. | | subject | Gets the subject Dublin Core element. | | title | Gets the title Dublin Core element. | | type | Gets the type Dublin Core element. | | rights | Gets the rights Dublin Core element. | | identifier | Gets the identifier Dublin Core element. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contributor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/contributor.md #### contributor property Gets the contributor Dublin Core element. ##### Definition: ```python @property def contributor(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/creator.md #### creator property Gets the creator Dublin Core element. ##### Definition: ```python @property def creator(self): ... ``` ### date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/date.md #### date property Gets the date Dublin Core element. ##### Definition: ```python @property def date(self): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/description.md #### description property Gets the description Dublin Core element. ##### Definition: ```python @property def description(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/format.md #### format property Gets the format Dublin Core element. ##### Definition: ```python @property def format(self): ... ``` ### identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/identifier.md #### identifier property Gets the identifier Dublin Core element. ##### Definition: ```python @property def identifier(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/language.md #### language property Gets the language Dublin Core element. ##### Definition: ```python @property def language(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publisher property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/publisher.md #### publisher property Gets the publisher Dublin Core element. ##### Definition: ```python @property def publisher(self): ... ``` ### relation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/relation.md #### relation property Gets the relation Dublin Core element. ##### Definition: ```python @property def relation(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### rights property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/rights.md #### rights property Gets the rights Dublin Core element. ##### Definition: ```python @property def rights(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/source.md #### source property Gets the source Dublin Core element. ##### Definition: ```python @property def source(self): ... ``` ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/subject.md #### subject property Gets the subject Dublin Core element. ##### Definition: ```python @property def subject(self): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/title.md #### title property Gets the title Dublin Core element. ##### Definition: ```python @property def title(self): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/type.md #### type property Gets the type Dublin Core element. ##### Definition: ```python @property def type(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/dublincorepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### IDublinCore class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/idublincore.md #### IDublinCore class Defines base operations allowing working with Dublin Core metadata. The IDublinCore type exposes the following members: ##### Properties | Property | Description | | :- | :- | | dublin_core_package | Gets the Dublin Core metadata package extracted from the document. | ### dublin_core_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.dublincore/idublincore/dublin_core_package.md #### dublin_core_package property Gets the Dublin Core metadata package extracted from the document. ##### Definition: ```python @property def dublin_core_package(self): ... ``` ### groupdocs.metadata.standards.exif.makernote Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote.md The namespace contains classes intended to work with MakerNote metadata written by various camera manufacturers. ##### Classes | Class | Description | | :- | :- | | `CanonCameraSettingsPackage` | Represents CANON camera settings. | | `CanonMakerNotePackage` | Represents CANON MakerNote metadata. | | `MakerNotePackage` | Provides an abstract base class for MakerNote metadata packages. | | `NikonMakerNotePackage` | Represents NIKON MakerNote metadata. | | `PanasonicMakerNotePackage` | Represents PANASONIC MakerNote metadata. | | `SonyMakerNotePackage` | Represents SONY MakerNote metadata. | ### CanonCameraSettingsPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage.md #### CanonCameraSettingsPackage class Represents CANON camera settings. **Inheritance:** `CanonCameraSettingsPackage` → `CustomPackage` → `MetadataPackage` The CanonCameraSettingsPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | macro_mode | Gets the macro mode. | | self_timer | Gets the self timer. | | quality | Gets the quality. | | canon_flash_mode | Gets the canon flash mode. | | continuous_drive | Gets the continuous drive. | | focus_mode | Gets the focus mode. | | record_mode | Gets the record mode. | | canon_image_size | Gets the size of the canon image. | | easy_mode | Gets the easy mode. | | digital_zoom | Gets the digital zoom. | | contrast | Gets the contrast. | | saturation | Gets the saturation. | | sharpness | Gets the sharpness. | | camera_iso | Gets the camera iso. | | metering_mode | Gets the metering mode. | | focus_range | Gets the focus range. | | af_point | Gets the AFPoint. | | canon_exposure_mode | Gets the canon exposure mode. | | lens_type | Gets the type of the lens. | | max_focal_length | Gets the maximum length of the focal. | | min_focal_length | Gets the minimum length of the focal. | | image_stabilization | Gets the image stabilization. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### af_point property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/af_point.md #### af_point property Gets the AFPoint. ##### Definition: ```python @property def af_point(self): ... ``` ### camera_iso property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/camera_iso.md #### camera_iso property Gets the camera iso. ##### Definition: ```python @property def camera_iso(self): ... ``` ### canon_exposure_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/canon_exposure_mode.md #### canon_exposure_mode property Gets the canon exposure mode. ##### Definition: ```python @property def canon_exposure_mode(self): ... ``` ### canon_flash_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/canon_flash_mode.md #### canon_flash_mode property Gets the canon flash mode. ##### Definition: ```python @property def canon_flash_mode(self): ... ``` ### canon_image_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/canon_image_size.md #### canon_image_size property Gets the size of the canon image. ##### Definition: ```python @property def canon_image_size(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### continuous_drive property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/continuous_drive.md #### continuous_drive property Gets the continuous drive. ##### Definition: ```python @property def continuous_drive(self): ... ``` ### contrast property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/contrast.md #### contrast property Gets the contrast. ##### Definition: ```python @property def contrast(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_zoom property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/digital_zoom.md #### digital_zoom property Gets the digital zoom. ##### Definition: ```python @property def digital_zoom(self): ... ``` ### easy_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/easy_mode.md #### easy_mode property Gets the easy mode. ##### Definition: ```python @property def easy_mode(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### focus_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/focus_mode.md #### focus_mode property Gets the focus mode. ##### Definition: ```python @property def focus_mode(self): ... ``` ### focus_range property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/focus_range.md #### focus_range property Gets the focus range. ##### Definition: ```python @property def focus_range(self): ... ``` ### image_stabilization property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/image_stabilization.md #### image_stabilization property Gets the image stabilization. ##### Definition: ```python @property def image_stabilization(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lens_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/lens_type.md #### lens_type property Gets the type of the lens. ##### Definition: ```python @property def lens_type(self): ... ``` ### macro_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/macro_mode.md #### macro_mode property Gets the macro mode. ##### Definition: ```python @property def macro_mode(self): ... ``` ### max_focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/max_focal_length.md #### max_focal_length property Gets the maximum length of the focal. ##### Definition: ```python @property def max_focal_length(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### metering_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/metering_mode.md #### metering_mode property Gets the metering mode. ##### Definition: ```python @property def metering_mode(self): ... ``` ### min_focal_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/min_focal_length.md #### min_focal_length property Gets the minimum length of the focal. ##### Definition: ```python @property def min_focal_length(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/quality.md #### quality property Gets the quality. ##### Definition: ```python @property def quality(self): ... ``` ### record_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/record_mode.md #### record_mode property Gets the record mode. ##### Definition: ```python @property def record_mode(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/saturation.md #### saturation property Gets the saturation. ##### Definition: ```python @property def saturation(self): ... ``` ### self_timer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/self_timer.md #### self_timer property Gets the self timer. ##### Definition: ```python @property def self_timer(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/sharpness.md #### sharpness property Gets the sharpness. ##### Definition: ```python @property def sharpness(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canoncamerasettingspackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### CanonMakerNotePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage.md #### CanonMakerNotePackage class Represents CANON MakerNote metadata. **Inheritance:** `CanonMakerNotePackage` → `MakerNotePackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The CanonMakerNotePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | camera_settings | Gets the camera settings. | | canon_image_type | Gets the Canon image type. | | canon_firmware_version | Gets the canon firmware version. | | file_number | Gets the file number. | | owner_name | Gets the name of the owner. | | serial_number | Gets the serial number. | | canon_file_length | Gets the length of the canon file. | | canon_model_id | Gets the canon model identifier. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### camera_settings property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/camera_settings.md #### camera_settings property Gets the camera settings. ##### Definition: ```python @property def camera_settings(self): ... ``` ### canon_file_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canon_file_length.md #### canon_file_length property Gets the length of the canon file. ##### Definition: ```python @property def canon_file_length(self): ... ``` ### canon_firmware_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canon_firmware_version.md #### canon_firmware_version property Gets the canon firmware version. ##### Definition: ```python @property def canon_firmware_version(self): ... ``` ### canon_image_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canon_image_type.md #### canon_image_type property Gets the Canon image type. ##### Definition: ```python @property def canon_image_type(self): ... ``` ### canon_model_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/canon_model_id.md #### canon_model_id property Gets the canon model identifier. ##### Definition: ```python @property def canon_model_id(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### file_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/file_number.md #### file_number property Gets the file number. ##### Definition: ```python @property def file_number(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### owner_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/owner_name.md #### owner_name property Gets the name of the owner. ##### Definition: ```python @property def owner_name(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/serial_number.md #### serial_number property Gets the serial number. ##### Definition: ```python @property def serial_number(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/canonmakernotepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### MakerNotePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage.md #### MakerNotePackage class Provides an abstract base class for MakerNote metadata packages. **Inheritance:** `MakerNotePackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The MakerNotePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/makernotepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### NikonMakerNotePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage.md #### NikonMakerNotePackage class Represents NIKON MakerNote metadata. **Inheritance:** `NikonMakerNotePackage` → `MakerNotePackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The NikonMakerNotePackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tags)` | Initializes a new instance of the `NikonMakerNotePackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | maker_note_version | Gets the MakerNote version. | | iso | Gets the iso. | | color_mode | Gets the color mode. | | quality | Gets the quality string. | | white_balance | Gets the white balance. | | sharpness | Gets the sharpness. | | focus_mode | Gets the focus mode. | | flash_setting | Gets the flash setting. | | flash_type | Gets the type of the flash. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ### NikonMakerNotePackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/__init__.md #### \_\_init\_\_(self, tags) Initializes a new instance of the `NikonMakerNotePackage` class. ```python def __init__(self, tags): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tags | list | Array of TIFF tags. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### color_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/color_mode.md #### color_mode property Gets the color mode. ##### Definition: ```python @property def color_mode(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flash_setting property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/flash_setting.md #### flash_setting property Gets the flash setting. ##### Definition: ```python @property def flash_setting(self): ... ``` ### flash_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/flash_type.md #### flash_type property Gets the type of the flash. ##### Definition: ```python @property def flash_type(self): ... ``` ### focus_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/focus_mode.md #### focus_mode property Gets the focus mode. ##### Definition: ```python @property def focus_mode(self): ... ``` ### iso property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/iso.md #### iso property Gets the iso. ##### Definition: ```python @property def iso(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### maker_note_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/maker_note_version.md #### maker_note_version property Gets the MakerNote version. ##### Definition: ```python @property def maker_note_version(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/quality.md #### quality property Gets the quality string. ##### Definition: ```python @property def quality(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/sharpness.md #### sharpness property Gets the sharpness. ##### Definition: ```python @property def sharpness(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/nikonmakernotepackage/white_balance.md #### white_balance property Gets the white balance. ##### Definition: ```python @property def white_balance(self): ... ``` ### PanasonicMakerNotePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage.md #### PanasonicMakerNotePackage class Represents PANASONIC MakerNote metadata. **Inheritance:** `PanasonicMakerNotePackage` → `MakerNotePackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The PanasonicMakerNotePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | image_quality | Gets the image quality. | | firmware_version | Gets the firmware version. | | white_balance | Gets the white balance. | | focus_mode | Gets the focus mode. | | af_mode | Gets the AF mode. | | image_stabilization | Gets the image stabilization mode. | | macro_mode | Gets the macro mode. | | shooting_mode | Gets the shooting mode. | | audio | Gets the audio mode. | | lens_type | Gets the type of the lens. | | lens_serial_number | Gets the lens serial number. | | accessory_type | Gets the type of the accessory. | | accessory_serial_number | Gets the accessory serial number. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ### accessory_serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/accessory_serial_number.md #### accessory_serial_number property Gets the accessory serial number. ##### Definition: ```python @property def accessory_serial_number(self): ... ``` ### accessory_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/accessory_type.md #### accessory_type property Gets the type of the accessory. ##### Definition: ```python @property def accessory_type(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### af_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/af_mode.md #### af_mode property Gets the AF mode. ##### Definition: ```python @property def af_mode(self): ... ``` ### audio property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/audio.md #### audio property Gets the audio mode. ##### Definition: ```python @property def audio(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### firmware_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/firmware_version.md #### firmware_version property Gets the firmware version. ##### Definition: ```python @property def firmware_version(self): ... ``` ### focus_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/focus_mode.md #### focus_mode property Gets the focus mode. ##### Definition: ```python @property def focus_mode(self): ... ``` ### image_quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/image_quality.md #### image_quality property Gets the image quality. ##### Definition: ```python @property def image_quality(self): ... ``` ### image_stabilization property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/image_stabilization.md #### image_stabilization property Gets the image stabilization mode. ##### Definition: ```python @property def image_stabilization(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### lens_serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/lens_serial_number.md #### lens_serial_number property Gets the lens serial number. ##### Definition: ```python @property def lens_serial_number(self): ... ``` ### lens_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/lens_type.md #### lens_type property Gets the type of the lens. ##### Definition: ```python @property def lens_type(self): ... ``` ### macro_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/macro_mode.md #### macro_mode property Gets the macro mode. ##### Definition: ```python @property def macro_mode(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shooting_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/shooting_mode.md #### shooting_mode property Gets the shooting mode. ##### Definition: ```python @property def shooting_mode(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/panasonicmakernotepackage/white_balance.md #### white_balance property Gets the white balance. ##### Definition: ```python @property def white_balance(self): ... ``` ### SonyMakerNotePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage.md #### SonyMakerNotePackage class Represents SONY MakerNote metadata. **Inheritance:** `SonyMakerNotePackage` → `MakerNotePackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The SonyMakerNotePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | header | Gets the MakerNote header. | | quality | Gets the image quality. | | white_balance | Gets the white balance. | | teleconverter | Gets the teleconverter type. | | multi_burst_mode | Gets a value indicating whether the multi burst mode is on. | | multi_burst_image_width | Gets the width of the multi burst image. | | multi_burst_image_height | Gets the height of the multi burst image. | | rating | Gets the rating. | | contrast | Gets the contrast. | | saturation | Gets the saturation. | | sharpness | Gets the sharpness. | | brightness | Gets the brightness. | | picture_effect | Gets the picture effect. | | soft_skin_effect | Gets the soft skin effect. | | sony_model_id | Gets the sony model identifier. | | creative_style | Gets the creative style. | | color_temperature | Gets the color temperature. | | color_mode | Gets the color mode. | | macro | Gets the macro. | | exposure_mode | Gets the exposure mode. | | focus_mode | Gets the focus mode. | | jpeg_quality | Gets the JPEG quality. | | af_illuminator | Gets the AF illuminator type. | | flash_level | Gets the flash level. | | release_mode | Gets the release mode. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### af_illuminator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/af_illuminator.md #### af_illuminator property Gets the AF illuminator type. ##### Definition: ```python @property def af_illuminator(self): ... ``` ### brightness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/brightness.md #### brightness property Gets the brightness. ##### Definition: ```python @property def brightness(self): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### color_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/color_mode.md #### color_mode property Gets the color mode. ##### Definition: ```python @property def color_mode(self): ... ``` ### color_temperature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/color_temperature.md #### color_temperature property Gets the color temperature. ##### Definition: ```python @property def color_temperature(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contrast property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/contrast.md #### contrast property Gets the contrast. ##### Definition: ```python @property def contrast(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creative_style property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/creative_style.md #### creative_style property Gets the creative style. ##### Definition: ```python @property def creative_style(self): ... ``` ### exposure_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/exposure_mode.md #### exposure_mode property Gets the exposure mode. ##### Definition: ```python @property def exposure_mode(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flash_level property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/flash_level.md #### flash_level property Gets the flash level. ##### Definition: ```python @property def flash_level(self): ... ``` ### focus_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/focus_mode.md #### focus_mode property Gets the focus mode. ##### Definition: ```python @property def focus_mode(self): ... ``` ### header property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/header.md #### header property Gets the MakerNote header. ##### Definition: ```python @property def header(self): ... ``` ### jpeg_quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/jpeg_quality.md #### jpeg_quality property Gets the JPEG quality. ##### Definition: ```python @property def jpeg_quality(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### macro property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/macro.md #### macro property Gets the macro. ##### Definition: ```python @property def macro(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### multi_burst_image_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/multi_burst_image_height.md #### multi_burst_image_height property Gets the height of the multi burst image. ##### Definition: ```python @property def multi_burst_image_height(self): ... ``` ### multi_burst_image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/multi_burst_image_width.md #### multi_burst_image_width property Gets the width of the multi burst image. ##### Definition: ```python @property def multi_burst_image_width(self): ... ``` ### multi_burst_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/multi_burst_mode.md #### multi_burst_mode property Gets a value indicating whether the multi burst mode is on. ##### Definition: ```python @property def multi_burst_mode(self): ... ``` ### picture_effect property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/picture_effect.md #### picture_effect property Gets the picture effect. ##### Definition: ```python @property def picture_effect(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### quality property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/quality.md #### quality property Gets the image quality. ##### Definition: ```python @property def quality(self): ... ``` ### rating property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/rating.md #### rating property Gets the rating. ##### Definition: ```python @property def rating(self): ... ``` ### release_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/release_mode.md #### release_mode property Gets the release mode. ##### Definition: ```python @property def release_mode(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/saturation.md #### saturation property Gets the saturation. ##### Definition: ```python @property def saturation(self): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/sharpness.md #### sharpness property Gets the sharpness. ##### Definition: ```python @property def sharpness(self): ... ``` ### soft_skin_effect property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/soft_skin_effect.md #### soft_skin_effect property Gets the soft skin effect. ##### Definition: ```python @property def soft_skin_effect(self): ... ``` ### sony_model_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/sony_model_id.md #### sony_model_id property Gets the sony model identifier. ##### Definition: ```python @property def sony_model_id(self): ... ``` ### teleconverter property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/teleconverter.md #### teleconverter property Gets the teleconverter type. ##### Definition: ```python @property def teleconverter(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.makernote/sonymakernotepackage/white_balance.md #### white_balance property Gets the white balance. ##### Definition: ```python @property def white_balance(self): ... ``` ### groupdocs.metadata.standards.exif Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif.md The namespace contains functionality intended to read and write EXIF (exchangeable image file format) metadata. ##### Classes | Class | Description | | :- | :- | | `ExifDictionaryBasePackage` | Provides an abstract base class for EXIF metadata dictionaries. | | `ExifGpsPackage` | Represents GPS metadata in an EXIF metadata package. | | `ExifIfdPackage` | Represents the Exif Image File Directory. Exif IFD is a set of tags for recording Exif-specific attribute information. | | `ExifPackage` | Represents an EXIF metadata package (Exchangeable Image File Format). | | `IExif` | Defines base operations intended to work with EXIF metadata. | ##### Enumerations | Enumeration | Description | | :- | :- | | `ExifGpsAltitudeRef` | Represents a GPS altitude reference. | | `ExifOrientation` | Exif image orientation. | ### ExifDictionaryBasePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage.md #### ExifDictionaryBasePackage class Provides an abstract base class for EXIF metadata dictionaries. **Inheritance:** `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The ExifDictionaryBasePackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifdictionarybasepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### ExifGpsAltitudeRef enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpsaltituderef.md #### ExifGpsAltitudeRef enumeration Represents a GPS altitude reference. The ExifGpsAltitudeRef type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ABOVE_SEA_LEVEL | Above sea level. | | BELOW_SEA_LEVEL | Below sea level. | ### ExifGpsPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage.md #### ExifGpsPackage class Represents GPS metadata in an EXIF metadata package. **Inheritance:** `ExifGpsPackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The ExifGpsPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `ExifGpsPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | altitude | Gets or sets the altitude based on the reference in `ExifGpsPackage.altitude_ref`.
The reference unit is meters. | | altitude_ref | Gets or sets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given.
If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the `ExifGpsPackage.altitude` tag. | | area_information | Gets or sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. | | date_stamp | Gets or sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. | | dest_bearing | Gets or sets the GPS bearing to the destination point.
The range of values is from 0.00 to 359.99. | | dest_bearing_ref | Gets or sets the GPS reference used for giving the bearing to the destination point.
'T' denotes true direction and 'M' is magnetic direction. | | dest_distance | Gets or sets the GPS distance to the destination point. | | dest_distance_ref | Gets or sets the GPS unit used to express the distance to the destination point.
'K', 'M' and 'N' represent kilometers, miles and knots. | | dest_latitude | Gets or sets the GPS latitude of the destination point. | | dest_latitude_ref | Gets or sets the GPS value which indicates whether the latitude of the destination point is north or south latitude.
The ASCII value 'N' indicates north latitude, and 'S' is south latitude. | | dest_longitude | Gets or sets the GPS longitude of the destination point. | | dest_longitude_ref | Gets or sets the GPS value which indicates whether the longitude of the destination point is east or west longitude.
ASCII 'E' indicates east longitude, and 'W' is west longitude. | | differential | Gets or sets a GPS value which indicates whether differential correction is applied to the GPS receiver. | | data_degree_of_precision | Gets or sets the GPS DOP (data degree of precision).
An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. | | img_direction | Gets or sets the GPS direction of the image when it was captured.
The range of values is from 0.00 to 359.99. | | img_direction_ref | Gets or sets the GPS reference for giving the direction of the image when it is captured.
'T' denotes true direction and 'M' is magnetic direction. | | latitude | Gets or sets the GPS latitude. | | latitude_ref | Gets or sets a GPS value indicating whether the latitude is north or south latitude. | | longitude | Gets or sets the GPS longitude. | | longitude_ref | Gets or sets a GPS value indicating whether the longitude is east or west longitude. | | map_datum | Gets or sets the geodetic survey data used by the GPS receiver. | | measure_mode | Gets or sets the GPS measurement mode. | | processing_method | Gets or sets a character string recording the name of the method used for location finding.
The first byte indicates the character code used, and this is followed by the name of the method. | | satellites | Gets or sets the GPS satellites used for measurements.
This tag can be used to describe the number of satellites,
their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not
specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. | | speed | Gets or sets the speed of GPS receiver movement. | | speed_ref | Gets or sets the unit used to express the GPS receiver speed of movement.
'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. | | status | Gets or sets the status of the GPS receiver when the image is recorded. | | time_stamp | Gets or sets the time as UTC (Coordinated Universal Time).
TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. | | gps_track | Gets or sets the direction of GPS receiver movement. | | track_ref | Gets or sets the reference for giving the direction of GPS receiver movement.
'T' denotes true direction and 'M' is magnetic direction. | | version_id | Gets or sets the version of GPS IFD. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ##### Remarks **Learn more** | | | ### ExifGpsPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `ExifGpsPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### altitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/altitude.md #### altitude property Gets or sets the altitude based on the reference in `ExifGpsPackage.altitude_ref`. The reference unit is meters. ##### Definition: ```python @property def altitude(self): ... @altitude.setter def altitude(self, value): ... ``` ### altitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/altitude_ref.md #### altitude_ref property Gets or sets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the `ExifGpsPackage.altitude` tag. ##### Definition: ```python @property def altitude_ref(self): ... @altitude_ref.setter def altitude_ref(self, value): ... ``` ### area_information property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/area_information.md #### area_information property Gets or sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area. ##### Definition: ```python @property def area_information(self): ... @area_information.setter def area_information(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### data_degree_of_precision property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/data_degree_of_precision.md #### data_degree_of_precision property Gets or sets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement. ##### Definition: ```python @property def data_degree_of_precision(self): ... @data_degree_of_precision.setter def data_degree_of_precision(self, value): ... ``` ### date_stamp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/date_stamp.md #### date_stamp property Gets or sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD. ##### Definition: ```python @property def date_stamp(self): ... @date_stamp.setter def date_stamp(self, value): ... ``` ### dest_bearing property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_bearing.md #### dest_bearing property Gets or sets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99. ##### Definition: ```python @property def dest_bearing(self): ... @dest_bearing.setter def dest_bearing(self, value): ... ``` ### dest_bearing_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_bearing_ref.md #### dest_bearing_ref property Gets or sets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction. ##### Definition: ```python @property def dest_bearing_ref(self): ... @dest_bearing_ref.setter def dest_bearing_ref(self, value): ... ``` ### dest_distance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_distance.md #### dest_distance property Gets or sets the GPS distance to the destination point. ##### Definition: ```python @property def dest_distance(self): ... @dest_distance.setter def dest_distance(self, value): ... ``` ### dest_distance_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_distance_ref.md #### dest_distance_ref property Gets or sets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots. ##### Definition: ```python @property def dest_distance_ref(self): ... @dest_distance_ref.setter def dest_distance_ref(self, value): ... ``` ### dest_latitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_latitude.md #### dest_latitude property Gets or sets the GPS latitude of the destination point. ##### Definition: ```python @property def dest_latitude(self): ... @dest_latitude.setter def dest_latitude(self, value): ... ``` ### dest_latitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_latitude_ref.md #### dest_latitude_ref property Gets or sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude. ##### Definition: ```python @property def dest_latitude_ref(self): ... @dest_latitude_ref.setter def dest_latitude_ref(self, value): ... ``` ### dest_longitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_longitude.md #### dest_longitude property Gets or sets the GPS longitude of the destination point. ##### Definition: ```python @property def dest_longitude(self): ... @dest_longitude.setter def dest_longitude(self, value): ... ``` ### dest_longitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/dest_longitude_ref.md #### dest_longitude_ref property Gets or sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude. ##### Definition: ```python @property def dest_longitude_ref(self): ... @dest_longitude_ref.setter def dest_longitude_ref(self, value): ... ``` ### differential property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/differential.md #### differential property Gets or sets a GPS value which indicates whether differential correction is applied to the GPS receiver. ##### Definition: ```python @property def differential(self): ... @differential.setter def differential(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### gps_track property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/gps_track.md #### gps_track property Gets or sets the direction of GPS receiver movement. ##### Definition: ```python @property def gps_track(self): ... @gps_track.setter def gps_track(self, value): ... ``` ### img_direction property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/img_direction.md #### img_direction property Gets or sets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99. ##### Definition: ```python @property def img_direction(self): ... @img_direction.setter def img_direction(self, value): ... ``` ### img_direction_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/img_direction_ref.md #### img_direction_ref property Gets or sets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction. ##### Definition: ```python @property def img_direction_ref(self): ... @img_direction_ref.setter def img_direction_ref(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### latitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/latitude.md #### latitude property Gets or sets the GPS latitude. ##### Definition: ```python @property def latitude(self): ... @latitude.setter def latitude(self, value): ... ``` ### latitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/latitude_ref.md #### latitude_ref property Gets or sets a GPS value indicating whether the latitude is north or south latitude. ##### Definition: ```python @property def latitude_ref(self): ... @latitude_ref.setter def latitude_ref(self, value): ... ``` ### longitude property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/longitude.md #### longitude property Gets or sets the GPS longitude. ##### Definition: ```python @property def longitude(self): ... @longitude.setter def longitude(self, value): ... ``` ### longitude_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/longitude_ref.md #### longitude_ref property Gets or sets a GPS value indicating whether the longitude is east or west longitude. ##### Definition: ```python @property def longitude_ref(self): ... @longitude_ref.setter def longitude_ref(self, value): ... ``` ### map_datum property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/map_datum.md #### map_datum property Gets or sets the geodetic survey data used by the GPS receiver. ##### Definition: ```python @property def map_datum(self): ... @map_datum.setter def map_datum(self, value): ... ``` ### measure_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/measure_mode.md #### measure_mode property Gets or sets the GPS measurement mode. ##### Definition: ```python @property def measure_mode(self): ... @measure_mode.setter def measure_mode(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### processing_method property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/processing_method.md #### processing_method property Gets or sets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method. ##### Definition: ```python @property def processing_method(self): ... @processing_method.setter def processing_method(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### satellites property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/satellites.md #### satellites property Gets or sets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL. ##### Definition: ```python @property def satellites(self): ... @satellites.setter def satellites(self, value): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### speed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/speed.md #### speed property Gets or sets the speed of GPS receiver movement. ##### Definition: ```python @property def speed(self): ... @speed.setter def speed(self, value): ... ``` ### speed_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/speed_ref.md #### speed_ref property Gets or sets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots. ##### Definition: ```python @property def speed_ref(self): ... @speed_ref.setter def speed_ref(self, value): ... ``` ### status property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/status.md #### status property Gets or sets the status of the GPS receiver when the image is recorded. ##### Definition: ```python @property def status(self): ... @status.setter def status(self, value): ... ``` ### time_stamp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/time_stamp.md #### time_stamp property Gets or sets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second. ##### Definition: ```python @property def time_stamp(self): ... @time_stamp.setter def time_stamp(self, value): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### track_ref property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/track_ref.md #### track_ref property Gets or sets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction. ##### Definition: ```python @property def track_ref(self): ... @track_ref.setter def track_ref(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifgpspackage/version_id.md #### version_id property Gets or sets the version of GPS IFD. ##### Definition: ```python @property def version_id(self): ... @version_id.setter def version_id(self, value): ... ``` ### ExifIfdPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage.md #### ExifIfdPackage class Represents the Exif Image File Directory. Exif IFD is a set of tags for recording Exif-specific attribute information. **Inheritance:** `ExifIfdPackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The ExifIfdPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | camera_owner_name | Gets or sets the camera owner's name. | | body_serial_number | Gets or sets the camera body serial number. | | cfa_pattern | Gets or sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | | user_comment | Gets or sets the user comment. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ##### Remarks **Learn more** | | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### body_serial_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/body_serial_number.md #### body_serial_number property Gets or sets the camera body serial number. ##### Definition: ```python @property def body_serial_number(self): ... @body_serial_number.setter def body_serial_number(self, value): ... ``` ### camera_owner_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/camera_owner_name.md #### camera_owner_name property Gets or sets the camera owner's name. ##### Definition: ```python @property def camera_owner_name(self): ... @camera_owner_name.setter def camera_owner_name(self, value): ... ``` ### cfa_pattern property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/cfa_pattern.md #### cfa_pattern property Gets or sets the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. ##### Definition: ```python @property def cfa_pattern(self): ... @cfa_pattern.setter def cfa_pattern(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### user_comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exififdpackage/user_comment.md #### user_comment property Gets or sets the user comment. ##### Definition: ```python @property def user_comment(self): ... @user_comment.setter def user_comment(self, value): ... ``` ### ExifOrientation enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exiforientation.md #### ExifOrientation enumeration Exif image orientation. The ExifOrientation type exposes the following members: ##### Fields | Field | Description | | :- | :- | | TOP_LEFT | Top left. Default orientation. | | TOP_RIGHT | Top right. Horizontally reversed. | | BOTTOM_RIGHT | Bottom right. Rotated by 180 degrees. | | BOTTOM_LEFT | Bottom left. Rotated by 180 degrees and then horizontally reversed. | | LEFT_TOP | Left top. Rotated by 90 degrees counterclockwise and then horizontally reversed. | | RIGHT_TOP | Right top. Rotated by 90 degrees clockwise. | | RIGHT_BOTTOM | Right bottom. Rotated by 90 degrees clockwise and then horizontally reversed. | | LEFT_BOTTOM | Left bottom. Rotated by 90 degrees counterclockwise. | ### ExifPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage.md #### ExifPackage class Represents an EXIF metadata package (Exchangeable Image File Format). **Inheritance:** `ExifPackage` → `ExifDictionaryBasePackage` → `CustomPackage` → `MetadataPackage` The ExifPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `ExifPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | gps_package | Gets the GPS data. | | exif_ifd_package | Gets the EXIF IFD data. | | thumbnail | Gets the image thumbnail represented as an array of bytes. | | artist | Gets or sets the name of the camera owner, photographer or image creator. | | copyright | Gets or sets the copyright notice. | | date_time | Gets or sets the date and time of image creation.
In the EXIF standard, it is the date and time the file was changed. | | image_description | Gets or sets a character string giving the title of the image.
It may be a comment such as "1988 company picnic" or the like. | | image_length | Gets or sets the number of rows of image data. | | orientation | Gets or sets the orientation. | | image_width | Gets or sets the number of columns of image data, equal to the number of pixels per row. | | make | Gets or sets the manufacturer of the recording equipment.
This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. | | model | Gets or sets the model name or model number of the equipment.
This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. | | software | Gets or sets the name and version of the software or firmware of the camera or image input device used to generate the image. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | | `remove(self, tag_id)` | Removes the property with the specified id. | | `set(self, tag)` | Adds or replaces the specified tag. | | `clear(self)` | Removes all TIFF tags stored in the package. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to update common EXIF properties. ### ExifPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `ExifPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/artist.md #### artist property Gets or sets the name of the camera owner, photographer or image creator. ##### Definition: ```python @property def artist(self): ... @artist.setter def artist(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/clear.md #### clear(self) Removes all TIFF tags stored in the package. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/copyright.md #### copyright property Gets or sets the copyright notice. ##### Definition: ```python @property def copyright(self): ... @copyright.setter def copyright(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/date_time.md #### date_time property Gets or sets the date and time of image creation. In the EXIF standard, it is the date and time the file was changed. ##### Definition: ```python @property def date_time(self): ... @date_time.setter def date_time(self, value): ... ``` ### exif_ifd_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/exif_ifd_package.md #### exif_ifd_package property Gets the EXIF IFD data. ##### Definition: ```python @property def exif_ifd_package(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### gps_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/gps_package.md #### gps_package property Gets the GPS data. ##### Definition: ```python @property def gps_package(self): ... ``` ### image_description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/image_description.md #### image_description property Gets or sets a character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. ##### Definition: ```python @property def image_description(self): ... @image_description.setter def image_description(self, value): ... ``` ### image_length property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/image_length.md #### image_length property Gets or sets the number of rows of image data. ##### Definition: ```python @property def image_length(self): ... @image_length.setter def image_length(self, value): ... ``` ### image_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/image_width.md #### image_width property Gets or sets the number of columns of image data, equal to the number of pixels per row. ##### Definition: ```python @property def image_width(self): ... @image_width.setter def image_width(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### make property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/make.md #### make property Gets or sets the manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. ##### Definition: ```python @property def make(self): ... @make.setter def make(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### model property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/model.md #### model property Gets or sets the model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. ##### Definition: ```python @property def model(self): ... @model.setter def model(self, value): ... ``` ### orientation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/orientation.md #### orientation property Gets or sets the orientation. ##### Definition: ```python @property def orientation(self): ... @orientation.setter def orientation(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/remove.md #### remove(self, tag_id) Removes the property with the specified id. ##### Returns True if the specified TIFF tag is found and removed; otherwise, false. ```python def remove(self, tag_id): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag_id | groupdocs.metadata.formats.image.TiffTagID | A TIFF tag id. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/set.md #### set(self, tag) Adds or replaces the specified tag. ```python def set(self, tag): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tag | groupdocs.metadata.formats.image.TiffTag | The tag to set. | ##### Example This code sample demonstrates how to add a custom tag to an EXIF package. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### software property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/software.md #### software property Gets or sets the name and version of the software or firmware of the camera or image input device used to generate the image. ##### Definition: ```python @property def software(self): ... @software.setter def software(self, value): ... ``` ### thumbnail property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/thumbnail.md #### thumbnail property Gets the image thumbnail represented as an array of bytes. ##### Remarks This feature is not available in trial mode. ##### Definition: ```python @property def thumbnail(self): ... ``` ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all TIFF tags from the package. ```python def to_list(self): ... ``` ##### Example This example demonstrates how to read all EXIF tags extracted from a file. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/exifpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### IExif class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/iexif.md #### IExif class Defines base operations intended to work with EXIF metadata. The IExif type exposes the following members: ##### Properties | Property | Description | | :- | :- | | exif_package | Gets or sets the EXIF metadata package associated with the file. | ##### Remarks **Learn more** | | | ##### Example This code sample demonstrates how to extract basic EXIF metadata properties. ### exif_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.exif/iexif/exif_package.md #### exif_package property Gets or sets the EXIF metadata package associated with the file. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to remove EXIF metadata from a file. ##### Definition: ```python @property def exif_package(self): ... @exif_package.setter def exif_package(self, value): ... ``` ### groupdocs.metadata.standards.iptc Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc.md The namespace contains classes allowing users to work with IPTC metadata. ##### Classes | Class | Description | | :- | :- | | `IIptc` | Represents base operations intended to work with IPTC metadata.
Please find more information at [http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council](http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council). | | `IptcApplicationRecord` | Represents an IPTC Application Record. | | `IptcDataSet` | Represents an IPTC DataSet (metadata property). | | `IptcEnvelopeRecord` | Represents an IPTC Envelope Record. | | `IptcRecord` | Represents an IPTC record. | | `IptcRecordSet` | Represents a collection of IPTC records. | ##### Enumerations | Enumeration | Description | | :- | :- | | `IptcApplicationRecordDataSet` | Defines IPTC Application Record dataSet numbers. | | `IptcEnvelopeRecordDataSet` | Defines IPTC Envelope Record dataSet numbers. | | `IptcRecordType` | Defines IPTC record types. | ### IIptc class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iiptc.md #### IIptc class Represents base operations intended to work with IPTC metadata. Please find more information at [http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council](http://en.wikipedia.org/wiki/International_Press_Telecommunications_Council). The IIptc type exposes the following members: ##### Properties | Property | Description | | :- | :- | | iptc_package | Gets or sets the IPTC metadata package associated with the file. | ##### Remarks **Learn more** | | | ##### Example This example shows how to read basic IPTC metadata properties. ### iptc_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iiptc/iptc_package.md #### iptc_package property Gets or sets the IPTC metadata package associated with the file. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to remove IPTC metadata from a file. ##### Definition: ```python @property def iptc_package(self): ... @iptc_package.setter def iptc_package(self, value): ... ``` ### IptcApplicationRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord.md #### IptcApplicationRecord class Represents an IPTC Application Record. **Inheritance:** `IptcApplicationRecord` → `IptcRecord` → `CustomPackage` → `MetadataPackage` The IptcApplicationRecord type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `IptcApplicationRecord` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | record_number | Gets the record number. | | by_line | Gets or sets the name of the creator of the object, e.g. writer, photographer or graphic artist. | | by_lines | Gets or sets the names of the creators of the object, e.g. writer, photographer or graphic artist. | | by_line_title | Gets or sets the title of the creator or creators of the object. | | by_line_titles | Gets or sets the titles of the creator or creators of the object. | | content_location_code | Gets or sets the content location code. | | content_location_codes | Gets or sets the content location codes. | | content_location_name | Gets or sets the content location name. | | content_location_names | Gets or sets the content location names. | | date_created | Gets or sets the date the intellectual content of the object was created. | | reference_date | Gets or sets the date of a prior envelope to which the current object refers. | | reference_dates | Gets the dates of a prior envelope to which the current object refers. | | release_date | Gets or sets the release date. | | credit | Gets or sets information about the provider of the object, not necessarily the owner/creator. | | headline | Gets or sets a publishable entry providing a synopsis of the contents of the object. | | copyright_notice | Gets or sets the copyright notice. | | contact | Gets or sets information about the person or organisation which can provide further background information on the object. | | contacts | Gets or sets information about the person or organisation which can provide further background information on the object. | | city | Gets or sets the city. | | caption_abstract | Gets or sets a textual description of the object, particularly used where the object is not text. | | keywords | Gets or sets the keywords. | | all_keywords | Gets or sets the keywords. | | program_version | Gets or sets the program version. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | ##### Remarks **Learn more** | | | ### IptcApplicationRecord indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### IptcApplicationRecord constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `IptcApplicationRecord` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### all_keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/all_keywords.md #### all_keywords property Gets or sets the keywords. ##### Definition: ```python @property def all_keywords(self): ... @all_keywords.setter def all_keywords(self, value): ... ``` ### by_line property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/by_line.md #### by_line property Gets or sets the name of the creator of the object, e.g. writer, photographer or graphic artist. ##### Definition: ```python @property def by_line(self): ... @by_line.setter def by_line(self, value): ... ``` ### by_line_title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/by_line_title.md #### by_line_title property Gets or sets the title of the creator or creators of the object. ##### Definition: ```python @property def by_line_title(self): ... @by_line_title.setter def by_line_title(self, value): ... ``` ### by_line_titles property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/by_line_titles.md #### by_line_titles property Gets or sets the titles of the creator or creators of the object. ##### Definition: ```python @property def by_line_titles(self): ... @by_line_titles.setter def by_line_titles(self, value): ... ``` ### by_lines property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/by_lines.md #### by_lines property Gets or sets the names of the creators of the object, e.g. writer, photographer or graphic artist. ##### Definition: ```python @property def by_lines(self): ... @by_lines.setter def by_lines(self, value): ... ``` ### caption_abstract property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/caption_abstract.md #### caption_abstract property Gets or sets a textual description of the object, particularly used where the object is not text. ##### Definition: ```python @property def caption_abstract(self): ... @caption_abstract.setter def caption_abstract(self, value): ... ``` ### city property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/city.md #### city property Gets or sets the city. ##### Definition: ```python @property def city(self): ... @city.setter def city(self, value): ... ``` ### contact property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contact.md #### contact property Gets or sets information about the person or organisation which can provide further background information on the object. ##### Definition: ```python @property def contact(self): ... @contact.setter def contact(self, value): ... ``` ### contacts property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contacts.md #### contacts property Gets or sets information about the person or organisation which can provide further background information on the object. ##### Definition: ```python @property def contacts(self): ... @contacts.setter def contacts(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_location_code property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/content_location_code.md #### content_location_code property Gets or sets the content location code. ##### Definition: ```python @property def content_location_code(self): ... @content_location_code.setter def content_location_code(self, value): ... ``` ### content_location_codes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/content_location_codes.md #### content_location_codes property Gets or sets the content location codes. ##### Definition: ```python @property def content_location_codes(self): ... @content_location_codes.setter def content_location_codes(self, value): ... ``` ### content_location_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/content_location_name.md #### content_location_name property Gets or sets the content location name. ##### Definition: ```python @property def content_location_name(self): ... @content_location_name.setter def content_location_name(self, value): ... ``` ### content_location_names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/content_location_names.md #### content_location_names property Gets or sets the content location names. ##### Definition: ```python @property def content_location_names(self): ... @content_location_names.setter def content_location_names(self, value): ... ``` ### copyright_notice property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/copyright_notice.md #### copyright_notice property Gets or sets the copyright notice. ##### Definition: ```python @property def copyright_notice(self): ... @copyright_notice.setter def copyright_notice(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### credit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/credit.md #### credit property Gets or sets information about the provider of the object, not necessarily the owner/creator. ##### Definition: ```python @property def credit(self): ... @credit.setter def credit(self, value): ... ``` ### date_created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/date_created.md #### date_created property Gets or sets the date the intellectual content of the object was created. ##### Definition: ```python @property def date_created(self): ... @date_created.setter def date_created(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### headline property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/headline.md #### headline property Gets or sets a publishable entry providing a synopsis of the contents of the object. ##### Definition: ```python @property def headline(self): ... @headline.setter def headline(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/keywords.md #### keywords property Gets or sets the keywords. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### program_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/program_version.md #### program_version property Gets or sets the program version. ##### Definition: ```python @property def program_version(self): ... @program_version.setter def program_version(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### record_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/record_number.md #### record_number property Gets the record number. ##### Definition: ```python @property def record_number(self): ... @record_number.setter def record_number(self, value): ... ``` ### reference_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/reference_date.md #### reference_date property Gets or sets the date of a prior envelope to which the current object refers. ##### Definition: ```python @property def reference_date(self): ... @reference_date.setter def reference_date(self, value): ... ``` ### reference_dates property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/reference_dates.md #### reference_dates property Gets the dates of a prior envelope to which the current object refers. ##### Definition: ```python @property def reference_dates(self): ... ``` ### release_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/release_date.md #### release_date property Gets or sets the release date. ##### Definition: ```python @property def release_date(self): ... @release_date.setter def release_date(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all IPTC dataSets from the package. ```python def to_list(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### IptcApplicationRecordDataSet enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcapplicationrecorddataset.md #### IptcApplicationRecordDataSet enumeration Defines IPTC Application Record dataSet numbers. The IptcApplicationRecordDataSet type exposes the following members: ##### Fields | Field | Description | | :- | :- | | RECORD_VERSION | Represents the record version. Binary. Always 2 in JPEGs. | | OBJECT_TYPE_REFERENCE | Object type reference. Used pattern: "/\d{2}:[\w\s]{0,64}?/". | | OBJECT_ATTRIBUTE_REFERENCE | The object attribute reference. | | OBJECT_NAME | Used as a shorthand reference for the object. | | EDIT_STATUS | Status of the objectdata, according to the practice of the provider. | | EDITORIAL_UPDATE | Indicates the type of update that this object provides to a previous object. | | URGENCY | Specifies the editorial urgency of content and not necessarily the envelope handling priority (see 1:60, Envelope Priority). | | SUBJECT_REFERENCE | The subject reference. | | CATEGORY | Identifies the subject of the objectdata in the opinion of the provider. | | SUPPLEMENTAL_CATEGORY | Supplemental categories further refine the subject of an objectdata.

Only a single supplemental category may be contained in each DataSet. A supplemental category may include any of the recognised categories as used in 2:15. | | FIXTURE_IDENTIFIER | The fixture identifier. | | KEYWORDS | Used to indicate specific information retrieval words.
Each keyword uses a single Keywords DataSet. Multiple keywords use multiple Keywords DataSets. | | CONTENT_LOCATION_CODE | Indicates the code of a country/geographical location referenced by the content of the object. | | CONTENT_LOCATION_NAME | Provides a full, publishable name of a country/geographical location referenced by the content of the object,

according to guidelines of the provider. | | RELEASE_DATE | Designates in the form CCYYMMDD the earliest date the provider intends the object to be used. Follows ISO 8601 standard. | | RELEASE_TIME | Designates in the form HHMMSS±HHMM the earliest time the provider intends the object to be used. Follows ISO 8601 standard. | | EXPIRATION_DATE | Designates in the form CCYYMMDD the latest date the provider or owner intends the objectdata to be used. Follows ISO 8601 standard. | | SPECIAL_INSTRUCTIONS | Other editorial instructions concerning the use of the objectdata, such as embargoes and warnings. | | ACTION_ADVISED | Indicates the type of action that this object provides to a previous object. | | REFERENCE_SERVICE | Identifies the Service Identifier of a prior envelope to which the current object refers. | | REFERENCE_DATE | Identifies the date of a prior envelope to which the current object refers. | | REFERENCE_NUMBER | Identifies the Envelope Number of a prior envelope to which the current object refers. | | DATE_CREATED | Represented in the form CCYYMMDD to designate the date the intellectual content of the objectdata was created rather than the date of the creation of the physical representation. | | TIME_CREATED | Represented in the form HHMMSS±HHMM to designate the time the intellectual content of the objectdata
current source material was created rather than the creation of the physical representation. | | DIGITAL_CREATION_DATE | Represented in the form CCYYMMDD to designate the date the digital representation of the objectdata was created. | | DIGITAL_CREATION_TIME | Represented in the form HHMMSS±HHMM to designate the time the digital representation of the objectdata was created. | | ORIGINATING_PROGRAM | Identifies the type of program used to originate the objectdata. | | PROGRAM_VERSION | Used to identify the version of the program mentioned in 2:65. DataSet 2:70 is invalid if 2:65 is not present. | | OBJECT_CYCLE | Consisting of an alphabetic character. Where: 'a' = morning, 'p' = evening, 'b' = both. | | BYLINE | Contains name of the creator of the objectdata, e.g. writer, photographer or graphic artist. | | BYLINE_TITLE | A by-line title is the title of the creator or creators of an object data. | | CITY | Identifies city of objectdata origin according to guidelines established by the provider. | | SUB_LOCATION | Identifies the location within a city from which the objectdata originates, according to guidelines established by the provider. | | PROVINCE_STATE | Identifies Province/State of origin according to guidelines established by the provider. | | PRIMARY_LOCATION_CODE | Indicates the code of the country/primary location where the intellectual property of the objectdata was created, e.g. a photo was taken, an event occurred. | | PRIMARY_LOCATION_NAME | Provides full, publishable, name of the country/primary location where the intellectual property of the objectdata was created,
according to guidelines of the provider. | | ORIGINAL_TRANSMISSION_REFERENCE | A code representing the location of original transmission according to practices of the provider. | | HEADLINE | A publishable entry providing a synopsis of the contents of the objectdata. | | CREDIT | Identifies the provider of the objectdata, not necessarily the owner/creator. | | SOURCE | The name of a person or party who has a role in the content supply chain.
This could be an agency, a member of an agency, an individual or a combination. | | COPYRIGHT_NOTICE | Contains any necessary copyright notice. | | CONTACT | Identifies the person or organization which can provide further background information on the object data. | | CAPTION_ABSTRACT | A textual description of the objectdata, particularly used where the object is not text. | | WRITER_EDITOR | Identification of the name of the person involved in the writing, editing or correcting the objectdata or caption/abstract. | | RASTERIZED_CAPTION | Image width 460 pixels and image height 128 pixels. Scanning direction bottom to top, left to right. | | IMAGE_TYPE | The numeric characters 1 to 4 indicate the number of components in an image, in single or multiple envelopes. | | IMAGE_ORIENTATION | Indicates the layout of the image area. | | LANGUAGE_IDENTIFIER | Describes the major national language of the object, according to the 2-letter codes of ISO 639:1988. | | AUDIO_TYPE | The audio type. | | AUDIO_SAMPLING_RATE | Sampling rate numeric characters, representing the sampling rate in hertz (Hz). | | AUDIO_SAMPLING_RESOLUTION | The number of bits in each audio sample. | | AUDIO_DURATION | Duration Designates in the form HHMMSS the running time of an audio object data when played back at the speed at which it was recorded. | | AUDIO_OUTCUE | Identifies the content of the end of an audio objectdata, according to guidelines established by the provider. | | OBJ_DATA_PREVIEW_FILE_FORMAT | A binary number representing the file format of the ObjectData Preview. | | OBJ_DATA_PREVIEW_FILE_FORMAT_VER | A binary number representing the particular version of the ObjectData Preview File Format specified in 2:200. | | OBJ_DATA_PREVIEW_DATA | The object data preview. | ### IptcDataSet class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset.md #### IptcDataSet class Represents an IPTC DataSet (metadata property). **Inheritance:** `IptcDataSet` → `MetadataProperty` The IptcDataSet type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, record_number, data_set_number, value)` | Initializes a new instance of the `IptcDataSet` class. | | `__init__(self, record_number, data_set_number, value)` | Initializes a new instance of the `IptcDataSet` class. | | `__init__(self, record_number, data_set_number, value)` | Initializes a new instance of the `IptcDataSet` class. | | `__init__(self, record_number, data_set_number, value)` | Initializes a new instance of the `IptcDataSet` class. | ##### Properties | Property | Description | | :- | :- | | name | Gets the property name. | | value | Gets the property value. | | interpreted_value | Gets the interpreted property value, if available.
The interpreted value is a user-friendly form of the original property value.
For example, it returns a human-readable string instead of numeric flags and ids,
if necessary, translates byte arrays to text, etc. | | descriptor | Gets the descriptor associated with the metadata property. | | tags | Gets a collection of tags associated with the property. | | record_number | Gets the record number. | | data_set_number | Gets the dataSet number. | | alternative_name | Gets the alternative name of the dataSet. | ##### Remarks **Learn more** | | | ### IptcDataSet constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/__init__.md #### \_\_init\_\_(self, record_number, data_set_number, value) Initializes a new instance of the `IptcDataSet` class. ```python def __init__(self, record_number, data_set_number, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | record_number | int | The record number. | | data_set_number | int | The dataSet number. | | value | bytes | A byte array value. | #### \_\_init\_\_(self, record_number, data_set_number, value) Initializes a new instance of the `IptcDataSet` class. ```python def __init__(self, record_number, data_set_number, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | record_number | int | The record number. | | data_set_number | int | The dataSet number. | | value | System.String | A string value. | #### \_\_init\_\_(self, record_number, data_set_number, value) Initializes a new instance of the `IptcDataSet` class. ```python def __init__(self, record_number, data_set_number, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | record_number | int | The record number. | | data_set_number | int | The dataSet number. | | value | int | An integer value. | #### \_\_init\_\_(self, record_number, data_set_number, value) Initializes a new instance of the `IptcDataSet` class. ```python def __init__(self, record_number, data_set_number, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | record_number | int | The record number. | | data_set_number | int | The dataSet number. | | value | System.DateTime | A date value. | ### alternative_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/alternative_name.md #### alternative_name property Gets the alternative name of the dataSet. ##### Definition: ```python @property def alternative_name(self): ... ``` ### data_set_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/data_set_number.md #### data_set_number property Gets the dataSet number. ##### Definition: ```python @property def data_set_number(self): ... @data_set_number.setter def data_set_number(self, value): ... ``` ### descriptor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/descriptor.md #### descriptor property Gets the descriptor associated with the metadata property. ##### Definition: ```python @property def descriptor(self): ... @descriptor.setter def descriptor(self, value): ... ``` ### interpreted_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/interpreted_value.md #### interpreted_value property Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc. ##### Definition: ```python @property def interpreted_value(self): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/name.md #### name property Gets the property name. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### record_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/record_number.md #### record_number property Gets the record number. ##### Definition: ```python @property def record_number(self): ... @record_number.setter def record_number(self, value): ... ``` ### tags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/tags.md #### tags property Gets a collection of tags associated with the property. ##### Definition: ```python @property def tags(self): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcdataset/value.md #### value property Gets the property value. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### IptcEnvelopeRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord.md #### IptcEnvelopeRecord class Represents an IPTC Envelope Record. **Inheritance:** `IptcEnvelopeRecord` → `IptcRecord` → `CustomPackage` → `MetadataPackage` The IptcEnvelopeRecord type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `IptcEnvelopeRecord` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | record_number | Gets the record number. | | model_version | Gets or sets a number identifying the version of the information. | | destination | Gets or sets the destination. | | destinations | Gets or sets an array of destinations. | | file_format | Gets or sets the file format. | | file_format_version | Gets or sets the file format version.
A number representing the particular version of the File Format specified in `IptcEnvelopeRecord.file_format`. | | service_identifier | Gets or sets the service identifier. | | product_id | Gets or sets the product identifier. | | product_ids | Gets or sets the product identifiers. | | date_sent | Gets or sets the date the service sent the material. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | ##### Remarks **Learn more** | | | ### IptcEnvelopeRecord indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### IptcEnvelopeRecord constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `IptcEnvelopeRecord` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date_sent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/date_sent.md #### date_sent property Gets or sets the date the service sent the material. ##### Definition: ```python @property def date_sent(self): ... @date_sent.setter def date_sent(self, value): ... ``` ### destination property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/destination.md #### destination property Gets or sets the destination. ##### Definition: ```python @property def destination(self): ... @destination.setter def destination(self, value): ... ``` ### destinations property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/destinations.md #### destinations property Gets or sets an array of destinations. ##### Definition: ```python @property def destinations(self): ... @destinations.setter def destinations(self, value): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/file_format.md #### file_format property Gets or sets the file format. ##### Definition: ```python @property def file_format(self): ... @file_format.setter def file_format(self, value): ... ``` ### file_format_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/file_format_version.md #### file_format_version property Gets or sets the file format version. A number representing the particular version of the File Format specified in `IptcEnvelopeRecord.file_format`. ##### Definition: ```python @property def file_format_version(self): ... @file_format_version.setter def file_format_version(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### model_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/model_version.md #### model_version property Gets or sets a number identifying the version of the information. ##### Definition: ```python @property def model_version(self): ... @model_version.setter def model_version(self, value): ... ``` ### product_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/product_id.md #### product_id property Gets or sets the product identifier. ##### Definition: ```python @property def product_id(self): ... @product_id.setter def product_id(self, value): ... ``` ### product_ids property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/product_ids.md #### product_ids property Gets or sets the product identifiers. ##### Definition: ```python @property def product_ids(self): ... @product_ids.setter def product_ids(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### record_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/record_number.md #### record_number property Gets the record number. ##### Definition: ```python @property def record_number(self): ... @record_number.setter def record_number(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### service_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/service_identifier.md #### service_identifier property Gets or sets the service identifier. ##### Definition: ```python @property def service_identifier(self): ... @service_identifier.setter def service_identifier(self, value): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all IPTC dataSets from the package. ```python def to_list(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### IptcEnvelopeRecordDataSet enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcenveloperecorddataset.md #### IptcEnvelopeRecordDataSet enumeration Defines IPTC Envelope Record dataSet numbers. The IptcEnvelopeRecordDataSet type exposes the following members: ##### Fields | Field | Description | | :- | :- | | MODEL_VERSION | A binary number identifying the version of the Information


Interchange Model, Part I, utilised by the provider. Version numbers are assigned by IPTC and NAA.


The version number of this record is four (4). | | DESTINATION | Optional, repeatable, maximum 1024 octets, consisting of sequentially contiguous graphic characters.


This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. | | FILE_FORMAT | File format. | | FILE_FORMAT_VERSION | Mandatory, not repeatable, two octets.


A binary number representing the particular version of the File Format specified in 1:20.


A list of File Formats, including version cross references, is included as Appendix A. | | SERVICE_IDENTIFIER | Mandatory, not repeatable. Up to 10 octets, consisting of graphic characters.


Identifies the provider and product. | | ENVELOPE_NUMBER | Mandatory, not repeatable, eight octets, consisting of numeric characters.


The characters form a number that will be unique for the date
specified in 1:70 and for the Service Identifier specified in 1:30.


If identical envelope numbers appear with the same date and
with the same Service Identifier, records 2-9 must be unchanged
from the original.


This is not intended to be a sequential serial
number reception check. | | PRODUCT_ID | Optional, repeatable. Up to 32 octets, consisting of graphic characters.


Allows a provider to identify subsets of its overall service.


Used to provide receiving organization data on which to select, route, or otherwise handle data. | | ENVELOPE_PRIORITY | Optional, not repeatable. A single octet, consisting of a numeric character.


Specifies the envelope handling priority and not the editorial urgency (see 2:10, Urgency).
'1' indicates the most urgent,
'5' the normal urgency,
and '8' the least urgent copy.
The numeral '9' indicates a User Defined Priority.
The numeral '0' is reserved for future use. | | DATE_SENT | Mandatory, not repeatable. Eight octets, consisting of numeric characters.


Uses the format CCYYMMDD (century, year, month, day) as defined in ISO 8601 to indicate year, month and day the service sent the material. | | TIME_SENT | Uses the format HHMMSS±HHMM where HHMMSS refers to
local hour, minute and seconds and HHMM refers to hours and
minutes ahead (+) or behind (-) Universal Coordinated Time as
described in ISO 8601. This is the time the service sent the
material. | | CODED_CHARACTER_SET | Optional, not repeatable, up to 32 octets, consisting of one or
more control functions used for the announcement, invocation or
designation of coded character sets. The control functions follow
the ISO 2022 standard and may consist of the escape control
character and one or more graphic characters. For more details
see Appendix C, the IPTC-NAA Code Library. | | UNO | Invalid (eternal identifier). | | ARM_IDENTIFIER | The DataSet identifies the Abstract Relationship Method (ARM) which is described
in a document registered by the originator of the ARM with the IPTC and NAA. | | ARM_VERSION | Binary number representing the particular version of the ARM specified in DataSet 1:120. | ### IptcRecord class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord.md #### IptcRecord class Represents an IPTC record. **Inheritance:** `IptcRecord` → `CustomPackage` → `MetadataPackage` The IptcRecord type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | record_number | Gets the record number. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `to_list(self)` | Creates a list from the package. | ##### Remarks **Learn more** | | | ### IptcRecord indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### record_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/record_number.md #### record_number property Gets the record number. ##### Definition: ```python @property def record_number(self): ... @record_number.setter def record_number(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all IPTC dataSets from the package. ```python def to_list(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecord/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### IptcRecordSet class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset.md #### IptcRecordSet class Represents a collection of IPTC records. **Inheritance:** `IptcRecordSet` → `CustomPackage` → `MetadataPackage` The IptcRecordSet type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `IptcRecordSet` class. | | `__init__(self, data_sets)` | Initializes a new instance of the `IptcRecordSet` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | envelope_record | Gets or sets the Envelope Record. | | application_record | Gets or sets the Application Record. | ##### Indexer | Name | Description | | :- | :- | | [index] | | ##### Methods | Method | Description | | :- | :- | | `remove(self, record_number, data_set_number)` | Removes the dataSet with the specified record and dataSet number. | | `remove(self, record_number)` | Removes the record with the specified record number. | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `set(self, data_set)` | Adds or updates the specified dataSet in the appropriate record. | | `add(self, data_set)` | Adds the specified dataSet to the appropriate record.
The dataSet is considered as repeatable if a dataSet with the specified number already exists. | | `clear(self)` | Removes all records from the collection. | | `to_data_set_list(self)` | Creates a list of dataSets from the package. | | `to_list(self)` | Creates a list from the package. | ##### Remarks **Learn more** | | | ##### Example This code sample shows hot to update basic IPTC metadata properties. ### IptcRecordSet indexer Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/__getitem__.md ##### Indexer | Name | Description | | :- | :- | | index | | ### IptcRecordSet constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `IptcRecordSet` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, data_sets) Initializes a new instance of the `IptcRecordSet` class. ```python def __init__(self, data_sets): ... ``` | Parameter | Type | Description | | :- | :- | :- | | data_sets | list | An array of IPTC dataSets. | ### add method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/add.md #### add(self, data_set) Adds the specified dataSet to the appropriate record. The dataSet is considered as repeatable if a dataSet with the specified number already exists. ```python def add(self, data_set): ... ``` | Parameter | Type | Description | | :- | :- | :- | | data_set | groupdocs.metadata.standards.iptc.IptcDataSet | The IPTC dataSet to add. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### application_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/application_record.md #### application_record property Gets or sets the Application Record. ##### Definition: ```python @property def application_record(self): ... @application_record.setter def application_record(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/clear.md #### clear(self) Removes all records from the collection. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### envelope_record property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/envelope_record.md #### envelope_record property Gets or sets the Envelope Record. ##### Definition: ```python @property def envelope_record(self): ... @envelope_record.setter def envelope_record(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/remove.md #### remove(self, record_number) Removes the record with the specified record number. ##### Returns True if the specified IPTC record is found and removed; otherwise, false. ```python def remove(self, record_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | record_number | int | The record number. | #### remove(self, record_number, data_set_number) Removes the dataSet with the specified record and dataSet number. ##### Returns True if the specified IPTC dataSet is found and removed; otherwise, false. ```python def remove(self, record_number, data_set_number): ... ``` | Parameter | Type | Description | | :- | :- | :- | | record_number | int | The record number. | | data_set_number | int | The dataSet number. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/set.md #### set(self, data_set) Adds or updates the specified dataSet in the appropriate record. ```python def set(self, data_set): ... ``` | Parameter | Type | Description | | :- | :- | :- | | data_set | groupdocs.metadata.standards.iptc.IptcDataSet | The IPTC dataSet to add/update. | ##### Example This example shows how to add or update custom IPTC datasets in a file. ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### to_data_set_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/to_data_set_list.md #### to_data_set_list(self) Creates a list of dataSets from the package. ##### Returns A list that contains all IPTC dataSets from the package. ```python def to_data_set_list(self): ... ``` ##### Example This example demonstrates how to read all IPTC IIM datasets from an IPTC metadata package. ### to_list method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/to_list.md #### to_list(self) Creates a list from the package. ##### Returns A list that contains all IPTC records from the package. ```python def to_list(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordset/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### IptcRecordType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.iptc/iptcrecordtype.md #### IptcRecordType enumeration Defines IPTC record types. The IptcRecordType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | ENVELOPE_RECORD | Represents an Envelope Record. | | APPLICATION_RECORD | Represents an Application Record. | ### groupdocs.metadata.standards.pkcs Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs.md The namespace provides functionality intended to work with digital signatures based on the syntax of PKCS #7, specified in RFC 5652. ##### Classes | Class | Description | | :- | :- | | `Cms` | Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages.
CMS is based on the syntax of PKCS #7, specified in RFC 5652.
Please see [https://tools.ietf.org/html/rfc5652](https://tools.ietf.org/html/rfc5652) for more information. | | `CmsAttribute` | Represents a CMS signer info attribute. | | `CmsCertificate` | Represents a CMS certificate. | | `CmsEncapsulatedContent` | Represents a signed content container, consisting of a content type identifier and the content itself. | | `CmsPackage` | Represents a CMS digital signature metadata package. | | `CmsSigner` | Represents CMS per-signer information. | | `Oid` | Represents an object identifier (OID).
An identifier mechanism standardized by the International Telecommunications Union (ITU) and ISO/IEC
for naming any object, concept, or "thing" with a globally unambiguous persistent name. | ### Cms class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms.md #### Cms class Represents a digital sign created with Cryptographic Message Syntax (CMS) - IETF's standard for cryptographically protected messages. CMS is based on the syntax of PKCS #7, specified in RFC 5652. Please see [https://tools.ietf.org/html/rfc5652](https://tools.ietf.org/html/rfc5652) for more information. **Inheritance:** `Cms` → `DigitalSignature` → `CustomPackage` → `MetadataPackage` The Cms type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | comments | Gets the signing purpose comment. | | is_valid | Gets a value indicating whether the signature is valid. | | sign_time | Gets the time at which the signer (purportedly) performed the signing process. | | certificate_subject | Gets the subject distinguished name from a certificate. | | certificate_raw_data | Gets the certificate raw data. | | digest_algorithms | Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero. | | encapsulated_content | Gets the signed content, consisting of a content type identifier and the content itself. | | certificates | Gets the collection of certificates. | | signers | Gets the collection of per-signer information packages. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### certificate_raw_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/certificate_raw_data.md #### certificate_raw_data property Gets the certificate raw data. ##### Definition: ```python @property def certificate_raw_data(self): ... ``` ### certificate_subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/certificate_subject.md #### certificate_subject property Gets the subject distinguished name from a certificate. ##### Definition: ```python @property def certificate_subject(self): ... ``` ### certificates property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/certificates.md #### certificates property Gets the collection of certificates. ##### Remarks It is intended that the set of certificates be sufficient to contain certification paths from a recognized "root" or "top-level certification authority" to all of the signers in the SignerInfo field. ##### Definition: ```python @property def certificates(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/comments.md #### comments property Gets the signing purpose comment. ##### Definition: ```python @property def comments(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digest_algorithms property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/digest_algorithms.md #### digest_algorithms property Gets the array of message-digest algorithm identifiers. There may be any number of elements in the collection, including zero. ##### Definition: ```python @property def digest_algorithms(self): ... ``` ### encapsulated_content property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/encapsulated_content.md #### encapsulated_content property Gets the signed content, consisting of a content type identifier and the content itself. ##### Definition: ```python @property def encapsulated_content(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### is_valid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/is_valid.md #### is_valid property Gets a value indicating whether the signature is valid. ##### Definition: ```python @property def is_valid(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sign_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/sign_time.md #### sign_time property Gets the time at which the signer (purportedly) performed the signing process. ##### Definition: ```python @property def sign_time(self): ... ``` ### signers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/signers.md #### signers property Gets the collection of per-signer information packages. ##### Remarks There may be any number of elements in the collection, including zero. ##### Definition: ```python @property def signers(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cms/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### CmsAttribute class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute.md #### CmsAttribute class Represents a CMS signer info attribute. **Inheritance:** `CmsAttribute` → `CustomPackage` → `MetadataPackage` The CmsAttribute type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | oid | Gets the attribute OID. | | value | Gets the attribute value represented as a string. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### oid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/oid.md #### oid property Gets the attribute OID. ##### Definition: ```python @property def oid(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsattribute/value.md #### value property Gets the attribute value represented as a string. ##### Definition: ```python @property def value(self): ... ``` ### CmsCertificate class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate.md #### CmsCertificate class Represents a CMS certificate. **Inheritance:** `CmsCertificate` → `CustomPackage` → `MetadataPackage` The CmsCertificate type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | not_after | Gets the date in local time after which a certificate is no longer valid. | | not_before | Gets the date in local time on which a certificate becomes valid. | | raw_data | Gets the raw data of this certificate. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### not_after property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/not_after.md #### not_after property Gets the date in local time after which a certificate is no longer valid. ##### Definition: ```python @property def not_after(self): ... ``` ### not_before property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/not_before.md #### not_before property Gets the date in local time on which a certificate becomes valid. ##### Definition: ```python @property def not_before(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/raw_data.md #### raw_data property Gets the raw data of this certificate. ##### Definition: ```python @property def raw_data(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmscertificate/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### CmsEncapsulatedContent class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent.md #### CmsEncapsulatedContent class Represents a signed content container, consisting of a content type identifier and the content itself. **Inheritance:** `CmsEncapsulatedContent` → `CustomPackage` → `MetadataPackage` The CmsEncapsulatedContent type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | content_type | Gets the object identifier uniquely specifies the content type. | | content_raw_data | Gets the raw data of content info. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_raw_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/content_raw_data.md #### content_raw_data property Gets the raw data of content info. ##### Definition: ```python @property def content_raw_data(self): ... ``` ### content_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/content_type.md #### content_type property Gets the object identifier uniquely specifies the content type. ##### Definition: ```python @property def content_type(self): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmsencapsulatedcontent/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### CmsPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage.md #### CmsPackage class Represents a CMS digital signature metadata package. **Inheritance:** `CmsPackage` → `CustomPackage` → `MetadataPackage` The CmsPackage type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | signatures | Gets an array of the signatures extracted from the file. | | flags | Gets the digital signature flags. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### flags property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/flags.md #### flags property Gets the digital signature flags. ##### Definition: ```python @property def flags(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### signatures property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/signatures.md #### signatures property Gets an array of the signatures extracted from the file. ##### Definition: ```python @property def signatures(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmspackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### CmsSigner class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner.md #### CmsSigner class Represents CMS per-signer information. **Inheritance:** `CmsSigner` → `CustomPackage` → `MetadataPackage` The CmsSigner type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | signer_identifier | Gets the signer's certificate (and thereby the signer's public key) raw data. | | digest_algorithm | Gets the message digest algorithm, and any associated parameters, used by the signer. | | signed_attributes | Gets the collection of attributes that are signed. | | signature_algorithm | Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. | | signature_value | Gets the result of digital signature generation, using the message digest and the signer's private key. | | unsigned_attributes | Gets the collection of attributes that are not signed. | | signing_time | Gets the time at which the signer (purportedly) performed the signing process. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digest_algorithm property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/digest_algorithm.md #### digest_algorithm property Gets the message digest algorithm, and any associated parameters, used by the signer. ##### Definition: ```python @property def digest_algorithm(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### signature_algorithm property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/signature_algorithm.md #### signature_algorithm property Gets the signature algorithm, and any associated parameters, used by the signer to generate the digital signature. ##### Definition: ```python @property def signature_algorithm(self): ... ``` ### signature_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/signature_value.md #### signature_value property Gets the result of digital signature generation, using the message digest and the signer's private key. ##### Definition: ```python @property def signature_value(self): ... ``` ### signed_attributes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/signed_attributes.md #### signed_attributes property Gets the collection of attributes that are signed. ##### Definition: ```python @property def signed_attributes(self): ... ``` ### signer_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/signer_identifier.md #### signer_identifier property Gets the signer's certificate (and thereby the signer's public key) raw data. ##### Definition: ```python @property def signer_identifier(self): ... ``` ### signing_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/signing_time.md #### signing_time property Gets the time at which the signer (purportedly) performed the signing process. ##### Definition: ```python @property def signing_time(self): ... ``` ### unsigned_attributes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/unsigned_attributes.md #### unsigned_attributes property Gets the collection of attributes that are not signed. ##### Definition: ```python @property def unsigned_attributes(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/cmssigner/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### Oid class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid.md #### Oid class Represents an object identifier (OID). An identifier mechanism standardized by the International Telecommunications Union (ITU) and ISO/IEC for naming any object, concept, or "thing" with a globally unambiguous persistent name. **Inheritance:** `Oid` → `CustomPackage` → `MetadataPackage` The Oid type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | value | Gets the object identifier (OID) value. | | friendly_name | Gets the friendly name. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### friendly_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/friendly_name.md #### friendly_name property Gets the friendly name. ##### Definition: ```python @property def friendly_name(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.pkcs/oid/value.md #### value property Gets the object identifier (OID) value. ##### Definition: ```python @property def value(self): ... ``` ### groupdocs.metadata.standards.signing Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing.md The namespace provides base functionality intended to work with digital signatures. ##### Classes | Class | Description | | :- | :- | | `DigitalSignature` | Represents a digital signature used to sign a document. | ### DigitalSignature class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature.md #### DigitalSignature class Represents a digital signature used to sign a document. **Inheritance:** `DigitalSignature` → `CustomPackage` → `MetadataPackage` The DigitalSignature type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | comments | Gets the signing purpose comment. | | is_valid | Gets a value indicating whether the signature is valid. | | sign_time | Gets the time the document was signed. | | certificate_subject | Gets the subject distinguished name from a certificate. | | certificate_raw_data | Gets the certificate raw data. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### certificate_raw_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/certificate_raw_data.md #### certificate_raw_data property Gets the certificate raw data. ##### Definition: ```python @property def certificate_raw_data(self): ... ``` ### certificate_subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/certificate_subject.md #### certificate_subject property Gets the subject distinguished name from a certificate. ##### Definition: ```python @property def certificate_subject(self): ... ``` ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/comments.md #### comments property Gets the signing purpose comment. ##### Definition: ```python @property def comments(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### is_valid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/is_valid.md #### is_valid property Gets a value indicating whether the signature is valid. ##### Definition: ```python @property def is_valid(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### sign_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/sign_time.md #### sign_time property Gets the time the document was signed. ##### Definition: ```python @property def sign_time(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.signing/digitalsignature/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### groupdocs.metadata.standards.xmp.schemes Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes.md Contains the implementation of different XMP Schemes. ##### Classes | Class | Description | | :- | :- | | `XmpAudioChannelType` | Represents audio channel type. | | `XmpAudioSampleType` | Represents Audio sample type in `XmpDynamicMediaPackage`. | | `XmpBasicJobTicketPackage` | Represents Basic Job-Ticket namespace. | | `XmpBasicPackage` | Represents the XMP basic namespace. | | `XmpCameraRawPackage` | Represents Camera Raw schema. | | `XmpDublinCorePackage` | Represents the Dublin Core scheme. | | `XmpDynamicMediaPackage` | Represents XMP Dynamic Media namespace. | | `XmpIptcCorePackage` | Represents the IPTC Core XMP package. | | `XmpIptcExtensionPackage` | Represents the IPTC Extension XMP package. | | `XmpIptcIimPackage` | Represents the IPTC-IIM XMP package. | | `XmpMediaManagementPackage` | Represents the XMP Media Management namespace. | | `XmpPagedTextPackage` | Represents the XMP Paged-Text package. | | `XmpPdfPackage` | Specifies properties used with Adobe PDF documents. | | `XmpPhotoshopPackage` | Represents Adobe Photoshop namespace. | | `XmpRightsManagementPackage` | Represents XMP Rights Management namespace. | | `XmpTimeFormat` | Represents time format in `XmpTimecode`. | | `XmpWhiteBalance` | Represents the White Balance setting in `XmpCameraRawPackage`. | ##### Enumerations | Enumeration | Description | | :- | :- | | `XmpCropUnit` | Represent a unit for CropWidth and CropHeight in `XmpCameraRawPackage`. | | `XmpPhotoshopColorMode` | Represents a color mode in `XmpPhotoshopPackage`. | ### XmpAudioChannelType class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype.md #### XmpAudioChannelType class Represents audio channel type. The XmpAudioChannelType type exposes the following members: ##### Properties | Property | Description | | :- | :- | | mono | Gets mono audio channel. | | stereo | Gets stereo audio channel. | | audio51 | Gets 5.1 audio channel. | | audio71 | Gets 7.1 audio channel. | | audio_16_channel | Gets 16 audio channel. | | other_channel | Gets other channel. | ### audio51 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/audio51.md #### audio51 property Gets 5.1 audio channel. ##### Definition: ```python @property def audio51(self): ... ``` ### audio71 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/audio71.md #### audio71 property Gets 7.1 audio channel. ##### Definition: ```python @property def audio71(self): ... ``` ### audio_16_channel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/audio_16_channel.md #### audio_16_channel property Gets 16 audio channel. ##### Definition: ```python @property def audio_16_channel(self): ... ``` ### mono property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/mono.md #### mono property Gets mono audio channel. ##### Definition: ```python @property def mono(self): ... ``` ### other_channel property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/other_channel.md #### other_channel property Gets other channel. ##### Definition: ```python @property def other_channel(self): ... ``` ### stereo property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiochanneltype/stereo.md #### stereo property Gets stereo audio channel. ##### Definition: ```python @property def stereo(self): ... ``` ### XmpAudioSampleType class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype.md #### XmpAudioSampleType class Represents Audio sample type in `XmpDynamicMediaPackage`. The XmpAudioSampleType type exposes the following members: ##### Properties | Property | Description | | :- | :- | | sample_8_int | Gets 8Int audio sample. | | sample_16_int | Gets 16Int audio sample. | | sample_24_int | Gets 24Int audio sample. | | sample_32_int | Gets 32Int audio sample. | | sample_32_float | Gets 32Float audio sample. | | compressed | Gets Compressed audio sample. | | packed | Gets Packed audio sample. | | other | Gets Other audio sample. | ### compressed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/compressed.md #### compressed property Gets Compressed audio sample. ##### Definition: ```python @property def compressed(self): ... ``` ### other property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/other.md #### other property Gets Other audio sample. ##### Definition: ```python @property def other(self): ... ``` ### packed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/packed.md #### packed property Gets Packed audio sample. ##### Definition: ```python @property def packed(self): ... ``` ### sample_16_int property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample_16_int.md #### sample_16_int property Gets 16Int audio sample. ##### Definition: ```python @property def sample_16_int(self): ... ``` ### sample_24_int property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample_24_int.md #### sample_24_int property Gets 24Int audio sample. ##### Definition: ```python @property def sample_24_int(self): ... ``` ### sample_32_float property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample_32_float.md #### sample_32_float property Gets 32Float audio sample. ##### Definition: ```python @property def sample_32_float(self): ... ``` ### sample_32_int property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample_32_int.md #### sample_32_int property Gets 32Int audio sample. ##### Definition: ```python @property def sample_32_int(self): ... ``` ### sample_8_int property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpaudiosampletype/sample_8_int.md #### sample_8_int property Gets 8Int audio sample. ##### Definition: ```python @property def sample_8_int(self): ... ``` ### XmpBasicJobTicketPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage.md #### XmpBasicJobTicketPackage class Represents Basic Job-Ticket namespace. **Inheritance:** `XmpBasicJobTicketPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpBasicJobTicketPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpBasicJobTicketPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | jobs | Gets or sets the jobs. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpBasicJobTicketPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpBasicJobTicketPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### jobs property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/jobs.md #### jobs property Gets or sets the jobs. ##### Definition: ```python @property def jobs(self): ... @jobs.setter def jobs(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicjobticketpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpBasicPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage.md #### XmpBasicPackage class Represents the XMP basic namespace. **Inheritance:** `XmpBasicPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpBasicPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpBasicPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | base_url | Gets or sets the base URL for relative URLs in the document content.
If this document contains Internet links, and those links are relative, they are relative to this base URL. | | create_date | Gets or sets the date and time the resource was created. | | creator_tool | Gets or sets the name of the tool used to create the resource. | | identifiers | Gets or sets an unordered array of text strings that unambiguously identify the resource within a given context. | | label | Gets or sets a word or short phrase that identifies the resource as a member of a user-defined collection. | | metadata_date | Gets or sets the date and time that any metadata for this resource was last changed. | | modify_date | Gets or sets the date and time the resource was last modified. | | nickname | Gets or sets a short informal name for the resource. | | rating | Gets or sets a user-assigned rating for this file.
The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”. | | thumbnails | Gets or sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. | | RATING_REJECTED | Rating rejected value. | | RATING_MIN | Rating min value. | | RATING_MAX | Rating max value. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Adds string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpBasicPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpBasicPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### base_url property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/base_url.md #### base_url property Gets or sets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL. ##### Definition: ```python @property def base_url(self): ... @base_url.setter def base_url(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### create_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/create_date.md #### create_date property Gets or sets the date and time the resource was created. ##### Definition: ```python @property def create_date(self): ... @create_date.setter def create_date(self, value): ... ``` ### creator_tool property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/creator_tool.md #### creator_tool property Gets or sets the name of the tool used to create the resource. ##### Definition: ```python @property def creator_tool(self): ... @creator_tool.setter def creator_tool(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### identifiers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/identifiers.md #### identifiers property Gets or sets an unordered array of text strings that unambiguously identify the resource within a given context. ##### Definition: ```python @property def identifiers(self): ... @identifiers.setter def identifiers(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### label property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/label.md #### label property Gets or sets a word or short phrase that identifies the resource as a member of a user-defined collection. ##### Definition: ```python @property def label(self): ... @label.setter def label(self, value): ... ``` ### metadata_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/metadata_date.md #### metadata_date property Gets or sets the date and time that any metadata for this resource was last changed. ##### Definition: ```python @property def metadata_date(self): ... @metadata_date.setter def metadata_date(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modify_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/modify_date.md #### modify_date property Gets or sets the date and time the resource was last modified. ##### Definition: ```python @property def modify_date(self): ... @modify_date.setter def modify_date(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### nickname property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/nickname.md #### nickname property Gets or sets a short informal name for the resource. ##### Definition: ```python @property def nickname(self): ... @nickname.setter def nickname(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### rating property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/rating.md #### rating property Gets or sets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”. ##### Definition: ```python @property def rating(self): ... @rating.setter def rating(self, value): ... ``` ### RATING_MAX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/rating_max.md #### RATING_MAX property Rating max value. ##### Definition: ```python f RATING_MAX ``` ### RATING_MIN property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/rating_min.md #### RATING_MIN property Rating min value. ##### Definition: ```python f RATING_MIN ``` ### RATING_REJECTED property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/rating_rejected.md #### RATING_REJECTED property Rating rejected value. ##### Definition: ```python f RATING_REJECTED ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/set.md #### set(self, name, value) Adds string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XmpBasic key. | | value | System.String | String value. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Metadata key is not provided. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### thumbnails property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/thumbnails.md #### thumbnails property Gets or sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding. ##### Definition: ```python @property def thumbnails(self): ... @thumbnails.setter def thumbnails(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpbasicpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpCameraRawPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage.md #### XmpCameraRawPackage class Represents Camera Raw schema. **Inheritance:** `XmpCameraRawPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpCameraRawPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpCameraRawPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | auto_brightness | Gets or sets the AutoBrightness value. When true, `XmpCameraRawPackage.brightness` is automatically adjusted. | | auto_contrast | Gets or sets the AutoContrast value. When true, "Contrast" is automatically adjusted. | | auto_exposure | Gets or sets the AutoExposure value. When true, "Exposure" is automatically adjusted. | | auto_shadows | Gets or sets the AutoShadows value. When true, "Shadows" is automatically adjusted. | | blue_hue | Gets or sets the BlueHue value. Null if undefined. | | blue_saturation | Gets or sets the BlueSaturation. Null if undefined. | | brightness | Gets or sets the Brightness value. Null if undefined. | | camera_profile | Gets or sets the CameraProfile value. | | chromatic_aberration_b | Gets or sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. | | chromatic_aberration_r | Gets or sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. | | color_noise_reduction | Gets or sets the Color Noise Reduction setting. Range 0 to 100. | | contrast | Gets or sets the Contrast setting. Range -50 to 100. | | crop_top | Gets or sets the CropTop setting. When HasCrop is true, top of the crop rectangle. | | crop_left | Gets or sets the CropLeft setting. When HasCrop is true, left of the crop rectangle. | | crop_bottom | Gets or sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. | | crop_right | Gets or sets the CropRight setting. When HasCrop is true, right of the crop rectangle. | | crop_angle | Gets or sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. | | crop_width | Gets or sets the width of the resulting cropped image in `XmpCameraRawPackage.crop_units` units. | | crop_height | Gets or sets the height of the resulting cropped image in `XmpCameraRawPackage.crop_units` units. | | crop_units | Gets or sets units for `XmpCameraRawPackage.crop_width` and `XmpCameraRawPackage.crop_height`. | | exposure | Gets or sets the Exposure setting. | | green_hue | Gets or sets the Green Hue setting. Range -100 to 100. | | green_saturation | Gets or sets the Green Saturation setting. Range -100 to 100. | | has_crop | Gets or sets the HasCrop value. When true, the image has a cropping rectangle. | | has_settings | Gets or sets HasSettings value. When true, non-default camera raw settings. | | luminance_smoothing | Gets or sets the LuminanceSmoothing setting. Range 0 to 100. | | raw_file_name | Gets or sets the file name for a raw file (not a complete path). | | red_hue | Gets or sets the Red Hue setting. Range -100 to 100. | | red_saturation | Gets or sets the Red Saturation setting. Range -100 to 100. | | saturation | Gets or sets the Saturation setting. Range -100 to 100. | | shadows | Gets or sets the Shadows setting. Range 0 to 100. | | shadow_tint | Gets or sets the ShadowTint setting. Range -100 to 100. | | sharpness | Gets or sets the Sharpness setting. Range 0 to 100. | | temperature | Gets or sets the Temperature setting. Range 2000 to 50000. | | tint | Gets or sets the Tint setting. Range -150 to 150. | | version | Gets or sets the version of the Camera Raw plug-in. | | vignette_amount | Gets or sets the Vignette Amount setting. Range -100 to 100. | | vignette_midpoint | Gets or sets the Vignetting Midpoint setting. Range 0 to 100. | | white_balance | Gets White Balance setting. Use `XmpCameraRawPackage.set_white_balance` to set white balance value. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Adds string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | | `set_white_balance(self, white_balance)` | Sets the white balance. | ### XmpCameraRawPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpCameraRawPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### auto_brightness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/auto_brightness.md #### auto_brightness property Gets or sets the AutoBrightness value. When true, `XmpCameraRawPackage.brightness` is automatically adjusted. ##### Definition: ```python @property def auto_brightness(self): ... @auto_brightness.setter def auto_brightness(self, value): ... ``` ### auto_contrast property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/auto_contrast.md #### auto_contrast property Gets or sets the AutoContrast value. When true, "Contrast" is automatically adjusted. ##### Definition: ```python @property def auto_contrast(self): ... @auto_contrast.setter def auto_contrast(self, value): ... ``` ### auto_exposure property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/auto_exposure.md #### auto_exposure property Gets or sets the AutoExposure value. When true, "Exposure" is automatically adjusted. ##### Definition: ```python @property def auto_exposure(self): ... @auto_exposure.setter def auto_exposure(self, value): ... ``` ### auto_shadows property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/auto_shadows.md #### auto_shadows property Gets or sets the AutoShadows value. When true, "Shadows" is automatically adjusted. ##### Definition: ```python @property def auto_shadows(self): ... @auto_shadows.setter def auto_shadows(self, value): ... ``` ### blue_hue property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/blue_hue.md #### blue_hue property Gets or sets the BlueHue value. Null if undefined. ##### Definition: ```python @property def blue_hue(self): ... @blue_hue.setter def blue_hue(self, value): ... ``` ### blue_saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/blue_saturation.md #### blue_saturation property Gets or sets the BlueSaturation. Null if undefined. ##### Definition: ```python @property def blue_saturation(self): ... @blue_saturation.setter def blue_saturation(self, value): ... ``` ### brightness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/brightness.md #### brightness property Gets or sets the Brightness value. Null if undefined. ##### Definition: ```python @property def brightness(self): ... @brightness.setter def brightness(self, value): ... ``` ### camera_profile property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/camera_profile.md #### camera_profile property Gets or sets the CameraProfile value. ##### Definition: ```python @property def camera_profile(self): ... @camera_profile.setter def camera_profile(self, value): ... ``` ### chromatic_aberration_b property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/chromatic_aberration_b.md #### chromatic_aberration_b property Gets or sets the "Chromatic Aberration, Fix Blue/Yellow Fringe" setting. Null if undefined. ##### Definition: ```python @property def chromatic_aberration_b(self): ... @chromatic_aberration_b.setter def chromatic_aberration_b(self, value): ... ``` ### chromatic_aberration_r property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/chromatic_aberration_r.md #### chromatic_aberration_r property Gets or sets the "Chromatic Aberration, Fix Red/Cyan Fringe" setting. Null if undefined. ##### Definition: ```python @property def chromatic_aberration_r(self): ... @chromatic_aberration_r.setter def chromatic_aberration_r(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### color_noise_reduction property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/color_noise_reduction.md #### color_noise_reduction property Gets or sets the Color Noise Reduction setting. Range 0 to 100. ##### Definition: ```python @property def color_noise_reduction(self): ... @color_noise_reduction.setter def color_noise_reduction(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contrast property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/contrast.md #### contrast property Gets or sets the Contrast setting. Range -50 to 100. ##### Definition: ```python @property def contrast(self): ... @contrast.setter def contrast(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### crop_angle property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_angle.md #### crop_angle property Gets or sets the CropAngle setting. When HasCrop is true, angle of the crop rectangle. ##### Definition: ```python @property def crop_angle(self): ... @crop_angle.setter def crop_angle(self, value): ... ``` ### crop_bottom property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_bottom.md #### crop_bottom property Gets or sets the CropBottom setting. When HasCrop is true, bottom of the crop rectangle. ##### Definition: ```python @property def crop_bottom(self): ... @crop_bottom.setter def crop_bottom(self, value): ... ``` ### crop_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_height.md #### crop_height property Gets or sets the height of the resulting cropped image in `XmpCameraRawPackage.crop_units` units. ##### Definition: ```python @property def crop_height(self): ... @crop_height.setter def crop_height(self, value): ... ``` ### crop_left property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_left.md #### crop_left property Gets or sets the CropLeft setting. When HasCrop is true, left of the crop rectangle. ##### Definition: ```python @property def crop_left(self): ... @crop_left.setter def crop_left(self, value): ... ``` ### crop_right property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_right.md #### crop_right property Gets or sets the CropRight setting. When HasCrop is true, right of the crop rectangle. ##### Definition: ```python @property def crop_right(self): ... @crop_right.setter def crop_right(self, value): ... ``` ### crop_top property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_top.md #### crop_top property Gets or sets the CropTop setting. When HasCrop is true, top of the crop rectangle. ##### Definition: ```python @property def crop_top(self): ... @crop_top.setter def crop_top(self, value): ... ``` ### crop_units property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_units.md #### crop_units property Gets or sets units for `XmpCameraRawPackage.crop_width` and `XmpCameraRawPackage.crop_height`. ##### Definition: ```python @property def crop_units(self): ... @crop_units.setter def crop_units(self, value): ... ``` ### crop_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/crop_width.md #### crop_width property Gets or sets the width of the resulting cropped image in `XmpCameraRawPackage.crop_units` units. ##### Definition: ```python @property def crop_width(self): ... @crop_width.setter def crop_width(self, value): ... ``` ### exposure property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/exposure.md #### exposure property Gets or sets the Exposure setting. ##### Definition: ```python @property def exposure(self): ... @exposure.setter def exposure(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### green_hue property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/green_hue.md #### green_hue property Gets or sets the Green Hue setting. Range -100 to 100. ##### Definition: ```python @property def green_hue(self): ... @green_hue.setter def green_hue(self, value): ... ``` ### green_saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/green_saturation.md #### green_saturation property Gets or sets the Green Saturation setting. Range -100 to 100. ##### Definition: ```python @property def green_saturation(self): ... @green_saturation.setter def green_saturation(self, value): ... ``` ### has_crop property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/has_crop.md #### has_crop property Gets or sets the HasCrop value. When true, the image has a cropping rectangle. ##### Definition: ```python @property def has_crop(self): ... @has_crop.setter def has_crop(self, value): ... ``` ### has_settings property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/has_settings.md #### has_settings property Gets or sets HasSettings value. When true, non-default camera raw settings. ##### Definition: ```python @property def has_settings(self): ... @has_settings.setter def has_settings(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### luminance_smoothing property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/luminance_smoothing.md #### luminance_smoothing property Gets or sets the LuminanceSmoothing setting. Range 0 to 100. ##### Definition: ```python @property def luminance_smoothing(self): ... @luminance_smoothing.setter def luminance_smoothing(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### raw_file_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/raw_file_name.md #### raw_file_name property Gets or sets the file name for a raw file (not a complete path). ##### Definition: ```python @property def raw_file_name(self): ... @raw_file_name.setter def raw_file_name(self, value): ... ``` ### red_hue property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/red_hue.md #### red_hue property Gets or sets the Red Hue setting. Range -100 to 100. ##### Definition: ```python @property def red_hue(self): ... @red_hue.setter def red_hue(self, value): ... ``` ### red_saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/red_saturation.md #### red_saturation property Gets or sets the Red Saturation setting. Range -100 to 100. ##### Definition: ```python @property def red_saturation(self): ... @red_saturation.setter def red_saturation(self, value): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### saturation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/saturation.md #### saturation property Gets or sets the Saturation setting. Range -100 to 100. ##### Definition: ```python @property def saturation(self): ... @saturation.setter def saturation(self, value): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/set.md #### set(self, name, value) Adds string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata key. | | value | System.String | XMP metadata value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### set_white_balance method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/set_white_balance.md #### set_white_balance(self, white_balance) Sets the white balance. ```python def set_white_balance(self, white_balance): ... ``` | Parameter | Type | Description | | :- | :- | :- | | white_balance | groupdocs.metadata.standards.xmp.schemes.XmpWhiteBalance | The white balance. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | WhiteBalance could not be null. | ### shadow_tint property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/shadow_tint.md #### shadow_tint property Gets or sets the ShadowTint setting. Range -100 to 100. ##### Definition: ```python @property def shadow_tint(self): ... @shadow_tint.setter def shadow_tint(self, value): ... ``` ### shadows property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/shadows.md #### shadows property Gets or sets the Shadows setting. Range 0 to 100. ##### Definition: ```python @property def shadows(self): ... @shadows.setter def shadows(self, value): ... ``` ### sharpness property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/sharpness.md #### sharpness property Gets or sets the Sharpness setting. Range 0 to 100. ##### Definition: ```python @property def sharpness(self): ... @sharpness.setter def sharpness(self, value): ... ``` ### temperature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/temperature.md #### temperature property Gets or sets the Temperature setting. Range 2000 to 50000. ##### Definition: ```python @property def temperature(self): ... @temperature.setter def temperature(self, value): ... ``` ### tint property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/tint.md #### tint property Gets or sets the Tint setting. Range -150 to 150. ##### Definition: ```python @property def tint(self): ... @tint.setter def tint(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/version.md #### version property Gets or sets the version of the Camera Raw plug-in. ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### vignette_amount property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/vignette_amount.md #### vignette_amount property Gets or sets the Vignette Amount setting. Range -100 to 100. ##### Definition: ```python @property def vignette_amount(self): ... @vignette_amount.setter def vignette_amount(self, value): ... ``` ### vignette_midpoint property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/vignette_midpoint.md #### vignette_midpoint property Gets or sets the Vignetting Midpoint setting. Range 0 to 100. ##### Definition: ```python @property def vignette_midpoint(self): ... @vignette_midpoint.setter def vignette_midpoint(self, value): ... ``` ### white_balance property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/white_balance.md #### white_balance property Gets White Balance setting. Use `XmpCameraRawPackage.set_white_balance` to set white balance value. ##### Definition: ```python @property def white_balance(self): ... ``` ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcamerarawpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpCropUnit enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpcropunit.md #### XmpCropUnit enumeration Represent a unit for CropWidth and CropHeight in `XmpCameraRawPackage`. The XmpCropUnit type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PIXELS | Pixels units. | | INCHES | Inches units. | | CM | Centimeters units. | ### XmpDublinCorePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage.md #### XmpDublinCorePackage class Represents the Dublin Core scheme. **Inheritance:** `XmpDublinCorePackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpDublinCorePackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpDublinCorePackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | contributors | Gets or sets an array of the contributors. | | coverage | Gets or sets the extent or scope of the resource. | | creators | Gets or sets an array of the creators. | | dates | Gets or sets an array of dates associated with an event in the life cycle of the resource. | | descriptions | Gets or sets an array of textual descriptions of the content of the resource, given in various languages. | | format | Gets or sets the MIME type of the resource. | | identifier | Gets or sets a string value representing an unambiguous reference to the resource within a given context. | | languages | Gets or sets an array of languages used in the content of the resource. | | publishers | Gets or sets an array of publishers made the resource available. | | relations | Gets or sets an array of the related resources. | | rights | Gets or sets an array of the informal rights statements, given in various languages. | | source | Gets or sets the related resource from which the described resource is derived. | | subjects | Gets or sets an array of descriptive phrases or keywords that specify the content of the resource. | | titles | Gets or sets the title or name of the resource, given in various languages. | | types | Gets or sets an array of string values representing the nature or genre of the resource. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | | `set_contributor(self, contributor)` | Sets a single contributor of the resource. | | `set_creator(self, creator)` | Sets a single creator of the resource. | | `set_date(self, date)` | Sets a single date associated with the resource. | | `set_description(self, description)` | Sets the resource description, given in a single laguage. | | `set_language(self, language)` | Sets a single language associated with the resource. | | `set_publisher(self, publisher)` | Sets a single publisher of the resource. | | `set_relation(self, relation)` | Sets a single related resource. | | `set_rights(self, rights)` | Sets the resource rights, given in a single laguage. | | `set_subject(self, subject)` | Sets a single subject of the resource. | | `set_title(self, title)` | Sets the resource title, given in a single laguage. | | `set_type(self, type)` | Sets a single type of the resource. | ##### Remarks For more information see: http://dublincore.org/documents/usageguide/elements.shtml. ### XmpDublinCorePackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpDublinCorePackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contributors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/contributors.md #### contributors property Gets or sets an array of the contributors. ##### Remarks These contributors should not include those listed in dc:creator. ##### Definition: ```python @property def contributors(self): ... @contributors.setter def contributors(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### creators property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/creators.md #### creators property Gets or sets an array of the creators. ##### Remarks Entities should be listed in order of decreasing precedence, if such order is significant. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity. ##### Definition: ```python @property def creators(self): ... @creators.setter def creators(self, value): ... ``` ### dates property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/dates.md #### dates property Gets or sets an array of dates associated with an event in the life cycle of the resource. ##### Definition: ```python @property def dates(self): ... @dates.setter def dates(self, value): ... ``` ### descriptions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/descriptions.md #### descriptions property Gets or sets an array of textual descriptions of the content of the resource, given in various languages. ##### Definition: ```python @property def descriptions(self): ... @descriptions.setter def descriptions(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/format.md #### format property Gets or sets the MIME type of the resource. ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/identifier.md #### identifier property Gets or sets a string value representing an unambiguous reference to the resource within a given context. ##### Remarks Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. ##### Definition: ```python @property def identifier(self): ... @identifier.setter def identifier(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### languages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/languages.md #### languages property Gets or sets an array of languages used in the content of the resource. ##### Definition: ```python @property def languages(self): ... @languages.setter def languages(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### publishers property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/publishers.md #### publishers property Gets or sets an array of publishers made the resource available. ##### Remarks Examples of a publisher include a person, an organization, or a service. Typically, the name of a publisher should be used to indicate the entity. ##### Definition: ```python @property def publishers(self): ... @publishers.setter def publishers(self, value): ... ``` ### relations property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/relations.md #### relations property Gets or sets an array of the related resources. ##### Remarks Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ##### Definition: ```python @property def relations(self): ... @relations.setter def relations(self, value): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### rights property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/rights.md #### rights property Gets or sets an array of the informal rights statements, given in various languages. ##### Remarks Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights. ##### Definition: ```python @property def rights(self): ... @rights.setter def rights(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set.md #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | ### set_contributor method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_contributor.md #### set_contributor(self, contributor) Sets a single contributor of the resource. ```python def set_contributor(self, contributor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | contributor | System.String | The contributor to set. | ### set_creator method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_creator.md #### set_creator(self, creator) Sets a single creator of the resource. ```python def set_creator(self, creator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | creator | System.String | The creator to set. | ### set_date method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_date.md #### set_date(self, date) Sets a single date associated with the resource. ```python def set_date(self, date): ... ``` | Parameter | Type | Description | | :- | :- | :- | | date | System.DateTime | The date to set. | ### set_description method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_description.md #### set_description(self, description) Sets the resource description, given in a single laguage. ```python def set_description(self, description): ... ``` | Parameter | Type | Description | | :- | :- | :- | | description | System.String | The description to set. | ### set_language method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_language.md #### set_language(self, language) Sets a single language associated with the resource. ```python def set_language(self, language): ... ``` | Parameter | Type | Description | | :- | :- | :- | | language | System.String | The language to set. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### set_publisher method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_publisher.md #### set_publisher(self, publisher) Sets a single publisher of the resource. ```python def set_publisher(self, publisher): ... ``` | Parameter | Type | Description | | :- | :- | :- | | publisher | System.String | The publisher to set. | ### set_relation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_relation.md #### set_relation(self, relation) Sets a single related resource. ```python def set_relation(self, relation): ... ``` | Parameter | Type | Description | | :- | :- | :- | | relation | System.String | The relation to set. | ### set_rights method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_rights.md #### set_rights(self, rights) Sets the resource rights, given in a single laguage. ```python def set_rights(self, rights): ... ``` | Parameter | Type | Description | | :- | :- | :- | | rights | System.String | The rights statements to set. | ### set_subject method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_subject.md #### set_subject(self, subject) Sets a single subject of the resource. ```python def set_subject(self, subject): ... ``` | Parameter | Type | Description | | :- | :- | :- | | subject | System.String | The subject to set. | ### set_title method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_title.md #### set_title(self, title) Sets the resource title, given in a single laguage. ```python def set_title(self, title): ... ``` | Parameter | Type | Description | | :- | :- | :- | | title | System.String | The title to set. | ### set_type method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/set_type.md #### set_type(self, type) Sets a single type of the resource. ```python def set_type(self, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | type | System.String | The type to set. | ### source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/source.md #### source property Gets or sets the related resource from which the described resource is derived. ##### Remarks The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ##### Definition: ```python @property def source(self): ... @source.setter def source(self, value): ... ``` ### subjects property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/subjects.md #### subjects property Gets or sets an array of descriptive phrases or keywords that specify the content of the resource. ##### Definition: ```python @property def subjects(self): ... @subjects.setter def subjects(self, value): ... ``` ### titles property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/titles.md #### titles property Gets or sets the title or name of the resource, given in various languages. ##### Definition: ```python @property def titles(self): ... @titles.setter def titles(self, value): ... ``` ### types property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/types.md #### types property Gets or sets an array of string values representing the nature or genre of the resource. ##### Definition: ```python @property def types(self): ... @types.setter def types(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdublincorepackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpDynamicMediaPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage.md #### XmpDynamicMediaPackage class Represents XMP Dynamic Media namespace. **Inheritance:** `XmpDynamicMediaPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpDynamicMediaPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpDynamicMediaPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | abs_peak_audio_file_path | Gets or sets the absolute path to the file’s peak audio file. | | album | Gets or sets the name of the album. | | alt_tape_name | Gets or sets the alternative tape name, set via the project window or timecode dialog in Premiere. | | alt_timecode | Gets or sets the timecode set by the user. | | artist | Gets or sets the name of the artist or artists. | | audio_channel_type | Gets or sets the audio channel type. | | audio_compressor | Gets or sets the audio compression used. | | audio_sample_rate | Gets or sets the audio sample rate. | | audio_sample_type | Gets or sets the audio sample type. | | camera_angle | Gets or sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. | | camera_label | Gets or sets the description of the camera used for a shoot. | | camera_model | Gets or sets the make and model of the camera used for a shoot. | | camera_move | Gets or sets the movement of the camera during the shot, from a fixed set of industry standard terminology. | | client | Gets or sets the client for the job of which this shot or take is a part. | | comment | Gets or sets the user’s comments. | | composer | Gets or sets the composer’s names. | | director | Gets or sets the director of the scene. | | director_photography | Gets or sets the director of photography for the scene. | | duration | Gets or sets the duration of the media file. | | engineer | Gets or sets the engineer's names. | | file_data_rate | Gets or sets the file data rate in megabytes per second. | | genre | Gets or sets the name of the genres. | | good | Gets or sets a value indicating whether the shot is a keeper. | | instrument | Gets or sets the musical instruments. | | intro_time | Gets or sets the duration of lead time for queuing music. | | key | Gets or sets the audio’s musical key. | | log_comment | Gets or sets the user’s log comments. | | loop | Gets or sets a value indicating whether the clip can be looped seamlessly. | | number_of_beats | Gets or sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. | | out_cue | Gets or sets the time at which to fade out. | | project_name | Gets or sets the name of the project of which this file is a part. | | relative_timestamp | Gets or sets the start time of the media inside the audio project. | | release_date | Gets or sets the date the title was released. | | shot_date | Gets or sets the date and time when the video was shot. | | start_timecode | Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. | | take_number | Gets or sets a numeric value indicating the absolute number of a take. | | tempo | Gets or sets the audio’s tempo. | | track_number | Gets or sets a numeric value indicating the order of the audio file within its original recording. | | video_alpha_premultiple_color | Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. | | video_alpha_unity_is_transparent | Gets or sets a value indicating whether the unity is clear. | | video_frame_rate | Gets or sets the video frame rate. | | video_frame_size | Gets or sets the frame size. | | video_pixel_aspect_ratio | Gets or sets the aspect ratio, expressed as wd/ht. | | part_of_compilation | Gets or sets a value indicating whether the resource is a part of compilation. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | | `set_audio_channel_type(self, audio_channel_type)` | Sets the audio channel type. | | `set_audio_sample_type(self, audio_sample_type)` | Sets the audio sample type. | ### XmpDynamicMediaPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpDynamicMediaPackage` class. ```python def __init__(self): ... ``` ### abs_peak_audio_file_path property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/abs_peak_audio_file_path.md #### abs_peak_audio_file_path property Gets or sets the absolute path to the file’s peak audio file. ##### Definition: ```python @property def abs_peak_audio_file_path(self): ... @abs_peak_audio_file_path.setter def abs_peak_audio_file_path(self, value): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/album.md #### album property Gets or sets the name of the album. ##### Definition: ```python @property def album(self): ... @album.setter def album(self, value): ... ``` ### alt_tape_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/alt_tape_name.md #### alt_tape_name property Gets or sets the alternative tape name, set via the project window or timecode dialog in Premiere. ##### Definition: ```python @property def alt_tape_name(self): ... @alt_tape_name.setter def alt_tape_name(self, value): ... ``` ### alt_timecode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/alt_timecode.md #### alt_timecode property Gets or sets the timecode set by the user. ##### Definition: ```python @property def alt_timecode(self): ... @alt_timecode.setter def alt_timecode(self, value): ... ``` ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/artist.md #### artist property Gets or sets the name of the artist or artists. ##### Definition: ```python @property def artist(self): ... @artist.setter def artist(self, value): ... ``` ### audio_channel_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audio_channel_type.md #### audio_channel_type property Gets or sets the audio channel type. ##### Definition: ```python @property def audio_channel_type(self): ... @audio_channel_type.setter def audio_channel_type(self, value): ... ``` ### audio_compressor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audio_compressor.md #### audio_compressor property Gets or sets the audio compression used. ##### Definition: ```python @property def audio_compressor(self): ... @audio_compressor.setter def audio_compressor(self, value): ... ``` ### audio_sample_rate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audio_sample_rate.md #### audio_sample_rate property Gets or sets the audio sample rate. ##### Definition: ```python @property def audio_sample_rate(self): ... @audio_sample_rate.setter def audio_sample_rate(self, value): ... ``` ### audio_sample_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/audio_sample_type.md #### audio_sample_type property Gets or sets the audio sample type. ##### Definition: ```python @property def audio_sample_type(self): ... @audio_sample_type.setter def audio_sample_type(self, value): ... ``` ### camera_angle property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/camera_angle.md #### camera_angle property Gets or sets the orientation of the camera to the subject in a static shot, from a fixed set of industry standard terminology. ##### Definition: ```python @property def camera_angle(self): ... @camera_angle.setter def camera_angle(self, value): ... ``` ### camera_label property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/camera_label.md #### camera_label property Gets or sets the description of the camera used for a shoot. ##### Definition: ```python @property def camera_label(self): ... @camera_label.setter def camera_label(self, value): ... ``` ### camera_model property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/camera_model.md #### camera_model property Gets or sets the make and model of the camera used for a shoot. ##### Definition: ```python @property def camera_model(self): ... @camera_model.setter def camera_model(self, value): ... ``` ### camera_move property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/camera_move.md #### camera_move property Gets or sets the movement of the camera during the shot, from a fixed set of industry standard terminology. ##### Definition: ```python @property def camera_move(self): ... @camera_move.setter def camera_move(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### client property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/client.md #### client property Gets or sets the client for the job of which this shot or take is a part. ##### Definition: ```python @property def client(self): ... @client.setter def client(self, value): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/comment.md #### comment property Gets or sets the user’s comments. ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### composer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/composer.md #### composer property Gets or sets the composer’s names. ##### Definition: ```python @property def composer(self): ... @composer.setter def composer(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### director property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/director.md #### director property Gets or sets the director of the scene. ##### Definition: ```python @property def director(self): ... @director.setter def director(self, value): ... ``` ### director_photography property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/director_photography.md #### director_photography property Gets or sets the director of photography for the scene. ##### Definition: ```python @property def director_photography(self): ... @director_photography.setter def director_photography(self, value): ... ``` ### duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/duration.md #### duration property Gets or sets the duration of the media file. ##### Definition: ```python @property def duration(self): ... @duration.setter def duration(self, value): ... ``` ### engineer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/engineer.md #### engineer property Gets or sets the engineer's names. ##### Definition: ```python @property def engineer(self): ... @engineer.setter def engineer(self, value): ... ``` ### file_data_rate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/file_data_rate.md #### file_data_rate property Gets or sets the file data rate in megabytes per second. ##### Definition: ```python @property def file_data_rate(self): ... @file_data_rate.setter def file_data_rate(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### genre property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/genre.md #### genre property Gets or sets the name of the genres. ##### Definition: ```python @property def genre(self): ... @genre.setter def genre(self, value): ... ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### good property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/good.md #### good property Gets or sets a value indicating whether the shot is a keeper. ##### Definition: ```python @property def good(self): ... @good.setter def good(self, value): ... ``` ### instrument property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/instrument.md #### instrument property Gets or sets the musical instruments. ##### Definition: ```python @property def instrument(self): ... @instrument.setter def instrument(self, value): ... ``` ### intro_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/intro_time.md #### intro_time property Gets or sets the duration of lead time for queuing music. ##### Definition: ```python @property def intro_time(self): ... @intro_time.setter def intro_time(self, value): ... ``` ### key property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/key.md #### key property Gets or sets the audio’s musical key. ##### Definition: ```python @property def key(self): ... @key.setter def key(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### log_comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/log_comment.md #### log_comment property Gets or sets the user’s log comments. ##### Definition: ```python @property def log_comment(self): ... @log_comment.setter def log_comment(self, value): ... ``` ### loop property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/loop.md #### loop property Gets or sets a value indicating whether the clip can be looped seamlessly. ##### Definition: ```python @property def loop(self): ... @loop.setter def loop(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### number_of_beats property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/number_of_beats.md #### number_of_beats property Gets or sets the total number of musical beats in a clip; for example, the beats-per-second times the duration in seconds. ##### Definition: ```python @property def number_of_beats(self): ... @number_of_beats.setter def number_of_beats(self, value): ... ``` ### out_cue property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/out_cue.md #### out_cue property Gets or sets the time at which to fade out. ##### Definition: ```python @property def out_cue(self): ... @out_cue.setter def out_cue(self, value): ... ``` ### part_of_compilation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/part_of_compilation.md #### part_of_compilation property Gets or sets a value indicating whether the resource is a part of compilation. ##### Definition: ```python @property def part_of_compilation(self): ... @part_of_compilation.setter def part_of_compilation(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### project_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/project_name.md #### project_name property Gets or sets the name of the project of which this file is a part. ##### Definition: ```python @property def project_name(self): ... @project_name.setter def project_name(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### relative_timestamp property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/relative_timestamp.md #### relative_timestamp property Gets or sets the start time of the media inside the audio project. ##### Definition: ```python @property def relative_timestamp(self): ... @relative_timestamp.setter def relative_timestamp(self, value): ... ``` ### release_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/release_date.md #### release_date property Gets or sets the date the title was released. ##### Definition: ```python @property def release_date(self): ... @release_date.setter def release_date(self, value): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_audio_channel_type method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/set_audio_channel_type.md #### set_audio_channel_type(self, audio_channel_type) Sets the audio channel type. ```python def set_audio_channel_type(self, audio_channel_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | audio_channel_type | groupdocs.metadata.standards.xmp.schemes.XmpAudioChannelType | The audio channel type. | ### set_audio_sample_type method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/set_audio_sample_type.md #### set_audio_sample_type(self, audio_sample_type) Sets the audio sample type. ```python def set_audio_sample_type(self, audio_sample_type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | audio_sample_type | groupdocs.metadata.standards.xmp.schemes.XmpAudioSampleType | The audio sample type. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### shot_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/shot_date.md #### shot_date property Gets or sets the date and time when the video was shot. ##### Definition: ```python @property def shot_date(self): ... @shot_date.setter def shot_date(self, value): ... ``` ### start_timecode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/start_timecode.md #### start_timecode property Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. ##### Definition: ```python @property def start_timecode(self): ... @start_timecode.setter def start_timecode(self, value): ... ``` ### take_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/take_number.md #### take_number property Gets or sets a numeric value indicating the absolute number of a take. ##### Definition: ```python @property def take_number(self): ... @take_number.setter def take_number(self, value): ... ``` ### tempo property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/tempo.md #### tempo property Gets or sets the audio’s tempo. ##### Definition: ```python @property def tempo(self): ... @tempo.setter def tempo(self, value): ... ``` ### track_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/track_number.md #### track_number property Gets or sets a numeric value indicating the order of the audio file within its original recording. ##### Definition: ```python @property def track_number(self): ... @track_number.setter def track_number(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### video_alpha_premultiple_color property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/video_alpha_premultiple_color.md #### video_alpha_premultiple_color property Gets or sets the timecode of the first frame of video in the file, as obtained from the device control. ##### Definition: ```python @property def video_alpha_premultiple_color(self): ... @video_alpha_premultiple_color.setter def video_alpha_premultiple_color(self, value): ... ``` ### video_alpha_unity_is_transparent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/video_alpha_unity_is_transparent.md #### video_alpha_unity_is_transparent property Gets or sets a value indicating whether the unity is clear. ##### Definition: ```python @property def video_alpha_unity_is_transparent(self): ... @video_alpha_unity_is_transparent.setter def video_alpha_unity_is_transparent(self, value): ... ``` ### video_frame_rate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/video_frame_rate.md #### video_frame_rate property Gets or sets the video frame rate. ##### Definition: ```python @property def video_frame_rate(self): ... @video_frame_rate.setter def video_frame_rate(self, value): ... ``` ### video_frame_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/video_frame_size.md #### video_frame_size property Gets or sets the frame size. ##### Definition: ```python @property def video_frame_size(self): ... @video_frame_size.setter def video_frame_size(self, value): ... ``` ### video_pixel_aspect_ratio property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/video_pixel_aspect_ratio.md #### video_pixel_aspect_ratio property Gets or sets the aspect ratio, expressed as wd/ht. ##### Definition: ```python @property def video_pixel_aspect_ratio(self): ... @video_pixel_aspect_ratio.setter def video_pixel_aspect_ratio(self, value): ... ``` ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpdynamicmediapackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpIptcCorePackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage.md #### XmpIptcCorePackage class Represents the IPTC Core XMP package. **Inheritance:** `XmpIptcCorePackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpIptcCorePackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpIptcCorePackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | country_code | Gets or sets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. | | intellectual_genre | Gets or sets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. | | location | Gets or sets the location the content is focusing on. | | scenes | Gets or sets the scene of the photo content. | | subject_codes | Gets or sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpIptcCorePackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpIptcCorePackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### country_code property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/country_code.md #### country_code property Gets or sets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code. ##### Definition: ```python @property def country_code(self): ... @country_code.setter def country_code(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### intellectual_genre property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/intellectual_genre.md #### intellectual_genre property Gets or sets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content. ##### Definition: ```python @property def intellectual_genre(self): ... @intellectual_genre.setter def intellectual_genre(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### location property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/location.md #### location property Gets or sets the location the content is focusing on. ##### Remarks This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy. ##### Definition: ```python @property def location(self): ... @location.setter def location(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### scenes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/scenes.md #### scenes property Gets or sets the scene of the photo content. ##### Remarks Specifies one or more terms from the IPTC "Scene-NewsCodes". Each Scene is represented as a string of 6 digits in an unordered list ##### Definition: ```python @property def scenes(self): ... @scenes.setter def scenes(self, value): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### subject_codes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/subject_codes.md #### subject_codes property Gets or sets one or more Subjects from the IPTC "Subject-NewsCodes" taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list. ##### Remarks More about IPTC Subject-NewsCodes at http://www.newscodes.org. ##### Definition: ```python @property def subject_codes(self): ... @subject_codes.setter def subject_codes(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptccorepackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpIptcExtensionPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage.md #### XmpIptcExtensionPackage class Represents the IPTC Extension XMP package. **Inheritance:** `XmpIptcExtensionPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpIptcExtensionPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpIptcExtensionPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | additional_model_information | Gets or sets the information about the ethnicity and other facets of the model(s) in a model-released image. | | organisation_in_image_codes | Gets or sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. | | organisation_in_image_names | Gets or sets names of the organisations or companies which are featured in the image. | | ages_of_models | Gets or sets ages of the human models at the time this image was taken in a model released image. | | persons_in_image | Gets or sets names of the persons the content of the item is about. | | digital_image_guid | Gets or sets the globally unique identifier for this digital image. | | digital_source_type | Gets or sets the type of the source of this digital image. | | event | Gets or sets the description of the specific event at which the photo was taken. | | iptc_last_edited | Gets or sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. | | max_available_height | Gets or sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. | | max_available_width | Gets or sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpIptcExtensionPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpIptcExtensionPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### additional_model_information property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/additional_model_information.md #### additional_model_information property Gets or sets the information about the ethnicity and other facets of the model(s) in a model-released image. ##### Definition: ```python @property def additional_model_information(self): ... @additional_model_information.setter def additional_model_information(self, value): ... ``` ### ages_of_models property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/ages_of_models.md #### ages_of_models property Gets or sets ages of the human models at the time this image was taken in a model released image. ##### Definition: ```python @property def ages_of_models(self): ... @ages_of_models.setter def ages_of_models(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### digital_image_guid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/digital_image_guid.md #### digital_image_guid property Gets or sets the globally unique identifier for this digital image. ##### Remarks It is created and applied by the creator of the digital image at the time of its creation. This value shall not be changed after that time. ##### Definition: ```python @property def digital_image_guid(self): ... @digital_image_guid.setter def digital_image_guid(self, value): ... ``` ### digital_source_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/digital_source_type.md #### digital_source_type property Gets or sets the type of the source of this digital image. ##### Definition: ```python @property def digital_source_type(self): ... @digital_source_type.setter def digital_source_type(self, value): ... ``` ### event property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/event.md #### event property Gets or sets the description of the specific event at which the photo was taken. ##### Definition: ```python @property def event(self): ... @event.setter def event(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### iptc_last_edited property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/iptc_last_edited.md #### iptc_last_edited property Gets or sets the date and optionally time when any of the IPTC photo metadata fields has been last edited. ##### Definition: ```python @property def iptc_last_edited(self): ... @iptc_last_edited.setter def iptc_last_edited(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### max_available_height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/max_available_height.md #### max_available_height property Gets or sets the maximum available height in pixels of the original photo from which this photo has been derived by downsizing. ##### Definition: ```python @property def max_available_height(self): ... @max_available_height.setter def max_available_height(self, value): ... ``` ### max_available_width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/max_available_width.md #### max_available_width property Gets or sets the the maximum available width in pixels of the original photo from which this photo has been derived by downsizing. ##### Definition: ```python @property def max_available_width(self): ... @max_available_width.setter def max_available_width(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### organisation_in_image_codes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/organisation_in_image_codes.md #### organisation_in_image_codes property Gets or sets codes from a controlled vocabulary for identifying the organisations or companies which are featured in the image. ##### Definition: ```python @property def organisation_in_image_codes(self): ... @organisation_in_image_codes.setter def organisation_in_image_codes(self, value): ... ``` ### organisation_in_image_names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/organisation_in_image_names.md #### organisation_in_image_names property Gets or sets names of the organisations or companies which are featured in the image. ##### Definition: ```python @property def organisation_in_image_names(self): ... @organisation_in_image_names.setter def organisation_in_image_names(self, value): ... ``` ### persons_in_image property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/persons_in_image.md #### persons_in_image property Gets or sets names of the persons the content of the item is about. ##### Definition: ```python @property def persons_in_image(self): ... @persons_in_image.setter def persons_in_image(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptcextensionpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpIptcIimPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage.md #### XmpIptcIimPackage class Represents the IPTC-IIM XMP package. **Inheritance:** `XmpIptcIimPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpIptcIimPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpIptcIimPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | model_version | Gets or sets the binary number identifying the version of the Information | | destination | Gets or sets the destination. This DataSet is to accommodate some providers who require routing
information above the appropriate OSI layers. | | file_format | Gets or sets the binary number identifying the version of the Information | | file_format_version | Gets or sets the file format version. | | service_identifier | Gets or sets the service identifier. Identifies the provider and product. | | envelope_number | Gets or sets the envelope number. | | product_i_ds | Gets or sets the product identifiers. | | envelope_priority | Gets or sets the envelope handling priority. | | date_sent | Gets or sets the date the service sent the material. | | unique_name_of_object | Gets or sets the unique name of the object. | | object_type_reference | Gets or sets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. | | edit_status | Gets or sets the status of the object data, according to the practice of the provider. | | urgency | Gets or sets the editorial urgency of the content. | | category | Gets or sets the subject of the object data in the opinion of the provider. | | supplemental_categories | Gets or sets the supplemental categories. | | fixture_identifier | Gets or sets the object data that recurs often and predictably. | | content_location_codes | Gets or sets the content location codes. | | content_location_names | Gets or sets the content location names. | | release_date | Gets or sets the earliest date the provider intends the object to be used. | | expiration_date | Gets or sets the latest date the provider or owner intends the object data to be used. | | action_advised | Gets or sets the type of action that this object provides to a previous object. | | reference_service | Gets or sets the Service Identifier of a prior envelope to which the current object refers. | | reference_date | Gets or sets the date of a prior envelope to which the current object refers. | | reference_number | Gets or sets the Envelope Number of a prior envelope to which the current object refers. | | digital_creation_date | Gets or sets the date the digital representation of the object data was created. | | originating_program | Gets or sets the type of program used to originate the object data. | | program_version | Gets or sets the program version. | | image_type | Gets or sets the type of the image. | | image_orientation | Gets or sets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). | | language_identifier | Gets or sets the language identifier according to the 2-letter codes of ISO 639:1988. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpIptcIimPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpIptcIimPackage` class. ```python def __init__(self): ... ``` ### action_advised property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/action_advised.md #### action_advised property Gets or sets the type of action that this object provides to a previous object. ##### Definition: ```python @property def action_advised(self): ... @action_advised.setter def action_advised(self, value): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/category.md #### category property Gets or sets the subject of the object data in the opinion of the provider. ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### content_location_codes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/content_location_codes.md #### content_location_codes property Gets or sets the content location codes. ##### Remarks Indicates the code of a country/geographical location referenced by the content of the object. ##### Definition: ```python @property def content_location_codes(self): ... @content_location_codes.setter def content_location_codes(self, value): ... ``` ### content_location_names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/content_location_names.md #### content_location_names property Gets or sets the content location names. ##### Remarks Provides a full, publishable name of a country/geographical location referenced by the content of the object, according to guidelines of the provider. ##### Definition: ```python @property def content_location_names(self): ... @content_location_names.setter def content_location_names(self, value): ... ``` ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### date_sent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/date_sent.md #### date_sent property Gets or sets the date the service sent the material. ##### Definition: ```python @property def date_sent(self): ... @date_sent.setter def date_sent(self, value): ... ``` ### destination property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/destination.md #### destination property Gets or sets the destination. This DataSet is to accommodate some providers who require routing information above the appropriate OSI layers. ##### Definition: ```python @property def destination(self): ... @destination.setter def destination(self, value): ... ``` ### digital_creation_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/digital_creation_date.md #### digital_creation_date property Gets or sets the date the digital representation of the object data was created. ##### Definition: ```python @property def digital_creation_date(self): ... @digital_creation_date.setter def digital_creation_date(self, value): ... ``` ### edit_status property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/edit_status.md #### edit_status property Gets or sets the status of the object data, according to the practice of the provider. ##### Definition: ```python @property def edit_status(self): ... @edit_status.setter def edit_status(self, value): ... ``` ### envelope_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/envelope_number.md #### envelope_number property Gets or sets the envelope number. ##### Definition: ```python @property def envelope_number(self): ... @envelope_number.setter def envelope_number(self, value): ... ``` ### envelope_priority property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/envelope_priority.md #### envelope_priority property Gets or sets the envelope handling priority. ##### Definition: ```python @property def envelope_priority(self): ... @envelope_priority.setter def envelope_priority(self, value): ... ``` ### expiration_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/expiration_date.md #### expiration_date property Gets or sets the latest date the provider or owner intends the object data to be used. ##### Definition: ```python @property def expiration_date(self): ... @expiration_date.setter def expiration_date(self, value): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/file_format.md #### file_format property Gets or sets the binary number identifying the version of the Information ##### Definition: ```python @property def file_format(self): ... @file_format.setter def file_format(self, value): ... ``` ### file_format_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/file_format_version.md #### file_format_version property Gets or sets the file format version. ##### Definition: ```python @property def file_format_version(self): ... @file_format_version.setter def file_format_version(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### fixture_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/fixture_identifier.md #### fixture_identifier property Gets or sets the object data that recurs often and predictably. ##### Definition: ```python @property def fixture_identifier(self): ... @fixture_identifier.setter def fixture_identifier(self, value): ... ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### image_orientation property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/image_orientation.md #### image_orientation property Gets or sets the image orientation. Indicates the layout of the image area. Allowed values are P (for Portrait), L (for Landscape) and S (for Square). ##### Definition: ```python @property def image_orientation(self): ... @image_orientation.setter def image_orientation(self, value): ... ``` ### image_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/image_type.md #### image_type property Gets or sets the type of the image. ##### Remarks The first is a numeric character and the second is an alphabetic character. ##### Definition: ```python @property def image_type(self): ... @image_type.setter def image_type(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### language_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/language_identifier.md #### language_identifier property Gets or sets the language identifier according to the 2-letter codes of ISO 639:1988. ##### Definition: ```python @property def language_identifier(self): ... @language_identifier.setter def language_identifier(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### model_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/model_version.md #### model_version property Gets or sets the binary number identifying the version of the Information ##### Definition: ```python @property def model_version(self): ... @model_version.setter def model_version(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### object_type_reference property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/object_type_reference.md #### object_type_reference property Gets or sets the object type reference. The Object Type is used to distinguish between different types of objects within the IIM. ##### Definition: ```python @property def object_type_reference(self): ... @object_type_reference.setter def object_type_reference(self, value): ... ``` ### originating_program property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/originating_program.md #### originating_program property Gets or sets the type of program used to originate the object data. ##### Definition: ```python @property def originating_program(self): ... @originating_program.setter def originating_program(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### product_i_ds property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/product_i_ds.md #### product_i_ds property Gets or sets the product identifiers. ##### Remarks Used to provide receiving organization data on which to select, route, or otherwise handle data. ##### Definition: ```python @property def product_i_ds(self): ... @product_i_ds.setter def product_i_ds(self, value): ... ``` ### program_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/program_version.md #### program_version property Gets or sets the program version. ##### Definition: ```python @property def program_version(self): ... @program_version.setter def program_version(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### reference_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/reference_date.md #### reference_date property Gets or sets the date of a prior envelope to which the current object refers. ##### Definition: ```python @property def reference_date(self): ... @reference_date.setter def reference_date(self, value): ... ``` ### reference_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/reference_number.md #### reference_number property Gets or sets the Envelope Number of a prior envelope to which the current object refers. ##### Definition: ```python @property def reference_number(self): ... @reference_number.setter def reference_number(self, value): ... ``` ### reference_service property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/reference_service.md #### reference_service property Gets or sets the Service Identifier of a prior envelope to which the current object refers. ##### Definition: ```python @property def reference_service(self): ... @reference_service.setter def reference_service(self, value): ... ``` ### release_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/release_date.md #### release_date property Gets or sets the earliest date the provider intends the object to be used. ##### Definition: ```python @property def release_date(self): ... @release_date.setter def release_date(self, value): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### service_identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/service_identifier.md #### service_identifier property Gets or sets the service identifier. Identifies the provider and product. ##### Definition: ```python @property def service_identifier(self): ... @service_identifier.setter def service_identifier(self, value): ... ``` ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### supplemental_categories property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/supplemental_categories.md #### supplemental_categories property Gets or sets the supplemental categories. ##### Definition: ```python @property def supplemental_categories(self): ... @supplemental_categories.setter def supplemental_categories(self, value): ... ``` ### unique_name_of_object property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/unique_name_of_object.md #### unique_name_of_object property Gets or sets the unique name of the object. ##### Definition: ```python @property def unique_name_of_object(self): ... @unique_name_of_object.setter def unique_name_of_object(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### urgency property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/urgency.md #### urgency property Gets or sets the editorial urgency of the content. ##### Definition: ```python @property def urgency(self): ... @urgency.setter def urgency(self, value): ... ``` ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpiptciimpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpMediaManagementPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage.md #### XmpMediaManagementPackage class Represents the XMP Media Management namespace. **Inheritance:** `XmpMediaManagementPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpMediaManagementPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpMediaManagementPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | derived_from | Gets or sets the reference to the resource from which this one is derived. | | document_id | Gets or sets the common identifier for all versions and renditions of the resource. | | history | Gets or sets an array of high-level actions that resulted in this resource. | | ingredients | Gets or sets the references to resources that were incorporated, by inclusion or reference, into this resource. | | instance_id | Gets or sets the identifier for a specific incarnation of a resource, updated each time the file is saved. | | managed_from | Gets or sets the reference to the document as it was prior to becoming managed. | | manager | Gets or sets the name of the asset management system that manages this resource. | | manage_to | Gets or sets the URI identifying the managed resource to the asset management system | | manage_ui | Gets or sets the URI that can be used to access information about the managed resource through a web browser. | | manager_variant | Gets or sets the particular variant of the asset management system. | | original_document_id | Gets or sets the common identifier for the original resource from which the current resource is derived. | | rendition_class | Gets or sets the rendition class name for this resource. | | rendition_params | Gets or sets the value that is used to provide additional rendition parameters
that are too complex or verbose to encode in xmpMM:RenditionClass. | | version_id | Gets or sets the document version identifier for this resource. | | versions | Gets or sets the version history associated with this resource. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpMediaManagementPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpMediaManagementPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### derived_from property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/derived_from.md #### derived_from property Gets or sets the reference to the resource from which this one is derived. ##### Definition: ```python @property def derived_from(self): ... @derived_from.setter def derived_from(self, value): ... ``` ### document_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/document_id.md #### document_id property Gets or sets the common identifier for all versions and renditions of the resource. ##### Definition: ```python @property def document_id(self): ... @document_id.setter def document_id(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### history property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/history.md #### history property Gets or sets an array of high-level actions that resulted in this resource. ##### Definition: ```python @property def history(self): ... @history.setter def history(self, value): ... ``` ### ingredients property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/ingredients.md #### ingredients property Gets or sets the references to resources that were incorporated, by inclusion or reference, into this resource. ##### Definition: ```python @property def ingredients(self): ... @ingredients.setter def ingredients(self, value): ... ``` ### instance_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/instance_id.md #### instance_id property Gets or sets the identifier for a specific incarnation of a resource, updated each time the file is saved. ##### Definition: ```python @property def instance_id(self): ... @instance_id.setter def instance_id(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### manage_to property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/manage_to.md #### manage_to property Gets or sets the URI identifying the managed resource to the asset management system ##### Definition: ```python @property def manage_to(self): ... @manage_to.setter def manage_to(self, value): ... ``` ### manage_ui property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/manage_ui.md #### manage_ui property Gets or sets the URI that can be used to access information about the managed resource through a web browser. ##### Definition: ```python @property def manage_ui(self): ... @manage_ui.setter def manage_ui(self, value): ... ``` ### managed_from property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/managed_from.md #### managed_from property Gets or sets the reference to the document as it was prior to becoming managed. ##### Definition: ```python @property def managed_from(self): ... @managed_from.setter def managed_from(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/manager.md #### manager property Gets or sets the name of the asset management system that manages this resource. ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### manager_variant property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/manager_variant.md #### manager_variant property Gets or sets the particular variant of the asset management system. ##### Definition: ```python @property def manager_variant(self): ... @manager_variant.setter def manager_variant(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### original_document_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/original_document_id.md #### original_document_id property Gets or sets the common identifier for the original resource from which the current resource is derived. ##### Definition: ```python @property def original_document_id(self): ... @original_document_id.setter def original_document_id(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### rendition_class property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/rendition_class.md #### rendition_class property Gets or sets the rendition class name for this resource. ##### Definition: ```python @property def rendition_class(self): ... @rendition_class.setter def rendition_class(self, value): ... ``` ### rendition_params property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/rendition_params.md #### rendition_params property Gets or sets the value that is used to provide additional rendition parameters that are too complex or verbose to encode in xmpMM:RenditionClass. ##### Definition: ```python @property def rendition_params(self): ... @rendition_params.setter def rendition_params(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/version_id.md #### version_id property Gets or sets the document version identifier for this resource. ##### Definition: ```python @property def version_id(self): ... @version_id.setter def version_id(self, value): ... ``` ### versions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/versions.md #### versions property Gets or sets the version history associated with this resource. ##### Definition: ```python @property def versions(self): ... @versions.setter def versions(self, value): ... ``` ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpmediamanagementpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpPagedTextPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage.md #### XmpPagedTextPackage class Represents the XMP Paged-Text package. **Inheritance:** `XmpPagedTextPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpPagedTextPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpPagedTextPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | colorants | Gets or sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). | | fonts | Gets or sets an unordered array of fonts that are used in the document (including any in contained documents). | | max_page_size | Gets or sets the size of the largest page in the document (including any in contained documents). | | number_of_pages | Gets or sets the number of pages in the document. | | plate_names | Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpPagedTextPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpPagedTextPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### colorants property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/colorants.md #### colorants property Gets or sets an ordered array of colorants (swatches) that are used in the document (including any in contained documents). ##### Definition: ```python @property def colorants(self): ... @colorants.setter def colorants(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### fonts property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/fonts.md #### fonts property Gets or sets an unordered array of fonts that are used in the document (including any in contained documents). ##### Definition: ```python @property def fonts(self): ... @fonts.setter def fonts(self, value): ... ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### max_page_size property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/max_page_size.md #### max_page_size property Gets or sets the size of the largest page in the document (including any in contained documents). ##### Definition: ```python @property def max_page_size(self): ... @max_page_size.setter def max_page_size(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### number_of_pages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/number_of_pages.md #### number_of_pages property Gets or sets the number of pages in the document. ##### Definition: ```python @property def number_of_pages(self): ... @number_of_pages.setter def number_of_pages(self, value): ... ``` ### plate_names property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/plate_names.md #### plate_names property Gets or set an ordered array of plate names that are needed to print the document (including any in contained documents). ##### Definition: ```python @property def plate_names(self): ... @plate_names.setter def plate_names(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppagedtextpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpPdfPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage.md #### XmpPdfPackage class Specifies properties used with Adobe PDF documents. **Inheritance:** `XmpPdfPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpPdfPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpPdfPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | keywords | Gets or sets the keywords. | | pdf_version | Gets or sets the PDF file version. For example, 1.0, 1.3 and so on. | | producer | Gets or sets the name of the tool that created the PDF document. | | is_trapped | Gets or sets a value indicating whether the document has been trapped. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpPdfPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpPdfPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### is_trapped property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/is_trapped.md #### is_trapped property Gets or sets a value indicating whether the document has been trapped. ##### Definition: ```python @property def is_trapped(self): ... @is_trapped.setter def is_trapped(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/keywords.md #### keywords property Gets or sets the keywords. ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### pdf_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/pdf_version.md #### pdf_version property Gets or sets the PDF file version. For example, 1.0, 1.3 and so on. ##### Definition: ```python @property def pdf_version(self): ... @pdf_version.setter def pdf_version(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### producer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/producer.md #### producer property Gets or sets the name of the tool that created the PDF document. ##### Definition: ```python @property def producer(self): ... @producer.setter def producer(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmppdfpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpPhotoshopColorMode enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshopcolormode.md #### XmpPhotoshopColorMode enumeration Represents a color mode in `XmpPhotoshopPackage`. The XmpPhotoshopColorMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | BITMAP | The bitmap color mode. | | GRAY_SCALE | The gray scale color mode. | | INDEXED_COLOR | The indexed color. | | RGB | The RGB color mode. | | CMYK | The CMYK color mode. | | MULTI_CHANNEL | The multi-channel color mode. | | DUOTONE | The duo-tone color mode. | | LAB_COLOR | The LAB color mode. | ### XmpPhotoshopPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage.md #### XmpPhotoshopPackage class Represents Adobe Photoshop namespace. **Inheritance:** `XmpPhotoshopPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpPhotoshopPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpPhotoshopPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | authors_position | Gets or sets the by-line title. | | caption_writer | Gets or sets the writer/editor. | | category | Gets or sets the category. Limited to 3 7-bit ASCII characters. | | city | Gets or sets the city. | | color_mode | Gets or sets the color mode. | | country | Gets or sets the country. | | credit | Gets or sets the credit. | | date_created | Gets or sets the date the intellectual content of the document was created. | | headline | Gets or sets the headline. | | history | Gets or sets the history that appears in the FileInfo panel, if activated in the application preferences. | | icc_profile | Gets or sets the color profile, such as AppleRGB, AdobeRGB1998. | | instructions | Gets or sets the special instructions. | | source | Gets or sets the source. | | state | Gets or sets the province/state. | | supplemental_categories | Gets or sets the supplemental categories. | | transmission_reference | Gets or sets the original transmission reference. | | urgency | Gets or sets the urgency. | | URGENCY_MAX | Urgency max value. | | URGENCY_MIN | Urgency min value. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpPhotoshopPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpPhotoshopPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### authors_position property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/authors_position.md #### authors_position property Gets or sets the by-line title. ##### Definition: ```python @property def authors_position(self): ... @authors_position.setter def authors_position(self, value): ... ``` ### caption_writer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/caption_writer.md #### caption_writer property Gets or sets the writer/editor. ##### Definition: ```python @property def caption_writer(self): ... @caption_writer.setter def caption_writer(self, value): ... ``` ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/category.md #### category property Gets or sets the category. Limited to 3 7-bit ASCII characters. ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### city property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/city.md #### city property Gets or sets the city. ##### Definition: ```python @property def city(self): ... @city.setter def city(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### color_mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/color_mode.md #### color_mode property Gets or sets the color mode. ##### Definition: ```python @property def color_mode(self): ... @color_mode.setter def color_mode(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### country property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/country.md #### country property Gets or sets the country. ##### Definition: ```python @property def country(self): ... @country.setter def country(self, value): ... ``` ### credit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/credit.md #### credit property Gets or sets the credit. ##### Definition: ```python @property def credit(self): ... @credit.setter def credit(self, value): ... ``` ### date_created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/date_created.md #### date_created property Gets or sets the date the intellectual content of the document was created. ##### Definition: ```python @property def date_created(self): ... @date_created.setter def date_created(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### headline property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/headline.md #### headline property Gets or sets the headline. ##### Definition: ```python @property def headline(self): ... @headline.setter def headline(self, value): ... ``` ### history property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/history.md #### history property Gets or sets the history that appears in the FileInfo panel, if activated in the application preferences. ##### Definition: ```python @property def history(self): ... @history.setter def history(self, value): ... ``` ### icc_profile property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/icc_profile.md #### icc_profile property Gets or sets the color profile, such as AppleRGB, AdobeRGB1998. ##### Definition: ```python @property def icc_profile(self): ... @icc_profile.setter def icc_profile(self, value): ... ``` ### instructions property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/instructions.md #### instructions property Gets or sets the special instructions. ##### Definition: ```python @property def instructions(self): ... @instructions.setter def instructions(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/source.md #### source property Gets or sets the source. ##### Definition: ```python @property def source(self): ... @source.setter def source(self, value): ... ``` ### state property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/state.md #### state property Gets or sets the province/state. ##### Definition: ```python @property def state(self): ... @state.setter def state(self, value): ... ``` ### supplemental_categories property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/supplemental_categories.md #### supplemental_categories property Gets or sets the supplemental categories. ##### Definition: ```python @property def supplemental_categories(self): ... @supplemental_categories.setter def supplemental_categories(self, value): ... ``` ### transmission_reference property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/transmission_reference.md #### transmission_reference property Gets or sets the original transmission reference. ##### Definition: ```python @property def transmission_reference(self): ... @transmission_reference.setter def transmission_reference(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### urgency property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/urgency.md #### urgency property Gets or sets the urgency. ##### Remarks Valid range is 1-8. ##### Definition: ```python @property def urgency(self): ... @urgency.setter def urgency(self, value): ... ``` ### URGENCY_MAX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/urgency_max.md #### URGENCY_MAX property Urgency max value. ##### Definition: ```python f URGENCY_MAX ``` ### URGENCY_MIN property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/urgency_min.md #### URGENCY_MIN property Urgency min value. ##### Definition: ```python f URGENCY_MIN ``` ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpphotoshoppackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpRightsManagementPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage.md #### XmpRightsManagementPackage class Represents XMP Rights Management namespace. **Inheritance:** `XmpRightsManagementPackage` → `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpRightsManagementPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpRightsManagementPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | | certificate | Gets or sets the Web URL for a rights management certificate. | | marked | Gets or sets a value indicating whether this is a rights-managed resource. | | owners | Gets or sets the legal owners. | | usage_terms | Gets or sets the instructions on how the resource can be legally used, given in a variety of languages. | | web_statement | Gets or sets the Web URL for a statement of the ownership and usage rights for this resource. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ### XmpRightsManagementPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpRightsManagementPackage` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### certificate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/certificate.md #### certificate property Gets or sets the Web URL for a rights management certificate. ##### Definition: ```python @property def certificate(self): ... @certificate.setter def certificate(self, value): ... ``` ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### marked property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/marked.md #### marked property Gets or sets a value indicating whether this is a rights-managed resource. ##### Definition: ```python @property def marked(self): ... @marked.setter def marked(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### owners property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/owners.md #### owners property Gets or sets the legal owners. ##### Definition: ```python @property def owners(self): ... @owners.setter def owners(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### usage_terms property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/usage_terms.md #### usage_terms property Gets or sets the instructions on how the resource can be legally used, given in a variety of languages. ##### Definition: ```python @property def usage_terms(self): ... @usage_terms.setter def usage_terms(self, value): ... ``` ### web_statement property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/web_statement.md #### web_statement property Gets or sets the Web URL for a statement of the ownership and usage rights for this resource. ##### Definition: ```python @property def web_statement(self): ... @web_statement.setter def web_statement(self, value): ... ``` ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmprightsmanagementpackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpTimeFormat class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat.md #### XmpTimeFormat class Represents time format in `XmpTimecode`. The XmpTimeFormat type exposes the following members: ##### Properties | Property | Description | | :- | :- | | timecode24 | Gets 24Timecode. | | timecode25 | Gets 25Timecode. | | drop_timecode2997 | Gets 2997DropTimecode. | | non_drop_timecode2997 | Gets 2997NonDropTimecode. | | timecode30 | Gets 30Timecode. | | timecode50 | Gets 50Timecode. | | drop_timecode5994 | Gets 5994DropTimecode. | | non_drop_timecode5994 | Gets 5994NonDropTimecode. | | timecode60 | Gets 60Timecode. | | timecode23976 | Gets 23976Timecode. | ### drop_timecode2997 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/drop_timecode2997.md #### drop_timecode2997 property Gets 2997DropTimecode. ##### Definition: ```python @property def drop_timecode2997(self): ... ``` ### drop_timecode5994 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/drop_timecode5994.md #### drop_timecode5994 property Gets 5994DropTimecode. ##### Definition: ```python @property def drop_timecode5994(self): ... ``` ### non_drop_timecode2997 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/non_drop_timecode2997.md #### non_drop_timecode2997 property Gets 2997NonDropTimecode. ##### Definition: ```python @property def non_drop_timecode2997(self): ... ``` ### non_drop_timecode5994 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/non_drop_timecode5994.md #### non_drop_timecode5994 property Gets 5994NonDropTimecode. ##### Definition: ```python @property def non_drop_timecode5994(self): ... ``` ### timecode23976 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode23976.md #### timecode23976 property Gets 23976Timecode. ##### Definition: ```python @property def timecode23976(self): ... ``` ### timecode24 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode24.md #### timecode24 property Gets 24Timecode. ##### Definition: ```python @property def timecode24(self): ... ``` ### timecode25 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode25.md #### timecode25 property Gets 25Timecode. ##### Definition: ```python @property def timecode25(self): ... ``` ### timecode30 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode30.md #### timecode30 property Gets 30Timecode. ##### Definition: ```python @property def timecode30(self): ... ``` ### timecode50 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode50.md #### timecode50 property Gets 50Timecode. ##### Definition: ```python @property def timecode50(self): ... ``` ### timecode60 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmptimeformat/timecode60.md #### timecode60 property Gets 60Timecode. ##### Definition: ```python @property def timecode60(self): ... ``` ### XmpWhiteBalance class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance.md #### XmpWhiteBalance class Represents the White Balance setting in `XmpCameraRawPackage`. The XmpWhiteBalance type exposes the following members: ##### Properties | Property | Description | | :- | :- | | as_shot | White balance: As Shot. | | auto | White balance: Auto. | | cloudy | White balance: Cloudy. | | custom | White balance: Custom. | | daylight | White balance: Daylight. | | flash | White balance: Flash. | | fluorescent | White balance: Fluorescent. | | shade | White balance: Shade. | | tungsten | White balance: Tungsten. | ### as_shot property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/as_shot.md #### as_shot property White balance: As Shot. ##### Definition: ```python @property def as_shot(self): ... ``` ### auto property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/auto.md #### auto property White balance: Auto. ##### Definition: ```python @property def auto(self): ... ``` ### cloudy property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/cloudy.md #### cloudy property White balance: Cloudy. ##### Definition: ```python @property def cloudy(self): ... ``` ### custom property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/custom.md #### custom property White balance: Custom. ##### Definition: ```python @property def custom(self): ... ``` ### daylight property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/daylight.md #### daylight property White balance: Daylight. ##### Definition: ```python @property def daylight(self): ... ``` ### flash property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/flash.md #### flash property White balance: Flash. ##### Definition: ```python @property def flash(self): ... ``` ### fluorescent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/fluorescent.md #### fluorescent property White balance: Fluorescent. ##### Definition: ```python @property def fluorescent(self): ... ``` ### shade property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/shade.md #### shade property White balance: Shade. ##### Definition: ```python @property def shade(self): ... ``` ### tungsten property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.schemes/xmpwhitebalance/tungsten.md #### tungsten property White balance: Tungsten. ##### Definition: ```python @property def tungsten(self): ... ``` ### groupdocs.metadata.standards.xmp Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp.md The namespace provides functionality for XMP (Extensible Metadata Platform) metadata reading and writing. ##### Classes | Class | Description | | :- | :- | | `IXmp` | Defines base operations intended to work with XMP metadata. | | `IXmpType` | Base interface for XMP type. | | `XmpArray` | Represents base abstraction for XMP array. | | `XmpBoolean` | Represents XMP Boolean basic type. | | `XmpColorantBase` | A structure containing the characteristics of a colorant (swatch) used in a document. | | `XmpColorantCmyk` | Represents the CMYK Colorant. | | `XmpColorantLab` | Represents the LAB Colorant. | | `XmpColorantRgb` | Represents the RGB Colorant. | | `XmpComplexType` | Represents base abstraction for XMP Complex value type. | | `XmpComplexTypeValue` | Represents an XMP value containing a complex type instance. | | `XmpDate` | Represents Date in XMP packet. | | `XmpDimensions` | Containing dimensions for a drawn object. | | `XmpElementBase` | Represents base XMP element that contains attributes. | | `XmpFont` | A structure containing the characteristics of a font used in a document. | | `XmpGuid` | Represents XMP global unique identifier. | | `XmpHeaderPI` | Represents XMP header processing instruction. | | `XmpInteger` | Represents XMP Integer basic type. | | `XmpJob` | Represents Job. | | `XmpLangAlt` | Represents XMP Language Alternative.



An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item
based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be
unique among the items. | | `XmpMeta` | Represents xmpmeta. Optional.
The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF. | | `XmpMetadataContainer` | Represents a container for XMP metadata properties. | | `XmpNamespaces` | Contains namespaces used in `XmpPackage` and `XmpComplexType`. | | `XmpPackage` | Represents base abstraction for XMP package. | | `XmpPacketWrapper` | Contains serialized XMP package including header and trailer.
A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element. | | `XmpRational` | Represents XMP XmpRational. | | `XmpReal` | Represents XMP Real. | | `XmpRenditionClass` | Represents XMP RenditionClass. | | `XmpResourceEvent` | Represents a high-level event that occurred in the processing of a resource. | | `XmpResourceRef` | Represents a multiple part reference to a resource.

Used to indicate prior versions, originals of renditions, originals for derived documents, and so on. | | `XmpSchemes` | Provides access to known XMP schemes. | | `XmpText` | Represents XMP Text basic type. | | `XmpThumbnail` | Represents a thumbnail image for a file. | | `XmpTime` | Representation of a time value in seconds. | | `XmpTimecode` | Represents a timecode value in a video. | | `XmpTrailerPI` | Represents XMP trailer processing instruction. | | `XmpValueBase` | Represents base XMP value. | | `XmpVersion` | Represents a version of a document. | ##### Enumerations | Enumeration | Description | | :- | :- | | `XmpArrayType` | Represents array type in `XmpArray`. | | `XmpColorType` | Type of color in `XmpColorantBase`. | | `XmpColorantColorMode` | Represents color mode in `XmpColorantBase`. | ### IXmp class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/ixmp.md #### IXmp class Defines base operations intended to work with XMP metadata. The IXmp type exposes the following members: ##### Properties | Property | Description | | :- | :- | | xmp_package | Gets or sets the XMP metadata package. | ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to extract XMP metadata from a file. ### xmp_package property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/ixmp/xmp_package.md #### xmp_package property Gets or sets the XMP metadata package. ##### Remarks **Learn more** | | | ##### Example This code sample shows how to remove XMP metadata from a file. ##### Definition: ```python @property def xmp_package(self): ... @xmp_package.setter def xmp_package(self, value): ... ``` ### IXmpType class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/ixmptype.md #### IXmpType class Base interface for XMP type. The IXmpType type exposes the following members: ##### Methods | Method | Description | | :- | :- | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/ixmptype/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### XmpArray class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray.md #### XmpArray class Represents base abstraction for XMP array. **Inheritance:** `XmpArray` → `XmpValueBase` → `PropertyValue` The XmpArray type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, array_type, items)` | Initializes a new instance of the `XmpArray` class. | | `__init__(self, array_type, items)` | Initializes a new instance of the `XmpArray` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | array_type | Gets the type of the XMP array. | ##### Methods | Method | Description | | :- | :- | | `from_address(, array, type)` | Creates an `XmpArray` instance form a string array. | | `from_address(, array, type)` | Creates an `XmpArray` instance form an integer array. | | `from_address(, array, type)` | Creates an `XmpArray` instance form a date array. | | `from_address(, array, type)` | Creates an `XmpArray` instance form a double array. | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Converts XMP value to the xml representation. | ### XmpArray constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray/__init__.md #### \_\_init\_\_(self, array_type, items) Initializes a new instance of the `XmpArray` class. ```python def __init__(self, array_type, items): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array_type | groupdocs.metadata.standards.xmp.XmpArrayType | Array type. | | items | list | Array items. | #### \_\_init\_\_(self, array_type, items) Initializes a new instance of the `XmpArray` class. ```python def __init__(self, array_type, items): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array_type | groupdocs.metadata.standards.xmp.XmpArrayType | Array type. | | items | list | Array items. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### array_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray/array_type.md #### array_type property Gets the type of the XMP array. ##### Definition: ```python @property def array_type(self): ... @array_type.setter def array_type(self, value): ... ``` ### from_address method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray/from_address.md #### from_address(, array, type) Creates an `XmpArray` instance form a string array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | #### from_address(, array, type) Creates an `XmpArray` instance form an integer array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | #### from_address(, array, type) Creates an `XmpArray` instance form a date array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | #### from_address(, array, type) Creates an `XmpArray` instance form a double array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray/get_xmp_representation.md #### get_xmp_representation(self) Converts XMP value to the xml representation. ##### Returns Returns String representation of XMP value. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparray/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### XmpArrayType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmparraytype.md #### XmpArrayType enumeration Represents array type in `XmpArray`. The XmpArrayType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNORDERED | An unordered array. | | ORDERED | An ordered array. | | ALTERNATIVE | An alternative array. | ### XmpBoolean class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpboolean.md #### XmpBoolean class Represents XMP Boolean basic type. **Inheritance:** `XmpBoolean` → `XmpValueBase` → `PropertyValue` The XmpBoolean type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, value)` | Initializes a new instance of the `XmpBoolean` class based on boolean value. | | `__init__(self)` | Initializes a new instance of the `XmpBoolean` class with default value. | | `__init__(self, value)` | Initializes a new instance of the `XmpBoolean` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | value | Gets the value. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### XmpBoolean constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpboolean/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpBoolean` class with default value. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpBoolean` class based on boolean value. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | bool | Boolean value. | #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpBoolean` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | System.String | The value. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid string value. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpboolean/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpboolean/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpboolean/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpboolean/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpboolean/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### XmpColorantBase class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase.md #### XmpColorantBase class A structure containing the characteristics of a colorant (swatch) used in a document. **Inheritance:** `XmpColorantBase` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpColorantBase type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | mode | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | swatch_name | Gets or sets the name of the swatch. | | color_type | Gets or sets the type of color. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### color_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/color_type.md #### color_type property Gets or sets the type of color. ##### Definition: ```python @property def color_type(self): ... @color_type.setter def color_type(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/mode.md #### mode property Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. ##### Definition: ```python @property def mode(self): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### swatch_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/swatch_name.md #### swatch_name property Gets or sets the name of the swatch. ##### Definition: ```python @property def swatch_name(self): ... @swatch_name.setter def swatch_name(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantbase/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpColorantCmyk class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk.md #### XmpColorantCmyk class Represents the CMYK Colorant. **Inheritance:** `XmpColorantCmyk` → `XmpColorantBase` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpColorantCmyk type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpColorantCmyk` class. | | `__init__(self, cyan, magenta, yellow, black)` | Initializes a new instance of the `XmpColorantCmyk` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | mode | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | swatch_name | Gets or sets the name of the swatch. | | color_type | Gets or sets the type of color. | | black | Gets or sets the black component. | | cyan | Gets or sets the cyan component. | | magenta | Gets or sets the magenta component. | | yellow | Gets or sets the yellow component. | | COLOR_VALUE_MAX | Color max value in CMYK colorant. | | COLOR_VALUE_MIN | Color min value in CMYK colorant. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpColorantCmyk constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpColorantCmyk` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, cyan, magenta, yellow, black) Initializes a new instance of the `XmpColorantCmyk` class. ```python def __init__(self, cyan, magenta, yellow, black): ... ``` | Parameter | Type | Description | | :- | :- | :- | | cyan | float | Cyan component. | | magenta | float | Magenta component. | | yellow | float | Yellow component. | | black | float | Black component. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### black property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/black.md #### black property Gets or sets the black component. ##### Definition: ```python @property def black(self): ... @black.setter def black(self, value): ... ``` ### color_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/color_type.md #### color_type property Gets or sets the type of color. ##### Definition: ```python @property def color_type(self): ... @color_type.setter def color_type(self, value): ... ``` ### COLOR_VALUE_MAX property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/color_value_max.md #### COLOR_VALUE_MAX property Color max value in CMYK colorant. ##### Definition: ```python f COLOR_VALUE_MAX ``` ### COLOR_VALUE_MIN property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/color_value_min.md #### COLOR_VALUE_MIN property Color min value in CMYK colorant. ##### Definition: ```python f COLOR_VALUE_MIN ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### cyan property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/cyan.md #### cyan property Gets or sets the cyan component. ##### Definition: ```python @property def cyan(self): ... @cyan.setter def cyan(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### magenta property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/magenta.md #### magenta property Gets or sets the magenta component. ##### Definition: ```python @property def magenta(self): ... @magenta.setter def magenta(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/mode.md #### mode property Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. ##### Definition: ```python @property def mode(self): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### swatch_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/swatch_name.md #### swatch_name property Gets or sets the name of the swatch. ##### Definition: ```python @property def swatch_name(self): ... @swatch_name.setter def swatch_name(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### yellow property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcmyk/yellow.md #### yellow property Gets or sets the yellow component. ##### Definition: ```python @property def yellow(self): ... @yellow.setter def yellow(self, value): ... ``` ### XmpColorantColorMode enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantcolormode.md #### XmpColorantColorMode enumeration Represents color mode in `XmpColorantBase`. The XmpColorantColorMode type exposes the following members: ##### Fields | Field | Description | | :- | :- | | UNDEFINED | The color mode is undefined. | | CMYK | CMYK color mode. | | RGB | RGB color mode. | | LAB | LAB color mode. | ### XmpColorantLab class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab.md #### XmpColorantLab class Represents the LAB Colorant. **Inheritance:** `XmpColorantLab` → `XmpColorantBase` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpColorantLab type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpColorantLab` class. | | `__init__(self, a, b, l)` | Initializes a new instance of the `XmpColorantLab` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | mode | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | swatch_name | Gets or sets the name of the swatch. | | color_type | Gets or sets the type of color. | | a | Gets or sets the A component. | | b | Gets or sets the B component. | | l | Gets or sets the L component. | | MIN_L | Component L min value. | | MAX_L | Component L max value. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpColorantLab constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpColorantLab` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, a, b, l) Initializes a new instance of the `XmpColorantLab` class. ```python def __init__(self, a, b, l): ... ``` | Parameter | Type | Description | | :- | :- | :- | | a | int | A component. | | b | int | B component. | | l | float | L component. | ### a property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/a.md #### a property Gets or sets the A component. ##### Definition: ```python @property def a(self): ... @a.setter def a(self, value): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### b property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/b.md #### b property Gets or sets the B component. ##### Definition: ```python @property def b(self): ... @b.setter def b(self, value): ... ``` ### color_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/color_type.md #### color_type property Gets or sets the type of color. ##### Definition: ```python @property def color_type(self): ... @color_type.setter def color_type(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### l property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/l.md #### l property Gets or sets the L component. ##### Definition: ```python @property def l(self): ... @l.setter def l(self, value): ... ``` ### MAX_L property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/max_l.md #### MAX_L property Component L max value. ##### Definition: ```python f MAX_L ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### MIN_L property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/min_l.md #### MIN_L property Component L min value. ##### Definition: ```python f MIN_L ``` ### mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/mode.md #### mode property Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. ##### Definition: ```python @property def mode(self): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### swatch_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/swatch_name.md #### swatch_name property Gets or sets the name of the swatch. ##### Definition: ```python @property def swatch_name(self): ... @swatch_name.setter def swatch_name(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantlab/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpColorantRgb class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb.md #### XmpColorantRgb class Represents the RGB Colorant. **Inheritance:** `XmpColorantRgb` → `XmpColorantBase` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpColorantRgb type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpColorantRgb` class. | | `__init__(self, red, green, blue)` | Initializes a new instance of the `XmpColorantRgb` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | mode | Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. | | swatch_name | Gets or sets the name of the swatch. | | color_type | Gets or sets the type of color. | | red | Gets or sets the red component. | | green | Gets or sets the green value. | | blue | Gets or sets the blue component. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpColorantRgb constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpColorantRgb` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, red, green, blue) Initializes a new instance of the `XmpColorantRgb` class. ```python def __init__(self, red, green, blue): ... ``` | Parameter | Type | Description | | :- | :- | :- | | red | int | Red component. | | green | int | Green component. | | blue | int | Blue component. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### blue property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/blue.md #### blue property Gets or sets the blue component. ##### Definition: ```python @property def blue(self): ... @blue.setter def blue(self, value): ... ``` ### color_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/color_type.md #### color_type property Gets or sets the type of color. ##### Definition: ```python @property def color_type(self): ... @color_type.setter def color_type(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### green property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/green.md #### green property Gets or sets the green value. ##### Definition: ```python @property def green(self): ... @green.setter def green(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### mode property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/mode.md #### mode property Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB. ##### Definition: ```python @property def mode(self): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### red property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/red.md #### red property Gets or sets the red component. ##### Definition: ```python @property def red(self): ... @red.setter def red(self, value): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### swatch_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/swatch_name.md #### swatch_name property Gets or sets the name of the swatch. ##### Definition: ```python @property def swatch_name(self): ... @swatch_name.setter def swatch_name(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolorantrgb/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpColorType enumeration Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcolortype.md #### XmpColorType enumeration Type of color in `XmpColorantBase`. The XmpColorType type exposes the following members: ##### Fields | Field | Description | | :- | :- | | PROCESS | The Process color type. | | SPOT | The Spot color type. | ### XmpComplexType class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype.md #### XmpComplexType class Represents base abstraction for XMP Complex value type. **Inheritance:** `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpComplexType type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ##### Remarks See more: XMP Specification Part 2, Chapter 1.2.2 ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextype/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpComplexTypeValue class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextypevalue.md #### XmpComplexTypeValue class Represents an XMP value containing a complex type instance. **Inheritance:** `XmpComplexTypeValue` → `XmpValueBase` → `PropertyValue` The XmpComplexTypeValue type exposes the following members: ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextypevalue/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextypevalue/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextypevalue/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpcomplextypevalue/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### XmpDate class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate.md #### XmpDate class Represents Date in XMP packet. **Inheritance:** `XmpDate` → `XmpValueBase` → `PropertyValue` The XmpDate type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, date_time)` | Initializes a new instance of the `XmpDate` class. | | `__init__(self, date_string)` | Initializes a new instance of the `XmpDate` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | value | Gets the value. | | format | Gets format string for current value. | | ISO_8601_FORMAT | The ISO 8601 (roundtrip) format string. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ##### Remarks A date-time value is represented using a subset of the formats as defined in Date and Time Formats: YYYY YYYY-MM YYYY-MM-DD YYYY-MM-DDThh:mmTZD YYYY-MM-DDThh:mm:ssTZD YYYY-MM-DDThh:mm:ss.sTZD ### XmpDate constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/__init__.md #### \_\_init\_\_(self, date_time) Initializes a new instance of the `XmpDate` class. ```python def __init__(self, date_time): ... ``` | Parameter | Type | Description | | :- | :- | :- | | date_time | System.DateTime | DateTime value. | #### \_\_init\_\_(self, date_string) Initializes a new instance of the `XmpDate` class. ```python def __init__(self, date_string): ... ``` | Parameter | Type | Description | | :- | :- | :- | | date_string | System.String | Date in string representation. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentException | Invalid date format. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/format.md #### format property Gets format string for current value. ##### Definition: ```python @property def format(self): ... ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### ISO_8601_FORMAT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/iso_8601_format.md #### ISO_8601_FORMAT property The ISO 8601 (roundtrip) format string. ##### Remarks See more: https://en.wikipedia.org/wiki/ISO_8601. ##### Definition: ```python f ISO_8601_FORMAT ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdate/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### XmpDimensions class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions.md #### XmpDimensions class Containing dimensions for a drawn object. **Inheritance:** `XmpDimensions` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpDimensions type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpDimensions` class. | | `__init__(self, width, height)` | Initializes a new instance of the `XmpDimensions` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | width | Gets or sets the width. | | height | Gets or sets the height. | | units | Gets or sets the units. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpDimensions constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpDimensions` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, width, height) Initializes a new instance of the `XmpDimensions` class. ```python def __init__(self, width, height): ... ``` | Parameter | Type | Description | | :- | :- | :- | | width | float | The width. | | height | float | The height. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/height.md #### height property Gets or sets the height. ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### units property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/units.md #### units property Gets or sets the units. ##### Example For example: inch, mm, pixel, pica, point etc. ##### Definition: ```python @property def units(self): ... @units.setter def units(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpdimensions/width.md #### width property Gets or sets the width. ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### XmpElementBase class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase.md #### XmpElementBase class Represents base XMP element that contains attributes. **Inheritance:** `XmpElementBase` → `CustomPackage` → `MetadataPackage` The XmpElementBase type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `set_attribute(self, attribute, value)` | Adds the attribute. | | `clear_attributes(self)` | Removes all attributes. | | `contains_attribute(self, attribute)` | Determines whether the element contains a specific attribute. | | `get_attribute(self, attribute)` | Gets the attribute. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_attributes method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/clear_attributes.md #### clear_attributes(self) Removes all attributes. ```python def clear_attributes(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contains_attribute method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/contains_attribute.md #### contains_attribute(self, attribute) Determines whether the element contains a specific attribute. ##### Returns true if attribute is exist; otherwise false. ```python def contains_attribute(self, attribute): ... ``` | Parameter | Type | Description | | :- | :- | :- | | attribute | System.String | Attribute name. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_attribute method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/get_attribute.md #### get_attribute(self, attribute) Gets the attribute. ##### Returns The attribute value. ```python def get_attribute(self, attribute): ... ``` | Parameter | Type | Description | | :- | :- | :- | | attribute | System.String | The attribute. | ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_attribute method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/set_attribute.md #### set_attribute(self, attribute, value) Adds the attribute. ```python def set_attribute(self, attribute, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | attribute | System.String | Attribute key. | | value | System.String | Attribute value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpelementbase/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpFont class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont.md #### XmpFont class A structure containing the characteristics of a font used in a document. **Inheritance:** `XmpFont` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpFont type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpFont` class. | | `__init__(self, font_family)` | Initializes a new instance of the `XmpFont` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | child_font_files | Gets or sets the list of file names for the fonts that make up a composite font. | | is_composite | Gets or sets a value indicating whether whether the font is composite. | | font_face | Gets or sets the font face name. | | font_family | Gets or sets the font family name. | | font_file_name | Gets or sets the font file name (not a complete path). | | font_name | Gets or sets the PostScript name of the font. | | font_type | Gets or sets the font type. | | version | Gets or sets the font version. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpFont constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpFont` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, font_family) Initializes a new instance of the `XmpFont` class. ```python def __init__(self, font_family): ... ``` | Parameter | Type | Description | | :- | :- | :- | | font_family | System.String | Font family. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### child_font_files property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/child_font_files.md #### child_font_files property Gets or sets the list of file names for the fonts that make up a composite font. ##### Definition: ```python @property def child_font_files(self): ... @child_font_files.setter def child_font_files(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### font_face property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/font_face.md #### font_face property Gets or sets the font face name. ##### Definition: ```python @property def font_face(self): ... @font_face.setter def font_face(self, value): ... ``` ### font_family property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/font_family.md #### font_family property Gets or sets the font family name. ##### Definition: ```python @property def font_family(self): ... @font_family.setter def font_family(self, value): ... ``` ### font_file_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/font_file_name.md #### font_file_name property Gets or sets the font file name (not a complete path). ##### Definition: ```python @property def font_file_name(self): ... @font_file_name.setter def font_file_name(self, value): ... ``` ### font_name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/font_name.md #### font_name property Gets or sets the PostScript name of the font. ##### Definition: ```python @property def font_name(self): ... @font_name.setter def font_name(self, value): ... ``` ### font_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/font_type.md #### font_type property Gets or sets the font type. ##### Remarks TrueType, Type 1, Open Type, and so on. ##### Definition: ```python @property def font_type(self): ... @font_type.setter def font_type(self, value): ... ``` ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### is_composite property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/is_composite.md #### is_composite property Gets or sets a value indicating whether whether the font is composite. ##### Definition: ```python @property def is_composite(self): ... @is_composite.setter def is_composite(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpfont/version.md #### version property Gets or sets the font version. ##### Remarks /version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### XmpGuid class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpguid.md #### XmpGuid class Represents XMP global unique identifier. **Inheritance:** `XmpGuid` → `XmpValueBase` → `PropertyValue` The XmpGuid type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, value)` | Initializes a new instance of the `XmpGuid` class. | | `__init__(self, value)` | Initializes a new instance of the `XmpGuid` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | value | Gets the value. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### XmpGuid constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpguid/__init__.md #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpGuid` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | System.String | The value. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid GUID value. | #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpGuid` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | System.Guid | The unique identifier. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpguid/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpguid/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpguid/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpguid/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpguid/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### XmpHeaderPI class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpheaderpi.md #### XmpHeaderPI class Represents XMP header processing instruction. The XmpHeaderPI type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpHeaderPI` class. | ##### Properties | Property | Description | | :- | :- | | guid | Represents Header GUID. | ##### Methods | Method | Description | | :- | :- | | `get_xmp_representation(self)` | Converts XMP value to the xml representation. | ### XmpHeaderPI constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpheaderpi/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpHeaderPI` class. ```python def __init__(self): ... ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpheaderpi/get_xmp_representation.md #### get_xmp_representation(self) Converts XMP value to the xml representation. ##### Returns Returns String representation of XMP value. ```python def get_xmp_representation(self): ... ``` ### guid property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpheaderpi/guid.md #### guid property Represents Header GUID. ##### Remarks The text of the header PI contains a GUID, making it unlikely to appear by accident in the data stream. ##### Definition: ```python @property def guid(self): ... ``` ### XmpInteger class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpinteger.md #### XmpInteger class Represents XMP Integer basic type. **Inheritance:** `XmpInteger` → `XmpValueBase` → `PropertyValue` The XmpInteger type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, value)` | Initializes a new instance of the `XmpInteger` class. | | `__init__(self, value)` | Initializes a new instance of the `XmpInteger` class. | | `__init__(self, value)` | Initializes a new instance of the `XmpInteger` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | value | Gets the value. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### XmpInteger constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpinteger/__init__.md #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpInteger` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | int | The value. | #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpInteger` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | int | The value. | #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpInteger` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | System.String | String value contained integer. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid string value. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpinteger/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpinteger/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpinteger/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpinteger/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpinteger/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### XmpJob class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob.md #### XmpJob class Represents Job. **Inheritance:** `XmpJob` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpJob type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpJob` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | id | Gets or sets unique id for the job. This field is a reference into some external job management system. | | name | Gets or sets informal name of the job. This name is for user display and informal systems. | | url | Gets or sets a file URL referencing an external job management file. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpJob constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpJob` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/id.md #### id property Gets or sets unique id for the job. This field is a reference into some external job management system. ##### Definition: ```python @property def id(self): ... @id.setter def id(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### name property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/name.md #### name property Gets or sets informal name of the job. This name is for user display and informal systems. ##### Definition: ```python @property def name(self): ... @name.setter def name(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### url property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpjob/url.md #### url property Gets or sets a file URL referencing an external job management file. ##### Definition: ```python @property def url(self): ... @url.setter def url(self, value): ... ``` ### XmpLangAlt class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt.md #### XmpLangAlt class Represents XMP Language Alternative. An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be unique among the items. **Inheritance:** `XmpLangAlt` → `XmpArray` → `XmpValueBase` → `PropertyValue` The XmpLangAlt type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, default_value)` | Initializes a new instance of the `XmpLangAlt` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | array_type | Gets the type of the XMP array. | | languages | Gets an array of all languages registered in the instance of `XmpLangAlt`. | ##### Methods | Method | Description | | :- | :- | | `from_address(, array, type)` | Creates an `XmpArray` instance form a string array. | | `from_address(, array, type)` | Creates an `XmpArray` instance form an integer array. | | `from_address(, array, type)` | Creates an `XmpArray` instance form a date array. | | `from_address(, array, type)` | Creates an `XmpArray` instance form a double array. | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Converts XMP value to the xml representation. | | `contains(self, language)` | Determines whether the `XmpLangAlt` contains the specified language. | ### XmpLangAlt constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/__init__.md #### \_\_init\_\_(self, default_value) Initializes a new instance of the `XmpLangAlt` class. ```python def __init__(self, default_value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | default_value | System.String | The default value. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### array_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/array_type.md #### array_type property Gets the type of the XMP array. ##### Definition: ```python @property def array_type(self): ... @array_type.setter def array_type(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/contains.md #### contains(self, language) Determines whether the `XmpLangAlt` contains the specified language. ##### Returns True if the `XmpLangAlt` contains an element with the specified language; otherwise, false. ```python def contains(self, language): ... ``` | Parameter | Type | Description | | :- | :- | :- | | language | System.String | The language to locate in the `XmpLangAlt`. | ### from_address method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/from_address.md #### from_address(, array, type) Creates an `XmpArray` instance form a string array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | #### from_address(, array, type) Creates an `XmpArray` instance form an integer array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | #### from_address(, array, type) Creates an `XmpArray` instance form a date array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | #### from_address(, array, type) Creates an `XmpArray` instance form a double array. ##### Returns An `XmpArray` containing all the elements from the original array. ```python @staticmethod def from_address(array, type): ... ``` | Parameter | Type | Description | | :- | :- | :- | | array | list | The array to create an `XmpArray` from. | | type | groupdocs.metadata.standards.xmp.XmpArrayType | The type of the `XmpArray`. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/get_xmp_representation.md #### get_xmp_representation(self) Converts XMP value to the xml representation. ##### Returns Returns String representation of XMP value. ```python def get_xmp_representation(self): ... ``` ### languages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/languages.md #### languages property Gets an array of all languages registered in the instance of `XmpLangAlt`. ##### Definition: ```python @property def languages(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmplangalt/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### XmpMeta class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta.md #### XmpMeta class Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF. **Inheritance:** `XmpMeta` → `XmpElementBase` → `CustomPackage` → `MetadataPackage` The XmpMeta type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpElementBase` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | adobe_xmp_toolkit | Gets Adobe XMP toolkit version. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `set_attribute(self, attribute, value)` | Adds an attribute. | | `clear_attributes(self)` | Removes all attributes. | | `contains_attribute(self, attribute)` | Determines whether the element contains a specific attribute. | | `get_attribute(self, attribute)` | Gets the attribute. | | `get_xmp_representation(self)` | Converts XMP value to the xml representation. | ### XmpMeta constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpElementBase` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### adobe_xmp_toolkit property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/adobe_xmp_toolkit.md #### adobe_xmp_toolkit property Gets Adobe XMP toolkit version. ##### Definition: ```python @property def adobe_xmp_toolkit(self): ... ``` ### clear_attributes method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/clear_attributes.md #### clear_attributes(self) Removes all attributes. ```python def clear_attributes(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contains_attribute method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/contains_attribute.md #### contains_attribute(self, attribute) Determines whether the element contains a specific attribute. ##### Returns true if attribute is exist; otherwise false. ```python def contains_attribute(self, attribute): ... ``` | Parameter | Type | Description | | :- | :- | :- | | attribute | System.String | Attribute name. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_attribute method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/get_attribute.md #### get_attribute(self, attribute) Gets the attribute. ##### Returns The attribute value. ```python def get_attribute(self, attribute): ... ``` | Parameter | Type | Description | | :- | :- | :- | | attribute | System.String | The attribute. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/get_xmp_representation.md #### get_xmp_representation(self) Converts XMP value to the xml representation. ##### Returns Returns String representation of XMP value. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_attribute method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/set_attribute.md #### set_attribute(self, attribute, value) Adds an attribute. ```python def set_attribute(self, attribute, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | attribute | System.String | The attribute. | | value | System.String | The value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmeta/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpMetadataContainer class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer.md #### XmpMetadataContainer class Represents a container for XMP metadata properties. **Inheritance:** `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpMetadataContainer type exposes the following members: ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpmetadatacontainer/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpNamespaces class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces.md #### XmpNamespaces class Contains namespaces used in `XmpPackage` and `XmpComplexType`. The XmpNamespaces type exposes the following members: ##### Properties | Property | Description | | :- | :- | | XML | Xml namespace. | | RDF | Resource definition framework namespace. | | BASIC_JOB | Basic Job Ticket namespace. | | CAMERA_RAW | Camera Raw namespace. | | DUBLIN_CORE | Dublin Core namespace. | | IPTC_4_XMP_IIM | IPTC IIM namespace. | | IPTC_4_XMP_CORE | IPTC Core namespace. | | IPTC_4_XMP_EXT | IPTC Extension namespace. | | XMP_BASIC | XMP Basic namespace. | | XMP_RIGHTS | XMP Rights Management namespace. | | XMP_MM | XMP digital asset management namespace. | | XMP_DM | XMP Dynamic Media namespace. | | PDF | Adobe PDF namespace. | | PHOTOSHOP | Adobe Photoshop namespace. | | PAGED_TEXT | XMP Paged-Text namespace. | | XMP_GRAPHICS | XMP graphics namespace. | | XMP_GRAPHICS_THUMBNAIL | XMP graphics namespace. | | XMP_TYPE_FONT | XMP Font type. | | XMP_TYPE_DIMENSIONS | XMP Dimensions type. | | XMP_TYPE_RESOURCE_REF | XMP ResourceRef URI. | | XMP_TYPE_RESOURCE_EVENT | XMP ResourceEvent URI. | | XMP_TYPE_VERSION | XMP Version. | | XMP_TYPE_JOB | XMP Job Ticket. | ### BASIC_JOB property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/basic_job.md #### BASIC_JOB property Basic Job Ticket namespace. ##### Definition: ```python f BASIC_JOB ``` ### CAMERA_RAW property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/camera_raw.md #### CAMERA_RAW property Camera Raw namespace. ##### Definition: ```python f CAMERA_RAW ``` ### DUBLIN_CORE property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/dublin_core.md #### DUBLIN_CORE property Dublin Core namespace. ##### Definition: ```python f DUBLIN_CORE ``` ### IPTC_4_XMP_CORE property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/iptc_4_xmp_core.md #### IPTC_4_XMP_CORE property IPTC Core namespace. ##### Definition: ```python f IPTC_4_XMP_CORE ``` ### IPTC_4_XMP_EXT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/iptc_4_xmp_ext.md #### IPTC_4_XMP_EXT property IPTC Extension namespace. ##### Definition: ```python f IPTC_4_XMP_EXT ``` ### IPTC_4_XMP_IIM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/iptc_4_xmp_iim.md #### IPTC_4_XMP_IIM property IPTC IIM namespace. ##### Definition: ```python f IPTC_4_XMP_IIM ``` ### PAGED_TEXT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/paged_text.md #### PAGED_TEXT property XMP Paged-Text namespace. ##### Definition: ```python f PAGED_TEXT ``` ### PDF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/pdf.md #### PDF property Adobe PDF namespace. ##### Definition: ```python f PDF ``` ### PHOTOSHOP property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/photoshop.md #### PHOTOSHOP property Adobe Photoshop namespace. ##### Definition: ```python f PHOTOSHOP ``` ### RDF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/rdf.md #### RDF property Resource definition framework namespace. ##### Definition: ```python f RDF ``` ### XML property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xml.md #### XML property Xml namespace. ##### Definition: ```python f XML ``` ### XMP_BASIC property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_basic.md #### XMP_BASIC property XMP Basic namespace. ##### Definition: ```python f XMP_BASIC ``` ### XMP_DM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_dm.md #### XMP_DM property XMP Dynamic Media namespace. ##### Definition: ```python f XMP_DM ``` ### XMP_GRAPHICS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_graphics.md #### XMP_GRAPHICS property XMP graphics namespace. ##### Definition: ```python f XMP_GRAPHICS ``` ### XMP_GRAPHICS_THUMBNAIL property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_graphics_thumbnail.md #### XMP_GRAPHICS_THUMBNAIL property XMP graphics namespace. ##### Definition: ```python f XMP_GRAPHICS_THUMBNAIL ``` ### XMP_MM property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_mm.md #### XMP_MM property XMP digital asset management namespace. ##### Definition: ```python f XMP_MM ``` ### XMP_RIGHTS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_rights.md #### XMP_RIGHTS property XMP Rights Management namespace. ##### Definition: ```python f XMP_RIGHTS ``` ### XMP_TYPE_DIMENSIONS property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_type_dimensions.md #### XMP_TYPE_DIMENSIONS property XMP Dimensions type. ##### Definition: ```python f XMP_TYPE_DIMENSIONS ``` ### XMP_TYPE_FONT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_type_font.md #### XMP_TYPE_FONT property XMP Font type. ##### Definition: ```python f XMP_TYPE_FONT ``` ### XMP_TYPE_JOB property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_type_job.md #### XMP_TYPE_JOB property XMP Job Ticket. ##### Definition: ```python f XMP_TYPE_JOB ``` ### XMP_TYPE_RESOURCE_EVENT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_type_resource_event.md #### XMP_TYPE_RESOURCE_EVENT property XMP ResourceEvent URI. ##### Definition: ```python f XMP_TYPE_RESOURCE_EVENT ``` ### XMP_TYPE_RESOURCE_REF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_type_resource_ref.md #### XMP_TYPE_RESOURCE_REF property XMP ResourceRef URI. ##### Definition: ```python f XMP_TYPE_RESOURCE_REF ``` ### XMP_TYPE_VERSION property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpnamespaces/xmp_type_version.md #### XMP_TYPE_VERSION property XMP Version. ##### Definition: ```python f XMP_TYPE_VERSION ``` ### XmpPackage class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage.md #### XmpPackage class Represents base abstraction for XMP package. **Inheritance:** `XmpPackage` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpPackage type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, prefix, namespace_uri)` | Initializes a new instance of the `XmpPackage` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefix | Gets the xmlns prefix. | | namespace_uri | Gets the namespace URI. | | xml_namespace | Gets the XML namespace. | ##### Methods | Method | Description | | :- | :- | | `set(self, name, value)` | Sets string property. | | `set(self, name, value)` | Sets integer property. | | `set(self, name, value)` | Sets boolean property. | | `set(self, name, value)` | Sets DateTime property. | | `set(self, name, value)` | Sets double property. | | `set(self, name, value)` | Sets the value inherited from `XmpValueBase` . | | `set(self, name, value)` | Sets the value inherited from `XmpComplexType` . | | `set(self, name, value)` | Sets the value inherited from `XmpArray` . | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Converts the XMP value to the XML representation. | | `remove(self, name)` | Removes the property with the specified name. | | `clear(self)` | Removes all XMP properties. | ##### Remarks **Learn more** | | | ##### Example This example demonstrates how to add a custom XMP package to a file of any supported format. ### XmpPackage constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/__init__.md #### \_\_init\_\_(self, prefix, namespace_uri) Initializes a new instance of the `XmpPackage` class. ```python def __init__(self, prefix, namespace_uri): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | XMP prefix, for example dc:title. | | namespace_uri | System.String | Namespace uri. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/clear.md #### clear(self) Removes all XMP properties. ```python def clear(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/get_xmp_representation.md #### get_xmp_representation(self) Converts the XMP value to the XML representation. ##### Returns A String representation of the XMP value. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uri property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/namespace_uri.md #### namespace_uri property Gets the namespace URI. ##### Definition: ```python @property def namespace_uri(self): ... @namespace_uri.setter def namespace_uri(self, value): ... ``` ### prefix property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/prefix.md #### prefix property Gets the xmlns prefix. ##### Definition: ```python @property def prefix(self): ... @prefix.setter def prefix(self, value): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/remove.md #### remove(self, name) Removes the property with the specified name. ##### Returns True if the specified metadata property is found and removed; otherwise, false. ```python def remove(self, name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/set.md #### set(self, name, value) Sets string property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.String | XMP metadata property value. | #### set(self, name, value) Sets integer property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | int | XMP metadata property value. | #### set(self, name, value) Sets boolean property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | bool | XMP metadata property value. | #### set(self, name, value) Sets DateTime property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | System.DateTime | XMP metadata property value. | #### set(self, name, value) Sets double property. ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | float | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpValueBase` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpValueBase | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpComplexType` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpComplexType | XMP metadata property value. | #### set(self, name, value) Sets the value inherited from `XmpArray` . ```python def set(self, name, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | name | System.String | XMP metadata property name. | | value | groupdocs.metadata.standards.xmp.XmpArray | XMP metadata property value. | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### xml_namespace property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/xml_namespace.md #### xml_namespace property Gets the XML namespace. ##### Definition: ```python @property def xml_namespace(self): ... ``` ### XmpPacketWrapper class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper.md #### XmpPacketWrapper class Contains serialized XMP package including header and trailer. A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element. **Inheritance:** `XmpPacketWrapper` → `MetadataPackage` The XmpPacketWrapper type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, header, trailer, xmp_meta)` | Initializes a new instance of the `XmpPacketWrapper` class. | | `__init__(self)` | Initializes a new instance of the `XmpPacketWrapper` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | header_pi | Gets or sets the header processing instruction. | | meta | Gets or sets the XMP meta. | | trailer_pi | Gets or sets the trailer processing instruction. | | packages | Gets array of `XmpPackage` inside XMP. | | package_count | Gets the number of packages inside the XMP structure. | | schemes | Provides access to known XMP schemas. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `add_package(self, package)` | Adds the package. | | `get_package(self, namespace_uri)` | Gets package by namespace uri. | | `contains_package(self, namespace_uri)` | Determines whether package is exist in XMP wrapper. | | `remove_package(self, package)` | Removes the specified package. | | `clear_packages(self)` | Removes all `XmpPackage` inside XMP. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ##### Remarks **Learn more** | | | ##### Example This example shows how to update XMP metadata properties. ### XmpPacketWrapper constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpPacketWrapper` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, header, trailer, xmp_meta) Initializes a new instance of the `XmpPacketWrapper` class. ```python def __init__(self, header, trailer, xmp_meta): ... ``` | Parameter | Type | Description | | :- | :- | :- | | header | groupdocs.metadata.standards.xmp.XmpHeaderPI | XMP header processing instruction. | | trailer | groupdocs.metadata.standards.xmp.XmpTrailerPI | XMP trailer processing instruction. | | xmp_meta | groupdocs.metadata.standards.xmp.XmpMeta | Instance of `XmpMeta`. | ### add_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/add_package.md #### add_package(self, package) Adds the package. ```python def add_package(self, package): ... ``` | Parameter | Type | Description | | :- | :- | :- | | package | groupdocs.metadata.standards.xmp.XmpPackage | The package. | ##### Example This example demonstrates how to add a custom XMP package to a file of any supported format. ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### clear_packages method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/clear_packages.md #### clear_packages(self) Removes all `XmpPackage` inside XMP. ```python def clear_packages(self): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### contains_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/contains_package.md #### contains_package(self, namespace_uri) Determines whether package is exist in XMP wrapper. ##### Returns `true` if package found by `namespace_uri`; otherwise `false`. ```python def contains_package(self, namespace_uri): ... ``` | Parameter | Type | Description | | :- | :- | :- | | namespace_uri | System.String | Package namespace URI. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Namespace URI could not be null. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/get_package.md #### get_package(self, namespace_uri) Gets package by namespace uri. ##### Returns Appropriate `XmpPackage` if package found by `namespace_uri`; otherwise null. ```python def get_package(self, namespace_uri): ... ``` | Parameter | Type | Description | | :- | :- | :- | | namespace_uri | System.String | Package schema uri. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Namespace URI could not be null. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### header_pi property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/header_pi.md #### header_pi property Gets or sets the header processing instruction. ##### Definition: ```python @property def header_pi(self): ... @header_pi.setter def header_pi(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### meta property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/meta.md #### meta property Gets or sets the XMP meta. ##### Definition: ```python @property def meta(self): ... @meta.setter def meta(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### package_count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/package_count.md #### package_count property Gets the number of packages inside the XMP structure. ##### Definition: ```python @property def package_count(self): ... ``` ### packages property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/packages.md #### packages property Gets array of `XmpPackage` inside XMP. ##### Definition: ```python @property def packages(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/remove_package.md #### remove_package(self, package) Removes the specified package. ```python def remove_package(self, package): ... ``` | Parameter | Type | Description | | :- | :- | :- | | package | groupdocs.metadata.standards.xmp.XmpPackage | The package. | ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### schemes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/schemes.md #### schemes property Provides access to known XMP schemas. ##### Definition: ```python @property def schemes(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### trailer_pi property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/trailer_pi.md #### trailer_pi property Gets or sets the trailer processing instruction. ##### Definition: ```python @property def trailer_pi(self): ... @trailer_pi.setter def trailer_pi(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmppacketwrapper/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpRational class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational.md #### XmpRational class Represents XMP XmpRational. **Inheritance:** `XmpRational` → `XmpValueBase` → `PropertyValue` The XmpRational type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, numerator, denominator)` | Initializes a new instance of the `XmpRational` class. | | `__init__(self, value)` | Initializes a new instance of the `XmpBoolean` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | numerator | Gets numerator. | | denominator | Gets denominator | | double_value | Gets value of rational type presented in double format. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### XmpRational constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/__init__.md #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpBoolean` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | System.String | The value. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid string value. | #### \_\_init\_\_(self, numerator, denominator) Initializes a new instance of the `XmpRational` class. ```python def __init__(self, numerator, denominator): ... ``` | Parameter | Type | Description | | :- | :- | :- | | numerator | int | The numerator. | | denominator | int | The denominator. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### denominator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/denominator.md #### denominator property Gets denominator ##### Definition: ```python @property def denominator(self): ... @denominator.setter def denominator(self, value): ... ``` ### double_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/double_value.md #### double_value property Gets value of rational type presented in double format. ##### Definition: ```python @property def double_value(self): ... ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### numerator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/numerator.md #### numerator property Gets numerator. ##### Definition: ```python @property def numerator(self): ... @numerator.setter def numerator(self, value): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprational/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### XmpReal class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpreal.md #### XmpReal class Represents XMP Real. **Inheritance:** `XmpReal` → `XmpValueBase` → `PropertyValue` The XmpReal type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, value)` | Initializes a new instance of the `XmpReal` class. | | `__init__(self, value)` | Initializes a new instance of the `XmpReal` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | value | Gets the value. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### XmpReal constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpreal/__init__.md #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpReal` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | float | Double value. | #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpReal` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | System.String | The value. | ##### Exceptions | Exception | Description | | :- | :- | | ArgumentNullException | Value could not be null. | | ArgumentException | Invalid value. Should be double. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpreal/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpreal/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpreal/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpreal/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpreal/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### XmpRenditionClass class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass.md #### XmpRenditionClass class Represents XMP RenditionClass. **Inheritance:** `XmpRenditionClass` → `XmpText` → `XmpValueBase` → `PropertyValue` The XmpRenditionClass type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, tokens)` | Initializes a new instance of the `XmpRenditionClass` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | value | Gets the value. | | DEFAULT | The master resource; no additional tokens allowed. | | DRAFT | A review rendition. | | LOW_RES | A low-resolution, full-size stand-in. | | PROOF | A review proof. | | SCREEN | Screen resolution or Web rendition. | | THUMBNAIL | A simplified or reduced preview. Additional tokens can provide characteristics. The recommended order is thumbnail:format:size:colorspace. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### XmpRenditionClass constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/__init__.md #### \_\_init\_\_(self, tokens) Initializes a new instance of the `XmpRenditionClass` class. ```python def __init__(self, tokens): ... ``` | Parameter | Type | Description | | :- | :- | :- | | tokens | list | The token. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### DEFAULT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/default.md #### DEFAULT property The master resource; no additional tokens allowed. ##### Definition: ```python f DEFAULT ``` ### DRAFT property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/draft.md #### DRAFT property A review rendition. ##### Definition: ```python f DRAFT ``` ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### LOW_RES property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/low_res.md #### LOW_RES property A low-resolution, full-size stand-in. ##### Definition: ```python f LOW_RES ``` ### PROOF property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/proof.md #### PROOF property A review proof. ##### Definition: ```python f PROOF ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### SCREEN property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/screen.md #### SCREEN property Screen resolution or Web rendition. ##### Definition: ```python f SCREEN ``` ### THUMBNAIL property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/thumbnail.md #### THUMBNAIL property A simplified or reduced preview. Additional tokens can provide characteristics. The recommended order is thumbnail:format:size:colorspace. ##### Definition: ```python f THUMBNAIL ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmprenditionclass/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### XmpResourceEvent class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent.md #### XmpResourceEvent class Represents a high-level event that occurred in the processing of a resource. **Inheritance:** `XmpResourceEvent` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpResourceEvent type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpResourceEvent` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | action | Gets or sets the action that occurred. | | changed | Gets or sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. | | instance_id | Gets or sets the value of the xmpMM:InstanceID property for the modified (output) resource. | | parameters | Gets or sets the additional description of the action. | | software_agent | Gets or sets the software agent that performed the action. | | when | Gets or sets the timestamp of when the action occurred. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpResourceEvent constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpResourceEvent` class. ```python def __init__(self): ... ``` ### action property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/action.md #### action property Gets or sets the action that occurred. ##### Definition: ```python @property def action(self): ... @action.setter def action(self, value): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### changed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/changed.md #### changed property Gets or sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history. ##### Definition: ```python @property def changed(self): ... @changed.setter def changed(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### instance_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/instance_id.md #### instance_id property Gets or sets the value of the xmpMM:InstanceID property for the modified (output) resource. ##### Definition: ```python @property def instance_id(self): ... @instance_id.setter def instance_id(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### parameters property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/parameters.md #### parameters property Gets or sets the additional description of the action. ##### Definition: ```python @property def parameters(self): ... @parameters.setter def parameters(self, value): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### software_agent property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/software_agent.md #### software_agent property Gets or sets the software agent that performed the action. ##### Definition: ```python @property def software_agent(self): ... @software_agent.setter def software_agent(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### when property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceevent/when.md #### when property Gets or sets the timestamp of when the action occurred. ##### Definition: ```python @property def when(self): ... @when.setter def when(self, value): ... ``` ### XmpResourceRef class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref.md #### XmpResourceRef class Represents a multiple part reference to a resource. Used to indicate prior versions, originals of renditions, originals for derived documents, and so on. **Inheritance:** `XmpResourceRef` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpResourceRef type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpResourceRef` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | alternate_paths | Gets or sets the referenced resource’s fallback file paths or URLs. | | document_id | Gets or sets the value of the xmpMM:DocumentID property from the referenced resource. | | file_path | Gets or sets the referenced resource’s file path or URL. | | instance_id | Gets or sets the value of the xmpMM:InstanceID property from the referenced resource. | | last_modify_date | Gets or sets the value of stEvt:when for the last time the file was written. | | manager | Gets or sets the referenced resource’s xmpMM:Manager. | | manager_variant | Gets or sets the referenced resource’s xmpMM:Manager. | | manage_to | Gets or sets the referenced resource’s xmpMM:ManageTo. | | manage_ui | Gets or sets the referenced resource’s xmpMM:ManageUI. | | part_mapping | Gets or sets the name or URI of a mapping function used to map the fromPart to the toPart. | | rendition_class | Gets or sets the value of the xmpMM:RenditionClass property from the referenced resource. | | rendition_params | Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. | | version_id | Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpResourceRef constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpResourceRef` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### alternate_paths property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/alternate_paths.md #### alternate_paths property Gets or sets the referenced resource’s fallback file paths or URLs. ##### Definition: ```python @property def alternate_paths(self): ... @alternate_paths.setter def alternate_paths(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### document_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/document_id.md #### document_id property Gets or sets the value of the xmpMM:DocumentID property from the referenced resource. ##### Definition: ```python @property def document_id(self): ... @document_id.setter def document_id(self, value): ... ``` ### file_path property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/file_path.md #### file_path property Gets or sets the referenced resource’s file path or URL. ##### Definition: ```python @property def file_path(self): ... @file_path.setter def file_path(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### instance_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/instance_id.md #### instance_id property Gets or sets the value of the xmpMM:InstanceID property from the referenced resource. ##### Definition: ```python @property def instance_id(self): ... @instance_id.setter def instance_id(self, value): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### last_modify_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/last_modify_date.md #### last_modify_date property Gets or sets the value of stEvt:when for the last time the file was written. ##### Definition: ```python @property def last_modify_date(self): ... @last_modify_date.setter def last_modify_date(self, value): ... ``` ### manage_to property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/manage_to.md #### manage_to property Gets or sets the referenced resource’s xmpMM:ManageTo. ##### Definition: ```python @property def manage_to(self): ... @manage_to.setter def manage_to(self, value): ... ``` ### manage_ui property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/manage_ui.md #### manage_ui property Gets or sets the referenced resource’s xmpMM:ManageUI. ##### Definition: ```python @property def manage_ui(self): ... @manage_ui.setter def manage_ui(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/manager.md #### manager property Gets or sets the referenced resource’s xmpMM:Manager. ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### manager_variant property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/manager_variant.md #### manager_variant property Gets or sets the referenced resource’s xmpMM:Manager. ##### Definition: ```python @property def manager_variant(self): ... @manager_variant.setter def manager_variant(self, value): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### part_mapping property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/part_mapping.md #### part_mapping property Gets or sets the name or URI of a mapping function used to map the fromPart to the toPart. ##### Definition: ```python @property def part_mapping(self): ... @part_mapping.setter def part_mapping(self, value): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### rendition_class property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/rendition_class.md #### rendition_class property Gets or sets the value of the xmpMM:RenditionClass property from the referenced resource. ##### Definition: ```python @property def rendition_class(self): ... @rendition_class.setter def rendition_class(self, value): ... ``` ### rendition_params property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/rendition_params.md #### rendition_params property Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. ##### Definition: ```python @property def rendition_params(self): ... @rendition_params.setter def rendition_params(self, value): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpresourceref/version_id.md #### version_id property Gets or sets the value of the xmpMM:RenditionParams property from the referenced resource. ##### Definition: ```python @property def version_id(self): ... @version_id.setter def version_id(self, value): ... ``` ### XmpSchemes class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes.md #### XmpSchemes class Provides access to known XMP schemes. The XmpSchemes type exposes the following members: ##### Properties | Property | Description | | :- | :- | | camera_raw | Gets or sets the Camera Raw scheme. | | dublin_core | Gets or sets the Dublin Core scheme. | | paged_text | Gets or sets the PagedText scheme. | | pdf | Gets or sets the PDF scheme. | | photoshop | Gets or sets the Photoshop scheme. | | xmp_basic | Gets or sets the XmpBasic scheme. | | xmp_dynamic_media | Gets or sets the XmpDynamicMedia scheme. | | xmp_media_management | Gets or sets the XmpMediaManagement schema. | | xmp_rights_management | Gets or sets the XmpRightsManagement schema. | | basic_job_ticket | Gets or sets the BasicJobTicket scheme. | ##### Example This example demonstrates how to extract XMP metadata from a file. ### basic_job_ticket property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/basic_job_ticket.md #### basic_job_ticket property Gets or sets the BasicJobTicket scheme. ##### Definition: ```python @property def basic_job_ticket(self): ... @basic_job_ticket.setter def basic_job_ticket(self, value): ... ``` ### camera_raw property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/camera_raw.md #### camera_raw property Gets or sets the Camera Raw scheme. ##### Definition: ```python @property def camera_raw(self): ... @camera_raw.setter def camera_raw(self, value): ... ``` ### dublin_core property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/dublin_core.md #### dublin_core property Gets or sets the Dublin Core scheme. ##### Definition: ```python @property def dublin_core(self): ... @dublin_core.setter def dublin_core(self, value): ... ``` ### paged_text property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/paged_text.md #### paged_text property Gets or sets the PagedText scheme. ##### Definition: ```python @property def paged_text(self): ... @paged_text.setter def paged_text(self, value): ... ``` ### pdf property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/pdf.md #### pdf property Gets or sets the PDF scheme. ##### Definition: ```python @property def pdf(self): ... @pdf.setter def pdf(self, value): ... ``` ### photoshop property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/photoshop.md #### photoshop property Gets or sets the Photoshop scheme. ##### Definition: ```python @property def photoshop(self): ... @photoshop.setter def photoshop(self, value): ... ``` ### xmp_basic property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/xmp_basic.md #### xmp_basic property Gets or sets the XmpBasic scheme. ##### Definition: ```python @property def xmp_basic(self): ... @xmp_basic.setter def xmp_basic(self, value): ... ``` ### xmp_dynamic_media property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/xmp_dynamic_media.md #### xmp_dynamic_media property Gets or sets the XmpDynamicMedia scheme. ##### Definition: ```python @property def xmp_dynamic_media(self): ... @xmp_dynamic_media.setter def xmp_dynamic_media(self, value): ... ``` ### xmp_media_management property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/xmp_media_management.md #### xmp_media_management property Gets or sets the XmpMediaManagement schema. ##### Definition: ```python @property def xmp_media_management(self): ... @xmp_media_management.setter def xmp_media_management(self, value): ... ``` ### xmp_rights_management property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpschemes/xmp_rights_management.md #### xmp_rights_management property Gets or sets the XmpRightsManagement schema. ##### Definition: ```python @property def xmp_rights_management(self): ... @xmp_rights_management.setter def xmp_rights_management(self, value): ... ``` ### XmpText class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptext.md #### XmpText class Represents XMP Text basic type. **Inheritance:** `XmpText` → `XmpValueBase` → `PropertyValue` The XmpText type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, value)` | Initializes a new instance of the `XmpText` class. | ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | | value | Gets the value. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### XmpText constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptext/__init__.md #### \_\_init\_\_(self, value) Initializes a new instance of the `XmpText` class. ```python def __init__(self, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value | System.String | The value. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptext/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptext/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptext/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptext/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptext/value.md #### value property Gets the value. ##### Definition: ```python @property def value(self): ... ``` ### XmpThumbnail class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail.md #### XmpThumbnail class Represents a thumbnail image for a file. **Inheritance:** `XmpThumbnail` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpThumbnail type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpThumbnail` class. | | `__init__(self, width, height)` | Initializes a new instance of the `XmpThumbnail` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | width | Gets or sets the image width in pixels. | | height | Gets or sets the image height in pixels. | | image_base64 | Gets or sets the full thumbnail image data, converted to base 64 notation. | | image_data | Gets the image data. | | format | Gets or sets the image format. Defined value: JPEG. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpThumbnail constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpThumbnail` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, width, height) Initializes a new instance of the `XmpThumbnail` class. ```python def __init__(self, width, height): ... ``` | Parameter | Type | Description | | :- | :- | :- | | width | int | The width. | | height | int | The height. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/format.md #### format property Gets or sets the image format. Defined value: JPEG. ##### Definition: ```python @property def format(self): ... @format.setter def format(self, value): ... ``` ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### height property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/height.md #### height property Gets or sets the image height in pixels. ##### Definition: ```python @property def height(self): ... @height.setter def height(self, value): ... ``` ### image_base64 property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/image_base64.md #### image_base64 property Gets or sets the full thumbnail image data, converted to base 64 notation. ##### Definition: ```python @property def image_base64(self): ... @image_base64.setter def image_base64(self, value): ... ``` ### image_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/image_data.md #### image_data property Gets the image data. ##### Definition: ```python @property def image_data(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### width property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpthumbnail/width.md #### width property Gets or sets the image width in pixels. ##### Definition: ```python @property def width(self): ... @width.setter def width(self, value): ... ``` ### XmpTime class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime.md #### XmpTime class Representation of a time value in seconds. **Inheritance:** `XmpTime` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpTime type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpTime` class. | | `__init__(self, scale, value)` | Initializes a new instance of the `XmpTime` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | scale | Gets or sets the scale for the time value. | | value | Gets or sets the time value in the specified scale. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpTime constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpTime` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, scale, value) Initializes a new instance of the `XmpTime` class. ```python def __init__(self, scale, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | scale | groupdocs.metadata.standards.xmp.XmpRational | The scale. | | value | int | The value. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### scale property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/scale.md #### scale property Gets or sets the scale for the time value. ##### Definition: ```python @property def scale(self): ... @scale.setter def scale(self, value): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptime/value.md #### value property Gets or sets the time value in the specified scale. ##### Definition: ```python @property def value(self): ... @value.setter def value(self, value): ... ``` ### XmpTimecode class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode.md #### XmpTimecode class Represents a timecode value in a video. **Inheritance:** `XmpTimecode` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpTimecode type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpTimecode` class. | | `__init__(self, format, time_value)` | Initializes a new instance of the `XmpTimecode` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | time_format | Gets or sets the format used in the time value. | | time_value | Gets or sets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | | `set_time_format(self, time_format)` | Sets the time format. | ### XmpTimecode constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpTimecode` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, format, time_value) Initializes a new instance of the `XmpTimecode` class. ```python def __init__(self, format, time_value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | format | groupdocs.metadata.standards.xmp.schemes.XmpTimeFormat | Time format. | | time_value | System.String | Time value. | ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### set_time_format method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/set_time_format.md #### set_time_format(self, time_format) Sets the time format. ```python def set_time_format(self, time_format): ... ``` | Parameter | Type | Description | | :- | :- | :- | | time_format | groupdocs.metadata.standards.xmp.schemes.XmpTimeFormat | The time format. | ### time_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/time_format.md #### time_format property Gets or sets the format used in the time value. ##### Definition: ```python @property def time_format(self): ... @time_format.setter def time_format(self, value): ... ``` ### time_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/time_value.md #### time_value property Gets or sets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff ##### Definition: ```python @property def time_value(self): ... @time_value.setter def time_value(self, value): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptimecode/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### XmpTrailerPI class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptrailerpi.md #### XmpTrailerPI class Represents XMP trailer processing instruction. The XmpTrailerPI type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self, is_writable)` | Initializes a new instance of the `XmpTrailerPI` class. | | `__init__(self)` | Initializes a new instance of the `XmpTrailerPI` class. | ##### Properties | Property | Description | | :- | :- | | is_writable | Indicates whether form may be modified in-place. | ##### Methods | Method | Description | | :- | :- | | `get_xmp_representation(self)` | Converts XMP value to the xml representation. | ##### Remarks The end="w" or end="r" portion shall be used by packet scanning processors to determine whether the XMP may be modified in-place. ##### Example Allowed forms of the trailer PI: ### XmpTrailerPI constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptrailerpi/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpTrailerPI` class. ```python def __init__(self): ... ``` #### \_\_init\_\_(self, is_writable) Initializes a new instance of the `XmpTrailerPI` class. ```python def __init__(self, is_writable): ... ``` | Parameter | Type | Description | | :- | :- | :- | | is_writable | bool | Indicates whether trailer is writable. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptrailerpi/get_xmp_representation.md #### get_xmp_representation(self) Converts XMP value to the xml representation. ##### Returns Returns String representation of XMP value. ```python def get_xmp_representation(self): ... ``` ### is_writable property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmptrailerpi/is_writable.md #### is_writable property Indicates whether form may be modified in-place. ##### Definition: ```python @property def is_writable(self): ... ``` ### XmpValueBase class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpvaluebase.md #### XmpValueBase class Represents base XMP value. **Inheritance:** `XmpValueBase` → `PropertyValue` The XmpValueBase type exposes the following members: ##### Properties | Property | Description | | :- | :- | | type | Gets the `MetadataPropertyType`. | | raw_value | Gets the raw value. | ##### Methods | Method | Description | | :- | :- | | `accept_value(self, value_acceptor)` | Extracts the property value using a custom `ValueAcceptor`. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | ### accept_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpvaluebase/accept_value.md #### accept_value(self, value_acceptor) Extracts the property value using a custom `ValueAcceptor`. ```python def accept_value(self, value_acceptor): ... ``` | Parameter | Type | Description | | :- | :- | :- | | value_acceptor | groupdocs.metadata.common.ValueAcceptor | An acceptor that extracts the value. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpvaluebase/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### raw_value property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpvaluebase/raw_value.md #### raw_value property Gets the raw value. ##### Definition: ```python @property def raw_value(self): ... @raw_value.setter def raw_value(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpvaluebase/type.md #### type property Gets the `MetadataPropertyType`. ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### XmpVersion class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion.md #### XmpVersion class Represents a version of a document. **Inheritance:** `XmpVersion` → `XmpComplexType` → `XmpMetadataContainer` → `CustomPackage` → `MetadataPackage` The XmpVersion type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | `__init__(self)` | Initializes a new instance of the `XmpVersion` class. | ##### Properties | Property | Description | | :- | :- | | metadata_type | Gets the metadata type. | | keys | Gets a collection of the metadata property names. | | property_descriptors | Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. | | count | Gets the number of metadata properties. | | prefixes | Gets the namespace prefixes that are used in the `XmpComplexType` instance. | | namespace_uris | Gets the namespace URIs that are used in the `XmpComplexType` instance. | | comments | Gets or sets the comments concerning what was changed. | | event | Gets or sets the high-level, formal description of what operation the user performed. | | modifier | Gets or sets the person who modified this version. | | modify_date | Gets or sets the date on which this version was checked in. | | version_number | Gets or sets the new version number. | ##### Methods | Method | Description | | :- | :- | | `contains(self, property_name)` | Determines whether the package contains a metadata property with the specified name. | | `find_properties(self, specification)` | Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well. | | `update_properties(self, specification, value)` | Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well. | | `remove_properties(self, specification)` | Removes metadata properties satisfying a specification. | | `add_properties(self, specification, value)` | Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well. | | `set_properties(self, specification, value)` | Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package. | | `sanitize(self)` | Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well. | | `get_xmp_representation(self)` | Returns string contained value in XMP format. | | `get_namespace_uri(self, prefix)` | Gets the namespace URI associated with the specified prefix. | ### XmpVersion constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `XmpVersion` class. ```python def __init__(self): ... ``` ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/add_properties.md #### add_properties(self, specification, value) Adds known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def add_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A value for the picked properties. | ### comments property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/comments.md #### comments property Gets or sets the comments concerning what was changed. ##### Definition: ```python @property def comments(self): ... @comments.setter def comments(self, value): ... ``` ### contains method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/contains.md #### contains(self, property_name) Determines whether the package contains a metadata property with the specified name. ##### Returns True if the package contains a property with the specified name; otherwise, false. ```python def contains(self, property_name): ... ``` | Parameter | Type | Description | | :- | :- | :- | | property_name | System.String | The name of the property to locate in the package. | ### count property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/count.md #### count property Gets the number of metadata properties. ##### Definition: ```python @property def count(self): ... ``` ### event property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/event.md #### event property Gets or sets the high-level, formal description of what operation the user performed. ##### Definition: ```python @property def event(self): ... @event.setter def event(self, value): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/find_properties.md #### find_properties(self, specification) Finds the metadata properties satisfying a specification. The search is recursive so it affects all nested packages as well. ##### Returns A collection that contains properties from the package that satisfy the condition. ```python def find_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A function to test each metadata property for a condition. | ### get_namespace_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/get_namespace_uri.md #### get_namespace_uri(self, prefix) Gets the namespace URI associated with the specified prefix. ##### Returns The associated namespace URI if the prefix is registered; otherwise, null. ```python def get_namespace_uri(self, prefix): ... ``` | Parameter | Type | Description | | :- | :- | :- | | prefix | System.String | The prefix of the namespace to get. | ### get_xmp_representation method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/get_xmp_representation.md #### get_xmp_representation(self) Returns string contained value in XMP format. ##### Returns String contained XMP representation. ```python def get_xmp_representation(self): ... ``` ### keys property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/keys.md #### keys property Gets a collection of the metadata property names. ##### Definition: ```python @property def keys(self): ... ``` ### metadata_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/metadata_type.md #### metadata_type property Gets the metadata type. ##### Definition: ```python @property def metadata_type(self): ... @metadata_type.setter def metadata_type(self, value): ... ``` ### modifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/modifier.md #### modifier property Gets or sets the person who modified this version. ##### Definition: ```python @property def modifier(self): ... @modifier.setter def modifier(self, value): ... ``` ### modify_date property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/modify_date.md #### modify_date property Gets or sets the date on which this version was checked in. ##### Definition: ```python @property def modify_date(self): ... @modify_date.setter def modify_date(self, value): ... ``` ### namespace_uris property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/namespace_uris.md #### namespace_uris property Gets the namespace URIs that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def namespace_uris(self): ... ``` ### prefixes property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/prefixes.md #### prefixes property Gets the namespace prefixes that are used in the `XmpComplexType` instance. ##### Definition: ```python @property def prefixes(self): ... ``` ### property_descriptors property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/property_descriptors.md #### property_descriptors property Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. ##### Definition: ```python @property def property_descriptors(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/remove_properties.md #### remove_properties(self, specification) Removes metadata properties satisfying a specification. ##### Returns The number of affected properties. ```python def remove_properties(self, specification): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/sanitize.md #### sanitize(self) Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def sanitize(self): ... ``` ##### Remarks **Learn more** | | | ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/set_properties.md #### set_properties(self, specification, value) Sets known metadata properties satisfying the specification. The operation is recursive so it affects all nested packages as well. This method is a combination of `MetadataPackage.add_properties` and `MetadataPackage.update_properties`. If an existing property satisfies the specification its value is updated. If there is a known property missing in the package that satisfies the specification it is added to the package. ##### Returns The number of affected properties. ```python def set_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to set a property with a value having inappropriate type. ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/update_properties.md #### update_properties(self, specification, value) Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well. ##### Returns The number of affected properties. ```python def update_properties(self, specification, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | specification | groupdocs.metadata.search.Specification | A specification to test each metadata property for a condition. | | value | groupdocs.metadata.common.PropertyValue | A new value for the filtered properties. | ##### Remarks Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It's impossible to update a property with a value having an inappropriate type. ### version_number property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.xmp/xmpversion/version_number.md #### version_number property Gets or sets the new version number. ##### Definition: ```python @property def version_number(self): ... @version_number.setter def version_number(self, value): ... ``` ### groupdocs.metadata.standards Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.standards.md ### groupdocs.metadata.tagging Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging.md Types under `groupdocs.metadata.tagging`. ##### Classes | Class | Description | | :- | :- | | `ContentTagCategory` | | | `CorporateTagCategory` | | | `DocumentTagCategory` | | | `LegalTagCategory` | | | `OriginTagCategory` | | | `PersonTagCategory` | | | `PropertyTag` | | | `PropertyTypeTagCategory` | | | `TagCategory` | | | `TimeTagCategory` | | | `ToolTagCategory` | | ##### Enumerations | Enum | Description | | :- | :- | | `Tags` | | ### ContentTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory.md #### ContentTagCategory class The ContentTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | album | | | body | | | comment | | | description | | | file_format | | | hyperlinks_changed | | | keywords | | | language | | | rating | | | shared_doc | | | status | | | subject | | | table_of_contents | | | thumbnail | | | title | | | type | | | version | | ### album property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/album.md ##### Definition: ```python @property def album(self): ... @album.setter def album(self, value): ... ``` ### body property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/body.md ##### Definition: ```python @property def body(self): ... @body.setter def body(self, value): ... ``` ### comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/comment.md ##### Definition: ```python @property def comment(self): ... @comment.setter def comment(self, value): ... ``` ### description property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/description.md ##### Definition: ```python @property def description(self): ... @description.setter def description(self, value): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/file_format.md ##### Definition: ```python @property def file_format(self): ... @file_format.setter def file_format(self, value): ... ``` ### hyperlinks_changed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/hyperlinks_changed.md ##### Definition: ```python @property def hyperlinks_changed(self): ... @hyperlinks_changed.setter def hyperlinks_changed(self, value): ... ``` ### keywords property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/keywords.md ##### Definition: ```python @property def keywords(self): ... @keywords.setter def keywords(self, value): ... ``` ### language property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/language.md ##### Definition: ```python @property def language(self): ... @language.setter def language(self, value): ... ``` ### rating property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/rating.md ##### Definition: ```python @property def rating(self): ... @rating.setter def rating(self, value): ... ``` ### shared_doc property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/shared_doc.md ##### Definition: ```python @property def shared_doc(self): ... @shared_doc.setter def shared_doc(self, value): ... ``` ### status property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/status.md ##### Definition: ```python @property def status(self): ... @status.setter def status(self, value): ... ``` ### subject property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/subject.md ##### Definition: ```python @property def subject(self): ... @subject.setter def subject(self, value): ... ``` ### table_of_contents property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/table_of_contents.md ##### Definition: ```python @property def table_of_contents(self): ... @table_of_contents.setter def table_of_contents(self, value): ... ``` ### thumbnail property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/thumbnail.md ##### Definition: ```python @property def thumbnail(self): ... @thumbnail.setter def thumbnail(self, value): ... ``` ### title property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/title.md ##### Definition: ```python @property def title(self): ... @title.setter def title(self, value): ... ``` ### type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/type.md ##### Definition: ```python @property def type(self): ... @type.setter def type(self, value): ... ``` ### version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/contenttagcategory/version.md ##### Definition: ```python @property def version(self): ... @version.setter def version(self, value): ... ``` ### CorporateTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/corporatetagcategory.md #### CorporateTagCategory class The CorporateTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | company | | | manager | | ### company property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/corporatetagcategory/company.md ##### Definition: ```python @property def company(self): ... @company.setter def company(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/corporatetagcategory/manager.md ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### DocumentTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory.md #### DocumentTagCategory class The DocumentTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | built_in | | | field | | | hidden_data | | | only_update | | | page | | | read_only | | | revision | | | statistic | | | user_comment | | ### built_in property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/built_in.md ##### Definition: ```python @property def built_in(self): ... @built_in.setter def built_in(self, value): ... ``` ### field property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/field.md ##### Definition: ```python @property def field(self): ... @field.setter def field(self, value): ... ``` ### hidden_data property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/hidden_data.md ##### Definition: ```python @property def hidden_data(self): ... @hidden_data.setter def hidden_data(self, value): ... ``` ### only_update property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/only_update.md ##### Definition: ```python @property def only_update(self): ... @only_update.setter def only_update(self, value): ... ``` ### page property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/page.md ##### Definition: ```python @property def page(self): ... @page.setter def page(self, value): ... ``` ### read_only property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/read_only.md ##### Definition: ```python @property def read_only(self): ... @read_only.setter def read_only(self, value): ... ``` ### revision property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/revision.md ##### Definition: ```python @property def revision(self): ... @revision.setter def revision(self, value): ... ``` ### statistic property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/statistic.md ##### Definition: ```python @property def statistic(self): ... @statistic.setter def statistic(self, value): ... ``` ### user_comment property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/documenttagcategory/user_comment.md ##### Definition: ```python @property def user_comment(self): ... @user_comment.setter def user_comment(self, value): ... ``` ### LegalTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/legaltagcategory.md #### LegalTagCategory class The LegalTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | copyright | | | owner | | | usage_terms | | ### copyright property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/legaltagcategory/copyright.md ##### Definition: ```python @property def copyright(self): ... @copyright.setter def copyright(self, value): ... ``` ### owner property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/legaltagcategory/owner.md ##### Definition: ```python @property def owner(self): ... @owner.setter def owner(self, value): ... ``` ### usage_terms property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/legaltagcategory/usage_terms.md ##### Definition: ```python @property def usage_terms(self): ... @usage_terms.setter def usage_terms(self, value): ... ``` ### OriginTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/origintagcategory.md #### OriginTagCategory class The OriginTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | source | | | template | | ### source property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/origintagcategory/source.md ##### Definition: ```python @property def source(self): ... @source.setter def source(self, value): ... ``` ### template property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/origintagcategory/template.md ##### Definition: ```python @property def template(self): ... @template.setter def template(self, value): ... ``` ### PersonTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory.md #### PersonTagCategory class The PersonTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | artist | | | client | | | contributor | | | creator | | | editor | | | manager | | | model | | | publisher | | | recipient | | ### artist property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/artist.md ##### Definition: ```python @property def artist(self): ... @artist.setter def artist(self, value): ... ``` ### client property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/client.md ##### Definition: ```python @property def client(self): ... @client.setter def client(self, value): ... ``` ### contributor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/contributor.md ##### Definition: ```python @property def contributor(self): ... @contributor.setter def contributor(self, value): ... ``` ### creator property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/creator.md ##### Definition: ```python @property def creator(self): ... @creator.setter def creator(self, value): ... ``` ### editor property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/editor.md ##### Definition: ```python @property def editor(self): ... @editor.setter def editor(self, value): ... ``` ### manager property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/manager.md ##### Definition: ```python @property def manager(self): ... @manager.setter def manager(self, value): ... ``` ### model property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/model.md ##### Definition: ```python @property def model(self): ... @model.setter def model(self, value): ... ``` ### publisher property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/publisher.md ##### Definition: ```python @property def publisher(self): ... @publisher.setter def publisher(self, value): ... ``` ### recipient property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/persontagcategory/recipient.md ##### Definition: ```python @property def recipient(self): ... @recipient.setter def recipient(self, value): ... ``` ### PropertyTag class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag.md #### PropertyTag class The PropertyTag type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _equals_object | | | _equals_property_tag | | | _get_hash_code_noargs | | | _to_string_noargs | | | equals | | | equals_object | | | equals_property_tag | | | get_hash_code | | | to_string | | ##### Properties | Property | Description | | :- | :- | | category | | ### _equals_object method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/_equals_object.md #### _equals_object ```python def _equals_object(self, obj): ... ``` | Parameter | Type | Description | | :- | :- | :- | | obj | `Any` | | **Returns:** bool ### _equals_property_tag method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/_equals_property_tag.md #### _equals_property_tag ```python def _equals_property_tag(self, other): ... ``` | Parameter | Type | Description | | :- | :- | :- | | other | `PropertyTag` | | **Returns:** bool ### _get_hash_code_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/_get_hash_code_noargs.md #### _get_hash_code_noargs ```python def _get_hash_code_noargs(self): ... ``` **Returns:** int ### _to_string_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### category property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/category.md ##### Definition: ```python @property def category(self): ... @category.setter def category(self, value): ... ``` ### equals method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/equals.md #### equals ```python def equals(self): ... ``` ### equals_object method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/equals_object.md #### equals_object ```python def equals_object(self): ... ``` ### equals_property_tag method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/equals_property_tag.md #### equals_property_tag ```python def equals_property_tag(self): ... ``` ### get_hash_code method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/get_hash_code.md #### get_hash_code ```python def get_hash_code(self): ... ``` ### to_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytag/to_string.md #### to_string ```python def to_string(self): ... ``` ### PropertyTypeTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory.md #### PropertyTypeTagCategory class The PropertyTypeTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | bitrate | | | color | | | digital_signature | | | font | | | hash | | | identifier | | | link | | | location | | | measure | | ### bitrate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/bitrate.md ##### Definition: ```python @property def bitrate(self): ... @bitrate.setter def bitrate(self, value): ... ``` ### color property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/color.md ##### Definition: ```python @property def color(self): ... @color.setter def color(self, value): ... ``` ### digital_signature property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/digital_signature.md ##### Definition: ```python @property def digital_signature(self): ... @digital_signature.setter def digital_signature(self, value): ... ``` ### font property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/font.md ##### Definition: ```python @property def font(self): ... @font.setter def font(self, value): ... ``` ### hash property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/hash.md ##### Definition: ```python @property def hash(self): ... @hash.setter def hash(self, value): ... ``` ### identifier property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/identifier.md ##### Definition: ```python @property def identifier(self): ... @identifier.setter def identifier(self, value): ... ``` ### link property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/link.md ##### Definition: ```python @property def link(self): ... @link.setter def link(self, value): ... ``` ### location property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/location.md ##### Definition: ```python @property def location(self): ... @location.setter def location(self, value): ... ``` ### measure property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/propertytypetagcategory/measure.md ##### Definition: ```python @property def measure(self): ... @measure.setter def measure(self, value): ... ``` ### TagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tagcategory.md #### TagCategory class The TagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | | | to_string | | ### _to_string_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tagcategory/_to_string_noargs.md #### _to_string_noargs ```python def _to_string_noargs(self): ... ``` **Returns:** str ### to_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tagcategory/to_string.md #### to_string ```python def to_string(self): ... ``` ### Tags class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags.md #### Tags class The Tags type exposes the following members: ### content property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/content.md #### content property Gets the tags that are attached to metadata properties describing the content of a file. The tags are useful to find out the content language, type (genre), subject, rating, etc. ##### Definition: ```python @property def content(self): ... ``` ### corporate property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/corporate.md #### corporate property Gets a set of tags intended to mark metadata properties related to a company that participated in file creation. ##### Definition: ```python @property def corporate(self): ... ``` ### document property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/document.md #### document property Gets a set of tags that are applied to document-specific properties only. The tags can be useful to determine from which part of an office document a property was extracted. ##### Definition: ```python @property def document(self): ... ``` ### legal property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/legal.md #### legal property Gets a set of tags that are attached to metadata properties holding information about the owners of the file content and the rules under which the content can be used. ##### Definition: ```python @property def legal(self): ... ``` ### origin property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/origin.md #### origin property Gets the tags that help a user to determine the origin of a file (e.g. template or another source). ##### Definition: ```python @property def origin(self): ... ``` ### person property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/person.md #### person property Gets a set of tags that mark metadata properties holding information about the people contributed to file or intellectual content creation. These tags can help you to find the document creator, editor or even the client for whom the work was performed. Despite the name of the category some metadata properties marked with the tags can contain a company name rather than a person's name. ##### Definition: ```python @property def person(self): ... ``` ### property_type property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/property_type.md #### property_type property Gets a set of tags that bear additional information about the type of a property rather than about its purpose. Using these tags you can detect metadata properties that contain URL links to external resources, properties describing fonts, colors, geolocation and so on. ##### Definition: ```python @property def property_type(self): ... ``` ### time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/time.md #### time property Gets a set of tags that mark metadata properties used to describe the lifecycle of a file. The tags deal with time points when a file or intellectual content was created, edited, printed, etc. ##### Definition: ```python @property def time(self): ... ``` ### tool property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tags/tool.md #### tool property Gets the tags intended to mark metadata properties related to the tools (software and hardware) that were used to create a file. ##### Definition: ```python @property def tool(self): ... ``` ### TimeTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory.md #### TimeTagCategory class The TimeTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | created | | | delivery | | | duration | | | expired | | | intellectual_content_created | | | modified | | | printed | | | published | | | total_editing_time | | | zone_city | | ### created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/created.md ##### Definition: ```python @property def created(self): ... @created.setter def created(self, value): ... ``` ### delivery property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/delivery.md ##### Definition: ```python @property def delivery(self): ... @delivery.setter def delivery(self, value): ... ``` ### duration property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/duration.md ##### Definition: ```python @property def duration(self): ... @duration.setter def duration(self, value): ... ``` ### expired property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/expired.md ##### Definition: ```python @property def expired(self): ... @expired.setter def expired(self, value): ... ``` ### intellectual_content_created property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/intellectual_content_created.md ##### Definition: ```python @property def intellectual_content_created(self): ... @intellectual_content_created.setter def intellectual_content_created(self, value): ... ``` ### modified property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/modified.md ##### Definition: ```python @property def modified(self): ... @modified.setter def modified(self, value): ... ``` ### printed property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/printed.md ##### Definition: ```python @property def printed(self): ... @printed.setter def printed(self, value): ... ``` ### published property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/published.md ##### Definition: ```python @property def published(self): ... @published.setter def published(self, value): ... ``` ### total_editing_time property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/total_editing_time.md ##### Definition: ```python @property def total_editing_time(self): ... @total_editing_time.setter def total_editing_time(self, value): ... ``` ### zone_city property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/timetagcategory/zone_city.md ##### Definition: ```python @property def zone_city(self): ... @zone_city.setter def zone_city(self, value): ... ``` ### ToolTagCategory class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory.md #### ToolTagCategory class The ToolTagCategory type exposes the following members: ##### Methods | Method | Description | | :- | :- | | _to_string_noargs | (inherited from `TagCategory`) | | to_string | (inherited from `TagCategory`) | ##### Properties | Property | Description | | :- | :- | | compression | | | hardware | | | hardware_manufacturer | | | hardware_version | | | model_id | | | software | | | software_manufacturer | | | software_version | | ### compression property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/compression.md ##### Definition: ```python @property def compression(self): ... @compression.setter def compression(self, value): ... ``` ### hardware property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/hardware.md ##### Definition: ```python @property def hardware(self): ... @hardware.setter def hardware(self, value): ... ``` ### hardware_manufacturer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/hardware_manufacturer.md ##### Definition: ```python @property def hardware_manufacturer(self): ... @hardware_manufacturer.setter def hardware_manufacturer(self, value): ... ``` ### hardware_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/hardware_version.md ##### Definition: ```python @property def hardware_version(self): ... @hardware_version.setter def hardware_version(self, value): ... ``` ### model_id property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/model_id.md ##### Definition: ```python @property def model_id(self): ... @model_id.setter def model_id(self, value): ... ``` ### software property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/software.md ##### Definition: ```python @property def software(self): ... @software.setter def software(self, value): ... ``` ### software_manufacturer property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/software_manufacturer.md ##### Definition: ```python @property def software_manufacturer(self): ... @software_manufacturer.setter def software_manufacturer(self, value): ... ``` ### software_version property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.tagging/tooltagcategory/software_version.md ##### Definition: ```python @property def software_version(self): ... @software_version.setter def software_version(self, value): ... ``` ### groupdocs.metadata Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata.md Main GroupDocs.Metadata namespace with top-level API classes. ##### Classes | Class | Description | | :- | :- | | `License` | Manages GroupDocs.Metadata licensing. | | `Metadata` | | | `Metered` | Manages metered (pay-per-use) licensing. | ##### Exceptions | Exception | Description | | :- | :- | | `DocumentProtectedException` | | | `GroupDocsMetadataException` | | | `InvalidFormatException` | | | `MetadataValidationException` | | | `XmpException` | | ### DocumentProtectedException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/documentprotectedexception.md #### DocumentProtectedException class The DocumentProtectedException type exposes the following members: ### GroupDocsMetadataException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/groupdocsmetadataexception.md #### GroupDocsMetadataException class The GroupDocsMetadataException type exposes the following members: ### InvalidFormatException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/invalidformatexception.md #### InvalidFormatException class The InvalidFormatException type exposes the following members: ### License class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/license.md #### License class Manages GroupDocs.Metadata licensing. Licensed builds unlock the full feature set of the wrapper at runtime. Unlicensed builds run in evaluation mode with the same API surface but with limits on output size and watermarked content. The License type exposes the following members: ##### Methods | Method | Description | | :- | :- | | set_license | Apply a license to the current process. | ### License constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/license/__init__.md #### \_\_init\_\_(self) Initializes a new instance of the `License` class. ```python def __init__(self): ... ``` ### set_license method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/license/set_license.md #### set_license Apply a license to the current process. ```python def set_license(self, license_source): ... ``` | Parameter | Type | Description | | :- | :- | :- | | license_source | | Either a string path to a ``.lic`` file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. | | Raises | Description | | :- | :- | | `TypeError` | If ``license_source`` is neither a string path nor a readable file-like object. | ### Metadata class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata.md #### Metadata class The Metadata type exposes the following members: ##### Constructors | Constructor | Description | | :- | :- | | __init__ | | ##### Methods | Method | Description | | :- | :- | | _add_properties_func_2_0c75_property_value | | | _copy_to_metadata_package | | | _copy_to_metadata_package_list_1_0958 | | | _dispose_noargs | | | _find_properties_func_2_0c75 | | | _generate_preview_preview_options | | | _get_document_info_noargs | | | _get_root_package_noargs | | | _init_stream | | | _init_stream_load_options | | | _init_string | | | _init_string_load_options | | | _init_uri | | | _init_uri_load_options | | | _remove_properties_func_2_0c75 | | | _sanitize_noargs | | | _save_noargs | | | _save_stream | | | _save_string | | | _set_properties_func_2_0c75_property_value | | | _update_properties_func_2_0c75_property_value | | | add_properties | | | add_properties_func | | | copy_to | | | copy_to_metadata_package | | | dispose | | | find_properties | | | find_properties_func | | | generate_preview | | | generate_preview_preview_options | | | get_document_info | | | get_root_package | | | remove_properties | | | remove_properties_func | | | sanitize | | | save | | | save_file | | | save_stream | | | save_streams | | | save_string | | | set_properties | | | set_properties_func | | | update_properties | | | update_properties_func | | ##### Properties | Property | Description | | :- | :- | | file_format | | ### __init__ constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/__init__.md #### __init__ ```python def __init__(self): ... ``` ### _add_properties_func_2_0c75_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_add_properties_func_2_0c75_property_value.md #### _add_properties_func_2_0c75_property_value ```python def _add_properties_func_2_0c75_property_value(self, predicate, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | | value | `PropertyValue` | | **Returns:** int ### _copy_to_metadata_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_copy_to_metadata_package.md #### _copy_to_metadata_package ```python def _copy_to_metadata_package(self, metadata): ... ``` | Parameter | Type | Description | | :- | :- | :- | | metadata | `MetadataPackage` | | ### _copy_to_metadata_package_list_1_0958 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_copy_to_metadata_package_list_1_0958.md #### _copy_to_metadata_package_list_1_0958 ```python def _copy_to_metadata_package_list_1_0958(self, metadata, tags): ... ``` | Parameter | Type | Description | | :- | :- | :- | | metadata | `MetadataPackage` | | | tags | `List[Any]` | | **Returns:** int ### _dispose_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_dispose_noargs.md #### _dispose_noargs ```python def _dispose_noargs(self): ... ``` ### _find_properties_func_2_0c75 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_find_properties_func_2_0c75.md #### _find_properties_func_2_0c75 ```python def _find_properties_func_2_0c75(self, predicate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | **Returns:** List[Any] ### _generate_preview_preview_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_generate_preview_preview_options.md #### _generate_preview_preview_options ```python def _generate_preview_preview_options(self, preview_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | preview_options | `PreviewOptions` | | ### _get_document_info_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_get_document_info_noargs.md #### _get_document_info_noargs ```python def _get_document_info_noargs(self): ... ``` **Returns:** IDocumentInfo ### _get_root_package_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_get_root_package_noargs.md #### _get_root_package_noargs ```python def _get_root_package_noargs(self): ... ``` **Returns:** RootMetadataPackage ### _init_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_init_stream.md #### _init_stream ```python def _init_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | ### _init_stream_load_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_init_stream_load_options.md #### _init_stream_load_options ```python def _init_stream_load_options(self, document, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | | load_options | `LoadOptions` | | ### _init_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_init_string.md #### _init_string ```python def _init_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _init_string_load_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_init_string_load_options.md #### _init_string_load_options ```python def _init_string_load_options(self, file_path, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | | load_options | `LoadOptions` | | ### _init_uri method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_init_uri.md #### _init_uri ```python def _init_uri(self, uri): ... ``` | Parameter | Type | Description | | :- | :- | :- | | uri | `Uri` | | ### _init_uri_load_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_init_uri_load_options.md #### _init_uri_load_options ```python def _init_uri_load_options(self, uri, load_options): ... ``` | Parameter | Type | Description | | :- | :- | :- | | uri | `Uri` | | | load_options | `LoadOptions` | | ### _remove_properties_func_2_0c75 method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_remove_properties_func_2_0c75.md #### _remove_properties_func_2_0c75 ```python def _remove_properties_func_2_0c75(self, predicate): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | **Returns:** int ### _sanitize_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_sanitize_noargs.md #### _sanitize_noargs ```python def _sanitize_noargs(self): ... ``` **Returns:** int ### _save_noargs method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_save_noargs.md #### _save_noargs ```python def _save_noargs(self): ... ``` ### _save_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_save_stream.md #### _save_stream ```python def _save_stream(self, document): ... ``` | Parameter | Type | Description | | :- | :- | :- | | document | `Stream` | | ### _save_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_save_string.md #### _save_string ```python def _save_string(self, file_path): ... ``` | Parameter | Type | Description | | :- | :- | :- | | file_path | `str` | | ### _set_properties_func_2_0c75_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_set_properties_func_2_0c75_property_value.md #### _set_properties_func_2_0c75_property_value ```python def _set_properties_func_2_0c75_property_value(self, predicate, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | | value | `PropertyValue` | | **Returns:** int ### _update_properties_func_2_0c75_property_value method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/_update_properties_func_2_0c75_property_value.md #### _update_properties_func_2_0c75_property_value ```python def _update_properties_func_2_0c75_property_value(self, predicate, value): ... ``` | Parameter | Type | Description | | :- | :- | :- | | predicate | `bool` | | | value | `PropertyValue` | | **Returns:** int ### add_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/add_properties.md #### add_properties ```python def add_properties(self): ... ``` ### add_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/add_properties_func.md #### add_properties_func ```python def add_properties_func(self): ... ``` ### copy_to method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/copy_to.md #### copy_to ```python def copy_to(self): ... ``` ### copy_to_metadata_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/copy_to_metadata_package.md #### copy_to_metadata_package ```python def copy_to_metadata_package(self): ... ``` ### dispose method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/dispose.md #### dispose ```python def dispose(self): ... ``` ### file_format property Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/file_format.md ##### Definition: ```python @property def file_format(self): ... ``` ### find_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/find_properties.md #### find_properties ```python def find_properties(self): ... ``` ### find_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/find_properties_func.md #### find_properties_func ```python def find_properties_func(self): ... ``` ### generate_preview method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/generate_preview.md #### generate_preview ```python def generate_preview(self): ... ``` ### generate_preview_preview_options method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/generate_preview_preview_options.md #### generate_preview_preview_options ```python def generate_preview_preview_options(self): ... ``` ### get_document_info method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/get_document_info.md #### get_document_info ```python def get_document_info(self): ... ``` ### get_root_package method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/get_root_package.md #### get_root_package ```python def get_root_package(self): ... ``` ### remove_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/remove_properties.md #### remove_properties ```python def remove_properties(self): ... ``` ### remove_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/remove_properties_func.md #### remove_properties_func ```python def remove_properties_func(self): ... ``` ### sanitize method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/sanitize.md #### sanitize ```python def sanitize(self): ... ``` ### save method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/save.md #### save ```python def save(self): ... ``` ### save_file method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/save_file.md #### save_file ```python def save_file(self): ... ``` ### save_stream method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/save_stream.md #### save_stream ```python def save_stream(self): ... ``` ### save_streams method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/save_streams.md #### save_streams ```python def save_streams(self): ... ``` ### save_string method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/save_string.md #### save_string ```python def save_string(self): ... ``` ### set_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/set_properties.md #### set_properties ```python def set_properties(self): ... ``` ### set_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/set_properties_func.md #### set_properties_func ```python def set_properties_func(self): ... ``` ### update_properties method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/update_properties.md #### update_properties ```python def update_properties(self): ... ``` ### update_properties_func method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadata/update_properties_func.md #### update_properties_func ```python def update_properties_func(self): ... ``` ### MetadataValidationException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metadatavalidationexception.md #### MetadataValidationException class The MetadataValidationException type exposes the following members: ### Metered class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metered.md #### Metered class Manages metered (pay-per-use) licensing. Metered licenses bill on actual consumption (typically pages or documents processed). Set the public/private key pair once at application startup; the wrapper reports usage back to the GroupDocs license server in the background. The Metered type exposes the following members: ##### Methods | Method | Description | | :- | :- | | get_consumption_credit | Return the remaining metered credit for the current key. | | get_consumption_quantity | Return the total metered quantity consumed so far. | | set_metered_key | Activate metered billing with the given public/private key pair. | ### Metered constructor Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metered/__init__.md #### \_\_init\_\_(self) Constructs a new instance of Metered ```python def __init__(self): ... ``` ### get_consumption_credit method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metered/get_consumption_credit.md #### get_consumption_credit Return the remaining metered credit for the current key. ```python def get_consumption_credit(): ... ``` **Returns:** float: The remaining credit balance reported by the license server. ### get_consumption_quantity method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metered/get_consumption_quantity.md #### get_consumption_quantity Return the total metered quantity consumed so far. ```python def get_consumption_quantity(): ... ``` **Returns:** float: The cumulative usage (typically in pages or documents) recorded against the current metered key. ### set_metered_key method Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/metered/set_metered_key.md #### set_metered_key Activate metered billing with the given public/private key pair. ```python def set_metered_key(self, public_key, private_key): ... ``` | Parameter | Type | Description | | :- | :- | :- | | public_key | | The public key half of the metered credentials. | | private_key | | The private key half of the metered credentials. | ### XmpException class Path: https://reference.groupdocs.com/metadata/python-net/groupdocs.metadata/xmpexception.md #### XmpException class The XmpException type exposes the following members: # GroupDocs.Parser > Extract text, images, metadata, and structured data from documents. ## Java ### GroupDocs.Parser for Java Path: https://reference.groupdocs.com/parser/java.md #### Packages | Package | Description | | --- | --- | | com.groupdocs.parser | The package provides classes for parsing data from documents. | | com.groupdocs.parser.data | The package provides classes which represent parsing results. | | com.groupdocs.parser.exceptions | The package provides different exceptions classes. | | com.groupdocs.parser.export | The package provides classes that allow users to export data to different formats. | | com.groupdocs.parser.licensing | The package provides classes to set license or use Metered billing. | | com.groupdocs.parser.options | The package provides classes to specify additional options when parsing data from documents. | | com.groupdocs.parser.templates | The package provides classes for creating templates for parsing document data. | ### com.groupdocs.parser.data Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data.md The package provides classes which represent parsing results. #### Classes | Class | Description | | --- | --- | | ContainerItem | Represents a container item like Zip archive entity, email attachment, PDF Portfolio item and so on. | | DocumentData | Represents data of the document. | | DocumentPageData | Represents data of the document page. | | FieldData | Represents field data such as a name, a page index, a field value and so on. | | HighlightItem | Represents a highlight, a part of the text which is usually used to explain the context of the found text in the search functionality. | | MetadataItem | Represents a metadata item which is used in container items and metadata extraction functionality. | | Page | Represents the document page information such as page index and page size. | | PageArea | Represents an abstract base class for page areas which are used to represent blocks on the document page in the parsing by template functionality. | | PageBarcodeArea | Represents a page barcode area which is used to represent a barcode value in the parsing by template functionality. | | PageGroupArea | Represents a group of page areas which is used to group different types of blocks of the document page in the parsing by template functionality. | | PageHyperlinkArea | Represents a page area which is used to represent a hyperlink on the page. | | PageImageArea | Represents a page image area which is used to represent an image on the page in the parsing by template functionality or an image attachment if images are extracted from emails or Zip archives. | | PageTableArea | Represents a table page area which is used to represent a table in the parsing by template functionality. | | PageTableAreaCell | Represents a table cell which is used in PageTableArea class. | | PageTextArea | Represents a page text area which is used to represent a text value in the parsing by template or parsing form functionality. | | Point | Represents a point. | | Rectangle | Represents a rectangular area. | | SearchResult | Represents the search result in the search functionality. | | Size | Represents a size. | | TextReader | Represents a reader that can read a sequential series of characters. | | TextStyle | Represents the style of the text such as a font name, a font size and so on. | | TocItem | Represents the item which is used in the table of contents extraction functionality. | ### ContainerItem Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/containeritem.md **Inheritance:** java.lang.Object ``` public abstract class ContainerItem ``` Represents a container item like Zip archive entity, email attachment, PDF Portfolio item and so on. An instance of ContainerItem class is used as return value of Parser.getContainer() method. See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | ContainerItem(String name, String directory, long size, Iterable metadata) | Initializes a new instance of ContainerItem with the item name and directory. | | ContainerItem(String filePath, long size, Iterable metadata) | Initializes a new instance of ContainerItem with the item full path. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the name of the item. | | getDirectory() | Gets the directory of the item. | | getFilePath() | Gets the full path of the item. | | getSize() | Gets the size of the item. | | getMetadata() | Gets the collection of metadata items. | | getMetadataValue(String name) | Gets the metadata value. | | openStream() | Opens the stream of the item content. | | openParser() | Creates the Parser object for the item content. | | openParser(LoadOptions loadOptions) | Creates the Parser object for the item content with LoadOptions. | | openParser(LoadOptions loadOptions, ParserSettings parserSettings) | Creates the Parser object for the item content with LoadOptions and ParserSettings. | | detectFileType(FileTypeDetectionMode detectionMode) | Detects a file type of the container item. | ##### ContainerItem(String name, String directory, long size, Iterable metadata) ``` public ContainerItem(String name, String directory, long size, Iterable metadata) ``` Initializes a new instance of ContainerItem with the item name and directory. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the item. | | directory | java.lang.String | The directory of the item. | | size | long | The size of the item. | | metadata | java.lang.Iterable | The collection of metadata items. | ##### ContainerItem(String filePath, long size, Iterable metadata) ``` public ContainerItem(String filePath, long size, Iterable metadata) ``` Initializes a new instance of ContainerItem with the item full path. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The full path of the item. | | size | long | The size of the item. | | metadata | java.lang.Iterable | The collection of metadata items. | ##### getName() ``` public String getName() ``` Gets the name of the item. **Returns:** java.lang.String - A string value that represents the file name of the item (without a directory). ##### getDirectory() ``` public String getDirectory() ``` Gets the directory of the item. **Returns:** java.lang.String - A string value that represents the directory of the item (without a file name). ##### getFilePath() ``` public String getFilePath() ``` Gets the full path of the item. **Returns:** java.lang.String - A string value that represents the full path of the item. ##### getSize() ``` public long getSize() ``` Gets the size of the item. **Returns:** long - An integer value that represents the size of the item in bytes. ##### getMetadata() ``` public Iterable getMetadata() ``` Gets the collection of metadata items. **Returns:** java.lang.Iterable - A collection of MetadataItem objects; empty if metadata isn't set. ##### getMetadataValue(String name) ``` public String getMetadataValue(String name) ``` Gets the metadata value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the metadata. | **Returns:** java.lang.String - A string value that represents the value of the metadata item; null if the metadata with this name isn't found. ##### openStream() ``` public abstract InputStream openStream() ``` Opens the stream of the item content. **Returns:** java.io.InputStream - A stream with the item content. ##### openParser() ``` public Parser openParser() ``` Creates the Parser object for the item content. **Returns:** Parser - An instance of Parser class of the item content. ##### openParser(LoadOptions loadOptions) ``` public Parser openParser(LoadOptions loadOptions) ``` Creates the Parser object for the item content with LoadOptions. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | loadOptions | LoadOptions | The options to open the item content. | **Returns:** Parser - An instance of Parser class of the item content. ##### openParser(LoadOptions loadOptions, ParserSettings parserSettings) ``` public abstract Parser openParser(LoadOptions loadOptions, ParserSettings parserSettings) ``` Creates the Parser object for the item content with LoadOptions and ParserSettings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | loadOptions | LoadOptions | The options to open the item content. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | **Returns:** Parser - An instance of Parser class of the item content. ##### detectFileType(FileTypeDetectionMode detectionMode) ``` public abstract FileType detectFileType(FileTypeDetectionMode detectionMode) ``` Detects a file type of the container item. detectionMode parameter provides the ability to control file type detection: * **Default**. The file type is detected by the file extension; if the file extension isn't recognized, the file type is detected by the file content. * **Extension**.The file type is detected only by the file extension. * **Content**. The file type is detected only by the file content. The following example shows how to detect file type of container item: ```` // Create an instance of Parser class try (Parser parser = new Parser(filePath)) { // Extract attachments from the container Iterable attachments = parser.getContainer(); // Check if container extraction is supported if (attachments == null) { System.out.println("Container extraction isn't supported"); } // Iterate over attachments for (ContainerItem item : attachments) { // Detect the file type FileType fileType = item.detectFileType(FileTypeDetectionMode.Default); // Print the name and file type System.out.println(String.format("%s: %s", item.getName(), fileType)); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | detectionMode | FileTypeDetectionMode | Defines a mode of the file type detection. | **Returns:** FileType - An instance of FileType class; FileType.Unknown if a file type isn't detected. ### DocumentData Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/documentdata.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public class DocumentData implements Iterable ``` Represents data of the document. It consists of FieldData objects which contain field data from document. An instance of DocumentData class is used as return value of Parser.parseByTemplate(Template) and Parser.parseForm() methods. See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | DocumentData(Iterable fields) | Initializes a new instance of the FieldData class. | | DocumentData(Template template, Iterable fields) | Initializes a new instance of the DocumentData class with the source template. | #### Methods | Method | Description | | --- | --- | | getTemplate() | Gets the template that produced this document data. | | getCount() | Gets the total number of the fields data. | | get(int index) | Gets the field data by an index. | | getFieldsByName(String fieldName) | Returns the collection of field data where the name is equal to fieldName . | | iterator() | Returns an iterator over the elements in this list in proper sequence. | ##### DocumentData(Iterable fields) ``` public DocumentData(Iterable fields) ``` Initializes a new instance of the FieldData class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fields | java.lang.Iterable | The collection of fields data. | ##### DocumentData(Template template, Iterable fields) ``` public DocumentData(Template template, Iterable fields) ``` Initializes a new instance of the DocumentData class with the source template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | template | Template | The template that produced these fields. May be null when the data was not produced by a template (e.g. parseForm ). | | fields | java.lang.Iterable | The collection of fields data. | ##### getTemplate() ``` public Template getTemplate() ``` Gets the template that produced this document data. When the data was produced by an automatic template-collection selection (see Parser.parseByTemplate(com.groupdocs.parser.templates.TemplateCollection, com.groupdocs.parser.options.ParseByTemplateOptions)), this is the selected template. null when the data was not produced by a template. **Returns:** Template - The source Template, or null . ##### getCount() ``` public int getCount() ``` Gets the total number of the fields data. **Returns:** int - An integer value that represents the total number of the fields data. ##### get(int index) ``` public FieldData get(int index) ``` Gets the field data by an index. Iteration via all the fields: ```` // Print all extracted data for (int i = 0; i < data.getCount(); i++) { // Print field name System.out.print(data.get(i).getName() + ": "); // As we have defined only text fields in the template, // we cast PageArea property value to PageTextArea PageTextArea area = data.get(i).getPageArea() instanceof PageTextArea ? (PageTextArea) data.get(i).getPageArea() : null; System.out.println(area == null ? "Not a template field" : area.getText()); } ```` FieldData class represents field data. Depending on the field PageArea property can contain any of the inheritors of PageArea class. For example, Parser.parseForm() method extracts only text fields: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleFormsPdf)) { // Extract data from PDF document DocumentData data = parser.parseForm(); // Check if form extraction is supported if (data == null) { System.out.println("Form extraction isn't supported."); return; } // Iterate over extracted data for (int i = 0; i < data.getCount(); i++) { System.out.print(data.get(i).getName() + ": "); PageTextArea area = data.get(i).getPageArea() instanceof PageTextArea ? (PageTextArea) data.get(i).getPageArea() : null; System.out.println(area == null ? "Not a template field" : area.getText()); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the field. | **Returns:** FieldData - An instance of FieldData class. ##### getFieldsByName(String fieldName) ``` public List getFieldsByName(String fieldName) ``` Returns the collection of field data where the name is equal to fieldName . Find fields by a field name: ```` // Print prices System.out.println("Prices:"); for (FieldData field : data.getFieldsByName("Price")) { PageTextArea area = field.getPageArea() instanceof PageTextArea ? (PageTextArea) field.getPageArea() : null; System.out.println(area == null ? "Not a template field" : area.getText()); } ```` FieldData class represents field data. Depending on the field PageArea property can contain any of the inheritors of PageArea class. For example, Parser.parseForm() method extracts only text fields. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fieldName | java.lang.String | The name of the field. | **Returns:** java.util.List - A collection of FieldData objects; empty collection if no field data is found. ##### iterator() ``` public Iterator iterator() ``` Returns an iterator over the elements in this list in proper sequence. **Returns:** java.util.Iterator - an iterator over the elements in this list in proper sequence. ### DocumentPageData Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/documentpagedata.md **Inheritance:** java.lang.Object, com.groupdocs.parser.data.DocumentData ``` public class DocumentPageData extends DocumentData ``` Represents data of the document page. It consists of FieldData objects which contain field data from the document page. #### Constructors | Constructor | Description | | --- | --- | | DocumentPageData(Iterable fields, int pageIndex) | Initializes a new instance of the DocumentPageData class. | | DocumentPageData(Template template, Iterable fields, int pageIndex) | Initializes a new instance of the DocumentPageData class with the source template. | #### Methods | Method | Description | | --- | --- | | getPageIndex() | Gets the page index. | ##### DocumentPageData(Iterable fields, int pageIndex) ``` public DocumentPageData(Iterable fields, int pageIndex) ``` Initializes a new instance of the DocumentPageData class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fields | java.lang.Iterable | The collection of fields data. | | pageIndex | int | The zero-based page index. | ##### DocumentPageData(Template template, Iterable fields, int pageIndex) ``` public DocumentPageData(Template template, Iterable fields, int pageIndex) ``` Initializes a new instance of the DocumentPageData class with the source template. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | template | Template | The template that produced these fields. May be null . | | fields | java.lang.Iterable | The collection of fields data. | | pageIndex | int | The zero-based page index. | ##### getPageIndex() ``` public int getPageIndex() ``` Gets the page index. **Returns:** int - A zero-based index of the page. ### FieldData Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/fielddata.md **Inheritance:** java.lang.Object ``` public class FieldData ``` Represents field data such as a name, a page index, a field value and so on. Depending on the field the value can be a text, an image, a table and so on. The instances of FieldData class are used in DocumentData collection. #### Constructors | Constructor | Description | | --- | --- | | FieldData(String name, PageArea pageArea) | Initializes a new instance of the FieldData class with UPPER CASE name. | | FieldData(String name, PageArea pageArea, boolean useUpperCaseName) | Initializes a new instance of the FieldData class. | | FieldData(String name, PageArea pageArea, FieldData linkedField) | Initializes a new instance of the FieldData class with UPPER CASE name. | | FieldData(String name, PageArea pageArea, FieldData linkedField, boolean useUpperCaseName) | Initializes a new instance of the FieldData class. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the field name. | | getPageIndex() | Gets the page index. | | getPageArea() | Gets the value of the field. | | getLinkedField() | Gets the linked field. | | getText() | Gets the text. | | getUseUpperCaseName() | Gets a value that indicates whether a Name was converted to UPPER CASE. | ##### FieldData(String name, PageArea pageArea) ``` public FieldData(String name, PageArea pageArea) ``` Initializes a new instance of the FieldData class with UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the field. | | pageArea | PageArea | The value of the field. | ##### FieldData(String name, PageArea pageArea, boolean useUpperCaseName) ``` public FieldData(String name, PageArea pageArea, boolean useUpperCaseName) ``` Initializes a new instance of the FieldData class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the field. | | pageArea | PageArea | The value of the field. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### FieldData(String name, PageArea pageArea, FieldData linkedField) ``` public FieldData(String name, PageArea pageArea, FieldData linkedField) ``` Initializes a new instance of the FieldData class with UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the field. | | pageArea | PageArea | The value of the field. | | linkedField | FieldData | The field which is linked to the field. | ##### FieldData(String name, PageArea pageArea, FieldData linkedField, boolean useUpperCaseName) ``` public FieldData(String name, PageArea pageArea, FieldData linkedField, boolean useUpperCaseName) ``` Initializes a new instance of the FieldData class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the field. | | pageArea | PageArea | The value of the field. | | linkedField | FieldData | The field which is linked to the field. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### getName() ``` public String getName() ``` Gets the field name. **Returns:** java.lang.String - An uppercase string value that represents the name of the field. ##### getPageIndex() ``` public int getPageIndex() ``` Gets the page index. **Returns:** int - A zero-based index of the page that contains the field. ##### getPageArea() ``` public PageArea getPageArea() ``` Gets the value of the field. Depending on field PageArea property can contain any of the inheritors of PageArea class. For example, Parser.parseForm() method extracts only text fields. ```` PageTextArea area = field.getPageArea() instanceof PageTextArea ? (PageTextArea) field.getPageArea() : null; System.out.println(area == null ? "Not a template field" : area.getText()); ```` **Returns:** PageArea - An instance of PageArea class that represents the value of the field. ##### getLinkedField() ``` public FieldData getLinkedField() ``` Gets the linked field. **Returns:** FieldData - An instance of FieldData class that represents the field which is linked to the field; null if it isn't set. ##### getText() ``` public String getText() ``` Gets the text. **Returns:** java.lang.String - A string value that represents a value of the field text; null if PageArea property isn't PageTextArea. ##### getUseUpperCaseName() ``` public boolean getUseUpperCaseName() ``` Gets a value that indicates whether a Name was converted to UPPER CASE. **Returns:** boolean - A boolean value that indicates whether a Name was converted to UPPER CASE. ### HighlightItem Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/highlightitem.md **Inheritance:** java.lang.Object ``` public class HighlightItem ``` Represents a highlight, a part of the text which is usually used to explain the context of the found text in the search functionality. An instance of HighlightItem class is used as return value of Parser.getHighlight(int, boolean, com.groupdocs.parser.options.HighlightOptions) method, SearchResult.getLeftHighlightItem() and SearchResult.getRightHighlightItem() properties. See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | HighlightItem(int position, String text) | Initializes a new instance of the HighlightItem class. | #### Methods | Method | Description | | --- | --- | | getPosition() | Gets the position in the document text. | | getText() | Gets the text of the highlight. | ##### HighlightItem(int position, String text) ``` public HighlightItem(int position, String text) ``` Initializes a new instance of the HighlightItem class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | int | The position in the document text. | | text | java.lang.String | The text of the highlight. | ##### getPosition() ``` public int getPosition() ``` Gets the position in the document text. **Returns:** int - A zero-based index of the start position of the highlight. ##### getText() ``` public String getText() ``` Gets the text of the highlight. **Returns:** java.lang.String - A string value that represents the text of the highlight. ### MetadataItem Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/metadataitem.md **Inheritance:** java.lang.Object ``` public class MetadataItem ``` Represents a metadata item which is used in container items and metadata extraction functionality. An instance of MetadataItem class is used as return value of Parser.getMetadata() method and as a item in ContainerItem.getMetadata() collection. See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | MetadataItem(String name, String value) | Initializes a new instance of the MetadataItem class. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the name of the metadata item. | | getValue() | Gets the value of the metadata item. | ##### MetadataItem(String name, String value) ``` public MetadataItem(String name, String value) ``` Initializes a new instance of the MetadataItem class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the metadata item. | | value | java.lang.String | The value of the metadata item. | ##### getName() ``` public String getName() ``` Gets the name of the metadata item. **Returns:** java.lang.String - A string value that represents the name of the metadata item. ##### getValue() ``` public String getValue() ``` Gets the value of the metadata item. **Returns:** java.lang.String - A string value that represents the value of the metadata item. ### Page Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/page.md **Inheritance:** java.lang.Object ``` public class Page ``` Represents the document page information such as page index and page size. It's used to represent the page that contains inheritors of PageArea class in the parsing by template functionality. #### Constructors | Constructor | Description | | --- | --- | | Page(int index, Size size) | Initializes a new instance of the Page class. | #### Methods | Method | Description | | --- | --- | | getIndex() | Gets the page index. | | getSize() | Gets the page size. | ##### Page(int index, Size size) ``` public Page(int index, Size size) ``` Initializes a new instance of the Page class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The page index. | | size | Size | The page size. | ##### getIndex() ``` public int getIndex() ``` Gets the page index. **Returns:** int - A zero-based index of the page. ##### getSize() ``` public Size getSize() ``` Gets the page size. **Returns:** Size - An instance of Size class that represents the size of the page. ### PageArea Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pagearea.md **Inheritance:** java.lang.Object ``` public abstract class PageArea ``` Represents an abstract base class for page areas which are used to represent blocks on the document page in the parsing by template functionality. #### Methods | Method | Description | | --- | --- | | getRectangle() | Gets the rectangular area. | | getPage() | Gets the document page information such as page index and page size. | ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area of the page that contains the page area. ##### getPage() ``` public Page getPage() ``` Gets the document page information such as page index and page size. **Returns:** Page - An instance of Page class that represents the page that contains the page area. ### PageBarcodeArea Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pagebarcodearea.md **Inheritance:** java.lang.Object, com.groupdocs.parser.data.PageArea ``` public class PageBarcodeArea extends PageArea ``` Represents a page barcode area which is used to represent a barcode value in the parsing by template functionality. #### Constructors | Constructor | Description | | --- | --- | | PageBarcodeArea(String value, String codeTypeName, int confidence, double angle, Page page, Rectangle rectangle) | Initializes a new instance of the PageBarcodeArea class. | #### Methods | Method | Description | | --- | --- | | getValue() | Gets the barcode value. | | getCodeTypeName() | Gets the name of the barcode type. | | getConfidence() | Gets the level of confidence of the parsed barcode. | | getAngle() | Gets the angle of the barcode. | ##### PageBarcodeArea(String value, String codeTypeName, int confidence, double angle, Page page, Rectangle rectangle) ``` public PageBarcodeArea(String value, String codeTypeName, int confidence, double angle, Page page, Rectangle rectangle) ``` Initializes a new instance of the PageBarcodeArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | value | java.lang.String | The value of the barcode. | | codeTypeName | java.lang.String | The type name of the barcode. | | confidence | int | The level of confidence of the parsered barcode. | | angle | double | The angle of the barcode. | | page | Page | The page that contains the barcode area. | | rectangle | Rectangle | The rectangular area that contains the barcode area. | ##### getValue() ``` public String getValue() ``` Gets the barcode value. **Returns:** java.lang.String - A string value that represents a value of the barcode page area. ##### getCodeTypeName() ``` public String getCodeTypeName() ``` Gets the name of the barcode type. **Returns:** java.lang.String - A string value than represents a type name of the barcode. ##### getConfidence() ``` public int getConfidence() ``` Gets the level of confidence of the parsed barcode. **Returns:** int - An integer value that represents the confidence of the parsed barcode (0-100). ##### getAngle() ``` public double getAngle() ``` Gets the angle of the barcode. **Returns:** double - An integer value that represents the angle of the barcode (0-360). ### PageGroupArea Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pagegrouparea.md **Inheritance:** java.lang.Object, com.groupdocs.parser.data.PageArea ``` public class PageGroupArea extends PageArea ``` Represents a group of page areas which is used to group different types of blocks of the document page in the parsing by template functionality. #### Constructors | Constructor | Description | | --- | --- | | PageGroupArea(Iterable areas, Page page) | Initializes a new instance of the PageGroupArea class. | #### Methods | Method | Description | | --- | --- | | getAreas() | Gets the collection of grouped page areas. | ##### PageGroupArea(Iterable areas, Page page) ``` public PageGroupArea(Iterable areas, Page page) ``` Initializes a new instance of the PageGroupArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | areas | java.lang.Iterable | The collection of page areas to be grouped. | | page | Page | The page that contains the area. | ##### getAreas() ``` public Iterable getAreas() ``` Gets the collection of grouped page areas. **Returns:** java.lang.Iterable - A collection of PageArea objects. ### PageHyperlinkArea Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pagehyperlinkarea.md **Inheritance:** java.lang.Object, com.groupdocs.parser.data.PageArea ``` public class PageHyperlinkArea extends PageArea ``` Represents a page area which is used to represent a hyperlink on the page. An instance of PageHyperlinkArea class is used as return value of the following methods: * Parser.getHyperlinks() * Parser.getHyperlinks(PageAreaOptions) * Parser.getHyperlinks(int) * Parser.getHyperlinks(int, PageAreaOptions) See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle) | Initializes a new instance of the PageHyperlinkArea class. | #### Methods | Method | Description | | --- | --- | | getText() | Gets the hyperlink text. | | getUrl() | Gets the hyperlink URL. | ##### PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle) ``` public PageHyperlinkArea(String text, String url, Page page, Rectangle rectangle) ``` Initializes a new instance of the PageHyperlinkArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | text | java.lang.String | The hyperlink text. | | url | java.lang.String | The hyperlink URL. | | page | Page | The page that contains the hyperlink. | | rectangle | Rectangle | The rectangular area that contains the hyperlink. | ##### getText() ``` public String getText() ``` Gets the hyperlink text. **Returns:** java.lang.String - A string value that represents hyperlink text. ##### getUrl() ``` public String getUrl() ``` Gets the hyperlink URL. **Returns:** java.lang.String - A string value that represents hyperlink URL. ### PageImageArea Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pageimagearea.md **Inheritance:** java.lang.Object, com.groupdocs.parser.data.PageArea ``` public class PageImageArea extends PageArea ``` Represents a page image area which is used to represent an image on the page in the parsing by template functionality or an image attachment if images are extracted from emails or Zip archives. An instance of PageImageArea class is used as return value of the following methods: * Parser.getImages() * Parser.getImages(PageAreaOptions) * Parser.getImages(int) * Parser.getImages(int, PageAreaOptions) See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | PageImageArea(InputStream imageStream, FileType fileType, double rotation) | Initializes a new instance of the PageImageArea class. | | PageImageArea(InputStream imageStream, FileType fileType, double rotation, Page page, Rectangle rectangle) | Initializes a new instance of the PageImageArea class. | #### Methods | Method | Description | | --- | --- | | getFileType() | Gets the format of the image. | | getRotation() | Gets the rotation angle of the image. | | getImageStream() | Returns the image stream. | | getImageStream(ImageOptions options) | Returns the image stream in a different format. | | save(String filePath) | Saves the image to the file. | | save(String filePath, ImageOptions options) | Saves the image to the file in a different format. | ##### PageImageArea(InputStream imageStream, FileType fileType, double rotation) ``` public PageImageArea(InputStream imageStream, FileType fileType, double rotation) ``` Initializes a new instance of the PageImageArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageStream | java.io.InputStream | The stream of the image. | | fileType | FileType | The format of the image. | | rotation | double | The rotation angle of the image. | ##### PageImageArea(InputStream imageStream, FileType fileType, double rotation, Page page, Rectangle rectangle) ``` public PageImageArea(InputStream imageStream, FileType fileType, double rotation, Page page, Rectangle rectangle) ``` Initializes a new instance of the PageImageArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageStream | java.io.InputStream | The stream of the image. | | fileType | FileType | The format of the image. | | rotation | double | The rotation angle of the image. | | page | Page | The page that contains the image. | | rectangle | Rectangle | The rectangular area that contains the image. | ##### getFileType() ``` public FileType getFileType() ``` Gets the format of the image. **Returns:** FileType - An instance of FileType class that represents the format of the image. ##### getRotation() ``` public double getRotation() ``` Gets the rotation angle of the image. **Returns:** double - A double value that represents the rotation angle of the image. ##### getImageStream() ``` public InputStream getImageStream() ``` Returns the image stream. The following example shows how to save images to files: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleZip)) { // Extract images from document Iterable images = parser.getImages(); // Check if images extraction is supported if (images == null) { System.out.println("Page images extraction isn't supported"); return; } int imageNumber = 0; // Iterate over images for (PageImageArea image : images) { // Open the image stream try (InputStream imageStream = image.getImageStream()) { // Create the file to save image try (OutputStream destStream = new FileOutputStream(imageNumber + image.getFileType().getExtension())) { byte[] buffer = new byte[4096]; int readed = 0; do { // Read data from the image stream readed = imageStream.read(buffer, 0, buffer.length); if (readed > 0) { // Write data to the file stream destStream.write(buffer, 0, readed); } } while (readed > 0); } imageNumber++; } } } ```` **Returns:** java.io.InputStream - A stream with the image. ##### getImageStream(ImageOptions options) ``` public InputStream getImageStream(ImageOptions options) ``` Returns the image stream in a different format. The following example shows how to save images in PNG format: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleZip)) { // Extract images from document Iterable images = parser.getImages(); // Check if images extraction is supported if (images == null) { System.out.println("Page images extraction isn't supported"); return; } // Create the options to save images in PNG format ImageOptions options = new ImageOptions(ImageFormat.Png); int imageNumber = 0; // Iterate over images for (PageImageArea image : images) { // Open the image stream try (InputStream imageStream = image.getImageStream(options)) { // Create the file to save image try (OutputStream destStream = new FileOutputStream(imageNumber + ".png")) { byte[] buffer = new byte[4096]; int readed = 0; do { // Read data from the image stream readed = imageStream.read(buffer, 0, buffer.length); if (readed > 0) { // Write data to the file stream destStream.write(buffer, 0, readed); } } while (readed > 0); } imageNumber++; } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | ImageOptions | The options which are used to extract the image. | **Returns:** java.io.InputStream - A stream with the image ##### save(String filePath) ``` public void save(String filePath) ``` Saves the image to the file. The following example shows how to save images to files: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleZip)) { // Extract images from document Iterable images = parser.getImages(); // Check if images extraction is supported if (images == null) { System.out.println("Page images extraction isn't supported"); return; } int imageNumber = 0; // Iterate over images for (PageImageArea image : images) { // Save the image to the file image.save(Constants.getOutputFilePath(String.format("%d", imageNumber) + image.getFileType().getExtension())); imageNumber++; } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | ##### save(String filePath, ImageOptions options) ``` public void save(String filePath, ImageOptions options) ``` Saves the image to the file in a different format. The following example shows how to save images to files in PNG format: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleZip)) { // Extract images from document Iterable images = parser.getImages(); // Check if images extraction is supported if (images == null) { System.out.println("Page images extraction isn't supported"); return; } // Create the options to save images in PNG format ImageOptions options = new ImageOptions(ImageFormat.Png); int imageNumber = 0; // Iterate over images for (PageImageArea image : images) { // Save the image to the png file image.save(Constants.getOutputFilePath(String.format("%d.png", imageNumber)), options); imageNumber++; } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | | options | ImageOptions | The options which are used to save the image. | ### PageTableArea Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pagetablearea.md **Inheritance:** java.lang.Object, com.groupdocs.parser.data.PageArea ``` public class PageTableArea extends PageArea ``` Represents a table page area which is used to represent a table in the parsing by template functionality. PageTableArea class is used to organize inheritors of PageArea class in table structure. #### Constructors | Constructor | Description | | --- | --- | | PageTableArea(Iterable rows, Iterable columns, Iterable cells, Page page, Rectangle rectangle) | Initializes a new instance of the PageTableArea class. | #### Methods | Method | Description | | --- | --- | | getCells() | Gets the collection of cells. | | getRowCount() | Gets the total number of the table rows. | | getColumnCount() | Gets the total number of the table colums. | | getRowHeight(int rowIndex) | Returns the row height. | | getColumnWidth(int columnIndex) | Returns the column width. | | getCell(int rowIndex, int columnIndex) | Gets the table cell by row and column indexes. | ##### PageTableArea(Iterable rows, Iterable columns, Iterable cells, Page page, Rectangle rectangle) ``` public PageTableArea(Iterable rows, Iterable columns, Iterable cells, Page page, Rectangle rectangle) ``` Initializes a new instance of the PageTableArea class. Note: the C# project marks this constructor as internal (commit 954951f). In Java, "internal-to-the-assembly" does not translate cleanly to package-private because the producers ( WordProcessingParser , TableAreaParser , etc.) live in com.groupdocs.parser , not com.groupdocs.parser.data . The constructor is therefore kept public so cross-package construction still works. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rows | java.lang.Iterable | The collection of row heights. | | columns | java.lang.Iterable | The collection of column widths. | | cells | java.lang.Iterable | The collection of cells. | | page | Page | The page that contains the table. | | rectangle | Rectangle | The rectangular area that contains the table. | ##### getCells() ``` public Collection getCells() ``` Gets the collection of cells. A plain read-only collection of table cells. **Returns:** java.util.Collection - A collection of table cells ##### getRowCount() ``` public int getRowCount() ``` Gets the total number of the table rows. **Returns:** int - An integer value that contains the total number of the table rows. ##### getColumnCount() ``` public int getColumnCount() ``` Gets the total number of the table colums. **Returns:** int - An integer value that contains the total number of the table columns. ##### getRowHeight(int rowIndex) ``` public double getRowHeight(int rowIndex) ``` Returns the row height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rowIndex | int | The zero-based index of the row. | **Returns:** double - A double value that represents the height of the row. ##### getColumnWidth(int columnIndex) ``` public double getColumnWidth(int columnIndex) ``` Returns the column width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | columnIndex | int | The zero-based index of the column. | **Returns:** double - A double value that represents the width of the column. ##### getCell(int rowIndex, int columnIndex) ``` public PageTableAreaCell getCell(int rowIndex, int columnIndex) ``` Gets the table cell by row and column indexes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rowIndex | int | The zero-based index of the cell row. | | columnIndex | int | The zero-based index of the cell column. | **Returns:** PageTableAreaCell - An instance of PageTableAreaCell class; null if no cell is found. ### PageTableAreaCell Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pagetableareacell.md **Inheritance:** java.lang.Object ``` public class PageTableAreaCell ``` Represents a table cell which is used in PageTableArea class. #### Constructors | Constructor | Description | | --- | --- | | PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea) | Initializes a new instance of the PageTableAreaCell class. | | PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea, int rowSpan, int columnSpan) | Initializes a new instance of the PageTableAreaCell class. | #### Methods | Method | Description | | --- | --- | | getRowIndex() | Gets the row index. | | getColumnIndex() | Gets the column index. | | getRowSpan() | Gets the total number of rows that contain the table cell. | | getColumnSpan() | Gets the total number of columns that contain the table cell. | | getPageArea() | Gets the table cell value. | | getText() | Gets the table cell text value. | ##### PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea) ``` public PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea) ``` Initializes a new instance of the PageTableAreaCell class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rowIndex | int | The zero-based index of the row. | | columnIndex | int | The zero-based index of the column. | | pageArea | PageArea | The value of the table cell. | ##### PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea, int rowSpan, int columnSpan) ``` public PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea, int rowSpan, int columnSpan) ``` Initializes a new instance of the PageTableAreaCell class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rowIndex | int | The zero-based index of the row. | | columnIndex | int | The zero-based index of the column. | | pageArea | PageArea | The value of the table cell. | | rowSpan | int | The total number of rows that contain the table cell. | | columnSpan | int | The total number of columns that contain the table cell. | ##### getRowIndex() ``` public int getRowIndex() ``` Gets the row index. **Returns:** int - A zero-based index of the first row that contains the table cell. ##### getColumnIndex() ``` public int getColumnIndex() ``` Gets the column index. **Returns:** int - A zero-based index of the first column that contains the table cell. ##### getRowSpan() ``` public int getRowSpan() ``` Gets the total number of rows that contain the table cell. **Returns:** int - A positive integer value that represents the total number of rows that contain the table cell. ##### getColumnSpan() ``` public int getColumnSpan() ``` Gets the total number of columns that contain the table cell. **Returns:** int - A positive integer value that represents the total number of columns that contain the table cell. ##### getPageArea() ``` public PageArea getPageArea() ``` Gets the table cell value. **Returns:** PageArea - Depending on cell PageArea property can contain any of the inheritors of PageArea class. ##### getText() ``` public String getText() ``` Gets the table cell text value. **Returns:** java.lang.String - A string that represents a text value of the cell; null if cell doesn't contain a text value. ### PageTextArea Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/pagetextarea.md **Inheritance:** java.lang.Object, com.groupdocs.parser.data.PageArea ``` public class PageTextArea extends PageArea ``` Represents a page text area which is used to represent a text value in the parsing by template or parsing form functionality. An instance of PageTextArea class is used as return value of the following methods: * Parser.getTextAreas() * Parser.getTextAreas(PageTextAreaOptions) * Parser.getTextAreas(int) * Parser.getTextAreas(int, PageTextAreaOptions) Also an instance of PageTextArea class is used as value of PageArea property. \* See the usage examples there. The text area can be single or composite. In the first case it contains a text which is bounded by a rectangular area. In the second case it contains other text areas; text and table properties are calculated by child text areas. #### Constructors | Constructor | Description | | --- | --- | | PageTextArea(String text, Page page, Rectangle rectangle) | Initializes a new instance of the PageTextArea class. | | PageTextArea(String text, Double baseLine, TextStyle textStyle, Page page, Rectangle rectangle) | Initializes a new instance of the PageTextArea class. | | PageTextArea(Iterable areas, Page page) | Initializes a new instance of the PageTextArea class. | #### Methods | Method | Description | | --- | --- | | getText() | Gets the text. | | getBaseLine() | Gets the base line. | | getTextStyle() | Gets the text style such as font size, font name an so on. | | getAreas() | Gets the collection of child text page areas. | ##### PageTextArea(String text, Page page, Rectangle rectangle) ``` public PageTextArea(String text, Page page, Rectangle rectangle) ``` Initializes a new instance of the PageTextArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | text | java.lang.String | The value of the text. | | page | Page | The page that contains the text area. | | rectangle | Rectangle | The rectangular area that contains the text area. | ##### PageTextArea(String text, Double baseLine, TextStyle textStyle, Page page, Rectangle rectangle) ``` public PageTextArea(String text, Double baseLine, TextStyle textStyle, Page page, Rectangle rectangle) ``` Initializes a new instance of the PageTextArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | text | java.lang.String | The value of the text. | | baseLine | java.lang.Double | The base line of the text. | | textStyle | TextStyle | The style of the text. | | page | Page | The page that contains the text area. | | rectangle | Rectangle | The rectangular area that contains the text area. | ##### PageTextArea(Iterable areas, Page page) ``` public PageTextArea(Iterable areas, Page page) ``` Initializes a new instance of the PageTextArea class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | areas | java.lang.Iterable | The collecton of child text page areas. | | page | Page | The page that contains the text area. | ##### getText() ``` public String getText() ``` Gets the text. **Returns:** java.lang.String - A string value that represents a value of the text page area. ##### getBaseLine() ``` public double getBaseLine() ``` Gets the base line. **Returns:** double - A double value that represents the base line. ##### getTextStyle() ``` public TextStyle getTextStyle() ``` Gets the text style such as font size, font name an so on. **Returns:** TextStyle - An instance of TextStyle class that represents the text style. ##### getAreas() ``` public List getAreas() ``` Gets the collection of child text page areas. **Returns:** java.util.List - A collection of child text page areas; empty if the text page area hasn't children. ### Point Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/point.md **Inheritance:** java.lang.Object ``` public class Point ``` Represents a point. #### Constructors | Constructor | Description | | --- | --- | | Point(double x, double y) | Initializes a new instance of the Point class. | #### Methods | Method | Description | | --- | --- | | getX() | Gets the x-coordinate. | | getY() | Gets the y-coordinate. | | parse(String s) | Converts the string representation of a point to its class equivalent. | | toString() | | ##### Point(double x, double y) ``` public Point(double x, double y) ``` Initializes a new instance of the Point class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | x | double | The x-coordinate. | | y | double | The y-coordinate. | ##### getX() ``` public double getX() ``` Gets the x-coordinate. **Returns:** double - A double value that represents the x-coordinate. ##### getY() ``` public double getY() ``` Gets the y-coordinate. **Returns:** double - A double value that represents the y-coordinate. ##### parse(String s) ``` public static Point parse(String s) ``` Converts the string representation of a point to its class equivalent. A return value indicates whether the conversion is succeeded or failed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | s | java.lang.String | A string containing a point to convert. | **Returns:** Point - The instance of Point class that is equivalent to the value specified in s parameter. ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### Rectangle Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/rectangle.md **Inheritance:** java.lang.Object ``` public class Rectangle ``` Represents a rectangular area. #### Constructors | Constructor | Description | | --- | --- | | Rectangle(double left, double top, double right, double bottom) | Initializes a new instance of the Rectangle class. | | Rectangle(Point position, Size size) | Initializes a new instance of the Rectangle class. | #### Methods | Method | Description | | --- | --- | | getLeft() | Gets the x-coordinate of the left edge of the rectangular area. | | getTop() | Gets the y-coordinate of the top edge of the rectangular area. | | getRight() | Gets the x-coordinate of the right egde of the rectangular area. | | getBottom() | Gets the y-coordinate of the bottom edge of the rectangular area. | | getPosition() | Gets the coordinates of the upper-left corner of the rectangular area. | | getSize() | Gets the size. | | toString() | | ##### Rectangle(double left, double top, double right, double bottom) ``` public Rectangle(double left, double top, double right, double bottom) ``` Initializes a new instance of the Rectangle class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | double | The x-coordinate of the left edge of the rectangular area. | | top | double | The y-coordinate of the top edge of the rectangular area. | | right | double | The x-coordinate of the right edge of the rectangular area. | | bottom | double | The y-coordinate of the bottom edge of the rectangular area. | ##### Rectangle(Point position, Size size) ``` public Rectangle(Point position, Size size) ``` Initializes a new instance of the Rectangle class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | Point | The coordinates of the upper-left corner of the rectangular area. | | size | Size | The size of the rectangular area. | ##### getLeft() ``` public double getLeft() ``` Gets the x-coordinate of the left edge of the rectangular area. **Returns:** double - A double value that represents the x-coordinate of the left edge of the rectangular area. ##### getTop() ``` public double getTop() ``` Gets the y-coordinate of the top edge of the rectangular area. **Returns:** double - A double value that represents the y-coordinate of the top edge of the rectangular area. ##### getRight() ``` public double getRight() ``` Gets the x-coordinate of the right egde of the rectangular area. **Returns:** double - A double value that represents the x-coordinate of the right edge of the rectangular area. ##### getBottom() ``` public double getBottom() ``` Gets the y-coordinate of the bottom edge of the rectangular area. **Returns:** double - A double value that represents the y-coordinate of the bottom edge of the rectangular area. ##### getPosition() ``` public Point getPosition() ``` Gets the coordinates of the upper-left corner of the rectangular area. **Returns:** Point - An instance of Point class that represents the coordinates of the upper-left corner of the rectangular area. ##### getSize() ``` public Size getSize() ``` Gets the size. **Returns:** Size - An instance of Size class that represents the size of the rectangular area. ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### SearchResult Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/searchresult.md **Inheritance:** java.lang.Object ``` public class SearchResult ``` Represents the search result in the search functionality. An instance of SearchResult class is used as return value of Parser.search(String) and Parser.search(String, com.groupdocs.parser.options.SearchOptions) methods. See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | SearchResult(int position, String text, Integer pageIndex, HighlightItem leftHighlightItem, HighlightItem rightHighlightItem) | Initializes a new instance of the SearchResult class. | | SearchResult(int position, String text, Integer pageIndex) | Initializes a new instance of the SearchResult class. | #### Methods | Method | Description | | --- | --- | | getPosition() | Gets the position in the document text. | | getText() | Gets the text. | | getPageIndex() | Gets the page index where the text is found. | | getLeftHighlightItem() | Gets the left highlight. | | getRightHighlightItem() | Gets the right highlight. | ##### SearchResult(int position, String text, Integer pageIndex, HighlightItem leftHighlightItem, HighlightItem rightHighlightItem) ``` public SearchResult(int position, String text, Integer pageIndex, HighlightItem leftHighlightItem, HighlightItem rightHighlightItem) ``` Initializes a new instance of the SearchResult class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | int | The position in the document text. | | text | java.lang.String | The found text. | | pageIndex | java.lang.Integer | The page index where the text is found. | | leftHighlightItem | HighlightItem | The left highlight. | | rightHighlightItem | HighlightItem | The right highlight. | ##### SearchResult(int position, String text, Integer pageIndex) ``` public SearchResult(int position, String text, Integer pageIndex) ``` Initializes a new instance of the SearchResult class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | int | The position in the document text. | | text | java.lang.String | The found text. | | pageIndex | java.lang.Integer | The page index where the text is found. | ##### getPosition() ``` public int getPosition() ``` Gets the position in the document text. **Returns:** int - A zero-based index of the start position of the search result. ##### getText() ``` public String getText() ``` Gets the text. **Returns:** java.lang.String - A string value that respresents the found text. ##### getPageIndex() ``` public Integer getPageIndex() ``` Gets the page index where the text is found. **Returns:** java.lang.Integer - A zero-based index of the page where the text is found; null if the seach is performed on the whole document text. ##### getLeftHighlightItem() ``` public HighlightItem getLeftHighlightItem() ``` Gets the left highlight. **Returns:** HighlightItem - An instance of HighlightItem class; null if it isn't set. ##### getRightHighlightItem() ``` public HighlightItem getRightHighlightItem() ``` Gets the right highlight. **Returns:** HighlightItem - An instance of HighlightItem class; null if it isn't set. ### Size Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/size.md **Inheritance:** java.lang.Object ``` public class Size ``` Represents a size. #### Constructors | Constructor | Description | | --- | --- | | Size(double width, double height) | Initializes a new instance of the Size class. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the width. | | getHeight() | Gets the height. | | isEmpty() | Gets a value that indicates whether the size is empty. | | parse(String s) | Converts the string representation of a size to its class equivalent. | | toString() | | ##### Size(double width, double height) ``` public Size(double width, double height) ``` Initializes a new instance of the Size class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | double | The width in pixels. | | height | double | The height in pixels. | ##### getWidth() ``` public double getWidth() ``` Gets the width. **Returns:** double - A double value that represents the width in pixels. ##### getHeight() ``` public double getHeight() ``` Gets the height. **Returns:** double - A double value that represents the height in pixels. ##### isEmpty() ``` public boolean isEmpty() ``` Gets a value that indicates whether the size is empty. **Returns:** boolean - true if the width and height are zero; otherwise, false . ##### parse(String s) ``` public static Size parse(String s) ``` Converts the string representation of a size to its class equivalent. A return value indicates whether the conversion is succeeded or failed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | s | java.lang.String | A string containing a size to convert. | **Returns:** Size - The instance of Size class that is equivalent to the value specified in s parameter. ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### TextReader Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/textreader.md **Inheritance:** java.lang.Object, java.io.Reader ``` public abstract class TextReader extends Reader ``` Represents a reader that can read a sequential series of characters. #### Constructors | Constructor | Description | | --- | --- | | TextReader() | | #### Methods | Method | Description | | --- | --- | | markSupported() | | | readLine() | Reads a line of characters from the text reader and returns the data as a string. | | readToEnd() | Reads all characters from the current position to the end of the text reader and returns them as one string. | | dispose() | Releases all resources used by TextReader object. | ##### TextReader() ``` public TextReader() ``` ##### markSupported() ``` public boolean markSupported() ``` **Returns:** boolean ##### readLine() ``` public abstract String readLine() ``` Reads a line of characters from the text reader and returns the data as a string. **Returns:** java.lang.String - The next line from the reader, or null if all characters have been read. ##### readToEnd() ``` public abstract String readToEnd() ``` Reads all characters from the current position to the end of the text reader and returns them as one string. **Returns:** java.lang.String - A string that contains all characters from the current position to the end of the text reader. ##### dispose() ``` public void dispose() ``` Releases all resources used by TextReader object. ### TextStyle Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/textstyle.md **Inheritance:** java.lang.Object ``` public final class TextStyle ``` Represents the style of the text such as a font name, a font size and so on. #### Constructors | Constructor | Description | | --- | --- | | TextStyle(String name, String fontName, double fontSize, boolean bold, boolean italic) | Initializes a new instance of the TextStyle class. | #### Methods | Method | Description | | --- | --- | | getName() | Gets the style name. | | getFontName() | Gets the font name. | | getFontSize() | Gets the font size. | | isBold() | Gets the value that indicates whether the font is bold. | | isItalic() | Gets the value that indicates whether the font is italic. | | equals(Object o) | | | hashCode() | | ##### TextStyle(String name, String fontName, double fontSize, boolean bold, boolean italic) ``` public TextStyle(String name, String fontName, double fontSize, boolean bold, boolean italic) ``` Initializes a new instance of the TextStyle class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | The name of the style. | | fontName | java.lang.String | The name of the font. | | fontSize | double | The size of the font. | | bold | boolean | The value that indicates whether the font is bold. | | italic | boolean | The value that indicates whether the font is italic. | ##### getName() ``` public String getName() ``` Gets the style name. **Returns:** java.lang.String - A string value that represents the style name. ##### getFontName() ``` public String getFontName() ``` Gets the font name. **Returns:** java.lang.String - A string value that represents the font name. ##### getFontSize() ``` public double getFontSize() ``` Gets the font size. **Returns:** double - A double value that represents the font size. ##### isBold() ``` public boolean isBold() ``` Gets the value that indicates whether the font is bold. **Returns:** boolean - true if the font is bold; otherwise, false . ##### isItalic() ``` public boolean isItalic() ``` Gets the value that indicates whether the font is italic. **Returns:** boolean - true if the font is italic; otherwise, false . ##### equals(Object o) ``` public boolean equals(Object o) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | o | java.lang.Object | | **Returns:** boolean ##### hashCode() ``` public int hashCode() ``` **Returns:** int ### TocItem Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.data/tocitem.md **Inheritance:** java.lang.Object ``` public class TocItem ``` Represents the item which is used in the table of contents extraction functionality. An instance of TocItem class is used as return value of Parser.getToc() method. See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | TocItem(int depth, String text, Integer pageIndex) | Initializes a new instance of the TocItem class. | #### Methods | Method | Description | | --- | --- | | getDepth() | Gets the depth level. | | getText() | Gets the text. | | getPageIndex() | Gets the page index. | | extractText() | Extracts a text from the document to which TocItem object refers. | ##### TocItem(int depth, String text, Integer pageIndex) ``` public TocItem(int depth, String text, Integer pageIndex) ``` Initializes a new instance of the TocItem class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | depth | int | The depth level of the item. | | text | java.lang.String | The text of the item. | | pageIndex | java.lang.Integer | The index of the page referenced by the item | ##### getDepth() ``` public int getDepth() ``` Gets the depth level. **Returns:** int - An integer value that represents the depth level of the item. ##### getText() ``` public String getText() ``` Gets the text. **Returns:** java.lang.String - A string value that represents the text of the item. ##### getPageIndex() ``` public Integer getPageIndex() ``` Gets the page index. **Returns:** java.lang.Integer - An integer value that represents the index of the page referenced by the item; null if it isn't set. ##### extractText() ``` public TextReader extractText() ``` Extracts a text from the document to which TocItem object refers. The following example how to extract a text by the an item of table of contents: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleDocxWithToc)) { // Get table of contents Iterable tocItems = parser.getToc(); // Check if toc extraction is supported if (tocItems == null) { System.out.println("Table of contents extraction isn't supported"); } // Iterate over items for (TocItem tocItem : tocItems) { // Print the text of the chapter try (TextReader reader = tocItem.extractText()) { System.out.println("----"); System.out.println(reader.readToEnd()); } } } ```` **Returns:** TextReader - An instance of TextReader class with the extracted text. ### com.groupdocs.parser.exceptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.exceptions.md The package provides different exceptions classes. #### Classes | Class | Description | | --- | --- | | CorruptedDocumentException | Thrown during document load, when the document is corrupted. | | GroupDocsParserException | Represents the errors that occur during application execution. | | InvalidPasswordException | Thrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing. | | UnsupportedDocumentFormatException | Thrown during document load, when the document format is not recognized or not supported. | ### CorruptedDocumentException Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.exceptions/corrupteddocumentexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.parser.exceptions.GroupDocsParserException ``` public class CorruptedDocumentException extends GroupDocsParserException ``` Thrown during document load, when the document is corrupted. #### Constructors | Constructor | Description | | --- | --- | | CorruptedDocumentException() | Initializes a new instance of the CorruptedDocumentException class. | | CorruptedDocumentException(String message) | Initializes a new instance of the CorruptedDocumentException class. | ##### CorruptedDocumentException() ``` public CorruptedDocumentException() ``` Initializes a new instance of the CorruptedDocumentException class. ##### CorruptedDocumentException(String message) ``` public CorruptedDocumentException(String message) ``` Initializes a new instance of the CorruptedDocumentException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ### GroupDocsParserException Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.exceptions/groupdocsparserexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException ``` public class GroupDocsParserException extends RuntimeException ``` Represents the errors that occur during application execution. #### Constructors | Constructor | Description | | --- | --- | | GroupDocsParserException() | Initializes a new instance of the GroupDocsParserException class. | | GroupDocsParserException(String message) | Initializes a new instance of the GroupDocsParserException class. | ##### GroupDocsParserException() ``` public GroupDocsParserException() ``` Initializes a new instance of the GroupDocsParserException class. ##### GroupDocsParserException(String message) ``` public GroupDocsParserException(String message) ``` Initializes a new instance of the GroupDocsParserException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ### InvalidPasswordException Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.exceptions/invalidpasswordexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.parser.exceptions.GroupDocsParserException ``` public class InvalidPasswordException extends GroupDocsParserException ``` Thrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing. #### Constructors | Constructor | Description | | --- | --- | | InvalidPasswordException() | Initializes a new instance of the InvalidPasswordException class. | | InvalidPasswordException(String message) | Initializes a new instance of the InvalidPasswordException class. | ##### InvalidPasswordException() ``` public InvalidPasswordException() ``` Initializes a new instance of the InvalidPasswordException class. ##### InvalidPasswordException(String message) ``` public InvalidPasswordException(String message) ``` Initializes a new instance of the InvalidPasswordException class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | The message that describes the error. | ### UnsupportedDocumentFormatException Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.exceptions/unsupporteddocumentformatexception.md **Inheritance:** java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.parser.exceptions.GroupDocsParserException ``` public class UnsupportedDocumentFormatException extends GroupDocsParserException ``` Thrown during document load, when the document format is not recognized or not supported. #### Constructors | Constructor | Description | | --- | --- | | UnsupportedDocumentFormatException() | Initializes a new instance of the UnsupportedDocumentFormatException class. | | UnsupportedDocumentFormatException(String message) | Initializes a new instance of the UnsupportedDocumentFormatException class with the message. | ##### UnsupportedDocumentFormatException() ``` public UnsupportedDocumentFormatException() ``` Initializes a new instance of the UnsupportedDocumentFormatException class. ##### UnsupportedDocumentFormatException(String message) ``` public UnsupportedDocumentFormatException(String message) ``` Initializes a new instance of the UnsupportedDocumentFormatException class with the message. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | message | java.lang.String | Error message. | ### com.groupdocs.parser.export Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.export.md The package provides classes that allow users to export data to different formats. #### Classes | Class | Description | | --- | --- | | ExporterBase | Provides the base class for the data export functionality. | | XmlExporter | Provides the functionality to export data in XML format. | ### ExporterBase Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.export/exporterbase.md **Inheritance:** java.lang.Object ``` public abstract class ExporterBase ``` Provides the base class for the data export functionality. #### Constructors | Constructor | Description | | --- | --- | | ExporterBase() | | #### Methods | Method | Description | | --- | --- | | exportMetadata(Iterable metadata, OutputStream outputStream) | Exports the collection of metadata to the stream. | | exportMetadata(Iterable metadata, String fileName) | Exports the collection of metadata to the file. | | exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) | Exports the document information to the stream. | | exportDocumentInfo(IDocumentInfo documentInfo, String fileName) | Exports the document information to the file. | | exportTextAreas(Iterable textAreas, OutputStream outputStream) | Exports the collection of text areas to the stream. | | exportTextAreas(Iterable textAreas, String fileName) | Exports the collection of text areas to the file. | | exportTables(Iterable tables, OutputStream outputStream) | Exports the collection of tables to the stream. | | exportTables(Iterable tables, String fileName) | Exports the collection of tables to the file. | | exportBarcodes(Iterable barcodes, OutputStream outputStream) | Exports the collection of barcodes to the stream. | | exportBarcodes(Iterable barcodes, String fileName) | Exports the collection of barcodes to the file. | | exportDocumentData(DocumentData documentData, OutputStream outputStream) | Exports document data to the stream. | | exportDocumentData(DocumentData documentData, String fileName) | Exports document data to the file. | ##### ExporterBase() ``` public ExporterBase() ``` ##### exportMetadata(Iterable metadata, OutputStream outputStream) ``` public abstract void exportMetadata(Iterable metadata, OutputStream outputStream) ``` Exports the collection of metadata to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | java.lang.Iterable | The collection of metadata. | | outputStream | java.io.OutputStream | The output stream. | ##### exportMetadata(Iterable metadata, String fileName) ``` public void exportMetadata(Iterable metadata, String fileName) ``` Exports the collection of metadata to the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | java.lang.Iterable | The collection of metadata. | | fileName | java.lang.String | The full path to the output file. | ##### exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) ``` public abstract void exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) ``` Exports the document information to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | outputStream | java.io.OutputStream | The output stream. | ##### exportDocumentInfo(IDocumentInfo documentInfo, String fileName) ``` public void exportDocumentInfo(IDocumentInfo documentInfo, String fileName) ``` Exports the document information to the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | fileName | java.lang.String | The full path to the output file. | ##### exportTextAreas(Iterable textAreas, OutputStream outputStream) ``` public abstract void exportTextAreas(Iterable textAreas, OutputStream outputStream) ``` Exports the collection of text areas to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | textAreas | java.lang.Iterable | The collection of the text areas. | | outputStream | java.io.OutputStream | The output stream. | ##### exportTextAreas(Iterable textAreas, String fileName) ``` public void exportTextAreas(Iterable textAreas, String fileName) ``` Exports the collection of text areas to the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | textAreas | java.lang.Iterable | The collection of text areas. | | fileName | java.lang.String | The full path to the output file. | ##### exportTables(Iterable tables, OutputStream outputStream) ``` public abstract void exportTables(Iterable tables, OutputStream outputStream) ``` Exports the collection of tables to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tables | java.lang.Iterable | The collection of tables. | | outputStream | java.io.OutputStream | The output stream. | ##### exportTables(Iterable tables, String fileName) ``` public void exportTables(Iterable tables, String fileName) ``` Exports the collection of tables to the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tables | java.lang.Iterable | The collection of tables. | | fileName | java.lang.String | The full path to the output file. | ##### exportBarcodes(Iterable barcodes, OutputStream outputStream) ``` public abstract void exportBarcodes(Iterable barcodes, OutputStream outputStream) ``` Exports the collection of barcodes to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | barcodes | java.lang.Iterable | The collection of barcodes. | | outputStream | java.io.OutputStream | The output stream. | ##### exportBarcodes(Iterable barcodes, String fileName) ``` public void exportBarcodes(Iterable barcodes, String fileName) ``` Exports the collection of barcodes to the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | barcodes | java.lang.Iterable | The collection of barcodes. | | fileName | java.lang.String | The full path to the output file. | ##### exportDocumentData(DocumentData documentData, OutputStream outputStream) ``` public abstract void exportDocumentData(DocumentData documentData, OutputStream outputStream) ``` Exports document data to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | outputStream | java.io.OutputStream | The output stream. | ##### exportDocumentData(DocumentData documentData, String fileName) ``` public void exportDocumentData(DocumentData documentData, String fileName) ``` Exports document data to the file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | fileName | java.lang.String | The full path to the output file. | ### XmlExporter Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.export/xmlexporter.md **Inheritance:** java.lang.Object, com.groupdocs.parser.export.ExporterBase ``` public final class XmlExporter extends ExporterBase ``` Provides the functionality to export data in XML format. #### Constructors | Constructor | Description | | --- | --- | | XmlExporter() | Initializes a new instance of the XmlExporter class. | #### Methods | Method | Description | | --- | --- | | exportMetadata(Iterable metadata, OutputStream outputStream) | Exports the collection of metadata to the stream. | | exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) | Exports the document information to the stream. | | exportTextAreas(Iterable textAreas, OutputStream outputStream) | Exports the collection of text areas to the stream. | | exportTables(Iterable tables, OutputStream outputStream) | Exports the collection of tables to the stream. | | exportBarcodes(Iterable barcodes, OutputStream outputStream) | Exports the collection of barcodes to the stream. | | exportDocumentData(DocumentData documentData, OutputStream outputStream) | Exports document data to the stream. | ##### XmlExporter() ``` public XmlExporter() ``` Initializes a new instance of the XmlExporter class. ##### exportMetadata(Iterable metadata, OutputStream outputStream) ``` public void exportMetadata(Iterable metadata, OutputStream outputStream) ``` Exports the collection of metadata to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | metadata | java.lang.Iterable | The collection of metadata. | | outputStream | java.io.OutputStream | The output stream. | ##### exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) ``` public void exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) ``` Exports the document information to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | outputStream | java.io.OutputStream | The output stream. | ##### exportTextAreas(Iterable textAreas, OutputStream outputStream) ``` public void exportTextAreas(Iterable textAreas, OutputStream outputStream) ``` Exports the collection of text areas to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | textAreas | java.lang.Iterable | The collection of the text areas. | | outputStream | java.io.OutputStream | The output stream. | ##### exportTables(Iterable tables, OutputStream outputStream) ``` public void exportTables(Iterable tables, OutputStream outputStream) ``` Exports the collection of tables to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tables | java.lang.Iterable | The collection of tables. | | outputStream | java.io.OutputStream | The output stream. | ##### exportBarcodes(Iterable barcodes, OutputStream outputStream) ``` public void exportBarcodes(Iterable barcodes, OutputStream outputStream) ``` Exports the collection of barcodes to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | barcodes | java.lang.Iterable | The collection of barcodes. | | outputStream | java.io.OutputStream | The output stream. | ##### exportDocumentData(DocumentData documentData, OutputStream outputStream) ``` public void exportDocumentData(DocumentData documentData, OutputStream outputStream) ``` Exports document data to the stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | outputStream | java.io.OutputStream | The output stream. | ### com.groupdocs.parser.licensing Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.licensing.md The package provides classes to set license or use Metered billing. #### Classes | Class | Description | | --- | --- | | License | Represents GroupDocs.Parser license. | | Metered | Provides methods to set metered key. | ### License Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.licensing/license.md **Inheritance:** java.lang.Object ``` public final class License ``` Represents GroupDocs.Parser license. This example demonstrates how to setup license. ```` ``` // Initialize License class License license = new License(); // Set path to .lic file license.setLicense("C:\\GroupDocs.Parser.for.Java.lic"); ``` ```` #### Constructors | Constructor | Description | | --- | --- | | License() | Initializes a new instance of the License class. | #### Methods | Method | Description | | --- | --- | | setLicense(String filePath) | Licenses the component. | | setLicense(InputStream stream) | Licenses the component. | ##### License() ``` public License() ``` Initializes a new instance of the License class. ##### setLicense(String filePath) ``` public final void setLicense(String filePath) ``` Licenses the component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | Absolute path to license file. | ##### setLicense(InputStream stream) ``` public final void setLicense(InputStream stream) ``` Licenses the component. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | License stream. | ### Metered Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.licensing/metered.md **Inheritance:** java.lang.Object ``` public final class Metered ``` Provides methods to set metered key. In this example, an attempt will be made to set metered public and private key: ```` ``` Metered metered = new Metered(); metered.setMeteredKey("PublicKey", "PrivateKey"); ``` ```` #### Constructors | Constructor | Description | | --- | --- | | Metered() | Initializes a new instance of the Metered class. | #### Methods | Method | Description | | --- | --- | | setMeteredKey(String publicKey, String privateKey) | Sets metered public and private key. | | getConsumptionQuantity() | Retrieves amount of MBs processed. | | getConsumptionCredit() | Retrieves count of credits consumed. | ##### Metered() ``` public Metered() ``` Initializes a new instance of the Metered class. ##### setMeteredKey(String publicKey, String privateKey) ``` public final void setMeteredKey(String publicKey, String privateKey) ``` Sets metered public and private key. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | publicKey | java.lang.String | A public key. | | privateKey | java.lang.String | A private key | ##### getConsumptionQuantity() ``` public static BigDecimal getConsumptionQuantity() ``` Retrieves amount of MBs processed. **Returns:** java.math.BigDecimal - A double value that represents the consumption quantity. ##### getConsumptionCredit() ``` public static BigDecimal getConsumptionCredit() ``` Retrieves count of credits consumed. **Returns:** java.math.BigDecimal - A double value that represents the consumption credit. ### com.groupdocs.parser.options Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options.md The package provides classes to specify additional options when parsing data from documents. #### Classes | Class | Description | | --- | --- | | BarcodeOptions | Provides the options which are used for barcode extraction. | | DocumentInfo | Represents the document information. | | EmailConnection | Represents the email connection information. | | EmailEwsConnection | Represents the email connection information for EWS protocol. | | EmailImapConnection | Represents the email connection information for IMAP protocol. | | EmailPopConnection | Represents the email connection information for POP protocol. | | ExternalResourceHandler | Provides a handler for external resources loading. | | ExternalResourceLoadingArgs | Provides the data for ExternalResourceHandler.#onLoading(ExternalResourceLoadingArgs) method. | | Features | Represents the supported features list. | | FileInfo | Represents the file information. | | FileType | Represents the file type. | | FormattedTextOptions | Provides the options which are used for formatted text extraction. | | HighlightOptions | Provides the options which are used to extract a highlight (a block of text aroud found text in search scenarios). | | ImageOptions | Provides the options which are used for image extraction. | | LoadOptions | Provides the options which are used to open a file. | | OcrConnectorBase | Provides the OCR functionality. | | OcrEventHandler | Provides a handler for OCR events. | | OcrOptions | Provides the options which are used for OCR Connector. | | PageAreaOptions | Provides the options which are used for page areas extraction. | | PageInfo | Represents the document page information. | | PageRenderInfo | Represents the information of how a page is rendered. | | PageTableAreaOptions | Provides the options which are used for page table areas extraction. | | PageTextAreaOptions | Provides the options which are used for page text areas extraction. | | ParserSettings | Provides the settings which are used to customize data extraction. | | PreviewOptions | Provides options to sets requirements and stream delegates for preview generation. | | SearchOptions | Provides the options which are used for text search. | | TextDocumentInfo | Represents the text document information. | | TextOptions | Provides the options which are used for text extraction. | #### Interfaces | Interface | Description | | --- | --- | | ICreatePageStream | Represents a delegate that returns a stream to write page preview data. | | IDocumentInfo | Represents the document information. | | ILogger | Defines the interface of a logger that is used for logging events and errors during data extraction. | | IPreviewPageRender | Represents a method which is called before a document page is rendered. | | IReleasePageStream | Represents a method which releases the stream created by the ICreatePageStream delegate. | #### Enumerations | Enum | Description | | --- | --- | | FileFormat | Defines a type of the file. | | FileTypeDetectionMode | Defines a mode of the file type detection. | | FormattedTextMode | Defines a formatted text mode. | | ImageFormat | Defines a format of the image. | | PreviewFormats | Represents supported preview formats. | | QualityMode | Defines a level of the quality. | ### BarcodeOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/barcodeoptions.md **Inheritance:** java.lang.Object ``` public class BarcodeOptions ``` Provides the options which are used for barcode extraction. #### Constructors | Constructor | Description | | --- | --- | | BarcodeOptions() | Initializes a new instance of the BarcodeOptions class with default values. | | BarcodeOptions(Rectangle rectangle) | Initializes a new instance of the BarcodeOptions class with the rectangular area. | | BarcodeOptions(QualityMode imageQuality, QualityMode barcodeQuality, String[] codeTypes) | Initializes a new instance of the BarcodeOptions class with quality settings and code types. | | BarcodeOptions(Rectangle rectangle, QualityMode imageQuality, QualityMode barcodeQuality, Float dimension, boolean allowIncorrectBarcodes, String[] codeTypes) | Initializes a new instance of the BarcodeOptions class. | #### Methods | Method | Description | | --- | --- | | isAllowIncorrectBarcodes() | Gets the value that indicates whether the incorrect barcodes are allowed. | | getDimension() | Gets the minimal size of the barcode minimal element. | | getImageQuality() | Gets the quality of a source image. | | getBarcodeQuality() | Gets the quality of a source barcode. | | getRectangle() | Gets the rectangular area that contains page areas. | | getCodeTypes() | Gets the types of barcodes to read. | | setAllowIncorrectBarcodes(boolean allowIncorrectBarcodes) | Sets the value that indicates whether the incorrect barcodes are allowed. | | setDimension(Float dimension) | Sets the minimal size of the barcode minimal element. | | setImageQuality(QualityMode imageQuality) | Sets the quality of a source image. | | setBarcodeQuality(QualityMode barcodeQuality) | Sets the quality of a source barcode. | | setRectangle(Rectangle rectangle) | Sets the rectangular area that contains barcodes. | | setCodeTypes(List codeTypes) | Sets the types of barcodes to read. | ##### BarcodeOptions() ``` public BarcodeOptions() ``` Initializes a new instance of the BarcodeOptions class with default values. ##### BarcodeOptions(Rectangle rectangle) ``` public BarcodeOptions(Rectangle rectangle) ``` Initializes a new instance of the BarcodeOptions class with the rectangular area. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains barcodes. | ##### BarcodeOptions(QualityMode imageQuality, QualityMode barcodeQuality, String[] codeTypes) ``` public BarcodeOptions(QualityMode imageQuality, QualityMode barcodeQuality, String[] codeTypes) ``` Initializes a new instance of the BarcodeOptions class with quality settings and code types. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageQuality | QualityMode | The quality of a source image. | | barcodeQuality | QualityMode | The quality of a source barcode. | | codeTypes | java.lang.String[] | The types of barcodes to read. | ##### BarcodeOptions(Rectangle rectangle, QualityMode imageQuality, QualityMode barcodeQuality, Float dimension, boolean allowIncorrectBarcodes, String[] codeTypes) ``` public BarcodeOptions(Rectangle rectangle, QualityMode imageQuality, QualityMode barcodeQuality, Float dimension, boolean allowIncorrectBarcodes, String[] codeTypes) ``` Initializes a new instance of the BarcodeOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains barcodes. | | imageQuality | QualityMode | The quality of a source image. | | barcodeQuality | QualityMode | The quality of a source barcode. | | dimension | java.lang.Float | The minimal size of the barcode minimal element. | | allowIncorrectBarcodes | boolean | The value that indicates whether the incorrect barcodes are allowed. | | codeTypes | java.lang.String[] | The types of barcodes to read. | ##### isAllowIncorrectBarcodes() ``` public boolean isAllowIncorrectBarcodes() ``` Gets the value that indicates whether the incorrect barcodes are allowed. **Returns:** boolean - true if the incorrect barcodes are allowed; otherwise, false . ##### getDimension() ``` public Float getDimension() ``` Gets the minimal size of the barcode minimal element. **Returns:** java.lang.Float - The float value that represents the barcode minimal element; null if auto mode is used. ##### getImageQuality() ``` public QualityMode getImageQuality() ``` Gets the quality of a source image. **Returns:** QualityMode - The mode which defines the level of the source image quality. ##### getBarcodeQuality() ``` public QualityMode getBarcodeQuality() ``` Gets the quality of a source barcode. **Returns:** QualityMode - The mode which defines the level of the source barcode quality. ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area that contains page areas. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area that contains page areas; null if it isn't set. ##### getCodeTypes() ``` public List getCodeTypes() ``` Gets the types of barcodes to read. **Returns:** java.util.List - The readonly collection that contains a types of barcodes to read; empty collection if isn't set. ##### setAllowIncorrectBarcodes(boolean allowIncorrectBarcodes) ``` public void setAllowIncorrectBarcodes(boolean allowIncorrectBarcodes) ``` Sets the value that indicates whether the incorrect barcodes are allowed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | allowIncorrectBarcodes | boolean | true if the incorrect barcodes are allowed. | ##### setDimension(Float dimension) ``` public void setDimension(Float dimension) ``` Sets the minimal size of the barcode minimal element. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dimension | java.lang.Float | The barcode minimal element; null for auto mode. | ##### setImageQuality(QualityMode imageQuality) ``` public void setImageQuality(QualityMode imageQuality) ``` Sets the quality of a source image. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageQuality | QualityMode | The image quality mode. | ##### setBarcodeQuality(QualityMode barcodeQuality) ``` public void setBarcodeQuality(QualityMode barcodeQuality) ``` Sets the quality of a source barcode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | barcodeQuality | QualityMode | The barcode quality mode. | ##### setRectangle(Rectangle rectangle) ``` public void setRectangle(Rectangle rectangle) ``` Sets the rectangular area that contains barcodes. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area; null to scan the whole page. | ##### setCodeTypes(List codeTypes) ``` public void setCodeTypes(List codeTypes) ``` Sets the types of barcodes to read. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | codeTypes | java.util.List | The types of barcodes; null or empty for all types. | ### DocumentInfo Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/documentinfo.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** com.groupdocs.parser.options.IDocumentInfo ``` public abstract class DocumentInfo implements IDocumentInfo ``` Represents the document information. **Learn more:** * Get document info * Detect encoding #### Constructors | Constructor | Description | | --- | --- | | DocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getFileType() | Gets the document type. | | getPageCount() | Gets the total number of document pages. | | getRawPageCount() | Gets the total number of document raw pages. | | getSize() | Gets the size of the document in bytes. | | getPages() | Gets the information about pages such as the index and page size. | ##### DocumentInfo() ``` public DocumentInfo() ``` ##### getFileType() ``` public abstract FileType getFileType() ``` Gets the document type. **Returns:** FileType - An instance of FileType class that represents the type of the document. ##### getPageCount() ``` public abstract int getPageCount() ``` Gets the total number of document pages. **Returns:** int - An integer value that represents a total number of pages. ##### getRawPageCount() ``` public abstract int getRawPageCount() ``` Gets the total number of document raw pages. Use getRawPageCount() property instead of getPageCount() property for raw text extraction. Some documents have different page numbers in accurate and raw text extraction modes. getPageCount() property may perform extra calculations which impacts on text extraction speed in raw mode. **Returns:** int - An integer value that represents a total number of raw pages. ##### getSize() ``` public abstract long getSize() ``` Gets the size of the document in bytes. **Returns:** long - An integer value that represents the size of the document in bytes. ##### getPages() ``` public abstract List getPages() ``` Gets the information about pages such as the index and page size. **Returns:** java.util.List - A collection with instances of PageInfo classes. ### EmailConnection Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/emailconnection.md **Inheritance:** java.lang.Object ``` public abstract class EmailConnection ``` Represents the email connection information. #### Methods | Method | Description | | --- | --- | | getUserName() | Gets the user name. | | getPassword() | Gets the password. | ##### getUserName() ``` public String getUserName() ``` Gets the user name. **Returns:** java.lang.String - A string value that represents the user name. ##### getPassword() ``` public String getPassword() ``` Gets the password. **Returns:** java.lang.String - A string value that represents the password. ### EmailEwsConnection Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/emailewsconnection.md **Inheritance:** java.lang.Object, com.groupdocs.parser.options.EmailConnection ``` public final class EmailEwsConnection extends EmailConnection ``` Represents the email connection information for EWS protocol. #### Constructors | Constructor | Description | | --- | --- | | EmailEwsConnection(String mailboxUri, String userName, String password) | Initializes a new instance of the EmailEwsConnection class. | | EmailEwsConnection(String mailboxUri, String domain, String userName, String password) | Initializes a new instance of the EmailEwsConnection class. | #### Methods | Method | Description | | --- | --- | | getMailboxUri() | Gets the URI of the mailbox. | | getDomain() | Gets the domain name. | ##### EmailEwsConnection(String mailboxUri, String userName, String password) ``` public EmailEwsConnection(String mailboxUri, String userName, String password) ``` Initializes a new instance of the EmailEwsConnection class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mailboxUri | java.lang.String | The URI of mailbox. | | userName | java.lang.String | The user name. | | password | java.lang.String | The password. | ##### EmailEwsConnection(String mailboxUri, String domain, String userName, String password) ``` public EmailEwsConnection(String mailboxUri, String domain, String userName, String password) ``` Initializes a new instance of the EmailEwsConnection class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mailboxUri | java.lang.String | The URI of mailbox. | | domain | java.lang.String | The domain name. | | userName | java.lang.String | The user name. | | password | java.lang.String | The password. | ##### getMailboxUri() ``` public String getMailboxUri() ``` Gets the URI of the mailbox. **Returns:** java.lang.String - A string value that represents a URI of the mailbox. ##### getDomain() ``` public String getDomain() ``` Gets the domain name. **Returns:** java.lang.String - A string value that represents the domain name. ### EmailImapConnection Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/emailimapconnection.md **Inheritance:** java.lang.Object, com.groupdocs.parser.options.EmailConnection ``` public final class EmailImapConnection extends EmailConnection ``` Represents the email connection information for IMAP protocol. #### Constructors | Constructor | Description | | --- | --- | | EmailImapConnection(String host, int port, String userName, String password) | Initializes a new instance of the EmailImapConnection class. | #### Methods | Method | Description | | --- | --- | | getHost() | Gets the host name. | | getPort() | Gets the port number. | ##### EmailImapConnection(String host, int port, String userName, String password) ``` public EmailImapConnection(String host, int port, String userName, String password) ``` Initializes a new instance of the EmailImapConnection class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | host | java.lang.String | The host name. | | port | int | The port number. | | userName | java.lang.String | The user name. | | password | java.lang.String | The password. | ##### getHost() ``` public String getHost() ``` Gets the host name. **Returns:** java.lang.String - A string value that represents the host name. ##### getPort() ``` public int getPort() ``` Gets the port number. **Returns:** int - An integer value that represents the port number. ### EmailPopConnection Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/emailpopconnection.md **Inheritance:** java.lang.Object, com.groupdocs.parser.options.EmailConnection ``` public final class EmailPopConnection extends EmailConnection ``` Represents the email connection information for POP protocol. #### Constructors | Constructor | Description | | --- | --- | | EmailPopConnection(String host, int port, String userName, String password) | Initializes a new instance of the EmailPopConnection class. | #### Methods | Method | Description | | --- | --- | | getHost() | Gets the host name. | | getPort() | Gets the port number. | ##### EmailPopConnection(String host, int port, String userName, String password) ``` public EmailPopConnection(String host, int port, String userName, String password) ``` Initializes a new instance of the EmailPopConnection class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | host | java.lang.String | The host name. | | port | int | The port number. | | userName | java.lang.String | The user name. | | password | java.lang.String | The password. | ##### getHost() ``` public String getHost() ``` Gets the host name. **Returns:** java.lang.String - A string value that represents the host name. ##### getPort() ``` public int getPort() ``` Gets the port number. **Returns:** int - An integer value that represents the port number. ### ExternalResourceHandler Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/externalresourcehandler.md **Inheritance:** java.lang.Object ``` public class ExternalResourceHandler ``` Provides a handler for external resources loading. #### Constructors | Constructor | Description | | --- | --- | | ExternalResourceHandler() | | #### Methods | Method | Description | | --- | --- | | onLoading(ExternalResourceLoadingArgs args) | Called before any external resource load. | ##### ExternalResourceHandler() ``` public ExternalResourceHandler() ``` ##### onLoading(ExternalResourceLoadingArgs args) ``` public void onLoading(ExternalResourceLoadingArgs args) ``` Called before any external resource load. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | args | ExternalResourceLoadingArgs | The data to control external resource loading. | ### ExternalResourceLoadingArgs Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/externalresourceloadingargs.md **Inheritance:** java.lang.Object ``` public class ExternalResourceLoadingArgs ``` Provides the data for ExternalResourceHandler.onLoading(ExternalResourceLoadingArgs) method. #### Constructors | Constructor | Description | | --- | --- | | ExternalResourceLoadingArgs(String uri) | Initializes a new instance of the ExternalResourceLoadingArgs class with rectangular area. | #### Methods | Method | Description | | --- | --- | | getUri() | Gets the URI of the external resource. | | setUri(String uri) | Gets the URI of the external resource. | | isSkipped() | Gets the value that indicates whether the loading of the external resource must be skipped. | | setSkipped(boolean skipped) | Sets the value that indicates whether the loading of the external resource must be skipped. | | getData() | Gets the user data. | | setData(byte[] data) | Sets the user data. | ##### ExternalResourceLoadingArgs(String uri) ``` public ExternalResourceLoadingArgs(String uri) ``` Initializes a new instance of the ExternalResourceLoadingArgs class with rectangular area. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | uri | java.lang.String | URI of the external resource. | ##### getUri() ``` public String getUri() ``` Gets the URI of the external resource. **Returns:** java.lang.String - A string value that represents URI of the external resource. ##### setUri(String uri) ``` public void setUri(String uri) ``` Gets the URI of the external resource. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | uri | java.lang.String | A string value that represents a new URI of the external resource. | ##### isSkipped() ``` public boolean isSkipped() ``` Gets the value that indicates whether the loading of the external resource must be skipped. **Returns:** boolean - true if the loading of the external resource must be skipped; otherwise, false. ##### setSkipped(boolean skipped) ``` public void setSkipped(boolean skipped) ``` Sets the value that indicates whether the loading of the external resource must be skipped. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | skipped | boolean | true if the loading of the external resource must be skipped; otherwise, false. | ##### getData() ``` public byte[] getData() ``` Gets the user data. **Returns:** byte[] - The byte array with the user content of the external resource. null if isn't set. ##### setData(byte[] data) ``` public void setData(byte[] data) ``` Sets the user data. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | data | byte[] | The byte array with the user content of the external resource. null if isn't set. | ### Features Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/features.md **Inheritance:** java.lang.Object ``` public abstract class Features ``` Represents the supported features list. Allows to obtain information which features are supported or not for the document. An instance of this class is used as Parser.getFeatures() property. See the usage examples there. **Learn more:** * Get supported features #### Constructors | Constructor | Description | | --- | --- | | Features() | | #### Methods | Method | Description | | --- | --- | | isFeatureSupported(String featureName) | Returns the value that indicates whether the feature is supported. | | isText() | Gets the value that indicates whether text extraction is supported. | | isTextPage() | Gets the value that indicates whether text page extraction is supported. | | isFormattedText() | Gets the value that indicates whether formatted text extraction is supported. | | isFormattedTextPage() | Gets the value that indicates whether formatted text page extraction is supported. | | isSearch() | Gets the value that indicates whether text search is supported. | | isHighlight() | Gets the value that indicates whether highlight extraction is supported. | | isBarcodes() | Gets the value that indicates whether barcodes extraction is supported. | | isToc() | Gets the value that indicates whether table of contents extraction is supported. | | isMetadata() | Gets the value that indicates whether metadata extraction is supported. | | isContainer() | Gets the value that indicates whether container extraction is supported. | | isTextAreas() | Gets the value that indicates whether text areas extraction is supported. | | isStructure() | Gets the value that indicates whether text structure extraction is supported. | | isImages() | Gets the value that indicates whether images extraction is supported. | | isHyperlinks() | Gets the value that indicates whether hyperlinks extraction is supported. | | isTables() | Gets the value that indicates whether tables extraction is supported. | | isParseByTemplate() | Gets the value that indicates whether parsing by template is supported. | | isParseForm() | Gets the value that indicates whether form parsing is supported. | | isPreview() | Gets the value that indicates whether preview generation is supported. | | isPagePreview() | Gets the value that indicates whether the page preview generation is supported. | | isOcr() | Gets the value that indicates whether OCR functionality is supported. | | isWorksheet() | Gets the value that indicates whether the worksheet extraction is supported. | ##### Features() ``` public Features() ``` ##### isFeatureSupported(String featureName) ``` public abstract boolean isFeatureSupported(String featureName) ``` Returns the value that indicates whether the feature is supported. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | featureName | java.lang.String | The feature name. | **Returns:** boolean - true if the feature is supported; otherwise, false . ##### isText() ``` public boolean isText() ``` Gets the value that indicates whether text extraction is supported. **Returns:** boolean - true if text extraction is supported; otherwise, false . ##### isTextPage() ``` public boolean isTextPage() ``` Gets the value that indicates whether text page extraction is supported. **Returns:** boolean - true if text page extraction is supported; otherwise, false . ##### isFormattedText() ``` public boolean isFormattedText() ``` Gets the value that indicates whether formatted text extraction is supported. **Returns:** boolean - true if formatted text extraction is supported; otherwise, false . ##### isFormattedTextPage() ``` public boolean isFormattedTextPage() ``` Gets the value that indicates whether formatted text page extraction is supported. **Returns:** boolean - true if formatted text page is supported; otherwise, false . ##### isSearch() ``` public boolean isSearch() ``` Gets the value that indicates whether text search is supported. **Returns:** boolean - true if text search is supported; otherwise, false . ##### isHighlight() ``` public boolean isHighlight() ``` Gets the value that indicates whether highlight extraction is supported. **Returns:** boolean - true if highlight extraction is supported; otherwise, false . ##### isBarcodes() ``` public boolean isBarcodes() ``` Gets the value that indicates whether barcodes extraction is supported. **Returns:** boolean - true if barcodes extraction is supported; otherwise, false . ##### isToc() ``` public boolean isToc() ``` Gets the value that indicates whether table of contents extraction is supported. **Returns:** boolean - true if table of contents extraction is supported; otherwise, false . ##### isMetadata() ``` public boolean isMetadata() ``` Gets the value that indicates whether metadata extraction is supported. **Returns:** boolean - true if metadata extraction is supported; otherwise, false . ##### isContainer() ``` public boolean isContainer() ``` Gets the value that indicates whether container extraction is supported. **Returns:** boolean - true if container extraction is supported; otherwise, false . ##### isTextAreas() ``` public boolean isTextAreas() ``` Gets the value that indicates whether text areas extraction is supported. **Returns:** boolean - true if text areas extraction is supported; otherwise, false . ##### isStructure() ``` public boolean isStructure() ``` Gets the value that indicates whether text structure extraction is supported. **Returns:** boolean - true if text structure extraction is supported; otherwise, false . ##### isImages() ``` public boolean isImages() ``` Gets the value that indicates whether images extraction is supported. **Returns:** boolean - true if images extraction is supported; otherwise, false . ##### isHyperlinks() ``` public boolean isHyperlinks() ``` Gets the value that indicates whether hyperlinks extraction is supported. **Returns:** boolean - true if hyperlinks extraction is supported; otherwise, false . ##### isTables() ``` public boolean isTables() ``` Gets the value that indicates whether tables extraction is supported. **Returns:** boolean - true if tables extraction is supported; otherwise, false . ##### isParseByTemplate() ``` public boolean isParseByTemplate() ``` Gets the value that indicates whether parsing by template is supported. **Returns:** boolean - true if parsing by template is supported; otherwise, false . ##### isParseForm() ``` public boolean isParseForm() ``` Gets the value that indicates whether form parsing is supported. **Returns:** boolean - true if form parsing is supported; otherwise, false . ##### isPreview() ``` public boolean isPreview() ``` Gets the value that indicates whether preview generation is supported. **Returns:** boolean - true if preview generation is supported; otherwise, false . ##### isPagePreview() ``` public boolean isPagePreview() ``` Gets the value that indicates whether the page preview generation is supported. **Returns:** boolean - true if the page preview generation is supported; otherwise, false . ##### isOcr() ``` public boolean isOcr() ``` Gets the value that indicates whether OCR functionality is supported. **Returns:** boolean - true if OCR functionality is supported; otherwise, false . ##### isWorksheet() ``` public boolean isWorksheet() ``` Gets the value that indicates whether the worksheet extraction is supported. **Returns:** boolean - true if the worksheet extraction is supported; otherwise, false . ### FileFormat Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/fileformat.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum FileFormat extends Enum ``` Defines a type of the file. **Learn more:** * Loading specific file formats #### Fields | Field | Description | | --- | --- | | Unknown | Default value. | | WordProcessing | Word Processing document (DOC, DOCX, ODT, etc). | | Spreadsheet | Spreadsheet document (XLS, XLSX, ODS, etc). | | Presentation | Presentation document (PPT, PPTX, ODP, etc). | | Email | Email document (email messages or email message containers). | | Pdf | PDF document. | | Markup | Markup document (HTML, XML, Markdown, etc). | | Ebook | Ebook document (ePUB, FictionBook, etc). | | Note | Note document. | | Archive | Archive file. | | Database | Database files (via JDBC). | | Image | Image file. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### Unknown ``` public static final FileFormat Unknown ``` Default value. ##### WordProcessing ``` public static final FileFormat WordProcessing ``` Word Processing document (DOC, DOCX, ODT, etc). ##### Spreadsheet ``` public static final FileFormat Spreadsheet ``` Spreadsheet document (XLS, XLSX, ODS, etc). ##### Presentation ``` public static final FileFormat Presentation ``` Presentation document (PPT, PPTX, ODP, etc). ##### Email ``` public static final FileFormat Email ``` Email document (email messages or email message containers). ##### Pdf ``` public static final FileFormat Pdf ``` PDF document. ##### Markup ``` public static final FileFormat Markup ``` Markup document (HTML, XML, Markdown, etc). ##### Ebook ``` public static final FileFormat Ebook ``` Ebook document (ePUB, FictionBook, etc). ##### Note ``` public static final FileFormat Note ``` Note document. ##### Archive ``` public static final FileFormat Archive ``` Archive file. ##### Database ``` public static final FileFormat Database ``` Database files (via JDBC). ##### Image ``` public static final FileFormat Image ``` Image file. ##### values() ``` public static FileFormat[] values() ``` **Returns:** com.groupdocs.parser.options.FileFormat[] ##### valueOf(String name) ``` public static FileFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** FileFormat ### FileInfo Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/fileinfo.md **Inheritance:** java.lang.Object ``` public class FileInfo ``` Represents the file information. #### Constructors | Constructor | Description | | --- | --- | | FileInfo(FileType fileType, long size, boolean encrypted) | | #### Methods | Method | Description | | --- | --- | | getFileType() | Gets the document type. | | getSize() | Gets the size of the document in bytes. | | isEncrypted() | Gets a value that represents whether a file is password-protected. | ##### FileInfo(FileType fileType, long size, boolean encrypted) ``` public FileInfo(FileType fileType, long size, boolean encrypted) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | | | size | long | | | encrypted | boolean | | ##### getFileType() ``` public FileType getFileType() ``` Gets the document type. **Returns:** FileType - An instance of FileType class that represents the type of the document. ##### getSize() ``` public long getSize() ``` Gets the size of the document in bytes. **Returns:** long - An integer value that represents the size of the document in bytes. ##### isEncrypted() ``` public boolean isEncrypted() ``` Gets a value that represents whether a file is password-protected. **Returns:** boolean - A boolean true if a file is password-protected; otherwise false. ### FileType Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/filetype.md **Inheritance:** java.lang.Object ``` public class FileType ``` Represents the file type. Provides methods to obtain list of all file types supported by GroupDocs.Parser. **Learn more:** * Supported File Formats * Get supported file formats * Get document info #### Fields | Field | Description | | --- | --- | | Unknown | Represents unknown file type. | | DOC | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. | | DOT | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. | | DOCX | DOCX is a well-known format for Microsoft Word documents. | | DOCM | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. | | DOTX | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. | | DOTM | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. | | TXT | A file with .TXT extension represents a text document that contains plain text in the form of lines. | | TEXT | A file with .TEXT extension represents a text document that contains plain text in the form of lines. | | ODT | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. | | OTT | Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. | | RTF | Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. | | PDF | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. | | HTM | Files with HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers such as Google Chrome, Internet Explorer, Firefox and a number of others. | | HTML | HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. | | XHTML | The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0. | | MHT | Files with MHT extension represent a web page archive format that can be created by a number of different applications. | | MHTML | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. | | XML | XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. | | MD | Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. | | FB2 | Files with FB2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. | | CHM | The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. | | EPUB | Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. | | AZW3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. | | MOBI | The Mobipocket file format (originally with extension .prc and later .mobi) is a proprietary, partially documented, binary format for ebooks. | | XLS | Files with XLS extension represent Excel Binary File Format. | | XLSX | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. | | XLSM | Files with XLSM extension is a type of Spreasheet files that support Macros. | | XLSB | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. | | XLT | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. | | XLTX | Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. | | XLTM | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. | | XLA | The Excel 97-2003 Add-In, a supplemental program that is designed to run additional code. | | XLAM | The XML-based and macro-enabled Add-In format for Excel 2010 and Excel 2007. | | CSV | Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. | | TSV | A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. | | ODS | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. | | OTS | The OTS files contain template files used by the OpenOffice spreadsheet application. | | NUMBERS | Files that contain the .numbers file extension are files that are created by the Apple iWork Numbers spreadsheet application. | | PPT | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. | | PPTX | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. | | PPS | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. | | PPSX | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. | | ODP | Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. | | POT | Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. | | PPTM | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. | | POTX | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. | | POTM | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. | | PPSM | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. | | OTP | Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. | | MSG | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. | | EML | EML file format represents email messages saved using Outlook and other relevant applications. | | EMLX | The EMLX file format is implemented and developed by Apple. | | PST | Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. | | OST | OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. | | ONE | File represented by .ONE extension are created by Microsoft OneNote application. | | ZIP | ZIP file extension represents archives that can hold one or more files or directories. | | SEVENZ | 7z is an archiving format for compressing files and folders with a high compression ratio. | | RAR | Files with .rar extension represent archive files that are created for storing information in compressed or normal form. | | TAR | Files with .tar extension are archives created with Unix-based utility for collecting one or more files. | | GZ | Files with .gz extension are compressed files created with gzip compression application. | | BZ2 | Compressed file using Bzip2 algorithm. | | TIF | TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | TIFF | TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. | | JPG | A JPG is a type of image format that is saved using the method of lossy compression. | | JPEG | A JPEG is a type of image format that is saved using the method of lossy compression. | | PNG | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. | | GIF | A GIF or Graphical Interchange Format is a type of highly compressed image. | | BMP | Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. | | ICO | Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. | | JP2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. | | JPF | JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. | | JPX | JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. | | JPM | JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. | | J2C | JPEG 2000 (J2C) is an image coding system and state-of-the-art image compression standard. | | J2K | JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. | | JPC | JPEG 2000 (JPC) is an image coding system and state-of-the-art image compression standard. | | DIB | A DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. | | WMF | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. | | EMF | Enhanced metafile format (EMF) stores graphical images device-independently. | | WEBP | WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. | | DJVU | DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. | | CGM | Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. | | PCL | PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). | | PSD | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. | | DCM | Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. | | PS | PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. | | EPS | Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. | | ODG | The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. | | SVG | An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. | | PICT | The PICT file format is a meta-format that can be used for both bitmap images and vector images. | #### Methods | Method | Description | | --- | --- | | getFileFormat() | File type name e.g. | | getExtension() | Filename suffix (including the period ".") e.g. | | getFormat() | File format e.g. | | equals(Object object) | | | toString() | | | fromExtension(String extension) | Maps file extension to file type. | | getSupportedFileTypes() | Retrieves supported file types | ##### Unknown ``` public static final FileType Unknown ``` Represents unknown file type. ##### DOC ``` public static final FileType DOC ``` Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format here. ##### DOT ``` public static final FileType DOT ``` Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format here. ##### DOCX ``` public static final FileType DOCX ``` DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format here. ##### DOCM ``` public static final FileType DOCM ``` DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format here. ##### DOTX ``` public static final FileType DOTX ``` Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format here. ##### DOTM ``` public static final FileType DOTM ``` A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format here. ##### TXT ``` public static final FileType TXT ``` A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format here. ##### TEXT ``` public static final FileType TEXT ``` A file with .TEXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format here. ##### ODT ``` public static final FileType ODT ``` ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format here. ##### OTT ``` public static final FileType OTT ``` Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format here. ##### RTF ``` public static final FileType RTF ``` Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. The format facilitates cross-platform document exchange with other Microsoft Products, thus serving the purpose of interoperability. Learn more about this file format here. ##### PDF ``` public static final FileType PDF ``` Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format here. ##### HTM ``` public static final FileType HTM ``` Files with HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers such as Google Chrome, Internet Explorer, Firefox and a number of others. Learn more about this file format here. ##### HTML ``` public static final FileType HTML ``` HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format here. ##### XHTML ``` public static final FileType XHTML ``` The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0. Learn more about this file format here. ##### MHT ``` public static final FileType MHT ``` Files with MHT extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format here. ##### MHTML ``` public static final FileType MHTML ``` Files with MHTML extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format here. ##### XML ``` public static final FileType XML ``` XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format here. ##### MD ``` public static final FileType MD ``` Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. Learn more about this file format here. ##### FB2 ``` public static final FileType FB2 ``` Files with FB2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. Learn more about this file format here. ##### CHM ``` public static final FileType CHM ``` The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. Learn more about this file format here. ##### EPUB ``` public static final FileType EPUB ``` Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format here. ##### AZW3 ``` public static final FileType AZW3 ``` AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. Learn more about this file format here. ##### MOBI ``` public static final FileType MOBI ``` The Mobipocket file format (originally with extension .prc and later .mobi) is a proprietary, partially documented, binary format for ebooks. Learn more about this file format here. ##### XLS ``` public static final FileType XLS ``` Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format here. ##### XLSX ``` public static final FileType XLSX ``` XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format here. ##### XLSM ``` public static final FileType XLSM ``` Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format here. ##### XLSB ``` public static final FileType XLSB ``` XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format here. ##### XLT ``` public static final FileType XLT ``` Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format here. ##### XLTX ``` public static final FileType XLTX ``` Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format here. ##### XLTM ``` public static final FileType XLTM ``` The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format here. ##### XLA ``` public static final FileType XLA ``` The Excel 97-2003 Add-In, a supplemental program that is designed to run additional code. Supports the use of VBA projects. ##### XLAM ``` public static final FileType XLAM ``` The XML-based and macro-enabled Add-In format for Excel 2010 and Excel 2007. An Add-In is a supplemental program that is designed to run additional code. Supports the use of VBA projects and Excel 4.0 macro sheets (.xlm). ##### CSV ``` public static final FileType CSV ``` Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format here. ##### TSV ``` public static final FileType TSV ``` A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format here. ##### ODS ``` public static final FileType ODS ``` Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format here. ##### OTS ``` public static final FileType OTS ``` The OTS files contain template files used by the OpenOffice spreadsheet application. ##### NUMBERS ``` public static final FileType NUMBERS ``` Files that contain the .numbers file extension are files that are created by the Apple iWork Numbers spreadsheet application. ##### PPT ``` public static final FileType PPT ``` A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format here. ##### PPTX ``` public static final FileType PPTX ``` Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format here. ##### PPS ``` public static final FileType PPS ``` PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format here. ##### PPSX ``` public static final FileType PPSX ``` PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format here. ##### ODP ``` public static final FileType ODP ``` Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format here. ##### POT ``` public static final FileType POT ``` Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format here. ##### PPTM ``` public static final FileType PPTM ``` Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format here. ##### POTX ``` public static final FileType POTX ``` Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format here. ##### POTM ``` public static final FileType POTM ``` Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format here. ##### PPSM ``` public static final FileType PPSM ``` Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format here. ##### OTP ``` public static final FileType OTP ``` Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format here. ##### MSG ``` public static final FileType MSG ``` MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format here. ##### EML ``` public static final FileType EML ``` EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format here. ##### EMLX ``` public static final FileType EMLX ``` The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format here. ##### PST ``` public static final FileType PST ``` Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format here ##### OST ``` public static final FileType OST ``` OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format here ##### ONE ``` public static final FileType ONE ``` File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format here. ##### ZIP ``` public static final FileType ZIP ``` ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format here. ##### SEVENZ ``` public static final FileType SEVENZ ``` 7z is an archiving format for compressing files and folders with a high compression ratio. Learn more about this file format here. ##### RAR ``` public static final FileType RAR ``` Files with .rar extension represent archive files that are created for storing information in compressed or normal form. Learn more about this file format here. ##### TAR ``` public static final FileType TAR ``` Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Learn more about this file format here. ##### GZ ``` public static final FileType GZ ``` Files with .gz extension are compressed files created with gzip compression application. Learn more about this file format here. ##### BZ2 ``` public static final FileType BZ2 ``` Compressed file using Bzip2 algorithm. ##### TIF ``` public static final FileType TIF ``` TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format here. ##### TIFF ``` public static final FileType TIFF ``` TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format here. ##### JPG ``` public static final FileType JPG ``` A JPG is a type of image format that is saved using the method of lossy compression. Learn more about this file format here. ##### JPEG ``` public static final FileType JPEG ``` A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format here. ##### PNG ``` public static final FileType PNG ``` PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format here. ##### GIF ``` public static final FileType GIF ``` A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format here. ##### BMP ``` public static final FileType BMP ``` Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format here. ##### ICO ``` public static final FileType ICO ``` Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format here. ##### JP2 ``` public static final FileType JP2 ``` JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format here. ##### JPF ``` public static final FileType JPF ``` JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here. ##### JPX ``` public static final FileType JPX ``` JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here. ##### JPM ``` public static final FileType JPM ``` JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here. ##### J2C ``` public static final FileType J2C ``` JPEG 2000 (J2C) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here. ##### J2K ``` public static final FileType J2K ``` JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here. ##### JPC ``` public static final FileType JPC ``` JPEG 2000 (JPC) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here. ##### DIB ``` public static final FileType DIB ``` A DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format here. ##### WMF ``` public static final FileType WMF ``` Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format here. ##### EMF ``` public static final FileType EMF ``` Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format here. ##### WEBP ``` public static final FileType WEBP ``` WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format here. ##### DJVU ``` public static final FileType DJVU ``` DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format here. ##### CGM ``` public static final FileType CGM ``` Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. Learn more about this file format here. ##### PCL ``` public static final FileType PCL ``` PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format here. ##### PSD ``` public static final FileType PSD ``` PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format here. ##### DCM ``` public static final FileType DCM ``` Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format here. ##### PS ``` public static final FileType PS ``` PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. Learn more about this file format here. ##### EPS ``` public static final FileType EPS ``` Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format here. ##### ODG ``` public static final FileType ODG ``` The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format here. ##### SVG ``` public static final FileType SVG ``` An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format here. ##### PICT ``` public static final FileType PICT ``` The PICT file format is a meta-format that can be used for both bitmap images and vector images. ##### getFileFormat() ``` public String getFileFormat() ``` File type name e.g. "Microsoft Word Document". **Returns:** java.lang.String - String that represents a file type. ##### getExtension() ``` public String getExtension() ``` Filename suffix (including the period ".") e.g. ".doc". **Returns:** java.lang.String - String that represents a file extenstion (including the period "."). ##### getFormat() ``` public FileFormat getFormat() ``` File format e.g. "WordProcessing". **Returns:** FileFormat - A member of FileFormat enum that represents the format of the file. ##### equals(Object object) ``` public boolean equals(Object object) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | object | java.lang.Object | | **Returns:** boolean ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ##### fromExtension(String extension) ``` public static FileType fromExtension(String extension) ``` Maps file extension to file type. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | extension | java.lang.String | File extension (including the period "."). | **Returns:** FileType - When file type is supported returns it, otherwise returns default Unknown file type. ##### getSupportedFileTypes() ``` public static Iterable getSupportedFileTypes() ``` Retrieves supported file types **Returns:** java.lang.Iterable - Returns sequence of supported file types ### FileTypeDetectionMode Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/filetypedetectionmode.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum FileTypeDetectionMode extends Enum ``` Defines a mode of the file type detection. #### Fields | Field | Description | | --- | --- | | Default | The file type is detected by the file extension; if the file extension isn't recognized, the file type is detected by the file content. | | Extension | The file type is detected only by the file extension. | | Content | The file type is detected only by the file content. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### Default ``` public static final FileTypeDetectionMode Default ``` The file type is detected by the file extension; if the file extension isn't recognized, the file type is detected by the file content. ##### Extension ``` public static final FileTypeDetectionMode Extension ``` The file type is detected only by the file extension. ##### Content ``` public static final FileTypeDetectionMode Content ``` The file type is detected only by the file content. ##### values() ``` public static FileTypeDetectionMode[] values() ``` **Returns:** com.groupdocs.parser.options.FileTypeDetectionMode[] ##### valueOf(String name) ``` public static FileTypeDetectionMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** FileTypeDetectionMode ### FormattedTextMode Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/formattedtextmode.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum FormattedTextMode extends Enum ``` Defines a formatted text mode. **Learn more:** * Extract formatted text from document * Extract a document text as HTML * Extract a document text as Markdown * Extract a document text as Plain text #### Fields | Field | Description | | --- | --- | | Html | HTML format. | | Markdown | Markdown format. | | PlainText | Plain text format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### Html ``` public static final FormattedTextMode Html ``` HTML format. ##### Markdown ``` public static final FormattedTextMode Markdown ``` Markdown format. ##### PlainText ``` public static final FormattedTextMode PlainText ``` Plain text format. ##### values() ``` public static FormattedTextMode[] values() ``` **Returns:** com.groupdocs.parser.options.FormattedTextMode[] ##### valueOf(String name) ``` public static FormattedTextMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** FormattedTextMode ### FormattedTextOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/formattedtextoptions.md **Inheritance:** java.lang.Object ``` public class FormattedTextOptions ``` Provides the options which are used for formatted text extraction. An instance of FormattedTextOptions class is used as parameter in Parser.getFormattedText(FormattedTextOptions) and Parser.getFormattedText(int, FormattedTextOptions) methods. See the usage examples there. **Learn more:** * Extract formatted text from document * Extract a document text as HTML * Extract a document text as Markdown * Extract a document text as Plain text #### Constructors | Constructor | Description | | --- | --- | | FormattedTextOptions() | Initializes a new instance of the FormattedTextOptions class with no mode set. | | FormattedTextOptions(FormattedTextMode mode) | Initializes a new instance of the FormattedTextOptions class. | #### Methods | Method | Description | | --- | --- | | getMode() | Gets the formatted text extraction mode. | | setMode(FormattedTextMode mode) | Sets the formatted text extraction mode. | ##### FormattedTextOptions() ``` public FormattedTextOptions() ``` Initializes a new instance of the FormattedTextOptions class with no mode set. ##### FormattedTextOptions(FormattedTextMode mode) ``` public FormattedTextOptions(FormattedTextMode mode) ``` Initializes a new instance of the FormattedTextOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mode | FormattedTextMode | The mode of formatted text extraction. | ##### getMode() ``` public FormattedTextMode getMode() ``` Gets the formatted text extraction mode. **Returns:** FormattedTextMode - FormattedTextMode enumeration that contains a formatted text extraction mode. ##### setMode(FormattedTextMode mode) ``` public void setMode(FormattedTextMode mode) ``` Sets the formatted text extraction mode. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | mode | FormattedTextMode | FormattedTextMode enumeration that contains a formatted text extraction mode. | ### HighlightOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/highlightoptions.md **Inheritance:** java.lang.Object ``` public class HighlightOptions ``` Provides the options which are used to extract a highlight (a block of text aroud found text in search scenarios). An instance of HighlightOptions class is used as parameter in Parser.getHighlight(int, boolean, HighlightOptions) method. See the usage examples there. **Learn more:** * Extract highlights #### Constructors | Constructor | Description | | --- | --- | | HighlightOptions() | Initializes a new instance of the HighlightOptions class with no limits set. | | HighlightOptions(int maxLength) | Initializes a new instance of the HighlightOptions class which is used to extract a fixed-length highlight. | | HighlightOptions(Integer maxLength, boolean isLineLimited) | Initializes a new instance of the HighlightOptions class which is used to extract a line-limited highlight. | | HighlightOptions(Integer maxLength, int wordCount) | Initializes a new instance of the HighlightOptions class which is used to extract a highlight with the fixed word count. | | HighlightOptions(Integer maxLength, Integer wordCount, boolean isLineLimited) | Initializes a new instance of the HighlightOptions class. | #### Methods | Method | Description | | --- | --- | | getMaxLength() | Gets a maximum text length. | | getWordCount() | Gets a maximum word count. | | isLineLimited() | Gets value that indicates whether highlight extraction is limited by the start (or the end) of a text line. | | setMaxLength(Integer maxLength) | Sets a maximum text length. | | setWordCount(Integer wordCount) | Sets a maximum word count. | | setLineLimited(boolean lineLimited) | Sets the value that indicates whether highlight extraction is limited by the start (or the end) of a text line. | ##### HighlightOptions() ``` public HighlightOptions() ``` Initializes a new instance of the HighlightOptions class with no limits set. Set at least one of #setMaxLength(Integer).setMaxLength(Integer), #setWordCount(Integer).setWordCount(Integer), #setLineLimited(boolean).setLineLimited(boolean) before passing to the parser. ##### HighlightOptions(int maxLength) ``` public HighlightOptions(int maxLength) ``` Initializes a new instance of the HighlightOptions class which is used to extract a fixed-length highlight. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | maxLength | int | The maximum text length. | ##### HighlightOptions(Integer maxLength, boolean isLineLimited) ``` public HighlightOptions(Integer maxLength, boolean isLineLimited) ``` Initializes a new instance of the HighlightOptions class which is used to extract a line-limited highlight. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | maxLength | java.lang.Integer | The maximum text length. | | isLineLimited | boolean | The value that indicates whether the highlight extraction is limited by the start (or the end) of a text line. | ##### HighlightOptions(Integer maxLength, int wordCount) ``` public HighlightOptions(Integer maxLength, int wordCount) ``` Initializes a new instance of the HighlightOptions class which is used to extract a highlight with the fixed word count. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | maxLength | java.lang.Integer | The maximum text length. | | wordCount | int | The maximum word count. | ##### HighlightOptions(Integer maxLength, Integer wordCount, boolean isLineLimited) ``` public HighlightOptions(Integer maxLength, Integer wordCount, boolean isLineLimited) ``` Initializes a new instance of the HighlightOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | maxLength | java.lang.Integer | The maximum text length. | | wordCount | java.lang.Integer | The maximum word count. | | isLineLimited | boolean | The value that indicates whether the highlight extraction is limited by the start (or the end) of a text line. | ##### getMaxLength() ``` public Integer getMaxLength() ``` Gets a maximum text length. **Returns:** java.lang.Integer - A positive integer value that represents the maximum text length; null if the text length isn't limited. ##### getWordCount() ``` public Integer getWordCount() ``` Gets a maximum word count. **Returns:** java.lang.Integer - A positive integer value that represents the maximum word count; null if the word count isn't limited. ##### isLineLimited() ``` public boolean isLineLimited() ``` Gets value that indicates whether highlight extraction is limited by the start (or the end) of a text line. **Returns:** boolean - true if highlight extraction is limited by the start (or the end) of a text line; otherwise, false . ##### setMaxLength(Integer maxLength) ``` public void setMaxLength(Integer maxLength) ``` Sets a maximum text length. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | maxLength | java.lang.Integer | A non-negative integer; null to remove the length limit. | ##### setWordCount(Integer wordCount) ``` public void setWordCount(Integer wordCount) ``` Sets a maximum word count. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | wordCount | java.lang.Integer | A non-negative integer; null to remove the word-count limit. | ##### setLineLimited(boolean lineLimited) ``` public void setLineLimited(boolean lineLimited) ``` Sets the value that indicates whether highlight extraction is limited by the start (or the end) of a text line. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | lineLimited | boolean | true to limit by line bounds. | ### ICreatePageStream Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/icreatepagestream.md ### IDocumentInfo Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/idocumentinfo.md ### ILogger Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/ilogger.md ### ImageFormat Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/imageformat.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum ImageFormat extends Enum ``` Defines a format of the image. #### Fields | Field | Description | | --- | --- | | Bmp | Bitmap image. | | Gif | Graphical Interchange Format. | | Jpeg | JPEG image. | | Png | Portable Network Graphic. | | WebP | WebP Image. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### Bmp ``` public static final ImageFormat Bmp ``` Bitmap image. ##### Gif ``` public static final ImageFormat Gif ``` Graphical Interchange Format. ##### Jpeg ``` public static final ImageFormat Jpeg ``` JPEG image. ##### Png ``` public static final ImageFormat Png ``` Portable Network Graphic. ##### WebP ``` public static final ImageFormat WebP ``` WebP Image. ##### values() ``` public static ImageFormat[] values() ``` **Returns:** com.groupdocs.parser.options.ImageFormat[] ##### valueOf(String name) ``` public static ImageFormat valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** ImageFormat ### ImageOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/imageoptions.md **Inheritance:** java.lang.Object ``` public final class ImageOptions ``` Provides the options which are used for image extraction. An instance of ImageOptions class is used as parameter in PageImageArea.getImageStream(ImageOptions) and PageImageArea.save(String, ImageOptions) methods. See the usage examples there. It's used to specify the image format for image extraction. **Learn more:** * Extract images from document page area * Extract images to files #### Constructors | Constructor | Description | | --- | --- | | ImageOptions(ImageFormat imageFormat) | Provides the options which are used for image extraction. | #### Methods | Method | Description | | --- | --- | | getImageFormat() | Gets the image format for image extraction. | ##### ImageOptions(ImageFormat imageFormat) ``` public ImageOptions(ImageFormat imageFormat) ``` Provides the options which are used for image extraction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageFormat | ImageFormat | The format of the image. | ##### getImageFormat() ``` public ImageFormat getImageFormat() ``` Gets the image format for image extraction. **Returns:** ImageFormat - ImageFormat enumeration that contains an image format. ### IPreviewPageRender Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/ipreviewpagerender.md ### IReleasePageStream Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/ireleasepagestream.md ### LoadOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/loadoptions.md **Inheritance:** java.lang.Object ``` public class LoadOptions ``` Provides the options which are used to open a file. An instance of this class is used as parameter in Parser class constructors: * Parser.Parser(java.io.InputStream, LoadOptions) * Parser.Parser(String, LoadOptions) See the usage examples there. **Learn more:** * Loading specific file formats * Password-protected documents #### Constructors | Constructor | Description | | --- | --- | | LoadOptions(Duration timeout) | Initializes a new instance of the LoadOptions class with timeout . | | LoadOptions() | Initializes a new instance of the LoadOptions class with empty Password , FileFormat equal to FileFormat.Unknown and default encodings. | | LoadOptions(String password) | Initializes a new instance of the LoadOptions class with FileFormat equal to FileFormat.Unknown and default encodings. | | LoadOptions(FileFormat fileFormat) | Initializes a new instance of the LoadOptions class with empty Password and default encodings. | | LoadOptions(FileFormat fileFormat, String password) | Initializes a new instance of the LoadOptions class with default encodings. | | LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset) | Initializes a new instance of the LoadOptions class with custom encodings. | | LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout) | Initializes a new instance of the LoadOptions fully customized class. | | LoadOptions(FileType fileType) | Initializes a new instance of the LoadOptions class with empty Password and default encodings. | | LoadOptions(FileType fileType, String password) | Initializes a new instance of the LoadOptions class with password and default encodings. | | LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset) | Initializes a new instance of the LoadOptions class with custom encodings. | | LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout) | Initializes a new instance of the LoadOptions fully customized class. | #### Methods | Method | Description | | --- | --- | | getFileFormat() | Gets the file format. | | getFileType() | Gets the file type. | | getPassword() | Gets the password. | | getCharset() | Gets the encoding of the document. | | getDefaultAnsiCharset() | Gets the default ANSI encoding which is used for encoding detection. | | getTimeout() | Gets the value that represents the number of milliseconds to wait. | ##### LoadOptions(Duration timeout) ``` public LoadOptions(Duration timeout) ``` Initializes a new instance of the LoadOptions class with timeout . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | timeout | java.time.Duration | The Duration that represents the number of milliseconds to wait. | ##### LoadOptions() ``` public LoadOptions() ``` Initializes a new instance of the LoadOptions class with empty Password , FileFormat equal to FileFormat.Unknown and default encodings. ##### LoadOptions(String password) ``` public LoadOptions(String password) ``` Initializes a new instance of the LoadOptions class with FileFormat equal to FileFormat.Unknown and default encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | password | java.lang.String | The password to open the password-protected file. | ##### LoadOptions(FileFormat fileFormat) ``` public LoadOptions(FileFormat fileFormat) ``` Initializes a new instance of the LoadOptions class with empty Password and default encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | ##### LoadOptions(FileFormat fileFormat, String password) ``` public LoadOptions(FileFormat fileFormat, String password) ``` Initializes a new instance of the LoadOptions class with default encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | | password | java.lang.String | The password to open the password-protected file. | ##### LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset) ``` public LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset) ``` Initializes a new instance of the LoadOptions class with custom encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | | password | java.lang.String | The password to open the password-protected file. | | charset | java.nio.charset.Charset | The encoding of the document. | | defaultAnsiCharset | java.nio.charset.Charset | The default ANSI encoding which is used for encoding detection. | ##### LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout) ``` public LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout) ``` Initializes a new instance of the LoadOptions fully customized class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | | password | java.lang.String | The password to open the password-protected file. | | charset | java.nio.charset.Charset | The encoding of the document. | | defaultAnsiCharset | java.nio.charset.Charset | The default ANSI encoding which is used for encoding detection. | | timeout | java.time.Duration | The Duration that represents the number of milliseconds to wait. | ##### LoadOptions(FileType fileType) ``` public LoadOptions(FileType fileType) ``` Initializes a new instance of the LoadOptions class with empty Password and default encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | ##### LoadOptions(FileType fileType, String password) ``` public LoadOptions(FileType fileType, String password) ``` Initializes a new instance of the LoadOptions class with password and default encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | password | java.lang.String | The password to open the password-protected file. | ##### LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset) ``` public LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset) ``` Initializes a new instance of the LoadOptions class with custom encodings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | password | java.lang.String | The password to open the password-protected file. | | charset | java.nio.charset.Charset | The encoding of the document. | | defaultAnsiCharset | java.nio.charset.Charset | The default ANSI encoding which is used for encoding detection. | ##### LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout) ``` public LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout) ``` Initializes a new instance of the LoadOptions fully customized class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | password | java.lang.String | The password to open the password-protected file. | | charset | java.nio.charset.Charset | The encoding of the document. | | defaultAnsiCharset | java.nio.charset.Charset | The default ANSI encoding which is used for encoding detection. | | timeout | java.time.Duration | The Duration that represents the number of milliseconds to wait. | ##### getFileFormat() ``` public FileFormat getFileFormat() ``` Gets the file format. **Returns:** FileFormat - FileFormat enumeration that contains a file format. ##### getFileType() ``` public FileType getFileType() ``` Gets the file type. **Returns:** FileType - FileFormat enumeration that contains a file type. ##### getPassword() ``` public String getPassword() ``` Gets the password. **Returns:** java.lang.String - A string value that represents a password to open the password-protected file. ##### getCharset() ``` public Charset getCharset() ``` Gets the encoding of the document. **Returns:** java.nio.charset.Charset - An instance of Charset class that represents the document encoding; null if it isn't set. ##### getDefaultAnsiCharset() ``` public Charset getDefaultAnsiCharset() ``` Gets the default ANSI encoding which is used for encoding detection. **Returns:** java.nio.charset.Charset - An instance of Charset class that represents the document encoding; null if it isn't set. ##### getTimeout() ``` public Duration getTimeout() ``` Gets the value that represents the number of milliseconds to wait. **Returns:** java.time.Duration - An instance of Duration that represents the number of milliseconds to wait. ### OcrConnectorBase Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/ocrconnectorbase.md **Inheritance:** java.lang.Object ``` public class OcrConnectorBase ``` Provides the OCR functionality. #### Constructors | Constructor | Description | | --- | --- | | OcrConnectorBase() | Initializes a new instance of the OcrConnectorBase class. | #### Methods | Method | Description | | --- | --- | | isTextSupported() | Gets the value that indicates whether the text extraction is supported. | | isTextAreasSupported() | Gets the value that indicates whether the text areas extraction is supported. | | recognizeText(InputStream imageStream, OcrOptions options) | Recognize a text from imageStream stream. | | recognizeTextAreas(InputStream imageStream, Size pageSize, OcrOptions options) | Recognize text areas from imageStream stream. | ##### OcrConnectorBase() ``` public OcrConnectorBase() ``` Initializes a new instance of the OcrConnectorBase class. ##### isTextSupported() ``` public boolean isTextSupported() ``` Gets the value that indicates whether the text extraction is supported. **Returns:** boolean - true if the text extraction is supported; otherwise, false . ##### isTextAreasSupported() ``` public boolean isTextAreasSupported() ``` Gets the value that indicates whether the text areas extraction is supported. **Returns:** boolean - true if the text extraction areas is supported; otherwise, false . ##### recognizeText(InputStream imageStream, OcrOptions options) ``` public String recognizeText(InputStream imageStream, OcrOptions options) ``` Recognize a text from imageStream stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageStream | java.io.InputStream | The image representation of the document page. | | options | OcrOptions | The OCR options. | **Returns:** java.lang.String - A string that represents a recognized text; null if text recognizing isn't supported. ##### recognizeTextAreas(InputStream imageStream, Size pageSize, OcrOptions options) ``` public Iterable recognizeTextAreas(InputStream imageStream, Size pageSize, OcrOptions options) ``` Recognize text areas from imageStream stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | imageStream | java.io.InputStream | The image representation of the document page. | | pageSize | Size | The size of the document page. | | options | OcrOptions | The OCR options. | **Returns:** java.lang.Iterable - A collection of PageTextArea objects; null if text areas recognizing isn't supported. ### OcrEventHandler Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/ocreventhandler.md **Inheritance:** java.lang.Object ``` public class OcrEventHandler ``` Provides a handler for OCR events. #### Constructors | Constructor | Description | | --- | --- | | OcrEventHandler() | Initializes a new instance of the OcrEventHandler class. | #### Methods | Method | Description | | --- | --- | | getWarnings() | Gets a list of warning messages. | | hasWarnings() | Gets the value that indicates whether the list of warnings isn't empty. | | getWarnings(int pageIndex) | Returns a list of warning messages for the page with pageIndex . | | onWarnings(int pageIndex, Iterable warnings) | Sets warning messages for the page. | ##### OcrEventHandler() ``` public OcrEventHandler() ``` Initializes a new instance of the OcrEventHandler class. ##### getWarnings() ``` public List getWarnings() ``` Gets a list of warning messages. **Returns:** java.util.List - A list of warning messages for all pages. ##### hasWarnings() ``` public boolean hasWarnings() ``` Gets the value that indicates whether the list of warnings isn't empty. **Returns:** boolean - true if the list of warnings isn't empty; otherwise, false . ##### getWarnings(int pageIndex) ``` public List getWarnings(int pageIndex) ``` Returns a list of warning messages for the page with pageIndex . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** java.util.List - A list of warning messages for the page; empty list if no warning messages for the page. ##### onWarnings(int pageIndex, Iterable warnings) ``` public void onWarnings(int pageIndex, Iterable warnings) ``` Sets warning messages for the page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | warnings | java.lang.Iterable | The list of warning messages for the page. | ### OcrOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/ocroptions.md **Inheritance:** java.lang.Object ``` public class OcrOptions ``` Provides the options which are used for OCR Connector. #### Constructors | Constructor | Description | | --- | --- | | OcrOptions() | Initializes a new instance of the OcrOptions class with default values. | | OcrOptions(Rectangle rectangle) | Initializes a new instance of the OcrOptions class with rectangular area. | | OcrOptions(PagePreviewOptions pagePreviewOptions) | Initializes a new instance of the OcrOptions class with page preview options. | | OcrOptions(OcrEventHandler handler) | Initializes a new instance of the OcrOptions class with OcrEventHandler object. | | OcrOptions(Rectangle rectangle, OcrEventHandler handler) | Initializes a new instance of the OcrOptions class with rectangular area and OcrEventHandler object. | | OcrOptions(Rectangle rectangle, OcrEventHandler handler, boolean useSpellCheker) | Initializes a new instance of the OcrOptions class. | #### Methods | Method | Description | | --- | --- | | getRectangle() | Gets the rectangular area that constraints the page area which is used for text recognizing. | | getHandler() | Gets the event handler to catch OCR events. | | getUseSpellChecker() | Gets the value that indicates whether the spell checker is used. | | getPagePreviewOptions() | Gets the page preview options used to render the page that is fed to the OCR engine. | | setPagePreviewOptions(PagePreviewOptions pagePreviewOptions) | Sets the page preview options used to render the page that is fed to the OCR engine. | | getLanguage() | Gets the language used for optical character recognition. | | setLanguage(Language language) | Sets the language used for optical character recognition. | | setRectangle(Rectangle rectangle) | Sets the rectangular area that constraints the page area which is used for text recognizing. | | setHandler(OcrEventHandler handler) | Sets the event handler to catch OCR events. | | setUseSpellChecker(boolean useSpellChecker) | Sets the value that indicates whether the spell checker is used. | ##### OcrOptions() ``` public OcrOptions() ``` Initializes a new instance of the OcrOptions class with default values. ##### OcrOptions(Rectangle rectangle) ``` public OcrOptions(Rectangle rectangle) ``` Initializes a new instance of the OcrOptions class with rectangular area. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that constraints the page area which is used for text recognizing. | ##### OcrOptions(PagePreviewOptions pagePreviewOptions) ``` public OcrOptions(PagePreviewOptions pagePreviewOptions) ``` Initializes a new instance of the OcrOptions class with page preview options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pagePreviewOptions | PagePreviewOptions | The options used to render the page preview which is fed to the OCR engine. | ##### OcrOptions(OcrEventHandler handler) ``` public OcrOptions(OcrEventHandler handler) ``` Initializes a new instance of the OcrOptions class with OcrEventHandler object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | handler | OcrEventHandler | An instance of OcrEventHandler to catch OCR events. | ##### OcrOptions(Rectangle rectangle, OcrEventHandler handler) ``` public OcrOptions(Rectangle rectangle, OcrEventHandler handler) ``` Initializes a new instance of the OcrOptions class with rectangular area and OcrEventHandler object. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that constraints the page area which is used for text recognizing. | | handler | OcrEventHandler | An instance of OcrEventHandler to catch OCR events. | ##### OcrOptions(Rectangle rectangle, OcrEventHandler handler, boolean useSpellCheker) ``` public OcrOptions(Rectangle rectangle, OcrEventHandler handler, boolean useSpellCheker) ``` Initializes a new instance of the OcrOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that constraints the page area which is used for text recognizing. | | handler | OcrEventHandler | An instance of OcrEventHandler to catch OCR events. | | useSpellCheker | boolean | The value that indicates whether the spell checker is used. | ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area that constraints the page area which is used for text recognizing. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area that constraints the page area which is used for text recognizing; null if it isn't set. ##### getHandler() ``` public OcrEventHandler getHandler() ``` Gets the event handler to catch OCR events. **Returns:** OcrEventHandler - An instance of OcrEventHandler class which is used to catch OCR events. ##### getUseSpellChecker() ``` public boolean getUseSpellChecker() ``` Gets the value that indicates whether the spell checker is used. **Returns:** boolean - true if the spell checker is used; otherwise, false . ##### getPagePreviewOptions() ``` public PagePreviewOptions getPagePreviewOptions() ``` Gets the page preview options used to render the page that is fed to the OCR engine. **Returns:** PagePreviewOptions - The PagePreviewOptions, or null if not set. ##### setPagePreviewOptions(PagePreviewOptions pagePreviewOptions) ``` public void setPagePreviewOptions(PagePreviewOptions pagePreviewOptions) ``` Sets the page preview options used to render the page that is fed to the OCR engine. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pagePreviewOptions | PagePreviewOptions | The page preview options. | ##### getLanguage() ``` public Language getLanguage() ``` Gets the language used for optical character recognition. **Returns:** Language - The Language enum value. Defaults to Language.Eng. ##### setLanguage(Language language) ``` public void setLanguage(Language language) ``` Sets the language used for optical character recognition. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | language | Language | The Language enum value. | ##### setRectangle(Rectangle rectangle) ``` public void setRectangle(Rectangle rectangle) ``` Sets the rectangular area that constraints the page area which is used for text recognizing. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangle, or null to scan the whole page. | ##### setHandler(OcrEventHandler handler) ``` public void setHandler(OcrEventHandler handler) ``` Sets the event handler to catch OCR events. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | handler | OcrEventHandler | The event handler. | ##### setUseSpellChecker(boolean useSpellChecker) ``` public void setUseSpellChecker(boolean useSpellChecker) ``` Sets the value that indicates whether the spell checker is used. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useSpellChecker | boolean | true to enable spell checking. | ### PageAreaOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/pageareaoptions.md **Inheritance:** java.lang.Object ``` public class PageAreaOptions ``` Provides the options which are used for page areas extraction. An instance of PageAreaOptions class is used as parameter in Parser.getImages(PageAreaOptions) and Parser.getImages(int, PageAreaOptions) methods. See the usage examples there. #### Constructors | Constructor | Description | | --- | --- | | PageAreaOptions(Rectangle rectangle) | Initializes a new instance of the PageAreaOptions class with the size of the ignored border. | | PageAreaOptions(Rectangle rectangle, double rectangleTolerance) | Initializes a new instance of the PageAreaOptions class. | #### Methods | Method | Description | | --- | --- | | getRectangle() | Gets the rectangular area that contains page areas. | | getRectangleTolerance() | Gets the size of the border that is ignored when captured by the rectangular area. | ##### PageAreaOptions(Rectangle rectangle) ``` public PageAreaOptions(Rectangle rectangle) ``` Initializes a new instance of the PageAreaOptions class with the size of the ignored border. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains page areas. | ##### PageAreaOptions(Rectangle rectangle, double rectangleTolerance) ``` public PageAreaOptions(Rectangle rectangle, double rectangleTolerance) ``` Initializes a new instance of the PageAreaOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains page areas. | | rectangleTolerance | double | The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area that contains page areas. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area that contains page areas; null if it isn't set. ##### getRectangleTolerance() ``` public double getRectangleTolerance() ``` Gets the size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. **Returns:** double - The double value from 0 (no border) to 1 (ignore the whole element). ### PageInfo Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/pageinfo.md **Inheritance:** java.lang.Object ``` public class PageInfo ``` Represents the document page information. #### Constructors | Constructor | Description | | --- | --- | | PageInfo(int pageNumber, int width, int height) | Initializes a new instance of the PageInfo class. | #### Methods | Method | Description | | --- | --- | | getPageNumber() | Gets the page number. | | getWidth() | Gets the page width. | | getHeight() | Gets the page height. | ##### PageInfo(int pageNumber, int width, int height) ``` public PageInfo(int pageNumber, int width, int height) ``` Initializes a new instance of the PageInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | The page number. | | width | int | The page width. | | height | int | The page height. | ##### getPageNumber() ``` public int getPageNumber() ``` Gets the page number. **Returns:** int - A zero-based integer value that represents the page number. ##### getWidth() ``` public int getWidth() ``` Gets the page width. **Returns:** int - An integer value that represents the page width. ##### getHeight() ``` public int getHeight() ``` Gets the page height. **Returns:** int - An integer value that represents the page height. ### PageRenderInfo Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/pagerenderinfo.md **Inheritance:** java.lang.Object ``` public class PageRenderInfo ``` Represents the information of how a page is rendered. Some documents (spreadsheets, for example) are not possible to render a page as a single image. For those documents a page is rendered as a set of tiles. These tiles are placed in the rectangular table. RowCount and ColumnCount represent the total number of rows and columns of this table. If document page is rendered to the single image these properties are equal to 1. #### Constructors | Constructor | Description | | --- | --- | | PageRenderInfo(int pageNumber, int rowCount, int columnCount) | Initializes a new instance of the PageRenderInfo class. | #### Methods | Method | Description | | --- | --- | | getPageNumber() | Gets the page number. | | getRowCount() | Get the total number of tiles rows. | | getColumnCount() | Get the total number of tiles columns. | | getColumn(int tileIndex) | Returns the index of column where the tile with tileIndex is placed. | | getRow(int tileIndex) | Returns the index of row where the tile with tileIndex is placed. | ##### PageRenderInfo(int pageNumber, int rowCount, int columnCount) ``` public PageRenderInfo(int pageNumber, int rowCount, int columnCount) ``` Initializes a new instance of the PageRenderInfo class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumber | int | The number of the page (starts with 1). | | rowCount | int | The total number of tiles rows. | | columnCount | int | The total number of tiles columns. | ##### getPageNumber() ``` public int getPageNumber() ``` Gets the page number. **Returns:** int - The integer value that represents the page number (starts with 1). ##### getRowCount() ``` public int getRowCount() ``` Get the total number of tiles rows. **Returns:** int - The integer value that represents the total number of tiles rows. ##### getColumnCount() ``` public int getColumnCount() ``` Get the total number of tiles columns. **Returns:** int - The integer value that represents the total number of tiles columns. ##### getColumn(int tileIndex) ``` public int getColumn(int tileIndex) ``` Returns the index of column where the tile with tileIndex is placed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tileIndex | int | The zero-based index of the tile. | **Returns:** int - The zero-based integer value that represents the column index. ##### getRow(int tileIndex) ``` public int getRow(int tileIndex) ``` Returns the index of row where the tile with tileIndex is placed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tileIndex | int | The zero-based index of the tile. | **Returns:** int - The zero-based integer value that represents the row index. ### PageTableAreaOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/pagetableareaoptions.md **Inheritance:** java.lang.Object, com.groupdocs.parser.options.PageAreaOptions ``` public class PageTableAreaOptions extends PageAreaOptions ``` Provides the options which are used for page table areas extraction. #### Constructors | Constructor | Description | | --- | --- | | PageTableAreaOptions(TemplateTableLayout tableLayout) | Initializes a new instance of the PageTableAreaOptions class. | | PageTableAreaOptions(Rectangle rectangle) | Initializes a new instance of the PageTableAreaOptions class with a search rectangle and no fixed layout. | #### Methods | Method | Description | | --- | --- | | getTableLayout() | Gets the table layout which defines the table on a page. | ##### PageTableAreaOptions(TemplateTableLayout tableLayout) ``` public PageTableAreaOptions(TemplateTableLayout tableLayout) ``` Initializes a new instance of the PageTableAreaOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | tableLayout | TemplateTableLayout | The table layout which defines the table on a page. | ##### PageTableAreaOptions(Rectangle rectangle) ``` public PageTableAreaOptions(Rectangle rectangle) ``` Initializes a new instance of the PageTableAreaOptions class with a search rectangle and no fixed layout. Useful for restricting auto-detected tables to a region of the page. Mirrors the C# new PageTableAreaOptions(null) { Rectangle = ... } pattern. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area on the page where tables should be detected; pass null to search the entire page. | ##### getTableLayout() ``` public TemplateTableLayout getTableLayout() ``` Gets the table layout which defines the table on a page. **Returns:** TemplateTableLayout - An instane of TemplateTableLayout class. ### PageTextAreaOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/pagetextareaoptions.md **Inheritance:** java.lang.Object, com.groupdocs.parser.options.PageAreaOptions ``` public class PageTextAreaOptions extends PageAreaOptions ``` Provides the options which are used for page text areas extraction. An instance of PageTextAreaOptions class is used as parameter in Parser.getTextAreas(PageTextAreaOptions) and Parser.getTextAreas(int, PageTextAreaOptions) methods. See the usage examples there. **Learn more:** * Extract text areas #### Constructors | Constructor | Description | | --- | --- | | PageTextAreaOptions() | Initializes a new instance of the PageTextAreaOptions class with default values. | | PageTextAreaOptions(boolean useOcr) | Initializes a new instance of the TextOptions class with the OCR usage option. | | PageTextAreaOptions(boolean useOcr, OcrOptions ocrOptions) | Initializes a new instance of the TextOptions class with the ability to set OCR options. | | PageTextAreaOptions(String expression) | Initializes a new instance of the PageTextAreaOptions class with the regular expression. | | PageTextAreaOptions(String expression, Rectangle rectangle) | Initializes a new instance of the PageTextAreaOptions class with the regular expression and rectangular area. | | PageTextAreaOptions(String expression, Rectangle rectangle, double rectangleTolerance) | Initializes a new instance of the PageTextAreaOptions class with the regular expression, rectangular area and the size of the ignored border. | | PageTextAreaOptions(String expression, boolean matchCase, boolean uniteSegments, boolean ignoreFormatting, Rectangle rectangle) | Initializes a new instance of the PageTextAreaOptions class. | | PageTextAreaOptions(String expression, boolean matchCase, boolean uniteSegments, boolean ignoreFormatting, Rectangle rectangle, double rectangleTolerance) | Initializes a new instance of the PageTextAreaOptions class with the size of the ignored border. | #### Methods | Method | Description | | --- | --- | | getExpression() | Gets the regular expression. | | isMatchCase() | Gets the value that indicates whether a text case isn't ignored. | | isUniteSegments() | Gets the value that indicates whether segments are united. | | isIgnoreFormatting() | Gets the value that indicates whether text formatting is ignored. | | isUseOcr() | Gets the value that indicates whether the OCR Connector is used to extract a text. | | getOcrOptions() | Gets the additional options for OCR functionality. | ##### PageTextAreaOptions() ``` public PageTextAreaOptions() ``` Initializes a new instance of the PageTextAreaOptions class with default values. ##### PageTextAreaOptions(boolean useOcr) ``` public PageTextAreaOptions(boolean useOcr) ``` Initializes a new instance of the TextOptions class with the OCR usage option. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useOcr | boolean | The value that indicates whether the OCR functionality is used to extract a text. | ##### PageTextAreaOptions(boolean useOcr, OcrOptions ocrOptions) ``` public PageTextAreaOptions(boolean useOcr, OcrOptions ocrOptions) ``` Initializes a new instance of the TextOptions class with the ability to set OCR options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useOcr | boolean | The value that indicates whether the OCR functionality is used to extract a text. | | ocrOptions | OcrOptions | The additional options for OCR functionality. | ##### PageTextAreaOptions(String expression) ``` public PageTextAreaOptions(String expression) ``` Initializes a new instance of the PageTextAreaOptions class with the regular expression. Other options are set by default (see remarks for details). The following properties have default values: * MatchCase: false * UniteSegments: false * IgnoreFormatting: false * Rectangle: null **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | expression | java.lang.String | The regular expression. | ##### PageTextAreaOptions(String expression, Rectangle rectangle) ``` public PageTextAreaOptions(String expression, Rectangle rectangle) ``` Initializes a new instance of the PageTextAreaOptions class with the regular expression and rectangular area. Other options are set by default (see remarks for details). The following properties have default values: * MatchCase: false * UniteSegments: false * IgnoreFormatting: false **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | expression | java.lang.String | The regular expression. | | rectangle | Rectangle | The rectangular area that contains page areas. | ##### PageTextAreaOptions(String expression, Rectangle rectangle, double rectangleTolerance) ``` public PageTextAreaOptions(String expression, Rectangle rectangle, double rectangleTolerance) ``` Initializes a new instance of the PageTextAreaOptions class with the regular expression, rectangular area and the size of the ignored border. Other options are set by default (see remarks for details). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | expression | java.lang.String | The regular expression. | | rectangle | Rectangle | The rectangular area that contains page areas. | | rectangleTolerance | double | The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | ##### PageTextAreaOptions(String expression, boolean matchCase, boolean uniteSegments, boolean ignoreFormatting, Rectangle rectangle) ``` public PageTextAreaOptions(String expression, boolean matchCase, boolean uniteSegments, boolean ignoreFormatting, Rectangle rectangle) ``` Initializes a new instance of the PageTextAreaOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | expression | java.lang.String | The regular expression. | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | uniteSegments | boolean | The value that indicates whether segments are united. | | ignoreFormatting | boolean | The value that indicates whether text formatting is ignored. | | rectangle | Rectangle | The rectangular area that contains page areas. | ##### PageTextAreaOptions(String expression, boolean matchCase, boolean uniteSegments, boolean ignoreFormatting, Rectangle rectangle, double rectangleTolerance) ``` public PageTextAreaOptions(String expression, boolean matchCase, boolean uniteSegments, boolean ignoreFormatting, Rectangle rectangle, double rectangleTolerance) ``` Initializes a new instance of the PageTextAreaOptions class with the size of the ignored border. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | expression | java.lang.String | The regular expression. | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | uniteSegments | boolean | The value that indicates whether segments are united. | | ignoreFormatting | boolean | The value that indicates whether text formatting is ignored. | | rectangle | Rectangle | The rectangular area that contains page areas. | | rectangleTolerance | double | The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | ##### getExpression() ``` public String getExpression() ``` Gets the regular expression. **Returns:** java.lang.String - A string that represents the regular expression. ##### isMatchCase() ``` public boolean isMatchCase() ``` Gets the value that indicates whether a text case isn't ignored. **Returns:** boolean - true if a text case isn't ignored; otherwise, false . ##### isUniteSegments() ``` public boolean isUniteSegments() ``` Gets the value that indicates whether segments are united. **Returns:** boolean - {code true} if segments are united; otherwise, {code false}. ##### isIgnoreFormatting() ``` public boolean isIgnoreFormatting() ``` Gets the value that indicates whether text formatting is ignored. **Returns:** boolean - true if text formatting is ignored; otherwise, false . ##### isUseOcr() ``` public boolean isUseOcr() ``` Gets the value that indicates whether the OCR Connector is used to extract a text. **Returns:** boolean - true if the OCR functionality is used; otherwise, false . ##### getOcrOptions() ``` public OcrOptions getOcrOptions() ``` Gets the additional options for OCR functionality. **Returns:** OcrOptions - An instance of OcrOptions class with the additional OCR options. ### ParserSettings Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/parsersettings.md **Inheritance:** java.lang.Object ``` public class ParserSettings ``` Provides the settings which are used to customize data extraction. **Learn more:** * Logging #### Constructors | Constructor | Description | | --- | --- | | ParserSettings(ILogger logger) | Initializes a new instance of the ParserSettings class with the logger. | | ParserSettings(OcrConnectorBase ocrConnector) | Initializes a new instance of the ParserSettings class with the OCR Connector. | | ParserSettings(ExternalResourceHandler externalResourceHandler) | Initializes a new instance of the ParserSettings class with the External Resource Handler. | | ParserSettings(ILogger logger, OcrConnectorBase ocrConnector) | Initializes a new instance of the ParserSettings class with logger and OCR Connector. | | ParserSettings(ILogger logger, OcrConnectorBase ocrConnector, ExternalResourceHandler externalResourceHandler) | Initializes a new instance of the ParserSettings class. | #### Methods | Method | Description | | --- | --- | | getLogger() | Gets the logger which is used for logging events and errors during data extraction. | | getOcrConnector() | Gets the OCR Connector which is used to provide OCR functionality. | | getExternalResourceHandler() | Gets the handler for external resources. | ##### ParserSettings(ILogger logger) ``` public ParserSettings(ILogger logger) ``` Initializes a new instance of the ParserSettings class with the logger. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | An instance of class that implements ILogger interface. | ##### ParserSettings(OcrConnectorBase ocrConnector) ``` public ParserSettings(OcrConnectorBase ocrConnector) ``` Initializes a new instance of the ParserSettings class with the OCR Connector. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | ocrConnector | OcrConnectorBase | An instance of class that inherits OcrConnectorBase class to provide OCR functionality. | ##### ParserSettings(ExternalResourceHandler externalResourceHandler) ``` public ParserSettings(ExternalResourceHandler externalResourceHandler) ``` Initializes a new instance of the ParserSettings class with the External Resource Handler. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | externalResourceHandler | ExternalResourceHandler | An instance of class that inherits OcrConnectorBase class to provide OCR functionality. | ##### ParserSettings(ILogger logger, OcrConnectorBase ocrConnector) ``` public ParserSettings(ILogger logger, OcrConnectorBase ocrConnector) ``` Initializes a new instance of the ParserSettings class with logger and OCR Connector. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | An instance of class that implements ILogger interface. | | ocrConnector | OcrConnectorBase | An instance of class that inherits OcrConnectorBase class to provide OCR functionality. | ##### ParserSettings(ILogger logger, OcrConnectorBase ocrConnector, ExternalResourceHandler externalResourceHandler) ``` public ParserSettings(ILogger logger, OcrConnectorBase ocrConnector, ExternalResourceHandler externalResourceHandler) ``` Initializes a new instance of the ParserSettings class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | An instance of class that implements ILogger interface. | | ocrConnector | OcrConnectorBase | An instance of class that inherits OcrConnectorBase class to provide OCR functionality. | | externalResourceHandler | ExternalResourceHandler | An instance of class that inherits ExternalResourceHandler class to provide the control of external resource loading. | ##### getLogger() ``` public ILogger getLogger() ``` Gets the logger which is used for logging events and errors during data extraction. **Returns:** ILogger - An instance of class that implements ILogger interface. ##### getOcrConnector() ``` public OcrConnectorBase getOcrConnector() ``` Gets the OCR Connector which is used to provide OCR functionality. **Returns:** OcrConnectorBase - An instance of class that inherits OcrConnectorBase class to provide OCR functionality. ##### getExternalResourceHandler() ``` public ExternalResourceHandler getExternalResourceHandler() ``` Gets the handler for external resources. **Returns:** ExternalResourceHandler - An instance of class that inherits ExternalResourceHandler class to provide the control of external resource loading. ### PreviewFormats Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/previewformats.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum PreviewFormats extends Enum ``` Represents supported preview formats. #### Fields | Field | Description | | --- | --- | | Png | Portable Network Graphics Format. | | Jpeg | Joint Photographic Experts Group Format. | | Bmp | Bitmap Picture Format. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### Png ``` public static final PreviewFormats Png ``` Portable Network Graphics Format. ##### Jpeg ``` public static final PreviewFormats Jpeg ``` Joint Photographic Experts Group Format. ##### Bmp ``` public static final PreviewFormats Bmp ``` Bitmap Picture Format. ##### values() ``` public static PreviewFormats[] values() ``` **Returns:** com.groupdocs.parser.options.PreviewFormats[] ##### valueOf(String name) ``` public static PreviewFormats valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** PreviewFormats ### PreviewOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/previewoptions.md **Inheritance:** java.lang.Object ``` public class PreviewOptions ``` Provides options to sets requirements and stream delegates for preview generation. #### Constructors | Constructor | Description | | --- | --- | | PreviewOptions(ICreatePageStream createPageStream) | Initializes a new instance of the PreviewOptions class causing the output stream to be closed. | | PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) | Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use. | #### Methods | Method | Description | | --- | --- | | getWidth() | Gets the page preview width. | | setWidth(int width) | Sets the page preview width. | | getHeight() | Gets the page preview height. | | setHeight(int height) | Sets the page preview height. | | getDpi() | Gets a dpi. | | setDpi(int dpi) | Sets a dpi. | | getPageNumbers() | Gets an array of page numbers to generate previews. | | setPageNumbers(int[] pageNumbers) | Sets an array of page numbers to generate previews. | | getPreviewFormat() | Gets the preview image format. | | setPreviewFormat(PreviewFormats previewFormat) | Sets the preview image format. | | getCreatePageStream() | Gets an instance of the page stream creation delegate. | | setCreatePageStream(ICreatePageStream createPageStream) | Sets an instance of the page stream creation delegate. | | getReleasePageStream() | Gets an instance of the page preview completion delegate. | | setReleasePageStream(IReleasePageStream releasePageStream) | Sets an instance of the page preview completion delegate. | | getPreviewPageRender() | Gets an instance of the page preview render info delegate. | | setPreviewPageRender(IPreviewPageRender previewPageRender) | Sets an instance of the page preview render info delegate. | ##### PreviewOptions(ICreatePageStream createPageStream) ``` public PreviewOptions(ICreatePageStream createPageStream) ``` Initializes a new instance of the PreviewOptions class causing the output stream to be closed. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | ICreatePageStream | Creates a stream for a specific page preview. | ##### PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) ``` public PreviewOptions(ICreatePageStream createPageStream, IReleasePageStream releasePageStream) ``` Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | ICreatePageStream | Creates a stream for a specific page preview | | releasePageStream | IReleasePageStream | Notifies that the page preview generation is done and gets the output stream. | ##### getWidth() ``` public int getWidth() ``` Gets the page preview width. **Returns:** int - The page width. ##### setWidth(int width) ``` public void setWidth(int width) ``` Sets the page preview width. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | width | int | The page width. | ##### getHeight() ``` public int getHeight() ``` Gets the page preview height. **Returns:** int - The page height. ##### setHeight(int height) ``` public void setHeight(int height) ``` Sets the page preview height. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | height | int | The page height. | ##### getDpi() ``` public int getDpi() ``` Gets a dpi. **Returns:** int - An integer value that represents a dpi. ##### setDpi(int dpi) ``` public void setDpi(int dpi) ``` Sets a dpi. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | dpi | int | The dpi. | ##### getPageNumbers() ``` public int[] getPageNumbers() ``` Gets an array of page numbers to generate previews. **Returns:** int[] - A collection of page numbers. ##### setPageNumbers(int[] pageNumbers) ``` public void setPageNumbers(int[] pageNumbers) ``` Sets an array of page numbers to generate previews. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageNumbers | int[] | A collection of page numbers. | ##### getPreviewFormat() ``` public PreviewFormats getPreviewFormat() ``` Gets the preview image format. **Returns:** PreviewFormats - PreviewFormats numeration. ##### setPreviewFormat(PreviewFormats previewFormat) ``` public void setPreviewFormat(PreviewFormats previewFormat) ``` Sets the preview image format. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewFormat | PreviewFormats | The preview format. | ##### getCreatePageStream() ``` public ICreatePageStream getCreatePageStream() ``` Gets an instance of the page stream creation delegate. **Returns:** ICreatePageStream - The page stream creation delegate. ##### setCreatePageStream(ICreatePageStream createPageStream) ``` public void setCreatePageStream(ICreatePageStream createPageStream) ``` Sets an instance of the page stream creation delegate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | createPageStream | ICreatePageStream | The page stream creation delegate. | ##### getReleasePageStream() ``` public IReleasePageStream getReleasePageStream() ``` Gets an instance of the page preview completion delegate. **Returns:** IReleasePageStream - The page preview completion delegate. ##### setReleasePageStream(IReleasePageStream releasePageStream) ``` public void setReleasePageStream(IReleasePageStream releasePageStream) ``` Sets an instance of the page preview completion delegate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | releasePageStream | IReleasePageStream | The page preview completion delegate. | ##### getPreviewPageRender() ``` public IPreviewPageRender getPreviewPageRender() ``` Gets an instance of the page preview render info delegate. **Returns:** IPreviewPageRender - The page preview render info delegate. ##### setPreviewPageRender(IPreviewPageRender previewPageRender) ``` public void setPreviewPageRender(IPreviewPageRender previewPageRender) ``` Sets an instance of the page preview render info delegate. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewPageRender | IPreviewPageRender | The page preview render info delegate. | ### QualityMode Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/qualitymode.md **Inheritance:** java.lang.Object, java.lang.Enum ``` public enum QualityMode extends Enum ``` Defines a level of the quality. #### Fields | Field | Description | | --- | --- | | High | Hight quality. | | Normal | Normal quality. | | Low | Low quality. | #### Methods | Method | Description | | --- | --- | | values() | | | valueOf(String name) | | ##### High ``` public static final QualityMode High ``` Hight quality. Fast processing algorithms are used. ##### Normal ``` public static final QualityMode Normal ``` Normal quality. Default processing algorithms are used. ##### Low ``` public static final QualityMode Low ``` Low quality. Slow processing algorithms are used. ##### values() ``` public static QualityMode[] values() ``` **Returns:** com.groupdocs.parser.options.QualityMode[] ##### valueOf(String name) ``` public static QualityMode valueOf(String name) ``` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | name | java.lang.String | | **Returns:** QualityMode ### SearchOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/searchoptions.md **Inheritance:** java.lang.Object ``` public class SearchOptions ``` Provides the options which are used for text search. An instance of SearchOptions class is used as parameter in Parser.search(String, SearchOptions) method. See the usage examples there. **Learn more:** * Search text * Search text in Microsoft Office Word documents * Search text in Microsoft Office Excel spreadsheets * Search text in Microsoft Office PowerPoint presentations * Search text in PDF documents * Search text in Emails * Search text in EPUB eBooks * Search text in HTML documents * Search text in Microsoft OneNote sections #### Constructors | Constructor | Description | | --- | --- | | SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, boolean searchByPages, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) | Initializes a new instance of the SearchOptions class. | | SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, int maxPageIndex, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) | Initializes a new instance of the SearchOptions class. | | SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) | Initializes a new instance of the SearchOptions class which is used to search with the highlight options for the left and the right highlight extraction. | | SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, HighlightOptions highlightOptions) | Initializes a new instance of the SearchOptions class which is used to search with the same highlight options for the left and the right highlight extraction. | | SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression) | Initializes a new instance of the SearchOptions class which is used to search without highlight extraction. | | SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, boolean searchByPages) | Initializes a new instance of the SearchOptions class which is used to search by pages and without highlight extraction. | | SearchOptions() | Initializes a new instance of the SearchOptions class with default values. | #### Methods | Method | Description | | --- | --- | | isMatchCase() | Gets the value that indicates whether a text case isn't ignored. | | isMatchWholeWord() | Gets the value that indicates whether text search is limited by a whole word. | | isUseRegularExpression() | Gets the value that indicates whether a regular expression is used. | | isSearchByPages() | Gets the value that indicates whether the search is performed by pages. | | getLeftHighlightOptions() | Gets the options for the left highlight. | | getRightHighlightOptions() | Gets the options for the right highlight. | | getMaxPageIndex() | Gets the value that represents the max index of the page to search. | ##### SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, boolean searchByPages, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` public SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, boolean searchByPages, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` Initializes a new instance of the SearchOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | boolean | The value that indicates whether a regular expression is used. | | searchByPages | boolean | The value that indicates whether the search is performed by pages. | | leftHighlightOptions | HighlightOptions | The options for the left highlight. | | rightHighlightOptions | HighlightOptions | The options for the right highlight. | ##### SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, int maxPageIndex, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` public SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, int maxPageIndex, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` Initializes a new instance of the SearchOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | boolean | The value that indicates whether a regular expression is used. | | maxPageIndex | int | The value that represents the max index of the page to search | | leftHighlightOptions | HighlightOptions | The options for the left highlight. | | rightHighlightOptions | HighlightOptions | The options for the right highlight. | ##### SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` public SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` Initializes a new instance of the SearchOptions class which is used to search with the highlight options for the left and the right highlight extraction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | boolean | The value that indicates whether a regular expression is used. | | leftHighlightOptions | HighlightOptions | The options for the left highlight. | | rightHighlightOptions | HighlightOptions | The options for the right highlight. | ##### SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, HighlightOptions highlightOptions) ``` public SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, HighlightOptions highlightOptions) ``` Initializes a new instance of the SearchOptions class which is used to search with the same highlight options for the left and the right highlight extraction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | boolean | The value that indicates whether a regular expression is used. | | highlightOptions | HighlightOptions | The options for both highlights. | ##### SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression) ``` public SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression) ``` Initializes a new instance of the SearchOptions class which is used to search without highlight extraction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | boolean | The value that indicates whether a regular expression is used. | ##### SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, boolean searchByPages) ``` public SearchOptions(boolean matchCase, boolean matchWholeWord, boolean useRegularExpression, boolean searchByPages) ``` Initializes a new instance of the SearchOptions class which is used to search by pages and without highlight extraction. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | boolean | The value that indicates whether a regular expression is used. | | searchByPages | boolean | The value that indicates whether the search is performed by pages. | ##### SearchOptions() ``` public SearchOptions() ``` Initializes a new instance of the SearchOptions class with default values. See remarks for details. The following properties have default values: * MatchCase: false * MatchWholeWord: false * UseRegularExpression: false * LeftHighlightOptions: null * RightHighlightOptions: null ##### isMatchCase() ``` public boolean isMatchCase() ``` Gets the value that indicates whether a text case isn't ignored. **Returns:** boolean - true if a text case isn't ignored; otherwise, false . ##### isMatchWholeWord() ``` public boolean isMatchWholeWord() ``` Gets the value that indicates whether text search is limited by a whole word. **Returns:** boolean - true if text search is limited by a whole word; otherwise, false . ##### isUseRegularExpression() ``` public boolean isUseRegularExpression() ``` Gets the value that indicates whether a regular expression is used. **Returns:** boolean - true if a regular expression is used; otherwise, false . ##### isSearchByPages() ``` public boolean isSearchByPages() ``` Gets the value that indicates whether the search is performed by pages. **Returns:** boolean - true if the search is performed by pages; otherwise, false and the search is performed on the whole document without including SearchResult.getPageIndex() property value in SearchResult class. ##### getLeftHighlightOptions() ``` public HighlightOptions getLeftHighlightOptions() ``` Gets the options for the left highlight. **Returns:** HighlightOptions - An instance of HighlightOptions class; nill if it isn't set. ##### getRightHighlightOptions() ``` public HighlightOptions getRightHighlightOptions() ``` Gets the options for the right highlight. **Returns:** HighlightOptions - An instance of HighlightOptions class; nill if it isn't set. ##### getMaxPageIndex() ``` public int getMaxPageIndex() ``` Gets the value that represents the max index of the page to search. **Returns:** int - An integer value that represents the max index of the page to search; -1 if not set; ### TextDocumentInfo Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/textdocumentinfo.md **Inheritance:** java.lang.Object, com.groupdocs.parser.options.DocumentInfo ``` public abstract class TextDocumentInfo extends DocumentInfo ``` Represents the text document information. **Learn more:** * Get document info * Detect encoding #### Constructors | Constructor | Description | | --- | --- | | TextDocumentInfo() | | #### Methods | Method | Description | | --- | --- | | getCharset() | Gets the detected encoding of the text document. | ##### TextDocumentInfo() ``` public TextDocumentInfo() ``` ##### getCharset() ``` public abstract Charset getCharset() ``` Gets the detected encoding of the text document. **Returns:** java.nio.charset.Charset - An instance of Charset class. ### TextOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.options/textoptions.md **Inheritance:** java.lang.Object ``` public class TextOptions ``` Provides the options which are used for text extraction. An instance of TextOptions class is used as parameter in Parser.getText(TextOptions) and Parser.getText(int, TextOptions) methods. See the usage examples there. It's used to specify the raw mode of text extraction. A text in this mode is extracted in a non-accurate way but faster than in the standard mode. If the raw mode doesn't support the document format, then this parameter is ignored and the standard mode is used. **Learn more:** * Extract text in Raw Mode * Extract text in Accurate Mode #### Constructors | Constructor | Description | | --- | --- | | TextOptions(boolean useRawModeIfPossible) | Initializes a new instance of the TextOptions class. | | TextOptions(boolean useRawModeIfPossible, boolean useOcr) | Initializes a new instance of the TextOptions class with the OCR usage option. | | TextOptions(boolean useRawModeIfPossible, boolean useOcr, OcrOptions ocrOptions) | Initializes a new instance of the TextOptions class with the ability to set OCR options. | #### Methods | Method | Description | | --- | --- | | isUseRawModeIfPossible() | Gets the value that indicates whether the raw mode is used. | | isUseOcr() | Gets the value that indicates whether the OCR Connector is used to extract a text. | | getOcrOptions() | Gets the additional options for OCR functionality. | ##### TextOptions(boolean useRawModeIfPossible) ``` public TextOptions(boolean useRawModeIfPossible) ``` Initializes a new instance of the TextOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useRawModeIfPossible | boolean | The value that indicates whether the raw mode is used. | ##### TextOptions(boolean useRawModeIfPossible, boolean useOcr) ``` public TextOptions(boolean useRawModeIfPossible, boolean useOcr) ``` Initializes a new instance of the TextOptions class with the OCR usage option. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useRawModeIfPossible | boolean | The value that indicates whether the raw mode is used. | | useOcr | boolean | The value that indicates whether the OCR functionality is used to extract a text. | ##### TextOptions(boolean useRawModeIfPossible, boolean useOcr, OcrOptions ocrOptions) ``` public TextOptions(boolean useRawModeIfPossible, boolean useOcr, OcrOptions ocrOptions) ``` Initializes a new instance of the TextOptions class with the ability to set OCR options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | useRawModeIfPossible | boolean | The value that indicates whether the raw mode is used. | | useOcr | boolean | The value that indicates whether the OCR functionality is used to extract a text. | | ocrOptions | OcrOptions | The additional options for OCR functionality. | ##### isUseRawModeIfPossible() ``` public boolean isUseRawModeIfPossible() ``` Gets the value that indicates whether the raw mode is used. **Returns:** boolean - true if the raw mode is used; otherwise, false . ##### isUseOcr() ``` public boolean isUseOcr() ``` Gets the value that indicates whether the OCR Connector is used to extract a text. **Returns:** boolean - true if the OCR functionality is used; otherwise, false . ##### getOcrOptions() ``` public OcrOptions getOcrOptions() ``` Gets the additional options for OCR functionality. **Returns:** OcrOptions - An instance of OcrOptions class with the additional OCR options. ### com.groupdocs.parser.templates Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates.md The package provides classes for creating templates for parsing document data. #### Classes | Class | Description | | --- | --- | | Template | Provides the document page template. | | TemplateBarcode | Provides the template barcode field. | | TemplateField | Provides the template text field. | | TemplateFixedPosition | Provides a template field position which is defined by the rectangular area. | | TemplateItem | Provides a base abstract class for template items. | | TemplateLinkedPosition | Provides a template field position which uses the linked field. | | TemplateLinkedPositionEdges | Provides the edges of the linked field where the text field is seached. | | TemplateOptions | Provides the options which are used for parsing by template functionality. | | TemplatePosition | Provides a base abstract class for template positions. | | TemplateRegexPosition | Provides a template field position which uses the regular expression. | | TemplateTable | Provides the template table. | | TemplateTableLayout | Provides the template table layout which is used by TemplateTable class to define table position. | | TemplateTableParameters | Provides parameters for the table detection algorithms. | ### Template Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/template.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.lang.Iterable ``` public class Template implements Iterable ``` Provides the document page template. It consists of TemplateItem objects which represent the items of the template such as text field and table definitions. **Learn more:** * Working with templates #### Constructors | Constructor | Description | | --- | --- | | Template(Iterable items) | Initializes a new instance of the Template class. | | Template(Iterable items, TemplateOptions options) | Initializes a new instance of the Template class. | #### Methods | Method | Description | | --- | --- | | getCount() | Gets the total number of template items. | | get(int index) | Gets the template item by an index. | | getOptions() | Gets the template options. | | iterator() | | | load(String filePath) | Loads a template from a file. | | load(InputStream stream) | Loads a template from a stream. | | save(String filePath) | Saves a template to a file. | | save(OutputStream stream) | Saves a template to a stream. | ##### Template(Iterable items) ``` public Template(Iterable items) ``` Initializes a new instance of the Template class. Usage: ```` // Create an array of template fields TemplateItem[] fields = new TemplateItem[] { new TemplateField(new TemplateRegexPosition("From"), "From", 0), new TemplateField( new TemplateLinkedPosition("From", new Size(100, 10), new TemplateLinkedPositionEdges(false, false, false, true)), "FromCompany", 0), new TemplateField( new TemplateLinkedPosition("FromCompany", new Size(100, 30), new TemplateLinkedPositionEdges(false, false, false, true)), "FromAddress", 0) }; // Create a document template Template template = new Template(java.util.Arrays.asList(fields)); ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | items | java.lang.Iterable | The collection of TemplateItem objects. | ##### Template(Iterable items, TemplateOptions options) ``` public Template(Iterable items, TemplateOptions options) ``` Initializes a new instance of the Template class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | items | java.lang.Iterable | The collection of TemplateItem objects. | | options | TemplateOptions | The template options. | ##### getCount() ``` public int getCount() ``` Gets the total number of template items. **Returns:** int - An integer that represents the total number of template items. ##### get(int index) ``` public TemplateItem get(int index) ``` Gets the template item by an index. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | index | int | The zero-based index of the template item. | **Returns:** TemplateItem - An instance of TemplateItem class. ##### getOptions() ``` public TemplateOptions getOptions() ``` Gets the template options. **Returns:** TemplateOptions - An instance of TemplateOptions class. ##### iterator() ``` public Iterator iterator() ``` **Returns:** java.util.Iterator ##### load(String filePath) ``` public static Template load(String filePath) ``` Loads a template from a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | **Returns:** Template - An instance of Template class with loaded template. ##### load(InputStream stream) ``` public static Template load(InputStream stream) ``` Loads a template from a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.InputStream | The input stream. | **Returns:** Template - An instance of Template class with loaded template. ##### save(String filePath) ``` public void save(String filePath) ``` Saves a template to a file. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | ##### save(OutputStream stream) ``` public void save(OutputStream stream) ``` Saves a template to a stream. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | stream | java.io.OutputStream | The output stream. | ### TemplateBarcode Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatebarcode.md **Inheritance:** java.lang.Object, com.groupdocs.parser.templates.TemplateItem ``` public class TemplateBarcode extends TemplateItem ``` Provides the template barcode field. #### Constructors | Constructor | Description | | --- | --- | | TemplateBarcode(Rectangle rectangle, String name) | Initializes a new instance of the TemplateBarcode class. | | TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex) | Initializes a new instance of the TemplateBarcode clas with the UPPER CASE name. | | TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth) | Initializes a new instance of the TemplateBarcode class with the UPPER CASE name. | | TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, boolean useUpperCaseName) | Initializes a new instance of the TemplateBarcode class. | | TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) | Initializes a new instance of the TemplateBarcode class. | #### Methods | Method | Description | | --- | --- | | getRectangle() | Gets the rectangular area that contains the template barcode field. | | scale(double factor) | | ##### TemplateBarcode(Rectangle rectangle, String name) ``` public TemplateBarcode(Rectangle rectangle, String name) ``` Initializes a new instance of the TemplateBarcode class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | java.lang.String | The barcode field name. | ##### TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex) ``` public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex) ``` Initializes a new instance of the TemplateBarcode clas with the UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | java.lang.String | The barcode field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | ##### TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth) ``` public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth) ``` Initializes a new instance of the TemplateBarcode class with the UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | java.lang.String | The barcode field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | ##### TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, boolean useUpperCaseName) ``` public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateBarcode class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | java.lang.String | The barcode field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateBarcode class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | java.lang.String | The barcode field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area that contains the template barcode field. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area that contains the template barcode field. ##### scale(double factor) ``` public TemplateItem scale(double factor) ``` Creates a copy of the current item with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | | **Returns:** TemplateItem ### TemplateField Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatefield.md **Inheritance:** java.lang.Object, com.groupdocs.parser.templates.TemplateItem ``` public class TemplateField extends TemplateItem ``` Provides the template text field. Text fields are defined by its position on the page. There are three ways to define a text field: * Using the rectangular area: TemplateFixedPosition * Using the regular expression: TemplateRegexPosition * Using the linked field: TemplateLinkedPosition #### Constructors | Constructor | Description | | --- | --- | | TemplateField(TemplatePosition position, String name) | Initializes a new instance of the TemplateField class. | | TemplateField(TemplatePosition position, String name, Integer pageIndex) | Initializes a new instance of the TemplateField class with the UPPER CASE name. | | TemplateField(TemplatePosition position, String name, Integer pageIndex, Double pageWidth) | Initializes a new instance of the TemplateField class with the UPPER CASE name. | | TemplateField(TemplatePosition position, String name, Integer pageIndex, boolean useUpperCaseName) | Initializes a new instance of the TemplateField class. | | TemplateField(TemplatePosition position, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) | Initializes a new instance of the TemplateField class. | #### Methods | Method | Description | | --- | --- | | getPosition() | Gets the value that describes how to find the template field on the document page. | | scale(double factor) | | ##### TemplateField(TemplatePosition position, String name) ``` public TemplateField(TemplatePosition position, String name) ``` Initializes a new instance of the TemplateField class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | TemplatePosition | The field position. | | name | java.lang.String | The field name. | ##### TemplateField(TemplatePosition position, String name, Integer pageIndex) ``` public TemplateField(TemplatePosition position, String name, Integer pageIndex) ``` Initializes a new instance of the TemplateField class with the UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | TemplatePosition | The field position. | | name | java.lang.String | The field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | ##### TemplateField(TemplatePosition position, String name, Integer pageIndex, Double pageWidth) ``` public TemplateField(TemplatePosition position, String name, Integer pageIndex, Double pageWidth) ``` Initializes a new instance of the TemplateField class with the UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | TemplatePosition | The field position. | | name | java.lang.String | The field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | ##### TemplateField(TemplatePosition position, String name, Integer pageIndex, boolean useUpperCaseName) ``` public TemplateField(TemplatePosition position, String name, Integer pageIndex, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateField class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | TemplatePosition | The field position. | | name | java.lang.String | The field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### TemplateField(TemplatePosition position, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` public TemplateField(TemplatePosition position, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateField class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | TemplatePosition | The field position. | | name | java.lang.String | The field name. | | pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### getPosition() ``` public TemplatePosition getPosition() ``` Gets the value that describes how to find the template field on the document page. **Returns:** TemplatePosition - An instance of TemplatePosition descendant class. ##### scale(double factor) ``` public TemplateItem scale(double factor) ``` Creates a copy of the current item with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | | **Returns:** TemplateItem ### TemplateFixedPosition Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatefixedposition.md **Inheritance:** java.lang.Object, com.groupdocs.parser.templates.TemplatePosition ``` public class TemplateFixedPosition extends TemplatePosition ``` Provides a template field position which is defined by the rectangular area. This is simplest way to define the field position. It requires to set a rectangular area on the page that bounds the field value. All the text that is contained (even partially) into the rectangular area will be extracted as a value: ```` // Create a fixed template field with "Address" name which is bounded by a rectangle at the position (35, 160) and with the size (110, 20) TemplateField templateField = new TemplateField( new TemplateFixedPosition(new Rectangle(new Point(35, 160), new Size(110, 20))), "Address"); ```` #### Constructors | Constructor | Description | | --- | --- | | TemplateFixedPosition(Rectangle rectangle) | Initializes a new instance of the TemplateFixedPosition class. | #### Methods | Method | Description | | --- | --- | | getRectangle() | Gets the rectangular area that contains the template field. | | scale(double factor) | | ##### TemplateFixedPosition(Rectangle rectangle) ``` public TemplateFixedPosition(Rectangle rectangle) ``` Initializes a new instance of the TemplateFixedPosition class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template field. | ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area that contains the template field. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area that contains the template field. ##### scale(double factor) ``` public TemplatePosition scale(double factor) ``` Creates a copy of the current position with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | | **Returns:** TemplatePosition ### TemplateItem Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templateitem.md **Inheritance:** java.lang.Object ``` public abstract class TemplateItem ``` Provides a base abstract class for template items. The inheritors of TemplateItem class are used in Template collection. #### Methods | Method | Description | | --- | --- | | scale(double factor) | Creates a copy of the current item with all coordinates scaled by the given factor. | | getName() | Gets the name of the template item. | | getPageIndex() | Gets the page index of the template item. | | getPageWidth() | Gets the width of the page that was used to create the template item. | | getUseUpperCaseName() | Gets a value that indicates whether a Name was converted to UPPER CASE. | ##### scale(double factor) ``` public abstract TemplateItem scale(double factor) ``` Creates a copy of the current item with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | The scaling factor. | **Returns:** TemplateItem - A new TemplateItem with scaled coordinates. ##### getName() ``` public String getName() ``` Gets the name of the template item. **Returns:** java.lang.String - An uppercase string value that represents a name of the template item. ##### getPageIndex() ``` public Integer getPageIndex() ``` Gets the page index of the template item. **Returns:** java.lang.Integer - An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. ##### getPageWidth() ``` public Double getPageWidth() ``` Gets the width of the page that was used to create the template item. **Returns:** java.lang.Double - The width of the page in pixels; null if the page width is unknown. ##### getUseUpperCaseName() ``` public boolean getUseUpperCaseName() ``` Gets a value that indicates whether a Name was converted to UPPER CASE. **Returns:** boolean - A boolean value that indicates whether a Name was converted to UPPER CASE. ### TemplateLinkedPosition Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatelinkedposition.md **Inheritance:** java.lang.Object, com.groupdocs.parser.templates.TemplatePosition ``` public class TemplateLinkedPosition extends TemplatePosition ``` Provides a template field position which uses the linked field. The following example shows the code for the situation if it's known that the field with an invoice number is placed on the right of "Invoice number" string the following code is used: ```` // Create a regex template field to find "Invoice Number" text TemplateField invoice = new TemplateField(new TemplateRegexPosition("Invoice Number"), "Invoice"); // Create a related template field associated with "Invoice" field and extract the value on the right of it TemplateField invoiceNumber = new TemplateField( new TemplateLinkedPosition("invoice", new Size(100, 15), new TemplateLinkedPositionEdges(false, false, true, false)), "InvoiceNumber"); ```` #### Constructors | Constructor | Description | | --- | --- | | TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges) | Initializes a new instance of the TemplateLinkedPosition class. | | TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges, boolean autoScale) | Initializes a new instance of the TemplateLinkedPosition class with UPPER CASE name. | | TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges, boolean autoScale, boolean useUpperCaseName) | Initializes a new instance of the TemplateLinkedPosition class. | #### Methods | Method | Description | | --- | --- | | getLinkedFieldName() | Gets the linked field name. | | getSearchArea() | Gets the size of the area where a field is searched. | | isAutoScale() | Gets the value that indicates whether SearchArea is scaled by the linked field size. | | getEdges() | Gets the edges of the linked field where a field is searched. | | scale(double factor) | | ##### TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges) ``` public TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges) ``` Initializes a new instance of the TemplateLinkedPosition class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | linkedFieldName | java.lang.String | The name of the linked field. | | searchArea | Size | The size of the area where a field is searched. | | edges | TemplateLinkedPositionEdges | The edges of the linked field where a field is searched. | ##### TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges, boolean autoScale) ``` public TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges, boolean autoScale) ``` Initializes a new instance of the TemplateLinkedPosition class with UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | linkedFieldName | java.lang.String | The name of the linked field. | | searchArea | Size | The size of the area where a field is searched. | | edges | TemplateLinkedPositionEdges | The edges of the linked field where a field is searched. | | autoScale | boolean | The value that indicates whether searchArea is scaled by the linked field size. | ##### TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges, boolean autoScale, boolean useUpperCaseName) ``` public TemplateLinkedPosition(String linkedFieldName, Size searchArea, TemplateLinkedPositionEdges edges, boolean autoScale, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateLinkedPosition class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | linkedFieldName | java.lang.String | The name of the linked field. | | searchArea | Size | The size of the area where a field is searched. | | edges | TemplateLinkedPositionEdges | The edges of the linked field where a field is searched. | | autoScale | boolean | The value that indicates whether searchArea is scaled by the linked field size.\\ | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### getLinkedFieldName() ``` public String getLinkedFieldName() ``` Gets the linked field name. **Returns:** java.lang.String - An uppercase string value that represents the linked field name. ##### getSearchArea() ``` public Size getSearchArea() ``` Gets the size of the area where a field is searched. **Returns:** Size - An instance of Size class that represents the size of the area where a field is searched. ##### isAutoScale() ``` public Boolean isAutoScale() ``` Gets the value that indicates whether SearchArea is scaled by the linked field size. **Returns:** java.lang.Boolean - {code true} if SearchArea is scaled by the linked field size; otherwise, false . ##### getEdges() ``` public TemplateLinkedPositionEdges getEdges() ``` Gets the edges of the linked field where a field is searched. **Returns:** TemplateLinkedPositionEdges - An instance of TemplateLinkedPositionEdges class that represents the edges of the linked field where a field is searched. ##### scale(double factor) ``` public TemplatePosition scale(double factor) ``` Creates a copy of the current position with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | | **Returns:** TemplatePosition ### TemplateLinkedPositionEdges Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatelinkedpositionedges.md **Inheritance:** java.lang.Object ``` public class TemplateLinkedPositionEdges ``` Provides the edges of the linked field where the text field is seached. TemplateLinkedPositionEdges is used in TemplateLinkedPosition class. #### Constructors | Constructor | Description | | --- | --- | | TemplateLinkedPositionEdges(boolean left, boolean top, boolean right, boolean bottom) | Initializes a new instance of the TemplateLinkedPositionEdges class. | #### Methods | Method | Description | | --- | --- | | isEmpty() | Gets the value that indicates whether the instance is empty. | | isLeft() | Gets the value that indicates whether a field is searched by the left from the linked field. | | isTop() | Gets the value that indicates whether a field is searched by the top from the linked field. | | isRight() | Gets the value that indicates whether a field is searched by the right from the linked field. | | isBottom() | Gets the value that indicates whether a field is searched by the bottom from the linked field. | | parse(String s) | Converts the string representation of edges to its class equivalent. | | toString() | | ##### TemplateLinkedPositionEdges(boolean left, boolean top, boolean right, boolean bottom) ``` public TemplateLinkedPositionEdges(boolean left, boolean top, boolean right, boolean bottom) ``` Initializes a new instance of the TemplateLinkedPositionEdges class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | left | boolean | The value that indicates whether a field is searched by the left from the linked field. | | top | boolean | The value that indicates whether a field is searched by the top from the linked field. | | right | boolean | The value that indicates whether a field is searched by the right from the linked field. | | bottom | boolean | The value that indicates whether a field is searched by the bottom from the linked field. | ##### isEmpty() ``` public boolean isEmpty() ``` Gets the value that indicates whether the instance is empty. **Returns:** boolean - true if the instance is empty (all fields are false ); otherwise, false . ##### isLeft() ``` public boolean isLeft() ``` Gets the value that indicates whether a field is searched by the left from the linked field. **Returns:** boolean - true if a field is searched by the left from the linked field; otherwise, false . ##### isTop() ``` public boolean isTop() ``` Gets the value that indicates whether a field is searched by the top from the linked field. **Returns:** boolean - true if a field is searched by the top from the linked field; otherwise, false . ##### isRight() ``` public boolean isRight() ``` Gets the value that indicates whether a field is searched by the right from the linked field. **Returns:** boolean - true if a field is searched by the right from the linked field; otherwise, false . ##### isBottom() ``` public boolean isBottom() ``` Gets the value that indicates whether a field is searched by the bottom from the linked field. **Returns:** boolean - true if a field is searched by the bottom from the linked field; otherwise, false . ##### parse(String s) ``` public static TemplateLinkedPositionEdges parse(String s) ``` Converts the string representation of edges to its class equivalent. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | s | java.lang.String | A string that contains edges to convert. | **Returns:** TemplateLinkedPositionEdges - An instance of TemplateLinkedPositionEdges class that is equivalent to the value specified in s parameter. ##### toString() ``` public String toString() ``` **Returns:** java.lang.String ### TemplateOptions Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templateoptions.md **Inheritance:** java.lang.Object ``` public class TemplateOptions ``` Provides the options which are used for parsing by template functionality. #### Constructors | Constructor | Description | | --- | --- | | TemplateOptions(double rectangleTolerance) | Initializes a new instance of the TemplateOptions class. | #### Methods | Method | Description | | --- | --- | | getRectangleTolerance() | Gets the size of the border that is ignored when captured by the rectangular area. | ##### TemplateOptions(double rectangleTolerance) ``` public TemplateOptions(double rectangleTolerance) ``` Initializes a new instance of the TemplateOptions class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangleTolerance | double | The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | ##### getRectangleTolerance() ``` public double getRectangleTolerance() ``` Gets the size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. **Returns:** double - The double value from 0 (no border) to 1 (ignore the whole element). ### TemplatePosition Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templateposition.md **Inheritance:** java.lang.Object ``` public abstract class TemplatePosition ``` Provides a base abstract class for template positions. #### Constructors | Constructor | Description | | --- | --- | | TemplatePosition() | | #### Methods | Method | Description | | --- | --- | | scale(double factor) | Creates a copy of the current position with all coordinates scaled by the given factor. | ##### TemplatePosition() ``` public TemplatePosition() ``` ##### scale(double factor) ``` public abstract TemplatePosition scale(double factor) ``` Creates a copy of the current position with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | The scaling factor. | **Returns:** TemplatePosition - A new TemplatePosition with scaled coordinates. ### TemplateRegexPosition Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templateregexposition.md **Inheritance:** java.lang.Object, com.groupdocs.parser.templates.TemplatePosition ``` public class TemplateRegexPosition extends TemplatePosition ``` Provides a template field position which uses the regular expression. The following example shows the situation if the document contains "Invoice Number INV-12345" then template field can be defined in the following way: ```` // Create a regex template field with "InvoiceNumber" name TemplateField templateField = new TemplateField( new TemplateRegexPosition("Invoice Number\\s+[A-Z0-9\\-]+"), "InvoiceNumber"); ```` In this case as a value the entire string is extracted. To extract only a part of the string the regular expression group "value" is used: ```` // Create a regex template field with "InvoiceNumber" name with "value" group TemplateField templateField = new TemplateField( new TemplateRegexPosition("Invoice Number\\s+(?[A-Z0-9\\-]+)"), "InvoiceNumber"); ```` In this case as a value "INV-3337" string is extracted. #### Constructors | Constructor | Description | | --- | --- | | TemplateRegexPosition(String expression) | Initializes a new instance of the TemplateRegexPosition class. | | TemplateRegexPosition(String expression, boolean matchCase) | Initializes a new instance of the TemplateRegexPosition class. | #### Methods | Method | Description | | --- | --- | | getExpression() | Gets the regular expression. | | isMatchCase() | Gets the value that indicates whether a text case isn't ignored. | | scale(double factor) | | ##### TemplateRegexPosition(String expression) ``` public TemplateRegexPosition(String expression) ``` Initializes a new instance of the TemplateRegexPosition class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | expression | java.lang.String | The regular expression. | ##### TemplateRegexPosition(String expression, boolean matchCase) ``` public TemplateRegexPosition(String expression, boolean matchCase) ``` Initializes a new instance of the TemplateRegexPosition class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | expression | java.lang.String | The regular expression. | | matchCase | boolean | The value that indicates whether a text case isn't ignored. | ##### getExpression() ``` public String getExpression() ``` Gets the regular expression. **Returns:** java.lang.String - A string that represents the regular expression. ##### isMatchCase() ``` public boolean isMatchCase() ``` Gets the value that indicates whether a text case isn't ignored. **Returns:** boolean - true if a text case isn't ignored; otherwise, false . ##### scale(double factor) ``` public TemplatePosition scale(double factor) ``` Creates a copy of the current position with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | | **Returns:** TemplatePosition ### TemplateTable Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatetable.md **Inheritance:** java.lang.Object, com.groupdocs.parser.templates.TemplateItem ``` public class TemplateTable extends TemplateItem ``` Provides the template table. There are two ways to define a table: * Using TemplateTableLayout class. In this case the table is defined by its position on the page: rectangular area, columns and rows separators. * Using TemplateTableParameters class. In this case the table is detected automatically by algorithms with set parameters. See TemplateTableParameters class for more information. #### Constructors | Constructor | Description | | --- | --- | | TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex) | Initializes a new instance of the TemplateTable class with the UPPER CASE name. | | TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, Double pageWidth) | Initializes a new instance of the TemplateTable class with the UPPER CASE name. | | TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, boolean useUpperCaseName) | Initializes a new instance of the TemplateTable class. | | TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) | Initializes a new instance of the TemplateTable class. | | TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex) | Initializes a new instance of the TemplateTable class with the UPPER CASE name. | | TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, Double pageWidth) | Initializes a new instance of the TemplateTable class. | | TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, boolean useUpperCaseName) | Initializes a new instance of the TemplateTable class. | | TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) | Initializes a new instance of the TemplateTable class. | #### Methods | Method | Description | | --- | --- | | getLayout() | Gets the table layout. | | getParameters() | Gets the parameters to detect the table in the automatic mode. | | scale(double factor) | | ##### TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex) ``` public TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex) ``` Initializes a new instance of the TemplateTable class with the UPPER CASE name. Template table is set by table layout if the table can't be detected automatically: ```` TemplateTableLayout layout = new TemplateTableLayout( java.util.Arrays.asList(new Double[] { 50.0, 95.0, 275.0 }), java.util.Arrays.asList(new Double[] { 325.0, 340.0, 365.0 })); TemplateTable table = new TemplateTable(layout, "Details", null); // Create a document template Template template = new Template(java.util.Arrays.asList(new TemplateItem[] { table })); ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | layout | TemplateTableLayout | The table layout. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | ##### TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, Double pageWidth) ``` public TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, Double pageWidth) ``` Initializes a new instance of the TemplateTable class with the UPPER CASE name. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | layout | TemplateTableLayout | The table layout. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | ##### TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, boolean useUpperCaseName) ``` public TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateTable class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | layout | TemplateTableLayout | The table layout. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` public TemplateTable(TemplateTableLayout layout, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateTable class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | layout | TemplateTableLayout | The table layout. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex) ``` public TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex) ``` Initializes a new instance of the TemplateTable class with the UPPER CASE name. If a template table is set by detector parameters, the table is detected automatically: ```` TemplateTableParameters parameters = new TemplateTableParameters( new Rectangle(new Point(175, 350), new Size(400, 200)), java.util.Arrays.asList(new Double[] { 185.0, 370.0, 425.0, 485.0, 545.0 })); TemplateTable table = new TemplateTable(parameters, "Details", 0); // Create a document template Template template = new Template(java.util.Arrays.asList(new TemplateItem[] { table })); ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parameters | TemplateTableParameters | The parameters to detect the table in the automatic mode. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | ##### TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, Double pageWidth) ``` public TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, Double pageWidth) ``` Initializes a new instance of the TemplateTable class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parameters | TemplateTableParameters | The parameters to detect the table in the automatic mode. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | ##### TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, boolean useUpperCaseName) ``` public TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateTable class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parameters | TemplateTableParameters | The parameters to detect the table in the automatic mode. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` public TemplateTable(TemplateTableParameters parameters, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName) ``` Initializes a new instance of the TemplateTable class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | parameters | TemplateTableParameters | The parameters to detect the table in the automatic mode. | | name | java.lang.String | The table name. | | pageIndex | java.lang.Integer | The index of the page where the template table is located; null if the template table is located on any page. | | pageWidth | java.lang.Double | The width of the page that was used to create the template item. | | useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | ##### getLayout() ``` public TemplateTableLayout getLayout() ``` Gets the table layout. **Returns:** TemplateTableLayout - An instance of TemplateTableLayout class that represents the table layout; null if it isn't set. ##### getParameters() ``` public TemplateTableParameters getParameters() ``` Gets the parameters to detect the table in the automatic mode. **Returns:** TemplateTableParameters - An instance of TemplateTableParameters class that represents the parameters to detect the table in the automatic mode; null if it isn't set. ##### scale(double factor) ``` public TemplateItem scale(double factor) ``` Creates a copy of the current item with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | | **Returns:** TemplateItem ### TemplateTableLayout Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatetablelayout.md **Inheritance:** java.lang.Object ``` public class TemplateTableLayout ``` Provides the template table layout which is used by TemplateTable class to define table position. #### Constructors | Constructor | Description | | --- | --- | | TemplateTableLayout(Iterable verticalSeparators, Iterable horizontalSeparators) | Initializes a new instance of the TemplateTableLayout class. | #### Methods | Method | Description | | --- | --- | | getRectangle() | Gets the rectangular area that contains the table. | | getVerticalSeparators() | Gets the table columns separators. | | getHorizontalSeparators() | Gets the table rows separators. | | moveTo(Point point) | Creates a new layout with the same size, separators and position in the point. | | scale(double factor) | Creates a copy of this layout with all coordinates scaled by the given factor. | ##### TemplateTableLayout(Iterable verticalSeparators, Iterable horizontalSeparators) ``` public TemplateTableLayout(Iterable verticalSeparators, Iterable horizontalSeparators) ``` Initializes a new instance of the TemplateTableLayout class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | verticalSeparators | java.lang.Iterable | The table columns separators. | | horizontalSeparators | java.lang.Iterable | The table rows separators. | ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area that contains the table. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area that contains the table. ##### getVerticalSeparators() ``` public List getVerticalSeparators() ``` Gets the table columns separators. **Returns:** java.util.List - A collection of double values that represent x-coordinates of the table columns separators. ##### getHorizontalSeparators() ``` public List getHorizontalSeparators() ``` Gets the table rows separators. **Returns:** java.util.List - A collection of double values that represent y-coordinates of the table rows separators. ##### moveTo(Point point) ``` public TemplateTableLayout moveTo(Point point) ``` Creates a new layout with the same size, separators and position in the point. This functionality allows to move Table Layout. For example, a document has tables on each page (or a set of documents with a table on the page). These tables differ by position and content, but have the same columns and rows. In this case a user can define TemplateTableLayout object at (0, 0) once and then move it to the location of the definite table. If the table position depends on the other object of the page, a user can define TemplateTableLayout object based on template document and then move it according to an anchor object. For example, if this is a summary table and it is followed by details table (which can contain a different count of rows). In this case a user can define TemplateTableLayout object on template document (with the known details table rectangle) and then move TemplateTableLayout object according to the difference of details table rectangle of template and real document. moveTo(Point) method returns a copy of the current object. A user can pass any coordinates (even negative - then layout will be moved to the left/top). ```` // Create a table layout TemplateTableLayout layout = new TemplateTableLayout( java.util.Arrays.asList(new Double[] { 0.0, 25.0, 150.0, 180.0, 230.0 }), java.util.Arrays.asList(new Double[] { 0.0, 15.0, 30.0, 45.0, 60.0, 75.0 })); // Print a rectangle Rectangle rect = layout.getRectangle(); // Prints: pos: (0, 0) size: (230, 75) System.out.println(String.format("pos: (%d, %d) size: (%d, %d)", rect.getLeft(), rect.getTop(), rect.getSize().getWidth(), rect.getSize().getHeight())); // Move layout to the definite table location TemplateTableLayout movedLayout = layout.moveTo(new Point(315, 250)); // Ensure that the first separators are moved: System.out.println(movedLayout.getVerticalSeparators().get(0)); // prints: 315 System.out.println(movedLayout.getHorizontalSeparators().get(0)); // prints: 250 Rectangle movedRect = movedLayout.getRectangle(); // Prints: pos: (315, 250) size: (230, 75) System.out.println(String.format("pos: (%d, %d) size: (%d, %d)", movedRect.getLeft(), movedRect.getTop(), movedRect.getSize().getWidth(), movedRect.getSize().getHeight())); // movedLayout object is a copy of layout object, thus we can tune separators without the impact on the original layout: movedLayout.getHorizontalSeparators().add(90.0); System.out.println(movedLayout.getHorizontalSeparators().size()); // prints: 7 System.out.println(layout.getHorizontalSeparators().size()); // prints: 6 ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | point | Point | The position of the new layout. | **Returns:** TemplateTableLayout - A new layout with the same size, separators and position in the point. ##### scale(double factor) ``` public TemplateTableLayout scale(double factor) ``` Creates a copy of this layout with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | The scaling factor. | **Returns:** TemplateTableLayout - A new TemplateTableLayout with scaled separators. ### TemplateTableParameters Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.templates/templatetableparameters.md **Inheritance:** java.lang.Object ``` public class TemplateTableParameters ``` Provides parameters for the table detection algorithms. There are two algorithms to detect a table: * Allows to detect a table in the rectangular area with set columns. This algorithm is useful for simple tables (without merged columns) and provides more accurate detection. * Allows to detect a table in any place on the page. This is a more complex algorithm. It can detect tables in any place on the page. Additional parameters help to detect a table more correctly. In some cases when algorithms can't detect a table or do it in non-accurate way TemplateTableLayout class is used. #### Constructors | Constructor | Description | | --- | --- | | TemplateTableParameters(Rectangle rectangle, Iterable verticalSeparators) | Initializes a new instance of the TemplateTableParameters class. | | TemplateTableParameters(Rectangle rectangle, Iterable verticalSeparators, Boolean mergedCells, Integer minRowCount, Integer minColumnCount, Integer minVerticalSpace) | Initializes a new instance of the TemplateTableParameters class. | #### Methods | Method | Description | | --- | --- | | getRectangle() | Gets the rectangular area that contains the table. | | getVerticalSeparators() | Gets the table columns separators. | | hasMergedCells() | Gets the value that indicates whether the table has merged cells. | | getMinRowCount() | Gets the minimum number of the table rows. | | getMinColumnCount() | Gets the minimum number of the table columns. | | getMinVerticalSpace() | Gets the minumum space between the table columns. | | scale(double factor) | Creates a copy of these parameters with all coordinates scaled by the given factor. | ##### TemplateTableParameters(Rectangle rectangle, Iterable verticalSeparators) ``` public TemplateTableParameters(Rectangle rectangle, Iterable verticalSeparators) ``` Initializes a new instance of the TemplateTableParameters class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the table. | | verticalSeparators | java.lang.Iterable | The table columns separators. | ##### TemplateTableParameters(Rectangle rectangle, Iterable verticalSeparators, Boolean mergedCells, Integer minRowCount, Integer minColumnCount, Integer minVerticalSpace) ``` public TemplateTableParameters(Rectangle rectangle, Iterable verticalSeparators, Boolean mergedCells, Integer minRowCount, Integer minColumnCount, Integer minVerticalSpace) ``` Initializes a new instance of the TemplateTableParameters class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the table. | | verticalSeparators | java.lang.Iterable | The table columns separators. | | mergedCells | java.lang.Boolean | The value that indicates whether the table has merged cells. | | minRowCount | java.lang.Integer | The minimum number of the table rows. | | minColumnCount | java.lang.Integer | The minumum number of the table columns. | | minVerticalSpace | java.lang.Integer | The minumum space between the table columns. | ##### getRectangle() ``` public Rectangle getRectangle() ``` Gets the rectangular area that contains the table. **Returns:** Rectangle - An instance of Rectangle class that represents the rectangular area that contains the table; null if it isn't set. ##### getVerticalSeparators() ``` public List getVerticalSeparators() ``` Gets the table columns separators. **Returns:** java.util.List - A collection of double values that represent x-coordinates of the table columns separators; null if it isn't set. ##### hasMergedCells() ``` public Boolean hasMergedCells() ``` Gets the value that indicates whether the table has merged cells. **Returns:** java.lang.Boolean - true if the table has merged cells; otherwise, false . null if it isn't set. ##### getMinRowCount() ``` public Integer getMinRowCount() ``` Gets the minimum number of the table rows. **Returns:** java.lang.Integer - An integer value that represents the minimum number of the table rows; null if it isn't set. ##### getMinColumnCount() ``` public Integer getMinColumnCount() ``` Gets the minimum number of the table columns. **Returns:** java.lang.Integer - An integer value that represents the minimum number of the table columns; null if it isn't set. ##### getMinVerticalSpace() ``` public Integer getMinVerticalSpace() ``` Gets the minumum space between the table columns. **Returns:** java.lang.Integer - An integer value that represents the minumum space between the table columns; null if it isn't set. ##### scale(double factor) ``` public TemplateTableParameters scale(double factor) ``` Creates a copy of these parameters with all coordinates scaled by the given factor. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | factor | double | The scaling factor. | **Returns:** TemplateTableParameters - A new TemplateTableParameters with scaled coordinates. ### com.groupdocs.parser Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser.md The package provides classes for parsing data from documents. With the main class Parser you may use all document data parsing and extraction features. #### Classes | Class | Description | | --- | --- | | Parser | Represents the main class that controls text, images, container extraction and parsing functionality. | ### Parser Path: https://reference.groupdocs.com/parser/java/com.groupdocs.parser/parser.md **Inheritance:** java.lang.Object **All Implemented Interfaces:** java.io.Closeable ``` public class Parser implements Closeable ``` Represents the main class that controls text, images, container extraction and parsing functionality. #### Constructors | Constructor | Description | | --- | --- | | Parser(URL url) | Initializes a new instance of the Parser class to extract data from an URL. | | Parser(URL url, LoadOptions loadOptions) | Initializes a new instance of the Parser class to extract data from an URL with loadOptions . | | Parser(URL url, ParserSettings parserSettings) | Initializes a new instance of the Parser class to extract data from an URL with parserSettings . | | Parser(URL url, LoadOptions loadOptions, ParserSettings parserSettings) | Initializes a new instance of the Parser class to extract data from an URL with loadOptions and parserSettings . | | Parser(Connection connection) | Initializes a new instance of the Parser class to extract data from a database. | | Parser(Connection connection, ParserSettings parserSettings) | Initializes a new instance of the Parser class to extract data from a database. | | Parser(EmailConnection connection) | Initializes a new instance of the Parser class. | | Parser(EmailConnection connection, ParserSettings parserSettings) | Initializes a new instance of the Parser class. | | Parser(String filePath) | Initializes a new instance of the Parser class. | | Parser(String filePath, LoadOptions loadOptions) | Initializes a new instance of the Parser class with LoadOptions. | | Parser(String filePath, ParserSettings parserSettings) | Initializes a new instance of the Parser class with ParserSettings. | | Parser(String filePath, LoadOptions loadOptions, ParserSettings parserSettings) | Initializes a new instance of the Parser class with LoadOptions and ParserSettings. | | Parser(InputStream document) | Initializes a new instance of the Parser class. | | Parser(InputStream document, LoadOptions loadOptions) | Initializes a new instance of the Parser class with LoadOptions. | | Parser(InputStream document, ParserSettings parserSettings) | Initializes a new instance of the Parser class with ParserSettings. | | Parser(InputStream document, LoadOptions loadOptions, ParserSettings parserSettings) | Initializes a new instance of the Parser class with LoadOptions and ParserSettings. | #### Methods | Method | Description | | --- | --- | | getFileInfo(String filePath) | Returns the general information about a file. | | getFileInfo(InputStream document) | Returns the general information about a file. | | getFeatures() | Gets the supported features. | | getPagePreview(int pageIndex) | Generates a document page preview. | | getPagePreview(int pageIndex, PagePreviewOptions options) | Generates a document page preview using customization options. | | generatePreview(PreviewOptions previewOptions) | Get pages preview. | | getDocumentInfo() | Returns the general information about the document. | | getText() | Extracts a text from the document. | | getText(TextOptions options) | Extracts a text page from the document using text options (to enable raw fast text extraction mode). | | getText(int pageIndex) | Extracts a text from the document page. | | getText(int pageIndex, TextOptions options) | Extracts a text from the document page using text options (to enable raw fast text extraction mode). | | getFormattedText(FormattedTextOptions options) | Extracts a formatted text from the document. | | getFormattedText(int pageIndex, FormattedTextOptions options) | Extracts a formatted text from the document page. | | search(String keyword) | Searches a keyword in the document. | | search(String keyword, SearchOptions options) | Searches a keyword in the document using search options (regular expression, match case, etc.). | | getHighlight(int position, boolean isDirect, HighlightOptions options) | Extracts a highlight from the document. | | getToc() | Extracts a table of contents from the document. | | getMetadata() | Extracts metadata from the document. | | getContainer() | Extracts a container object from the document to work with formats that contain attachments, ZIP archives etc. | | getTextAreas() | Extracts text areas from the document. | | getTextAreas(PageTextAreaOptions options) | Extracts text areas from the document using customization options (regular expression, match case, etc.). | | getTextAreas(int pageIndex) | Extracts text areas from the document page. | | getTextAreas(int pageIndex, PageTextAreaOptions options) | Extracts text areas from the document page using customization options (regular expression, match case, etc.). | | getImages() | Extracts images from the document. | | getImages(PageAreaOptions options) | Extracts images from the document using customization options (to set the rectangular area that contains images). | | getImages(int pageIndex) | Extracts images from the document page. | | getImages(int pageIndex, PageAreaOptions options) | Extracts images from the document page using customization options (to set the rectangular area that contains images). | | getHyperlinks() | Extracts hyperlinks from the document. | | getHyperlinks(int pageIndex) | Extracts hyperlinks from the document page. | | getHyperlinks(PageAreaOptions options) | Extracts hyperlinks from the document using customization options (to set the rectangular area that contains hyperlinks). | | getHyperlinks(int pageIndex, PageAreaOptions options) | Extracts hyperlinks from the document page using customization options (to set the rectangular area that contains hyperlinks). | | getBarcodes() | Extracts barcodes from the document. | | getBarcodes(int pageIndex) | Extracts barcodes from the document page. | | getBarcodes(BarcodeOptions options) | Extracts barcodes from the document using customization options (to set the rectangular area that contains barcodes). | | getBarcodes(int pageIndex, BarcodeOptions options) | Extracts barcodes from the document page using customization options (to set the rectangular area that contains barcodes). | | getTables(PageTableAreaOptions options) | Extracts tables from the document. | | getTables() | Extracts tables from the document, detecting them automatically. | | getTables(int pageIndex, PageTableAreaOptions options) | Extracts tables from the document page. | | getTables(int pageIndex) | Extracts tables from the document page, detecting them automatically. | | generateAdjustmentFields(GenerateTemplateOptions options) | Generates a collection of adjustment TemplateItems for the document. | | getWorksheetInfo() | Extracts the info about all worksheets in the spreadsheet. | | getWorksheetInfo(int worksheetIndex) | Extracts the info about the worksheet. | | getWorksheetCells(int worksheetIndex) | Extracts worksheet cells. | | getWorksheetCells(int worksheetIndex, WorksheetOptions options) | Extracts worksheet cells using customization options. | | parseByTemplate(Template template) | Parses the document by the user-generated template. | | parseByTemplate(Template template, ParseByTemplateOptions options) | Parses the document by the user-generated template with the supplied options. | | parseByTemplate(TemplateCollection templates, ParseByTemplateOptions options) | Parses the document by automatically selecting the best-matching template from a collection. | | parseForm() | Parses the document form. | | getStructure() | Extracts a structured text from the document. | | close() | Closes this resource, relinquishing any underlying resources. | ##### Parser(URL url) ``` public Parser(URL url) ``` Initializes a new instance of the Parser class to extract data from an URL. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | url | java.net.URL | The URL the request is sent to | ##### Parser(URL url, LoadOptions loadOptions) ``` public Parser(URL url, LoadOptions loadOptions) ``` Initializes a new instance of the Parser class to extract data from an URL with loadOptions . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | url | java.net.URL | The URL the request is sent to. | | loadOptions | LoadOptions | The options to open the file. | ##### Parser(URL url, ParserSettings parserSettings) ``` public Parser(URL url, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class to extract data from an URL with parserSettings . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | url | java.net.URL | The URL the request is sent to. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Parser(URL url, LoadOptions loadOptions, ParserSettings parserSettings) ``` public Parser(URL url, LoadOptions loadOptions, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class to extract data from an URL with loadOptions and parserSettings . **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | url | java.net.URL | The URL the request is sent to. | | loadOptions | LoadOptions | The options to open the file. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Parser(Connection connection) ``` public Parser(Connection connection) ``` Initializes a new instance of the Parser class to extract data from a database. **Learn more:** * Extract data from databases The following example shows how to extract data from Sqlite database: ```` // Create DbConnection object java.sql.Connection connection = java.sql.DriverManager.getConnection(String.format("jdbc:sqlite:%s", Constants.SampleDatabase)); // Create an instance of Parser class to extract tables from the database try (Parser parser = new Parser(connection)) { // Check if text extraction is supported if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported."); return; } // Check if toc extraction is supported if (!parser.getFeatures().isToc()) { System.out.println("Toc extraction isn't supported."); return; } // Get a list of tables Iterable toc = parser.getToc(); // Iterate over tables for(TocItem i : toc) { // Print the table name System.out.println(i.extractText()); // Extract a table content as a text try(TextReader reader = parser.getText(i.getPageIndex().intValue())) { System.out.println(reader.readToEnd()); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | connection | java.sql.Connection | The database connection. | ##### Parser(Connection connection, ParserSettings parserSettings) ``` public Parser(Connection connection, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class to extract data from a database. **Learn more:** * Extract data from databases * Logging The following example shows how to extract data from Sqlite database: ```` // Create DbConnection object java.sql.Connection connection = java.sql.DriverManager.getConnection(String.format("jdbc:sqlite:%s", Constants.SampleDatabase)); // Create an instance of Parser class to extract tables from the database try (Parser parser = new Parser(connection)) { // Check if text extraction is supported if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported."); return; } // Check if toc extraction is supported if (!parser.getFeatures().isToc()) { System.out.println("Toc extraction isn't supported."); return; } // Get a list of tables Iterable toc = parser.getToc(); // Iterate over tables for(TocItem i : toc) { // Print the table name System.out.println(i.extractText()); // Extract a table content as a text try(TextReader reader = parser.getText(i.getPageIndex().intValue())) { System.out.println(reader.readToEnd()); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | connection | java.sql.Connection | The database connection. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Parser(EmailConnection connection) ``` public Parser(EmailConnection connection) ``` Initializes a new instance of the Parser class. **Learn more:** * Extract emails from remote server via POP, IMAP or Exchange Web Services protocols The following example shows how to extract emails from Exchange Server: ```` // Create the connection object for Exchange Web Services protocol EmailConnection connection = new EmailEwsConnection( "https://outlook.office365.com/ews/exchange.asmx", "email@server", "password"); // Create an instance of Parser class to extract emails from the remote server try (Parser parser = new Parser(connection)) { // Check if container extraction is supported if (!parser.getFeatures().isContainer()) { System.out.println("Container extraction isn't supported."); return; } // Extract email messages from the server Iterable emails = parser.getContainer(); // Iterate over attachments for (ContainerItem item : emails) { // Create an instance of Parser class for email message try (Parser emailParser = item.openParser()) { // Extract the email text try (TextReader reader = emailParser.getText()) { // Print the email text System.out.println(reader == null ? "Text extraction isn't supported." : reader.readToEnd()); } } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | connection | EmailConnection | The email connection. | ##### Parser(EmailConnection connection, ParserSettings parserSettings) ``` public Parser(EmailConnection connection, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class. **Learn more:** * Extract emails from remote server via POP, IMAP or Exchange Web Services protocols * Logging The following example shows how to extract emails from Exchange Server: ```` // Create the connection object for Exchange Web Services protocol EmailConnection connection = new EmailEwsConnection( "https://outlook.office365.com/ews/exchange.asmx", "email@server", "password"); // Create an instance of Parser class to extract emails from the remote server try (Parser parser = new Parser(connection)) { // Check if container extraction is supported if (!parser.getFeatures().isContainer()) { System.out.println("Container extraction isn't supported."); return; } // Extract email messages from the server Iterable emails = parser.getContainer(); // Iterate over attachments for (ContainerItem item : emails) { // Create an instance of Parser class for email message try (Parser emailParser = item.openParser()) { // Extract the email text try (TextReader reader = emailParser.getText()) { // Print the email text System.out.println(reader == null ? "Text extraction isn't supported." : reader.readToEnd()); } } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | connection | EmailConnection | The email connection. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Parser(String filePath) ``` public Parser(String filePath) ``` Initializes a new instance of the Parser class. **Learn more:** * Load document from local disk The following example shows how to load the document from the local disk: ```` // Set the filePath String filePath = Constants.SamplePdf; // Create an instance of Parser class with the filePath try (Parser parser = new Parser(filePath)) { // Extract a text into the reader try (TextReader reader = parser.getText()) { // Print a text from the document // If text extraction isn't supported, a reader is null System.out.println(reader == null ? "Text extraction isn't supported" : reader.readToEnd()); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | ##### Parser(String filePath, LoadOptions loadOptions) ``` public Parser(String filePath, LoadOptions loadOptions) ``` Initializes a new instance of the Parser class with LoadOptions. **Learn more:** * Load document from local disk * Loading specific file formats * Password-protected documents The document password is passed by LoadOptions class: ```` try { String password = "123456"; // Create an instance of Parser class with the password: try (Parser parser = new Parser(Constants.SamplePassword, new LoadOptions(password))) { // Check if text extraction is supported if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported."); return; } // Print the document text try (TextReader reader = parser.getText()) { System.out.println(reader.readToEnd()); } } } catch (InvalidPasswordException ex) { // Print the message if the password is incorrect or empty System.out.println("Invalid password"); } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | | loadOptions | LoadOptions | The options to open the file. | ##### Parser(String filePath, ParserSettings parserSettings) ``` public Parser(String filePath, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class with ParserSettings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Parser(String filePath, LoadOptions loadOptions, ParserSettings parserSettings) ``` public Parser(String filePath, LoadOptions loadOptions, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class with LoadOptions and ParserSettings. **Learn more:** * Load document from local disk * Loading specific file formats * Password-protected documents * Logging The following example shows how to receive the information via ILogger interface: ```` try { // Create an instance of Logger class Logger logger = new Logger(); // Create an instance of Parser class with the parser settings try (Parser parser = new Parser(Constants.SamplePassword, null, new ParserSettings(logger))) { // Check if text extraction is supported if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported."); return; } // Print the document text try (TextReader reader = parser.getText()) { System.out.println(reader.readToEnd()); } } } catch (InvalidPasswordException | IOException ex) { ; // Ignore the exception } class Logger implements ILogger { public void error(String message, Exception exception) { // Print error message System.out.println("Error: " + message); } public void trace(String message) { // Print event message System.out.println("Event: " + message); } public void warning(String message) { // Print warning message System.out.println("Warning: " + message); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | | loadOptions | LoadOptions | The options to open the file. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Parser(InputStream document) ``` public Parser(InputStream document) ``` Initializes a new instance of the Parser class. **Learn more:** * Load document from stream The following example shows how to load the document from the stream: ```` // Create the stream try (InputStream stream = new FileInputStream(Constants.SamplePdf)) { // Create an instance of Parser class with the stream try (Parser parser = new Parser(stream)) { // Extract a text into the reader try (TextReader reader = parser.getText()) { // Print a text from the document // If text extraction isn't supported, a reader is null System.out.println(reader == null ? "Text extraction isn't supported" : reader.readToEnd()); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The source input stream. | ##### Parser(InputStream document, LoadOptions loadOptions) ``` public Parser(InputStream document, LoadOptions loadOptions) ``` Initializes a new instance of the Parser class with LoadOptions. **Learn more:** * Load document from stream * Loading specific file formats * Password-protected documents In some cases it's necessary to define FileFormat. Both for special cases (databases, email server) and for detecting file types by the content: ```` // Create an instance of Parser class for markdown document try (Parser parser = new Parser(stream, new LoadOptions(FileFormat.Markup))) { // Check if text extraction is supported if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported."); return; } try (TextReader reader = parser.getText()) { // Print the document text // Markdown is detected; text without special symbols is printed System.out.println(reader.readToEnd()); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The source input stream. | | loadOptions | LoadOptions | The options to open the file. | ##### Parser(InputStream document, ParserSettings parserSettings) ``` public Parser(InputStream document, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class with ParserSettings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The source input stream. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Parser(InputStream document, LoadOptions loadOptions, ParserSettings parserSettings) ``` public Parser(InputStream document, LoadOptions loadOptions, ParserSettings parserSettings) ``` Initializes a new instance of the Parser class with LoadOptions and ParserSettings. **Learn more:** * Load document from stream * Loading specific file formats * Password-protected documents * Logging The following example shows how to receive the information via ILogger interface: ```` try { // Create an instance of Logger class Logger logger = new Logger(); // Create an instance of Parser class with the parser settings try (Parser parser = new Parser(Constants.SamplePassword, null, new ParserSettings(logger))) { // Check if text extraction is supported if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported."); return; } // Print the document text try (TextReader reader = parser.getText()) { System.out.println(reader.readToEnd()); } } } catch (InvalidPasswordException | IOException ex) { ; // Ignore the exception } class Logger implements ILogger { public void error(String message, Exception exception) { // Print error message System.out.println("Error: " + message); } public void trace(String message) { // Print event message System.out.println("Event: " + message); } public void warning(String message) { // Print warning message System.out.println("Warning: " + message); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The source input stream. | | loadOptions | LoadOptions | The options to open the file. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### getFileInfo(String filePath) ``` public static FileInfo getFileInfo(String filePath) ``` Returns the general information about a file. The following code shows how to check whether a file is password-protected: ```` // Get a file info FileInfo info = Parser.getFileInfo(filePath); // Check IsEncrypted property System.out.println(info.isEncrypted() ? "Password is required" : ""); ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | filePath | java.lang.String | The path to the file. | **Returns:** FileInfo - An instance of FileInfo class. ##### getFileInfo(InputStream document) ``` public static FileInfo getFileInfo(InputStream document) ``` Returns the general information about a file. The following code shows how to check whether a file is password-protected: ```` // Get a file info FileInfo info = Parser.getFileInfo(filePath); // Check IsEncrypted property System.out.println(info.isEncrypted() ? "Password is required" : ""); ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | document | java.io.InputStream | The source input stream. | **Returns:** FileInfo - An instance of FileInfo class. ##### getFeatures() ``` public Features getFeatures() ``` Gets the supported features. **Learn more:** * Get supported features If the feature isn't supported, the method returns null instead of the value. Some operations may consume significant time. So it's not optimal to call the method to just check the support for the feature. For this purpose Features property is used: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleZip)) { // Check if text extraction is supported for the document if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported"); return; } // Extract a text from the document try (TextReader reader = parser.getText()) { System.out.println(reader.readToEnd()); } } ```` **Returns:** Features - An instance of Features class that represents the supported features. ##### getPagePreview(int pageIndex) ``` public OutputStream getPagePreview(int pageIndex) ``` Generates a document page preview. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** java.io.OutputStream - An instance of java.io.OutputStream containing an image of the document page; null if the page preview generation isn't supported. ##### getPagePreview(int pageIndex, PagePreviewOptions options) ``` public OutputStream getPagePreview(int pageIndex, PagePreviewOptions options) ``` Generates a document page preview using customization options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | PagePreviewOptions | The options to customize the preview generation. | **Returns:** java.io.OutputStream - An instance of java.io.OutputStream containing an image of the document page; null if the page preview generation isn't supported. ##### generatePreview(PreviewOptions previewOptions) ``` public void generatePreview(PreviewOptions previewOptions) ``` Get pages preview. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | previewOptions | PreviewOptions | The options to sets requirements and stream delegates for preview generation. | ##### getDocumentInfo() ``` public IDocumentInfo getDocumentInfo() ``` Returns the general information about the document. **Learn more:** * Get document info * Detect encoding The following example shows how to get document info: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleDocx)) { // Get the document info IDocumentInfo info = parser.getDocumentInfo(); // Print document information System.out.println(String.format("FileType: %s", info.getFileType())); System.out.println(String.format("PageCount: %d", info.getPageCount())); System.out.println(String.format("Size: %d", info.getSize())); } ```` **Returns:** IDocumentInfo - An instance of class that implements IDocumentInfo interface. ##### getText() ``` public TextReader getText() ``` Extracts a text from the document. **Learn more:** * Extract text from documents * Extract text in Accurate Mode The following example shows how to extract a text from a document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Extract a text into the reader try (TextReader reader = parser.getText()) { // Print a text from the document // If text extraction isn't supported, a reader is null System.out.println(reader == null ? "Text extraction isn't supported" : reader.readToEnd()); } } ```` **Returns:** TextReader - An instance of TextReader class with the extracted text; null if text extraction isn't supported. ##### getText(TextOptions options) ``` public TextReader getText(TextOptions options) ``` Extracts a text page from the document using text options (to enable raw fast text extraction mode). **Learn more:** * Extract text in Raw Mode * Extract text in Accurate Mode The following example shows how to extract a raw text from a document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Extract a raw text into the reader try (TextReader reader = parser.getText(new TextOptions(true))) { // Print a text from the document // If text extraction isn't supported, a reader is null System.out.println(reader == null ? "Text extraction isn't supported" : reader.readToEnd()); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | TextOptions | The text extraction options. | **Returns:** TextReader - An instance of TextReader class with the extracted text; null if text extraction isn't supported. ##### getText(int pageIndex) ``` public TextReader getText(int pageIndex) ``` Extracts a text from the document page. **Learn more:** * Extract text in Accurate Mode The following example shows how to extract a text from the document page: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Check if the document supports text extraction if (!parser.getFeatures().isText()) { System.out.println("Document isn't supports text extraction."); return; } // Get the document info IDocumentInfo documentInfo = parser.getDocumentInfo(); // Check if the document has pages if (documentInfo.getPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Iterate over pages for (int p = 0; p < documentInfo.getPageCount(); p++) { // Print a page number System.out.println(String.format("Page %d/%d", p + 1, documentInfo.getPageCount())); // Extract a text into the reader try (TextReader reader = parser.getText(p)) { // Print a text from the document // We ignore null-checking as we have checked text extraction feature support earlier System.out.println(reader.readToEnd()); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** TextReader - An instance of TextReader class with the extracted text; null if text page extraction isn't supported. ##### getText(int pageIndex, TextOptions options) ``` public TextReader getText(int pageIndex, TextOptions options) ``` Extracts a text from the document page using text options (to enable raw fast text extraction mode). **Learn more:** * Extract text in Raw Mode * Extract text in Accurate Mode The following example shows how to extract a raw text from the document page: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Check if the document supports text extraction if (!parser.getFeatures().isText()) { System.out.println("Document isn't supports text extraction."); return; } // Get the document info DocumentInfo documentInfo = parser.getDocumentInfo() instanceof DocumentInfo ? (DocumentInfo) parser.getDocumentInfo() : null; // Check if the document has pages if (documentInfo == null || documentInfo.getRawPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Iterate over pages for (int p = 0; p < documentInfo.getRawPageCount(); p++) { // Print a page number System.out.println(String.format("Page %d/%d", p + 1, documentInfo.getPageCount())); // Extract a text into the reader try (TextReader reader = parser.getText(p, new TextOptions(true))) { // Print a text from the document // We ignore null-checking as we have checked text extraction feature support earlier System.out.println(reader.readToEnd()); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | TextOptions | The text extraction options. | **Returns:** TextReader - An instance of TextReader class with the extracted text; null if text page extraction isn't supported. ##### getFormattedText(FormattedTextOptions options) ``` public TextReader getFormattedText(FormattedTextOptions options) ``` Extracts a formatted text from the document. **Learn more:** * Extract formatted text from document * Extract a document text as HTML * Extract a document text as Markdown * Extract a document text as Plain text The following example shows how to extract a document text as HTML text: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleDocx)) { // Extract a formatted text into the reader try (TextReader reader = parser.getFormattedText(new FormattedTextOptions(FormattedTextMode.Html))) { // Print a formatted text from the document // If formatted text extraction isn't supported, a reader is null System.out.println(reader == null ? "Formatted text extraction isn't suppported" : reader.readToEnd()); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | FormattedTextOptions | The formatted text extraction options. | **Returns:** TextReader - An instance of TextReader class with the extracted text; null if formatted text extraction isn't supported. ##### getFormattedText(int pageIndex, FormattedTextOptions options) ``` public TextReader getFormattedText(int pageIndex, FormattedTextOptions options) ``` Extracts a formatted text from the document page. **Learn more:** * Extract formatted text from document page * Extract a document text as HTML * Extract a document text as Markdown * Extract a document text as Plain text The following example shows how to extract a document page text as Markdown text: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleDocx)) { // Check if the document supports formatted text extraction if (!parser.getFeatures().isFormattedText()) { System.out.println("Document isn't supports formatted text extraction."); return; } // Get the document info IDocumentInfo documentInfo = parser.getDocumentInfo(); // Check if the document has pages if (documentInfo.getPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Iterate over pages for (int p = 0; p < documentInfo.getPageCount(); p++) { // Print a page number System.out.println(String.format("Page %d/%d", p + 1, documentInfo.getPageCount())); // Extract a formatted text into the reader try (TextReader reader = parser.getFormattedText(p, new FormattedTextOptions(FormattedTextMode.Markdown))) { // Print a formatted text from the document // We ignore null-checking as we have checked formatted text extraction feature support earlier System.out.println(reader.readToEnd()); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | FormattedTextOptions | The formatted text extraction options. | **Returns:** TextReader - An instance of TextReader class with the extracted text; null if formatted text page extraction isn't supported. ##### search(String keyword) ``` public Iterable search(String keyword) ``` Searches a keyword in the document. **Learn more:** * Search text * Search text in Microsoft Office Word documents * Search text in Microsoft Office Excel spreadsheets * Search text in Microsoft Office PowerPoint presentations * Search text in PDF documents * Search text in Emails * Search text in EPUB eBooks * Search text in HTML documents * Search text in Microsoft OneNote sections The following example shows how to find a keyword in a document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Search a keyword: Iterable sr = parser.search("lorem"); // Check if search is supported if (sr == null) { System.out.println("Search isn't supported"); return; } // Iterate over search results for (SearchResult s : sr) { // Print an index and found text: System.out.println(String.format("At %d: %s", s.getPosition(), s.getText())); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | The keyword to search. | **Returns:** java.lang.Iterable - A collection of SearchResult objects; null if search isn't supported. ##### search(String keyword, SearchOptions options) ``` public Iterable search(String keyword, SearchOptions options) ``` Searches a keyword in the document using search options (regular expression, match case, etc.). **Learn more:** * Search text * Search text in Microsoft Office Word documents * Search text in Microsoft Office Excel spreadsheets * Search text in Microsoft Office PowerPoint presentations * Search text in PDF documents * Search text in Emails * Search text in EPUB eBooks * Search text in HTML documents * Search text in Microsoft OneNote sections The following example shows how to search with a regular expression in a document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Search with a regular expression with case matching Iterable sr = parser.search("[0-9]+", new SearchOptions(true, false, true)); // Check if search is supported if (sr == null) { System.out.println("Search isn't supported"); return; } // Iterate over search results for (SearchResult s : sr) { // Print an index and found text: System.out.println(String.format("At %d: %s", s.getPosition(), s.getText())); } } ```` The following example shows how to search a text on pages: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Search a keyword with page numbers Iterable sr = parser.search("lorem", new SearchOptions(false, false, false, true)); // Check if search is supported if (sr == null) { System.out.println("Search isn't supported"); return; } // Iterate over search results for (SearchResult s : sr) { // Print an index, page number and found text: System.out.println(String.format("At %d (%d): %s", s.getPosition(), s.getPageIndex(), s.getText())); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | keyword | java.lang.String | The keyword to search. | | options | SearchOptions | The search options. | **Returns:** java.lang.Iterable - A collection of SearchResult objects; null if search isn't supported. ##### getHighlight(int position, boolean isDirect, HighlightOptions options) ``` public HighlightItem getHighlight(int position, boolean isDirect, HighlightOptions options) ``` Extracts a highlight from the document. **Learn more:** * Extract highlights The following example shows how to extract a highlight that contains 3 words: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SamplePdf)) { // Extract a highlight: HighlightItem hl = parser.getHighlight(2, true, new HighlightOptions(10, 3)); // Check if highlight extraction is supported if (hl == null) { System.out.println("Highlight extraction isn't supported"); return; } // Print an extracted highlight System.out.println(String.format("At %d: %s", hl.getPosition(), hl.getText())); } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | position | int | The start position of the highlight. | | isDirect | boolean | The value that indicates whether highlight extraction is direct. true if the higlight is extracted by the right of position; otherwise, false . | | options | HighlightOptions | The highlight extraction options. | **Returns:** HighlightItem - An instance of HighlightItem class that represents the extracted highlight; null if highlight extraction isn't supported. ##### getToc() ``` public Iterable getToc() ``` Extracts a table of contents from the document. **Learn more:** * Extract table of contents * Extract text by table of contents item * Extract table of contents from Microsoft Office Word documents * Extract table of contents from EPUB eBooks The following example shows how to extract table of contents from EPUB file: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleEpub)) { // Check if text extraction is supported if (!parser.getFeatures().isText()) { System.out.println("Text extraction isn't supported."); return; } // Check if toc extraction is supported if (!parser.getFeatures().isToc()) { System.out.println("Toc extraction isn't supported."); return; } // Get table of contents Iterable toc = parser.getToc(); // Iterate over items for (TocItem i : toc) { // Print the Toc text System.out.println(i.getText()); // Check if page index has a value if (i.getPageIndex() == null) { continue; } // Extract a page text try (TextReader reader = parser.getText(i.getPageIndex())) { System.out.println(reader.readToEnd()); } } } ```` **Returns:** java.lang.Iterable - A collection of table of contents items; null if table of contents extraction isn't supported. ##### getMetadata() ``` public Iterable getMetadata() ``` Extracts metadata from the document. **Learn more:** * Extract metadata from documents * Extract metadata from Microsoft Office Word documents * Extract metadata from Microsoft Office Excel spreadsheets * Extract metadata from Microsoft Office PowerPoint presentations * Extract metadata from PDF documents * Extract metadata from Emails The following example shows how to extract metadata from a document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleDocx)) { // Extract metadata from the document Iterable metadata = parser.getMetadata(); // Check if metadata extraction is supported if (metadata == null) { System.out.println("Metatada extraction isn't supported"); } // Iterate over metadata items for (MetadataItem item : metadata) { // Print an item name and value System.out.println(String.format("%s: %s", item.getName(), item.getValue())); } } ```` **Returns:** java.lang.Iterable - A collection of metadata items; null if metadata extraction isn't supported. ##### getContainer() ``` public Iterable getContainer() ``` Extracts a container object from the document to work with formats that contain attachments, ZIP archives etc. **Learn more:** * Extract data from attachments and ZIP archives * Iterate through container items * Extract attachments from PDF portfolios * Extract attachments from Emails * Extract emails from Outlook Storage * Extract text from ZIP archive files The following example shows how to extract a text from zip entities: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleZip)) { // Extract attachments from the container Iterable attachments = parser.getContainer(); // Check if container extraction is supported if (attachments == null) { System.out.println("Container extraction isn't supported"); } // Iterate over zip entities for (ContainerItem item : attachments) { // Print the file path System.out.println(item.getFilePath()); try { // Create Parser object for the zip entity content try (Parser attachmentParser = item.openParser()) { // Extract an zip entity text try (TextReader reader = attachmentParser.getText()) { System.out.println(reader == null ? "No text" : reader.readToEnd()); } } } catch (UnsupportedDocumentFormatException ex) { System.out.println("Isn't supported."); } } } ```` **Returns:** java.lang.Iterable - A collection of container items; null if container extraction isn't supported. ##### getTextAreas() ``` public Iterable getTextAreas() ``` Extracts text areas from the document. **Learn more:** * Extract text areas The following example shows how to extract all text areas from the whole document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleImagesPdf)) { // Extract text areas Iterable areas = parser.getTextAreas(); // Check if text areas extraction is supported if (areas == null) { System.out.println("Page text areas extraction isn't supported"); return; } // Iterate over page text areas for (PageTextArea a : areas) { // Print a page index, rectangle and text area value: System.out.println(String.format("Page: %d, R: %s, Text: %s", a.getPage().getIndex(), a.getRectangle(), a.getText())); } } ```` **Returns:** java.lang.Iterable - A collection of PageTextArea objects; null if text areas extraction isn't supported. ##### getTextAreas(PageTextAreaOptions options) ``` public Iterable getTextAreas(PageTextAreaOptions options) ``` Extracts text areas from the document using customization options (regular expression, match case, etc.). **Learn more:** * Extract text areas The following example shows how to extract only text areas with digits from the upper-left courner: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleImagesPdf)) { // Create the options which are used for text area extraction PageTextAreaOptions options = new PageTextAreaOptions("\\s[a-z]{2}\\s", new Rectangle(new Point(0, 0), new Size(300, 100))); // Extract text areas which contain only digits from the upper-left corner of a page: Iterable areas = parser.getTextAreas(options); // Check if text areas extraction is supported if (areas == null) { System.out.println("Page text areas extraction isn't supported"); return; } // Iterate over page text areas for (PageTextArea a : areas) { // Print a page index, rectangle and text area value: System.out.println(String.format("Page: %d, R: %s, Text: %s", a.getPage().getIndex(), a.getRectangle(), a.getText())); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | PageTextAreaOptions | The options for text area extraction. | **Returns:** java.lang.Iterable - A collection of PageTextArea objects; null if text areas extraction isn't supported. ##### getTextAreas(int pageIndex) ``` public Iterable getTextAreas(int pageIndex) ``` Extracts text areas from the document page. **Learn more:** * Extract text areas To extract text areas from a document page the following method is used: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleImagesPdf)) { // Check if the document supports text areas extraction if (!parser.getFeatures().isTextAreas()) { System.out.println("Document isn't supports text areas extraction."); return; } // Get the document info IDocumentInfo documentInfo = parser.getDocumentInfo(); // Check if the document has pages if (documentInfo.getPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Iterate over pages for (int pageIndex = 0; pageIndex < documentInfo.getPageCount(); pageIndex++) { // Print a page number System.out.println(String.format("Page %d/%d", pageIndex + 1, documentInfo.getPageCount())); // Iterate over page text areas // We ignore null-checking as we have checked text areas extraction feature support earlier for (PageTextArea a : parser.getTextAreas(pageIndex)) { // Print a rectangle and text area value: System.out.println(String.format("R: %s, Text: %s", a.getRectangle(), a.getText())); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** java.lang.Iterable - A collection of PageTextArea objects; null if text areas extraction isn't supported. ##### getTextAreas(int pageIndex, PageTextAreaOptions options) ``` public Iterable getTextAreas(int pageIndex, PageTextAreaOptions options) ``` Extracts text areas from the document page using customization options (regular expression, match case, etc.). **Learn more:** * Extract text areas **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | PageTextAreaOptions | The options for text area extraction. | **Returns:** java.lang.Iterable - A collection of PageTextArea objects; null if text areas extraction isn't supported. ##### getImages() ``` public Iterable getImages() ``` Extracts images from the document. **Learn more:** * Extract images from documents * Extract images to files * Extract images from Microsoft Office Word documents * Extract images from Microsoft Office Excel spreadsheets * Extract images from Microsoft Office PowerPoint presentations * Extract images from Emails * Extract images from PDF documents The following example shows how to extract all images from the whole document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleImagesPdf)) { // Extract images Iterable images = parser.getImages(); // Check if images extraction is supported if (images == null) { System.out.println("Images extraction isn't supported"); return; } // Iterate over images for (PageImageArea image : images) { // Print a page index, rectangle and image type: System.out.println(String.format("Page: %d, R: %s, Type: %s", image.getPage().getIndex(), image.getRectangle(), image.getFileType())); } } ```` **Returns:** java.lang.Iterable - A collection of PageImageArea objects; null if images extraction isn't supported. ##### getImages(PageAreaOptions options) ``` public Iterable getImages(PageAreaOptions options) ``` Extracts images from the document using customization options (to set the rectangular area that contains images). **Learn more:** * Extract images from documents * Extract images to files * Extract images from document page area * Extract images from Microsoft Office Word documents * Extract images from Microsoft Office Excel spreadsheets * Extract images from Microsoft Office PowerPoint presentations * Extract images from Emails * Extract images from PDF documents The following example shows how to extract only images from the upper-left courner: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleImagesPdf)) { // Create the options which are used for images extraction PageAreaOptions options = new PageAreaOptions(new Rectangle(new Point(340, 150), new Size(300, 100))); // Extract images from the upper-left corner of a page: Iterable images = parser.getImages(options); // Check if images extraction is supported if (images == null) { System.out.println("Page images extraction isn't supported"); return; } // Iterate over images for (PageImageArea image : images) { // Print a page index, rectangle and image type: System.out.println(String.format("Page: %d, R: %s, Type: %s", image.getPage().getIndex(), image.getRectangle(), image.getFileType())); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | PageAreaOptions | The options for images extraction. | **Returns:** java.lang.Iterable - A collection of PageImageArea objects; null if images extraction isn't supported. ##### getImages(int pageIndex) ``` public Iterable getImages(int pageIndex) ``` Extracts images from the document page. **Learn more:** * Extract images from documents * Extract images to files * Extract images from document page * Extract images from Microsoft Office Word documents * Extract images from Microsoft Office Excel spreadsheets * Extract images from Microsoft Office PowerPoint presentations * Extract images from Emails * Extract images from PDF documents To extract images from a document page the following method is used: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleImagesPdf)) { // Check if the document supports images extraction if (!parser.getFeatures().isImages()) { System.out.println("Document isn't supports images extraction."); return; } // Get the document info IDocumentInfo documentInfo = parser.getDocumentInfo(); // Check if the document has pages if (documentInfo.getPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Iterate over pages for (int pageIndex = 0; pageIndex < documentInfo.getPageCount(); pageIndex++) { // Print a page number System.out.println(String.format("Page %d/%d", pageIndex + 1, documentInfo.getPageCount())); // Iterate over images // We ignore null-checking as we have checked images extraction feature support earlier for (PageImageArea image : parser.getImages(pageIndex)) { // Print a rectangle and image type System.out.println(String.format("R: %s, Text: %s", image.getRectangle(), image.getFileType())); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** java.lang.Iterable - A collection of PageImageArea objects; null if images extraction isn't supported. ##### getImages(int pageIndex, PageAreaOptions options) ``` public Iterable getImages(int pageIndex, PageAreaOptions options) ``` Extracts images from the document page using customization options (to set the rectangular area that contains images). **Learn more:** * Extract images from documents * Extract images to files * Extract images from document page * Extract images from document page area * Extract images from Microsoft Office Word documents * Extract images from Microsoft Office Excel spreadsheets * Extract images from Microsoft Office PowerPoint presentations * Extract images from Emails * Extract images from PDF documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | PageAreaOptions | The options for images extraction. | **Returns:** java.lang.Iterable - A collection of PageImageArea objects; null if images extraction isn't supported. ##### getHyperlinks() ``` public Iterable getHyperlinks() ``` Extracts hyperlinks from the document. The following example shows how to extract all hyperlinks from the whole document: ```` // Create an instance of Parser class try (Parser parser = new Parser(filePath)) { // Check if the document supports hyperlink extraction if (!parser.getFeatures().isHyperlinks()) { System.out.println("Document isn't supports hyperlink extraction."); return; } // Extract hyperlinks from the document Iterable hyperlinks = parser.getHyperlinks(); // Iterate over hyperlinks for (PageHyperlinkArea h : hyperlinks) { // Print the hyperlink text System.out.println(h.getText()); // Print the hyperlink URL System.out.println(h.getUrl()); System.out.println(); } } ```` **Returns:** java.lang.Iterable - A collection of PageHyperlinkArea objects; null if hyperlinks extraction isn't supported. ##### getHyperlinks(int pageIndex) ``` public Iterable getHyperlinks(int pageIndex) ``` Extracts hyperlinks from the document page. The following example shows how to extract hyperlinks from the document page: ```` // Create an instance of Parser class try (Parser parser = new Parser(filePath)) { // Check if the document supports hyperlink extraction if (!parser.getFeatures().isHyperlinks()) { System.out.println("Document isn't supports hyperlink extraction."); return; } // Get the document info IDocumentInfo documentInfo = parser.getDocumentInfo(); // Check if the document has pages if (documentInfo.getPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Iterate over pages for (int pageIndex = 0; pageIndex < documentInfo.getPageCount(); pageIndex++) { // Print a page number System.out.println(String.format("Page %d/%d", pageIndex + 1, documentInfo.getPageCount())); // Extract hyperlinks from the document page Iterable hyperlinks = parser.getHyperlinks(pageIndex); // Iterate over hyperlinks for (PageHyperlinkArea h : hyperlinks) { // Print the hyperlink text System.out.println(h.getText()); // Print the hyperlink URL System.out.println(h.getUrl()); System.out.println(); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** java.lang.Iterable - A collection of PageHyperlinkArea objects; null if hyperlinks extraction isn't supported. ##### getHyperlinks(PageAreaOptions options) ``` public Iterable getHyperlinks(PageAreaOptions options) ``` Extracts hyperlinks from the document using customization options (to set the rectangular area that contains hyperlinks). The following example shows how to extract hyperlinks from the document page area: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.HyperlinksPdf)) { // Check if the document supports hyperlink extraction if (!parser.getFeatures().isHyperlinks()) { System.out.println("Document isn't supports hyperlink extraction."); return; } // Create the options which are used for hyperlink extraction PageAreaOptions options = new PageAreaOptions(new Rectangle(new Point(380, 90), new Size(150, 50))); // Extract hyperlinks from the document page area Iterable hyperlinks = parser.getHyperlinks(options); // Iterate over hyperlinks for (PageHyperlinkArea h : hyperlinks) { // Print the hyperlink text System.out.println(h.getText()); // Print the hyperlink URL System.out.println(h.getUrl()); System.out.println(); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | PageAreaOptions | The options for hyperlinks extraction. | **Returns:** java.lang.Iterable - A collection of PageHyperlinkArea objects; null if hyperlinks extraction isn't supported. ##### getHyperlinks(int pageIndex, PageAreaOptions options) ``` public Iterable getHyperlinks(int pageIndex, PageAreaOptions options) ``` Extracts hyperlinks from the document page using customization options (to set the rectangular area that contains hyperlinks). The following example shows how to extract hyperlinks from the document page area using customization options: ```` // Create an instance of Parser class try (Parser parser = new Parser(filePath)) { // Check if the document supports hyperlink extraction if (!parser.getFeatures().isHyperlinks()) { System.out.println("Document isn't supports hyperlink extraction."); return; } // Get the document info IDocumentInfo documentInfo = parser.getDocumentInfo(); // Check if the document has pages if (documentInfo.getPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Create the options which are used for hyperlink extraction PageAreaOptions options = new PageAreaOptions(new Rectangle(new Point(380, 90), new Size(150, 50))); // Iterate over pages for (int pageIndex = 0; pageIndex < documentInfo.getPageCount(); pageIndex++) { // Print a page number System.out.println(String.format("Page %d/%d", pageIndex + 1, documentInfo.getPageCount())); // Extract hyperlinks from the document page Iterable hyperlinks = parser.getHyperlinks(pageIndex, options); // Iterate over hyperlinks for (PageHyperlinkArea h : hyperlinks) { // Print the hyperlink text System.out.println(h.getText()); // Print the hyperlink URL System.out.println(h.getUrl()); System.out.println(); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | PageAreaOptions | The options for hyperlinks extraction. | **Returns:** java.lang.Iterable - A collection of PageHyperlinkArea objects; null if hyperlinks extraction isn't supported. ##### getBarcodes() ``` public Iterable getBarcodes() ``` Extracts barcodes from the document. **Returns:** java.lang.Iterable - A collection of PageBarcodeArea objects; null if barcodes extraction isn't supported. ##### getBarcodes(int pageIndex) ``` public Iterable getBarcodes(int pageIndex) ``` Extracts barcodes from the document page. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** java.lang.Iterable - A collection of PageBarcodeArea objects; null if barcodes extraction isn't supported. ##### getBarcodes(BarcodeOptions options) ``` public Iterable getBarcodes(BarcodeOptions options) ``` Extracts barcodes from the document using customization options (to set the rectangular area that contains barcodes). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | BarcodeOptions | The options for barcodes extraction. | **Returns:** java.lang.Iterable - A collection of PageBarcodeArea objects; null if barcodes extraction isn't supported.\\ ##### getBarcodes(int pageIndex, BarcodeOptions options) ``` public Iterable getBarcodes(int pageIndex, BarcodeOptions options) ``` Extracts barcodes from the document page using customization options (to set the rectangular area that contains barcodes). **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | BarcodeOptions | The options for barcodes extraction. | **Returns:** java.lang.Iterable - A collection of PageBarcodeArea objects; null if barcodes extraction isn't supported. ##### getTables(PageTableAreaOptions options) ``` public Iterable getTables(PageTableAreaOptions options) ``` Extracts tables from the document. The following example shows how to extract tables from the whole document: ```` // Create an instance of Parser class try (Parser parser = new Parser(filePath)) { // Check if the document supports table extraction if (!parser.getFeatures().isTables()) { System.out.println("Document isn't supports tables extraction."); return; } // Create the layout of tables TemplateTableLayout layout = new TemplateTableLayout( java.util.Arrays.asList(new Double[]{50.0, 95.0, 275.0, 415.0, 485.0, 545.0}), java.util.Arrays.asList(new Double[]{325.0, 340.0, 365.0, 395.0})); // Create the options for table extraction PageTableAreaOptions options = new PageTableAreaOptions(layout); // Extract tables from the document Iterable tables = parser.getTables(options); // Iterate over tables for (PageTableArea t : tables) { // Iterate over rows for (int row = 0; row < t.getRowCount(); row++) { // Iterate over columns for (int column = 0; column < t.getColumnCount(); column++) { // Get the table cell PageTableAreaCell cell = t.getCell(row, column); if (cell != null) { // Print the table cell text System.out.print(cell.getText()); System.out.print(" | "); } } System.out.println(); } System.out.println(); } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | PageTableAreaOptions | The options for tables extraction. | **Returns:** java.lang.Iterable - A collection of PageTableArea objects; null if tables extraction isn't supported. ##### getTables() ``` public Iterable getTables() ``` Extracts tables from the document, detecting them automatically. **Returns:** java.lang.Iterable - A collection of PageTableArea objects; null if tables extraction isn't supported. ##### getTables(int pageIndex, PageTableAreaOptions options) ``` public Iterable getTables(int pageIndex, PageTableAreaOptions options) ``` Extracts tables from the document page. The following example shows how to extract tables from the document page: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleInvoicePagesPdf)) { // Check if the document supports table extraction if (!parser.getFeatures().isTables()) { System.out.println("Document isn't supports tables extraction."); return; } // Create the layout of tables TemplateTableLayout layout = new TemplateTableLayout( java.util.Arrays.asList(new Double[]{50.0, 95.0, 275.0, 415.0, 485.0, 545.0}), java.util.Arrays.asList(new Double[]{325.0, 340.0, 365.0, 395.0})); // Create the options for table extraction PageTableAreaOptions options = new PageTableAreaOptions(layout); // Get the document info IDocumentInfo documentInfo = parser.getDocumentInfo(); // Check if the document has pages if (documentInfo.getPageCount() == 0) { System.out.println("Document hasn't pages."); return; } // Iterate over pages for (int pageIndex = 0; pageIndex < documentInfo.getPageCount(); pageIndex++) { // Print a page number System.out.println(String.format("Page %d/%d", pageIndex + 1, documentInfo.getPageCount())); // Extract tables from the document page Iterable tables = parser.getTables(pageIndex, options); // Iterate over tables for (PageTableArea t : tables) { // Iterate over rows for (int row = 0; row < t.getRowCount(); row++) { // Iterate over columns for (int column = 0; column < t.getColumnCount(); column++) { // Get the table cell PageTableAreaCell cell = t.getCell(row, column); if (cell != null) { // Print the table cell text System.out.print(cell.getText()); System.out.print(" | "); } } System.out.println(); } System.out.println(); } } } ```` **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | | options | PageTableAreaOptions | The options for tables extraction. | **Returns:** java.lang.Iterable - A collection of PageTableArea objects; null if tables extraction isn't supported. ##### getTables(int pageIndex) ``` public Iterable getTables(int pageIndex) ``` Extracts tables from the document page, detecting them automatically. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | pageIndex | int | The zero-based page index. | **Returns:** java.lang.Iterable - A collection of PageTableArea objects; null if tables extraction isn't supported. ##### generateAdjustmentFields(GenerateTemplateOptions options) ``` public Iterable generateAdjustmentFields(GenerateTemplateOptions options) ``` Generates a collection of adjustment TemplateItems for the document. Java mirror of the C# Parser.GenerateAdjustmentFields(GenerateTemplateOptions) API (commits d4e691b / ae9e98c). Useful as a starting-point template that the user can then trim or rename. ##### Algorithm 1. Pick the page from options.getPageIndex() (default 0 ). 2. If the document supports text-area extraction, call #getTextAreas(int, com.groupdocs.parser.options.PageTextAreaOptions).getTextAreas(int, com.groupdocs.parser.options.PageTextAreaOptions) and emit one TemplateField per non-empty text area, named {prefix}_{n} (default prefix "Field" ). Each field gets a TemplateFixedPosition at the text area's rectangle, with the page's width recorded as pageWidth so subsequent template scaling works. 3. If the document does not support text areas, return null . ##### OCR caveat The C# implementation runs OCR over the page preview to derive fields when the document is image-only. Java's OcrConnectorBase is user-supplied, so OCR-driven generation is only meaningful if a connector is configured AND the connector's recognizeTextAreas(...) returns proper rectangles. When options.getOcrOptions() is set and a connector is available, the OCR pipeline is preferred. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | options | GenerateTemplateOptions | The generation options. May be null (defaults applied). | **Returns:** java.lang.Iterable - An iterable of generated TemplateItems, or null if not supported by this document format. ##### getWorksheetInfo() ``` public Iterable getWorksheetInfo() ``` Extracts the info about all worksheets in the spreadsheet. **Returns:** java.lang.Iterable - A list of WorksheetInfo instances that contains info about all worksheets in the spreadsheet. ##### getWorksheetInfo(int worksheetIndex) ``` public WorksheetInfo getWorksheetInfo(int worksheetIndex) ``` Extracts the info about the worksheet. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | int | The zero-based index of the worksheet. | **Returns:** WorksheetInfo - An instance of WorksheetInfo that contains the info about the worksheet. ##### getWorksheetCells(int worksheetIndex) ``` public Iterable getWorksheetCells(int worksheetIndex) ``` Extracts worksheet cells. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | int | The zero-based index of the worksheet. | **Returns:** java.lang.Iterable - A collection of WorksheetCell instances that contains the cell data. ##### getWorksheetCells(int worksheetIndex, WorksheetOptions options) ``` public Iterable getWorksheetCells(int worksheetIndex, WorksheetOptions options) ``` Extracts worksheet cells using customization options. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | int | The zero-based index of the worksheet. | | options | WorksheetOptions | The worksheet extraction options. | **Returns:** java.lang.Iterable - A collection of WorksheetCell instances that contains the cell data. ##### parseByTemplate(Template template) ``` public DocumentData parseByTemplate(Template template) ``` Parses the document by the user-generated template. **Learn more:** * Parse data from documents * Working with templates * Working with data extracted by template * Parse data from PDF documents **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | template | Template | The user-generated template. | **Returns:** DocumentData - An instance of DocumentData class that contains the extracted data; null if parsing by template isn't supported. ##### parseByTemplate(Template template, ParseByTemplateOptions options) ``` public DocumentData parseByTemplate(Template template, ParseByTemplateOptions options) ``` Parses the document by the user-generated template with the supplied options. If options.getPageIndex() is set, only that page is parsed; otherwise all pages are parsed. OCR support depends on the OcrConnectorBase configured in ParserSettings. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | template | Template | The user-generated template. | | options | ParseByTemplateOptions | The parse-by-template options. | **Returns:** DocumentData - An instance of DocumentData class that contains the extracted data; null if parsing by template isn't supported. ##### parseByTemplate(TemplateCollection templates, ParseByTemplateOptions options) ``` public DocumentData parseByTemplate(TemplateCollection templates, ParseByTemplateOptions options) ``` Parses the document by automatically selecting the best-matching template from a collection. Mirror of the C# Parser.ParseByTemplate(TemplateCollection, ParseByTemplateOptions) introduced in commit 71f3f21. **Selection heuristic** (Java port): each candidate template is applied via #parseByTemplate(Template, com.groupdocs.parser.options.ParseByTemplateOptions).parseByTemplate(Template, com.groupdocs.parser.options.ParseByTemplateOptions), and the template that yields the highest number of populated fields (non-null page areas with non-empty text) wins. The C# implementation uses hidden-marker matching against an OCR pass; that path is not yet available in Java because hidden-field markers and the OCR-driven TemplatePageOcrParser aren't ported, so this populated-field count is used as a transparent fallback. Callers that need C#-identical behavior should plug in a custom selector once the OCR engine is wired. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | templates | TemplateCollection | A collection of candidate templates. The parser will pick the best-matching one. | | options | ParseByTemplateOptions | Parse options. May be null . | **Returns:** DocumentData - The extracted data with DocumentData.getTemplate() set to the selected template, or null if the document does not support parsing-by-template or the collection is empty / produced no result. ##### parseForm() ``` public DocumentData parseForm() ``` Parses the document form. **Learn more:** * Extract data from PDF forms * Working with data extracted by template * Parse data from PDF documents The following example shows how to parse a form of the document: ```` // Create an instance of Parser class try (Parser parser = new Parser(Constants.SampleFormsPdf)) { // Extract data from PDF document DocumentData data = parser.parseForm(); // Check if form extraction is supported if (data == null) { System.out.println("Form extraction isn't supported."); return; } // Iterate over extracted data for (int i = 0; i < data.getCount(); i++) { System.out.print(data.get(i).getName() + ": "); PageTextArea area = data.get(i).getPageArea() instanceof PageTextArea ? (PageTextArea) data.get(i).getPageArea() : null; System.out.println(area == null ? "Not a template field" : area.getText()); } } ```` **Returns:** DocumentData - An instance of DocumentData class that contains the extracted data; null if parsing by template isn't supported. ##### getStructure() ``` public Document getStructure() ``` Extracts a structured text from the document. **Learn more:** * Extract text structure **Returns:** org.w3c.dom.Document - An instance of org.w3c.dom.Document class with XML text structure; null if text structure extraction isn't supported. ##### close() ``` public void close() ``` Closes this resource, relinquishing any underlying resources. ## .NET ### GroupDocs.Parser for .NET Path: https://reference.groupdocs.com/parser/net.md #### Namespaces | Namespace | Description | | --- | --- | | GroupDocs.Parser | The namespace provides classes for parsing data from documents. With the main class `Parser` you may use all document data parsing and extraction features. | | GroupDocs.Parser.Data | The namespace provides classes which represent parsing results. | | GroupDocs.Parser.Exceptions | The namespace provides different exceptions classes. | | GroupDocs.Parser.Export | The namespace provides classes that allow users to export data to different formats. | | GroupDocs.Parser.Options | The namespace provides classes to specify additional options when parsing data from documents. | | GroupDocs.Parser.Templates | The namespace provides classes for creating templates for parsing document data. | ### GroupDocs.Parser.Data Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data.md The namespace provides classes which represent parsing results. #### Classes | Class | Description | | --- | --- | | ContainerItem | Represents a container item like Zip archive entity, email attachment, PDF Portfolio item and so on. | | DocumentData | Represents data of the document. It consists of `FieldData` objects which contain field data from document. | | DocumentPageData | Represents data of the document page. It consists of `FieldData` objects which contain field data from the document page. | | FieldData | Represents field data such as a name, a page index, a field value and so on. Depending on the field the value can be a text, an image, a table and so on. | | HighlightItem | Represents a highlight, a part of the text which is usually used to explain the context of the found text in the search functionality. | | MetadataItem | Represents a metadata item which is used in container items and metadata extraction functionality. | | Page | Represents the document page information such as page index and page size. It's used to represent the page that contains inheritors of `PageArea` class in the parsing by template functionality. | | PageArea | Represents an abstract base class for page areas which are used to represent blocks on the document page in the parsing by template functionality. | | PageBarcodeArea | Represents a page barcode area which is used to represent a barcode value in the parsing by template functionality. | | PageGroupArea | Represents a group of page areas which is used to group different types of blocks of the document page in the parsing by template functionality. | | PageHyperlinkArea | Represents a page area which is used to represent a hyperlink on the page. | | PageImageArea | Represents a page image area which is used to represent an image on the page in the parsing by template functionality or an image attachment if images are extracted from emails or Zip archives. | | PageTableArea | Represents a table page area which is used to represent a table in the parsing by template functionality. | | PageTableAreaCell | Represents a table cell which is used in `PageTableArea` class. | | PageTextArea | Represents a page text area which is used to represent a text value in the parsing by template or parsing form functionality. | | Point | Represents a point. | | Rectangle | Represents a rectangular area. | | SearchResult | Represents the search result in the search functionality. | | Size | Represents a size. | | TextStyle | Represents the style of the text such as a font name, a font size and so on. | | TocItem | Represents the item which is used in the table of contents extraction functionality. | | WorksheetCell | Represents a worksheet cell. | | WorksheetInfo | Represents a sheet info. | | WorksheetRange | Provides the range which are used for the worksheet extraction. | ### ContainerItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem.md #### ContainerItem class Represents a container item like Zip archive entity, email attachment, PDF Portfolio item and so on. ```csharp public sealed class ContainerItem ``` #### Properties | Name | Description | | --- | --- | | Directory { get; } | Gets the directory of the item. | | FilePath { get; } | Gets the full path of the item. | | Metadata { get; } | Gets the collection of metadata items. | | Name { get; } | Gets the name of the item. | | Size { get; } | Gets the size of the item. | #### Methods | Name | Description | | --- | --- | | DetectFileType(FileTypeDetectionMode) | Detects a file type of the container item. | | GetMetadataValue(string) | Gets the metadata value. | | OpenParser() | Creates the `Parser` object for the item content. | | OpenParser(LoadOptions) | Creates the `Parser` object for the item content with `LoadOptions`. | | OpenParser(LoadOptions, ParserSettings) | Creates the `Parser` object for the item content with `LoadOptions` and `ParserSettings`. | | OpenStream() | Opens the stream of the item content. | ##### Remarks An instance of `ContainerItem` class is used as return value of `GetContainer` method. See the usage examples there. ### DetectFileType Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/detectfiletype.md #### ContainerItem.DetectFileType method Detects a file type of the container item. ```csharp public FileType DetectFileType(FileTypeDetectionMode detectionMode) ``` | Parameter | Type | Description | | --- | --- | --- | | detectionMode | FileTypeDetectionMode | Defines a mode of the file type detection. | ##### Return Value An instance of `FileType` class; `Unknown` if a file type isn't detected. ##### Remarks *detectionMode* parameter provides the ability to control file type detection: * **Default**. The file type is detected by the file extension; if the file extension isn't recognized, the file type is detected by the file content. * **Extension**.The file type is detected only by the file extension. * **Content**. The file type is detected only by the file content. ##### Examples The following example shows how to detect file type of container item: ```csharp // Create an instance of Parser class using (Parser parser = new Parser(filePath)) { // Extract attachments from the container IEnumerable attachments = parser.GetContainer(); // Check if container extraction is supported if (attachments == null) { Console.WriteLine("Container extraction isn't supported"); } // Iterate over attachments foreach (ContainerItem item in attachments) { // Detect the file type Options.FileType fileType = item.DetectFileType(Options.FileTypeDetectionMode.Default); // Print the name and file type Console.WriteLine(string.Format("{0}: {1}", item.Name, fileType)); } } ``` ### Directory Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/directory.md #### ContainerItem.Directory property Gets the directory of the item. ```csharp public string Directory { get; } ``` ##### Property Value A string value that represents the directory of the item (without a file name). ### FilePath Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/filepath.md #### ContainerItem.FilePath property Gets the full path of the item. ```csharp public string FilePath { get; } ``` ##### Property Value A string value that represents the full path of the item. ### GetMetadataValue Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/getmetadatavalue.md #### ContainerItem.GetMetadataValue method Gets the metadata value. ```csharp public string GetMetadataValue(string name) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the metadata. | ##### Return Value A string value that represents the value of the metadata item; `null` if the metadata with this name isn't found. ### Metadata Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/metadata.md #### ContainerItem.Metadata property Gets the collection of metadata items. ```csharp public IEnumerable Metadata { get; } ``` ##### Property Value A collection of `MetadataItem` objects; empty if metadata isn't set. ##### Remarks These metadata refer to a container element itself, not a document. Depending on the container type metadata can contain the following items: **Email Attachments** **Name** **Description** **content-type** The MIME type of the attachment content. **ZIP Archives** **Name** **Description** **date** The time and date at which the file indicated by the Zip Entry was last modified. **disposition** To detect if image attachment is inline 'disposition' metadata is used. If it's present, it can take 'inline' or 'attachment' values. **Outlook Storage** **Name** **Description** **date** The time and date at which the Outlook Storage item was last modified. **email-sender** The value of "sender" field. **email-to** The value of "to" field. **subject** The value of "subject" field. ### Name Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/name.md #### ContainerItem.Name property Gets the name of the item. ```csharp public string Name { get; } ``` ##### Property Value A string value that represents the file name of the item (without a directory). ### OpenParser Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/openparser.md #### OpenParser() Creates the `Parser` object for the item content. ```csharp public Parser OpenParser() ``` ##### Return Value An instance of `Parser` class of the item content. #### OpenParser(LoadOptions) Creates the `Parser` object for the item content with `LoadOptions`. ```csharp public Parser OpenParser(LoadOptions loadOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | loadOptions | LoadOptions | The options to open the item content. | ##### Return Value An instance of `Parser` class of the item content. #### OpenParser(LoadOptions, ParserSettings) Creates the `Parser` object for the item content with `LoadOptions` and `ParserSettings`. ```csharp public Parser OpenParser(LoadOptions loadOptions, ParserSettings parserSettings) ``` | Parameter | Type | Description | | --- | --- | --- | | loadOptions | LoadOptions | The options to open the item content. | | parserSettings | ParserSettings | The parser settings which are used to customize data extraction. | ##### Return Value An instance of `Parser` class of the item content. ### OpenStream Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/openstream.md #### ContainerItem.OpenStream method Opens the stream of the item content. ```csharp public Stream OpenStream() ``` ##### Return Value A stream with the item content. ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/containeritem/size.md #### ContainerItem.Size property Gets the size of the item. ```csharp public long Size { get; } ``` ##### Property Value An integer value that represents the size of the item in bytes. ### DocumentData Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentdata.md #### DocumentData class Represents data of the document. It consists of `FieldData` objects which contain field data from document. ```csharp public class DocumentData : IEnumerable ``` #### Constructors | Name | Description | | --- | --- | | DocumentData(IEnumerable<FieldData>) | Initializes a new instance of the `DocumentData` class. | | DocumentData(Template, IEnumerable<FieldData>) | Initializes a new instance of the `DocumentData` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the total number of the fields data. | | Item { get; } | Gets the field data by an index. | | Template { get; } | Gets the template. | #### Methods | Name | Description | | --- | --- | | GetEnumerator() | Returns an enumerator for the fields data. | | GetFieldsByName(string) | Returns the collection of field data where the name is equal to *fieldName*. | ##### Remarks An instance of `DocumentData` class is used as return value of `ParseByTemplate` and `ParseForm` methods. See the usage examples there. ### Count Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentdata/count.md #### DocumentData.Count property Gets the total number of the fields data. ```csharp public int Count { get; } ``` ##### Property Value An integer value that represents the total number of the fields data. ### DocumentData Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentdata/documentdata.md #### DocumentData(IEnumerable<FieldData>) Initializes a new instance of the `DocumentData` class. ```csharp public DocumentData(IEnumerable fields) ``` | Parameter | Type | Description | | --- | --- | --- | | fields | IEnumerable`1 | The collection of fields data. | #### DocumentData(Template, IEnumerable<FieldData>) Initializes a new instance of the `DocumentData` class. ```csharp public DocumentData(Template template, IEnumerable fields) ``` | Parameter | Type | Description | | --- | --- | --- | | template | Template | The template. | | fields | IEnumerable`1 | The collection of fields data. | ### GetEnumerator Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentdata/getenumerator.md #### DocumentData.GetEnumerator method Returns an enumerator for the fields data. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An enumerator for the fields data. ### GetFieldsByName Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentdata/getfieldsbyname.md #### DocumentData.GetFieldsByName method Returns the collection of field data where the name is equal to *fieldName*. ```csharp public IList GetFieldsByName(string fieldName) ``` | Parameter | Type | Description | | --- | --- | --- | | fieldName | String | The name of the field. | ##### Return Value A collection of `FieldData` objects; empty collection if no field data is found. ##### Examples Find fields by a field name: ```csharp // Get all the fields with "Address" name IList addressFields = data.GetFieldsByName("Address"); if(addressFields.Count == 0) { Console.WriteLine("Address not found"); } else { Console.WriteLine("Address"); // Iterate over the fields collection for (int i = 0; i < addressFields.Count; i++) { PageTextArea area = addressFields[i].PageArea as PageTextArea; Console.WriteLine(area == null ? "Not a template field" : area.Text); // If it's a related field: if(addressFields[i].LinkedField != null) { Console.Write("Linked to "); PageTextArea linkedArea = addressFields[i].LinkedField.PageArea as PageTextArea; Console.WriteLine(area == null ? "Not a template field" : area.Text); } } } ``` `FieldData` class represents field data. Depending on the field `PageArea` property can contain any of the inheritors of `PageArea` class. For example, `ParseForm` method extracts only text fields. ### Item Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentdata/item.md #### DocumentData indexer Gets the field data by an index. ```csharp public FieldData this[int index] { get; } ``` | Parameter | Description | | --- | --- | | index | The zero-based index of the field. | ##### Return Value An instance of `FieldData` class. ##### Examples Iteration via all the fields: ```csharp for (int i = 0; i < data.Count; i++) { Console.Write(data[i].Name + ": "); PageTextArea area = data[i].PageArea as PageTextArea; Console.WriteLine(area == null ? "Not a template field" : area.Text); } ``` `FieldData` class represents field data. Depending on the field `PageArea` property can contain any of the inheritors of `PageArea` class. For example, `ParseForm` method extracts only text fields: ```csharp // Create the parser using (Parser parser = new Parser(filePath)) { // Extract data from PDF Form DocumentData data = parser.ParseForm(); // Iterate over extracted fields for (int i = 0; i < data.Count; i++) { // Get the extracted field FieldData field = data[i]; // Print the field name Console.Write(field.Name + ": "); // Check if the field value is a text and print it PageTextArea area = field.PageArea as PageTextArea; Console.WriteLine(area == null ? "Not a template field" : area.Text); } } ``` ### Template Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentdata/template.md #### DocumentData.Template property Gets the template. ```csharp public Template Template { get; } ``` ##### Property Value The template. ### DocumentPageData Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentpagedata.md #### DocumentPageData class Represents data of the document page. It consists of `FieldData` objects which contain field data from the document page. ```csharp public sealed class DocumentPageData : DocumentData ``` #### Constructors | Name | Description | | --- | --- | | DocumentPageData(Template, IEnumerable<FieldData>, int) | Initializes a new instance of the `DocumentPageData` class. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the total number of the fields data. | | Item { get; } | Gets the field data by an index. | | PageIndex { get; } | Gets the page index. | | Template { get; } | Gets the template. | #### Methods | Name | Description | | --- | --- | | GetEnumerator() | Returns an enumerator for the fields data. | | GetFieldsByName(string) | Returns the collection of field data where the name is equal to *fieldName*. | ### DocumentPageData Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentpagedata/documentpagedata.md #### DocumentPageData constructor Initializes a new instance of the `DocumentPageData` class. ```csharp public DocumentPageData(Template template, IEnumerable fields, int pageIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | template | Template | The template. | | fields | IEnumerable`1 | The collection of fields data. | | pageIndex | Int32 | The zero-based page index. | ### PageIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/documentpagedata/pageindex.md #### DocumentPageData.PageIndex property Gets the page index. ```csharp public int PageIndex { get; } ``` ##### Property Value A zero-based index of the page. ### FieldData Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata.md #### FieldData class Represents field data such as a name, a page index, a field value and so on. Depending on the field the value can be a text, an image, a table and so on. ```csharp public sealed class FieldData ``` #### Constructors | Name | Description | | --- | --- | | FieldData(string, PageArea) | Initializes a new instance of the `FieldData` class with UPPER CASE name. | | FieldData(string, PageArea, bool) | Initializes a new instance of the `FieldData` class. | | FieldData(string, PageArea, FieldData) | Initializes a new instance of the `FieldData` class with UPPER CASE name. | | FieldData(string, PageArea, FieldData, bool) | Initializes a new instance of the `FieldData` class. | #### Properties | Name | Description | | --- | --- | | LinkedField { get; } | Gets the linked field. | | Name { get; } | Gets the field name. | | PageArea { get; } | Gets the value of the field. | | PageIndex { get; } | Gets the page index. | | Text { get; } | Gets the text. | | UseUpperCaseName { get; } | Gets a boolean value that indicates whether a `Name` was converted to UPPER CASE. | ##### Remarks The instances of `FieldData` class are used in `DocumentData` collection. ### FieldData Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata/fielddata.md #### FieldData(string, PageArea, FieldData) Initializes a new instance of the `FieldData` class with UPPER CASE name. ```csharp public FieldData(string name, PageArea pageArea, FieldData linkedDataField) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the field. | | pageArea | PageArea | The value of the field. | | linkedDataField | FieldData | The field which is linked to the field. | #### FieldData(string, PageArea, FieldData, bool) Initializes a new instance of the `FieldData` class. ```csharp public FieldData(string name, PageArea pageArea, FieldData linkedDataField, bool useUpperCaseName) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the field. | | pageArea | PageArea | The value of the field. | | linkedDataField | FieldData | The field which is linked to the field. | | useUpperCaseName | Boolean | The value that indicates whether a `name` is converted to UPPER CASE. | #### FieldData(string, PageArea) Initializes a new instance of the `FieldData` class with UPPER CASE name. ```csharp public FieldData(string name, PageArea pageArea) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the field. | | pageArea | PageArea | The value of the field. | #### FieldData(string, PageArea, bool) Initializes a new instance of the `FieldData` class. ```csharp public FieldData(string name, PageArea pageArea, bool useUpperCaseName) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the field. | | pageArea | PageArea | The value of the field. | | useUpperCaseName | Boolean | The value that indicates whether a `name` is converted to UPPER CASE. | ### LinkedField Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata/linkedfield.md #### FieldData.LinkedField property Gets the linked field. ```csharp public FieldData LinkedField { get; } ``` ##### Property Value An instance of `FieldData` class that represents the field which is linked to the field; `null` if it isn't set. ### Name Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata/name.md #### FieldData.Name property Gets the field name. ```csharp public string Name { get; } ``` ##### Property Value An uppercase string value that represents the name of the field. ### PageArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata/pagearea.md #### FieldData.PageArea property Gets the value of the field. ```csharp public PageArea PageArea { get; } ``` ##### Property Value An instance of `PageArea` class that represents the value of the field. ##### Examples Depending on field `PageArea` property can contain any of the inheritors of `PageArea` class. For example, `ParseForm` method extracts only text fields. ```csharp // Get the field data FieldData field = data[i]; // Check if the field data contains a text if(field.PageArea is PageTextArea) { // Print the field text value Console.WriteLine(field.Text); } ``` ### PageIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata/pageindex.md #### FieldData.PageIndex property Gets the page index. ```csharp public int PageIndex { get; } ``` ##### Property Value A zero-based index of the page that contains the field. ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata/text.md #### FieldData.Text property Gets the text. ```csharp public string Text { get; } ``` ##### Property Value A string value that represents a value of the field text; `null` if `PageArea` property isn't `PageTextArea`. ### UseUpperCaseName Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/fielddata/useuppercasename.md #### FieldData.UseUpperCaseName property Gets a boolean value that indicates whether a `Name` was converted to UPPER CASE. ```csharp public bool UseUpperCaseName { get; } ``` ### HighlightItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/highlightitem.md #### HighlightItem class Represents a highlight, a part of the text which is usually used to explain the context of the found text in the search functionality. ```csharp public sealed class HighlightItem ``` #### Properties | Name | Description | | --- | --- | | Position { get; } | Gets the position in the document text. | | Text { get; } | Gets the text of the highlight. | ##### Remarks An instance of `HighlightItem` class is used as return value of `GetHighlight` method, `LeftHighlightItem` and `RightHighlightItem` properties. See the usage examples there. ### Position Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/highlightitem/position.md #### HighlightItem.Position property Gets the position in the document text. ```csharp public int Position { get; } ``` ##### Property Value A zero-based index of the start position of the highlight. ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/highlightitem/text.md #### HighlightItem.Text property Gets the text of the highlight. ```csharp public string Text { get; } ``` ##### Property Value A string value that represents the text of the highlight. ### MetadataItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/metadataitem.md #### MetadataItem class Represents a metadata item which is used in container items and metadata extraction functionality. ```csharp public sealed class MetadataItem ``` #### Constructors | Name | Description | | --- | --- | | MetadataItem(string, string) | Initializes a new instance of the `MetadataItem` class. | #### Properties | Name | Description | | --- | --- | | Name { get; } | Gets the name of the metadata item. | | Value { get; } | Gets the value of the metadata item. | ##### Remarks An instance of `MetadataItem` class is used as return value of `GetMetadata` method and as a item in `Metadata` collection. See the usage examples there. ### MetadataItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/metadataitem/metadataitem.md #### MetadataItem constructor Initializes a new instance of the `MetadataItem` class. ```csharp public MetadataItem(string name, string value) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the metadata item. | | value | String | The value of the metadata item. | ##### Remarks An instance of `MetadataItem` class is used as return value of `GetMetadata` method. ### Name Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/metadataitem/name.md #### MetadataItem.Name property Gets the name of the metadata item. ```csharp public string Name { get; } ``` ##### Property Value A string value that represents the name of the metadata item. ### Value Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/metadataitem/value.md #### MetadataItem.Value property Gets the value of the metadata item. ```csharp public string Value { get; } ``` ##### Property Value A string value that represents the value of the metadata item. ### Page Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/page.md #### Page class Represents the document page information such as page index and page size. It's used to represent the page that contains inheritors of `PageArea` class in the parsing by template functionality. ```csharp public sealed class Page ``` #### Constructors | Name | Description | | --- | --- | | Page(int, Size) | Initializes a new instance of the `Page` class. | #### Properties | Name | Description | | --- | --- | | Index { get; } | Gets the page index. | | Size { get; } | Gets the page size. | ### Index Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/page/index.md #### Page.Index property Gets the page index. ```csharp public int Index { get; } ``` ##### Property Value A zero-based index of the page. ### Page Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/page/page.md #### Page constructor Initializes a new instance of the `Page` class. ```csharp public Page(int index, Size size) ``` | Parameter | Type | Description | | --- | --- | --- | | index | Int32 | The page index. | | size | Size | The page size. | ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/page/size.md #### Page.Size property Gets the page size. ```csharp public Size Size { get; } ``` ##### Property Value An instance of `Size` class that represents the size of the page. ### PageArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagearea.md #### PageArea class Represents an abstract base class for page areas which are used to represent blocks on the document page in the parsing by template functionality. ```csharp public abstract class PageArea ``` #### Properties | Name | Description | | --- | --- | | Page { get; } | Gets the document page information such as page index and page size. | | Rectangle { get; } | Gets the rectangular area. | ### Page Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagearea/page.md #### PageArea.Page property Gets the document page information such as page index and page size. ```csharp public Page Page { get; } ``` ##### Property Value An instance of `Page` class that represents the page that contains the page area. ### Rectangle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagearea/rectangle.md #### PageArea.Rectangle property Gets the rectangular area. ```csharp public Rectangle Rectangle { get; } ``` ##### Property Value An instance of `Rectangle` class that represents the rectangular area of the page that contains the page area. ### PageBarcodeArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagebarcodearea.md #### PageBarcodeArea class Represents a page barcode area which is used to represent a barcode value in the parsing by template functionality. ```csharp public sealed class PageBarcodeArea : PageArea ``` #### Constructors | Name | Description | | --- | --- | | PageBarcodeArea(string, string, int, double, Page, Rectangle) | Initializes a new instance of the `PageBarcodeArea` class. | #### Properties | Name | Description | | --- | --- | | Angle { get; } | Gets the angle of the barcode. | | CodeTypeName { get; } | Gets the name of the barcode type. | | Confidence { get; } | Gets the level of confidence of the parsered barcode. | | Page { get; } | Gets the document page information such as page index and page size. | | Rectangle { get; } | Gets the rectangular area. | | Value { get; } | Gets the barcode value. | ### Angle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagebarcodearea/angle.md #### PageBarcodeArea.Angle property Gets the angle of the barcode. ```csharp public double Angle { get; } ``` ##### Property Value An integer value that represents the angle of the barcode (0-360). ### CodeTypeName Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagebarcodearea/codetypename.md #### PageBarcodeArea.CodeTypeName property Gets the name of the barcode type. ```csharp public string CodeTypeName { get; } ``` ##### Property Value A string value than represents a type name of the barcode. ### Confidence Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagebarcodearea/confidence.md #### PageBarcodeArea.Confidence property Gets the level of confidence of the parsered barcode. ```csharp public int Confidence { get; } ``` ##### Property Value An integer value that represents the confidence of the parsered barcode (0-100). ### PageBarcodeArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagebarcodearea/pagebarcodearea.md #### PageBarcodeArea constructor Initializes a new instance of the `PageBarcodeArea` class. ```csharp public PageBarcodeArea(string value, string codeTypeName, int confidence, double angle, Page page, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | value | String | The value of the barcode. | | codeTypeName | String | The type name of the barcode. | | confidence | Int32 | The level of confidence of the parsered barcode. | | angle | Double | The angle of the barcode. | | page | Page | The page that contains the barcode area. | | rectangle | Rectangle | The rectangular area that contains the barcode area. | ### Value Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagebarcodearea/value.md #### PageBarcodeArea.Value property Gets the barcode value. ```csharp public string Value { get; } ``` ##### Property Value A string value that represents a value of the barcode page area. ### PageGroupArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagegrouparea.md #### PageGroupArea class Represents a group of page areas which is used to group different types of blocks of the document page in the parsing by template functionality. ```csharp public sealed class PageGroupArea : PageArea ``` #### Constructors | Name | Description | | --- | --- | | PageGroupArea(IEnumerable<PageArea>, Page) | Initializes a new instance of the `PageGroupArea` class. | #### Properties | Name | Description | | --- | --- | | Areas { get; } | Gets the collection of grouped page areas. | | Page { get; } | Gets the document page information such as page index and page size. | | Rectangle { get; } | Gets the rectangular area. | ### Areas Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagegrouparea/areas.md #### PageGroupArea.Areas property Gets the collection of grouped page areas. ```csharp public IEnumerable Areas { get; } ``` ##### Property Value A collection of `PageArea` objects. ### PageGroupArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagegrouparea/pagegrouparea.md #### PageGroupArea constructor Initializes a new instance of the `PageGroupArea` class. ```csharp public PageGroupArea(IEnumerable areas, Page page) ``` | Parameter | Type | Description | | --- | --- | --- | | areas | IEnumerable`1 | The collection of page areas to be grouped. | | page | Page | The page that contains the area. | ### PageHyperlinkArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagehyperlinkarea.md #### PageHyperlinkArea class Represents a page area which is used to represent a hyperlink on the page. ```csharp public sealed class PageHyperlinkArea : PageArea ``` #### Constructors | Name | Description | | --- | --- | | PageHyperlinkArea(string, string, Page, Rectangle) | Initializes a new instance of the `PageHyperlinkArea` class. | #### Properties | Name | Description | | --- | --- | | Page { get; } | Gets the document page information such as page index and page size. | | Rectangle { get; } | Gets the rectangular area. | | Text { get; } | Gets the hyperlink text. | | Url { get; } | Gets the hyperlink URL. | ##### Remarks An instance of `PageHyperlinkArea` class is used as return value of the following methods: * `GetHyperlinks` * `GetHyperlinks` * `GetHyperlinks` * `GetHyperlinks` See the usage examples there. ### PageHyperlinkArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagehyperlinkarea/pagehyperlinkarea.md #### PageHyperlinkArea constructor Initializes a new instance of the `PageHyperlinkArea` class. ```csharp public PageHyperlinkArea(string text, string url, Page page, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | The hyperlink text. | | url | String | The hyperlink URL. | | page | Page | The page that contains the hyperlink. | | rectangle | Rectangle | The rectangular area that contains the hyperlink. | ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagehyperlinkarea/text.md #### PageHyperlinkArea.Text property Gets the hyperlink text. ```csharp public string Text { get; } ``` ##### Property Value A string value that represents hyperlink text. ### Url Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagehyperlinkarea/url.md #### PageHyperlinkArea.Url property Gets the hyperlink URL. ```csharp public string Url { get; } ``` ##### Property Value A string value that represents hyperlink URL. ### PageImageArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pageimagearea.md #### PageImageArea class Represents a page image area which is used to represent an image on the page in the parsing by template functionality or an image attachment if images are extracted from emails or Zip archives. ```csharp public sealed class PageImageArea : PageArea ``` #### Constructors | Name | Description | | --- | --- | | PageImageArea(Stream, FileType, double) | Initializes a new instance of the `PageImageArea` class. | | PageImageArea(Stream, FileType, double, Page, Rectangle) | Initializes a new instance of the `PageImageArea` class. | #### Properties | Name | Description | | --- | --- | | FileType { get; } | Gets the format of the image. | | Page { get; } | Gets the document page information such as page index and page size. | | Rectangle { get; } | Gets the rectangular area. | | Rotation { get; } | Gets the rotation angle of the image. | #### Methods | Name | Description | | --- | --- | | GetImageStream() | Returns the image stream. | | GetImageStream(ImageOptions) | Returns the image stream in a different format. | | Save(string) | Saves the image to the file. | | Save(string, ImageOptions) | Saves the image to the file in a different format. | ##### Remarks An instance of `PageImageArea` class is used as return value of the following methods: * `GetImages` * `GetImages` * `GetImages` * `GetImages` See the usage examples there. ### FileType Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pageimagearea/filetype.md #### PageImageArea.FileType property Gets the format of the image. ```csharp public FileType FileType { get; } ``` ##### Property Value An instance of `FileType` class that represents the format of the image. ### GetImageStream Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pageimagearea/getimagestream.md #### GetImageStream() Returns the image stream. ```csharp public Stream GetImageStream() ``` ##### Return Value A stream with the image. ##### Examples The following example shows how to save images to files: ```csharp // Create an instance of Parser class using (Parser parser = new Parser(filePath)) { // Extract images from document IEnumerable images = parser.GetImages(); // Check if images extraction is supported if (images == null) { Console.WriteLine("Page images extraction isn't supported"); return; } // Iterate over images foreach (PageImageArea image in images) { // Open the image stream using (Stream imageStream = image.GetImageStream()) { // Create the file to save image using (Stream destStream = File.Create(Guid.NewGuid().ToString() + image.FileType.Extension)) { byte[] buffer = new byte[4096]; int readed = 0; do { // Read data from the image stream readed = imageStream.Read(buffer, 0, buffer.Length); if (readed > 0) { // Write data to the file stream destStream.Write(buffer, 0, readed); } } while (readed > 0); } } } } ``` #### GetImageStream(ImageOptions) Returns the image stream in a different format. ```csharp public Stream GetImageStream(ImageOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | options | ImageOptions | The options which are used to extract the image. | ##### Return Value A stream with the image. ##### Examples The following example shows how to save images to files in a different format: ```csharp // Create an instance of Parser class using (Parser parser = new Parser(filePath)) { // Extract images from document IEnumerable images = parser.GetImages(); // Check if images extraction is supported if (images == null) { Console.WriteLine("Page images extraction isn't supported"); return; } // Create the options to save images in PNG format ImageOptions options = new ImageOptions(ImageFormat.Png); // Iterate over images foreach (PageImageArea image in images) { // Open the image stream using (Stream imageStream = image.GetImageStream(options)) { // Create the file to save image using (Stream destStream = File.Create(Guid.NewGuid().ToString() + ".png")) { byte[] buffer = new byte[4096]; int readed = 0; do { // Read data from the image stream readed = imageStream.Read(buffer, 0, buffer.Length); if (readed > 0) { // Write data to the file stream destStream.Write(buffer, 0, readed); } } while (readed > 0); } } } } ``` ### PageImageArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pageimagearea/pageimagearea.md #### PageImageArea(Stream, FileType, double) Initializes a new instance of the `PageImageArea` class. ```csharp public PageImageArea(Stream imageStream, FileType fileType, double rotation) ``` | Parameter | Type | Description | | --- | --- | --- | | imageStream | Stream | The stream of the image. | | fileType | FileType | The format of the image. | | rotation | Double | The rotation angle of the image. | #### PageImageArea(Stream, FileType, double, Page, Rectangle) Initializes a new instance of the `PageImageArea` class. ```csharp public PageImageArea(Stream imageStream, FileType fileType, double rotation, Page page, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | imageStream | Stream | The stream of the image. | | fileType | FileType | The format of the image. | | rotation | Double | The rotation angle of the image. | | page | Page | The page that contains the image. | | rectangle | Rectangle | The rectangular area that contains the image. | ### Rotation Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pageimagearea/rotation.md #### PageImageArea.Rotation property Gets the rotation angle of the image. ```csharp public double Rotation { get; } ``` ##### Property Value A double value that represents the rotation angle of the image. ### Save Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pageimagearea/save.md #### Save(string) Saves the image to the file. ```csharp public void Save(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The path to the file. | ##### Examples The following example shows how to save images to files: ```csharp // Create an instance of Parser class using (Parser parser = new Parser(filePath)) { // Extract images from document IEnumerable images = parser.GetImages(); // Check if images extraction is supported if (images == null) { Console.WriteLine("Page images extraction isn't supported"); return; } // Iterate over images foreach (PageImageArea image in images) { // Save the image to the file image.Save(Guid.NewGuid().ToString() + image.FileType.Extension); } } ``` #### Save(string, ImageOptions) Saves the image to the file in a different format. ```csharp public void Save(string filePath, ImageOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The path to the file. | | options | ImageOptions | The options which are used to save the image. | ##### Examples The following example shows how to save images to files in a different format: ```csharp // Create an instance of Parser class using (Parser parser = new Parser(filePath)) { // Extract images from document IEnumerable images = parser.GetImages(); // Check if images extraction is supported if (images == null) { Console.WriteLine("Page images extraction isn't supported"); return; } // Create the options to save images in PNG format ImageOptions options = new ImageOptions(ImageFormat.Png); // Iterate over images foreach (PageImageArea image in images) { // Save the image to the png file image.Save(Guid.NewGuid().ToString() + ".png", options); } } ``` ### PageTableArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetablearea.md #### PageTableArea class Represents a table page area which is used to represent a table in the parsing by template functionality. ```csharp public sealed class PageTableArea : PageArea ``` #### Properties | Name | Description | | --- | --- | | Cells { get; } | Gets the collection of cells. | | ColumnCount { get; } | Gets the total number of the table colums. | | Item { get; } | Gets the table cell by row and column indexes. | | Page { get; } | Gets the document page information such as page index and page size. | | Rectangle { get; } | Gets the rectangular area. | | RowCount { get; } | Gets the total number of the table rows. | #### Methods | Name | Description | | --- | --- | | GetColumnWidth(int) | Returns the column width. | | GetRowHeight(int) | Returns the row height. | ##### Remarks `PageTableArea` class is used to organize inheritors of `PageArea` class in table structure. ### Cells Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetablearea/cells.md #### PageTableArea.Cells property Gets the collection of cells. ```csharp public ICollection Cells { get; } ``` ##### Property Value A plain read-only collection of table cells. ### ColumnCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetablearea/columncount.md #### PageTableArea.ColumnCount property Gets the total number of the table colums. ```csharp public int ColumnCount { get; } ``` ##### Property Value An integer value that contains the total number of the table columns. ### GetColumnWidth Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetablearea/getcolumnwidth.md #### PageTableArea.GetColumnWidth method Returns the column width. ```csharp public double GetColumnWidth(int columnIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | columnIndex | Int32 | The zero-based index of the column. | ##### Return Value A double value that represents the width of the column. ### GetRowHeight Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetablearea/getrowheight.md #### PageTableArea.GetRowHeight method Returns the row height. ```csharp public double GetRowHeight(int rowIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | rowIndex | Int32 | The zero-based index of the row. | ##### Return Value A double value that represents the height of the row. ### Item Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetablearea/item.md #### PageTableArea indexer Gets the table cell by row and column indexes. ```csharp public PageTableAreaCell this[int rowIndex, int columnIndex] { get; } ``` | Parameter | Description | | --- | --- | | rowIndex | The zero-based index of the cell row. | | columnIndex | The zero-based index of the cell column. | ##### Return Value An instance of `PageTableAreaCell` class; `null` if no cell is found. ### RowCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetablearea/rowcount.md #### PageTableArea.RowCount property Gets the total number of the table rows. ```csharp public int RowCount { get; } ``` ##### Property Value An integer value that contains the total number of the table rows. ### PageTableAreaCell Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell.md #### PageTableAreaCell class Represents a table cell which is used in `PageTableArea` class. ```csharp public sealed class PageTableAreaCell ``` #### Constructors | Name | Description | | --- | --- | | PageTableAreaCell(int, int, PageArea) | Initializes a new instance of the `PageTableAreaCell` class. | | PageTableAreaCell(int, int, PageArea, int, int) | Initializes a new instance of the `PageTableAreaCell` class. | #### Properties | Name | Description | | --- | --- | | ColumnIndex { get; } | Gets the column index. | | ColumnSpan { get; } | Gets the total number of columns that contain the table cell. | | PageArea { get; } | Gets the table cell value. | | RowIndex { get; } | Gets the row index. | | RowSpan { get; } | Gets the total number of rows that contain the table cell. | | Text { get; } | Gets the table cell text value. | ### ColumnIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell/columnindex.md #### PageTableAreaCell.ColumnIndex property Gets the column index. ```csharp public int ColumnIndex { get; } ``` ##### Property Value A zero-based index of the first column that contains the table cell. ### ColumnSpan Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell/columnspan.md #### PageTableAreaCell.ColumnSpan property Gets the total number of columns that contain the table cell. ```csharp public int ColumnSpan { get; } ``` ##### Property Value A positive integer value that represents the total number of columns that contain the table cell. ### PageArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell/pagearea.md #### PageTableAreaCell.PageArea property Gets the table cell value. ```csharp public PageArea PageArea { get; } ``` ##### Property Value An instance of `PageArea` class that represents a value of the table cell. ##### Remarks Depending on cell `PageArea` property can contain any of the inheritors of `PageArea` class. ### PageTableAreaCell Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell/pagetableareacell.md #### PageTableAreaCell(int, int, PageArea, int, int) Initializes a new instance of the `PageTableAreaCell` class. ```csharp public PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea, int rowSpan, int columnSpan) ``` | Parameter | Type | Description | | --- | --- | --- | | rowIndex | Int32 | The zero-based index of the row. | | columnIndex | Int32 | The zero-based index of the column. | | pageArea | PageArea | The value of the table cell. | | rowSpan | Int32 | The total number of rows that contain the table cell. | | columnSpan | Int32 | The total number of columns that contain the table cell. | #### PageTableAreaCell(int, int, PageArea) Initializes a new instance of the `PageTableAreaCell` class. ```csharp public PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea) ``` | Parameter | Type | Description | | --- | --- | --- | | rowIndex | Int32 | The zero-based index of the row. | | columnIndex | Int32 | The zero-based index of the column. | | pageArea | PageArea | The value of the table cell. | ### RowIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell/rowindex.md #### PageTableAreaCell.RowIndex property Gets the row index. ```csharp public int RowIndex { get; } ``` ##### Property Value A zero-based index of the first row that contains the table cell. ### RowSpan Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell/rowspan.md #### PageTableAreaCell.RowSpan property Gets the total number of rows that contain the table cell. ```csharp public int RowSpan { get; } ``` ##### Property Value A positive integer value that represents the total number of rows that contain the table cell. ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetableareacell/text.md #### PageTableAreaCell.Text property Gets the table cell text value. ```csharp public string Text { get; } ``` ##### Property Value A string that represents a text value of the cell; `null` if cell doesn't contain a text value. ### PageTextArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetextarea.md #### PageTextArea class Represents a page text area which is used to represent a text value in the parsing by template or parsing form functionality. ```csharp public sealed class PageTextArea : PageArea ``` #### Constructors | Name | Description | | --- | --- | | PageTextArea(IEnumerable<PageTextArea>, Page) | Initializes a new instance of the `PageTextArea` class. | | PageTextArea(string, Page, Rectangle) | Initializes a new instance of the `PageTextArea` class. | | PageTextArea(string, double?, TextStyle, Page, Rectangle) | Initializes a new instance of the `PageTextArea` class. | #### Properties | Name | Description | | --- | --- | | Areas { get; } | Gets the collection of child text page areas. | | BaseLine { get; } | Gets the base line. | | Page { get; } | Gets the document page information such as page index and page size. | | Rectangle { get; } | Gets the rectangular area. | | Text { get; } | Gets the text. | | TextStyle { get; } | Gets the text style such as font size, font name an so on. | #### Methods | Name | Description | | --- | --- | | override ToString() | Converts the value of this instance to String. | ##### Remarks An instance of `PageTextArea` class is used as return value of the following methods: * `GetTextAreas` * `GetTextAreas` * `GetTextAreas` * `GetTextAreas` Also an instance of `PageTextArea` class is used as value of `PageArea` property. See the usage examples there. The text area can be single or composite. In the first case it contains a text which is bounded by a rectangular area. In the second case it contains other text areas; text and table properties are calculated by child text areas. ### Areas Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetextarea/areas.md #### PageTextArea.Areas property Gets the collection of child text page areas. ```csharp public IList Areas { get; } ``` ##### Property Value A collection of child text page areas; empty if the text page area hasn't children. ### BaseLine Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetextarea/baseline.md #### PageTextArea.BaseLine property Gets the base line. ```csharp public double BaseLine { get; } ``` ##### Property Value A double value that represents the base line. ### PageTextArea Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetextarea/pagetextarea.md #### PageTextArea(string, Page, Rectangle) Initializes a new instance of the `PageTextArea` class. ```csharp public PageTextArea(string text, Page page, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | The value of the text. | | page | Page | The page that contains the text area. | | rectangle | Rectangle | The rectangular area that contains the text area. | #### PageTextArea(string, double?, TextStyle, Page, Rectangle) Initializes a new instance of the `PageTextArea` class. ```csharp public PageTextArea(string text, double? baseLine, TextStyle textStyle, Page page, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | text | String | The value of the text. | | baseLine | Nullable`1 | The base line of the text. | | textStyle | TextStyle | The style of the text. | | page | Page | The page that contains the text area. | | rectangle | Rectangle | The rectangular area that contains the text area. | #### PageTextArea(IEnumerable<PageTextArea>, Page) Initializes a new instance of the `PageTextArea` class. ```csharp public PageTextArea(IEnumerable areas, Page page) ``` | Parameter | Type | Description | | --- | --- | --- | | areas | IEnumerable`1 | The collecton of child text page areas. | | page | Page | The page that contains the text area. | ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetextarea/text.md #### PageTextArea.Text property Gets the text. ```csharp public string Text { get; } ``` ##### Property Value A string value that represents a value of the text page area. ### TextStyle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetextarea/textstyle.md #### PageTextArea.TextStyle property Gets the text style such as font size, font name an so on. ```csharp public TextStyle TextStyle { get; } ``` ##### Property Value An instance of `TextStyle` class that represents the text style. ### ToString Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/pagetextarea/tostring.md #### PageTextArea.ToString method Converts the value of this instance to String. ```csharp public override string ToString() ``` ##### Return Value A string whose value is the same as this instance. ### Point Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point.md #### Point class Represents a point. ```csharp public sealed class Point : IEquatable ``` #### Constructors | Name | Description | | --- | --- | | Point(double, double) | Initializes a new instance of the `Point` class. | #### Properties | Name | Description | | --- | --- | | X { get; } | Gets the x-coordinate. | | Y { get; } | Gets the y-coordinate. | #### Methods | Name | Description | | --- | --- | | static Parse(string) | Converts the string representation of a point to its class equivalent. | | override Equals(object) | Determines whether the current `Point` is the same as specified object. | | Equals(Point) | Determines whether the current `Point` is the same as specified `Point` object. | | override GetHashCode() | Returns the hash code for the current `Point` object. | | override ToString() | Converts the value of this instance to String. | | static TryParse(string, out Point) | Converts the string representation of a point to its class equivalent. A return value indicates whether the conversion is succeeded or failed. | | operator == | Determines whether two `Point` objects are the same. | | operator != | Determines whether two `Point` objects are not the same. | ### Equals Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/equals.md #### Equals(object) Determines whether the current `Point` is the same as specified object. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current `Point` object. | ##### Return Value ```csharp true ``` if ```csharp obj ``` parameter is `Point` and is the same as current `Point` object; otherwise, ```csharp false ``` #### Equals(Point) Determines whether the current `Point` is the same as specified `Point` object. ```csharp public bool Equals(Point other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | Point | The object to compare with the current `Point` object. | ##### Return Value ```csharp true ``` if both `Point` objects are the same; otherwise, ```csharp false ``` ### GetHashCode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/gethashcode.md #### Point.GetHashCode method Returns the hash code for the current `Point` object. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current `Point` object. ### op_Equality Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/op_equality.md #### Point Equality operator Determines whether two `Point` objects are the same. ```csharp public static bool operator ==(Point left, Point right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Point | Left `Point` object. | | right | Point | Right `Point` object. | ##### Return Value ```csharp true ``` if both `Point` objects are the same; otherwise, ```csharp false ``` ### op_Inequality Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/op_inequality.md #### Point Inequality operator Determines whether two `Point` objects are not the same. ```csharp public static bool operator !=(Point left, Point right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Point | Left `Point` object. | | right | Point | Right `Point` object. | ##### Return Value ```csharp true ``` if both `Point` objects are not the same; otherwise, ```csharp false ``` ### Parse Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/parse.md #### Point.Parse method Converts the string representation of a point to its class equivalent. ```csharp public static Point Parse(string s) ``` | Parameter | Type | Description | | --- | --- | --- | | s | String | A string that contains a point to convert. | ##### Return Value An instance of `Point` class that is equivalent to the value specified in *s* parameter. ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | *s* does not represent a point in a valid format. | ### Point Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/point.md #### Point constructor Initializes a new instance of the `Point` class. ```csharp public Point(double x, double y) ``` | Parameter | Type | Description | | --- | --- | --- | | x | Double | The x-coordinate. | | y | Double | The y-coordinate. | ### ToString Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/tostring.md #### Point.ToString method Converts the value of this instance to String. ```csharp public override string ToString() ``` ##### Return Value A string whose value is the same as this instance. ### TryParse Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/tryparse.md #### Point.TryParse method Converts the string representation of a point to its class equivalent. A return value indicates whether the conversion is succeeded or failed. ```csharp public static bool TryParse(string s, out Point point) ``` | Parameter | Type | Description | | --- | --- | --- | | s | String | A string containing a point to convert. | | point | Point& | When the method returns, it contains the instance of `Point` class that is equivalent to the value specified in *s* parameter, if the conversion is succeeded; otherwise, `null`. | ##### Return Value `true` if *s* is converted successfully; otherwise, `false`. ### X Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/x.md #### Point.X property Gets the x-coordinate. ```csharp public double X { get; } ``` ##### Property Value A double value that represents the x-coordinate. ### Y Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/point/y.md #### Point.Y property Gets the y-coordinate. ```csharp public double Y { get; } ``` ##### Property Value A double value that represents the y-coordinate. ### Rectangle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle.md #### Rectangle class Represents a rectangular area. ```csharp public sealed class Rectangle ``` #### Constructors | Name | Description | | --- | --- | | Rectangle(Point, Size) | Initializes a new instance of the `Rectangle` class. | | Rectangle(double, double, double, double) | Initializes a new instance of the `Rectangle` class. | #### Properties | Name | Description | | --- | --- | | Bottom { get; } | Gets the y-coordinate of the bottom edge of the rectangular area. | | Left { get; } | Gets the x-coordinate of the left edge of the rectangular area. | | Position { get; } | Gets the coordinates of the upper-left corner of the rectangular area. | | Right { get; } | Gets the x-coordinate of the right egde of the rectangular area. | | Size { get; } | Gets the size. | | Top { get; } | Gets the y-coordinate of the top edge of the rectangular area. | #### Methods | Name | Description | | --- | --- | | override ToString() | Converts the value of this instance to String. | ### Bottom Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/bottom.md #### Rectangle.Bottom property Gets the y-coordinate of the bottom edge of the rectangular area. ```csharp public double Bottom { get; } ``` ##### Property Value A double value that represents the y-coordinate of the bottom edge of the rectangular area. ### Left Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/left.md #### Rectangle.Left property Gets the x-coordinate of the left edge of the rectangular area. ```csharp public double Left { get; } ``` ##### Property Value A double value that represents the x-coordinate of the left edge of the rectangular area. ### Position Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/position.md #### Rectangle.Position property Gets the coordinates of the upper-left corner of the rectangular area. ```csharp public Point Position { get; } ``` ##### Property Value An instance of `Point` class that represents the coordinates of the upper-left corner of the rectangular area. ### Rectangle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/rectangle.md #### Rectangle(double, double, double, double) Initializes a new instance of the `Rectangle` class. ```csharp public Rectangle(double left, double top, double right, double bottom) ``` | Parameter | Type | Description | | --- | --- | --- | | left | Double | The x-coordinate of the left edge of the rectangular area. | | top | Double | The y-coordinate of the top edge of the rectangular area. | | right | Double | The x-coordinate of the right edge of the rectangular area. | | bottom | Double | The y-coordinate of the bottom edge of the rectangular area. | #### Rectangle(Point, Size) Initializes a new instance of the `Rectangle` class. ```csharp public Rectangle(Point position, Size size) ``` | Parameter | Type | Description | | --- | --- | --- | | position | Point | The coordinates of the upper-left corner of the rectangular area. | | size | Size | The size of the rectangular area. | ### Right Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/right.md #### Rectangle.Right property Gets the x-coordinate of the right egde of the rectangular area. ```csharp public double Right { get; } ``` ##### Property Value A double value that represents the x-coordinate of the right edge of the rectangular area. ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/size.md #### Rectangle.Size property Gets the size. ```csharp public Size Size { get; } ``` ##### Property Value An instance of `Size` class that represents the size of the rectangular area. ### Top Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/top.md #### Rectangle.Top property Gets the y-coordinate of the top edge of the rectangular area. ```csharp public double Top { get; } ``` ##### Property Value A double value that represents the y-coordinate of the top edge of the rectangular area. ### ToString Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/rectangle/tostring.md #### Rectangle.ToString method Converts the value of this instance to String. ```csharp public override string ToString() ``` ##### Return Value A string whose value is the same as this instance. ### SearchResult Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/searchresult.md #### SearchResult class Represents the search result in the search functionality. ```csharp public sealed class SearchResult ``` #### Properties | Name | Description | | --- | --- | | LeftHighlightItem { get; } | Gets the left highlight. | | PageIndex { get; } | Gets the page index where the text is found. | | Position { get; } | Gets the position in the document text. | | RightHighlightItem { get; } | Gets the right highlight. | | Text { get; } | Gets the text. | ##### Remarks An instance of `SearchResult` class is used as return value of `Search` and `Search` methods. See the usage examples there. ### LeftHighlightItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/searchresult/lefthighlightitem.md #### SearchResult.LeftHighlightItem property Gets the left highlight. ```csharp public HighlightItem LeftHighlightItem { get; } ``` ##### Property Value An instance of `HighlightItem` class; `null` if it isn't set. ### PageIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/searchresult/pageindex.md #### SearchResult.PageIndex property Gets the page index where the text is found. ```csharp public int? PageIndex { get; } ``` ##### Property Value A zero-based index of the page where the text is found; `null` if the seach is performed on the whole document text. ### Position Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/searchresult/position.md #### SearchResult.Position property Gets the position in the document text. ```csharp public int Position { get; } ``` ##### Property Value A zero-based index of the start position of the search result. Depeding on `SearchByPages` property value this index starts from the document start or the document page start. ### RightHighlightItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/searchresult/righthighlightitem.md #### SearchResult.RightHighlightItem property Gets the right highlight. ```csharp public HighlightItem RightHighlightItem { get; } ``` ##### Property Value An instance of `HighlightItem` class; `null` if it isn't set. ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/searchresult/text.md #### SearchResult.Text property Gets the text. ```csharp public string Text { get; } ``` ##### Property Value A string value that respresents the found text. ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size.md #### Size class Represents a size. ```csharp public sealed class Size ``` #### Constructors | Name | Description | | --- | --- | | Size(double, double) | Initializes a new instance of the `Size` class. | #### Properties | Name | Description | | --- | --- | | Height { get; } | Gets the height. | | IsEmpty { get; } | Gets a value that indicates whether the size is empty. | | Width { get; } | Gets the width. | #### Methods | Name | Description | | --- | --- | | static Parse(string) | Converts the string representation of a size to its class equivalent. | | override ToString() | Converts the value of this instance to String. | | static TryParse(string, out Size) | Converts the string representation of a size to its class equivalent. A return value indicates whether the conversion is succeeded or failed. | ### Height Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size/height.md #### Size.Height property Gets the height. ```csharp public double Height { get; } ``` ##### Property Value A double value that represents the height in pixels. ### IsEmpty Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size/isempty.md #### Size.IsEmpty property Gets a value that indicates whether the size is empty. ```csharp public bool IsEmpty { get; } ``` ##### Return Value `true` if the `Width` and `Height` are zero; otherwise, `false`. ### Parse Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size/parse.md #### Size.Parse method Converts the string representation of a size to its class equivalent. ```csharp public static Size Parse(string s) ``` | Parameter | Type | Description | | --- | --- | --- | | s | String | A string that contains a size to convert. | ##### Return Value An instance of `Size` class that is equivalent to the value specified in *s* parameter. ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | *s* does not represent a size in a valid format. | ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size/size.md #### Size constructor Initializes a new instance of the `Size` class. ```csharp public Size(double width, double height) ``` | Parameter | Type | Description | | --- | --- | --- | | width | Double | The width in pixels. | | height | Double | The height in pixels. | ### ToString Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size/tostring.md #### Size.ToString method Converts the value of this instance to String. ```csharp public override string ToString() ``` ##### Return Value A string whose value is the same as this instance. ### TryParse Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size/tryparse.md #### Size.TryParse method Converts the string representation of a size to its class equivalent. A return value indicates whether the conversion is succeeded or failed. ```csharp public static bool TryParse(string s, out Size size) ``` | Parameter | Type | Description | | --- | --- | --- | | s | String | A string containing a size to convert. | | size | Size& | When the method returns, it contains the instance of `Size` class that is equivalent to the value specified in *s* parameter, if the conversion is succeeded; otherwise, `null`. | ##### Return Value `true` if *s* is converted successfully; otherwise, `false`. ### Width Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/size/width.md #### Size.Width property Gets the width. ```csharp public double Width { get; } ``` ##### Property Value A double value that represents the width in pixels. ### TextStyle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/textstyle.md #### TextStyle class Represents the style of the text such as a font name, a font size and so on. ```csharp public sealed class TextStyle ``` #### Constructors | Name | Description | | --- | --- | | TextStyle(string, string, double, bool, bool) | Initializes a new instance of the `TextStyle` class. | #### Properties | Name | Description | | --- | --- | | FontName { get; } | Gets the font name. | | FontSize { get; } | Gets the font size. | | IsBold { get; } | Gets the value that indicates whether the font is bold. | | IsItalic { get; } | Gets a value that indicates whether the font is italic. | | Name { get; } | Gets the style name. | ### FontName Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/textstyle/fontname.md #### TextStyle.FontName property Gets the font name. ```csharp public string FontName { get; } ``` ##### Property Value A string value that represents the font name. ### FontSize Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/textstyle/fontsize.md #### TextStyle.FontSize property Gets the font size. ```csharp public double FontSize { get; } ``` ##### Property Value A double value that represents the font size. ### IsBold Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/textstyle/isbold.md #### TextStyle.IsBold property Gets the value that indicates whether the font is bold. ```csharp public bool IsBold { get; } ``` ##### Return Value `true` if the font is bold; otherwise, `false`. ### IsItalic Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/textstyle/isitalic.md #### TextStyle.IsItalic property Gets a value that indicates whether the font is italic. ```csharp public bool IsItalic { get; } ``` ##### Return Value `true` if the font is italic; otherwise, `false`. ### Name Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/textstyle/name.md #### TextStyle.Name property Gets the style name. ```csharp public string Name { get; } ``` ##### Property Value A string value that represents the style name. ### TextStyle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/textstyle/textstyle.md #### TextStyle constructor Initializes a new instance of the `TextStyle` class. ```csharp public TextStyle(string name, string fontName, double fontSize, bool isBold, bool isItalic) ``` | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the style. | | fontName | String | The name of the font. | | fontSize | Double | The size of the font. | | isBold | Boolean | The value that indicates whether the font is bold. | | isItalic | Boolean | The value that indicates whether the font is italic. | ### TocItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/tocitem.md #### TocItem class Represents the item which is used in the table of contents extraction functionality. ```csharp public class TocItem ``` #### Constructors | Name | Description | | --- | --- | | TocItem(int, string, int?) | Initializes a new instance of the `TocItem` class. | #### Properties | Name | Description | | --- | --- | | Depth { get; } | Gets the depth level. | | PageIndex { get; } | Gets the page index. | | Text { get; } | Gets the text. | #### Methods | Name | Description | | --- | --- | | virtual ExtractText() | Extracts a text from the document to which `TocItem` object refers. | ##### Remarks An instance of `TocItem` class is used as return value of `GetToc` methods. See the usage examples there. ### Depth Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/tocitem/depth.md #### TocItem.Depth property Gets the depth level. ```csharp public int Depth { get; } ``` ##### Property Value An integer value that represents the depth level of the item. ### ExtractText Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/tocitem/extracttext.md #### TocItem.ExtractText method Extracts a text from the document to which `TocItem` object refers. ```csharp public virtual TextReader ExtractText() ``` ##### Return Value An instance of TextReader class with the extracted text. ##### Examples The following example how to extract a text by the an item of table of contents: ```csharp // Create an instance of Parser class using (Parser parser = new Parser(Constants.SampleDocxWithToc)) { // Get table of contents IEnumerable tocItems = parser.GetToc(); // Check if toc extraction is supported if (tocItems == null) { Console.WriteLine("Table of contents extraction isn't supported"); } // Iterate over items foreach (TocItem tocItem in tocItems) { // Print the text of the chapter using (TextReader reader = tocItem.ExtractText()) { Console.WriteLine("----"); Console.WriteLine(reader.ReadToEnd()); } } } ``` ### PageIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/tocitem/pageindex.md #### TocItem.PageIndex property Gets the page index. ```csharp public int? PageIndex { get; } ``` ##### Property Value An integer value that represents the index of the page referenced by the item; `null` if it isn't set. ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/tocitem/text.md #### TocItem.Text property Gets the text. ```csharp public string Text { get; } ``` ##### Property Value A string value that represents the text of the item. ### TocItem Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/tocitem/tocitem.md #### TocItem constructor Initializes a new instance of the `TocItem` class. ```csharp public TocItem(int depth, string text, int? pageIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | depth | Int32 | The depth level of the item. | | text | String | The text of the item. | | pageIndex | Nullable`1 | The index of the page referenced by the item | ### WorksheetCell Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell.md #### WorksheetCell class Represents a worksheet cell. ```csharp public sealed class WorksheetCell ``` #### Constructors | Name | Description | | --- | --- | | WorksheetCell(int, int, int, string) | Initializes a new instance of the `WorksheetCell` class. | | WorksheetCell(int, int, int, int, int, string) | Initializes a new instance of the `WorksheetCell` class. | #### Properties | Name | Description | | --- | --- | | ColumnIndex { get; } | Gets the column index. | | ColumnSpan { get; } | Gets the total number of columns that contain the cell. | | RowIndex { get; } | Gets the row index. | | RowSpan { get; } | Gets the total number of rows that contain the cell. | | Text { get; } | Gets the worksheet cell text value. | | WorksheetIndex { get; } | Gets the worksheet index. | ### ColumnIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell/columnindex.md #### WorksheetCell.ColumnIndex property Gets the column index. ```csharp public int ColumnIndex { get; } ``` ##### Property Value A zero-based index of the first column that contains the cell. ### ColumnSpan Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell/columnspan.md #### WorksheetCell.ColumnSpan property Gets the total number of columns that contain the cell. ```csharp public int ColumnSpan { get; } ``` ##### Property Value A positive integer value that represents the total number of columns that contain the cell. ### RowIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell/rowindex.md #### WorksheetCell.RowIndex property Gets the row index. ```csharp public int RowIndex { get; } ``` ##### Property Value A zero-based index of the first row that contains the cell. ### RowSpan Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell/rowspan.md #### WorksheetCell.RowSpan property Gets the total number of rows that contain the cell. ```csharp public int RowSpan { get; } ``` ##### Property Value A positive integer value that represents the total number of rows that contain the cell. ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell/text.md #### WorksheetCell.Text property Gets the worksheet cell text value. ```csharp public string Text { get; } ``` ##### Property Value A string that represents a text value of the cell; `null` if cell doesn't contain a text value. ### WorksheetCell Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell/worksheetcell.md #### WorksheetCell(int, int, int, string) Initializes a new instance of the `WorksheetCell` class. ```csharp public WorksheetCell(int worksheetIndex, int rowIndex, int columnIndex, string text) ``` | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | Int32 | The zero-based index of the worksheet. | | rowIndex | Int32 | The zero-based index of the row. | | columnIndex | Int32 | The zero-based index of the column. | | text | String | the worksheet cell text value. | #### WorksheetCell(int, int, int, int, int, string) Initializes a new instance of the `WorksheetCell` class. ```csharp public WorksheetCell(int worksheetIndex, int rowIndex, int columnIndex, int rowSpan, int columnSpan, string text) ``` | Parameter | Type | Description | | --- | --- | --- | | worksheetIndex | Int32 | The zero-based index of the worksheet. | | rowIndex | Int32 | The zero-based index of the row. | | columnIndex | Int32 | The zero-based index of the column. | | rowSpan | Int32 | The total number of rows that contain the cell. | | columnSpan | Int32 | The total number of columns that contain the cell. | | text | String | the worksheet cell text value. | ### WorksheetIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetcell/worksheetindex.md #### WorksheetCell.WorksheetIndex property Gets the worksheet index. ```csharp public int WorksheetIndex { get; } ``` ##### Property Value A zero-based index of the worksheet that contains the cell. ### WorksheetInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo.md #### WorksheetInfo class Represents a sheet info. ```csharp public sealed class WorksheetInfo ``` #### Constructors | Name | Description | | --- | --- | | WorksheetInfo(int, string, WorksheetRange) | Initializes a new instance of the `WorksheetInfo` class. | #### Properties | Name | Description | | --- | --- | | Index { get; } | Gets an index of the worksheet. | | IsEmpty { get; } | Gets a value that indicates whether the worksheet is empty. | | MaxColumnIndex { get; } | Gets an index of the last column. | | MaxRowIndex { get; } | Gets an index of the last row. | | MinColumnIndex { get; } | Gets an index of the first column. | | MinRowIndex { get; } | Gets an index of the first row. | | Name { get; } | Gets a name of the worksheet. | ### Index Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/index.md #### WorksheetInfo.Index property Gets an index of the worksheet. ```csharp public int Index { get; } ``` ##### Property Value The zero-based index of the worksheet. ### IsEmpty Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/isempty.md #### WorksheetInfo.IsEmpty property Gets a value that indicates whether the worksheet is empty. ```csharp public bool IsEmpty { get; } ``` ##### Return Value `true` if the worksheet is empty; otherwise, `false`. ### MaxColumnIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/maxcolumnindex.md #### WorksheetInfo.MaxColumnIndex property Gets an index of the last column. ```csharp public int MaxColumnIndex { get; } ``` ##### Property Value The zero-based index of the last column. ### MaxRowIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/maxrowindex.md #### WorksheetInfo.MaxRowIndex property Gets an index of the last row. ```csharp public int MaxRowIndex { get; } ``` ##### Property Value The zero-based index of the last row. ### MinColumnIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/mincolumnindex.md #### WorksheetInfo.MinColumnIndex property Gets an index of the first column. ```csharp public int MinColumnIndex { get; } ``` ##### Property Value The zero-based index of the first column. ### MinRowIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/minrowindex.md #### WorksheetInfo.MinRowIndex property Gets an index of the first row. ```csharp public int MinRowIndex { get; } ``` ##### Property Value The zero-based index of the first row. ### Name Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/name.md #### WorksheetInfo.Name property Gets a name of the worksheet. ```csharp public string Name { get; } ``` ##### Property Value A string value that represents the worksheet name. ### WorksheetInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetinfo/worksheetinfo.md #### WorksheetInfo constructor Initializes a new instance of the `WorksheetInfo` class. ```csharp public WorksheetInfo(int index, string name, WorksheetRange range) ``` | Parameter | Type | Description | | --- | --- | --- | | index | Int32 | The zero-based index of the worksheet. | | name | String | A string value that represents the worksheet name. | | range | WorksheetRange | An instance of `WorksheetRange` class that represents the size of the worksheet. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | An index of the worksheet can't be negative. | | ArgumentNullException | The size of the worksheet can't be `null`. | ### WorksheetRange Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetrange.md #### WorksheetRange class Provides the range which are used for the worksheet extraction. ```csharp public sealed class WorksheetRange ``` #### Constructors | Name | Description | | --- | --- | | WorksheetRange(int, int, int, int) | Initializes a new instance of the `WorksheetRange` class. | #### Properties | Name | Description | | --- | --- | | IsEmpty { get; } | Gets a value that indicates whether the range is empty. | | MaxColumnIndex { get; } | Gets an index of the last column. | | MaxRowIndex { get; } | Gets an index of the last row. | | MinColumnIndex { get; } | Gets an index of the first column. | | MinRowIndex { get; } | Gets an index of the first row. | ### IsEmpty Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetrange/isempty.md #### WorksheetRange.IsEmpty property Gets a value that indicates whether the range is empty. ```csharp public bool IsEmpty { get; } ``` ##### Return Value `true` if the range is empty; otherwise, `false`. ### MaxColumnIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetrange/maxcolumnindex.md #### WorksheetRange.MaxColumnIndex property Gets an index of the last column. ```csharp public int MaxColumnIndex { get; } ``` ##### Property Value The zero-based index of the last column. ### MaxRowIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetrange/maxrowindex.md #### WorksheetRange.MaxRowIndex property Gets an index of the last row. ```csharp public int MaxRowIndex { get; } ``` ##### Property Value The zero-based index of the last row. ### MinColumnIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetrange/mincolumnindex.md #### WorksheetRange.MinColumnIndex property Gets an index of the first column. ```csharp public int MinColumnIndex { get; } ``` ##### Property Value The zero-based index of the first column. ### MinRowIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetrange/minrowindex.md #### WorksheetRange.MinRowIndex property Gets an index of the first row. ```csharp public int MinRowIndex { get; } ``` ##### Property Value The zero-based index of the first row. ### WorksheetRange Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.data/worksheetrange/worksheetrange.md #### WorksheetRange constructor Initializes a new instance of the `WorksheetRange` class. ```csharp public WorksheetRange(int minRowIndex, int maxRowIndex, int minColumnIndex, int maxColumnIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | minRowIndex | Int32 | The zero-based index of the first row. | | maxRowIndex | Int32 | The zero-based index of the last row. | | minColumnIndex | Int32 | The zero-based index of the first column. | | maxColumnIndex | Int32 | The zero-based index of the last column. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentOutOfRangeException | | ### GroupDocs.Parser.Exceptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions.md The namespace provides different exceptions classes. #### Classes | Class | Description | | --- | --- | | CorruptedDocumentException | Thrown during document load, when the document is corrupted. | | GroupDocsParserException | Represents the errors that occur during application execution. | | InvalidPasswordException | Thrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing. | | UnsupportedDocumentFormatException | Thrown during document load, when the document format is not recognized or not supported. | ### CorruptedDocumentException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/corrupteddocumentexception.md #### CorruptedDocumentException class Thrown during document load, when the document is corrupted. ```csharp public sealed class CorruptedDocumentException : GroupDocsParserException ``` #### Constructors | Name | Description | | --- | --- | | CorruptedDocumentException() | Initializes a new instance of the `CorruptedDocumentException` class. | | CorruptedDocumentException(string) | Initializes a new instance of the `CorruptedDocumentException` class with the message. | ### CorruptedDocumentException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/corrupteddocumentexception/corrupteddocumentexception.md #### CorruptedDocumentException() Initializes a new instance of the `CorruptedDocumentException` class. ```csharp public CorruptedDocumentException() ``` #### CorruptedDocumentException(string) Initializes a new instance of the `CorruptedDocumentException` class with the message. ```csharp public CorruptedDocumentException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | ### GroupDocsParserException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/groupdocsparserexception.md #### GroupDocsParserException class Represents the errors that occur during application execution. ```csharp public class GroupDocsParserException : Exception ``` #### Constructors | Name | Description | | --- | --- | | GroupDocsParserException() | Initializes a new instance of the `GroupDocsParserException` class. | | GroupDocsParserException(string) | Initializes a new instance of the `GroupDocsParserException` class. | ### GroupDocsParserException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/groupdocsparserexception/groupdocsparserexception.md #### GroupDocsParserException() Initializes a new instance of the `GroupDocsParserException` class. ```csharp public GroupDocsParserException() ``` #### GroupDocsParserException(string) Initializes a new instance of the `GroupDocsParserException` class. ```csharp public GroupDocsParserException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | ### InvalidPasswordException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/invalidpasswordexception.md #### InvalidPasswordException class Thrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing. ```csharp public sealed class InvalidPasswordException : GroupDocsParserException ``` #### Constructors | Name | Description | | --- | --- | | InvalidPasswordException() | Initializes a new instance of the `InvalidPasswordException` class. | | InvalidPasswordException(string) | Initializes a new instance of the `InvalidPasswordException` class. | ### InvalidPasswordException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/invalidpasswordexception/invalidpasswordexception.md #### InvalidPasswordException() Initializes a new instance of the `InvalidPasswordException` class. ```csharp public InvalidPasswordException() ``` #### InvalidPasswordException(string) Initializes a new instance of the `InvalidPasswordException` class. ```csharp public InvalidPasswordException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | ### UnsupportedDocumentFormatException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/unsupporteddocumentformatexception.md #### UnsupportedDocumentFormatException class Thrown during document load, when the document format is not recognized or not supported. ```csharp public sealed class UnsupportedDocumentFormatException : GroupDocsParserException ``` #### Constructors | Name | Description | | --- | --- | | UnsupportedDocumentFormatException() | Initializes a new instance of the `UnsupportedDocumentFormatException` class. | | UnsupportedDocumentFormatException(string) | Initializes a new instance of the `UnsupportedDocumentFormatException` class. | ### UnsupportedDocumentFormatException Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.exceptions/unsupporteddocumentformatexception/unsupporteddocumentformatexception.md #### UnsupportedDocumentFormatException() Initializes a new instance of the `UnsupportedDocumentFormatException` class. ```csharp public UnsupportedDocumentFormatException() ``` #### UnsupportedDocumentFormatException(string) Initializes a new instance of the `UnsupportedDocumentFormatException` class. ```csharp public UnsupportedDocumentFormatException(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The message that describes the error. | ### GroupDocs.Parser.Export Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export.md The namespace provides classes that allow users to export data to different formats. #### Classes | Class | Description | | --- | --- | | ExporterBase | Provides the base class for the data export functionality. | | Extensions | Provides extensions methods for the data export functionality. | | JsonExporter | Provides the functionality to export data in JSON format. | | XmlExporter | Provides the functionality to export data in XML format. | ### ExporterBase Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/exporterbase.md #### ExporterBase class Provides the base class for the data export functionality. ```csharp public abstract class ExporterBase ``` #### Methods | Name | Description | | --- | --- | | abstract Export(DocumentData, Stream) | Exports document data to the stream. | | Export(DocumentData, string) | Exports document data to the file. | | abstract Export(IDocumentInfo, Stream) | Exports the document information to the stream. | | Export(IDocumentInfo, string) | Exports the document information to the file. | | abstract Export(IEnumerable<MetadataItem>, Stream) | Exports the collection of metadata to the stream. | | Export(IEnumerable<MetadataItem>, string) | Exports the collection of metadata to the file. | | abstract Export(IEnumerable<PageBarcodeArea>, Stream) | Exports the collection of barcodes to the stream. | | Export(IEnumerable<PageBarcodeArea>, string) | Exports the collection of barcodes to the file. | | abstract Export(IEnumerable<PageTableArea>, Stream) | Exports the collection of tables to the stream. | | Export(IEnumerable<PageTableArea>, string) | Exports the collection of tables to the file. | | abstract Export(IEnumerable<PageTextArea>, Stream) | Exports the collection of text areas to the stream. | | Export(IEnumerable<PageTextArea>, string) | Exports the collection of text areas to the file. | ### Export Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/exporterbase/export.md #### Export(IEnumerable<MetadataItem>, Stream) Exports the collection of metadata to the stream. ```csharp public abstract void Export(IEnumerable metadata, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | stream | Stream | The output stream. | #### Export(IEnumerable<MetadataItem>, string) Exports the collection of metadata to the file. ```csharp public void Export(IEnumerable metadata, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | fileName | String | The full path to the output file. | #### Export(IDocumentInfo, Stream) Exports the document information to the stream. ```csharp public abstract void Export(IDocumentInfo documentInfo, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | stream | Stream | The output stream. | #### Export(IDocumentInfo, string) Exports the document information to the file. ```csharp public void Export(IDocumentInfo documentInfo, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | fileName | String | The full path to the output file. | #### Export(IEnumerable<PageTextArea>, Stream) Exports the collection of text areas to the stream. ```csharp public abstract void Export(IEnumerable textAreas, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of the text areas. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageTextArea>, string) Exports the collection of text areas to the file. ```csharp public void Export(IEnumerable textAreas, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of text areas. | | fileName | String | The full path to the output file. | #### Export(IEnumerable<PageTableArea>, Stream) Exports the collection of tables to the stream. ```csharp public abstract void Export(IEnumerable tables, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collecton of tables. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageTableArea>, string) Exports the collection of tables to the file. ```csharp public void Export(IEnumerable tables, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collection of tables. | | fileName | String | The full path to the output file. | #### Export(IEnumerable<PageBarcodeArea>, Stream) Exports the collection of barcodes to the stream. ```csharp public abstract void Export(IEnumerable barcodes, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageBarcodeArea>, string) Exports the collection of barcodes to the file. ```csharp public void Export(IEnumerable barcodes, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | fileName | String | The full path to the output file. | #### Export(DocumentData, Stream) Exports document data to the stream. ```csharp public abstract void Export(DocumentData documentData, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | stream | Stream | The output stream. | #### Export(DocumentData, string) Exports document data to the file. ```csharp public void Export(DocumentData documentData, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | fileName | String | The full path to the output file. | ### Extensions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/extensions.md #### Extensions class Provides extensions methods for the data export functionality. ```csharp public static class Extensions ``` #### Methods | Name | Description | | --- | --- | | static ExportAsJson(this DocumentData, Stream) | Exports document data to the stream in JSON format. | | static ExportAsJson(this DocumentData, string) | Exports document data to the file in JSON format. | | static ExportAsJson(this IDocumentInfo, Stream) | Exports the document information to the stream in JSON format. | | static ExportAsJson(this IDocumentInfo, string) | Exports the document information to the file in JSON format. | | static ExportAsJson(this IEnumerable<MetadataItem>, Stream) | Exports the collection of metadata to the stream in JSON format. | | static ExportAsJson(this IEnumerable<MetadataItem>, string) | Exports the collection of metadata to the file in JSON format. | | static ExportAsJson(this IEnumerable<PageBarcodeArea>, Stream) | Exports the collection of barcodes to the stream in JSON format. | | static ExportAsJson(this IEnumerable<PageBarcodeArea>, string) | Exports the collection of barcodes to the file in JSON format. | | static ExportAsJson(this IEnumerable<PageTableArea>, Stream) | Exports the collection of tables to the stream in JSON format. | | static ExportAsJson(this IEnumerable<PageTableArea>, string) | Exports the collection of tables to the file in JSON format. | | static ExportAsJson(this IEnumerable<PageTextArea>, Stream) | Exports the collection of text areas to the stream in JSON format. | | static ExportAsJson(this IEnumerable<PageTextArea>, string) | Exports the collectiob of text areas to the file in JSON format. | | static ExportAsXml(this DocumentData, Stream) | Exports document data to the stream in XML format. | | static ExportAsXml(this DocumentData, string) | Exports document data to the file in XML format. | | static ExportAsXml(this IDocumentInfo, Stream) | Exports the document information to the stream in XML format. | | static ExportAsXml(this IDocumentInfo, string) | Exports the document information to the file in XML format. | | static ExportAsXml(this IEnumerable<MetadataItem>, Stream) | Exports the collection of metadata to the stream in XML format. | | static ExportAsXml(this IEnumerable<MetadataItem>, string) | Exports the collection of metadata to the file in XML format. | | static ExportAsXml(this IEnumerable<PageBarcodeArea>, Stream) | Exports the collection of barcodes to the stream in XML format. | | static ExportAsXml(this IEnumerable<PageBarcodeArea>, string) | Exports the collection of barcodes to the file in XML format. | | static ExportAsXml(this IEnumerable<PageTableArea>, Stream) | Exports the collection of tables to the stream in XML format. | | static ExportAsXml(this IEnumerable<PageTableArea>, string) | Exports the collection of tables to the file in XML format. | | static ExportAsXml(this IEnumerable<PageTextArea>, Stream) | Exports the collection of text areas to the stream in XML format. | | static ExportAsXml(this IEnumerable<PageTextArea>, string) | Exports the collectiob of text areas to the file in XML format. | ### ExportAsJson Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/extensions/exportasjson.md #### ExportAsJson(this IEnumerable<MetadataItem>, Stream) Exports the collection of metadata to the stream in JSON format. ```csharp public static void ExportAsJson(this IEnumerable metadata, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | stream | Stream | The output stream. | #### ExportAsJson(this IEnumerable<MetadataItem>, string) Exports the collection of metadata to the file in JSON format. ```csharp public static void ExportAsJson(this IEnumerable metadata, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | fileName | String | The full path to the output file. | #### ExportAsJson(this IDocumentInfo, Stream) Exports the document information to the stream in JSON format. ```csharp public static void ExportAsJson(this IDocumentInfo documentInfo, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | stream | Stream | The output stream. | #### ExportAsJson(this IDocumentInfo, string) Exports the document information to the file in JSON format. ```csharp public static void ExportAsJson(this IDocumentInfo documentInfo, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | fileName | String | The full path to the output file. | #### ExportAsJson(this IEnumerable<PageTextArea>, Stream) Exports the collection of text areas to the stream in JSON format. ```csharp public static void ExportAsJson(this IEnumerable textAreas, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of the text areas. | | stream | Stream | The output stream. | #### ExportAsJson(this IEnumerable<PageTextArea>, string) Exports the collectiob of text areas to the file in JSON format. ```csharp public static void ExportAsJson(this IEnumerable textAreas, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of text areas. | | fileName | String | The full path to the output file. | #### ExportAsJson(this IEnumerable<PageTableArea>, Stream) Exports the collection of tables to the stream in JSON format. ```csharp public static void ExportAsJson(this IEnumerable tables, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collecton of tables. | | stream | Stream | The output stream. | #### ExportAsJson(this IEnumerable<PageTableArea>, string) Exports the collection of tables to the file in JSON format. ```csharp public static void ExportAsJson(this IEnumerable tables, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collection of tables. | | fileName | String | The full path to the output file. | #### ExportAsJson(this IEnumerable<PageBarcodeArea>, Stream) Exports the collection of barcodes to the stream in JSON format. ```csharp public static void ExportAsJson(this IEnumerable barcodes, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | stream | Stream | The output stream. | #### ExportAsJson(this IEnumerable<PageBarcodeArea>, string) Exports the collection of barcodes to the file in JSON format. ```csharp public static void ExportAsJson(this IEnumerable barcodes, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | fileName | String | The full path to the output file. | #### ExportAsJson(this DocumentData, Stream) Exports document data to the stream in JSON format. ```csharp public static void ExportAsJson(this DocumentData documentData, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | stream | Stream | The output stream. | #### ExportAsJson(this DocumentData, string) Exports document data to the file in JSON format. ```csharp public static void ExportAsJson(this DocumentData documentData, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | fileName | String | The full path to the output file. | ### ExportAsXml Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/extensions/exportasxml.md #### ExportAsXml(this IEnumerable<MetadataItem>, Stream) Exports the collection of metadata to the stream in XML format. ```csharp public static void ExportAsXml(this IEnumerable metadata, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | stream | Stream | The output stream. | #### ExportAsXml(this IEnumerable<MetadataItem>, string) Exports the collection of metadata to the file in XML format. ```csharp public static void ExportAsXml(this IEnumerable metadata, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | fileName | String | The full path to the output file. | #### ExportAsXml(this IDocumentInfo, Stream) Exports the document information to the stream in XML format. ```csharp public static void ExportAsXml(this IDocumentInfo documentInfo, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | stream | Stream | The output stream. | #### ExportAsXml(this IDocumentInfo, string) Exports the document information to the file in XML format. ```csharp public static void ExportAsXml(this IDocumentInfo documentInfo, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | fileName | String | The full path to the output file. | #### ExportAsXml(this IEnumerable<PageTextArea>, Stream) Exports the collection of text areas to the stream in XML format. ```csharp public static void ExportAsXml(this IEnumerable textAreas, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of the text areas. | | stream | Stream | The output stream. | #### ExportAsXml(this IEnumerable<PageTextArea>, string) Exports the collectiob of text areas to the file in XML format. ```csharp public static void ExportAsXml(this IEnumerable textAreas, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of text areas. | | fileName | String | The full path to the output file. | #### ExportAsXml(this IEnumerable<PageTableArea>, Stream) Exports the collection of tables to the stream in XML format. ```csharp public static void ExportAsXml(this IEnumerable tables, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collecton of tables. | | stream | Stream | The output stream. | #### ExportAsXml(this IEnumerable<PageTableArea>, string) Exports the collection of tables to the file in XML format. ```csharp public static void ExportAsXml(this IEnumerable tables, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collection of tables. | | fileName | String | The full path to the output file. | #### ExportAsXml(this IEnumerable<PageBarcodeArea>, Stream) Exports the collection of barcodes to the stream in XML format. ```csharp public static void ExportAsXml(this IEnumerable barcodes, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | stream | Stream | The output stream. | #### ExportAsXml(this IEnumerable<PageBarcodeArea>, string) Exports the collection of barcodes to the file in XML format. ```csharp public static void ExportAsXml(this IEnumerable barcodes, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | fileName | String | The full path to the output file. | #### ExportAsXml(this DocumentData, Stream) Exports document data to the stream in XML format. ```csharp public static void ExportAsXml(this DocumentData documentData, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | stream | Stream | The output stream. | #### ExportAsXml(this DocumentData, string) Exports document data to the file in XML format. ```csharp public static void ExportAsXml(this DocumentData documentData, string fileName) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | fileName | String | The full path to the output file. | ### JsonExporter Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/jsonexporter.md #### JsonExporter class Provides the functionality to export data in JSON format. ```csharp public sealed class JsonExporter : ExporterBase ``` #### Constructors | Name | Description | | --- | --- | | JsonExporter() | The default constructor. | #### Methods | Name | Description | | --- | --- | | override Export(DocumentData, Stream) | Exports document data to the stream. | | Export(DocumentData, string) | Exports document data to the file. | | override Export(IDocumentInfo, Stream) | Exports the document information to the stream. | | Export(IDocumentInfo, string) | Exports the document information to the file. | | override Export(IEnumerable<MetadataItem>, Stream) | Exports the collection of metadata to the stream. | | Export(IEnumerable<MetadataItem>, string) | Exports the collection of metadata to the file. | | override Export(IEnumerable<PageBarcodeArea>, Stream) | Exports the collection of barcodes to the stream. | | Export(IEnumerable<PageBarcodeArea>, string) | Exports the collection of barcodes to the file. | | override Export(IEnumerable<PageTableArea>, Stream) | Exports the collection of tables to the stream. | | Export(IEnumerable<PageTableArea>, string) | Exports the collection of tables to the file. | | override Export(IEnumerable<PageTextArea>, Stream) | Exports the collection of text areas to the stream. | | Export(IEnumerable<PageTextArea>, string) | Exports the collection of text areas to the file. | ### Export Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/jsonexporter/export.md #### Export(IEnumerable<MetadataItem>, Stream) Exports the collection of metadata to the stream. ```csharp public override void Export(IEnumerable metadata, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | stream | Stream | The output stream. | #### Export(IDocumentInfo, Stream) Exports the document information to the stream. ```csharp public override void Export(IDocumentInfo documentInfo, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageTextArea>, Stream) Exports the collection of text areas to the stream. ```csharp public override void Export(IEnumerable textAreas, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of the text areas. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageTableArea>, Stream) Exports the collection of tables to the stream. ```csharp public override void Export(IEnumerable tables, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collecton of tables. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageBarcodeArea>, Stream) Exports the collection of barcodes to the stream. ```csharp public override void Export(IEnumerable barcodes, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | stream | Stream | The output stream. | #### Export(DocumentData, Stream) Exports document data to the stream. ```csharp public override void Export(DocumentData documentData, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | stream | Stream | The output stream. | ### JsonExporter Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/jsonexporter/jsonexporter.md #### JsonExporter constructor The default constructor. ```csharp public JsonExporter() ``` ### XmlExporter Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/xmlexporter.md #### XmlExporter class Provides the functionality to export data in XML format. ```csharp public sealed class XmlExporter : ExporterBase ``` #### Constructors | Name | Description | | --- | --- | | XmlExporter() | The default constructor. | #### Methods | Name | Description | | --- | --- | | override Export(DocumentData, Stream) | Exports document data to the stream. | | Export(DocumentData, string) | Exports document data to the file. | | override Export(IDocumentInfo, Stream) | Exports the document information to the stream. | | Export(IDocumentInfo, string) | Exports the document information to the file. | | override Export(IEnumerable<MetadataItem>, Stream) | Exports the collection of metadata to the stream. | | Export(IEnumerable<MetadataItem>, string) | Exports the collection of metadata to the file. | | override Export(IEnumerable<PageBarcodeArea>, Stream) | Exports the collection of barcodes to the stream. | | Export(IEnumerable<PageBarcodeArea>, string) | Exports the collection of barcodes to the file. | | override Export(IEnumerable<PageTableArea>, Stream) | Exports the collection of tables to the stream. | | Export(IEnumerable<PageTableArea>, string) | Exports the collection of tables to the file. | | override Export(IEnumerable<PageTextArea>, Stream) | Exports the collection of text areas to the stream. | | Export(IEnumerable<PageTextArea>, string) | Exports the collection of text areas to the file. | ### Export Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/xmlexporter/export.md #### Export(IEnumerable<MetadataItem>, Stream) Exports the collection of metadata to the stream. ```csharp public override void Export(IEnumerable metadata, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | metadata | IEnumerable`1 | The collection of metadata. | | stream | Stream | The output stream. | #### Export(IDocumentInfo, Stream) Exports the document information to the stream. ```csharp public override void Export(IDocumentInfo documentInfo, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentInfo | IDocumentInfo | The document information. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageTextArea>, Stream) Exports the collection of text areas to the stream. ```csharp public override void Export(IEnumerable textAreas, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | textAreas | IEnumerable`1 | The collection of the text areas. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageTableArea>, Stream) Exports the collection of tables to the stream. ```csharp public override void Export(IEnumerable tables, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | tables | IEnumerable`1 | The collecton of tables. | | stream | Stream | The output stream. | #### Export(IEnumerable<PageBarcodeArea>, Stream) Exports the collection of barcodes to the stream. ```csharp public override void Export(IEnumerable barcodes, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | barcodes | IEnumerable`1 | The collection of barcodes. | | stream | Stream | The output stream. | #### Export(DocumentData, Stream) Exports document data to the stream. ```csharp public override void Export(DocumentData documentData, Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | documentData | DocumentData | Document data. | | stream | Stream | The output stream. | ### XmlExporter Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.export/xmlexporter/xmlexporter.md #### XmlExporter constructor The default constructor. ```csharp public XmlExporter() ``` ### GroupDocs.Parser.Options Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options.md The namespace provides classes to specify additional options when parsing data from documents. #### Classes | Class | Description | | --- | --- | | AdjustmentFieldsOptions | Provides the options which are used to generate the adjustment fields. | | BarcodeOptions | Provides the options which are used for barcode extraction. | | CreatePageStream | Represents a method that returns a stream to write page preview data. | | DocumentInfo | Represents the document information. | | EmailConnection | Represents the email connection information. | | EmailEwsConnection | Represents the email connection information for EWS protocol. | | EmailImapConnection | Represents the email connection information for IMAP protocol. | | EmailPopConnection | Represents the email connection information for POP protocol. | | ExternalResourceHandler | Provides a handler for external resources loading. | | ExternalResourceLoadingArgs | Provides the data for `OnLoading` method. | | Features | Represents the supported features list. Allows to obtain information which features are supported or not for the document. | | FileInfo | Represents the file information. | | FileType | Represents the file type. Provides methods to obtain list of all file types supported by **GroupDocs.Parser**. | | FormattedTextOptions | Provides the options which are used for formatted text extraction. | | HighlightOptions | Provides the options which are used to extract a highlight (a block of text aroud found text in search scenarios). | | ImageOptions | Provides the options which are used for image extraction. | | LoadOptions | Provides the options which are used to open a file. | | OcrConnectorBase | Provides the OCR functionality. | | OcrEventHandler | Provides a handler for OCR events. | | OcrOptions | Provides the options which are used for OCR Connector. | | PageAreaOptions | Provides the options which are used for page areas extraction. | | PageInfo | Represents the document page information. | | PagePreviewOptions | Provides the options which are used to generate the document page preview. | | PageRenderInfo | Represents the information of how a page is rendered. | | PageTableAreaOptions | Provides the options which are used for page table areas extraction. | | PageTextAreaOptions | Provides the options which are used for page text areas extraction. | | ParseByTemplateOptions | Provides the options which are used to parse by template. | | ParserSettings | Provides the settings which are used to customize data extraction. | | PreviewOptions | Provides options to sets requirements and stream delegates for preview generation. | | PreviewPageRender | Represents a method which is called before a document page is rendered. | | ReleasePageStream | Represents a method which releases the stream created by the `CreatePageStream` delegate. | | SearchOptions | Provides the options which are used for text search. | | TextDocumentInfo | Represents the text document information. | | TextOptions | Provides the options which are used for text extraction. | | WorksheetOptions | Provides the options which are used for the worksheet extraction. | #### Interfaces | Interface | Description | | --- | --- | | IDocumentInfo | Represents the document information. | | ILogger | Defines the interface of a logger that is used for logging events and errors during data extraction. | #### Enumeration | Enumeration | Description | | --- | --- | | FileFormat | Defines a type of the file. | | FileTypeDetectionMode | Defines a mode of the file type detection. | | FormattedTextMode | Defines a formatted text mode. | | ImageFormat | Defines a format of the image. | | PagePreviewFormat | Represents supported preview formats. | | PreviewOptions.PreviewFormats | Represents supported preview formats. | | QualityMode | Defines a level of the quality. | ### AdjustmentFieldsOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/adjustmentfieldsoptions.md #### AdjustmentFieldsOptions class Provides the options which are used to generate the adjustment fields. ```csharp public sealed class AdjustmentFieldsOptions ``` #### Constructors | Name | Description | | --- | --- | | AdjustmentFieldsOptions() | Initializes a new instance of the `AdjustmentFieldsOptions` class. | #### Properties | Name | Description | | --- | --- | | FieldNamePrefix { get; set; } | Gets or sets the generated field name prefix. The default value is `"Generated"`. | | OcrOptions { get; set; } | Gets or sets the additional options for OCR functionality. The default value is `null`. | | PageIndex { get; set; } | Gets or sets index of the page for which the adjustment fields are to be generated. The default value is `0`. | | RequestedPageWidth { get; set; } | Gets or sets the requested page width value. This value is used to scale the template fields to the desired page size. The default value is `null` which means no scaling is made. | ### AdjustmentFieldsOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/adjustmentfieldsoptions/adjustmentfieldsoptions.md #### AdjustmentFieldsOptions constructor Initializes a new instance of the `AdjustmentFieldsOptions` class. ```csharp public AdjustmentFieldsOptions() ``` ### FieldNamePrefix Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/adjustmentfieldsoptions/fieldnameprefix.md #### AdjustmentFieldsOptions.FieldNamePrefix property Gets or sets the generated field name prefix. The default value is `"Generated"`. ```csharp public string FieldNamePrefix { get; set; } ``` ##### Property Value The generated field name prefix. ### OcrOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/adjustmentfieldsoptions/ocroptions.md #### AdjustmentFieldsOptions.OcrOptions property Gets or sets the additional options for OCR functionality. The default value is `null`. ```csharp public OcrOptions OcrOptions { get; set; } ``` ##### Property Value An instance of `OcrOptions` class with the additional OCR options. ### PageIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/adjustmentfieldsoptions/pageindex.md #### AdjustmentFieldsOptions.PageIndex property Gets or sets index of the page for which the adjustment fields are to be generated. The default value is `0`. ```csharp public int PageIndex { get; set; } ``` ##### Property Value The page index. ### RequestedPageWidth Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/adjustmentfieldsoptions/requestedpagewidth.md #### AdjustmentFieldsOptions.RequestedPageWidth property Gets or sets the requested page width value. This value is used to scale the template fields to the desired page size. The default value is `null` which means no scaling is made. ```csharp public double? RequestedPageWidth { get; set; } ``` ##### Property Value The requested page width value. ### BarcodeOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions.md #### BarcodeOptions class Provides the options which are used for barcode extraction. ```csharp public sealed class BarcodeOptions ``` #### Constructors | Name | Description | | --- | --- | | BarcodeOptions() | Initializes a new instance of the `BarcodeOptions` class with default values. | | BarcodeOptions(Rectangle) | Initializes a new instance of the `BarcodeOptions` class with the rectangular area. | | BarcodeOptions(QualityMode, QualityMode, params string[]) | Initializes a new instance of the `BarcodeOptions` class with quality settings and code types. | | BarcodeOptions(Rectangle, QualityMode, QualityMode, float?, bool, params string[]) | Initializes a new instance of the `BarcodeOptions` class. | #### Properties | Name | Description | | --- | --- | | AllowIncorrectBarcodes { get; set; } | Gets the value that indicates whether the incorrect barcodes are allowed. | | BarcodeQuality { get; set; } | Gets the quality of a source barcode. | | CodeTypes { get; set; } | Gets the types of barcodes to read. | | Dimension { get; set; } | Gets the minimal size of the barcode minimal element. | | ImageQuality { get; set; } | Gets the quality of a source image. | | PagePreviewOptions { get; set; } | Gets or sets the document page preview options. | | Rectangle { get; set; } | Gets the rectangular area that contains page areas. | ### AllowIncorrectBarcodes Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/allowincorrectbarcodes.md #### BarcodeOptions.AllowIncorrectBarcodes property Gets the value that indicates whether the incorrect barcodes are allowed. ```csharp public bool AllowIncorrectBarcodes { get; set; } ``` ##### Property Value `true` if the incorrect barcodes are allowed; otherwise, `false`. ### BarcodeOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/barcodeoptions.md #### BarcodeOptions() Initializes a new instance of the `BarcodeOptions` class with default values. ```csharp public BarcodeOptions() ``` #### BarcodeOptions(Rectangle) Initializes a new instance of the `BarcodeOptions` class with the rectangular area. ```csharp public BarcodeOptions(Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains barcodes. | #### BarcodeOptions(QualityMode, QualityMode, params string[]) Initializes a new instance of the `BarcodeOptions` class with quality settings and code types. ```csharp public BarcodeOptions(QualityMode imageQuality, QualityMode barcodeQuality, params string[] codeTypes) ``` | Parameter | Type | Description | | --- | --- | --- | | imageQuality | QualityMode | The quality of a source image. | | barcodeQuality | QualityMode | The quality of a source barcode. | | codeTypes | String[] | The types of barcodes to read. | #### BarcodeOptions(Rectangle, QualityMode, QualityMode, float?, bool, params string[]) Initializes a new instance of the `BarcodeOptions` class. ```csharp public BarcodeOptions(Rectangle rectangle, QualityMode imageQuality, QualityMode barcodeQuality, float? dimension, bool allowIncorrectBarcodes, params string[] codeTypes) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains barcodes. | | imageQuality | QualityMode | The quality of a source image. | | barcodeQuality | QualityMode | The quality of a source barcode. | | dimension | Nullable`1 | The minimal size of the barcode minimal element. | | allowIncorrectBarcodes | Boolean | The value that indicates whether the incorrect barcodes are allowed. | | codeTypes | String[] | The types of barcodes to read. | ### BarcodeQuality Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/barcodequality.md #### BarcodeOptions.BarcodeQuality property Gets the quality of a source barcode. ```csharp public QualityMode BarcodeQuality { get; set; } ``` ##### Property Value The mode which defines the level of the source barcode quality. ### CodeTypes Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/codetypes.md #### BarcodeOptions.CodeTypes property Gets the types of barcodes to read. ```csharp public IReadOnlyList CodeTypes { get; set; } ``` ##### Property Value The readonly collection that contains a types of barcodes to read; empty collection if isn't set. ### Dimension Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/dimension.md #### BarcodeOptions.Dimension property Gets the minimal size of the barcode minimal element. ```csharp public float? Dimension { get; set; } ``` ##### Property Value The float value that represents the barcode minimal element; `null` if auto mode is used. ### ImageQuality Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/imagequality.md #### BarcodeOptions.ImageQuality property Gets the quality of a source image. ```csharp public QualityMode ImageQuality { get; set; } ``` ##### Property Value The mode which defines the level of the source image quality. ### PagePreviewOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/pagepreviewoptions.md #### BarcodeOptions.PagePreviewOptions property Gets or sets the document page preview options. ```csharp public PagePreviewOptions PagePreviewOptions { get; set; } ``` ##### Property Value An instance of `PagePreviewOptions` class that sets properties for the document page preview generation. ### Rectangle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/barcodeoptions/rectangle.md #### BarcodeOptions.Rectangle property Gets the rectangular area that contains page areas. ```csharp public Rectangle Rectangle { get; set; } ``` ##### Property Value An instance of `Rectangle` class that represents the rectangular area that contains page areas; `null` if it isn't set. ### CreatePageStream Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/createpagestream.md #### CreatePageStream delegate Represents a method that returns a stream to write page preview data. ```csharp public delegate Stream CreatePageStream(int pageNumber); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number of a page to generate a thumbnail. | ##### Return Value The stream to write the page preview. ### DocumentInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/documentinfo.md #### DocumentInfo class Represents the document information. ```csharp public class DocumentInfo : IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | FileType { get; } | Gets the document type. | | PageCount { get; } | Gets the total number of document pages. | | Pages { get; } | Gets the information about pages such as the index and page size. | | RawPageCount { get; } | Gets the total number of document raw pages. | | Size { get; } | Gets the size of the document in bytes. | ##### Remarks **Learn more:** * [Get document info](https://docs.groupdocs.com/display/parsernet/Get+document+info) * [Detect encoding](https://docs.groupdocs.com/display/parsernet/Detect+encoding) ### FileType Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/documentinfo/filetype.md #### DocumentInfo.FileType property Gets the document type. ```csharp public FileType FileType { get; } ``` ##### Property Value An instance of `FileType` class that represents the type of the document. ### PageCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/documentinfo/pagecount.md #### DocumentInfo.PageCount property Gets the total number of document pages. ```csharp public int PageCount { get; } ``` ##### Property Value An integer value that represents a total number of pages. ### Pages Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/documentinfo/pages.md #### DocumentInfo.Pages property Gets the information about pages such as the index and page size. ```csharp public IList Pages { get; } ``` ##### Property Value A collection with instances of `PageInfo` classes. ### RawPageCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/documentinfo/rawpagecount.md #### DocumentInfo.RawPageCount property Gets the total number of document raw pages. ```csharp public int RawPageCount { get; } ``` ##### Property Value An integer value that represents a total number of raw pages. ##### Remarks Use `RawPageCount` property instead of `PageCount` property for raw text extraction. Some documents have different page numbers in accurate and raw text extraction modes. `PageCount` property may perform extra calculations which impacts on text extraction speed in raw mode. ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/documentinfo/size.md #### DocumentInfo.Size property Gets the size of the document in bytes. ```csharp public long Size { get; } ``` ##### Property Value An integer value that represents the size of the document in bytes. ### EmailConnection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailconnection.md #### EmailConnection class Represents the email connection information. ```csharp public abstract class EmailConnection ``` #### Properties | Name | Description | | --- | --- | | Password { get; } | Gets the password. | | UserName { get; } | Gets the user name. | ### Password Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailconnection/password.md #### EmailConnection.Password property Gets the password. ```csharp public string Password { get; } ``` ##### Property Value A string value that represents the password. ### UserName Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailconnection/username.md #### EmailConnection.UserName property Gets the user name. ```csharp public string UserName { get; } ``` ##### Property Value A string value that represents the user name. ### EmailEwsConnection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailewsconnection.md #### EmailEwsConnection class Represents the email connection information for EWS protocol. ```csharp public sealed class EmailEwsConnection : EmailConnection ``` #### Constructors | Name | Description | | --- | --- | | EmailEwsConnection(string, string, string) | Initializes a new instance of the `EmailEwsConnection` class. | | EmailEwsConnection(string, string, string, string) | Initializes a new instance of the `EmailEwsConnection` class. | #### Properties | Name | Description | | --- | --- | | Domain { get; } | Gets the domain name. | | MailboxUri { get; } | Gets the URI of the mailbox. | | Password { get; } | Gets the password. | | UserName { get; } | Gets the user name. | ### Domain Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailewsconnection/domain.md #### EmailEwsConnection.Domain property Gets the domain name. ```csharp public string Domain { get; } ``` ##### Property Value A string value that represents the domain name. ### EmailEwsConnection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailewsconnection/emailewsconnection.md #### EmailEwsConnection(string, string, string) Initializes a new instance of the `EmailEwsConnection` class. ```csharp public EmailEwsConnection(string mailboxUri, string userName, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | mailboxUri | String | The URI of mailbox. | | userName | String | The user name. | | password | String | The password. | #### EmailEwsConnection(string, string, string, string) Initializes a new instance of the `EmailEwsConnection` class. ```csharp public EmailEwsConnection(string mailboxUri, string domain, string userName, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | mailboxUri | String | The URI of the mailbox. | | domain | String | The domain name. | | userName | String | The user name. | | password | String | The password. | ### MailboxUri Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailewsconnection/mailboxuri.md #### EmailEwsConnection.MailboxUri property Gets the URI of the mailbox. ```csharp public string MailboxUri { get; } ``` ##### Property Value A string value that represents a URI of the mailbox. ### EmailImapConnection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailimapconnection.md #### EmailImapConnection class Represents the email connection information for IMAP protocol. ```csharp public sealed class EmailImapConnection : EmailConnection ``` #### Constructors | Name | Description | | --- | --- | | EmailImapConnection(string, int, string, string) | Initializes a new instance of the `EmailImapConnection` class. | #### Properties | Name | Description | | --- | --- | | Host { get; } | Gets the host name. | | Password { get; } | Gets the password. | | Port { get; } | Gets the port number. | | UserName { get; } | Gets the user name. | ### EmailImapConnection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailimapconnection/emailimapconnection.md #### EmailImapConnection constructor Initializes a new instance of the `EmailImapConnection` class. ```csharp public EmailImapConnection(string host, int port, string userName, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | host | String | The host name. | | port | Int32 | The port number. | | userName | String | The user name. | | password | String | The password. | ### Host Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailimapconnection/host.md #### EmailImapConnection.Host property Gets the host name. ```csharp public string Host { get; } ``` ##### Property Value A string value that represents the host name. ### Port Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailimapconnection/port.md #### EmailImapConnection.Port property Gets the port number. ```csharp public int Port { get; } ``` ##### Property Value An integer value that represents the port number. ### EmailPopConnection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailpopconnection.md #### EmailPopConnection class Represents the email connection information for POP protocol. ```csharp public sealed class EmailPopConnection : EmailConnection ``` #### Constructors | Name | Description | | --- | --- | | EmailPopConnection(string, int, string, string) | Initializes a new instance of the `EmailPopConnection` class. | #### Properties | Name | Description | | --- | --- | | Host { get; } | Gets the host name. | | Password { get; } | Gets the password. | | Port { get; } | Gets the port number. | | UserName { get; } | Gets the user name. | ### EmailPopConnection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailpopconnection/emailpopconnection.md #### EmailPopConnection constructor Initializes a new instance of the `EmailPopConnection` class. ```csharp public EmailPopConnection(string host, int port, string userName, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | host | String | The host name. | | port | Int32 | The port number. | | userName | String | The user name. | | password | String | The password. | ### Host Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailpopconnection/host.md #### EmailPopConnection.Host property Gets the host name. ```csharp public string Host { get; } ``` ##### Property Value A string value that represents the host name. ### Port Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/emailpopconnection/port.md #### EmailPopConnection.Port property Gets the port number. ```csharp public int Port { get; } ``` ##### Property Value An integer value that represents the port number. ### ExternalResourceHandler Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourcehandler.md #### ExternalResourceHandler class Provides a handler for external resources loading. ```csharp public class ExternalResourceHandler ``` #### Constructors | Name | Description | | --- | --- | | ExternalResourceHandler() | The default constructor. | #### Methods | Name | Description | | --- | --- | | virtual OnLoading(ExternalResourceLoadingArgs) | Called before any external resource load. | ### ExternalResourceHandler Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourcehandler/externalresourcehandler.md #### ExternalResourceHandler constructor The default constructor. ```csharp public ExternalResourceHandler() ``` ### OnLoading Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourcehandler/onloading.md #### ExternalResourceHandler.OnLoading method Called before any external resource load. ```csharp public virtual void OnLoading(ExternalResourceLoadingArgs args) ``` | Parameter | Type | Description | | --- | --- | --- | | args | ExternalResourceLoadingArgs | The data to control external resource loading. | ### ExternalResourceLoadingArgs Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourceloadingargs.md #### ExternalResourceLoadingArgs class Provides the data for `OnLoading` method. ```csharp public sealed class ExternalResourceLoadingArgs ``` #### Constructors | Name | Description | | --- | --- | | ExternalResourceLoadingArgs(string) | Initializes a new instance of the `ExternalResourceLoadingArgs` class. | #### Properties | Name | Description | | --- | --- | | Data { get; set; } | Gets or sets the user data. | | Skipped { get; set; } | Gets or sets the value that indicates whether the loading of the external resource must be skipped. | | Uri { get; set; } | Gets or sets the URI of the external resource. | ### Data Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourceloadingargs/data.md #### ExternalResourceLoadingArgs.Data property Gets or sets the user data. ```csharp public byte[] Data { get; set; } ``` ##### Property Value The byte array with the user content of the external resource. If set, loading is skipped and these data are used. ### ExternalResourceLoadingArgs Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourceloadingargs/externalresourceloadingargs.md #### ExternalResourceLoadingArgs constructor Initializes a new instance of the `ExternalResourceLoadingArgs` class. ```csharp public ExternalResourceLoadingArgs(string uri) ``` | Parameter | Type | Description | | --- | --- | --- | | uri | String | URI of the external resource. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Throws if *uri* is `null` or an empty string. | ### Skipped Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourceloadingargs/skipped.md #### ExternalResourceLoadingArgs.Skipped property Gets or sets the value that indicates whether the loading of the external resource must be skipped. ```csharp public bool Skipped { get; set; } ``` ##### Property Value `true` if the loading of the external resource must be skipped; otherwise, `false`. ### Uri Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/externalresourceloadingargs/uri.md #### ExternalResourceLoadingArgs.Uri property Gets or sets the URI of the external resource. ```csharp public string Uri { get; set; } ``` ##### Property Value A string value that represents URI of the external resource. Can be changed by a user. In this case the external resource is loaded from a new URI. ### Features Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features.md #### Features class Represents the supported features list. Allows to obtain information which features are supported or not for the document. ```csharp public sealed class Features ``` #### Properties | Name | Description | | --- | --- | | Barcodes { get; } | Gets the value that indicates whether barcodes extraction is supported. | | Container { get; } | Gets the value that indicates whether container extraction is supported. | | FormattedText { get; } | Gets the value that indicates whether formatted text extraction is supported. | | FormattedTextPage { get; } | Gets the value that indicates whether formatted text page extraction is supported. | | Highlight { get; } | Gets the value that indicates whether highlight extraction is supported. | | Hyperlinks { get; } | Gets the value that indicates whether hyperlinks extraction is supported. | | Images { get; } | Gets the value that indicates whether images extraction is supported. | | Metadata { get; } | Gets the value that indicates whether metadata extraction is supported. | | Ocr { get; } | Gets the value that indicates whether OCR functionality is supported. | | PagePreview { get; } | Gets the value that indicates whether the page preview generation is supported. | | ParseByTemplate { get; } | Gets the value that indicates whether parsing by template is supported. | | ParseForm { get; } | Gets the value that indicates whether form parsing is supported. | | Preview { get; } | Gets the value that indicates whether preview generation is supported. | | Search { get; } | Gets the value that indicates whether text search is supported. | | Structure { get; } | Gets the value that indicates whether text structure extraction is supported. | | Tables { get; } | Gets the value that indicates whether tables extraction is supported. | | Text { get; } | Gets the value that indicates whether text extraction is supported. | | TextAreas { get; } | Gets the value that indicates whether text areas extraction is supported. | | TextPage { get; } | Gets the value that indicates whether text page extraction is supported. | | Toc { get; } | Gets the value that indicates whether table of contents extraction is supported. | | Worksheet { get; } | Gets the value that indicates whether the worksheet extraction is supported. | #### Methods | Name | Description | | --- | --- | | IsFeatureSupported(string) | Returns the value that indicates whether the feature is supported. | ##### Remarks An instance of this class is used as `Features` property. See the usage examples there. **Learn more:** * [Get supported features](https://docs.groupdocs.com/display/parsernet/Get+supported+features) ### Barcodes Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/barcodes.md #### Features.Barcodes property Gets the value that indicates whether barcodes extraction is supported. ```csharp public bool Barcodes { get; } ``` ##### Return Value `true` if barcodes extraction is supported; otherwise, `false`. ### Container Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/container.md #### Features.Container property Gets the value that indicates whether container extraction is supported. ```csharp public bool Container { get; } ``` ##### Return Value `true` if container extraction is supported; otherwise, `false`. ### FormattedText Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/formattedtext.md #### Features.FormattedText property Gets the value that indicates whether formatted text extraction is supported. ```csharp public bool FormattedText { get; } ``` ##### Return Value `true` if formatted text extraction is supported; otherwise, `false`. ### FormattedTextPage Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/formattedtextpage.md #### Features.FormattedTextPage property Gets the value that indicates whether formatted text page extraction is supported. ```csharp public bool FormattedTextPage { get; } ``` ##### Return Value `true` if formatted text page extraction is supported; otherwise, `false`. ### Highlight Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/highlight.md #### Features.Highlight property Gets the value that indicates whether highlight extraction is supported. ```csharp public bool Highlight { get; } ``` ##### Return Value `true` if highlight extraction is supported; otherwise, `false`. ### Hyperlinks Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/hyperlinks.md #### Features.Hyperlinks property Gets the value that indicates whether hyperlinks extraction is supported. ```csharp public bool Hyperlinks { get; } ``` ##### Return Value `true` if hyperlinks extraction is supported; otherwise, `false`. ### Images Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/images.md #### Features.Images property Gets the value that indicates whether images extraction is supported. ```csharp public bool Images { get; } ``` ##### Return Value `true` if images extraction is supported; otherwise, `false`. ### IsFeatureSupported Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/isfeaturesupported.md #### Features.IsFeatureSupported method Returns the value that indicates whether the feature is supported. ```csharp public bool IsFeatureSupported(string featureName) ``` | Parameter | Type | Description | | --- | --- | --- | | featureName | String | The feature name. | ##### Return Value `true` if the feature is supported; otherwise, `false`. ### Metadata Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/metadata.md #### Features.Metadata property Gets the value that indicates whether metadata extraction is supported. ```csharp public bool Metadata { get; } ``` ##### Return Value `true` if metadata extraction is supported; otherwise, `false`. ### Ocr Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/ocr.md #### Features.Ocr property Gets the value that indicates whether OCR functionality is supported. ```csharp public bool Ocr { get; } ``` ##### Return Value `true` if OCR functionality is supported; otherwise, `false`. ### PagePreview Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/pagepreview.md #### Features.PagePreview property Gets the value that indicates whether the page preview generation is supported. ```csharp public bool PagePreview { get; } ``` ##### Return Value `true` if the page preview generation is supported; otherwise, `false`. ### ParseByTemplate Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/parsebytemplate.md #### Features.ParseByTemplate property Gets the value that indicates whether parsing by template is supported. ```csharp public bool ParseByTemplate { get; } ``` ##### Return Value `true` if parsing by template is supported; otherwise, `false`. ### ParseForm Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/parseform.md #### Features.ParseForm property Gets the value that indicates whether form parsing is supported. ```csharp public bool ParseForm { get; } ``` ##### Return Value `true` if form parsing is supported; otherwise, `false`. ### Preview Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/preview.md #### Features.Preview property Gets the value that indicates whether preview generation is supported. ```csharp public bool Preview { get; } ``` ##### Return Value `true` if preview generation is supported; otherwise, `false`. ### Search Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/search.md #### Features.Search property Gets the value that indicates whether text search is supported. ```csharp public bool Search { get; } ``` ##### Return Value `true` if text search is supported; otherwise, `false`. ### Structure Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/structure.md #### Features.Structure property Gets the value that indicates whether text structure extraction is supported. ```csharp public bool Structure { get; } ``` ##### Return Value `true` if text structure extraction is supported; otherwise, `false`. ### Tables Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/tables.md #### Features.Tables property Gets the value that indicates whether tables extraction is supported. ```csharp public bool Tables { get; } ``` ##### Return Value `true` if tables extraction is supported; otherwise, `false`. ### Text Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/text.md #### Features.Text property Gets the value that indicates whether text extraction is supported. ```csharp public bool Text { get; } ``` ##### Return Value `true` if text extraction is supported; otherwise, `false`. ### TextAreas Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/textareas.md #### Features.TextAreas property Gets the value that indicates whether text areas extraction is supported. ```csharp public bool TextAreas { get; } ``` ##### Return Value `true` if text areas extraction is supported; otherwise, `false`. ### TextPage Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/textpage.md #### Features.TextPage property Gets the value that indicates whether text page extraction is supported. ```csharp public bool TextPage { get; } ``` ##### Return Value `true` if text page extraction is supported; otherwise, `false`. ### Toc Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/toc.md #### Features.Toc property Gets the value that indicates whether table of contents extraction is supported. ```csharp public bool Toc { get; } ``` ##### Return Value `true` if table of contents extraction is supported; otherwise, `false`. ### Worksheet Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/features/worksheet.md #### Features.Worksheet property Gets the value that indicates whether the worksheet extraction is supported. ```csharp public bool Worksheet { get; } ``` ##### Return Value `true` if the worksheet extraction is supported; otherwise, `false`. ### FileFormat Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/fileformat.md #### FileFormat enumeration Defines a type of the file. ```csharp public enum FileFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Unknown | `0` | Default value. | | WordProcessing | `1` | Word Processing document (DOC, DOCX, ODT, etc). | | Spreadsheet | `2` | Spreadsheet document (XLS, XLSX, ODS, etc). | | Presentation | `3` | Presentation document (PPT, PPTX, ODP, etc). | | Email | `4` | Email document (email messages or email message containers). | | Pdf | `5` | PDF document. | | Markup | `6` | Markup document (HTML, XML, Markdown, etc). | | Ebook | `7` | Ebook document (ePUB, FictionBook, etc). | | Note | `8` | Note document. | | Archive | `9` | Archive file. | | Database | `10` | Database files (via ADO.NET). | | Image | `11` | Image file. | ##### Remarks **Learn more:** * [Loading specific file formats](https://docs.groupdocs.com/display/parsernet/Loading+specific+file+formats) ### FileInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/fileinfo.md #### FileInfo class Represents the file information. ```csharp public class FileInfo ``` #### Properties | Name | Description | | --- | --- | | FileType { get; } | Gets the document type. | | IsEncrypted { get; } | Gets a value that represents whether a file is password-protected. | | Size { get; } | Gets the size of the document in bytes. | ### FileType Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/fileinfo/filetype.md #### FileInfo.FileType property Gets the document type. ```csharp public FileType FileType { get; } ``` ##### Property Value An instance of `FileType` class that represents the type of the document. ### IsEncrypted Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/fileinfo/isencrypted.md #### FileInfo.IsEncrypted property Gets a value that represents whether a file is password-protected. ```csharp public bool IsEncrypted { get; } ``` ##### Property Value A boolean true if a file is password-protected; otherwise false. ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/fileinfo/size.md #### FileInfo.Size property Gets the size of the document in bytes. ```csharp public long Size { get; } ``` ##### Property Value An integer value that represents the size of the document in bytes. ### FileType Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype.md #### FileType class Represents the file type. Provides methods to obtain list of all file types supported by **GroupDocs.Parser**. ```csharp public sealed class FileType : IEquatable ``` #### Properties | Name | Description | | --- | --- | | Extension { get; } | Filename suffix (including the period ".") e.g. ".doc". | | FileFormat { get; } | File type name e.g. "Microsoft Word Document". | | Format { get; } | Format of the file e.g. "WordProcessing". | #### Methods | Name | Description | | --- | --- | | static FromExtension(string) | Maps file extension to file type. | | Equals(FileType) | Determines whether the current `FileType` is the same as specified `FileType` object. | | override Equals(object) | Determines whether the current `FileType` is the same as specified object. | | override GetHashCode() | Returns the hash code for the current `FileType` object. | | override ToString() | Returns a string that represents the current object. | | static GetSupportedFileTypes() | Retrieves supported file types | | operator == | Determines whether two `FileType` objects are the same. | | operator != | Determines whether two `FileType` objects are not the same. | #### Fields | Name | Description | | --- | --- | | static readonly AZW3 | AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. Learn more about this file format [here](https://wiki.fileformat.com/ebook/azw3/). | | static readonly BMP | Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp/). | | static readonly BZ2 | Compressed file using Bzip2 algorithm. | | static readonly CGM | Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/cgm/). | | static readonly CHM | The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. Learn more about this file format [here](https://wiki.fileformat.com/web/chm/). | | static readonly CSV | Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/csv/). | | static readonly DCM | Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here](https://wiki.fileformat.com/image/dcm/). | | static readonly DIB | A DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format [here](https://wiki.fileformat.com/image/dib/). | | static readonly DJVU | DjVu, pronounced as “déjà vu”, is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). | | static readonly DOC | Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc/). | | static readonly DOCM | DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm/). | | static readonly DOCX | DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx/). | | static readonly DOT | Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot/). | | static readonly DOTM | A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm/). | | static readonly DOTX | Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx/). | | static readonly EMF | Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format [here](https://wiki.fileformat.com/image/emf/). | | static readonly EML | EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here](https://wiki.fileformat.com/email/eml/). | | static readonly EMLX | The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here](https://wiki.fileformat.com/email/emlx/). | | static readonly EPS | Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/eps/). | | static readonly EPUB | Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub/). | | static readonly FB2 | Files with FB2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. Learn more about this file format [here](https://wiki.fileformat.com/ebook/fb2/). | | static readonly GIF | A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif/). | | static readonly GZ | Files with .gz extension are compressed files created with gzip compression application. Learn more about this file format [here](https://wiki.fileformat.com/compression/gz/). | | static readonly HTM | Files with HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers such as Google Chrome, Internet Explorer, Firefox and a number of others. Learn more about this file format [here](https://wiki.fileformat.com/web/htm/). | | static readonly HTML | HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html/). | | static readonly ICO | Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format [here](https://wiki.fileformat.com/image/ico/). | | static readonly J2C | JPEG 2000 (J2C) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly J2K | JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly JP2 | JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly JPC | JPEG 2000 (JPC) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly JPEG | A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). | | static readonly JPF | JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly JPG | A JPG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). | | static readonly JPM | JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly JPX | JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). | | static readonly MD | Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/md/). | | static readonly MHT | Files with MHT extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml/). | | static readonly MHTML | Files with MHTML extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml/). | | static readonly MOBI | The Mobipocket file format (originally with extension .prc and later .mobi) is a proprietary, partially documented, binary format for ebooks. Learn more about this file format [here](https://wiki.fileformat.com/ebook/mobi/). | | static readonly MSG | MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://wiki.fileformat.com/email/msg/). | | static readonly NUMBERS | Files that contain the .numbers file extension are files that are created by the Apple iWork Numbers spreadsheet application. | | static readonly ODG | The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format [here](https://wiki.fileformat.com/image/odg/). | | static readonly ODP | Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here](https://wiki.fileformat.com/presentation/odp/). | | static readonly ODS | Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods/). | | static readonly ODT | ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt/). | | static readonly ONE | File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/one/). | | static readonly OST | OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here](https://wiki.fileformat.com/email/ost/) | | static readonly OTP | Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/otp/). | | static readonly OTS | The OTS files contain template files used by the OpenOffice spreadsheet application. | | static readonly OTT | Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/ott/). | | static readonly PCL | PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/pcl/). | | static readonly PDF | Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://wiki.fileformat.com/view/pdf/). | | static readonly PICT | The PICT file format is a meta-format that can be used for both bitmap images and vector images. | | static readonly PNG | PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format [here](https://wiki.fileformat.com/image/png/). | | static readonly POT | Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot/). | | static readonly POTM | Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm/). | | static readonly POTX | Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx/). | | static readonly PPS | PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps/). | | static readonly PPSM | Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm/). | | static readonly PPSX | PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx/). | | static readonly PPT | A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt/). | | static readonly PPTM | Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm/). | | static readonly PPTX | Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx/). | | static readonly PS | PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/ps/). | | static readonly PSD | PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here](https://wiki.fileformat.com/image/psd/). | | static readonly PST | Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here](https://wiki.fileformat.com/email/pst/) | | static readonly RAR | Files with .rar extension represent archive files that are created for storing information in compressed or normal form. Learn more about this file format [here](https://wiki.fileformat.com/compression/rar/). | | static readonly RTF | Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. The format facilitates cross-platform document exchange with other Microsoft Products, thus serving the purpose of interoperability. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/rtf/). | | static readonly SEVENZ | 7z is an archiving format for compressing files and folders with a high compression ratio. Learn more about this file format [here](https://wiki.fileformat.com/compression/7z/). | | static readonly SVG | An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/svg/). | | static readonly SVGZ | An SVGZ file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image and compressed with gzip compression. | | static readonly TAR | Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Learn more about this file format [here](https://wiki.fileformat.com/compression/tar/). | | static readonly TEXT | A file with .TEXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt/). | | static readonly TIF | TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). | | static readonly TIFF | TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). | | static readonly TSV | A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/tsv/). | | static readonly TXT | A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt/). | | static readonly Unknown | Represents unknown file type. | | static readonly WEBP | WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp/). | | static readonly WMF | Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf/). | | static readonly XHTML | The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0. Learn more about this file format [here](https://wiki.fileformat.com/web/xhtml/). | | static readonly XLA | The Excel 97-2003 Add-In, a supplemental program that is designed to run additional code. Supports the use of VBA projects. | | static readonly XLAM | The XML-based and macro-enabled Add-In format for Excel 2010 and Excel 2007. An Add-In is a supplemental program that is designed to run additional code. Supports the use of VBA projects and Excel 4.0 macro sheets (.xlm). | | static readonly XLS | Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xls/). | | static readonly XLSB | XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsb/). | | static readonly XLSM | Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsm/). | | static readonly XLSX | XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsx/). | | static readonly XLT | Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlt/). | | static readonly XLTM | The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltm/). | | static readonly XLTX | Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltx/). | | static readonly XML | XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here](https://wiki.fileformat.com/web/xml/). | | static readonly ZIP | ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format [here](https://wiki.fileformat.com/compression/zip/). | ##### Remarks **Learn more:** * [Supported Document Formats](https://docs.groupdocs.com/display/parsernet/Supported+Document+Formats) * [Get supported file formats](https://docs.groupdocs.com/display/parsernet/Get+supported+file+formats) * [Get document info](https://docs.groupdocs.com/display/parsernet/Get+document+info) ### AZW3 Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/azw3.md #### FileType.AZW3 field AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. Learn more about this file format [here](https://wiki.fileformat.com/ebook/azw3/). ```csharp public static readonly FileType AZW3; ``` ### BMP Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/bmp.md #### FileType.BMP field Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format [here](https://wiki.fileformat.com/image/bmp/). ```csharp public static readonly FileType BMP; ``` ### BZ2 Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/bz2.md #### FileType.BZ2 field Compressed file using Bzip2 algorithm. ```csharp public static readonly FileType BZ2; ``` ### CGM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/cgm.md #### FileType.CGM field Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/cgm/). ```csharp public static readonly FileType CGM; ``` ### CHM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/chm.md #### FileType.CHM field The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. Learn more about this file format [here](https://wiki.fileformat.com/web/chm/). ```csharp public static readonly FileType CHM; ``` ### CSV Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/csv.md #### FileType.CSV field Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/csv/). ```csharp public static readonly FileType CSV; ``` ### DCM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/dcm.md #### FileType.DCM field Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format [here](https://wiki.fileformat.com/image/dcm/). ```csharp public static readonly FileType DCM; ``` ### DIB Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/dib.md #### FileType.DIB field A DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format [here](https://wiki.fileformat.com/image/dib/). ```csharp public static readonly FileType DIB; ``` ### DJVU Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/djvu.md #### FileType.DJVU field DjVu, pronounced as “déjà vu”, is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format [here](https://wiki.fileformat.com/image/djvu/). ```csharp public static readonly FileType DJVU; ``` ### DOC Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/doc.md #### FileType.DOC field Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/doc/). ```csharp public static readonly FileType DOC; ``` ### DOCM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/docm.md #### FileType.DOCM field DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docm/). ```csharp public static readonly FileType DOCM; ``` ### DOCX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/docx.md #### FileType.DOCX field DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/docx/). ```csharp public static readonly FileType DOCX; ``` ### DOT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/dot.md #### FileType.DOT field Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dot/). ```csharp public static readonly FileType DOT; ``` ### DOTM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/dotm.md #### FileType.DOTM field A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotm/). ```csharp public static readonly FileType DOTM; ``` ### DOTX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/dotx.md #### FileType.DOTX field Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/dotx/). ```csharp public static readonly FileType DOTX; ``` ### EMF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/emf.md #### FileType.EMF field Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format [here](https://wiki.fileformat.com/image/emf/). ```csharp public static readonly FileType EMF; ``` ### EML Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/eml.md #### FileType.EML field EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format [here](https://wiki.fileformat.com/email/eml/). ```csharp public static readonly FileType EML; ``` ### EMLX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/emlx.md #### FileType.EMLX field The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format [here](https://wiki.fileformat.com/email/emlx/). ```csharp public static readonly FileType EMLX; ``` ### EPS Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/eps.md #### FileType.EPS field Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/eps/). ```csharp public static readonly FileType EPS; ``` ### EPUB Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/epub.md #### FileType.EPUB field Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format [here](https://wiki.fileformat.com/ebook/epub/). ```csharp public static readonly FileType EPUB; ``` ### Equals Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/equals.md #### Equals(FileType) Determines whether the current `FileType` is the same as specified `FileType` object. ```csharp public bool Equals(FileType other) ``` | Parameter | Type | Description | | --- | --- | --- | | other | FileType | The object to compare with the current `FileType` object. | ##### Return Value ```csharp true ``` if both `FileType` objects are the same; otherwise, ```csharp false ``` #### Equals(object) Determines whether the current `FileType` is the same as specified object. ```csharp public override bool Equals(object obj) ``` | Parameter | Type | Description | | --- | --- | --- | | obj | Object | The object to compare with the current `FileType` object. | ##### Return Value ```csharp true ``` if ```csharp obj ``` parameter is `FileType` and is the same as current `FileType` object; otherwise, ```csharp false ``` ### Extension Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/extension.md #### FileType.Extension property Filename suffix (including the period ".") e.g. ".doc". ```csharp public string Extension { get; } ``` ### FB2 Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/fb2.md #### FileType.FB2 field Files with FB2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. Learn more about this file format [here](https://wiki.fileformat.com/ebook/fb2/). ```csharp public static readonly FileType FB2; ``` ### FileFormat Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/fileformat.md #### FileType.FileFormat property File type name e.g. "Microsoft Word Document". ```csharp public string FileFormat { get; } ``` ### Format Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/format.md #### FileType.Format property Format of the file e.g. "WordProcessing". ```csharp public FileFormat Format { get; } ``` ### FromExtension Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/fromextension.md #### FileType.FromExtension method Maps file extension to file type. ```csharp public static FileType FromExtension(string extension) ``` | Parameter | Type | Description | | --- | --- | --- | | extension | String | File extension (including the period "."). | ##### Return Value When file type is supported returns it, otherwise returns default `Unknown` file type. ##### Exceptions | exception | condition | | --- | --- | | ArgumentException | Thrown when *extension* is null or empty string. | ### GetHashCode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/gethashcode.md #### FileType.GetHashCode method Returns the hash code for the current `FileType` object. ```csharp public override int GetHashCode() ``` ##### Return Value A hash code for the current `FileType` object. ### GetSupportedFileTypes Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/getsupportedfiletypes.md #### FileType.GetSupportedFileTypes method Retrieves supported file types ```csharp public static IEnumerable GetSupportedFileTypes() ``` ##### Return Value Returns sequence of supported file types ### GIF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/gif.md #### FileType.GIF field A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format [here](https://wiki.fileformat.com/image/gif/). ```csharp public static readonly FileType GIF; ``` ### GZ Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/gz.md #### FileType.GZ field Files with .gz extension are compressed files created with gzip compression application. Learn more about this file format [here](https://wiki.fileformat.com/compression/gz/). ```csharp public static readonly FileType GZ; ``` ### HTM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/htm.md #### FileType.HTM field Files with HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers such as Google Chrome, Internet Explorer, Firefox and a number of others. Learn more about this file format [here](https://wiki.fileformat.com/web/htm/). ```csharp public static readonly FileType HTM; ``` ### HTML Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/html.md #### FileType.HTML field HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format [here](https://wiki.fileformat.com/web/html/). ```csharp public static readonly FileType HTML; ``` ### ICO Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ico.md #### FileType.ICO field Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format [here](https://wiki.fileformat.com/image/ico/). ```csharp public static readonly FileType ICO; ``` ### J2C Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/j2c.md #### FileType.J2C field JPEG 2000 (J2C) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType J2C; ``` ### J2K Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/j2k.md #### FileType.J2K field JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType J2K; ``` ### JP2 Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/jp2.md #### FileType.JP2 field JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType JP2; ``` ### JPC Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/jpc.md #### FileType.JPC field JPEG 2000 (JPC) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType JPC; ``` ### JPEG Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/jpeg.md #### FileType.JPEG field A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ```csharp public static readonly FileType JPEG; ``` ### JPF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/jpf.md #### FileType.JPF field JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType JPF; ``` ### JPG Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/jpg.md #### FileType.JPG field A JPG is a type of image format that is saved using the method of lossy compression. Learn more about this file format [here](https://wiki.fileformat.com/image/jpeg/). ```csharp public static readonly FileType JPG; ``` ### JPM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/jpm.md #### FileType.JPM field JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType JPM; ``` ### JPX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/jpx.md #### FileType.JPX field JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format [here](https://wiki.fileformat.com/image/jp2/). ```csharp public static readonly FileType JPX; ``` ### MD Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/md.md #### FileType.MD field Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/md/). ```csharp public static readonly FileType MD; ``` ### MHT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/mht.md #### FileType.MHT field Files with MHT extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml/). ```csharp public static readonly FileType MHT; ``` ### MHTML Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/mhtml.md #### FileType.MHTML field Files with MHTML extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format [here](https://wiki.fileformat.com/web/mhtml/). ```csharp public static readonly FileType MHTML; ``` ### MOBI Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/mobi.md #### FileType.MOBI field The Mobipocket file format (originally with extension .prc and later .mobi) is a proprietary, partially documented, binary format for ebooks. Learn more about this file format [here](https://wiki.fileformat.com/ebook/mobi/). ```csharp public static readonly FileType MOBI; ``` ### MSG Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/msg.md #### FileType.MSG field MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format [here](https://wiki.fileformat.com/email/msg/). ```csharp public static readonly FileType MSG; ``` ### NUMBERS Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/numbers.md #### FileType.NUMBERS field Files that contain the .numbers file extension are files that are created by the Apple iWork Numbers spreadsheet application. ```csharp public static readonly FileType NUMBERS; ``` ### ODG Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/odg.md #### FileType.ODG field The ODG file format is used by Apache OpenOffice's Draw application to store drawing elements as a vector image. Learn more about this file format [here](https://wiki.fileformat.com/image/odg/). ```csharp public static readonly FileType ODG; ``` ### ODP Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/odp.md #### FileType.ODP field Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format [here](https://wiki.fileformat.com/presentation/odp/). ```csharp public static readonly FileType ODP; ``` ### ODS Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ods.md #### FileType.ODS field Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/ods/). ```csharp public static readonly FileType ODS; ``` ### ODT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/odt.md #### FileType.ODT field ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/odt/). ```csharp public static readonly FileType ODT; ``` ### ONE Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/one.md #### FileType.ONE field File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format [here](https://wiki.fileformat.com/note-taking/one/). ```csharp public static readonly FileType ONE; ``` ### op_Equality Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/op_equality.md #### FileType Equality operator Determines whether two `FileType` objects are the same. ```csharp public static bool operator ==(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left `FileType` object. | | right | FileType | Right `FileType` object. | ##### Return Value ```csharp true ``` if both `FileType` objects are the same; otherwise, ```csharp false ``` ### op_Inequality Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/op_inequality.md #### FileType Inequality operator Determines whether two `FileType` objects are not the same. ```csharp public static bool operator !=(FileType left, FileType right) ``` | Parameter | Type | Description | | --- | --- | --- | | left | FileType | Left `FileType` object. | | right | FileType | Right `FileType` object. | ##### Return Value ```csharp true ``` if both `FileType` objects are not the same; otherwise, ```csharp false ``` ### OST Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ost.md #### FileType.OST field OST or Offline Storage Files represent user's mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format [here](https://wiki.fileformat.com/email/ost/) ```csharp public static readonly FileType OST; ``` ### OTP Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/otp.md #### FileType.OTP field Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/otp/). ```csharp public static readonly FileType OTP; ``` ### OTS Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ots.md #### FileType.OTS field The OTS files contain template files used by the OpenOffice spreadsheet application. ```csharp public static readonly FileType OTS; ``` ### OTT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ott.md #### FileType.OTT field Files with OTT extension represent template documents generated by applications in compliance with the OASIS' OpenDocument standard format. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/ott/). ```csharp public static readonly FileType OTT; ``` ### PCL Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pcl.md #### FileType.PCL field PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/pcl/). ```csharp public static readonly FileType PCL; ``` ### PDF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pdf.md #### FileType.PDF field Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format [here](https://wiki.fileformat.com/view/pdf/). ```csharp public static readonly FileType PDF; ``` ### PICT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pict.md #### FileType.PICT field The PICT file format is a meta-format that can be used for both bitmap images and vector images. ```csharp public static readonly FileType PICT; ``` ### PNG Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/png.md #### FileType.PNG field PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format [here](https://wiki.fileformat.com/image/png/). ```csharp public static readonly FileType PNG; ``` ### POT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pot.md #### FileType.POT field Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pot/). ```csharp public static readonly FileType POT; ``` ### POTM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/potm.md #### FileType.POTM field Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potm/). ```csharp public static readonly FileType POTM; ``` ### POTX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/potx.md #### FileType.POTX field Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format [here](https://wiki.fileformat.com/presentation/potx/). ```csharp public static readonly FileType POTX; ``` ### PPS Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pps.md #### FileType.PPS field PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pps/). ```csharp public static readonly FileType PPS; ``` ### PPSM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ppsm.md #### FileType.PPSM field Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsm/). ```csharp public static readonly FileType PPSM; ``` ### PPSX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ppsx.md #### FileType.PPSX field PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppsx/). ```csharp public static readonly FileType PPSX; ``` ### PPT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ppt.md #### FileType.PPT field A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format [here](https://wiki.fileformat.com/presentation/ppt/). ```csharp public static readonly FileType PPT; ``` ### PPTM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pptm.md #### FileType.PPTM field Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptm/). ```csharp public static readonly FileType PPTM; ``` ### PPTX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pptx.md #### FileType.PPTX field Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format [here](https://wiki.fileformat.com/presentation/pptx/). ```csharp public static readonly FileType PPTX; ``` ### PS Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/ps.md #### FileType.PS field PostScript (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/ps/). ```csharp public static readonly FileType PS; ``` ### PSD Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/psd.md #### FileType.PSD field PSD, Photoshop Document, represents Adobe Photoshop's native file format used for graphics designing and development. Learn more about this file format [here](https://wiki.fileformat.com/image/psd/). ```csharp public static readonly FileType PSD; ``` ### PST Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/pst.md #### FileType.PST field Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format [here](https://wiki.fileformat.com/email/pst/) ```csharp public static readonly FileType PST; ``` ### RAR Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/rar.md #### FileType.RAR field Files with .rar extension represent archive files that are created for storing information in compressed or normal form. Learn more about this file format [here](https://wiki.fileformat.com/compression/rar/). ```csharp public static readonly FileType RAR; ``` ### RTF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/rtf.md #### FileType.RTF field Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. The format facilitates cross-platform document exchange with other Microsoft Products, thus serving the purpose of interoperability. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/rtf/). ```csharp public static readonly FileType RTF; ``` ### SEVENZ Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/sevenz.md #### FileType.SEVENZ field 7z is an archiving format for compressing files and folders with a high compression ratio. Learn more about this file format [here](https://wiki.fileformat.com/compression/7z/). ```csharp public static readonly FileType SEVENZ; ``` ### SVG Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/svg.md #### FileType.SVG field An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format [here](https://wiki.fileformat.com/page-description-language/svg/). ```csharp public static readonly FileType SVG; ``` ### SVGZ Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/svgz.md #### FileType.SVGZ field An SVGZ file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image and compressed with gzip compression. ```csharp public static readonly FileType SVGZ; ``` ### TAR Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/tar.md #### FileType.TAR field Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Learn more about this file format [here](https://wiki.fileformat.com/compression/tar/). ```csharp public static readonly FileType TAR; ``` ### TEXT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/text.md #### FileType.TEXT field A file with .TEXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt/). ```csharp public static readonly FileType TEXT; ``` ### TIF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/tif.md #### FileType.TIF field TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). ```csharp public static readonly FileType TIF; ``` ### TIFF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/tiff.md #### FileType.TIFF field TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format [here](https://wiki.fileformat.com/image/tiff/). ```csharp public static readonly FileType TIFF; ``` ### ToString Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/tostring.md #### FileType.ToString method Returns a string that represents the current object. ```csharp public override string ToString() ``` ##### Return Value A string that represents the current object. ### TSV Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/tsv.md #### FileType.TSV field A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format [here](https://wiki.fileformat.com/spreadsheet/tsv/). ```csharp public static readonly FileType TSV; ``` ### TXT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/txt.md #### FileType.TXT field A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format [here](https://wiki.fileformat.com/word-processing/txt/). ```csharp public static readonly FileType TXT; ``` ### Unknown Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/unknown.md #### FileType.Unknown field Represents unknown file type. ```csharp public static readonly FileType Unknown; ``` ### WEBP Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/webp.md #### FileType.WEBP field WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format [here](https://wiki.fileformat.com/image/webp/). ```csharp public static readonly FileType WEBP; ``` ### WMF Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/wmf.md #### FileType.WMF field Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format [here](https://wiki.fileformat.com/image/wmf/). ```csharp public static readonly FileType WMF; ``` ### XHTML Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xhtml.md #### FileType.XHTML field The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0. Learn more about this file format [here](https://wiki.fileformat.com/web/xhtml/). ```csharp public static readonly FileType XHTML; ``` ### XLA Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xla.md #### FileType.XLA field The Excel 97-2003 Add-In, a supplemental program that is designed to run additional code. Supports the use of VBA projects. ```csharp public static readonly FileType XLA; ``` ### XLAM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xlam.md #### FileType.XLAM field The XML-based and macro-enabled Add-In format for Excel 2010 and Excel 2007. An Add-In is a supplemental program that is designed to run additional code. Supports the use of VBA projects and Excel 4.0 macro sheets (.xlm). ```csharp public static readonly FileType XLAM; ``` ### XLS Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xls.md #### FileType.XLS field Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xls/). ```csharp public static readonly FileType XLS; ``` ### XLSB Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xlsb.md #### FileType.XLSB field XLSB file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsb/). ```csharp public static readonly FileType XLSB; ``` ### XLSM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xlsm.md #### FileType.XLSM field Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsm/). ```csharp public static readonly FileType XLSM; ``` ### XLSX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xlsx.md #### FileType.XLSX field XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlsx/). ```csharp public static readonly FileType XLSX; ``` ### XLT Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xlt.md #### FileType.XLT field Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xlt/). ```csharp public static readonly FileType XLT; ``` ### XLTM Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xltm.md #### FileType.XLTM field The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltm/). ```csharp public static readonly FileType XLTM; ``` ### XLTX Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xltx.md #### FileType.XLTX field Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format [here](https://wiki.fileformat.com/specification/spreadsheet/xltx/). ```csharp public static readonly FileType XLTX; ``` ### XML Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/xml.md #### FileType.XML field XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format [here](https://wiki.fileformat.com/web/xml/). ```csharp public static readonly FileType XML; ``` ### ZIP Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetype/zip.md #### FileType.ZIP field ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format [here](https://wiki.fileformat.com/compression/zip/). ```csharp public static readonly FileType ZIP; ``` ### FileTypeDetectionMode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/filetypedetectionmode.md #### FileTypeDetectionMode enumeration Defines a mode of the file type detection. ```csharp public enum FileTypeDetectionMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Default | `0` | The file type is detected by the file extension; if the file extension isn't recognized, the file type is detected by the file content. | | Extension | `1` | The file type is detected only by the file extension. | | Content | `2` | The file type is detected only by the file content. | ### FormattedTextMode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/formattedtextmode.md #### FormattedTextMode enumeration Defines a formatted text mode. ```csharp public enum FormattedTextMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Html | `0` | HTML format. | | Markdown | `1` | Markdown format. | | PlainText | `2` | Plain text format. | ##### Remarks **Learn more:** * [Extract formatted text from document](https://docs.groupdocs.com/display/parsernet/Extract+formatted+text+from+document) * Extract a document text as [HTML](https://docs.groupdocs.com/display/parsernet/HTML) * Extract a document text as [Markdown](https://docs.groupdocs.com/display/parsernet/Markdown) * Extract a document text as [Plain text](https://docs.groupdocs.com/display/parsernet/Plain+text) ### FormattedTextOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/formattedtextoptions.md #### FormattedTextOptions class Provides the options which are used for formatted text extraction. ```csharp public sealed class FormattedTextOptions ``` #### Constructors | Name | Description | | --- | --- | | FormattedTextOptions() | Initializes a new instance of the `FormattedTextOptions` class. | | FormattedTextOptions(FormattedTextMode) | Initializes a new instance of the `FormattedTextOptions` class. | #### Properties | Name | Description | | --- | --- | | Mode { get; set; } | Gets the formatted text extraction mode. | ##### Remarks An instance of `FormattedTextOptions` class is used as parameter in `GetFormattedText` and `GetFormattedText` methods. See the usage examples there. **Learn more:** * [Extract formatted text from document](https://docs.groupdocs.com/display/parsernet/Extract+formatted+text+from+document) * Extract a document text as [HTML](https://docs.groupdocs.com/display/parsernet/HTML) * Extract a document text as [Markdown](https://docs.groupdocs.com/display/parsernet/Markdown) * Extract a document text as [Plain text](https://docs.groupdocs.com/display/parsernet/Plain+text) ### FormattedTextOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/formattedtextoptions/formattedtextoptions.md #### FormattedTextOptions() Initializes a new instance of the `FormattedTextOptions` class. ```csharp public FormattedTextOptions() ``` #### FormattedTextOptions(FormattedTextMode) Initializes a new instance of the `FormattedTextOptions` class. ```csharp public FormattedTextOptions(FormattedTextMode mode) ``` | Parameter | Type | Description | | --- | --- | --- | | mode | FormattedTextMode | The mode of formatted text extraction. | ### Mode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/formattedtextoptions/mode.md #### FormattedTextOptions.Mode property Gets the formatted text extraction mode. ```csharp public FormattedTextMode Mode { get; set; } ``` ##### Property Value `FormattedTextMode` enumeration that contains a formatted text extraction mode. ### HighlightOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/highlightoptions.md #### HighlightOptions class Provides the options which are used to extract a highlight (a block of text aroud found text in search scenarios). ```csharp public sealed class HighlightOptions ``` #### Constructors | Name | Description | | --- | --- | | HighlightOptions() | Initializes a new instance of the `HighlightOptions` class which is used to extract a fixed-length highlight. | | HighlightOptions(int) | Initializes a new instance of the `HighlightOptions` class which is used to extract a fixed-length highlight. | | HighlightOptions(int?, bool) | Initializes a new instance of the `HighlightOptions` class which is used to extract a line-limited highlight. | | HighlightOptions(int?, int) | Initializes a new instance of the `HighlightOptions` class which is used to extract a highlight with the fixed word count. | | HighlightOptions(int?, int?, bool) | Initializes a new instance of the `HighlightOptions` class. | #### Properties | Name | Description | | --- | --- | | IsLineLimited { get; set; } | Gets value that indicates whether highlight extraction is limited by the start (or the end) of a text line. | | MaxLength { get; set; } | Gets a maximum text length. | | WordCount { get; set; } | Gets a maximum word count. | ##### Remarks An instance of `HighlightOptions` class is used as parameter in `GetHighlight` method. See the usage examples there. **Learn more:** * [Extract highlights](https://docs.groupdocs.com/display/parsernet/Extract+highlights) ### HighlightOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/highlightoptions/highlightoptions.md #### HighlightOptions() Initializes a new instance of the `HighlightOptions` class which is used to extract a fixed-length highlight. ```csharp public HighlightOptions() ``` #### HighlightOptions(int) Initializes a new instance of the `HighlightOptions` class which is used to extract a fixed-length highlight. ```csharp public HighlightOptions(int maxLength) ``` | Parameter | Type | Description | | --- | --- | --- | | maxLength | Int32 | The maximum text length. | #### HighlightOptions(int?, bool) Initializes a new instance of the `HighlightOptions` class which is used to extract a line-limited highlight. ```csharp public HighlightOptions(int? maxLength, bool isLineLimited) ``` | Parameter | Type | Description | | --- | --- | --- | | maxLength | Nullable`1 | The maximum text length. | | isLineLimited | Boolean | The value that indicates whether the highlight extraction is limited by the start (or the end) of a text line. | #### HighlightOptions(int?, int) Initializes a new instance of the `HighlightOptions` class which is used to extract a highlight with the fixed word count. ```csharp public HighlightOptions(int? maxLength, int wordCount) ``` | Parameter | Type | Description | | --- | --- | --- | | maxLength | Nullable`1 | The maximum text length. | | wordCount | Int32 | The maximum word count. | #### HighlightOptions(int?, int?, bool) Initializes a new instance of the `HighlightOptions` class. ```csharp public HighlightOptions(int? maxLength, int? wordCount, bool isLineLimited) ``` | Parameter | Type | Description | | --- | --- | --- | | maxLength | Nullable`1 | The maximum text length. | | wordCount | Nullable`1 | The maximum word count. | | isLineLimited | Boolean | The value that indicates whether the highlight extraction is limited by the start (or the end) of a text line. | ### IsLineLimited Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/highlightoptions/islinelimited.md #### HighlightOptions.IsLineLimited property Gets value that indicates whether highlight extraction is limited by the start (or the end) of a text line. ```csharp public bool IsLineLimited { get; set; } ``` ##### Return Value `true` if highlight extraction is limited by the start (or the end) of a text line; otherwise, `false`. ### MaxLength Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/highlightoptions/maxlength.md #### HighlightOptions.MaxLength property Gets a maximum text length. ```csharp public int? MaxLength { get; set; } ``` ##### Property Value A positive integer value that represents the maximum text length; `null` if the text length isn't limited. ### WordCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/highlightoptions/wordcount.md #### HighlightOptions.WordCount property Gets a maximum word count. ```csharp public int? WordCount { get; set; } ``` ##### Property Value A positive integer value that represents the maximum word count; `null` if the word count isn't limited. ### IDocumentInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/idocumentinfo.md #### IDocumentInfo interface Represents the document information. ```csharp public interface IDocumentInfo ``` #### Properties | Name | Description | | --- | --- | | FileType { get; } | Gets the document type. | | PageCount { get; } | Gets the total number of document pages. | | Pages { get; } | Gets the information about pages such as the index and page size. | | RawPageCount { get; } | Gets the total number of document raw pages. | | Size { get; } | Gets the size of the document in bytes. | ##### Remarks The objects which implement this interface are returned by `GetDocumentInfo` method. See the usage examples there. **Learn more:** * [Get document info](https://docs.groupdocs.com/display/parsernet/Get+document+info) * [Detect encoding](https://docs.groupdocs.com/display/parsernet/Detect+encoding) ### FileType Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/idocumentinfo/filetype.md #### IDocumentInfo.FileType property Gets the document type. ```csharp public FileType FileType { get; } ``` ##### Property Value An instance of `FileType` class that represents the type of the document. ### PageCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/idocumentinfo/pagecount.md #### IDocumentInfo.PageCount property Gets the total number of document pages. ```csharp public int PageCount { get; } ``` ##### Property Value An integer value that represents a total number of pages. ### Pages Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/idocumentinfo/pages.md #### IDocumentInfo.Pages property Gets the information about pages such as the index and page size. ```csharp public IList Pages { get; } ``` ##### Property Value A collection with instances of `PageInfo` classes. ### RawPageCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/idocumentinfo/rawpagecount.md #### IDocumentInfo.RawPageCount property Gets the total number of document raw pages. ```csharp public int RawPageCount { get; } ``` ##### Property Value An integer value that represents a total number of raw pages. ##### Remarks Use `RawPageCount` property instead of `PageCount` property for raw text extraction. Some documents have different page numbers in accurate and raw text extraction modes. `PageCount` property may perform extra calculations which impacts on text extraction speed in raw mode. ### Size Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/idocumentinfo/size.md #### IDocumentInfo.Size property Gets the size of the document in bytes. ```csharp public long Size { get; } ``` ##### Property Value An integer value that represents the size of the document in bytes. ### ILogger Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ilogger.md #### ILogger interface Defines the interface of a logger that is used for logging events and errors during data extraction. ```csharp public interface ILogger ``` #### Methods | Name | Description | | --- | --- | | Error(string, Exception) | Logs an error that occurred during data extraction. | | Trace(string) | Logs an event occurred during data extraction. | | Warning(string) | Logs a warning that occurred during data extraction. | ##### Remarks **Learn more:** * [Logging](https://docs.groupdocs.com/display/parsernet/Logging) ### Error Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ilogger/error.md #### ILogger.Error method Logs an error that occurred during data extraction. ```csharp public void Error(string message, Exception exception) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The error message. | | exception | Exception | The instance of occured exception. | ### Trace Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ilogger/trace.md #### ILogger.Trace method Logs an event occurred during data extraction. ```csharp public void Trace(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The event message. | ### Warning Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ilogger/warning.md #### ILogger.Warning method Logs a warning that occurred during data extraction. ```csharp public void Warning(string message) ``` | Parameter | Type | Description | | --- | --- | --- | | message | String | The warning message. | ### ImageFormat Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/imageformat.md #### ImageFormat enumeration Defines a format of the image. ```csharp public enum ImageFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Bmp | `0` | Bitmap image. | | Gif | `1` | Graphical Interchange Format. | | Jpeg | `2` | JPEG image. | | Png | `3` | Portable Network Graphic. | | WebP | `4` | WebP Image. | ### ImageOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/imageoptions.md #### ImageOptions class Provides the options which are used for image extraction. ```csharp public sealed class ImageOptions ``` #### Constructors | Name | Description | | --- | --- | | ImageOptions(ImageFormat) | Initializes a new instance of the `ImageOptions` class. | #### Properties | Name | Description | | --- | --- | | ImageFormat { get; } | Gets the image format for image extraction. | ##### Remarks An instance of `ImageOptions` class is used as parameter in `GetImageStream` and `Save` methods. See the usage examples there. It's used to specify the image format for image extraction. **Learn more:** * [Extract images from document page area](https://docs.groupdocs.com/display/parsernet/Extract+images+from+document+page+area) * [Extract images to files](https://docs.groupdocs.com/display/parsernet/Extract+images+to+files) ### ImageFormat Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/imageoptions/imageformat.md #### ImageOptions.ImageFormat property Gets the image format for image extraction. ```csharp public ImageFormat ImageFormat { get; } ``` ##### Property Value `ImageFormat` enumeration that contains an image format. ### ImageOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/imageoptions/imageoptions.md #### ImageOptions constructor Initializes a new instance of the `ImageOptions` class. ```csharp public ImageOptions(ImageFormat imageFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | imageFormat | ImageFormat | The format of the image. | ### LoadOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions.md #### LoadOptions class Provides the options which are used to open a file. ```csharp public sealed class LoadOptions ``` #### Constructors | Name | Description | | --- | --- | | LoadOptions() | Initializes a new instance of the `LoadOptions` class with empty `Password`, `FileFormat` equal to Unknown and default encodings. | | LoadOptions(FileFormat) | Initializes a new instance of the `LoadOptions` class with empty `Password` and default encodings. | | LoadOptions(FileType) | Initializes a new instance of the `LoadOptions` class with empty `Password` and default encodings. | | LoadOptions(string) | Initializes a new instance of the `LoadOptions` class with `FileFormat` equal to Unknown and default encodings. | | LoadOptions(TimeSpan) | Initializes a new instance of the `LoadOptions` class with *timeout*. | | LoadOptions(FileFormat, string) | Initializes a new instance of the `LoadOptions` class with the password and default encodings. | | LoadOptions(FileType, string) | Initializes a new instance of the `LoadOptions` class with the password and default encodings. | | LoadOptions(FileFormat, string, Encoding, Encoding) | Initializes a new instance of the `LoadOptions` class with custom encodings. | | LoadOptions(FileType, string, Encoding, Encoding) | Initializes a new instance of the `LoadOptions` class with custom encodings. | | LoadOptions(FileFormat, string, Encoding, Encoding, TimeSpan) | Initializes a new instance of the `LoadOptions` fully customized class. | | LoadOptions(FileType, string, Encoding, Encoding, TimeSpan) | Initializes a new instance of the `LoadOptions` fully customized class. | #### Properties | Name | Description | | --- | --- | | DefaultAnsiEncoding { get; } | Gets the default ANSI encoding which is used for encoding detection. | | Encoding { get; } | Gets the encoding of the document. | | FileFormat { get; } | Gets the file format. | | FileType { get; } | Gets the file type. | | Password { get; } | Gets the password. | | Timeout { get; } | Gets the value that represents the number of milliseconds to wait. | ##### Remarks An instance of this class is used as parameter in `Parser` class constructors: * `Parser` * `Parser` See the usage examples there. **Learn more:** * [Loading specific file formats](https://docs.groupdocs.com/display/parsernet/Loading+specific+file+formats) * [Loading password-protected documents](https://docs.groupdocs.com/display/parsernet/Password-protected+documents) ### DefaultAnsiEncoding Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions/defaultansiencoding.md #### LoadOptions.DefaultAnsiEncoding property Gets the default ANSI encoding which is used for encoding detection. ```csharp public Encoding DefaultAnsiEncoding { get; } ``` ##### Property Value An instance of Encoding class that represents the document encoding; `null` if it isn't set. ### Encoding Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions/encoding.md #### LoadOptions.Encoding property Gets the encoding of the document. ```csharp public Encoding Encoding { get; } ``` ##### Property Value An instance of Encoding class that represents the document encoding; `null` if it isn't set. ### FileFormat Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions/fileformat.md #### LoadOptions.FileFormat property Gets the file format. ```csharp public FileFormat FileFormat { get; } ``` ##### Property Value `FileFormat` enumeration that contains a file format. ### FileType Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions/filetype.md #### LoadOptions.FileType property Gets the file type. ```csharp public FileType FileType { get; } ``` ##### Property Value `FileType` enumeration that contains a file type. ### LoadOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions/loadoptions.md #### LoadOptions() Initializes a new instance of the `LoadOptions` class with empty `Password`, `FileFormat` equal to Unknown and default encodings. ```csharp public LoadOptions() ``` #### LoadOptions(TimeSpan) Initializes a new instance of the `LoadOptions` class with *timeout*. ```csharp public LoadOptions(TimeSpan timeout) ``` | Parameter | Type | Description | | --- | --- | --- | | timeout | TimeSpan | The TimeSpan that represents the number of milliseconds to wait. | #### LoadOptions(string) Initializes a new instance of the `LoadOptions` class with `FileFormat` equal to Unknown and default encodings. ```csharp public LoadOptions(string password) ``` | Parameter | Type | Description | | --- | --- | --- | | password | String | The password to open the password-protected file. | #### LoadOptions(FileFormat) Initializes a new instance of the `LoadOptions` class with empty `Password` and default encodings. ```csharp public LoadOptions(FileFormat fileFormat) ``` | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | #### LoadOptions(FileFormat, string) Initializes a new instance of the `LoadOptions` class with the password and default encodings. ```csharp public LoadOptions(FileFormat fileFormat, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | | password | String | The password to open the password-protected file. | #### LoadOptions(FileFormat, string, Encoding, Encoding) Initializes a new instance of the `LoadOptions` class with custom encodings. ```csharp public LoadOptions(FileFormat fileFormat, string password, Encoding encoding, Encoding defaultAnsiEncoding) ``` | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | | password | String | The password to open the password-protected file. | | encoding | Encoding | The encoding of the document. | | defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. | #### LoadOptions(FileFormat, string, Encoding, Encoding, TimeSpan) Initializes a new instance of the `LoadOptions` fully customized class. ```csharp public LoadOptions(FileFormat fileFormat, string password, Encoding encoding, Encoding defaultAnsiEncoding, TimeSpan timeout) ``` | Parameter | Type | Description | | --- | --- | --- | | fileFormat | FileFormat | The format of the file. | | password | String | The password to open the password-protected file. | | encoding | Encoding | The encoding of the document. | | defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. | | timeout | TimeSpan | The TimeSpan that represents the number of milliseconds to wait. | #### LoadOptions(FileType) Initializes a new instance of the `LoadOptions` class with empty `Password` and default encodings. ```csharp public LoadOptions(FileType fileType) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | #### LoadOptions(FileType, string) Initializes a new instance of the `LoadOptions` class with the password and default encodings. ```csharp public LoadOptions(FileType fileType, string password) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | password | String | The password to open the password-protected file. | #### LoadOptions(FileType, string, Encoding, Encoding) Initializes a new instance of the `LoadOptions` class with custom encodings. ```csharp public LoadOptions(FileType fileType, string password, Encoding encoding, Encoding defaultAnsiEncoding) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | password | String | The password to open the password-protected file. | | encoding | Encoding | The encoding of the document. | | defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. | #### LoadOptions(FileType, string, Encoding, Encoding, TimeSpan) Initializes a new instance of the `LoadOptions` fully customized class. ```csharp public LoadOptions(FileType fileType, string password, Encoding encoding, Encoding defaultAnsiEncoding, TimeSpan timeout) ``` | Parameter | Type | Description | | --- | --- | --- | | fileType | FileType | The type of the file. | | password | String | The password to open the password-protected file. | | encoding | Encoding | The encoding of the document. | | defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. | | timeout | TimeSpan | The TimeSpan that represents the number of milliseconds to wait. | ### Password Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions/password.md #### LoadOptions.Password property Gets the password. ```csharp public string Password { get; } ``` ##### Property Value A string value that represents a password to open the password-protected file. ### Timeout Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/loadoptions/timeout.md #### LoadOptions.Timeout property Gets the value that represents the number of milliseconds to wait. ```csharp public TimeSpan Timeout { get; } ``` ##### Property Value A TimeSpan that represents the number of milliseconds to wait. ### OcrConnectorBase Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocrconnectorbase.md #### OcrConnectorBase class Provides the OCR functionality. ```csharp public abstract class OcrConnectorBase ``` #### Properties | Name | Description | | --- | --- | | virtual IsTextAreasSupported { get; } | Gets the value that indicates whether the text areas extraction is supported. | | virtual IsTextSupported { get; } | Gets the value that indicates whether the text extraction is supported. | #### Methods | Name | Description | | --- | --- | | virtual RecognizeText(Stream, OcrOptions) | Recognize a text from *imageStream* stream. | | virtual RecognizeTextAreas(Stream, Page, OcrOptions) | Recognize text areas from *imageStream* stream. | | virtual RecognizeTextAreas(Stream, IEnumerable<Rectangle>, string, Page, OcrOptions) | Recognize text areas from *imageStream* stream. | ### IsTextAreasSupported Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocrconnectorbase/istextareassupported.md #### OcrConnectorBase.IsTextAreasSupported property Gets the value that indicates whether the text areas extraction is supported. ```csharp public virtual bool IsTextAreasSupported { get; } ``` ##### Property Value `true` if the text areas extraction is supported; otherwise, `false`. ### IsTextSupported Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocrconnectorbase/istextsupported.md #### OcrConnectorBase.IsTextSupported property Gets the value that indicates whether the text extraction is supported. ```csharp public virtual bool IsTextSupported { get; } ``` ##### Property Value `true` if the text extraction is supported; otherwise, `false`. ### RecognizeText Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocrconnectorbase/recognizetext.md #### OcrConnectorBase.RecognizeText method Recognize a text from *imageStream* stream. ```csharp public virtual string RecognizeText(Stream imageStream, OcrOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | imageStream | Stream | The image representation of the document page. | | options | OcrOptions | The OCR options. | ##### Return Value A string that represents a recognized text; `null` if text recognizing isn't supported. ### RecognizeTextAreas Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocrconnectorbase/recognizetextareas.md #### RecognizeTextAreas(Stream, Page, OcrOptions) Recognize text areas from *imageStream* stream. ```csharp public virtual IList RecognizeTextAreas(Stream imageStream, Page page, OcrOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | imageStream | Stream | The image representation of the document page. | | page | Page | The the document page. | | options | OcrOptions | The OCR options. | ##### Return Value A collection of `PageTextArea` objects; `null` if text areas recognizing isn't supported. #### RecognizeTextAreas(Stream, IEnumerable<Rectangle>, string, Page, OcrOptions) Recognize text areas from *imageStream* stream. ```csharp public virtual IList RecognizeTextAreas(Stream imageStream, IEnumerable rectangles, string allowedSymbols, Page page, OcrOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | imageStream | Stream | The image representation of the document page. | | rectangles | IEnumerable`1 | The collection of rectangular areas that limits the OCR functionality. | | allowedSymbols | String | The filter of allowed symbols by OCR. | | page | Page | The the document page. | | options | OcrOptions | The OCR options. | ##### Return Value A collection of `PageTextArea` objects; `null` if text areas recognizing isn't supported. ### OcrEventHandler Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocreventhandler.md #### OcrEventHandler class Provides a handler for OCR events. ```csharp public class OcrEventHandler ``` #### Constructors | Name | Description | | --- | --- | | OcrEventHandler() | Initializes a new instance of the `OcrEventHandler` class. | #### Properties | Name | Description | | --- | --- | | HasWarnings { get; } | Gets the value that indicates whether the list of warnings isn't empty. | | Warnings { get; } | Gets a list of warning messages. | #### Methods | Name | Description | | --- | --- | | GetWarnings(int) | Returns a list of warning messages for the page with *pageIndex*. | | virtual OnWarnings(int, IList<string>) | Sets warning messages for the page. | ### GetWarnings Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocreventhandler/getwarnings.md #### OcrEventHandler.GetWarnings method Returns a list of warning messages for the page with *pageIndex*. ```csharp public IList GetWarnings(int pageIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | pageIndex | Int32 | The zero-based page index. | ##### Return Value A list of warning messages for the page; empty list if no warning messages for the page. ### HasWarnings Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocreventhandler/haswarnings.md #### OcrEventHandler.HasWarnings property Gets the value that indicates whether the list of warnings isn't empty. ```csharp public bool HasWarnings { get; } ``` ##### Return Value `true` if the list of warnings isn't empty; otherwise, `false`. ### OcrEventHandler Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocreventhandler/ocreventhandler.md #### OcrEventHandler constructor Initializes a new instance of the `OcrEventHandler` class. ```csharp public OcrEventHandler() ``` ### OnWarnings Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocreventhandler/onwarnings.md #### OcrEventHandler.OnWarnings method Sets warning messages for the page. ```csharp public virtual void OnWarnings(int pageIndex, IList warnings) ``` | Parameter | Type | Description | | --- | --- | --- | | pageIndex | Int32 | The zero-based page index. | | warnings | IList`1 | The list of warning messages for the page. | ### Warnings Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocreventhandler/warnings.md #### OcrEventHandler.Warnings property Gets a list of warning messages. ```csharp public IList Warnings { get; } ``` ##### Property Value A list of warning messages for all pages. ### OcrOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocroptions.md #### OcrOptions class Provides the options which are used for OCR Connector. ```csharp public class OcrOptions ``` #### Constructors | Name | Description | | --- | --- | | OcrOptions() | Initializes a new instance of the `OcrOptions` class with rectangular area. | | OcrOptions(OcrEventHandler) | Initializes a new instance of the `OcrOptions` class with `OcrEventHandler` object. | | OcrOptions(PagePreviewOptions) | Initializes a new instance of the `OcrOptions` class with rectangular area. | | OcrOptions(Rectangle) | Initializes a new instance of the `OcrOptions` class with rectangular area. | | OcrOptions(Rectangle, OcrEventHandler) | Initializes a new instance of the `OcrOptions` class with rectangular area and `OcrEventHandler` object. | | OcrOptions(Rectangle, OcrEventHandler, PagePreviewOptions, bool) | Initializes a new instance of the `OcrOptions` class. | #### Properties | Name | Description | | --- | --- | | Handler { get; set; } | Gets the event handler to catch OCR events. | | PagePreviewOptions { get; set; } | Gets the document page preview options. | | Rectangle { get; set; } | Gets the rectangular area that constraints the page area which is used for text recognizing. | | UseSpellChecker { get; set; } | Gets the value that indicates whether the spell checker is used. | ### Handler Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocroptions/handler.md #### OcrOptions.Handler property Gets the event handler to catch OCR events. ```csharp public OcrEventHandler Handler { get; set; } ``` ##### Property Value An instance of `OcrEventHandler` class which is used to catch OCR events. ### OcrOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocroptions/ocroptions.md #### OcrOptions() Initializes a new instance of the `OcrOptions` class with rectangular area. ```csharp public OcrOptions() ``` #### OcrOptions(PagePreviewOptions) Initializes a new instance of the `OcrOptions` class with rectangular area. ```csharp public OcrOptions(PagePreviewOptions pagePreviewOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | pagePreviewOptions | PagePreviewOptions | An instance of `PagePreviewOptions` class that sets properties for the document page preview generation. | #### OcrOptions(Rectangle) Initializes a new instance of the `OcrOptions` class with rectangular area. ```csharp public OcrOptions(Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that constraints the page area which is used for text recognizing. | #### OcrOptions(OcrEventHandler) Initializes a new instance of the `OcrOptions` class with `OcrEventHandler` object. ```csharp public OcrOptions(OcrEventHandler handler) ``` | Parameter | Type | Description | | --- | --- | --- | | handler | OcrEventHandler | An instance of `OcrEventHandler` to catch OCR events. | #### OcrOptions(Rectangle, OcrEventHandler) Initializes a new instance of the `OcrOptions` class with rectangular area and `OcrEventHandler` object. ```csharp public OcrOptions(Rectangle rectangle, OcrEventHandler handler) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that constraints the page area which is used for text recognizing. | | handler | OcrEventHandler | An instance of `OcrEventHandler` to catch OCR events. | #### OcrOptions(Rectangle, OcrEventHandler, PagePreviewOptions, bool) Initializes a new instance of the `OcrOptions` class. ```csharp public OcrOptions(Rectangle rectangle, OcrEventHandler handler, PagePreviewOptions pagePreviewOptions, bool useSpellCheker) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that constraints the page area which is used for text recognizing. | | handler | OcrEventHandler | An instance of `OcrEventHandler` to catch OCR events. | | pagePreviewOptions | PagePreviewOptions | An instance of `PagePreviewOptions` class that sets properties for the document page preview generation. | | useSpellCheker | Boolean | The value that indicates whether the spell checker is used. | ### PagePreviewOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocroptions/pagepreviewoptions.md #### OcrOptions.PagePreviewOptions property Gets the document page preview options. ```csharp public PagePreviewOptions PagePreviewOptions { get; set; } ``` ##### Property Value An instance of `PagePreviewOptions` class that sets properties for the document page preview generation. ### Rectangle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocroptions/rectangle.md #### OcrOptions.Rectangle property Gets the rectangular area that constraints the page area which is used for text recognizing. ```csharp public Rectangle Rectangle { get; set; } ``` ##### Property Value An instance of `Rectangle` class that represents the rectangular area that constraints the page area which is used for text recognizing.; `null` if it isn't set. ### UseSpellChecker Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/ocroptions/usespellchecker.md #### OcrOptions.UseSpellChecker property Gets the value that indicates whether the spell checker is used. ```csharp public bool UseSpellChecker { get; set; } ``` ##### Property Value `true` if the spell checker is used; otherwise, `false`. ### PageAreaOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageareaoptions.md #### PageAreaOptions class Provides the options which are used for page areas extraction. ```csharp public class PageAreaOptions ``` #### Constructors | Name | Description | | --- | --- | | PageAreaOptions() | Initializes a new instance of the `PageAreaOptions` class. | | PageAreaOptions(Rectangle) | Initializes a new instance of the `PageAreaOptions` class. | | PageAreaOptions(Rectangle, double) | Initializes a new instance of the `PageAreaOptions` class with the size of the ignored border. | #### Properties | Name | Description | | --- | --- | | Rectangle { get; set; } | Gets the rectangular area that contains page areas. | | RectangleTolerance { get; set; } | Gets the size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | ##### Remarks An instance of `PageAreaOptions` class is used as parameter in the following methods: * `GetImages` * `GetImages` * `GetHyperlinks` * `GetHyperlinks` * `GetHyperlinks` * `GetHyperlinks` See the usage examples there. ### PageAreaOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageareaoptions/pageareaoptions.md #### PageAreaOptions() Initializes a new instance of the `PageAreaOptions` class. ```csharp public PageAreaOptions() ``` #### PageAreaOptions(Rectangle) Initializes a new instance of the `PageAreaOptions` class. ```csharp public PageAreaOptions(Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains page areas. | #### PageAreaOptions(Rectangle, double) Initializes a new instance of the `PageAreaOptions` class with the size of the ignored border. ```csharp public PageAreaOptions(Rectangle rectangle, double rectangleTolerance) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains page areas. | | rectangleTolerance | Double | The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | ### Rectangle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageareaoptions/rectangle.md #### PageAreaOptions.Rectangle property Gets the rectangular area that contains page areas. ```csharp public Rectangle Rectangle { get; set; } ``` ##### Property Value An instance of `Rectangle` class that represents the rectangular area that contains page areas; `null` if it isn't set. ### RectangleTolerance Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageareaoptions/rectangletolerance.md #### PageAreaOptions.RectangleTolerance property Gets the size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. ```csharp public double RectangleTolerance { get; set; } ``` ##### Return Value The double value from 0 (no border) to 1 (ignore the whole element). ### PageInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageinfo.md #### PageInfo class Represents the document page information. ```csharp public sealed class PageInfo ``` #### Properties | Name | Description | | --- | --- | | Height { get; } | Gets the page height. | | PageNumber { get; } | Gets the page number. | | Width { get; } | Gets the page width. | ### Height Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageinfo/height.md #### PageInfo.Height property Gets the page height. ```csharp public int Height { get; } ``` ##### Property Value An integer value that represents the page height. ### PageNumber Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageinfo/pagenumber.md #### PageInfo.PageNumber property Gets the page number. ```csharp public int PageNumber { get; } ``` ##### Property Value A zero-based integer value that represents the page number. ### Width Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pageinfo/width.md #### PageInfo.Width property Gets the page width. ```csharp public int Width { get; } ``` ##### Property Value An integer value that represents the page width. ### PagePreviewFormat Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagepreviewformat.md #### PagePreviewFormat enumeration Represents supported preview formats. ```csharp public enum PagePreviewFormat ``` ##### Values | Name | Value | Description | | --- | --- | --- | | Auto | `0` | PNG, JPEG and BMP images retain their format if no changes are required. For other cases, PNG format is used. | | Png | `1` | PNG image (Portable Network Graphics). | | Jpeg | `2` | JPEG image (Joint Photographic Experts Group Format). | | Bmp | `3` | Bitmap image (Bitmap Picture Format). | ### PagePreviewOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagepreviewoptions.md #### PagePreviewOptions class Provides the options which are used to generate the document page preview. ```csharp public sealed class PagePreviewOptions ``` #### Constructors | Name | Description | | --- | --- | | PagePreviewOptions() | Initializes a new instance of the `PagePreviewOptions` class. | | PagePreviewOptions(int) | Initializes a new instance of the `PagePreviewOptions` class with the preview dpi. | | PagePreviewOptions(PagePreviewFormat) | Initializes a new instance of the `PagePreviewOptions` class with the preview format. | | PagePreviewOptions(PagePreviewFormat, int) | Initializes a new instance of the `PagePreviewOptions` class the preview format and dpi. | #### Properties | Name | Description | | --- | --- | | Dpi { get; set; } | Gets a DPI of the document page image. | | Format { get; set; } | Gets a format of the document page image. | | ScaleFactor { get; } | Gets a scale factor. | #### Fields | Name | Description | | --- | --- | | const DEFAULT_DPI | Defines a default value of `Dpi` property. | ### DEFAULT_DPI Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagepreviewoptions/default_dpi.md #### PagePreviewOptions.DEFAULT_DPI field Defines a default value of `Dpi` property. ```csharp public const int DEFAULT_DPI; ``` ### Dpi Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagepreviewoptions/dpi.md #### PagePreviewOptions.Dpi property Gets a DPI of the document page image. ```csharp public int Dpi { get; set; } ``` ##### Property Value A value that sets the document page DPI. If not set, value is `DEFAULT_DPI`. ### Format Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagepreviewoptions/format.md #### PagePreviewOptions.Format property Gets a format of the document page image. ```csharp public PagePreviewFormat Format { get; set; } ``` ##### Property Value A value that sets the document page image format. If not set, value is Png. ### PagePreviewOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagepreviewoptions/pagepreviewoptions.md #### PagePreviewOptions() Initializes a new instance of the `PagePreviewOptions` class. ```csharp public PagePreviewOptions() ``` #### PagePreviewOptions(PagePreviewFormat) Initializes a new instance of the `PagePreviewOptions` class with the preview format. ```csharp public PagePreviewOptions(PagePreviewFormat format) ``` | Parameter | Type | Description | | --- | --- | --- | | format | PagePreviewFormat | The format of the document page image. | #### PagePreviewOptions(int) Initializes a new instance of the `PagePreviewOptions` class with the preview dpi. ```csharp public PagePreviewOptions(int dpi) ``` | Parameter | Type | Description | | --- | --- | --- | | dpi | Int32 | The DPI of the document page image. | #### PagePreviewOptions(PagePreviewFormat, int) Initializes a new instance of the `PagePreviewOptions` class the preview format and dpi. ```csharp public PagePreviewOptions(PagePreviewFormat format, int dpi) ``` | Parameter | Type | Description | | --- | --- | --- | | format | PagePreviewFormat | The format of the document page image. | | dpi | Int32 | The DPI of the document page image. | ### ScaleFactor Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagepreviewoptions/scalefactor.md #### PagePreviewOptions.ScaleFactor property Gets a scale factor. ```csharp public double ScaleFactor { get; } ``` ##### Property Value The value that specifies how many times the image should be scaled; `1` for `DEFAULT_DPI`. ### PageRenderInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagerenderinfo.md #### PageRenderInfo class Represents the information of how a page is rendered. ```csharp public sealed class PageRenderInfo ``` #### Constructors | Name | Description | | --- | --- | | PageRenderInfo(int, int, int) | Initializes a new instance of the `PageRenderInfo` class. | #### Properties | Name | Description | | --- | --- | | ColumnCount { get; } | Get the total number of tiles columns. | | PageNumber { get; } | Gets the page number. | | RowCount { get; } | Get the total number of tiles rows. | #### Methods | Name | Description | | --- | --- | | GetColumn(int) | Returns the index of column where the tile with *tileIndex* is placed. | | GetRow(int) | Returns the index of row where the tile with *tileIndex* is placed. | ##### Remarks Some documents (spreadsheets, for example) are not possible to render a page as a single image. For those documents a page is rendered as a set of tiles. These tiles are placed in the rectangular table. `RowCount` and `ColumnCount` represent the total number of rows and columns of this table. If document page is rendered to the single image these properties are equal to 1. ### ColumnCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagerenderinfo/columncount.md #### PageRenderInfo.ColumnCount property Get the total number of tiles columns. ```csharp public int ColumnCount { get; } ``` ##### Property Value The integer value that represents the total number of tiles columns. ### GetColumn Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagerenderinfo/getcolumn.md #### PageRenderInfo.GetColumn method Returns the index of column where the tile with *tileIndex* is placed. ```csharp public int GetColumn(int tileIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | tileIndex | Int32 | The zero-based index of the tile. | ##### Return Value The zero-based integer value that represents the column index. ### GetRow Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagerenderinfo/getrow.md #### PageRenderInfo.GetRow method Returns the index of row where the tile with *tileIndex* is placed. ```csharp public int GetRow(int tileIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | tileIndex | Int32 | The zero-based index of the tile. | ##### Return Value The zero-based integer value that represents the row index. ### PageNumber Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagerenderinfo/pagenumber.md #### PageRenderInfo.PageNumber property Gets the page number. ```csharp public int PageNumber { get; } ``` ##### Property Value The integer value that represents the page number (starts with 1). ### PageRenderInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagerenderinfo/pagerenderinfo.md #### PageRenderInfo constructor Initializes a new instance of the `PageRenderInfo` class. ```csharp public PageRenderInfo(int pageNumber, int rowCount, int columnCount) ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The number of the page (starts with 1). | | rowCount | Int32 | The total number of tiles rows. | | columnCount | Int32 | The total number of tiles columns. | ### RowCount Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagerenderinfo/rowcount.md #### PageRenderInfo.RowCount property Get the total number of tiles rows. ```csharp public int RowCount { get; } ``` ##### Property Value The integer value that represents the total number of tiles rows. ### PageTableAreaOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetableareaoptions.md #### PageTableAreaOptions class Provides the options which are used for page table areas extraction. ```csharp public sealed class PageTableAreaOptions : PageAreaOptions ``` #### Constructors | Name | Description | | --- | --- | | PageTableAreaOptions(TemplateTableLayout) | Initializes a new instance of the `PageAreaOptions` class. | #### Properties | Name | Description | | --- | --- | | Rectangle { get; set; } | Gets the rectangular area that contains page areas. | | RectangleTolerance { get; set; } | Gets the size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | | TableLayout { get; } | Gets the table layout which defines the table on a page. | ##### Remarks An instance of `PageTableAreaOptions` class is used as parameter in `GetTables` and `GetTables` methods. See the usage examples there. ### PageTableAreaOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetableareaoptions/pagetableareaoptions.md #### PageTableAreaOptions constructor Initializes a new instance of the `PageAreaOptions` class. ```csharp public PageTableAreaOptions(TemplateTableLayout tableLayout) ``` | Parameter | Type | Description | | --- | --- | --- | | tableLayout | TemplateTableLayout | The table layout which defines the table on a page. | ### TableLayout Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetableareaoptions/tablelayout.md #### PageTableAreaOptions.TableLayout property Gets the table layout which defines the table on a page. ```csharp public TemplateTableLayout TableLayout { get; } ``` ##### Property Value An instane of `TemplateTableLayout` class. ### PageTextAreaOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions.md #### PageTextAreaOptions class Provides the options which are used for page text areas extraction. ```csharp public sealed class PageTextAreaOptions : PageAreaOptions ``` #### Constructors | Name | Description | | --- | --- | | PageTextAreaOptions() | Initializes a new instance of the `PageTextAreaOptions` class with the OCR usage option. | | PageTextAreaOptions(bool) | Initializes a new instance of the `PageTextAreaOptions` class with the OCR usage option. | | PageTextAreaOptions(string) | Initializes a new instance of the `PageTextAreaOptions` class with the regular expression. Other options are set by default (see remarks for details). | | PageTextAreaOptions(bool, OcrOptions) | Initializes a new instance of the `PageTextAreaOptions` class with the ability to set OCR options. | | PageTextAreaOptions(string, Rectangle) | Initializes a new instance of the `PageTextAreaOptions` class with the regular expression and rectangular area. Other options are set by default (see remarks for details). | | PageTextAreaOptions(string, Rectangle, double) | Initializes a new instance of the `PageTextAreaOptions` class with the regular expression, rectangular area and the size of the ignored border. Other options are set by default (see remarks for details). | | PageTextAreaOptions(string, bool, bool, bool, Rectangle) | Initializes a new instance of the `PageTextAreaOptions` class. | | PageTextAreaOptions(string, bool, bool, bool, Rectangle, double) | Initializes a new instance of the `PageTextAreaOptions` class with the size of the ignored border. | #### Properties | Name | Description | | --- | --- | | Expression { get; set; } | Gets the regular expression. | | IgnoreFormatting { get; set; } | Gets the value that indicates whether text formatting is ignored. | | MatchCase { get; set; } | Gets the value that indicates whether a text case isn't ignored. | | OcrOptions { get; set; } | Gets the additional options for OCR functionality. | | Rectangle { get; set; } | Gets the rectangular area that contains page areas. | | RectangleTolerance { get; set; } | Gets the size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | | UniteSegments { get; set; } | Gets the value that indicates whether segments are united. | | UseOcr { get; set; } | Gets the value that indicates whether OCR functionality is used to extract text areas. | ##### Remarks An instance of `PageTextAreaOptions` class is used as parameter in `GetTextAreas` and `GetTextAreas` methods. See the usage examples there. **Learn more:** * [Extract text areas](https://docs.groupdocs.com/display/parsernet/Extract+text+areas) ### Expression Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions/expression.md #### PageTextAreaOptions.Expression property Gets the regular expression. ```csharp public string Expression { get; set; } ``` ##### Property Value A string that represents the regular expression. ### IgnoreFormatting Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions/ignoreformatting.md #### PageTextAreaOptions.IgnoreFormatting property Gets the value that indicates whether text formatting is ignored. ```csharp public bool IgnoreFormatting { get; set; } ``` ##### Property Value `true` if text formatting is ignored; otherwise, `false`. ### MatchCase Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions/matchcase.md #### PageTextAreaOptions.MatchCase property Gets the value that indicates whether a text case isn't ignored. ```csharp public bool MatchCase { get; set; } ``` ##### Property Value `true` if a text case isn't ignored; otherwise, `false`. ### OcrOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions/ocroptions.md #### PageTextAreaOptions.OcrOptions property Gets the additional options for OCR functionality. ```csharp public OcrOptions OcrOptions { get; set; } ``` ##### Property Value An instance of `OcrOptions` class with the additional OCR options. ### PageTextAreaOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions/pagetextareaoptions.md #### PageTextAreaOptions() Initializes a new instance of the `PageTextAreaOptions` class with the OCR usage option. ```csharp public PageTextAreaOptions() ``` #### PageTextAreaOptions(bool) Initializes a new instance of the `PageTextAreaOptions` class with the OCR usage option. ```csharp public PageTextAreaOptions(bool useOcr) ``` | Parameter | Type | Description | | --- | --- | --- | | useOcr | Boolean | The value that indicates whether OCR functionality is used to extract text areas. | #### PageTextAreaOptions(bool, OcrOptions) Initializes a new instance of the `PageTextAreaOptions` class with the ability to set OCR options. ```csharp public PageTextAreaOptions(bool useOcr, OcrOptions ocrOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | useOcr | Boolean | The value that indicates whether OCR functionality is used to extract text areas. | | ocrOptions | OcrOptions | The additional options for OCR functionality. | #### PageTextAreaOptions(string) Initializes a new instance of the `PageTextAreaOptions` class with the regular expression. Other options are set by default (see remarks for details). ```csharp public PageTextAreaOptions(string expression) ``` | Parameter | Type | Description | | --- | --- | --- | | expression | String | The regular expression. | ##### Remarks The following properties have default values: **`MatchCase`** `false` **`UniteSegments`** `false` **`IgnoreFormatting`** `false` **`Rectangle`** `null` #### PageTextAreaOptions(string, Rectangle) Initializes a new instance of the `PageTextAreaOptions` class with the regular expression and rectangular area. Other options are set by default (see remarks for details). ```csharp public PageTextAreaOptions(string expression, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | expression | String | The regular expression. | | rectangle | Rectangle | The rectangular area that contains page areas. | ##### Remarks The following properties have default values: **`MatchCase`** `false` **`UniteSegments`** `false` **`IgnoreFormatting`** `false` #### PageTextAreaOptions(string, Rectangle, double) Initializes a new instance of the `PageTextAreaOptions` class with the regular expression, rectangular area and the size of the ignored border. Other options are set by default (see remarks for details). ```csharp public PageTextAreaOptions(string expression, Rectangle rectangle, double rectangleTolerance) ``` | Parameter | Type | Description | | --- | --- | --- | | expression | String | The regular expression. | | rectangle | Rectangle | The rectangular area that contains page areas. | | rectangleTolerance | Double | The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | #### PageTextAreaOptions(string, bool, bool, bool, Rectangle) Initializes a new instance of the `PageTextAreaOptions` class. ```csharp public PageTextAreaOptions(string expression, bool matchCase, bool uniteSegments, bool ignoreFormatting, Rectangle rectangle) ``` | Parameter | Type | Description | | --- | --- | --- | | expression | String | The regular expression. | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | uniteSegments | Boolean | The value that indicates whether segments are united. | | ignoreFormatting | Boolean | The value that indicates whether text formatting is ignored. | | rectangle | Rectangle | The rectangular area that contains page areas. | #### PageTextAreaOptions(string, bool, bool, bool, Rectangle, double) Initializes a new instance of the `PageTextAreaOptions` class with the size of the ignored border. ```csharp public PageTextAreaOptions(string expression, bool matchCase, bool uniteSegments, bool ignoreFormatting, Rectangle rectangle, double rectangleTolerance) ``` | Parameter | Type | Description | | --- | --- | --- | | expression | String | The regular expression. | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | uniteSegments | Boolean | The value that indicates whether segments are united. | | ignoreFormatting | Boolean | The value that indicates whether text formatting is ignored. | | rectangle | Rectangle | The rectangular area that contains page areas. | | rectangleTolerance | Double | The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height. | ### UniteSegments Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions/unitesegments.md #### PageTextAreaOptions.UniteSegments property Gets the value that indicates whether segments are united. ```csharp public bool UniteSegments { get; set; } ``` ##### Property Value `true` if segments are united; otherwise, `false`. ### UseOcr Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/pagetextareaoptions/useocr.md #### PageTextAreaOptions.UseOcr property Gets the value that indicates whether OCR functionality is used to extract text areas. ```csharp public bool UseOcr { get; set; } ``` ##### Property Value `true` if OCR functionality is used; otherwise, `false`. ### ParseByTemplateOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsebytemplateoptions.md #### ParseByTemplateOptions class Provides the options which are used to parse by template. ```csharp public class ParseByTemplateOptions ``` #### Constructors | Name | Description | | --- | --- | | ParseByTemplateOptions() | Initializes a new instance of the `ParseByTemplateOptions` class. | | ParseByTemplateOptions(int) | Initializes a new instance of the `ParseByTemplateOptions` class. | | ParseByTemplateOptions(int, bool) | Initializes a new instance of the `ParseByTemplateOptions` class with the OCR usage option. | | ParseByTemplateOptions(int, bool, OcrOptions) | Initializes a new instance of the `ParseByTemplateOptions` class with the ability to set OCR options. | #### Properties | Name | Description | | --- | --- | | OcrOptions { get; set; } | Gets the additional options for OCR functionality. | | PageIndex { get; set; } | Gets or sets index of the page for which to perform a parsing by template. The default value is `0`. | | UseOcr { get; set; } | Gets the value that indicates whether the OCR Connector is used to parse by template. | ### OcrOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsebytemplateoptions/ocroptions.md #### ParseByTemplateOptions.OcrOptions property Gets the additional options for OCR functionality. ```csharp public OcrOptions OcrOptions { get; set; } ``` ##### Property Value An instance of `OcrOptions` class with the additional OCR options. ### PageIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsebytemplateoptions/pageindex.md #### ParseByTemplateOptions.PageIndex property Gets or sets index of the page for which to perform a parsing by template. The default value is `0`. ```csharp public int PageIndex { get; set; } ``` ##### Property Value The page index. ### ParseByTemplateOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsebytemplateoptions/parsebytemplateoptions.md #### ParseByTemplateOptions() Initializes a new instance of the `ParseByTemplateOptions` class. ```csharp public ParseByTemplateOptions() ``` #### ParseByTemplateOptions(int) Initializes a new instance of the `ParseByTemplateOptions` class. ```csharp public ParseByTemplateOptions(int pageIndex) ``` | Parameter | Type | Description | | --- | --- | --- | | pageIndex | Int32 | The page index. | #### ParseByTemplateOptions(int, bool) Initializes a new instance of the `ParseByTemplateOptions` class with the OCR usage option. ```csharp public ParseByTemplateOptions(int pageIndex, bool useOcr) ``` | Parameter | Type | Description | | --- | --- | --- | | pageIndex | Int32 | The page index. | | useOcr | Boolean | The value that indicates whether the OCR functionality is used to parse by template. | #### ParseByTemplateOptions(int, bool, OcrOptions) Initializes a new instance of the `ParseByTemplateOptions` class with the ability to set OCR options. ```csharp public ParseByTemplateOptions(int pageIndex, bool useOcr, OcrOptions ocrOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | pageIndex | Int32 | The page index. | | useOcr | Boolean | The value that indicates whether the OCR functionality is used to parse by template. | | ocrOptions | OcrOptions | The additional options for OCR functionality. | ### UseOcr Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsebytemplateoptions/useocr.md #### ParseByTemplateOptions.UseOcr property Gets the value that indicates whether the OCR Connector is used to parse by template. ```csharp public bool UseOcr { get; set; } ``` ##### Property Value `true` if the OCR functionality is used; otherwise, `false`. ### ParserSettings Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsersettings.md #### ParserSettings class Provides the settings which are used to customize data extraction. ```csharp public sealed class ParserSettings ``` #### Constructors | Name | Description | | --- | --- | | ParserSettings(ExternalResourceHandler) | Initializes a new instance of the `ParserSettings` class with the External Resource Handler. | | ParserSettings(ILogger) | Initializes a new instance of the `ParserSettings` class with the logger. | | ParserSettings(OcrConnectorBase) | Initializes a new instance of the `ParserSettings` class with the OCR Connector. | | ParserSettings(ILogger, OcrConnectorBase) | Initializes a new instance of the `ParserSettings` class with logger and OCR Connector. | | ParserSettings(ILogger, OcrConnectorBase, ExternalResourceHandler) | Initializes a new instance of the `ParserSettings` class with logger, OCR Connector and External Resource Handler. | #### Properties | Name | Description | | --- | --- | | ExternalResourceHandler { get; } | Gets the handler for external resources. | | Logger { get; } | Gets the logger which is used for logging events and errors during data extraction. | | OcrConnector { get; } | Gets the OCR Connector which is used to provide OCR functionality. | ##### Remarks **Learn more:** * [Logging](https://docs.groupdocs.com/display/parsernet/Logging) ### ExternalResourceHandler Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsersettings/externalresourcehandler.md #### ParserSettings.ExternalResourceHandler property Gets the handler for external resources. ```csharp public ExternalResourceHandler ExternalResourceHandler { get; } ``` ##### Property Value An instance of class that inherits `ExternalResourceHandler` class to provide the control of external resource loading. ### Logger Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsersettings/logger.md #### ParserSettings.Logger property Gets the logger which is used for logging events and errors during data extraction. ```csharp public ILogger Logger { get; } ``` ##### Property Value An instance of class that implements `ILogger` interface. ### OcrConnector Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsersettings/ocrconnector.md #### ParserSettings.OcrConnector property Gets the OCR Connector which is used to provide OCR functionality. ```csharp public OcrConnectorBase OcrConnector { get; } ``` ##### Property Value An instance of class that inherits `OcrConnectorBase` class to provide OCR functionality. ### ParserSettings Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/parsersettings/parsersettings.md #### ParserSettings(ILogger) Initializes a new instance of the `ParserSettings` class with the logger. ```csharp public ParserSettings(ILogger logger) ``` | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | An instance of class that implements `ILogger` interface. | #### ParserSettings(OcrConnectorBase) Initializes a new instance of the `ParserSettings` class with the OCR Connector. ```csharp public ParserSettings(OcrConnectorBase ocrConnector) ``` | Parameter | Type | Description | | --- | --- | --- | | ocrConnector | OcrConnectorBase | An instance of class that inherits `OcrConnectorBase` class to provide OCR functionality. | #### ParserSettings(ExternalResourceHandler) Initializes a new instance of the `ParserSettings` class with the External Resource Handler. ```csharp public ParserSettings(ExternalResourceHandler externalResourceHandler) ``` | Parameter | Type | Description | | --- | --- | --- | | externalResourceHandler | ExternalResourceHandler | An instance of class that inherits `ExternalResourceHandler` class to provide the control of external resources loading. | #### ParserSettings(ILogger, OcrConnectorBase) Initializes a new instance of the `ParserSettings` class with logger and OCR Connector. ```csharp public ParserSettings(ILogger logger, OcrConnectorBase ocrConnector) ``` | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | An instance of class that implements `ILogger` interface. | | ocrConnector | OcrConnectorBase | An instance of class that inherits `OcrConnectorBase` class to provide OCR functionality. | #### ParserSettings(ILogger, OcrConnectorBase, ExternalResourceHandler) Initializes a new instance of the `ParserSettings` class with logger, OCR Connector and External Resource Handler. ```csharp public ParserSettings(ILogger logger, OcrConnectorBase ocrConnector, ExternalResourceHandler externalResourceHandler) ``` | Parameter | Type | Description | | --- | --- | --- | | logger | ILogger | An instance of class that implements `ILogger` interface. | | ocrConnector | OcrConnectorBase | An instance of class that inherits `OcrConnectorBase` class to provide OCR functionality. | | externalResourceHandler | ExternalResourceHandler | An instance of class that inherits `ExternalResourceHandler` class to provide the control of external resource loading. | ### PreviewOptions.PreviewFormats Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions.previewformats.md #### PreviewOptions.PreviewFormats enumeration Represents supported preview formats. ```csharp public enum PreviewFormats ``` ##### Values | Name | Value | Description | | --- | --- | --- | | PNG | `0` | | | JPEG | `1` | | | BMP | `2` | | ### PreviewOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions.md #### PreviewOptions class Provides options to sets requirements and stream delegates for preview generation. ```csharp public class PreviewOptions ``` #### Constructors | Name | Description | | --- | --- | | PreviewOptions(CreatePageStream) | Initializes a new instance of the `PreviewOptions` class causing the output stream to be closed. | | PreviewOptions(CreatePageStream, ReleasePageStream) | Initializes a new instance of `PreviewOptions` class causing the output stream to be returned to the client for further use. | #### Properties | Name | Description | | --- | --- | | CreatePageStream { get; set; } | Gets or sets an instance of the page stream creation delegate. | | Dpi { get; set; } | Gets or sets a dpi. | | Height { get; set; } | Gets or sets the page preview height. | | PageNumbers { get; set; } | Gets or sets an array of page numbers to generate previews. | | PreviewFormat { get; set; } | Gets or sets the preview image format. | | PreviewPageRender { get; set; } | Gets or sets an instance of the page preview render info delegate. | | ReleasePageStream { get; set; } | Gets or sets an instance of the page preview completion delegate. | | Width { get; set; } | Gets or sets the page preview width. | ### CreatePageStream Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/createpagestream.md #### PreviewOptions.CreatePageStream property Gets or sets an instance of the page stream creation delegate. ```csharp public CreatePageStream CreatePageStream { get; set; } ``` ### Dpi Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/dpi.md #### PreviewOptions.Dpi property Gets or sets a dpi. ```csharp public int Dpi { get; set; } ``` ### Height Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/height.md #### PreviewOptions.Height property Gets or sets the page preview height. ```csharp public int Height { get; set; } ``` ### PageNumbers Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/pagenumbers.md #### PreviewOptions.PageNumbers property Gets or sets an array of page numbers to generate previews. ```csharp public int[] PageNumbers { get; set; } ``` ### PreviewFormat Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/previewformat.md #### PreviewOptions.PreviewFormat property Gets or sets the preview image format. ```csharp public PreviewFormats PreviewFormat { get; set; } ``` ### PreviewOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/previewoptions.md #### PreviewOptions(CreatePageStream) Initializes a new instance of the `PreviewOptions` class causing the output stream to be closed. ```csharp public PreviewOptions(CreatePageStream createPageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Creates a stream for a specific page preview. | #### PreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of `PreviewOptions` class causing the output stream to be returned to the client for further use. ```csharp public PreviewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream) ``` | Parameter | Type | Description | | --- | --- | --- | | createPageStream | CreatePageStream | Creates a stream for a specific page preview | | releasePageStream | ReleasePageStream | Notifies that the page preview generation is done and gets the output stream. | ### PreviewPageRender Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/previewpagerender.md #### PreviewOptions.PreviewPageRender property Gets or sets an instance of the page preview render info delegate. ```csharp public PreviewPageRender PreviewPageRender { get; set; } ``` ### ReleasePageStream Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/releasepagestream.md #### PreviewOptions.ReleasePageStream property Gets or sets an instance of the page preview completion delegate. ```csharp public ReleasePageStream ReleasePageStream { get; set; } ``` ### Width Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewoptions/width.md #### PreviewOptions.Width property Gets or sets the page preview width. ```csharp public int Width { get; set; } ``` ### PreviewPageRender Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/previewpagerender.md #### PreviewPageRender delegate Represents a method which is called before a document page is rendered. ```csharp public delegate void PreviewPageRender(PageRenderInfo info); ``` | Parameter | Type | Description | | --- | --- | --- | | info | PageRenderInfo | The information of how a page is rendered. | ### QualityMode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/qualitymode.md #### QualityMode enumeration Defines a level of the quality. ```csharp public enum QualityMode ``` ##### Values | Name | Value | Description | | --- | --- | --- | | High | `0` | Hight quality. Fast processing algorithms are used. | | Normal | `1` | Normal quality. Default processing algorithms are used. | | Low | `2` | Low quality. Slow processing algorithms are used. | ### ReleasePageStream Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/releasepagestream.md #### ReleasePageStream delegate Represents a method which releases the stream created by the `CreatePageStream` delegate. ```csharp public delegate void ReleasePageStream(int pageNumber, Stream pageStream); ``` | Parameter | Type | Description | | --- | --- | --- | | pageNumber | Int32 | The page number of a generated page preview. | | pageStream | Stream | The stream containing the generated page preview. | ### SearchOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions.md #### SearchOptions class Provides the options which are used for text search. ```csharp public sealed class SearchOptions ``` #### Constructors | Name | Description | | --- | --- | | SearchOptions() | Initializes a new instance of the `SearchOptions` class with default values. See remarks for details. | | SearchOptions(bool, bool, bool) | Initializes a new instance of the `SearchOptions` class which is used to search without highlight extraction. | | SearchOptions(bool, bool, bool, bool) | Initializes a new instance of the `SearchOptions` class which is used to search by pages and without highlight extraction. | | SearchOptions(bool, bool, bool, HighlightOptions) | Initializes a new instance of the `SearchOptions` class which is used to search with the same highlight options for the left and the right highlight extraction. | | SearchOptions(bool, bool, bool, HighlightOptions, HighlightOptions) | Initializes a new instance of the `SearchOptions` class which is used to search with the highlight options for the left and the right highlight extraction. | | SearchOptions(bool, bool, bool, bool, HighlightOptions, HighlightOptions) | Initializes a new instance of the `SearchOptions` class. | | SearchOptions(bool, bool, bool, int, HighlightOptions, HighlightOptions) | Initializes a new instance of the `SearchOptions` class with the page limit. | #### Properties | Name | Description | | --- | --- | | LeftHighlightOptions { get; set; } | Gets the options for the left highlight. | | MatchCase { get; set; } | Gets the value that indicates whether a text case isn't ignored. | | MatchWholeWord { get; set; } | Gets the value that indicates whether text search is limited by a whole word. | | MaxPageIndex { get; set; } | Gets the value that represents the max index of the page to search. | | RightHighlightOptions { get; set; } | Gets the options for the right highlight. | | SearchByPages { get; set; } | Gets the value that indicates whether the search is performed by pages. | | UseRegularExpression { get; set; } | Gets the value that indicates whether a regular expression is used. | ##### Remarks An instance of `SearchOptions` class is used as parameter in `Search` method. See the usage examples there. **Learn more:** * [Search text](https://docs.groupdocs.com/display/parsernet/Search+text) * [Search text in Microsoft Office Word documents](https://docs.groupdocs.com/display/parsernet/Search+text+in+Microsoft+Office+Word+documents) * [Search text in Microsoft Office Excel spreadsheets](https://docs.groupdocs.com/display/parsernet/Search+text+in+Microsoft+Office+Excel+spreadsheets) * [Search text in Microsoft Office PowerPoint presentations](https://docs.groupdocs.com/display/parsernet/Search+text+in+Microsoft+Office+PowerPoint+presentations) * [Search text in PDF documents](https://docs.groupdocs.com/display/parsernet/Search+text+in+PDF+documents) * [Search text in Emails](https://docs.groupdocs.com/display/parsernet/Search+text+in+Emails) * [Search text in EPUB eBooks](https://docs.groupdocs.com/display/parsernet/Search+text+in+EPUB+eBooks) * [Search text in HTML documents](https://docs.groupdocs.com/display/parsernet/Search+text+in+HTML+documents) * [Search text in Microsoft OneNote sections](https://docs.groupdocs.com/display/parsernet/Search+text+in+Microsoft+OneNote+sections) ### LeftHighlightOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/lefthighlightoptions.md #### SearchOptions.LeftHighlightOptions property Gets the options for the left highlight. ```csharp public HighlightOptions LeftHighlightOptions { get; set; } ``` ##### Property Value An instance of `HighlightOptions` class; `null` if it isn't set. ### MatchCase Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/matchcase.md #### SearchOptions.MatchCase property Gets the value that indicates whether a text case isn't ignored. ```csharp public bool MatchCase { get; set; } ``` ##### Property Value `true` if a text case isn't ignored; otherwise, `false`. ### MatchWholeWord Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/matchwholeword.md #### SearchOptions.MatchWholeWord property Gets the value that indicates whether text search is limited by a whole word. ```csharp public bool MatchWholeWord { get; set; } ``` ##### Property Value `true` if text search is limited by a whole word; otherwise, `false`. ### MaxPageIndex Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/maxpageindex.md #### SearchOptions.MaxPageIndex property Gets the value that represents the max index of the page to search. ```csharp public int MaxPageIndex { get; set; } ``` ##### Property Value An integer value that represents the max index of the page to search; -1 if not set; ### RightHighlightOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/righthighlightoptions.md #### SearchOptions.RightHighlightOptions property Gets the options for the right highlight. ```csharp public HighlightOptions RightHighlightOptions { get; set; } ``` ##### Property Value An instance of `HighlightOptions` class; `null` if it isn't set. ### SearchByPages Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/searchbypages.md #### SearchOptions.SearchByPages property Gets the value that indicates whether the search is performed by pages. ```csharp public bool SearchByPages { get; set; } ``` ##### Property Value `true` if the search is performed by pages; otherwise, `false` and the search is performed on the whole document without including `PageIndex` property value in `SearchResult` class. ### SearchOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/searchoptions.md #### SearchOptions(bool, bool, bool, bool, HighlightOptions, HighlightOptions) Initializes a new instance of the `SearchOptions` class. ```csharp public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, bool searchByPages, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | Boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | Boolean | The value that indicates whether a regular expression is used. | | searchByPages | Boolean | The value that indicates whether the search is performed by pages. | | leftHighlightOptions | HighlightOptions | The options for the left highlight. | | rightHighlightOptions | HighlightOptions | The options for the right highlight. | #### SearchOptions(bool, bool, bool, int, HighlightOptions, HighlightOptions) Initializes a new instance of the `SearchOptions` class with the page limit. ```csharp public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, int maxPageIndex, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | Boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | Boolean | The value that indicates whether a regular expression is used. | | maxPageIndex | Int32 | he value that indicates whether the search is performed by pages. | | leftHighlightOptions | HighlightOptions | The options for the left highlight. | | rightHighlightOptions | HighlightOptions | The options for the right highlight. | #### SearchOptions(bool, bool, bool, HighlightOptions, HighlightOptions) Initializes a new instance of the `SearchOptions` class which is used to search with the highlight options for the left and the right highlight extraction. ```csharp public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | Boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | Boolean | The value that indicates whether a regular expression is used. | | leftHighlightOptions | HighlightOptions | The options for the left highlight. | | rightHighlightOptions | HighlightOptions | The options for the right highlight. | #### SearchOptions(bool, bool, bool, HighlightOptions) Initializes a new instance of the `SearchOptions` class which is used to search with the same highlight options for the left and the right highlight extraction. ```csharp public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, HighlightOptions highlightOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | Boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | Boolean | The value that indicates whether a regular expression is used. | | highlightOptions | HighlightOptions | The options for both highlights. | #### SearchOptions(bool, bool, bool) Initializes a new instance of the `SearchOptions` class which is used to search without highlight extraction. ```csharp public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression) ``` | Parameter | Type | Description | | --- | --- | --- | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | Boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | Boolean | The value that indicates whether a regular expression is used. | #### SearchOptions(bool, bool, bool, bool) Initializes a new instance of the `SearchOptions` class which is used to search by pages and without highlight extraction. ```csharp public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, bool searchByPages) ``` | Parameter | Type | Description | | --- | --- | --- | | matchCase | Boolean | The value that indicates whether a text case isn't ignored. | | matchWholeWord | Boolean | The value that indicates whether text search is limited by a whole word. | | useRegularExpression | Boolean | The value that indicates whether a regular expression is used. | | searchByPages | Boolean | The value that indicates whether the search is performed by pages. | #### SearchOptions() Initializes a new instance of the `SearchOptions` class with default values. See remarks for details. ```csharp public SearchOptions() ``` ##### Remarks The following properties have default values: **`MatchCase`** `false` **`MatchWholeWord`** `false` **`UseRegularExpression`** `false` **`LeftHighlightOptions`** `null` **`RightHighlightOptions`** `null` ### UseRegularExpression Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/searchoptions/useregularexpression.md #### SearchOptions.UseRegularExpression property Gets the value that indicates whether a regular expression is used. ```csharp public bool UseRegularExpression { get; set; } ``` ##### Property Value `true` if a regular expression is used; otherwise, `false`. ### TextDocumentInfo Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/textdocumentinfo.md #### TextDocumentInfo class Represents the text document information. ```csharp public class TextDocumentInfo : DocumentInfo ``` #### Properties | Name | Description | | --- | --- | | Encoding { get; } | Gets the detected encoding of the text document. | | FileType { get; } | Gets the document type. | | PageCount { get; } | Gets the total number of document pages. | | Pages { get; } | Gets the information about pages such as the index and page size. | | RawPageCount { get; } | Gets the total number of document raw pages. | | Size { get; } | Gets the size of the document in bytes. | ##### Remarks **Learn more:** * [Get document info](https://docs.groupdocs.com/display/parsernet/Get+document+info) * [Detect encoding](https://docs.groupdocs.com/display/parsernet/Detect+encoding) ### Encoding Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/textdocumentinfo/encoding.md #### TextDocumentInfo.Encoding property Gets the detected encoding of the text document. ```csharp public Encoding Encoding { get; } ``` ##### Property Value An instance of Encoding class. ### TextOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/textoptions.md #### TextOptions class Provides the options which are used for text extraction. ```csharp public sealed class TextOptions ``` #### Constructors | Name | Description | | --- | --- | | TextOptions() | Initializes a new instance of the `TextOptions` class. | | TextOptions(bool) | Initializes a new instance of the `TextOptions` class. | | TextOptions(bool, bool) | Initializes a new instance of the `TextOptions` class with the OCR usage option. | | TextOptions(bool, bool, OcrOptions) | Initializes a new instance of the `TextOptions` class with the ability to set OCR options. | #### Properties | Name | Description | | --- | --- | | OcrOptions { get; set; } | Gets the additional options for OCR functionality. | | UseOcr { get; set; } | Gets the value that indicates whether the OCR Connector is used to extract a text. | | UseRawModeIfPossible { get; set; } | Gets the value that indicates whether the raw mode is used. | ##### Remarks An instance of `TextOptions` class is used as parameter in `GetText` and `GetText` methods. See the usage examples there. It's used to specify the raw mode of text extraction. A text in this mode is extracted in a non-accurate way but faster than in the standard mode. If the raw mode doesn't support the document format, then this parameter is ignored and the standard mode is used. **Learn more:** * [Extract text in Accurate mode](https://docs.groupdocs.com/display/parsernet/Extract+text+in+Accurate+mode) * [Extract text in Raw mode](https://docs.groupdocs.com/display/parsernet/Extract+text+in+Raw+mode) ### OcrOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/textoptions/ocroptions.md #### TextOptions.OcrOptions property Gets the additional options for OCR functionality. ```csharp public OcrOptions OcrOptions { get; set; } ``` ##### Property Value An instance of `OcrOptions` class with the additional OCR options. ### TextOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/textoptions/textoptions.md #### TextOptions() Initializes a new instance of the `TextOptions` class. ```csharp public TextOptions() ``` #### TextOptions(bool) Initializes a new instance of the `TextOptions` class. ```csharp public TextOptions(bool useRawModeIfPossible) ``` | Parameter | Type | Description | | --- | --- | --- | | useRawModeIfPossible | Boolean | The value that indicates whether the raw mode is used. | #### TextOptions(bool, bool) Initializes a new instance of the `TextOptions` class with the OCR usage option. ```csharp public TextOptions(bool useRawModeIfPossible, bool useOcr) ``` | Parameter | Type | Description | | --- | --- | --- | | useRawModeIfPossible | Boolean | The value that indicates whether the raw mode is used. | | useOcr | Boolean | The value that indicates whether the OCR functionality is used to extract a text. | #### TextOptions(bool, bool, OcrOptions) Initializes a new instance of the `TextOptions` class with the ability to set OCR options. ```csharp public TextOptions(bool useRawModeIfPossible, bool useOcr, OcrOptions ocrOptions) ``` | Parameter | Type | Description | | --- | --- | --- | | useRawModeIfPossible | Boolean | The value that indicates whether the raw mode is used. | | useOcr | Boolean | The value that indicates whether the OCR functionality is used to extract a text. | | ocrOptions | OcrOptions | The additional options for OCR functionality. | ### UseOcr Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/textoptions/useocr.md #### TextOptions.UseOcr property Gets the value that indicates whether the OCR Connector is used to extract a text. ```csharp public bool UseOcr { get; set; } ``` ##### Property Value `true` if the OCR functionality is used; otherwise, `false`. ### UseRawModeIfPossible Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/textoptions/userawmodeifpossible.md #### TextOptions.UseRawModeIfPossible property Gets the value that indicates whether the raw mode is used. ```csharp public bool UseRawModeIfPossible { get; set; } ``` ##### Property Value `true` if the raw mode is used; otherwise, `false`. ### WorksheetOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/worksheetoptions.md #### WorksheetOptions class Provides the options which are used for the worksheet extraction. ```csharp public sealed class WorksheetOptions ``` #### Constructors | Name | Description | | --- | --- | | WorksheetOptions(params WorksheetRange[]) | Initializes a new instance of the `WorksheetOptions` class. | #### Properties | Name | Description | | --- | --- | | Ranges { get; } | Get a list of ranges. | ### Ranges Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/worksheetoptions/ranges.md #### WorksheetOptions.Ranges property Get a list of ranges. ```csharp public IList Ranges { get; } ``` ##### Property Value A list of instances of `WorksheetRange` class that limits the range to extract cells. ### WorksheetOptions Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.options/worksheetoptions/worksheetoptions.md #### WorksheetOptions constructor Initializes a new instance of the `WorksheetOptions` class. ```csharp public WorksheetOptions(params WorksheetRange[] ranges) ``` | Parameter | Type | Description | | --- | --- | --- | | ranges | WorksheetRange[] | The collection of ranges. | ##### Exceptions | exception | condition | | --- | --- | | ArgumentNullException | The range collection or any of its elements cannot be null. | ### GroupDocs.Parser.Templates Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates.md The namespace provides classes for creating templates for parsing document data. #### Classes | Class | Description | | --- | --- | | Template | Provides the document page template. It consists of `TemplateItem` objects which represent the items of the template such as text field and table definitions. | | TemplateBarcode | Provides the template barcode field. | | TemplateCollection | Represents a collection of document parsing templates. | | TemplateField | Provides the template text field. | | TemplateFixedPosition | Provides a template field position which is defined by the rectangular area. | | TemplateItem | Provides a base abstract class for template items. | | TemplateLinkedPosition | Provides a template field position which uses the linked field. | | TemplateLinkedPositionEdges | Provides the edges of the linked field where the text field is seached. `TemplateLinkedPositionEdges` is used in `TemplateLinkedPosition` class. | | TemplateOptions | Provides the options which are used for parsing by template functionality. | | TemplatePosition | Provides a base abstract class for template positions. | | TemplateRegexPosition | Provides a template field position which uses the regular expression. | | TemplateTable | Provides the template table. | | TemplateTableLayout | Provides the template table layout which is used by `TemplateTable` class to define table position. | | TemplateTableParameters | Provides parameters for the table detection algorithms. | ### Template Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template.md #### Template class Provides the document page template. It consists of `TemplateItem` objects which represent the items of the template such as text field and table definitions. ```csharp public sealed class Template : IEnumerable ``` #### Constructors | Name | Description | | --- | --- | | Template(IEnumerable<TemplateItem>) | Initializes a new instance of the `Template` class. | | Template(IEnumerable<TemplateItem>, TemplateOptions) | Initializes a new instance of the `Template` class with template options. | #### Properties | Name | Description | | --- | --- | | Count { get; } | Gets the total number of template items. | | IsOcrCompatible { get; } | Gets the value that indicates whether the template is compatible with OCR. | | Item { get; } | Gets the template item by an index. | | Options { get; } | Gets the template options. | #### Methods | Name | Description | | --- | --- | | static Load(Stream) | Loads a template from a stream. | | static Load(string) | Loads a template from a file. | | GetEnumerator() | Returns an enumerator for template items. | | Save(Stream) | Saves a template to a stream. | | Save(string) | Saves a template to a file. | ##### Remarks **Learn more:** * [Working with templates](https://docs.groupdocs.com/display/parsernet/Working+with+templates) ### Count Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/count.md #### Template.Count property Gets the total number of template items. ```csharp public int Count { get; } ``` ##### Property Value An integer that represents the total number of template items. ### GetEnumerator Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/getenumerator.md #### Template.GetEnumerator method Returns an enumerator for template items. ```csharp public IEnumerator GetEnumerator() ``` ##### Return Value An enumerator for template items. ### IsOcrCompatible Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/isocrcompatible.md #### Template.IsOcrCompatible property Gets the value that indicates whether the template is compatible with OCR. ```csharp public bool IsOcrCompatible { get; } ``` ##### Property Value `true` if the template is compatible with OCR; otherwise, `false`. ### Item Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/item.md #### Template indexer Gets the template item by an index. ```csharp public TemplateItem this[int index] { get; } ``` | Parameter | Description | | --- | --- | | index | The zero-based index of the template item. | ##### Return Value An instance of `TemplateItem` class. ### Load Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/load.md #### Load(string) Loads a template from a file. ```csharp public static Template Load(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The path to the file. | ##### Return Value An instance of `Template` class with loaded template. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsParserException | The file does not represent the template in a valid format. | #### Load(Stream) Loads a template from a stream. ```csharp public static Template Load(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | The input stream. | ##### Return Value An instance of `Template` class with loaded template. ##### Exceptions | exception | condition | | --- | --- | | GroupDocsParserException | The stream does not represent the template in a valid format. | ### Options Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/options.md #### Template.Options property Gets the template options. ```csharp public TemplateOptions Options { get; } ``` ##### Return Value An instance of `TemplateOptions` class. ### Save Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/save.md #### Save(string) Saves a template to a file. ```csharp public void Save(string filePath) ``` | Parameter | Type | Description | | --- | --- | --- | | filePath | String | The path to the file. | #### Save(Stream) Saves a template to a stream. ```csharp public void Save(Stream stream) ``` | Parameter | Type | Description | | --- | --- | --- | | stream | Stream | The output stream. | ### Template Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/template/template.md #### Template(IEnumerable<TemplateItem>) Initializes a new instance of the `Template` class. ```csharp public Template(IEnumerable items) ``` | Parameter | Type | Description | | --- | --- | --- | | items | IEnumerable`1 | The collection of `TemplateItem` objects. | ##### Examples Usage: ```csharp // Create an array of template fields TemplateItem[] fields = new TemplateItem[] { new TemplateField(new TemplateRegexPosition("From"), "From", 0), new TemplateField( new TemplateLinkedPosition("From", new Size(100, 10), new TemplateLinkedPositionEdges(false, false, false, true)), "FromCompany", 0), new TemplateField( new TemplateLinkedPosition("FromCompany", new Size(100, 30), new TemplateLinkedPositionEdges(false, false, false, true)), "FromAddress", 0) }; // Create a document template Template template = new Template(fields); ``` #### Template(IEnumerable<TemplateItem>, TemplateOptions) Initializes a new instance of the `Template` class with template options. ```csharp public Template(IEnumerable items, TemplateOptions options) ``` | Parameter | Type | Description | | --- | --- | --- | | items | IEnumerable`1 | The collection of `TemplateItem` objects. | | options | TemplateOptions | The template options. | ### TemplateBarcode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/templatebarcode.md #### TemplateBarcode class Provides the template barcode field. ```csharp public sealed class TemplateBarcode : TemplateItem ``` #### Constructors | Name | Description | | --- | --- | | TemplateBarcode(Rectangle, string) | Initializes a new instance of the `TemplateBarcode` class. | | TemplateBarcode(Rectangle, string, double?) | Initializes a new instance of the `TemplateBarcode` class. | | TemplateBarcode(Rectangle, string, double?, bool) | Initializes a new instance of the `TemplateBarcode` class. | #### Properties | Name | Description | | --- | --- | | Name { get; } | Gets the name of the template item. | | PageWidth { get; } | Gets the width of the page that was used to create the template item. | | Rectangle { get; } | Gets the rectangular area that contains the template barcode field. | | UseUpperCaseName { get; } | Gets a boolean value that indicates whether a `Name` was converted to UPPER CASE. | #### Methods | Name | Description | | --- | --- | | override Scale(double) | Scales this template item by a given factor. | ### Rectangle Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/templatebarcode/rectangle.md #### TemplateBarcode.Rectangle property Gets the rectangular area that contains the template barcode field. ```csharp public Rectangle Rectangle { get; } ``` ##### Property Value An instance of `Rectangle` class that represents the rectangular area that contains the template barcode field. ### Scale Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/templatebarcode/scale.md #### TemplateBarcode.Scale method Scales this template item by a given factor. ```csharp public override TemplateItem Scale(double factor) ``` | Parameter | Type | Description | | --- | --- | --- | | factor | Double | The scale factor. | ##### Return Value A new template item scaled by the given factor. ### TemplateBarcode Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/templatebarcode/templatebarcode.md #### TemplateBarcode(Rectangle, string) Initializes a new instance of the `TemplateBarcode` class. ```csharp public TemplateBarcode(Rectangle rectangle, string name) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | String | The barcode field name. | #### TemplateBarcode(Rectangle, string, double?) Initializes a new instance of the `TemplateBarcode` class. ```csharp public TemplateBarcode(Rectangle rectangle, string name, double? pageWidth) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | String | The barcode field name. | | pageWidth | Nullable`1 | The width of the page that was used to create the template item. | #### TemplateBarcode(Rectangle, string, double?, bool) Initializes a new instance of the `TemplateBarcode` class. ```csharp public TemplateBarcode(Rectangle rectangle, string name, double? pageWidth, bool useUpperCaseName) ``` | Parameter | Type | Description | | --- | --- | --- | | rectangle | Rectangle | The rectangular area that contains the template barcode field. | | name | String | The barcode field name. | | pageWidth | Nullable`1 | The width of the page that was used to create the template item. | | useUpperCaseName | Boolean | The value that indicates whether a `name` is converted to UPPER CASE. | ### TemplateCollection Path: https://reference.groupdocs.com/parser/net/groupdocs.parser.templates/templatecollection.md #### TemplateCollection class Represents a collection of document parsing templates. ```csharp public class TemplateCollection : IEnumerable